@useloops/design-system 1.4.53 → 1.4.54

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{jsxs as e,jsx as a,Fragment as r}from"react/jsx-runtime";import{useTheme as i,SvgIcon as n,Typography as o,Stack as s,Avatar as l,AvatarGroup as t,styled as c,CircularProgress as d,Button as u,Box as m,FormControlLabel as h,Checkbox as g,TextField as b,InputAdornment as p,FormGroup as k,alpha as y,Container as f,InputLabel as w,Radio as v,RadioGroup as z,Grid as j,useMediaQuery as x,MenuItem as q,Select as C,IconButton as S,ButtonGroup as M,Link as E,Slider as _,Rating as $,Paper as O,Switch as A,Tooltip as F,Menu as T,LinearProgress as R,linearProgressClasses as I,createTheme as L,GlobalStyles as V,CssBaseline as D}from"@mui/material";import{LockOutlined as N,MenuRounded as P,QueryBuilderRounded as B,WarningAmberRounded as H,LightbulbOutlined as W,ErrorOutlineOutlined as U,CheckCircleOutlineOutlined as Z,InfoOutlined as G,ExpandMore as Y,ArrowForward as K,Close as J,PlayCircle as X,Check as Q,Remove as ee,Info as ae,ErrorOutline as re,KeyboardArrowDown as ie,DragHandle as ne}from"@mui/icons-material";import*as oe from"react";import se,{createContext as le,useMemo as te,useContext as ce,useState as de,Fragment as ue,useEffect as me,forwardRef as he,useImperativeHandle as ge,createElement as be,startTransition as pe,useRef as ke}from"react";import{defaultDropAnimationSideEffects as ye,DragOverlay as fe,useSensors as we,useSensor as ve,KeyboardSensor as ze,DndContext as je,MeasuringStrategy as xe,MouseSensor as qe,TouchSensor as Ce}from"@dnd-kit/core";import{useSortable as Se,defaultAnimateLayoutChanges as Me,sortableKeyboardCoordinates as Ee,arrayMove as _e,SortableContext as $e,horizontalListSortingStrategy as Oe,verticalListSortingStrategy as Ae}from"@dnd-kit/sortable";import{CSS as Fe}from"@dnd-kit/utilities";import{createPortal as Te}from"react-dom";import{ThemeContext as Re}from"@mui/styled-engine";import{CacheProvider as Ie}from"@emotion/react";const Le=(...e)=>{const a=[];for(const r of e)if(r)if(Array.isArray(r))for(const e of r)a.push(e);else a.push(r);return a},Ve={sm:0,md:584,lg:812,lgNav:1e3,xl:1280,xxl:1728},De=0,Ne=4,Pe=8,Be=16,He=24,We=32,Ue=40,Ze=48,Ge=Pe,Ye={none:De,xs:Ne/Ge,sm:Pe/Ge,md:Be/Ge,lg:We/Ge,xl:Ze/Ge,xxl:80/Ge,xxxl:160/Ge},Ke={none:De,xs:Ne/Ge,sm:Pe/Ge,md:Be/Ge,lg:We/Ge,xl:Ze/Ge},Je={none:De,xs:2/Ge,sm:Ne/Ge,md:Pe/Ge,lg:Be/Ge,xl:He/Ge,round:999},Xe={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)"},Qe={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))"},ea={input:{focus:"0px 0px 0px 4px rgba(127, 76, 255, 0.24)"}},aa={default:"cubic-bezier(0.16, 1, 0.3, 1)",input:"all 200ms ease"},ra={xs:2*Ge,sm:2*Ge,md:2*Ge,lg:2.5*Ge,xl:3*Ge},ia=({name:r,size:o,sx:s})=>{const l=i(),t=o||ra.xl,c=o||ra.xl;switch(r){case"loopsOfficial":return a(n,{viewBox:"0 0 106 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:o,width:o},sx:Le(s,{"&.MuiSvgIcon-root path":{fill:"light"===l.palette.mode?l.custom.palette.icon.primary:l.custom.palette.icon.lockedWhite}}),children:a("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M11.8076 25.5073C10.0999 24.3082 9.74198 23.9512 9.74198 21.312V0H0.290527V0.399695L0.306001 0.409234C2.04234 1.47961 2.83235 1.96661 2.83235 4.59497V21.312C2.83235 23.9512 2.47443 24.3082 0.76674 25.5073V25.9069H11.8076V25.5073ZM12.3202 17.8947C13.3939 24.0305 18.9477 27.1823 24.7775 26.151C30.6043 25.1167 34.7507 20.2258 33.6769 14.1053C32.6032 7.98474 27.0494 4.81464 21.2196 5.84897C15.3898 6.88329 11.2464 11.759 12.3202 17.8947ZM19.518 16.6163C18.4897 10.7155 18.9052 8.04577 21.5229 7.582C24.1405 7.11518 25.4509 9.47368 26.4791 15.3745C27.5074 21.2754 27.0949 23.9329 24.4742 24.4089C21.8535 24.8848 20.5462 22.5172 19.518 16.6163ZM47.572 26.151C41.7453 27.1823 36.1915 24.0305 35.1147 17.8947C34.0379 11.759 38.1843 6.88329 44.0141 5.84897C49.8439 4.81464 55.3947 7.98474 56.4715 14.1053C57.5482 20.2258 53.3988 25.1167 47.572 26.151ZM44.3174 7.582C41.6967 8.04577 41.2842 10.7155 42.3125 16.6163C43.3407 22.5172 44.648 24.8848 47.2687 24.418C49.8894 23.9512 50.3019 21.2845 49.2737 15.3837C48.2454 9.48284 46.9381 7.11518 44.3174 7.582ZM68.4727 31.5116C66.4862 30.3817 65.7713 29.9751 65.7713 27.405L65.7773 22.6117C66.8086 24.6896 68.8742 26.328 72.2896 26.328C77.4521 26.328 81.5439 22.4012 81.5439 15.6491C81.5439 8.77803 77.5553 5.70252 73.0054 5.70252C69.2716 5.70252 66.6873 7.81998 65.7773 10.7368L65.6166 6.10221H56.4836V6.4836L56.4855 6.48484C58.1918 7.60063 58.8647 8.04064 58.8647 10.6789V27.405C58.8647 30.0412 58.5098 30.4012 56.7991 31.6003V32H68.6285V31.6003L68.4727 31.5116ZM70.0996 23.8963C67.6761 23.8963 65.7713 21.1411 65.7713 17.9466V15.0999C65.7713 11.5454 67.479 8.86651 70.0996 8.86651C72.8386 8.86651 74.1884 11.3867 74.1884 15.6583C74.1884 21.2998 72.7992 23.8963 70.0996 23.8963ZM103.38 26.2487C104.665 26.2487 105.706 25.2009 105.706 23.9085C105.706 22.616 104.665 21.5683 103.38 21.5683C102.095 21.5683 101.053 22.616 101.053 23.9085C101.053 25.2009 102.095 26.2487 103.38 26.2487ZM92.7131 12.3899C90.0531 11.6005 88.5566 11.1564 88.5566 9.56827C88.5566 8.23799 89.7699 7.64913 91.1045 7.64913C93.6888 7.64913 95.712 9.12891 98.0566 12.5645H98.6117V5.69337H98.2143L96.4278 7.01145C96.3499 6.97924 96.2721 6.94694 96.1943 6.91464C94.7242 6.30433 93.2525 5.69337 91.0257 5.69337C86.7762 5.69337 83.4002 8.32952 83.4002 12.2441C83.4002 15.759 85.0715 17.7574 91.0681 19.3166C93.2945 19.8749 94.8414 20.2746 94.8414 21.9924C94.8414 23.5912 93.2945 24.3478 91.426 24.3478C88.5566 24.3478 86.4607 22.3921 83.7035 18.6758H83.0969L83.5155 26.267H83.9522L85.5386 24.6682C86.8095 25.3089 88.7963 26.3066 91.4564 26.3066C96.54 26.3066 100.077 23.4691 100.077 19.4752C100.077 15.3593 97.6198 13.8429 92.7667 12.4058L92.7131 12.3899Z",fill:"#190F33"})});case"google":return e(n,{viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:o,width:o},sx:s,children:[a("path",{d:"M19.3 10.2085C19.3 9.5585 19.2417 8.9335 19.1334 8.3335H10.5V11.8835H15.4334C15.2167 13.0252 14.5667 13.9918 13.5917 14.6418V16.9502H16.5667C18.3 15.3502 19.3 13.0002 19.3 10.2085Z",fill:"#4285F4"}),a("path",{d:"M10.5 19.1668C12.975 19.1668 15.05 18.3502 16.5667 16.9502L13.5917 14.6418C12.775 15.1918 11.7334 15.5252 10.5 15.5252C8.11671 15.5252 6.09171 13.9168 5.36671 11.7502H2.31671V14.1168C3.82504 17.1085 6.91671 19.1668 10.5 19.1668Z",fill:"#34A853"}),a("path",{d:"M5.36671 11.7418C5.18337 11.1918 5.07504 10.6085 5.07504 10.0002C5.07504 9.39183 5.18337 8.8085 5.36671 8.2585V5.89183H2.31671C1.69171 7.12516 1.33337 8.51683 1.33337 10.0002C1.33337 11.4835 1.69171 12.8752 2.31671 14.1085L4.69171 12.2585L5.36671 11.7418Z",fill:"#FBBC05"}),a("path",{d:"M10.5 4.4835C11.85 4.4835 13.05 4.95016 14.0084 5.85016L16.6334 3.22516C15.0417 1.74183 12.975 0.833496 10.5 0.833496C6.91671 0.833496 3.82504 2.89183 2.31671 5.89183L5.36671 8.2585C6.09171 6.09183 8.11671 4.4835 10.5 4.4835Z",fill:"#EA4335"})]});case"linkedin-color":return e(n,{viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:o,width:o},sx:s,children:[a("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.37041 19.1668H17.6297C18.7547 19.1668 19.6667 18.2548 19.6667 17.1298V2.87053C19.6667 1.74551 18.7547 0.833496 17.6297 0.833496H3.37041C2.24539 0.833496 1.33337 1.74551 1.33337 2.87053V17.1298C1.33337 18.2548 2.24539 19.1668 3.37041 19.1668Z",fill:"#007EBB"}),a("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.1204 16.6205H14.3999V11.9868C14.3999 10.7164 13.9171 10.0064 12.9116 10.0064C11.8176 10.0064 11.2461 10.7452 11.2461 11.9868V16.6205H8.62427V7.79337H11.2461V8.98239C11.2461 8.98239 12.0344 7.52369 13.9076 7.52369C15.78 7.52369 17.1204 8.66704 17.1204 11.0317V16.6205ZM5.4964 6.63753C4.60334 6.63753 3.87967 5.90818 3.87967 5.00866C3.87967 4.10914 4.60334 3.37979 5.4964 3.37979C6.38946 3.37979 7.1127 4.10914 7.1127 5.00866C7.1127 5.90818 6.38946 6.63753 5.4964 6.63753ZM4.14259 16.6205H6.87651V7.79337H4.14259V16.6205Z",fill:"white"})]});case"positive":return a(n,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",style:{height:o,width:o},sx:s,children:a("path",{d:"M7.25241 16.7949C6.47136 17.576 6.47136 18.8423 7.25241 19.6234L11.0236 23.3946C11.8047 24.1756 13.071 24.1756 13.8521 23.3946L25.1658 12.0809C25.9468 11.2998 25.9468 10.0335 25.1658 9.25246C24.3847 8.47141 23.1184 8.47141 22.3374 9.25246L12.4379 19.152L10.0808 16.7949C9.29979 16.0139 8.03346 16.0139 7.25241 16.7949Z",fill:"#48B244"})});case"negative":return a(n,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:o,width:o},sx:s,children:a("path",{d:"M9.25241 9.25244C8.47136 10.0335 8.47136 11.2998 9.25241 12.0809L13.4951 16.3235L9.25241 20.5662C8.47136 21.3472 8.47136 22.6135 9.25241 23.3946C10.0335 24.1756 11.2998 24.1756 12.0808 23.3946L16.3235 19.1519L20.5661 23.3946C21.3472 24.1756 22.6135 24.1756 23.3945 23.3946C24.1756 22.6135 24.1756 21.3472 23.3945 20.5662L19.1519 16.3235L23.3945 12.0809C24.1756 11.2998 24.1756 10.0335 23.3945 9.25244C22.6135 8.47139 21.3472 8.4714 20.5661 9.25244L16.3235 13.4951L12.0808 9.25244C11.2998 8.47139 10.0335 8.47139 9.25241 9.25244Z",fill:"#FC5A4E"})});case"neutral":return a(n,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:o,width:o},sx:s,children:a("path",{d:"M6 16C6 14.8954 6.89543 14 8 14L24 14C25.1046 14 26 14.8954 26 16C26 17.1046 25.1046 18 24 18H8C6.89543 18 6 17.1046 6 16Z",fill:"#8C8799"})});case"linkedin":return a(n,{style:{height:o,width:o},viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",sx:s,children:a("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.8889 30H5.11111C3.39289 30 2 28.6071 2 26.8889V5.11111C2 3.39289 3.39289 2 5.11111 2H26.8889C28.6071 2 30 3.39289 30 5.11111V26.8889C30 28.6071 28.6071 30 26.8889 30ZM21.9561 26.1109H26.1111V17.5753C26.1111 13.9637 24.0639 12.2175 21.2043 12.2175C18.3435 12.2175 17.1395 14.4454 17.1395 14.4454V12.6294H13.1352V26.1109H17.1395V19.0339C17.1395 17.1377 18.0123 16.0093 19.683 16.0093C21.2188 16.0093 21.9561 17.0936 21.9561 19.0339V26.1109ZM5.88889 8.3764C5.88889 9.75021 6.99413 10.8641 8.35808 10.8641C9.72202 10.8641 10.8266 9.75021 10.8266 8.3764C10.8266 7.00259 9.72202 5.88867 8.35808 5.88867C6.99413 5.88867 5.88889 7.00259 5.88889 8.3764ZM10.4659 26.1109H6.29043V12.6294H10.4659V26.1109Z"})});case"medium":return a(n,{viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",style:{height:o,width:o},sx:s,children:a("path",{d:"M9.89698 8.51543C14.2584 8.51543 17.7937 12.0754 17.7937 16.4666C17.7937 20.8578 14.2581 24.4175 9.89698 24.4175C5.53585 24.4175 2 20.8578 2 16.4666C2 12.0754 5.53558 8.51543 9.89698 8.51543ZM22.5079 8.98119C24.6886 8.98119 26.4564 12.3322 26.4564 16.4666H26.4566C26.4566 20.5999 24.6888 23.952 22.5082 23.952C20.3275 23.952 18.5597 20.5999 18.5597 16.4666C18.5597 12.3333 20.3272 8.98119 22.5079 8.98119ZM28.6113 9.76085C29.3781 9.76085 30 12.7631 30 16.4666C30 20.1691 29.3784 23.1723 28.6113 23.1723C27.8443 23.1723 27.2229 20.1699 27.2229 16.4666C27.2229 12.7633 27.8445 9.76085 28.6113 9.76085Z"})});case"navigation-arrow":return a(n,{viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",style:{height:o,width:o},sx:s,children:a("path",{d:"M13.7929 8.46442L16.6083 11.2798L16.6213 11.2929L16.6235 11.2952C16.9631 11.6369 17.0053 12.1629 16.7494 12.5502C16.7128 12.6057 16.6701 12.6583 16.6213 12.7071L13.7929 15.5356C13.4025 15.9261 12.7692 15.9261 12.3788 15.5356C11.9882 15.145 11.9882 14.5119 12.3788 14.1213L13.5002 12.9999H8.0858C7.53352 12.9999 7.0858 12.5523 7.0858 11.9999C7.0858 11.4477 7.53352 10.9999 8.0858 10.9999H13.4999L12.3786 9.87872C11.9882 9.4881 11.9882 8.85504 12.3786 8.46442C12.7692 8.07391 13.4023 8.07391 13.7929 8.46442Z"})});case"unfold-more":return a(n,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:o,width:o},sx:s,children:a("path",{d:"M5.83 12.0001L9 8.83009L7.59 7.42009L3 12.0001L7.59 16.5901L9 15.1701L5.83 12.0001ZM18.17 12.0001L15 15.1701L16.41 16.5801L21 12.0001L16.41 7.41009L15 8.83009L18.17 12.0001Z",fill:"#190F33"})});case"play":return a(X,{style:{height:t,width:c},sx:s});case"close":return a(J,{style:{height:t,width:c},sx:s});case"arrow-forward":return a(K,{style:{height:t,width:c},sx:s});case"expand-more":return a(Y,{style:{height:t,width:c},sx:s});case"info":return a(G,{style:{height:t,width:c},sx:s});case"check-circle":return a(Z,{style:{height:t,width:c},sx:s});case"error-outline":return a(U,{style:{height:t,width:c},sx:s});case"lightbulb":return a(W,{style:{height:t,width:c},sx:s});case"warning-amber":return a(H,{style:{height:t,width:c},sx:s});case"access-time":return a(B,{style:{height:t,width:c},sx:s});case"menu":return a(P,{style:{height:t,width:c},sx:s});case"lock":return a(N,{style:{height:t,width:c},sx:s});case"check":return e(n,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 25",style:{height:o,width:o},children:[a("rect",{width:"24",height:"24",y:".5",fill:"#48B244",rx:"12"}),a("path",{fill:"#fff",d:"M5.44 13.096a1.5 1.5 0 0 0 0 2.121l2.828 2.829a1.5 1.5 0 0 0 2.121 0l8.485-8.485a1.5 1.5 0 1 0-2.121-2.122l-7.425 7.425-1.767-1.768a1.5 1.5 0 0 0-2.122 0Z"})]});case"dash":return a(n,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",style:{height:o,width:o},children:a("path",{fill:"#BAB7C2",d:"M4.5 12A1.5 1.5 0 0 1 6 10.5h12a1.5 1.5 0 0 1 0 3H6A1.5 1.5 0 0 1 4.5 12Z"})});case"gift":return e(n,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",style:{height:o,width:o},children:[a("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"none",d:"M20.5 8h-16a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1ZM12.5 8v13"}),a("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"none",d:"M19.5 12v7a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2v-7M8 8a2.5 2.5 0 1 1 0-5c.965-.017 1.91.451 2.713 1.343.802.892 1.425 2.166 1.787 3.657.362-1.49.985-2.765 1.787-3.657C15.09 3.451 16.035 2.983 17 3a2.5 2.5 0 0 1 0 5"})]});default:return e(n,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 33",style:{height:o,width:o},sx:s,children:[a("path",{fill:"#C8E8C7",d:"M0 16.426c0-8.836 7.163-16 16-16s16 7.164 16 16-7.163 16-16 16-16-7.163-16-16"}),a("path",{fill:"#48B244",d:"M7.252 17.221a2 2 0 0 0 0 2.828l3.772 3.772a2 2 0 0 0 2.828 0l11.314-11.314a2 2 0 0 0-2.829-2.828l-9.9 9.9-2.356-2.358a2 2 0 0 0-2.829 0"})]})}},na="#FFFFFF",oa="#F8F8F9",sa="#E8E7EB",la="#D1CFD6",ta="#BAB7C2",ca="#A39FAD",da="#756F85",ua="#5E5770",ma="#190F33",ha="#130B26",ga="#1C142F",ba="#2A223C",pa="#413A51",ka="#585267",ya="#6F697D",fa="#9D98A8",wa="#B4AFBE",va="#F9F6FF",za={0:"#190f3300",.01:"#190f3303",1:"#190F3308",2:"#190F330F",3:"#190F331F",4:"#190F333D",5:"#190f3380"},ja={0:"#F9F6FF00",.01:"#fff6ff03",1:"#F9F6FF0A",2:"#F9F6FF14",3:"#F9F6FF1F",4:"#F9F6FF3D",5:"#f9f6ff80"},xa={0:"#F2EDFF",100:"#D9C9FF",200:"#BFA5FF",300:"#A582FF",400:"#8C5EFF",500:"#7F4CFF",600:"#7648E9",700:"#6441BE",800:"#533992",900:"#413167",1e3:"#2F2A3C"},qa={0:"#FFEEED",100:"#FECDCA",200:"#FDACA6",300:"#FD8B83",400:"#FC6B60",500:"#FC5A4E",600:"#E7554A",700:"#BC4A42",800:"#91403A",900:"#663632",1e3:"#3B2B2A"},Ca={0:"#EDF7EC",100:"#C8E8C7",200:"#A3D9A1",300:"#7FC97C",400:"#5ABA57",500:"#48B244",600:"#44A441",700:"#3D883B",800:"#376C35",900:"#30502F",1e3:"#293429"},Sa={light:{0:na,50:oa,100:sa,200:la,300:ta,400:ca,500:"#8C8799",600:da,700:ua,800:"#473F5C",900:"#302747",950:"#251B3D",1e3:ma,1100:"#0D081A"},dark:{0:ha,50:ga,100:ba,200:pa,300:ka,400:ya,500:"#868092",600:fa,700:wa,800:"#CBC7D4",900:"#E2DEE9",950:"#EDEAF4",1e3:va,1100:"#FFFFFF"}},Ma=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]}}),Ea=Ma(xa),_a=Ma(qa),$a=Ma({0:"#FFF8F6",100:"#FFEBE4",200:"#FFDFD2",300:"#FFD2C0",400:"#FFC5AE",500:"#FFBEA5",600:"#E9AF98",700:"#BE907F",800:"#927266",900:"#67544C",1e3:"#3C3533"}),Oa=Ma({0:"#FFF9E5",100:"#FFECB2",200:"#FFECB2",300:"#FFD24D",400:"#FFC61A",500:"#FFBF00",600:"#E9B004",700:"#BE910B",800:"#927313",900:"#67541B",1e3:"#3C3522"}),Aa=Ma({0:"#EBF8FB",100:"#C4E9F3",200:"#9DDAEB",300:"#76CBE4",400:"#4FBCDC",500:"#3CB4D8",600:"#39A6C6",700:"#358AA2",800:"#316D7F",900:"#2C515B",1e3:"#283438"}),Fa=Ma(Ca),Ta={light:{surface:{sunken:oa,default:na,raised:na,overlay:na,scrim:za[3],transparent:za[.01]},interaction:{none:za[0],hover:za[1],press:za[2],hoverOnDark:za[3],pressOnDark:za[4],disabled:za[2]},stroke:{default:la,focus:xa[500],disabled:sa},text:{primary:ma,secondary:da,placeholder:ca,disabled:ta,textLink:xa[800],textLinkHover:xa[900],primaryInverted:na,secondaryInverted:ca,placeholderInverted:da,disabledInverted:ua,positive:Ca[800],negative:qa[700],lockedWhite:na},icon:{primary:ma,secondary:da,disabled:ta,primaryInverted:na,secondaryInverted:ca,disabledInverted:ua,positive:Ca[800],negative:qa[700],lockedWhite:na},input:{default:na,disabled:"#FFFFFF80"}},dark:{surface:{default:ga,sunken:ha,raised:ba,overlay:pa,scrim:ja[3],transparent:ja[.01]},interaction:{none:ja[0],hover:ja[1],press:ja[2],hoverOnDark:ja[3],pressOnDark:ja[4],disabled:ja[2]},stroke:{default:pa,focus:xa[500],disabled:ba},text:{primary:va,secondary:wa,placeholder:ya,disabled:ka,textLink:xa[100],textLinkHover:xa[0],primaryInverted:ha,secondaryInverted:ya,placeholderInverted:fa,disabledInverted:wa,positive:Ca[300],negative:qa[300],lockedWhite:na},icon:{primary:va,secondary:wa,disabled:ka,primaryInverted:ha,secondaryInverted:ya,disabledInverted:wa,positive:Ca[300],negative:qa[300],lockedWhite:na},input:{default:ba,disabled:"#2A223C80"}}};var Ra;!function(e){e[e.DEFAULT=400]="DEFAULT",e[e.BOLD=500]="BOLD"}(Ra||(Ra={}));const Ia={name:"Domaine",default:{fileName:"DomaineRegular.woff2",weight:Ra.DEFAULT},bold:{fileName:"DomaineMedium.woff2",weight:Ra.BOLD}},La={name:"FoundersGrotesk",default:{fileName:"FoundersGroteskRegular.woff2",weight:Ra.DEFAULT},bold:{fileName:"FoundersGroteskMedium.woff2",weight:Ra.BOLD}},Va={Serif:'"Domaine", Palatino, serif',SansSerif:'"FoundersGrotesk", Arial, sans-serif'},Da=e=>"bold"===e?Ra.BOLD:Ra.DEFAULT,Na=({component:e,weight:r="default",variation:i,clamp:n=0,...s})=>a(o,{component:e,fontWeight:Da(r),variant:i,...s,sx:Le(s.sx,n?{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:n}:null)}),Pa=({logo:r,headerText:n,subText:o})=>{const l=i();return e(s,{gap:l.spacing(l.custom.margin.md),alignItems:"center",mb:l.spacing(l.custom.margin.lg),children:[!1===r?null:r||a(ia,{name:"loopsOfficial",sx:{width:{sm:79,md:79,lg:106},height:{sm:24,md:24,lg:32}}}),e(s,{gap:l.spacing(l.custom.margin.md),children:[n&&a(Na,{variation:"sm",component:"h1",align:"center",weight:"bold",children:n}),function(){if(o)return"string"==typeof o?a(Na,{variation:"md",component:"p",align:"center",children:o}):o}()]})]})},Ba=({variation:e="lg",...r})=>{const{custom:n}=i();switch(e){case"sm":return a(l,{sx:{border:`1px solid ${n.palette.stroke.default}`,height:32,width:32},...r});case"lg":return a(l,{sx:{border:`1px solid ${n.palette.stroke.default}`,height:48,width:48},...r})}},Ha=({variation:e="primary",...r})=>{if("primary"===e)return a(t,{...r})},Wa=["xs","sm","md","lg","xl","xxl","xxxl"],Ua=(e,a=16)=>{const r=1/a*e;return Math.round(1e3*r)/1e3},Za=(e,a="xs")=>{const r=Wa.reduce(((r,i,n)=>{const o=Wa.indexOf(a)||0,s=Number((16*Math.pow(e,n-o)).toFixed(2));return r[i]=s,r}),{}),i={};for(const[e,a]of Object.entries(r))i[e]=Ua(a)+"rem";return i},Ga={lg:{headline:Za(1.309,"xs"),body:Za(1.125,"md")},sm:{headline:Za(1.125,"xs"),body:Za(1.1,"md")},button:Za(1.125,"md")},Ya=e=>{const a=Wa.map((a=>({props:{variant:a},style:{fontFamily:`${Va.Serif}`,fontSize:Ga[e].headline[a]}}))),r=Wa.map((a=>({props:{variant:a,component:"h5"},style:{fontFamily:`${Va.SansSerif}`,fontSize:Ga[e].body[a]}}))),i=Wa.map((a=>({props:{variant:a,component:"h6"},style:{fontFamily:`${Va.SansSerif}`,fontSize:Ga[e].body[a]}})));return[...a,...Wa.map((a=>({props:{variant:a,component:"p"},style:{fontFamily:`${Va.SansSerif}`,fontSize:Ga[e].body[a]}}))),...r,...i]},Ka={xs:Ga.button.xs,sm:Ga.button.sm,md:Ga.button.sm,lg:Ga.button.md,xl:Ga.button.lg},Ja=e=>({backgroundColor:e.custom.palette.surface.transparent,fontWeight:300,"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus}}),Xa=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}`}}),Qa=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]}}),er=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}}}),ar={xs:3*Ge,sm:3.5*Ge,md:4*Ge,lg:5*Ge,xl:6*Ge},rr={xs:.5*Ge,sm:.5*Ge,md:Ge,lg:Ge,xl:Ge},ir=e=>({"& .MuiButton-icon":{margin:0,".MuiSvgIcon-root":{height:ra[e],width:ra[e]}}}),nr=e=>({"& .MuiBox-root":{lineHeight:"120%",fontSize:Ka[e],paddingLeft:rr[e],paddingRight:rr[e]}}),or=e=>({height:ar[e],paddingLeft:Ge,paddingRight:Ge}),sr=c(d)((()=>({color:"inherit",position:"absolute",padding:2}))),lr=({sizing:e,...r})=>a(sr,{size:e?ra[e]:40,...r}),tr=c(u)((({theme:e,loading:a})=>({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:a?"hidden":"visible"}}))),cr=c((({children:r,loading:i,sizing:n,...o})=>e(tr,{...o,sizing:n,loading:i,children:[i&&a(lr,{sizing:n}),a(m,{...i?{visibility:"hidden"}:void 0,children:r})]})))((({theme:e,variation:a,sizing:r})=>({color:e.custom.palette.text.primary,...r&&{...nr(r)},...r&&{...or(r)},...r&&{...ir(r)},"&: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"===a&&{...Ja(e)},..."outlined"===a&&{...Xa(e)},..."secondary"===a&&{...Qa(e)},..."primary"===a&&{...er(e)}}))),dr=({sizing:e="lg",variation:r="primary",...i})=>a(cr,{variation:r,sizing:e,...i}),ur=({label:e,sx:r,...n})=>{const o=i();return a(h,{label:e||"",sx:Le({ml:0,"&.Mui-disabled":{color:o.custom.palette.text.disabled},"&.Mui-error":{color:o.custom.palette.text.negative},"& .MuiFormControlLabel-label":{ml:e?o.custom.margin.md:0,color:"inherit",fontSize:{xs:Ga.sm.body.md,sm:Ga.sm.body.md,md:Ga.sm.body.md,lg:Ga.lg.body.md,xl:Ga.lg.body.md}}},r),...n})},mr=c(g)((({theme:e,sizing:a})=>({height:"default"===a?He:We,width:"default"===a?He:We,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"===a?ra.sm:ra.xl,height:"default"===a?ra.sm:ra.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}}},"&.Mui-focusVisible":{borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus,"&:before":{backgroundColor:e.custom.palette.interaction.press}}}))),hr=e=>a(mr,{checkedIcon:a(Q,{}),indeterminateIcon:a(ee,{}),...e}),gr=({internalChange:e,checkboxLabel:r,indeterminate:i,sizing:n,onChange:o,inputRef:s,...l})=>a(ur,{inputRef:s,label:r,control:a(hr,{sizing:n,indeterminate:i}),onChange:(a,r)=>{o&&o(a,r),e&&e()},...l}),br=c(b)((({theme:e})=>({"& .MuiInputAdornment-root":{marginRight:0,"& .MuiSvgIcon-root":{width:ra.xl,height:ra.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:Ga.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"}}}}}))),pr=({iconLeft:e,iconRight:r,placeholder:i,onChange:n,internalChange:o,inputRef:s,...l})=>a(br,{placeholder:i,sx:{height:Ue,"& .MuiOutlinedInput-input":{pl:e?1:2,pr:e?1:2}},inputRef:s,InputProps:{startAdornment:e?a(p,{position:"start",sx:{pl:1},children:e}):null,endAdornment:r?a(p,{position:"start",sx:{pr:1},children:r}):null},...l,onChange:e=>{n&&n(e),o&&o()}}),kr=({sizing:i,options:n,other:o,internalChange:s,value:l,inputRef:t,onChange:c})=>{const d=o?.name||"other-option",u=`${d}-value-`,h=e=>`${u}${e}`,g=o?.enabled,b=l?.includes(d)&&g,p=l?.find((e=>e.includes(u)));if(!l)return a("div",{});const y=(e,a)=>{let r=l.includes(e)?l.filter((a=>a!==e)):a?[e]:[...new Set(l),e];if(a||(r=r.filter((e=>!n.find((a=>a?.exclusive&&e===a.value))))),o?.enabled){!l.includes(d)||e!==d||(r=r.filter((e=>!e.includes(u))))}c(r),s&&s()};return e(r,{children:[e(k,{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:[n?n.map(((e,r)=>{const n=e.value;return a(ur,{sx:{"& .MuiButtonBase-root.MuiCheckbox-root":{alignSelf:"baseline"}},onChange:()=>y(n,e.exclusive),checked:l.includes(n),control:a(hr,{sizing:i}),label:e.label},n)})):null,g&&a(ur,{inputRef:t,onChange:()=>y(d),label:o?.label||"Other",checked:l.includes(d),control:a(hr,{sizing:i})},d)]}),b&&a(m,{sx:{mt:1},children:a(pr,{fullWidth:!0,autoFocus:!0,defaultValue:p?p.replace(u,""):"",placeholder:o?.placeholder,onChange:e=>{const a=l.find((e=>e.includes(u))),r=(a?l.map((a=>a.includes(u)?h(e.target.value):a)):[...l,h(e.target.value)]).filter((e=>e!==u));c(r),s&&s()},required:!0})})]})},yr=e=>`linear-gradient(135deg, ${e.custom.palette.purple[400]} 0%, ${e.custom.palette.purple[200]} 100%)`,fr=(e,a)=>{switch(a){case"tone1":default:return yr(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%, ${y(e.custom.palette.blue[1e3],.2)} 0%, ${y(e.custom.palette.blue[500],.2)} 100%), linear-gradient(135deg, ${e.custom.palette.purple[500]} 0%, ${e.custom.palette.purple[1e3]} 100%)`)(e)}},wr=(e,a)=>{const r=fr(e,a.gradient),i=(e=>"noise1"===e?"url(https://useloops-public.s3.eu-west-2.amazonaws.com/public/static/misc/noise_tile.png)":null)(a.texture);return i?[i,r].join(","):[r].join(",")},vr=({sx:e,children:r,texture:n="noise1",gradient:o="tone1",...s})=>{const l=i();return a(f,{maxWidth:!1,disableGutters:!0,sx:Le({background:wr(l,{texture:n,gradient:o}),height:"100%",p:[0,0,0]},!!e&&{...e}),...s,children:r})},zr=c(w)((({theme:e,align:a})=>({fontWeight:400,lineHeight:"140%",whiteSpace:"normal",textAlign:a,color:"inherit","&.Mui-disabled":{color:e.custom.palette.text.disabled},"&.Mui-error":{color:e.custom.palette.text.negative}}))),jr=e=>a(zr,{...e}),xr=r=>{const{icon:n=null,state:o="default",disabled:s,showicon:l=!0}=r,t=i();return e(m,{sx:{display:"inline-flex",alignItems:"center",color:s?t.custom.palette.text.disabled:(()=>{switch(o){case"disabled":return t.custom.palette.text.disabled;case"positive":return t.custom.palette.text.positive;case"negative":return t.custom.palette.text.negative;default:return t.custom.palette.text.secondary}})(),"& svg":{marginRight:t.spacing(t.custom.margin.xs),width:ra.xs,height:ra.xs,color:"inherit"}},children:[(()=>{if(!l)return null;if(n)return n;switch(o){case"disabled":default:return a(m,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:a(ae,{})});case"positive":return a(m,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:a(Q,{})});case"negative":return a(m,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:a(re,{})})}})(),a(jr,{...r,sx:{fontSize:{xs:Ga.sm.body.sm,sm:Ga.sm.body.sm,md:Ga.sm.body.sm,lg:Ga.lg.body.sm,xl:Ga.lg.body.sm}}})]})},qr=c(m)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:Ne,height:Ne,top:`calc(100% + ${Ne}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}},"&:last-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:Ne,height:Ne,top:`calc(100% + ${Ne}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}}}}))),Cr=({children:e,width:r})=>a(qr,{sx:{width:r,minWidth:300},children:e}),Sr=c(v)((({theme:e,sizing:a})=>({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"===a?He:We,width:"default"===a?He:We,"& svg":{transition:e.custom.easing.input,fill:"none",width:"default"===a&&ra.sm,height:"default"===a&&ra.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}}}}))),Mr=e=>a(Sr,{...e}),Er=c(Mr)((()=>({marginRight:0}))),_r=c(m)((({theme:e})=>({posiion:"relative","&:after":{content:'""',position:"absolute",top:"50%",right:"0",height:Ne,width:`calc(100% - ${We}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),$r=e=>a(_r,{sx:{position:"relative"},children:a(Er,{...e})}),Or=({disabled:r=!1,onChange:i,labelLeft:n,labelRight:o,internalChange:s,labelCenter:l})=>{const t=[...Array(7).keys()];return a(z,{children:e(Cr,{children:[a(j,{container:!0,justifyContent:"space-between",children:t.map(((e,n)=>{const o=n+1!==t.length;return a(j,{item:!0,sm:o,children:a($r,{disabled:r,value:e,onChange:(e,a)=>{i&&i(e,a),s&&s()},name:`radio-option-${e}`},e)},e)}))}),e(j,{container:!0,justifyContent:"space-between",sx:{mt:1},children:[a(j,{item:!0,sm:!0,sx:{textAlign:"left"},children:a(xr,{disabled:r,showicon:!1,children:n})}),a(j,{item:!0,sm:!0,sx:{textAlign:"center"},children:a(xr,{disabled:r,align:"center",showicon:!1,children:l})}),a(j,{item:!0,sm:!0,sx:{textAlign:"right"},children:a(xr,{disabled:r,align:"right",showicon:!1,children:o})})]})]})})},Ar=({sx:e,...r})=>a(jr,{...r,sx:Le({fontSize:{xs:Ga.sm.body.md,sm:Ga.sm.body.md,md:Ga.sm.body.md,lg:Ga.lg.body.md,xl:Ga.lg.body.md}},!!e&&{...e})}),Fr=le({attributes:{},listeners:void 0,ref(){}}),Tr=e=>Me({...e,wasDragging:!0});function Rr({children:r,top:i,bottom:n,id:o}){const{attributes:l,isDragging:t,listeners:c,setNodeRef:d,setActivatorNodeRef:u,transform:h,transition:g}=Se({id:o,animateLayoutChanges:Tr}),b=te((()=>({attributes:l,listeners:c,ref:u})),[l,c,u]),p={opacity:t?.4:void 0,transform:Fe.Translate.toString(h),transition:g};return a(Fr.Provider,{value:b,children:e(s,{className:"SortableItem",...l,sx:{position:"relative",...p,width:"100%"},ref:d,children:[i&&i,a(m,{...c,sx:{display:"flex",cursor:"grab"},children:r}),n&&n]})})}const Ir={sideEffects:ye({styles:{active:{opacity:"0.4"}}})};function Lr({children:e}){return Te(a(fe,{zIndex:999999,dropAnimation:Ir,children:e}),document.body)}const Vr=({nativeEvent:e})=>{let a=e.target;for(;a;){if(a.dataset.noDnd)return!1;a=a.parentElement}return!0};class Dr extends qe{static activators=[{eventName:"onMouseDown",handler:Vr}]}class Nr extends Ce{static activators=[{eventName:"onTouchStart",handler:Vr}]}function Pr({items:r,onChange:n,renderItem:o,disabled:l,direction:t}){if(!r)return;const[c,d]=de(null),u=te((()=>r.find((e=>e?.id===c?.id))),[c,r]),m=i(),h=x(m.breakpoints.down("md")),g=we(ve(Dr,{activationConstraint:{distance:5}}),ve(Nr,{activationConstraint:{delay:h?300:0,tolerance:8}}),ve(ze,{coordinateGetter:Ee}));return e(je,{measuring:{droppable:{strategy:xe.Always}},sensors:g,onDragStart:({active:e})=>{d(e)},onDragEnd:({active:e,over:a})=>{if(a&&e.id!==a?.id){const i=r.findIndex((({id:a})=>a===e.id)),o=r.findIndex((({id:e})=>e===a.id));n(_e(r,i,o))}d(null)},onDragCancel:()=>{d(null)},children:[a($e,{items:r,disabled:l,strategy:"horizontal"===t?Oe:Ae,children:a(s,{sx:{..."horizontal"===t&&{flexDirection:"row"},display:"flex",m:0,gap:1,padding:0,alignContent:"flex-start"},children:r.map((e=>a(ue,{children:o(e)},e.id)))})}),a(Lr,{children:u?o(u,!0,!!c):null})]})}function Br(e){let a="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)a+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+a+" for the full message."}Pr.Item=Rr,Pr.DragHandle=function(){const{attributes:e,listeners:r,ref:i}=ce(Fr);return a(m,{...e,...r,ref:i,children:a("svg",{viewBox:"0 0 20 20",width:"12",children:a("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"})})})};var Hr="$$material";function Wr(){return Wr=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var r=arguments[a];for(var i in r)({}).hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Wr.apply(null,arguments)}function Ur(e,a){if(null==e)return{};var r={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(a.includes(i))continue;r[i]=e[i]}return r}function Zr(e){let a="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)a+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+a+" for the full message."}var Gr=Object.freeze({__proto__:null,default:Zr});function Yr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Kr(e){if(e.__esModule)return e;var a=e.default;if("function"==typeof a){var r=function e(){return this instanceof e?Reflect.construct(a,arguments,this.constructor):a.apply(this,arguments)};r.prototype=a.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(a){var i=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(r,a,i.get?i:{enumerable:!0,get:function(){return e[a]}})})),r}var Jr,Xr={exports:{}},Qr={exports:{}},ei={};var ai,ri,ii,ni,oi,si,li,ti,ci,di,ui,mi,hi,gi,bi={};
1
+ import{jsxs as e,jsx as a,Fragment as r}from"react/jsx-runtime";import{useTheme as i,SvgIcon as n,Typography as o,Stack as s,Avatar as l,AvatarGroup as t,styled as c,CircularProgress as d,Button as u,Box as m,FormControlLabel as h,Checkbox as g,TextField as b,InputAdornment as p,FormGroup as k,alpha as y,Container as f,InputLabel as w,Radio as v,RadioGroup as z,Grid as j,useMediaQuery as x,MenuItem as q,Select as C,IconButton as S,ButtonGroup as M,Link as E,Slider as _,Rating as $,Paper as O,Switch as A,Tooltip as F,Menu as T,LinearProgress as R,linearProgressClasses as I,createTheme as L,GlobalStyles as V,CssBaseline as D}from"@mui/material";import{LockOutlined as N,MenuRounded as P,QueryBuilderRounded as B,WarningAmberRounded as H,LightbulbOutlined as W,ErrorOutlineOutlined as U,CheckCircleOutlineOutlined as Z,InfoOutlined as G,ExpandMore as Y,ArrowForward as K,Close as J,PlayCircle as X,Check as Q,Remove as ee,Info as ae,ErrorOutline as re,KeyboardArrowDown as ie,DragHandle as ne}from"@mui/icons-material";import*as oe from"react";import se,{createContext as le,useMemo as te,useContext as ce,useState as de,Fragment as ue,useEffect as me,forwardRef as he,useImperativeHandle as ge,createElement as be,startTransition as pe,useRef as ke}from"react";import{defaultDropAnimationSideEffects as ye,DragOverlay as fe,useSensors as we,useSensor as ve,KeyboardSensor as ze,DndContext as je,MeasuringStrategy as xe,MouseSensor as qe,TouchSensor as Ce}from"@dnd-kit/core";import{useSortable as Se,defaultAnimateLayoutChanges as Me,sortableKeyboardCoordinates as Ee,arrayMove as _e,SortableContext as $e,horizontalListSortingStrategy as Oe,verticalListSortingStrategy as Ae}from"@dnd-kit/sortable";import{CSS as Fe}from"@dnd-kit/utilities";import{createPortal as Te}from"react-dom";import{ThemeContext as Re}from"@mui/styled-engine";import{CacheProvider as Ie}from"@emotion/react";const Le=(...e)=>{const a=[];for(const r of e)if(r)if(Array.isArray(r))for(const e of r)a.push(e);else a.push(r);return a},Ve={sm:0,md:584,lg:812,lgNav:1e3,xl:1280,xxl:1728},De=0,Ne=4,Pe=8,Be=16,He=24,We=32,Ue=40,Ze=48,Ge=Pe,Ye={none:De,xs:Ne/Ge,sm:Pe/Ge,md:Be/Ge,lg:We/Ge,xl:Ze/Ge,xxl:80/Ge,xxxl:160/Ge},Ke={none:De,xs:Ne/Ge,sm:Pe/Ge,md:Be/Ge,lg:We/Ge,xl:Ze/Ge},Je={none:De,xs:2/Ge,sm:Ne/Ge,md:Pe/Ge,lg:Be/Ge,xl:He/Ge,round:999},Xe={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)"},Qe={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))"},ea={input:{focus:"0px 0px 0px 4px rgba(127, 76, 255, 0.24)"}},aa={default:"cubic-bezier(0.16, 1, 0.3, 1)",input:"all 200ms ease"},ra={xs:2*Ge,sm:2*Ge,md:2*Ge,lg:2.5*Ge,xl:3*Ge},ia=({name:r,size:o,sx:s})=>{const l=i(),t=o||ra.xl,c=o||ra.xl;switch(r){case"loopsOfficial":return a(n,{viewBox:"0 0 106 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:o,width:o},sx:Le(s,{"&.MuiSvgIcon-root path":{fill:"light"===l.palette.mode?l.custom.palette.icon.primary:l.custom.palette.icon.lockedWhite}}),children:a("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M11.8076 25.5073C10.0999 24.3082 9.74198 23.9512 9.74198 21.312V0H0.290527V0.399695L0.306001 0.409234C2.04234 1.47961 2.83235 1.96661 2.83235 4.59497V21.312C2.83235 23.9512 2.47443 24.3082 0.76674 25.5073V25.9069H11.8076V25.5073ZM12.3202 17.8947C13.3939 24.0305 18.9477 27.1823 24.7775 26.151C30.6043 25.1167 34.7507 20.2258 33.6769 14.1053C32.6032 7.98474 27.0494 4.81464 21.2196 5.84897C15.3898 6.88329 11.2464 11.759 12.3202 17.8947ZM19.518 16.6163C18.4897 10.7155 18.9052 8.04577 21.5229 7.582C24.1405 7.11518 25.4509 9.47368 26.4791 15.3745C27.5074 21.2754 27.0949 23.9329 24.4742 24.4089C21.8535 24.8848 20.5462 22.5172 19.518 16.6163ZM47.572 26.151C41.7453 27.1823 36.1915 24.0305 35.1147 17.8947C34.0379 11.759 38.1843 6.88329 44.0141 5.84897C49.8439 4.81464 55.3947 7.98474 56.4715 14.1053C57.5482 20.2258 53.3988 25.1167 47.572 26.151ZM44.3174 7.582C41.6967 8.04577 41.2842 10.7155 42.3125 16.6163C43.3407 22.5172 44.648 24.8848 47.2687 24.418C49.8894 23.9512 50.3019 21.2845 49.2737 15.3837C48.2454 9.48284 46.9381 7.11518 44.3174 7.582ZM68.4727 31.5116C66.4862 30.3817 65.7713 29.9751 65.7713 27.405L65.7773 22.6117C66.8086 24.6896 68.8742 26.328 72.2896 26.328C77.4521 26.328 81.5439 22.4012 81.5439 15.6491C81.5439 8.77803 77.5553 5.70252 73.0054 5.70252C69.2716 5.70252 66.6873 7.81998 65.7773 10.7368L65.6166 6.10221H56.4836V6.4836L56.4855 6.48484C58.1918 7.60063 58.8647 8.04064 58.8647 10.6789V27.405C58.8647 30.0412 58.5098 30.4012 56.7991 31.6003V32H68.6285V31.6003L68.4727 31.5116ZM70.0996 23.8963C67.6761 23.8963 65.7713 21.1411 65.7713 17.9466V15.0999C65.7713 11.5454 67.479 8.86651 70.0996 8.86651C72.8386 8.86651 74.1884 11.3867 74.1884 15.6583C74.1884 21.2998 72.7992 23.8963 70.0996 23.8963ZM103.38 26.2487C104.665 26.2487 105.706 25.2009 105.706 23.9085C105.706 22.616 104.665 21.5683 103.38 21.5683C102.095 21.5683 101.053 22.616 101.053 23.9085C101.053 25.2009 102.095 26.2487 103.38 26.2487ZM92.7131 12.3899C90.0531 11.6005 88.5566 11.1564 88.5566 9.56827C88.5566 8.23799 89.7699 7.64913 91.1045 7.64913C93.6888 7.64913 95.712 9.12891 98.0566 12.5645H98.6117V5.69337H98.2143L96.4278 7.01145C96.3499 6.97924 96.2721 6.94694 96.1943 6.91464C94.7242 6.30433 93.2525 5.69337 91.0257 5.69337C86.7762 5.69337 83.4002 8.32952 83.4002 12.2441C83.4002 15.759 85.0715 17.7574 91.0681 19.3166C93.2945 19.8749 94.8414 20.2746 94.8414 21.9924C94.8414 23.5912 93.2945 24.3478 91.426 24.3478C88.5566 24.3478 86.4607 22.3921 83.7035 18.6758H83.0969L83.5155 26.267H83.9522L85.5386 24.6682C86.8095 25.3089 88.7963 26.3066 91.4564 26.3066C96.54 26.3066 100.077 23.4691 100.077 19.4752C100.077 15.3593 97.6198 13.8429 92.7667 12.4058L92.7131 12.3899Z",fill:"#190F33"})});case"google":return e(n,{viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:o,width:o},sx:s,children:[a("path",{d:"M19.3 10.2085C19.3 9.5585 19.2417 8.9335 19.1334 8.3335H10.5V11.8835H15.4334C15.2167 13.0252 14.5667 13.9918 13.5917 14.6418V16.9502H16.5667C18.3 15.3502 19.3 13.0002 19.3 10.2085Z",fill:"#4285F4"}),a("path",{d:"M10.5 19.1668C12.975 19.1668 15.05 18.3502 16.5667 16.9502L13.5917 14.6418C12.775 15.1918 11.7334 15.5252 10.5 15.5252C8.11671 15.5252 6.09171 13.9168 5.36671 11.7502H2.31671V14.1168C3.82504 17.1085 6.91671 19.1668 10.5 19.1668Z",fill:"#34A853"}),a("path",{d:"M5.36671 11.7418C5.18337 11.1918 5.07504 10.6085 5.07504 10.0002C5.07504 9.39183 5.18337 8.8085 5.36671 8.2585V5.89183H2.31671C1.69171 7.12516 1.33337 8.51683 1.33337 10.0002C1.33337 11.4835 1.69171 12.8752 2.31671 14.1085L4.69171 12.2585L5.36671 11.7418Z",fill:"#FBBC05"}),a("path",{d:"M10.5 4.4835C11.85 4.4835 13.05 4.95016 14.0084 5.85016L16.6334 3.22516C15.0417 1.74183 12.975 0.833496 10.5 0.833496C6.91671 0.833496 3.82504 2.89183 2.31671 5.89183L5.36671 8.2585C6.09171 6.09183 8.11671 4.4835 10.5 4.4835Z",fill:"#EA4335"})]});case"linkedin-color":return e(n,{viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:o,width:o},sx:s,children:[a("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.37041 19.1668H17.6297C18.7547 19.1668 19.6667 18.2548 19.6667 17.1298V2.87053C19.6667 1.74551 18.7547 0.833496 17.6297 0.833496H3.37041C2.24539 0.833496 1.33337 1.74551 1.33337 2.87053V17.1298C1.33337 18.2548 2.24539 19.1668 3.37041 19.1668Z",fill:"#007EBB"}),a("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.1204 16.6205H14.3999V11.9868C14.3999 10.7164 13.9171 10.0064 12.9116 10.0064C11.8176 10.0064 11.2461 10.7452 11.2461 11.9868V16.6205H8.62427V7.79337H11.2461V8.98239C11.2461 8.98239 12.0344 7.52369 13.9076 7.52369C15.78 7.52369 17.1204 8.66704 17.1204 11.0317V16.6205ZM5.4964 6.63753C4.60334 6.63753 3.87967 5.90818 3.87967 5.00866C3.87967 4.10914 4.60334 3.37979 5.4964 3.37979C6.38946 3.37979 7.1127 4.10914 7.1127 5.00866C7.1127 5.90818 6.38946 6.63753 5.4964 6.63753ZM4.14259 16.6205H6.87651V7.79337H4.14259V16.6205Z",fill:"white"})]});case"positive":return a(n,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",style:{height:o,width:o},sx:s,children:a("path",{d:"M7.25241 16.7949C6.47136 17.576 6.47136 18.8423 7.25241 19.6234L11.0236 23.3946C11.8047 24.1756 13.071 24.1756 13.8521 23.3946L25.1658 12.0809C25.9468 11.2998 25.9468 10.0335 25.1658 9.25246C24.3847 8.47141 23.1184 8.47141 22.3374 9.25246L12.4379 19.152L10.0808 16.7949C9.29979 16.0139 8.03346 16.0139 7.25241 16.7949Z",fill:"#48B244"})});case"negative":return a(n,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:o,width:o},sx:s,children:a("path",{d:"M9.25241 9.25244C8.47136 10.0335 8.47136 11.2998 9.25241 12.0809L13.4951 16.3235L9.25241 20.5662C8.47136 21.3472 8.47136 22.6135 9.25241 23.3946C10.0335 24.1756 11.2998 24.1756 12.0808 23.3946L16.3235 19.1519L20.5661 23.3946C21.3472 24.1756 22.6135 24.1756 23.3945 23.3946C24.1756 22.6135 24.1756 21.3472 23.3945 20.5662L19.1519 16.3235L23.3945 12.0809C24.1756 11.2998 24.1756 10.0335 23.3945 9.25244C22.6135 8.47139 21.3472 8.4714 20.5661 9.25244L16.3235 13.4951L12.0808 9.25244C11.2998 8.47139 10.0335 8.47139 9.25241 9.25244Z",fill:"#FC5A4E"})});case"neutral":return a(n,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:o,width:o},sx:s,children:a("path",{d:"M6 16C6 14.8954 6.89543 14 8 14L24 14C25.1046 14 26 14.8954 26 16C26 17.1046 25.1046 18 24 18H8C6.89543 18 6 17.1046 6 16Z",fill:"#8C8799"})});case"linkedin":return a(n,{style:{height:o,width:o},viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",sx:s,children:a("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.8889 30H5.11111C3.39289 30 2 28.6071 2 26.8889V5.11111C2 3.39289 3.39289 2 5.11111 2H26.8889C28.6071 2 30 3.39289 30 5.11111V26.8889C30 28.6071 28.6071 30 26.8889 30ZM21.9561 26.1109H26.1111V17.5753C26.1111 13.9637 24.0639 12.2175 21.2043 12.2175C18.3435 12.2175 17.1395 14.4454 17.1395 14.4454V12.6294H13.1352V26.1109H17.1395V19.0339C17.1395 17.1377 18.0123 16.0093 19.683 16.0093C21.2188 16.0093 21.9561 17.0936 21.9561 19.0339V26.1109ZM5.88889 8.3764C5.88889 9.75021 6.99413 10.8641 8.35808 10.8641C9.72202 10.8641 10.8266 9.75021 10.8266 8.3764C10.8266 7.00259 9.72202 5.88867 8.35808 5.88867C6.99413 5.88867 5.88889 7.00259 5.88889 8.3764ZM10.4659 26.1109H6.29043V12.6294H10.4659V26.1109Z"})});case"medium":return a(n,{viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",style:{height:o,width:o},sx:s,children:a("path",{d:"M9.89698 8.51543C14.2584 8.51543 17.7937 12.0754 17.7937 16.4666C17.7937 20.8578 14.2581 24.4175 9.89698 24.4175C5.53585 24.4175 2 20.8578 2 16.4666C2 12.0754 5.53558 8.51543 9.89698 8.51543ZM22.5079 8.98119C24.6886 8.98119 26.4564 12.3322 26.4564 16.4666H26.4566C26.4566 20.5999 24.6888 23.952 22.5082 23.952C20.3275 23.952 18.5597 20.5999 18.5597 16.4666C18.5597 12.3333 20.3272 8.98119 22.5079 8.98119ZM28.6113 9.76085C29.3781 9.76085 30 12.7631 30 16.4666C30 20.1691 29.3784 23.1723 28.6113 23.1723C27.8443 23.1723 27.2229 20.1699 27.2229 16.4666C27.2229 12.7633 27.8445 9.76085 28.6113 9.76085Z"})});case"navigation-arrow":return a(n,{viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",style:{height:o,width:o},sx:s,children:a("path",{d:"M13.7929 8.46442L16.6083 11.2798L16.6213 11.2929L16.6235 11.2952C16.9631 11.6369 17.0053 12.1629 16.7494 12.5502C16.7128 12.6057 16.6701 12.6583 16.6213 12.7071L13.7929 15.5356C13.4025 15.9261 12.7692 15.9261 12.3788 15.5356C11.9882 15.145 11.9882 14.5119 12.3788 14.1213L13.5002 12.9999H8.0858C7.53352 12.9999 7.0858 12.5523 7.0858 11.9999C7.0858 11.4477 7.53352 10.9999 8.0858 10.9999H13.4999L12.3786 9.87872C11.9882 9.4881 11.9882 8.85504 12.3786 8.46442C12.7692 8.07391 13.4023 8.07391 13.7929 8.46442Z"})});case"unfold-more":return a(n,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:o,width:o},sx:s,children:a("path",{d:"M5.83 12.0001L9 8.83009L7.59 7.42009L3 12.0001L7.59 16.5901L9 15.1701L5.83 12.0001ZM18.17 12.0001L15 15.1701L16.41 16.5801L21 12.0001L16.41 7.41009L15 8.83009L18.17 12.0001Z",fill:"#190F33"})});case"play":return a(X,{style:{height:t,width:c},sx:s});case"close":return a(J,{style:{height:t,width:c},sx:s});case"arrow-forward":return a(K,{style:{height:t,width:c},sx:s});case"expand-more":return a(Y,{style:{height:t,width:c},sx:s});case"info":return a(G,{style:{height:t,width:c},sx:s});case"check-circle":return a(Z,{style:{height:t,width:c},sx:s});case"error-outline":return a(U,{style:{height:t,width:c},sx:s});case"lightbulb":return a(W,{style:{height:t,width:c},sx:s});case"warning-amber":return a(H,{style:{height:t,width:c},sx:s});case"access-time":return a(B,{style:{height:t,width:c},sx:s});case"menu":return a(P,{style:{height:t,width:c},sx:s});case"lock":return a(N,{style:{height:t,width:c},sx:s});case"check":return e(n,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 25",style:{height:o,width:o},children:[a("rect",{width:"24",height:"24",y:".5",fill:"#48B244",rx:"12"}),a("path",{fill:"#fff",d:"M5.44 13.096a1.5 1.5 0 0 0 0 2.121l2.828 2.829a1.5 1.5 0 0 0 2.121 0l8.485-8.485a1.5 1.5 0 1 0-2.121-2.122l-7.425 7.425-1.767-1.768a1.5 1.5 0 0 0-2.122 0Z"})]});case"dash":return a(n,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",style:{height:o,width:o},children:a("path",{fill:"#BAB7C2",d:"M4.5 12A1.5 1.5 0 0 1 6 10.5h12a1.5 1.5 0 0 1 0 3H6A1.5 1.5 0 0 1 4.5 12Z"})});case"gift":return e(n,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",style:{height:o,width:o},children:[a("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"none",d:"M20.5 8h-16a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1ZM12.5 8v13"}),a("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"none",d:"M19.5 12v7a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2v-7M8 8a2.5 2.5 0 1 1 0-5c.965-.017 1.91.451 2.713 1.343.802.892 1.425 2.166 1.787 3.657.362-1.49.985-2.765 1.787-3.657C15.09 3.451 16.035 2.983 17 3a2.5 2.5 0 0 1 0 5"})]});default:return e(n,{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 33",style:{height:o,width:o},sx:s,children:[a("path",{fill:"#C8E8C7",d:"M0 16.426c0-8.836 7.163-16 16-16s16 7.164 16 16-7.163 16-16 16-16-7.163-16-16"}),a("path",{fill:"#48B244",d:"M7.252 17.221a2 2 0 0 0 0 2.828l3.772 3.772a2 2 0 0 0 2.828 0l11.314-11.314a2 2 0 0 0-2.829-2.828l-9.9 9.9-2.356-2.358a2 2 0 0 0-2.829 0"})]})}},na="#FFFFFF",oa="#F8F8F9",sa="#E8E7EB",la="#D1CFD6",ta="#BAB7C2",ca="#A39FAD",da="#756F85",ua="#5E5770",ma="#190F33",ha="#130B26",ga="#1C142F",ba="#2A223C",pa="#413A51",ka="#585267",ya="#6F697D",fa="#9D98A8",wa="#B4AFBE",va="#F9F6FF",za={0:"#190f3300",.01:"#190f3303",1:"#190F3308",2:"#190F330F",3:"#190F331F",4:"#190F333D",5:"#190f3380"},ja={0:"#F9F6FF00",.01:"#fff6ff03",1:"#F9F6FF0A",2:"#F9F6FF14",3:"#F9F6FF1F",4:"#F9F6FF3D",5:"#f9f6ff80"},xa={0:"#F2EDFF",100:"#D9C9FF",200:"#BFA5FF",300:"#A582FF",400:"#8C5EFF",500:"#7F4CFF",600:"#7648E9",700:"#6441BE",800:"#533992",900:"#413167",1e3:"#2F2A3C"},qa={0:"#FFEEED",100:"#FECDCA",200:"#FDACA6",300:"#FD8B83",400:"#FC6B60",500:"#FC5A4E",600:"#E7554A",700:"#BC4A42",800:"#91403A",900:"#663632",1e3:"#3B2B2A"},Ca={0:"#EDF7EC",100:"#C8E8C7",200:"#A3D9A1",300:"#7FC97C",400:"#5ABA57",500:"#48B244",600:"#44A441",700:"#3D883B",800:"#376C35",900:"#30502F",1e3:"#293429"},Sa={light:{0:na,50:oa,100:sa,200:la,300:ta,400:ca,500:"#8C8799",600:da,700:ua,800:"#473F5C",900:"#302747",950:"#251B3D",1e3:ma,1100:"#0D081A"},dark:{0:ha,50:ga,100:ba,200:pa,300:ka,400:ya,500:"#868092",600:fa,700:wa,800:"#CBC7D4",900:"#E2DEE9",950:"#EDEAF4",1e3:va,1100:"#FFFFFF"}},Ma=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]}}),Ea=Ma(xa),_a=Ma(qa),$a=Ma({0:"#FFF8F6",100:"#FFEBE4",200:"#FFDFD2",300:"#FFD2C0",400:"#FFC5AE",500:"#FFBEA5",600:"#E9AF98",700:"#BE907F",800:"#927266",900:"#67544C",1e3:"#3C3533"}),Oa=Ma({0:"#FFF9E5",100:"#FFECB2",200:"#FFECB2",300:"#FFD24D",400:"#FFC61A",500:"#FFBF00",600:"#E9B004",700:"#BE910B",800:"#927313",900:"#67541B",1e3:"#3C3522"}),Aa=Ma({0:"#EBF8FB",100:"#C4E9F3",200:"#9DDAEB",300:"#76CBE4",400:"#4FBCDC",500:"#3CB4D8",600:"#39A6C6",700:"#358AA2",800:"#316D7F",900:"#2C515B",1e3:"#283438"}),Fa=Ma(Ca),Ta={light:{surface:{sunken:oa,default:na,raised:na,overlay:na,scrim:za[3],transparent:za[.01]},interaction:{none:za[0],hover:za[1],press:za[2],hoverOnDark:za[3],pressOnDark:za[4],disabled:za[2]},stroke:{default:la,focus:xa[500],disabled:sa},text:{primary:ma,secondary:da,placeholder:ca,disabled:ta,textLink:xa[800],textLinkHover:xa[900],primaryInverted:na,secondaryInverted:ca,placeholderInverted:da,disabledInverted:ua,positive:Ca[800],negative:qa[700],lockedWhite:na},icon:{primary:ma,secondary:da,disabled:ta,primaryInverted:na,secondaryInverted:ca,disabledInverted:ua,positive:Ca[800],negative:qa[700],lockedWhite:na},input:{default:na,disabled:"#FFFFFF80"}},dark:{surface:{default:ga,sunken:ha,raised:ba,overlay:pa,scrim:ja[3],transparent:ja[.01]},interaction:{none:ja[0],hover:ja[1],press:ja[2],hoverOnDark:ja[3],pressOnDark:ja[4],disabled:ja[2]},stroke:{default:pa,focus:xa[500],disabled:ba},text:{primary:va,secondary:wa,placeholder:ya,disabled:ka,textLink:xa[100],textLinkHover:xa[0],primaryInverted:ha,secondaryInverted:ya,placeholderInverted:fa,disabledInverted:wa,positive:Ca[300],negative:qa[300],lockedWhite:na},icon:{primary:va,secondary:wa,disabled:ka,primaryInverted:ha,secondaryInverted:ya,disabledInverted:wa,positive:Ca[300],negative:qa[300],lockedWhite:na},input:{default:ba,disabled:"#2A223C80"}}};var Ra;!function(e){e[e.DEFAULT=400]="DEFAULT",e[e.BOLD=500]="BOLD"}(Ra||(Ra={}));const Ia={name:"Domaine",default:{fileName:"DomaineRegular.woff2",weight:Ra.DEFAULT},bold:{fileName:"DomaineMedium.woff2",weight:Ra.BOLD}},La={name:"FoundersGrotesk",default:{fileName:"FoundersGroteskRegular.woff2",weight:Ra.DEFAULT},bold:{fileName:"FoundersGroteskMedium.woff2",weight:Ra.BOLD}},Va={Serif:'"Domaine", Palatino, serif',SansSerif:'"FoundersGrotesk", Arial, sans-serif'},Da=e=>"bold"===e?Ra.BOLD:Ra.DEFAULT,Na=({component:e,weight:r="default",variation:i,clamp:n=0,...s})=>a(o,{component:e,fontWeight:Da(r),variant:i,...s,sx:Le(s.sx,n?{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:n}:null)}),Pa=({logo:r,headerText:n,subText:o})=>{const l=i();return e(s,{gap:l.spacing(l.custom.margin.md),alignItems:"center",mb:l.spacing(l.custom.margin.lg),children:[!1===r?null:r||a(ia,{name:"loopsOfficial",sx:{width:{sm:79,md:79,lg:106},height:{sm:24,md:24,lg:32}}}),e(s,{gap:l.spacing(l.custom.margin.md),children:[n&&a(Na,{variation:"sm",component:"h1",align:"center",weight:"bold",children:n}),function(){if(o)return"string"==typeof o?a(Na,{variation:"md",component:"p",align:"center",children:o}):o}()]})]})},Ba=({variation:e="lg",children:r,...n})=>{const{custom:o}=i();switch(e){case"sm":return a(l,{sx:{border:`1px solid ${o.palette.stroke.default}`,height:32,width:32},...n,children:r});case"lg":return a(l,{sx:{border:`1px solid ${o.palette.stroke.default}`,height:48,width:48},...n,children:r})}},Ha=({variation:e="primary",...r})=>{if("primary"===e)return a(t,{...r})},Wa=["xs","sm","md","lg","xl","xxl","xxxl"],Ua=(e,a=16)=>{const r=1/a*e;return Math.round(1e3*r)/1e3},Za=(e,a="xs")=>{const r=Wa.reduce(((r,i,n)=>{const o=Wa.indexOf(a)||0,s=Number((16*Math.pow(e,n-o)).toFixed(2));return r[i]=s,r}),{}),i={};for(const[e,a]of Object.entries(r))i[e]=Ua(a)+"rem";return i},Ga={lg:{headline:Za(1.309,"xs"),body:Za(1.125,"md")},sm:{headline:Za(1.125,"xs"),body:Za(1.1,"md")},button:Za(1.125,"md")},Ya=e=>{const a=Wa.map((a=>({props:{variant:a},style:{fontFamily:`${Va.Serif}`,fontSize:Ga[e].headline[a]}}))),r=Wa.map((a=>({props:{variant:a,component:"h5"},style:{fontFamily:`${Va.SansSerif}`,fontSize:Ga[e].body[a]}}))),i=Wa.map((a=>({props:{variant:a,component:"h6"},style:{fontFamily:`${Va.SansSerif}`,fontSize:Ga[e].body[a]}})));return[...a,...Wa.map((a=>({props:{variant:a,component:"p"},style:{fontFamily:`${Va.SansSerif}`,fontSize:Ga[e].body[a]}}))),...r,...i]},Ka={xs:Ga.button.xs,sm:Ga.button.sm,md:Ga.button.sm,lg:Ga.button.md,xl:Ga.button.lg},Ja=e=>({backgroundColor:e.custom.palette.surface.transparent,fontWeight:300,"&:focus-visible":{boxShadow:e.custom.boxShadow.input.focus}}),Xa=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}`}}),Qa=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]}}),er=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}}}),ar={xs:3*Ge,sm:3.5*Ge,md:4*Ge,lg:5*Ge,xl:6*Ge},rr={xs:.5*Ge,sm:.5*Ge,md:Ge,lg:Ge,xl:Ge},ir=e=>({"& .MuiButton-icon":{margin:0,".MuiSvgIcon-root":{height:ra[e],width:ra[e]}}}),nr=e=>({"& .MuiBox-root":{lineHeight:"120%",fontSize:Ka[e],paddingLeft:rr[e],paddingRight:rr[e]}}),or=e=>({height:ar[e],paddingLeft:Ge,paddingRight:Ge}),sr=c(d)((()=>({color:"inherit",position:"absolute",padding:2}))),lr=({sizing:e,...r})=>a(sr,{size:e?ra[e]:40,...r}),tr=c(u)((({theme:e,loading:a})=>({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:a?"hidden":"visible"}}))),cr=c((({children:r,loading:i,sizing:n,...o})=>e(tr,{...o,sizing:n,loading:i,children:[i&&a(lr,{sizing:n}),a(m,{...i?{visibility:"hidden"}:void 0,children:r})]})))((({theme:e,variation:a,sizing:r})=>({color:e.custom.palette.text.primary,...r&&{...nr(r)},...r&&{...or(r)},...r&&{...ir(r)},"&: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"===a&&{...Ja(e)},..."outlined"===a&&{...Xa(e)},..."secondary"===a&&{...Qa(e)},..."primary"===a&&{...er(e)}}))),dr=({sizing:e="lg",variation:r="primary",...i})=>a(cr,{variation:r,sizing:e,...i}),ur=({label:e,sx:r,...n})=>{const o=i();return a(h,{label:e||"",sx:Le({ml:0,"&.Mui-disabled":{color:o.custom.palette.text.disabled},"&.Mui-error":{color:o.custom.palette.text.negative},"& .MuiFormControlLabel-label":{ml:e?o.custom.margin.md:0,color:"inherit",fontSize:{xs:Ga.sm.body.md,sm:Ga.sm.body.md,md:Ga.sm.body.md,lg:Ga.lg.body.md,xl:Ga.lg.body.md}}},r),...n})},mr=c(g)((({theme:e,sizing:a})=>({height:"default"===a?He:We,width:"default"===a?He:We,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"===a?ra.sm:ra.xl,height:"default"===a?ra.sm:ra.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}}},"&.Mui-focusVisible":{borderColor:e.custom.palette.stroke.focus,boxShadow:e.custom.boxShadow.input.focus,"&:before":{backgroundColor:e.custom.palette.interaction.press}}}))),hr=e=>a(mr,{checkedIcon:a(Q,{}),indeterminateIcon:a(ee,{}),...e}),gr=({internalChange:e,checkboxLabel:r,indeterminate:i,sizing:n,onChange:o,inputRef:s,...l})=>a(ur,{inputRef:s,label:r,control:a(hr,{sizing:n,indeterminate:i}),onChange:(a,r)=>{o&&o(a,r),e&&e()},...l}),br=c(b)((({theme:e})=>({"& .MuiInputAdornment-root":{marginRight:0,"& .MuiSvgIcon-root":{width:ra.xl,height:ra.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:Ga.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"}}}}}))),pr=({iconLeft:e,iconRight:r,placeholder:i,onChange:n,internalChange:o,inputRef:s,...l})=>a(br,{placeholder:i,sx:{height:Ue,"& .MuiOutlinedInput-input":{pl:e?1:2,pr:e?1:2}},inputRef:s,InputProps:{startAdornment:e?a(p,{position:"start",sx:{pl:1},children:e}):null,endAdornment:r?a(p,{position:"start",sx:{pr:1},children:r}):null},...l,onChange:e=>{n&&n(e),o&&o()}}),kr=({sizing:i,options:n,other:o,internalChange:s,value:l,inputRef:t,onChange:c})=>{const d=o?.name||"other-option",u=`${d}-value-`,h=e=>`${u}${e}`,g=o?.enabled,b=l?.includes(d)&&g,p=l?.find((e=>e.includes(u)));if(!l)return a("div",{});const y=(e,a)=>{let r=l.includes(e)?l.filter((a=>a!==e)):a?[e]:[...new Set(l),e];if(a||(r=r.filter((e=>!n.find((a=>a?.exclusive&&e===a.value))))),o?.enabled){!l.includes(d)||e!==d||(r=r.filter((e=>!e.includes(u))))}c(r),s&&s()};return e(r,{children:[e(k,{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:[n?n.map(((e,r)=>{const n=e.value;return a(ur,{sx:{"& .MuiButtonBase-root.MuiCheckbox-root":{alignSelf:"baseline"}},onChange:()=>y(n,e.exclusive),checked:l.includes(n),control:a(hr,{sizing:i}),label:e.label},n)})):null,g&&a(ur,{inputRef:t,onChange:()=>y(d),label:o?.label||"Other",checked:l.includes(d),control:a(hr,{sizing:i})},d)]}),b&&a(m,{sx:{mt:1},children:a(pr,{fullWidth:!0,autoFocus:!0,defaultValue:p?p.replace(u,""):"",placeholder:o?.placeholder,onChange:e=>{const a=l.find((e=>e.includes(u))),r=(a?l.map((a=>a.includes(u)?h(e.target.value):a)):[...l,h(e.target.value)]).filter((e=>e!==u));c(r),s&&s()},required:!0})})]})},yr=e=>`linear-gradient(135deg, ${e.custom.palette.purple[400]} 0%, ${e.custom.palette.purple[200]} 100%)`,fr=(e,a)=>{switch(a){case"tone1":default:return yr(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%, ${y(e.custom.palette.blue[1e3],.2)} 0%, ${y(e.custom.palette.blue[500],.2)} 100%), linear-gradient(135deg, ${e.custom.palette.purple[500]} 0%, ${e.custom.palette.purple[1e3]} 100%)`)(e)}},wr=(e,a)=>{const r=fr(e,a.gradient),i=(e=>"noise1"===e?"url(https://useloops-public.s3.eu-west-2.amazonaws.com/public/static/misc/noise_tile.png)":null)(a.texture);return i?[i,r].join(","):[r].join(",")},vr=({sx:e,children:r,texture:n="noise1",gradient:o="tone1",...s})=>{const l=i();return a(f,{maxWidth:!1,disableGutters:!0,sx:Le({background:wr(l,{texture:n,gradient:o}),height:"100%",p:[0,0,0]},!!e&&{...e}),...s,children:r})},zr=c(w)((({theme:e,align:a})=>({fontWeight:400,lineHeight:"140%",whiteSpace:"normal",textAlign:a,color:"inherit","&.Mui-disabled":{color:e.custom.palette.text.disabled},"&.Mui-error":{color:e.custom.palette.text.negative}}))),jr=e=>a(zr,{...e}),xr=r=>{const{icon:n=null,state:o="default",disabled:s,showicon:l=!0}=r,t=i();return e(m,{sx:{display:"inline-flex",alignItems:"center",color:s?t.custom.palette.text.disabled:(()=>{switch(o){case"disabled":return t.custom.palette.text.disabled;case"positive":return t.custom.palette.text.positive;case"negative":return t.custom.palette.text.negative;default:return t.custom.palette.text.secondary}})(),"& svg":{marginRight:t.spacing(t.custom.margin.xs),width:ra.xs,height:ra.xs,color:"inherit"}},children:[(()=>{if(!l)return null;if(n)return n;switch(o){case"disabled":default:return a(m,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:a(ae,{})});case"positive":return a(m,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:a(Q,{})});case"negative":return a(m,{sx:{height:20,display:"flex",alignItems:"center",alignSelf:"flex-start"},children:a(re,{})})}})(),a(jr,{...r,sx:{fontSize:{xs:Ga.sm.body.sm,sm:Ga.sm.body.sm,md:Ga.sm.body.sm,lg:Ga.lg.body.sm,xl:Ga.lg.body.sm}}})]})},qr=c(m)((({theme:e})=>({"& .MuiGrid-item":{"&:first-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:Ne,height:Ne,top:`calc(100% + ${Ne}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}},"&:last-of-type":{"& .MuiBox-root":{"& .MuiRadio-root":{"&:before":{content:'""',position:"absolute",width:Ne,height:Ne,top:`calc(100% + ${Ne}px)`,margin:"0 auto",background:e.custom.palette.stroke.default}}}}}}))),Cr=({children:e,width:r})=>a(qr,{sx:{width:r,minWidth:300},children:e}),Sr=c(v)((({theme:e,sizing:a})=>({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"===a?He:We,width:"default"===a?He:We,"& svg":{transition:e.custom.easing.input,fill:"none",width:"default"===a&&ra.sm,height:"default"===a&&ra.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}}}}))),Mr=e=>a(Sr,{...e}),Er=c(Mr)((()=>({marginRight:0}))),_r=c(m)((({theme:e})=>({posiion:"relative","&:after":{content:'""',position:"absolute",top:"50%",right:"0",height:Ne,width:`calc(100% - ${We}px)`,zIndex:0,backgroundColor:e.custom.palette.stroke.default}}))),$r=e=>a(_r,{sx:{position:"relative"},children:a(Er,{...e})}),Or=({disabled:r=!1,onChange:i,labelLeft:n,labelRight:o,internalChange:s,labelCenter:l})=>{const t=[...Array(7).keys()];return a(z,{children:e(Cr,{children:[a(j,{container:!0,justifyContent:"space-between",children:t.map(((e,n)=>{const o=n+1!==t.length;return a(j,{item:!0,sm:o,children:a($r,{disabled:r,value:e,onChange:(e,a)=>{i&&i(e,a),s&&s()},name:`radio-option-${e}`},e)},e)}))}),e(j,{container:!0,justifyContent:"space-between",sx:{mt:1},children:[a(j,{item:!0,sm:!0,sx:{textAlign:"left"},children:a(xr,{disabled:r,showicon:!1,children:n})}),a(j,{item:!0,sm:!0,sx:{textAlign:"center"},children:a(xr,{disabled:r,align:"center",showicon:!1,children:l})}),a(j,{item:!0,sm:!0,sx:{textAlign:"right"},children:a(xr,{disabled:r,align:"right",showicon:!1,children:o})})]})]})})},Ar=({sx:e,...r})=>a(jr,{...r,sx:Le({fontSize:{xs:Ga.sm.body.md,sm:Ga.sm.body.md,md:Ga.sm.body.md,lg:Ga.lg.body.md,xl:Ga.lg.body.md}},!!e&&{...e})}),Fr=le({attributes:{},listeners:void 0,ref(){}}),Tr=e=>Me({...e,wasDragging:!0});function Rr({children:r,top:i,bottom:n,id:o}){const{attributes:l,isDragging:t,listeners:c,setNodeRef:d,setActivatorNodeRef:u,transform:h,transition:g}=Se({id:o,animateLayoutChanges:Tr}),b=te((()=>({attributes:l,listeners:c,ref:u})),[l,c,u]),p={opacity:t?.4:void 0,transform:Fe.Translate.toString(h),transition:g};return a(Fr.Provider,{value:b,children:e(s,{className:"SortableItem",...l,sx:{position:"relative",...p,width:"100%"},ref:d,children:[i&&i,a(m,{...c,sx:{display:"flex",cursor:"grab"},children:r}),n&&n]})})}const Ir={sideEffects:ye({styles:{active:{opacity:"0.4"}}})};function Lr({children:e}){return Te(a(fe,{zIndex:999999,dropAnimation:Ir,children:e}),document.body)}const Vr=({nativeEvent:e})=>{let a=e.target;for(;a;){if(a.dataset.noDnd)return!1;a=a.parentElement}return!0};class Dr extends qe{static activators=[{eventName:"onMouseDown",handler:Vr}]}class Nr extends Ce{static activators=[{eventName:"onTouchStart",handler:Vr}]}function Pr({items:r,onChange:n,renderItem:o,disabled:l,direction:t}){if(!r)return;const[c,d]=de(null),u=te((()=>r.find((e=>e?.id===c?.id))),[c,r]),m=i(),h=x(m.breakpoints.down("md")),g=we(ve(Dr,{activationConstraint:{distance:5}}),ve(Nr,{activationConstraint:{delay:h?300:0,tolerance:8}}),ve(ze,{coordinateGetter:Ee}));return e(je,{measuring:{droppable:{strategy:xe.Always}},sensors:g,onDragStart:({active:e})=>{d(e)},onDragEnd:({active:e,over:a})=>{if(a&&e.id!==a?.id){const i=r.findIndex((({id:a})=>a===e.id)),o=r.findIndex((({id:e})=>e===a.id));n(_e(r,i,o))}d(null)},onDragCancel:()=>{d(null)},children:[a($e,{items:r,disabled:l,strategy:"horizontal"===t?Oe:Ae,children:a(s,{sx:{..."horizontal"===t&&{flexDirection:"row"},display:"flex",m:0,gap:1,padding:0,alignContent:"flex-start"},children:r.map((e=>a(ue,{children:o(e)},e.id)))})}),a(Lr,{children:u?o(u,!0,!!c):null})]})}function Br(e){let a="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)a+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+a+" for the full message."}Pr.Item=Rr,Pr.DragHandle=function(){const{attributes:e,listeners:r,ref:i}=ce(Fr);return a(m,{...e,...r,ref:i,children:a("svg",{viewBox:"0 0 20 20",width:"12",children:a("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"})})})};var Hr="$$material";function Wr(){return Wr=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var r=arguments[a];for(var i in r)({}).hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Wr.apply(null,arguments)}function Ur(e,a){if(null==e)return{};var r={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(a.includes(i))continue;r[i]=e[i]}return r}function Zr(e){let a="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)a+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+a+" for the full message."}var Gr=Object.freeze({__proto__:null,default:Zr});function Yr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Kr(e){if(e.__esModule)return e;var a=e.default;if("function"==typeof a){var r=function e(){return this instanceof e?Reflect.construct(a,arguments,this.constructor):a.apply(this,arguments)};r.prototype=a.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(a){var i=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(r,a,i.get?i:{enumerable:!0,get:function(){return e[a]}})})),r}var Jr,Xr={exports:{}},Qr={exports:{}},ei={};var ai,ri,ii,ni,oi,si,li,ti,ci,di,ui,mi,hi,gi,bi={};
2
2
  /** @license React v16.13.1
3
3
  * react-is.development.js
4
4
  *
package/dist/index.d.ts CHANGED
@@ -182,9 +182,10 @@ declare const AuthFormHeader: FunctionComponent<AuthFormHeaderProps>;
182
182
 
183
183
  interface AvatarProps {
184
184
  variation?: 'sm' | 'lg';
185
- src: string;
186
- alt: string;
187
- className: string;
185
+ src?: string;
186
+ alt?: string;
187
+ className?: string;
188
+ children?: ReactElement;
188
189
  }
189
190
  declare const Avatar: FunctionComponent<AvatarProps>;
190
191
 
package/dist/index.js CHANGED
@@ -30,4 +30,4 @@ object-assign
30
30
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31
31
  * See the License for the specific language governing permissions and
32
32
  * limitations under the License.
33
- */!function(e,a){var r;function i(e,a){var r=[],i=0;function n(e){return r.push(e),a}function o(){return r[i++]}return{tokenize:function(a){return a.replace(e,n)},detokenize:function(e){return e.replace(new RegExp("("+a+")","g"),o)}}}r=new function(){var e="`TMP`",a="`COMMENT`",r="[^\\u0020-\\u007e]",n="(?:[0-9]*\\.[0-9]+|[0-9]+)",o="(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)",s="direction\\s*:\\s*",l="['\"]?\\s*",t="(^|[^a-zA-Z])",c="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",d="(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",u="(?:[_a-z0-9-]|"+r+"|"+d+")",m=n+"(?:\\s*"+o+"|"+("-?"+("(?:[_a-z]|"+r+"|"+d+")")+u+"*")+")?",h="((?:-?"+m+")|(?:inherit|auto))",g="((?:-?"+m+")|(?:inherit|auto)|"+("(?:calc\\((?:"+("(?:(?:\\(|\\)|\\t| )|"+("(?:-?"+n+"(?:\\s*"+o+")?)")+"|(?:\\+|\\-|\\*|\\/)){3,}")+")\\))")+")",b="(#?"+u+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",p="(?:[!#$%&*-~]|"+r+"|"+d+")*?",k="(?![a-zA-Z])",y="(?!("+u+"|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|\"[^\"]*\"|"+a+")*?{)",f="(?!"+p+l+"\\))",w="(?="+p+l+"\\))",v="(\\s*(?:!important\\s*)?[;}])",z=/`TMP`/g,j=/`TMPLTR`/g,x=/`TMPRTL`/g,q=new RegExp("\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/","gi"),C=new RegExp("("+c+y+"[^;}]+;?)","gi"),S=new RegExp("("+c+"[^\\}]*?})","gi"),M=new RegExp("("+s+")ltr","gi"),E=new RegExp("("+s+")rtl","gi"),_=new RegExp(t+"(left)"+k+f+y,"gi"),O=new RegExp(t+"(right)"+k+f+y,"gi"),$=new RegExp(t+"(left)"+w,"gi"),T=new RegExp(t+"(right)"+w,"gi"),A=/(:dir\( *)ltr( *\))/g,F=/(:dir\( *)rtl( *\))/g,I=new RegExp(t+"(ltr)"+w,"gi"),R=new RegExp(t+"(rtl)"+w,"gi"),L=new RegExp(t+"([ns]?)e-resize","gi"),V=new RegExp(t+"([ns]?)w-resize","gi"),D=new RegExp("((?:margin|padding|border-width)\\s*:\\s*)"+g+"(\\s+)"+g+"(\\s+)"+g+"(\\s+)"+g+v,"gi"),B=new RegExp("((?:-color|border-style)\\s*:\\s*)"+b+"(\\s+)"+b+"(\\s+)"+b+"(\\s+)"+b+v,"gi"),P=new RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+m+")","gi"),N=new RegExp("(background-position-x\\s*:\\s*)(-?"+n+"%)","gi"),H=new RegExp("(border-radius\\s*:\\s*)"+h+"(?:(?:\\s+"+h+")(?:\\s+"+h+")?(?:\\s+"+h+")?)?(?:(?:(?:\\s*\\/\\s*)"+h+")(?:\\s+"+h+")?(?:\\s+"+h+")?(?:\\s+"+h+")?)?"+v,"gi"),W=new RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+h,"gi"),U=new RegExp("(text-shadow\\s*:\\s*)"+h+"(\\s*)"+b,"gi"),G=new RegExp("(text-shadow\\s*:\\s*)"+b+"(\\s*)"+h,"gi"),Z=new RegExp("(text-shadow\\s*:\\s*)"+h,"gi"),Y=new RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+h+"(\\s*\\))","gi"),K=new RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+h+"((?:\\s*,\\s*"+h+"){0,2}\\s*\\))","gi");function J(e,a,r){var i,n;return"%"===r.slice(-1)&&(-1!==(i=r.indexOf("."))?(n=r.length-i-2,r=(r=100-parseFloat(r)).toFixed(n)+"%"):r=100-parseFloat(r)+"%"),a+r}function X(e){switch(e.length){case 4:e=[e[1],e[0],e[3],e[2]];break;case 3:e=[e[1],e[0],e[1],e[2]];break;case 2:e=[e[1],e[0]];break;case 1:e=[e[0]]}return e.join(" ")}function Q(e,a){var r=[].slice.call(arguments),i=r.slice(2,6).filter((function(e){return e})),n=r.slice(6,10).filter((function(e){return e})),o=r[10]||"";return a+(n.length?X(i)+" / "+X(n):X(i))+o}function ee(e){return 0===parseFloat(e)?e:"-"===e[0]?e.slice(1):"-"+e}function ae(e,a,r){return a+ee(r)}function re(e,a,r,i,n){return a+r+ee(i)+n}function ie(e,a,r,i,n){return a+r+i+ee(n)}return{transform:function(r,n){var o=new i(C,"`NOFLIP_SINGLE`"),s=new i(S,"`NOFLIP_CLASS`"),l=new i(q,a);return r=l.tokenize(s.tokenize(o.tokenize(r.replace("`","%60")))),n.transformDirInUrl&&(r=r.replace(A,"$1`TMPLTR`$2").replace(F,"$1`TMPRTL`$2").replace(I,"$1"+e).replace(R,"$1ltr").replace(z,"rtl").replace(j,"ltr").replace(x,"rtl")),n.transformEdgeInUrl&&(r=r.replace($,"$1"+e).replace(T,"$1left").replace(z,"right")),r=r.replace(M,"$1"+e).replace(E,"$1ltr").replace(z,"rtl").replace(_,"$1"+e).replace(O,"$1left").replace(z,"right").replace(L,"$1$2"+e).replace(V,"$1$2e-resize").replace(z,"w-resize").replace(H,Q).replace(W,ae).replace(U,ie).replace(G,ie).replace(Z,ae).replace(Y,re).replace(K,re).replace(D,"$1$2$3$8$5$6$7$4$9").replace(B,"$1$2$3$8$5$6$7$4$9").replace(P,J).replace(N,J),r=o.detokenize(s.detokenize(l.detokenize(r)))}}},e.exports?a.transform=function(e,a,i){var n;return"object"==typeof a?n=a:(n={},"boolean"==typeof a&&(n.transformDirInUrl=a),"boolean"==typeof i&&(n.transformEdgeInUrl=i)),r.transform(e,n)}:"undefined"!=typeof window&&(window.cssjanus=r)}(hu,hu.exports);var gu=fa(hu.exports);function bu(e,a,r){switch(e.type){case"@import":case qd:case jd:return e.return=e.return||e.value;case xd:e.value=Array.isArray(e.props)?e.props.join(","):e.props,Array.isArray(e.children)&&e.children.forEach((function(e){e.type===jd&&(e.children=e.value)}))}var i=mu(Array.prototype.concat(e.children),bu);return Id(i)?e.return=e.value+"{"+i+"}":""}function pu(e,a,r,i){if(e.type===Cd||"@supports"===e.type||e.type===xd&&(!e.parent||"@media"===e.parent.type||e.parent.type===xd)){var n=gu.transform(bu(e));e.children=n?su(n)[0].children:[],e.return=""}}Object.defineProperty(pu,"name",{value:"stylisRTLPlugin"});const ku=i.createContext(null),yu=()=>e.jsx(a.GlobalStyles,{styles:{"strong, b":{fontWeight:500}}}),fu=Gs({key:"muirtl",stylisPlugins:[function(e,a,r,i){if(e.length>-1&&!e.return)switch(e.type){case qd:return void(e.return=uu(e.value,e.length,r));case Cd:return mu([Ud(e,{value:$d(e.value,"@","@"+zd)})],i);case xd:if(e.length)return function(e,a){return e.map(a).join("")}(r=e.props,(function(a){switch(Od(a,i=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Gd(Ud(e,{props:[$d(a,/:(read-\w+)/,":-moz-$1")]})),Gd(Ud(e,{props:[a]})),Ed(e,{props:Ld(r,i)});break;case"::placeholder":Gd(Ud(e,{props:[$d(a,/:(plac\w+)/,":"+zd+"input-$1")]})),Gd(Ud(e,{props:[$d(a,/:(plac\w+)/,":-moz-$1")]})),Gd(Ud(e,{props:[$d(a,/:(plac\w+)/,wd+"input-$1")]})),Gd(Ud(e,{props:[a]})),Ed(e,{props:Ld(r,i)})}return""}))}},pu]}),wu=Gs({key:"mui"});exports.AnnualController=({body:r,currency:i,changeCurrencyEvent:n=()=>{},frequency:o,heading:s,setCurrency:l=()=>{},setFrequency:t=()=>{},togglePayAnnuallyEvent:c=()=>{}})=>{const d=a.useTheme(),u=io(),m=[{value:"gbp",label:"£"},{value:"eur",label:"€"},{value:"usd",label:"$"}];return e.jsxs(a.Box,{sx:{alignItems:"center",backgroundColor:d.custom.palette.surface.default,borderRadius:d.custom.radius.round,boxShadow:d.custom.elevation.raised,display:"flex",gap:{sm:2,lg:4},mb:2,mt:4,px:{sm:2,lg:4},py:{sm:1,lg:2}},children:[e.jsxs(a.Box,{sx:{alignItems:"center",display:"flex",gap:1},children:[e.jsx(tl,{defaultChecked:!0,onChange:()=>(c(),void t("monthly"===o?"annual":"monthly")),role:"switch","aria-checked":"monthly"!==o,"aria-label":"Switch between monthly and annual billing",inputProps:{"aria-label":"Input for switch between monthly and annual billing"}}),e.jsxs(a.Stack,{sx:{alignItems:"flex-start",display:"flex"},children:[e.jsx(be,{variation:"sm"===u||"md"===u?"md":"xxl",component:"p",children:s}),e.jsx(be,{variation:"sm",component:"p",sx:{color:d.custom.palette.text.secondary},children:r})]})]}),e.jsx(go,{onChange:e=>{return a=e.target.value,n(a),void l(a);var a},selections:m,value:m.find((e=>e.value===i))?.value,sx:{minWidth:{sm:64,lg:72},height:{sm:f,lg:w}}})]})},exports.AuthContainerSurface=({children:r,headContent:i,sx:n,...o})=>{const s=a.useTheme();return e.jsxs(ll,{sx:{mx:[s.spacing(s.custom.margin.md),0],width:1,maxWidth:[512]},...o,children:[i&&e.jsx(a.Box,{sx:{width:"100%",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit",pt:s.spacing(s.custom.margin.md),px:s.spacing(s.custom.margin.md)},children:i}),e.jsx(a.Box,{sx:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",pt:i?[s.spacing(s.custom.margin.md)]:[s.spacing(s.custom.padding.lg),s.spacing(s.custom.padding.xl)],px:[s.spacing(s.custom.padding.lg),s.spacing(s.custom.padding.xl)],pb:[s.spacing(s.custom.padding.lg),s.spacing(s.custom.padding.xl)]},children:r})]})},exports.AuthFormHeader=({logo:r,headerText:i,subText:n})=>{const o=a.useTheme();return e.jsxs(a.Stack,{gap:o.spacing(o.custom.margin.md),alignItems:"center",mb:o.spacing(o.custom.margin.lg),children:[!1===r?null:r||e.jsx(O,{name:"loopsOfficial",sx:{width:{sm:79,md:79,lg:106},height:{sm:24,md:24,lg:32}}}),e.jsxs(a.Stack,{gap:o.spacing(o.custom.margin.md),children:[i&&e.jsx(be,{variation:"sm",component:"h1",align:"center",weight:"bold",children:i}),function(){if(n)return"string"==typeof n?e.jsx(be,{variation:"md",component:"p",align:"center",children:n}):n}()]})]})},exports.Avatar=({variation:r="lg",...i})=>{const{custom:n}=a.useTheme();switch(r){case"sm":return e.jsx(a.Avatar,{sx:{border:`1px solid ${n.palette.stroke.default}`,height:32,width:32},...i});case"lg":return e.jsx(a.Avatar,{sx:{border:`1px solid ${n.palette.stroke.default}`,height:48,width:48},...i})}},exports.AvatarGroup=({variation:r="primary",...i})=>{if("primary"===r)return e.jsx(a.AvatarGroup,{...i})},exports.Button=Fe,exports.CheckBoxGroup=Pe,exports.Checkbox=Ve,exports.ColorBackgroundContainer=({sx:r,children:i,texture:n="noise1",gradient:o="tone1",...s})=>{const l=a.useTheme();return e.jsx(a.Container,{maxWidth:!1,disableGutters:!0,sx:m({background:We(l,{texture:n,gradient:o}),height:"100%",p:[0,0,0]},!!r&&{...r}),...s,children:i})},exports.DEFAULT_MAX_INPUT_LENGTH=gd,exports.Differential=ra,exports.DropdownMenu=({open:r,anchorEl:i,handleClick:n,handleClose:o,items:s,...l})=>e.jsx(e.Fragment,{children:e.jsx(gl,{anchorEl:i,open:r,onClose:o,MenuListProps:{"aria-labelledby":"basic-button"},elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},...l,children:s?.map(((r,i)=>e.jsxs(a.MenuItem,{onClick:r.onClick,...r.menuItemProps,children:[r.icon&&e.jsx(a.Box,{mr:1,children:r.icon}),r.label]},i)))})}),exports.FormControlLabel=Ie,exports.FormGenerator=ud,exports.GridOverlay=({breakpoint:r})=>{const i=a.useTheme(),n=Array.from({length:6},((e,a)=>a));return r||(r=io()),e.jsxs(a.Stack,{sx:{alignItems:"center",height:"100%",left:0,pointerEvents:"none",position:"fixed",top:0,width:"100%",zIndex:({zIndex:e})=>e.tooltip},children:[e.jsx(a.Container,{sx:{background:i.custom.palette.red[300],display:"flex",flex:1,opacity:.3,position:"relative"},children:e.jsx(a.Box,{sx:{background:i.custom.palette.purple[300],display:"flex",flex:1},children:e.jsxs(a.Grid,{container:!0,spacing:2,children:[n.map((r=>e.jsx(a.Grid,{item:!0,sm:!0,sx:{display:{sm:"none",md:"block"}},children:e.jsx(a.Box,{sx:{background:i.custom.palette.green[300],height:"100%"}})},`grid-1-${r}`))),n.map((r=>e.jsx(a.Grid,{item:!0,sm:!0,sx:{display:{sm:"block"}},children:e.jsx(a.Box,{sx:{background:i.custom.palette.green[300],height:"100%"}})},`grid-2-${r}`)))]})})}),!!r&&e.jsx(a.Box,{sx:{backgroundColor:i.custom.palette.surface.default,borderRadius:i.spacing(i.custom.radius.md),bottom:16,filter:i.custom.elevationFilter.raised,display:"block",left:16,position:"fixed",px:2,py:1},children:e.jsx(be,{variation:"sm",component:"p",weight:"bold",children:r})})]})},exports.Icon=O,exports.IconButton=({icon:a,loading:r,sizing:i,...n})=>e.jsx(Mo,{...n,sizing:i,children:r?e.jsx($e,{sizing:i}):a}),exports.IconButtonGroup=({ButtonGroupProps:a,children:r,...i})=>e.jsx(Oo,{...i,...a,children:r}),exports.InputLabel=ia,exports.InputLabelHelp=Ze,exports.Likert=Vo,exports.Link=Bo,exports.Loader=()=>e.jsx(a.Box,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100dvh - 80px)"},children:e.jsx("img",{src:"https://useloops-public.s3.eu-west-2.amazonaws.com/public/landing/brand/loading-animation.gif",width:125})}),exports.Logo=a=>e.jsx("svg",{viewBox:"0 0 80 25",fill:"currentColor",...a,children:e.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"})}),exports.Pill=({body:r,variation:i="default",weight:n="heavy"})=>{const o=a.useTheme();return e.jsx(a.Box,{sx:{borderRadius:o.spacing(o.custom.radius.md),px:1,py:.5,...(e=>{switch(e){case"peach":return{backgroundColor:o.custom.palette.peach[100],color:"heavy"===n?o.custom.palette.peach[1e3]:o.custom.palette.peach[800]};case"peachDark":return{backgroundColor:o.custom.palette.peach[800],color:o.custom.palette.peach[0]};case"purple":return{backgroundColor:o.custom.palette.purple[100],color:"heavy"===n?o.custom.palette.purple[1e3]:o.custom.palette.purple[800]};default:return{backgroundColor:o.custom.palette.neutral[100],color:"heavy"===n?o.custom.palette.neutral[1e3]:o.custom.palette.neutral[800]}}})(i),...(e=>"light"===e?{fontWeight:400}:{fontWeight:500,textTransform:"uppercase"})(n)},children:e.jsx(be,{variation:"sm",component:"p",weight:"heavy"===n?"bold":"default",color:"inherit",children:r})})},exports.PlanFeatureTable=({currencySymbol:r,data:i,starterPrice:n,starterRespondentPrice:o,teamPrice:s,teamRespondentPrice:l,plusPrice:t,plusRespondentPrice:c,scalePrice:d,scaleRespondentPrice:u,variation:m="default"})=>{const h=a.useTheme();i||(i=bd);const g=Object.values(i.headings).map((({heading:e,pricing:a})=>({heading:e,pricing:a.replace("{{currencySymbol}}",r).replace("{{starterPrice}}",n).replace("{{teamPrice}}",s).replace("{{plusPrice}}",t).replace("{{scalePrice}}",d)}))),b=e=>e.replace("{{currencySymbol}}",r).replace("{{starterRespondentPrice}}",o||"").replace("{{teamRespondentPrice}}",l||"").replace("{{plusRespondentPrice}}",c||"").replace("{{scaleRespondentPrice}}",u||""),p=[...Object.values(i.rows).map(((e,a)=>({key:`pricing-table-features-${a}`,type:"row",name:{heading:e.heading,description:e.description},starter:b(e.starter),team:b(e.team),plus:b(e.plus),scale:b(e.scale)})))];return e.jsxs(a.Stack,{sx:{backgroundColor:h.custom.palette.surface.default,borderRadius:h.spacing(h.custom.radius.xl),boxShadow:h.custom.elevation.raised,display:"flex",gap:2,pb:{sm:2,lg:4},px:{sm:2,lg:4},minWidth:{sm:680}},children:[e.jsxs(a.Box,{sx:{display:"flex",py:2,px:1,justifyContent:"space-between"},children:[e.jsx(a.Box,{sx:{width:160}}),g.map((({heading:r,pricing:i})=>e.jsxs(a.Stack,{sx:{alignItems:"center",display:"flex",justifyContent:"center",width:122},children:[e.jsx(be,{variation:"platform"===m?"lg":"xxl",component:"p",weight:"bold",children:r}),e.jsx(be,{variation:"platform"===m?"sm":"md",component:"p",sx:{color:h.custom.palette.text.secondary},children:i})]},r)))]}),p.map((r=>e.jsxs(a.Box,{sx:{display:"flex",justifyContent:"space-between",p:1,"&:nth-of-type(odd)":{backgroundColor:h.custom.palette.surface.sunken}},children:[e.jsx(a.Box,{sx:{display:"flex",alignItems:"center",width:160},children:e.jsxs(a.Box,{sx:{display:"flex",justifyContent:"flex-start",alignItems:"center",flex:1,gap:1},children:[r.name.description&&e.jsx(hl,{message:r.name.description,children:e.jsx(a.Box,{sx:{alignItems:"center",color:h.custom.palette.icon.secondary,display:"flex"},children:e.jsx(O,{name:"info",size:24})})}),e.jsx(be,{variation:"platform"===m?"md":"lg",component:"p",children:r.name.heading})]})}),e.jsx(pd,{text:r.starter}),e.jsx(pd,{text:r.team}),e.jsx(pd,{text:r.plus}),e.jsx(pd,{text:r.scale})]},r.key)))]})},exports.PlanTierCard=({amount:r,billingType:n,body:o,ctaEvent:s=()=>{},ctaLink:l="#",ctaTarget:t="_self",ctaText:c,ctaVariation:d="primary",currencySymbol:u,currentPlan:m,features:h=[],freeTrialLength:g,freeTrialText:b,frequency:p,heading:k,label:y,largestHeaderHeight:f=0,perMonth:w,setLargestHeaderHeight:v=()=>{},variation:z="default"})=>{const j=a.useTheme(),x=io(),{width:q}=kd(),C=i.useRef(null),[S,M]=i.useState("sm");return i.useEffect((()=>{i.startTransition((()=>{M(x),x!==S&&v(0),C.current&&C.current.offsetHeight>f&&v(C.current.offsetHeight)}))}),[x,S,q]),e.jsxs(a.Stack,{sx:{display:"flex",flex:1,position:"relative"},children:[e.jsx(a.Stack,{sx:{alignItems:"center",backgroundColor:j.custom.palette.icon.primary,borderTopLeftRadius:j.spacing(j.custom.radius.lg),borderTopRightRadius:j.spacing(j.custom.radius.lg),boxShadow:j.custom.elevation.overlay,color:j.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:e.jsx(be,{variation:"md",component:"p",weight:"bold",sx:{color:j.custom.palette.white},children:y||"&nbsp;"})}),e.jsxs(a.Stack,{sx:{backgroundColor:j.custom.palette.surface.default,borderBottomLeftRadius:j.spacing(j.custom.radius.lg),borderBottomRightRadius:j.spacing(j.custom.radius.lg),borderTopLeftRadius:y?0:j.spacing(j.custom.radius.lg),borderTopRightRadius:y?0:j.spacing(j.custom.radius.lg),boxShadow:j.custom.elevation.overlay,display:"flex",flex:1},children:[e.jsxs(a.Stack,{sx:{display:"flex",gap:"sm"===x||"md"===x?1:2,textAlign:"center",minHeight:{sm:"none",md:f},px:2,py:{sm:2,lg:4}},ref:C,children:[e.jsx(be,{variation:"sm"===x?"xxl":"platform"===z?"md":"lg",component:"h2",weight:"bold",children:k}),e.jsx(be,{variation:"sm"===x?"md":"platform"===z?"md"===x?"sm":"md":"md"===x?"md":"lg",component:"p",sx:{color:j.custom.palette.text.secondary},children:o})]}),e.jsxs(a.Stack,{sx:{alignItems:"center",display:"flex",gap:2,minHeight:{sm:"none",md:168,lg:"platform"===z?184:240,xl:"platform"===z?184:226},px:2,py:{sm:2,md:2,lg:"platform"===z?2:6}},children:[e.jsxs(a.Box,{sx:{alignItems:"flex-end",display:"flex",gap:.5,justifyContent:"center"},children:[e.jsx(be,{variation:"md"===x?"sm":"xxl",component:"p",weight:"bold",sx:{lineHeight:1,marginBottom:-.15,marginRight:-.4},children:u}),e.jsx(be,{variation:"xxl",component:"p",weight:"bold",sx:{fontSize:{sm:48,md:26,lg:48},lineHeight:.8},children:r}),w&&e.jsx(be,{variation:"sm",component:"p",sx:{color:j.custom.palette.text.secondary,lineHeight:1,marginLeft:-.5},children:w})]}),g&&b&&e.jsxs(a.Box,{sx:{alignItems:"center",backgroundColor:j.custom.palette.yellow[300],borderRadius:j.custom.radius.round,boxShadow:j.custom.elevation.raised,display:"flex",gap:{sm:.5,md:1},px:2,py:1},children:[e.jsx(O,{name:"gift",size:24}),e.jsxs(a.Box,{sx:{display:"flex",flexDirection:{sm:"row",md:"column",lg:"row"},gap:{sm:.5,md:0,lg:.5}},children:[e.jsx(be,{variation:"md",component:"p",weight:"bold",sx:{lineHeight:1},children:g}),e.jsx(be,{variation:"md",component:"p",sx:{lineHeight:1},children:b})]})]}),n&&e.jsx(be,{variation:"sm",component:"p",sx:{color:j.custom.palette.text.placeholder},children:n})]}),e.jsxs(a.Stack,{sx:{display:"flex",flexDirection:{sm:"column-reverse",md:"column"}},children:[e.jsx(a.Box,{sx:{py:{sm:2,md:0},px:{sm:2,lg:4}},children:e.jsx(Bo,{href:l,title:c,target:t,onClick:()=>{k&&s(k)},sx:{"&:hover":{cursor:m?"default":"pointer"}},children:e.jsx(Fe,{fullWidth:!0,variation:d,sizing:"lg",disabled:m,children:c})})}),h?.length&&e.jsx(a.Stack,{sx:{alignItems:"center",gap:.5,px:{sm:2,lg:4},py:{sm:2,md:4,lg:"platform"===z?4:6}},children:h.map(((r,i)=>e.jsxs(a.Box,{sx:{alignItems:"center",display:"flex",gap:1,maxWidth:200,width:"100%"},children:[e.jsx(O,{name:"positive",size:24}),e.jsx(be,{variation:"md",component:"p",children:r})]},`${k}-feature-${i}`)))})]})]})]})},exports.PlanTierCardScale=({body:r,ctaEvent:i=()=>{},ctaLink:n="",ctaTarget:o="_blank",ctaText:s,currencySymbol:l,heading:t,postText:c,preText:d,amount:u})=>{const m=a.useTheme();return e.jsxs(a.Box,{sx:{backgroundColor:m.custom.palette.purple[0],borderRadius:m.spacing(m.custom.radius.lg),display:"flex",flexDirection:{sm:"column",md:"row"},textAlign:{sm:"center",md:"left"},boxShadow:m.custom.elevation.overlay,flex:1,gap:{sm:4,md:2},p:{sm:2,lg:4}},children:[e.jsxs(a.Stack,{sx:{flex:1,gap:2,justifyContent:"center"},children:[e.jsx(be,{variation:"md",component:"h2",sx:{fontWeight:500},children:t}),e.jsx(be,{variation:"md",component:"p",sx:{color:m.custom.palette.text.secondary},children:r})]}),e.jsxs(a.Stack,{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:[e.jsxs(a.Box,{sx:{alignItems:"flex-end",display:"flex",justifyContent:"center"},children:[e.jsx(be,{variation:"md",component:"p",sx:{color:m.custom.palette.text.placeholder,pr:.5},children:d}),e.jsxs(a.Box,{sx:{alignItems:"flex-end",display:"flex"},children:[e.jsx(be,{variation:"xxl",component:"p",sx:{fontWeight:500,lineHeight:1.2},children:l}),e.jsx(be,{variation:"xxl",component:"p",sx:{fontWeight:500,fontSize:{sm:"1.6rem",lg:"2.2rem"},lineHeight:{sm:1.15,lg:1}},children:u})]}),e.jsx(be,{variation:"md",component:"p",sx:{color:m.custom.palette.text.placeholder,pl:.1},children:c})]}),e.jsx(Bo,{href:n,title:s,target:o,onClick:()=>{t&&i(t)},children:e.jsx(Fe,{fullWidth:!0,variation:"outlined",sizing:"lg",children:s})})]})]})},exports.Portal=a=>{const[r,n]=i.useState(null),o=r?.contentWindow?.document?.body,s=Gs({key:"css",container:r?.contentWindow?.document?.head,prepend:!0});return e.jsx(Zs,{ref:n,children:o&&l.createPortal(e.jsx(c.CacheProvider,{value:s,children:a.children}),o)})},exports.PoweredByWatermarkLogo=()=>e.jsxs(a.Stack,{gap:.5,flexDirection:"row",children:[e.jsx(a.SvgIcon,{sx:{width:67,height:12},viewBox:"0 0 67 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.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"})}),e.jsxs(a.SvgIcon,{sx:{width:40,height:12},viewBox:"0 0 40 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("g",{id:"Brand/Wordmark",clipPath:"url(#clip0_900_1816)",children:e.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"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_900_1816",children:e.jsx("rect",{width:"39.5321",height:"12",fill:"white"})})})]})]}),exports.Progress=$e,exports.Radio=Xe,exports.RadioGroup=Ys,exports.Rank=yo,exports.Select=go,exports.Slider=el,exports.SortableList=ma,exports.StarRating=rl,exports.Surface=ll,exports.Switch=tl,exports.TextArea=dl,exports.TextBarDivider=({typographyProps:r,text:i,sx:n})=>{const o=a.useTheme();return e.jsx(a.Box,{sx:m(n,{width:"100%",position:"relative",display:"flex",gap:4,my:o.spacing(o.custom.margin.md),"&:before":{content:'""',width:"100%",background:o.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"},"&:after":{content:'""',width:"100%",background:o.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"}}),children:e.jsx(be,{align:"center",variation:"sm",component:"p",...r,children:i})})},exports.TextField=Be,exports.ThemeProvider=({mode:r="light",screenSize:n="lg",direction:o="ltr",children:s})=>{const l=((e="light",r="lg",n="ltr")=>{const{width:o}=kd(),[s,l]=i.useState(e),[t,c]=i.useState(r),[d,u]=i.useState(!1),[m,g]=i.useState(fd(s,t,n)),[b,p]=i.useState(fd("light"===s?"dark":"light",t,n)),[k,y]=i.useState("");i.useEffect((()=>{i.startTransition((()=>{c(o&&o<h.lg?"sm":"lg")}))}),[o]),i.useEffect((()=>{i.startTransition((()=>{g(fd(s,t,n)),p(fd("light"===s?"dark":"light",t,n))}))}),[s,t]);const f=a.useMediaQuery(m.breakpoints.only("sm"),{noSsr:!0}),w=a.useMediaQuery(m.breakpoints.only("md"),{noSsr:!0}),v=a.useMediaQuery(m.breakpoints.between("lg","xl"),{noSsr:!0}),z=a.useMediaQuery(m.breakpoints.up("xl"),{noSsr:!0});return i.useEffect((()=>{i.startTransition((()=>{f&&y("sm"),w&&y("md"),v&&y("lg"),z&&y("xl")}))}),[f,w,v,z]),{breakpoint:k,darkTheme:b,gridOverlayVisible:d,mode:s,theme:m,toggleGridOverlay:()=>{i.startTransition((()=>{u((e=>!e))}))},toggleMode:e=>{i.startTransition((()=>{if(e)return l(e);l((e=>"light"===e?"dark":"light"))}))}}})(r,n,o);return i.useEffect((()=>{"rtl"===o&&(document.dir="rtl")}),[]),e.jsx(ku.Provider,{value:l,children:e.jsx(c.CacheProvider,{value:"rtl"===o?fu:wu,children:e.jsxs(ro,{theme:l.theme,children:[e.jsx(a.CssBaseline,{}),e.jsx(yu,{}),s]})})})},exports.TickGroup=({heading:r,ticks:i})=>(a.useTheme(),e.jsxs(a.Stack,{sx:{display:"flex",gap:{sm:2,lg:4},py:{sm:2,lg:4}},children:[e.jsx(be,{variation:"xl",component:"p",sx:{textAlign:"center"},children:r}),e.jsx(a.Box,{sx:{columnGap:4,display:"flex",flex:1,flexWrap:"wrap",justifyContent:"center",rowGap:2},children:i.map(((i,n)=>e.jsxs(a.Box,{sx:{display:"flex",alignItems:"center",gap:1,px:{sm:0,lg:2}},children:[e.jsx(O,{name:"positive",size:32}),e.jsx(be,{variation:"xxl",component:"p",children:i})]},`tick-group-${r}-${n}`)))})]})),exports.Toast=({buttons:r,message:i,status:n="neutral",variation:o="sm"})=>{const s=a.useTheme();return e.jsx(a.Stack,{sx:{backgroundColor:s.custom.palette.surface.overlay,borderRadius:s.spacing(s.custom.radius.lg),boxShadow:s.custom.elevation.overlay,color:s.custom.palette.text.primaryInverted,display:"flex",flex:1,gap:1,p:2},children:e.jsxs(a.Box,{sx:{display:"flex",flex:1,flexDirection:"sm"===o?"row":"column",gap:2},children:[e.jsxs(a.Box,{sx:{display:"flex",flex:1,gap:1},children:["neutral"!==n&&e.jsx(ul,{status:n}),e.jsx(a.Box,{sx:{display:"flex"},children:e.jsx(be,{variation:"md",component:"p",sx:{px:1,pt:.5},children:i})})]}),r&&e.jsx(a.Box,{sx:{alignItems:"center",display:"flex",gap:2,justifyContent:"flex-end"},children:r})]})})},exports.Tooltip=hl,exports.Typography=be,exports.backgroundCreator=We,exports.chooseArticle=md,exports.defaultInputValidation=hd,exports.emailValidation={pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,30}$/i,message:"Please enter a valid email"}},exports.passwordValidation=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"}}),exports.useDropdownMenu=()=>{const[e,a]=i.useState(null);return{open:Boolean(e),handleClick:e=>{a(e.currentTarget)},handleClose:()=>{a(null)},anchorEl:e}};
33
+ */!function(e,a){var r;function i(e,a){var r=[],i=0;function n(e){return r.push(e),a}function o(){return r[i++]}return{tokenize:function(a){return a.replace(e,n)},detokenize:function(e){return e.replace(new RegExp("("+a+")","g"),o)}}}r=new function(){var e="`TMP`",a="`COMMENT`",r="[^\\u0020-\\u007e]",n="(?:[0-9]*\\.[0-9]+|[0-9]+)",o="(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)",s="direction\\s*:\\s*",l="['\"]?\\s*",t="(^|[^a-zA-Z])",c="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",d="(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",u="(?:[_a-z0-9-]|"+r+"|"+d+")",m=n+"(?:\\s*"+o+"|"+("-?"+("(?:[_a-z]|"+r+"|"+d+")")+u+"*")+")?",h="((?:-?"+m+")|(?:inherit|auto))",g="((?:-?"+m+")|(?:inherit|auto)|"+("(?:calc\\((?:"+("(?:(?:\\(|\\)|\\t| )|"+("(?:-?"+n+"(?:\\s*"+o+")?)")+"|(?:\\+|\\-|\\*|\\/)){3,}")+")\\))")+")",b="(#?"+u+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",p="(?:[!#$%&*-~]|"+r+"|"+d+")*?",k="(?![a-zA-Z])",y="(?!("+u+"|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|\"[^\"]*\"|"+a+")*?{)",f="(?!"+p+l+"\\))",w="(?="+p+l+"\\))",v="(\\s*(?:!important\\s*)?[;}])",z=/`TMP`/g,j=/`TMPLTR`/g,x=/`TMPRTL`/g,q=new RegExp("\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/","gi"),C=new RegExp("("+c+y+"[^;}]+;?)","gi"),S=new RegExp("("+c+"[^\\}]*?})","gi"),M=new RegExp("("+s+")ltr","gi"),E=new RegExp("("+s+")rtl","gi"),_=new RegExp(t+"(left)"+k+f+y,"gi"),O=new RegExp(t+"(right)"+k+f+y,"gi"),$=new RegExp(t+"(left)"+w,"gi"),T=new RegExp(t+"(right)"+w,"gi"),A=/(:dir\( *)ltr( *\))/g,F=/(:dir\( *)rtl( *\))/g,I=new RegExp(t+"(ltr)"+w,"gi"),R=new RegExp(t+"(rtl)"+w,"gi"),L=new RegExp(t+"([ns]?)e-resize","gi"),V=new RegExp(t+"([ns]?)w-resize","gi"),D=new RegExp("((?:margin|padding|border-width)\\s*:\\s*)"+g+"(\\s+)"+g+"(\\s+)"+g+"(\\s+)"+g+v,"gi"),B=new RegExp("((?:-color|border-style)\\s*:\\s*)"+b+"(\\s+)"+b+"(\\s+)"+b+"(\\s+)"+b+v,"gi"),P=new RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+m+")","gi"),N=new RegExp("(background-position-x\\s*:\\s*)(-?"+n+"%)","gi"),H=new RegExp("(border-radius\\s*:\\s*)"+h+"(?:(?:\\s+"+h+")(?:\\s+"+h+")?(?:\\s+"+h+")?)?(?:(?:(?:\\s*\\/\\s*)"+h+")(?:\\s+"+h+")?(?:\\s+"+h+")?(?:\\s+"+h+")?)?"+v,"gi"),W=new RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+h,"gi"),U=new RegExp("(text-shadow\\s*:\\s*)"+h+"(\\s*)"+b,"gi"),G=new RegExp("(text-shadow\\s*:\\s*)"+b+"(\\s*)"+h,"gi"),Z=new RegExp("(text-shadow\\s*:\\s*)"+h,"gi"),Y=new RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+h+"(\\s*\\))","gi"),K=new RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+h+"((?:\\s*,\\s*"+h+"){0,2}\\s*\\))","gi");function J(e,a,r){var i,n;return"%"===r.slice(-1)&&(-1!==(i=r.indexOf("."))?(n=r.length-i-2,r=(r=100-parseFloat(r)).toFixed(n)+"%"):r=100-parseFloat(r)+"%"),a+r}function X(e){switch(e.length){case 4:e=[e[1],e[0],e[3],e[2]];break;case 3:e=[e[1],e[0],e[1],e[2]];break;case 2:e=[e[1],e[0]];break;case 1:e=[e[0]]}return e.join(" ")}function Q(e,a){var r=[].slice.call(arguments),i=r.slice(2,6).filter((function(e){return e})),n=r.slice(6,10).filter((function(e){return e})),o=r[10]||"";return a+(n.length?X(i)+" / "+X(n):X(i))+o}function ee(e){return 0===parseFloat(e)?e:"-"===e[0]?e.slice(1):"-"+e}function ae(e,a,r){return a+ee(r)}function re(e,a,r,i,n){return a+r+ee(i)+n}function ie(e,a,r,i,n){return a+r+i+ee(n)}return{transform:function(r,n){var o=new i(C,"`NOFLIP_SINGLE`"),s=new i(S,"`NOFLIP_CLASS`"),l=new i(q,a);return r=l.tokenize(s.tokenize(o.tokenize(r.replace("`","%60")))),n.transformDirInUrl&&(r=r.replace(A,"$1`TMPLTR`$2").replace(F,"$1`TMPRTL`$2").replace(I,"$1"+e).replace(R,"$1ltr").replace(z,"rtl").replace(j,"ltr").replace(x,"rtl")),n.transformEdgeInUrl&&(r=r.replace($,"$1"+e).replace(T,"$1left").replace(z,"right")),r=r.replace(M,"$1"+e).replace(E,"$1ltr").replace(z,"rtl").replace(_,"$1"+e).replace(O,"$1left").replace(z,"right").replace(L,"$1$2"+e).replace(V,"$1$2e-resize").replace(z,"w-resize").replace(H,Q).replace(W,ae).replace(U,ie).replace(G,ie).replace(Z,ae).replace(Y,re).replace(K,re).replace(D,"$1$2$3$8$5$6$7$4$9").replace(B,"$1$2$3$8$5$6$7$4$9").replace(P,J).replace(N,J),r=o.detokenize(s.detokenize(l.detokenize(r)))}}},e.exports?a.transform=function(e,a,i){var n;return"object"==typeof a?n=a:(n={},"boolean"==typeof a&&(n.transformDirInUrl=a),"boolean"==typeof i&&(n.transformEdgeInUrl=i)),r.transform(e,n)}:"undefined"!=typeof window&&(window.cssjanus=r)}(hu,hu.exports);var gu=fa(hu.exports);function bu(e,a,r){switch(e.type){case"@import":case qd:case jd:return e.return=e.return||e.value;case xd:e.value=Array.isArray(e.props)?e.props.join(","):e.props,Array.isArray(e.children)&&e.children.forEach((function(e){e.type===jd&&(e.children=e.value)}))}var i=mu(Array.prototype.concat(e.children),bu);return Id(i)?e.return=e.value+"{"+i+"}":""}function pu(e,a,r,i){if(e.type===Cd||"@supports"===e.type||e.type===xd&&(!e.parent||"@media"===e.parent.type||e.parent.type===xd)){var n=gu.transform(bu(e));e.children=n?su(n)[0].children:[],e.return=""}}Object.defineProperty(pu,"name",{value:"stylisRTLPlugin"});const ku=i.createContext(null),yu=()=>e.jsx(a.GlobalStyles,{styles:{"strong, b":{fontWeight:500}}}),fu=Gs({key:"muirtl",stylisPlugins:[function(e,a,r,i){if(e.length>-1&&!e.return)switch(e.type){case qd:return void(e.return=uu(e.value,e.length,r));case Cd:return mu([Ud(e,{value:$d(e.value,"@","@"+zd)})],i);case xd:if(e.length)return function(e,a){return e.map(a).join("")}(r=e.props,(function(a){switch(Od(a,i=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Gd(Ud(e,{props:[$d(a,/:(read-\w+)/,":-moz-$1")]})),Gd(Ud(e,{props:[a]})),Ed(e,{props:Ld(r,i)});break;case"::placeholder":Gd(Ud(e,{props:[$d(a,/:(plac\w+)/,":"+zd+"input-$1")]})),Gd(Ud(e,{props:[$d(a,/:(plac\w+)/,":-moz-$1")]})),Gd(Ud(e,{props:[$d(a,/:(plac\w+)/,wd+"input-$1")]})),Gd(Ud(e,{props:[a]})),Ed(e,{props:Ld(r,i)})}return""}))}},pu]}),wu=Gs({key:"mui"});exports.AnnualController=({body:r,currency:i,changeCurrencyEvent:n=()=>{},frequency:o,heading:s,setCurrency:l=()=>{},setFrequency:t=()=>{},togglePayAnnuallyEvent:c=()=>{}})=>{const d=a.useTheme(),u=io(),m=[{value:"gbp",label:"£"},{value:"eur",label:"€"},{value:"usd",label:"$"}];return e.jsxs(a.Box,{sx:{alignItems:"center",backgroundColor:d.custom.palette.surface.default,borderRadius:d.custom.radius.round,boxShadow:d.custom.elevation.raised,display:"flex",gap:{sm:2,lg:4},mb:2,mt:4,px:{sm:2,lg:4},py:{sm:1,lg:2}},children:[e.jsxs(a.Box,{sx:{alignItems:"center",display:"flex",gap:1},children:[e.jsx(tl,{defaultChecked:!0,onChange:()=>(c(),void t("monthly"===o?"annual":"monthly")),role:"switch","aria-checked":"monthly"!==o,"aria-label":"Switch between monthly and annual billing",inputProps:{"aria-label":"Input for switch between monthly and annual billing"}}),e.jsxs(a.Stack,{sx:{alignItems:"flex-start",display:"flex"},children:[e.jsx(be,{variation:"sm"===u||"md"===u?"md":"xxl",component:"p",children:s}),e.jsx(be,{variation:"sm",component:"p",sx:{color:d.custom.palette.text.secondary},children:r})]})]}),e.jsx(go,{onChange:e=>{return a=e.target.value,n(a),void l(a);var a},selections:m,value:m.find((e=>e.value===i))?.value,sx:{minWidth:{sm:64,lg:72},height:{sm:f,lg:w}}})]})},exports.AuthContainerSurface=({children:r,headContent:i,sx:n,...o})=>{const s=a.useTheme();return e.jsxs(ll,{sx:{mx:[s.spacing(s.custom.margin.md),0],width:1,maxWidth:[512]},...o,children:[i&&e.jsx(a.Box,{sx:{width:"100%",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit",pt:s.spacing(s.custom.margin.md),px:s.spacing(s.custom.margin.md)},children:i}),e.jsx(a.Box,{sx:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",pt:i?[s.spacing(s.custom.margin.md)]:[s.spacing(s.custom.padding.lg),s.spacing(s.custom.padding.xl)],px:[s.spacing(s.custom.padding.lg),s.spacing(s.custom.padding.xl)],pb:[s.spacing(s.custom.padding.lg),s.spacing(s.custom.padding.xl)]},children:r})]})},exports.AuthFormHeader=({logo:r,headerText:i,subText:n})=>{const o=a.useTheme();return e.jsxs(a.Stack,{gap:o.spacing(o.custom.margin.md),alignItems:"center",mb:o.spacing(o.custom.margin.lg),children:[!1===r?null:r||e.jsx(O,{name:"loopsOfficial",sx:{width:{sm:79,md:79,lg:106},height:{sm:24,md:24,lg:32}}}),e.jsxs(a.Stack,{gap:o.spacing(o.custom.margin.md),children:[i&&e.jsx(be,{variation:"sm",component:"h1",align:"center",weight:"bold",children:i}),function(){if(n)return"string"==typeof n?e.jsx(be,{variation:"md",component:"p",align:"center",children:n}):n}()]})]})},exports.Avatar=({variation:r="lg",children:i,...n})=>{const{custom:o}=a.useTheme();switch(r){case"sm":return e.jsx(a.Avatar,{sx:{border:`1px solid ${o.palette.stroke.default}`,height:32,width:32},...n,children:i});case"lg":return e.jsx(a.Avatar,{sx:{border:`1px solid ${o.palette.stroke.default}`,height:48,width:48},...n,children:i})}},exports.AvatarGroup=({variation:r="primary",...i})=>{if("primary"===r)return e.jsx(a.AvatarGroup,{...i})},exports.Button=Fe,exports.CheckBoxGroup=Pe,exports.Checkbox=Ve,exports.ColorBackgroundContainer=({sx:r,children:i,texture:n="noise1",gradient:o="tone1",...s})=>{const l=a.useTheme();return e.jsx(a.Container,{maxWidth:!1,disableGutters:!0,sx:m({background:We(l,{texture:n,gradient:o}),height:"100%",p:[0,0,0]},!!r&&{...r}),...s,children:i})},exports.DEFAULT_MAX_INPUT_LENGTH=gd,exports.Differential=ra,exports.DropdownMenu=({open:r,anchorEl:i,handleClick:n,handleClose:o,items:s,...l})=>e.jsx(e.Fragment,{children:e.jsx(gl,{anchorEl:i,open:r,onClose:o,MenuListProps:{"aria-labelledby":"basic-button"},elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},...l,children:s?.map(((r,i)=>e.jsxs(a.MenuItem,{onClick:r.onClick,...r.menuItemProps,children:[r.icon&&e.jsx(a.Box,{mr:1,children:r.icon}),r.label]},i)))})}),exports.FormControlLabel=Ie,exports.FormGenerator=ud,exports.GridOverlay=({breakpoint:r})=>{const i=a.useTheme(),n=Array.from({length:6},((e,a)=>a));return r||(r=io()),e.jsxs(a.Stack,{sx:{alignItems:"center",height:"100%",left:0,pointerEvents:"none",position:"fixed",top:0,width:"100%",zIndex:({zIndex:e})=>e.tooltip},children:[e.jsx(a.Container,{sx:{background:i.custom.palette.red[300],display:"flex",flex:1,opacity:.3,position:"relative"},children:e.jsx(a.Box,{sx:{background:i.custom.palette.purple[300],display:"flex",flex:1},children:e.jsxs(a.Grid,{container:!0,spacing:2,children:[n.map((r=>e.jsx(a.Grid,{item:!0,sm:!0,sx:{display:{sm:"none",md:"block"}},children:e.jsx(a.Box,{sx:{background:i.custom.palette.green[300],height:"100%"}})},`grid-1-${r}`))),n.map((r=>e.jsx(a.Grid,{item:!0,sm:!0,sx:{display:{sm:"block"}},children:e.jsx(a.Box,{sx:{background:i.custom.palette.green[300],height:"100%"}})},`grid-2-${r}`)))]})})}),!!r&&e.jsx(a.Box,{sx:{backgroundColor:i.custom.palette.surface.default,borderRadius:i.spacing(i.custom.radius.md),bottom:16,filter:i.custom.elevationFilter.raised,display:"block",left:16,position:"fixed",px:2,py:1},children:e.jsx(be,{variation:"sm",component:"p",weight:"bold",children:r})})]})},exports.Icon=O,exports.IconButton=({icon:a,loading:r,sizing:i,...n})=>e.jsx(Mo,{...n,sizing:i,children:r?e.jsx($e,{sizing:i}):a}),exports.IconButtonGroup=({ButtonGroupProps:a,children:r,...i})=>e.jsx(Oo,{...i,...a,children:r}),exports.InputLabel=ia,exports.InputLabelHelp=Ze,exports.Likert=Vo,exports.Link=Bo,exports.Loader=()=>e.jsx(a.Box,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100dvh - 80px)"},children:e.jsx("img",{src:"https://useloops-public.s3.eu-west-2.amazonaws.com/public/landing/brand/loading-animation.gif",width:125})}),exports.Logo=a=>e.jsx("svg",{viewBox:"0 0 80 25",fill:"currentColor",...a,children:e.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"})}),exports.Pill=({body:r,variation:i="default",weight:n="heavy"})=>{const o=a.useTheme();return e.jsx(a.Box,{sx:{borderRadius:o.spacing(o.custom.radius.md),px:1,py:.5,...(e=>{switch(e){case"peach":return{backgroundColor:o.custom.palette.peach[100],color:"heavy"===n?o.custom.palette.peach[1e3]:o.custom.palette.peach[800]};case"peachDark":return{backgroundColor:o.custom.palette.peach[800],color:o.custom.palette.peach[0]};case"purple":return{backgroundColor:o.custom.palette.purple[100],color:"heavy"===n?o.custom.palette.purple[1e3]:o.custom.palette.purple[800]};default:return{backgroundColor:o.custom.palette.neutral[100],color:"heavy"===n?o.custom.palette.neutral[1e3]:o.custom.palette.neutral[800]}}})(i),...(e=>"light"===e?{fontWeight:400}:{fontWeight:500,textTransform:"uppercase"})(n)},children:e.jsx(be,{variation:"sm",component:"p",weight:"heavy"===n?"bold":"default",color:"inherit",children:r})})},exports.PlanFeatureTable=({currencySymbol:r,data:i,starterPrice:n,starterRespondentPrice:o,teamPrice:s,teamRespondentPrice:l,plusPrice:t,plusRespondentPrice:c,scalePrice:d,scaleRespondentPrice:u,variation:m="default"})=>{const h=a.useTheme();i||(i=bd);const g=Object.values(i.headings).map((({heading:e,pricing:a})=>({heading:e,pricing:a.replace("{{currencySymbol}}",r).replace("{{starterPrice}}",n).replace("{{teamPrice}}",s).replace("{{plusPrice}}",t).replace("{{scalePrice}}",d)}))),b=e=>e.replace("{{currencySymbol}}",r).replace("{{starterRespondentPrice}}",o||"").replace("{{teamRespondentPrice}}",l||"").replace("{{plusRespondentPrice}}",c||"").replace("{{scaleRespondentPrice}}",u||""),p=[...Object.values(i.rows).map(((e,a)=>({key:`pricing-table-features-${a}`,type:"row",name:{heading:e.heading,description:e.description},starter:b(e.starter),team:b(e.team),plus:b(e.plus),scale:b(e.scale)})))];return e.jsxs(a.Stack,{sx:{backgroundColor:h.custom.palette.surface.default,borderRadius:h.spacing(h.custom.radius.xl),boxShadow:h.custom.elevation.raised,display:"flex",gap:2,pb:{sm:2,lg:4},px:{sm:2,lg:4},minWidth:{sm:680}},children:[e.jsxs(a.Box,{sx:{display:"flex",py:2,px:1,justifyContent:"space-between"},children:[e.jsx(a.Box,{sx:{width:160}}),g.map((({heading:r,pricing:i})=>e.jsxs(a.Stack,{sx:{alignItems:"center",display:"flex",justifyContent:"center",width:122},children:[e.jsx(be,{variation:"platform"===m?"lg":"xxl",component:"p",weight:"bold",children:r}),e.jsx(be,{variation:"platform"===m?"sm":"md",component:"p",sx:{color:h.custom.palette.text.secondary},children:i})]},r)))]}),p.map((r=>e.jsxs(a.Box,{sx:{display:"flex",justifyContent:"space-between",p:1,"&:nth-of-type(odd)":{backgroundColor:h.custom.palette.surface.sunken}},children:[e.jsx(a.Box,{sx:{display:"flex",alignItems:"center",width:160},children:e.jsxs(a.Box,{sx:{display:"flex",justifyContent:"flex-start",alignItems:"center",flex:1,gap:1},children:[r.name.description&&e.jsx(hl,{message:r.name.description,children:e.jsx(a.Box,{sx:{alignItems:"center",color:h.custom.palette.icon.secondary,display:"flex"},children:e.jsx(O,{name:"info",size:24})})}),e.jsx(be,{variation:"platform"===m?"md":"lg",component:"p",children:r.name.heading})]})}),e.jsx(pd,{text:r.starter}),e.jsx(pd,{text:r.team}),e.jsx(pd,{text:r.plus}),e.jsx(pd,{text:r.scale})]},r.key)))]})},exports.PlanTierCard=({amount:r,billingType:n,body:o,ctaEvent:s=()=>{},ctaLink:l="#",ctaTarget:t="_self",ctaText:c,ctaVariation:d="primary",currencySymbol:u,currentPlan:m,features:h=[],freeTrialLength:g,freeTrialText:b,frequency:p,heading:k,label:y,largestHeaderHeight:f=0,perMonth:w,setLargestHeaderHeight:v=()=>{},variation:z="default"})=>{const j=a.useTheme(),x=io(),{width:q}=kd(),C=i.useRef(null),[S,M]=i.useState("sm");return i.useEffect((()=>{i.startTransition((()=>{M(x),x!==S&&v(0),C.current&&C.current.offsetHeight>f&&v(C.current.offsetHeight)}))}),[x,S,q]),e.jsxs(a.Stack,{sx:{display:"flex",flex:1,position:"relative"},children:[e.jsx(a.Stack,{sx:{alignItems:"center",backgroundColor:j.custom.palette.icon.primary,borderTopLeftRadius:j.spacing(j.custom.radius.lg),borderTopRightRadius:j.spacing(j.custom.radius.lg),boxShadow:j.custom.elevation.overlay,color:j.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:e.jsx(be,{variation:"md",component:"p",weight:"bold",sx:{color:j.custom.palette.white},children:y||"&nbsp;"})}),e.jsxs(a.Stack,{sx:{backgroundColor:j.custom.palette.surface.default,borderBottomLeftRadius:j.spacing(j.custom.radius.lg),borderBottomRightRadius:j.spacing(j.custom.radius.lg),borderTopLeftRadius:y?0:j.spacing(j.custom.radius.lg),borderTopRightRadius:y?0:j.spacing(j.custom.radius.lg),boxShadow:j.custom.elevation.overlay,display:"flex",flex:1},children:[e.jsxs(a.Stack,{sx:{display:"flex",gap:"sm"===x||"md"===x?1:2,textAlign:"center",minHeight:{sm:"none",md:f},px:2,py:{sm:2,lg:4}},ref:C,children:[e.jsx(be,{variation:"sm"===x?"xxl":"platform"===z?"md":"lg",component:"h2",weight:"bold",children:k}),e.jsx(be,{variation:"sm"===x?"md":"platform"===z?"md"===x?"sm":"md":"md"===x?"md":"lg",component:"p",sx:{color:j.custom.palette.text.secondary},children:o})]}),e.jsxs(a.Stack,{sx:{alignItems:"center",display:"flex",gap:2,minHeight:{sm:"none",md:168,lg:"platform"===z?184:240,xl:"platform"===z?184:226},px:2,py:{sm:2,md:2,lg:"platform"===z?2:6}},children:[e.jsxs(a.Box,{sx:{alignItems:"flex-end",display:"flex",gap:.5,justifyContent:"center"},children:[e.jsx(be,{variation:"md"===x?"sm":"xxl",component:"p",weight:"bold",sx:{lineHeight:1,marginBottom:-.15,marginRight:-.4},children:u}),e.jsx(be,{variation:"xxl",component:"p",weight:"bold",sx:{fontSize:{sm:48,md:26,lg:48},lineHeight:.8},children:r}),w&&e.jsx(be,{variation:"sm",component:"p",sx:{color:j.custom.palette.text.secondary,lineHeight:1,marginLeft:-.5},children:w})]}),g&&b&&e.jsxs(a.Box,{sx:{alignItems:"center",backgroundColor:j.custom.palette.yellow[300],borderRadius:j.custom.radius.round,boxShadow:j.custom.elevation.raised,display:"flex",gap:{sm:.5,md:1},px:2,py:1},children:[e.jsx(O,{name:"gift",size:24}),e.jsxs(a.Box,{sx:{display:"flex",flexDirection:{sm:"row",md:"column",lg:"row"},gap:{sm:.5,md:0,lg:.5}},children:[e.jsx(be,{variation:"md",component:"p",weight:"bold",sx:{lineHeight:1},children:g}),e.jsx(be,{variation:"md",component:"p",sx:{lineHeight:1},children:b})]})]}),n&&e.jsx(be,{variation:"sm",component:"p",sx:{color:j.custom.palette.text.placeholder},children:n})]}),e.jsxs(a.Stack,{sx:{display:"flex",flexDirection:{sm:"column-reverse",md:"column"}},children:[e.jsx(a.Box,{sx:{py:{sm:2,md:0},px:{sm:2,lg:4}},children:e.jsx(Bo,{href:l,title:c,target:t,onClick:()=>{k&&s(k)},sx:{"&:hover":{cursor:m?"default":"pointer"}},children:e.jsx(Fe,{fullWidth:!0,variation:d,sizing:"lg",disabled:m,children:c})})}),h?.length&&e.jsx(a.Stack,{sx:{alignItems:"center",gap:.5,px:{sm:2,lg:4},py:{sm:2,md:4,lg:"platform"===z?4:6}},children:h.map(((r,i)=>e.jsxs(a.Box,{sx:{alignItems:"center",display:"flex",gap:1,maxWidth:200,width:"100%"},children:[e.jsx(O,{name:"positive",size:24}),e.jsx(be,{variation:"md",component:"p",children:r})]},`${k}-feature-${i}`)))})]})]})]})},exports.PlanTierCardScale=({body:r,ctaEvent:i=()=>{},ctaLink:n="",ctaTarget:o="_blank",ctaText:s,currencySymbol:l,heading:t,postText:c,preText:d,amount:u})=>{const m=a.useTheme();return e.jsxs(a.Box,{sx:{backgroundColor:m.custom.palette.purple[0],borderRadius:m.spacing(m.custom.radius.lg),display:"flex",flexDirection:{sm:"column",md:"row"},textAlign:{sm:"center",md:"left"},boxShadow:m.custom.elevation.overlay,flex:1,gap:{sm:4,md:2},p:{sm:2,lg:4}},children:[e.jsxs(a.Stack,{sx:{flex:1,gap:2,justifyContent:"center"},children:[e.jsx(be,{variation:"md",component:"h2",sx:{fontWeight:500},children:t}),e.jsx(be,{variation:"md",component:"p",sx:{color:m.custom.palette.text.secondary},children:r})]}),e.jsxs(a.Stack,{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:[e.jsxs(a.Box,{sx:{alignItems:"flex-end",display:"flex",justifyContent:"center"},children:[e.jsx(be,{variation:"md",component:"p",sx:{color:m.custom.palette.text.placeholder,pr:.5},children:d}),e.jsxs(a.Box,{sx:{alignItems:"flex-end",display:"flex"},children:[e.jsx(be,{variation:"xxl",component:"p",sx:{fontWeight:500,lineHeight:1.2},children:l}),e.jsx(be,{variation:"xxl",component:"p",sx:{fontWeight:500,fontSize:{sm:"1.6rem",lg:"2.2rem"},lineHeight:{sm:1.15,lg:1}},children:u})]}),e.jsx(be,{variation:"md",component:"p",sx:{color:m.custom.palette.text.placeholder,pl:.1},children:c})]}),e.jsx(Bo,{href:n,title:s,target:o,onClick:()=>{t&&i(t)},children:e.jsx(Fe,{fullWidth:!0,variation:"outlined",sizing:"lg",children:s})})]})]})},exports.Portal=a=>{const[r,n]=i.useState(null),o=r?.contentWindow?.document?.body,s=Gs({key:"css",container:r?.contentWindow?.document?.head,prepend:!0});return e.jsx(Zs,{ref:n,children:o&&l.createPortal(e.jsx(c.CacheProvider,{value:s,children:a.children}),o)})},exports.PoweredByWatermarkLogo=()=>e.jsxs(a.Stack,{gap:.5,flexDirection:"row",children:[e.jsx(a.SvgIcon,{sx:{width:67,height:12},viewBox:"0 0 67 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.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"})}),e.jsxs(a.SvgIcon,{sx:{width:40,height:12},viewBox:"0 0 40 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("g",{id:"Brand/Wordmark",clipPath:"url(#clip0_900_1816)",children:e.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"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_900_1816",children:e.jsx("rect",{width:"39.5321",height:"12",fill:"white"})})})]})]}),exports.Progress=$e,exports.Radio=Xe,exports.RadioGroup=Ys,exports.Rank=yo,exports.Select=go,exports.Slider=el,exports.SortableList=ma,exports.StarRating=rl,exports.Surface=ll,exports.Switch=tl,exports.TextArea=dl,exports.TextBarDivider=({typographyProps:r,text:i,sx:n})=>{const o=a.useTheme();return e.jsx(a.Box,{sx:m(n,{width:"100%",position:"relative",display:"flex",gap:4,my:o.spacing(o.custom.margin.md),"&:before":{content:'""',width:"100%",background:o.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"},"&:after":{content:'""',width:"100%",background:o.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"}}),children:e.jsx(be,{align:"center",variation:"sm",component:"p",...r,children:i})})},exports.TextField=Be,exports.ThemeProvider=({mode:r="light",screenSize:n="lg",direction:o="ltr",children:s})=>{const l=((e="light",r="lg",n="ltr")=>{const{width:o}=kd(),[s,l]=i.useState(e),[t,c]=i.useState(r),[d,u]=i.useState(!1),[m,g]=i.useState(fd(s,t,n)),[b,p]=i.useState(fd("light"===s?"dark":"light",t,n)),[k,y]=i.useState("");i.useEffect((()=>{i.startTransition((()=>{c(o&&o<h.lg?"sm":"lg")}))}),[o]),i.useEffect((()=>{i.startTransition((()=>{g(fd(s,t,n)),p(fd("light"===s?"dark":"light",t,n))}))}),[s,t]);const f=a.useMediaQuery(m.breakpoints.only("sm"),{noSsr:!0}),w=a.useMediaQuery(m.breakpoints.only("md"),{noSsr:!0}),v=a.useMediaQuery(m.breakpoints.between("lg","xl"),{noSsr:!0}),z=a.useMediaQuery(m.breakpoints.up("xl"),{noSsr:!0});return i.useEffect((()=>{i.startTransition((()=>{f&&y("sm"),w&&y("md"),v&&y("lg"),z&&y("xl")}))}),[f,w,v,z]),{breakpoint:k,darkTheme:b,gridOverlayVisible:d,mode:s,theme:m,toggleGridOverlay:()=>{i.startTransition((()=>{u((e=>!e))}))},toggleMode:e=>{i.startTransition((()=>{if(e)return l(e);l((e=>"light"===e?"dark":"light"))}))}}})(r,n,o);return i.useEffect((()=>{"rtl"===o&&(document.dir="rtl")}),[]),e.jsx(ku.Provider,{value:l,children:e.jsx(c.CacheProvider,{value:"rtl"===o?fu:wu,children:e.jsxs(ro,{theme:l.theme,children:[e.jsx(a.CssBaseline,{}),e.jsx(yu,{}),s]})})})},exports.TickGroup=({heading:r,ticks:i})=>(a.useTheme(),e.jsxs(a.Stack,{sx:{display:"flex",gap:{sm:2,lg:4},py:{sm:2,lg:4}},children:[e.jsx(be,{variation:"xl",component:"p",sx:{textAlign:"center"},children:r}),e.jsx(a.Box,{sx:{columnGap:4,display:"flex",flex:1,flexWrap:"wrap",justifyContent:"center",rowGap:2},children:i.map(((i,n)=>e.jsxs(a.Box,{sx:{display:"flex",alignItems:"center",gap:1,px:{sm:0,lg:2}},children:[e.jsx(O,{name:"positive",size:32}),e.jsx(be,{variation:"xxl",component:"p",children:i})]},`tick-group-${r}-${n}`)))})]})),exports.Toast=({buttons:r,message:i,status:n="neutral",variation:o="sm"})=>{const s=a.useTheme();return e.jsx(a.Stack,{sx:{backgroundColor:s.custom.palette.surface.overlay,borderRadius:s.spacing(s.custom.radius.lg),boxShadow:s.custom.elevation.overlay,color:s.custom.palette.text.primaryInverted,display:"flex",flex:1,gap:1,p:2},children:e.jsxs(a.Box,{sx:{display:"flex",flex:1,flexDirection:"sm"===o?"row":"column",gap:2},children:[e.jsxs(a.Box,{sx:{display:"flex",flex:1,gap:1},children:["neutral"!==n&&e.jsx(ul,{status:n}),e.jsx(a.Box,{sx:{display:"flex"},children:e.jsx(be,{variation:"md",component:"p",sx:{px:1,pt:.5},children:i})})]}),r&&e.jsx(a.Box,{sx:{alignItems:"center",display:"flex",gap:2,justifyContent:"flex-end"},children:r})]})})},exports.Tooltip=hl,exports.Typography=be,exports.backgroundCreator=We,exports.chooseArticle=md,exports.defaultInputValidation=hd,exports.emailValidation={pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,30}$/i,message:"Please enter a valid email"}},exports.passwordValidation=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"}}),exports.useDropdownMenu=()=>{const[e,a]=i.useState(null);return{open:Boolean(e),handleClick:e=>{a(e.currentTarget)},handleClose:()=>{a(null)},anchorEl:e}};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useloops/design-system",
3
- "version": "1.4.53",
3
+ "version": "1.4.54",
4
4
  "description": "The official React based Loops design system",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/esm/index.js",