"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[30455],{85161:function(e,t,r){function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,{Z:function(){return n}})},5708:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(8535);function o(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function i(e,t,r){return i=o()?Reflect.construct.bind():function(e,t,r){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return r&&(0,n.Z)(i,r.prototype),i},i.apply(null,arguments)}},42081:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(8535);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,n.Z)(e,t)}},8535:function(e,t,r){function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}r.d(t,{Z:function(){return n}})},34071:function(e,t,r){r.d(t,{m:function(){return C}});var n=r(32039),o=r(52983),i=r(50315),l=r(6865),s=r(12149),a=r(14172);const d=e=>Array.from({length:e}).map(((e,t)=>t));var u=r(82736),c=r(4199);const f=(0,i.CS)("SelectOptionItem")((0,i.hu)({props:[{name:"disabled",keep:!0,default:!1}],variants:{true:{backgroundColor:"disable",color:"onView3"},false:{backgroundColor:"surface3",color:"onView1"}}}),(0,i.hu)({props:[{name:"size",default:"lg",responsive:!0}],variants:{lg:{py:16,px:16,bodyLevel:2},md:{py:9,px:9,bodyLevel:2},sm:{py:6,px:7,bodyLevel:4}}}));var h=r(97458);const p=["innerRef","active","children","color","textTransform","testId","bodyLevel"],x=f((e=>{let{innerRef:t,active:r,children:o,color:l,textTransform:a,testId:d="select-option-item",bodyLevel:u}=e,f=(0,n.gK)(e,p);return(0,h.jsx)(c.s,(0,n.gY)({ref:t,as:"li",width:"100%",overlayColor:"onView1",interactions:["hover","active"],flexShrink:0,testId:d},f,{children:(0,h.jsxs)(h.Fragment,{children:[r&&(0,h.jsx)(i.xu,{position:"absolute",zIndex:-1,left:0,right:0,top:0,bottom:0,backgroundColor:"onView1",opacity:"overlay.active"}),(0,h.jsx)(s.u,{level:u,color:l,textTransform:a,children:o})]})}))})),b=(0,i.CS)("SelectOptionGroup")((0,i.hu)({props:[{name:"state",default:"default"}],variants:{default:{borderColor:"outlineNeutral"},error:{borderColor:"onViewError"}}})),v=["options","focusIndex","onOptionClick","renderOption","reverse","textTransform","testId","size"],g=b((e=>{let{options:t,focusIndex:r,onOptionClick:l,renderOption:s,reverse:a,textTransform:c,testId:f="select-option-group",size:p}=e,b=(0,n.gK)(e,v);const g=(0,o.useRef)(null),m=(0,o.useRef)([]),w=a?d(t.length).reverse():d(t.length);return(0,o.useEffect)((()=>{if(!g.current)return;const e=w[Math.min(w.length-1,Math.max(0,r))],t=m.current[e];t&&(g.current.scrollTop>t.offsetTop&&g.current.scrollTo({top:t.offsetTop}),g.current.scrollTop+g.current.offsetHeight<t.offsetTop+t.offsetHeight&&g.current.scrollTo({top:t.offsetTop+t.offsetHeight-g.current.offsetHeight}))}),[r,a,w]),(0,h.jsx)(i.De,(0,n.gY)({ref:g,as:"ul",width:"100%",backgroundColor:"surface3",borderWidth:1,borderStyle:"solid",rounded:"sm",hideScroll:!0,"data-testid":f},b,{children:w.map(((e,n)=>(0,h.jsxs)(o.Fragment,{children:[0!==n&&(0,h.jsx)(u.i,{direction:"horizontal"}),(0,h.jsx)(x,{ref:e=>e&&(m.current[n]=e),size:p,onClick:()=>l(t[e].value),active:r===e,disabled:t[e].disabled,textTransform:c,children:(null==s?void 0:s(e))||t[e].label})]},t[e].value)))}))})),m=(0,i.CS)("SelectField")((0,i.hu)({props:[{name:"disabled",default:!1,keep:!0}],variants:{true:{backgroundColor:"disable"},false:{backgroundColor:"surface3"}}}),(0,i.hu)({props:[{name:"size",default:"lg",responsive:!0,keep:!0}],variants:{lg:{height:50,px:15,labelSpacing:4,bodyLevel:2,helperTextBodyLevel:4,helperTextSpacing:4,optionsOffset:56,iconSize:20,iconSpacing:12},md:{height:38,px:9,labelSpacing:0,bodyLevel:2,helperTextBodyLevel:4,helperTextSpacing:4,optionsOffset:42,iconSize:20,iconSpacing:8},sm:{height:30,px:7,labelSpacing:0,bodyLevel:4,helperTextBodyLevel:5,helperTextSpacing:2,optionsOffset:32,iconSize:16,iconSpacing:6}}})),w=["innerRef","label","placeholder","inlineLabel","options","state","helperText","renderOption","disabled","defaultValue","onValueChange","onOpen","zIndex","testId","optionTextTransform","size","height","px","bodyLevel","helperTextBodyLevel","helperTextSpacing","optionsOffset","iconSize","iconSpacing","labelSpacing"],C=m((e=>{var t;let{innerRef:r,label:d,placeholder:u,inlineLabel:c,options:f,state:p="default",helperText:x,renderOption:b,disabled:v,defaultValue:m,onValueChange:C,onOpen:S,zIndex:j,testId:k="select-field",optionTextTransform:y="none",size:T,height:I,px:L,bodyLevel:B,helperTextBodyLevel:V,helperTextSpacing:z,optionsOffset:R,iconSize:O,iconSpacing:F,labelSpacing:E}=e,W=(0,n.gK)(e,w);const[M,D]=(0,o.useState)(!1),[A,G]=(0,o.useState)("down"),[K,U]=(0,o.useState)(m),[Y,_]=(0,o.useState)(-1),[Z,H]=(0,o.useState)("auto"),N=(0,o.useRef)(null),P=(0,o.useRef)(null),X=(0,o.useMemo)((()=>v?"onView3":"error"===p?"onViewError":"onView2"),[v,p]),$=(0,o.useMemo)((()=>v?"outline1":"error"===p?"onViewError":M?"outlineNeutral":"outline1"),[v,M,p]),q=f.find((e=>e.value===K)),J=(0,o.useCallback)((e=>{let t=e;for(;t>=0&&t<f.length;){if(!f[t].disabled){_(t);break}e>Y?t++:t--}}),[Y,f]);(0,o.useEffect)((()=>{U(m)}),[m]);const Q=(0,o.useCallback)((async e=>{var t;if(!N.current||v)return;null==(t=P.current)||t.focus();const{top:r,bottom:n}=await(0,i._z)(N.current),o=r,l=n;J(K?f.findIndex((e=>e.value===K)):e),o>l?(H(o-44),G("up")):(H(l-84),G("down")),D(!0),null==S||S()}),[v,S,f,J,K]),ee=()=>{J(-1),D(!1)};return(0,o.useImperativeHandle)(r,(()=>({focus:()=>{var e;null==(e=P.current)||e.focus(),Q(0)},blur:()=>{var e;return null==(e=P.current)?void 0:e.blur()},clear:()=>{U(void 0),null==C||C(void 0)},isFocused:()=>{var e;return null==(e=P.current)?void 0:e.isFocused()}})),[C,Q]),(0,h.jsxs)(i.xu,{"data-testid":k,children:[(0,h.jsx)(i.oi,{ref:P,type:"text",defaultValue:null!=(t=null==q?void 0:q.value)?t:"",readOnly:!0,disabled:v,hidden:!0,onSubmit:()=>{var e,t;M?-1!==Y&&(U(null==(e=f[Y])?void 0:e.value),null==C||C(null==(t=f[Y])?void 0:t.value),ee()):Q(0)},onKeyPress:({key:e,prevent:t})=>{e===("up"===A?"ArrowDown":"ArrowUp")&&J(Math.max(0,Y-1)),e===("up"===A?"ArrowUp":"ArrowDown")&&J(Math.min(f.length-1,Y+1)),t()}}),(0,h.jsx)(i.Kt,(0,n.gY)({ref:N,alignItems:"center",flexDirection:"row",height:I,px:L,borderWidth:1,borderStyle:"solid",borderColor:$,rounded:"sm",cursor:v?"default":"pointer",onPressIn:()=>M?ee():Q(-1)},W,{children:(0,h.jsxs)(a.U,{alignVertical:"center",width:"100%",children:[(0,h.jsx)(i.xu,{as:"span",flex:1,pr:F,minWidth:0,children:q?(0,h.jsxs)(i.xu,{as:"span",flexDirection:c?"row":"column",children:[Boolean(d)&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(s.u,{level:c?B:6,color:X,lineLimit:1,flexGrow:0,flexShrink:0,flexBasis:"auto",maxWidth:"90%",mb:c?0:E,children:d}),(0,h.jsx)(i.xu,{as:"span",flexShrink:0,hidden:!c,children:(0,h.jsx)(s.u,{level:B,color:v?"onView3":"onView2",children:"\xa0/\xa0"})})]}),(0,h.jsx)(s.u,{level:B,color:v?"onView3":"onView1",lineLimit:1,textTransform:y,children:q.label})]}):(0,h.jsx)(s.u,{level:B,color:d?X:"onView3",lineLimit:1,wordBreak:"break-all",wordWrap:"break-word",children:d||u})}),(0,h.jsx)(l.E,{size:O,fill:v?"onView3":"error"===p?"onViewError":"onView1"})]})})),(0,h.jsx)(i.pI,(0,n.gY)({open:M,targetRef:N,onDismiss:ee,width:"100%",maxHeight:[Z,Z,336],zIndex:j},"down"===A?{top:R}:{bottom:R},{children:(0,h.jsx)(g,{size:T,onOptionClick:e=>{var t;U(e),null==C||C(e),ee(),null==(t=P.current)||t.focus()},state:p,renderOption:b,reverse:"up"===A,options:f,focusIndex:Y,textTransform:y})})),Boolean(x)&&(0,h.jsx)(s.u,{level:V,color:"error"===p?"onViewError":"onView2",wordBreak:"keep-all",wordWrap:"break-word",mt:z,children:x})]})}))},91800:function(e,t,r){r.d(t,{O:function(){return h}});var n=r(32039),o=r(50315),i=r(12149);const l=(0,o.CS)("NotificationBadge")((0,o.hu)({props:[{name:"count",keep:!0}],variants:({count:e})=>e&&e>9?{count:"9+",px:4}:{width:14}}),(0,o.hu)({props:[{name:"size",responsive:!0,default:"sm"}],variants:{sm:{dotSize:5},md:{dotSize:6},lg:{dotSize:8}}}),(0,o.hu)({props:[{name:"kind",keep:!0},{name:"dotSize",responsive:!0}],variants:({kind:e,dotSize:t})=>"dot"===e?{width:t,height:t,borderRadius:4}:{width:14,height:14,borderRadius:7,pb:.5}}),(0,o.hu)({props:[{name:"borderColor"},{name:"borderRadius",responsive:!0,keep:!0}],variants:({borderColor:e,borderRadius:t})=>e?{position:"relative",pseudoBefore:{position:"absolute",top:-2,left:-2,bottom:-2,right:-2,borderRadius:t+2,borderWidth:2,borderStyle:"solid",borderColor:e}}:{}}));var s=r(97458);const a=["kind","count","testId"],d=l((e=>{let{kind:t,count:r,testId:l}=e,d=(0,n.gK)(e,a);return(0,s.jsx)(o.xu,(0,n.gY)({display:"inline-flex",backgroundColor:"onViewError",whiteSpace:"nowrap",alignItems:"center",justifyContent:"center",top:0,right:0,"data-testid":l},d,{children:"number"===t&&(0,s.jsx)(i.u,{level:6,weight:"medium",children:r})}))}));var u=r(25021);const c=(0,o.CS)("Tab")((0,o.hu)({props:[{name:"active",default:!1,keep:!0}],variants:{true:{borderBottomColor:"outlineNeutral",textColor:"onView1"},false:{borderBottomColor:"rgba(0, 0, 0, 0)",textColor:"onView2"}}})),f=["innerRef","title","borderBottomColor","textColor","update","description","id","onClick","testId","active"],h=c((e=>{let{innerRef:t,title:r,borderBottomColor:l,textColor:a,update:c,description:h,id:p,onClick:x,testId:b="tab",active:v}=e,g=(0,n.gK)(e,f);return(0,s.jsxs)(o.Kt,(0,n.gY)({role:"tab",as:"button",borderWidth:0,ref:t,flexDirection:"row",borderBottomWidth:2,borderBottomStyle:"solid",borderBottomColor:l,position:"relative",cursor:"pointer",justifyContent:"center",alignItems:"center",onClick:()=>null==x?void 0:x(p),pt:12,pb:10,backgroundColor:"inherit",ariaSelected:v,"data-testid":b},g,{children:[(0,s.jsx)(u.D,{level:[6,6,5],weight:"bold",color:a,children:r}),h?(0,s.jsx)(o.xu,{ml:4,children:(0,s.jsx)(i.u,{level:[5,5,3],color:a,weight:"medium",children:h})}):null,c&&(0,s.jsx)(o.xu,{mt:2,ml:4,display:"flex",alignSelf:"flex-start",children:(0,s.jsx)(d,{kind:"dot",size:"sm"})})]}))}))},16650:function(e,t,r){r.d(t,{v:function(){return w}});var n=r(32039),o=r(52983),i=r(50315),l=r(74145),s=r(4676),a=r(51758),d=r(49254),u=r(82736),c=r(14172),f=r(23672),h=r(4199),p=r(7526),x=r(83390);const b=(0,i.CS)("TabGroup")((0,i.hu)({props:[{name:"type"}],variants:{fitContent:{tabFlexGrow:0,tabFlexShrink:0,tabFlexBasis:"auto",BoxComponent:i.De,hideScroll:!0,overflowX:"auto",width:"auto",isScrollable:!0},fullWidth:{tabFlexGrow:1,tabFlexShrink:0,tabFlexBasis:"auto",overflow:"hidden",BoxComponent:i.xu,width:"100%",isScrollable:!1}}}));var v=r(97458);const g=["BoxComponent","tabFlexGrow","tabFlexShrink","tabFlexBasis","tabId","onTabChange","children","isScrollable","testId"],m=({onChange:e,children:t,options:r})=>{const{ref:n}=(0,a.Y)({initialInView:!0,onChange:e,options:r}),i=(0,o.useCallback)((e=>{t.ref&&("function"===typeof t.ref?t.ref(e):t.ref.current=e),n(e)}),[t,n]);return(0,o.cloneElement)(t,{ref:i})},w=b((e=>{var t;let{BoxComponent:r,tabFlexGrow:a,tabFlexShrink:b,tabFlexBasis:w,tabId:C,onTabChange:S,children:j,isScrollable:k,testId:y="tab-group"}=e,T=(0,n.gK)(e,g);const I=null!=(t=o.Children.toArray(j).filter((e=>(0,o.isValidElement)(e))))?t:[],L=(0,o.useRef)({}),B=(0,o.useRef)(null),[V,z]=(0,o.useState)(!0),[R,O]=(0,o.useState)(!0),F=(0,o.useRef)(new Array(o.Children.count(j)).fill(!1)),{breakpointIndex:E}=(0,i.Vt)(),W=E>1&&!i.tY,M=e=>t=>{t&&(L.current[e]=t)};(0,o.useEffect)((()=>{var e,t;if(!L.current[C]||!B.current||!W)return;const r=(null!=(e=null==(t=B.current.children[0])?void 0:t.offsetLeft)?e:0)-B.current.offsetLeft;B.current.scrollTo({left:L.current[C].offsetLeft-r-B.current.offsetWidth/2+L.current[C].offsetWidth/2,behavior:"smooth"})}),[W,C]),(0,d.L)((()=>{F.current=new Array(o.Children.count(j)).fill(!1)}),[j]);const D=(0,o.useRef)(!1),A=(0,o.useRef)(null),G=(0,o.useRef)(null),K=()=>{D.current=!1};return(0,v.jsxs)(x.g,{width:"100%","data-testid":y,children:[(0,v.jsxs)(r,(0,n.gY)({as:"ul",ref:B},k?{onMouseDown:e=>{D.current=!0,A.current=e.clientX,G.current=B.current?B.current.scrollLeft:null},onMouseMove:e=>{var t;D.current&&null!==A.current&&null!==G.current&&(null==(t=B.current)||t.scrollTo({left:G.current-(e.clientX-A.current)}))},onMouseUp:K,onMouseLeave:K}:{},{flexDirection:"row",mb:-1},T,{children:[(0,v.jsx)(p.T,{width:[20,20,0]}),I.map(((e,t)=>W?(0,v.jsx)(m,{onChange:e=>{0===t&&O(e),t===I.length-1&&z(e),F.current[t]=e},options:0===t||t===I.length-1?{threshold:.99,root:B.current}:{threshold:.99,rootMargin:"0px -40px 0px -40px",root:B.current},children:(0,v.jsx)(i.xu,{as:"li",flexGrow:a,flexShrink:b,flexBasis:w,hidden:e.props.hidden,ref:M(e.props.id),mr:t!==I.length-1?[20,20,28]:0,children:(0,o.cloneElement)(e,{active:e.props.id===C,onClick:S})})},e.props.id):(0,v.jsx)(i.xu,{as:"li",flexGrow:a,flexShrink:b,flexBasis:w,hidden:e.props.hidden,ref:M(e.props.id),mr:t!==I.length-1?[20,20,28]:0,children:(0,o.cloneElement)(e,{active:e.props.id===C,onClick:S})},e.props.id))),(0,v.jsx)(p.T,{width:[20,20,0]})]})),k&&W&&!R&&(0,v.jsxs)(c.U,{position:"absolute",height:"100%",left:0,children:[(0,v.jsx)(h.s,{ariaLabel:"Go to previous page",onClick:()=>{var e;const t=F.current.indexOf(!0),r=Math.max(t-1,0),n=L.current[I[r].props.id];n&&(null==(e=B.current)||e.scrollTo({left:n.offsetLeft-(B.current.offsetWidth-n.offsetWidth)+40,behavior:"smooth"}))},width:40,height:"100%",backgroundColor:"background",px:12,justifyContent:"center",children:(0,v.jsx)(l.F,{size:16})}),(0,v.jsx)(f.X,{width:6,height:"100%",gradient:"linearLeft"})]}),k&&W&&!V&&(0,v.jsxs)(c.U,{position:"absolute",height:"100%",right:0,children:[(0,v.jsx)(f.X,{width:6,height:"100%",gradient:"linearRight"}),(0,v.jsx)(h.s,{ariaLabel:"Go to next page",onClick:()=>{var e;const t=F.current.lastIndexOf(!0),r=Math.min(t+1,F.current.length-1),n=L.current[I[r].props.id];n&&(null==(e=B.current)||e.scrollTo({left:n.offsetLeft-40,behavior:"smooth"}))},width:40,height:"100%",backgroundColor:"background",px:12,justifyContent:"center",children:(0,v.jsx)(s.F,{size:16})})]}),(0,v.jsx)(u.i,{direction:"horizontal"})]})}))},66668:function(e,t,r){r.d(t,{D:function(){return u}});var n=r(52983),o=r(50315),i=r(56167),l=r(14172),s=r(25021);const a=(0,o.CS)("TopBar")((0,o.hu)({props:[{name:"kind",default:"default"}],variants:{emphasis:{titleLevel:3,titleCentered:!1},default:{titleLevel:5,titleCentered:!0}}}));var d=r(97458);const u=a((({as:e,backgroundColor:t="background",title:r,titleAs:a="h1",titleLevel:u,titleCentered:c,testId:f="top-bar",renderLeft:h,renderRight:p})=>{const[x,b]=(0,n.useState)(void 0),[v,g]=(0,n.useState)(void 0),m=x||v?Math.max(null!=x?x:0,null!=v?v:0):"auto",{theme:{contentArea:w}}=(0,o.Xw)();return(0,d.jsx)(o.xu,{as:e,"data-testid":f,width:"100%",height:52,px:w.padding,backgroundColor:t,justifyContent:"center",children:(0,d.jsxs)(l.U,{mx:"auto",width:"100%",maxWidth:w.maxWidth,spacing:16,children:[(c||h)&&(0,d.jsx)(o.xu,{"data-testid":"top-bar-left-area",flexShrink:0,flexBasis:m,alignItems:"flex-start",children:(0,d.jsx)(l.U,{onLayout:({width:e})=>b(e),height:"100%",spacing:16,alignVertical:"center",children:null==h?void 0:h()})}),(0,n.isValidElement)(r)?(0,d.jsx)(o.xu,{"data-testid":"top-bar-element-title",width:"100%",flex:1,flexShrink:0,justifyContent:"center",visibility:!c||!h&&!p||(0,i.$)(x)||(0,i.$)(v)?"visible":"hidden",children:r}):(0,d.jsx)(s.D,{"data-testid":"top-bar-text-title",as:a,level:u,flex:1,alignSelf:"center",textAlign:c?"center":"left",lineLimit:1,visibility:!c||!h&&!p||(0,i.$)(x)||(0,i.$)(v)?"visible":"hidden",children:r}),(c||p)&&(0,d.jsx)(o.xu,{"data-testid":"top-bar-right-area",flexShrink:0,flexBasis:m,alignItems:"flex-end",children:(0,d.jsx)(l.U,{onLayout:({width:e})=>g(e),height:"100%",spacing:16,alignVertical:"center",children:null==p?void 0:p()})})]})})}))},6865:function(e,t,r){r.d(t,{E:function(){return s}});var n=r(25110),o=r(50315),i=r(97458);const l=["size","fill","testId"],s=e=>{let{size:t=24,fill:r="onColor",testId:s="arrowtriangledown-thin"}=e,a=(0,n.v)(e,l);return(0,i.jsx)(o.ny,(0,n.g)({viewBox:"0 0 24 24",width:t,height:t,fill:r,"data-testid":s},a,{children:(0,i.jsx)(o.ny.Path,{d:"m7.05 9.4 4.75 7c.1.15.3.15.4 0l4.75-7c.1-.15 0-.4-.2-.4h-9.5c-.2 0-.3.25-.2.4Z"})}))};s.iconType="Thin"}}]);