@mesh.ai/rabbit 1.13.1 → 1.13.2

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.
@@ -25629,6 +25629,7 @@ const PB = ({ x: e, y: t, datum: n, size: r }) => /* @__PURE__ */ g(Ro, { cx: e,
25629
25629
  children: /* @__PURE__ */ g("div", { className: "flex h-full min-h-0 w-full min-w-0 flex-row", children: /* @__PURE__ */ g("div", { className: "h-full min-h-0 w-full min-w-0", children: /* @__PURE__ */ U(
25630
25630
  rr,
25631
25631
  {
25632
+ margin: { top: 10, left: 50, right: 50, bottom: 50 },
25632
25633
  xScale: typeof a[0] == "string" ? { type: "band", domain: a, padding: 1 } : { type: "linear", domain: a },
25633
25634
  yScale: typeof s[0] == "string" ? { type: "band", domain: s, padding: 1 } : { type: "linear", domain: s },
25634
25635
  children: [
@@ -25894,7 +25895,7 @@ const FB = Px, Ox = Y(
25894
25895
  n,
25895
25896
  `${e.xAxisLabel}-${e.yAxisLabel}-GridDirectedLineChart`
25896
25897
  ), /* @__PURE__ */ U("div", { ref: r, className: "relative h-full w-full", children: [
25897
- /* @__PURE__ */ g("div", { className: "absolute m-[50px] h-[calc(100%-100px)] w-[calc(100%-100px)]", children: /* @__PURE__ */ g(FB, { ...t }) }),
25898
+ /* @__PURE__ */ g("div", { className: "absolute mx-[50px] mb-[50px] mt-[10px] h-[calc(100%-60px)] w-[calc(100%-100px)]", children: /* @__PURE__ */ g(FB, { ...t }) }),
25898
25899
  /* @__PURE__ */ U("div", { className: "absolute h-full w-full", children: [
25899
25900
  /* @__PURE__ */ g(DB, { ...e }),
25900
25901
  /* @__PURE__ */ g("div", {})
@@ -92,4 +92,4 @@ z`).split(`
92
92
  `)} {
93
93
  ${dr}
94
94
  }
95
- `}),Q.appendChild(G.createTextNode(St))}R.timeEnd("clone node"),ge==null||ge(Te),he!==!1&&se(Te)&&(R.time("embed web font"),yield TW(Te,j),R.timeEnd("embed web font")),R.time("embed node"),Iw(Te,j);const Oe=ie.length;let Ne=0;const He=()=>m(this,null,function*(){for(;;){const St=ie.pop();if(!St)break;try{yield St}catch(Dn){Be("Failed to run task",Dn)}pe==null||pe(++Ne,Oe)}});pe==null||pe(Ne,Oe),yield Promise.all([...Array(4)].map(He)),R.timeEnd("embed node"),Ee==null||Ee(Te);const ze=FW(Te,j);return oe&&ze.insertBefore(oe,ze.children[0]),Q&&ze.insertBefore(Q,ze.children[0]),ye&&Pw(j),Ae==null||Ae(ze),ze})}function FW(S,I){const{width:j,height:G}=I,R=Pt(j,G,S.ownerDocument),ie=R.ownerDocument.createElementNS(R.namespaceURI,"foreignObject");return ie.setAttributeNS(null,"x","0%"),ie.setAttributeNS(null,"y","0%"),ie.setAttributeNS(null,"width","100%"),ie.setAttributeNS(null,"height","100%"),ie.append(S),R.appendChild(ie),R}function Pl(S,I){return m(this,null,function*(){var j;const G=yield _t(S,I),R=yield Lw(G),ie=kt(R,G.isEnable("removeControlCharacter"));G.autoDestruct||(G.svgStyleElement=Ct(G.ownerDocument),G.svgDefsElement=(j=G.ownerDocument)==null?void 0:j.createElementNS(pt,"defs"),G.svgStyles.clear());const Q=Re(ie,R.ownerDocument);return yield On(Q,G)})}function BW(S,I){return m(this,null,function*(){const j=yield _t(S,I),{log:G,type:R,quality:ie,dpi:Q}=j,oe=yield Pl(j);G.time("canvas to blob");const fe=yield kn(oe,R,ie);if(["image/png","image/jpeg"].includes(R)&&Q){const he=yield At(fe.slice(0,33));let pe=new Uint8Array(he);return R==="image/png"?pe=E(pe,Q):R==="image/jpeg"&&(pe=w(pe,Q)),G.timeEnd("canvas to blob"),new Blob([pe,fe.slice(33)],{type:R})}return G.timeEnd("canvas to blob"),fe})}function _o(S,I){return m(this,null,function*(){const j=yield _t(S,I),{log:G,quality:R,type:ie,dpi:Q}=j,oe=yield Pl(j);G.time("canvas to data url");let fe=oe.toDataURL(ie,R);if(["image/png","image/jpeg"].includes(ie)&&Q&&H&&z){const[he,pe]=fe.split(",");let ye=0,ge=!1;if(ie==="image/png"){const ze=V(pe);ze>=0?(ye=Math.ceil((ze+28)/3)*4,ge=!0):ye=33/3*4}else ie==="image/jpeg"&&(ye=18/3*4);const Ee=pe.substring(0,ye),Ae=pe.substring(ye),Te=window.atob(Ee),Oe=new Uint8Array(Te.length);for(let ze=0;ze<Oe.length;ze++)Oe[ze]=Te.charCodeAt(ze);const Ne=ie==="image/png"?E(Oe,Q,ge):w(Oe,Q),He=window.btoa(String.fromCharCode(...Ne));fe=[he,",",He,Ae].join("")}return G.timeEnd("canvas to data url"),fe})}function Fw(S,I){return m(this,null,function*(){const j=yield _t(S,I),{width:G,height:R,ownerDocument:ie}=j,Q=yield _o(j),oe=Pt(G,R,ie),fe=oe.ownerDocument.createElementNS(oe.namespaceURI,"image");return fe.setAttributeNS(null,"href",Q),fe.setAttributeNS(null,"height","100%"),fe.setAttributeNS(null,"width","100%"),oe.appendChild(fe),kt(oe,j.isEnable("removeControlCharacter"))})}function zW(S,I){return m(this,null,function*(){const j=yield _t(S,I),{ownerDocument:G,width:R,height:ie,scale:Q,type:oe}=j,fe=oe==="image/svg+xml"?yield Fw(j):yield _o(j),he=Re(fe,G);return he.width=Math.floor(R*Q),he.height=Math.floor(ie*Q),he.style.width=`${R}px`,he.style.height=`${ie}px`,he})}function WW(S,I){return m(this,null,function*(){return _o(yield _t(S,v(p({},I),{type:"image/jpeg"})))})}function jW(S,I){return m(this,null,function*(){const j=yield _t(S,I),G=yield Pl(j);return G.getContext("2d").getImageData(0,0,G.width,G.height).data})}function VW(S,I){return m(this,null,function*(){return _o(yield _t(S,v(p({},I),{type:"image/png"})))})}function HW(S,I){return m(this,null,function*(){return _o(yield _t(S,v(p({},I),{type:"image/webp"})))})}n.createContext=El,n.destroyContext=Pw,n.domToBlob=BW,n.domToCanvas=Pl,n.domToDataUrl=_o,n.domToForeignObjectSvg=Lw,n.domToImage=zW,n.domToJpeg=WW,n.domToPixel=jW,n.domToPng=VW,n.domToSvg=Fw,n.domToWebp=HW,n.loadMedia=ut,n.waitUntilLoad=cr,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})})})(Jf,Jf.exports);var xB=Jf.exports;const Tn=(e,t,n)=>{u.useImperativeHandle(t,()=>({download(){e.current&&xB.domToPng(e.current,{scale:5}).then(r=>{const o=document.createElement("a");o.download=`${n}.png`,o.href=r,o.click()})}}))},fx=[{name:"default",dark:"var(--chart-default-dark, #1565BC)",light:"var(--chart-default-light, #99D2F9)"},{name:"yellow",dark:"#8C6A00",light:"#FFDE88"},{name:"plum",dark:"#7D1779",light:"#E1AADD"},{name:"purple",dark:"#7651BC",light:"#E7DAFF"},{name:"pink",dark:"#C01443",light:"#FAD4D4"},{name:"green",dark:"#44812F",light:"#B1E39F"},{name:"orange",dark:"#B96400",light:"#FFE7C5"},{name:"teal",dark:"#237C73",light:"#A1DFD5"},{name:"red",dark:"#C62C02",light:"#FFE1D9"}];function Ge(e){return fx[e%fx.length]}const hl=(e,t)=>u.Children.map(e,n=>u.isValidElement(n)&&typeof n.type=="function"&&n.type.displayName===t.displayName?n:null);function Rf({value:e,darkColor:t,lightColor:n}){return h.jsxs("div",{className:"inline-flex items-center justify-start gap-2 px-2 py-1",children:[h.jsx("div",{style:{backgroundColor:n,borderColor:t},className:"relative h-3 w-3 rounded-3xl border"}),h.jsx("div",{className:"flex items-start justify-start",children:h.jsx("div",{className:"text-xs font-normal leading-none text-zinc-800",children:e})})]})}function eh({label:e,value:t}){return h.jsxs("div",{className:"inline-flex max-w-sm flex-col items-start justify-start px-1 py-0.5",children:[h.jsx("div",{className:" text-[10px] font-normal leading-none text-stone-500",children:e}),h.jsx("div",{className:"flex items-start justify-start text-sm font-medium",children:t||"-"})]})}function th({label:e,value:t}){return h.jsxs("div",{className:"inline-flex max-w-sm flex-col items-start justify-start px-2 py-0.5",children:[h.jsx("div",{className:" text-[10px] font-normal leading-none text-stone-500",children:e}),h.jsx("div",{className:"flex items-start justify-start text-sm font-medium",children:t||"-"})]})}function nh({nodeData:e}){const{employee:t}=e,{name:n,imageUrl:r}=t;return h.jsxs("div",{className:"inline-flex max-w-sm items-center justify-start px-2 py-0.5",children:[h.jsx(on,{size:"md",children:h.jsx(an,{src:r,alt:"Avatar"})}),h.jsx("div",{className:"flex items-start justify-start px-2 text-sm font-medium",children:n||"-"})]})}function ke({children:e,showSideBySide:t,tooltipTitle:n}){const r=hl(e,Rf),o=hl(e,eh),a=hl(e,th),i=hl(e,nh);return h.jsxs("div",{className:"rabbit-ds relative z-[1500] inline-flex h-auto w-auto min-w-[200px] max-w-[400px] flex-col items-start justify-start gap-2 rounded-lg bg-white p-2 shadow",children:[h.jsx("div",{className:"px-2 py-1 text-xs font-medium leading-none text-zinc-800",children:n}),a,h.jsxs("div",{className:"flex w-full flex-col items-start justify-start rounded-lg p-2",children:[t&&h.jsxs("div",{className:ue("flex w-full"),children:[o&&o[0],h.jsx("div",{className:"mx-3 w-0 border-r"}),o&&o[1]]}),!t&&h.jsx("div",{className:ue("grid w-full auto-rows-auto gap-3"),children:o})]}),r&&r.length>0?h.jsx("div",{className:"h-px w-full bg-gray-100 px-2"}):null,r,i]})}Rf.displayName="Legend",eh.displayName="Item",th.displayName="Header",nh.displayName="Footer",ke.Legend=Rf,ke.Item=eh,ke.Header=th,ke.Footer=nh,ke.defaultProps={showSideBySide:!1};function hx({xValue:e,yValue:t,tooltipTitle:n,xAxisLabel:r,yAxisLabel:o,showSideBySide:a,legendValue:i,legendDarkColor:s,legendLightColor:l}){const c=e==null?void 0:e.toString(),d=t==null?void 0:t.toString();return h.jsxs(ke,{tooltipTitle:n,showSideBySide:a,children:[h.jsx(ke.Item,{label:r,value:c}),h.jsx(ke.Item,{label:o,value:d}),h.jsx(ke.Legend,{value:i,darkColor:s,lightColor:l})]})}hx.defaultProps={xValue:void 0,yValue:void 0};function wB({data:e,xAccessor:t,yAccessor:n,connectNulls:r=!1}){const o=u.useContext(Mt),a=r?e.filter(i=>i.y!==null):e;return h.jsx(l2,{data:a,stroke:a[0].color.dark,strokeWidth:1,x:i=>{var s,l;return((s=o==null?void 0:o.xScale)==null?void 0:s.call(o,t(i)))+((l=o==null?void 0:o.xScale)==null?void 0:l.bandwidth())/2},y:i=>{var s;return(s=o==null?void 0:o.yScale)==null?void 0:s.call(o,n(i))}})}const AB=({x:e,y:t,datum:n,size:r})=>h.jsx(oo,{cx:e,cy:t,stroke:n.color.dark,strokeWidth:1,fill:n.color.light,r:r/2}),CB=({x:e,y:t,datum:n})=>h.jsx(oo,{cx:e,cy:t,stroke:n.color.dark,strokeWidth:1,fill:n.color.dark,r:5,style:{zIndex:1500}}),pl={xAccessor:e=>e.x,yAccessor:e=>e.y},px=(e,t,n)=>n==="pre"?`${t}${e}`:`${e}${t}`,gx=10,SB=5,rh=u.forwardRef(({nodes:e,height:t,width:n,xAxisValues:r,series:o,xAxisLabel:a,yAxisLabel:i,xAxisDomain:s,yAxisDomain:l,xAxisUnitSymbol:c,yAxisUnitSymbol:d,tooltipTitle:f,mode:p,xAxisCharLimit:v,connectNulls:g=!1,maxNodesInMiniMode:m=SB,tooltipStackCharLimit:w=gx,seriesSelectorTitle:x},y)=>{const[b,C]=u.useState(e.map(E=>E.id)),A=u.useRef(null);Tn(A,y,`${a}-${i}-LineChart`);const T=u.useMemo(()=>o.map((E,O)=>{const L=e.find(B=>B.id===E.id);return{points:E.data.map((B,V)=>({x:r[V],y:B,nodeId:E.id,color:(L==null?void 0:L.color)??Ge(O)}))}}).slice(0,p==="mini"?m:o.length),[o,p,m,e,r]),$=u.useMemo(()=>p==="full"?T.filter(E=>b.includes(E.points[0].nodeId)):T,[T,b,p]),P=u.useMemo(()=>Math.floor((n-(p==="mini"?0:150))/(r.length*8)),[n,r,p]);return h.jsxs("div",{ref:A,id:"line-chart",className:"rabbit-ds flex flex-col bg-white",style:{width:n,height:t},children:[h.jsxs("div",{className:"flex h-full min-h-0 w-full min-w-0 flex-row",children:[h.jsx("div",{className:"h-full min-h-0 w-full min-w-0",children:h.jsxs(ar,{margin:{top:10,left:50,right:50,bottom:50},xScale:{type:"band",nice:!0,...s&&{domain:s}},yScale:{type:"linear",nice:!0,...l&&{domain:l}},children:[h.jsx(S2,{columns:!1,numTicks:6,lineStyle:{stroke:"#EBEFF3",strokeWidth:1}}),h.jsx($o,{hideTicks:!0,orientation:"bottom",stroke:"#CFD7DF",strokeWidth:1,numTicks:6,tickFormat:E=>c?px(E,c.symbol,c.position):E,rangePadding:{end:10},tickComponent:E=>h.jsx(Ya,{textLabel:E.formattedValue||"",x:E.x,y:E.y,textStyles:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,fill:"#666666",textAnchor:"middle"},axisCharLimit:v??P}),label:`${a} ➔`,labelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,dy:10,fill:"#666666",textAnchor:"middle",verticalAnchor:"middle"}}),h.jsx($o,{hideTicks:!0,numTicks:6,strokeWidth:1,orientation:"left",stroke:"#CFD7DF",label:`${i} ➔`,tickFormat:E=>d?px(E,d.symbol,d.position):E,tickLabelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,fill:"#666666"},labelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,dx:-20,fill:"#666666",textAnchor:"middle",verticalAnchor:"middle"}}),$.map((E,O)=>h.jsxs(h.Fragment,{children:[h.jsx(wB,{data:E.points,xAccessor:pl.xAccessor,yAccessor:pl.yAccessor,connectNulls:g}),h.jsx(dx,{dataKey:`Performance Management ${O}`,data:E.points,size:8,renderGlyph:AB,xAccessor:pl.xAccessor,yAccessor:pl.yAccessor})]})),h.jsx(rl,{showDatumGlyph:!0,scroll:!0,debounce:500,snapTooltipToDatumX:!0,snapTooltipToDatumY:!0,detectBounds:!0,unstyled:!0,applyPositionStyle:!0,renderGlyph:CB,renderTooltip:({tooltipData:E})=>{var B,V,W,M,_,H;const O=e.find(z=>{var N;return z.id===((N=E==null?void 0:E.nearestDatum)==null?void 0:N.datum.nodeId)}),L=((B=E==null?void 0:E.nearestDatum)==null?void 0:B.datum)&&((V=E==null?void 0:E.nearestDatum)==null?void 0:V.datum.x.length)<w;return h.jsx(hx,{xValue:(W=E==null?void 0:E.nearestDatum)==null?void 0:W.datum.x,yValue:(M=E==null?void 0:E.nearestDatum)==null?void 0:M.datum.y,xAxisLabel:a,yAxisLabel:i,showSideBySide:!!L,tooltipTitle:f,legendValue:(O==null?void 0:O.name)||"",legendDarkColor:((_=E==null?void 0:E.nearestDatum)==null?void 0:_.datum.color.dark)||Ge(0).dark,legendLightColor:((H=E==null?void 0:E.nearestDatum)==null?void 0:H.datum.color.light)||Ge(0).light})}})]})}),p==="full"&&h.jsxs("div",{className:"inline-flex w-64 shrink-0 grow-0 basis-auto flex-col items-start justify-start gap-0.5 rounded border border-solid border-[color:var(--Accent,#EBEFF3)] bg-[#FDFDFD] p-4 pr-0 text-xs",children:[h.jsxs("div",{className:"pb-1 text-xs font-semibold",children:[h.jsx("span",{className:"pr-1",children:x??a}),"(",$.length??0,"/",T.length,")"]}),h.jsx("div",{className:"inline-flex h-[95%] w-full shrink-0 grow-0 flex-col items-start justify-start gap-1 overflow-scroll pr-4",children:T.map(E=>{const O=e.find(L=>L.id===E.points[0].nodeId);return O&&h.jsxs("div",{className:"flex w-full items-center justify-between gap-1 py-1",children:[h.jsxs("div",{className:"flex items-center justify-between",children:[h.jsx("div",{style:{backgroundColor:E.points[0].color.light,borderColor:E.points[0].color.dark},className:"mr-1 h-3 w-3 rounded-full border"}),O.name]}),h.jsx("div",{className:"flex items-center",children:h.jsx(Fl,{checked:b.includes(O.id),onCheckedChange:L=>{let B=[...b];L?B=[...b,O.id]:B.splice(b.indexOf(O.id),1),C(B)}})})]},O.id)})})]})]}),p==="mini"&&h.jsx("div",{className:"flex flex-row flex-wrap justify-center gap-4 text-[10px] font-semibold text-font-secondary",children:T.map(E=>{const O=e.find(L=>L.id===E.points[0].nodeId);return h.jsxs("div",{className:"flex items-center justify-center gap-1",children:[h.jsx("div",{style:{backgroundColor:E.points[0].color.light,borderColor:E.points[0].color.dark},className:"h-3 w-3 rounded-full border"}),O==null?void 0:O.name]},O==null?void 0:O.id)})})]})}),EB={xAxisUnitSymbol:void 0,yAxisUnitSymbol:void 0,mode:"mini",xAxisCharLimit:void 0,tooltipStackCharLimit:gx,xAxisDomain:void 0,yAxisDomain:void 0,connectNulls:!1};rh.defaultProps=EB,rh.displayName="LineBase";const vx=u.forwardRef((e,t)=>h.jsx(qn,{debounceTime:10,children:({width:n,height:r})=>h.jsx(rh,{ref:t,width:n,height:r,...e})}));vx.displayName="LineChart";const MB=vx;function mx(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let o of e)(o=t(o,++r,e))!=null&&(n<o||n===void 0&&o>=o)&&(n=o)}return n}function $B(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let o of e)(o=t(o,++r,e))!=null&&(n>o||n===void 0&&o>=o)&&(n=o)}return n}function oh(e,t){let n=0;if(t===void 0)for(let r of e)(r=+r)&&(n+=r);else{let r=-1;for(let o of e)(o=+t(o,++r,e))&&(n+=o)}return n}function TB(e,t){return e.sourceLinks.length?e.depth:t-1}function gl(e){return function(){return e}}function bx(e,t){return vl(e.source,t.source)||e.index-t.index}function yx(e,t){return vl(e.target,t.target)||e.index-t.index}function vl(e,t){return e.y0-t.y0}function ah(e){return e.value}function PB(e){return e.index}function kB(e){return e.nodes}function OB(e){return e.links}function xx(e,t){const n=e.get(t);if(!n)throw new Error("missing: "+t);return n}function wx({nodes:e}){for(const t of e){let n=t.y0,r=n;for(const o of t.sourceLinks)o.y0=n+o.width/2,n+=o.width;for(const o of t.targetLinks)o.y1=r+o.width/2,r+=o.width}}function NB(){let e=0,t=0,n=1,r=1,o=24,a=8,i,s=PB,l=TB,c,d,f=kB,p=OB,v=6;function g(){const M={nodes:f.apply(null,arguments),links:p.apply(null,arguments)};return m(M),w(M),x(M),y(M),A(M),wx(M),M}g.update=function(M){return wx(M),M},g.nodeId=function(M){return arguments.length?(s=typeof M=="function"?M:gl(M),g):s},g.nodeAlign=function(M){return arguments.length?(l=typeof M=="function"?M:gl(M),g):l},g.nodeSort=function(M){return arguments.length?(c=M,g):c},g.nodeWidth=function(M){return arguments.length?(o=+M,g):o},g.nodePadding=function(M){return arguments.length?(a=i=+M,g):a},g.nodes=function(M){return arguments.length?(f=typeof M=="function"?M:gl(M),g):f},g.links=function(M){return arguments.length?(p=typeof M=="function"?M:gl(M),g):p},g.linkSort=function(M){return arguments.length?(d=M,g):d},g.size=function(M){return arguments.length?(e=t=0,n=+M[0],r=+M[1],g):[n-e,r-t]},g.extent=function(M){return arguments.length?(e=+M[0][0],n=+M[1][0],t=+M[0][1],r=+M[1][1],g):[[e,t],[n,r]]},g.iterations=function(M){return arguments.length?(v=+M,g):v};function m({nodes:M,links:_}){for(const[z,N]of M.entries())N.index=z,N.sourceLinks=[],N.targetLinks=[];const H=new Map(M.map((z,N)=>[s(z,N,M),z]));for(const[z,N]of _.entries()){N.index=z;let{source:k,target:F}=N;typeof k!="object"&&(k=N.source=xx(H,k)),typeof F!="object"&&(F=N.target=xx(H,F)),k.sourceLinks.push(N),F.targetLinks.push(N)}if(d!=null)for(const{sourceLinks:z,targetLinks:N}of M)z.sort(d),N.sort(d)}function w({nodes:M}){for(const _ of M)_.value=_.fixedValue===void 0?Math.max(oh(_.sourceLinks,ah),oh(_.targetLinks,ah)):_.fixedValue}function x({nodes:M}){const _=M.length;let H=new Set(M),z=new Set,N=0;for(;H.size;){for(const k of H){k.depth=N;for(const{target:F}of k.sourceLinks)z.add(F)}if(++N>_)throw new Error("circular link");H=z,z=new Set}}function y({nodes:M}){const _=M.length;let H=new Set(M),z=new Set,N=0;for(;H.size;){for(const k of H){k.height=N;for(const{source:F}of k.targetLinks)z.add(F)}if(++N>_)throw new Error("circular link");H=z,z=new Set}}function b({nodes:M}){const _=mx(M,N=>N.depth)+1,H=(n-e-o)/(_-1),z=new Array(_);for(const N of M){const k=Math.max(0,Math.min(_-1,Math.floor(l.call(null,N,_))));N.layer=k,N.x0=e+k*H,N.x1=N.x0+o,z[k]?z[k].push(N):z[k]=[N]}if(c)for(const N of z)N.sort(c);return z}function C(M){const _=$B(M,H=>(r-t-(H.length-1)*i)/oh(H,ah));for(const H of M){let z=t;for(const N of H){N.y0=z,N.y1=z+N.value*_,z=N.y1+i;for(const k of N.sourceLinks)k.width=k.value*_}z=(r-z+i)/(H.length+1);for(let N=0;N<H.length;++N){const k=H[N];k.y0+=z*(N+1),k.y1+=z*(N+1)}B(H)}}function A(M){const _=b(M);i=Math.min(a,(r-t)/(mx(_,H=>H.length)-1)),C(_);for(let H=0;H<v;++H){const z=Math.pow(.99,H),N=Math.max(1-z,(H+1)/v);$(_,z,N),T(_,z,N)}}function T(M,_,H){for(let z=1,N=M.length;z<N;++z){const k=M[z];for(const F of k){let J=0,K=0;for(const{source:ne,value:se}of F.targetLinks){let Z=se*(F.layer-ne.layer);J+=V(ne,F)*Z,K+=Z}if(!(K>0))continue;let te=(J/K-F.y0)*_;F.y0+=te,F.y1+=te,L(F)}c===void 0&&k.sort(vl),P(k,H)}}function $(M,_,H){for(let z=M.length,N=z-2;N>=0;--N){const k=M[N];for(const F of k){let J=0,K=0;for(const{target:ne,value:se}of F.sourceLinks){let Z=se*(ne.layer-F.layer);J+=W(F,ne)*Z,K+=Z}if(!(K>0))continue;let te=(J/K-F.y0)*_;F.y0+=te,F.y1+=te,L(F)}c===void 0&&k.sort(vl),P(k,H)}}function P(M,_){const H=M.length>>1,z=M[H];O(M,z.y0-i,H-1,_),E(M,z.y1+i,H+1,_),O(M,r,M.length-1,_),E(M,t,0,_)}function E(M,_,H,z){for(;H<M.length;++H){const N=M[H],k=(_-N.y0)*z;k>1e-6&&(N.y0+=k,N.y1+=k),_=N.y1+i}}function O(M,_,H,z){for(;H>=0;--H){const N=M[H],k=(N.y1-_)*z;k>1e-6&&(N.y0-=k,N.y1-=k),_=N.y0-i}}function L({sourceLinks:M,targetLinks:_}){if(d===void 0){for(const{source:{sourceLinks:H}}of _)H.sort(yx);for(const{target:{targetLinks:H}}of M)H.sort(bx)}}function B(M){if(d===void 0)for(const{sourceLinks:_,targetLinks:H}of M)_.sort(yx),H.sort(bx)}function V(M,_){let H=M.y0-(M.sourceLinks.length-1)*i/2;for(const{target:z,width:N}of M.sourceLinks){if(z===_)break;H+=N+i}for(const{source:z,width:N}of _.targetLinks){if(z===M)break;H-=N}return H}function W(M,_){let H=_.y0-(_.targetLinks.length-1)*i/2;for(const{source:z,width:N}of _.targetLinks){if(z===M)break;H+=N+i}for(const{target:z,width:N}of M.sourceLinks){if(z===_)break;H-=N}return H}return g}function DB({tooltipData:e,fromLabel:t,toLabel:n,weightLabel:r,tooltipTitle:o}){var s,l,c,d;const a=e.source,i=e.target;return h.jsxs(ke,{tooltipTitle:o,children:[h.jsx(ke.Item,{label:t,value:a.name}),h.jsx(ke.Item,{label:n,value:i.name}),h.jsx(ke.Item,{label:r,value:e.weight.toString()}),h.jsx(ke.Legend,{value:a.name,darkColor:(s=Ge(a.index||0))==null?void 0:s.dark,lightColor:(l=Ge(a.index||0))==null?void 0:l.light}),h.jsx(ke.Legend,{value:i.name,darkColor:(c=Ge(i.index||0))==null?void 0:c.dark,lightColor:(d=Ge(i.index||0))==null?void 0:d.light})]})}const Ax=80,Cx=20,_B=30,IB=12,Sx=u.forwardRef(({height:e,width:t,tooltipTitle:n,nodes:r,links:o,groups:a,weightLabel:i},s)=>{const l=u.useMemo(()=>NB().nodeId(M=>M.id).nodeWidth(IB).nodePadding(_B).nodeAlign(M=>M.group),[]),c=u.useRef(null);Tn(c,s,`${n}-SankeyChart`);const[d,f]=u.useState(""),[p,v]=u.useState(null),{tooltipData:g,tooltipLeft:m,tooltipTop:w,tooltipOpen:x,showTooltip:y,hideTooltip:b}=Rs(),{containerBounds:C,containerRef:A,TooltipInPortal:T}=nl({detectBounds:!0,debounce:500,scroll:!0,zIndex:1500}),$=u.useMemo(()=>l.extent([[Ax,Cx],[t-Ax,e-Cx-50]])({nodes:r,links:o.map(M=>({...M,value:Number(M.weight)}))}),[e,t,l,r,o]),P=u.useMemo(()=>Math.max(...$.nodes.map(M=>M.depth??0)),[$]),E=u.useMemo(()=>{const M={};let _=-1/0;return $.nodes.forEach(H=>{const{group:z}=H;M[z]?(M[z].x=Math.max(M[z].x??-1/0,H.x0??-1/0),M[z].y=Math.max(M[z].y??-1/0,H.y1??-1/0)):(M[z]={},M[z].x=H.x0,M[z].y=H.y1),_=Math.max(_,M[z].y??-1/0),M[z].y=_}),Object.keys(M).forEach(H=>{M[H].y=_}),M},[$]),O=u.useCallback(M=>{const _=l.nodeId()(M);f(d===_?"":_)},[d,l]),L=u.useCallback(()=>{f(""),v(null)},[]),B=u.useMemo(()=>d===""&&p===null?new Set:new Set($.links.filter(M=>l.nodeId()(M.source)===d||l.nodeId()(M.target)===d||(p==null?void 0:p.source)===M.source&&(p==null?void 0:p.target)===M.target)),[d,$,p,l]),V=u.useCallback((M,_)=>{const H=("clientX"in M?M.clientX:0)-C.left,z=("clientY"in M?M.clientY:0)-C.top;v(_),H&&z&&y({tooltipLeft:H,tooltipTop:z,tooltipData:_})},[y,C]),W=u.useCallback(()=>{L(),b()},[L,b]);return h.jsxs("div",{ref:c,className:"rabbit-ds h-min w-min bg-white",id:"sankey-chart",children:[h.jsxs("svg",{height:e,width:t,ref:A,children:[h.jsx("g",{children:$.links.map(M=>h.jsx(vI,{data:M,source:_=>({x:_.source.x1,y:_.y0}),target:_=>({x:_.target.x0,y:_.y1}),x:_=>_.x??0,y:_=>_.y??0,fill:"none",pointerEvents:"stroke",onMouseLeave:()=>W(),onMouseMove:_=>V(_,M),stroke:Ge(M.source.index||0).light,strokeWidth:M.width,strokeOpacity:B.has(M)?.7:.4},M.index))}),h.jsx("g",{children:$.nodes.map(M=>{var _,H,z;return h.jsx("g",{children:h.jsx(c2,{x:M.x0??0,height:(M.y1??0)-(M.y0??0)+10,width:(M.x1??0)-(M.x0??0),y:(M.y0??0)-5,onMouseEnter:()=>O(M),onMouseLeave:()=>L(),radius:2,fill:d===M.id?(_=Ge(M.index||0))==null?void 0:_.dark:(H=Ge(M.index||0))==null?void 0:H.light,stroke:(z=Ge(M.index||0))==null?void 0:z.dark,all:!0})},M.index)})}),h.jsx("g",{children:a.map(M=>h.jsx(Ya,{axisCharLimit:20,x:E[M.id].x??0,y:(E[M.id].y??0)+40,textLabel:M.name,textStyles:{fontSize:10,fontWeight:600,textAnchor:"middle",fill:"#666666"}},M.id))}),h.jsxs("g",{children:[$.nodes.map(M=>h.jsx(Ya,{axisCharLimit:8,x:M.depth===P?(M.x1??0)+10:(M.x0??0)-10,y:(M.y0??0)+((M.y1??0)-(M.y0??0))/2,textLabel:M.name,textStyles:{fontSize:10,fontWeight:600,textAnchor:M.depth===P?"start":"end",fill:"#666666"}},M.index)),$.nodes.map(M=>M.value&&h.jsx(po,{x:M.depth===P?(M.x1??0)+10:(M.x0??0)-10,y:(M.y0??0)+((M.y1??0)-(M.y0??0))/2+16,style:{fontSize:10,fontWeight:400,textAnchor:M.depth===P?"start":"end",fill:"#666666"},children:`(${M.value.toString()})`},M.index))]})]}),x&&g&&h.jsx(T,{top:w,left:m,unstyled:!0,applyPositionStyle:!0,children:h.jsx(DB,{tooltipData:g,fromLabel:`From: ${a[g.source.group].name}`,toLabel:`To: ${a[g.target.group].name}`,weightLabel:i,tooltipTitle:n})},Math.random())]})});Sx.displayName="Sankey";const Ex=u.forwardRef((e,t)=>h.jsx(qn,{debounceTime:10,children:({width:n,height:r})=>n&&r&&h.jsx(Sx,{ref:t,width:n,height:r,...e})}));Ex.displayName="SankeyChart";const LB=Ex;function FB(e){return"bandwidth"in e?e.bandwidth():0}var BB=["top","left","scale","width","stroke","strokeWidth","strokeDasharray","className","children","numTicks","lineStyle","offset","tickValues"];function ih(){return ih=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ih.apply(this,arguments)}function zB(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function Mx(e){var t=e.top,n=t===void 0?0:t,r=e.left,o=r===void 0?0:r,a=e.scale,i=e.width,s=e.stroke,l=s===void 0?"#eaf0f6":s,c=e.strokeWidth,d=c===void 0?1:c,f=e.strokeDasharray,p=e.className,v=e.children,g=e.numTicks,m=g===void 0?10:g,w=e.lineStyle,x=e.offset,y=e.tickValues,b=zB(e,BB),C=y??qd(a,m),A=(x??0)+FB(a)/2,T=C.map(function($,P){var E,O=((E=Ys(a($)))!=null?E:0)+A;return{index:P,from:new wn({x:0,y:O}),to:new wn({x:i,y:O})}});return u.createElement(qt,{className:tt("visx-rows",p),top:n,left:o},v?v({lines:T}):T.map(function($){var P=$.from,E=$.to,O=$.index;return u.createElement(AI,ih({key:"row-line-"+O,from:P,to:E,stroke:l,strokeWidth:d,strokeDasharray:f,style:w},b))}))}Mx.propTypes={tickValues:ee.array,width:ee.number.isRequired};function $x({xValue:e,yValue:t,tooltipTitle:n,xAxisLabel:r,yAxisLabel:o,legendValue:a,legendDarkColor:i,legendLightColor:s}){const l=e==null?void 0:e.toString(),c=t==null?void 0:t.toString();return h.jsxs(ke,{tooltipTitle:n,showSideBySide:!0,children:[h.jsx(ke.Item,{label:r,value:l}),h.jsx(ke.Item,{label:o,value:c}),h.jsx(ke.Legend,{value:a,darkColor:i,lightColor:s})]})}$x.defaultProps={xValue:void 0,yValue:void 0};const Tx=20,Px=50,sh=80,ml=50,WB=10,jB=25,lh=u.forwardRef(({tooltipTitle:e,xAxisLabel:t,yAxisLabel:n,domain:r,binCount:o,data:a,width:i,height:s,maxBinCount:l=jB,minBinCount:c=WB,integerBins:d=!1,integerYAxis:f=!1},p)=>{const v=u.useMemo(()=>ws(a),[a]),{histogramDomain:g,threshold:m,thresholdInteger:w}=u.useMemo(()=>{const N=v[0]??0,k=N===v[1]?c+N:v[1]??0,F=k-N>c?k:c+N,J=Math.min(Math.max(k-N,c),l),K=Math.floor(v[0]??0),te=Math.ceil(F);return{histogramDomain:r||(d?[K,te]:[N,k]),threshold:J,thresholdInteger:Math.ceil(J)}},[v,r,d,l,c]),x=u.useMemo(()=>Mo({domain:g,range:[ml,i-Px],round:!0,nice:!0}),[g,i]),y=u.useMemo(()=>$O().domain(x.domain()).thresholds(o||(d?w:m))(a),[x,o,a,m,w,d]),b=u.useMemo(()=>Mo({domain:[0,sd(y,N=>N.length)??0],range:[s-sh,Tx],round:!0,nice:!0}),[y,s]),C=u.useMemo(()=>b.ticks().filter(N=>f?Number.isInteger(N):N),[f,b]),A=u.useRef(null);Tn(A,p,`${t}-${n}-Histogram`);const{tooltipData:T,tooltipLeft:$,tooltipTop:P,tooltipOpen:E,showTooltip:O,hideTooltip:L}=Rs(),{containerBounds:B,containerRef:V,TooltipInPortal:W}=nl({detectBounds:!0,debounce:500,scroll:!0,zIndex:1500}),M=i-ml-Px,_=s-Tx-sh-100,H=u.useCallback((N,k)=>{const F=("clientX"in N?N.clientX:0)-B.left,J=("clientY"in N?N.clientY:0)-B.top;F&&J&&O({tooltipLeft:F,tooltipTop:J,tooltipData:k})},[O,B]),z=u.useCallback(()=>{L()},[L]);return h.jsxs("div",{className:"rabbit-ds flex flex-col bg-white",style:{width:i,height:s},ref:A,children:[h.jsxs("svg",{width:i,height:s,ref:V,children:[h.jsx(df,{orientation:"bottom",scale:x,top:s-sh,hideTicks:!0,numTicks:6,stroke:"#CFD7DF",strokeWidth:1,rangePadding:{end:10},label:`${t} ➔`,tickLabelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,fill:"#666666",textAnchor:"middle"},labelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,dy:10,fill:"#666666",textAnchor:"middle",verticalAnchor:"middle"}}),h.jsx(df,{orientation:"left",scale:b,left:ml,hideTicks:!0,strokeWidth:1,stroke:"#CFD7DF",tickFormat:f?Ws("d"):void 0,tickValues:C,label:`${n} ➔`,tickLabelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,fill:"#666666",textAnchor:"end"},labelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,dx:-20,fill:"#666666",textAnchor:"middle",verticalAnchor:"middle"}}),h.jsxs(qt,{children:[h.jsx(Mx,{scale:b,width:M,height:_,left:ml,top:0,lineStyle:{stroke:"#EBEFF3",strokeWidth:1}}),y.map(N=>{const k=Math.abs(b(0)-b(N.length)),F=Math.abs(x(N.x1??0)-x(N.x0??0));return h.jsx("g",{children:h.jsx(aI,{x:x(N.x0??0),y:b(N.length),width:F,height:k&&k-1,fill:Ge(0).light,stroke:Ge(0).dark,strokeWidth:1,onMouseMove:J=>H(J,N),onMouseLeave:()=>z()})},Math.random())})]})]}),E&&T&&h.jsx(W,{top:P,left:$,unstyled:!0,applyPositionStyle:!0,children:h.jsx($x,{xAxisLabel:t,xValue:`${T.x0} to ${T.x1}`,yAxisLabel:n,yValue:T.length,tooltipTitle:e,legendValue:n,legendDarkColor:Ge(0).dark,legendLightColor:Ge(0).light})},Math.random()),b.domain()[2]]})}),kx=u.forwardRef((e,t)=>h.jsx(qn,{debounceTime:10,children:({width:n,height:r})=>h.jsx(lh,{ref:t,width:n,height:r,...e})}));lh.defaultProps={domain:void 0,binCount:void 0,integerBins:!1,integerYAxis:!1},lh.displayName="HistogramBase",kx.displayName="HistogramChart";const VB=kx,HB=e=>e.value,YB=e=>e.label,Ox=u.forwardRef(({width:e,height:t,unit:n="%",data:r},o)=>{const a=e/2,i=t/2,s=Math.min(e-200,t-20)/2,l=u.useRef(null);return Tn(l,o,"DonutChart"),h.jsx("div",{className:"rabbit-ds flex flex-col bg-white",style:{width:e,height:t},ref:l,children:h.jsx("svg",{width:e,height:t,className:"rabbit-ds",children:h.jsx(qt,{top:i,left:a,children:h.jsx(J_,{data:r,pieValue:HB,outerRadius:s-10,innerRadius:s-22-10,cornerRadius:2,padAngle:.025,children:c=>h.jsx(h.Fragment,{children:c.arcs.map(d=>{const[f,p]=c.path.centroid(d),v=YB(d.data),g=d.startAngle+(d.endAngle-d.startAngle)/2;return h.jsxs("g",{children:[h.jsx("path",{d:c.path(d)??void 0,fill:d.data.color}),h.jsxs(km,{x:f,y:p,dx:g>Math.PI?-30:30,dy:-20,children:[h.jsx(im,{type:"elbow",stroke:d.data.labelColor}),h.jsx(Pm,{radius:1,strokeWidth:2,stroke:d.data.labelColor}),h.jsx(Tm,{title:`${v}: ${d.value} ${n}`,maxWidth:100,backgroundFill:"transparent",backgroundPadding:{left:4,right:10},titleFontSize:10,horizontalAnchor:g>Math.PI?"end":"start",verticalAnchor:"middle",fontColor:d.data.labelColor,showAnchorLine:!1})]})]},`arc-${v}`)})})})})})})});Ox.displayName="DonutChartBase";const Nx=u.forwardRef((e,t)=>h.jsx(qn,{debounceTime:10,children:({width:n,height:r})=>h.jsx(Ox,{ref:t,width:n,height:r,...e})}));Nx.displayName="DonutChart";const GB=Nx;function Dx({xValue:e,yValue:t,tooltipTitle:n,xAxisLabel:r,yAxisLabel:o,showSideBySide:a,legendValue:i,legendDarkColor:s,legendLightColor:l}){const c=e==null?void 0:e.toString(),d=t==null?void 0:t.toString();return h.jsxs(ke,{tooltipTitle:n,showSideBySide:a,children:[h.jsx(ke.Item,{label:r,value:c}),h.jsx(ke.Item,{label:o,value:d}),h.jsx(ke.Legend,{value:i,darkColor:s,lightColor:l})]})}Dx.defaultProps={xValue:void 0,yValue:void 0};const bl={top:60,left:20,right:20,bottom:20},_x={start:10,end:-10,middle:0},Ix=u.forwardRef(({width:e,height:t,levels:n=5,nodes:r,xAxisLabel:o,xAxisCharLimit:a,tooltipTitle:i,xAxisUnitSymbol:s,yAxisDomain:l,series:c=[],xAxisValues:d},f)=>{const p=u.useRef(null);Tn(p,f,"RadarChart");const{tooltipData:v,tooltipLeft:g,tooltipTop:m,tooltipOpen:w,showTooltip:x,hideTooltip:y}=Rs(),{containerBounds:b,containerRef:C,TooltipInPortal:A}=nl({detectBounds:!0,debounce:500,scroll:!0,zIndex:1500}),T=u.useCallback((k,F)=>{const J=Math.PI*2/k;return[...new Array(k)].map((K,te)=>({x:F*Math.sin(te*J),y:F*Math.cos(te*J)}))},[]),$=u.useCallback((k,F,J)=>J==="pre"?`${F}${k}`:`${k}${F}`,[]),P=u.useCallback((k,F,J)=>{const K=Math.PI*2/k.length,te=new Array(k.length).fill({x:0,y:0,data:null}),ne=new Array(k.length+1).fill("").reduce((se,Z,re)=>{if(re>k.length)return se;const U=F(J(k[re-1]))*Math.sin(re*K),q=F(J(k[re-1]))*Math.cos(re*K);return te[re-1]={x:U,y:q,data:k[re-1]},`${se}${U},${q} `});return{points:te,pointString:ne}},[]),E=u.useMemo(()=>new wn({x:0,y:0}),[]),O=u.useCallback(k=>Math.round(k)===0?"middle":k>0?"start":"end",[]),L=u.useCallback((k,F)=>{const J=("clientX"in k?k.clientX:0)-b.left,K=("clientY"in k?k.clientY:0)-b.top;J&&K&&x({tooltipLeft:J,tooltipTop:K,tooltipData:F})},[x,b]),B=u.useCallback(()=>{y()},[y]),V=u.useMemo(()=>e-bl.left-bl.right,[e]),W=u.useMemo(()=>t-bl.top-bl.bottom,[t]),M=u.useMemo(()=>Math.min(V,W)/2,[V,W]),_=c.length?c.reduce((k,F)=>{const J=F.data.filter(K=>K);return Math.max(k,...J)},-1/0):0,H=Mo({range:[0,M],domain:l??[0,_]}),z=T(d.length,M),N=k=>P(k,F=>H(F)??0,F=>F);return h.jsxs("div",{className:"rabbit-ds flex flex-col bg-white",style:{width:e,height:t},ref:p,children:[h.jsxs("svg",{width:e,height:t,ref:C,pointerEvents:"all",onMouseLeave:B,children:[h.jsx("rect",{fill:"transparent",width:e,height:t,rx:14}),h.jsxs(qt,{top:t/2,left:e/2,children:[[...new Array(n)].map((k,F)=>h.jsx(u2,{x:e/2,y:t/2,fill:"none",stroke:"#CFD7DF",strokeWidth:1,strokeDasharray:4,r:M*(F+1)/n},`web1-${Math.random()}`)),d.map((k,F)=>h.jsxs(h.Fragment,{children:[h.jsx(Jd,{from:E,to:z[F],stroke:"#CFD7DF",strokeWidth:1},`radar-line-${Math.random()}`),h.jsx(po,{x:z[F].x,y:z[F].y,textAnchor:O(z[F].x),verticalAnchor:O(z[F].y),dx:_x[O(z[F].x)],dy:_x[O(z[F].y)],fontSize:10,fill:"#666666",width:a??100,children:`${s?$(d[(F+d.length-1)%d.length],s.symbol,s.position):d[(F+d.length-1)%d.length]}`})]})),c.map((k,F)=>h.jsx("polygon",{points:N(k.data).pointString,fill:Ge(F).light,fillOpacity:.2,stroke:Ge(F).dark,strokeWidth:1},`polypath-${Math.random()}`)),c.map((k,F)=>N(k.data).points.map((J,K)=>h.jsx(u2,{cx:J.x,cy:J.y,r:5,fill:"transparent",onMouseMove:te=>{var ne;return L(te,{yAxisLabel:((ne=r.find(se=>se.id===k.id))==null?void 0:ne.name)??"",xAxisValue:d[K],yAxisValue:k.data[K],xAxisLabel:o??"Category",legendDarkColor:Ge(F).dark,legendLightColor:Ge(F).light})},onMouseOut:B},`radar-point-${Math.random()}`)))]})]}),w&&v&&h.jsx(A,{top:m,left:g,unstyled:!0,applyPositionStyle:!0,children:h.jsx(Dx,{xAxisLabel:v.xAxisLabel??"",xValue:v.xAxisValue,yAxisLabel:v.yAxisLabel??"",yValue:v.yAxisValue,tooltipTitle:i,showSideBySide:!0,legendValue:v.yAxisLabel??"",legendDarkColor:v.legendDarkColor,legendLightColor:v.legendLightColor})},Math.random())]})});Ix.displayName="RadarChartBase";const Lx=u.forwardRef((e,t)=>h.jsx(qn,{debounceTime:10,children:({width:n,height:r})=>h.jsx(Ix,{ref:t,width:n,height:r,...e})}));Lx.displayName="RadarChart";const UB=Lx;function Fx({xValue:e,yValue:t,tooltipTitle:n,xAxisLabel:r,yAxisLabel:o,showSideBySide:a,legendValue:i,legendDarkColor:s,legendLightColor:l}){const c=e==null?void 0:e.toString(),d=t==null?void 0:t.toString();return h.jsxs(ke,{tooltipTitle:n,showSideBySide:a,children:[h.jsx(ke.Item,{label:r,value:c}),h.jsx(ke.Item,{label:o,value:d}),h.jsx(ke.Legend,{value:i,darkColor:s,lightColor:l})]})}Fx.defaultProps={xValue:void 0,yValue:void 0};const XB=({x:e,y:t,datum:n})=>h.jsx(oo,{cx:e,cy:t,stroke:n.color.dark,strokeWidth:1,fill:n.color.dark,r:5,style:{zIndex:1500}}),Bx={xAccessor:e=>e.x,yAccessor:e=>e.y},zx=(e,t,n)=>n==="pre"?`${t}${e}`:`${e}${t}`,Wx=10,qB=5,ch=u.forwardRef(({nodes:e,height:t,width:n,xAxisValues:r,series:o,xAxisLabel:a,yAxisLabel:i,xAxisDomain:s,yAxisDomain:l,xAxisUnitSymbol:c,yAxisUnitSymbol:d,tooltipTitle:f,mode:p,xAxisCharLimit:v,maxNodesInMiniMode:g=qB,tooltipStackCharLimit:m=Wx,seriesSelectorTitle:w},x)=>{const[y,b]=u.useState(e.map(P=>P.id)),C=u.useRef(null);Tn(C,x,`${a}-${i}-StackedBarChart`);const A=u.useMemo(()=>o.map((P,E)=>{const O=e.find(L=>L.id===P.id);return{points:P.data.map((L,B)=>({x:r[B],y:L,nodeId:P.id,color:(O==null?void 0:O.color)??Ge(E)}))}}).slice(0,p==="mini"?g:o.length),[o,p,g,e,r]),T=u.useMemo(()=>p==="full"?A.filter(P=>y.includes(P.points[0].nodeId)):A,[A,y,p]),$=u.useMemo(()=>Math.floor((n-(p==="mini"?0:150))/(r.length*8)),[n,r,p]);return h.jsxs("div",{ref:C,id:"line-chart",className:"rabbit-ds flex flex-col bg-white",style:{width:n,height:t},children:[h.jsxs("div",{className:"flex h-full min-h-0 w-full min-w-0 flex-row",children:[h.jsx("div",{className:"h-full min-h-0 w-full min-w-0",children:h.jsxs(ar,{margin:{top:10,left:50,right:50,bottom:50},xScale:{type:"band",nice:!0,padding:.5,...s&&{domain:s}},yScale:{type:"linear",nice:!0,...l&&{domain:l}},children:[h.jsx(S2,{columns:!1,numTicks:6,lineStyle:{stroke:"#EBEFF3",strokeWidth:1}}),h.jsx($o,{hideTicks:!0,orientation:"bottom",stroke:"#CFD7DF",strokeWidth:1,numTicks:6,tickFormat:P=>c?zx(P,c.symbol,c.position):P,rangePadding:{end:10},tickComponent:P=>h.jsx(Ya,{textLabel:P.formattedValue||"",x:P.x,y:P.y,textStyles:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,fill:"#666666",textAnchor:"middle"},axisCharLimit:v??$}),label:`${a} ➔`,labelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,dy:10,fill:"#666666",textAnchor:"middle",verticalAnchor:"middle"}}),h.jsx($o,{hideTicks:!0,numTicks:6,strokeWidth:1,orientation:"left",stroke:"#CFD7DF",label:`${i} ➔`,tickFormat:P=>d?zx(P,d.symbol,d.position):P,tickLabelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,fill:"#666666"},labelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,dx:-20,fill:"#666666",textAnchor:"middle",verticalAnchor:"middle"}}),h.jsx(mB,{children:T.map(P=>h.jsx(pB,{data:P.points,dataKey:P.points[0].nodeId,xAccessor:Bx.xAccessor,yAccessor:Bx.yAccessor,colorAccessor:E=>E.color.light,radiusTop:!0,radius:2},P.points[0].nodeId))}),h.jsx(rl,{showDatumGlyph:!0,scroll:!0,debounce:500,snapTooltipToDatumX:!0,snapTooltipToDatumY:!0,detectBounds:!0,unstyled:!0,applyPositionStyle:!0,renderGlyph:XB,renderTooltip:({tooltipData:P})=>{var L,B,V,W,M,_;const E=e.find(H=>{var z;return H.id===((z=P==null?void 0:P.nearestDatum)==null?void 0:z.datum.nodeId)}),O=((L=P==null?void 0:P.nearestDatum)==null?void 0:L.datum)&&((B=P==null?void 0:P.nearestDatum)==null?void 0:B.datum.x.length)<m;return h.jsx(Fx,{xValue:(V=P==null?void 0:P.nearestDatum)==null?void 0:V.datum.x,yValue:(W=P==null?void 0:P.nearestDatum)==null?void 0:W.datum.y,xAxisLabel:a,yAxisLabel:i,showSideBySide:!!O,tooltipTitle:f,legendValue:(E==null?void 0:E.name)||"",legendDarkColor:((M=P==null?void 0:P.nearestDatum)==null?void 0:M.datum.color.dark)||Ge(0).dark,legendLightColor:((_=P==null?void 0:P.nearestDatum)==null?void 0:_.datum.color.light)||Ge(0).light})}})]})}),p==="full"&&h.jsxs("div",{className:"inline-flex w-64 shrink-0 grow-0 basis-auto flex-col items-start justify-start gap-0.5 rounded border border-solid border-[color:var(--Accent,#EBEFF3)] bg-[#FDFDFD] p-4 pr-0 text-xs",children:[h.jsxs("div",{className:"pb-1 text-xs font-semibold",children:[h.jsx("span",{className:"pr-1",children:w??a}),"(",T.length??0,"/",A.length,")"]}),h.jsx("div",{className:"inline-flex h-[95%] w-full shrink-0 grow-0 flex-col items-start justify-start gap-1 overflow-scroll pr-4",children:A.map(P=>{const E=e.find(O=>O.id===P.points[0].nodeId);return E&&h.jsxs("div",{className:"flex w-full items-center justify-between gap-1 py-1",children:[h.jsxs("div",{className:"flex items-center justify-between",children:[h.jsx("div",{style:{backgroundColor:P.points[0].color.light,borderColor:P.points[0].color.dark},className:"mr-1 h-3 w-3 rounded-full border"}),E.name]}),h.jsx("div",{className:"flex items-center",children:h.jsx(Fl,{checked:y.includes(E.id),onCheckedChange:O=>{let L=[...y];O?L=[...y,E.id]:L.splice(y.indexOf(E.id),1),b(L)}})})]},E.id)})})]})]}),p==="mini"&&h.jsx("div",{className:"flex flex-row flex-wrap justify-center gap-4 text-[10px] font-semibold text-font-secondary",children:A.map(P=>{const E=e.find(O=>O.id===P.points[0].nodeId);return h.jsxs("div",{className:"flex items-center justify-center gap-1",children:[h.jsx("div",{style:{backgroundColor:P.points[0].color.light,borderColor:P.points[0].color.dark},className:"h-3 w-3 rounded-full border"}),E==null?void 0:E.name]},E==null?void 0:E.id)})})]})}),KB={xAxisUnitSymbol:void 0,yAxisUnitSymbol:void 0,mode:"mini",xAxisCharLimit:void 0,tooltipStackCharLimit:Wx,xAxisDomain:void 0,yAxisDomain:void 0,connectNulls:!1};ch.defaultProps=KB,ch.displayName="StackedBarChartBase";const jx=u.forwardRef((e,t)=>h.jsx(qn,{debounceTime:10,children:({width:n,height:r})=>h.jsx(ch,{ref:t,width:n,height:r,...e})}));jx.displayName="StackedBarChart";const QB=jx;function Vx({xValue:e,yValue:t,tooltipTitle:n,xAxisLabel:r,yAxisLabel:o,showSideBySide:a,chartLevelMetaData:i,nodeLevelMetaData:s={}}){const l=e==null?void 0:e.toString(),c=t==null?void 0:t.toString();return h.jsxs(ke,{tooltipTitle:n,showSideBySide:a,children:[h.jsx(ke.Header,{label:"Review Cycle",value:i.reviewCycleName}),h.jsx(ke.Item,{label:r,value:l}),h.jsx(ke.Item,{label:o,value:c}),h.jsx(ke.Footer,{nodeData:s})]})}Vx.defaultProps={xValue:void 0,yValue:void 0};function ZB({data:e,xAccessor:t,yAccessor:n,connectNulls:r=!1}){const o=u.useContext(Mt),a=r?e.filter(i=>i.y!==null):e;return h.jsx(h.Fragment,{children:h.jsx(l2,{data:a,stroke:a[0].color.dark,strokeWidth:1,x:i=>{var s;return((s=o==null?void 0:o.xScale)==null?void 0:s.call(o,t(i)))??0},y:i=>{var s;return((s=o==null?void 0:o.yScale)==null?void 0:s.call(o,n(i)))??0},curve:ia,shapeRendering:"geometricPrecision"})})}const JB=({x:e,y:t,datum:n,size:r})=>h.jsx(oo,{cx:e,cy:t,stroke:n.color.dark,strokeWidth:1,fill:n.color.light,r:r/2}),RB=({x:e,y:t,datum:n})=>h.jsx(oo,{cx:e,cy:t,stroke:n.color.dark,strokeWidth:1,fill:n.color.dark,r:5,style:{zIndex:1500}}),yl={xAccessor:e=>e.x,yAccessor:e=>e.y},Hx=(e,t,n)=>n==="pre"?`${t}${e}`:`${e}${t}`,ez=10,tz=5,Yx=u.forwardRef(({rowsCount:e=3,nodes:t,height:n,width:r,xAxisLabel:o,yAxisLabel:a,xAxisDomain:i,yAxisDomain:s,xAxisUnitSymbol:l,yAxisUnitSymbol:c,tooltipTitle:d,mode:f="mini",xAxisCharLimit:p,connectNulls:v=!1,maxNodesInMiniMode:g=tz,tooltipStackCharLimit:m=ez,withBackground:w=!0,chartLevelMetaData:x},y)=>{const b=u.useRef(null),C=e===1;Tn(b,y,`${o}-${a}-DirectedLineChart`);const A=u.useMemo(()=>t.map(($,P)=>({points:$.xValues.map((E,O)=>{var B;let L=null;return C?L=1/t.length*(P+1)+1/(t.length*10)*(O+1):L=((B=$==null?void 0:$.yValues)==null?void 0:B[O])??null,{x:$.xValues[O],y:L,nodeId:$.id,color:Ge(P)}})})).slice(0,f==="mini"?g:t.length),[t,f,g,C]),T=u.useMemo(()=>Math.floor((r-(f==="mini"?0:150))/(t[0].xValues.length*8)),[r,f,t]);return h.jsx("div",{ref:b,id:"directed-line-chart",className:ue("rabbit-ds flex flex-col ",w?"bg-[white]":""),style:{width:r,height:n},children:h.jsx("div",{className:"flex h-full min-h-0 w-full min-w-0 flex-row",children:h.jsx("div",{className:"h-full min-h-0 w-full min-w-0",children:h.jsxs(ar,{xScale:typeof i[0]=="string"?{type:"band",domain:i,padding:1}:{type:"linear",domain:i},yScale:typeof s[0]=="string"?{type:"band",domain:s,padding:1}:{type:"linear",domain:s},children:[h.jsx($o,{hideTicks:!0,orientation:"bottom",stroke:"#CFD7DF",strokeWidth:1,numTicks:6,tickFormat:$=>l?Hx($,l.symbol,l.position):$,tickComponent:$=>h.jsx(Ya,{textLabel:$.formattedValue||"",x:$.x,y:$.y,textStyles:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,fill:"#666666",textAnchor:"middle"},axisCharLimit:p??T}),label:`${o} ➔`,labelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,dy:10,fill:"#666666",textAnchor:"middle",verticalAnchor:"middle"}}),h.jsx($o,{hideTicks:!0,numTicks:C?0:6,strokeWidth:C?0:1,orientation:"left",stroke:"#CFD7DF",label:a?`${a} ➔`:"",tickFormat:$=>c?Hx($,c.symbol,c.position):$,tickLabelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,fill:"#666666"},labelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,dx:-20,fill:"#666666",textAnchor:"middle",verticalAnchor:"middle"}}),A.map(($,P)=>h.jsxs(h.Fragment,{children:[h.jsx(ZB,{data:$.points,xAccessor:yl.xAccessor,yAccessor:yl.yAccessor,connectNulls:v}),h.jsx(dx,{dataKey:`Performance Management ${P}`,data:$.points,size:8,renderGlyph:JB,xAccessor:yl.xAccessor,yAccessor:yl.yAccessor})]})),h.jsx(rl,{showDatumGlyph:!0,scroll:!0,debounce:500,snapTooltipToDatumX:!0,snapTooltipToDatumY:!0,detectBounds:!0,unstyled:!0,applyPositionStyle:!0,renderGlyph:RB,renderTooltip:({tooltipData:$})=>{var O,L,B,V;const P=t.find(W=>{var M;return W.id===((M=$==null?void 0:$.nearestDatum)==null?void 0:M.datum.nodeId)}),E=((O=$==null?void 0:$.nearestDatum)==null?void 0:O.datum)&&String((L=$==null?void 0:$.nearestDatum)==null?void 0:L.datum.x).length<m;return h.jsx(Vx,{xValue:(B=$==null?void 0:$.nearestDatum)==null?void 0:B.datum.x,yValue:(V=$==null?void 0:$.nearestDatum)==null?void 0:V.datum.y,xAxisLabel:o,yAxisLabel:a,showSideBySide:!!E,tooltipTitle:d,chartLevelMetaData:x,nodeLevelMetaData:P==null?void 0:P.nodeMetaData})}})]})})})})});Yx.displayName="LineBase";const Gx=u.forwardRef((e,t)=>h.jsx(qn,{debounceTime:10,children:({width:n,height:r})=>h.jsx(Yx,{ref:t,width:n,height:r,...e})}));Gx.displayName="DirectedLineChart";const Ux=Gx,nz=[{"#FFEFD4":"#AF5C20"},{"#DBF2D3":"#44812F"},{"#BFE8C6":"#1A5724"},{"#FFE7C5":"#8C6A00"},{"#FAD4D4":"#C62C02"},{"#EAEAEA":"#333333"},{"#E6F1FD":"#1565BC"},{"#FFE1D9":"#C62C02"}];function rz({box:e}){function t(n){if(!n)return"#333";const r=nz.find(o=>o[n]);return r?r[n]:n}return h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsxs("div",{className:"flex shrink grow basis-0 flex-col items-start ",children:[h.jsx("div",{className:"flex items-start gap-2.5",children:h.jsxs("span",{className:"text-3xs",style:{color:t(t(e==null?void 0:e.color))},children:[" ",e==null?void 0:e.label]})}),h.jsxs("span",{className:" text-3xs text-stone-500",children:[e==null?void 0:e.count," Member",N3(e==null?void 0:e.count)]})]}),h.jsx("div",{className:"flex items-start ",children:h.jsx("div",{className:"flex items-center justify-center rounded-3xl bg-neutral-50/40 px-0.5",children:h.jsxs("span",{className:" text-2xs leading-4 text-stone-500",children:[e==null?void 0:e.percentage,"%"]})})})]})}const oz=({rows:e,columns:t,boxData:n=[]})=>{let r="";return!n||(n==null?void 0:n.length)===0||(r=n.slice(0,t).reduce((a,i)=>{var d,f,p,v;const s=e===1?"OVERALL":"PERFORMANCE",l=((f=(d=i==null?void 0:i.scoreRange)==null?void 0:d[s])==null?void 0:f.maxScore)??0,c=((v=(p=i==null?void 0:i.scoreRange)==null?void 0:p[s])==null?void 0:v.minScore)??0;return`${a} minmax(20px, ${l-c}fr)`},"")),r},az=({rows:e,columns:t,boxData:n=[]})=>{if(e===1)return"1fr";let r="";return!n||(n==null?void 0:n.length)===0||(r=n.filter((a,i)=>i%t===0).reduce((a,i)=>{var d,f,p,v;const s="POTENTIAL",l=((f=(d=i==null?void 0:i.scoreRange)==null?void 0:d[s])==null?void 0:f.maxScore)??0,c=((v=(p=i==null?void 0:i.scoreRange)==null?void 0:p[s])==null?void 0:v.minScore)??0;return`${a} minmax(20px, ${l-c}fr)`},"")),r},Xx=u.forwardRef(({rows:e=3,columns:t=3,spacing:n="0",boxData:r=[],position:o="relative",margin:a="0",width:i="100%",left:s=0,top:l=0},c)=>{const d=u.useRef(null);return Tn(d,c,"GridChart"),h.jsx("div",{ref:d,style:{position:o,top:l,left:s,width:i,margin:a,height:"100%"},children:h.jsx("div",{style:{display:"grid",gridTemplateRows:az({rows:e,columns:t,boxData:r}),gridTemplateColumns:oz({rows:e,columns:t,boxData:r}),gap:n,height:"100%"},children:r==null?void 0:r.map((f,p)=>h.jsx("div",{style:{padding:"8px",backgroundColor:(f==null?void 0:f.color)??"#CFD7DF"},children:h.jsx(rz,{box:f})},f.label+f.color+p))})})});Xx.displayName="GridChart";const qx=Xx,Kx=u.forwardRef(({directedLineChartProps:e,gridChartProps:t},n)=>{const r=u.useRef(null);return Tn(r,n,`${e.xAxisLabel}-${e.yAxisLabel}-GridDirectedLineChart`),h.jsxs("div",{ref:r,className:"relative h-full w-full",children:[h.jsx("div",{className:"absolute m-[50px] h-[calc(100%-100px)] w-[calc(100%-100px)]",children:h.jsx(qx,{...t})}),h.jsxs("div",{className:"absolute h-full w-full",children:[h.jsx(Ux,{...e}),h.jsx("div",{})]})]})});Kx.displayName="GridDirectedLineChart";const iz=Kx,xl="ToggleGroup",[Qx,Hj]=nt(xl,[Jr]),Zx=Jr(),sz=u.forwardRef((e,t)=>{const{type:n,...r}=e;if(n==="single"){const o=r;return u.createElement(lz,X({},o,{ref:t}))}if(n==="multiple"){const o=r;return u.createElement(cz,X({},o,{ref:t}))}throw new Error(`Missing prop \`type\` expected on \`${xl}\``)}),[Jx,Rx]=Qx(xl),lz=u.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=e,[i,s]=st({prop:n,defaultProp:r,onChange:o});return u.createElement(Jx,{scope:e.__scopeToggleGroup,type:"single",value:i?[i]:[],onItemActivate:s,onItemDeactivate:u.useCallback(()=>s(""),[s])},u.createElement(ew,X({},a,{ref:t})))}),cz=u.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=e,[i=[],s]=st({prop:n,defaultProp:r,onChange:o}),l=u.useCallback(d=>s((f=[])=>[...f,d]),[s]),c=u.useCallback(d=>s((f=[])=>f.filter(p=>p!==d)),[s]);return u.createElement(Jx,{scope:e.__scopeToggleGroup,type:"multiple",value:i,onItemActivate:l,onItemDeactivate:c},u.createElement(ew,X({},a,{ref:t})))}),[uz,dz]=Qx(xl),ew=u.forwardRef((e,t)=>{const{__scopeToggleGroup:n,disabled:r=!1,rovingFocus:o=!0,orientation:a,dir:i,loop:s=!0,...l}=e,c=Zx(n),d=Ln(i),f={role:"group",dir:d,...l};return u.createElement(uz,{scope:n,rovingFocus:o,disabled:r},o?u.createElement(Oc,X({asChild:!0},c,{orientation:a,dir:d,loop:s}),u.createElement(me.div,X({},f,{ref:t}))):u.createElement(me.div,X({},f,{ref:t})))}),uh="ToggleGroupItem",fz=u.forwardRef((e,t)=>{const n=Rx(uh,e.__scopeToggleGroup),r=dz(uh,e.__scopeToggleGroup),o=Zx(e.__scopeToggleGroup),a=n.value.includes(e.value),i=r.disabled||e.disabled,s={...e,pressed:a,disabled:i},l=u.useRef(null);return r.rovingFocus?u.createElement(Nc,X({asChild:!0},o,{focusable:!i,active:a,ref:l}),u.createElement(tw,X({},s,{ref:t}))):u.createElement(tw,X({},s,{ref:t}))}),tw=u.forwardRef((e,t)=>{const{__scopeToggleGroup:n,value:r,...o}=e,a=Rx(uh,n),i={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},s=a.type==="single"?i:void 0;return u.createElement(qh,X({},s,o,{ref:t,onPressedChange:l=>{l?a.onItemActivate(r):a.onItemDeactivate(r)}}))}),hz=sz,pz=fz;function gz({children:e,...t}){return h.jsx(hz,{className:"flex gap-2",...t,children:e})}function vz({value:e,disabled:t,selected:n,icon:r,label:o,count:a,...i}){return h.jsx(pz,{asChild:!0,value:e,...i,children:h.jsx("button",{"data-deer-btn":!0,type:"button",className:ue("rabbit-ds h-7 flex-col w-auto p-0 border border-solid rounded-full justify-center items-center inline-flex hover:cursor-pointer","data-[state=off]:border-gray-100 data-[state=off]:bg-gray-100 data-[state=off]:text-font-secondary","data-[state=on]:border-primary-hover data-[state=on]:bg-primary/10 data-[state=on]:text-primary-hover","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2"),children:h.jsxs("div",{className:"flex flex-row items-center justify-center gap-1 rounded-full px-4 py-1",children:[r?h.jsx(Fe,{IconSVG:r,size:"small"}):null,h.jsxs("div",{className:"text-sm font-semibold",children:[o?h.jsx("span",{children:o}):null," ",a?h.jsxs("span",{children:["(",a,")"]}):null]})]})})})}const Ga="NavigationMenu",[dh,mz,bz]=vr(Ga),[fh,yz,xz]=vr(Ga),[hh,Yj]=nt(Ga,[bz,xz]),[wz,Fr]=hh(Ga),[Az,Gj]=hh(Ga),Cz=u.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,onValueChange:o,defaultValue:a,delayDuration:i=200,skipDelayDuration:s=300,orientation:l="horizontal",dir:c,...d}=e,[f,p]=u.useState(null),v=Ce(t,E=>p(E)),g=Ln(c),m=u.useRef(0),w=u.useRef(0),x=u.useRef(0),[y,b]=u.useState(!0),[C="",A]=st({prop:r,onChange:E=>{const O=E!=="",L=s>0;O?(window.clearTimeout(x.current),L&&b(!1)):(window.clearTimeout(x.current),x.current=window.setTimeout(()=>b(!0),s)),o==null||o(E)},defaultProp:a}),T=u.useCallback(()=>{window.clearTimeout(w.current),w.current=window.setTimeout(()=>A(""),150)},[A]),$=u.useCallback(E=>{window.clearTimeout(w.current),A(E)},[A]),P=u.useCallback(E=>{C===E?window.clearTimeout(w.current):m.current=window.setTimeout(()=>{window.clearTimeout(w.current),A(E)},i)},[C,A,i]);return u.useEffect(()=>()=>{window.clearTimeout(m.current),window.clearTimeout(w.current),window.clearTimeout(x.current)},[]),u.createElement(Sz,{scope:n,isRootMenu:!0,value:C,dir:g,orientation:l,rootNavigationMenu:f,onTriggerEnter:E=>{window.clearTimeout(m.current),y?P(E):$(E)},onTriggerLeave:()=>{window.clearTimeout(m.current),T()},onContentEnter:()=>window.clearTimeout(w.current),onContentLeave:T,onItemSelect:E=>{A(O=>O===E?"":E)},onItemDismiss:()=>A("")},u.createElement(me.nav,X({"aria-label":"Main","data-orientation":l,dir:g},d,{ref:v})))}),Sz=e=>{const{scope:t,isRootMenu:n,rootNavigationMenu:r,dir:o,orientation:a,children:i,value:s,onItemSelect:l,onItemDismiss:c,onTriggerEnter:d,onTriggerLeave:f,onContentEnter:p,onContentLeave:v}=e,[g,m]=u.useState(null),[w,x]=u.useState(new Map),[y,b]=u.useState(null);return u.createElement(wz,{scope:t,isRootMenu:n,rootNavigationMenu:r,value:s,previousValue:Ka(s),baseId:lt(),dir:o,orientation:a,viewport:g,onViewportChange:m,indicatorTrack:y,onIndicatorTrackChange:b,onTriggerEnter:Qe(d),onTriggerLeave:Qe(f),onContentEnter:Qe(p),onContentLeave:Qe(v),onItemSelect:Qe(l),onItemDismiss:Qe(c),onViewportContentChange:u.useCallback((C,A)=>{x(T=>(T.set(C,A),new Map(T)))},[]),onViewportContentRemove:u.useCallback(C=>{x(A=>A.has(C)?(A.delete(C),new Map(A)):A)},[])},u.createElement(dh.Provider,{scope:t},u.createElement(Az,{scope:t,items:w},i)))},Ez="NavigationMenuList",Mz=u.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Fr(Ez,n),a=u.createElement(me.ul,X({"data-orientation":o.orientation},r,{ref:t}));return u.createElement(me.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange},u.createElement(dh.Slot,{scope:n},o.isRootMenu?u.createElement(aw,{asChild:!0},a):a))}),$z="NavigationMenuItem",[Tz,nw]=hh($z),Pz=u.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,...o}=e,a=lt(),i=r||a||"LEGACY_REACT_AUTO_VALUE",s=u.useRef(null),l=u.useRef(null),c=u.useRef(null),d=u.useRef(()=>{}),f=u.useRef(!1),p=u.useCallback((g="start")=>{if(s.current){d.current();const m=ph(s.current);m.length&&gh(g==="start"?m:m.reverse())}},[]),v=u.useCallback(()=>{if(s.current){const g=ph(s.current);g.length&&(d.current=Fz(g))}},[]);return u.createElement(Tz,{scope:n,value:i,triggerRef:l,contentRef:s,focusProxyRef:c,wasEscapeCloseRef:f,onEntryKeyDown:p,onFocusProxyEnter:p,onRootContentClose:v,onContentFocusOutside:v},u.createElement(me.li,X({},o,{ref:t})))}),rw="NavigationMenuTrigger",kz=u.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,disabled:r,...o}=e,a=Fr(rw,e.__scopeNavigationMenu),i=nw(rw,e.__scopeNavigationMenu),s=u.useRef(null),l=Ce(s,i.triggerRef,t),c=cw(a.baseId,i.value),d=uw(a.baseId,i.value),f=u.useRef(!1),p=u.useRef(!1),v=i.value===a.value;return u.createElement(u.Fragment,null,u.createElement(dh.ItemSlot,{scope:n,value:i.value},u.createElement(sw,{asChild:!0},u.createElement(me.button,X({id:c,disabled:r,"data-disabled":r?"":void 0,"data-state":lw(v),"aria-expanded":v,"aria-controls":d},o,{ref:l,onPointerEnter:de(e.onPointerEnter,()=>{p.current=!1,i.wasEscapeCloseRef.current=!1}),onPointerMove:de(e.onPointerMove,vh(()=>{r||p.current||i.wasEscapeCloseRef.current||f.current||(a.onTriggerEnter(i.value),f.current=!0)})),onPointerLeave:de(e.onPointerLeave,vh(()=>{r||(a.onTriggerLeave(),f.current=!1)})),onClick:de(e.onClick,()=>{a.onItemSelect(i.value),p.current=v}),onKeyDown:de(e.onKeyDown,g=>{const w={horizontal:"ArrowDown",vertical:a.dir==="rtl"?"ArrowLeft":"ArrowRight"}[a.orientation];v&&g.key===w&&(i.onEntryKeyDown(),g.preventDefault())})})))),v&&u.createElement(u.Fragment,null,u.createElement(Zg,{"aria-hidden":!0,tabIndex:0,ref:i.focusProxyRef,onFocus:g=>{const m=i.contentRef.current,w=g.relatedTarget,x=w===s.current,y=m==null?void 0:m.contains(w);(x||!y)&&i.onFocusProxyEnter(x?"start":"end")}}),a.viewport&&u.createElement("span",{"aria-owns":d})))}),ow="navigationMenu.linkSelect",Oz=u.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,active:r,onSelect:o,...a}=e;return u.createElement(sw,{asChild:!0},u.createElement(me.a,X({"data-active":r?"":void 0,"aria-current":r?"page":void 0},a,{ref:t,onClick:de(e.onClick,i=>{const s=i.target,l=new CustomEvent(ow,{bubbles:!0,cancelable:!0});if(s.addEventListener(ow,c=>o==null?void 0:o(c),{once:!0}),Za(s,l),!l.defaultPrevented&&!i.metaKey){const c=new CustomEvent(Al,{bubbles:!0,cancelable:!0});Za(s,c)}},{checkForDefaultPrevented:!1})})))}),wl="NavigationMenuContent",Nz=u.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Fr(wl,e.__scopeNavigationMenu),a=nw(wl,e.__scopeNavigationMenu),i=Ce(a.contentRef,t),s=a.value===o.value,l={value:a.value,triggerRef:a.triggerRef,focusProxyRef:a.focusProxyRef,wasEscapeCloseRef:a.wasEscapeCloseRef,onContentFocusOutside:a.onContentFocusOutside,onRootContentClose:a.onRootContentClose,...r};return o.viewport?u.createElement(Dz,X({forceMount:n},l,{ref:i})):u.createElement(Et,{present:n||s},u.createElement(_z,X({"data-state":lw(s)},l,{ref:i,onPointerEnter:de(e.onPointerEnter,o.onContentEnter),onPointerLeave:de(e.onPointerLeave,vh(o.onContentLeave)),style:{pointerEvents:!s&&o.isRootMenu?"none":void 0,...l.style}})))}),Dz=u.forwardRef((e,t)=>{const n=Fr(wl,e.__scopeNavigationMenu),{onViewportContentChange:r,onViewportContentRemove:o}=n;return dt(()=>{r(e.value,{ref:t,...e})},[e,t,r]),dt(()=>()=>o(e.value),[e.value,o]),null}),Al="navigationMenu.rootContentDismiss",_z=u.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,triggerRef:o,focusProxyRef:a,wasEscapeCloseRef:i,onRootContentClose:s,onContentFocusOutside:l,...c}=e,d=Fr(wl,n),f=u.useRef(null),p=Ce(f,t),v=cw(d.baseId,r),g=uw(d.baseId,r),m=mz(n),w=u.useRef(null),{onItemDismiss:x}=d;u.useEffect(()=>{const b=f.current;if(d.isRootMenu&&b){const C=()=>{var A;x(),s(),b.contains(document.activeElement)&&((A=o.current)===null||A===void 0||A.focus())};return b.addEventListener(Al,C),()=>b.removeEventListener(Al,C)}},[d.isRootMenu,e.value,o,x,s]);const y=u.useMemo(()=>{const C=m().map(O=>O.value);d.dir==="rtl"&&C.reverse();const A=C.indexOf(d.value),T=C.indexOf(d.previousValue),$=r===d.value,P=T===C.indexOf(r);if(!$&&!P)return w.current;const E=(()=>{if(A!==T){if($&&T!==-1)return A>T?"from-end":"from-start";if(P&&A!==-1)return A>T?"to-start":"to-end"}return null})();return w.current=E,E},[d.previousValue,d.value,d.dir,m,r]);return u.createElement(aw,{asChild:!0},u.createElement(jo,X({id:g,"aria-labelledby":v,"data-motion":y,"data-orientation":d.orientation},c,{ref:p,onDismiss:()=>{var b;const C=new Event(Al,{bubbles:!0,cancelable:!0});(b=f.current)===null||b===void 0||b.dispatchEvent(C)},onFocusOutside:de(e.onFocusOutside,b=>{var C;l();const A=b.target;(C=d.rootNavigationMenu)!==null&&C!==void 0&&C.contains(A)&&b.preventDefault()}),onPointerDownOutside:de(e.onPointerDownOutside,b=>{var C;const A=b.target,T=m().some(P=>{var E;return(E=P.ref.current)===null||E===void 0?void 0:E.contains(A)}),$=d.isRootMenu&&((C=d.viewport)===null||C===void 0?void 0:C.contains(A));(T||$||!d.isRootMenu)&&b.preventDefault()}),onKeyDown:de(e.onKeyDown,b=>{const C=b.altKey||b.ctrlKey||b.metaKey;if(b.key==="Tab"&&!C){const $=ph(b.currentTarget),P=document.activeElement,E=$.findIndex(B=>B===P),L=b.shiftKey?$.slice(0,E).reverse():$.slice(E+1,$.length);if(gh(L))b.preventDefault();else{var T;(T=a.current)===null||T===void 0||T.focus()}}}),onEscapeKeyDown:de(e.onEscapeKeyDown,b=>{i.current=!0})})))}),Iz="FocusGroup",aw=u.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Fr(Iz,n);return u.createElement(fh.Provider,{scope:n},u.createElement(fh.Slot,{scope:n},u.createElement(me.div,X({dir:o.dir},r,{ref:t}))))}),iw=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],Lz="FocusGroupItem",sw=u.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=yz(n),a=Fr(Lz,n);return u.createElement(fh.ItemSlot,{scope:n},u.createElement(me.button,X({},r,{ref:t,onKeyDown:de(e.onKeyDown,i=>{if(["Home","End",...iw].includes(i.key)){let l=o().map(f=>f.ref.current);if([a.dir==="rtl"?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(i.key)&&l.reverse(),iw.includes(i.key)){const f=l.indexOf(i.currentTarget);l=l.slice(f+1)}setTimeout(()=>gh(l)),i.preventDefault()}})})))});function ph(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function gh(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}function Fz(e){return e.forEach(t=>{t.dataset.tabindex=t.getAttribute("tabindex")||"",t.setAttribute("tabindex","-1")}),()=>{e.forEach(t=>{const n=t.dataset.tabindex;t.setAttribute("tabindex",n)})}}function lw(e){return e?"open":"closed"}function cw(e,t){return`${e}-trigger-${t}`}function uw(e,t){return`${e}-content-${t}`}function vh(e){return t=>t.pointerType==="mouse"?e(t):void 0}const Bz=Cz,zz=Mz,Wz=Pz,jz=kz,dw=Oz,Vz=Nz,Hz=We(["rabbit-ds h-full w-full px-3 py-2 [&>*:first-child]:h-full"],{variants:{variant:{default:""},defaultVariant:{variant:"default"}}});function Yz(){return h.jsx("div",{className:"relative h-full w-full",children:h.jsxs("div",{className:"absolute left-0 top-0 h-full w-full bg-gradient-to-b from-[#E9F5F8] via-[#F7F7F7] to-[#A1E7FC] shadow-[-4px_0px_4px_0px_rgba(0,0,0.05)_inset]",children:[h.jsx("div",{className:"absolute inset-0 h-full w-full",style:{background:"linear-gradient(180deg, rgba(231, 244, 247, 0.80) 0%, rgba(185, 239, 254, 0.80) 40%, rgba(136, 226, 252, 0.80) 100%)",boxShadow:"-2px 0px 4px rgba(0, 0, 0, 0.05) inset"}}),h.jsx("div",{className:"absolute inset-0 h-full w-full mix-blend-darken",style:{background:"linear-gradient(180deg, #DEEAED 0%, #F6F6F6 40%, #F5F7F7 100%)",boxShadow:"-2px 0px 4px rgba(0, 0, 0, 0.05) inset"}}),h.jsx("div",{className:"absolute inset-0 h-full w-full mix-blend-hard-light",style:{background:"linear-gradient(180deg, #DEEAED 0%, #F6F6F6 40%, #F5F7F7 100%)",boxShadow:"-4px 0px 4px rgba(0, 0, 0, 0.05) inset"}}),h.jsx("div",{className:"absolute inset-0 h-full w-full opacity-60 mix-blend-multiply",style:{background:"linear-gradient(89deg, #A0E7FC 0%, #A4E8FC 19%, #F5F7F7 100%)",boxShadow:"-4px 0px 4px rgba(0, 0, 0, 0.05) inset"}}),h.jsx("div",{className:"absolute inset-0 h-full w-full opacity-90 mix-blend-darken",style:{background:"linear-gradient(180deg, #AAE9FC 0%, #D7F1F8 40%, #F4FDFF 100%)",backdropFilter:"blur(4px)"}}),h.jsx("div",{className:"absolute inset-0 h-full w-full mix-blend-hard-light",style:{background:"linear-gradient(87deg, rgba(233, 245, 248, 0.60) 0%, rgba(247, 247, 247, 0.60) 19%, rgba(247, 247, 247, 0.60) 38%, rgba(161, 231, 252, 0.60) 100%)",boxShadow:"-4px 0px 4px rgba(0, 0, 0, 0.05) inset"}})]})})}const fw=u.forwardRef(({className:e,children:t,...n},r)=>h.jsxs("div",{className:"rabbit-ds relative h-screen w-20",children:[h.jsx("div",{className:"absolute h-full w-full",children:h.jsx(Yz,{})}),h.jsx(Bz,{className:ue(Hz({className:e})),orientation:"vertical",ref:r,...n,children:h.jsx(zz,{className:"m-0 flex h-full flex-col p-0",children:t})})]}));fw.displayName="LeftNav";const mh=u.forwardRef(({children:e,asChild:t=!1,...n},r)=>{const o=t?pn:"div";return h.jsx(Wz,{asChild:!0,children:h.jsx(o,{ref:r,className:"rabbit-ds",...n,children:e})})});mh.displayName="LeftNavItem",mh.defaultProps={asChild:!1};const Gz=We(["inline-flex w-full flex-col items-center justify-start gap-1"],{variants:{variant:{top:"order-1 mb-auto",bottom:"order-2 mt-auto"},defaultVariant:{variant:"top"}}}),hw=u.forwardRef(({children:e,align:t,...n},r)=>h.jsx("div",{ref:r,className:ue(Gz({variant:t})),...n,children:e}));hw.displayName="LeftNavItem";const pw=u.forwardRef((e,t)=>h.jsx(dw,{ref:t,...e,className:"rabbit-ds z-20 flex size-14 h-14 w-14 cursor-pointer items-center justify-center rounded border-none bg-transparent focus:text-primary-focus focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",children:h.jsxs("svg",{className:"z-20 h-6 w-6",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsx("g",{clipPath:"url(#clip0_1397_29183)",children:h.jsxs("g",{clipPath:"url(#clip1_1397_29183)",filter:"url(#filter0_d_1397_29183)",children:[h.jsx("path",{d:"M22.1654 14.8101C22.1654 15.8326 21.3386 16.6614 20.3187 16.6614C19.2988 16.6614 18.472 15.8326 18.472 14.8101C18.472 13.7877 19.2988 12.9589 20.3187 12.9589C21.3386 12.9589 22.1654 13.7877 22.1654 14.8101Z",fill:"#008EF0"}),h.jsx("path",{d:"M9.50932 5.28316C9.14769 5.45665 8.74267 5.5538 8.315 5.5538C6.78513 5.5538 5.54492 4.31054 5.54492 2.7769C5.54492 1.24326 6.78513 0 8.315 0C9.84488 0 11.0851 1.24326 11.0851 2.7769C11.0851 3.20559 10.9882 3.6116 10.8151 3.9741L14.3002 7.46776C14.4528 7.42686 14.6131 7.40506 14.7785 7.40506C15.7984 7.40506 16.6253 8.2339 16.6253 9.25633C16.6253 10.2788 15.7984 11.1076 14.7785 11.1076C13.7586 11.1076 12.9318 10.2788 12.9318 9.25633C12.9318 9.09048 12.9536 8.92973 12.9944 8.77678L9.50932 5.28316Z",fill:"#008EF0"}),h.jsx("path",{d:"M5.53426 9.24775C5.53426 10.2702 4.70745 11.099 3.68754 11.099C2.66762 11.099 1.84082 10.2702 1.84082 9.24775C1.84082 8.22532 2.66762 7.39648 3.68754 7.39648C4.70745 7.39648 5.53426 8.22532 5.53426 9.24775Z",fill:"#FFC200"}),h.jsx("path",{d:"M9.99463 16.5323C9.84207 16.5732 9.68173 16.595 9.5163 16.595C8.49639 16.595 7.66958 15.7661 7.66958 14.7437C7.66958 13.7213 8.49639 12.8924 9.5163 12.8924C10.5362 12.8924 11.363 13.7213 11.363 14.7437C11.363 14.9095 11.3413 15.0703 11.3005 15.2232L14.7855 18.7169C15.1471 18.5434 15.5521 18.4462 15.9798 18.4462C17.5097 18.4462 18.7499 19.6895 18.7499 21.2231C18.7499 22.7568 17.5097 24 15.9798 24C14.4499 24 13.2097 22.7568 13.2097 21.2231C13.2097 20.7944 13.3066 20.3884 13.4797 20.0259L9.99463 16.5323Z",fill:"#FFC200"}),h.jsx("path",{d:"M11.087 20.3604C11.087 21.3828 10.2602 22.2117 9.24028 22.2117C8.22036 22.2117 7.39355 21.3828 7.39355 20.3604C7.39355 19.338 8.22036 18.5092 9.24028 18.5092C10.2602 18.5092 11.087 19.338 11.087 20.3604Z",fill:"#EC3B64"}),h.jsx("path",{d:"M24.014 8.32719C24.014 9.86083 22.7738 11.1041 21.2439 11.1041C20.8197 11.1041 20.4178 11.0085 20.0584 10.8377L16.5673 14.3374C16.6063 14.4873 16.6271 14.6445 16.6271 14.8066C16.6271 15.8291 15.8003 16.6579 14.7804 16.6579C13.7605 16.6579 12.9337 15.8291 12.9337 14.8066C12.9337 13.7842 13.7605 12.9554 14.7804 12.9554C14.9495 12.9554 15.1134 12.9782 15.269 13.0208L18.748 9.53324C18.5723 9.1685 18.4738 8.75938 18.4738 8.32719C18.4738 6.79355 19.714 5.55029 21.2439 5.55029C22.7738 5.55029 24.014 6.79355 24.014 8.32719Z",fill:"#EC3B64"}),h.jsx("path",{d:"M16.6205 3.69746C16.6205 4.71988 15.7937 5.54872 14.7737 5.54872C13.7538 5.54872 12.927 4.71988 12.927 3.69746C12.927 2.67503 13.7538 1.84619 14.7737 1.84619C15.7937 1.84619 16.6205 2.67503 16.6205 3.69746Z",fill:"#5CC461"}),h.jsx("path",{d:"M11.0803 9.25125C11.0803 10.2737 10.2535 11.1025 9.23361 11.1025C9.07191 11.1025 8.91506 11.0817 8.7656 11.0425L5.27441 14.5423C5.44482 14.9026 5.54016 15.3055 5.54016 15.7307C5.54016 17.2643 4.29995 18.5076 2.77008 18.5076C1.24021 18.5076 0 17.2643 0 15.7307C0 14.197 1.24021 12.9538 2.77008 12.9538C3.20121 12.9538 3.60934 13.0525 3.97319 13.2287L7.45222 9.74107C7.40963 9.58505 7.38689 9.42081 7.38689 9.25125C7.38689 8.22883 8.21369 7.39999 9.23361 7.39999C10.2535 7.39999 11.0803 8.22883 11.0803 9.25125Z",fill:"#5CC461"})]})}),h.jsxs("defs",{children:[h.jsxs("filter",{id:"filter0_d_1397_29183",x:"-8",y:"-6",width:"40",height:"40",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[h.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),h.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),h.jsx("feOffset",{dy:"2"}),h.jsx("feGaussianBlur",{stdDeviation:"4"}),h.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),h.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),h.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1397_29183"}),h.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1397_29183",result:"shape"})]}),h.jsx("clipPath",{id:"clip0_1397_29183",children:h.jsx("rect",{width:"24",height:"24",rx:"8",fill:"white"})}),h.jsx("clipPath",{id:"clip1_1397_29183",children:h.jsx("rect",{width:"24",height:"24",fill:"white"})})]})]})}));pw.displayName="LeftNavHome";const Uz=We(["rabbit-ds relative flex h-14 w-14 items-center justify-center rounded-lg font-sans text-[10px] text-font-secondary transition-colors disabled:pointer-events-none","hover:bg-card-bg-hover hover:font-medium hover:text-primary-hover","focus:bg-card-bg-focus focus:font-medium focus:text-primary-focus focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","active:bg-card-bg-focus active:font-medium active:text-primary-focus","is-active:bg-card-bg-focus is-active:text-primary-focus "],{variants:{variant:{default:"",withNotification:"",withMenu:"",gradient:""}},defaultVariants:{variant:"default"}}),Xz=We("",{variants:{variant:{default:"",gradient:"bg-[linear-gradient(90deg,#038EEF_9.05%,#ED3C65_86.39%)] text-transparent [-webkit-background-clip:text] [background-clip:text]"}},defaultVariants:{variant:"default"}}),gw=u.forwardRef(({className:e,variant:t,badgeText:n,icon:r,iconSize:o,isActive:a=!1,children:i,...s},l)=>h.jsx("div",{className:"rabbit-ds",children:h.jsxs(dw,{"data-deer-btn":!0,className:ue(Uz({variant:t,className:e})),ref:l,"data-active":a,...s,children:[h.jsxs("div",{className:"flex flex-col items-center",children:[h.jsxs("div",{className:"relative flex items-center justify-center",children:[h.jsx(Fe,{IconSVG:r}),t==="withNotification"&&h.jsxs("div",{className:"absolute left-3 flex h-5 w-6 items-center justify-center rounded-xl bg-functional-warn px-2 text-xs text-white",children:[h.jsx("span",{className:"sr-only",children:"Notification"}),n]})]}),h.jsx("div",{className:ue(Xz({variant:t==="gradient"?t:"default"})),children:i})]}),t==="withMenu"&&h.jsx("div",{className:"absolute right-0 flex h-14 w-3 items-center justify-center",children:h.jsx(Fe,{IconSVG:Vh})})]})}));gw.displayName="LeftNavButton";const qz=We("cursor-pointer border border-solid border-[#CFD7DF] bg-[#F5F7F9] px-1 py-[2px] text-primary transition-all hover:border-primary-hover hover:bg-primary-hover hover:text-white",{variants:{variant:{default:"rounded-l-full border-r-0",collapsed:"rounded-r-full border-l-0"}},defaultVariants:{variant:"default"}});function Kz({className:e,isCollapsed:t,...n}){return h.jsx("button",{"data-deer-btn":!0,type:"button",className:ue(qz({variant:t?"collapsed":"default"}),e),...n,children:h.jsx(Fe,{IconSVG:zh,className:t?"rotate-180":""})})}const vw=u.createContext({isOpen:!1,toggleOpen:()=>{}}),Qz=()=>u.useContext(vw);function mw({...e}){const{isOpen:t,toggleOpen:n}=Qz();return h.jsx(Kz,{className:`absolute right-0 top-5 z-20 ${t?"":"translate-x-full"}`,isCollapsed:!t,onClick:n,...e})}function Zz(e){const{children:t,defaultOpen:n=!1}=e,r=e.open!==void 0,[o,a]=u.useState(n),i=u.useCallback(()=>{a(d=>!d)},[]),s=r?e.open:o,l=r?e.onToggle:i,c=u.useMemo(()=>({isOpen:s,toggleOpen:l}),[s,l]);return h.jsx(vw.Provider,{value:c,children:h.jsxs("div",{className:ue("rabbit-ds relative h-screen transition-all",s?"w-full":"w-0","shadow-[-8px_-2px_8px_0px_rgba(0,0,0,0.08)_inset]"),style:{background:"linear-gradient(273deg, #E7EFF1 0%, #EEF5F8 11%, #EFFAFE 100%)"},children:[h.jsx(mw,{}),h.jsx("div",{className:s?"h-full p-5":"invisible h-0 w-0 scale-0 overflow-hidden opacity-0",children:t})]})})}function Jz({children:e}){return h.jsx("div",{className:ue("nav-group flex flex-col gap-1","after:h-[1px] after:bg-accent after:w-full after:my-4 last:after:hidden"),children:e})}function Rz({children:e}){return h.jsx("div",{className:"p-2 text-xs font-semibold text-font-secondary",children:e})}function eW({children:e,...t}){return h.jsx(Kg,{...t,children:e})}const tW=We("shrink-0",{variants:{orientation:{horizontal:"ml-2",vertical:"mt-2 w-full [&>div]:w-full [&_button]:w-full"}},defaultVariants:{orientation:"horizontal"}});function nW({className:e,orientation:t,...n}){return h.jsx("div",{className:tW({orientation:t}),children:h.jsx(Ot,{className:e,variant:"outline",...n})})}const rW={ON_TRACK:{label:"On-track",colorScheme:"tag-green"},OFF_TRACK:{label:"Off-track",colorScheme:"tag-yellow"},AT_RISK:{label:"At-risk",colorScheme:"tag-red"},CLOSED:{label:"Closed",colorScheme:"tag-darkGray"},NOT_STARTED:{label:"Not started",colorScheme:"tag-lightGray"}};function oW({title:e,achieved:t,status:n}){const r=rW[n];return h.jsx("div",{className:"rabbit-ds mr-auto",children:h.jsxs("div",{className:"flex flex-col gap-1 p-2",children:[h.jsx("div",{className:"mt-1 text-sm",children:e}),h.jsxs("div",{className:"mt-[14px] flex items-end gap-[18px]",children:[h.jsxs("div",{className:"flex flex-col",children:[h.jsx("span",{className:"text-xs text-font-secondary",children:"Achieved"}),h.jsxs("span",{className:ue(r.colorScheme,"font-semibold text-2xl !bg-transparent"),children:[t,"%"]})]}),h.jsx(Qi,{colorScheme:r.colorScheme,className:"mb-1",children:r.label})]})]})})}function aW({employeeName:e,employeeProfilePhoto:t,reviewCycleName:n,reviewType:r,dueBy:o}){return h.jsx("div",{className:"rabbit-ds mr-auto",children:h.jsxs("div",{className:"flex gap-2",children:[h.jsx(on,{size:"xl",children:h.jsx(an,{src:t,alt:"Avatar"})}),h.jsxs("div",{className:"flex flex-col items-start text-sm",children:[h.jsx("span",{className:"font-semibold",children:e}),h.jsx(Qi,{className:"mt-0.5",variant:"outlined",children:r}),h.jsx("span",{className:"mt-1.5 text-font-secondary",children:n}),h.jsxs("span",{className:"text-font-secondary",children:["Due by ",o]})]})]})})}function iW({employeeName:e,employeeProfilePhoto:t,designation:n}){return h.jsx("div",{className:"rabbit-ds mr-auto",children:h.jsxs("div",{className:"flex gap-2",children:[h.jsx(on,{size:"xl",children:h.jsx(an,{src:t,alt:"Avatar"})}),h.jsxs("div",{className:"flex flex-col items-start text-sm",children:[h.jsx("span",{className:"font-semibold",children:e}),h.jsx("span",{className:"text-font-secondary",children:n})]})]})})}function sW({employeeName:e,employeeProfilePhoto:t,designation:n,requestReason:r}){return h.jsx("div",{className:"rabbit-ds mr-auto w-[60%]",children:h.jsxs("div",{className:"flex w-full gap-2",children:[h.jsx(on,{size:"xl",children:h.jsx(an,{src:t,alt:"Avatar"})}),h.jsxs("div",{className:"flex w-full flex-col items-start text-sm",children:[h.jsx("span",{className:"font-semibold",children:e}),h.jsx(Qi,{variant:"outlined",children:n}),h.jsx("span",{className:"mt-1 w-full truncate text-font-secondary",children:r})]})]})})}const lW=We("",{variants:{orientation:{horizontal:"flex-row",vertical:"min-w-max flex-col"}},defaultVariants:{orientation:"horizontal"}});function cW({className:e,children:t,orientation:n}){return h.jsx("div",{className:ue("rabbit-ds","w-full flex items-center rounded-lg p-4 bg-[#FDFDFD] border border-solid border-[#F3F5F8]",lW({orientation:n}),e),children:t})}function uW({nudgeCardList:e,title:t,imgSrc:n,description:r,pageSize:o=3,kebabMenu:a}){const[i,s]=u.useState(1),l=e.slice(0,o*i),c=e.length>o,d=e.length===l.length,f=()=>{s(p=>d?1:p+1)};return h.jsxs("div",{className:ue("rabbit-ds","w-full flex flex-col items-start rounded-lg px-4 py-3 gap-[7px] bg-white shadow-[0px_0px_2px_0px_rgba(0,0,0,0.24)]"),children:[h.jsxs("div",{className:"flex w-full items-center justify-between",children:[h.jsx("span",{className:"text-sm font-semibold",children:t}),a]}),h.jsxs("div",{className:"mt-1 flex items-center gap-4",children:[n?h.jsx(on,{className:"h-16 w-16",children:h.jsx(an,{src:n,alt:t})}):null,h.jsx("span",{className:"text-sm",children:r})]}),l,c&&h.jsx("div",{className:"mx-auto",children:h.jsxs(Ot,{variant:"text",onClick:f,iconRight:d?Fh:Bo,children:["View ",d?"less":"more"]})})]})}function dW({surveyName:e,date:t}){return h.jsx("div",{className:"rabbit-ds mr-auto",children:h.jsxs("div",{className:"flex gap-2",children:[h.jsx(Fe,{IconSVG:Gh}),h.jsxs("div",{className:"flex flex-col items-start text-sm",children:[h.jsx("span",{className:"font-semibold",children:e}),h.jsx(mc,{date:t,showRelativeTime:!0})]})]})})}const fW=We("",{variants:{variant:{single:"flex-row [&>div]:items-start",multiple:"flex-col"}},defaultVariants:{variant:"single"}});function bw({employeeName:e,employeeProfilePhoto:t,scheduleDate:n,duration:r,variant:o,subTitle:a}){return h.jsx("div",{className:"rabbit-ds mr-auto",children:h.jsxs("div",{className:ue("flex items-center text-sm gap-2",fW({variant:o})),children:[h.jsx(on,{size:"xl",children:h.jsx(an,{src:t,alt:e})}),h.jsxs("div",{className:"flex flex-col items-center gap-1",children:[h.jsx("span",{className:"font-semibold",children:e}),n?h.jsx(mc,{date:n,duration:r,timeFormat:"HH:mm a",showTime:!0,className:"text-font-secondary"}):h.jsx("span",{className:"font-semibold",style:{color:"#C62C02"},children:a})]})]})})}bw.defaultProps={subTitle:void 0,scheduleDate:void 0};function hW({label:e,onClick:t,customCompProps:n}){const[r,o]=u.useState(1);return h.jsxs(Wc,{children:[h.jsx(Wi,{children:h.jsx("span",{children:e})}),h.jsx(zc,{children:h.jsx(ji,{children:h.jsx(Rr,{children:h.jsxs("div",{className:"flex flex-col p-2",children:[h.jsx(Jh,{htmlFor:n==null?void 0:n.label,className:"text-xs",children:n==null?void 0:n.label}),h.jsx(Kh,{id:n==null?void 0:n.label,className:"mt-2 !min-w-[160px]",type:"number",value:r,onChange:a=>o(a.target.valueAsNumber),min:1}),h.jsx("div",{className:"flex justify-end",children:h.jsx(Ot,{className:"mt-2",onClick:()=>t(r),disabled:r<1||Number.isNaN(r),children:n==null?void 0:n.buttonText})})]})})})})]})}function pW({options:e}){const[t,n]=u.useState(!1),r=(o,a)=>{o(a),n(!1)};return h.jsxs(Fi,{open:t,children:[h.jsx(Bi,{asChild:!0,onClick:()=>n(!0),children:h.jsx(Ot,{variant:"text",size:"smallIcon",children:h.jsx(Fe,{IconSVG:jh})})}),h.jsx(Jo,{className:"w-56",onFocusOutside:()=>n(!1),onPointerDownOutside:()=>n(!1),children:h.jsx(Rr,{children:e.map(({type:o,onClick:a,label:i,customCompProps:s})=>!o||o==="default"?h.jsx(Ro,{onClick:()=>r(a),children:h.jsx("span",{children:i})},i):h.jsx(hW,{onClick:l=>r(a,l),label:i,customCompProps:s},i))})})]})}const yw=Ro,xw=Rr,ww=zi,Aw=Yi,Cw=Vi,Sw=Hi,Ew=u.forwardRef(({className:e,children:t,align:n="end",...r},o)=>h.jsx(Jo,{ref:o,align:n,...r,children:t}));Ew.displayName="SplitButtonDropdownContent";const gW=We("",{variants:{size:{normal:"icon",small:"smallIcon",icon:"icon",smallIcon:"smallIcon",nav:"icon"}},defaultVariants:{size:"normal"}});function vW({children:e,size:t,status:n,variant:r,...o}){return h.jsx("div",{className:"rabbit-ds flex flex-row",children:h.jsxs(Fi,{children:[h.jsx(Ot,{variant:r,status:n,size:t,...o,className:"rounded-r-none",children:e}),h.jsx(Bi,{asChild:!0,children:h.jsx(Ot,{variant:r,status:n,className:"rounded-l-none border-l-0",size:gW({size:t}),iconLeft:Bo})})]})})}yw.displayName="SplitButtonDropdownItem",xw.displayName="SplitButtonDropdownGroup",ww.displayName="SplitButtonDropdownRadioGroup",Aw.displayName="SplitButtonDropdownLabel",Cw.displayName="SplitButtonDropdownCheckboxItem",Sw.displayName="SplitButtonDropdownRadioItem",Y.Accordion=O0,Y.AccordionContent=_0,Y.AccordionItem=N0,Y.AccordionTrigger=D0,Y.Add=D3,Y.Alert=I0,Y.AlertDescription=F0,Y.AlertDialogAction=Mp,Y.AlertDialogCancel=Ep,Y.AlertDialogComponent=o6,Y.AlertDialogContainer=Cp,Y.AlertDialogContent=dc,Y.AlertDialogDescription=hc,Y.AlertDialogOverlay=uc,Y.AlertDialogPortal=Sp,Y.AlertDialogTitle=fc,Y.AlertDialogTrigger=$p,Y.AlertIcon=L0,Y.Avatar=on,Y.AvatarBadge=Gi,Y.AvatarFallback=mi,Y.AvatarGroup=tu,Y.AvatarImage=an,Y.Button=Ot,Y.Caption=pc,Y.Card=bi,Y.CardContent=Fp,Y.CardDescription=Lp,Y.CardHeader=_p,Y.CardKPI=D9,Y.CardTitle=Ip,Y.Carousel=BE,Y.CarouselContainer=zE,Y.CarouselNextButton=jE,Y.CarouselPrevButton=WE,Y.Check=Fo,Y.Checkbox=Fl,Y.ChevronDown=Bo,Y.ChevronLeft=_3,Y.ChevronLeftCircle=Ih,Y.ChevronRight=Ll,Y.ChevronRightCircle=Lh,Y.ChevronUp=Fh,Y.Chip=J3,Y.ChipGroup=gz,Y.ChipGroupItem=vz,Y.Close=Bh,Y.CollapseNavigation=zh,Y.Company=I3,Y.DateTime=mc,Y.DirectedLineChart=Ux,Y.DonutChart=GB,Y.Download=L3,Y.Dropdown=Fi,Y.DropdownCheckboxItem=Vi,Y.DropdownContent=Jo,Y.DropdownGroup=Rr,Y.DropdownItem=Ro,Y.DropdownLabel=Yi,Y.DropdownPortal=zc,Y.DropdownRadioGroup=zi,Y.DropdownRadioItem=Hi,Y.DropdownSeparator=jc,Y.DropdownSub=Wc,Y.DropdownSubContent=ji,Y.DropdownSubTrigger=Wi,Y.DropdownTrigger=Bi,Y.EngagementNudgeData=dW,Y.ErrorOutline=F3,Y.Goal=B3,Y.GoalsNudgeData=oW,Y.GridChart=qx,Y.GridDirectedLineChart=iz,Y.HistogramChart=VB,Y.Home=z3,Y.Icon=Fe,Y.InfoWorkZero=Wh,Y.Input=Kh,Y.KebabMenu=jh,Y.KnowTeamNudgeData=bw,Y.Label=Jh,Y.LeftNav=fw,Y.LeftNavButton=gw,Y.LeftNavGroup=hw,Y.LeftNavHome=pw,Y.LeftNavItem=mh,Y.LeftNavItemContent=Vz,Y.LeftNavItemDropdown=Fi,Y.LeftNavItemDropdownCheckboxItem=Vi,Y.LeftNavItemDropdownContent=Jo,Y.LeftNavItemDropdownGroup=Rr,Y.LeftNavItemDropdownItem=Ro,Y.LeftNavItemDropdownLabel=Yi,Y.LeftNavItemDropdownPortal=zc,Y.LeftNavItemDropdownRadioGroup=zi,Y.LeftNavItemDropdownRadioItem=Hi,Y.LeftNavItemDropdownSeparator=jc,Y.LeftNavItemDropdownSub=Wc,Y.LeftNavItemDropdownSubContent=ji,Y.LeftNavItemDropdownSubTrigger=Wi,Y.LeftNavItemDropdownTrigger=Bi,Y.LeftNavItemTrigger=jz,Y.LineChart=MB,Y.ListItem=Kg,Y.ListItemIcon=nS,Y.ListItemText=eS,Y.Manager=W3,Y.MeshLogo=X3,Y.MeshMaven=q3,Y.Metric=Iv,Y.MetricCard=_v,Y.MetricCardText=nu,Y.MetricCardTitle=Lv,Y.MyOneOnOne=j3,Y.NavCollapseButtonL2=mw,Y.NavGroupL2=Jz,Y.NavGroupTitleL2=Rz,Y.NavItemL2=eW,Y.NavL2=Zz,Y.NudgeAction=nW,Y.NudgeCard=uW,Y.NudgeCardItem=cW,Y.NudgeKebabMenu=pW,Y.Overflow=Vh,Y.Person=V3,Y.ProfileCard=ru,Y.ProfileCardItem=Fv,Y.ProfileCardKey=Bv,Y.ProfileCardValue=zv,Y.ProgressBar=s0,Y.ProgressInfo=O9,Y.ProgressSlider=zA,Y.RadarChart=UB,Y.RequestFeedback=H3,Y.RequestedFeedbackNudgeData=sW,Y.ReviewsNudgeData=aW,Y.Role=Y3,Y.SankeyChart=LB,Y.Search=Hh,Y.Select=YS,Y.SelectContent=fv,Y.SelectGroup=GS,Y.SelectItem=pv,Y.SelectLabel=hv,Y.SelectSeparator=gv,Y.SelectTrigger=dv,Y.SelectValue=US,Y.ShareFeedback=G3,Y.SharePraiseNudgeData=iW,Y.SliderDrag=Yh,Y.SplitButton=vW,Y.SplitButtonDropdownCheckboxItem=Cw,Y.SplitButtonDropdownContent=Ew,Y.SplitButtonDropdownGroup=xw,Y.SplitButtonDropdownItem=yw,Y.SplitButtonDropdownLabel=Aw,Y.SplitButtonDropdownRadioGroup=ww,Y.SplitButtonDropdownRadioItem=Sw,Y.StackedBarChart=QB,Y.Survey=Gh,Y.Tabs=Ev,Y.TabsContent=Tv,Y.TabsList=Mv,Y.TabsTrigger=$v,Y.Tag=Qi,Y.Team=U3,Y.Tooltip=Jc,Y.TooltipContent=Ji,Y.TooltipPortal=eu,Y.TooltipProvider=Zc,Y.TooltipTrigger=Rc,Y.TrendingDown=K3,Y.TrendingUp=Q3,Y.getInitialsFromName=Dp,Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"})});
95
+ `}),Q.appendChild(G.createTextNode(St))}R.timeEnd("clone node"),ge==null||ge(Te),he!==!1&&se(Te)&&(R.time("embed web font"),yield TW(Te,j),R.timeEnd("embed web font")),R.time("embed node"),Iw(Te,j);const Oe=ie.length;let Ne=0;const He=()=>m(this,null,function*(){for(;;){const St=ie.pop();if(!St)break;try{yield St}catch(Dn){Be("Failed to run task",Dn)}pe==null||pe(++Ne,Oe)}});pe==null||pe(Ne,Oe),yield Promise.all([...Array(4)].map(He)),R.timeEnd("embed node"),Ee==null||Ee(Te);const ze=FW(Te,j);return oe&&ze.insertBefore(oe,ze.children[0]),Q&&ze.insertBefore(Q,ze.children[0]),ye&&Pw(j),Ae==null||Ae(ze),ze})}function FW(S,I){const{width:j,height:G}=I,R=Pt(j,G,S.ownerDocument),ie=R.ownerDocument.createElementNS(R.namespaceURI,"foreignObject");return ie.setAttributeNS(null,"x","0%"),ie.setAttributeNS(null,"y","0%"),ie.setAttributeNS(null,"width","100%"),ie.setAttributeNS(null,"height","100%"),ie.append(S),R.appendChild(ie),R}function Pl(S,I){return m(this,null,function*(){var j;const G=yield _t(S,I),R=yield Lw(G),ie=kt(R,G.isEnable("removeControlCharacter"));G.autoDestruct||(G.svgStyleElement=Ct(G.ownerDocument),G.svgDefsElement=(j=G.ownerDocument)==null?void 0:j.createElementNS(pt,"defs"),G.svgStyles.clear());const Q=Re(ie,R.ownerDocument);return yield On(Q,G)})}function BW(S,I){return m(this,null,function*(){const j=yield _t(S,I),{log:G,type:R,quality:ie,dpi:Q}=j,oe=yield Pl(j);G.time("canvas to blob");const fe=yield kn(oe,R,ie);if(["image/png","image/jpeg"].includes(R)&&Q){const he=yield At(fe.slice(0,33));let pe=new Uint8Array(he);return R==="image/png"?pe=E(pe,Q):R==="image/jpeg"&&(pe=w(pe,Q)),G.timeEnd("canvas to blob"),new Blob([pe,fe.slice(33)],{type:R})}return G.timeEnd("canvas to blob"),fe})}function _o(S,I){return m(this,null,function*(){const j=yield _t(S,I),{log:G,quality:R,type:ie,dpi:Q}=j,oe=yield Pl(j);G.time("canvas to data url");let fe=oe.toDataURL(ie,R);if(["image/png","image/jpeg"].includes(ie)&&Q&&H&&z){const[he,pe]=fe.split(",");let ye=0,ge=!1;if(ie==="image/png"){const ze=V(pe);ze>=0?(ye=Math.ceil((ze+28)/3)*4,ge=!0):ye=33/3*4}else ie==="image/jpeg"&&(ye=18/3*4);const Ee=pe.substring(0,ye),Ae=pe.substring(ye),Te=window.atob(Ee),Oe=new Uint8Array(Te.length);for(let ze=0;ze<Oe.length;ze++)Oe[ze]=Te.charCodeAt(ze);const Ne=ie==="image/png"?E(Oe,Q,ge):w(Oe,Q),He=window.btoa(String.fromCharCode(...Ne));fe=[he,",",He,Ae].join("")}return G.timeEnd("canvas to data url"),fe})}function Fw(S,I){return m(this,null,function*(){const j=yield _t(S,I),{width:G,height:R,ownerDocument:ie}=j,Q=yield _o(j),oe=Pt(G,R,ie),fe=oe.ownerDocument.createElementNS(oe.namespaceURI,"image");return fe.setAttributeNS(null,"href",Q),fe.setAttributeNS(null,"height","100%"),fe.setAttributeNS(null,"width","100%"),oe.appendChild(fe),kt(oe,j.isEnable("removeControlCharacter"))})}function zW(S,I){return m(this,null,function*(){const j=yield _t(S,I),{ownerDocument:G,width:R,height:ie,scale:Q,type:oe}=j,fe=oe==="image/svg+xml"?yield Fw(j):yield _o(j),he=Re(fe,G);return he.width=Math.floor(R*Q),he.height=Math.floor(ie*Q),he.style.width=`${R}px`,he.style.height=`${ie}px`,he})}function WW(S,I){return m(this,null,function*(){return _o(yield _t(S,v(p({},I),{type:"image/jpeg"})))})}function jW(S,I){return m(this,null,function*(){const j=yield _t(S,I),G=yield Pl(j);return G.getContext("2d").getImageData(0,0,G.width,G.height).data})}function VW(S,I){return m(this,null,function*(){return _o(yield _t(S,v(p({},I),{type:"image/png"})))})}function HW(S,I){return m(this,null,function*(){return _o(yield _t(S,v(p({},I),{type:"image/webp"})))})}n.createContext=El,n.destroyContext=Pw,n.domToBlob=BW,n.domToCanvas=Pl,n.domToDataUrl=_o,n.domToForeignObjectSvg=Lw,n.domToImage=zW,n.domToJpeg=WW,n.domToPixel=jW,n.domToPng=VW,n.domToSvg=Fw,n.domToWebp=HW,n.loadMedia=ut,n.waitUntilLoad=cr,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})})})(Jf,Jf.exports);var xB=Jf.exports;const Tn=(e,t,n)=>{u.useImperativeHandle(t,()=>({download(){e.current&&xB.domToPng(e.current,{scale:5}).then(r=>{const o=document.createElement("a");o.download=`${n}.png`,o.href=r,o.click()})}}))},fx=[{name:"default",dark:"var(--chart-default-dark, #1565BC)",light:"var(--chart-default-light, #99D2F9)"},{name:"yellow",dark:"#8C6A00",light:"#FFDE88"},{name:"plum",dark:"#7D1779",light:"#E1AADD"},{name:"purple",dark:"#7651BC",light:"#E7DAFF"},{name:"pink",dark:"#C01443",light:"#FAD4D4"},{name:"green",dark:"#44812F",light:"#B1E39F"},{name:"orange",dark:"#B96400",light:"#FFE7C5"},{name:"teal",dark:"#237C73",light:"#A1DFD5"},{name:"red",dark:"#C62C02",light:"#FFE1D9"}];function Ge(e){return fx[e%fx.length]}const hl=(e,t)=>u.Children.map(e,n=>u.isValidElement(n)&&typeof n.type=="function"&&n.type.displayName===t.displayName?n:null);function Rf({value:e,darkColor:t,lightColor:n}){return h.jsxs("div",{className:"inline-flex items-center justify-start gap-2 px-2 py-1",children:[h.jsx("div",{style:{backgroundColor:n,borderColor:t},className:"relative h-3 w-3 rounded-3xl border"}),h.jsx("div",{className:"flex items-start justify-start",children:h.jsx("div",{className:"text-xs font-normal leading-none text-zinc-800",children:e})})]})}function eh({label:e,value:t}){return h.jsxs("div",{className:"inline-flex max-w-sm flex-col items-start justify-start px-1 py-0.5",children:[h.jsx("div",{className:" text-[10px] font-normal leading-none text-stone-500",children:e}),h.jsx("div",{className:"flex items-start justify-start text-sm font-medium",children:t||"-"})]})}function th({label:e,value:t}){return h.jsxs("div",{className:"inline-flex max-w-sm flex-col items-start justify-start px-2 py-0.5",children:[h.jsx("div",{className:" text-[10px] font-normal leading-none text-stone-500",children:e}),h.jsx("div",{className:"flex items-start justify-start text-sm font-medium",children:t||"-"})]})}function nh({nodeData:e}){const{employee:t}=e,{name:n,imageUrl:r}=t;return h.jsxs("div",{className:"inline-flex max-w-sm items-center justify-start px-2 py-0.5",children:[h.jsx(on,{size:"md",children:h.jsx(an,{src:r,alt:"Avatar"})}),h.jsx("div",{className:"flex items-start justify-start px-2 text-sm font-medium",children:n||"-"})]})}function ke({children:e,showSideBySide:t,tooltipTitle:n}){const r=hl(e,Rf),o=hl(e,eh),a=hl(e,th),i=hl(e,nh);return h.jsxs("div",{className:"rabbit-ds relative z-[1500] inline-flex h-auto w-auto min-w-[200px] max-w-[400px] flex-col items-start justify-start gap-2 rounded-lg bg-white p-2 shadow",children:[h.jsx("div",{className:"px-2 py-1 text-xs font-medium leading-none text-zinc-800",children:n}),a,h.jsxs("div",{className:"flex w-full flex-col items-start justify-start rounded-lg p-2",children:[t&&h.jsxs("div",{className:ue("flex w-full"),children:[o&&o[0],h.jsx("div",{className:"mx-3 w-0 border-r"}),o&&o[1]]}),!t&&h.jsx("div",{className:ue("grid w-full auto-rows-auto gap-3"),children:o})]}),r&&r.length>0?h.jsx("div",{className:"h-px w-full bg-gray-100 px-2"}):null,r,i]})}Rf.displayName="Legend",eh.displayName="Item",th.displayName="Header",nh.displayName="Footer",ke.Legend=Rf,ke.Item=eh,ke.Header=th,ke.Footer=nh,ke.defaultProps={showSideBySide:!1};function hx({xValue:e,yValue:t,tooltipTitle:n,xAxisLabel:r,yAxisLabel:o,showSideBySide:a,legendValue:i,legendDarkColor:s,legendLightColor:l}){const c=e==null?void 0:e.toString(),d=t==null?void 0:t.toString();return h.jsxs(ke,{tooltipTitle:n,showSideBySide:a,children:[h.jsx(ke.Item,{label:r,value:c}),h.jsx(ke.Item,{label:o,value:d}),h.jsx(ke.Legend,{value:i,darkColor:s,lightColor:l})]})}hx.defaultProps={xValue:void 0,yValue:void 0};function wB({data:e,xAccessor:t,yAccessor:n,connectNulls:r=!1}){const o=u.useContext(Mt),a=r?e.filter(i=>i.y!==null):e;return h.jsx(l2,{data:a,stroke:a[0].color.dark,strokeWidth:1,x:i=>{var s,l;return((s=o==null?void 0:o.xScale)==null?void 0:s.call(o,t(i)))+((l=o==null?void 0:o.xScale)==null?void 0:l.bandwidth())/2},y:i=>{var s;return(s=o==null?void 0:o.yScale)==null?void 0:s.call(o,n(i))}})}const AB=({x:e,y:t,datum:n,size:r})=>h.jsx(oo,{cx:e,cy:t,stroke:n.color.dark,strokeWidth:1,fill:n.color.light,r:r/2}),CB=({x:e,y:t,datum:n})=>h.jsx(oo,{cx:e,cy:t,stroke:n.color.dark,strokeWidth:1,fill:n.color.dark,r:5,style:{zIndex:1500}}),pl={xAccessor:e=>e.x,yAccessor:e=>e.y},px=(e,t,n)=>n==="pre"?`${t}${e}`:`${e}${t}`,gx=10,SB=5,rh=u.forwardRef(({nodes:e,height:t,width:n,xAxisValues:r,series:o,xAxisLabel:a,yAxisLabel:i,xAxisDomain:s,yAxisDomain:l,xAxisUnitSymbol:c,yAxisUnitSymbol:d,tooltipTitle:f,mode:p,xAxisCharLimit:v,connectNulls:g=!1,maxNodesInMiniMode:m=SB,tooltipStackCharLimit:w=gx,seriesSelectorTitle:x},y)=>{const[b,C]=u.useState(e.map(E=>E.id)),A=u.useRef(null);Tn(A,y,`${a}-${i}-LineChart`);const T=u.useMemo(()=>o.map((E,O)=>{const L=e.find(B=>B.id===E.id);return{points:E.data.map((B,V)=>({x:r[V],y:B,nodeId:E.id,color:(L==null?void 0:L.color)??Ge(O)}))}}).slice(0,p==="mini"?m:o.length),[o,p,m,e,r]),$=u.useMemo(()=>p==="full"?T.filter(E=>b.includes(E.points[0].nodeId)):T,[T,b,p]),P=u.useMemo(()=>Math.floor((n-(p==="mini"?0:150))/(r.length*8)),[n,r,p]);return h.jsxs("div",{ref:A,id:"line-chart",className:"rabbit-ds flex flex-col bg-white",style:{width:n,height:t},children:[h.jsxs("div",{className:"flex h-full min-h-0 w-full min-w-0 flex-row",children:[h.jsx("div",{className:"h-full min-h-0 w-full min-w-0",children:h.jsxs(ar,{margin:{top:10,left:50,right:50,bottom:50},xScale:{type:"band",nice:!0,...s&&{domain:s}},yScale:{type:"linear",nice:!0,...l&&{domain:l}},children:[h.jsx(S2,{columns:!1,numTicks:6,lineStyle:{stroke:"#EBEFF3",strokeWidth:1}}),h.jsx($o,{hideTicks:!0,orientation:"bottom",stroke:"#CFD7DF",strokeWidth:1,numTicks:6,tickFormat:E=>c?px(E,c.symbol,c.position):E,rangePadding:{end:10},tickComponent:E=>h.jsx(Ya,{textLabel:E.formattedValue||"",x:E.x,y:E.y,textStyles:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,fill:"#666666",textAnchor:"middle"},axisCharLimit:v??P}),label:`${a} ➔`,labelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,dy:10,fill:"#666666",textAnchor:"middle",verticalAnchor:"middle"}}),h.jsx($o,{hideTicks:!0,numTicks:6,strokeWidth:1,orientation:"left",stroke:"#CFD7DF",label:`${i} ➔`,tickFormat:E=>d?px(E,d.symbol,d.position):E,tickLabelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,fill:"#666666"},labelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,dx:-20,fill:"#666666",textAnchor:"middle",verticalAnchor:"middle"}}),$.map((E,O)=>h.jsxs(h.Fragment,{children:[h.jsx(wB,{data:E.points,xAccessor:pl.xAccessor,yAccessor:pl.yAccessor,connectNulls:g}),h.jsx(dx,{dataKey:`Performance Management ${O}`,data:E.points,size:8,renderGlyph:AB,xAccessor:pl.xAccessor,yAccessor:pl.yAccessor})]})),h.jsx(rl,{showDatumGlyph:!0,scroll:!0,debounce:500,snapTooltipToDatumX:!0,snapTooltipToDatumY:!0,detectBounds:!0,unstyled:!0,applyPositionStyle:!0,renderGlyph:CB,renderTooltip:({tooltipData:E})=>{var B,V,W,M,_,H;const O=e.find(z=>{var N;return z.id===((N=E==null?void 0:E.nearestDatum)==null?void 0:N.datum.nodeId)}),L=((B=E==null?void 0:E.nearestDatum)==null?void 0:B.datum)&&((V=E==null?void 0:E.nearestDatum)==null?void 0:V.datum.x.length)<w;return h.jsx(hx,{xValue:(W=E==null?void 0:E.nearestDatum)==null?void 0:W.datum.x,yValue:(M=E==null?void 0:E.nearestDatum)==null?void 0:M.datum.y,xAxisLabel:a,yAxisLabel:i,showSideBySide:!!L,tooltipTitle:f,legendValue:(O==null?void 0:O.name)||"",legendDarkColor:((_=E==null?void 0:E.nearestDatum)==null?void 0:_.datum.color.dark)||Ge(0).dark,legendLightColor:((H=E==null?void 0:E.nearestDatum)==null?void 0:H.datum.color.light)||Ge(0).light})}})]})}),p==="full"&&h.jsxs("div",{className:"inline-flex w-64 shrink-0 grow-0 basis-auto flex-col items-start justify-start gap-0.5 rounded border border-solid border-[color:var(--Accent,#EBEFF3)] bg-[#FDFDFD] p-4 pr-0 text-xs",children:[h.jsxs("div",{className:"pb-1 text-xs font-semibold",children:[h.jsx("span",{className:"pr-1",children:x??a}),"(",$.length??0,"/",T.length,")"]}),h.jsx("div",{className:"inline-flex h-[95%] w-full shrink-0 grow-0 flex-col items-start justify-start gap-1 overflow-scroll pr-4",children:T.map(E=>{const O=e.find(L=>L.id===E.points[0].nodeId);return O&&h.jsxs("div",{className:"flex w-full items-center justify-between gap-1 py-1",children:[h.jsxs("div",{className:"flex items-center justify-between",children:[h.jsx("div",{style:{backgroundColor:E.points[0].color.light,borderColor:E.points[0].color.dark},className:"mr-1 h-3 w-3 rounded-full border"}),O.name]}),h.jsx("div",{className:"flex items-center",children:h.jsx(Fl,{checked:b.includes(O.id),onCheckedChange:L=>{let B=[...b];L?B=[...b,O.id]:B.splice(b.indexOf(O.id),1),C(B)}})})]},O.id)})})]})]}),p==="mini"&&h.jsx("div",{className:"flex flex-row flex-wrap justify-center gap-4 text-[10px] font-semibold text-font-secondary",children:T.map(E=>{const O=e.find(L=>L.id===E.points[0].nodeId);return h.jsxs("div",{className:"flex items-center justify-center gap-1",children:[h.jsx("div",{style:{backgroundColor:E.points[0].color.light,borderColor:E.points[0].color.dark},className:"h-3 w-3 rounded-full border"}),O==null?void 0:O.name]},O==null?void 0:O.id)})})]})}),EB={xAxisUnitSymbol:void 0,yAxisUnitSymbol:void 0,mode:"mini",xAxisCharLimit:void 0,tooltipStackCharLimit:gx,xAxisDomain:void 0,yAxisDomain:void 0,connectNulls:!1};rh.defaultProps=EB,rh.displayName="LineBase";const vx=u.forwardRef((e,t)=>h.jsx(qn,{debounceTime:10,children:({width:n,height:r})=>h.jsx(rh,{ref:t,width:n,height:r,...e})}));vx.displayName="LineChart";const MB=vx;function mx(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let o of e)(o=t(o,++r,e))!=null&&(n<o||n===void 0&&o>=o)&&(n=o)}return n}function $B(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let o of e)(o=t(o,++r,e))!=null&&(n>o||n===void 0&&o>=o)&&(n=o)}return n}function oh(e,t){let n=0;if(t===void 0)for(let r of e)(r=+r)&&(n+=r);else{let r=-1;for(let o of e)(o=+t(o,++r,e))&&(n+=o)}return n}function TB(e,t){return e.sourceLinks.length?e.depth:t-1}function gl(e){return function(){return e}}function bx(e,t){return vl(e.source,t.source)||e.index-t.index}function yx(e,t){return vl(e.target,t.target)||e.index-t.index}function vl(e,t){return e.y0-t.y0}function ah(e){return e.value}function PB(e){return e.index}function kB(e){return e.nodes}function OB(e){return e.links}function xx(e,t){const n=e.get(t);if(!n)throw new Error("missing: "+t);return n}function wx({nodes:e}){for(const t of e){let n=t.y0,r=n;for(const o of t.sourceLinks)o.y0=n+o.width/2,n+=o.width;for(const o of t.targetLinks)o.y1=r+o.width/2,r+=o.width}}function NB(){let e=0,t=0,n=1,r=1,o=24,a=8,i,s=PB,l=TB,c,d,f=kB,p=OB,v=6;function g(){const M={nodes:f.apply(null,arguments),links:p.apply(null,arguments)};return m(M),w(M),x(M),y(M),A(M),wx(M),M}g.update=function(M){return wx(M),M},g.nodeId=function(M){return arguments.length?(s=typeof M=="function"?M:gl(M),g):s},g.nodeAlign=function(M){return arguments.length?(l=typeof M=="function"?M:gl(M),g):l},g.nodeSort=function(M){return arguments.length?(c=M,g):c},g.nodeWidth=function(M){return arguments.length?(o=+M,g):o},g.nodePadding=function(M){return arguments.length?(a=i=+M,g):a},g.nodes=function(M){return arguments.length?(f=typeof M=="function"?M:gl(M),g):f},g.links=function(M){return arguments.length?(p=typeof M=="function"?M:gl(M),g):p},g.linkSort=function(M){return arguments.length?(d=M,g):d},g.size=function(M){return arguments.length?(e=t=0,n=+M[0],r=+M[1],g):[n-e,r-t]},g.extent=function(M){return arguments.length?(e=+M[0][0],n=+M[1][0],t=+M[0][1],r=+M[1][1],g):[[e,t],[n,r]]},g.iterations=function(M){return arguments.length?(v=+M,g):v};function m({nodes:M,links:_}){for(const[z,N]of M.entries())N.index=z,N.sourceLinks=[],N.targetLinks=[];const H=new Map(M.map((z,N)=>[s(z,N,M),z]));for(const[z,N]of _.entries()){N.index=z;let{source:k,target:F}=N;typeof k!="object"&&(k=N.source=xx(H,k)),typeof F!="object"&&(F=N.target=xx(H,F)),k.sourceLinks.push(N),F.targetLinks.push(N)}if(d!=null)for(const{sourceLinks:z,targetLinks:N}of M)z.sort(d),N.sort(d)}function w({nodes:M}){for(const _ of M)_.value=_.fixedValue===void 0?Math.max(oh(_.sourceLinks,ah),oh(_.targetLinks,ah)):_.fixedValue}function x({nodes:M}){const _=M.length;let H=new Set(M),z=new Set,N=0;for(;H.size;){for(const k of H){k.depth=N;for(const{target:F}of k.sourceLinks)z.add(F)}if(++N>_)throw new Error("circular link");H=z,z=new Set}}function y({nodes:M}){const _=M.length;let H=new Set(M),z=new Set,N=0;for(;H.size;){for(const k of H){k.height=N;for(const{source:F}of k.targetLinks)z.add(F)}if(++N>_)throw new Error("circular link");H=z,z=new Set}}function b({nodes:M}){const _=mx(M,N=>N.depth)+1,H=(n-e-o)/(_-1),z=new Array(_);for(const N of M){const k=Math.max(0,Math.min(_-1,Math.floor(l.call(null,N,_))));N.layer=k,N.x0=e+k*H,N.x1=N.x0+o,z[k]?z[k].push(N):z[k]=[N]}if(c)for(const N of z)N.sort(c);return z}function C(M){const _=$B(M,H=>(r-t-(H.length-1)*i)/oh(H,ah));for(const H of M){let z=t;for(const N of H){N.y0=z,N.y1=z+N.value*_,z=N.y1+i;for(const k of N.sourceLinks)k.width=k.value*_}z=(r-z+i)/(H.length+1);for(let N=0;N<H.length;++N){const k=H[N];k.y0+=z*(N+1),k.y1+=z*(N+1)}B(H)}}function A(M){const _=b(M);i=Math.min(a,(r-t)/(mx(_,H=>H.length)-1)),C(_);for(let H=0;H<v;++H){const z=Math.pow(.99,H),N=Math.max(1-z,(H+1)/v);$(_,z,N),T(_,z,N)}}function T(M,_,H){for(let z=1,N=M.length;z<N;++z){const k=M[z];for(const F of k){let J=0,K=0;for(const{source:ne,value:se}of F.targetLinks){let Z=se*(F.layer-ne.layer);J+=V(ne,F)*Z,K+=Z}if(!(K>0))continue;let te=(J/K-F.y0)*_;F.y0+=te,F.y1+=te,L(F)}c===void 0&&k.sort(vl),P(k,H)}}function $(M,_,H){for(let z=M.length,N=z-2;N>=0;--N){const k=M[N];for(const F of k){let J=0,K=0;for(const{target:ne,value:se}of F.sourceLinks){let Z=se*(ne.layer-F.layer);J+=W(F,ne)*Z,K+=Z}if(!(K>0))continue;let te=(J/K-F.y0)*_;F.y0+=te,F.y1+=te,L(F)}c===void 0&&k.sort(vl),P(k,H)}}function P(M,_){const H=M.length>>1,z=M[H];O(M,z.y0-i,H-1,_),E(M,z.y1+i,H+1,_),O(M,r,M.length-1,_),E(M,t,0,_)}function E(M,_,H,z){for(;H<M.length;++H){const N=M[H],k=(_-N.y0)*z;k>1e-6&&(N.y0+=k,N.y1+=k),_=N.y1+i}}function O(M,_,H,z){for(;H>=0;--H){const N=M[H],k=(N.y1-_)*z;k>1e-6&&(N.y0-=k,N.y1-=k),_=N.y0-i}}function L({sourceLinks:M,targetLinks:_}){if(d===void 0){for(const{source:{sourceLinks:H}}of _)H.sort(yx);for(const{target:{targetLinks:H}}of M)H.sort(bx)}}function B(M){if(d===void 0)for(const{sourceLinks:_,targetLinks:H}of M)_.sort(yx),H.sort(bx)}function V(M,_){let H=M.y0-(M.sourceLinks.length-1)*i/2;for(const{target:z,width:N}of M.sourceLinks){if(z===_)break;H+=N+i}for(const{source:z,width:N}of _.targetLinks){if(z===M)break;H-=N}return H}function W(M,_){let H=_.y0-(_.targetLinks.length-1)*i/2;for(const{source:z,width:N}of _.targetLinks){if(z===M)break;H+=N+i}for(const{target:z,width:N}of M.sourceLinks){if(z===_)break;H-=N}return H}return g}function DB({tooltipData:e,fromLabel:t,toLabel:n,weightLabel:r,tooltipTitle:o}){var s,l,c,d;const a=e.source,i=e.target;return h.jsxs(ke,{tooltipTitle:o,children:[h.jsx(ke.Item,{label:t,value:a.name}),h.jsx(ke.Item,{label:n,value:i.name}),h.jsx(ke.Item,{label:r,value:e.weight.toString()}),h.jsx(ke.Legend,{value:a.name,darkColor:(s=Ge(a.index||0))==null?void 0:s.dark,lightColor:(l=Ge(a.index||0))==null?void 0:l.light}),h.jsx(ke.Legend,{value:i.name,darkColor:(c=Ge(i.index||0))==null?void 0:c.dark,lightColor:(d=Ge(i.index||0))==null?void 0:d.light})]})}const Ax=80,Cx=20,_B=30,IB=12,Sx=u.forwardRef(({height:e,width:t,tooltipTitle:n,nodes:r,links:o,groups:a,weightLabel:i},s)=>{const l=u.useMemo(()=>NB().nodeId(M=>M.id).nodeWidth(IB).nodePadding(_B).nodeAlign(M=>M.group),[]),c=u.useRef(null);Tn(c,s,`${n}-SankeyChart`);const[d,f]=u.useState(""),[p,v]=u.useState(null),{tooltipData:g,tooltipLeft:m,tooltipTop:w,tooltipOpen:x,showTooltip:y,hideTooltip:b}=Rs(),{containerBounds:C,containerRef:A,TooltipInPortal:T}=nl({detectBounds:!0,debounce:500,scroll:!0,zIndex:1500}),$=u.useMemo(()=>l.extent([[Ax,Cx],[t-Ax,e-Cx-50]])({nodes:r,links:o.map(M=>({...M,value:Number(M.weight)}))}),[e,t,l,r,o]),P=u.useMemo(()=>Math.max(...$.nodes.map(M=>M.depth??0)),[$]),E=u.useMemo(()=>{const M={};let _=-1/0;return $.nodes.forEach(H=>{const{group:z}=H;M[z]?(M[z].x=Math.max(M[z].x??-1/0,H.x0??-1/0),M[z].y=Math.max(M[z].y??-1/0,H.y1??-1/0)):(M[z]={},M[z].x=H.x0,M[z].y=H.y1),_=Math.max(_,M[z].y??-1/0),M[z].y=_}),Object.keys(M).forEach(H=>{M[H].y=_}),M},[$]),O=u.useCallback(M=>{const _=l.nodeId()(M);f(d===_?"":_)},[d,l]),L=u.useCallback(()=>{f(""),v(null)},[]),B=u.useMemo(()=>d===""&&p===null?new Set:new Set($.links.filter(M=>l.nodeId()(M.source)===d||l.nodeId()(M.target)===d||(p==null?void 0:p.source)===M.source&&(p==null?void 0:p.target)===M.target)),[d,$,p,l]),V=u.useCallback((M,_)=>{const H=("clientX"in M?M.clientX:0)-C.left,z=("clientY"in M?M.clientY:0)-C.top;v(_),H&&z&&y({tooltipLeft:H,tooltipTop:z,tooltipData:_})},[y,C]),W=u.useCallback(()=>{L(),b()},[L,b]);return h.jsxs("div",{ref:c,className:"rabbit-ds h-min w-min bg-white",id:"sankey-chart",children:[h.jsxs("svg",{height:e,width:t,ref:A,children:[h.jsx("g",{children:$.links.map(M=>h.jsx(vI,{data:M,source:_=>({x:_.source.x1,y:_.y0}),target:_=>({x:_.target.x0,y:_.y1}),x:_=>_.x??0,y:_=>_.y??0,fill:"none",pointerEvents:"stroke",onMouseLeave:()=>W(),onMouseMove:_=>V(_,M),stroke:Ge(M.source.index||0).light,strokeWidth:M.width,strokeOpacity:B.has(M)?.7:.4},M.index))}),h.jsx("g",{children:$.nodes.map(M=>{var _,H,z;return h.jsx("g",{children:h.jsx(c2,{x:M.x0??0,height:(M.y1??0)-(M.y0??0)+10,width:(M.x1??0)-(M.x0??0),y:(M.y0??0)-5,onMouseEnter:()=>O(M),onMouseLeave:()=>L(),radius:2,fill:d===M.id?(_=Ge(M.index||0))==null?void 0:_.dark:(H=Ge(M.index||0))==null?void 0:H.light,stroke:(z=Ge(M.index||0))==null?void 0:z.dark,all:!0})},M.index)})}),h.jsx("g",{children:a.map(M=>h.jsx(Ya,{axisCharLimit:20,x:E[M.id].x??0,y:(E[M.id].y??0)+40,textLabel:M.name,textStyles:{fontSize:10,fontWeight:600,textAnchor:"middle",fill:"#666666"}},M.id))}),h.jsxs("g",{children:[$.nodes.map(M=>h.jsx(Ya,{axisCharLimit:8,x:M.depth===P?(M.x1??0)+10:(M.x0??0)-10,y:(M.y0??0)+((M.y1??0)-(M.y0??0))/2,textLabel:M.name,textStyles:{fontSize:10,fontWeight:600,textAnchor:M.depth===P?"start":"end",fill:"#666666"}},M.index)),$.nodes.map(M=>M.value&&h.jsx(po,{x:M.depth===P?(M.x1??0)+10:(M.x0??0)-10,y:(M.y0??0)+((M.y1??0)-(M.y0??0))/2+16,style:{fontSize:10,fontWeight:400,textAnchor:M.depth===P?"start":"end",fill:"#666666"},children:`(${M.value.toString()})`},M.index))]})]}),x&&g&&h.jsx(T,{top:w,left:m,unstyled:!0,applyPositionStyle:!0,children:h.jsx(DB,{tooltipData:g,fromLabel:`From: ${a[g.source.group].name}`,toLabel:`To: ${a[g.target.group].name}`,weightLabel:i,tooltipTitle:n})},Math.random())]})});Sx.displayName="Sankey";const Ex=u.forwardRef((e,t)=>h.jsx(qn,{debounceTime:10,children:({width:n,height:r})=>n&&r&&h.jsx(Sx,{ref:t,width:n,height:r,...e})}));Ex.displayName="SankeyChart";const LB=Ex;function FB(e){return"bandwidth"in e?e.bandwidth():0}var BB=["top","left","scale","width","stroke","strokeWidth","strokeDasharray","className","children","numTicks","lineStyle","offset","tickValues"];function ih(){return ih=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ih.apply(this,arguments)}function zB(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function Mx(e){var t=e.top,n=t===void 0?0:t,r=e.left,o=r===void 0?0:r,a=e.scale,i=e.width,s=e.stroke,l=s===void 0?"#eaf0f6":s,c=e.strokeWidth,d=c===void 0?1:c,f=e.strokeDasharray,p=e.className,v=e.children,g=e.numTicks,m=g===void 0?10:g,w=e.lineStyle,x=e.offset,y=e.tickValues,b=zB(e,BB),C=y??qd(a,m),A=(x??0)+FB(a)/2,T=C.map(function($,P){var E,O=((E=Ys(a($)))!=null?E:0)+A;return{index:P,from:new wn({x:0,y:O}),to:new wn({x:i,y:O})}});return u.createElement(qt,{className:tt("visx-rows",p),top:n,left:o},v?v({lines:T}):T.map(function($){var P=$.from,E=$.to,O=$.index;return u.createElement(AI,ih({key:"row-line-"+O,from:P,to:E,stroke:l,strokeWidth:d,strokeDasharray:f,style:w},b))}))}Mx.propTypes={tickValues:ee.array,width:ee.number.isRequired};function $x({xValue:e,yValue:t,tooltipTitle:n,xAxisLabel:r,yAxisLabel:o,legendValue:a,legendDarkColor:i,legendLightColor:s}){const l=e==null?void 0:e.toString(),c=t==null?void 0:t.toString();return h.jsxs(ke,{tooltipTitle:n,showSideBySide:!0,children:[h.jsx(ke.Item,{label:r,value:l}),h.jsx(ke.Item,{label:o,value:c}),h.jsx(ke.Legend,{value:a,darkColor:i,lightColor:s})]})}$x.defaultProps={xValue:void 0,yValue:void 0};const Tx=20,Px=50,sh=80,ml=50,WB=10,jB=25,lh=u.forwardRef(({tooltipTitle:e,xAxisLabel:t,yAxisLabel:n,domain:r,binCount:o,data:a,width:i,height:s,maxBinCount:l=jB,minBinCount:c=WB,integerBins:d=!1,integerYAxis:f=!1},p)=>{const v=u.useMemo(()=>ws(a),[a]),{histogramDomain:g,threshold:m,thresholdInteger:w}=u.useMemo(()=>{const N=v[0]??0,k=N===v[1]?c+N:v[1]??0,F=k-N>c?k:c+N,J=Math.min(Math.max(k-N,c),l),K=Math.floor(v[0]??0),te=Math.ceil(F);return{histogramDomain:r||(d?[K,te]:[N,k]),threshold:J,thresholdInteger:Math.ceil(J)}},[v,r,d,l,c]),x=u.useMemo(()=>Mo({domain:g,range:[ml,i-Px],round:!0,nice:!0}),[g,i]),y=u.useMemo(()=>$O().domain(x.domain()).thresholds(o||(d?w:m))(a),[x,o,a,m,w,d]),b=u.useMemo(()=>Mo({domain:[0,sd(y,N=>N.length)??0],range:[s-sh,Tx],round:!0,nice:!0}),[y,s]),C=u.useMemo(()=>b.ticks().filter(N=>f?Number.isInteger(N):N),[f,b]),A=u.useRef(null);Tn(A,p,`${t}-${n}-Histogram`);const{tooltipData:T,tooltipLeft:$,tooltipTop:P,tooltipOpen:E,showTooltip:O,hideTooltip:L}=Rs(),{containerBounds:B,containerRef:V,TooltipInPortal:W}=nl({detectBounds:!0,debounce:500,scroll:!0,zIndex:1500}),M=i-ml-Px,_=s-Tx-sh-100,H=u.useCallback((N,k)=>{const F=("clientX"in N?N.clientX:0)-B.left,J=("clientY"in N?N.clientY:0)-B.top;F&&J&&O({tooltipLeft:F,tooltipTop:J,tooltipData:k})},[O,B]),z=u.useCallback(()=>{L()},[L]);return h.jsxs("div",{className:"rabbit-ds flex flex-col bg-white",style:{width:i,height:s},ref:A,children:[h.jsxs("svg",{width:i,height:s,ref:V,children:[h.jsx(df,{orientation:"bottom",scale:x,top:s-sh,hideTicks:!0,numTicks:6,stroke:"#CFD7DF",strokeWidth:1,rangePadding:{end:10},label:`${t} ➔`,tickLabelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,fill:"#666666",textAnchor:"middle"},labelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,dy:10,fill:"#666666",textAnchor:"middle",verticalAnchor:"middle"}}),h.jsx(df,{orientation:"left",scale:b,left:ml,hideTicks:!0,strokeWidth:1,stroke:"#CFD7DF",tickFormat:f?Ws("d"):void 0,tickValues:C,label:`${n} ➔`,tickLabelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,fill:"#666666",textAnchor:"end"},labelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,dx:-20,fill:"#666666",textAnchor:"middle",verticalAnchor:"middle"}}),h.jsxs(qt,{children:[h.jsx(Mx,{scale:b,width:M,height:_,left:ml,top:0,lineStyle:{stroke:"#EBEFF3",strokeWidth:1}}),y.map(N=>{const k=Math.abs(b(0)-b(N.length)),F=Math.abs(x(N.x1??0)-x(N.x0??0));return h.jsx("g",{children:h.jsx(aI,{x:x(N.x0??0),y:b(N.length),width:F,height:k&&k-1,fill:Ge(0).light,stroke:Ge(0).dark,strokeWidth:1,onMouseMove:J=>H(J,N),onMouseLeave:()=>z()})},Math.random())})]})]}),E&&T&&h.jsx(W,{top:P,left:$,unstyled:!0,applyPositionStyle:!0,children:h.jsx($x,{xAxisLabel:t,xValue:`${T.x0} to ${T.x1}`,yAxisLabel:n,yValue:T.length,tooltipTitle:e,legendValue:n,legendDarkColor:Ge(0).dark,legendLightColor:Ge(0).light})},Math.random()),b.domain()[2]]})}),kx=u.forwardRef((e,t)=>h.jsx(qn,{debounceTime:10,children:({width:n,height:r})=>h.jsx(lh,{ref:t,width:n,height:r,...e})}));lh.defaultProps={domain:void 0,binCount:void 0,integerBins:!1,integerYAxis:!1},lh.displayName="HistogramBase",kx.displayName="HistogramChart";const VB=kx,HB=e=>e.value,YB=e=>e.label,Ox=u.forwardRef(({width:e,height:t,unit:n="%",data:r},o)=>{const a=e/2,i=t/2,s=Math.min(e-200,t-20)/2,l=u.useRef(null);return Tn(l,o,"DonutChart"),h.jsx("div",{className:"rabbit-ds flex flex-col bg-white",style:{width:e,height:t},ref:l,children:h.jsx("svg",{width:e,height:t,className:"rabbit-ds",children:h.jsx(qt,{top:i,left:a,children:h.jsx(J_,{data:r,pieValue:HB,outerRadius:s-10,innerRadius:s-22-10,cornerRadius:2,padAngle:.025,children:c=>h.jsx(h.Fragment,{children:c.arcs.map(d=>{const[f,p]=c.path.centroid(d),v=YB(d.data),g=d.startAngle+(d.endAngle-d.startAngle)/2;return h.jsxs("g",{children:[h.jsx("path",{d:c.path(d)??void 0,fill:d.data.color}),h.jsxs(km,{x:f,y:p,dx:g>Math.PI?-30:30,dy:-20,children:[h.jsx(im,{type:"elbow",stroke:d.data.labelColor}),h.jsx(Pm,{radius:1,strokeWidth:2,stroke:d.data.labelColor}),h.jsx(Tm,{title:`${v}: ${d.value} ${n}`,maxWidth:100,backgroundFill:"transparent",backgroundPadding:{left:4,right:10},titleFontSize:10,horizontalAnchor:g>Math.PI?"end":"start",verticalAnchor:"middle",fontColor:d.data.labelColor,showAnchorLine:!1})]})]},`arc-${v}`)})})})})})})});Ox.displayName="DonutChartBase";const Nx=u.forwardRef((e,t)=>h.jsx(qn,{debounceTime:10,children:({width:n,height:r})=>h.jsx(Ox,{ref:t,width:n,height:r,...e})}));Nx.displayName="DonutChart";const GB=Nx;function Dx({xValue:e,yValue:t,tooltipTitle:n,xAxisLabel:r,yAxisLabel:o,showSideBySide:a,legendValue:i,legendDarkColor:s,legendLightColor:l}){const c=e==null?void 0:e.toString(),d=t==null?void 0:t.toString();return h.jsxs(ke,{tooltipTitle:n,showSideBySide:a,children:[h.jsx(ke.Item,{label:r,value:c}),h.jsx(ke.Item,{label:o,value:d}),h.jsx(ke.Legend,{value:i,darkColor:s,lightColor:l})]})}Dx.defaultProps={xValue:void 0,yValue:void 0};const bl={top:60,left:20,right:20,bottom:20},_x={start:10,end:-10,middle:0},Ix=u.forwardRef(({width:e,height:t,levels:n=5,nodes:r,xAxisLabel:o,xAxisCharLimit:a,tooltipTitle:i,xAxisUnitSymbol:s,yAxisDomain:l,series:c=[],xAxisValues:d},f)=>{const p=u.useRef(null);Tn(p,f,"RadarChart");const{tooltipData:v,tooltipLeft:g,tooltipTop:m,tooltipOpen:w,showTooltip:x,hideTooltip:y}=Rs(),{containerBounds:b,containerRef:C,TooltipInPortal:A}=nl({detectBounds:!0,debounce:500,scroll:!0,zIndex:1500}),T=u.useCallback((k,F)=>{const J=Math.PI*2/k;return[...new Array(k)].map((K,te)=>({x:F*Math.sin(te*J),y:F*Math.cos(te*J)}))},[]),$=u.useCallback((k,F,J)=>J==="pre"?`${F}${k}`:`${k}${F}`,[]),P=u.useCallback((k,F,J)=>{const K=Math.PI*2/k.length,te=new Array(k.length).fill({x:0,y:0,data:null}),ne=new Array(k.length+1).fill("").reduce((se,Z,re)=>{if(re>k.length)return se;const U=F(J(k[re-1]))*Math.sin(re*K),q=F(J(k[re-1]))*Math.cos(re*K);return te[re-1]={x:U,y:q,data:k[re-1]},`${se}${U},${q} `});return{points:te,pointString:ne}},[]),E=u.useMemo(()=>new wn({x:0,y:0}),[]),O=u.useCallback(k=>Math.round(k)===0?"middle":k>0?"start":"end",[]),L=u.useCallback((k,F)=>{const J=("clientX"in k?k.clientX:0)-b.left,K=("clientY"in k?k.clientY:0)-b.top;J&&K&&x({tooltipLeft:J,tooltipTop:K,tooltipData:F})},[x,b]),B=u.useCallback(()=>{y()},[y]),V=u.useMemo(()=>e-bl.left-bl.right,[e]),W=u.useMemo(()=>t-bl.top-bl.bottom,[t]),M=u.useMemo(()=>Math.min(V,W)/2,[V,W]),_=c.length?c.reduce((k,F)=>{const J=F.data.filter(K=>K);return Math.max(k,...J)},-1/0):0,H=Mo({range:[0,M],domain:l??[0,_]}),z=T(d.length,M),N=k=>P(k,F=>H(F)??0,F=>F);return h.jsxs("div",{className:"rabbit-ds flex flex-col bg-white",style:{width:e,height:t},ref:p,children:[h.jsxs("svg",{width:e,height:t,ref:C,pointerEvents:"all",onMouseLeave:B,children:[h.jsx("rect",{fill:"transparent",width:e,height:t,rx:14}),h.jsxs(qt,{top:t/2,left:e/2,children:[[...new Array(n)].map((k,F)=>h.jsx(u2,{x:e/2,y:t/2,fill:"none",stroke:"#CFD7DF",strokeWidth:1,strokeDasharray:4,r:M*(F+1)/n},`web1-${Math.random()}`)),d.map((k,F)=>h.jsxs(h.Fragment,{children:[h.jsx(Jd,{from:E,to:z[F],stroke:"#CFD7DF",strokeWidth:1},`radar-line-${Math.random()}`),h.jsx(po,{x:z[F].x,y:z[F].y,textAnchor:O(z[F].x),verticalAnchor:O(z[F].y),dx:_x[O(z[F].x)],dy:_x[O(z[F].y)],fontSize:10,fill:"#666666",width:a??100,children:`${s?$(d[(F+d.length-1)%d.length],s.symbol,s.position):d[(F+d.length-1)%d.length]}`})]})),c.map((k,F)=>h.jsx("polygon",{points:N(k.data).pointString,fill:Ge(F).light,fillOpacity:.2,stroke:Ge(F).dark,strokeWidth:1},`polypath-${Math.random()}`)),c.map((k,F)=>N(k.data).points.map((J,K)=>h.jsx(u2,{cx:J.x,cy:J.y,r:5,fill:"transparent",onMouseMove:te=>{var ne;return L(te,{yAxisLabel:((ne=r.find(se=>se.id===k.id))==null?void 0:ne.name)??"",xAxisValue:d[K],yAxisValue:k.data[K],xAxisLabel:o??"Category",legendDarkColor:Ge(F).dark,legendLightColor:Ge(F).light})},onMouseOut:B},`radar-point-${Math.random()}`)))]})]}),w&&v&&h.jsx(A,{top:m,left:g,unstyled:!0,applyPositionStyle:!0,children:h.jsx(Dx,{xAxisLabel:v.xAxisLabel??"",xValue:v.xAxisValue,yAxisLabel:v.yAxisLabel??"",yValue:v.yAxisValue,tooltipTitle:i,showSideBySide:!0,legendValue:v.yAxisLabel??"",legendDarkColor:v.legendDarkColor,legendLightColor:v.legendLightColor})},Math.random())]})});Ix.displayName="RadarChartBase";const Lx=u.forwardRef((e,t)=>h.jsx(qn,{debounceTime:10,children:({width:n,height:r})=>h.jsx(Ix,{ref:t,width:n,height:r,...e})}));Lx.displayName="RadarChart";const UB=Lx;function Fx({xValue:e,yValue:t,tooltipTitle:n,xAxisLabel:r,yAxisLabel:o,showSideBySide:a,legendValue:i,legendDarkColor:s,legendLightColor:l}){const c=e==null?void 0:e.toString(),d=t==null?void 0:t.toString();return h.jsxs(ke,{tooltipTitle:n,showSideBySide:a,children:[h.jsx(ke.Item,{label:r,value:c}),h.jsx(ke.Item,{label:o,value:d}),h.jsx(ke.Legend,{value:i,darkColor:s,lightColor:l})]})}Fx.defaultProps={xValue:void 0,yValue:void 0};const XB=({x:e,y:t,datum:n})=>h.jsx(oo,{cx:e,cy:t,stroke:n.color.dark,strokeWidth:1,fill:n.color.dark,r:5,style:{zIndex:1500}}),Bx={xAccessor:e=>e.x,yAccessor:e=>e.y},zx=(e,t,n)=>n==="pre"?`${t}${e}`:`${e}${t}`,Wx=10,qB=5,ch=u.forwardRef(({nodes:e,height:t,width:n,xAxisValues:r,series:o,xAxisLabel:a,yAxisLabel:i,xAxisDomain:s,yAxisDomain:l,xAxisUnitSymbol:c,yAxisUnitSymbol:d,tooltipTitle:f,mode:p,xAxisCharLimit:v,maxNodesInMiniMode:g=qB,tooltipStackCharLimit:m=Wx,seriesSelectorTitle:w},x)=>{const[y,b]=u.useState(e.map(P=>P.id)),C=u.useRef(null);Tn(C,x,`${a}-${i}-StackedBarChart`);const A=u.useMemo(()=>o.map((P,E)=>{const O=e.find(L=>L.id===P.id);return{points:P.data.map((L,B)=>({x:r[B],y:L,nodeId:P.id,color:(O==null?void 0:O.color)??Ge(E)}))}}).slice(0,p==="mini"?g:o.length),[o,p,g,e,r]),T=u.useMemo(()=>p==="full"?A.filter(P=>y.includes(P.points[0].nodeId)):A,[A,y,p]),$=u.useMemo(()=>Math.floor((n-(p==="mini"?0:150))/(r.length*8)),[n,r,p]);return h.jsxs("div",{ref:C,id:"line-chart",className:"rabbit-ds flex flex-col bg-white",style:{width:n,height:t},children:[h.jsxs("div",{className:"flex h-full min-h-0 w-full min-w-0 flex-row",children:[h.jsx("div",{className:"h-full min-h-0 w-full min-w-0",children:h.jsxs(ar,{margin:{top:10,left:50,right:50,bottom:50},xScale:{type:"band",nice:!0,padding:.5,...s&&{domain:s}},yScale:{type:"linear",nice:!0,...l&&{domain:l}},children:[h.jsx(S2,{columns:!1,numTicks:6,lineStyle:{stroke:"#EBEFF3",strokeWidth:1}}),h.jsx($o,{hideTicks:!0,orientation:"bottom",stroke:"#CFD7DF",strokeWidth:1,numTicks:6,tickFormat:P=>c?zx(P,c.symbol,c.position):P,rangePadding:{end:10},tickComponent:P=>h.jsx(Ya,{textLabel:P.formattedValue||"",x:P.x,y:P.y,textStyles:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,fill:"#666666",textAnchor:"middle"},axisCharLimit:v??$}),label:`${a} ➔`,labelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,dy:10,fill:"#666666",textAnchor:"middle",verticalAnchor:"middle"}}),h.jsx($o,{hideTicks:!0,numTicks:6,strokeWidth:1,orientation:"left",stroke:"#CFD7DF",label:`${i} ➔`,tickFormat:P=>d?zx(P,d.symbol,d.position):P,tickLabelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,fill:"#666666"},labelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,dx:-20,fill:"#666666",textAnchor:"middle",verticalAnchor:"middle"}}),h.jsx(mB,{children:T.map(P=>h.jsx(pB,{data:P.points,dataKey:P.points[0].nodeId,xAccessor:Bx.xAccessor,yAccessor:Bx.yAccessor,colorAccessor:E=>E.color.light,radiusTop:!0,radius:2},P.points[0].nodeId))}),h.jsx(rl,{showDatumGlyph:!0,scroll:!0,debounce:500,snapTooltipToDatumX:!0,snapTooltipToDatumY:!0,detectBounds:!0,unstyled:!0,applyPositionStyle:!0,renderGlyph:XB,renderTooltip:({tooltipData:P})=>{var L,B,V,W,M,_;const E=e.find(H=>{var z;return H.id===((z=P==null?void 0:P.nearestDatum)==null?void 0:z.datum.nodeId)}),O=((L=P==null?void 0:P.nearestDatum)==null?void 0:L.datum)&&((B=P==null?void 0:P.nearestDatum)==null?void 0:B.datum.x.length)<m;return h.jsx(Fx,{xValue:(V=P==null?void 0:P.nearestDatum)==null?void 0:V.datum.x,yValue:(W=P==null?void 0:P.nearestDatum)==null?void 0:W.datum.y,xAxisLabel:a,yAxisLabel:i,showSideBySide:!!O,tooltipTitle:f,legendValue:(E==null?void 0:E.name)||"",legendDarkColor:((M=P==null?void 0:P.nearestDatum)==null?void 0:M.datum.color.dark)||Ge(0).dark,legendLightColor:((_=P==null?void 0:P.nearestDatum)==null?void 0:_.datum.color.light)||Ge(0).light})}})]})}),p==="full"&&h.jsxs("div",{className:"inline-flex w-64 shrink-0 grow-0 basis-auto flex-col items-start justify-start gap-0.5 rounded border border-solid border-[color:var(--Accent,#EBEFF3)] bg-[#FDFDFD] p-4 pr-0 text-xs",children:[h.jsxs("div",{className:"pb-1 text-xs font-semibold",children:[h.jsx("span",{className:"pr-1",children:w??a}),"(",T.length??0,"/",A.length,")"]}),h.jsx("div",{className:"inline-flex h-[95%] w-full shrink-0 grow-0 flex-col items-start justify-start gap-1 overflow-scroll pr-4",children:A.map(P=>{const E=e.find(O=>O.id===P.points[0].nodeId);return E&&h.jsxs("div",{className:"flex w-full items-center justify-between gap-1 py-1",children:[h.jsxs("div",{className:"flex items-center justify-between",children:[h.jsx("div",{style:{backgroundColor:P.points[0].color.light,borderColor:P.points[0].color.dark},className:"mr-1 h-3 w-3 rounded-full border"}),E.name]}),h.jsx("div",{className:"flex items-center",children:h.jsx(Fl,{checked:y.includes(E.id),onCheckedChange:O=>{let L=[...y];O?L=[...y,E.id]:L.splice(y.indexOf(E.id),1),b(L)}})})]},E.id)})})]})]}),p==="mini"&&h.jsx("div",{className:"flex flex-row flex-wrap justify-center gap-4 text-[10px] font-semibold text-font-secondary",children:A.map(P=>{const E=e.find(O=>O.id===P.points[0].nodeId);return h.jsxs("div",{className:"flex items-center justify-center gap-1",children:[h.jsx("div",{style:{backgroundColor:P.points[0].color.light,borderColor:P.points[0].color.dark},className:"h-3 w-3 rounded-full border"}),E==null?void 0:E.name]},E==null?void 0:E.id)})})]})}),KB={xAxisUnitSymbol:void 0,yAxisUnitSymbol:void 0,mode:"mini",xAxisCharLimit:void 0,tooltipStackCharLimit:Wx,xAxisDomain:void 0,yAxisDomain:void 0,connectNulls:!1};ch.defaultProps=KB,ch.displayName="StackedBarChartBase";const jx=u.forwardRef((e,t)=>h.jsx(qn,{debounceTime:10,children:({width:n,height:r})=>h.jsx(ch,{ref:t,width:n,height:r,...e})}));jx.displayName="StackedBarChart";const QB=jx;function Vx({xValue:e,yValue:t,tooltipTitle:n,xAxisLabel:r,yAxisLabel:o,showSideBySide:a,chartLevelMetaData:i,nodeLevelMetaData:s={}}){const l=e==null?void 0:e.toString(),c=t==null?void 0:t.toString();return h.jsxs(ke,{tooltipTitle:n,showSideBySide:a,children:[h.jsx(ke.Header,{label:"Review Cycle",value:i.reviewCycleName}),h.jsx(ke.Item,{label:r,value:l}),h.jsx(ke.Item,{label:o,value:c}),h.jsx(ke.Footer,{nodeData:s})]})}Vx.defaultProps={xValue:void 0,yValue:void 0};function ZB({data:e,xAccessor:t,yAccessor:n,connectNulls:r=!1}){const o=u.useContext(Mt),a=r?e.filter(i=>i.y!==null):e;return h.jsx(h.Fragment,{children:h.jsx(l2,{data:a,stroke:a[0].color.dark,strokeWidth:1,x:i=>{var s;return((s=o==null?void 0:o.xScale)==null?void 0:s.call(o,t(i)))??0},y:i=>{var s;return((s=o==null?void 0:o.yScale)==null?void 0:s.call(o,n(i)))??0},curve:ia,shapeRendering:"geometricPrecision"})})}const JB=({x:e,y:t,datum:n,size:r})=>h.jsx(oo,{cx:e,cy:t,stroke:n.color.dark,strokeWidth:1,fill:n.color.light,r:r/2}),RB=({x:e,y:t,datum:n})=>h.jsx(oo,{cx:e,cy:t,stroke:n.color.dark,strokeWidth:1,fill:n.color.dark,r:5,style:{zIndex:1500}}),yl={xAccessor:e=>e.x,yAccessor:e=>e.y},Hx=(e,t,n)=>n==="pre"?`${t}${e}`:`${e}${t}`,ez=10,tz=5,Yx=u.forwardRef(({rowsCount:e=3,nodes:t,height:n,width:r,xAxisLabel:o,yAxisLabel:a,xAxisDomain:i,yAxisDomain:s,xAxisUnitSymbol:l,yAxisUnitSymbol:c,tooltipTitle:d,mode:f="mini",xAxisCharLimit:p,connectNulls:v=!1,maxNodesInMiniMode:g=tz,tooltipStackCharLimit:m=ez,withBackground:w=!0,chartLevelMetaData:x},y)=>{const b=u.useRef(null),C=e===1;Tn(b,y,`${o}-${a}-DirectedLineChart`);const A=u.useMemo(()=>t.map(($,P)=>({points:$.xValues.map((E,O)=>{var B;let L=null;return C?L=1/t.length*(P+1)+1/(t.length*10)*(O+1):L=((B=$==null?void 0:$.yValues)==null?void 0:B[O])??null,{x:$.xValues[O],y:L,nodeId:$.id,color:Ge(P)}})})).slice(0,f==="mini"?g:t.length),[t,f,g,C]),T=u.useMemo(()=>Math.floor((r-(f==="mini"?0:150))/(t[0].xValues.length*8)),[r,f,t]);return h.jsx("div",{ref:b,id:"directed-line-chart",className:ue("rabbit-ds flex flex-col ",w?"bg-[white]":""),style:{width:r,height:n},children:h.jsx("div",{className:"flex h-full min-h-0 w-full min-w-0 flex-row",children:h.jsx("div",{className:"h-full min-h-0 w-full min-w-0",children:h.jsxs(ar,{margin:{top:10,left:50,right:50,bottom:50},xScale:typeof i[0]=="string"?{type:"band",domain:i,padding:1}:{type:"linear",domain:i},yScale:typeof s[0]=="string"?{type:"band",domain:s,padding:1}:{type:"linear",domain:s},children:[h.jsx($o,{hideTicks:!0,orientation:"bottom",stroke:"#CFD7DF",strokeWidth:1,numTicks:6,tickFormat:$=>l?Hx($,l.symbol,l.position):$,tickComponent:$=>h.jsx(Ya,{textLabel:$.formattedValue||"",x:$.x,y:$.y,textStyles:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,fill:"#666666",textAnchor:"middle"},axisCharLimit:p??T}),label:`${o} ➔`,labelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,dy:10,fill:"#666666",textAnchor:"middle",verticalAnchor:"middle"}}),h.jsx($o,{hideTicks:!0,numTicks:C?0:6,strokeWidth:C?0:1,orientation:"left",stroke:"#CFD7DF",label:a?`${a} ➔`:"",tickFormat:$=>c?Hx($,c.symbol,c.position):$,tickLabelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,fill:"#666666"},labelProps:{fontFamily:"system-ui",fontSize:"10px",fontWeight:600,dx:-20,fill:"#666666",textAnchor:"middle",verticalAnchor:"middle"}}),A.map(($,P)=>h.jsxs(h.Fragment,{children:[h.jsx(ZB,{data:$.points,xAccessor:yl.xAccessor,yAccessor:yl.yAccessor,connectNulls:v}),h.jsx(dx,{dataKey:`Performance Management ${P}`,data:$.points,size:8,renderGlyph:JB,xAccessor:yl.xAccessor,yAccessor:yl.yAccessor})]})),h.jsx(rl,{showDatumGlyph:!0,scroll:!0,debounce:500,snapTooltipToDatumX:!0,snapTooltipToDatumY:!0,detectBounds:!0,unstyled:!0,applyPositionStyle:!0,renderGlyph:RB,renderTooltip:({tooltipData:$})=>{var O,L,B,V;const P=t.find(W=>{var M;return W.id===((M=$==null?void 0:$.nearestDatum)==null?void 0:M.datum.nodeId)}),E=((O=$==null?void 0:$.nearestDatum)==null?void 0:O.datum)&&String((L=$==null?void 0:$.nearestDatum)==null?void 0:L.datum.x).length<m;return h.jsx(Vx,{xValue:(B=$==null?void 0:$.nearestDatum)==null?void 0:B.datum.x,yValue:(V=$==null?void 0:$.nearestDatum)==null?void 0:V.datum.y,xAxisLabel:o,yAxisLabel:a,showSideBySide:!!E,tooltipTitle:d,chartLevelMetaData:x,nodeLevelMetaData:P==null?void 0:P.nodeMetaData})}})]})})})})});Yx.displayName="LineBase";const Gx=u.forwardRef((e,t)=>h.jsx(qn,{debounceTime:10,children:({width:n,height:r})=>h.jsx(Yx,{ref:t,width:n,height:r,...e})}));Gx.displayName="DirectedLineChart";const Ux=Gx,nz=[{"#FFEFD4":"#AF5C20"},{"#DBF2D3":"#44812F"},{"#BFE8C6":"#1A5724"},{"#FFE7C5":"#8C6A00"},{"#FAD4D4":"#C62C02"},{"#EAEAEA":"#333333"},{"#E6F1FD":"#1565BC"},{"#FFE1D9":"#C62C02"}];function rz({box:e}){function t(n){if(!n)return"#333";const r=nz.find(o=>o[n]);return r?r[n]:n}return h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsxs("div",{className:"flex shrink grow basis-0 flex-col items-start ",children:[h.jsx("div",{className:"flex items-start gap-2.5",children:h.jsxs("span",{className:"text-3xs",style:{color:t(t(e==null?void 0:e.color))},children:[" ",e==null?void 0:e.label]})}),h.jsxs("span",{className:" text-3xs text-stone-500",children:[e==null?void 0:e.count," Member",N3(e==null?void 0:e.count)]})]}),h.jsx("div",{className:"flex items-start ",children:h.jsx("div",{className:"flex items-center justify-center rounded-3xl bg-neutral-50/40 px-0.5",children:h.jsxs("span",{className:" text-2xs leading-4 text-stone-500",children:[e==null?void 0:e.percentage,"%"]})})})]})}const oz=({rows:e,columns:t,boxData:n=[]})=>{let r="";return!n||(n==null?void 0:n.length)===0||(r=n.slice(0,t).reduce((a,i)=>{var d,f,p,v;const s=e===1?"OVERALL":"PERFORMANCE",l=((f=(d=i==null?void 0:i.scoreRange)==null?void 0:d[s])==null?void 0:f.maxScore)??0,c=((v=(p=i==null?void 0:i.scoreRange)==null?void 0:p[s])==null?void 0:v.minScore)??0;return`${a} minmax(20px, ${l-c}fr)`},"")),r},az=({rows:e,columns:t,boxData:n=[]})=>{if(e===1)return"1fr";let r="";return!n||(n==null?void 0:n.length)===0||(r=n.filter((a,i)=>i%t===0).reduce((a,i)=>{var d,f,p,v;const s="POTENTIAL",l=((f=(d=i==null?void 0:i.scoreRange)==null?void 0:d[s])==null?void 0:f.maxScore)??0,c=((v=(p=i==null?void 0:i.scoreRange)==null?void 0:p[s])==null?void 0:v.minScore)??0;return`${a} minmax(20px, ${l-c}fr)`},"")),r},Xx=u.forwardRef(({rows:e=3,columns:t=3,spacing:n="0",boxData:r=[],position:o="relative",margin:a="0",width:i="100%",left:s=0,top:l=0},c)=>{const d=u.useRef(null);return Tn(d,c,"GridChart"),h.jsx("div",{ref:d,style:{position:o,top:l,left:s,width:i,margin:a,height:"100%"},children:h.jsx("div",{style:{display:"grid",gridTemplateRows:az({rows:e,columns:t,boxData:r}),gridTemplateColumns:oz({rows:e,columns:t,boxData:r}),gap:n,height:"100%"},children:r==null?void 0:r.map((f,p)=>h.jsx("div",{style:{padding:"8px",backgroundColor:(f==null?void 0:f.color)??"#CFD7DF"},children:h.jsx(rz,{box:f})},f.label+f.color+p))})})});Xx.displayName="GridChart";const qx=Xx,Kx=u.forwardRef(({directedLineChartProps:e,gridChartProps:t},n)=>{const r=u.useRef(null);return Tn(r,n,`${e.xAxisLabel}-${e.yAxisLabel}-GridDirectedLineChart`),h.jsxs("div",{ref:r,className:"relative h-full w-full",children:[h.jsx("div",{className:"absolute mx-[50px] mb-[50px] mt-[10px] h-[calc(100%-60px)] w-[calc(100%-100px)]",children:h.jsx(qx,{...t})}),h.jsxs("div",{className:"absolute h-full w-full",children:[h.jsx(Ux,{...e}),h.jsx("div",{})]})]})});Kx.displayName="GridDirectedLineChart";const iz=Kx,xl="ToggleGroup",[Qx,Hj]=nt(xl,[Jr]),Zx=Jr(),sz=u.forwardRef((e,t)=>{const{type:n,...r}=e;if(n==="single"){const o=r;return u.createElement(lz,X({},o,{ref:t}))}if(n==="multiple"){const o=r;return u.createElement(cz,X({},o,{ref:t}))}throw new Error(`Missing prop \`type\` expected on \`${xl}\``)}),[Jx,Rx]=Qx(xl),lz=u.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=e,[i,s]=st({prop:n,defaultProp:r,onChange:o});return u.createElement(Jx,{scope:e.__scopeToggleGroup,type:"single",value:i?[i]:[],onItemActivate:s,onItemDeactivate:u.useCallback(()=>s(""),[s])},u.createElement(ew,X({},a,{ref:t})))}),cz=u.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=e,[i=[],s]=st({prop:n,defaultProp:r,onChange:o}),l=u.useCallback(d=>s((f=[])=>[...f,d]),[s]),c=u.useCallback(d=>s((f=[])=>f.filter(p=>p!==d)),[s]);return u.createElement(Jx,{scope:e.__scopeToggleGroup,type:"multiple",value:i,onItemActivate:l,onItemDeactivate:c},u.createElement(ew,X({},a,{ref:t})))}),[uz,dz]=Qx(xl),ew=u.forwardRef((e,t)=>{const{__scopeToggleGroup:n,disabled:r=!1,rovingFocus:o=!0,orientation:a,dir:i,loop:s=!0,...l}=e,c=Zx(n),d=Ln(i),f={role:"group",dir:d,...l};return u.createElement(uz,{scope:n,rovingFocus:o,disabled:r},o?u.createElement(Oc,X({asChild:!0},c,{orientation:a,dir:d,loop:s}),u.createElement(me.div,X({},f,{ref:t}))):u.createElement(me.div,X({},f,{ref:t})))}),uh="ToggleGroupItem",fz=u.forwardRef((e,t)=>{const n=Rx(uh,e.__scopeToggleGroup),r=dz(uh,e.__scopeToggleGroup),o=Zx(e.__scopeToggleGroup),a=n.value.includes(e.value),i=r.disabled||e.disabled,s={...e,pressed:a,disabled:i},l=u.useRef(null);return r.rovingFocus?u.createElement(Nc,X({asChild:!0},o,{focusable:!i,active:a,ref:l}),u.createElement(tw,X({},s,{ref:t}))):u.createElement(tw,X({},s,{ref:t}))}),tw=u.forwardRef((e,t)=>{const{__scopeToggleGroup:n,value:r,...o}=e,a=Rx(uh,n),i={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},s=a.type==="single"?i:void 0;return u.createElement(qh,X({},s,o,{ref:t,onPressedChange:l=>{l?a.onItemActivate(r):a.onItemDeactivate(r)}}))}),hz=sz,pz=fz;function gz({children:e,...t}){return h.jsx(hz,{className:"flex gap-2",...t,children:e})}function vz({value:e,disabled:t,selected:n,icon:r,label:o,count:a,...i}){return h.jsx(pz,{asChild:!0,value:e,...i,children:h.jsx("button",{"data-deer-btn":!0,type:"button",className:ue("rabbit-ds h-7 flex-col w-auto p-0 border border-solid rounded-full justify-center items-center inline-flex hover:cursor-pointer","data-[state=off]:border-gray-100 data-[state=off]:bg-gray-100 data-[state=off]:text-font-secondary","data-[state=on]:border-primary-hover data-[state=on]:bg-primary/10 data-[state=on]:text-primary-hover","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2"),children:h.jsxs("div",{className:"flex flex-row items-center justify-center gap-1 rounded-full px-4 py-1",children:[r?h.jsx(Fe,{IconSVG:r,size:"small"}):null,h.jsxs("div",{className:"text-sm font-semibold",children:[o?h.jsx("span",{children:o}):null," ",a?h.jsxs("span",{children:["(",a,")"]}):null]})]})})})}const Ga="NavigationMenu",[dh,mz,bz]=vr(Ga),[fh,yz,xz]=vr(Ga),[hh,Yj]=nt(Ga,[bz,xz]),[wz,Fr]=hh(Ga),[Az,Gj]=hh(Ga),Cz=u.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,onValueChange:o,defaultValue:a,delayDuration:i=200,skipDelayDuration:s=300,orientation:l="horizontal",dir:c,...d}=e,[f,p]=u.useState(null),v=Ce(t,E=>p(E)),g=Ln(c),m=u.useRef(0),w=u.useRef(0),x=u.useRef(0),[y,b]=u.useState(!0),[C="",A]=st({prop:r,onChange:E=>{const O=E!=="",L=s>0;O?(window.clearTimeout(x.current),L&&b(!1)):(window.clearTimeout(x.current),x.current=window.setTimeout(()=>b(!0),s)),o==null||o(E)},defaultProp:a}),T=u.useCallback(()=>{window.clearTimeout(w.current),w.current=window.setTimeout(()=>A(""),150)},[A]),$=u.useCallback(E=>{window.clearTimeout(w.current),A(E)},[A]),P=u.useCallback(E=>{C===E?window.clearTimeout(w.current):m.current=window.setTimeout(()=>{window.clearTimeout(w.current),A(E)},i)},[C,A,i]);return u.useEffect(()=>()=>{window.clearTimeout(m.current),window.clearTimeout(w.current),window.clearTimeout(x.current)},[]),u.createElement(Sz,{scope:n,isRootMenu:!0,value:C,dir:g,orientation:l,rootNavigationMenu:f,onTriggerEnter:E=>{window.clearTimeout(m.current),y?P(E):$(E)},onTriggerLeave:()=>{window.clearTimeout(m.current),T()},onContentEnter:()=>window.clearTimeout(w.current),onContentLeave:T,onItemSelect:E=>{A(O=>O===E?"":E)},onItemDismiss:()=>A("")},u.createElement(me.nav,X({"aria-label":"Main","data-orientation":l,dir:g},d,{ref:v})))}),Sz=e=>{const{scope:t,isRootMenu:n,rootNavigationMenu:r,dir:o,orientation:a,children:i,value:s,onItemSelect:l,onItemDismiss:c,onTriggerEnter:d,onTriggerLeave:f,onContentEnter:p,onContentLeave:v}=e,[g,m]=u.useState(null),[w,x]=u.useState(new Map),[y,b]=u.useState(null);return u.createElement(wz,{scope:t,isRootMenu:n,rootNavigationMenu:r,value:s,previousValue:Ka(s),baseId:lt(),dir:o,orientation:a,viewport:g,onViewportChange:m,indicatorTrack:y,onIndicatorTrackChange:b,onTriggerEnter:Qe(d),onTriggerLeave:Qe(f),onContentEnter:Qe(p),onContentLeave:Qe(v),onItemSelect:Qe(l),onItemDismiss:Qe(c),onViewportContentChange:u.useCallback((C,A)=>{x(T=>(T.set(C,A),new Map(T)))},[]),onViewportContentRemove:u.useCallback(C=>{x(A=>A.has(C)?(A.delete(C),new Map(A)):A)},[])},u.createElement(dh.Provider,{scope:t},u.createElement(Az,{scope:t,items:w},i)))},Ez="NavigationMenuList",Mz=u.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Fr(Ez,n),a=u.createElement(me.ul,X({"data-orientation":o.orientation},r,{ref:t}));return u.createElement(me.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange},u.createElement(dh.Slot,{scope:n},o.isRootMenu?u.createElement(aw,{asChild:!0},a):a))}),$z="NavigationMenuItem",[Tz,nw]=hh($z),Pz=u.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,...o}=e,a=lt(),i=r||a||"LEGACY_REACT_AUTO_VALUE",s=u.useRef(null),l=u.useRef(null),c=u.useRef(null),d=u.useRef(()=>{}),f=u.useRef(!1),p=u.useCallback((g="start")=>{if(s.current){d.current();const m=ph(s.current);m.length&&gh(g==="start"?m:m.reverse())}},[]),v=u.useCallback(()=>{if(s.current){const g=ph(s.current);g.length&&(d.current=Fz(g))}},[]);return u.createElement(Tz,{scope:n,value:i,triggerRef:l,contentRef:s,focusProxyRef:c,wasEscapeCloseRef:f,onEntryKeyDown:p,onFocusProxyEnter:p,onRootContentClose:v,onContentFocusOutside:v},u.createElement(me.li,X({},o,{ref:t})))}),rw="NavigationMenuTrigger",kz=u.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,disabled:r,...o}=e,a=Fr(rw,e.__scopeNavigationMenu),i=nw(rw,e.__scopeNavigationMenu),s=u.useRef(null),l=Ce(s,i.triggerRef,t),c=cw(a.baseId,i.value),d=uw(a.baseId,i.value),f=u.useRef(!1),p=u.useRef(!1),v=i.value===a.value;return u.createElement(u.Fragment,null,u.createElement(dh.ItemSlot,{scope:n,value:i.value},u.createElement(sw,{asChild:!0},u.createElement(me.button,X({id:c,disabled:r,"data-disabled":r?"":void 0,"data-state":lw(v),"aria-expanded":v,"aria-controls":d},o,{ref:l,onPointerEnter:de(e.onPointerEnter,()=>{p.current=!1,i.wasEscapeCloseRef.current=!1}),onPointerMove:de(e.onPointerMove,vh(()=>{r||p.current||i.wasEscapeCloseRef.current||f.current||(a.onTriggerEnter(i.value),f.current=!0)})),onPointerLeave:de(e.onPointerLeave,vh(()=>{r||(a.onTriggerLeave(),f.current=!1)})),onClick:de(e.onClick,()=>{a.onItemSelect(i.value),p.current=v}),onKeyDown:de(e.onKeyDown,g=>{const w={horizontal:"ArrowDown",vertical:a.dir==="rtl"?"ArrowLeft":"ArrowRight"}[a.orientation];v&&g.key===w&&(i.onEntryKeyDown(),g.preventDefault())})})))),v&&u.createElement(u.Fragment,null,u.createElement(Zg,{"aria-hidden":!0,tabIndex:0,ref:i.focusProxyRef,onFocus:g=>{const m=i.contentRef.current,w=g.relatedTarget,x=w===s.current,y=m==null?void 0:m.contains(w);(x||!y)&&i.onFocusProxyEnter(x?"start":"end")}}),a.viewport&&u.createElement("span",{"aria-owns":d})))}),ow="navigationMenu.linkSelect",Oz=u.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,active:r,onSelect:o,...a}=e;return u.createElement(sw,{asChild:!0},u.createElement(me.a,X({"data-active":r?"":void 0,"aria-current":r?"page":void 0},a,{ref:t,onClick:de(e.onClick,i=>{const s=i.target,l=new CustomEvent(ow,{bubbles:!0,cancelable:!0});if(s.addEventListener(ow,c=>o==null?void 0:o(c),{once:!0}),Za(s,l),!l.defaultPrevented&&!i.metaKey){const c=new CustomEvent(Al,{bubbles:!0,cancelable:!0});Za(s,c)}},{checkForDefaultPrevented:!1})})))}),wl="NavigationMenuContent",Nz=u.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Fr(wl,e.__scopeNavigationMenu),a=nw(wl,e.__scopeNavigationMenu),i=Ce(a.contentRef,t),s=a.value===o.value,l={value:a.value,triggerRef:a.triggerRef,focusProxyRef:a.focusProxyRef,wasEscapeCloseRef:a.wasEscapeCloseRef,onContentFocusOutside:a.onContentFocusOutside,onRootContentClose:a.onRootContentClose,...r};return o.viewport?u.createElement(Dz,X({forceMount:n},l,{ref:i})):u.createElement(Et,{present:n||s},u.createElement(_z,X({"data-state":lw(s)},l,{ref:i,onPointerEnter:de(e.onPointerEnter,o.onContentEnter),onPointerLeave:de(e.onPointerLeave,vh(o.onContentLeave)),style:{pointerEvents:!s&&o.isRootMenu?"none":void 0,...l.style}})))}),Dz=u.forwardRef((e,t)=>{const n=Fr(wl,e.__scopeNavigationMenu),{onViewportContentChange:r,onViewportContentRemove:o}=n;return dt(()=>{r(e.value,{ref:t,...e})},[e,t,r]),dt(()=>()=>o(e.value),[e.value,o]),null}),Al="navigationMenu.rootContentDismiss",_z=u.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,triggerRef:o,focusProxyRef:a,wasEscapeCloseRef:i,onRootContentClose:s,onContentFocusOutside:l,...c}=e,d=Fr(wl,n),f=u.useRef(null),p=Ce(f,t),v=cw(d.baseId,r),g=uw(d.baseId,r),m=mz(n),w=u.useRef(null),{onItemDismiss:x}=d;u.useEffect(()=>{const b=f.current;if(d.isRootMenu&&b){const C=()=>{var A;x(),s(),b.contains(document.activeElement)&&((A=o.current)===null||A===void 0||A.focus())};return b.addEventListener(Al,C),()=>b.removeEventListener(Al,C)}},[d.isRootMenu,e.value,o,x,s]);const y=u.useMemo(()=>{const C=m().map(O=>O.value);d.dir==="rtl"&&C.reverse();const A=C.indexOf(d.value),T=C.indexOf(d.previousValue),$=r===d.value,P=T===C.indexOf(r);if(!$&&!P)return w.current;const E=(()=>{if(A!==T){if($&&T!==-1)return A>T?"from-end":"from-start";if(P&&A!==-1)return A>T?"to-start":"to-end"}return null})();return w.current=E,E},[d.previousValue,d.value,d.dir,m,r]);return u.createElement(aw,{asChild:!0},u.createElement(jo,X({id:g,"aria-labelledby":v,"data-motion":y,"data-orientation":d.orientation},c,{ref:p,onDismiss:()=>{var b;const C=new Event(Al,{bubbles:!0,cancelable:!0});(b=f.current)===null||b===void 0||b.dispatchEvent(C)},onFocusOutside:de(e.onFocusOutside,b=>{var C;l();const A=b.target;(C=d.rootNavigationMenu)!==null&&C!==void 0&&C.contains(A)&&b.preventDefault()}),onPointerDownOutside:de(e.onPointerDownOutside,b=>{var C;const A=b.target,T=m().some(P=>{var E;return(E=P.ref.current)===null||E===void 0?void 0:E.contains(A)}),$=d.isRootMenu&&((C=d.viewport)===null||C===void 0?void 0:C.contains(A));(T||$||!d.isRootMenu)&&b.preventDefault()}),onKeyDown:de(e.onKeyDown,b=>{const C=b.altKey||b.ctrlKey||b.metaKey;if(b.key==="Tab"&&!C){const $=ph(b.currentTarget),P=document.activeElement,E=$.findIndex(B=>B===P),L=b.shiftKey?$.slice(0,E).reverse():$.slice(E+1,$.length);if(gh(L))b.preventDefault();else{var T;(T=a.current)===null||T===void 0||T.focus()}}}),onEscapeKeyDown:de(e.onEscapeKeyDown,b=>{i.current=!0})})))}),Iz="FocusGroup",aw=u.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Fr(Iz,n);return u.createElement(fh.Provider,{scope:n},u.createElement(fh.Slot,{scope:n},u.createElement(me.div,X({dir:o.dir},r,{ref:t}))))}),iw=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],Lz="FocusGroupItem",sw=u.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=yz(n),a=Fr(Lz,n);return u.createElement(fh.ItemSlot,{scope:n},u.createElement(me.button,X({},r,{ref:t,onKeyDown:de(e.onKeyDown,i=>{if(["Home","End",...iw].includes(i.key)){let l=o().map(f=>f.ref.current);if([a.dir==="rtl"?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(i.key)&&l.reverse(),iw.includes(i.key)){const f=l.indexOf(i.currentTarget);l=l.slice(f+1)}setTimeout(()=>gh(l)),i.preventDefault()}})})))});function ph(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function gh(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}function Fz(e){return e.forEach(t=>{t.dataset.tabindex=t.getAttribute("tabindex")||"",t.setAttribute("tabindex","-1")}),()=>{e.forEach(t=>{const n=t.dataset.tabindex;t.setAttribute("tabindex",n)})}}function lw(e){return e?"open":"closed"}function cw(e,t){return`${e}-trigger-${t}`}function uw(e,t){return`${e}-content-${t}`}function vh(e){return t=>t.pointerType==="mouse"?e(t):void 0}const Bz=Cz,zz=Mz,Wz=Pz,jz=kz,dw=Oz,Vz=Nz,Hz=We(["rabbit-ds h-full w-full px-3 py-2 [&>*:first-child]:h-full"],{variants:{variant:{default:""},defaultVariant:{variant:"default"}}});function Yz(){return h.jsx("div",{className:"relative h-full w-full",children:h.jsxs("div",{className:"absolute left-0 top-0 h-full w-full bg-gradient-to-b from-[#E9F5F8] via-[#F7F7F7] to-[#A1E7FC] shadow-[-4px_0px_4px_0px_rgba(0,0,0.05)_inset]",children:[h.jsx("div",{className:"absolute inset-0 h-full w-full",style:{background:"linear-gradient(180deg, rgba(231, 244, 247, 0.80) 0%, rgba(185, 239, 254, 0.80) 40%, rgba(136, 226, 252, 0.80) 100%)",boxShadow:"-2px 0px 4px rgba(0, 0, 0, 0.05) inset"}}),h.jsx("div",{className:"absolute inset-0 h-full w-full mix-blend-darken",style:{background:"linear-gradient(180deg, #DEEAED 0%, #F6F6F6 40%, #F5F7F7 100%)",boxShadow:"-2px 0px 4px rgba(0, 0, 0, 0.05) inset"}}),h.jsx("div",{className:"absolute inset-0 h-full w-full mix-blend-hard-light",style:{background:"linear-gradient(180deg, #DEEAED 0%, #F6F6F6 40%, #F5F7F7 100%)",boxShadow:"-4px 0px 4px rgba(0, 0, 0, 0.05) inset"}}),h.jsx("div",{className:"absolute inset-0 h-full w-full opacity-60 mix-blend-multiply",style:{background:"linear-gradient(89deg, #A0E7FC 0%, #A4E8FC 19%, #F5F7F7 100%)",boxShadow:"-4px 0px 4px rgba(0, 0, 0, 0.05) inset"}}),h.jsx("div",{className:"absolute inset-0 h-full w-full opacity-90 mix-blend-darken",style:{background:"linear-gradient(180deg, #AAE9FC 0%, #D7F1F8 40%, #F4FDFF 100%)",backdropFilter:"blur(4px)"}}),h.jsx("div",{className:"absolute inset-0 h-full w-full mix-blend-hard-light",style:{background:"linear-gradient(87deg, rgba(233, 245, 248, 0.60) 0%, rgba(247, 247, 247, 0.60) 19%, rgba(247, 247, 247, 0.60) 38%, rgba(161, 231, 252, 0.60) 100%)",boxShadow:"-4px 0px 4px rgba(0, 0, 0, 0.05) inset"}})]})})}const fw=u.forwardRef(({className:e,children:t,...n},r)=>h.jsxs("div",{className:"rabbit-ds relative h-screen w-20",children:[h.jsx("div",{className:"absolute h-full w-full",children:h.jsx(Yz,{})}),h.jsx(Bz,{className:ue(Hz({className:e})),orientation:"vertical",ref:r,...n,children:h.jsx(zz,{className:"m-0 flex h-full flex-col p-0",children:t})})]}));fw.displayName="LeftNav";const mh=u.forwardRef(({children:e,asChild:t=!1,...n},r)=>{const o=t?pn:"div";return h.jsx(Wz,{asChild:!0,children:h.jsx(o,{ref:r,className:"rabbit-ds",...n,children:e})})});mh.displayName="LeftNavItem",mh.defaultProps={asChild:!1};const Gz=We(["inline-flex w-full flex-col items-center justify-start gap-1"],{variants:{variant:{top:"order-1 mb-auto",bottom:"order-2 mt-auto"},defaultVariant:{variant:"top"}}}),hw=u.forwardRef(({children:e,align:t,...n},r)=>h.jsx("div",{ref:r,className:ue(Gz({variant:t})),...n,children:e}));hw.displayName="LeftNavItem";const pw=u.forwardRef((e,t)=>h.jsx(dw,{ref:t,...e,className:"rabbit-ds z-20 flex size-14 h-14 w-14 cursor-pointer items-center justify-center rounded border-none bg-transparent focus:text-primary-focus focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",children:h.jsxs("svg",{className:"z-20 h-6 w-6",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[h.jsx("g",{clipPath:"url(#clip0_1397_29183)",children:h.jsxs("g",{clipPath:"url(#clip1_1397_29183)",filter:"url(#filter0_d_1397_29183)",children:[h.jsx("path",{d:"M22.1654 14.8101C22.1654 15.8326 21.3386 16.6614 20.3187 16.6614C19.2988 16.6614 18.472 15.8326 18.472 14.8101C18.472 13.7877 19.2988 12.9589 20.3187 12.9589C21.3386 12.9589 22.1654 13.7877 22.1654 14.8101Z",fill:"#008EF0"}),h.jsx("path",{d:"M9.50932 5.28316C9.14769 5.45665 8.74267 5.5538 8.315 5.5538C6.78513 5.5538 5.54492 4.31054 5.54492 2.7769C5.54492 1.24326 6.78513 0 8.315 0C9.84488 0 11.0851 1.24326 11.0851 2.7769C11.0851 3.20559 10.9882 3.6116 10.8151 3.9741L14.3002 7.46776C14.4528 7.42686 14.6131 7.40506 14.7785 7.40506C15.7984 7.40506 16.6253 8.2339 16.6253 9.25633C16.6253 10.2788 15.7984 11.1076 14.7785 11.1076C13.7586 11.1076 12.9318 10.2788 12.9318 9.25633C12.9318 9.09048 12.9536 8.92973 12.9944 8.77678L9.50932 5.28316Z",fill:"#008EF0"}),h.jsx("path",{d:"M5.53426 9.24775C5.53426 10.2702 4.70745 11.099 3.68754 11.099C2.66762 11.099 1.84082 10.2702 1.84082 9.24775C1.84082 8.22532 2.66762 7.39648 3.68754 7.39648C4.70745 7.39648 5.53426 8.22532 5.53426 9.24775Z",fill:"#FFC200"}),h.jsx("path",{d:"M9.99463 16.5323C9.84207 16.5732 9.68173 16.595 9.5163 16.595C8.49639 16.595 7.66958 15.7661 7.66958 14.7437C7.66958 13.7213 8.49639 12.8924 9.5163 12.8924C10.5362 12.8924 11.363 13.7213 11.363 14.7437C11.363 14.9095 11.3413 15.0703 11.3005 15.2232L14.7855 18.7169C15.1471 18.5434 15.5521 18.4462 15.9798 18.4462C17.5097 18.4462 18.7499 19.6895 18.7499 21.2231C18.7499 22.7568 17.5097 24 15.9798 24C14.4499 24 13.2097 22.7568 13.2097 21.2231C13.2097 20.7944 13.3066 20.3884 13.4797 20.0259L9.99463 16.5323Z",fill:"#FFC200"}),h.jsx("path",{d:"M11.087 20.3604C11.087 21.3828 10.2602 22.2117 9.24028 22.2117C8.22036 22.2117 7.39355 21.3828 7.39355 20.3604C7.39355 19.338 8.22036 18.5092 9.24028 18.5092C10.2602 18.5092 11.087 19.338 11.087 20.3604Z",fill:"#EC3B64"}),h.jsx("path",{d:"M24.014 8.32719C24.014 9.86083 22.7738 11.1041 21.2439 11.1041C20.8197 11.1041 20.4178 11.0085 20.0584 10.8377L16.5673 14.3374C16.6063 14.4873 16.6271 14.6445 16.6271 14.8066C16.6271 15.8291 15.8003 16.6579 14.7804 16.6579C13.7605 16.6579 12.9337 15.8291 12.9337 14.8066C12.9337 13.7842 13.7605 12.9554 14.7804 12.9554C14.9495 12.9554 15.1134 12.9782 15.269 13.0208L18.748 9.53324C18.5723 9.1685 18.4738 8.75938 18.4738 8.32719C18.4738 6.79355 19.714 5.55029 21.2439 5.55029C22.7738 5.55029 24.014 6.79355 24.014 8.32719Z",fill:"#EC3B64"}),h.jsx("path",{d:"M16.6205 3.69746C16.6205 4.71988 15.7937 5.54872 14.7737 5.54872C13.7538 5.54872 12.927 4.71988 12.927 3.69746C12.927 2.67503 13.7538 1.84619 14.7737 1.84619C15.7937 1.84619 16.6205 2.67503 16.6205 3.69746Z",fill:"#5CC461"}),h.jsx("path",{d:"M11.0803 9.25125C11.0803 10.2737 10.2535 11.1025 9.23361 11.1025C9.07191 11.1025 8.91506 11.0817 8.7656 11.0425L5.27441 14.5423C5.44482 14.9026 5.54016 15.3055 5.54016 15.7307C5.54016 17.2643 4.29995 18.5076 2.77008 18.5076C1.24021 18.5076 0 17.2643 0 15.7307C0 14.197 1.24021 12.9538 2.77008 12.9538C3.20121 12.9538 3.60934 13.0525 3.97319 13.2287L7.45222 9.74107C7.40963 9.58505 7.38689 9.42081 7.38689 9.25125C7.38689 8.22883 8.21369 7.39999 9.23361 7.39999C10.2535 7.39999 11.0803 8.22883 11.0803 9.25125Z",fill:"#5CC461"})]})}),h.jsxs("defs",{children:[h.jsxs("filter",{id:"filter0_d_1397_29183",x:"-8",y:"-6",width:"40",height:"40",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[h.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),h.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),h.jsx("feOffset",{dy:"2"}),h.jsx("feGaussianBlur",{stdDeviation:"4"}),h.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),h.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),h.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1397_29183"}),h.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1397_29183",result:"shape"})]}),h.jsx("clipPath",{id:"clip0_1397_29183",children:h.jsx("rect",{width:"24",height:"24",rx:"8",fill:"white"})}),h.jsx("clipPath",{id:"clip1_1397_29183",children:h.jsx("rect",{width:"24",height:"24",fill:"white"})})]})]})}));pw.displayName="LeftNavHome";const Uz=We(["rabbit-ds relative flex h-14 w-14 items-center justify-center rounded-lg font-sans text-[10px] text-font-secondary transition-colors disabled:pointer-events-none","hover:bg-card-bg-hover hover:font-medium hover:text-primary-hover","focus:bg-card-bg-focus focus:font-medium focus:text-primary-focus focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","active:bg-card-bg-focus active:font-medium active:text-primary-focus","is-active:bg-card-bg-focus is-active:text-primary-focus "],{variants:{variant:{default:"",withNotification:"",withMenu:"",gradient:""}},defaultVariants:{variant:"default"}}),Xz=We("",{variants:{variant:{default:"",gradient:"bg-[linear-gradient(90deg,#038EEF_9.05%,#ED3C65_86.39%)] text-transparent [-webkit-background-clip:text] [background-clip:text]"}},defaultVariants:{variant:"default"}}),gw=u.forwardRef(({className:e,variant:t,badgeText:n,icon:r,iconSize:o,isActive:a=!1,children:i,...s},l)=>h.jsx("div",{className:"rabbit-ds",children:h.jsxs(dw,{"data-deer-btn":!0,className:ue(Uz({variant:t,className:e})),ref:l,"data-active":a,...s,children:[h.jsxs("div",{className:"flex flex-col items-center",children:[h.jsxs("div",{className:"relative flex items-center justify-center",children:[h.jsx(Fe,{IconSVG:r}),t==="withNotification"&&h.jsxs("div",{className:"absolute left-3 flex h-5 w-6 items-center justify-center rounded-xl bg-functional-warn px-2 text-xs text-white",children:[h.jsx("span",{className:"sr-only",children:"Notification"}),n]})]}),h.jsx("div",{className:ue(Xz({variant:t==="gradient"?t:"default"})),children:i})]}),t==="withMenu"&&h.jsx("div",{className:"absolute right-0 flex h-14 w-3 items-center justify-center",children:h.jsx(Fe,{IconSVG:Vh})})]})}));gw.displayName="LeftNavButton";const qz=We("cursor-pointer border border-solid border-[#CFD7DF] bg-[#F5F7F9] px-1 py-[2px] text-primary transition-all hover:border-primary-hover hover:bg-primary-hover hover:text-white",{variants:{variant:{default:"rounded-l-full border-r-0",collapsed:"rounded-r-full border-l-0"}},defaultVariants:{variant:"default"}});function Kz({className:e,isCollapsed:t,...n}){return h.jsx("button",{"data-deer-btn":!0,type:"button",className:ue(qz({variant:t?"collapsed":"default"}),e),...n,children:h.jsx(Fe,{IconSVG:zh,className:t?"rotate-180":""})})}const vw=u.createContext({isOpen:!1,toggleOpen:()=>{}}),Qz=()=>u.useContext(vw);function mw({...e}){const{isOpen:t,toggleOpen:n}=Qz();return h.jsx(Kz,{className:`absolute right-0 top-5 z-20 ${t?"":"translate-x-full"}`,isCollapsed:!t,onClick:n,...e})}function Zz(e){const{children:t,defaultOpen:n=!1}=e,r=e.open!==void 0,[o,a]=u.useState(n),i=u.useCallback(()=>{a(d=>!d)},[]),s=r?e.open:o,l=r?e.onToggle:i,c=u.useMemo(()=>({isOpen:s,toggleOpen:l}),[s,l]);return h.jsx(vw.Provider,{value:c,children:h.jsxs("div",{className:ue("rabbit-ds relative h-screen transition-all",s?"w-full":"w-0","shadow-[-8px_-2px_8px_0px_rgba(0,0,0,0.08)_inset]"),style:{background:"linear-gradient(273deg, #E7EFF1 0%, #EEF5F8 11%, #EFFAFE 100%)"},children:[h.jsx(mw,{}),h.jsx("div",{className:s?"h-full p-5":"invisible h-0 w-0 scale-0 overflow-hidden opacity-0",children:t})]})})}function Jz({children:e}){return h.jsx("div",{className:ue("nav-group flex flex-col gap-1","after:h-[1px] after:bg-accent after:w-full after:my-4 last:after:hidden"),children:e})}function Rz({children:e}){return h.jsx("div",{className:"p-2 text-xs font-semibold text-font-secondary",children:e})}function eW({children:e,...t}){return h.jsx(Kg,{...t,children:e})}const tW=We("shrink-0",{variants:{orientation:{horizontal:"ml-2",vertical:"mt-2 w-full [&>div]:w-full [&_button]:w-full"}},defaultVariants:{orientation:"horizontal"}});function nW({className:e,orientation:t,...n}){return h.jsx("div",{className:tW({orientation:t}),children:h.jsx(Ot,{className:e,variant:"outline",...n})})}const rW={ON_TRACK:{label:"On-track",colorScheme:"tag-green"},OFF_TRACK:{label:"Off-track",colorScheme:"tag-yellow"},AT_RISK:{label:"At-risk",colorScheme:"tag-red"},CLOSED:{label:"Closed",colorScheme:"tag-darkGray"},NOT_STARTED:{label:"Not started",colorScheme:"tag-lightGray"}};function oW({title:e,achieved:t,status:n}){const r=rW[n];return h.jsx("div",{className:"rabbit-ds mr-auto",children:h.jsxs("div",{className:"flex flex-col gap-1 p-2",children:[h.jsx("div",{className:"mt-1 text-sm",children:e}),h.jsxs("div",{className:"mt-[14px] flex items-end gap-[18px]",children:[h.jsxs("div",{className:"flex flex-col",children:[h.jsx("span",{className:"text-xs text-font-secondary",children:"Achieved"}),h.jsxs("span",{className:ue(r.colorScheme,"font-semibold text-2xl !bg-transparent"),children:[t,"%"]})]}),h.jsx(Qi,{colorScheme:r.colorScheme,className:"mb-1",children:r.label})]})]})})}function aW({employeeName:e,employeeProfilePhoto:t,reviewCycleName:n,reviewType:r,dueBy:o}){return h.jsx("div",{className:"rabbit-ds mr-auto",children:h.jsxs("div",{className:"flex gap-2",children:[h.jsx(on,{size:"xl",children:h.jsx(an,{src:t,alt:"Avatar"})}),h.jsxs("div",{className:"flex flex-col items-start text-sm",children:[h.jsx("span",{className:"font-semibold",children:e}),h.jsx(Qi,{className:"mt-0.5",variant:"outlined",children:r}),h.jsx("span",{className:"mt-1.5 text-font-secondary",children:n}),h.jsxs("span",{className:"text-font-secondary",children:["Due by ",o]})]})]})})}function iW({employeeName:e,employeeProfilePhoto:t,designation:n}){return h.jsx("div",{className:"rabbit-ds mr-auto",children:h.jsxs("div",{className:"flex gap-2",children:[h.jsx(on,{size:"xl",children:h.jsx(an,{src:t,alt:"Avatar"})}),h.jsxs("div",{className:"flex flex-col items-start text-sm",children:[h.jsx("span",{className:"font-semibold",children:e}),h.jsx("span",{className:"text-font-secondary",children:n})]})]})})}function sW({employeeName:e,employeeProfilePhoto:t,designation:n,requestReason:r}){return h.jsx("div",{className:"rabbit-ds mr-auto w-[60%]",children:h.jsxs("div",{className:"flex w-full gap-2",children:[h.jsx(on,{size:"xl",children:h.jsx(an,{src:t,alt:"Avatar"})}),h.jsxs("div",{className:"flex w-full flex-col items-start text-sm",children:[h.jsx("span",{className:"font-semibold",children:e}),h.jsx(Qi,{variant:"outlined",children:n}),h.jsx("span",{className:"mt-1 w-full truncate text-font-secondary",children:r})]})]})})}const lW=We("",{variants:{orientation:{horizontal:"flex-row",vertical:"min-w-max flex-col"}},defaultVariants:{orientation:"horizontal"}});function cW({className:e,children:t,orientation:n}){return h.jsx("div",{className:ue("rabbit-ds","w-full flex items-center rounded-lg p-4 bg-[#FDFDFD] border border-solid border-[#F3F5F8]",lW({orientation:n}),e),children:t})}function uW({nudgeCardList:e,title:t,imgSrc:n,description:r,pageSize:o=3,kebabMenu:a}){const[i,s]=u.useState(1),l=e.slice(0,o*i),c=e.length>o,d=e.length===l.length,f=()=>{s(p=>d?1:p+1)};return h.jsxs("div",{className:ue("rabbit-ds","w-full flex flex-col items-start rounded-lg px-4 py-3 gap-[7px] bg-white shadow-[0px_0px_2px_0px_rgba(0,0,0,0.24)]"),children:[h.jsxs("div",{className:"flex w-full items-center justify-between",children:[h.jsx("span",{className:"text-sm font-semibold",children:t}),a]}),h.jsxs("div",{className:"mt-1 flex items-center gap-4",children:[n?h.jsx(on,{className:"h-16 w-16",children:h.jsx(an,{src:n,alt:t})}):null,h.jsx("span",{className:"text-sm",children:r})]}),l,c&&h.jsx("div",{className:"mx-auto",children:h.jsxs(Ot,{variant:"text",onClick:f,iconRight:d?Fh:Bo,children:["View ",d?"less":"more"]})})]})}function dW({surveyName:e,date:t}){return h.jsx("div",{className:"rabbit-ds mr-auto",children:h.jsxs("div",{className:"flex gap-2",children:[h.jsx(Fe,{IconSVG:Gh}),h.jsxs("div",{className:"flex flex-col items-start text-sm",children:[h.jsx("span",{className:"font-semibold",children:e}),h.jsx(mc,{date:t,showRelativeTime:!0})]})]})})}const fW=We("",{variants:{variant:{single:"flex-row [&>div]:items-start",multiple:"flex-col"}},defaultVariants:{variant:"single"}});function bw({employeeName:e,employeeProfilePhoto:t,scheduleDate:n,duration:r,variant:o,subTitle:a}){return h.jsx("div",{className:"rabbit-ds mr-auto",children:h.jsxs("div",{className:ue("flex items-center text-sm gap-2",fW({variant:o})),children:[h.jsx(on,{size:"xl",children:h.jsx(an,{src:t,alt:e})}),h.jsxs("div",{className:"flex flex-col items-center gap-1",children:[h.jsx("span",{className:"font-semibold",children:e}),n?h.jsx(mc,{date:n,duration:r,timeFormat:"HH:mm a",showTime:!0,className:"text-font-secondary"}):h.jsx("span",{className:"font-semibold",style:{color:"#C62C02"},children:a})]})]})})}bw.defaultProps={subTitle:void 0,scheduleDate:void 0};function hW({label:e,onClick:t,customCompProps:n}){const[r,o]=u.useState(1);return h.jsxs(Wc,{children:[h.jsx(Wi,{children:h.jsx("span",{children:e})}),h.jsx(zc,{children:h.jsx(ji,{children:h.jsx(Rr,{children:h.jsxs("div",{className:"flex flex-col p-2",children:[h.jsx(Jh,{htmlFor:n==null?void 0:n.label,className:"text-xs",children:n==null?void 0:n.label}),h.jsx(Kh,{id:n==null?void 0:n.label,className:"mt-2 !min-w-[160px]",type:"number",value:r,onChange:a=>o(a.target.valueAsNumber),min:1}),h.jsx("div",{className:"flex justify-end",children:h.jsx(Ot,{className:"mt-2",onClick:()=>t(r),disabled:r<1||Number.isNaN(r),children:n==null?void 0:n.buttonText})})]})})})})]})}function pW({options:e}){const[t,n]=u.useState(!1),r=(o,a)=>{o(a),n(!1)};return h.jsxs(Fi,{open:t,children:[h.jsx(Bi,{asChild:!0,onClick:()=>n(!0),children:h.jsx(Ot,{variant:"text",size:"smallIcon",children:h.jsx(Fe,{IconSVG:jh})})}),h.jsx(Jo,{className:"w-56",onFocusOutside:()=>n(!1),onPointerDownOutside:()=>n(!1),children:h.jsx(Rr,{children:e.map(({type:o,onClick:a,label:i,customCompProps:s})=>!o||o==="default"?h.jsx(Ro,{onClick:()=>r(a),children:h.jsx("span",{children:i})},i):h.jsx(hW,{onClick:l=>r(a,l),label:i,customCompProps:s},i))})})]})}const yw=Ro,xw=Rr,ww=zi,Aw=Yi,Cw=Vi,Sw=Hi,Ew=u.forwardRef(({className:e,children:t,align:n="end",...r},o)=>h.jsx(Jo,{ref:o,align:n,...r,children:t}));Ew.displayName="SplitButtonDropdownContent";const gW=We("",{variants:{size:{normal:"icon",small:"smallIcon",icon:"icon",smallIcon:"smallIcon",nav:"icon"}},defaultVariants:{size:"normal"}});function vW({children:e,size:t,status:n,variant:r,...o}){return h.jsx("div",{className:"rabbit-ds flex flex-row",children:h.jsxs(Fi,{children:[h.jsx(Ot,{variant:r,status:n,size:t,...o,className:"rounded-r-none",children:e}),h.jsx(Bi,{asChild:!0,children:h.jsx(Ot,{variant:r,status:n,className:"rounded-l-none border-l-0",size:gW({size:t}),iconLeft:Bo})})]})})}yw.displayName="SplitButtonDropdownItem",xw.displayName="SplitButtonDropdownGroup",ww.displayName="SplitButtonDropdownRadioGroup",Aw.displayName="SplitButtonDropdownLabel",Cw.displayName="SplitButtonDropdownCheckboxItem",Sw.displayName="SplitButtonDropdownRadioItem",Y.Accordion=O0,Y.AccordionContent=_0,Y.AccordionItem=N0,Y.AccordionTrigger=D0,Y.Add=D3,Y.Alert=I0,Y.AlertDescription=F0,Y.AlertDialogAction=Mp,Y.AlertDialogCancel=Ep,Y.AlertDialogComponent=o6,Y.AlertDialogContainer=Cp,Y.AlertDialogContent=dc,Y.AlertDialogDescription=hc,Y.AlertDialogOverlay=uc,Y.AlertDialogPortal=Sp,Y.AlertDialogTitle=fc,Y.AlertDialogTrigger=$p,Y.AlertIcon=L0,Y.Avatar=on,Y.AvatarBadge=Gi,Y.AvatarFallback=mi,Y.AvatarGroup=tu,Y.AvatarImage=an,Y.Button=Ot,Y.Caption=pc,Y.Card=bi,Y.CardContent=Fp,Y.CardDescription=Lp,Y.CardHeader=_p,Y.CardKPI=D9,Y.CardTitle=Ip,Y.Carousel=BE,Y.CarouselContainer=zE,Y.CarouselNextButton=jE,Y.CarouselPrevButton=WE,Y.Check=Fo,Y.Checkbox=Fl,Y.ChevronDown=Bo,Y.ChevronLeft=_3,Y.ChevronLeftCircle=Ih,Y.ChevronRight=Ll,Y.ChevronRightCircle=Lh,Y.ChevronUp=Fh,Y.Chip=J3,Y.ChipGroup=gz,Y.ChipGroupItem=vz,Y.Close=Bh,Y.CollapseNavigation=zh,Y.Company=I3,Y.DateTime=mc,Y.DirectedLineChart=Ux,Y.DonutChart=GB,Y.Download=L3,Y.Dropdown=Fi,Y.DropdownCheckboxItem=Vi,Y.DropdownContent=Jo,Y.DropdownGroup=Rr,Y.DropdownItem=Ro,Y.DropdownLabel=Yi,Y.DropdownPortal=zc,Y.DropdownRadioGroup=zi,Y.DropdownRadioItem=Hi,Y.DropdownSeparator=jc,Y.DropdownSub=Wc,Y.DropdownSubContent=ji,Y.DropdownSubTrigger=Wi,Y.DropdownTrigger=Bi,Y.EngagementNudgeData=dW,Y.ErrorOutline=F3,Y.Goal=B3,Y.GoalsNudgeData=oW,Y.GridChart=qx,Y.GridDirectedLineChart=iz,Y.HistogramChart=VB,Y.Home=z3,Y.Icon=Fe,Y.InfoWorkZero=Wh,Y.Input=Kh,Y.KebabMenu=jh,Y.KnowTeamNudgeData=bw,Y.Label=Jh,Y.LeftNav=fw,Y.LeftNavButton=gw,Y.LeftNavGroup=hw,Y.LeftNavHome=pw,Y.LeftNavItem=mh,Y.LeftNavItemContent=Vz,Y.LeftNavItemDropdown=Fi,Y.LeftNavItemDropdownCheckboxItem=Vi,Y.LeftNavItemDropdownContent=Jo,Y.LeftNavItemDropdownGroup=Rr,Y.LeftNavItemDropdownItem=Ro,Y.LeftNavItemDropdownLabel=Yi,Y.LeftNavItemDropdownPortal=zc,Y.LeftNavItemDropdownRadioGroup=zi,Y.LeftNavItemDropdownRadioItem=Hi,Y.LeftNavItemDropdownSeparator=jc,Y.LeftNavItemDropdownSub=Wc,Y.LeftNavItemDropdownSubContent=ji,Y.LeftNavItemDropdownSubTrigger=Wi,Y.LeftNavItemDropdownTrigger=Bi,Y.LeftNavItemTrigger=jz,Y.LineChart=MB,Y.ListItem=Kg,Y.ListItemIcon=nS,Y.ListItemText=eS,Y.Manager=W3,Y.MeshLogo=X3,Y.MeshMaven=q3,Y.Metric=Iv,Y.MetricCard=_v,Y.MetricCardText=nu,Y.MetricCardTitle=Lv,Y.MyOneOnOne=j3,Y.NavCollapseButtonL2=mw,Y.NavGroupL2=Jz,Y.NavGroupTitleL2=Rz,Y.NavItemL2=eW,Y.NavL2=Zz,Y.NudgeAction=nW,Y.NudgeCard=uW,Y.NudgeCardItem=cW,Y.NudgeKebabMenu=pW,Y.Overflow=Vh,Y.Person=V3,Y.ProfileCard=ru,Y.ProfileCardItem=Fv,Y.ProfileCardKey=Bv,Y.ProfileCardValue=zv,Y.ProgressBar=s0,Y.ProgressInfo=O9,Y.ProgressSlider=zA,Y.RadarChart=UB,Y.RequestFeedback=H3,Y.RequestedFeedbackNudgeData=sW,Y.ReviewsNudgeData=aW,Y.Role=Y3,Y.SankeyChart=LB,Y.Search=Hh,Y.Select=YS,Y.SelectContent=fv,Y.SelectGroup=GS,Y.SelectItem=pv,Y.SelectLabel=hv,Y.SelectSeparator=gv,Y.SelectTrigger=dv,Y.SelectValue=US,Y.ShareFeedback=G3,Y.SharePraiseNudgeData=iW,Y.SliderDrag=Yh,Y.SplitButton=vW,Y.SplitButtonDropdownCheckboxItem=Cw,Y.SplitButtonDropdownContent=Ew,Y.SplitButtonDropdownGroup=xw,Y.SplitButtonDropdownItem=yw,Y.SplitButtonDropdownLabel=Aw,Y.SplitButtonDropdownRadioGroup=ww,Y.SplitButtonDropdownRadioItem=Sw,Y.StackedBarChart=QB,Y.Survey=Gh,Y.Tabs=Ev,Y.TabsContent=Tv,Y.TabsList=Mv,Y.TabsTrigger=$v,Y.Tag=Qi,Y.Team=U3,Y.Tooltip=Jc,Y.TooltipContent=Ji,Y.TooltipPortal=eu,Y.TooltipProvider=Zc,Y.TooltipTrigger=Rc,Y.TrendingDown=K3,Y.TrendingUp=Q3,Y.getInitialsFromName=Dp,Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"})});
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- :where(.rabbit-ds) *,:where(.rabbit-ds) :before,:where(.rabbit-ds) :after{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji",agGridAlpine;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:where(.rabbit-ds):before,:where(.rabbit-ds) :after{--tw-content: ""}:where(.rabbit-ds) html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4}:where(.rabbit-ds) body{margin:0;line-height:inherit}:where(.rabbit-ds) hr{height:0;color:inherit;border-top-width:1px}:where(.rabbit-ds) abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}:where(.rabbit-ds) h1,:where(.rabbit-ds) h2,:where(.rabbit-ds) h3,:where(.rabbit-ds) h4,:where(.rabbit-ds) h5,:where(.rabbit-ds) h6{font-size:inherit;font-weight:inherit}:where(.rabbit-ds) a{color:inherit;text-decoration:inherit}:where(.rabbit-ds) b,:where(.rabbit-ds) strong{font-weight:bolder}:where(.rabbit-ds) code,:where(.rabbit-ds) kbd,:where(.rabbit-ds) samp,:where(.rabbit-ds) pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}:where(.rabbit-ds) small{font-size:80%}:where(.rabbit-ds) sub,:where(.rabbit-ds) sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}:where(.rabbit-ds) sub{bottom:-.25em}:where(.rabbit-ds) sup{top:-.5em}:where(.rabbit-ds) table{text-indent:0;border-color:inherit;border-collapse:collapse}:where(.rabbit-ds) button,:where(.rabbit-ds) input,:where(.rabbit-ds) optgroup,:where(.rabbit-ds) select,:where(.rabbit-ds) textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}:where(.rabbit-ds) button,:where(.rabbit-ds) select{text-transform:none}:where(.rabbit-ds) [data-deer-btn]{-webkit-appearance:button;background-color:transparent;background-image:none}:where(.rabbit-ds) :-moz-focusring{outline:auto}:where(.rabbit-ds) :-moz-ui-invalid{box-shadow:none}:where(.rabbit-ds) progress{vertical-align:baseline}:where(.rabbit-ds) ::-webkit-inner-spin-button,:where(.rabbit-ds) ::-webkit-outer-spin-button{height:auto}:where(.rabbit-ds) [type=search]{-webkit-appearance:textfield;outline-offset:-2px}:where(.rabbit-ds) ::-webkit-search-decoration{-webkit-appearance:none}:where(.rabbit-ds) ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(.rabbit-ds) summary{display:list-item}:where(.rabbit-ds) blockquote,:where(.rabbit-ds) dl,:where(.rabbit-ds) dd,:where(.rabbit-ds) h1,:where(.rabbit-ds) h2,:where(.rabbit-ds) h3,:where(.rabbit-ds) h4,:where(.rabbit-ds) h5,:where(.rabbit-ds) h6,:where(.rabbit-ds) hr,:where(.rabbit-ds) figure,:where(.rabbit-ds) p,:where(.rabbit-ds) pre{margin:0}:where(.rabbit-ds) fieldset{margin:0;padding:0}:where(.rabbit-ds) legend{padding:0}:where(.rabbit-ds) [data-deer-list]{list-style:none;margin:0;padding:0}:where(.rabbit-ds) dialog{padding:0}:where(.rabbit-ds) textarea{resize:vertical}:where(.rabbit-ds) input::-moz-placeholder,:where(.rabbit-ds) textarea::-moz-placeholder{opacity:1;color:#9ca3af}:where(.rabbit-ds) input::placeholder,:where(.rabbit-ds) textarea::placeholder{opacity:1;color:#9ca3af}:where(.rabbit-ds) button,:where(.rabbit-ds) [role=button]{cursor:pointer}:where(.rabbit-ds) :disabled{cursor:default}:where(.rabbit-ds) img,:where(.rabbit-ds) svg,:where(.rabbit-ds) video,:where(.rabbit-ds) canvas,:where(.rabbit-ds) audio,:where(.rabbit-ds) iframe,:where(.rabbit-ds) embed,:where(.rabbit-ds) object{display:block;vertical-align:middle}:where(.rabbit-ds) img,:where(.rabbit-ds) video{max-width:100%;height:auto}:where(.rabbit-ds) [hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}html{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.left-0{left:0}.left-3{left:.75rem}.left-\[-14px\]{left:-14px}.left-\[50\%\]{left:50%}.right-0{right:0}.right-2{right:.5rem}.top-0{top:0}.top-1\/2{top:50%}.top-5{top:1.25rem}.top-\[-14px\]{top:-14px}.top-\[50\%\]{top:50%}.z-20{z-index:20}.z-\[1450\]{z-index:1450}.z-\[1500\]{z-index:1500}.z-\[1510\]{z-index:1510}.order-1{order:1}.order-2{order:2}.m-0{margin:0}.m-4{margin:1rem}.m-\[50px\]{margin:50px}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-auto{margin-top:auto;margin-bottom:auto}.mb-1{margin-bottom:.25rem}.mb-3{margin-bottom:.75rem}.mb-auto{margin-bottom:auto}.ml-2{margin-left:.5rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-auto{margin-right:auto}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-14{margin-top:3.5rem}.mt-2{margin-top:.5rem}.mt-\[14px\]{margin-top:14px}.mt-auto{margin-top:auto}.box-border{box-sizing:border-box}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.aspect-square{aspect-ratio:1 / 1}.size-14{width:3.5rem;height:3.5rem}.h-0{height:0px}.h-1{height:.25rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-28{height:7rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[120px\]{height:120px}.h-\[1px\]{height:1px}.h-\[20px\]{height:20px}.h-\[260px\]{height:260px}.h-\[500px\]{height:500px}.h-\[95\%\]{height:95%}.h-\[calc\(100\%-100px\)\]{height:calc(100% - 100px)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-min{height:-moz-min-content;height:min-content}.h-px{height:1px}.h-screen{height:100vh}.max-h-\[75vh\]{max-height:75vh}.max-h-\[85vh\]{max-height:85vh}.min-h-0{min-height:0px}.min-h-8{min-height:2rem}.min-h-80{min-height:20rem}.min-h-\[96px\]{min-height:96px}.w-0{width:0px}.w-1{width:.25rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-20{width:5rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-9\/12{width:75%}.w-\[100px\]{width:100px}.w-\[120px\]{width:120px}.w-\[180px\]{width:180px}.w-\[240px\]{width:240px}.w-\[300px\]{width:300px}.w-\[412px\]{width:412px}.w-\[436px\]{width:436px}.w-\[60\%\]{width:60%}.w-\[600px\]{width:600px}.w-\[700px\]{width:700px}.w-\[70vw\]{width:70vw}.w-\[900px\]{width:900px}.w-\[90vw\]{width:90vw}.w-\[calc\(100\%-100px\)\]{width:calc(100% - 100px)}.w-auto{width:auto}.w-full{width:100%}.w-min{width:-moz-min-content;width:min-content}.\!min-w-\[160px\]{min-width:160px!important}.min-w-0{min-width:0px}.min-w-\[200px\]{min-width:200px}.min-w-\[210px\]{min-width:210px}.min-w-\[224px\]{min-width:224px}.min-w-\[304px\]{min-width:304px}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.min-w-max{min-width:-moz-max-content;min-width:max-content}.max-w-\[336px\]{max-width:336px}.max-w-\[400px\]{max-width:400px}.max-w-\[500px\]{max-width:500px}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-0{flex-basis:0px}.basis-auto{flex-basis:auto}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[-50\%\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-0{--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.touch-pan-y{--tw-pan-y: pan-y;touch-action:var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.auto-rows-auto{grid-auto-rows:auto}.grid-cols-\[1fr_2fr\]{grid-template-columns:1fr 2fr}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-\[12px\]{gap:12px}.gap-\[18px\]{gap:18px}.gap-\[1px\]{gap:1px}.gap-\[7px\]{gap:7px}.gap-\[8px\]{gap:8px}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\[50\%\]{border-radius:50%}.rounded-\[8px\]{border-radius:8px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-tl{border-top-left-radius:.25rem}.rounded-tr{border-top-right-radius:.25rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l-0{border-left-width:0px}.border-r{border-right-width:1px}.border-r-0{border-right-width:0px}.border-t-2{border-top-width:2px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-\[\#999999\]{--tw-border-opacity: 1;border-color:rgb(153 153 153 / var(--tw-border-opacity))}.border-\[\#C62C02\]{--tw-border-opacity: 1;border-color:rgb(198 44 2 / var(--tw-border-opacity))}.border-\[\#CFD7DF\]{--tw-border-opacity: 1;border-color:rgb(207 215 223 / var(--tw-border-opacity))}.border-\[\#F3F5F8\]{--tw-border-opacity: 1;border-color:rgb(243 245 248 / var(--tw-border-opacity))}.border-\[color\:var\(--Accent\,\#EBEFF3\)\]{border-color:var(--Accent,#EBEFF3)}.border-accent{--tw-border-opacity: 1;border-color:rgb(235 239 243 / var(--tw-border-opacity))}.border-primary{--tw-border-opacity: 1;border-color:rgb(var(--primary, 21 101 188) / var(--tw-border-opacity))}.border-primary-focus{--tw-border-opacity: 1;border-color:rgb(var(--primary-focus, 16 79 149) / var(--tw-border-opacity))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-zinc-800{--tw-border-opacity: 1;border-color:rgb(39 39 42 / var(--tw-border-opacity))}.border-t-white{--tw-border-opacity: 1;border-top-color:rgb(255 255 255 / var(--tw-border-opacity))}.\!bg-transparent{background-color:transparent!important}.bg-\[\#C62C02\]{--tw-bg-opacity: 1;background-color:rgb(198 44 2 / var(--tw-bg-opacity))}.bg-\[\#E9F8FC\]{--tw-bg-opacity: 1;background-color:rgb(233 248 252 / var(--tw-bg-opacity))}.bg-\[\#EAEAEA\]{--tw-bg-opacity: 1;background-color:rgb(234 234 234 / var(--tw-bg-opacity))}.bg-\[\#EBEFF3\]{--tw-bg-opacity: 1;background-color:rgb(235 239 243 / var(--tw-bg-opacity))}.bg-\[\#F2F2F2\]{--tw-bg-opacity: 1;background-color:rgb(242 242 242 / var(--tw-bg-opacity))}.bg-\[\#F5F7F9\]{--tw-bg-opacity: 1;background-color:rgb(245 247 249 / var(--tw-bg-opacity))}.bg-\[\#FDFDFD\]{--tw-bg-opacity: 1;background-color:rgb(253 253 253 / var(--tw-bg-opacity))}.bg-\[rgb\(50\,56\,70\)\]{--tw-bg-opacity: 1;background-color:rgb(50 56 70 / var(--tw-bg-opacity))}.bg-\[white\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-accent{--tw-bg-opacity: 1;background-color:rgb(235 239 243 / var(--tw-bg-opacity))}.bg-black\/50{background-color:#00000080}.bg-black\/\[\.48\]{background-color:#0000007a}.bg-functional-warn{--tw-bg-opacity: 1;background-color:rgb(198 44 2 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-neutral-50\/40{background-color:#fafafa66}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(var(--primary, 21 101 188) / var(--tw-bg-opacity))}.bg-success-bg{--tw-bg-opacity: 1;background-color:rgb(249 253 248 / var(--tw-bg-opacity))}.bg-tag-lightGray-bg{--tw-bg-opacity: 1;background-color:rgb(234 234 234 / var(--tw-bg-opacity))}.bg-tag-lightGreen-bg{--tw-bg-opacity: 1;background-color:rgb(239 255 234 / var(--tw-bg-opacity))}.bg-tag-red-bg{--tw-bg-opacity: 1;background-color:rgb(255 241 228 / var(--tw-bg-opacity))}.bg-tag-yellow-bg{--tw-bg-opacity: 1;background-color:rgb(255 246 211 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-warning-bg{--tw-bg-opacity: 1;background-color:rgb(255 251 246 / var(--tw-bg-opacity))}.bg-warning-primary{--tw-bg-opacity: 1;background-color:rgb(253 129 45 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-\[linear-gradient\(90deg\,\#038EEF_9\.05\%\,\#ED3C65_86\.39\%\)\]{background-image:linear-gradient(90deg,#038EEF 9.05%,#ED3C65 86.39%)}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-l{background-image:linear-gradient(to left,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-\[\#E9F5F8\]{--tw-gradient-from: #E9F5F8 var(--tw-gradient-from-position);--tw-gradient-to: rgb(233 245 248 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-white{--tw-gradient-from: #fff var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-\[\#F7F7F7\]{--tw-gradient-to: rgb(247 247 247 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #F7F7F7 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-\[\#A1E7FC\]{--tw-gradient-to: #A1E7FC var(--tw-gradient-to-position)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-0{padding-left:0;padding-right:0}.px-0\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\[2px\]{padding-top:2px;padding-bottom:2px}.pb-1{padding-bottom:.25rem}.pb-3{padding-bottom:.75rem}.pb-5{padding-bottom:1.25rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pr-0{padding-right:0}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-2xs{font-size:.625rem;line-height:.85rem}.text-3xs{font-size:.5rem;line-height:.75rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-6xl{font-size:3.75rem;line-height:1}.text-\[10px\]{font-size:10px}.text-\[1em\]{font-size:1em}.text-\[4px\]{font-size:4px}.text-\[6px\]{font-size:6px}.text-\[8px\]{font-size:8px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-\[590\]{font-weight:590}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.capitalize{text-transform:capitalize}.leading-3{line-height:.75rem}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-none{line-height:1}.leading-tight{line-height:1.25}.text-\[\#C62C02\]{--tw-text-opacity: 1;color:rgb(198 44 2 / var(--tw-text-opacity))}.text-\[white\]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-current{color:currentColor}.text-font-primary{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.text-font-secondary{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity))}.text-functional-warn{--tw-text-opacity: 1;color:rgb(198 44 2 / var(--tw-text-opacity))}.text-neutral-400{--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}.text-primary{--tw-text-opacity: 1;color:rgb(var(--primary, 21 101 188) / var(--tw-text-opacity))}.text-sky-800{--tw-text-opacity: 1;color:rgb(7 89 133 / var(--tw-text-opacity))}.text-stone-500{--tw-text-opacity: 1;color:rgb(120 113 108 / var(--tw-text-opacity))}.text-success-primary{--tw-text-opacity: 1;color:rgb(47 129 51 / var(--tw-text-opacity))}.text-tag-lightGray-text{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity))}.text-tag-lightGreen-text{--tw-text-opacity: 1;color:rgb(68 129 47 / var(--tw-text-opacity))}.text-tag-red-text{--tw-text-opacity: 1;color:rgb(255 0 0 / var(--tw-text-opacity))}.text-tag-yellow-text{--tw-text-opacity: 1;color:rgb(140 106 0 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-warning-primary{--tw-text-opacity: 1;color:rgb(253 129 45 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-zinc-800{--tw-text-opacity: 1;color:rgb(39 39 42 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-60{opacity:.6}.opacity-90{opacity:.9}.mix-blend-multiply{mix-blend-mode:multiply}.mix-blend-darken{mix-blend-mode:darken}.mix-blend-hard-light{mix-blend-mode:hard-light}.\!shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[-4px_0px_4px_0px_rgba\(0\,0\,0\.05\)_inset\]{--tw-shadow: -4px 0px 4px 0px rgba(0,0,.05) inset;--tw-shadow-colored: inset -4px 0px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[-8px_-2px_8px_0px_rgba\(0\,0\,0\,0\.08\)_inset\]{--tw-shadow: -8px -2px 8px 0px rgba(0,0,0,.08) inset;--tw-shadow-colored: inset -8px -2px 8px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0px_0px_1px_0px_rgba\(0\,0\,0\,0\.25\)\]{--tw-shadow: 0px 0px 1px 0px rgba(0,0,0,.25);--tw-shadow-colored: 0px 0px 1px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0px_0px_2px_0px_rgba\(0\,0\,0\,0\.24\)\]{--tw-shadow: 0px 0px 2px 0px rgba(0,0,0,.24);--tw-shadow-colored: 0px 0px 2px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0px_4px_4px_0px_rgba\(0\,0\,0\,0\.04\)\]{--tw-shadow: 0px 4px 4px 0px rgba(0,0,0,.04);--tw-shadow-colored: 0px 4px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[hsl\(206_22\%_7\%_\/_35\%\)_0px_10px_38px_-10px\,_hsl\(206_22\%_7\%_\/_20\%\)_0px_10px_20px_-15px\]{--tw-shadow: hsl(206 22% 7% / 35%) 0px 10px 38px -10px, hsl(206 22% 7% / 20%) 0px 10px 20px -15px;--tw-shadow-colored: 0px 10px 38px -10px var(--tw-shadow-color), 0px 10px 20px -15px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-card{--tw-shadow: 0px 0px 2px 0px rgba(0, 0, 0, .24);--tw-shadow-colored: 0px 0px 2px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-dashed{outline-style:dashed}.outline-2{outline-width:2px}.outline-offset-4{outline-offset:4px}.outline-\[\#FFC200\]{outline-color:#ffc200}.outline-white{outline-color:#fff}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-linear{transition-timing-function:linear}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.duration-300{animation-duration:.3s}.ease-linear{animation-timing-function:linear}.tag-darkGray{background-color:#ccc;color:#666}.tag-green{background-color:#e2fbd8;color:green}.tag-lightGray{background-color:#eaeaea;color:#666}.tag-lightGreen{background-color:#efffea;color:#44812f}.tag-orange{background-color:#fff1e4;color:#c62c02}.tag-red{background-color:#fff1e4;color:red}.tag-yellow{background-color:#fff6d3;color:#8c6a00}.\[-webkit-background-clip\:text\]{-webkit-background-clip:text}.\[background-clip\:text\]{-webkit-background-clip:text;background-clip:text}.visx-tooltip{z-index:1500}.visx-tooltip-glyph svg{width:10px;height:10px}.after\:my-4:after{content:var(--tw-content);margin-top:1rem;margin-bottom:1rem}.after\:h-\[1px\]:after{content:var(--tw-content);height:1px}.after\:w-full:after{content:var(--tw-content);width:100%}.after\:bg-accent:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(235 239 243 / var(--tw-bg-opacity))}.last\:after\:hidden:last-child:after{content:var(--tw-content);display:none}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:rounded-t-lg:hover{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.hover\:border-solid:hover{border-style:solid}.hover\:border-\[\#AA2602\]:hover{--tw-border-opacity: 1;border-color:rgb(170 38 2 / var(--tw-border-opacity))}.hover\:border-font-primary:hover{--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity))}.hover\:border-primary-hover:hover{--tw-border-opacity: 1;border-color:rgb(var(--primary-hover, 18 90 169) / var(--tw-border-opacity))}.hover\:bg-\[\#AA2602\]:hover{--tw-bg-opacity: 1;background-color:rgb(170 38 2 / var(--tw-bg-opacity))}.hover\:bg-card-bg-focus:hover{--tw-bg-opacity: 1;background-color:rgb(202 232 240 / var(--tw-bg-opacity))}.hover\:bg-card-bg-hover:hover{--tw-bg-opacity: 1;background-color:rgb(233 248 252 / var(--tw-bg-opacity))}.hover\:bg-primary-hover:hover{--tw-bg-opacity: 1;background-color:rgb(var(--primary-hover, 18 90 169) / var(--tw-bg-opacity))}.hover\:bg-sky-100:hover{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:font-medium:hover{font-weight:500}.hover\:text-\[\#AA2602\]:hover{--tw-text-opacity: 1;color:rgb(170 38 2 / var(--tw-text-opacity))}.hover\:text-primary-focus:hover{--tw-text-opacity: 1;color:rgb(var(--primary-focus, 16 79 149) / var(--tw-text-opacity))}.hover\:text-primary-hover:hover{--tw-text-opacity: 1;color:rgb(var(--primary-hover, 18 90 169) / var(--tw-text-opacity))}.hover\:text-sky-800:hover{--tw-text-opacity: 1;color:rgb(7 89 133 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:outline-none:hover{outline:2px solid transparent;outline-offset:2px}.hover\:placeholder\:text-font-primary:hover::-moz-placeholder{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.hover\:placeholder\:text-font-primary:hover::placeholder{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.focus\:border-solid:focus{border-style:solid}.focus\:border-\[\#A12402\]:focus{--tw-border-opacity: 1;border-color:rgb(161 36 2 / var(--tw-border-opacity))}.focus\:border-primary-focus:focus{--tw-border-opacity: 1;border-color:rgb(var(--primary-focus, 16 79 149) / var(--tw-border-opacity))}.focus\:bg-\[\#A12402\]:focus{--tw-bg-opacity: 1;background-color:rgb(161 36 2 / var(--tw-bg-opacity))}.focus\:bg-accent:focus{--tw-bg-opacity: 1;background-color:rgb(235 239 243 / var(--tw-bg-opacity))}.focus\:bg-card-bg-focus:focus{--tw-bg-opacity: 1;background-color:rgb(202 232 240 / var(--tw-bg-opacity))}.focus\:bg-primary-focus:focus{--tw-bg-opacity: 1;background-color:rgb(var(--primary-focus, 16 79 149) / var(--tw-bg-opacity))}.focus\:bg-sky-100:focus{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}.focus\:font-medium:focus{font-weight:500}.focus\:text-\[\#A12402\]:focus{--tw-text-opacity: 1;color:rgb(161 36 2 / var(--tw-text-opacity))}.focus\:text-primary-focus:focus{--tw-text-opacity: 1;color:rgb(var(--primary-focus, 16 79 149) / var(--tw-text-opacity))}.focus\:text-sky-800:focus{--tw-text-opacity: 1;color:rgb(7 89 133 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.active\:bg-card-bg-focus:active{--tw-bg-opacity: 1;background-color:rgb(202 232 240 / var(--tw-bg-opacity))}.active\:font-medium:active{font-weight:500}.active\:text-primary-focus:active{--tw-text-opacity: 1;color:rgb(var(--primary-focus, 16 79 149) / var(--tw-text-opacity))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-\[\#F6B9B9\]:disabled{--tw-border-opacity: 1;border-color:rgb(246 185 185 / var(--tw-border-opacity))}.disabled\:border-neutral-100:disabled{--tw-border-opacity: 1;border-color:rgb(245 245 245 / var(--tw-border-opacity))}.disabled\:border-primary-focus:disabled{--tw-border-opacity: 1;border-color:rgb(var(--primary-focus, 16 79 149) / var(--tw-border-opacity))}.disabled\:bg-\[\#F6B9B9\]:disabled{--tw-bg-opacity: 1;background-color:rgb(246 185 185 / var(--tw-bg-opacity))}.disabled\:bg-neutral-50:disabled{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.disabled\:bg-primary-disabled:disabled{--tw-bg-opacity: 1;background-color:rgb(var(--primary-disabled, 153 210 249) / var(--tw-bg-opacity))}.disabled\:text-\[\#F6B9B9\]:disabled{--tw-text-opacity: 1;color:rgb(246 185 185 / var(--tw-text-opacity))}.disabled\:text-primary-focus:disabled{--tw-text-opacity: 1;color:rgb(var(--primary-focus, 16 79 149) / var(--tw-text-opacity))}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:text-\[\#333333\]{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.group:hover .group-hover\:opacity-100{opacity:1}.peer:focus~.peer-focus\:text-\[\#333333\]{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=active\]\:rounded-t-lg[data-state=active]{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.data-\[state\=active\]\:border-b-2[data-state=active],.data-\[state\=inactive\]\:border-b-2[data-state=inactive]{border-bottom-width:2px}.data-\[state\=active\]\:border-primary-focus[data-state=active]{--tw-border-opacity: 1;border-color:rgb(var(--primary-focus, 16 79 149) / var(--tw-border-opacity))}.data-\[state\=inactive\]\:border-transparent[data-state=inactive]{border-color:transparent}.data-\[state\=off\]\:border-gray-100[data-state=off]{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.data-\[state\=on\]\:border-primary-hover[data-state=on]{--tw-border-opacity: 1;border-color:rgb(var(--primary-hover, 18 90 169) / var(--tw-border-opacity))}.data-\[state\=active\]\:bg-white[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.data-\[state\=checked\]\:bg-card-bg-focus[data-state=checked]{--tw-bg-opacity: 1;background-color:rgb(202 232 240 / var(--tw-bg-opacity))}.data-\[state\=checked\]\:bg-primary-focus[data-state=checked]{--tw-bg-opacity: 1;background-color:rgb(var(--primary-focus, 16 79 149) / var(--tw-bg-opacity))}.data-\[state\=checked\]\:bg-sky-100[data-state=checked]{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}.data-\[state\=off\]\:bg-gray-100[data-state=off]{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.data-\[state\=on\]\:bg-primary\/10[data-state=on]{background-color:rgb(var(--primary, 21 101 188) / .1)}.data-\[state\=open\]\:bg-\[\#004F67\][data-state=open]{--tw-bg-opacity: 1;background-color:rgb(0 79 103 / var(--tw-bg-opacity))}.data-\[state\=active\]\:text-primary-focus[data-state=active],.data-\[state\=checked\]\:text-primary-focus[data-state=checked]{--tw-text-opacity: 1;color:rgb(var(--primary-focus, 16 79 149) / var(--tw-text-opacity))}.data-\[state\=checked\]\:text-sky-800[data-state=checked]{--tw-text-opacity: 1;color:rgb(7 89 133 / var(--tw-text-opacity))}.data-\[state\=checked\]\:text-white[data-state=checked]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.data-\[state\=inactive\]\:text-font-secondary[data-state=inactive],.data-\[state\=off\]\:text-font-secondary[data-state=off]{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity))}.data-\[state\=on\]\:text-primary-hover[data-state=on]{--tw-text-opacity: 1;color:rgb(var(--primary-hover, 18 90 169) / var(--tw-text-opacity))}.data-\[state\=open\]\:text-white[data-state=open]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow-\[0px_-1px_2px_0px_rgba\(0\,0\,0\,0\.08\)\][data-state=active]{--tw-shadow: 0px -1px 2px 0px rgba(0,0,0,.08);--tw-shadow-colored: 0px -1px 2px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.group[data-state=closed] .group-data-\[state\=closed\]\:rotate-0{--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-state=open] .group-data-\[state\=open\]\:rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-state=open] .group-data-\[state\=open\]\:rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.is-active\:bg-card-bg-focus[data-active=true]{--tw-bg-opacity: 1;background-color:rgb(202 232 240 / var(--tw-bg-opacity))}.is-active\:font-semibold[data-active=true]{font-weight:600}.is-active\:text-primary-focus[data-active=true]{--tw-text-opacity: 1;color:rgb(var(--primary-focus, 16 79 149) / var(--tw-text-opacity))}.is-disabled\:pointer-events-none[data-disabled=true]{pointer-events:none}.is-disabled\:opacity-50[data-disabled=true]{opacity:.5}.\[\&\>\*\:first-child\]\:h-full>*:first-child{height:100%}.\[\&\>div\]\:w-full>div{width:100%}.\[\&\>div\]\:items-start>div{align-items:flex-start}.\[\&_button\]\:w-full button{width:100%}.\[\&_p\]\:leading-relaxed p{line-height:1.625}
1
+ :where(.rabbit-ds) *,:where(.rabbit-ds) :before,:where(.rabbit-ds) :after{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji",agGridAlpine;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:where(.rabbit-ds):before,:where(.rabbit-ds) :after{--tw-content: ""}:where(.rabbit-ds) html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4}:where(.rabbit-ds) body{margin:0;line-height:inherit}:where(.rabbit-ds) hr{height:0;color:inherit;border-top-width:1px}:where(.rabbit-ds) abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}:where(.rabbit-ds) h1,:where(.rabbit-ds) h2,:where(.rabbit-ds) h3,:where(.rabbit-ds) h4,:where(.rabbit-ds) h5,:where(.rabbit-ds) h6{font-size:inherit;font-weight:inherit}:where(.rabbit-ds) a{color:inherit;text-decoration:inherit}:where(.rabbit-ds) b,:where(.rabbit-ds) strong{font-weight:bolder}:where(.rabbit-ds) code,:where(.rabbit-ds) kbd,:where(.rabbit-ds) samp,:where(.rabbit-ds) pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}:where(.rabbit-ds) small{font-size:80%}:where(.rabbit-ds) sub,:where(.rabbit-ds) sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}:where(.rabbit-ds) sub{bottom:-.25em}:where(.rabbit-ds) sup{top:-.5em}:where(.rabbit-ds) table{text-indent:0;border-color:inherit;border-collapse:collapse}:where(.rabbit-ds) button,:where(.rabbit-ds) input,:where(.rabbit-ds) optgroup,:where(.rabbit-ds) select,:where(.rabbit-ds) textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}:where(.rabbit-ds) button,:where(.rabbit-ds) select{text-transform:none}:where(.rabbit-ds) [data-deer-btn]{-webkit-appearance:button;background-color:transparent;background-image:none}:where(.rabbit-ds) :-moz-focusring{outline:auto}:where(.rabbit-ds) :-moz-ui-invalid{box-shadow:none}:where(.rabbit-ds) progress{vertical-align:baseline}:where(.rabbit-ds) ::-webkit-inner-spin-button,:where(.rabbit-ds) ::-webkit-outer-spin-button{height:auto}:where(.rabbit-ds) [type=search]{-webkit-appearance:textfield;outline-offset:-2px}:where(.rabbit-ds) ::-webkit-search-decoration{-webkit-appearance:none}:where(.rabbit-ds) ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(.rabbit-ds) summary{display:list-item}:where(.rabbit-ds) blockquote,:where(.rabbit-ds) dl,:where(.rabbit-ds) dd,:where(.rabbit-ds) h1,:where(.rabbit-ds) h2,:where(.rabbit-ds) h3,:where(.rabbit-ds) h4,:where(.rabbit-ds) h5,:where(.rabbit-ds) h6,:where(.rabbit-ds) hr,:where(.rabbit-ds) figure,:where(.rabbit-ds) p,:where(.rabbit-ds) pre{margin:0}:where(.rabbit-ds) fieldset{margin:0;padding:0}:where(.rabbit-ds) legend{padding:0}:where(.rabbit-ds) [data-deer-list]{list-style:none;margin:0;padding:0}:where(.rabbit-ds) dialog{padding:0}:where(.rabbit-ds) textarea{resize:vertical}:where(.rabbit-ds) input::-moz-placeholder,:where(.rabbit-ds) textarea::-moz-placeholder{opacity:1;color:#9ca3af}:where(.rabbit-ds) input::placeholder,:where(.rabbit-ds) textarea::placeholder{opacity:1;color:#9ca3af}:where(.rabbit-ds) button,:where(.rabbit-ds) [role=button]{cursor:pointer}:where(.rabbit-ds) :disabled{cursor:default}:where(.rabbit-ds) img,:where(.rabbit-ds) svg,:where(.rabbit-ds) video,:where(.rabbit-ds) canvas,:where(.rabbit-ds) audio,:where(.rabbit-ds) iframe,:where(.rabbit-ds) embed,:where(.rabbit-ds) object{display:block;vertical-align:middle}:where(.rabbit-ds) img,:where(.rabbit-ds) video{max-width:100%;height:auto}:where(.rabbit-ds) [hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}html{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.left-0{left:0}.left-3{left:.75rem}.left-\[-14px\]{left:-14px}.left-\[50\%\]{left:50%}.right-0{right:0}.right-2{right:.5rem}.top-0{top:0}.top-1\/2{top:50%}.top-5{top:1.25rem}.top-\[-14px\]{top:-14px}.top-\[50\%\]{top:50%}.z-20{z-index:20}.z-\[1450\]{z-index:1450}.z-\[1500\]{z-index:1500}.z-\[1510\]{z-index:1510}.order-1{order:1}.order-2{order:2}.m-0{margin:0}.m-4{margin:1rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-\[50px\]{margin-left:50px;margin-right:50px}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-auto{margin-top:auto;margin-bottom:auto}.mb-1{margin-bottom:.25rem}.mb-3{margin-bottom:.75rem}.mb-\[50px\]{margin-bottom:50px}.mb-auto{margin-bottom:auto}.ml-2{margin-left:.5rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-auto{margin-right:auto}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-14{margin-top:3.5rem}.mt-2{margin-top:.5rem}.mt-\[10px\]{margin-top:10px}.mt-\[14px\]{margin-top:14px}.mt-auto{margin-top:auto}.box-border{box-sizing:border-box}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.aspect-square{aspect-ratio:1 / 1}.size-14{width:3.5rem;height:3.5rem}.h-0{height:0px}.h-1{height:.25rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-28{height:7rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[120px\]{height:120px}.h-\[1px\]{height:1px}.h-\[20px\]{height:20px}.h-\[260px\]{height:260px}.h-\[500px\]{height:500px}.h-\[95\%\]{height:95%}.h-\[calc\(100\%-60px\)\]{height:calc(100% - 60px)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-min{height:-moz-min-content;height:min-content}.h-px{height:1px}.h-screen{height:100vh}.max-h-\[75vh\]{max-height:75vh}.max-h-\[85vh\]{max-height:85vh}.min-h-0{min-height:0px}.min-h-8{min-height:2rem}.min-h-80{min-height:20rem}.min-h-\[96px\]{min-height:96px}.w-0{width:0px}.w-1{width:.25rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-20{width:5rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-9\/12{width:75%}.w-\[100px\]{width:100px}.w-\[120px\]{width:120px}.w-\[180px\]{width:180px}.w-\[240px\]{width:240px}.w-\[300px\]{width:300px}.w-\[412px\]{width:412px}.w-\[436px\]{width:436px}.w-\[60\%\]{width:60%}.w-\[600px\]{width:600px}.w-\[700px\]{width:700px}.w-\[70vw\]{width:70vw}.w-\[900px\]{width:900px}.w-\[90vw\]{width:90vw}.w-\[calc\(100\%-100px\)\]{width:calc(100% - 100px)}.w-auto{width:auto}.w-full{width:100%}.w-min{width:-moz-min-content;width:min-content}.\!min-w-\[160px\]{min-width:160px!important}.min-w-0{min-width:0px}.min-w-\[200px\]{min-width:200px}.min-w-\[210px\]{min-width:210px}.min-w-\[224px\]{min-width:224px}.min-w-\[304px\]{min-width:304px}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.min-w-max{min-width:-moz-max-content;min-width:max-content}.max-w-\[336px\]{max-width:336px}.max-w-\[400px\]{max-width:400px}.max-w-\[500px\]{max-width:500px}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-0{flex-basis:0px}.basis-auto{flex-basis:auto}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[-50\%\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-0{--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.touch-pan-y{--tw-pan-y: pan-y;touch-action:var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.auto-rows-auto{grid-auto-rows:auto}.grid-cols-\[1fr_2fr\]{grid-template-columns:1fr 2fr}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-\[12px\]{gap:12px}.gap-\[18px\]{gap:18px}.gap-\[1px\]{gap:1px}.gap-\[7px\]{gap:7px}.gap-\[8px\]{gap:8px}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\[50\%\]{border-radius:50%}.rounded-\[8px\]{border-radius:8px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-tl{border-top-left-radius:.25rem}.rounded-tr{border-top-right-radius:.25rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l-0{border-left-width:0px}.border-r{border-right-width:1px}.border-r-0{border-right-width:0px}.border-t-2{border-top-width:2px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-\[\#999999\]{--tw-border-opacity: 1;border-color:rgb(153 153 153 / var(--tw-border-opacity))}.border-\[\#C62C02\]{--tw-border-opacity: 1;border-color:rgb(198 44 2 / var(--tw-border-opacity))}.border-\[\#CFD7DF\]{--tw-border-opacity: 1;border-color:rgb(207 215 223 / var(--tw-border-opacity))}.border-\[\#F3F5F8\]{--tw-border-opacity: 1;border-color:rgb(243 245 248 / var(--tw-border-opacity))}.border-\[color\:var\(--Accent\,\#EBEFF3\)\]{border-color:var(--Accent,#EBEFF3)}.border-accent{--tw-border-opacity: 1;border-color:rgb(235 239 243 / var(--tw-border-opacity))}.border-primary{--tw-border-opacity: 1;border-color:rgb(var(--primary, 21 101 188) / var(--tw-border-opacity))}.border-primary-focus{--tw-border-opacity: 1;border-color:rgb(var(--primary-focus, 16 79 149) / var(--tw-border-opacity))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-zinc-800{--tw-border-opacity: 1;border-color:rgb(39 39 42 / var(--tw-border-opacity))}.border-t-white{--tw-border-opacity: 1;border-top-color:rgb(255 255 255 / var(--tw-border-opacity))}.\!bg-transparent{background-color:transparent!important}.bg-\[\#C62C02\]{--tw-bg-opacity: 1;background-color:rgb(198 44 2 / var(--tw-bg-opacity))}.bg-\[\#E9F8FC\]{--tw-bg-opacity: 1;background-color:rgb(233 248 252 / var(--tw-bg-opacity))}.bg-\[\#EAEAEA\]{--tw-bg-opacity: 1;background-color:rgb(234 234 234 / var(--tw-bg-opacity))}.bg-\[\#EBEFF3\]{--tw-bg-opacity: 1;background-color:rgb(235 239 243 / var(--tw-bg-opacity))}.bg-\[\#F2F2F2\]{--tw-bg-opacity: 1;background-color:rgb(242 242 242 / var(--tw-bg-opacity))}.bg-\[\#F5F7F9\]{--tw-bg-opacity: 1;background-color:rgb(245 247 249 / var(--tw-bg-opacity))}.bg-\[\#FDFDFD\]{--tw-bg-opacity: 1;background-color:rgb(253 253 253 / var(--tw-bg-opacity))}.bg-\[rgb\(50\,56\,70\)\]{--tw-bg-opacity: 1;background-color:rgb(50 56 70 / var(--tw-bg-opacity))}.bg-\[white\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-accent{--tw-bg-opacity: 1;background-color:rgb(235 239 243 / var(--tw-bg-opacity))}.bg-black\/50{background-color:#00000080}.bg-black\/\[\.48\]{background-color:#0000007a}.bg-functional-warn{--tw-bg-opacity: 1;background-color:rgb(198 44 2 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-neutral-50\/40{background-color:#fafafa66}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(var(--primary, 21 101 188) / var(--tw-bg-opacity))}.bg-success-bg{--tw-bg-opacity: 1;background-color:rgb(249 253 248 / var(--tw-bg-opacity))}.bg-tag-lightGray-bg{--tw-bg-opacity: 1;background-color:rgb(234 234 234 / var(--tw-bg-opacity))}.bg-tag-lightGreen-bg{--tw-bg-opacity: 1;background-color:rgb(239 255 234 / var(--tw-bg-opacity))}.bg-tag-red-bg{--tw-bg-opacity: 1;background-color:rgb(255 241 228 / var(--tw-bg-opacity))}.bg-tag-yellow-bg{--tw-bg-opacity: 1;background-color:rgb(255 246 211 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-warning-bg{--tw-bg-opacity: 1;background-color:rgb(255 251 246 / var(--tw-bg-opacity))}.bg-warning-primary{--tw-bg-opacity: 1;background-color:rgb(253 129 45 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-\[linear-gradient\(90deg\,\#038EEF_9\.05\%\,\#ED3C65_86\.39\%\)\]{background-image:linear-gradient(90deg,#038EEF 9.05%,#ED3C65 86.39%)}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-l{background-image:linear-gradient(to left,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-\[\#E9F5F8\]{--tw-gradient-from: #E9F5F8 var(--tw-gradient-from-position);--tw-gradient-to: rgb(233 245 248 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-white{--tw-gradient-from: #fff var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-\[\#F7F7F7\]{--tw-gradient-to: rgb(247 247 247 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #F7F7F7 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-\[\#A1E7FC\]{--tw-gradient-to: #A1E7FC var(--tw-gradient-to-position)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-0{padding-left:0;padding-right:0}.px-0\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-\[2px\]{padding-top:2px;padding-bottom:2px}.pb-1{padding-bottom:.25rem}.pb-3{padding-bottom:.75rem}.pb-5{padding-bottom:1.25rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pr-0{padding-right:0}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-2xs{font-size:.625rem;line-height:.85rem}.text-3xs{font-size:.5rem;line-height:.75rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-6xl{font-size:3.75rem;line-height:1}.text-\[10px\]{font-size:10px}.text-\[1em\]{font-size:1em}.text-\[4px\]{font-size:4px}.text-\[6px\]{font-size:6px}.text-\[8px\]{font-size:8px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-\[590\]{font-weight:590}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.capitalize{text-transform:capitalize}.leading-3{line-height:.75rem}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-none{line-height:1}.leading-tight{line-height:1.25}.text-\[\#C62C02\]{--tw-text-opacity: 1;color:rgb(198 44 2 / var(--tw-text-opacity))}.text-\[white\]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-current{color:currentColor}.text-font-primary{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.text-font-secondary{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity))}.text-functional-warn{--tw-text-opacity: 1;color:rgb(198 44 2 / var(--tw-text-opacity))}.text-neutral-400{--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}.text-primary{--tw-text-opacity: 1;color:rgb(var(--primary, 21 101 188) / var(--tw-text-opacity))}.text-sky-800{--tw-text-opacity: 1;color:rgb(7 89 133 / var(--tw-text-opacity))}.text-stone-500{--tw-text-opacity: 1;color:rgb(120 113 108 / var(--tw-text-opacity))}.text-success-primary{--tw-text-opacity: 1;color:rgb(47 129 51 / var(--tw-text-opacity))}.text-tag-lightGray-text{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity))}.text-tag-lightGreen-text{--tw-text-opacity: 1;color:rgb(68 129 47 / var(--tw-text-opacity))}.text-tag-red-text{--tw-text-opacity: 1;color:rgb(255 0 0 / var(--tw-text-opacity))}.text-tag-yellow-text{--tw-text-opacity: 1;color:rgb(140 106 0 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-warning-primary{--tw-text-opacity: 1;color:rgb(253 129 45 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-zinc-800{--tw-text-opacity: 1;color:rgb(39 39 42 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-60{opacity:.6}.opacity-90{opacity:.9}.mix-blend-multiply{mix-blend-mode:multiply}.mix-blend-darken{mix-blend-mode:darken}.mix-blend-hard-light{mix-blend-mode:hard-light}.\!shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[-4px_0px_4px_0px_rgba\(0\,0\,0\.05\)_inset\]{--tw-shadow: -4px 0px 4px 0px rgba(0,0,.05) inset;--tw-shadow-colored: inset -4px 0px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[-8px_-2px_8px_0px_rgba\(0\,0\,0\,0\.08\)_inset\]{--tw-shadow: -8px -2px 8px 0px rgba(0,0,0,.08) inset;--tw-shadow-colored: inset -8px -2px 8px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0px_0px_1px_0px_rgba\(0\,0\,0\,0\.25\)\]{--tw-shadow: 0px 0px 1px 0px rgba(0,0,0,.25);--tw-shadow-colored: 0px 0px 1px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0px_0px_2px_0px_rgba\(0\,0\,0\,0\.24\)\]{--tw-shadow: 0px 0px 2px 0px rgba(0,0,0,.24);--tw-shadow-colored: 0px 0px 2px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0px_4px_4px_0px_rgba\(0\,0\,0\,0\.04\)\]{--tw-shadow: 0px 4px 4px 0px rgba(0,0,0,.04);--tw-shadow-colored: 0px 4px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[hsl\(206_22\%_7\%_\/_35\%\)_0px_10px_38px_-10px\,_hsl\(206_22\%_7\%_\/_20\%\)_0px_10px_20px_-15px\]{--tw-shadow: hsl(206 22% 7% / 35%) 0px 10px 38px -10px, hsl(206 22% 7% / 20%) 0px 10px 20px -15px;--tw-shadow-colored: 0px 10px 38px -10px var(--tw-shadow-color), 0px 10px 20px -15px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-card{--tw-shadow: 0px 0px 2px 0px rgba(0, 0, 0, .24);--tw-shadow-colored: 0px 0px 2px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-dashed{outline-style:dashed}.outline-2{outline-width:2px}.outline-offset-4{outline-offset:4px}.outline-\[\#FFC200\]{outline-color:#ffc200}.outline-white{outline-color:#fff}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-linear{transition-timing-function:linear}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.duration-300{animation-duration:.3s}.ease-linear{animation-timing-function:linear}.tag-darkGray{background-color:#ccc;color:#666}.tag-green{background-color:#e2fbd8;color:green}.tag-lightGray{background-color:#eaeaea;color:#666}.tag-lightGreen{background-color:#efffea;color:#44812f}.tag-orange{background-color:#fff1e4;color:#c62c02}.tag-red{background-color:#fff1e4;color:red}.tag-yellow{background-color:#fff6d3;color:#8c6a00}.\[-webkit-background-clip\:text\]{-webkit-background-clip:text}.\[background-clip\:text\]{-webkit-background-clip:text;background-clip:text}.visx-tooltip{z-index:1500}.visx-tooltip-glyph svg{width:10px;height:10px}.after\:my-4:after{content:var(--tw-content);margin-top:1rem;margin-bottom:1rem}.after\:h-\[1px\]:after{content:var(--tw-content);height:1px}.after\:w-full:after{content:var(--tw-content);width:100%}.after\:bg-accent:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(235 239 243 / var(--tw-bg-opacity))}.last\:after\:hidden:last-child:after{content:var(--tw-content);display:none}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:rounded-t-lg:hover{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.hover\:border-solid:hover{border-style:solid}.hover\:border-\[\#AA2602\]:hover{--tw-border-opacity: 1;border-color:rgb(170 38 2 / var(--tw-border-opacity))}.hover\:border-font-primary:hover{--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity))}.hover\:border-primary-hover:hover{--tw-border-opacity: 1;border-color:rgb(var(--primary-hover, 18 90 169) / var(--tw-border-opacity))}.hover\:bg-\[\#AA2602\]:hover{--tw-bg-opacity: 1;background-color:rgb(170 38 2 / var(--tw-bg-opacity))}.hover\:bg-card-bg-focus:hover{--tw-bg-opacity: 1;background-color:rgb(202 232 240 / var(--tw-bg-opacity))}.hover\:bg-card-bg-hover:hover{--tw-bg-opacity: 1;background-color:rgb(233 248 252 / var(--tw-bg-opacity))}.hover\:bg-primary-hover:hover{--tw-bg-opacity: 1;background-color:rgb(var(--primary-hover, 18 90 169) / var(--tw-bg-opacity))}.hover\:bg-sky-100:hover{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:font-medium:hover{font-weight:500}.hover\:text-\[\#AA2602\]:hover{--tw-text-opacity: 1;color:rgb(170 38 2 / var(--tw-text-opacity))}.hover\:text-primary-focus:hover{--tw-text-opacity: 1;color:rgb(var(--primary-focus, 16 79 149) / var(--tw-text-opacity))}.hover\:text-primary-hover:hover{--tw-text-opacity: 1;color:rgb(var(--primary-hover, 18 90 169) / var(--tw-text-opacity))}.hover\:text-sky-800:hover{--tw-text-opacity: 1;color:rgb(7 89 133 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:outline-none:hover{outline:2px solid transparent;outline-offset:2px}.hover\:placeholder\:text-font-primary:hover::-moz-placeholder{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.hover\:placeholder\:text-font-primary:hover::placeholder{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.focus\:border-solid:focus{border-style:solid}.focus\:border-\[\#A12402\]:focus{--tw-border-opacity: 1;border-color:rgb(161 36 2 / var(--tw-border-opacity))}.focus\:border-primary-focus:focus{--tw-border-opacity: 1;border-color:rgb(var(--primary-focus, 16 79 149) / var(--tw-border-opacity))}.focus\:bg-\[\#A12402\]:focus{--tw-bg-opacity: 1;background-color:rgb(161 36 2 / var(--tw-bg-opacity))}.focus\:bg-accent:focus{--tw-bg-opacity: 1;background-color:rgb(235 239 243 / var(--tw-bg-opacity))}.focus\:bg-card-bg-focus:focus{--tw-bg-opacity: 1;background-color:rgb(202 232 240 / var(--tw-bg-opacity))}.focus\:bg-primary-focus:focus{--tw-bg-opacity: 1;background-color:rgb(var(--primary-focus, 16 79 149) / var(--tw-bg-opacity))}.focus\:bg-sky-100:focus{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}.focus\:font-medium:focus{font-weight:500}.focus\:text-\[\#A12402\]:focus{--tw-text-opacity: 1;color:rgb(161 36 2 / var(--tw-text-opacity))}.focus\:text-primary-focus:focus{--tw-text-opacity: 1;color:rgb(var(--primary-focus, 16 79 149) / var(--tw-text-opacity))}.focus\:text-sky-800:focus{--tw-text-opacity: 1;color:rgb(7 89 133 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.active\:bg-card-bg-focus:active{--tw-bg-opacity: 1;background-color:rgb(202 232 240 / var(--tw-bg-opacity))}.active\:font-medium:active{font-weight:500}.active\:text-primary-focus:active{--tw-text-opacity: 1;color:rgb(var(--primary-focus, 16 79 149) / var(--tw-text-opacity))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-\[\#F6B9B9\]:disabled{--tw-border-opacity: 1;border-color:rgb(246 185 185 / var(--tw-border-opacity))}.disabled\:border-neutral-100:disabled{--tw-border-opacity: 1;border-color:rgb(245 245 245 / var(--tw-border-opacity))}.disabled\:border-primary-focus:disabled{--tw-border-opacity: 1;border-color:rgb(var(--primary-focus, 16 79 149) / var(--tw-border-opacity))}.disabled\:bg-\[\#F6B9B9\]:disabled{--tw-bg-opacity: 1;background-color:rgb(246 185 185 / var(--tw-bg-opacity))}.disabled\:bg-neutral-50:disabled{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.disabled\:bg-primary-disabled:disabled{--tw-bg-opacity: 1;background-color:rgb(var(--primary-disabled, 153 210 249) / var(--tw-bg-opacity))}.disabled\:text-\[\#F6B9B9\]:disabled{--tw-text-opacity: 1;color:rgb(246 185 185 / var(--tw-text-opacity))}.disabled\:text-primary-focus:disabled{--tw-text-opacity: 1;color:rgb(var(--primary-focus, 16 79 149) / var(--tw-text-opacity))}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:text-\[\#333333\]{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.group:hover .group-hover\:opacity-100{opacity:1}.peer:focus~.peer-focus\:text-\[\#333333\]{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=active\]\:rounded-t-lg[data-state=active]{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.data-\[state\=active\]\:border-b-2[data-state=active],.data-\[state\=inactive\]\:border-b-2[data-state=inactive]{border-bottom-width:2px}.data-\[state\=active\]\:border-primary-focus[data-state=active]{--tw-border-opacity: 1;border-color:rgb(var(--primary-focus, 16 79 149) / var(--tw-border-opacity))}.data-\[state\=inactive\]\:border-transparent[data-state=inactive]{border-color:transparent}.data-\[state\=off\]\:border-gray-100[data-state=off]{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.data-\[state\=on\]\:border-primary-hover[data-state=on]{--tw-border-opacity: 1;border-color:rgb(var(--primary-hover, 18 90 169) / var(--tw-border-opacity))}.data-\[state\=active\]\:bg-white[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.data-\[state\=checked\]\:bg-card-bg-focus[data-state=checked]{--tw-bg-opacity: 1;background-color:rgb(202 232 240 / var(--tw-bg-opacity))}.data-\[state\=checked\]\:bg-primary-focus[data-state=checked]{--tw-bg-opacity: 1;background-color:rgb(var(--primary-focus, 16 79 149) / var(--tw-bg-opacity))}.data-\[state\=checked\]\:bg-sky-100[data-state=checked]{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}.data-\[state\=off\]\:bg-gray-100[data-state=off]{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.data-\[state\=on\]\:bg-primary\/10[data-state=on]{background-color:rgb(var(--primary, 21 101 188) / .1)}.data-\[state\=open\]\:bg-\[\#004F67\][data-state=open]{--tw-bg-opacity: 1;background-color:rgb(0 79 103 / var(--tw-bg-opacity))}.data-\[state\=active\]\:text-primary-focus[data-state=active],.data-\[state\=checked\]\:text-primary-focus[data-state=checked]{--tw-text-opacity: 1;color:rgb(var(--primary-focus, 16 79 149) / var(--tw-text-opacity))}.data-\[state\=checked\]\:text-sky-800[data-state=checked]{--tw-text-opacity: 1;color:rgb(7 89 133 / var(--tw-text-opacity))}.data-\[state\=checked\]\:text-white[data-state=checked]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.data-\[state\=inactive\]\:text-font-secondary[data-state=inactive],.data-\[state\=off\]\:text-font-secondary[data-state=off]{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity))}.data-\[state\=on\]\:text-primary-hover[data-state=on]{--tw-text-opacity: 1;color:rgb(var(--primary-hover, 18 90 169) / var(--tw-text-opacity))}.data-\[state\=open\]\:text-white[data-state=open]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow-\[0px_-1px_2px_0px_rgba\(0\,0\,0\,0\.08\)\][data-state=active]{--tw-shadow: 0px -1px 2px 0px rgba(0,0,0,.08);--tw-shadow-colored: 0px -1px 2px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.group[data-state=closed] .group-data-\[state\=closed\]\:rotate-0{--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-state=open] .group-data-\[state\=open\]\:rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-state=open] .group-data-\[state\=open\]\:rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.is-active\:bg-card-bg-focus[data-active=true]{--tw-bg-opacity: 1;background-color:rgb(202 232 240 / var(--tw-bg-opacity))}.is-active\:font-semibold[data-active=true]{font-weight:600}.is-active\:text-primary-focus[data-active=true]{--tw-text-opacity: 1;color:rgb(var(--primary-focus, 16 79 149) / var(--tw-text-opacity))}.is-disabled\:pointer-events-none[data-disabled=true]{pointer-events:none}.is-disabled\:opacity-50[data-disabled=true]{opacity:.5}.\[\&\>\*\:first-child\]\:h-full>*:first-child{height:100%}.\[\&\>div\]\:w-full>div{width:100%}.\[\&\>div\]\:items-start>div{align-items:flex-start}.\[\&_button\]\:w-full button{width:100%}.\[\&_p\]\:leading-relaxed p{line-height:1.625}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mesh.ai/rabbit",
3
3
  "private": false,
4
- "version": "1.13.1",
4
+ "version": "1.13.2",
5
5
  "packageManager": "pnpm@8.6.0",
6
6
  "main": "./dist/@mesh.ai/rabbit.umd.js",
7
7
  "module": "./dist/@mesh.ai/rabbit.es.js ",