@veracity/vui 3.0.0-beta.1 → 3.0.0-beta.3
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/{chunk-ALsxd0aW.js → chunk-CPoNOtC7.js} +1 -1
- package/dist/index.d.ts +445 -445
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +33 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__export as e}from"./chunk-ALsxd0aW.js";import t,{Children as n,Fragment as r,cloneElement as i,createContext as a,createElement as o,forwardRef as s,isValidElement as c,memo as l,useCallback as u,useContext as d,useEffect as f,useId as p,useMemo as m,useReducer as h,useRef as g,useState as _}from"react";import{Fragment as v,jsx as y,jsxs as b}from"react/jsx-runtime";import{animation as x,backgroundColor as S,borders as C,color as w,compose as T,createX as E,effects as D,flexboxGrids as O,flexboxes as k,getPx as A,grids as j,interactivity as ee,layout as M,sizing as te,space as ne,style as N,tables as re,th as ie,themeGetter as ae,transforms as oe,transitions as se,typography as ce,useViewportWidth as le}from"@xstyled/styled-components";import ue,{ThemeProvider as de,createGlobalStyle as fe,css as pe,useTheme as me}from"styled-components";import{getColor as he}from"@xstyled/system";import{transform as ge}from"@xstyled/core";import{flattenStrings as _e}from"@xstyled/util";import{createPortal as ve}from"react-dom";import ye from"tippy.js";import be from"@tippyjs/react";import xe from"react-focus-lock";import Se from"react-slider";const Ce=`https://cdn.veracity.com`,we=`https://cdnstag.veracity.com`,Te=`https://cdntest.veracity.com`,Ee=`/common/fonts`,De={Prod:Ce,Stag:we,Test:Te};function Oe(e,t=`asc`){let n=t===`asc`?1:-1;return(r,i)=>{if(t===null)return 0;let a=r[e],o=i[e];return typeof a==`string`&&typeof o==`string`?a.localeCompare(o)*n:typeof a==`number`&&typeof o==`number`?a>o?n:a<o?-n:0:0}}function ke(e,t){return e.includes(t)?e.filter(e=>e!==t):[...e,t]}function Ae(e){return Array.isArray(e)}function je(e){return typeof e==`function`}function P(e){return c(e)}function Me(e){return typeof e==`number`}function Ne(e){return!!e&&typeof e==`object`&&!je(e)&&!Ae(e)&&!c(e)}function Pe(e){return Me(e)||F(e)}function F(e){return Object.prototype.toString.call(e)===`[object String]`}const Fe=!1,Ie=`vui-active`,Le=30,Re=`grey.40`;function ze(e){return`${new Date(e)}`!=`Invalid Date`}function Be(e){let t=new Date(e);if(!ze(t))return;let n=t?.getFullYear(),r=(t.getMonth()+1).toString().padStart(2,`0`),i=t.getDate().toString().padStart(2,`0`);return`${n}-${r}-${i}`}function Ve(e){if(!e)return;let t=Date.parse(e);return isNaN(t)?void 0:new Date(t)}function He(e){let t=/^\d{4}-\d{2}-\d{2}$/;return e.match(t)}const Ue=e=>({utcYear:e.getUTCFullYear(),utcMonth:e.getUTCMonth(),utcDate:e.getUTCDate()}),I=(e,t,n)=>n?new Date(Date.UTC(e,t,n)):new Date(Date.UTC(e,t)),We=(e,t)=>!e||!t?!1:e.getUTCFullYear()===t.getUTCFullYear()&&e.getUTCMonth()===t.getUTCMonth(),Ge=(e,t)=>!e||!t?!1:e.getUTCFullYear()===t.getUTCFullYear(),Ke=(e,t)=>!e||!t?!1:e.getUTCFullYear()===t.getUTCFullYear()&&e.getUTCMonth()===t.getUTCMonth()&&e.getUTCDate()===t.getUTCDate(),qe=e=>{if(!e)return;let t=new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate());return t.toLocaleDateString()},Je=()=>{let e=new Date;return e.getFullYear()},Ye=e=>{let t=document.createElement(`div`);return t.setAttribute(`id`,e),t},Xe=e=>{let t=document.getElementById(e);t?.remove?.()},Ze=e=>document.body.classList.add(e),Qe=e=>document.body.classList.remove(e),$e={"DD MM YYYY":{year:`numeric`,month:`2-digit`,day:`2-digit`},"DD MM YYYY, HH:MM":{year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`},"DD MMM":{month:`short`,day:`2-digit`},"DD MMM YYYY":{year:`numeric`,month:`short`,day:`2-digit`},"DD MMM YYYY, HH:MM":{year:`numeric`,month:`short`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`},"DD MMM, HH:MM":{month:`short`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`},"HH:MM":{locales:`en-GB`,hour:`2-digit`,minute:`2-digit`,hourCycle:`h23`},"MMM D, YYYY":{locales:`en-US`,year:`numeric`,month:`short`,day:`numeric`},"YYYY/MM/DD":{locales:`en-ZA`},"YYYY-MM-DD":{locales:`fr-CA`},"YYYY/MM/DD, HH:MM":{locales:`en-ZA`,hour:`2-digit`,minute:`2-digit`},"YYYY-MM-DD, HH:MM":{locales:`fr-CA`,timeStyle:`short`},"YYYY-MM-DD, HH:MM:SS":{locales:`fr-CA`}};function et(e,t=`DD MM YYYY`,n){let r=$e[t],{locales:i,...a}={...r,...n};return t===`YYYY-MM-DD, HH:MM:SS`||t===`YYYY-MM-DD, HH:MM`?e?new Date(e).toLocaleDateString(i)+`, `+new Date(e).toLocaleTimeString(void 0,a):``:t===`HH:MM`?e?new Date(e).toLocaleTimeString(i,a):``:e?new Date(e).toLocaleDateString(i,a):``}function tt(...e){return(...t)=>e.forEach(e=>typeof e==`function`&&e(...t))}function nt(){}function rt(e,...t){return je(e)?e(...t):e}function it(e=0,t=1e6){return Math.floor(Math.random()*t)+e}function L(e){return ot(e,e=>e!=null)}function at(...e){let t={};return e.forEach(e=>{Ne(e)&&Object.keys(e).forEach(n=>{n!==`__proto__`&&(Ne(t[n])&&Ne(e[n])?t[n]=at(t[n],e[n]):Ae(t[n])&&Ae(e[n])?t[n]=t[n].concat(e[n]):e[n]!==void 0&&(t[n]=e[n]))})}),t}function ot(e,t){let n={};return Object.keys(e).forEach(r=>{let i=e[r],a=t(i,r,e);a&&(n[r]=i)}),n}function st(e,t){if(e!=null){if(je(e)){e(t);return}try{e.current=t}catch{throw Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function R(e={}){let{errorMessage:n=`Context can only be accessed by components wrapped with the Provider.`,isOptional:r,name:i}=e,a=t.createContext(void 0);a.displayName=i;function o(){let e=t.useContext(a);if(!r&&e===void 0)throw Error(n);return e}return[a.Provider,o]}function ct(...e){return t=>{e.forEach(e=>st(e,t))}}function lt(e,t=[]){let n=g(e);return n.current=e,u(((...e)=>n.current?.(...e)),t)}const ut=[`mousedown`,`touchstart`];function dt(e,t,n=ut){let r=JSON.stringify(n),i=lt(n=>{let r=Ae(e)?e:[e],i=n.target,a=r.every(e=>e.current&&!e.current.contains(i));a&&t?.(n)});f(()=>{let e=JSON.parse(r);return e.forEach(e=>window.addEventListener(e,i)),()=>{e.forEach(e=>window.removeEventListener(e,i))}},[r,e])}function ft(e){let{defaultValue:t,onChange:n,value:r}=e,[i,a]=_(t),o=r!==void 0,s=o?r:i,c=lt(e=>{let t=rt(e);o||a(t),n?.(t)}),l=lt(()=>{!o&&t&&c(t)});return[s,c,{isControlled:o,reset:l}]}function pt(e,t){return t.map(t=>`${t}-${e}`)}function mt(){let e=g(!1);return f(()=>(e.current=!0,()=>{e.current=!1}),[]),u(()=>e.current,[])}const ht={95:`hsl(223, 67%, 95%)`,90:`hsl(223, 67%, 90%)`,85:`hsl(223, 67%, 85%)`,80:`hsl(223, 67%, 80%)`,75:`hsl(223, 67%, 75%)`,70:`hsl(223, 67%, 70%)`,65:`hsl(223, 67%, 65%)`,60:`hsl(223, 67%, 60%)`,55:`hsl(223, 67%, 55%)`,50:`hsl(223, 67%, 50%)`,45:`hsl(223, 67%, 45%)`,40:`hsl(223, 67%, 40%)`,35:`hsl(223, 67%, 35%)`,30:`hsl(223, 67%, 30%)`,25:`hsl(223, 67%, 25%)`,18:`hsl(223, 67%, 18%)`,15:`hsl(223, 67%, 15%)`,10:`hsl(223, 67%, 10%)`,5:`hsl(223, 67%, 5%)`,main:`hsl(223, 67%, 18%)`},gt={95:`hsl(139, 100%, 95%)`,90:`hsl(139, 100%, 90%)`,85:`hsl(139, 100%, 85%)`,80:`hsl(139, 100%, 80%)`,78:`hsl(139, 100%, 78%)`,70:`hsl(139, 100%, 70%)`,65:`hsl(139, 100%, 65%)`,60:`hsl(139, 100%, 60%)`,55:`hsl(139, 100%, 55%)`,50:`hsl(139, 100%, 50%)`,45:`hsl(139, 100%, 45%)`,40:`hsl(139, 100%, 40%)`,35:`hsl(139, 100%, 35%)`,30:`hsl(139, 100%, 30%)`,25:`hsl(139, 100%, 25%)`,20:`hsl(139, 100%, 20%)`,15:`hsl(139, 100%, 15%)`,10:`hsl(139, 100%, 10%)`,5:`hsl(139, 100%, 5%)`,main:`hsl(139, 100%, 78%)`},_t={95:`hsl(35, 53%, 95%)`,89:`hsl(35, 53%, 89%)`,85:`hsl(35, 53%, 85%)`,80:`hsl(35, 53%, 80%)`,75:`hsl(35, 53%, 75%)`,70:`hsl(35, 53%, 70%)`,65:`hsl(35, 53%, 65%)`,60:`hsl(35, 53%, 60%)`,55:`hsl(35, 53%, 55%)`,50:`hsl(35, 53%, 50%)`,45:`hsl(35, 53%, 45%)`,40:`hsl(35, 53%, 40%)`,35:`hsl(35, 53%, 35%)`,30:`hsl(35, 53%, 30%)`,25:`hsl(35, 53%, 25%)`,20:`hsl(35, 53%, 20%)`,15:`hsl(35, 53%, 15%)`,10:`hsl(35, 53%, 10%)`,5:`hsl(35, 53%, 5%)`,main:`hsl(35, 53%, 89%)`},vt={95:`hsl(357, 83%, 95%)`,90:`hsl(357, 83%, 90%)`,85:`hsl(357, 83%, 85%)`,80:`hsl(357, 83%, 80%)`,75:`hsl(357, 83%, 75%)`,70:`hsl(357, 83%, 70%)`,65:`hsl(357, 83%, 65%)`,60:`hsl(357, 83%, 60%)`,54:`hsl(357, 83%, 54%)`,50:`hsl(357, 83%, 50%)`,45:`hsl(357, 83%, 45%)`,40:`hsl(357, 83%, 40%)`,35:`hsl(357, 83%, 35%)`,30:`hsl(357, 83%, 30%)`,25:`hsl(357, 83%, 25%)`,20:`hsl(357, 83%, 20%)`,15:`hsl(357, 83%, 15%)`,10:`hsl(357, 83%, 10%)`,5:`hsl(357, 83%, 5%)`,main:`hsl(357, 83%, 54%)`},yt={95:`hsl(114, 49%, 95%)`,90:`hsl(114, 49%, 90%)`,85:`hsl(114, 49%, 85%)`,80:`hsl(114, 49%, 80%)`,75:`hsl(114, 49%, 75%)`,70:`hsl(114, 49%, 70%)`,65:`hsl(114, 49%, 65%)`,60:`hsl(114, 49%, 60%)`,55:`hsl(114, 49%, 55%)`,50:`hsl(114, 49%, 50%)`,45:`hsl(114, 49%, 45%)`,41:`hsl(114, 49%, 41%)`,35:`hsl(114, 49%, 35%)`,30:`hsl(114, 49%, 30%)`,25:`hsl(114, 49%, 25%)`,20:`hsl(114, 49%, 20%)`,15:`hsl(114, 49%, 15%)`,10:`hsl(114, 49%, 10%)`,5:`hsl(114, 49%, 5%)`,main:`hsl(114, 49%, 41%)`},bt={95:`hsl(218, 100%, 95%)`,90:`hsl(218, 100%, 90%)`,85:`hsl(218, 100%, 85%)`,80:`hsl(218, 100%, 80%)`,75:`hsl(218, 100%, 75%)`,70:`hsl(218, 100%, 70%)`,65:`hsl(218, 100%, 65%)`,60:`hsl(218, 100%, 60%)`,55:`hsl(218, 100%, 55%)`,50:`hsl(218, 100%, 50%)`,45:`hsl(218, 100%, 45%)`,40:`hsl(218, 100%, 40%)`,35:`hsl(218, 100%, 35%)`,28:`hsl(218, 100%, 28%)`,25:`hsl(218, 100%, 25%)`,20:`hsl(218, 100%, 20%)`,15:`hsl(218, 100%, 15%)`,10:`hsl(218, 100%, 10%)`,5:`hsl(218, 100%, 5%)`,main:`hsl(218, 100%, 28%)`},xt={97:`hsl(40, 3%, 97%)`,95:`hsl(40, 3%, 95%)`,90:`hsl(40, 3%, 90%)`,85:`hsl(40, 3%, 85%)`,79:`hsl(40, 3%, 79%)`,75:`hsl(40, 3%, 75%)`,70:`hsl(40, 3%, 70%)`,65:`hsl(40, 3%, 65%)`,60:`hsl(40, 3%, 60%)`,55:`hsl(40, 3%, 55%)`,50:`hsl(40, 3%, 50%)`,45:`hsl(40, 3%, 45%)`,40:`hsl(40, 3%, 40%)`,35:`hsl(40, 3%, 35%)`,30:`hsl(40, 3%, 30%)`,25:`hsl(40, 3%, 25%)`,20:`hsl(40, 3%, 20%)`,15:`hsl(40, 3%, 15%)`,10:`hsl(40, 3%, 10%)`,5:`hsl(40, 3%, 5%)`,main:`hsl(40, 3%, 79%)`},St={97:`hsl(196, 74%, 97%)`,95:`hsl(196, 74%, 95%)`,90:`hsl(196, 74%, 90%)`,85:`hsl(196, 74%, 85%)`,80:`hsl(196, 74%, 80%)`,77:`hsl(196, 74%, 77%)`,65:`hsl(196, 74%, 65%)`,60:`hsl(196, 74%, 60%)`,55:`hsl(196, 74%, 55%)`,50:`hsl(196, 74%, 50%)`,45:`hsl(196, 74%, 45%)`,40:`hsl(196, 74%, 40%)`,35:`hsl(196, 74%, 35%)`,30:`hsl(196, 74%, 30%)`,25:`hsl(196, 74%, 25%)`,20:`hsl(196, 74%, 20%)`,15:`hsl(196, 74%, 15%)`,10:`hsl(196, 74%, 10%)`,5:`hsl(196, 74%, 5%)`,main:`hsl(196, 74%, 77%)`,active:`hsl(196, 74%, 95%)`,hover:`hsl(196, 74%, 90%)`,selected:`hsl(196, 74%, 95%)`},Ct={95:`hsl(55, 100%, 95%)`,90:`hsl(55, 100%, 90%)`,85:`hsl(55, 100%, 85%)`,80:`hsl(55, 100%, 80%)`,73:`hsl(55, 100%, 73%)`,70:`hsl(55, 100%, 70%)`,65:`hsl(55, 100%, 65%)`,60:`hsl(55, 100%, 60%)`,55:`hsl(55, 100%, 55%)`,50:`hsl(55, 100%, 50%)`,45:`hsl(55, 100%, 45%)`,40:`hsl(55, 100%, 40%)`,35:`hsl(55, 100%, 35%)`,30:`hsl(55, 100%, 30%)`,25:`hsl(55, 100%, 25%)`,20:`hsl(55, 100%, 20%)`,15:`hsl(55, 100%, 15%)`,10:`hsl(55, 100%, 10%)`,5:`hsl(55, 100%, 5%)`,main:`hsl(55, 100%, 73%)`},wt={95:`hsl(34, 100%, 95%)`,90:`hsl(34, 100%, 90%)`,85:`hsl(34, 100%, 85%)`,80:`hsl(34, 100%, 80%)`,75:`hsl(34, 100%, 75%)`,70:`hsl(34, 100%, 70%)`,65:`hsl(34, 100%, 65%)`,60:`hsl(34, 100%, 60%)`,55:`hsl(34, 100%, 55%)`,50:`hsl(34, 100%, 50%)`,45:`hsl(34, 100%, 45%)`,40:`hsl(34, 100%, 40%)`,35:`hsl(34, 100%, 35%)`,30:`hsl(34, 100%, 30%)`,25:`hsl(34, 100%, 25%)`,20:`hsl(34, 100%, 20%)`,15:`hsl(34, 100%, 15%)`,10:`hsl(34, 100%, 10%)`,5:`hsl(34, 100%, 5%)`,main:`hsl(34, 100%, 35%)`},Tt={95:`hsl(30, 8%, 95%)`,90:`hsl(30, 8%, 90%)`,85:`hsl(30, 8%, 85%)`,80:`hsl(30, 8%, 80%)`,75:`hsl(30, 8%, 75%)`,70:`hsl(30, 8%, 70%)`,65:`hsl(30, 8%, 65%)`,60:`hsl(30, 8%, 60%)`,56:`hsl(30, 8%, 56%)`,50:`hsl(30, 8%, 50%)`,45:`hsl(30, 8%, 45%)`,40:`hsl(30, 8%, 40%)`,35:`hsl(30, 8%, 35%)`,30:`hsl(30, 8%, 30%)`,25:`hsl(30, 8%, 25%)`,20:`hsl(30, 8%, 20%)`,15:`hsl(30, 8%, 15%)`,10:`hsl(30, 8%, 10%)`,5:`hsl(30, 8%, 5%)`,main:`hsl(30, 8%, 56%)`},Et={10:`#f6fbff`,20:`#e2f1ff`,30:`#c2e1fe`,40:`#a1cef9`,50:`#77baf9`,60:`#48a1f3`,70:`#1e86e5`,80:`#0067c5`,90:`#075094`,100:`#003f79`},Dt={10:`#efffed`,20:`#d8ffd3`,30:`#bdfbb6`,40:`#9df291`,50:`#82db77`,60:`#68c35e`,70:`#4ea344`,80:`#36842d`,90:`#276121`,100:`#024019`},Ot={10:`#f7f8f9`,20:`#f1f3f5`,30:`#e1e6e9`,40:`#c3ccd3`,50:`#a5b3bd`,60:`#8799a7`,70:`#768b9c`,80:`#698091`,90:`#586c7a`,100:`#465663`},kt={10:`#fff3fd`,20:`#ffddf9`,30:`#ffbdf3`,40:`#ff8eea`,50:`#ff55df`,60:`#ff0ed2`,70:`#ee00c1`,80:`#da00b1`,90:`#a00082`,100:`#72005c`},At={10:`#eff3f5`,20:`#c5dce8`,30:`#91bbcf`,40:`#5690ac`,50:`#32718e`,60:`#0d5071`,70:`#003b57`,80:`#002a3e`,90:`#001620`,100:`#000b11`},jt={10:`#fff1f1`,20:`#ffe4e4`,30:`#ffc8c8`,40:`#faa7ab`,50:`#fb7b81`,60:`#f64d55`,70:`#e84148`,80:`#d6383f`,90:`#b62f3a`,100:`#962730`},Mt={10:`#fffde7`,20:`#fff8bd`,30:`#ffed7a`,40:`#ffe43a`,50:`#ffd600`,60:`#fec600`,70:`#f4b40d`,80:`#e29c13`,90:`#b67b08`,100:`#83591a`},Nt={bg:xt[95],border:xt[10],color:xt[10]};var Pt={buttonTypePrimaryDefaultBorderColorDark:`hsla(0, 0%, 0%, 0)`,buttonTypePrimaryDefaultBackgroundColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypePrimaryDefaultTextColorDark:`hsla(40, 3%, 100%, 1)`,buttonTypePrimaryHoverBackgroundColorDark:`hsla(218, 100%, 20%, 1)`,buttonTypePrimaryHoverBorderColorDark:`hsla(0, 0%, 0%, 0)`,buttonTypePrimaryHoverTextColorDark:`hsla(40, 3%, 100%, 1)`,buttonTypePrimaryActiveBackgroundColorDark:`hsla(218, 100%, 35%, 1)`,buttonTypePrimaryActiveBorderColorDark:`hsla(0, 0%, 0%, 0)`,buttonTypePrimaryActiveTextColorDark:`hsla(40, 3%, 100%, 1)`,buttonTypePrimaryDefaultBorderColorLight:`hsla(0, 0%, 0%, 0)`,buttonTypePrimaryDefaultBackgroundColorLight:`hsla(139, 100%, 78%, 1)`,buttonTypePrimaryDefaultTextColorLight:`hsla(223, 67%, 18%, 1)`,buttonTypePrimaryFocusOutline:`0.25rem solid hsla(196, 100%, 43%, 1)`,buttonTypePrimaryHoverBackgroundColorLight:`hsla(139, 100%, 70%, 1)`,buttonTypePrimaryHoverBorderColorLight:`hsla(0, 0%, 0%, 0)`,buttonTypePrimaryHoverTextColorLight:`hsla(223, 67%, 18%, 1)`,buttonTypePrimaryActiveBackgroundColorLight:`hsla(139, 100%, 85%, 1)`,buttonTypePrimaryActiveBorderColorLight:`hsla(0, 0%, 0%, 0)`,buttonTypePrimaryActiveTextColorLight:`hsla(223, 67%, 18%, 1)`,buttonTypeSecondaryDefaultBorderColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypeSecondaryDefaultBackgroundColorDark:`hsla(0, 0%, 0%, 0)`,buttonTypeSecondaryDefaultTextColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypeSecondaryFocusOutline:`0.25rem solid hsla(196, 100%, 43%, 1)`,buttonTypeSecondaryHoverBackgroundColorDark:`hsla(196, 74%, 80%, 1)`,buttonTypeSecondaryHoverBorderColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypeSecondaryHoverTextColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypeSecondaryActiveBackgroundColorDark:`hsla(196, 74%, 85%, 1)`,buttonTypeSecondaryActiveBorderColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypeSecondaryActiveTextColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypeSecondaryDefaultBorderColorLight:`hsla(139, 100%, 78%, 1)`,buttonTypeSecondaryDefaultBackgroundColorLight:`hsla(0, 0%, 0%, 0)`,buttonTypeSecondaryDefaultTextColorLight:`hsla(139, 100%, 78%, 1)`,buttonTypeSecondaryHoverBackgroundColorLight:`hsla(218, 100%, 25%, 1)`,buttonTypeSecondaryHoverBorderColorLight:`hsla(139, 100%, 78%, 1)`,buttonTypeSecondaryHoverTextColorLight:`hsla(139, 100%, 78%, 1)`,buttonTypeSecondaryActiveBackgroundColorLight:`hsla(218, 100%, 35%, 1)`,buttonTypeSecondaryActiveBorderColorLight:`hsla(139, 100%, 78%, 1)`,buttonTypeSecondaryActiveTextColorLight:`hsla(139, 100%, 78%, 1)`,buttonTypeTertiaryDefaultBorderColorDark:`hsla(0, 0%, 0%, 0)`,buttonTypeTertiaryDefaultBackgroundColorDark:`hsla(0, 0%, 0%, 0)`,buttonTypeTertiaryDefaultTextColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypeTertiaryHoverBackgroundColorDark:`hsla(196, 74%, 80%, 1)`,buttonTypeTertiaryHoverBorderColorDark:`hsla(0, 0%, 0%, 0)`,buttonTypeTertiaryHoverTextColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypeTertiaryFocusOutline:`0.25rem solid hsla(196, 100%, 43%, 1)`,buttonTypeTertiaryActiveBackgroundColorDark:`hsla(196, 74%, 85%, 1)`,buttonTypeTertiaryActiveBorderColorDark:`hsla(0, 0%, 0%, 0)`,buttonTypeTertiaryActiveTextColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypeTertiaryDefaultBorderColorLight:`hsla(0, 0%, 0%, 0)`,buttonTypeTertiaryDefaultBackgroundColorLight:`hsla(0, 0%, 0%, 0)`,buttonTypeTertiaryDefaultTextColorLight:`hsla(139, 100%, 78%, 1)`,buttonTypeTertiaryHoverBackgroundColorLight:`hsla(218, 100%, 25%, 1)`,buttonTypeTertiaryHoverBorderColorLight:`hsla(0, 0%, 0%, 0)`,buttonTypeTertiaryHoverTextColorLight:`hsla(139, 100%, 78%, 1)`,buttonTypeTertiaryActiveBackgroundColorLight:`hsla(218, 100%, 35%, 1)`,buttonTypeTertiaryActiveBorderColorLight:`hsla(0, 0%, 0%, 0)`,buttonTypeTertiaryActiveTextColorLight:`hsla(139, 100%, 78%, 1)`,buttonDisabledCursor:`default`,buttonDisabledOpacity:`0.5`,darkBlue:ht,digiGreen:gt,earth:_t,energyRed:vt,focusColor:`hsla(196, 100%, 43%, 1)`,landGreen:yt,sandstone:xt,seaBlue:bt,skyBlue:St,sunflower:Ct,terracotta:wt,warmGrey:Tt,blue:Et,green:Dt,grey:Ot,pink:kt,prussian:At,red:jt,yellow:Mt,disabled:Nt};function z(...e){return e.filter(Boolean).join(` `)}function Ft(e){let t=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g,n=t?.exec?.(e)?.slice?.(1);return{h:Number(n?.[0])||0,s:Number(n?.[1])||0,l:Number(n?.[2])||0}}function It(e,t){let n=e;n.charAt(0)===`#`&&(n=n.slice(1)),n.length<4&&(n=n.split(``).map(e=>e+e).join(``));let r=parseInt(n.slice(0,2),16),i=parseInt(n.slice(2,4),16),a=parseInt(n.slice(4,6),16);return t===void 0?`rgb(${r}, ${i}, ${a})`:`rgba(${r}, ${i}, ${a}, ${t})`}function Lt(e,t){if(!e.includes(`.`))return`transparent`;let[n,r]=e.split(`.`),i=Ft(Pt[n][r]);return Rt(i.h,i.s,i.l,t||r===`main`?1:parseInt(r))}function Rt(e,t,n,r){t/=100,n/=100;let i=(1-Math.abs(2*n-1))*t,a=i*(1-Math.abs(e/60%2-1)),o=n-i/2,s=0,c=0,l=0;return 0<=e&&e<60?(s=i,c=a,l=0):60<=e&&e<120?(s=a,c=i,l=0):120<=e&&e<180?(s=0,c=i,l=a):180<=e&&e<240?(s=0,c=a,l=i):240<=e&&e<300?(s=a,c=0,l=i):300<=e&&e<360&&(s=i,c=0,l=a),s=Math.round((s+o)*255),c=Math.round((c+o)*255),l=Math.round((l+o)*255),r===void 0?`rgb(${s}, ${c}, ${l})`:`rgba(${s}, ${c}, ${l}, ${r})`}const zt={overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},Bt=e=>`${e?`${e}_`:``}${Date.now().toString(36)+Math.random().toString(36).substr(2)}`,Vt=e=>!!e&&window.location.pathname.includes(e),Ht=a(void 0);function Ut(e,t){try{let n=new URL(e);return t?n.searchParams.append(`loggedin`,`1`):n.searchParams.delete(`loggedin`),n.toString()}catch{return e}}function Wt(e){let t=_({});return y(Ht.Provider,{value:t,...e})}function Gt(){let e=d(Ht);return e===void 0?(console.error(`useLinks must be used within a LinksContext.`),[{},nt]):e}function Kt(e,t){let[,n]=Gt(),r=async e=>{try{let t=await fetch(`${De[e]}/common/data/links/base.json`);if(!t.ok)return;let r=await t.json();Ne(r)&&n(i(r))}catch{console.error(`Failed to retrieve links`)}},i=lt(e=>Object.keys(e).reduce((n,r)=>(n[r]=Ut(e[r],t),n),{}));f(()=>{e&&r(e)},[e]),f(()=>{n(i)},[t])}const qt={},Jt={size:`md`,variant:`light`},Yt={sm:{item:{minH:`32px`},itemHorizontal:{space:`8px`}},md:{item:{minH:`40px`},itemHorizontal:{space:`12px`}},lg:{item:{minH:`48px`},itemHorizontal:{space:`14px`}}},Xt={light:{container:{bg:`white`,borderColor:`sandstone.main`},item:{borderColor:`sandstone.main`,itemTitleHoverBg:`skyBlue.95`,expandedItemTitleHoverBg:`skyBlue.90`},icon:{color:`sandstone.10`}},dark:{container:{bg:`darkBlue.main`,borderColor:`white`,color:`white`},item:{borderColor:`white`,disabledBg:`transparent`,itemTitleHoverBg:`seaBlue.35`,expandedItemTitleHoverBg:`seaBlue.25`},icon:{color:`digiGreen.main`}}};var Zt={baseStyle:qt,defaultProps:Jt,sizes:Yt,variants:Xt};const Qt={},$t={size:`md`,variant:`subtleGrey`,fontWeight:`medium`},en={sm:{fontSize:`xs`,h:24,iconSize:`xs`},md:{fontSize:`sm`,h:32,iconSize:`sm`},lg:{fontSize:`md`,h:40,iconSize:`md`},xl:{fontSize:`lg`,h:48,iconSize:`xl`},xxl:{fontSize:`lg`,h:56,iconSize:`xxl`}},tn={subtleGrey:{bg:`sandstone.90`,hoverBg:`sandstone.85`,borderColor:`sandstone.90`,color:`sandstone.20`,activeBg:`sandstone.79`},subtleBlue:{bg:`skyBlue.95`,hoverBg:`skyBlue.hover`,activeBg:`skyBlue.85`,borderColor:`skyBlue.95`,color:`seaBlue.main`},subtleRed:{bg:`energyRed.95`,borderColor:`energyRed.95`,hoverBg:`energyRed.90`,activeBg:`energyRed.85`,color:`energyRed.45`},subtleYellow:{bg:`sunflower.85`,hoverBg:`sunflower.70`,activeBg:`sunflower.65`,borderColor:`sunflower.85`,color:`sunflower.20`},subtleGreen:{bg:`landGreen.95`,hoverBg:`landGreen.90`,borderColor:`landGreen.95`,color:`landGreen.30`,activeBg:`landGreen.85`},subtleLavender:{bg:`hsl(232, 58%, 90%)`,hoverBg:`hsl(232, 58%, 85%)`,borderColor:`hsl(232, 58%, 90%)`,color:`hsl(232, 58%, 50%)`,activeBg:`hsl(232, 58%, 80%)`},subtleEucalyptus:{bg:`hsl(178, 80%, 85%)`,hoverBg:`hsl(178, 80%, 80%)`,borderColor:`hsl(178, 80%, 85%)`,color:`hsl(178, 80%, 20%)`,activeBg:`hsl(178, 80%, 75%)`},subtleTerracotta:{bg:`hsl(34, 100%, 85%)`,hoverBg:`hsl(34, 100%, 80%)`,borderColor:`hsl(34, 100%, 85%)`,color:`hsl(34, 100%, 20%)`,activeBg:`hsl(34, 100%, 75%)`},solidBlue:{bg:`seaBlue.main`,hoverBg:`seaBlue.35`,activeBg:`seaBlue.40`,borderColor:`seaBlue.main`,color:`white`},solidDarkBlue:{bg:`darkBlue.18`,hoverBg:`darkBlue.25`,activeBg:`darkBlue.35`,borderColor:`darkBlue.18`,color:`white`},solidRed:{bg:`energyRed.45`,hoverBg:`energyRed.54`,activeBg:`energyRed.60`,borderColor:`energyRed.45`,color:`white`},solidYellow:{bg:`sunflower.50`,hoverBg:`sunflower.80`,activeBg:`sunflower.85`,borderColor:`sunflower.50`,color:`sunflower.15`},solidGreen:{bg:`landGreen.35`,hoverBg:`landGreen.41`,activeBg:`landGreen.45`,borderColor:`landGreen.35`,color:`white`},solidLavender:{bg:`hsl(232, 58%, 60%)`,hoverBg:`hsl(232, 58%, 65%)`,borderColor:`hsl(232, 58%, 60%)`,color:`white`,activeBg:`hsl(232, 58%, 70%)`},solidEucalyptus:{bg:`hsl(178, 80%, 25%)`,hoverBg:`hsl(178, 80%, 35%)`,borderColor:`hsl(178, 80%, 25%)`,color:`white`,activeBg:`hsl(178, 80%, 42%)`},solidTerracotta:{bg:`hsl(34, 100%, 30%)`,hoverBg:`hsl(34, 100%, 40%)`,borderColor:`hsl(34, 100%, 35%)`,color:`white`,activeBg:`hsl(34, 100%, 45%)`},primaryLight:{bg:`buttonTypePrimaryDefaultBackgroundColorLight`,borderColor:`buttonTypePrimaryDefaultBorderColorLight`,color:`buttonTypePrimaryDefaultTextColorLight`,hoverBg:`buttonTypePrimaryHoverBackgroundColorLight`,hoverBorderColor:`buttonTypePrimaryHoverBorderColorLight`,hoverColor:`buttonTypePrimaryHoverTextColorLight`,activeBg:`buttonTypePrimaryActiveBackgroundColorLight`,activeBorderColor:`buttonTypePrimaryActiveBorderColorLight`,activeColor:`buttonTypePrimaryActiveTextColorLight`}};var nn={baseStyle:Qt,defaultProps:$t,sizes:en,variants:tn};const rn={},an={size:`md`,variant:`subtleSandstone`,fontWeight:`medium`},on=[`container`,`icon`,`text`],sn={xs:{container:{borderRadius:`lg`,fontSize:`sm`,h:20,spaceX:4},icon:{size:`xs`}},sm:{container:{fontSize:`sm`,h:24,spaceX:4},icon:{size:`xs`}},md:{container:{fontSize:`sm`,h:32,spaceX:6},icon:{size:`sm`}},lg:{container:{fontSize:`md`,h:40,spaceX:8},icon:{size:`md`}}},cn={subtleSandstone:{container:{bg:`sandstone.90`,color:`sandstone.20`,borderColor:`transparent`}},subtleEarth:{container:{bg:`earth.95`,color:`earth.20`}},subtleBlue:{container:{bg:`skyBlue.95`,color:`seaBlue.main`}},subtleBlue2:{container:{bg:`skyBlue.95`,color:`skyBlue.20`}},subtleRed:{container:{bg:`energyRed.95`,color:`energyRed.45`}},subtleYellow:{container:{bg:`sunflower.85`,color:`sunflower.20`}},subtleGreen:{container:{bg:`landGreen.95`,color:`landGreen.30`}},solidBlue:{container:{bg:`skyBlue.65`,color:`skyBlue.20`}},solidDarkBlue:{container:{bg:`darkBlue.18`,borderColor:`darkBlue.18`,color:`white`}},solidRed:{container:{bg:`energyRed.45`,color:`white`}},solidYellow:{container:{bg:`sunflower.50`,color:`sunflower.15`}},solidGreen:{container:{bg:`landGreen.35`,color:`white`}}};var ln={baseStyle:rn,defaultProps:an,parts:on,sizes:sn,variants:cn};const un={},dn={},fn={},pn={};var mn={baseStyle:un,defaultProps:dn,sizes:fn,variants:pn};const hn={},gn={size:`md`,variant:`dark`},_n={xs:{item:{fontSize:12,lineHeight:`18px`},separator:{size:`xs`}},sm:{item:{fontSize:14,lineHeight:`22px`},separator:{size:`sm`}},md:{item:{fontSize:16,lineHeight:`26px`},separator:{size:`md`}},lg:{item:{fontSize:18,lineHeight:`32px`},separator:{size:`lg`}}},vn={dark:{item:{color:`seaBlue.main`},main:{bg:`transparent`},separator:{pathFill:`sandstone.10`}},white:{item:{color:`white`},main:{bg:`darkBlue.main`},separator:{pathFill:`white`}},light:{item:{color:`digiGreen.main`},main:{bg:`darkBlue.main`},separator:{pathFill:`white`}}};var yn={baseStyle:hn,defaultProps:gn,sizes:_n,variants:vn};const bn={},xn={size:`lg`,variant:`primaryDark`,fontWeight:`medium`},Sn=[`container`,`icon`,`text`],Cn={sm:{container:{fontSize:`xs`,h:24,minW:48,spaceX:4},icon:{size:`xs`},text:{}},md:{container:{fontSize:`sm`,h:32,minW:64,spaceX:6},icon:{size:`sm`},text:{}},lg:{container:{fontSize:`md`,h:40,minW:80,spaceX:8},icon:{size:`md`},text:{}},xl:{container:{fontSize:`lg`,h:48,minW:96,spaceX:10},icon:{size:`lg`},text:{}}},wn={primaryDark:{container:{bg:`buttonTypePrimaryDefaultBackgroundColorDark`,borderColor:`buttonTypePrimaryDefaultBorderColorDark`,color:`buttonTypePrimaryDefaultTextColorDark`,hoverBg:`buttonTypePrimaryHoverBackgroundColorDark`,hoverBorderColor:`buttonTypePrimaryHoverBorderColorDark`,hoverColor:`buttonTypePrimaryHoverTextColorDark`,activeBg:`buttonTypePrimaryActiveBackgroundColorDark`,activeBorderColor:`buttonTypePrimaryActiveBorderColorDark`,activeColor:`buttonTypePrimaryActiveTextColorDark`}},primaryLight:{container:{bg:`buttonTypePrimaryDefaultBackgroundColorLight`,borderColor:`buttonTypePrimaryDefaultBorderColorLight`,color:`buttonTypePrimaryDefaultTextColorLight`,hoverBg:`buttonTypePrimaryHoverBackgroundColorLight`,hoverBorderColor:`buttonTypePrimaryHoverBorderColorLight`,hoverColor:`buttonTypePrimaryHoverTextColorLight`,activeBg:`buttonTypePrimaryActiveBackgroundColorLight`,activeBorderColor:`buttonTypePrimaryActiveBorderColorLight`,activeColor:`buttonTypePrimaryActiveTextColorLight`}},secondaryDark:{container:{bg:`buttonTypeSecondaryDefaultBackgroundColorDark`,borderColor:`buttonTypeSecondaryDefaultBorderColorDark`,color:`buttonTypeSecondaryDefaultTextColorDark`,hoverBg:`buttonTypeSecondaryHoverBackgroundColorDark`,hoverBorderColor:`buttonTypeSecondaryHoverBorderColorDark`,hoverColor:`buttonTypeSecondaryHoverTextColorDark`,activeBg:`buttonTypeSecondaryActiveBackgroundColorDark`,activeBorderColor:`buttonTypeSecondaryActiveBorderColorDark`,activeColor:`buttonTypeSecondaryActiveTextColorDark`}},secondaryLight:{container:{bg:`buttonTypeSecondaryDefaultBackgroundColorLight`,borderColor:`buttonTypeSecondaryDefaultBorderColorLight`,color:`buttonTypeSecondaryDefaultTextColorLight`,hoverBg:`buttonTypeSecondaryHoverBackgroundColorLight`,hoverBorderColor:`buttonTypeSecondaryHoverBorderColorLight`,hoverColor:`buttonTypeSecondaryHoverTextColorLight`,activeBg:`buttonTypeSecondaryActiveBackgroundColorLight`,activeBorderColor:`buttonTypeSecondaryActiveBorderColorLight`,activeColor:`buttonTypeSecondaryActiveTextColorLight`}},tertiaryDark:{container:{bg:`buttonTypeTertiaryDefaultBackgroundColorDark`,borderColor:`buttonTypeTertiaryDefaultBorderColorDark`,color:`buttonTypeTertiaryDefaultTextColorDark`,hoverBg:`buttonTypeTertiaryHoverBackgroundColorDark`,hoverBorderColor:`buttonTypeTertiaryHoverBorderColorDark`,hoverColor:`buttonTypeTertiaryHoverTextColorDark`,activeBg:`buttonTypeTertiaryActiveBackgroundColorDark`,activeBorderColor:`buttonTypeTertiaryActiveBorderColorDark`,activeColor:`buttonTypeTertiaryActiveTextColorDark`}},tertiaryLight:{container:{bg:`buttonTypeTertiaryDefaultBackgroundColorLight`,borderColor:`buttonTypeTertiaryDefaultBorderColorLight`,color:`buttonTypeTertiaryDefaultTextColorLight`,hoverBg:`buttonTypeTertiaryHoverBackgroundColorLight`,hoverBorderColor:`buttonTypeTertiaryHoverBorderColorLight`,hoverColor:`buttonTypeTertiaryHoverTextColorLight`,activeBg:`buttonTypeTertiaryActiveBackgroundColorLight`,activeBorderColor:`buttonTypeTertiaryActiveBorderColorLight`,activeColor:`buttonTypeTertiaryActiveTextColorLight`}},solidBlue:{container:{bg:`seaBlue.main`,borderColor:`seaBlue.main`,color:`white`,disabledBg:`darkBlue.75`,disabledBorderColor:`darkBlue.75`,disabledColor:`white`,hoverBg:`seaBlue.20`,hoverBorderColor:`seaBlue.20`,focusBg:`seaBlue.main`,activeBg:`seaBlue.35`,activeBorderColor:`seaBlue.35`}},blueOutlined:{container:{bg:`white`,borderColor:`seaBlue.main`,color:`seaBlue.main`,disabledBg:`white`,disabledBorderColor:`darkBlue.75`,disabledColor:`darkBlue.75`,hoverBg:`skyBlue.85`,hoverBorderColor:`seaBlue.35`,activeBg:`skyBlue.90`,activeBorderColor:`seaBlue.35`}},blueText:{container:{bg:`transparent`,borderColor:`transparent`,color:`seaBlue.main`,disabledBg:`white`,disabledBorderColor:`white`,disabledColor:`darkBlue.75`,hoverBg:`skyBlue.85`,hoverBorderColor:`skyBlue.85`,focusBg:`transparent`,activeBg:`skyBlue.90`,activeBorderColor:`skyBlue.90`}},solidGreen:{container:{bg:`landGreen.35`,borderColor:`landGreen.35`,color:`white`,disabledBg:`landGreen.70`,disabledBorderColor:`landGreen.70`,disabledColor:`white`,hoverBg:`landGreen.25`,hoverBorderColor:`landGreen.25`,focusBg:`landGreen.35`,activeBg:`landGreen.41`,activeBorderColor:`landGreen.41`}},solidRed:{container:{bg:`energyRed.45`,borderColor:`energyRed.45`,color:`white`,disabledBg:`energyRed.80`,disabledBorderColor:`energyRed.80`,disabledColor:`white`,hoverBg:`energyRed.35`,hoverBorderColor:`energyRed.35`,focusBg:`energyRed.45`,activeBg:`energyRed.50`,activeBorderColor:`energyRed.50`}},subtleBlue:{container:{bg:`transparent`,borderColor:`transparent`,color:`seaBlue.main`,disabledBg:`white`,disabledBorderColor:`darkBlue.75`,disabledColor:`darkBlue.75`,hoverBg:`skyBlue.90`,hoverBorderColor:`skyBlue.90`,focusBg:`transparent`,activeBg:`skyBlue.85`,activeBorderColor:`skyBlue.85`}},subtleRed:{container:{bg:`transparent`,borderColor:`transparent`,hoverBg:`energyRed.90`,hoverBorderColor:`energyRed.90`,focusBg:`transparent`,activeBg:`energyRed.85`,color:`energyRed.45`}},subtleYellow:{container:{bg:`transparent`,borderColor:`transparent`,hoverBg:`sunflower.70`,hoverBorderColor:`sunflower.70`,focusBg:`transparent`,activeBg:`sunflower.65`,color:`sunflower.15`}},subtleGreen:{container:{bg:`transparent`,borderColor:`transparent`,hoverBg:`landGreen.90`,hoverBorderColor:`landGreen.90`,focusBg:`transparent`,activeBg:`landGreen.85`,color:`landGreen.30`}}};wn.buttonGroupDefault={container:{...wn.secondaryDark.container,borderColor:`sandstone.60`}},wn.buttonGroupRounded={container:{bg:`white`,borderColor:`sandstone.79`,color:`sandstone.10`,hoverBg:`seaBlue.20`,hoverBorderColor:`buttonTypePrimaryHoverBorderColorDark`,hoverColor:`white`,activeBg:`seaBlue.35`,activeBorderColor:`buttonTypePrimaryActiveBorderColorDark`,activeColor:`white`,borderRadius:`round`,marginRight:`22px`}};var Tn={baseStyle:bn,defaultProps:xn,parts:Sn,sizes:Cn,variants:wn};const En={},Dn={},On={},kn={};var An={baseStyle:En,defaultProps:Dn,sizes:On,variants:kn};const jn={bg:`white`,borderRadius:0,ring:1,ringColor:`transparent`,shadow:`2`},Mn={},Nn={},Pn={};var Fn={baseStyle:jn,defaultProps:Mn,sizes:Nn,variants:Pn};const In={chat:{flexDirection:`column`,w:`100%`,height:`100%`},messages:{flexDirection:`column`,overflowY:`auto`,position:`relative`,w:`100%`},suggestions:{display:`block`,textAlign:`right`,width:`100%`}},Ln={},Rn={},zn={};var Bn={baseStyle:In,defaultProps:Ln,sizes:Rn,variants:zn};const Vn={unchecked:`sandstone.60`,checked:`seaBlue.28`,hover:`seaBlue.20`,focus:`seaBlue.35`},Hn={icon:`sandstone.79`,text:`sandstone.60`},Un={control:{color:Vn.unchecked,hoverColor:Vn.hover},container:{alignItems:`flext-start`}},Wn={size:`md`},Gn=[`container`,`control`,`label`],Kn={sm:{control:{h:16,w:16},label:{size:`sm`}},md:{control:{h:20,w:20},label:{size:`md`}},lg:{control:{h:24,w:24},label:{size:`lg`}}},qn={};var Jn={baseStyle:Un,defaultProps:Wn,parts:Gn,sizes:Kn,variants:qn};const Yn={},Xn={},Zn={},Qn={};var $n={baseStyle:Yn,defaultProps:Xn,sizes:Zn,variants:Qn};const er={},tr={size:`md`,variant:`light`},nr=[`container`,`icon`,`dt`,`dd`],rr={sm:{container:{fontSize:`sm`,lineHeight:`22px`},dt:{fontSize:`sm`,spaceX:4},dd:{fontSize:`sm`,spaceX:4},icon:{size:`sm`,mx:.5,my:`auto`}},md:{container:{fontSize:`md`,lineHeight:`30px`},dt:{fontSize:`md`,spaceX:6},dd:{fontSize:`md`,spaceX:6},icon:{size:`md`,mx:.5,my:`auto`}}},ir={light:{container:{color:`sandstone.20`}},dark:{container:{bg:`darkBlue.main`,color:`white`}}};var ar={baseStyle:er,defaultProps:tr,parts:nr,sizes:rr,variants:ir};const or={},sr={size:`md`},cr=[`container`,`body`,`cancelButton`,`closeButton`,`footer`,`header`,`icon`,`submitButton`,`title`],lr={md:{container:{maxW:520}},lg:{container:{maxW:640}},fullWidth:{}},ur={};var dr={baseStyle:or,defaultProps:sr,parts:cr,sizes:lr,variants:ur};const fr={},pr={},mr={},hr={};var gr={baseStyle:fr,defaultProps:pr,sizes:mr,variants:hr};const _r={bg:`skyBlue.95`,main:`seaBlue.main`,hover:`skyBlue.90`},vr={borderWidth:2,borderStyle:`solid`,borderColor:`transparent`,bg:_r.bg,color:_r.main,hoverBg:_r.hover},yr={variant:`default`},br={},xr={default:{},outlined:{borderColor:_r.main,borderStyle:`dashed`}};var Sr={baseStyle:vr,defaultProps:yr,sizes:br,variants:xr};const Cr={},wr={},Tr={},Er={};var Dr={baseStyle:Cr,defaultProps:wr,sizes:Tr,variants:Er};const Or={},kr={variant:`default`},Ar=[`container`,`column`,`content`,`heading`,`link`,`row`,`section`,`trademark`],jr={},Mr={default:{container:{bg:`darkBlue.main`,color:`white`},link:{color:`white`}},developer:{container:{bg:`darkBlue.main`,color:`white`},link:{color:`digiGreen.main`}},light:{container:{bg:`white`,color:`darkBlue.main`},row:{color:`black`},link:{color:`seaBlue.main`},heading:{color:`darkBlue.main`}}};var Nr={baseStyle:Or,defaultProps:kr,parts:Ar,sizes:jr,variants:Mr};const Pr={},Fr={},Ir={},Lr={};var Rr={baseStyle:Pr,defaultProps:Fr,sizes:Ir,variants:Lr};const zr={},Br={variant:`default`},Vr=[`container`,`account`,`accountUserInfo`,`content`,`createAccount`,`divider`,`linkItem`,`logo`,`mainLinks`,`mobileContent`,`mobileToggle`,`notifications`,`services`,`servicesMessage`,`signIn`],Hr={},Ur={default:{container:{borderColor:`darkBlue.main`},createAccount:{link:{variant:`dark`}},linkItem:{container:{hoverBg:`skyBlue.90`,activeBg:`transparent`,activeBorderColor:`darkBlue.main`},link:{size:`lg`,color:`darkBlue.main`,borderColor:`darkBlue.main`,hoverColor:`darkBlue.main`,activeColor:`darkBlue.main`}},logo:{svg:{pathFill:`#0F204B`}},divider:{color:`darkBlue.main`},mobileToggle:{color:`darkBlue.main`,hoverColor:`darkBlue.main`,activeColor:`darkBlue.main`},notifications:{container:{color:`darkBlue.main`,hoverColor:`darkBlue.main`}},services:{button:{color:`darkBlue.main`,hoverColor:`darkBlue.main`,activeColor:`darkBlue.main`},list:{variant:`blue`}},signIn:{background:`darkBlue.main`}},dark:{container:{bg:`darkBlue.main`,borderBottom:0},createAccount:{link:{variant:`light`},text:{color:`white`}},account:{trigger:{variant:`primaryLight`}},divider:{borderColor:`white`},linkItem:{container:{hoverBg:`seaBlue.25`,activeBg:`transparent`,activeBorderColor:`digiGreen.main`},link:{size:`lg`,color:`white`,borderColor:`digiGreen.main`,hoverBg:`seaBlue.25`,hoverColor:`white`,activeBg:`seaBlue.35`,activeColor:`white`}},logo:{svg:{pathFill:`#FFFFFF`}},mainLinks:{color:{md:`white`}},mobileContent:{top:`100%`},mobileToggle:{color:`white`,hoverBg:`seaBlue.25`,hoverColor:`white`,activeBg:`seaBlue.35`,activeColor:`white`},notifications:{container:{variant:`solid`,color:`white`,hoverBg:`seaBlue.25`,hoverColor:`white`,activeBg:`seaBlue.35`,borderColor:`transparent`},icon:{color:`white`}},services:{button:{color:`white`,hoverBg:`seaBlue.25`,hoverColor:`white`,activeBg:`seaBlue.35`,activeColor:`white`},list:{variant:`blue`}},signIn:{button:{variant:`primaryLight`},colorScheme:`pink`}}};var Wr={baseStyle:zr,defaultProps:Br,parts:Vr,sizes:Hr,variants:Ur},Gr={gantari:`Gantari, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,dnvDisplay:`'DNV Display'`};const Kr={color:`darkBlue.main`},qr={size:`h2`},Jr={title:{as:`h1`,fontFamily:[Gr.dnvDisplay,Gr.gantari].join(`, `),fontSize:{desktop:`64px`,mobile:`42px`},fontWeight:`medium`,lineHeight:{desktop:`74px`,mobile:`52px`}},h1:{as:`h1`,fontSize:{desktop:`50px`,mobile:`36px`},fontWeight:`regular`,lineHeight:{desktop:`62px`,mobile:`48px`}},lead:{as:`h2`,color:`seaBlue.main`,fontSize:{desktop:`28px`,mobile:`20px`},fontWeight:`regular`,lineHeight:{desktop:`38px`,mobile:`28px`}},h2:{as:`h2`,fontSize:{desktop:`32px`,mobile:`28px`},fontWeight:`regular`,lineHeight:{desktop:`42px`,mobile:`38px`}},h3:{as:`h3`,fontSize:{desktop:`24px`,mobile:`22px`},fontWeight:`regular`,lineHeight:`32px`},h4:{as:`h4`,fontSize:{desktop:`20px`,mobile:`18px`},fontWeight:`demi`,lineHeight:`24px`},h5:{as:`h5`,fontSize:{desktop:`18px`,mobile:`16px`},fontWeight:`demi`,lineHeight:{desktop:`26px`,mobile:`22px`}},h6:{as:`h6`,fontSize:`16px`,fontWeight:`demi`,lineHeight:`22px`}},Yr={};var Xr={baseStyle:Kr,defaultProps:qr,sizes:Jr,variants:Yr};const Zr={},Qr={size:`md`},$r={xxs:{height:12,width:12},xs:{height:16,width:16},sm:{height:20,width:20},md:{height:24,width:24},lg:{height:28,width:28},xl:{height:32,width:32},xxl:{height:40,width:40}},ei={static:{},spinning:{animation:`vui-spin 0.6s linear infinite`}};var ti={baseStyle:Zr,defaultProps:Qr,sizes:$r,variants:ei};const ni={},ri={},ii={},ai={};var oi={baseStyle:ni,defaultProps:ri,sizes:ii,variants:ai};const B={border:`sandstone.60`,placeholder:`sandstone.55`,inputText:`sandstone.10`,helpText:`sandstone.30`,icons:`seaBlue.main`,disabled:`sandstone.95`,focus:`focusColor`,error:`energyRed.45`,loading:`seaBlue.80`,success:`landGreen.35`},si={error:`falExclamationTriangle`,loading:`fadSpinnerThird`,success:`falCheck`},ci={error:{variant:`red`,iconProps:{color:B.error,icon:si.error}},loading:{variant:`grey`,iconProps:{animation:`vui-spin 0.6s linear infinite`,name:si.loading,pathFill:[B.loading,B.icons]}},success:{variant:`green`,iconProps:{color:B.success,icon:si.success}}},li={sm:`xs`,md:`sm`,lg:`md`,xl:`lg`},ui={sm:`sm`,md:`sm`,lg:`sm`,xl:`md`},di={sm:`sm`,md:`sm`,lg:`md`,xl:`md`},fi=`60px`,pi={container:{focusWithinRing:3,color:B.inputText},input:{placeholderTextColor:B.placeholder}},mi={size:`lg`,variant:`grey`},hi=[`container`,`icon`,`input`,`label`],gi={sm:{container:{fontSize:`xs`,h:24},icon:{size:`xs`},input:{},label:{fontSize:`xs`}},md:{container:{fontSize:`sm`,h:32},icon:{size:`sm`},input:{},label:{fontSize:`sm`}},lg:{container:{fontSize:`md`,h:40},icon:{size:`md`},input:{},label:{fontSize:`md`}},xl:{container:{fontSize:`lg`,h:48},icon:{size:`md`},input:{},label:{fontSize:`lg`}}},_i={grey:{container:{borderColor:B.border,focusWithinRingColor:B.focus}},green:{container:{borderColor:B.success,focusWithinRingColor:B.success}},red:{container:{borderColor:B.error,focusWithinRingColor:B.error}}};var vi={baseStyle:pi,defaultProps:mi,parts:hi,sizes:gi,variants:_i};const yi={helper:{ml:`8px`,fontWeight:400}},bi={},xi={},Si={},Ci=[`helper`];var wi={baseStyle:yi,defaultProps:bi,parts:Ci,sizes:xi,variants:Si};const Ti={container:{dislplay:`inline`},icon:{size:`xs`},text:{fontSize:`inherit`}},Ei={variant:`dark`},Di=[`container`,`icon`,`text`],Oi={dark:{container:{color:`seaBlue.main`}},light:{container:{color:`digiGreen.main`}},white:{container:{color:`white`}},plain:{container:{hoverTextDecoration:`none`}}},ki={xs:{container:{fontSize:`xs`,lineHeight:`18px`},icon:{size:`xxs`}},sm:{container:{fontSize:`sm`,lineHeight:`22px`}},md:{container:{fontSize:`md`,lineHeight:`26px`}},lg:{container:{fontSize:`lg`,lineHeight:`32px`}}};var Ai={baseStyle:Ti,defaultProps:Ei,parts:Di,sizes:ki,variants:Oi};const ji={item:{color:`sandstone.10`,activeBg:`skyBlue.95`,hoverBg:`skyBlue.90`,selectedBg:`skyBlue.95`,px:2},heading:{color:`sandstone.45`}},Mi={size:`lg`,button:{size:`sm`},variant:`default`},Ni=[`container`,`divider`,`heading`,`icon`,`item`,`text`,`button`],Pi={sm:{icon:{size:`xs`},button:{size:`sm`},item:{fontSize:12,h:24},heading:{fontSize:12}},md:{icon:{size:`xs`},button:{size:`sm`},item:{fontSize:14,h:32},heading:{fontSize:14}},lg:{icon:{size:`sm`},button:{size:`sm`},item:{fontSize:16,h:40},heading:{fontSize:16}},xl:{icon:{size:`md`},button:{size:`md`},item:{fontSize:18,h:48},heading:{fontSize:18}},xxl:{icon:{size:`md`},button:{size:`md`},item:{fontSize:18,h:56},heading:{fontSize:18}}},Fi={default:{},ordered:{container:{as:`ol`,listStyleType:`decimal`,pl:3},item:{display:`list-item`}},unordered:{container:{as:`ul`,listStyleType:`disc`,pl:3},item:{display:`list-item`}},blue:{heading:{color:`darkBlue.main`}}};var Ii={baseStyle:ji,defaultProps:Mi,parts:Ni,sizes:Pi,variants:Fi};const Li={},Ri={size:`md`},zi=[`button`,`item`,`list`],Bi={sm:{button:{size:`sm`},list:{size:`sm`}},md:{button:{size:`md`},list:{size:`md`}},lg:{button:{size:`lg`},list:{size:`lg`}}},Vi={};var Hi={baseStyle:Li,defaultProps:Ri,parts:zi,sizes:Bi,variants:Vi};const Ui={info:`falInfoCircle`,warning:`falExclamationTriangle`,error:`falExclamationTriangle`,success:`falCheckCircle`},Wi={sm:6,md:8,lg:10},Gi={info:`seaBlue.main`,warning:`terracotta.30`,error:`energyRed.45`,success:`landGreen.35`},Ki={mt:`4px`,color:`black`},qi={display:`flex`},Ji={variant:`info`,size:`md`},Yi={sm:{iconSize:`sm`,fontSize:`sm`},md:{iconSize:`md`,fontSize:`md`},lg:{iconSize:`lg`,fontSize:`lg`}},Xi={info:{color:Gi.info},warning:{color:Gi.warning},error:{color:Gi.error},success:{color:Gi.success}};var Zi={baseStyle:qi,defaultProps:Ji,sizes:Yi,variants:Xi};const Qi={},$i={},ea=[`container`,`backdrop`,`content`],ta={},na={};var ra={baseStyle:Qi,defaultProps:$i,parts:ea,sizes:ta,variants:na};const ia={},aa={variant:`subtleBlue`},oa=[`container`,`button`,`icon`,`text`,`title`],sa={},ca={subtleBlue:{container:{bg:`skyBlue.95`,borderColor:`seaBlue.main`,color:`seaBlue.main`},button:{borderColor:`transparent`}},subtleRed:{container:{bg:`energyRed.95`,borderColor:`energyRed.45`,color:`energyRed.45`}},subtleYellow:{container:{bg:`sunflower.85`,borderColor:`sunflower.15`,color:`sunflower.15`}},subtleGreen:{container:{bg:`landGreen.95`,borderColor:`landGreen.30`,color:`landGreen.30`}},bannerBlue:{container:{bg:`skyBlue.95`,borderColor:`skyBlue.95`,color:`seaBlue.main`},button:{borderColor:`transparent`}},bannerRed:{container:{bg:`energyRed.95`,borderColor:`energyRed.95`,color:`energyRed.45`}},bannerYellow:{container:{bg:`sunflower.85`,borderColor:`sunflower.85`,color:`sunflower.15`}},bannerGreen:{container:{bg:`landGreen.95`,borderColor:`landGreen.95`,color:`landGreen.30`}}};var la={baseStyle:ia,defaultProps:aa,parts:oa,sizes:sa,variants:ca};const ua={},da={size:`md`},fa={xs:{fontSize:`xs`,lineHeight:`18px`},sm:{fontSize:`sm`,lineHeight:`22px`},md:{fontSize:`md`,lineHeight:`26px`},lg:{fontSize:`lg`,lineHeight:`32px`}},pa={};var ma={baseStyle:ua,defaultProps:da,sizes:fa,variants:pa};const ha={bg:`transparent`,border:`none`,color:`darkBlue.main`},ga={button:{...ha,color:`seaBlue.main`,hoverBg:`skyBlue.main`,minW:24},ellipsis:{...ha},goToPage:{...ha},prevNext:{...ha},results:{color:`sandstone.30`}},_a={},va=[`container`,`button`,`ellipsis`,`goToPage`,`navigation`,`prevNext`,`results`],ya={},ba={};var xa={baseStyle:ga,defaultProps:_a,parts:va,sizes:ya,variants:ba};const Sa={borderRadius:0},Ca={variant:`elevated`},wa={},Ta={elevated:{shadow:`1`},outlined:{border:1,borderColor:`sandstone.main`}};var Ea={baseStyle:Sa,defaultProps:Ca,sizes:wa,variants:Ta};const Da={},Oa={},ka=[`content`,`trigger`],Aa={},ja={};var Ma={baseStyle:Da,defaultProps:Oa,parts:ka,sizes:Aa,variants:ja};const Na={},Pa={size:`md`,variant:`primary`},Fa={sm:{container:{minH:`4px`},percentage:{fontSize:`80%`,top:`-16px`}},md:{container:{minH:`8px`},percentage:{fontSize:`100%`,top:`-20px`}},lg:{container:{minH:`12px`},percentage:{fontSize:`110%`,top:`-22px`}},xl:{container:{minH:`16px`},percentage:{fontSize:`120%`,top:`-24px`}}},Ia={primary:{bg:`darkBlue.95`,color:`darkBlue.main`},green:{bg:`landGreen.95`,color:`landGreen.main`},red:{bg:`energyRed.95`,color:`energyRed.main`}};var La={baseStyle:Na,defaultProps:Pa,sizes:Fa,variants:Ia};const Ra={color:`darkBlue.main`},za={size:`md`,variant:`primary`},Ba={sm:{strokeWidth:4,width:46,top:15,fontSize:12},md:{strokeWidth:5,width:80,top:30,fontSize:16},lg:{strokeWidth:6,width:120,top:48,fontSize:18},xl:{strokeWidth:7,width:160,top:64,fontSize:22}},Va={primary:{stroke:{main:ht[95],progress:ht.main}},green:{stroke:{main:yt[95],progress:yt.main}},red:{stroke:{main:vt[95],progress:vt.main}}};var Ha={baseStyle:Ra,defaultProps:za,sizes:Ba,variants:Va};const Ua={unchecked:`sandstone.60`,checked:`seaBlue.28`,hover:`seaBlue.20`,focus:`seaBlue.35`},Wa={control:{color:Ua.unchecked,hoverColor:Ua.hover}},Ga={size:`md`},Ka=[`container`,`control`,`label`],qa={sm:{control:{h:16,w:16},label:{size:`sm`}},md:{control:{h:20,w:20},label:{size:`md`}},lg:{control:{h:24,w:24},label:{size:`lg`}}},Ja={};var Ya={baseStyle:Wa,defaultProps:Ga,parts:Ka,sizes:qa,variants:Ja};const Xa={main:`seaBlue.28`,track:`sandstone.79`,disabled:`sandstone.55`},Za={container:{w:1},thumb:{bg:`white`,border:`2px solid ${Xa.main}`,borderRadius:`24px`,cursor:`grab`,h:`24px`,lineHeight:`24px`,w:`24px`,textAlign:`center`,top:`-10px`,transitionDuration:`0s`},thumbValue:{position:`absolute`,top:`24px`,w:`18px`},track:{bg:Xa.main,bottom:0,borderRadius:`24px`,top:0,transitionDuration:`0s`}},Qa={},$a=[`container`,`thumb`,`thumbValue`,`track`],eo={},to={};var no={baseStyle:Za,defaultProps:Qa,parts:$a,sizes:eo,variants:to};const ro={},io={size:`md`,variant:`yellow`},ao=[`icon`],oo={sm:{icon:{size:`sm`}},md:{icon:{size:`md`}},lg:{icon:{size:`lg`}}},so={yellow:{color:`sunflower.50`},blue:{color:`seaBlue.28`}};var co={baseStyle:ro,defaultProps:io,parts:ao,sizes:oo,variants:so};const lo={},uo={size:`lg`,variant:`outlined`},fo=[`container`,`button`,`content`,`group`,`option`,`label`],po={sm:{button:{size:`sm`},group:{size:`sm`},option:{size:`sm`},label:{fontSize:`xs`}},md:{button:{size:`md`},group:{size:`md`},option:{size:`md`},label:{fontSize:`sm`}},lg:{button:{size:`lg`},group:{size:`lg`},option:{size:`lg`},label:{fontSize:`md`}},xl:{button:{size:`xl`},group:{size:`xl`},option:{size:`xl`},label:{fontSize:`lg`}}},mo={outlined:{button:{hoverBg:`white`,activeBg:`white`,borderColor:`sandstone.60`,hoverBorderColor:`sandstone.60`}},text:{button:{hoverBg:`white`,activeBg:`white`,borderColor:`transparent`,hoverBorderColor:`transparent`}}};var ho={baseStyle:lo,defaultProps:uo,parts:fo,sizes:po,variants:mo};const go={},_o={size:`md`,variant:`light`},vo=[`container`,`item`,`sidemenuTop`,`bottom`],yo={md:{item:{minH:`40px`}},lg:{item:{minH:`56px`}}},bo={light:{container:{bg:`white`},bottom:{borderTop:`1px solid lightgray`},sidemenuTop:{borderBottom:`1px solid lightgray`},item:{}},dark:{container:{bg:`darkBlue.main`,color:`white`},bottom:{borderTop:`1px solid black`},sidemenuTop:{borderBottom:`1px solid black`},item:{}}};var xo={baseStyle:go,defaultProps:_o,parts:vo,sizes:yo,variants:bo};const So={bg:`skyBlue.95`},Co={size:`md`,variant:`rect`},wo={xs:{h:24},sm:{h:32},md:{h:40},lg:{h:48}},To={circle:{borderRadius:`50%`},rect:{borderRadius:`md`,w:`100%`}};var Eo={baseStyle:So,defaultProps:Co,sizes:wo,variants:To};const Do={container:{padding:1}},Oo={size:`xxxl`,variant:`light`},ko=[`container`,`circle`,`text`],Ao={xs:{circle:{borderWidth:2,h:20,w:20}},sm:{circle:{borderWidth:2,h:24,w:24}},md:{circle:{borderWidth:3,h:32,w:32}},lg:{circle:{borderWidth:3,h:40,w:40}},xl:{circle:{borderWidth:3,h:48,w:48}},xxl:{circle:{borderWidth:4,h:60,w:60}},xxxl:{circle:{borderWidth:5,h:80,w:80}},xxxxl:{circle:{borderWidth:5,h:120,w:120}}},jo={light:{circle:{borderColor:`seaBlue.80`,borderTopColor:`seaBlue.main`},text:{color:`seaBlue.main`}},dark:{container:{bg:`darkBlue.main`},circle:{borderColor:`hsl(139, 100%, 78%, 0.4)`,borderTopColor:`digiGreen.main`},text:{color:`digiGreen.main`}}};var Mo={baseStyle:Do,defaultProps:Oo,parts:ko,sizes:Ao,variants:jo};const No={},Po={size:`md`,variant:`active`},Fo={sm:{},md:{}},Io={active:{button:{bg:`seaBlue.main`},icon:{bg:`white`,color:`seaBlue.main`}},completed:{button:{bg:`landGreen.41`},icon:{bg:`white`,color:`landGreen.41`}},optional:{button:{bg:`white`,borderColor:`seaBlue.45`,color:`seaBlue.45`},icon:{bg:`white`,color:`seaBlue.45`}},pending:{button:{bg:`sandstone.90`,color:`sandstone.45`},icon:{bg:`white`,color:`sandstone.45`}},error:{button:{bg:`energyRed.45`,color:`white`},icon:{bg:`white`,color:`energyRed.45`}}};var Lo={baseStyle:No,defaultProps:Po,sizes:Fo,variants:Io};const Ro={},zo={size:`md`},Bo=[`stepHorizontal`],Vo={sm:{},md:{}},Ho={};var Uo={baseStyle:Ro,defaultProps:zo,parts:Bo,sizes:Vo,variants:Ho};const Wo={},Go={size:`md`},Ko=[`stepVertical`],qo={sm:{},md:{}},Jo={};var Yo={baseStyle:Wo,defaultProps:Go,parts:Ko,sizes:qo,variants:Jo};const Xo={main:`seaBlue.main`,hover:`seaBlue.40`,offBg:`sandstone.55`,offBgContrast:`sandstone.45`,disabled:`sandstone.main`,disabledBg:`sandstone.95`,green:`landGreen.main`,red:`energyRed.main`},Zo={button:{thumb:{bg:`white`},track:{ring:3}}};function Qo(){let e={fontSize:`lg`,minW:58,thumb:{h:28,w:28},track:{h:32}},t={size:`xl`};return{button:e,label:t}}function $o(){let e={fontSize:`md`,minW:50,thumb:{h:24,w:24},track:{h:28}},t={size:`lg`};return{button:e,label:t}}function es(){let e={fontSize:`sm`,minW:42,thumb:{h:20,w:20},track:{h:24}},t={size:`md`};return{button:e,label:t}}function ts(){let e={fontSize:`xs`,minW:34,thumb:{h:16,w:16},track:{h:20}},t={size:`sm`};return{button:e,label:t}}const ns={size:`md`,variant:`primary`},rs=[`container`,`button`,`label`],os={sm:ts,md:es,lg:$o,xl:Qo},ss={primary:{button:{track:{bg:Xo.main}}},green:{button:{track:{bg:Xo.green}}},red:{button:{track:{bg:Xo.red}}}};var cs={baseStyle:Zo,defaultProps:ns,parts:rs,sizes:os,variants:ss};const ls={},us={size:`md`},ds={xs:{fontSize:`xs`},sm:{fontSize:`sm`},md:{fontSize:`md`},lg:{fontSize:`lg`}},fs={label:{fontSize:`md`,fontWeight:`demi`},caption:{fontSize:`sm`,fontWeight:`medium`}};var ps={baseStyle:ls,defaultProps:us,sizes:ds,variants:fs};const ms={th:{fontSize:14,fontWeight:500,color:`darkBlue.main`}},hs={size:`lg`,variant:`bordered`},gs=[`container`,`sortIcon`,`tbody`,`td`,`tfoot`,`th`,`thead`,`tr`],_s={lg:{tr:{h:48}},md:{tr:{h:40}},sm:{tr:{h:32}}},vs={bordered:{td:{borderBottom:`1px solid sandstone.90`}},striped:{},basic:{td:{borderBottom:`1px solid sandstone.90`}}};var ys={baseStyle:ms,defaultProps:hs,parts:gs,sizes:_s,variants:vs};const bs={},xs={},Ss=[`tabsNavBar`],Cs={sm:{tabsNavBar:{borderWidth:`2px`,fontSize:`xs`,h:`20px`,py:`4px`}},md:{tabsNavBar:{borderWidth:`2px`,fontSize:`sm`,h:`32px`,py:`6px`}},lg:{tabsNavBar:{borderWidth:`3px`,fontSize:`md`,h:40,py:`8px`}},xl:{tabsNavBar:{borderWidth:`4px`,fontSize:`lg`,h:48,py:`10px`}},xxl:{tabsNavBar:{borderWidth:`4px`,fontSize:`lg`,h:56,py:`12px`}}},ws={};var Ts={baseStyle:bs,defaultProps:xs,parts:Ss,sizes:Cs,variants:ws};const Es={},Ds={size:`md`,variant:`subtleBlue`,fontWeight:`medium`},Os=[`container`,`button`,`icon`,`text`],ks={xs:{container:{borderRadius:`lg`,fontSize:`sm`,h:20,spaceX:4},button:{size:`sm`},icon:{size:`xs`}},sm:{container:{fontSize:`sm`,h:24,spaceX:4},button:{size:`sm`},icon:{size:`xs`}},md:{container:{fontSize:`sm`,h:32,spaceX:6},button:{size:`sm`},icon:{size:`sm`}},lg:{container:{fontSize:`md`,h:40,spaceX:8},button:{size:`md`},icon:{size:`md`}}},As={subtleGrey:{container:{bg:`sandstone.90`,hoverBg:`sandstone.85`,borderColor:`sandstone.85`,color:`sandstone.20`,activeBg:`sandstone.79`},button:{bg:`transparent`,hoverBg:`sandstone.85`,hoverBorderColor:`transparent`,color:`sandstone.20`,activeBg:`sandstone.79`}},subtleBlue:{container:{bg:`skyBlue.95`,hoverBg:`skyBlue.90`,activeBg:`skyBlue.85`,borderColor:`skyBlue.95`,color:`seaBlue.main`},button:{bg:`transparent`,hoverBg:`skyBlue.90`,activeBg:`skyBlue.85`,hoverBorderColor:`transparent`,color:`seaBlue.main`}},subtleRed:{container:{bg:`energyRed.95`,borderColor:`energyRed.95`,hoverBg:`energyRed.90`,activeBg:`energyRed.85`,color:`energyRed.45`},button:{bg:`transparent`,hoverBg:`energyRed.90`,activeBg:`energyRed.85`,hoverBorderColor:`transparent`,color:`energyRed.45`}},subtleYellow:{container:{bg:`sunflower.85`,hoverBg:`sunflower.70`,activeBg:`sunflower.65`,borderColor:`terracotta.30`,color:`sunflower.20`},button:{bg:`transparent`,hoverBg:`sunflower.70`,activeBg:`sunflower.65`,hoverBorderColor:`transparent`,color:`sunflower.20`}},subtleGreen:{container:{bg:`landGreen.95`,hoverBg:`landGreen.90`,borderColor:`landGreen.30`,color:`landGreen.30`,activeBg:`landGreen.85`},button:{bg:`transparent`,hoverBg:`landGreen.90`,activeBg:`landGreen.85`,hoverBorderColor:`transparent`,color:`landGreen.30`}},solidBlue:{container:{bg:`seaBlue.main`,hoverBg:`seaBlue.35`,activeBg:`seaBlue.40`,borderColor:`seaBlue.main`,color:`white`},button:{bg:`transparent`,hoverBg:`seaBlue.35`,activeBg:`seaBlue.40`,hoverBorderColor:`transparent`,activeBorderColor:`transparent`,color:`white`}},solidDarkBlue:{container:{bg:`darkBlue.18`,hoverBg:`darkBlue.25`,activeBg:`darkBlue.35`,borderColor:`darkBlue.18`,color:`white`},button:{bg:`transparent`,hoverBg:`darkBlue.25`,activeBg:`darkBlue.35`,hoverBorderColor:`transparent`,color:`white`}},solidRed:{container:{bg:`energyRed.45`,hoverBg:`energyRed.54`,activeBg:`energyRed.60`,borderColor:`energyRed.45`,color:`white`},button:{bg:`transparent`,hoverBg:`energyRed.54`,activeBg:`energyRed.60`,hoverBorderColor:`transparent`,activeBorderColor:`transparent`,color:`white`}},solidYellow:{container:{bg:`sunflower.50`,hoverBg:`sunflower.80`,activeBg:`sunflower.85`,borderColor:`sunflower.50`,color:`sunflower.15`},button:{bg:`transparent`,hoverBg:`sunflower.80`,activeBg:`sunflower.85`,hoverBorderColor:`transparent`,color:`sunflower.15`}},solidGreen:{container:{bg:`landGreen.35`,hoverBg:`landGreen.41`,activeBg:`landGreen.45`,borderColor:`landGreen.35`,color:`white`},button:{bg:`transparent`,hoverBg:`landGreen.41`,activeBg:`landGreen.45`,hoverBorderColor:`transparent`,activeBorderColor:`transparent`,color:`white`}}};var js={baseStyle:Es,defaultProps:Ds,parts:Os,sizes:ks,variants:As};const Ms={textarea:{focusWithinRing:3,color:B.inputText},input:{color:{placeholder:B.placeholder}}},Ns={variant:`grey`},Ps=[`container`,`textarea`,`label`],Fs={},Is={grey:{textarea:{borderColor:B.border,focusWithinRingColor:B.focus}},green:{textarea:{borderColor:B.success,focusWithinRingColor:B.success}},red:{textarea:{borderColor:B.error,focusWithinRingColor:B.error}}};var Ls={baseStyle:Ms,defaultProps:Ns,parts:Ps,sizes:Fs,variants:Is};const Rs={},zs={size:`xl`,variant:`default`},Bs=[`container`,`icon`,`firstLevelItem`,`item`,`text`],Vs={xl:{item:{fontSize:`md`,height:48,lineHeight:`24px`,py:`12px`},icon:{height:18,width:18}}},Hs={default:{container:{bg:`white`},firstLevelItem:{bg:`white`,color:`seaBlue.main`,activeColor:`seaBlue.main`,activeBg:`skyBlue.85`,hoverBg:`skyBlue.80`},item:{bg:`white`,color:`seaBlue.main`,activeColor:`seaBlue.main`,activeBg:`skyBlue.85`,hoverBg:`skyBlue.80`,selectedBg:`skyBlue.10`,px:2}},dark:{container:{bg:`darkBlue.main`,color:`white`},firstLevelItem:{bg:`darkBlue.main`,color:`white`,activeBg:`darkBlue.25`,activeColor:`seaBlue.main`,hoverBg:`darkBlue.25`,hoverColor:`white`},item:{bg:`skyBlue.97`,color:`seaBlue.main`,activeBg:`skyBlue.85`,activeColor:`seaBlue.main`,hoverBg:`skyBlue.80`,hoverColor:`seaBlue.main`}}};var Us={baseStyle:Rs,defaultProps:zs,parts:Bs,sizes:Vs,variants:Hs};const Ws={},Gs={},Ks=[],qs={},Js={};var Ys={baseStyle:Ws,defaultProps:Gs,parts:Ks,sizes:qs,variants:Js};const Xs=Ys,Zs=Ys;var Qs={Accordion:Zt,Avatar:nn,Badge:ln,Box:mn,Breadcrumbs:yn,Button:Tn,Calendar:An,Card:Fn,Chat:Bn,Checkbox:Jn,DatePicker:$n,Dialog:dr,Divider:gr,DragAndDrop:Sr,Drawer:Dr,Footer:Nr,Grid:Rr,Header:Wr,Heading:Xr,Icon:ti,Image:oi,Input:vi,Label:wi,Link:Ai,List:Ii,Markdown:Xs,MarkdownEditor:Zs,Menu:Hi,Message:Zi,Modal:ra,Notification:la,P:ma,Pagination:xa,Panel:Ea,Progress:La,ProgressCircular:Ha,Definition:ar,Popover:Ma,Radio:Ya,Range:no,Rating:co,Select:ho,Sidemenu:xo,Skeleton:Eo,StepIndicator:Lo,StepperHorizontal:Uo,StepperVertical:Yo,Spinner:Mo,Switch:cs,T:ps,Table:ys,Tabs:Ts,Tag:js,Textarea:Ls,Tree:Us},$s={none:`none`,bounce:`vui-bounce 1s infinite`,fadeDown:`vui-fadeDown 0.2s ease-in-out`,fadeIn:`vui-fadeIn 0.2s ease-in-out`,fadeLeft:`vui-fadeLeft 0.2s ease-in-out`,fadeLeftLong:`vui-fadeLeftLong 0.3s ease-out`,fadeOut:`vui-fadeOut 0.2s ease-in-out`,fadeRight:`vui-fadeRight 0.2s ease-in-out`,fadeRightLong:`vui-fadeRightLong 0.3s ease-out`,fadeUp:`vui-fadeUp 0.2s ease-in-out`,pulse:`vui-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite`,spin:`vui-spin 1s linear infinite`},ec={},tc={instant:`100ms`,fast:`200ms`,normal:`300ms`,slow:`400ms`},nc={xs:12,sm:14,md:16,lg:18},rc={regular:`400`,medium:`500`,demi:`600`},ic={1:`repeat(1, minmax(0, 1fr))`,2:`repeat(2, minmax(0, 1fr))`,3:`repeat(3, minmax(0, 1fr))`,4:`repeat(4, minmax(0, 1fr))`,5:`repeat(5, minmax(0, 1fr))`,6:`repeat(6, minmax(0, 1fr))`,7:`repeat(7, minmax(0, 1fr))`,8:`repeat(8, minmax(0, 1fr))`,9:`repeat(9, minmax(0, 1fr))`,10:`repeat(10, minmax(0, 1fr))`,11:`repeat(11, minmax(0, 1fr))`,12:`repeat(12, minmax(0, 1fr))`},ac={1:`repeat(1, minmax(0, 1fr))`,2:`repeat(2, minmax(0, 1fr))`,3:`repeat(3, minmax(0, 1fr))`,4:`repeat(4, minmax(0, 1fr))`,5:`repeat(5, minmax(0, 1fr))`,6:`repeat(6, minmax(0, 1fr))`},oc={none:0,sm:0,md:2,lg:4,xl:6,round:9999},sc={},cc={xs:0,sm:640,md:768,lg:1024,xl:1280,xxl:1536,"2xl":1536};const lc=It(Ot[80],.4),uc=It(Ot[80],.6),dc=It(`#000000`,.15);var fc={0:`0 0 0 0 #fff`,1:`0 2px 5px 0 ${lc}`,2:`0 4px 12px 0 ${lc}`,3:`0 7px 20px 0 ${uc}`,4:`0 12px 30px 0 ${uc}`,t1:`0 -2px 5px 0 ${lc}`,t2:`0 -4px 12px 0 ${lc}`,t3:`0 -7px 20px 0 ${uc}`,t4:`0 -12px 30px 0 ${uc}`,r1:`2px 0 5px 0 ${lc}`,r2:`4px 0 12px 0 ${lc}`,r3:`7px 0 20px 0 ${uc}`,r4:`12px 0 30px 0 ${uc}`,l1:`-2px 0 5px 0 ${lc}`,l2:`-4px 0 12px 0 ${lc}`,l3:`-7px 0 20px 0 ${uc}`,l4:`-12px 0 30px 0 ${uc}`,modal:`0 12px 30px 0 ${dc}`},pc={},mc={},hc={},gc={border:(e,{props:t})=>{if(typeof e==`number`)return`${e}px solid`;let n=e.split(` `),[r,i=``,a]=n,o=he(a)(t)??``;return`${r} ${i} ${o}`},space:e=>typeof e==`string`?e:`${e*8}px`},_c={},vc={},yc={drawer:1300,modal:1400,toast:1500,tooltip:1600},bc={animations:$s,borders:ec,colors:Pt,durations:tc,fonts:Gr,fontSizes:nc,fontWeights:rc,gridTemplateColumns:ic,gridTemplateRows:ac,radii:oc,ringWidths:sc,screens:cc,shadows:fc,sizes:pc,spaces:mc,transformers:gc,transforms:_c,transitions:vc,timingFunctions:hc,zIndices:yc};const xc={components:Qs,...bc};var Sc=xc;function Cc(e){return at(Sc,e)}function V(e){let{size:t,variant:n,...r}=e;return r}const H=ie;H.screen=ae({name:`screen`,key:`screens`,compose:A});function U(e,t={}){let n=Tc(),{baseStyle:r,defaultProps:i,parts:a=[],sizes:o,variants:s}=n?.components[e]??{},c={...t,colorScheme:t?.colorScheme??i?.colorScheme,size:t?.size??i?.size,variant:t?.variant??i?.variant},{colorScheme:l,size:u,variant:d}=c;return m(()=>{let e=rt(r,c)??{},t=rt(o?.[u],c)??{},n=rt(s?.[d],c)??{},i={};return a.length>0?a.forEach(r=>{i[r]=at(e[r]??{},t[r]??{},n[r]??{})}):i=at(e,t,n),i},[l,u,d])}function wc(e,t){let n=Tc();return H(e,t)({theme:n})}function Tc(){return me()}const Ec=(e,t)=>n=>`@media (min-width: ${H.screen(e)(n)}) and (max-width: ${H.screen(t)(n)})`,Dc=e=>t=>`@media (max-width: ${H.screen(e)(t)})`,Oc=e=>t=>`@media (min-width: ${H.screen(e)(t)})`,kc=({children:e,maxWidth:t,minWidth:n})=>n&&t?y(Ac,{maxWidth:t,minWidth:n,children:e}):n?y(jc,{width:n,children:e}):t?y(Mc,{width:t,children:e}):y(v,{children:e}),Ac=({children:e,maxWidth:t,minWidth:n})=>{let r=Ic(n,t);return r?y(v,{children:e}):null},jc=({children:e,width:t})=>{let n=Fc(t);return n?y(v,{children:e}):null},Mc=({children:e,width:t})=>{let n=Pc(t);return n?y(v,{children:e}):null};function Nc(e){let t=Tc(),n=le(),r=H.screen(e)({theme:t}),i=Number(r.replace(`px`,``));return{value:i,viewportWidth:n}}function Pc(e){let{value:t,viewportWidth:n}=Nc(e);return n!==null&&t!==null&&n<t}function Fc(e){let{value:t,viewportWidth:n}=Nc(e);return n!==null&&t!==null&&n>=t}function Ic(e,t){let n=Pc(t),r=Fc(e);return n&&r}const Lc=N({prop:`isTruncated`,cssProperty:function(){return{overflow:`hidden`,"text-overflow":`ellipsis`,"white-space":`nowrap`}},states:{}}),Rc=N({prop:`maxLines`,cssProperty:function(e){return{display:`-webkit-box`,overflow:`hidden`,"-webkit-line-clamp":`${e}`,"-webkit-box-orient":`vertical`}},states:{}}),zc=N({prop:`wordBreak`}),Bc=T(x,S,C,w,D,k,O,j,ee,Lc,M,Rc,te,ne,re,oe,se,ce,zc);function Vc(e,t){let n=t?Gc(t):{};return(r=>{let i=n?ue(r).withConfig(n):ue(r);return Kc(i,e,t)})}function Hc(){let e=Uc();return((...t)=>fe([e(...t)]))}function Uc(){return((...e)=>{let t=pe(...e),n=_e(t);return n.map(ge)})}function Wc(e){let t=Uc(),n=Vc(t),r=Vc(t,e);return Object.keys(ue).forEach(e=>{n[e]=n(e),n[`${e}Box`]=r(e)}),n}function Gc(e){return{shouldForwardProp:(t,n)=>typeof t==`string`&&e.meta.props.includes(t)?!1:n(t)}}function Kc(e,t,n){let r=(...r)=>e`${t(...r)}${n}`;return r.attrs=r=>Kc(e.attrs(r),t,n),r.withConfig=r=>Kc(e.withConfig(r),t,n),r}const qc=Hc(),Jc=Uc(),Yc=E(Bc),W=Wc(Bc);function G(e,t){let{memoCompare:n,isMemo:r=!0}=t??{};return r?l(s(e),n):s(e)}const Xc=`
|
|
1
|
+
import{__export as e}from"./chunk-CPoNOtC7.js";import t,{Children as n,Fragment as r,cloneElement as i,createContext as a,createElement as o,forwardRef as s,isValidElement as c,memo as l,useCallback as u,useContext as d,useEffect as f,useId as p,useMemo as m,useReducer as h,useRef as g,useState as _}from"react";import{Fragment as v,jsx as y,jsxs as b}from"react/jsx-runtime";import{animation as x,backgroundColor as S,borders as C,color as w,compose as T,createX as E,effects as D,flexboxGrids as O,flexboxes as k,getPx as A,grids as j,interactivity as ee,layout as M,sizing as te,space as ne,style as N,tables as re,th as ie,themeGetter as ae,transforms as oe,transitions as se,typography as ce,useViewportWidth as le}from"@xstyled/styled-components";import ue,{ThemeProvider as de,createGlobalStyle as fe,css as pe,useTheme as me}from"styled-components";import{getColor as he}from"@xstyled/system";import{transform as ge}from"@xstyled/core";import{flattenStrings as _e}from"@xstyled/util";import{createPortal as ve}from"react-dom";import ye from"tippy.js";import be from"@tippyjs/react";import xe from"react-focus-lock";import Se from"react-slider";const Ce=`https://cdn.veracity.com`,we=`https://cdnstag.veracity.com`,Te=`https://cdntest.veracity.com`,Ee=`/common/fonts`,De={Prod:Ce,Stag:we,Test:Te};function Oe(e,t=`asc`){let n=t===`asc`?1:-1;return(r,i)=>{if(t===null)return 0;let a=r[e],o=i[e];return typeof a==`string`&&typeof o==`string`?a.localeCompare(o)*n:typeof a==`number`&&typeof o==`number`?a>o?n:a<o?-n:0:0}}function ke(e,t){return e.includes(t)?e.filter(e=>e!==t):[...e,t]}function Ae(e){return Array.isArray(e)}function je(e){return typeof e==`function`}function P(e){return c(e)}function Me(e){return typeof e==`number`}function Ne(e){return!!e&&typeof e==`object`&&!je(e)&&!Ae(e)&&!c(e)}function Pe(e){return Me(e)||F(e)}function F(e){return Object.prototype.toString.call(e)===`[object String]`}const Fe=!1,Ie=`vui-active`,Le=30,Re=`grey.40`;function ze(e){return`${new Date(e)}`!=`Invalid Date`}function Be(e){let t=new Date(e);if(!ze(t))return;let n=t?.getFullYear(),r=(t.getMonth()+1).toString().padStart(2,`0`),i=t.getDate().toString().padStart(2,`0`);return`${n}-${r}-${i}`}function Ve(e){if(!e)return;let t=Date.parse(e);return isNaN(t)?void 0:new Date(t)}function He(e){let t=/^\d{4}-\d{2}-\d{2}$/;return e.match(t)}const Ue=e=>({utcYear:e.getUTCFullYear(),utcMonth:e.getUTCMonth(),utcDate:e.getUTCDate()}),I=(e,t,n)=>n?new Date(Date.UTC(e,t,n)):new Date(Date.UTC(e,t)),We=(e,t)=>!e||!t?!1:e.getUTCFullYear()===t.getUTCFullYear()&&e.getUTCMonth()===t.getUTCMonth(),Ge=(e,t)=>!e||!t?!1:e.getUTCFullYear()===t.getUTCFullYear(),Ke=(e,t)=>!e||!t?!1:e.getUTCFullYear()===t.getUTCFullYear()&&e.getUTCMonth()===t.getUTCMonth()&&e.getUTCDate()===t.getUTCDate(),qe=e=>{if(!e)return;let t=new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate());return t.toLocaleDateString()},Je=()=>{let e=new Date;return e.getFullYear()},Ye=e=>{let t=document.createElement(`div`);return t.setAttribute(`id`,e),t},Xe=e=>{let t=document.getElementById(e);t?.remove?.()},Ze=e=>document.body.classList.add(e),Qe=e=>document.body.classList.remove(e),$e={"DD MM YYYY":{year:`numeric`,month:`2-digit`,day:`2-digit`},"DD MM YYYY, HH:MM":{year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`},"DD MMM":{month:`short`,day:`2-digit`},"DD MMM YYYY":{year:`numeric`,month:`short`,day:`2-digit`},"DD MMM YYYY, HH:MM":{year:`numeric`,month:`short`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`},"DD MMM, HH:MM":{month:`short`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`},"HH:MM":{locales:`en-GB`,hour:`2-digit`,minute:`2-digit`,hourCycle:`h23`},"MMM D, YYYY":{locales:`en-US`,year:`numeric`,month:`short`,day:`numeric`},"YYYY/MM/DD":{locales:`en-ZA`},"YYYY-MM-DD":{locales:`fr-CA`},"YYYY/MM/DD, HH:MM":{locales:`en-ZA`,hour:`2-digit`,minute:`2-digit`},"YYYY-MM-DD, HH:MM":{locales:`fr-CA`,timeStyle:`short`},"YYYY-MM-DD, HH:MM:SS":{locales:`fr-CA`}};function et(e,t=`DD MM YYYY`,n){let r=$e[t],{locales:i,...a}={...r,...n};return t===`YYYY-MM-DD, HH:MM:SS`||t===`YYYY-MM-DD, HH:MM`?e?new Date(e).toLocaleDateString(i)+`, `+new Date(e).toLocaleTimeString(void 0,a):``:t===`HH:MM`?e?new Date(e).toLocaleTimeString(i,a):``:e?new Date(e).toLocaleDateString(i,a):``}function tt(...e){return(...t)=>e.forEach(e=>typeof e==`function`&&e(...t))}function nt(){}function rt(e,...t){return je(e)?e(...t):e}function it(e=0,t=1e6){return Math.floor(Math.random()*t)+e}function L(e){return ot(e,e=>e!=null)}function at(...e){let t={};return e.forEach(e=>{Ne(e)&&Object.keys(e).forEach(n=>{n!==`__proto__`&&(Ne(t[n])&&Ne(e[n])?t[n]=at(t[n],e[n]):Ae(t[n])&&Ae(e[n])?t[n]=t[n].concat(e[n]):e[n]!==void 0&&(t[n]=e[n]))})}),t}function ot(e,t){let n={};return Object.keys(e).forEach(r=>{let i=e[r],a=t(i,r,e);a&&(n[r]=i)}),n}function st(e,t){if(e!=null){if(je(e)){e(t);return}try{e.current=t}catch{throw Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function R(e={}){let{errorMessage:n=`Context can only be accessed by components wrapped with the Provider.`,isOptional:r,name:i}=e,a=t.createContext(void 0);a.displayName=i;function o(){let e=t.useContext(a);if(!r&&e===void 0)throw Error(n);return e}return[a.Provider,o]}function ct(...e){return t=>{e.forEach(e=>st(e,t))}}function lt(e,t=[]){let n=g(e);return n.current=e,u(((...e)=>n.current?.(...e)),t)}const ut=[`mousedown`,`touchstart`];function dt(e,t,n=ut){let r=JSON.stringify(n),i=lt(n=>{let r=Ae(e)?e:[e],i=n.target,a=r.every(e=>e.current&&!e.current.contains(i));a&&t?.(n)});f(()=>{let e=JSON.parse(r);return e.forEach(e=>window.addEventListener(e,i)),()=>{e.forEach(e=>window.removeEventListener(e,i))}},[r,e])}function ft(e){let{defaultValue:t,onChange:n,value:r}=e,[i,a]=_(t),o=r!==void 0,s=o?r:i,c=lt(e=>{let t=rt(e);o||a(t),n?.(t)}),l=lt(()=>{!o&&t&&c(t)});return[s,c,{isControlled:o,reset:l}]}function pt(e,t){return t.map(t=>`${t}-${e}`)}function mt(){let e=g(!1);return f(()=>(e.current=!0,()=>{e.current=!1}),[]),u(()=>e.current,[])}const ht={95:`hsl(223, 67%, 95%)`,90:`hsl(223, 67%, 90%)`,85:`hsl(223, 67%, 85%)`,80:`hsl(223, 67%, 80%)`,75:`hsl(223, 67%, 75%)`,70:`hsl(223, 67%, 70%)`,65:`hsl(223, 67%, 65%)`,60:`hsl(223, 67%, 60%)`,55:`hsl(223, 67%, 55%)`,50:`hsl(223, 67%, 50%)`,45:`hsl(223, 67%, 45%)`,40:`hsl(223, 67%, 40%)`,35:`hsl(223, 67%, 35%)`,30:`hsl(223, 67%, 30%)`,25:`hsl(223, 67%, 25%)`,18:`hsl(223, 67%, 18%)`,15:`hsl(223, 67%, 15%)`,10:`hsl(223, 67%, 10%)`,5:`hsl(223, 67%, 5%)`,main:`hsl(223, 67%, 18%)`},gt={95:`hsl(139, 100%, 95%)`,90:`hsl(139, 100%, 90%)`,85:`hsl(139, 100%, 85%)`,80:`hsl(139, 100%, 80%)`,78:`hsl(139, 100%, 78%)`,70:`hsl(139, 100%, 70%)`,65:`hsl(139, 100%, 65%)`,60:`hsl(139, 100%, 60%)`,55:`hsl(139, 100%, 55%)`,50:`hsl(139, 100%, 50%)`,45:`hsl(139, 100%, 45%)`,40:`hsl(139, 100%, 40%)`,35:`hsl(139, 100%, 35%)`,30:`hsl(139, 100%, 30%)`,25:`hsl(139, 100%, 25%)`,20:`hsl(139, 100%, 20%)`,15:`hsl(139, 100%, 15%)`,10:`hsl(139, 100%, 10%)`,5:`hsl(139, 100%, 5%)`,main:`hsl(139, 100%, 78%)`},_t={95:`hsl(35, 53%, 95%)`,89:`hsl(35, 53%, 89%)`,85:`hsl(35, 53%, 85%)`,80:`hsl(35, 53%, 80%)`,75:`hsl(35, 53%, 75%)`,70:`hsl(35, 53%, 70%)`,65:`hsl(35, 53%, 65%)`,60:`hsl(35, 53%, 60%)`,55:`hsl(35, 53%, 55%)`,50:`hsl(35, 53%, 50%)`,45:`hsl(35, 53%, 45%)`,40:`hsl(35, 53%, 40%)`,35:`hsl(35, 53%, 35%)`,30:`hsl(35, 53%, 30%)`,25:`hsl(35, 53%, 25%)`,20:`hsl(35, 53%, 20%)`,15:`hsl(35, 53%, 15%)`,10:`hsl(35, 53%, 10%)`,5:`hsl(35, 53%, 5%)`,main:`hsl(35, 53%, 89%)`},vt={95:`hsl(357, 83%, 95%)`,90:`hsl(357, 83%, 90%)`,85:`hsl(357, 83%, 85%)`,80:`hsl(357, 83%, 80%)`,75:`hsl(357, 83%, 75%)`,70:`hsl(357, 83%, 70%)`,65:`hsl(357, 83%, 65%)`,60:`hsl(357, 83%, 60%)`,54:`hsl(357, 83%, 54%)`,50:`hsl(357, 83%, 50%)`,45:`hsl(357, 83%, 45%)`,40:`hsl(357, 83%, 40%)`,35:`hsl(357, 83%, 35%)`,30:`hsl(357, 83%, 30%)`,25:`hsl(357, 83%, 25%)`,20:`hsl(357, 83%, 20%)`,15:`hsl(357, 83%, 15%)`,10:`hsl(357, 83%, 10%)`,5:`hsl(357, 83%, 5%)`,main:`hsl(357, 83%, 54%)`},yt={95:`hsl(114, 49%, 95%)`,90:`hsl(114, 49%, 90%)`,85:`hsl(114, 49%, 85%)`,80:`hsl(114, 49%, 80%)`,75:`hsl(114, 49%, 75%)`,70:`hsl(114, 49%, 70%)`,65:`hsl(114, 49%, 65%)`,60:`hsl(114, 49%, 60%)`,55:`hsl(114, 49%, 55%)`,50:`hsl(114, 49%, 50%)`,45:`hsl(114, 49%, 45%)`,41:`hsl(114, 49%, 41%)`,35:`hsl(114, 49%, 35%)`,30:`hsl(114, 49%, 30%)`,25:`hsl(114, 49%, 25%)`,20:`hsl(114, 49%, 20%)`,15:`hsl(114, 49%, 15%)`,10:`hsl(114, 49%, 10%)`,5:`hsl(114, 49%, 5%)`,main:`hsl(114, 49%, 41%)`},bt={95:`hsl(218, 100%, 95%)`,90:`hsl(218, 100%, 90%)`,85:`hsl(218, 100%, 85%)`,80:`hsl(218, 100%, 80%)`,75:`hsl(218, 100%, 75%)`,70:`hsl(218, 100%, 70%)`,65:`hsl(218, 100%, 65%)`,60:`hsl(218, 100%, 60%)`,55:`hsl(218, 100%, 55%)`,50:`hsl(218, 100%, 50%)`,45:`hsl(218, 100%, 45%)`,40:`hsl(218, 100%, 40%)`,35:`hsl(218, 100%, 35%)`,28:`hsl(218, 100%, 28%)`,25:`hsl(218, 100%, 25%)`,20:`hsl(218, 100%, 20%)`,15:`hsl(218, 100%, 15%)`,10:`hsl(218, 100%, 10%)`,5:`hsl(218, 100%, 5%)`,main:`hsl(218, 100%, 28%)`},xt={97:`hsl(40, 3%, 97%)`,95:`hsl(40, 3%, 95%)`,90:`hsl(40, 3%, 90%)`,85:`hsl(40, 3%, 85%)`,79:`hsl(40, 3%, 79%)`,75:`hsl(40, 3%, 75%)`,70:`hsl(40, 3%, 70%)`,65:`hsl(40, 3%, 65%)`,60:`hsl(40, 3%, 60%)`,55:`hsl(40, 3%, 55%)`,50:`hsl(40, 3%, 50%)`,45:`hsl(40, 3%, 45%)`,40:`hsl(40, 3%, 40%)`,35:`hsl(40, 3%, 35%)`,30:`hsl(40, 3%, 30%)`,25:`hsl(40, 3%, 25%)`,20:`hsl(40, 3%, 20%)`,15:`hsl(40, 3%, 15%)`,10:`hsl(40, 3%, 10%)`,5:`hsl(40, 3%, 5%)`,main:`hsl(40, 3%, 79%)`},St={97:`hsl(196, 74%, 97%)`,95:`hsl(196, 74%, 95%)`,90:`hsl(196, 74%, 90%)`,85:`hsl(196, 74%, 85%)`,80:`hsl(196, 74%, 80%)`,77:`hsl(196, 74%, 77%)`,65:`hsl(196, 74%, 65%)`,60:`hsl(196, 74%, 60%)`,55:`hsl(196, 74%, 55%)`,50:`hsl(196, 74%, 50%)`,45:`hsl(196, 74%, 45%)`,40:`hsl(196, 74%, 40%)`,35:`hsl(196, 74%, 35%)`,30:`hsl(196, 74%, 30%)`,25:`hsl(196, 74%, 25%)`,20:`hsl(196, 74%, 20%)`,15:`hsl(196, 74%, 15%)`,10:`hsl(196, 74%, 10%)`,5:`hsl(196, 74%, 5%)`,main:`hsl(196, 74%, 77%)`,active:`hsl(196, 74%, 95%)`,hover:`hsl(196, 74%, 90%)`,selected:`hsl(196, 74%, 95%)`},Ct={95:`hsl(55, 100%, 95%)`,90:`hsl(55, 100%, 90%)`,85:`hsl(55, 100%, 85%)`,80:`hsl(55, 100%, 80%)`,73:`hsl(55, 100%, 73%)`,70:`hsl(55, 100%, 70%)`,65:`hsl(55, 100%, 65%)`,60:`hsl(55, 100%, 60%)`,55:`hsl(55, 100%, 55%)`,50:`hsl(55, 100%, 50%)`,45:`hsl(55, 100%, 45%)`,40:`hsl(55, 100%, 40%)`,35:`hsl(55, 100%, 35%)`,30:`hsl(55, 100%, 30%)`,25:`hsl(55, 100%, 25%)`,20:`hsl(55, 100%, 20%)`,15:`hsl(55, 100%, 15%)`,10:`hsl(55, 100%, 10%)`,5:`hsl(55, 100%, 5%)`,main:`hsl(55, 100%, 73%)`},wt={95:`hsl(34, 100%, 95%)`,90:`hsl(34, 100%, 90%)`,85:`hsl(34, 100%, 85%)`,80:`hsl(34, 100%, 80%)`,75:`hsl(34, 100%, 75%)`,70:`hsl(34, 100%, 70%)`,65:`hsl(34, 100%, 65%)`,60:`hsl(34, 100%, 60%)`,55:`hsl(34, 100%, 55%)`,50:`hsl(34, 100%, 50%)`,45:`hsl(34, 100%, 45%)`,40:`hsl(34, 100%, 40%)`,35:`hsl(34, 100%, 35%)`,30:`hsl(34, 100%, 30%)`,25:`hsl(34, 100%, 25%)`,20:`hsl(34, 100%, 20%)`,15:`hsl(34, 100%, 15%)`,10:`hsl(34, 100%, 10%)`,5:`hsl(34, 100%, 5%)`,main:`hsl(34, 100%, 35%)`},Tt={95:`hsl(30, 8%, 95%)`,90:`hsl(30, 8%, 90%)`,85:`hsl(30, 8%, 85%)`,80:`hsl(30, 8%, 80%)`,75:`hsl(30, 8%, 75%)`,70:`hsl(30, 8%, 70%)`,65:`hsl(30, 8%, 65%)`,60:`hsl(30, 8%, 60%)`,56:`hsl(30, 8%, 56%)`,50:`hsl(30, 8%, 50%)`,45:`hsl(30, 8%, 45%)`,40:`hsl(30, 8%, 40%)`,35:`hsl(30, 8%, 35%)`,30:`hsl(30, 8%, 30%)`,25:`hsl(30, 8%, 25%)`,20:`hsl(30, 8%, 20%)`,15:`hsl(30, 8%, 15%)`,10:`hsl(30, 8%, 10%)`,5:`hsl(30, 8%, 5%)`,main:`hsl(30, 8%, 56%)`},Et={10:`#f6fbff`,20:`#e2f1ff`,30:`#c2e1fe`,40:`#a1cef9`,50:`#77baf9`,60:`#48a1f3`,70:`#1e86e5`,80:`#0067c5`,90:`#075094`,100:`#003f79`},Dt={10:`#efffed`,20:`#d8ffd3`,30:`#bdfbb6`,40:`#9df291`,50:`#82db77`,60:`#68c35e`,70:`#4ea344`,80:`#36842d`,90:`#276121`,100:`#024019`},Ot={10:`#f7f8f9`,20:`#f1f3f5`,30:`#e1e6e9`,40:`#c3ccd3`,50:`#a5b3bd`,60:`#8799a7`,70:`#768b9c`,80:`#698091`,90:`#586c7a`,100:`#465663`},kt={10:`#fff3fd`,20:`#ffddf9`,30:`#ffbdf3`,40:`#ff8eea`,50:`#ff55df`,60:`#ff0ed2`,70:`#ee00c1`,80:`#da00b1`,90:`#a00082`,100:`#72005c`},At={10:`#eff3f5`,20:`#c5dce8`,30:`#91bbcf`,40:`#5690ac`,50:`#32718e`,60:`#0d5071`,70:`#003b57`,80:`#002a3e`,90:`#001620`,100:`#000b11`},jt={10:`#fff1f1`,20:`#ffe4e4`,30:`#ffc8c8`,40:`#faa7ab`,50:`#fb7b81`,60:`#f64d55`,70:`#e84148`,80:`#d6383f`,90:`#b62f3a`,100:`#962730`},Mt={10:`#fffde7`,20:`#fff8bd`,30:`#ffed7a`,40:`#ffe43a`,50:`#ffd600`,60:`#fec600`,70:`#f4b40d`,80:`#e29c13`,90:`#b67b08`,100:`#83591a`},Nt={bg:xt[95],border:xt[10],color:xt[10]};var Pt={buttonTypePrimaryDefaultBorderColorDark:`hsla(0, 0%, 0%, 0)`,buttonTypePrimaryDefaultBackgroundColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypePrimaryDefaultTextColorDark:`hsla(40, 3%, 100%, 1)`,buttonTypePrimaryHoverBackgroundColorDark:`hsla(218, 100%, 20%, 1)`,buttonTypePrimaryHoverBorderColorDark:`hsla(0, 0%, 0%, 0)`,buttonTypePrimaryHoverTextColorDark:`hsla(40, 3%, 100%, 1)`,buttonTypePrimaryActiveBackgroundColorDark:`hsla(218, 100%, 35%, 1)`,buttonTypePrimaryActiveBorderColorDark:`hsla(0, 0%, 0%, 0)`,buttonTypePrimaryActiveTextColorDark:`hsla(40, 3%, 100%, 1)`,buttonTypePrimaryDefaultBorderColorLight:`hsla(0, 0%, 0%, 0)`,buttonTypePrimaryDefaultBackgroundColorLight:`hsla(139, 100%, 78%, 1)`,buttonTypePrimaryDefaultTextColorLight:`hsla(223, 67%, 18%, 1)`,buttonTypePrimaryFocusOutline:`0.25rem solid hsla(196, 100%, 43%, 1)`,buttonTypePrimaryHoverBackgroundColorLight:`hsla(139, 100%, 70%, 1)`,buttonTypePrimaryHoverBorderColorLight:`hsla(0, 0%, 0%, 0)`,buttonTypePrimaryHoverTextColorLight:`hsla(223, 67%, 18%, 1)`,buttonTypePrimaryActiveBackgroundColorLight:`hsla(139, 100%, 85%, 1)`,buttonTypePrimaryActiveBorderColorLight:`hsla(0, 0%, 0%, 0)`,buttonTypePrimaryActiveTextColorLight:`hsla(223, 67%, 18%, 1)`,buttonTypeSecondaryDefaultBorderColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypeSecondaryDefaultBackgroundColorDark:`hsla(0, 0%, 0%, 0)`,buttonTypeSecondaryDefaultTextColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypeSecondaryFocusOutline:`0.25rem solid hsla(196, 100%, 43%, 1)`,buttonTypeSecondaryHoverBackgroundColorDark:`hsla(196, 74%, 80%, 1)`,buttonTypeSecondaryHoverBorderColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypeSecondaryHoverTextColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypeSecondaryActiveBackgroundColorDark:`hsla(196, 74%, 85%, 1)`,buttonTypeSecondaryActiveBorderColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypeSecondaryActiveTextColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypeSecondaryDefaultBorderColorLight:`hsla(139, 100%, 78%, 1)`,buttonTypeSecondaryDefaultBackgroundColorLight:`hsla(0, 0%, 0%, 0)`,buttonTypeSecondaryDefaultTextColorLight:`hsla(139, 100%, 78%, 1)`,buttonTypeSecondaryHoverBackgroundColorLight:`hsla(218, 100%, 25%, 1)`,buttonTypeSecondaryHoverBorderColorLight:`hsla(139, 100%, 78%, 1)`,buttonTypeSecondaryHoverTextColorLight:`hsla(139, 100%, 78%, 1)`,buttonTypeSecondaryActiveBackgroundColorLight:`hsla(218, 100%, 35%, 1)`,buttonTypeSecondaryActiveBorderColorLight:`hsla(139, 100%, 78%, 1)`,buttonTypeSecondaryActiveTextColorLight:`hsla(139, 100%, 78%, 1)`,buttonTypeTertiaryDefaultBorderColorDark:`hsla(0, 0%, 0%, 0)`,buttonTypeTertiaryDefaultBackgroundColorDark:`hsla(0, 0%, 0%, 0)`,buttonTypeTertiaryDefaultTextColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypeTertiaryHoverBackgroundColorDark:`hsla(196, 74%, 80%, 1)`,buttonTypeTertiaryHoverBorderColorDark:`hsla(0, 0%, 0%, 0)`,buttonTypeTertiaryHoverTextColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypeTertiaryFocusOutline:`0.25rem solid hsla(196, 100%, 43%, 1)`,buttonTypeTertiaryActiveBackgroundColorDark:`hsla(196, 74%, 85%, 1)`,buttonTypeTertiaryActiveBorderColorDark:`hsla(0, 0%, 0%, 0)`,buttonTypeTertiaryActiveTextColorDark:`hsla(218, 100%, 28%, 1)`,buttonTypeTertiaryDefaultBorderColorLight:`hsla(0, 0%, 0%, 0)`,buttonTypeTertiaryDefaultBackgroundColorLight:`hsla(0, 0%, 0%, 0)`,buttonTypeTertiaryDefaultTextColorLight:`hsla(139, 100%, 78%, 1)`,buttonTypeTertiaryHoverBackgroundColorLight:`hsla(218, 100%, 25%, 1)`,buttonTypeTertiaryHoverBorderColorLight:`hsla(0, 0%, 0%, 0)`,buttonTypeTertiaryHoverTextColorLight:`hsla(139, 100%, 78%, 1)`,buttonTypeTertiaryActiveBackgroundColorLight:`hsla(218, 100%, 35%, 1)`,buttonTypeTertiaryActiveBorderColorLight:`hsla(0, 0%, 0%, 0)`,buttonTypeTertiaryActiveTextColorLight:`hsla(139, 100%, 78%, 1)`,buttonDisabledCursor:`default`,buttonDisabledOpacity:`0.5`,darkBlue:ht,digiGreen:gt,earth:_t,energyRed:vt,focusColor:`hsla(196, 100%, 43%, 1)`,landGreen:yt,sandstone:xt,seaBlue:bt,skyBlue:St,sunflower:Ct,terracotta:wt,warmGrey:Tt,blue:Et,green:Dt,grey:Ot,pink:kt,prussian:At,red:jt,yellow:Mt,disabled:Nt};function z(...e){return e.filter(Boolean).join(` `)}function Ft(e){let t=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g,n=t?.exec?.(e)?.slice?.(1);return{h:Number(n?.[0])||0,s:Number(n?.[1])||0,l:Number(n?.[2])||0}}function It(e,t){let n=e;n.charAt(0)===`#`&&(n=n.slice(1)),n.length<4&&(n=n.split(``).map(e=>e+e).join(``));let r=parseInt(n.slice(0,2),16),i=parseInt(n.slice(2,4),16),a=parseInt(n.slice(4,6),16);return t===void 0?`rgb(${r}, ${i}, ${a})`:`rgba(${r}, ${i}, ${a}, ${t})`}function Lt(e,t){if(!e.includes(`.`))return`transparent`;let[n,r]=e.split(`.`),i=Ft(Pt[n][r]);return Rt(i.h,i.s,i.l,t||r===`main`?1:parseInt(r))}function Rt(e,t,n,r){t/=100,n/=100;let i=(1-Math.abs(2*n-1))*t,a=i*(1-Math.abs(e/60%2-1)),o=n-i/2,s=0,c=0,l=0;return 0<=e&&e<60?(s=i,c=a,l=0):60<=e&&e<120?(s=a,c=i,l=0):120<=e&&e<180?(s=0,c=i,l=a):180<=e&&e<240?(s=0,c=a,l=i):240<=e&&e<300?(s=a,c=0,l=i):300<=e&&e<360&&(s=i,c=0,l=a),s=Math.round((s+o)*255),c=Math.round((c+o)*255),l=Math.round((l+o)*255),r===void 0?`rgb(${s}, ${c}, ${l})`:`rgba(${s}, ${c}, ${l}, ${r})`}const zt={overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},Bt=e=>`${e?`${e}_`:``}${Date.now().toString(36)+Math.random().toString(36).substr(2)}`,Vt=e=>!!e&&window.location.pathname.includes(e),Ht=a(void 0);function Ut(e,t){try{let n=new URL(e);return t?n.searchParams.append(`loggedin`,`1`):n.searchParams.delete(`loggedin`),n.toString()}catch{return e}}function Wt(e){let t=_({});return y(Ht.Provider,{value:t,...e})}function Gt(){let e=d(Ht);return e===void 0?(console.error(`useLinks must be used within a LinksContext.`),[{},nt]):e}function Kt(e,t){let[,n]=Gt(),r=async e=>{try{let t=await fetch(`${De[e]}/common/data/links/base.json`);if(!t.ok)return;let r=await t.json();Ne(r)&&n(i(r))}catch{console.error(`Failed to retrieve links`)}},i=lt(e=>Object.keys(e).reduce((n,r)=>(n[r]=Ut(e[r],t),n),{}));f(()=>{e&&r(e)},[e]),f(()=>{n(i)},[t])}const qt={},Jt={size:`md`,variant:`light`},Yt={sm:{item:{minH:`32px`},itemHorizontal:{space:`8px`}},md:{item:{minH:`40px`},itemHorizontal:{space:`12px`}},lg:{item:{minH:`48px`},itemHorizontal:{space:`14px`}}},Xt={light:{container:{bg:`white`,borderColor:`sandstone.main`},item:{borderColor:`sandstone.main`,itemTitleHoverBg:`skyBlue.95`,expandedItemTitleHoverBg:`skyBlue.90`},icon:{color:`sandstone.10`}},dark:{container:{bg:`darkBlue.main`,borderColor:`white`,color:`white`},item:{borderColor:`white`,disabledBg:`transparent`,itemTitleHoverBg:`seaBlue.35`,expandedItemTitleHoverBg:`seaBlue.25`},icon:{color:`digiGreen.main`}}};var Zt={baseStyle:qt,defaultProps:Jt,sizes:Yt,variants:Xt};const Qt={},$t={size:`md`,variant:`subtleGrey`,fontWeight:`medium`},en={sm:{fontSize:`xs`,h:24,iconSize:`xs`},md:{fontSize:`sm`,h:32,iconSize:`sm`},lg:{fontSize:`md`,h:40,iconSize:`md`},xl:{fontSize:`lg`,h:48,iconSize:`xl`},xxl:{fontSize:`lg`,h:56,iconSize:`xxl`}},tn={subtleGrey:{bg:`sandstone.90`,hoverBg:`sandstone.85`,borderColor:`sandstone.90`,color:`sandstone.20`,activeBg:`sandstone.79`},subtleBlue:{bg:`skyBlue.95`,hoverBg:`skyBlue.hover`,activeBg:`skyBlue.85`,borderColor:`skyBlue.95`,color:`seaBlue.main`},subtleRed:{bg:`energyRed.95`,borderColor:`energyRed.95`,hoverBg:`energyRed.90`,activeBg:`energyRed.85`,color:`energyRed.45`},subtleYellow:{bg:`sunflower.85`,hoverBg:`sunflower.70`,activeBg:`sunflower.65`,borderColor:`sunflower.85`,color:`sunflower.20`},subtleGreen:{bg:`landGreen.95`,hoverBg:`landGreen.90`,borderColor:`landGreen.95`,color:`landGreen.30`,activeBg:`landGreen.85`},subtleLavender:{bg:`hsl(232, 58%, 90%)`,hoverBg:`hsl(232, 58%, 85%)`,borderColor:`hsl(232, 58%, 90%)`,color:`hsl(232, 58%, 50%)`,activeBg:`hsl(232, 58%, 80%)`},subtleEucalyptus:{bg:`hsl(178, 80%, 85%)`,hoverBg:`hsl(178, 80%, 80%)`,borderColor:`hsl(178, 80%, 85%)`,color:`hsl(178, 80%, 20%)`,activeBg:`hsl(178, 80%, 75%)`},subtleTerracotta:{bg:`hsl(34, 100%, 85%)`,hoverBg:`hsl(34, 100%, 80%)`,borderColor:`hsl(34, 100%, 85%)`,color:`hsl(34, 100%, 20%)`,activeBg:`hsl(34, 100%, 75%)`},solidBlue:{bg:`seaBlue.main`,hoverBg:`seaBlue.35`,activeBg:`seaBlue.40`,borderColor:`seaBlue.main`,color:`white`},solidDarkBlue:{bg:`darkBlue.18`,hoverBg:`darkBlue.25`,activeBg:`darkBlue.35`,borderColor:`darkBlue.18`,color:`white`},solidRed:{bg:`energyRed.45`,hoverBg:`energyRed.54`,activeBg:`energyRed.60`,borderColor:`energyRed.45`,color:`white`},solidYellow:{bg:`sunflower.50`,hoverBg:`sunflower.80`,activeBg:`sunflower.85`,borderColor:`sunflower.50`,color:`sunflower.15`},solidGreen:{bg:`landGreen.35`,hoverBg:`landGreen.41`,activeBg:`landGreen.45`,borderColor:`landGreen.35`,color:`white`},solidLavender:{bg:`hsl(232, 58%, 60%)`,hoverBg:`hsl(232, 58%, 65%)`,borderColor:`hsl(232, 58%, 60%)`,color:`white`,activeBg:`hsl(232, 58%, 70%)`},solidEucalyptus:{bg:`hsl(178, 80%, 25%)`,hoverBg:`hsl(178, 80%, 35%)`,borderColor:`hsl(178, 80%, 25%)`,color:`white`,activeBg:`hsl(178, 80%, 42%)`},solidTerracotta:{bg:`hsl(34, 100%, 30%)`,hoverBg:`hsl(34, 100%, 40%)`,borderColor:`hsl(34, 100%, 35%)`,color:`white`,activeBg:`hsl(34, 100%, 45%)`},primaryLight:{bg:`buttonTypePrimaryDefaultBackgroundColorLight`,borderColor:`buttonTypePrimaryDefaultBorderColorLight`,color:`buttonTypePrimaryDefaultTextColorLight`,hoverBg:`buttonTypePrimaryHoverBackgroundColorLight`,hoverBorderColor:`buttonTypePrimaryHoverBorderColorLight`,hoverColor:`buttonTypePrimaryHoverTextColorLight`,activeBg:`buttonTypePrimaryActiveBackgroundColorLight`,activeBorderColor:`buttonTypePrimaryActiveBorderColorLight`,activeColor:`buttonTypePrimaryActiveTextColorLight`}};var nn={baseStyle:Qt,defaultProps:$t,sizes:en,variants:tn};const rn={},an={size:`md`,variant:`subtleSandstone`,fontWeight:`medium`},on=[`container`,`icon`,`text`],sn={xs:{container:{borderRadius:`lg`,fontSize:`sm`,h:20,spaceX:4},icon:{size:`xs`}},sm:{container:{fontSize:`sm`,h:24,spaceX:4},icon:{size:`xs`}},md:{container:{fontSize:`sm`,h:32,spaceX:6},icon:{size:`sm`}},lg:{container:{fontSize:`md`,h:40,spaceX:8},icon:{size:`md`}}},cn={subtleSandstone:{container:{bg:`sandstone.90`,color:`sandstone.20`,borderColor:`transparent`}},subtleEarth:{container:{bg:`earth.95`,color:`earth.20`}},subtleBlue:{container:{bg:`skyBlue.95`,color:`seaBlue.main`}},subtleBlue2:{container:{bg:`skyBlue.95`,color:`skyBlue.20`}},subtleRed:{container:{bg:`energyRed.95`,color:`energyRed.45`}},subtleYellow:{container:{bg:`sunflower.85`,color:`sunflower.20`}},subtleGreen:{container:{bg:`landGreen.95`,color:`landGreen.30`}},solidBlue:{container:{bg:`skyBlue.65`,color:`skyBlue.20`}},solidDarkBlue:{container:{bg:`darkBlue.18`,borderColor:`darkBlue.18`,color:`white`}},solidRed:{container:{bg:`energyRed.45`,color:`white`}},solidYellow:{container:{bg:`sunflower.50`,color:`sunflower.15`}},solidGreen:{container:{bg:`landGreen.35`,color:`white`}}};var ln={baseStyle:rn,defaultProps:an,parts:on,sizes:sn,variants:cn};const un={},dn={},fn={},pn={};var mn={baseStyle:un,defaultProps:dn,sizes:fn,variants:pn};const hn={},gn={size:`md`,variant:`dark`},_n={xs:{item:{fontSize:12,lineHeight:`18px`},separator:{size:`xs`}},sm:{item:{fontSize:14,lineHeight:`22px`},separator:{size:`sm`}},md:{item:{fontSize:16,lineHeight:`26px`},separator:{size:`md`}},lg:{item:{fontSize:18,lineHeight:`32px`},separator:{size:`lg`}}},vn={dark:{item:{color:`seaBlue.main`},main:{bg:`transparent`},separator:{pathFill:`sandstone.10`}},white:{item:{color:`white`},main:{bg:`darkBlue.main`},separator:{pathFill:`white`}},light:{item:{color:`digiGreen.main`},main:{bg:`darkBlue.main`},separator:{pathFill:`white`}}};var yn={baseStyle:hn,defaultProps:gn,sizes:_n,variants:vn};const bn={},xn={size:`lg`,variant:`primaryDark`,fontWeight:`medium`},Sn=[`container`,`icon`,`text`],Cn={sm:{container:{fontSize:`xs`,h:24,minW:48,spaceX:4},icon:{size:`xs`},text:{}},md:{container:{fontSize:`sm`,h:32,minW:64,spaceX:6},icon:{size:`sm`},text:{}},lg:{container:{fontSize:`md`,h:40,minW:80,spaceX:8},icon:{size:`md`},text:{}},xl:{container:{fontSize:`lg`,h:48,minW:96,spaceX:10},icon:{size:`lg`},text:{}}},wn={primaryDark:{container:{bg:`buttonTypePrimaryDefaultBackgroundColorDark`,borderColor:`buttonTypePrimaryDefaultBorderColorDark`,color:`buttonTypePrimaryDefaultTextColorDark`,hoverBg:`buttonTypePrimaryHoverBackgroundColorDark`,hoverBorderColor:`buttonTypePrimaryHoverBorderColorDark`,hoverColor:`buttonTypePrimaryHoverTextColorDark`,activeBg:`buttonTypePrimaryActiveBackgroundColorDark`,activeBorderColor:`buttonTypePrimaryActiveBorderColorDark`,activeColor:`buttonTypePrimaryActiveTextColorDark`}},primaryLight:{container:{bg:`buttonTypePrimaryDefaultBackgroundColorLight`,borderColor:`buttonTypePrimaryDefaultBorderColorLight`,color:`buttonTypePrimaryDefaultTextColorLight`,hoverBg:`buttonTypePrimaryHoverBackgroundColorLight`,hoverBorderColor:`buttonTypePrimaryHoverBorderColorLight`,hoverColor:`buttonTypePrimaryHoverTextColorLight`,activeBg:`buttonTypePrimaryActiveBackgroundColorLight`,activeBorderColor:`buttonTypePrimaryActiveBorderColorLight`,activeColor:`buttonTypePrimaryActiveTextColorLight`}},secondaryDark:{container:{bg:`buttonTypeSecondaryDefaultBackgroundColorDark`,borderColor:`buttonTypeSecondaryDefaultBorderColorDark`,color:`buttonTypeSecondaryDefaultTextColorDark`,hoverBg:`buttonTypeSecondaryHoverBackgroundColorDark`,hoverBorderColor:`buttonTypeSecondaryHoverBorderColorDark`,hoverColor:`buttonTypeSecondaryHoverTextColorDark`,activeBg:`buttonTypeSecondaryActiveBackgroundColorDark`,activeBorderColor:`buttonTypeSecondaryActiveBorderColorDark`,activeColor:`buttonTypeSecondaryActiveTextColorDark`}},secondaryLight:{container:{bg:`buttonTypeSecondaryDefaultBackgroundColorLight`,borderColor:`buttonTypeSecondaryDefaultBorderColorLight`,color:`buttonTypeSecondaryDefaultTextColorLight`,hoverBg:`buttonTypeSecondaryHoverBackgroundColorLight`,hoverBorderColor:`buttonTypeSecondaryHoverBorderColorLight`,hoverColor:`buttonTypeSecondaryHoverTextColorLight`,activeBg:`buttonTypeSecondaryActiveBackgroundColorLight`,activeBorderColor:`buttonTypeSecondaryActiveBorderColorLight`,activeColor:`buttonTypeSecondaryActiveTextColorLight`}},tertiaryDark:{container:{bg:`buttonTypeTertiaryDefaultBackgroundColorDark`,borderColor:`buttonTypeTertiaryDefaultBorderColorDark`,color:`buttonTypeTertiaryDefaultTextColorDark`,hoverBg:`buttonTypeTertiaryHoverBackgroundColorDark`,hoverBorderColor:`buttonTypeTertiaryHoverBorderColorDark`,hoverColor:`buttonTypeTertiaryHoverTextColorDark`,activeBg:`buttonTypeTertiaryActiveBackgroundColorDark`,activeBorderColor:`buttonTypeTertiaryActiveBorderColorDark`,activeColor:`buttonTypeTertiaryActiveTextColorDark`}},tertiaryLight:{container:{bg:`buttonTypeTertiaryDefaultBackgroundColorLight`,borderColor:`buttonTypeTertiaryDefaultBorderColorLight`,color:`buttonTypeTertiaryDefaultTextColorLight`,hoverBg:`buttonTypeTertiaryHoverBackgroundColorLight`,hoverBorderColor:`buttonTypeTertiaryHoverBorderColorLight`,hoverColor:`buttonTypeTertiaryHoverTextColorLight`,activeBg:`buttonTypeTertiaryActiveBackgroundColorLight`,activeBorderColor:`buttonTypeTertiaryActiveBorderColorLight`,activeColor:`buttonTypeTertiaryActiveTextColorLight`}},solidBlue:{container:{bg:`seaBlue.main`,borderColor:`seaBlue.main`,color:`white`,disabledBg:`darkBlue.75`,disabledBorderColor:`darkBlue.75`,disabledColor:`white`,hoverBg:`seaBlue.20`,hoverBorderColor:`seaBlue.20`,focusBg:`seaBlue.main`,activeBg:`seaBlue.35`,activeBorderColor:`seaBlue.35`}},blueOutlined:{container:{bg:`white`,borderColor:`seaBlue.main`,color:`seaBlue.main`,disabledBg:`white`,disabledBorderColor:`darkBlue.75`,disabledColor:`darkBlue.75`,hoverBg:`skyBlue.85`,hoverBorderColor:`seaBlue.35`,activeBg:`skyBlue.90`,activeBorderColor:`seaBlue.35`}},blueText:{container:{bg:`transparent`,borderColor:`transparent`,color:`seaBlue.main`,disabledBg:`white`,disabledBorderColor:`white`,disabledColor:`darkBlue.75`,hoverBg:`skyBlue.85`,hoverBorderColor:`skyBlue.85`,focusBg:`transparent`,activeBg:`skyBlue.90`,activeBorderColor:`skyBlue.90`}},solidGreen:{container:{bg:`landGreen.35`,borderColor:`landGreen.35`,color:`white`,disabledBg:`landGreen.70`,disabledBorderColor:`landGreen.70`,disabledColor:`white`,hoverBg:`landGreen.25`,hoverBorderColor:`landGreen.25`,focusBg:`landGreen.35`,activeBg:`landGreen.41`,activeBorderColor:`landGreen.41`}},solidRed:{container:{bg:`energyRed.45`,borderColor:`energyRed.45`,color:`white`,disabledBg:`energyRed.80`,disabledBorderColor:`energyRed.80`,disabledColor:`white`,hoverBg:`energyRed.35`,hoverBorderColor:`energyRed.35`,focusBg:`energyRed.45`,activeBg:`energyRed.50`,activeBorderColor:`energyRed.50`}},subtleBlue:{container:{bg:`transparent`,borderColor:`transparent`,color:`seaBlue.main`,disabledBg:`white`,disabledBorderColor:`darkBlue.75`,disabledColor:`darkBlue.75`,hoverBg:`skyBlue.90`,hoverBorderColor:`skyBlue.90`,focusBg:`transparent`,activeBg:`skyBlue.85`,activeBorderColor:`skyBlue.85`}},subtleRed:{container:{bg:`transparent`,borderColor:`transparent`,hoverBg:`energyRed.90`,hoverBorderColor:`energyRed.90`,focusBg:`transparent`,activeBg:`energyRed.85`,color:`energyRed.45`}},subtleYellow:{container:{bg:`transparent`,borderColor:`transparent`,hoverBg:`sunflower.70`,hoverBorderColor:`sunflower.70`,focusBg:`transparent`,activeBg:`sunflower.65`,color:`sunflower.15`}},subtleGreen:{container:{bg:`transparent`,borderColor:`transparent`,hoverBg:`landGreen.90`,hoverBorderColor:`landGreen.90`,focusBg:`transparent`,activeBg:`landGreen.85`,color:`landGreen.30`}}};wn.buttonGroupDefault={container:{...wn.secondaryDark.container,borderColor:`sandstone.60`}},wn.buttonGroupRounded={container:{bg:`white`,borderColor:`sandstone.79`,color:`sandstone.10`,hoverBg:`seaBlue.20`,hoverBorderColor:`buttonTypePrimaryHoverBorderColorDark`,hoverColor:`white`,activeBg:`seaBlue.35`,activeBorderColor:`buttonTypePrimaryActiveBorderColorDark`,activeColor:`white`,borderRadius:`round`,marginRight:`22px`}};var Tn={baseStyle:bn,defaultProps:xn,parts:Sn,sizes:Cn,variants:wn};const En={},Dn={},On={},kn={};var An={baseStyle:En,defaultProps:Dn,sizes:On,variants:kn};const jn={bg:`white`,borderRadius:0,ring:1,ringColor:`transparent`,shadow:`2`},Mn={},Nn={},Pn={};var Fn={baseStyle:jn,defaultProps:Mn,sizes:Nn,variants:Pn};const In={chat:{flexDirection:`column`,w:`100%`,height:`100%`},messages:{flexDirection:`column`,overflowY:`auto`,position:`relative`,w:`100%`},suggestions:{display:`block`,textAlign:`right`,width:`100%`}},Ln={},Rn={},zn={};var Bn={baseStyle:In,defaultProps:Ln,sizes:Rn,variants:zn};const Vn={unchecked:`sandstone.60`,checked:`seaBlue.28`,hover:`seaBlue.20`,focus:`seaBlue.35`},Hn={icon:`sandstone.79`,text:`sandstone.60`},Un={control:{color:Vn.unchecked,hoverColor:Vn.hover},container:{alignItems:`flext-start`}},Wn={size:`md`},Gn=[`container`,`control`,`label`],Kn={sm:{control:{h:16,w:16},label:{size:`sm`}},md:{control:{h:20,w:20},label:{size:`md`}},lg:{control:{h:24,w:24},label:{size:`lg`}}},qn={};var Jn={baseStyle:Un,defaultProps:Wn,parts:Gn,sizes:Kn,variants:qn};const Yn={},Xn={},Zn={},Qn={};var $n={baseStyle:Yn,defaultProps:Xn,sizes:Zn,variants:Qn};const er={},tr={size:`md`,variant:`light`},nr=[`container`,`icon`,`dt`,`dd`],rr={sm:{container:{fontSize:`sm`,lineHeight:`22px`},dt:{fontSize:`sm`,spaceX:4},dd:{fontSize:`sm`,spaceX:4},icon:{size:`sm`,mx:.5,my:`auto`}},md:{container:{fontSize:`md`,lineHeight:`30px`},dt:{fontSize:`md`,spaceX:6},dd:{fontSize:`md`,spaceX:6},icon:{size:`md`,mx:.5,my:`auto`}}},ir={light:{container:{color:`sandstone.20`}},dark:{container:{bg:`darkBlue.main`,color:`white`}}};var ar={baseStyle:er,defaultProps:tr,parts:nr,sizes:rr,variants:ir};const or={},sr={size:`md`},cr=[`container`,`body`,`cancelButton`,`closeButton`,`footer`,`header`,`icon`,`submitButton`,`title`],lr={md:{container:{maxW:520}},lg:{container:{maxW:640}},fullWidth:{}},ur={};var dr={baseStyle:or,defaultProps:sr,parts:cr,sizes:lr,variants:ur};const fr={},pr={},mr={},hr={};var gr={baseStyle:fr,defaultProps:pr,sizes:mr,variants:hr};const _r={bg:`skyBlue.95`,main:`seaBlue.main`,hover:`skyBlue.90`},vr={borderWidth:2,borderStyle:`solid`,borderColor:`transparent`,bg:_r.bg,color:_r.main,hoverBg:_r.hover},yr={variant:`default`},br={},xr={default:{},outlined:{borderColor:_r.main,borderStyle:`dashed`}};var Sr={baseStyle:vr,defaultProps:yr,sizes:br,variants:xr};const Cr={},wr={},Tr={},Er={};var Dr={baseStyle:Cr,defaultProps:wr,sizes:Tr,variants:Er};const Or={},kr={variant:`default`},Ar=[`container`,`column`,`content`,`heading`,`link`,`row`,`section`,`trademark`],jr={},Mr={default:{container:{bg:`darkBlue.main`,color:`white`},link:{color:`white`}},developer:{container:{bg:`darkBlue.main`,color:`white`},link:{color:`digiGreen.main`}},light:{container:{bg:`white`,color:`darkBlue.main`},row:{color:`black`},link:{color:`seaBlue.main`},heading:{color:`darkBlue.main`}}};var Nr={baseStyle:Or,defaultProps:kr,parts:Ar,sizes:jr,variants:Mr};const Pr={},Fr={},Ir={},Lr={};var Rr={baseStyle:Pr,defaultProps:Fr,sizes:Ir,variants:Lr};const zr={},Br={variant:`default`},Vr=[`container`,`account`,`accountUserInfo`,`content`,`createAccount`,`divider`,`linkItem`,`logo`,`mainLinks`,`mobileContent`,`mobileToggle`,`notifications`,`services`,`servicesMessage`,`signIn`],Hr={},Ur={default:{container:{borderColor:`darkBlue.main`},createAccount:{link:{variant:`dark`}},linkItem:{container:{hoverBg:`skyBlue.90`,activeBg:`transparent`,activeBorderColor:`darkBlue.main`},link:{size:`lg`,color:`darkBlue.main`,borderColor:`darkBlue.main`,hoverColor:`darkBlue.main`,activeColor:`darkBlue.main`}},logo:{svg:{pathFill:`#0F204B`}},divider:{color:`darkBlue.main`},mobileToggle:{color:`darkBlue.main`,hoverColor:`darkBlue.main`,activeColor:`darkBlue.main`},notifications:{container:{color:`darkBlue.main`,hoverColor:`darkBlue.main`}},services:{button:{color:`darkBlue.main`,hoverColor:`darkBlue.main`,activeColor:`darkBlue.main`},list:{variant:`blue`}},signIn:{background:`darkBlue.main`}},dark:{container:{bg:`darkBlue.main`,borderBottom:0},createAccount:{link:{variant:`light`},text:{color:`white`}},account:{trigger:{variant:`primaryLight`}},divider:{borderColor:`white`},linkItem:{container:{hoverBg:`seaBlue.25`,activeBg:`transparent`,activeBorderColor:`digiGreen.main`},link:{size:`lg`,color:`white`,borderColor:`digiGreen.main`,hoverBg:`seaBlue.25`,hoverColor:`white`,activeBg:`seaBlue.35`,activeColor:`white`}},logo:{svg:{pathFill:`#FFFFFF`}},mainLinks:{color:{md:`white`}},mobileContent:{top:`100%`},mobileToggle:{color:`white`,hoverBg:`seaBlue.25`,hoverColor:`white`,activeBg:`seaBlue.35`,activeColor:`white`},notifications:{container:{variant:`solid`,color:`white`,hoverBg:`seaBlue.25`,hoverColor:`white`,activeBg:`seaBlue.35`,borderColor:`transparent`},icon:{color:`white`}},services:{button:{color:`white`,hoverBg:`seaBlue.25`,hoverColor:`white`,activeBg:`seaBlue.35`,activeColor:`white`},list:{variant:`blue`}},signIn:{button:{variant:`primaryLight`},colorScheme:`pink`}}};var Wr={baseStyle:zr,defaultProps:Br,parts:Vr,sizes:Hr,variants:Ur},Gr={gantari:`Gantari, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,dnvDisplay:`'DNV Display'`};const Kr={color:`darkBlue.main`},qr={size:`h2`},Jr={title:{as:`h1`,fontFamily:[Gr.dnvDisplay,Gr.gantari].join(`, `),fontSize:{desktop:`64px`,mobile:`42px`},fontWeight:`medium`,lineHeight:{desktop:`74px`,mobile:`52px`}},h1:{as:`h1`,fontSize:{desktop:`50px`,mobile:`36px`},fontWeight:`regular`,lineHeight:{desktop:`62px`,mobile:`48px`}},lead:{as:`h2`,color:`seaBlue.main`,fontSize:{desktop:`28px`,mobile:`20px`},fontWeight:`regular`,lineHeight:{desktop:`38px`,mobile:`28px`}},h2:{as:`h2`,fontSize:{desktop:`32px`,mobile:`28px`},fontWeight:`regular`,lineHeight:{desktop:`42px`,mobile:`38px`}},h3:{as:`h3`,fontSize:{desktop:`24px`,mobile:`22px`},fontWeight:`regular`,lineHeight:`32px`},h4:{as:`h4`,fontSize:{desktop:`20px`,mobile:`18px`},fontWeight:`demi`,lineHeight:`24px`},h5:{as:`h5`,fontSize:{desktop:`18px`,mobile:`16px`},fontWeight:`demi`,lineHeight:{desktop:`26px`,mobile:`22px`}},h6:{as:`h6`,fontSize:`16px`,fontWeight:`demi`,lineHeight:`22px`}},Yr={};var Xr={baseStyle:Kr,defaultProps:qr,sizes:Jr,variants:Yr};const Zr={},Qr={size:`md`},$r={xxs:{height:12,width:12},xs:{height:16,width:16},sm:{height:20,width:20},md:{height:24,width:24},lg:{height:28,width:28},xl:{height:32,width:32},xxl:{height:40,width:40}},ei={static:{},spinning:{animation:`vui-spin 0.6s linear infinite`}};var ti={baseStyle:Zr,defaultProps:Qr,sizes:$r,variants:ei};const ni={},ri={},ii={},ai={};var oi={baseStyle:ni,defaultProps:ri,sizes:ii,variants:ai};const B={border:`sandstone.60`,placeholder:`sandstone.55`,inputText:`sandstone.10`,helpText:`sandstone.30`,icons:`seaBlue.main`,disabled:`sandstone.95`,focus:`focusColor`,error:`energyRed.45`,loading:`seaBlue.80`,success:`landGreen.35`},si={error:`falExclamationTriangle`,loading:`fadSpinnerThird`,success:`falCheck`},ci={error:{variant:`red`,iconProps:{color:B.error,icon:si.error}},loading:{variant:`grey`,iconProps:{animation:`vui-spin 0.6s linear infinite`,name:si.loading,pathFill:[B.loading,B.icons]}},success:{variant:`green`,iconProps:{color:B.success,icon:si.success}}},li={sm:`xs`,md:`sm`,lg:`md`,xl:`lg`},ui={sm:`sm`,md:`sm`,lg:`sm`,xl:`md`},di={sm:`sm`,md:`sm`,lg:`md`,xl:`md`},fi=`60px`,pi={container:{focusWithinRing:3,color:B.inputText},input:{placeholderTextColor:B.placeholder}},mi={size:`lg`,variant:`grey`},hi=[`container`,`icon`,`input`,`label`],gi={sm:{container:{fontSize:`xs`,h:24},icon:{size:`xs`},input:{},label:{fontSize:`xs`}},md:{container:{fontSize:`sm`,h:32},icon:{size:`sm`},input:{},label:{fontSize:`sm`}},lg:{container:{fontSize:`md`,h:40},icon:{size:`md`},input:{},label:{fontSize:`md`}},xl:{container:{fontSize:`lg`,h:48},icon:{size:`md`},input:{},label:{fontSize:`lg`}}},_i={grey:{container:{borderColor:B.border,focusWithinRingColor:B.focus}},green:{container:{borderColor:B.success,focusWithinRingColor:B.success}},red:{container:{borderColor:B.error,focusWithinRingColor:B.error}}};var vi={baseStyle:pi,defaultProps:mi,parts:hi,sizes:gi,variants:_i};const yi={helper:{ml:`8px`,fontWeight:400}},bi={},xi={},Si={},Ci=[`helper`];var wi={baseStyle:yi,defaultProps:bi,parts:Ci,sizes:xi,variants:Si};const Ti={container:{dislplay:`inline`},icon:{size:`xs`},text:{fontSize:`inherit`}},Ei={variant:`dark`},Di=[`container`,`icon`,`text`],Oi={dark:{container:{color:`seaBlue.main`}},light:{container:{color:`digiGreen.main`}},white:{container:{color:`white`}},plain:{container:{hoverTextDecoration:`none`}}},ki={xs:{container:{fontSize:`xs`,lineHeight:`18px`},icon:{size:`xxs`}},sm:{container:{fontSize:`sm`,lineHeight:`22px`}},md:{container:{fontSize:`md`,lineHeight:`26px`}},lg:{container:{fontSize:`lg`,lineHeight:`32px`}}};var Ai={baseStyle:Ti,defaultProps:Ei,parts:Di,sizes:ki,variants:Oi};const ji={item:{color:`sandstone.10`,activeBg:`skyBlue.95`,hoverBg:`skyBlue.90`,selectedBg:`skyBlue.95`,px:2},heading:{color:`sandstone.45`}},Mi={size:`lg`,button:{size:`sm`},variant:`default`},Ni=[`container`,`divider`,`heading`,`icon`,`item`,`text`,`button`],Pi={sm:{icon:{size:`xs`},button:{size:`sm`},item:{fontSize:12,h:24},heading:{fontSize:12}},md:{icon:{size:`xs`},button:{size:`sm`},item:{fontSize:14,h:32},heading:{fontSize:14}},lg:{icon:{size:`sm`},button:{size:`sm`},item:{fontSize:16,h:40},heading:{fontSize:16}},xl:{icon:{size:`md`},button:{size:`md`},item:{fontSize:18,h:48},heading:{fontSize:18}},xxl:{icon:{size:`md`},button:{size:`md`},item:{fontSize:18,h:56},heading:{fontSize:18}}},Fi={default:{},ordered:{container:{as:`ol`,listStyleType:`decimal`,pl:3},item:{display:`list-item`}},unordered:{container:{as:`ul`,listStyleType:`disc`,pl:3},item:{display:`list-item`}},blue:{heading:{color:`darkBlue.main`}}};var Ii={baseStyle:ji,defaultProps:Mi,parts:Ni,sizes:Pi,variants:Fi};const Li={},Ri={size:`md`},zi=[`button`,`item`,`list`],Bi={sm:{button:{size:`sm`},list:{size:`sm`}},md:{button:{size:`md`},list:{size:`md`}},lg:{button:{size:`lg`},list:{size:`lg`}}},Vi={};var Hi={baseStyle:Li,defaultProps:Ri,parts:zi,sizes:Bi,variants:Vi};const Ui={info:`falInfoCircle`,warning:`falExclamationTriangle`,error:`falExclamationTriangle`,success:`falCheckCircle`},Wi={sm:6,md:8,lg:10},Gi={info:`seaBlue.main`,warning:`terracotta.30`,error:`energyRed.45`,success:`landGreen.35`},Ki={mt:`4px`,color:`black`},qi={display:`flex`},Ji={variant:`info`,size:`md`},Yi={sm:{iconSize:`sm`,fontSize:`sm`},md:{iconSize:`md`,fontSize:`md`},lg:{iconSize:`lg`,fontSize:`lg`}},Xi={info:{color:Gi.info},warning:{color:Gi.warning},error:{color:Gi.error},success:{color:Gi.success}};var Zi={baseStyle:qi,defaultProps:Ji,sizes:Yi,variants:Xi};const Qi={},$i={},ea=[`container`,`backdrop`,`content`],ta={},na={};var ra={baseStyle:Qi,defaultProps:$i,parts:ea,sizes:ta,variants:na};const ia={},aa={variant:`subtleBlue`},oa=[`container`,`button`,`icon`,`text`,`title`],sa={},ca={subtleBlue:{container:{bg:`skyBlue.95`,borderColor:`seaBlue.main`,color:`seaBlue.main`},button:{borderColor:`transparent`}},subtleRed:{container:{bg:`energyRed.95`,borderColor:`energyRed.45`,color:`energyRed.45`}},subtleYellow:{container:{bg:`sunflower.85`,borderColor:`sunflower.15`,color:`sunflower.15`}},subtleGreen:{container:{bg:`landGreen.95`,borderColor:`landGreen.30`,color:`landGreen.30`}},bannerBlue:{container:{bg:`skyBlue.95`,borderColor:`skyBlue.95`,color:`seaBlue.main`},button:{borderColor:`transparent`}},bannerRed:{container:{bg:`energyRed.95`,borderColor:`energyRed.95`,color:`energyRed.45`}},bannerYellow:{container:{bg:`sunflower.85`,borderColor:`sunflower.85`,color:`sunflower.15`}},bannerGreen:{container:{bg:`landGreen.95`,borderColor:`landGreen.95`,color:`landGreen.30`}}};var la={baseStyle:ia,defaultProps:aa,parts:oa,sizes:sa,variants:ca};const ua={},da={size:`md`},fa={xs:{fontSize:`xs`,lineHeight:`18px`},sm:{fontSize:`sm`,lineHeight:`22px`},md:{fontSize:`md`,lineHeight:`26px`},lg:{fontSize:`lg`,lineHeight:`32px`}},pa={};var ma={baseStyle:ua,defaultProps:da,sizes:fa,variants:pa};const ha={bg:`transparent`,border:`none`,color:`darkBlue.main`},ga={button:{...ha,color:`seaBlue.main`,hoverBg:`skyBlue.main`,minW:24},ellipsis:{...ha},goToPage:{...ha},prevNext:{...ha},results:{color:`sandstone.30`}},_a={},va=[`container`,`button`,`ellipsis`,`goToPage`,`navigation`,`prevNext`,`results`],ya={},ba={};var xa={baseStyle:ga,defaultProps:_a,parts:va,sizes:ya,variants:ba};const Sa={borderRadius:0},Ca={variant:`elevated`},wa={},Ta={elevated:{shadow:`1`},outlined:{border:1,borderColor:`sandstone.main`}};var Ea={baseStyle:Sa,defaultProps:Ca,sizes:wa,variants:Ta};const Da={},Oa={},ka=[`content`,`trigger`],Aa={},ja={};var Ma={baseStyle:Da,defaultProps:Oa,parts:ka,sizes:Aa,variants:ja};const Na={},Pa={size:`md`,variant:`primary`},Fa={sm:{container:{minH:`4px`},percentage:{fontSize:`80%`,top:`-16px`}},md:{container:{minH:`8px`},percentage:{fontSize:`100%`,top:`-20px`}},lg:{container:{minH:`12px`},percentage:{fontSize:`110%`,top:`-22px`}},xl:{container:{minH:`16px`},percentage:{fontSize:`120%`,top:`-24px`}}},Ia={primary:{bg:`darkBlue.95`,color:`darkBlue.main`},green:{bg:`landGreen.95`,color:`landGreen.main`},red:{bg:`energyRed.95`,color:`energyRed.main`}};var La={baseStyle:Na,defaultProps:Pa,sizes:Fa,variants:Ia};const Ra={color:`darkBlue.main`},za={size:`md`,variant:`primary`},Ba={sm:{strokeWidth:4,width:46,top:15,fontSize:12},md:{strokeWidth:5,width:80,top:30,fontSize:16},lg:{strokeWidth:6,width:120,top:48,fontSize:18},xl:{strokeWidth:7,width:160,top:64,fontSize:22}},Va={primary:{stroke:{main:ht[95],progress:ht.main}},green:{stroke:{main:yt[95],progress:yt.main}},red:{stroke:{main:vt[95],progress:vt.main}}};var Ha={baseStyle:Ra,defaultProps:za,sizes:Ba,variants:Va};const Ua={unchecked:`sandstone.60`,checked:`seaBlue.28`,hover:`seaBlue.20`,focus:`seaBlue.35`},Wa={control:{color:Ua.unchecked,hoverColor:Ua.hover}},Ga={size:`md`},Ka=[`container`,`control`,`label`],qa={sm:{control:{h:16,w:16},label:{size:`sm`}},md:{control:{h:20,w:20},label:{size:`md`}},lg:{control:{h:24,w:24},label:{size:`lg`}}},Ja={};var Ya={baseStyle:Wa,defaultProps:Ga,parts:Ka,sizes:qa,variants:Ja};const Xa={main:`seaBlue.28`,track:`sandstone.79`,disabled:`sandstone.55`},Za={container:{w:1},thumb:{bg:`white`,border:`2px solid ${Xa.main}`,borderRadius:`24px`,cursor:`grab`,h:`24px`,lineHeight:`24px`,w:`24px`,textAlign:`center`,top:`-10px`,transitionDuration:`0s`},thumbValue:{position:`absolute`,top:`24px`,w:`18px`},track:{bg:Xa.main,bottom:0,borderRadius:`24px`,top:0,transitionDuration:`0s`}},Qa={},$a=[`container`,`thumb`,`thumbValue`,`track`],eo={},to={};var no={baseStyle:Za,defaultProps:Qa,parts:$a,sizes:eo,variants:to};const ro={},io={size:`md`,variant:`yellow`},ao=[`icon`],oo={sm:{icon:{size:`sm`}},md:{icon:{size:`md`}},lg:{icon:{size:`lg`}}},so={yellow:{color:`sunflower.50`},blue:{color:`seaBlue.28`}};var co={baseStyle:ro,defaultProps:io,parts:ao,sizes:oo,variants:so};const lo={},uo={size:`lg`,variant:`outlined`},fo=[`container`,`button`,`content`,`group`,`option`,`label`],po={sm:{button:{size:`sm`},group:{size:`sm`},option:{size:`sm`},label:{fontSize:`xs`}},md:{button:{size:`md`},group:{size:`md`},option:{size:`md`},label:{fontSize:`sm`}},lg:{button:{size:`lg`},group:{size:`lg`},option:{size:`lg`},label:{fontSize:`md`}},xl:{button:{size:`xl`},group:{size:`xl`},option:{size:`xl`},label:{fontSize:`lg`}}},mo={outlined:{button:{hoverBg:`white`,activeBg:`white`,borderColor:`sandstone.60`,hoverBorderColor:`sandstone.60`}},text:{button:{hoverBg:`white`,activeBg:`white`,borderColor:`transparent`,hoverBorderColor:`transparent`}}};var ho={baseStyle:lo,defaultProps:uo,parts:fo,sizes:po,variants:mo};const go={},_o={size:`md`,variant:`light`},vo=[`container`,`item`,`sidemenuTop`,`bottom`],yo={md:{item:{minH:`40px`}},lg:{item:{minH:`56px`}}},bo={light:{container:{bg:`white`},bottom:{borderTop:`1px solid lightgray`},sidemenuTop:{borderBottom:`1px solid lightgray`},item:{}},dark:{container:{bg:`darkBlue.main`,color:`white`},bottom:{borderTop:`1px solid black`},sidemenuTop:{borderBottom:`1px solid black`},item:{}}};var xo={baseStyle:go,defaultProps:_o,parts:vo,sizes:yo,variants:bo};const So={bg:`skyBlue.95`},Co={size:`md`,variant:`rect`},wo={xs:{h:24},sm:{h:32},md:{h:40},lg:{h:48}},To={circle:{borderRadius:`50%`},rect:{borderRadius:`md`,w:`100%`}};var Eo={baseStyle:So,defaultProps:Co,sizes:wo,variants:To};const Do={container:{padding:1}},Oo={size:`xxxl`,variant:`light`},ko=[`container`,`circle`,`text`],Ao={xs:{circle:{borderWidth:2,h:20,w:20}},sm:{circle:{borderWidth:2,h:24,w:24}},md:{circle:{borderWidth:3,h:32,w:32}},lg:{circle:{borderWidth:3,h:40,w:40}},xl:{circle:{borderWidth:3,h:48,w:48}},xxl:{circle:{borderWidth:4,h:60,w:60}},xxxl:{circle:{borderWidth:5,h:80,w:80}},xxxxl:{circle:{borderWidth:5,h:120,w:120}}},jo={light:{circle:{borderColor:`seaBlue.80`,borderTopColor:`seaBlue.main`},text:{color:`seaBlue.main`}},dark:{container:{bg:`darkBlue.main`},circle:{borderColor:`hsl(139, 100%, 78%, 0.4)`,borderTopColor:`digiGreen.main`},text:{color:`digiGreen.main`}}};var Mo={baseStyle:Do,defaultProps:Oo,parts:ko,sizes:Ao,variants:jo};const No={},Po={size:`md`,variant:`active`},Fo={sm:{},md:{}},Io={active:{button:{bg:`seaBlue.main`},icon:{bg:`white`,color:`seaBlue.main`}},completed:{button:{bg:`landGreen.41`},icon:{bg:`white`,color:`landGreen.41`}},optional:{button:{bg:`white`,borderColor:`seaBlue.45`,color:`seaBlue.45`},icon:{bg:`white`,color:`seaBlue.45`}},pending:{button:{bg:`sandstone.90`,color:`sandstone.45`},icon:{bg:`white`,color:`sandstone.45`}},error:{button:{bg:`energyRed.45`,color:`white`},icon:{bg:`white`,color:`energyRed.45`}}};var Lo={baseStyle:No,defaultProps:Po,sizes:Fo,variants:Io};const Ro={},zo={size:`md`},Bo=[`stepHorizontal`],Vo={sm:{},md:{}},Ho={};var Uo={baseStyle:Ro,defaultProps:zo,parts:Bo,sizes:Vo,variants:Ho};const Wo={},Go={size:`md`},Ko=[`stepVertical`],qo={sm:{},md:{}},Jo={};var Yo={baseStyle:Wo,defaultProps:Go,parts:Ko,sizes:qo,variants:Jo};const Xo={main:`seaBlue.main`,hover:`seaBlue.40`,offBg:`sandstone.55`,offBgContrast:`sandstone.45`,disabled:`sandstone.main`,disabledBg:`sandstone.95`,green:`landGreen.main`,red:`energyRed.main`},Zo={button:{thumb:{bg:`white`},track:{ring:3}}};function Qo(){let e={fontSize:`lg`,minW:58,thumb:{h:28,w:28},track:{h:32}},t={size:`xl`};return{button:e,label:t}}function $o(){let e={fontSize:`md`,minW:50,thumb:{h:24,w:24},track:{h:28}},t={size:`lg`};return{button:e,label:t}}function es(){let e={fontSize:`sm`,minW:42,thumb:{h:20,w:20},track:{h:24}},t={size:`md`};return{button:e,label:t}}function ts(){let e={fontSize:`xs`,minW:34,thumb:{h:16,w:16},track:{h:20}},t={size:`sm`};return{button:e,label:t}}const ns={size:`md`,variant:`primary`},rs=[`container`,`button`,`label`],os={sm:ts,md:es,lg:$o,xl:Qo},ss={primary:{button:{track:{bg:Xo.main}}},green:{button:{track:{bg:Xo.green}}},red:{button:{track:{bg:Xo.red}}}};var cs={baseStyle:Zo,defaultProps:ns,parts:rs,sizes:os,variants:ss};const ls={},us={size:`md`},ds={xs:{fontSize:`xs`},sm:{fontSize:`sm`},md:{fontSize:`md`},lg:{fontSize:`lg`}},fs={label:{fontSize:`md`,fontWeight:`demi`},caption:{fontSize:`sm`,fontWeight:`medium`}};var ps={baseStyle:ls,defaultProps:us,sizes:ds,variants:fs};const ms={th:{fontSize:14,fontWeight:500,color:`darkBlue.main`}},hs={size:`lg`,variant:`bordered`},gs=[`container`,`sortIcon`,`tbody`,`td`,`tfoot`,`th`,`thead`,`tr`],_s={lg:{tr:{h:48}},md:{tr:{h:40}},sm:{tr:{h:32}}},vs={bordered:{td:{borderBottom:`1px solid sandstone.90`}},striped:{},basic:{td:{borderBottom:`1px solid sandstone.90`}}};var ys={baseStyle:ms,defaultProps:hs,parts:gs,sizes:_s,variants:vs};const bs={},xs={},Ss=[`tabsNavBar`],Cs={sm:{tabsNavBar:{borderWidth:`2px`,fontSize:`xs`,h:`20px`,py:`4px`}},md:{tabsNavBar:{borderWidth:`2px`,fontSize:`sm`,h:`32px`,py:`6px`}},lg:{tabsNavBar:{borderWidth:`3px`,fontSize:`md`,h:40,py:`8px`}},xl:{tabsNavBar:{borderWidth:`4px`,fontSize:`lg`,h:48,py:`10px`}},xxl:{tabsNavBar:{borderWidth:`4px`,fontSize:`lg`,h:56,py:`12px`}}},ws={};var Ts={baseStyle:bs,defaultProps:xs,parts:Ss,sizes:Cs,variants:ws};const Es={},Ds={size:`md`,variant:`subtleBlue`,fontWeight:`medium`},Os=[`container`,`button`,`icon`,`text`],ks={xs:{container:{borderRadius:`lg`,fontSize:`sm`,h:20,spaceX:4},button:{size:`sm`},icon:{size:`xs`}},sm:{container:{fontSize:`sm`,h:24,spaceX:4},button:{size:`sm`},icon:{size:`xs`}},md:{container:{fontSize:`sm`,h:32,spaceX:6},button:{size:`sm`},icon:{size:`sm`}},lg:{container:{fontSize:`md`,h:40,spaceX:8},button:{size:`md`},icon:{size:`md`}}},As={subtleGrey:{container:{bg:`sandstone.90`,hoverBg:`sandstone.85`,borderColor:`sandstone.85`,color:`sandstone.20`,activeBg:`sandstone.79`},button:{bg:`transparent`,hoverBg:`sandstone.85`,hoverBorderColor:`transparent`,color:`sandstone.20`,activeBg:`sandstone.79`}},subtleBlue:{container:{bg:`skyBlue.95`,hoverBg:`skyBlue.90`,activeBg:`skyBlue.85`,borderColor:`skyBlue.95`,color:`seaBlue.main`},button:{bg:`transparent`,hoverBg:`skyBlue.90`,activeBg:`skyBlue.85`,hoverBorderColor:`transparent`,color:`seaBlue.main`}},subtleRed:{container:{bg:`energyRed.95`,borderColor:`energyRed.95`,hoverBg:`energyRed.90`,activeBg:`energyRed.85`,color:`energyRed.45`},button:{bg:`transparent`,hoverBg:`energyRed.90`,activeBg:`energyRed.85`,hoverBorderColor:`transparent`,color:`energyRed.45`}},subtleYellow:{container:{bg:`sunflower.85`,hoverBg:`sunflower.70`,activeBg:`sunflower.65`,borderColor:`terracotta.30`,color:`sunflower.20`},button:{bg:`transparent`,hoverBg:`sunflower.70`,activeBg:`sunflower.65`,hoverBorderColor:`transparent`,color:`sunflower.20`}},subtleGreen:{container:{bg:`landGreen.95`,hoverBg:`landGreen.90`,borderColor:`landGreen.30`,color:`landGreen.30`,activeBg:`landGreen.85`},button:{bg:`transparent`,hoverBg:`landGreen.90`,activeBg:`landGreen.85`,hoverBorderColor:`transparent`,color:`landGreen.30`}},solidBlue:{container:{bg:`seaBlue.main`,hoverBg:`seaBlue.35`,activeBg:`seaBlue.40`,borderColor:`seaBlue.main`,color:`white`},button:{bg:`transparent`,hoverBg:`seaBlue.35`,activeBg:`seaBlue.40`,hoverBorderColor:`transparent`,activeBorderColor:`transparent`,color:`white`}},solidDarkBlue:{container:{bg:`darkBlue.18`,hoverBg:`darkBlue.25`,activeBg:`darkBlue.35`,borderColor:`darkBlue.18`,color:`white`},button:{bg:`transparent`,hoverBg:`darkBlue.25`,activeBg:`darkBlue.35`,hoverBorderColor:`transparent`,color:`white`}},solidRed:{container:{bg:`energyRed.45`,hoverBg:`energyRed.54`,activeBg:`energyRed.60`,borderColor:`energyRed.45`,color:`white`},button:{bg:`transparent`,hoverBg:`energyRed.54`,activeBg:`energyRed.60`,hoverBorderColor:`transparent`,activeBorderColor:`transparent`,color:`white`}},solidYellow:{container:{bg:`sunflower.50`,hoverBg:`sunflower.80`,activeBg:`sunflower.85`,borderColor:`sunflower.50`,color:`sunflower.15`},button:{bg:`transparent`,hoverBg:`sunflower.80`,activeBg:`sunflower.85`,hoverBorderColor:`transparent`,color:`sunflower.15`}},solidGreen:{container:{bg:`landGreen.35`,hoverBg:`landGreen.41`,activeBg:`landGreen.45`,borderColor:`landGreen.35`,color:`white`},button:{bg:`transparent`,hoverBg:`landGreen.41`,activeBg:`landGreen.45`,hoverBorderColor:`transparent`,activeBorderColor:`transparent`,color:`white`}}};var js={baseStyle:Es,defaultProps:Ds,parts:Os,sizes:ks,variants:As};const Ms={textarea:{focusWithinRing:3,color:B.inputText},input:{color:{placeholder:B.placeholder}}},Ns={variant:`grey`},Ps=[`container`,`textarea`,`label`],Fs={},Is={grey:{textarea:{borderColor:B.border,focusWithinRingColor:B.focus}},green:{textarea:{borderColor:B.success,focusWithinRingColor:B.success}},red:{textarea:{borderColor:B.error,focusWithinRingColor:B.error}}};var Ls={baseStyle:Ms,defaultProps:Ns,parts:Ps,sizes:Fs,variants:Is};const Rs={},zs={size:`xl`,variant:`default`},Bs=[`container`,`icon`,`firstLevelItem`,`item`,`text`],Vs={xl:{item:{fontSize:`md`,height:48,lineHeight:`24px`,py:`12px`},icon:{height:18,width:18}}},Hs={default:{container:{bg:`white`},firstLevelItem:{bg:`white`,color:`seaBlue.main`,activeColor:`seaBlue.main`,activeBg:`skyBlue.85`,hoverBg:`skyBlue.80`},item:{bg:`white`,color:`seaBlue.main`,activeColor:`seaBlue.main`,activeBg:`skyBlue.85`,hoverBg:`skyBlue.80`,selectedBg:`skyBlue.10`,px:2}},dark:{container:{bg:`darkBlue.main`,color:`white`},firstLevelItem:{bg:`darkBlue.main`,color:`white`,activeBg:`darkBlue.25`,activeColor:`seaBlue.main`,hoverBg:`darkBlue.25`,hoverColor:`white`},item:{bg:`skyBlue.97`,color:`seaBlue.main`,activeBg:`skyBlue.85`,activeColor:`seaBlue.main`,hoverBg:`skyBlue.80`,hoverColor:`seaBlue.main`}}};var Us={baseStyle:Rs,defaultProps:zs,parts:Bs,sizes:Vs,variants:Hs};const Ws={},Gs={},Ks=[],qs={},Js={};var Ys={baseStyle:Ws,defaultProps:Gs,parts:Ks,sizes:qs,variants:Js};const Xs=Ys,Zs=Ys;var Qs={Accordion:Zt,Avatar:nn,Badge:ln,Box:mn,Breadcrumbs:yn,Button:Tn,Calendar:An,Card:Fn,Chat:Bn,Checkbox:Jn,DatePicker:$n,Dialog:dr,Divider:gr,DragAndDrop:Sr,Drawer:Dr,Footer:Nr,Grid:Rr,Header:Wr,Heading:Xr,Icon:ti,Image:oi,Input:vi,Label:wi,Link:Ai,List:Ii,Markdown:Xs,MarkdownEditor:Zs,Menu:Hi,Message:Zi,Modal:ra,Notification:la,P:ma,Pagination:xa,Panel:Ea,Progress:La,ProgressCircular:Ha,Definition:ar,Popover:Ma,Radio:Ya,Range:no,Rating:co,Select:ho,Sidemenu:xo,Skeleton:Eo,StepIndicator:Lo,StepperHorizontal:Uo,StepperVertical:Yo,Spinner:Mo,Switch:cs,T:ps,Table:ys,Tabs:Ts,Tag:js,Textarea:Ls,Tree:Us},$s={none:`none`,bounce:`vui-bounce 1s infinite`,fadeDown:`vui-fadeDown 0.2s ease-in-out`,fadeIn:`vui-fadeIn 0.2s ease-in-out`,fadeLeft:`vui-fadeLeft 0.2s ease-in-out`,fadeLeftLong:`vui-fadeLeftLong 0.3s ease-out`,fadeOut:`vui-fadeOut 0.2s ease-in-out`,fadeRight:`vui-fadeRight 0.2s ease-in-out`,fadeRightLong:`vui-fadeRightLong 0.3s ease-out`,fadeUp:`vui-fadeUp 0.2s ease-in-out`,pulse:`vui-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite`,spin:`vui-spin 1s linear infinite`},ec={},tc={instant:`100ms`,fast:`200ms`,normal:`300ms`,slow:`400ms`},nc={xs:12,sm:14,md:16,lg:18},rc={regular:`400`,medium:`500`,demi:`600`},ic={1:`repeat(1, minmax(0, 1fr))`,2:`repeat(2, minmax(0, 1fr))`,3:`repeat(3, minmax(0, 1fr))`,4:`repeat(4, minmax(0, 1fr))`,5:`repeat(5, minmax(0, 1fr))`,6:`repeat(6, minmax(0, 1fr))`,7:`repeat(7, minmax(0, 1fr))`,8:`repeat(8, minmax(0, 1fr))`,9:`repeat(9, minmax(0, 1fr))`,10:`repeat(10, minmax(0, 1fr))`,11:`repeat(11, minmax(0, 1fr))`,12:`repeat(12, minmax(0, 1fr))`},ac={1:`repeat(1, minmax(0, 1fr))`,2:`repeat(2, minmax(0, 1fr))`,3:`repeat(3, minmax(0, 1fr))`,4:`repeat(4, minmax(0, 1fr))`,5:`repeat(5, minmax(0, 1fr))`,6:`repeat(6, minmax(0, 1fr))`},oc={none:0,sm:0,md:2,lg:4,xl:6,round:9999},sc={},cc={xs:0,sm:640,md:768,lg:1024,xl:1280,xxl:1536,"2xl":1536};const lc=It(Ot[80],.4),uc=It(Ot[80],.6),dc=It(`#000000`,.15);var fc={0:`0 0 0 0 #fff`,1:`0 2px 5px 0 ${lc}`,2:`0 4px 12px 0 ${lc}`,3:`0 7px 20px 0 ${uc}`,4:`0 12px 30px 0 ${uc}`,t1:`0 -2px 5px 0 ${lc}`,t2:`0 -4px 12px 0 ${lc}`,t3:`0 -7px 20px 0 ${uc}`,t4:`0 -12px 30px 0 ${uc}`,r1:`2px 0 5px 0 ${lc}`,r2:`4px 0 12px 0 ${lc}`,r3:`7px 0 20px 0 ${uc}`,r4:`12px 0 30px 0 ${uc}`,l1:`-2px 0 5px 0 ${lc}`,l2:`-4px 0 12px 0 ${lc}`,l3:`-7px 0 20px 0 ${uc}`,l4:`-12px 0 30px 0 ${uc}`,modal:`0 12px 30px 0 ${dc}`},pc={},mc={},hc={},gc={border:(e,{props:t})=>{if(typeof e==`number`)return`${e}px solid`;let n=e.split(` `),[r,i=``,a]=n,o=he(a)(t)??``;return`${r} ${i} ${o}`},space:e=>typeof e==`string`?e:`${e*8}px`},_c={},vc={},yc={drawer:1300,modal:1400,toast:1500,tooltip:1600},bc={animations:$s,borders:ec,colors:Pt,durations:tc,fonts:Gr,fontSizes:nc,fontWeights:rc,gridTemplateColumns:ic,gridTemplateRows:ac,radii:oc,ringWidths:sc,screens:cc,shadows:fc,sizes:pc,spaces:mc,transformers:gc,transforms:_c,transitions:vc,timingFunctions:hc,zIndices:yc};const xc={components:Qs,...bc};var Sc=xc;function Cc(e){return at(Sc,e)}function V(e){let{size:t,variant:n,...r}=e;return r}const H=ie;H.screen=ae({name:`screen`,key:`screens`,compose:A});function U(e,t={}){let n=Tc(),{baseStyle:r,defaultProps:i,parts:a=[],sizes:o,variants:s}=n?.components[e]??{},c={...t,colorScheme:t?.colorScheme??i?.colorScheme,size:t?.size??i?.size,variant:t?.variant??i?.variant},{colorScheme:l,size:u,variant:d}=c;return m(()=>{let e=rt(r,c)??{},t=rt(o?.[u],c)??{},n=rt(s?.[d],c)??{},i={};return a.length>0?a.forEach(r=>{i[r]=at(e[r]??{},t[r]??{},n[r]??{})}):i=at(e,t,n),i},[l,u,d])}function wc(e,t){let n=Tc();return H(e,t)({theme:n})}function Tc(){return me()}const Ec=(e,t)=>n=>`@media (min-width: ${H.screen(e)(n)}) and (max-width: ${H.screen(t)(n)})`,Dc=e=>t=>`@media (max-width: ${H.screen(e)(t)})`,Oc=e=>t=>`@media (min-width: ${H.screen(e)(t)})`,kc=({children:e,maxWidth:t,minWidth:n})=>n&&t?y(Ac,{maxWidth:t,minWidth:n,children:e}):n?y(jc,{width:n,children:e}):t?y(Mc,{width:t,children:e}):y(v,{children:e}),Ac=({children:e,maxWidth:t,minWidth:n})=>{let r=Ic(n,t);return r?y(v,{children:e}):null},jc=({children:e,width:t})=>{let n=Fc(t);return n?y(v,{children:e}):null},Mc=({children:e,width:t})=>{let n=Pc(t);return n?y(v,{children:e}):null};function Nc(e){let t=Tc(),n=le(),r=H.screen(e)({theme:t}),i=Number(r.replace(`px`,``));return{value:i,viewportWidth:n}}function Pc(e){let{value:t,viewportWidth:n}=Nc(e);return n!==null&&t!==null&&n<t}function Fc(e){let{value:t,viewportWidth:n}=Nc(e);return n!==null&&t!==null&&n>=t}function Ic(e,t){let n=Pc(t),r=Fc(e);return n&&r}const Lc=N({prop:`isTruncated`,cssProperty:function(){return{overflow:`hidden`,"text-overflow":`ellipsis`,"white-space":`nowrap`}},states:{}}),Rc=N({prop:`maxLines`,cssProperty:function(e){return{display:`-webkit-box`,overflow:`hidden`,"-webkit-line-clamp":`${e}`,"-webkit-box-orient":`vertical`}},states:{}}),zc=N({prop:`wordBreak`}),Bc=T(x,S,C,w,D,k,O,j,ee,Lc,M,Rc,te,ne,re,oe,se,ce,zc);function Vc(e,t){let n=t?Gc(t):{};return(r=>{let i=n?ue(r).withConfig(n):ue(r);return Kc(i,e,t)})}function Hc(){let e=Uc();return((...t)=>fe([e(...t)]))}function Uc(){return((...e)=>{let t=pe(...e),n=_e(t);return n.map(ge)})}function Wc(e){let t=Uc(),n=Vc(t),r=Vc(t,e);return Object.keys(ue).forEach(e=>{n[e]=n(e),n[`${e}Box`]=r(e)}),n}function Gc(e){return{shouldForwardProp:(t,n)=>typeof t==`string`&&e.meta.props.includes(t)?!1:n(t)}}function Kc(e,t,n){let r=(...r)=>e`${t(...r)}${n}`;return r.attrs=r=>Kc(e.attrs(r),t,n),r.withConfig=r=>Kc(e.withConfig(r),t,n),r}const qc=Hc(),Jc=Uc(),Yc=E(Bc),W=Wc(Bc);function G(e,t){let{memoCompare:n,isMemo:r=!0}=t??{};return r?l(s(e),n):s(e)}const Xc=`
|
|
2
2
|
0%, 100% {
|
|
3
3
|
animationTimingFunction: cubic-bezier(0.8, 0, 1, 1);
|
|
4
4
|
transform: translateY(-25%);
|
|
@@ -77,7 +77,32 @@ import{__export as e}from"./chunk-ALsxd0aW.js";import t,{Children as n,Fragment
|
|
|
77
77
|
font-style: italic;
|
|
78
78
|
font-weight: 100 900;
|
|
79
79
|
font-display: swap;
|
|
80
|
-
src: url('${ul}/gantari/gantari-v1-latin_italic-ext.woff2') format(
|
|
80
|
+
src: url('${ul}/gantari/gantari-v1-latin_italic-ext.woff2') format("woff2");
|
|
81
|
+
unicode-range:
|
|
82
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
|
|
83
|
+
U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@font-face {
|
|
87
|
+
font-family: Gantari;
|
|
88
|
+
font-style: italic;
|
|
89
|
+
font-weight: 100 900;
|
|
90
|
+
font-display: swap;
|
|
91
|
+
src: url('${ul}/gantari/gantari-v1-latin_italic.woff2') format("woff2");
|
|
92
|
+
unicode-range:
|
|
93
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
|
|
94
|
+
U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@font-face {
|
|
98
|
+
font-family: Gantari;
|
|
99
|
+
font-style: normal;
|
|
100
|
+
font-weight: 100 900;
|
|
101
|
+
font-display: swap;
|
|
102
|
+
src: url('${ul}/gantari/gantari-v1-latin_regular-ext.woff2') format("woff2");
|
|
103
|
+
unicode-range:
|
|
104
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
|
|
105
|
+
U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
81
106
|
}
|
|
82
107
|
|
|
83
108
|
@font-face {
|
|
@@ -85,7 +110,10 @@ import{__export as e}from"./chunk-ALsxd0aW.js";import t,{Children as n,Fragment
|
|
|
85
110
|
font-style: normal;
|
|
86
111
|
font-weight: 100 900;
|
|
87
112
|
font-display: swap;
|
|
88
|
-
src: url('${ul}/gantari/gantari-v1-latin_regular
|
|
113
|
+
src: url('${ul}/gantari/gantari-v1-latin_regular.woff2') format("woff2");
|
|
114
|
+
unicode-range:
|
|
115
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
|
|
116
|
+
U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
89
117
|
}
|
|
90
118
|
|
|
91
119
|
@font-face {
|
|
@@ -165,7 +193,7 @@ import{__export as e}from"./chunk-ALsxd0aW.js";import t,{Children as n,Fragment
|
|
|
165
193
|
${e=>e.globalStyle&&Jc`
|
|
166
194
|
body {
|
|
167
195
|
color: sandstone.10;
|
|
168
|
-
font-family:
|
|
196
|
+
font-family: Gantari;
|
|
169
197
|
font-size: md;
|
|
170
198
|
}
|
|
171
199
|
|
|
@@ -1159,5 +1187,5 @@ import{__export as e}from"./chunk-ALsxd0aW.js";import t,{Children as n,Fragment
|
|
|
1159
1187
|
height: auto;
|
|
1160
1188
|
align-content: flex-start;
|
|
1161
1189
|
flex-direction: column;
|
|
1162
|
-
`,vO=G((e,t)=>{let{activeItemId:r,children:i,className:a,iconCollapse:o,iconExpand:s,items:c,onClickItem:l,size:u,variant:d,...p}=e,h=U(`Tree`,e),{itemsInternal:g,setItemsInternal:_,activeItemIndex:v,setActiveItemIndex:b}=gO(r),x=m(()=>L({size:u,variant:d}),[u,d]),S=o||(d===`default`?`falAngleRight`:`falMinus`),C=s||(d===`default`?`falAngleDown`:`falPlus`),w=e=>{let t=[];return e&&n.toArray(e).forEach((e,n)=>{if(e?.props?.text){let n=[];e.props.children&&(n=w(e.props.children)),t.push({id:e.props.id,text:e.props.text,isActive:e.props.isActive,items:e.props.items||n,isCollapsed:e.props.isCollapsed,disabled:e.props.disabled,onClickTreeItem:T})}}),t};f(()=>{if(c){_(c);return}let e=[];if(i){let t=w(i);e.push(...t)}_(e),r!==void 0&&e?.find(e=>e.id===r)&&b(r)},[i,r]);let T=e=>{b(e),l&&l(e)};return y(sO,{value:x,children:y(_O,{className:z(`vui-tree`,a),ref:t,...h.container,...p,children:y(My,{role:`tree`,w:1,children:g?.map(({id:e,isActive:t,...n},r)=>y(hO,{activeItemIndex:v,iconCollapse:S,iconExpand:C,id:e,isActive:t||(v?v===e:!1),isFirstLevel:!0,onClickTreeItem:T,...n},e??r))})})})});vO.Icon=uO,vO.Item=hO,vO.Text=fO,vO.displayName=`Tree`;const yO={bg:`darkBlue.main`,buttonColor:`digiGreen.main`,color:`white`},bO=({active:e,content:t,title:n})=>b(Yc.div,{className:`vui-tutorialStep`,hidden:!e,pb:2,children:[y(gC,{color:yO.color,fontWeight:`medium`,mb:1,children:n}),y(K,{children:t})]});bO.displayName=`TutorialStep`;function xO({actionLabel:e=`Action`,className:t,title:n,readMoreLink:r,steps:i=[],showSkipButton:a,onAction:o,onDismiss:s,onFinish:c}){let[l,u]=_([]),[d,p]=_(0);f(()=>{if(n&&i.length){let e=i.map((e,t)=>({active:!1,step:e,key:t})),t={title:`Completed!`,content:`${r?`To learn more, please visit:`:`Thank you!`}`};r&&(t.readMoreLink=r),u([...e,{step:t,key:i.length}])}},[n,i]);let m=d===0,h=d===i.length;return b(ux,{bg:yO.bg,className:t,color:yO.color,column:!0,justifyContent:`space-between`,minH:400,p:2,pt:1,w:580,children:[b(K,{alignContent:`center`,alignItems:`center`,flex:0,flexDirection:`row`,flexGrow:0,justifyContent:`space-between`,minH:48,row:!0,style:{WebkitFlexGrow:`0`},children:[y(hC,{color:yO.color,children:n}),!h&&y(Ev,{"aria-label":`close`,icon:`falTimes`,onClick:s,scale:2,variant:`tertiaryLight`})]}),y(K,{flex:5,row:!0,children:l?.map?.(e=>y(bO,{active:e.key===d,content:e.step.content,readMoreLink:e.step.readMoreLink,title:e.step.title},e.step.title))}),b(K,{alignItems:`center`,justifyContent:`space-between`,mt:0,children:[b(K,{alignItems:`center`,justifyContent:`space-between`,w:`-webkit-fill-available`,children:[y(Ev,{"aria-label":`previous`,color:yO.buttonColor,disabled:m,icon:`falArrowLeft`,onClick:()=>p(d-1),scale:2,transition:`none`,variant:`tertiaryLight`,w:`34`}),y(K,{className:`vuiTutorialStepDots`,children:l?.map?.(e=>y(dv,{color:e.key===d?yO.color:`darkBlue.30`,cursor:`pointer`,hoverColor:yO.buttonColor,name:`cusDotFull`,onClick:()=>p(e.key)},e.key))}),y(Ev,{"aria-label":`next`,color:yO.buttonColor,disabled:h,icon:`falArrowRight`,onClick:()=>p(d+1),scale:2,transition:`none`,variant:`tertiaryLight`,w:`34`})]}),(a||h||!!o)&&b(K,{alignItems:`center`,justifyContent:`space-between`,children:[a&&!h&&y(Ev,{mr:2,onClick:s,variant:`primaryLight`,children:`Skip`}),h&&y(Ev,{mr:2,onClick:c,variant:`primaryLight`,children:`Finish`}),!!o&&y(Ev,{mr:9,onClick:o,variant:`primaryLight`,children:e})]})]})]})}xO.displayName=`TutorialCard`;const SO=e=>{let[t,n]=_(!1),r=`vuiTutorial-${e}`;f(()=>{n(!window.localStorage.getItem(r))},[]);let i=e=>window.localStorage.setItem(r,e);return{isVisible:t,setIsVisible:n,saveDisplayed:i}};function CO({actionLabel:e,children:t,className:n,onAction:r,onDismiss:i,onFinish:a,steps:o,title:s,id:c,placement:l=`right`,showSkipButton:u}){let{isVisible:d,setIsVisible:f,saveDisplayed:p}=SO(c),m=e=>{f(!1),e===`dismissed`&&i?.(),e===`finished`&&a?.(),p(e)};return y(be,{content:y(xO,{actionLabel:e,className:z(`vui-tutorial`,n),onAction:r,onDismiss:()=>m(`dismissed`),onFinish:()=>m(`finished`),showSkipButton:u,steps:o,title:s}),interactive:!0,offset:[0,2],placement:l,popperOptions:{modifiers:[{name:`flip`,enabled:!1}]},visible:d,children:t})}CO.displayName=`Tutorial`;export{Wy as Accordion,Uy as AccordionBase,zy as AccordionItem,Vy as AccordionItemHorizontal,Dv as AppButton,dw as ApplicationFooter,Qy as Avatar,Zy as AvatarBase,Ov as BackButton,db as Badge,K as Box,vl as BoxBase,yb as Breadcrumbs,vb as BreadcrumbsBase,Ev as Button,Tv as ButtonBase,Sb as ButtonGroup,xb as ButtonGroupBase,Tl as ButtonGroupProvider,hv as ButtonIcon,fv as ButtonProvider,yv as ButtonText,wb as ButtonToggleGroup,Av as CTAButton,cx as Calendar,ux as Card,kx as Chat,xx as ChatInput,Dx as ChatMessage,Fx as Checkbox,Px as CheckboxBase,Lx as CheckboxGroup,Ix as CheckboxGroupBase,Ax as CheckboxGroupProvider,kv as CloseButton,zx as CopyToClipboard,jv as DangerButton,wS as DatePicker,Gx as Definition,Wx as DefinitionHorizontalBase,Ux as DefinitionVerticalBase,wC as Dialog,SC as DialogBase,ZS as DialogBody,$S as DialogCancelButton,tC as DialogCloseButton,aC as DialogFooter,bC as DialogHeader,sC as DialogIcon,AS as DialogProvider,rC as DialogSubmitButton,vC as DialogTitle,ay as Divider,iy as DividerBase,OC as DragAndDrop,kC as Drawer,PS as FocusLock,cw as Footer,ow as FooterBase,ew as FooterContent,HC as FooterHeading,WC as FooterLink,KC as FooterSection,fl as GlobalStyle,pw as Grid,fw as GridBase,fC as H1,pC as H2,mC as H3,hC as H4,gC as H5,_C as H6,Rt as HSLToRGBA,Q as Header,_w as HeaderAccount,hw as HeaderAccountUserInfo,yw as HeaderApplicationName,$w as HeaderBase,xw as HeaderContent,Cw as HeaderCreateAccount,Tw as HeaderDivider,Dw as HeaderLinkItem,Mw as HeaderLogo,Pw as HeaderMainLinks,Iw as HeaderMobileContent,Rw as HeaderMobileToggle,Vw as HeaderNotifications,mw as HeaderProvider,Kw as HeaderServices,Uw as HeaderServicesMessage,Jw as HeaderSignIn,uC as Heading,lC as HeadingBase,_x as HelpText,dv as Icon,Mv as IconButton,Ky as Image,Gy as ImageBase,xS as Input,bS as InputBase,hS as InputIcon,vS as InputInput,_S as InputInputBase,cS as Label,sS as LabelBase,Nv as LineButton,by as Link,yy as LinkBase,hy as LinkIcon,_y as LinkText,Wt as LinksProvider,My as List,jy as ListBase,sy as ListDivider,ly as ListHeading,dy as ListIcon,Ey as ListItem,Ty as ListItemBase,ny as ListProvider,Sy as ListText,tT as LoggedInHeader,nT as LoggedOutHeader,jw as Logo,zC as Menu,NC as MenuButton,FC as MenuItem,LC as MenuList,AC as MenuProvider,wx as Message,Cx as MessageBase,XS as Modal,VS as ModalBackdrop,BS as ModalBackdropBase,WS as ModalContent,US as ModalContentBase,MS as ModalProvider,Uv as Notification,Fv as NotificationButton,Lv as NotificationIcon,xl as NotificationProvider,zv as NotificationText,Vv as NotificationTitle,fx as P,dx as PBase,bT as Pagination,sT as PaginationButton,lT as PaginationEllipsis,dT as PaginationGoToPage,hT as PaginationNavigation,pT as PaginationPrevNext,rT as PaginationProvider,_T as PaginationResults,xT as Panel,tS as Popover,Zx as PopoverContent,Jx as PopoverProvider,$x as PopoverTrigger,gl as Portal,CT as Progress,ST as ProgressBase,OT as ProgressCircular,TT as ProgressCircularBase,PT as Radio,NT as RadioBase,IT as RadioGroup,FT as RadioGroupBase,kT as RadioGroupProvider,zT as Range,BT as Rating,kc as RenderOnScreen,ml as ResetCSS,rE as Select,GT as SelectButton,qT as SelectContent,YT as SelectGroup,$T as SelectOption,fE as Sidemenu,cE as SidemenuItem,uE as SidemenuTop,mE as Skeleton,pE as SkeletonBase,eD as Spinner,$E as SpinnerCircle,PE as StepHorizontal,NE as StepHorizontalBase,gE as StepIndicator,XE as StepVertical,YE as StepVerticalBase,OE as StepperHorizontal,WE as StepperVertical,Fl as Svg,Pl as SvgBase,dD as Switch,uD as SwitchBase,cD as SwitchButton,sD as SwitchButtonBase,lD as SwitchLabel,tD as SwitchProvider,vv as T,_v as TBase,UD as Tab,HD as TabBase,VD as Table,BD as TableBase,fD as TableProvider,mD as TableSortIcon,nO as Tabs,tO as TabsBase,ub as Tag,lb as TagBase,rb as TagButton,ab as TagIcon,tb as TagProvider,sb as TagText,TD as Tbody,wD as TbodyBase,_D as Td,gD as TdBase,Pv as TextButton,oO as Textarea,aO as TextareaBase,OD as Tfoot,DD as TfootBase,jD as Th,AD as ThBase,PD as Thead,bl as Toaster,aS as Tooltip,SD as Tr,xD as TrBase,vO as Tree,_O as TreeBase,lO as TreeIcon,mO as TreeItem,pO as TreeItemBase,sO as TreeProvider,dO as TreeText,CO as Tutorial,xO as TutorialCard,bO as TutorialStep,al as VuiContextProvider,ty as VuiProvider,Fe as __DEV__,Ie as activeClassName,Le as activeItemShade,Ze as addBodyClass,Ye as addElement,$s as animations,st as assignRef,nv as baseIcons,ec as borders,Xc as bounce,tt as callAll,Ee as cdnFontsPath,we as cdnStagUrl,Te as cdnTestUrl,Ce as cdnUrl,De as cdnUrls,Kx as closeOnEscPlugin,Pt as colors,Oe as compareBy,Qs as components,OS as containerId,R as createContext,qc as createGlobalStyle,z as cs,Jc as css,$e as dateFormats,Wv as defaultDuration,rv as defaultIcons,Sc as defaultTheme,TS as dialogStatusMapping,Re as dimmedBorderColor,tc as durations,zt as ellipsisOverflow,Cc as extendTheme,Zc as fadeDown,Qc as fadeIn,$c as fadeLeft,el as fadeOut,tl as fadeRight,nl as fadeUp,Gv as fastToastDuration,L as filterUndefined,dl as fontFaces,nc as fontSizes,rc as fontWeights,Gr as fonts,et as formatDate,Be as formatIsoDate,bc as foundations,I as generateDateByUTCValue,Je as getCurrentYear,Ue as getDateUTCValue,Ut as getLoggedInLink,tE as getOptionText,oT as getPaginationItems,It as hexToRGBA,ov as iconsCache,Vt as isActivePath,Ae as isArray,je as isFunction,P as isJsx,Me as isNumber,Ne as isObject,Pe as isReactText,F as isString,Lc as isTruncated,ze as isValidDate,qS as manager,qx as matchWidthModifier,Fb as maxDateTimestamp,Rc as maxLines,Ec as mediaBetween,Dc as mediaDown,Oc as mediaUp,at as merge,ct as mergeRefs,Ib as minDateTimestamp,ES as modalAnimation,kS as modalClass,DS as modalJustifyContent,Lb as months,Rb as monthsShort,cl as noScrollClass,nt as noop,ot as objectFilter,V as omitThemingProps,Ft as parseHSL,Ve as parseIsoDate,rl as pulse,oc as radii,it as random,Qe as removeBodyClass,Xe as removeElement,sc as ringWidths,rt as runIfFn,Ke as sameDate,Ge as sameYear,We as sameYearSameMonth,cc as screens,fc as shadows,pc as sizes,Kv as slowToastDuration,mc as spaces,il as spin,W as styled,Bc as system,H as th,ke as toggleItem,_c as transforms,vc as transitions,Bt as uid,Ic as useBetween,ll as useBodyScrollLock,pv as useButtonContext,El as useButtonGroupContext,lt as useCallbackRef,jx as useCheckboxGroupContext,dt as useClickOutside,ft as useControlled,Rx as useCopyToClipboard,TC as useDialog,jS as useDialogContext,Pc as useDown,uw as useFooterLinks,Z as useHeaderContext,eT as useHeaderLinks,pt as useIds,mt as useIsMounted,Gt as useLinks,ry as useListContext,Kt as useLoadLinks,jC as useMenuContext,NS as useModalContext,JS as useModalManager,Sl as useNotificationContext,sl as useOfflineMode,yT as usePagination,iT as usePaginationContext,eS as usePopover,Yx as usePopoverContext,AT as useRadioGroupContext,U as useStyleConfig,nD as useSwitchContext,pD as useTableContext,nb as useTagContext,wc as useTh,Tc as useTheme,Yv as useToast,cO as useTreeContext,SO as useTutorial,Fc as useUp,le as useViewportWidth,ol as useVuiContext,qe as utcDateToLocale,Yc as v,He as validateDateFormat,Pb as viewYears,G as vui,Lt as vuiColorToRGBA,zb as weekDays,zc as wordBreak,yc as zIndices};globalThis.__vuiVersion__=`3.0.0-beta.1`;
|
|
1190
|
+
`,vO=G((e,t)=>{let{activeItemId:r,children:i,className:a,iconCollapse:o,iconExpand:s,items:c,onClickItem:l,size:u,variant:d,...p}=e,h=U(`Tree`,e),{itemsInternal:g,setItemsInternal:_,activeItemIndex:v,setActiveItemIndex:b}=gO(r),x=m(()=>L({size:u,variant:d}),[u,d]),S=o||(d===`default`?`falAngleRight`:`falMinus`),C=s||(d===`default`?`falAngleDown`:`falPlus`),w=e=>{let t=[];return e&&n.toArray(e).forEach((e,n)=>{if(e?.props?.text){let n=[];e.props.children&&(n=w(e.props.children)),t.push({id:e.props.id,text:e.props.text,isActive:e.props.isActive,items:e.props.items||n,isCollapsed:e.props.isCollapsed,disabled:e.props.disabled,onClickTreeItem:T})}}),t};f(()=>{if(c){_(c);return}let e=[];if(i){let t=w(i);e.push(...t)}_(e),r!==void 0&&e?.find(e=>e.id===r)&&b(r)},[i,r]);let T=e=>{b(e),l&&l(e)};return y(sO,{value:x,children:y(_O,{className:z(`vui-tree`,a),ref:t,...h.container,...p,children:y(My,{role:`tree`,w:1,children:g?.map(({id:e,isActive:t,...n},r)=>y(hO,{activeItemIndex:v,iconCollapse:S,iconExpand:C,id:e,isActive:t||(v?v===e:!1),isFirstLevel:!0,onClickTreeItem:T,...n},e??r))})})})});vO.Icon=uO,vO.Item=hO,vO.Text=fO,vO.displayName=`Tree`;const yO={bg:`darkBlue.main`,buttonColor:`digiGreen.main`,color:`white`},bO=({active:e,content:t,title:n})=>b(Yc.div,{className:`vui-tutorialStep`,hidden:!e,pb:2,children:[y(gC,{color:yO.color,fontWeight:`medium`,mb:1,children:n}),y(K,{children:t})]});bO.displayName=`TutorialStep`;function xO({actionLabel:e=`Action`,className:t,title:n,readMoreLink:r,steps:i=[],showSkipButton:a,onAction:o,onDismiss:s,onFinish:c}){let[l,u]=_([]),[d,p]=_(0);f(()=>{if(n&&i.length){let e=i.map((e,t)=>({active:!1,step:e,key:t})),t={title:`Completed!`,content:`${r?`To learn more, please visit:`:`Thank you!`}`};r&&(t.readMoreLink=r),u([...e,{step:t,key:i.length}])}},[n,i]);let m=d===0,h=d===i.length;return b(ux,{bg:yO.bg,className:t,color:yO.color,column:!0,justifyContent:`space-between`,minH:400,p:2,pt:1,w:580,children:[b(K,{alignContent:`center`,alignItems:`center`,flex:0,flexDirection:`row`,flexGrow:0,justifyContent:`space-between`,minH:48,row:!0,style:{WebkitFlexGrow:`0`},children:[y(hC,{color:yO.color,children:n}),!h&&y(Ev,{"aria-label":`close`,icon:`falTimes`,onClick:s,scale:2,variant:`tertiaryLight`})]}),y(K,{flex:5,row:!0,children:l?.map?.(e=>y(bO,{active:e.key===d,content:e.step.content,readMoreLink:e.step.readMoreLink,title:e.step.title},e.step.title))}),b(K,{alignItems:`center`,justifyContent:`space-between`,mt:0,children:[b(K,{alignItems:`center`,justifyContent:`space-between`,w:`-webkit-fill-available`,children:[y(Ev,{"aria-label":`previous`,color:yO.buttonColor,disabled:m,icon:`falArrowLeft`,onClick:()=>p(d-1),scale:2,transition:`none`,variant:`tertiaryLight`,w:`34`}),y(K,{className:`vuiTutorialStepDots`,children:l?.map?.(e=>y(dv,{color:e.key===d?yO.color:`darkBlue.30`,cursor:`pointer`,hoverColor:yO.buttonColor,name:`cusDotFull`,onClick:()=>p(e.key)},e.key))}),y(Ev,{"aria-label":`next`,color:yO.buttonColor,disabled:h,icon:`falArrowRight`,onClick:()=>p(d+1),scale:2,transition:`none`,variant:`tertiaryLight`,w:`34`})]}),(a||h||!!o)&&b(K,{alignItems:`center`,justifyContent:`space-between`,children:[a&&!h&&y(Ev,{mr:2,onClick:s,variant:`primaryLight`,children:`Skip`}),h&&y(Ev,{mr:2,onClick:c,variant:`primaryLight`,children:`Finish`}),!!o&&y(Ev,{mr:9,onClick:o,variant:`primaryLight`,children:e})]})]})]})}xO.displayName=`TutorialCard`;const SO=e=>{let[t,n]=_(!1),r=`vuiTutorial-${e}`;f(()=>{n(!window.localStorage.getItem(r))},[]);let i=e=>window.localStorage.setItem(r,e);return{isVisible:t,setIsVisible:n,saveDisplayed:i}};function CO({actionLabel:e,children:t,className:n,onAction:r,onDismiss:i,onFinish:a,steps:o,title:s,id:c,placement:l=`right`,showSkipButton:u}){let{isVisible:d,setIsVisible:f,saveDisplayed:p}=SO(c),m=e=>{f(!1),e===`dismissed`&&i?.(),e===`finished`&&a?.(),p(e)};return y(be,{content:y(xO,{actionLabel:e,className:z(`vui-tutorial`,n),onAction:r,onDismiss:()=>m(`dismissed`),onFinish:()=>m(`finished`),showSkipButton:u,steps:o,title:s}),interactive:!0,offset:[0,2],placement:l,popperOptions:{modifiers:[{name:`flip`,enabled:!1}]},visible:d,children:t})}CO.displayName=`Tutorial`;export{Wy as Accordion,Uy as AccordionBase,zy as AccordionItem,Vy as AccordionItemHorizontal,Dv as AppButton,dw as ApplicationFooter,Qy as Avatar,Zy as AvatarBase,Ov as BackButton,db as Badge,K as Box,vl as BoxBase,yb as Breadcrumbs,vb as BreadcrumbsBase,Ev as Button,Tv as ButtonBase,Sb as ButtonGroup,xb as ButtonGroupBase,Tl as ButtonGroupProvider,hv as ButtonIcon,fv as ButtonProvider,yv as ButtonText,wb as ButtonToggleGroup,Av as CTAButton,cx as Calendar,ux as Card,kx as Chat,xx as ChatInput,Dx as ChatMessage,Fx as Checkbox,Px as CheckboxBase,Lx as CheckboxGroup,Ix as CheckboxGroupBase,Ax as CheckboxGroupProvider,kv as CloseButton,zx as CopyToClipboard,jv as DangerButton,wS as DatePicker,Gx as Definition,Wx as DefinitionHorizontalBase,Ux as DefinitionVerticalBase,wC as Dialog,SC as DialogBase,ZS as DialogBody,$S as DialogCancelButton,tC as DialogCloseButton,aC as DialogFooter,bC as DialogHeader,sC as DialogIcon,AS as DialogProvider,rC as DialogSubmitButton,vC as DialogTitle,ay as Divider,iy as DividerBase,OC as DragAndDrop,kC as Drawer,PS as FocusLock,cw as Footer,ow as FooterBase,ew as FooterContent,HC as FooterHeading,WC as FooterLink,KC as FooterSection,fl as GlobalStyle,pw as Grid,fw as GridBase,fC as H1,pC as H2,mC as H3,hC as H4,gC as H5,_C as H6,Rt as HSLToRGBA,Q as Header,_w as HeaderAccount,hw as HeaderAccountUserInfo,yw as HeaderApplicationName,$w as HeaderBase,xw as HeaderContent,Cw as HeaderCreateAccount,Tw as HeaderDivider,Dw as HeaderLinkItem,Mw as HeaderLogo,Pw as HeaderMainLinks,Iw as HeaderMobileContent,Rw as HeaderMobileToggle,Vw as HeaderNotifications,mw as HeaderProvider,Kw as HeaderServices,Uw as HeaderServicesMessage,Jw as HeaderSignIn,uC as Heading,lC as HeadingBase,_x as HelpText,dv as Icon,Mv as IconButton,Ky as Image,Gy as ImageBase,xS as Input,bS as InputBase,hS as InputIcon,vS as InputInput,_S as InputInputBase,cS as Label,sS as LabelBase,Nv as LineButton,by as Link,yy as LinkBase,hy as LinkIcon,_y as LinkText,Wt as LinksProvider,My as List,jy as ListBase,sy as ListDivider,ly as ListHeading,dy as ListIcon,Ey as ListItem,Ty as ListItemBase,ny as ListProvider,Sy as ListText,tT as LoggedInHeader,nT as LoggedOutHeader,jw as Logo,zC as Menu,NC as MenuButton,FC as MenuItem,LC as MenuList,AC as MenuProvider,wx as Message,Cx as MessageBase,XS as Modal,VS as ModalBackdrop,BS as ModalBackdropBase,WS as ModalContent,US as ModalContentBase,MS as ModalProvider,Uv as Notification,Fv as NotificationButton,Lv as NotificationIcon,xl as NotificationProvider,zv as NotificationText,Vv as NotificationTitle,fx as P,dx as PBase,bT as Pagination,sT as PaginationButton,lT as PaginationEllipsis,dT as PaginationGoToPage,hT as PaginationNavigation,pT as PaginationPrevNext,rT as PaginationProvider,_T as PaginationResults,xT as Panel,tS as Popover,Zx as PopoverContent,Jx as PopoverProvider,$x as PopoverTrigger,gl as Portal,CT as Progress,ST as ProgressBase,OT as ProgressCircular,TT as ProgressCircularBase,PT as Radio,NT as RadioBase,IT as RadioGroup,FT as RadioGroupBase,kT as RadioGroupProvider,zT as Range,BT as Rating,kc as RenderOnScreen,ml as ResetCSS,rE as Select,GT as SelectButton,qT as SelectContent,YT as SelectGroup,$T as SelectOption,fE as Sidemenu,cE as SidemenuItem,uE as SidemenuTop,mE as Skeleton,pE as SkeletonBase,eD as Spinner,$E as SpinnerCircle,PE as StepHorizontal,NE as StepHorizontalBase,gE as StepIndicator,XE as StepVertical,YE as StepVerticalBase,OE as StepperHorizontal,WE as StepperVertical,Fl as Svg,Pl as SvgBase,dD as Switch,uD as SwitchBase,cD as SwitchButton,sD as SwitchButtonBase,lD as SwitchLabel,tD as SwitchProvider,vv as T,_v as TBase,UD as Tab,HD as TabBase,VD as Table,BD as TableBase,fD as TableProvider,mD as TableSortIcon,nO as Tabs,tO as TabsBase,ub as Tag,lb as TagBase,rb as TagButton,ab as TagIcon,tb as TagProvider,sb as TagText,TD as Tbody,wD as TbodyBase,_D as Td,gD as TdBase,Pv as TextButton,oO as Textarea,aO as TextareaBase,OD as Tfoot,DD as TfootBase,jD as Th,AD as ThBase,PD as Thead,bl as Toaster,aS as Tooltip,SD as Tr,xD as TrBase,vO as Tree,_O as TreeBase,lO as TreeIcon,mO as TreeItem,pO as TreeItemBase,sO as TreeProvider,dO as TreeText,CO as Tutorial,xO as TutorialCard,bO as TutorialStep,al as VuiContextProvider,ty as VuiProvider,Fe as __DEV__,Ie as activeClassName,Le as activeItemShade,Ze as addBodyClass,Ye as addElement,$s as animations,st as assignRef,nv as baseIcons,ec as borders,Xc as bounce,tt as callAll,Ee as cdnFontsPath,we as cdnStagUrl,Te as cdnTestUrl,Ce as cdnUrl,De as cdnUrls,Kx as closeOnEscPlugin,Pt as colors,Oe as compareBy,Qs as components,OS as containerId,R as createContext,qc as createGlobalStyle,z as cs,Jc as css,$e as dateFormats,Wv as defaultDuration,rv as defaultIcons,Sc as defaultTheme,TS as dialogStatusMapping,Re as dimmedBorderColor,tc as durations,zt as ellipsisOverflow,Cc as extendTheme,Zc as fadeDown,Qc as fadeIn,$c as fadeLeft,el as fadeOut,tl as fadeRight,nl as fadeUp,Gv as fastToastDuration,L as filterUndefined,dl as fontFaces,nc as fontSizes,rc as fontWeights,Gr as fonts,et as formatDate,Be as formatIsoDate,bc as foundations,I as generateDateByUTCValue,Je as getCurrentYear,Ue as getDateUTCValue,Ut as getLoggedInLink,tE as getOptionText,oT as getPaginationItems,It as hexToRGBA,ov as iconsCache,Vt as isActivePath,Ae as isArray,je as isFunction,P as isJsx,Me as isNumber,Ne as isObject,Pe as isReactText,F as isString,Lc as isTruncated,ze as isValidDate,qS as manager,qx as matchWidthModifier,Fb as maxDateTimestamp,Rc as maxLines,Ec as mediaBetween,Dc as mediaDown,Oc as mediaUp,at as merge,ct as mergeRefs,Ib as minDateTimestamp,ES as modalAnimation,kS as modalClass,DS as modalJustifyContent,Lb as months,Rb as monthsShort,cl as noScrollClass,nt as noop,ot as objectFilter,V as omitThemingProps,Ft as parseHSL,Ve as parseIsoDate,rl as pulse,oc as radii,it as random,Qe as removeBodyClass,Xe as removeElement,sc as ringWidths,rt as runIfFn,Ke as sameDate,Ge as sameYear,We as sameYearSameMonth,cc as screens,fc as shadows,pc as sizes,Kv as slowToastDuration,mc as spaces,il as spin,W as styled,Bc as system,H as th,ke as toggleItem,_c as transforms,vc as transitions,Bt as uid,Ic as useBetween,ll as useBodyScrollLock,pv as useButtonContext,El as useButtonGroupContext,lt as useCallbackRef,jx as useCheckboxGroupContext,dt as useClickOutside,ft as useControlled,Rx as useCopyToClipboard,TC as useDialog,jS as useDialogContext,Pc as useDown,uw as useFooterLinks,Z as useHeaderContext,eT as useHeaderLinks,pt as useIds,mt as useIsMounted,Gt as useLinks,ry as useListContext,Kt as useLoadLinks,jC as useMenuContext,NS as useModalContext,JS as useModalManager,Sl as useNotificationContext,sl as useOfflineMode,yT as usePagination,iT as usePaginationContext,eS as usePopover,Yx as usePopoverContext,AT as useRadioGroupContext,U as useStyleConfig,nD as useSwitchContext,pD as useTableContext,nb as useTagContext,wc as useTh,Tc as useTheme,Yv as useToast,cO as useTreeContext,SO as useTutorial,Fc as useUp,le as useViewportWidth,ol as useVuiContext,qe as utcDateToLocale,Yc as v,He as validateDateFormat,Pb as viewYears,G as vui,Lt as vuiColorToRGBA,zb as weekDays,zc as wordBreak,yc as zIndices};globalThis.__vuiVersion__=`3.0.0-beta.3`;
|
|
1163
1191
|
//# sourceMappingURL=index.js.map
|