import{S as e,i as n,s as t,v as a,D as i,q as l,L as r,h as s,k as o,l as c,n as d,o as u,r as p,M as f,w as h,N as m,O as $,I as x,z as b,A as v,t as g,b as _,J as y,C as w,G as O,g as S,c as E,a as k,x as L,y as N,m as A,R as M,$ as B,d as C,B as D,H,U as F,j as I,p as T,E as V,F as z,T as j,K as R,Y as U}from"./index.6b674a45.js";import{C as P}from"./ChevronDown16.5983f6dc.js";import{C as W}from"./Close20.4da30c2a.js";import{I as Y}from"./Icon.480b7b42.js";function q(e){const n=e-1;return n*n*n+1}function G(e,{delay:n=0,duration:t=400,easing:a=q,x:i=0,y:l=0,opacity:r=0}){const s=getComputedStyle(e),o=+s.opacity,c="none"===s.transform?"":s.transform,d=o*(1-r);return{delay:n,duration:t,easing:a,css:(e,n)=>`\n\t\t\ttransform: ${c} translate(${(1-e)*i}px, ${(1-e)*l}px);\n\t\t\topacity: ${o-d*n}`}}function J(e,{delay:n=0,duration:t=400,easing:a=q}){const i=getComputedStyle(e),l=+i.opacity,r=parseFloat(i.height),s=parseFloat(i.paddingTop),o=parseFloat(i.paddingBottom),c=parseFloat(i.marginTop),d=parseFloat(i.marginBottom),u=parseFloat(i.borderTopWidth),p=parseFloat(i.borderBottomWidth);return{delay:n,duration:t,easing:a,css:e=>`overflow: hidden;opacity: ${Math.min(20*e,1)*l};height: ${e*r}px;padding-top: ${e*s}px;padding-bottom: ${e*o}px;margin-top: ${e*c}px;margin-bottom: ${e*d}px;border-top-width: ${e*u}px;border-bottom-width: ${e*p}px;`}}function K(e){let n,t;return{c(){n=r("title"),t=s(e[2])},l(a){n=o(a,"title",{},1);var i=c(n);t=d(i,e[2]),i.forEach(u)},m(e,a){l(e,n,a),p(n,t)},p(e,n){4&n&&f(t,e[2])},d(e){e&&u(n)}}}function Q(e){let n,t,s,d,f;const w=e[8].default,O=a(w,e,e[7],null),S=O||function(e){let n,t=e[2]&&K(e);return{c(){t&&t.c(),n=i()},l(e){t&&t.l(e),n=i()},m(e,a){t&&t.m(e,a),l(e,n,a)},p(e,a){e[2]?t?t.p(e,a):(t=K(e),t.c(),t.m(n.parentNode,n)):t&&(t.d(1),t=null)},d(e){t&&t.d(e),e&&u(n)}}}(e);let E=[{"data-carbon-icon":"Menu20"},{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 20 20"},{fill:"currentColor"},{width:"20"},{height:"20"},{class:e[0]},{preserveAspectRatio:"xMidYMid meet"},{style:e[3]},{id:e[1]},e[4]],k={};for(let e=0;e{t(18,n=h(h({},n),w(e))),"class"in e&&t(0,c=e.class),"id"in e&&t(1,d=e.id),"tabindex"in e&&t(5,u=e.tabindex),"focusable"in e&&t(6,p=e.focusable),"title"in e&&t(2,f=e.title),"style"in e&&t(3,m=e.style),"$$scope"in e&&t(7,o=e.$$scope)},e.$$.update=()=>{t(15,a=n["aria-label"]),t(16,i=n["aria-labelledby"]),98308&e.$$.dirty&&t(17,l=a||i||f),229472&e.$$.dirty&&t(4,r={"aria-label":a,"aria-labelledby":i,"aria-hidden":!l||void 0,role:l?"img":void 0,focusable:"0"===u||p,tabindex:u})},n=w(n),[c,d,f,m,r,u,p,o,s,function(n){O(e,n)},function(n){O(e,n)},function(n){O(e,n)},function(n){O(e,n)},function(n){O(e,n)},function(n){O(e,n)}]}class Z extends e{constructor(e){super(),n(this,e,X,Q,t,{class:0,id:1,tabindex:5,focusable:6,title:2,style:3})}}function ee(e){let n,t,a,i,r,s;t=new Y({props:{title:e[0]?"Close":"Open Menu",render:e[0]?W:Z}});let d=[{type:"button"},{title:"Open menu"},{"aria-label":e[2]},e[3]],p={};for(let e=0;e{a||(a=B(n,G,{x:-200,delay:50,duration:250},!0)),a.run(1)}),i=!0)},o(e){_(t.$$.fragment,e),a||(a=B(n,G,{x:-200,delay:50,duration:250},!1)),a.run(0),i=!1},d(i){i&&u(n),C(t),e[5](null),i&&a&&a.end(),r=!1,y(s)}}}function ne(e,n,t){const a=["ariaLabel","isOpen","ref"];let i=D(n,a),{ariaLabel:l}=n,{isOpen:r=!1}=n,{ref:s=null}=n;return e.$$set=e=>{n=h(h({},n),w(e)),t(3,i=D(n,a)),"ariaLabel"in e&&t(2,l=e.ariaLabel),"isOpen"in e&&t(0,r=e.isOpen),"ref"in e&&t(1,s=e.ref)},[r,s,l,i,function(n){O(e,n)},function(e){H[e?"unshift":"push"](()=>{s=e,t(1,s)})},()=>t(0,r=!r)]}class te extends e{constructor(e){super(),n(this,e,ne,ee,t,{ariaLabel:2,isOpen:0,ref:1})}}const ae=e=>({}),ie=e=>({}),le=e=>({}),re=e=>({});function se(e){let n,t,a;function i(n){e[14].call(null,n)}let l={};return void 0!==e[0]&&(l.isOpen=e[0]),n=new te({props:l}),H.push(()=>j(n,"isOpen",i)),{c(){E(n.$$.fragment)},l(e){k(n.$$.fragment,e)},m(e,t){A(n,e,t),a=!0},p(e,a){const i={};!t&&1&a&&(t=!0,i.isOpen=e[0],F(()=>t=!1)),n.$set(i)},i(e){a||(g(n.$$.fragment,e),a=!0)},o(e){_(n.$$.fragment,e),a=!1},d(e){C(n,e)}}}function oe(e){let n,t,a;return{c(){n=S("span"),t=s(e[3]),a=s(" "),this.h()},l(i){n=o(i,"SPAN",{});var l=c(n);t=d(l,e[3]),a=d(l," "),l.forEach(u),this.h()},h(){N(n,"bx--header__name--prefix",!0)},m(e,i){l(e,n,i),p(n,t),p(n,a)},p(e,n){8&n&&f(t,e[3])},d(e){e&&u(n)}}}function ce(e){let n,t,i,r,$,w,O,E,k;M(e[13]);const A=e[11]["skip-to-content"],B=a(A,e,e[10],re);let C=e[5]<1056&&se(e),D=e[3]&&oe(e);const H=e[11].platform,F=a(H,e,e[10],ie),j=F||function(e){let n;return{c(){n=s(e[4])},l(t){n=d(t,e[4])},m(e,t){l(e,n,t)},p(e,t){16&t&&f(n,e[4])},d(e){e&&u(n)}}}(e);let R=[{href:e[2]},e[7]],U={};for(let e=0;e{C=null}),z()),e[3]?D?D.p(e,t):(D=oe(e),D.c(),D.m(r,$)):D&&(D.d(1),D=null),F?F.p&&1024&t&&b(F,H,e,e[10],t,ae,ie):j&&j.p&&16&t&&j.p(e,t),L(r,U=v(R,[(!O||4&t)&&{href:e[2]},128&t&&e[7]])),N(r,"bx--header__name",!0),W&&W.p&&1024&t&&b(W,P,e,e[10],t,null,null),(!O||64&t)&&m(n,"aria-label",e[6])},i(e){O||(g(B,e),g(C),g(j,e),g(W,e),O=!0)},o(e){_(B,e),_(C),_(j,e),_(W,e),O=!1},d(t){t&&u(n),B&&B.d(t),C&&C.d(),D&&D.d(),j&&j.d(t),e[15](null),W&&W.d(t),E=!1,y(k)}}}function de(e,n,t){const a=["expandedByDefault","isSideNavOpen","uiShellAriaLabel","href","company","platformName","ref"];let i,l=D(n,a),{$$slots:r={},$$scope:s}=n,{expandedByDefault:o=!0}=n,{isSideNavOpen:c=!1}=n,{uiShellAriaLabel:d}=n,{href:u}=n,{company:p}=n,{platformName:f}=n,{ref:m=null}=n,$=void 0;return e.$$set=e=>{t(16,n=h(h({},n),w(e))),t(7,l=D(n,a)),"expandedByDefault"in e&&t(8,o=e.expandedByDefault),"isSideNavOpen"in e&&t(0,c=e.isSideNavOpen),"uiShellAriaLabel"in e&&t(9,d=e.uiShellAriaLabel),"href"in e&&t(2,u=e.href),"company"in e&&t(3,p=e.company),"platformName"in e&&t(4,f=e.platformName),"ref"in e&&t(1,m=e.ref),"$$scope"in e&&t(10,s=e.$$scope)},e.$$.update=()=>{288&e.$$.dirty&&t(0,c=o&&$>=1056),t(6,i=p?p+" ":""+(d||n["aria-label"]||f))},n=w(n),[c,m,u,p,f,$,i,l,o,d,s,r,function(n){O(e,n)},function(){t(5,$=window.innerWidth)},function(e){c=e,t(0,c),t(8,o),t(5,$)},function(e){H[e?"unshift":"push"](()=>{m=e,t(1,m)})}]}class ue extends e{constructor(e){super(),n(this,e,de,ce,t,{expandedByDefault:8,isSideNavOpen:0,uiShellAriaLabel:9,href:2,company:3,platformName:4,ref:1})}}function pe(e){let n,t,a;return{c(){n=S("div"),this.h()},l(e){n=o(e,"DIV",{}),c(n).forEach(u),this.h()},h(){N(n,"bx--side-nav__overlay",!0),N(n,"bx--side-nav__overlay-active",e[0])},m(i,r){l(i,n,r),t||(a=x(n,"click",e[6]),t=!0)},p(e,t){1&t&&N(n,"bx--side-nav__overlay-active",e[0])},d(e){e&&u(n),t=!1,a()}}}function fe(e){let n,t,i,r=e[1]&&pe(e);const s=e[5].default,d=a(s,e,e[4],null);let p=[{"aria-label":e[2]},e[3]],f={};for(let e=0;e{n=h(h({},n),w(e)),t(3,i=D(n,a)),"fixed"in e&&t(1,s=e.fixed),"ariaLabel"in e&&t(2,o=e.ariaLabel),"isOpen"in e&&t(0,c=e.isOpen),"$$scope"in e&&t(4,r=e.$$scope)},[c,s,o,i,r,l,()=>{t(0,c=!1)}]}class me extends e{constructor(e){super(),n(this,e,he,fe,t,{fixed:1,ariaLabel:2,isOpen:0})}}function $e(e){let n,t;const i=e[1].default,r=a(i,e,e[0],null);return{c(){n=S("ul"),r&&r.c(),this.h()},l(e){n=o(e,"UL",{});var t=c(n);r&&r.l(t),t.forEach(u),this.h()},h(){N(n,"bx--side-nav__items",!0)},m(e,a){l(e,n,a),r&&r.m(n,null),t=!0},p(e,[n]){r&&r.p&&1&n&&b(r,i,e,e[0],n,null,null)},i(e){t||(g(r,e),t=!0)},o(e){_(r,e),t=!1},d(e){e&&u(n),r&&r.d(e)}}}function xe(e,n,t){let{$$slots:a={},$$scope:i}=n;return e.$$set=e=>{"$$scope"in e&&t(0,i=e.$$scope)},[i,a]}class be extends e{constructor(e){super(),n(this,e,xe,$e,t,{})}}function ve(e){let n,t,a;const i=[e[3]];let r={};for(let e=0;e{R=null}),z()),(!H||4&a)&&f($,e[2]),L(t,W=v(U,[{type:"button"},(!H||1&a)&&{"aria-expanded":e[0]},16&a&&e[4]])),N(t,"bx--side-nav__submenu",!0),G&&G.p&&32&a&&b(G,q,e,e[5],a,null,null),8&a&&N(n,"bx--side-nav__item--icon",e[3])},i(e){H||(g(R),g(M.$$.fragment,e),g(G,e),H=!0)},o(e){_(R),_(M.$$.fragment,e),_(G,e),H=!1},d(t){t&&u(n),R&&R.d(),C(M),e[8](null),G&&G.d(t),F=!1,y(j)}}}function _e(e,n,t){const a=["expanded","text","icon","ref"];let i=D(n,a),{$$slots:l={},$$scope:r}=n,{expanded:s=!1}=n,{text:o}=n,{icon:c}=n,{ref:d=null}=n;return e.$$set=e=>{n=h(h({},n),w(e)),t(4,i=D(n,a)),"expanded"in e&&t(0,s=e.expanded),"text"in e&&t(2,o=e.text),"icon"in e&&t(3,c=e.icon),"ref"in e&&t(1,d=e.ref),"$$scope"in e&&t(5,r=e.$$scope)},[s,d,o,c,i,r,l,function(n){O(e,n)},function(e){H[e?"unshift":"push"](()=>{d=e,t(1,d)})},()=>{t(0,s=!s)}]}class ye extends e{constructor(e){super(),n(this,e,_e,ge,t,{expanded:0,text:2,icon:3,ref:1})}}function we(e){let n,t,a,i,r,m,$,b=[{"aria-current":r=e[1]?"page":void 0},{href:e[2]},e[4]],g={};for(let e=0;e{n=h(h({},n),w(e)),t(4,i=D(n,a)),"isSelected"in e&&t(1,l=e.isSelected),"href"in e&&t(2,r=e.href),"text"in e&&t(3,s=e.text),"ref"in e&&t(0,o=e.ref)},[o,l,r,s,i,function(n){O(e,n)},function(e){H[e?"unshift":"push"](()=>{o=e,t(0,o)})}]}class Se extends e{constructor(e){super(),n(this,e,Oe,we,t,{isSelected:1,href:2,text:3,ref:0})}}function Ee(e){let n,t,i,r;const p=e[4].default,f=a(p,e,e[3],null),m=f||function(e){let n;return{c(){n=s("Skip to main content")},l(e){n=d(e,"Skip to main content")},m(e,t){l(e,n,t)},d(e){e&&u(n)}}}();let $=[{href:e[0]},{tabindex:e[1]},e[2]],y={};for(let e=0;e<$.length;e+=1)y=h(y,$[e]);return{c(){n=S("a"),m&&m.c(),this.h()},l(e){n=o(e,"A",{href:!0,tabindex:!0});var t=c(n);m&&m.l(t),t.forEach(u),this.h()},h(){L(n,y),N(n,"bx--skip-to-content",!0)},m(a,s){l(a,n,s),m&&m.m(n,null),t=!0,i||(r=x(n,"click",e[5]),i=!0)},p(e,[a]){f&&f.p&&8&a&&b(f,p,e,e[3],a,null,null),L(n,y=v($,[(!t||1&a)&&{href:e[0]},(!t||2&a)&&{tabindex:e[1]},4&a&&e[2]])),N(n,"bx--skip-to-content",!0)},i(e){t||(g(m,e),t=!0)},o(e){_(m,e),t=!1},d(e){e&&u(n),m&&m.d(e),i=!1,r()}}}function ke(e,n,t){const a=["href","tabindex"];let i=D(n,a),{$$slots:l={},$$scope:r}=n,{href:s="#main-content"}=n,{tabindex:o="0"}=n;return e.$$set=e=>{n=h(h({},n),w(e)),t(2,i=D(n,a)),"href"in e&&t(0,s=e.href),"tabindex"in e&&t(1,o=e.tabindex),"$$scope"in e&&t(3,r=e.$$scope)},[s,o,i,r,l,function(n){O(e,n)}]}class Le extends e{constructor(e){super(),n(this,e,ke,Ee,t,{href:0,tabindex:1})}}export{ue as H,me as S,Le as a,be as b,ye as c,Se as d,J as s};