impact-ui 3.7.8 → 3.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Header/index.js +1 -1
package/dist/index.js
CHANGED
|
@@ -304,5 +304,5 @@ let K=C();K.ColorAxis=K.ColorAxis||J,K.ColorAxis.compose(K.Chart,K.Fx,K.Legend,K
|
|
|
304
304
|
*
|
|
305
305
|
* A commercial license may be required depending on use.
|
|
306
306
|
* See www.highcharts.com/license
|
|
307
|
-
*/let ho=M();ho.MouseWheelZoom=ho.MouseWheelZoom||{compose:function(e){-1===uo.indexOf(e)&&(uo.push(e),so(e,"afterGetContainer",po))}},ho.MouseWheelZoom.compose(ho.Chart);let Io=M();Io.Navigator=Io.Navigator||zA,Io.OrdinalAxis=Io.OrdinalAxis||JA,Io.RangeSelector=Io.RangeSelector||Dt,Io.Scrollbar=Io.Scrollbar||rA,Io.stockChart=Io.stockChart||$t.stockChart,Io.StockChart=Io.StockChart||Io.stockChart,Io.extend(Io.StockChart,$t),K.compose(Io.Series,Io.Axis,Io.Point),Vn.compose(Io.Renderer),In.compose(Io.Series),Io.Navigator.compose(Io.Chart,Io.Axis,Io.Series),Io.OrdinalAxis.compose(Io.Axis,Io.Series,Io.Chart),Io.RangeSelector.compose(Io.Axis,Io.Chart),Io.Scrollbar.compose(Io.Axis),Io.StockChart.compose(Io.Chart,Io.Axis,Io.Series,Io.SVGRenderer);let Eo=M();return z.default})()))})),q3=B(U3),W3=u((function(e,A){!function(A,t){e.exports=t(A._Highcharts,A._Highcharts.Color,A._Highcharts.SeriesRegistry)}("u"<typeof window?f:window,((e,A,t)=>(()=>{var n,i,o,a={512:e=>{e.exports=t},620:e=>{e.exports=A},944:A=>{A.exports=e}},r={};function s(e){var A=r[e];if(void 0!==A)return A.exports;var t=r[e]={exports:{}};return a[e](t,t.exports,s),t.exports}s.n=e=>{var A=e&&e.__esModule?()=>e.default:()=>e;return s.d(A,{a:A}),A},s.d=(e,A)=>{for(var t in A)s.o(A,t)&&!s.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:A[t]})},s.o=(e,A)=>Object.prototype.hasOwnProperty.call(e,A);var l={};s.d(l,{default:()=>se});var g=s(944),c=s.n(g),d=s(620),f=s.n(d);(n=i||(i={})).getCenterOfPoints=function(e){let A=e.reduce(((e,A)=>(e.x+=A.x,e.y+=A.y,e)),{x:0,y:0});return{x:A.x/e.length,y:A.y/e.length}},n.getDistanceBetweenPoints=function(e,A){return Math.sqrt(Math.pow(A.x-e.x,2)+Math.pow(A.y-e.y,2))},n.getAngleBetweenPoints=function(e,A){return Math.atan2(A.x-e.x,A.y-e.y)},n.pointInPolygon=function({x:e,y:A},t){let n,i,o=t.length,a=!1;for(n=0,i=o-1;n<o;i=n++){let[o,r]=t[n],[s,l]=t[i];r>A!=l>A&&e<(s-o)*(A-r)/(l-r)+o&&(a=!a)}return a};let B=i,{getAngleBetweenPoints:u,getCenterOfPoints:C,getDistanceBetweenPoints:p}=B,{correctFloat:h}=c();!function(e){function A(e,A){let t=Math.pow(10,A);return Math.round(e*t)/t}function t(e){if(e<=0)throw Error("radius of circle must be a positive number.");return h(Math.PI*e*e)}function n(e,A){return e*e*Math.acos(1-A/e)-(e-A)*Math.sqrt(A*(2*e-A))}function i(e,t){let n=p(e,t),i=e.r,o=t.r,a=[];if(n<i+o&&n>Math.abs(i-o)){let r=i*i,s=(r-o*o+n*n)/(2*n),l=Math.sqrt(r-s*s),g=e.x,c=t.x,d=e.y,f=t.y,B=g+s*(c-g)/n,u=d+s*(f-d)/n,C=-l/n*(f-d),p=-l/n*(c-g);a=[{x:A(B+C,14),y:A(u-p,14)},{x:A(B-C,14),y:A(u+p,14)}]}return a}function o(e){return e.reduce(((e,A,t,n)=>{let o=n.slice(t+1).reduce(((e,n,o)=>{let a=[t,o+t+1];return e.concat(i(A,n).map((e=>(e.indexes=a,e))))}),[]);return e.concat(o)}),[])}function a(e,A){return p(e,A)<=A.r+1e-10}function r(e,A){return!A.some((function(A){return!a(e,A)}))}function s(e){return o(e).filter((function(A){return r(A,e)}))}e.round=A,e.getAreaOfCircle=t,e.getCircularSegmentArea=n,e.getOverlapBetweenCircles=function(e,i,o){let a=0;if(o<e+i){if(o<=Math.abs(i-e))a=t(e<i?e:i);else{let A=(e*e-i*i+o*o)/(2*o);a=n(e,e-A)+n(i,i-(o-A))}a=A(a,14)}return a},e.getCircleCircleIntersection=i,e.getCirclesIntersectionPoints=o,e.isCircle1CompletelyOverlappingCircle2=function(e,A){return p(e,A)+A.r<e.r+1e-10},e.isPointInsideCircle=a,e.isPointInsideAllCircles=r,e.isPointOutsideAllCircles=function(e,A){return!A.some((function(A){return a(e,A)}))},e.getCirclesIntersectionPolygon=s,e.getAreaOfIntersectionBetweenCircles=function(e){let A,t=s(e);if(t.length>1){let n=C(t),i=(t=t.map((function(e){return e.angle=u(n,e),e})).sort((function(e,A){return A.angle-e.angle})))[t.length-1],o=t.reduce((function(A,t){let{startPoint:n}=A,i=C([n,t]),o=t.indexes.filter((function(e){return n.indexes.indexOf(e)>-1})).reduce((function(A,o){let a=e[o],r=u(a,t),s=u(a,n),l=s-(s-r+(s<r?2*Math.PI:0))/2,g=p(i,{x:a.x+a.r*Math.sin(l),y:a.y+a.r*Math.cos(l)}),{r:c}=a;return g>2*c&&(g=2*c),(!A||A.width>g)&&(A={r:c,largeArc:+(g>c),width:g,x:t.x,y:t.y}),A}),null);if(o){let{r:e}=o;A.arcs.push(["A",e,e,0,o.largeArc,1,o.x,o.y]),A.startPoint=t}return A}),{startPoint:i,arcs:[]}).arcs;0===o.length||1===o.length||(o.unshift(["M",i.x,i.y]),A={center:n,d:o})}return A}}(o||(o={}));let I=o,E=function(e,A){let{animatableAttribs:t,onComplete:n,css:i,renderer:o}=A,a=e.series&&e.series.chart.hasRendered?void 0:e.series&&e.series.options.animation,r=e.graphic;if(A.attribs={...A.attribs,class:e.getClassName()},e.shouldDraw())r||(e.graphic=r="text"===A.shapeType?o.text():"image"===A.shapeType?o.image(A.imageUrl||"").attr(A.shapeArgs||{}):o[A.shapeType](A.shapeArgs||{}),r.add(A.group)),i&&r.css(i),r.attr(A.attribs).animate(t,!A.isNew&&a,n);else if(r){let A=()=>{e.graphic=r=r&&r.destroy(),"function"==typeof n&&n()};Object.keys(t).length?r.animate(t,void 0,(()=>A())):A()}};var v=s(512),m=s.n(v);let{scatter:{prototype:{pointClass:Q}}}=m().seriesTypes,{isNumber:b}=c(),{getAreaOfCircle:x,getCircleCircleIntersection:F,getOverlapBetweenCircles:w,isPointInsideAllCircles:y,isPointInsideCircle:z,isPointOutsideAllCircles:P}=I,{getDistanceBetweenPoints:M}=B,{extend:k,isArray:D,isNumber:j,isObject:L,isString:O}=c();function S(e){let A={};return e.filter((e=>2===e.sets.length)).forEach((e=>{e.sets.forEach(((t,n,i)=>{L(A[t])||(A[t]={totalOverlap:0,overlapping:{}}),A[t]={totalOverlap:(A[t].totalOverlap||0)+e.value,overlapping:{...A[t].overlapping||{},[i[1-n]]:e.value}}}))})),e.filter(X).forEach((e=>{let t=A[e.sets[0]];k(e,t)})),e}function N(e,A,t,n,i){let o,a,r=e(A),s=e(t),l=i||100,g=n||1e-10,c=t-A,d=1;if(A>=t)throw Error("a must be smaller than b.");if(r*s>0)throw Error("f(a) and f(b) must have opposite signs.");if(0===r)o=A;else if(0===s)o=t;else for(;d++<=l&&0!==a&&c>g;)c=(t-A)/2,r*(a=e(o=A+c))>0?A=o:t=o;return o}function T(e){let A=e.slice(0,-1),t=A.length,n=[],i=(e,A)=>(e.sum+=A[e.i],e);for(let e=0;e<t;e++)n[e]=A.reduce(i,{sum:0,i:e}).sum/t;return n}function H(e,A,t){let n=e+A;return t<=0?n:x(e<A?e:A)<=t?0:N((n=>t-w(e,A,n)),0,n)}function X(e){return D(e.sets)&&1===e.sets.length}function R(e){let A={};return L(e)&&j(e.value)&&e.value>-1&&D(e.sets)&&e.sets.length>0&&!e.sets.some((function(e){let t=!1;return!A[e]&&O(e)?A[e]=!0:t=!0,t}))}function Y(e,A){return A.reduce((function(A,t){let n=0;if(t.sets.length>1){let A=t.value-function(e){let A=0;if(2===e.length){let t=e[0],n=e[1];A=w(t.r,n.r,M(t,n))}return A}(t.sets.map((function(A){return e[A]})));n=Math.round(A*A*1e11)/1e11}return A+n}),0)}function G(e,A){return void 0!==A.totalOverlap&&void 0!==e.totalOverlap?A.totalOverlap-e.totalOverlap:NaN}let J={geometry:B,geometryCircles:I,addOverlapToSets:S,getCentroid:T,getDistanceBetweenCirclesByOverlap:H,getLabelWidth:function(e,A,t){let n=A.reduce(((e,A)=>Math.min(A.r,e)),1/0),i=t.filter((A=>!z(e,A))),o=function(t,n){return N((o=>{let a={x:e.x+n*o,y:e.y};return-(t-o)+(y(a,A)&&P(a,i)?0:Number.MAX_VALUE)}),0,t)};return 2*Math.min(o(n,-1),o(n,1))},getMarginFromCircles:function(e,A,t){let n=A.reduce(((A,t)=>{let n=t.r-M(e,t);return n<=A?n:A}),Number.MAX_VALUE);return t.reduce(((A,t)=>{let n=M(e,t)-t.r;return n<=A?n:A}),n)},isSet:X,layoutGreedyVenn:function(e){let A=[],t={};e.filter((e=>1===e.sets.length)).forEach((e=>{t[e.sets[0]]=e.circle={x:Number.MAX_VALUE,y:Number.MAX_VALUE,r:Math.sqrt(e.value/Math.PI)}}));let n=(e,t)=>{let n=e.circle;n&&(n.x=t.x,n.y=t.y),A.push(e)};S(e);let i=e.filter(X).sort(G);n(i.shift(),{x:0,y:0});let o=e.filter((e=>2===e.sets.length));for(let e of i){let i=e.circle;if(!i)continue;let a=i.r,r=e.overlapping;n(e,A.reduce(((e,n,s)=>{let l=n.circle;if(!l||!r)return e;let g=r[n.sets[0]],c=H(a,l.r,g),d=[{x:l.x+c,y:l.y},{x:l.x-c,y:l.y},{x:l.x,y:l.y+c},{x:l.x,y:l.y-c}];for(let e of A.slice(s+1)){let A=e.circle,t=r[e.sets[0]];if(!A)continue;let n=H(a,A.r,t);d=d.concat(F({x:l.x,y:l.y,r:c},{x:A.x,y:A.y,r:n}))}for(let A of d){i.x=A.x,i.y=A.y;let n=Y(t,o);n<e.loss&&(e.loss=n,e.coordinates=A)}return e}),{loss:Number.MAX_VALUE,coordinates:void 0}).coordinates)}return t},loss:Y,nelderMead:function(e,A){let t=function(e,A){return e.fx-A.fx},n=(e,A,t,n)=>A.map(((A,i)=>e*A+t*n[i])),i=(A,t)=>(t.fx=e(t),A[A.length-1]=t,A),o=A=>{let t=A[0];return A.map((A=>{let i=n(.5,t,.5,A);return i.fx=e(i),i}))},a=(A,t,i,o)=>{let a=n(i,A,o,t);return a.fx=e(a),a},r=(A=>{let t=A.length,n=Array(t+1);n[0]=A,n[0].fx=e(A);for(let i=0;i<t;++i){let t=A.slice();t[i]=t[i]?1.05*t[i]:.001,t.fx=e(t),n[i+1]=t}return n})(A);for(let e=0;e<100;e++){r.sort(t);let e=r[r.length-1],A=T(r),n=a(A,e,2,-1);if(n.fx<r[0].fx){let t=a(A,e,3,-2);r=i(r,t.fx<n.fx?t:n)}else if(n.fx>=r[r.length-2].fx){let t;r=n.fx>e.fx?(t=a(A,e,.5,.5)).fx<e.fx?i(r,t):o(r):(t=a(A,e,1.5,-.5)).fx<n.fx?i(r,t):o(r)}else r=i(r,n)}return r[0]},processVennData:function(e,A){let t=D(e)?e:[],n=t.reduce((function(e,A){var t;return A.sets&&R(t=A)&&X(t)&&t.value>0&&-1===e.indexOf(A.sets[0])&&e.push(A.sets[0]),e}),[]).sort(),i=t.reduce((function(e,t){return t.sets&&R(t)&&!t.sets.some((function(e){return-1===n.indexOf(e)}))&&(e[t.sets.sort().join(A)]={sets:t.sets,value:t.value||0}),e}),{});return n.reduce((function(e,t,n,i){return i.slice(n+1).forEach((function(n){e.push(t+A+n)})),e}),[]).forEach((function(e){if(!i[e]){let t={sets:e.split(A),value:0};i[e]=t}})),Object.keys(i).map((function(e){return i[e]}))},sortByTotalOverlap:G},{animObject:K}=c(),{parse:U}=f(),{getAreaOfIntersectionBetweenCircles:q,getCirclesIntersectionPolygon:W,isCircle1CompletelyOverlappingCircle2:Z,isPointInsideAllCircles:V,isPointOutsideAllCircles:_}=I,{getCenterOfPoints:$}=B,{scatter:ee}=m().seriesTypes,{addEvent:Ae,extend:te,isArray:ne,isNumber:ie,isObject:oe,merge:ae}=c();class re extends ee{static getLabelPosition(e,A){let t=e.reduce(((t,n)=>{let i=n.r/2;return[{x:n.x,y:n.y},{x:n.x+i,y:n.y},{x:n.x-i,y:n.y},{x:n.x,y:n.y+i},{x:n.x,y:n.y-i}].reduce(((t,n)=>{let i=J.getMarginFromCircles(n,e,A);return t.margin<i&&(t.point=n,t.margin=i),t}),t)}),{point:void 0,margin:-Number.MAX_VALUE}).point,n=J.nelderMead((t=>-J.getMarginFromCircles({x:t[0],y:t[1]},e,A)),[t.x,t.y]);return V(t={x:n[0],y:n[1]},e)&&_(t,A)||(t=e.length>1?$(W(e)):{x:e[0].x,y:e[0].y}),t}static getLabelValues(e,A){let t=e.sets,n=A.reduce(((e,A)=>{let n=t.indexOf(A.sets[0])>-1;return A.circle&&e[n?"internal":"external"].push(A.circle),e}),{internal:[],external:[]});n.external=n.external.filter((e=>n.internal.some((A=>!Z(e,A)))));let i=re.getLabelPosition(n.internal,n.external);return{position:i,width:J.getLabelWidth(i,n.internal,n.external)}}static layout(e){let A={},t={};if(e.length>0){let n=J.layoutGreedyVenn(e),i=e.filter(J.isSet);for(let o of e){let e=o.sets,a=e.join(),r=J.isSet(o)?n[a]:q(e.map((e=>n[e])));r&&(A[a]=r,t[a]=re.getLabelValues(o,i))}}return{mapOfIdToShape:A,mapOfIdToLabelValues:t}}static getScale(e,A,t){let n=t.bottom-t.top,i=t.right-t.left,o=(t.right+t.left)/2,a=(t.top+t.bottom)/2,r=Math.min(i>0?1/i*e:1,n>0?1/n*A:1);return{scale:r,centerX:e/2-o*r,centerY:A/2-a*r}}static updateFieldBoundaries(e,A){let t=A.x-A.r,n=A.x+A.r,i=A.y+A.r,o=A.y-A.r;return(!ie(e.left)||e.left>t)&&(e.left=t),(!ie(e.right)||e.right<n)&&(e.right=n),(!ie(e.top)||e.top>o)&&(e.top=o),(!ie(e.bottom)||e.bottom<i)&&(e.bottom=i),e}animate(e){if(!e){let e=K(this.options.animation);for(let A of this.points){let t=A.shapeArgs;if(A.graphic&&t){let n={},i={};t.d?n.opacity=.001:(n.r=0,i.r=t.r),A.graphic.attr(n).animate(i,e),t.d&&setTimeout((()=>{A?.graphic?.animate({opacity:1})}),e.duration)}}}}drawPoints(){let e=this.chart,A=this.group,t=this.points||[],n=e.renderer;for(let i of t){let t={zIndex:ne(i.sets)?i.sets.length:0},o=i.shapeArgs;e.styledMode||te(t,this.pointAttribs(i,i.state)),E(i,{isNew:!i.graphic,animatableAttribs:o,attribs:t,group:A,renderer:n,shapeType:o?.d?"path":"circle"})}}init(){ee.prototype.init.apply(this,arguments),delete this.opacity}pointAttribs(e,A){let t=this.options||{},n=e?.options||{},i=A&&t.states[A]||{},o=ae(t,{color:e?.color},n,i);return{fill:U(o.color).brighten(o.brightness).get(),opacity:o.opacity,stroke:o.borderColor,"stroke-width":o.borderWidth,dashstyle:o.borderDashStyle}}translate(){let e=this.chart;this.dataTable.modified=this.dataTable,this.generatePoints();let A=J.processVennData(this.options.data,re.splitter),{mapOfIdToShape:t,mapOfIdToLabelValues:n}=re.layout(A),i=Object.keys(t).filter((e=>{let A=t[e];return A&&ie(A.r)})).reduce(((e,A)=>re.updateFieldBoundaries(e,t[A])),{top:0,bottom:0,left:0,right:0}),o=re.getScale(e.plotWidth,e.plotHeight,i),a=o.scale,r=o.centerX,s=o.centerY;for(let e of this.points){let A,i=ne(e.sets)?e.sets:[],o=i.join(),l=t[o],g=n[o]||{},c=e.options?.dataLabels,d=g.width,f=g.position;if(l){if(l.r)A={x:r+l.x*a,y:s+l.y*a,r:l.r*a};else if(l.d){let e=l.d;e.forEach((e=>{"M"===e[0]?(e[1]=r+e[1]*a,e[2]=s+e[2]*a):"A"===e[0]&&(e[1]=e[1]*a,e[2]=e[2]*a,e[6]=r+e[6]*a,e[7]=s+e[7]*a)})),A={d:e}}f?(f.x=r+f.x*a,f.y=s+f.y*a):f={},ie(d)&&(d=Math.round(d*a))}e.shapeArgs=A,f&&A&&(e.plotX=f.x,e.plotY=f.y),d&&A&&(e.dlOptions=ae(!0,{style:{width:d}},oe(c,!0)?c:void 0,{zIndex:void 0})),e.name=e.options.name||i.join("∩")}}}re.splitter="highcharts-split",re.defaultOptions=ae(ee.defaultOptions,{borderColor:"#cccccc",borderDashStyle:"solid",borderWidth:1,brighten:0,clip:!1,colorByPoint:!0,dataLabels:{enabled:!0,verticalAlign:"middle",formatter:function(){return this.point.name}},inactiveOtherPoints:!0,marker:!1,opacity:.75,showInLegend:!1,legendType:"point",states:{hover:{opacity:1,borderColor:"#333333"},select:{color:"#cccccc",borderColor:"#000000",animation:!1},inactive:{opacity:.075}},tooltip:{pointFormat:"{point.name}: {point.value}"},legendSymbol:"rectangle"}),te(re.prototype,{axisTypes:[],directTouch:!0,isCartesian:!1,pointArrayMap:["value"],pointClass:class extends Q{isValid(){return b(this.value)}shouldDraw(){return!!this.shapeArgs}},utils:J}),Ae(re,"afterSetOptions",(function(e){let A=e.options.states||{};if(this.is("venn"))for(let e of Object.keys(A))A[e].halo=!1})),m().registerSeriesType("venn",re);let se=c();return l.default})()))})),Z3=B(W3),V3=u((function(e,A){!function(A,t){e.exports=t(A._Highcharts,A._Highcharts.Templating,A._Highcharts.Color,A._Highcharts.SeriesRegistry,A._Highcharts.SVGElement,A._Highcharts.Series)}("u"<typeof window?f:window,((e,A,t,n,i,o)=>(()=>{var a,r,s={28:e=>{e.exports=i},512:e=>{e.exports=n},620:e=>{e.exports=t},820:e=>{e.exports=o},944:A=>{A.exports=e},984:e=>{e.exports=A}},l={};function g(e){var A=l[e];if(void 0!==A)return A.exports;var t=l[e]={exports:{}};return s[e](t,t.exports,g),t.exports}g.n=e=>{var A=e&&e.__esModule?()=>e.default:()=>e;return g.d(A,{a:A}),A},g.d=(e,A)=>{for(var t in A)g.o(A,t)&&!g.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:A[t]})},g.o=(e,A)=>Object.prototype.hasOwnProperty.call(e,A);var c={};g.d(c,{default:()=>Te});var d=g(944),f=g.n(d);let B={mainBreadcrumb:"Main"};var u=g(984);let{format:C}=g.n(u)(),{composed:p}=f(),{addEvent:h,defined:I,extend:E,fireEvent:v,isString:m,merge:Q,objectEach:b,pick:x,pushUnique:F}=f();function w(){if(this.breadcrumbs){let e=this.resetZoomButton&&this.resetZoomButton.getBBox(),A=this.breadcrumbs.options;e&&"right"===A.position.align&&"plotBox"===A.relativeTo&&this.breadcrumbs.alignBreadcrumbsGroup(-e.width-A.buttonSpacing)}}function y(){this.breadcrumbs&&(this.breadcrumbs.destroy(),this.breadcrumbs=void 0)}function z(){let e=this.breadcrumbs;if(e&&!e.options.floating&&e.level){let A=e.options,t=A.buttonTheme,n=(t.height||0)+2*(t.padding||0)+A.buttonSpacing,i=A.position.verticalAlign;"bottom"===i?(this.marginBottom=(this.marginBottom||0)+n,e.yOffset=n):"middle"!==i?(this.plotTop+=n,e.yOffset=-n):e.yOffset=void 0}}function P(){this.breadcrumbs&&this.breadcrumbs.redraw()}function M(e){!0===e.resetSelection&&this.breadcrumbs&&this.breadcrumbs.alignBreadcrumbsGroup()}class k{static compose(e,A){F(p,"Breadcrumbs")&&(h(e,"destroy",y),h(e,"afterShowResetZoom",w),h(e,"getMargins",z),h(e,"redraw",P),h(e,"selection",M),E(A.lang,B))}constructor(e,A){this.elementList={},this.isDirty=!0,this.level=0,this.list=[];const t=Q(e.options.drilldown&&e.options.drilldown.drillUpButton,k.defaultOptions,e.options.navigation&&e.options.navigation.breadcrumbs,A);this.chart=e,this.options=t||{}}updateProperties(e){this.setList(e),this.setLevel(),this.isDirty=!0}setList(e){this.list=e}setLevel(){this.level=this.list.length&&this.list.length-1}getLevel(){return this.level}getButtonText(e){let A=this.chart,t=this.options,n=A.options.lang,i=x(t.format,t.showFullPath?"{level.name}":"← {level.name}"),o=n&&x(n.drillUpText,n.mainBreadcrumb),a=t.formatter&&t.formatter(e)||C(i,{level:e.levelOptions},A)||"";return(m(a)&&!a.length||"← "===a)&&I(o)&&(a=t.showFullPath?o:"← "+o),a}redraw(){this.isDirty&&this.render(),this.group&&this.group.align(),this.isDirty=!1}render(){let e=this.chart,A=this.options;!this.group&&A&&(this.group=e.renderer.g("breadcrumbs-group").addClass("highcharts-no-tooltip highcharts-breadcrumbs").attr({zIndex:A.zIndex}).add()),A.showFullPath?this.renderFullPathButtons():this.renderSingleButton(),this.alignBreadcrumbsGroup()}renderFullPathButtons(){this.destroySingleButton(),this.resetElementListState(),this.updateListElements(),this.destroyListElements()}renderSingleButton(){let e=this.chart,A=this.list,t=this.options.buttonSpacing;this.destroyListElements();let n=this.group?this.group.getBBox().width:t,i=A[A.length-2];!e.drillUpButton&&this.level>0?e.drillUpButton=this.renderButton(i,n,t):e.drillUpButton&&(this.level>0?this.updateSingleButton():this.destroySingleButton())}alignBreadcrumbsGroup(e){if(this.group){let A=this.options,t=A.buttonTheme,n=A.position,i="chart"===A.relativeTo||"spacingBox"===A.relativeTo?void 0:"plotBox",o=this.group.getBBox(),a=2*(t.padding||0)+A.buttonSpacing;n.width=o.width+a,n.height=o.height+a;let r=Q(n);e&&(r.x+=e),this.options.rtl&&(r.x+=n.width),r.y=x(r.y,this.yOffset,0),this.group.align(r,!0,i)}}renderButton(e,A,t){let n=this,i=this.chart,o=n.options,a=Q(o.buttonTheme),r=i.renderer.button(n.getButtonText(e),A,t,(function(A){let t,i=o.events&&o.events.click;i&&(t=i.call(n,A,e)),!1!==t&&(o.showFullPath?A.newLevel=e.level:A.newLevel=n.level-1,v(n,"up",A))}),a).addClass("highcharts-breadcrumbs-button").add(n.group);return i.styledMode||r.attr(o.style),r}renderSeparator(e,A){let t=this.chart,n=this.options.separator,i=t.renderer.label(n.text,e,A,void 0,void 0,void 0,!1).addClass("highcharts-breadcrumbs-separator").add(this.group);return t.styledMode||i.css(n.style),i}update(e){Q(!0,this.options,e),this.destroy(),this.isDirty=!0}updateSingleButton(){let e=this.chart,A=this.list[this.level-1];e.drillUpButton&&e.drillUpButton.attr({text:this.getButtonText(A)})}destroy(){this.destroySingleButton(),this.destroyListElements(!0),this.group&&this.group.destroy(),this.group=void 0}destroyListElements(e){let A=this.elementList;b(A,((t,n)=>{(e||!A[n].updated)&&((t=A[n]).button&&t.button.destroy(),t.separator&&t.separator.destroy(),delete t.button,delete t.separator,delete A[n])})),e&&(this.elementList={})}destroySingleButton(){this.chart.drillUpButton&&(this.chart.drillUpButton.destroy(),this.chart.drillUpButton=void 0)}resetElementListState(){b(this.elementList,(e=>{e.updated=!1}))}updateListElements(){let e,A,t=this.elementList,n=this.options.buttonSpacing,i=this.list,o=this.options.rtl,a=o?-1:1,r=function(e,A){return a*e.getBBox().width+a*A},s=function(e,A,t){e.translate(A-e.getBBox().width,t)},l=this.group?r(this.group,n):n;for(let g=0,c=i.length;g<c;++g){let d,f,B=g===c-1;t[(A=i[g]).level]?(d=(e=t[A.level]).button,e.separator||B?e.separator&&B&&(e.separator.destroy(),delete e.separator):(l+=a*n,e.separator=this.renderSeparator(l,n),o&&s(e.separator,l,n),l+=r(e.separator,n)),t[A.level].updated=!0):(d=this.renderButton(A,l,n),o&&s(d,l,n),l+=r(d,n),B||(f=this.renderSeparator(l,n),o&&s(f,l,n),l+=r(f,n)),t[A.level]={button:d,separator:f,updated:!0}),d&&d.setState(2*!!B)}}}k.defaultOptions={buttonSpacing:5,buttonTheme:{fill:"none",height:18,padding:2,"stroke-width":0,zIndex:7,states:{select:{fill:"none"}},style:{color:"#334eff"}},floating:!1,format:void 0,relativeTo:"plotBox",rtl:!1,position:{align:"left",verticalAlign:"top",x:0,y:void 0},separator:{text:"/",style:{color:"#666666",fontSize:"0.8em"}},showFullPath:!0,style:{},useHTML:!1,zIndex:7};var D=g(620),j=g.n(D),L=g(512),O=g.n(L),S=g(28),N=g.n(S);let{column:{prototype:T}}=O().seriesTypes,{addEvent:H,defined:X}=f();var R=a||(a={});function Y(e){let A=this.series,t=A.chart.renderer;this.moveToTopOnHover&&this.graphic&&(A.stateMarkerGraphic||(A.stateMarkerGraphic=new(N())(t,"use").css({pointerEvents:"none"}).add(this.graphic.parentGroup)),"hover"===e?.state?(this.graphic.attr({id:this.id}),A.stateMarkerGraphic.attr({href:`${t.url}#${this.id}`,visibility:"visible"})):A.stateMarkerGraphic.attr({href:""}))}R.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&this.value!==1/0&&this.value!==-1/0&&(void 0===this.value||!isNaN(this.value))}},R.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(e){let A={};return X(e.color)&&(!e.state||"normal"===e.state)&&(A[this.colorProp||"fill"]=e.color),A},pointAttribs:T.pointAttribs},R.compose=function(e){return H(e.prototype.pointClass,"afterSetState",Y),e};let G=a;var J=g(820),K=g.n(J);let{pie:{prototype:{pointClass:U}},scatter:{prototype:{pointClass:q}}}=O().seriesTypes,{extend:W,isNumber:Z,pick:V}=f();class _ extends q{constructor(){super(...arguments),this.groupedPointsAmount=0,this.shapeType="rect"}draw(e){!function(e,A){let{animatableAttribs:t,onComplete:n,css:i,renderer:o}=A,a=e.series&&e.series.chart.hasRendered?void 0:e.series&&e.series.options.animation,r=e.graphic;if(A.attribs={...A.attribs,class:e.getClassName()},e.shouldDraw())r||(e.graphic=r="text"===A.shapeType?o.text():"image"===A.shapeType?o.image(A.imageUrl||"").attr(A.shapeArgs||{}):o[A.shapeType](A.shapeArgs||{}),r.add(A.group)),i&&r.css(i),r.attr(A.attribs).animate(t,!A.isNew&&a,n);else if(r){let A=()=>{e.graphic=r=r&&r.destroy(),"function"==typeof n&&n()};Object.keys(t).length?r.animate(t,void 0,(()=>A())):A()}}(this,e)}getClassName(){let e=this.series,A=e.options,t=super.getClassName();return this.node.level<=e.nodeMap[e.rootNode].level&&this.node.children.length?t+=" highcharts-above-level":this.node.isGroup||this.node.isLeaf||e.nodeMap[e.rootNode].isGroup||V(A.interactByLeaf,!A.allowTraversingTree)?this.node.isGroup||this.node.isLeaf||e.nodeMap[e.rootNode].isGroup||(t+=" highcharts-internal-node"):t+=" highcharts-internal-node-interactive",t}isValid(){return!(!this.id&&!Z(this.value))}setState(e){super.setState.apply(this,arguments),this.graphic&&this.graphic.attr({zIndex:+("hover"===e)})}shouldDraw(){return Z(this.plotY)&&null!==this.y}}W(_.prototype,{setVisible:U.prototype.setVisible});let{isString:$}=f(),ee={allowTraversingTree:!1,animationLimit:250,borderRadius:0,showInLegend:!1,marker:void 0,colorByPoint:!1,dataLabels:{enabled:!0,formatter:function(){let e=this&&this.point?this.point:{};return $(e.name)?e.name:""},headers:!1,inside:!0,padding:2,verticalAlign:"middle",style:{textOverflow:"ellipsis"}},tooltip:{headerFormat:"",pointFormat:"<b>{point.name}</b>: {point.value}<br/>",clusterFormat:"+ {point.groupedPointsAmount} more...<br/>"},ignoreHiddenPoint:!0,layoutAlgorithm:"sliceAndDice",layoutStartingDirection:"vertical",alternateStartingDirection:!1,levelIsConstant:!0,traverseUpButton:{position:{align:"right",x:-10,y:10}},borderColor:"#e6e6e6",borderWidth:1,colorKey:"colorValue",opacity:.15,states:{hover:{borderColor:"#999999",brightness:.1*!O().seriesTypes.heatmap,halo:!1,opacity:.75,shadow:!1}},legendSymbol:"rectangle",traverseToLeaf:!1,cluster:{className:void 0,color:void 0,enabled:!1,pixelWidth:void 0,pixelHeight:void 0,name:void 0,reductionFactor:void 0,minimumClusterSize:5,layoutAlgorithm:{distance:0,gridSize:0,kmeansThreshold:0},marker:{lineWidth:0,radius:0}}};(r||(r={})).recursive=function e(A,t,n){let i=t.call(n||this,A);!1!==i&&e(i,t,n)};let Ae=r,{extend:te,isArray:ne,isNumber:ie,isObject:oe,merge:ae,pick:re,relativeLength:se}=f(),{parse:le}=j(),{composed:ge,noop:ce}=f(),{column:de,scatter:fe}=O().seriesTypes,{getColor:Be,getLevelOptions:ue,updateRootId:Ce}={getColor:function(e,A){let t,n,i,o,a,r,s=A.index,l=A.mapOptionsToLevel,g=A.parentColor,c=A.parentColorIndex,d=A.series,f=A.colors,B=A.siblings,u=d.points,C=d.chart.options.chart;if(e){let p;t=u[e.i],n=l[e.level]||{},t&&n.colorByPoint&&(o=t.index%(f?f.length:C.colorCount),i=f&&f[o]),d.chart.styledMode||(a=re(t&&t.options.color,n&&n.color,i,g&&((p=n&&n.colorVariation)&&"brightness"===p.key&&s&&B?j().parse(g).brighten(p.to*(s/B)).get():g),d.color)),r=re(t&&t.options.colorIndex,n&&n.colorIndex,o,c,A.colorIndex)}return{color:a,colorIndex:r}},getLevelOptions:function(e){let A,t,n,i,o,a,r={};if(oe(e))for(i=ie(e.from)?e.from:1,a=e.levels,t={},A=oe(e.defaults)?e.defaults:{},ne(a)&&(t=a.reduce(((e,t)=>{let n,o,a;return oe(t)&&ie(t.level)&&(o=re((a=ae({},t)).levelIsConstant,A.levelIsConstant),delete a.levelIsConstant,delete a.level,oe(e[n=t.level+(o?0:i-1)])?ae(!0,e[n],a):e[n]=a),e}),{})),o=ie(e.to)?e.to:1,n=0;n<=o;n++)r[n]=ae({},A,oe(t[n])?t[n]:{});return r},getNodeWidth:function(e,A){let{chart:t,options:n}=e,{nodeDistance:i=0,nodeWidth:o=0}=n,{plotSizeX:a=1}=t;if("auto"===o){if("string"==typeof i&&/%$/.test(i))return a/(A+parseFloat(i)/100*(A-1));let e=Number(i);return(a+e)/(A||1)-e}return se(o,a)},setTreeValues:function e(A,t){let n=t.before,i=t.idRoot,o=t.mapIdToNode[i],a=!1!==t.levelIsConstant,r=t.points[A.i],s=r&&r.options||{},l=[],g=0;A.levelDynamic=A.level-(a?0:o.level),A.name=re(r&&r.name,""),A.visible=i===A.id||!0===t.visible,"function"==typeof n&&(A=n(A,t)),A.children.forEach(((n,i)=>{let o=te({},t);te(o,{index:i,siblings:A.children.length,visible:A.visible}),n=e(n,o),l.push(n),n.visible&&(g+=n.val)}));let c=re(s.value,g);return A.visible=c>=0&&(g>0||A.visible),A.children=l,A.childrenTotal=g,A.isLeaf=A.visible&&!g,A.val=c,A},updateRootId:function(e){let A,t;return oe(e)&&(t=oe(e.options)?e.options:{},A=re(e.rootNode,t.rootId,""),oe(e.userOptions)&&(e.userOptions.rootId=A),e.rootNode=A),A}},{addEvent:pe,arrayMax:he,clamp:Ie,correctFloat:Ee,crisp:ve,defined:me,error:Qe,extend:be,fireEvent:xe,isArray:Fe,isNumber:we,isObject:ye,isString:ze,merge:Pe,pick:Me,pushUnique:ke,splat:De,stableSort:je}=f();K().keepProps.push("simulation","hadOutsideDataLabels");let Le=!1;function Oe(){let e=this.xAxis,A=this.yAxis;if(e&&A)if(this.is("treemap")){let t={endOnTick:!1,startOnTick:!1,visible:!1};this.is("treegraph")||(t.min=0,t.max=100,t.tickPositions=[]),Pe(!0,e.options,t,e.userOptions),Pe(!0,A.options,t,A.userOptions),e.visible=e.options.visible,A.visible=A.options.visible,this.is("treegraph")&&(this.isCartesian=e.visible),Le=!0}else Le&&(A.setOptions(A.userOptions),e.setOptions(e.userOptions),Le=!1)}class Se extends fe{constructor(){super(...arguments),this.simulation=0}static compose(e){ke(ge,"TreemapSeries")&&pe(e,"afterBindAxes",Oe)}algorithmCalcPoints(e,A,t,n){let i,o,a,r,s,l=t.plot,g=t.elArr.length-1,c=t.lW,d=t.lH,f=0;for(let e of(A?(c=t.nW,d=t.nH):s=t.elArr[g],t.elArr))(A||f<g)&&(0===t.direction?(i=l.x,o=l.y,r=e/(a=c)):(i=l.x,o=l.y,a=e/(r=d)),n.push({x:i,y:o,width:a,height:Ee(r)}),0===t.direction?l.y=l.y+r:l.x=l.x+a),f+=1;t.reset(),0===t.direction?t.width=t.width-c:t.height=t.height-d,l.y=l.parent.y+(l.parent.height-t.height),l.x=l.parent.x+(l.parent.width-t.width),e&&(t.direction=1-t.direction),A||t.addElement(s)}algorithmFill(e,A,t){let n,i,o,a,r,s=[],l=A.direction,g=A.x,c=A.y,d=A.width,f=A.height;for(let B of t)n=A.width*A.height*(B.val/A.val),i=g,o=c,0===l?(d-=a=n/(r=f),g+=a):(f-=r=n/(a=d),c+=r),s.push({x:i,y:o,width:a,height:r,direction:0,val:0}),e&&(l=1-l);return s}algorithmLowAspectRatio(e,A,t){let n,i=[],o={x:A.x,y:A.y,parent:A},a=A.direction,r=t.length-1,s=new class{constructor(e,A,t,n){this.height=e,this.width=A,this.plot=n,this.direction=t,this.startDirection=t,this.total=0,this.nW=0,this.lW=0,this.nH=0,this.lH=0,this.elArr=[],this.lP={total:0,lH:0,nH:0,lW:0,nW:0,nR:0,lR:0,aspectRatio:function(e,A){return Math.max(e/A,A/e)}}}addElement(e){this.lP.total=this.elArr[this.elArr.length-1],this.total=this.total+e,0===this.direction?(this.lW=this.nW,this.lP.lH=this.lP.total/this.lW,this.lP.lR=this.lP.aspectRatio(this.lW,this.lP.lH),this.nW=this.total/this.height,this.lP.nH=this.lP.total/this.nW,this.lP.nR=this.lP.aspectRatio(this.nW,this.lP.nH)):(this.lH=this.nH,this.lP.lW=this.lP.total/this.lH,this.lP.lR=this.lP.aspectRatio(this.lP.lW,this.lH),this.nH=this.total/this.width,this.lP.nW=this.lP.total/this.nH,this.lP.nR=this.lP.aspectRatio(this.lP.nW,this.nH)),this.elArr.push(e)}reset(){this.nW=0,this.lW=0,this.elArr=[],this.total=0}}(A.height,A.width,a,o),l=0;for(let a of t)n=A.width*A.height*(a.val/A.val),s.addElement(n),s.lP.nR>s.lP.lR&&this.algorithmCalcPoints(e,!1,s,i,o),l===r&&this.algorithmCalcPoints(e,!0,s,i,o),++l;return i}alignDataLabel(e,A,t){de.prototype.alignDataLabel.apply(this,arguments),e.dataLabel&&e.dataLabel.attr({zIndex:(e.node.zIndex||0)+1})}applyTreeGrouping(){let e=this,A=e.parentList||{},{cluster:t}=e.options,n=t?.minimumClusterSize||5;if(t?.enabled){let i={},o=e=>{if(e?.point?.shapeArgs){let{width:A=0,height:n=0}=e.point.shapeArgs,{pixelWidth:o=0,pixelHeight:a=0}=t,r=me(a);(A<o||n<(r?a:o)||A*n<(a?o*a:o*o))&&!e.isGroup&&me(e.parent)&&(i[e.parent]||(i[e.parent]=[]),i[e.parent].push(e))}e?.children.forEach((e=>{o(e)}))};for(let a in o(e.tree),i)i[a]&&i[a].length>n&&i[a].forEach((n=>{let i=A[a].indexOf(n.i);if(-1!==i){A[a].splice(i,1);let o=`highcharts-grouped-treemap-points-${n.parent||"root"}`,r=e.points.find((e=>e.id===o));if(!r){let n=e.pointClass,i=e.points.length;be(r=new n(e,{className:t.className,color:t.color,id:o,index:i,isGroup:!0,value:0}),{formatPrefix:"cluster"}),e.points.push(r),A[a].push(i),A[o]=[]}let s=r.groupedPointsAmount+1,l=e.points[r.index].options.value||0,g=t.name||`+ ${s}`;e.points[r.index].groupedPointsAmount=s,e.points[r.index].options.value=l+(n.point.value||0),e.points[r.index].name=g,A[o].push(n.point.index)}}));e.nodeMap={},e.nodeList=[],e.parentList=A;let a=e.buildTree("",-1,0,e.parentList);e.translate(a)}}calculateChildrenAreas(e,A){let t=this.options,n=this.mapOptionsToLevel[e.level+1],i=Me(n?.layoutAlgorithm&&this[n?.layoutAlgorithm]&&n.layoutAlgorithm,t.layoutAlgorithm),o=t.alternateStartingDirection,a=e.children.filter((A=>e.isGroup||!A.ignore)),r=n?.groupPadding??t.groupPadding??0,s=this.nodeMap[this.rootNode];if(!i)return;let l=[],g=s.pointValues?.width||0,c=s.pointValues?.height||0;n?.layoutStartingDirection&&(A.direction=+("vertical"!==n.layoutStartingDirection)),l=this[i](A,a);let d=-1;for(let e of a){let t=l[++d];e===s&&(g=g||t.width,c=t.height);let n=r/(this.xAxis.len/c),i=r/(this.yAxis.len/c);if(e.values=Pe(t,{val:e.childrenTotal,direction:o?1-A.direction:A.direction}),e.children.length&&e.point.dataLabels?.length){let A=he(e.point.dataLabels.map((e=>e.options?.headers&&e.height||0)))/(this.yAxis.len/c);A<e.values.height/2&&(e.values.y+=A,e.values.height-=A)}if(r){let A=Math.min(n,e.values.width/4),t=Math.min(i,e.values.height/4);e.values.x+=A,e.values.width-=2*A,e.values.y+=t,e.values.height-=2*t}e.pointValues=Pe(t,{x:t.x/this.axisRatio,y:100-t.y-t.height,width:t.width/this.axisRatio}),e.children.length&&this.calculateChildrenAreas(e,e.values)}let f=(e,A=[],t=!0)=>(e.children.forEach((e=>{t&&e.isLeaf?A.push(e.point):t||e.isLeaf||A.push(e.point),e.children.length&&f(e,A,t)})),A);if("leaf"===t.nodeSizeBy&&e===s&&this.hasOutsideDataLabels&&!f(s,void 0,!1).some((e=>we(e.options.value)))&&!we(s.point?.options.value)){let t=f(s),n=t.map((e=>e.options.value||0)),i=t.map((({node:{pointValues:e}})=>e?e.width*e.height:0)),o=n.reduce(((e,A)=>e+A),0),a=i.reduce(((e,A)=>e+A),0)/o,r=0,l=0;t.forEach(((e,A)=>{let t=Ie((n[A]?i[A]/n[A]:1)/a,.8,1.4),o=1-t;e.value&&(i[A]<20&&(o*=i[A]/20),o>l&&(l=o),o<r&&(r=o),e.simulatedValue=(e.simulatedValue||e.value)/t)})),(r<-.05||l>.05)&&this.simulation<10?(this.simulation++,this.setTreeValues(e),A.val=e.val,this.calculateChildrenAreas(e,A)):(t.forEach((e=>{delete e.simulatedValue})),this.setTreeValues(e),this.simulation=0)}}createList(e){let A=this.chart,t=[];if(A.breadcrumbs){let n=0;t.push({level:n,levelOptions:A.series[0]});let i=e.target.nodeMap[e.newRootId],o=[];for(;i.parent||""===i.parent;)o.push(i),i=e.target.nodeMap[i.parent];for(let e of o.reverse())t.push({level:++n,levelOptions:e});t.length<=1&&(t.length=0)}return t}drawDataLabels(){let e=this.mapOptionsToLevel,A=this.points.filter((function(e){return e.node.visible||me(e.dataLabel)})),t=De(this.options.dataLabels||{})[0]?.padding,n=A.some((e=>we(e.plotY)));for(let i of A){let A={},o={style:A},a=e[i.node.level];if((!i.node.isLeaf&&!i.node.isGroup||i.node.isGroup&&i.node.level<=this.nodeMap[this.rootNode].level)&&(o.enabled=!1),a?.dataLabels&&(Pe(!0,o,De(a.dataLabels)[0]),this.hasDataLabels=()=>!0),i.node.isLeaf?o.inside=!0:o.headers&&(o.verticalAlign="top"),i.shapeArgs&&n){let{height:e=0,width:n=0}=i.shapeArgs;if(n>32&&e>16&&i.shouldDraw()){let a=n-2*(o.padding||t||0);A.width=`${a}px`,A.lineClamp??(A.lineClamp=Math.floor(e/16)),A.visibility="inherit",o.headers&&i.dataLabel?.attr({width:a})}else A.width=`${n}px`,A.visibility="hidden"}i.dlOptions=Pe(o,i.options.dataLabels,{zIndex:void 0})}super.drawDataLabels(A)}drawPoints(e=this.points){let A=this.chart,t=A.renderer,n=A.styledMode,i=this.options,o=n?{}:i.shadow,a=i.borderRadius,r=A.pointCount<i.animationLimit,s=i.allowTraversingTree;for(let A of e){let e={},l={},g={},c="level-group-"+A.node.level,d=!!A.graphic,f=r&&d,B=A.shapeArgs;A.shouldDraw()&&(A.isInside=!0,a&&(l.r=a),Pe(!0,f?e:l,d?B:{},n?{}:this.pointAttribs(A,A.selected?"select":void 0)),this.colorAttribs&&n&&be(g,this.colorAttribs(A)),this[c]||(this[c]=t.g(c).attr({zIndex:-(A.node.level||0)}).add(this.group),this[c].survive=!0)),A.draw({animatableAttribs:e,attribs:l,css:g,group:this[c],imageUrl:A.imageUrl,renderer:t,shadow:o,shapeArgs:B,shapeType:A.shapeType}),s&&A.graphic&&(A.drillId=i.interactByLeaf?this.drillToByLeaf(A):this.drillToByGroup(A))}}drillToByGroup(e){return(!e.node.isLeaf||!!e.node.isGroup)&&e.id}drillToByLeaf(e){let A,{traverseToLeaf:t}=e.series.options,n=!1;if(e.node.parent!==this.rootNode&&e.node.isLeaf)if(t)n=e.id;else for(A=e.node;!n;)void 0!==A.parent&&(A=this.nodeMap[A.parent]),A.parent===this.rootNode&&(n=A.id);return n}drillToNode(e,A){Qe(32,!1,void 0,{"treemap.drillToNode":"use treemap.setRootNode"}),this.setRootNode(e,A)}drillUp(){let e=this.nodeMap[this.rootNode];e&&ze(e.parent)&&this.setRootNode(e.parent,!0,{trigger:"traverseUpButton"})}getExtremes(){let{dataMin:e,dataMax:A}=super.getExtremes(this.colorValueData);return this.valueMin=e,this.valueMax=A,super.getExtremes()}getListOfParents(e,A){let t=Fe(e)?e:[],n=Fe(A)?A:[],i=t.reduce((function(e,A,t){let n=Me(A.parent,"");return void 0===e[n]&&(e[n]=[]),e[n].push(t),e}),{"":[]});for(let e of Object.keys(i)){let A=i[e];if(""!==e&&-1===n.indexOf(e)){for(let e of A)i[""].push(e);delete i[e]}}return i}getTree(){let e=this.data.map((function(e){return e.id}));return this.parentList=this.getListOfParents(this.data,e),this.nodeMap={},this.nodeList=[],this.buildTree("",-1,0,this.parentList||{})}buildTree(e,A,t,n,i){let o,a=[],r=this.points[A],s=0;for(let A of n[e]||[])s=Math.max((o=this.buildTree(this.points[A].id,A,t+1,n,e)).height+1,s),a.push(o),this.is("treegraph")&&(o.visible=!0);let l=(new this.NodeClass).init(e,A,a,s,t,this,i);for(let e of a)e.parentNode=l;return this.nodeMap[l.id]=l,this.nodeList.push(l),r&&(r.node=l,l.point=r,me(r.options.x)||(r.x=t)),l}hasData(){return!!this.dataTable.rowCount}init(e,A){let t=this,n=Pe(A.drillUpButton,A.breadcrumbs),i=pe(t,"setOptions",(e=>{let A=e.userOptions;me(A.allowDrillToNode)&&!me(A.allowTraversingTree)&&(A.allowTraversingTree=A.allowDrillToNode,delete A.allowDrillToNode),me(A.drillUpButton)&&!me(A.traverseUpButton)&&(A.traverseUpButton=A.drillUpButton,delete A.drillUpButton);let t=De(A.dataLabels||{});A.levels?.forEach((e=>{t.push.apply(t,De(e.dataLabels||{}))})),this.hasOutsideDataLabels=t.some((e=>e.headers))}));super.init(e,A),delete t.opacity,t.eventsToUnbind.push(i),t.options.allowTraversingTree&&(t.eventsToUnbind.push(pe(t,"click",t.onClickDrillToNode)),t.eventsToUnbind.push(pe(t,"setRootNode",(function(e){let A=t.chart;A.breadcrumbs&&A.breadcrumbs.updateProperties(t.createList(e))}))),t.eventsToUnbind.push(pe(t,"update",(function(e,A){let t=this.chart.breadcrumbs;t&&e.options.breadcrumbs&&t.update(e.options.breadcrumbs),this.hadOutsideDataLabels=this.hasOutsideDataLabels}))),t.eventsToUnbind.push(pe(t,"destroy",(function(e){let A=this.chart;A.breadcrumbs&&!e.keepEventsForUpdate&&(A.breadcrumbs.destroy(),A.breadcrumbs=void 0)})))),e.breadcrumbs||(e.breadcrumbs=new k(e,n)),t.eventsToUnbind.push(pe(e.breadcrumbs,"up",(function(e){let A=this.level-e.newLevel;for(let e=0;e<A;e++)t.drillUp()})))}onClickDrillToNode(e){let A=e.point,t=A?.drillId;ze(t)&&(A.setState(""),this.setRootNode(t,!0,{trigger:"click"}))}pointAttribs(e,A){let t=ye(this.mapOptionsToLevel)?this.mapOptionsToLevel:{},n=e&&t[e.node.level]||{},i=this.options,o=A&&i.states&&i.states[A]||{},a=e?.getClassName()||"",r={stroke:e&&e.borderColor||n.borderColor||o.borderColor||i.borderColor,"stroke-width":Me(e&&e.borderWidth,n.borderWidth,o.borderWidth,i.borderWidth),dashstyle:e?.borderDashStyle||n.borderDashStyle||o.borderDashStyle||i.borderDashStyle,fill:e?.color||this.color};return-1!==a.indexOf("highcharts-above-level")?(r.fill="none",r["stroke-width"]=0):-1!==a.indexOf("highcharts-internal-node-interactive")?(r["fill-opacity"]=o.opacity??i.opacity??1,r.cursor="pointer"):-1!==a.indexOf("highcharts-internal-node")?r.fill="none":A&&o.brightness&&(r.fill=le(r.fill).brighten(o.brightness).get()),r}setColorRecursive(e,A,t,n,i){let o=this?.chart,a=o?.options?.colors;if(e){let o=Be(e,{colors:a,index:n,mapOptionsToLevel:this.mapOptionsToLevel,parentColor:A,parentColorIndex:t,series:this,siblings:i}),r=this.points[e.i];r&&(r.color=o.color,r.colorIndex=o.colorIndex);let s=-1;for(let A of e.children||[])this.setColorRecursive(A,o.color,o.colorIndex,++s,e.children.length)}}setPointValues(){let e=this,{points:A,xAxis:t,yAxis:n}=e,i=e.chart.styledMode,o=A=>i?0:e.pointAttribs(A)["stroke-width"]||0;for(let e of A){let{pointValues:A,visible:i}=e.node;if(A&&i){let{height:i,width:a,x:r,y:s}=A,l=o(e),g=t.toPixels(r,!0),c=t.toPixels(r+a,!0),d=n.toPixels(s,!0),f=n.toPixels(s+i,!0),B=0===g?l/2:ve(t.toPixels(r,!0),l,!0),u=c===t.len?t.len-l/2:ve(t.toPixels(r+a,!0),l,!0),C=d===n.len?n.len-l/2:ve(n.toPixels(s,!0),l,!0),p=0===f?l/2:ve(n.toPixels(s+i,!0),l,!0),h={x:Math.min(B,u),y:Math.min(C,p),width:Math.abs(u-B),height:Math.abs(p-C)};e.plotX=h.x+h.width/2,e.plotY=h.y+h.height/2,e.shapeArgs=h}else delete e.plotX,delete e.plotY}}setRootNode(e,A,t){xe(this,"setRootNode",be({newRootId:e,previousRootId:this.rootNode,redraw:Me(A,!0),series:this},t),(function(e){let A=e.series;A.idPreviousRoot=e.previousRootId,A.rootNode=e.newRootId,A.isDirty=!0,e.redraw&&A.chart.redraw()}))}setState(e){this.options.inactiveOtherPoints=!0,super.setState(e,!1),this.options.inactiveOtherPoints=!1}setTreeValues(e){let A=this.options,t=this.rootNode,n=this.nodeMap[t],i="boolean"!=typeof A.levelIsConstant||A.levelIsConstant,o=[],a=this.points[e.i],r=0;for(let A of e.children)A=this.setTreeValues(A),o.push(A),A.ignore||(r+=A.val);je(o,((e,A)=>(e.sortIndex||0)-(A.sortIndex||0)));let s=Me(a?.simulatedValue,a?.options.value,r);return a&&(a.value=s),a?.isGroup&&A.cluster?.reductionFactor&&(s/=A.cluster.reductionFactor),e.parentNode?.point?.isGroup&&this.rootNode!==e.parent&&(e.visible=!1),be(e,{children:o,childrenTotal:r,ignore:!(Me(a?.visible,!0)&&s>0),isLeaf:e.visible&&!("treegraph"===this.type?o.length>0:r),isGroup:a?.isGroup,levelDynamic:e.level-(i?0:n.level),name:Me(a?.name,""),sortIndex:Me(a?.sortIndex,-s),val:s}),e}sliceAndDice(e,A){return this.algorithmFill(!0,e,A)}squarified(e,A){return this.algorithmLowAspectRatio(!0,e,A)}strip(e,A){return this.algorithmLowAspectRatio(!1,e,A)}stripes(e,A){return this.algorithmFill(!1,e,A)}translate(e){let A,t,n,i,o=this,a=o.options,r=!e,s=Ce(o);e||s.startsWith("highcharts-grouped-treemap-points-")||((this.points||[]).forEach((e=>{e.isGroup&&e.destroy()})),super.translate(),e=o.getTree()),o.tree=e=e||o.tree,A=o.nodeMap[s],""===s||A||(o.setRootNode("",!1),s=o.rootNode,A=o.nodeMap[s]),A.point?.isGroup||(o.mapOptionsToLevel=ue({from:A.level+1,levels:a.levels,to:e.height,defaults:{levelIsConstant:o.options.levelIsConstant,colorByPoint:a.colorByPoint}})),Ae.recursive(o.nodeMap[o.rootNode],(e=>{let A=e.parent,t=!1;return e.visible=!0,(A||""===A)&&(t=o.nodeMap[A]),t})),Ae.recursive(o.nodeMap[o.rootNode].children,(e=>{let A=!1;for(let t of e)t.visible=!0,t.children.length&&(A=(A||[]).concat(t.children));return A})),o.setTreeValues(e),o.axisRatio=o.xAxis.len/o.yAxis.len,o.nodeMap[""].pointValues=t={x:0,y:0,width:100,height:100},o.nodeMap[""].values=n=Pe(t,{width:t.width*o.axisRatio,direction:+("vertical"!==a.layoutStartingDirection),val:e.val}),(this.hasOutsideDataLabels||this.hadOutsideDataLabels)&&this.drawDataLabels(),o.calculateChildrenAreas(e,n),o.colorAxis||a.colorByPoint||o.setColorRecursive(o.tree),a.allowTraversingTree&&A.pointValues&&(i=A.pointValues,o.xAxis.setExtremes(i.x,i.x+i.width,!1),o.yAxis.setExtremes(i.y,i.y+i.height,!1),o.xAxis.setScale(),o.yAxis.setScale()),o.setPointValues(),r&&o.applyTreeGrouping()}}Se.defaultOptions=Pe(fe.defaultOptions,ee),be(Se.prototype,{buildKDTree:ce,colorAttribs:G.seriesMembers.colorAttribs,colorKey:"colorValue",directTouch:!0,getExtremesFromAll:!0,getSymbol:ce,optionalAxis:"colorAxis",parallelArrays:["x","y","value","colorValue"],pointArrayMap:["value","colorValue"],pointClass:_,NodeClass:class{constructor(){this.childrenTotal=0,this.visible=!1}init(e,A,t,n,i,o,a){return this.id=e,this.i=A,this.children=t,this.height=n,this.level=i,this.series=o,this.parent=a,this}},trackerGroups:["group","dataLabelsGroup"],utils:Ae}),G.compose(Se),O().registerSeriesType("treemap",Se);let Ne=f();Ne.Breadcrumbs=Ne.Breadcrumbs||k,Ne.Breadcrumbs.compose(Ne.Chart,Ne.defaultOptions),Se.compose(Ne.Series);let Te=f();return c.default})()))})),_3=B(V3);La('*,\n*::after,\n*::before {\n box-sizing: border-box;\n}\n\nbody,\ntextarea {\n font-weight: 500;\n font-style: normal;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n}\n\n/* HTML5 display-role reset for older browsers */\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\nsection {\n display: block;\n}\n\nbody {\n line-height: 1;\n}\n\nol,\nul {\n list-style: none;\n}\n\nblockquote,\nq {\n quotes: none;\n}\n\nblockquote:before,\nblockquote:after,\nq:before,\nq:after {\n content: "";\n content: none;\n}\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n\nbody {\n font-family: "Manrope", sans-serif;\n}\n\n.impact-notification-separator {\n display: inline-block;\n height: 16px;\n width: 1.5px;\n background-color: #d9dde7;\n}\n\n.impact-notification-horizontal-separator {\n display: inline-block;\n height: 1px;\n width: 100%;\n background-color: #d9dde7;\n}\n\nul.storybook-order-list {\n padding-left: 12px;\n list-style-type: disc;\n}\n\nul.storybook-order-list li {\n font-size: 12px;\n line-height: 20px;\n padding-bottom: 8px;\n}\n\nul.storybook-order-list li strong {\n font-weight: 800;\n}\n\nul.storybook-order-child-list {\n list-style-type: circle;\n padding-left: 20px;\n}\n\nul.storybook-order-child-list li {\n font-size: 12px;\n line-height: 20px;\n padding-bottom: 8px;\n}\n\nul.storybook-order-child-list li strong {\n font-weight: 800;\n}\n\n/* width */\n/* Track */\n/* Handle */\n/* Handle on hover */\n.chart-container {\n border-radius: 8px;\n padding: 12px 12px 0px 12px;\n display: flex;\n flex-direction: column;\n gap: 24px;\n position: relative;\n transition: all 0.25s ease;\n transform-origin: center center;\n background: #fff;\n}\n.chart-container.card-container {\n box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1215686275);\n}\n.chart-container.fullscreen-animating {\n animation: expandAnim 0.2s ease forwards;\n}\n.chart-container.fullscreen-animating-out {\n animation: collapseAnim 0.2s ease forwards;\n}\n.chart-container.expanded {\n padding: 24px;\n}\n.chart-container .chart-container-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.chart-container .chart-container-header .chart-container-header-title {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n.chart-container .chart-container-header .chart-container-header-title .chart-container-header-title-text {\n color: #0d152c;\n font-size: 16px;\n font-style: normal;\n font-weight: 600;\n line-height: 24px; /* 150% */\n}\n.chart-container .chart-container-header .chart-container-header-actions {\n display: flex;\n gap: 12px;\n align-items: center;\n flex-wrap: wrap;\n}\n.chart-container .divider-line {\n background: #d9dde7;\n width: 1px;\n height: 16px;\n}\n\n.chart-custom-actions {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n\n.highcharts-xaxis-labels text,\n.highcharts-yaxis-labels text {\n color: #60697d !important;\n font-family: "Manrope", sans-serif;\n font-size: 12px !important;\n font-weight: 500;\n}\n\n/* X & Y Axis Titles */\n.highcharts-xaxis .highcharts-axis-title,\n.highcharts-yaxis .highcharts-axis-title {\n color: #60697d !important;\n font-family: "Manrope", sans-serif;\n font-size: 14px !important;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n}\n\n.tooltip-key {\n font-size: 12px;\n font-weight: 500;\n line-height: 16px;\n}\n\n.tooltip-value {\n font-size: 14px;\n font-weight: 600;\n line-height: 24px;\n}\n\n.highcharts-text-outline {\n stroke-width: 0px;\n}\n\n@keyframes expandAnim {\n 0% {\n transform: scale(0.98);\n opacity: 0.6;\n }\n 100% {\n transform: scale(1);\n opacity: 1;\n }\n}\n@keyframes collapseAnim {\n 0% {\n transform: scale(1);\n opacity: 1;\n }\n 100% {\n transform: scale(0.98);\n opacity: 0.6;\n }\n}');var $3,e1=u((function(e,A){Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var t=(0,Nh(Th).default)((0,g.jsx)("path",{d:"M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h3v9H5v-9zm12 9v-9h3v9h-3z"}),"TableChartOutlined");A.default=t})),A1=B(e1);function t1(){return t1=Object.assign?Object.assign.bind():function(e){for(var A=1;A<arguments.length;A++){var t=arguments[A];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},t1.apply(null,arguments)}const n1=e=>A.createElement("svg",t1({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),$3||($3=A.createElement("path",{d:"M4.667 11.333h2c.189 0 .347.064.475.192a.645.645 0 0 1 .191.475.645.645 0 0 1-.191.475.645.645 0 0 1-.475.192H4a.645.645 0 0 1-.475-.192.645.645 0 0 1-.192-.475V9.333c0-.189.064-.347.192-.475A.645.645 0 0 1 4 8.667c.189 0 .347.064.475.191a.645.645 0 0 1 .192.475v2Zm6.666-6.666h-2a.645.645 0 0 1-.475-.192A.645.645 0 0 1 8.667 4c0-.189.064-.347.191-.475a.645.645 0 0 1 .475-.192H12c.189 0 .347.064.475.192a.645.645 0 0 1 .192.475v2.667a.645.645 0 0 1-.192.475.645.645 0 0 1-.475.191.645.645 0 0 1-.475-.191.645.645 0 0 1-.192-.475v-2Z",fill:"#60697D"})));var i1;function o1(){return o1=Object.assign?Object.assign.bind():function(e){for(var A=1;A<arguments.length;A++){var t=arguments[A];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o1.apply(null,arguments)}const a1=e=>A.createElement("svg",o1({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i1||(i1=A.createElement("path",{d:"M9 15H6a.965.965 0 0 1-.712-.288A.972.972 0 0 1 5 14c0-.283.095-.52.288-.712A.97.97 0 0 1 6 13h4c.283 0 .521.096.713.288.192.192.288.43.287.712v4a.968.968 0 0 1-.288.713A.964.964 0 0 1 10 19a.973.973 0 0 1-.712-.288A.965.965 0 0 1 9 18v-3Zm6-6h3c.283 0 .521.096.713.288.192.192.288.43.287.712 0 .283-.097.52-.288.713A.957.957 0 0 1 18 11h-4a.965.965 0 0 1-.712-.288A.973.973 0 0 1 13 10V6c0-.283.096-.52.288-.712A.972.972 0 0 1 14 5c.283 0 .52.095.713.288A.96.96 0 0 1 15 6v3Z",fill:"#60697D"})));var r1;function s1(){return s1=Object.assign?Object.assign.bind():function(e){for(var A=1;A<arguments.length;A++){var t=arguments[A];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},s1.apply(null,arguments)}const l1=e=>A.createElement("svg",s1({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),r1||(r1=A.createElement("path",{d:"M2.667 13.724a.645.645 0 0 1-.475-.191.645.645 0 0 1-.192-.475v-.667c0-.189.064-.347.192-.475a.645.645 0 0 1 .475-.192c.189 0 .347.064.475.192a.645.645 0 0 1 .191.475v.667a.645.645 0 0 1-.191.475.645.645 0 0 1-.475.191Zm2.666 0a.645.645 0 0 1-.475-.191.645.645 0 0 1-.191-.475V9.39c0-.189.064-.347.191-.475a.645.645 0 0 1 .475-.192c.19 0 .348.064.475.192A.645.645 0 0 1 6 9.391v3.667a.645.645 0 0 1-.192.475.645.645 0 0 1-.475.191Zm2.667 0a.645.645 0 0 1-.475-.191.645.645 0 0 1-.192-.475v-2.334c0-.188.064-.347.192-.475A.645.645 0 0 1 8 10.058c.189 0 .347.064.475.191a.645.645 0 0 1 .192.475v2.334a.645.645 0 0 1-.192.475.645.645 0 0 1-.475.191Zm2.667 0a.645.645 0 0 1-.475-.191.645.645 0 0 1-.192-.475V9.724c0-.188.064-.347.192-.475a.645.645 0 0 1 .475-.191c.189 0 .347.064.475.191a.645.645 0 0 1 .192.475v3.334a.645.645 0 0 1-.192.475.645.645 0 0 1-.475.191Zm2.667 0a.645.645 0 0 1-.476-.191.645.645 0 0 1-.191-.475v-6c0-.19.064-.347.191-.475a.645.645 0 0 1 .476-.192c.188 0 .347.064.475.192a.645.645 0 0 1 .191.475v6a.645.645 0 0 1-.191.475.645.645 0 0 1-.475.191Zm-4-6.016c-.178 0-.348-.034-.509-.1a1.498 1.498 0 0 1-.442-.284L6.667 5.608 3.133 9.14a.62.62 0 0 1-.475.192.68.68 0 0 1-.475-.209.648.648 0 0 1-.175-.475.651.651 0 0 1 .192-.458l3.517-3.517c.133-.133.28-.23.441-.291a1.49 1.49 0 0 1 1.025 0c.167.06.312.158.434.291l1.716 1.717 3.534-3.533a.62.62 0 0 1 .475-.192.68.68 0 0 1 .475.208c.122.134.18.292.175.475a.652.652 0 0 1-.192.459l-3.517 3.516a1.276 1.276 0 0 1-.433.284c-.167.066-.339.1-.517.1Z",fill:"#1F2B4D"}))),g1=require("highcharts-border-radius");"object"==typeof N3&&[R3,G3,K3,q3,Z3,_3,g1].forEach((e=>{"function"==typeof e&&e(N3)}));e.Accordion=function(e){let{expanded:A,setExpanded:n,isMultiExpanded:i,data:o,onChange:a,isSingleItem:r,singleData:s,disabled:l}=e;return r?t.jsx("div",{className:"impact_accordion_main_container impact_accordion_main_container_single",children:t.jsxs(Fd,{className:"accordion_main_container",defaultExpanded:A===s.value,onChange:()=>{return e=s.value,void(a?a(e):n(e));var e},disabled:l,children:[t.jsx(Sd,{className:"accordion_header",expandIcon:t.jsx(dQ,{}),"aria-controls":"panel1-content",id:"panel1-header",children:s.header}),t.jsx(Pd,{className:"accordion_body",children:s.content})]})}):t.jsx("div",{className:"impact_accordion_main_container",children:o.map(((e,o)=>t.jsxs(Fd,{className:"accordion_main_container",expanded:i?A.includes(e.value):A===e.value,defaultExpanded:i?A.includes(e.value):A===e.value,onChange:()=>{return t=e.value,void(a?a(t):i&&!A.includes(t)?n([...A,t]):i&&A.includes(t)?n(A.filter((e=>e!==t))):n(A===t?"":t));var t},disabled:l||e.disabled,children:[t.jsx(Sd,{className:"accordion_header",expandIcon:t.jsx(dQ,{}),"aria-controls":"panel1-content",id:"panel1-header",children:e.header}),t.jsx(Pd,{className:"accordion_body",children:e.content})]},o)))})},e.AccordionModern=function(e){const{draggable:A=!1,expanded:n,setExpanded:i,isMultiExpanded:o,data:a,onChange:r,isSingleItem:s,singleData:l}=e,g=e=>{r&&r(e),o&&!n.includes(e)?i([...n,e]):o&&n.includes(e)?i((A=>A.filter((A=>A.value!==e)))):i(n===e?"":e)},c=e=>o&&n.includes(e.value)||n===e.value?"expand-content":"";return A&&a.length>0?t.jsx(_x,{data:a,handleMultiAccordionChange:g,checkExpand:c}):t.jsx("div",{className:"impact-accordion-modern-main-container",children:a.map(((e,A)=>t.jsx("div",{className:"impact-modern-accordion-container ".concat(null!=e&&e.disabled?"disabled":""),children:t.jsxs("div",{className:"impact-modern-accordion-item",tabIndex:"0",children:[t.jsxs("div",{className:"impact-modern-accordion-header",children:[t.jsx("div",{className:"impact-modern-accordion-expand-icon ".concat(c(e),"-icon"),onClick:()=>g(e.value),children:t.jsx(II,{})}),t.jsxs("div",{className:"impact-modern-accordion-title ".concat(e.childCount>0?"child-count":""," ").concat(null!=e&&e.disabled?"disabled":""),children:[e.header,e.childCount>0?t.jsx(uI,{label:e.childCount,color:"info",variant:"stroke"}):null]})]}),t.jsx("div",{className:"impact-modern-accordion-content ".concat(c(e)),children:e.content})]})},e.value)))})},e.Alert=qI,e.Avatar=Oa,e.Badge=uI,e.BottomSheet=e=>{var n;let{open:i,onClose:o,title:a,children:r,footerOptions:s,maxHeight:l="calc(100vh - 64px)",withExpandIcon:g=!1,...c}=e;const[d,f]=A.useState(!1),[B,u]=A.useState("auto");A.useEffect((()=>{if(i){const e=setTimeout((()=>{var e;const A=(null===(e=document.querySelector(".ia_modalBody"))||void 0===e?void 0:e.scrollHeight)+105,t=A>l?l:"".concat(A,"px");u(t)}),0);return()=>clearTimeout(e)}}),[i,r,l]);const C=s&&(null===(n=Object.keys(s))||void 0===n?void 0:n.length)>0;return t.jsx(eF,{title:a,open:i,onClose:o,className:"bottom-sheet ".concat(d?"expanded":""," ").concat(C?"with-footer":""),isBottomSheet:!0,isExpanded:d,onExpand:()=>{f(!d),null!=c&&c.onExpand&&(null==c||c.onExpand(!d))},footerOptions:s,height:!g&&B,maxHeight:!g&&l,withExpandIcon:g,...c,children:r})},e.Breadcrumbs=tF,e.Button=Jh,e.ButtonGroup=iF,e.Card=e=>{let{size:A,children:n,...i}=e;return t.jsx(gB,{className:"ia-styles ia-card ia-card-".concat(A),...i,sx:{padding:"20px",width:"100%",maxWidth:500,minHeight:300,...i.sx},children:n})},e.Chart=e=>{var n;let{graphType:i="column",xAxisCategories:o,xAxisTitle:a="X Axis",yAxisTitle:r="Y Axis",seriesData:s,graphTitle:g,stackedColumn:c=!1,is3D:d=!1,showSubTitle:f=!1,onChartDownload:B=(()=>{}),fallbackContent:u=null,topRightOptions:C=null,showSwitchButton:p=!1,showChartTypeDropdown:h=!1,showDownloadButton:I=!0,chartTypesOptions:E=[],selectedChart:v,chartMenuProps:m,showScrollX:Q=!1,topLeftOptions:b=null,cardContainer:x=!0,subtitleText:F="",legendXPosition:w=null,legendYPosition:y=null,xAxisTitlePositionY:z=null,customTooltipFormatter:P=null,sharedTooltip:M=!1,showchart:k=!0,setShowChart:D=(()=>{}),plotOptionsEvents:j,customSystemButton:L=null,handleChartExpand:O=(()=>{}),chartMarginBottom:S=150,showHeader:N=!0,height:T=null,width:H=null,showExpandButton:X=!0,customLegend:R=null,customLegendStyle:Y=null,yAxisTitleRight:G,chartOptions:J={},titleOptions:K={},xAxisOptions:U={},yAxisOptions:q={},yAxisLeftOptions:W={},yAxisRightOptions:Z={},zAxisOptions:V={},tooltipOptions:_={},plotOptionsOptions:$={},subtitleOptions:ee={},creditsOptions:Ae={},legendOptions:te={},colorAxisOptions:ne={},seriesOptions:ie=null,additionalOptions:oe={}}=e;const[ae,re]=A.useState(!1),[se,le]=A.useState(!1),[ge,ce]=A.useState(!1),[de,fe]=A.useState(null),Be=A.useRef(null),ue=A.useRef(null);A.useEffect((()=>{const e=()=>{document.fullscreenElement||document.webkitFullscreenElement||document.msFullscreenElement||(re(!1),O(!1))};return document.addEventListener("fullscreenchange",e),document.addEventListener("webkitfullscreenchange",e),()=>{document.removeEventListener("fullscreenchange",e),document.removeEventListener("webkitfullscreenchange",e)}}),[]),A.useEffect((()=>{if(null==Be||!Be.current)return;const e=Be.current.chart,A=()=>{const A=window.innerHeight,t=window.innerWidth;e.setSize(t<768?t-40:null,ae?A-98:"auto",!1)};return A(),window.addEventListener("resize",A),()=>window.removeEventListener("resize",A)}),[ae]);const Ce=A.useMemo((()=>({chart:{type:i,scrollablePlotArea:{minWidth:Q?80*(null==o?void 0:o.length):void 0,opacity:1,scrollPositionX:0},marginBottom:S,width:H,style:{fontFamily:"Manrope, sans-serif"},height:ae?window.innerHeight-108:T||"auto",options3d:d?{enabled:!0,alpha:10,beta:30,depth:550,viewDistance:10}:void 0,...J||{}},title:{text:null,...K||{}},xAxis:{categories:o,crosshair:!0,lineColor:"#D9DDE7",title:{text:a,align:"middle",reserveSpace:!0,y:z||(Q?"scatter3d"===i?130:40:3)},labels:{autoRotation:[-45,-60],rotation:void 0,style:{whiteSpace:"nowrap"}},...U||{}},yAxis:[{title:{text:r,x:-12,align:"middle",margin:16},lineWidth:1,lineColor:"#D9DDE7",gridLineDashStyle:"Dash",gridLineWidth:1,gridLineColor:"#D9DDE7",labels:{},opposite:!1,...q||{},...W||{}},...G?[{title:{text:G,x:12,align:"middle",margin:16},lineWidth:1,lineColor:"#D9DDE7",gridLineDashStyle:"Dash",gridLineWidth:1,gridLineColor:"#D9DDE7",labels:{},opposite:!0,...q||{},...Z||{}}]:[]],zAxis:d?{min:0,max:10,...V||{}}:V&&Object.keys(V).length?V:void 0,tooltip:{useHTML:!0,className:"custom-tooltip",backgroundColor:"#ffffff",borderRadius:8,borderWidth:0,borderColor:"transparent",outside:!1,shared:M,shadow:{color:"rgba(0, 0, 0, 0.2)",offsetX:2,offsetY:2,opacity:.3},style:{fontFamily:"'Manrope', sans-serif",color:"#1F2B4D"},positioner(e,A,t){const n=this.chart,i=n.plotLeft,o=n.plotLeft+n.plotWidth,a=n.plotTop,r=n.plotTop+n.plotHeight;let s=t.plotX+i-e/2,l=t.plotY+a-A-10;return s<i&&(s=i+5),l<a&&(l=a+5),s+e>o&&(s=o-e-5),l+A>r&&(l=r-A-5),{x:s,y:l}},formatter:function(){return P?P(this):void 0!==this.point.value?'\n <span class="tooltip-key">X: '.concat(this.point.x," Y: ").concat(this.point.y,'</span><br/>\n <b class="tooltip-value">Value: ').concat(this.point.value,"</b>"):'\n <span style="color:'.concat(this.color,';"">●</span>\n <span class="tooltip-key">').concat(this.key,': </span>\n <b class="tooltip-value">').concat(this.y.toLocaleString(),"</b>\n ")},..._||{}},plotOptions:{scatter3d:{width:10,height:10,depth:10,marker:{radius:4,symbol:"circle"}},column:{pointPadding:.2,groupPadding:.1,borderWidth:0,borderRadius:8,stacking:c?"normal":null},areaspline:{fillOpacity:.25},heatmap:{borderWidth:1,borderColor:"#ffffff"},series:{states:{hover:{backgroundColor:null}},...j},pie:{startAngle:"semidonut"===i?-90:0,endAngle:"semidonut"===i?90:360,center:["50%","semidonut"===i?"75%":"50%"],size:"100%",innerSize:"70%",borderRadius:6,dataLabels:{enabled:!0,distance:20}},bar:{stacking:"normal",pointWidth:25,borderRadius:5},...$||{}},subtitle:f?{text:F,verticalAlign:"middle",floating:!0,y:-10,style:{fontSize:"24px",fontWeight:"500",color:"#1F2B4D"},...ee||{}}:ee&&Object.keys(ee).length?ee:void 0,credits:{enabled:!1,...Ae||{}},legend:{enabled:!R,symbolRadius:2,layout:"horizontal",align:"center",verticalAlign:"bottom",itemDistance:24,symbolPadding:6,margin:40,x:w,y:y,itemStyle:{color:"#60697D",fontFamily:"Manrope, sans-serif",fontSize:"12px",fontWeight:"500",lineHeight:"16px",padding:"20px"},itemHoverStyle:{color:"#0d152c"},navigation:{activeColor:"#3E576F",animation:!0,arrowSize:12},...te||{}},series:null!=ie?ie:s,colorAxis:"heatmap"===i||"bubble"===i||"packedbubble"===i||"treemap"===i?{minColor:"#ffffff",maxColor:"#658EC4",...ne||{}}:ne&&Object.keys(ne).length?ne:void 0,...oe||{}})),[i,o,a,r,s,c,d,ae,Q,T,H,R,K,U,q,W,Z,V,_,$,ee,Ae,te,ne,ie,oe]);return t.jsx(t.Fragment,{children:k?t.jsxs("div",{ref:ue,className:"chart-container ".concat(ae?"expanded":""," ").concat(se?"animating":""," ").concat(x?"card-container":""),style:H?{width:H}:{},children:[N&&t.jsxs("div",{className:"chart-container-header",children:[t.jsxs("div",{className:"chart-container-header-title",children:[t.jsx("span",{className:"chart-container-header-title-text",children:g}),!!b&&null!==b&&t.jsx("div",{className:"divider-line"}),b&&b]}),t.jsxs("div",{className:"chart-container-header-actions",children:[C&&t.jsx("div",{className:"chart-custom-actions",children:l.isValidElement(C)?C:null}),!!C&&null!==C&&t.jsx("div",{className:"divider-line"}),p&&!ae&&t.jsx(Jh,{variant:"text",icon:t.jsx(A1,{}),onClick:()=>{D(!k)}}),h&&t.jsx(Jh,{variant:"text",icon:t.jsx(l1,{}),onClick:e=>{ce((e=>!e)),fe(e.currentTarget)}}),I&&t.jsx(Jh,{variant:"text",icon:t.jsx(SI,{}),onClick:e=>{B(e)}}),L&&L,X&&t.jsx(Jh,{variant:"text",icon:ae?t.jsx(a1,{}):t.jsx(n1,{}),onClick:()=>{ae?(()=>{const e=ue.current;e&&(le(!0),e.classList.add("fullscreen-animating-out"),setTimeout((()=>{document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),re(!1),O(!1),e.classList.remove("fullscreen-animating-out")}),200))})():(()=>{const e=ue.current;e&&(le(!0),e.classList.add("fullscreen-animating"),setTimeout((()=>{e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen(),re(!0),O(!0),e.classList.remove("fullscreen-animating")}),200))})()}})]})]}),t.jsx(Kh,{anchorEl:de,iconPlacement:"left",onClose:()=>{ce(!1)},open:ge,options:E,selected:v,MenuProps:{transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"bottom",horizontal:"right"}},...m}),t.jsx(H3,{highcharts:N3,options:Ce,ref:Be},function(e,A){try{return e?JSON.stringify(e):A}catch{return A}}(Ce,"graph")+ae),R&&t.jsx("div",{className:"chart-custom-legend",style:{marginBottom:12,marginTop:-32,...Y||{}},children:l.isValidElement(R)?R:"function"==typeof R?R(null===(n=Be.current)||void 0===n?void 0:n.chart):null})]}):u})},e.ChatBotComponent=e=>{var n;let{onClose:i,userName:o,isChatBotOpen:a,setIsChatBotOpen:r,conversation:s=[],solution:l,formComponent:g,tableComponent:c,preDefinedQuestions:d,addedByYouQuestions:f,onSendIconClick:B=(()=>{}),assistantChats:u=[],isAssistantThinking:C=!1,moduleList:p=[],onModuleClick:h=(()=>{}),tabList:I,handleSavedChat:E,threadList:v=["Home","Thread 1","Thread 2"],activeThread:m=null,isCustomScreen:Q=!1,customScreenJsx:b=null,onLikeClick:x=(()=>{}),onDislikeClick:F=(()=>{}),handleNewChatClick:w=(()=>{}),inputText:y="",handleRefresh:z,handleMicClick:P,hideMenuArrow:M=!1,newChatScreen:k=!1,isModuleListLoading:D=!1,suggestionBanner:j={freeTextHeading:"Try adding more details:",freeTextContent:"Alan works best when your input has context and pointed questions"},isStopIcon:L=!1,onStopIconClick:O=(()=>{}),landingScreen:S=!1,footerText:N="AI-generated responses may contain errors—please verify important information",onCloseSuggestionBanner:T=(()=>{}),showSuggestionBanner:H=!1,utilityList:X=[],customInputComponent:R=null,onHistoryPanelClick:Y=(()=>{}),historyPanelData:G=[],onHistorySearchChange:J=(()=>{}),onHistorySelectConversation:K=(()=>{}),onHistoryToggleGroup:U=(()=>{}),historyOpenGroups:q,onHistoryMenuAction:W=(()=>{}),showHistoryPanel:Z=!0,isFullWidth:V=!1}=e;const[_,$]=A.useState((null==I||!I.find((e=>e.isActive)))&&!!k),[ee,Ae]=A.useState(y),[te,ne]=A.useState(V?"calc(100vw - 64px)":"690px"),[ie,oe]=A.useState(s||[]),[ae,re]=A.useState(l),[se,le]=A.useState(null==I||null===(n=I.find((e=>null==e?void 0:e.initialClick)))||void 0===n?void 0:n.name),[ge,ce]=A.useState(!1),[de,fe]=A.useState(!1),[Be,ue]=A.useState(!1),[Ce,pe]=A.useState(!1),[he,Ie]=A.useState([]),[Ee,ve]=A.useState([]),[me,Qe]=A.useState({}),be=A.useMemo((()=>ge||de||Be),[ge,de,Be]);A.useEffect((()=>{Ae(y)}),[y]),A.useEffect((()=>{const e={key:"newchat",icon:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16%200.5C19.7854%200.5%2022.5745%200.500713%2024.7119%200.788086C26.8348%201.07354%2028.2406%201.63315%2029.3037%202.69629C30.3668%203.75943%2030.9265%205.16519%2031.2119%207.28809C31.4993%209.42554%2031.5%2012.2146%2031.5%2016C31.5%2019.7854%2031.4993%2022.5745%2031.2119%2024.7119C30.9265%2026.8348%2030.3668%2028.2406%2029.3037%2029.3037C28.2406%2030.3668%2026.8348%2030.9265%2024.7119%2031.2119C22.5745%2031.4993%2019.7854%2031.5%2016%2031.5C12.2146%2031.5%209.42554%2031.4993%207.28809%2031.2119C5.16519%2030.9265%203.75943%2030.3668%202.69629%2029.3037C1.63315%2028.2406%201.07354%2026.8348%200.788086%2024.7119C0.500713%2022.5745%200.5%2019.7854%200.5%2016C0.5%2012.2146%200.500713%209.42554%200.788086%207.28809C1.07354%205.16519%201.63315%203.75943%202.69629%202.69629C3.75943%201.63315%205.16519%201.07354%207.28809%200.788086C9.42554%200.500713%2012.2146%200.5%2016%200.5Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M16%200.5C19.7854%200.5%2022.5745%200.500713%2024.7119%200.788086C26.8348%201.07354%2028.2406%201.63315%2029.3037%202.69629C30.3668%203.75943%2030.9265%205.16519%2031.2119%207.28809C31.4993%209.42554%2031.5%2012.2146%2031.5%2016C31.5%2019.7854%2031.4993%2022.5745%2031.2119%2024.7119C30.9265%2026.8348%2030.3668%2028.2406%2029.3037%2029.3037C28.2406%2030.3668%2026.8348%2030.9265%2024.7119%2031.2119C22.5745%2031.4993%2019.7854%2031.5%2016%2031.5C12.2146%2031.5%209.42554%2031.4993%207.28809%2031.2119C5.16519%2030.9265%203.75943%2030.3668%202.69629%2029.3037C1.63315%2028.2406%201.07354%2026.8348%200.788086%2024.7119C0.500713%2022.5745%200.5%2019.7854%200.5%2016C0.5%2012.2146%200.500713%209.42554%200.788086%207.28809C1.07354%205.16519%201.63315%203.75943%202.69629%202.69629C3.75943%201.63315%205.16519%201.07354%207.28809%200.788086C9.42554%200.500713%2012.2146%200.5%2016%200.5Z%22%20stroke%3D%22%23C3C8D4%22%2F%3E%3Cpath%20d%3D%22M20%2016.6673H16.6667V20.0007C16.6667%2020.3673%2016.3667%2020.6673%2016%2020.6673C15.6334%2020.6673%2015.3334%2020.3673%2015.3334%2020.0007V16.6673H12C11.6334%2016.6673%2011.3334%2016.3673%2011.3334%2016.0007C11.3334%2015.634%2011.6334%2015.334%2012%2015.334H15.3334V12.0007C15.3334%2011.634%2015.6334%2011.334%2016%2011.334C16.3667%2011.334%2016.6667%2011.634%2016.6667%2012.0007V15.334H20C20.3667%2015.334%2020.6667%2015.634%2020.6667%2016.0007C20.6667%2016.3673%2020.3667%2016.6673%2020%2016.6673Z%22%20fill%3D%22%231F2B4D%22%2F%3E%3C%2Fsvg%3E",className:"chatbot-component-menu-container-icon-new-chat"};I&&Array.isArray(I)?ve([e,...null==I?void 0:I.map(((e,A)=>{var t,n;return{...e,key:(null===(t=e.name)||void 0===t?void 0:t.toLowerCase())||"tab".concat(A),icon:e.icon||Jv,className:"chatbot-component-menu-container-icon-".concat(null===(n=e.name)||void 0===n?void 0:n.toLowerCase()),label:e.name,onClick:e.onClick}})),...Z?Uv:[]]):ve([e,...Kv])}),[I]),A.useEffect((()=>{if(a){var e,A;const t=document.querySelector(".resizer");let n,i;const o=e=>{const A=e.clientX-n;let t=i-A;const o=be?1050:690,a=window.innerWidth-100;t<=o&&(t=o),t>a&&(t=a),ne("".concat(t,"px"))},a=()=>{document.body.classList.remove("no-select"),document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",a)},r=e=>{n=e.clientX,i=document.querySelector(".chatbot-component-container").getBoundingClientRect().width,document.body.classList.add("no-select"),document.addEventListener("mousemove",o),document.addEventListener("mouseup",a)};return le(null==I||null===(e=I.find((e=>null==e?void 0:e.initialClick)))||void 0===e?void 0:e.name),null==Ee||null===(A=Ee.find((e=>null==e?void 0:e.initialClick)))||void 0===A||A.onClick(null==Ee?void 0:Ee.find((e=>null==e?void 0:e.initialClick))),t&&!V?t.addEventListener("mousedown",r):V&&ne("calc(100vw - 64px)"),()=>{null==t||t.removeEventListener("mousedown",r)}}}),[a,be,V]);const xe=()=>{r(!1),fe(!1),ce(!1),ue(!1),null==i||i()},Fe=()=>{ce(!1),fe(!1),ue(!1)};return A.useEffect((()=>{ne(be?e=>Math.min(parseInt(e)+360,window.innerWidth-100):e=>Math.max(parseInt(e)-360,690))}),[be]),t.jsx(t.Fragment,{children:a?t.jsxs("div",{className:"chatbot-modal-wrapper",children:[t.jsx("div",{className:"resizer"}),t.jsx("div",{className:"chatbot-component-container",style:{width:te},children:S?t.jsx(Yv,{onClose:xe,isFullWidth:V}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"chatbot-component-left-side ".concat(ge||de||Be?"chatbot-component-left-side-open":""),children:t.jsxs("div",{className:"chatbot-component-menu-container ".concat(ge||de||Be?"chatbot-component-menu-container-open":""),children:[t.jsxs("div",{className:"chatbot-component-menu-container-icon ".concat(ge||de||Be?"chatbot-component-menu-container-icon-open":""),children:[t.jsx("ul",{className:"chatbot-component-menu-list",children:null==Ee?void 0:Ee.map((e=>{var A;return t.jsx(AE,{title:e.key.charAt(0).toUpperCase()+e.key.slice(1),variant:"tertiary",orientation:"left",children:t.jsx("li",{className:"".concat(e.className," ").concat((null==se?void 0:se.toLowerCase())===(null==e||null===(A=e.key)||void 0===A?void 0:A.toLowerCase())?"active":""),onClick:()=>(e=>{if("newchat"===(null==e?void 0:e.key)){var A;Ae("");let n=null==w?void 0:w(e);if(null!=n&&n.isInitialClickPresent){var t;let e=I.find((e=>{var A,t;return(null==e||null===(A=e.name)||void 0===A?void 0:A.toLowerCase())===(null==n||null===(t=n.tabName)||void 0===t?void 0:t.toLowerCase())}));null==e||null===(t=e.onClick)||void 0===t||t.call(e,e)}le(null===(A=I.find((e=>{var A,t;return(null==e||null===(A=e.name)||void 0===A?void 0:A.toLowerCase())===(null==n||null===(t=n.tabName)||void 0===t?void 0:t.toLowerCase())})))||void 0===A?void 0:A.name)}else if("history"===(null==e?void 0:e.key))fe(!de),null==Y||Y(e,!de);else{var n;le(null==e?void 0:e.key),null==e||null===(n=e.onClick)||void 0===n||n.call(e,e)}})(e),children:"string"==typeof e.icon?t.jsx("img",{src:e.icon,className:e.iconClassName,alt:e.key}):e.icon},e.key)})}))}),t.jsx("ul",{className:"chatbot-component-menu-list utility-list",children:null==X?void 0:X.map((e=>t.jsx(AE,{title:e.key.charAt(0).toUpperCase()+e.key.slice(1),variant:"tertiary",orientation:"left",children:t.jsx("li",{onClick:e.onClick,children:"string"==typeof e.icon?t.jsx("img",{src:e.icon,alt:e.key}):e.icon},e.key)})))})]}),ge&&!de&&!Be&&t.jsx(em,{preDefinedQuestions:d,addedByYouQuestions:f,onClose:Fe}),de&&!ge&&!Be&&t.jsx(Am,{historyPanelData:G,onClose:Fe,onSearchChange:J,onSelectConversation:K,onToggleGroup:(e,A)=>{null==q&&Qe((t=>({...t,[e]:A}))),null==U||U(e,A)},openGroups:null!=q?q:me,onMenuAction:W})]})}),t.jsxs("div",{className:"chatbot-component-right-side ".concat(ge||de||Be?"chatbot-component-right-side-open":""),children:[!Q&&t.jsx("div",{className:"conversation-screen-container",children:t.jsx(Xv,{hideMenuArrow:M,moduleList:p,activeList:se,onModuleClick:h,hideChildren:!k,isModuleListLoading:D,hideCenterOptions:k,threadList:v,activeThread:m,handleSavedChat:E,onClose:xe,isFullWidth:V})}),k?t.jsx(yv,{onClose:xe,userName:o,inputValue:ee,setInputValue:Ae,setIsNewChat:$,onSendIconClick:B,userChats:he,setUserChats:Ie,moduleList:p,onModuleClick:h,activeList:se,handleRefresh:z,handleMicClick:P,hideMenuArrow:M,isModuleListLoading:D,suggestionBanner:j,isStopIcon:L,onStopIconClick:O,onCloseSuggestionBanner:T,showSuggestionBanner:H,customInputComponent:R}):Q?t.jsx(tm,{onClose:xe,customScreenJsx:b,userChats:he,setUserChats:Ie,onSendIconClick:B,activeList:se,handleRefresh:z,handleMicClick:P,suggestionBanner:j,isStopIcon:L,onStopIconClick:O,onCloseSuggestionBanner:T,showSuggestionBanner:H,customInputComponent:R,isFullWidth:V}):t.jsx(Rv,{conversation:s,setConversation:oe,solution:ae,inputValue:ee,onClose:xe,formComponent:g,tableComponent:c,containerWidth:te,userChats:he,setUserChats:Ie,assistantChats:u,onSendIconClick:B,isAssistantThinking:C,moduleList:p,onModuleClick:h,activeList:se,handleSavedChat:E,threadList:v,activeThread:m,onLikeClick:x,onDislikeClick:F,inputText:y,handleRefresh:z,handleMicClick:P,hideMenuArrow:M,isModuleListLoading:D,suggestionBanner:j,isStopIcon:L,onStopIconClick:O,onCloseSuggestionBanner:T,showSuggestionBanner:H,customInputComponent:R}),t.jsx(sv,{footerText:N})]})]})})]}):null})},e.Checkbox=Bd,e.Chips=oF,e.CreateItemFlow=cF,e.DatePicker=XM,e.DateRangePicker=$M,e.EmptyState=vk,e.FileUpload=Fk,e.FilterPanel=function(e){let{className:A,title:n,size:i,anchor:o="right",isOpen:a,setIsOpen:r,active:s,setActive:l,filters:g,handleClose:c,primaryButtonLabel:d,onPrimaryButtonClick:f,secondaryButtonLabel:B,onSecondaryButtonClick:u,tertiaryButtonLabel:C,onTertiaryButtonClick:p,quaternaryButtonLabel:h,onQuaternaryButtonClick:I,primaryButtonProps:E,secondaryButtonProps:v,tertiaryButtonProps:m,quaternaryButtonProps:Q,alwaysRender:b=!1}=e;const x=(e,A)=>e=>{("keydown"!==e.type||"Tab"!==e.key&&"Shift"!==e.key)&&(c?c():r(!a))},F=e=>"medium"===e?"impact_drawer_filter_container_medium":"impact_drawer_filter_container_large";let w=g.filter((e=>e.value===s));return C||B||d?t.jsx(lu,{anchor:o,open:a,onClose:x(),children:t.jsxs("div",{className:"impact_drawer_filter_container ".concat(F(i)," ").concat(A),children:[t.jsx(Mk,{title:n,toggleDrawer:x()}),t.jsxs("div",{className:"impact-drawer-filter-main-container",children:[t.jsx(zk,{filters:g,active:s,setActive:l}),t.jsxs("div",{className:"impact_drawer_filter_container_right_panel",children:[b?g.map((e=>t.jsx("div",{className:"impact_drawer_filter_body",style:{display:e.value===s?"block":"none"},children:e.children},e.id))):t.jsx("div",{className:"impact_drawer_filter_body",children:w[0].children}),t.jsx(kk,{quaternaryButtonLabel:h,onQuaternaryButtonClick:I,tertiaryButtonLabel:C,onTertiaryButtonClick:p,secondaryButtonLabel:B,onSecondaryButtonClick:u,primaryButtonLabel:d,onPrimaryButtonClick:f,primaryButtonProps:E,secondaryButtonProps:v,tertiaryButtonProps:m,quaternaryButtonProps:Q})]})]})]})}):t.jsx(lu,{anchor:o,open:a,onClose:x(),children:t.jsxs("div",{className:"impact_drawer_filter_container ".concat(F(i)," ").concat(A),children:[t.jsx(Mk,{title:n,toggleDrawer:x()}),t.jsxs("div",{className:"impact-drawer-filter-main-container",children:[t.jsx(zk,{filters:g,active:s,setActive:l}),t.jsx("div",{className:"impact_drawer_filter_container_right_panel",children:t.jsx("div",{className:"impact_drawer_filter_body impact_drawer_filter_footer_no_buttons",children:w[0].children})})]})]})})},e.FiltersStrip=Uk,e.Header=function(e){let{title:n,userName:i,handleLogoClick:o,showNotificationIcon:a=!0,notificationIndicator:r=!0,handleNotificationClick:s,showHelpIcon:l=!0,handleHelpClick:g,showMessageIcon:c=!0,handleMessageClick:d,showChatBotIcon:f=!0,handleChatBotClick:B,isMessageIconDisabled:u=!1,isNotificationDnd:C=!1,dropMenuOptions:p=[{label:i,onClick:()=>{}}],isChatBotDisabled:h=!1,centerComponent:I,avatarProps:E,avatarType:v="withoutPicture"}=e;const[m,Q]=A.useState(null),b=Boolean(m);return t.jsxs("div",{className:"impact-header-container",children:[t.jsxs("div",{className:"impact-header-container-left-side",children:[t.jsx("div",{className:"impact-header-logo",role:"button",onClick:o,children:t.jsx("img",{src:"data:image/svg+xml,%3Csvg%20width%3D%2278%22%20height%3D%2227%22%20viewBox%3D%220%200%2078%2027%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M77.9911%207.28503H75.1385V14.6887H73.434V7.28503H70.5991V5.85831H71.0142C73.2044%205.85831%2075.3946%205.85831%2077.5848%205.85831C77.7262%205.85831%2077.8586%205.84987%2077.9999%205.84143V7.28503H77.9911Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M77.991%2019.7708C77.6554%2020.4124%2077.0725%2020.6404%2076.1629%2020.4715C75.9421%2020.4293%2075.7302%2020.3533%2075.4917%2020.2774C75.5624%2020.0832%2075.6242%2019.9312%2075.6772%2019.8046C76.0304%2019.8637%2076.366%2019.9397%2076.7016%2019.9566C76.9577%2019.9735%2077.2227%2019.9059%2077.2933%2019.6189C77.364%2019.3234%2077.1344%2019.1799%2076.9047%2019.0702C76.6575%2018.952%2076.3925%2018.8844%2076.1452%2018.7662C75.7125%2018.5721%2075.5359%2018.2513%2075.5888%2017.8123C75.633%2017.4155%2075.8979%2017.12%2076.3395%2017.0103C76.8518%2016.8837%2077.3375%2016.9427%2077.8232%2017.1791C77.7614%2017.348%2077.6996%2017.4999%2077.6466%2017.635C77.3463%2017.5843%2077.0725%2017.5253%2076.7899%2017.5084C76.5691%2017.4915%2076.3395%2017.559%2076.2777%2017.8038C76.2159%2018.0487%2076.3837%2018.1922%2076.5868%2018.2935C76.7369%2018.3695%2076.8959%2018.4286%2077.0637%2018.4792C77.4788%2018.6227%2077.8232%2018.8338%2077.991%2019.239V19.7624V19.7708Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M35.8559%205.85809C36.4211%205.85809%2036.8803%205.84121%2037.3396%205.86653C37.4456%205.86653%2037.5869%206.01005%2037.6399%206.11979C38.3817%207.59716%2039.1147%209.08297%2039.8477%2010.5603C39.9979%2010.8642%2040.1303%2011.1766%2040.307%2011.5396C40.5896%2010.9149%2040.8369%2010.3408%2041.1106%209.78366C41.7112%208.55956%2042.3382%207.33546%2042.9388%206.11135C43.0447%205.9003%2043.1861%205.83276%2043.4157%205.84121C43.8043%205.85809%2044.1928%205.84121%2044.6786%205.84121C44.917%208.78749%2045.1466%2011.7169%2045.3939%2014.7054C44.8375%2014.7054%2044.3341%2014.7138%2043.8396%2014.6885C43.7778%2014.6885%2043.6718%2014.5028%2043.6718%2014.4015C43.61%2013.1689%2043.5746%2011.928%2043.5128%2010.6954C43.4775%2010.02%2043.4157%209.34467%2043.3627%208.66931C43.3627%208.61865%2043.3362%208.568%2043.3009%208.43293C43.0889%208.85503%2042.9123%209.2096%2042.7445%209.55572C42.1704%2010.7967%2041.5964%2012.0377%2041.0312%2013.2787C40.9517%2013.456%2040.8634%2013.5235%2040.6514%2013.5235C39.6446%2013.5235%2039.6446%2013.5319%2039.2472%2012.6709C38.6731%2011.4214%2038.0814%2010.172%2037.4986%208.92257C37.4279%208.77905%2037.3484%208.63554%2037.2778%208.49202C37.2424%208.49202%2037.2071%208.49202%2037.1718%208.50046C37.0658%2010.5519%2036.951%2012.5949%2036.845%2014.6716H35.1582C35.3878%2011.7253%2035.6263%208.80438%2035.8559%205.83276V5.85809Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M53.3692%2014.7221C53.7843%2013.6415%2054.1552%2012.6031%2054.5791%2011.5901C55.3475%209.77502%2056.1512%207.97685%2056.9283%206.17025C57.0255%205.94231%2057.1579%205.80724%2057.4317%205.85789C57.5289%205.87477%2057.6437%205.87477%2057.7408%205.85789C58.5092%205.69749%2058.8624%206.05206%2059.1274%206.71054C60.1695%209.30226%2061.2558%2011.8771%2062.3244%2014.4519C62.3509%2014.5195%2062.3685%2014.5955%2062.4039%2014.7136C61.821%2014.7136%2061.2646%2014.7136%2060.7082%2014.7052C60.6376%2014.7052%2060.5404%2014.587%2060.5051%2014.5026C60.2843%2013.9623%2060.0812%2013.422%2059.8869%2012.8733C59.8251%2012.696%2059.7367%2012.6369%2059.5425%2012.6369C58.4209%2012.6369%2057.2904%2012.6369%2056.1688%2012.6369C55.9569%2012.6369%2055.8685%2012.7044%2055.7979%2012.8901C55.6213%2013.422%2055.4093%2013.9454%2055.2327%2014.4688C55.1709%2014.6461%2055.0825%2014.7305%2054.8706%2014.7305C54.3937%2014.7136%2053.9079%2014.7305%2053.3516%2014.7305L53.3692%2014.7221ZM56.3366%2011.3115H59.3923C58.8889%2010.062%2058.3944%208.85483%2057.9086%207.65605C57.8733%207.65605%2057.8468%207.65605%2057.8115%207.6645C57.3257%208.86327%2056.84%2010.062%2056.3366%2011.3115Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M48.6882%2011.641V14.697H47.0278V5.95101C47.6195%205.90035%2048.2201%205.81593%2048.8295%205.79061C49.8804%205.7484%2050.9402%205.7484%2051.9558%206.10296C53.9252%206.78677%2054.4905%209.35317%2052.9538%2010.7039C52.2826%2011.2948%2051.4259%2011.4806%2050.5516%2011.5566C49.9511%2011.6072%2049.3417%2011.6156%2048.6882%2011.641ZM48.7058%2010.2058C49.5095%2010.2311%2050.2867%2010.2565%2051.0373%2010.0201C51.7174%209.80904%2052.0176%209.38694%2052.0265%208.68624C52.0265%208.01088%2051.6997%207.555%2051.0373%207.35239C50.2778%207.11601%2049.5095%207.14134%2048.7147%207.22576V10.2058H48.7058Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M69.6715%2012.9751C69.8304%2013.4479%2069.9806%2013.8615%2070.1484%2014.368C69.6008%2014.52%2069.0974%2014.6888%2068.5764%2014.7901C67.7197%2014.959%2066.8454%2014.9674%2065.9799%2014.7901C64.5492%2014.5031%2063.5601%2013.7011%2063.0832%2012.3926C62.5356%2010.9068%2062.5091%209.4041%2063.2421%207.95206C63.9928%206.45781%2065.3175%205.74867%2067.0044%205.65581C67.9405%205.60516%2068.8502%205.75712%2069.7156%206.13701C69.9629%206.24676%2070.0424%206.3565%2069.9276%206.60977C69.7775%206.93057%2069.6715%207.25981%2069.5567%207.56372C69.0268%207.42021%2068.5234%207.22604%2068.0023%207.15006C65.9799%206.87147%2064.6993%207.85075%2064.5139%209.79243C64.4432%2010.4931%2064.5139%2011.1938%2064.77%2011.8607C65.1674%2012.8654%2066.0417%2013.4394%2067.1722%2013.4647C68.0376%2013.4901%2068.859%2013.355%2069.6803%2012.9667L69.6715%2012.9751Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M31.8643%205.87537H33.4981V14.6973H31.8643V5.87537Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M40.466%2019.1879V17.0605H41.0842V20.412C40.7575%2020.488%2040.5455%2020.4374%2040.3512%2020.125C39.9096%2019.4243%2039.4062%2018.7658%2038.9205%2018.082C38.8852%2018.0905%2038.8587%2018.0989%2038.8234%2018.1073V20.412H38.1875V17.0521C38.4966%2016.9761%2038.7439%2017.0014%2038.947%2017.2716C39.4239%2017.8963%2039.9273%2018.5041%2040.466%2019.171V19.1879Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M43.9546%2020.4041C44.4227%2019.3151%2044.8642%2018.2599%2045.3323%2017.2215C45.3765%2017.1286%2045.5531%2017.0526%2045.6767%2017.0442C45.818%2017.0442%2046.0565%2017.0948%2046.1006%2017.1877C46.5599%2018.2261%2046.9838%2019.2645%2047.4165%2020.3113C47.4254%2020.3366%2047.4165%2020.3788%2047.4165%2020.4886C47.1693%2020.4295%2046.8778%2020.4464%2046.7365%2020.3113C46.5775%2020.1593%2046.5422%2019.8807%2046.4451%2019.6444C46.0035%2019.6444%2045.5708%2019.6444%2045.138%2019.6444C45.0585%2019.6444%2044.979%2019.7288%2044.9172%2019.7879C44.8819%2019.8216%2044.8731%2019.8892%2044.8554%2019.9398C44.72%2020.3056%2044.4197%2020.4576%2043.9546%2020.3957V20.4041ZM46.2773%2019.1125C46.0918%2018.6566%2045.9152%2018.2261%2045.7474%2017.804C45.7209%2017.804%2045.6944%2017.804%2045.6679%2017.804C45.4913%2018.2345%2045.3235%2018.6651%2045.138%2019.1125H46.2861H46.2773Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M35.3614%2020.4377C35.1583%2020.4377%2035.0258%2020.4208%2034.911%2020.4377C34.6725%2020.4715%2034.5666%2020.3617%2034.4959%2020.1591C34.3105%2019.6357%2034.3016%2019.6357%2033.7276%2019.6357C33.6569%2019.6357%2033.5863%2019.6357%2033.5245%2019.6357C32.8621%2019.6357%2032.8533%2019.6357%2032.606%2020.2351C32.4558%2020.6065%2032.1556%2020.3448%2031.8995%2020.4546C31.8995%2020.3786%2031.8818%2020.3279%2031.8995%2020.2857C32.3234%2019.2642%2032.7473%2018.2343%2033.1889%2017.2128C33.2242%2017.1284%2033.3831%2017.0271%2033.4891%2017.0355C33.6481%2017.0355%2033.9042%2017.0777%2033.9484%2017.179C34.4341%2018.2343%2034.8845%2019.3064%2035.3702%2020.4377H35.3614ZM32.9946%2019.1038H34.1338C33.9484%2018.6395%2033.7717%2018.209%2033.5598%2017.694C33.3567%2018.209%2033.18%2018.6395%2032.9857%2019.1038H32.9946Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M72.7011%2017.2296C72.6393%2017.3984%2072.5775%2017.542%2072.5157%2017.6939C71.8886%2017.4997%2071.2793%2017.3393%2070.8023%2017.9303C70.4756%2018.344%2070.4756%2019.1713%2070.82%2019.5765C71.3057%2020.1506%2071.9151%2019.9733%2072.5598%2019.7875C72.6128%2019.9479%2072.6746%2020.0999%2072.7276%2020.2603C71.9769%2020.6993%2070.8112%2020.5727%2070.299%2020.007C69.7426%2019.3823%2069.7514%2018.1498%2070.3254%2017.4997C70.8377%2016.9172%2071.8886%2016.7822%2072.6923%2017.2296H72.7011Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M56.4687%2020.4206H55.8152C55.8152%2020.1927%2055.7975%2019.9647%2055.8152%2019.7452C55.8593%2019.3062%2055.718%2018.9432%2055.4707%2018.5887C55.1351%2018.1075%2054.8613%2017.6009%2054.5522%2017.0944C55.1616%2016.934%2055.2676%2016.9847%2055.5237%2017.449C55.7092%2017.7951%2055.9123%2018.1328%2056.1508%2018.5464C56.3892%2018.1412%2056.6012%2017.7951%2056.7954%2017.4405C57.0604%2016.9593%2057.0604%2016.9593%2057.7228%2017.0775C57.4313%2017.5587%2057.184%2018.0484%2056.8573%2018.4958C56.5482%2018.9263%2056.4069%2019.3653%2056.4687%2019.8719C56.4863%2020.0407%2056.4687%2020.218%2056.4687%2020.429V20.4206Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M62.1295%2020.4209H61.4583V17.5928H60.3809V17.0525H63.1628V17.5843H62.1295V20.4209Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M52.5649%2019.889V20.4124H50.3306V17.0525H50.9841V19.889H52.5649Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M66.1484%2017.0442H66.7401V20.4126H66.1484V17.0442Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M13.6094%2010.1389L5.6875%2025.8834L0%2021.7299L7.87771%205.90102L13.5122%2010.0545L13.6182%2010.1305L13.6094%2010.1389ZM16.5591%204.2717L10.8186%200L8.45176%204.7529L14.1834%209.00771L16.5679%204.28014L16.5591%204.2717ZM17.6454%206.42443L11.8166%2018.0914L27.36%2026.1874L17.6542%206.42443H17.6454Z%22%20fill%3D%22%23264CD7%22%2F%3E%3C%2Fsvg%3E",width:"100%",height:"100%"})}),t.jsx("div",{className:"impact-header-separator"}),t.jsx("div",{className:"impact-header-title",children:n})]}),I,t.jsxs("div",{className:"impact-header-container-right-side",children:[l?t.jsx("div",{className:"impact-header-help-container",role:"button",onClick:g,children:t.jsx("img",{src:"data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C17.5228%2022%2022%2017.5228%2022%2012C22%206.47715%2017.5228%202%2012%202C6.47715%202%202%206.47715%202%2012C2%2017.5228%206.47715%2022%2012%2022Z%22%20stroke%3D%22%23535B63%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M9.08984%209.00057C9.32495%208.33224%209.789%207.76868%2010.3998%207.4097C11.0106%207.05073%2011.7287%206.91951%2012.427%207.03928C13.1253%207.15906%2013.7587%207.52209%2014.2149%208.0641C14.6712%208.6061%2014.9209%209.29209%2014.9198%2010.0006C14.9198%2012.0006%2011.9198%2013.0006%2011.9198%2013.0006%22%20stroke%3D%22%23535B63%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M12%2017H12.01%22%20stroke%3D%22%23535B63%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E",width:"100%",height:"100%"})}):null,u?c?t.jsx("div",{className:"impact-header-message-container",role:"button",children:t.jsx("img",{src:"data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M21%2015C21%2015.5304%2020.7893%2016.0391%2020.4142%2016.4142C20.0391%2016.7893%2019.5304%2017%2019%2017H7L3%2021V5C3%204.46957%203.21071%203.96086%203.58579%203.58579C3.96086%203.21071%204.46957%203%205%203H19C19.5304%203%2020.0391%203.21071%2020.4142%203.58579C20.7893%203.96086%2021%204.46957%2021%205V15Z%22%20stroke%3D%22%23B4BAC7%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E",width:"100%",height:"100%"})}):null:c?t.jsx("div",{className:"impact-header-message-container",role:"button",onClick:d,children:t.jsx("img",{src:"data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M21%2015C21%2015.5304%2020.7893%2016.0391%2020.4142%2016.4142C20.0391%2016.7893%2019.5304%2017%2019%2017H7L3%2021V5C3%204.46957%203.21071%203.96086%203.58579%203.58579C3.96086%203.21071%204.46957%203%205%203H19C19.5304%203%2020.0391%203.21071%2020.4142%203.58579C20.7893%203.96086%2021%204.46957%2021%205V15Z%22%20stroke%3D%22%23535B63%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E",width:"100%",height:"100%"})}):null,C?a?t.jsx("div",{className:"impact-header-notification-container",role:"button",onClick:s,children:t.jsx("img",{src:"data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C13.1%2022%2014%2021.1%2014%2020H10C10%2021.1%2010.9%2022%2012%2022ZM12%206.5C14.49%206.5%2016%208.52%2016%2011V11.1L18%2013.1V11C18%207.93%2016.37%205.36%2013.5%204.68V4C13.5%203.17%2012.83%202.5%2012%202.5C11.17%202.5%2010.5%203.17%2010.5%204V4.68C10.26%204.74%2010.03%204.83%209.81%204.91L11.45%206.55C11.63%206.53%2011.81%206.5%2012%206.5ZM5.41%203.35L4%204.76L6.81%207.57C6.29%208.57%206%209.74%206%2011V16L4%2018V19H18.24L19.98%2020.74L21.39%2019.33L5.41%203.35ZM16%2017H8V11C8%2010.32%208.12%209.68%208.34%209.1L16%2016.76V17Z%22%20fill%3D%22%2360697D%22%2F%3E%3C%2Fsvg%3E",width:"100%",height:"100%"})}):null:a?t.jsxs("div",{className:"impact-header-notification-container",role:"button",onClick:s,children:[t.jsx("img",{src:Uh,width:"100%",height:"100%"}),r&&t.jsxs("div",{className:"impact-header-notification-indicator-container",children:[t.jsx("div",{className:"impact-header-notification-indicator-outer-circle"}),t.jsx("div",{className:"impact-header-notification-indicator-inner-circle"})]})]}):null,f?t.jsx("div",{className:"impact-header-bot-container ".concat(h?"impact-header-bot-container-disabled":""),role:"button",onClick:B,disabled:h,children:t.jsx("span",{className:"impact-header-bot-container-text",children:"Ask Alan"})}):null,t.jsx("div",{className:"impact-header-avatar",onClick:e=>Q(e.currentTarget),children:t.jsx(Oa,{label:i,size:"small",type:v,...E})}),p&&p.length>0&&t.jsx(Kh,{anchorEl:m,open:b,onClose:()=>Q(null),options:p})]})]})},e.HomeIcon=AF,e.HomePage=e=>{let{clientName:n="",userName:i="",toolKitItems:o=[],smartAiItems:a=[],configurationsMenuItems:r=[],activeToolKitItem:s=null,activeSmartAiItem:l=null,onLaunchClick:g=(()=>{}),onBookDemoClick:c=(()=>{}),onViewReleasedNotesClick:d=(()=>{}),onConfigurationsClick:f=(()=>{}),onKnowMoreClick:B=(()=>{}),showConfigurationsButton:u=!0}=e;const[C,p]=A.useState(s),[h,I]=A.useState(l),[E,v]=A.useState(null),[m,Q]=A.useState(null),[b,x]=A.useState(!1),[F,w]=A.useState(0),[y,z]=A.useState(!1),[P,M]=A.useState(null),[k,D]=A.useState(0),j=A.useRef(null),L=A.useRef(null),[O,S]=A.useState(null),N=e=>{!b||e.target.closest(".configurations_menu_container")||e.target.closest(".floating_btn_container")||x(!1)};A.useEffect((()=>(document.addEventListener("mousedown",(e=>{N(e)})),()=>{document.removeEventListener("mousedown",(e=>{N(e)}))})),[b]);const T=()=>{j.current&&clearInterval(j.current),j.current=setInterval((()=>{w((e=>(e+1)%aQ.length))}),1e3)};A.useEffect((()=>(T(),()=>{j.current&&clearInterval(j.current)})),[]);return A.useEffect((()=>{if(!L.current)return;const e=new ResizeObserver((e=>{let[A]=e;D(A.contentRect.width)}));return e.observe(L.current),()=>{e.disconnect()}}),[]),A.useEffect((()=>{n&&S((e=>{const A=lQ.search(e);return A.length>0?A[0].item:null})(n))}),[n]),t.jsxs("div",{className:"main_landingpage_container",children:[t.jsxs("div",{className:"left_panel",children:[t.jsxs("div",{className:"left_panel_header",children:[t.jsxs("div",{className:"left_section_header",children:[t.jsx("div",{className:"left_section_IA_logo_container"}),t.jsxs("div",{className:"right_content_container",children:[t.jsxs("div",{className:"right_content_title",children:[t.jsxs("span",{className:"non_gradient_text",children:["Welcome ",i,"👋, Here’s your toolkit powered by"," "]}),t.jsx("span",{className:"gradient_text",children:"Agentic AI"})]}),t.jsx("div",{className:"right_content_description",children:"Access your tools and explore new solutions to level up."})]})]}),t.jsx("div",{className:"center_graidient_container"}),t.jsx("div",{className:"center_image_container"}),t.jsx("div",{className:"bottom_image_container"})]}),t.jsxs("div",{className:"left_panel_product_container",children:[t.jsxs("div",{className:"tool_kit_container",children:[t.jsxs("div",{className:"toolkit_header_container",children:[t.jsx("div",{className:"common_header toolkit_header_icon",children:"Your tool kit 🧰"}),u&&t.jsx(Jh,{variant:"tertiary",onClick:()=>x(!b),icon:t.jsx("img",{src:"data:image/svg+xml,%3Csvg%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2014%2014%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.07998%2013.6663H5.57998C5.41331%2013.6663%205.26887%2013.6108%205.14664%2013.4997C5.02442%2013.3886%204.9522%2013.2497%204.92998%2013.083L4.72998%2011.533C4.58553%2011.4775%204.44953%2011.4108%204.32198%2011.333C4.19398%2011.2552%204.06887%2011.1719%203.94664%2011.083L2.49664%2011.683C2.34109%2011.7386%202.18553%2011.7441%202.02998%2011.6997C1.87442%2011.6552%201.7522%2011.5608%201.66331%2011.4163L0.429978%209.26634C0.341089%209.1219%200.313311%208.96634%200.346644%208.79967C0.379978%208.63301%200.463311%208.49967%200.596644%208.39968L1.84664%207.44967C1.83553%207.3719%201.82998%207.29679%201.82998%207.22434V6.77434C1.82998%206.70234%201.83553%206.62745%201.84664%206.54967L0.596644%205.59967C0.463311%205.49967%200.379978%205.36634%200.346644%205.19967C0.313311%205.03301%200.341089%204.87745%200.429978%204.73301L1.66331%202.58301C1.74109%202.42745%201.86042%202.33012%202.02131%202.29101C2.18264%202.25234%202.34109%202.26079%202.49664%202.31634L3.94664%202.91634C4.06887%202.82745%204.19664%202.74412%204.32998%202.66634C4.46331%202.58856%204.59664%202.5219%204.72998%202.46634L4.92998%200.916341C4.9522%200.749674%205.02442%200.610786%205.14664%200.499674C5.26887%200.388563%205.41331%200.333008%205.57998%200.333008H8.07998C8.24664%200.333008%208.39109%200.388563%208.51331%200.499674C8.63553%200.610786%208.70776%200.749674%208.72998%200.916341L8.92998%202.46634C9.07442%202.5219%209.21064%202.58856%209.33864%202.66634C9.4662%202.74412%209.59109%202.82745%209.71331%202.91634L11.1633%202.31634C11.3189%202.26079%2011.4744%202.25523%2011.63%202.29967C11.7855%202.34412%2011.9078%202.43856%2011.9966%202.58301L13.23%204.73301C13.3189%204.87745%2013.3466%205.03301%2013.3133%205.19967C13.28%205.36634%2013.1966%205.49967%2013.0633%205.59967L11.8133%206.54967C11.8244%206.62745%2011.83%206.70234%2011.83%206.77434V7.22434C11.83%207.29679%2011.8189%207.3719%2011.7966%207.44967L13.0466%208.39968C13.18%208.49967%2013.2633%208.63301%2013.2966%208.79967C13.33%208.96634%2013.3022%209.1219%2013.2133%209.26634L11.98%2011.3997C11.8911%2011.5441%2011.7662%2011.6415%2011.6053%2011.6917C11.444%2011.7415%2011.2855%2011.7386%2011.13%2011.683L9.71331%2011.083C9.59109%2011.1719%209.46331%2011.2552%209.32998%2011.333C9.19664%2011.4108%209.06331%2011.4775%208.92998%2011.533L8.72998%2013.083C8.70776%2013.2497%208.63553%2013.3886%208.51331%2013.4997C8.39109%2013.6108%208.24664%2013.6663%208.07998%2013.6663ZM6.86331%209.33301C7.50776%209.33301%208.05776%209.10523%208.51331%208.64968C8.96887%208.19412%209.19664%207.64412%209.19664%206.99967C9.19664%206.35523%208.96887%205.80523%208.51331%205.34967C8.05776%204.89412%207.50776%204.66634%206.86331%204.66634C6.20776%204.66634%205.65487%204.89412%205.20464%205.34967C4.75487%205.80523%204.52998%206.35523%204.52998%206.99967C4.52998%207.64412%204.75487%208.19412%205.20464%208.64968C5.65487%209.10523%206.20776%209.33301%206.86331%209.33301ZM6.86331%207.99967C6.58553%207.99967%206.34953%207.90234%206.15531%207.70767C5.96064%207.51345%205.86331%207.27745%205.86331%206.99967C5.86331%206.7219%205.96064%206.4859%206.15531%206.29167C6.34953%206.09701%206.58553%205.99967%206.86331%205.99967C7.14109%205.99967%207.37731%206.09701%207.57198%206.29167C7.7662%206.4859%207.86331%206.7219%207.86331%206.99967C7.86331%207.27745%207.7662%207.51345%207.57198%207.70767C7.37731%207.90234%207.14109%207.99967%206.86331%207.99967ZM6.16331%2012.333H7.47998L7.71331%2010.5663C8.05776%2010.4775%208.37731%2010.3468%208.67198%2010.1743C8.9662%2010.0023%209.23553%209.79412%209.47998%209.54967L11.13%2010.233L11.78%209.09967L10.3466%208.01634C10.4022%207.86079%2010.4411%207.69679%2010.4633%207.52434C10.4855%207.35234%2010.4966%207.17745%2010.4966%206.99967C10.4966%206.8219%2010.4855%206.64679%2010.4633%206.47434C10.4411%206.30234%2010.4022%206.13856%2010.3466%205.98301L11.78%204.89967L11.13%203.76634L9.47998%204.46634C9.23553%204.21079%208.9662%203.99679%208.67198%203.82434C8.37731%203.65234%208.05776%203.5219%207.71331%203.43301L7.49664%201.66634H6.17998L5.94664%203.43301C5.6022%203.5219%205.28287%203.65234%204.98864%203.82434C4.69398%203.99679%204.42442%204.20523%204.17998%204.44967L2.52998%203.76634L1.87998%204.89967L3.31331%205.96634C3.25776%206.13301%203.21887%206.29967%203.19664%206.46634C3.17442%206.63301%203.16331%206.81079%203.16331%206.99967C3.16331%207.17745%203.17442%207.34967%203.19664%207.51634C3.21887%207.68301%203.25776%207.84967%203.31331%208.01634L1.87998%209.09967L2.52998%2010.233L4.17998%209.53301C4.42442%209.78856%204.69398%2010.0023%204.98864%2010.1743C5.28287%2010.3468%205.6022%2010.4775%205.94664%2010.5663L6.16331%2012.333Z%22%20fill%3D%22%2360697D%22%2F%3E%3C%2Fsvg%3E",alt:"configuration"}),className:"floating_btn_container",children:"Configurations"}),b&&r.length>0&&t.jsx("div",{className:"configurations_menu_container",children:r.map(((e,A)=>t.jsxs("div",{className:"configurations_menu_item",onClick:()=>f(e),children:[t.jsx("img",{src:e.logo,alt:"configuration",className:"configurations_menu_item_logo"}),t.jsxs("div",{className:"configurations_menu_item_content",children:[t.jsx("span",{className:"configurations_menu_item_content_label",children:e.label}),t.jsx("span",{className:"configurations_menu_item_content_desc",children:e.desc})]})]},"configurations-menu-item-".concat(A))))})]}),t.jsx("div",{className:"tool_kit_content",children:o.map(((e,A)=>{var n;return t.jsxs("div",{className:"tool_kit_item_container",style:{position:"relative",width:"32%"},children:[t.jsxs("div",{className:"tool_kit_item ".concat(C===e?"tool_kit_item_active":""),onClick:()=>((e,A)=>{p((A=>A===e?null:e));const t=3*Math.floor(A/3);Q(t)})(e,A),children:[t.jsx("div",{className:"tool_kit_item_icon ".concat(e.name.replace(/\s+/g,""),"_icon"),children:e.name}),t.jsx("div",{className:"tool_kit_item_content",children:e.description}),t.jsx("div",{className:"url_container",children:t.jsx(Jh,{variant:"url",onClick:()=>{},className:"url",children:"View more"})}),t.jsxs("div",{className:"top_cta_container",children:[t.jsx("div",{className:"left_curve_container"}),t.jsx("div",{className:"right_curve_container"}),t.jsx(Jh,{icon:t.jsx(om,{}),variant:"primary",onClick:()=>{g(e)},className:"primary_btn_home_page",children:e.cta||"Launch"})]}),t.jsx("div",{className:"arrow_chevron_container",children:t.jsx("div",{className:"arrow_chevron"})})]},A),m===A&&t.jsxs("div",{className:"know_more_container ms_km_container ".concat(null===C?"ms_km_container_hidden":""," tool_kit_know_more_container"),style:{width:"".concat(k,"px")},children:[t.jsx("div",{className:"close_icon",onClick:()=>p(null)}),t.jsxs("div",{className:"km_heading_container",children:[t.jsx("div",{className:"know_more_container_heading ".concat(null==C?void 0:C.name,"_icon"),children:null==C?void 0:C.name}),t.jsx("div",{className:"tick_mark_enabled",children:"Access Enabled"})]}),t.jsx("p",{className:"km_description",children:null==C?void 0:C.details}),t.jsx("div",{className:"km_folder_container",children:null==C||null===(n=C.folderContent)||void 0===n?void 0:n.map(((e,A)=>t.jsxs("div",{className:"km_folder_item",children:[t.jsx("div",{className:"km_bulb_icon"}),t.jsx("div",{className:"km_folder_content",children:e})]},"km-folder-item-".concat(A))))}),t.jsx("div",{className:"launch_button_container",children:t.jsx(Jh,{variant:"secondary",onClick:()=>{g(C)},icon:t.jsx(om,{}),children:(null==C?void 0:C.cta)||"Launch"})})]})]},"tool-kit-item-container-".concat(A))}))})]}),t.jsxs("div",{className:"tool_kit_container smart_ai_tool_container",children:[t.jsx("div",{className:"common_header toolkit_header_icon",children:"Explore our smart Ai driven solutions 💡"}),t.jsx("div",{className:"tool_kit_content",ref:L,children:a.map(((e,A)=>{var n;return t.jsxs("div",{className:"tool_kit_item_container",children:[t.jsxs("div",{className:"tool_kit_item ".concat(h===e?"tool_kit_item_active":""),onClick:()=>((e,A)=>{I((A=>A===e?null:e));const t=3*Math.floor(A/3);v(t)})(e,A),children:[t.jsx("div",{className:"tool_kit_item_icon ".concat(e.name.replace(/\s+/g,""),"_icon"),children:e.name}),t.jsx("div",{className:"tool_kit_item_content",children:e.description}),t.jsx("div",{className:"url_container",children:t.jsx(Jh,{variant:"url",onClick:()=>{},className:"url",children:"View more"})}),t.jsxs("div",{className:"top_cta_container",children:[t.jsx("div",{className:"left_curve_container"}),t.jsx("div",{className:"right_curve_container"}),t.jsx(Jh,{variant:"tertiary",onClick:()=>{c(e)},children:e.cta||"Book demo"})]}),t.jsx("div",{className:"arrow_chevron_container",children:t.jsx("div",{className:"arrow_chevron"})}),(null==e?void 0:e.isNewProduct)&&t.jsx("div",{className:"bottom_ribbon_container",children:t.jsx("span",{children:"New"})})]},A),E===A&&t.jsxs("div",{className:"know_more_container ms_km_container ".concat(null===h?"ms_km_container_hidden":""),style:{width:"".concat(k,"px")},children:[t.jsx("div",{className:"close_icon",onClick:()=>I(null)}),t.jsx("div",{className:"km_heading_container",children:t.jsx("div",{className:"know_more_container_heading ".concat(null==h?void 0:h.name,"_icon"),children:null==h?void 0:h.name})}),t.jsx("p",{className:"km_description",children:null==h?void 0:h.details}),t.jsx("div",{className:"km_folder_container",children:null==h||null===(n=h.folderContent)||void 0===n?void 0:n.map(((e,A)=>t.jsxs("div",{className:"km_folder_item",children:[t.jsx("div",{className:"km_bulb_icon"}),t.jsx("div",{className:"km_folder_content",children:e})]},"km-folder-item-".concat(A))))}),t.jsx("div",{className:"launch_button_container",children:t.jsx(Jh,{variant:"url",onClick:()=>{B(h)},className:"url",children:(null==h?void 0:h.cta)||"Know more"})})]})]},"smart-ai-item-container-".concat(A))}))})]})]})]}),t.jsxs("div",{className:"right_panel",children:[(null==O?void 0:O.image)&&t.jsx("div",{className:"client_logo_container",children:t.jsx("img",{src:O.image,alt:(null==O?void 0:O.name)||"client-logo",className:"impact_client_logo_image"})}),t.jsxs("div",{className:"right_panel_content",children:[t.jsxs("div",{className:"smart_pf_panel_container",children:[t.jsx("div",{className:"top_text_container",children:t.jsx("div",{className:"gradient_text",children:"IA Smart Platform"})}),t.jsxs("div",{className:"bottom_cards_container",children:[t.jsxs("div",{className:"card_ia ",children:[t.jsx("div",{className:"left_image_container multi_level_planning"}),t.jsxs("div",{className:"right_content_container_card",children:[t.jsxs("span",{className:"ia_card_heading_txt",children:["Multi-Level Planning:"," "]}),"Generate Optimized plans across product hierarchies"]})]}),t.jsxs("div",{className:"card_ia",children:[t.jsx("div",{className:"left_image_container strategic_objective"}),t.jsxs("div",{className:"right_content_container_card",children:[t.jsxs("span",{className:"ia_card_heading_txt",children:["Strategic Objectives:"," "]}),"Define and align goals across organizational levels"]})]}),t.jsxs("div",{className:"card_ia",children:[t.jsx("div",{className:"left_image_container ai_ml_powered"}),t.jsxs("div",{className:"right_content_container_card",children:[t.jsx("span",{className:"ia_card_heading_txt",children:"AI/ML Powered: "}),"Advanced analytics and intelligent automation"]})]})]})]}),t.jsxs("div",{className:"latest_updates_container",children:[t.jsx("div",{className:"latest_updates_header",children:"Latest Updates"}),t.jsx("div",{className:"latest_updates_content",children:"New features and improvements are now available"}),t.jsx(Jh,{variant:"url",onClick:d,children:"View released notes"})]}),t.jsxs("div",{className:"smart_agent_studio_container",children:[t.jsx("div",{className:"smart_agent_pf_headiing",children:"SmartAgent Studio Platform"}),t.jsxs("div",{className:"carousel_main_container",children:[t.jsx("div",{className:"video_container",children:aQ.map(((e,A)=>t.jsxs("div",{className:"carousel_slide ".concat(A===F?"carousel_slide_active":""),children:[t.jsx("img",{src:e,alt:"carousel-".concat(A),className:"carousel_image"}),t.jsx("span",{className:"video_text",children:rQ[A]})]},"carousel-slide-".concat(A))))}),t.jsx("div",{className:"carousel_dot_container",children:aQ.map(((e,A)=>t.jsx("div",{className:"carousel_dot ".concat(A===F?"dot_active":""),onClick:()=>(e=>{w(e),T()})(A)},"carousel-dot-".concat(A))))})]}),t.jsx("div",{className:"agentic_usecases_container",children:t.jsx(Jh,{variant:"tertiary",onClick:()=>{z(!0)},icon:t.jsx("img",{src:"data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cmask%20id%3D%22mask0_1203_624%22%20style%3D%22mask-type%3Aalpha%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2216%22%20height%3D%2216%22%3E%3Crect%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%23D9D9D9%22%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url%28%23mask0_1203_624%29%22%3E%3Cpath%20d%3D%22M12%2012.6657H4C3.63333%2012.6657%203.33333%2012.3657%203.33333%2011.999V3.99902C3.33333%203.63236%203.63333%203.33236%204%203.33236H7.33333C7.7%203.33236%208%203.03236%208%202.66569C8%202.29902%207.7%201.99902%207.33333%201.99902H3.33333C2.59333%201.99902%202%202.59902%202%203.33236V12.6657C2%2013.399%202.6%2013.999%203.33333%2013.999H12.6667C13.4%2013.999%2014%2013.399%2014%2012.6657V8.66569C14%208.29902%2013.7%207.99902%2013.3333%207.99902C12.9667%207.99902%2012.6667%208.29902%2012.6667%208.66569V11.999C12.6667%2012.3657%2012.3667%2012.6657%2012%2012.6657ZM9.33333%202.66569C9.33333%203.03236%209.63333%203.33236%2010%203.33236H11.7267L5.64%209.41902C5.38%209.67902%205.38%2010.099%205.64%2010.359C5.9%2010.619%206.32%2010.619%206.58%2010.359L12.6667%204.27236V5.99902C12.6667%206.36569%2012.9667%206.66569%2013.3333%206.66569C13.7%206.66569%2014%206.36569%2014%205.99902V2.66569C14%202.29902%2013.7%201.99902%2013.3333%201.99902H10C9.63333%201.99902%209.33333%202.29902%209.33333%202.66569Z%22%20fill%3D%22%231F2B4D%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E",alt:"book-demo"}),children:"Find Agentic Usecases"})}),t.jsx(gQ,{anchor:"right",className:"agentic_usecases_panel",onClose:()=>{z(!1)},size:"large",title:"Agentic Usecases",open:y,setIsOpen:z,children:t.jsx("div",{className:"agentic_usecases_panel_content",children:sQ.map(((e,A)=>t.jsxs("div",{className:"agentic_usecases_panel_content_item_container",children:[t.jsx(Jh,{variant:"tertiary",onClick:()=>{c(e)},className:"agentic_usecases_panel_content_item_button",children:"Book demo"}),t.jsxs("div",{className:"agentic_usecases_panel_content_item",style:{backgroundColor:e.background,borderColor:P===e?e.borderColor:"transparent",backgroundImage:"url(".concat(e.backgroundImage,"), url(").concat(e.backgroundImage,"), url(").concat(e.backgroundImage,")"),backgroundRepeat:"no-repeat",backgroundSize:"44px",backgroundPosition:"right 35px top 15px, top -28px right 4px, top 29px right -14px"},onMouseLeave:()=>M(null),onMouseEnter:()=>M(e),children:[t.jsx("img",{src:e.image,alt:e.name,className:"agentic_usecases_panel_content_item_image"}),t.jsxs("div",{className:"agentic_usecases_panel_content_item_content",children:[t.jsx("span",{className:"agentic_usecases_panel_content_item_name",children:e.name}),t.jsx("span",{className:"agentic_usecases_panel_content_item_description",children:e.description})]})]},A)]},"agentic-usecases-panel-content-item-container-".concat(A))))})})]})]})]})]})},e.Input=tI,e.Loader=yI,e.Menu=Kh,e.Modal=eF,e.MonthPicker=e=>{let{customYears:n,locale:i="en-US",isMandatory:o=!1,displayFormat:a="MM/YYYY",focusedInput:r=null,onApply:s=(()=>{}),selectedMonth:l=null,isOutsideRange:g=(()=>!1),disabled:c=!1,showYearSelect:d=!1,isError:f=!1,customWidth:B="282px",withPortal:u=!1,portalContainer:C=document.body,portalClassName:p=""}=e;const h=new Date,I=h.getFullYear(),E=Array.from({length:10},((e,A)=>{const t=(I-5+A).toString();return{label:t,value:t}})),v=n&&n.length>0?n:E,[m,Q]=A.useState(!1),[b,x]=A.useState(l),[F,w]=A.useState(0),[y,z]=A.useState(!1),[P,M]=A.useState(v),[k,D]=A.useState({label:h.getFullYear().toString(),value:h.getFullYear().toString()}),j=A.useRef(null),L=A.useRef(null),O=A.useRef(null),S=A.useRef(null),N=A.useRef(null),[T,H]=A.useState(!1),[X,R]=A.useState(r),[Y,G]=A.useState(l),J=A.useRef(!1),[K,U]=A.useState(!1),[q,W]=A.useState(!1),[Z,V]=A.useState({x:0,y:0,offsetHeight:0,offsetWidth:0}),_=(e,A,n)=>{const o=new Date(e,n,1),a=(e=>!(!b||!e)&&b.getMonth()===e.getMonth()&&b.getFullYear()===e.getFullYear())(o),r=g(o),s=o.getFullYear()===h.getFullYear()&&o.getMonth()===h.getMonth();return t.jsx("div",{className:"mp-month month".concat(n+1," ").concat(a?"selected":r?"disabled":s?"current-month":""),onClick:()=>(e=>{x(e)})(o),children:t.jsx("span",{className:"mp-calendar-month",children:new Intl.DateTimeFormat(i,{month:"short"}).format(o)})},n)},$=()=>{w(F-1),D((e=>{const A=parseInt(e.value)-1;return A==P[0].value&&U(!0),{label:A.toString(),value:A.toString()}}))},ee=()=>{w(F+1),D((e=>{const A=parseInt(e.value)+1;return{label:A.toString(),value:A.toString()}}))};A.useEffect((()=>{"selected month"===X&&S.current.focus()}),[X]);const Ae=e=>{!j.current||j.current.contains(e.target)||!L.current||L.current.contains(e.target)||e.target.closest(".mp-close-icon")||e.target.closest(".month-picker-year-select-dropdown")||T||(Q(!1),J.current?(x(null),G(null),J.current=!1):x(Y))};A.useEffect((()=>(document.addEventListener("click",Ae),()=>{document.removeEventListener("click",Ae)})),[m]);const te=()=>{Q(!1),x(Y)},ne=()=>{Q(!1),G(b),null==s||s(b)};A.useLayoutEffect((()=>{if(u&&N.current){const e=window.scrollY||document.documentElement.scrollTop,{x:A,y:t,height:n,width:i}=N.current.getBoundingClientRect();V({x:A,y:t+e,offsetHeight:n,offsetWidth:i})}}),[m,u]),A.useEffect((()=>{k.value==P[0].value?U(!0):U(!1),k.value==P[P.length-1].value?W(!0):W(!1)}),[k]);const ie=A.useMemo((()=>Boolean(f||b&&(null==g?void 0:g(b)))),[f,b]),oe=()=>{return t.jsxs("div",{className:"mp-single-month-picker-container",ref:L,children:[t.jsxs("div",{className:"mp-header",children:[t.jsx(Gd,{onClick:$,disableRipple:!0,disabled:K,children:t.jsx(UE,{className:"mp-left-icon"})}),d?t.jsx("div",{className:"month-picker-year-select-container",children:t.jsx(LE,{name:"year-select",isWithSearch:!0,withPortal:!0,dropDownPortalClassName:"month-picker-year-select-dropdown",isOpen:T,setIsOpen:H,currentOptions:P,setCurrentOptions:M,initialOptions:v,selectedOptions:k,setSelectedOptions:D,ref:O,minWidth:62})}):t.jsx("div",{className:"mp-selected-year",children:k.value}),t.jsx(Gd,{onClick:ee,disableRipple:!0,disabled:q,children:t.jsx(vI,{className:"mp-right-icon"})})]}),t.jsx("div",{className:"mp-render-month-container",children:(e=parseInt(k.value),t.jsx("div",{className:"mp-render-month",children:qk.map((A=>_(e,0,A)))}))}),t.jsx("hr",{className:"mp-vertical-line"}),t.jsxs("div",{className:"mp-calendar-button",children:[t.jsx(Jh,{variant:"tertiary",onClick:te,children:"Cancel"}),t.jsx(Jh,{onClick:ne,children:"Apply"})]})]});var e};return t.jsxs("div",{className:"impact-singleMonthPicker-main-container single-month-label-flex-column ".concat(c?"disabled":""),children:[t.jsxs("div",{className:"singleMonthPicker-label",children:["Select Month & Year",o&&t.jsx("span",{style:{color:"red"},children:"*"})]}),t.jsxs("div",{className:"singleMonthPicker-container",style:{width:B},ref:N,children:[t.jsxs("div",{className:"singleMonthPicker-input-container",ref:j,children:[t.jsx("input",{type:"text",placeholder:"Select ".concat(a),readonly:"",className:"singleMonthPicker-input-field ".concat(b?"active":""," ").concat(ie?"error":""),value:b?"".concat((e=>{if(!e)return"";const A=new Intl.DateTimeFormat("en-US",{month:"2-digit"}).format(e),t=new Intl.DateTimeFormat("en-US",{year:"numeric"}).format(e);return"YYYY/MM"===a?"".concat(t,"/").concat(A):"".concat(A,"/").concat(t)})(b)):"",ref:S,onClick:()=>{return e="selected month",Q(!0),void R(e);var e},onFocus:()=>R("selected month"),onBlur:()=>R(null)}),b&&t.jsx(Dv,{className:"mp-close-icon",onClick:()=>{x(null),G(null),J.current=!0}})]}),m&&(u?t.jsxs(xI,{container:C,children:[t.jsx("div",{className:"impact-portal-container ".concat(p),style:{top:Z.y||Z.top,left:Z.x||Z.left,bottom:Z.bottom,right:Z.right,width:Z.offsetWidth||"0px"},children:oe()}),t.jsx("div",{className:"ia-select-container-v3-blanket",onClick:()=>Q(!1)})]}):oe())]})]})},e.MonthRangePicker=e=>{let{customYears:n,locale:i="en-US",isMandatory:o=!1,displayFormat:a="MM/YYYY",focusedInput:r=null,onApply:s=(()=>{}),startMonth:l=null,endMonth:g=null,showYearSelect:c=!1,isOutsideRange:d=(()=>!1),disabled:f=!1,customWidth:B="282px",isError:u=!1,withPortal:C=!1,portalContainer:p=document.body,portalClassName:h=""}=e;const I=new Date,E=I.getFullYear(),v=Array.from({length:10},((e,A)=>{const t=(E-5+A).toString();return{label:t,value:t}})),m=n&&n.length>0?n:v,[Q,b]=A.useState(!1),[x,F]=A.useState(l),[w,y]=A.useState(g),[z,P]=A.useState(0),[M,k]=A.useState(!1),[D,j]=A.useState(m),[L,O]=A.useState({label:(I.getFullYear()-1).toString(),value:(I.getFullYear()-1).toString()}),[S,N]=A.useState(!1),[T,H]=A.useState(m),[X,R]=A.useState({label:I.getFullYear().toString(),value:I.getFullYear().toString()}),Y=A.useRef(null),G=A.useRef(null),J=A.useRef(null),K=A.useRef(),U=A.useRef(),q=A.useRef(null),[W,Z]=A.useState(!1),[V,_]=A.useState(r),[$,ee]=A.useState(l),[Ae,te]=A.useState(g),ne=A.useRef(!1),[ie,oe]=A.useState(!1),[ae,re]=A.useState(!1),[se,le]=A.useState(null),[ge,ce]=A.useState({x:0,y:0,offsetHeight:0,offsetWidth:0}),de=e=>{if(!e)return"";const A=new Intl.DateTimeFormat("en-US",{month:"2-digit"}).format(e),t=new Intl.DateTimeFormat("en-US",{year:"numeric"}).format(e);return"YYYY/MM"===a?"".concat(t,"/").concat(A):"".concat(A,"/").concat(t)},fe=()=>{le(null)},Be=(e,A,n)=>{const o=new Date(e,n,1),a=(e=>{if(!x)return!1;if(w){const A=12*x.getFullYear()+x.getMonth(),t=12*w.getFullYear()+w.getMonth(),n=12*e.getFullYear()+e.getMonth();return n>=A&&n<=t}if(se&&!w){const A=12*x.getFullYear()+x.getMonth(),t=12*se.getFullYear()+se.getMonth(),n=12*e.getFullYear()+e.getMonth(),i=Math.min(A,t),o=Math.max(A,t);return n>=i&&n<=o}return!1})(o),r=(e=>e.getTime()===((null==x?void 0:x.getTime())||0))(o),s=(e=>{if(!w)return!1;const A=12*w.getFullYear()+w.getMonth();return 12*e.getFullYear()+e.getMonth()===A})(o),l=d(o),g=o.getFullYear()===I.getFullYear()&&o.getMonth()===I.getMonth(),c=se&&x&&12*se.getFullYear()+se.getMonth()<12*x.getFullYear()+x.getMonth(),f=()=>r?"start":s?"end":a?"selected":"";return t.jsx("div",{className:"ia-month month".concat(n+1," ").concat(f()," ").concat(x&&"end"===f()?"has-start-month":""," ").concat(g?"current-month":""," ").concat(c?"hovered-previous-to-end":""," ").concat(l?"disabled":""),onClick:()=>!l&&((e,A)=>{const t=(e,A)=>Math.abs(e-A);if(!x&&!w)return F(e),void _("end month");if(x&&!w){if(e===x)return F(null),void _("end month");if(e<x){if(t(e,x)<0)return;return y(x),F(e),void _("start month")}if(t(e,x)<0)return;return y(e),void _("start month")}return x&&w?(F(e),y(null),void _("end month")):void 0})(o),onMouseEnter:()=>!l&&(e=>{x&&!w&&le(e)})(o),onMouseLeave:fe,children:t.jsx("span",{className:"ia-calendar-month",children:new Intl.DateTimeFormat(i,{month:"short"}).format(o)})},n)},ue=(e,A)=>t.jsx("div",{className:"ia-render-month",children:Wk.map((A=>Be(e,0,A)))}),Ce=()=>{P(z-1),O((e=>{const A=parseInt(e.value)-1;return A==D[0].value&&oe(!0),{label:A.toString(),value:A.toString()}})),R((e=>{const A=parseInt(e.value)-1;return{label:A.toString(),value:A.toString()}}))},pe=()=>{P(z+1),O((e=>{const A=parseInt(e.value)+1;return{label:A.toString(),value:A.toString()}})),R((e=>{const A=parseInt(e.value)+1;return A==T[T.length-1].value&&re(!0),{label:A.toString(),value:A.toString()}}))},he=(e,A)=>{const t=parseInt(A.value);1===e?(O({label:t.toString(),value:t.toString()}),R({label:(t+1).toString(),value:(t+1).toString()})):2===e&&(R({label:t.toString(),value:t.toString()}),O({label:(t-1).toString(),value:(t-1).toString()})),Z(!0)},Ie=e=>{b(!0),_(e)};A.useEffect((()=>{"start month"===V&&K.current.focus(),"end month"===V&&U.current.focus()}),[V]);const Ee=e=>{!Y.current||Y.current.contains(e.target)||!G.current||G.current.contains(e.target)||e.target.closest(".close-icon")||e.target.closest(".month-range-picker-year-select-dropdown")||W||(b(!1),ne.current?(F(null),y(null),ee(null),te(null),ne.current=!1):(F($),y(Ae)))};A.useEffect((()=>(document.addEventListener("click",Ee),()=>{document.removeEventListener("click",Ee)})),[Q]);const ve=()=>{b(!1),F($),y(Ae)},me=()=>{b(!1),ee(x),te(w),null==s||s(x,w)};A.useLayoutEffect((()=>{if(C&&q.current){const e=window.scrollY||document.documentElement.scrollTop,{x:A,y:t,height:n,width:i}=q.current.getBoundingClientRect();ce({x:A,y:t+e,offsetHeight:n,offsetWidth:i})}}),[Q,C]),A.useEffect((()=>{L.value==D[0].value?oe(!0):oe(!1),X.value==T[T.length-1].value?re(!0):re(!1)}),[L,X]);const Qe=()=>t.jsxs("div",{className:"ia-month-picker-container",ref:G,children:[t.jsxs("div",{className:"ia-header",children:[t.jsx(Gd,{onClick:Ce,disableRipple:!0,disabled:ie,children:t.jsx(UE,{className:"left-icon"})}),c?t.jsx("div",{className:"month-range-picker-year-select-container",children:t.jsx(LE,{name:"year-select",isWithSearch:!0,withPortal:!0,dropDownPortalClassName:"month-range-picker-year-select-dropdown",isOpen:M,setIsOpen:k,currentOptions:D,setCurrentOptions:j,initialOptions:m,selectedOptions:L,setSelectedOptions:O,handleChange:e=>he(1,e),ref:J,minWidth:100})}):t.jsx("div",{className:"month-range-picker-selected-year",children:L.value}),c?t.jsx("div",{className:"month-range-picker-year-select-container",children:t.jsx(LE,{name:"month-select",isWithSearch:!0,withPortal:!0,dropDownPortalClassName:"month-range-picker-year-select-dropdown",isOpen:S,setIsOpen:N,currentOptions:T,setCurrentOptions:H,initialOptions:m,selectedOptions:X,setSelectedOptions:R,handleChange:e=>he(2,e),minWidth:100})}):t.jsx("div",{className:"month-range-picker-selected-year",children:X.value}),t.jsx(Gd,{onClick:pe,disableRipple:!0,disabled:ae,children:t.jsx(vI,{className:"right-icon"})})]}),t.jsxs("div",{className:"ia-render-month-container",children:[ue(parseInt(L.value)),t.jsx("hr",{className:"ia-vertical-line"}),ue(parseInt(X.value))]}),t.jsx("hr",{className:"ia-vertical-line"}),t.jsxs("div",{className:"ia-calendar-button",children:[t.jsx(Jh,{variant:"tertiary",onClick:ve,children:"Cancel"}),t.jsx(Jh,{onClick:me,children:"Apply"})]})]});return t.jsxs("div",{className:"impact-monthRangePicker-main-container label-flex-column ".concat(f?"disabled":""),children:[t.jsxs("div",{className:"monthRangePicker-label",children:["Select Month & Year",o&&t.jsx("span",{style:{color:"red"},children:"*"})]}),t.jsxs("div",{className:"monthRangePicker-container",style:{width:B},ref:q,children:[t.jsxs("div",{className:"monthRangePicker-input-container",ref:Y,children:[t.jsx("input",{type:"text",placeholder:"Start ".concat(a," - "),readonly:"",className:"dateRangePicker-input-start-date ".concat(x?"active":""," ").concat(u?"error":""),value:x?"".concat(de(x)," -"):"",ref:K,onClick:()=>Ie("start month"),onFocus:()=>_("start month")}),t.jsx("input",{type:"text",placeholder:"End ".concat(a),label:"EndDate",name:"endDate",readonly:"",className:"dateRangePicker-input-end-date ".concat(u?"error":""),value:w?de(w):"",ref:U,onClick:()=>Ie("end month"),onFocus:()=>_("end month")}),(x||w)&&t.jsx(Dv,{className:"close-icon",onClick:()=>{F(null),y(null),ee(null),te(null),ne.current=!0}})]}),Q&&(C?t.jsxs(xI,{container:p,children:[t.jsx("div",{className:"impact-portal-container ".concat(h),style:{top:ge.y||ge.top,left:ge.x||ge.left,bottom:ge.bottom,right:ge.right,width:ge.offsetWidth||"0px"},children:Qe()}),t.jsx("div",{className:"ia-select-container-v3-blanket",onClick:()=>b(!1)})]}):Qe())]})]})},e.Notification=e=>{let{title:n,anchor:i="right",isOpen:o,setIsOpen:a,className:r,handleClose:s,secondaryButtonLabel:l,onSecondaryButtonClick:g,primaryButtonLabel:c,onPrimaryButtonClick:d,onSettingButtonClick:f,handleSelectAll:B,handleMarkReadAll:u,handleMoveAllPending:C,handleNotificationDeleteAll:p,badgesList:h,notificationTabs:I=ZE,notificationPanels:E=VE,setNotificationPanels:v,handleTabChange:m=(()=>{}),moveToPendingDropdownOptions:Q,activeNotiTab:b,activeBadge:x,showBadgeLoader:F,showNotificationListLoader:w,displayFormat:y="MM/DD/YYYY",onNotificationScrollToBottom:z,scrollThreshold:P,isWithSearch:M=!0,isHoverOnCard:k=!1,isChipsExpandable:D=!1,isDeleteAlwaysVisible:j=!1,isEmptyState:L,emptyStateTitle:O,emptyStateDescription:S,customNotificationJsx:N}=e;const[T,H]=A.useState(!1),X=(e,A)=>e=>{("keydown"!==e.type||"Tab"!==e.key&&"Shift"!==e.key)&&(s?s():a(!o))};return t.jsx(lu,{anchor:i,open:o,onClose:X(),children:t.jsxs("div",{className:"impact-notification-container ".concat(T&&"impact-notification-container-expand"," ").concat(r),children:[t.jsx(qh,{title:n,expand:T,setExpand:H,toggleDrawer:X,anchor:i,showBadgeLoader:F}),t.jsx(qE,{expand:!c&&!l,onSettingButtonClick:f,badgesList:h,notificationTabs:I,notificationPanels:E,setNotificationPanels:v,handleSelectAll:B,handleMarkReadAll:u,handleMoveAllPending:C,handleNotificationDeleteAll:p,handleTabChange:m,moveToPendingDropdownOptions:Q,activeNotiTab:b,activeBadge:x,showBadgeLoader:F,showNotificationListLoader:w,displayFormat:y,onNotificationScrollToBottom:z,scrollThreshold:P,isWithSearch:M,isHoverOnCard:k,isChipsExpandable:D,isDeleteAlwaysVisible:j,isEmptyState:L,emptyStateTitle:O,emptyStateDescription:S,customNotificationJsx:N}),t.jsx(WE,{secondaryButtonLabel:l,onSecondaryButtonClick:g,primaryButtonLabel:c,onPrimaryButtonClick:d})]})})},e.OldTable=S3,e.Panel=gQ,e.Popover=function(e){let{children:A,title:n,onClose:i,primaryButtonLabel:o,secondaryButtonLabel:a,onPrimaryButtonClick:r,onSecondaryButtonClick:s,primaryButtonProps:l,secondaryButtonProps:g,...c}=e;return t.jsx(zg,{...c,onClose:i,slotProps:{paper:{className:"popover-container"}},children:t.jsxs("div",{className:"popover-content",children:[t.jsxs("div",{className:"popover-header",children:[t.jsx("span",{className:"popover-header-title",children:n}),i&&t.jsx(TI,{fontSize:"small",onClick:i,sx:{color:"#60697D",cursor:"pointer"}})]}),t.jsx("div",{className:"popover-body",children:A}),t.jsx("div",{className:"popover-footer",children:t.jsxs("div",{className:"popover-footer-content",children:[o||a?t.jsx("div",{className:"divider-line"}):null,t.jsxs("div",{className:"popover-footer-buttons",children:[a&&t.jsx(Jh,{variant:"tertiary",onClick:s,...g,children:a}),o&&t.jsx(Jh,{variant:"primary",onClick:r,...l,children:o})]})]})})]})})},e.ProgressBar=mk,e.Prompt=Zk,e.RadioButtonGroup=ZM,e.Select=LE,e.Sidebar=e=>{let{isOpen:n,setIsOpen:i,handleClose:o,routes:a,actionRoutes:r,parentActive:s,handleParentRouteChange:l,childActive:g,handleChildRouteChange:c,handleLogOut:d,isCloseWhenClickOutside:f=!0,isMemoryRouter:B=!0,visibleModulesCount:u}=e;const C=A.useRef(null);return A.useEffect((()=>{function e(e){C.current&&!C.current.contains(e.target)&&f&&n&&o()}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[n,f,o,i,n]),t.jsxs("nav",{ref:C,className:"impact-sidebar-container ".concat(n?"sidebar-open":""),children:[t.jsx("div",{className:"impact-sidebar-toggle-btns",role:"button",onClick:o,children:t.jsx("img",{src:n?"data:image/svg+xml,%3Csvg%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20x%3D%220.75%22%20y%3D%220.75%22%20width%3D%2238.5%22%20height%3D%2238.5%22%20rx%3D%228.25%22%20stroke%3D%22url%28%23paint0_linear_5810_5535%29%22%20stroke-width%3D%221.5%22%2F%3E%3Crect%20x%3D%2210.35%22%20y%3D%2210.85%22%20width%3D%2219.5763%22%20height%3D%2217.55%22%20rx%3D%222.15%22%20stroke%3D%22white%22%20stroke-width%3D%221.7%22%2F%3E%3Cline%20x1%3D%2218.85%22%20y1%3D%2211%22%20x2%3D%2218.85%22%20y2%3D%2228%22%20stroke%3D%22white%22%20stroke-width%3D%221.7%22%2F%3E%3Cline%20x1%3D%2212%22%20y1%3D%2215.15%22%20x2%3D%2217%22%20y2%3D%2215.15%22%20stroke%3D%22white%22%20stroke-width%3D%221.7%22%2F%3E%3Cline%20x1%3D%2212%22%20y1%3D%2219.15%22%20x2%3D%2217%22%20y2%3D%2219.15%22%20stroke%3D%22white%22%20stroke-width%3D%221.7%22%2F%3E%3Cline%20x1%3D%2212%22%20y1%3D%2223.15%22%20x2%3D%2217%22%20y2%3D%2223.15%22%20stroke%3D%22white%22%20stroke-width%3D%221.7%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_5810_5535%22%20x1%3D%2234.0909%22%20y1%3D%2225%22%20x2%3D%223.63636%22%20y2%3D%221.81818%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%2331416E%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23546CB1%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E":"data:image/svg+xml,%3Csvg%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20x%3D%220.75%22%20y%3D%220.75%22%20width%3D%2238.5%22%20height%3D%2238.5%22%20rx%3D%228.25%22%20stroke%3D%22url%28%23paint0_linear_5197_6568%29%22%20stroke-width%3D%221.5%22%2F%3E%3Cg%20clip-path%3D%22url%28%23clip0_5197_6568%29%22%3E%3Cpath%20d%3D%22M11%2026H29V24H11V26ZM11%2021H29V19H11V21ZM11%2014V16H29V14H11Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_5197_6568%22%20x1%3D%2234.0909%22%20y1%3D%2225%22%20x2%3D%223.63636%22%20y2%3D%221.81818%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%2331416E%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23546CB1%22%2F%3E%3C%2FlinearGradient%3E%3CclipPath%20id%3D%22clip0_5197_6568%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22%20transform%3D%22translate%288%208%29%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E"})}),t.jsx(iv,{isOpen:n,setIsOpen:i,routes:a,parentActive:s,handleParentRouteChange:l,childActive:g,handleChildRouteChange:c,isMemoryRouter:B,visibleModulesCount:u}),t.jsxs("div",{className:"impact-sidebar-actions-container",children:[r&&r.length>0?t.jsx(iv,{isOpen:n,setIsOpen:i,routes:r,parentActive:s,handleParentRouteChange:l,childActive:g,handleChildRouteChange:c,isMemoryRouter:B}):null,t.jsx(rv,{open:n,handleLogOut:d})]})]})},e.Slider=function(e){let{headerOrientation:n="top",header:i,label:o,inputPlaceholder:a,value:r=0,onChange:s,required:l,disabled:g,min:c=0,max:d=100,variant:f="default",inputPosition:B="inline",colorChangeThreshold:u,valueFormat:C,messageTimeout:p=5e3,...h}=e;const[I,E]=A.useState(""),[v,m]=A.useState(!1),Q=Array.isArray(r)&&"ranged"==f&&2==r.length;let b,x;const[F,w]=A.useState(null),[y,z]=A.useState(!1),[P,M]=A.useState(r);Array.isArray(r)&&2==r.length&&(b=r[0],x=r[1]);const{valueForThreshold:k,isAboveThreshold:D,trackSplitPercent:j,thresholdMarkerLeft:L}=A.useMemo((()=>{const e=Array.isArray(r)?Math.max(...r):r;if(null==u)return{valueForThreshold:e,isAboveThreshold:!1,trackSplitPercent:0,thresholdMarkerLeft:null};const A=Array.isArray(r)&&2===r.length,t=A?r[0]:void 0,n=A?r[1]:void 0,i=e>u;let o;o=A?u<=t?0:u>=n?100:(u-t)/(n-t)*100:i&&e>c?(u-c)/(e-c)*100:0;return{valueForThreshold:e,isAboveThreshold:i,trackSplitPercent:o,thresholdMarkerLeft:u>c&&u<d?(u-c)/(d-c)*100:null}}),[r,c,d,u]),O=(e,A)=>{const t=e.target.value;if(v&&(m(!1),E("")),isNaN(t))return E("Please enter a valid number"),void m(!0);e.persist();const n={...e,target:{...e.target,value:[]}};if("min"==A){if(Number(t)<c||Number(t)>x){const e=Number(t)<c?"Value must be at least ".concat(c):"Initial value must be less than the maximum value";return E(e),void m(!0)}n.target.value=[Number(t),x],s(n,A)}else if("max"==A){if(Number(t)>d||Number(t)<b){const e=Number(t)>d?"Value must not exceed ".concat(d):"Maximum value must be greater than the initial value";return E(e),void m(!0)}n.target.value=[b,Number(t)],s(n,A)}else s(e,A)};A.useEffect((()=>{if(!C)return;const[e,A]=C;M((t=>{const n=t=>"left"===e?"".concat(A).concat(t):"".concat(t).concat(A);return Array.isArray(t)?t.map(n):n(t)})(r))}),[C,r]);const S=e=>{w(!0)},N=e=>{w(null)};return A.useEffect((()=>{v&&setTimeout((()=>{m(!1)}),p)}),[v]),t.jsxs("div",{className:"slider-container",children:[t.jsxs("div",{className:"impact_slider_layout slider-container".concat("top"===n?"header-top":"header-left"," input-position-").concat(B),children:[Q&&"inline"==B&&t.jsx("div",{className:"input_layout_style ranged ranged-start",children:t.jsx("form",{noValidate:!0,autoComplete:"off",children:t.jsx(yc,{children:t.jsx(eC,{value:!F&&C?Q?P[0]:P:Q?b:r,onChange:e=>{O(e,Q?"min":"")},disabled:g,onFocus:S,onBlur:N})})})}),t.jsxs("div",{className:"impact_slider_container",children:[i&&t.jsx("div",{className:"impact_slider_layout_heading",children:i}),o&&t.jsxs("label",{className:"impact_slider_labelname",children:[o," ",l&&t.jsx("span",{style:{color:"red"},children:"*"})]}),t.jsxs("div",{className:"impact_slider_main_container ".concat(g&&"impact_slider_disabled"),children:[u&&t.jsx("span",{className:"impact_slider_threshold_marker",style:{left:"".concat(L,"%")},"aria-hidden":!0}),t.jsx(XC,{...h,defaultValue:r,value:r,onChange:s,disabled:g,max:d,min:c,"aria-label":"Default",valueLabelDisplay:"auto",sx:D?{color:$k,"& .MuiSlider-track":{background:"linear-gradient(to right, ".concat($k," 0%, ").concat($k," ").concat(j,"%, ").concat(eD," ").concat(j,"%, ").concat(eD," 100%)"),border:"none",transition:"none"},"& .MuiSlider-thumb":{backgroundColor:$k}}:void 0})]})]}),t.jsx("div",{className:"input_layout_style ".concat(Q?"ranged":"single"),children:t.jsx("form",{noValidate:!0,autoComplete:"off",children:t.jsxs(yc,{children:[(!Q||"bottom"==B)&&t.jsx(eC,{value:!F&&C?P:Q?b:r,onChange:e=>{O(e,Q?"min":"")},disabled:g,onFocus:S,onBlur:N}),Q&&t.jsx(eC,{value:!y&&C?P[1]:x,onChange:e=>{O(e,"max")},disabled:g,onFocus:()=>z(!0),onBlur:()=>z(!1)})]})})})]}),t.jsx("div",{className:"slider-info-message ".concat(v?"":"hidden"),children:v&&t.jsxs(t.Fragment,{children:[t.jsx(_k,{className:"slider-info-icon"}),t.jsx("span",{className:"slider-info-text",children:I})]})})]})},e.Stepper=sF,e.Switch=AD,e.Table=w3,e.Tabs=Zh,e.Tag=eE,e.TagGroup=function(e){let{children:A}=e;return t.jsx("div",{className:"tag-group-container",children:A})},e.TextArea=H2,e.Toast=wE,e.Tooltip=AE,e.sizeConventions=bk,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
307
|
+
*/let ho=M();ho.MouseWheelZoom=ho.MouseWheelZoom||{compose:function(e){-1===uo.indexOf(e)&&(uo.push(e),so(e,"afterGetContainer",po))}},ho.MouseWheelZoom.compose(ho.Chart);let Io=M();Io.Navigator=Io.Navigator||zA,Io.OrdinalAxis=Io.OrdinalAxis||JA,Io.RangeSelector=Io.RangeSelector||Dt,Io.Scrollbar=Io.Scrollbar||rA,Io.stockChart=Io.stockChart||$t.stockChart,Io.StockChart=Io.StockChart||Io.stockChart,Io.extend(Io.StockChart,$t),K.compose(Io.Series,Io.Axis,Io.Point),Vn.compose(Io.Renderer),In.compose(Io.Series),Io.Navigator.compose(Io.Chart,Io.Axis,Io.Series),Io.OrdinalAxis.compose(Io.Axis,Io.Series,Io.Chart),Io.RangeSelector.compose(Io.Axis,Io.Chart),Io.Scrollbar.compose(Io.Axis),Io.StockChart.compose(Io.Chart,Io.Axis,Io.Series,Io.SVGRenderer);let Eo=M();return z.default})()))})),q3=B(U3),W3=u((function(e,A){!function(A,t){e.exports=t(A._Highcharts,A._Highcharts.Color,A._Highcharts.SeriesRegistry)}("u"<typeof window?f:window,((e,A,t)=>(()=>{var n,i,o,a={512:e=>{e.exports=t},620:e=>{e.exports=A},944:A=>{A.exports=e}},r={};function s(e){var A=r[e];if(void 0!==A)return A.exports;var t=r[e]={exports:{}};return a[e](t,t.exports,s),t.exports}s.n=e=>{var A=e&&e.__esModule?()=>e.default:()=>e;return s.d(A,{a:A}),A},s.d=(e,A)=>{for(var t in A)s.o(A,t)&&!s.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:A[t]})},s.o=(e,A)=>Object.prototype.hasOwnProperty.call(e,A);var l={};s.d(l,{default:()=>se});var g=s(944),c=s.n(g),d=s(620),f=s.n(d);(n=i||(i={})).getCenterOfPoints=function(e){let A=e.reduce(((e,A)=>(e.x+=A.x,e.y+=A.y,e)),{x:0,y:0});return{x:A.x/e.length,y:A.y/e.length}},n.getDistanceBetweenPoints=function(e,A){return Math.sqrt(Math.pow(A.x-e.x,2)+Math.pow(A.y-e.y,2))},n.getAngleBetweenPoints=function(e,A){return Math.atan2(A.x-e.x,A.y-e.y)},n.pointInPolygon=function({x:e,y:A},t){let n,i,o=t.length,a=!1;for(n=0,i=o-1;n<o;i=n++){let[o,r]=t[n],[s,l]=t[i];r>A!=l>A&&e<(s-o)*(A-r)/(l-r)+o&&(a=!a)}return a};let B=i,{getAngleBetweenPoints:u,getCenterOfPoints:C,getDistanceBetweenPoints:p}=B,{correctFloat:h}=c();!function(e){function A(e,A){let t=Math.pow(10,A);return Math.round(e*t)/t}function t(e){if(e<=0)throw Error("radius of circle must be a positive number.");return h(Math.PI*e*e)}function n(e,A){return e*e*Math.acos(1-A/e)-(e-A)*Math.sqrt(A*(2*e-A))}function i(e,t){let n=p(e,t),i=e.r,o=t.r,a=[];if(n<i+o&&n>Math.abs(i-o)){let r=i*i,s=(r-o*o+n*n)/(2*n),l=Math.sqrt(r-s*s),g=e.x,c=t.x,d=e.y,f=t.y,B=g+s*(c-g)/n,u=d+s*(f-d)/n,C=-l/n*(f-d),p=-l/n*(c-g);a=[{x:A(B+C,14),y:A(u-p,14)},{x:A(B-C,14),y:A(u+p,14)}]}return a}function o(e){return e.reduce(((e,A,t,n)=>{let o=n.slice(t+1).reduce(((e,n,o)=>{let a=[t,o+t+1];return e.concat(i(A,n).map((e=>(e.indexes=a,e))))}),[]);return e.concat(o)}),[])}function a(e,A){return p(e,A)<=A.r+1e-10}function r(e,A){return!A.some((function(A){return!a(e,A)}))}function s(e){return o(e).filter((function(A){return r(A,e)}))}e.round=A,e.getAreaOfCircle=t,e.getCircularSegmentArea=n,e.getOverlapBetweenCircles=function(e,i,o){let a=0;if(o<e+i){if(o<=Math.abs(i-e))a=t(e<i?e:i);else{let A=(e*e-i*i+o*o)/(2*o);a=n(e,e-A)+n(i,i-(o-A))}a=A(a,14)}return a},e.getCircleCircleIntersection=i,e.getCirclesIntersectionPoints=o,e.isCircle1CompletelyOverlappingCircle2=function(e,A){return p(e,A)+A.r<e.r+1e-10},e.isPointInsideCircle=a,e.isPointInsideAllCircles=r,e.isPointOutsideAllCircles=function(e,A){return!A.some((function(A){return a(e,A)}))},e.getCirclesIntersectionPolygon=s,e.getAreaOfIntersectionBetweenCircles=function(e){let A,t=s(e);if(t.length>1){let n=C(t),i=(t=t.map((function(e){return e.angle=u(n,e),e})).sort((function(e,A){return A.angle-e.angle})))[t.length-1],o=t.reduce((function(A,t){let{startPoint:n}=A,i=C([n,t]),o=t.indexes.filter((function(e){return n.indexes.indexOf(e)>-1})).reduce((function(A,o){let a=e[o],r=u(a,t),s=u(a,n),l=s-(s-r+(s<r?2*Math.PI:0))/2,g=p(i,{x:a.x+a.r*Math.sin(l),y:a.y+a.r*Math.cos(l)}),{r:c}=a;return g>2*c&&(g=2*c),(!A||A.width>g)&&(A={r:c,largeArc:+(g>c),width:g,x:t.x,y:t.y}),A}),null);if(o){let{r:e}=o;A.arcs.push(["A",e,e,0,o.largeArc,1,o.x,o.y]),A.startPoint=t}return A}),{startPoint:i,arcs:[]}).arcs;0===o.length||1===o.length||(o.unshift(["M",i.x,i.y]),A={center:n,d:o})}return A}}(o||(o={}));let I=o,E=function(e,A){let{animatableAttribs:t,onComplete:n,css:i,renderer:o}=A,a=e.series&&e.series.chart.hasRendered?void 0:e.series&&e.series.options.animation,r=e.graphic;if(A.attribs={...A.attribs,class:e.getClassName()},e.shouldDraw())r||(e.graphic=r="text"===A.shapeType?o.text():"image"===A.shapeType?o.image(A.imageUrl||"").attr(A.shapeArgs||{}):o[A.shapeType](A.shapeArgs||{}),r.add(A.group)),i&&r.css(i),r.attr(A.attribs).animate(t,!A.isNew&&a,n);else if(r){let A=()=>{e.graphic=r=r&&r.destroy(),"function"==typeof n&&n()};Object.keys(t).length?r.animate(t,void 0,(()=>A())):A()}};var v=s(512),m=s.n(v);let{scatter:{prototype:{pointClass:Q}}}=m().seriesTypes,{isNumber:b}=c(),{getAreaOfCircle:x,getCircleCircleIntersection:F,getOverlapBetweenCircles:w,isPointInsideAllCircles:y,isPointInsideCircle:z,isPointOutsideAllCircles:P}=I,{getDistanceBetweenPoints:M}=B,{extend:k,isArray:D,isNumber:j,isObject:L,isString:O}=c();function S(e){let A={};return e.filter((e=>2===e.sets.length)).forEach((e=>{e.sets.forEach(((t,n,i)=>{L(A[t])||(A[t]={totalOverlap:0,overlapping:{}}),A[t]={totalOverlap:(A[t].totalOverlap||0)+e.value,overlapping:{...A[t].overlapping||{},[i[1-n]]:e.value}}}))})),e.filter(X).forEach((e=>{let t=A[e.sets[0]];k(e,t)})),e}function N(e,A,t,n,i){let o,a,r=e(A),s=e(t),l=i||100,g=n||1e-10,c=t-A,d=1;if(A>=t)throw Error("a must be smaller than b.");if(r*s>0)throw Error("f(a) and f(b) must have opposite signs.");if(0===r)o=A;else if(0===s)o=t;else for(;d++<=l&&0!==a&&c>g;)c=(t-A)/2,r*(a=e(o=A+c))>0?A=o:t=o;return o}function T(e){let A=e.slice(0,-1),t=A.length,n=[],i=(e,A)=>(e.sum+=A[e.i],e);for(let e=0;e<t;e++)n[e]=A.reduce(i,{sum:0,i:e}).sum/t;return n}function H(e,A,t){let n=e+A;return t<=0?n:x(e<A?e:A)<=t?0:N((n=>t-w(e,A,n)),0,n)}function X(e){return D(e.sets)&&1===e.sets.length}function R(e){let A={};return L(e)&&j(e.value)&&e.value>-1&&D(e.sets)&&e.sets.length>0&&!e.sets.some((function(e){let t=!1;return!A[e]&&O(e)?A[e]=!0:t=!0,t}))}function Y(e,A){return A.reduce((function(A,t){let n=0;if(t.sets.length>1){let A=t.value-function(e){let A=0;if(2===e.length){let t=e[0],n=e[1];A=w(t.r,n.r,M(t,n))}return A}(t.sets.map((function(A){return e[A]})));n=Math.round(A*A*1e11)/1e11}return A+n}),0)}function G(e,A){return void 0!==A.totalOverlap&&void 0!==e.totalOverlap?A.totalOverlap-e.totalOverlap:NaN}let J={geometry:B,geometryCircles:I,addOverlapToSets:S,getCentroid:T,getDistanceBetweenCirclesByOverlap:H,getLabelWidth:function(e,A,t){let n=A.reduce(((e,A)=>Math.min(A.r,e)),1/0),i=t.filter((A=>!z(e,A))),o=function(t,n){return N((o=>{let a={x:e.x+n*o,y:e.y};return-(t-o)+(y(a,A)&&P(a,i)?0:Number.MAX_VALUE)}),0,t)};return 2*Math.min(o(n,-1),o(n,1))},getMarginFromCircles:function(e,A,t){let n=A.reduce(((A,t)=>{let n=t.r-M(e,t);return n<=A?n:A}),Number.MAX_VALUE);return t.reduce(((A,t)=>{let n=M(e,t)-t.r;return n<=A?n:A}),n)},isSet:X,layoutGreedyVenn:function(e){let A=[],t={};e.filter((e=>1===e.sets.length)).forEach((e=>{t[e.sets[0]]=e.circle={x:Number.MAX_VALUE,y:Number.MAX_VALUE,r:Math.sqrt(e.value/Math.PI)}}));let n=(e,t)=>{let n=e.circle;n&&(n.x=t.x,n.y=t.y),A.push(e)};S(e);let i=e.filter(X).sort(G);n(i.shift(),{x:0,y:0});let o=e.filter((e=>2===e.sets.length));for(let e of i){let i=e.circle;if(!i)continue;let a=i.r,r=e.overlapping;n(e,A.reduce(((e,n,s)=>{let l=n.circle;if(!l||!r)return e;let g=r[n.sets[0]],c=H(a,l.r,g),d=[{x:l.x+c,y:l.y},{x:l.x-c,y:l.y},{x:l.x,y:l.y+c},{x:l.x,y:l.y-c}];for(let e of A.slice(s+1)){let A=e.circle,t=r[e.sets[0]];if(!A)continue;let n=H(a,A.r,t);d=d.concat(F({x:l.x,y:l.y,r:c},{x:A.x,y:A.y,r:n}))}for(let A of d){i.x=A.x,i.y=A.y;let n=Y(t,o);n<e.loss&&(e.loss=n,e.coordinates=A)}return e}),{loss:Number.MAX_VALUE,coordinates:void 0}).coordinates)}return t},loss:Y,nelderMead:function(e,A){let t=function(e,A){return e.fx-A.fx},n=(e,A,t,n)=>A.map(((A,i)=>e*A+t*n[i])),i=(A,t)=>(t.fx=e(t),A[A.length-1]=t,A),o=A=>{let t=A[0];return A.map((A=>{let i=n(.5,t,.5,A);return i.fx=e(i),i}))},a=(A,t,i,o)=>{let a=n(i,A,o,t);return a.fx=e(a),a},r=(A=>{let t=A.length,n=Array(t+1);n[0]=A,n[0].fx=e(A);for(let i=0;i<t;++i){let t=A.slice();t[i]=t[i]?1.05*t[i]:.001,t.fx=e(t),n[i+1]=t}return n})(A);for(let e=0;e<100;e++){r.sort(t);let e=r[r.length-1],A=T(r),n=a(A,e,2,-1);if(n.fx<r[0].fx){let t=a(A,e,3,-2);r=i(r,t.fx<n.fx?t:n)}else if(n.fx>=r[r.length-2].fx){let t;r=n.fx>e.fx?(t=a(A,e,.5,.5)).fx<e.fx?i(r,t):o(r):(t=a(A,e,1.5,-.5)).fx<n.fx?i(r,t):o(r)}else r=i(r,n)}return r[0]},processVennData:function(e,A){let t=D(e)?e:[],n=t.reduce((function(e,A){var t;return A.sets&&R(t=A)&&X(t)&&t.value>0&&-1===e.indexOf(A.sets[0])&&e.push(A.sets[0]),e}),[]).sort(),i=t.reduce((function(e,t){return t.sets&&R(t)&&!t.sets.some((function(e){return-1===n.indexOf(e)}))&&(e[t.sets.sort().join(A)]={sets:t.sets,value:t.value||0}),e}),{});return n.reduce((function(e,t,n,i){return i.slice(n+1).forEach((function(n){e.push(t+A+n)})),e}),[]).forEach((function(e){if(!i[e]){let t={sets:e.split(A),value:0};i[e]=t}})),Object.keys(i).map((function(e){return i[e]}))},sortByTotalOverlap:G},{animObject:K}=c(),{parse:U}=f(),{getAreaOfIntersectionBetweenCircles:q,getCirclesIntersectionPolygon:W,isCircle1CompletelyOverlappingCircle2:Z,isPointInsideAllCircles:V,isPointOutsideAllCircles:_}=I,{getCenterOfPoints:$}=B,{scatter:ee}=m().seriesTypes,{addEvent:Ae,extend:te,isArray:ne,isNumber:ie,isObject:oe,merge:ae}=c();class re extends ee{static getLabelPosition(e,A){let t=e.reduce(((t,n)=>{let i=n.r/2;return[{x:n.x,y:n.y},{x:n.x+i,y:n.y},{x:n.x-i,y:n.y},{x:n.x,y:n.y+i},{x:n.x,y:n.y-i}].reduce(((t,n)=>{let i=J.getMarginFromCircles(n,e,A);return t.margin<i&&(t.point=n,t.margin=i),t}),t)}),{point:void 0,margin:-Number.MAX_VALUE}).point,n=J.nelderMead((t=>-J.getMarginFromCircles({x:t[0],y:t[1]},e,A)),[t.x,t.y]);return V(t={x:n[0],y:n[1]},e)&&_(t,A)||(t=e.length>1?$(W(e)):{x:e[0].x,y:e[0].y}),t}static getLabelValues(e,A){let t=e.sets,n=A.reduce(((e,A)=>{let n=t.indexOf(A.sets[0])>-1;return A.circle&&e[n?"internal":"external"].push(A.circle),e}),{internal:[],external:[]});n.external=n.external.filter((e=>n.internal.some((A=>!Z(e,A)))));let i=re.getLabelPosition(n.internal,n.external);return{position:i,width:J.getLabelWidth(i,n.internal,n.external)}}static layout(e){let A={},t={};if(e.length>0){let n=J.layoutGreedyVenn(e),i=e.filter(J.isSet);for(let o of e){let e=o.sets,a=e.join(),r=J.isSet(o)?n[a]:q(e.map((e=>n[e])));r&&(A[a]=r,t[a]=re.getLabelValues(o,i))}}return{mapOfIdToShape:A,mapOfIdToLabelValues:t}}static getScale(e,A,t){let n=t.bottom-t.top,i=t.right-t.left,o=(t.right+t.left)/2,a=(t.top+t.bottom)/2,r=Math.min(i>0?1/i*e:1,n>0?1/n*A:1);return{scale:r,centerX:e/2-o*r,centerY:A/2-a*r}}static updateFieldBoundaries(e,A){let t=A.x-A.r,n=A.x+A.r,i=A.y+A.r,o=A.y-A.r;return(!ie(e.left)||e.left>t)&&(e.left=t),(!ie(e.right)||e.right<n)&&(e.right=n),(!ie(e.top)||e.top>o)&&(e.top=o),(!ie(e.bottom)||e.bottom<i)&&(e.bottom=i),e}animate(e){if(!e){let e=K(this.options.animation);for(let A of this.points){let t=A.shapeArgs;if(A.graphic&&t){let n={},i={};t.d?n.opacity=.001:(n.r=0,i.r=t.r),A.graphic.attr(n).animate(i,e),t.d&&setTimeout((()=>{A?.graphic?.animate({opacity:1})}),e.duration)}}}}drawPoints(){let e=this.chart,A=this.group,t=this.points||[],n=e.renderer;for(let i of t){let t={zIndex:ne(i.sets)?i.sets.length:0},o=i.shapeArgs;e.styledMode||te(t,this.pointAttribs(i,i.state)),E(i,{isNew:!i.graphic,animatableAttribs:o,attribs:t,group:A,renderer:n,shapeType:o?.d?"path":"circle"})}}init(){ee.prototype.init.apply(this,arguments),delete this.opacity}pointAttribs(e,A){let t=this.options||{},n=e?.options||{},i=A&&t.states[A]||{},o=ae(t,{color:e?.color},n,i);return{fill:U(o.color).brighten(o.brightness).get(),opacity:o.opacity,stroke:o.borderColor,"stroke-width":o.borderWidth,dashstyle:o.borderDashStyle}}translate(){let e=this.chart;this.dataTable.modified=this.dataTable,this.generatePoints();let A=J.processVennData(this.options.data,re.splitter),{mapOfIdToShape:t,mapOfIdToLabelValues:n}=re.layout(A),i=Object.keys(t).filter((e=>{let A=t[e];return A&&ie(A.r)})).reduce(((e,A)=>re.updateFieldBoundaries(e,t[A])),{top:0,bottom:0,left:0,right:0}),o=re.getScale(e.plotWidth,e.plotHeight,i),a=o.scale,r=o.centerX,s=o.centerY;for(let e of this.points){let A,i=ne(e.sets)?e.sets:[],o=i.join(),l=t[o],g=n[o]||{},c=e.options?.dataLabels,d=g.width,f=g.position;if(l){if(l.r)A={x:r+l.x*a,y:s+l.y*a,r:l.r*a};else if(l.d){let e=l.d;e.forEach((e=>{"M"===e[0]?(e[1]=r+e[1]*a,e[2]=s+e[2]*a):"A"===e[0]&&(e[1]=e[1]*a,e[2]=e[2]*a,e[6]=r+e[6]*a,e[7]=s+e[7]*a)})),A={d:e}}f?(f.x=r+f.x*a,f.y=s+f.y*a):f={},ie(d)&&(d=Math.round(d*a))}e.shapeArgs=A,f&&A&&(e.plotX=f.x,e.plotY=f.y),d&&A&&(e.dlOptions=ae(!0,{style:{width:d}},oe(c,!0)?c:void 0,{zIndex:void 0})),e.name=e.options.name||i.join("∩")}}}re.splitter="highcharts-split",re.defaultOptions=ae(ee.defaultOptions,{borderColor:"#cccccc",borderDashStyle:"solid",borderWidth:1,brighten:0,clip:!1,colorByPoint:!0,dataLabels:{enabled:!0,verticalAlign:"middle",formatter:function(){return this.point.name}},inactiveOtherPoints:!0,marker:!1,opacity:.75,showInLegend:!1,legendType:"point",states:{hover:{opacity:1,borderColor:"#333333"},select:{color:"#cccccc",borderColor:"#000000",animation:!1},inactive:{opacity:.075}},tooltip:{pointFormat:"{point.name}: {point.value}"},legendSymbol:"rectangle"}),te(re.prototype,{axisTypes:[],directTouch:!0,isCartesian:!1,pointArrayMap:["value"],pointClass:class extends Q{isValid(){return b(this.value)}shouldDraw(){return!!this.shapeArgs}},utils:J}),Ae(re,"afterSetOptions",(function(e){let A=e.options.states||{};if(this.is("venn"))for(let e of Object.keys(A))A[e].halo=!1})),m().registerSeriesType("venn",re);let se=c();return l.default})()))})),Z3=B(W3),V3=u((function(e,A){!function(A,t){e.exports=t(A._Highcharts,A._Highcharts.Templating,A._Highcharts.Color,A._Highcharts.SeriesRegistry,A._Highcharts.SVGElement,A._Highcharts.Series)}("u"<typeof window?f:window,((e,A,t,n,i,o)=>(()=>{var a,r,s={28:e=>{e.exports=i},512:e=>{e.exports=n},620:e=>{e.exports=t},820:e=>{e.exports=o},944:A=>{A.exports=e},984:e=>{e.exports=A}},l={};function g(e){var A=l[e];if(void 0!==A)return A.exports;var t=l[e]={exports:{}};return s[e](t,t.exports,g),t.exports}g.n=e=>{var A=e&&e.__esModule?()=>e.default:()=>e;return g.d(A,{a:A}),A},g.d=(e,A)=>{for(var t in A)g.o(A,t)&&!g.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:A[t]})},g.o=(e,A)=>Object.prototype.hasOwnProperty.call(e,A);var c={};g.d(c,{default:()=>Te});var d=g(944),f=g.n(d);let B={mainBreadcrumb:"Main"};var u=g(984);let{format:C}=g.n(u)(),{composed:p}=f(),{addEvent:h,defined:I,extend:E,fireEvent:v,isString:m,merge:Q,objectEach:b,pick:x,pushUnique:F}=f();function w(){if(this.breadcrumbs){let e=this.resetZoomButton&&this.resetZoomButton.getBBox(),A=this.breadcrumbs.options;e&&"right"===A.position.align&&"plotBox"===A.relativeTo&&this.breadcrumbs.alignBreadcrumbsGroup(-e.width-A.buttonSpacing)}}function y(){this.breadcrumbs&&(this.breadcrumbs.destroy(),this.breadcrumbs=void 0)}function z(){let e=this.breadcrumbs;if(e&&!e.options.floating&&e.level){let A=e.options,t=A.buttonTheme,n=(t.height||0)+2*(t.padding||0)+A.buttonSpacing,i=A.position.verticalAlign;"bottom"===i?(this.marginBottom=(this.marginBottom||0)+n,e.yOffset=n):"middle"!==i?(this.plotTop+=n,e.yOffset=-n):e.yOffset=void 0}}function P(){this.breadcrumbs&&this.breadcrumbs.redraw()}function M(e){!0===e.resetSelection&&this.breadcrumbs&&this.breadcrumbs.alignBreadcrumbsGroup()}class k{static compose(e,A){F(p,"Breadcrumbs")&&(h(e,"destroy",y),h(e,"afterShowResetZoom",w),h(e,"getMargins",z),h(e,"redraw",P),h(e,"selection",M),E(A.lang,B))}constructor(e,A){this.elementList={},this.isDirty=!0,this.level=0,this.list=[];const t=Q(e.options.drilldown&&e.options.drilldown.drillUpButton,k.defaultOptions,e.options.navigation&&e.options.navigation.breadcrumbs,A);this.chart=e,this.options=t||{}}updateProperties(e){this.setList(e),this.setLevel(),this.isDirty=!0}setList(e){this.list=e}setLevel(){this.level=this.list.length&&this.list.length-1}getLevel(){return this.level}getButtonText(e){let A=this.chart,t=this.options,n=A.options.lang,i=x(t.format,t.showFullPath?"{level.name}":"← {level.name}"),o=n&&x(n.drillUpText,n.mainBreadcrumb),a=t.formatter&&t.formatter(e)||C(i,{level:e.levelOptions},A)||"";return(m(a)&&!a.length||"← "===a)&&I(o)&&(a=t.showFullPath?o:"← "+o),a}redraw(){this.isDirty&&this.render(),this.group&&this.group.align(),this.isDirty=!1}render(){let e=this.chart,A=this.options;!this.group&&A&&(this.group=e.renderer.g("breadcrumbs-group").addClass("highcharts-no-tooltip highcharts-breadcrumbs").attr({zIndex:A.zIndex}).add()),A.showFullPath?this.renderFullPathButtons():this.renderSingleButton(),this.alignBreadcrumbsGroup()}renderFullPathButtons(){this.destroySingleButton(),this.resetElementListState(),this.updateListElements(),this.destroyListElements()}renderSingleButton(){let e=this.chart,A=this.list,t=this.options.buttonSpacing;this.destroyListElements();let n=this.group?this.group.getBBox().width:t,i=A[A.length-2];!e.drillUpButton&&this.level>0?e.drillUpButton=this.renderButton(i,n,t):e.drillUpButton&&(this.level>0?this.updateSingleButton():this.destroySingleButton())}alignBreadcrumbsGroup(e){if(this.group){let A=this.options,t=A.buttonTheme,n=A.position,i="chart"===A.relativeTo||"spacingBox"===A.relativeTo?void 0:"plotBox",o=this.group.getBBox(),a=2*(t.padding||0)+A.buttonSpacing;n.width=o.width+a,n.height=o.height+a;let r=Q(n);e&&(r.x+=e),this.options.rtl&&(r.x+=n.width),r.y=x(r.y,this.yOffset,0),this.group.align(r,!0,i)}}renderButton(e,A,t){let n=this,i=this.chart,o=n.options,a=Q(o.buttonTheme),r=i.renderer.button(n.getButtonText(e),A,t,(function(A){let t,i=o.events&&o.events.click;i&&(t=i.call(n,A,e)),!1!==t&&(o.showFullPath?A.newLevel=e.level:A.newLevel=n.level-1,v(n,"up",A))}),a).addClass("highcharts-breadcrumbs-button").add(n.group);return i.styledMode||r.attr(o.style),r}renderSeparator(e,A){let t=this.chart,n=this.options.separator,i=t.renderer.label(n.text,e,A,void 0,void 0,void 0,!1).addClass("highcharts-breadcrumbs-separator").add(this.group);return t.styledMode||i.css(n.style),i}update(e){Q(!0,this.options,e),this.destroy(),this.isDirty=!0}updateSingleButton(){let e=this.chart,A=this.list[this.level-1];e.drillUpButton&&e.drillUpButton.attr({text:this.getButtonText(A)})}destroy(){this.destroySingleButton(),this.destroyListElements(!0),this.group&&this.group.destroy(),this.group=void 0}destroyListElements(e){let A=this.elementList;b(A,((t,n)=>{(e||!A[n].updated)&&((t=A[n]).button&&t.button.destroy(),t.separator&&t.separator.destroy(),delete t.button,delete t.separator,delete A[n])})),e&&(this.elementList={})}destroySingleButton(){this.chart.drillUpButton&&(this.chart.drillUpButton.destroy(),this.chart.drillUpButton=void 0)}resetElementListState(){b(this.elementList,(e=>{e.updated=!1}))}updateListElements(){let e,A,t=this.elementList,n=this.options.buttonSpacing,i=this.list,o=this.options.rtl,a=o?-1:1,r=function(e,A){return a*e.getBBox().width+a*A},s=function(e,A,t){e.translate(A-e.getBBox().width,t)},l=this.group?r(this.group,n):n;for(let g=0,c=i.length;g<c;++g){let d,f,B=g===c-1;t[(A=i[g]).level]?(d=(e=t[A.level]).button,e.separator||B?e.separator&&B&&(e.separator.destroy(),delete e.separator):(l+=a*n,e.separator=this.renderSeparator(l,n),o&&s(e.separator,l,n),l+=r(e.separator,n)),t[A.level].updated=!0):(d=this.renderButton(A,l,n),o&&s(d,l,n),l+=r(d,n),B||(f=this.renderSeparator(l,n),o&&s(f,l,n),l+=r(f,n)),t[A.level]={button:d,separator:f,updated:!0}),d&&d.setState(2*!!B)}}}k.defaultOptions={buttonSpacing:5,buttonTheme:{fill:"none",height:18,padding:2,"stroke-width":0,zIndex:7,states:{select:{fill:"none"}},style:{color:"#334eff"}},floating:!1,format:void 0,relativeTo:"plotBox",rtl:!1,position:{align:"left",verticalAlign:"top",x:0,y:void 0},separator:{text:"/",style:{color:"#666666",fontSize:"0.8em"}},showFullPath:!0,style:{},useHTML:!1,zIndex:7};var D=g(620),j=g.n(D),L=g(512),O=g.n(L),S=g(28),N=g.n(S);let{column:{prototype:T}}=O().seriesTypes,{addEvent:H,defined:X}=f();var R=a||(a={});function Y(e){let A=this.series,t=A.chart.renderer;this.moveToTopOnHover&&this.graphic&&(A.stateMarkerGraphic||(A.stateMarkerGraphic=new(N())(t,"use").css({pointerEvents:"none"}).add(this.graphic.parentGroup)),"hover"===e?.state?(this.graphic.attr({id:this.id}),A.stateMarkerGraphic.attr({href:`${t.url}#${this.id}`,visibility:"visible"})):A.stateMarkerGraphic.attr({href:""}))}R.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&this.value!==1/0&&this.value!==-1/0&&(void 0===this.value||!isNaN(this.value))}},R.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(e){let A={};return X(e.color)&&(!e.state||"normal"===e.state)&&(A[this.colorProp||"fill"]=e.color),A},pointAttribs:T.pointAttribs},R.compose=function(e){return H(e.prototype.pointClass,"afterSetState",Y),e};let G=a;var J=g(820),K=g.n(J);let{pie:{prototype:{pointClass:U}},scatter:{prototype:{pointClass:q}}}=O().seriesTypes,{extend:W,isNumber:Z,pick:V}=f();class _ extends q{constructor(){super(...arguments),this.groupedPointsAmount=0,this.shapeType="rect"}draw(e){!function(e,A){let{animatableAttribs:t,onComplete:n,css:i,renderer:o}=A,a=e.series&&e.series.chart.hasRendered?void 0:e.series&&e.series.options.animation,r=e.graphic;if(A.attribs={...A.attribs,class:e.getClassName()},e.shouldDraw())r||(e.graphic=r="text"===A.shapeType?o.text():"image"===A.shapeType?o.image(A.imageUrl||"").attr(A.shapeArgs||{}):o[A.shapeType](A.shapeArgs||{}),r.add(A.group)),i&&r.css(i),r.attr(A.attribs).animate(t,!A.isNew&&a,n);else if(r){let A=()=>{e.graphic=r=r&&r.destroy(),"function"==typeof n&&n()};Object.keys(t).length?r.animate(t,void 0,(()=>A())):A()}}(this,e)}getClassName(){let e=this.series,A=e.options,t=super.getClassName();return this.node.level<=e.nodeMap[e.rootNode].level&&this.node.children.length?t+=" highcharts-above-level":this.node.isGroup||this.node.isLeaf||e.nodeMap[e.rootNode].isGroup||V(A.interactByLeaf,!A.allowTraversingTree)?this.node.isGroup||this.node.isLeaf||e.nodeMap[e.rootNode].isGroup||(t+=" highcharts-internal-node"):t+=" highcharts-internal-node-interactive",t}isValid(){return!(!this.id&&!Z(this.value))}setState(e){super.setState.apply(this,arguments),this.graphic&&this.graphic.attr({zIndex:+("hover"===e)})}shouldDraw(){return Z(this.plotY)&&null!==this.y}}W(_.prototype,{setVisible:U.prototype.setVisible});let{isString:$}=f(),ee={allowTraversingTree:!1,animationLimit:250,borderRadius:0,showInLegend:!1,marker:void 0,colorByPoint:!1,dataLabels:{enabled:!0,formatter:function(){let e=this&&this.point?this.point:{};return $(e.name)?e.name:""},headers:!1,inside:!0,padding:2,verticalAlign:"middle",style:{textOverflow:"ellipsis"}},tooltip:{headerFormat:"",pointFormat:"<b>{point.name}</b>: {point.value}<br/>",clusterFormat:"+ {point.groupedPointsAmount} more...<br/>"},ignoreHiddenPoint:!0,layoutAlgorithm:"sliceAndDice",layoutStartingDirection:"vertical",alternateStartingDirection:!1,levelIsConstant:!0,traverseUpButton:{position:{align:"right",x:-10,y:10}},borderColor:"#e6e6e6",borderWidth:1,colorKey:"colorValue",opacity:.15,states:{hover:{borderColor:"#999999",brightness:.1*!O().seriesTypes.heatmap,halo:!1,opacity:.75,shadow:!1}},legendSymbol:"rectangle",traverseToLeaf:!1,cluster:{className:void 0,color:void 0,enabled:!1,pixelWidth:void 0,pixelHeight:void 0,name:void 0,reductionFactor:void 0,minimumClusterSize:5,layoutAlgorithm:{distance:0,gridSize:0,kmeansThreshold:0},marker:{lineWidth:0,radius:0}}};(r||(r={})).recursive=function e(A,t,n){let i=t.call(n||this,A);!1!==i&&e(i,t,n)};let Ae=r,{extend:te,isArray:ne,isNumber:ie,isObject:oe,merge:ae,pick:re,relativeLength:se}=f(),{parse:le}=j(),{composed:ge,noop:ce}=f(),{column:de,scatter:fe}=O().seriesTypes,{getColor:Be,getLevelOptions:ue,updateRootId:Ce}={getColor:function(e,A){let t,n,i,o,a,r,s=A.index,l=A.mapOptionsToLevel,g=A.parentColor,c=A.parentColorIndex,d=A.series,f=A.colors,B=A.siblings,u=d.points,C=d.chart.options.chart;if(e){let p;t=u[e.i],n=l[e.level]||{},t&&n.colorByPoint&&(o=t.index%(f?f.length:C.colorCount),i=f&&f[o]),d.chart.styledMode||(a=re(t&&t.options.color,n&&n.color,i,g&&((p=n&&n.colorVariation)&&"brightness"===p.key&&s&&B?j().parse(g).brighten(p.to*(s/B)).get():g),d.color)),r=re(t&&t.options.colorIndex,n&&n.colorIndex,o,c,A.colorIndex)}return{color:a,colorIndex:r}},getLevelOptions:function(e){let A,t,n,i,o,a,r={};if(oe(e))for(i=ie(e.from)?e.from:1,a=e.levels,t={},A=oe(e.defaults)?e.defaults:{},ne(a)&&(t=a.reduce(((e,t)=>{let n,o,a;return oe(t)&&ie(t.level)&&(o=re((a=ae({},t)).levelIsConstant,A.levelIsConstant),delete a.levelIsConstant,delete a.level,oe(e[n=t.level+(o?0:i-1)])?ae(!0,e[n],a):e[n]=a),e}),{})),o=ie(e.to)?e.to:1,n=0;n<=o;n++)r[n]=ae({},A,oe(t[n])?t[n]:{});return r},getNodeWidth:function(e,A){let{chart:t,options:n}=e,{nodeDistance:i=0,nodeWidth:o=0}=n,{plotSizeX:a=1}=t;if("auto"===o){if("string"==typeof i&&/%$/.test(i))return a/(A+parseFloat(i)/100*(A-1));let e=Number(i);return(a+e)/(A||1)-e}return se(o,a)},setTreeValues:function e(A,t){let n=t.before,i=t.idRoot,o=t.mapIdToNode[i],a=!1!==t.levelIsConstant,r=t.points[A.i],s=r&&r.options||{},l=[],g=0;A.levelDynamic=A.level-(a?0:o.level),A.name=re(r&&r.name,""),A.visible=i===A.id||!0===t.visible,"function"==typeof n&&(A=n(A,t)),A.children.forEach(((n,i)=>{let o=te({},t);te(o,{index:i,siblings:A.children.length,visible:A.visible}),n=e(n,o),l.push(n),n.visible&&(g+=n.val)}));let c=re(s.value,g);return A.visible=c>=0&&(g>0||A.visible),A.children=l,A.childrenTotal=g,A.isLeaf=A.visible&&!g,A.val=c,A},updateRootId:function(e){let A,t;return oe(e)&&(t=oe(e.options)?e.options:{},A=re(e.rootNode,t.rootId,""),oe(e.userOptions)&&(e.userOptions.rootId=A),e.rootNode=A),A}},{addEvent:pe,arrayMax:he,clamp:Ie,correctFloat:Ee,crisp:ve,defined:me,error:Qe,extend:be,fireEvent:xe,isArray:Fe,isNumber:we,isObject:ye,isString:ze,merge:Pe,pick:Me,pushUnique:ke,splat:De,stableSort:je}=f();K().keepProps.push("simulation","hadOutsideDataLabels");let Le=!1;function Oe(){let e=this.xAxis,A=this.yAxis;if(e&&A)if(this.is("treemap")){let t={endOnTick:!1,startOnTick:!1,visible:!1};this.is("treegraph")||(t.min=0,t.max=100,t.tickPositions=[]),Pe(!0,e.options,t,e.userOptions),Pe(!0,A.options,t,A.userOptions),e.visible=e.options.visible,A.visible=A.options.visible,this.is("treegraph")&&(this.isCartesian=e.visible),Le=!0}else Le&&(A.setOptions(A.userOptions),e.setOptions(e.userOptions),Le=!1)}class Se extends fe{constructor(){super(...arguments),this.simulation=0}static compose(e){ke(ge,"TreemapSeries")&&pe(e,"afterBindAxes",Oe)}algorithmCalcPoints(e,A,t,n){let i,o,a,r,s,l=t.plot,g=t.elArr.length-1,c=t.lW,d=t.lH,f=0;for(let e of(A?(c=t.nW,d=t.nH):s=t.elArr[g],t.elArr))(A||f<g)&&(0===t.direction?(i=l.x,o=l.y,r=e/(a=c)):(i=l.x,o=l.y,a=e/(r=d)),n.push({x:i,y:o,width:a,height:Ee(r)}),0===t.direction?l.y=l.y+r:l.x=l.x+a),f+=1;t.reset(),0===t.direction?t.width=t.width-c:t.height=t.height-d,l.y=l.parent.y+(l.parent.height-t.height),l.x=l.parent.x+(l.parent.width-t.width),e&&(t.direction=1-t.direction),A||t.addElement(s)}algorithmFill(e,A,t){let n,i,o,a,r,s=[],l=A.direction,g=A.x,c=A.y,d=A.width,f=A.height;for(let B of t)n=A.width*A.height*(B.val/A.val),i=g,o=c,0===l?(d-=a=n/(r=f),g+=a):(f-=r=n/(a=d),c+=r),s.push({x:i,y:o,width:a,height:r,direction:0,val:0}),e&&(l=1-l);return s}algorithmLowAspectRatio(e,A,t){let n,i=[],o={x:A.x,y:A.y,parent:A},a=A.direction,r=t.length-1,s=new class{constructor(e,A,t,n){this.height=e,this.width=A,this.plot=n,this.direction=t,this.startDirection=t,this.total=0,this.nW=0,this.lW=0,this.nH=0,this.lH=0,this.elArr=[],this.lP={total:0,lH:0,nH:0,lW:0,nW:0,nR:0,lR:0,aspectRatio:function(e,A){return Math.max(e/A,A/e)}}}addElement(e){this.lP.total=this.elArr[this.elArr.length-1],this.total=this.total+e,0===this.direction?(this.lW=this.nW,this.lP.lH=this.lP.total/this.lW,this.lP.lR=this.lP.aspectRatio(this.lW,this.lP.lH),this.nW=this.total/this.height,this.lP.nH=this.lP.total/this.nW,this.lP.nR=this.lP.aspectRatio(this.nW,this.lP.nH)):(this.lH=this.nH,this.lP.lW=this.lP.total/this.lH,this.lP.lR=this.lP.aspectRatio(this.lP.lW,this.lH),this.nH=this.total/this.width,this.lP.nW=this.lP.total/this.nH,this.lP.nR=this.lP.aspectRatio(this.lP.nW,this.nH)),this.elArr.push(e)}reset(){this.nW=0,this.lW=0,this.elArr=[],this.total=0}}(A.height,A.width,a,o),l=0;for(let a of t)n=A.width*A.height*(a.val/A.val),s.addElement(n),s.lP.nR>s.lP.lR&&this.algorithmCalcPoints(e,!1,s,i,o),l===r&&this.algorithmCalcPoints(e,!0,s,i,o),++l;return i}alignDataLabel(e,A,t){de.prototype.alignDataLabel.apply(this,arguments),e.dataLabel&&e.dataLabel.attr({zIndex:(e.node.zIndex||0)+1})}applyTreeGrouping(){let e=this,A=e.parentList||{},{cluster:t}=e.options,n=t?.minimumClusterSize||5;if(t?.enabled){let i={},o=e=>{if(e?.point?.shapeArgs){let{width:A=0,height:n=0}=e.point.shapeArgs,{pixelWidth:o=0,pixelHeight:a=0}=t,r=me(a);(A<o||n<(r?a:o)||A*n<(a?o*a:o*o))&&!e.isGroup&&me(e.parent)&&(i[e.parent]||(i[e.parent]=[]),i[e.parent].push(e))}e?.children.forEach((e=>{o(e)}))};for(let a in o(e.tree),i)i[a]&&i[a].length>n&&i[a].forEach((n=>{let i=A[a].indexOf(n.i);if(-1!==i){A[a].splice(i,1);let o=`highcharts-grouped-treemap-points-${n.parent||"root"}`,r=e.points.find((e=>e.id===o));if(!r){let n=e.pointClass,i=e.points.length;be(r=new n(e,{className:t.className,color:t.color,id:o,index:i,isGroup:!0,value:0}),{formatPrefix:"cluster"}),e.points.push(r),A[a].push(i),A[o]=[]}let s=r.groupedPointsAmount+1,l=e.points[r.index].options.value||0,g=t.name||`+ ${s}`;e.points[r.index].groupedPointsAmount=s,e.points[r.index].options.value=l+(n.point.value||0),e.points[r.index].name=g,A[o].push(n.point.index)}}));e.nodeMap={},e.nodeList=[],e.parentList=A;let a=e.buildTree("",-1,0,e.parentList);e.translate(a)}}calculateChildrenAreas(e,A){let t=this.options,n=this.mapOptionsToLevel[e.level+1],i=Me(n?.layoutAlgorithm&&this[n?.layoutAlgorithm]&&n.layoutAlgorithm,t.layoutAlgorithm),o=t.alternateStartingDirection,a=e.children.filter((A=>e.isGroup||!A.ignore)),r=n?.groupPadding??t.groupPadding??0,s=this.nodeMap[this.rootNode];if(!i)return;let l=[],g=s.pointValues?.width||0,c=s.pointValues?.height||0;n?.layoutStartingDirection&&(A.direction=+("vertical"!==n.layoutStartingDirection)),l=this[i](A,a);let d=-1;for(let e of a){let t=l[++d];e===s&&(g=g||t.width,c=t.height);let n=r/(this.xAxis.len/c),i=r/(this.yAxis.len/c);if(e.values=Pe(t,{val:e.childrenTotal,direction:o?1-A.direction:A.direction}),e.children.length&&e.point.dataLabels?.length){let A=he(e.point.dataLabels.map((e=>e.options?.headers&&e.height||0)))/(this.yAxis.len/c);A<e.values.height/2&&(e.values.y+=A,e.values.height-=A)}if(r){let A=Math.min(n,e.values.width/4),t=Math.min(i,e.values.height/4);e.values.x+=A,e.values.width-=2*A,e.values.y+=t,e.values.height-=2*t}e.pointValues=Pe(t,{x:t.x/this.axisRatio,y:100-t.y-t.height,width:t.width/this.axisRatio}),e.children.length&&this.calculateChildrenAreas(e,e.values)}let f=(e,A=[],t=!0)=>(e.children.forEach((e=>{t&&e.isLeaf?A.push(e.point):t||e.isLeaf||A.push(e.point),e.children.length&&f(e,A,t)})),A);if("leaf"===t.nodeSizeBy&&e===s&&this.hasOutsideDataLabels&&!f(s,void 0,!1).some((e=>we(e.options.value)))&&!we(s.point?.options.value)){let t=f(s),n=t.map((e=>e.options.value||0)),i=t.map((({node:{pointValues:e}})=>e?e.width*e.height:0)),o=n.reduce(((e,A)=>e+A),0),a=i.reduce(((e,A)=>e+A),0)/o,r=0,l=0;t.forEach(((e,A)=>{let t=Ie((n[A]?i[A]/n[A]:1)/a,.8,1.4),o=1-t;e.value&&(i[A]<20&&(o*=i[A]/20),o>l&&(l=o),o<r&&(r=o),e.simulatedValue=(e.simulatedValue||e.value)/t)})),(r<-.05||l>.05)&&this.simulation<10?(this.simulation++,this.setTreeValues(e),A.val=e.val,this.calculateChildrenAreas(e,A)):(t.forEach((e=>{delete e.simulatedValue})),this.setTreeValues(e),this.simulation=0)}}createList(e){let A=this.chart,t=[];if(A.breadcrumbs){let n=0;t.push({level:n,levelOptions:A.series[0]});let i=e.target.nodeMap[e.newRootId],o=[];for(;i.parent||""===i.parent;)o.push(i),i=e.target.nodeMap[i.parent];for(let e of o.reverse())t.push({level:++n,levelOptions:e});t.length<=1&&(t.length=0)}return t}drawDataLabels(){let e=this.mapOptionsToLevel,A=this.points.filter((function(e){return e.node.visible||me(e.dataLabel)})),t=De(this.options.dataLabels||{})[0]?.padding,n=A.some((e=>we(e.plotY)));for(let i of A){let A={},o={style:A},a=e[i.node.level];if((!i.node.isLeaf&&!i.node.isGroup||i.node.isGroup&&i.node.level<=this.nodeMap[this.rootNode].level)&&(o.enabled=!1),a?.dataLabels&&(Pe(!0,o,De(a.dataLabels)[0]),this.hasDataLabels=()=>!0),i.node.isLeaf?o.inside=!0:o.headers&&(o.verticalAlign="top"),i.shapeArgs&&n){let{height:e=0,width:n=0}=i.shapeArgs;if(n>32&&e>16&&i.shouldDraw()){let a=n-2*(o.padding||t||0);A.width=`${a}px`,A.lineClamp??(A.lineClamp=Math.floor(e/16)),A.visibility="inherit",o.headers&&i.dataLabel?.attr({width:a})}else A.width=`${n}px`,A.visibility="hidden"}i.dlOptions=Pe(o,i.options.dataLabels,{zIndex:void 0})}super.drawDataLabels(A)}drawPoints(e=this.points){let A=this.chart,t=A.renderer,n=A.styledMode,i=this.options,o=n?{}:i.shadow,a=i.borderRadius,r=A.pointCount<i.animationLimit,s=i.allowTraversingTree;for(let A of e){let e={},l={},g={},c="level-group-"+A.node.level,d=!!A.graphic,f=r&&d,B=A.shapeArgs;A.shouldDraw()&&(A.isInside=!0,a&&(l.r=a),Pe(!0,f?e:l,d?B:{},n?{}:this.pointAttribs(A,A.selected?"select":void 0)),this.colorAttribs&&n&&be(g,this.colorAttribs(A)),this[c]||(this[c]=t.g(c).attr({zIndex:-(A.node.level||0)}).add(this.group),this[c].survive=!0)),A.draw({animatableAttribs:e,attribs:l,css:g,group:this[c],imageUrl:A.imageUrl,renderer:t,shadow:o,shapeArgs:B,shapeType:A.shapeType}),s&&A.graphic&&(A.drillId=i.interactByLeaf?this.drillToByLeaf(A):this.drillToByGroup(A))}}drillToByGroup(e){return(!e.node.isLeaf||!!e.node.isGroup)&&e.id}drillToByLeaf(e){let A,{traverseToLeaf:t}=e.series.options,n=!1;if(e.node.parent!==this.rootNode&&e.node.isLeaf)if(t)n=e.id;else for(A=e.node;!n;)void 0!==A.parent&&(A=this.nodeMap[A.parent]),A.parent===this.rootNode&&(n=A.id);return n}drillToNode(e,A){Qe(32,!1,void 0,{"treemap.drillToNode":"use treemap.setRootNode"}),this.setRootNode(e,A)}drillUp(){let e=this.nodeMap[this.rootNode];e&&ze(e.parent)&&this.setRootNode(e.parent,!0,{trigger:"traverseUpButton"})}getExtremes(){let{dataMin:e,dataMax:A}=super.getExtremes(this.colorValueData);return this.valueMin=e,this.valueMax=A,super.getExtremes()}getListOfParents(e,A){let t=Fe(e)?e:[],n=Fe(A)?A:[],i=t.reduce((function(e,A,t){let n=Me(A.parent,"");return void 0===e[n]&&(e[n]=[]),e[n].push(t),e}),{"":[]});for(let e of Object.keys(i)){let A=i[e];if(""!==e&&-1===n.indexOf(e)){for(let e of A)i[""].push(e);delete i[e]}}return i}getTree(){let e=this.data.map((function(e){return e.id}));return this.parentList=this.getListOfParents(this.data,e),this.nodeMap={},this.nodeList=[],this.buildTree("",-1,0,this.parentList||{})}buildTree(e,A,t,n,i){let o,a=[],r=this.points[A],s=0;for(let A of n[e]||[])s=Math.max((o=this.buildTree(this.points[A].id,A,t+1,n,e)).height+1,s),a.push(o),this.is("treegraph")&&(o.visible=!0);let l=(new this.NodeClass).init(e,A,a,s,t,this,i);for(let e of a)e.parentNode=l;return this.nodeMap[l.id]=l,this.nodeList.push(l),r&&(r.node=l,l.point=r,me(r.options.x)||(r.x=t)),l}hasData(){return!!this.dataTable.rowCount}init(e,A){let t=this,n=Pe(A.drillUpButton,A.breadcrumbs),i=pe(t,"setOptions",(e=>{let A=e.userOptions;me(A.allowDrillToNode)&&!me(A.allowTraversingTree)&&(A.allowTraversingTree=A.allowDrillToNode,delete A.allowDrillToNode),me(A.drillUpButton)&&!me(A.traverseUpButton)&&(A.traverseUpButton=A.drillUpButton,delete A.drillUpButton);let t=De(A.dataLabels||{});A.levels?.forEach((e=>{t.push.apply(t,De(e.dataLabels||{}))})),this.hasOutsideDataLabels=t.some((e=>e.headers))}));super.init(e,A),delete t.opacity,t.eventsToUnbind.push(i),t.options.allowTraversingTree&&(t.eventsToUnbind.push(pe(t,"click",t.onClickDrillToNode)),t.eventsToUnbind.push(pe(t,"setRootNode",(function(e){let A=t.chart;A.breadcrumbs&&A.breadcrumbs.updateProperties(t.createList(e))}))),t.eventsToUnbind.push(pe(t,"update",(function(e,A){let t=this.chart.breadcrumbs;t&&e.options.breadcrumbs&&t.update(e.options.breadcrumbs),this.hadOutsideDataLabels=this.hasOutsideDataLabels}))),t.eventsToUnbind.push(pe(t,"destroy",(function(e){let A=this.chart;A.breadcrumbs&&!e.keepEventsForUpdate&&(A.breadcrumbs.destroy(),A.breadcrumbs=void 0)})))),e.breadcrumbs||(e.breadcrumbs=new k(e,n)),t.eventsToUnbind.push(pe(e.breadcrumbs,"up",(function(e){let A=this.level-e.newLevel;for(let e=0;e<A;e++)t.drillUp()})))}onClickDrillToNode(e){let A=e.point,t=A?.drillId;ze(t)&&(A.setState(""),this.setRootNode(t,!0,{trigger:"click"}))}pointAttribs(e,A){let t=ye(this.mapOptionsToLevel)?this.mapOptionsToLevel:{},n=e&&t[e.node.level]||{},i=this.options,o=A&&i.states&&i.states[A]||{},a=e?.getClassName()||"",r={stroke:e&&e.borderColor||n.borderColor||o.borderColor||i.borderColor,"stroke-width":Me(e&&e.borderWidth,n.borderWidth,o.borderWidth,i.borderWidth),dashstyle:e?.borderDashStyle||n.borderDashStyle||o.borderDashStyle||i.borderDashStyle,fill:e?.color||this.color};return-1!==a.indexOf("highcharts-above-level")?(r.fill="none",r["stroke-width"]=0):-1!==a.indexOf("highcharts-internal-node-interactive")?(r["fill-opacity"]=o.opacity??i.opacity??1,r.cursor="pointer"):-1!==a.indexOf("highcharts-internal-node")?r.fill="none":A&&o.brightness&&(r.fill=le(r.fill).brighten(o.brightness).get()),r}setColorRecursive(e,A,t,n,i){let o=this?.chart,a=o?.options?.colors;if(e){let o=Be(e,{colors:a,index:n,mapOptionsToLevel:this.mapOptionsToLevel,parentColor:A,parentColorIndex:t,series:this,siblings:i}),r=this.points[e.i];r&&(r.color=o.color,r.colorIndex=o.colorIndex);let s=-1;for(let A of e.children||[])this.setColorRecursive(A,o.color,o.colorIndex,++s,e.children.length)}}setPointValues(){let e=this,{points:A,xAxis:t,yAxis:n}=e,i=e.chart.styledMode,o=A=>i?0:e.pointAttribs(A)["stroke-width"]||0;for(let e of A){let{pointValues:A,visible:i}=e.node;if(A&&i){let{height:i,width:a,x:r,y:s}=A,l=o(e),g=t.toPixels(r,!0),c=t.toPixels(r+a,!0),d=n.toPixels(s,!0),f=n.toPixels(s+i,!0),B=0===g?l/2:ve(t.toPixels(r,!0),l,!0),u=c===t.len?t.len-l/2:ve(t.toPixels(r+a,!0),l,!0),C=d===n.len?n.len-l/2:ve(n.toPixels(s,!0),l,!0),p=0===f?l/2:ve(n.toPixels(s+i,!0),l,!0),h={x:Math.min(B,u),y:Math.min(C,p),width:Math.abs(u-B),height:Math.abs(p-C)};e.plotX=h.x+h.width/2,e.plotY=h.y+h.height/2,e.shapeArgs=h}else delete e.plotX,delete e.plotY}}setRootNode(e,A,t){xe(this,"setRootNode",be({newRootId:e,previousRootId:this.rootNode,redraw:Me(A,!0),series:this},t),(function(e){let A=e.series;A.idPreviousRoot=e.previousRootId,A.rootNode=e.newRootId,A.isDirty=!0,e.redraw&&A.chart.redraw()}))}setState(e){this.options.inactiveOtherPoints=!0,super.setState(e,!1),this.options.inactiveOtherPoints=!1}setTreeValues(e){let A=this.options,t=this.rootNode,n=this.nodeMap[t],i="boolean"!=typeof A.levelIsConstant||A.levelIsConstant,o=[],a=this.points[e.i],r=0;for(let A of e.children)A=this.setTreeValues(A),o.push(A),A.ignore||(r+=A.val);je(o,((e,A)=>(e.sortIndex||0)-(A.sortIndex||0)));let s=Me(a?.simulatedValue,a?.options.value,r);return a&&(a.value=s),a?.isGroup&&A.cluster?.reductionFactor&&(s/=A.cluster.reductionFactor),e.parentNode?.point?.isGroup&&this.rootNode!==e.parent&&(e.visible=!1),be(e,{children:o,childrenTotal:r,ignore:!(Me(a?.visible,!0)&&s>0),isLeaf:e.visible&&!("treegraph"===this.type?o.length>0:r),isGroup:a?.isGroup,levelDynamic:e.level-(i?0:n.level),name:Me(a?.name,""),sortIndex:Me(a?.sortIndex,-s),val:s}),e}sliceAndDice(e,A){return this.algorithmFill(!0,e,A)}squarified(e,A){return this.algorithmLowAspectRatio(!0,e,A)}strip(e,A){return this.algorithmLowAspectRatio(!1,e,A)}stripes(e,A){return this.algorithmFill(!1,e,A)}translate(e){let A,t,n,i,o=this,a=o.options,r=!e,s=Ce(o);e||s.startsWith("highcharts-grouped-treemap-points-")||((this.points||[]).forEach((e=>{e.isGroup&&e.destroy()})),super.translate(),e=o.getTree()),o.tree=e=e||o.tree,A=o.nodeMap[s],""===s||A||(o.setRootNode("",!1),s=o.rootNode,A=o.nodeMap[s]),A.point?.isGroup||(o.mapOptionsToLevel=ue({from:A.level+1,levels:a.levels,to:e.height,defaults:{levelIsConstant:o.options.levelIsConstant,colorByPoint:a.colorByPoint}})),Ae.recursive(o.nodeMap[o.rootNode],(e=>{let A=e.parent,t=!1;return e.visible=!0,(A||""===A)&&(t=o.nodeMap[A]),t})),Ae.recursive(o.nodeMap[o.rootNode].children,(e=>{let A=!1;for(let t of e)t.visible=!0,t.children.length&&(A=(A||[]).concat(t.children));return A})),o.setTreeValues(e),o.axisRatio=o.xAxis.len/o.yAxis.len,o.nodeMap[""].pointValues=t={x:0,y:0,width:100,height:100},o.nodeMap[""].values=n=Pe(t,{width:t.width*o.axisRatio,direction:+("vertical"!==a.layoutStartingDirection),val:e.val}),(this.hasOutsideDataLabels||this.hadOutsideDataLabels)&&this.drawDataLabels(),o.calculateChildrenAreas(e,n),o.colorAxis||a.colorByPoint||o.setColorRecursive(o.tree),a.allowTraversingTree&&A.pointValues&&(i=A.pointValues,o.xAxis.setExtremes(i.x,i.x+i.width,!1),o.yAxis.setExtremes(i.y,i.y+i.height,!1),o.xAxis.setScale(),o.yAxis.setScale()),o.setPointValues(),r&&o.applyTreeGrouping()}}Se.defaultOptions=Pe(fe.defaultOptions,ee),be(Se.prototype,{buildKDTree:ce,colorAttribs:G.seriesMembers.colorAttribs,colorKey:"colorValue",directTouch:!0,getExtremesFromAll:!0,getSymbol:ce,optionalAxis:"colorAxis",parallelArrays:["x","y","value","colorValue"],pointArrayMap:["value","colorValue"],pointClass:_,NodeClass:class{constructor(){this.childrenTotal=0,this.visible=!1}init(e,A,t,n,i,o,a){return this.id=e,this.i=A,this.children=t,this.height=n,this.level=i,this.series=o,this.parent=a,this}},trackerGroups:["group","dataLabelsGroup"],utils:Ae}),G.compose(Se),O().registerSeriesType("treemap",Se);let Ne=f();Ne.Breadcrumbs=Ne.Breadcrumbs||k,Ne.Breadcrumbs.compose(Ne.Chart,Ne.defaultOptions),Se.compose(Ne.Series);let Te=f();return c.default})()))})),_3=B(V3);La('*,\n*::after,\n*::before {\n box-sizing: border-box;\n}\n\nbody,\ntextarea {\n font-weight: 500;\n font-style: normal;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n}\n\n/* HTML5 display-role reset for older browsers */\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\nsection {\n display: block;\n}\n\nbody {\n line-height: 1;\n}\n\nol,\nul {\n list-style: none;\n}\n\nblockquote,\nq {\n quotes: none;\n}\n\nblockquote:before,\nblockquote:after,\nq:before,\nq:after {\n content: "";\n content: none;\n}\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n\nbody {\n font-family: "Manrope", sans-serif;\n}\n\n.impact-notification-separator {\n display: inline-block;\n height: 16px;\n width: 1.5px;\n background-color: #d9dde7;\n}\n\n.impact-notification-horizontal-separator {\n display: inline-block;\n height: 1px;\n width: 100%;\n background-color: #d9dde7;\n}\n\nul.storybook-order-list {\n padding-left: 12px;\n list-style-type: disc;\n}\n\nul.storybook-order-list li {\n font-size: 12px;\n line-height: 20px;\n padding-bottom: 8px;\n}\n\nul.storybook-order-list li strong {\n font-weight: 800;\n}\n\nul.storybook-order-child-list {\n list-style-type: circle;\n padding-left: 20px;\n}\n\nul.storybook-order-child-list li {\n font-size: 12px;\n line-height: 20px;\n padding-bottom: 8px;\n}\n\nul.storybook-order-child-list li strong {\n font-weight: 800;\n}\n\n/* width */\n/* Track */\n/* Handle */\n/* Handle on hover */\n.chart-container {\n border-radius: 8px;\n padding: 12px 12px 0px 12px;\n display: flex;\n flex-direction: column;\n gap: 24px;\n position: relative;\n transition: all 0.25s ease;\n transform-origin: center center;\n background: #fff;\n}\n.chart-container.card-container {\n box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1215686275);\n}\n.chart-container.fullscreen-animating {\n animation: expandAnim 0.2s ease forwards;\n}\n.chart-container.fullscreen-animating-out {\n animation: collapseAnim 0.2s ease forwards;\n}\n.chart-container.expanded {\n padding: 24px;\n}\n.chart-container .chart-container-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.chart-container .chart-container-header .chart-container-header-title {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n.chart-container .chart-container-header .chart-container-header-title .chart-container-header-title-text {\n color: #0d152c;\n font-size: 16px;\n font-style: normal;\n font-weight: 600;\n line-height: 24px; /* 150% */\n}\n.chart-container .chart-container-header .chart-container-header-actions {\n display: flex;\n gap: 12px;\n align-items: center;\n flex-wrap: wrap;\n}\n.chart-container .divider-line {\n background: #d9dde7;\n width: 1px;\n height: 16px;\n}\n\n.chart-custom-actions {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n\n.highcharts-xaxis-labels text,\n.highcharts-yaxis-labels text {\n color: #60697d !important;\n font-family: "Manrope", sans-serif;\n font-size: 12px !important;\n font-weight: 500;\n}\n\n/* X & Y Axis Titles */\n.highcharts-xaxis .highcharts-axis-title,\n.highcharts-yaxis .highcharts-axis-title {\n color: #60697d !important;\n font-family: "Manrope", sans-serif;\n font-size: 14px !important;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n}\n\n.tooltip-key {\n font-size: 12px;\n font-weight: 500;\n line-height: 16px;\n}\n\n.tooltip-value {\n font-size: 14px;\n font-weight: 600;\n line-height: 24px;\n}\n\n.highcharts-text-outline {\n stroke-width: 0px;\n}\n\n@keyframes expandAnim {\n 0% {\n transform: scale(0.98);\n opacity: 0.6;\n }\n 100% {\n transform: scale(1);\n opacity: 1;\n }\n}\n@keyframes collapseAnim {\n 0% {\n transform: scale(1);\n opacity: 1;\n }\n 100% {\n transform: scale(0.98);\n opacity: 0.6;\n }\n}');var $3,e1=u((function(e,A){Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var t=(0,Nh(Th).default)((0,g.jsx)("path",{d:"M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 2v3H5V5h15zm-5 14h-5v-9h5v9zM5 10h3v9H5v-9zm12 9v-9h3v9h-3z"}),"TableChartOutlined");A.default=t})),A1=B(e1);function t1(){return t1=Object.assign?Object.assign.bind():function(e){for(var A=1;A<arguments.length;A++){var t=arguments[A];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},t1.apply(null,arguments)}const n1=e=>A.createElement("svg",t1({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),$3||($3=A.createElement("path",{d:"M4.667 11.333h2c.189 0 .347.064.475.192a.645.645 0 0 1 .191.475.645.645 0 0 1-.191.475.645.645 0 0 1-.475.192H4a.645.645 0 0 1-.475-.192.645.645 0 0 1-.192-.475V9.333c0-.189.064-.347.192-.475A.645.645 0 0 1 4 8.667c.189 0 .347.064.475.191a.645.645 0 0 1 .192.475v2Zm6.666-6.666h-2a.645.645 0 0 1-.475-.192A.645.645 0 0 1 8.667 4c0-.189.064-.347.191-.475a.645.645 0 0 1 .475-.192H12c.189 0 .347.064.475.192a.645.645 0 0 1 .192.475v2.667a.645.645 0 0 1-.192.475.645.645 0 0 1-.475.191.645.645 0 0 1-.475-.191.645.645 0 0 1-.192-.475v-2Z",fill:"#60697D"})));var i1;function o1(){return o1=Object.assign?Object.assign.bind():function(e){for(var A=1;A<arguments.length;A++){var t=arguments[A];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o1.apply(null,arguments)}const a1=e=>A.createElement("svg",o1({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i1||(i1=A.createElement("path",{d:"M9 15H6a.965.965 0 0 1-.712-.288A.972.972 0 0 1 5 14c0-.283.095-.52.288-.712A.97.97 0 0 1 6 13h4c.283 0 .521.096.713.288.192.192.288.43.287.712v4a.968.968 0 0 1-.288.713A.964.964 0 0 1 10 19a.973.973 0 0 1-.712-.288A.965.965 0 0 1 9 18v-3Zm6-6h3c.283 0 .521.096.713.288.192.192.288.43.287.712 0 .283-.097.52-.288.713A.957.957 0 0 1 18 11h-4a.965.965 0 0 1-.712-.288A.973.973 0 0 1 13 10V6c0-.283.096-.52.288-.712A.972.972 0 0 1 14 5c.283 0 .52.095.713.288A.96.96 0 0 1 15 6v3Z",fill:"#60697D"})));var r1;function s1(){return s1=Object.assign?Object.assign.bind():function(e){for(var A=1;A<arguments.length;A++){var t=arguments[A];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},s1.apply(null,arguments)}const l1=e=>A.createElement("svg",s1({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),r1||(r1=A.createElement("path",{d:"M2.667 13.724a.645.645 0 0 1-.475-.191.645.645 0 0 1-.192-.475v-.667c0-.189.064-.347.192-.475a.645.645 0 0 1 .475-.192c.189 0 .347.064.475.192a.645.645 0 0 1 .191.475v.667a.645.645 0 0 1-.191.475.645.645 0 0 1-.475.191Zm2.666 0a.645.645 0 0 1-.475-.191.645.645 0 0 1-.191-.475V9.39c0-.189.064-.347.191-.475a.645.645 0 0 1 .475-.192c.19 0 .348.064.475.192A.645.645 0 0 1 6 9.391v3.667a.645.645 0 0 1-.192.475.645.645 0 0 1-.475.191Zm2.667 0a.645.645 0 0 1-.475-.191.645.645 0 0 1-.192-.475v-2.334c0-.188.064-.347.192-.475A.645.645 0 0 1 8 10.058c.189 0 .347.064.475.191a.645.645 0 0 1 .192.475v2.334a.645.645 0 0 1-.192.475.645.645 0 0 1-.475.191Zm2.667 0a.645.645 0 0 1-.475-.191.645.645 0 0 1-.192-.475V9.724c0-.188.064-.347.192-.475a.645.645 0 0 1 .475-.191c.189 0 .347.064.475.191a.645.645 0 0 1 .192.475v3.334a.645.645 0 0 1-.192.475.645.645 0 0 1-.475.191Zm2.667 0a.645.645 0 0 1-.476-.191.645.645 0 0 1-.191-.475v-6c0-.19.064-.347.191-.475a.645.645 0 0 1 .476-.192c.188 0 .347.064.475.192a.645.645 0 0 1 .191.475v6a.645.645 0 0 1-.191.475.645.645 0 0 1-.475.191Zm-4-6.016c-.178 0-.348-.034-.509-.1a1.498 1.498 0 0 1-.442-.284L6.667 5.608 3.133 9.14a.62.62 0 0 1-.475.192.68.68 0 0 1-.475-.209.648.648 0 0 1-.175-.475.651.651 0 0 1 .192-.458l3.517-3.517c.133-.133.28-.23.441-.291a1.49 1.49 0 0 1 1.025 0c.167.06.312.158.434.291l1.716 1.717 3.534-3.533a.62.62 0 0 1 .475-.192.68.68 0 0 1 .475.208c.122.134.18.292.175.475a.652.652 0 0 1-.192.459l-3.517 3.516a1.276 1.276 0 0 1-.433.284c-.167.066-.339.1-.517.1Z",fill:"#1F2B4D"}))),g1=require("highcharts-border-radius");"object"==typeof N3&&[R3,G3,K3,q3,Z3,_3,g1].forEach((e=>{"function"==typeof e&&e(N3)}));e.Accordion=function(e){let{expanded:A,setExpanded:n,isMultiExpanded:i,data:o,onChange:a,isSingleItem:r,singleData:s,disabled:l}=e;return r?t.jsx("div",{className:"impact_accordion_main_container impact_accordion_main_container_single",children:t.jsxs(Fd,{className:"accordion_main_container",defaultExpanded:A===s.value,onChange:()=>{return e=s.value,void(a?a(e):n(e));var e},disabled:l,children:[t.jsx(Sd,{className:"accordion_header",expandIcon:t.jsx(dQ,{}),"aria-controls":"panel1-content",id:"panel1-header",children:s.header}),t.jsx(Pd,{className:"accordion_body",children:s.content})]})}):t.jsx("div",{className:"impact_accordion_main_container",children:o.map(((e,o)=>t.jsxs(Fd,{className:"accordion_main_container",expanded:i?A.includes(e.value):A===e.value,defaultExpanded:i?A.includes(e.value):A===e.value,onChange:()=>{return t=e.value,void(a?a(t):i&&!A.includes(t)?n([...A,t]):i&&A.includes(t)?n(A.filter((e=>e!==t))):n(A===t?"":t));var t},disabled:l||e.disabled,children:[t.jsx(Sd,{className:"accordion_header",expandIcon:t.jsx(dQ,{}),"aria-controls":"panel1-content",id:"panel1-header",children:e.header}),t.jsx(Pd,{className:"accordion_body",children:e.content})]},o)))})},e.AccordionModern=function(e){const{draggable:A=!1,expanded:n,setExpanded:i,isMultiExpanded:o,data:a,onChange:r,isSingleItem:s,singleData:l}=e,g=e=>{r&&r(e),o&&!n.includes(e)?i([...n,e]):o&&n.includes(e)?i((A=>A.filter((A=>A.value!==e)))):i(n===e?"":e)},c=e=>o&&n.includes(e.value)||n===e.value?"expand-content":"";return A&&a.length>0?t.jsx(_x,{data:a,handleMultiAccordionChange:g,checkExpand:c}):t.jsx("div",{className:"impact-accordion-modern-main-container",children:a.map(((e,A)=>t.jsx("div",{className:"impact-modern-accordion-container ".concat(null!=e&&e.disabled?"disabled":""),children:t.jsxs("div",{className:"impact-modern-accordion-item",tabIndex:"0",children:[t.jsxs("div",{className:"impact-modern-accordion-header",children:[t.jsx("div",{className:"impact-modern-accordion-expand-icon ".concat(c(e),"-icon"),onClick:()=>g(e.value),children:t.jsx(II,{})}),t.jsxs("div",{className:"impact-modern-accordion-title ".concat(e.childCount>0?"child-count":""," ").concat(null!=e&&e.disabled?"disabled":""),children:[e.header,e.childCount>0?t.jsx(uI,{label:e.childCount,color:"info",variant:"stroke"}):null]})]}),t.jsx("div",{className:"impact-modern-accordion-content ".concat(c(e)),children:e.content})]})},e.value)))})},e.Alert=qI,e.Avatar=Oa,e.Badge=uI,e.BottomSheet=e=>{var n;let{open:i,onClose:o,title:a,children:r,footerOptions:s,maxHeight:l="calc(100vh - 64px)",withExpandIcon:g=!1,...c}=e;const[d,f]=A.useState(!1),[B,u]=A.useState("auto");A.useEffect((()=>{if(i){const e=setTimeout((()=>{var e;const A=(null===(e=document.querySelector(".ia_modalBody"))||void 0===e?void 0:e.scrollHeight)+105,t=A>l?l:"".concat(A,"px");u(t)}),0);return()=>clearTimeout(e)}}),[i,r,l]);const C=s&&(null===(n=Object.keys(s))||void 0===n?void 0:n.length)>0;return t.jsx(eF,{title:a,open:i,onClose:o,className:"bottom-sheet ".concat(d?"expanded":""," ").concat(C?"with-footer":""),isBottomSheet:!0,isExpanded:d,onExpand:()=>{f(!d),null!=c&&c.onExpand&&(null==c||c.onExpand(!d))},footerOptions:s,height:!g&&B,maxHeight:!g&&l,withExpandIcon:g,...c,children:r})},e.Breadcrumbs=tF,e.Button=Jh,e.ButtonGroup=iF,e.Card=e=>{let{size:A,children:n,...i}=e;return t.jsx(gB,{className:"ia-styles ia-card ia-card-".concat(A),...i,sx:{padding:"20px",width:"100%",maxWidth:500,minHeight:300,...i.sx},children:n})},e.Chart=e=>{var n;let{graphType:i="column",xAxisCategories:o,xAxisTitle:a="X Axis",yAxisTitle:r="Y Axis",seriesData:s,graphTitle:g,stackedColumn:c=!1,is3D:d=!1,showSubTitle:f=!1,onChartDownload:B=(()=>{}),fallbackContent:u=null,topRightOptions:C=null,showSwitchButton:p=!1,showChartTypeDropdown:h=!1,showDownloadButton:I=!0,chartTypesOptions:E=[],selectedChart:v,chartMenuProps:m,showScrollX:Q=!1,topLeftOptions:b=null,cardContainer:x=!0,subtitleText:F="",legendXPosition:w=null,legendYPosition:y=null,xAxisTitlePositionY:z=null,customTooltipFormatter:P=null,sharedTooltip:M=!1,showchart:k=!0,setShowChart:D=(()=>{}),plotOptionsEvents:j,customSystemButton:L=null,handleChartExpand:O=(()=>{}),chartMarginBottom:S=150,showHeader:N=!0,height:T=null,width:H=null,showExpandButton:X=!0,customLegend:R=null,customLegendStyle:Y=null,yAxisTitleRight:G,chartOptions:J={},titleOptions:K={},xAxisOptions:U={},yAxisOptions:q={},yAxisLeftOptions:W={},yAxisRightOptions:Z={},zAxisOptions:V={},tooltipOptions:_={},plotOptionsOptions:$={},subtitleOptions:ee={},creditsOptions:Ae={},legendOptions:te={},colorAxisOptions:ne={},seriesOptions:ie=null,additionalOptions:oe={}}=e;const[ae,re]=A.useState(!1),[se,le]=A.useState(!1),[ge,ce]=A.useState(!1),[de,fe]=A.useState(null),Be=A.useRef(null),ue=A.useRef(null);A.useEffect((()=>{const e=()=>{document.fullscreenElement||document.webkitFullscreenElement||document.msFullscreenElement||(re(!1),O(!1))};return document.addEventListener("fullscreenchange",e),document.addEventListener("webkitfullscreenchange",e),()=>{document.removeEventListener("fullscreenchange",e),document.removeEventListener("webkitfullscreenchange",e)}}),[]),A.useEffect((()=>{if(null==Be||!Be.current)return;const e=Be.current.chart,A=()=>{const A=window.innerHeight,t=window.innerWidth;e.setSize(t<768?t-40:null,ae?A-98:"auto",!1)};return A(),window.addEventListener("resize",A),()=>window.removeEventListener("resize",A)}),[ae]);const Ce=A.useMemo((()=>({chart:{type:i,scrollablePlotArea:{minWidth:Q?80*(null==o?void 0:o.length):void 0,opacity:1,scrollPositionX:0},marginBottom:S,width:H,style:{fontFamily:"Manrope, sans-serif"},height:ae?window.innerHeight-108:T||"auto",options3d:d?{enabled:!0,alpha:10,beta:30,depth:550,viewDistance:10}:void 0,...J||{}},title:{text:null,...K||{}},xAxis:{categories:o,crosshair:!0,lineColor:"#D9DDE7",title:{text:a,align:"middle",reserveSpace:!0,y:z||(Q?"scatter3d"===i?130:40:3)},labels:{autoRotation:[-45,-60],rotation:void 0,style:{whiteSpace:"nowrap"}},...U||{}},yAxis:[{title:{text:r,x:-12,align:"middle",margin:16},lineWidth:1,lineColor:"#D9DDE7",gridLineDashStyle:"Dash",gridLineWidth:1,gridLineColor:"#D9DDE7",labels:{},opposite:!1,...q||{},...W||{}},...G?[{title:{text:G,x:12,align:"middle",margin:16},lineWidth:1,lineColor:"#D9DDE7",gridLineDashStyle:"Dash",gridLineWidth:1,gridLineColor:"#D9DDE7",labels:{},opposite:!0,...q||{},...Z||{}}]:[]],zAxis:d?{min:0,max:10,...V||{}}:V&&Object.keys(V).length?V:void 0,tooltip:{useHTML:!0,className:"custom-tooltip",backgroundColor:"#ffffff",borderRadius:8,borderWidth:0,borderColor:"transparent",outside:!1,shared:M,shadow:{color:"rgba(0, 0, 0, 0.2)",offsetX:2,offsetY:2,opacity:.3},style:{fontFamily:"'Manrope', sans-serif",color:"#1F2B4D"},positioner(e,A,t){const n=this.chart,i=n.plotLeft,o=n.plotLeft+n.plotWidth,a=n.plotTop,r=n.plotTop+n.plotHeight;let s=t.plotX+i-e/2,l=t.plotY+a-A-10;return s<i&&(s=i+5),l<a&&(l=a+5),s+e>o&&(s=o-e-5),l+A>r&&(l=r-A-5),{x:s,y:l}},formatter:function(){return P?P(this):void 0!==this.point.value?'\n <span class="tooltip-key">X: '.concat(this.point.x," Y: ").concat(this.point.y,'</span><br/>\n <b class="tooltip-value">Value: ').concat(this.point.value,"</b>"):'\n <span style="color:'.concat(this.color,';"">●</span>\n <span class="tooltip-key">').concat(this.key,': </span>\n <b class="tooltip-value">').concat(this.y.toLocaleString(),"</b>\n ")},..._||{}},plotOptions:{scatter3d:{width:10,height:10,depth:10,marker:{radius:4,symbol:"circle"}},column:{pointPadding:.2,groupPadding:.1,borderWidth:0,borderRadius:8,stacking:c?"normal":null},areaspline:{fillOpacity:.25},heatmap:{borderWidth:1,borderColor:"#ffffff"},series:{states:{hover:{backgroundColor:null}},...j},pie:{startAngle:"semidonut"===i?-90:0,endAngle:"semidonut"===i?90:360,center:["50%","semidonut"===i?"75%":"50%"],size:"100%",innerSize:"70%",borderRadius:6,dataLabels:{enabled:!0,distance:20}},bar:{stacking:"normal",pointWidth:25,borderRadius:5},...$||{}},subtitle:f?{text:F,verticalAlign:"middle",floating:!0,y:-10,style:{fontSize:"24px",fontWeight:"500",color:"#1F2B4D"},...ee||{}}:ee&&Object.keys(ee).length?ee:void 0,credits:{enabled:!1,...Ae||{}},legend:{enabled:!R,symbolRadius:2,layout:"horizontal",align:"center",verticalAlign:"bottom",itemDistance:24,symbolPadding:6,margin:40,x:w,y:y,itemStyle:{color:"#60697D",fontFamily:"Manrope, sans-serif",fontSize:"12px",fontWeight:"500",lineHeight:"16px",padding:"20px"},itemHoverStyle:{color:"#0d152c"},navigation:{activeColor:"#3E576F",animation:!0,arrowSize:12},...te||{}},series:null!=ie?ie:s,colorAxis:"heatmap"===i||"bubble"===i||"packedbubble"===i||"treemap"===i?{minColor:"#ffffff",maxColor:"#658EC4",...ne||{}}:ne&&Object.keys(ne).length?ne:void 0,...oe||{}})),[i,o,a,r,s,c,d,ae,Q,T,H,R,K,U,q,W,Z,V,_,$,ee,Ae,te,ne,ie,oe]);return t.jsx(t.Fragment,{children:k?t.jsxs("div",{ref:ue,className:"chart-container ".concat(ae?"expanded":""," ").concat(se?"animating":""," ").concat(x?"card-container":""),style:H?{width:H}:{},children:[N&&t.jsxs("div",{className:"chart-container-header",children:[t.jsxs("div",{className:"chart-container-header-title",children:[t.jsx("span",{className:"chart-container-header-title-text",children:g}),!!b&&null!==b&&t.jsx("div",{className:"divider-line"}),b&&b]}),t.jsxs("div",{className:"chart-container-header-actions",children:[C&&t.jsx("div",{className:"chart-custom-actions",children:l.isValidElement(C)?C:null}),!!C&&null!==C&&t.jsx("div",{className:"divider-line"}),p&&!ae&&t.jsx(Jh,{variant:"text",icon:t.jsx(A1,{}),onClick:()=>{D(!k)}}),h&&t.jsx(Jh,{variant:"text",icon:t.jsx(l1,{}),onClick:e=>{ce((e=>!e)),fe(e.currentTarget)}}),I&&t.jsx(Jh,{variant:"text",icon:t.jsx(SI,{}),onClick:e=>{B(e)}}),L&&L,X&&t.jsx(Jh,{variant:"text",icon:ae?t.jsx(a1,{}):t.jsx(n1,{}),onClick:()=>{ae?(()=>{const e=ue.current;e&&(le(!0),e.classList.add("fullscreen-animating-out"),setTimeout((()=>{document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),re(!1),O(!1),e.classList.remove("fullscreen-animating-out")}),200))})():(()=>{const e=ue.current;e&&(le(!0),e.classList.add("fullscreen-animating"),setTimeout((()=>{e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen(),re(!0),O(!0),e.classList.remove("fullscreen-animating")}),200))})()}})]})]}),t.jsx(Kh,{anchorEl:de,iconPlacement:"left",onClose:()=>{ce(!1)},open:ge,options:E,selected:v,MenuProps:{transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"bottom",horizontal:"right"}},...m}),t.jsx(H3,{highcharts:N3,options:Ce,ref:Be},function(e,A){try{return e?JSON.stringify(e):A}catch{return A}}(Ce,"graph")+ae),R&&t.jsx("div",{className:"chart-custom-legend",style:{marginBottom:12,marginTop:-32,...Y||{}},children:l.isValidElement(R)?R:"function"==typeof R?R(null===(n=Be.current)||void 0===n?void 0:n.chart):null})]}):u})},e.ChatBotComponent=e=>{var n;let{onClose:i,userName:o,isChatBotOpen:a,setIsChatBotOpen:r,conversation:s=[],solution:l,formComponent:g,tableComponent:c,preDefinedQuestions:d,addedByYouQuestions:f,onSendIconClick:B=(()=>{}),assistantChats:u=[],isAssistantThinking:C=!1,moduleList:p=[],onModuleClick:h=(()=>{}),tabList:I,handleSavedChat:E,threadList:v=["Home","Thread 1","Thread 2"],activeThread:m=null,isCustomScreen:Q=!1,customScreenJsx:b=null,onLikeClick:x=(()=>{}),onDislikeClick:F=(()=>{}),handleNewChatClick:w=(()=>{}),inputText:y="",handleRefresh:z,handleMicClick:P,hideMenuArrow:M=!1,newChatScreen:k=!1,isModuleListLoading:D=!1,suggestionBanner:j={freeTextHeading:"Try adding more details:",freeTextContent:"Alan works best when your input has context and pointed questions"},isStopIcon:L=!1,onStopIconClick:O=(()=>{}),landingScreen:S=!1,footerText:N="AI-generated responses may contain errors—please verify important information",onCloseSuggestionBanner:T=(()=>{}),showSuggestionBanner:H=!1,utilityList:X=[],customInputComponent:R=null,onHistoryPanelClick:Y=(()=>{}),historyPanelData:G=[],onHistorySearchChange:J=(()=>{}),onHistorySelectConversation:K=(()=>{}),onHistoryToggleGroup:U=(()=>{}),historyOpenGroups:q,onHistoryMenuAction:W=(()=>{}),showHistoryPanel:Z=!0,isFullWidth:V=!1}=e;const[_,$]=A.useState((null==I||!I.find((e=>e.isActive)))&&!!k),[ee,Ae]=A.useState(y),[te,ne]=A.useState(V?"calc(100vw - 64px)":"690px"),[ie,oe]=A.useState(s||[]),[ae,re]=A.useState(l),[se,le]=A.useState(null==I||null===(n=I.find((e=>null==e?void 0:e.initialClick)))||void 0===n?void 0:n.name),[ge,ce]=A.useState(!1),[de,fe]=A.useState(!1),[Be,ue]=A.useState(!1),[Ce,pe]=A.useState(!1),[he,Ie]=A.useState([]),[Ee,ve]=A.useState([]),[me,Qe]=A.useState({}),be=A.useMemo((()=>ge||de||Be),[ge,de,Be]);A.useEffect((()=>{Ae(y)}),[y]),A.useEffect((()=>{const e={key:"newchat",icon:"data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16%200.5C19.7854%200.5%2022.5745%200.500713%2024.7119%200.788086C26.8348%201.07354%2028.2406%201.63315%2029.3037%202.69629C30.3668%203.75943%2030.9265%205.16519%2031.2119%207.28809C31.4993%209.42554%2031.5%2012.2146%2031.5%2016C31.5%2019.7854%2031.4993%2022.5745%2031.2119%2024.7119C30.9265%2026.8348%2030.3668%2028.2406%2029.3037%2029.3037C28.2406%2030.3668%2026.8348%2030.9265%2024.7119%2031.2119C22.5745%2031.4993%2019.7854%2031.5%2016%2031.5C12.2146%2031.5%209.42554%2031.4993%207.28809%2031.2119C5.16519%2030.9265%203.75943%2030.3668%202.69629%2029.3037C1.63315%2028.2406%201.07354%2026.8348%200.788086%2024.7119C0.500713%2022.5745%200.5%2019.7854%200.5%2016C0.5%2012.2146%200.500713%209.42554%200.788086%207.28809C1.07354%205.16519%201.63315%203.75943%202.69629%202.69629C3.75943%201.63315%205.16519%201.07354%207.28809%200.788086C9.42554%200.500713%2012.2146%200.5%2016%200.5Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M16%200.5C19.7854%200.5%2022.5745%200.500713%2024.7119%200.788086C26.8348%201.07354%2028.2406%201.63315%2029.3037%202.69629C30.3668%203.75943%2030.9265%205.16519%2031.2119%207.28809C31.4993%209.42554%2031.5%2012.2146%2031.5%2016C31.5%2019.7854%2031.4993%2022.5745%2031.2119%2024.7119C30.9265%2026.8348%2030.3668%2028.2406%2029.3037%2029.3037C28.2406%2030.3668%2026.8348%2030.9265%2024.7119%2031.2119C22.5745%2031.4993%2019.7854%2031.5%2016%2031.5C12.2146%2031.5%209.42554%2031.4993%207.28809%2031.2119C5.16519%2030.9265%203.75943%2030.3668%202.69629%2029.3037C1.63315%2028.2406%201.07354%2026.8348%200.788086%2024.7119C0.500713%2022.5745%200.5%2019.7854%200.5%2016C0.5%2012.2146%200.500713%209.42554%200.788086%207.28809C1.07354%205.16519%201.63315%203.75943%202.69629%202.69629C3.75943%201.63315%205.16519%201.07354%207.28809%200.788086C9.42554%200.500713%2012.2146%200.5%2016%200.5Z%22%20stroke%3D%22%23C3C8D4%22%2F%3E%3Cpath%20d%3D%22M20%2016.6673H16.6667V20.0007C16.6667%2020.3673%2016.3667%2020.6673%2016%2020.6673C15.6334%2020.6673%2015.3334%2020.3673%2015.3334%2020.0007V16.6673H12C11.6334%2016.6673%2011.3334%2016.3673%2011.3334%2016.0007C11.3334%2015.634%2011.6334%2015.334%2012%2015.334H15.3334V12.0007C15.3334%2011.634%2015.6334%2011.334%2016%2011.334C16.3667%2011.334%2016.6667%2011.634%2016.6667%2012.0007V15.334H20C20.3667%2015.334%2020.6667%2015.634%2020.6667%2016.0007C20.6667%2016.3673%2020.3667%2016.6673%2020%2016.6673Z%22%20fill%3D%22%231F2B4D%22%2F%3E%3C%2Fsvg%3E",className:"chatbot-component-menu-container-icon-new-chat"};I&&Array.isArray(I)?ve([e,...null==I?void 0:I.map(((e,A)=>{var t,n;return{...e,key:(null===(t=e.name)||void 0===t?void 0:t.toLowerCase())||"tab".concat(A),icon:e.icon||Jv,className:"chatbot-component-menu-container-icon-".concat(null===(n=e.name)||void 0===n?void 0:n.toLowerCase()),label:e.name,onClick:e.onClick}})),...Z?Uv:[]]):ve([e,...Kv])}),[I]),A.useEffect((()=>{if(a){var e,A;const t=document.querySelector(".resizer");let n,i;const o=e=>{const A=e.clientX-n;let t=i-A;const o=be?1050:690,a=window.innerWidth-100;t<=o&&(t=o),t>a&&(t=a),ne("".concat(t,"px"))},a=()=>{document.body.classList.remove("no-select"),document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",a)},r=e=>{n=e.clientX,i=document.querySelector(".chatbot-component-container").getBoundingClientRect().width,document.body.classList.add("no-select"),document.addEventListener("mousemove",o),document.addEventListener("mouseup",a)};return le(null==I||null===(e=I.find((e=>null==e?void 0:e.initialClick)))||void 0===e?void 0:e.name),null==Ee||null===(A=Ee.find((e=>null==e?void 0:e.initialClick)))||void 0===A||A.onClick(null==Ee?void 0:Ee.find((e=>null==e?void 0:e.initialClick))),t&&!V?t.addEventListener("mousedown",r):V&&ne("calc(100vw - 64px)"),()=>{null==t||t.removeEventListener("mousedown",r)}}}),[a,be,V]);const xe=()=>{r(!1),fe(!1),ce(!1),ue(!1),null==i||i()},Fe=()=>{ce(!1),fe(!1),ue(!1)};return A.useEffect((()=>{ne(be?e=>Math.min(parseInt(e)+360,window.innerWidth-100):e=>Math.max(parseInt(e)-360,690))}),[be]),t.jsx(t.Fragment,{children:a?t.jsxs("div",{className:"chatbot-modal-wrapper",children:[t.jsx("div",{className:"resizer"}),t.jsx("div",{className:"chatbot-component-container",style:{width:te},children:S?t.jsx(Yv,{onClose:xe,isFullWidth:V}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"chatbot-component-left-side ".concat(ge||de||Be?"chatbot-component-left-side-open":""),children:t.jsxs("div",{className:"chatbot-component-menu-container ".concat(ge||de||Be?"chatbot-component-menu-container-open":""),children:[t.jsxs("div",{className:"chatbot-component-menu-container-icon ".concat(ge||de||Be?"chatbot-component-menu-container-icon-open":""),children:[t.jsx("ul",{className:"chatbot-component-menu-list",children:null==Ee?void 0:Ee.map((e=>{var A;return t.jsx(AE,{title:e.key.charAt(0).toUpperCase()+e.key.slice(1),variant:"tertiary",orientation:"left",children:t.jsx("li",{className:"".concat(e.className," ").concat((null==se?void 0:se.toLowerCase())===(null==e||null===(A=e.key)||void 0===A?void 0:A.toLowerCase())?"active":""),onClick:()=>(e=>{if("newchat"===(null==e?void 0:e.key)){var A;Ae("");let n=null==w?void 0:w(e);if(null!=n&&n.isInitialClickPresent){var t;let e=I.find((e=>{var A,t;return(null==e||null===(A=e.name)||void 0===A?void 0:A.toLowerCase())===(null==n||null===(t=n.tabName)||void 0===t?void 0:t.toLowerCase())}));null==e||null===(t=e.onClick)||void 0===t||t.call(e,e)}le(null===(A=I.find((e=>{var A,t;return(null==e||null===(A=e.name)||void 0===A?void 0:A.toLowerCase())===(null==n||null===(t=n.tabName)||void 0===t?void 0:t.toLowerCase())})))||void 0===A?void 0:A.name)}else if("history"===(null==e?void 0:e.key))fe(!de),null==Y||Y(e,!de);else{var n;le(null==e?void 0:e.key),null==e||null===(n=e.onClick)||void 0===n||n.call(e,e)}})(e),children:"string"==typeof e.icon?t.jsx("img",{src:e.icon,className:e.iconClassName,alt:e.key}):e.icon},e.key)})}))}),t.jsx("ul",{className:"chatbot-component-menu-list utility-list",children:null==X?void 0:X.map((e=>t.jsx(AE,{title:e.key.charAt(0).toUpperCase()+e.key.slice(1),variant:"tertiary",orientation:"left",children:t.jsx("li",{onClick:e.onClick,children:"string"==typeof e.icon?t.jsx("img",{src:e.icon,alt:e.key}):e.icon},e.key)})))})]}),ge&&!de&&!Be&&t.jsx(em,{preDefinedQuestions:d,addedByYouQuestions:f,onClose:Fe}),de&&!ge&&!Be&&t.jsx(Am,{historyPanelData:G,onClose:Fe,onSearchChange:J,onSelectConversation:K,onToggleGroup:(e,A)=>{null==q&&Qe((t=>({...t,[e]:A}))),null==U||U(e,A)},openGroups:null!=q?q:me,onMenuAction:W})]})}),t.jsxs("div",{className:"chatbot-component-right-side ".concat(ge||de||Be?"chatbot-component-right-side-open":""),children:[!Q&&t.jsx("div",{className:"conversation-screen-container",children:t.jsx(Xv,{hideMenuArrow:M,moduleList:p,activeList:se,onModuleClick:h,hideChildren:!k,isModuleListLoading:D,hideCenterOptions:k,threadList:v,activeThread:m,handleSavedChat:E,onClose:xe,isFullWidth:V})}),k?t.jsx(yv,{onClose:xe,userName:o,inputValue:ee,setInputValue:Ae,setIsNewChat:$,onSendIconClick:B,userChats:he,setUserChats:Ie,moduleList:p,onModuleClick:h,activeList:se,handleRefresh:z,handleMicClick:P,hideMenuArrow:M,isModuleListLoading:D,suggestionBanner:j,isStopIcon:L,onStopIconClick:O,onCloseSuggestionBanner:T,showSuggestionBanner:H,customInputComponent:R}):Q?t.jsx(tm,{onClose:xe,customScreenJsx:b,userChats:he,setUserChats:Ie,onSendIconClick:B,activeList:se,handleRefresh:z,handleMicClick:P,suggestionBanner:j,isStopIcon:L,onStopIconClick:O,onCloseSuggestionBanner:T,showSuggestionBanner:H,customInputComponent:R,isFullWidth:V}):t.jsx(Rv,{conversation:s,setConversation:oe,solution:ae,inputValue:ee,onClose:xe,formComponent:g,tableComponent:c,containerWidth:te,userChats:he,setUserChats:Ie,assistantChats:u,onSendIconClick:B,isAssistantThinking:C,moduleList:p,onModuleClick:h,activeList:se,handleSavedChat:E,threadList:v,activeThread:m,onLikeClick:x,onDislikeClick:F,inputText:y,handleRefresh:z,handleMicClick:P,hideMenuArrow:M,isModuleListLoading:D,suggestionBanner:j,isStopIcon:L,onStopIconClick:O,onCloseSuggestionBanner:T,showSuggestionBanner:H,customInputComponent:R}),t.jsx(sv,{footerText:N})]})]})})]}):null})},e.Checkbox=Bd,e.Chips=oF,e.CreateItemFlow=cF,e.DatePicker=XM,e.DateRangePicker=$M,e.EmptyState=vk,e.FileUpload=Fk,e.FilterPanel=function(e){let{className:A,title:n,size:i,anchor:o="right",isOpen:a,setIsOpen:r,active:s,setActive:l,filters:g,handleClose:c,primaryButtonLabel:d,onPrimaryButtonClick:f,secondaryButtonLabel:B,onSecondaryButtonClick:u,tertiaryButtonLabel:C,onTertiaryButtonClick:p,quaternaryButtonLabel:h,onQuaternaryButtonClick:I,primaryButtonProps:E,secondaryButtonProps:v,tertiaryButtonProps:m,quaternaryButtonProps:Q,alwaysRender:b=!1}=e;const x=(e,A)=>e=>{("keydown"!==e.type||"Tab"!==e.key&&"Shift"!==e.key)&&(c?c():r(!a))},F=e=>"medium"===e?"impact_drawer_filter_container_medium":"impact_drawer_filter_container_large";let w=g.filter((e=>e.value===s));return C||B||d?t.jsx(lu,{anchor:o,open:a,onClose:x(),children:t.jsxs("div",{className:"impact_drawer_filter_container ".concat(F(i)," ").concat(A),children:[t.jsx(Mk,{title:n,toggleDrawer:x()}),t.jsxs("div",{className:"impact-drawer-filter-main-container",children:[t.jsx(zk,{filters:g,active:s,setActive:l}),t.jsxs("div",{className:"impact_drawer_filter_container_right_panel",children:[b?g.map((e=>t.jsx("div",{className:"impact_drawer_filter_body",style:{display:e.value===s?"block":"none"},children:e.children},e.id))):t.jsx("div",{className:"impact_drawer_filter_body",children:w[0].children}),t.jsx(kk,{quaternaryButtonLabel:h,onQuaternaryButtonClick:I,tertiaryButtonLabel:C,onTertiaryButtonClick:p,secondaryButtonLabel:B,onSecondaryButtonClick:u,primaryButtonLabel:d,onPrimaryButtonClick:f,primaryButtonProps:E,secondaryButtonProps:v,tertiaryButtonProps:m,quaternaryButtonProps:Q})]})]})]})}):t.jsx(lu,{anchor:o,open:a,onClose:x(),children:t.jsxs("div",{className:"impact_drawer_filter_container ".concat(F(i)," ").concat(A),children:[t.jsx(Mk,{title:n,toggleDrawer:x()}),t.jsxs("div",{className:"impact-drawer-filter-main-container",children:[t.jsx(zk,{filters:g,active:s,setActive:l}),t.jsx("div",{className:"impact_drawer_filter_container_right_panel",children:t.jsx("div",{className:"impact_drawer_filter_body impact_drawer_filter_footer_no_buttons",children:w[0].children})})]})]})})},e.FiltersStrip=Uk,e.Header=function(e){let{title:n,userName:i,handleLogoClick:o,showNotificationIcon:a=!0,notificationIndicator:r=!0,handleNotificationClick:s,showHelpIcon:l=!0,handleHelpClick:g,showMessageIcon:c=!0,handleMessageClick:d,showChatBotIcon:f=!0,handleChatBotClick:B,isMessageIconDisabled:u=!1,isNotificationDnd:C=!1,dropMenuOptions:p=[{label:i,onClick:()=>{}}],isChatBotDisabled:h=!1,centerComponent:I,avatarProps:E,avatarType:v="withoutPicture"}=e;const[m,Q]=A.useState(null),b=Boolean(m);return t.jsxs("div",{className:"impact-header-container",children:[t.jsxs("div",{className:"impact-header-container-left-side",children:[t.jsx("div",{className:"impact-header-logo",role:"button",onClick:o,children:t.jsx("img",{src:"data:image/svg+xml,%3Csvg%20width%3D%2278%22%20height%3D%2227%22%20viewBox%3D%220%200%2078%2027%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M77.9911%207.28503H75.1385V14.6887H73.434V7.28503H70.5991V5.85831H71.0142C73.2044%205.85831%2075.3946%205.85831%2077.5848%205.85831C77.7262%205.85831%2077.8586%205.84987%2077.9999%205.84143V7.28503H77.9911Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M77.991%2019.7708C77.6554%2020.4124%2077.0725%2020.6404%2076.1629%2020.4715C75.9421%2020.4293%2075.7302%2020.3533%2075.4917%2020.2774C75.5624%2020.0832%2075.6242%2019.9312%2075.6772%2019.8046C76.0304%2019.8637%2076.366%2019.9397%2076.7016%2019.9566C76.9577%2019.9735%2077.2227%2019.9059%2077.2933%2019.6189C77.364%2019.3234%2077.1344%2019.1799%2076.9047%2019.0702C76.6575%2018.952%2076.3925%2018.8844%2076.1452%2018.7662C75.7125%2018.5721%2075.5359%2018.2513%2075.5888%2017.8123C75.633%2017.4155%2075.8979%2017.12%2076.3395%2017.0103C76.8518%2016.8837%2077.3375%2016.9427%2077.8232%2017.1791C77.7614%2017.348%2077.6996%2017.4999%2077.6466%2017.635C77.3463%2017.5843%2077.0725%2017.5253%2076.7899%2017.5084C76.5691%2017.4915%2076.3395%2017.559%2076.2777%2017.8038C76.2159%2018.0487%2076.3837%2018.1922%2076.5868%2018.2935C76.7369%2018.3695%2076.8959%2018.4286%2077.0637%2018.4792C77.4788%2018.6227%2077.8232%2018.8338%2077.991%2019.239V19.7624V19.7708Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M35.8559%205.85809C36.4211%205.85809%2036.8803%205.84121%2037.3396%205.86653C37.4456%205.86653%2037.5869%206.01005%2037.6399%206.11979C38.3817%207.59716%2039.1147%209.08297%2039.8477%2010.5603C39.9979%2010.8642%2040.1303%2011.1766%2040.307%2011.5396C40.5896%2010.9149%2040.8369%2010.3408%2041.1106%209.78366C41.7112%208.55956%2042.3382%207.33546%2042.9388%206.11135C43.0447%205.9003%2043.1861%205.83276%2043.4157%205.84121C43.8043%205.85809%2044.1928%205.84121%2044.6786%205.84121C44.917%208.78749%2045.1466%2011.7169%2045.3939%2014.7054C44.8375%2014.7054%2044.3341%2014.7138%2043.8396%2014.6885C43.7778%2014.6885%2043.6718%2014.5028%2043.6718%2014.4015C43.61%2013.1689%2043.5746%2011.928%2043.5128%2010.6954C43.4775%2010.02%2043.4157%209.34467%2043.3627%208.66931C43.3627%208.61865%2043.3362%208.568%2043.3009%208.43293C43.0889%208.85503%2042.9123%209.2096%2042.7445%209.55572C42.1704%2010.7967%2041.5964%2012.0377%2041.0312%2013.2787C40.9517%2013.456%2040.8634%2013.5235%2040.6514%2013.5235C39.6446%2013.5235%2039.6446%2013.5319%2039.2472%2012.6709C38.6731%2011.4214%2038.0814%2010.172%2037.4986%208.92257C37.4279%208.77905%2037.3484%208.63554%2037.2778%208.49202C37.2424%208.49202%2037.2071%208.49202%2037.1718%208.50046C37.0658%2010.5519%2036.951%2012.5949%2036.845%2014.6716H35.1582C35.3878%2011.7253%2035.6263%208.80438%2035.8559%205.83276V5.85809Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M53.3692%2014.7221C53.7843%2013.6415%2054.1552%2012.6031%2054.5791%2011.5901C55.3475%209.77502%2056.1512%207.97685%2056.9283%206.17025C57.0255%205.94231%2057.1579%205.80724%2057.4317%205.85789C57.5289%205.87477%2057.6437%205.87477%2057.7408%205.85789C58.5092%205.69749%2058.8624%206.05206%2059.1274%206.71054C60.1695%209.30226%2061.2558%2011.8771%2062.3244%2014.4519C62.3509%2014.5195%2062.3685%2014.5955%2062.4039%2014.7136C61.821%2014.7136%2061.2646%2014.7136%2060.7082%2014.7052C60.6376%2014.7052%2060.5404%2014.587%2060.5051%2014.5026C60.2843%2013.9623%2060.0812%2013.422%2059.8869%2012.8733C59.8251%2012.696%2059.7367%2012.6369%2059.5425%2012.6369C58.4209%2012.6369%2057.2904%2012.6369%2056.1688%2012.6369C55.9569%2012.6369%2055.8685%2012.7044%2055.7979%2012.8901C55.6213%2013.422%2055.4093%2013.9454%2055.2327%2014.4688C55.1709%2014.6461%2055.0825%2014.7305%2054.8706%2014.7305C54.3937%2014.7136%2053.9079%2014.7305%2053.3516%2014.7305L53.3692%2014.7221ZM56.3366%2011.3115H59.3923C58.8889%2010.062%2058.3944%208.85483%2057.9086%207.65605C57.8733%207.65605%2057.8468%207.65605%2057.8115%207.6645C57.3257%208.86327%2056.84%2010.062%2056.3366%2011.3115Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M48.6882%2011.641V14.697H47.0278V5.95101C47.6195%205.90035%2048.2201%205.81593%2048.8295%205.79061C49.8804%205.7484%2050.9402%205.7484%2051.9558%206.10296C53.9252%206.78677%2054.4905%209.35317%2052.9538%2010.7039C52.2826%2011.2948%2051.4259%2011.4806%2050.5516%2011.5566C49.9511%2011.6072%2049.3417%2011.6156%2048.6882%2011.641ZM48.7058%2010.2058C49.5095%2010.2311%2050.2867%2010.2565%2051.0373%2010.0201C51.7174%209.80904%2052.0176%209.38694%2052.0265%208.68624C52.0265%208.01088%2051.6997%207.555%2051.0373%207.35239C50.2778%207.11601%2049.5095%207.14134%2048.7147%207.22576V10.2058H48.7058Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M69.6715%2012.9751C69.8304%2013.4479%2069.9806%2013.8615%2070.1484%2014.368C69.6008%2014.52%2069.0974%2014.6888%2068.5764%2014.7901C67.7197%2014.959%2066.8454%2014.9674%2065.9799%2014.7901C64.5492%2014.5031%2063.5601%2013.7011%2063.0832%2012.3926C62.5356%2010.9068%2062.5091%209.4041%2063.2421%207.95206C63.9928%206.45781%2065.3175%205.74867%2067.0044%205.65581C67.9405%205.60516%2068.8502%205.75712%2069.7156%206.13701C69.9629%206.24676%2070.0424%206.3565%2069.9276%206.60977C69.7775%206.93057%2069.6715%207.25981%2069.5567%207.56372C69.0268%207.42021%2068.5234%207.22604%2068.0023%207.15006C65.9799%206.87147%2064.6993%207.85075%2064.5139%209.79243C64.4432%2010.4931%2064.5139%2011.1938%2064.77%2011.8607C65.1674%2012.8654%2066.0417%2013.4394%2067.1722%2013.4647C68.0376%2013.4901%2068.859%2013.355%2069.6803%2012.9667L69.6715%2012.9751Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M31.8643%205.87537H33.4981V14.6973H31.8643V5.87537Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M40.466%2019.1879V17.0605H41.0842V20.412C40.7575%2020.488%2040.5455%2020.4374%2040.3512%2020.125C39.9096%2019.4243%2039.4062%2018.7658%2038.9205%2018.082C38.8852%2018.0905%2038.8587%2018.0989%2038.8234%2018.1073V20.412H38.1875V17.0521C38.4966%2016.9761%2038.7439%2017.0014%2038.947%2017.2716C39.4239%2017.8963%2039.9273%2018.5041%2040.466%2019.171V19.1879Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M43.9546%2020.4041C44.4227%2019.3151%2044.8642%2018.2599%2045.3323%2017.2215C45.3765%2017.1286%2045.5531%2017.0526%2045.6767%2017.0442C45.818%2017.0442%2046.0565%2017.0948%2046.1006%2017.1877C46.5599%2018.2261%2046.9838%2019.2645%2047.4165%2020.3113C47.4254%2020.3366%2047.4165%2020.3788%2047.4165%2020.4886C47.1693%2020.4295%2046.8778%2020.4464%2046.7365%2020.3113C46.5775%2020.1593%2046.5422%2019.8807%2046.4451%2019.6444C46.0035%2019.6444%2045.5708%2019.6444%2045.138%2019.6444C45.0585%2019.6444%2044.979%2019.7288%2044.9172%2019.7879C44.8819%2019.8216%2044.8731%2019.8892%2044.8554%2019.9398C44.72%2020.3056%2044.4197%2020.4576%2043.9546%2020.3957V20.4041ZM46.2773%2019.1125C46.0918%2018.6566%2045.9152%2018.2261%2045.7474%2017.804C45.7209%2017.804%2045.6944%2017.804%2045.6679%2017.804C45.4913%2018.2345%2045.3235%2018.6651%2045.138%2019.1125H46.2861H46.2773Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M35.3614%2020.4377C35.1583%2020.4377%2035.0258%2020.4208%2034.911%2020.4377C34.6725%2020.4715%2034.5666%2020.3617%2034.4959%2020.1591C34.3105%2019.6357%2034.3016%2019.6357%2033.7276%2019.6357C33.6569%2019.6357%2033.5863%2019.6357%2033.5245%2019.6357C32.8621%2019.6357%2032.8533%2019.6357%2032.606%2020.2351C32.4558%2020.6065%2032.1556%2020.3448%2031.8995%2020.4546C31.8995%2020.3786%2031.8818%2020.3279%2031.8995%2020.2857C32.3234%2019.2642%2032.7473%2018.2343%2033.1889%2017.2128C33.2242%2017.1284%2033.3831%2017.0271%2033.4891%2017.0355C33.6481%2017.0355%2033.9042%2017.0777%2033.9484%2017.179C34.4341%2018.2343%2034.8845%2019.3064%2035.3702%2020.4377H35.3614ZM32.9946%2019.1038H34.1338C33.9484%2018.6395%2033.7717%2018.209%2033.5598%2017.694C33.3567%2018.209%2033.18%2018.6395%2032.9857%2019.1038H32.9946Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M72.7011%2017.2296C72.6393%2017.3984%2072.5775%2017.542%2072.5157%2017.6939C71.8886%2017.4997%2071.2793%2017.3393%2070.8023%2017.9303C70.4756%2018.344%2070.4756%2019.1713%2070.82%2019.5765C71.3057%2020.1506%2071.9151%2019.9733%2072.5598%2019.7875C72.6128%2019.9479%2072.6746%2020.0999%2072.7276%2020.2603C71.9769%2020.6993%2070.8112%2020.5727%2070.299%2020.007C69.7426%2019.3823%2069.7514%2018.1498%2070.3254%2017.4997C70.8377%2016.9172%2071.8886%2016.7822%2072.6923%2017.2296H72.7011Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M56.4687%2020.4206H55.8152C55.8152%2020.1927%2055.7975%2019.9647%2055.8152%2019.7452C55.8593%2019.3062%2055.718%2018.9432%2055.4707%2018.5887C55.1351%2018.1075%2054.8613%2017.6009%2054.5522%2017.0944C55.1616%2016.934%2055.2676%2016.9847%2055.5237%2017.449C55.7092%2017.7951%2055.9123%2018.1328%2056.1508%2018.5464C56.3892%2018.1412%2056.6012%2017.7951%2056.7954%2017.4405C57.0604%2016.9593%2057.0604%2016.9593%2057.7228%2017.0775C57.4313%2017.5587%2057.184%2018.0484%2056.8573%2018.4958C56.5482%2018.9263%2056.4069%2019.3653%2056.4687%2019.8719C56.4863%2020.0407%2056.4687%2020.218%2056.4687%2020.429V20.4206Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M62.1295%2020.4209H61.4583V17.5928H60.3809V17.0525H63.1628V17.5843H62.1295V20.4209Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M52.5649%2019.889V20.4124H50.3306V17.0525H50.9841V19.889H52.5649Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M66.1484%2017.0442H66.7401V20.4126H66.1484V17.0442Z%22%20fill%3D%22%231C1B1B%22%20fill-opacity%3D%220.982%22%2F%3E%3Cpath%20d%3D%22M13.6094%2010.1389L5.6875%2025.8834L0%2021.7299L7.87771%205.90102L13.5122%2010.0545L13.6182%2010.1305L13.6094%2010.1389ZM16.5591%204.2717L10.8186%200L8.45176%204.7529L14.1834%209.00771L16.5679%204.28014L16.5591%204.2717ZM17.6454%206.42443L11.8166%2018.0914L27.36%2026.1874L17.6542%206.42443H17.6454Z%22%20fill%3D%22%23264CD7%22%2F%3E%3C%2Fsvg%3E",width:"100%",height:"100%"})}),t.jsx("div",{className:"impact-header-separator"}),t.jsx("div",{className:"impact-header-title",children:n})]}),I,t.jsxs("div",{className:"impact-header-container-right-side",children:[l?t.jsx("div",{className:"impact-header-help-container",role:"button",onClick:g,children:t.jsx("img",{src:"data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C17.5228%2022%2022%2017.5228%2022%2012C22%206.47715%2017.5228%202%2012%202C6.47715%202%202%206.47715%202%2012C2%2017.5228%206.47715%2022%2012%2022Z%22%20stroke%3D%22%23535B63%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M9.08984%209.00057C9.32495%208.33224%209.789%207.76868%2010.3998%207.4097C11.0106%207.05073%2011.7287%206.91951%2012.427%207.03928C13.1253%207.15906%2013.7587%207.52209%2014.2149%208.0641C14.6712%208.6061%2014.9209%209.29209%2014.9198%2010.0006C14.9198%2012.0006%2011.9198%2013.0006%2011.9198%2013.0006%22%20stroke%3D%22%23535B63%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M12%2017H12.01%22%20stroke%3D%22%23535B63%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E",width:"100%",height:"100%"})}):null,u?c?t.jsx("div",{className:"impact-header-message-container",role:"button",children:t.jsx("img",{src:"data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M21%2015C21%2015.5304%2020.7893%2016.0391%2020.4142%2016.4142C20.0391%2016.7893%2019.5304%2017%2019%2017H7L3%2021V5C3%204.46957%203.21071%203.96086%203.58579%203.58579C3.96086%203.21071%204.46957%203%205%203H19C19.5304%203%2020.0391%203.21071%2020.4142%203.58579C20.7893%203.96086%2021%204.46957%2021%205V15Z%22%20stroke%3D%22%23B4BAC7%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E",width:"100%",height:"100%"})}):null:c?t.jsx("div",{className:"impact-header-message-container",role:"button",onClick:d,children:t.jsx("img",{src:"data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M21%2015C21%2015.5304%2020.7893%2016.0391%2020.4142%2016.4142C20.0391%2016.7893%2019.5304%2017%2019%2017H7L3%2021V5C3%204.46957%203.21071%203.96086%203.58579%203.58579C3.96086%203.21071%204.46957%203%205%203H19C19.5304%203%2020.0391%203.21071%2020.4142%203.58579C20.7893%203.96086%2021%204.46957%2021%205V15Z%22%20stroke%3D%22%23535B63%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E",width:"100%",height:"100%"})}):null,C?a?t.jsx("div",{className:"impact-header-notification-container",role:"button",onClick:s,children:t.jsx("img",{src:"data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C13.1%2022%2014%2021.1%2014%2020H10C10%2021.1%2010.9%2022%2012%2022ZM12%206.5C14.49%206.5%2016%208.52%2016%2011V11.1L18%2013.1V11C18%207.93%2016.37%205.36%2013.5%204.68V4C13.5%203.17%2012.83%202.5%2012%202.5C11.17%202.5%2010.5%203.17%2010.5%204V4.68C10.26%204.74%2010.03%204.83%209.81%204.91L11.45%206.55C11.63%206.53%2011.81%206.5%2012%206.5ZM5.41%203.35L4%204.76L6.81%207.57C6.29%208.57%206%209.74%206%2011V16L4%2018V19H18.24L19.98%2020.74L21.39%2019.33L5.41%203.35ZM16%2017H8V11C8%2010.32%208.12%209.68%208.34%209.1L16%2016.76V17Z%22%20fill%3D%22%2360697D%22%2F%3E%3C%2Fsvg%3E",width:"100%",height:"100%"})}):null:a?t.jsxs("div",{className:"impact-header-notification-container",role:"button",onClick:s,children:[t.jsx("img",{src:Uh,width:"100%",height:"100%"}),r&&t.jsxs("div",{className:"impact-header-notification-indicator-container",children:[t.jsx("div",{className:"impact-header-notification-indicator-outer-circle"}),t.jsx("div",{className:"impact-header-notification-indicator-inner-circle"})]})]}):null,f?t.jsx("div",{className:"impact-header-bot-container ".concat(h?"impact-header-bot-container-disabled":""),role:"button",onClick:B,disabled:h,children:t.jsx("span",{className:"impact-header-bot-container-text",children:"Ask Genie"})}):null,t.jsx("div",{className:"impact-header-avatar",onClick:e=>Q(e.currentTarget),children:t.jsx(Oa,{label:i,size:"small",type:v,...E})}),p&&p.length>0&&t.jsx(Kh,{anchorEl:m,open:b,onClose:()=>Q(null),options:p})]})]})},e.HomeIcon=AF,e.HomePage=e=>{let{clientName:n="",userName:i="",toolKitItems:o=[],smartAiItems:a=[],configurationsMenuItems:r=[],activeToolKitItem:s=null,activeSmartAiItem:l=null,onLaunchClick:g=(()=>{}),onBookDemoClick:c=(()=>{}),onViewReleasedNotesClick:d=(()=>{}),onConfigurationsClick:f=(()=>{}),onKnowMoreClick:B=(()=>{}),showConfigurationsButton:u=!0}=e;const[C,p]=A.useState(s),[h,I]=A.useState(l),[E,v]=A.useState(null),[m,Q]=A.useState(null),[b,x]=A.useState(!1),[F,w]=A.useState(0),[y,z]=A.useState(!1),[P,M]=A.useState(null),[k,D]=A.useState(0),j=A.useRef(null),L=A.useRef(null),[O,S]=A.useState(null),N=e=>{!b||e.target.closest(".configurations_menu_container")||e.target.closest(".floating_btn_container")||x(!1)};A.useEffect((()=>(document.addEventListener("mousedown",(e=>{N(e)})),()=>{document.removeEventListener("mousedown",(e=>{N(e)}))})),[b]);const T=()=>{j.current&&clearInterval(j.current),j.current=setInterval((()=>{w((e=>(e+1)%aQ.length))}),1e3)};A.useEffect((()=>(T(),()=>{j.current&&clearInterval(j.current)})),[]);return A.useEffect((()=>{if(!L.current)return;const e=new ResizeObserver((e=>{let[A]=e;D(A.contentRect.width)}));return e.observe(L.current),()=>{e.disconnect()}}),[]),A.useEffect((()=>{n&&S((e=>{const A=lQ.search(e);return A.length>0?A[0].item:null})(n))}),[n]),t.jsxs("div",{className:"main_landingpage_container",children:[t.jsxs("div",{className:"left_panel",children:[t.jsxs("div",{className:"left_panel_header",children:[t.jsxs("div",{className:"left_section_header",children:[t.jsx("div",{className:"left_section_IA_logo_container"}),t.jsxs("div",{className:"right_content_container",children:[t.jsxs("div",{className:"right_content_title",children:[t.jsxs("span",{className:"non_gradient_text",children:["Welcome ",i,"👋, Here’s your toolkit powered by"," "]}),t.jsx("span",{className:"gradient_text",children:"Agentic AI"})]}),t.jsx("div",{className:"right_content_description",children:"Access your tools and explore new solutions to level up."})]})]}),t.jsx("div",{className:"center_graidient_container"}),t.jsx("div",{className:"center_image_container"}),t.jsx("div",{className:"bottom_image_container"})]}),t.jsxs("div",{className:"left_panel_product_container",children:[t.jsxs("div",{className:"tool_kit_container",children:[t.jsxs("div",{className:"toolkit_header_container",children:[t.jsx("div",{className:"common_header toolkit_header_icon",children:"Your tool kit 🧰"}),u&&t.jsx(Jh,{variant:"tertiary",onClick:()=>x(!b),icon:t.jsx("img",{src:"data:image/svg+xml,%3Csvg%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2014%2014%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.07998%2013.6663H5.57998C5.41331%2013.6663%205.26887%2013.6108%205.14664%2013.4997C5.02442%2013.3886%204.9522%2013.2497%204.92998%2013.083L4.72998%2011.533C4.58553%2011.4775%204.44953%2011.4108%204.32198%2011.333C4.19398%2011.2552%204.06887%2011.1719%203.94664%2011.083L2.49664%2011.683C2.34109%2011.7386%202.18553%2011.7441%202.02998%2011.6997C1.87442%2011.6552%201.7522%2011.5608%201.66331%2011.4163L0.429978%209.26634C0.341089%209.1219%200.313311%208.96634%200.346644%208.79967C0.379978%208.63301%200.463311%208.49967%200.596644%208.39968L1.84664%207.44967C1.83553%207.3719%201.82998%207.29679%201.82998%207.22434V6.77434C1.82998%206.70234%201.83553%206.62745%201.84664%206.54967L0.596644%205.59967C0.463311%205.49967%200.379978%205.36634%200.346644%205.19967C0.313311%205.03301%200.341089%204.87745%200.429978%204.73301L1.66331%202.58301C1.74109%202.42745%201.86042%202.33012%202.02131%202.29101C2.18264%202.25234%202.34109%202.26079%202.49664%202.31634L3.94664%202.91634C4.06887%202.82745%204.19664%202.74412%204.32998%202.66634C4.46331%202.58856%204.59664%202.5219%204.72998%202.46634L4.92998%200.916341C4.9522%200.749674%205.02442%200.610786%205.14664%200.499674C5.26887%200.388563%205.41331%200.333008%205.57998%200.333008H8.07998C8.24664%200.333008%208.39109%200.388563%208.51331%200.499674C8.63553%200.610786%208.70776%200.749674%208.72998%200.916341L8.92998%202.46634C9.07442%202.5219%209.21064%202.58856%209.33864%202.66634C9.4662%202.74412%209.59109%202.82745%209.71331%202.91634L11.1633%202.31634C11.3189%202.26079%2011.4744%202.25523%2011.63%202.29967C11.7855%202.34412%2011.9078%202.43856%2011.9966%202.58301L13.23%204.73301C13.3189%204.87745%2013.3466%205.03301%2013.3133%205.19967C13.28%205.36634%2013.1966%205.49967%2013.0633%205.59967L11.8133%206.54967C11.8244%206.62745%2011.83%206.70234%2011.83%206.77434V7.22434C11.83%207.29679%2011.8189%207.3719%2011.7966%207.44967L13.0466%208.39968C13.18%208.49967%2013.2633%208.63301%2013.2966%208.79967C13.33%208.96634%2013.3022%209.1219%2013.2133%209.26634L11.98%2011.3997C11.8911%2011.5441%2011.7662%2011.6415%2011.6053%2011.6917C11.444%2011.7415%2011.2855%2011.7386%2011.13%2011.683L9.71331%2011.083C9.59109%2011.1719%209.46331%2011.2552%209.32998%2011.333C9.19664%2011.4108%209.06331%2011.4775%208.92998%2011.533L8.72998%2013.083C8.70776%2013.2497%208.63553%2013.3886%208.51331%2013.4997C8.39109%2013.6108%208.24664%2013.6663%208.07998%2013.6663ZM6.86331%209.33301C7.50776%209.33301%208.05776%209.10523%208.51331%208.64968C8.96887%208.19412%209.19664%207.64412%209.19664%206.99967C9.19664%206.35523%208.96887%205.80523%208.51331%205.34967C8.05776%204.89412%207.50776%204.66634%206.86331%204.66634C6.20776%204.66634%205.65487%204.89412%205.20464%205.34967C4.75487%205.80523%204.52998%206.35523%204.52998%206.99967C4.52998%207.64412%204.75487%208.19412%205.20464%208.64968C5.65487%209.10523%206.20776%209.33301%206.86331%209.33301ZM6.86331%207.99967C6.58553%207.99967%206.34953%207.90234%206.15531%207.70767C5.96064%207.51345%205.86331%207.27745%205.86331%206.99967C5.86331%206.7219%205.96064%206.4859%206.15531%206.29167C6.34953%206.09701%206.58553%205.99967%206.86331%205.99967C7.14109%205.99967%207.37731%206.09701%207.57198%206.29167C7.7662%206.4859%207.86331%206.7219%207.86331%206.99967C7.86331%207.27745%207.7662%207.51345%207.57198%207.70767C7.37731%207.90234%207.14109%207.99967%206.86331%207.99967ZM6.16331%2012.333H7.47998L7.71331%2010.5663C8.05776%2010.4775%208.37731%2010.3468%208.67198%2010.1743C8.9662%2010.0023%209.23553%209.79412%209.47998%209.54967L11.13%2010.233L11.78%209.09967L10.3466%208.01634C10.4022%207.86079%2010.4411%207.69679%2010.4633%207.52434C10.4855%207.35234%2010.4966%207.17745%2010.4966%206.99967C10.4966%206.8219%2010.4855%206.64679%2010.4633%206.47434C10.4411%206.30234%2010.4022%206.13856%2010.3466%205.98301L11.78%204.89967L11.13%203.76634L9.47998%204.46634C9.23553%204.21079%208.9662%203.99679%208.67198%203.82434C8.37731%203.65234%208.05776%203.5219%207.71331%203.43301L7.49664%201.66634H6.17998L5.94664%203.43301C5.6022%203.5219%205.28287%203.65234%204.98864%203.82434C4.69398%203.99679%204.42442%204.20523%204.17998%204.44967L2.52998%203.76634L1.87998%204.89967L3.31331%205.96634C3.25776%206.13301%203.21887%206.29967%203.19664%206.46634C3.17442%206.63301%203.16331%206.81079%203.16331%206.99967C3.16331%207.17745%203.17442%207.34967%203.19664%207.51634C3.21887%207.68301%203.25776%207.84967%203.31331%208.01634L1.87998%209.09967L2.52998%2010.233L4.17998%209.53301C4.42442%209.78856%204.69398%2010.0023%204.98864%2010.1743C5.28287%2010.3468%205.6022%2010.4775%205.94664%2010.5663L6.16331%2012.333Z%22%20fill%3D%22%2360697D%22%2F%3E%3C%2Fsvg%3E",alt:"configuration"}),className:"floating_btn_container",children:"Configurations"}),b&&r.length>0&&t.jsx("div",{className:"configurations_menu_container",children:r.map(((e,A)=>t.jsxs("div",{className:"configurations_menu_item",onClick:()=>f(e),children:[t.jsx("img",{src:e.logo,alt:"configuration",className:"configurations_menu_item_logo"}),t.jsxs("div",{className:"configurations_menu_item_content",children:[t.jsx("span",{className:"configurations_menu_item_content_label",children:e.label}),t.jsx("span",{className:"configurations_menu_item_content_desc",children:e.desc})]})]},"configurations-menu-item-".concat(A))))})]}),t.jsx("div",{className:"tool_kit_content",children:o.map(((e,A)=>{var n;return t.jsxs("div",{className:"tool_kit_item_container",style:{position:"relative",width:"32%"},children:[t.jsxs("div",{className:"tool_kit_item ".concat(C===e?"tool_kit_item_active":""),onClick:()=>((e,A)=>{p((A=>A===e?null:e));const t=3*Math.floor(A/3);Q(t)})(e,A),children:[t.jsx("div",{className:"tool_kit_item_icon ".concat(e.name.replace(/\s+/g,""),"_icon"),children:e.name}),t.jsx("div",{className:"tool_kit_item_content",children:e.description}),t.jsx("div",{className:"url_container",children:t.jsx(Jh,{variant:"url",onClick:()=>{},className:"url",children:"View more"})}),t.jsxs("div",{className:"top_cta_container",children:[t.jsx("div",{className:"left_curve_container"}),t.jsx("div",{className:"right_curve_container"}),t.jsx(Jh,{icon:t.jsx(om,{}),variant:"primary",onClick:()=>{g(e)},className:"primary_btn_home_page",children:e.cta||"Launch"})]}),t.jsx("div",{className:"arrow_chevron_container",children:t.jsx("div",{className:"arrow_chevron"})})]},A),m===A&&t.jsxs("div",{className:"know_more_container ms_km_container ".concat(null===C?"ms_km_container_hidden":""," tool_kit_know_more_container"),style:{width:"".concat(k,"px")},children:[t.jsx("div",{className:"close_icon",onClick:()=>p(null)}),t.jsxs("div",{className:"km_heading_container",children:[t.jsx("div",{className:"know_more_container_heading ".concat(null==C?void 0:C.name,"_icon"),children:null==C?void 0:C.name}),t.jsx("div",{className:"tick_mark_enabled",children:"Access Enabled"})]}),t.jsx("p",{className:"km_description",children:null==C?void 0:C.details}),t.jsx("div",{className:"km_folder_container",children:null==C||null===(n=C.folderContent)||void 0===n?void 0:n.map(((e,A)=>t.jsxs("div",{className:"km_folder_item",children:[t.jsx("div",{className:"km_bulb_icon"}),t.jsx("div",{className:"km_folder_content",children:e})]},"km-folder-item-".concat(A))))}),t.jsx("div",{className:"launch_button_container",children:t.jsx(Jh,{variant:"secondary",onClick:()=>{g(C)},icon:t.jsx(om,{}),children:(null==C?void 0:C.cta)||"Launch"})})]})]},"tool-kit-item-container-".concat(A))}))})]}),t.jsxs("div",{className:"tool_kit_container smart_ai_tool_container",children:[t.jsx("div",{className:"common_header toolkit_header_icon",children:"Explore our smart Ai driven solutions 💡"}),t.jsx("div",{className:"tool_kit_content",ref:L,children:a.map(((e,A)=>{var n;return t.jsxs("div",{className:"tool_kit_item_container",children:[t.jsxs("div",{className:"tool_kit_item ".concat(h===e?"tool_kit_item_active":""),onClick:()=>((e,A)=>{I((A=>A===e?null:e));const t=3*Math.floor(A/3);v(t)})(e,A),children:[t.jsx("div",{className:"tool_kit_item_icon ".concat(e.name.replace(/\s+/g,""),"_icon"),children:e.name}),t.jsx("div",{className:"tool_kit_item_content",children:e.description}),t.jsx("div",{className:"url_container",children:t.jsx(Jh,{variant:"url",onClick:()=>{},className:"url",children:"View more"})}),t.jsxs("div",{className:"top_cta_container",children:[t.jsx("div",{className:"left_curve_container"}),t.jsx("div",{className:"right_curve_container"}),t.jsx(Jh,{variant:"tertiary",onClick:()=>{c(e)},children:e.cta||"Book demo"})]}),t.jsx("div",{className:"arrow_chevron_container",children:t.jsx("div",{className:"arrow_chevron"})}),(null==e?void 0:e.isNewProduct)&&t.jsx("div",{className:"bottom_ribbon_container",children:t.jsx("span",{children:"New"})})]},A),E===A&&t.jsxs("div",{className:"know_more_container ms_km_container ".concat(null===h?"ms_km_container_hidden":""),style:{width:"".concat(k,"px")},children:[t.jsx("div",{className:"close_icon",onClick:()=>I(null)}),t.jsx("div",{className:"km_heading_container",children:t.jsx("div",{className:"know_more_container_heading ".concat(null==h?void 0:h.name,"_icon"),children:null==h?void 0:h.name})}),t.jsx("p",{className:"km_description",children:null==h?void 0:h.details}),t.jsx("div",{className:"km_folder_container",children:null==h||null===(n=h.folderContent)||void 0===n?void 0:n.map(((e,A)=>t.jsxs("div",{className:"km_folder_item",children:[t.jsx("div",{className:"km_bulb_icon"}),t.jsx("div",{className:"km_folder_content",children:e})]},"km-folder-item-".concat(A))))}),t.jsx("div",{className:"launch_button_container",children:t.jsx(Jh,{variant:"url",onClick:()=>{B(h)},className:"url",children:(null==h?void 0:h.cta)||"Know more"})})]})]},"smart-ai-item-container-".concat(A))}))})]})]})]}),t.jsxs("div",{className:"right_panel",children:[(null==O?void 0:O.image)&&t.jsx("div",{className:"client_logo_container",children:t.jsx("img",{src:O.image,alt:(null==O?void 0:O.name)||"client-logo",className:"impact_client_logo_image"})}),t.jsxs("div",{className:"right_panel_content",children:[t.jsxs("div",{className:"smart_pf_panel_container",children:[t.jsx("div",{className:"top_text_container",children:t.jsx("div",{className:"gradient_text",children:"IA Smart Platform"})}),t.jsxs("div",{className:"bottom_cards_container",children:[t.jsxs("div",{className:"card_ia ",children:[t.jsx("div",{className:"left_image_container multi_level_planning"}),t.jsxs("div",{className:"right_content_container_card",children:[t.jsxs("span",{className:"ia_card_heading_txt",children:["Multi-Level Planning:"," "]}),"Generate Optimized plans across product hierarchies"]})]}),t.jsxs("div",{className:"card_ia",children:[t.jsx("div",{className:"left_image_container strategic_objective"}),t.jsxs("div",{className:"right_content_container_card",children:[t.jsxs("span",{className:"ia_card_heading_txt",children:["Strategic Objectives:"," "]}),"Define and align goals across organizational levels"]})]}),t.jsxs("div",{className:"card_ia",children:[t.jsx("div",{className:"left_image_container ai_ml_powered"}),t.jsxs("div",{className:"right_content_container_card",children:[t.jsx("span",{className:"ia_card_heading_txt",children:"AI/ML Powered: "}),"Advanced analytics and intelligent automation"]})]})]})]}),t.jsxs("div",{className:"latest_updates_container",children:[t.jsx("div",{className:"latest_updates_header",children:"Latest Updates"}),t.jsx("div",{className:"latest_updates_content",children:"New features and improvements are now available"}),t.jsx(Jh,{variant:"url",onClick:d,children:"View released notes"})]}),t.jsxs("div",{className:"smart_agent_studio_container",children:[t.jsx("div",{className:"smart_agent_pf_headiing",children:"SmartAgent Studio Platform"}),t.jsxs("div",{className:"carousel_main_container",children:[t.jsx("div",{className:"video_container",children:aQ.map(((e,A)=>t.jsxs("div",{className:"carousel_slide ".concat(A===F?"carousel_slide_active":""),children:[t.jsx("img",{src:e,alt:"carousel-".concat(A),className:"carousel_image"}),t.jsx("span",{className:"video_text",children:rQ[A]})]},"carousel-slide-".concat(A))))}),t.jsx("div",{className:"carousel_dot_container",children:aQ.map(((e,A)=>t.jsx("div",{className:"carousel_dot ".concat(A===F?"dot_active":""),onClick:()=>(e=>{w(e),T()})(A)},"carousel-dot-".concat(A))))})]}),t.jsx("div",{className:"agentic_usecases_container",children:t.jsx(Jh,{variant:"tertiary",onClick:()=>{z(!0)},icon:t.jsx("img",{src:"data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cmask%20id%3D%22mask0_1203_624%22%20style%3D%22mask-type%3Aalpha%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2216%22%20height%3D%2216%22%3E%3Crect%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%23D9D9D9%22%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url%28%23mask0_1203_624%29%22%3E%3Cpath%20d%3D%22M12%2012.6657H4C3.63333%2012.6657%203.33333%2012.3657%203.33333%2011.999V3.99902C3.33333%203.63236%203.63333%203.33236%204%203.33236H7.33333C7.7%203.33236%208%203.03236%208%202.66569C8%202.29902%207.7%201.99902%207.33333%201.99902H3.33333C2.59333%201.99902%202%202.59902%202%203.33236V12.6657C2%2013.399%202.6%2013.999%203.33333%2013.999H12.6667C13.4%2013.999%2014%2013.399%2014%2012.6657V8.66569C14%208.29902%2013.7%207.99902%2013.3333%207.99902C12.9667%207.99902%2012.6667%208.29902%2012.6667%208.66569V11.999C12.6667%2012.3657%2012.3667%2012.6657%2012%2012.6657ZM9.33333%202.66569C9.33333%203.03236%209.63333%203.33236%2010%203.33236H11.7267L5.64%209.41902C5.38%209.67902%205.38%2010.099%205.64%2010.359C5.9%2010.619%206.32%2010.619%206.58%2010.359L12.6667%204.27236V5.99902C12.6667%206.36569%2012.9667%206.66569%2013.3333%206.66569C13.7%206.66569%2014%206.36569%2014%205.99902V2.66569C14%202.29902%2013.7%201.99902%2013.3333%201.99902H10C9.63333%201.99902%209.33333%202.29902%209.33333%202.66569Z%22%20fill%3D%22%231F2B4D%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E",alt:"book-demo"}),children:"Find Agentic Usecases"})}),t.jsx(gQ,{anchor:"right",className:"agentic_usecases_panel",onClose:()=>{z(!1)},size:"large",title:"Agentic Usecases",open:y,setIsOpen:z,children:t.jsx("div",{className:"agentic_usecases_panel_content",children:sQ.map(((e,A)=>t.jsxs("div",{className:"agentic_usecases_panel_content_item_container",children:[t.jsx(Jh,{variant:"tertiary",onClick:()=>{c(e)},className:"agentic_usecases_panel_content_item_button",children:"Book demo"}),t.jsxs("div",{className:"agentic_usecases_panel_content_item",style:{backgroundColor:e.background,borderColor:P===e?e.borderColor:"transparent",backgroundImage:"url(".concat(e.backgroundImage,"), url(").concat(e.backgroundImage,"), url(").concat(e.backgroundImage,")"),backgroundRepeat:"no-repeat",backgroundSize:"44px",backgroundPosition:"right 35px top 15px, top -28px right 4px, top 29px right -14px"},onMouseLeave:()=>M(null),onMouseEnter:()=>M(e),children:[t.jsx("img",{src:e.image,alt:e.name,className:"agentic_usecases_panel_content_item_image"}),t.jsxs("div",{className:"agentic_usecases_panel_content_item_content",children:[t.jsx("span",{className:"agentic_usecases_panel_content_item_name",children:e.name}),t.jsx("span",{className:"agentic_usecases_panel_content_item_description",children:e.description})]})]},A)]},"agentic-usecases-panel-content-item-container-".concat(A))))})})]})]})]})]})},e.Input=tI,e.Loader=yI,e.Menu=Kh,e.Modal=eF,e.MonthPicker=e=>{let{customYears:n,locale:i="en-US",isMandatory:o=!1,displayFormat:a="MM/YYYY",focusedInput:r=null,onApply:s=(()=>{}),selectedMonth:l=null,isOutsideRange:g=(()=>!1),disabled:c=!1,showYearSelect:d=!1,isError:f=!1,customWidth:B="282px",withPortal:u=!1,portalContainer:C=document.body,portalClassName:p=""}=e;const h=new Date,I=h.getFullYear(),E=Array.from({length:10},((e,A)=>{const t=(I-5+A).toString();return{label:t,value:t}})),v=n&&n.length>0?n:E,[m,Q]=A.useState(!1),[b,x]=A.useState(l),[F,w]=A.useState(0),[y,z]=A.useState(!1),[P,M]=A.useState(v),[k,D]=A.useState({label:h.getFullYear().toString(),value:h.getFullYear().toString()}),j=A.useRef(null),L=A.useRef(null),O=A.useRef(null),S=A.useRef(null),N=A.useRef(null),[T,H]=A.useState(!1),[X,R]=A.useState(r),[Y,G]=A.useState(l),J=A.useRef(!1),[K,U]=A.useState(!1),[q,W]=A.useState(!1),[Z,V]=A.useState({x:0,y:0,offsetHeight:0,offsetWidth:0}),_=(e,A,n)=>{const o=new Date(e,n,1),a=(e=>!(!b||!e)&&b.getMonth()===e.getMonth()&&b.getFullYear()===e.getFullYear())(o),r=g(o),s=o.getFullYear()===h.getFullYear()&&o.getMonth()===h.getMonth();return t.jsx("div",{className:"mp-month month".concat(n+1," ").concat(a?"selected":r?"disabled":s?"current-month":""),onClick:()=>(e=>{x(e)})(o),children:t.jsx("span",{className:"mp-calendar-month",children:new Intl.DateTimeFormat(i,{month:"short"}).format(o)})},n)},$=()=>{w(F-1),D((e=>{const A=parseInt(e.value)-1;return A==P[0].value&&U(!0),{label:A.toString(),value:A.toString()}}))},ee=()=>{w(F+1),D((e=>{const A=parseInt(e.value)+1;return{label:A.toString(),value:A.toString()}}))};A.useEffect((()=>{"selected month"===X&&S.current.focus()}),[X]);const Ae=e=>{!j.current||j.current.contains(e.target)||!L.current||L.current.contains(e.target)||e.target.closest(".mp-close-icon")||e.target.closest(".month-picker-year-select-dropdown")||T||(Q(!1),J.current?(x(null),G(null),J.current=!1):x(Y))};A.useEffect((()=>(document.addEventListener("click",Ae),()=>{document.removeEventListener("click",Ae)})),[m]);const te=()=>{Q(!1),x(Y)},ne=()=>{Q(!1),G(b),null==s||s(b)};A.useLayoutEffect((()=>{if(u&&N.current){const e=window.scrollY||document.documentElement.scrollTop,{x:A,y:t,height:n,width:i}=N.current.getBoundingClientRect();V({x:A,y:t+e,offsetHeight:n,offsetWidth:i})}}),[m,u]),A.useEffect((()=>{k.value==P[0].value?U(!0):U(!1),k.value==P[P.length-1].value?W(!0):W(!1)}),[k]);const ie=A.useMemo((()=>Boolean(f||b&&(null==g?void 0:g(b)))),[f,b]),oe=()=>{return t.jsxs("div",{className:"mp-single-month-picker-container",ref:L,children:[t.jsxs("div",{className:"mp-header",children:[t.jsx(Gd,{onClick:$,disableRipple:!0,disabled:K,children:t.jsx(UE,{className:"mp-left-icon"})}),d?t.jsx("div",{className:"month-picker-year-select-container",children:t.jsx(LE,{name:"year-select",isWithSearch:!0,withPortal:!0,dropDownPortalClassName:"month-picker-year-select-dropdown",isOpen:T,setIsOpen:H,currentOptions:P,setCurrentOptions:M,initialOptions:v,selectedOptions:k,setSelectedOptions:D,ref:O,minWidth:62})}):t.jsx("div",{className:"mp-selected-year",children:k.value}),t.jsx(Gd,{onClick:ee,disableRipple:!0,disabled:q,children:t.jsx(vI,{className:"mp-right-icon"})})]}),t.jsx("div",{className:"mp-render-month-container",children:(e=parseInt(k.value),t.jsx("div",{className:"mp-render-month",children:qk.map((A=>_(e,0,A)))}))}),t.jsx("hr",{className:"mp-vertical-line"}),t.jsxs("div",{className:"mp-calendar-button",children:[t.jsx(Jh,{variant:"tertiary",onClick:te,children:"Cancel"}),t.jsx(Jh,{onClick:ne,children:"Apply"})]})]});var e};return t.jsxs("div",{className:"impact-singleMonthPicker-main-container single-month-label-flex-column ".concat(c?"disabled":""),children:[t.jsxs("div",{className:"singleMonthPicker-label",children:["Select Month & Year",o&&t.jsx("span",{style:{color:"red"},children:"*"})]}),t.jsxs("div",{className:"singleMonthPicker-container",style:{width:B},ref:N,children:[t.jsxs("div",{className:"singleMonthPicker-input-container",ref:j,children:[t.jsx("input",{type:"text",placeholder:"Select ".concat(a),readonly:"",className:"singleMonthPicker-input-field ".concat(b?"active":""," ").concat(ie?"error":""),value:b?"".concat((e=>{if(!e)return"";const A=new Intl.DateTimeFormat("en-US",{month:"2-digit"}).format(e),t=new Intl.DateTimeFormat("en-US",{year:"numeric"}).format(e);return"YYYY/MM"===a?"".concat(t,"/").concat(A):"".concat(A,"/").concat(t)})(b)):"",ref:S,onClick:()=>{return e="selected month",Q(!0),void R(e);var e},onFocus:()=>R("selected month"),onBlur:()=>R(null)}),b&&t.jsx(Dv,{className:"mp-close-icon",onClick:()=>{x(null),G(null),J.current=!0}})]}),m&&(u?t.jsxs(xI,{container:C,children:[t.jsx("div",{className:"impact-portal-container ".concat(p),style:{top:Z.y||Z.top,left:Z.x||Z.left,bottom:Z.bottom,right:Z.right,width:Z.offsetWidth||"0px"},children:oe()}),t.jsx("div",{className:"ia-select-container-v3-blanket",onClick:()=>Q(!1)})]}):oe())]})]})},e.MonthRangePicker=e=>{let{customYears:n,locale:i="en-US",isMandatory:o=!1,displayFormat:a="MM/YYYY",focusedInput:r=null,onApply:s=(()=>{}),startMonth:l=null,endMonth:g=null,showYearSelect:c=!1,isOutsideRange:d=(()=>!1),disabled:f=!1,customWidth:B="282px",isError:u=!1,withPortal:C=!1,portalContainer:p=document.body,portalClassName:h=""}=e;const I=new Date,E=I.getFullYear(),v=Array.from({length:10},((e,A)=>{const t=(E-5+A).toString();return{label:t,value:t}})),m=n&&n.length>0?n:v,[Q,b]=A.useState(!1),[x,F]=A.useState(l),[w,y]=A.useState(g),[z,P]=A.useState(0),[M,k]=A.useState(!1),[D,j]=A.useState(m),[L,O]=A.useState({label:(I.getFullYear()-1).toString(),value:(I.getFullYear()-1).toString()}),[S,N]=A.useState(!1),[T,H]=A.useState(m),[X,R]=A.useState({label:I.getFullYear().toString(),value:I.getFullYear().toString()}),Y=A.useRef(null),G=A.useRef(null),J=A.useRef(null),K=A.useRef(),U=A.useRef(),q=A.useRef(null),[W,Z]=A.useState(!1),[V,_]=A.useState(r),[$,ee]=A.useState(l),[Ae,te]=A.useState(g),ne=A.useRef(!1),[ie,oe]=A.useState(!1),[ae,re]=A.useState(!1),[se,le]=A.useState(null),[ge,ce]=A.useState({x:0,y:0,offsetHeight:0,offsetWidth:0}),de=e=>{if(!e)return"";const A=new Intl.DateTimeFormat("en-US",{month:"2-digit"}).format(e),t=new Intl.DateTimeFormat("en-US",{year:"numeric"}).format(e);return"YYYY/MM"===a?"".concat(t,"/").concat(A):"".concat(A,"/").concat(t)},fe=()=>{le(null)},Be=(e,A,n)=>{const o=new Date(e,n,1),a=(e=>{if(!x)return!1;if(w){const A=12*x.getFullYear()+x.getMonth(),t=12*w.getFullYear()+w.getMonth(),n=12*e.getFullYear()+e.getMonth();return n>=A&&n<=t}if(se&&!w){const A=12*x.getFullYear()+x.getMonth(),t=12*se.getFullYear()+se.getMonth(),n=12*e.getFullYear()+e.getMonth(),i=Math.min(A,t),o=Math.max(A,t);return n>=i&&n<=o}return!1})(o),r=(e=>e.getTime()===((null==x?void 0:x.getTime())||0))(o),s=(e=>{if(!w)return!1;const A=12*w.getFullYear()+w.getMonth();return 12*e.getFullYear()+e.getMonth()===A})(o),l=d(o),g=o.getFullYear()===I.getFullYear()&&o.getMonth()===I.getMonth(),c=se&&x&&12*se.getFullYear()+se.getMonth()<12*x.getFullYear()+x.getMonth(),f=()=>r?"start":s?"end":a?"selected":"";return t.jsx("div",{className:"ia-month month".concat(n+1," ").concat(f()," ").concat(x&&"end"===f()?"has-start-month":""," ").concat(g?"current-month":""," ").concat(c?"hovered-previous-to-end":""," ").concat(l?"disabled":""),onClick:()=>!l&&((e,A)=>{const t=(e,A)=>Math.abs(e-A);if(!x&&!w)return F(e),void _("end month");if(x&&!w){if(e===x)return F(null),void _("end month");if(e<x){if(t(e,x)<0)return;return y(x),F(e),void _("start month")}if(t(e,x)<0)return;return y(e),void _("start month")}return x&&w?(F(e),y(null),void _("end month")):void 0})(o),onMouseEnter:()=>!l&&(e=>{x&&!w&&le(e)})(o),onMouseLeave:fe,children:t.jsx("span",{className:"ia-calendar-month",children:new Intl.DateTimeFormat(i,{month:"short"}).format(o)})},n)},ue=(e,A)=>t.jsx("div",{className:"ia-render-month",children:Wk.map((A=>Be(e,0,A)))}),Ce=()=>{P(z-1),O((e=>{const A=parseInt(e.value)-1;return A==D[0].value&&oe(!0),{label:A.toString(),value:A.toString()}})),R((e=>{const A=parseInt(e.value)-1;return{label:A.toString(),value:A.toString()}}))},pe=()=>{P(z+1),O((e=>{const A=parseInt(e.value)+1;return{label:A.toString(),value:A.toString()}})),R((e=>{const A=parseInt(e.value)+1;return A==T[T.length-1].value&&re(!0),{label:A.toString(),value:A.toString()}}))},he=(e,A)=>{const t=parseInt(A.value);1===e?(O({label:t.toString(),value:t.toString()}),R({label:(t+1).toString(),value:(t+1).toString()})):2===e&&(R({label:t.toString(),value:t.toString()}),O({label:(t-1).toString(),value:(t-1).toString()})),Z(!0)},Ie=e=>{b(!0),_(e)};A.useEffect((()=>{"start month"===V&&K.current.focus(),"end month"===V&&U.current.focus()}),[V]);const Ee=e=>{!Y.current||Y.current.contains(e.target)||!G.current||G.current.contains(e.target)||e.target.closest(".close-icon")||e.target.closest(".month-range-picker-year-select-dropdown")||W||(b(!1),ne.current?(F(null),y(null),ee(null),te(null),ne.current=!1):(F($),y(Ae)))};A.useEffect((()=>(document.addEventListener("click",Ee),()=>{document.removeEventListener("click",Ee)})),[Q]);const ve=()=>{b(!1),F($),y(Ae)},me=()=>{b(!1),ee(x),te(w),null==s||s(x,w)};A.useLayoutEffect((()=>{if(C&&q.current){const e=window.scrollY||document.documentElement.scrollTop,{x:A,y:t,height:n,width:i}=q.current.getBoundingClientRect();ce({x:A,y:t+e,offsetHeight:n,offsetWidth:i})}}),[Q,C]),A.useEffect((()=>{L.value==D[0].value?oe(!0):oe(!1),X.value==T[T.length-1].value?re(!0):re(!1)}),[L,X]);const Qe=()=>t.jsxs("div",{className:"ia-month-picker-container",ref:G,children:[t.jsxs("div",{className:"ia-header",children:[t.jsx(Gd,{onClick:Ce,disableRipple:!0,disabled:ie,children:t.jsx(UE,{className:"left-icon"})}),c?t.jsx("div",{className:"month-range-picker-year-select-container",children:t.jsx(LE,{name:"year-select",isWithSearch:!0,withPortal:!0,dropDownPortalClassName:"month-range-picker-year-select-dropdown",isOpen:M,setIsOpen:k,currentOptions:D,setCurrentOptions:j,initialOptions:m,selectedOptions:L,setSelectedOptions:O,handleChange:e=>he(1,e),ref:J,minWidth:100})}):t.jsx("div",{className:"month-range-picker-selected-year",children:L.value}),c?t.jsx("div",{className:"month-range-picker-year-select-container",children:t.jsx(LE,{name:"month-select",isWithSearch:!0,withPortal:!0,dropDownPortalClassName:"month-range-picker-year-select-dropdown",isOpen:S,setIsOpen:N,currentOptions:T,setCurrentOptions:H,initialOptions:m,selectedOptions:X,setSelectedOptions:R,handleChange:e=>he(2,e),minWidth:100})}):t.jsx("div",{className:"month-range-picker-selected-year",children:X.value}),t.jsx(Gd,{onClick:pe,disableRipple:!0,disabled:ae,children:t.jsx(vI,{className:"right-icon"})})]}),t.jsxs("div",{className:"ia-render-month-container",children:[ue(parseInt(L.value)),t.jsx("hr",{className:"ia-vertical-line"}),ue(parseInt(X.value))]}),t.jsx("hr",{className:"ia-vertical-line"}),t.jsxs("div",{className:"ia-calendar-button",children:[t.jsx(Jh,{variant:"tertiary",onClick:ve,children:"Cancel"}),t.jsx(Jh,{onClick:me,children:"Apply"})]})]});return t.jsxs("div",{className:"impact-monthRangePicker-main-container label-flex-column ".concat(f?"disabled":""),children:[t.jsxs("div",{className:"monthRangePicker-label",children:["Select Month & Year",o&&t.jsx("span",{style:{color:"red"},children:"*"})]}),t.jsxs("div",{className:"monthRangePicker-container",style:{width:B},ref:q,children:[t.jsxs("div",{className:"monthRangePicker-input-container",ref:Y,children:[t.jsx("input",{type:"text",placeholder:"Start ".concat(a," - "),readonly:"",className:"dateRangePicker-input-start-date ".concat(x?"active":""," ").concat(u?"error":""),value:x?"".concat(de(x)," -"):"",ref:K,onClick:()=>Ie("start month"),onFocus:()=>_("start month")}),t.jsx("input",{type:"text",placeholder:"End ".concat(a),label:"EndDate",name:"endDate",readonly:"",className:"dateRangePicker-input-end-date ".concat(u?"error":""),value:w?de(w):"",ref:U,onClick:()=>Ie("end month"),onFocus:()=>_("end month")}),(x||w)&&t.jsx(Dv,{className:"close-icon",onClick:()=>{F(null),y(null),ee(null),te(null),ne.current=!0}})]}),Q&&(C?t.jsxs(xI,{container:p,children:[t.jsx("div",{className:"impact-portal-container ".concat(h),style:{top:ge.y||ge.top,left:ge.x||ge.left,bottom:ge.bottom,right:ge.right,width:ge.offsetWidth||"0px"},children:Qe()}),t.jsx("div",{className:"ia-select-container-v3-blanket",onClick:()=>b(!1)})]}):Qe())]})]})},e.Notification=e=>{let{title:n,anchor:i="right",isOpen:o,setIsOpen:a,className:r,handleClose:s,secondaryButtonLabel:l,onSecondaryButtonClick:g,primaryButtonLabel:c,onPrimaryButtonClick:d,onSettingButtonClick:f,handleSelectAll:B,handleMarkReadAll:u,handleMoveAllPending:C,handleNotificationDeleteAll:p,badgesList:h,notificationTabs:I=ZE,notificationPanels:E=VE,setNotificationPanels:v,handleTabChange:m=(()=>{}),moveToPendingDropdownOptions:Q,activeNotiTab:b,activeBadge:x,showBadgeLoader:F,showNotificationListLoader:w,displayFormat:y="MM/DD/YYYY",onNotificationScrollToBottom:z,scrollThreshold:P,isWithSearch:M=!0,isHoverOnCard:k=!1,isChipsExpandable:D=!1,isDeleteAlwaysVisible:j=!1,isEmptyState:L,emptyStateTitle:O,emptyStateDescription:S,customNotificationJsx:N}=e;const[T,H]=A.useState(!1),X=(e,A)=>e=>{("keydown"!==e.type||"Tab"!==e.key&&"Shift"!==e.key)&&(s?s():a(!o))};return t.jsx(lu,{anchor:i,open:o,onClose:X(),children:t.jsxs("div",{className:"impact-notification-container ".concat(T&&"impact-notification-container-expand"," ").concat(r),children:[t.jsx(qh,{title:n,expand:T,setExpand:H,toggleDrawer:X,anchor:i,showBadgeLoader:F}),t.jsx(qE,{expand:!c&&!l,onSettingButtonClick:f,badgesList:h,notificationTabs:I,notificationPanels:E,setNotificationPanels:v,handleSelectAll:B,handleMarkReadAll:u,handleMoveAllPending:C,handleNotificationDeleteAll:p,handleTabChange:m,moveToPendingDropdownOptions:Q,activeNotiTab:b,activeBadge:x,showBadgeLoader:F,showNotificationListLoader:w,displayFormat:y,onNotificationScrollToBottom:z,scrollThreshold:P,isWithSearch:M,isHoverOnCard:k,isChipsExpandable:D,isDeleteAlwaysVisible:j,isEmptyState:L,emptyStateTitle:O,emptyStateDescription:S,customNotificationJsx:N}),t.jsx(WE,{secondaryButtonLabel:l,onSecondaryButtonClick:g,primaryButtonLabel:c,onPrimaryButtonClick:d})]})})},e.OldTable=S3,e.Panel=gQ,e.Popover=function(e){let{children:A,title:n,onClose:i,primaryButtonLabel:o,secondaryButtonLabel:a,onPrimaryButtonClick:r,onSecondaryButtonClick:s,primaryButtonProps:l,secondaryButtonProps:g,...c}=e;return t.jsx(zg,{...c,onClose:i,slotProps:{paper:{className:"popover-container"}},children:t.jsxs("div",{className:"popover-content",children:[t.jsxs("div",{className:"popover-header",children:[t.jsx("span",{className:"popover-header-title",children:n}),i&&t.jsx(TI,{fontSize:"small",onClick:i,sx:{color:"#60697D",cursor:"pointer"}})]}),t.jsx("div",{className:"popover-body",children:A}),t.jsx("div",{className:"popover-footer",children:t.jsxs("div",{className:"popover-footer-content",children:[o||a?t.jsx("div",{className:"divider-line"}):null,t.jsxs("div",{className:"popover-footer-buttons",children:[a&&t.jsx(Jh,{variant:"tertiary",onClick:s,...g,children:a}),o&&t.jsx(Jh,{variant:"primary",onClick:r,...l,children:o})]})]})})]})})},e.ProgressBar=mk,e.Prompt=Zk,e.RadioButtonGroup=ZM,e.Select=LE,e.Sidebar=e=>{let{isOpen:n,setIsOpen:i,handleClose:o,routes:a,actionRoutes:r,parentActive:s,handleParentRouteChange:l,childActive:g,handleChildRouteChange:c,handleLogOut:d,isCloseWhenClickOutside:f=!0,isMemoryRouter:B=!0,visibleModulesCount:u}=e;const C=A.useRef(null);return A.useEffect((()=>{function e(e){C.current&&!C.current.contains(e.target)&&f&&n&&o()}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[n,f,o,i,n]),t.jsxs("nav",{ref:C,className:"impact-sidebar-container ".concat(n?"sidebar-open":""),children:[t.jsx("div",{className:"impact-sidebar-toggle-btns",role:"button",onClick:o,children:t.jsx("img",{src:n?"data:image/svg+xml,%3Csvg%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20x%3D%220.75%22%20y%3D%220.75%22%20width%3D%2238.5%22%20height%3D%2238.5%22%20rx%3D%228.25%22%20stroke%3D%22url%28%23paint0_linear_5810_5535%29%22%20stroke-width%3D%221.5%22%2F%3E%3Crect%20x%3D%2210.35%22%20y%3D%2210.85%22%20width%3D%2219.5763%22%20height%3D%2217.55%22%20rx%3D%222.15%22%20stroke%3D%22white%22%20stroke-width%3D%221.7%22%2F%3E%3Cline%20x1%3D%2218.85%22%20y1%3D%2211%22%20x2%3D%2218.85%22%20y2%3D%2228%22%20stroke%3D%22white%22%20stroke-width%3D%221.7%22%2F%3E%3Cline%20x1%3D%2212%22%20y1%3D%2215.15%22%20x2%3D%2217%22%20y2%3D%2215.15%22%20stroke%3D%22white%22%20stroke-width%3D%221.7%22%2F%3E%3Cline%20x1%3D%2212%22%20y1%3D%2219.15%22%20x2%3D%2217%22%20y2%3D%2219.15%22%20stroke%3D%22white%22%20stroke-width%3D%221.7%22%2F%3E%3Cline%20x1%3D%2212%22%20y1%3D%2223.15%22%20x2%3D%2217%22%20y2%3D%2223.15%22%20stroke%3D%22white%22%20stroke-width%3D%221.7%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_5810_5535%22%20x1%3D%2234.0909%22%20y1%3D%2225%22%20x2%3D%223.63636%22%20y2%3D%221.81818%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%2331416E%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23546CB1%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E":"data:image/svg+xml,%3Csvg%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20x%3D%220.75%22%20y%3D%220.75%22%20width%3D%2238.5%22%20height%3D%2238.5%22%20rx%3D%228.25%22%20stroke%3D%22url%28%23paint0_linear_5197_6568%29%22%20stroke-width%3D%221.5%22%2F%3E%3Cg%20clip-path%3D%22url%28%23clip0_5197_6568%29%22%3E%3Cpath%20d%3D%22M11%2026H29V24H11V26ZM11%2021H29V19H11V21ZM11%2014V16H29V14H11Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_5197_6568%22%20x1%3D%2234.0909%22%20y1%3D%2225%22%20x2%3D%223.63636%22%20y2%3D%221.81818%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%2331416E%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23546CB1%22%2F%3E%3C%2FlinearGradient%3E%3CclipPath%20id%3D%22clip0_5197_6568%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22%20transform%3D%22translate%288%208%29%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E"})}),t.jsx(iv,{isOpen:n,setIsOpen:i,routes:a,parentActive:s,handleParentRouteChange:l,childActive:g,handleChildRouteChange:c,isMemoryRouter:B,visibleModulesCount:u}),t.jsxs("div",{className:"impact-sidebar-actions-container",children:[r&&r.length>0?t.jsx(iv,{isOpen:n,setIsOpen:i,routes:r,parentActive:s,handleParentRouteChange:l,childActive:g,handleChildRouteChange:c,isMemoryRouter:B}):null,t.jsx(rv,{open:n,handleLogOut:d})]})]})},e.Slider=function(e){let{headerOrientation:n="top",header:i,label:o,inputPlaceholder:a,value:r=0,onChange:s,required:l,disabled:g,min:c=0,max:d=100,variant:f="default",inputPosition:B="inline",colorChangeThreshold:u,valueFormat:C,messageTimeout:p=5e3,...h}=e;const[I,E]=A.useState(""),[v,m]=A.useState(!1),Q=Array.isArray(r)&&"ranged"==f&&2==r.length;let b,x;const[F,w]=A.useState(null),[y,z]=A.useState(!1),[P,M]=A.useState(r);Array.isArray(r)&&2==r.length&&(b=r[0],x=r[1]);const{valueForThreshold:k,isAboveThreshold:D,trackSplitPercent:j,thresholdMarkerLeft:L}=A.useMemo((()=>{const e=Array.isArray(r)?Math.max(...r):r;if(null==u)return{valueForThreshold:e,isAboveThreshold:!1,trackSplitPercent:0,thresholdMarkerLeft:null};const A=Array.isArray(r)&&2===r.length,t=A?r[0]:void 0,n=A?r[1]:void 0,i=e>u;let o;o=A?u<=t?0:u>=n?100:(u-t)/(n-t)*100:i&&e>c?(u-c)/(e-c)*100:0;return{valueForThreshold:e,isAboveThreshold:i,trackSplitPercent:o,thresholdMarkerLeft:u>c&&u<d?(u-c)/(d-c)*100:null}}),[r,c,d,u]),O=(e,A)=>{const t=e.target.value;if(v&&(m(!1),E("")),isNaN(t))return E("Please enter a valid number"),void m(!0);e.persist();const n={...e,target:{...e.target,value:[]}};if("min"==A){if(Number(t)<c||Number(t)>x){const e=Number(t)<c?"Value must be at least ".concat(c):"Initial value must be less than the maximum value";return E(e),void m(!0)}n.target.value=[Number(t),x],s(n,A)}else if("max"==A){if(Number(t)>d||Number(t)<b){const e=Number(t)>d?"Value must not exceed ".concat(d):"Maximum value must be greater than the initial value";return E(e),void m(!0)}n.target.value=[b,Number(t)],s(n,A)}else s(e,A)};A.useEffect((()=>{if(!C)return;const[e,A]=C;M((t=>{const n=t=>"left"===e?"".concat(A).concat(t):"".concat(t).concat(A);return Array.isArray(t)?t.map(n):n(t)})(r))}),[C,r]);const S=e=>{w(!0)},N=e=>{w(null)};return A.useEffect((()=>{v&&setTimeout((()=>{m(!1)}),p)}),[v]),t.jsxs("div",{className:"slider-container",children:[t.jsxs("div",{className:"impact_slider_layout slider-container".concat("top"===n?"header-top":"header-left"," input-position-").concat(B),children:[Q&&"inline"==B&&t.jsx("div",{className:"input_layout_style ranged ranged-start",children:t.jsx("form",{noValidate:!0,autoComplete:"off",children:t.jsx(yc,{children:t.jsx(eC,{value:!F&&C?Q?P[0]:P:Q?b:r,onChange:e=>{O(e,Q?"min":"")},disabled:g,onFocus:S,onBlur:N})})})}),t.jsxs("div",{className:"impact_slider_container",children:[i&&t.jsx("div",{className:"impact_slider_layout_heading",children:i}),o&&t.jsxs("label",{className:"impact_slider_labelname",children:[o," ",l&&t.jsx("span",{style:{color:"red"},children:"*"})]}),t.jsxs("div",{className:"impact_slider_main_container ".concat(g&&"impact_slider_disabled"),children:[u&&t.jsx("span",{className:"impact_slider_threshold_marker",style:{left:"".concat(L,"%")},"aria-hidden":!0}),t.jsx(XC,{...h,defaultValue:r,value:r,onChange:s,disabled:g,max:d,min:c,"aria-label":"Default",valueLabelDisplay:"auto",sx:D?{color:$k,"& .MuiSlider-track":{background:"linear-gradient(to right, ".concat($k," 0%, ").concat($k," ").concat(j,"%, ").concat(eD," ").concat(j,"%, ").concat(eD," 100%)"),border:"none",transition:"none"},"& .MuiSlider-thumb":{backgroundColor:$k}}:void 0})]})]}),t.jsx("div",{className:"input_layout_style ".concat(Q?"ranged":"single"),children:t.jsx("form",{noValidate:!0,autoComplete:"off",children:t.jsxs(yc,{children:[(!Q||"bottom"==B)&&t.jsx(eC,{value:!F&&C?P:Q?b:r,onChange:e=>{O(e,Q?"min":"")},disabled:g,onFocus:S,onBlur:N}),Q&&t.jsx(eC,{value:!y&&C?P[1]:x,onChange:e=>{O(e,"max")},disabled:g,onFocus:()=>z(!0),onBlur:()=>z(!1)})]})})})]}),t.jsx("div",{className:"slider-info-message ".concat(v?"":"hidden"),children:v&&t.jsxs(t.Fragment,{children:[t.jsx(_k,{className:"slider-info-icon"}),t.jsx("span",{className:"slider-info-text",children:I})]})})]})},e.Stepper=sF,e.Switch=AD,e.Table=w3,e.Tabs=Zh,e.Tag=eE,e.TagGroup=function(e){let{children:A}=e;return t.jsx("div",{className:"tag-group-container",children:A})},e.TextArea=H2,e.Toast=wE,e.Tooltip=AE,e.sizeConventions=bk,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
308
308
|
//# sourceMappingURL=index.js.map
|