@sassoftware/va-report-components
Version:
The SAS Visual Analytics SDK is a set of JavaScript APIs and web components that enable SAS Visual Analytics report content to be easily embedded in a third-party application or web page.
1 lines • 7.96 MB
JavaScript
/*! License information is available at ../../LICENSE.txt and ../../LICENSE-3RD-PARTY.txt */(globalThis["va-report-componentsJsonp"]=globalThis["va-report-componentsJsonp"]||[]).push([[32],Array(130).concat([(e,t,a)=>{"use strict";a.r(t),a.d(t,{SASReport:()=>y,SASReportObject:()=>M,SASReportPage:()=>w});var r=a(2),o=a(131),l=a(698),c=a(248),s=a(699),n=a(700),i=a(701),h=a(243),d=a(702),m=a(684),p=a(195),u=a(254),v=a(736),g=a(132);const f=({message:e})=>(0,g.jsx)(h.X,{style:{display:"flex",flexShrink:1,height:"100%",justifyContent:"center",alignItems:"center"},children:(0,g.jsx)(i.w,{text:e,mode:"error"})}),C=e=>{const[t,a]=(0,r.useState)(),[o,c]=(0,r.useState)(),[i]=(0,m.T9)(),h=(0,v.H4)();(0,r.useEffect)((()=>(0,u.B5)(e.url,e.authenticationType).subscribe((e=>{e.error?c(e.error):("initalizing"!==e.status&&a("authorized"===e.status),c(void 0))}))),[e.url,e.authenticationType]);let d=e.children;return o?d=(0,g.jsx)(p.f6,{currentTheme:i,children:(0,g.jsx)(f,{message:o})}):void 0===t?d=(0,g.jsx)(p.f6,{currentTheme:i,children:(0,g.jsx)(n.g,{})}):!1===t&&(d=(0,g.jsx)(p.f6,{currentTheme:i,children:(0,g.jsx)(s.u,{url:e.url,authenticationType:e.authenticationType})})),(0,g.jsx)(l.T,{className:h,children:d})},y=e=>{const[t,a]=(0,r.useState)(),s=(0,v.H4)();return t||"packageUri"in e?(0,g.jsx)(l.T,{className:s,children:(0,g.jsx)(f,{message:t||c.L["SASReport.genericError.msg"]()})}):(0,g.jsx)(C,{url:e.url,authenticationType:e.authenticationType,children:(0,g.jsx)(o.B,{mobileView:!0,reportUri:e.reportUri,host:e.url,authenticationType:e.authenticationType,onError:e=>a(e||c.L["SASReport.genericError.msg"]())})})},M=e=>{const[t,a]=(0,r.useState)(),s=(0,v.H4)();return t||"packageUri"in e?(0,g.jsx)(l.T,{className:s,children:(0,g.jsx)(f,{message:t||c.L["SASReport.genericError.msg"]()})}):(0,g.jsx)(C,{url:e.url,authenticationType:e.authenticationType,children:(0,g.jsx)(o.B,{mobileView:!0,reportUri:e.reportUri,host:e.url,authenticationType:e.authenticationType,objectName:e.objectName||"",onError:e=>a(e||c.L["SASReport.genericError.msg"]())})})};async function b(e,t,a,r){const o={headers:{}};r&&(o.headers.Authorization=r,o.credentials="omit");const l=await fetch(`${e}${t}/content/elements`,o),c=await l.json(),s=c?.items?.filter((e=>"Section"===e?.type))?.findIndex((e=>e?.name===a));if(void 0===s||-1===s)throw new Error(`Unable to find Section with name ${a}`);return s}const x=e=>{const[t,a]=(0,r.useState)("pageIndex"in e?e.pageIndex:void 0),l="pageName"in e?e.pageName:void 0;return(0,r.useEffect)((()=>{if(!l)return;let t=!1;return"guest"===e.authenticationType?(0,d.m9)(e.url).then((r=>{t||b(e.url,e.reportUri,l,r).then((e=>{t||a(e)}))})):b(e.url,e.reportUri,l).then((e=>{t||a(e)})),()=>{t=!0}}),[l,e.url,e.reportUri,e.authenticationType]),void 0===t?(0,g.jsx)(n.g,{}):(0,g.jsx)(o.B,{mobileView:!0,reportUri:e.reportUri,host:e.url,authenticationType:e.authenticationType,sectionIndex:t,onError:e.onError})},w=e=>{const[t,a]=(0,r.useState)(),o=(0,v.H4)();return t||"packageUri"in e?(0,g.jsx)(l.T,{className:o,children:(0,g.jsx)(f,{message:t||c.L["SASReport.genericError.msg"]()})}):(0,g.jsx)(C,{url:e.url,authenticationType:e.authenticationType,children:(0,g.jsx)(x,{...e,onError:e=>a(e||c.L["SASReport.genericError.msg"]())})})}},(e,t,a)=>{"use strict";a.d(t,{B:()=>p});var r=a(132),o=a(2),l=a(134),c=a(243),s=a(244),n=a(247),i=a(195),h=a(684),d=a(460),m=a(255);const p=function(e){const[t,a]=(0,o.useState)(null),[p,u]=(0,o.useState)(!1),[v,g]=(0,o.useState)(""),[f,C]=(0,o.useState)(!1),y=(0,o.useRef)(null),M=(0,s.gV)(),[b,x]=(0,h.T9)(),[w,z]=(0,h.$S)();(0,o.useEffect)((()=>{var a,r;const o=e.onError,l=(0,n.A5)(e.host,e.authenticationType),c=e.objectName?null===(a=l.getObjectImage(e.reportUri,e.objectName,t))||void 0===a?void 0:a.subscribe((e=>{e.imageURL?g(e.imageURL):null==o||o(e.error)})):null===(r=l.getReportImage(e.reportUri,t,e.sectionIndex))||void 0===r?void 0:r.subscribe((e=>{e.imageURL?g(e.imageURL):null==o||o(e.error)}));return()=>null==c?void 0:c.unsubscribe()}),[e.host,e.authenticationType,e.reportUri,e.objectName,e.sectionIndex,e.onError,t]);const[S]=(0,d.x)((({contentRect:e})=>{if(e&&!t){const t=e.width,r=e.height;t>0&&r>0&&a({width:t,height:r})}}));return(0,r.jsx)(i.f6,Object.assign({currentTheme:b},{children:(0,r.jsxs)(c.X,Object.assign({ref:S,style:{position:"relative",display:"flex",flexShrink:1,flexDirection:"column",height:"100%",justifyContent:"center",backgroundColor:null==x?void 0:x.backgroundColor,fontFamily:null==x?void 0:x.fontFamily}},{children:[(0,r.jsx)("img",{ref:y,src:v,style:{position:"absolute",width:"100%",height:"100%",visibility:p?"visible":"hidden"},onLoad:()=>{!p&&y.current&&t&&u(!0)},onMouseDown:()=>C(!e.mobileView&&p),"data-testid":(0,m.A8)()?e.objectName+"-image":void 0}),(0,r.jsx)("div",{style:{width:"100%",height:"100%",position:"absolute",backgroundColor:"#FFFFFFA0",visibility:p&&f?"visible":"hidden"}}),(0,r.jsx)(l.Bu,{style:{zIndex:1},active:f||!p,text:M,animationTokens:w,tokens:z,delay:0})]}))}))}},(e,t,a)=>{"use strict";e.exports=a(133)},(e,t,a)=>{"use strict";var r=a(2),o=Symbol.for("react.element"),l=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n={key:!0,ref:!0,__self:!0,__source:!0};function i(e,t,a){var r,l={},i=null,h=null;for(r in void 0!==a&&(i=""+a),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(h=t.ref),t)c.call(t,r)&&!n.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===l[r]&&(l[r]=t[r]);return{$$typeof:o,type:e,key:i,ref:h,props:l,_owner:s.current}}t.jsx=i,t.jsxs=i},(e,t,a)=>{"use strict";a.d(t,{Bu:()=>S});var r=a(2),o=a(135),l=a.n(o),c=a(136),s=a(181),n=a(183),i=a(195),h=a(212),d=a(213),m=a(238),p=a(239),u=a(240),v=a(242);const g=JSON.parse('{"i":"sas_components-BusyStateIndicator-BusyStateAnimationElement_bar-container","q":"sas_components-BusyStateIndicator-BusyStateAnimationElement_progress-bar"}');var f=a(132);const C=(0,n.zF)(v.Z),y=(0,r.forwardRef)((function(e,t){const a=C(),r=(0,i.Ld)(),o=M(r,{tokens:e.tokens});return(0,f.jsx)(p.Z,{spacing:"s",tabIndex:e.tabIndex??0,ref:t,className:l()(g.i,e.className),style:{...o,...e.style},"aria-label":e.ariaLabel??a("busyStateIndicatorAnimation.default.aria"),"aria-describedby":e.ariaDescribedBy,role:"img",title:a("busyStateIndicatorAnimation.default.tooltip.label"),children:(0,f.jsx)("div",{className:g.q})})})),M=(e,t)=>({...(0,i.je)({bg:e.tokens["color-primary"],"animation-start":e.tokens["color-primary"],"animation-end":e.tokens["color-container-background-0"],minWidth:e.tokens["size-container-xs"],maxWidth:e.tokens["size-container-l"],"border-radius":e.tokens["size-border-radius-xxs"],height:"4px",...t?.tokens?.()??{}},"busy-state-bar"),...!e.enableNovaTokens&&b(e,t)}),b=(e,t)=>{switch(e.baseReportThemeName){case"highcontrast2018":case"highcontrast2017":return{...(0,i.je)({bg:e.c.hcBusy,"animation-start":e.tokens["color-primary"],"animation-end":e.c.white,...t?.tokens?.()??{}},"busy-state-bar")}}return{...(0,i.je)({bg:e.reportTokens.stateStatusContent.informational.fg,"animation-start":e.tokens["color-primary"],"animation-end":e.c.white,...t?.tokens?.()??{}},"busy-state-bar")}},x=JSON.parse('{"IJ":"sas_components-BusyStateIndicator-BusyStateIndicator_overlay","SB":"sas_components-BusyStateIndicator-BusyStateIndicator_state","o2":"sas_components-BusyStateIndicator-BusyStateIndicator_state-text","nC":"sas_components-BusyStateIndicator-BusyStateIndicator_container","Hn":"sas_components-BusyStateIndicator-BusyStateIndicator_children-container","NI":"sas_components-BusyStateIndicator-BusyStateIndicator_fill-parent-container","qP":"sas_components-BusyStateIndicator-BusyStateIndicator_button-container"}'),w=(0,n.zF)(v.Z),z=(0,s.e)("BusyStateIndicator-text"),S=(0,r.forwardRef)((function(e,t){const a=w(),o=(0,m.k)(),{text:c,buttonText:s,onButtonPress:n,active:v,children:g,testId:C,hideGraphic:M}=e,b=z(),S=(e=>null==e?300:e>0?e:0)(e.delay),[E,N]=(0,r.useState)(!1),H=(0,r.useRef)(null),T=(0,r.useRef)(null),L=(0,r.useRef)(null),A=(0,r.useRef)(null),k=(0,r.useRef)(null),I=(0,r.useRef)(null),F=(0,r.useRef)(!1),D=(0,i.Ld)(),B=!!v&&(E||0===S),R=c??(M?a("hideGraphicLoading.label"):c),O={...V(D,{tokens:e.tokens}),...e.theme?.(D)};(0,r.useEffect)((()=>{if(!v)return void N(!1);const e=setTimeout((()=>N(!0)),S);return()=>clearTimeout(e)}),[v]);const P=e.activeMsg??a("active.aria");(0,r.useEffect)((()=>{B?(I.current||(I.current=document.activeElement),!e.disableAutoFocus&&T.current?.contains(document.activeElement)?M?A.current?.focus():L.current?.focus():P&&o?.notify(P)):I.current&&(e.disableAutoFocus||I.current?.focus?.(),I.current=null)}),[o,B,P,M,e.disableAutoFocus]);const j=(0,r.useRef)(e.onActive);j.current=e.onActive,(0,r.useEffect)((()=>{B&&j.current?.()}),[B]),(0,u.S)({isOpen:B,message:e.dismissedMsg??a("dismissed.aria")}),B||H.current?.contains(document.activeElement)||(I.current=null);const _=(0,f.jsxs)(p.Z,{className:l()(x.SB,e.className),style:{...O,...e.style},"data-testid":C,ref:H,orientation:"vertical",children:[M?null:(0,f.jsx)(y,{ref:t=>{(0,h.k)(e.busyStateAnimationRef,t),L.current=t},ariaLabel:e.ariaLabel,ariaDescribedBy:R?b:void 0,tokens:e.animationTokens}),R?(0,f.jsx)("span",{ref:A,className:x.o2,id:b,tabIndex:M?0:void 0,children:R}):null,s?(0,f.jsx)("div",{className:x.qP,children:(0,f.jsx)(d.zx,{variant:d.Wu.Small,onPress:n,text:s})}):null]});return g?(0,f.jsxs)("div",{className:l()(x.nC,e.fillParentContainer&&x.NI,e.containerClassName),style:{...O,...e.containerStyle},ref:t,children:[B?(0,f.jsx)("span",{tabIndex:0,ref:k,onFocus:()=>{F.current||(M?A.current?.focus():L.current?.focus())},"data-autofocus-inside":"true"}):null,(0,f.jsx)("div",{className:x.Hn,ref:T,children:g}),B?(0,f.jsx)("div",{className:l()(x.IJ,e.overlayClassName),style:e.overlayStyle,onKeyDown:e=>{"Tab"===e.key&&e.shiftKey&&e.target===(M?A.current:L.current)&&(F.current=!0,k.current?.focus(),F.current=!1)},children:_}):null]}):B?_:null})),V=(e,t)=>({...(0,i.je)({"font-size-m":e.tokens["font-size-body-text-m"],"overlay-bg":t?.tokens?.().bg??(0,c.uK)(e.tokens["color-container-background-0"],.9),fg:t?.tokens?.().fg??e.tokens["color-body-text"],pd:e.tokens["space-base-s"]},"busy-state"),...(0,i.je)({bg:e.tokens["color-container-background-0"]},"button-container"),...!e.enableNovaTokens&&E(e,t)}),E=(e,t)=>{let a="",r="";switch(e.themeVariant){case"dark":a=(0,c.uK)(e.c.p_2,.6),r=e.c.white;break;case"high-contrast":a=(0,c.uK)(e.c.black,.6),r=e.c.white;break;default:a=(0,c.uK)(e.c.white,.8),r=e.c.n_3}return{...(0,i.je)({"font-size-m":e.reportTokens.font.size.m,"overlay-bg":t?.tokens?.().bg??a,fg:t?.tokens?.().fg??r},"busy-state"),...(0,i.je)({bg:e.reportTokens.backgrounds.panes.bg},"button-container")}}},(e,t)=>{var a;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var a=arguments[t];a&&(e=c(e,l(a)))}return e}function l(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var a in e)r.call(e,a)&&e[a]&&(t=c(t,a));return t}function c(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(a=function(){return o}.apply(t,[]))||(e.exports=a)}()},(e,t,a)=>{"use strict";a.d(t,{Ne:()=>r.Ne,mx:()=>r.mx,qj:()=>r.qj,Cv:()=>r.Cv,LX:()=>l.LX,kG:()=>r.kG,A9:()=>l.A9,EW:()=>o.EW,So:()=>l.So,LJ:()=>o.LJ,PS:()=>o.PS,uK:()=>c.u});var r=a(137),o=a(138),l=a(140),c=a(180)},(e,t,a)=>{"use strict";a.d(t,{Cv:()=>p,Ne:()=>n,k8:()=>d,kG:()=>h,mx:()=>i,qj:()=>s,ud:()=>m});const r={colorNeutral:"hsl(219, 12%, 42%)",colorPrimary:"hsl(212, 94%, 42%)",colorSecondary:"hsl(329,60%,30%)",colorAlert:"hsl(0, 100%, 36%)",colorWarning:"hsl(43, 89%, 39%)",colorSuccess:"hsl(123, 46%, 36%)",colorInfo:"hsl(212, 94%, 36%)",colorStatusNeutral:"hsl(219, 12%, 36%)",colorUiLight:"hsl(219, 0%, 100%)",colorUiMedium:"hsl(219, 12%, 98%)",colorUiDark:"hsl(219, 12%, 96%)",colorUiBorder:"hsl(219, 12%, 88%)",colorUiPop:"hsl(212, 94%, 42%)",colorTextDefault:"hsl(219, 12%, 12%)",colorTextLabel:"hsl(219, 12%, 48%)",colorTextInverse:"hsl(219, 0%, 100%)",colorTextPrimary:"hsl(212, 94%, 42%)",colorTextSecondary:"hsl(329,60%,30%)",colorTextPop:"hsl(212, 0%, 100%)",colorGraph1:"#33a3ff",colorGraph2:"#ffcc33",colorGraph3:"#9470ff",colorGraph4:"#ff8324",colorGraph5:"#29d1d1",colorGraph6:"#dc5656",colorGraph7:"#15b77b",colorGraph8:"#ff70bc",colorKPI1:"#dd5757",colorKPI3:"#ffcc32",colorKPI5:"#15b57b"},o={colorNeutral:"hsl(219, 12%, 64%)",colorPrimary:"hsl(212, 94%, 62%)",colorSecondary:"hsl(329,60%,40%)",colorAlert:"hsl(0, 100%, 64%)",colorWarning:"hsl(43, 89%, 64%)",colorSuccess:"hsl(123, 46%, 63%)",colorInfo:"hsl(212, 94%, 62%)",colorStatusNeutral:"hsl(219, 12%, 64%)",colorUiLight:"hsl(219, 12%, 17%)",colorUiMedium:"hsl(219, 12%, 12%)",colorUiDark:"hsl(219, 12%, 8%)",colorUiBorder:"hsl(219, 12%, 30%)",colorUiPop:"hsl(212, 94%, 36%)",colorTextDefault:"hsl(219, 12%, 88%)",colorTextLabel:"hsl(219, 12%, 59%)",colorTextInverse:"hsl(219, 12%, 12%)",colorTextPrimary:"hsl(212, 94%, 62%)",colorTextSecondary:"hsl(329,60%,30%)",colorTextPop:"hsl(212, 0%, 100%)",colorGraph1:"#2470ad",colorGraph2:"#98863c",colorGraph3:"#5954ad",colorGraph4:"#985b30",colorGraph5:"#238a92",colorGraph6:"#84414b",colorGraph7:"#17785f",colorGraph8:"#985186",colorKPI1:"#84414b",colorKPI3:"#98863c",colorKPI5:"#17785f"},l={colorNeutral:"hsl(219, 12%, 84%)",colorPrimary:"hsl(212, 94%, 83%)",colorSecondary:"hsl(329,60%,57%)",colorAlert:"hsl(0, 100%, 84%)",colorWarning:"hsl(43, 89%, 84%)",colorSuccess:"hsl(123, 46%, 82%)",colorInfo:"hsl(212, 94%, 83%)",colorStatusNeutral:"hsl(219, 12%, 84%)",colorUiLight:"hsl(219, 0%, 0%)",colorUiMedium:"hsl(219, 0%, 0%)",colorUiDark:"hsl(219, 0%, 0%)",colorUiBorder:"hsl(219, 0%, 100%)",colorUiPop:"hsl(212, 94%, 35%)",colorTextDefault:"hsl(219, 0%, 100%)",colorTextLabel:"hsl(219, 0%, 100%)",colorTextInverse:"hsl(219, 0%, 0%)",colorTextPrimary:"hsl(212, 94%, 83%)",colorTextSecondary:"hsl(329, 60%, 62%)",colorTextPop:"hsl(212, 0%, 100%)",colorGraph1:"#4aacff",colorGraph2:"#f1d700",colorGraph3:"#c68aff",colorGraph4:"#f98e39",colorGraph5:"#00d692",colorGraph6:"#ff817a",colorGraph7:"#7cbf00",colorGraph8:"#ff6fbd",colorKPI1:"#ff5e4d",colorKPI3:"#f2d94b",colorKPI5:"#7bb04a"},c={neutral:"#768396",primary:"#0378cd",secondary:"#86134f",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016DBA"},s={baseThemeName:"light",colors:{...c,...r},enableNovaTokens:!1},n={...s,colors:{...s.colors,...o},baseThemeName:"dark"},i={...s,baseThemeName:"high-contrast",colors:{...s.colors,secondary:"#EA6CAD",alert:"#ff6347",warning:"#daa520",success:"#32cd32",information:"#22a7f0",...l}},h={light:s,dark:n,"high-contrast":i},d={sas_corporate:{baseThemeName:"light",colors:{...c,...r}},sas_ignite:{baseThemeName:"dark",colors:{...c,...o}},sas_hcb:{baseThemeName:"high-contrast",colors:{...c,secondary:"#EA6CAD",alert:"#ff6347",warning:"#daa520",success:"#32cd32",information:"#22a7f0",...l}}},m={marine:{baseThemeName:"light",colors:{neutral:"#828282",primary:"#4e4e4e",secondary:"#4e4e4e",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016dba"}},midnight:{baseThemeName:"dark",colors:{neutral:"#fff",primary:"#0378cd",secondary:"#0378cd",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016dba"}},midnight2020:{baseThemeName:"dark",colors:{neutral:"#fff",primary:"#0378cd",secondary:"#0378cd",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016dba"}},opal:{baseThemeName:"light",colors:{neutral:"#768396",primary:"#3c444f",secondary:"#3c444f",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016dba"}},sail:{baseThemeName:"light",colors:{neutral:"#828282",primary:"#4e4e4e",secondary:"#4e4e4e",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#0072b2"}},aqua:{baseThemeName:"light",colors:{neutral:"#828282",primary:"#4e4e4e",secondary:"#4e4e4e",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#0072b2"}},umstead:{baseThemeName:"light",colors:{neutral:"#828282",primary:"#4e4e4e",secondary:"#4e4e4e",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016dba"}},highcontrast2020:{baseThemeName:"high-contrast",colors:{neutral:"#5e6778",primary:"#0664d0",secondary:"#7a1f4e",alert:"#ffadad",warning:"#fbe6b2",success:"#bce6be",information:"#abd1fc"}},highcontrast2018:{baseThemeName:"high-contrast",colors:{neutral:"#fff",primary:"#44affc",secondary:"#ea6cad",alert:"#ff6347",warning:"#daa520",success:"#32cd32",information:"#22a7f0"}},highcontrast2017:{baseThemeName:"high-contrast",colors:{neutral:"#fff",primary:"#98fb98",secondary:"#0ff",alert:"#ff6347",warning:"#daa520",success:"#32cd32",information:"#22a7f0"}},light:{baseThemeName:"light",colors:{neutral:"#768396",primary:"#0378cd",secondary:"#287eab",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016dba"}},dark:{baseThemeName:"dark",colors:{neutral:"#768396",primary:"#0378cd",secondary:"#287eab",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016dba"}},snow:{baseThemeName:"light",colors:{neutral:"#768396",primary:"#0378cd",secondary:"#287eab",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016dba"}},highcontrast:{baseThemeName:"high-contrast",colors:{neutral:"#ffffff",primary:"#00fffc",secondary:"#00fffc",alert:"#d80000",warning:"#916000",success:"#0a7c12",information:"#016dba"}},light2025:{baseThemeName:"light",colors:{neutral:"#5e6778",primary:"#0664d0",secondary:"#7a1f4e",alert:"#b80000",warning:"#bc8a0b",success:"#328636",information:"#0656b2"}},dark2025:{baseThemeName:"dark",colors:{neutral:"#5e6778",primary:"#0664d0",secondary:"#7a1f4e",alert:"#ff4747",warning:"#f5c751",success:"#75cc7a",information:"#4398f9"}}},p={...m,...d}},(e,t,a)=>{"use strict";a.d(t,{EW:()=>h,LJ:()=>d,PS:()=>i,V7:()=>m,jG:()=>p});var r=a(148),o=a(139),l=a(147),c=a(140),s=a(137);const n=(0,o.jl)("reportThemes");function i(e){let t;const a=e.baseReportThemeName??e.baseThemeName;d(a)?t=h(a):(n.warn(`Unsupported 'baseReportThemeName' provided ('${a}'). Defaulting to 'light'.`),t=h("light"));const o=l,c=(0,r.wU)(o,{"color-neutral":e.colors?.neutral??t.colors.neutral,"color-primary":e.colors?.primary??t.colors.primary,"color-secondary":e.colors?.secondary??t.colors.secondary,"color-status-alert":e.colors?.alert??t.colors.alert,"color-status-warning":e.colors?.warning??t.colors.warning,"color-status-info":e.colors?.information??t.colors.information,"color-status-success":e.colors?.success??t.colors.success,"color-dataviz-graph1":e.colors?.colorGraph1??t.colors.colorGraph1,"color-dataviz-graph2":e.colors?.colorGraph2??t.colors.colorGraph2,"color-dataviz-graph3":e.colors?.colorGraph3??t.colors.colorGraph3,"color-dataviz-graph4":e.colors?.colorGraph4??t.colors.colorGraph4,"color-dataviz-graph5":e.colors?.colorGraph5??t.colors.colorGraph5,"color-dataviz-graph6":e.colors?.colorGraph6??t.colors.colorGraph6,"color-dataviz-graph7":e.colors?.colorGraph7??t.colors.colorGraph7,"color-dataviz-graph8":e.colors?.colorGraph8??t.colors.colorGraph8,"color-dataviz-kpi1":e.colors?.colorKPI1??t.colors.colorKPI1,"color-dataviz-kpi3":e.colors?.colorKPI3??t.colors.colorKPI3,"color-dataviz-kpi5":e.colors?.colorKPI5??t.colors.colorKPI5,"brand-color-blue":e.colors?.primary??t.colors.primary,"brand-color-grey":e.colors?.neutral??t.colors.neutral,"brand-color-cranberry":e.colors?.secondary??t.colors.secondary,"brand-color-info":e.colors?.information??t.colors.information,"brand-color-warning":e.colors?.warning??t.colors.warning,"brand-color-alert":e.colors?.alert??t.colors.alert,"brand-color-success":e.colors?.success??t.colors.success}),s={};(c.find((t=>t.name===e.baseThemeName))?.tokens??[]).forEach((({name:t,value:a})=>{if("font-family-primary"!==t&&"font-family-secondary"!==t)if(s[t]=a,t.startsWith("font-size")){const r=16*parseFloat(a),o=parseFloat(e.overrides?.fontSizeBase??"100%")/100,l=Math.round(r*o*1e3)/1e3+"px";s[t]=l}else;}));const i="light2025"===e.baseReportThemeName||"dark2025"===e.baseReportThemeName||"highcontrast2020"===e.baseReportThemeName;return{...t,tokensExperimental:s,tokens:s,colors:{...t.colors,...e.colors},overrides:{...t.overrides,...e.overrides},enableNovaTokens:i}}function h(e){if(!d(e))return s.kG.light;const{baseThemeName:t,colors:a}=s.ud[e];let r=t;(0,c.IM)(r)||(n.warn(`Unsupported 'baseThemeName' provided ('${r}'). Defaulting to 'light'.`),r="light");const o=s.kG[r],l="light2025"===e||"dark2025"===e||"highcontrast2020"===e;return{...o,colors:{...o.colors,...a},baseReportThemeName:e,enableNovaTokens:l}}function d(e){return s.ud.hasOwnProperty(e)}function m(e){const t=!!e.baseReportThemeName,a="dark"===e.baseThemeName||"high-contrast"===e.baseThemeName;return t&&a}function p(e){switch(e.baseReportThemeName){case"marine":case"midnight":case"opal":case"sail":case"aqua":case"umstead":case"highcontrast2018":case"highcontrast2017":case"light":case"dark":case"snow":case"light2025":case"dark2025":case"highcontrast":return"2019";default:return"latest"}}},(e,t,a)=>{"use strict";a.d(t,{jl:()=>p});const r=["debug","info","warn","error","none"],o=r.indexOf("error"),l=r.length-1,c=e=>{const t=r.indexOf(e);return t>-1?t:o},s=new URLSearchParams(window.location.search).getAll("nova-log").reduce(((e,t)=>{const a=t.split(",").filter((e=>!!e));for(const t of a)if(t.includes(":")){const a=t.split(":");e[a[0]]=c(a[1])}else e[""]=c(t);return e}),{"":o}),n=(e="")=>{const t=s[e]??l,a=s[""];return Math.min(t,a)},i=(e,t="")=>{s[t]=r.indexOf(e)},h=(e="")=>r[n(e)],d=new Intl.DateTimeFormat(void 0,{hour:"numeric",minute:"numeric",second:"numeric",fractionalSecondDigits:3}),m=(e,t,a)=>{if(e>=n(t)){const o=r[e],l=(()=>{switch(typeof a){case"function":return a();case"object":return JSON.stringify(a);default:return a}})();if("none"===o)return;console[o](((e,t,a)=>`${d.format(Date.now())} ${a.toUpperCase()} ${t?`${t}: `:""}${e}`)(l,t,o))}},p=(e="")=>r.reduce(((t,a,r)=>("none"!==a&&(t[a]=t=>m(r,e,t)),t)),{});var u;(u=window).sas=u.sas||{},Object.isFrozen(u.sas)?p("Logging").warn("Could not create globally accessible nova logger"):(u.sas.nova=u.sas.nova||{},u.sas.nova.logging={getLogger:p,getLogLevel:h,setLogLevel:i})},(e,t,a)=>{"use strict";a.d(t,{A9:()=>p,IM:()=>d,LX:()=>h,So:()=>m});var r=a(139),o=a(141),l=a(138),c=a(137);const s=(0,r.jl)("themeOverrides"),n=[{token:"colorNeutral",themeVar:"@neutralColorThemeDesigner"},{token:"colorPrimary",themeVar:"@primaryColorThemeDesigner"},{token:"colorSecondary",themeVar:"@secondaryColorThemeDesigner"},{token:"colorAlert",themeVar:"@alertColor"},{token:"colorWarning",themeVar:"@warningColor"},{token:"colorSuccess",themeVar:"@successColor"},{token:"colorInfo",themeVar:"@informationColor"},{token:"colorStatusNeutral",themeVar:"@neutralColorThemeDesigner"},{token:"colorGraph1",themeVar:"@GraphPaletteColor1"},{token:"colorGraph2",themeVar:"@GraphPaletteColor2"},{token:"colorGraph3",themeVar:"@GraphPaletteColor3"},{token:"colorGraph4",themeVar:"@GraphPaletteColor4"},{token:"colorGraph5",themeVar:"@GraphPaletteColor5"},{token:"colorGraph6",themeVar:"@GraphPaletteColor6"},{token:"colorGraph7",themeVar:"@GraphPaletteColor7"},{token:"colorGraph8",themeVar:"@GraphPaletteColor8"},{token:"colorKPI1",themeVar:"@kpiPaletteRange1"},{token:"colorKPI3",themeVar:"@kpiPaletteRange3"},{token:"colorKPI5",themeVar:"@kpiPaletteRange5"},{token:"primary",themeVar:"@primaryColorThemeDesigner"},{token:"secondary",themeVar:"@secondaryColorThemeDesigner"},{token:"neutral",themeVar:"@neutralColorThemeDesigner"},{token:"alert",themeVar:"@alertColor"},{token:"warning",themeVar:"@warningColor"},{token:"success",themeVar:"@successColor"},{token:"information",themeVar:"@informationColor"}],i=[{token:"fontFamily",themeVar:"@fontFamilyOverride",modify:e=>e.replace(/['"\\~,]+/g,"")},{token:"fontSizeCore",themeVar:"@baseLineFontSizeCore"},{token:"fontSizeBase",themeVar:"@baseLineFontSize"},{token:"bannerBg",themeVar:"@bannerBackgroundColor"},{token:"bannerFg",themeVar:"@bannerTextColor"},{token:"bannerImg",themeVar:"@bannerImageId",modify:e=>e.replace(/"/g,"")},{token:"fontSizeBase",themeVar:"@baseLineFontSize"},{token:"splashFg",themeVar:"@splashScreenAnimationColor"},{token:"splashBg",themeVar:"@splashScreenBackgroundColor"},{token:"splashImg",themeVar:"@splashImageId",modify:e=>e.replace(/"/g,"")},{token:"transitionFg",themeVar:"@transitionScreenAnimationColor"},{token:"transitionBg",themeVar:"@transitionScreenBackgroundColor"},{token:"tableBorderColor",themeVar:"@tableBorderColor"},{token:"tableCellBorderColor",themeVar:"@tableCellBorderColor"},{token:"tableHeaderBackground",themeVar:"@tableHeaderBackground"},{token:"tableHeaderBorderRightColor",themeVar:"@tableHeaderBorderRightColor"},{token:"tableHeaderLabelColor",themeVar:"@tableHeaderLabelColor"},{token:"tableRowBackgroundColorEven",themeVar:"@tableRowBackgroundColorEven"},{token:"tableRowBackgroundColorOdd",themeVar:"@tableRowBackgroundColorOdd"},{token:"tableTextColor",themeVar:"@tableTextColor"},{token:"tableTotalsBackgroundColor",themeVar:"@tableTotalsBackgroundColor"},{token:"tableTotalsTextColor",themeVar:"@tableTotalsTextColor"},{token:"transitionImg",themeVar:"@transitionImageId",modify:e=>e.replace(/"/g,"")}],h=e=>{let t,a=(e=e??{}).baseThemeId;"application"===e.contentType?a&&m(a)||(s.warn(`Unsupported application 'baseThemeId' provided ('${a}'). Defaulting to 'sas_corporate'.`),a="sas_corporate"):"report"===e.contentType?(a&&(0,l.LJ)(a)||(s.warn(`Unsupported report 'baseThemeId' provided ('${a}'). Defaulting to 'light'.`),a="light"),t=a):(s.warn(`Unrecognized value for 'contentType' provided ('${e.contentType}').`),a&&m(a)||(a&&(0,l.LJ)(a)?t=a:a="sas_corporate"));const r=c.Cv[a].baseThemeName,o={};for(const{themeVar:t,token:a}of n){const r=e.styleData?.[t];r&&(o[a]=r)}const h={};for(const{themeVar:t,token:a,modify:r}of i){const o=e.styleData?.[t];o&&(h[a]=r?r(o):o)}return{baseThemeName:r,...t?{baseReportThemeName:t}:{},colors:o,overrides:h}},d=e=>c.kG.hasOwnProperty(e),m=e=>c.k8.hasOwnProperty(e);function p(e){let t,a,r,l,s,n,i,h,d,m=e.colors?.colorNeutral,p=e.colors?.colorPrimary;const u=(0,o.Ym)(0,1,1);switch(e.baseThemeName){case"high-contrast":t=c.kG["high-contrast"],m=m??t.colors.colorNeutral,p=p??t.colors.colorPrimary,a=(0,o.Ym)((0,o.L)(m).hue,(0,o.L)(m).saturation,0),r=(0,o.Ym)((0,o.L)(m).hue,(0,o.L)(m).saturation,.17),l=(0,o.Ym)((0,o.L)(m).hue,(0,o.L)(m).saturation,0),s=(0,o.Ym)((0,o.L)(m).hue,(0,o.L)(m).saturation,.83),n=(0,o.Ym)((0,o.L)(m).hue,(0,o.L)(m).saturation,.12),i=(0,o.Ym)((0,o.L)(m).hue,(0,o.L)(m).saturation,1),h=(0,o.Ym)((0,o.L)(m).hue,(0,o.L)(m).saturation,1),d=(0,o.Ym)((0,o.L)(m).hue,(0,o.L)(m).saturation,0);break;case"dark":t=c.kG.dark,m=m??t.colors.colorNeutral,p=p??t.colors.colorPrimary,a=(0,o.Ym)((0,o.L)(p).hue,(0,o.L)(p).saturation,.08),r=(0,o.Ym)((0,o.L)(p).hue,(0,o.L)(p).saturation,.15),l=(0,o.Ym)((0,o.L)(p).hue,(0,o.L)(p).saturation,.12),s=(0,o.Ym)((0,o.L)(m).hue,(0,o.L)(m).saturation,.26),n=(0,o.Ym)((0,o.L)(p).hue,(0,o.L)(p).saturation,.15),i=(0,o.Ym)((0,o.L)(m).hue,(0,o.L)(m).saturation,1),h=(0,o.Ym)((0,o.L)(m).hue,(0,o.L)(m).saturation,.64),d=(0,o.Ym)((0,o.L)(m).hue,(0,o.L)(m).saturation,0);break;default:t=c.kG.light,m=m??t.colors.colorNeutral,p=p??t.colors.colorPrimary,a=(0,o.Ym)((0,o.L)(m).hue,(0,o.L)(m).saturation,1),r=(0,o.Ym)((0,o.L)(m).hue,(0,o.L)(m).saturation,.98),l=(0,o.Ym)((0,o.L)(m).hue,(0,o.L)(m).saturation,.95),s=(0,o.Ym)((0,o.L)(m).hue,(0,o.L)(m).saturation,.83),n=p,i=(0,o.Ym)((0,o.L)(m).hue,(0,o.L)(m).saturation,0),h=(0,o.Ym)((0,o.L)(m).hue,(0,o.L)(m).saturation,.46),d=(0,o.Ym)((0,o.L)(m).hue,(0,o.L)(m).saturation,1)}return{colorNeutral:m,colorPrimary:p,colorSecondary:e.colors?.colorSecondary??t.colors.colorSecondary,colorAlert:e.colors?.colorAlert??t.colors.colorAlert,colorWarning:e.colors?.colorWarning??t.colors.colorWarning,colorSuccess:e.colors?.colorSuccess??t.colors.colorSuccess,colorInfo:e.colors?.colorInfo??t.colors.colorInfo,colorStatusNeutral:e.colors?.colorStatusNeutral??t.colors.colorStatusNeutral,colorUiLight:a,colorUiMedium:r,colorUiDark:l,colorUiBorder:s,colorUiPop:n,colorTextDefault:i,colorTextLabel:h,colorTextInverse:d,colorTextPrimary:e.colors?.colorPrimary??t.colors.colorTextPrimary,colorTextSecondary:e.colors?.colorSecondary??t.colors.colorTextSecondary,colorTextPop:u,colorGraph1:e.colors?.colorGraph1??t.colors.colorGraph1,colorGraph2:e.colors?.colorGraph2??t.colors.colorGraph2,colorGraph3:e.colors?.colorGraph3??t.colors.colorGraph3,colorGraph4:e.colors?.colorGraph4??t.colors.colorGraph4,colorGraph5:e.colors?.colorGraph5??t.colors.colorGraph5,colorGraph6:e.colors?.colorGraph6??t.colors.colorGraph6,colorGraph7:e.colors?.colorGraph7??t.colors.colorGraph7,colorGraph8:e.colors?.colorGraph8??t.colors.colorGraph8,colorKPI1:e.colors?.colorKPI1??t.colors.colorKPI1,colorKPI3:e.colors?.colorKPI3??t.colors.colorKPI3,colorKPI5:e.colors?.colorKPI5??t.colors.colorKPI5}}},(e,t,a)=>{"use strict";a.d(t,{_j:()=>W,mj:()=>Y,se:()=>Q,Ym:()=>I,xM:()=>J,$n:()=>X,CD:()=>q,jb:()=>$,L:()=>N,Oq:()=>E,B8:()=>D,m4:()=>B,pW:()=>_,DZ:()=>ee});var r=a(146),o=a(144),l=a(142),c=a(145),s=a(143);function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(n=function(){return!!e})()}function i(e){var t="function"==typeof Map?new Map:void 0;return i=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,a)}function a(){return function(e,t,a){if(n())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return a&&(0,s.Z)(o,a.prototype),o}(e,arguments,(0,c.Z)(this).constructor)}return a.prototype=Object.create(e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),(0,s.Z)(a,e)},i(e)}var h=function(e){function t(t){var a;return a=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this,(0,o.Z)(a)}return(0,l.Z)(t,e),t}(i(Error));function d(e,t){return e.substr(-t.length)===t}var m=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function p(e){return"string"!=typeof e?e:e.match(m)?parseFloat(e):e}var u=function(e){return function(t,a){void 0===a&&(a="16px");var r=t,o=a;if("string"==typeof t){if(!d(t,"px"))throw new h(69,e,t);r=p(t)}if("string"==typeof a){if(!d(a,"px"))throw new h(70,e,a);o=p(a)}if("string"==typeof r)throw new h(71,t,e);if("string"==typeof o)throw new h(72,a,e);return""+r/o+e}};u("em");u("rem");function v(e){return Math.round(255*e)}function g(e,t,a){return v(e)+","+v(t)+","+v(a)}function f(e,t,a,r){if(void 0===r&&(r=g),0===t)return r(a,a,a);var o=(e%360+360)%360/60,l=(1-Math.abs(2*a-1))*t,c=l*(1-Math.abs(o%2-1)),s=0,n=0,i=0;o>=0&&o<1?(s=l,n=c):o>=1&&o<2?(s=c,n=l):o>=2&&o<3?(n=l,i=c):o>=3&&o<4?(n=c,i=l):o>=4&&o<5?(s=c,i=l):o>=5&&o<6&&(s=l,i=c);var h=a-l/2;return r(s+h,n+h,i+h)}var C={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var y=/^#[a-fA-F0-9]{6}$/,M=/^#[a-fA-F0-9]{8}$/,b=/^#[a-fA-F0-9]{3}$/,x=/^#[a-fA-F0-9]{4}$/,w=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,z=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,S=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,V=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function E(e){if("string"!=typeof e)throw new h(3);var t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return C[t]?"#"+C[t]:e}(e);if(t.match(y))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(M)){var a=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:a}}if(t.match(b))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(x)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var o=w.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var l=z.exec(t.substring(0,50));if(l)return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10),alpha:parseFloat(""+l[4])>1?parseFloat(""+l[4])/100:parseFloat(""+l[4])};var c=S.exec(t);if(c){var s="rgb("+f(parseInt(""+c[1],10),parseInt(""+c[2],10)/100,parseInt(""+c[3],10)/100)+")",n=w.exec(s);if(!n)throw new h(4,t,s);return{red:parseInt(""+n[1],10),green:parseInt(""+n[2],10),blue:parseInt(""+n[3],10)}}var i=V.exec(t.substring(0,50));if(i){var d="rgb("+f(parseInt(""+i[1],10),parseInt(""+i[2],10)/100,parseInt(""+i[3],10)/100)+")",m=w.exec(d);if(!m)throw new h(4,t,d);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])}}throw new h(5)}function N(e){return function(e){var t,a=e.red/255,r=e.green/255,o=e.blue/255,l=Math.max(a,r,o),c=Math.min(a,r,o),s=(l+c)/2;if(l===c)return void 0!==e.alpha?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var n=l-c,i=s>.5?n/(2-l-c):n/(l+c);switch(l){case a:t=(r-o)/n+(r<o?6:0);break;case r:t=(o-a)/n+2;break;default:t=(a-r)/n+4}return t*=60,void 0!==e.alpha?{hue:t,saturation:i,lightness:s,alpha:e.alpha}:{hue:t,saturation:i,lightness:s}}(E(e))}var H=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function T(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function L(e){return T(Math.round(255*e))}function A(e,t,a){return H("#"+L(e)+L(t)+L(a))}function k(e,t,a){return f(e,t,a,A)}function I(e,t,a){if("number"==typeof e&&"number"==typeof t&&"number"==typeof a)return k(e,t,a);if("object"==typeof e&&void 0===t&&void 0===a)return k(e.hue,e.saturation,e.lightness);throw new h(1)}function F(e,t,a,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof a&&"number"==typeof r)return r>=1?k(e,t,a):"rgba("+f(e,t,a)+","+r+")";if("object"==typeof e&&void 0===t&&void 0===a&&void 0===r)return e.alpha>=1?k(e.hue,e.saturation,e.lightness):"rgba("+f(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new h(2)}function D(e,t,a){if("number"==typeof e&&"number"==typeof t&&"number"==typeof a)return H("#"+T(e)+T(t)+T(a));if("object"==typeof e&&void 0===t&&void 0===a)return H("#"+T(e.red)+T(e.green)+T(e.blue));throw new h(6)}function B(e,t,a,r){if("string"==typeof e&&"number"==typeof t){var o=E(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof a&&"number"==typeof r)return r>=1?D(e,t,a):"rgba("+e+","+t+","+a+","+r+")";if("object"==typeof e&&void 0===t&&void 0===a&&void 0===r)return e.alpha>=1?D(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new h(7)}var R=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&("number"!=typeof e.alpha||void 0===e.alpha)},O=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"==typeof e.alpha},P=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&("number"!=typeof e.alpha||void 0===e.alpha)},j=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"==typeof e.alpha};function _(e){if("object"!=typeof e)throw new h(8);if(O(e))return B(e);if(R(e))return D(e);if(j(e))return F(e);if(P(e))return I(e);throw new h(8)}function U(e,t,a){return function(){var r=a.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):U(e,t,r)}}function Z(e){return U(e,e.length,[])}Z((function(e,t){if("transparent"===t)return t;var a=N(t);return _((0,r.Z)({},a,{hue:a.hue+parseFloat(e)}))}));function G(e,t,a){return Math.max(e,Math.min(t,a))}var W=Z((function(e,t){if("transparent"===t)return t;var a=N(t);return _((0,r.Z)({},a,{lightness:G(0,1,a.lightness-parseFloat(e))}))}));Z((function(e,t){if("transparent"===t)return t;var a=N(t);return _((0,r.Z)({},a,{saturation:G(0,1,a.saturation-parseFloat(e))}))}));function K(e){if("transparent"===e)return 0;var t=E(e),a=Object.keys(t).map((function(e){var a=t[e]/255;return a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4)})),r=a[0],o=a[1],l=a[2];return parseFloat((.2126*r+.7152*o+.0722*l).toFixed(3))}function Y(e,t){var a=K(e),r=K(t);return parseFloat((a>r?(a+.05)/(r+.05):(r+.05)/(a+.05)).toFixed(2))}function Q(e){return"transparent"===e?e:_((0,r.Z)({},N(e),{saturation:0}))}function J(e){if("object"==typeof e&&"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness)return e.alpha&&"number"==typeof e.alpha?F({hue:e.hue,saturation:e.saturation,lightness:e.lightness,alpha:e.alpha}):I({hue:e.hue,saturation:e.saturation,lightness:e.lightness});throw new h(45)}var X=Z((function(e,t){if("transparent"===t)return t;var a=N(t);return _((0,r.Z)({},a,{lightness:G(0,1,a.lightness+parseFloat(e))}))}));var q=Z((function(e,t,a){if("transparent"===t)return a;if("transparent"===a)return t;if(0===e)return a;var o=E(t),l=(0,r.Z)({},o,{alpha:"number"==typeof o.alpha?o.alpha:1}),c=E(a),s=(0,r.Z)({},c,{alpha:"number"==typeof c.alpha?c.alpha:1}),n=l.alpha-s.alpha,i=2*parseFloat(e)-1,h=((i*n==-1?i:i+n)/(1+i*n)+1)/2,d=1-h;return B({red:Math.floor(l.red*h+s.red*d),green:Math.floor(l.green*h+s.green*d),blue:Math.floor(l.blue*h+s.blue*d),alpha:l.alpha*parseFloat(e)+s.alpha*(1-parseFloat(e))})}));var $=Z((function(e,t){if("transparent"===t)return t;var a=E(t),o="number"==typeof a.alpha?a.alpha:1;return B((0,r.Z)({},a,{alpha:G(0,1,(100*o+100*parseFloat(e))/100)}))}));Z((function(e,t){if("transparent"===t)return t;var a=N(t);return _((0,r.Z)({},a,{saturation:G(0,1,a.saturation+parseFloat(e))}))}));Z((function(e,t){return"transparent"===t?t:_((0,r.Z)({},N(t),{hue:parseFloat(e)}))}));Z((function(e,t){return"transparent"===t?t:_((0,r.Z)({},N(t),{lightness:parseFloat(e)}))}));Z((function(e,t){return"transparent"===t?t:_((0,r.Z)({},N(t),{saturation:parseFloat(e)}))}));Z((function(e,t){return"transparent"===t?t:q(parseFloat(e),"rgb(0, 0, 0)",t)}));Z((function(e,t){return"transparent"===t?t:q(parseFloat(e),"rgb(255, 255, 255)",t)}));var ee=Z((function(e,t){if("transparent"===t)return t;var a=E(t),o="number"==typeof a.alpha?a.alpha:1;return B((0,r.Z)({},a,{alpha:G(0,1,+(100*o-100*parseFloat(e)).toFixed(2)/100)}))}))},(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var r=a(143);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},(e,t,a)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}a.d(t,{Z:()=>r})},(e,t,a)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}a.d(t,{Z:()=>r})},(e,t,a)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}a.d(t,{Z:()=>r})},(e,t,a)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)({}).hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},r.apply(null,arguments)}a.d(t,{Z:()=>r})},e=>{"use strict";e.exports=JSON.parse('[{"name":"light","selectors":[":root","[data-sas-theme=\'light\']"],"tokens":[{"name":"color-action-background-focus","value":"hsl(205, 97%, 35%)","category":"color"},{"name":"color-action-background-focus-inverse","value":"hsl(0, 100%, 100%)","category":"color"},{"name":"color-action-background-subtle-disabled","value":"hsla(0, 0%, 100%, 0)","category":"color"},{"name":"color-action-background-subtle-normal","value":"hsla(0, 0%, 100%, 0)","category":"color"},{"name":"color-action-border-subtle-disabled","value":"hsla(0, 0%, 100%, 0)","category":"color"},{"name":"color-action-border-subtle-normal","value":"hsla(0, 0%, 100%, 0)","category":"color"},{"name":"color-dataviz-graph1","value":"#4398F9","category":"color"},{"name":"color-dataviz-graph-alt1","value":"#3C89E0","category":"color"},{"name":"color-dataviz-graph2","value":"#F28D44","category":"color"},{"name":"color-dataviz-graph-alt2","value":"#D97D3D","category":"color"},{"name":"color-dataviz-graph3","value":"#54B6A4","category":"color"},{"name":"color-dataviz-graph-alt3","value":"#489C8C","category":"color"},{"name":"color-dataviz-graph4","value":"#EC80CE","category":"color"},{"name":"color-dataviz-graph-alt4","value":"#D473B8","category":"color"},{"name":"color-dataviz-graph5","value":"#97C03F","category":"color"},{"name":"color-dataviz-graph-alt5","value":"#82A637","category":"color"},{"name":"color-dataviz-graph6","value":"#A570E8","category":"color"},{"name":"color-dataviz-graph-alt6","value":"#9364CF","category":"color"},{"name":"color-dataviz-graph7","value":"#DCB519","category":"color"},{"name":"color-dataviz-graph-alt7","value":"#C29F16","category":"color"},{"name":"color-dataviz-graph8","value":"#F06F5E","category":"color"},{"name":"color-dataviz-graph-alt8","value":"#D66354","category":"color"},{"name":"color-dataviz-kpi1","value":"#FF4747","category":"color"},{"name":"color-dataviz-kpi-alt1","value":"#E54040","category":"color"},{"name":"color-dataviz-kpi3","value":"#F5DC51","category":"color"},{"name":"color-dataviz-kpi-alt3","value":"#DBC549","category":"color"},{"name":"color-dataviz-kpi5","value":"#63C568","category":"color"},{"name":"color-dataviz-kpi-alt5","value":"#56AB5A","category":"color"},{"name":"font-family-monospace","value":"Consolas, Menlo, \'Lucida Console\', Courier, Monaco, monospace","category":"fontFamilies"},{"name":"font-family-primary","value":"\'Anova UI\', -apple-system, BlinkMacSystemFont, \'Segoe UI\', Roboto, Helvetica, Arial, sans-serif, \'Apple Color Emoji\', \'Segoe UI Emoji\', \'Segoe UI Symbol\'","category":"fontFamilies"},{"name":"font-family-secondary","value":"\'Anova\', -apple-system, BlinkMacSystemFont, \'Segoe UI\', Roboto, Helvetica, Arial, sans-serif, \'Apple Color Emoji\', \'Segoe UI Emoji\', \'Segoe UI Symbol\'","category":"fontFamilies"},{"name":"style-action-border-focus","value":"solid","category":"other"},{"name":"font-size-base-text","value":"16px","category":"fontSizes"},{"name":"font-size-ratio-major-third","value":"1.25","category":"fontSizes"},{"name":"font-size-ratio-major-second","value":"1.125","category":"fontSizes"},{"name":"font-size-ratio-minor-third","value":"1.2","category":"fontSizes"},{"name":"font-space-letter-spacing","value":"normal","category":"letterSpacing"},{"name":"font-space-letter-spacing-l","value":"2px","category":"letterSpacing"},{"name":"font-space-letter-spacing-m","value":"1px","category":"letterSpacing"},{"name":"font-space-letter-spacing-s","value":"normal","category":"letterSpacing"},{"name":"font-space-letter-spacing-xs","value":"-1px","category":"letterSpacing"},{"name":"font-space-word-l","value":"2px","category":"other"},{"name":"font-space-word-m","value":"normal","category":"other"},{"name":"font-space-word-s","value":"1px","category":"other"},{"name":"font-style-expression-italic","value":"italic","category":"other"},{"name":"font-style-expression-normal","value":"normal","category":"other"},{"name":"font-style-expression-oblique","value":"oblique","category":"other"},{"name":"font-style-overflow-wrap-anywhere","value":"anywhere","category":"other"},{"name":"font-style-overflow-wrap-break-word","value":"break-word","category":"other"},{"name":"font-style-overflow-wrap-normal","value":"normal","category":"other"},{"name":"font-style-text-transform-capitalize","value":"capitalize","category":"other"},{"name":"font-style-text-transform-lowercase","value":"lowercase","category":"other"},{"name":"font-style-text-transform-none","value":"none","category":"other"},{"name":"font-style-text-transform-uppercase","value":"uppercase","category":"other"},{"name":"font-style-weight-300","value":"300","category":"fontWeights"},{"name":"font-style-weight-400","value":"400","category":"fontWeights"},{"name":"font-style-weight-500","value":"500","category":"fontWeights"},{"name":"font-style-weight-600","value":"600","category":"fontWeights"},{"name":"font-style-weight-700","value":"700","category":"fontWeights"},{"name":"font-style-word-break-break-all","value":"break-all","category":"other"},{"name":"font-style-word-break-break-word","value":"break-word","category":"other"},{"name":"font-style-word-break-keep-all","value":"keep-all","category":"other"},{"name":"font-style-word-break-normal","value":"normal","category":"other"},{"name":"color-accent-spectrum-1-10","value":"hsla(212, 94%, 98%)","category":"color"},{"name":"color-accent-spectrum-1-20","value":"hsla(212, 94%, 95%)","category":"color"},{"name":"color-accent-spectrum-1-30","value":"hsla(212, 94%, 92%)","category":"color"},{"name":"color-accent-spectrum-1-40","value":"hsla(212, 94%, 88%)","category":"color"},{"name":"color-accent-spectrum-1-50","value":"hsla(212, 94%, 84%)","category":"color"},{"name":"color-accent-spectrum-1-60","value":"hsla(212, 94%, 79%)","category":"color"},{"name":"color-accent-spectrum-1-70","value":"hsla(212, 94%, 76%)","category":"color"},{"name":"color-accent-spectrum-1-80","value":"hsla(212, 94%, 72%)","category":"color"},{"name":"color-accent-spectrum-1-90","value":"hsla(212, 94%, 68%)","category":"color"},{"name":"color-accent-spectrum-1-100","value":"hsla(212, 94%, 62%)","category":"color"},{"name":"color-accent-spectrum-1-200","value":"hsla(212, 94%, 59%)","category":"color"},{"name":"color-accent-spectrum-1-300","value":"hsla(212, 94%, 54%)","category":"color"},{"name":"color-accent-spectrum-1-400","value":"hsla(212, 94%, 46%)","category":"color"},{"name":"color-accent-spectrum-1-450","value":"hsla(212, 94%, 40%)","category":"color"},{"name":"color-accent-spectrum-1-500","value":"hsla(212, 94%, 36%)","category":"color"},{"name":"color-accent-spectrum-1-550","value":"hsla(212, 94%, 33%)","category":"color"},{"name":"color-accent-spectrum-1-600","value":"hsla(212, 94%, 30%)","category":"color"},{"name":"color-accent-spectrum-1-650","value":"hsla(212, 94%, 27%)","category":"color"},{"name":"color-accent-spectrum-1-700","value":"hsla(212, 94%, 22%)","category":"color"},{"name":"color-accent-spectrum-1-750","value":"hsla(212, 94%, 17%)","category":"color"},{"name":"color-accent-spectrum-1-800","value":"hsla(212, 94%, 12%)","category":"color"},{"name":"color-accent-spectrum-1-850","value":"hsla(212, 94%, 8%)","category":"color"},{"name":"color-accent-spectrum-1-900","value":"hsla(212, 94%, 3%)","category":"color"},{"name":"color-accent-spectrum-1-1000","value":"hsla(0, 0%, 0%)","category":"c