@useloops/design-system 1.4.174 → 1.4.176

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import*as e from"react";import t,{Fragment as n,useRef as i,useEffect as o,useState as r,useCallback as s,useMemo as a,createContext as l,useContext as c,useId as u,useLayoutEffect as d,useInsertionEffect as p,forwardRef as h,createElement as m,Component as f,useImperativeHandle as g,startTransition as x}from"react";import{SvgIcon as v,styled as y,Paper as b,useTheme as w,Box as j,Link as C,Typography as k,linkClasses as S,CircularProgress as M,Tooltip as P,IconButton as T,Container as A,Unstable_Grid2 as z,Button as R,boxClasses as E,Slide as V,Fade as F,Grow as B,Popper as L,ClickAwayListener as D,Stack as O,Avatar as I,Divider as $,Skeleton as H,CardActionArea as N,CardContent as W,LinearProgress as _,linearProgressClasses as U,alpha as Z,AvatarGroup as G,FormControlLabel as Y,Checkbox as q,TextField as K,InputAdornment as X,FormGroup as J,InputLabel as Q,Radio as ee,RadioGroup as te,Grid as ne,Menu as ie,MenuItem as oe,ButtonBase as re,FormLabel as se,Autocomplete as ae,Chip as le,autocompleteClasses as ce,Select as ue,useMediaQuery as de,Slider as pe,Rating as he,Switch as me,ButtonGroup as fe,createTheme as ge,GlobalStyles as xe,CssBaseline as ve}from"@mui/material";import{mergeSx as ye}from"merge-sx";import{LazyLoadImage as be}from"react-lazy-load-image-component";import we from"dayjs";import{ExpandLess as je,Check as Ce,Remove as ke,Info as Se,ErrorOutline as Me,ArrowDropUp as Pe,ArrowDropDown as Te,KeyboardArrowDown as Ae,CloseRounded as ze,DragHandle as Re}from"@mui/icons-material";import Ee from"@mui/material/useMediaQuery";import{TimelineDot as Ve,timelineItemClasses as Fe,TimelineItem as Be,TimelineSeparator as Le,TimelineConnector as De,TimelineContent as Oe}from"@mui/lab";import{styled as Ie,useThemeProps as $e,ThemeProvider as He}from"@mui/material/styles";import{capitalize as Ne}from"@mui/material/utils";import{Controller as We,useForm as _e}from"react-hook-form";import{isValidPhoneNumber as Ue}from"react-phone-number-input";import{NumericFormat as Ze}from"react-number-format";import{defaultDropAnimationSideEffects as Ge,DragOverlay as Ye,useSensors as qe,useSensor as Ke,KeyboardSensor as Xe,DndContext as Je,MeasuringStrategy as Qe,MouseSensor as et,TouchSensor as tt}from"@dnd-kit/core";import{useSortable as nt,defaultAnimateLayoutChanges as it,sortableKeyboardCoordinates as ot,arrayMove as rt,SortableContext as st,horizontalListSortingStrategy as at,verticalListSortingStrategy as lt}from"@dnd-kit/sortable";import{CSS as ct}from"@dnd-kit/utilities";import{createPortal as ut}from"react-dom";import{Placeholder as dt}from"@tiptap/extension-placeholder";import{StarterKit as pt}from"@tiptap/starter-kit";import{RichTextEditor as ht,MenuButtonBold as mt,MenuButtonItalic as ft}from"mui-tiptap";import{Markdown as gt}from"tiptap-markdown";import{zxcvbnOptions as xt,zxcvbn as vt}from"@zxcvbn-ts/core";import*as yt from"@zxcvbn-ts/language-common";import*as bt from"@zxcvbn-ts/language-en";import{ErrorMessage as wt}from"@hookform/error-message";import jt from"markdown-to-jsx";import{stringify as Ct,rulesheet as kt,middleware as St,RULESET as Mt,combine as Pt,match as Tt,serialize as At,copy as zt,replace as Rt,WEBKIT as Et,MOZ as Vt,MS as Ft,KEYFRAMES as Bt,DECLARATION as Lt,compile as Dt,dealloc as Ot,alloc as It,hash as $t,charat as Ht,strlen as Nt,indexof as Wt,next as _t,token as Ut,from as Zt,peek as Gt,delimit as Yt,slice as qt,position as Kt,prefixer as Xt}from"stylis";import{CacheProvider as Jt}from"@emotion/react";import Qt from"stylis-plugin-rtl";const en={0:"#FFFFFF",50:"#F8F8F9",100:"#E8E7EB",200:"#D1CFD6",300:"#BAB7C2",400:"#A39FAD",500:"#8C8799",600:"#756F85",700:"#5E5770",800:"#473F5C",900:"#302747",950:"#251B3D",1e3:"#190F33",1100:"#0D081A"},tn={0:"#130B26",50:"#1C142F",100:"#2A223C",200:"#413A51",300:"#585267",400:"#6F697D",500:"#868092",600:"#9D98A8",700:"#B4AFBE",800:"#CBC7D4",900:"#E2DEE9",1e3:"#F9F6FF",950:"#EDEAF4",1100:"#FFFFFF"},nn={0:"#190f3300",.01:"#190f3303",1:"#190F3308",2:"#190F330F",3:"#190F331F",4:"#190F333D",5:"#190f3380"},on={0:"#F9F6FF00",.01:"#fff6ff03",1:"#F9F6FF0A",2:"#F9F6FF14",3:"#F9F6FF1F",4:"#F9F6FF3D",5:"#f9f6ff80"},rn={0:"#F2EDFF",100:"#D9C9FF",200:"#BFA5FF",300:"#A582FF",400:"#8C5EFF",500:"#7F4CFF",600:"#7648E9",700:"#6441BE",800:"#533992",900:"#413167",1e3:"#2F2A3C"},sn={0:"#FFEEED",100:"#FECDCA",200:"#FDACA6",300:"#FD8B83",400:"#FC6B60",500:"#FC5A4E",600:"#E7554A",700:"#BC4A42",800:"#91403A",900:"#663632",1e3:"#3B2B2A"},an={0:"#FFF8F6",100:"#FFEBE4",200:"#FFDFD2",300:"#FFD2C0",400:"#FFC5AE",500:"#FFBEA5",600:"#E9AF98",700:"#BE907F",800:"#927266",900:"#67544C",1e3:"#3C3533"},ln={0:"#FFF9E5",100:"#FFECB2",200:"#FFECB2",300:"#FFD24D",400:"#FFC61A",500:"#FFBF00",600:"#E9B004",700:"#BE910B",800:"#927313",900:"#67541B",1e3:"#3C3522"},cn={0:"#EBF8FB",100:"#C4E9F3",200:"#9DDAEB",300:"#76CBE4",400:"#4FBCDC",500:"#3CB4D8",600:"#39A6C6",700:"#358AA2",800:"#316D7F",900:"#2C515B",1e3:"#283438"},un={0:"#EDF7EC",100:"#C8E8C7",200:"#A3D9A1",300:"#7FC97C",400:"#5ABA57",500:"#48B244",600:"#44A441",700:"#3D883B",800:"#376C35",900:"#30502F",1e3:"#293429"},dn={light:{0:en[0],50:en[50],100:en[100],200:en[200],300:en[300],400:en[400],500:en[500],600:en[600],700:en[700],800:en[800],900:en[900],950:en[950],1e3:en[1e3],1100:en[1100]},dark:{0:tn[0],50:tn[50],100:tn[100],200:tn[200],300:tn[300],400:tn[400],500:tn[500],600:tn[600],700:tn[700],800:tn[800],900:tn[900],950:tn[950],1e3:tn[1e3],1100:tn[1100]}},pn=e=>({light:{0:e[0],100:e[100],200:e[200],300:e[300],400:e[400],500:e[500],600:e[600],700:e[700],800:e[800],900:e[900],1e3:e[1e3]},dark:{0:e[1e3],100:e[900],200:e[800],300:e[700],400:e[600],500:e[500],600:e[400],700:e[300],800:e[200],900:e[100],1e3:e[0]}}),hn=pn(rn),mn=pn(sn),fn=pn(an),gn=pn(ln),xn=pn(cn),vn=pn(un),yn={sm:0,md:584,lg:812,lgNav:1e3,xl:1280,xxl:1728},bn={0:0,25:2,50:4,100:8,150:12,200:16,300:24,350:28,400:32,500:40,600:48,800:64,1e3:80,2e3:160},wn=bn[100],jn={none:bn[0],xs:bn[50]/wn,sm:bn[100]/wn,md:bn[200]/wn,lg:bn[400]/wn,xl:bn[600]/wn,xxl:bn[1e3]/wn,xxxl:bn[2e3]/wn},Cn={none:bn[0],xs:bn[50]/wn,sm:bn[100]/wn,md:bn[200]/wn,lg:bn[400]/wn,xl:bn[600]/wn},kn={none:bn[0],xs:bn[25]/wn,sm:bn[50]/wn,md:bn[100]/wn,lg:bn[200]/wn,xl:bn[300]/wn,round:999},Sn={raised:"0px 0px 0px 1px rgba(255, 255, 255, 0.12), 0px 0px 4px 2px rgba(6, 4, 13, 0.04), 0px 1px 2px 0px rgba(6, 4, 13, 0.16)",overlay:"0px 0px 0px 1px rgba(255, 255, 255, 0.16), 0px 0px 4px 2px rgba(6, 4, 13, 0.04), 0px 16px 24px 0px rgba(6, 4, 13, 0.08), 0px 4px 8px 0px rgba(6, 4, 13, 0.08)"},Mn={raised:"drop-shadow(0px 0px 0px rgba(255, 255, 255, 0.12)) drop-shadow(0px 0px 4px rgba(6, 4, 13, 0.04)) drop-shadow(0px 1px 2px rgba(6, 4, 13, 0.16))",overlay:"drop-shadow(0px 0px 0px rgba(255, 255, 255, 0.16)) drop-shadow(0px 0px 4px rgba(6, 4, 13, 0.04)) drop-shadow(0px 16px 24px rgba(6, 4, 13, 0.08)) drop-shadow(0px 4px 8px rgba(6, 4, 13, 0.08))"},Pn={input:{focus:"0px 0px 0px 4px rgba(127, 76, 255, 0.24)"}},Tn={default:"cubic-bezier(0.16, 1, 0.3, 1)",input:"all 200ms ease"},An={light:{surface:{sunken:en[50],default:en[0],raised:en[0],overlay:en[0],scrim:nn[3],transparent:nn[.01]},interaction:{none:nn[0],hover:nn[1],press:nn[2],hoverOnDark:nn[3],pressOnDark:nn[4],disabled:nn[2]},stroke:{default:en[200],focus:rn[500],disabled:en[100]},text:{primary:en[1e3],secondary:en[600],placeholder:en[400],disabled:en[300],link:rn[800],linkHover:rn[900],primaryInverted:en[0],secondaryInverted:en[400],placeholderInverted:en[600],disabledInverted:en[700],positive:un[800],negative:sn[700],lockedWhite:en[0]},icon:{primary:en[1e3],secondary:en[600],disabled:en[300],primaryInverted:en[0],secondaryInverted:en[400],disabledInverted:en[700],positive:un[800],negative:sn[700],lockedWhite:en[0],link:rn[800],linkHover:rn[900]},input:{default:en[0],disabled:"#FFFFFF80"}},dark:{surface:{default:tn[50],sunken:tn[0],raised:tn[100],overlay:tn[200],scrim:on[3],transparent:on[.01]},interaction:{none:on[0],hover:on[1],press:on[2],hoverOnDark:on[3],pressOnDark:on[4],disabled:on[2]},stroke:{default:tn[200],focus:rn[500],disabled:tn[100]},text:{primary:tn[1e3],secondary:tn[700],placeholder:tn[400],disabled:tn[300],link:rn[100],linkHover:rn[0],primaryInverted:tn[0],secondaryInverted:tn[400],placeholderInverted:tn[600],disabledInverted:tn[700],positive:un[300],negative:sn[300],lockedWhite:en[0]},icon:{primary:tn[1e3],secondary:tn[700],disabled:tn[300],primaryInverted:tn[0],secondaryInverted:tn[400],disabledInverted:tn[700],positive:un[300],negative:sn[300],lockedWhite:en[0],link:rn[100],linkHover:rn[0]},input:{default:tn[100],disabled:"#2A223C80"}}};var zn;!function(e){e[e.DEFAULT=400]="DEFAULT",e[e.BOLD=500]="BOLD"}(zn||(zn={}));const Rn={Domaine:{name:"Domaine",default:{fileName:"DomaineRegular.woff2",weight:zn.DEFAULT},bold:{fileName:"DomaineMedium.woff2",weight:zn.BOLD}},FoundersGrotesk:{name:"FoundersGrotesk",default:{fileName:"FoundersGroteskRegular.woff2",weight:zn.DEFAULT},bold:{fileName:"FoundersGroteskMedium.woff2",weight:zn.BOLD}},FontStack:{Serif:'"Domaine", Palatino, serif',SansSerif:'"FoundersGrotesk", Arial, sans-serif'}};function En(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vn,Fn={exports:{}},Bn={};var Ln,Dn={};
1
+ import*as e from"react";import t,{Fragment as n,useRef as i,useEffect as o,useState as r,useCallback as s,useMemo as a,createContext as l,useContext as c,useId as u,useLayoutEffect as d,useInsertionEffect as p,forwardRef as h,createElement as m,Component as f,useImperativeHandle as g,startTransition as x}from"react";import{SvgIcon as v,styled as y,Paper as b,useTheme as w,Box as j,Link as C,Typography as k,linkClasses as S,CircularProgress as M,Tooltip as P,IconButton as T,Container as A,Unstable_Grid2 as z,Button as R,boxClasses as E,Slide as V,Fade as L,Grow as F,Popper as B,ClickAwayListener as D,Stack as O,Avatar as I,Divider as $,LinearProgress as H,linearProgressClasses as N,alpha as W,AvatarGroup as _,FormControlLabel as U,Checkbox as Z,TextField as G,InputAdornment as Y,FormGroup as q,InputLabel as K,Radio as X,RadioGroup as J,Grid as Q,Menu as ee,MenuItem as te,ButtonBase as ne,FormLabel as ie,Autocomplete as oe,Chip as re,autocompleteClasses as se,Select as ae,useMediaQuery as le,Slider as ce,Rating as ue,Switch as de,ButtonGroup as pe,Skeleton as he,CardActionArea as me,CardContent as fe,createTheme as ge,GlobalStyles as xe,CssBaseline as ve}from"@mui/material";import{mergeSx as ye}from"merge-sx";import{ExpandLess as be,Check as we,Remove as je,Info as Ce,ErrorOutline as ke,ArrowDropUp as Se,ArrowDropDown as Me,KeyboardArrowDown as Pe,CloseRounded as Te,DragHandle as Ae}from"@mui/icons-material";import ze from"@mui/material/useMediaQuery";import{TimelineDot as Re,timelineItemClasses as Ee,TimelineItem as Ve,TimelineSeparator as Le,TimelineConnector as Fe,TimelineContent as Be}from"@mui/lab";import{styled as De,useThemeProps as Oe,ThemeProvider as Ie}from"@mui/material/styles";import{capitalize as $e}from"@mui/material/utils";import{Controller as He,useForm as Ne}from"react-hook-form";import{isValidPhoneNumber as We}from"react-phone-number-input";import{NumericFormat as _e}from"react-number-format";import{defaultDropAnimationSideEffects as Ue,DragOverlay as Ze,useSensors as Ge,useSensor as Ye,KeyboardSensor as qe,DndContext as Ke,MeasuringStrategy as Xe,MouseSensor as Je,TouchSensor as Qe}from"@dnd-kit/core";import{useSortable as et,defaultAnimateLayoutChanges as tt,sortableKeyboardCoordinates as nt,arrayMove as it,SortableContext as ot,horizontalListSortingStrategy as rt,verticalListSortingStrategy as st}from"@dnd-kit/sortable";import{CSS as at}from"@dnd-kit/utilities";import{createPortal as lt}from"react-dom";import{Placeholder as ct}from"@tiptap/extension-placeholder";import{StarterKit as ut}from"@tiptap/starter-kit";import{RichTextEditor as dt,MenuButtonBold as pt,MenuButtonItalic as ht}from"mui-tiptap";import{Markdown as mt}from"tiptap-markdown";import{zxcvbnOptions as ft,zxcvbn as gt}from"@zxcvbn-ts/core";import*as xt from"@zxcvbn-ts/language-common";import*as vt from"@zxcvbn-ts/language-en";import{ErrorMessage as yt}from"@hookform/error-message";import{LazyLoadImage as bt}from"react-lazy-load-image-component";import wt from"markdown-to-jsx";import{stringify as jt,rulesheet as Ct,middleware as kt,RULESET as St,combine as Mt,match as Pt,serialize as Tt,copy as At,replace as zt,WEBKIT as Rt,MOZ as Et,MS as Vt,KEYFRAMES as Lt,DECLARATION as Ft,compile as Bt,dealloc as Dt,alloc as Ot,hash as It,charat as $t,strlen as Ht,indexof as Nt,next as Wt,token as _t,from as Ut,peek as Zt,delimit as Gt,slice as Yt,position as qt,prefixer as Kt}from"stylis";import{CacheProvider as Xt}from"@emotion/react";import Jt from"dayjs";import Qt from"stylis-plugin-rtl";const en={0:"#FFFFFF",50:"#F8F8F9",100:"#E8E7EB",200:"#D1CFD6",300:"#BAB7C2",400:"#A39FAD",500:"#8C8799",600:"#756F85",700:"#5E5770",800:"#473F5C",900:"#302747",950:"#251B3D",1e3:"#190F33",1100:"#0D081A"},tn={0:"#130B26",50:"#1C142F",100:"#2A223C",200:"#413A51",300:"#585267",400:"#6F697D",500:"#868092",600:"#9D98A8",700:"#B4AFBE",800:"#CBC7D4",900:"#E2DEE9",1e3:"#F9F6FF",950:"#EDEAF4",1100:"#FFFFFF"},nn={0:"#190f3300",.01:"#190f3303",1:"#190F3308",2:"#190F330F",3:"#190F331F",4:"#190F333D",5:"#190f3380"},on={0:"#F9F6FF00",.01:"#fff6ff03",1:"#F9F6FF0A",2:"#F9F6FF14",3:"#F9F6FF1F",4:"#F9F6FF3D",5:"#f9f6ff80"},rn={0:"#F2EDFF",100:"#D9C9FF",200:"#BFA5FF",300:"#A582FF",400:"#8C5EFF",500:"#7F4CFF",600:"#7648E9",700:"#6441BE",800:"#533992",900:"#413167",1e3:"#2F2A3C"},sn={0:"#FFEEED",100:"#FECDCA",200:"#FDACA6",300:"#FD8B83",400:"#FC6B60",500:"#FC5A4E",600:"#E7554A",700:"#BC4A42",800:"#91403A",900:"#663632",1e3:"#3B2B2A"},an={0:"#FFF8F6",100:"#FFEBE4",200:"#FFDFD2",300:"#FFD2C0",400:"#FFC5AE",500:"#FFBEA5",600:"#E9AF98",700:"#BE907F",800:"#927266",900:"#67544C",1e3:"#3C3533"},ln={0:"#FFF9E5",100:"#FFECB2",200:"#FFECB2",300:"#FFD24D",400:"#FFC61A",500:"#FFBF00",600:"#E9B004",700:"#BE910B",800:"#927313",900:"#67541B",1e3:"#3C3522"},cn={0:"#EBF8FB",100:"#C4E9F3",200:"#9DDAEB",300:"#76CBE4",400:"#4FBCDC",500:"#3CB4D8",600:"#39A6C6",700:"#358AA2",800:"#316D7F",900:"#2C515B",1e3:"#283438"},un={0:"#EDF7EC",100:"#C8E8C7",200:"#A3D9A1",300:"#7FC97C",400:"#5ABA57",500:"#48B244",600:"#44A441",700:"#3D883B",800:"#376C35",900:"#30502F",1e3:"#293429"},dn={light:{0:en[0],50:en[50],100:en[100],200:en[200],300:en[300],400:en[400],500:en[500],600:en[600],700:en[700],800:en[800],900:en[900],950:en[950],1e3:en[1e3],1100:en[1100]},dark:{0:tn[0],50:tn[50],100:tn[100],200:tn[200],300:tn[300],400:tn[400],500:tn[500],600:tn[600],700:tn[700],800:tn[800],900:tn[900],950:tn[950],1e3:tn[1e3],1100:tn[1100]}},pn=e=>({light:{0:e[0],100:e[100],200:e[200],300:e[300],400:e[400],500:e[500],600:e[600],700:e[700],800:e[800],900:e[900],1e3:e[1e3]},dark:{0:e[1e3],100:e[900],200:e[800],300:e[700],400:e[600],500:e[500],600:e[400],700:e[300],800:e[200],900:e[100],1e3:e[0]}}),hn=pn(rn),mn=pn(sn),fn=pn(an),gn=pn(ln),xn=pn(cn),vn=pn(un),yn={sm:0,md:584,lg:812,lgNav:1e3,xl:1280,xxl:1728},bn={0:0,25:2,50:4,100:8,150:12,200:16,300:24,350:28,400:32,500:40,600:48,800:64,1e3:80,2e3:160},wn=bn[100],jn={none:bn[0],xs:bn[50]/wn,sm:bn[100]/wn,md:bn[200]/wn,lg:bn[400]/wn,xl:bn[600]/wn,xxl:bn[1e3]/wn,xxxl:bn[2e3]/wn},Cn={none:bn[0],xs:bn[50]/wn,sm:bn[100]/wn,md:bn[200]/wn,lg:bn[400]/wn,xl:bn[600]/wn},kn={none:bn[0],xs:bn[25]/wn,sm:bn[50]/wn,md:bn[100]/wn,lg:bn[200]/wn,xl:bn[300]/wn,round:999},Sn={raised:"0px 0px 0px 1px rgba(255, 255, 255, 0.12), 0px 0px 4px 2px rgba(6, 4, 13, 0.04), 0px 1px 2px 0px rgba(6, 4, 13, 0.16)",overlay:"0px 0px 0px 1px rgba(255, 255, 255, 0.16), 0px 0px 4px 2px rgba(6, 4, 13, 0.04), 0px 16px 24px 0px rgba(6, 4, 13, 0.08), 0px 4px 8px 0px rgba(6, 4, 13, 0.08)"},Mn={raised:"drop-shadow(0px 0px 0px rgba(255, 255, 255, 0.12)) drop-shadow(0px 0px 4px rgba(6, 4, 13, 0.04)) drop-shadow(0px 1px 2px rgba(6, 4, 13, 0.16))",overlay:"drop-shadow(0px 0px 0px rgba(255, 255, 255, 0.16)) drop-shadow(0px 0px 4px rgba(6, 4, 13, 0.04)) drop-shadow(0px 16px 24px rgba(6, 4, 13, 0.08)) drop-shadow(0px 4px 8px rgba(6, 4, 13, 0.08))"},Pn={input:{focus:"0px 0px 0px 4px rgba(127, 76, 255, 0.24)"}},Tn={default:"cubic-bezier(0.16, 1, 0.3, 1)",input:"all 200ms ease"},An={light:{surface:{sunken:en[50],default:en[0],raised:en[0],overlay:en[0],scrim:nn[3],transparent:nn[.01]},interaction:{none:nn[0],hover:nn[1],press:nn[2],hoverOnDark:nn[3],pressOnDark:nn[4],disabled:nn[2]},stroke:{default:en[200],focus:rn[500],disabled:en[100]},text:{primary:en[1e3],secondary:en[600],placeholder:en[400],disabled:en[300],link:rn[800],linkHover:rn[900],primaryInverted:en[0],secondaryInverted:en[400],placeholderInverted:en[600],disabledInverted:en[700],positive:un[800],negative:sn[700],lockedWhite:en[0]},icon:{primary:en[1e3],secondary:en[600],disabled:en[300],primaryInverted:en[0],secondaryInverted:en[400],disabledInverted:en[700],positive:un[800],negative:sn[700],lockedWhite:en[0],link:rn[800],linkHover:rn[900]},input:{default:en[0],disabled:"#FFFFFF80"}},dark:{surface:{default:tn[50],sunken:tn[0],raised:tn[100],overlay:tn[200],scrim:on[3],transparent:on[.01]},interaction:{none:on[0],hover:on[1],press:on[2],hoverOnDark:on[3],pressOnDark:on[4],disabled:on[2]},stroke:{default:tn[200],focus:rn[500],disabled:tn[100]},text:{primary:tn[1e3],secondary:tn[700],placeholder:tn[400],disabled:tn[300],link:rn[100],linkHover:rn[0],primaryInverted:tn[0],secondaryInverted:tn[400],placeholderInverted:tn[600],disabledInverted:tn[700],positive:un[300],negative:sn[300],lockedWhite:en[0]},icon:{primary:tn[1e3],secondary:tn[700],disabled:tn[300],primaryInverted:tn[0],secondaryInverted:tn[400],disabledInverted:tn[700],positive:un[300],negative:sn[300],lockedWhite:en[0],link:rn[100],linkHover:rn[0]},input:{default:tn[100],disabled:"#2A223C80"}}};var zn;!function(e){e[e.DEFAULT=400]="DEFAULT",e[e.BOLD=500]="BOLD"}(zn||(zn={}));const Rn={Domaine:{name:"Domaine",default:{fileName:"DomaineRegular.woff2",weight:zn.DEFAULT},bold:{fileName:"DomaineMedium.woff2",weight:zn.BOLD}},FoundersGrotesk:{name:"FoundersGrotesk",default:{fileName:"FoundersGroteskRegular.woff2",weight:zn.DEFAULT},bold:{fileName:"FoundersGroteskMedium.woff2",weight:zn.BOLD}},FontStack:{Serif:'"Domaine", Palatino, serif',SansSerif:'"FoundersGrotesk", Arial, sans-serif'}};function En(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vn,Ln={exports:{}},Fn={};var Bn,Dn={};
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.development.js
@@ -7,7 +7,7 @@ import*as e from"react";import t,{Fragment as n,useRef as i,useEffect as o,useSt
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */"production"===process.env.NODE_ENV?Fn.exports=function(){if(Vn)return Bn;Vn=1;var e=t,n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function a(e,t,i){var a,l={},c=null,u=null;for(a in void 0!==i&&(c=""+i),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)o.call(t,a)&&!s.hasOwnProperty(a)&&(l[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===l[a]&&(l[a]=t[a]);return{$$typeof:n,type:e,key:c,ref:u,props:l,_owner:r.current}}return Bn.Fragment=i,Bn.jsx=a,Bn.jsxs=a,Bn}():Fn.exports=(Ln||(Ln=1,"production"!==process.env.NODE_ENV&&function(){var e,n=t,i=Symbol.for("react.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),g=Symbol.iterator,x=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];!function(e,t,n){var i=x.ReactDebugCurrentFrame.getStackAddendum();""!==i&&(t+="%s",n=n.concat([i]));var o=n.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}("error",e,n)}function y(e){return e.displayName||"Context"}function b(e){if(null==e)return null;if("number"==typeof e.tag&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case o:return"Portal";case a:return"Profiler";case s:return"StrictMode";case d:return"Suspense";case p:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case c:return y(e)+".Consumer";case l:return y(e._context)+".Provider";case u:return function(e,t,n){var i=e.displayName;if(i)return i;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case h:var t=e.displayName||null;return null!==t?t:b(e.type)||"Memo";case m:var n=e,i=n._payload,f=n._init;try{return b(f(i))}catch(e){return null}}return null}e=Symbol.for("react.module.reference");var w,j,C,k,S,M,P,T=Object.assign,A=0;function z(){}z.__reactDisabledLog=!0;var R,E=x.ReactCurrentDispatcher;function V(e,t,n){if(void 0===R)try{throw Error()}catch(e){var i=e.stack.trim().match(/\n( *(at )?)/);R=i&&i[1]||""}return"\n"+R+e}var F,B=!1,L="function"==typeof WeakMap?WeakMap:Map;function D(e,t){if(!e||B)return"";var n,i=F.get(e);if(void 0!==i)return i;B=!0;var o,r=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=E.current,E.current=null,function(){if(0===A){w=console.log,j=console.info,C=console.warn,k=console.error,S=console.group,M=console.groupCollapsed,P=console.groupEnd;var e={configurable:!0,enumerable:!0,value:z,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}A++}();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(s,[])}catch(e){n=e}Reflect.construct(e,[],s)}else{try{s.call()}catch(e){n=e}e.call(s.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),l=n.stack.split("\n"),c=a.length-1,u=l.length-1;c>=1&&u>=0&&a[c]!==l[u];)u--;for(;c>=1&&u>=0;c--,u--)if(a[c]!==l[u]){if(1!==c||1!==u)do{if(c--,--u<0||a[c]!==l[u]){var d="\n"+a[c].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&F.set(e,d),d}}while(c>=1&&u>=0);break}}}finally{B=!1,E.current=o,function(){if(0==--A){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:w}),info:T({},e,{value:j}),warn:T({},e,{value:C}),error:T({},e,{value:k}),group:T({},e,{value:S}),groupCollapsed:T({},e,{value:M}),groupEnd:T({},e,{value:P})})}A<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=r}var p=e?e.displayName||e.name:"",h=p?V(p):"";return"function"==typeof e&&F.set(e,h),h}function O(e,t,n){if(null==e)return"";if("function"==typeof e)return D(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return V(e);switch(e){case d:return V("Suspense");case p:return V("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return D(e.render,!1);case h:return O(e.type,t,n);case m:var i=e,o=i._payload,r=i._init;try{return O(r(o),t,n)}catch(e){}}return""}F=new L;var I=Object.prototype.hasOwnProperty,$={},H=x.ReactDebugCurrentFrame;function N(e){if(e){var t=e._owner,n=O(e.type,e._source,t?t.type:null);H.setExtraStackFrame(n)}else H.setExtraStackFrame(null)}var W=Array.isArray;function _(e){return W(e)}function U(e){return""+e}function Z(e){if(function(e){try{return U(e),!1}catch(e){return!0}}(e))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),U(e)}var G,Y,q=x.ReactCurrentOwner,K={key:!0,ref:!0,__self:!0,__source:!0};function X(e,t,n,o,r){var s,a={},l=null,c=null;for(s in void 0!==n&&(Z(n),l=""+n),function(e){if(I.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(Z(t.key),l=""+t.key),function(e){if(I.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(c=t.ref,function(e){"string"==typeof e.ref&&q.current}(t)),t)I.call(t,s)&&!K.hasOwnProperty(s)&&(a[s]=t[s]);if(e&&e.defaultProps){var u=e.defaultProps;for(s in u)void 0===a[s]&&(a[s]=u[s])}if(l||c){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var n=function(){G||(G=!0,v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(a,d),c&&function(e,t){var n=function(){Y||(Y=!0,v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(a,d)}return function(e,t,n,o,r,s,a){var l={$$typeof:i,type:e,key:t,ref:n,props:a,_owner:s,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l}(e,l,c,r,o,q.current,a)}var J,Q=x.ReactCurrentOwner,ee=x.ReactDebugCurrentFrame;function te(e){if(e){var t=e._owner,n=O(e.type,e._source,t?t.type:null);ee.setExtraStackFrame(n)}else ee.setExtraStackFrame(null)}function ne(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}function ie(){if(Q.current){var e=b(Q.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}J=!1;var oe={};function re(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=ie();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!oe[n]){oe[n]=!0;var i="";e&&e._owner&&e._owner!==Q.current&&(i=" It was passed a child from "+b(e._owner.type)+"."),te(e),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,i),te(null)}}}function se(e,t){if("object"==typeof e)if(_(e))for(var n=0;n<e.length;n++){var i=e[n];ne(i)&&re(i,t)}else if(ne(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!=typeof e)return null;var t=g&&e[g]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof o&&o!==e.entries)for(var r,s=o.call(e);!(r=s.next()).done;)ne(r.value)&&re(r.value,t)}}function ae(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==u&&n.$$typeof!==h)return;t=n.propTypes}if(t){var i=b(n);!function(e,t,n,i,o){var r=Function.call.bind(I);for(var s in e)if(r(e,s)){var a=void 0;try{if("function"!=typeof e[s]){var l=Error((i||"React class")+": "+n+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}a=e[s](t,s,i,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){a=e}!a||a instanceof Error||(N(o),v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",i||"React class",n,s,typeof a),N(null)),a instanceof Error&&!(a.message in $)&&($[a.message]=!0,N(o),v("Failed %s type: %s",n,a.message),N(null))}}(t,e.props,"prop",i,e)}else void 0===n.PropTypes||J||(J=!0,v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",b(n)||"Unknown"));"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var le={};function ce(t,n,o,g,x,y){var w=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===s||t===d||t===p||t===f||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===h||t.$$typeof===l||t.$$typeof===c||t.$$typeof===u||t.$$typeof===e||void 0!==t.getModuleId)}(t);if(!w){var j,C="";(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(C+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),C+=ie(),null===t?j="null":_(t)?j="array":void 0!==t&&t.$$typeof===i?(j="<"+(b(t.type)||"Unknown")+" />",C=" Did you accidentally export a JSX literal instead of a component?"):j=typeof t,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",j,C)}var k=X(t,n,o,x,y);if(null==k)return k;if(w){var S=n.children;if(void 0!==S)if(g)if(_(S)){for(var M=0;M<S.length;M++)se(S[M],t);Object.freeze&&Object.freeze(S)}else v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else se(S,t)}if(I.call(n,"key")){var P=b(t),T=Object.keys(n).filter((function(e){return"key"!==e})),A=T.length>0?"{key: someKey, "+T.join(": ..., ")+": ...}":"{key: someKey}";le[P+A]||(v('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',A,P,T.length>0?"{"+T.join(": ..., ")+": ...}":"{}",P),le[P+A]=!0)}return t===r?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var i=t[n];if("children"!==i&&"key"!==i){te(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",i),te(null);break}}null!==e.ref&&(te(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),te(null))}(k):ae(k),k}var ue=function(e,t,n){return ce(e,t,n,!1)},de=function(e,t,n){return ce(e,t,n,!0)};Dn.Fragment=r,Dn.jsx=ue,Dn.jsxs=de}()),Dn);var On=Fn.exports;const In=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1z",fill:"currentColor"})}),$n=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M8.75 3c.207 0 .375.168.375.375a3 3 0 003 3 .375.375 0 010 .75 3 3 0 00-3 3 .375.375 0 01-.75 0 3 3 0 00-3-3 .375.375 0 110-.75 3 3 0 003-3c0-.207.168-.375.375-.375zM15.875 7.875a.375.375 0 00-.75 0c0 2.9-2.35 5.25-5.25 5.25a.375.375 0 000 .75c2.9 0 5.25 2.35 5.25 5.25a.375.375 0 00.75 0c0-2.9 2.35-5.25 5.25-5.25a.375.375 0 000-.75 5.25 5.25 0 01-5.25-5.25zM6.125 13.875a.375.375 0 00-.75 0 3 3 0 01-3 3 .375.375 0 000 .75 3 3 0 013 3 .375.375 0 00.75 0 3 3 0 013-3 .375.375 0 000-.75 3 3 0 01-3-3z",fill:"currentColor"})}),Hn=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M18.791 11.005H7.621l4.88-4.88c.39-.39.39-1.03 0-1.42a.996.996 0 00-1.41 0l-6.59 6.59a.996.996 0 000 1.41l6.59 6.59a.996.996 0 101.41-1.41l-4.88-4.88h11.17c.55 0 1-.45 1-1s-.45-1-1-1z",fill:"currentColor"})}),Nn=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M5.209 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42.39.39 1.02.39 1.41 0l6.59-6.59a.996.996 0 000-1.41l-6.58-6.6a.996.996 0 10-1.41 1.41l4.87 4.89H5.209c-.55 0-1 .45-1 1s.45 1 1 1z",fill:"currentColor"})}),Wn=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M16 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5a2.5 2.5 0 015 0v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H9.5v9.5a2.5 2.5 0 005 0V5c0-2.21-1.79-4-4-4s-4 1.79-4 4v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6H16z",fill:"currentColor"})}),_n=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M6.94 6.94a1.5 1.5 0 000 2.12l3.181 3.183-3.182 3.182a1.5 1.5 0 102.122 2.12l3.182-3.181 3.182 3.182a1.5 1.5 0 002.121-2.121l-3.182-3.182 3.182-3.182a1.5 1.5 0 00-2.121-2.122l-3.182 3.182L9.06 6.94a1.5 1.5 0 00-2.122 0z",fill:"#FC5A4E"})}),Un=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{d:"M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12z",fill:"#FC5A4E"}),On.jsx("path",{d:"M6.94 6.94a1.5 1.5 0 000 2.12l3.181 3.183-3.182 3.182a1.5 1.5 0 102.122 2.12l3.182-3.181 3.182 3.182a1.5 1.5 0 102.12-2.121l-3.181-3.182 3.182-3.182a1.5 1.5 0 10-2.121-2.122l-3.182 3.182L9.06 6.94a1.5 1.5 0 00-2.122 0z",fill:"#fff"})]}),Zn=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M4.5 12A1.5 1.5 0 016 10.5h12a1.5 1.5 0 010 3H6A1.5 1.5 0 014.5 12z",fill:"#BAB7C2"})}),Gn=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{d:"M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12z",fill:"#BAB7C2"}),On.jsx("path",{d:"M4.5 12A1.5 1.5 0 016 10.5h12a1.5 1.5 0 010 3H6A1.5 1.5 0 014.5 12z",fill:"#fff"})]}),Yn=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.174 8.517a1.5 1.5 0 00-1.669.98 1.5 1.5 0 01-2.83-.995 4.5 4.5 0 018.745 1.5c0 1.795-1.328 2.936-2.168 3.496a8.541 8.541 0 01-1.796.904l-.04.013-.013.005-.005.002h-.002c-.001 0-.002.001-.476-1.422l.474 1.423a1.5 1.5 0 01-.953-2.844m0 0l.01-.004.064-.024a5.54 5.54 0 001.073-.55c.66-.439.832-.797.832-1.001v-.002a1.5 1.5 0 00-1.246-1.48M16.42 10v.001L14.92 10h1.5v.001zM10.5 17a1.5 1.5 0 011.5-1.5h.01a1.5 1.5 0 110 3H12a1.5 1.5 0 01-1.5-1.5z",fill:"#BAB7C2"})}),qn=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{d:"M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12z",fill:"#BAB7C2"}),On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.174 8.517a1.5 1.5 0 00-1.669.98 1.5 1.5 0 01-2.83-.995 4.5 4.5 0 018.745 1.5c0 1.795-1.328 2.936-2.168 3.496a8.54 8.54 0 01-1.796.904l-.04.013-.013.005-.005.002h-.002s-.002.001-.476-1.422l.474 1.423a1.5 1.5 0 01-.953-2.844m0 0l.01-.004.064-.024a5.551 5.551 0 001.073-.55c.66-.439.832-.797.832-1.001v-.002a1.5 1.5 0 00-1.246-1.48M16.42 10L14.92 10h1.5v.001zM10.5 17a1.5 1.5 0 011.5-1.5h.01a1.5 1.5 0 010 3H12a1.5 1.5 0 01-1.5-1.5z",fill:"#fff"})]}),Kn=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M5.44 12.596a1.5 1.5 0 000 2.121l2.828 2.829a1.5 1.5 0 002.121 0l8.485-8.485a1.5 1.5 0 10-2.121-2.122l-7.425 7.425-1.767-1.768a1.5 1.5 0 00-2.122 0z",fill:"#48B244"})}),Xn=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{d:"M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12z",fill:"#48B244"}),On.jsx("path",{d:"M5.44 12.596a1.5 1.5 0 000 2.121l2.828 2.829a1.5 1.5 0 002.121 0l8.485-8.485a1.5 1.5 0 10-2.121-2.122l-7.425 7.425-1.767-1.768a1.5 1.5 0 00-2.122 0z",fill:"#fff"})]}),Jn=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("rect",{width:24,height:24,rx:12,fill:"#7F4CFF"}),On.jsx("path",{d:"M7.5 6h6v.75c-1.5 0-1.5 1.5-1.5 1.5v8.25h2.25s1.5 0 1.5-2.25h1.5L16.5 18h-9v-1.5C9 16.5 9 15 9 15V8.25s0-1.5-1.5-1.5V6z",fill:"#fff"})]}),Qn=e=>On.jsxs(v,{viewBox:"0 0 80 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("g",{clipPath:"url(#prefix__clip0_2261_1952)",children:On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.638 19.13c-1.281-.899-1.55-1.167-1.55-3.146V0H0v.3l.012.007c1.302.803 1.894 1.168 1.894 3.14v12.537c0 1.98-.268 2.247-1.549 3.146v.3h8.28v-.3zm.384-5.709c.806 4.602 4.97 6.966 9.343 6.192 4.37-.776 7.48-4.444 6.675-9.034-.805-4.59-4.97-6.968-9.343-6.192-4.373.775-7.48 4.432-6.675 9.034zm5.399-.959c-.772-4.425-.46-6.428 1.503-6.776 1.963-.35 2.946 1.42 3.718 5.845.77 4.425.461 6.419-1.504 6.776-1.966.357-2.946-1.42-3.717-5.845zm21.04 7.151c-4.37.774-8.535-1.59-9.343-6.192-.807-4.602 2.302-8.259 6.675-9.034 4.372-.776 8.535 1.602 9.343 6.192.807 4.59-2.305 8.258-6.675 9.034zm-2.44-13.927c-1.966.348-2.276 2.35-1.505 6.776.772 4.426 1.752 6.202 3.718 5.852 1.965-.35 2.274-2.35 1.503-6.776-.77-4.426-1.751-6.202-3.717-5.852zm18.116 17.948c-1.49-.848-2.026-1.153-2.026-3.08l.004-3.595c.774 1.558 2.323 2.787 4.884 2.787 3.872 0 6.941-2.945 6.941-8.01 0-5.152-2.991-7.46-6.404-7.46-2.8 0-4.738 1.589-5.42 3.777l-.121-3.476h-6.85v.286h.001c1.28.837 1.785 1.167 1.785 3.146v12.545c0 1.977-.267 2.247-1.55 3.146v.3h8.873v-.3l-.117-.066zm1.22-5.712c-1.818 0-3.246-2.066-3.246-4.462v-2.135c0-2.666 1.28-4.675 3.246-4.675 2.054 0 3.066 1.89 3.066 5.094 0 4.23-1.041 6.178-3.066 6.178zm24.96 1.764a1.75 1.75 0 001.745-1.755 1.75 1.75 0 00-1.745-1.755 1.75 1.75 0 00-1.745 1.755c0 .97.781 1.755 1.745 1.755zm-8-10.394C67.322 8.7 66.2 8.367 66.2 7.176c0-.998.91-1.44 1.91-1.44 1.939 0 3.456 1.11 5.215 3.687h.416V4.27h-.298l-1.34.989-.175-.073c-1.103-.458-2.206-.916-3.877-.916-3.187 0-5.719 1.977-5.719 4.913 0 2.636 1.254 4.135 5.751 5.304 1.67.42 2.83.719 2.83 2.007 0 1.2-1.16 1.767-2.561 1.767-2.152 0-3.724-1.467-5.792-4.254h-.455l.314 5.693h.327l1.19-1.199c.953.48 2.443 1.229 4.438 1.229 3.813 0 6.466-2.128 6.466-5.124 0-3.087-1.843-4.224-5.483-5.302l-.04-.012z",fill:"currentColor"})}),On.jsx("defs",{children:On.jsx("clipPath",{id:"prefix__clip0_2261_1952",children:On.jsx("path",{fill:"#fff",d:"M0 0h79.064v24H0z"})})})]}),ei=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm4.3 14.3a.996.996 0 01-1.41 0L12 13.41 9.11 16.3a.996.996 0 11-1.41-1.41L10.59 12 7.7 9.11A.996.996 0 119.11 7.7L12 10.59l2.89-2.89a.996.996 0 111.41 1.41L13.41 12l2.89 2.89c.38.38.38 1.02 0 1.41z",fill:"currentColor"})}),ti=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M4 4h16v12H5.17L4 17.17V4zm0-2c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2H4zm2 10h8v2H6v-2zm0-3h12v2H6V9zm0-3h12v2H6V6z",fill:"currentColor"})}),ni=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M8.795 15.875l-3.47-3.47a.996.996 0 10-1.41 1.41l4.18 4.18c.39.39 1.02.39 1.41 0l10.58-10.58a.996.996 0 10-1.41-1.41l-9.88 9.87z",fill:"currentColor"})}),ii=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8-1.41-1.42z",fill:"currentColor"})}),oi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M15.875 9l-3.88 3.88L8.115 9a.996.996 0 10-1.41 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 000-1.41c-.39-.38-1.03-.39-1.42 0z",fill:"currentColor"})}),ri=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M15 6.705a.996.996 0 00-1.41 0L9 11.295a.996.996 0 000 1.41l4.59 4.59a.996.996 0 101.41-1.41l-3.88-3.89L15 8.115c.39-.39.38-1.03 0-1.41z",fill:"currentColor"})}),si=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M9 6.71a.996.996 0 000 1.41L12.88 12 9 15.88a.996.996 0 101.41 1.41L15 12.7a.996.996 0 000-1.41L10.41 6.7c-.38-.38-1.02-.38-1.41.01z",fill:"currentColor"})}),ai=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M11.295 9l-4.59 4.59A.996.996 0 108.115 15l3.89-3.88 3.88 3.88a.996.996 0 101.41-1.41L12.705 9a.996.996 0 00-1.41 0z",fill:"currentColor"})}),li=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M18.3 5.71a.996.996 0 00-1.41 0L12 10.59 7.11 5.7A.996.996 0 105.7 7.11L10.59 12 5.7 16.89a.996.996 0 101.41 1.41L12 13.41l4.89 4.89a.996.996 0 101.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z",fill:"currentColor"})}),ci=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM17 14H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1zm0-3H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1zm0-3H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1z",fill:"currentColor"})}),ui=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M4 10.5c0 .55.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1zM14.79 4.5H13v-2c0-.55-.45-1-1-1s-1 .45-1 1v2H9.21a.5.5 0 00-.36.85l2.79 2.79c.2.2.51.2.71 0l2.79-2.79c.32-.31.1-.85-.35-.85zM9.21 19.5H11v2c0 .55.45 1 1 1s1-.45 1-1v-2h1.79c.45 0 .67-.54.35-.85l-2.79-2.79c-.2-.2-.51-.2-.71 0l-2.79 2.79a.5.5 0 00.36.85zM5 14.5h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1s.45 1 1 1z",fill:"currentColor"})}),di=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{d:"M22 6a1 1 0 00-1-1H11a1 1 0 100 2h10a1 1 0 001-1zM6 6a1 1 0 00-1-1H3a1 1 0 000 2h2a1 1 0 001-1z",fill:"currentColor"}),On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 9a3 3 0 110-6 3 3 0 010 6zm0-2a1 1 0 110-2 1 1 0 010 2z",fill:"currentColor"}),On.jsx("path",{d:"M2 12a1 1 0 011-1h10a1 1 0 110 2H3a1 1 0 01-1-1zM18 12a1 1 0 011-1h2a1 1 0 110 2h-2a1 1 0 01-1-1z",fill:"currentColor"}),On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 15a3 3 0 100-6 3 3 0 000 6zm0-2a1 1 0 100-2 1 1 0 000 2z",fill:"currentColor"}),On.jsx("path",{d:"M22 18a1 1 0 00-1-1H11a1 1 0 100 2h10a1 1 0 001-1zM6 18a1 1 0 00-1-1H3a1 1 0 100 2h2a1 1 0 001-1z",fill:"currentColor"}),On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 21a3 3 0 110-6 3 3 0 010 6zm0-2a1 1 0 110-2 1 1 0 010 2z",fill:"currentColor"})]}),pi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M16.5 1h-12c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4h-11c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16h-11V7h11v14z",fill:"currentColor"})}),hi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M19 5v2h-4V5h4zM9 5v6H5V5h4zm10 8v6h-4v-6h4zM9 17v2H5v-2h4zM21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z",fill:"currentColor"})}),mi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M16 9v10H8V9h8zm-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z",fill:"currentColor"})}),fi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z",fill:"currentColor"})}),gi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M6.44 14.52l2.24-.1c.1 1.62 1.08 2.54 2.42 2.82v-3.52l-1.04-.2c-1.94-.34-3.28-1.44-3.28-3.52 0-2.24 1.64-3.68 4.32-3.82V4.54h1.34v1.68c2.7.28 4.2 1.92 4.24 4.44l-2.2.08c-.06-1.38-.84-2.28-2.04-2.58v3.5l.88.16c2.44.44 3.62 1.56 3.62 3.6 0 2.36-1.92 3.68-4.5 3.8v1.8H11.1v-1.84c-2.76-.28-4.66-1.9-4.66-4.66zm6.08-.56h-.08v3.34c1.3-.1 2.12-.68 2.12-1.72 0-.96-.7-1.38-2.04-1.62zm-3.4-4.14c0 .98.74 1.34 1.9 1.56l.08.02V8.06c-1.28.1-1.98.7-1.98 1.76z",fill:"currentColor"})}),xi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M19 9H5c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zM5 15h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1s.45 1 1 1z",fill:"currentColor"})}),vi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M2.999 17.461v3.04c0 .28.22.5.5.5h3.04c.13 0 .26-.05.35-.15l10.92-10.91-3.75-3.75-10.91 10.91c-.1.1-.15.22-.15.36zm17.71-10.42a.996.996 0 000-1.41l-2.34-2.34a.996.996 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z",fill:"currentColor"})}),yi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z",fill:"currentColor"})}),bi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 7c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1s-1-.45-1-1V8c0-.55.45-1 1-1zm-.01-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm1-3h-2v-2h2v2z",fill:"currentColor"})}),wi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M5.3 14.66v-1.32h1.1c-.02-.2-.02-.42-.02-.64v-.56H5.3v-1.32h1.24C7.1 7.92 9 6.16 11.86 6.16c3.18 0 4.94 2.3 5.08 5.32l-2.3.1c-.1-1.8-1-3.28-2.78-3.28-1.54 0-2.44.92-2.82 2.52h3.36l-.2 1.32H8.88c-.02.18-.02.38-.02.56 0 .22 0 .44.02.64h3.14l-.2 1.32H9.06c.38 1.56 1.28 2.44 2.8 2.44 1.78 0 2.66-1.3 2.78-3.28l2.3.1c-.12 3.08-1.98 5.32-5.08 5.32-2.82 0-4.72-1.72-5.3-4.58H5.3z",fill:"currentColor"})}),ji=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M5 20h14c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zM5 2h14c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm8 7h1.79c.45 0 .67-.54.35-.85l-2.79-2.79c-.2-.2-.51-.2-.71 0L8.85 8.15a.5.5 0 00.36.85H11v6H9.21c-.45 0-.67.54-.35.85l2.79 2.79c.2.2.51.2.71 0l2.79-2.79a.5.5 0 00-.35-.85H13V9z",fill:"currentColor"})}),Ci=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 6a9.75 9.75 0 00-9 6 9.75 9.75 0 0018 0 9.75 9.75 0 00-9-6zm-6.535-.014a11.75 11.75 0 0117.41 5.318 2 2 0 01-.012 1.425 11.75 11.75 0 01-21.738-.033 2 2 0 01.013-1.425 11.75 11.75 0 014.327-5.285zM12 10a2 2 0 100 4 2 2 0 000-4zm-4 2a4 4 0 118 0 4 4 0 01-8 0z",fill:"currentColor"})}),ki=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.293 1.293a1 1 0 011.414 0l20 20a1 1 0 01-1.414 1.414l-3.978-3.978a11.75 11.75 0 01-16.19-6.033 2 2 0 01.013-1.425 11.75 11.75 0 013.804-4.915l-3.65-3.649a1 1 0 010-1.414zm5.08 6.495A9.75 9.75 0 003 12a9.75 9.75 0 0012.81 5.225l-1.778-1.78a4 4 0 01-5.478-5.477l-2.18-2.18zm3.695 3.694a2 2 0 002.45 2.45l-2.45-2.45zm6.868-4.141a9.744 9.744 0 00-6.085-1.272 1 1 0 11-.236-1.986 11.744 11.744 0 0112.26 7.22 2 2 0 01-.012 1.425c-.402.974-.933 1.89-1.579 2.722a1 1 0 01-1.58-1.226A9.745 9.745 0 0021 11.999a9.744 9.744 0 00-4.064-4.658z",fill:"currentColor"})}),Si=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M11 18h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1zm4 6h10c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1z",fill:"currentColor"})}),Mi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M4 15c-.55 0-1 .45-1 1v3c0 1.1.9 2 2 2h3c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1-.45-1-1v-2c0-.55-.45-1-1-1zm1-9c0-.55.45-1 1-1h2c.55 0 1-.45 1-1s-.45-1-1-1H5c-1.1 0-2 .9-2 2v3c0 .55.45 1 1 1s1-.45 1-1V6zm14-3h-3c-.55 0-1 .45-1 1s.45 1 1 1h2c.55 0 1 .45 1 1v2c0 .55.45 1 1 1s1-.45 1-1V5c0-1.1-.9-2-2-2zm0 15c0 .55-.45 1-1 1h-2c-.55 0-1 .45-1 1s.45 1 1 1h3c1.1 0 2-.9 2-2v-3c0-.55-.45-1-1-1s-1 .45-1 1v2zm-7-9c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z",fill:"currentColor"})}),Pi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M9.17 6l2 2H20v10H4V6h5.17zM10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z",fill:"currentColor"})}),Ti=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.338 7A3.5 3.5 0 017.49 2c1.32-.02 2.522.626 3.465 1.674.394.438.743.944 1.044 1.503a7.712 7.712 0 011.044-1.503C13.987 2.626 15.19 1.98 16.509 2a3.5 3.5 0 013.153 5H20a2 2 0 012 2v2a2 2 0 01-2 2v6a3 3 0 01-3 3H7a3 3 0 01-3-3v-6a2 2 0 01-2-2V9a2 2 0 012-2h.338zm3.18-3c.606-.01 1.291.279 1.951 1.012.452.502.856 1.177 1.173 1.988H7.495A1.5 1.5 0 017.5 4h.017zm-.026 5H11v2H4V9h3.492zm9.003 0H20v2h-7V9h3.495zm.01-2a1.5 1.5 0 00-.005-3h-.017c-.607-.01-1.292.279-1.952 1.012-.453.502-.856 1.177-1.173 1.988h3.148zM6 19v-6h5v7H7a1 1 0 01-1-1zm11 1h-4v-7h5v6a1 1 0 01-1 1z",fill:"currentColor"})}),Ai=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z",fill:"currentColor"})}),zi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M5 11h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2zM5 21h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2zM13 5v4c0 1.1.9 2 2 2h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2zM15 21h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2z",fill:"currentColor"})}),Ri=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-4h2v2h-2v-2zm1.61-9.96c-2.06-.3-3.88.97-4.43 2.79-.18.58.26 1.17.87 1.17h.2c.41 0 .74-.29.88-.67.32-.89 1.27-1.5 2.3-1.28.95.2 1.65 1.13 1.57 2.1-.1 1.34-1.62 1.63-2.45 2.88 0 .01-.01.01-.01.02-.01.02-.02.03-.03.05-.09.15-.18.32-.25.5-.01.03-.03.05-.04.08-.01.02-.01.04-.02.07-.12.34-.2.75-.2 1.25h2c0-.42.11-.77.28-1.07.02-.03.03-.06.05-.09.08-.14.18-.27.28-.39.01-.01.02-.03.03-.04.1-.12.21-.23.33-.34.96-.91 2.26-1.65 1.99-3.56-.24-1.74-1.61-3.21-3.35-3.47z",fill:"currentColor"})}),Ei=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 6.19l5 4.5v7.81h-2v-6H9v6H7v-7.81l5-4.5zm0-2.69l-10 9h3v8h6v-6h2v6h6v-8h3l-10-9z",fill:"currentColor"})}),Vi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M10 20.5v-6h4v6h5v-8h3l-10-9-10 9h3v8h5z",fill:"currentColor"})}),Fi=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{d:"M12 17c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1s1 .45 1 1v4c0 .55-.45 1-1 1zm1-8h-2V7h2v2z",fill:"currentColor"}),On.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z",fill:"currentColor"})]}),Bi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 15c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1s1 .45 1 1v4c0 .55-.45 1-1 1zm1-8h-2V7h2v2z",fill:"currentColor"})}),Li=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6A4.997 4.997 0 017 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z",fill:"currentColor"})}),Di=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M4 13c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm4 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zm0 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zM7 8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1zm-3 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm4 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zm0 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zM7 8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1z",fill:"currentColor"})}),Oi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M18 8.5h-1v-2c0-2.76-2.24-5-5-5s-5 2.24-5 5v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-10c0-1.1-.9-2-2-2zm-9-2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9v-2zm9 14H6v-10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z",fill:"currentColor"})}),Ii=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z",fill:"currentColor"})}),$i=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M3 18h13v-2H3v2zm0-5h10v-2H3v2zm0-7v2h13V6H3zm18 9.59L17.42 12 21 8.41 19.59 7l-5 5 5 5L21 15.59z",fill:"currentColor"})}),Hi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",fill:"currentColor"})}),Ni=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",fill:"currentColor"})}),Wi=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4a2 2 0 012-2h16a2 2 0 012 2v16a2 2 0 01-2 2H4a2 2 0 01-2-2V4zm7 0h11v16H9V4zM7 4H4v16h3V4z",fill:"currentColor"}),On.jsx("path",{d:"M17.41 15.59L13.83 12l3.58-3.59L16 7l-5 5 5 5 1.41-1.41z",fill:"currentColor"})]}),_i=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4a2 2 0 012-2h16a2 2 0 012 2v16a2 2 0 01-2 2H4a2 2 0 01-2-2V4zm7 0h11v16H9V4zM7 4H4v16h3V4z",fill:"currentColor"}),On.jsx("path",{d:"M11.59 15.59L15.17 12l-3.58-3.59L13 7l5 5-5 5-1.41-1.41z",fill:"currentColor"})]}),Ui=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4a2 2 0 012-2h16a2 2 0 012 2v16a2 2 0 01-2 2H4a2 2 0 01-2-2V4zm7 0h11v16H9V4zM7 4H4v16h3V4z",fill:"currentColor"})}),Zi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M10.01 20.76c0 1.1.89 1.99 1.99 1.99s1.99-.89 1.99-1.99h-3.98zM12 5.75c2.76 0 5 2.24 5 5v7H7v-7c0-2.76 2.24-5 5-5zm0-4.5c-.83 0-1.5.67-1.5 1.5v1.17C7.36 4.6 5 7.4 5 10.75v6l-2 2v1h18v-1l-2-2v-6c0-3.35-2.36-6.15-5.5-6.83V2.75c0-.83-.67-1.5-1.5-1.5zm-1 6.5h2v4h-2v-4zm0 6h2v2h-2v-2z",fill:"currentColor"})}),Gi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5a2 2 0 00-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55-.45 1-1 1zM14 4c0 .55.45 1 1 1h2.59l-9.13 9.13a.996.996 0 101.41 1.41L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1h-5c-.55 0-1 .45-1 1z",fill:"currentColor"})}),Yi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M17.5 20.5h-14v-14h9v-2h-9c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2v9zm-7.79-3.17l-1.96-2.36L5 18.5h11l-3.54-4.71-2.75 3.54zM19.5 4.5v-3h-2v3h-3c.01.01 0 2 0 2h3v2.99c.01.01 2 0 2 0V6.5h3v-2h-3z",fill:"currentColor"})}),qi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM9.5 14.67V9.33c0-.79.88-1.27 1.54-.84l4.15 2.67a1 1 0 010 1.68l-4.15 2.67c-.66.43-1.54-.05-1.54-.84z",fill:"currentColor"})}),Ki=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v1c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-1h5c1.1 0 1.99-.9 1.99-2L23 5a2 2 0 00-2-2zm-1 14H4c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h16c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1zm-5.52-5.13l-3.98 2.28c-.67.38-1.5-.11-1.5-.87V8.72c0-.77.83-1.25 1.5-.87l3.98 2.28c.67.39.67 1.35 0 1.74z",fill:"currentColor"})}),Xi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M10.791 10.1c0 .72.18 1.32.4 1.9h2.76v1.46h-2.16c.16.48.26 1 .26 1.6 0 .44-.04.86-.12 1.24.66.42 1.34.76 2.16.76 1.18 0 1.6-.62 1.6-2l1.8.1c.18 2.76-.98 4.08-2.96 4.08-1.42 0-2.48-.6-3.32-1.26-.58.78-1.44 1.26-2.54 1.26-1.34 0-2.34-.82-2.34-2.22 0-1.28.98-2.14 2.36-2.14.44 0 .86.1 1.24.26-.04-.66-.24-1.18-.48-1.68h-2.2V12h1.42c-.26-.56-.46-1.16-.46-1.96 0-2.34 1.7-3.88 4.24-3.88 2.84 0 4.44 1.7 4.44 4.42l-2.14.1c-.04-1.64-.82-2.54-2.14-2.54-1.26 0-1.82.82-1.82 1.96zm-2.08 7.68c.54 0 .88-.36 1.08-.98-.38-.3-.74-.5-1.1-.5-.5 0-.8.26-.8.76 0 .44.36.72.82.72z",fill:"currentColor"})}),Ji=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1z",fill:"currentColor"})}),Qi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M15.977 14.472h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49l-4.24-4.26zm-6 0c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5z",fill:"currentColor"})}),eo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M3.671 20.4l17.45-7.48a1 1 0 000-1.84L3.671 3.6a.993.993 0 00-1.39.91l-.01 4.61c0 .5.37.93.87.99L17.271 12l-14.13 1.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91z",fill:"currentColor"})}),to=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M19.432 12.98c.04-.32.07-.64.07-.98 0-.34-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46a.5.5 0 00-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65a.488.488 0 00-.49-.42h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1a.566.566 0 00-.18-.03c-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98 0 .33.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46a.5.5 0 00.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.06.02.12.03.18.03.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zm-1.98-1.71c.04.31.05.52.05.73 0 .21-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.35-2.48-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74 0-.2.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.35 2.48 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7.14 1.13zM12.002 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z",fill:"currentColor"})}),no=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),On.jsx("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),On.jsx("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09 0-.73.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12c0 1.78.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),On.jsx("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]}),io=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.444 23h17.112A2.444 2.444 0 0023 20.556V3.444A2.444 2.444 0 0020.556 1H3.444A2.444 2.444 0 001 3.444v17.112A2.444 2.444 0 003.444 23z",fill:"#007EBB"}),On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.944 19.944H16.68v-5.56c0-1.524-.58-2.377-1.786-2.377-1.313 0-1.999.887-1.999 2.377v5.56H9.75V9.352h3.146v1.427s.946-1.75 3.194-1.75c2.247 0 3.855 1.371 3.855 4.209v6.706zM5.996 7.964a1.947 1.947 0 01-1.94-1.954c0-1.08.868-1.954 1.94-1.954 1.071 0 1.94.875 1.94 1.954 0 1.08-.869 1.955-1.94 1.955zM4.37 19.945h3.28V9.352h-3.28v10.592z",fill:"#fff"})]}),oo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.167 22.5H3.833A2.333 2.333 0 011.5 20.167V3.833A2.333 2.333 0 013.833 1.5h16.334A2.333 2.333 0 0122.5 3.833v16.334a2.333 2.333 0 01-2.333 2.333zm-3.7-2.917h3.116v-6.402c0-2.708-1.535-4.018-3.68-4.018-2.145 0-3.048 1.671-3.048 1.671V9.472H9.85v10.111h3.004v-5.307c0-1.423.654-2.269 1.907-2.269 1.152 0 1.705.813 1.705 2.268v5.308zm-12.05-13.3c0 1.03.829 1.865 1.852 1.865A1.858 1.858 0 008.12 6.282c0-1.03-.828-1.865-1.851-1.865a1.859 1.859 0 00-1.852 1.865zm3.432 13.3H4.718V9.473h3.131v10.11z",fill:"currentColor"})}),ro=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M7.423 6.387c3.27 0 5.922 2.67 5.922 5.963s-2.651 5.963-5.922 5.963S1.5 15.643 1.5 12.35s2.652-5.963 5.923-5.963zm9.458.349c1.635 0 2.961 2.513 2.961 5.614 0 3.1-1.325 5.614-2.96 5.614-1.636 0-2.962-2.514-2.962-5.614s1.325-5.614 2.96-5.614zm4.578.585c.575 0 1.041 2.251 1.041 5.029 0 2.777-.466 5.03-1.041 5.03-.576 0-1.042-2.253-1.042-5.03s.466-5.03 1.041-5.03z",fill:"currentColor"})}),so=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M11.994 4.523s-6.508 0-8.142.424A2.69 2.69 0 002.013 6.8c-.424 1.634-.424 5.016-.424 5.016s0 3.396.424 5.003a2.65 2.65 0 001.84 1.84c1.646.437 8.14.437 8.14.437s6.521 0 8.155-.425a2.588 2.588 0 001.826-1.839c.437-1.62.437-5.003.437-5.003s.013-3.395-.437-5.029a2.57 2.57 0 00-1.826-1.826c-1.634-.45-8.154-.45-8.154-.45zM9.923 8.69l5.415 3.125-5.415 3.113V8.69z",fill:"currentColor"})}),ao=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M19.648 9.295l-4.84-.42-1.89-4.45c-.34-.81-1.5-.81-1.84 0l-1.89 4.46-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.73 3.67-3.18c.67-.58.32-1.68-.56-1.75zm-7.65 6.36l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38 1.7-4.03 1.71 4.04 4.38.38-3.32 2.88 1 4.28-3.77-2.28z",fill:"currentColor"})}),lo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 17.52l4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.72 3.67-3.18c.67-.58.31-1.68-.57-1.75l-4.83-.41-1.89-4.46c-.34-.81-1.5-.81-1.84 0L9.19 8.88l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5z",fill:"currentColor"})}),co=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M19.648 9.295l-4.84-.42-1.89-4.45c-.34-.81-1.5-.81-1.84 0l-1.89 4.46-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.73 3.67-3.18c.67-.58.32-1.68-.56-1.75zm-7.65 6.36v-9.3l1.71 4.04 4.38.38-3.32 2.88 1 4.28-3.77-2.28z",fill:"currentColor"})}),uo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M13 7.5h5v2h-5v-2zm0 7h5v2h-5v-2zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z",fill:"currentColor"})}),po=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M21 9h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 2 7.59 8.59C7.22 8.95 7 9.45 7 10v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2c0-1.1-.9-2-2-2zm0 4l-3 7H9V10l4.34-4.34L12.23 11H21v2zM1 10h4v12H1V10z",fill:"currentColor"})}),ho=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7z",fill:"currentColor"})}),mo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm3.3 14.71L11 12.41V7h2v4.59l3.71 3.71-1.42 1.41z",fill:"currentColor"})}),fo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M5.83 12L9 8.83 7.59 7.42 3 12l4.59 4.59L9 15.17 5.83 12zm12.34 0L15 15.17l1.41 1.41L21 12l-4.59-4.59L15 8.83 18.17 12z",fill:"currentColor"})}),go=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z",fill:"currentColor"})}),xo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M19.35 10.04A7.49 7.49 0 0012 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 000 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l4.65-4.65c.2-.2.51-.2.71 0L17 13h-3z",fill:"currentColor"})}),vo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 4.494l7.53 13.01H4.47L12 4.494zm-9.26 12.01c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3l-7.53-13.01c-.77-1.33-2.69-1.33-3.46 0l-7.53 13.01zm8.26-7v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zm0 5h2v2h-2v-2z",fill:"currentColor"})}),yo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M20 6.5h-4v-2c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19.5c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2v-11c0-1.11-.89-2-2-2zm-6 0h-4v-2h4v2z",fill:"currentColor"})}),bo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M15.97 14.472h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34-4.23-.52-7.78 3.04-7.27 7.27.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.26 4.25c.41.41 1.07.41 1.48 0l.01-.01c.41-.41.41-1.07 0-1.48l-4.25-4.26zm-6 0c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5zm0-7c-.28 0-.5.22-.5.5v1.5h-1.5c-.28 0-.5.22-.5.5s.22.5.5.5h1.5v1.5c0 .28.22.5.5.5s.5-.22.5-.5v-1.5h1.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1.5v-1.5c0-.28-.22-.5-.5-.5z",fill:"currentColor"})}),wo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M15.972 14.472h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.26 4.25c.41.41 1.07.41 1.48 0l.01-.01c.41-.41.41-1.07 0-1.48l-4.25-4.26zm-6 0c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5zm-2-5h4c.28 0 .5.22.5.5s-.22.5-.5.5h-4c-.28 0-.5-.22-.5-.5s.22-.5.5-.5z",fill:"currentColor"})}),jo={xs:2*wn,sm:2*wn,md:2*wn,lg:2.5*wn,xl:3*wn},Co=({color:e,name:t,size:n,sx:i,...o})=>{const r={sx:ye({color:e,height:n||jo.xl,width:n||jo.xl},i),...o};switch(t){case"brand-wordmark":return On.jsx(Qn,{...r});case"brand-logomark":return On.jsx(Jn,{...r});case"menu":return On.jsx(Ii,{...r});case"menu-open":return On.jsx($i,{...r});case"chevron-up":return On.jsx(ai,{...r});case"chevron-down":return On.jsx(oi,{...r});case"chevron-left":return On.jsx(ri,{...r});case"chevron-right":return On.jsx(si,{...r});case"arrow-left":return On.jsx(Hn,{...r});case"arrow-right":return On.jsx(Nn,{...r});case"search":return On.jsx(Qi,{...r});case"close":return On.jsx(li,{...r});case"more-horizontal":return On.jsx(Hi,{...r});case"more-vertical":return On.jsx(Ni,{...r});case"home":return On.jsx(Ei,{...r});case"home-filled":return On.jsx(Vi,{...r});case"settings":return On.jsx(to,{...r});case"controls":return On.jsx(di,{...r});case"help":return On.jsx(Ri,{...r});case"filter-list":return On.jsx(Si,{...r});case"open-in-new":return On.jsx(Gi,{...r});case"nav-toggle":return On.jsx(Ui,{...r});case"nav-collapse":return On.jsx(Wi,{...r});case"nav-expand":return On.jsx(_i,{...r});case"play-circle":return On.jsx(qi,{...r});case"play-video":return On.jsx(Ki,{...r});case"email":return On.jsx(yi,{...r});case"document":return On.jsx(fi,{...r});case"folder":return On.jsx(Pi,{...r});case"attach-file":return On.jsx(Wn,{...r});case"photo-add":return On.jsx(Yi,{...r});case"upload":return On.jsx(go,{...r});case"upload-cloud":return On.jsx(xo,{...r});case"time":return On.jsx(ho,{...r});case"time-filled":return On.jsx(mo,{...r});case"zoom-in":return On.jsx(bo,{...r});case"zoom-out":return On.jsx(wo,{...r});case"add":return On.jsx(In,{...r});case"remove":return On.jsx(Ji,{...r});case"test":return On.jsx(uo,{...r});case"dashboard":return On.jsx(hi,{...r});case"list-view":return On.jsx(Di,{...r});case"grid-view":return On.jsx(Ai,{...r});case"grid-view-filled":return On.jsx(zi,{...r});case"eye":return On.jsx(Ci,{...r});case"eye-off":return On.jsx(ki,{...r});case"notification":return On.jsx(Zi,{...r});case"pound":return On.jsx(Xi,{...r});case"euro":return On.jsx(wi,{...r});case"dollar":return On.jsx(gi,{...r});case"send":return On.jsx(eo,{...r});case"comment":return On.jsx(ci,{...r});case"chat":return On.jsx(ti,{...r});case"error":return On.jsx(bi,{...r});case"warning":return On.jsx(vo,{...r});case"lightbulb":return On.jsx(Li,{...r});case"check-circle":return On.jsx(ii,{...r});case"thumb-up":return On.jsx(po,{...r});case"info":return On.jsx(Fi,{...r});case"info-filled":return On.jsx(Bi,{...r});case"cancel":return On.jsx(ei,{...r});case"compress":return On.jsx(ui,{...r});case"expand":return On.jsx(ji,{...r});case"unfold":return On.jsx(fo,{...r});case"drag-handle":return On.jsx(xi,{...r});case"focus":return On.jsx(Mi,{...r});case"lock":return On.jsx(Oi,{...r});case"copy":return On.jsx(pi,{...r});case"edit":return On.jsx(vi,{...r});case"delete":return On.jsx(mi,{...r});case"check":return On.jsx(ni,{...r});case"star":return On.jsx(ao,{...r});case"star-half":return On.jsx(co,{...r});case"star-filled":return On.jsx(lo,{...r});case"ai":return On.jsx($n,{...r});case"work":return On.jsx(yo,{...r});case"gift":return On.jsx(Ti,{...r});case"social-medium-single-colour":return On.jsx(ro,{...r});case"social-linkedin-single-colour":return On.jsx(oo,{...r});case"social-youtube-single-colour":return On.jsx(so,{...r});case"social-linkedin-full-colour":return On.jsx(io,{...r});case"social-google-full-colour":return On.jsx(no,{...r});case"badge-tick":return On.jsx(Kn,{...r});case"badge-tick-in-circle":return On.jsx(Xn,{...r});case"badge-cross":return On.jsx(_n,{...r});case"badge-cross-in-circle":return On.jsx(Un,{...r});case"badge-hyphen":return On.jsx(Zn,{...r});case"badge-hyphen-in-circle":return On.jsx(Gn,{...r});case"badge-question":return On.jsx(Yn,{...r});case"badge-question-in-circle":return On.jsx(qn,{...r});default:return On.jsx(On.Fragment,{})}},ko=e=>({boxShadow:e.custom.elevation.raised}),So=e=>({boxShadow:e.custom.elevation.overlay}),Mo=(e,t)=>{switch(t){case"xs":return e.spacing(e.custom.radius.xs);case"sm":return e.spacing(e.custom.radius.sm);case"md":return e.spacing(e.custom.radius.md);case"lg":return e.spacing(e.custom.radius.lg);default:return e.spacing(e.custom.radius.xl)}},Po=(e,t)=>{switch(e){case"sunken":return t.custom.palette.surface.sunken;case"raised":return t.custom.palette.surface.raised;case"overlay":return t.custom.palette.surface.overlay;default:return t.custom.palette.surface.default}},To=y(b)((({theme:e,variation:t="default",borderradius:n})=>({boxShadow:"unset",borderRadius:Mo(e,n),background:Po(t,e),..."overlay"===t&&{...So(e)},..."raised"===t&&{...ko(e)}}))),Ao=({children:e,variation:t="overlay",sx:n,...i})=>On.jsx(To,{variation:t,...i,sx:ye(n||{},{}),children:e}),zo=({children:e,headContent:t,sx:n,...i})=>{const o=w();return On.jsxs(Ao,{...i,sx:ye(n,{mx:[o.spacing(o.custom.margin.md),0],width:1,maxWidth:[512]}),children:[t&&On.jsx(j,{sx:{width:"100%",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit",pt:o.spacing(o.custom.margin.md),px:o.spacing(o.custom.margin.md)},children:t}),On.jsx(j,{sx:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",pt:t?[o.spacing(o.custom.margin.md)]:[o.spacing(o.custom.padding.lg),o.spacing(o.custom.padding.xl)],px:[o.spacing(o.custom.padding.lg),o.spacing(o.custom.padding.xl)],pb:[o.spacing(o.custom.padding.lg),o.spacing(o.custom.padding.xl)]},children:e})]})},Ro=y(C)((({theme:e,disabled:t})=>({"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus,borderRadius:e.spacing(e.custom.radius.sm),outline:"none"},"&.MuiLink-root":{transition:"all 200ms ease",display:"inline",cursor:"pointer",color:t?e.custom.palette.text.lockedWhite:e.custom.palette.text.link,textDecorationColor:e.custom.palette.text.link,pointerEvents:t?"none":"auto","&:hover":{color:t?e.custom.palette.text.disabled:e.custom.palette.text.linkHover,textDecorationColor:t?e.custom.palette.text.disabled:e.custom.palette.text.linkHover},"&:active":{color:e.custom.palette.text.linkHover,textDecorationColor:e.custom.palette.text.linkHover},"&:visited":{color:t?e.custom.palette.text.disabled:e.custom.palette.text.link,textDecorationColor:t?e.custom.palette.text.disabled:e.custom.palette.text.link}}}))),Eo=e=>e.target&&"_blank"===e.target?On.jsx(Ro,{rel:"noopener",...e}):On.jsx(Ro,{...e}),Vo=e=>"bold"===e?zn.BOLD:zn.DEFAULT,Fo=({component:e,weight:t="default",variation:n,clamp:i=0,type:o="default",...r})=>On.jsx(k,{component:e,fontWeight:Vo(t),variant:n,...r,sx:ye(r.sx,!!i&&{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:i},"button"===o&&{lineHeight:1.2})}),Bo=y(j)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(.5)}))),Lo=y(Eo)((({theme:e})=>({[`&.${S.root}`]:{"&:hover":{textDecorationColor:e.custom.palette.text.secondary}}}))),Do=y(Fo)((({theme:e})=>({color:e.custom.palette.text.secondary}))),Oo=y(Fo)((({theme:e})=>({color:e.custom.palette.text.secondary}))),Io=({links:e})=>On.jsx(Bo,{children:e?.map(((t,i)=>On.jsxs(n,{children:[t.href?On.jsx(Lo,{underline:"hover",href:t.href,children:On.jsx(Do,{variation:"sm",component:"p",children:t.label})},t.label):On.jsx(Do,{variation:"sm",component:"p",children:t.label}),On.jsx(Oo,{variation:"sm",component:"p",children:i+1<e?.length?"/":""})]},t.label)))}),$o=y(M)((()=>({color:"inherit",position:"absolute",padding:2}))),Ho=({sizing:e,...t})=>On.jsx($o,{size:e?jo[e]:40,...t}),No=({children:e,message:t,variation:n="primary",...i})=>{const o=w();if("primary"===n)return On.jsx(P,{...i,componentsProps:{popper:{sx:{"& .MuiTooltip-tooltip":{borderRadius:o.spacing(o.custom.radius.sm),filter:`drop-shadow(${o.custom.elevation.overlay})`}}}},title:t,arrow:!0,sx:{maxWidth:300},role:"tooltip",children:On.jsx(j,{sx:{cursor:"pointer",display:"flex",alignItems:"center"},children:e})})},Wo=e=>({backgroundColor:e.custom.palette.interaction.none,color:e.custom.palette.icon.primary}),_o=e=>({backgroundColor:e.custom.palette.purple[100],color:e.custom.palette.icon.primary,"& .MuiButtonBase-root":{":hover":{background:e.custom.palette.interaction.hoverOnDark},":active":{background:e.custom.palette.interaction.pressOnDark}}}),Uo=e=>({backgroundColor:e.custom.palette.surface.raised,border:`1px solid ${e.custom.palette.stroke.default}`,color:e.custom.palette.icon.primary,"&.MuiIconButton-root:disabled":{border:"none"}}),Zo=e=>({backgroundColor:e.custom.palette.surface.raised,boxShadow:e.custom.elevation.raised,color:e.custom.palette.icon.primary,"&:focus-visible:after":{boxShadow:e.custom.boxShadow.input.focus},"&.MuiIconButton-root:disabled":{boxShadow:"none"}}),Go=(e,t)=>({borderRadius:"default"===e?t.spacing(t.custom.radius.md):t.custom.radius.round}),Yo={xs:3*wn,sm:3.5*wn,md:4*wn,lg:5*wn,xl:6*wn},qo=e=>({height:Yo[e],width:Yo[e]}),Ko={xs:2*wn,sm:2*wn,md:2*wn,lg:2.5*wn,xl:3*wn},Xo=e=>({height:Ko[e],width:Ko[e]}),Jo=y(T)((({theme:e,variation:t,shape:n="default",sizing:i})=>({boxSizing:"border-box",transition:"all 200ms ease",...n&&{...Go(n,e)},...i&&{...qo(i)},"&.MuiIconButton-root":{..."default"===t&&{...Wo(e)},..."toggle"===t&&{..._o(e)},..."outlined"===t&&{...Uo(e)},..."raised"===t&&{...Zo(e)},...n&&{...Go(n,e)},"&:hover":{backgroundColor:e.custom.palette.interaction.hover},"&:focus":{backgroundColor:e.custom.palette.interaction.hover},"&:active":{backgroundColor:e.custom.palette.interaction.press},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.icon.disabled}},"& .MuiSvgIcon-root":{...i&&{...Xo(i)},position:"relative",zIndex:1}}))),Qo=({icon:e,loading:t,tooltipMessage:n,sizing:i,slotProps:o,...r})=>{const s=()=>On.jsx(Jo,{...r,sizing:i,children:t?On.jsx(Ho,{sizing:i}):e});return n?On.jsx(No,{message:n,...o?.tooltip,children:s()}):s()},er=y(j)((({theme:e})=>({alignItems:"center",backgroundColor:e.custom.palette.surface.default,borderBottom:`0.5px solid ${e.custom.palette.stroke.default}`,display:"flex",gap:e.spacing(1),justifyContent:"space-between",padding:1}))),tr=y(j)((({theme:e})=>({borderBottom:`0.5px solid ${e.custom.palette.stroke.default}`,width:"100%"}))),nr=y(j)((({theme:e})=>({display:"flex",justifyContent:"flex-end",padding:e.spacing(1)}))),ir=y(j)((({theme:e})=>({backgroundColor:e.custom.palette.surface.sunken,borderRadius:e.spacing(e.custom.radius.lg),color:"red",display:"flex",gap:e.spacing(.5),justifyContent:"flex-end",padding:e.spacing(1)}))),or=y(j)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1)}))),rr=({backHref:e,title:t,breadcrumbLinks:n,buttons:i,controlBar:o})=>On.jsxs(On.Fragment,{children:[On.jsx(er,{sx:{justifyContent:"space-between"},children:On.jsx(A,{children:On.jsx(z,{container:!0,spacing:2,children:On.jsx(z,{sm:!0,children:On.jsxs(or,{sx:{justifyContent:"space-between",py:1},children:[On.jsxs(or,{children:[e&&On.jsx(Qo,{sizing:"lg",icon:On.jsx(Co,{name:"arrow-left",size:20})}),On.jsxs(or,{sx:{alignItems:"flex-start",flexDirection:"column",gap:0},children:[t&&On.jsx(Fo,{variation:"lg",component:"p",weight:"bold",children:t}),n&&On.jsx(Io,{links:n})]})]}),i&&On.jsx(or,{children:i})]})})})})}),o&&On.jsx(tr,{children:On.jsx(A,{children:On.jsx(z,{container:!0,spacing:2,children:On.jsx(z,{sm:!0,children:On.jsx(nr,{children:On.jsx(ir,{children:o})})})})})})]}),sr=["xxs","xs","sm","md","lg","xl","xxl","xxxl"],ar=(e,t=16)=>{const n=1/t*e;return Math.round(1e3*n)/1e3},lr=(e,t="xs")=>{const n=sr.reduce(((n,i,o)=>{const r=sr.indexOf(t)||0,s=Number((16*Math.pow(e,o-r)).toFixed(2));return n[i]=s,n}),{}),i={};for(const[e,t]of Object.entries(n))i[e]=ar(t)+"rem";return i},cr={lg:{headline:lr(1.309,"xs"),body:lr(1.125,"md")},sm:{headline:lr(1.125,"xs"),body:lr(1.1,"md")},button:lr(1.125,"md")},ur=e=>{const t=sr.map((t=>({props:{variant:t},style:{fontFamily:`${Rn.FontStack.Serif}`,fontSize:cr[e].headline[t]}}))),n=sr.map((t=>({props:{variant:t,component:"h5"},style:{fontFamily:`${Rn.FontStack.SansSerif}`,fontSize:cr[e].body[t]}}))),i=sr.map((t=>({props:{variant:t,component:"h6"},style:{fontFamily:`${Rn.FontStack.SansSerif}`,fontSize:cr[e].body[t]}})));return[...t,...sr.map((t=>({props:{variant:t,component:"p"},style:{fontFamily:`${Rn.FontStack.SansSerif}`,fontSize:cr[e].body[t]}}))),...n,...i]},dr={xxs:cr.button.xxs,xs:cr.button.xs,sm:cr.button.sm,md:cr.button.sm,lg:cr.button.md,xl:cr.button.lg,xxl:cr.button.xl,xxxl:cr.button.xxl},pr=e=>({backgroundColor:e.custom.palette.surface.transparent,fontWeight:300,"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus}}),hr=e=>({backgroundColor:e.custom.palette.surface.raised,border:`1px solid ${e.custom.palette.stroke.default}`,"&:hover":{backgroundColor:e.custom.palette.surface.raised},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus},"&:active":{backgroundColor:e.custom.palette.surface.raised},"&:disabled":{border:`1px solid ${e.custom.palette.stroke.disabled}`}}),mr=e=>({backgroundColor:e.custom.palette.purple[0],"&:hover":{backgroundColor:e.custom.palette.purple[0]},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus},"&:active":{backgroundColor:e.custom.palette.purple[0]}}),fr=e=>({backgroundColor:e.custom.palette.purple[500],color:e.custom.palette.text.lockedWhite,"&:hover":{backgroundColor:e.custom.palette.purple[500],color:e.custom.palette.text.lockedWhite,"&::before":{backgroundColor:e.custom.palette.interaction.hoverOnDark}},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus,"&::before":{backgroundColor:e.custom.palette.interaction.hoverOnDark}},"&:active":{backgroundColor:e.custom.palette.purple[500],color:e.custom.palette.text.lockedWhite,"&::before":{backgroundColor:e.custom.palette.interaction.pressOnDark}}}),gr=(e,t)=>({cursor:"pointer","&:hover":{backgroundColor:e.custom.palette.interaction.hover},"&:focus":{backgroundColor:e.custom.palette.interaction.hover},"&:active":{backgroundColor:e.custom.palette.interaction.press},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.text.disabled},...t&&{backgroundColor:e.custom.palette.interaction.press,"&:hover":{backgroundColor:e.custom.palette.interaction.press},"&:focus":{backgroundColor:e.custom.palette.interaction.press},"&:active":{backgroundColor:e.custom.palette.interaction.press}},...pr(e)}),xr={xs:3*wn,sm:3.5*wn,md:4*wn,lg:5*wn,xl:6*wn,xxl:7*wn,xxxl:8*wn},vr={xs:.5*wn,sm:.5*wn,md:wn,lg:wn,xl:wn,xxl:wn,xxxl:wn},yr=e=>({"& .MuiButton-icon":{margin:0,".MuiSvgIcon-root":{height:jo[e],width:jo[e]}}}),br=e=>({"& .MuiBox-root":{lineHeight:"120%",fontSize:dr[e],paddingLeft:vr[e],paddingRight:vr[e]}}),wr=e=>({height:xr[e],paddingLeft:wn,paddingRight:wn}),jr=y(R)((({theme:e,loading:t})=>({boxSizing:"border-box",position:"relative",overflow:"hidden",borderRadius:e.spacing(e.custom.radius.md),textTransform:"none",minWidth:52,"&::before":{content:'""',backgroundColor:"transparent",transition:"all 200ms ease",position:"absolute",inset:0,zIndex:1},"& > .MuiBox-root, & .MuiButton-icon":{overflowWrap:"normal",position:"relative",zIndex:2},"& > .MuiButton-startIcon, & > .MuiButton-endIcon":{visibility:t?"hidden":"visible"}}))),Cr=y(j)((({theme:e})=>({alignItems:"center",cursor:"pointer",display:"flex",flexDirection:"column",gap:e.spacing(.5),justifyContent:"center",transition:e.custom.easing.input}))),kr=y(j)((({theme:e})=>({alignItems:"center",color:e.custom.palette.text.secondary,display:"flex",opacity:0,transition:e.custom.easing.input}))),Sr=y(Fo)((({active:e,theme:t})=>({color:e?t.custom.palette.text.primary:t.custom.palette.text.secondary,textAlign:"center"}))),Mr=(e,t)=>{switch(e){case"sm":return t.spacing(.5625);case"md":return t.spacing(.8125);case"lg":return t.spacing(1)}},Pr=y(R)((({active:e,fullWidth:t,sizing:n,theme:i})=>({...gr(i,e),alignItems:"center",backgroundColor:e?i.custom.palette.interaction.press:"transparent",borderRadius:i.spacing(i.custom.radius.md),color:i.custom.palette.text.primary,display:"flex",gap:i.spacing(1),justifyContent:t?"space-between":"center",minWidth:0,padding:Mr(n,i),textTransform:"none",width:t?"100%":"auto","&:hover":{...gr(i,e)["&:hover"],[`.${E.root}`]:{opacity:1}},"&:focus":{...gr(i,e)["&:focus"],[`.${E.root}`]:{opacity:1}}}))),Tr=({active:e,fullWidth:t=!0,danger:n,href:o,icon:r,label:s,navigationSizing:a,onClick:l,sizing:c="lg"})=>{const u=w(),d=i(null);return On.jsxs(Cr,{onClick:l,children:[On.jsxs(Pr,{active:!o&&e,sizing:c,fullWidth:t,children:[On.jsxs(j,{display:"flex",alignItems:"center",justifyContent:"center",gap:1.5,ref:d,children:[r&&On.jsx(Co,{name:r,size:24}),"lg"===a&&On.jsx(V,{in:!0,direction:"right",container:d.current,children:On.jsx(j,{sx:{display:"flex"},children:On.jsx(F,{in:!0,style:{transitionDelay:"100ms"},children:On.jsx(j,{sx:{display:"flex"},children:On.jsx(Fo,{component:"p",variation:"sm"===c?"xs":"md",type:"button",clamp:1,sx:ye(n&&{color:u.custom.palette.text.negative}),children:s})})})})})]}),"lg"===a&&o&&On.jsx(kr,{children:On.jsx(Co,{name:"open-in-new",size:20})})]}),"sm"===a&&On.jsx(B,{in:!0,style:{transformOrigin:"0 100%",transitionDelay:"100ms"},children:On.jsx(j,{children:On.jsx(Sr,{active:e,component:"p",type:"button",variation:"xs",sx:ye(n&&{color:u.custom.palette.text.negative}),children:s})})})]})};function Ar(t){if("undefined"==typeof window)return t;const n=e.useRef(null);return e.useLayoutEffect((()=>{n.current=t})),e.useCallback(((...e)=>{var t;null===(t=n.current)||void 0===t||t.call(n,...e)}),[])}const zr={};const Rr={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1},Er=e,Vr="useId"in Er?()=>Er.useId():()=>{};function Fr({parentPopupState:e,popupId:t=Vr(),variant:n,disableAutoFocus:a}){const l=i(!0);o((()=>(l.current=!0,()=>{l.current=!1})),[]);const[c,u]=r(Rr),d=s((e=>{l.current&&u(e)}),[]),p=s((e=>d((t=>({...t,setAnchorElUsed:!0,anchorEl:e??void 0})))),[]),h=Ar((e=>(c.isOpen?g(e):m(e),c))),m=Ar((t=>{const i=t instanceof Element?void 0:t,o=t instanceof Element?t:(null==t?void 0:t.currentTarget)instanceof Element?t.currentTarget:void 0;if("touchstart"===(null==i?void 0:i.type))return void d((e=>({...e,_deferNextOpen:!0})));const r=null==i?void 0:i.clientX,s=null==i?void 0:i.clientY,a="number"==typeof r&&"number"==typeof s?{left:r,top:s}:void 0,l=r=>{var s,l;if(t||r.setAnchorElUsed||"dialog"===n||(l="eventOrAnchorEl should be defined if setAnchorEl is not used",zr[s="missingEventOrAnchorEl"]||(zr[s]=!0,console.error("[material-ui-popup-state] WARNING",l))),e){if(!e.isOpen)return r;setTimeout((()=>e._setChildPopupState(w)))}const c={...r,isOpen:!0,anchorPosition:a,hovered:"mouseover"===(null==i?void 0:i.type)||r.hovered,focused:"focus"===(null==i?void 0:i.type)||r.focused,_openEventType:null==i?void 0:i.type};return r.setAnchorElUsed||(null!=i&&i.currentTarget?c.anchorEl=null==i?void 0:i.currentTarget:o&&(c.anchorEl=o)),c};d((e=>e._deferNextOpen?(setTimeout((()=>d(l)),0),{...e,_deferNextOpen:!1}):l(e)))})),f=t=>{const{_childPopupState:n}=t;return setTimeout((()=>{null==n||n.close(),null==e||e._setChildPopupState(null)})),{...t,isOpen:!1,hovered:!1,focused:!1}},g=Ar((e=>{const t=e instanceof Element?void 0:e;"touchstart"!==(null==t?void 0:t.type)?d((e=>e._deferNextClose?(setTimeout((()=>d(f)),0),{...e,_deferNextClose:!1}):f(e))):d((e=>({...e,_deferNextClose:!0})))})),x=s(((e,t)=>{e?m(t):g(t)}),[]),v=Ar((e=>{const{relatedTarget:t}=e;d((e=>!e.hovered||t instanceof Element&&Dr(t,w)?e:e.focused?{...e,hovered:!1}:f(e)))})),y=Ar((e=>{if(!e)return;const{relatedTarget:t}=e;d((e=>!e.focused||t instanceof Element&&Dr(t,w)?e:e.hovered?{...e,focused:!1}:f(e)))})),b=s((e=>d((t=>({...t,_childPopupState:e})))),[]),w={...c,setAnchorEl:p,popupId:t??void 0,variant:n,open:m,close:g,toggle:h,setOpen:x,onBlur:y,onMouseLeave:v,disableAutoFocus:a??Boolean(c.hovered||c.focused),_setChildPopupState:b};return w}function Br({isOpen:e,popupId:t,variant:n}){return{..."popover"===n?{"aria-haspopup":!0,"aria-controls":e?t:void 0}:"popper"===n?{"aria-describedby":e?t:void 0}:void 0}}function Lr({isOpen:e,anchorEl:t,popupId:n,onMouseLeave:i}){return{id:n,anchorEl:t,open:e,onMouseLeave:i}}function Dr(e,t){const{anchorEl:n,_childPopupState:i}=t;return Or(n,e)||Or(function(e,{popupId:t}){if(!t)return null;const n="function"==typeof e.getRootNode?e.getRootNode():document;return"function"==typeof n.getElementById?n.getElementById(t):null}(e,t),e)||null!=i&&Dr(e,i)}function Or(e,t){if(!e)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}const Ir={trigger:function(e){return{...Br(e),onClick:e.open,onTouchStart:e.open}},contextMenu:function(e){return{...Br(e),onContextMenu:t=>{t.preventDefault(),e.open(t)}}},toggle:function(e){return{...Br(e),onClick:e.toggle,onTouchStart:e.toggle}},hover:function(e){const{open:t,onMouseLeave:n}=e;return{...Br(e),onTouchStart:t,onMouseOver:t,onMouseLeave:n}},focus:function(e){const{open:t,onBlur:n}=e;return{...Br(e),onFocus:t,onBlur:n}},doubleClick:function({isOpen:e,open:t,popupId:n,variant:i}){return{["popover"===i?"aria-controls":"aria-describedby"]:e?n:null,"aria-haspopup":"popover"===i||void 0,onDoubleClick:t}}},$r=({bindOn:e=["toggle"],trigger:t,children:n,...i})=>{const o=Fr({variant:"popper"}),r={transition:!0,...i.popperProps},s={...i.clickAwayListenerProps,onClickAway:e=>{i.clickAwayListenerProps?.onClickAway?i.clickAwayListenerProps.onClickAway(e,o):o.close()}},l={timeout:350,...i.transitionFadeProps},{sx:c,...u}={variation:"overlay",borderradius:"md",...i.surfaceProps},d=a((()=>e.reduce(((e,t)=>({...e,...Ir[t](o)})),{})),[e]);return On.jsxs(On.Fragment,{children:[On.jsx(j,{...d,children:t(o)}),On.jsx(L,{...Lr(o),...r,children:({TransitionProps:e})=>On.jsx(D,{...s,children:On.jsx(F,{...e,...l,children:On.jsx(j,{children:On.jsx(Ao,{sx:ye({p:2},c),...u,children:n})})})})})]})},Hr=({children:e,description:t,title:n})=>On.jsxs(O,{sx:{gap:2,p:1},children:[On.jsxs(O,{sx:{gap:1},children:[On.jsx(Fo,{variation:"sm",component:"p",weight:"bold",children:n}),On.jsx(Fo,{variation:"sm",component:"p",children:t})]}),e]}),Nr=y(Qo)((({theme:e})=>({alignItems:"center",display:"flex",height:40,justifyContent:"center",position:"relative",width:40,...gr(e)}))),Wr=y(j)((({theme:e})=>({background:e.custom.palette.red[500],borderRadius:e.custom.radius.round,height:e.spacing(1),position:"absolute",right:e.spacing(.5),top:e.spacing(.5),width:e.spacing(1)}))),_r=({notification:e,onClick:t})=>On.jsxs(j,{sx:{position:"relative"},children:[On.jsx(Nr,{icon:On.jsx(Co,{name:"notification"}),variation:"raised",onClick:t}),e&&On.jsx(F,{in:!0,style:{transitionDelay:"200ms"},children:On.jsx(j,{children:On.jsx(Wr,{})})})]}),Ur=({children:e,description:t,title:n,navigationSizing:i})=>"sm"===i?On.jsx($r,{popperProps:{placement:"right-end"},surfaceProps:{variation:"raised",sx:{maxWidth:200,p:1,ml:1}},bindOn:["trigger"],trigger:()=>On.jsx(B,{in:!0,style:{transformOrigin:"0 100%"},children:On.jsx(j,{children:On.jsx(_r,{notification:!0})})}),children:On.jsx(Hr,{description:t,title:n,children:e})}):On.jsx(B,{in:!0,style:{transformOrigin:"0 100%",transitionDelay:"100ms"},children:On.jsx(j,{sx:{display:"flex"},children:On.jsx(Ao,{variation:"raised",borderradius:"md",sx:{maxWidth:200,minHeight:40,width:"100%",p:1},children:On.jsx(Hr,{description:t,title:n,children:e})})})}),Zr=({sizing:e="lg",children:t,...n})=>{const{custom:i}=w();switch(e){case"sm":return On.jsx(I,{sx:{border:`1px solid ${i.palette.stroke.default}`,height:32,width:32},...n,children:t});case"lg":return On.jsx(I,{sx:{border:`1px solid ${i.palette.stroke.default}`,height:48,width:48},...n,children:t})}},Gr=y(j)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),Yr=y(O)((({withMenu:e})=>({textAlign:"left",width:e?118:152,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}))),qr=y(O)((({theme:e})=>({alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),Kr=y(R)((({active:e,navigationSizing:t,theme:n})=>({...gr(n,e),textTransform:"none",borderRadius:n.spacing("lg"===t?n.custom.radius.md:n.custom.radius.round),justifyContent:"flex-start",minWidth:0,padding:n.spacing(.5),width:"100%",overflow:"hidden"}))),Xr=({active:e,avatar:t,email:n,name:o,navigationSizing:r,withMenu:s})=>{const a=w(),l=i(null);return On.jsx(Kr,{active:e,navigationSizing:r,children:On.jsxs(Gr,{ref:l,children:[On.jsx(Zr,{src:t,sizing:"sm"}),On.jsx(F,{in:!0,children:On.jsxs(Gr,{children:[On.jsxs(Yr,{withMenu:s,children:[On.jsx(Fo,{variation:"sm",component:"p",type:"button",noWrap:!0,children:o}),On.jsx(Fo,{variation:"xs",component:"p",type:"button",noWrap:!0,sx:{color:a.custom.palette.text.secondary},children:n})]}),s&&On.jsx(qr,{children:On.jsx(Co,{name:"chevron-right",size:24})})]})})]})})},Jr=y(R)((({active:e,theme:t})=>({borderRadius:t.spacing(t.custom.radius.sm),maxWidth:"100%",padding:t.spacing(.5,1),textTransform:"none",width:"100%",...gr(t,e)}))),Qr=y(j)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),es=y(O)((({theme:e})=>({height:24,width:24,alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),ts=({active:e,danger:t,hasChildren:n,label:i,selected:o,onClick:r})=>{const s=w();return On.jsx(Jr,{active:e,onClick:r,children:On.jsxs(Qr,{sx:{flex:1},children:[On.jsx(Qr,{children:On.jsx(Fo,{component:"p",sx:ye(t&&{color:s.custom.palette.text.negative}),type:"button",variation:"md",children:i})}),On.jsxs(es,{children:[n&&On.jsx(Co,{name:"chevron-right",size:24}),o&&On.jsx(Co,{name:"check",size:24})]})]})})},ns=({avatar:e,email:t,menuItems:n,name:i,navigationSizing:o})=>On.jsx($r,{popperProps:{placement:"right-end"},surfaceProps:{sx:{ml:1,p:1,width:192}},bindOn:["trigger"],trigger:r=>On.jsx(Xr,{active:r.isOpen,avatar:e,email:t,name:i,navigationSizing:o,withMenu:!!n?.length}),children:On.jsx(On.Fragment,{children:n?.map(is)})}),is=(e,t)=>e.children?.length?On.jsx($r,{popperProps:{placement:"right-end"},surfaceProps:{sx:{p:1,width:192}},bindOn:["trigger","hover"],trigger:t=>On.jsx(ts,{label:e.label,active:t.isOpen,hasChildren:!0,selected:e.selected,danger:e.danger,onClick:e.onClick}),children:On.jsx(On.Fragment,{children:e?.children?.map(is)})},`${e.label}-${t}`):On.jsx(ts,{label:e.label,selected:e.selected,danger:e.danger,onClick:e.onClick},`${e.label}-${t}`),os=()=>On.jsxs(v,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",style:{height:40,width:40},children:[On.jsx("rect",{x:"5",y:"5",width:"30",height:"30",rx:"15",fill:"#7F4CFF"}),On.jsx("path",{d:"M14.375 12.5H21.875V13.4375C20 13.4375 20 15.3125 20 15.3125V25.625H22.8125C22.8125 25.625 24.6875 25.625 24.6875 22.8125H26.5625L25.625 27.5H14.375V25.625C16.25 25.625 16.25 23.75 16.25 23.75V15.3125C16.25 15.3125 16.25 13.4375 14.375 13.4375V12.5Z",fill:"white"})]}),rs=()=>{const e=w();return On.jsxs(v,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 53 19",style:{height:19,width:53},sx:{"&.MuiSvgIcon-root path":{fill:"light"===e.palette.mode?e.custom.palette.icon.primary:e.custom.palette.icon.lockedWhite}},children:[On.jsx("path",{d:"M5.759 15.754c-.854-.6-1.033-.778-1.033-2.098V3H0v.2l.008.005c.868.535 1.263.778 1.263 2.092v8.359c0 1.32-.179 1.498-1.033 2.098v.2h5.52v-.2Z"}),On.jsx("path",{fillRule:"evenodd",d:"M6.015 11.947c.537 3.068 3.314 4.644 6.229 4.128 2.913-.517 4.986-2.962 4.45-6.022-.537-3.06-3.314-4.646-6.23-4.129-2.914.518-4.986 2.955-4.449 6.023Zm3.599-.639c-.514-2.95-.306-4.285 1.002-4.517 1.31-.234 1.964.946 2.479 3.896.514 2.95.307 4.28-1.003 4.517-1.31.238-1.964-.946-2.478-3.896ZM23.64 16.075c-2.913.516-5.69-1.06-6.228-4.128-.538-3.068 1.535-5.505 4.45-6.023 2.915-.517 5.69 1.068 6.229 4.128.538 3.06-1.537 5.506-4.45 6.023Zm-1.626-9.284c-1.31.232-1.517 1.567-1.003 4.517s1.168 4.134 2.478 3.9c1.31-.232 1.517-1.566 1.003-4.516s-1.168-4.135-2.478-3.901Z",clipRule:"evenodd"}),On.jsx("path",{fillRule:"evenodd",d:"M34.091 18.756c-.993-.565-1.35-.769-1.35-2.054l.003-2.396c.515 1.039 1.548 1.858 3.256 1.858 2.581 0 4.627-1.964 4.627-5.34 0-3.435-1.995-4.973-4.27-4.973-1.866 0-3.158 1.059-3.613 2.517l-.08-2.317h-4.567v.191c.854.558 1.19.778 1.19 2.097v8.363c0 1.318-.177 1.498-1.033 2.098v.2h5.915v-.2l-.078-.044Zm.814-3.808c-1.212 0-2.165-1.378-2.165-2.975V10.55c0-1.777.854-3.117 2.165-3.117 1.37 0 2.044 1.26 2.044 3.396 0 2.82-.694 4.119-2.044 4.119Z",clipRule:"evenodd"}),On.jsx("path",{d:"M51.545 16.124c.642 0 1.163-.524 1.163-1.17 0-.646-.52-1.17-1.163-1.17s-1.163.524-1.163 1.17c0 .646.52 1.17 1.163 1.17ZM46.212 9.195c-1.33-.395-2.079-.617-2.079-1.411 0-.665.607-.96 1.274-.96 1.292 0 2.304.74 3.476 2.458h.278V5.847h-.199l-.893.659-.117-.049c-.735-.305-1.47-.61-2.584-.61-2.125 0-3.813 1.318-3.813 3.275 0 1.757.836 2.757 3.834 3.536 1.113.28 1.887.48 1.887 1.338 0 .8-.774 1.178-1.708 1.178-1.435 0-2.483-.978-3.861-2.836h-.304l.21 3.795h.218l.793-.799c.636.32 1.63.82 2.96.82 2.54 0 4.31-1.42 4.31-3.416 0-2.058-1.23-2.817-3.656-3.535l-.026-.008Z"})]})},ss=y(j)((({navigationSizing:e,theme:t})=>({alignItems:"center",backgroundColor:t.custom.palette.surface.sunken,display:"flex",flexDirection:"sm"===e?"column":"row",justifyContent:"space-between",padding:t.spacing(1.5,2,2)}))),as=({isMobile:e,logoLink:t="/",navigationSizing:n,toggleMenuOnClick:i})=>On.jsxs(ss,{navigationSizing:n,children:[On.jsx(j,{sx:{display:"flex",width:"100%"},children:On.jsxs(j,{sx:{alignItems:"center",display:"flex",justifyContent:"space-between",width:"100%"},children:[On.jsx(Eo,{href:t,children:On.jsxs(j,{sx:{alignItems:"center",display:"flex",gap:.5,pr:"lg"===n?.5:0},children:[On.jsx(os,{}),"lg"===n&&On.jsx(F,{in:!0,children:On.jsx(j,{sx:{display:"flex",alignItems:"flex-end"},children:On.jsx(rs,{})})})]})}),"lg"===n&&On.jsx(F,{in:"lg"===n,children:On.jsx(j,{children:On.jsx(Qo,{onClick:i,sizing:"lg",icon:e?On.jsx(Co,{name:"close",size:20}):On.jsx(Co,{name:"nav-toggle",size:20})})})})]})}),"sm"===n&&On.jsx(B,{in:!0,style:{transformOrigin:"0 100%"},children:On.jsx(j,{sx:{alignItems:"center",display:"flex",justifyContent:"flex-start",width:"100%"},children:On.jsx(Qo,{onClick:i,sizing:"lg",icon:e?On.jsx(Co,{name:"close",size:20}):On.jsx(Co,{name:"nav-toggle",size:20})})})})]}),ls=y(O)((({navigationSizing:e,theme:t})=>({backgroundColor:t.custom.palette.surface.sunken,transition:t.custom.easing.input,width:"lg"===e?232:72}))),cs=y(j)((({theme:e})=>({display:"flex",flex:1,padding:e.spacing(2)}))),us=y(j)((({theme:e})=>({display:"flex",flex:1,gap:e.spacing(1),"& div":{display:"flex",justifyContent:"center",width:"100%"},"& button":{width:"100%"}}))),ds=({logoLink:e,isMobile:t,nudgeProps:n,primaryMenuItemProps:i,secondaryMenuItemProps:o,sizing:r="lg",tertiaryMenuItemProps:s,toggleMenuOnClick:a=()=>{},userMenuProps:l})=>{const c=w();return On.jsxs(ls,{navigationSizing:r,children:[On.jsx(as,{logoLink:e,navigationSizing:r,toggleMenuOnClick:a,isMobile:t}),On.jsx(cs,{children:On.jsxs(O,{sx:{gap:4,justifyContent:"space-between",width:"100%"},children:[i?.length>0&&On.jsx(O,{sx:{gap:"lg"===r?.5:2,width:"100%"},children:i.map(((e,t)=>On.jsx(Tr,{navigationSizing:r,...e},`primary-menu-item-${t}`)))}),On.jsxs(O,{sx:{gap:2},children:[n?.title&&On.jsx(Ur,{navigationSizing:r,...n}),o?.length>0&&o.map(((e,t)=>On.jsx(Tr,{navigationSizing:r,...e,label:"Help center"===e.label&&"sm"===r?"Help":e.label},`secondary-menu-item-${t}`))),On.jsx($,{sx:{color:c.custom.palette.stroke.default}}),On.jsx(ns,{navigationSizing:r,...l}),s?.length>0&&On.jsx(us,{children:s.map(((e,t)=>On.jsx(Tr,{navigationSizing:r,...e},`tertiary-menu-item-${t}`)))})]})]})})]})},ps=y(j)({"& .lazy-load-image-background.blur":{filter:"blur(15px)"},"& .lazy-load-image-background.blur.lazy-load-image-loaded":{filter:"blur(0)",transition:"filter .3s"},"& .lazy-load-image-background.blur > img":{opacity:"0"},"& .lazy-load-image-background.blur.lazy-load-image-loaded > img":{opacity:"1",transition:"opacity .3s"}}),hs=({children:e,src:t,alt:n,width:i,height:o,...s})=>{const[a,l]=r(!1);return On.jsxs(On.Fragment,{children:[On.jsx(F,{in:!a,unmountOnExit:!0,children:On.jsx(j,{sx:{width:i,height:o,position:"absolute",inset:0},children:On.jsx(H,{variant:"rectangular",width:i,height:"100%"})})}),On.jsx(ps,{children:On.jsx(be,{onLoad:()=>l(!0),alt:n,height:o,src:t,width:i,threshold:500,effect:"blur",wrapperProps:{style:{transitionDelay:"200ms"}},...s})})]})},ms=y(j)((({theme:e})=>({width:2,height:2,borderRadius:"50%",backgroundColor:e.custom.palette.icon.disabled,marginLeft:e.spacing(e.custom.margin.sm),marginRight:e.spacing(e.custom.margin.sm)}))),fs=(e,t)=>On.jsxs(j,{display:"flex",gap:1,children:[On.jsx(Fo,{variation:"sm",component:"p",weight:"bold",children:e||0}),On.jsx(Fo,{variation:"sm",component:"p",color:"text.secondary",children:t})]}),gs=({loops:e,tests:t,drafts:n})=>On.jsxs(j,{display:"flex",alignItems:"center",children:[fs(e,"Loops"),On.jsx(ms,{}),fs(t,"Tests"),On.jsx(ms,{}),fs(n,"Drafts")]}),xs=y(j)((({theme:e})=>({borderRadius:e.spacing(e.custom.radius.sm),border:`0.5px solid ${e.custom.palette.stroke.focus}`,backgroundColor:e.custom.palette.purple[0],padding:`${e.spacing(e.custom.padding.xs)} ${e.spacing(e.custom.padding.sm)}`,"& p":{color:e.custom.palette.purple[1e3]}}))),vs=({sx:e,body:t})=>On.jsx(xs,{"data-id":"pill-container",sx:ye(e,{position:"absolute",zIndex:1}),children:On.jsx(Fo,{variation:"xxs",component:"p",weight:"bold",children:t})}),ys=({title:e,maxLines:t})=>On.jsx(Fo,{variation:"md",component:"p",weight:"bold",sx:{overflow:"hidden",display:"-webkit-box","-webkit-line-clamp":`${t}`,"-webkit-box-orient":"vertical"},children:e}),bs=({updatedDate:e,format:t=!1,noWrap:n})=>On.jsxs(Fo,{variation:"sm",component:"p",color:"text.secondary",noWrap:n,children:["Edited on ",t?we(e).format("DD MMM YYYY"):e]}),ws=({title:e,loopCount:t,testCount:n,draftCount:i,updatedAt:o,moreActions:r,thumbnail:s,isDemo:a,loading:l,onClick:c})=>{const u=w();return On.jsx(j,{sx:{width:"100%",transition:"all 0.3s ease","&:hover":{'*[data-id="image-container"]':{boxShadow:u.custom.elevation.raised}}},children:On.jsxs(N,{onClick:c,sx:{"& .MuiCardActionArea-focusHighlight":{backgroundColor:u.palette.background.paper}},children:[l?On.jsx(H,{sx:{width:"100%",height:150,transform:"none"},animation:"pulse"}):On.jsxs(j,{"data-id":"image-container",sx:{transition:"all 200ms ease",boxShadow:"none",overflow:"hidden",height:150,position:"relative",borderRadius:u.custom.radius.md},children:[a&&On.jsx(vs,{body:"Demo",sx:{bottom:8,left:8}}),On.jsx(hs,{src:s,alt:"green iguana",style:{width:"100%",height:"auto",objectFit:"cover"}})]}),On.jsx(W,{sx:{py:u.spacing(u.custom.padding.xs),px:0},children:On.jsxs(O,{gap:u.spacing(u.custom.margin.xs),children:[l?On.jsx(H,{width:"100%",height:20}):On.jsxs(O,{direction:"row",justifyContent:"space-between",alignItems:"start",children:[On.jsx(ys,{title:e,maxLines:2}),On.jsx(j,{onClick:e=>{e.stopPropagation()},children:r})]}),l?On.jsx(H,{width:"100%",height:20}):On.jsx(gs,{loops:t,tests:n,drafts:i}),l?On.jsx(H,{width:"60%",height:20}):On.jsx(bs,{updatedDate:o,format:!0})]})})]})})},js=({title:e,loopCount:t,testCount:n,draftCount:i,updatedAt:o,moreActions:r,thumbnail:s,isDemo:a,loading:l,onClick:c})=>{const u=w();return On.jsx(j,{sx:{minWidth:280,width:"auto",borderBottom:`1px solid ${u.custom.palette.stroke.default}`,transition:"all 0.3s ease"},children:On.jsx(N,{onClick:c,sx:{p:u.spacing(u.custom.padding.xs)},children:On.jsxs(j,{sx:{display:"flex",gap:u.spacing(u.custom.margin.sm),alignItems:"center"},children:[l?On.jsx(H,{variant:"rounded",width:108,height:72}):On.jsxs(j,{"data-id":"image-container",sx:{transition:"all 200ms ease",boxShadow:"none",overflow:"hidden",width:108,height:72,position:"relative",borderRadius:u.custom.radius.md},children:[a&&On.jsx(vs,{sx:{top:4,right:4},body:"Demo"}),On.jsx(hs,{src:s,alt:"green iguana",style:{width:"100%",height:"auto",objectFit:"cover"}})]}),On.jsx(W,{sx:{overflow:"hidden",p:0,pl:u.spacing(u.custom.padding.sm),minWidth:67,display:"flex",flex:1,"&:last-child":{pb:0}},children:On.jsxs(O,{gap:u.spacing(u.custom.margin.xs),width:"100%",children:[l?On.jsx(H,{variant:"text",width:"50%"}):On.jsx(ys,{title:e,maxLines:1}),On.jsxs(O,{direction:"row",gap:u.spacing(u.custom.margin.xs),justifyContent:"space-between",flexWrap:"wrap",children:[l?On.jsx(H,{variant:"text",width:"50%"}):On.jsx(gs,{loops:t,tests:n,drafts:i}),l?On.jsx(H,{variant:"text",width:130}):On.jsx(bs,{updatedDate:o,format:!0,noWrap:!0})]})]})}),r&&r]})})})},Cs=e=>"list"===e.viewType?On.jsx(js,{...e}):On.jsx(ws,{...e}),ks=y(j)((({theme:e})=>({alignItems:"center",backgroundColor:e.custom.palette.surface.default,borderBottom:`0.5px solid ${e.custom.palette.stroke.default}`,display:"flex",gap:e.spacing(1),justifyContent:"space-between",padding:1}))),Ss=y(j)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1)}))),Ms=y(Fo)((({theme:e})=>({color:e.custom.palette.text.secondary}))),Ps=({buttons:e,subtitle:t,title:n})=>On.jsx(On.Fragment,{children:On.jsx(ks,{sx:{justifyContent:"space-between"},children:On.jsx(A,{children:On.jsx(z,{container:!0,spacing:2,children:On.jsx(z,{sm:!0,children:On.jsxs(Ss,{sx:{justifyContent:"space-between",py:1},children:[On.jsx(Ss,{children:On.jsxs(Ss,{sx:{alignItems:"flex-start",flexDirection:"column",gap:0},children:[n&&On.jsx(Fo,{variation:"sm",component:"h2",weight:"bold",children:n}),t&&On.jsx(Ms,{variation:"sm",component:"p",children:t})]})}),e&&On.jsx(Ss,{children:e})]})})})})})}),Ts=()=>{const e=w();return[...e.breakpoints.keys].reduce(((t,n)=>Ee(e.breakpoints.up(n))?n:t),null)??"sm"},As=y(_)((({theme:e})=>({[`&.${U.root}`]:{backgroundColor:e.custom.palette.neutral[200],borderRadius:e.custom.radius.round,[`& .${U.bar}`]:{backgroundColor:e.custom.palette.green[500],borderRadius:`0 ${e.custom.radius.round}px ${e.custom.radius.round}px 0`}}}))),zs=e=>{const{variation:t,...n}=e;return On.jsx(As,{variant:t,...n})},Rs=y(j)((({theme:e})=>({display:"flex",flexWrap:"wrap",gap:e.spacing(e.custom.padding.md),alignItems:"center",alignContent:"start",flexBasis:`calc(50% - ${e.spacing(e.custom.padding.sm)})`}))),Es=y(j)((({theme:e})=>({display:"flex",flexDirection:"column",flexBasis:`calc(50% - ${e.spacing(e.custom.padding.sm)})`}))),Vs=y(Fo)((({theme:e})=>({flexBasis:"100%",color:e.palette.text.secondary})));function Fs(){return Fs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Fs.apply(null,arguments)}var Bs,Ls={exports:{}},Ds={exports:{}},Os={};var Is,$s,Hs,Ns,Ws,_s,Us,Zs,Gs,Ys,qs,Ks,Xs,Js,Qs={};
10
+ */"production"===process.env.NODE_ENV?Ln.exports=function(){if(Vn)return Fn;Vn=1;var e=t,n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function a(e,t,i){var a,l={},c=null,u=null;for(a in void 0!==i&&(c=""+i),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)o.call(t,a)&&!s.hasOwnProperty(a)&&(l[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===l[a]&&(l[a]=t[a]);return{$$typeof:n,type:e,key:c,ref:u,props:l,_owner:r.current}}return Fn.Fragment=i,Fn.jsx=a,Fn.jsxs=a,Fn}():Ln.exports=(Bn||(Bn=1,"production"!==process.env.NODE_ENV&&function(){var e,n=t,i=Symbol.for("react.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),g=Symbol.iterator,x=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];!function(e,t,n){var i=x.ReactDebugCurrentFrame.getStackAddendum();""!==i&&(t+="%s",n=n.concat([i]));var o=n.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}("error",e,n)}function y(e){return e.displayName||"Context"}function b(e){if(null==e)return null;if("number"==typeof e.tag&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case o:return"Portal";case a:return"Profiler";case s:return"StrictMode";case d:return"Suspense";case p:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case c:return y(e)+".Consumer";case l:return y(e._context)+".Provider";case u:return function(e,t,n){var i=e.displayName;if(i)return i;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case h:var t=e.displayName||null;return null!==t?t:b(e.type)||"Memo";case m:var n=e,i=n._payload,f=n._init;try{return b(f(i))}catch(e){return null}}return null}e=Symbol.for("react.module.reference");var w,j,C,k,S,M,P,T=Object.assign,A=0;function z(){}z.__reactDisabledLog=!0;var R,E=x.ReactCurrentDispatcher;function V(e,t,n){if(void 0===R)try{throw Error()}catch(e){var i=e.stack.trim().match(/\n( *(at )?)/);R=i&&i[1]||""}return"\n"+R+e}var L,F=!1,B="function"==typeof WeakMap?WeakMap:Map;function D(e,t){if(!e||F)return"";var n,i=L.get(e);if(void 0!==i)return i;F=!0;var o,r=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=E.current,E.current=null,function(){if(0===A){w=console.log,j=console.info,C=console.warn,k=console.error,S=console.group,M=console.groupCollapsed,P=console.groupEnd;var e={configurable:!0,enumerable:!0,value:z,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}A++}();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(s,[])}catch(e){n=e}Reflect.construct(e,[],s)}else{try{s.call()}catch(e){n=e}e.call(s.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),l=n.stack.split("\n"),c=a.length-1,u=l.length-1;c>=1&&u>=0&&a[c]!==l[u];)u--;for(;c>=1&&u>=0;c--,u--)if(a[c]!==l[u]){if(1!==c||1!==u)do{if(c--,--u<0||a[c]!==l[u]){var d="\n"+a[c].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&L.set(e,d),d}}while(c>=1&&u>=0);break}}}finally{F=!1,E.current=o,function(){if(0==--A){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:w}),info:T({},e,{value:j}),warn:T({},e,{value:C}),error:T({},e,{value:k}),group:T({},e,{value:S}),groupCollapsed:T({},e,{value:M}),groupEnd:T({},e,{value:P})})}A<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=r}var p=e?e.displayName||e.name:"",h=p?V(p):"";return"function"==typeof e&&L.set(e,h),h}function O(e,t,n){if(null==e)return"";if("function"==typeof e)return D(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return V(e);switch(e){case d:return V("Suspense");case p:return V("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return D(e.render,!1);case h:return O(e.type,t,n);case m:var i=e,o=i._payload,r=i._init;try{return O(r(o),t,n)}catch(e){}}return""}L=new B;var I=Object.prototype.hasOwnProperty,$={},H=x.ReactDebugCurrentFrame;function N(e){if(e){var t=e._owner,n=O(e.type,e._source,t?t.type:null);H.setExtraStackFrame(n)}else H.setExtraStackFrame(null)}var W=Array.isArray;function _(e){return W(e)}function U(e){return""+e}function Z(e){if(function(e){try{return U(e),!1}catch(e){return!0}}(e))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),U(e)}var G,Y,q=x.ReactCurrentOwner,K={key:!0,ref:!0,__self:!0,__source:!0};function X(e,t,n,o,r){var s,a={},l=null,c=null;for(s in void 0!==n&&(Z(n),l=""+n),function(e){if(I.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(Z(t.key),l=""+t.key),function(e){if(I.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(c=t.ref,function(e){"string"==typeof e.ref&&q.current}(t)),t)I.call(t,s)&&!K.hasOwnProperty(s)&&(a[s]=t[s]);if(e&&e.defaultProps){var u=e.defaultProps;for(s in u)void 0===a[s]&&(a[s]=u[s])}if(l||c){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var n=function(){G||(G=!0,v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(a,d),c&&function(e,t){var n=function(){Y||(Y=!0,v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(a,d)}return function(e,t,n,o,r,s,a){var l={$$typeof:i,type:e,key:t,ref:n,props:a,_owner:s,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l}(e,l,c,r,o,q.current,a)}var J,Q=x.ReactCurrentOwner,ee=x.ReactDebugCurrentFrame;function te(e){if(e){var t=e._owner,n=O(e.type,e._source,t?t.type:null);ee.setExtraStackFrame(n)}else ee.setExtraStackFrame(null)}function ne(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}function ie(){if(Q.current){var e=b(Q.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}J=!1;var oe={};function re(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=ie();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!oe[n]){oe[n]=!0;var i="";e&&e._owner&&e._owner!==Q.current&&(i=" It was passed a child from "+b(e._owner.type)+"."),te(e),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,i),te(null)}}}function se(e,t){if("object"==typeof e)if(_(e))for(var n=0;n<e.length;n++){var i=e[n];ne(i)&&re(i,t)}else if(ne(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!=typeof e)return null;var t=g&&e[g]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof o&&o!==e.entries)for(var r,s=o.call(e);!(r=s.next()).done;)ne(r.value)&&re(r.value,t)}}function ae(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==u&&n.$$typeof!==h)return;t=n.propTypes}if(t){var i=b(n);!function(e,t,n,i,o){var r=Function.call.bind(I);for(var s in e)if(r(e,s)){var a=void 0;try{if("function"!=typeof e[s]){var l=Error((i||"React class")+": "+n+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}a=e[s](t,s,i,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){a=e}!a||a instanceof Error||(N(o),v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",i||"React class",n,s,typeof a),N(null)),a instanceof Error&&!(a.message in $)&&($[a.message]=!0,N(o),v("Failed %s type: %s",n,a.message),N(null))}}(t,e.props,"prop",i,e)}else void 0===n.PropTypes||J||(J=!0,v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",b(n)||"Unknown"));"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var le={};function ce(t,n,o,g,x,y){var w=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===s||t===d||t===p||t===f||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===h||t.$$typeof===l||t.$$typeof===c||t.$$typeof===u||t.$$typeof===e||void 0!==t.getModuleId)}(t);if(!w){var j,C="";(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(C+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),C+=ie(),null===t?j="null":_(t)?j="array":void 0!==t&&t.$$typeof===i?(j="<"+(b(t.type)||"Unknown")+" />",C=" Did you accidentally export a JSX literal instead of a component?"):j=typeof t,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",j,C)}var k=X(t,n,o,x,y);if(null==k)return k;if(w){var S=n.children;if(void 0!==S)if(g)if(_(S)){for(var M=0;M<S.length;M++)se(S[M],t);Object.freeze&&Object.freeze(S)}else v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else se(S,t)}if(I.call(n,"key")){var P=b(t),T=Object.keys(n).filter((function(e){return"key"!==e})),A=T.length>0?"{key: someKey, "+T.join(": ..., ")+": ...}":"{key: someKey}";le[P+A]||(v('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',A,P,T.length>0?"{"+T.join(": ..., ")+": ...}":"{}",P),le[P+A]=!0)}return t===r?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var i=t[n];if("children"!==i&&"key"!==i){te(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",i),te(null);break}}null!==e.ref&&(te(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),te(null))}(k):ae(k),k}var ue=function(e,t,n){return ce(e,t,n,!1)},de=function(e,t,n){return ce(e,t,n,!0)};Dn.Fragment=r,Dn.jsx=ue,Dn.jsxs=de}()),Dn);var On=Ln.exports;const In=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1z",fill:"currentColor"})}),$n=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M8.75 3c.207 0 .375.168.375.375a3 3 0 003 3 .375.375 0 010 .75 3 3 0 00-3 3 .375.375 0 01-.75 0 3 3 0 00-3-3 .375.375 0 110-.75 3 3 0 003-3c0-.207.168-.375.375-.375zM15.875 7.875a.375.375 0 00-.75 0c0 2.9-2.35 5.25-5.25 5.25a.375.375 0 000 .75c2.9 0 5.25 2.35 5.25 5.25a.375.375 0 00.75 0c0-2.9 2.35-5.25 5.25-5.25a.375.375 0 000-.75 5.25 5.25 0 01-5.25-5.25zM6.125 13.875a.375.375 0 00-.75 0 3 3 0 01-3 3 .375.375 0 000 .75 3 3 0 013 3 .375.375 0 00.75 0 3 3 0 013-3 .375.375 0 000-.75 3 3 0 01-3-3z",fill:"currentColor"})}),Hn=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M18.791 11.005H7.621l4.88-4.88c.39-.39.39-1.03 0-1.42a.996.996 0 00-1.41 0l-6.59 6.59a.996.996 0 000 1.41l6.59 6.59a.996.996 0 101.41-1.41l-4.88-4.88h11.17c.55 0 1-.45 1-1s-.45-1-1-1z",fill:"currentColor"})}),Nn=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M5.209 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42.39.39 1.02.39 1.41 0l6.59-6.59a.996.996 0 000-1.41l-6.58-6.6a.996.996 0 10-1.41 1.41l4.87 4.89H5.209c-.55 0-1 .45-1 1s.45 1 1 1z",fill:"currentColor"})}),Wn=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M16 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5a2.5 2.5 0 015 0v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H9.5v9.5a2.5 2.5 0 005 0V5c0-2.21-1.79-4-4-4s-4 1.79-4 4v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6H16z",fill:"currentColor"})}),_n=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M6.94 6.94a1.5 1.5 0 000 2.12l3.181 3.183-3.182 3.182a1.5 1.5 0 102.122 2.12l3.182-3.181 3.182 3.182a1.5 1.5 0 002.121-2.121l-3.182-3.182 3.182-3.182a1.5 1.5 0 00-2.121-2.122l-3.182 3.182L9.06 6.94a1.5 1.5 0 00-2.122 0z",fill:"#FC5A4E"})}),Un=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{d:"M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12z",fill:"#FC5A4E"}),On.jsx("path",{d:"M6.94 6.94a1.5 1.5 0 000 2.12l3.181 3.183-3.182 3.182a1.5 1.5 0 102.122 2.12l3.182-3.181 3.182 3.182a1.5 1.5 0 102.12-2.121l-3.181-3.182 3.182-3.182a1.5 1.5 0 10-2.121-2.122l-3.182 3.182L9.06 6.94a1.5 1.5 0 00-2.122 0z",fill:"#fff"})]}),Zn=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M4.5 12A1.5 1.5 0 016 10.5h12a1.5 1.5 0 010 3H6A1.5 1.5 0 014.5 12z",fill:"#BAB7C2"})}),Gn=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{d:"M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12z",fill:"#BAB7C2"}),On.jsx("path",{d:"M4.5 12A1.5 1.5 0 016 10.5h12a1.5 1.5 0 010 3H6A1.5 1.5 0 014.5 12z",fill:"#fff"})]}),Yn=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.174 8.517a1.5 1.5 0 00-1.669.98 1.5 1.5 0 01-2.83-.995 4.5 4.5 0 018.745 1.5c0 1.795-1.328 2.936-2.168 3.496a8.541 8.541 0 01-1.796.904l-.04.013-.013.005-.005.002h-.002c-.001 0-.002.001-.476-1.422l.474 1.423a1.5 1.5 0 01-.953-2.844m0 0l.01-.004.064-.024a5.54 5.54 0 001.073-.55c.66-.439.832-.797.832-1.001v-.002a1.5 1.5 0 00-1.246-1.48M16.42 10v.001L14.92 10h1.5v.001zM10.5 17a1.5 1.5 0 011.5-1.5h.01a1.5 1.5 0 110 3H12a1.5 1.5 0 01-1.5-1.5z",fill:"#BAB7C2"})}),qn=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{d:"M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12z",fill:"#BAB7C2"}),On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.174 8.517a1.5 1.5 0 00-1.669.98 1.5 1.5 0 01-2.83-.995 4.5 4.5 0 018.745 1.5c0 1.795-1.328 2.936-2.168 3.496a8.54 8.54 0 01-1.796.904l-.04.013-.013.005-.005.002h-.002s-.002.001-.476-1.422l.474 1.423a1.5 1.5 0 01-.953-2.844m0 0l.01-.004.064-.024a5.551 5.551 0 001.073-.55c.66-.439.832-.797.832-1.001v-.002a1.5 1.5 0 00-1.246-1.48M16.42 10L14.92 10h1.5v.001zM10.5 17a1.5 1.5 0 011.5-1.5h.01a1.5 1.5 0 010 3H12a1.5 1.5 0 01-1.5-1.5z",fill:"#fff"})]}),Kn=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M5.44 12.596a1.5 1.5 0 000 2.121l2.828 2.829a1.5 1.5 0 002.121 0l8.485-8.485a1.5 1.5 0 10-2.121-2.122l-7.425 7.425-1.767-1.768a1.5 1.5 0 00-2.122 0z",fill:"#48B244"})}),Xn=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{d:"M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12z",fill:"#48B244"}),On.jsx("path",{d:"M5.44 12.596a1.5 1.5 0 000 2.121l2.828 2.829a1.5 1.5 0 002.121 0l8.485-8.485a1.5 1.5 0 10-2.121-2.122l-7.425 7.425-1.767-1.768a1.5 1.5 0 00-2.122 0z",fill:"#fff"})]}),Jn=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("rect",{width:24,height:24,rx:12,fill:"#7F4CFF"}),On.jsx("path",{d:"M7.5 6h6v.75c-1.5 0-1.5 1.5-1.5 1.5v8.25h2.25s1.5 0 1.5-2.25h1.5L16.5 18h-9v-1.5C9 16.5 9 15 9 15V8.25s0-1.5-1.5-1.5V6z",fill:"#fff"})]}),Qn=e=>On.jsxs(v,{viewBox:"0 0 80 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("g",{clipPath:"url(#prefix__clip0_2261_1952)",children:On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.638 19.13c-1.281-.899-1.55-1.167-1.55-3.146V0H0v.3l.012.007c1.302.803 1.894 1.168 1.894 3.14v12.537c0 1.98-.268 2.247-1.549 3.146v.3h8.28v-.3zm.384-5.709c.806 4.602 4.97 6.966 9.343 6.192 4.37-.776 7.48-4.444 6.675-9.034-.805-4.59-4.97-6.968-9.343-6.192-4.373.775-7.48 4.432-6.675 9.034zm5.399-.959c-.772-4.425-.46-6.428 1.503-6.776 1.963-.35 2.946 1.42 3.718 5.845.77 4.425.461 6.419-1.504 6.776-1.966.357-2.946-1.42-3.717-5.845zm21.04 7.151c-4.37.774-8.535-1.59-9.343-6.192-.807-4.602 2.302-8.259 6.675-9.034 4.372-.776 8.535 1.602 9.343 6.192.807 4.59-2.305 8.258-6.675 9.034zm-2.44-13.927c-1.966.348-2.276 2.35-1.505 6.776.772 4.426 1.752 6.202 3.718 5.852 1.965-.35 2.274-2.35 1.503-6.776-.77-4.426-1.751-6.202-3.717-5.852zm18.116 17.948c-1.49-.848-2.026-1.153-2.026-3.08l.004-3.595c.774 1.558 2.323 2.787 4.884 2.787 3.872 0 6.941-2.945 6.941-8.01 0-5.152-2.991-7.46-6.404-7.46-2.8 0-4.738 1.589-5.42 3.777l-.121-3.476h-6.85v.286h.001c1.28.837 1.785 1.167 1.785 3.146v12.545c0 1.977-.267 2.247-1.55 3.146v.3h8.873v-.3l-.117-.066zm1.22-5.712c-1.818 0-3.246-2.066-3.246-4.462v-2.135c0-2.666 1.28-4.675 3.246-4.675 2.054 0 3.066 1.89 3.066 5.094 0 4.23-1.041 6.178-3.066 6.178zm24.96 1.764a1.75 1.75 0 001.745-1.755 1.75 1.75 0 00-1.745-1.755 1.75 1.75 0 00-1.745 1.755c0 .97.781 1.755 1.745 1.755zm-8-10.394C67.322 8.7 66.2 8.367 66.2 7.176c0-.998.91-1.44 1.91-1.44 1.939 0 3.456 1.11 5.215 3.687h.416V4.27h-.298l-1.34.989-.175-.073c-1.103-.458-2.206-.916-3.877-.916-3.187 0-5.719 1.977-5.719 4.913 0 2.636 1.254 4.135 5.751 5.304 1.67.42 2.83.719 2.83 2.007 0 1.2-1.16 1.767-2.561 1.767-2.152 0-3.724-1.467-5.792-4.254h-.455l.314 5.693h.327l1.19-1.199c.953.48 2.443 1.229 4.438 1.229 3.813 0 6.466-2.128 6.466-5.124 0-3.087-1.843-4.224-5.483-5.302l-.04-.012z",fill:"currentColor"})}),On.jsx("defs",{children:On.jsx("clipPath",{id:"prefix__clip0_2261_1952",children:On.jsx("path",{fill:"#fff",d:"M0 0h79.064v24H0z"})})})]}),ei=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm4.3 14.3a.996.996 0 01-1.41 0L12 13.41 9.11 16.3a.996.996 0 11-1.41-1.41L10.59 12 7.7 9.11A.996.996 0 119.11 7.7L12 10.59l2.89-2.89a.996.996 0 111.41 1.41L13.41 12l2.89 2.89c.38.38.38 1.02 0 1.41z",fill:"currentColor"})}),ti=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M4 4h16v12H5.17L4 17.17V4zm0-2c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2H4zm2 10h8v2H6v-2zm0-3h12v2H6V9zm0-3h12v2H6V6z",fill:"currentColor"})}),ni=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M8.795 15.875l-3.47-3.47a.996.996 0 10-1.41 1.41l4.18 4.18c.39.39 1.02.39 1.41 0l10.58-10.58a.996.996 0 10-1.41-1.41l-9.88 9.87z",fill:"currentColor"})}),ii=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8-1.41-1.42z",fill:"currentColor"})}),oi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M15.875 9l-3.88 3.88L8.115 9a.996.996 0 10-1.41 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 000-1.41c-.39-.38-1.03-.39-1.42 0z",fill:"currentColor"})}),ri=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M15 6.705a.996.996 0 00-1.41 0L9 11.295a.996.996 0 000 1.41l4.59 4.59a.996.996 0 101.41-1.41l-3.88-3.89L15 8.115c.39-.39.38-1.03 0-1.41z",fill:"currentColor"})}),si=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M9 6.71a.996.996 0 000 1.41L12.88 12 9 15.88a.996.996 0 101.41 1.41L15 12.7a.996.996 0 000-1.41L10.41 6.7c-.38-.38-1.02-.38-1.41.01z",fill:"currentColor"})}),ai=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M11.295 9l-4.59 4.59A.996.996 0 108.115 15l3.89-3.88 3.88 3.88a.996.996 0 101.41-1.41L12.705 9a.996.996 0 00-1.41 0z",fill:"currentColor"})}),li=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M18.3 5.71a.996.996 0 00-1.41 0L12 10.59 7.11 5.7A.996.996 0 105.7 7.11L10.59 12 5.7 16.89a.996.996 0 101.41 1.41L12 13.41l4.89 4.89a.996.996 0 101.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z",fill:"currentColor"})}),ci=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM17 14H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1zm0-3H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1zm0-3H7c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1z",fill:"currentColor"})}),ui=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M4 10.5c0 .55.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1zM14.79 4.5H13v-2c0-.55-.45-1-1-1s-1 .45-1 1v2H9.21a.5.5 0 00-.36.85l2.79 2.79c.2.2.51.2.71 0l2.79-2.79c.32-.31.1-.85-.35-.85zM9.21 19.5H11v2c0 .55.45 1 1 1s1-.45 1-1v-2h1.79c.45 0 .67-.54.35-.85l-2.79-2.79c-.2-.2-.51-.2-.71 0l-2.79 2.79a.5.5 0 00.36.85zM5 14.5h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1s.45 1 1 1z",fill:"currentColor"})}),di=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{d:"M22 6a1 1 0 00-1-1H11a1 1 0 100 2h10a1 1 0 001-1zM6 6a1 1 0 00-1-1H3a1 1 0 000 2h2a1 1 0 001-1z",fill:"currentColor"}),On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 9a3 3 0 110-6 3 3 0 010 6zm0-2a1 1 0 110-2 1 1 0 010 2z",fill:"currentColor"}),On.jsx("path",{d:"M2 12a1 1 0 011-1h10a1 1 0 110 2H3a1 1 0 01-1-1zM18 12a1 1 0 011-1h2a1 1 0 110 2h-2a1 1 0 01-1-1z",fill:"currentColor"}),On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 15a3 3 0 100-6 3 3 0 000 6zm0-2a1 1 0 100-2 1 1 0 000 2z",fill:"currentColor"}),On.jsx("path",{d:"M22 18a1 1 0 00-1-1H11a1 1 0 100 2h10a1 1 0 001-1zM6 18a1 1 0 00-1-1H3a1 1 0 100 2h2a1 1 0 001-1z",fill:"currentColor"}),On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 21a3 3 0 110-6 3 3 0 010 6zm0-2a1 1 0 110-2 1 1 0 010 2z",fill:"currentColor"})]}),pi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M16.5 1h-12c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4h-11c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16h-11V7h11v14z",fill:"currentColor"})}),hi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M19 5v2h-4V5h4zM9 5v6H5V5h4zm10 8v6h-4v-6h4zM9 17v2H5v-2h4zM21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z",fill:"currentColor"})}),mi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M16 9v10H8V9h8zm-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z",fill:"currentColor"})}),fi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z",fill:"currentColor"})}),gi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M6.44 14.52l2.24-.1c.1 1.62 1.08 2.54 2.42 2.82v-3.52l-1.04-.2c-1.94-.34-3.28-1.44-3.28-3.52 0-2.24 1.64-3.68 4.32-3.82V4.54h1.34v1.68c2.7.28 4.2 1.92 4.24 4.44l-2.2.08c-.06-1.38-.84-2.28-2.04-2.58v3.5l.88.16c2.44.44 3.62 1.56 3.62 3.6 0 2.36-1.92 3.68-4.5 3.8v1.8H11.1v-1.84c-2.76-.28-4.66-1.9-4.66-4.66zm6.08-.56h-.08v3.34c1.3-.1 2.12-.68 2.12-1.72 0-.96-.7-1.38-2.04-1.62zm-3.4-4.14c0 .98.74 1.34 1.9 1.56l.08.02V8.06c-1.28.1-1.98.7-1.98 1.76z",fill:"currentColor"})}),xi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M19 9H5c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zM5 15h14c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1 .45-1 1s.45 1 1 1z",fill:"currentColor"})}),vi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M2.999 17.461v3.04c0 .28.22.5.5.5h3.04c.13 0 .26-.05.35-.15l10.92-10.91-3.75-3.75-10.91 10.91c-.1.1-.15.22-.15.36zm17.71-10.42a.996.996 0 000-1.41l-2.34-2.34a.996.996 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z",fill:"currentColor"})}),yi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z",fill:"currentColor"})}),bi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 7c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1s-1-.45-1-1V8c0-.55.45-1 1-1zm-.01-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm1-3h-2v-2h2v2z",fill:"currentColor"})}),wi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M5.3 14.66v-1.32h1.1c-.02-.2-.02-.42-.02-.64v-.56H5.3v-1.32h1.24C7.1 7.92 9 6.16 11.86 6.16c3.18 0 4.94 2.3 5.08 5.32l-2.3.1c-.1-1.8-1-3.28-2.78-3.28-1.54 0-2.44.92-2.82 2.52h3.36l-.2 1.32H8.88c-.02.18-.02.38-.02.56 0 .22 0 .44.02.64h3.14l-.2 1.32H9.06c.38 1.56 1.28 2.44 2.8 2.44 1.78 0 2.66-1.3 2.78-3.28l2.3.1c-.12 3.08-1.98 5.32-5.08 5.32-2.82 0-4.72-1.72-5.3-4.58H5.3z",fill:"currentColor"})}),ji=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M5 20h14c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zM5 2h14c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm8 7h1.79c.45 0 .67-.54.35-.85l-2.79-2.79c-.2-.2-.51-.2-.71 0L8.85 8.15a.5.5 0 00.36.85H11v6H9.21c-.45 0-.67.54-.35.85l2.79 2.79c.2.2.51.2.71 0l2.79-2.79a.5.5 0 00-.35-.85H13V9z",fill:"currentColor"})}),Ci=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 6a9.75 9.75 0 00-9 6 9.75 9.75 0 0018 0 9.75 9.75 0 00-9-6zm-6.535-.014a11.75 11.75 0 0117.41 5.318 2 2 0 01-.012 1.425 11.75 11.75 0 01-21.738-.033 2 2 0 01.013-1.425 11.75 11.75 0 014.327-5.285zM12 10a2 2 0 100 4 2 2 0 000-4zm-4 2a4 4 0 118 0 4 4 0 01-8 0z",fill:"currentColor"})}),ki=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.293 1.293a1 1 0 011.414 0l20 20a1 1 0 01-1.414 1.414l-3.978-3.978a11.75 11.75 0 01-16.19-6.033 2 2 0 01.013-1.425 11.75 11.75 0 013.804-4.915l-3.65-3.649a1 1 0 010-1.414zm5.08 6.495A9.75 9.75 0 003 12a9.75 9.75 0 0012.81 5.225l-1.778-1.78a4 4 0 01-5.478-5.477l-2.18-2.18zm3.695 3.694a2 2 0 002.45 2.45l-2.45-2.45zm6.868-4.141a9.744 9.744 0 00-6.085-1.272 1 1 0 11-.236-1.986 11.744 11.744 0 0112.26 7.22 2 2 0 01-.012 1.425c-.402.974-.933 1.89-1.579 2.722a1 1 0 01-1.58-1.226A9.745 9.745 0 0021 11.999a9.744 9.744 0 00-4.064-4.658z",fill:"currentColor"})}),Si=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M11 18h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1zm4 6h10c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1z",fill:"currentColor"})}),Mi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M4 15c-.55 0-1 .45-1 1v3c0 1.1.9 2 2 2h3c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1-.45-1-1v-2c0-.55-.45-1-1-1zm1-9c0-.55.45-1 1-1h2c.55 0 1-.45 1-1s-.45-1-1-1H5c-1.1 0-2 .9-2 2v3c0 .55.45 1 1 1s1-.45 1-1V6zm14-3h-3c-.55 0-1 .45-1 1s.45 1 1 1h2c.55 0 1 .45 1 1v2c0 .55.45 1 1 1s1-.45 1-1V5c0-1.1-.9-2-2-2zm0 15c0 .55-.45 1-1 1h-2c-.55 0-1 .45-1 1s.45 1 1 1h3c1.1 0 2-.9 2-2v-3c0-.55-.45-1-1-1s-1 .45-1 1v2zm-7-9c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z",fill:"currentColor"})}),Pi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M9.17 6l2 2H20v10H4V6h5.17zM10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z",fill:"currentColor"})}),Ti=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.338 7A3.5 3.5 0 017.49 2c1.32-.02 2.522.626 3.465 1.674.394.438.743.944 1.044 1.503a7.712 7.712 0 011.044-1.503C13.987 2.626 15.19 1.98 16.509 2a3.5 3.5 0 013.153 5H20a2 2 0 012 2v2a2 2 0 01-2 2v6a3 3 0 01-3 3H7a3 3 0 01-3-3v-6a2 2 0 01-2-2V9a2 2 0 012-2h.338zm3.18-3c.606-.01 1.291.279 1.951 1.012.452.502.856 1.177 1.173 1.988H7.495A1.5 1.5 0 017.5 4h.017zm-.026 5H11v2H4V9h3.492zm9.003 0H20v2h-7V9h3.495zm.01-2a1.5 1.5 0 00-.005-3h-.017c-.607-.01-1.292.279-1.952 1.012-.453.502-.856 1.177-1.173 1.988h3.148zM6 19v-6h5v7H7a1 1 0 01-1-1zm11 1h-4v-7h5v6a1 1 0 01-1 1z",fill:"currentColor"})}),Ai=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z",fill:"currentColor"})}),zi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M5 11h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2zM5 21h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2zM13 5v4c0 1.1.9 2 2 2h4c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2zM15 21h4c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2z",fill:"currentColor"})}),Ri=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-4h2v2h-2v-2zm1.61-9.96c-2.06-.3-3.88.97-4.43 2.79-.18.58.26 1.17.87 1.17h.2c.41 0 .74-.29.88-.67.32-.89 1.27-1.5 2.3-1.28.95.2 1.65 1.13 1.57 2.1-.1 1.34-1.62 1.63-2.45 2.88 0 .01-.01.01-.01.02-.01.02-.02.03-.03.05-.09.15-.18.32-.25.5-.01.03-.03.05-.04.08-.01.02-.01.04-.02.07-.12.34-.2.75-.2 1.25h2c0-.42.11-.77.28-1.07.02-.03.03-.06.05-.09.08-.14.18-.27.28-.39.01-.01.02-.03.03-.04.1-.12.21-.23.33-.34.96-.91 2.26-1.65 1.99-3.56-.24-1.74-1.61-3.21-3.35-3.47z",fill:"currentColor"})}),Ei=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 6.19l5 4.5v7.81h-2v-6H9v6H7v-7.81l5-4.5zm0-2.69l-10 9h3v8h6v-6h2v6h6v-8h3l-10-9z",fill:"currentColor"})}),Vi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M10 20.5v-6h4v6h5v-8h3l-10-9-10 9h3v8h5z",fill:"currentColor"})}),Li=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{d:"M12 17c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1s1 .45 1 1v4c0 .55-.45 1-1 1zm1-8h-2V7h2v2z",fill:"currentColor"}),On.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z",fill:"currentColor"})]}),Fi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 15c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1s1 .45 1 1v4c0 .55-.45 1-1 1zm1-8h-2V7h2v2z",fill:"currentColor"})}),Bi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6A4.997 4.997 0 017 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z",fill:"currentColor"})}),Di=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M4 13c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm4 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zm0 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zM7 8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1zm-3 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm4 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zm0 4h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1s.45 1 1 1zM7 8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1z",fill:"currentColor"})}),Oi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M18 8.5h-1v-2c0-2.76-2.24-5-5-5s-5 2.24-5 5v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-10c0-1.1-.9-2-2-2zm-9-2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9v-2zm9 14H6v-10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z",fill:"currentColor"})}),Ii=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z",fill:"currentColor"})}),$i=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M3 18h13v-2H3v2zm0-5h10v-2H3v2zm0-7v2h13V6H3zm18 9.59L17.42 12 21 8.41 19.59 7l-5 5 5 5L21 15.59z",fill:"currentColor"})}),Hi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",fill:"currentColor"})}),Ni=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",fill:"currentColor"})}),Wi=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4a2 2 0 012-2h16a2 2 0 012 2v16a2 2 0 01-2 2H4a2 2 0 01-2-2V4zm7 0h11v16H9V4zM7 4H4v16h3V4z",fill:"currentColor"}),On.jsx("path",{d:"M17.41 15.59L13.83 12l3.58-3.59L16 7l-5 5 5 5 1.41-1.41z",fill:"currentColor"})]}),_i=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4a2 2 0 012-2h16a2 2 0 012 2v16a2 2 0 01-2 2H4a2 2 0 01-2-2V4zm7 0h11v16H9V4zM7 4H4v16h3V4z",fill:"currentColor"}),On.jsx("path",{d:"M11.59 15.59L15.17 12l-3.58-3.59L13 7l5 5-5 5-1.41-1.41z",fill:"currentColor"})]}),Ui=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4a2 2 0 012-2h16a2 2 0 012 2v16a2 2 0 01-2 2H4a2 2 0 01-2-2V4zm7 0h11v16H9V4zM7 4H4v16h3V4z",fill:"currentColor"})}),Zi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M10.01 20.76c0 1.1.89 1.99 1.99 1.99s1.99-.89 1.99-1.99h-3.98zM12 5.75c2.76 0 5 2.24 5 5v7H7v-7c0-2.76 2.24-5 5-5zm0-4.5c-.83 0-1.5.67-1.5 1.5v1.17C7.36 4.6 5 7.4 5 10.75v6l-2 2v1h18v-1l-2-2v-6c0-3.35-2.36-6.15-5.5-6.83V2.75c0-.83-.67-1.5-1.5-1.5zm-1 6.5h2v4h-2v-4zm0 6h2v2h-2v-2z",fill:"currentColor"})}),Gi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5a2 2 0 00-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55-.45 1-1 1zM14 4c0 .55.45 1 1 1h2.59l-9.13 9.13a.996.996 0 101.41 1.41L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1h-5c-.55 0-1 .45-1 1z",fill:"currentColor"})}),Yi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M17.5 20.5h-14v-14h9v-2h-9c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2v9zm-7.79-3.17l-1.96-2.36L5 18.5h11l-3.54-4.71-2.75 3.54zM19.5 4.5v-3h-2v3h-3c.01.01 0 2 0 2h3v2.99c.01.01 2 0 2 0V6.5h3v-2h-3z",fill:"currentColor"})}),qi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM9.5 14.67V9.33c0-.79.88-1.27 1.54-.84l4.15 2.67a1 1 0 010 1.68l-4.15 2.67c-.66.43-1.54-.05-1.54-.84z",fill:"currentColor"})}),Ki=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v1c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-1h5c1.1 0 1.99-.9 1.99-2L23 5a2 2 0 00-2-2zm-1 14H4c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h16c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1zm-5.52-5.13l-3.98 2.28c-.67.38-1.5-.11-1.5-.87V8.72c0-.77.83-1.25 1.5-.87l3.98 2.28c.67.39.67 1.35 0 1.74z",fill:"currentColor"})}),Xi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M10.791 10.1c0 .72.18 1.32.4 1.9h2.76v1.46h-2.16c.16.48.26 1 .26 1.6 0 .44-.04.86-.12 1.24.66.42 1.34.76 2.16.76 1.18 0 1.6-.62 1.6-2l1.8.1c.18 2.76-.98 4.08-2.96 4.08-1.42 0-2.48-.6-3.32-1.26-.58.78-1.44 1.26-2.54 1.26-1.34 0-2.34-.82-2.34-2.22 0-1.28.98-2.14 2.36-2.14.44 0 .86.1 1.24.26-.04-.66-.24-1.18-.48-1.68h-2.2V12h1.42c-.26-.56-.46-1.16-.46-1.96 0-2.34 1.7-3.88 4.24-3.88 2.84 0 4.44 1.7 4.44 4.42l-2.14.1c-.04-1.64-.82-2.54-2.14-2.54-1.26 0-1.82.82-1.82 1.96zm-2.08 7.68c.54 0 .88-.36 1.08-.98-.38-.3-.74-.5-1.1-.5-.5 0-.8.26-.8.76 0 .44.36.72.82.72z",fill:"currentColor"})}),Ji=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1z",fill:"currentColor"})}),Qi=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M15.977 14.472h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49l-4.24-4.26zm-6 0c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5z",fill:"currentColor"})}),eo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M3.671 20.4l17.45-7.48a1 1 0 000-1.84L3.671 3.6a.993.993 0 00-1.39.91l-.01 4.61c0 .5.37.93.87.99L17.271 12l-14.13 1.88c-.5.07-.87.5-.87 1l.01 4.61c0 .71.73 1.2 1.39.91z",fill:"currentColor"})}),to=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M19.432 12.98c.04-.32.07-.64.07-.98 0-.34-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46a.5.5 0 00-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65a.488.488 0 00-.49-.42h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1a.566.566 0 00-.18-.03c-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98 0 .33.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46a.5.5 0 00.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.06.02.12.03.18.03.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zm-1.98-1.71c.04.31.05.52.05.73 0 .21-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.35-2.48-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74 0-.2.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.35 2.48 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7.14 1.13zM12.002 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z",fill:"currentColor"})}),no=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),On.jsx("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),On.jsx("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09 0-.73.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12c0 1.78.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),On.jsx("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]}),io=e=>On.jsxs(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.444 23h17.112A2.444 2.444 0 0023 20.556V3.444A2.444 2.444 0 0020.556 1H3.444A2.444 2.444 0 001 3.444v17.112A2.444 2.444 0 003.444 23z",fill:"#007EBB"}),On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.944 19.944H16.68v-5.56c0-1.524-.58-2.377-1.786-2.377-1.313 0-1.999.887-1.999 2.377v5.56H9.75V9.352h3.146v1.427s.946-1.75 3.194-1.75c2.247 0 3.855 1.371 3.855 4.209v6.706zM5.996 7.964a1.947 1.947 0 01-1.94-1.954c0-1.08.868-1.954 1.94-1.954 1.071 0 1.94.875 1.94 1.954 0 1.08-.869 1.955-1.94 1.955zM4.37 19.945h3.28V9.352h-3.28v10.592z",fill:"#fff"})]}),oo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.167 22.5H3.833A2.333 2.333 0 011.5 20.167V3.833A2.333 2.333 0 013.833 1.5h16.334A2.333 2.333 0 0122.5 3.833v16.334a2.333 2.333 0 01-2.333 2.333zm-3.7-2.917h3.116v-6.402c0-2.708-1.535-4.018-3.68-4.018-2.145 0-3.048 1.671-3.048 1.671V9.472H9.85v10.111h3.004v-5.307c0-1.423.654-2.269 1.907-2.269 1.152 0 1.705.813 1.705 2.268v5.308zm-12.05-13.3c0 1.03.829 1.865 1.852 1.865A1.858 1.858 0 008.12 6.282c0-1.03-.828-1.865-1.851-1.865a1.859 1.859 0 00-1.852 1.865zm3.432 13.3H4.718V9.473h3.131v10.11z",fill:"currentColor"})}),ro=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M7.423 6.387c3.27 0 5.922 2.67 5.922 5.963s-2.651 5.963-5.922 5.963S1.5 15.643 1.5 12.35s2.652-5.963 5.923-5.963zm9.458.349c1.635 0 2.961 2.513 2.961 5.614 0 3.1-1.325 5.614-2.96 5.614-1.636 0-2.962-2.514-2.962-5.614s1.325-5.614 2.96-5.614zm4.578.585c.575 0 1.041 2.251 1.041 5.029 0 2.777-.466 5.03-1.041 5.03-.576 0-1.042-2.253-1.042-5.03s.466-5.03 1.041-5.03z",fill:"currentColor"})}),so=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M11.994 4.523s-6.508 0-8.142.424A2.69 2.69 0 002.013 6.8c-.424 1.634-.424 5.016-.424 5.016s0 3.396.424 5.003a2.65 2.65 0 001.84 1.84c1.646.437 8.14.437 8.14.437s6.521 0 8.155-.425a2.588 2.588 0 001.826-1.839c.437-1.62.437-5.003.437-5.003s.013-3.395-.437-5.029a2.57 2.57 0 00-1.826-1.826c-1.634-.45-8.154-.45-8.154-.45zM9.923 8.69l5.415 3.125-5.415 3.113V8.69z",fill:"currentColor"})}),ao=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M19.648 9.295l-4.84-.42-1.89-4.45c-.34-.81-1.5-.81-1.84 0l-1.89 4.46-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.73 3.67-3.18c.67-.58.32-1.68-.56-1.75zm-7.65 6.36l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38 1.7-4.03 1.71 4.04 4.38.38-3.32 2.88 1 4.28-3.77-2.28z",fill:"currentColor"})}),lo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 17.52l4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.72 3.67-3.18c.67-.58.31-1.68-.57-1.75l-4.83-.41-1.89-4.46c-.34-.81-1.5-.81-1.84 0L9.19 8.88l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5z",fill:"currentColor"})}),co=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M19.648 9.295l-4.84-.42-1.89-4.45c-.34-.81-1.5-.81-1.84 0l-1.89 4.46-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.73 3.67-3.18c.67-.58.32-1.68-.56-1.75zm-7.65 6.36v-9.3l1.71 4.04 4.38.38-3.32 2.88 1 4.28-3.77-2.28z",fill:"currentColor"})}),uo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M13 7.5h5v2h-5v-2zm0 7h5v2h-5v-2zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z",fill:"currentColor"})}),po=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M21 9h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 2 7.59 8.59C7.22 8.95 7 9.45 7 10v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2c0-1.1-.9-2-2-2zm0 4l-3 7H9V10l4.34-4.34L12.23 11H21v2zM1 10h4v12H1V10z",fill:"currentColor"})}),ho=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7z",fill:"currentColor"})}),mo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm3.3 14.71L11 12.41V7h2v4.59l3.71 3.71-1.42 1.41z",fill:"currentColor"})}),fo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M5.83 12L9 8.83 7.59 7.42 3 12l4.59 4.59L9 15.17 5.83 12zm12.34 0L15 15.17l1.41 1.41L21 12l-4.59-4.59L15 8.83 18.17 12z",fill:"currentColor"})}),go=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z",fill:"currentColor"})}),xo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M19.35 10.04A7.49 7.49 0 0012 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 000 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l4.65-4.65c.2-.2.51-.2.71 0L17 13h-3z",fill:"currentColor"})}),vo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M12 4.494l7.53 13.01H4.47L12 4.494zm-9.26 12.01c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3l-7.53-13.01c-.77-1.33-2.69-1.33-3.46 0l-7.53 13.01zm8.26-7v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zm0 5h2v2h-2v-2z",fill:"currentColor"})}),yo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M20 6.5h-4v-2c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19.5c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2v-11c0-1.11-.89-2-2-2zm-6 0h-4v-2h4v2z",fill:"currentColor"})}),bo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M15.97 14.472h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34-4.23-.52-7.78 3.04-7.27 7.27.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.26 4.25c.41.41 1.07.41 1.48 0l.01-.01c.41-.41.41-1.07 0-1.48l-4.25-4.26zm-6 0c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5zm0-7c-.28 0-.5.22-.5.5v1.5h-1.5c-.28 0-.5.22-.5.5s.22.5.5.5h1.5v1.5c0 .28.22.5.5.5s.5-.22.5-.5v-1.5h1.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1.5v-1.5c0-.28-.22-.5-.5-.5z",fill:"currentColor"})}),wo=e=>On.jsx(v,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:On.jsx("path",{d:"M15.972 14.472h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.26 4.25c.41.41 1.07.41 1.48 0l.01-.01c.41-.41.41-1.07 0-1.48l-4.25-4.26zm-6 0c-2.49 0-4.5-2.01-4.5-4.5s2.01-4.5 4.5-4.5 4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5zm-2-5h4c.28 0 .5.22.5.5s-.22.5-.5.5h-4c-.28 0-.5-.22-.5-.5s.22-.5.5-.5z",fill:"currentColor"})}),jo={xs:2*wn,sm:2*wn,md:2*wn,lg:2.5*wn,xl:3*wn},Co=({color:e,name:t,size:n,sx:i,...o})=>{const r={sx:ye({color:e,height:n||jo.xl,width:n||jo.xl},i),...o};switch(t){case"brand-wordmark":return On.jsx(Qn,{...r});case"brand-logomark":return On.jsx(Jn,{...r});case"menu":return On.jsx(Ii,{...r});case"menu-open":return On.jsx($i,{...r});case"chevron-up":return On.jsx(ai,{...r});case"chevron-down":return On.jsx(oi,{...r});case"chevron-left":return On.jsx(ri,{...r});case"chevron-right":return On.jsx(si,{...r});case"arrow-left":return On.jsx(Hn,{...r});case"arrow-right":return On.jsx(Nn,{...r});case"search":return On.jsx(Qi,{...r});case"close":return On.jsx(li,{...r});case"more-horizontal":return On.jsx(Hi,{...r});case"more-vertical":return On.jsx(Ni,{...r});case"home":return On.jsx(Ei,{...r});case"home-filled":return On.jsx(Vi,{...r});case"settings":return On.jsx(to,{...r});case"controls":return On.jsx(di,{...r});case"help":return On.jsx(Ri,{...r});case"filter-list":return On.jsx(Si,{...r});case"open-in-new":return On.jsx(Gi,{...r});case"nav-toggle":return On.jsx(Ui,{...r});case"nav-collapse":return On.jsx(Wi,{...r});case"nav-expand":return On.jsx(_i,{...r});case"play-circle":return On.jsx(qi,{...r});case"play-video":return On.jsx(Ki,{...r});case"email":return On.jsx(yi,{...r});case"document":return On.jsx(fi,{...r});case"folder":return On.jsx(Pi,{...r});case"attach-file":return On.jsx(Wn,{...r});case"photo-add":return On.jsx(Yi,{...r});case"upload":return On.jsx(go,{...r});case"upload-cloud":return On.jsx(xo,{...r});case"time":return On.jsx(ho,{...r});case"time-filled":return On.jsx(mo,{...r});case"zoom-in":return On.jsx(bo,{...r});case"zoom-out":return On.jsx(wo,{...r});case"add":return On.jsx(In,{...r});case"remove":return On.jsx(Ji,{...r});case"test":return On.jsx(uo,{...r});case"dashboard":return On.jsx(hi,{...r});case"list-view":return On.jsx(Di,{...r});case"grid-view":return On.jsx(Ai,{...r});case"grid-view-filled":return On.jsx(zi,{...r});case"eye":return On.jsx(Ci,{...r});case"eye-off":return On.jsx(ki,{...r});case"notification":return On.jsx(Zi,{...r});case"pound":return On.jsx(Xi,{...r});case"euro":return On.jsx(wi,{...r});case"dollar":return On.jsx(gi,{...r});case"send":return On.jsx(eo,{...r});case"comment":return On.jsx(ci,{...r});case"chat":return On.jsx(ti,{...r});case"error":return On.jsx(bi,{...r});case"warning":return On.jsx(vo,{...r});case"lightbulb":return On.jsx(Bi,{...r});case"check-circle":return On.jsx(ii,{...r});case"thumb-up":return On.jsx(po,{...r});case"info":return On.jsx(Li,{...r});case"info-filled":return On.jsx(Fi,{...r});case"cancel":return On.jsx(ei,{...r});case"compress":return On.jsx(ui,{...r});case"expand":return On.jsx(ji,{...r});case"unfold":return On.jsx(fo,{...r});case"drag-handle":return On.jsx(xi,{...r});case"focus":return On.jsx(Mi,{...r});case"lock":return On.jsx(Oi,{...r});case"copy":return On.jsx(pi,{...r});case"edit":return On.jsx(vi,{...r});case"delete":return On.jsx(mi,{...r});case"check":return On.jsx(ni,{...r});case"star":return On.jsx(ao,{...r});case"star-half":return On.jsx(co,{...r});case"star-filled":return On.jsx(lo,{...r});case"ai":return On.jsx($n,{...r});case"work":return On.jsx(yo,{...r});case"gift":return On.jsx(Ti,{...r});case"social-medium-single-colour":return On.jsx(ro,{...r});case"social-linkedin-single-colour":return On.jsx(oo,{...r});case"social-youtube-single-colour":return On.jsx(so,{...r});case"social-linkedin-full-colour":return On.jsx(io,{...r});case"social-google-full-colour":return On.jsx(no,{...r});case"badge-tick":return On.jsx(Kn,{...r});case"badge-tick-in-circle":return On.jsx(Xn,{...r});case"badge-cross":return On.jsx(_n,{...r});case"badge-cross-in-circle":return On.jsx(Un,{...r});case"badge-hyphen":return On.jsx(Zn,{...r});case"badge-hyphen-in-circle":return On.jsx(Gn,{...r});case"badge-question":return On.jsx(Yn,{...r});case"badge-question-in-circle":return On.jsx(qn,{...r});default:return On.jsx(On.Fragment,{})}},ko=e=>({boxShadow:e.custom.elevation.raised}),So=e=>({boxShadow:e.custom.elevation.overlay}),Mo=(e,t)=>{switch(t){case"xs":return e.spacing(e.custom.radius.xs);case"sm":return e.spacing(e.custom.radius.sm);case"md":return e.spacing(e.custom.radius.md);case"lg":return e.spacing(e.custom.radius.lg);default:return e.spacing(e.custom.radius.xl)}},Po=(e,t)=>{switch(e){case"sunken":return t.custom.palette.surface.sunken;case"raised":return t.custom.palette.surface.raised;case"overlay":return t.custom.palette.surface.overlay;default:return t.custom.palette.surface.default}},To=y(b)((({theme:e,variation:t="default",borderradius:n})=>({boxShadow:"unset",borderRadius:Mo(e,n),background:Po(t,e),..."overlay"===t&&{...So(e)},..."raised"===t&&{...ko(e)}}))),Ao=({children:e,variation:t="overlay",sx:n,...i})=>On.jsx(To,{variation:t,...i,sx:ye(n||{},{}),children:e}),zo=({children:e,headContent:t,sx:n,...i})=>{const o=w();return On.jsxs(Ao,{...i,sx:ye(n,{mx:[o.spacing(o.custom.margin.md),0],width:1,maxWidth:[512]}),children:[t&&On.jsx(j,{sx:{width:"100%",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit",pt:o.spacing(o.custom.margin.md),px:o.spacing(o.custom.margin.md)},children:t}),On.jsx(j,{sx:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",pt:t?[o.spacing(o.custom.margin.md)]:[o.spacing(o.custom.padding.lg),o.spacing(o.custom.padding.xl)],px:[o.spacing(o.custom.padding.lg),o.spacing(o.custom.padding.xl)],pb:[o.spacing(o.custom.padding.lg),o.spacing(o.custom.padding.xl)]},children:e})]})},Ro=y(C)((({theme:e,disabled:t})=>({"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus,borderRadius:e.spacing(e.custom.radius.sm),outline:"none"},"&.MuiLink-root":{transition:"all 200ms ease",display:"inline",cursor:"pointer",color:t?e.custom.palette.text.lockedWhite:e.custom.palette.text.link,textDecorationColor:e.custom.palette.text.link,pointerEvents:t?"none":"auto","&:hover":{color:t?e.custom.palette.text.disabled:e.custom.palette.text.linkHover,textDecorationColor:t?e.custom.palette.text.disabled:e.custom.palette.text.linkHover},"&:active":{color:e.custom.palette.text.linkHover,textDecorationColor:e.custom.palette.text.linkHover},"&:visited":{color:t?e.custom.palette.text.disabled:e.custom.palette.text.link,textDecorationColor:t?e.custom.palette.text.disabled:e.custom.palette.text.link}}}))),Eo=e=>e.target&&"_blank"===e.target?On.jsx(Ro,{rel:"noopener",...e}):On.jsx(Ro,{...e}),Vo=e=>"bold"===e?zn.BOLD:zn.DEFAULT,Lo=({component:e,weight:t="default",variation:n,clamp:i=0,type:o="default",...r})=>On.jsx(k,{component:e,fontWeight:Vo(t),variant:n,...r,sx:ye(r.sx,!!i&&{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:i},"button"===o&&{lineHeight:1.2})}),Fo=y(j)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(.5)}))),Bo=y(Eo)((({theme:e})=>({[`&.${S.root}`]:{"&:hover":{textDecorationColor:e.custom.palette.text.secondary}}}))),Do=y(Lo)((({theme:e})=>({color:e.custom.palette.text.secondary}))),Oo=y(Lo)((({theme:e})=>({color:e.custom.palette.text.secondary}))),Io=({links:e})=>On.jsx(Fo,{children:e?.map(((t,i)=>On.jsxs(n,{children:[t.href?On.jsx(Bo,{underline:"hover",href:t.href,children:On.jsx(Do,{variation:"sm",component:"p",children:t.label})},t.label):On.jsx(Do,{variation:"sm",component:"p",children:t.label}),On.jsx(Oo,{variation:"sm",component:"p",children:i+1<e?.length?"/":""})]},t.label)))}),$o=y(M)((()=>({color:"inherit",position:"absolute",padding:2}))),Ho=({sizing:e,...t})=>On.jsx($o,{size:e?jo[e]:40,...t}),No=({children:e,message:t,variation:n="primary",...i})=>{const o=w();if("primary"===n)return On.jsx(P,{...i,componentsProps:{popper:{sx:{"& .MuiTooltip-tooltip":{borderRadius:o.spacing(o.custom.radius.sm),filter:`drop-shadow(${o.custom.elevation.overlay})`}}}},title:t,arrow:!0,sx:{maxWidth:300},role:"tooltip",children:On.jsx(j,{sx:{cursor:"pointer",display:"flex",alignItems:"center"},children:e})})},Wo=e=>({backgroundColor:e.custom.palette.interaction.none,color:e.custom.palette.icon.primary}),_o=e=>({backgroundColor:e.custom.palette.purple[100],color:e.custom.palette.icon.primary,"& .MuiButtonBase-root":{":hover":{background:e.custom.palette.interaction.hoverOnDark},":active":{background:e.custom.palette.interaction.pressOnDark}}}),Uo=e=>({backgroundColor:e.custom.palette.surface.raised,border:`1px solid ${e.custom.palette.stroke.default}`,color:e.custom.palette.icon.primary,"&.MuiIconButton-root:disabled":{border:"none"}}),Zo=e=>({backgroundColor:e.custom.palette.surface.raised,boxShadow:e.custom.elevation.raised,color:e.custom.palette.icon.primary,"&:focus-visible:after":{boxShadow:e.custom.boxShadow.input.focus},"&.MuiIconButton-root:disabled":{boxShadow:"none"}}),Go=(e,t)=>({borderRadius:"default"===e?t.spacing(t.custom.radius.md):t.custom.radius.round}),Yo={xs:3*wn,sm:3.5*wn,md:4*wn,lg:5*wn,xl:6*wn},qo=e=>({height:Yo[e],width:Yo[e]}),Ko={xs:2*wn,sm:2*wn,md:2*wn,lg:2.5*wn,xl:3*wn},Xo=e=>({height:Ko[e],width:Ko[e]}),Jo=y(T)((({theme:e,variation:t,shape:n="default",sizing:i})=>({boxSizing:"border-box",transition:"all 200ms ease",...n&&{...Go(n,e)},...i&&{...qo(i)},"&.MuiIconButton-root":{..."default"===t&&{...Wo(e)},..."toggle"===t&&{..._o(e)},..."outlined"===t&&{...Uo(e)},..."raised"===t&&{...Zo(e)},...n&&{...Go(n,e)},"&:hover":{backgroundColor:e.custom.palette.interaction.hover},"&:focus":{backgroundColor:e.custom.palette.interaction.hover},"&:active":{backgroundColor:e.custom.palette.interaction.press},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.icon.disabled}},"& .MuiSvgIcon-root":{...i&&{...Xo(i)},position:"relative",zIndex:1}}))),Qo=({icon:e,loading:t,tooltipMessage:n,sizing:i,slotProps:o,...r})=>{const s=()=>On.jsx(Jo,{...r,sizing:i,children:t?On.jsx(Ho,{sizing:i}):e});return n?On.jsx(No,{message:n,...o?.tooltip,children:s()}):s()},er=y(j)((({theme:e})=>({alignItems:"center",backgroundColor:e.custom.palette.surface.default,borderBottom:`0.5px solid ${e.custom.palette.stroke.default}`,display:"flex",gap:e.spacing(1),justifyContent:"space-between",padding:1}))),tr=y(j)((({theme:e})=>({borderBottom:`0.5px solid ${e.custom.palette.stroke.default}`,width:"100%"}))),nr=y(j)((({theme:e})=>({display:"flex",justifyContent:"flex-end",padding:e.spacing(1)}))),ir=y(j)((({theme:e})=>({backgroundColor:e.custom.palette.surface.sunken,borderRadius:e.spacing(e.custom.radius.lg),color:"red",display:"flex",gap:e.spacing(.5),justifyContent:"flex-end",padding:e.spacing(1)}))),or=y(j)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1)}))),rr=({backHref:e,title:t,breadcrumbLinks:n,buttons:i,controlBar:o})=>On.jsxs(On.Fragment,{children:[On.jsx(er,{sx:{justifyContent:"space-between"},children:On.jsx(A,{children:On.jsx(z,{container:!0,spacing:2,children:On.jsx(z,{sm:!0,children:On.jsxs(or,{sx:{justifyContent:"space-between",py:1},children:[On.jsxs(or,{children:[e&&On.jsx(Qo,{sizing:"lg",icon:On.jsx(Co,{name:"arrow-left",size:20})}),On.jsxs(or,{sx:{alignItems:"flex-start",flexDirection:"column",gap:0},children:[t&&On.jsx(Lo,{variation:"lg",component:"p",weight:"bold",children:t}),n&&On.jsx(Io,{links:n})]})]}),i&&On.jsx(or,{children:i})]})})})})}),o&&On.jsx(tr,{children:On.jsx(A,{children:On.jsx(z,{container:!0,spacing:2,children:On.jsx(z,{sm:!0,children:On.jsx(nr,{children:On.jsx(ir,{children:o})})})})})})]}),sr=["xxs","xs","sm","md","lg","xl","xxl","xxxl"],ar=(e,t=16)=>{const n=1/t*e;return Math.round(1e3*n)/1e3},lr=(e,t="xs")=>{const n=sr.reduce(((n,i,o)=>{const r=sr.indexOf(t)||0,s=Number((16*Math.pow(e,o-r)).toFixed(2));return n[i]=s,n}),{}),i={};for(const[e,t]of Object.entries(n))i[e]=ar(t)+"rem";return i},cr={lg:{headline:lr(1.309,"xs"),body:lr(1.125,"md")},sm:{headline:lr(1.125,"xs"),body:lr(1.1,"md")},button:lr(1.125,"md")},ur=e=>{const t=sr.map((t=>({props:{variant:t},style:{fontFamily:`${Rn.FontStack.Serif}`,fontSize:cr[e].headline[t]}}))),n=sr.map((t=>({props:{variant:t,component:"h5"},style:{fontFamily:`${Rn.FontStack.SansSerif}`,fontSize:cr[e].body[t]}}))),i=sr.map((t=>({props:{variant:t,component:"h6"},style:{fontFamily:`${Rn.FontStack.SansSerif}`,fontSize:cr[e].body[t]}})));return[...t,...sr.map((t=>({props:{variant:t,component:"p"},style:{fontFamily:`${Rn.FontStack.SansSerif}`,fontSize:cr[e].body[t]}}))),...n,...i]},dr={xxs:cr.button.xxs,xs:cr.button.xs,sm:cr.button.sm,md:cr.button.sm,lg:cr.button.md,xl:cr.button.lg,xxl:cr.button.xl,xxxl:cr.button.xxl},pr=e=>({backgroundColor:e.custom.palette.surface.transparent,fontWeight:300,"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus}}),hr=e=>({backgroundColor:e.custom.palette.surface.raised,border:`1px solid ${e.custom.palette.stroke.default}`,"&:hover":{backgroundColor:e.custom.palette.surface.raised},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus},"&:active":{backgroundColor:e.custom.palette.surface.raised},"&:disabled":{border:`1px solid ${e.custom.palette.stroke.disabled}`}}),mr=e=>({backgroundColor:e.custom.palette.purple[0],"&:hover":{backgroundColor:e.custom.palette.purple[0]},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus},"&:active":{backgroundColor:e.custom.palette.purple[0]}}),fr=e=>({backgroundColor:e.custom.palette.purple[500],color:e.custom.palette.text.lockedWhite,"&:hover":{backgroundColor:e.custom.palette.purple[500],color:e.custom.palette.text.lockedWhite,"&::before":{backgroundColor:e.custom.palette.interaction.hoverOnDark}},"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus,"&::before":{backgroundColor:e.custom.palette.interaction.hoverOnDark}},"&:active":{backgroundColor:e.custom.palette.purple[500],color:e.custom.palette.text.lockedWhite,"&::before":{backgroundColor:e.custom.palette.interaction.pressOnDark}}}),gr=(e,t)=>({cursor:"pointer","&:hover":{backgroundColor:e.custom.palette.interaction.hover},"&:focus":{backgroundColor:e.custom.palette.interaction.hover},"&:active":{backgroundColor:e.custom.palette.interaction.press},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.text.disabled},...t&&{backgroundColor:e.custom.palette.interaction.press,"&:hover":{backgroundColor:e.custom.palette.interaction.press},"&:focus":{backgroundColor:e.custom.palette.interaction.press},"&:active":{backgroundColor:e.custom.palette.interaction.press}},...pr(e)}),xr={xs:3*wn,sm:3.5*wn,md:4*wn,lg:5*wn,xl:6*wn,xxl:7*wn,xxxl:8*wn},vr={xs:.5*wn,sm:.5*wn,md:wn,lg:wn,xl:wn,xxl:wn,xxxl:wn},yr=e=>({"& .MuiButton-icon":{margin:0,".MuiSvgIcon-root":{height:jo[e],width:jo[e]}}}),br=e=>({"& .MuiBox-root":{lineHeight:"120%",fontSize:dr[e],paddingLeft:vr[e],paddingRight:vr[e]}}),wr=e=>({height:xr[e],paddingLeft:wn,paddingRight:wn}),jr=y(R)((({theme:e,loading:t})=>({boxSizing:"border-box",position:"relative",overflow:"hidden",borderRadius:e.spacing(e.custom.radius.md),textTransform:"none",minWidth:52,"&::before":{content:'""',backgroundColor:"transparent",transition:"all 200ms ease",position:"absolute",inset:0,zIndex:1},"& > .MuiBox-root, & .MuiButton-icon":{overflowWrap:"normal",position:"relative",zIndex:2},"& > .MuiButton-startIcon, & > .MuiButton-endIcon":{visibility:t?"hidden":"visible"}}))),Cr=y(j)((({theme:e})=>({alignItems:"center",cursor:"pointer",display:"flex",flexDirection:"column",gap:e.spacing(.5),justifyContent:"center",transition:e.custom.easing.input}))),kr=y(j)((({theme:e})=>({alignItems:"center",color:e.custom.palette.text.secondary,display:"flex",opacity:0,transition:e.custom.easing.input}))),Sr=y(Lo)((({active:e,theme:t})=>({color:e?t.custom.palette.text.primary:t.custom.palette.text.secondary,textAlign:"center"}))),Mr=(e,t)=>{switch(e){case"sm":return t.spacing(.5625);case"md":return t.spacing(.8125);case"lg":return t.spacing(1)}},Pr=y(R)((({active:e,fullWidth:t,sizing:n,theme:i})=>({...gr(i,e),alignItems:"center",backgroundColor:e?i.custom.palette.interaction.press:"transparent",borderRadius:i.spacing(i.custom.radius.md),color:i.custom.palette.text.primary,display:"flex",gap:i.spacing(1),justifyContent:t?"space-between":"center",minWidth:0,padding:Mr(n,i),textTransform:"none",width:t?"100%":"auto","&:hover":{...gr(i,e)["&:hover"],[`.${E.root}`]:{opacity:1}},"&:focus":{...gr(i,e)["&:focus"],[`.${E.root}`]:{opacity:1}}}))),Tr=({active:e,fullWidth:t=!0,danger:n,href:o,icon:r,label:s,navigationSizing:a,onClick:l,sizing:c="lg"})=>{const u=w(),d=i(null);return On.jsxs(Cr,{onClick:l,children:[On.jsxs(Pr,{active:!o&&e,sizing:c,fullWidth:t,children:[On.jsxs(j,{display:"flex",alignItems:"center",justifyContent:"center",gap:1.5,ref:d,children:[r&&On.jsx(Co,{name:r,size:24}),"lg"===a&&On.jsx(V,{in:!0,direction:"right",container:d.current,children:On.jsx(j,{sx:{display:"flex"},children:On.jsx(L,{in:!0,style:{transitionDelay:"100ms"},children:On.jsx(j,{sx:{display:"flex"},children:On.jsx(Lo,{component:"p",variation:"sm"===c?"xs":"md",type:"button",clamp:1,sx:ye(n&&{color:u.custom.palette.text.negative}),children:s})})})})})]}),"lg"===a&&o&&On.jsx(kr,{children:On.jsx(Co,{name:"open-in-new",size:20})})]}),"sm"===a&&On.jsx(F,{in:!0,style:{transformOrigin:"0 100%",transitionDelay:"100ms"},children:On.jsx(j,{children:On.jsx(Sr,{active:e,component:"p",type:"button",variation:"xs",sx:ye(n&&{color:u.custom.palette.text.negative}),children:s})})})]})};function Ar(t){if("undefined"==typeof window)return t;const n=e.useRef(null);return e.useLayoutEffect((()=>{n.current=t})),e.useCallback(((...e)=>{var t;null===(t=n.current)||void 0===t||t.call(n,...e)}),[])}const zr={};const Rr={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1},Er=e,Vr="useId"in Er?()=>Er.useId():()=>{};function Lr({parentPopupState:e,popupId:t=Vr(),variant:n,disableAutoFocus:a}){const l=i(!0);o((()=>(l.current=!0,()=>{l.current=!1})),[]);const[c,u]=r(Rr),d=s((e=>{l.current&&u(e)}),[]),p=s((e=>d((t=>({...t,setAnchorElUsed:!0,anchorEl:e??void 0})))),[]),h=Ar((e=>(c.isOpen?g(e):m(e),c))),m=Ar((t=>{const i=t instanceof Element?void 0:t,o=t instanceof Element?t:(null==t?void 0:t.currentTarget)instanceof Element?t.currentTarget:void 0;if("touchstart"===(null==i?void 0:i.type))return void d((e=>({...e,_deferNextOpen:!0})));const r=null==i?void 0:i.clientX,s=null==i?void 0:i.clientY,a="number"==typeof r&&"number"==typeof s?{left:r,top:s}:void 0,l=r=>{var s,l;if(t||r.setAnchorElUsed||"dialog"===n||(l="eventOrAnchorEl should be defined if setAnchorEl is not used",zr[s="missingEventOrAnchorEl"]||(zr[s]=!0,console.error("[material-ui-popup-state] WARNING",l))),e){if(!e.isOpen)return r;setTimeout((()=>e._setChildPopupState(w)))}const c={...r,isOpen:!0,anchorPosition:a,hovered:"mouseover"===(null==i?void 0:i.type)||r.hovered,focused:"focus"===(null==i?void 0:i.type)||r.focused,_openEventType:null==i?void 0:i.type};return r.setAnchorElUsed||(null!=i&&i.currentTarget?c.anchorEl=null==i?void 0:i.currentTarget:o&&(c.anchorEl=o)),c};d((e=>e._deferNextOpen?(setTimeout((()=>d(l)),0),{...e,_deferNextOpen:!1}):l(e)))})),f=t=>{const{_childPopupState:n}=t;return setTimeout((()=>{null==n||n.close(),null==e||e._setChildPopupState(null)})),{...t,isOpen:!1,hovered:!1,focused:!1}},g=Ar((e=>{const t=e instanceof Element?void 0:e;"touchstart"!==(null==t?void 0:t.type)?d((e=>e._deferNextClose?(setTimeout((()=>d(f)),0),{...e,_deferNextClose:!1}):f(e))):d((e=>({...e,_deferNextClose:!0})))})),x=s(((e,t)=>{e?m(t):g(t)}),[]),v=Ar((e=>{const{relatedTarget:t}=e;d((e=>!e.hovered||t instanceof Element&&Dr(t,w)?e:e.focused?{...e,hovered:!1}:f(e)))})),y=Ar((e=>{if(!e)return;const{relatedTarget:t}=e;d((e=>!e.focused||t instanceof Element&&Dr(t,w)?e:e.hovered?{...e,focused:!1}:f(e)))})),b=s((e=>d((t=>({...t,_childPopupState:e})))),[]),w={...c,setAnchorEl:p,popupId:t??void 0,variant:n,open:m,close:g,toggle:h,setOpen:x,onBlur:y,onMouseLeave:v,disableAutoFocus:a??Boolean(c.hovered||c.focused),_setChildPopupState:b};return w}function Fr({isOpen:e,popupId:t,variant:n}){return{..."popover"===n?{"aria-haspopup":!0,"aria-controls":e?t:void 0}:"popper"===n?{"aria-describedby":e?t:void 0}:void 0}}function Br({isOpen:e,anchorEl:t,popupId:n,onMouseLeave:i}){return{id:n,anchorEl:t,open:e,onMouseLeave:i}}function Dr(e,t){const{anchorEl:n,_childPopupState:i}=t;return Or(n,e)||Or(function(e,{popupId:t}){if(!t)return null;const n="function"==typeof e.getRootNode?e.getRootNode():document;return"function"==typeof n.getElementById?n.getElementById(t):null}(e,t),e)||null!=i&&Dr(e,i)}function Or(e,t){if(!e)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}const Ir={trigger:function(e){return{...Fr(e),onClick:e.open,onTouchStart:e.open}},contextMenu:function(e){return{...Fr(e),onContextMenu:t=>{t.preventDefault(),e.open(t)}}},toggle:function(e){return{...Fr(e),onClick:e.toggle,onTouchStart:e.toggle}},hover:function(e){const{open:t,onMouseLeave:n}=e;return{...Fr(e),onTouchStart:t,onMouseOver:t,onMouseLeave:n}},focus:function(e){const{open:t,onBlur:n}=e;return{...Fr(e),onFocus:t,onBlur:n}},doubleClick:function({isOpen:e,open:t,popupId:n,variant:i}){return{["popover"===i?"aria-controls":"aria-describedby"]:e?n:null,"aria-haspopup":"popover"===i||void 0,onDoubleClick:t}}},$r=({bindOn:e=["toggle"],trigger:t,children:n,...i})=>{const o=Lr({variant:"popper"}),r={transition:!0,...i.popperProps},s={...i.clickAwayListenerProps,onClickAway:e=>{i.clickAwayListenerProps?.onClickAway?i.clickAwayListenerProps.onClickAway(e,o):o.close()}},l={timeout:350,...i.transitionFadeProps},{sx:c,...u}={variation:"overlay",borderradius:"md",...i.surfaceProps},d=a((()=>e.reduce(((e,t)=>({...e,...Ir[t](o)})),{})),[e]);return On.jsxs(On.Fragment,{children:[On.jsx(j,{...d,children:t(o)}),On.jsx(B,{...Br(o),...r,children:({TransitionProps:e})=>On.jsx(D,{...s,children:On.jsx(L,{...e,...l,children:On.jsx(j,{children:On.jsx(Ao,{sx:ye({p:2},c),...u,children:n})})})})})]})},Hr=({children:e,description:t,title:n})=>On.jsxs(O,{sx:{gap:2,p:1},children:[On.jsxs(O,{sx:{gap:1},children:[On.jsx(Lo,{variation:"sm",component:"p",weight:"bold",children:n}),On.jsx(Lo,{variation:"sm",component:"p",children:t})]}),e]}),Nr=y(Qo)((({theme:e})=>({alignItems:"center",display:"flex",height:40,justifyContent:"center",position:"relative",width:40,...gr(e)}))),Wr=y(j)((({theme:e})=>({background:e.custom.palette.red[500],borderRadius:e.custom.radius.round,height:e.spacing(1),position:"absolute",right:e.spacing(.5),top:e.spacing(.5),width:e.spacing(1)}))),_r=({notification:e,onClick:t})=>On.jsxs(j,{sx:{position:"relative"},children:[On.jsx(Nr,{icon:On.jsx(Co,{name:"notification"}),variation:"raised",onClick:t}),e&&On.jsx(L,{in:!0,style:{transitionDelay:"200ms"},children:On.jsx(j,{children:On.jsx(Wr,{})})})]}),Ur=({children:e,description:t,title:n,navigationSizing:i})=>"sm"===i?On.jsx($r,{popperProps:{placement:"right-end"},surfaceProps:{variation:"raised",sx:{maxWidth:200,p:1,ml:1}},bindOn:["trigger"],trigger:()=>On.jsx(F,{in:!0,style:{transformOrigin:"0 100%"},children:On.jsx(j,{children:On.jsx(_r,{notification:!0})})}),children:On.jsx(Hr,{description:t,title:n,children:e})}):On.jsx(F,{in:!0,style:{transformOrigin:"0 100%",transitionDelay:"100ms"},children:On.jsx(j,{sx:{display:"flex"},children:On.jsx(Ao,{variation:"raised",borderradius:"md",sx:{maxWidth:200,minHeight:40,width:"100%",p:1},children:On.jsx(Hr,{description:t,title:n,children:e})})})}),Zr=({sizing:e="lg",children:t,...n})=>{const{custom:i}=w();switch(e){case"sm":return On.jsx(I,{sx:{border:`1px solid ${i.palette.stroke.default}`,height:32,width:32},...n,children:t});case"lg":return On.jsx(I,{sx:{border:`1px solid ${i.palette.stroke.default}`,height:48,width:48},...n,children:t})}},Gr=y(j)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),Yr=y(O)((({withMenu:e})=>({textAlign:"left",width:e?118:152,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}))),qr=y(O)((({theme:e})=>({alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),Kr=y(R)((({active:e,navigationSizing:t,theme:n})=>({...gr(n,e),textTransform:"none",borderRadius:n.spacing("lg"===t?n.custom.radius.md:n.custom.radius.round),justifyContent:"flex-start",minWidth:0,padding:n.spacing(.5),width:"100%",overflow:"hidden"}))),Xr=({active:e,avatar:t,email:n,name:o,navigationSizing:r,withMenu:s})=>{const a=w(),l=i(null);return On.jsx(Kr,{active:e,navigationSizing:r,children:On.jsxs(Gr,{ref:l,children:[On.jsx(Zr,{src:t,sizing:"sm"}),On.jsx(L,{in:!0,children:On.jsxs(Gr,{children:[On.jsxs(Yr,{withMenu:s,children:[On.jsx(Lo,{variation:"sm",component:"p",type:"button",noWrap:!0,children:o}),On.jsx(Lo,{variation:"xs",component:"p",type:"button",noWrap:!0,sx:{color:a.custom.palette.text.secondary},children:n})]}),s&&On.jsx(qr,{children:On.jsx(Co,{name:"chevron-right",size:24})})]})})]})})},Jr=y(R)((({active:e,theme:t})=>({borderRadius:t.spacing(t.custom.radius.sm),maxWidth:"100%",padding:t.spacing(.5,1),textTransform:"none",width:"100%",...gr(t,e)}))),Qr=y(j)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"}))),es=y(O)((({theme:e})=>({height:24,width:24,alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"}))),ts=({active:e,danger:t,hasChildren:n,label:i,selected:o,onClick:r})=>{const s=w();return On.jsx(Jr,{active:e,onClick:r,children:On.jsxs(Qr,{sx:{flex:1},children:[On.jsx(Qr,{children:On.jsx(Lo,{component:"p",sx:ye(t&&{color:s.custom.palette.text.negative}),type:"button",variation:"md",children:i})}),On.jsxs(es,{children:[n&&On.jsx(Co,{name:"chevron-right",size:24}),o&&On.jsx(Co,{name:"check",size:24})]})]})})},ns=({avatar:e,email:t,menuItems:n,name:i,navigationSizing:o})=>On.jsx($r,{popperProps:{placement:"right-end"},surfaceProps:{sx:{ml:1,p:1,width:192}},bindOn:["trigger"],trigger:r=>On.jsx(Xr,{active:r.isOpen,avatar:e,email:t,name:i,navigationSizing:o,withMenu:!!n?.length}),children:On.jsx(On.Fragment,{children:n?.map(is)})}),is=(e,t)=>e.children?.length?On.jsx($r,{popperProps:{placement:"right-end"},surfaceProps:{sx:{p:1,width:192}},bindOn:["trigger","hover"],trigger:t=>On.jsx(ts,{label:e.label,active:t.isOpen,hasChildren:!0,selected:e.selected,danger:e.danger,onClick:e.onClick}),children:On.jsx(On.Fragment,{children:e?.children?.map(is)})},`${e.label}-${t}`):On.jsx(ts,{label:e.label,selected:e.selected,danger:e.danger,onClick:e.onClick},`${e.label}-${t}`),os=()=>On.jsxs(v,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",style:{height:40,width:40},children:[On.jsx("rect",{x:"5",y:"5",width:"30",height:"30",rx:"15",fill:"#7F4CFF"}),On.jsx("path",{d:"M14.375 12.5H21.875V13.4375C20 13.4375 20 15.3125 20 15.3125V25.625H22.8125C22.8125 25.625 24.6875 25.625 24.6875 22.8125H26.5625L25.625 27.5H14.375V25.625C16.25 25.625 16.25 23.75 16.25 23.75V15.3125C16.25 15.3125 16.25 13.4375 14.375 13.4375V12.5Z",fill:"white"})]}),rs=()=>{const e=w();return On.jsxs(v,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 53 19",style:{height:19,width:53},sx:{"&.MuiSvgIcon-root path":{fill:"light"===e.palette.mode?e.custom.palette.icon.primary:e.custom.palette.icon.lockedWhite}},children:[On.jsx("path",{d:"M5.759 15.754c-.854-.6-1.033-.778-1.033-2.098V3H0v.2l.008.005c.868.535 1.263.778 1.263 2.092v8.359c0 1.32-.179 1.498-1.033 2.098v.2h5.52v-.2Z"}),On.jsx("path",{fillRule:"evenodd",d:"M6.015 11.947c.537 3.068 3.314 4.644 6.229 4.128 2.913-.517 4.986-2.962 4.45-6.022-.537-3.06-3.314-4.646-6.23-4.129-2.914.518-4.986 2.955-4.449 6.023Zm3.599-.639c-.514-2.95-.306-4.285 1.002-4.517 1.31-.234 1.964.946 2.479 3.896.514 2.95.307 4.28-1.003 4.517-1.31.238-1.964-.946-2.478-3.896ZM23.64 16.075c-2.913.516-5.69-1.06-6.228-4.128-.538-3.068 1.535-5.505 4.45-6.023 2.915-.517 5.69 1.068 6.229 4.128.538 3.06-1.537 5.506-4.45 6.023Zm-1.626-9.284c-1.31.232-1.517 1.567-1.003 4.517s1.168 4.134 2.478 3.9c1.31-.232 1.517-1.566 1.003-4.516s-1.168-4.135-2.478-3.901Z",clipRule:"evenodd"}),On.jsx("path",{fillRule:"evenodd",d:"M34.091 18.756c-.993-.565-1.35-.769-1.35-2.054l.003-2.396c.515 1.039 1.548 1.858 3.256 1.858 2.581 0 4.627-1.964 4.627-5.34 0-3.435-1.995-4.973-4.27-4.973-1.866 0-3.158 1.059-3.613 2.517l-.08-2.317h-4.567v.191c.854.558 1.19.778 1.19 2.097v8.363c0 1.318-.177 1.498-1.033 2.098v.2h5.915v-.2l-.078-.044Zm.814-3.808c-1.212 0-2.165-1.378-2.165-2.975V10.55c0-1.777.854-3.117 2.165-3.117 1.37 0 2.044 1.26 2.044 3.396 0 2.82-.694 4.119-2.044 4.119Z",clipRule:"evenodd"}),On.jsx("path",{d:"M51.545 16.124c.642 0 1.163-.524 1.163-1.17 0-.646-.52-1.17-1.163-1.17s-1.163.524-1.163 1.17c0 .646.52 1.17 1.163 1.17ZM46.212 9.195c-1.33-.395-2.079-.617-2.079-1.411 0-.665.607-.96 1.274-.96 1.292 0 2.304.74 3.476 2.458h.278V5.847h-.199l-.893.659-.117-.049c-.735-.305-1.47-.61-2.584-.61-2.125 0-3.813 1.318-3.813 3.275 0 1.757.836 2.757 3.834 3.536 1.113.28 1.887.48 1.887 1.338 0 .8-.774 1.178-1.708 1.178-1.435 0-2.483-.978-3.861-2.836h-.304l.21 3.795h.218l.793-.799c.636.32 1.63.82 2.96.82 2.54 0 4.31-1.42 4.31-3.416 0-2.058-1.23-2.817-3.656-3.535l-.026-.008Z"})]})},ss=y(j)((({navigationSizing:e,theme:t})=>({alignItems:"center",backgroundColor:t.custom.palette.surface.sunken,display:"flex",flexDirection:"sm"===e?"column":"row",justifyContent:"space-between",padding:t.spacing(1.5,2,2)}))),as=({isMobile:e,logoLink:t="/",navigationSizing:n,toggleMenuOnClick:i})=>On.jsxs(ss,{navigationSizing:n,children:[On.jsx(j,{sx:{display:"flex",width:"100%"},children:On.jsxs(j,{sx:{alignItems:"center",display:"flex",justifyContent:"space-between",width:"100%"},children:[On.jsx(Eo,{href:t,children:On.jsxs(j,{sx:{alignItems:"center",display:"flex",gap:.5,pr:"lg"===n?.5:0},children:[On.jsx(os,{}),"lg"===n&&On.jsx(L,{in:!0,children:On.jsx(j,{sx:{display:"flex",alignItems:"flex-end"},children:On.jsx(rs,{})})})]})}),"lg"===n&&On.jsx(L,{in:"lg"===n,children:On.jsx(j,{children:On.jsx(Qo,{onClick:i,sizing:"lg",icon:e?On.jsx(Co,{name:"close",size:20}):On.jsx(Co,{name:"nav-toggle",size:20})})})})]})}),"sm"===n&&On.jsx(F,{in:!0,style:{transformOrigin:"0 100%"},children:On.jsx(j,{sx:{alignItems:"center",display:"flex",justifyContent:"flex-start",width:"100%"},children:On.jsx(Qo,{onClick:i,sizing:"lg",icon:e?On.jsx(Co,{name:"close",size:20}):On.jsx(Co,{name:"nav-toggle",size:20})})})})]}),ls=y(O)((({navigationSizing:e,theme:t})=>({backgroundColor:t.custom.palette.surface.sunken,transition:t.custom.easing.input,width:"lg"===e?232:72}))),cs=y(j)((({theme:e})=>({display:"flex",flex:1,padding:e.spacing(2)}))),us=y(j)((({theme:e})=>({display:"flex",flex:1,gap:e.spacing(1),"& div":{display:"flex",justifyContent:"center",width:"100%"},"& button":{width:"100%"}}))),ds=({logoLink:e,isMobile:t,nudgeProps:n,primaryMenuItemProps:i,secondaryMenuItemProps:o,sizing:r="lg",tertiaryMenuItemProps:s,toggleMenuOnClick:a=()=>{},userMenuProps:l})=>{const c=w();return On.jsxs(ls,{navigationSizing:r,children:[On.jsx(as,{logoLink:e,navigationSizing:r,toggleMenuOnClick:a,isMobile:t}),On.jsx(cs,{children:On.jsxs(O,{sx:{gap:4,justifyContent:"space-between",width:"100%"},children:[i?.length>0&&On.jsx(O,{sx:{gap:"lg"===r?.5:2,width:"100%"},children:i.map(((e,t)=>On.jsx(Tr,{navigationSizing:r,...e},`primary-menu-item-${t}`)))}),On.jsxs(O,{sx:{gap:2},children:[n?.title&&On.jsx(Ur,{navigationSizing:r,...n}),o?.length>0&&o.map(((e,t)=>On.jsx(Tr,{navigationSizing:r,...e,label:"Help center"===e.label&&"sm"===r?"Help":e.label},`secondary-menu-item-${t}`))),On.jsx($,{sx:{color:c.custom.palette.stroke.default}}),On.jsx(ns,{navigationSizing:r,...l}),s?.length>0&&On.jsx(us,{children:s.map(((e,t)=>On.jsx(Tr,{navigationSizing:r,...e},`tertiary-menu-item-${t}`)))})]})]})})]})},ps=()=>{const e=w();return[...e.breakpoints.keys].reduce(((t,n)=>ze(e.breakpoints.up(n))?n:t),null)??"sm"},hs=y(H)((({theme:e})=>({[`&.${N.root}`]:{backgroundColor:e.custom.palette.neutral[200],borderRadius:e.custom.radius.round,[`& .${N.bar}`]:{backgroundColor:e.custom.palette.green[500],borderRadius:`0 ${e.custom.radius.round}px ${e.custom.radius.round}px 0`}}}))),ms=e=>{const{variation:t,...n}=e;return On.jsx(hs,{variant:t,...n})},fs=y(j)((({theme:e})=>({display:"flex",flexWrap:"wrap",gap:e.spacing(e.custom.padding.md),alignItems:"center",alignContent:"start",flexBasis:`calc(50% - ${e.spacing(e.custom.padding.sm)})`}))),gs=y(j)((({theme:e})=>({display:"flex",flexDirection:"column",flexBasis:`calc(50% - ${e.spacing(e.custom.padding.sm)})`}))),xs=y(Lo)((({theme:e})=>({flexBasis:"100%",color:e.palette.text.secondary})));function vs(){return vs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},vs.apply(null,arguments)}var ys,bs={exports:{}},ws={exports:{}},js={};var Cs,ks,Ss,Ms,Ps,Ts,As,zs,Rs,Es,Vs,Ls,Fs,Bs,Ds={};
11
11
  /** @license React v16.13.1
12
12
  * react-is.development.js
13
13
  *
@@ -15,9 +15,9 @@ import*as e from"react";import t,{Fragment as n,useRef as i,useEffect as o,useSt
15
15
  *
16
16
  * This source code is licensed under the MIT license found in the
17
17
  * LICENSE file in the root directory of this source tree.
18
- */function ea(){return $s||($s=1,"production"===process.env.NODE_ENV?Ds.exports=function(){if(Bs)return Os;Bs=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,r=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case i:case r:case o:case d:return e;default:switch(e=e&&e.$$typeof){case a:case u:case m:case h:case s:return e;default:return p}}case n:return p}}}function b(e){return y(e)===c}return Os.AsyncMode=l,Os.ConcurrentMode=c,Os.ContextConsumer=a,Os.ContextProvider=s,Os.Element=t,Os.ForwardRef=u,Os.Fragment=i,Os.Lazy=m,Os.Memo=h,Os.Portal=n,Os.Profiler=r,Os.StrictMode=o,Os.Suspense=d,Os.isAsyncMode=function(e){return b(e)||y(e)===l},Os.isConcurrentMode=b,Os.isContextConsumer=function(e){return y(e)===a},Os.isContextProvider=function(e){return y(e)===s},Os.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Os.isForwardRef=function(e){return y(e)===u},Os.isFragment=function(e){return y(e)===i},Os.isLazy=function(e){return y(e)===m},Os.isMemo=function(e){return y(e)===h},Os.isPortal=function(e){return y(e)===n},Os.isProfiler=function(e){return y(e)===r},Os.isStrictMode=function(e){return y(e)===o},Os.isSuspense=function(e){return y(e)===d},Os.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===c||e===r||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===x||e.$$typeof===v||e.$$typeof===f)},Os.typeOf=y,Os}():Ds.exports=(Is||(Is=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,r=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var f=e.type;switch(f){case l:case c:case i:case r:case o:case d:return f;default:var g=f&&f.$$typeof;switch(g){case a:case u:case m:case h:case s:return g;default:return p}}case n:return p}}}var b=l,w=c,j=a,C=s,k=t,S=u,M=i,P=m,T=h,A=n,z=r,R=o,E=d,V=!1;function F(e){return y(e)===c}Qs.AsyncMode=b,Qs.ConcurrentMode=w,Qs.ContextConsumer=j,Qs.ContextProvider=C,Qs.Element=k,Qs.ForwardRef=S,Qs.Fragment=M,Qs.Lazy=P,Qs.Memo=T,Qs.Portal=A,Qs.Profiler=z,Qs.StrictMode=R,Qs.Suspense=E,Qs.isAsyncMode=function(e){return V||(V=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),F(e)||y(e)===l},Qs.isConcurrentMode=F,Qs.isContextConsumer=function(e){return y(e)===a},Qs.isContextProvider=function(e){return y(e)===s},Qs.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Qs.isForwardRef=function(e){return y(e)===u},Qs.isFragment=function(e){return y(e)===i},Qs.isLazy=function(e){return y(e)===m},Qs.isMemo=function(e){return y(e)===h},Qs.isPortal=function(e){return y(e)===n},Qs.isProfiler=function(e){return y(e)===r},Qs.isStrictMode=function(e){return y(e)===o},Qs.isSuspense=function(e){return y(e)===d},Qs.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===c||e===r||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===x||e.$$typeof===v||e.$$typeof===f)},Qs.typeOf=y}()),Qs)),Ds.exports}
18
+ */function Os(){return ks||(ks=1,"production"===process.env.NODE_ENV?ws.exports=function(){if(ys)return js;ys=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,r=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case i:case r:case o:case d:return e;default:switch(e=e&&e.$$typeof){case a:case u:case m:case h:case s:return e;default:return p}}case n:return p}}}function b(e){return y(e)===c}return js.AsyncMode=l,js.ConcurrentMode=c,js.ContextConsumer=a,js.ContextProvider=s,js.Element=t,js.ForwardRef=u,js.Fragment=i,js.Lazy=m,js.Memo=h,js.Portal=n,js.Profiler=r,js.StrictMode=o,js.Suspense=d,js.isAsyncMode=function(e){return b(e)||y(e)===l},js.isConcurrentMode=b,js.isContextConsumer=function(e){return y(e)===a},js.isContextProvider=function(e){return y(e)===s},js.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},js.isForwardRef=function(e){return y(e)===u},js.isFragment=function(e){return y(e)===i},js.isLazy=function(e){return y(e)===m},js.isMemo=function(e){return y(e)===h},js.isPortal=function(e){return y(e)===n},js.isProfiler=function(e){return y(e)===r},js.isStrictMode=function(e){return y(e)===o},js.isSuspense=function(e){return y(e)===d},js.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===c||e===r||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===x||e.$$typeof===v||e.$$typeof===f)},js.typeOf=y,js}():ws.exports=(Cs||(Cs=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,r=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var f=e.type;switch(f){case l:case c:case i:case r:case o:case d:return f;default:var g=f&&f.$$typeof;switch(g){case a:case u:case m:case h:case s:return g;default:return p}}case n:return p}}}var b=l,w=c,j=a,C=s,k=t,S=u,M=i,P=m,T=h,A=n,z=r,R=o,E=d,V=!1;function L(e){return y(e)===c}Ds.AsyncMode=b,Ds.ConcurrentMode=w,Ds.ContextConsumer=j,Ds.ContextProvider=C,Ds.Element=k,Ds.ForwardRef=S,Ds.Fragment=M,Ds.Lazy=P,Ds.Memo=T,Ds.Portal=A,Ds.Profiler=z,Ds.StrictMode=R,Ds.Suspense=E,Ds.isAsyncMode=function(e){return V||(V=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),L(e)||y(e)===l},Ds.isConcurrentMode=L,Ds.isContextConsumer=function(e){return y(e)===a},Ds.isContextProvider=function(e){return y(e)===s},Ds.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ds.isForwardRef=function(e){return y(e)===u},Ds.isFragment=function(e){return y(e)===i},Ds.isLazy=function(e){return y(e)===m},Ds.isMemo=function(e){return y(e)===h},Ds.isPortal=function(e){return y(e)===n},Ds.isProfiler=function(e){return y(e)===r},Ds.isStrictMode=function(e){return y(e)===o},Ds.isSuspense=function(e){return y(e)===d},Ds.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===c||e===r||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===x||e.$$typeof===v||e.$$typeof===f)},Ds.typeOf=y}()),Ds)),ws.exports}
19
19
  /*
20
20
  object-assign
21
21
  (c) Sindre Sorhus
22
22
  @license MIT
23
- */function ta(){if(Ns)return Hs;Ns=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Hs=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(i,o){for(var r,s,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(i),l=1;l<arguments.length;l++){for(var c in r=Object(arguments[l]))t.call(r,c)&&(a[c]=r[c]);if(e){s=e(r);for(var u=0;u<s.length;u++)n.call(r,s[u])&&(a[s[u]]=r[s[u]])}}return a},Hs}function na(){if(_s)return Ws;_s=1;return Ws="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function ia(){return Zs?Us:(Zs=1,Us=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var oa=ea();Ls.exports=function(){if(Ks)return qs;Ks=1;var e=ea(),t=ta(),n=na(),i=ia(),o=function(){if(Ys)return Gs;Ys=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=na(),n={},i=ia();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,r,s,a,l){if("production"!==process.env.NODE_ENV)for(var c in o)if(i(o,c)){var u;try{if("function"!=typeof o[c]){var d=Error((a||"React class")+": "+s+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=o[c](r,c,a,s,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((a||"React class")+": type specification of "+s+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var p=l?l():"";e("Failed "+s+" type: "+u.message+(null!=p?p:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Gs=o}(),r=function(){};function s(){return null}return"production"!==process.env.NODE_ENV&&(r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),qs=function(a,l){var c="function"==typeof Symbol&&Symbol.iterator,u="<<anonymous>>",d={array:f("array"),bigint:f("bigint"),bool:f("boolean"),func:f("function"),number:f("number"),object:f("object"),string:f("string"),symbol:f("symbol"),any:m(s),arrayOf:function(e){return m((function(t,i,o,r,s){if("function"!=typeof e)return new h("Property `"+s+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var a=t[i];if(!Array.isArray(a))return new h("Invalid "+r+" `"+s+"` of type `"+v(a)+"` supplied to `"+o+"`, expected an array.");for(var l=0;l<a.length;l++){var c=e(a,l,o,r,s+"["+l+"]",n);if(c instanceof Error)return c}return null}))},element:m((function(e,t,n,i,o){var r=e[t];return a(r)?null:new h("Invalid "+i+" `"+o+"` of type `"+v(r)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:m((function(t,n,i,o,r){var s=t[n];return e.isValidElementType(s)?null:new h("Invalid "+o+" `"+r+"` of type `"+v(s)+"` supplied to `"+i+"`, expected a single ReactElement type.")})),instanceOf:function(e){return m((function(t,n,i,o,r){if(!(t[n]instanceof e)){var s=e.name||u;return new h("Invalid "+o+" `"+r+"` of type `"+((a=t[n]).constructor&&a.constructor.name?a.constructor.name:u)+"` supplied to `"+i+"`, expected instance of `"+s+"`.")}var a;return null}))},node:m((function(e,t,n,i,o){return x(e[t])?null:new h("Invalid "+i+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return m((function(t,o,r,s,a){if("function"!=typeof e)return new h("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var l=t[o],c=v(l);if("object"!==c)return new h("Invalid "+s+" `"+a+"` of type `"+c+"` supplied to `"+r+"`, expected an object.");for(var u in l)if(i(l,u)){var d=e(l,u,r,s,a+"."+u,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?m((function(t,n,i,o,r){for(var s=t[n],a=0;a<e.length;a++)if(p(s,e[a]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===y(t)?String(t):t}));return new h("Invalid "+o+" `"+r+"` of value `"+String(s)+"` supplied to `"+i+"`, expected one of "+l+".")})):("production"!==process.env.NODE_ENV&&r(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),s)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&r("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return r("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+b(o)+" at index "+t+"."),s}return m((function(t,o,r,s,a){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,o,r,s,a,n);if(null==u)return null;u.data&&i(u.data,"expectedType")&&l.push(u.data.expectedType)}return new h("Invalid "+s+" `"+a+"` supplied to `"+r+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return m((function(t,i,o,r,s){var a=t[i],l=v(a);if("object"!==l)return new h("Invalid "+r+" `"+s+"` of type `"+l+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(o,r,s,c,y(u));var d=u(a,c,o,r,s+"."+c,n);if(d)return d}return null}))},exact:function(e){return m((function(o,r,s,a,l){var c=o[r],u=v(c);if("object"!==u)return new h("Invalid "+a+" `"+l+"` of type `"+u+"` supplied to `"+s+"`, expected `object`.");var d=t({},o[r],e);for(var p in d){var m=e[p];if(i(e,p)&&"function"!=typeof m)return g(s,a,l,p,y(m));if(!m)return new h("Invalid "+a+" `"+l+"` key `"+p+"` supplied to `"+s+"`.\nBad object: "+JSON.stringify(o[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=m(c,p,s,a,l+"."+p,n);if(f)return f}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var t={},i=0;function o(o,s,a,c,d,p,m){if(c=c||u,p=p||a,m!==n){if(l){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+a;!t[g]&&i<3&&(r("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,i++)}}return null==s[a]?o?null===s[a]?new h("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new h("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,a,c,d,p)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function f(e){return m((function(t,n,i,o,r,s){var a=t[n];return v(a)!==e?new h("Invalid "+o+" `"+r+"` of type `"+y(a)+"` supplied to `"+i+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,n,i,o){return new h((e||"React class")+": "+t+" type `"+n+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function x(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(x);if(null===e||a(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,i=t.call(e);if(t!==e.entries){for(;!(n=i.next()).done;)if(!x(n.value))return!1}else for(;!(n=i.next()).done;){var o=n.value;if(o&&!x(o[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return h.prototype=Error.prototype,d.checkPropTypes=o,d.resetWarningCache=o.resetWarningCache,d.PropTypes=d,d},qs}()(oa.isElement,!0)}else Ls.exports=function(){if(Js)return Xs;Js=1;var e=na();function t(){}function n(){}return n.resetWarningCache=t,Xs=function(){function i(t,n,i,o,r,s){if(s!==e){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function o(){return i}i.isRequired=i;var r={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:o,element:i,elementType:i,instanceOf:o,node:i,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return r.PropTypes=r,r}}()();var ra=En(Ls.exports);function sa(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=sa(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function aa(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=sa(e))&&(i&&(i+=" "),i+=t);return i}const la=e=>e,ca=(()=>{let e=la;return{configure(t){e=t},generate:t=>e(t),reset(){e=la}}})(),ua={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function da(e,t,n="Mui"){const i=ua[t];return i?`${n}-${i}`:`${ca.generate(e)}-${t}`}const pa=e.createContext({});function ha(e){return da("MuiTimeline",e)}function ma(e){return"alternate-reverse"===e?"positionAlternateReverse":`position${Ne(e)}`}"production"!==process.env.NODE_ENV&&(pa.displayName="TimelineContext"),function(e,t,n="Mui"){const i={};t.forEach((t=>{i[t]=da(e,t,n)}))}("MuiTimeline",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]);const fa=["position","className"],ga=e=>{const{position:t,classes:n}=e;return function(e,t,n){const i={};return Object.keys(e).forEach((o=>{i[o]=e[o].reduce(((e,i)=>{if(i){const o=t(i);""!==o&&e.push(o),n&&n[i]&&e.push(n[i])}return e}),[]).join(" ")})),i}({root:["root",t&&ma(t)]},ha,n)},xa=Ie("ul",{name:"MuiTimeline",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.position&&t[ma(n.position)]]}})({display:"flex",flexDirection:"column",padding:"6px 16px",flexGrow:1}),va=e.forwardRef((function(t,n){const i=$e({props:t,name:"MuiTimeline"}),{position:o="right",className:r}=i,s=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(i,fa),a=Fs({},i,{position:o}),l=ga(a),c=e.useMemo((()=>({position:o})),[o]);return On.jsx(pa.Provider,{value:c,children:On.jsx(xa,Fs({className:aa(l.root,r),ownerState:a,ref:n},s))})}));"production"!==process.env.NODE_ENV&&(va.propTypes={children:ra.node,classes:ra.object,className:ra.string,position:ra.oneOf(["alternate-reverse","alternate","left","right"]),sx:ra.oneOfType([ra.arrayOf(ra.oneOfType([ra.func,ra.object,ra.bool])),ra.func,ra.object])});const ya=l({});const ba=l(null),wa=l({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});const ja="undefined"!=typeof window,Ca=ja?d:o,ka=e=>e;let Sa=ka,Ma=ka;"production"!==process.env.NODE_ENV&&(Sa=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},Ma=(e,t)=>{if(!e)throw new Error(t)});const Pa=!1;const Ta=["read","resolveKeyframes","update","preRender","render","postRender"];function Aa(e,t){let n=!1,i=!0;const o={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=Ta.reduce(((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,i=!1,o=!1;const r=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(t){r.has(t)&&(l.schedule(t),e()),t(s)}const l={schedule:(e,o=!1,s=!1)=>{const a=s&&i?t:n;return o&&r.add(e),a.has(e)||a.add(e),e},cancel:e=>{n.delete(e),r.delete(e)},process:e=>{s=e,i?o=!0:(i=!0,[t,n]=[n,t],t.forEach(a),t.clear(),i=!1,o&&(o=!1,l.process(e)))}};return l}(r),e)),{}),{read:a,resolveKeyframes:l,update:c,preRender:u,render:d,postRender:p}=s,h=()=>{const r=performance.now();n=!1,o.delta=i?1e3/60:Math.max(Math.min(r-o.timestamp,40),1),o.timestamp=r,o.isProcessing=!0,a.process(o),l.process(o),c.process(o),u.process(o),d.process(o),p.process(o),o.isProcessing=!1,n&&t&&(i=!1,e(h))};return{schedule:Ta.reduce(((t,r)=>{const a=s[r];return t[r]=(t,r=!1,s=!1)=>(n||(n=!0,i=!0,o.isProcessing||e(h)),a.schedule(t,r,s)),t}),{}),cancel:e=>{for(let t=0;t<Ta.length;t++)s[Ta[t]].cancel(e)},state:o,steps:s}}const{schedule:za,cancel:Ra,state:Ea,steps:Va}=Aa("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:ka,!0),Fa=l({strict:!1}),Ba={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},La={};for(const e in Ba)La[e]={isEnabled:t=>Ba[e].some((e=>!!t[e]))};const Da=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Oa(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Da.has(e)}let Ia=e=>!Oa(e);try{($a=require("@emotion/is-prop-valid").default)&&(Ia=e=>e.startsWith("on")?!Oa(e):$a(e))}catch(e){}var $a;const Ha=new Set;function Na(e,t,n){e||Ha.has(t)||(console.warn(t),Ha.add(t))}function Wa(e){if("undefined"==typeof Proxy)return e;const t=new Map;return new Proxy(((...t)=>("production"!==process.env.NODE_ENV&&Na(!1,"motion() is deprecated. Use motion.create() instead."),e(...t))),{get:(n,i)=>"create"===i?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}const _a=l({});function Ua(e){return"string"==typeof e||Array.isArray(e)}function Za(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}const Ga=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ya=["initial",...Ga];function qa(e){return Za(e.animate)||Ya.some((t=>Ua(e[t])))}function Ka(e){return Boolean(qa(e)||e.variants)}function Xa(e){const{initial:t,animate:n}=function(e,t){if(qa(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Ua(t)?t:void 0,animate:Ua(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,c(_a));return a((()=>({initial:t,animate:n})),[Ja(t),Ja(n)])}function Ja(e){return Array.isArray(e)?e.join(" "):e}const Qa=Symbol.for("motionComponentSymbol");function el(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function tl(e,t,n){return s((i=>{i&&e.onMount&&e.onMount(i),t&&(i?t.mount(i):t.unmount()),n&&("function"==typeof n?n(i):el(n)&&(n.current=i))}),[t])}const nl=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),il="data-"+nl("framerAppearId"),{schedule:ol,cancel:rl}=Aa(queueMicrotask,!1),sl=l({});function al(e,t,n,r,s){var a,l;const{visualElement:u}=c(_a),d=c(Fa),h=c(ba),m=c(wa).reducedMotion,f=i(null);r=r||d.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:u,props:n,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:m}));const g=f.current,x=c(sl);!g||g.projection||!s||"html"!==g.type&&"svg"!==g.type||function(e,t,n,i){const{layoutId:o,layout:r,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:ll(e.parent)),e.projection.setOptions({layoutId:o,layout:r,alwaysMeasureLayout:Boolean(s)||a&&el(a),visualElement:e,animationType:"string"==typeof r?r:"both",initialPromotionConfig:i,layoutScroll:l,layoutRoot:c})}(f.current,n,s,x);const v=i(!1);p((()=>{g&&v.current&&g.update(n,h)}));const y=n[il],b=i(Boolean(y)&&!(null===(a=window.MotionHandoffIsComplete)||void 0===a?void 0:a.call(window,y))&&(null===(l=window.MotionHasOptimisedAnimation)||void 0===l?void 0:l.call(window,y)));return Ca((()=>{g&&(v.current=!0,window.MotionIsMounted=!0,g.updateFeatures(),ol.render(g.render),b.current&&g.animationState&&g.animationState.animateChanges())})),o((()=>{g&&(!b.current&&g.animationState&&g.animationState.animateChanges(),b.current&&(queueMicrotask((()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,y)})),b.current=!1))})),g}function ll(e){if(e)return!1!==e.options.allowProjection?e.projection:ll(e.parent)}function cl({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:o}){var r,s;function a(r,s){let a;const l={...c(wa),...r,layoutId:ul(r)},{isStatic:u}=l,d=Xa(r),p=i(r,u);if(!u&&ja){!function(e,t){const n=c(Fa).strict;if("production"!==process.env.NODE_ENV&&t&&n){const t="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?Sa(!1,t):Ma(!1,t)}}(l,e);const n=function(e){const{drag:t,layout:n}=La;if(!t&&!n)return{};const i={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(l);a=n.MeasureLayout,d.visualElement=al(o,p,l,t,n.ProjectionNode)}return On.jsxs(_a.Provider,{value:d,children:[a&&d.visualElement?On.jsx(a,{visualElement:d.visualElement,...l}):null,n(o,r,tl(p,d.visualElement,s),p,u,d.visualElement)]})}e&&function(e){for(const t in e)La[t]={...La[t],...e[t]}}(e),a.displayName=`motion.${"string"==typeof o?o:`create(${null!==(s=null!==(r=o.displayName)&&void 0!==r?r:o.name)&&void 0!==s?s:""})`}`;const l=h(a);return l[Qa]=o,l}function ul({layoutId:e}){const t=c(ya).id;return t&&void 0!==e?t+"-"+e:e}const dl=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function pl(e){return"string"==typeof e&&!e.includes("-")&&!!(dl.indexOf(e)>-1||/[A-Z]/u.test(e))}function hl(e){const t=[{},{}];return null==e||e.values.forEach(((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()})),t}function ml(e,t,n,i){if("function"==typeof t){const[o,r]=hl(i);t=t(void 0!==n?n:e.custom,o,r)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[o,r]=hl(i);t=t(void 0!==n?n:e.custom,o,r)}return t}const fl=e=>Array.isArray(e),gl=e=>Boolean(e&&e.getVelocity);function xl(e){const t=gl(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const vl=e=>(t,n)=>{const o=c(_a),r=c(ba),s=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},i,o,r){const s={latestValues:yl(i,o,r,e),renderState:t()};return n&&(s.onMount=e=>n({props:i,current:e,...s}),s.onUpdate=e=>n(e)),s}(e,t,o,r);return n?s():function(e){const t=i(null);return null===t.current&&(t.current=e()),t.current}(s)};function yl(e,t,n,i){const o={},r=i(e,{});for(const e in r)o[e]=xl(r[e]);let{initial:s,animate:a}=e;const l=qa(e),c=Ka(e);t&&c&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let u=!!n&&!1===n.initial;u=u||!1===s;const d=u?a:s;if(d&&"boolean"!=typeof d&&!Za(d)){const t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){const i=ml(e,t[n]);if(i){const{transitionEnd:e,transition:t,...n}=i;for(const e in n){let t=n[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(o[e]=t)}for(const t in e)o[t]=e[t]}}}return o}const bl=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],wl=new Set(bl),jl=e=>t=>"string"==typeof t&&t.startsWith(e),Cl=jl("--"),kl=jl("var(--"),Sl=e=>!!kl(e)&&Ml.test(e.split("/*")[0].trim()),Ml=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Pl=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Tl=(e,t,n)=>n>t?t:n<e?e:n,Al={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},zl={...Al,transform:e=>Tl(0,1,e)},Rl={...Al,default:1},El=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Vl=El("deg"),Fl=El("%"),Bl=El("px"),Ll=El("vh"),Dl=El("vw"),Ol={...Fl,parse:e=>Fl.parse(e)/100,transform:e=>Fl.transform(100*e)},Il={borderWidth:Bl,borderTopWidth:Bl,borderRightWidth:Bl,borderBottomWidth:Bl,borderLeftWidth:Bl,borderRadius:Bl,radius:Bl,borderTopLeftRadius:Bl,borderTopRightRadius:Bl,borderBottomRightRadius:Bl,borderBottomLeftRadius:Bl,width:Bl,maxWidth:Bl,height:Bl,maxHeight:Bl,top:Bl,right:Bl,bottom:Bl,left:Bl,padding:Bl,paddingTop:Bl,paddingRight:Bl,paddingBottom:Bl,paddingLeft:Bl,margin:Bl,marginTop:Bl,marginRight:Bl,marginBottom:Bl,marginLeft:Bl,backgroundPositionX:Bl,backgroundPositionY:Bl},$l={rotate:Vl,rotateX:Vl,rotateY:Vl,rotateZ:Vl,scale:Rl,scaleX:Rl,scaleY:Rl,scaleZ:Rl,skew:Vl,skewX:Vl,skewY:Vl,distance:Bl,translateX:Bl,translateY:Bl,translateZ:Bl,x:Bl,y:Bl,z:Bl,perspective:Bl,transformPerspective:Bl,opacity:zl,originX:Ol,originY:Ol,originZ:Bl},Hl={...Al,transform:Math.round},Nl={...Il,...$l,zIndex:Hl,size:Bl,fillOpacity:zl,strokeOpacity:zl,numOctaves:Hl},Wl={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},_l=bl.length;function Ul(e,t,n){const{style:i,vars:o,transformOrigin:r}=e;let s=!1,a=!1;for(const e in t){const n=t[e];if(wl.has(e))s=!0;else if(Cl(e))o[e]=n;else{const t=Pl(n,Nl[e]);e.startsWith("origin")?(a=!0,r[e]=t):i[e]=t}}if(t.transform||(s||n?i.transform=function(e,t,n){let i="",o=!0;for(let r=0;r<_l;r++){const s=bl[r],a=e[s];if(void 0===a)continue;let l=!0;if(l="number"==typeof a?a===(s.startsWith("scale")?1:0):0===parseFloat(a),!l||n){const e=Pl(a,Nl[s]);l||(o=!1,i+=`${Wl[s]||s}(${e}) `),n&&(t[s]=e)}}return i=i.trim(),n?i=n(t,o?"":i):o&&(i="none"),i}(t,e.transform,n):i.transform&&(i.transform="none")),a){const{originX:e="50%",originY:t="50%",originZ:n=0}=r;i.transformOrigin=`${e} ${t} ${n}`}}const Zl={offset:"stroke-dashoffset",array:"stroke-dasharray"},Gl={offset:"strokeDashoffset",array:"strokeDasharray"};function Yl(e,t,n){return"string"==typeof e?e:Bl.transform(t+n*e)}function ql(e,{attrX:t,attrY:n,attrScale:i,originX:o,originY:r,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d){if(Ul(e,c,d),u)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:p,style:h,dimensions:m}=e;p.transform&&(m&&(h.transform=p.transform),delete p.transform),m&&(void 0!==o||void 0!==r||h.transform)&&(h.transformOrigin=function(e,t,n){return`${Yl(t,e.x,e.width)} ${Yl(n,e.y,e.height)}`}(m,void 0!==o?o:.5,void 0!==r?r:.5)),void 0!==t&&(p.x=t),void 0!==n&&(p.y=n),void 0!==i&&(p.scale=i),void 0!==s&&function(e,t,n=1,i=0,o=!0){e.pathLength=1;const r=o?Zl:Gl;e[r.offset]=Bl.transform(-i);const s=Bl.transform(t),a=Bl.transform(n);e[r.array]=`${s} ${a}`}(p,s,a,l,!1)}const Kl=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),Xl=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Jl=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Ql(e,{style:t,vars:n},i,o){Object.assign(e.style,t,o&&o.getProjectionStyles(i));for(const t in n)e.style.setProperty(t,n[t])}const ec=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function tc(e,t,n,i){Ql(e,t,void 0,i);for(const n in t.attrs)e.setAttribute(ec.has(n)?n:nl(n),t.attrs[n])}const nc={};function ic(e,{layout:t,layoutId:n}){return wl.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!nc[e]||"opacity"===e)}function oc(e,t,n){var i;const{style:o}=e,r={};for(const s in o)(gl(o[s])||t.style&&gl(t.style[s])||ic(s,e)||void 0!==(null===(i=null==n?void 0:n.getValue(s))||void 0===i?void 0:i.liveStyle))&&(r[s]=o[s]);return r}function rc(e,t,n){const i=oc(e,t,n);for(const n in e)if(gl(e[n])||gl(t[n])){i[-1!==bl.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]}return i}const sc=["x","y","width","height","cx","cy","r"],ac={useVisualState:vl({scrapeMotionValuesFromProps:rc,createRenderState:Xl,onUpdate:({props:e,prevProps:t,current:n,renderState:i,latestValues:o})=>{if(!n)return;let r=!!e.drag;if(!r)for(const e in o)if(wl.has(e)){r=!0;break}if(!r)return;let s=!t;if(t)for(let n=0;n<sc.length;n++){const i=sc[n];e[i]!==t[i]&&(s=!0)}s&&za.read((()=>{!function(e,t){try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(e){t.dimensions={x:0,y:0,width:0,height:0}}}(n,i),za.render((()=>{ql(i,o,Jl(n.tagName),e.transformTemplate),tc(n,i)}))}))}})},lc={useVisualState:vl({scrapeMotionValuesFromProps:oc,createRenderState:Kl})};function cc(e,t,n){for(const i in t)gl(t[i])||ic(i,n)||(e[i]=t[i])}function uc(e,t){const n={};return cc(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return a((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return Ul(n,t,e),Object.assign({},n.vars,n.style)}),[t])}(e,t)),n}function dc(e,t){const n={},i=uc(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}function pc(e,t,n,i){const o=a((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return ql(n,t,Jl(i),e.transformTemplate),{...n.attrs,style:{...n.style}}}),[t]);if(e.style){const t={};cc(t,e.style,e),o.style={...t,...o.style}}return o}function hc(e=!1){return(t,i,o,{latestValues:r},s)=>{const l=(pl(t)?pc:dc)(i,r,s,t),c=function(e,t,n){const i={};for(const o in e)"values"===o&&"object"==typeof e.values||(Ia(o)||!0===n&&Oa(o)||!t&&!Oa(o)||e.draggable&&o.startsWith("onDrag"))&&(i[o]=e[o]);return i}(i,"string"==typeof t,e),u=t!==n?{...c,...l,ref:o}:{},{children:d}=i,p=a((()=>gl(d)?d.get():d),[d]);return m(t,{...u,children:p})}}function mc(e,t){return function(n,{forwardMotionProps:i}={forwardMotionProps:!1}){return cl({...pl(n)?ac:lc,preloadedFeatures:e,useRender:hc(i),createVisualElement:t,Component:n})}}function fc(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function gc(e,t,n){const i=e.getProps();return ml(i,t,void 0!==n?n:i.custom,e)}function xc(e,t){return e?e[t]||e.default||e:void 0}const vc=new Set(["width","height","top","left","right","bottom",...bl]);let yc;function bc(){yc=void 0}const wc={now:()=>(void 0===yc&&wc.set(Ea.isProcessing||Pa?Ea.timestamp:performance.now()),yc),set:e=>{yc=e,queueMicrotask(bc)}};function jc(e,t){-1===e.indexOf(t)&&e.push(t)}function Cc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class kc{constructor(){this.subscriptions=[]}add(e){return jc(this.subscriptions,e),()=>Cc(this.subscriptions,e)}notify(e,t,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](e,t,n);else for(let o=0;o<i;o++){const i=this.subscriptions[o];i&&i(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Sc(e,t){return t?e*(1e3/t):0}class Mc{constructor(e,t={}){this.version="12.0.6",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{const n=wc.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=wc.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return"production"!==process.env.NODE_ENV&&Na(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new kc);const n=this.events[e].add(t);return"change"===e?()=>{n(),za.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=wc.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return Sc(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Pc(e,t){return new Mc(e,t)}function Tc(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Pc(n))}function Ac(e,t){const n=e.getValue("willChange");if(i=n,Boolean(gl(i)&&i.add))return n.add(t);var i}function zc(e){return e.props[il]}function Rc(e){let t;return()=>(void 0===t&&(t=e()),t)}const Ec=Rc((()=>void 0!==window.ScrollTimeline));class Vc{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map((e=>"finished"in e?e.finished:e)))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){const n=this.animations.map((n=>Ec()&&n.attachTimeline?n.attachTimeline(e):"function"==typeof t?t(n):void 0));return()=>{n.forEach(((e,t)=>{e&&e(),this.animations[t].stop()}))}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach((t=>t[e]()))}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class Fc extends Vc{then(e,t){return Promise.all(this.animations).then(e).catch(t)}}const Bc=e=>1e3*e,Lc=e=>e/1e3;function Dc(e){return"function"==typeof e}function Oc(e,t){e.timeline=t,e.onfinish=null}const Ic=e=>Array.isArray(e)&&"number"==typeof e[0],$c={linearEasing:void 0};function Hc(e,t){const n=Rc(e);return()=>{var e;return null!==(e=$c[t])&&void 0!==e?e:n()}}const Nc=Hc((()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0}),"linearEasing"),Wc=(e,t,n)=>{const i=t-e;return 0===i?1:(n-e)/i},_c=(e,t,n=10)=>{let i="";const o=Math.max(Math.round(t/n),2);for(let t=0;t<o;t++)i+=e(Wc(0,o-1,t))+", ";return`linear(${i.substring(0,i.length-2)})`};function Uc(e){return Boolean("function"==typeof e&&Nc()||!e||"string"==typeof e&&(e in Gc||Nc())||Ic(e)||Array.isArray(e)&&e.every(Uc))}const Zc=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,Gc={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Zc([0,.65,.55,1]),circOut:Zc([.55,0,1,.45]),backIn:Zc([.31,.01,.66,-.59]),backOut:Zc([.33,1.53,.69,.99])};function Yc(e,t){return e?"function"==typeof e&&Nc()?_c(e,t):Ic(e)?Zc(e):Array.isArray(e)?e.map((e=>Yc(e,t)||Gc.easeOut)):Gc[e]:void 0}const qc=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Kc(e,t,n,i){if(e===t&&n===i)return ka;const o=t=>function(e,t,n,i,o){let r,s,a=0;do{s=t+(n-t)/2,r=qc(s,i,o)-e,r>0?n=s:t=s}while(Math.abs(r)>1e-7&&++a<12);return s}(t,0,1,e,n);return e=>0===e||1===e?e:qc(o(e),t,i)}const Xc=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Jc=e=>t=>1-e(1-t),Qc=Kc(.33,1.53,.69,.99),eu=Jc(Qc),tu=Xc(eu),nu=e=>(e*=2)<1?.5*eu(e):.5*(2-Math.pow(2,-10*(e-1))),iu=e=>1-Math.sin(Math.acos(e)),ou=Jc(iu),ru=Xc(iu),su=e=>/^0[^.\s]+$/u.test(e);const au=e=>Math.round(1e5*e)/1e5,lu=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;const cu=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,uu=(e,t)=>n=>Boolean("string"==typeof n&&cu.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),du=(e,t,n)=>i=>{if("string"!=typeof i)return i;const[o,r,s,a]=i.match(lu);return{[e]:parseFloat(o),[t]:parseFloat(r),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},pu={...Al,transform:e=>Math.round((e=>Tl(0,255,e))(e))},hu={test:uu("rgb","red"),parse:du("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+pu.transform(e)+", "+pu.transform(t)+", "+pu.transform(n)+", "+au(zl.transform(i))+")"};const mu={test:uu("#"),parse:function(e){let t="",n="",i="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,i+=i,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:o?parseInt(o,16)/255:1}},transform:hu.transform},fu={test:uu("hsl","hue"),parse:du("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+Fl.transform(au(t))+", "+Fl.transform(au(n))+", "+au(zl.transform(i))+")"},gu={test:e=>hu.test(e)||mu.test(e)||fu.test(e),parse:e=>hu.test(e)?hu.parse(e):fu.test(e)?fu.parse(e):mu.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?hu.transform(e):fu.transform(e)},xu=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;const vu="number",yu="color",bu=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function wu(e){const t=e.toString(),n=[],i={color:[],number:[],var:[]},o=[];let r=0;const s=t.replace(bu,(e=>(gu.test(e)?(i.color.push(r),o.push(yu),n.push(gu.parse(e))):e.startsWith("var(")?(i.var.push(r),o.push("var"),n.push(e)):(i.number.push(r),o.push(vu),n.push(parseFloat(e))),++r,"${}"))).split("${}");return{values:n,split:s,indexes:i,types:o}}function ju(e){return wu(e).values}function Cu(e){const{split:t,types:n}=wu(e),i=t.length;return e=>{let o="";for(let r=0;r<i;r++)if(o+=t[r],void 0!==e[r]){const t=n[r];o+=t===vu?au(e[r]):t===yu?gu.transform(e[r]):e[r]}return o}}const ku=e=>"number"==typeof e?0:e;const Su={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(lu))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(xu))||void 0===n?void 0:n.length)||0)>0},parse:ju,createTransformer:Cu,getAnimatableNone:function(e){const t=ju(e);return Cu(e)(t.map(ku))}},Mu=new Set(["brightness","contrast","saturate","opacity"]);function Pu(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[i]=n.match(lu)||[];if(!i)return e;const o=n.replace(i,"");let r=Mu.has(t)?1:0;return i!==n&&(r*=100),t+"("+r+o+")"}const Tu=/\b([a-z-]*)\(.*?\)/gu,Au={...Su,getAnimatableNone:e=>{const t=e.match(Tu);return t?t.map(Pu).join(" "):e}},zu={...Nl,color:gu,backgroundColor:gu,outlineColor:gu,fill:gu,stroke:gu,borderColor:gu,borderTopColor:gu,borderRightColor:gu,borderBottomColor:gu,borderLeftColor:gu,filter:Au,WebkitFilter:Au},Ru=e=>zu[e];function Eu(e,t){let n=Ru(e);return n!==Au&&(n=Su),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Vu=new Set(["auto","none","0"]);const Fu=e=>e===Al||e===Bl,Bu=(e,t)=>parseFloat(e.split(", ")[t]),Lu=(e,t)=>(n,{transform:i})=>{if("none"===i||!i)return 0;const o=i.match(/^matrix3d\((.+)\)$/u);if(o)return Bu(o[1],t);{const t=i.match(/^matrix\((.+)\)$/u);return t?Bu(t[1],e):0}},Du=new Set(["x","y","z"]),Ou=bl.filter((e=>!Du.has(e)));const Iu={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Lu(4,13),y:Lu(5,14)};Iu.translateX=Iu.x,Iu.translateY=Iu.y;const $u=new Set;let Hu=!1,Nu=!1;function Wu(){if(Nu){const e=Array.from($u).filter((e=>e.needsMeasurement)),t=new Set(e.map((e=>e.element))),n=new Map;t.forEach((e=>{const t=function(e){const t=[];return Ou.forEach((n=>{const i=e.getValue(n);void 0!==i&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))})),t}(e);t.length&&(n.set(e,t),e.render())})),e.forEach((e=>e.measureInitialState())),t.forEach((e=>{e.render();const t=n.get(e);t&&t.forEach((([t,n])=>{var i;null===(i=e.getValue(t))||void 0===i||i.set(n)}))})),e.forEach((e=>e.measureEndState())),e.forEach((e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)}))}Nu=!1,Hu=!1,$u.forEach((e=>e.complete())),$u.clear()}function _u(){$u.forEach((e=>{e.readKeyframes(),e.needsMeasurement&&(Nu=!0)}))}class Uu{constructor(e,t,n,i,o,r=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=i,this.element=o,this.isAsync=r}scheduleResolve(){this.isScheduled=!0,this.isAsync?($u.add(this),Hu||(Hu=!0,za.read(_u),za.resolveKeyframes(Wu))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:i}=this;for(let o=0;o<e.length;o++)if(null===e[o])if(0===o){const o=null==i?void 0:i.get(),r=e[e.length-1];if(void 0!==o)e[0]=o;else if(n&&t){const i=n.readValue(t,r);null!=i&&(e[0]=i)}void 0===e[0]&&(e[0]=r),i&&void 0===o&&i.set(e[0])}else e[o]=e[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),$u.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,$u.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const Zu=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Gu=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Yu(e,t,n=1){Ma(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[i,o]=function(e){const t=Gu.exec(e);if(!t)return[,];const[,n,i,o]=t;return[`--${null!=n?n:i}`,o]}(e);if(!i)return;const r=window.getComputedStyle(t).getPropertyValue(i);if(r){const e=r.trim();return Zu(e)?parseFloat(e):e}return Sl(o)?Yu(o,t,n+1):o}const qu=e=>t=>t.test(e),Ku=[Al,Bl,Fl,Vl,Dl,Ll,{test:e=>"auto"===e,parse:e=>e}],Xu=e=>Ku.find(qu(e));class Ju extends Uu{constructor(e,t,n,i,o){super(e,t,n,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let i=e[n];if("string"==typeof i&&(i=i.trim(),Sl(i))){const o=Yu(i,t.current);void 0!==o&&(e[n]=o),n===e.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!vc.has(n)||2!==e.length)return;const[i,o]=e,r=Xu(i),s=Xu(o);if(r!==s)if(Fu(r)&&Fu(s))for(let t=0;t<e.length;t++){const n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)("number"==typeof(i=e[t])?0===i:null===i||"none"===i||"0"===i||su(i))&&n.push(t);var i;n.length&&function(e,t,n){let i,o=0;for(;o<e.length&&!i;){const t=e[o];"string"==typeof t&&!Vu.has(t)&&wu(t).values.length&&(i=e[o]),o++}if(i&&n)for(const o of t)e[o]=Eu(n,i)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Iu[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const i=t[t.length-1];void 0!==i&&e.getValue(n,i).jump(i,!1)}measureEndState(){var e;const{element:t,name:n,unresolvedKeyframes:i}=this;if(!t||!t.current)return;const o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);const r=i.length-1,s=i[r];i[r]=Iu[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEach((([e,n])=>{t.getValue(e).set(n)})),this.resolveNoneKeyframes()}}const Qu=(e,t)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!Su.test(e)&&"0"!==e||e.startsWith("url(")));function ed(e,t,n,i){const o=e[0];if(null===o)return!1;if("display"===t||"visibility"===t)return!0;const r=e[e.length-1],s=Qu(o,t),a=Qu(r,t);return Sa(s===a,`You are trying to animate ${t} from "${o}" to "${r}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${r} via the \`style\` property.`),!(!s||!a)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||Dc(n))&&i)}const td=e=>null!==e;function nd(e,{repeat:t,repeatType:n="loop"},i){const o=e.filter(td),r=t&&"loop"!==n&&t%2==1?0:o.length-1;return r&&void 0!==i?i:o[r]}class id{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:r="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=wc.now(),this.options={autoplay:e,delay:t,type:n,repeat:i,repeatDelay:o,repeatType:r,...s},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(_u(),Wu()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=wc.now(),this.hasAttemptedResolve=!0;const{name:n,type:i,velocity:o,delay:r,onComplete:s,onUpdate:a,isGenerator:l}=this.options;if(!l&&!ed(e,n,i,o)){if(!r)return a&&a(nd(e,this.options,t)),s&&s(),void this.resolveFinishedPromise();this.options.duration=0}const c=this.initPlayback(e,t);!1!==c&&(this._resolved={keyframes:e,finalKeyframe:t,...c},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise((e=>{this.resolveFinishedPromise=e}))}}const od=2e4;function rd(e){let t=0;let n=e.next(t);for(;!n.done&&t<od;)t+=50,n=e.next(t);return t>=od?1/0:t}const sd=(e,t,n)=>e+(t-e)*n;function ad(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ld(e,t){return n=>n>0?t:e}const cd=(e,t,n)=>{const i=e*e,o=n*(t*t-i)+i;return o<0?0:Math.sqrt(o)},ud=[mu,hu,fu];function dd(e){const t=(n=e,ud.find((e=>e.test(n))));var n;if(Sa(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(t))return!1;let i=t.parse(e);return t===fu&&(i=function({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,n/=100;let o=0,r=0,s=0;if(t/=100){const i=n<.5?n*(1+t):n+t-n*t,a=2*n-i;o=ad(a,i,e+1/3),r=ad(a,i,e),s=ad(a,i,e-1/3)}else o=r=s=n;return{red:Math.round(255*o),green:Math.round(255*r),blue:Math.round(255*s),alpha:i}}(i)),i}const pd=(e,t)=>{const n=dd(e),i=dd(t);if(!n||!i)return ld(e,t);const o={...n};return e=>(o.red=cd(n.red,i.red,e),o.green=cd(n.green,i.green,e),o.blue=cd(n.blue,i.blue,e),o.alpha=sd(n.alpha,i.alpha,e),hu.transform(o))},hd=(e,t)=>n=>t(e(n)),md=(...e)=>e.reduce(hd),fd=new Set(["none","hidden"]);function gd(e,t){return n=>sd(e,t,n)}function xd(e){return"number"==typeof e?gd:"string"==typeof e?Sl(e)?ld:gu.test(e)?pd:bd:Array.isArray(e)?vd:"object"==typeof e?gu.test(e)?pd:yd:ld}function vd(e,t){const n=[...e],i=n.length,o=e.map(((e,n)=>xd(e)(e,t[n])));return e=>{for(let t=0;t<i;t++)n[t]=o[t](e);return n}}function yd(e,t){const n={...e,...t},i={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(i[o]=xd(e[o])(e[o],t[o]));return e=>{for(const t in i)n[t]=i[t](e);return n}}const bd=(e,t)=>{const n=Su.createTransformer(t),i=wu(e),o=wu(t);return i.indexes.var.length===o.indexes.var.length&&i.indexes.color.length===o.indexes.color.length&&i.indexes.number.length>=o.indexes.number.length?fd.has(e)&&!o.values.length||fd.has(t)&&!i.values.length?function(e,t){return fd.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):md(vd(function(e,t){var n;const i=[],o={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){const s=t.types[r],a=e.indexes[s][o[s]],l=null!==(n=e.values[a])&&void 0!==n?n:0;i[r]=l,o[s]++}return i}(i,o),o.values),n):(Sa(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),ld(e,t))};function wd(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return sd(e,t,n);return xd(e)(e,t)}function jd(e,t,n){const i=Math.max(t-5,0);return Sc(n-e(i),t-i)}const Cd=100,kd=10,Sd=1,Md=0,Pd=800,Td=.3,Ad=.3,zd={granular:.01,default:2},Rd={granular:.005,default:.5},Ed=.01,Vd=10,Fd=.05,Bd=1;function Ld({duration:e=Pd,bounce:t=Td,velocity:n=Md,mass:i=Sd}){let o,r;Sa(e<=Bc(Vd),"Spring duration must be 10 seconds or less");let s=1-t;s=Tl(Fd,Bd,s),e=Tl(Ed,Vd,Lc(e)),s<1?(o=t=>{const i=t*s,o=i*e;return.001-(i-n)/Od(t,s)*Math.exp(-o)},r=t=>{const i=t*s*e,r=i*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-i),c=Od(Math.pow(t,2),s);return(.001-o(t)>0?-1:1)*((r-a)*l)/c}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,r=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let i=n;for(let n=1;n<Dd;n++)i-=e(i)/t(i);return i}(o,r,5/e);if(e=Bc(e),isNaN(a))return{stiffness:Cd,damping:kd,duration:e};{const t=Math.pow(a,2)*i;return{stiffness:t,damping:2*s*Math.sqrt(i*t),duration:e}}}const Dd=12;function Od(e,t){return e*Math.sqrt(1-t*t)}const Id=["duration","bounce"],$d=["stiffness","damping","mass"];function Hd(e,t){return t.some((t=>void 0!==e[t]))}function Nd(e=Ad,t=Td){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:i,restDelta:o}=n;const r=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:r},{stiffness:l,damping:c,mass:u,duration:d,velocity:p,isResolvedFromDuration:h}=function(e){let t={velocity:Md,stiffness:Cd,damping:kd,mass:Sd,isResolvedFromDuration:!1,...e};if(!Hd(e,$d)&&Hd(e,Id))if(e.visualDuration){const n=e.visualDuration,i=2*Math.PI/(1.2*n),o=i*i,r=2*Tl(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:Sd,stiffness:o,damping:r}}else{const n=Ld(e);t={...t,...n,mass:Sd},t.isResolvedFromDuration=!0}return t}({...n,velocity:-Lc(n.velocity||0)}),m=p||0,f=c/(2*Math.sqrt(l*u)),g=s-r,x=Lc(Math.sqrt(l/u)),v=Math.abs(g)<5;let y;if(i||(i=v?zd.granular:zd.default),o||(o=v?Rd.granular:Rd.default),f<1){const e=Od(x,f);y=t=>{const n=Math.exp(-f*x*t);return s-n*((m+f*x*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}}else if(1===f)y=e=>s-Math.exp(-x*e)*(g+(m+x*g)*e);else{const e=x*Math.sqrt(f*f-1);y=t=>{const n=Math.exp(-f*x*t),i=Math.min(e*t,300);return s-n*((m+f*x*g)*Math.sinh(i)+e*g*Math.cosh(i))/e}}const b={calculatedDuration:h&&d||null,next:e=>{const t=y(e);if(h)a.done=e>=d;else{let n=0;f<1&&(n=0===e?Bc(m):jd(y,e,t));const r=Math.abs(n)<=i,l=Math.abs(s-t)<=o;a.done=r&&l}return a.value=a.done?s:t,a},toString:()=>{const e=Math.min(rd(b),od),t=_c((t=>b.next(e*t).value),e,30);return e+"ms "+t}};return b}function Wd({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:o=10,bounceStiffness:r=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},h=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let m=n*t;const f=d+m,g=void 0===s?f:s(f);g!==f&&(m=g-d);const x=e=>-m*Math.exp(-e/i),v=e=>g+x(e),y=e=>{const t=x(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let b,w;const j=e=>{var t;(t=p.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(b=e,w=Nd({keyframes:[p.value,h(p.value)],velocity:jd(v,e,p.value),damping:o,stiffness:r,restDelta:c,restSpeed:u}))};return j(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==b||(t=!0,y(e),j(e)),void 0!==b&&e>=b?w.next(e-b):(!t&&y(e),p)}}}const _d=Kc(.42,0,1,1),Ud=Kc(0,0,.58,1),Zd=Kc(.42,0,.58,1),Gd={linear:ka,easeIn:_d,easeInOut:Zd,easeOut:Ud,circIn:iu,circInOut:ru,circOut:ou,backIn:eu,backInOut:tu,backOut:Qc,anticipate:nu},Yd=e=>{if(Ic(e)){Ma(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,i,o]=e;return Kc(t,n,i,o)}return"string"==typeof e?(Ma(void 0!==Gd[e],`Invalid easing type '${e}'`),Gd[e]):e};function qd(e,t,{clamp:n=!0,ease:i,mixer:o}={}){const r=e.length;if(Ma(r===t.length,"Both input and output ranges must be the same length"),1===r)return()=>t[0];if(2===r&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=function(e,t,n){const i=[],o=n||wd,r=e.length-1;for(let n=0;n<r;n++){let r=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||ka:t;r=md(e,r)}i.push(r)}return i}(t,i,o),l=a.length,c=n=>{if(s&&n<e[0])return t[0];let i=0;if(l>1)for(;i<e.length-2&&!(n<e[i+1]);i++);const o=Wc(e[i],e[i+1],n);return a[i](o)};return n?t=>c(Tl(e[0],e[r-1],t)):c}function Kd(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const o=Wc(0,t,i);e.push(sd(n,1,o))}}(t,e.length-1),t}function Xd(e,t){return e.map((()=>t||Zd)).splice(0,e.length-1)}function Jd({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(i)?i.map(Yd):Yd(i),r={done:!1,value:t[0]},s=function(e,t){return e.map((e=>e*t))}(n&&n.length===t.length?n:Kd(t),e),a=qd(s,t,{ease:Array.isArray(o)?o:Xd(t,o)});return{calculatedDuration:e,next:t=>(r.value=a(t),r.done=t>=e,r)}}const Qd=e=>{const t=({timestamp:t})=>e(t);return{start:()=>za.update(t,!0),stop:()=>Ra(t),now:()=>Ea.isProcessing?Ea.timestamp:wc.now()}},ep={decay:Wd,inertia:Wd,tween:Jd,keyframes:Jd,spring:Nd},tp=e=>e/100;class np extends id{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:e}=this.options;e&&e()};const{name:t,motionValue:n,element:i,keyframes:o}=this.options,r=(null==i?void 0:i.KeyframeResolver)||Uu;this.resolver=new r(o,((e,t)=>this.onKeyframesResolved(e,t)),t,n,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:t="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=this.options,s=Dc(t)?t:ep[t]||Jd;let a,l;s!==Jd&&"number"!=typeof e[0]&&("production"!==process.env.NODE_ENV&&Ma(2===e.length,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`),a=md(tp,wd(e[0],e[1])),e=[0,100]);const c=s({...this.options,keyframes:e});"mirror"===o&&(l=s({...this.options,keyframes:[...e].reverse(),velocity:-r})),null===c.calculatedDuration&&(c.calculatedDuration=rd(c));const{calculatedDuration:u}=c,d=u+i;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:u,resolvedDuration:d,totalDuration:d*(n+1)-i}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){const{resolved:n}=this;if(!n){const{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}const{finalKeyframe:i,generator:o,mirroredGenerator:r,mapPercentToKeyframes:s,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:u}=n;if(null===this.startTime)return o.next(0);const{delay:d,repeat:p,repeatType:h,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const g=this.currentTime-d*(this.speed>=0?1:-1),x=this.speed>=0?g<0:g>c;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=c);let v=this.currentTime,y=o;if(p){const e=Math.min(this.currentTime,c)/u;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,p+1);Boolean(t%2)&&("reverse"===h?(n=1-n,m&&(n-=m/u)):"mirror"===h&&(y=r)),v=Tl(0,1,n)*u}const b=x?{done:!1,value:a[0]}:y.next(v);s&&(b.value=s(b.value));let{done:w}=b;x||null===l||(w=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const j=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return j&&void 0!==i&&(b.value=nd(a,this.options,i)),f&&f(b.value),j&&this.finish(),b}get duration(){const{resolved:e}=this;return e?Lc(e.calculatedDuration):0}get time(){return Lc(this.currentTime)}set time(e){e=Bc(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=Lc(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=Qd,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e((e=>this.tick(e)))),t&&t();const i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=i):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;this._resolved?(this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const ip=new Set(["opacity","clipPath","filter","transform"]);function op(e,t,n,{delay:i=0,duration:o=300,repeat:r=0,repeatType:s="loop",ease:a="easeInOut",times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Yc(a,o);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:i,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:r+1,direction:"reverse"===s?"alternate":"normal"})}const rp=Rc((()=>Object.hasOwnProperty.call(Element.prototype,"animate")));const sp={anticipate:nu,backInOut:tu,circInOut:ru};class ap extends id{constructor(e){super(e);const{name:t,motionValue:n,element:i,keyframes:o}=this.options;this.resolver=new Ju(o,((e,t)=>this.onKeyframesResolved(e,t)),t,n,i),this.resolver.scheduleResolve()}initPlayback(e,t){let{duration:n=300,times:i,ease:o,type:r,motionValue:s,name:a,startTime:l}=this.options;if(!s.owner||!s.owner.current)return!1;if("string"==typeof o&&Nc()&&o in sp&&(o=sp[o]),function(e){return Dc(e.type)||"spring"===e.type||!Uc(e.ease)}(this.options)){const{onComplete:t,onUpdate:s,motionValue:a,element:l,...c}=this.options,u=function(e,t){const n=new np({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:e[0]};const o=[];let r=0;for(;!i.done&&r<2e4;)i=n.sample(r),o.push(i.value),r+=10;return{times:void 0,keyframes:o,duration:r-10,ease:"linear"}}(e,c);1===(e=u.keyframes).length&&(e[1]=e[0]),n=u.duration,i=u.times,o=u.ease,r="keyframes"}const c=op(s.owner.current,a,e,{...this.options,duration:n,times:i,ease:o});return c.startTime=null!=l?l:this.calcStartTime(),this.pendingTimeline?(Oc(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:n}=this.options;s.set(nd(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:n,times:i,type:r,ease:o,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:t}=e;return Lc(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return Lc(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.currentTime=Bc(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:t}=e;return t.playbackRate}set speed(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:t}=e;return t.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){const{resolved:t}=this;if(!t)return ka;const{animation:n}=t;Oc(n,e)}else this.pendingTimeline=e;return ka}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:t,keyframes:n,duration:i,type:o,ease:r,times:s}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){const{motionValue:e,onUpdate:t,onComplete:a,element:l,...c}=this.options,u=new np({...c,keyframes:n,duration:i,type:o,ease:r,times:s,isGenerator:!0}),d=Bc(this.time);e.setWithVelocity(u.sample(d-10).value,u.sample(d).value,10)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:t,name:n,repeatDelay:i,repeatType:o,damping:r,type:s}=e;if(!(t&&t.owner&&t.owner.current instanceof HTMLElement))return!1;const{onUpdate:a,transformTemplate:l}=t.owner.getProps();return rp()&&n&&ip.has(n)&&!a&&!l&&!i&&"mirror"!==o&&0!==r&&"inertia"!==s}}const lp={type:"spring",stiffness:500,damping:25,restSpeed:10},cp={type:"keyframes",duration:.8},up={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},dp=(e,{keyframes:t})=>t.length>2?cp:wl.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:lp:up;const pp=(e,t,n,i={},o,r)=>s=>{const a=xc(i,e)||{},l=a.delay||i.delay||0;let{elapsed:c=0}=i;c-=Bc(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:r?void 0:o};(function({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:o,repeat:r,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length})(a)||(u={...u,...dp(e,u)}),u.duration&&(u.duration=Bc(u.duration)),u.repeatDelay&&(u.repeatDelay=Bc(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let d=!1;if((!1===u.type||0===u.duration&&!u.repeatDelay)&&(u.duration=0,0===u.delay&&(d=!0)),d&&!r&&void 0!==t.get()){const e=nd(u.keyframes,a);if(void 0!==e)return za.update((()=>{u.onUpdate(e),u.onComplete()})),new Fc([])}return!r&&ap.supports(u)?new ap(u):new np(u)};function hp({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,i}function mp(e,t,{delay:n=0,transitionOverride:i,type:o}={}){var r;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;i&&(s=i);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const t in l){const i=e.getValue(t,null!==(r=e.latestValues[t])&&void 0!==r?r:null),o=l[t];if(void 0===o||u&&hp(u,t))continue;const a={delay:n,...xc(s||{},t)};let d=!1;if(window.MotionHandoffAnimation){const n=zc(e);if(n){const e=window.MotionHandoffAnimation(n,t,za);null!==e&&(a.startTime=e,d=!0)}}Ac(e,t),i.start(pp(t,i,o,e.shouldReduceMotion&&vc.has(t)?{type:!1}:a,e,d));const p=i.animation;p&&c.push(p)}return a&&Promise.all(c).then((()=>{za.update((()=>{a&&function(e,t){const n=gc(e,t);let{transitionEnd:i={},transition:o={},...r}=n||{};r={...r,...i};for(const t in r)Tc(e,t,(s=r[t],fl(s)?s[s.length-1]||0:s));var s}(e,a)}))})),c}function fp(e,t,n={}){var i;const o=gc(e,t,"exit"===n.type?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0);let{transition:r=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(r=n.transitionOverride);const s=o?()=>Promise.all(mp(e,o,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(i=0)=>{const{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=r;return function(e,t,n=0,i=0,o=1,r){const s=[],a=(e.variantChildren.size-1)*i,l=1===o?(e=0)=>e*i:(e=0)=>a-e*i;return Array.from(e.variantChildren).sort(gp).forEach(((e,i)=>{e.notify("AnimationStart",t),s.push(fp(e,t,{...r,delay:n+l(i)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(s)}(e,t,o+i,s,a,n)}:()=>Promise.resolve(),{when:l}=r;if(l){const[e,t]="beforeChildren"===l?[s,a]:[a,s];return e().then((()=>t()))}return Promise.all([s(),a(n.delay)])}function gp(e,t){return e.sortNodePosition(t)}const xp=Ya.length;function vp(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&vp(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<xp;n++){const i=Ya[n],o=e.props[i];(Ua(o)||!1===o)&&(t[i]=o)}return t}const yp=[...Ga].reverse(),bp=Ga.length;function wp(e){return t=>Promise.all(t.map((({animation:t,options:n})=>function(e,t,n={}){let i;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map((t=>fp(e,t,n)));i=Promise.all(o)}else if("string"==typeof t)i=fp(e,t,n);else{const o="function"==typeof t?gc(e,t,n.custom):t;i=Promise.all(mp(e,o,n))}return i.then((()=>{e.notify("AnimationComplete",t)}))}(e,t,n))))}function jp(e){let t=wp(e),n=Sp(),i=!0;const o=t=>(n,i)=>{var o;const r=gc(e,i,"exit"===t?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0);if(r){const{transition:e,transitionEnd:t,...i}=r;n={...n,...i,...t}}return n};function r(r){const{props:s}=e,a=vp(e.parent)||{},l=[],c=new Set;let u={},d=1/0;for(let t=0;t<bp;t++){const p=yp[t],h=n[p],m=void 0!==s[p]?s[p]:a[p],f=Ua(m),g=p===r?h.isActive:null;!1===g&&(d=t);let x=m===a[p]&&m!==s[p]&&f;if(x&&i&&e.manuallyAnimateOnMount&&(x=!1),h.protectedKeys={...u},!h.isActive&&null===g||!m&&!h.prevProp||Za(m)||"boolean"==typeof m)continue;const v=Cp(h.prevProp,m);let y=v||p===r&&h.isActive&&!x&&f||t>d&&f,b=!1;const w=Array.isArray(m)?m:[m];let j=w.reduce(o(p),{});!1===g&&(j={});const{prevResolvedValues:C={}}=h,k={...C,...j},S=t=>{y=!0,c.has(t)&&(b=!0,c.delete(t)),h.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in k){const t=j[e],n=C[e];if(u.hasOwnProperty(e))continue;let i=!1;i=fl(t)&&fl(n)?!fc(t,n):t!==n,i?null!=t?S(e):c.add(e):void 0!==t&&c.has(e)?S(e):h.protectedKeys[e]=!0}h.prevProp=m,h.prevResolvedValues=j,h.isActive&&(u={...u,...j}),i&&e.blockInitialAnimation&&(y=!1);y&&(!(x&&v)||b)&&l.push(...w.map((e=>({animation:e,options:{type:p}}))))}if(c.size){const t={};c.forEach((n=>{const i=e.getBaseTarget(n),o=e.getValue(n);o&&(o.liveStyle=!0),t[n]=null!=i?i:null})),l.push({animation:t})}let p=Boolean(l.length);return!i||!1!==s.initial&&s.initial!==s.animate||e.manuallyAnimateOnMount||(p=!1),i=!1,p?t(l):Promise.resolve()}return{animateChanges:r,setActive:function(t,i){var o;if(n[t].isActive===i)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach((e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,i)})),n[t].isActive=i;const s=r(t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=Sp(),i=!0}}}function Cp(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!fc(t,e)}function kp(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Sp(){return{animate:kp(!0),whileInView:kp(),whileHover:kp(),whileTap:kp(),whileDrag:kp(),whileFocus:kp(),exit:kp()}}class Mp{constructor(e){this.isMounted=!1,this.node=e}update(){}}let Pp=0;const Tp={animation:{Feature:class extends Mp{constructor(e){super(e),e.animationState||(e.animationState=jp(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();Za(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}},exit:{Feature:class extends Mp{constructor(){super(...arguments),this.id=Pp++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const i=this.node.animationState.setActive("exit",!e);t&&!e&&i.then((()=>t(this.id)))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Ap={x:!1,y:!1};function zp(){return Ap.x||Ap.y}const Rp=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Ep(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}function Vp(e){return{point:{x:e.pageX,y:e.pageY}}}function Fp(e,t,n,i){return Ep(e,t,(e=>t=>Rp(t)&&e(t,Vp(t)))(n),i)}const Bp=(e,t)=>Math.abs(e-t);class Lp{constructor(e,t,{transformPagePoint:n,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=Ip(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Bp(e.x,t.x),i=Bp(e.y,t.y);return Math.sqrt(n**2+i**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:i}=e,{timestamp:o}=Ea;this.history.push({...i,timestamp:o});const{onStart:r,onMove:s}=this.handlers;t||(r&&r(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Dp(t,this.transformPagePoint),za.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:i,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const r=Ip("pointercancel"===e.type?this.lastMoveEventInfo:Dp(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,r),i&&i(e,r)},!Rp(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=n,this.contextWindow=i||window;const r=Dp(Vp(e),this.transformPagePoint),{point:s}=r,{timestamp:a}=Ea;this.history=[{...s,timestamp:a}];const{onSessionStart:l}=t;l&&l(e,Ip(r,this.history)),this.removeListeners=md(Fp(this.contextWindow,"pointermove",this.handlePointerMove),Fp(this.contextWindow,"pointerup",this.handlePointerUp),Fp(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Ra(this.updatePoint)}}function Dp(e,t){return t?{point:t(e.point)}:e}function Op(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ip({point:e},t){return{point:e,delta:Op(e,Hp(t)),offset:Op(e,$p(t)),velocity:Np(t,.1)}}function $p(e){return e[0]}function Hp(e){return e[e.length-1]}function Np(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const o=Hp(e);for(;n>=0&&(i=e[n],!(o.timestamp-i.timestamp>Bc(t)));)n--;if(!i)return{x:0,y:0};const r=Lc(o.timestamp-i.timestamp);if(0===r)return{x:0,y:0};const s={x:(o.x-i.x)/r,y:(o.y-i.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Wp(e){return e.max-e.min}function _p(e,t,n,i=.5){e.origin=i,e.originPoint=sd(t.min,t.max,e.origin),e.scale=Wp(n)/Wp(t),e.translate=sd(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function Up(e,t,n,i){_p(e.x,t.x,n.x,i?i.originX:void 0),_p(e.y,t.y,n.y,i?i.originY:void 0)}function Zp(e,t,n){e.min=n.min+t.min,e.max=e.min+Wp(t)}function Gp(e,t,n){e.min=t.min-n.min,e.max=e.min+Wp(t)}function Yp(e,t,n){Gp(e.x,t.x,n.x),Gp(e.y,t.y,n.y)}function qp(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Kp(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,i]=[i,n]),{min:n,max:i}}const Xp=.35;function Jp(e,t,n){return{min:Qp(e,t),max:Qp(e,n)}}function Qp(e,t){return"number"==typeof e?e:e[t]||0}const eh=()=>({x:{min:0,max:0},y:{min:0,max:0}});function th(e){return[e("x"),e("y")]}function nh({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function ih(e){return void 0===e||1===e}function oh({scale:e,scaleX:t,scaleY:n}){return!ih(e)||!ih(t)||!ih(n)}function rh(e){return oh(e)||sh(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function sh(e){return ah(e.x)||ah(e.y)}function ah(e){return e&&"0%"!==e}function lh(e,t,n){return n+t*(e-n)}function ch(e,t,n,i,o){return void 0!==o&&(e=lh(e,o,i)),lh(e,n,i)+t}function uh(e,t=0,n=1,i,o){e.min=ch(e.min,t,n,i,o),e.max=ch(e.max,t,n,i,o)}function dh(e,{x:t,y:n}){uh(e.x,t.translate,t.scale,t.originPoint),uh(e.y,n.translate,n.scale,n.originPoint)}const ph=.999999999999,hh=1.0000000000001;function mh(e,t){e.min=e.min+t,e.max=e.max+t}function fh(e,t,n,i,o=.5){uh(e,t,n,sd(e.min,e.max,o),i)}function gh(e,t){fh(e.x,t.x,t.scaleX,t.scale,t.originX),fh(e.y,t.y,t.scaleY,t.scale,t.originY)}function xh(e,t){return nh(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(e.getBoundingClientRect(),t))}const vh=({current:e})=>e?e.ownerDocument.defaultView:null,yh=new WeakMap;class bh{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:i}=this.getProps();this.panSession=new Lp(e,{onSessionStart:e=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(Vp(e).point)},onStart:(e,t)=>{const{drag:n,dragPropagation:i,onDragStart:o}=this.getProps();if(n&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(r=n)||"y"===r?Ap[r]?null:(Ap[r]=!0,()=>{Ap[r]=!1}):Ap.x||Ap.y?null:(Ap.x=Ap.y=!0,()=>{Ap.x=Ap.y=!1}),!this.openDragLock))return;var r;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),th((e=>{let t=this.getAxisMotionValue(e).get()||0;if(Fl.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[e];if(i){t=Wp(i)*(parseFloat(t)/100)}}}this.originPoint[e]=t})),o&&za.postRender((()=>o(e,t))),Ac(this.visualElement,"transform");const{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:o,onDrag:r}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:s}=t;if(i&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),r&&r(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>th((e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:vh(this.visualElement)})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:i}=t;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&za.postRender((()=>o(e,t)))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:i}=this.getProps();if(!n||!wh(e,i,this.currentDirection))return;const o=this.getAxisMotionValue(e);let r=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(r=function(e,{min:t,max:n},i){return void 0!==t&&e<t?e=i?sd(t,e,i.min):Math.max(e,t):void 0!==n&&e>n&&(e=i?sd(n,e,i.max):Math.min(e,n)),e}(r,this.constraints[e],this.elastic[e])),o.set(r)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,o=this.constraints;t&&el(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!i)&&function(e,{top:t,left:n,bottom:i,right:o}){return{x:qp(e.x,n,o),y:qp(e.y,t,i)}}(i.layoutBox,t),this.elastic=function(e=Xp){return!1===e?e=0:!0===e&&(e=Xp),{x:Jp(e,"left","right"),y:Jp(e,"top","bottom")}}(n),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&th((e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(i.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!el(e))return!1;const n=e.current;Ma(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=function(e,t,n){const i=xh(e,n),{scroll:o}=t;return o&&(mh(i.x,o.offset.x),mh(i.y,o.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let r=function(e,t){return{x:Kp(e.x,t.x),y:Kp(e.y,t.y)}}(i.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(r));this.hasMutatedConstraints=!!e,e&&(r=nh(e))}return r}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:i,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=th((s=>{if(!wh(s,t,this.currentDirection))return;let l=a[s]||{};r&&(l={min:0,max:0});const c=i?200:1e6,u=i?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(s,d)}));return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return Ac(this.visualElement,e),n.start(pp(e,n,0,t,this.visualElement,!1))}stopAnimation(){th((e=>this.getAxisMotionValue(e).stop()))}pauseAnimation(){th((e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()}))}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps(),i=n[t];return i||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){th((t=>{const{drag:n}=this.getProps();if(!wh(t,n,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(t);if(i&&i.layout){const{min:n,max:r}=i.layout.layoutBox[t];o.set(e[t]-sd(n,r,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!el(t)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};th((e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();i[e]=function(e,t){let n=.5;const i=Wp(e),o=Wp(t);return o>i?n=Wc(t.min,t.max-i,e.min):i>o&&(n=Wc(e.min,e.max-o,t.min)),Tl(0,1,n)}({min:n,max:n},this.constraints[e])}}));const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),th((t=>{if(!wh(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:r}=this.constraints[t];n.set(sd(o,r,i[t]))}))}addListeners(){if(!this.visualElement.current)return;yh.set(this.visualElement,this);const e=Fp(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)})),t=()=>{const{dragConstraints:e}=this.getProps();el(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),za.read(t);const o=Ep(window,"resize",(()=>this.scalePositionWithinConstraints())),r=n.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(th((t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))})),this.visualElement.render())}));return()=>{o(),e(),i(),r&&r()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:r=Xp,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:i,dragConstraints:o,dragElastic:r,dragMomentum:s}}}function wh(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const jh=e=>(t,n)=>{e&&za.postRender((()=>e(t,n)))};const Ch={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function kh(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Sh={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Bl.test(e))return e;e=parseFloat(e)}return`${kh(e,t.target.x)}% ${kh(e,t.target.y)}%`}},Mh={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,o=Su.parse(e);if(o.length>5)return i;const r=Su.createTransformer(e),s="number"!=typeof o[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const c=sd(a,l,.5);return"number"==typeof o[2+s]&&(o[2+s]/=c),"number"==typeof o[3+s]&&(o[3+s]/=c),r(o)}};class Ph extends f{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:i}=this.props,{projection:o}=e;!function(e){for(const t in e)nc[t]=e[t],Cl(t)&&(nc[t].isCSSVariable=!0)}(Ah),o&&(t.group&&t.group.add(o),n&&n.register&&i&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",(()=>{this.safeToRemove()})),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Ch.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:i,isPresent:o}=this.props,r=n.projection;return r?(r.isPresent=o,i||e.layoutDependency!==t||void 0===t?r.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?r.promote():r.relegate()||za.postRender((()=>{const e=r.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),ol.postRender((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Th(e){const[t,n]=function(e=!0){const t=c(ba);if(null===t)return[!0,null];const{isPresent:n,onExitComplete:i,register:r}=t,a=u();o((()=>{e&&r(a)}),[e]);const l=s((()=>e&&i&&i(a)),[a,i,e]);return!n&&i?[!1,l]:[!0]}(),i=c(ya);return On.jsx(Ph,{...e,layoutGroup:i,switchLayoutGroup:c(sl),isPresent:t,safeToRemove:n})}const Ah={borderRadius:{...Sh,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Sh,borderTopRightRadius:Sh,borderBottomLeftRadius:Sh,borderBottomRightRadius:Sh,boxShadow:Mh};const zh=(e,t)=>e.depth-t.depth;class Rh{constructor(){this.children=[],this.isDirty=!1}add(e){jc(this.children,e),this.isDirty=!0}remove(e){Cc(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(zh),this.isDirty=!1,this.children.forEach(e)}}const Eh=["TopLeft","TopRight","BottomLeft","BottomRight"],Vh=Eh.length,Fh=e=>"string"==typeof e?parseFloat(e):e,Bh=e=>"number"==typeof e||Bl.test(e);function Lh(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Dh=Ih(0,.5,ou),Oh=Ih(.5,.95,ka);function Ih(e,t,n){return i=>i<e?0:i>t?1:n(Wc(e,t,i))}function $h(e,t){e.min=t.min,e.max=t.max}function Hh(e,t){$h(e.x,t.x),$h(e.y,t.y)}function Nh(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Wh(e,t,n,i,o){return e=lh(e-=t,1/n,i),void 0!==o&&(e=lh(e,1/o,i)),e}function _h(e,t,[n,i,o],r,s){!function(e,t=0,n=1,i=.5,o,r=e,s=e){Fl.test(t)&&(t=parseFloat(t),t=sd(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=sd(r.min,r.max,i);e===r&&(a-=t),e.min=Wh(e.min,t,n,a,o),e.max=Wh(e.max,t,n,a,o)}(e,t[n],t[i],t[o],t.scale,r,s)}const Uh=["x","scaleX","originX"],Zh=["y","scaleY","originY"];function Gh(e,t,n,i){_h(e.x,t,Uh,n?n.x:void 0,i?i.x:void 0),_h(e.y,t,Zh,n?n.y:void 0,i?i.y:void 0)}function Yh(e){return 0===e.translate&&1===e.scale}function qh(e){return Yh(e.x)&&Yh(e.y)}function Kh(e,t){return e.min===t.min&&e.max===t.max}function Xh(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Jh(e,t){return Xh(e.x,t.x)&&Xh(e.y,t.y)}function Qh(e){return Wp(e.x)/Wp(e.y)}function em(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class tm{constructor(){this.members=[]}add(e){jc(this.members,e),e.scheduleRender()}remove(e){if(Cc(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const nm={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},im="undefined"!=typeof window&&void 0!==window.MotionDebug,om=["","X","Y","Z"],rm={visibility:"hidden"};let sm=0;function am(e,t,n,i){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),i&&(i[e]=0))}function lm(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=zc(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",za,!(t||i))}const{parent:i}=e;i&&!i.hasCheckedOptimisedAppear&&lm(i)}function cm({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=sm++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,im&&(nm.totalNodes=nm.resolvedTargetDeltas=nm.recalculatedProjection=0),this.nodes.forEach(pm),this.nodes.forEach(ym),this.nodes.forEach(bm),this.nodes.forEach(hm),im&&window.MotionDebug.record(nm)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Rh)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new kc),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var i;this.isSVG=(i=t)instanceof SVGElement&&"svg"!==i.tagName,this.instance=t;const{layoutId:o,layout:r,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(r||o)&&(this.isLayoutDirty=!0),e){let n;const i=()=>this.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=wc.now(),i=({timestamp:o})=>{const r=o-n;r>=t&&(Ra(i),e(r-t))};return za.read(i,!0),()=>Ra(i)}(i,250),Ch.hasAnimatedSinceResize&&(Ch.hasAnimatedSinceResize=!1,this.nodes.forEach(vm))}))}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&s&&(o||r)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||s.getDefaultTransition()||Mm,{onLayoutAnimationStart:r,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!Jh(this.targetLayout,i),c=!t&&n;if(this.options.layoutRoot||this.resumeFrom||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...xc(o,"layout"),onPlay:r,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||vm(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ra(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(wm),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&lm(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(fm);this.isUpdating||this.nodes.forEach(gm),this.isUpdating=!1,this.nodes.forEach(xm),this.nodes.forEach(um),this.nodes.forEach(dm),this.clearAllSnapshots();const e=wc.now();Ea.delta=Tl(0,1e3/60,e-Ea.timestamp),Ea.timestamp=e,Ea.isProcessing=!0,Va.update.process(Ea),Va.preRender.process(Ea),Va.render.process(Ea),Ea.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ol.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(mm),this.sharedNodes.forEach(jm)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,za.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){za.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||Wp(this.snapshot.measuredBox.x)||Wp(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){const t=i(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!qh(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,r=i!==this.prevTransformTemplateValue;e&&(t||rh(this.latestValues)||r)&&(o(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var i;return e&&(n=this.removeTransform(n)),Am((i=n).x),Am(i.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var e;const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const n=t.measureViewportBox();if(!((null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)||this.path.some(Rm))){const{scroll:e}=this.root;e&&(mh(n.x,e.offset.x),mh(n.y,e.offset.y))}return n}removeElementScroll(e){var t;const n={x:{min:0,max:0},y:{min:0,max:0}};if(Hh(n,e),null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)return n;for(let t=0;t<this.path.length;t++){const i=this.path[t],{scroll:o,options:r}=i;i!==this.root&&o&&r.layoutScroll&&(o.wasRoot&&Hh(n,e),mh(n.x,o.offset.x),mh(n.y,o.offset.y))}return n}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Hh(n,e);for(let e=0;e<this.path.length;e++){const i=this.path[e];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&gh(n,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),rh(i.latestValues)&&gh(n,i.latestValues)}return rh(this.latestValues)&&gh(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Hh(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!rh(n.latestValues))continue;oh(n.latestValues)&&n.updateSnapshot();const i={x:{min:0,max:0},y:{min:0,max:0}};Hh(i,n.measurePageBox()),Gh(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,i)}return rh(this.latestValues)&&Gh(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ea.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const i=Boolean(this.resumingFrom)||this!==n;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:o,layoutId:r}=this.options;if(this.layout&&(o||r)){if(this.resolvedRelativeTargetAt=Ea.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Yp(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Hh(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var s,a,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,Zp(s.x,a.x,l.x),Zp(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Hh(this.target,this.layout.layoutBox),dh(this.target,this.targetDelta)):Hh(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Yp(this.relativeTargetOrigin,this.target,e.target),Hh(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}im&&nm.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!oh(this.parent.latestValues)&&!sh(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let i=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===Ea.timestamp&&(i=!1),i)return;const{layout:o,layoutId:r}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!r)return;Hh(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,i=!1){const o=n.length;if(!o)return;let r,s;t.x=t.y=1;for(let a=0;a<o;a++){r=n[a],s=r.projectionDelta;const{visualElement:o}=r.options;o&&o.props.style&&"contents"===o.props.style.display||(i&&r.options.layoutScroll&&r.scroll&&r!==r.root&&gh(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,dh(e,s)),i&&rh(r.latestValues)&&gh(e,r.latestValues))}t.x<hh&&t.x>ph&&(t.x=1),t.y<hh&&t.y>ph&&(t.y=1)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox,t.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:l}=t;l?(this.projectionDelta&&this.prevProjectionDelta?(Nh(this.prevProjectionDelta.x,this.projectionDelta.x),Nh(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),Up(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&em(this.projectionDelta.x,this.prevProjectionDelta.x)&&em(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),im&&nm.recalculatedProjection++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(e,t=!1){const n=this.snapshot,i=n?n.latestValues:{},o={...this.latestValues},r={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(Sm));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,p;Cm(r.x,e.x,n),Cm(r.y,e.y,n),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Yp(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,i){km(e.x,t.x,n.x,i),km(e.y,t.y,n.y,i)}(this.relativeTarget,this.relativeTargetOrigin,s,n),d&&(l=this.relativeTarget,p=d,Kh(l.x,p.x)&&Kh(l.y,p.y))&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Hh(d,this.relativeTarget)),a&&(this.animationValues=o,function(e,t,n,i,o,r){o?(e.opacity=sd(0,void 0!==n.opacity?n.opacity:1,Dh(i)),e.opacityExit=sd(void 0!==t.opacity?t.opacity:1,0,Oh(i))):r&&(e.opacity=sd(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let o=0;o<Vh;o++){const r=`border${Eh[o]}Radius`;let s=Lh(t,r),a=Lh(n,r);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||Bh(s)===Bh(a)?(e[r]=Math.max(sd(Fh(s),Fh(a),i),0),(Fl.test(a)||Fl.test(s))&&(e[r]+="%")):e[r]=a)}(t.rotate||n.rotate)&&(e.rotate=sd(t.rotate||0,n.rotate||0,i))}(o,i,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Ra(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=za.update((()=>{Ch.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const i=gl(e)?e:Pc(e);return i.start(pp("",i,t,n)),i.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:i,latestValues:o}=e;if(t&&n&&i){if(this!==e&&this.layout&&i&&zm(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Wp(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const i=Wp(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+i}Hh(t,n),gh(t,o),Up(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new tm);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const i=this.getStack();i&&i.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const i={};n.z&&am("z",e,i,this.animationValues);for(let t=0;t<om.length;t++)am(`rotate${om[t]}`,e,i,this.animationValues),am(`skew${om[t]}`,e,i,this.animationValues);e.render();for(const t in i)e.setStaticValue(t,i[t]),this.animationValues&&(this.animationValues[t]=i[t]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return rm;const i={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=xl(null==e?void 0:e.pointerEvents)||"",i.transform=o?o(this.latestValues,""):"none",i;const r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=xl(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!rh(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const s=r.animationValues||r.latestValues;this.applyTransformsToTarget(),i.transform=function(e,t,n){let i="";const o=e.x.translate/t.x,r=e.y.translate/t.y,s=(null==n?void 0:n.z)||0;if((o||r||s)&&(i=`translate3d(${o}px, ${r}px, ${s}px) `),1===t.x&&1===t.y||(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,rotateX:o,rotateY:r,skewX:s,skewY:a}=n;e&&(i=`perspective(${e}px) ${i}`),t&&(i+=`rotate(${t}deg) `),o&&(i+=`rotateX(${o}deg) `),r&&(i+=`rotateY(${r}deg) `),s&&(i+=`skewX(${s}deg) `),a&&(i+=`skewY(${a}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return 1===a&&1===l||(i+=`scale(${a}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,s),o&&(i.transform=o(s,i.transform));const{x:a,y:l}=this.projectionDelta;i.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,r.animationValues?i.opacity=r===this?null!==(n=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:i.opacity=r===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in nc){if(void 0===s[e])continue;const{correct:t,applyTo:n,isCSSVariable:o}=nc[e],a="none"===i.transform?s[e]:t(s[e],r);if(n){const e=n.length;for(let t=0;t<e;t++)i[n[t]]=a}else o?this.options.visualElement.renderState.vars[e]=a:i[e]=a}return this.options.layoutId&&(i.pointerEvents=r===this?xl(null==e?void 0:e.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(fm),this.root.sharedNodes.clear()}}}function um(e){e.updateLayout()}function dm(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:i}=e.layout,{animationType:o}=e.options,r=n.source!==e.layout.source;"size"===o?th((e=>{const i=r?n.measuredBox[e]:n.layoutBox[e],o=Wp(i);i.min=t[e].min,i.max=i.min+o})):zm(o,n.layoutBox,t)&&th((i=>{const o=r?n.measuredBox[i]:n.layoutBox[i],s=Wp(t[i]);o.max=o.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[i].max=e.relativeTarget[i].min+s)}));const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Up(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};r?Up(a,e.applyTransform(i,!0),n.measuredBox):Up(a,t,n.layoutBox);const l=!qh(s);let c=!1;if(!e.resumeFrom){const i=e.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:o,layout:r}=i;if(o&&r){const s={x:{min:0,max:0},y:{min:0,max:0}};Yp(s,n.layoutBox,o.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};Yp(a,t,r.layoutBox),Jh(s,a)||(c=!0),i.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=i)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function pm(e){im&&nm.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function hm(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function mm(e){e.clearSnapshot()}function fm(e){e.clearMeasurements()}function gm(e){e.isLayoutDirty=!1}function xm(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function vm(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ym(e){e.resolveTargetDelta()}function bm(e){e.calcProjection()}function wm(e){e.resetSkewAndRotation()}function jm(e){e.removeLeadSnapshot()}function Cm(e,t,n){e.translate=sd(t.translate,0,n),e.scale=sd(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function km(e,t,n,i){e.min=sd(t.min,n.min,i),e.max=sd(t.max,n.max,i)}function Sm(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Mm={duration:.45,ease:[.4,0,.1,1]},Pm=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Tm=Pm("applewebkit/")&&!Pm("chrome/")?Math.round:ka;function Am(e){e.min=Tm(e.min),e.max=Tm(e.max)}function zm(e,t,n){return"position"===e||"preserve-aspect"===e&&(i=Qh(t),o=Qh(n),r=.2,!(Math.abs(i-o)<=r));var i,o,r}function Rm(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}const Em=cm({attachResizeListener:(e,t)=>Ep(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Vm={current:void 0},Fm=cm({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Vm.current){const e=new Em({});e.mount(window),e.setOptions({layoutScroll:!0}),Vm.current=e}return Vm.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Bm={pan:{Feature:class extends Mp{constructor(){super(...arguments),this.removePointerDownListener=ka}onPointerDown(e){this.session=new Lp(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:vh(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:jh(e),onStart:jh(t),onMove:n,onEnd:(e,t)=>{delete this.session,i&&za.postRender((()=>i(e,t)))}}}mount(){this.removePointerDownListener=Fp(this.node.current,"pointerdown",(e=>this.onPointerDown(e)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends Mp{constructor(e){super(e),this.removeGroupControls=ka,this.removeListeners=ka,this.controls=new bh(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ka}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Fm,MeasureLayout:Th}};function Lm(e,t){const n=function(e){if(e instanceof Element)return[e];if("string"==typeof e){const t=document.querySelectorAll(e);return t?Array.from(t):[]}return Array.from(e)}(e),i=new AbortController;return[n,{passive:!0,...t,signal:i.signal},()=>i.abort()]}function Dm(e){return!("touch"===e.pointerType||zp())}function Om(e,t,n){const{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover","Start"===n);const o=i["onHover"+n];o&&za.postRender((()=>o(t,Vp(t))))}const Im=(e,t)=>!!t&&(e===t||Im(e,t.parentElement)),$m=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);const Hm=new WeakSet;function Nm(e){return t=>{"Enter"===t.key&&e(t)}}function Wm(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function _m(e){return Rp(e)&&!zp()}function Um(e,t,n={}){const[i,o,r]=Lm(e,n),s=e=>{const i=e.currentTarget;if(!_m(e)||Hm.has(i))return;Hm.add(i);const r=t(i,e),s=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),_m(e)&&Hm.has(i)&&(Hm.delete(i),"function"==typeof r&&r(e,{success:t}))},a=e=>{s(e,n.useGlobalTarget||Im(i,e.target))},l=e=>{s(e,!1)};window.addEventListener("pointerup",a,o),window.addEventListener("pointercancel",l,o)};return i.forEach((e=>{(function(e){return $m.has(e.tagName)||-1!==e.tabIndex})(e)||null!==e.getAttribute("tabindex")||(e.tabIndex=0);(n.useGlobalTarget?window:e).addEventListener("pointerdown",s,o),e.addEventListener("focus",(e=>((e,t)=>{const n=e.currentTarget;if(!n)return;const i=Nm((()=>{if(Hm.has(n))return;Wm(n,"down");const e=Nm((()=>{Wm(n,"up")}));n.addEventListener("keyup",e,t),n.addEventListener("blur",(()=>Wm(n,"cancel")),t)}));n.addEventListener("keydown",i,t),n.addEventListener("blur",(()=>n.removeEventListener("keydown",i)),t)})(e,o)),o)})),r}function Zm(e,t,n){const{props:i}=e;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap","Start"===n);const o=i["onTap"+("End"===n?"":n)];o&&za.postRender((()=>o(t,Vp(t))))}const Gm=new WeakMap,Ym=new WeakMap,qm=e=>{const t=Gm.get(e.target);t&&t(e)},Km=e=>{e.forEach(qm)};function Xm(e,t,n){const i=function({root:e,...t}){const n=e||document;Ym.has(n)||Ym.set(n,{});const i=Ym.get(n),o=JSON.stringify(t);return i[o]||(i[o]=new IntersectionObserver(Km,{root:e,...t})),i[o]}(t);return Gm.set(e,n),i.observe(e),()=>{Gm.delete(e),i.unobserve(e)}}const Jm={some:0,all:1};const Qm={inView:{Feature:class extends Mp{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:i="some",once:o}=e,r={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:Jm[i]};return Xm(this.node.current,r,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),r=t?n:i;r&&r(e)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Mp{mount(){const{current:e}=this.node;e&&(this.unmount=Um(e,((e,t)=>(Zm(this.node,t,"Start"),(e,{success:t})=>Zm(this.node,e,t?"End":"Cancel"))),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends Mp{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=md(Ep(this.node.current,"focus",(()=>this.onFocus())),Ep(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends Mp{mount(){const{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){const[i,o,r]=Lm(e,n),s=e=>{if(!Dm(e))return;const{target:n}=e,i=t(n,e);if("function"!=typeof i||!n)return;const r=e=>{Dm(e)&&(i(e),n.removeEventListener("pointerleave",r))};n.addEventListener("pointerleave",r,o)};return i.forEach((e=>{e.addEventListener("pointerenter",s,o)})),r}(e,((e,t)=>(Om(this.node,t,"Start"),e=>Om(this.node,e,"End")))))}unmount(){}}}},ef={layout:{ProjectionNode:Fm,MeasureLayout:Th}},tf={current:null},nf={current:!1};const of=[...Ku,gu,Su],rf=new WeakMap;const sf=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class af{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:o,visualState:r},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Uu,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const e=wc.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,za.render(this.render,!1,!0))};const{latestValues:a,renderState:l,onUpdate:c}=r;this.onUpdate=c,this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=s,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=qa(t),this.isVariantNode=Ka(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==a[e]&&gl(t)&&t.set(a[e],!1)}}mount(e){this.current=e,rf.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),nf.current||function(){if(nf.current=!0,ja)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tf.current=e.matches;e.addListener(t),t()}else tf.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||tf.current),"production"!==process.env.NODE_ENV&&Na(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){rf.delete(this.current),this.projection&&this.projection.unmount(),Ra(this.notifyUpdate),Ra(this.render),this.valueSubscriptions.forEach((e=>e())),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const n=wl.has(e),i=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&za.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)})),o=t.on("renderRequest",this.scheduleRender);let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,(()=>{i(),o(),r&&r(),t.owner&&t.stop()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in La){const t=La[e];if(!t)continue;const{isEnabled:n,Feature:i}=t;if(!this.features[e]&&i&&n(this.props)&&(this.features[e]=new i(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<sf.length;t++){const n=sf[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const i=e["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=function(e,t,n){for(const i in t){const o=t[i],r=n[i];if(gl(o))e.addValue(i,o),"development"===process.env.NODE_ENV&&Na("12.0.6"===o.version,`Attempting to mix Motion versions ${o.version} with 12.0.6 may not work as expected.`);else if(gl(r))e.addValue(i,Pc(o,{owner:e}));else if(r!==o)if(e.hasValue(i)){const t=e.getValue(i);!0===t.liveStyle?t.jump(o):t.hasAnimated||t.set(o)}else{const t=e.getStaticValue(i);e.addValue(i,Pc(void 0!==t?t:o,{owner:e}))}}for(const i in n)void 0===t[i]&&e.removeValue(i);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Pc(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let i=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var o;return null!=i&&("string"==typeof i&&(Zu(i)||su(i))?i=parseFloat(i):(o=i,!of.find(qu(o))&&Su.test(t)&&(i=Eu(e,t))),this.setBaseTarget(e,gl(i)?i.get():i)),gl(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props;let i;if("string"==typeof n||"object"==typeof n){const o=ml(this.props,n,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);o&&(i=o[e])}if(n&&void 0!==i)return i;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||gl(o)?void 0!==this.initialValues[e]&&void 0===i?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new kc),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class lf extends af{constructor(){super(...arguments),this.KeyframeResolver=Ju}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;gl(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}}class cf extends lf{constructor(){super(...arguments),this.type="html",this.renderInstance=Ql}readValueFromInstance(e,t){if(wl.has(t)){const e=Ru(t);return e&&e.default||0}{const i=(n=e,window.getComputedStyle(n)),o=(Cl(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return xh(e,t)}build(e,t,n){Ul(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return oc(e,t,n)}}class uf extends lf{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=eh}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(wl.has(t)){const e=Ru(t);return e&&e.default||0}return t=ec.has(t)?t:nl(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return rc(e,t,n)}build(e,t,n){ql(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,i){tc(e,t,0,i)}mount(e){this.isSVGTag=Jl(e.tagName),super.mount(e)}}const df=(e,t)=>pl(e)?new uf(t):new cf(t,{allowProjection:e!==n}),pf=Wa(mc({...Tp,...Qm,...Bm,...ef},df)),hf=y((({children:e,loading:t,sizing:n,...i})=>On.jsxs(jr,{...i,sizing:n,loading:t,children:[t&&On.jsx(Ho,{sizing:n}),On.jsx(j,{...t?{visibility:"hidden"}:void 0,children:e})]})))((({theme:e,variation:t,sizing:n})=>({color:e.custom.palette.text.primary,...n&&{...br(n)},...n&&{...wr(n)},...n&&{...yr(n)},"&:hover:before":{backgroundColor:e.custom.palette.interaction.hover},"&:focus:before":{backgroundColor:e.custom.palette.interaction.hover},"&:active:before":{backgroundColor:e.custom.palette.interaction.press},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.text.disabled},..."subtle"===t&&{...pr(e)},..."outlined"===t&&{...hr(e)},..."secondary"===t&&{...mr(e)},..."primary"===t&&{...fr(e)}}))),mf=({sizing:e="lg",variation:t="primary",...n})=>On.jsx(hf,{variation:t,sizing:e,...n}),ff=y(Ve)((({theme:e,completed:t})=>({width:"24px",height:"24px",backgroundColor:e.custom.palette.surface.raised,boxShadow:"none",border:"none",padding:0,margin:"4px 0",...!t&&{border:`2px dashed ${e.custom.palette.icon.disabled}`}}))),gf=y(j)((({theme:e})=>({display:"flex",flexDirection:"column",padding:`0 0 ${e.spacing(e.custom.padding.md)} ${e.spacing(e.custom.padding.sm)}`}))),xf=e=>({display:"flex",flexWrap:"wrap",alignItems:"center",gap:e.spacing(e.custom.padding.sm),marginTop:e.spacing(e.custom.margin.xs)}),vf=y(Eo)((({theme:e})=>({[`&.${S.root}`]:{...xf(e),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.link},"&:hover":{"> .MuiTypography-root:first-child":{textDecoration:"underline"},"& .MuiSvgIcon-root":{color:e.custom.palette.icon.linkHover}}}}))),yf=y(j)((({theme:e})=>({[`&.${E.root}`]:{...xf(e),"& .MuiTypography-root":{color:"inherit"}}}))),bf=y(Fo)((()=>({color:"inherit",fontWeight:500,fontSize:dr.lg}))),wf=y(Fo)((({theme:e})=>({fontWeight:400,textDecoration:"none",color:e.custom.palette.text.secondary,flexBasis:"100%"}))),jf=({children:e,complete:t,url:n})=>t?On.jsx(yf,{children:e}):On.jsx(vf,{underline:"none",href:n,target:"_self",children:e}),Cf=({complete:e,title:t,description:n,url:i})=>On.jsx(gf,{children:On.jsxs(jf,{complete:e,url:i,children:[On.jsx(bf,{component:"p",variation:"lg",children:t}),!e&&On.jsx(Co,{name:"arrow-right",size:16}),!e&&n&&On.jsx(wf,{variation:"lg",component:"p",children:n})]})}),kf=({item:e,showConnector:t})=>{const{complete:n,title:i,description:o,url:r}=e;return On.jsxs(Be,{children:[On.jsxs(Le,{children:[On.jsx(ff,{completed:n,children:n?On.jsx(Co,{name:"badge-tick-in-circle",size:24}):void 0}),t&&On.jsx(De,{sx:{backgroundColor:e=>e.custom.palette.icon.disabled}})]}),e&&On.jsx(Oe,{component:()=>On.jsx(Cf,{complete:n,title:i,description:o,url:r})})]})},Sf=({expanded:e,onToggleExpanded:t,items:n})=>{const s=n.find((e=>!e.complete)),l=a((()=>e?n:[s]),[e]),c=i(null),[u,d]=r("auto");return o((()=>{if(!c.current)return;const e=c.current.scrollHeight+1.5*wn;d(e)}),[e,n]),On.jsx(pf.div,{initial:!1,animate:{height:u},transition:{duration:.4,ease:[.645,.045,.355,1]},style:{overflow:"hidden",paddingBottom:1.5*wn},children:On.jsx("div",{ref:c,children:On.jsxs(va,{sx:{paddingLeft:e=>e.spacing(e.custom.padding.xs),[`& .${Fe.root}`]:{minHeight:0,":before":{flex:0,padding:0}}},children:[l.map(((e,t)=>{const n=t<l.length-1;return e&&e?.title===s?.title?On.jsx(kf,{item:e,showConnector:l.length>1?n:!!s?.description},e.title):e&&On.jsx(kf,{item:e,showConnector:n},e.title)})),!e&&On.jsx(j,{sx:{marginTop:e=>e.spacing(e.custom.margin.md),alignSelf:"center"},children:On.jsx(mf,{endIcon:On.jsx(Co,{name:"chevron-down",size:16}),sizing:"xs",variation:"outlined",onClick:t,children:"Show more"})})]})})})},Mf=({completed:e,total:t})=>On.jsx(Fo,{component:"p",variation:"lg",sx:{fontWeight:500},children:`${e} of ${t} tasks completed`}),Pf=({cardTitle:e,cardSubtitle:t,welcomeImageUrl:n,welcomeImageAltDescription:i,items:o=[]})=>{const[s,a]=r(!0),l=Ts(),c=()=>a(!s),u=o.length,d=o.filter((e=>e.complete)).length,p=d/u*100;return On.jsxs(Ao,{variation:"raised",borderradius:"lg",sx:{display:"flex",flexDirection:"xl"===l?"row":"column",gap:e=>e.spacing(e.custom.margin.lg),padding:e=>e.spacing(e.custom.padding.lg)},children:[On.jsxs(Rs,{children:[On.jsx(j,{component:"img",src:n,alt:i,width:"72px",height:"72px"}),On.jsx(Fo,{component:"h1",variation:"md",fontWeight:500,children:e}),On.jsx(Vs,{component:"p",variation:"lg",children:t})]}),On.jsxs(Es,{children:[On.jsxs(j,{sx:{display:"flex",justifyContent:"space-between",alignItems:"start",width:"100%",height:"36px",paddingBottom:e=>e.spacing(e.custom.padding.sm)},children:[On.jsx(Mf,{completed:d,total:u}),s&&On.jsx(Qo,{sizing:"sm",variation:"outlined",icon:On.jsx(je,{}),onClick:c})]}),On.jsx(zs,{variation:"determinate",value:p}),On.jsx(Sf,{expanded:s,onToggleExpanded:c,items:o})]})]})},Tf={pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,30}$/i,message:"Please enter a valid email"}},Af=e=>{const t=e.toLowerCase();return["a","e","i","o","u"].some((e=>t.startsWith(e)))?"an":"a"},zf=(e,t,n)=>({maxLength:{value:n||255,message:`Maximum character limit of ${n||255}.`},...t&&{required:e?`Please enter ${Af(e)} ${e}`:"This field is required"}}),Rf=zf().maxLength.value,Ef=e=>({minLength:{value:e||8,message:`Password must have at least ${e||8} characters`},equal:{value:"password",message:"You cannot choose 'password' as your password"}}),Vf=e=>`linear-gradient(135deg, ${e.custom.palette.purple[400]} 0%, ${e.custom.palette.purple[200]} 100%)`,Ff=(e,t)=>{switch(t){case"tone1":default:return Vf(e);case"tone2":return(e=>`linear-gradient(135deg, ${e.custom.palette.purple[0]} 0%, ${e.custom.palette.purple[100]} 100%)`)(e);case"tone3":return(e=>`linear-gradient(135deg, ${e.custom.palette.blue[400]} 0%, ${e.custom.palette.purple[600]} 100%)`)(e);case"tone4":return(e=>`radial-gradient(54.59% 50% at 0% 50.04%, ${Z(e.custom.palette.blue[1e3],.2)} 0%, ${Z(e.custom.palette.blue[500],.2)} 100%), linear-gradient(135deg, ${e.custom.palette.purple[500]} 0%, ${e.custom.palette.purple[1e3]} 100%)`)(e)}},Bf=(e,t)=>{const n=Ff(e,t.gradient),i=(e=>"noise1"===e?"url(https://useloops-public.s3.eu-west-2.amazonaws.com/public/static/misc/noise_tile.png)":null)(t.texture);return i?[i,n].join(","):[n].join(",")},Lf=({logo:e,headerText:t,subText:n})=>{const i=w();return On.jsxs(O,{gap:i.spacing(i.custom.margin.md),alignItems:"center",mb:i.spacing(i.custom.margin.lg),children:[!1===e?null:e||On.jsx(Co,{name:"brand-wordmark",sx:{width:{sm:79,md:79,lg:106},height:{sm:24,md:24,lg:32}}}),On.jsxs(O,{gap:i.spacing(i.custom.margin.md),children:[t&&On.jsx(Fo,{variation:"sm",component:"h1",align:"center",weight:"bold",children:t}),function(){if(n)return"string"==typeof n?On.jsx(Fo,{variation:"md",component:"p",align:"center",children:n}):n}()]})]})},Df=({variation:e="primary",...t})=>{if("primary"===e)return On.jsx(G,{...t})},Of=({label:e,sx:t,...n})=>{const i=w(),o=e?i.custom.margin.md:0;return On.jsx(Y,{label:e||"",sx:ye({ml:0,"&.Mui-disabled":{color:i.custom.palette.text.disabled},"&.Mui-error":{color:i.custom.palette.text.negative},"& .MuiFormControlLabel-label":{ml:o,color:"inherit",fontSize:{xs:cr.sm.body.md,sm:cr.sm.body.md,md:cr.sm.body.md,lg:cr.lg.body.md,xl:cr.lg.body.md}},"&.MuiFormControlLabel-labelPlacementStart":{"& .MuiFormControlLabel-label":{ml:0,mr:o}}},t),...n})},If=y(q)((({theme:e,sizing:t})=>({height:"default"===t?bn[300]:bn[400],width:"default"===t?bn[300]:bn[400],padding:0,flex:"none",borderRadius:e.spacing(e.custom.radius.sm),border:`1px solid ${e.custom.palette.stroke.default}`,backgroundColor:e.custom.palette.input.default,position:"relative",transition:e.custom.easing.input,"& svg":{transition:e.custom.easing.input,fill:"none",width:"default"===t?jo.sm:jo.xl,height:"default"===t?jo.sm:jo.xl},"&:before":{content:'""',position:"absolute",inset:0},"&:hover":{backgroundColor:e.custom.palette.input.default,"&:before":{backgroundColor:e.custom.palette.interaction.hover}},"&:active":{backgroundColor:e.custom.palette.input.default,borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus,"&:before":{backgroundColor:e.custom.palette.interaction.press}},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled},"&.Mui-checked":{backgroundColor:e.custom.palette.purple[500],"& svg":{fill:e.custom.palette.icon.lockedWhite},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,"& svg":{fill:e.custom.palette.icon.disabled}}},"&.MuiCheckbox-indeterminate":{backgroundColor:e.custom.palette.purple[500],"& svg":{fill:e.custom.palette.icon.lockedWhite}},"&.Mui-focusVisible":{borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus,"&:before":{backgroundColor:e.custom.palette.interaction.press}}}))),$f=e=>On.jsx(If,{checkedIcon:On.jsx(Ce,{}),indeterminateIcon:On.jsx(ke,{}),...e}),Hf=({internalChange:e,checkboxLabel:t,indeterminate:n,sizing:i="default",onChange:o,inputRef:r,value:s,...a})=>void 0===s?On.jsx(j,{}):On.jsx(Of,{inputRef:r,label:t,checked:s,control:On.jsx($f,{sizing:i,indeterminate:n}),onChange:(t,n)=>{o&&o(t,n),e&&e()},...a}),Nf=y(K)((({theme:e})=>({"& .MuiInputAdornment-root":{marginRight:0,"& .MuiSvgIcon-root":{width:jo.xl,height:jo.xl}},"& .MuiOutlinedInput-input":{padding:e.spacing(1),paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},"& .MuiOutlinedInput-root":{backgroundColor:e.custom.palette.input.default,color:e.custom.palette.text.primary,borderRadius:e.spacing(e.custom.radius.md),lineHeight:"140%",[e.breakpoints.down("md")]:{minWidth:"100%"},paddingLeft:0,paddingRight:0,fontSize:cr.sm.body.md,"&.Mui-focused":{"& fieldset":{transition:e.custom.easing.input,backgroundColor:e.custom.palette.interaction.press,borderColor:e.custom.palette.stroke.default},"& .MuiOutlinedInput-notchedOutline":{transition:e.custom.easing.input,border:`1px solid ${e.custom.palette.stroke.focus}`,boxShadow:e.custom.boxShadow.input.focus}},"&.Mui-disabled":{color:e.custom.palette.text.disabled,backgroundColor:e.custom.palette.input.disabled,"& fieldset":{transition:e.custom.easing.input,backgroundColor:e.custom.palette.interaction.none,borderColor:e.custom.palette.stroke.disabled},"& .MuiOutlinedInput-notchedOutline":{transition:e.custom.easing.input,border:`1px solid ${e.custom.palette.stroke.disabled}`,boxShadow:"none"}}},"&:hover":{"& .MuiOutlinedInput-root":{backgroundColor:e.custom.palette.input.default,"& fieldset":{backgroundColor:e.custom.palette.interaction.hover,borderColor:e.custom.palette.stroke.default},"&.Mui-focused":{"& fieldset":{backgroundColor:e.custom.palette.interaction.press,borderColor:e.custom.palette.stroke.default},"& .MuiOutlinedInput-notchedOutline":{border:`1px solid ${e.custom.palette.stroke.focus}`,boxShadow:e.custom.boxShadow.input.focus}},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,"& fieldset":{backgroundColor:e.custom.palette.interaction.none,borderColor:e.custom.palette.stroke.disabled},"& .MuiOutlinedInput-notchedOutline":{border:`1px solid ${e.custom.palette.stroke.disabled}`,boxShadow:"none"}}}}}))),Wf=({startAdornment:e,endAdornment:t,placeholder:n,onChange:i,internalChange:o,inputRef:r,...s})=>On.jsx(Nf,{placeholder:n,sx:{height:bn[500],"& .MuiOutlinedInput-input":{pl:e?1:2,pr:e?1:2}},inputRef:r,InputProps:{startAdornment:e?On.jsx(X,{position:"start",sx:{pl:1},children:e}):null,endAdornment:t?On.jsx(X,{position:"start",sx:{pr:1},children:t}):null},...s,onChange:e=>{i&&i(e),o&&o()}}),_f=({sizing:e,options:t,other:n,internalChange:i,value:o,inputRef:r,onChange:s})=>{const a=n?.name||"other-option",l=`${a}-value-`,c=e=>`${l}${e}`,u=n?.enabled,d=o?.includes(a)&&u,p=o?.find((e=>e.includes(l)));if(!o)return On.jsx("div",{});const h=(e,r)=>{let c=o.includes(e)?o.filter((t=>t!==e)):r?[e]:[...new Set(o),e];if(r||(c=c.filter((e=>!t.find((t=>t?.exclusive&&e===t.value))))),n?.enabled){!o.includes(a)||e!==a||(c=c.filter((e=>!e.includes(l))))}s(c),i&&i()};return On.jsxs(On.Fragment,{children:[On.jsxs(J,{sx:{display:"flex",gap:e=>e.custom.margin.sm,label:{"&:last-child":{mb:0},"&:hover":{"& .MuiCheckbox-root":{backgroundColor:e=>e.custom.palette.interaction.hover,"&.Mui-checked":{backgroundColor:e=>e.custom.palette.purple[500]}}}}},children:[t?t.map(((t,n)=>{const i=t.value;return On.jsx(Of,{sx:{"& .MuiButtonBase-root.MuiCheckbox-root":{alignSelf:"baseline"},"& .MuiTypography-root":{mt:"default"!==e?.5:0}},onChange:()=>h(i,t.exclusive),checked:o.includes(i),control:On.jsx($f,{sizing:e}),label:t.label},i)})):null,u&&On.jsx(Of,{inputRef:r,onChange:()=>h(a),label:n?.label||"Other",checked:o.includes(a),control:On.jsx($f,{sizing:e})},a)]}),d&&On.jsx(j,{sx:{mt:1},children:On.jsx(Wf,{fullWidth:!0,autoFocus:!0,defaultValue:p?p.replace(l,""):"",placeholder:n?.placeholder,onChange:e=>{const t=o.find((e=>e.includes(l))),n=(t?o.map((t=>t.includes(l)?c(e.target.value):t)):[...o,c(e.target.value)]).filter((e=>e!==l));s(n),i&&i()},required:!0})})]})},Uf=({sx:e,children:t,texture:n="noise1",gradient:i="tone1",...o})=>{const r=w();return On.jsx(A,{maxWidth:!1,disableGutters:!0,sx:ye({background:Bf(r,{texture:n,gradient:i}),height:"100%",p:[0,0,0]},!!e&&{...e}),...o,children:t})},Zf=({inputField:e,onChange:t,internalChange:n,transformValue:i,...o})=>{const r=e;return On.jsx(r,{onChange:e=>{t&&t(i?i(e):e),n&&n()},...o})},Gf=y(Q)((({theme:e,align:t})=>({fontWeight:400,lineHeight:"140%",whiteSpace:"normal",textAlign:t,color:"inherit","&.Mui-disabled":{color:e.custom.palette.text.disabled},"&.Mui-error":{color:e.custom.palette.text.negative}}))),Yf=e=>On.jsx(Gf,{...e}),qf=e=>{const{icon:t=null,state:n="default",disabled:i,showicon:o=!0}=e,r=w();return On.jsxs(j,{sx:{display:"inline-flex",alignItems:"center",color:i?r.custom.palette.text.disabled:(()=>{switch(n){case"disabled":return r.custom.palette.text.disabled;case"positive":return r.custom.palette.text.positive;case"negative":return r.custom.palette.text.negative;default:return r.custom.palette.text.secondary}})(),"& svg":{marginRight:r.spacing(r.custom.margin.xs),width:jo.xs,height:jo.xs,color:"inherit"}},children:[(()=>{if(!o)return null;if(t)return t;switch(n){case"disabled":default:return On.jsx(j,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:On.jsx(Se,{})});case"positive":return On.jsx(j,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:On.jsx(Ce,{})});case"negative":return On.jsx(j,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:On.jsx(Me,{})})}})(),On.jsx(Yf,{...e,sx:{fontSize:{xs:cr.sm.body.sm,sm:cr.sm.body.sm,md:cr.sm.body.sm,lg:cr.lg.body.sm,xl:cr.lg.body.sm}}})]})},Kf=y(j)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:bn[50],height:bn[50],top:`calc(100% + ${bn[50]}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}},"&:last-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:bn[50],height:bn[50],top:`calc(100% + ${bn[50]}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}}}}))),Xf=({children:e,width:t})=>On.jsx(Kf,{sx:{width:t,minWidth:300},children:e}),Jf=y(ee)((({theme:e,sizing:t})=>({padding:0,backgroundColor:e.custom.palette.input.default,border:`1px solid ${e.custom.palette.stroke.default}`,position:"relative",transition:e.custom.easing.input,flexShrink:0,height:"default"===t?bn[300]:bn[400],width:"default"===t?bn[300]:bn[400],"& svg":{transition:e.custom.easing.input,fill:"none",width:"default"===t&&jo.sm,height:"default"===t&&jo.sm},"&:before":{content:'""',position:"absolute",inset:0,borderRadius:e.custom.radius.round},"&:hover":{backgroundColor:e.custom.palette.input.default,"&:before":{backgroundColor:e.custom.palette.interaction.hover}},"&:active":{backgroundColor:e.custom.palette.input.default,borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus,"&:before":{backgroundColor:e.custom.palette.interaction.press}},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled,"& svg":{"&:first-of-type":{fill:"transparent"},fill:e.custom.palette.icon.disabled}},"&.Mui-focusVisible":{borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus,"&:before":{backgroundColor:e.custom.palette.interaction.press}},"&.Mui-checked":{backgroundColor:e.custom.palette.purple[500],"& svg":{"&:first-of-type":{fill:"transparent"},fill:e.custom.palette.icon.lockedWhite},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled,"& svg":{"&:first-of-type":{fill:"transparent"},fill:e.custom.palette.icon.disabled}}}}))),Qf=e=>On.jsx(Jf,{...e}),eg=y(Qf)((()=>({marginRight:0}))),tg=y(j)((({theme:e})=>({posiion:"relative","&:after":{content:'""',position:"absolute",top:"50%",right:"0",height:bn[50],width:`calc(100% - ${bn[400]}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),ng=e=>On.jsx(tg,{sx:{position:"relative"},children:On.jsx(eg,{...e})}),ig=({disabled:e=!1,onChange:t,labelLeft:n,labelRight:i,internalChange:o,labelCenter:r})=>{const s=[...Array(7).keys()];return On.jsx(te,{children:On.jsxs(Xf,{children:[On.jsx(ne,{container:!0,justifyContent:"space-between",children:s.map(((n,i)=>{const r=i+1!==s.length;return On.jsx(ne,{item:!0,sm:r,children:On.jsx(ng,{disabled:e,value:n,onChange:(e,n)=>{t&&t(e,n),o&&o()},name:`radio-option-${n}`},n)},n)}))}),On.jsxs(ne,{container:!0,justifyContent:"space-between",sx:{mt:1},children:[On.jsx(ne,{item:!0,sm:!0,sx:{textAlign:"left"},children:On.jsx(qf,{disabled:e,showicon:!1,children:n})}),On.jsx(ne,{item:!0,sm:!0,sx:{textAlign:"center"},children:On.jsx(qf,{disabled:e,align:"center",showicon:!1,children:r})}),On.jsx(ne,{item:!0,sm:!0,sx:{textAlign:"right"},children:On.jsx(qf,{disabled:e,align:"right",showicon:!1,children:i})})]})]})})},og=y(ie)((({theme:e})=>({"& .MuiPaper-root":{backgroundColor:e.custom.palette.surface.raised,borderRadius:e.spacing(e.custom.radius.sm),marginTop:e.spacing(1),minWidth:180,border:`1px solid ${e.custom.palette.stroke.default}`,boxShadow:"none","& .MuiMenu-list":{padding:`${e.spacing(e.custom.padding.xs)} 0`},"& .MuiMenuItem-root":{"& .MuiSvgIcon-root":{color:e.custom.palette.text.primary},"&:active":{backgroundColor:Z(e.palette.primary.main,e.palette.action.selectedOpacity)}}}}))),rg=({open:e,anchorEl:t,handleClick:n,handleClose:i,items:o,...r})=>On.jsx(On.Fragment,{children:On.jsx(og,{anchorEl:t,open:e,onClose:i,MenuListProps:{"aria-labelledby":"basic-button"},elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},...r,children:o?.map(((e,t)=>On.jsxs(oe,{onClick:e.onClick,...e.menuItemProps,children:[e.icon&&On.jsx(j,{mr:1,children:e.icon}),e.label]},t)))})}),sg=()=>{const[e,n]=t.useState(null);return{open:Boolean(e),handleClick:e=>{n(e.currentTarget)},handleClose:()=>{n(null)},anchorEl:e}},ag=e=>{const t=i();return o((()=>{t.current=e}),[e]),t.current},lg=({children:e,...t})=>e,cg=({sx:e,...t})=>On.jsx(Yf,{...t,sx:ye({fontSize:{xs:cr.sm.body.md,sm:cr.sm.body.md,md:cr.sm.body.md,lg:cr.lg.body.md,xl:cr.lg.body.md}},!!e&&{...e})}),ug=y(j)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"&:before":{width:bn[200],borderRadius:e.custom.radius.round,right:"50%",transform:`translateX(-${bn[200]}px)`,left:"auto"}}},"&:last-child":{"& .MuiBox-root":{"&:after":{width:bn[200],borderRadius:e.custom.radius.round,right:"auto",left:"50%",transform:`translateX(${bn[200]}px)`}}}}}))),dg=({children:e,width:t})=>On.jsx(ug,{sx:{width:t},children:e}),pg=y(qf)((()=>({lineHeight:"110%",textAlign:"center",width:"100%"}))),hg=({disabled:e,children:t})=>On.jsx(pg,{showicon:!1,disabled:e,sx:{cursor:"inherit"},children:t}),mg=y(Qf)((()=>({marginRight:0}))),fg=y(j)((({theme:e})=>({posiion:"relative","&:before":{content:'""',position:"absolute",top:"50%",left:0,height:bn[50],width:`calc(50% - ${bn[400]/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default},"&:after":{content:'""',position:"absolute",top:"50%",right:0,height:bn[50],width:`calc(50% - ${bn[400]/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),gg=e=>On.jsx(fg,{sx:{textAlign:"center",position:"relative"},children:On.jsx(mg,{...e})}),xg=({options:e=[],disabled:t=!1,sizing:n="lg",onChange:i,internalChange:o,value:r})=>{const s=w();function a(e){console.warn(e),i(e.value),o&&o()}return On.jsx(j,{children:On.jsx(dg,{children:On.jsx(ne,{container:!0,justifyContent:"space-between",children:e.map((e=>On.jsxs(ne,{item:!0,sm:!0,onClick:()=>a(e),sx:{...!t&&{cursor:"pointer"},textAlign:"center","&:hover":{"& .MuiButtonBase-root.MuiRadio-root":{"&:before":{...!t&&{backgroundColor:s.custom.palette.interaction.hover}}}},"&:active":{"& .MuiButtonBase-root.MuiRadio-root":{...!t&&{backgroundColor:s.custom.palette.input.default,borderColor:s.custom.palette.stroke.focus,boxShadow:s.custom.boxShadow.input.focus},"&:before":{...!t&&{backgroundColor:s.custom.palette.interaction.press}},"&.Mui-checked":{backgroundColor:s.custom.palette.purple[500]}}}},children:[On.jsx(gg,{sizing:n,disabled:t,onChange:t=>a(e),checked:r===e.value},e.value),On.jsx(j,{sx:{mt:jn.xs,width:"100%"},children:On.jsx(hg,{disabled:t,children:e.label})})]},e.value)))})})})},vg=h(((e,n)=>{const{decimalSeparator:i,thousandSeparator:o,value:r,...s}=e,a=t.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"group"===e.type))?.value??"";var e}),[void 0]),l=t.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"decimal"===e.type))?.value??".";var e}),[void 0]);return On.jsx(Ze,{...s,value:r??"",getInputRef:n,thousandSeparator:o??a,decimalSeparator:i??l})})),yg=({disabled:e=!1,InputProps:t,inputProps:n,placeholder:i,hideActionButtons:o=!1,max:s=1/0,min:a=-1/0,startAdornment:l,endAdornment:c,internalChange:u,numericFormatProps:d,onChange:p,step:h=1,value:m,...f})=>{const g=w(),[x,v]=r(m),y=x,b=e=>{v(e),p&&p(e),u&&u()},j=()=>{const e=(null==y||Number.isNaN(y)?0:y)+h;e>s||b(e)},C=()=>{const e=(null==y||Number.isNaN(y)?0:y)-h;e<a||b(e)},k={decimalScale:5,isAllowed:({floatValue:e})=>null==e||e>=a&&e<=s,max:s!==1/0?s:void 0,min:a!==-1/0?a:void 0,step:1!==h?h:void 0,onKeyDown:e=>{"ArrowUp"===e.key?j():"ArrowDown"===e.key&&C()},onValueChange:({floatValue:e})=>{e!==y&&b(e)},value:y,...d};return On.jsx(Nf,{placeholder:i,sx:{height:bn[500],"& .MuiOutlinedInput-input":{minWidth:bn[300],pl:l?1:2,pr:l?1:2}},...f,value:y??"",disabled:e,InputProps:{...t,inputComponent:vg,startAdornment:l?On.jsx(X,{position:"start",sx:{pl:1},children:l}):null,endAdornment:!o&&On.jsxs(O,{gap:g.custom.margin.sm,sx:{height:"100%",alignItems:"center"},direction:"row",children:[c&&On.jsx(X,{position:"end",children:c}),On.jsxs(O,{sx:{height:"100%",ml:"auto",width:32,borderLeft:`1px solid ${g.custom.palette.stroke.default}`},children:[On.jsx(re,{onClick:()=>j(),sx:{flex:1,borderTopRightRadius:g.spacing(g.custom.radius.md),fontSize:12,"&:hover":{background:g.custom.palette.interaction.hover}},children:On.jsx(Pe,{fontSize:"inherit"})}),On.jsx($,{}),On.jsx(re,{onClick:()=>C(),sx:{flex:1,borderBottomRightRadius:g.spacing(g.custom.radius.md),fontSize:12,"&:hover":{background:g.custom.palette.interaction.hover}},children:On.jsx(Te,{fontSize:"inherit"})})]})]})},inputProps:{inputType:"number",...n,...k}})};const bg=({options:e,onChange:t,other:n,value:s,internalChange:a,...l})=>{const c=n?.enabled,u="other-option",d=`${u}-value-`,[p,h]=r(s),[m,f]=r(!1),g=i(null);o((()=>{!m&&p?.includes(d)?f(!0):m&&f(!1)}),[p]);return o((()=>{g.current&&Array.from(g.current.getElementsByTagName("label")).forEach((e=>{if(e.clientHeight>4*wn){const t=e.querySelector(".MuiTypography-root");t&&(t.style.marginTop=wn/2+"px")}}))}),[g.current]),On.jsxs(On.Fragment,{children:[On.jsxs(te,{...l,value:p,ref:g,sx:{"& .MuiRadio-root":{alignSelf:"baseline"},"& .MuiTypography-root":{alignSelf:"center"},display:"flex",alignSelf:"baseline",gap:e=>e.custom.margin.sm,label:{"&:last-child":{mb:0},"&:hover":{"& .MuiRadio-root":{backgroundColor:e=>e.custom.palette.interaction.hover,"&.Mui-checked":{backgroundColor:e=>e.custom.palette.purple[500]}}}}},onChange:(e,n)=>{t&&t(n),h(n),a&&a()},children:[e?e.map(((e,t)=>On.jsx(Of,{sx:{"& .MuiButtonBase-root.MuiRadio-root":{alignSelf:"baseline"}},...e,control:On.jsx(Qf,{})},t))):null,c&&On.jsx(Of,{label:n?.label||"Other",value:d,control:On.jsx(Qf,{checked:p?.includes(d)})},u)]}),m&&On.jsx(j,{sx:{mt:1},children:On.jsx(Wf,{fullWidth:!0,autoFocus:!0,placeholder:n?.placeholder,defaultValue:p?.replace(d,""),onChange:e=>{var n;t&&t((n=e.target.value,`${d}${n}`)),a&&a()},required:!0})})]})},wg=({handleSelectAll:e,isIndeterminate:t,isAllSelected:n,sizing:i})=>{const[s,a]=r(!1),l=w();return o((()=>{n&&a(n)}),[n]),On.jsxs(O,{direction:"row",gap:l.spacing(l.custom.padding.sm),onClick:t=>{const n=!s;a(n),e(t,n)},sx:{marginLeft:"auto",display:"flex",alignItems:"center",justifyContent:"flex-end",p:e=>e.custom.padding.sm},children:[On.jsx(se,{sx:{cursor:"pointer",fontSize:()=>i&&dr[i]},children:"Select all"}),On.jsx($f,{sizing:"default",indeterminate:t,checked:s})]})},jg=h((({children:e,handleSelectAll:t,showSelectAll:n,value:i=[],selections:o,sizing:r,...s},a)=>{const l=Array.isArray(i)&&i.length===o.length,c=Array.isArray(i)&&i.length>0&&i.length<o.length;return On.jsxs("ul",{ref:a,...s,children:[n&&On.jsx(wg,{handleSelectAll:t,isIndeterminate:c,isAllSelected:l,sizing:r}),e]})})),Cg="0px 4px 8px 0px #06040D14, 0px 16px 24px 0px #06040D14, 0px 0px 4px 2px #06040D0A, 0px 0px 0px 1px #FFFFFF29",kg=e=>{switch(e){case"xs":return 24;case"md":return 32;default:return 40}},Sg=(e,t)=>({"& .MuiTypography-root":{height:kg(t),fontSize:dr[t],display:"flex",alignItems:"center",paddingLeft:e.spacing("xs"===t?e.custom.padding.xs:e.custom.padding.sm),paddingRight:e.spacing("xs"===t?e.custom.padding.xs:e.custom.padding.sm)}}),Mg=e=>({fontSize:`${cr.sm.body.md}`,borderRadius:e.spacing(e.custom.radius.md),position:"relative",padding:e.spacing(e.custom.padding.sm),"& .MuiSelect-outlined":{padding:0},"& .MuiSelect-select.MuiInputBase-input":{paddingRight:e.spacing(Cn.md)},"&:before":{transition:e.custom.easing.input,content:'""',position:"absolute",background:e.custom.palette.interaction.none,borderRadius:e.spacing(e.custom.radius.md),inset:0,zIndex:0},"&:hover:before":{backgroundColor:e.custom.palette.interaction.hover},"&.Mui-focused:before":{backgroundColor:e.custom.palette.interaction.press},"&.Mui-disabled:before":{backgroundColor:e.custom.palette.interaction.none},"& .MuiSelect-select":{position:"relative"}}),Pg=(e,t)=>{switch(t){case"lg":return{height:kg(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:jo.lg,height:jo.lg,top:`calc(50% - ${jo.lg/2}px)`}};case"md":return{height:kg(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:jo.md,height:jo.md,top:`calc(50% - ${jo.md/2}px)`}};case"xs":return{height:kg(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:jo.xs,height:jo.xs,top:`calc(50% - ${jo.xs/2}px)`}};default:return{height:kg("lg"),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:jo.lg,height:jo.lg,top:`calc(50% - ${jo.lg/2}px)`}}}},Tg=e=>({position:"relative",fontSize:`${cr.sm.body.md}`,backgroundColor:e.custom.palette.interaction.none,color:e.custom.palette.text.primary,"&:before":{transition:e.custom.easing.input,content:'""',position:"absolute",inset:0,zIndex:1},"& > .MuiBox-root":{position:"relative",zIndex:2,width:"100%","& .MuiSvgIcon-root":{marginRight:e.spacing(e.custom.margin.sm),width:jo.xl,height:jo.xl},"& .MuiBox-root":{padding:e.spacing(e.custom.padding.sm),lineHeight:"22px"}}}),Ag=e=>({"&.MuiModal-root.MuiPopover-root":{"&.MuiMenu-root":{borderRadius:e.spacing(e.custom.radius.sm),"& .MuiPaper-root":{border:`1px solid ${e.custom.palette.stroke.default}`,backgroundColor:e.custom.palette.surface.raised,boxShadow:Cg}}}}),zg=y(ae)((({theme:e,sizing:t,value:n})=>({maxWidth:"100%",backgroundColor:e.custom.palette.surface.raised,borderRadius:e.spacing(e.custom.radius.md),border:`1px solid ${e.custom.palette.stroke.default}`,transition:e.custom.easing.input,"& .MuiSvgIcon-root":{...t&&{width:jo[t],height:jo[t]}},"&.MuiAutocomplete-root .MuiOutlinedInput-root .MuiAutocomplete-input":{...t&&{height:"xs"===t?2*wn+"px":3*wn+"px"},paddingTop:0,paddingBottom:0,paddingLeft:n&&Array.isArray(n)&&n.length>0?0:e.spacing(e.custom.padding.sm),justifyContent:"center",textOverflow:"ellipsis",whiteSpace:"nowrap"},"& .MuiAutocomplete-inputRoot":{...t&&{fontSize:dr[t],gap:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs)},display:"flex",alignItems:"flex-start",paddingRight:3*wn+"px",flexWrap:"wrap",height:"auto"},"& .MuiOutlinedInput-root":{display:"flex",alignItems:"center",padding:"0"},"& .MuiAutocomplete-tag":{...t&&{height:"xs"===t?2*wn+"px":3*wn+"px"},margin:0,"& .MuiSvgIcon-root":{height:"12px",width:"12px"}},"&.Mui-disabled":{backgroundColor:`${e.custom.palette.input.disabled}`,borderColor:`${e.custom.palette.stroke.disabled}`},"&.Mui-focused":{backgroundColor:e.custom.palette.input.default,borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus},"& .MuiChip-root .MuiChip-label":{height:20,lineHeight:"20px",maxWidth:140,...t&&{padding:`0 ${e.spacing(e.custom.padding.xs)}`}}}))),Rg=y(le)((({theme:e,sizing:t})=>({borderRadius:e.spacing(e.custom.radius.sm),border:`1px solid ${e.custom.palette.stroke.default}`,backgroundColor:e.custom.palette.surface.default,...t&&{padding:`0 ${e.spacing(e.custom.padding.xs)}`},"& .MuiChip-deleteIcon":{fill:e.custom.palette.icon.primary,borderRadius:e.custom.radius.round,margin:0,"&:hover":{backgroundColor:e.custom.palette.interaction.hover},"&:active":{backgroundColor:e.custom.palette.interaction.press},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,fill:e.custom.palette.icon.disabled}}}))),Eg=y(K)((({theme:e,sizing:t})=>({"& .MuiOutlinedInput-root":{padding:0,...t&&{margin:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs)}},"& .MuiInputBase-input":{padding:"0 14px"},"& .MuiOutlinedInput-notchedOutline":{border:"none"}}))),Vg=y(L)((({theme:e,sizing:t})=>({"& .MuiPaper-root":{...t&&{margin:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs),marginLeft:"lg"===t?`-${e.spacing(e.custom.padding.sm)}`:`-${e.spacing(e.custom.padding.xs)}`,marginTop:`calc(${"lg"===t?e.spacing(e.custom.margin.sm):e.spacing(e.custom.margin.xs)} + ${e.spacing(e.custom.margin.xs)})`},border:`1px solid ${e.custom.palette.stroke.default}`,backgroundColor:e.custom.palette.surface.raised,boxShadow:Cg,borderRadius:e.spacing(e.custom.radius.sm)},[`& .${ce.listbox}`]:{overflowX:"hidden",[`& .${ce.option}`]:{fontSize:dr[t],...t&&{height:"lg"===t?5*wn+"px":4*wn+"px"},"> span":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},'&[aria-selected="true"]':{backgroundColor:e.custom.palette.interaction.hover,display:"flex",alignItems:"center",justifyContent:"space-between"}}}}))),Fg=e=>On.jsx(Vg,{...e}),Bg=({selections:e,disableClearable:t=!1,disabled:n,internalChange:i,multiple:o=!0,onChange:s,placeholder:a="",renderListItem:l,sizing:c="lg",value:u=(o?[]:"")})=>{const[d,p]=r(e.filter((e=>u.includes(e?.value)))),m=(t,n)=>{if(s){const o=n?e.map((({value:e})=>e)):[];p(n?e:[]),s(t,o,"selectOption"),i&&i()}},f=e=>null!==e&&(!Array.isArray(e)||e.length>0);return On.jsx(zg,{disabledItemsFocusable:!0,autoFocus:!1,disableCloseOnSelect:!0,blurOnSelect:!1,popupIcon:On.jsx(Ae,{}),sizing:c,disabled:n,disableClearable:t,autoComplete:!0,multiple:o,renderInput:e=>On.jsx(Eg,{...e,placeholder:f(d)?void 0:a,sizing:c}),options:e,renderTags:(e,t)=>e.map(((e,n)=>{const{key:i,...o}=t({index:n});return On.jsx(Rg,{sizing:c,deleteIcon:On.jsx(ze,{fontSize:"small"}),label:e.label,...o},i)})),onChange:(e,t,n)=>{const o=Array.isArray(t)?t.map((e=>e.value)):t?.value??null;p(t),s?.(e,o,n),i?.()},PopperComponent:e=>On.jsx(Fg,{...e,sizing:c}),isOptionEqualToValue:(e,t)=>e.value===t.value,renderOption:(e,t,{selected:n})=>{const{key:i,...o}=e;return On.jsxs("li",{...o,children:[On.jsx("span",{children:l?l(t.value,t.label):t.label}),On.jsx(Ce,{sx:{visibility:n?"visible":"hidden",fontSize:"16px"}})]},i)},ListboxComponent:h(((t,n)=>On.jsx(jg,{ref:n,...t,showSelectAll:o,handleSelectAll:m,value:d,selections:e,sizing:c}))),value:d})},Lg=y(oe)((({theme:e})=>({...{...Tg(e)},"&.Mui-focusVisible":{backgroundColor:e.custom.palette.interaction.none},"&.Mui-selected":{backgroundColor:e.custom.palette.input.default,"&.Mui-focusVisible":{backgroundColor:e.custom.palette.input.default}},"&.MuiButtonBase-root.MuiMenuItem-root.Mui-disabled":{backgroundColor:e.custom.palette.input.default,color:e.custom.palette.text.disabled,"&:before":{backgroundColor:e.custom.palette.interaction.disabled}},"&:hover":{backgroundColor:e.custom.palette.input.default,"&:before":{backgroundColor:e.custom.palette.interaction.hover},"&.Mui-selected":{backgroundColor:e.custom.palette.input.default,"&.Mui-focusVisible":{"&:before":{backgroundColor:e.custom.palette.interaction.hover}},"&:before":{backgroundColor:e.custom.palette.interaction.hover}}},"&:active":{"&:before":{backgroundColor:e.custom.palette.interaction.press}}}))),Dg=({children:e,selected:t,...n})=>On.jsx(Lg,{...n,children:On.jsxs(j,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[On.jsx(j,{children:e}),t&&On.jsx(Ce,{})]})}),Og=y(ue)((({theme:e,sizing:t})=>({...{...Mg(e)},...t&&{...Pg(e,t)},...t&&{...Sg(e,t)},backgroundColor:e.custom.palette.surface.raised,border:`1px solid ${e.custom.palette.stroke.default}`,transition:e.custom.easing.input,"& .MuiOutlinedInput-notchedOutline":{border:e.custom.palette.stroke.default},"&:hover":{"& .MuiOutlinedInput-notchedOutline":{borderColor:e.custom.palette.stroke.default}},"&.Mui-focused":{backgroundColor:e.custom.palette.input.default,borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled,"& .MuiSvgIcon-root":{color:e.custom.palette.icon.disabled,transition:e.custom.easing.input}}}))),Ig=({selections:e,autoComplete:t=!1,disabled:n=!1,disablePortal:i=!1,inputRef:o,internalChange:r,multi:s=!0,onChange:a,placeholder:l="",selectOptionProps:c,sizing:u="lg",sx:d,value:p=[],renderListItem:h,...m})=>{const f=w(),g=Ts();return t?On.jsx(Bg,{selections:e,placeholder:l,disabled:n,sizing:u,onChange:(e,t)=>{a&&a(t||""),r&&r()},value:Array.isArray(p)?p??[]:p??"",internalChange:r,renderListItem:h,multiple:s}):On.jsxs(Og,{sizing:u,inputRef:o,MenuProps:{disablePortal:i,sx:Ag,anchorOrigin:{vertical:45,horizontal:"center"}},displayEmpty:!0,IconComponent:Ae,renderValue:t=>l&&!t?On.jsx(Fo,{component:"p",variation:"sm"===g||"md"===g?"sm":"lg",sx:{color:f.custom.palette.text.placeholder},children:l}):On.jsx(Fo,{component:"p",variation:"sm"===g||"md"===g?"sm":"lg",children:e?.find((({value:e})=>e===t))?.label}),onChange:(e,t)=>{a&&a(e,t),r&&r()},sx:d,value:p,...m,children:[""!==l.trim()&&On.jsx(Dg,{disabled:!0,value:"","aria-label":"placeholder",children:l},"placeholder"),e?.map((({value:e,label:t})=>On.jsx(Dg,{value:e,...c,children:h?h(e,t):t},e)))]})},$g=y(j)((({theme:e,disabled:t,fullWidth:n})=>({width:n?"100%":"auto",minWidth:240,backgroundColor:t?e.custom.palette.input.disabled:e.custom.palette.surface.raised,border:`1px solid ${t?e.custom.palette.stroke.disabled:e.custom.palette.stroke.default}`,borderRadius:e.spacing(e.custom.radius.lg),padding:e.spacing(e.custom.padding.md),position:"relative",zIndex:0,"&:after":{content:'""',backgroundColor:e.custom.palette.interaction.none,borderRadius:e.spacing(e.custom.radius.lg),position:"absolute",inset:0},"&:hover":{"&:after":{backgroundColor:e.custom.palette.interaction.hover}},"&:active":{"&:after":{backgroundColor:e.custom.palette.interaction.press}},"& svg":{fill:e.custom.palette.icon.primary},...t&&{background:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled,"&:after":{backgroundColor:e.custom.palette.interaction.none},"& .MuiBox-root > .MuiSvgIcon-root":{fill:"none"}}}))),Hg=y(cg)((({theme:e})=>({fontSize:cr.button.md,color:e.custom.palette.text.primary,lineHeight:"120%",letterSpacing:"0.16px"}))),Ng=({label:e="Placeholder",disabled:t,onChange:n,options:i,fullWidth:o})=>{const r=w(),s=i.map((e=>e.label)).indexOf(e);return On.jsx($g,{disabled:t,fullWidth:o,children:On.jsxs(O,{display:"flex",justifyContent:"space-between",flexDirection:"row",alignItems:"center",sx:{position:"relative",zIndex:1},children:[On.jsxs(j,{display:"flex",alignItems:"center",sx:{"& svg":{fill:r.custom.palette.icon.secondary}},children:[On.jsx(Re,{sx:{width:jo.lg,height:jo.lg,mr:r.custom.padding.sm}}),On.jsx(Hg,{align:"left",disabled:t,children:e})]}),On.jsx(Ig,{name:"rank",sizing:"xs",selections:i.map(((e,t)=>({label:`${t+1}`,value:`${t}`}))),disabled:t,value:`${s}`,onChange:function(e){const t=s,o=Number(e.target.value),r=i;let a=1;const l=r.splice(t,a)[0];a=0,r.splice(o,a,l),n(r)},MenuProps:{anchorOrigin:{vertical:bn[400],horizontal:"center"}}})]})})},Wg=l({attributes:{},listeners:void 0,ref(){}}),_g=e=>it({...e,wasDragging:!0});function Ug({children:e,top:t,bottom:n,id:i}){const{attributes:o,isDragging:r,listeners:s,setNodeRef:l,setActivatorNodeRef:c,transform:u,transition:d}=nt({id:i,animateLayoutChanges:_g}),p=a((()=>({attributes:o,listeners:s,ref:c})),[o,s,c]),h={opacity:r?.4:void 0,transform:ct.Translate.toString(u),transition:d};return On.jsx(Wg.Provider,{value:p,children:On.jsxs(O,{className:"SortableItem",...o,sx:{position:"relative",...h,width:"100%"},ref:l,children:[t&&t,On.jsx(j,{...s,sx:{display:"flex",cursor:"grab"},children:e}),n&&n]})})}const Zg={sideEffects:Ge({styles:{active:{opacity:"0.4"}}})};function Gg({children:e}){return ut(On.jsx(Ye,{zIndex:999999,dropAnimation:Zg,children:e}),document.body)}const Yg=({nativeEvent:e})=>{let t=e.target;for(;t;){if(t.dataset.noDnd)return!1;t=t.parentElement}return!0};class qg extends et{static activators=[{eventName:"onMouseDown",handler:Yg}]}class Kg extends tt{static activators=[{eventName:"onTouchStart",handler:Yg}]}function Xg({items:e,onChange:t,renderItem:i,disabled:o,direction:s}){if(!e)return;const[l,c]=r(null),u=a((()=>e.find((e=>e?.id===l?.id))),[l,e]),d=w(),p=de(d.breakpoints.down("md")),h=qe(Ke(qg,{activationConstraint:{distance:5}}),Ke(Kg,{activationConstraint:{delay:p?300:0,tolerance:8}}),Ke(Xe,{coordinateGetter:ot}));return On.jsxs(Je,{measuring:{droppable:{strategy:Qe.Always}},sensors:h,onDragStart:({active:e})=>{c(e)},onDragEnd:({active:n,over:i})=>{if(i&&n.id!==i?.id){const o=e.findIndex((({id:e})=>e===n.id)),r=e.findIndex((({id:e})=>e===i.id));t(rt(e,o,r))}c(null)},onDragCancel:()=>{c(null)},children:[On.jsx(st,{items:e,disabled:o,strategy:"horizontal"===s?at:lt,children:On.jsx(O,{sx:{..."horizontal"===s&&{flexDirection:"row"},display:"flex",m:0,gap:1,padding:0,alignContent:"flex-start"},children:e.map((e=>On.jsx(n,{children:i(e)},e.id)))})}),On.jsx(Gg,{children:u?i(u,!0,!!l):null})]})}Xg.Item=Ug,Xg.DragHandle=function(){const{attributes:e,listeners:t,ref:n}=c(Wg);return On.jsx(j,{...e,...t,ref:n,children:On.jsx("svg",{viewBox:"0 0 20 20",width:"12",children:On.jsx("path",{d:"M7 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 2zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 14zm6-8a2 2 0 1 0-.001-4.001A2 2 0 0 0 13 6zm0 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 14z"})})})};const Jg=({labelTop:e,labelBottom:t,disabled:n,fullWidth:i=!1,options:o,onChange:s,value:a,internalChange:l})=>{const c=w(),[u,d]=r(a||o);function p(e){d(e),s(e.map((({id:e})=>e))),l&&l()}return On.jsxs(O,{gap:c.custom.margin.sm,textAlign:"center",sx:{width:i?"100%":"auto"},children:[e&&On.jsx(cg,{disabled:n,sx:{color:c.custom.palette.text.secondary},children:e}),On.jsx(Xg,{onChange:function(e){d(e),s(e.map((({id:e})=>e))),l&&l()},items:u,direction:"vertical",renderItem:({...e})=>On.jsx(Ug,{id:e.id,children:On.jsx(Ng,{onChange:p,...e,options:u,disabled:n,selections:e.selections,fullWidth:i})})}),t&&On.jsx(cg,{disabled:n,sx:{color:c.custom.palette.text.secondary},children:t})]})},Qg=y(ht)((({theme:e})=>({"&.MuiTiptap-FieldContainer-root":{backgroundColor:e.custom.palette.input.default,"&:hover":{".MuiTiptap-FieldContainer-notchedOutline":{borderSize:1,backgroundColor:e.custom.palette.interaction.hover,borderColor:e.custom.palette.stroke.default}}},"&.MuiTiptap-FieldContainer-focused":{".MuiTiptap-FieldContainer-notchedOutline":{transition:e.custom.easing.input,border:`1px solid ${e.custom.palette.stroke.focus}!important`,boxShadow:e.custom.boxShadow.input.focus}},".MuiTiptap-RichTextField-menuBar":{padding:0,borderRadius:e.spacing(e.custom.radius.md),background:e.custom.palette.surface.default,margin:e.spacing(e.custom.margin.sm),border:`1px solid ${e.custom.palette.stroke.default}`,marginBottom:0,".MuiTiptap-RichTextField-content":{padding:e.spacing(e.custom.padding.xs)}}}))),ex=({onChange:e,value:t,internalChange:n,minWidth:o=100,minHeight:r=100,maxHeight:s,placeholder:a})=>{const l=i(null),c=w();return On.jsx(Qg,{sx:{"& .ProseMirror":{overflowY:"auto",minHeight:r,minWidth:o,maxHeight:s}},ref:l,onUpdate:({editor:t})=>{e&&e(t.getHTML()),n&&n()},extensions:[pt.configure({strike:!1,code:!1,heading:!1,listItem:!1,bulletList:!1,orderedList:!1,blockquote:!1,horizontalRule:!1,codeBlock:!1}),dt.configure({placeholder:a}),gt],content:t,renderControls:()=>On.jsxs(O,{gap:c.custom.margin.xs,direction:"row",children:[On.jsx(mt,{}),On.jsx(ft,{})]})})},tx=e=>({"& .MuiSlider-thumb":{width:bn[300],height:bn[300],backgroundColor:e.custom.palette.text.primary,boxShadow:e.custom.boxShadow.input.handle,"&:after":{content:'""',position:"absolute",top:"50%",left:"50%",width:bn[50],height:bn[50],backgroundColor:e.custom.palette.icon.primaryInverted}}}),nx=e=>Array.isArray(e),ix=(e,t)=>({height:bn[100],padding:`${bn[100]}px 0`,"& .MuiSlider-rail":{width:`calc(100% + ${bn[400]}px)`,left:`-${bn[200]}px`,backgroundColor:e.custom.palette.icon.disabled,opacity:1},"& .MuiSlider-track":{position:"relative",border:"none",backgroundColor:e.custom.palette.purple[500],"&:before":{content:'""',position:"absolute",top:0,left:t&&nx(t)?`-${bn[100]+1}px`:`-${bn[200]+1}px`,width:`calc(100% + ${bn[200]}px)`,height:"100%",borderRadius:"inherit",backgroundColor:"inherit"}},"& .MuiSlider-mark":{height:bn[50],width:bn[50],borderRadius:e.custom.radius.round,backgroundColor:e.custom.palette.text.primaryInverted,"&.MuiSlider-markActive":{backgroundColor:e.custom.palette.text.primaryInverted}}}),ox=e=>({"& .MuiSlider-valueLabel":{backgroundColor:e.custom.palette.purple[500],borderRadius:e.spacing(e.custom.radius.sm),padding:bn[50],minWidth:bn[400],"&.MuiSlider-valueLabelOpen":{top:"-9px"},"& .MuiSlider-valueLabelLabel":{padding:`0 ${e.spacing(e.custom.padding.xs)}`,fontSize:`${cr.lg.body.sm}`,color:e.custom.palette.text.lockedWhite,fontWeight:500,lineHeight:"140%"}}}),rx=y(pe)((({theme:e,value:t})=>({"&.MuiSlider-root":{width:`calc(100% - ${bn[400]}px)`,marginLeft:bn[400]/2,...{...ix(e,t)},...{...tx(e)},...{...ox(e)},"&.Mui-disabled":{"& .MuiSlider-rail, & .MuiSlider-track":{backgroundColor:e.custom.palette.icon.secondary},"& .MuiSlider-rail":{backgroundColor:e.custom.palette.icon.disabled},"& .MuiSlider-thumb":{backgroundColor:e.custom.palette.icon.disabled,"& .MuiSlider-valueLabel":{backgroundColor:e.custom.palette.icon.disabled}}},"& .MuiSlider-markLabel":{color:e.custom.palette.text.secondary,"&.MuiSlider-markLabelActive":{color:e.custom.palette.text.secondary}}}}))),sx=[1,2,5,10],ax=(e,t)=>{if(e>=t)return console.warn("Min value must be less than max value"),1;const n=(t-e)/9;if(n<=1)return 1;const i=Math.floor(Math.log10(n)),o=n/Math.pow(10,i);return r=o,(sx.find((e=>r<=e))??sx[sx.length-1])*Math.pow(10,i);var r},lx=({labelLeft:e,labelMiddle:t,labelRight:n,labelRightProps:i,labelLeftProps:o,disabled:r,onChange:s,internalChange:a,max:l=5,min:c=1,step:u,value:d=c,...p})=>{const{sanitisedMin:h,sanitisedMax:m}=((e,t)=>e>=t?{sanitisedMin:1,sanitisedMax:5}:{sanitisedMin:e,sanitisedMax:t})(c,l),f=((e,t,n)=>{const i=[];for(let o=e;o<=t;o+=n)i.push({value:o,label:o===e||o===t||o+n<=t?o.toString():void 0});return i[i.length-1].value!==t&&i.push({value:t,label:t.toString()}),i})(h,m,u??ax(c,l));return On.jsxs(j,{sx:{minWidth:300},children:[On.jsx(j,{height:24,children:On.jsx(rx,{valueLabelDisplay:r?"on":"auto",disabled:r,marks:f,step:u,max:m,min:h,onChangeCommitted:()=>{a&&a()},onChange:(e,t,n)=>{s&&s(e,t,n)},value:d,...p})}),On.jsxs(j,{sx:{display:"flex",justifyContent:"space-between",pt:Cn.lg,gap:1},children:[e&&On.jsx(j,{sx:{flex:1},children:On.jsx(qf,{disabled:r,showicon:!1,...o,children:e})}),t&&On.jsx(j,{sx:{flex:1,textAlign:"center"},children:On.jsx(qf,{showicon:!1,disabled:r,children:t})}),n&&On.jsx(j,{sx:{flex:1,textAlign:"right"},children:On.jsx(qf,{...i,showicon:!1,disabled:r,children:n})})]})]})},cx=y(he)((({theme:e})=>({"&.MuiRating-root":{"& .MuiRating-iconEmpty":{color:e.custom.palette.icon.secondary},"& .MuiRating-iconFilled":{color:e.custom.palette.yellow[600]},".MuiRating-iconHover":{fontSize:"inherit",transform:"none"},"&.Mui-disabled":{opacity:1,color:e.custom.palette.icon.disabled,"& .MuiRating-iconEmpty":{color:e.custom.palette.icon.disabled},"& .MuiRating-iconFilled":{color:e.custom.palette.icon.disabled}}}}))),ux=({internalChange:e,onChange:t,...n})=>On.jsx(cx,{...n,onChange:(n,i)=>{t&&t(n,i),e&&e()},icon:On.jsx(v,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:On.jsx("path",{d:"M24.114 35.395L32.414 40.415C33.934 41.335 35.794 39.975 35.394 38.255L33.194 28.815L40.534 22.455C41.874 21.295 41.154 19.095 39.394 18.955L29.734 18.135L25.954 9.21499C25.274 7.59499 22.954 7.59499 22.274 9.21499L18.494 18.115L8.83396 18.935C7.07396 19.075 6.35396 21.275 7.69396 22.435L15.034 28.795L12.834 38.235C12.434 39.955 14.294 41.315 15.814 40.395L24.114 35.395Z"})}),emptyIcon:On.jsx(v,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.1047 20.58L30.8559 27.7274L33.3274 38.3549L23.9992 32.713L14.6668 38.335L17.1388 27.7279L8.89132 20.5816L19.748 19.66L23.9966 9.63416L28.2463 19.6377L39.1047 20.58ZM12.7171 37.8892L14.9171 28.4492L7.57709 22.0892C6.23709 20.9292 6.95709 18.7292 8.71709 18.5892L18.3771 17.7692L22.1571 8.84916C22.8371 7.22916 25.1571 7.22916 25.8371 8.84916L29.6171 17.7492L39.2971 18.5892C41.0571 18.7292 41.7571 20.9292 40.4171 22.0892L33.0771 28.4492L35.2771 37.9092C35.6771 39.6292 33.8171 40.9892 32.2971 40.0692L23.9971 35.0492L15.6971 40.0492C14.1771 40.9692 12.3171 39.6092 12.7171 37.8892Z"})})}),dx=y((e=>On.jsx(me,{focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,...e})))((({theme:e,sizing:t})=>({width:"lg"===t?54:36,height:"lg"===t?30:20,padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:"lg"===t?3:2,transitionDuration:"300ms","&.Mui-checked":{transform:`translateX(${"lg"===t?24:16}px)`,color:"#fff","& + .MuiSwitch-track":{backgroundColor:e.custom.palette.green[500],opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid #fff"},"&.Mui-disabled .MuiSwitch-thumb":{color:e.custom.palette.neutral[100]},"&.Mui-disabled + .MuiSwitch-track":{opacity:"light"===e.palette.mode?.7:.3}},"& .MuiSwitch-thumb":{width:"lg"===t?24:16,height:"lg"===t?24:16,boxSizing:"border-box",boxShadow:"none",backdropFilter:"blur(0)",filter:"drop-shadow(0 0 0 rgba(255, 255, 255, 0.52))",outline:("lg"===t?2:1)+"px solid rgba(255, 255, 255, 0.12)"},"& .MuiSwitch-track":{borderRadius:("lg"===t?30:20)/2,backgroundColor:e.custom.palette.neutral[100],opacity:1,transition:e.transitions.create(["background-color"],{duration:500})}}))),px=({sizing:e="sm",sx:t,inputRef:n,value:i,label:o,labelPlacement:r="start",fullWidth:s,onChange:a,internalChange:l,...c})=>On.jsx(Of,{inputRef:n,checked:i,label:o,labelPlacement:r,control:On.jsx(dx,{sizing:e}),onChange:(e,t)=>{a&&a(e,t),l&&l()},sx:ye(s?{"& .MuiFormControlLabel-label":{width:"100%"}}:{},t),...c}),hx=y(Nf)((({theme:e})=>({"& .MuiInputBase-root":{paddingTop:0,paddingBottom:0,minHeight:bn[500],alignItems:"baseline","& .MuiInputBase-input":{},"& .MuiInputAdornment-root.MuiInputAdornment-positionStart":{alignSelf:"self-end",height:jo.xl,marginTop:e.spacing(1),marginBottom:e.spacing(1),"&:first-of-type":{alignSelf:"self-start"}}}}))),mx=({startAdornment:e,endAdornment:t,onChange:n,internalChange:i,inputRef:o,...r})=>On.jsx(hx,{multiline:!0,inputRef:o,InputProps:{startAdornment:e?On.jsx(X,{position:"start",children:e}):null,endAdornment:t?On.jsx(X,{position:"start",children:t}):null},...r,onChange:e=>{n&&n(e),i&&i()}}),fx=(e,t)=>{switch(e){case 1:return t.custom.palette.red[500];case 2:return t.custom.palette.yellow[500];case 3:case 4:return t.custom.palette.green[500];default:return t.custom.palette.icon.disabled}},gx=(e,t)=>{switch(e){case 1:return t.custom.palette.text.negative;case 2:return t.custom.palette.yellow[800];case 3:return t.custom.palette.green[800];case 4:return t.custom.palette.text.positive;default:return t.custom.palette.icon.disabled}},xx=y(_)((({theme:e,score:t})=>({boxShadow:"unset",background:e.custom.palette.neutral[100],borderRadius:e.spacing(e.custom.radius.sm),[`.${U.bar}`]:{borderRadius:e.spacing(e.custom.radius.sm),backgroundColor:fx(t,e)}}))),vx={translations:bt.translations,graphs:yt.adjacencyGraphs,dictionary:{...yt.dictionary,...bt.dictionary}};xt.setOptions(vx);const yx=({label:e="Strength",width:t=60,value:n,onChange:i})=>{const[s,a]=r(0),l=w();return o((()=>{a(vt(n).score)}),[n]),o((()=>{i(s)}),[s]),On.jsxs(O,{direction:"row",gap:1,sx:{alignItems:"center"},children:[On.jsx(Fo,{variation:"sm",component:"p",children:e}),On.jsx(xx,{variant:"determinate",value:0===s?6.6:25*s,score:s,sx:{width:t}}),On.jsx(Fo,{variation:"sm",component:"p",sx:{color:gx(s,l)},children:["","Very weak","Weak","Strong","Excellent"][s]})]})},bx=({helperText:e,inputName:t,errors:n,...i})=>{const o=Boolean(n&&n[t]);return o?On.jsx(wt,{errors:n,name:t,render:({message:e})=>On.jsx(qf,{showicon:!!e,state:"negative",children:e})}):e&&!o?On.jsx(qf,{state:"default",...i,children:e}):null},wx={textfield:Wf,numberfield:yg,textarea:mx,select:Ig,checkbox:Hf,checkboxGroup:_f,switch:px,slider:lx,starRating:ux,differential:ig,likert:xg,radioGroup:bg,ranking:Jg,richTextfield:ex,customfield:Zf},jx=({name:e,fieldType:t,label:n,control:i,errors:s,labelProps:a,helperText:l,helpTextProps:c,validation:u,content:d,styleOverrides:p,defaultValue:h,onChange:m,watch:f,trigger:g,strengthIndicator:x,...v})=>{const{custom:y}=w(),b=void 0!==s&&Object.keys(s).length>0,[j,C]=r(0);return x&&o((()=>{j>0&&g(e)}),[j]),u?.match?.field&&o((()=>{u?.match?.field&&g(u?.match?.field)}),[f(e)]),On.jsxs(O,{sx:ye(p?.sxInputStack,v?.hidden&&{display:"none!important"}),gap:y.margin.sm,children:["switch"!==t?n&&On.jsx(cg,{...a,children:n}):null,"html"===t&&d?On.jsx(lg,{children:d}):On.jsxs(On.Fragment,{children:[On.jsx(We,{name:e,control:i,render:e=>function({field:{ref:e,...i}}){const o=wx[t];return On.jsx(o,{...v,...i,inputRef:e,..."switch"===t?{label:n}:{}})}(e),rules:{...u,validate:e=>{if(u&&"phone"in u)return Ue(`+${f("extension")}${e}`)||u.phone.message;if(u&&"score"in u)return j<=u.score.value?u.score.message:void 0;if(u&&"white_space"in u)return!e.match(/^\s*$/g)||u.white_space.message;if(u&&"match"in u&&u?.match?.field)switch(u?.match?.comparison){case"not_eq":return e!=f(u.match.field)||u.match.message;case"gt":return e>f(u.match.field)||u.match.message;case"lt":return e<f(u.match.field)||u.match.message;default:return e===f(u.match.field)||u.match.message}}}}),x&&"password"===v?.type&&On.jsx(yx,{value:f(e),onChange:C})]}),On.jsxs(On.Fragment,{children:[Boolean(b)?On.jsx(bx,{helperText:void 0,inputName:e,errors:s,showicon:!0}):null,Boolean(l)?On.jsx(bx,{helperText:l,inputName:e,errors:void 0,...c}):null]})]})},Cx=e=>e.reduce(((e,t)=>({...e,[t?.name]:kx(t,t?.defaultValue)})),{}),kx=(e,t)=>{switch(e.fieldType){case"select":return Array.isArray(t),t;case"starRating":case"numberfield":return t||0;case"slider":{const{min:n}=e;return Array.isArray(t)?t:t||n}case"likert":case"radioGroup":case"customfield":default:return t||"";case"checkboxGroup":return t||[];case"checkbox":case"switch":return t||!1;case"ranking":{const{options:n}=e;return t?t.map((e=>n.find((({id:t})=>t===e)))):n}}},Sx=h((({submitButton:e,secondaryButton:t,onFormSubmit:n,onFormChange:i,formConfig:r},s)=>{const{custom:l}=w(),{fields:c,reValidateMode:u,styleOverrides:d,autoComplete:p,formId:h,mode:f}=r,x=ag(c),{reset:v,getValues:y,trigger:b,setValue:C,control:k,formState:{isValid:S,errors:M},setFocus:P,handleSubmit:T,watch:A}=_e({mode:f||"onChange",reValidateMode:u,defaultValues:a((()=>Cx(c)),[]),shouldUnregister:!0});o((()=>{if(void 0!==x){const e=x.filter((({fieldType:e})=>"html"!==e)).map((({name:e})=>e));c.filter((({name:t,fieldType:n})=>!e.includes(t)&&"html"!==n)).forEach((e=>{C(e.name,kx(e,e.defaultValue))}))}}),[c]),o((()=>{v(Cx(c))}),[h]),g(s,(()=>({set(e,t){C(e,t)},resetForm(){v()},focus(e){P(e)},submit(){n&&T(n)()},values:()=>y(),valid:()=>S,errors:()=>M,async triggerFormValidation(){await b()}})));const z=()=>{i&&i(y())};return On.jsxs(j,{component:"form",autoComplete:p,noValidate:!0,sx:d?.sxForm,...n&&{onSubmit:T(n)},children:[On.jsx(O,{gap:l.margin.md,sx:d?.sxStack,children:c.map((({name:e,...t})=>m(jx,{...i&&{internalChange:z},name:e,key:e,errors:M,control:k,watch:A,trigger:b,...t})))}),(t||e)&&On.jsxs(O,{direction:"row",sx:d?.sxButtons||{mt:l.margin.lg,gap:l.margin.sm,justifyContent:"flex-end"},children:[t&&t,e&&e]})]})})),Mx=y(j)((({theme:e})=>({alignItems:"center",display:"flex",flexDirection:"column",height:"100%",left:0,pointerEvents:"none",position:"fixed",top:0,width:"100%",zIndex:e.zIndex.tooltip}))),Px=y(A)((({theme:e})=>({background:e.custom.palette.red[300],display:"flex",flex:1,opacity:.2,position:"relative"}))),Tx=y(j)((({theme:e})=>({background:e.custom.palette.purple[300],display:"flex",flex:1}))),Ax=y(j)((({theme:e})=>({background:e.custom.palette.green[300],height:"100%"}))),zx=y(j)((({theme:e})=>({backgroundColor:e.custom.palette.surface.default,borderRadius:e.spacing(e.custom.radius.md),bottom:16,boxShadow:e.custom.elevation.overlay,display:"block",left:16,padding:e.spacing(1,2),position:"fixed"}))),Rx=({breakpoint:e})=>{const t=Array.from({length:6},((e,t)=>t));return e||(e=Ts()),On.jsxs(Mx,{children:[On.jsx(Px,{children:On.jsx(Tx,{children:On.jsxs(z,{container:!0,spacing:2,sx:{flex:1},children:[t.map((e=>On.jsx(z,{sm:!0,sx:{display:{sm:"none",md:"block"}},children:On.jsx(Ax,{})},`grid-1-${e}`))),t.map((e=>On.jsx(z,{sm:!0,sx:{display:{sm:"block"}},children:On.jsx(Ax,{})},`grid-2-${e}`)))]})})}),!!e&&On.jsx(zx,{children:On.jsx(Fo,{variation:"md",component:"p",weight:"bold",children:e})})]})},Ex=e=>({"&:first-of-type":{borderRadius:`calc(${e.spacing(e.custom.radius.md)} - 1px)`,borderBottomLeftRadius:0,borderBottomRightRadius:0},"&:last-of-type":{borderRadius:`calc(${e.spacing(e.custom.radius.md)} - 1px)`,borderTopRightRadius:0,borderTopLeftRadius:0}}),Vx=e=>({"&:first-of-type":{borderRadius:`calc(${e.spacing(e.custom.radius.md)} - 1px)`,borderTopRightRadius:0,borderBottomRightRadius:0},"&:last-of-type":{borderRadius:`calc(${e.spacing(e.custom.radius.md)} - 1px)`,borderTopLeftRadius:0,borderBottomLeftRadius:0}}),Fx=y(fe)((({theme:e,variation:t,orientation:n="horizontal",iconColor:i,sizing:o="lg",groupRaised:r=!1})=>({"&.MuiButtonGroup-root":{backgroundColor:e.custom.palette.input.default,border:`1px solid ${e.custom.palette.stroke.default}`,...r&&{boxShadow:e.custom.elevation.raised,border:"none"},"& > button":{borderRadius:0,..."default"===t&&{...Wo(e)},..."toggle"===t&&{..._o(e)},..."vertical"===n&&{...Ex(e)},..."horizontal"===n&&{...Vx(e)},...o&&{...qo(o)}},"& .MuiSvgIcon-root":{...o&&{...Xo(o)},fill:i||"inherit"}}}))),Bx=({ButtonGroupProps:e,children:t,...n})=>On.jsx(Fx,{...n,...e,children:t}),Lx=()=>On.jsx(j,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100dvh - 80px)"},children:On.jsx("img",{src:"https://useloops-public.s3.eu-west-2.amazonaws.com/public/landing/brand/loading-animation.gif",width:125})}),Dx=e=>On.jsx("svg",{viewBox:"0 0 80 25",fill:"currentColor",...e,children:On.jsx("path",{d:"M8.72886 20.0975C7.43461 19.1995 7.16357 18.9302 7.16357 16.9549V0.988281H-0.000106812V1.28748L0.0165316 1.29764C1.3293 2.09875 1.92633 2.46309 1.92633 4.43011V16.9549C1.92633 18.9302 1.65553 19.1995 0.361043 20.0975V20.3965H8.72886V20.0975ZM14.5709 13.437C13.7868 9.01598 14.1045 7.0153 16.0905 6.66718C18.0767 6.31907 19.0631 8.09095 19.8472 12.512C20.6311 16.933 20.3137 18.9335 18.3275 19.2816C16.3415 19.6299 15.3548 17.8578 14.5709 13.437ZM9.11663 14.3934C9.93203 18.9911 14.141 21.3529 18.5575 20.5785C22.9743 19.8041 26.1169 16.1534 25.3015 11.5559C24.4861 6.95793 20.2773 4.5961 15.8605 5.3705C11.444 6.14467 8.30123 9.79541 9.11663 14.3934ZM33.3669 6.66718C31.381 7.0153 31.0633 9.01598 31.8474 13.437C32.6313 17.8578 33.618 19.6299 35.6039 19.2816C37.5901 18.9335 37.9076 16.933 37.1237 12.512C36.3396 8.09095 35.3531 6.31907 33.3669 6.66718ZM35.834 20.5785C31.4175 21.3529 27.2085 18.9911 26.3931 14.3934C25.5777 9.79541 28.7205 6.14467 33.137 5.3705C37.5538 4.5961 41.7625 6.95793 42.5779 11.5559C43.3933 16.1534 40.2508 19.8041 35.834 20.5785ZM52.9075 18.9002C51.0712 18.9002 49.6266 16.8353 49.6266 14.441V12.3162C49.6266 9.6524 50.9209 7.64737 52.9075 7.64737C54.9843 7.64737 56.0078 9.53285 56.0078 12.7351C56.0078 16.955 54.9542 18.9002 52.9075 18.9002ZM51.6733 24.5936C50.1696 23.7488 49.6266 23.4437 49.6266 21.5189V17.9125C50.4091 19.4689 51.9744 20.6958 54.5629 20.6958C58.476 20.6958 61.5762 17.763 61.5762 12.7052C61.5762 7.55754 58.5663 5.25308 55.1047 5.25308C52.2753 5.25308 50.3187 6.83937 49.6266 9.02405L49.5063 5.55228H42.5833V5.85171L42.5873 5.85427C43.8786 6.69033 44.3891 7.02081 44.3891 8.99411V21.5189C44.3891 23.4942 44.1183 23.7637 42.824 24.6613V24.9605H51.7937V24.6613L51.6733 24.5936ZM79.8954 18.9002C79.8954 19.8689 79.1055 20.6543 78.1313 20.6543C77.157 20.6543 76.3671 19.8689 76.3671 18.9002C76.3671 17.9315 77.157 17.1462 78.1313 17.1462C79.1055 17.1462 79.8954 17.9315 79.8954 18.9002ZM70.0692 10.2734C68.0387 9.67975 66.9044 9.34812 66.9044 8.15614C66.9044 7.16849 67.8074 6.71957 68.8309 6.71957C70.7874 6.71957 72.3224 7.827 74.0985 10.4007H74.5196V5.25306H74.2187L72.8642 6.24072C72.8031 6.21577 72.742 6.19075 72.681 6.16573C71.5696 5.71024 70.454 5.25306 68.7707 5.25306C65.55 5.25306 62.9916 7.22837 62.9916 10.1612C62.9916 12.795 64.2557 14.2912 68.8008 15.4585C70.4863 15.8775 71.6601 16.1767 71.6601 17.4636C71.6601 18.6608 70.4863 19.2293 69.0718 19.2293C66.9044 19.2293 65.3093 17.763 63.2021 14.9797H62.7509L63.0819 20.6661H63.413L64.6169 19.4688C65.5801 19.9477 67.0851 20.6958 69.1019 20.6958C72.9546 20.6958 75.6334 18.571 75.6334 15.5783C75.6334 12.4956 73.7672 11.3584 70.095 10.2809L70.0692 10.2734Z"})}),Ox=y(mf)((({theme:e})=>({background:`linear-gradient(-18deg, ${e.custom.palette.purple[600]} 0%, ${e.custom.palette.blue[400]} 100%)`,color:e.custom.palette.white,padding:e.spacing(1),minWidth:0}))),Ix=()=>On.jsx(Ox,{variation:"primary",sizing:"md",startIcon:On.jsx(Co,{name:"ai"}),children:"Loops AI"}),$x={variation:"lg",component:"p",sx:{margin:0,"& > *":{display:"inline"}}},Hx=y("div")((()=>({whiteSpace:"pre"}))),Nx=e=>{const{children:t}=e,n=t&&t.replaceAll(/\s/g,"&nbsp;").replaceAll(/<p><\/p>/g,"<br />");return On.jsx(jt,{options:{overrides:{p:{component:Fo,props:$x},strong:{component:Fo,props:{...$x,weight:"bold"}},em:{component:Fo,props:{...$x,fontWeight:"inherit",fontStyle:"italic"}}},wrapper:Hx,forceBlock:!0,forceWrapper:!0},children:n})},Wx=(e,t)=>"light"===t?{fontWeight:400}:{fontWeight:500,textTransform:"uppercase"},_x=(e,t,n)=>{switch(t){case"peach":return{background:e.custom.palette.peach[100],color:"heavy"===n?e.custom.palette.peach[1e3]:e.custom.palette.peach[800]};case"peachDark":return{background:e.custom.palette.peach[800],color:e.custom.palette.peach[0]};case"purple":return{background:e.custom.palette.purple[100],color:"heavy"===n?e.custom.palette.purple[1e3]:e.custom.palette.purple[800]};default:return{background:e.custom.palette.neutral[100],color:"heavy"===n?e.custom.palette.neutral[1e3]:e.custom.palette.neutral[800]}}},Ux=y(le)((({theme:e,variation:t,weight:n})=>({borderRadius:e.spacing(e.custom.radius.md),height:28,..._x(e,t,n),"& .MuiChip-label":{fontSize:`${cr.sm.body.sm}`,padding:`0 ${e.spacing(e.custom.padding.sm)}`,...Wx(0,n)},"& .MuiChip-icon":{width:"0.8em",height:"0.8em",marginRight:-4,..._x(e,t,n),...Wx(0,n)}}))),Zx=({body:e,maxWidth:t,...n})=>On.jsx(Ux,{label:e,sx:{...t&&{maxWidth:`${t}px`}},...n});var Gx=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}();var Yx="undefined"!=typeof document,qx=function(e,t,n){for(var i=0,o=0;i=o,o=Gt(),38===i&&12===o&&(t[n]=1),!Ut(o);)_t();return qt(e,Kt)},Kx=function(e,t){return Ot(function(e,t){var n=-1,i=44;do{switch(Ut(i)){case 0:38===i&&12===Gt()&&(t[n]=1),e[n]+=qx(Kt-1,t,n);break;case 2:e[n]+=Yt(i);break;case 4:if(44===i){e[++n]=58===Gt()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Zt(i)}}while(i=_t());return e}(It(e),t))},Xx=new WeakMap,Jx=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,i=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Xx.get(n))&&!i){Xx.set(e,!0);for(var o=[],r=Kx(t,o),s=n.props,a=0,l=0;a<r.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=o[a]?r[a].replace(/&\f/g,s[c]):s[c]+" "+r[a]}}},Qx=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ev(e,t){switch($t(e,t)){case 5103:return Et+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Et+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Et+e+Vt+e+Ft+e+e;case 6828:case 4268:return Et+e+Ft+e+e;case 6165:return Et+e+Ft+"flex-"+e+e;case 5187:return Et+e+Rt(e,/(\w+).+(:[^]+)/,Et+"box-$1$2"+Ft+"flex-$1$2")+e;case 5443:return Et+e+Ft+"flex-item-"+Rt(e,/flex-|-self/,"")+e;case 4675:return Et+e+Ft+"flex-line-pack"+Rt(e,/align-content|flex-|-self/,"")+e;case 5548:return Et+e+Ft+Rt(e,"shrink","negative")+e;case 5292:return Et+e+Ft+Rt(e,"basis","preferred-size")+e;case 6060:return Et+"box-"+Rt(e,"-grow","")+Et+e+Ft+Rt(e,"grow","positive")+e;case 4554:return Et+Rt(e,/([^-])(transform)/g,"$1"+Et+"$2")+e;case 6187:return Rt(Rt(Rt(e,/(zoom-|grab)/,Et+"$1"),/(image-set)/,Et+"$1"),e,"")+e;case 5495:case 3959:return Rt(e,/(image-set\([^]*)/,Et+"$1$`$1");case 4968:return Rt(Rt(e,/(.+:)(flex-)?(.*)/,Et+"box-pack:$3"+Ft+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Et+e+e;case 4095:case 3583:case 4068:case 2532:return Rt(e,/(.+)-inline(.+)/,Et+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Nt(e)-1-t>6)switch(Ht(e,t+1)){case 109:if(45!==Ht(e,t+4))break;case 102:return Rt(e,/(.+:)(.+)-([^]+)/,"$1"+Et+"$2-$3$1"+Vt+(108==Ht(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Wt(e,"stretch")?ev(Rt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ht(e,t+1))break;case 6444:switch(Ht(e,Nt(e)-3-(~Wt(e,"!important")&&10))){case 107:return Rt(e,":",":"+Et)+e;case 101:return Rt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Et+(45===Ht(e,14)?"inline-":"")+"box$3$1"+Et+"$2$3$1"+Ft+"$2box$3")+e}break;case 5936:switch(Ht(e,t+11)){case 114:return Et+e+Ft+Rt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Et+e+Ft+Rt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Et+e+Ft+Rt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Et+e+Ft+e+e}return e}var tv,nv,iv=Yx?void 0:(tv=function(){return e=function(){return{}},t=Object.create(null),function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]};var e,t},nv=new WeakMap,function(e){if(nv.has(e))return nv.get(e);var t=tv(e);return nv.set(e,t),t}),ov=[function(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case Lt:e.return=ev(e.value,e.length);break;case Bt:return At([zt(e,{value:Rt(e.value,"@","@"+Et)})],i);case Mt:if(e.length)return Pt(e.props,(function(t){switch(Tt(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return At([zt(e,{props:[Rt(t,/:(read-\w+)/,":"+Vt+"$1")]})],i);case"::placeholder":return At([zt(e,{props:[Rt(t,/:(plac\w+)/,":"+Et+"input-$1")]}),zt(e,{props:[Rt(t,/:(plac\w+)/,":"+Vt+"$1")]}),zt(e,{props:[Rt(t,/:(plac\w+)/,Ft+"input-$1")]})],i)}return""}))}}],rv=function(e){var t=e.key;if(Yx&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i,o,r=e.stylisPlugins||ov,s={},a=[];Yx&&(i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;a.push(e)})));var l=[Jx,Qx];if(iv){var c=[Ct],u=St(l.concat(r,c)),d=iv(r)(t),p=function(e,t){var n,i=t.name;return void 0===d[i]&&(d[i]=(n=e?e+"{"+t.styles+"}":t.styles,At(Dt(n),u))),d[i]};o=function(e,t,n,i){var o=t.name,r=p(e,t);return void 0===g.compat?(i&&(g.inserted[o]=!0),r):i?void(g.inserted[o]=r):r}}else{var h,m=[Ct,kt((function(e){h.insert(e)}))],f=St(l.concat(r,m));o=function(e,t,n,i){var o;h=n,o=e?e+"{"+t.styles+"}":t.styles,At(Dt(o),f),i&&(g.inserted[t.name]=!0)}}var g={key:t,sheet:new Gx({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:o};return g.sheet.hydrate(a),g};const sv=y("iframe")((()=>({border:"none",height:"100%",width:"100%"}))),av=e=>{const[t,n]=r(null),i=t?.contentWindow?.document?.body,o=rv({key:"css",container:t?.contentWindow?.document?.head,prepend:!0});return On.jsx(sv,{ref:n,children:i&&ut(On.jsx(Jt,{value:o,children:e.children}),i)})},lv=()=>On.jsxs(O,{gap:.5,flexDirection:"row",children:[On.jsx(v,{sx:{width:67,height:12},viewBox:"0 0 67 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:On.jsx("path",{d:"M2.09034 4.64868H4.09536C5.65956 4.64868 6.41322 4.00878 6.41322 2.84274C6.41322 1.69092 5.65956 1.05102 4.09536 1.05102H2.09034V4.64868ZM2.09034 5.6583V9H0.86742V0.0413991H4.1238C6.34212 0.0413991 7.6077 1.09368 7.6077 2.84274C7.6077 4.60602 6.34212 5.6583 4.1238 5.6583H2.09034ZM9.27266 5.90004C9.27266 7.27938 9.96944 8.26056 11.2208 8.26056C12.4864 8.26056 13.1974 7.27938 13.1974 5.90004C13.1974 4.50648 12.4864 3.53952 11.2208 3.53952C9.96944 3.53952 9.27266 4.50648 9.27266 5.90004ZM14.4061 5.90004C14.4061 7.83396 13.0552 9.17064 11.2208 9.17064C9.40064 9.17064 8.06396 7.83396 8.06396 5.90004C8.06396 3.96612 9.40064 2.61522 11.2208 2.61522C13.0552 2.61522 14.4061 3.96612 14.4061 5.90004ZM19.9082 2.78586L21.2449 7.49268H21.3018L22.738 2.78586H23.8329L21.8564 9H20.7188L19.3963 4.36428H19.3394L18.0312 9H16.8936L14.9028 2.78586H16.083L17.5477 7.49268H17.6046L18.9128 2.78586H19.9082ZM29.4445 6.78168L30.4257 6.89544C30.1271 8.31744 29.0748 9.17064 27.5248 9.17064C25.6762 9.17064 24.3253 7.91928 24.3253 5.98536C24.3253 4.023 25.6762 2.61522 27.4679 2.61522C29.4445 2.61522 30.4541 4.023 30.4541 5.71518V6.17022H25.5056C25.5624 7.40736 26.4299 8.24634 27.539 8.24634C28.5771 8.24634 29.2028 7.74864 29.4445 6.78168ZM25.534 5.445H29.2454C29.217 4.43538 28.634 3.51108 27.4679 3.51108C26.3445 3.51108 25.662 4.40694 25.534 5.445ZM35.5059 2.89962L35.3921 3.96612C35.0509 3.78126 34.8091 3.71016 34.4252 3.71016C33.5293 3.71016 32.861 4.5207 32.861 5.71518V9H31.6807V2.78586H32.861V4.05144C33.0885 3.34044 33.7284 2.61522 34.6243 2.61522C35.0082 2.61522 35.2926 2.71476 35.5059 2.89962ZM40.9288 6.78168L41.91 6.89544C41.6114 8.31744 40.5591 9.17064 39.0091 9.17064C37.1605 9.17064 35.8096 7.91928 35.8096 5.98536C35.8096 4.023 37.1605 2.61522 38.9522 2.61522C40.9288 2.61522 41.9384 4.023 41.9384 5.71518V6.17022H36.9899C37.0468 7.40736 37.9142 8.24634 39.0233 8.24634C40.0614 8.24634 40.6871 7.74864 40.9288 6.78168ZM37.0183 5.445H40.7297C40.7013 4.43538 40.1183 3.51108 38.9522 3.51108C37.8289 3.51108 37.1463 4.40694 37.0183 5.445ZM47.8993 6.07068V5.71518C47.8993 4.36428 47.0461 3.56796 45.9227 3.56796C44.6998 3.56796 44.0172 4.47804 44.0172 5.90004C44.0172 7.32204 44.6998 8.23212 45.9227 8.23212C47.0461 8.23212 47.8993 7.4358 47.8993 6.07068ZM47.8851 9V7.70598C47.6007 8.47386 46.8186 9.17064 45.6525 9.17064C43.8039 9.17064 42.8085 7.73442 42.8085 5.90004C42.8085 4.06566 43.8039 2.61522 45.6525 2.61522C46.8186 2.61522 47.6007 3.32622 47.8851 4.0941V0.0413991H49.0653V9H47.8851ZM54.3847 5.71518V6.07068C54.3847 7.4358 55.2521 8.23212 56.3755 8.23212C57.5984 8.23212 58.2668 7.32204 58.2668 5.90004C58.2668 4.47804 57.5984 3.56796 56.3755 3.56796C55.2521 3.56796 54.3847 4.36428 54.3847 5.71518ZM54.3847 7.70598L54.1288 9H53.2329V0.0413991H54.4132V4.0941C54.6833 3.32622 55.4797 2.61522 56.6457 2.61522C58.4801 2.61522 59.4897 4.06566 59.4897 5.90004C59.4897 7.73442 58.4801 9.17064 56.6315 9.17064C55.4797 9.17064 54.6691 8.48808 54.3847 7.70598ZM62.6822 11.389H61.5304L62.54 8.98578L59.9235 2.78586H61.1607L63.1372 7.56378H63.1941L65.0996 2.78586H66.2656L62.6822 11.389Z",fill:"#473F5C"})}),On.jsxs(v,{sx:{width:40,height:12},viewBox:"0 0 40 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[On.jsx("g",{id:"Brand/Wordmark",clipPath:"url(#clip0_900_1816)",children:On.jsx("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M4.3189 9.56522C3.67851 9.11556 3.54429 8.98169 3.54429 7.99199V0H0V0.149886L0.00580287 0.153463C0.656931 0.554852 0.953183 0.737477 0.953183 1.72311V7.99199C0.953183 8.98169 0.818964 9.11556 0.17858 9.56522V9.7151H4.3189V9.56522ZM4.51113 6.71053C4.91378 9.01144 6.99646 10.1934 9.18264 9.80664C11.3677 9.41876 12.9226 7.58467 12.5199 5.28947C12.1173 2.99428 10.0346 1.80549 7.84841 2.19336C5.66223 2.58124 4.10847 4.40961 4.51113 6.71053ZM7.2103 6.23112C6.8247 4.01831 6.98053 3.01716 7.96215 2.84325C8.94377 2.66819 9.43515 3.55263 9.82074 5.76545C10.2063 7.97826 10.0516 8.97483 9.06889 9.15332C8.08613 9.33181 7.59589 8.44394 7.2103 6.23112ZM17.7306 9.80664C15.5455 10.1934 13.4629 9.01144 13.0591 6.71053C12.6553 4.40961 14.2102 2.58124 16.3963 2.19336C18.5825 1.80549 20.6641 2.99428 21.0678 5.28947C21.4716 7.58467 19.9156 9.41876 17.7306 9.80664ZM16.5101 2.84325C15.5273 3.01716 15.3726 4.01831 15.7582 6.23112C16.1438 8.44394 16.6341 9.33181 17.6168 9.15675C18.5996 8.98169 18.7543 7.98169 18.3687 5.76888C17.9831 3.55606 17.4928 2.66819 16.5101 2.84325ZM25.5683 11.8168C24.8234 11.3931 24.5553 11.2406 24.5553 10.2769L24.5575 8.4794C24.9443 9.25858 25.7189 9.873 26.9997 9.873C28.9356 9.873 30.47 8.40046 30.47 5.86842C30.47 3.29176 28.9743 2.13844 27.2681 2.13844C25.8679 2.13844 24.8988 2.93249 24.5575 4.02631L24.4973 2.28833H21.0724V2.43135L21.0731 2.43181C21.713 2.85024 21.9653 3.01524 21.9653 4.00458V10.2769C21.9653 11.2654 21.8322 11.4005 21.1907 11.8501V12H25.6267V11.8501L25.5683 11.8168ZM26.1784 8.9611C25.2696 8.9611 24.5553 7.92792 24.5553 6.72998V5.66247C24.5553 4.32952 25.1957 3.32494 26.1784 3.32494C27.2055 3.32494 27.7117 4.27002 27.7117 5.87185C27.7117 7.98741 27.1907 8.9611 26.1784 8.9611ZM38.6585 9.84325C39.1403 9.84325 39.5309 9.45034 39.5309 8.96567C39.5309 8.481 39.1403 8.0881 38.6585 8.0881C38.1767 8.0881 37.7861 8.481 37.7861 8.96567C37.7861 9.45034 38.1767 9.84325 38.6585 9.84325ZM34.6585 4.64621C33.661 4.35019 33.0998 4.18365 33.0998 3.5881C33.0998 3.08924 33.5548 2.86842 34.0552 2.86842C35.0244 2.86842 35.783 3.42334 36.6623 4.71167H36.8704V2.13501H36.7214L36.0515 2.62929C36.0223 2.61721 35.9931 2.6051 35.9639 2.59299C35.4126 2.36413 34.8607 2.13501 34.0257 2.13501C32.4321 2.13501 31.1661 3.12357 31.1661 4.59153C31.1661 5.90961 31.7929 6.65904 34.0416 7.24371C34.8765 7.45309 35.4566 7.60297 35.4566 8.24714C35.4566 8.84668 34.8765 9.13043 34.1758 9.13043C33.0998 9.13043 32.3138 8.39702 31.2799 7.00343H31.0524L31.2094 9.85011H31.3731L31.968 9.25057C32.4446 9.49085 33.1897 9.86499 34.1872 9.86499C36.0936 9.86499 37.4198 8.80091 37.4198 7.3032C37.4198 5.75973 36.4985 5.19107 34.6786 4.65217L34.6585 4.64621Z",fill:"#473F5C"})}),On.jsx("defs",{children:On.jsx("clipPath",{id:"clip0_900_1816",children:On.jsx("rect",{width:"39.5321",height:"12",fill:"white"})})})]})]}),cv=({typographyProps:e,text:t,sx:n})=>{const i=w();return On.jsx(j,{sx:ye(n,{width:"100%",position:"relative",display:"flex",gap:4,my:i.spacing(i.custom.margin.md),"&:before":{content:'""',width:"100%",background:i.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"},"&:after":{content:'""',width:"100%",background:i.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"}}),children:On.jsx(Fo,{align:"center",variation:"sm",component:"p",...e,children:t})})},uv=({buttons:e,message:t,status:n="neutral",variation:i="sm"})=>{const o=w();return On.jsx(O,{sx:{backgroundColor:o.custom.palette.surface.overlay,borderRadius:o.spacing(o.custom.radius.lg),boxShadow:o.custom.elevation.overlay,color:o.custom.palette.text.primaryInverted,display:"flex",flex:1,gap:1,p:2},children:On.jsxs(j,{sx:{display:"flex",flex:1,flexDirection:"sm"===i?"row":"column",gap:2},children:[On.jsxs(j,{sx:{display:"flex",flex:1,gap:1},children:["neutral"!==n&&On.jsx(dv,{status:n}),On.jsx(j,{sx:{display:"flex"},children:On.jsx(Fo,{variation:"md",component:"p",sx:{px:1,pt:.5},children:t})})]}),e&&On.jsx(j,{sx:{alignItems:"center",display:"flex",gap:2,justifyContent:"flex-end"},children:e})]})})},dv=({status:e})=>{const t=w();switch(e){case"neutral":return null;case"success":return On.jsx(pv,{backgroundColor:t.custom.palette.green[500],name:"check-circle"});case"warning":return On.jsx(pv,{backgroundColor:t.custom.palette.yellow[500],name:"error"});case"danger":return On.jsx(pv,{backgroundColor:t.custom.palette.red[500],name:"warning"});case"discover":return On.jsx(pv,{backgroundColor:t.custom.palette.purple[500],name:"lightbulb"})}},pv=({backgroundColor:e,name:t})=>{const n=w();return On.jsx(j,{sx:{display:"flex",alignItems:"flex-start",pt:.25},children:On.jsx(j,{sx:{backgroundColor:e,borderRadius:n.custom.radius.round,color:n.custom.palette.white,display:"flex",p:.5},children:On.jsx(Co,{name:t,size:20})})})},hv=({body:e,currency:t,changeCurrencyEvent:n=()=>{},frequency:i,heading:o,setCurrency:r=()=>{},setFrequency:s=()=>{},togglePayAnnuallyEvent:a=()=>{},sizing:l="lg",selections:c=[{value:"gbp",label:"£"},{value:"eur",label:"€"},{value:"usd",label:"$"}]})=>{const u=w(),d=Ts();return On.jsxs(j,{sx:{alignItems:"center",backgroundColor:u.custom.palette.surface.default,borderRadius:u.custom.radius.round,boxShadow:u.custom.elevation.raised,display:"flex",gap:{sm:2,lg:4},mb:2,mt:4,px:{sm:2,lg:"sm"===l?2:4},py:{sm:1,lg:2}},children:[On.jsxs(j,{sx:{alignItems:"center",display:"flex",gap:1},children:[On.jsx(j,{sx:{pr:2},children:On.jsx(px,{defaultChecked:!0,onChange:()=>(a(),void s("monthly"===i?"annual":"monthly")),role:"switch","aria-checked":"monthly"!==i,"aria-label":"Switch between monthly and annual billing",inputProps:{"aria-label":"Input for switch between monthly and annual billing"},sizing:l})}),On.jsxs(O,{sx:{alignItems:"flex-start",display:"flex"},children:[On.jsx(Fo,{variation:"sm"===d||"md"===d||"sm"===l?"md":"xxl",component:"p",children:o}),On.jsx(Fo,{variation:"sm",component:"p",sx:{color:u.custom.palette.text.secondary},children:e})]})]}),On.jsx(Ig,{name:"currency",onChange:e=>{return t=e.target.value,n(t),void r(t);var t},selections:c,value:c.find((e=>e.value===t))?.value,sx:{minWidth:{sm:64,lg:72},height:{sm:bn[400],lg:bn[500]}}})]})};var mv={headings:{"01-starter":{heading:"Starter",pricing:"{{currencySymbol}} {{starterPrice}} / month"},"02-team":{heading:"Team",pricing:"{{currencySymbol}} {{teamPrice}} / month"},"03-plus":{heading:"Plus",pricing:"{{currencySymbol}} {{plusPrice}} / month"},"04-scale":{heading:"Scale",pricing:"{{currencySymbol}} {{scalePrice}} / month"}},rows:{"01-seats":{heading:"Seats",description:"The number of users you can have on your account.",starter:"1",team:"10",plus:"50",scale:"100+"},"02-servicing":{heading:"Client servicing included",description:"Get direct communication with a Loops Customer Success Manager.",starter:"{{dash}}",team:"{{dash}}",plus:"Serviced lite",scale:"💪\nFully serviced"},"03-respondents":{heading:"Price per respondent",description:"The amount you pay to recruit and survey each respondent.",starter:"{{currencySymbol}}{{starterRespondentPrice}}",team:"{{currencySymbol}}{{teamRespondentPrice}}",plus:"{{currencySymbol}}{{plusRespondentPrice}}",scale:"{{currencySymbol}}{{scaleRespondentPrice}}"},"04-questions":{heading:"Question limit",description:"The maximum number of questions you can add to a test.",starter:"10",team:"15",plus:"20",scale:"25"},"05-ai":{heading:"AI-powered insights",description:"Use Loops AI to summarise the findings from your tests.",starter:"Basic",team:"✨\nAdvanced",plus:"✨\nAdvanced",scale:"✨\nAdvanced"},"06-demographics":{heading:"Demographic filters",description:"Reach your target audience using built-in demographic filters.",starter:"Basic",team:"🎯\nAdvanced",plus:"🎯\nAdvanced",scale:"🎯\nAdvanced"},"07-training":{heading:"Training",description:"Our team will onboard you and get you set up.",starter:"{{dash}}",team:"{{tick}}",plus:"{{tick}}",scale:"{{tick}}"},"08-invite":{heading:"Invite your own respondents",description:"Share your test with your own recruited audience.",starter:"{{dash}}",team:"{{tick}}",plus:"{{tick}}",scale:"{{tick}}"},"09-email":{heading:"Email capture",description:"Ability to collect respondent email addresses.",starter:"{{dash}}",team:"{{tick}}",plus:"{{tick}}",scale:"{{tick}}"},"10-beta":{heading:"Beta features",description:"Assess to our latest features as they become available.",starter:"{{dash}}",team:"{{dash}}",plus:"{{tick}}",scale:"{{tick}}"},"11-sso":{heading:"Single sign on (SSO)",description:"Enterprise level authentication using SAML (supports Okta and OneLogin).",starter:"{{dash}}",team:"{{dash}}",plus:"{{dash}}",scale:"{{tick}}"},"12-minimum":{heading:"Minimum term",description:"The minimum subscription period.",starter:"30 days",team:"6 months",plus:"6 months",scale:"12 months"}}};const fv=({currencySymbol:e,data:t,starterPrice:n,starterRespondentPrice:i,teamPrice:o,teamRespondentPrice:r,plusPrice:s,plusRespondentPrice:a,scalePrice:l,scaleRespondentPrice:c,variation:u="default"})=>{const d=w();t||(t=mv);const p=Object.values(t.headings).map((({heading:t,pricing:i})=>({heading:t,pricing:i.replace("{{currencySymbol}}",e).replace("{{starterPrice}}",n).replace("{{teamPrice}}",o).replace("{{plusPrice}}",s).replace("{{scalePrice}}",l)}))),h=t=>t.replace("{{currencySymbol}}",e).replace("{{starterRespondentPrice}}",i||"").replace("{{teamRespondentPrice}}",r||"").replace("{{plusRespondentPrice}}",a||"").replace("{{scaleRespondentPrice}}",c||""),m=[...Object.values(t.rows).map(((e,t)=>({key:`pricing-table-features-${t}`,type:"row",name:{heading:e.heading,description:e.description},starter:h(e.starter),team:h(e.team),plus:h(e.plus),scale:h(e.scale)})))];return On.jsxs(O,{sx:{backgroundColor:d.custom.palette.surface.default,borderRadius:d.spacing(d.custom.radius.xl),boxShadow:d.custom.elevation.raised,display:"flex",gap:2,pb:{sm:2,lg:4},px:{sm:2,lg:4},minWidth:{sm:680}},children:[On.jsxs(j,{sx:{display:"flex",py:2,px:1,justifyContent:"space-between"},children:[On.jsx(j,{sx:{width:160}}),p.map((({heading:e,pricing:t})=>On.jsxs(O,{sx:{alignItems:"center",display:"flex",justifyContent:"center",width:122},children:[On.jsx(Fo,{variation:"platform"===u?"lg":"xxl",component:"p",weight:"bold",children:e}),On.jsx(Fo,{variation:"platform"===u?"sm":"md",component:"p",sx:{color:d.custom.palette.text.secondary},children:t})]},e)))]}),m.map((e=>On.jsxs(j,{sx:{display:"flex",justifyContent:"space-between",p:1,"&:nth-of-type(odd)":{backgroundColor:d.custom.palette.surface.sunken}},children:[On.jsx(j,{sx:{display:"flex",alignItems:"center",width:160},children:On.jsxs(j,{sx:{display:"flex",justifyContent:"flex-start",alignItems:"center",flex:1,gap:1},children:[e.name.description&&On.jsx(No,{message:e.name.description,children:On.jsx(j,{sx:{alignItems:"center",color:d.custom.palette.icon.secondary,display:"flex"},children:On.jsx(Co,{name:"info",size:24})})}),On.jsx(Fo,{variation:"platform"===u?"md":"lg",component:"p",children:e.name.heading})]})}),On.jsx(gv,{text:e.starter}),On.jsx(gv,{text:e.team}),On.jsx(gv,{text:e.plus}),On.jsx(gv,{text:e.scale})]},e.key)))]})},gv=({text:e})=>{const t=w(),n="{{tick}}"===e,i="{{dash}}"===e;return On.jsx(j,{sx:{display:"flex",alignItems:"center",textAlign:"center",width:122},children:On.jsxs(j,{sx:{display:"flex",justifyContent:"center",alignItems:"center",p:{sm:.5,md:1},flex:1},children:[n&&On.jsx(Co,{name:"badge-tick-in-circle",size:24}),i&&On.jsx(Co,{name:"badge-hyphen",size:24}),!n&&!i&&On.jsx(Fo,{variation:"lg",component:"p",sx:{color:t.custom.palette.text.secondary,hyphens:"none",whiteSpace:"pre"},children:On.jsx(On.Fragment,{children:e})})]})})},xv=()=>{const e="object"==typeof window;function t(){return{width:e?window.innerWidth:void 0,height:e?window.innerHeight:void 0}}const[n,i]=r(t);return o((()=>{if(e)return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n);function n(){x((()=>{i(t())}))}}),[]),n},vv=({amount:e,billingType:t,body:n,ctaEvent:s=()=>{},ctaLink:a="#",ctaTarget:l="_self",ctaText:c,ctaVariation:u="primary",currencySymbol:d,currentPlan:p,features:h=[],freeTrialLength:m,freeTrialText:f,frequency:g,heading:v,label:y,largestHeaderHeight:b=0,perMonth:C,setLargestHeaderHeight:k=()=>{},variation:S="default"})=>{const M=w(),P=Ts(),{width:T}=xv(),A=i(null),[z,R]=r("sm");return o((()=>{x((()=>{R(P),P!==z&&k(0),A.current&&A.current.offsetHeight>b&&k(A.current.offsetHeight)}))}),[P,z,T]),On.jsxs(O,{sx:{display:"flex",flex:1,position:"relative"},children:[On.jsx(O,{sx:{alignItems:"center",backgroundColor:M.custom.palette.icon.primary,borderTopLeftRadius:M.spacing(M.custom.radius.lg),borderTopRightRadius:M.spacing(M.custom.radius.lg),boxShadow:M.custom.elevation.overlay,color:M.custom.palette.text.primaryInverted,justifyContent:"center",p:{sm:1,lg:2},textTransform:"uppercase",opacity:y?1:0,display:{sm:y?"flex":"none",md:"flex"}},children:On.jsx(Fo,{variation:"md",component:"p",weight:"bold",sx:{color:M.custom.palette.white},children:y||"&nbsp;"})}),On.jsxs(O,{sx:{backgroundColor:M.custom.palette.surface.default,borderBottomLeftRadius:M.spacing(M.custom.radius.lg),borderBottomRightRadius:M.spacing(M.custom.radius.lg),borderTopLeftRadius:y?0:M.spacing(M.custom.radius.lg),borderTopRightRadius:y?0:M.spacing(M.custom.radius.lg),boxShadow:M.custom.elevation.overlay,display:"flex",flex:1},children:[On.jsxs(O,{sx:{display:"flex",gap:"sm"===P||"md"===P?1:2,textAlign:"center",minHeight:{sm:"none",md:b},px:2,py:{sm:2,lg:4}},ref:A,children:[On.jsx(Fo,{variation:"sm"===P?"xxl":"platform"===S?"md":"lg",component:"h2",weight:"bold",children:v}),On.jsx(Fo,{variation:"sm"===P?"md":"platform"===S?"md"===P?"sm":"md":"md"===P?"md":"lg",component:"p",sx:{color:M.custom.palette.text.secondary},children:n})]}),On.jsxs(O,{sx:{alignItems:"center",display:"flex",gap:2,minHeight:{sm:"none",md:168,lg:"platform"===S?184:240,xl:"platform"===S?184:226},px:2,py:{sm:2,md:2,lg:"platform"===S?2:6}},children:[On.jsxs(j,{sx:{alignItems:"flex-end",display:"flex",gap:.5,justifyContent:"center"},children:[On.jsx(Fo,{variation:"md"===P?"sm":"xxl",component:"p",weight:"bold",sx:{lineHeight:1,marginBottom:-.15,marginRight:-.4},children:d}),On.jsx(Fo,{variation:"xxl",component:"p",weight:"bold",sx:{fontSize:{sm:48,md:26,lg:48},lineHeight:.8},children:e}),C&&On.jsx(Fo,{variation:"sm",component:"p",sx:{color:M.custom.palette.text.secondary,lineHeight:1,marginLeft:-.5},children:C})]}),m&&f&&On.jsxs(j,{sx:{alignItems:"center",backgroundColor:M.custom.palette.yellow[300],borderRadius:M.custom.radius.round,boxShadow:M.custom.elevation.raised,display:"flex",gap:{sm:.5,md:1},px:2,py:1},children:[On.jsx(Co,{name:"gift",size:24}),On.jsxs(j,{sx:{display:"flex",flexDirection:{sm:"row",md:"column",lg:"row"},gap:{sm:.5,md:0,lg:.5}},children:[On.jsx(Fo,{variation:"md",component:"p",weight:"bold",sx:{lineHeight:1},children:m}),On.jsx(Fo,{variation:"md",component:"p",sx:{lineHeight:1},children:f})]})]}),t&&On.jsx(Fo,{variation:"sm",component:"p",sx:{color:M.custom.palette.text.placeholder},children:t})]}),On.jsxs(O,{sx:{display:"flex",flexDirection:{sm:"column-reverse",md:"column"}},children:[On.jsx(j,{sx:{py:{sm:2,md:0},px:{sm:2,lg:4}},children:On.jsx(Eo,{href:a,title:c,target:l,onClick:()=>{v&&s(v)},sx:{"&:hover":{cursor:p?"default":"pointer"}},children:On.jsx(mf,{fullWidth:!0,variation:u,sizing:"lg",disabled:p,children:c})})}),h?.length&&On.jsx(O,{sx:{alignItems:"center",gap:.5,px:{sm:2,lg:4},py:{sm:2,md:4,lg:"platform"===S?4:6}},children:h.map(((e,t)=>On.jsxs(j,{sx:{alignItems:"center",display:"flex",gap:1,maxWidth:200,width:"100%"},children:[On.jsx(Co,{name:"badge-tick",size:24}),On.jsx(Fo,{variation:"md",component:"p",children:e})]},`${v}-feature-${t}`)))})]})]})]})},yv=({body:e,ctaEvent:t=()=>{},ctaLink:n="",ctaTarget:i="_blank",ctaText:o,currencySymbol:r,heading:s,postText:a,preText:l,amount:c})=>{const u=w();return On.jsxs(j,{sx:{backgroundColor:u.custom.palette.purple[0],borderRadius:u.spacing(u.custom.radius.lg),display:"flex",flexDirection:{sm:"column",md:"row"},textAlign:{sm:"center",md:"left"},boxShadow:u.custom.elevation.overlay,flex:1,gap:{sm:4,md:2},p:{sm:2,lg:4}},children:[On.jsxs(O,{sx:{flex:1,gap:2,justifyContent:"center"},children:[On.jsx(Fo,{variation:"md",component:"h2",sx:{fontWeight:500},children:s}),On.jsx(Fo,{variation:"md",component:"p",sx:{color:u.custom.palette.text.secondary},children:e})]}),On.jsxs(O,{sx:{flex:1,gap:{sm:4,md:2},justifyContent:"center",maxWidth:{sm:"none",md:180,lg:320},p:{sm:0,md:2,lg:4}},children:[On.jsxs(j,{sx:{alignItems:"flex-end",display:"flex",justifyContent:"center"},children:[On.jsx(Fo,{variation:"md",component:"p",sx:{color:u.custom.palette.text.placeholder,pr:.5},children:l}),On.jsxs(j,{sx:{alignItems:"flex-end",display:"flex"},children:[On.jsx(Fo,{variation:"xxl",component:"p",sx:{fontWeight:500,lineHeight:1.2},children:r}),On.jsx(Fo,{variation:"xxl",component:"p",sx:{fontWeight:500,fontSize:{sm:"1.6rem",lg:"2.2rem"},lineHeight:{sm:1.15,lg:1}},children:c})]}),On.jsx(Fo,{variation:"md",component:"p",sx:{color:u.custom.palette.text.placeholder,pl:.1},children:a})]}),On.jsx(Eo,{href:n,title:o,target:i,onClick:()=>{s&&t(s)},children:On.jsx(mf,{fullWidth:!0,variation:"outlined",sizing:"lg",children:o})})]})]})},bv=({heading:e,ticks:t})=>On.jsxs(O,{sx:{display:"flex",gap:{sm:2,lg:4},py:{sm:2,lg:4}},children:[On.jsx(Fo,{variation:"xl",component:"p",sx:{textAlign:"center"},children:e}),On.jsx(j,{sx:{columnGap:4,display:"flex",flex:1,flexWrap:"wrap",justifyContent:"center",rowGap:2},children:t.map(((t,n)=>On.jsxs(j,{sx:{display:"flex",alignItems:"center",gap:1,px:{sm:0,lg:2}},children:[On.jsx(Co,{name:"badge-tick",size:32}),On.jsx(Fo,{variation:"xxl",component:"p",children:t})]},`tick-group-${e}-${n}`)))})]});function wv(e,t){const n=new Set(e),i=new Set(t);return e.every((e=>i.has(e)))&&t.every((e=>n.has(e)))}const jv="https://useloops-public.s3.eu-west-2.amazonaws.com/public/fonts/",Cv=()=>On.jsx(xe,{styles:{"strong, b":{fontWeight:500}}}),kv=l(null),Sv=(e="light",t="lg",n="ltr")=>{const{width:i}=xv(),[s,l]=r(e),[c,u]=r(t),[d,p]=r(n),[h,m]=r(!1),[f,g]=r("");o((()=>{document.documentElement.setAttribute("dir",d)}),[d]);o((()=>{x((()=>{u(i&&i<yn.lg?"sm":"lg")}))}),[i]),o((()=>{x((()=>{p(n)}))}),[n]),o((()=>{x((()=>{l(e)}))}),[e]);const v=a((()=>((e,t,n)=>ge({direction:n,custom:{palette:{black:"#000000",white:"#ffffff",neutral:dn[e],neutralAlpha:"light"===e?nn:on,purple:hn[e],red:mn[e],peach:fn[e],yellow:gn[e],blue:xn[e],green:vn[e],icon:An[e].icon,interaction:An[e].interaction,stroke:An[e].stroke,surface:An[e].surface,text:An[e].text,input:An[e].input},margin:jn,padding:Cn,radius:kn,elevation:Sn,elevationFilter:Mn,boxShadow:Pn,easing:Tn,typography:cr[t]},palette:{mode:e,primary:{main:rn[500]}},spacing:wn,shape:{borderRadius:wn,hotspot:{default:12,active:24}},breakpoints:{values:yn},typography:{fontFamily:`"${Rn.FoundersGrotesk.name}", "Helvetica", "sans-serif"`},components:{MuiTypography:{variants:ur(t),styleOverrides:{root:{color:An[e].text.primary,letterSpacing:0,lineHeight:"140%"}}},MuiCssBaseline:{styleOverrides:`\n\t\t\t\t\tbody {\n\t\t\t\t\t\tbackground: ${dn[e][0]};\n\t\t\t\t\t\tmin-width: 320px;\n\t\t\t\t\t}\n\t\t\t\t\ta {\n\t\t\t\t\t\tcolor: inherit;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\ttext-decoration: none;\n\t\t\t\t\t}\n\t\t\t\t\tb {\n\t\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\t}\n @font-face {\n font-family: '${Rn.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Rn.Domaine.default.weight};\n src: url(${jv}${Rn.Domaine.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${Rn.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Rn.Domaine.bold.weight};\n src: url(${jv}${Rn.Domaine.bold.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${Rn.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Rn.FoundersGrotesk.default.weight};\n src: url(${jv}${Rn.FoundersGrotesk.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${Rn.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Rn.FoundersGrotesk.bold.weight};\n src: url(${jv}${Rn.FoundersGrotesk.bold.fileName}) format('woff2');\n }\n `},MuiContainer:{defaultProps:{maxWidth:"xl",disableGutters:!0},styleOverrides:{root:{paddingLeft:16,paddingRight:16,[`@media (min-width: ${yn.md}px)`]:{paddingLeft:24,paddingRight:24},[`@media (min-width: ${yn.lg}px)`]:{paddingLeft:48,paddingRight:48}}}},MuiButtonBase:{defaultProps:{disableTouchRipple:!0,disableRipple:!0}},MuiButton:{defaultProps:{disableTouchRipple:!0,disableRipple:!0}},MuiTooltip:{styleOverrides:{arrow:({theme:{custom:e}})=>({color:e.palette.surface.overlay}),tooltip:({theme:{custom:e}})=>({backgroundColor:e.palette.surface.overlay,borderRadius:e.radius.md,color:e.palette.text.primary,backdropFilter:"blur(0)",filter:e.elevationFilter.overlay,fontFamily:Rn.FoundersGrotesk.name,fontSize:e.typography.body.sm,fontWeight:400,padding:`${e.padding.sm*wn}px ${e.padding.md*wn}px`})}},MuiAvatarGroup:{styleOverrides:{root:{flexDirection:"row"},avatar:({theme:{custom:e}})=>({border:`1px solid ${e.palette.stroke.default}`,marginLeft:0,marginRight:-8,":last-child":{marginLeft:"auto"}})}}}}))(s,c,d)),[s,d,c]),y=de(v.breakpoints.only("sm"),{noSsr:!0}),b=de(v.breakpoints.only("md"),{noSsr:!0}),w=de(v.breakpoints.between("lg","xl"),{noSsr:!0}),j=de(v.breakpoints.up("xl"),{noSsr:!0});return o((()=>{x((()=>{y&&g("sm"),b&&g("md"),w&&g("lg"),j&&g("xl")}))}),[y,b,w,j]),{breakpoint:f,gridOverlayVisible:h,mode:s,theme:v,toggleGridOverlay:()=>{x((()=>{m((e=>!e))}))},toggleMode:e=>{x((()=>{if(e)return l(e);l((e=>"light"===e?"dark":"light"))}))}}},Mv=rv({key:"muirtl",stylisPlugins:[Xt,Qt]}),Pv=rv({key:"mui"}),Tv=({mode:e="light",screenSize:t="lg",direction:n="ltr",children:i})=>{const o=Sv(e,t,n);return On.jsx(kv.Provider,{value:o,children:On.jsx(Jt,{value:"rtl"===n?Mv:Pv,children:On.jsxs(He,{theme:o.theme,children:[On.jsx(ve,{}),On.jsx(Cv,{}),i]})})})};export{hv as AnnualController,zo as AuthContainerSurface,Lf as AuthFormHeader,Zr as Avatar,Df as AvatarGroup,Io as Breadcrumb,mf as Button,Hf as Checkbox,_f as CheckboxGroup,Uf as ColorBackgroundContainer,Zf as CustomField,Rf as DEFAULT_MAX_INPUT_LENGTH,ig as Differential,rg as DropdownMenu,zn as FontWeight,Of as FormControlLabel,Sx as FormGenerator,Rx as GridOverlay,rr as Header,lg as Html,Co as Icon,Qo as IconButton,Bx as IconButtonGroup,hs as Image,Nf as InputFieldBase,cg as InputLabel,qf as InputLabelHelp,xg as Likert,Eo as Link,Lx as Loader,Dx as Logo,Ix as LoopsAiButton,Nx as Markdown,Tr as MenuButton,ds as Navigation,Ur as Nudge,yg as NumberField,Pf as OnboardingCard,Zx as Pill,fv as PlanFeatureTable,vv as PlanTierCard,yv as PlanTierCardScale,$r as Popper,av as Portal,lv as PoweredByWatermarkLogo,Ho as Progress,zs as ProgressBar,Cs as ProjectItem,Qf as Radio,bg as RadioGroup,Jg as Rank,ex as RichTextField,Ps as SectionHeader,Ig as Select,lx as Slider,Xg as SortableList,ux as StarRating,Ao as Surface,px as Switch,cv as TextBarDivider,Wf as TextField,mx as Textarea,Tv as ThemeProvider,bv as TickGroup,uv as Toast,No as Tooltip,Fo as Typography,ns as UserMenu,Bf as backgroundCreator,wn as base,cn as blue,xn as blueRamp,Pn as boxShadow,yn as breakpoints,Af as chooseArticle,wv as compareArrayMembers,tn as darkNeutral,on as darkNeutralAlpha,zf as defaultInputValidation,Tn as easing,Sn as elevation,Mn as elevationFilter,Tf as emailValidation,Rn as fonts,pn as generateRamp,un as green,vn as greenRamp,jo as iconSizeMap,jn as margin,en as neutral,nn as neutralAlpha,dn as neutralRamp,Cn as padding,Ef as passwordValidation,an as peach,fn as peachRamp,rn as purple,hn as purpleRamp,kn as radius,sn as red,mn as redRamp,An as semantic,bn as space,Ts as useBreakpoint,sg as useDropdownMenu,ag as usePrevious,xv as useScreenSize,ln as yellow,gn as yellowRamp};
23
+ */function Is(){if(Ms)return Ss;Ms=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Ss=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(i,o){for(var r,s,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(i),l=1;l<arguments.length;l++){for(var c in r=Object(arguments[l]))t.call(r,c)&&(a[c]=r[c]);if(e){s=e(r);for(var u=0;u<s.length;u++)n.call(r,s[u])&&(a[s[u]]=r[s[u]])}}return a},Ss}function $s(){if(Ts)return Ps;Ts=1;return Ps="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Hs(){return zs?As:(zs=1,As=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var Ns=Os();bs.exports=function(){if(Ls)return Vs;Ls=1;var e=Os(),t=Is(),n=$s(),i=Hs(),o=function(){if(Es)return Rs;Es=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=$s(),n={},i=Hs();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,r,s,a,l){if("production"!==process.env.NODE_ENV)for(var c in o)if(i(o,c)){var u;try{if("function"!=typeof o[c]){var d=Error((a||"React class")+": "+s+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=o[c](r,c,a,s,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((a||"React class")+": type specification of "+s+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var p=l?l():"";e("Failed "+s+" type: "+u.message+(null!=p?p:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Rs=o}(),r=function(){};function s(){return null}return"production"!==process.env.NODE_ENV&&(r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),Vs=function(a,l){var c="function"==typeof Symbol&&Symbol.iterator,u="<<anonymous>>",d={array:f("array"),bigint:f("bigint"),bool:f("boolean"),func:f("function"),number:f("number"),object:f("object"),string:f("string"),symbol:f("symbol"),any:m(s),arrayOf:function(e){return m((function(t,i,o,r,s){if("function"!=typeof e)return new h("Property `"+s+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var a=t[i];if(!Array.isArray(a))return new h("Invalid "+r+" `"+s+"` of type `"+v(a)+"` supplied to `"+o+"`, expected an array.");for(var l=0;l<a.length;l++){var c=e(a,l,o,r,s+"["+l+"]",n);if(c instanceof Error)return c}return null}))},element:m((function(e,t,n,i,o){var r=e[t];return a(r)?null:new h("Invalid "+i+" `"+o+"` of type `"+v(r)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:m((function(t,n,i,o,r){var s=t[n];return e.isValidElementType(s)?null:new h("Invalid "+o+" `"+r+"` of type `"+v(s)+"` supplied to `"+i+"`, expected a single ReactElement type.")})),instanceOf:function(e){return m((function(t,n,i,o,r){if(!(t[n]instanceof e)){var s=e.name||u;return new h("Invalid "+o+" `"+r+"` of type `"+((a=t[n]).constructor&&a.constructor.name?a.constructor.name:u)+"` supplied to `"+i+"`, expected instance of `"+s+"`.")}var a;return null}))},node:m((function(e,t,n,i,o){return x(e[t])?null:new h("Invalid "+i+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return m((function(t,o,r,s,a){if("function"!=typeof e)return new h("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var l=t[o],c=v(l);if("object"!==c)return new h("Invalid "+s+" `"+a+"` of type `"+c+"` supplied to `"+r+"`, expected an object.");for(var u in l)if(i(l,u)){var d=e(l,u,r,s,a+"."+u,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?m((function(t,n,i,o,r){for(var s=t[n],a=0;a<e.length;a++)if(p(s,e[a]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===y(t)?String(t):t}));return new h("Invalid "+o+" `"+r+"` of value `"+String(s)+"` supplied to `"+i+"`, expected one of "+l+".")})):("production"!==process.env.NODE_ENV&&r(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),s)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&r("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return r("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+b(o)+" at index "+t+"."),s}return m((function(t,o,r,s,a){for(var l=[],c=0;c<e.length;c++){var u=(0,e[c])(t,o,r,s,a,n);if(null==u)return null;u.data&&i(u.data,"expectedType")&&l.push(u.data.expectedType)}return new h("Invalid "+s+" `"+a+"` supplied to `"+r+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return m((function(t,i,o,r,s){var a=t[i],l=v(a);if("object"!==l)return new h("Invalid "+r+" `"+s+"` of type `"+l+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(o,r,s,c,y(u));var d=u(a,c,o,r,s+"."+c,n);if(d)return d}return null}))},exact:function(e){return m((function(o,r,s,a,l){var c=o[r],u=v(c);if("object"!==u)return new h("Invalid "+a+" `"+l+"` of type `"+u+"` supplied to `"+s+"`, expected `object`.");var d=t({},o[r],e);for(var p in d){var m=e[p];if(i(e,p)&&"function"!=typeof m)return g(s,a,l,p,y(m));if(!m)return new h("Invalid "+a+" `"+l+"` key `"+p+"` supplied to `"+s+"`.\nBad object: "+JSON.stringify(o[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=m(c,p,s,a,l+"."+p,n);if(f)return f}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var t={},i=0;function o(o,s,a,c,d,p,m){if(c=c||u,p=p||a,m!==n){if(l){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=c+":"+a;!t[g]&&i<3&&(r("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,i++)}}return null==s[a]?o?null===s[a]?new h("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new h("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(s,a,c,d,p)}var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function f(e){return m((function(t,n,i,o,r,s){var a=t[n];return v(a)!==e?new h("Invalid "+o+" `"+r+"` of type `"+y(a)+"` supplied to `"+i+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,n,i,o){return new h((e||"React class")+": "+t+" type `"+n+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function x(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(x);if(null===e||a(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,i=t.call(e);if(t!==e.entries){for(;!(n=i.next()).done;)if(!x(n.value))return!1}else for(;!(n=i.next()).done;){var o=n.value;if(o&&!x(o[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function y(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return h.prototype=Error.prototype,d.checkPropTypes=o,d.resetWarningCache=o.resetWarningCache,d.PropTypes=d,d},Vs}()(Ns.isElement,!0)}else bs.exports=function(){if(Bs)return Fs;Bs=1;var e=$s();function t(){}function n(){}return n.resetWarningCache=t,Fs=function(){function i(t,n,i,o,r,s){if(s!==e){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function o(){return i}i.isRequired=i;var r={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:o,element:i,elementType:i,instanceOf:o,node:i,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return r.PropTypes=r,r}}()();var Ws=En(bs.exports);function _s(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=_s(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function Us(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=_s(e))&&(i&&(i+=" "),i+=t);return i}const Zs=e=>e,Gs=(()=>{let e=Zs;return{configure(t){e=t},generate:t=>e(t),reset(){e=Zs}}})(),Ys={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function qs(e,t,n="Mui"){const i=Ys[t];return i?`${n}-${i}`:`${Gs.generate(e)}-${t}`}const Ks=e.createContext({});function Xs(e){return qs("MuiTimeline",e)}function Js(e){return"alternate-reverse"===e?"positionAlternateReverse":`position${$e(e)}`}"production"!==process.env.NODE_ENV&&(Ks.displayName="TimelineContext"),function(e,t,n="Mui"){const i={};t.forEach((t=>{i[t]=qs(e,t,n)}))}("MuiTimeline",["root","positionLeft","positionRight","positionAlternate","positionAlternateReverse"]);const Qs=["position","className"],ea=e=>{const{position:t,classes:n}=e;return function(e,t,n){const i={};return Object.keys(e).forEach((o=>{i[o]=e[o].reduce(((e,i)=>{if(i){const o=t(i);""!==o&&e.push(o),n&&n[i]&&e.push(n[i])}return e}),[]).join(" ")})),i}({root:["root",t&&Js(t)]},Xs,n)},ta=De("ul",{name:"MuiTimeline",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.position&&t[Js(n.position)]]}})({display:"flex",flexDirection:"column",padding:"6px 16px",flexGrow:1}),na=e.forwardRef((function(t,n){const i=Oe({props:t,name:"MuiTimeline"}),{position:o="right",className:r}=i,s=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(i,Qs),a=vs({},i,{position:o}),l=ea(a),c=e.useMemo((()=>({position:o})),[o]);return On.jsx(Ks.Provider,{value:c,children:On.jsx(ta,vs({className:Us(l.root,r),ownerState:a,ref:n},s))})}));"production"!==process.env.NODE_ENV&&(na.propTypes={children:Ws.node,classes:Ws.object,className:Ws.string,position:Ws.oneOf(["alternate-reverse","alternate","left","right"]),sx:Ws.oneOfType([Ws.arrayOf(Ws.oneOfType([Ws.func,Ws.object,Ws.bool])),Ws.func,Ws.object])});const ia=l({});const oa=l(null),ra=l({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});const sa="undefined"!=typeof window,aa=sa?d:o,la=e=>e;let ca=la,ua=la;"production"!==process.env.NODE_ENV&&(ca=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},ua=(e,t)=>{if(!e)throw new Error(t)});const da=!1;const pa=["read","resolveKeyframes","update","preRender","render","postRender"];function ha(e,t){let n=!1,i=!0;const o={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=pa.reduce(((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,i=!1,o=!1;const r=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(t){r.has(t)&&(l.schedule(t),e()),t(s)}const l={schedule:(e,o=!1,s=!1)=>{const a=s&&i?t:n;return o&&r.add(e),a.has(e)||a.add(e),e},cancel:e=>{n.delete(e),r.delete(e)},process:e=>{s=e,i?o=!0:(i=!0,[t,n]=[n,t],t.forEach(a),t.clear(),i=!1,o&&(o=!1,l.process(e)))}};return l}(r),e)),{}),{read:a,resolveKeyframes:l,update:c,preRender:u,render:d,postRender:p}=s,h=()=>{const r=performance.now();n=!1,o.delta=i?1e3/60:Math.max(Math.min(r-o.timestamp,40),1),o.timestamp=r,o.isProcessing=!0,a.process(o),l.process(o),c.process(o),u.process(o),d.process(o),p.process(o),o.isProcessing=!1,n&&t&&(i=!1,e(h))};return{schedule:pa.reduce(((t,r)=>{const a=s[r];return t[r]=(t,r=!1,s=!1)=>(n||(n=!0,i=!0,o.isProcessing||e(h)),a.schedule(t,r,s)),t}),{}),cancel:e=>{for(let t=0;t<pa.length;t++)s[pa[t]].cancel(e)},state:o,steps:s}}const{schedule:ma,cancel:fa,state:ga,steps:xa}=ha("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:la,!0),va=l({strict:!1}),ya={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ba={};for(const e in ya)ba[e]={isEnabled:t=>ya[e].some((e=>!!t[e]))};const wa=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ja(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||wa.has(e)}let Ca=e=>!ja(e);try{(ka=require("@emotion/is-prop-valid").default)&&(Ca=e=>e.startsWith("on")?!ja(e):ka(e))}catch(e){}var ka;const Sa=new Set;function Ma(e,t,n){e||Sa.has(t)||(console.warn(t),Sa.add(t))}function Pa(e){if("undefined"==typeof Proxy)return e;const t=new Map;return new Proxy(((...t)=>("production"!==process.env.NODE_ENV&&Ma(!1,"motion() is deprecated. Use motion.create() instead."),e(...t))),{get:(n,i)=>"create"===i?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}const Ta=l({});function Aa(e){return"string"==typeof e||Array.isArray(e)}function za(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}const Ra=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ea=["initial",...Ra];function Va(e){return za(e.animate)||Ea.some((t=>Aa(e[t])))}function La(e){return Boolean(Va(e)||e.variants)}function Fa(e){const{initial:t,animate:n}=function(e,t){if(Va(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Aa(t)?t:void 0,animate:Aa(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,c(Ta));return a((()=>({initial:t,animate:n})),[Ba(t),Ba(n)])}function Ba(e){return Array.isArray(e)?e.join(" "):e}const Da=Symbol.for("motionComponentSymbol");function Oa(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Ia(e,t,n){return s((i=>{i&&e.onMount&&e.onMount(i),t&&(i?t.mount(i):t.unmount()),n&&("function"==typeof n?n(i):Oa(n)&&(n.current=i))}),[t])}const $a=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Ha="data-"+$a("framerAppearId"),{schedule:Na,cancel:Wa}=ha(queueMicrotask,!1),_a=l({});function Ua(e,t,n,r,s){var a,l;const{visualElement:u}=c(Ta),d=c(va),h=c(oa),m=c(ra).reducedMotion,f=i(null);r=r||d.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:u,props:n,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:m}));const g=f.current,x=c(_a);!g||g.projection||!s||"html"!==g.type&&"svg"!==g.type||function(e,t,n,i){const{layoutId:o,layout:r,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Za(e.parent)),e.projection.setOptions({layoutId:o,layout:r,alwaysMeasureLayout:Boolean(s)||a&&Oa(a),visualElement:e,animationType:"string"==typeof r?r:"both",initialPromotionConfig:i,layoutScroll:l,layoutRoot:c})}(f.current,n,s,x);const v=i(!1);p((()=>{g&&v.current&&g.update(n,h)}));const y=n[Ha],b=i(Boolean(y)&&!(null===(a=window.MotionHandoffIsComplete)||void 0===a?void 0:a.call(window,y))&&(null===(l=window.MotionHasOptimisedAnimation)||void 0===l?void 0:l.call(window,y)));return aa((()=>{g&&(v.current=!0,window.MotionIsMounted=!0,g.updateFeatures(),Na.render(g.render),b.current&&g.animationState&&g.animationState.animateChanges())})),o((()=>{g&&(!b.current&&g.animationState&&g.animationState.animateChanges(),b.current&&(queueMicrotask((()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,y)})),b.current=!1))})),g}function Za(e){if(e)return!1!==e.options.allowProjection?e.projection:Za(e.parent)}function Ga({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:o}){var r,s;function a(r,s){let a;const l={...c(ra),...r,layoutId:Ya(r)},{isStatic:u}=l,d=Fa(r),p=i(r,u);if(!u&&sa){!function(e,t){const n=c(va).strict;if("production"!==process.env.NODE_ENV&&t&&n){const t="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?ca(!1,t):ua(!1,t)}}(l,e);const n=function(e){const{drag:t,layout:n}=ba;if(!t&&!n)return{};const i={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(l);a=n.MeasureLayout,d.visualElement=Ua(o,p,l,t,n.ProjectionNode)}return On.jsxs(Ta.Provider,{value:d,children:[a&&d.visualElement?On.jsx(a,{visualElement:d.visualElement,...l}):null,n(o,r,Ia(p,d.visualElement,s),p,u,d.visualElement)]})}e&&function(e){for(const t in e)ba[t]={...ba[t],...e[t]}}(e),a.displayName=`motion.${"string"==typeof o?o:`create(${null!==(s=null!==(r=o.displayName)&&void 0!==r?r:o.name)&&void 0!==s?s:""})`}`;const l=h(a);return l[Da]=o,l}function Ya({layoutId:e}){const t=c(ia).id;return t&&void 0!==e?t+"-"+e:e}const qa=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Ka(e){return"string"==typeof e&&!e.includes("-")&&!!(qa.indexOf(e)>-1||/[A-Z]/u.test(e))}function Xa(e){const t=[{},{}];return null==e||e.values.forEach(((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()})),t}function Ja(e,t,n,i){if("function"==typeof t){const[o,r]=Xa(i);t=t(void 0!==n?n:e.custom,o,r)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[o,r]=Xa(i);t=t(void 0!==n?n:e.custom,o,r)}return t}const Qa=e=>Array.isArray(e),el=e=>Boolean(e&&e.getVelocity);function tl(e){const t=el(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const nl=e=>(t,n)=>{const o=c(Ta),r=c(oa),s=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},i,o,r){const s={latestValues:il(i,o,r,e),renderState:t()};return n&&(s.onMount=e=>n({props:i,current:e,...s}),s.onUpdate=e=>n(e)),s}(e,t,o,r);return n?s():function(e){const t=i(null);return null===t.current&&(t.current=e()),t.current}(s)};function il(e,t,n,i){const o={},r=i(e,{});for(const e in r)o[e]=tl(r[e]);let{initial:s,animate:a}=e;const l=Va(e),c=La(e);t&&c&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let u=!!n&&!1===n.initial;u=u||!1===s;const d=u?a:s;if(d&&"boolean"!=typeof d&&!za(d)){const t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){const i=Ja(e,t[n]);if(i){const{transitionEnd:e,transition:t,...n}=i;for(const e in n){let t=n[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(o[e]=t)}for(const t in e)o[t]=e[t]}}}return o}const ol=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],rl=new Set(ol),sl=e=>t=>"string"==typeof t&&t.startsWith(e),al=sl("--"),ll=sl("var(--"),cl=e=>!!ll(e)&&ul.test(e.split("/*")[0].trim()),ul=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,dl=(e,t)=>t&&"number"==typeof e?t.transform(e):e,pl=(e,t,n)=>n>t?t:n<e?e:n,hl={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},ml={...hl,transform:e=>pl(0,1,e)},fl={...hl,default:1},gl=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),xl=gl("deg"),vl=gl("%"),yl=gl("px"),bl=gl("vh"),wl=gl("vw"),jl={...vl,parse:e=>vl.parse(e)/100,transform:e=>vl.transform(100*e)},Cl={borderWidth:yl,borderTopWidth:yl,borderRightWidth:yl,borderBottomWidth:yl,borderLeftWidth:yl,borderRadius:yl,radius:yl,borderTopLeftRadius:yl,borderTopRightRadius:yl,borderBottomRightRadius:yl,borderBottomLeftRadius:yl,width:yl,maxWidth:yl,height:yl,maxHeight:yl,top:yl,right:yl,bottom:yl,left:yl,padding:yl,paddingTop:yl,paddingRight:yl,paddingBottom:yl,paddingLeft:yl,margin:yl,marginTop:yl,marginRight:yl,marginBottom:yl,marginLeft:yl,backgroundPositionX:yl,backgroundPositionY:yl},kl={rotate:xl,rotateX:xl,rotateY:xl,rotateZ:xl,scale:fl,scaleX:fl,scaleY:fl,scaleZ:fl,skew:xl,skewX:xl,skewY:xl,distance:yl,translateX:yl,translateY:yl,translateZ:yl,x:yl,y:yl,z:yl,perspective:yl,transformPerspective:yl,opacity:ml,originX:jl,originY:jl,originZ:yl},Sl={...hl,transform:Math.round},Ml={...Cl,...kl,zIndex:Sl,size:yl,fillOpacity:ml,strokeOpacity:ml,numOctaves:Sl},Pl={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Tl=ol.length;function Al(e,t,n){const{style:i,vars:o,transformOrigin:r}=e;let s=!1,a=!1;for(const e in t){const n=t[e];if(rl.has(e))s=!0;else if(al(e))o[e]=n;else{const t=dl(n,Ml[e]);e.startsWith("origin")?(a=!0,r[e]=t):i[e]=t}}if(t.transform||(s||n?i.transform=function(e,t,n){let i="",o=!0;for(let r=0;r<Tl;r++){const s=ol[r],a=e[s];if(void 0===a)continue;let l=!0;if(l="number"==typeof a?a===(s.startsWith("scale")?1:0):0===parseFloat(a),!l||n){const e=dl(a,Ml[s]);l||(o=!1,i+=`${Pl[s]||s}(${e}) `),n&&(t[s]=e)}}return i=i.trim(),n?i=n(t,o?"":i):o&&(i="none"),i}(t,e.transform,n):i.transform&&(i.transform="none")),a){const{originX:e="50%",originY:t="50%",originZ:n=0}=r;i.transformOrigin=`${e} ${t} ${n}`}}const zl={offset:"stroke-dashoffset",array:"stroke-dasharray"},Rl={offset:"strokeDashoffset",array:"strokeDasharray"};function El(e,t,n){return"string"==typeof e?e:yl.transform(t+n*e)}function Vl(e,{attrX:t,attrY:n,attrScale:i,originX:o,originY:r,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d){if(Al(e,c,d),u)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:p,style:h,dimensions:m}=e;p.transform&&(m&&(h.transform=p.transform),delete p.transform),m&&(void 0!==o||void 0!==r||h.transform)&&(h.transformOrigin=function(e,t,n){return`${El(t,e.x,e.width)} ${El(n,e.y,e.height)}`}(m,void 0!==o?o:.5,void 0!==r?r:.5)),void 0!==t&&(p.x=t),void 0!==n&&(p.y=n),void 0!==i&&(p.scale=i),void 0!==s&&function(e,t,n=1,i=0,o=!0){e.pathLength=1;const r=o?zl:Rl;e[r.offset]=yl.transform(-i);const s=yl.transform(t),a=yl.transform(n);e[r.array]=`${s} ${a}`}(p,s,a,l,!1)}const Ll=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),Fl=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Bl=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Dl(e,{style:t,vars:n},i,o){Object.assign(e.style,t,o&&o.getProjectionStyles(i));for(const t in n)e.style.setProperty(t,n[t])}const Ol=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Il(e,t,n,i){Dl(e,t,void 0,i);for(const n in t.attrs)e.setAttribute(Ol.has(n)?n:$a(n),t.attrs[n])}const $l={};function Hl(e,{layout:t,layoutId:n}){return rl.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!$l[e]||"opacity"===e)}function Nl(e,t,n){var i;const{style:o}=e,r={};for(const s in o)(el(o[s])||t.style&&el(t.style[s])||Hl(s,e)||void 0!==(null===(i=null==n?void 0:n.getValue(s))||void 0===i?void 0:i.liveStyle))&&(r[s]=o[s]);return r}function Wl(e,t,n){const i=Nl(e,t,n);for(const n in e)if(el(e[n])||el(t[n])){i[-1!==ol.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]}return i}const _l=["x","y","width","height","cx","cy","r"],Ul={useVisualState:nl({scrapeMotionValuesFromProps:Wl,createRenderState:Fl,onUpdate:({props:e,prevProps:t,current:n,renderState:i,latestValues:o})=>{if(!n)return;let r=!!e.drag;if(!r)for(const e in o)if(rl.has(e)){r=!0;break}if(!r)return;let s=!t;if(t)for(let n=0;n<_l.length;n++){const i=_l[n];e[i]!==t[i]&&(s=!0)}s&&ma.read((()=>{!function(e,t){try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(e){t.dimensions={x:0,y:0,width:0,height:0}}}(n,i),ma.render((()=>{Vl(i,o,Bl(n.tagName),e.transformTemplate),Il(n,i)}))}))}})},Zl={useVisualState:nl({scrapeMotionValuesFromProps:Nl,createRenderState:Ll})};function Gl(e,t,n){for(const i in t)el(t[i])||Hl(i,n)||(e[i]=t[i])}function Yl(e,t){const n={};return Gl(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return a((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return Al(n,t,e),Object.assign({},n.vars,n.style)}),[t])}(e,t)),n}function ql(e,t){const n={},i=Yl(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}function Kl(e,t,n,i){const o=a((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Vl(n,t,Bl(i),e.transformTemplate),{...n.attrs,style:{...n.style}}}),[t]);if(e.style){const t={};Gl(t,e.style,e),o.style={...t,...o.style}}return o}function Xl(e=!1){return(t,i,o,{latestValues:r},s)=>{const l=(Ka(t)?Kl:ql)(i,r,s,t),c=function(e,t,n){const i={};for(const o in e)"values"===o&&"object"==typeof e.values||(Ca(o)||!0===n&&ja(o)||!t&&!ja(o)||e.draggable&&o.startsWith("onDrag"))&&(i[o]=e[o]);return i}(i,"string"==typeof t,e),u=t!==n?{...c,...l,ref:o}:{},{children:d}=i,p=a((()=>el(d)?d.get():d),[d]);return m(t,{...u,children:p})}}function Jl(e,t){return function(n,{forwardMotionProps:i}={forwardMotionProps:!1}){return Ga({...Ka(n)?Ul:Zl,preloadedFeatures:e,useRender:Xl(i),createVisualElement:t,Component:n})}}function Ql(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function ec(e,t,n){const i=e.getProps();return Ja(i,t,void 0!==n?n:i.custom,e)}function tc(e,t){return e?e[t]||e.default||e:void 0}const nc=new Set(["width","height","top","left","right","bottom",...ol]);let ic;function oc(){ic=void 0}const rc={now:()=>(void 0===ic&&rc.set(ga.isProcessing||da?ga.timestamp:performance.now()),ic),set:e=>{ic=e,queueMicrotask(oc)}};function sc(e,t){-1===e.indexOf(t)&&e.push(t)}function ac(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class lc{constructor(){this.subscriptions=[]}add(e){return sc(this.subscriptions,e),()=>ac(this.subscriptions,e)}notify(e,t,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](e,t,n);else for(let o=0;o<i;o++){const i=this.subscriptions[o];i&&i(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function cc(e,t){return t?e*(1e3/t):0}class uc{constructor(e,t={}){this.version="12.0.6",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{const n=rc.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=rc.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return"production"!==process.env.NODE_ENV&&Ma(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new lc);const n=this.events[e].add(t);return"change"===e?()=>{n(),ma.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=rc.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return cc(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function dc(e,t){return new uc(e,t)}function pc(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,dc(n))}function hc(e,t){const n=e.getValue("willChange");if(i=n,Boolean(el(i)&&i.add))return n.add(t);var i}function mc(e){return e.props[Ha]}function fc(e){let t;return()=>(void 0===t&&(t=e()),t)}const gc=fc((()=>void 0!==window.ScrollTimeline));class xc{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map((e=>"finished"in e?e.finished:e)))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){const n=this.animations.map((n=>gc()&&n.attachTimeline?n.attachTimeline(e):"function"==typeof t?t(n):void 0));return()=>{n.forEach(((e,t)=>{e&&e(),this.animations[t].stop()}))}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach((t=>t[e]()))}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class vc extends xc{then(e,t){return Promise.all(this.animations).then(e).catch(t)}}const yc=e=>1e3*e,bc=e=>e/1e3;function wc(e){return"function"==typeof e}function jc(e,t){e.timeline=t,e.onfinish=null}const Cc=e=>Array.isArray(e)&&"number"==typeof e[0],kc={linearEasing:void 0};function Sc(e,t){const n=fc(e);return()=>{var e;return null!==(e=kc[t])&&void 0!==e?e:n()}}const Mc=Sc((()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0}),"linearEasing"),Pc=(e,t,n)=>{const i=t-e;return 0===i?1:(n-e)/i},Tc=(e,t,n=10)=>{let i="";const o=Math.max(Math.round(t/n),2);for(let t=0;t<o;t++)i+=e(Pc(0,o-1,t))+", ";return`linear(${i.substring(0,i.length-2)})`};function Ac(e){return Boolean("function"==typeof e&&Mc()||!e||"string"==typeof e&&(e in Rc||Mc())||Cc(e)||Array.isArray(e)&&e.every(Ac))}const zc=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,Rc={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:zc([0,.65,.55,1]),circOut:zc([.55,0,1,.45]),backIn:zc([.31,.01,.66,-.59]),backOut:zc([.33,1.53,.69,.99])};function Ec(e,t){return e?"function"==typeof e&&Mc()?Tc(e,t):Cc(e)?zc(e):Array.isArray(e)?e.map((e=>Ec(e,t)||Rc.easeOut)):Rc[e]:void 0}const Vc=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Lc(e,t,n,i){if(e===t&&n===i)return la;const o=t=>function(e,t,n,i,o){let r,s,a=0;do{s=t+(n-t)/2,r=Vc(s,i,o)-e,r>0?n=s:t=s}while(Math.abs(r)>1e-7&&++a<12);return s}(t,0,1,e,n);return e=>0===e||1===e?e:Vc(o(e),t,i)}const Fc=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Bc=e=>t=>1-e(1-t),Dc=Lc(.33,1.53,.69,.99),Oc=Bc(Dc),Ic=Fc(Oc),$c=e=>(e*=2)<1?.5*Oc(e):.5*(2-Math.pow(2,-10*(e-1))),Hc=e=>1-Math.sin(Math.acos(e)),Nc=Bc(Hc),Wc=Fc(Hc),_c=e=>/^0[^.\s]+$/u.test(e);const Uc=e=>Math.round(1e5*e)/1e5,Zc=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;const Gc=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Yc=(e,t)=>n=>Boolean("string"==typeof n&&Gc.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),qc=(e,t,n)=>i=>{if("string"!=typeof i)return i;const[o,r,s,a]=i.match(Zc);return{[e]:parseFloat(o),[t]:parseFloat(r),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},Kc={...hl,transform:e=>Math.round((e=>pl(0,255,e))(e))},Xc={test:Yc("rgb","red"),parse:qc("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+Kc.transform(e)+", "+Kc.transform(t)+", "+Kc.transform(n)+", "+Uc(ml.transform(i))+")"};const Jc={test:Yc("#"),parse:function(e){let t="",n="",i="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,i+=i,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:o?parseInt(o,16)/255:1}},transform:Xc.transform},Qc={test:Yc("hsl","hue"),parse:qc("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+vl.transform(Uc(t))+", "+vl.transform(Uc(n))+", "+Uc(ml.transform(i))+")"},eu={test:e=>Xc.test(e)||Jc.test(e)||Qc.test(e),parse:e=>Xc.test(e)?Xc.parse(e):Qc.test(e)?Qc.parse(e):Jc.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?Xc.transform(e):Qc.transform(e)},tu=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;const nu="number",iu="color",ou=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ru(e){const t=e.toString(),n=[],i={color:[],number:[],var:[]},o=[];let r=0;const s=t.replace(ou,(e=>(eu.test(e)?(i.color.push(r),o.push(iu),n.push(eu.parse(e))):e.startsWith("var(")?(i.var.push(r),o.push("var"),n.push(e)):(i.number.push(r),o.push(nu),n.push(parseFloat(e))),++r,"${}"))).split("${}");return{values:n,split:s,indexes:i,types:o}}function su(e){return ru(e).values}function au(e){const{split:t,types:n}=ru(e),i=t.length;return e=>{let o="";for(let r=0;r<i;r++)if(o+=t[r],void 0!==e[r]){const t=n[r];o+=t===nu?Uc(e[r]):t===iu?eu.transform(e[r]):e[r]}return o}}const lu=e=>"number"==typeof e?0:e;const cu={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(Zc))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(tu))||void 0===n?void 0:n.length)||0)>0},parse:su,createTransformer:au,getAnimatableNone:function(e){const t=su(e);return au(e)(t.map(lu))}},uu=new Set(["brightness","contrast","saturate","opacity"]);function du(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[i]=n.match(Zc)||[];if(!i)return e;const o=n.replace(i,"");let r=uu.has(t)?1:0;return i!==n&&(r*=100),t+"("+r+o+")"}const pu=/\b([a-z-]*)\(.*?\)/gu,hu={...cu,getAnimatableNone:e=>{const t=e.match(pu);return t?t.map(du).join(" "):e}},mu={...Ml,color:eu,backgroundColor:eu,outlineColor:eu,fill:eu,stroke:eu,borderColor:eu,borderTopColor:eu,borderRightColor:eu,borderBottomColor:eu,borderLeftColor:eu,filter:hu,WebkitFilter:hu},fu=e=>mu[e];function gu(e,t){let n=fu(e);return n!==hu&&(n=cu),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const xu=new Set(["auto","none","0"]);const vu=e=>e===hl||e===yl,yu=(e,t)=>parseFloat(e.split(", ")[t]),bu=(e,t)=>(n,{transform:i})=>{if("none"===i||!i)return 0;const o=i.match(/^matrix3d\((.+)\)$/u);if(o)return yu(o[1],t);{const t=i.match(/^matrix\((.+)\)$/u);return t?yu(t[1],e):0}},wu=new Set(["x","y","z"]),ju=ol.filter((e=>!wu.has(e)));const Cu={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:bu(4,13),y:bu(5,14)};Cu.translateX=Cu.x,Cu.translateY=Cu.y;const ku=new Set;let Su=!1,Mu=!1;function Pu(){if(Mu){const e=Array.from(ku).filter((e=>e.needsMeasurement)),t=new Set(e.map((e=>e.element))),n=new Map;t.forEach((e=>{const t=function(e){const t=[];return ju.forEach((n=>{const i=e.getValue(n);void 0!==i&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))})),t}(e);t.length&&(n.set(e,t),e.render())})),e.forEach((e=>e.measureInitialState())),t.forEach((e=>{e.render();const t=n.get(e);t&&t.forEach((([t,n])=>{var i;null===(i=e.getValue(t))||void 0===i||i.set(n)}))})),e.forEach((e=>e.measureEndState())),e.forEach((e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)}))}Mu=!1,Su=!1,ku.forEach((e=>e.complete())),ku.clear()}function Tu(){ku.forEach((e=>{e.readKeyframes(),e.needsMeasurement&&(Mu=!0)}))}class Au{constructor(e,t,n,i,o,r=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=i,this.element=o,this.isAsync=r}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ku.add(this),Su||(Su=!0,ma.read(Tu),ma.resolveKeyframes(Pu))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:i}=this;for(let o=0;o<e.length;o++)if(null===e[o])if(0===o){const o=null==i?void 0:i.get(),r=e[e.length-1];if(void 0!==o)e[0]=o;else if(n&&t){const i=n.readValue(t,r);null!=i&&(e[0]=i)}void 0===e[0]&&(e[0]=r),i&&void 0===o&&i.set(e[0])}else e[o]=e[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ku.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ku.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const zu=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Ru=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Eu(e,t,n=1){ua(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[i,o]=function(e){const t=Ru.exec(e);if(!t)return[,];const[,n,i,o]=t;return[`--${null!=n?n:i}`,o]}(e);if(!i)return;const r=window.getComputedStyle(t).getPropertyValue(i);if(r){const e=r.trim();return zu(e)?parseFloat(e):e}return cl(o)?Eu(o,t,n+1):o}const Vu=e=>t=>t.test(e),Lu=[hl,yl,vl,xl,wl,bl,{test:e=>"auto"===e,parse:e=>e}],Fu=e=>Lu.find(Vu(e));class Bu extends Au{constructor(e,t,n,i,o){super(e,t,n,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let i=e[n];if("string"==typeof i&&(i=i.trim(),cl(i))){const o=Eu(i,t.current);void 0!==o&&(e[n]=o),n===e.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!nc.has(n)||2!==e.length)return;const[i,o]=e,r=Fu(i),s=Fu(o);if(r!==s)if(vu(r)&&vu(s))for(let t=0;t<e.length;t++){const n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)("number"==typeof(i=e[t])?0===i:null===i||"none"===i||"0"===i||_c(i))&&n.push(t);var i;n.length&&function(e,t,n){let i,o=0;for(;o<e.length&&!i;){const t=e[o];"string"==typeof t&&!xu.has(t)&&ru(t).values.length&&(i=e[o]),o++}if(i&&n)for(const o of t)e[o]=gu(n,i)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Cu[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const i=t[t.length-1];void 0!==i&&e.getValue(n,i).jump(i,!1)}measureEndState(){var e;const{element:t,name:n,unresolvedKeyframes:i}=this;if(!t||!t.current)return;const o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);const r=i.length-1,s=i[r];i[r]=Cu[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEach((([e,n])=>{t.getValue(e).set(n)})),this.resolveNoneKeyframes()}}const Du=(e,t)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!cu.test(e)&&"0"!==e||e.startsWith("url(")));function Ou(e,t,n,i){const o=e[0];if(null===o)return!1;if("display"===t||"visibility"===t)return!0;const r=e[e.length-1],s=Du(o,t),a=Du(r,t);return ca(s===a,`You are trying to animate ${t} from "${o}" to "${r}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${r} via the \`style\` property.`),!(!s||!a)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||wc(n))&&i)}const Iu=e=>null!==e;function $u(e,{repeat:t,repeatType:n="loop"},i){const o=e.filter(Iu),r=t&&"loop"!==n&&t%2==1?0:o.length-1;return r&&void 0!==i?i:o[r]}class Hu{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:r="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=rc.now(),this.options={autoplay:e,delay:t,type:n,repeat:i,repeatDelay:o,repeatType:r,...s},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(Tu(),Pu()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=rc.now(),this.hasAttemptedResolve=!0;const{name:n,type:i,velocity:o,delay:r,onComplete:s,onUpdate:a,isGenerator:l}=this.options;if(!l&&!Ou(e,n,i,o)){if(!r)return a&&a($u(e,this.options,t)),s&&s(),void this.resolveFinishedPromise();this.options.duration=0}const c=this.initPlayback(e,t);!1!==c&&(this._resolved={keyframes:e,finalKeyframe:t,...c},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise((e=>{this.resolveFinishedPromise=e}))}}const Nu=2e4;function Wu(e){let t=0;let n=e.next(t);for(;!n.done&&t<Nu;)t+=50,n=e.next(t);return t>=Nu?1/0:t}const _u=(e,t,n)=>e+(t-e)*n;function Uu(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Zu(e,t){return n=>n>0?t:e}const Gu=(e,t,n)=>{const i=e*e,o=n*(t*t-i)+i;return o<0?0:Math.sqrt(o)},Yu=[Jc,Xc,Qc];function qu(e){const t=(n=e,Yu.find((e=>e.test(n))));var n;if(ca(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(t))return!1;let i=t.parse(e);return t===Qc&&(i=function({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,n/=100;let o=0,r=0,s=0;if(t/=100){const i=n<.5?n*(1+t):n+t-n*t,a=2*n-i;o=Uu(a,i,e+1/3),r=Uu(a,i,e),s=Uu(a,i,e-1/3)}else o=r=s=n;return{red:Math.round(255*o),green:Math.round(255*r),blue:Math.round(255*s),alpha:i}}(i)),i}const Ku=(e,t)=>{const n=qu(e),i=qu(t);if(!n||!i)return Zu(e,t);const o={...n};return e=>(o.red=Gu(n.red,i.red,e),o.green=Gu(n.green,i.green,e),o.blue=Gu(n.blue,i.blue,e),o.alpha=_u(n.alpha,i.alpha,e),Xc.transform(o))},Xu=(e,t)=>n=>t(e(n)),Ju=(...e)=>e.reduce(Xu),Qu=new Set(["none","hidden"]);function ed(e,t){return n=>_u(e,t,n)}function td(e){return"number"==typeof e?ed:"string"==typeof e?cl(e)?Zu:eu.test(e)?Ku:od:Array.isArray(e)?nd:"object"==typeof e?eu.test(e)?Ku:id:Zu}function nd(e,t){const n=[...e],i=n.length,o=e.map(((e,n)=>td(e)(e,t[n])));return e=>{for(let t=0;t<i;t++)n[t]=o[t](e);return n}}function id(e,t){const n={...e,...t},i={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(i[o]=td(e[o])(e[o],t[o]));return e=>{for(const t in i)n[t]=i[t](e);return n}}const od=(e,t)=>{const n=cu.createTransformer(t),i=ru(e),o=ru(t);return i.indexes.var.length===o.indexes.var.length&&i.indexes.color.length===o.indexes.color.length&&i.indexes.number.length>=o.indexes.number.length?Qu.has(e)&&!o.values.length||Qu.has(t)&&!i.values.length?function(e,t){return Qu.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):Ju(nd(function(e,t){var n;const i=[],o={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){const s=t.types[r],a=e.indexes[s][o[s]],l=null!==(n=e.values[a])&&void 0!==n?n:0;i[r]=l,o[s]++}return i}(i,o),o.values),n):(ca(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Zu(e,t))};function rd(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return _u(e,t,n);return td(e)(e,t)}function sd(e,t,n){const i=Math.max(t-5,0);return cc(n-e(i),t-i)}const ad=100,ld=10,cd=1,ud=0,dd=800,pd=.3,hd=.3,md={granular:.01,default:2},fd={granular:.005,default:.5},gd=.01,xd=10,vd=.05,yd=1;function bd({duration:e=dd,bounce:t=pd,velocity:n=ud,mass:i=cd}){let o,r;ca(e<=yc(xd),"Spring duration must be 10 seconds or less");let s=1-t;s=pl(vd,yd,s),e=pl(gd,xd,bc(e)),s<1?(o=t=>{const i=t*s,o=i*e;return.001-(i-n)/jd(t,s)*Math.exp(-o)},r=t=>{const i=t*s*e,r=i*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-i),c=jd(Math.pow(t,2),s);return(.001-o(t)>0?-1:1)*((r-a)*l)/c}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,r=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let i=n;for(let n=1;n<wd;n++)i-=e(i)/t(i);return i}(o,r,5/e);if(e=yc(e),isNaN(a))return{stiffness:ad,damping:ld,duration:e};{const t=Math.pow(a,2)*i;return{stiffness:t,damping:2*s*Math.sqrt(i*t),duration:e}}}const wd=12;function jd(e,t){return e*Math.sqrt(1-t*t)}const Cd=["duration","bounce"],kd=["stiffness","damping","mass"];function Sd(e,t){return t.some((t=>void 0!==e[t]))}function Md(e=hd,t=pd){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:i,restDelta:o}=n;const r=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:r},{stiffness:l,damping:c,mass:u,duration:d,velocity:p,isResolvedFromDuration:h}=function(e){let t={velocity:ud,stiffness:ad,damping:ld,mass:cd,isResolvedFromDuration:!1,...e};if(!Sd(e,kd)&&Sd(e,Cd))if(e.visualDuration){const n=e.visualDuration,i=2*Math.PI/(1.2*n),o=i*i,r=2*pl(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:cd,stiffness:o,damping:r}}else{const n=bd(e);t={...t,...n,mass:cd},t.isResolvedFromDuration=!0}return t}({...n,velocity:-bc(n.velocity||0)}),m=p||0,f=c/(2*Math.sqrt(l*u)),g=s-r,x=bc(Math.sqrt(l/u)),v=Math.abs(g)<5;let y;if(i||(i=v?md.granular:md.default),o||(o=v?fd.granular:fd.default),f<1){const e=jd(x,f);y=t=>{const n=Math.exp(-f*x*t);return s-n*((m+f*x*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}}else if(1===f)y=e=>s-Math.exp(-x*e)*(g+(m+x*g)*e);else{const e=x*Math.sqrt(f*f-1);y=t=>{const n=Math.exp(-f*x*t),i=Math.min(e*t,300);return s-n*((m+f*x*g)*Math.sinh(i)+e*g*Math.cosh(i))/e}}const b={calculatedDuration:h&&d||null,next:e=>{const t=y(e);if(h)a.done=e>=d;else{let n=0;f<1&&(n=0===e?yc(m):sd(y,e,t));const r=Math.abs(n)<=i,l=Math.abs(s-t)<=o;a.done=r&&l}return a.value=a.done?s:t,a},toString:()=>{const e=Math.min(Wu(b),Nu),t=Tc((t=>b.next(e*t).value),e,30);return e+"ms "+t}};return b}function Pd({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:o=10,bounceStiffness:r=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},h=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let m=n*t;const f=d+m,g=void 0===s?f:s(f);g!==f&&(m=g-d);const x=e=>-m*Math.exp(-e/i),v=e=>g+x(e),y=e=>{const t=x(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let b,w;const j=e=>{var t;(t=p.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(b=e,w=Md({keyframes:[p.value,h(p.value)],velocity:sd(v,e,p.value),damping:o,stiffness:r,restDelta:c,restSpeed:u}))};return j(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==b||(t=!0,y(e),j(e)),void 0!==b&&e>=b?w.next(e-b):(!t&&y(e),p)}}}const Td=Lc(.42,0,1,1),Ad=Lc(0,0,.58,1),zd=Lc(.42,0,.58,1),Rd={linear:la,easeIn:Td,easeInOut:zd,easeOut:Ad,circIn:Hc,circInOut:Wc,circOut:Nc,backIn:Oc,backInOut:Ic,backOut:Dc,anticipate:$c},Ed=e=>{if(Cc(e)){ua(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,i,o]=e;return Lc(t,n,i,o)}return"string"==typeof e?(ua(void 0!==Rd[e],`Invalid easing type '${e}'`),Rd[e]):e};function Vd(e,t,{clamp:n=!0,ease:i,mixer:o}={}){const r=e.length;if(ua(r===t.length,"Both input and output ranges must be the same length"),1===r)return()=>t[0];if(2===r&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=function(e,t,n){const i=[],o=n||rd,r=e.length-1;for(let n=0;n<r;n++){let r=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||la:t;r=Ju(e,r)}i.push(r)}return i}(t,i,o),l=a.length,c=n=>{if(s&&n<e[0])return t[0];let i=0;if(l>1)for(;i<e.length-2&&!(n<e[i+1]);i++);const o=Pc(e[i],e[i+1],n);return a[i](o)};return n?t=>c(pl(e[0],e[r-1],t)):c}function Ld(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const o=Pc(0,t,i);e.push(_u(n,1,o))}}(t,e.length-1),t}function Fd(e,t){return e.map((()=>t||zd)).splice(0,e.length-1)}function Bd({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(i)?i.map(Ed):Ed(i),r={done:!1,value:t[0]},s=function(e,t){return e.map((e=>e*t))}(n&&n.length===t.length?n:Ld(t),e),a=Vd(s,t,{ease:Array.isArray(o)?o:Fd(t,o)});return{calculatedDuration:e,next:t=>(r.value=a(t),r.done=t>=e,r)}}const Dd=e=>{const t=({timestamp:t})=>e(t);return{start:()=>ma.update(t,!0),stop:()=>fa(t),now:()=>ga.isProcessing?ga.timestamp:rc.now()}},Od={decay:Pd,inertia:Pd,tween:Bd,keyframes:Bd,spring:Md},Id=e=>e/100;class $d extends Hu{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:e}=this.options;e&&e()};const{name:t,motionValue:n,element:i,keyframes:o}=this.options,r=(null==i?void 0:i.KeyframeResolver)||Au;this.resolver=new r(o,((e,t)=>this.onKeyframesResolved(e,t)),t,n,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:t="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=this.options,s=wc(t)?t:Od[t]||Bd;let a,l;s!==Bd&&"number"!=typeof e[0]&&("production"!==process.env.NODE_ENV&&ua(2===e.length,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`),a=Ju(Id,rd(e[0],e[1])),e=[0,100]);const c=s({...this.options,keyframes:e});"mirror"===o&&(l=s({...this.options,keyframes:[...e].reverse(),velocity:-r})),null===c.calculatedDuration&&(c.calculatedDuration=Wu(c));const{calculatedDuration:u}=c,d=u+i;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:u,resolvedDuration:d,totalDuration:d*(n+1)-i}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){const{resolved:n}=this;if(!n){const{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}const{finalKeyframe:i,generator:o,mirroredGenerator:r,mapPercentToKeyframes:s,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:u}=n;if(null===this.startTime)return o.next(0);const{delay:d,repeat:p,repeatType:h,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const g=this.currentTime-d*(this.speed>=0?1:-1),x=this.speed>=0?g<0:g>c;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=c);let v=this.currentTime,y=o;if(p){const e=Math.min(this.currentTime,c)/u;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,p+1);Boolean(t%2)&&("reverse"===h?(n=1-n,m&&(n-=m/u)):"mirror"===h&&(y=r)),v=pl(0,1,n)*u}const b=x?{done:!1,value:a[0]}:y.next(v);s&&(b.value=s(b.value));let{done:w}=b;x||null===l||(w=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const j=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return j&&void 0!==i&&(b.value=$u(a,this.options,i)),f&&f(b.value),j&&this.finish(),b}get duration(){const{resolved:e}=this;return e?bc(e.calculatedDuration):0}get time(){return bc(this.currentTime)}set time(e){e=yc(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=bc(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=Dd,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e((e=>this.tick(e)))),t&&t();const i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=i):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;this._resolved?(this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const Hd=new Set(["opacity","clipPath","filter","transform"]);function Nd(e,t,n,{delay:i=0,duration:o=300,repeat:r=0,repeatType:s="loop",ease:a="easeInOut",times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Ec(a,o);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:i,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:r+1,direction:"reverse"===s?"alternate":"normal"})}const Wd=fc((()=>Object.hasOwnProperty.call(Element.prototype,"animate")));const _d={anticipate:$c,backInOut:Ic,circInOut:Wc};class Ud extends Hu{constructor(e){super(e);const{name:t,motionValue:n,element:i,keyframes:o}=this.options;this.resolver=new Bu(o,((e,t)=>this.onKeyframesResolved(e,t)),t,n,i),this.resolver.scheduleResolve()}initPlayback(e,t){let{duration:n=300,times:i,ease:o,type:r,motionValue:s,name:a,startTime:l}=this.options;if(!s.owner||!s.owner.current)return!1;if("string"==typeof o&&Mc()&&o in _d&&(o=_d[o]),function(e){return wc(e.type)||"spring"===e.type||!Ac(e.ease)}(this.options)){const{onComplete:t,onUpdate:s,motionValue:a,element:l,...c}=this.options,u=function(e,t){const n=new $d({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:e[0]};const o=[];let r=0;for(;!i.done&&r<2e4;)i=n.sample(r),o.push(i.value),r+=10;return{times:void 0,keyframes:o,duration:r-10,ease:"linear"}}(e,c);1===(e=u.keyframes).length&&(e[1]=e[0]),n=u.duration,i=u.times,o=u.ease,r="keyframes"}const c=Nd(s.owner.current,a,e,{...this.options,duration:n,times:i,ease:o});return c.startTime=null!=l?l:this.calcStartTime(),this.pendingTimeline?(jc(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:n}=this.options;s.set($u(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:n,times:i,type:r,ease:o,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:t}=e;return bc(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return bc(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.currentTime=yc(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:t}=e;return t.playbackRate}set speed(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:t}=e;return t.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){const{resolved:t}=this;if(!t)return la;const{animation:n}=t;jc(n,e)}else this.pendingTimeline=e;return la}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:t,keyframes:n,duration:i,type:o,ease:r,times:s}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){const{motionValue:e,onUpdate:t,onComplete:a,element:l,...c}=this.options,u=new $d({...c,keyframes:n,duration:i,type:o,ease:r,times:s,isGenerator:!0}),d=yc(this.time);e.setWithVelocity(u.sample(d-10).value,u.sample(d).value,10)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:t,name:n,repeatDelay:i,repeatType:o,damping:r,type:s}=e;if(!(t&&t.owner&&t.owner.current instanceof HTMLElement))return!1;const{onUpdate:a,transformTemplate:l}=t.owner.getProps();return Wd()&&n&&Hd.has(n)&&!a&&!l&&!i&&"mirror"!==o&&0!==r&&"inertia"!==s}}const Zd={type:"spring",stiffness:500,damping:25,restSpeed:10},Gd={type:"keyframes",duration:.8},Yd={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},qd=(e,{keyframes:t})=>t.length>2?Gd:rl.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Zd:Yd;const Kd=(e,t,n,i={},o,r)=>s=>{const a=tc(i,e)||{},l=a.delay||i.delay||0;let{elapsed:c=0}=i;c-=yc(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:r?void 0:o};(function({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:o,repeat:r,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length})(a)||(u={...u,...qd(e,u)}),u.duration&&(u.duration=yc(u.duration)),u.repeatDelay&&(u.repeatDelay=yc(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let d=!1;if((!1===u.type||0===u.duration&&!u.repeatDelay)&&(u.duration=0,0===u.delay&&(d=!0)),d&&!r&&void 0!==t.get()){const e=$u(u.keyframes,a);if(void 0!==e)return ma.update((()=>{u.onUpdate(e),u.onComplete()})),new vc([])}return!r&&Ud.supports(u)?new Ud(u):new $d(u)};function Xd({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,i}function Jd(e,t,{delay:n=0,transitionOverride:i,type:o}={}){var r;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;i&&(s=i);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const t in l){const i=e.getValue(t,null!==(r=e.latestValues[t])&&void 0!==r?r:null),o=l[t];if(void 0===o||u&&Xd(u,t))continue;const a={delay:n,...tc(s||{},t)};let d=!1;if(window.MotionHandoffAnimation){const n=mc(e);if(n){const e=window.MotionHandoffAnimation(n,t,ma);null!==e&&(a.startTime=e,d=!0)}}hc(e,t),i.start(Kd(t,i,o,e.shouldReduceMotion&&nc.has(t)?{type:!1}:a,e,d));const p=i.animation;p&&c.push(p)}return a&&Promise.all(c).then((()=>{ma.update((()=>{a&&function(e,t){const n=ec(e,t);let{transitionEnd:i={},transition:o={},...r}=n||{};r={...r,...i};for(const t in r)pc(e,t,(s=r[t],Qa(s)?s[s.length-1]||0:s));var s}(e,a)}))})),c}function Qd(e,t,n={}){var i;const o=ec(e,t,"exit"===n.type?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0);let{transition:r=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(r=n.transitionOverride);const s=o?()=>Promise.all(Jd(e,o,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(i=0)=>{const{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=r;return function(e,t,n=0,i=0,o=1,r){const s=[],a=(e.variantChildren.size-1)*i,l=1===o?(e=0)=>e*i:(e=0)=>a-e*i;return Array.from(e.variantChildren).sort(ep).forEach(((e,i)=>{e.notify("AnimationStart",t),s.push(Qd(e,t,{...r,delay:n+l(i)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(s)}(e,t,o+i,s,a,n)}:()=>Promise.resolve(),{when:l}=r;if(l){const[e,t]="beforeChildren"===l?[s,a]:[a,s];return e().then((()=>t()))}return Promise.all([s(),a(n.delay)])}function ep(e,t){return e.sortNodePosition(t)}const tp=Ea.length;function np(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&np(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<tp;n++){const i=Ea[n],o=e.props[i];(Aa(o)||!1===o)&&(t[i]=o)}return t}const ip=[...Ra].reverse(),op=Ra.length;function rp(e){return t=>Promise.all(t.map((({animation:t,options:n})=>function(e,t,n={}){let i;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map((t=>Qd(e,t,n)));i=Promise.all(o)}else if("string"==typeof t)i=Qd(e,t,n);else{const o="function"==typeof t?ec(e,t,n.custom):t;i=Promise.all(Jd(e,o,n))}return i.then((()=>{e.notify("AnimationComplete",t)}))}(e,t,n))))}function sp(e){let t=rp(e),n=cp(),i=!0;const o=t=>(n,i)=>{var o;const r=ec(e,i,"exit"===t?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0);if(r){const{transition:e,transitionEnd:t,...i}=r;n={...n,...i,...t}}return n};function r(r){const{props:s}=e,a=np(e.parent)||{},l=[],c=new Set;let u={},d=1/0;for(let t=0;t<op;t++){const p=ip[t],h=n[p],m=void 0!==s[p]?s[p]:a[p],f=Aa(m),g=p===r?h.isActive:null;!1===g&&(d=t);let x=m===a[p]&&m!==s[p]&&f;if(x&&i&&e.manuallyAnimateOnMount&&(x=!1),h.protectedKeys={...u},!h.isActive&&null===g||!m&&!h.prevProp||za(m)||"boolean"==typeof m)continue;const v=ap(h.prevProp,m);let y=v||p===r&&h.isActive&&!x&&f||t>d&&f,b=!1;const w=Array.isArray(m)?m:[m];let j=w.reduce(o(p),{});!1===g&&(j={});const{prevResolvedValues:C={}}=h,k={...C,...j},S=t=>{y=!0,c.has(t)&&(b=!0,c.delete(t)),h.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in k){const t=j[e],n=C[e];if(u.hasOwnProperty(e))continue;let i=!1;i=Qa(t)&&Qa(n)?!Ql(t,n):t!==n,i?null!=t?S(e):c.add(e):void 0!==t&&c.has(e)?S(e):h.protectedKeys[e]=!0}h.prevProp=m,h.prevResolvedValues=j,h.isActive&&(u={...u,...j}),i&&e.blockInitialAnimation&&(y=!1);y&&(!(x&&v)||b)&&l.push(...w.map((e=>({animation:e,options:{type:p}}))))}if(c.size){const t={};c.forEach((n=>{const i=e.getBaseTarget(n),o=e.getValue(n);o&&(o.liveStyle=!0),t[n]=null!=i?i:null})),l.push({animation:t})}let p=Boolean(l.length);return!i||!1!==s.initial&&s.initial!==s.animate||e.manuallyAnimateOnMount||(p=!1),i=!1,p?t(l):Promise.resolve()}return{animateChanges:r,setActive:function(t,i){var o;if(n[t].isActive===i)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach((e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,i)})),n[t].isActive=i;const s=r(t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=cp(),i=!0}}}function ap(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Ql(t,e)}function lp(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function cp(){return{animate:lp(!0),whileInView:lp(),whileHover:lp(),whileTap:lp(),whileDrag:lp(),whileFocus:lp(),exit:lp()}}class up{constructor(e){this.isMounted=!1,this.node=e}update(){}}let dp=0;const pp={animation:{Feature:class extends up{constructor(e){super(e),e.animationState||(e.animationState=sp(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();za(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}},exit:{Feature:class extends up{constructor(){super(...arguments),this.id=dp++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const i=this.node.animationState.setActive("exit",!e);t&&!e&&i.then((()=>t(this.id)))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},hp={x:!1,y:!1};function mp(){return hp.x||hp.y}const fp=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function gp(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}function xp(e){return{point:{x:e.pageX,y:e.pageY}}}function vp(e,t,n,i){return gp(e,t,(e=>t=>fp(t)&&e(t,xp(t)))(n),i)}const yp=(e,t)=>Math.abs(e-t);class bp{constructor(e,t,{transformPagePoint:n,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=Cp(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=yp(e.x,t.x),i=yp(e.y,t.y);return Math.sqrt(n**2+i**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:i}=e,{timestamp:o}=ga;this.history.push({...i,timestamp:o});const{onStart:r,onMove:s}=this.handlers;t||(r&&r(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=wp(t,this.transformPagePoint),ma.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:i,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const r=Cp("pointercancel"===e.type?this.lastMoveEventInfo:wp(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,r),i&&i(e,r)},!fp(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=n,this.contextWindow=i||window;const r=wp(xp(e),this.transformPagePoint),{point:s}=r,{timestamp:a}=ga;this.history=[{...s,timestamp:a}];const{onSessionStart:l}=t;l&&l(e,Cp(r,this.history)),this.removeListeners=Ju(vp(this.contextWindow,"pointermove",this.handlePointerMove),vp(this.contextWindow,"pointerup",this.handlePointerUp),vp(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),fa(this.updatePoint)}}function wp(e,t){return t?{point:t(e.point)}:e}function jp(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Cp({point:e},t){return{point:e,delta:jp(e,Sp(t)),offset:jp(e,kp(t)),velocity:Mp(t,.1)}}function kp(e){return e[0]}function Sp(e){return e[e.length-1]}function Mp(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const o=Sp(e);for(;n>=0&&(i=e[n],!(o.timestamp-i.timestamp>yc(t)));)n--;if(!i)return{x:0,y:0};const r=bc(o.timestamp-i.timestamp);if(0===r)return{x:0,y:0};const s={x:(o.x-i.x)/r,y:(o.y-i.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Pp(e){return e.max-e.min}function Tp(e,t,n,i=.5){e.origin=i,e.originPoint=_u(t.min,t.max,e.origin),e.scale=Pp(n)/Pp(t),e.translate=_u(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function Ap(e,t,n,i){Tp(e.x,t.x,n.x,i?i.originX:void 0),Tp(e.y,t.y,n.y,i?i.originY:void 0)}function zp(e,t,n){e.min=n.min+t.min,e.max=e.min+Pp(t)}function Rp(e,t,n){e.min=t.min-n.min,e.max=e.min+Pp(t)}function Ep(e,t,n){Rp(e.x,t.x,n.x),Rp(e.y,t.y,n.y)}function Vp(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Lp(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,i]=[i,n]),{min:n,max:i}}const Fp=.35;function Bp(e,t,n){return{min:Dp(e,t),max:Dp(e,n)}}function Dp(e,t){return"number"==typeof e?e:e[t]||0}const Op=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Ip(e){return[e("x"),e("y")]}function $p({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function Hp(e){return void 0===e||1===e}function Np({scale:e,scaleX:t,scaleY:n}){return!Hp(e)||!Hp(t)||!Hp(n)}function Wp(e){return Np(e)||_p(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function _p(e){return Up(e.x)||Up(e.y)}function Up(e){return e&&"0%"!==e}function Zp(e,t,n){return n+t*(e-n)}function Gp(e,t,n,i,o){return void 0!==o&&(e=Zp(e,o,i)),Zp(e,n,i)+t}function Yp(e,t=0,n=1,i,o){e.min=Gp(e.min,t,n,i,o),e.max=Gp(e.max,t,n,i,o)}function qp(e,{x:t,y:n}){Yp(e.x,t.translate,t.scale,t.originPoint),Yp(e.y,n.translate,n.scale,n.originPoint)}const Kp=.999999999999,Xp=1.0000000000001;function Jp(e,t){e.min=e.min+t,e.max=e.max+t}function Qp(e,t,n,i,o=.5){Yp(e,t,n,_u(e.min,e.max,o),i)}function eh(e,t){Qp(e.x,t.x,t.scaleX,t.scale,t.originX),Qp(e.y,t.y,t.scaleY,t.scale,t.originY)}function th(e,t){return $p(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(e.getBoundingClientRect(),t))}const nh=({current:e})=>e?e.ownerDocument.defaultView:null,ih=new WeakMap;class oh{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:i}=this.getProps();this.panSession=new bp(e,{onSessionStart:e=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(xp(e).point)},onStart:(e,t)=>{const{drag:n,dragPropagation:i,onDragStart:o}=this.getProps();if(n&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(r=n)||"y"===r?hp[r]?null:(hp[r]=!0,()=>{hp[r]=!1}):hp.x||hp.y?null:(hp.x=hp.y=!0,()=>{hp.x=hp.y=!1}),!this.openDragLock))return;var r;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ip((e=>{let t=this.getAxisMotionValue(e).get()||0;if(vl.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[e];if(i){t=Pp(i)*(parseFloat(t)/100)}}}this.originPoint[e]=t})),o&&ma.postRender((()=>o(e,t))),hc(this.visualElement,"transform");const{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:o,onDrag:r}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:s}=t;if(i&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),r&&r(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>Ip((e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:nh(this.visualElement)})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:i}=t;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&ma.postRender((()=>o(e,t)))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:i}=this.getProps();if(!n||!rh(e,i,this.currentDirection))return;const o=this.getAxisMotionValue(e);let r=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(r=function(e,{min:t,max:n},i){return void 0!==t&&e<t?e=i?_u(t,e,i.min):Math.max(e,t):void 0!==n&&e>n&&(e=i?_u(n,e,i.max):Math.min(e,n)),e}(r,this.constraints[e],this.elastic[e])),o.set(r)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,o=this.constraints;t&&Oa(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!i)&&function(e,{top:t,left:n,bottom:i,right:o}){return{x:Vp(e.x,n,o),y:Vp(e.y,t,i)}}(i.layoutBox,t),this.elastic=function(e=Fp){return!1===e?e=0:!0===e&&(e=Fp),{x:Bp(e,"left","right"),y:Bp(e,"top","bottom")}}(n),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Ip((e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(i.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Oa(e))return!1;const n=e.current;ua(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=function(e,t,n){const i=th(e,n),{scroll:o}=t;return o&&(Jp(i.x,o.offset.x),Jp(i.y,o.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let r=function(e,t){return{x:Lp(e.x,t.x),y:Lp(e.y,t.y)}}(i.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(r));this.hasMutatedConstraints=!!e,e&&(r=$p(e))}return r}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:i,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=Ip((s=>{if(!rh(s,t,this.currentDirection))return;let l=a[s]||{};r&&(l={min:0,max:0});const c=i?200:1e6,u=i?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(s,d)}));return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return hc(this.visualElement,e),n.start(Kd(e,n,0,t,this.visualElement,!1))}stopAnimation(){Ip((e=>this.getAxisMotionValue(e).stop()))}pauseAnimation(){Ip((e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()}))}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps(),i=n[t];return i||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){Ip((t=>{const{drag:n}=this.getProps();if(!rh(t,n,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(t);if(i&&i.layout){const{min:n,max:r}=i.layout.layoutBox[t];o.set(e[t]-_u(n,r,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Oa(t)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Ip((e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();i[e]=function(e,t){let n=.5;const i=Pp(e),o=Pp(t);return o>i?n=Pc(t.min,t.max-i,e.min):i>o&&(n=Pc(e.min,e.max-o,t.min)),pl(0,1,n)}({min:n,max:n},this.constraints[e])}}));const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Ip((t=>{if(!rh(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:r}=this.constraints[t];n.set(_u(o,r,i[t]))}))}addListeners(){if(!this.visualElement.current)return;ih.set(this.visualElement,this);const e=vp(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)})),t=()=>{const{dragConstraints:e}=this.getProps();Oa(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),ma.read(t);const o=gp(window,"resize",(()=>this.scalePositionWithinConstraints())),r=n.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Ip((t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))})),this.visualElement.render())}));return()=>{o(),e(),i(),r&&r()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:r=Fp,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:i,dragConstraints:o,dragElastic:r,dragMomentum:s}}}function rh(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const sh=e=>(t,n)=>{e&&ma.postRender((()=>e(t,n)))};const ah={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function lh(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ch={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!yl.test(e))return e;e=parseFloat(e)}return`${lh(e,t.target.x)}% ${lh(e,t.target.y)}%`}},uh={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,o=cu.parse(e);if(o.length>5)return i;const r=cu.createTransformer(e),s="number"!=typeof o[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const c=_u(a,l,.5);return"number"==typeof o[2+s]&&(o[2+s]/=c),"number"==typeof o[3+s]&&(o[3+s]/=c),r(o)}};class dh extends f{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:i}=this.props,{projection:o}=e;!function(e){for(const t in e)$l[t]=e[t],al(t)&&($l[t].isCSSVariable=!0)}(hh),o&&(t.group&&t.group.add(o),n&&n.register&&i&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",(()=>{this.safeToRemove()})),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),ah.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:i,isPresent:o}=this.props,r=n.projection;return r?(r.isPresent=o,i||e.layoutDependency!==t||void 0===t?r.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?r.promote():r.relegate()||ma.postRender((()=>{const e=r.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Na.postRender((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function ph(e){const[t,n]=function(e=!0){const t=c(oa);if(null===t)return[!0,null];const{isPresent:n,onExitComplete:i,register:r}=t,a=u();o((()=>{e&&r(a)}),[e]);const l=s((()=>e&&i&&i(a)),[a,i,e]);return!n&&i?[!1,l]:[!0]}(),i=c(ia);return On.jsx(dh,{...e,layoutGroup:i,switchLayoutGroup:c(_a),isPresent:t,safeToRemove:n})}const hh={borderRadius:{...ch,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ch,borderTopRightRadius:ch,borderBottomLeftRadius:ch,borderBottomRightRadius:ch,boxShadow:uh};const mh=(e,t)=>e.depth-t.depth;class fh{constructor(){this.children=[],this.isDirty=!1}add(e){sc(this.children,e),this.isDirty=!0}remove(e){ac(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(mh),this.isDirty=!1,this.children.forEach(e)}}const gh=["TopLeft","TopRight","BottomLeft","BottomRight"],xh=gh.length,vh=e=>"string"==typeof e?parseFloat(e):e,yh=e=>"number"==typeof e||yl.test(e);function bh(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const wh=Ch(0,.5,Nc),jh=Ch(.5,.95,la);function Ch(e,t,n){return i=>i<e?0:i>t?1:n(Pc(e,t,i))}function kh(e,t){e.min=t.min,e.max=t.max}function Sh(e,t){kh(e.x,t.x),kh(e.y,t.y)}function Mh(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Ph(e,t,n,i,o){return e=Zp(e-=t,1/n,i),void 0!==o&&(e=Zp(e,1/o,i)),e}function Th(e,t,[n,i,o],r,s){!function(e,t=0,n=1,i=.5,o,r=e,s=e){vl.test(t)&&(t=parseFloat(t),t=_u(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=_u(r.min,r.max,i);e===r&&(a-=t),e.min=Ph(e.min,t,n,a,o),e.max=Ph(e.max,t,n,a,o)}(e,t[n],t[i],t[o],t.scale,r,s)}const Ah=["x","scaleX","originX"],zh=["y","scaleY","originY"];function Rh(e,t,n,i){Th(e.x,t,Ah,n?n.x:void 0,i?i.x:void 0),Th(e.y,t,zh,n?n.y:void 0,i?i.y:void 0)}function Eh(e){return 0===e.translate&&1===e.scale}function Vh(e){return Eh(e.x)&&Eh(e.y)}function Lh(e,t){return e.min===t.min&&e.max===t.max}function Fh(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Bh(e,t){return Fh(e.x,t.x)&&Fh(e.y,t.y)}function Dh(e){return Pp(e.x)/Pp(e.y)}function Oh(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Ih{constructor(){this.members=[]}add(e){sc(this.members,e),e.scheduleRender()}remove(e){if(ac(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const $h={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Hh="undefined"!=typeof window&&void 0!==window.MotionDebug,Nh=["","X","Y","Z"],Wh={visibility:"hidden"};let _h=0;function Uh(e,t,n,i){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),i&&(i[e]=0))}function Zh(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=mc(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ma,!(t||i))}const{parent:i}=e;i&&!i.hasCheckedOptimisedAppear&&Zh(i)}function Gh({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=_h++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Hh&&($h.totalNodes=$h.resolvedTargetDeltas=$h.recalculatedProjection=0),this.nodes.forEach(Kh),this.nodes.forEach(im),this.nodes.forEach(om),this.nodes.forEach(Xh),Hh&&window.MotionDebug.record($h)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new fh)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new lc),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var i;this.isSVG=(i=t)instanceof SVGElement&&"svg"!==i.tagName,this.instance=t;const{layoutId:o,layout:r,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(r||o)&&(this.isLayoutDirty=!0),e){let n;const i=()=>this.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=rc.now(),i=({timestamp:o})=>{const r=o-n;r>=t&&(fa(i),e(r-t))};return ma.read(i,!0),()=>fa(i)}(i,250),ah.hasAnimatedSinceResize&&(ah.hasAnimatedSinceResize=!1,this.nodes.forEach(nm))}))}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&s&&(o||r)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||s.getDefaultTransition()||um,{onLayoutAnimationStart:r,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!Bh(this.targetLayout,i),c=!t&&n;if(this.options.layoutRoot||this.resumeFrom||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...tc(o,"layout"),onPlay:r,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||nm(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,fa(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(rm),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Zh(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Qh);this.isUpdating||this.nodes.forEach(em),this.isUpdating=!1,this.nodes.forEach(tm),this.nodes.forEach(Yh),this.nodes.forEach(qh),this.clearAllSnapshots();const e=rc.now();ga.delta=pl(0,1e3/60,e-ga.timestamp),ga.timestamp=e,ga.isProcessing=!0,xa.update.process(ga),xa.preRender.process(ga),xa.render.process(ga),ga.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Na.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Jh),this.sharedNodes.forEach(sm)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ma.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ma.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||Pp(this.snapshot.measuredBox.x)||Pp(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){const t=i(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!Vh(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,r=i!==this.prevTransformTemplateValue;e&&(t||Wp(this.latestValues)||r)&&(o(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var i;return e&&(n=this.removeTransform(n)),hm((i=n).x),hm(i.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var e;const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const n=t.measureViewportBox();if(!((null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)||this.path.some(fm))){const{scroll:e}=this.root;e&&(Jp(n.x,e.offset.x),Jp(n.y,e.offset.y))}return n}removeElementScroll(e){var t;const n={x:{min:0,max:0},y:{min:0,max:0}};if(Sh(n,e),null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)return n;for(let t=0;t<this.path.length;t++){const i=this.path[t],{scroll:o,options:r}=i;i!==this.root&&o&&r.layoutScroll&&(o.wasRoot&&Sh(n,e),Jp(n.x,o.offset.x),Jp(n.y,o.offset.y))}return n}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Sh(n,e);for(let e=0;e<this.path.length;e++){const i=this.path[e];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&eh(n,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),Wp(i.latestValues)&&eh(n,i.latestValues)}return Wp(this.latestValues)&&eh(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Sh(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!Wp(n.latestValues))continue;Np(n.latestValues)&&n.updateSnapshot();const i={x:{min:0,max:0},y:{min:0,max:0}};Sh(i,n.measurePageBox()),Rh(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,i)}return Wp(this.latestValues)&&Rh(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ga.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const i=Boolean(this.resumingFrom)||this!==n;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:o,layoutId:r}=this.options;if(this.layout&&(o||r)){if(this.resolvedRelativeTargetAt=ga.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Ep(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Sh(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var s,a,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,zp(s.x,a.x,l.x),zp(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Sh(this.target,this.layout.layoutBox),qp(this.target,this.targetDelta)):Sh(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Ep(this.relativeTargetOrigin,this.target,e.target),Sh(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Hh&&$h.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Np(this.parent.latestValues)&&!_p(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let i=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===ga.timestamp&&(i=!1),i)return;const{layout:o,layoutId:r}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!r)return;Sh(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,i=!1){const o=n.length;if(!o)return;let r,s;t.x=t.y=1;for(let a=0;a<o;a++){r=n[a],s=r.projectionDelta;const{visualElement:o}=r.options;o&&o.props.style&&"contents"===o.props.style.display||(i&&r.options.layoutScroll&&r.scroll&&r!==r.root&&eh(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,qp(e,s)),i&&Wp(r.latestValues)&&eh(e,r.latestValues))}t.x<Xp&&t.x>Kp&&(t.x=1),t.y<Xp&&t.y>Kp&&(t.y=1)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox,t.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:l}=t;l?(this.projectionDelta&&this.prevProjectionDelta?(Mh(this.prevProjectionDelta.x,this.projectionDelta.x),Mh(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),Ap(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&Oh(this.projectionDelta.x,this.prevProjectionDelta.x)&&Oh(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Hh&&$h.recalculatedProjection++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(e,t=!1){const n=this.snapshot,i=n?n.latestValues:{},o={...this.latestValues},r={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(cm));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,p;am(r.x,e.x,n),am(r.y,e.y,n),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ep(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,i){lm(e.x,t.x,n.x,i),lm(e.y,t.y,n.y,i)}(this.relativeTarget,this.relativeTargetOrigin,s,n),d&&(l=this.relativeTarget,p=d,Lh(l.x,p.x)&&Lh(l.y,p.y))&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Sh(d,this.relativeTarget)),a&&(this.animationValues=o,function(e,t,n,i,o,r){o?(e.opacity=_u(0,void 0!==n.opacity?n.opacity:1,wh(i)),e.opacityExit=_u(void 0!==t.opacity?t.opacity:1,0,jh(i))):r&&(e.opacity=_u(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let o=0;o<xh;o++){const r=`border${gh[o]}Radius`;let s=bh(t,r),a=bh(n,r);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||yh(s)===yh(a)?(e[r]=Math.max(_u(vh(s),vh(a),i),0),(vl.test(a)||vl.test(s))&&(e[r]+="%")):e[r]=a)}(t.rotate||n.rotate)&&(e.rotate=_u(t.rotate||0,n.rotate||0,i))}(o,i,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(fa(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ma.update((()=>{ah.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const i=el(e)?e:dc(e);return i.start(Kd("",i,t,n)),i.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:i,latestValues:o}=e;if(t&&n&&i){if(this!==e&&this.layout&&i&&mm(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Pp(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const i=Pp(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+i}Sh(t,n),eh(t,o),Ap(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Ih);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const i=this.getStack();i&&i.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const i={};n.z&&Uh("z",e,i,this.animationValues);for(let t=0;t<Nh.length;t++)Uh(`rotate${Nh[t]}`,e,i,this.animationValues),Uh(`skew${Nh[t]}`,e,i,this.animationValues);e.render();for(const t in i)e.setStaticValue(t,i[t]),this.animationValues&&(this.animationValues[t]=i[t]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Wh;const i={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=tl(null==e?void 0:e.pointerEvents)||"",i.transform=o?o(this.latestValues,""):"none",i;const r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=tl(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!Wp(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const s=r.animationValues||r.latestValues;this.applyTransformsToTarget(),i.transform=function(e,t,n){let i="";const o=e.x.translate/t.x,r=e.y.translate/t.y,s=(null==n?void 0:n.z)||0;if((o||r||s)&&(i=`translate3d(${o}px, ${r}px, ${s}px) `),1===t.x&&1===t.y||(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,rotateX:o,rotateY:r,skewX:s,skewY:a}=n;e&&(i=`perspective(${e}px) ${i}`),t&&(i+=`rotate(${t}deg) `),o&&(i+=`rotateX(${o}deg) `),r&&(i+=`rotateY(${r}deg) `),s&&(i+=`skewX(${s}deg) `),a&&(i+=`skewY(${a}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return 1===a&&1===l||(i+=`scale(${a}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,s),o&&(i.transform=o(s,i.transform));const{x:a,y:l}=this.projectionDelta;i.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,r.animationValues?i.opacity=r===this?null!==(n=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:i.opacity=r===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in $l){if(void 0===s[e])continue;const{correct:t,applyTo:n,isCSSVariable:o}=$l[e],a="none"===i.transform?s[e]:t(s[e],r);if(n){const e=n.length;for(let t=0;t<e;t++)i[n[t]]=a}else o?this.options.visualElement.renderState.vars[e]=a:i[e]=a}return this.options.layoutId&&(i.pointerEvents=r===this?tl(null==e?void 0:e.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(Qh),this.root.sharedNodes.clear()}}}function Yh(e){e.updateLayout()}function qh(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:i}=e.layout,{animationType:o}=e.options,r=n.source!==e.layout.source;"size"===o?Ip((e=>{const i=r?n.measuredBox[e]:n.layoutBox[e],o=Pp(i);i.min=t[e].min,i.max=i.min+o})):mm(o,n.layoutBox,t)&&Ip((i=>{const o=r?n.measuredBox[i]:n.layoutBox[i],s=Pp(t[i]);o.max=o.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[i].max=e.relativeTarget[i].min+s)}));const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Ap(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};r?Ap(a,e.applyTransform(i,!0),n.measuredBox):Ap(a,t,n.layoutBox);const l=!Vh(s);let c=!1;if(!e.resumeFrom){const i=e.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:o,layout:r}=i;if(o&&r){const s={x:{min:0,max:0},y:{min:0,max:0}};Ep(s,n.layoutBox,o.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};Ep(a,t,r.layoutBox),Bh(s,a)||(c=!0),i.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=i)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Kh(e){Hh&&$h.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Xh(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Jh(e){e.clearSnapshot()}function Qh(e){e.clearMeasurements()}function em(e){e.isLayoutDirty=!1}function tm(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function nm(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function im(e){e.resolveTargetDelta()}function om(e){e.calcProjection()}function rm(e){e.resetSkewAndRotation()}function sm(e){e.removeLeadSnapshot()}function am(e,t,n){e.translate=_u(t.translate,0,n),e.scale=_u(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function lm(e,t,n,i){e.min=_u(t.min,n.min,i),e.max=_u(t.max,n.max,i)}function cm(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const um={duration:.45,ease:[.4,0,.1,1]},dm=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),pm=dm("applewebkit/")&&!dm("chrome/")?Math.round:la;function hm(e){e.min=pm(e.min),e.max=pm(e.max)}function mm(e,t,n){return"position"===e||"preserve-aspect"===e&&(i=Dh(t),o=Dh(n),r=.2,!(Math.abs(i-o)<=r));var i,o,r}function fm(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}const gm=Gh({attachResizeListener:(e,t)=>gp(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),xm={current:void 0},vm=Gh({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!xm.current){const e=new gm({});e.mount(window),e.setOptions({layoutScroll:!0}),xm.current=e}return xm.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),ym={pan:{Feature:class extends up{constructor(){super(...arguments),this.removePointerDownListener=la}onPointerDown(e){this.session=new bp(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:nh(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:sh(e),onStart:sh(t),onMove:n,onEnd:(e,t)=>{delete this.session,i&&ma.postRender((()=>i(e,t)))}}}mount(){this.removePointerDownListener=vp(this.node.current,"pointerdown",(e=>this.onPointerDown(e)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends up{constructor(e){super(e),this.removeGroupControls=la,this.removeListeners=la,this.controls=new oh(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||la}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:vm,MeasureLayout:ph}};function bm(e,t){const n=function(e){if(e instanceof Element)return[e];if("string"==typeof e){const t=document.querySelectorAll(e);return t?Array.from(t):[]}return Array.from(e)}(e),i=new AbortController;return[n,{passive:!0,...t,signal:i.signal},()=>i.abort()]}function wm(e){return!("touch"===e.pointerType||mp())}function jm(e,t,n){const{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover","Start"===n);const o=i["onHover"+n];o&&ma.postRender((()=>o(t,xp(t))))}const Cm=(e,t)=>!!t&&(e===t||Cm(e,t.parentElement)),km=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);const Sm=new WeakSet;function Mm(e){return t=>{"Enter"===t.key&&e(t)}}function Pm(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function Tm(e){return fp(e)&&!mp()}function Am(e,t,n={}){const[i,o,r]=bm(e,n),s=e=>{const i=e.currentTarget;if(!Tm(e)||Sm.has(i))return;Sm.add(i);const r=t(i,e),s=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),Tm(e)&&Sm.has(i)&&(Sm.delete(i),"function"==typeof r&&r(e,{success:t}))},a=e=>{s(e,n.useGlobalTarget||Cm(i,e.target))},l=e=>{s(e,!1)};window.addEventListener("pointerup",a,o),window.addEventListener("pointercancel",l,o)};return i.forEach((e=>{(function(e){return km.has(e.tagName)||-1!==e.tabIndex})(e)||null!==e.getAttribute("tabindex")||(e.tabIndex=0);(n.useGlobalTarget?window:e).addEventListener("pointerdown",s,o),e.addEventListener("focus",(e=>((e,t)=>{const n=e.currentTarget;if(!n)return;const i=Mm((()=>{if(Sm.has(n))return;Pm(n,"down");const e=Mm((()=>{Pm(n,"up")}));n.addEventListener("keyup",e,t),n.addEventListener("blur",(()=>Pm(n,"cancel")),t)}));n.addEventListener("keydown",i,t),n.addEventListener("blur",(()=>n.removeEventListener("keydown",i)),t)})(e,o)),o)})),r}function zm(e,t,n){const{props:i}=e;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap","Start"===n);const o=i["onTap"+("End"===n?"":n)];o&&ma.postRender((()=>o(t,xp(t))))}const Rm=new WeakMap,Em=new WeakMap,Vm=e=>{const t=Rm.get(e.target);t&&t(e)},Lm=e=>{e.forEach(Vm)};function Fm(e,t,n){const i=function({root:e,...t}){const n=e||document;Em.has(n)||Em.set(n,{});const i=Em.get(n),o=JSON.stringify(t);return i[o]||(i[o]=new IntersectionObserver(Lm,{root:e,...t})),i[o]}(t);return Rm.set(e,n),i.observe(e),()=>{Rm.delete(e),i.unobserve(e)}}const Bm={some:0,all:1};const Dm={inView:{Feature:class extends up{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:i="some",once:o}=e,r={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:Bm[i]};return Fm(this.node.current,r,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),r=t?n:i;r&&r(e)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends up{mount(){const{current:e}=this.node;e&&(this.unmount=Am(e,((e,t)=>(zm(this.node,t,"Start"),(e,{success:t})=>zm(this.node,e,t?"End":"Cancel"))),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends up{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Ju(gp(this.node.current,"focus",(()=>this.onFocus())),gp(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends up{mount(){const{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){const[i,o,r]=bm(e,n),s=e=>{if(!wm(e))return;const{target:n}=e,i=t(n,e);if("function"!=typeof i||!n)return;const r=e=>{wm(e)&&(i(e),n.removeEventListener("pointerleave",r))};n.addEventListener("pointerleave",r,o)};return i.forEach((e=>{e.addEventListener("pointerenter",s,o)})),r}(e,((e,t)=>(jm(this.node,t,"Start"),e=>jm(this.node,e,"End")))))}unmount(){}}}},Om={layout:{ProjectionNode:vm,MeasureLayout:ph}},Im={current:null},$m={current:!1};const Hm=[...Lu,eu,cu],Nm=new WeakMap;const Wm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class _m{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:o,visualState:r},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Au,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const e=rc.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,ma.render(this.render,!1,!0))};const{latestValues:a,renderState:l,onUpdate:c}=r;this.onUpdate=c,this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=s,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=Va(t),this.isVariantNode=La(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==a[e]&&el(t)&&t.set(a[e],!1)}}mount(e){this.current=e,Nm.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),$m.current||function(){if($m.current=!0,sa)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Im.current=e.matches;e.addListener(t),t()}else Im.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Im.current),"production"!==process.env.NODE_ENV&&Ma(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Nm.delete(this.current),this.projection&&this.projection.unmount(),fa(this.notifyUpdate),fa(this.render),this.valueSubscriptions.forEach((e=>e())),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const n=rl.has(e),i=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&ma.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)})),o=t.on("renderRequest",this.scheduleRender);let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,(()=>{i(),o(),r&&r(),t.owner&&t.stop()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in ba){const t=ba[e];if(!t)continue;const{isEnabled:n,Feature:i}=t;if(!this.features[e]&&i&&n(this.props)&&(this.features[e]=new i(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Wm.length;t++){const n=Wm[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const i=e["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=function(e,t,n){for(const i in t){const o=t[i],r=n[i];if(el(o))e.addValue(i,o),"development"===process.env.NODE_ENV&&Ma("12.0.6"===o.version,`Attempting to mix Motion versions ${o.version} with 12.0.6 may not work as expected.`);else if(el(r))e.addValue(i,dc(o,{owner:e}));else if(r!==o)if(e.hasValue(i)){const t=e.getValue(i);!0===t.liveStyle?t.jump(o):t.hasAnimated||t.set(o)}else{const t=e.getStaticValue(i);e.addValue(i,dc(void 0!==t?t:o,{owner:e}))}}for(const i in n)void 0===t[i]&&e.removeValue(i);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=dc(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let i=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var o;return null!=i&&("string"==typeof i&&(zu(i)||_c(i))?i=parseFloat(i):(o=i,!Hm.find(Vu(o))&&cu.test(t)&&(i=gu(e,t))),this.setBaseTarget(e,el(i)?i.get():i)),el(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props;let i;if("string"==typeof n||"object"==typeof n){const o=Ja(this.props,n,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);o&&(i=o[e])}if(n&&void 0!==i)return i;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||el(o)?void 0!==this.initialValues[e]&&void 0===i?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new lc),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Um extends _m{constructor(){super(...arguments),this.KeyframeResolver=Bu}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;el(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}}class Zm extends Um{constructor(){super(...arguments),this.type="html",this.renderInstance=Dl}readValueFromInstance(e,t){if(rl.has(t)){const e=fu(t);return e&&e.default||0}{const i=(n=e,window.getComputedStyle(n)),o=(al(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return th(e,t)}build(e,t,n){Al(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Nl(e,t,n)}}class Gm extends Um{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Op}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(rl.has(t)){const e=fu(t);return e&&e.default||0}return t=Ol.has(t)?t:$a(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Wl(e,t,n)}build(e,t,n){Vl(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,i){Il(e,t,0,i)}mount(e){this.isSVGTag=Bl(e.tagName),super.mount(e)}}const Ym=(e,t)=>Ka(e)?new Gm(t):new Zm(t,{allowProjection:e!==n}),qm=Pa(Jl({...pp,...Dm,...ym,...Om},Ym)),Km=y((({children:e,loading:t,sizing:n,...i})=>On.jsxs(jr,{...i,sizing:n,loading:t,children:[t&&On.jsx(Ho,{sizing:n}),On.jsx(j,{...t?{visibility:"hidden"}:void 0,children:e})]})))((({theme:e,variation:t,sizing:n})=>({color:e.custom.palette.text.primary,...n&&{...br(n)},...n&&{...wr(n)},...n&&{...yr(n)},"&:hover:before":{backgroundColor:e.custom.palette.interaction.hover},"&:focus:before":{backgroundColor:e.custom.palette.interaction.hover},"&:active:before":{backgroundColor:e.custom.palette.interaction.press},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,color:e.custom.palette.text.disabled},..."subtle"===t&&{...pr(e)},..."outlined"===t&&{...hr(e)},..."secondary"===t&&{...mr(e)},..."primary"===t&&{...fr(e)}}))),Xm=({sizing:e="lg",variation:t="primary",...n})=>On.jsx(Km,{variation:t,sizing:e,...n}),Jm=y(Re)((({theme:e,completed:t})=>({width:"24px",height:"24px",backgroundColor:e.custom.palette.surface.raised,boxShadow:"none",border:"none",padding:0,margin:"4px 0",...!t&&{border:`2px dashed ${e.custom.palette.icon.disabled}`}}))),Qm=y(j)((({theme:e})=>({display:"flex",flexDirection:"column",padding:`0 0 ${e.spacing(e.custom.padding.md)} ${e.spacing(e.custom.padding.sm)}`}))),ef=e=>({display:"flex",flexWrap:"wrap",alignItems:"center",gap:e.spacing(e.custom.padding.sm),marginTop:e.spacing(e.custom.margin.xs)}),tf=y(Eo)((({theme:e})=>({[`&.${S.root}`]:{...ef(e),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.link},"&:hover":{"> .MuiTypography-root:first-child":{textDecoration:"underline"},"& .MuiSvgIcon-root":{color:e.custom.palette.icon.linkHover}}}}))),nf=y(j)((({theme:e})=>({[`&.${E.root}`]:{...ef(e),"& .MuiTypography-root":{color:"inherit"}}}))),of=y(Lo)((()=>({color:"inherit",fontWeight:500,fontSize:dr.lg}))),rf=y(Lo)((({theme:e})=>({fontWeight:400,textDecoration:"none",color:e.custom.palette.text.secondary,flexBasis:"100%"}))),sf=({children:e,complete:t,url:n})=>t?On.jsx(nf,{children:e}):On.jsx(tf,{underline:"none",href:n,target:"_self",children:e}),af=({complete:e,title:t,description:n,url:i})=>On.jsx(Qm,{children:On.jsxs(sf,{complete:e,url:i,children:[On.jsx(of,{component:"p",variation:"lg",children:t}),!e&&On.jsx(Co,{name:"arrow-right",size:16}),!e&&n&&On.jsx(rf,{variation:"lg",component:"p",children:n})]})}),lf=({item:e,showConnector:t})=>{const{complete:n,title:i,description:o,url:r}=e;return On.jsxs(Ve,{children:[On.jsxs(Le,{children:[On.jsx(Jm,{completed:n,children:n?On.jsx(Co,{name:"badge-tick-in-circle",size:24}):void 0}),t&&On.jsx(Fe,{sx:{backgroundColor:e=>e.custom.palette.icon.disabled}})]}),e&&On.jsx(Be,{component:()=>On.jsx(af,{complete:n,title:i,description:o,url:r})})]})},cf=({expanded:e,onToggleExpanded:t,items:n})=>{const s=n.find((e=>!e.complete)),l=a((()=>e?n:[s]),[e]),c=i(null),[u,d]=r("auto");return o((()=>{if(!c.current)return;const e=c.current.scrollHeight+1.5*wn;d(e)}),[e,n]),On.jsx(qm.div,{initial:!1,animate:{height:u},transition:{duration:.4,ease:[.645,.045,.355,1]},style:{overflow:"hidden",paddingBottom:1.5*wn},children:On.jsx("div",{ref:c,children:On.jsxs(na,{sx:{paddingLeft:e=>e.spacing(e.custom.padding.xs),[`& .${Ee.root}`]:{minHeight:0,":before":{flex:0,padding:0}}},children:[l.map(((e,t)=>{const n=t<l.length-1;return e&&e?.title===s?.title?On.jsx(lf,{item:e,showConnector:l.length>1?n:!!s?.description},e.title):e&&On.jsx(lf,{item:e,showConnector:n},e.title)})),!e&&On.jsx(j,{sx:{marginTop:e=>e.spacing(e.custom.margin.md),alignSelf:"center"},children:On.jsx(Xm,{endIcon:On.jsx(Co,{name:"chevron-down",size:16}),sizing:"xs",variation:"outlined",onClick:t,children:"Show more"})})]})})})},uf=({completed:e,total:t})=>On.jsx(Lo,{component:"p",variation:"lg",sx:{fontWeight:500},children:`${e} of ${t} tasks completed`}),df=({cardTitle:e,cardSubtitle:t,welcomeImageUrl:n,welcomeImageAltDescription:i,items:o=[]})=>{const[s,a]=r(!0),l=ps(),c=()=>a(!s),u=o.length,d=o.filter((e=>e.complete)).length,p=d/u*100;return On.jsxs(Ao,{variation:"raised",borderradius:"lg",sx:{display:"flex",flexDirection:"xl"===l?"row":"column",gap:e=>e.spacing(e.custom.margin.lg),padding:e=>e.spacing(e.custom.padding.lg)},children:[On.jsxs(fs,{children:[On.jsx(j,{component:"img",src:n,alt:i,width:"72px",height:"72px"}),On.jsx(Lo,{component:"h1",variation:"md",fontWeight:500,children:e}),On.jsx(xs,{component:"p",variation:"lg",children:t})]}),On.jsxs(gs,{children:[On.jsxs(j,{sx:{display:"flex",justifyContent:"space-between",alignItems:"start",width:"100%",height:"36px",paddingBottom:e=>e.spacing(e.custom.padding.sm)},children:[On.jsx(uf,{completed:d,total:u}),s&&On.jsx(Qo,{sizing:"sm",variation:"outlined",icon:On.jsx(be,{}),onClick:c})]}),On.jsx(ms,{variation:"determinate",value:p}),On.jsx(cf,{expanded:s,onToggleExpanded:c,items:o})]})]})},pf=y(j)((({theme:e})=>({width:2,height:2,borderRadius:"50%",backgroundColor:e.custom.palette.icon.disabled,marginLeft:e.spacing(e.custom.margin.sm),marginRight:e.spacing(e.custom.margin.sm)}))),hf=(e,t)=>On.jsxs(j,{display:"flex",gap:1,children:[On.jsx(Lo,{variation:"sm",component:"p",weight:"bold",children:e||0}),On.jsx(Lo,{variation:"sm",component:"p",color:"text.secondary",children:t})]}),mf=({loops:e,tests:t,drafts:n})=>On.jsxs(j,{display:"flex",alignItems:"center",children:[hf(e,"Loops"),On.jsx(pf,{}),hf(t,"Tests"),On.jsx(pf,{}),hf(n,"Drafts")]}),ff=y(j)((({theme:e})=>({borderRadius:e.spacing(e.custom.radius.sm),border:`0.5px solid ${e.custom.palette.stroke.focus}`,backgroundColor:e.custom.palette.purple[0],padding:`${e.spacing(e.custom.padding.xs)} ${e.spacing(e.custom.padding.sm)}`,"& p":{color:e.custom.palette.purple[1e3]}}))),gf=({sx:e,body:t})=>On.jsx(ff,{"data-id":"pill-container",sx:ye(e,{position:"absolute",zIndex:1}),children:On.jsx(Lo,{variation:"xxs",component:"p",weight:"bold",children:t})}),xf=({title:e,maxLines:t})=>On.jsx(Lo,{variation:"md",component:"p",weight:"bold",sx:{overflow:"hidden",display:"-webkit-box","-webkit-line-clamp":`${t}`,"-webkit-box-orient":"vertical"},children:e}),vf={pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,30}$/i,message:"Please enter a valid email"}},yf=e=>{const t=e.toLowerCase();return["a","e","i","o","u"].some((e=>t.startsWith(e)))?"an":"a"},bf=(e,t,n)=>({maxLength:{value:n||255,message:`Maximum character limit of ${n||255}.`},...t&&{required:e?`Please enter ${yf(e)} ${e}`:"This field is required"}}),wf=bf().maxLength.value,jf=e=>({minLength:{value:e||8,message:`Password must have at least ${e||8} characters`},equal:{value:"password",message:"You cannot choose 'password' as your password"}}),Cf=e=>`linear-gradient(135deg, ${e.custom.palette.purple[400]} 0%, ${e.custom.palette.purple[200]} 100%)`,kf=(e,t)=>{switch(t){case"tone1":default:return Cf(e);case"tone2":return(e=>`linear-gradient(135deg, ${e.custom.palette.purple[0]} 0%, ${e.custom.palette.purple[100]} 100%)`)(e);case"tone3":return(e=>`linear-gradient(135deg, ${e.custom.palette.blue[400]} 0%, ${e.custom.palette.purple[600]} 100%)`)(e);case"tone4":return(e=>`radial-gradient(54.59% 50% at 0% 50.04%, ${W(e.custom.palette.blue[1e3],.2)} 0%, ${W(e.custom.palette.blue[500],.2)} 100%), linear-gradient(135deg, ${e.custom.palette.purple[500]} 0%, ${e.custom.palette.purple[1e3]} 100%)`)(e)}},Sf=(e,t)=>{const n=kf(e,t.gradient),i=(e=>"noise1"===e?"url(https://useloops-public.s3.eu-west-2.amazonaws.com/public/static/misc/noise_tile.png)":null)(t.texture);return i?[i,n].join(","):[n].join(",")},Mf=({logo:e,headerText:t,subText:n})=>{const i=w();return On.jsxs(O,{gap:i.spacing(i.custom.margin.md),alignItems:"center",mb:i.spacing(i.custom.margin.lg),children:[!1===e?null:e||On.jsx(Co,{name:"brand-wordmark",sx:{width:{sm:79,md:79,lg:106},height:{sm:24,md:24,lg:32}}}),On.jsxs(O,{gap:i.spacing(i.custom.margin.md),children:[t&&On.jsx(Lo,{variation:"sm",component:"h1",align:"center",weight:"bold",children:t}),function(){if(n)return"string"==typeof n?On.jsx(Lo,{variation:"md",component:"p",align:"center",children:n}):n}()]})]})},Pf=({variation:e="primary",...t})=>{if("primary"===e)return On.jsx(_,{...t})},Tf=({label:e,sx:t,...n})=>{const i=w(),o=e?i.custom.margin.md:0;return On.jsx(U,{label:e||"",sx:ye({ml:0,"&.Mui-disabled":{color:i.custom.palette.text.disabled},"&.Mui-error":{color:i.custom.palette.text.negative},"& .MuiFormControlLabel-label":{ml:o,color:"inherit",fontSize:{xs:cr.sm.body.md,sm:cr.sm.body.md,md:cr.sm.body.md,lg:cr.lg.body.md,xl:cr.lg.body.md}},"&.MuiFormControlLabel-labelPlacementStart":{"& .MuiFormControlLabel-label":{ml:0,mr:o}}},t),...n})},Af=y(Z)((({theme:e,sizing:t})=>({height:"default"===t?bn[300]:bn[400],width:"default"===t?bn[300]:bn[400],padding:0,flex:"none",borderRadius:e.spacing(e.custom.radius.sm),border:`1px solid ${e.custom.palette.stroke.default}`,backgroundColor:e.custom.palette.input.default,position:"relative",transition:e.custom.easing.input,"& svg":{transition:e.custom.easing.input,fill:"none",width:"default"===t?jo.sm:jo.xl,height:"default"===t?jo.sm:jo.xl},"&:before":{content:'""',position:"absolute",inset:0},"&:hover":{backgroundColor:e.custom.palette.input.default,"&:before":{backgroundColor:e.custom.palette.interaction.hover}},"&:active":{backgroundColor:e.custom.palette.input.default,borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus,"&:before":{backgroundColor:e.custom.palette.interaction.press}},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled},"&.Mui-checked":{backgroundColor:e.custom.palette.purple[500],"& svg":{fill:e.custom.palette.icon.lockedWhite},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,"& svg":{fill:e.custom.palette.icon.disabled}}},"&.MuiCheckbox-indeterminate":{backgroundColor:e.custom.palette.purple[500],"& svg":{fill:e.custom.palette.icon.lockedWhite}},"&.Mui-focusVisible":{borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus,"&:before":{backgroundColor:e.custom.palette.interaction.press}}}))),zf=e=>On.jsx(Af,{checkedIcon:On.jsx(we,{}),indeterminateIcon:On.jsx(je,{}),...e}),Rf=({internalChange:e,checkboxLabel:t,indeterminate:n,sizing:i="default",onChange:o,inputRef:r,value:s,...a})=>void 0===s?On.jsx(j,{}):On.jsx(Tf,{inputRef:r,label:t,checked:s,control:On.jsx(zf,{sizing:i,indeterminate:n}),onChange:(t,n)=>{o&&o(t,n),e&&e()},...a}),Ef=y(G)((({theme:e})=>({"& .MuiInputAdornment-root":{marginRight:0,"& .MuiSvgIcon-root":{width:jo.xl,height:jo.xl}},"& .MuiOutlinedInput-input":{padding:e.spacing(1),paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},"& .MuiOutlinedInput-root":{backgroundColor:e.custom.palette.input.default,color:e.custom.palette.text.primary,borderRadius:e.spacing(e.custom.radius.md),lineHeight:"140%",[e.breakpoints.down("md")]:{minWidth:"100%"},paddingLeft:0,paddingRight:0,fontSize:cr.sm.body.md,"&.Mui-focused":{"& fieldset":{transition:e.custom.easing.input,backgroundColor:e.custom.palette.interaction.press,borderColor:e.custom.palette.stroke.default},"& .MuiOutlinedInput-notchedOutline":{transition:e.custom.easing.input,border:`1px solid ${e.custom.palette.stroke.focus}`,boxShadow:e.custom.boxShadow.input.focus}},"&.Mui-disabled":{color:e.custom.palette.text.disabled,backgroundColor:e.custom.palette.input.disabled,"& fieldset":{transition:e.custom.easing.input,backgroundColor:e.custom.palette.interaction.none,borderColor:e.custom.palette.stroke.disabled},"& .MuiOutlinedInput-notchedOutline":{transition:e.custom.easing.input,border:`1px solid ${e.custom.palette.stroke.disabled}`,boxShadow:"none"}}},"&:hover":{"& .MuiOutlinedInput-root":{backgroundColor:e.custom.palette.input.default,"& fieldset":{backgroundColor:e.custom.palette.interaction.hover,borderColor:e.custom.palette.stroke.default},"&.Mui-focused":{"& fieldset":{backgroundColor:e.custom.palette.interaction.press,borderColor:e.custom.palette.stroke.default},"& .MuiOutlinedInput-notchedOutline":{border:`1px solid ${e.custom.palette.stroke.focus}`,boxShadow:e.custom.boxShadow.input.focus}},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,"& fieldset":{backgroundColor:e.custom.palette.interaction.none,borderColor:e.custom.palette.stroke.disabled},"& .MuiOutlinedInput-notchedOutline":{border:`1px solid ${e.custom.palette.stroke.disabled}`,boxShadow:"none"}}}}}))),Vf=({startAdornment:e,endAdornment:t,placeholder:n,onChange:i,internalChange:o,inputRef:r,...s})=>On.jsx(Ef,{placeholder:n,sx:{height:bn[500],"& .MuiOutlinedInput-input":{pl:e?1:2,pr:e?1:2}},inputRef:r,InputProps:{startAdornment:e?On.jsx(Y,{position:"start",sx:{pl:1},children:e}):null,endAdornment:t?On.jsx(Y,{position:"start",sx:{pr:1},children:t}):null},...s,onChange:e=>{i&&i(e),o&&o()}}),Lf=({sizing:e,options:t,other:n,internalChange:i,value:o,inputRef:r,onChange:s})=>{const a=n?.name||"other-option",l=`${a}-value-`,c=e=>`${l}${e}`,u=n?.enabled,d=o?.includes(a)&&u,p=o?.find((e=>e.includes(l)));if(!o)return On.jsx("div",{});const h=(e,r)=>{let c=o.includes(e)?o.filter((t=>t!==e)):r?[e]:[...new Set(o),e];if(r||(c=c.filter((e=>!t.find((t=>t?.exclusive&&e===t.value))))),n?.enabled){!o.includes(a)||e!==a||(c=c.filter((e=>!e.includes(l))))}s(c),i&&i()};return On.jsxs(On.Fragment,{children:[On.jsxs(q,{sx:{display:"flex",gap:e=>e.custom.margin.sm,label:{"&:last-child":{mb:0},"&:hover":{"& .MuiCheckbox-root":{backgroundColor:e=>e.custom.palette.interaction.hover,"&.Mui-checked":{backgroundColor:e=>e.custom.palette.purple[500]}}}}},children:[t?t.map(((t,n)=>{const i=t.value;return On.jsx(Tf,{sx:{"& .MuiButtonBase-root.MuiCheckbox-root":{alignSelf:"baseline"},"& .MuiTypography-root":{mt:"default"!==e?.5:0}},onChange:()=>h(i,t.exclusive),checked:o.includes(i),control:On.jsx(zf,{sizing:e}),label:t.label},i)})):null,u&&On.jsx(Tf,{inputRef:r,onChange:()=>h(a),label:n?.label||"Other",checked:o.includes(a),control:On.jsx(zf,{sizing:e})},a)]}),d&&On.jsx(j,{sx:{mt:1},children:On.jsx(Vf,{fullWidth:!0,autoFocus:!0,defaultValue:p?p.replace(l,""):"",placeholder:n?.placeholder,onChange:e=>{const t=o.find((e=>e.includes(l))),n=(t?o.map((t=>t.includes(l)?c(e.target.value):t)):[...o,c(e.target.value)]).filter((e=>e!==l));s(n),i&&i()},required:!0})})]})},Ff=({sx:e,children:t,texture:n="noise1",gradient:i="tone1",...o})=>{const r=w();return On.jsx(A,{maxWidth:!1,disableGutters:!0,sx:ye({background:Sf(r,{texture:n,gradient:i}),height:"100%",p:[0,0,0]},!!e&&{...e}),...o,children:t})},Bf=({inputField:e,onChange:t,internalChange:n,transformValue:i,...o})=>{const r=e;return On.jsx(r,{onChange:e=>{t&&t(i?i(e):e),n&&n()},...o})},Df=y(K)((({theme:e,align:t})=>({fontWeight:400,lineHeight:"140%",whiteSpace:"normal",textAlign:t,color:"inherit","&.Mui-disabled":{color:e.custom.palette.text.disabled},"&.Mui-error":{color:e.custom.palette.text.negative}}))),Of=e=>On.jsx(Df,{...e}),If=e=>{const{icon:t=null,state:n="default",disabled:i,showicon:o=!0}=e,r=w();return On.jsxs(j,{sx:{display:"inline-flex",alignItems:"center",color:i?r.custom.palette.text.disabled:(()=>{switch(n){case"disabled":return r.custom.palette.text.disabled;case"positive":return r.custom.palette.text.positive;case"negative":return r.custom.palette.text.negative;default:return r.custom.palette.text.secondary}})(),"& svg":{marginRight:r.spacing(r.custom.margin.xs),width:jo.xs,height:jo.xs,color:"inherit"}},children:[(()=>{if(!o)return null;if(t)return t;switch(n){case"disabled":default:return On.jsx(j,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:On.jsx(Ce,{})});case"positive":return On.jsx(j,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:On.jsx(we,{})});case"negative":return On.jsx(j,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:On.jsx(ke,{})})}})(),On.jsx(Of,{...e,sx:{fontSize:{xs:cr.sm.body.sm,sm:cr.sm.body.sm,md:cr.sm.body.sm,lg:cr.lg.body.sm,xl:cr.lg.body.sm}}})]})},$f=y(j)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:bn[50],height:bn[50],top:`calc(100% + ${bn[50]}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}},"&:last-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:bn[50],height:bn[50],top:`calc(100% + ${bn[50]}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}}}}))),Hf=({children:e,width:t})=>On.jsx($f,{sx:{width:t,minWidth:300},children:e}),Nf=y(X)((({theme:e,sizing:t})=>({padding:0,backgroundColor:e.custom.palette.input.default,border:`1px solid ${e.custom.palette.stroke.default}`,position:"relative",transition:e.custom.easing.input,flexShrink:0,height:"default"===t?bn[300]:bn[400],width:"default"===t?bn[300]:bn[400],"& svg":{transition:e.custom.easing.input,fill:"none",width:"default"===t&&jo.sm,height:"default"===t&&jo.sm},"&:before":{content:'""',position:"absolute",inset:0,borderRadius:e.custom.radius.round},"&:hover":{backgroundColor:e.custom.palette.input.default,"&:before":{backgroundColor:e.custom.palette.interaction.hover}},"&:active":{backgroundColor:e.custom.palette.input.default,borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus,"&:before":{backgroundColor:e.custom.palette.interaction.press}},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled,"& svg":{"&:first-of-type":{fill:"transparent"},fill:e.custom.palette.icon.disabled}},"&.Mui-focusVisible":{borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus,"&:before":{backgroundColor:e.custom.palette.interaction.press}},"&.Mui-checked":{backgroundColor:e.custom.palette.purple[500],"& svg":{"&:first-of-type":{fill:"transparent"},fill:e.custom.palette.icon.lockedWhite},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled,"& svg":{"&:first-of-type":{fill:"transparent"},fill:e.custom.palette.icon.disabled}}}}))),Wf=e=>On.jsx(Nf,{...e}),_f=y(Wf)((()=>({marginRight:0}))),Uf=y(j)((({theme:e})=>({posiion:"relative","&:after":{content:'""',position:"absolute",top:"50%",right:"0",height:bn[50],width:`calc(100% - ${bn[400]}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),Zf=e=>On.jsx(Uf,{sx:{position:"relative"},children:On.jsx(_f,{...e})}),Gf=({disabled:e=!1,onChange:t,labelLeft:n,labelRight:i,internalChange:o,labelCenter:r})=>{const s=[...Array(7).keys()];return On.jsx(J,{children:On.jsxs(Hf,{children:[On.jsx(Q,{container:!0,justifyContent:"space-between",children:s.map(((n,i)=>{const r=i+1!==s.length;return On.jsx(Q,{item:!0,sm:r,children:On.jsx(Zf,{disabled:e,value:n,onChange:(e,n)=>{t&&t(e,n),o&&o()},name:`radio-option-${n}`},n)},n)}))}),On.jsxs(Q,{container:!0,justifyContent:"space-between",sx:{mt:1},children:[On.jsx(Q,{item:!0,sm:!0,sx:{textAlign:"left"},children:On.jsx(If,{disabled:e,showicon:!1,children:n})}),On.jsx(Q,{item:!0,sm:!0,sx:{textAlign:"center"},children:On.jsx(If,{disabled:e,align:"center",showicon:!1,children:r})}),On.jsx(Q,{item:!0,sm:!0,sx:{textAlign:"right"},children:On.jsx(If,{disabled:e,align:"right",showicon:!1,children:i})})]})]})})},Yf=y(ee)((({theme:e})=>({"& .MuiPaper-root":{backgroundColor:e.custom.palette.surface.raised,borderRadius:e.spacing(e.custom.radius.sm),marginTop:e.spacing(1),minWidth:180,border:`1px solid ${e.custom.palette.stroke.default}`,boxShadow:"none","& .MuiMenu-list":{padding:`${e.spacing(e.custom.padding.xs)} 0`},"& .MuiMenuItem-root":{"& .MuiSvgIcon-root":{color:e.custom.palette.text.primary},"&:active":{backgroundColor:W(e.palette.primary.main,e.palette.action.selectedOpacity)}}}}))),qf=({open:e,anchorEl:t,handleClick:n,handleClose:i,items:o,...r})=>On.jsx(On.Fragment,{children:On.jsx(Yf,{anchorEl:t,open:e,onClose:i,MenuListProps:{"aria-labelledby":"basic-button"},elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},...r,children:o?.map(((e,t)=>On.jsxs(te,{onClick:e.onClick,...e.menuItemProps,children:[e.icon&&On.jsx(j,{mr:1,children:e.icon}),e.label]},t)))})}),Kf=()=>{const[e,n]=t.useState(null);return{open:Boolean(e),handleClick:e=>{n(e.currentTarget)},handleClose:()=>{n(null)},anchorEl:e}},Xf=e=>{const t=i();return o((()=>{t.current=e}),[e]),t.current},Jf=({children:e,...t})=>e,Qf=({sx:e,...t})=>On.jsx(Of,{...t,sx:ye({fontSize:{xs:cr.sm.body.md,sm:cr.sm.body.md,md:cr.sm.body.md,lg:cr.lg.body.md,xl:cr.lg.body.md}},!!e&&{...e})}),eg=y(j)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"&:before":{width:bn[200],borderRadius:e.custom.radius.round,right:"50%",transform:`translateX(-${bn[200]}px)`,left:"auto"}}},"&:last-child":{"& .MuiBox-root":{"&:after":{width:bn[200],borderRadius:e.custom.radius.round,right:"auto",left:"50%",transform:`translateX(${bn[200]}px)`}}}}}))),tg=({children:e,width:t})=>On.jsx(eg,{sx:{width:t},children:e}),ng=y(If)((()=>({lineHeight:"110%",textAlign:"center",width:"100%"}))),ig=({disabled:e,children:t})=>On.jsx(ng,{showicon:!1,disabled:e,sx:{cursor:"inherit"},children:t}),og=y(Wf)((()=>({marginRight:0}))),rg=y(j)((({theme:e})=>({posiion:"relative","&:before":{content:'""',position:"absolute",top:"50%",left:0,height:bn[50],width:`calc(50% - ${bn[400]/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default},"&:after":{content:'""',position:"absolute",top:"50%",right:0,height:bn[50],width:`calc(50% - ${bn[400]/2}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),sg=e=>On.jsx(rg,{sx:{textAlign:"center",position:"relative"},children:On.jsx(og,{...e})}),ag=({options:e=[],disabled:t=!1,sizing:n="lg",onChange:i,internalChange:o,value:r})=>{const s=w();function a(e){console.warn(e),i(e.value),o&&o()}return On.jsx(j,{children:On.jsx(tg,{children:On.jsx(Q,{container:!0,justifyContent:"space-between",children:e.map((e=>On.jsxs(Q,{item:!0,sm:!0,onClick:()=>a(e),sx:{...!t&&{cursor:"pointer"},textAlign:"center","&:hover":{"& .MuiButtonBase-root.MuiRadio-root":{"&:before":{...!t&&{backgroundColor:s.custom.palette.interaction.hover}}}},"&:active":{"& .MuiButtonBase-root.MuiRadio-root":{...!t&&{backgroundColor:s.custom.palette.input.default,borderColor:s.custom.palette.stroke.focus,boxShadow:s.custom.boxShadow.input.focus},"&:before":{...!t&&{backgroundColor:s.custom.palette.interaction.press}},"&.Mui-checked":{backgroundColor:s.custom.palette.purple[500]}}}},children:[On.jsx(sg,{sizing:n,disabled:t,onChange:t=>a(e),checked:r===e.value},e.value),On.jsx(j,{sx:{mt:jn.xs,width:"100%"},children:On.jsx(ig,{disabled:t,children:e.label})})]},e.value)))})})})},lg=h(((e,n)=>{const{decimalSeparator:i,thousandSeparator:o,value:r,...s}=e,a=t.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"group"===e.type))?.value??"";var e}),[void 0]),l=t.useMemo((()=>{return e=void 0,new Intl.NumberFormat(e).formatToParts(1234.5678).find((e=>"decimal"===e.type))?.value??".";var e}),[void 0]);return On.jsx(_e,{...s,value:r??"",getInputRef:n,thousandSeparator:o??a,decimalSeparator:i??l})})),cg=({disabled:e=!1,InputProps:t,inputProps:n,placeholder:i,hideActionButtons:o=!1,max:s=1/0,min:a=-1/0,startAdornment:l,endAdornment:c,internalChange:u,numericFormatProps:d,onChange:p,step:h=1,value:m,...f})=>{const g=w(),[x,v]=r(m),y=x,b=e=>{v(e),p&&p(e),u&&u()},j=()=>{const e=(null==y||Number.isNaN(y)?0:y)+h;e>s||b(e)},C=()=>{const e=(null==y||Number.isNaN(y)?0:y)-h;e<a||b(e)},k={decimalScale:5,isAllowed:({floatValue:e})=>null==e||e>=a&&e<=s,max:s!==1/0?s:void 0,min:a!==-1/0?a:void 0,step:1!==h?h:void 0,onKeyDown:e=>{"ArrowUp"===e.key?j():"ArrowDown"===e.key&&C()},onValueChange:({floatValue:e})=>{e!==y&&b(e)},value:y,...d};return On.jsx(Ef,{placeholder:i,sx:{height:bn[500],"& .MuiOutlinedInput-input":{minWidth:bn[300],pl:l?1:2,pr:l?1:2}},...f,value:y??"",disabled:e,InputProps:{...t,inputComponent:lg,startAdornment:l?On.jsx(Y,{position:"start",sx:{pl:1},children:l}):null,endAdornment:!o&&On.jsxs(O,{gap:g.custom.margin.sm,sx:{height:"100%",alignItems:"center"},direction:"row",children:[c&&On.jsx(Y,{position:"end",children:c}),On.jsxs(O,{sx:{height:"100%",ml:"auto",width:32,borderLeft:`1px solid ${g.custom.palette.stroke.default}`},children:[On.jsx(ne,{onClick:()=>j(),sx:{flex:1,borderTopRightRadius:g.spacing(g.custom.radius.md),fontSize:12,"&:hover":{background:g.custom.palette.interaction.hover}},children:On.jsx(Se,{fontSize:"inherit"})}),On.jsx($,{}),On.jsx(ne,{onClick:()=>C(),sx:{flex:1,borderBottomRightRadius:g.spacing(g.custom.radius.md),fontSize:12,"&:hover":{background:g.custom.palette.interaction.hover}},children:On.jsx(Me,{fontSize:"inherit"})})]})]})},inputProps:{inputType:"number",...n,...k}})};const ug=({options:e,onChange:t,other:n,value:s,internalChange:a,...l})=>{const c=n?.enabled,u="other-option",d=`${u}-value-`,[p,h]=r(s),[m,f]=r(!1),g=i(null);o((()=>{!m&&p?.includes(d)?f(!0):m&&f(!1)}),[p]);return o((()=>{g.current&&Array.from(g.current.getElementsByTagName("label")).forEach((e=>{if(e.clientHeight>4*wn){const t=e.querySelector(".MuiTypography-root");t&&(t.style.marginTop=wn/2+"px")}}))}),[g.current]),On.jsxs(On.Fragment,{children:[On.jsxs(J,{...l,value:p,ref:g,sx:{"& .MuiRadio-root":{alignSelf:"baseline"},"& .MuiTypography-root":{alignSelf:"center"},display:"flex",alignSelf:"baseline",gap:e=>e.custom.margin.sm,label:{"&:last-child":{mb:0},"&:hover":{"& .MuiRadio-root":{backgroundColor:e=>e.custom.palette.interaction.hover,"&.Mui-checked":{backgroundColor:e=>e.custom.palette.purple[500]}}}}},onChange:(e,n)=>{t&&t(n),h(n),a&&a()},children:[e?e.map(((e,t)=>On.jsx(Tf,{sx:{"& .MuiButtonBase-root.MuiRadio-root":{alignSelf:"baseline"}},...e,control:On.jsx(Wf,{})},t))):null,c&&On.jsx(Tf,{label:n?.label||"Other",value:d,control:On.jsx(Wf,{checked:p?.includes(d)})},u)]}),m&&On.jsx(j,{sx:{mt:1},children:On.jsx(Vf,{fullWidth:!0,autoFocus:!0,placeholder:n?.placeholder,defaultValue:p?.replace(d,""),onChange:e=>{var n;t&&t((n=e.target.value,`${d}${n}`)),a&&a()},required:!0})})]})},dg=({handleSelectAll:e,isIndeterminate:t,isAllSelected:n,sizing:i})=>{const[s,a]=r(!1),l=w();return o((()=>{n&&a(n)}),[n]),On.jsxs(O,{direction:"row",gap:l.spacing(l.custom.padding.sm),onClick:t=>{const n=!s;a(n),e(t,n)},sx:{marginLeft:"auto",display:"flex",alignItems:"center",justifyContent:"flex-end",p:e=>e.custom.padding.sm},children:[On.jsx(ie,{sx:{cursor:"pointer",fontSize:()=>i&&dr[i]},children:"Select all"}),On.jsx(zf,{sizing:"default",indeterminate:t,checked:s})]})},pg=h((({children:e,handleSelectAll:t,showSelectAll:n,value:i=[],selections:o,sizing:r,...s},a)=>{const l=Array.isArray(i)&&i.length===o.length,c=Array.isArray(i)&&i.length>0&&i.length<o.length;return On.jsxs("ul",{ref:a,...s,children:[n&&On.jsx(dg,{handleSelectAll:t,isIndeterminate:c,isAllSelected:l,sizing:r}),e]})})),hg="0px 4px 8px 0px #06040D14, 0px 16px 24px 0px #06040D14, 0px 0px 4px 2px #06040D0A, 0px 0px 0px 1px #FFFFFF29",mg=e=>{switch(e){case"xs":return 24;case"md":return 32;default:return 40}},fg=(e,t)=>({"& .MuiTypography-root":{height:mg(t),fontSize:dr[t],display:"flex",alignItems:"center",paddingLeft:e.spacing("xs"===t?e.custom.padding.xs:e.custom.padding.sm),paddingRight:e.spacing("xs"===t?e.custom.padding.xs:e.custom.padding.sm)}}),gg=e=>({fontSize:`${cr.sm.body.md}`,borderRadius:e.spacing(e.custom.radius.md),position:"relative",padding:e.spacing(e.custom.padding.sm),"& .MuiSelect-outlined":{padding:0},"& .MuiSelect-select.MuiInputBase-input":{paddingRight:e.spacing(Cn.md)},"&:before":{transition:e.custom.easing.input,content:'""',position:"absolute",background:e.custom.palette.interaction.none,borderRadius:e.spacing(e.custom.radius.md),inset:0,zIndex:0},"&:hover:before":{backgroundColor:e.custom.palette.interaction.hover},"&.Mui-focused:before":{backgroundColor:e.custom.palette.interaction.press},"&.Mui-disabled:before":{backgroundColor:e.custom.palette.interaction.none},"& .MuiSelect-select":{position:"relative"}}),xg=(e,t)=>{switch(t){case"lg":return{height:mg(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:jo.lg,height:jo.lg,top:`calc(50% - ${jo.lg/2}px)`}};case"md":return{height:mg(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:jo.md,height:jo.md,top:`calc(50% - ${jo.md/2}px)`}};case"xs":return{height:mg(t),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:jo.xs,height:jo.xs,top:`calc(50% - ${jo.xs/2}px)`}};default:return{height:mg("lg"),"& .MuiSvgIcon-root":{color:e.custom.palette.icon.primary,transition:e.custom.easing.input,width:jo.lg,height:jo.lg,top:`calc(50% - ${jo.lg/2}px)`}}}},vg=e=>({position:"relative",fontSize:`${cr.sm.body.md}`,backgroundColor:e.custom.palette.interaction.none,color:e.custom.palette.text.primary,"&:before":{transition:e.custom.easing.input,content:'""',position:"absolute",inset:0,zIndex:1},"& > .MuiBox-root":{position:"relative",zIndex:2,width:"100%","& .MuiSvgIcon-root":{marginRight:e.spacing(e.custom.margin.sm),width:jo.xl,height:jo.xl},"& .MuiBox-root":{padding:e.spacing(e.custom.padding.sm),lineHeight:"22px"}}}),yg=e=>({"&.MuiModal-root.MuiPopover-root":{"&.MuiMenu-root":{borderRadius:e.spacing(e.custom.radius.sm),"& .MuiPaper-root":{border:`1px solid ${e.custom.palette.stroke.default}`,backgroundColor:e.custom.palette.surface.raised,boxShadow:hg}}}}),bg=y(oe)((({theme:e,sizing:t,value:n})=>({maxWidth:"100%",backgroundColor:e.custom.palette.surface.raised,borderRadius:e.spacing(e.custom.radius.md),border:`1px solid ${e.custom.palette.stroke.default}`,transition:e.custom.easing.input,"& .MuiSvgIcon-root":{...t&&{width:jo[t],height:jo[t]}},"&.MuiAutocomplete-root .MuiOutlinedInput-root .MuiAutocomplete-input":{...t&&{height:"xs"===t?2*wn+"px":3*wn+"px"},paddingTop:0,paddingBottom:0,paddingLeft:n&&Array.isArray(n)&&n.length>0?0:e.spacing(e.custom.padding.sm),justifyContent:"center",textOverflow:"ellipsis",whiteSpace:"nowrap"},"& .MuiAutocomplete-inputRoot":{...t&&{fontSize:dr[t],gap:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs)},display:"flex",alignItems:"flex-start",paddingRight:3*wn+"px",flexWrap:"wrap",height:"auto"},"& .MuiOutlinedInput-root":{display:"flex",alignItems:"center",padding:"0"},"& .MuiAutocomplete-tag":{...t&&{height:"xs"===t?2*wn+"px":3*wn+"px"},margin:0,"& .MuiSvgIcon-root":{height:"12px",width:"12px"}},"&.Mui-disabled":{backgroundColor:`${e.custom.palette.input.disabled}`,borderColor:`${e.custom.palette.stroke.disabled}`},"&.Mui-focused":{backgroundColor:e.custom.palette.input.default,borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus},"& .MuiChip-root .MuiChip-label":{height:20,lineHeight:"20px",maxWidth:140,...t&&{padding:`0 ${e.spacing(e.custom.padding.xs)}`}}}))),wg=y(re)((({theme:e,sizing:t})=>({borderRadius:e.spacing(e.custom.radius.sm),border:`1px solid ${e.custom.palette.stroke.default}`,backgroundColor:e.custom.palette.surface.default,...t&&{padding:`0 ${e.spacing(e.custom.padding.xs)}`},"& .MuiChip-deleteIcon":{fill:e.custom.palette.icon.primary,borderRadius:e.custom.radius.round,margin:0,"&:hover":{backgroundColor:e.custom.palette.interaction.hover},"&:active":{backgroundColor:e.custom.palette.interaction.press},"&:disabled":{backgroundColor:e.custom.palette.interaction.disabled,fill:e.custom.palette.icon.disabled}}}))),jg=y(G)((({theme:e,sizing:t})=>({"& .MuiOutlinedInput-root":{padding:0,...t&&{margin:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs)}},"& .MuiInputBase-input":{padding:"0 14px"},"& .MuiOutlinedInput-notchedOutline":{border:"none"}}))),Cg=y(B)((({theme:e,sizing:t})=>({"& .MuiPaper-root":{...t&&{margin:"lg"===t?e.spacing(e.custom.padding.sm):e.spacing(e.custom.padding.xs),marginLeft:"lg"===t?`-${e.spacing(e.custom.padding.sm)}`:`-${e.spacing(e.custom.padding.xs)}`,marginTop:`calc(${"lg"===t?e.spacing(e.custom.margin.sm):e.spacing(e.custom.margin.xs)} + ${e.spacing(e.custom.margin.xs)})`},border:`1px solid ${e.custom.palette.stroke.default}`,backgroundColor:e.custom.palette.surface.raised,boxShadow:hg,borderRadius:e.spacing(e.custom.radius.sm)},[`& .${se.listbox}`]:{overflowX:"hidden",[`& .${se.option}`]:{fontSize:dr[t],...t&&{height:"lg"===t?5*wn+"px":4*wn+"px"},"> span":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},'&[aria-selected="true"]':{backgroundColor:e.custom.palette.interaction.hover,display:"flex",alignItems:"center",justifyContent:"space-between"}}}}))),kg=e=>On.jsx(Cg,{...e}),Sg=({selections:e,disableClearable:t=!1,disabled:n,internalChange:i,multiple:o=!0,onChange:s,placeholder:a="",renderListItem:l,sizing:c="lg",value:u=(o?[]:"")})=>{const[d,p]=r(e.filter((e=>u.includes(e?.value)))),m=(t,n)=>{if(s){const o=n?e.map((({value:e})=>e)):[];p(n?e:[]),s(t,o,"selectOption"),i&&i()}},f=e=>null!==e&&(!Array.isArray(e)||e.length>0);return On.jsx(bg,{disabledItemsFocusable:!0,autoFocus:!1,disableCloseOnSelect:!0,blurOnSelect:!1,popupIcon:On.jsx(Pe,{}),sizing:c,disabled:n,disableClearable:t,autoComplete:!0,multiple:o,renderInput:e=>On.jsx(jg,{...e,placeholder:f(d)?void 0:a,sizing:c}),options:e,renderTags:(e,t)=>e.map(((e,n)=>{const{key:i,...o}=t({index:n});return On.jsx(wg,{sizing:c,deleteIcon:On.jsx(Te,{fontSize:"small"}),label:e.label,...o},i)})),onChange:(e,t,n)=>{const o=Array.isArray(t)?t.map((e=>e.value)):t?.value??null;p(t),s?.(e,o,n),i?.()},PopperComponent:e=>On.jsx(kg,{...e,sizing:c}),isOptionEqualToValue:(e,t)=>e.value===t.value,renderOption:(e,t,{selected:n})=>{const{key:i,...o}=e;return On.jsxs("li",{...o,children:[On.jsx("span",{children:l?l(t.value,t.label):t.label}),On.jsx(we,{sx:{visibility:n?"visible":"hidden",fontSize:"16px"}})]},i)},ListboxComponent:h(((t,n)=>On.jsx(pg,{ref:n,...t,showSelectAll:o,handleSelectAll:m,value:d,selections:e,sizing:c}))),value:d})},Mg=y(te)((({theme:e})=>({...{...vg(e)},"&.Mui-focusVisible":{backgroundColor:e.custom.palette.interaction.none},"&.Mui-selected":{backgroundColor:e.custom.palette.input.default,"&.Mui-focusVisible":{backgroundColor:e.custom.palette.input.default}},"&.MuiButtonBase-root.MuiMenuItem-root.Mui-disabled":{backgroundColor:e.custom.palette.input.default,color:e.custom.palette.text.disabled,"&:before":{backgroundColor:e.custom.palette.interaction.disabled}},"&:hover":{backgroundColor:e.custom.palette.input.default,"&:before":{backgroundColor:e.custom.palette.interaction.hover},"&.Mui-selected":{backgroundColor:e.custom.palette.input.default,"&.Mui-focusVisible":{"&:before":{backgroundColor:e.custom.palette.interaction.hover}},"&:before":{backgroundColor:e.custom.palette.interaction.hover}}},"&:active":{"&:before":{backgroundColor:e.custom.palette.interaction.press}}}))),Pg=({children:e,selected:t,...n})=>On.jsx(Mg,{...n,children:On.jsxs(j,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[On.jsx(j,{children:e}),t&&On.jsx(we,{})]})}),Tg=y(ae)((({theme:e,sizing:t})=>({...{...gg(e)},...t&&{...xg(e,t)},...t&&{...fg(e,t)},backgroundColor:e.custom.palette.surface.raised,border:`1px solid ${e.custom.palette.stroke.default}`,transition:e.custom.easing.input,"& .MuiOutlinedInput-notchedOutline":{border:e.custom.palette.stroke.default},"&:hover":{"& .MuiOutlinedInput-notchedOutline":{borderColor:e.custom.palette.stroke.default}},"&.Mui-focused":{backgroundColor:e.custom.palette.input.default,borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus},"&.Mui-disabled":{backgroundColor:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled,"& .MuiSvgIcon-root":{color:e.custom.palette.icon.disabled,transition:e.custom.easing.input}}}))),Ag=({selections:e,autoComplete:t=!1,disabled:n=!1,disablePortal:i=!1,inputRef:o,internalChange:r,multi:s=!0,onChange:a,placeholder:l="",selectOptionProps:c,sizing:u="lg",sx:d,value:p=[],renderListItem:h,...m})=>{const f=w(),g=ps();return t?On.jsx(Sg,{selections:e,placeholder:l,disabled:n,sizing:u,onChange:(e,t)=>{a&&a(t||""),r&&r()},value:Array.isArray(p)?p??[]:p??"",internalChange:r,renderListItem:h,multiple:s}):On.jsxs(Tg,{sizing:u,inputRef:o,MenuProps:{disablePortal:i,sx:yg,anchorOrigin:{vertical:45,horizontal:"center"}},displayEmpty:!0,IconComponent:Pe,renderValue:t=>l&&!t?On.jsx(Lo,{component:"p",variation:"sm"===g||"md"===g?"sm":"lg",sx:{color:f.custom.palette.text.placeholder},children:l}):On.jsx(Lo,{component:"p",variation:"sm"===g||"md"===g?"sm":"lg",children:e?.find((({value:e})=>e===t))?.label}),onChange:(e,t)=>{a&&a(e,t),r&&r()},sx:d,value:p,...m,children:[""!==l.trim()&&On.jsx(Pg,{disabled:!0,value:"","aria-label":"placeholder",children:l},"placeholder"),e?.map((({value:e,label:t})=>On.jsx(Pg,{value:e,...c,children:h?h(e,t):t},e)))]})},zg=y(j)((({theme:e,disabled:t,fullWidth:n})=>({width:n?"100%":"auto",minWidth:240,backgroundColor:t?e.custom.palette.input.disabled:e.custom.palette.surface.raised,border:`1px solid ${t?e.custom.palette.stroke.disabled:e.custom.palette.stroke.default}`,borderRadius:e.spacing(e.custom.radius.lg),padding:e.spacing(e.custom.padding.md),position:"relative",zIndex:0,"&:after":{content:'""',backgroundColor:e.custom.palette.interaction.none,borderRadius:e.spacing(e.custom.radius.lg),position:"absolute",inset:0},"&:hover":{"&:after":{backgroundColor:e.custom.palette.interaction.hover}},"&:active":{"&:after":{backgroundColor:e.custom.palette.interaction.press}},"& svg":{fill:e.custom.palette.icon.primary},...t&&{background:e.custom.palette.input.disabled,borderColor:e.custom.palette.stroke.disabled,"&:after":{backgroundColor:e.custom.palette.interaction.none},"& .MuiBox-root > .MuiSvgIcon-root":{fill:"none"}}}))),Rg=y(Qf)((({theme:e})=>({fontSize:cr.button.md,color:e.custom.palette.text.primary,lineHeight:"120%",letterSpacing:"0.16px"}))),Eg=({label:e="Placeholder",disabled:t,onChange:n,options:i,fullWidth:o})=>{const r=w(),s=i.map((e=>e.label)).indexOf(e);return On.jsx(zg,{disabled:t,fullWidth:o,children:On.jsxs(O,{display:"flex",justifyContent:"space-between",flexDirection:"row",alignItems:"center",sx:{position:"relative",zIndex:1},children:[On.jsxs(j,{display:"flex",alignItems:"center",sx:{"& svg":{fill:r.custom.palette.icon.secondary}},children:[On.jsx(Ae,{sx:{width:jo.lg,height:jo.lg,mr:r.custom.padding.sm}}),On.jsx(Rg,{align:"left",disabled:t,children:e})]}),On.jsx(Ag,{name:"rank",sizing:"xs",selections:i.map(((e,t)=>({label:`${t+1}`,value:`${t}`}))),disabled:t,value:`${s}`,onChange:function(e){const t=s,o=Number(e.target.value),r=i;let a=1;const l=r.splice(t,a)[0];a=0,r.splice(o,a,l),n(r)},MenuProps:{anchorOrigin:{vertical:bn[400],horizontal:"center"}}})]})})},Vg=l({attributes:{},listeners:void 0,ref(){}}),Lg=e=>tt({...e,wasDragging:!0});function Fg({children:e,top:t,bottom:n,id:i}){const{attributes:o,isDragging:r,listeners:s,setNodeRef:l,setActivatorNodeRef:c,transform:u,transition:d}=et({id:i,animateLayoutChanges:Lg}),p=a((()=>({attributes:o,listeners:s,ref:c})),[o,s,c]),h={opacity:r?.4:void 0,transform:at.Translate.toString(u),transition:d};return On.jsx(Vg.Provider,{value:p,children:On.jsxs(O,{className:"SortableItem",...o,sx:{position:"relative",...h,width:"100%"},ref:l,children:[t&&t,On.jsx(j,{...s,sx:{display:"flex",cursor:"grab"},children:e}),n&&n]})})}const Bg={sideEffects:Ue({styles:{active:{opacity:"0.4"}}})};function Dg({children:e}){return lt(On.jsx(Ze,{zIndex:999999,dropAnimation:Bg,children:e}),document.body)}const Og=({nativeEvent:e})=>{let t=e.target;for(;t;){if(t.dataset.noDnd)return!1;t=t.parentElement}return!0};class Ig extends Je{static activators=[{eventName:"onMouseDown",handler:Og}]}class $g extends Qe{static activators=[{eventName:"onTouchStart",handler:Og}]}function Hg({items:e,onChange:t,renderItem:i,disabled:o,direction:s}){if(!e)return;const[l,c]=r(null),u=a((()=>e.find((e=>e?.id===l?.id))),[l,e]),d=w(),p=le(d.breakpoints.down("md")),h=Ge(Ye(Ig,{activationConstraint:{distance:5}}),Ye($g,{activationConstraint:{delay:p?300:0,tolerance:8}}),Ye(qe,{coordinateGetter:nt}));return On.jsxs(Ke,{measuring:{droppable:{strategy:Xe.Always}},sensors:h,onDragStart:({active:e})=>{c(e)},onDragEnd:({active:n,over:i})=>{if(i&&n.id!==i?.id){const o=e.findIndex((({id:e})=>e===n.id)),r=e.findIndex((({id:e})=>e===i.id));t(it(e,o,r))}c(null)},onDragCancel:()=>{c(null)},children:[On.jsx(ot,{items:e,disabled:o,strategy:"horizontal"===s?rt:st,children:On.jsx(O,{sx:{..."horizontal"===s&&{flexDirection:"row"},display:"flex",m:0,gap:1,padding:0,alignContent:"flex-start"},children:e.map((e=>On.jsx(n,{children:i(e)},e.id)))})}),On.jsx(Dg,{children:u?i(u,!0,!!l):null})]})}Hg.Item=Fg,Hg.DragHandle=function(){const{attributes:e,listeners:t,ref:n}=c(Vg);return On.jsx(j,{...e,...t,ref:n,children:On.jsx("svg",{viewBox:"0 0 20 20",width:"12",children:On.jsx("path",{d:"M7 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 2zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 14zm6-8a2 2 0 1 0-.001-4.001A2 2 0 0 0 13 6zm0 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 14z"})})})};const Ng=({labelTop:e,labelBottom:t,disabled:n,fullWidth:i=!1,options:o,onChange:s,value:a,internalChange:l})=>{const c=w(),[u,d]=r(a||o);function p(e){d(e),s(e.map((({id:e})=>e))),l&&l()}return On.jsxs(O,{gap:c.custom.margin.sm,textAlign:"center",sx:{width:i?"100%":"auto"},children:[e&&On.jsx(Qf,{disabled:n,sx:{color:c.custom.palette.text.secondary},children:e}),On.jsx(Hg,{onChange:function(e){d(e),s(e.map((({id:e})=>e))),l&&l()},items:u,direction:"vertical",renderItem:({...e})=>On.jsx(Fg,{id:e.id,children:On.jsx(Eg,{onChange:p,...e,options:u,disabled:n,selections:e.selections,fullWidth:i})})}),t&&On.jsx(Qf,{disabled:n,sx:{color:c.custom.palette.text.secondary},children:t})]})},Wg=y(dt)((({theme:e})=>({"&.MuiTiptap-FieldContainer-root":{backgroundColor:e.custom.palette.input.default,"&:hover":{".MuiTiptap-FieldContainer-notchedOutline":{borderSize:1,backgroundColor:e.custom.palette.interaction.hover,borderColor:e.custom.palette.stroke.default}}},"&.MuiTiptap-FieldContainer-focused":{".MuiTiptap-FieldContainer-notchedOutline":{transition:e.custom.easing.input,border:`1px solid ${e.custom.palette.stroke.focus}!important`,boxShadow:e.custom.boxShadow.input.focus}},".MuiTiptap-RichTextField-menuBar":{padding:0,borderRadius:e.spacing(e.custom.radius.md),background:e.custom.palette.surface.default,margin:e.spacing(e.custom.margin.sm),border:`1px solid ${e.custom.palette.stroke.default}`,marginBottom:0,".MuiTiptap-RichTextField-content":{padding:e.spacing(e.custom.padding.xs)}}}))),_g=({onChange:e,value:t,internalChange:n,minWidth:o=100,minHeight:r=100,maxHeight:s,placeholder:a})=>{const l=i(null),c=w();return On.jsx(Wg,{sx:{"& .ProseMirror":{overflowY:"auto",minHeight:r,minWidth:o,maxHeight:s}},ref:l,onUpdate:({editor:t})=>{e&&e(t.getHTML()),n&&n()},extensions:[ut.configure({strike:!1,code:!1,heading:!1,listItem:!1,bulletList:!1,orderedList:!1,blockquote:!1,horizontalRule:!1,codeBlock:!1}),ct.configure({placeholder:a}),mt],content:t,renderControls:()=>On.jsxs(O,{gap:c.custom.margin.xs,direction:"row",children:[On.jsx(pt,{}),On.jsx(ht,{})]})})},Ug=e=>({"& .MuiSlider-thumb":{width:bn[300],height:bn[300],backgroundColor:e.custom.palette.text.primary,boxShadow:e.custom.boxShadow.input.handle,"&:after":{content:'""',position:"absolute",top:"50%",left:"50%",width:bn[50],height:bn[50],backgroundColor:e.custom.palette.icon.primaryInverted}}}),Zg=e=>Array.isArray(e),Gg=(e,t)=>({height:bn[100],padding:`${bn[100]}px 0`,"& .MuiSlider-rail":{width:`calc(100% + ${bn[400]}px)`,left:`-${bn[200]}px`,backgroundColor:e.custom.palette.icon.disabled,opacity:1},"& .MuiSlider-track":{position:"relative",border:"none",backgroundColor:e.custom.palette.purple[500],"&:before":{content:'""',position:"absolute",top:0,left:t&&Zg(t)?`-${bn[100]+1}px`:`-${bn[200]+1}px`,width:`calc(100% + ${bn[200]}px)`,height:"100%",borderRadius:"inherit",backgroundColor:"inherit"}},"& .MuiSlider-mark":{height:bn[50],width:bn[50],borderRadius:e.custom.radius.round,backgroundColor:e.custom.palette.text.primaryInverted,"&.MuiSlider-markActive":{backgroundColor:e.custom.palette.text.primaryInverted}}}),Yg=e=>({"& .MuiSlider-valueLabel":{backgroundColor:e.custom.palette.purple[500],borderRadius:e.spacing(e.custom.radius.sm),padding:bn[50],minWidth:bn[400],"&.MuiSlider-valueLabelOpen":{top:"-9px"},"& .MuiSlider-valueLabelLabel":{padding:`0 ${e.spacing(e.custom.padding.xs)}`,fontSize:`${cr.lg.body.sm}`,color:e.custom.palette.text.lockedWhite,fontWeight:500,lineHeight:"140%"}}}),qg=y(ce)((({theme:e,value:t,hideMarkLabels:n,hideMarks:i})=>({"&.MuiSlider-root":{width:`calc(100% - ${bn[400]}px)`,marginLeft:bn[400]/2,...{...Gg(e,t)},...{...Ug(e)},...{...Yg(e)},"&.Mui-disabled":{"& .MuiSlider-rail, & .MuiSlider-track":{backgroundColor:e.custom.palette.icon.secondary},"& .MuiSlider-rail":{backgroundColor:e.custom.palette.icon.disabled},"& .MuiSlider-thumb":{backgroundColor:e.custom.palette.icon.disabled,"& .MuiSlider-valueLabel":{backgroundColor:e.custom.palette.icon.disabled}}},...n&&{".MuiSlider-markLabel":{visibility:"hidden"},".MuiSlider-markLabel:nth-of-type(4), .MuiSlider-markLabel:nth-last-of-type(2)":{visibility:"visible"}},".MuiSlider-mark":{color:e.custom.palette.text.secondary,...i&&{visibility:"hidden"},"&.MuiSlider-markLabelActive":{color:e.custom.palette.text.secondary}}}}))),Kg=(e,t)=>{if(!e)return!1;const n=e.querySelectorAll(t);if(n.length<2)return!1;const i=Array.from(n).map((e=>e.getBoundingClientRect()));let o=!1;for(let e=0;e<i.length-1;e++)if(i[e].right+5>i[e+1].left){o=!0;break}return o},Xg=({labelLeft:e,labelMiddle:t,labelRight:n,labelRightProps:s,labelLeftProps:a,disabled:l,onChange:c,internalChange:u,max:d=5,min:p=1,marks:h,marksStep:m=1,step:f=1,value:g=p,...x})=>{const{sanitisedMin:v,sanitisedMax:y}=((e,t)=>e>=t?{sanitisedMin:1,sanitisedMax:10}:{sanitisedMin:e,sanitisedMax:t})(p,d),b=i(null),w=h||((e,t,n)=>{const i=[];for(let o=e;o<=t;o++)o%n==0&&i.push({value:o,label:o.toString()});return i})(v,y,m),[C,k]=r(!1),[S,M]=r(!1),P=()=>{k(Kg(b.current,".MuiSlider-markLabel")),M(Kg(b.current,".MuiSlider-mark"))};return o((()=>{P()}),[w?.length]),o((()=>{const e=new ResizeObserver(P);return b.current&&e.observe(b.current),()=>{e.disconnect()}}),[]),On.jsxs(j,{sx:{minWidth:300},children:[On.jsx(j,{height:24,children:On.jsx(qg,{ref:b,valueLabelDisplay:l?"on":"auto",disabled:l,marks:w,step:f,hideMarkLabels:C,hideMarks:S,max:y,min:v,onChangeCommitted:()=>{u&&u()},onChange:(e,t,n)=>{c&&c(e,t,n)},value:g,...x})}),On.jsx(j,{sx:{display:"flex",justifyContent:"space-between",pt:Cn.lg,gap:1},children:(e||t||n)&&On.jsxs(On.Fragment,{children:[On.jsx(j,{sx:{flex:1},children:On.jsx(If,{disabled:l,showicon:!1,...a,children:e})}),t&&On.jsx(j,{sx:{flex:1,textAlign:"center"},children:On.jsx(If,{showicon:!1,disabled:l,children:t})}),On.jsx(j,{sx:{flex:1,textAlign:"right"},children:On.jsx(If,{...s,showicon:!1,disabled:l,children:n})})]})})]})},Jg=y(ue)((({theme:e})=>({"&.MuiRating-root":{"& .MuiRating-iconEmpty":{color:e.custom.palette.icon.secondary},"& .MuiRating-iconFilled":{color:e.custom.palette.yellow[600]},".MuiRating-iconHover":{fontSize:"inherit",transform:"none"},"&.Mui-disabled":{opacity:1,color:e.custom.palette.icon.disabled,"& .MuiRating-iconEmpty":{color:e.custom.palette.icon.disabled},"& .MuiRating-iconFilled":{color:e.custom.palette.icon.disabled}}}}))),Qg=({internalChange:e,onChange:t,...n})=>On.jsx(Jg,{...n,onChange:(n,i)=>{t&&t(n,i),e&&e()},icon:On.jsx(v,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:On.jsx("path",{d:"M24.114 35.395L32.414 40.415C33.934 41.335 35.794 39.975 35.394 38.255L33.194 28.815L40.534 22.455C41.874 21.295 41.154 19.095 39.394 18.955L29.734 18.135L25.954 9.21499C25.274 7.59499 22.954 7.59499 22.274 9.21499L18.494 18.115L8.83396 18.935C7.07396 19.075 6.35396 21.275 7.69396 22.435L15.034 28.795L12.834 38.235C12.434 39.955 14.294 41.315 15.814 40.395L24.114 35.395Z"})}),emptyIcon:On.jsx(v,{sx:{width:48,height:48},viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:On.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.1047 20.58L30.8559 27.7274L33.3274 38.3549L23.9992 32.713L14.6668 38.335L17.1388 27.7279L8.89132 20.5816L19.748 19.66L23.9966 9.63416L28.2463 19.6377L39.1047 20.58ZM12.7171 37.8892L14.9171 28.4492L7.57709 22.0892C6.23709 20.9292 6.95709 18.7292 8.71709 18.5892L18.3771 17.7692L22.1571 8.84916C22.8371 7.22916 25.1571 7.22916 25.8371 8.84916L29.6171 17.7492L39.2971 18.5892C41.0571 18.7292 41.7571 20.9292 40.4171 22.0892L33.0771 28.4492L35.2771 37.9092C35.6771 39.6292 33.8171 40.9892 32.2971 40.0692L23.9971 35.0492L15.6971 40.0492C14.1771 40.9692 12.3171 39.6092 12.7171 37.8892Z"})})}),ex=y((e=>On.jsx(de,{focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,...e})))((({theme:e,sizing:t})=>({width:"lg"===t?54:36,height:"lg"===t?30:20,padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:"lg"===t?3:2,transitionDuration:"300ms","&.Mui-checked":{transform:`translateX(${"lg"===t?24:16}px)`,color:"#fff","& + .MuiSwitch-track":{backgroundColor:e.custom.palette.green[500],opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid #fff"},"&.Mui-disabled .MuiSwitch-thumb":{color:e.custom.palette.neutral[100]},"&.Mui-disabled + .MuiSwitch-track":{opacity:"light"===e.palette.mode?.7:.3}},"& .MuiSwitch-thumb":{width:"lg"===t?24:16,height:"lg"===t?24:16,boxSizing:"border-box",boxShadow:"none",backdropFilter:"blur(0)",filter:"drop-shadow(0 0 0 rgba(255, 255, 255, 0.52))",outline:("lg"===t?2:1)+"px solid rgba(255, 255, 255, 0.12)"},"& .MuiSwitch-track":{borderRadius:("lg"===t?30:20)/2,backgroundColor:e.custom.palette.neutral[100],opacity:1,transition:e.transitions.create(["background-color"],{duration:500})}}))),tx=({sizing:e="sm",sx:t,inputRef:n,value:i,label:o,labelPlacement:r="start",fullWidth:s,onChange:a,internalChange:l,...c})=>On.jsx(Tf,{inputRef:n,checked:i,label:o,labelPlacement:r,control:On.jsx(ex,{sizing:e}),onChange:(e,t)=>{a&&a(e,t),l&&l()},sx:ye(s?{"& .MuiFormControlLabel-label":{width:"100%"}}:{},t),...c}),nx=y(Ef)((({theme:e})=>({"& .MuiInputBase-root":{paddingTop:0,paddingBottom:0,minHeight:bn[500],alignItems:"baseline","& .MuiInputBase-input":{},"& .MuiInputAdornment-root.MuiInputAdornment-positionStart":{alignSelf:"self-end",height:jo.xl,marginTop:e.spacing(1),marginBottom:e.spacing(1),"&:first-of-type":{alignSelf:"self-start"}}}}))),ix=({startAdornment:e,endAdornment:t,onChange:n,internalChange:i,inputRef:o,...r})=>On.jsx(nx,{multiline:!0,inputRef:o,InputProps:{startAdornment:e?On.jsx(Y,{position:"start",children:e}):null,endAdornment:t?On.jsx(Y,{position:"start",children:t}):null},...r,onChange:e=>{n&&n(e),i&&i()}}),ox=(e,t)=>{switch(e){case 1:return t.custom.palette.red[500];case 2:return t.custom.palette.yellow[500];case 3:case 4:return t.custom.palette.green[500];default:return t.custom.palette.icon.disabled}},rx=(e,t)=>{switch(e){case 1:return t.custom.palette.text.negative;case 2:return t.custom.palette.yellow[800];case 3:return t.custom.palette.green[800];case 4:return t.custom.palette.text.positive;default:return t.custom.palette.icon.disabled}},sx=y(H)((({theme:e,score:t})=>({boxShadow:"unset",background:e.custom.palette.neutral[100],borderRadius:e.spacing(e.custom.radius.sm),[`.${N.bar}`]:{borderRadius:e.spacing(e.custom.radius.sm),backgroundColor:ox(t,e)}}))),ax={translations:vt.translations,graphs:xt.adjacencyGraphs,dictionary:{...xt.dictionary,...vt.dictionary}};ft.setOptions(ax);const lx=({label:e="Strength",width:t=60,value:n,onChange:i})=>{const[s,a]=r(0),l=w();return o((()=>{a(gt(n).score)}),[n]),o((()=>{i(s)}),[s]),On.jsxs(O,{direction:"row",gap:1,sx:{alignItems:"center"},children:[On.jsx(Lo,{variation:"sm",component:"p",children:e}),On.jsx(sx,{variant:"determinate",value:0===s?6.6:25*s,score:s,sx:{width:t}}),On.jsx(Lo,{variation:"sm",component:"p",sx:{color:rx(s,l)},children:["","Very weak","Weak","Strong","Excellent"][s]})]})},cx=({helperText:e,inputName:t,errors:n,...i})=>{const o=Boolean(n&&n[t]);return o?On.jsx(yt,{errors:n,name:t,render:({message:e})=>On.jsx(If,{showicon:!!e,state:"negative",children:e})}):e&&!o?On.jsx(If,{state:"default",...i,children:e}):null},ux={textfield:Vf,numberfield:cg,textarea:ix,select:Ag,checkbox:Rf,checkboxGroup:Lf,switch:tx,slider:Xg,starRating:Qg,differential:Gf,likert:ag,radioGroup:ug,ranking:Ng,richTextfield:_g,customfield:Bf},dx=({name:e,fieldType:t,label:n,control:i,errors:s,labelProps:a,helperText:l,helpTextProps:c,validation:u,content:d,styleOverrides:p,defaultValue:h,onChange:m,watch:f,trigger:g,strengthIndicator:x,...v})=>{const{custom:y}=w(),b=void 0!==s&&Object.keys(s).length>0,[j,C]=r(0);return x&&o((()=>{j>0&&g(e)}),[j]),u?.match?.field&&o((()=>{u?.match?.field&&g(u?.match?.field)}),[f(e)]),On.jsxs(O,{sx:ye(p?.sxInputStack,v?.hidden&&{display:"none!important"}),gap:y.margin.sm,children:["switch"!==t?n&&On.jsx(Qf,{...a,children:n}):null,"html"===t&&d?On.jsx(Jf,{children:d}):On.jsxs(On.Fragment,{children:[On.jsx(He,{name:e,control:i,render:e=>function({field:{ref:e,...i}}){const o=ux[t];return On.jsx(o,{...v,...i,inputRef:e,..."switch"===t?{label:n}:{}})}(e),rules:{...u,validate:e=>{if(u&&"phone"in u)return We(`+${f("extension")}${e}`)||u.phone.message;if(u&&"score"in u)return j<=u.score.value?u.score.message:void 0;if(u&&"white_space"in u)return!e.match(/^\s*$/g)||u.white_space.message;if(u&&"match"in u&&u?.match?.field)switch(u?.match?.comparison){case"not_eq":return e!=f(u.match.field)||u.match.message;case"gt":return e>f(u.match.field)||u.match.message;case"lt":return e<f(u.match.field)||u.match.message;default:return e===f(u.match.field)||u.match.message}}}}),x&&"password"===v?.type&&On.jsx(lx,{value:f(e),onChange:C})]}),On.jsxs(On.Fragment,{children:[Boolean(b)?On.jsx(cx,{helperText:void 0,inputName:e,errors:s,showicon:!0}):null,Boolean(l)?On.jsx(cx,{helperText:l,inputName:e,errors:void 0,...c}):null]})]})},px=e=>e.reduce(((e,t)=>({...e,[t?.name]:hx(t,t?.defaultValue)})),{}),hx=(e,t)=>{switch(e.fieldType){case"select":return Array.isArray(t),t;case"starRating":case"numberfield":return t||0;case"slider":{const{min:n}=e;return Array.isArray(t)?t:t||n}case"likert":case"radioGroup":case"customfield":default:return t||"";case"checkboxGroup":return t||[];case"checkbox":case"switch":return t||!1;case"ranking":{const{options:n}=e;return t?t.map((e=>n.find((({id:t})=>t===e)))):n}}},mx=h((({submitButton:e,secondaryButton:t,onFormSubmit:n,onFormChange:i,formConfig:r},s)=>{const{custom:l}=w(),{fields:c,reValidateMode:u,styleOverrides:d,autoComplete:p,formId:h,mode:f}=r,x=Xf(c),{reset:v,getValues:y,trigger:b,setValue:C,control:k,formState:{isValid:S,errors:M},setFocus:P,handleSubmit:T,watch:A}=Ne({mode:f||"onChange",reValidateMode:u,defaultValues:a((()=>px(c)),[]),shouldUnregister:!0});o((()=>{if(void 0!==x){const e=x.filter((({fieldType:e})=>"html"!==e)).map((({name:e})=>e));c.filter((({name:t,fieldType:n})=>!e.includes(t)&&"html"!==n)).forEach((e=>{C(e.name,hx(e,e.defaultValue))}))}}),[c]),o((()=>{v(px(c))}),[h]),g(s,(()=>({set(e,t){C(e,t)},resetForm(){v()},focus(e){P(e)},submit(){n&&T(n)()},values:()=>y(),valid:()=>S,errors:()=>M,async triggerFormValidation(){await b()}})));const z=()=>{i&&i(y())};return On.jsxs(j,{component:"form",autoComplete:p,noValidate:!0,sx:d?.sxForm,...n&&{onSubmit:T(n)},children:[On.jsx(O,{gap:l.margin.md,sx:d?.sxStack,children:c.map((({name:e,...t})=>m(dx,{...i&&{internalChange:z},name:e,key:e,errors:M,control:k,watch:A,trigger:b,...t})))}),(t||e)&&On.jsxs(O,{direction:"row",sx:d?.sxButtons||{mt:l.margin.lg,gap:l.margin.sm,justifyContent:"flex-end"},children:[t&&t,e&&e]})]})})),fx=y(j)((({theme:e})=>({alignItems:"center",display:"flex",flexDirection:"column",height:"100%",left:0,pointerEvents:"none",position:"fixed",top:0,width:"100%",zIndex:e.zIndex.tooltip}))),gx=y(A)((({theme:e})=>({background:e.custom.palette.red[300],display:"flex",flex:1,opacity:.2,position:"relative"}))),xx=y(j)((({theme:e})=>({background:e.custom.palette.purple[300],display:"flex",flex:1}))),vx=y(j)((({theme:e})=>({background:e.custom.palette.green[300],height:"100%"}))),yx=y(j)((({theme:e})=>({backgroundColor:e.custom.palette.surface.default,borderRadius:e.spacing(e.custom.radius.md),bottom:16,boxShadow:e.custom.elevation.overlay,display:"block",left:16,padding:e.spacing(1,2),position:"fixed"}))),bx=({breakpoint:e})=>{const t=Array.from({length:6},((e,t)=>t));return e||(e=ps()),On.jsxs(fx,{children:[On.jsx(gx,{children:On.jsx(xx,{children:On.jsxs(z,{container:!0,spacing:2,sx:{flex:1},children:[t.map((e=>On.jsx(z,{sm:!0,sx:{display:{sm:"none",md:"block"}},children:On.jsx(vx,{})},`grid-1-${e}`))),t.map((e=>On.jsx(z,{sm:!0,sx:{display:{sm:"block"}},children:On.jsx(vx,{})},`grid-2-${e}`)))]})})}),!!e&&On.jsx(yx,{children:On.jsx(Lo,{variation:"md",component:"p",weight:"bold",children:e})})]})},wx=e=>({"&:first-of-type":{borderRadius:`calc(${e.spacing(e.custom.radius.md)} - 1px)`,borderBottomLeftRadius:0,borderBottomRightRadius:0},"&:last-of-type":{borderRadius:`calc(${e.spacing(e.custom.radius.md)} - 1px)`,borderTopRightRadius:0,borderTopLeftRadius:0}}),jx=e=>({"&:first-of-type":{borderRadius:`calc(${e.spacing(e.custom.radius.md)} - 1px)`,borderTopRightRadius:0,borderBottomRightRadius:0},"&:last-of-type":{borderRadius:`calc(${e.spacing(e.custom.radius.md)} - 1px)`,borderTopLeftRadius:0,borderBottomLeftRadius:0}}),Cx=y(pe)((({theme:e,variation:t,orientation:n="horizontal",iconColor:i,sizing:o="lg",groupRaised:r=!1})=>({"&.MuiButtonGroup-root":{backgroundColor:e.custom.palette.input.default,border:`1px solid ${e.custom.palette.stroke.default}`,...r&&{boxShadow:e.custom.elevation.raised,border:"none"},"& > button":{borderRadius:0,..."default"===t&&{...Wo(e)},..."toggle"===t&&{..._o(e)},..."vertical"===n&&{...wx(e)},..."horizontal"===n&&{...jx(e)},...o&&{...qo(o)}},"& .MuiSvgIcon-root":{...o&&{...Xo(o)},fill:i||"inherit"}}}))),kx=({ButtonGroupProps:e,children:t,...n})=>On.jsx(Cx,{...n,...e,children:t}),Sx=y(j)({"& .lazy-load-image-background.blur":{filter:"blur(15px)"},"& .lazy-load-image-background.blur.lazy-load-image-loaded":{filter:"blur(0)",transition:"filter .3s"},"& .lazy-load-image-background.blur > img":{opacity:"0"},"& .lazy-load-image-background.blur.lazy-load-image-loaded > img":{opacity:"1",transition:"opacity .3s"}}),Mx=({children:e,src:t,alt:n,width:i,height:o,...s})=>{const[a,l]=r(!1);return On.jsxs(On.Fragment,{children:[On.jsx(L,{in:!a,unmountOnExit:!0,children:On.jsx(j,{sx:{width:i,height:o,position:"absolute",inset:0},children:On.jsx(he,{variant:"rectangular",width:i,height:"100%"})})}),On.jsx(Sx,{children:On.jsx(bt,{onLoad:()=>l(!0),alt:n,height:o,src:t,width:i,threshold:500,effect:"blur",wrapperProps:{style:{transitionDelay:"200ms"}},...s})})]})},Px=()=>On.jsx(j,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100dvh - 80px)"},children:On.jsx("img",{src:"https://useloops-public.s3.eu-west-2.amazonaws.com/public/landing/brand/loading-animation.gif",width:125})}),Tx=e=>On.jsx("svg",{viewBox:"0 0 80 25",fill:"currentColor",...e,children:On.jsx("path",{d:"M8.72886 20.0975C7.43461 19.1995 7.16357 18.9302 7.16357 16.9549V0.988281H-0.000106812V1.28748L0.0165316 1.29764C1.3293 2.09875 1.92633 2.46309 1.92633 4.43011V16.9549C1.92633 18.9302 1.65553 19.1995 0.361043 20.0975V20.3965H8.72886V20.0975ZM14.5709 13.437C13.7868 9.01598 14.1045 7.0153 16.0905 6.66718C18.0767 6.31907 19.0631 8.09095 19.8472 12.512C20.6311 16.933 20.3137 18.9335 18.3275 19.2816C16.3415 19.6299 15.3548 17.8578 14.5709 13.437ZM9.11663 14.3934C9.93203 18.9911 14.141 21.3529 18.5575 20.5785C22.9743 19.8041 26.1169 16.1534 25.3015 11.5559C24.4861 6.95793 20.2773 4.5961 15.8605 5.3705C11.444 6.14467 8.30123 9.79541 9.11663 14.3934ZM33.3669 6.66718C31.381 7.0153 31.0633 9.01598 31.8474 13.437C32.6313 17.8578 33.618 19.6299 35.6039 19.2816C37.5901 18.9335 37.9076 16.933 37.1237 12.512C36.3396 8.09095 35.3531 6.31907 33.3669 6.66718ZM35.834 20.5785C31.4175 21.3529 27.2085 18.9911 26.3931 14.3934C25.5777 9.79541 28.7205 6.14467 33.137 5.3705C37.5538 4.5961 41.7625 6.95793 42.5779 11.5559C43.3933 16.1534 40.2508 19.8041 35.834 20.5785ZM52.9075 18.9002C51.0712 18.9002 49.6266 16.8353 49.6266 14.441V12.3162C49.6266 9.6524 50.9209 7.64737 52.9075 7.64737C54.9843 7.64737 56.0078 9.53285 56.0078 12.7351C56.0078 16.955 54.9542 18.9002 52.9075 18.9002ZM51.6733 24.5936C50.1696 23.7488 49.6266 23.4437 49.6266 21.5189V17.9125C50.4091 19.4689 51.9744 20.6958 54.5629 20.6958C58.476 20.6958 61.5762 17.763 61.5762 12.7052C61.5762 7.55754 58.5663 5.25308 55.1047 5.25308C52.2753 5.25308 50.3187 6.83937 49.6266 9.02405L49.5063 5.55228H42.5833V5.85171L42.5873 5.85427C43.8786 6.69033 44.3891 7.02081 44.3891 8.99411V21.5189C44.3891 23.4942 44.1183 23.7637 42.824 24.6613V24.9605H51.7937V24.6613L51.6733 24.5936ZM79.8954 18.9002C79.8954 19.8689 79.1055 20.6543 78.1313 20.6543C77.157 20.6543 76.3671 19.8689 76.3671 18.9002C76.3671 17.9315 77.157 17.1462 78.1313 17.1462C79.1055 17.1462 79.8954 17.9315 79.8954 18.9002ZM70.0692 10.2734C68.0387 9.67975 66.9044 9.34812 66.9044 8.15614C66.9044 7.16849 67.8074 6.71957 68.8309 6.71957C70.7874 6.71957 72.3224 7.827 74.0985 10.4007H74.5196V5.25306H74.2187L72.8642 6.24072C72.8031 6.21577 72.742 6.19075 72.681 6.16573C71.5696 5.71024 70.454 5.25306 68.7707 5.25306C65.55 5.25306 62.9916 7.22837 62.9916 10.1612C62.9916 12.795 64.2557 14.2912 68.8008 15.4585C70.4863 15.8775 71.6601 16.1767 71.6601 17.4636C71.6601 18.6608 70.4863 19.2293 69.0718 19.2293C66.9044 19.2293 65.3093 17.763 63.2021 14.9797H62.7509L63.0819 20.6661H63.413L64.6169 19.4688C65.5801 19.9477 67.0851 20.6958 69.1019 20.6958C72.9546 20.6958 75.6334 18.571 75.6334 15.5783C75.6334 12.4956 73.7672 11.3584 70.095 10.2809L70.0692 10.2734Z"})}),Ax=y(Xm)((({theme:e})=>({background:`linear-gradient(-18deg, ${e.custom.palette.purple[600]} 0%, ${e.custom.palette.blue[400]} 100%)`,color:e.custom.palette.white,padding:e.spacing(1),minWidth:0}))),zx=()=>On.jsx(Ax,{variation:"primary",sizing:"md",startIcon:On.jsx(Co,{name:"ai"}),children:"Loops AI"}),Rx={variation:"lg",component:"p",sx:{margin:0,"& > *":{display:"inline"}}},Ex=y("div")((()=>({whiteSpace:"pre"}))),Vx=e=>{const{children:t}=e,n=t&&t.replaceAll(/\s/g,"&nbsp;").replaceAll(/<p><\/p>/g,"<br />");return On.jsx(wt,{options:{overrides:{p:{component:Lo,props:Rx},strong:{component:Lo,props:{...Rx,weight:"bold"}},em:{component:Lo,props:{...Rx,fontWeight:"inherit",fontStyle:"italic"}}},wrapper:Ex,forceBlock:!0,forceWrapper:!0},children:n})},Lx=(e,t)=>"light"===t?{fontWeight:400}:{fontWeight:500,textTransform:"uppercase"},Fx=(e,t,n)=>{switch(t){case"peach":return{background:e.custom.palette.peach[100],color:"heavy"===n?e.custom.palette.peach[1e3]:e.custom.palette.peach[800]};case"peachDark":return{background:e.custom.palette.peach[800],color:e.custom.palette.peach[0]};case"purple":return{background:e.custom.palette.purple[100],color:"heavy"===n?e.custom.palette.purple[1e3]:e.custom.palette.purple[800]};default:return{background:e.custom.palette.neutral[100],color:"heavy"===n?e.custom.palette.neutral[1e3]:e.custom.palette.neutral[800]}}},Bx=y(re)((({theme:e,variation:t,weight:n})=>({borderRadius:e.spacing(e.custom.radius.md),height:28,...Fx(e,t,n),"& .MuiChip-label":{fontSize:`${cr.sm.body.sm}`,padding:`0 ${e.spacing(e.custom.padding.sm)}`,...Lx(0,n)},"& .MuiChip-icon":{width:"0.8em",height:"0.8em",marginRight:-4,...Fx(e,t,n),...Lx(0,n)}}))),Dx=({body:e,maxWidth:t,...n})=>On.jsx(Bx,{label:e,sx:{...t&&{maxWidth:`${t}px`}},...n});var Ox=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}();var Ix="undefined"!=typeof document,$x=function(e,t,n){for(var i=0,o=0;i=o,o=Zt(),38===i&&12===o&&(t[n]=1),!_t(o);)Wt();return Yt(e,qt)},Hx=function(e,t){return Dt(function(e,t){var n=-1,i=44;do{switch(_t(i)){case 0:38===i&&12===Zt()&&(t[n]=1),e[n]+=$x(qt-1,t,n);break;case 2:e[n]+=Gt(i);break;case 4:if(44===i){e[++n]=58===Zt()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Ut(i)}}while(i=Wt());return e}(Ot(e),t))},Nx=new WeakMap,Wx=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,i=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Nx.get(n))&&!i){Nx.set(e,!0);for(var o=[],r=Hx(t,o),s=n.props,a=0,l=0;a<r.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=o[a]?r[a].replace(/&\f/g,s[c]):s[c]+" "+r[a]}}},_x=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Ux(e,t){switch(It(e,t)){case 5103:return Rt+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Rt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Rt+e+Et+e+Vt+e+e;case 6828:case 4268:return Rt+e+Vt+e+e;case 6165:return Rt+e+Vt+"flex-"+e+e;case 5187:return Rt+e+zt(e,/(\w+).+(:[^]+)/,Rt+"box-$1$2"+Vt+"flex-$1$2")+e;case 5443:return Rt+e+Vt+"flex-item-"+zt(e,/flex-|-self/,"")+e;case 4675:return Rt+e+Vt+"flex-line-pack"+zt(e,/align-content|flex-|-self/,"")+e;case 5548:return Rt+e+Vt+zt(e,"shrink","negative")+e;case 5292:return Rt+e+Vt+zt(e,"basis","preferred-size")+e;case 6060:return Rt+"box-"+zt(e,"-grow","")+Rt+e+Vt+zt(e,"grow","positive")+e;case 4554:return Rt+zt(e,/([^-])(transform)/g,"$1"+Rt+"$2")+e;case 6187:return zt(zt(zt(e,/(zoom-|grab)/,Rt+"$1"),/(image-set)/,Rt+"$1"),e,"")+e;case 5495:case 3959:return zt(e,/(image-set\([^]*)/,Rt+"$1$`$1");case 4968:return zt(zt(e,/(.+:)(flex-)?(.*)/,Rt+"box-pack:$3"+Vt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Rt+e+e;case 4095:case 3583:case 4068:case 2532:return zt(e,/(.+)-inline(.+)/,Rt+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ht(e)-1-t>6)switch($t(e,t+1)){case 109:if(45!==$t(e,t+4))break;case 102:return zt(e,/(.+:)(.+)-([^]+)/,"$1"+Rt+"$2-$3$1"+Et+(108==$t(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Nt(e,"stretch")?Ux(zt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==$t(e,t+1))break;case 6444:switch($t(e,Ht(e)-3-(~Nt(e,"!important")&&10))){case 107:return zt(e,":",":"+Rt)+e;case 101:return zt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Rt+(45===$t(e,14)?"inline-":"")+"box$3$1"+Rt+"$2$3$1"+Vt+"$2box$3")+e}break;case 5936:switch($t(e,t+11)){case 114:return Rt+e+Vt+zt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Rt+e+Vt+zt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Rt+e+Vt+zt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Rt+e+Vt+e+e}return e}var Zx,Gx,Yx=Ix?void 0:(Zx=function(){return e=function(){return{}},t=Object.create(null),function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]};var e,t},Gx=new WeakMap,function(e){if(Gx.has(e))return Gx.get(e);var t=Zx(e);return Gx.set(e,t),t}),qx=[function(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case Ft:e.return=Ux(e.value,e.length);break;case Lt:return Tt([At(e,{value:zt(e.value,"@","@"+Rt)})],i);case St:if(e.length)return Mt(e.props,(function(t){switch(Pt(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Tt([At(e,{props:[zt(t,/:(read-\w+)/,":"+Et+"$1")]})],i);case"::placeholder":return Tt([At(e,{props:[zt(t,/:(plac\w+)/,":"+Rt+"input-$1")]}),At(e,{props:[zt(t,/:(plac\w+)/,":"+Et+"$1")]}),At(e,{props:[zt(t,/:(plac\w+)/,Vt+"input-$1")]})],i)}return""}))}}],Kx=function(e){var t=e.key;if(Ix&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i,o,r=e.stylisPlugins||qx,s={},a=[];Ix&&(i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;a.push(e)})));var l=[Wx,_x];if(Yx){var c=[jt],u=kt(l.concat(r,c)),d=Yx(r)(t),p=function(e,t){var n,i=t.name;return void 0===d[i]&&(d[i]=(n=e?e+"{"+t.styles+"}":t.styles,Tt(Bt(n),u))),d[i]};o=function(e,t,n,i){var o=t.name,r=p(e,t);return void 0===g.compat?(i&&(g.inserted[o]=!0),r):i?void(g.inserted[o]=r):r}}else{var h,m=[jt,Ct((function(e){h.insert(e)}))],f=kt(l.concat(r,m));o=function(e,t,n,i){var o;h=n,o=e?e+"{"+t.styles+"}":t.styles,Tt(Bt(o),f),i&&(g.inserted[t.name]=!0)}}var g={key:t,sheet:new Ox({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:o};return g.sheet.hydrate(a),g};const Xx=y("iframe")((()=>({border:"none",height:"100%",width:"100%"}))),Jx=e=>{const[t,n]=r(null),i=t?.contentWindow?.document?.body,o=Kx({key:"css",container:t?.contentWindow?.document?.head,prepend:!0});return On.jsx(Xx,{ref:n,children:i&&lt(On.jsx(Xt,{value:o,children:e.children}),i)})},Qx=()=>On.jsxs(O,{gap:.5,flexDirection:"row",children:[On.jsx(v,{sx:{width:67,height:12},viewBox:"0 0 67 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:On.jsx("path",{d:"M2.09034 4.64868H4.09536C5.65956 4.64868 6.41322 4.00878 6.41322 2.84274C6.41322 1.69092 5.65956 1.05102 4.09536 1.05102H2.09034V4.64868ZM2.09034 5.6583V9H0.86742V0.0413991H4.1238C6.34212 0.0413991 7.6077 1.09368 7.6077 2.84274C7.6077 4.60602 6.34212 5.6583 4.1238 5.6583H2.09034ZM9.27266 5.90004C9.27266 7.27938 9.96944 8.26056 11.2208 8.26056C12.4864 8.26056 13.1974 7.27938 13.1974 5.90004C13.1974 4.50648 12.4864 3.53952 11.2208 3.53952C9.96944 3.53952 9.27266 4.50648 9.27266 5.90004ZM14.4061 5.90004C14.4061 7.83396 13.0552 9.17064 11.2208 9.17064C9.40064 9.17064 8.06396 7.83396 8.06396 5.90004C8.06396 3.96612 9.40064 2.61522 11.2208 2.61522C13.0552 2.61522 14.4061 3.96612 14.4061 5.90004ZM19.9082 2.78586L21.2449 7.49268H21.3018L22.738 2.78586H23.8329L21.8564 9H20.7188L19.3963 4.36428H19.3394L18.0312 9H16.8936L14.9028 2.78586H16.083L17.5477 7.49268H17.6046L18.9128 2.78586H19.9082ZM29.4445 6.78168L30.4257 6.89544C30.1271 8.31744 29.0748 9.17064 27.5248 9.17064C25.6762 9.17064 24.3253 7.91928 24.3253 5.98536C24.3253 4.023 25.6762 2.61522 27.4679 2.61522C29.4445 2.61522 30.4541 4.023 30.4541 5.71518V6.17022H25.5056C25.5624 7.40736 26.4299 8.24634 27.539 8.24634C28.5771 8.24634 29.2028 7.74864 29.4445 6.78168ZM25.534 5.445H29.2454C29.217 4.43538 28.634 3.51108 27.4679 3.51108C26.3445 3.51108 25.662 4.40694 25.534 5.445ZM35.5059 2.89962L35.3921 3.96612C35.0509 3.78126 34.8091 3.71016 34.4252 3.71016C33.5293 3.71016 32.861 4.5207 32.861 5.71518V9H31.6807V2.78586H32.861V4.05144C33.0885 3.34044 33.7284 2.61522 34.6243 2.61522C35.0082 2.61522 35.2926 2.71476 35.5059 2.89962ZM40.9288 6.78168L41.91 6.89544C41.6114 8.31744 40.5591 9.17064 39.0091 9.17064C37.1605 9.17064 35.8096 7.91928 35.8096 5.98536C35.8096 4.023 37.1605 2.61522 38.9522 2.61522C40.9288 2.61522 41.9384 4.023 41.9384 5.71518V6.17022H36.9899C37.0468 7.40736 37.9142 8.24634 39.0233 8.24634C40.0614 8.24634 40.6871 7.74864 40.9288 6.78168ZM37.0183 5.445H40.7297C40.7013 4.43538 40.1183 3.51108 38.9522 3.51108C37.8289 3.51108 37.1463 4.40694 37.0183 5.445ZM47.8993 6.07068V5.71518C47.8993 4.36428 47.0461 3.56796 45.9227 3.56796C44.6998 3.56796 44.0172 4.47804 44.0172 5.90004C44.0172 7.32204 44.6998 8.23212 45.9227 8.23212C47.0461 8.23212 47.8993 7.4358 47.8993 6.07068ZM47.8851 9V7.70598C47.6007 8.47386 46.8186 9.17064 45.6525 9.17064C43.8039 9.17064 42.8085 7.73442 42.8085 5.90004C42.8085 4.06566 43.8039 2.61522 45.6525 2.61522C46.8186 2.61522 47.6007 3.32622 47.8851 4.0941V0.0413991H49.0653V9H47.8851ZM54.3847 5.71518V6.07068C54.3847 7.4358 55.2521 8.23212 56.3755 8.23212C57.5984 8.23212 58.2668 7.32204 58.2668 5.90004C58.2668 4.47804 57.5984 3.56796 56.3755 3.56796C55.2521 3.56796 54.3847 4.36428 54.3847 5.71518ZM54.3847 7.70598L54.1288 9H53.2329V0.0413991H54.4132V4.0941C54.6833 3.32622 55.4797 2.61522 56.6457 2.61522C58.4801 2.61522 59.4897 4.06566 59.4897 5.90004C59.4897 7.73442 58.4801 9.17064 56.6315 9.17064C55.4797 9.17064 54.6691 8.48808 54.3847 7.70598ZM62.6822 11.389H61.5304L62.54 8.98578L59.9235 2.78586H61.1607L63.1372 7.56378H63.1941L65.0996 2.78586H66.2656L62.6822 11.389Z",fill:"#473F5C"})}),On.jsxs(v,{sx:{width:40,height:12},viewBox:"0 0 40 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[On.jsx("g",{id:"Brand/Wordmark",clipPath:"url(#clip0_900_1816)",children:On.jsx("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M4.3189 9.56522C3.67851 9.11556 3.54429 8.98169 3.54429 7.99199V0H0V0.149886L0.00580287 0.153463C0.656931 0.554852 0.953183 0.737477 0.953183 1.72311V7.99199C0.953183 8.98169 0.818964 9.11556 0.17858 9.56522V9.7151H4.3189V9.56522ZM4.51113 6.71053C4.91378 9.01144 6.99646 10.1934 9.18264 9.80664C11.3677 9.41876 12.9226 7.58467 12.5199 5.28947C12.1173 2.99428 10.0346 1.80549 7.84841 2.19336C5.66223 2.58124 4.10847 4.40961 4.51113 6.71053ZM7.2103 6.23112C6.8247 4.01831 6.98053 3.01716 7.96215 2.84325C8.94377 2.66819 9.43515 3.55263 9.82074 5.76545C10.2063 7.97826 10.0516 8.97483 9.06889 9.15332C8.08613 9.33181 7.59589 8.44394 7.2103 6.23112ZM17.7306 9.80664C15.5455 10.1934 13.4629 9.01144 13.0591 6.71053C12.6553 4.40961 14.2102 2.58124 16.3963 2.19336C18.5825 1.80549 20.6641 2.99428 21.0678 5.28947C21.4716 7.58467 19.9156 9.41876 17.7306 9.80664ZM16.5101 2.84325C15.5273 3.01716 15.3726 4.01831 15.7582 6.23112C16.1438 8.44394 16.6341 9.33181 17.6168 9.15675C18.5996 8.98169 18.7543 7.98169 18.3687 5.76888C17.9831 3.55606 17.4928 2.66819 16.5101 2.84325ZM25.5683 11.8168C24.8234 11.3931 24.5553 11.2406 24.5553 10.2769L24.5575 8.4794C24.9443 9.25858 25.7189 9.873 26.9997 9.873C28.9356 9.873 30.47 8.40046 30.47 5.86842C30.47 3.29176 28.9743 2.13844 27.2681 2.13844C25.8679 2.13844 24.8988 2.93249 24.5575 4.02631L24.4973 2.28833H21.0724V2.43135L21.0731 2.43181C21.713 2.85024 21.9653 3.01524 21.9653 4.00458V10.2769C21.9653 11.2654 21.8322 11.4005 21.1907 11.8501V12H25.6267V11.8501L25.5683 11.8168ZM26.1784 8.9611C25.2696 8.9611 24.5553 7.92792 24.5553 6.72998V5.66247C24.5553 4.32952 25.1957 3.32494 26.1784 3.32494C27.2055 3.32494 27.7117 4.27002 27.7117 5.87185C27.7117 7.98741 27.1907 8.9611 26.1784 8.9611ZM38.6585 9.84325C39.1403 9.84325 39.5309 9.45034 39.5309 8.96567C39.5309 8.481 39.1403 8.0881 38.6585 8.0881C38.1767 8.0881 37.7861 8.481 37.7861 8.96567C37.7861 9.45034 38.1767 9.84325 38.6585 9.84325ZM34.6585 4.64621C33.661 4.35019 33.0998 4.18365 33.0998 3.5881C33.0998 3.08924 33.5548 2.86842 34.0552 2.86842C35.0244 2.86842 35.783 3.42334 36.6623 4.71167H36.8704V2.13501H36.7214L36.0515 2.62929C36.0223 2.61721 35.9931 2.6051 35.9639 2.59299C35.4126 2.36413 34.8607 2.13501 34.0257 2.13501C32.4321 2.13501 31.1661 3.12357 31.1661 4.59153C31.1661 5.90961 31.7929 6.65904 34.0416 7.24371C34.8765 7.45309 35.4566 7.60297 35.4566 8.24714C35.4566 8.84668 34.8765 9.13043 34.1758 9.13043C33.0998 9.13043 32.3138 8.39702 31.2799 7.00343H31.0524L31.2094 9.85011H31.3731L31.968 9.25057C32.4446 9.49085 33.1897 9.86499 34.1872 9.86499C36.0936 9.86499 37.4198 8.80091 37.4198 7.3032C37.4198 5.75973 36.4985 5.19107 34.6786 4.65217L34.6585 4.64621Z",fill:"#473F5C"})}),On.jsx("defs",{children:On.jsx("clipPath",{id:"clip0_900_1816",children:On.jsx("rect",{width:"39.5321",height:"12",fill:"white"})})})]})]}),ev=({typographyProps:e,text:t,sx:n})=>{const i=w();return On.jsx(j,{sx:ye(n,{width:"100%",position:"relative",display:"flex",gap:4,my:i.spacing(i.custom.margin.md),"&:before":{content:'""',width:"100%",background:i.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"},"&:after":{content:'""',width:"100%",background:i.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"}}),children:On.jsx(Lo,{align:"center",variation:"sm",component:"p",...e,children:t})})},tv=({buttons:e,message:t,status:n="neutral",variation:i="sm"})=>{const o=w();return On.jsx(O,{sx:{backgroundColor:o.custom.palette.surface.overlay,borderRadius:o.spacing(o.custom.radius.lg),boxShadow:o.custom.elevation.overlay,color:o.custom.palette.text.primaryInverted,display:"flex",flex:1,gap:1,p:2},children:On.jsxs(j,{sx:{display:"flex",flex:1,flexDirection:"sm"===i?"row":"column",gap:2},children:[On.jsxs(j,{sx:{display:"flex",flex:1,gap:1},children:["neutral"!==n&&On.jsx(nv,{status:n}),On.jsx(j,{sx:{display:"flex"},children:On.jsx(Lo,{variation:"md",component:"p",sx:{px:1,pt:.5},children:t})})]}),e&&On.jsx(j,{sx:{alignItems:"center",display:"flex",gap:2,justifyContent:"flex-end"},children:e})]})})},nv=({status:e})=>{const t=w();switch(e){case"neutral":return null;case"success":return On.jsx(iv,{backgroundColor:t.custom.palette.green[500],name:"check-circle"});case"warning":return On.jsx(iv,{backgroundColor:t.custom.palette.yellow[500],name:"error"});case"danger":return On.jsx(iv,{backgroundColor:t.custom.palette.red[500],name:"warning"});case"discover":return On.jsx(iv,{backgroundColor:t.custom.palette.purple[500],name:"lightbulb"})}},iv=({backgroundColor:e,name:t})=>{const n=w();return On.jsx(j,{sx:{display:"flex",alignItems:"flex-start",pt:.25},children:On.jsx(j,{sx:{backgroundColor:e,borderRadius:n.custom.radius.round,color:n.custom.palette.white,display:"flex",p:.5},children:On.jsx(Co,{name:t,size:20})})})},ov=y(j)((({theme:e,divider:t=!1})=>({width:"100%",transition:"all 0.3s ease",borderBottom:t?`1px solid ${e.custom.palette.stroke.default}`:"none","&:hover":{'*[data-id="image-container"]':{boxShadow:e.custom.elevation.raised}}}))),rv=y(me)((({theme:e,disableHoverStyle:t=!1})=>({...!0===t&&{"& .MuiCardActionArea-focusHighlight":{backgroundColor:e.palette.background.paper}}}))),sv=y(j)((({theme:e})=>({transition:"all 200ms ease",boxShadow:"none",overflow:"hidden",height:150,position:"relative",borderRadius:e.spacing(e.custom.radius.md)}))),av=({thumbnail:e,title:t,description:n})=>On.jsx(Mx,{src:e,alt:`${t} | ${n}`,title:`${t} | ${n}`,style:{width:"100%",height:"auto",objectFit:"cover"}}),lv=y(fe)((({theme:e})=>({paddingTop:e.spacing(e.custom.padding.xs),paddingBottom:e.spacing(e.custom.padding.xs),paddingLeft:0,paddingRight:0,display:"flex",flexDirection:"column",gap:e.spacing(e.custom.margin.xs),'& [data-id="title-container"]':{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"start",gap:e.spacing(e.custom.margin.xs),"& > p":{alignSelf:"center"}}}))),cv=y(he)((({theme:e})=>({transform:"none",width:"100%",height:"100%"}))),uv=({updatedDate:e,format:t=!1,noWrap:n})=>On.jsxs(Lo,{variation:"sm",component:"p",color:"text.secondary",noWrap:n,children:["Edited on ",t?Jt(e).format("DD MMM YYYY"):e]}),dv=({title:e,description:t,loopCount:n,testCount:i,draftCount:o,updatedAt:r,moreActions:s,thumbnail:a,isDemo:l,loading:c,onClick:u})=>c?On.jsx(ov,{children:On.jsxs(rv,{disableHoverStyle:!0,children:[On.jsx(sv,{"data-id":"image-container",children:On.jsx(cv,{})}),On.jsxs(lv,{children:[On.jsx(j,{"data-id":"title-container",height:32,children:On.jsx(cv,{})}),On.jsx(cv,{}),On.jsx(cv,{width:"60%"})]})]})}):On.jsx(ov,{children:On.jsxs(rv,{disableHoverStyle:!0,onClick:u,children:[On.jsxs(sv,{"data-id":"image-container",children:[l&&On.jsx(gf,{body:"Demo",sx:{bottom:8,left:8}}),On.jsx(av,{thumbnail:a,title:e,description:t})]}),On.jsxs(lv,{children:[On.jsxs(j,{"data-id":"title-container",children:[On.jsx(xf,{title:e,maxLines:2}),On.jsx(j,{"data-id":"more-actions-container",onClick:e=>{e.stopPropagation()},children:s})]}),On.jsx(mf,{loops:n,tests:i,drafts:o}),On.jsx(uv,{updatedDate:r,format:!0})]})]})}),pv=({title:e,description:t,loopCount:n,testCount:i,draftCount:o,updatedAt:r,moreActions:s,thumbnail:a,isDemo:l,loading:c,onClick:u})=>{const d=w();return c?On.jsx(ov,{divider:!0,children:On.jsxs(rv,{onClick:u,sx:{p:d.spacing(d.custom.padding.xs),display:"flex",gap:d.spacing(d.custom.margin.sm),alignItems:"center"},children:[On.jsx(sv,{sx:{height:72,width:108},"data-id":"image-container",children:On.jsx(cv,{})}),On.jsx(lv,{sx:{overflow:"hidden",pl:d.spacing(d.custom.padding.sm),minWidth:67,flex:1,"&:last-child":{pb:0}},children:On.jsxs(O,{gap:d.spacing(d.custom.margin.xs),children:[On.jsx(cv,{width:"100%",height:20}),On.jsxs(O,{direction:"row",gap:d.spacing(d.custom.margin.xs),justifyContent:"space-between",flexWrap:"wrap",children:[On.jsx(cv,{width:"70%"}),On.jsx(cv,{width:200})]})]})})]})}):On.jsx(ov,{divider:!0,children:On.jsxs(rv,{onClick:u,sx:{p:d.spacing(d.custom.padding.xs),display:"flex",gap:d.spacing(d.custom.margin.sm),alignItems:"center"},children:[On.jsxs(sv,{sx:{height:72,width:108},"data-id":"image-container",children:[l&&On.jsx(gf,{sx:{top:4,right:4},body:"Demo"}),On.jsx(av,{thumbnail:a,title:e,description:t})]}),On.jsx(lv,{sx:{overflow:"hidden",pl:d.spacing(d.custom.padding.sm),minWidth:67,flex:1,"&:last-child":{pb:0}},children:On.jsxs(O,{gap:d.spacing(d.custom.margin.xs),children:[On.jsx(xf,{title:e,maxLines:1}),On.jsxs(O,{direction:"row",gap:d.spacing(d.custom.margin.xs),justifyContent:"space-between",flexWrap:"wrap",children:[On.jsx(mf,{loops:n,tests:i,drafts:o}),On.jsx(uv,{updatedDate:r,format:!0,noWrap:!0})]})]})}),s&&On.jsx(j,{onClick:e=>e.stopPropagation(),children:s})]})})},hv=e=>"list"===e.viewType?On.jsx(pv,{...e}):On.jsx(dv,{...e}),mv=y(j)((({theme:e})=>({alignItems:"center",backgroundColor:e.custom.palette.surface.default,borderBottom:`0.5px solid ${e.custom.palette.stroke.default}`,display:"flex",gap:e.spacing(1),justifyContent:"space-between",padding:1}))),fv=y(j)((({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1)}))),gv=y(Lo)((({theme:e})=>({color:e.custom.palette.text.secondary}))),xv=({buttons:e,subtitle:t,title:n})=>On.jsx(On.Fragment,{children:On.jsx(mv,{sx:{justifyContent:"space-between"},children:On.jsx(A,{children:On.jsx(z,{container:!0,spacing:2,children:On.jsx(z,{sm:!0,children:On.jsxs(fv,{sx:{justifyContent:"space-between",py:1},children:[On.jsx(fv,{children:On.jsxs(fv,{sx:{alignItems:"flex-start",flexDirection:"column",gap:0},children:[n&&On.jsx(Lo,{variation:"sm",component:"h2",weight:"bold",children:n}),t&&On.jsx(gv,{variation:"sm",component:"p",children:t})]})}),e&&On.jsx(fv,{children:e})]})})})})})}),vv=({body:e,currency:t,changeCurrencyEvent:n=()=>{},frequency:i,heading:o,setCurrency:r=()=>{},setFrequency:s=()=>{},togglePayAnnuallyEvent:a=()=>{},sizing:l="lg",selections:c=[{value:"gbp",label:"£"},{value:"eur",label:"€"},{value:"usd",label:"$"}]})=>{const u=w(),d=ps();return On.jsxs(j,{sx:{alignItems:"center",backgroundColor:u.custom.palette.surface.default,borderRadius:u.custom.radius.round,boxShadow:u.custom.elevation.raised,display:"flex",gap:{sm:2,lg:4},mb:2,mt:4,px:{sm:2,lg:"sm"===l?2:4},py:{sm:1,lg:2}},children:[On.jsxs(j,{sx:{alignItems:"center",display:"flex",gap:1},children:[On.jsx(j,{sx:{pr:2},children:On.jsx(tx,{defaultChecked:!0,onChange:()=>(a(),void s("monthly"===i?"annual":"monthly")),role:"switch","aria-checked":"monthly"!==i,"aria-label":"Switch between monthly and annual billing",inputProps:{"aria-label":"Input for switch between monthly and annual billing"},sizing:l})}),On.jsxs(O,{sx:{alignItems:"flex-start",display:"flex"},children:[On.jsx(Lo,{variation:"sm"===d||"md"===d||"sm"===l?"md":"xxl",component:"p",children:o}),On.jsx(Lo,{variation:"sm",component:"p",sx:{color:u.custom.palette.text.secondary},children:e})]})]}),On.jsx(Ag,{name:"currency",onChange:e=>{return t=e.target.value,n(t),void r(t);var t},selections:c,value:c.find((e=>e.value===t))?.value,sx:{minWidth:{sm:64,lg:72},height:{sm:bn[400],lg:bn[500]}}})]})};var yv={headings:{"01-starter":{heading:"Starter",pricing:"{{currencySymbol}} {{starterPrice}} / month"},"02-team":{heading:"Team",pricing:"{{currencySymbol}} {{teamPrice}} / month"},"03-plus":{heading:"Plus",pricing:"{{currencySymbol}} {{plusPrice}} / month"},"04-scale":{heading:"Scale",pricing:"{{currencySymbol}} {{scalePrice}} / month"}},rows:{"01-seats":{heading:"Seats",description:"The number of users you can have on your account.",starter:"1",team:"10",plus:"50",scale:"100+"},"02-servicing":{heading:"Client servicing included",description:"Get direct communication with a Loops Customer Success Manager.",starter:"{{dash}}",team:"{{dash}}",plus:"Serviced lite",scale:"💪\nFully serviced"},"03-respondents":{heading:"Price per respondent",description:"The amount you pay to recruit and survey each respondent.",starter:"{{currencySymbol}}{{starterRespondentPrice}}",team:"{{currencySymbol}}{{teamRespondentPrice}}",plus:"{{currencySymbol}}{{plusRespondentPrice}}",scale:"{{currencySymbol}}{{scaleRespondentPrice}}"},"04-questions":{heading:"Question limit",description:"The maximum number of questions you can add to a test.",starter:"10",team:"15",plus:"20",scale:"25"},"05-ai":{heading:"AI-powered insights",description:"Use Loops AI to summarise the findings from your tests.",starter:"Basic",team:"✨\nAdvanced",plus:"✨\nAdvanced",scale:"✨\nAdvanced"},"06-demographics":{heading:"Demographic filters",description:"Reach your target audience using built-in demographic filters.",starter:"Basic",team:"🎯\nAdvanced",plus:"🎯\nAdvanced",scale:"🎯\nAdvanced"},"07-training":{heading:"Training",description:"Our team will onboard you and get you set up.",starter:"{{dash}}",team:"{{tick}}",plus:"{{tick}}",scale:"{{tick}}"},"08-invite":{heading:"Invite your own respondents",description:"Share your test with your own recruited audience.",starter:"{{dash}}",team:"{{tick}}",plus:"{{tick}}",scale:"{{tick}}"},"09-email":{heading:"Email capture",description:"Ability to collect respondent email addresses.",starter:"{{dash}}",team:"{{tick}}",plus:"{{tick}}",scale:"{{tick}}"},"10-beta":{heading:"Beta features",description:"Assess to our latest features as they become available.",starter:"{{dash}}",team:"{{dash}}",plus:"{{tick}}",scale:"{{tick}}"},"11-sso":{heading:"Single sign on (SSO)",description:"Enterprise level authentication using SAML (supports Okta and OneLogin).",starter:"{{dash}}",team:"{{dash}}",plus:"{{dash}}",scale:"{{tick}}"},"12-minimum":{heading:"Minimum term",description:"The minimum subscription period.",starter:"30 days",team:"6 months",plus:"6 months",scale:"12 months"}}};const bv=({currencySymbol:e,data:t,starterPrice:n,starterRespondentPrice:i,teamPrice:o,teamRespondentPrice:r,plusPrice:s,plusRespondentPrice:a,scalePrice:l,scaleRespondentPrice:c,variation:u="default"})=>{const d=w();t||(t=yv);const p=Object.values(t.headings).map((({heading:t,pricing:i})=>({heading:t,pricing:i.replace("{{currencySymbol}}",e).replace("{{starterPrice}}",n).replace("{{teamPrice}}",o).replace("{{plusPrice}}",s).replace("{{scalePrice}}",l)}))),h=t=>t.replace("{{currencySymbol}}",e).replace("{{starterRespondentPrice}}",i||"").replace("{{teamRespondentPrice}}",r||"").replace("{{plusRespondentPrice}}",a||"").replace("{{scaleRespondentPrice}}",c||""),m=[...Object.values(t.rows).map(((e,t)=>({key:`pricing-table-features-${t}`,type:"row",name:{heading:e.heading,description:e.description},starter:h(e.starter),team:h(e.team),plus:h(e.plus),scale:h(e.scale)})))];return On.jsxs(O,{sx:{backgroundColor:d.custom.palette.surface.default,borderRadius:d.spacing(d.custom.radius.xl),boxShadow:d.custom.elevation.raised,display:"flex",gap:2,pb:{sm:2,lg:4},px:{sm:2,lg:4},minWidth:{sm:680}},children:[On.jsxs(j,{sx:{display:"flex",py:2,px:1,justifyContent:"space-between"},children:[On.jsx(j,{sx:{width:160}}),p.map((({heading:e,pricing:t})=>On.jsxs(O,{sx:{alignItems:"center",display:"flex",justifyContent:"center",width:122},children:[On.jsx(Lo,{variation:"platform"===u?"lg":"xxl",component:"p",weight:"bold",children:e}),On.jsx(Lo,{variation:"platform"===u?"sm":"md",component:"p",sx:{color:d.custom.palette.text.secondary},children:t})]},e)))]}),m.map((e=>On.jsxs(j,{sx:{display:"flex",justifyContent:"space-between",p:1,"&:nth-of-type(odd)":{backgroundColor:d.custom.palette.surface.sunken}},children:[On.jsx(j,{sx:{display:"flex",alignItems:"center",width:160},children:On.jsxs(j,{sx:{display:"flex",justifyContent:"flex-start",alignItems:"center",flex:1,gap:1},children:[e.name.description&&On.jsx(No,{message:e.name.description,children:On.jsx(j,{sx:{alignItems:"center",color:d.custom.palette.icon.secondary,display:"flex"},children:On.jsx(Co,{name:"info",size:24})})}),On.jsx(Lo,{variation:"platform"===u?"md":"lg",component:"p",children:e.name.heading})]})}),On.jsx(wv,{text:e.starter}),On.jsx(wv,{text:e.team}),On.jsx(wv,{text:e.plus}),On.jsx(wv,{text:e.scale})]},e.key)))]})},wv=({text:e})=>{const t=w(),n="{{tick}}"===e,i="{{dash}}"===e;return On.jsx(j,{sx:{display:"flex",alignItems:"center",textAlign:"center",width:122},children:On.jsxs(j,{sx:{display:"flex",justifyContent:"center",alignItems:"center",p:{sm:.5,md:1},flex:1},children:[n&&On.jsx(Co,{name:"badge-tick-in-circle",size:24}),i&&On.jsx(Co,{name:"badge-hyphen",size:24}),!n&&!i&&On.jsx(Lo,{variation:"lg",component:"p",sx:{color:t.custom.palette.text.secondary,hyphens:"none",whiteSpace:"pre"},children:On.jsx(On.Fragment,{children:e})})]})})},jv=()=>{const e="object"==typeof window;function t(){return{width:e?window.innerWidth:void 0,height:e?window.innerHeight:void 0}}const[n,i]=r(t);return o((()=>{if(e)return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n);function n(){x((()=>{i(t())}))}}),[]),n},Cv=({amount:e,billingType:t,body:n,ctaEvent:s=()=>{},ctaLink:a="#",ctaTarget:l="_self",ctaText:c,ctaVariation:u="primary",currencySymbol:d,currentPlan:p,features:h=[],freeTrialLength:m,freeTrialText:f,frequency:g,heading:v,label:y,largestHeaderHeight:b=0,perMonth:C,setLargestHeaderHeight:k=()=>{},variation:S="default"})=>{const M=w(),P=ps(),{width:T}=jv(),A=i(null),[z,R]=r("sm");return o((()=>{x((()=>{R(P),P!==z&&k(0),A.current&&A.current.offsetHeight>b&&k(A.current.offsetHeight)}))}),[P,z,T]),On.jsxs(O,{sx:{display:"flex",flex:1,position:"relative"},children:[On.jsx(O,{sx:{alignItems:"center",backgroundColor:M.custom.palette.icon.primary,borderTopLeftRadius:M.spacing(M.custom.radius.lg),borderTopRightRadius:M.spacing(M.custom.radius.lg),boxShadow:M.custom.elevation.overlay,color:M.custom.palette.text.primaryInverted,justifyContent:"center",p:{sm:1,lg:2},textTransform:"uppercase",opacity:y?1:0,display:{sm:y?"flex":"none",md:"flex"}},children:On.jsx(Lo,{variation:"md",component:"p",weight:"bold",sx:{color:M.custom.palette.white},children:y||"&nbsp;"})}),On.jsxs(O,{sx:{backgroundColor:M.custom.palette.surface.default,borderBottomLeftRadius:M.spacing(M.custom.radius.lg),borderBottomRightRadius:M.spacing(M.custom.radius.lg),borderTopLeftRadius:y?0:M.spacing(M.custom.radius.lg),borderTopRightRadius:y?0:M.spacing(M.custom.radius.lg),boxShadow:M.custom.elevation.overlay,display:"flex",flex:1},children:[On.jsxs(O,{sx:{display:"flex",gap:"sm"===P||"md"===P?1:2,textAlign:"center",minHeight:{sm:"none",md:b},px:2,py:{sm:2,lg:4}},ref:A,children:[On.jsx(Lo,{variation:"sm"===P?"xxl":"platform"===S?"md":"lg",component:"h2",weight:"bold",children:v}),On.jsx(Lo,{variation:"sm"===P?"md":"platform"===S?"md"===P?"sm":"md":"md"===P?"md":"lg",component:"p",sx:{color:M.custom.palette.text.secondary},children:n})]}),On.jsxs(O,{sx:{alignItems:"center",display:"flex",gap:2,minHeight:{sm:"none",md:168,lg:"platform"===S?184:240,xl:"platform"===S?184:226},px:2,py:{sm:2,md:2,lg:"platform"===S?2:6}},children:[On.jsxs(j,{sx:{alignItems:"flex-end",display:"flex",gap:.5,justifyContent:"center"},children:[On.jsx(Lo,{variation:"md"===P?"sm":"xxl",component:"p",weight:"bold",sx:{lineHeight:1,marginBottom:-.15,marginRight:-.4},children:d}),On.jsx(Lo,{variation:"xxl",component:"p",weight:"bold",sx:{fontSize:{sm:48,md:26,lg:48},lineHeight:.8},children:e}),C&&On.jsx(Lo,{variation:"sm",component:"p",sx:{color:M.custom.palette.text.secondary,lineHeight:1,marginLeft:-.5},children:C})]}),m&&f&&On.jsxs(j,{sx:{alignItems:"center",backgroundColor:M.custom.palette.yellow[300],borderRadius:M.custom.radius.round,boxShadow:M.custom.elevation.raised,display:"flex",gap:{sm:.5,md:1},px:2,py:1},children:[On.jsx(Co,{name:"gift",size:24}),On.jsxs(j,{sx:{display:"flex",flexDirection:{sm:"row",md:"column",lg:"row"},gap:{sm:.5,md:0,lg:.5}},children:[On.jsx(Lo,{variation:"md",component:"p",weight:"bold",sx:{lineHeight:1},children:m}),On.jsx(Lo,{variation:"md",component:"p",sx:{lineHeight:1},children:f})]})]}),t&&On.jsx(Lo,{variation:"sm",component:"p",sx:{color:M.custom.palette.text.placeholder},children:t})]}),On.jsxs(O,{sx:{display:"flex",flexDirection:{sm:"column-reverse",md:"column"}},children:[On.jsx(j,{sx:{py:{sm:2,md:0},px:{sm:2,lg:4}},children:On.jsx(Eo,{href:a,title:c,target:l,onClick:()=>{v&&s(v)},sx:{"&:hover":{cursor:p?"default":"pointer"}},children:On.jsx(Xm,{fullWidth:!0,variation:u,sizing:"lg",disabled:p,children:c})})}),h?.length&&On.jsx(O,{sx:{alignItems:"center",gap:.5,px:{sm:2,lg:4},py:{sm:2,md:4,lg:"platform"===S?4:6}},children:h.map(((e,t)=>On.jsxs(j,{sx:{alignItems:"center",display:"flex",gap:1,maxWidth:200,width:"100%"},children:[On.jsx(Co,{name:"badge-tick",size:24}),On.jsx(Lo,{variation:"md",component:"p",children:e})]},`${v}-feature-${t}`)))})]})]})]})},kv=({body:e,ctaEvent:t=()=>{},ctaLink:n="",ctaTarget:i="_blank",ctaText:o,currencySymbol:r,heading:s,postText:a,preText:l,amount:c})=>{const u=w();return On.jsxs(j,{sx:{backgroundColor:u.custom.palette.purple[0],borderRadius:u.spacing(u.custom.radius.lg),display:"flex",flexDirection:{sm:"column",md:"row"},textAlign:{sm:"center",md:"left"},boxShadow:u.custom.elevation.overlay,flex:1,gap:{sm:4,md:2},p:{sm:2,lg:4}},children:[On.jsxs(O,{sx:{flex:1,gap:2,justifyContent:"center"},children:[On.jsx(Lo,{variation:"md",component:"h2",sx:{fontWeight:500},children:s}),On.jsx(Lo,{variation:"md",component:"p",sx:{color:u.custom.palette.text.secondary},children:e})]}),On.jsxs(O,{sx:{flex:1,gap:{sm:4,md:2},justifyContent:"center",maxWidth:{sm:"none",md:180,lg:320},p:{sm:0,md:2,lg:4}},children:[On.jsxs(j,{sx:{alignItems:"flex-end",display:"flex",justifyContent:"center"},children:[On.jsx(Lo,{variation:"md",component:"p",sx:{color:u.custom.palette.text.placeholder,pr:.5},children:l}),On.jsxs(j,{sx:{alignItems:"flex-end",display:"flex"},children:[On.jsx(Lo,{variation:"xxl",component:"p",sx:{fontWeight:500,lineHeight:1.2},children:r}),On.jsx(Lo,{variation:"xxl",component:"p",sx:{fontWeight:500,fontSize:{sm:"1.6rem",lg:"2.2rem"},lineHeight:{sm:1.15,lg:1}},children:c})]}),On.jsx(Lo,{variation:"md",component:"p",sx:{color:u.custom.palette.text.placeholder,pl:.1},children:a})]}),On.jsx(Eo,{href:n,title:o,target:i,onClick:()=>{s&&t(s)},children:On.jsx(Xm,{fullWidth:!0,variation:"outlined",sizing:"lg",children:o})})]})]})},Sv=({heading:e,ticks:t})=>On.jsxs(O,{sx:{display:"flex",gap:{sm:2,lg:4},py:{sm:2,lg:4}},children:[On.jsx(Lo,{variation:"xl",component:"p",sx:{textAlign:"center"},children:e}),On.jsx(j,{sx:{columnGap:4,display:"flex",flex:1,flexWrap:"wrap",justifyContent:"center",rowGap:2},children:t.map(((t,n)=>On.jsxs(j,{sx:{display:"flex",alignItems:"center",gap:1,px:{sm:0,lg:2}},children:[On.jsx(Co,{name:"badge-tick",size:32}),On.jsx(Lo,{variation:"xxl",component:"p",children:t})]},`tick-group-${e}-${n}`)))})]});function Mv(e,t){const n=new Set(e),i=new Set(t);return e.every((e=>i.has(e)))&&t.every((e=>n.has(e)))}const Pv="https://useloops-public.s3.eu-west-2.amazonaws.com/public/fonts/",Tv=()=>On.jsx(xe,{styles:{"strong, b":{fontWeight:500}}}),Av=l(null),zv=(e="light",t="lg",n="ltr")=>{const{width:i}=jv(),[s,l]=r(e),[c,u]=r(t),[d,p]=r(n),[h,m]=r(!1),[f,g]=r("");o((()=>{document.documentElement.setAttribute("dir",d)}),[d]);o((()=>{x((()=>{u(i&&i<yn.lg?"sm":"lg")}))}),[i]),o((()=>{x((()=>{p(n)}))}),[n]),o((()=>{x((()=>{l(e)}))}),[e]);const v=a((()=>((e,t,n)=>ge({direction:n,custom:{palette:{black:"#000000",white:"#ffffff",neutral:dn[e],neutralAlpha:"light"===e?nn:on,purple:hn[e],red:mn[e],peach:fn[e],yellow:gn[e],blue:xn[e],green:vn[e],icon:An[e].icon,interaction:An[e].interaction,stroke:An[e].stroke,surface:An[e].surface,text:An[e].text,input:An[e].input},margin:jn,padding:Cn,radius:kn,elevation:Sn,elevationFilter:Mn,boxShadow:Pn,easing:Tn,typography:cr[t]},palette:{mode:e,primary:{main:rn[500]}},spacing:wn,shape:{borderRadius:wn,hotspot:{default:12,active:24}},breakpoints:{values:yn},typography:{fontFamily:`"${Rn.FoundersGrotesk.name}", "Helvetica", "sans-serif"`},components:{MuiTypography:{variants:ur(t),styleOverrides:{root:{color:An[e].text.primary,letterSpacing:0,lineHeight:"140%"}}},MuiCssBaseline:{styleOverrides:`\n\t\t\t\t\tbody {\n\t\t\t\t\t\tbackground: ${dn[e][0]};\n\t\t\t\t\t\tmin-width: 320px;\n\t\t\t\t\t}\n\t\t\t\t\ta {\n\t\t\t\t\t\tcolor: inherit;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\ttext-decoration: none;\n\t\t\t\t\t}\n\t\t\t\t\tb {\n\t\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\t}\n @font-face {\n font-family: '${Rn.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Rn.Domaine.default.weight};\n src: url(${Pv}${Rn.Domaine.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${Rn.Domaine.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Rn.Domaine.bold.weight};\n src: url(${Pv}${Rn.Domaine.bold.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${Rn.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Rn.FoundersGrotesk.default.weight};\n src: url(${Pv}${Rn.FoundersGrotesk.default.fileName}) format('woff2');\n }\n @font-face {\n font-family: '${Rn.FoundersGrotesk.name}';\n font-style: normal;\n font-display: swap;\n font-weight: ${Rn.FoundersGrotesk.bold.weight};\n src: url(${Pv}${Rn.FoundersGrotesk.bold.fileName}) format('woff2');\n }\n `},MuiContainer:{defaultProps:{maxWidth:"xl",disableGutters:!0},styleOverrides:{root:{paddingLeft:16,paddingRight:16,[`@media (min-width: ${yn.md}px)`]:{paddingLeft:24,paddingRight:24},[`@media (min-width: ${yn.lg}px)`]:{paddingLeft:48,paddingRight:48}}}},MuiButtonBase:{defaultProps:{disableTouchRipple:!0,disableRipple:!0}},MuiButton:{defaultProps:{disableTouchRipple:!0,disableRipple:!0}},MuiTooltip:{styleOverrides:{arrow:({theme:{custom:e}})=>({color:e.palette.surface.overlay}),tooltip:({theme:{custom:e}})=>({backgroundColor:e.palette.surface.overlay,borderRadius:e.radius.md,color:e.palette.text.primary,backdropFilter:"blur(0)",filter:e.elevationFilter.overlay,fontFamily:Rn.FoundersGrotesk.name,fontSize:e.typography.body.sm,fontWeight:400,padding:`${e.padding.sm*wn}px ${e.padding.md*wn}px`})}},MuiAvatarGroup:{styleOverrides:{root:{flexDirection:"row"},avatar:({theme:{custom:e}})=>({border:`1px solid ${e.palette.stroke.default}`,marginLeft:0,marginRight:-8,":last-child":{marginLeft:"auto"}})}}}}))(s,c,d)),[s,d,c]),y=le(v.breakpoints.only("sm"),{noSsr:!0}),b=le(v.breakpoints.only("md"),{noSsr:!0}),w=le(v.breakpoints.between("lg","xl"),{noSsr:!0}),j=le(v.breakpoints.up("xl"),{noSsr:!0});return o((()=>{x((()=>{y&&g("sm"),b&&g("md"),w&&g("lg"),j&&g("xl")}))}),[y,b,w,j]),{breakpoint:f,gridOverlayVisible:h,mode:s,theme:v,toggleGridOverlay:()=>{x((()=>{m((e=>!e))}))},toggleMode:e=>{x((()=>{if(e)return l(e);l((e=>"light"===e?"dark":"light"))}))}}},Rv=Kx({key:"muirtl",stylisPlugins:[Kt,Qt]}),Ev=Kx({key:"mui"}),Vv=({mode:e="light",screenSize:t="lg",direction:n="ltr",children:i})=>{const o=zv(e,t,n);return On.jsx(Av.Provider,{value:o,children:On.jsx(Xt,{value:"rtl"===n?Rv:Ev,children:On.jsxs(Ie,{theme:o.theme,children:[On.jsx(ve,{}),On.jsx(Tv,{}),i]})})})};export{vv as AnnualController,zo as AuthContainerSurface,Mf as AuthFormHeader,Zr as Avatar,Pf as AvatarGroup,Io as Breadcrumb,Xm as Button,Rf as Checkbox,Lf as CheckboxGroup,Ff as ColorBackgroundContainer,Bf as CustomField,wf as DEFAULT_MAX_INPUT_LENGTH,Gf as Differential,qf as DropdownMenu,zn as FontWeight,Tf as FormControlLabel,mx as FormGenerator,bx as GridOverlay,rr as Header,Jf as Html,Co as Icon,Qo as IconButton,kx as IconButtonGroup,Mx as Image,Ef as InputFieldBase,Qf as InputLabel,If as InputLabelHelp,ag as Likert,Eo as Link,Px as Loader,Tx as Logo,zx as LoopsAiButton,Vx as Markdown,Tr as MenuButton,ds as Navigation,Ur as Nudge,cg as NumberField,df as OnboardingCard,Dx as Pill,bv as PlanFeatureTable,Cv as PlanTierCard,kv as PlanTierCardScale,$r as Popper,Jx as Portal,Qx as PoweredByWatermarkLogo,Ho as Progress,ms as ProgressBar,hv as ProjectItem,Wf as Radio,ug as RadioGroup,Ng as Rank,_g as RichTextField,xv as SectionHeader,Ag as Select,Xg as Slider,Hg as SortableList,Qg as StarRating,Ao as Surface,tx as Switch,ev as TextBarDivider,Vf as TextField,ix as Textarea,Vv as ThemeProvider,Sv as TickGroup,tv as Toast,No as Tooltip,Lo as Typography,ns as UserMenu,Sf as backgroundCreator,wn as base,cn as blue,xn as blueRamp,Pn as boxShadow,yn as breakpoints,yf as chooseArticle,Mv as compareArrayMembers,tn as darkNeutral,on as darkNeutralAlpha,bf as defaultInputValidation,Tn as easing,Sn as elevation,Mn as elevationFilter,vf as emailValidation,Rn as fonts,pn as generateRamp,un as green,vn as greenRamp,jo as iconSizeMap,jn as margin,en as neutral,nn as neutralAlpha,dn as neutralRamp,Cn as padding,jf as passwordValidation,an as peach,fn as peachRamp,rn as purple,hn as purpleRamp,kn as radius,sn as red,mn as redRamp,An as semantic,bn as space,ps as useBreakpoint,Kf as useDropdownMenu,Xf as usePrevious,jv as useScreenSize,ln as yellow,gn as yellowRamp};