@tidepool/viz 1.54.0-web-4151-copy-text.1 → 1.54.0-web-4151-copy-text.3
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/dist/print.js +1 -1
- package/dist/print.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
-
(()=>{var e={93870:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.system=t.default=t.bgChart=void 0;var r=a(n(37055)),o=t.system={white:"#FFFFFF",black:"#000000",gray50:"#707070",gray30:"#8C8C8C",gray10:"#D9D9D9",gray05:"#EBEBEB",gray00:"#F6F6F6",purple90:"#271B46",indigo50:"#4A60E2",indigo30:"#627CFF",indigo00:"#F4F5FF",blue80:"#375178",blue60:"#445F87",blue50:"#4F6A92",blue30:"#708FC2",blue05:"#E1EAF9",blue00:"#F0F5FF",blueGray50:"#5F6B82",blueGray50T:"#1F304FB3",blueGray30:"#838CA0",blueGray10:"#D1D6E1",red50:"#CC2900",red30:"#EC4C47",red05:"#FFECE9",gold50:"#A35700",gold30:"#CC6D00",gold05:"#FFE8CF",green50:"#00754E",green30:"#08A057",green05:"#DAF9E4"},i=t.bgChart={veryLow:"#E9695E",low:"#F19181",target:"#8DD0A9",high:"#B69CE2",veryHigh:"#856ACF"},s=(0,r.default)((0,r.default)({},o),i);t.default=s},50628:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(271)),i=r(n(4841)),s=r(n(46721)),l=r(n(54013)),d=r(n(53671)),u=a(n(82015)),c=r(n(27825)),f=r(n(56427)),A=r(n(80789)),p=r(n(3892)),g=r(n(77950));void 0===c.default.get(f.default,"options.returnEmptyString")&&f.default.init({returnEmptyString:!1,nsSeparator:"|"});var m=f.default.t.bind(f.default),h=function(e){(0,l.default)(n,e);var t=(0,d.default)(n);function n(e){var a;return(0,s.default)(this,n),(a=t.call(this,e)).getInitialState=function(){return{successTextShowing:!1}},a.getText=function(){return c.default.isFunction(a.props.getText)?a.props.getText():a.props.clipboardText},a.componentWillUnmount=function(){a.state.debouncedButtonTextUpdate&&a.state.debouncedButtonTextUpdate.cancel()},a.onClick=function(){return a.props.onClick()},a.onSuccess=function(){c.default.isFunction(a.props.onSuccess)&&a.props.onSuccess(),a.setState({successTextShowing:!0}),a.state.debouncedButtonTextUpdate&&a.state.debouncedButtonTextUpdate.cancel();var e=c.default.debounce((function(){a.setState({successTextShowing:!1}),c.default.isFunction(a.props.onComplete)&&a.props.onComplete()}),1e3);e(),a.setState({debouncedButtonTextUpdate:e})},a.render=function(){var e,t=(0,p.default)((e={},(0,o.default)(e,g.default.copyButton,!0),(0,o.default)(e,g.default.buttonTextHidden,a.state.successTextShowing),(0,o.default)(e,g.default.successTextHidden,!a.state.successTextShowing),e));return u.default.createElement(A.default,{className:t,"button-title":a.props.buttonTitle,"option-text":a.getText,onClick:a.onClick,onSuccess:a.onSuccess},u.default.createElement("span",{className:g.default.buttonText},a.props.buttonText),u.default.createElement("span",{className:g.default.successText},a.props.successText))},a.state=a.getInitialState(),a}return(0,i.default)(n)}(u.PureComponent);h.defaultProps={buttonText:m("Copy as text"),buttonTitle:m("Copy to clipboard"),clipboardText:m("Sorry, there was nothing to copy."),onClick:c.default.noop,successText:m("Copied ✓")},h.displayName="ClipboardButton",t.default=h},48899:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(27825)),i=a(n(78466)),s=a(n(10587));t.default=function(e){var t=e.id,n=e.label,a=e.min,l=e.max,d=e.onChange,u=e.onSuffixChange,c=e.step,f=e.suffix,A=e.type,p=e.value;return r.default.createElement("div",{className:s.default.wrapper},r.default.createElement("div",{className:s.default.label},r.default.createElement("label",{htmlFor:t,className:s.default.label},n)),r.default.createElement("div",{className:s.default.inputs},r.default.createElement("input",{className:s.default["input-".concat(A)],id:t,max:l,min:a,name:t,onChange:d,step:c||"any",type:A,value:p}),o.default.isString(f)&&r.default.createElement("div",{className:s.default.suffixText},f),o.default.isPlainObject(f)&&r.default.createElement("div",{className:s.default.suffix},r.default.createElement(i.default,{classNamePrefix:"inputGroup-suffix",id:f.id,name:f.id,onChange:u,onInputChange:function(e,t){return"input-change"===t.action?"":e},options:f.options,value:f.value}))))}},7136:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(83202));t.default=function(e){var t=e.name,n=e.checked,a=e.onFn,i=e.offFn,s=e.label;return r.default.createElement("label",{htmlFor:t,className:o.default.label},r.default.createElement("input",{type:"checkbox",name:t,id:t,checked:n,onChange:function(){n?i():a()}})," ",s)}},38933:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Toggle=void 0;var r=a(n(271)),o=a(n(82015)),i=a(n(3892)),s=a(n(18469)),l=function(e){var t,n,a=e.disabled,l=e.left,u=e.right,c=e.toggleFn,f=(0,i.default)((t={},(0,r.default)(t,s.default.active,!a&&u.state),(0,r.default)(t,s.default.label,!0),t)),A=(0,i.default)((n={},(0,r.default)(n,s.default.active,!a&&l.state),(0,r.default)(n,s.default.label,!0),n));return o.default.createElement("div",{className:s.default.container},o.default.createElement("span",{className:A},l.label),o.default.createElement(d,{disabled:a,leftOptionActive:l.state,toggleFn:c}),o.default.createElement("span",{className:f},u.label))};l.defaultProps={disabled:!1},l.displayName="TwoOptionToggle";var d=t.Toggle=function(e){var t=e.disabled,n=e.leftOptionActive,a=e.toggleFn;return o.default.createElement("div",{className:t?s.default.disabled:s.default.toggle,onClick:t?function(){}:a},o.default.createElement("div",{className:s.default.track}),o.default.createElement("div",{className:n?s.default.leftThumb:s.default.rightThumb}))};d.displayName="Toggle",t.default=l},11436:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(271)),o=a(n(82015)),i=a(n(3892)),s=a(n(87878)),l=function(e){var t,n,a=e.show,l=e.overlay,d=e.text,u=(0,i.default)((0,r.default)({loader:!0},s.default.loader,!0)),c=(0,i.default)((t={},(0,r.default)(t,s.default.loaderDots,!0),(0,r.default)(t,s.default.hidden,!a),(0,r.default)(t,s.default.overlay,l),t)),f=(0,i.default)((n={},(0,r.default)(n,s.default.loaderDot,!0),(0,r.default)(n,s.default.animating,a),n));return o.default.createElement("div",{className:u},o.default.createElement("div",{className:c},o.default.createElement("div",{className:f}),o.default.createElement("div",{className:f}),o.default.createElement("div",{className:f}),o.default.createElement("div",{className:f}),o.default.createElement("div",{className:f}),o.default.createElement("div",{className:s.default.loaderText},d)))};l.defaultProps={overlay:!1,show:!0,text:"Loading..."},t.default=l},49654:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BgBar=void 0;var r=a(n(82015)),o=a(n(27825)),i=n(40054),s=n(22212),l=a(n(72439)),d=n(84240),u=t.BgBar=function(e){var t=e.barWidth,n=e.bgPrefs,a=void 0===n?{}:n,u=a.bgBounds,c=a.bgUnits,f=e.chartLabelWidth,A=e.datum,p=void 0===A?{}:A,g=e.domain,m=e.index,h=e.scale,b=void 0===h?{x:o.default.noop,y:o.default.noop}:h,y=e.width,v=o.default.isObject(p.deviation),E=!v,C=o.default.get(p,"deviation.value",0),B=(y-f)/y,T={low:b.y(u.targetLowerBound)*B,target:b.y(u.targetUpperBound-u.targetLowerBound)*B,high:b.y(g.y[1]-u.targetUpperBound)*B},S=t/2,x=b.x(m+1)-t/2,w=x+t/2,I=b.y(p._y)*B,L=p._y-C,D=b.y(p._y-C)*B,k=p._y+C,O=b.y(p._y+C)*B,N=E?p._y>0:L>0&&k>0;return r.default.createElement("g",{className:"bgBar"},r.default.createElement("g",{className:"bgScale"},r.default.createElement(s.Arc,{cx:S,cy:w,r:S,startAngle:90,endAngle:270,style:{stroke:"transparent",fill:N?l.default.low:l.default.statDisabled,fillOpacity:N?.5:1}}),r.default.createElement(i.Rect,Object.assign({},e,{x:S,y:x,width:T.low-S,height:t,style:{stroke:"transparent",fill:N?l.default.low:l.default.statDisabled,fillOpacity:N?.5:1}})),r.default.createElement(i.Rect,Object.assign({},e,{x:T.low,y:x,width:T.target,height:t,style:{stroke:"transparent",fill:N?l.default.target:l.default.statDisabled,fillOpacity:N?.5:1}})),r.default.createElement(i.Rect,Object.assign({},e,{x:T.low+T.target,y:x,width:T.high-S,height:t,style:{stroke:"transparent",fill:N?l.default.high:l.default.statDisabled,fillOpacity:N?.5:1}})),r.default.createElement(s.Arc,{cx:T.low+T.target+T.high-S,cy:w,r:S,startAngle:270,endAngle:90,style:{stroke:"transparent",fill:N?l.default.high:l.default.statDisabled,fillOpacity:N?.5:1}})),E&&N&&r.default.createElement("g",{className:"bgMean"},r.default.createElement(i.Point,{x:I,y:w,style:{fill:l.default[(0,d.classifyBgValue)(u,c,p._y,"threeWay")],stroke:l.default.white,strokeWidth:2},size:2*t})),v&&N&&r.default.createElement("g",{className:"bgDeviation"},r.default.createElement(i.Rect,Object.assign({},e,{x:o.default.max([D-3,0]),y:w-2*t-1,width:4,height:4*t+2,style:{stroke:"white",strokeWidth:2,fill:l.default[(0,d.classifyBgValue)(u,c,o.default.max([L,.1]),"threeWay")]}})),r.default.createElement(i.Rect,Object.assign({},e,{x:o.default.min([O-3,y-f-3]),y:w-2*t-1,width:4,height:4*t+2,style:{stroke:"white",strokeWidth:2,fill:l.default[(0,d.classifyBgValue)(u,c,k,"threeWay")]}}))))};u.displayName="BgBar",t.default=u},3582:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BgBarLabel=void 0;var r=a(n(82015)),o=a(n(27825)),i=n(40054),s=t.BgBarLabel=function(e){var t=e.barWidth,n=e.domain,a=e.scale,s=void 0===a?{x:o.default.noop,y:o.default.noop}:a,l=o.default.assign({},e.style,{pointerEvents:"none"});return r.default.createElement("g",{className:"bgBarLabel"},r.default.createElement(i.VictoryLabel,Object.assign({},e,{renderInPortal:!1,style:l,textAnchor:"end",verticalAnchor:"middle",dy:-(t/2-1),x:s.y(n.y[1]),dx:0})))};s.displayName="BgBarLabel",t.default=s},33255:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.HoverBar=void 0;var r=a(n(82015)),o=n(40054),i=a(n(27825)),s=a(n(72439)),l=t.HoverBar=function(e){var t=e.barSpacing,n=e.barWidth,a=e.chartLabelWidth,l=e.cornerRadius,d=e.domain,u=e.index,c=e.scale,f=void 0===c?{x:i.default.noop,y:i.default.noop}:c,A=e.width,p=e.x,g=n/6,m=i.default.get(l,"top",2),h=(A-a)/A;return r.default.createElement("g",{className:"HoverBar"},r.default.createElement("g",{className:"HoverBarTarget",pointerEvents:"all"},r.default.createElement(o.Rect,Object.assign({},e,{x:0,y:f.x(u+1)-n/2-t/2,rx:m,ry:m,width:f.y(d.y[1]),height:n+t,style:{stroke:"transparent",fill:"transparent"}},e.events))),r.default.createElement("g",{className:"barBg",pointerEvents:"none"},r.default.createElement(o.Rect,Object.assign({},e,{x:0,y:f.x(u+1)-g/2,rx:m,ry:m,width:f.y(d.y[1])-a,height:g,style:{stroke:"transparent",fill:s.default.axis}}))),r.default.createElement("g",{pointerEvents:"none"},r.default.createElement(o.Bar,Object.assign({},e,{width:f.y(d.x[1])-a,x:p*h}))))};l.displayName="HoverBar",t.default=l},96993:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.HoverBarLabel=void 0;var r=a(n(37055)),o=a(n(82015)),i=a(n(27825)),s=n(40054),l=a(n(72439)),d=t.HoverBarLabel=function(e){var t=e.barWidth,n=e.isDisabled,a=e.datum,d=void 0===a?{_x:0,_y:0}:a,u=e.domain,c=e.scale,f=void 0===c?{x:i.default.noop,y:i.default.noop}:c,A=e.style,p=void 0===A?{}:A,g=e.text,m=e.tooltipText,h=e.y,b=void 0===h?15:h,y=i.default.min([t/2,12]),v=1.2*y,E=v/2,C=n(),B=i.default.assign({},p,{fontSize:y,display:C?"none":"inherit"}),T=s.TextSize.approximateTextSize(m(d),B),S=i.default.assign({},p,{pointerEvents:"none"}),x=i.default.assign({},S,{fontSize:S.fontSize/2,baselineShift:-S.fontSize/2*.25,fill:l.default.statDefault}),w=g(d),I=s.TextSize.approximateTextSize(w[1]||"",x),L=(0,r.default)((0,r.default)({},d),{},{_y:i.default.max([d._y,0])});return o.default.createElement("g",{className:"HoverBarLabel"},o.default.createElement(s.VictoryLabel,Object.assign({},e,{text:w[0],renderInPortal:!1,style:S,textAnchor:"end",verticalAnchor:"middle",x:f.y(u.y[1]),y:b,dx:-1.9*I.width})),o.default.createElement(s.VictoryLabel,Object.assign({},e,{text:w[1],renderInPortal:!1,style:x,textAnchor:"end",verticalAnchor:"middle",x:f.y(u.y[1]),y:b,dx:0})),T.width>0&&o.default.createElement(s.VictoryTooltip,Object.assign({},e,{cornerRadius:E,datum:L,x:f.y(u.y[1])-p.paddingLeft-T.width-2*E,y:b,dx:0,flyoutStyle:{display:C?"none":"inherit",stroke:l.default.axis,strokeWidth:2,fill:l.default.white},flyoutWidth:T.width+2*E,flyoutHeight:v,pointerLength:0,pointerWidth:0,renderInPortal:!1,text:m,style:B})))};d.displayName="HoverBarLabel",t.default=d},88054:(e,t,n)=>{"use strict";var a=n(44906).default,r=n(67049).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Stat=void 0;var o=a(n(37055)),i=a(n(271)),s=a(n(79222)),l=a(n(46721)),d=a(n(4841)),u=a(n(54013)),c=a(n(53671)),f=r(n(82015)),A=n(49842),p=a(n(27825)),g=a(n(66581)),m=a(n(3892)),h=n(37841),b=n(40054),y=n(14549),v=n(99559),E=n(66871),C=n(80358),B=a(n(18504)),T=a(n(72439)),S=(n(94981),a(n(33255))),x=a(n(96993)),w=a(n(49654)),I=a(n(3582)),L=a(n(39681)),D=a(n(53083)),k=a(n(87730)),O=a(n(40548)),N=a(n(25159)),P=a(n(48899)),R=["renderer"],M=t.Stat=function(e){(0,u.default)(n,e);var t=(0,c.default)(n);function n(e){var a;return(0,l.default)(this,n),(a=t.call(this,e)).hasNonStandardTargets=function(){var e=a.props.bgPrefs||{},t=e.bgUnits,n=void 0===t?E.MGDL_UNITS:t,r=e.bgBounds,o=void 0===r?E.ADA_STANDARD_BG_BOUNDS:r;return o.targetLowerBound!==E.ADA_STANDARD_BG_BOUNDS[n].targetLowerBound||o.targetUpperBound!==E.ADA_STANDARD_BG_BOUNDS[n].targetUpperBound},a.renderChartTitle=function(){var e=a.state.hoveredDatumIndex>=0,t=e?a.state.tooltipTitleData:a.getFormattedDataByKey("title"),n=p.default.get(t,"value");return f.default.createElement("div",{className:B.default.chartTitle},f.default.createElement("span",{className:B.default.chartTitleText},a.state.chartTitle),n&&n!==a.props.emptyDataPlaceholder&&f.default.createElement("span",{className:B.default.chartTitleData},"( ",f.default.createElement("span",{style:{color:T.default[t.id]||T.default.statDefault}},t.value),f.default.createElement("span",{className:B.default.chartTitleSuffix},t.suffix)," )"),a.props.annotations&&!e&&f.default.createElement("span",{className:B.default.tooltipIcon},f.default.createElement("img",{src:N.default,alt:"Hover for more info",ref:a.setTooltipIconRef,onMouseOver:a.handleTooltipIconMouseOver,onMouseOut:a.handleTooltipIconMouseOut})))},a.renderChartSummary=function(){var e=a.props,t=e.alwaysShowSummary,n=e.hideSummaryUnits,r=e.units,o=a.getFormattedDataByKey("summary"),i=t||!a.state.isOpened,s=p.default.get(o,"value"),l=p.default.get(o,"suffix");return 0===s&&(s=[s]),p.default.isArray(s)||(s=p.default.compact([s])),p.default.isArray(l)||(l=p.default.compact([l])),f.default.createElement("div",{className:B.default.chartSummary},s.length>0&&i&&p.default.map(s,(function(e,t){return f.default.createElement("div",{className:B.default.summaryData,style:{color:T.default[o.id]||T.default.statDefault}},f.default.createElement("span",{className:B.default.summaryValue},e),f.default.createElement("span",{className:B.default.summarySuffix},l[t]))})),r&&!n&&!a.state.showFooter&&a.renderStatUnits(),a.state.isCollapsible&&f.default.createElement("div",{className:B.default.chartCollapse},f.default.createElement("img",{src:a.state.isOpened?k.default:O.default,onClick:a.handleCollapse})))},a.renderNonStandardTargetsWarning=function(){var e,t,n;if(!(a.hasNonStandardTargets()&&a.state.isOpened&&p.default.includes(["timeInRange","readingsInRange"],a.props.id)))return null;var r=(null===(e=a.props.bgPrefs)||void 0===e?void 0:e.bgBounds)||{},o=r.targetLowerBound,i=r.targetUpperBound,s=(a.props.bgPrefs||{}).bgUnits,l=(null===(t=a.props.bgPrefs)||void 0===t?void 0:t.bgUnits)===E.MMOLL_UNITS?1:0,d=(0,v.formatDecimalNumber)(o,l),u=(0,v.formatDecimalNumber)(i,l);return f.default.createElement("div",{className:B.default.statHeaderNonStandardWarning},a.props.t("Alternate range in use (".concat(d,"-").concat(u," ").concat(s,")"),{lowerTarget:d,upperTarget:u,bgUnits:null===(n=a.props.bgPrefs)||void 0===n?void 0:n.bgUnits}))},a.renderStatUnits=function(){return f.default.createElement("div",{className:B.default.units},a.props.units)},a.renderChildren=function(){return f.default.createElement("div",{className:B.default.statChildren},a.props.children)},a.renderStatHeader=function(){var e=a.hasNonStandardTargets()&&p.default.includes(["timeInRange","readingsInRange"],a.props.id)?B.default.statHeaderContainerNonStandardTargets:B.default.statHeaderContainer;return f.default.createElement("div",{className:e},f.default.createElement("div",{className:B.default.statHeader},a.renderChartTitle(),a.renderChartSummary()),a.renderNonStandardTargetsWarning())},a.renderStatFooter=function(){return f.default.createElement("div",{className:B.default.statFooter},a.props.type===C.statTypes.input&&a.renderCalculatedOutput(),a.props.legend&&a.renderStatLegend(),a.props.units&&a.renderStatUnits())},a.renderStatLegend=function(){var e=p.default.map(a.props.data.data,(function(e){return p.default.pick(e,["id","legendTitle"])}));return a.props.reverseLegendOrder||p.default.reverse(e),f.default.createElement("div",{className:B.default.statLegend},f.default.createElement(D.default,{items:e}))},a.renderChart=function(e){var t=a.chartProps,n=t.renderer,r=(0,s.default)(t,R);return f.default.createElement(y.Collapse,{isOpened:a.state.isOpened,theme:{collapse:"statCollapse"}},f.default.createElement("div",{className:B.default.chartWrapper},f.default.createElement(n,Object.assign({},r,{width:e.width||298}))))},a.renderInput=function(){var e=p.default.get(a.props.data,a.props.data.dataPaths.input);return f.default.createElement("div",{className:B.default.inputWrapper},f.default.createElement(P.default,Object.assign({},e,{onChange:a.handleInputChange,onSuffixChange:a.handleSuffixChange,suffix:a.state.inputSuffix,defaultValue:a.state.inputValue})))},a.renderCalculatedOutput=function(){var e,t=p.default.get(a.props.data,"dataPaths.output"),n=p.default.get(a.props.dataFormat,"output"),r=p.default.get(a.props.data,t),o={result:{value:a.props.emptyDataPlaceholder}},s=p.default.get(r,"label"),l={value:a.state.inputValue,suffix:p.default.get(a.state,"inputSuffix.value.label",a.state.inputSuffix)};t&&r&&("divisor"===r.type?(o.dividend=p.default.get(a.props.data,p.default.get(r,"dataPaths.dividend"),{}).value,l.value=o.dividend/l.value,o.result=(0,C.formatDatum)(l,n,a.props)):o.result=(0,C.formatDatum)(l,n,a.props));var d=(0,m.default)((e={},(0,i.default)(e,B.default.outputValue,!0),(0,i.default)(e,B.default.outputValueDisabled,o.result.value===a.props.emptyDataPlaceholder),e));return f.default.createElement("div",{className:B.default.outputWrapper},s&&f.default.createElement("div",{className:B.default.outputLabel},s),f.default.createElement("div",{className:B.default.outputValueWrapper},f.default.createElement("span",{className:d},o.result.value),f.default.createElement("span",{className:B.default.outputSuffix},o.result.suffix)))},a.renderTooltip=function(){return f.default.createElement("div",{className:B.default.StatTooltipWrapper},f.default.createElement(L.default,{annotations:a.props.annotations,offset:a.state.messageTooltipOffset,position:a.state.messageTooltipPosition,side:a.state.messageTooltipSide}))},a.render=function(){var e,t=(0,m.default)((e={},(0,i.default)(e,B.default.Stat,!0),(0,i.default)(e,B.default.isOpen,a.state.isOpened),e));return f.default.createElement("div",{className:B.default.StatWrapper},f.default.createElement("div",{ref:a.setStatRef,className:t},a.renderStatHeader(),a.chartProps.renderer&&f.default.createElement("div",{className:B.default.statMain},f.default.createElement(h.SizeMe,{render:function(e){var t=e.size;return a.renderChart(t)}})),a.props.type===C.statTypes.input&&a.renderInput(),a.state.isOpened&&a.props.children&&a.renderChildren(),a.state.showFooter&&a.renderStatFooter()),a.state.showMessages&&a.renderTooltip())},a.getStateByType=function(e){var t,n,r=e.data,o=e.legend,i={chartTitle:e.title,isDisabled:!p.default.sum(p.default.filter(p.default.map(r.data,(function(e){return p.default.get(e,"deviation.value",e.value)})),(function(e){return e>=0})))>0};switch(e.type){case"input":n=p.default.get(e.data,e.data.dataPaths.input,{}),t=p.default.get(a.state,"isOpened",e.isOpened),i.inputSuffix=p.default.get(a.state,"inputSuffix",n.suffix),i.inputValue=p.default.get(a.state,"inputValue",n.value),i.isCollapsible=e.collapsible,i.isOpened=t,i.showFooter=t;break;case"barHorizontal":t=p.default.get(a.state,"isOpened",e.isOpened),i.isCollapsible=e.collapsible,i.isOpened=t,i.hoveredDatumIndex=-1,i.showFooter=o&&t;break;case"barBg":t=p.default.get(a.state,"isOpened",e.isOpened),i.isCollapsible=e.collapsible,i.isOpened=t;break;default:i.isCollapsible=!1,i.isOpened=!1,i.showFooter=!1}return i},a.getDefaultChartProps=function(e){var t=e.chartHeight;return{animate:!!e.animate&&{animationWhitelist:["data"],duration:300,onLoad:{duration:0}},height:t,labels:function(e){return(0,v.formatPercentage)(e._y)},renderer:null,style:{data:{fill:function(e){return T.default[e.id]||T.default.statDefault}}}}},a.getChartPropsByType=function(e){var t,n,r,i,s,l=e.type,d=e.data,u=e.bgPrefs.bgUnits,c=24,A=2.75*c,g=p.default.cloneDeep(d.data),m=a.getDefaultChartProps(e);switch(l){case"barBg":t=4,r=m.height||6*t,n={x:[0,1],y:[0,u===E.MGDL_UNITS?E.MGDL_CLAMP_TOP:E.MMOLL_CLAMP_TOP]},i={top:10,bottom:10},p.default.assign(m,{alignment:"middle",containerComponent:f.default.createElement(b.VictoryContainer,{responsive:!1,style:{touchAction:"auto"}}),cornerRadius:{topLeft:2,bottomLeft:2,topRight:2,bottomRight:2},data:p.default.map(g,(function(e,t){return(0,o.default)((0,o.default)({},e),{},{_x:Math.round(t+1),_y:e.value,index:t})})),x:"_x",y:"_y",dataComponent:f.default.createElement(w.default,{barWidth:t,bgPrefs:e.bgPrefs,chartLabelWidth:A,domain:n}),domain:n,height:r,horizontal:!0,labelComponent:f.default.createElement(I.default,{barWidth:t,bgPrefs:e.bgPrefs,domain:n,text:function(t){var n=t.datum,a=void 0===n?{}:n,r=p.default.get(g,a.index,a),o=(0,C.formatDatum)(p.default.get(r,"deviation",r),e.dataFormat.label,e).value;return"".concat(o)},tooltipText:function(t){var n=t.datum,a=void 0===n?{}:n,r=(0,C.formatDatum)(p.default.get(g,a.index,a),e.dataFormat.tooltip,e),o=r.value,i=r.suffix;return"".concat(o).concat(i)}}),padding:i,renderer:b.VictoryBar,style:{data:{fill:function(e){var t=e.datum;return a.getDatumColor(t)},width:function(){return t}},labels:{fill:function(t){var n=t.datum;return a.getDatumColor(p.default.assign({},n,(0,C.formatDatum)(n,e.dataFormat.label,e)))},fontSize:c,fontWeight:500,paddingLeft:A}}});break;case"barHorizontal":r=m.height,s=p.default.get(d,"total.value"),r>0?(t=(r-6)/g.length-3,A=2.75*(c=p.default.min([.833*t,c]))):r=(6+(t=30))*g.length,n={x:[0,g.length],y:[0,1]},i={top:t/2,bottom:t/2*-1},p.default.assign(m,{alignment:"middle",containerComponent:f.default.createElement(b.VictoryContainer,{responsive:!1,style:{touchAction:"auto"}}),cornerRadius:{topLeft:2,bottomLeft:2,topRight:2,bottomRight:2},data:p.default.map(g,(function(e,t){return(0,o.default)((0,o.default)({},e),{},{_x:Math.round(t+1),_y:s>0?e.value/s:e.value,index:t})})),x:"_x",y:"_y",dataComponent:f.default.createElement(S.default,{barWidth:t,barSpacing:6,chartLabelWidth:A,domain:n}),domain:n,events:[{target:"data",eventHandlers:{onMouseOver:function(t,n){return a.state.isDisabled||!e.dataFormat.tooltip?{}:(a.setChartTitle(n.datum),a.setState({hoveredDatumIndex:n.index}),{target:"labels",mutation:function(){return{active:!0}}})},onMouseOut:function(){return a.setChartTitle(),a.setState({hoveredDatumIndex:-1}),{target:"labels",mutation:function(){return{active:e.alwaysShowTooltips}}}}}}],height:r,horizontal:!0,labelComponent:f.default.createElement(x.default,{active:e.alwaysShowTooltips,barWidth:t,isDisabled:function(){return a.state.isDisabled},domain:n,text:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,C.formatDatum)(p.default.get(g,t.index,t),e.dataFormat.label,e);return[n.value,n.suffix]},tooltipText:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,C.formatDatum)(p.default.get(g,t.index,t),e.dataFormat.tooltip,e),a=n.value,r=n.suffix;return"".concat(a).concat(r)}}),padding:i,renderer:b.VictoryBar,style:{data:{fill:function(e){var t=e.datum;return 0===t._y?"transparent":a.getDatumColor(t)},width:function(){return t}},labels:{fill:function(t){var n=t.datum;return a.getDatumColor(p.default.assign({},n,(0,C.formatDatum)(n,e.dataFormat.label,e)))},fontSize:c,fontWeight:500,paddingLeft:A}}})}return m},a.setChartTitle=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.title,r=void 0===n?a.props.title:n,o=p.default.get(a.props,"dataFormat.tooltipTitle");o&&t.index>=0&&(e=a.getFormattedDataByDataPath(["data",t.index],o)),a.setState({chartTitle:r,tooltipTitleData:e})},a.getFormattedDataByDataPath=function(e,t){var n=p.default.get(a.props.data,e);return(0,C.formatDatum)(n,t,a.props)},a.getFormattedDataByKey=function(e){var t=p.default.get(a.props.data,["dataPaths",e]),n=a.props.dataFormat[e];return a.getFormattedDataByDataPath(t,n)},a.getDatumColor=function(e){var t=a.state,n=t.hoveredDatumIndex,r=t.isDisabled,o=a.props.muteOthersOnHover&&n>=0&&n!==e.index,i=T.default[e.id]||T.default.statDefault;return(r||o)&&(i=r?T.default.statDisabled:T.default.muted),i},a.handleCollapse=function(){a.setState((function(e){return{isOpened:!e.isOpened}}),(function(){a.setState(a.getStateByType(a.props)),p.default.isFunction(a.props.onCollapse)&&a.props.onCollapse(!a.state.isOpened)}))},a.handleTooltipIconMouseOver=function(){var e=a.tooltipIcon.getBoundingClientRect(),t=e.top,n=e.left,r=e.width,o=e.height,i=a.stat.getBoundingClientRect(),s=i.top,l=i.left,d={top:t-s+o/2-i.height,left:n-l+r/2},u={horizontal:r/2,top:0},c=p.default.get(document,"body.clientWidth",0)-n<225?"left":"right";a.setState({showMessages:!0,messageTooltipPosition:d,messageTooltipOffset:u,messageTooltipSide:c})},a.handleTooltipIconMouseOut=function(){a.setState({showMessages:!1})},a.handleInputChange=function(e){e.persist(),a.setState((function(){return{inputValue:e.target.value}}),a.propagateInputChange)},a.handleSuffixChange=function(e){a.setState((function(t){return{inputSuffix:p.default.assign({},t.inputSuffix,{value:e})}}),a.propagateInputChange)},a.propagateInputChange=function(){p.default.isFunction(a.props.onInputChange)&&a.props.onInputChange(p.default.get(a.state,"inputValue"),p.default.get(a.state,"inputSuffix.value"))},a.log=(0,g.default)("Stat"),a.state=a.getStateByType(e),a.chartProps=a.getChartPropsByType(e),a.setStatRef=function(e){a.stat=e},a.setTooltipIconRef=function(e){a.tooltipIcon=e},a}return(0,d.default)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this;this.setState((function(){return t.getStateByType(e)})),this.chartProps=this.getChartPropsByType(e)}}]),n}(f.PureComponent);M.defaultProps={alwaysShowSummary:!1,alwaysShowTooltips:!0,animate:!0,bgPrefs:{},categories:{},chartHeight:0,collapsible:!1,emptyDataPlaceholder:"--",isDisabled:!1,isOpened:!0,legend:!1,muteOthersOnHover:!0,type:C.statTypes.simple},M.displayName="Stat",t.default=(0,A.withTranslation)()(M)},53083:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(54013)),l=r(n(53671)),d=a(n(82015)),u=r(n(27825)),c=r(n(72439)),f=r(n(39123)),A=function(e){(0,s.default)(n,e);var t=(0,l.default)(n);function n(){var e;(0,o.default)(this,n);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))).renderLegendItems=function(e){return u.default.map(e,(function(e){return d.default.createElement("li",{className:f.default.StatLegendItem,key:e.id,style:{borderBottomColor:c.default[e.id]}},d.default.createElement("span",{className:f.default.StatLegendTitle},e.legendTitle))}))},e}return(0,i.default)(n,[{key:"render",value:function(){return d.default.createElement("ul",{className:f.default.StatLegend},this.renderLegendItems(this.props.items))}}]),n}(d.PureComponent);A.displayName="StatLegend",t.default=A},75991:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(79222)),o=a(n(82015)),i=n(49842),s=a(n(61703)),l=["t"],d=function(e){var t=e.t,n=(0,r.default)(e,l),a={title:t("Understanding your CGM Data"),subtitle:t("Your CGM provides two types of measurements:"),sections:[{title:t("1. Real-time Data (1min Data):"),items:[t("Updated every minute while wearing your device"),t("Used by your pump for automated insulin dosing"),t("May have gaps if connection is temporarily lost"),t("Not backfilled if your sensor loses connection with your phone"),t("Not used for the statistics we show in the sidebar or elsewhere in Tidepool")]},{title:t("2. Display Data (5min Data):"),items:[t("Smoothed data created for easier viewing"),t("Not used by your pump for insulin decisions"),t("Automatically backfilled for up to 24 hours if connection is lost"),t("Used for the statistics we display in the sidebar and elsewhere in Tidepool")]}]};return o.default.createElement(s.default,Object.assign({},n,{content:a,offset:{top:135,left:0}}))};d.defaultProps=s.default.defaultProps,t.default=(0,i.withTranslation)()(d)},46792:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(79222)),o=a(n(82015)),i=n(49842),s=a(n(61703)),l=["t"],d=function(e){var t=e.t,n=(0,r.default)(e,l),a={title:t("Events Shown"),subtitle:t("Tidepool displays certain pump alarms, device time changes, and notes."),sections:[{title:t("Pump Alarms Shown"),note:t("Please note that pump alarms are only shown for the twiist AID system and not all alarms are shown."),items:[t("Cassette Empty"),t("Battery Empty"),t("Line Blocked")]}]};return o.default.createElement(s.default,Object.assign({},n,{content:a,offset:{top:60,left:0}}))};d.defaultProps=s.default.defaultProps,t.default=(0,i.withTranslation)()(d)},61703:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(79222)),o=a(n(82015)),i=a(n(27825)),s=a(n(56607)),l=a(n(93870)),d=a(n(82071)),u=["content"],c=function(e){var t=e.content,n=(0,r.default)(e,u);return o.default.createElement(s.default,Object.assign({},n,{content:o.default.createElement("div",{className:d.default.container},t.title&&o.default.createElement("div",{className:d.default.title},t.title),t.subtitle&&o.default.createElement("div",{className:d.default.subtitle},t.subtitle),i.default.map(t.sections,(function(e,t){return o.default.createElement("div",{key:"section-".concat(t)},e.title&&o.default.createElement("div",{className:d.default.row},e.title),e.items.length&&o.default.createElement("ul",{className:d.default.items},i.default.map(e.items,(function(e,t){return o.default.createElement("li",{key:"item-".concat(t),className:d.default.item},e)}))),e.note&&o.default.createElement("div",{className:d.default.note},e.note))})))}))};c.defaultProps={content:{title:null,subtitle:null,sections:[]},tail:!0,side:"right",tailWidth:8,tailHeight:16,tailColor:l.default.gray30,borderColor:l.default.gray30,borderWidth:2,offset:{top:0,left:0}},t.default=c},39681:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(7843)),i=a(n(27825)),s=a(n(56607)),l=a(n(72439)),d=a(n(49769)),u=function(e){var t,n;return r.default.createElement(s.default,Object.assign({},e,{content:(t=e.annotations,n=[],i.default.each(t,(function(a,i){n.push(r.default.createElement(o.default,{key:"message-".concat(i),className:d.default.message,children:a,linkTarget:"_blank"})),i!==t.length-1&&n.push(r.default.createElement("div",{key:"divider-".concat(i),className:e.showDividers?d.default.divider:d.default.hiddenDivider}))})),r.default.createElement("div",{className:d.default.container},n))}))};u.defaultProps={annotations:[],tail:!0,side:"right",tailWidth:8,tailHeight:16,tailColor:l.default.statDefault,borderColor:l.default.statDefault,borderWidth:2,showDividers:!0},t.default=u},56607:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(37055)),i=r(n(46721)),s=r(n(4841)),l=r(n(54013)),d=r(n(53671)),u=a(n(82015)),c=r(n(815)),f=function(e){(0,l.default)(n,e);var t=(0,d.default)(n);function n(e){var a;return(0,i.default)(this,n),(a=t.call(this,e)).state={offset:{top:0,left:0}},a.setElementRef=function(e){a.element=e},a.setTitleElemRef=function(e){a.titleElem=e},a.setTailElemRef=function(e){a.tailElem=e},a}return(0,s.default)(n,[{key:"componentDidMount",value:function(){var e=this;this.calculateOffset(this.props),requestAnimationFrame((function(){e.calculateOffset(e.props)}))}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.calculateOffset(e)}},{key:"calculateOffset",value:function(e){if(this.element){var t,n,a=e.content,r=e.offset,o=e.side,i=e.tail,s=e.tailHeight,l=e.tailWidth,d=e.title,u={},c=this.element.getBoundingClientRect(),f=d&&a&&(null===(t=this.titleElem)||void 0===t||null===(n=t.getBoundingClientRect())||void 0===n?void 0:n.height)||0,A=i?2*s:0,p=(i?2*l:0)+(null!=r.left?r.left:r.horizontal||0);"left"===o&&(p=-p);var g=A+(null!=r.top?r.top:r.vertical||0);if("top"===o&&(g=-g),i)switch(o){case"top":u.top=-c.height+r.top+g,u.left=-c.width/2+r.left;break;case"bottom":u.top=r.top+g,u.left=-c.width/2+r.left;break;case"right":u.top=-(c.height+f)/2+r.top,u.left=p;break;default:u.top=-(c.height+f)/2+r.top,u.left=-c.width+p}else{var m=0,h=0;switch(o){case"top":m=-c.width/2,h=-c.height;break;case"bottom":m=-c.width/2,h=0;break;case"right":m=0,h=-c.height/2;break;default:m=-c.width,h=-c.height/2}u.top=h+g,u.left=m+p}this.setState({offset:u})}}},{key:"renderTail",value:function(){var e=this.props,t=e.backgroundColor,n=void 0===t?"white":t,a=e.borderColor,r=e.borderWidth,i=e.offset,s=e.side,l=e.tailHeight,d=e.tailWidth,f=this.titleElem?this.titleElem.getBoundingClientRect():null,A=this.props.tailColor||n,p={},g={},m=A!==a;switch(s){case"top":p.left="calc(50% - ".concat(i.left||0,"px)"),p.borderTopColor=a,p.borderWidth="".concat(2*l+r,"px ").concat(d+r,"px"),m&&(g=(0,o.default)((0,o.default)({},p),{},{top:"calc(100% - ".concat(r+Math.ceil(l/d),"px)"),borderTopColor:A}));break;case"bottom":p.left="calc(50% - ".concat(i.left||0,"px)"),p.bottom="calc(100% + ".concat((null==f?void 0:f.height)||0,"px)"),p.borderBottomColor=a,p.borderWidth="".concat(2*l+r,"px ").concat(d+r,"px"),m&&(g=(0,o.default)((0,o.default)({},p),{},{bottom:"calc(100% + ".concat((null==f?void 0:f.height)||0,"px - ").concat(r+Math.ceil(l/d),"px)"),borderBottomColor:A}));break;case"right":p.top="calc(50% - ".concat(i.top||0,"px)"),p.borderRightColor=a,p.borderWidth="".concat(l+r,"px ").concat(2*d+r,"px"),m&&(g=(0,o.default)((0,o.default)({},p),{},{right:"calc(100% - ".concat(r+d/l,"px)"),borderRightColor:A}));break;default:p.top="calc(50% - ".concat(i.top||0,"px)"),p.borderLeftColor=a,p.borderWidth="".concat(l+r,"px ").concat(2*d+r,"px"),m&&(g=(0,o.default)((0,o.default)({},p),{},{left:"calc(100% - ".concat(r+Math.ceil(d/l),"px)"),borderLeftColor:A}))}return u.default.createElement("div",{style:{position:"static"}},u.default.createElement("div",{ref:this.setTailElemRef,className:"".concat(c.default.tail," ").concat(c.default[s]),style:p}),m&&u.default.createElement("div",{className:"".concat(c.default.tail," ").concat(c.default[s]),style:g}))}},{key:"renderTitle",value:function(e){var t=this.props,n=t.tail,a=t.content,r=null;return e&&(r=u.default.createElement("div",{ref:this.setTitleElemRef,className:c.default.title},u.default.createElement("span",null,e),n&&!a&&this.renderTail())),r}},{key:"renderContent",value:function(e){var t=null,n=this.props.tail;return e&&(t=u.default.createElement("div",{className:c.default.content},u.default.createElement("span",null,e),n&&this.renderTail())),t}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.content,a=e.position,r=e.backgroundColor,o=e.borderColor,i=e.borderWidth,s=e.borderRadius,l=e.boxShadow,d=this.state.offset,f=a.top+d.top,A=a.left+d.left;return u.default.createElement("div",{className:c.default.tooltip,style:{top:f,left:A,backgroundColor:r,borderColor:o,borderWidth:"".concat(i,"px"),borderRadius:"".concat(s,"px"),boxShadow:l},ref:this.setElementRef},t&&this.renderTitle(t),n&&this.renderContent(n))}}]),n}(u.PureComponent);f.displayName="Tooltip",f.defaultProps={tail:!0,side:"left",tailWidth:8,tailHeight:8,borderColor:"black",borderWidth:2,borderRadius:4,boxShadow:"none",offset:{top:0,left:0}},t.default=f},1718:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(56427)),i=a(n(56607)),s=a(n(93870)),l=a(n(90888)),d=n(11270),u=n(74501),c=n(66871),f=o.default.t.bind(o.default),A=function(e){var t,n,a,o,s,A=(0,u.getMsPer24)(null===(t=e.alarm)||void 0===t?void 0:t.normalTime,null===(n=e.timePrefs)||void 0===n?void 0:n.timezoneName),p=(0,u.formatClocktimeFromMsPer24)(A),g=(0,d.getPumpVocabulary)(null===(a=e.alarm)||void 0===a?void 0:a.source)[null===(o=e.alarm)||void 0===o?void 0:o.alarmType]||(null===(s=e.alarm)||void 0===s?void 0:s.alarmType)||f("Unknown Alarm");return r.default.createElement(i.default,Object.assign({},e,{content:function(){var t,n;switch(null===(t=e.alarm)||void 0===t?void 0:t.alarmType){case c.ALARM_NO_DELIVERY:case c.ALARM_AUTO_OFF:case c.ALARM_NO_INSULIN:case c.ALARM_NO_POWER:case c.ALARM_OCCLUSION:case c.ALARM_OVER_LIMIT:n=f("Pump Alarm");break;default:n=f("Device Alarm")}return r.default.createElement("div",null,r.default.createElement("div",{className:l.default.time},p),r.default.createElement("div",{className:l.default.deviceAlarmTitle},n),r.default.createElement("div",{className:l.default.alarmType},g))}()}))};A.defaultProps={annotations:[],tail:!0,side:"bottom",tailWidth:16,tailHeight:8,tailColor:s.default.gray30,borderColor:s.default.gray30,borderWidth:2},t.default=A},15910:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.medronicDeconvertedExchangeMessage=t.isMedronicDeconvertedExchange=t.isAnimasExtended=t.getTarget=t.getExtended=t.default=t.animasExtendedAnnotationMessage=void 0;var o=r(n(82015)),i=r(n(27825)),s=r(n(56427)),l=a(n(32935)),d=n(66871),u=n(74501),c=n(99559),f=n(11270),A=n(64892),p=r(n(56607)),g=r(n(72439)),m=r(n(14680)),h=s.default.t.bind(s.default),b=t.isAnimasExtended=function(e){var t=l.getAnnotations(e);return-1!==i.default.findIndex(t,{code:"animas/bolus/extended-equal-split"})},y=t.animasExtendedAnnotationMessage=function(e){var t=null;if(b(e)){var n=(0,A.getAnnotationMessages)(l.getBolusFromInsulinEvent(e));t=o.default.createElement("div",{className:m.default.annotation},i.default.find(n,{code:"animas/bolus/extended-equal-split"}).message.value)}return t},v=t.isMedronicDeconvertedExchange=function(e){var t=i.default.get(e,"annotations",[]);return-1!==i.default.findIndex(t,{code:"medtronic/wizard/carb-to-exchange-ratio-deconverted"})},E=t.medronicDeconvertedExchangeMessage=function(e){var t=null;if(v(e)){var n=(0,A.getAnnotationMessages)(e);t=o.default.createElement("div",{className:m.default.annotation},i.default.find(n,{code:"medtronic/wizard/carb-to-exchange-ratio-deconverted"}).message.value)}return t},C=t.getTarget=function(e,t,n,a){var r,s=(0,u.getMsPer24)(null==e?void 0:e.normalTime,null==n?void 0:n.timezoneName),l=(null==t?void 0:t.bgUnits)||"",d=i.default.get(e,"bgTarget"),A=i.default.get(d,"target",null),p=i.default.get(d,"low",null),g=i.default.get(d,"high",null),b=i.default.get(d,"range",null);if(-1!==i.default.findIndex(i.default.get(e,"annotations",[]),{code:"wizard/target-automated"}))return o.default.createElement("div",{className:m.default.target},o.default.createElement("div",{className:m.default.label},h("Target")),o.default.createElement("div",{className:m.default.value},h("Auto")),o.default.createElement("div",{className:a}));if(p)return r=p===g?"".concat((0,c.formatBgValue)(p,t)):"".concat((0,c.formatBgValue)(p,t),"-").concat((0,c.formatBgValue)(g,t)),o.default.createElement("div",{className:m.default.target},o.default.createElement("div",{className:m.default.label},h("Target")),o.default.createElement("div",{className:m.default.value},r),o.default.createElement("div",{className:a}));if(b)return[o.default.createElement("div",{className:m.default.target,key:"target"},o.default.createElement("div",{className:m.default.label},h("Target")),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatBgValue)(A,t))),o.default.createElement("div",{className:a})),o.default.createElement("div",{className:m.default.target,key:"range"},o.default.createElement("div",{className:m.default.label},h("Range")),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatBgValue)(b,t))),o.default.createElement("div",{className:a}))];if(g)return[o.default.createElement("div",{className:m.default.target,key:"target"},o.default.createElement("div",{className:m.default.label},h("Target")),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatBgValue)(A,t))),o.default.createElement("div",{className:a})),o.default.createElement("div",{className:m.default.target,key:"high"},o.default.createElement("div",{className:m.default.label},h("High")),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatBgValue)(g,t))),o.default.createElement("div",{className:a}))];if((0,f.isLoop)(e)){var y=i.default.get(e,"dosingDecision.bgTargetSchedule",[]),v=i.default.findLast(i.default.sortBy(y,"start"),(function(e){return e.start<s})),E=h("Correction Range");return o.default.createElement("div",{className:m.default.target},o.default.createElement("div",{className:m.default.label},E," (",l,")"),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatBgValue)(null==v?void 0:v.low,t),"-").concat((0,c.formatBgValue)(null==v?void 0:v.high,t))),o.default.createElement("div",{className:a}))}return o.default.createElement("div",{className:m.default.target},o.default.createElement("div",{className:m.default.label},h("Target")),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatBgValue)(A,t))),o.default.createElement("div",{className:a}))},B=t.getExtended=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.default.units,n=l.getBolusFromInsulinEvent(e),a=l.hasExtended(n),r=l.getNormalPercentage(n),s=i.default.get(n,"normal",NaN),d=b(e),f=i.default.isNaN(l.getExtendedPercentage(n))?"":"(".concat(l.getExtendedPercentage(n),")"),A=null;return a&&(A=d?o.default.createElement("div",{className:m.default.extended},o.default.createElement("div",{className:m.default.label},"Extended Over*"),o.default.createElement("div",{className:m.default.value},(0,u.formatDuration)(l.getDuration(n)))):[!!s&&o.default.createElement("div",{className:m.default.normal,key:"normal"},o.default.createElement("div",{className:m.default.label},h("Up Front ({{normalPercentage}})",{normalPercentage:r})),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatInsulin)(s))),o.default.createElement("div",{className:t},"U")),o.default.createElement("div",{className:m.default.extended,key:"extended"},o.default.createElement("div",{className:m.default.label},"Over ".concat((0,u.formatDuration)(l.getDuration(n))," ").concat(f)),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatInsulin)(l.getExtended(n)))),o.default.createElement("div",{className:t},"U"))]),A},T=function(e){var t,n,a,r,s,A,T,S,x,w,I,L,D,k,O,N,P,R=l.getCarbs(e.bolus),M=i.default.isFinite(R)&&R>0,_=(null===(t=e.bgPrefs)||void 0===t?void 0:t.bgUnits)||"",F="exchanges"===i.default.get(e,"bolus.carbUnits")?"exch":"g",G="exchanges"===i.default.get(e,"bolus.carbUnits")?"U/exch":"g/U",j=(0,f.isTwiistLoop)(e.bolus),H=(0,u.getMsPer24)(null===(n=e.bolus)||void 0===n?void 0:n.normalTime,null===(a=e.timePrefs)||void 0===a?void 0:a.timezoneName),U=M&&"exch"===F?m.default.unitsWide:m.default.units,Y=(0,f.getPumpVocabulary)(null===(r=e.bolus)||void 0===r?void 0:r.source),z=(null===(s=l.getBolusFromInsulinEvent(e.bolus))||void 0===s?void 0:s.tags)||{},W=z.automated,V=z.oneButton,$=null!==(A=e.tailColor)&&void 0!==A?A:W?g.default.bolusAutomated:g.default.bolus,q=null!==(T=e.borderColor)&&void 0!==T?T:W?g.default.bolusAutomated:g.default.bolus,Q=o.default.createElement("div",{className:m.default.title},o.default.createElement("div",{className:m.default.types},V&&o.default.createElement("div",null,Y[d.ONE_BUTTON_BOLUS]),W&&o.default.createElement("div",null,Y[d.AUTOMATED_BOLUS])),(0,u.formatLocalizedFromUTC)(e.bolus.normalTime,e.timePrefs,"h:mm a"));return o.default.createElement(p.default,Object.assign({},e,{borderColor:q,tailColor:$,title:Q,content:("wizard"===e.bolus.type||null!==(S=e.bolus)&&void 0!==S&&S.dosingDecision?x=function(){var t=e.bolus,n=l.getRecommended(t),a=i.default.isFinite(n)?"".concat(n):null,r=(null==t?void 0:t.bgInput)||null,s=null==t?void 0:t.insulinOnBoard,d=l.getCarbs(t),u=i.default.isFinite(d)&&d>0,A=(null==t?void 0:t.insulinCarbRatio)||null,p=(null==t?void 0:t.insulinSensitivity)||null;if((0,f.isLoop)(t)){var g,T,S,x=(null==t||null===(g=t.dosingDecision)||void 0===g?void 0:g.pumpSettings)||{},w=x.activeSchedule,I=x.carbRatios,L=x.insulinSensitivities;A=(null===(T=i.default.findLast(i.default.sortBy((null==I?void 0:I[w])||[],"start"),(function(e){return e.start<H})))||void 0===T?void 0:T.amount)||A,p=(null===(S=i.default.findLast(i.default.sortBy((null==L?void 0:L[w])||[],"start"),(function(e){return e.start<H})))||void 0===S?void 0:S.amount)||p}var D=l.getDelivered(t),k=l.isInterruptedBolus(t),O=l.getProgrammed(t),N=l.hasExtended(t),P=b(t),R=v(t),M=null;l.isOverride(t)&&(M=o.default.createElement("div",{className:m.default.override},o.default.createElement("div",{className:m.default.label},h("Override")),o.default.createElement("div",{className:m.default.value},"+".concat((0,c.formatInsulin)(O-n))),o.default.createElement("div",{className:U},"U"))),l.isUnderride(t)&&(M=o.default.createElement("div",{className:m.default.override},o.default.createElement("div",{className:m.default.label},h("Underride")),o.default.createElement("div",{className:m.default.value},"-".concat((0,c.formatInsulin)(n-O))),o.default.createElement("div",{className:U},"U")));var Y=i.default.isFinite(D)&&o.default.createElement("div",{className:m.default.delivered},o.default.createElement("div",{className:m.default.label},h("Delivered")),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatInsulin)(D))),o.default.createElement("div",{className:U},"U")),z=(k||M)&&!!a&&o.default.createElement("div",{className:m.default.suggested},o.default.createElement("div",{className:m.default.label},h("Recommended")),o.default.createElement("div",{className:m.default.value},(0,c.formatInsulin)(a)),o.default.createElement("div",{className:U},"U")),W=!!r&&!j&&o.default.createElement("div",{className:m.default.bg},o.default.createElement("div",{className:m.default.label},h("Glucose")," (",_,")"),o.default.createElement("div",{className:m.default.value},(0,c.formatBgValue)(r,e.bgPrefs)),o.default.createElement("div",{className:U})),V=!!d&&o.default.createElement("div",{className:m.default.carbs},o.default.createElement("div",{className:m.default.label},h("Carbs")),o.default.createElement("div",{className:m.default.value},d),o.default.createElement("div",{className:U},F)),$=i.default.isFinite(s)&&o.default.createElement("div",{className:m.default.iob},o.default.createElement("div",{className:m.default.label},h("IOB")),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatInsulin)(s))),o.default.createElement("div",{className:U},"U")),q=k&&o.default.createElement("div",{className:m.default.interrupted},o.default.createElement("div",{className:m.default.label},h("Interrupted")),o.default.createElement("div",{className:m.default.value},"-".concat((0,c.formatInsulin)(O-D))),o.default.createElement("div",{className:U},"U")),Q=!!u&&!!A&&o.default.createElement("div",{className:m.default.carbRatio},o.default.createElement("div",{className:m.default.label},h("I:C Ratio"),R&&"*"," "," (".concat(G,")")),o.default.createElement("div",{className:m.default.value},A),o.default.createElement("div",{className:U})),K=!!p&&!!r&&o.default.createElement("div",{className:m.default.isf},o.default.createElement("div",{className:m.default.label},h("ISF")," (",_,"/U)"),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatBgValue)(p,e.bgPrefs))),o.default.createElement("div",{className:U}));return o.default.createElement("div",{className:m.default.container},W,V,$,z,B(t,U),(k||M||N)&&o.default.createElement("div",{className:m.default.divider}),M,q,Y,(Q||K||r||P||R)&&o.default.createElement("div",{className:m.default.divider}),Q,K,!!r&&C(t,e.bgPrefs,U),y(t),E(t))}():(w=e.bolus,I=l.getDelivered(w),L=l.isInterruptedBolus(w),D=l.getProgrammed(w),k=b(w),O=i.default.isFinite(I)&&o.default.createElement("div",{className:m.default.delivered},o.default.createElement("div",{className:m.default.label},h("Delivered")),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatInsulin)(I))),o.default.createElement("div",{className:U},"U")),N=L&&o.default.createElement("div",{className:m.default.interrupted},o.default.createElement("div",{className:m.default.label},h("Interrupted")),o.default.createElement("div",{className:m.default.value},"-".concat((0,c.formatInsulin)(D-I))),o.default.createElement("div",{className:U},"U")),P=L&&!!D&&o.default.createElement("div",{className:m.default.programmed},o.default.createElement("div",{className:m.default.label},h("Programmed")),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatInsulin)(D))),o.default.createElement("div",{className:U},"U")),x=o.default.createElement("div",{className:m.default.container},P,N,O,B(w,U),k&&o.default.createElement("div",{className:m.default.divider}),y(w))),x)}))};T.defaultProps={tail:!0,side:"right",tailWidth:8,tailHeight:16,borderWidth:2},t.default=T},32592:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(27825)),i=a(n(56427)),s=n(84240),l=n(99559),d=n(74501),u=n(64892),c=a(n(56607)),f=a(n(72439)),A=a(n(79346)),p=i.default.t.bind(i.default),g=function(e){var t,n=(null===(t=e.bgPrefs)||void 0===t?void 0:t.bgUnits)||"",a=(0,s.classifyBgValue)((0,s.reshapeBgClassesToBgBounds)(e.bgPrefs),e.bgPrefs.bgUnits,e.cbg.value,"fiveWay"),i=e.title?e.title:r.default.createElement("div",{className:A.default.title},(0,d.formatLocalizedFromUTC)(e.cbg.normalTime,e.timePrefs,"h:mm a"));return r.default.createElement(c.default,Object.assign({},e,{title:i,content:function(){var t=e.cbg,a=(0,u.getOutOfRangeAnnotationMessage)(t),i=[r.default.createElement("div",{key:"bg",className:A.default.bg},r.default.createElement("div",{className:A.default.label},p("Glucose")," (",n,")"),r.default.createElement("div",{className:A.default.value},"".concat((0,l.formatBgValue)(t.value,e.bgPrefs,(0,s.getOutOfRangeThreshold)(t)))))];if(!o.default.isEmpty(a)){var d=(0,s.classifyBgValue)((0,s.reshapeBgClassesToBgBounds)(e.bgPrefs),e.bgPrefs.bgUnits,e.cbg.value,"fiveWay");i.push(r.default.createElement("div",{key:"divider",className:A.default.divider,style:{backgroundColor:f.default[d]}})),i.push(r.default.createElement("div",{key:"outOfRange",className:A.default.annotation},a[0].message.value))}return r.default.createElement("div",{className:A.default.container},i)}(),borderColor:f.default[a],tailColor:f.default[a]}))};g.defaultProps={tail:!0,side:"right",tailWidth:8,tailHeight:16,tailColor:f.default.bolus,borderColor:f.default.bolus,borderWidth:2},t.default=g},54192:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(271)),o=a(n(82015)),i=a(n(56427)),s=a(n(56607)),l=a(n(93870)),d=a(n(55506)),u=n(66871),c=a(n(27022)),f=i.default.t.bind(i.default),A=function(e){var t,n,a,i,l,A,p=(0,r.default)({},u.EVENT_PUMP_SHUTDOWN,{title:f("Prior to this time, the pump was shut down"),description:f("Tidepool does not show data from before a pump is shut down. When the pump is turned off, its internal clock stops. This makes it hard to trust the timestamps on any data recorded right before shutdown. We can't verify that the device time was accurate at that point or correct for any clock drift that may have occurred."),image:o.default.createElement("img",{src:c.default,alt:f("Pump Shutdown")})});return o.default.createElement(s.default,Object.assign({},e,{boxShadow:"0px 4px 11px 0px rgba(0, 0, 0, 0.15)",content:(a=p[null===(t=e.event)||void 0===t||null===(n=t.tags)||void 0===n?void 0:n.event]||{},i=a.title,l=a.description,A=a.image,o.default.createElement("div",{className:d.default.wrapper},o.default.createElement("div",{className:d.default.image},A),o.default.createElement("div",{className:d.default.eventTitle},i),o.default.createElement("div",{className:d.default.eventDescription},l)))}))};A.defaultProps={annotations:[],tail:!1,side:"bottom",borderColor:l.default.gray10,borderWidth:1},t.default=A},31768:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getName=t.getCarbs=t.getAbsorptionTime=t.default=void 0;var r=a(n(82015)),o=a(n(74716)),i=a(n(27825)),s=a(n(56427)),l=n(74501),d=n(66871),u=n(11270),c=a(n(56607)),f=a(n(72439)),A=a(n(730)),p=s.default.t.bind(s.default),g=t.getAbsorptionTime=function(e){return i.default.round(1e3*i.default.get(e,"nutrition.estimatedAbsorptionDuration",0)/d.MS_IN_HOUR,1)},m=t.getCarbs=function(e){return i.default.round(i.default.get(e,"nutrition.carbohydrate.net",0),1)},h=t.getName=function(e){return i.default.get(e,"name")},b=function(e){var t=e.title?e.title:r.default.createElement("div",{className:A.default.title},(0,l.formatLocalizedFromUTC)(e.food.normalTime,e.timePrefs,"h:mm a"));return r.default.createElement(c.default,Object.assign({},e,{title:t,content:function(){var t=e.food,n=[r.default.createElement("div",{key:"carb",className:A.default.carb},r.default.createElement("div",{className:A.default.label},p("Carbs")),r.default.createElement("div",{className:A.default.value},"".concat(m(t))),r.default.createElement("div",{className:A.default.units},"g"))];if((0,u.isLoop)(t)){var a,s,d,c=g(t),f=h(t),b=null===(a=t.payload)||void 0===a?void 0:a.userUpdatedDate,y=o.default.utc(null===(s=t.payload)||void 0===s?void 0:s.userCreatedDate).valueOf()!==t.normalTime?null===(d=t.payload)||void 0===d?void 0:d.userCreatedDate:void 0;c>0&&n.unshift(r.default.createElement("div",{key:"absorption",className:A.default.row},r.default.createElement("div",{className:A.default.label},p("Absorption Time (hrs)")),r.default.createElement("div",{className:A.default.value},"".concat(c)),r.default.createElement("div",{className:A.default.units},"hr"))),i.default.isEmpty(f)||n.unshift(r.default.createElement("div",{key:"name",className:A.default.row},r.default.createElement("div",{className:A.default.label},p("Type")),r.default.createElement("div",{className:A.default.value},"".concat(f)))),(b||y)&&(n.push(r.default.createElement("div",{key:"divider",className:A.default.divider})),b?n.push(r.default.createElement("div",{key:"latestUpdatedTime",className:A.default.row},r.default.createElement("div",{className:A.default.label},p("Last Edited")),r.default.createElement("div",{className:A.default.value},(0,l.formatLocalizedFromUTC)(b,e.timePrefs,"h:mm")),r.default.createElement("div",{className:A.default.units},(0,l.formatLocalizedFromUTC)(b,e.timePrefs,"a")))):n.push(r.default.createElement("div",{key:"timeOfEntry",className:A.default.row},r.default.createElement("div",{className:A.default.label},p("Time of Entry")),r.default.createElement("div",{className:A.default.value},(0,l.formatLocalizedFromUTC)(y,e.timePrefs,"h:mm")),r.default.createElement("div",{className:A.default.units},(0,l.formatLocalizedFromUTC)(y,e.timePrefs,"a")))))}return r.default.createElement("div",{className:A.default.container},n)}()}))};b.defaultProps={tail:!0,side:"right",tailWidth:8,tailHeight:16,tailColor:f.default.bolus,borderColor:f.default.bolus,borderWidth:2},t.default=b},63616:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(58156)),i=a(n(56427)),s=n(74501),l=n(99559),d=n(66871),u=n(11270),c=a(n(56607)),f=a(n(72439)),A=a(n(52130)),p=i.default.t.bind(i.default),g=function(e){var t=(0,o.default)(e.override,"overrideType"),n=(0,o.default)(e.override,"normalTime"),a=(0,o.default)(e.override,"normalEnd"),i=e.title?e.title:r.default.createElement("div",{className:A.default.title},[(0,s.formatLocalizedFromUTC)(n,e.timePrefs,"h:mm a"),(0,s.formatLocalizedFromUTC)(a,e.timePrefs,"h:mm a")].join(" - "));return r.default.createElement(c.default,Object.assign({},e,{title:i,content:function(){var t,n=(0,u.getPumpVocabulary)((0,o.default)(e.override,"source")),a=n[d.SETTINGS_OVERRIDE],i=(0,o.default)(n[(0,o.default)(e.override,"overrideType")],"label"),s=(0,o.default)(e.override,"bgTarget",{}),c=s.low,f=s.high,g=c&&f,m=(0,o.default)(e.bgPrefs,"bgUnits"),h=[r.default.createElement("div",{key:"override type",className:A.default.overrideType},r.default.createElement("div",{className:g?A.default.boldLabel:A.default.label},a),r.default.createElement("div",{className:A.default.value},i))];return g&&(t=c===f?"".concat((0,l.formatBgValue)(c,e.bgPrefs)):"".concat((0,l.formatBgValue)(c,e.bgPrefs),"-").concat((0,l.formatBgValue)(f,e.bgPrefs)),h.push(r.default.createElement("div",{className:A.default.target},r.default.createElement("div",{className:A.default.label},p("Correction Range"),m?" (".concat(m,")"):""),r.default.createElement("div",{className:A.default.value},t)))),r.default.createElement("div",{className:A.default.container},h)}(),borderColor:e.borderColor||f.default[t],tailColor:e.tailColor||f.default[t]}))};g.defaultProps={tail:!1,side:"top",offset:{top:-2,left:0},borderWidth:2},t.default=g},78572:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(27825)),i=n(84240),s=n(99559),l=n(74501),d=n(64892),u=a(n(56607)),c=a(n(72439)),f=a(n(88486)),A=function(e){var t=(0,i.classifyBgValue)((0,i.reshapeBgClassesToBgBounds)(e.bgPrefs),e.bgPrefs.bgUnits,e.smbg.value,"fiveWay"),n=e.title?e.title:r.default.createElement("div",{className:f.default.title},(0,l.formatLocalizedFromUTC)(e.smbg.normalTime,e.timePrefs,"h:mm a"));return r.default.createElement(u.default,Object.assign({},e,{title:n,content:function(){var t=e.smbg,n=(0,d.getOutOfRangeAnnotationMessage)(t),a=[r.default.createElement("div",{key:"bg",className:f.default.bg},r.default.createElement("div",{className:f.default.label},"BG"),r.default.createElement("div",{className:f.default.value},"".concat((0,s.formatBgValue)(t.value,e.bgPrefs,(0,i.getOutOfRangeThreshold)(t)))))],l=o.default.isEmpty(t.subType)?"Meter":"".concat(o.default.upperFirst(t.subType));if(a.push(r.default.createElement("div",{key:"source",className:f.default.source},r.default.createElement("div",{className:f.default.label},"Source"),r.default.createElement("div",{className:f.default.value},l))),o.default.each((0,d.getMedtronic600AnnotationMessages)(t),(function(e){a.push(r.default.createElement("div",{key:e.message.label,className:f.default[o.default.camelCase(e.message.label)]},r.default.createElement("div",{className:f.default.label},e.message.label),r.default.createElement("div",{className:f.default.value},e.message.value)))})),!o.default.isEmpty(n)){var u=(0,i.classifyBgValue)((0,i.reshapeBgClassesToBgBounds)(e.bgPrefs),e.bgPrefs.bgUnits,e.smbg.value,"fiveWay");a.push(r.default.createElement("div",{key:"divider",className:f.default.divider,style:{backgroundColor:c.default[u]}})),a.push(r.default.createElement("div",{key:"outOfRange",className:f.default.annotation},n[0].message.value))}return r.default.createElement("div",{className:f.default.container},a)}(),borderColor:c.default[t],tailColor:c.default[t]}))};A.defaultProps={tail:!0,side:"right",tailWidth:8,tailHeight:16,tailColor:c.default.bolus,borderColor:c.default.bolus,borderWidth:2},t.default=A},39583:(e,t,n)=>{"use strict";var a=n(44906).default,r=n(67049).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(82015)),i=a(n(27825)),s=a(n(50628)),l=a(n(29756)),d=a(n(34893)),u=a(n(72202)),c=(n(66871),r(n(31266))),f=n(89540),A=n(4903),p=n(11270),g=a(n(3279)),m=a(n(56427)),h=m.default.t.bind(m.default);t.default=function(e){var t=e.bgUnits,n=e.copySettingsClicked,a=e.deviceKey,r=e.openedSections,m=e.pumpSettings,b=e.timePrefs,y=e.toggleBasalScheduleExpansion,v=e.user,E=a;"carelink"===a&&(E="medtronic");var C,B,T,S,x,w=!(0,p.isLoop)(m);function I(e,t,n,a,r){return o.default.createElement(d.default,{annotations:r,title:n,rows:e,columns:t,tableStyle:a})}return o.default.createElement("div",null,o.default.createElement("div",{className:g.default.header},o.default.createElement(l.default,{deviceDisplayName:(0,f.deviceName)(E),deviceMeta:c.deviceMeta(m,b)}),o.default.createElement(s.default,{buttonTitle:h("For email or notes"),onSuccess:n,getText:A.nonTandemText.bind(void 0,v,m,t,E)})),o.default.createElement("div",{className:g.default.settingsContainer},o.default.createElement("div",{className:g.default.basalSettingsContainer},w&&o.default.createElement("div",{className:g.default.categoryTitle},h("Basal Rates")),i.default.map(c.basalSchedules(m),(function(e){var t,n=c.basal(e,m,a),s=i.default.partial(y,n.scheduleName),l=g.default.singleLineBasalScheduleHeader;if(n.isAutomated){if(l=g.default.automatedSingleLineBasalScheduleHeader,!n.activeAtUpload)return null;n.title.secondary=n.title.secondary.toLowerCase();var d={label:n.title,className:g.default.automatedBasalHeaderBackground};return o.default.createElement("div",{className:g.default.categoryContainer,key:e},I(n.rows,n.columns,d,[l,g.default.settingsTable].join(" ")))}if((0,p.isLoop)(m)){l=g.default.basalScheduleHeader,n.title.secondary=n.title.secondary.toLowerCase();var f={label:{main:h("Basal Rates"),secondary:"U/hr"},className:g.default.singleLineBasalScheduleHeader};return o.default.createElement("div",{className:g.default.categoryContainer,key:e},I(n.rows,n.columns,f,g.default.basalTable))}return n.activeAtUpload&&(l=g.default.twoLineBasalScheduleHeader),o.default.createElement("div",{className:g.default.categoryContainer,key:e},o.default.createElement(u.default,{label:n.title,labelClass:l,opened:(t=n.scheduleName,i.default.get(r,t,!1)),toggleExpansion:s,twoLineLabel:!0},I(n.rows,n.columns,null,g.default.basalTable)))}))),o.default.createElement("div",{className:g.default.bolusSettingsContainer},w&&o.default.createElement("div",{className:g.default.categoryTitle},c.bolusTitle(E)),o.default.createElement("div",{className:g.default.bolusSettingsInnerContainer},(x={label:{main:(S=c.target(m,E,t)).title,secondary:t},className:g.default.bolusSettingsHeader},o.default.createElement("div",{className:g.default.categoryContainer},I(S.rows,S.columns,x,g.default.settingsTable,S.annotations))),function(){var e=c.ratio(m,E),t={label:{main:e.title,secondary:"exchanges"===i.default.get(m,"units.carb")?"U/exch":"g/U"},className:g.default.bolusSettingsHeader};return o.default.createElement("div",{className:g.default.categoryContainer},I(e.rows,e.columns,t,g.default.settingsTable))}(),function(){var e=c.sensitivity(m,E,t),n={label:{main:e.title,secondary:"".concat(t,"/U")},className:g.default.bolusSettingsHeader};return o.default.createElement("div",{className:g.default.categoryContainer},I(e.rows,e.columns,n,g.default.settingsTable))}()))),!i.default.includes(["animas","microtech"],E)&&o.default.createElement("div",{className:g.default.settingsContainerLeftAligned},w&&o.default.createElement("div",{className:g.default.categoryTitle},h("Pump Settings")),o.default.createElement("div",{className:g.default.insulinSettingsInnerContainer},(B=(C=(0,f.insulinSettings)(m,E)).rows,T=C.columns,o.default.createElement("div",{className:g.default.categoryContainer},I(B,T,{label:{main:h("Insulin Settings")},className:g.default.insulinSettingsHeader},g.default.settingsTableInverted))),function(){var e=(0,f.presetSettings)(m,E),t=e.rows,n=e.columns;return t.length?o.default.createElement("div",{className:g.default.categoryContainer},I(t,n,{label:{main:h("Presets")},className:g.default.presetSettingsHeader},g.default.settingsTable)):null}())))}},40456:(e,t,n)=>{"use strict";var a=n(44906).default,r=n(67049).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(82015)),i=a(n(27825)),s=a(n(54602)),l=a(n(50628)),d=a(n(29756)),u=a(n(34893)),c=a(n(72202)),f=(n(66871),n(89540)),A=r(n(72255)),p=n(4903),g=n(11270),m=n(49842),h=a(n(56427)),b=h.default.t.bind(h.default),y=function(e){var t=e.bgUnits,n=e.copySettingsClicked,a=e.openedSections,r=e.pumpSettings,h=e.timePrefs,y=e.toggleProfileExpansion,v=e.user,E=e.deviceDisplayName,C=i.default.map(A.basalSchedules(r),(function(e){var n,l=A.basal(e,r,t,s.default),d=(0,f.insulinSettings)(r,"tandem",e.name),p=d.rows,h=d.columns;return o.default.createElement("div",{className:"settings-table-container",key:l.scheduleName},o.default.createElement(c.default,{label:l.title,labelClass:s.default.collapsibleLabel,opened:(n=l.scheduleName,i.default.get(a,n,!1)),toggleExpansion:i.default.partial(y,l.scheduleName),twoLineLabel:!1},o.default.createElement(u.default,{rows:l.rows,columns:l.columns,tableStyle:s.default.profileTable}),o.default.createElement("div",{className:s.default.categoryTitle},b("Pump Settings")),o.default.createElement(u.default,{rows:p,title:{label:{main:"Insulin Settings"},className:s.default.insulinSettingsHeader},columns:h,tableStyle:s.default.settingsTableInverted}),(0,g.isControlIQ)(r)&&o.default.createElement("div",{className:s.default.annotations},o.default.createElement(m.Trans,{i18nKey:"tandem.annotations"},"* - The numbers displayed here are the user-defined values. During automation, Tandem's Control-IQ Technology uses its own preset Insulin Duration and Target BG. However, users can set different values for these parameters that ",o.default.createElement("strong",null,"only")," apply in manual mode."))))}));return o.default.createElement("div",null,o.default.createElement("div",{className:s.default.header},o.default.createElement(d.default,{deviceDisplayName:E,deviceMeta:A.deviceMeta(r,h)}),o.default.createElement(l.default,{buttonTitle:b("For email or notes"),onSuccess:n,getText:p.tandemText.bind(void 0,v,r,t)})),o.default.createElement("div",null,o.default.createElement("span",{className:s.default.title},b("Profile Settings")),C))};y.defaultProps={deviceDisplayName:(0,f.deviceName)("tandem"),deviceKey:"tandem"},t.default=y},72202:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(27825)),o=a(n(82015)),i=n(14549),s=a(n(32600)),l=a(n(13130)),d=a(n(28868)),u=function(e){var t=e.label,n=e.labelClass,a=e.opened,u=e.toggleExpansion,c=o.default.createElement(s.default,{className:n,isOpened:a,label:t,onClick:u}),f=e.twoLineLabel,A=e.label.secondary;return f&&!r.default.isEmpty(A)&&(c=o.default.createElement(l.default,{className:n,isOpened:a,label:t,onClick:u})),o.default.createElement("div",null,c,o.default.createElement(i.Collapse,{className:d.default.collapsibleContainer,isOpened:a,theme:{collapse:"containerCollapse"}},o.default.createElement("div",null,e.children)))};u.defaultProps={twoLineLabel:!0},t.default=u},29756:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(54013)),l=r(n(53671)),d=a(n(82015)),u=r(n(62102)),c=r(n(56427)),f=c.default.t.bind(c.default),A=function(e){(0,s.default)(n,e);var t=(0,l.default)(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,i.default)(n,[{key:"render",value:function(){return d.default.createElement("div",null,d.default.createElement("ul",{className:"".concat(u.default.header," ").concat(u.default.headerExpanded)},d.default.createElement("li",{className:u.default.headerOuter},d.default.createElement("span",{className:u.default.headerInner},f("Active at Upload on")," ",this.props.deviceMeta.uploaded))))}}]),n}(d.PureComponent);t.default=A},39695:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PumpSettingsContainer=void 0,t.mapStateToProps=g;var o=r(n(46721)),i=r(n(4841)),s=r(n(54013)),l=r(n(53671)),d=r(n(27825)),u=a(n(82015)),c=n(22544),f=(n(66871),r(n(39583))),A=r(n(40456)),p=t.PumpSettingsContainer=function(e){(0,s.default)(n,e);var t=(0,l.default)(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,i.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){var e=this.props,t=e.manufacturerKey,n=e.pumpSettings,a=n.activeSchedule,r=n.lastManualBasalSchedule,o=e.toggleSettingsSection;e.settingsState.touched||o(t,r||a)}},{key:"render",value:function(){var e=this.props,t=e.settingsState,n=e.user;if(d.default.isEmpty(t))return null;var a=this.props,r=a.bgUnits,o=a.copySettingsClicked,i=a.manufacturerKey,s=a.pumpSettings,l=a.timePrefs,c=a.toggleSettingsSection,p=d.default.partial(c,i);return"tandem"===i?u.default.createElement(A.default,{bgUnits:r,copySettingsClicked:o,deviceKey:i,openedSections:t[i],pumpSettings:s,timePrefs:l,toggleProfileExpansion:p,user:n}):d.default.includes(["animas","carelink","insulet","medtronic","microtech","diy loop","tidepool loop","twiist"],i)?u.default.createElement(f.default,{bgUnits:r,copySettingsClicked:o,deviceKey:i,openedSections:t[i],pumpSettings:s,timePrefs:l,toggleBasalScheduleExpansion:p,user:n}):(console.warn("Unknown manufacturer key: [".concat(i,"]!")),null)}}]),n}(u.PureComponent);function g(e,t){var n=d.default.get(t,"currentPatientInViewId");return{user:d.default.get(e.blip.allUsersMap,n,{})}}t.default=(0,c.connect)(g)(p)},32600:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(271)),o=a(n(27825)),i=a(n(3892)),s=a(n(82015)),l=a(n(52743)),d=a(n(92250));t.default=function(e){var t,n=e.className,a=e.isOpened,u=e.label,c=u.main,f=u.secondary,A=u.units,p=e.onClick,g=(0,i.default)((t={label:!0},(0,r.default)(t,d.default.collapsibleLabel,!Boolean(n)),(0,r.default)(t,d.default.labelContainer,!0),(0,r.default)(t,n,Boolean(n)),(0,r.default)(t,l.default.opened,a),t));return s.default.createElement("div",{className:g,onClick:p},s.default.createElement("div",null,s.default.createElement("span",{className:d.default.mainText},c),o.default.isEmpty(f)?null:s.default.createElement("span",{className:d.default.secondaryText},f),o.default.isEmpty(A)?null:s.default.createElement("span",{className:d.default.secondaryText},A)))}},34893:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(24664)),i=r(n(46721)),s=r(n(4841)),l=r(n(54013)),d=r(n(53671)),u=a(n(82015)),c=r(n(27825)),f=r(n(39681)),A=r(n(25159)),p=r(n(51357)),g=function(e){(0,l.default)(n,e);var t=(0,d.default)(n);function n(e){var a;return(0,i.default)(this,n),(a=t.call(this,e)).renderTooltip=function(){var e,t=c.default.isFinite(a.state.activeRow)?null===(e=a.props.rows[a.state.activeRow])||void 0===e?void 0:e.annotations:a.props.annotations;return u.default.createElement("div",{className:p.default.TableTooltipWrapper},u.default.createElement(f.default,{annotations:t,offset:a.state.messageTooltipOffset,position:a.state.messageTooltipPosition,showDividers:a.props.showTooltipDividers,side:a.state.messageTooltipSide}))},a.handleTooltipIconMouseOver=function(e,t){var n=(c.default.isFinite(t)?a[e][t]:a[e]).getBoundingClientRect(),r=n.top,o=n.left,i=n.width,s=n.height,l=a.table.getBoundingClientRect(),d=l.top,u=l.left,f={top:r-d+s/2-l.height,left:o-u+i/2},A={horizontal:i/2,top:0},p=c.default.get(document,"body.clientWidth",0)-o<225?"left":"right";a.setState({activeRow:t,showTooltip:!0,messageTooltipPosition:f,messageTooltipOffset:A,messageTooltipSide:p})},a.handleTooltipIconMouseOut=function(){a.setState({showTooltip:!1,activeRow:null})},a.state={},a.setTableRef=function(e){a.table=e},a.setTooltipIconRef=function(e){a.tooltipIcon=e},a.setRowTooltipIconRefs={},a.rowTooltipIcons={},c.default.each(e.rows,(function(e,t){var n;null!==(n=e.annotations)&&void 0!==n&&n.length&&(a.setRowTooltipIconRefs[t]=function(e){a.rowTooltipIcons[t]=e})})),a}return(0,s.default)(n,[{key:"getItemField",value:function(e,t){return e[t]}},{key:"normalizeColumns",value:function(){var e=this.getItemField,t=this.props.columns;return c.default.map(t,(function(t){return{cell:e,className:t.className,key:t.key,label:t.label}}))}},{key:"renderHeader",value:function(e){var t=c.default.map(e,(function(e,t){var n=e.label;return"object"===(0,o.default)(n)&&c.default.isEqual(c.default.keys(n),["main","secondary"])?u.default.createElement("th",{key:t,className:e.className},n.main,u.default.createElement("span",{className:p.default.secondaryLabelWithMain},n.secondary)):u.default.createElement("th",{key:t,className:p.default.secondaryLabelAlone},n)}));return u.default.createElement("thead",{key:"thead_".concat(t.length)},u.default.createElement("tr",null,t))}},{key:"renderAnnotation",value:function(e){return u.default.createElement(f.default,{annotations:[e]})}},{key:"renderRow",value:function(e,t,n){var a=this,r=c.default.map(e,(function(e,r){var o;return u.default.createElement("td",{key:e.key},e.cell(n,e.key),0===r&&(null===(o=n.annotations)||void 0===o?void 0:o.length)&&u.default.createElement("span",{className:p.default.rowTooltipIcon},u.default.createElement("img",{src:A.default,alt:"Hover for more info",ref:a.setRowTooltipIconRefs[t],onMouseOver:a.handleTooltipIconMouseOver.bind(a,"rowTooltipIcons",t),onMouseOut:a.handleTooltipIconMouseOut})))}));return u.default.createElement("tr",{key:t},r)}},{key:"renderRows",value:function(e){var t=this,n=c.default.map(this.props.rows,(function(n,a){return t.renderRow(e,a,n)}));return u.default.createElement("tbody",{key:"tbody_".concat(n.length)},n)}},{key:"render",value:function(){var e=this.normalizeColumns(),t=c.default.some(e,"label"),n=[this.renderRows(e)];if(t&&n.unshift(this.renderHeader(e)),!c.default.isEmpty(this.props.title)){var a=this.props.title,r=a.className,o=a.label,i=o.main,s=o.secondary,l=u.default.createElement("caption",{key:i,className:r},i,u.default.createElement("span",{className:p.default.secondaryLabelWithMain},s),this.props.annotations&&u.default.createElement("span",{className:p.default.tooltipIcon},u.default.createElement("img",{src:A.default,alt:"Hover for more info",ref:this.setTooltipIconRef,onMouseOver:this.handleTooltipIconMouseOver.bind(this,"tooltipIcon"),onMouseOut:this.handleTooltipIconMouseOut})));n.unshift(l)}return u.default.createElement(u.default.Fragment,null,u.default.createElement("table",{ref:this.setTableRef,className:this.props.tableStyle},n),this.state.showTooltip&&this.renderTooltip())}}]),n}(u.PureComponent);g.defaultProps={showTooltipDividers:!1},t.default=g},13130:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(271)),o=a(n(3892)),i=a(n(82015)),s=a(n(52743)),l=a(n(67364));t.default=function(e){var t,n,a=e.className,d=e.isOpened,u=e.label,c=u.main,f=u.secondary,A=u.units,p=e.onClick,g=(0,o.default)((t={label:!0},(0,r.default)(t,l.default.collapsibleLabel,!Boolean(a)),(0,r.default)(t,l.default.labelContainer,!0),(0,r.default)(t,a,Boolean(a)),t)),m=(0,o.default)((n={},(0,r.default)(n,l.default.norgieLabelContainer,!0),(0,r.default)(n,s.default.opened,d),n));return i.default.createElement("div",{className:g,onClick:p},i.default.createElement("div",{className:l.default.secondaryLabel},f),i.default.createElement("div",{className:m},i.default.createElement("div",null,c,i.default.createElement("span",{className:l.default.secondaryText},A))))}},87645:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CBGDateTraceAnimated=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(83581)),l=r(n(54013)),d=r(n(53671)),u=r(n(27825)),c=n(80255),f=a(n(82015)),A=n(84240),p=r(n(22285)),g=t.CBGDateTraceAnimated=function(e){(0,l.default)(n,e);var t=(0,d.default)(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).handleClick=a.handleClick.bind((0,s.default)(a)),a.handleMouseOut=a.handleMouseOut.bind((0,s.default)(a)),a}return(0,i.default)(n,[{key:"componentWillEnter",value:function(e){var t=this,n=this.props,a=n.animationDuration,r=n.data,o=u.default.map(r,(function(e){return t[e.id]}));c.TweenMax.staggerTo(o,a,{opacity:1,onComplete:e},a/o.length)}},{key:"componentWillLeave",value:function(e){var t=this,n=this.props,a=n.animationDuration,r=n.data,o=u.default.map(r,(function(e){return t[e.id]}));c.TweenMax.staggerTo(o,a,{opacity:0,onComplete:e},a/o.length)}},{key:"handleClick",value:function(){var e=this.props,t=e.date;(0,e.onSelectDate)(t)}},{key:"handleMouseOut",value:function(){(0,this.props.unfocusDateTrace)()}},{key:"render",value:function(){var e=this,t=this.props,n=t.bgBounds,a=t.bgUnits,r=t.cbgRadius,o=t.data,i=t.date,s=t.topMargin,l=t.xScale,d=t.yScale;return f.default.createElement("g",{id:"cbgDateTrace-".concat(i)},u.default.map(o,(function(t){return f.default.createElement("circle",{className:p.default[(0,A.classifyBgValue)(n,a,t.value,"fiveWay")],cx:l(t.msPer24),cy:d(t.value),id:"cbgCircle-".concat(t.id),key:t.id,onClick:e.handleClick,onMouseOver:function(){e.props.focusDateTrace(t,{left:l(t.msPer24),yPositions:{top:d(t.value),topMargin:s}})},onMouseOut:e.handleMouseOut,opacity:0,r,ref:function(n){e[t.id]=n}})})))}}]),n}(f.PureComponent);g.defaultProps={animationDuration:.2,cbgRadius:2.5},t.default=g},45108:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(56607)),i=n(51427),s=a(n(90030));t.default=function(e){if(!e.focusedDateTrace)return null;var t=e.focusedDateTrace,n=t.data.localDate,a=t.position,l=(0,i.utcFormat)("%A, %B %-d")(Date.parse(n));return r.default.createElement("div",{className:s.default.container},r.default.createElement(o.default,{title:r.default.createElement("span",{className:s.default.dateLabel},l),borderWidth:0,position:{left:a.left,top:2.25*a.yPositions.topMargin},side:"bottom",tail:!1}))}},14978:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(27825)),o=a(n(82015)),i=a(n(76954)),s=a(n(87645));t.default=function(e){var t=e.bgBounds,n=e.bgUnits,a=e.data,l=e.dates,d=e.topMargin,u=e.xScale,c=e.yScale;return o.default.createElement(i.default,{component:"g",id:"cbgDateTraces",transitionMode:"simultaneous"},r.default.map(l,(function(r){return o.default.createElement(s.default,{bgBounds:t,bgUnits:n,data:a[r],date:r,focusDateTrace:e.focusCbgDateTrace,unfocusDateTrace:e.unfocusCbgDateTrace,key:r,onSelectDate:e.onSelectDate,topMargin:d,xScale:u,yScale:c})})))}},23746:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CBGMedianAnimated=void 0;var o=r(n(271)),i=r(n(46721)),s=r(n(4841)),l=r(n(83581)),d=r(n(54013)),u=r(n(53671)),c=r(n(27825)),f=r(n(3892)),A=a(n(82015)),p=n(94568),g=n(84240),m=n(66871),h=r(n(98823)),b=r(n(20444)),y=t.CBGMedianAnimated=function(e){(0,d.default)(n,e);var t=(0,u.default)(n);function n(e){var a;return(0,i.default)(this,n),(a=t.call(this,e)).willEnter=a.willEnter.bind((0,l.default)(a)),a.willLeave=a.willLeave.bind((0,l.default)(a)),a}return(0,s.default)(n,[{key:"willEnter",value:function(){return{height:0,median:this.props.defaultY,opacity:0}}},{key:"willLeave",value:function(){var e=this.props.defaultY,t=(0,p.spring)(0,m.springConfig);return{height:t,median:(0,p.spring)(e,m.springConfig),opacity:t}}},{key:"render",value:function(){var e,t,n=this.props,a=n.bgBounds,r=n.bgUnits,i=n.datum,s=n.defaultY,l=n.displayingMedian,d=n.showingCbgDateTraces,u=n.sliceWidth,h=n.xScale,y=n.yScale,v=i.median?(0,f.default)((e={},(0,o.default)(e,b.default.median,!0),(0,o.default)(e,b.default["".concat((0,g.classifyBgValue)(a,r,i.median,"fiveWay"),"FadeIn")],!d),(0,o.default)(e,b.default["".concat((0,g.classifyBgValue)(a,r,i.median,"fiveWay"),"FadeOut")],d),e)):(0,f.default)((t={},(0,o.default)(t,b.default.median,!0),(0,o.default)(t,b.default.transparent,!0),t)),E=u/8,C=u-E,B=.75*C,T=h(i.msX)-C/2+E/2,S=C-E,x=l&&void 0!==c.default.get(i,"median");return A.default.createElement(p.TransitionMotion,{defaultStyles:x?[{key:"median",style:{height:0,median:s,opacity:0}}]:[],styles:x?[{key:"median",style:{height:(0,p.spring)(B,m.springConfig),median:(0,p.spring)(y(i.median)-B/2,m.springConfig),opacity:(0,p.spring)(1,m.springConfig)}}]:[],willEnter:this.willEnter,willLeave:this.willLeave},(function(e){if(0===e.length)return null;var t=e[0],n=t.key,a=t.style;return A.default.createElement("rect",{className:v,id:"cbgMedian-".concat(n),width:S,height:a.height,x:T,y:a.median,opacity:a.opacity})}))}}]),n}(A.PureComponent);y.defaultProps={sliceWidth:16},t.default=(0,h.default)(y)},78198:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CBGSliceAnimated=void 0;var o=r(n(271)),i=r(n(46721)),s=r(n(4841)),l=r(n(83581)),d=r(n(54013)),u=r(n(53671)),c=r(n(27825)),f=r(n(3892)),A=a(n(82015)),p=n(94568),g=n(66871),m=r(n(98823)),h=r(n(11118)),b=r(n(53064)),y=t.CBGSliceAnimated=function(e){(0,d.default)(n,e);var t=(0,u.default)(n);function n(e){var a;return(0,i.default)(this,n),(a=t.call(this,e)).willEnter=a.willEnter.bind((0,l.default)(a)),a.willLeave=a.willLeave.bind((0,l.default)(a)),a}return(0,s.default)(n,[{key:"willEnter",value:function(e){var t=e.style,n=this.props.defaultY;return c.default.mapValues(t,(function(e,t){return"opacity"===t||-1!==t.search("Height")?0:n}))}},{key:"willLeave",value:function(e){var t=e.style,n=this.props.defaultY,a=(0,p.spring)(0,g.springConfig);return c.default.mapValues(t,(function(e,t){return"opacity"===t||-1!==t.search("Height")?a:(0,p.spring)(n,g.springConfig)}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.datum,a=t.defaultY,r=t.displayFlags,i=t.sliceWidth,s=t.showingCbgDateTraces,l=t.tooltipLeftThreshold,d=t.topMargin,u=t.xScale,m=t.yScale,y={top10:{classKey:"rangeSegment",displayFlag:"cbg100Enabled",height:"top10Height",heightKeys:["upperQuantile","max"],key:"top10",y:"max"},bottom10:{classKey:"rangeSegment",displayFlag:"cbg100Enabled",height:"bottom10Height",heightKeys:["min","lowerQuantile"],key:"bottom10",y:"lowerQuantile"},upper15:{classKey:"outerSegment",displayFlag:"cbg80Enabled",height:"upper15Height",heightKeys:["thirdQuartile","upperQuantile"],key:"upper15",y:"upperQuantile"},lower15:{classKey:"outerSegment",displayFlag:"cbg80Enabled",height:"lower15Height",heightKeys:["lowerQuantile","firstQuartile"],key:"lower15",y:"firstQuartile"},innerQuartiles:{classKey:"innerQuartilesSegment",displayFlag:"cbg50Enabled",height:"innerQuartilesHeight",heightKeys:["firstQuartile","thirdQuartile"],key:"innerQuartiles",y:"thirdQuartile"}},v=c.default.filter(y,(function(e){return r[e.displayFlag]})),E={firstQuartile:m(n.firstQuartile),max:m(n.max),median:m(n.median),min:m(n.min),upperQuantile:m(n.upperQuantile),lowerQuantile:m(n.lowerQuantile),thirdQuartile:m(n.thirdQuartile),topMargin:d},C=i/8,B=u(n.msX)-i/2+C/2,T=i-C;return A.default.createElement(p.TransitionMotion,{defaultStyles:void 0!==c.default.get(n,"min")?c.default.map(v,(function(e){var t;return{key:e.key,style:(t={},(0,o.default)(t,e.y,a),(0,o.default)(t,e.height,0),(0,o.default)(t,"opacity",0),t)}})):[],styles:void 0!==c.default.get(n,"min")?c.default.map(v,(function(e){var t;return{key:e.key,style:(t={},(0,o.default)(t,e.y,(0,p.spring)(m(n[e.y]),g.springConfig)),(0,o.default)(t,e.height,(0,p.spring)(m(n[e.heightKeys[0]])-m(n[e.heightKeys[1]]),g.springConfig)),(0,o.default)(t,"opacity",(0,p.spring)(1,g.springConfig)),t)}})):[],willEnter:this.willEnter,willLeave:this.willLeave},(function(t){return 0===t.length?null:A.default.createElement("g",{id:"cbgSlice-".concat(n.id)},c.default.map(t,(function(t){var a,r=y[t.key],i=(0,f.default)((a={},(0,o.default)(a,b.default.segment,!0),(0,o.default)(a,b.default[r.classKey],!s),(0,o.default)(a,b.default["".concat(r.classKey,"Faded")],s),a));return A.default.createElement(h.default,{classes:i,datum:n,focusSlice:e.props.focusCbgSlice,unfocusSlice:e.props.unfocusCbgSlice,interpolated:t,key:t.key,positionData:{left:u(n.msX),tooltipLeft:n.msX>l,yPositions:E},segment:r,width:T,x:B})})))}))}}]),n}(A.PureComponent);y.defaultProps={sliceWidth:16},t.default=(0,m.default)(y)},11118:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CBGSliceSegment=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(83581)),l=r(n(54013)),d=r(n(53671)),u=a(n(82015)),c=t.CBGSliceSegment=function(e){(0,l.default)(n,e);var t=(0,d.default)(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).handleMouseOut=a.handleMouseOut.bind((0,s.default)(a)),a.handleMouseOver=a.handleMouseOver.bind((0,s.default)(a)),a}return(0,i.default)(n,[{key:"handleMouseOut",value:function(e){e.relatedTarget&&-1!==e.relatedTarget.id.search("cbgCircle")||this.props.unfocusSlice()}},{key:"handleMouseOver",value:function(){var e=this.props,t=e.datum;(0,e.focusSlice)(t,e.positionData,e.segment.heightKeys)}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.datum,a=e.interpolated,r=a.key,o=a.style,i=e.segment,s=e.width,l=e.x;return u.default.createElement("rect",{className:t,key:r,id:"cbgSlice-".concat(n.id,"-").concat(r),width:s,height:o[i.height],x:l,y:o[i.y],opacity:o.opacity,onMouseOver:this.handleMouseOver,onMouseOut:this.handleMouseOut})}}]),n}(u.PureComponent);t.default=c},84423:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(54013)),l=r(n(53671)),d=r(n(27825)),u=a(n(82015)),c=n(74501),f=n(84240),A=r(n(23746)),p=r(n(78198));(t.default=function(e){(0,s.default)(n,e);var t=(0,l.default)(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).state={mungedData:[]},a}return(0,i.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){var e=this.props,t=e.binSize,n=e.data;this.setState({mungedData:(0,f.mungeBGDataBins)("cbg",t,n)})}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.binSize,n=e.data;t===this.props.binSize&&n===this.props.data||this.setState({mungedData:(0,f.mungeBGDataBins)("cbg",t,n)})}},{key:"render",value:function(){var e=this,t=this.state.mungedData,n=this.props,a=n.xScale,r=n.yScale,o=n.sliceWidth;return u.default.createElement("g",{id:"cbgSlices"},d.default.map(t,(function(t){return u.default.createElement("g",{id:"cbgBin-".concat(t.id),key:t.id},u.default.createElement(p.default,{bgBounds:e.props.bgBounds,datum:t,displayFlags:e.props.displayFlags,focusCbgSlice:e.props.focusCbgSlice,unfocusCbgSlice:e.props.unfocusCbgSlice,showingCbgDateTraces:e.props.showingCbgDateTraces,tooltipLeftThreshold:e.props.tooltipLeftThreshold,topMargin:e.props.topMargin,xScale:a,yScale:r,sliceWidth:o}),u.default.createElement(A.default,{bgBounds:e.props.bgBounds,bgUnits:e.props.bgUnits,datum:t,displayingMedian:e.props.displayFlags.cbgMedianEnabled,showingCbgDateTraces:e.props.showingCbgDateTraces,xScale:a,yScale:r,sliceWidth:o}))})))}}]),n}(u.PureComponent)).defaultProps={binSize:c.THIRTY_MINS,sliceWidth:16}},22869:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(4069)),i=function(e){if(!e.focusedSlice||!e.focusedSliceKeys)return null;var t=e.focusedSlice.position,n=e.focusedSliceKeys,a=e.sliceWidth;return r.default.createElement("rect",{className:o.default.segment,x:t.left-a/2+o.default.stroke/2,y:t.yPositions[n[1]],width:a-o.default.stroke,height:t.yPositions[n[0]]-t.yPositions[n[1]]})};i.defaultProps={sliceWidth:16},t.default=i},94618:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RangeSelect=void 0;var r=a(n(82015)),o=a(n(7136)),i=a(n(66708)),s=a(n(56427)),l=void 0,d=s.default.t.bind(s.default),u=t.RangeSelect=function(e){return r.default.createElement("div",{className:i.default.container},r.default.createElement(o.default,{checked:e.displayFlags.cbg100Enabled,name:"hundred",label:d("100% of Readings"),onFn:e.updateCbgRange.bind(l,"cbg100Enabled",!0),offFn:e.updateCbgRange.bind(l,"cbg100Enabled",!1)}),r.default.createElement(o.default,{checked:e.displayFlags.cbg80Enabled,name:"eighty",label:d("80% of Readings"),onFn:e.updateCbgRange.bind(l,"cbg80Enabled",!0),offFn:e.updateCbgRange.bind(l,"cbg80Enabled",!1)}),r.default.createElement(o.default,{checked:e.displayFlags.cbg50Enabled,name:"fifty",label:d("50% of Readings"),onFn:e.updateCbgRange.bind(l,"cbg50Enabled",!0),offFn:e.updateCbgRange.bind(l,"cbg50Enabled",!1)}),r.default.createElement(o.default,{checked:e.displayFlags.cbgMedianEnabled,name:"median",label:d("Median"),onFn:e.updateCbgRange.bind(l,"cbgMedianEnabled",!0),offFn:e.updateCbgRange.bind(l,"cbgMedianEnabled",!1)}))};t.default=u},26432:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27825)),i=n(17897),s=r(n(82015)),l=a(n(74501)),d=r(n(1634)),u=function(e){var t=e.data,n=e.margins,a=e.svgDimensions,r=e.xScale,i=a.width-n.left-n.right,l=a.height-n.top-n.bottom,u=e.linesAtThreeHrs?o.default.map(t,(function(e,t){return s.default.createElement("line",{className:d.default.threeHrLine,key:"threeHrLine-".concat(t),x1:r(e),x2:r(e),y1:n.top,y2:a.height-n.bottom})})):null;return s.default.createElement("g",{id:"background"},s.default.createElement("rect",{className:d.default.background,x:n.left,y:n.top,width:i,height:l}),u)};u.defaultProps={data:o.default.map((0,i.range)(1,8),(function(e){return e*l.THREE_HRS})),linesAtThreeHrs:!1},t.default=u},13309:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(56607)),i=(n(66871),n(99559)),s=n(74501),l=a(n(86797)),d=function(e){var t=e.focusedKeys,n=e.focusedRange,a=e.focusedSlice;if(!(n||t&&a))return null;if(t&&1===t.length)return null;var d=e.bgPrefs,u="cbg"===e.dataType,c=e[u?"focusedSlice":"focusedRange"],f=c.data,A=c.position,p=(0,s.formatClocktimeFromMsPer24)(f.msFrom),g=(0,s.formatClocktimeFromMsPer24)(f.msTo),m=u?t[1]:"max",h=u?"median":"mean",b=u?t[0]:"min",y={top:A.yPositions[m],left:A.left},v={top:A.yPositions[b],left:A.left},E={top:A.yPositions[h],left:A.left},C=A.tooltipLeft?"left":"right";return r.default.createElement("div",{className:l.default.container},u?r.default.createElement(o.default,{title:r.default.createElement("span",{className:l.default.timeLabel},p," - ",g),borderWidth:0,position:{left:A.left,top:A.yPositions.topMargin},side:"bottom",tail:!1}):null,r.default.createElement(o.default,{content:r.default.createElement("span",{className:l.default.number},(0,i.formatBgValue)(f[m],d,f.outOfRangeThresholds)),backgroundColor:"transparent",borderColor:"transparent",offset:{left:0,top:u?e.numberOffsets.top:0},position:y,side:"top",tail:!1}),u?null:r.default.createElement(o.default,{title:r.default.createElement("span",{className:l.default.explainerText},p," - ",g),content:r.default.createElement("span",{className:l.default.number},"Average ".concat((0,i.formatBgValue)(f[h],d,f.outOfRangeThresholds))),offset:{top:0,horizontal:e.numberOffsets.horizontal},position:E,side:C}),r.default.createElement(o.default,{content:r.default.createElement("span",{className:l.default.number},(0,i.formatBgValue)(f[b],d,f.outOfRangeThresholds)),backgroundColor:"transparent",borderColor:"transparent",offset:{left:0,top:u?e.numberOffsets.bottom:0},position:v,side:"bottom",tail:!1}))};d.defaultProps={numberOffsets:{bottom:-5,horizontal:10,top:5}},t.default=d},15411:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(27825)),i=a(n(51531)),s=a(n(56427)),l=s.default.t.bind(s.default);void 0===o.default.get(s.default,"options.returnEmptyString")&&s.default.init({returnEmptyString:!1,nsSeparator:"|"});var d=function(e){var t=e.dataType,n=e.displayTypes,a=e.position,o=void 0===a?{}:a,s=e.unselectedAllData,d=e.unselectedAllDataString;if(!o.x||!o.y)return null;var u="";return t&&(u=n[t]),r.default.createElement("text",{className:i.default.noDataMsg,id:"noDataMsg",x:o.x,y:o.y},function(e){return s?d:l("There is no {{displayType}} data for this time period :(",{displayType:e})}(u))};d.defaultProps={displayTypes:{cbg:"CGM",smbg:"fingerstick"},unselectedAllDataString:l("Hang on there, skippy! You unselected all of the data!")},t.default=d},40957:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(16845)),i=function(e){var t=e.bgBounds,n=e.smbgOpts,a=e.xScale,i=e.yScale,s=a.range()[0]-n.maxR,l=a.range()[1]+n.maxR;return r.default.createElement("g",{id:"targetRange"},r.default.createElement("line",{id:"highThreshold",className:o.default.targetRangeLine,x1:s,x2:l,y1:i(t.targetUpperBound),y2:i(t.targetUpperBound)}),r.default.createElement("line",{id:"lowThreshold",className:o.default.targetRangeLine,x1:s,x2:l,y1:i(t.targetLowerBound),y2:i(t.targetLowerBound)}))};i.displayName="TargetRangeLines",t.default=i},69717:(e,t,n)=>{"use strict";var a=n(44906).default,r=n(67049).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TrendsContainer=void 0,t.getAllDatesInRange=B,t.getLocalizedNoonBeforeUTC=T,t.getLocalizedOffset=S;var o,i=a(n(271)),s=a(n(46721)),l=a(n(4841)),d=a(n(83581)),u=a(n(54013)),c=a(n(53671)),f=a(n(27825)),A=a(n(66581)),p=n(17897),g=n(81386),m=a(n(55812)),h=r(n(82015)),b=a(n(49449)),y=n(66871),v=r(n(74501)),E=n(84240),C=y.trends.extentSizes;function B(e,t,n){for(var a=v.getTimezoneFromTimePrefs(n),r=[],o=m.default.utc(e).tz(a),i=m.default.utc(t);o.isBefore(i);)r.push(o.format("YYYY-MM-DD")),o.add(1,"day");return r}function T(e,t){if(e instanceof Date)throw new Error("`utc` must be a ISO-formatted String timestamp or integer hammertime!");var n=v.getTimezoneFromTimePrefs(t),a=v.getLocalizedCeiling(e,t);return m.default.utc(a.valueOf()).tz(n).subtract(1,"day").hours(12).toDate()}function S(e,t,n){if(e instanceof Date)throw new Error("`utc` must be a ISO-formatted String timestamp or integer hammertime!");var a=v.getTimezoneFromTimePrefs(n);return m.default.utc(e).tz(a).add(t.amount,t.units).toDate()}C.ONE_WEEK,C.TWO_WEEKS,C.FOUR_WEEKS;var x=t.TrendsContainer=function(e){(0,u.default)(n,e);var t=(0,c.default)(n);function n(e){var a;return(0,s.default)(this,n),(a=t.call(this,e)).log=(0,A.default)("TrendsContainer"),a.state={currentCbgData:[],currentSmbgData:[],dateDomain:null,mostRecent:null,previousDateDomain:null,xScale:null,yScale:null},a.selectDate=a.selectDate.bind((0,d.default)(a)),a}return(0,l.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){this.mountData()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props.loading&&!e.loading,n=this.props.queryDataCount!==e.queryDataCount;(t||n)&&this.mountData(e)}},{key:"mountData",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=f.default.sortBy(f.default.cloneDeep(f.default.get(e,"data.data.combined",[])),"normalTime"),n=(0,p.extent)(t,(function(e){return e.value})),a=f.default.filter(t,{type:"cbg"}),r=f.default.filter(t,{type:"smbg"}),o=e.bgPrefs,i=o.bgBounds,s=o.bgUnits,l=e.yScaleClampTop,d=e.mostRecentDatetimeLocation,u=l[s],c=[n[0],u],A=f.default.isNil(i.veryLowThreshold)?i.targetLowerBound:i.veryLowThreshold;(!n[0]||n[0]>A)&&(c[0]=A);var h=(0,g.scaleLinear)().domain(c).clamp(!0),b=e.extentSize,y=e.initialDatetimeLocation,E=e.timePrefs,C=v.getTimezoneFromTimePrefs(E),B=y||d,T=[(0,m.default)(B).tz(C).subtract(b,"days").toISOString(),B],S={bgDomain:{lo:n[0],hi:n[1]},currentCbgData:a,currentSmbgData:r,dateDomain:{start:T[0],end:T[1]},mostRecent:d,xScale:(0,g.scaleLinear)().domain([0,864e5]),yScale:h};this.setState(S,this.determineDataToShow),e.onDatetimeLocationChange(T)}},{key:"getCurrentDay",value:function(){return T(this.state.dateDomain.end,this.props.timePrefs).toISOString()}},{key:"setExtent",value:function(e){this.props.onDatetimeLocationChange(e)}},{key:"selectDate",value:function(){var e=this,t=this.props.timePrefs;return function(n){var a=m.default.tz(n,v.getTimezoneFromTimePrefs(t)).startOf("day").add(12,"hours").toISOString();e.props.onSelectDate(a)}}},{key:"goBack",value:function(){var e=this.state.dateDomain.start,t=[S(e,{amount:-this.props.extentSize,units:"days"},this.props.timePrefs).toISOString(),e];this.setExtent(t)}},{key:"goForward",value:function(){var e=this.state.dateDomain.end,t=[e,S(e,{amount:this.props.extentSize,units:"days"},this.props.timePrefs).toISOString()];this.setExtent(t)}},{key:"goToMostRecent",value:function(){var e=this.state.mostRecent,t=[S(e,{amount:-this.props.extentSize,units:"days"},this.props.timePrefs).toISOString(),e];this.setExtent(t)}},{key:"determineDataToShow",value:function(){if(!this.props.touched){var e=this.state,t=e.currentCbgData,n=e.currentSmbgData,a=this.props,r=a.extentSize,o=a.showingCbg,i=r*y.CGM_READINGS_ONE_DAY/2;o&&(0,E.weightedCGMCount)(t)<i&&n.length?this.props.onSwitchBgDataSource(null,o?y.BGM_DATA_KEY:y.CGM_DATA_KEY):this.props.markTrendsViewed()}}},{key:"render",value:function(){var e=this.state.dateDomain,t=e.start,n=e.end,a=f.default.get(this.state,["previousDateDomain","start"]),r=f.default.get(this.state,["previousDateDomain","end"]),o=t,i=n;return a&&r&&(t<a?i=r:a<t&&(o=a)),h.default.createElement(b.default,{activeDays:this.props.activeDays,bgPrefs:this.props.bgPrefs,smbgData:this.state.currentSmbgData,cbgData:this.state.currentCbgData,dates:B(o,i,this.props.timePrefs),focusCbgDateTrace:this.props.focusCbgDateTrace,unfocusCbgDateTrace:this.props.unfocusCbgDateTrace,focusCbgSlice:this.props.focusCbgSlice,unfocusCbgSlice:this.props.unfocusCbgSlice,focusSmbg:this.props.focusSmbg,unfocusSmbg:this.props.unfocusSmbg,focusSmbgRange:this.props.focusSmbgRange,unfocusSmbgRange:this.props.unfocusSmbgRange,focusedSlice:this.props.focusedCbgSlice,focusedSliceKeys:this.props.focusedCbgSliceKeys,focusedSmbgRangeAvgKey:this.props.focusedSmbgRangeAvg,focusedSmbg:this.props.focusedSmbg,displayFlags:this.props.cbgFlags,showingCbg:this.props.showingCbg,showingCbgDateTraces:this.props.showingCbgDateTraces,showingSmbg:this.props.showingSmbg,smbgGrouped:this.props.smbgGrouped,smbgLines:this.props.smbgLines,smbgRangeOverlay:this.props.smbgRangeOverlay,onSelectDate:this.selectDate(),xScale:this.state.xScale,yScale:this.state.yScale})}}]),n}(h.PureComponent);x.defaultProps={yScaleClampTop:(o={},(0,i.default)(o,y.MGDL_UNITS,y.MGDL_CLAMP_TOP),(0,i.default)(o,y.MMOLL_UNITS,y.MMOLL_CLAMP_TOP),o)},t.default=x},49449:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TrendsSVGContainer=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(54013)),l=r(n(53671)),d=a(n(82015)),u=r(n(37841)),c=r(n(27825)),f=(n(66871),n(74501)),A=n(37359),p=r(n(26432)),g=r(n(14978)),m=r(n(84423)),h=r(n(22869)),b=r(n(93046)),y=r(n(83671)),v=r(n(13433)),E=r(n(77865)),C=r(n(15411)),B=r(n(40957)),T=r(n(59816)),S=r(n(58385)),x=r(n(21774)),w=t.TrendsSVGContainer=function(e){(0,s.default)(n,e);var t=(0,l.default)(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).state={focusedSegmentDataGroupedByDate:null,size:a.props.size,chartWidth:a.props.size.width-70},a}return(0,i.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){this.setScales()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.size.width||this.state.size.width,n=e.size.height||this.state.size.height;if(this.setState({size:{width:t,height:n},chartWidth:t-70}),e.yScale!==this.props.yScale&&this.setScales(e),e.showingCbgDateTraces){var a=e.cbgData,r=e.focusedSlice,o=e.focusedSliceKeys;if(r){var i=(0,A.findDatesIntersectingWithCbgSliceSegment)(a,r,o),s=c.default.groupBy(c.default.filter(a,(function(e){return c.default.includes(i,e.localDate)})),(function(e){return e.localDate}));this.setState({focusedSegmentDataGroupedByDate:s})}else this.props.focusedSlice&&this.setState({focusedSegmentDataGroupedByDate:null})}else this.props.showingCbgDateTraces&&this.setState({focusedSegmentDataGroupedByDate:null})}},{key:"setScales",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=e.margins,n=e.smbgOpts,a=e.xScale,r=e.yScale,o=this.state.size,i=o.width,s=o.height;a.range([t.left+Math.round(n.maxR),i-t.right-Math.round(n.maxR)]),r.range([s-t.bottom-30,t.top+50])}},{key:"renderNoDataMessage",value:function(e){var t=this.props,n=t.activeDays,a=t.margins,r=this.state.size,o=r.width,i=r.height,s={x:o/2+a.right,y:i/2+a.bottom},l=c.default.every(n,(function(e){return!e}));return this.props.showingCbg&&c.default.isEmpty(this.props.cbgData)||this.props.showingSmbg&&c.default.isEmpty(this.props.smbgData)?d.default.createElement(C.default,{dataType:e,position:s,unselectedAllData:l}):null}},{key:"renderOverlay",value:function(e,t){var n=this.props.smbgRangeOverlay?this.props.smbgData:[];return d.default.createElement(y.default,{bgBounds:this.props.bgPrefs.bgBounds,bgUnits:this.props.bgPrefs.bgUnits,data:n,focusSmbgRange:this.props.focusSmbgRange,unfocusSmbgRange:this.props.unfocusSmbgRange,key:t,smbgComponent:e,someSmbgDataIsFocused:null!==this.props.focusedSmbg,tooltipLeftThreshold:this.props.tooltipLeftThreshold,xScale:this.props.xScale,yScale:this.props.yScale,width:this.state.chartWidth/8-3})}},{key:"renderCbg",value:function(){if(this.props.showingCbg){var e=d.default.createElement(m.default,{bgBounds:this.props.bgPrefs.bgBounds,bgUnits:this.props.bgPrefs.bgUnits,sliceWidth:this.state.chartWidth/56,data:this.props.cbgData,displayFlags:this.props.displayFlags,focusCbgSlice:this.props.focusCbgSlice,unfocusCbgSlice:this.props.unfocusCbgSlice,showingCbgDateTraces:this.props.showingCbgDateTraces,tooltipLeftThreshold:this.props.tooltipLeftThreshold,topMargin:this.props.margins.top,xScale:this.props.xScale,yScale:this.props.yScale}),t=this.state.focusedSegmentDataGroupedByDate,n=d.default.createElement(g.default,{bgBounds:this.props.bgPrefs.bgBounds,bgUnits:this.props.bgPrefs.bgUnits,data:t,dates:c.default.keys(t)||[],focusCbgDateTrace:this.props.focusCbgDateTrace,unfocusCbgDateTrace:this.props.unfocusCbgDateTrace,onSelectDate:this.props.onSelectDate,topMargin:this.props.margins.top,xScale:this.props.xScale,yScale:this.props.yScale}),a=null,r=this.props,o=r.focusedSlice,i=r.focusedSliceKeys;return c.default.isEmpty(o)||c.default.isEmpty(i)||(a=d.default.createElement(h.default,{focusedSlice:o,focusedSliceKeys:i,sliceWidth:this.state.chartWidth/56})),d.default.createElement("g",{id:"cbgTrends"},e,n,a)}return null}},{key:"renderSmbg",value:function(){if(this.props.showingSmbg){var e=d.default.createElement(b.default,{anSmbgRangeAvgIsFocused:null!==this.props.focusedSmbgRangeAvg,bgBounds:this.props.bgPrefs.bgBounds,bgUnits:this.props.bgPrefs.bgUnits,data:this.props.smbgData,dates:this.props.dates,focusSmbg:this.props.focusSmbg,unfocusSmbg:this.props.unfocusSmbg,grouped:this.props.smbgGrouped,key:"smbgDaysContainer",lines:this.props.smbgLines,onSelectDate:this.props.onSelectDate,smbgOpts:this.props.smbgOpts,someSmbgDataIsFocused:null!==this.props.focusedSmbg,tooltipLeftThreshold:this.props.tooltipLeftThreshold,xScale:this.props.xScale,yScale:this.props.yScale}),t=this.props.focusedSmbg?d.default.createElement(b.default,{anSmbgRangeAvgIsFocused:!1,bgBounds:this.props.bgPrefs.bgBounds,bgUnits:this.props.bgPrefs.bgUnits,data:this.props.focusedSmbg.allSmbgsOnDate,dates:[this.props.focusedSmbg.date],focusSmbg:this.props.focusSmbg,unfocusSmbg:this.props.unfocusSmbg,focusedSmbg:this.props.focusedSmbg,grouped:this.props.smbgGrouped,key:"focusedSmbgDayContainer",lines:this.props.smbgLines,nonInteractive:!0,onSelectDate:this.props.onSelectDate,smbgOpts:this.props.smbgOpts,someSmbgDataIsFocused:!1,tooltipLeftThreshold:this.props.tooltipLeftThreshold,xScale:this.props.xScale,yScale:this.props.yScale}):null;return d.default.createElement("g",{id:"smbgTrends"},this.renderOverlay(v.default,"SMBGRangeContainer"),e,this.renderOverlay(E.default,"SMBGMeanContainer"),t)}return null}},{key:"render",value:function(){var e=this.state.size,t=e.width,n=e.height;return d.default.createElement("div",null,d.default.createElement("svg",{height:n,width:"100%"},d.default.createElement(p.default,{linesAtThreeHrs:!0,margins:this.props.margins,smbgOpts:this.props.smbgOpts,svgDimensions:{height:n,width:t},xScale:this.props.xScale}),d.default.createElement(T.default,{margins:this.props.margins,useRangeLabels:!1,xScale:this.props.xScale}),d.default.createElement(S.default,{margins:this.props.margins,xScale:this.props.xScale}),d.default.createElement(x.default,{bgPrefs:this.props.bgPrefs,bgUnits:this.props.bgUnits,margins:this.props.margins,yScale:this.props.yScale}),this.renderCbg(),this.renderSmbg(),d.default.createElement(B.default,{bgBounds:this.props.bgPrefs.bgBounds,smbgOpts:this.props.smbgOpts,xScale:this.props.xScale,yScale:this.props.yScale}),this.renderNoDataMessage(this.props.showingCbg?"cbg":"smbg")))}}]),n}(d.PureComponent);w.defaultProps={margins:{top:30,right:10,bottom:10,left:40},smbgOpts:{maxR:7.5,r:6},tooltipLeftThreshold:6*f.THREE_HRS},t.default=(0,u.default)({monitorHeight:!0})(w)},59816:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(27825)),o=n(17897),i=a(n(82015)),s=n(74501),l=a(n(12970)),d=function(e){var t=e.data,n=e.margins,a=e.xOffset,o=e.xScale,d=e.yOffset,u=n.top-d;return i.default.createElement("g",{id:"xAxisLabels"},r.default.map(t,(function(e){var t=(0,s.formatClocktimeFromMsPer24)(e,"h a");return i.default.createElement("text",{className:l.default.text,key:e,x:o(e)+a,y:u},t)})))};d.defaultProps={data:r.default.map((0,o.range)(0,8),(function(e){return e*s.THREE_HRS})),xOffset:5,yOffset:5},t.default=d},58385:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27825)),i=n(17897),s=r(n(82015)),l=a(n(74501)),d=r(n(21753)),u=function(e){var t=e.data,n=e.margins,a=e.tickLength,r=e.xScale;return s.default.createElement("g",{id:"xAxisTicks"},o.default.map(t,(function(e){return s.default.createElement("line",{className:d.default.tick,key:e,x1:r(e),x2:r(e),y1:n.top,y2:n.top-a})})))};u.defaultProps={data:o.default.map((0,i.range)(0,9),(function(e){return e*l.THREE_HRS})),tickLength:15},t.default=u},21774:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(27825)),o=a(n(82015)),i=(n(66871),n(99559)),s=a(n(32768)),l=["targetLowerBound","targetUpperBound","veryHighThreshold","veryLowThreshold"],d=function(e){var t=e.bgPrefs,n=e.margins,a=e.textToTickGap,d=e.tickWidth,u=e.yScale,c=t.bgBounds,f=r.default.filter(l,(function(e){return!!c[e]}));return o.default.createElement("g",{id:"yAxisLabels"},r.default.map(f,(function(e){return o.default.createElement("g",{id:"yAxisLabel",key:e},o.default.createElement("text",{className:s.default.text,x:n.left-d-a,y:u(c[e])},(0,i.formatBgValue)(c[e],t)),o.default.createElement("line",{className:s.default.tick,x1:n.left-d,x2:n.left,y1:u(c[e]),y2:u(c[e])}))})))};d.defaultProps={textToTickGap:2,tickWidth:8},t.default=d},98823:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015));t.default=function(e){return function(t){var n=t.bgBounds,a=n.targetLowerBound,o=n.targetUpperBound,i=(0,t.yScale)(o-(o-a)/2);return r.default.createElement(e,Object.assign({defaultY:i},t))}}},51530:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(27825)),i=a(n(56607)),s=a(n(78572)),l=(n(66871),n(99559)),d=n(84240),u=n(74501),c=a(n(81508));t.default=function(e){if(!e.focusedPoint)return null;var t=e.bgPrefs,n=e.focusedPoint,a=n.datum,f=n.position,A=n.allSmbgsOnDate,p=n.allPositions,g=e.timePrefs,m=e.lines,h=(0,u.formatLocalizedFromUTC)(a.normalTime,g),b=(0,u.formatLocalizedFromUTC)(a.normalTime,g,"MMM D"),y=f.tooltipLeft?"left":"right",v=A.slice(),E=p.slice();if(!m){var C=o.default.findIndex(A,(function(e){return e.value===a.value}));o.default.pullAt(v,C),o.default.pullAt(E,C)}var B,T=o.default.map(v,(function(e,n){return r.default.createElement(i.default,{key:n,content:r.default.createElement("span",{className:c.default.number},(0,l.formatBgValue)(e.value,t,(0,d.getOutOfRangeThreshold)(e))),position:E[n],side:"bottom",tail:!1,offset:{top:10,left:0}})}));return B=m?r.default.createElement(i.default,{title:r.default.createElement("span",{className:c.default.explainerText},h),position:f,side:y,offset:{top:10,horizontal:30}}):r.default.createElement(s.default,{title:r.default.createElement("span",{className:c.default.tipWrapper},r.default.createElement("span",{className:c.default.dateTime},"".concat(b,", ").concat((0,u.formatClocktimeFromMsPer24)(a.msPer24)))),position:f,side:y,offset:{top:0,horizontal:10},smbg:a,bgPrefs:t,timePrefs:g}),r.default.createElement("div",{className:c.default.container},T,B)}},8002:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SMBGDateLineAnimated=void 0;var o=r(n(271)),i=r(n(46721)),s=r(n(4841)),l=r(n(83581)),d=r(n(54013)),u=r(n(53671)),c=a(n(82015)),f=n(94568),A=n(4485),p=r(n(27825)),g=r(n(3892)),m=n(66871),h=n(74501),b=n(84240),y=r(n(72380)),v=t.SMBGDateLineAnimated=function(e){(0,d.default)(n,e);var t=(0,u.default)(n);function n(e){var a;return(0,i.default)(this,n),(a=t.call(this,e)).getDefaultPoints=a.getDefaultPoints.bind((0,l.default)(a)),a.getPoints=a.getPoints.bind((0,l.default)(a)),a.getPositions=a.getPositions.bind((0,l.default)(a)),a.handleClick=a.handleClick.bind((0,l.default)(a)),a.handleMouseOut=a.handleMouseOut.bind((0,l.default)(a)),a.handleMouseOver=a.handleMouseOver.bind((0,l.default)(a)),a.willEnter=a.willEnter.bind((0,l.default)(a)),a.willLeave=a.willLeave.bind((0,l.default)(a)),a}return(0,s.default)(n,[{key:"getDefaultPoints",value:function(){var e=this,t=this.props,n=t.data,a=t.grouped,r=t.xScale,o=t.yScale,i=[];return p.default.map(n,(function(t){i.push({key:t.id,style:{opacity:0,x:r(e.getXPosition(t.msPer24,a)),y:o(t.value)}})})),i}},{key:"getPoints",value:function(){var e=this,t=this.props,n=t.data,a=t.grouped,r=t.xScale,o=t.yScale,i=[];return p.default.map(n,(function(t){i.push({key:t.id,style:{opacity:(0,f.spring)(1,m.springConfig),x:(0,f.spring)(r(e.getXPosition(t.msPer24,a)),m.springConfig),y:(0,f.spring)(o(t.value),m.springConfig)}})})),i}},{key:"getPositions",value:function(){var e=this,t=this.props,n=t.data,a=t.grouped,r=t.tooltipLeftThreshold,o=t.xScale,i=t.yScale;return p.default.map(n,(function(t){return{tooltipLeft:t.msPer24>r,left:o(e.getXPosition(t.msPer24,a)),top:i(t.value)}}))}},{key:"getXPosition",value:function(e,t){return t?(0,b.findBinForTimeOfDay)(h.THREE_HRS,e):e}},{key:"handleClick",value:function(){var e=this.props,t=e.date;(0,e.onSelectDate)(t)}},{key:"handleMouseOut",value:function(){(0,this.props.unfocusSmbg)()}},{key:"handleMouseOver",value:function(){var e=this.props,t=e.data,n=e.date,a=e.focusSmbg,r=this.getPositions();a(t[0],r[0],t,r,n)}},{key:"willEnter",value:function(e){var t=e.style;return{opacity:0,x:p.default.get(t,["x","val"],t.x),y:p.default.get(t,["y","val"],t.y)}}},{key:"willLeave",value:function(e){var t=e.style;return{opacity:(0,f.spring)(0,m.springConfig),x:(0,f.spring)(p.default.get(t,["x","val"],t.x),m.springConfig),y:(0,f.spring)(p.default.get(t,["y","val"],t.y),m.springConfig)}}},{key:"render",value:function(){var e,t=this,n=this.props,a=n.data,r=n.date,i=n.focusedDay,s=n.nonInteractive,l=(0,g.default)((e={},(0,o.default)(e,y.default.smbgPath,!0),(0,o.default)(e,y.default.highlightPath,i===r),e));return c.default.createElement("g",{id:"smbgDateLine-".concat(r)},c.default.createElement(f.TransitionMotion,{defaultStyles:this.getDefaultPoints(a),styles:this.getPoints(a),willEnter:this.willEnter,willLeave:this.willLeave},(function(e){return 0===e.length?null:c.default.createElement("path",{d:(0,A.line)()(p.default.map(p.default.map(e,"style"),(function(e){return[p.default.get(e,["x","val"],e.x),p.default.get(e,["y","val"],e.y)]}))),className:l,onMouseOver:t.handleMouseOver,onMouseOut:t.handleMouseOut,onClick:t.handleClick,pointerEvents:s?"none":"stroke",strokeOpacity:p.default.get(e[0],["style","opacity"])})})))}}]),n}(c.PureComponent);t.default=v},4435:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SMBGDatePointsAnimated=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(83581)),l=r(n(54013)),d=r(n(53671)),u=a(n(82015)),c=n(94568),f=r(n(27825)),A=n(84240),p=n(66871),g=n(74501),m=r(n(97579)),h=t.SMBGDatePointsAnimated=function(e){(0,l.default)(n,e);var t=(0,d.default)(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).getPositions=a.getPositions.bind((0,s.default)(a)),a.getXPosition=a.getXPosition.bind((0,s.default)(a)),a.handleClick=a.handleClick.bind((0,s.default)(a)),a.handleMouseOut=a.handleMouseOut.bind((0,s.default)(a)),a.willEnter=a.willEnter.bind((0,s.default)(a)),a.willLeave=a.willLeave.bind((0,s.default)(a)),a}return(0,i.default)(n,[{key:"getPositions",value:function(){var e=this,t=this.props,n=t.data,a=t.tooltipLeftThreshold,r=t.yScale;return f.default.map(n,(function(t){return{left:e.getXPosition(t.msPer24),top:r(t.value),tooltipLeft:t.msPer24>a}}))}},{key:"getXPosition",value:function(e){var t=this.props,n=t.grouped;return(0,t.xScale)(n?(0,A.findBinForTimeOfDay)(g.THREE_HRS,e):e)}},{key:"handleClick",value:function(){var e=this.props,t=e.date;(0,e.onSelectDate)(t)}},{key:"handleMouseOut",value:function(){(0,this.props.unfocusSmbg)()}},{key:"willEnter",value:function(e){var t=e.data;return{cx:(0,this.props.xScale)(t.smbg.msPer24),opacity:.5,r:0}}},{key:"willLeave",value:function(e){var t=e.data,n=this.props,a=n.anSmbgRangeAvgIsFocused,r=n.someSmbgDataIsFocused,o=n.xScale;return{cx:(0,c.spring)(o(t.smbg.msPer24),p.springConfig),opacity:a||r?(0,c.spring)(.35,p.springConfig):(0,c.spring)(.8,p.springConfig),r:(0,c.spring)(0,p.springConfig)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.anSmbgRangeAvgIsFocused,a=t.bgBounds,r=t.bgUnits,o=t.data,i=t.date,s=t.focusSmbg,l=t.isFocused,d=t.nonInteractive,g=t.smbgOpts,h=t.someSmbgDataIsFocused,b=l?g.maxR:g.r,y=this.getPositions();return u.default.createElement(c.TransitionMotion,{defaultStyles:o.length||!d?f.default.map(o,(function(e,t){var n=y[t];return{key:e.id,style:{cx:n.left,opacity:.5,r:0}}})):[],styles:o.length?f.default.map(o,(function(e,t){var o=y[t];return{key:e.id,data:{classes:m.default[(0,A.classifyBgValue)(a,r,e.value,"fiveWay")],position:o,smbg:e},style:{cx:(0,c.spring)(o.left,p.springConfig),opacity:n||h?(0,c.spring)(.35,p.springConfig):(0,c.spring)(.8,p.springConfig),r:(0,c.spring)(b,p.springConfig)}}})):[],willEnter:this.willEnter,willLeave:this.willLeave},(function(t){return 0===t.length?null:u.default.createElement("g",{id:"smbgDatePoints-".concat(i)},f.default.map(t,(function(t){var n=t.key,a=t.style;return u.default.createElement("circle",{className:t.data.classes,id:"smbg-".concat(n),key:n,onMouseOver:function(){return s(t.data.smbg,t.data.position,o,y,i)},onMouseOut:e.handleMouseOut,onClick:e.handleClick,cx:a.cx,cy:t.data.position.top,r:a.r,fillOpacity:a.opacity,pointerEvents:d?"none":"all"})})))}))}}]),n}(u.PureComponent);t.default=h},76400:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SMBGMean=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(83581)),l=r(n(54013)),d=r(n(53671)),u=a(n(82015)),c=t.SMBGMean=function(e){(0,l.default)(n,e);var t=(0,d.default)(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).handleMouseOut=a.handleMouseOut.bind((0,s.default)(a)),a.handleMouseOver=a.handleMouseOver.bind((0,s.default)(a)),a}return(0,i.default)(n,[{key:"handleMouseOut",value:function(){(0,this.props.unfocusRange)()}},{key:"handleMouseOver",value:function(){var e=this.props,t=e.datum;(0,e.focusRange)(t,e.positionData)}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.interpolated,a=n.key,r=n.style,o=e.width,i=e.x;return u.default.createElement("rect",{className:t,id:"smbgRange-".concat(a),onMouseOver:this.handleMouseOver,onMouseOut:this.handleMouseOut,x:i,y:r.y,width:o,height:r.height,opacity:r.opacity})}}]),n}(u.PureComponent);t.default=c},77865:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SMBGMeanAnimated=void 0;var o=r(n(271)),i=r(n(46721)),s=r(n(4841)),l=r(n(83581)),d=r(n(54013)),u=r(n(53671)),c=r(n(3892)),f=a(n(82015)),A=n(94568),p=n(84240),g=n(66871),m=r(n(98823)),h=r(n(76400)),b=r(n(61905)),y=t.SMBGMeanAnimated=function(e){(0,d.default)(n,e);var t=(0,u.default)(n);function n(e){var a;return(0,i.default)(this,n),(a=t.call(this,e)).willEnter=a.willEnter.bind((0,l.default)(a)),a.willLeave=a.willLeave.bind((0,l.default)(a)),a}return(0,s.default)(n,[{key:"willEnter",value:function(){return{y:this.props.defaultY,height:0,opacity:0}}},{key:"willLeave",value:function(){var e=this.props,t=e.defaultY,n=e.meanHeight,a=(0,A.spring)(0,g.springConfig);return{y:(0,A.spring)(t,g.springConfig),height:(0,A.spring)(n,g.springConfig),opacity:a}}},{key:"render",value:function(){var e,t,n=this,a=this.props,r=a.bgBounds,i=a.bgUnits,s=a.datum,l=a.defaultY,d=a.meanHeight,u=a.someSmbgDataIsFocused,m=a.width,y=a.xScale,v=a.yScale,E=y(s.msX),C={min:v(s.min),mean:v(s.mean),max:v(s.max)},B=s.mean?(0,c.default)((e={},(0,o.default)(e,b.default.smbgMean,!0),(0,o.default)(e,b.default["".concat((0,p.classifyBgValue)(r,i,s.mean,"fiveWay"),"FadeIn")],!u),(0,o.default)(e,b.default["".concat((0,p.classifyBgValue)(r,i,s.mean,"fiveWay"),"FadeOut")],u),e)):(0,c.default)((t={},(0,o.default)(t,b.default.smbgMean,!0),(0,o.default)(t,b.default.transparent,!0),t)),T=y(s.msX)-m/2+b.default.stroke/2,S=m-b.default.stroke;return f.default.createElement(A.TransitionMotion,{defaultStyles:[{key:s.id,style:{y:l,height:0,opacity:0}}],styles:s.min?[{key:s.id,style:{y:(0,A.spring)(C.mean-d/2,g.springConfig),height:(0,A.spring)(d,g.springConfig),opacity:(0,A.spring)(1,g.springConfig)}}]:[],willEnter:this.willEnter,willLeave:this.willLeave},(function(e){return 0===e.length?null:f.default.createElement(h.default,{classes:B,datum:s,focusRange:n.props.focusSmbgRange,unfocusRange:n.props.unfocusSmbgRange,interpolated:e[0],positionData:{left:E,tooltipLeft:s.msX>n.props.tooltipLeftThreshold,yPositions:C},width:S,x:T})}))}}]),n}(f.PureComponent);y.defaultProps={meanHeight:10,meanWidth:108},t.default=(0,m.default)(y)},20512:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SMBGRange=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(83581)),l=r(n(54013)),d=r(n(53671)),u=a(n(82015)),c=t.SMBGRange=function(e){(0,l.default)(n,e);var t=(0,d.default)(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).handleMouseOut=a.handleMouseOut.bind((0,s.default)(a)),a.handleMouseOver=a.handleMouseOver.bind((0,s.default)(a)),a}return(0,i.default)(n,[{key:"handleMouseOut",value:function(){(0,this.props.unfocusRange)()}},{key:"handleMouseOver",value:function(){var e=this.props,t=e.datum;(0,e.focusRange)(t,e.positionData)}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.interpolated,a=n.key,r=n.style,o=e.positionData,i=e.rectWidth;return u.default.createElement("rect",{className:t,id:"smbgRange-".concat(a),onMouseOver:this.handleMouseOver,onMouseOut:this.handleMouseOut,x:o.left-i/2,y:r.y,width:i,height:r.height,opacity:r.opacity})}}]),n}(u.PureComponent);c.defaultProps={rectWidth:108},t.default=c},13433:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SMBGRangeAnimated=void 0;var o=r(n(271)),i=r(n(46721)),s=r(n(4841)),l=r(n(83581)),d=r(n(54013)),u=r(n(53671)),c=r(n(3892)),f=a(n(82015)),A=n(94568),p=n(66871),g=r(n(98823)),m=r(n(20512)),h=r(n(705)),b=t.SMBGRangeAnimated=function(e){(0,d.default)(n,e);var t=(0,u.default)(n);function n(e){var a;return(0,i.default)(this,n),(a=t.call(this,e)).willEnter=a.willEnter.bind((0,l.default)(a)),a.willLeave=a.willLeave.bind((0,l.default)(a)),a}return(0,s.default)(n,[{key:"willEnter",value:function(){return{y:this.props.defaultY,height:0,opacity:0}}},{key:"willLeave",value:function(){var e=this.props.defaultY,t=(0,A.spring)(0,p.springConfig);return{y:(0,A.spring)(e,p.springConfig),height:t,opacity:t}}},{key:"render",value:function(){var e,t=this,n=this.props,a=n.datum,r=n.defaultY,i=n.someSmbgDataIsFocused,s=n.width,l=n.xScale,d=n.yScale,u=l(a.msX),g={min:d(a.min),mean:d(a.mean),max:d(a.max)},b=(0,c.default)((e={},(0,o.default)(e,h.default.smbgRange,!0),(0,o.default)(e,h.default.fadeIn,!i),(0,o.default)(e,h.default.fadeOut,i),e));return f.default.createElement(A.TransitionMotion,{defaultStyles:[{key:a.id,style:{y:r,height:0,opacity:0}}],styles:a.min?[{key:a.id,style:{y:(0,A.spring)(g.max,p.springConfig),height:(0,A.spring)(g.min-g.max,p.springConfig),opacity:(0,A.spring)(1,p.springConfig)}}]:[],willEnter:this.willEnter,willLeave:this.willLeave},(function(e){return 0===e.length?null:f.default.createElement(m.default,{classes:b,datum:a,focusRange:t.props.focusSmbgRange,unfocusRange:t.props.unfocusSmbgRange,interpolated:e[0],positionData:{left:u,tooltipLeft:a.msX>t.props.tooltipLeftThreshold,yPositions:g},rectWidth:s})}))}}]),n}(f.PureComponent);b.defaultProps={width:108},t.default=(0,g.default)(b)},83671:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(54013)),l=r(n(53671)),d=r(n(27825)),u=a(n(82015)),c=n(74501),f=n(84240);(t.default=function(e){(0,s.default)(n,e);var t=(0,l.default)(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,i.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){var e=this.props,t=e.binSize,n=e.data;this.setState({mungedData:(0,f.mungeBGDataBins)("smbg",t,n)})}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.binSize,n=e.data;t===this.props.binSize&&n===this.props.data||this.setState({mungedData:(0,f.mungeBGDataBins)("smbg",t,n)})}},{key:"render",value:function(){var e=this,t=this.state.mungedData,n=this.props,a=n.smbgComponent,r=n.width;return u.default.createElement("g",{className:"smbgAggContainer"},d.default.map(t,(function(t){return u.default.createElement(a,{bgBounds:e.props.bgBounds,bgUnits:e.props.bgUnits,datum:t,focusSmbgRange:e.props.focusSmbgRange,unfocusSmbgRange:e.props.unfocusSmbgRange,key:t.id,someSmbgDataIsFocused:e.props.someSmbgDataIsFocused,tooltipLeftThreshold:e.props.tooltipLeftThreshold,xScale:e.props.xScale,yScale:e.props.yScale,width:r})})))}}]),n}(u.PureComponent)).defaultProps={binSize:c.THREE_HRS,width:108}},93046:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(27825)),i=a(n(4435)),s=a(n(8002));t.default=function(e){var t=e.data;if(!t)return null;var n,a=e.anSmbgRangeAvgIsFocused,l=e.bgBounds,d=e.bgUnits,u=e.dates,c=e.focusSmbg,f=e.unfocusSmbg,A=e.focusedSmbg,p=e.grouped,g=e.lines,m=e.nonInteractive,h=e.onSelectDate,b=e.smbgOpts,y=e.someSmbgDataIsFocused,v=e.tooltipLeftThreshold,E=e.xScale,C=e.yScale,B=A?A.date:"",T=o.default.groupBy(t,"localDate");return o.default.each(u,(function(e){T[e]||(T[e]=[])})),r.default.createElement("g",{id:"smbgsByDateContainer"},(n=[],o.default.each(T,(function(e,t){var a=g?e:[];n.push(r.default.createElement(s.default,{bgBounds:l,data:a,date:t,focusSmbg:c,unfocusSmbg:f,focusedDay:B,grouped:p,key:t,onSelectDate:h,nonInteractive:m,tooltipLeftThreshold:v,xScale:E,yScale:C}))})),B&&n.push(r.default.createElement(s.default,{bgBounds:l,data:A.allSmbgsOnDate,date:B,focusSmbg:c,unfocusSmbg:f,key:"".concat(B,"-focused"),focusedDay:B,grouped:p,onSelectDate:h,nonInteractive:m,tooltipLeftThreshold:v,xScale:E,yScale:C})),n),o.default.map(T,(function(e,t){return r.default.createElement(i.default,{anSmbgRangeAvgIsFocused:a,bgBounds:l,bgUnits:d,data:e,date:t,focusSmbg:c,unfocusSmbg:f,grouped:p,isFocused:B===t,key:t,nonInteractive:m,onSelectDate:h,smbgOpts:b,someSmbgDataIsFocused:y,tooltipLeftThreshold:v,xScale:E,yScale:C})})))}},79947:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.text=t.fontSizes=t.default=t.colors=t.AGP_UPPER_QUANTILE=t.AGP_TIR_MIN_TARGET_HEIGHT=t.AGP_TIR_MIN_HEIGHT=t.AGP_SECTION_HEADER_HEIGHT=t.AGP_SECTION_DESCRIPTION_HEIGHT=t.AGP_SECTION_BORDER_RADIUS=t.AGP_LOWER_QUANTILE=t.AGP_FOOTER_Y_PADDING=t.AGP_FONT_FAMILY=t.AGP_BG_CLAMP_MMOLL=t.AGP_BG_CLAMP_MGDL=void 0;var r,o,i,s,l,d,u,c,f,A=a(n(271)),p=a(n(27825)),g=a(n(56427)),m=n(56765),h=n(66871),b=g.default.t.bind(g.default);void 0===p.default.get(g.default,"options.returnEmptyString")&&g.default.init({returnEmptyString:!1,nsSeparator:"|"}),t.AGP_BG_CLAMP_MGDL=350,t.AGP_BG_CLAMP_MMOLL=19.4,t.AGP_FOOTER_Y_PADDING=.25*m.DPI,t.AGP_TIR_MIN_HEIGHT=6,t.AGP_TIR_MIN_TARGET_HEIGHT=12,t.AGP_SECTION_BORDER_RADIUS=8,t.AGP_SECTION_HEADER_HEIGHT=.25*m.DPI,t.AGP_SECTION_DESCRIPTION_HEIGHT=.25*m.DPI,t.AGP_LOWER_QUANTILE=.05,t.AGP_UPPER_QUANTILE=.95,t.AGP_FONT_FAMILY="Helvetica, Arial, Sans-Serif";var y=t.text={reportHeader:b("AGP Report:"),reportSubHeader:(r={},(0,A.default)(r,h.CGM_DATA_KEY,b("Continuous Glucose Monitoring")),(0,A.default)(r,h.BGM_DATA_KEY,b("Blood Glucose Monitoring")),r),reportFooter:b("Patent pending – HealthPartners Institute dba International Diabetes Center – All Rights Reserved. ©2022"),reportInsuffienctData:b("Insufficient data to generate an AGP Report."),percentInRanges:{title:(o={},(0,A.default)(o,h.CGM_DATA_KEY,b("Time in Ranges")),(0,A.default)(o,h.BGM_DATA_KEY,b("Percent BGM Readings")),o),subtitle:(l={},(0,A.default)(l,h.CGM_DATA_KEY,(i={},(0,A.default)(i,h.GLYCEMIC_RANGES_PRESET.ADA_STANDARD,b("Goals for Type 1 and Type 2 Diabetes")),(0,A.default)(i,h.GLYCEMIC_RANGES_PRESET.ADA_OLDER_HIGH_RISK,b("Goals for Older/High Risk (Type 1 and 2)")),(0,A.default)(i,h.GLYCEMIC_RANGES_PRESET.ADA_PREGNANCY_T1,b("Goals for Pregnancy (Type 1)")),(0,A.default)(i,h.GLYCEMIC_RANGES_PRESET.ADA_GESTATIONAL_T2,b("Goals for Pregnancy (Gestational and Type 2)")),(0,A.default)(i,"PWD_SELF_DEFINED",""),i)),(0,A.default)(l,h.BGM_DATA_KEY,(s={},(0,A.default)(s,h.GLYCEMIC_RANGES_PRESET.ADA_STANDARD,""),(0,A.default)(s,h.GLYCEMIC_RANGES_PRESET.ADA_OLDER_HIGH_RISK,b("Older/High Risk")),(0,A.default)(s,h.GLYCEMIC_RANGES_PRESET.ADA_PREGNANCY_T1,b("Pregnancy")),(0,A.default)(s,h.GLYCEMIC_RANGES_PRESET.ADA_GESTATIONAL_T2,b("Pregnancy")),(0,A.default)(s,"PWD_SELF_DEFINED",""),s)),l)},reportInfo:{dob:b("DOB:"),mrn:b("MRN:")},glucoseMetrics:(d={},(0,A.default)(d,h.CGM_DATA_KEY,{title:b("Glucose metrics"),averageGlucose:{label:b("Average Glucose"),goal:{mgdl:b("Goal: <154 mg/dL"),mmoll:b("Goal: <8.6 mmol/L")}},coefficientOfVariation:{label:b("Glucose Variability"),subLabel:b("Defined as percent coefficient of variation"),goal:b("Goal: <=36%")},glucoseManagementIndicator:{label:b("Glucose Management Indicator (GMI)"),goal:b("Goal: <7%")}}),(0,A.default)(d,h.BGM_DATA_KEY,{title:b("BGM Statistics"),averageGlucose:{label:b("Average Glucose")},bgExtents:{label:b("Lowest/Highest Glucose")},coefficientOfVariation:{label:b("Glucose Variability"),subLabel:b("Defined as percent coefficient of variation"),goal:b("Goal: <=36%")},dailyReadingsInRange:{label:b("Average Readings/Day")},readingsInRange:{label:b("Number of Readings")}}),d),ambulatoryGlucoseProfile:(u={},(0,A.default)(u,h.CGM_DATA_KEY,{title:b("Ambulatory Glucose Profile (AGP)"),description:b("AGP is a summary of glucose values from the report period, with median (50%) and other percentiles shown as if they occurred in a single day."),targetRange:b("Target<br>Range"),insufficientData:b("Insufficient CGM data to generate AGP graph")}),(0,A.default)(u,h.BGM_DATA_KEY,{title:b("Ambulatory Glucose Profile (AGP)"),insufficientDataTitle:b("Modal Day BGM Values Graph"),description:b("AGP is a summary of glucose values from the report period, with median (50%) and other percentiles shown as if they occurred in a single day."),targetRange:b("Target<br>Range"),insufficientData:b("Insufficient glucose data to generate AGP")}),u),dailyGlucoseProfiles:(c={},(0,A.default)(c,h.CGM_DATA_KEY,{title:b("Daily Glucose Profiles"),description:b("Each daily profile represents a midnight-to-midnight period.")}),(0,A.default)(c,h.BGM_DATA_KEY,{title:b("Daily Glucose Profiles"),description:b("Each daily profile represents a midnight-to-midnight period. The more readings available throughout the day, the more opportunities for improvement.")}),c),bgRanges:{veryHigh:b("Very High"),high:b("High"),target:b("Target"),low:b("Low"),veryLow:b("Very Low")},goals:(f={},(0,A.default)(f,h.GLYCEMIC_RANGES_PRESET.ADA_STANDARD,{veryHigh:b("Goal: <5%"),highCombined:b("Goal: <25%"),target:b("Goal: >70%"),lowCombined:b("Goal: <4%"),veryLow:b("Goal: <1%")}),(0,A.default)(f,h.GLYCEMIC_RANGES_PRESET.ADA_OLDER_HIGH_RISK,{veryHigh:b("Goal: <10%"),highCombined:b("Goal: <50%"),target:b("Goal: >50%"),lowCombined:b("Goal: <1%")}),(0,A.default)(f,h.GLYCEMIC_RANGES_PRESET.ADA_PREGNANCY_T1,{highCombined:b("Goal: <25%"),target:b("Goal: >70%"),lowCombined:b("Goal: <4%"),veryLow:b("Goal: <1%")}),(0,A.default)(f,h.GLYCEMIC_RANGES_PRESET.ADA_GESTATIONAL_T2,{highCombined:b("Goal: n/a"),target:b("Goal: n/a"),lowCombined:b("Goal: n/a"),veryLow:b("Goal: n/a")}),(0,A.default)(f,"PWD_SELF_DEFINED",{veryHigh:b("Goal: n/a"),highCombined:b("Goal: n/a"),target:b("Goal: n/a"),lowCombined:b("Goal: n/a"),veryLow:b("Goal: n/a")}),f),subLabels:{TIRtarget:b("Each 5% increase is clinically beneficial"),TIRminutes:b("Each 1% time in range = about 15 minutes")}},v=(t.fontSizes={reportHeader:14,reportSubHeader:14,reportFooter:7,reportInfo:{default:10,label:8},section:{title:9,subtitle:8,description:7,insufficientData:7},percentInRanges:{values:9,ticks:7,summaries:12,goals:7,subLabels:7},glucoseMetrics:{values:12,bgUnits:8,labels:9,subLabels:8,subStats:8,goals:8},ambulatoryGlucoseProfile:{hourlyTicks:7,bgTicks:9,percentileTicks:8,bgUnits:7,targetRange:9},dailyGlucoseProfiles:{bgTicks:7,bgUnits:7,timeTicks:7,weekdayTicks:8,calendarDates:8}},"#000000"),E="#FFFFFF",C="#D9D9D9",B="#7A7A7A",T="#626267",S=t.colors={text:{reportHeader:"#522398",label:T,reportFooter:v,section:{title:v,subtitle:T,description:v,insufficientData:v},reportInfo:v,calendarDates:T,goals:{veryHigh:T,highCombined:B,target:B,lowCombined:B,veryLow:T,glucoseMetrics:T},subLabels:{TIRtarget:T,TIRminutes:v,glucoseMetrics:T},subStats:{glucoseMetrics:v},ticks:{bg:T,dailyProfileBg:v,hour:T,percentile:T}},line:{default:T,ticks:C,range:{target:"#00AA51",dailyProfileTarget:v,default:C,divider:E}},white:E,black:v,lightGrey:C,mediumGrey:B,darkGrey:T,background:{shaded:C},bgRange:{veryLow:"#CC0019",low:"#FF0000",lowShaded:"#FF8080",target:"#0BAD5A",high:"#FFBF00",highShaded:"#FFD180",veryHigh:"#FF6900",empty:T},bgReadings:{veryLow:"#A30014",low:"#F20000",target:"#14B85C",high:"#FFA600",veryHigh:"#FF6900"},ambulatoryGlucoseProfile:{median:{veryLow:"#A30014",low:"#FF0000",target:"#00AA51",high:"#FFA600",veryHigh:"#FF7538"},interQuartile:{veryLow:"#A30014",low:"#FF0000",target:"#8BCD9E",high:"#FFC966",veryHigh:"#FFB380"},outerQuantile:{veryLow:"#A30014",low:"#FF8080",target:"#BEE1C6",high:"#FFE6B3",veryHigh:"#FFD9BF"}},dailyGlucoseProfiles:{low:{line:"#FF0000",fill:"#FF8080"},target:{line:"#00AA51",fill:C},high:{line:"#FFA600",fill:"#FFD180"}}};t.default={text:y,colors:S}},87307:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.pointsToPixels=t.pixelsToChartScale=t.generatePercentInRangesFigure=t.generateDailyGlucoseProfilesFigure=t.generateChartSections=t.generateAmbulatoryGlucoseProfileFigure=t.createAnnotation=t.chartScaleToPixels=t.calculateCGMDataSufficiency=t.calculateBGMDataSufficiency=t.boldText=void 0;var r=a(n(37055)),o=a(n(84374)),i=a(n(27825)),s=n(79947),l=n(56765),d=n(99559),u=n(74501),c=n(84240),f=n(85199),A=n(66871),p=a(n(74716)),g=t.boldText=function(e){return"<b>".concat(String(e),"</b>")},m=t.chartScaleToPixels=function(e,t){return t*e},h=t.pixelsToChartScale=function(e,t){return t/e},b=t.pointsToPixels=function(e){return.75*e},y=t.createAnnotation=function(e){return i.default.defaultsDeep(e,{arrowside:"none",font:{color:s.colors.black,family:s.AGP_FONT_FAMILY},showarrow:!1})},v=t.calculateCGMDataSufficiency=function(){var e,t,n,a,r,o,s,l,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},f=(null===(e=c.data)||void 0===e||null===(t=e.current)||void 0===t?void 0:t.aggregationsByDate).statsByDate,g=(null===(n=c.data)||void 0===n||null===(a=n.current)||void 0===a||null===(r=a.stats)||void 0===r?void 0:r.bgExtents)||{},m=g.newestDatum,h=g.bgDaysWorn,b=(null===(o=c.data)||void 0===o||null===(s=o.current)||void 0===s||null===(l=s.stats)||void 0===l?void 0:l.sensorUsage)||{},y=b.count,v=b.sampleInterval,E=b.sensorUsageAGP,C={ambulatoryGlucoseProfile:!0,dailyGlucoseProfiles:!0,glucoseMetrics:!0,percentInRanges:!0},B=y*v/A.MS_IN_HOUR;if(B<24)return{ambulatoryGlucoseProfile:!1,dailyGlucoseProfiles:!1,glucoseMetrics:!1,percentInRanges:!1};if(24===B){var T=E>=70;return{ambulatoryGlucoseProfile:!1,dailyGlucoseProfiles:T,glucoseMetrics:T,percentInRanges:T}}var S=i.default.map(i.default.range(i.default.max([h,7])),(function(e,t){return p.default.utc(m.time).tz((0,u.getTimezoneFromTimePrefs)(c.timePrefs)).subtract(t,"days").format("YYYY-MM-DD")})).reverse(),x=i.default.map(S,(function(e,t){var n,a,r=(null===(n=f[e])||void 0===n?void 0:n.sensorUsage)||{},o=r.count,i=r.sampleInterval,s=(null===(a=f[e])||void 0===a?void 0:a.bgExtents)||{},l=s.newestDatum,u=void 0===l?{}:l,c=s.oldestDatum,p=void 0===c?{}:c;if(!i||!o)return{sufficiencyMet:!1,sensorUsage:0};var g,m=A.MS_IN_HOUR/i;return{count:o,date:e,maxPossibleReadings:g=0===t?(0,d.bankersRound)((A.MS_IN_DAY-p.msPer24)/i):t===S.length-1?(0,d.bankersRound)(u.msPer24/i):(0,d.bankersRound)(A.MS_IN_DAY/i),sensorUsage:g>0?o/g*100:0,sufficiencyMet:o>=m}})),w=i.default.filter(x,{sufficiencyMet:!0}),I=i.default.slice(i.default.orderBy(w,["sensorUsage"],["desc"]),0,7);if(I.length<7)C.ambulatoryGlucoseProfile=!1;else{var L=i.default.meanBy(I,"sensorUsage");C.ambulatoryGlucoseProfile=L>=70}return C},E=t.calculateBGMDataSufficiency=function(){var e,t,n,a,r=(null===(e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).data)||void 0===e||null===(t=e.current)||void 0===t||null===(n=t.data)||void 0===n||null===(a=n.smbg)||void 0===a?void 0:a.length)||0;return{ambulatoryGlucoseProfile:r>=30,dailyGlucoseProfiles:r>0,glucoseMetrics:r>0,percentInRanges:r>0}};t.generateChartSections=function(e,t){var n,a=3.375*l.DPI,r=.75*l.DPI,o=l.MARGINS.left+l.WIDTH,i=l.MARGINS.top+l.HEIGHT-(.75*l.DPI-l.MARGINS.bottom),d=.25*l.DPI,u={},c=t===A.CGM_DATA_KEY?v(e):E(e),p=(0,f.getGlycemicRangesPreset)(null===(n=e.query)||void 0===n?void 0:n.glycemicRanges);u.percentInRanges={bgSource:t,x:l.MARGINS.left,y:r,width:3.875*l.DPI,height:3*l.DPI,bordered:!0,text:{title:s.text.percentInRanges.title[t],subtitle:s.text.percentInRanges.subtitle[t][p]},sufficientData:c.percentInRanges},u.reportInfo={bgSource:t,x:o-a,y:r,width:a,height:l.DPI*(t===A.CGM_DATA_KEY?.875:.55),text:s.text.reportInfo},u.glucoseMetrics={bgSource:t,x:o-a,y:u.reportInfo.y+u.reportInfo.height+d,width:a,height:l.DPI*(t===A.CGM_DATA_KEY?1.875:2.2),bordered:!0,text:s.text.glucoseMetrics[t],sufficientData:c.glucoseMetrics},u.ambulatoryGlucoseProfile={bgSource:t,x:l.MARGINS.left,y:4*l.DPI,width:l.WIDTH,height:3.5*l.DPI,bordered:!0,text:s.text.ambulatoryGlucoseProfile[t],sufficientData:c.ambulatoryGlucoseProfile};var g=2.25*l.DPI;return u.dailyGlucoseProfiles={bgSource:t,x:l.MARGINS.left,y:i-g-s.AGP_FOOTER_Y_PADDING,width:l.WIDTH,height:g,bordered:!0,text:s.text.dailyGlucoseProfiles[t],sufficientData:c.dailyGlucoseProfiles},u},t.generatePercentInRangesFigure=function(e,t,n,a){var u,c,p,m=e.width-2,b=e.height-2-.25*l.DPI-s.AGP_SECTION_BORDER_RADIUS,v=.5*l.DPI,E=.425*l.DPI,C=.3*l.DPI,B=m-2*v,T=b-(E+C),S=.35*l.DPI,x=h.bind(null,T),w=h.bind(null,B),I=i.default.isNumber(null==n||null===(u=n.bgBounds)||void 0===u?void 0:u.veryLowThreshold),L=i.default.isNumber(null==n||null===(c=n.bgBounds)||void 0===c?void 0:c.veryHighThreshold),D=i.default.get(t,"data.raw.counts.total",0);if(e.sufficientData){var k,O,N,P,R,M,_=i.default.get(t,"data.raw.counts",{}),F=i.default.filter([I&&{id:"veryLow",value:_.veryLow},{id:"low",value:_.low},{id:"target",value:_.target},{id:"high",value:_.high},L&&{id:"veryHigh",value:_.veryHigh}],Boolean),G=i.default.reduce(F,(function(e,t,n){var a=i.default.toNumber(t.value)/D*1,r="target"===t.id?s.AGP_TIR_MIN_TARGET_HEIGHT:s.AGP_TIR_MIN_HEIGHT,o=i.default.max([a,r/100]);return e.rawById[t.id]=a,e.raw.push(a),e.rendered.push(o),e.ticks.push((e.ticks[n-1]||0)+o),e}),{rawById:{},raw:[],rendered:[],ticks:[]}),j=1/i.default.last(G.ticks);G.rendered=i.default.map(G.rendered,(function(e){return e*j})),G.ticks=i.default.map(G.ticks,(function(e){return e*j}));var H=i.default.map(F,(function(e,n){return{x:[t.id],y:[G.rendered[n]],name:e.id,type:"bar",width:S/B*2,marker:{color:i.default.toNumber(e.value)>0?s.colors.bgRange[e.id]:s.colors.bgRange.empty,line:{color:s.colors.line.range.divider,width:2}}}})),U=(p=(0,o.default)(G.ticks),I||p.unshift(0),L||p.push(1),{veryLowThreshold:p[0],targetLowerBound:p[1],targetUpperBound:p[2],veryHighThreshold:p[3],max:p[4]}),Y=[I&&(null==n||null===(k=n.bgBounds)||void 0===k?void 0:k.veryLowThreshold),n.bgBounds.targetLowerBound,n.bgBounds.targetUpperBound,L&&(null==n||null===(O=n.bgBounds)||void 0===O?void 0:O.veryHighThreshold),null==n?void 0:n.bgUnits].filter(Boolean).map((function(e,t,a){return y({align:"right",font:{size:s.fontSizes.percentInRanges.ticks},text:t===a.length-1?g(e):g((0,d.formatBgValue)(e,n,void 0)),x:0,xanchor:"right",xshift:-2,y:t===a.length-1?U.targetLowerBound+(U.targetUpperBound-U.targetLowerBound)/2:G.ticks[t],yanchor:"middle"})})),z=function(e,t,n,a,r){var o=x(13);if(i.default.isNumber(r)){var l=x(24);return a-r<o&&(r=a-o),{posX:t,posX2:n,posY:a,posY2:r,subBracketXOffset:(n-t)/2,subBracketYOffset:i.default.min([(a-r)/2,l])}}if("TARGET"===e){var d=[x(s.AGP_TIR_MIN_TARGET_HEIGHT),1-x(s.AGP_TIR_MIN_TARGET_HEIGHT)];a<d[0]&&(a=d[0]),a>d[1]&&(a=d[1])}return{posX:t,posX2:n,posY:a}},W=function(e){var t=e.posX,n=e.posX2,a=e.posY,r=e.posY2,o=e.subBracketXOffset,s=e.subBracketYOffset;if(i.default.isNumber(r)){var l=w(5),d=x(5);return["M ".concat(t," ").concat(a),"H ".concat(t+o-l),"Q ".concat(t+o," ").concat(a," ").concat(t+o," ").concat(a-d),"V ".concat(r+d),"Q ".concat(t+o," ").concat(r," ").concat(t+o-l," ").concat(r),"H ".concat(t),"M ".concat(t+o," ").concat(r+s),"H ".concat(n)].join(" ")}return["M ".concat(t," ").concat(a),"H ".concat(n)].join(" ")},V={veryLow:x(-11),low:U.veryLowThreshold,target:U.targetLowerBound+(U.targetUpperBound-U.targetLowerBound)/2,high:U.targetUpperBound+(U.veryHighThreshold-U.targetUpperBound)/2,veryHigh:U.max},$=[w(S+5),w(B-S)],q={low:z.apply(void 0,["LOW"].concat($,I?[V.low,V.veryLow]:[V.low])),target:z.apply(void 0,["TARGET"].concat($,[V.target])),high:z.apply(void 0,["HIGH"].concat($,L?[V.veryHigh,V.high]:[V.high]))},Q=i.default.map(i.default.values(q),(function(e){return{type:"path",path:W(e),line:{color:s.colors.line.default,width:.5},yref:"paper"}})),K=function(e,t,n,a){var r=n>a,o=w(5),i=x(r?-5:5);return["M ".concat(e," ").concat(n),"V ".concat(a-i),"Q ".concat(e," ").concat(a," ").concat(e+o," ").concat(a),"H ".concat(t)].join(" ")},X=[0,q.low.posY2+x(6),1,q.high.posY+x(6)],Z=[w(S/2),w(S+2)],J=i.default.filter([I&&[].concat(Z,(0,o.default)(X.slice(0,2))),L&&[].concat(Z,(0,o.default)(X.slice(2)))],Boolean),ee=i.default.map(J,(function(e){return{type:"path",path:K.apply(void 0,(0,o.default)(e)),line:{color:s.colors.black,width:.5},yref:"paper"}})),te={veryLow:q.low.posY2,low:q.low.posY,target:q.target.posY,high:L?q.high.posY2:q.high.posY,veryHigh:q.high.posY},ne=i.default.filter([I&&"veryLow","low","target","high",L&&"veryHigh"],Boolean),ae=i.default.map(ne,(function(e){return y({align:"left",font:{size:s.fontSizes.percentInRanges.values},text:g(s.text.bgRanges[e]),x:$[0],xanchor:"left",xshift:-1,y:te[e],yanchor:"bottom",yref:"paper",yshift:-1})})),re=i.default.filter([I&&"veryLow",I&&"low",L&&"high",L&&"veryHigh"],Boolean),oe=i.default.map(re,(function(e){return y({align:"right",font:{size:s.fontSizes.percentInRanges.values},text:g((0,d.formatPercentage)(G.rawById[e],0,!0)),x:$[0]+($[1]-$[0])/2,xanchor:"right",xshift:-4,y:te[e],yanchor:"bottom",yref:"paper",yshift:-1})})),ie={low:I?q.low.posY2+q.low.subBracketYOffset:q.low.posY,target:q.target.posY,high:L?q.high.posY2+q.high.subBracketYOffset:q.high.posY},se={low:(G.rawById.veryLow||0)+G.rawById.low,target:G.rawById.target,high:(G.rawById.veryHigh||0)+G.rawById.high},le=i.default.map(["low","target","high"],(function(t){return y({align:"left",font:{size:s.fontSizes.percentInRanges.summaries},text:g((0,d.formatPercentage)(se[t],0,!0)),x:$[0]+($[1]-$[0])/2,xanchor:"left",xshift:e.bgSource===A.CGM_DATA_KEY?3:28,y:ie[t],yanchor:"bottom",yref:"paper",yshift:-2})})),de={veryLow:{x:$[0],xanchor:"left",xshift:-1,y:q.low.posY2,yshift:-11},lowCombined:{x:$[1],xanchor:"right",xshift:5,y:I?q.low.posY2+q.low.subBracketYOffset:q.low.posY,yshift:0},target:{x:$[1],xanchor:"right",xshift:5,y:q.target.posY,yshift:0},highCombined:{x:$[1],xanchor:"right",xshift:5,y:L?q.high.posY2+q.high.subBracketYOffset:q.high.posY,yshift:0},veryHigh:{x:$[0],xanchor:"left",xshift:-1,y:q.high.posY,yshift:9}},ue=(0,f.getGlycemicRangesPreset)(a),ce=ue!==A.GLYCEMIC_RANGES_PRESET.ADA_STANDARD||A.ADA_STANDARD_BG_BOUNDS[n.bgUnits||A.MGDL_UNITS].veryLowThreshold===(null===(N=n.bgBounds)||void 0===N?void 0:N.veryLowThreshold)&&A.ADA_STANDARD_BG_BOUNDS[n.bgUnits||A.MGDL_UNITS].targetLowerBound===(null===(P=n.bgBounds)||void 0===P?void 0:P.targetLowerBound)&&A.ADA_STANDARD_BG_BOUNDS[n.bgUnits||A.MGDL_UNITS].targetUpperBound===(null===(R=n.bgBounds)||void 0===R?void 0:R.targetUpperBound)&&A.ADA_STANDARD_BG_BOUNDS[n.bgUnits||A.MGDL_UNITS].veryHighThreshold===(null===(M=n.bgBounds)||void 0===M?void 0:M.veryHighThreshold)?ue:"PWD_SELF_DEFINED",fe=i.default.filter(["veryLow","lowCombined","target","highCombined","veryHigh"],(function(e){return!!s.text.goals[ce][e]})),Ae=i.default.map(fe,(function(e){return y((0,r.default)({align:"left",font:{color:s.colors.text.goals[e],size:s.fontSizes.percentInRanges.goals},text:s.text.goals[ce][e],yanchor:"bottom",yref:"paper"},de[e]))})),pe={TIRtarget:{x:w(B),xanchor:"right",xref:"paper",xshift:v-15,y:q.target.posY,yshift:-12},TIRminutes:{x:w(B),xanchor:"right",xref:"paper",xshift:v-7,y:I?q.low.posY2:q.low.posY-.05,yshift:-12}},ge=i.default.map(["TIRtarget","TIRminutes"],(function(e){return y((0,r.default)({align:"left",font:{color:s.colors.text.subLabels[e],size:s.fontSizes.percentInRanges.subLabels},text:s.text.subLabels[e],yanchor:"bottom",yref:"paper"},pe[e]))})),me={veryLow:[ae[0],oe[0],e.bgSource===A.CGM_DATA_KEY&&Ae[0]],low:[ae[1],oe[1]],lowSummary:[le[0],e.bgSource===A.CGM_DATA_KEY&&Ae[1]],target:[ae[2],le[1],e.bgSource===A.CGM_DATA_KEY&&Ae[2],e.bgSource===A.CGM_DATA_KEY&&ge[0]],high:[ae[3],oe[2]],veryHigh:[ae[4],oe[3],e.bgSource===A.CGM_DATA_KEY&&Ae[4]],highSummary:[le[2],e.bgSource===A.CGM_DATA_KEY&&Ae[3]]};return{data:H,layout:{barmode:"stack",width:m,height:b,showlegend:!1,margin:{l:v,r:v,b:C,t:E},xaxis:{range:[0,1],showgrid:!1,showline:!1,showticklabels:!1,zeroline:!1},yaxis:{range:[0,1],showgrid:!1,showline:!1,showticklabels:!1,zeroline:!1},annotations:[].concat((0,o.default)(Y),(0,o.default)(me.veryHigh),(0,o.default)(me.high),(0,o.default)(me.highSummary),(0,o.default)(me.target),(0,o.default)(me.low),(0,o.default)(me.veryLow),(0,o.default)(me.lowSummary),[e.bgSource===A.CGM_DATA_KEY&&ge[1]]),shapes:[].concat((0,o.default)(Q),(0,o.default)(ee))}}}return null},t.generateAmbulatoryGlucoseProfileFigure=function(e,t,n,a){var f,v,E=e.width-2,C=e.height-2-(s.AGP_SECTION_HEADER_HEIGHT+s.AGP_SECTION_DESCRIPTION_HEIGHT)-s.AGP_SECTION_BORDER_RADIUS,B=.5*l.DPI,T=.2*l.DPI,S=E-2*B,x=C-2*T,w=i.default.isNumber(null==n||null===(f=n.bgBounds)||void 0===f?void 0:f.veryHighThreshold),I=i.default.isNumber(null==n||null===(v=n.bgBounds)||void 0===v?void 0:v.veryLowThreshold);if(e.sufficientData||a===A.BGM_DATA_KEY){var L=(null==n?void 0:n.bgUnits)===A.MGDL_UNITS?s.AGP_BG_CLAMP_MGDL:s.AGP_BG_CLAMP_MMOLL,D=(0,c.mungeBGDataBins)(a,u.ONE_HR,t,[s.AGP_LOWER_QUANTILE,s.AGP_UPPER_QUANTILE]),k=["lowerQuantile","firstQuartile","median","thirdQuartile","upperQuantile"],O=D[0],N=D[D.length-1],P=i.default.map(D,(function(e,t){return(0,r.default)((0,r.default)({},e),i.default.reduce(k,(function(n,a){var r,o,s,l,d;return n[a]=(s=(null===(r=D[t-1])||void 0===r?void 0:r[a])||N[a],l=e[a],d=(null===(o=D[t+1])||void 0===o?void 0:o[a])||O[a],(s||d)&&l?s&&d?i.default.sum([s,4*l,d])/6:i.default.sum([s||0,4*l,d||0])/5:l),n}),{}))})),R=P[0],M=P[P.length-1];P.unshift((0,r.default)((0,r.default)({},M),{},{msX:R.msX-u.ONE_HR})),P.push((0,r.default)((0,r.default)({},R),{},{msX:M.msX+u.ONE_HR}));var _=function(e,t,n,a,r){return{name:n,type:"scatter",x:[].concat((0,o.default)(i.default.map(P,"msX")),(0,o.default)(i.default.map(i.default.reverse((0,o.default)(P)),"msX"))),y:[].concat((0,o.default)(i.default.map(P,e)),(0,o.default)(i.default.map(i.default.reverse((0,o.default)(P)),t))),yaxis:0===r?"y":"y".concat(r+1),fill:"tozerox",fillcolor:s.colors.ambulatoryGlucoseProfile[n][a],mode:"none",line:{simplify:!1,shape:"spline",smoothing:.5}}},F=i.default.filter([I&&"veryLow","low","target","high",w&&"veryHigh"],Boolean),G=i.default.filter([0,I&&n.bgBounds.veryLowThreshold,n.bgBounds.targetLowerBound,n.bgBounds.targetUpperBound,w&&n.bgBounds.veryHighThreshold,L],(function(e){return i.default.isNumber(e)})),j=i.default.findIndex(F,(function(e){return"target"===e})),H=j+1,U=i.default.map(G,(function(e,t){var a=i.default.includes([j,H],t),r=0;return 0===t&&(r=4),1===t&&(r=-2),y({align:"right",font:{color:a?s.colors.white:s.colors.text.ticks.bg,size:s.fontSizes.ambulatoryGlucoseProfile.bgTicks},height:9,text:g(0===t?e:(0,d.formatBgValue)(e,n,void 0,!0)),y:e/L,yanchor:"middle",yref:"paper",yshift:r,xanchor:"right",xref:"x",xshift:-2,x:0})})),Y=i.default.map(i.default.slice(G,j,H+1),(function(e){return{fillcolor:s.colors.line.range.target,line:{width:0},tick:e,path:(t=e/L*x,n=-23,a=t+5,r=t-5,["M ".concat(-1," ").concat(t),"V ".concat(t-1),"L ".concat(-5," ").concat(r),"H ".concat(-21),"Q ".concat(n," ").concat(r," ").concat(n," ").concat(r+2),"V ".concat(a-2),"Q ".concat(n," ").concat(a," ").concat(-21," ").concat(a),"H ".concat(-5),"L ".concat(-1," ").concat(t+1),"V ".concat(t)].join(" ")),type:"path",xanchor:0,xref:"paper",xsizemode:"pixel",yanchor:0,yref:"paper",ysizemode:"pixel"};var t,n,a,r})),z=i.default.map(G,(function(e,t){var n=5===t,r=i.default.includes([j,H],t),o=0===t;return{layer:a===A.CGM_DATA_KEY&&(r||n)?"above":"below",line:{color:r?s.colors.line.range.target:s.colors.line.range.default,width:r?2:1},type:"line",x0:n||o?-1:0,x1:n||o?S+1:S,xref:"paper",xanchor:0,xsizemode:"pixel",y0:e/L,y1:e/L,yref:"paper"}})),W=i.default.map(k,(function(e){return R[e]&&M[e]?(R[e]+M[e])/2:a===A.CGM_DATA_KEY?R[e]||M[e]:void 0})),V=["5%","25%","50%","75%","95%"],$=i.default.map(W,(function(e){return m(x,e/L)})),q=(0,o.default)($),Q=$[2],K=b(s.fontSizes.ambulatoryGlucoseProfile.percentileTicks)+2;q[1]=i.default.min([Q-K,q[1]]),q[0]=i.default.min([q[1]-K,q[0]]),q[3]=i.default.max([Q+K,q[3]]),q[4]=i.default.max([q[3]+K,q[4]]);var X=i.default.map(q,(function(e,t){return e-$[t]})),Z=i.default.map(W,(function(e,t){return y({align:"left",font:{color:2===t?s.colors.black:s.colors.text.ticks.percentile,size:s.fontSizes.ambulatoryGlucoseProfile.percentileTicks},name:F[t],text:g(V[t]),visible:i.default.isFinite(e)&&e/L<=1,y:e/L,yanchor:"middle",yref:"paper",yshift:X[t],xanchor:"left",xref:"x",xshift:5,x:A.MS_IN_DAY})})),J=i.default.map(W,(function(e,t){return{line:{color:s.colors.line.ticks,width:1},type:"line",visible:i.default.isFinite(e)&&e/L<=1,x0:S,x1:S+5,xref:"paper",xanchor:0,xsizemode:"pixel",y0:e/L,y1:e/L+h(x,X[t]),yref:"paper"}})),ee=i.default.range(0,A.MS_IN_DAY+1,6*A.MS_IN_HOUR),te=i.default.filter(i.default.range(0,A.MS_IN_DAY+1,A.MS_IN_HOUR),(function(e){return e/A.MS_IN_HOUR%12!=0})),ne=i.default.map(i.default.range(0,A.MS_IN_DAY+1,3*A.MS_IN_HOUR),(function(e){return y({align:"center",font:{color:e/A.MS_IN_HOUR%12==0?s.colors.black:s.colors.darkGrey,size:s.fontSizes.ambulatoryGlucoseProfile.hourlyTicks},text:g(p.default.utc(e).format("ha")),y:0,yanchor:"top",yref:"y",yshift:0,xanchor:"middle",xref:"x",x:e})})),ae=[],re=[],oe=[],ie=[],se=!1;if(i.default.each(F,(function(t,n){var r=[G[n],G[n+1]];a===A.CGM_DATA_KEY?(ae.push(_("upperQuantile","lowerQuantile","outerQuantile",t,n)),ae.push(_("thirdQuartile","firstQuartile","interQuartile",t,n)),ae.push({name:"median",type:"scatter",x:i.default.map(P,"msX"),y:i.default.map(P,"median"),yaxis:0===n?"y":"y".concat(n+1),mode:"lines",fill:"none",line:{color:s.colors.ambulatoryGlucoseProfile.median[t],simplify:!1,shape:"spline",width:3,smoothing:.5}})):a===A.BGM_DATA_KEY&&e.sufficientData&&i.default.each(P,(function(e,a){var r=[P[a-1],e],l=i.default.filter(r,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.thirdQuartile,n=e.firstQuartile;return i.default.isFinite(t)&&i.default.isFinite(n)}));2===l.length&&ae.push(function(e,t,n,a,r,l){return{name:n,type:"scatter",x:[].concat((0,o.default)(i.default.map(l,"msX")),(0,o.default)(i.default.map(i.default.reverse((0,o.default)(l)),"msX"))),y:[].concat((0,o.default)(i.default.map(l,"thirdQuartile")),(0,o.default)(i.default.map(i.default.reverse((0,o.default)(l)),"firstQuartile"))),yaxis:0===r?"y":"y".concat(r+1),fill:"toself",fillcolor:s.colors.ambulatoryGlucoseProfile[n][a],mode:"none",line:{simplify:!1,shape:"line",smoothing:0}}}(0,0,"interQuartile",t,n,l));var d=i.default.filter(r,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).median;return i.default.isFinite(e)})),u=a===P.length-1;if(u&&l.length<2){var c=(r[0].median+r[1].median)/2;se=c>L/2?"bottom":"top"}if(2===d.length){var f=1===a,p=d[0].msX/A.MS_IN_DAY,g=d[1].msX/A.MS_IN_DAY,m=d[0].median,b=d[1].median;f&&(p=0,m=b-(b-m)/2),u&&(g=1,b-=(b-m)/2),oe.push({type:"line",x0:p,x1:g,y0:m,y1:b,line:{color:s.colors.ambulatoryGlucoseProfile.median[t],width:3},xref:"paper",xsizemode:"scaled",yref:0===n?"y":"y".concat(n+1),ysizemode:"scaled"});var y=h(S,1.5),v=h(x,1.5)*L,E=[P[a-2],P[a-1]];if(2===i.default.filter(E,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).median;return i.default.isFinite(e)})).length){var C=r[0];oe.push({type:"circle",x0:C.msX/A.MS_IN_DAY-y,x1:C.msX/A.MS_IN_DAY+y,y0:C.median-v,y1:C.median+v,line:{width:0},fillcolor:s.colors.ambulatoryGlucoseProfile.median[t],xref:"paper",xsizemode:"scaled",yref:0===n?"y":"y".concat(n+1),ysizemode:"scaled"})}}}));var l={domain:[r[0]/L,r[1]/L],range:r,showgrid:!1,showline:!0,linecolor:s.colors.lightGrey,mirror:!0,showticklabels:!1,zeroline:!1};re.push(l)})),se){var le=h(S,4),de="top"===se?1-h(x,79):h(x,4);i.default.each(Z,(function(e,t){var n=i.default.includes([0,2,4],t),a=2===t,r=15*t;if(ie.push({type:"rect",x0:0,x1:5,y0:r,y1:r+15,line:{width:0},fillcolor:s.colors.ambulatoryGlucoseProfile.interQuartile[e.name],xanchor:1+le,xref:"paper",xsizemode:"pixel",yanchor:0+de,yref:"paper",ysizemode:"pixel"}),a&&ie.push({type:"line",x0:0,x1:5,y0:r+7.5,y1:r+7.5,line:{color:s.colors.ambulatoryGlucoseProfile.median.target,width:3},xanchor:1+le,xref:"paper",xsizemode:"pixel",yanchor:0+de,yref:"paper",ysizemode:"pixel"}),n){var o=.5,l=t+1;t>0&&(o=a?7.5:14.5,l=a?t:t-1),J.push({type:"line",x0:0,x1:5,y0:r+o,y1:r+o,line:{color:s.colors.line.ticks,width:1},xanchor:1+h(S,5)+le,xref:"paper",xsizemode:"pixel",yanchor:0+de,yref:"paper",ysizemode:"pixel"}),Z.push(y({align:"left",font:{color:a?s.colors.black:s.colors.text.ticks.percentile,size:s.fontSizes.ambulatoryGlucoseProfile.percentileTicks},name:F[t],text:g(V[l]),xanchor:"left",xref:"paper",xshift:5,x:1+h(S,5)+le,y:h(x,r+o),yanchor:"middle",yref:"paper",yshift:m(x,de)}))}}))}var ue=[],ce=[],fe=[],Ae=[],pe=[];if(a===A.BGM_DATA_KEY){var ge=h(S,2.25),me=h(x,2.25),he=function(e){return i.default.map(i.default.filter(t,(function(t){var a=t.value;return(0,c.classifyBgValue)(n.bgBounds,n.bgUnits,a,"fiveWay")===e})),(function(t){return{type:"circle",x0:t.msPer24/A.MS_IN_DAY-ge,x1:t.msPer24/A.MS_IN_DAY+ge,y0:i.default.min([t.value,L])/L-me,y1:i.default.min([t.value,L])/L+me,fillcolor:s.colors.bgReadings[e],line:{color:s.colors.black,width:.25},xref:"paper",xsizemode:"scaled",yref:"paper",ysizemode:"scaled"}}))};fe=he("veryLow"),ce=he("low"),ue=he("target"),Ae=he("high"),pe=he("veryHigh")}var be=(0,r.default)((0,r.default)({width:E,height:C,showlegend:!1,margin:{l:B,r:B,b:T,t:T},xaxis:{gridcolor:s.colors.line.ticks,linecolor:s.colors.line.ticks,range:[0,A.MS_IN_DAY],showgrid:!0,showline:!1,showticklabels:!1,tickvals:ee,zeroline:!1},xaxis2:{range:[0,A.MS_IN_DAY],overlaying:"x",showgrid:!1,showline:!1,showticklabels:!1,ticks:"inside",tickcolor:s.colors.lightGrey,ticklen:5,tickvals:te,zeroline:!1}},i.default.reduce(re,(function(e,t,n){return e[0===n?"yaxis":"yaxis".concat(n+1)]=t,e}),{})),{},{annotations:[].concat((0,o.default)(U),(0,o.default)(Z),(0,o.default)(ne),[y({font:{color:s.colors.text.ticks.bg,size:s.fontSizes.ambulatoryGlucoseProfile.bgUnits},text:null==n?void 0:n.bgUnits,x:0,xanchor:"right",xref:"paper",xshift:-2,y:G[5]/L,yanchor:"top",yref:"paper",yshift:-4}),y({font:{color:s.colors.black,size:s.fontSizes.ambulatoryGlucoseProfile.bgUnits},text:g(s.text.ambulatoryGlucoseProfile[a].targetRange),x:0,xanchor:"right",xref:"paper",xshift:-2,y:i.default.mean(i.default.slice(G,2,4))/L,yanchor:"middle",yref:"paper"})]),shapes:[].concat((0,o.default)(z),(0,o.default)(Y),(0,o.default)(ue),(0,o.default)(ce),(0,o.default)(fe),(0,o.default)(Ae),(0,o.default)(pe),oe,(0,o.default)(J),ie)}),ye={data:[].concat(ae,[{visible:!1,xaxis:"x2"}],(0,o.default)(i.default.map(re,(function(e,t){return{visible:!1,yaxis:0===t?"y":"y".concat(t+1)}})))),layout:be};return ye}return null},t.generateDailyGlucoseProfilesFigure=function(e,t,n,a){var u=e.width-2,f=(e.height-2-(s.AGP_SECTION_HEADER_HEIGHT+s.AGP_SECTION_DESCRIPTION_HEIGHT)-s.AGP_SECTION_BORDER_RADIUS)/2,m=.5*l.DPI,b=.2*l.DPI,v=u-2*m,E=f-(b+1);if(e.sufficientData){var C,B,T=(null==n?void 0:n.bgUnits)===A.MGDL_UNITS?s.AGP_BG_CLAMP_MGDL:s.AGP_BG_CLAMP_MMOLL,S=[0,null==n||null===(C=n.bgBounds)||void 0===C?void 0:C.targetLowerBound,null==n||null===(B=n.bgBounds)||void 0===B?void 0:B.targetUpperBound,T],x=i.default.map(i.default.slice(S,1,3),(function(e){return y({align:"right",font:{color:s.colors.text.ticks.dailyProfileBg,size:s.fontSizes.dailyGlucoseProfiles.bgTicks},text:g((0,d.formatBgValue)(e,n,void 0,!0)),y:e/T,yanchor:"middle",yref:"paper",xanchor:"right",xref:"x",xshift:-2,x:0})})),w=i.default.map(S,(function(e,t){var n=3===t,a=i.default.includes([1,2],t),r=0===t;return{layer:a||n?"above":"below",line:{color:a?s.colors.line.range.dailyProfileTarget:s.colors.line.range.default,width:1},type:"line",x0:n||r?-1:0,x1:n||r?v+1:v,xref:"paper",xanchor:0,xsizemode:"pixel",y0:e/T,y1:e/T,yref:"paper"}})),I=i.default.range(0,7*A.MS_IN_DAY+1,12*A.MS_IN_HOUR),L=i.default.map(i.default.filter(I,(function(e,t){return t%2!=0})),(function(e,n){return y({align:"center",font:{color:s.colors.black,size:"ha"===a?s.fontSizes.dailyGlucoseProfiles.timeTicks:s.fontSizes.dailyGlucoseProfiles.weekdayTicks},text:g("ha"===a?p.default.utc(e).format(a):p.default.utc(String(t[n][0])).format(a)),y:1,yanchor:"bottom",yref:"paper",yshift:1,xanchor:"middle",xref:"x",x:e})})),D=i.default.flatten(i.default.map(t,(function(e){return e[0]}))),k=i.default.map(D,(function(e,t){return y({align:"left",font:{color:s.colors.text.calendarDates,size:s.fontSizes.dailyGlucoseProfiles.calendarDates},text:g(p.default.utc(e).format("D")),y:1,yanchor:"top",yref:"paper",yshift:0,xanchor:"left",xref:"x",xshift:0,x:t*A.MS_IN_DAY})})),O=[],N=[],P=i.default.flatten(i.default.map(t,(function(e,t){return i.default.map(e[1],(function(e){return(0,r.default)((0,r.default)({},e),{},{msPer24:e.msPer24+A.MS_IN_DAY*t,bgRange:e.type===A.BGM_DATA_KEY?(0,c.classifyBgValue)(n.bgBounds,n.bgUnits,e.value,"threeWay"):void 0})}))}))),R=[],M=[],_=[];if(e.bgSource===A.CGM_DATA_KEY&&i.default.each(["low","target","high"],(function(e,t){var n=0===t,a=1===t,r=i.default.first(P),l=i.default.last(P),d=[S[t],S[t+1]],u=n?1:0;O.push({name:"rangeFill",type:"scatter",x:a?[0,7*A.MS_IN_DAY,7*A.MS_IN_DAY,0]:[null==r?void 0:r.msPer24].concat((0,o.default)(i.default.map(P,"msPer24")),[null==l?void 0:l.msPer24,null==r?void 0:r.msPer24]),y:a?[d[1],d[1],d[0],d[0]]:[d[u]].concat((0,o.default)(i.default.map(P,"value")),[d[u],d[u]]),yaxis:0===t?"y":"y".concat(t+1),mode:"none",fill:"tonextx",fillcolor:s.colors.dailyGlucoseProfiles[e].fill,line:{color:s.colors.dailyGlucoseProfiles[e].line,simplify:!1,width:1}}),O.push({name:"median",type:"scatter",x:i.default.map(P,"msPer24"),y:i.default.map(P,"value"),yaxis:0===t?"y":"y".concat(t+1),mode:"lines",fill:"none",line:{color:s.colors.dailyGlucoseProfiles[e].line,simplify:!1,width:1}});var c={domain:[d[0]/T,d[1]/T],range:d,showgrid:!1,showline:!0,linecolor:s.colors.lightGrey,mirror:!0,showticklabels:!1,zeroline:!1};N.push(c)})),e.bgSource===A.BGM_DATA_KEY){var F=h(v,2),G=h(E,2),j=function(e){return i.default.map(i.default.filter(P,{bgRange:e}),(function(t){return{type:"circle",x0:t.msPer24/(7*A.MS_IN_DAY)-F,x1:t.msPer24/(7*A.MS_IN_DAY)+F,y0:i.default.min([t.value,T])/T-G,y1:i.default.min([t.value,T])/T+G,fillcolor:s.colors.bgReadings[e],line:{color:s.colors.black,width:.25},xref:"paper",xsizemode:"scaled",yref:"paper",ysizemode:"scaled"}}))};R=j("low"),M=j("target"),_=j("high"),O.push({name:"rangeFill",type:"scatter",x:[0,7*A.MS_IN_DAY,7*A.MS_IN_DAY,0],y:[S[2],S[2],S[1],S[1]],yaxis:"y",mode:"none",fill:"tonextx",fillcolor:s.colors.dailyGlucoseProfiles.target.fill,line:{color:s.colors.dailyGlucoseProfiles.target.line,simplify:!1,width:1}});var H={domain:[0,1],range:[0,T],showgrid:!1,showline:!0,linecolor:s.colors.lightGrey,mirror:!0,showticklabels:!1,zeroline:!1};N.push(H)}var U=(0,r.default)((0,r.default)({width:u,height:f,showlegend:!1,margin:{l:m,r:m,b:1,t:b},xaxis:{gridcolor:s.colors.line.ticks,linecolor:s.colors.line.ticks,range:[0,7*A.MS_IN_DAY],showgrid:!0,showline:!1,showticklabels:!1,tickvals:I,zeroline:!1}},i.default.reduce(N,(function(e,t,n){return e[0===n?"yaxis":"yaxis".concat(n+1)]=t,e}),{})),{},{annotations:[].concat((0,o.default)(x),(0,o.default)(L),(0,o.default)(k),[y({font:{color:s.colors.text.ticks.bg,size:s.fontSizes.dailyGlucoseProfiles.bgUnits},text:g(null==n?void 0:n.bgUnits),textangle:270,x:0,xanchor:"right",xref:"paper",xshift:-18,y:i.default.mean(i.default.slice(S,1,3))/T,yanchor:"middle",yref:"paper",yshift:0})]),shapes:[].concat((0,o.default)(w),(0,o.default)(M),(0,o.default)(R),(0,o.default)(_))}),Y={data:[].concat(O,(0,o.default)(i.default.map(N,(function(e,t){return{visible:!1,yaxis:0===t?"y":"y".concat(t+1)}})))),layout:U};return Y}return null}},56765:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WIDTH=t.SMALL_FONT_SIZE=t.MARGINS=t.MARGIN=t.LARGE_FONT_SIZE=t.HEIGHT=t.HEADER_FONT_SIZE=t.FOOTER_FONT_SIZE=t.EXTRA_SMALL_FONT_SIZE=t.DPI=t.DEFAULT_FONT_SIZE=void 0;var n=t.DPI=72,a=t.MARGIN=n/2;t.HEIGHT=11*n-2*a,t.WIDTH=8.5*n-2*a,t.MARGINS={left:a,top:a,right:a,bottom:a},t.DEFAULT_FONT_SIZE=10,t.LARGE_FONT_SIZE=12,t.FOOTER_FONT_SIZE=8,t.HEADER_FONT_SIZE=14,t.SMALL_FONT_SIZE=8,t.EXTRA_SMALL_FONT_SIZE=6},94981:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.bgPrefsPropType=void 0;var r=a(n(29825)),o=n(66871);t.bgPrefsPropType=r.default.shape({bgBounds:r.default.shape({veryHighThreshold:r.default.number,targetUpperBound:r.default.number.isRequired,targetLowerBound:r.default.number.isRequired,veryLowThreshold:r.default.number}),bgUnits:r.default.oneOf([o.MGDL_UNITS,o.MMOLL_UNITS])})},7737:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.agpCGMText=function(e,t){var n,a;if(!t||!e)return"";var o=e.fullName,A=e.birthDate,p=t.timePrefs,g=t.bgPrefs,m=t.data.current.stats,h=m.bgExtents,b=h.newestDatum,y=h.oldestDatum,v=h.bgDaysWorn,E=m.averageGlucose.averageGlucose,C=m.timeInRange,B=C.counts,T=C.durations,S=m.glucoseManagementIndicator.glucoseManagementIndicatorAGP,x=m.sensorUsage.sensorUsageAGP,w=g||{},I=w.bgUnits,L=w.bgBounds||{},D=L.veryHighThreshold,k=L.targetUpperBound,O=L.targetLowerBound,N=L.veryLowThreshold,P=(0,c.getTimezoneFromTimePrefs)(p),R=(0,c.formatCurrentDate)(),M=1===v?i.default.utc((null==b?void 0:b.time)-(0,c.getOffset)(null==b?void 0:b.time,P)*u.MS_IN_MIN).format("MMMM D, YYYY"):function(e,t,n,a,o,i){var s=e,l=t;return r.default.isNumber(e)&&r.default.isNumber(t)&&(s=e-(0,c.getOffset)(e,i)*u.MS_IN_MIN,l=t-(0,c.getOffset)(t,i)*u.MS_IN_MIN),(0,c.formatDateRange)(s,l,void 0,"MMMM")}(null==y?void 0:y.time,null==b?void 0:b.time,0,0,0,P),_=u.BG_DISPLAY_MINIMUM_INCREMENTS[I],F=k+_,G=O-_,j=">".concat(D),H="".concat(F,"-").concat(D),U="".concat(O,"-").concat(k),Y="".concat(N,"-").concat(G),z="<".concat(N),W=(0,l.formatPercentage)(B.veryHigh/B.total,0,!0),V=(0,l.formatPercentage)(B.high/B.total,0,!0),$=(0,l.formatPercentage)(B.target/B.total,0,!0),q=(0,l.formatPercentage)(B.low/B.total,0,!0),Q=(0,l.formatPercentage)(B.veryLow/B.total,0,!0),K=(0,c.formatDuration)(T.veryHigh,{condensed:!0}),X=(0,c.formatDuration)(T.high,{condensed:!0}),Z=(0,c.formatDuration)(T.target,{condensed:!0}),J=(0,c.formatDuration)(T.low,{condensed:!0}),ee=(0,c.formatDuration)(T.veryLow,{condensed:!0}),te=E?null===(n=(0,d.formatDatum)({value:E},"bgValue",{bgPrefs:g,useAGPFormat:!0}))||void 0===n?void 0:n.value:null,ne=null===(a=(0,d.formatDatum)({value:S},"gmi",{bgPrefs:g,useAGPFormat:!0}))||void 0===a?void 0:a.value,ae=(0,l.bankersRound)(x,1),re=new s.default,oe="";return oe+=re.buildTextLine(o),oe+=re.buildTextLine(f("Date of birth: {{birthDate}}",{birthDate:A})),oe+=re.buildTextLine(f("Exported from Tidepool TIDE: {{currentDate}}",{currentDate:R})),oe+=re.buildTextLine(""),oe+=re.buildTextLine(f("Reporting Period: {{reportDaysText}}",{reportDaysText:M})),oe+=re.buildTextLine(""),oe+=re.buildTextLine(f("Avg. Daily Time In Range ({{- bgUnits}})",{bgUnits:I})),oe+=re.buildTextLine(f("{{- veryHighRange}} {{percentInVeryHigh}} ({{ durationInVeryHigh }})",{veryHighRange:j,percentInVeryHigh:W,durationInVeryHigh:K})),oe+=re.buildTextLine(f("{{highRange}} {{percentInHigh}} ({{ durationInHigh }})",{highRange:H,percentInHigh:V,durationInHigh:X})),oe+=re.buildTextLine(f("{{targetRange}} {{percentInTarget}} ({{ durationInTarget }})",{targetRange:U,percentInTarget:$,durationInTarget:Z})),oe+=re.buildTextLine(f("{{lowRange}} {{percentInLow}} ({{ durationInLow }})",{lowRange:Y,percentInLow:q,durationInLow:J})),oe+=re.buildTextLine(f("{{- veryLowRange}} {{percentInVeryLow}} ({{ durationInVeryLow }})",{veryLowRange:z,percentInVeryLow:Q,durationInVeryLow:ee})),oe+=re.buildTextLine(""),oe+=re.buildTextLine(f("Avg. Glucose (CGM): {{avgGlucose}} {{- bgUnits}}",{avgGlucose:te,bgUnits:I})),(oe+=re.buildTextLine(f("Sensor Usage: {{ cgmActive }}%",{cgmActive:ae})))+re.buildTextLine(f("GMI (CGM): {{ gmi }}%",{gmi:ne}))};var r=a(n(27825)),o=a(n(56427)),i=a(n(74716)),s=a(n(40549)),l=n(99559),d=n(80358),u=n(66871),c=n(74501),f=o.default.t.bind(o.default)},64892:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getAnnotationCodes=u,t.getAnnotationMessages=function(e){var t=d(e),n=[];return n=n.concat(c(e),f(e)),r.default.each(t,(function(e){var t=r.default.get(e,"code");r.default.has(l,t)&&n.push(r.default.assign({},e,{message:{value:l[t]}}))})),n},t.getAnnotations=d,t.getMedtronic600AnnotationMessages=c,t.getOutOfRangeAnnotationMessage=f;var r=a(n(27825)),o=a(n(56427)),i=o.default.t.bind(o.default);void 0===r.default.get(o.default,"options.returnEmptyString")&&o.default.init({returnEmptyString:!1,nsSeparator:"|"});var s={"medtronic600/smbg/user-accepted-remote-bg":i("Yes"),"medtronic600/smbg/user-rejected-remote-bg":i("No"),"medtronic600/smbg/remote-bg-acceptance-screen-timeout":i("Timed Out")},l={"animas/bolus/extended-equal-split":i("* Animas pumps don't capture the details of how combo boluses are split between the normal and extended amounts."),"medtronic/wizard/carb-to-exchange-ratio-deconverted":i("* Due to how carb ratios are uploaded from this pump, there may be a slight discrepancy between the value entered on the pump and the value displayed here.")};function d(e){return r.default.get(e,"annotations",[])}function u(e){return r.default.map(d(e),"code")}function c(e){var t=d(e),n=u(e),a=[],o=r.default.intersection(r.default.keys(s),n);return o.length>0&&a.push(r.default.assign({},r.default.find(t,{code:o[0]}),{message:{label:i("Confirm BG"),value:s[o[0]]}})),a}function f(e){var t=d(e),n="cbg"===(null==e?void 0:e.type)?i("glucose"):i("BG"),a=[];return r.default.each(t,(function(e){if("bg/out-of-range"===r.default.get(e,"code","")){var t=e.value;a.push(r.default.assign({},e,{message:{value:i("* This {{bgTypeLabel}} value was {{value}}er than your device could record. Your actual {{bgTypeLabel}} value is {{value}}er than it appears here.",{value:t,bgTypeLabel:n})}}))}})),a}},11673:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.countDistinctSuspends=t.countAutomatedBasalEvents=void 0,t.getBasalDurationWithinRange=c,t.getBasalGroupDurationsFromEndpoints=function(e,t){var n={automated:0,manual:0};return r.default.each(e,(function(e){n[s(e)]+=c(e,t)})),n},t.getBasalPathGroupType=s,t.getBasalPathGroups=l,t.getBasalSequences=function(e){for(var t=[],n=e[0],a=[e[0]],r=1;r<=e.length-1;){var o=e[r];(o.subType!==n.subType||n.discontinuousEnd||0===o.rate)&&(t.push(a),a=[]),a.push(o),n=o,++r}return t.push(a),t},t.getEndpoints=d,t.getGroupDurations=function(e,t,n){var a=d(e,t,n,!0),o={automated:0,manual:0};if(a.start.index>=0&&a.end.index>=0){var i=new Date(a.start.datetime),l=new Date(a.end.datetime),u=e[a.start.index],c=r.default.min([new Date(u.normalEnd)-i,u.duration]);o[s(u)]=c;for(var f=a.start.index+1;f<a.end.index;)o[s(u=e[f])]+=u.duration,f++;o[s(u=e[a.end.index])]+=r.default.min([l-new Date(u.normalTime),u.duration])}return o},t.getSegmentDose=u,t.getTotalBasalFromEndpoints=function(e,t){var n=0;return r.default.each(e,(function(e){n+=u(c(e,t),e.rate)})),(0,o.formatInsulin)(n)};var r=a(n(27825)),o=n(99559),i=n(74501);function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.default.get(e,"subType",e.deliveryType),n=r.default.get(e.suppressed,"subType",r.default.get(e.suppressed,"deliveryType"));return r.default.includes([t,n],"automated")?"automated":"manual"}function l(e){var t,n=[];return r.default.each(e,(function(e){var a=s(e);a!==t&&(t=a,n.push([])),r.default.last(n).push(e)})),n}function d(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=new Date(t),i=new Date(n),s=r.default.findIndex(e,(function(e){return(a||new Date(e.normalTime).valueOf()<=o)&&o<=new Date(e.normalEnd).valueOf()})),l=r.default.findLastIndex(e,(function(e){return new Date(e.normalTime).valueOf()<=i&&(a||i<=new Date(e.normalEnd).valueOf())}));return{start:{datetime:o.toISOString(),index:s},end:{datetime:i.toISOString(),index:l}}}function u(e,t){var n=e/i.ONE_HR;return parseFloat((0,o.precisionRound)(n*t,3))}function c(e,t){var n=new Date(t[0]).valueOf(),a=new Date(t[1]).valueOf(),o=new Date(e.normalTime).valueOf(),i=new Date(e.normalEnd).valueOf(),s=n<=o&&o<a,l=n<i&&i<=a,d=n>=o&&i>=a,u=r.default.max([n,o]),c=r.default.min([a,i]);return s||l||d?c-u:0}t.countAutomatedBasalEvents=function(e){var t=r.default.cloneDeep(e),n=l(t.data);n.shift();var a={automatedStop:0};return r.default.reduce(n,(function(e,t){var n="automated"===r.default.get(t[0],"subType",t[0].deliveryType)?"automatedStart":"automatedStop";return"automatedStop"===n&&e[n]++,e}),a),r.default.assign(t.subtotals,a),t.total+=a.automatedStop,t},t.countDistinctSuspends=function(e){var t=r.default.cloneDeep(e),n=r.default.filter(t.data,(function(e){return"suspend"===e.deliveryType})),a={prev:{},distinct:0,skipped:0};return r.default.reduce(n,(function(e,t){return r.default.get(e.prev,"normalEnd")===t.normalTime?e.skipped++:e.distinct++,e.prev=t,e}),a),t.subtotals.suspend=a.distinct,t.total-=a.skipped,t}},54114:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.basicsText=function(e,t,n,a,i){var s=t.bgPrefs,l=t.data,d=l.aggregationsByDate,u=void 0===d?{}:d,c=l.current.endpoints,f=void 0===c?{}:c,g=t.metaData,m=t.timePrefs,h=new p.TextUtil(e,f.range,m,i),b=h.buildDocumentHeader("Basics");b+=h.buildDocumentDates(),b+=h.buildTextLine(A("Days with no insulin data have been excluded from calculations")),b+=p.statsText(n,h,s);var y,v,E,C=function(e,t,n){var a=[];return o.default.each(e,(function(e){var i=o.default.get(t,[].concat((0,r.default)(e.path.split(".")),[e.key])),s=e.average?Math.round(o.default.get(t,[].concat((0,r.default)(e.path.split(".")),["avgPerDay"]))):o.default.get(i,"count",i||0),l={label:e.label,value:s.toString()};if(e.primary)l.label=n,a.unshift(l);else{if(0===s&&e.hideEmpty)return;a.push(l)}})),{rows:a,columns:[{key:"label",label:"Label"},{key:"value",label:"Value"}]}};if(!a.fingersticks.disabled){var B=C(a.fingersticks.dimensions,u.fingersticks,a.fingersticks.summaryTitle);b+=h.buildTextTable("",B.rows,B.columns,{showHeader:!1})}if(!a.boluses.disabled){var T=C(a.boluses.dimensions,u.boluses,a.boluses.summaryTitle);b+=h.buildTextTable("",T.rows,T.columns,{showHeader:!1})}if(!a.siteChanges.disabled){var S=(y=o.default.get(u,"siteChanges.byDate",{}),v=a.siteChanges.source,E=[],o.default.each(o.default.valuesIn(y),(function(e){var t=o.default.get(e,["summary","daysSince",v]);t&&E.push(t)})),{columns:[{key:"label",label:"Label"},{key:"value",label:"Value"}],rows:[{label:"Mean Duration",value:"".concat(Math.round(10*o.default.mean(E))/10," days")},{label:"Longest Duration",value:"".concat(o.default.max(E)," days")}]});b+=h.buildTextTable("".concat(a.siteChanges.title," from '").concat(a.siteChanges.subTitle,"'"),S.rows,S.columns,{showHeader:!1})}if(!a.basals.disabled){var x=C(a.basals.dimensions,u.basals,a.basals.summaryTitle);b+=h.buildTextTable("",x.rows,x.columns,{showHeader:!1})}var w=o.default.filter(null==g?void 0:g.devices,(function(e){var t,n=e.id;return null==g||null===(t=g.matchedDevices)||void 0===t?void 0:t[n]}));if(w.length){var I=["\n".concat(A("Devices Uploaded"))].concat((0,r.default)(o.default.map(w,(function(e){var t=e.id;return e.label||t}))));o.default.each(I,(function(e){b+=h.buildTextLine(e)}))}return b},t.defineBasicsAggregations=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=(0,d.generateBgRangeLabels)(e);a.veryLow=o.default.upperFirst(a.veryLow),a.low=o.default.upperFirst(a.low),a.high=o.default.upperFirst(a.high),a.veryHigh=o.default.upperFirst(a.veryHigh);var r=(0,l.getPumpVocabulary)(t),i={};return o.default.each(["basals","boluses","fingersticks","siteChanges"],(function(t){var s,d,c,f,p=t,g="",m=3;switch(t){case"basals":g="Basals",f=A("Total basal events"),c=[{path:"basal.summary",key:"total",label:A("Basal Events"),primary:!0},{path:"basal.summary.subtotals",key:"temp",label:A("Temp Basals"),hideEmpty:(0,l.isLoop)(n.settings)},{path:"basal.summary.subtotals",key:"suspend",label:A("Suspends")},{path:"basal.summary.subtotals",key:"automatedStop",label:A("{{automatedLabel}} {{automatedModeExited}}",{automatedLabel:r[u.AUTOMATED_DELIVERY],automatedModeExited:r[u.AUTOMATED_MODE_EXITED]}),hideEmpty:!0},{path:"automatedSuspend.summary.subtotals",key:"automatedSuspend",label:r[u.AUTOMATED_SUSPEND],hideEmpty:!0}],m=4;break;case"boluses":var h;g=A("Bolusing"),f=A("Avg boluses / day"),c=[{path:"summary",key:"total",label:A("Avg per day"),average:!0,primary:!0},{path:"summary.subtotals",key:"wizard",label:A("Calculator"),percentage:!0,selectorIndex:0},{path:"summary.subtotals",key:"correction",label:A("Correction"),percentage:!0,selectorIndex:1},{path:"summary.subtotals",key:"extended",label:A("Extended"),percentage:!0,selectorIndex:4},{path:"summary.subtotals",key:"interrupted",label:A("Interrupted"),percentage:!0,selectorIndex:5},{path:"summary.subtotals",key:"override",label:A("Override"),percentage:!0,selectorIndex:2},{path:"summary.subtotals",key:"underride",label:A("Underride"),percentage:!0,selectorIndex:6}],((0,l.isTidepoolLoop)(n.settings)||(0,l.isDIYLoop)(n.settings))&&(c[1].label=A("Meal"),c.splice(3,1),c[2].selectorIndex=6,c[5].selectorIndex=7),(0,l.isTwiistLoop)(n.settings)&&(c.push({path:"summary.subtotals",key:"oneButton",label:r[u.ONE_BUTTON_BOLUS],percentage:!0,selectorIndex:6}),c[6].selectorIndex=3,m=4),n.isAutomatedBolusDevice&&((h=c).push.apply(h,[{path:"summary.subtotals",key:"manual",label:A("Manual"),percentage:!0,selectorIndex:3},{path:"summary.subtotals",key:"automated",label:A("Automated"),percentage:!1,selectorIndex:7}]),m=4);break;case"fingersticks":g=A("BG readings"),f=A("Avg BG readings / day"),c=o.default.filter([{path:"smbg.summary",key:"total",label:A("Avg per day"),average:!0,primary:!0},{path:"smbg.summary.subtotals",key:"meter",label:A("Meter"),percentage:!0},{path:"smbg.summary.subtotals",key:"manual",label:A("Manual"),percentage:!0},{path:"calibration.summary.subtotals",key:"calibration",label:A("Calibrations"),hideEmpty:!0},o.default.isNumber(null==e||null===(s=e.bgBounds)||void 0===s?void 0:s.veryLowThreshold)?{path:"smbg.summary.subtotals",key:"veryLow",label:a.veryLow,percentage:!0}:{path:"smbg.summary.subtotals",key:"low",label:a.low,percentage:!0},o.default.isNumber(null==e||null===(d=e.bgBounds)||void 0===d?void 0:d.veryHighThreshold)?{path:"smbg.summary.subtotals",key:"veryHigh",label:a.veryHigh,percentage:!0}:{path:"smbg.summary.subtotals",key:"high",label:a.high,percentage:!0}],Boolean);break;case"siteChanges":g=A("Site Changes");break;default:p=!1}i[t]={dimensions:c,perRow:m,summaryTitle:f,title:g,type:p}})),i},t.findBasicsDays=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"UTC",n=[],a=i.default.utc(e[0]).tz(t).format("YYYY-MM-DD"),r=i.default.utc(e[1]).tz(t).subtract(1,"ms").format("YYYY-MM-DD"),o=i.default.utc(e[0]).tz(t).startOf("isoWeek").toDate();o<i.default.utc(e[1]).tz(t).endOf("isoWeek");){var s=i.default.utc(o).tz(t).format("YYYY-MM-DD"),l={date:s};l.type=s<a||s>r?"outOfRange":"inRange",n.push(l),o=i.default.utc(o).tz(t).add(1,"days").toDate()}return n},t.findBasicsStart=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"UTC";return i.default.utc(o.default.isInteger(e)?e:Date.parse(e)).tz(t).startOf("isoWeek").subtract(14,"days").toDate()},t.generateCalendarDayLabels=function(e){var t=i.default.utc(e[0].date).day();return o.default.map(o.default.range(t,t+7),(function(e){return i.default.utc().day(e).format("ddd")}))},t.getSiteChangeSource=g,t.getSiteChangeSourceLabel=m,t.processBasicsAggregations=function(e,t,n,a){var r=o.default.cloneDeep(t),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.default.get(e.summary,"total",o.default.keys(e.byDate).length)>0};return o.default.each(e,(function(t,o){var s=t.type,l=!1;if("boluses"===s)l=!i(r[s]);else if("basals"===s){var d,u,c=i(null===(d=r[s])||void 0===d?void 0:d.basal),f=i(null===(u=r[s])||void 0===u?void 0:u.automatedSuspend);l=!c&&!f}else if("fingersticks"===s){var p,h,b=i(null===(p=r[s])||void 0===p?void 0:p.smbg),y=i(null===(h=r[s])||void 0===h?void 0:h.calibration);l=!b&&!y}else"siteChanges"===s&&(e[o].source=g(n,a),e[o].manufacturer=a,(l=!i(r[s]))||(e[o].subTitle=m(e[o].source,a)));l&&(e[o].emptyText=function(t,n){var a;switch(n){case"basals":case"boluses":a=e.boluses.disabled&&e.basals.disabled?A("This section requires data from an insulin pump, so there's nothing to display."):A("There are no {{ type }} events to display for this date range.",{type:A("basals"===n?"basal":"bolus")});break;case"siteChanges":a=A("This section requires data from an insulin pump, so there's nothing to display.");break;case"fingersticks":a=A("This section requires data from a blood-glucose meter, so there's nothing to display.");break;default:a=A("Why is this grey? There is not enough data to show this statistic.")}return a}(0,o)),e[o].disabled=l})),e},t.utils=void 0;var r=a(n(84374)),o=a(n(27825)),i=a(n(74716)),s=a(n(56427)),l=n(11270),d=n(84240),u=n(66871),c=a(n(40549)),f=n(80358),A=s.default.t.bind(s.default),p=t.utils={reshapeBgClassesToBgBounds:d.reshapeBgClassesToBgBounds,statsText:f.statsText,TextUtil:c.default};function g(){var e=arguments.length>1?arguments[1]:void 0,t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).settings,n=u.SITE_CHANGE_TYPE_UNDECLARED;if(o.default.includes(o.default.map([u.ANIMAS,u.MEDTRONIC,u.TANDEM],o.default.lowerCase),e)){n=o.default.get(t,"siteChangeSource");var a=[u.SITE_CHANGE_CANNULA,u.SITE_CHANGE_TUBING];o.default.includes(a,n)||(n=u.SITE_CHANGE_CANNULA)}else if(o.default.includes(o.default.map([u.INSULET,u.MICROTECH],o.default.lowerCase),e))n=u.SITE_CHANGE_RESERVOIR;else if(o.default.includes(o.default.map([u.TWIIST_LOOP],o.default.lowerCase),e)){n=o.default.get(t,"siteChangeSource");var r=[u.SITE_CHANGE_CANNULA,u.SITE_CHANGE_RESERVOIR];o.default.includes(r,n)||(n=u.SITE_CHANGE_RESERVOIR)}else o.default.includes(o.default.map([u.DIY_LOOP,u.TIDEPOOL_LOOP],o.default.lowerCase),e)&&(n=u.SITE_CHANGE_TUBING);return n}function m(e,t){var n,a=e!==u.SITE_CHANGE_TYPE_UNDECLARED?u.pumpVocabulary.default[u.SITE_CHANGE_RESERVOIR]:null;return o.default.get(u.pumpVocabulary,[(0,l.getUppercasedManufacturer)(t),e],(null===u.pumpVocabulary||void 0===u.pumpVocabulary||null===(n=u.pumpVocabulary.default)||void 0===n?void 0:n[e])||a)}},98020:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.bgLogText=function(e,t,n,a){var i,s=t.bgPrefs,l=t.data.current.endpoints,d=void 0===l?{}:l,p=t.metaData,g=t.timePrefs;o.default.defaults(s,{bgBounds:A.reshapeBgClassesToBgBounds(s)});var m=new A.TextUtil(e,d.range,g,a),h=m.buildDocumentHeader("BG Log");h+=m.buildDocumentDates(),h+=A.statsText(n,m,s),h+=m.buildTextLine();var b=o.default.filter((null==t||null===(i=t.data)||void 0===i?void 0:i.combined)||[],(function(e){return"smbg"===e.type&&e.normalTime>=d.range[0]&&e.normalTime<d.range[1]}));h+=o.default.map(b.reverse(),(function(e){return[(0,c.formatLocalizedFromUTC)(e.normalTime,g,"ddd, MMM D, YYYY h:mm A"),(0,u.formatBgValue)(e.value,s),"(".concat(o.default.capitalize(e.subType||"meter"),")")].join("\t")})).join("\n");var y=o.default.filter(null==p?void 0:p.devices,(function(e){var t,n=e.id;return null==p||null===(t=p.matchedDevices)||void 0===t?void 0:t[n]}));if(y.length){var v=["\n\n".concat(f("Devices Uploaded"))].concat((0,r.default)(o.default.map(y,(function(e){var t=e.id;return e.label||t}))));o.default.each(v,(function(e){h+=m.buildTextLine(e)}))}return h},t.utils=void 0;var r=a(n(84374)),o=a(n(27825)),i=a(n(56427)),s=a(n(40549)),l=n(80358),d=n(84240),u=n(99559),c=n(74501),f=i.default.t.bind(i.default),A=t.utils={reshapeBgClassesToBgBounds:d.reshapeBgClassesToBgBounds,statsText:l.statsText,TextUtil:s.default}},84240:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.calculateCbgStatsForBin=p,t.calculateSmbgStatsForBin=g,t.classifyBgValue=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"threeWay";if(i.default.isEmpty(e)||!i.default.isNumber(i.default.get(e,"targetLowerBound"))||!i.default.isNumber(i.default.get(e,"targetUpperBound")))throw new Error("You must provide a `bgBounds` object with a `targetLowerBound` and a `targetUpperBound`!");if(!i.default.isNumber(n)||!i.default.gt(n,0))throw new Error("You must provide a positive, numerical blood glucose value to categorize!");if(!i.default.includes([l.MMOLL_UNITS,l.MGDL_UNITS],t))throw new Error("Must provide a valid blood glucose unit of measure!");var r=e.veryLowThreshold,o=e.targetLowerBound,s=e.targetUpperBound,d=e.veryHighThreshold,c=t===l.MMOLL_UNITS?1:0,f=(0,u.bankersRound)(n,c);return"fiveWay"===a?i.default.isNumber(r)&&f<r?"veryLow":i.default.isNumber(d)&&f>d?"veryHigh":f<o?"low":f>s?"high":"target":f<o?"low":f>s?"high":"target"},t.classifyCvValue=function(e){return e<=36?"target":"high"},t.convertToMGDL=function(e){return e*l.MGDL_PER_MMOLL},t.convertToMmolL=function(e){return e/l.MGDL_PER_MMOLL},t.determineRangeBoundaries=c,t.findBinForTimeOfDay=f,t.findOutOfRangeAnnotations=A,t.generateBgRangeLabels=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.bgBounds,a=e.bgUnits,r=l.BG_DISPLAY_MINIMUM_INCREMENTS[a],o=i.default.mapValues(n,(function(t){return i.default.isNumber(t)?(0,u.formatBgValue)(t,e):null}));o.highLowerBound=(0,u.formatBgValue)(n.targetUpperBound+r,e),o.lowUpperBound=(0,u.formatBgValue)(n.targetLowerBound-r,e);var s=o.veryLowThreshold,d=o.lowUpperBound,c=o.targetLowerBound,f=o.targetUpperBound,A=o.highLowerBound,p=o.veryHighThreshold,g=o.extremeHighThreshold;return t.condensed?{veryLow:s?"<".concat(s):null,low:s?"".concat(s,"-").concat(d):"<".concat(c),anyLow:"<".concat(c),target:"".concat(c,"-").concat(f),high:p?"".concat(A,"-").concat(p):">".concat(f),anyHigh:">".concat(f),veryHigh:p?">".concat(p):null,extremeHigh:g?">".concat(g):null}:t.segmented?{veryLow:{suffix:a,value:s?"<".concat(s):null},low:{prefix:"between",suffix:a,value:s?"".concat(s,"-").concat(d):"<".concat(c)},anyLow:{suffix:a,value:"<".concat(c)},target:{prefix:"between",suffix:a,value:"".concat(c,"-").concat(f)},high:{prefix:"between",suffix:a,value:p?"".concat(A,"-").concat(p):">".concat(f)},anyHigh:{suffix:a,value:">".concat(f)},veryHigh:{suffix:a,value:p?">".concat(p):null},extremeHigh:{suffix:a,value:g?">".concat(g):null}}:{veryLow:s?"below ".concat(s," ").concat(a):null,low:s?"between ".concat(s," - ").concat(d," ").concat(a):"below ".concat(c," ").concat(a),anyLow:"below ".concat(c," ").concat(a),target:"between ".concat(c," - ").concat(f," ").concat(a),high:p?"between ".concat(A," - ").concat(p," ").concat(a):"above ".concat(f," ").concat(a),anyHigh:"above ".concat(f," ").concat(a),veryHigh:p?"above ".concat(p," ").concat(a):null,extremeHigh:g?"above ".concat(g," ").concat(a):null}},t.getOutOfRangeThreshold=function(e){var t=i.default.find(e.annotations||[],(function(e){return"bg/out-of-range"===e.code}));return t?(0,o.default)({},t.value,t.threshold):null},t.isCustomBgRange=function(e){var t=e.bgBounds,n=e.bgUnits;return t.targetUpperBound!==l.DEFAULT_BG_BOUNDS[n].targetUpperBound||t.targetLowerBound!==l.DEFAULT_BG_BOUNDS[n].targetLowerBound},t.mungeBGDataBins=function(e,t,n,a){for(var r=i.default.groupBy(n,(function(e){return f(t,e.msPer24)})),o=A(n),l=i.default.map((0,s.range)(t/2,d.TWENTY_FOUR_HRS,t),(function(e){return String(e)})),u="smbg"===e?g:p,c=function(e){return e.value},m=[],h=0;h<l.length;++h){var b=i.default.map(i.default.get(r,l[h],[]),c);m.push(u(l[h],t,b,o,a))}return m},t.reshapeBgClassesToBgBounds=function(e){var t=e.bgClasses,n=e.bgUnits;return{veryHighThreshold:i.default.get(t,"high.boundary",l.DEFAULT_BG_BOUNDS[n].veryHighThreshold),targetUpperBound:i.default.get(t,"target.boundary",l.DEFAULT_BG_BOUNDS[n].targetUpperBound),targetLowerBound:i.default.get(t,"low.boundary",l.DEFAULT_BG_BOUNDS[n].targetLowerBound),veryLowThreshold:i.default.get(t,"very-low.boundary",l.DEFAULT_BG_BOUNDS[n].veryLowThreshold),extremeHighThreshold:l.DEFAULT_BG_BOUNDS[n].extremeHighThreshold,clampThreshold:l.DEFAULT_BG_BOUNDS[n].clampThreshold}},t.weightedCGMCount=function(e){return i.default.reduce(e,(function(e,t){return e+i.default.get(t,"sampleInterval",5*l.MS_IN_MIN)/l.MS_IN_MIN/5}),0)};var r=a(n(21580)),o=a(n(271)),i=a(n(27825)),s=n(17897),l=n(66871),d=n(74501),u=n(99559);function c(e){var t=i.default.filter(e,{value:"low"}),n=i.default.filter(e,{value:"high"}),a={};return i.default.isEmpty(t)||(a.low=(0,s.max)(t,(function(e){return e.threshold}))),i.default.isEmpty(n)||(a.high=(0,s.min)(n,(function(e){return e.threshold}))),a}function f(e,t){if(t<0||t>=d.TWENTY_FOUR_HRS)throw new Error("`msPer24` < 0 or >= 86400000 is invalid!");return Math.floor(t/e)*e+e/2}function A(e){var t=function(e){return"bg/out-of-range"===e.code},n=i.default.filter(e,(function(e){return i.default.some(e.annotations||[],t)})),a=i.default.map(n,(function(e){return i.default.pick(i.default.find(e.annotations||[],t),["threshold","value"])}));return i.default.uniqBy(a,(function(e){return e.threshold}))}function p(e,t,n,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],l=(0,r.default)(o,2),d=l[0],u=void 0===d?.1:d,f=l[1],A=void 0===f?.9:f,p=i.default.sortBy(n,(function(e){return e})),g=parseInt(e,10),m={id:e,min:(0,s.min)(p),lowerQuantile:(0,s.quantile)(p,u),firstQuartile:(0,s.quantile)(p,.25),median:(0,s.median)(p),thirdQuartile:(0,s.quantile)(p,.75),upperQuantile:(0,s.quantile)(p,A),max:(0,s.max)(p),msX:g,msFrom:g-t/2,msTo:g+t/2};if(!i.default.isEmpty(a)){var h=c(a);m.outOfRangeThresholds=h}return m}function g(e,t,n,a){var r=i.default.sortBy(n,(function(e){return e})),o=parseInt(e,10),l={id:e,min:(0,s.min)(r),mean:(0,s.mean)(r),max:(0,s.max)(r),msX:o,firstQuartile:n.length>=5?(0,s.quantile)(r,.25):void 0,median:n.length>=3?(0,s.median)(r):void 0,thirdQuartile:n.length>=5?(0,s.quantile)(r,.75):void 0,msFrom:o-t/2,msTo:o+t/2};if(!i.default.isEmpty(a)){var d=c(a);l.outOfRangeThresholds=d}return l}},32935:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getAnnotations=function(e){var t=s(e);return r.default.get(t,"annotations",[])},t.getBolusFromInsulinEvent=s,t.getCarbs=function(e){return"wizard"===e.type||e.wizard||e.dosingDecision?r.default.get(l(e),"carbInput",null):NaN},t.getDelivered=c,t.getDuration=function(e){var t=e;return"wizard"===r.default.get(e,"type")&&(t=s(e)),r.default.inRange(t.duration,1/0)?t.duration:NaN},t.getExtended=function(e){var t=s(e);return r.default.inRange(t.extended,1/0)?t.extended:NaN},t.getExtendedPercentage=function(e){var t=e;if("wizard"===r.default.get(e,"type")&&(t=s(e)),!t.normal||!t.extended&&!t.expectedExtended)return NaN;var n=t.expectedExtended||t.extended,a=d(t);return(0,o.formatPercentage)(n/a)},t.getMaxDuration=function(e){var t=e;return"wizard"===r.default.get(e,"type")&&(t=s(e)),r.default.inRange(t.duration,1/0)?t.expectedDuration||t.duration:NaN},t.getMaxValue=function(e){var t=e;if("wizard"===r.default.get(e,"type")&&!(t=s(e)).normal&&!t.extended)return NaN;var n=d(t),a=u(e)||0;return a>n?a:n},t.getNormalPercentage=function(e){var t=e;if("wizard"===r.default.get(e,"type")&&(t=s(e)),!t.normal&&!t.expectedNormal||!t.extended&&!t.expectedExtended)return NaN;var n=t.expectedNormal||t.normal,a=d(t);return(0,o.formatPercentage)(n/a)},t.getProgrammed=d,t.getRecommended=u,t.getTotalBolus=function(e){return r.default.reduce(e,(function(e,t){return e+c(t)}),0)},t.getWizardFromInsulinEvent=l,t.hasExtended=function(e){var t=s(e);return Boolean(t.extended||t.expectedExtended)||!1},t.isAutomated=function(e){var t=s(e);return"automated"===r.default.get(t,"subType")},t.isCorrection=function(e){var t=e.dosingDecision?{correction:r.default.get(e,"dosingDecision.recommendedBolus.amount"),carb:r.default.get(e,"dosingDecision.food.nutrition.carbohydrate.net",0)}:r.default.get(e,"wizard.recommended",e.recommended);return!!(t&&t.correction>0&&0===t.carb)},t.isInterruptedBolus=function(e){var t=s(e),n=r.default.isFinite(t.normal)&&r.default.isFinite(t.expectedNormal)&&t.normal<t.expectedNormal,a=r.default.isFinite(t.extended)&&r.default.isFinite(t.expectedExtended)&&t.extended<t.expectedExtended;return r.default.inRange(t.normal,1/0)?r.default.isFinite(t.extended)?n||a:n:a},t.isOneButton=function(e){var t=s(e);return"oneButton"===r.default.get(t,"deliveryContext")||"oneButtonBolus"===r.default.get(t,"dosingDecision.reason")},t.isOverride=function(e){var t=u(e.wizard||e.dosingDecision||e);return d(e)-t>=.01},t.isUnderride=function(e){return u(e.wizard||e.dosingDecision||e)-d(e)>=.01};var r=a(n(27825)),o=n(99559);function i(e){return parseFloat((0,o.formatDecimalNumber)(e,3))}function s(e){var t=e;return e.bolus&&(t=e.bolus),t}function l(e){var t=e;return e.wizard&&(t=e.wizard),t}function d(e){var t=e;if("wizard"===r.default.get(e,"type")&&(t=s(e),!r.default.inRange(t.normal,1/0)&&!r.default.inRange(t.extended,1/0)))return NaN;if(null!=t.extended&&null!=t.expectedExtended)return null!=t.normal?null!=t.expectedNormal?i(t.expectedNormal+t.expectedExtended):i(t.normal+t.expectedExtended):t.expectedExtended;if(null!=t.extended){if(null!=t.normal){if(null!=t.expectedNormal)throw new Error("Combo bolus found with a cancelled `normal` portion and non-cancelled `extended`!");return i(t.normal+t.extended)}return t.extended}return t.expectedNormal||t.normal}function u(e){var t=e;if("bolus"===r.default.get(e,"type")&&(t=t.dosingDecision||l(e)),!t.recommendedBolus&&!t.recommended)return NaN;var n=t.recommendedBolus?r.default.get(t,["recommendedBolus","amount"],null):r.default.get(t,["recommended","net"],null);if(null!==n)return n;var a=0;return a+=r.default.get(t,["recommended","carb"],0),i(a+=r.default.get(t,["recommended","correction"],0))}function c(e){var t=e;return"wizard"!==r.default.get(e,"type")||(t=s(e),r.default.inRange(t.normal,1/0)||r.default.inRange(t.extended,1/0))?null!=t.extended?null!=t.normal?i(t.extended+t.normal):t.extended:t.normal:NaN}},66871:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.trends=t.springConfig=t.settingsOverrides=t.pumpVocabulary=t.TWIIST_LOOP=t.TIDEPOOL_LOOP=t.TANDEM=t.SLEEP=t.SITE_CHANGE_TYPE_UNDECLARED=t.SITE_CHANGE_TUBING=t.SITE_CHANGE_RESERVOIR=t.SITE_CHANGE_CANNULA=t.SITE_CHANGE=t.SETTINGS_OVERRIDE=t.SCHEDULED_DELIVERY=t.PREPRANDIAL=t.PHYSICAL_ACTIVITY=t.ONE_BUTTON_BOLUS=t.NO_SITE_CHANGE=t.MS_IN_MIN=t.MS_IN_HOUR=t.MS_IN_DAY=t.MMOLL_UNITS=t.MMOLL_CLAMP_TOP=t.MICROTECH=t.MGDL_UNITS=t.MGDL_PER_MMOLL=t.MGDL_CLAMP_TOP=t.MEDTRONIC=t.MAX_BOLUS=t.MAX_BASAL=t.LBS_PER_KG=t.INSULIN_DURATION=t.INSULET=t.GLYCEMIC_RANGES_TYPE=t.GLYCEMIC_RANGES_PRESET=t.EVENT_PUMP_SHUTDOWN=t.EVENT=t.DIY_LOOP=t.DIABETES_DATA_TYPES=t.DEFAULT_BG_BOUNDS=t.CGM_READINGS_ONE_DAY=t.CGM_DATA_KEY=t.BG_LOW=t.BG_HIGH=t.BG_DISPLAY_MINIMUM_INCREMENTS=t.BG_DATA_TYPES=t.BG_COLORS=t.BGM_DATA_KEY=t.AUTOMATED_SUSPEND=t.AUTOMATED_MODE_EXITED=t.AUTOMATED_DELIVERY=t.AUTOMATED_BOLUS=t.AUTOMATED_BASAL_DEVICE_MODELS=t.ANIMAS=t.ALARM_OVER_LIMIT=t.ALARM_OCCLUSION=t.ALARM_NO_POWER=t.ALARM_NO_INSULIN=t.ALARM_NO_DELIVERY=t.ALARM_AUTO_OFF=t.ALARM=t.ADA_STANDARD_BG_BOUNDS=t.ADA_PREGNANCY_T1_BG_BOUNDS=t.ADA_OLDER_HIGH_RISK_BG_BOUNDS=t.ADA_GESTATIONAL_T2_BG_BOUNDS=void 0;var r,o,i,s,l,d,u,c,f,A,p,g,m,h,b,y=a(n(271)),v=a(n(27825)),E=a(n(56427)),C=E.default.t.bind(E.default);void 0===v.default.get(E.default,"options.returnEmptyString")&&E.default.init({returnEmptyString:!1,nsSeparator:"|"}),t.BG_HIGH=C("High"),t.BG_LOW=C("Low"),t.springConfig={stiffness:180,damping:40,precision:.1},t.MGDL_CLAMP_TOP=400,t.MMOLL_CLAMP_TOP=22.5;var B=t.MGDL_UNITS=C("mg/dL"),T=t.MMOLL_UNITS=C("mmol/L"),S=(t.MGDL_PER_MMOLL=18.01559,t.BG_DISPLAY_MINIMUM_INCREMENTS=(r={},(0,y.default)(r,B,1),(0,y.default)(r,T,.1),r),t.GLYCEMIC_RANGES_PRESET={ADA_STANDARD:"adaStandard",ADA_OLDER_HIGH_RISK:"adaHighRisk",ADA_PREGNANCY_T1:"adaPregnancyType1",ADA_GESTATIONAL_T2:"adaPregnancyType2"},t.GLYCEMIC_RANGES_TYPE={PRESET:"preset",CUSTOM:"custom"},t.DEFAULT_BG_BOUNDS=(o={},(0,y.default)(o,B,{veryLowThreshold:54,targetLowerBound:70,targetUpperBound:180,veryHighThreshold:250,extremeHighThreshold:350,clampThreshold:600}),(0,y.default)(o,T,{veryLowThreshold:3,targetLowerBound:3.9,targetUpperBound:10,veryHighThreshold:13.9,extremeHighThreshold:19.4,clampThreshold:33.3}),o)),x=(t.ADA_STANDARD_BG_BOUNDS=S,t.ADA_OLDER_HIGH_RISK_BG_BOUNDS=(i={},(0,y.default)(i,B,{veryLowThreshold:null,targetLowerBound:70,targetUpperBound:180,veryHighThreshold:250,extremeHighThreshold:null,clampThreshold:600}),(0,y.default)(i,T,{veryLowThreshold:null,targetLowerBound:3.9,targetUpperBound:10,veryHighThreshold:13.9,extremeHighThreshold:null,clampThreshold:33.3}),i),t.ADA_PREGNANCY_T1_BG_BOUNDS=(s={},(0,y.default)(s,B,{veryLowThreshold:54,targetLowerBound:63,targetUpperBound:140,veryHighThreshold:null,extremeHighThreshold:null,clampThreshold:600}),(0,y.default)(s,T,{veryLowThreshold:3,targetLowerBound:3.5,targetUpperBound:7.8,veryHighThreshold:null,extremeHighThreshold:null,clampThreshold:33.3}),s)),w=(t.ADA_GESTATIONAL_T2_BG_BOUNDS=x,t.LBS_PER_KG=2.2046226218,t.trends={extentSizes:{ONE_WEEK:7,TWO_WEEKS:14,FOUR_WEEKS:28}},t.MS_IN_DAY=864e5,t.MS_IN_HOUR=36e5),I=(t.MS_IN_MIN=w/60,t.CGM_READINGS_ONE_DAY=288,t.CGM_DATA_KEY="cbg",t.BGM_DATA_KEY="smbg",t.NO_SITE_CHANGE="noSiteChange",t.SITE_CHANGE="siteChange",t.SITE_CHANGE_RESERVOIR="reservoirChange"),L=t.SITE_CHANGE_TUBING="tubingPrime",D=t.SITE_CHANGE_CANNULA="cannulaPrime",k=(t.ALARM="alarm",t.ALARM_NO_DELIVERY="no_delivery"),O=t.ALARM_AUTO_OFF="auto_off",N=t.ALARM_NO_INSULIN="no_insulin",P=t.ALARM_NO_POWER="no_power",R=t.ALARM_OCCLUSION="occlusion",M=t.ALARM_OVER_LIMIT="over_limit",_=(t.EVENT="event",t.EVENT_PUMP_SHUTDOWN="pump_shutdown"),F=t.AUTOMATED_BOLUS="automatedBolus",G=t.AUTOMATED_DELIVERY="automatedDelivery",j=t.AUTOMATED_SUSPEND="automatedSuspend",H=t.AUTOMATED_MODE_EXITED="automatedModeExited",U=t.SCHEDULED_DELIVERY="scheduledDelivery",Y=t.SETTINGS_OVERRIDE="settingsOverride",z=t.SLEEP="sleep",W=t.PHYSICAL_ACTIVITY="physicalActivity",V=t.PREPRANDIAL="preprandial",$=t.MAX_BOLUS="maxBolus",q=t.MAX_BASAL="maxBasal",Q=t.ONE_BUTTON_BOLUS="oneButtonBolus",K=t.INSULIN_DURATION="insulinDuration",X=(t.SITE_CHANGE_TYPE_UNDECLARED="undeclared",t.INSULET="Insulet"),Z=t.TANDEM="Tandem",J=t.ANIMAS="Animas",ee=t.TIDEPOOL_LOOP="Tidepool Loop",te=t.DIY_LOOP="DIY Loop",ne=t.TWIIST_LOOP="twiist",ae=t.MEDTRONIC="Medtronic",re=t.MICROTECH="Microtech",oe=(t.pumpVocabulary=(h={},(0,y.default)(h,J,(l={},(0,y.default)(l,I,C("Go Rewind")),(0,y.default)(l,L,C("Go Prime")),(0,y.default)(l,D,C("Cannula Fill")),l)),(0,y.default)(h,X,(d={},(0,y.default)(d,I,C("Pod Change")),(0,y.default)(d,L,C("Pod Activate")),(0,y.default)(d,D,C("Prime")),(0,y.default)(d,$,C("Maximum Bolus")),(0,y.default)(d,q,C("Max Basal Rate")),(0,y.default)(d,K,C("Duration of Insulin Action")),d)),(0,y.default)(h,ae,(u={},(0,y.default)(u,I,C("Rewind")),(0,y.default)(u,L,C("Prime")),(0,y.default)(u,D,C("Cannula Prime")),(0,y.default)(u,G,C("Auto Mode")),(0,y.default)(u,U,C("Manual")),(0,y.default)(u,$,C("Max Bolus")),(0,y.default)(u,q,C("Max Basal")),(0,y.default)(u,K,C("Active Insulin Time")),u)),(0,y.default)(h,re,(c={},(0,y.default)(c,I,C("Rewind")),(0,y.default)(c,L,C("Reservoir Prime")),(0,y.default)(c,D,C("Cannula Prime")),c)),(0,y.default)(h,Z,(f={},(0,y.default)(f,I,C("Cartridge Change")),(0,y.default)(f,L,C("Tubing Fill")),(0,y.default)(f,D,C("Cannula Fill")),(0,y.default)(f,G,C("Automation")),(0,y.default)(f,U,C("Manual")),(0,y.default)(f,Y,C("Activity")),(0,y.default)(f,z,{label:C("Sleep"),marker:C("Z")}),(0,y.default)(f,W,{label:C("Exercise"),marker:C("E")}),(0,y.default)(f,$,C("Max Bolus")),(0,y.default)(f,K,C("Insulin Duration")),f)),(0,y.default)(h,ee,(A={},(0,y.default)(A,G,C("Automation")),(0,y.default)(A,H,C("Off")),(0,y.default)(A,U,C("Manual")),(0,y.default)(A,Y,C("Preset")),(0,y.default)(A,W,{label:C("Workout"),marker:C("W")}),(0,y.default)(A,$,C("Maximum Bolus")),(0,y.default)(A,q,C("Maximum Basal Rate")),A)),(0,y.default)(h,ne,(p={},(0,y.default)(p,I,C("Cassette Change")),(0,y.default)(p,G,C("Automation")),(0,y.default)(p,H,C("Off")),(0,y.default)(p,U,C("Manual")),(0,y.default)(p,Y,C("Preset")),(0,y.default)(p,W,{label:C("Workout"),marker:C("W")}),(0,y.default)(p,$,C("Maximum Bolus")),(0,y.default)(p,q,C("Maximum Basal Rate")),(0,y.default)(p,N,C("Cassette Empty")),(0,y.default)(p,R,C("Line Blocked")),p)),(0,y.default)(h,te,(g={},(0,y.default)(g,G,C("Automation")),(0,y.default)(g,H,C("Off")),(0,y.default)(g,U,C("Manual")),(0,y.default)(g,Y,C("Preset")),(0,y.default)(g,W,{label:C("Workout"),marker:C("W")}),(0,y.default)(g,$,C("Maximum Bolus")),(0,y.default)(g,q,C("Maximum Basal Rate")),g)),(0,y.default)(h,"default",(m={},(0,y.default)(m,I,C("Cartridge Change")),(0,y.default)(m,L,C("Tubing Fill")),(0,y.default)(m,D,C("Cannula Fill")),(0,y.default)(m,F,C("Automated")),(0,y.default)(m,G,C("Automated")),(0,y.default)(m,j,C("Automated Suspend")),(0,y.default)(m,H,C("Exited")),(0,y.default)(m,U,C("Manual")),(0,y.default)(m,Y,C("Settings Override")),(0,y.default)(m,z,{label:C("Sleep"),marker:C("Z")}),(0,y.default)(m,W,{label:C("Exercise"),marker:C("E")}),(0,y.default)(m,V,{label:C("Premeal"),marker:C("P")}),(0,y.default)(m,$,C("Max Bolus")),(0,y.default)(m,q,C("Max Basal")),(0,y.default)(m,K,C("Insulin Duration")),(0,y.default)(m,Q,C("One-Button Bolus")),(0,y.default)(m,k,C("Insulin Delivery Stopped")),(0,y.default)(m,O,C("Pump Auto-Off")),(0,y.default)(m,N,C("Reservoir Empty")),(0,y.default)(m,P,C("Battery Empty")),(0,y.default)(m,R,C("Occlusion Detected")),(0,y.default)(m,M,C("Insulin Delivery Limit Exceeded")),(0,y.default)(m,_,C("Pump Shutdown")),m)),h),t.settingsOverrides=(b={},(0,y.default)(b,Z,[z,W]),(0,y.default)(b,ee,[W,V]),(0,y.default)(b,ne,[W,V]),(0,y.default)(b,te,[V]),(0,y.default)(b,"default",[z,W,V]),b),t.AUTOMATED_BASAL_DEVICE_MODELS=(0,y.default)({},ae,["1580","1581","1582","1780","1781","1782"]),t.BG_DATA_TYPES=["cbg","smbg"]);t.DIABETES_DATA_TYPES=[].concat(oe,["basal","bolus","wizard","food"]),t.BG_COLORS={veryLow:"#FB5951",low:"#FF8B7C",target:"#76D3A6",high:"#BB9AE7",veryHigh:"#8C65D6"}},74501:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.TWENTY_FOUR_HRS=t.THREE_HRS=t.THIRTY_MINS=t.ONE_HR=void 0,t.formatBirthdate=function(e){var t=r.default.get(e,["profile","patient","birthday"],"");return t?(0,o.utcFormat)("%b %-d, %Y")(Date.parse(t)):""},t.formatClocktimeFromMsPer24=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"h:mm a";if(r.default.isNull(e)||r.default.isUndefined(e)||e<0||e>u||e instanceof Date)throw new Error("First argument must be a value in milliseconds per twenty-four hour day!");return i.default.utc(e).format(t)},t.formatCurrentDate=function(){return(0,o.timeFormat)("%b %-d, %Y")(new Date)},t.formatDateRange=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"MMM",r=i.default.utc(e,n),o=i.default.utc(t,n),s=r.isSame(o,"year"),l=r.isSame(o,"day"),d=s?r.format("".concat(a," D")):r.format("".concat(a," D, YYYY")),u=o.format("".concat(a," D, YYYY"));return l?u:"".concat(d," - ").concat(u)},t.formatDiagnosisDate=function(e){var t=r.default.get(e,["profile","patient","diagnosisDate"],"");return t?(0,o.utcFormat)("%b %-d, %Y")(Date.parse(t)):""},t.formatDuration=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=i.default.duration(e),a=n.days(),r=n.hours(),o=n.minutes(),s=n.seconds(),l=t.ascii?" 1/4":"¼",d=t.ascii?" 1/3":"⅓",u=t.ascii?" 1/2":"½",c=t.ascii?" 2/3":"⅔",f=t.ascii?" 3/4":"¾";if(t.condensed){var A={days:"",hours:"",minutes:"",seconds:""};if(a+r+o===0)s>0?A.seconds="".concat(s,"s"):A.minutes="0m";else{var p=s>=30?o+1:o,g=r,m=a;p>=60&&(p-=60,g++),g>=24&&(g-=24,m++),A.days=0!==m?"".concat(m,"d "):"",A.hours=0!==g?"".concat(g,"h "):"",A.minutes=0!==p?"".concat(p,"m "):""}return"".concat(A.days).concat(A.hours).concat(A.minutes).concat(A.seconds).trim()}if(0===r)return"".concat(o," min");var h=1===r?"hr":"hrs";switch(o){case 0:return"".concat(r," ").concat(h);case 15:return"".concat(r).concat(l," ").concat(h);case 20:return"".concat(r).concat(d," ").concat(h);case 30:return"".concat(r).concat(u," ").concat(h);case 40:return"".concat(r).concat(c," ").concat(h);case 45:return"".concat(r).concat(f," ").concat(h);default:return"".concat(r," ").concat(h," ").concat(o," min")}},t.formatLocalizedFromUTC=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"dddd, MMMM D";if(e instanceof Date)throw new Error("`utc` must be a ISO-formatted String timestamp or integer hammertime!");var a=f(t);return i.default.utc(e).tz(a).format(n)},t.formatTimeAgo=void 0,t.getBrowserTimezone=c,t.getLocalizedCeiling=A,t.getMsPer24=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"UTC",n=i.default.utc(e).tz(t);return 1e3*n.hours()*60*60+1e3*n.minutes()*60+1e3*n.seconds()+n.milliseconds()},t.getOffset=function(e,t){var n="string"==typeof e?Date.parse(e):e;return i.default.tz.zone(t).utcOffset(n)},t.getTimezoneFromTimePrefs=f;var r=a(n(27825)),o=n(51427),i=a(n(55812)),s=a(n(63452)),l=a(n(56427)),d=l.default.t.bind(l.default),u=(t.THIRTY_MINS=18e5,t.ONE_HR=36e5,t.THREE_HRS=108e5,t.TWENTY_FOUR_HRS=864e5);function c(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.timezoneAware,n=e.timezoneName;try{var a=c()||"UTC";return t&&n&&(a=n),s.default.checkTimezoneName(a),a}catch(e){return"UTC"}}function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"day";if(e instanceof Date)throw new Error("`utc` must be a ISO-formatted String timestamp or integer hammertime!");if(!r.default.includes(["day","hour"],n))throw new Error('`period` must be either "day" or "hour"');var a=f(t),o=i.default.utc(e).tz(a).startOf(n),s="string"==typeof e?Date.parse(e):e;return o.valueOf()===s?o.toDate():o.add(1,n).toDate()}t.formatTimeAgo=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"YYYY-MM-DD",a=f(t),r=i.default.utc(A((new Date).toISOString(),t)).tz(a),o=i.default.utc(A(e,t)).tz(a),s=r.diff(o,"days",!0),l=i.default.utc().tz(a).diff(e,"minutes"),u=i.default.utc().tz(a).diff(e,"hours"),c=i.default.utc(e).tz(a).format(n);s<2?c=d(s>=1?"yesterday":"today"):s<=30&&(c=d("{{days}} days ago",{days:Math.ceil(s)}));var p=d("{{hoursAgo}} {{unit}} ago",{hoursAgo:u,unit:1===u?"hour":"hours"}),g=d("{{minutesAgo}} {{unit}} ago",{minutesAgo:l,unit:1===l?"minute":"minutes"});return l<1&&(g=d("a few seconds ago")),{daysAgo:s,daysText:c,hoursAgo:u,hoursText:p,minutesAgo:l,minutesText:g}}},11270:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getLastManualBasalSchedule=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=r.default.findLast(e,{deliveryType:"scheduled"});return r.default.get(t,"scheduleName")},t.getLatestPumpUpload=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return r.default.findLast(e,{deviceTags:["insulin-pump"]})},t.getPumpVocabulary=function(e){var t=r.default.cloneDeep(o.pumpVocabulary);return r.default.defaults(r.default.get(t,f(e),{}),t.default)},t.getSettingsOverrides=function(e){return r.default.get(o.settingsOverrides,f(e),o.settingsOverrides.default)},t.getUppercasedManufacturer=f,t.isAutomatedBasalDevice=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return r.default.includes(r.default.get(o.AUTOMATED_BASAL_DEVICE_MODELS,(0,i.deviceName)(e),[]),n)||"tandem"===e&&u(t)||c(t)},t.isAutomatedBolusDevice=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"tandem"===e&&u(t)||s(t)},t.isControlIQ=u,t.isDIYLoop=s,t.isLibreViewAPI=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a="org.tidepool.abbott.libreview.partner.api";return(null==n||null===(e=n.client)||void 0===e?void 0:e.name)===a||(null==n||null===(t=n.origin)||void 0===t?void 0:t.name)===a},t.isLoop=c,t.isOneMinCGMSampleIntervalDevice=function(){return d(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},t.isSettingsOverrideDevice=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"tandem"===e&&u(t)||c(t)},t.isTidepoolLoop=l,t.isTwiistLoop=d;var r=a(n(27825)),o=n(66871),i=n(89540);function s(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return/^com\.[a-zA-Z0-9]*\.?loopkit\.Loop/.test(r.default.get(t,"origin.name",(null==t||null===(e=t.client)||void 0===e?void 0:e.name)||""))}function l(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return/^org\.tidepool\.[a-zA-Z0-9]*\.?Loop/.test(r.default.get(t,"origin.name",(null==t||null===(e=t.client)||void 0===e?void 0:e.name)||""))}function d(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("upload"===t.type){var n=parseInt(r.default.get(t,"client.version","0").split(".")[0],10);return/^com.sequelmedtech.tidepool-service/.test(r.default.get(t,"client.name",""))&&n>=2}return/^com.dekaresearch.twiist/.test(r.default.get(t,"origin.name",(null==t||null===(e=t.client)||void 0===e?void 0:e.name)||""))}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 0===r.default.get(e,"deviceId","").indexOf("tandemCIQ")}function c(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(null===(e=t.tags)||void 0===e?void 0:e.loop)||s(t)||l(t)||d(t)}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return r.default.map(e.split(" "),(function(e){switch(e){case"diy":return r.default.upperCase(e);case"twiist":return e;default:return r.default.upperFirst(e)}})).join(" ")}},99559:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.bankersRound=l,t.formatBgValue=function(e,t,n){var a=r.default.get(t,"bgUnits","");if(!r.default.isEmpty(n)){var o=n.low,d=n.high;if(a===s.MMOLL_UNITS&&(o&&(o=(0,i.convertToMmolL)(o)),d&&(d=(0,i.convertToMmolL)(d))),o&&e<o)return s.BG_LOW;if(d&&e>d)return s.BG_HIGH}return a===s.MMOLL_UNITS?l(e,1).toFixed(1):l(e).toString()},t.formatDecimalNumber=d,t.formatInsulin=function(e){var t=1,n=e.toString();if(-1!==n.indexOf(".")){var a=n.split(".")[1].length;t=r.default.min([a,3])}return d(e,t)},t.formatPercentage=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return Number.isNaN(e)?"--%":n?"".concat(l(100*e,t),"%"):(0,o.format)(".".concat(t,"%"))(e)},t.formatStatsPercentage=function(e){if(Number.isNaN(e))return"--";var t=100*e,n=l(t,t>=1?0:1);return r.default.toString(n)},t.precisionRound=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=t>0?Math.pow(10,t):1;return Math.round(e*n)/n},t.removeTrailingZeroes=function(e){return e.replace(/\.0+$/,"")};var r=a(n(27825)),o=n(19483),i=n(84240),s=n(66871);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e*Math.pow(10,t),a=Math.round(n);return(Math.abs(n)%1==.5?a%2==0?a:a-1:a)/Math.pow(10,t)}function d(e,t){return null==t?(0,o.format)("d")(e):(0,o.format)(".".concat(t,"f"))(e)}},85199:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGlycemicRangesPreset=void 0;var a=n(66871);t.getGlycemicRangesPreset=function(e){if(!e)return a.GLYCEMIC_RANGES_PRESET.ADA_STANDARD;switch(e.type){case a.GLYCEMIC_RANGES_TYPE.PRESET:return e.preset;case a.GLYCEMIC_RANGES_TYPE.CUSTOM:default:return a.GLYCEMIC_RANGES_PRESET.ADA_STANDARD}}},19992:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getPatientFullName=function(e){var t=r.default.get(e,["profile"],{}),n=t.patient||{};return n.isOtherPerson?n.fullName:t.fullName};var r=a(n(27825))},51856:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.generateAGPFigureDefinitions=function(e){return f.apply(this,arguments)};var r=a(n(89679)),o=a(n(17559)),i=a(n(27825)),s=a(n(55812)),l=n(80358),d=n(74501),u=n(66871),c=n(87307);function f(){return(f=(0,o.default)((0,r.default)().mark((function e(t){var n,a,o,f,A,p,g,m,h,b,y,v,E,C,B,T,S,x,w,I,L,D,k,O,N;return(0,r.default)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a={},o=i.default.get(t,"metaData.bgSources.current"),f=i.default.get(t,"data.current.endpoints",{}),A=(0,c.generateChartSections)(t,o),p={},g=i.default.get(t,"data.current.stats",{}),i.default.forOwn(g,(function(e,n){var a=(0,l.getStatDefinition)(e,n,{bgSource:o,days:f.activeDays||f.days,bgPrefs:t.bgPrefs});p[n]=a})),m=o===u.CGM_DATA_KEY?p.timeInRange:p.readingsInRange,null!==(n=A.percentInRanges)&&void 0!==n&&n.sufficientData&&(a.percentInRanges=(0,c.generatePercentInRangesFigure)(A.percentInRanges,m,t.bgPrefs,null===(h=t.query)||void 0===h?void 0:h.glycemicRanges)),(A.ambulatoryGlucoseProfile.sufficientData||o===u.BGM_DATA_KEY)&&(E=(null==t||null===(b=t.data)||void 0===b||null===(y=b.current)||void 0===y||null===(v=y.data)||void 0===v?void 0:v[o])||[],a.ambulatoryGlucoseProfile=(0,c.generateAmbulatoryGlucoseProfileFigure)(A.ambulatoryGlucoseProfile,E,t.bgPrefs,o)),A.dailyGlucoseProfiles.sufficientData&&(w="cbg"===o?"cbgDeduplicated":o,I=i.default.mapValues(null==t||null===(C=t.data)||void 0===C||null===(B=C.current)||void 0===B||null===(T=B.aggregationsByDate)||void 0===T?void 0:T.dataByDate,w),L=(null===(S=p.bgExtents)||void 0===S||null===(x=S.data)||void 0===x?void 0:x.raw)||{},D=L.newestDatum,k=i.default.chunk(i.default.map(i.default.range(14),(function(e,n){return s.default.utc(null==D?void 0:D.time).tz((0,d.getTimezoneFromTimePrefs)(t.timePrefs)).subtract(n,"days").format("YYYY-MM-DD")})).reverse(),7),O=i.default.map(k[0],(function(e){return[[e],I[e]]})),N=i.default.map(k[1],(function(e){return[[e],I[e]]})),a.dailyGlucoseProfiles=[(0,c.generateDailyGlucoseProfilesFigure)(A.dailyGlucoseProfiles,O,t.bgPrefs,"dddd"),(0,c.generateDailyGlucoseProfilesFigure)(A.dailyGlucoseProfiles,N,t.bgPrefs,"ha")]),e.abrupt("return",a);case 12:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},89540:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.deviceName=g,t.getDeviceMeta=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=e.normalTime,a=!!n&&s.formatLocalizedFromUTC(n,t,"MMM D, YYYY");return{schedule:e.activeSchedule||"unknown",uploaded:a||"unknown",serial:e.deviceSerialNumber||"unknown"}},t.getScheduleLabel=function(e,t,n,a){var r=e;return o.default.includes(["carelink","medtronic"],n)&&(r=o.default.map(e.split(" "),(function(e){return o.default.upperFirst(e)})).join(" ")),{main:r,secondary:e===t?"Active at upload":"",units:a?"":"U/hr"}},t.getScheduleNames=function(e){return o.default.keysIn(e)},t.getTimedSchedules=function(e){for(var t=o.default.map(e,"name"),n=[],a=t.length-1;a>=0;a--)n.push({name:t[a],position:a});return n},t.getTotalBasalRates=v,t.insulinSettings=function(e,t,n){var a,r=null==e||null===(a=e.units)||void 0===a?void 0:a.bg,i=(0,d.getPumpVocabulary)(t),s=o.default.get(e,n?"basal[".concat(n,"].rateMaximum.value"):"basal.rateMaximum.value"),f=o.default.get(e,n?"bolus[".concat(n,"].amountMaximum.value"):"bolus.amountMaximum.value"),p=o.default.get(e,n?"bolus[".concat(n,"].calculator.insulin.units"):"bolus.calculator.insulin.units"),m=o.default.get(e,n?"bolus[".concat(n,"].calculator.insulin.duration"):"bolus.calculator.insulin.duration");if(o.default.includes(["diy loop","tidepool loop","twiist"],t)&&(m=o.default.get(e,"insulinModel.actionDuration"),p="milliseconds"),"minutes"===p){var h=Math.floor(m/60),b=m%60;m=b>0?"".concat(h,":").concat(o.default.padStart(b,2,"0")):h}if("milliseconds"===p){var y=Math.floor(m/60/60),v=m%60;m=v>0?"".concat(y,":").concat(o.default.padStart(v,2,"0")):y}var E=[{setting:i[u.MAX_BASAL],value:s?"".concat(l.formatDecimalNumber(s,A)," U/hr"):"-"},{setting:i[u.MAX_BOLUS],value:f?"".concat(f," U"):"-"},{setting:i[u.INSULIN_DURATION]+((0,d.isControlIQ)(e)?"*":""),value:m?"".concat(m," hrs"):"-"}];if((0,d.isLoop)(e)){var C,B,T,S={label:{rapidAdult:c("Rapid-Acting - Adults"),rapidChild:c("Rapid Acting - Children"),fiasp:c("Fiasp"),lyumjev:c("Lyumjev"),afrezza:c("Afrezza")}[null==e||null===(C=e.insulinModel)||void 0===C?void 0:C.modelType]||(null==e||null===(B=e.insulinModel)||void 0===B?void 0:B.modelType)||c("Unknown"),peakMinutes:o.default.isFinite(null==e||null===(T=e.insulinModel)||void 0===T?void 0:T.actionPeakOffset)?e.insulinModel.actionPeakOffset/60:null},x=g(t),w=[c("{{device}} assumes that the insulin it has delivered is actively working to lower your glucose for 6 hours. This setting cannot be changed.",{device:x})];S.peakMinutes&&w.push(c("The {{label}} model assumes peak activity at {{peakMinutes}} minutes.",S)),E.unshift({annotations:[c("{{device}} will deliver basal and recommend bolus insulin only if your glucose is predicted to be above this limit for the next three hours.",{device:x})],setting:c("Glucose Safety Limit"),value:"".concat(l.formatBgValue(null==e?void 0:e.bgSafetyLimit,{bgUnits:r})," ").concat(r)}),E.splice(3,1,{annotations:w,setting:c("Insulin Model"),value:S.label})}return"tandem"===t&&E.shift(),{columns:[{key:"setting"},{key:"value"}],rows:E}},t.noData=p,t.presetSettings=function(e,t){var n,a,r,o=(0,d.getPumpVocabulary)(t),i=null==e||null===(n=e.units)||void 0===n?void 0:n.bg,s=function(e){return"".concat(l.formatBgValue(null==e?void 0:e.low,{bgUnits:i}),"-").concat(l.formatBgValue(null==e?void 0:e.high,{bgUnits:i}))},f=[{key:"name",label:"Name"},{key:"value",label:"".concat(c("Correction Range")," (").concat(i,")")}],A=[];return null!=e&&e.bgTargetPreprandial&&A.push({name:null===(a=o[u.PREPRANDIAL])||void 0===a?void 0:a.label,value:s(null==e?void 0:e.bgTargetPreprandial)}),null!=e&&e.bgTargetPhysicalActivity&&A.push({name:null===(r=o[u.PHYSICAL_ACTIVITY])||void 0===r?void 0:r.label,value:s(null==e?void 0:e.bgTargetPhysicalActivity)}),{columns:f,rows:A}},t.processBasalRateData=function(e){var t=y(e.value),n=[{start:"-",rate:"-"}];if(0===t.length)return n;if(1===t.length&&0===Number(m(e.value,t[0])))return n;var a=o.default.map(t,(function(t){return{start:s.formatClocktimeFromMsPer24(t),rate:m(e.value,t)}}));return a.push({start:"Total",rate:v(e.value)}),a},t.processBgTargetData=function(e,t,n){return o.default.map(y(e),(function(a){return{start:s.formatClocktimeFromMsPer24(a),columnTwo:b(e,n.columnTwo,a,t),columnThree:b(e,n.columnThree,a,t)}}))},t.processCarbRatioData=function(e){return o.default.map(y(e),(function(t){return{start:s.formatClocktimeFromMsPer24(t),amount:h(e,"amount",t)}}))},t.processSensitivityData=function(e,t){return o.default.map(y(e),(function(n){return{start:s.formatClocktimeFromMsPer24(n),amount:b(e,"amount",n,t)}}))},t.processTimedSettings=function(e,t,n){var a=o.default.map(y(e.bgTargets[t.name]),(function(a){return{start:s.formatClocktimeFromMsPer24(a),rate:m(e.basalSchedules[t.position].value,a),bgTarget:b(e.bgTargets[t.name],"target",a,n),carbRatio:h(e.carbRatios[t.name],"amount",a),insulinSensitivity:b(e.insulinSensitivities[t.name],"amount",a,n)}}));return a.push({start:"Total",rate:v(e.basalSchedules[t.position].value),bgTarget:"",carbRatio:"",insulinSensitivity:""}),a},t.startTimeAndValue=function(e){return[{key:"start",label:"Start time"},{key:e,label:"Value"}]};var o=r(n(27825)),i=r(n(56427)),s=a(n(74501)),l=a(n(99559)),d=n(11270),u=n(66871),c=i.default.t.bind(i.default),f=3,A=2;function p(e){return null==e||"string"==typeof e&&o.default.isEmpty(e)}function g(e){return{animas:"Animas",insulet:"OmniPod",medtronic:"Medtronic",tandem:"Tandem",microtech:"Equil","diy loop":"DIY Loop","tidepool loop":"Tidepool Loop",twiist:"twiist"}[e]||e}function m(e,t){var n=o.default.find(e,(function(e){return e.start===t})).rate;return p(n)?"":l.formatDecimalNumber(n,f)}function h(e,t,n){var a=o.default.find(e,(function(e){return e.start===n}))[t];return p(a)?"":a}function b(e,t,n,a){var r=h(e,t,n);return p(r)?"":l.formatBgValue(r,{bgUnits:a})}function y(e){return o.default.map(e,"start")}function v(e){for(var t=0,n=e.length-1;n>=0;n--){var a=e[n].start,r=864e5,o=n+1;o<e.length&&(r=e[o].start);var i=(r-a)/36e5,s=parseFloat(e[n].rate.toFixed(f))*i;t+=parseFloat(s.toFixed(f))}return l.formatDecimalNumber(t,f)}},31266:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.basal=function(e,t,n){var a=t.basalSchedules[e].name,r="carelink"===n?"medtronic":n,i=o.default.get(l.pumpVocabulary,[s.deviceName(r),l.AUTOMATED_DELIVERY])===a;return{scheduleName:a,activeAtUpload:a===t.activeSchedule,isAutomated:i,title:c(a,t.activeSchedule,n,i),columns:i?[]:s.startTimeAndValue("rate"),rows:i?[]:f(e,t)}},t.basalSchedules=function(e){return s.getScheduleNames(e.basalSchedules)},t.bolusTitle=function(e){return{animas:u("ezCarb ezBG"),insulet:u("Bolus Calculator"),medtronic:u("Bolus Wizard"),microtech:u("Bolus Calculator"),"tidepool loop":u("Bolus Calculator"),"diy loop":u("Bolus Calculator"),twiist:u("Bolus Calculator")}[e]},t.deviceMeta=function(e,t){return s.getDeviceMeta(e,t)},t.ratio=function(e,t){return{title:g(t),columns:s.startTimeAndValue("amount"),rows:m(e)}},t.sensitivity=function(e,t,n){return{title:A(t),columns:s.startTimeAndValue("amount"),rows:p(e,n)}},t.target=function(e,t,n){var a=s.deviceName(t);return{annotations:(0,d.isLoop)(e)?[u("Correction Range is the glucose value (or range of values) that you want {{device}} to aim for in adjusting your basal insulin and helping you calculate your boluses.",{device:a})]:null,title:h(t),columns:b(t),rows:y(e,n,t)}};var o=r(n(27825)),i=r(n(56427)),s=a(n(89540)),l=n(66871),d=n(11270),u=i.default.t.bind(i.default);function c(e,t,n,a){return s.getScheduleLabel(e,t,n,a)}function f(e,t){return s.processBasalRateData(t.basalSchedules[e])}function A(e){return{animas:u("ISF"),insulet:u("Correction factor"),medtronic:u("Sensitivity"),microtech:u("Insulin Sensitivity"),"diy loop":u("Insulin Sensitivities"),"tidepool loop":u("Insulin Sensitivities"),twiist:u("Insulin Sensitivities")}[e]}function p(e,t){var n;return s.processSensitivityData(e.insulinSensitivity||(null===(n=e.insulinSensitivities)||void 0===n?void 0:n[e.activeSchedule]),t)}function g(e){return{animas:u("I:C Ratio"),insulet:u("IC ratio"),medtronic:u("Carb Ratios"),microtech:u("Carbohydrate Ratio"),"diy loop":u("Carb Ratios"),"tidepool loop":u("Carb Ratios"),twiist:u("Carb Ratios")}[e]}function m(e){var t;return s.processCarbRatioData(e.carbRatio||(null===(t=e.carbRatios)||void 0===t?void 0:t[e.activeSchedule]))}function h(e){return{animas:u("BG Target"),insulet:u("Target BG"),medtronic:u("BG Target"),microtech:u("Target BG"),"diy loop":u("Correction Range"),"tidepool loop":u("Correction Range"),twiist:u("Correction Range")}[e]}function b(e){return{animas:[{key:"start",label:u("Start time")},{key:"columnTwo",label:u("Target")},{key:"columnThree",label:u("Range")}],insulet:[{key:"start",label:u("Start time")},{key:"columnTwo",label:u("Target")},{key:"columnThree",label:u("Correct Above")}],medtronic:[{key:"start",label:u("Start time")},{key:"columnTwo",label:u("Low")},{key:"columnThree",label:u("High")}],microtech:[{key:"start",label:u("Start time")},{key:"columnTwo",label:u("Lower")},{key:"columnThree",label:u("Upper")}],"diy loop":[{key:"start",label:u("Start time")},{key:"columnTwo",label:u("Low")},{key:"columnThree",label:u("High")}],"tidepool loop":[{key:"start",label:u("Start time")},{key:"columnTwo",label:u("Low")},{key:"columnThree",label:u("High")}],twiist:[{key:"start",label:u("Start time")},{key:"columnTwo",label:u("Low")},{key:"columnThree",label:u("High")}]}[e]}function y(e,t,n){var a=o.default.includes(["diy loop","tidepool loop","twiist"],n)?e.bgTargets[e.activeSchedule]:e.bgTarget;return s.processBgTargetData(a,t,{animas:{columnTwo:"target",columnThree:"range"},insulet:{columnTwo:"target",columnThree:"high"},medtronic:{columnTwo:"low",columnThree:"high"},microtech:{columnTwo:"low",columnThree:"high"},"diy loop":{columnTwo:"low",columnThree:"high"},"tidepool loop":{columnTwo:"low",columnThree:"high"},twiist:{columnTwo:"low",columnThree:"high"}}[n])}},72255:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.basal=function(e,t,n){var a,r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return{scheduleName:e.name,activeAtUpload:e.name===t.activeSchedule,title:(a=e.name,r=t.activeSchedule,s.getScheduleLabel(a,r,"tandem",!0)),columns:u(o,n,(0,i.isControlIQ)(t)),rows:d(e,t,n)}},t.basalSchedules=function(e){return s.getTimedSchedules(e.basalSchedules)},t.deviceMeta=function(e,t){return s.getDeviceMeta(e,t)};var o=r(n(56427)),i=n(11270),s=a(n(89540)),l=o.default.t.bind(o.default);function d(e,t,n){return s.processTimedSettings(t,e,n)}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return[{key:"start",label:"Start time"},{key:"rate",label:{main:l("Basal Rates"),secondary:"U/hr"},className:e.basalScheduleHeader},{key:"bgTarget",label:{main:l("Target BG")+(n?"*":""),secondary:t},className:e.bolusSettingsHeader},{key:"carbRatio",label:{main:l("Carb Ratio"),secondary:"g/U"},className:e.bolusSettingsHeader},{key:"insulinSensitivity",label:{main:l("Correction Factor"),secondary:"".concat(t,"/U")},className:e.bolusSettingsHeader}]}},4903:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.nonTandemText=function(e,t,n,a){var r=new s.default(e),i=r.buildDocumentHeader("Device Settings");o.default.map(d.basalSchedules(t),(function(e){var n=d.basal(e,t,a);i+=r.buildTextTable(n.scheduleName,n.rows,n.columns)}));var l=d.target(t,a,n);i+=r.buildTextTable("".concat(l.title," ").concat(n),l.rows,l.columns);var f=d.ratio(t,a),A="exchanges"===o.default.get(t,"units.carb")?"U/exch":"g/U";i+=r.buildTextTable("".concat(f.title," ").concat(A),f.rows,f.columns);var p=d.sensitivity(t,a,n);if(i+=r.buildTextTable("".concat(p.title," ").concat(n,"/U"),p.rows,p.columns),!o.default.includes(["animas","microtech"],a)){var g=(0,u.insulinSettings)(t,a),m=g.rows,h=g.columns;i+=r.buildTextTable(c("Insulin Settings"),m,h,{showHeader:!1})}var b=(0,u.presetSettings)(t,a);return b.rows.length&&(i+=r.buildTextTable(c("Presets"),b.rows,b.columns)),i},t.tandemText=function(e,t,n){var a=new s.default(e),r=a.buildDocumentHeader("Device Settings"),i={bolusSettingsHeader:"",basalScheduleHeader:""};return o.default.map(l.basalSchedules(t),(function(e){var o=l.basal(e,t,n,i),s=(0,u.insulinSettings)(t,"tandem",e.name),d=s.rows,f=s.columns;r+=a.buildTextTable(o.scheduleName,o.rows,o.columns),r+=a.buildTextTable(c("Insulin Settings"),d,f,{showHeader:!1})})),r};var o=r(n(27825)),i=r(n(56427)),s=r(n(40549)),l=a(n(72255)),d=a(n(31266)),u=n(89540),c=i.default.t.bind(i.default)},80358:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.statTypes=t.statFormats=t.statFetchMethods=t.statBgSourceLabels=t.isRangeDefined=t.getSum=t.getStatTitle=t.getStatDefinition=t.getStatData=t.getStatAnnotations=t.formatDatum=t.ensureNumeric=t.dailyDoseUnitOptions=t.commonStats=void 0,t.statsText=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:S;l.default.defaults(n,{bgBounds:(0,c.reshapeBgClassesToBgBounds)(n)});var r="";return l.default.each(e,(function(e){var i,s,d=l.default.includes([E.timeInRange,E.readingsInRange,E.totalInsulin,E.timeInAuto,E.timeInOverride,E.bgExtents],e.id),u=l.default.includes([E.readingsInRange,E.timeInAuto,E.timeInOverride,E.timeInRange],e.id),c={bgPrefs:n,data:e.data,forcePlainTextValues:!0},f="".concat(e.title).concat(e.units?" (".concat(e.units,")"):"");if("readingsInRange"===e.id&&(null===(i=e.data)||void 0===i||null===(s=i.raw)||void 0===s?void 0:s.total)>0&&(f+=m(" from {{count}} readings",{count:e.data.raw.total})),d)r+=t.buildTextTable(f,l.default.map(l.default.reverse((0,o.default)(e.data.data)),(function(t){var n=a(t,e.dataFormat.summary,c),r="".concat(n.value).concat(n.suffix||"");if(u){var o=a(t,e.dataFormat.tooltip,c);"readingsInRange"===e.id&&(o.suffix+=" readings/day"),r+=" (".concat(o.value).concat(o.suffix||"",")")}return{label:t.legendTitle||t.title,value:r}})),[{key:"label",label:"Label"},{key:"value",label:"Value"}],{showHeader:!1});else{var A=a(l.default.get(e.data,e.data.dataPaths.summary,{}),e.dataFormat.summary,c);0===A.value&&(A.value=[A.value]),l.default.isArray(A.value)||(A.value=l.default.compact([A.value])),l.default.isArray(A.suffix)||(A.suffix=l.default.compact([A.suffix])),r+="\n",r+=t.buildTextLine({label:e.title,value:l.default.map(A.value,(function(t,n){return"".concat(t).concat(A.suffix[n]||(e.units?" ".concat(e.units):""))})).join(" ")})}})),r};var r,o=a(n(84374)),i=a(n(37055)),s=a(n(271)),l=a(n(27825)),d=a(n(82015)),u=a(n(56427)),c=n(84240),f=n(66871),A=n(11270),p=n(99559),g=n(74501),m=u.default.t.bind(u.default);void 0===l.default.get(u.default,"options.returnEmptyString")&&u.default.init({returnEmptyString:!1,nsSeparator:"|"});var h=t.dailyDoseUnitOptions=[{label:"kg",value:"kg"},{label:"lb",value:"lb"}],b=t.statTypes={barHorizontal:"barHorizontal",barBg:"barBg",input:"input",simple:"simple"},y=t.statBgSourceLabels={cbg:m("CGM"),smbg:m("BGM")},v=t.statFormats={bgCount:"bgCount",bgRange:"bgRange",bgValue:"bgValue",cv:"cv",carbs:"carbs",duration:"duration",gmi:"gmi",percentage:"percentage",standardDevRange:"standardDevRange",standardDevValue:"standardDevValue",units:"units",unitsPerKg:"unitsPerKg"},E=t.commonStats={averageGlucose:"averageGlucose",averageDailyDose:"averageDailyDose",bgExtents:"bgExtents",carbs:"carbs",coefficientOfVariation:"coefficientOfVariation",glucoseManagementIndicator:"glucoseManagementIndicator",readingsInRange:"readingsInRange",sensorUsage:"sensorUsage",standardDev:"standardDev",timeInAuto:"timeInAuto",timeInOverride:"timeInOverride",timeInRange:"timeInRange",totalInsulin:"totalInsulin"},C=(t.statFetchMethods=(r={},(0,s.default)(r,E.averageGlucose,"getAverageGlucoseData"),(0,s.default)(r,E.averageDailyDose,"getTotalInsulinData"),(0,s.default)(r,E.bgExtents,"getBgExtentsData"),(0,s.default)(r,E.carbs,"getCarbsData"),(0,s.default)(r,E.coefficientOfVariation,"getCoefficientOfVariationData"),(0,s.default)(r,E.glucoseManagementIndicator,"getGlucoseManagementIndicatorData"),(0,s.default)(r,E.readingsInRange,"getReadingsInRangeData"),(0,s.default)(r,E.sensorUsage,"getSensorUsage"),(0,s.default)(r,E.standardDev,"getStandardDevData"),(0,s.default)(r,E.timeInAuto,"getTimeInAutoData"),(0,s.default)(r,E.timeInOverride,"getTimeInOverrideData"),(0,s.default)(r,E.timeInRange,"getTimeInRangeData"),(0,s.default)(r,E.totalInsulin,"getBasalBolusData"),r),t.getSum=function(e){return l.default.sum(l.default.map(e,(function(e){return l.default.max([e.value,0])})))}),B=t.ensureNumeric=function(e){return l.default.isNil(e)||l.default.isNaN(e)?-1:parseFloat(e)},T=t.isRangeDefined=function(e){return B(e)>-1},S=t.formatDatum=function(){var e,t,n,a,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=o.id,A=l.default.isFinite(o)?o:o.value,m=o.suffix||"",h=s.bgPrefs,b=s.data,y=s.useAGPFormat,E=s.emptyDataPlaceholder,C=void 0===E?"--":E,B=s.forcePlainTextValues,T=void 0!==B&&B,S=l.default.get(b,"total.value"),x=function(){u="statDisabled",A=C};switch(i){case v.bgCount:if(A>=0){var w=A<.05?2:1;A=+A.toFixed(w)}else x();break;case v.bgRange:A=(0,c.generateBgRangeLabels)(h,{condensed:!0})[u];break;case v.bgValue:A>=0?(u=(0,c.classifyBgValue)(l.default.get(h,"bgBounds"),null==h?void 0:h.bgUnits,A,"threeWay"),A=(0,p.formatBgValue)(A,h)):x();break;case v.carbs:if(l.default.isPlainObject(A)&&(A.grams>0||A.exchanges>0)){var I=A,L=I.grams,D=I.exchanges;A=[],m=[],L>0&&(A.push((0,p.formatDecimalNumber)(L)),m.push("g")),D>0&&(A.push(+(0,p.formatDecimalNumber)(D,1)),m.push("exch"))}else x();break;case v.cv:A>=0?(u=(0,c.classifyCvValue)(A),A=y?(0,p.bankersRound)(A,1).toString():(0,p.formatDecimalNumber)(A),m="%"):x();break;case v.duration:A>=0?A=(0,g.formatDuration)(A,{condensed:!0}):x();break;case v.gmi:A>=0?(A=y?(0,p.bankersRound)(A,1).toString():(0,p.formatDecimalNumber)(A,1),m="%"):x();break;case v.percentage:S&&S>=0?(A=l.default.max([A,0]),A=(0,p.formatStatsPercentage)(A/S),m="%"):x();break;case v.standardDevRange:e=l.default.get(o,"deviation.value",-1),A>=0&&e>=0?(n=(t=A-e)>=0?(0,c.classifyBgValue)(l.default.get(h,"bgBounds"),null==h?void 0:h.bgUnits,t,"threeWay"):"low",a=A+e,r=(0,c.classifyBgValue)(l.default.get(h,"bgBounds"),null==h?void 0:h.bgUnits,a,"threeWay"),t=(0,p.formatBgValue)(t,h),a=(0,p.formatBgValue)(a,h),A=T?"".concat(t,"-").concat(a):d.default.createElement("span",null,d.default.createElement("span",{style:{color:f.BG_COLORS[n]}},t)," - ",d.default.createElement("span",{style:{color:f.BG_COLORS[r]}},a))):x();break;case v.standardDevValue:A>=0?A=(0,p.formatBgValue)(A,h):x();break;case v.units:A>=0?(A=(0,p.formatDecimalNumber)(A,1),m="U"):x();break;case v.unitsPerKg:"lb"===m&&(A*=f.LBS_PER_KG),m="U/kg",A>0&&l.default.isFinite(A)?A=(0,p.formatDecimalNumber)(A,2):x()}return{id:u,value:A,suffix:m}},x=t.getStatAnnotations=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.bgSource,r=n.days,o=n.manufacturer,i=(0,A.getPumpVocabulary)(o),s={overrideLabel:i[f.SETTINGS_OVERRIDE],overrideLabelLowerCase:l.default.lowerCase(i[f.SETTINGS_OVERRIDE])},d=[],u=[E.averageGlucose,E.coefficientOfVariation,E.glucoseManagementIndicator,E.readingsInRange,E.timeInRange,E.standardDev];switch(t){case E.averageGlucose:d.push(m("**Avg. Glucose ({{bgSourceLabel}}):** All {{bgSourceLabel}} glucose values added together, divided by the number of readings.",{bgSourceLabel:y[a]}));break;case E.averageDailyDose:r>1?d.push(m("**Avg. Daily Insulin:** All basal and bolus insulin delivery (in Units) added together, divided by the number of days in this view for which we have insulin data.")):d.push(m("**Daily Insulin:** All basal and bolus insulin delivery (in Units) added together."));break;case E.carbs:r>1?d.push(m("**Avg. Daily Carbs**: All carb entries added together, then divided by the number of days in this view for which we have carb data. Note, these entries come from either bolus wizard events, or Apple Health records.")):d.push(m("**Total Carbs**: All carb entries from bolus wizard events or Apple Health records added together.")),d.push(m("Derived from _**{{total}}**_ carb entries.",{total:e.total}));break;case E.coefficientOfVariation:d.push(m("**CV (Coefficient of Variation):** How far apart (wide) glucose values are; research suggests a target of 36% or lower."));break;case E.glucoseManagementIndicator:d.push(m("**GMI (Glucose Management Indicator):** Tells you what your approximate A1C level is likely to be, based on the average glucose level from your CGM readings."));break;case E.readingsInRange:d.push(m("**Readings In Range:** Daily average of the number of {{smbgLabel}} readings.",{smbgLabel:y.smbg}));break;case E.sensorUsage:d.push(m("**Sensor Usage:** Time the {{cbgLabel}} collected data, divided by the total time represented in this view.",{cbgLabel:y.cbg}));break;case E.standardDev:d.push(m("**SD (Standard Deviation):** How far values are from the average."));break;case E.timeInAuto:r>1?(d.push(m("**Time In {{automatedLabel}}:** Daily average of the time spent in automated basal delivery.",{automatedLabel:i[f.AUTOMATED_DELIVERY]})),d.push(m("**How we calculate this:**\n\n**(%)** is the duration in {{automatedLabel}} divided by the total duration of basals for this time period.\n\n**(time)** is 24 hours multiplied by % in {{automatedLabel}}.",{automatedLabel:i[f.AUTOMATED_DELIVERY]}))):(d.push(m("**Time In {{automatedLabel}}:** Time spent in automated basal delivery.",{automatedLabel:i[f.AUTOMATED_DELIVERY]})),d.push(m("**How we calculate this:**\n\n**(%)** is the duration in {{automatedLabel}} divided by the total duration of basals for this time period.\n\n**(time)** is total duration of time in {{automatedLabel}}.",{automatedLabel:i[f.AUTOMATED_DELIVERY]})));break;case E.timeInOverride:r>1?(d.push(m("**Time In {{overrideLabel}}:** Daily average of the time spent in {{overrideLabelLowerCase}}.",s)),d.push(m("**How we calculate this:**\n\n**(%)** is the duration in {{overrideLabelLowerCase}} divided by the total duration for this time period.\n\n**(time)** is 24 hours multiplied by % in {{overrideLabelLowerCase}}.",s))):(d.push(m("**Time In {{overrideLabel}}:** Time spent in {{overrideLabelLowerCase}}.",s)),d.push(m("**How we calculate this:**\n\n**(%)** is the duration in {{overrideLabelLowerCase}} divided by the total duration for this time period.\n\n**(time)** is total duration of time in {{overrideLabelLowerCase}}.",s)));break;case E.timeInRange:r>1?(d.push(m("**Time In Range:** Daily average of the time spent in range, based on {{cbgLabel}} readings.",{cbgLabel:y.cbg})),d.push(m("**How we calculate this:**\n\n**(%)** is the number of readings in range divided by all readings for this time period.\n\n**(time)** is 24 hours multiplied by % in range."))):(d.push(m("**Time In Range:** Time spent in range, based on {{cbgLabel}} readings.",{cbgLabel:y.cbg})),d.push(m("**How we calculate this:**\n\n**(%)** is the number of readings in range divided by all readings for this time period.\n\n**(time)** is number of readings in range multiplied by the {{cbgLabel}} sample frequency.",{cbgLabel:y.cbg})));break;case E.totalInsulin:r>1?d.push(m("**Total Insulin:** All basal and bolus insulin delivery (in Units) added together, divided by the number of days in this view for which we have insulin data")):d.push(m("**Total Insulin:** All basal and bolus insulin delivery (in Units) added together")),d.push(m("**How we calculate this:**\n\n**(%)** is the respective total of basal or bolus delivery divided by total insulin delivered for the time period for which we have insulin data."))}return e.insufficientData?d.push(m("**Why is this stat empty?**\n\nThere is not enough data present in this view to calculate it.")):l.default.includes(u,t)&&"smbg"===a&&d.push(m("Derived from _**{{total}}**_ {{smbgLabel}} readings.",{total:l.default.get(e,"counts.total",e.total),smbgLabel:y.smbg})),d},w=t.getStatData=function(e,t){var n,a,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(0,A.getPumpVocabulary)(r.manufacturer),s=(0,A.getSettingsOverrides)(r.manufacturer),d=(0,c.generateBgRangeLabels)(r.bgPrefs,{condensed:!0}),u={raw:(0,i.default)({days:r.days},e)},p=r.days>1?"dailyAverages":"counts";switch(t){case E.averageGlucose:u.data=[{value:B(e.averageGlucose)}],u.dataPaths={summary:"data.0"};break;case E.averageDailyDose:u.data=[{id:"insulin",input:{id:"weight",label:"Weight",suffix:{id:"units",options:h,value:r.suffixValue||h[0]},type:"number",value:r.inputValue?B(r.inputValue):void 0},output:{label:"Daily Dose ÷ Weight",type:"divisor",dataPaths:{dividend:"data.0"}},value:B(e.totalInsulin)}],u.dataPaths={input:"data.0.input",output:"data.0.output",summary:"data.0"};break;case E.bgExtents:u.data=[{id:"bgMax",value:B(e.bgMax),title:m("Max BG")},{id:"bgMin",value:B(e.bgMin),title:m("Min BG")}];break;case E.carbs:u.data=[{value:{grams:B(l.default.get(e,"carbs.grams")),exchanges:B(l.default.get(e,"carbs.exchanges"))}}],u.dataPaths={summary:"data.0"};break;case E.coefficientOfVariation:u.data=[{id:"cv",value:B(e.coefficientOfVariation)}],u.dataPaths={summary:"data.0"};break;case E.glucoseManagementIndicator:u.data=[{id:"gmi",value:B(e.glucoseManagementIndicator)},{id:"gmiAGP",value:B(e.glucoseManagementIndicatorAGP)}],u.dataPaths={summary:"data.0",summaryAGP:"data.1"};break;case E.readingsInRange:u.data=l.default.filter([T(null===(n=e[p])||void 0===n?void 0:n.veryLow)&&{id:"veryLow",value:B(e[p].veryLow),title:m("Readings Below Range"),legendTitle:d.veryLow},{id:"low",value:B(e[p].low),title:m("Readings Below Range"),legendTitle:d.low},{id:"target",value:B(e[p].target),title:m("Readings In Range"),legendTitle:d.target},{id:"high",value:B(e[p].high),title:m("Readings Above Range"),legendTitle:d.high},T(null===(a=e[p])||void 0===a?void 0:a.veryHigh)&&{id:"veryHigh",value:B(e[p].veryHigh),title:m("Readings Above Range"),legendTitle:d.veryHigh}],Boolean),u.total={value:C(u.data)},u.dataPaths={summary:["data",l.default.findIndex(u.data,{id:"target"})],totalReadings:"raw.counts.total",averageDailyReadings:"total"};break;case E.sensorUsage:u.data=[{value:B(e.sensorUsage)},{value:B(e.sensorUsageAGP)}],u.total={value:B(e.total)},u.dataPaths={summary:"data.0",summaryAGP:"data.1"};break;case E.standardDev:u.data=[{value:B(e.averageGlucose),deviation:{value:B(e.standardDeviation)}}],u.dataPaths={summary:"data.0.deviation",title:"data.0"};break;case E.timeInAuto:u.data=[{id:"basalAutomated",value:B(e.automated),title:m("Time In {{automatedLabel}}",{automatedLabel:o[f.AUTOMATED_DELIVERY]}),legendTitle:o[f.AUTOMATED_DELIVERY]},{id:"basal",value:B(e.manual),title:m("Time In {{scheduledLabel}}",{scheduledLabel:o[f.SCHEDULED_DELIVERY]}),legendTitle:o[f.SCHEDULED_DELIVERY]}],u.total={value:C(u.data)},u.dataPaths={summary:["data",l.default.findIndex(u.data,{id:"basalAutomated"})]};break;case E.timeInOverride:u.data=l.default.map(s,(function(t){return{id:t,value:B(l.default.get(e,t,0)),title:m("Time In {{overrideLabel}}",{overrideLabel:l.default.get(o,[t,"label"])}),legendTitle:l.default.get(o,[t,"label"])}})),u.sum={value:C(u.data)},u.total={value:f.MS_IN_DAY},u.dataPaths={summary:"sum"};break;case E.timeInRange:u.data=l.default.filter([T(e.durations.veryLow)&&{id:"veryLow",value:B(e.durations.veryLow),title:m("Time Below Range"),legendTitle:d.veryLow},{id:"low",value:B(e.durations.low),title:m("Time Below Range"),legendTitle:d.low},{id:"target",value:B(e.durations.target),title:m("Time In Range"),legendTitle:d.target},{id:"high",value:B(e.durations.high),title:m("Time Above Range"),legendTitle:d.high},T(e.durations.veryHigh)&&{id:"veryHigh",value:B(e.durations.veryHigh),title:m("Time Above Range"),legendTitle:d.veryHigh}],Boolean),u.total={value:C(u.data)},u.dataPaths={summary:["data",l.default.findIndex(u.data,{id:"target"})]};break;case E.totalInsulin:u.data=[{id:"bolus",value:B(e.bolus),title:m("Bolus Insulin"),legendTitle:m("Bolus")},{id:"basal",value:B(e.basal),title:m("Basal Insulin"),legendTitle:m("Basal")}],u.total={id:"insulin",value:C(u.data)},u.dataPaths={summary:"total",title:"total"};break;default:u=void 0}return u},I=t.getStatTitle=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.bgSource,r=n.days,o=(0,A.getPumpVocabulary)(n.manufacturer),i=m("cbg"===a?"Glucose":"BG");switch(e){case E.averageGlucose:t=m("Avg. Glucose ({{bgSourceLabel}})",{bgSourceLabel:y[a]});break;case E.averageDailyDose:t=m(r>1?"Avg. Daily Insulin":"Total Insulin");break;case E.bgExtents:t=m("{{bgTypeLabel}} Extents ({{bgSourceLabel}})",{bgSourceLabel:y[a],bgTypeLabel:i});break;case E.carbs:t=m(r>1?"Avg. Daily Carbs":"Total Carbs");break;case E.coefficientOfVariation:t=m("CV ({{bgSourceLabel}})",{bgSourceLabel:y[a]});break;case E.glucoseManagementIndicator:t=m("GMI ({{bgSourceLabel}})",{bgSourceLabel:y[a]});break;case E.readingsInRange:t=m(r>1?"Avg. Daily Readings In Range":"Readings In Range");break;case E.sensorUsage:t=m("Sensor Usage");break;case E.standardDev:t=m("Std. Deviation ({{bgSourceLabel}})",{bgSourceLabel:y[a]});break;case E.timeInAuto:t=m(r>1?"Avg. Daily Time In {{automatedLabel}}":"Time In {{automatedLabel}}",{automatedLabel:o[f.AUTOMATED_DELIVERY]});break;case E.timeInOverride:t=m(r>1?"Avg. Daily Time In {{overrideLabel}}":"Time In {{overrideLabel}}",{overrideLabel:o[f.SETTINGS_OVERRIDE]});break;case E.timeInRange:t=m(r>1?"Avg. Daily Time In Range":"Time In Range");break;case E.totalInsulin:t=m(r>1?"Avg. Daily Total Insulin":"Total Insulin");break;default:t=""}return t};t.getStatDefinition=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a={annotations:x(e,t,n),collapsible:l.default.get(n,"collapsible",!1),data:w(e,t,n),id:t,title:I(t,n),type:b.barHorizontal};switch(t){case E.averageGlucose:a.dataFormat={label:v.bgValue,summary:v.bgValue},a.type=b.barBg,a.units=l.default.get(n,"bgPrefs.bgUnits");break;case E.averageDailyDose:a.alwaysShowSummary=!0,a.dataFormat={output:v.unitsPerKg,summary:v.units},a.type=b.input;break;case E.bgExtents:a.dataFormat={label:v.bgValue,summary:v.bgValue},a.type=b.simple,a.units=l.default.get(n,"bgPrefs.bgUnits");break;case E.carbs:a.dataFormat={summary:v.carbs},a.type=b.simple;break;case E.coefficientOfVariation:a.dataFormat={summary:v.cv},a.type=b.simple;break;case E.glucoseManagementIndicator:a.dataFormat={summary:v.gmi},a.type=b.simple;break;case E.readingsInRange:a.alwaysShowTooltips=!0,a.dataFormat={label:v.percentage,summary:v.percentage,tooltip:v.bgCount,tooltipTitle:v.bgRange,count:v.bgCount},a.legend=!0,a.hideSummaryUnits=!0,a.reverseLegendOrder=!0,a.units=l.default.get(n,"bgPrefs.bgUnits");break;case E.sensorUsage:a.dataFormat={summary:v.percentage},a.type=b.simple;break;case E.standardDev:a.dataFormat={label:v.standardDevValue,summary:v.standardDevValue,title:v.standardDevRange},a.type=b.barBg,a.units=l.default.get(n,"bgPrefs.bgUnits");break;case E.timeInAuto:a.alwaysShowTooltips=!0,a.dataFormat={label:v.percentage,summary:v.percentage,tooltip:v.duration},a.legend=!0;break;case E.timeInOverride:a.alwaysShowTooltips=!0,a.dataFormat={label:v.percentage,summary:v.percentage,tooltip:v.duration},a.legend=!0,a.reverseLegendOrder=!0;break;case E.timeInRange:a.alwaysShowTooltips=!0,a.dataFormat={label:v.percentage,summary:v.percentage,tooltip:v.duration,tooltipTitle:v.bgRange},a.legend=!0,a.hideSummaryUnits=!0,a.reverseLegendOrder=!0,a.units=l.default.get(n,"bgPrefs.bgUnits");break;case E.totalInsulin:a.alwaysShowTooltips=!0,a.dataFormat={label:v.percentage,summary:v.units,title:v.units,tooltip:v.units},a.legend=!0;break;default:a=void 0}return a}},40549:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TextUtil=void 0;var r=a(n(4841)),o=a(n(46721)),i=a(n(27825)),s=a(n(29610)),l=a(n(56427)),d=n(74501),u=n(66871),c=n(19992),f=l.default.t.bind(l.default),A=t.TextUtil=(0,r.default)((function e(t,n,a,r){var l=this;(0,o.default)(this,e),this.buildDocumentHeader=function(e){var t,n,a,r,o=l.copyAsTextMetadata,s=o.isClinicianAccount,u=void 0!==s&&s,A=o.patientTags,p=void 0===A?[]:A,g=o.sites,m=void 0===g?[]:g,h=l.buildTextLine((0,c.getPatientFullName)(l.patient)),b=l.buildTextLine({label:f("Date of birth"),value:(0,d.formatBirthdate)(l.patient)}),y=(0,d.formatDiagnosisDate)(l.patient),v=y?l.buildTextLine({label:f("Date of diagnosis"),value:y}):"",E=(null===(t=l.patient)||void 0===t?void 0:t.clinicPatientMRN)||(null===(n=l.patient)||void 0===n||null===(a=n.profile)||void 0===a||null===(r=a.patient)||void 0===r?void 0:r.mrn),C=E?l.buildTextLine({label:f("MRN"),value:E}):"",B=i.default.map(p,(function(e){return e.name})).toSorted((function(e,t){return e.localeCompare(t)})).join(", "),T=i.default.map(m,(function(e){return e.name})).toSorted((function(e,t){return e.localeCompare(t)})).join(", ");return h+b+v+C+(u&&p.length?l.buildTextLine({label:f("Patient Tags"),value:B}):"")+(u&&m.length?l.buildTextLine({label:f("Clinic Sites"),value:T}):"")+l.buildTextLine({label:"".concat(f("Exported from Tidepool")).concat(e?" ".concat(e):""),value:(0,d.formatCurrentDate)()})},this.buildDocumentDates=function(){var e=(0,d.getTimezoneFromTimePrefs)(l.timePrefs),t=l.endpoints[0],n=l.endpoints[1]-1;return t-=(0,d.getOffset)(t,e)*u.MS_IN_MIN,n-=(0,d.getOffset)(n,e)*u.MS_IN_MIN,"\nReporting Period: ".concat((0,d.formatDateRange)(t,n),"\n")},this.buildTextLine=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return i.default.isPlainObject(e)?"".concat(e.label,": ").concat(e.value,"\n"):"".concat(e,"\n")},this.buildTextTable=function(e,t,n,a){var r=l.getTable(t,n,a);return e&&r?"\n".concat(e,"\n").concat(r,"\n"):"\n".concat(e||r,"\n")},this.getTable=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};i.default.defaults(n,{showHeader:!0});var a=[l.getTableHeader(t)],r=l.getTableRows(e,t);return n.showHeader?(0,s.default)(a.concat(r)):(0,s.default)(r)},this.getTableHeader=function(e){return i.default.map(e,(function(e){return i.default.isPlainObject(e.label)?"".concat(e.label.main," ").concat(e.label.secondary):e.label}))},this.getTableRows=function(e,t){return i.default.map(e,(function(e){return l.getTableRow(t,e)}))},this.getTableRow=function(e,t){return i.default.map(e,(function(e){return t[e.key]}))},this.patient=t,this.endpoints=n,this.timePrefs=a,this.copyAsTextMetadata=r||{}}));t.default=A},37359:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.categorizeSmbgSubtype=function(e){return e.subType&&"manual"===e.subType?e.subType:"meter"},t.findDatesIntersectingWithCbgSliceSegment=function(e,t,n){var a=t.data;return o.default.uniq(o.default.map(o.default.filter(e,(function(e){return e.msPer24>=a.msFrom&&e.msPer24<a.msTo&&e.value>=a[n[0]]&&e.value<=a[n[1]]})),"localDate")).sort()},t.trendsText=function(e,t,n,a,i){var s=t.bgPrefs,l=t.data.current.endpoints,d=void 0===l?{}:l,f=t.metaData,A=t.query,p=t.timePrefs;o.default.defaults(s,{bgBounds:c.reshapeBgClassesToBgBounds(s)});var g=new c.TextUtil(e,d.range,p,i),m=g.buildDocumentHeader("Trends");m+=g.buildDocumentDates();var h=o.default.map(o.default.keys(o.default.pickBy(a.activeDays,(function(e){return!1===e}))),o.default.capitalize).join(", ");h.length&&(m+=g.buildTextLine({label:"Excluded Days",value:h})),m+=c.statsText(n,g,s);var b={cbg:"cgm",smbg:"bgm"},y=o.default.filter(null==f?void 0:f.devices,(function(e){var t;return(null==f||null===(t=f.matchedDevices)||void 0===t?void 0:t[e.id])&&(e.pump||e[b[null==A?void 0:A.bgSource]])}));if(y.length){var v=["\n".concat(u("Devices Uploaded"))].concat((0,r.default)(o.default.map(y,(function(e){var t=e.id;return e.label||t}))));o.default.each(v,(function(e){m+=g.buildTextLine(e)}))}return m},t.utils=void 0;var r=a(n(84374)),o=a(n(27825)),i=a(n(56427)),s=a(n(40549)),l=n(80358),d=n(84240),u=i.default.t.bind(i.default),c=t.utils={reshapeBgClassesToBgBounds:d.reshapeBgClassesToBgBounds,statsText:l.statsText,TextUtil:s.default}},50535:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,".ClipboardButton--copyButton--w99lI {\n padding: 5px 10px;\n border-radius: 4px;\n cursor: pointer;\n color: var(--text-medium-contrast);\n background-color: var(--white);\n border: solid 1px var(--stat--border);\n outline: none;\n position: relative;\n text-align: left;\n line-height: 1;\n}\n\n.ClipboardButton--copyButton--w99lI:hover {\n background-image: none;\n color: var(--white);\n background-color: var(--brand-purple);\n border-color: var(--brand-purple);\n}\n\n.ClipboardButton--copyButton--w99lI:active {\n background-image: none;\n color: var(--white);\n background-color: var(--brand-purple);\n border-color: var(--brand-purple);\n opacity: 0.62;\n}\n\n.ClipboardButton--buttonText--mjoj5, .ClipboardButton--successText--nNMjn {\n margin: 0;\n padding: 0;\n display: block;\n}\n\n.ClipboardButton--copyButton--w99lI.ClipboardButton--buttonTextHidden--I_vrY .ClipboardButton--buttonText--mjoj5 {\n visibility: hidden;\n height: 0;\n}\n\n.ClipboardButton--copyButton--w99lI.ClipboardButton--successTextHidden--uGDmL .ClipboardButton--successText--nNMjn {\n visibility: hidden;\n height: 0;\n}\n\n@media print {\n .ClipboardButton--copyButton--w99lI {\n display: none;\n }\n}\n","",{version:3,sources:["webpack://./src/components/common/controls/ClipboardButton.css"],names:[],mappings:"AAAA;EAEE,iBAAiB;EACjB,kBAAkB;EAClB,eAAe;EACf,kCAAkC;EAClC,8BAA8B;EAC9B,qCAAqC;EACrC,aAAa;EACb,kBAAkB;EAClB,gBAAgB;EAChB,cAAc;AAChB;;AAEA;EACE,sBAAsB;EACtB,mBAAmB;EACnB,qCAAqC;EACrC,iCAAiC;AACnC;;AAEA;EACE,sBAAsB;EACtB,mBAAmB;EACnB,qCAAqC;EACrC,iCAAiC;EACjC,aAAa;AACf;;AAEA;EACE,SAAS;EACT,UAAU;EACV,cAAc;AAChB;;AAEA;EACE,kBAAkB;EAClB,SAAS;AACX;;AAEA;EACE,kBAAkB;EAClB,SAAS;AACX;;AAEA;EACE;IACE,aAAa;EACf;AACF",sourcesContent:[".copyButton {\n composes: defaultSize from '../../../styles/typography.css';\n padding: 5px 10px;\n border-radius: 4px;\n cursor: pointer;\n color: var(--text-medium-contrast);\n background-color: var(--white);\n border: solid 1px var(--stat--border);\n outline: none;\n position: relative;\n text-align: left;\n line-height: 1;\n}\n\n.copyButton:hover {\n background-image: none;\n color: var(--white);\n background-color: var(--brand-purple);\n border-color: var(--brand-purple);\n}\n\n.copyButton:active {\n background-image: none;\n color: var(--white);\n background-color: var(--brand-purple);\n border-color: var(--brand-purple);\n opacity: 0.62;\n}\n\n.buttonText, .successText {\n margin: 0;\n padding: 0;\n display: block;\n}\n\n.copyButton.buttonTextHidden .buttonText {\n visibility: hidden;\n height: 0;\n}\n\n.copyButton.successTextHidden .successText {\n visibility: hidden;\n height: 0;\n}\n\n@media print {\n .copyButton {\n display: none;\n }\n}\n"],sourceRoot:""}]),l.locals={copyButton:`ClipboardButton--copyButton--w99lI ${s.A.locals.defaultSize}`,buttonText:"ClipboardButton--buttonText--mjoj5",successText:"ClipboardButton--successText--nNMjn",buttonTextHidden:"ClipboardButton--buttonTextHidden--I_vrY",successTextHidden:"ClipboardButton--successTextHidden--uGDmL"};const d=l},40916:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,".inputGroup-suffix__indicator-separator {\n display: none !important;\n}\n\n.inputGroup-suffix__input {\n color: transparent;\n}\n\n.inputGroup-suffix__control {\n height: 24px;\n min-height: 24px !important;\n border: none !important;\n background-color: transparent !important;\n border-radius: 0 !important;\n box-shadow: none !important;\n}\n\n.inputGroup-suffix__control--is-focused {\n border: none !important;\n box-shadow: none !important;\n outline: 0 !important;\n}\n\n.inputGroup-suffix__dropdown-indicator {\n padding: 0 !important;\n}\n\n.inputGroup-suffix__dropdown-indicator svg {\n height: 14px;\n}\n\n.inputGroup-suffix__value-container {\n padding: 0 4px !important;\n line-height: 1;\n}\n\n.InputGroup--wrapper--y51z5 {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.InputGroup--label--ZN_Cx {\n}\n\n.InputGroup--inputs--IipzK {\n display: flex;\n align-items: center;\n}\n\n.InputGroup--inputs--IipzK > input:first-child {\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n border: 1px solid var(--stat--border);\n border-right: none;\n padding: 0 5px;\n height: 24px;\n}\n\n.InputGroup--inputs--IipzK > input:first-child:focus {\n outline: 0;\n}\n\n.InputGroup--input-number--zOn79 {\n min-width: 50px;\n -moz-appearance: textfield;\n}\n\n.InputGroup--input-number--zOn79::-webkit-outer-spin-button,\n.InputGroup--input-number--zOn79::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n.InputGroup--suffix--XhEVc {\n min-width: 45px;\n border: 1px solid var(--input--border);\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n height: 24px;\n}\n\n.InputGroup--suffixText--vyPiD {\n display: flex;\n align-items: center;\n padding-left: 5px;\n min-width: 40px;\n color: var(--input--disabled);\n}\n","",{version:3,sources:["webpack://./src/components/common/controls/InputGroup.css"],names:[],mappings:"AAAA;EACE,wBAAwB;AAC1B;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,YAAY;EACZ,2BAA2B;EAC3B,uBAAuB;EACvB,wCAAwC;EACxC,2BAA2B;EAC3B,2BAA2B;AAC7B;;AAEA;EACE,uBAAuB;EACvB,2BAA2B;EAC3B,qBAAqB;AACvB;;AAEA;EACE,qBAAqB;AACvB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,yBAAyB;EACzB,cAAc;AAChB;;AAEA;EACE,aAAa;EACb,8BAA8B;EAC9B,mBAAmB;AACrB;;AAEA;AAEA;;AAEA;EACE,aAAa;EACb,mBAAmB;AAErB;;AAEA;EACE,2BAA2B;EAC3B,8BAA8B;EAC9B,qCAAqC;EACrC,kBAAkB;EAClB,cAAc;EACd,YAAY;AACd;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE,eAAe;EACf,0BAA0B;AAC5B;;AAEA;;EAEE,wBAAwB;EACxB,SAAS;AACX;;AAEA;EACE,eAAe;EACf,sCAAsC;EACtC,4BAA4B;EAC5B,+BAA+B;EAC/B,YAAY;AACd;;AAEA;EAEE,aAAa;EACb,mBAAmB;EACnB,iBAAiB;EACjB,eAAe;EACf,6BAA6B;AAC/B",sourcesContent:[":global(.inputGroup-suffix__indicator-separator) {\n display: none !important;\n}\n\n:global(.inputGroup-suffix__input) {\n color: transparent;\n}\n\n:global(.inputGroup-suffix__control) {\n height: 24px;\n min-height: 24px !important;\n border: none !important;\n background-color: transparent !important;\n border-radius: 0 !important;\n box-shadow: none !important;\n}\n\n:global(.inputGroup-suffix__control--is-focused) {\n border: none !important;\n box-shadow: none !important;\n outline: 0 !important;\n}\n\n:global(.inputGroup-suffix__dropdown-indicator) {\n padding: 0 !important;\n}\n\n:global(.inputGroup-suffix__dropdown-indicator svg) {\n height: 14px;\n}\n\n:global(.inputGroup-suffix__value-container) {\n padding: 0 4px !important;\n line-height: 1;\n}\n\n.wrapper {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.label {\n composes: largeSize from '../../../styles/typography.css';\n}\n\n.inputs {\n display: flex;\n align-items: center;\n composes: smallSize from '../../../styles/typography.css';\n}\n\n.inputs > input:first-child {\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n border: 1px solid var(--stat--border);\n border-right: none;\n padding: 0 5px;\n height: 24px;\n}\n\n.inputs > input:first-child:focus {\n outline: 0;\n}\n\n.input-number {\n min-width: 50px;\n -moz-appearance: textfield;\n}\n\n.input-number::-webkit-outer-spin-button,\n.input-number::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n.suffix {\n min-width: 45px;\n border: 1px solid var(--input--border);\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n height: 24px;\n}\n\n.suffixText {\n composes: suffix;\n display: flex;\n align-items: center;\n padding-left: 5px;\n min-width: 40px;\n color: var(--input--disabled);\n}\n"],sourceRoot:""}]),l.locals={wrapper:"InputGroup--wrapper--y51z5",label:`InputGroup--label--ZN_Cx ${s.A.locals.largeSize}`,inputs:`InputGroup--inputs--IipzK ${s.A.locals.smallSize}`,"input-number":"InputGroup--input-number--zOn79",suffix:"InputGroup--suffix--XhEVc",suffixText:"InputGroup--suffixText--vyPiD InputGroup--suffix--XhEVc"};const d=l},15651:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.LabeledCheckbox--label--jG7lM {\n padding-right: 12px;\n}\n","",{version:3,sources:["webpack://./src/components/common/controls/LabeledCheckbox.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EAEE,mBAAmB;AACrB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.label {\n composes: mediumContrastText largeSize from '../../../styles/typography.css';\n padding-right: 12px;\n}\n"],sourceRoot:""}]),l.locals={label:`LabeledCheckbox--label--jG7lM ${s.A.locals.mediumContrastText} ${s.A.locals.largeSize}`};const d=l},34788:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.TwoOptionToggle--container--OdIe3 {\n display: flex;\n align-items: center;\n}\n\n.TwoOptionToggle--label--lB1hx {\n padding: 4px;\n}\n\n.TwoOptionToggle--active--ivP8e {\n font-weight: bold;\n}\n\n.TwoOptionToggle--toggle--B8rXE {\n display: inline-block;\n position: relative;\n\n background-color: transparent;\n border: 0;\n cursor: pointer;\n padding: 0;\n user-select: none;\n}\n\n.TwoOptionToggle--disabled--qOCdW {\n cursor: not-allowed;\n opacity: 0.5;\n transition: opacity 0.25s;\n}\n\n.TwoOptionToggle--track--ATEgh {\n width: 50px;\n height: 24px;\n\n background-color: var(--chrome);\n border-radius: 30px;\n padding: 0;\n transition: all 0.2s ease;\n}\n\n.TwoOptionToggle--thumb--oDGxu {\n position: absolute;\n top: 1px;\n\n width: 22px;\n height: 22px;\n\n background-color: white;\n border: 1px solid var(--chrome);\n border-radius: 50%;\n box-sizing: border-box;\n transition: all 0.25s ease;\n}\n\n.TwoOptionToggle--leftThumb--WFiaf {\n left: 1px;\n}\n\n.TwoOptionToggle--rightThumb--mshdP {\n left: 27px;\n}\n","",{version:3,sources:["webpack://./src/components/common/controls/TwoOptionToggle.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,aAAa;EACb,mBAAmB;AACrB;;AAEA;EAEE,YAAY;AACd;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,qBAAqB;EACrB,kBAAkB;;EAElB,6BAA6B;EAC7B,SAAS;EACT,eAAe;EACf,UAAU;EACV,iBAAiB;AACnB;;AAEA;EAEE,mBAAmB;EACnB,YAAY;EACZ,yBAAyB;AAC3B;;AAEA;EACE,WAAW;EACX,YAAY;;EAEZ,+BAA+B;EAC/B,mBAAmB;EACnB,UAAU;EACV,yBAAyB;AAC3B;;AAEA;EACE,kBAAkB;EAClB,QAAQ;;EAER,WAAW;EACX,YAAY;;EAEZ,uBAAuB;EACvB,+BAA+B;EAC/B,kBAAkB;EAClB,sBAAsB;EACtB,0BAA0B;AAC5B;;AAEA;EAEE,SAAS;AACX;;AAEA;EAEE,UAAU;AACZ",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.container {\n display: flex;\n align-items: center;\n}\n\n.label {\n composes: mediumContrastText smallSize from '../../../styles/typography.css';\n padding: 4px;\n}\n\n.active {\n font-weight: bold;\n}\n\n.toggle {\n display: inline-block;\n position: relative;\n\n background-color: transparent;\n border: 0;\n cursor: pointer;\n padding: 0;\n user-select: none;\n}\n\n.disabled {\n composes: toggle;\n cursor: not-allowed;\n opacity: 0.5;\n transition: opacity 0.25s;\n}\n\n.track {\n width: 50px;\n height: 24px;\n\n background-color: var(--chrome);\n border-radius: 30px;\n padding: 0;\n transition: all 0.2s ease;\n}\n\n.thumb {\n position: absolute;\n top: 1px;\n\n width: 22px;\n height: 22px;\n\n background-color: white;\n border: 1px solid var(--chrome);\n border-radius: 50%;\n box-sizing: border-box;\n transition: all 0.25s ease;\n}\n\n.leftThumb {\n composes: thumb;\n left: 1px;\n}\n\n.rightThumb {\n composes: thumb;\n left: 27px;\n}\n"],sourceRoot:""}]),l.locals={container:"TwoOptionToggle--container--OdIe3",label:`TwoOptionToggle--label--lB1hx ${s.A.locals.mediumContrastText} ${s.A.locals.smallSize}`,active:"TwoOptionToggle--active--ivP8e",toggle:"TwoOptionToggle--toggle--B8rXE",disabled:"TwoOptionToggle--disabled--qOCdW TwoOptionToggle--toggle--B8rXE",track:"TwoOptionToggle--track--ATEgh",thumb:"TwoOptionToggle--thumb--oDGxu",leftThumb:"TwoOptionToggle--leftThumb--WFiaf TwoOptionToggle--thumb--oDGxu",rightThumb:"TwoOptionToggle--rightThumb--mshdP TwoOptionToggle--thumb--oDGxu"};const d=l},87145:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,".Loader--loader--dwYOs {\n display: flex;\n pointer-events: none;\n}\n\n.Loader--loaderDots--eqXFC {\n opacity: 1;\n transition: opacity .25s ease;\n display: flex;\n position: absolute;\n z-index: 10;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n\n.Loader--loaderText--V2ecY {\n color: var(--text-high-contrast);\n font-size: 14px;\n display: flex;\n width: 100%;\n justify-content: center;\n position: absolute;\n top: calc(50% + 29px);\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.Loader--loaderDots--eqXFC.Loader--overlay--nJPRz {\n background: radial-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.7));\n}\n\n.Loader--loaderDots--eqXFC.Loader--hidden--ClZJj {\n opacity: 0.01;\n}\n\n.Loader--loaderDot--eumH1 {\n margin: 5px;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n background: var(--brand-purple-dark);\n transform: scale(0.5);\n}\n\n.Loader--loaderDot--eumH1.Loader--animating--fUk3W {\n animation: Loader--scale-dot--s89v6 1.2s ease-out infinite;\n}\n\n.Loader--loaderDot--eumH1:nth-of-type(2) {\n animation-delay: 0.2s;\n}\n\n.Loader--loaderDot--eumH1:nth-of-type(3) {\n animation-delay: 0.3s;\n}\n\n.Loader--loaderDot--eumH1:nth-of-type(4) {\n animation-delay: 0.4s;\n}\n\n.Loader--loaderDot--eumH1:nth-of-type(5) {\n animation-delay: 0.5s;\n}\n\n@keyframes Loader--scale-dot--s89v6 {\n 0% {\n transform: scale(0.5);\n }\n 25% {\n transform: scale(1);\n }\n 75% {\n transform: scale(0.5);\n }\n 100% {\n transform: scale(0.5);\n }\n}\n","",{version:3,sources:["webpack://./src/components/common/loader/Loader.css"],names:[],mappings:"AAAA;EACE,aAAa;EACb,oBAAoB;AACtB;;AAEA;EACE,UAAU;EACV,6BAA6B;EAC7B,aAAa;EACb,kBAAkB;EAClB,WAAW;EACX,QAAQ;EACR,SAAS;EACT,gCAAgC;EAChC,uBAAuB;EACvB,mBAAmB;EACnB,WAAW;EACX,YAAY;AACd;;AAEA;EACE,gCAAgC;EAChC,eAAe;EACf,aAAa;EACb,WAAW;EACX,uBAAuB;EACvB,kBAAkB;EAClB,qBAAqB;EACrB,SAAS;EACT,gCAAgC;AAClC;;AAEA;EACE,yEAAyE;AAC3E;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,WAAW;EACX,WAAW;EACX,YAAY;EACZ,kBAAkB;EAClB,oCAAoC;EACpC,qBAAqB;AACvB;;AAEA;EACE,0DAA2C;AAC7C;;AAEA;EACE,qBAAqB;AACvB;;AAEA;EACE,qBAAqB;AACvB;;AAEA;EACE,qBAAqB;AACvB;;AAEA;EACE,qBAAqB;AACvB;;AAEA;EACE;IACE,qBAAqB;EACvB;EACA;IACE,mBAAmB;EACrB;EACA;IACE,qBAAqB;EACvB;EACA;IACE,qBAAqB;EACvB;AACF",sourcesContent:[".loader {\n display: flex;\n pointer-events: none;\n}\n\n.loaderDots {\n opacity: 1;\n transition: opacity .25s ease;\n display: flex;\n position: absolute;\n z-index: 10;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n\n.loaderText {\n color: var(--text-high-contrast);\n font-size: 14px;\n display: flex;\n width: 100%;\n justify-content: center;\n position: absolute;\n top: calc(50% + 29px);\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.loaderDots.overlay {\n background: radial-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.7));\n}\n\n.loaderDots.hidden {\n opacity: 0.01;\n}\n\n.loaderDot {\n margin: 5px;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n background: var(--brand-purple-dark);\n transform: scale(0.5);\n}\n\n.loaderDot.animating {\n animation: scale-dot 1.2s ease-out infinite;\n}\n\n.loaderDot:nth-of-type(2) {\n animation-delay: 0.2s;\n}\n\n.loaderDot:nth-of-type(3) {\n animation-delay: 0.3s;\n}\n\n.loaderDot:nth-of-type(4) {\n animation-delay: 0.4s;\n}\n\n.loaderDot:nth-of-type(5) {\n animation-delay: 0.5s;\n}\n\n@keyframes scale-dot {\n 0% {\n transform: scale(0.5);\n }\n 25% {\n transform: scale(1);\n }\n 75% {\n transform: scale(0.5);\n }\n 100% {\n transform: scale(0.5);\n }\n}\n"],sourceRoot:""}]),i.locals={loader:"Loader--loader--dwYOs",loaderDots:"Loader--loaderDots--eqXFC",loaderText:"Loader--loaderText--V2ecY",overlay:"Loader--overlay--nJPRz",hidden:"Loader--hidden--ClZJj",loaderDot:"Loader--loaderDot--eumH1",animating:"Loader--animating--fUk3W","scale-dot":"Loader--scale-dot--s89v6"};const s=i},51619:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,'.Stat--StatWrapper--KWm_y {\n position: relative;\n overflow: visible;\n}\n\n.Stat--Stat--cQ2U_ {\n background-color: var(--bkgrnd-white);\n border-radius: 8px;\n border: 1px solid var(--stat--border);\n}\n\n.Stat--Stat--cQ2U_ tspan {\n font-family: "Basis", "Helvetica Neue", Helvetica, Arial, sans-serif !important;\n font-weight: 500 !important;\n}\n\n.Stat--statHeader--TPpS6 {\n display: flex;\n flex-wrap: nowrap;\n align-items: flex-start;\n justify-content: space-between;\n height: 1.5em;\n margin: 0.25em 0.625em;\n overflow: hidden;\n}\n\n.Stat--statHeaderContainerNonStandardTargets--OlXxc {\n border-radius: 8px;\n background: #F0F5FF;\n display: grid; /* Grid layout ensures the background fills the container */\n}\n\n.Stat--Stat--cQ2U_.Stat--isOpen--IIudz .Stat--statHeaderContainerNonStandardTargets--OlXxc {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n margin-bottom: 0.75em;\n padding-bottom: 0.25em;\n}\n\n.Stat--statHeaderNonStandardWarning--SXZP8 {\n position: relative;\n top: -4px;\n margin: 0 0.625em;\n font-style: italic;\n font-size: 14px;\n}\n\n.Stat--statMain--bVDPU {\n padding: 0 0.625em;\n overflow: hidden;\n}\n\n.statCollapse {\n transition: height 250ms;\n}\n\n.Stat--statFooter--mEztE {\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n justify-content: space-between;\n border-top: 1px solid var(--stat--border);\n padding: 0.25em 0.625em .375em;\n overflow: hidden;\n}\n\n.Stat--chartTitle--lZSYG {\n font-weight: 500;\n line-height: 1;\n white-space: nowrap;\n margin-top: .25em;\n color: var(--stat--default);\n width: 100%;\n min-width: 0;\n display: flex;\n}\n\n.Stat--chartTitleText--uzqDQ {\n display: inline-block;\n min-width: 0;\n overflow-x: clip;\n text-overflow: ellipsis;\n}\n\n.Stat--chartSummary--QudLx {\n line-height: 1;\n display: flex;\n justify-content: space-between;\n}\n\n.Stat--summaryData--wSEtu {\n display: inline-block;\n white-space: nowrap;\n padding-right: .35em;\n padding-left: .35em;\n}\n\n.Stat--summaryData--wSEtu:last-child {\n padding-right: 0;\n}\n\n.Stat--summaryValue--njf4T {\n opacity: 1;\n display: inline-block;\n font-weight: 500;\n}\n\n.Stat--summarySuffix--KBz9E {\n color: var(--stat--default);\n font-weight: normal;\n position: relative;\n bottom: 1px;\n padding-left: 1px;\n}\n\n.Stat--units--XCEsR {\n color: var(--stat--default);\n font-weight: normal;\n align-self: center;\n line-height: 24px;\n padding-left: .5em;\n}\n\n.Stat--chartTitleData--TmZ6Q {\n display: none;\n padding-left: .25em;\n align-items: center;\n position: relative;\n top: -1px;\n color: var(--stat--default);\n}\n\n.Stat--chartTitleData--TmZ6Q span {\n margin-top: 1px;\n}\n\n.Stat--chartTitleSuffix--CgcRd {\n font-weight: normal;\n padding-left: 1px;\n}\n\n.Stat--Stat--cQ2U_.Stat--isOpen--IIudz .Stat--chartTitleData--TmZ6Q {\n display: inline-flex;\n}\n\n.Stat--chartCollapse--jo1M7 {\n margin-bottom: 0;\n margin-right: -0.3em;\n height: 24px;\n line-height: 1;\n}\n\n.Stat--chartCollapse--jo1M7 img {\n position: relative;\n cursor: pointer;\n}\n\n.Stat--chartWrapper--jkeYr {\n padding-bottom: .125em;\n}\n\n.Stat--inputWrapper--wlg0q {\n padding: 0.5em 0.625em .5em;\n}\n\n.Stat--inputWrapper--wlg0q label {\n font-weight: 500;\n}\n\n.Stat--inputWrapper--wlg0q input[type="number"] {\n width: 45px;\n}\n\n.Stat--outputWrapper--qgnDe {\n display: flex;\n flex-wrap: nowrap;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n color: var(--stat--default);\n}\n\n.Stat--outputValue--on2Ws {\n font-weight: 500;\n color: var(--stat--default);\n margin-right: .25em;\n position: relative;\n top: 1px;\n}\n\n.Stat--outputSuffix--WEbZg {\n color: var(--stat--default);\n}\n\n.Stat--outputValueDisabled--ydkWF {\n color: var(--stat--default);\n}\n\n.Stat--outputLabel--CtKR1 {\n font-weight: 500;\n color: var(--stat--default);\n}\n\n.Stat--tooltipIcon--jgX3r {\n position: relative;\n top: -0.3em;\n margin-left: 0.1em;\n}\n\n.Stat--tooltipIcon--jgX3r > img {\n width: 0.9em;\n}\n\n.Stat--StatTooltipWrapper--i8dsZ {\n z-index: 1;\n position: relative;\n}\n',"",{version:3,sources:["webpack://./src/components/common/stat/Stat.css"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,iBAAiB;AACnB;;AAEA;EACE,qCAAqC;EACrC,kBAAkB;EAClB,qCAAqC;AACvC;;AAEA;EACE,+EAA+E;EAC/E,2BAA2B;AAC7B;;AAEA;EACE,aAAa;EACb,iBAAiB;EACjB,uBAAuB;EACvB,8BAA8B;EAC9B,aAAa;EACb,sBAAsB;EACtB,gBAAgB;AAClB;;AAEA;EACE,kBAAkB;EAClB,mBAAmB;EACnB,aAAa,EAAE,2DAA2D;AAC5E;;AAEA;EACE,4BAA4B;EAC5B,6BAA6B;EAC7B,qBAAqB;EACrB,sBAAsB;AACxB;;AAEA;EACE,kBAAkB;EAClB,SAAS;EACT,iBAAiB;EACjB,kBAAkB;EAClB,eAAe;AACjB;;AAEA;EACE,kBAAkB;EAClB,gBAAgB;AAClB;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,aAAa;EACb,iBAAiB;EACjB,mBAAmB;EACnB,8BAA8B;EAC9B,yCAAyC;EACzC,8BAA8B;EAC9B,gBAAgB;AAClB;;AAEA;EAEE,gBAAgB;EAChB,cAAc;EACd,mBAAmB;EACnB,iBAAiB;EACjB,2BAA2B;EAC3B,WAAW;EACX,YAAY;EACZ,aAAa;AACf;;AAEA;EACE,qBAAqB;EACrB,YAAY;EACZ,gBAAgB;EAChB,uBAAuB;AACzB;;AAEA;EACE,cAAc;EACd,aAAa;EACb,8BAA8B;AAChC;;AAEA;EACE,qBAAqB;EACrB,mBAAmB;EACnB,oBAAoB;EACpB,mBAAmB;AACrB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EAEE,UAAU;EACV,qBAAqB;EACrB,gBAAgB;AAClB;;AAEA;EAEE,2BAA2B;EAC3B,mBAAmB;EACnB,kBAAkB;EAClB,WAAW;EACX,iBAAiB;AACnB;;AAEA;EAEE,2BAA2B;EAC3B,mBAAmB;EACnB,kBAAkB;EAClB,iBAAiB;EACjB,kBAAkB;AACpB;;AAEA;EAEE,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,kBAAkB;EAClB,SAAS;EACT,2BAA2B;AAC7B;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,mBAAmB;EACnB,iBAAiB;AACnB;;AAEA;EACE,oBAAoB;AACtB;;AAEA;EACE,gBAAgB;EAChB,oBAAoB;EACpB,YAAY;EACZ,cAAc;AAChB;;AAEA;EACE,kBAAkB;EAClB,eAAe;AACjB;;AAEA;EACE,sBAAsB;AACxB;;AAEA;EACE,2BAA2B;AAC7B;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,WAAW;AACb;;AAEA;EACE,aAAa;EACb,iBAAiB;EACjB,8BAA8B;EAC9B,mBAAmB;EACnB,WAAW;EACX,2BAA2B;AAC7B;;AAEA;EACE,gBAAgB;EAChB,2BAA2B;EAC3B,mBAAmB;EACnB,kBAAkB;EAClB,QAAQ;AACV;;AAEA;EAEE,2BAA2B;AAC7B;;AAEA;EACE,2BAA2B;AAC7B;;AAEA;EACE,gBAAgB;EAChB,2BAA2B;AAC7B;;AAEA;EACE,kBAAkB;EAClB,WAAW;EACX,kBAAkB;AACpB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,UAAU;EACV,kBAAkB;AACpB",sourcesContent:[".StatWrapper {\n position: relative;\n overflow: visible;\n}\n\n.Stat {\n background-color: var(--bkgrnd-white);\n border-radius: 8px;\n border: 1px solid var(--stat--border);\n}\n\n.Stat tspan {\n font-family: \"Basis\", \"Helvetica Neue\", Helvetica, Arial, sans-serif !important;\n font-weight: 500 !important;\n}\n\n.statHeader {\n display: flex;\n flex-wrap: nowrap;\n align-items: flex-start;\n justify-content: space-between;\n height: 1.5em;\n margin: 0.25em 0.625em;\n overflow: hidden;\n}\n\n.statHeaderContainerNonStandardTargets {\n border-radius: 8px;\n background: #F0F5FF;\n display: grid; /* Grid layout ensures the background fills the container */\n}\n\n.Stat.isOpen .statHeaderContainerNonStandardTargets {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n margin-bottom: 0.75em;\n padding-bottom: 0.25em;\n}\n\n.statHeaderNonStandardWarning {\n position: relative;\n top: -4px;\n margin: 0 0.625em;\n font-style: italic;\n font-size: 14px;\n}\n\n.statMain {\n padding: 0 0.625em;\n overflow: hidden;\n}\n\n:global(.statCollapse) {\n transition: height 250ms;\n}\n\n.statFooter {\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n justify-content: space-between;\n border-top: 1px solid var(--stat--border);\n padding: 0.25em 0.625em .375em;\n overflow: hidden;\n}\n\n.chartTitle {\n composes: largeSize from '../../../styles/typography.css';\n font-weight: 500;\n line-height: 1;\n white-space: nowrap;\n margin-top: .25em;\n color: var(--stat--default);\n width: 100%;\n min-width: 0;\n display: flex;\n}\n\n.chartTitleText {\n display: inline-block;\n min-width: 0;\n overflow-x: clip;\n text-overflow: ellipsis;\n}\n\n.chartSummary {\n line-height: 1;\n display: flex;\n justify-content: space-between;\n}\n\n.summaryData {\n display: inline-block;\n white-space: nowrap;\n padding-right: .35em;\n padding-left: .35em;\n}\n\n.summaryData:last-child {\n padding-right: 0;\n}\n\n.summaryValue {\n composes: extraLargeSize from '../../../styles/typography.css';\n opacity: 1;\n display: inline-block;\n font-weight: 500;\n}\n\n.summarySuffix {\n composes: smallSize from '../../../styles/typography.css';\n color: var(--stat--default);\n font-weight: normal;\n position: relative;\n bottom: 1px;\n padding-left: 1px;\n}\n\n.units {\n composes: smallSize from '../../../styles/typography.css';\n color: var(--stat--default);\n font-weight: normal;\n align-self: center;\n line-height: 24px;\n padding-left: .5em;\n}\n\n.chartTitleData {\n composes: smallSize from '../../../styles/typography.css';\n display: none;\n padding-left: .25em;\n align-items: center;\n position: relative;\n top: -1px;\n color: var(--stat--default);\n}\n\n.chartTitleData span {\n margin-top: 1px;\n}\n\n.chartTitleSuffix {\n font-weight: normal;\n padding-left: 1px;\n}\n\n.Stat.isOpen .chartTitleData {\n display: inline-flex;\n}\n\n.chartCollapse {\n margin-bottom: 0;\n margin-right: -0.3em;\n height: 24px;\n line-height: 1;\n}\n\n.chartCollapse img {\n position: relative;\n cursor: pointer;\n}\n\n.chartWrapper {\n padding-bottom: .125em;\n}\n\n.inputWrapper {\n padding: 0.5em 0.625em .5em;\n}\n\n.inputWrapper label {\n font-weight: 500;\n}\n\n.inputWrapper input[type=\"number\"] {\n width: 45px;\n}\n\n.outputWrapper {\n display: flex;\n flex-wrap: nowrap;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n color: var(--stat--default);\n}\n\n.outputValue {\n font-weight: 500;\n color: var(--stat--default);\n margin-right: .25em;\n position: relative;\n top: 1px;\n}\n\n.outputSuffix {\n composes: smallSize from '../../../styles/typography.css';\n color: var(--stat--default);\n}\n\n.outputValueDisabled {\n color: var(--stat--default);\n}\n\n.outputLabel {\n font-weight: 500;\n color: var(--stat--default);\n}\n\n.tooltipIcon {\n position: relative;\n top: -0.3em;\n margin-left: 0.1em;\n}\n\n.tooltipIcon > img {\n width: 0.9em;\n}\n\n.StatTooltipWrapper {\n z-index: 1;\n position: relative;\n}\n"],sourceRoot:""}]),l.locals={StatWrapper:"Stat--StatWrapper--KWm_y",Stat:"Stat--Stat--cQ2U_",statHeader:"Stat--statHeader--TPpS6",statHeaderContainerNonStandardTargets:"Stat--statHeaderContainerNonStandardTargets--OlXxc",isOpen:"Stat--isOpen--IIudz",statHeaderNonStandardWarning:"Stat--statHeaderNonStandardWarning--SXZP8",statMain:"Stat--statMain--bVDPU",statFooter:"Stat--statFooter--mEztE",chartTitle:`Stat--chartTitle--lZSYG ${s.A.locals.largeSize}`,chartTitleText:"Stat--chartTitleText--uzqDQ",chartSummary:"Stat--chartSummary--QudLx",summaryData:"Stat--summaryData--wSEtu",summaryValue:`Stat--summaryValue--njf4T ${s.A.locals.extraLargeSize}`,summarySuffix:`Stat--summarySuffix--KBz9E ${s.A.locals.smallSize}`,units:`Stat--units--XCEsR ${s.A.locals.smallSize}`,chartTitleData:`Stat--chartTitleData--TmZ6Q ${s.A.locals.smallSize}`,chartTitleSuffix:"Stat--chartTitleSuffix--CgcRd",chartCollapse:"Stat--chartCollapse--jo1M7",chartWrapper:"Stat--chartWrapper--jkeYr",inputWrapper:"Stat--inputWrapper--wlg0q",outputWrapper:"Stat--outputWrapper--qgnDe",outputValue:"Stat--outputValue--on2Ws",outputSuffix:`Stat--outputSuffix--WEbZg ${s.A.locals.smallSize}`,outputValueDisabled:"Stat--outputValueDisabled--ydkWF",outputLabel:"Stat--outputLabel--CtKR1",tooltipIcon:"Stat--tooltipIcon--jgX3r",StatTooltipWrapper:"Stat--StatTooltipWrapper--i8dsZ"};const d=l},47064:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,".StatLegend--StatLegend--AEcS9 {\n position: relative;\n list-style: none;\n display: flex;\n margin: 0;\n padding: 0;\n}\n\n.StatLegend--StatLegendItem--vpFW6 {\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n margin: 0 1em 0 0;\n border-bottom: 2px solid;\n}\n\n.StatLegend--StatLegendTitle--GpUwT {\n letter-spacing: -.01em;\n white-space: nowrap;\n line-height: 16px;\n}\n","",{version:3,sources:["webpack://./src/components/common/stat/StatLegend.css"],names:[],mappings:"AAAA;EAEE,kBAAkB;EAClB,gBAAgB;EAChB,aAAa;EACb,SAAS;EACT,UAAU;AACZ;;AAEA;EACE,aAAa;EACb,iBAAiB;EACjB,mBAAmB;EACnB,iBAAiB;EACjB,wBAAwB;AAC1B;;AAEA;EACE,sBAAsB;EACtB,mBAAmB;EACnB,iBAAiB;AACnB",sourcesContent:[".StatLegend {\n composes: smallSize from '../../../styles/typography.css';\n position: relative;\n list-style: none;\n display: flex;\n margin: 0;\n padding: 0;\n}\n\n.StatLegendItem {\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n margin: 0 1em 0 0;\n border-bottom: 2px solid;\n}\n\n.StatLegendTitle {\n letter-spacing: -.01em;\n white-space: nowrap;\n line-height: 16px;\n}\n"],sourceRoot:""}]),l.locals={StatLegend:`StatLegend--StatLegend--AEcS9 ${s.A.locals.smallSize}`,StatLegendItem:"StatLegend--StatLegendItem--vpFW6",StatLegendTitle:"StatLegend--StatLegendTitle--GpUwT"};const d=l},83446:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,".InfoTooltip--container--idFTd {\n width: 260px;\n}\n\n.InfoTooltip--row--ffMSw {\n line-height: 16px;\n color: var(--stat--default);\n margin-bottom: 8px;\n font-weight: medium;\n}\n\n.InfoTooltip--title--I97Ej {\n font-weight: bold;\n}\n\n.InfoTooltip--subtitle--S41E0 {\n}\n\n.InfoTooltip--note--wsFEw {\n font-style: italic;\n}\n\n.InfoTooltip--items--Eu1tq {\n padding-left: 24px;\n margin: 0 0 6px;\n}\n\n.InfoTooltip--item--qrd76 {\n margin-bottom: 2px;\n}\n","",{version:3,sources:["webpack://./src/components/common/tooltips/InfoTooltip.css"],names:[],mappings:"AAAA;EACE,YAAY;AACd;;AAEA;EAEE,iBAAiB;EACjB,2BAA2B;EAC3B,kBAAkB;EAClB,mBAAmB;AACrB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;AAEA;;AAEA;EAEE,kBAAkB;AACpB;;AAEA;EACE,kBAAkB;EAClB,eAAe;AACjB;;AAEA;EAEE,kBAAkB;AACpB",sourcesContent:[".container {\n width: 260px;\n}\n\n.row {\n composes: smallSize from '../../../styles/typography.css';\n line-height: 16px;\n color: var(--stat--default);\n margin-bottom: 8px;\n font-weight: medium;\n}\n\n.title {\n composes: row;\n font-weight: bold;\n}\n\n.subtitle {\n composes: row;\n}\n\n.note {\n composes: row;\n font-style: italic;\n}\n\n.items {\n padding-left: 24px;\n margin: 0 0 6px;\n}\n\n.item {\n composes: row;\n margin-bottom: 2px;\n}\n"],sourceRoot:""}]),l.locals={container:"InfoTooltip--container--idFTd",row:`InfoTooltip--row--ffMSw ${s.A.locals.smallSize}`,title:`InfoTooltip--title--I97Ej InfoTooltip--row--ffMSw ${s.A.locals.smallSize}`,subtitle:`InfoTooltip--subtitle--S41E0 InfoTooltip--row--ffMSw ${s.A.locals.smallSize}`,note:`InfoTooltip--note--wsFEw InfoTooltip--row--ffMSw ${s.A.locals.smallSize}`,items:"InfoTooltip--items--Eu1tq",item:`InfoTooltip--item--qrd76 InfoTooltip--row--ffMSw ${s.A.locals.smallSize}`};const d=l},90524:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,".StatTooltip--row--tFzNn {\n line-height: 16px;\n max-width: 180px;\n min-width: 160px;\n font-weight: medium;\n}\n\n.StatTooltip--message--MOr7T {\n color: var(--stat--default);\n}\n\n.StatTooltip--message--MOr7T p {\n margin: 0;\n}\n\n.StatTooltip--message--MOr7T a {\n pointer-events: all;\n}\n\n.StatTooltip--divider--gqRkM {\n height: 2px;\n margin: 10px -12px;\n background-color: var(--stat--default);\n}\n\n.StatTooltip--hiddenDivider--AMMfk {\n height: 10px;\n background-color: transparent;\n}\n","",{version:3,sources:["webpack://./src/components/common/tooltips/StatTooltip.css"],names:[],mappings:"AAAA;EAEE,iBAAiB;EACjB,gBAAgB;EAChB,gBAAgB;EAChB,mBAAmB;AACrB;;AAEA;EAEE,2BAA2B;AAC7B;;AAEA;EACE,SAAS;AACX;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,WAAW;EACX,kBAAkB;EAClB,sCAAsC;AACxC;;AAEA;EACE,YAAY;EACZ,6BAA6B;AAC/B",sourcesContent:[".row {\n composes: smallSize from '../../../styles/typography.css';\n line-height: 16px;\n max-width: 180px;\n min-width: 160px;\n font-weight: medium;\n}\n\n.message {\n composes: row;\n color: var(--stat--default);\n}\n\n.message p {\n margin: 0;\n}\n\n.message a {\n pointer-events: all;\n}\n\n.divider {\n height: 2px;\n margin: 10px -12px;\n background-color: var(--stat--default);\n}\n\n.hiddenDivider {\n height: 10px;\n background-color: transparent;\n}\n"],sourceRoot:""}]),l.locals={row:`StatTooltip--row--tFzNn ${s.A.locals.smallSize}`,message:`StatTooltip--message--MOr7T StatTooltip--row--tFzNn ${s.A.locals.smallSize}`,divider:"StatTooltip--divider--gqRkM",hiddenDivider:"StatTooltip--hiddenDivider--AMMfk"};const d=l},49090:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.Tooltip--tooltip--nJbNU {\n display: block;\n background-color: #FFFFFF;\n border: solid;\n pointer-events: none;\n position: absolute;\n z-index: 1000;\n}\n\n.Tooltip--content--hPQZv {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n padding: 10px 12px;\n box-sizing: border-box;\n}\n\n.Tooltip--content--hPQZv span {\n width: 100%;\n}\n\n.Tooltip--title--rpDIV {\n background-color: var(--gray05);\n}\n\n.Tooltip--tail--mFMOe {\n width: 0px;\n height: 0px;\n border-style: solid;\n border-color: transparent;\n position: absolute;\n}\n\n.Tooltip--tail--mFMOe.Tooltip--top--IJMXd {\n top: 100%;\n transform: translateX(-50%);\n}\n\n.Tooltip--tail--mFMOe.Tooltip--bottom--DduK7 {\n bottom: 100%;\n transform: translateX(-50%);\n}\n\n.Tooltip--tail--mFMOe.Tooltip--left--_OSeE {\n left: 100%;\n transform: translateY(-50%);\n}\n\n.Tooltip--tail--mFMOe.Tooltip--right--goyyk {\n right: 100%;\n transform: translateY(-50%);\n}\n","",{version:3,sources:["webpack://./src/components/common/tooltips/Tooltip.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,cAAc;EAEd,yBAAyB;EACzB,aAAa;EACb,oBAAoB;EACpB,kBAAkB;EAClB,aAAa;AACf;;AAEA;EACE,kBAAkB;EAClB,aAAa;EACb,mBAAmB;EACnB,8BAA8B;EAC9B,WAAW;EACX,kBAAkB;EAClB,sBAAsB;AACxB;;AAEA;EACE,WAAW;AACb;;AAEA;EAGE,+BAA+B;AACjC;;AAEA;EACE,UAAU;EACV,WAAW;EACX,mBAAmB;EACnB,yBAAyB;EACzB,kBAAkB;AACpB;;AAEA;EACE,SAAS;EACT,2BAA2B;AAC7B;;AAEA;EACE,YAAY;EACZ,2BAA2B;AAC7B;;AAEA;EACE,UAAU;EACV,2BAA2B;AAC7B;;AAEA;EACE,WAAW;EACX,2BAA2B;AAC7B",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.tooltip {\n display: block;\n composes: defaultSize from '../../../styles/typography.css';\n background-color: #FFFFFF;\n border: solid;\n pointer-events: none;\n position: absolute;\n z-index: 1000;\n}\n\n.content {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n padding: 10px 12px;\n box-sizing: border-box;\n}\n\n.content span {\n width: 100%;\n}\n\n.title {\n composes: mediumContrastText from '../../../styles/typography.css';\n composes: content;\n background-color: var(--gray05);\n}\n\n.tail {\n width: 0px;\n height: 0px;\n border-style: solid;\n border-color: transparent;\n position: absolute;\n}\n\n.tail.top {\n top: 100%;\n transform: translateX(-50%);\n}\n\n.tail.bottom {\n bottom: 100%;\n transform: translateX(-50%);\n}\n\n.tail.left {\n left: 100%;\n transform: translateY(-50%);\n}\n\n.tail.right {\n right: 100%;\n transform: translateY(-50%);\n}\n"],sourceRoot:""}]),l.locals={tooltip:`Tooltip--tooltip--nJbNU ${s.A.locals.defaultSize}`,content:"Tooltip--content--hPQZv",title:`Tooltip--title--rpDIV ${s.A.locals.mediumContrastText} Tooltip--content--hPQZv`,tail:"Tooltip--tail--mFMOe",top:"Tooltip--top--IJMXd",bottom:"Tooltip--bottom--DduK7",left:"Tooltip--left--_OSeE",right:"Tooltip--right--goyyk"};const d=l},56345:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,".AlarmTooltip--row--VNj_L {\n line-height: 16px;\n max-width: 200px;\n min-width: 100px;\n font-weight: 500;\n color: var(--stat--default);\n text-align: center;\n}\n\n.AlarmTooltip--time--MeLbt {\n font-weight: 400;\n margin-bottom: 6px;\n}\n\n.AlarmTooltip--deviceAlarmTitle--TsYfw {\n font-weight: 900;\n}\n\n.AlarmTooltip--alarmType--TWFLP {\n}\n","",{version:3,sources:["webpack://./src/components/daily/alarmtooltip/AlarmTooltip.css"],names:[],mappings:"AAAA;EAEE,iBAAiB;EACjB,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;EAChB,2BAA2B;EAC3B,kBAAkB;AACpB;;AAEA;EAEE,gBAAgB;EAChB,kBAAkB;AACpB;;AAEA;EAEE,gBAAgB;AAClB;;AAEA;AAEA",sourcesContent:[".row {\n composes: smallSize from '../../../styles/typography.css';\n line-height: 16px;\n max-width: 200px;\n min-width: 100px;\n font-weight: 500;\n color: var(--stat--default);\n text-align: center;\n}\n\n.time {\n composes: row;\n font-weight: 400;\n margin-bottom: 6px;\n}\n\n.deviceAlarmTitle {\n composes: row;\n font-weight: 900;\n}\n\n.alarmType {\n composes: row;\n}\n"],sourceRoot:""}]),l.locals={row:`AlarmTooltip--row--VNj_L ${s.A.locals.smallSize}`,time:`AlarmTooltip--time--MeLbt AlarmTooltip--row--VNj_L ${s.A.locals.smallSize}`,deviceAlarmTitle:`AlarmTooltip--deviceAlarmTitle--TsYfw AlarmTooltip--row--VNj_L ${s.A.locals.smallSize}`,alarmType:`AlarmTooltip--alarmType--TWFLP AlarmTooltip--row--VNj_L ${s.A.locals.smallSize}`};const d=l},7873:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=n(61872),d=i()(r());d.i(l.A),d.i(s.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.BolusTooltip--container--CpKmz {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 160px;\n margin: 2px 0;\n max-width: 250px;\n}\n\n.BolusTooltip--row--Mlc5Y {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.BolusTooltip--label--TuCfn {\n flex-grow: 1;\n}\n\n.BolusTooltip--value--nxXlD {\n margin-left: 20px;\n}\n\n.BolusTooltip--units--cDoSp {\n min-width: 0.7em;\n margin-left: 10px;\n}\n\n.BolusTooltip--unitsWide--xDx8w {\n min-width: 2.2em;\n margin-left: 6px;\n}\n\n.BolusTooltip--title--zKhjA {\n text-align: right;\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n}\n\n.BolusTooltip--types--ZPhA9 {\n text-align: left;\n}\n\n.BolusTooltip--suggested--YVlJW {\n font-weight: bold;\n}\n\n.BolusTooltip--delivered--FwG__ {\n font-weight: bold;\n}\n\n.BolusTooltip--override--XxWiU {\n color: var(--bolus--ride);\n font-weight: bold;\n}\n\n.BolusTooltip--interrupted--wv8Yd {\n color: var(--bolus--interrupted);\n font-weight: bold;\n}\n\n.BolusTooltip--normal--WWOQI {\n color: var(--gray-medium);\n}\n\n.BolusTooltip--extended--zZR0i {\n color: var(--gray-medium);\n}\n\n.BolusTooltip--programmed--J14aP {\n}\n\n.BolusTooltip--carbs--G_1u6 {\n}\n\n.BolusTooltip--bg--W0Wml {\n}\n\n.BolusTooltip--iob--NyCjO {\n}\n\n.BolusTooltip--target--D8aNB {\n}\n\n.BolusTooltip--isf--_CxMA {\n}\n\n.BolusTooltip--carbRatio--mZddZ {\n}\n\n.BolusTooltip--annotation--Wn2gj {\n}\n\n.BolusTooltip--divider--njHTV {\n background-color: var(--bolus);\n height: 3px;\n margin: 5px -10px;\n}\n","",{version:3,sources:["webpack://./src/components/daily/bolustooltip/BolusTooltip.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAGF;EACE,UAAU;EACV,aAAa;EACb,sBAAsB;EACtB,gBAAgB;EAChB,aAAa;EACb,gBAAgB;AAClB;;AAEA;EAEE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;EAC9B,iBAAiB;AACnB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,gBAAgB;EAChB,iBAAiB;AACnB;;AAEA;EACE,gBAAgB;EAChB,gBAAgB;AAClB;;AAEA;EAEE,iBAAiB;EACjB,aAAa;EACb,8BAA8B;EAC9B,uBAAuB;AACzB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EAEE,yBAAyB;EACzB,iBAAiB;AACnB;;AAEA;EAEE,gCAAgC;EAChC,iBAAiB;AACnB;;AAEA;EACE,yBAAyB;AAE3B;;AAEA;EACE,yBAAyB;AAE3B;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;EACE,8BAA8B;EAC9B,WAAW;EACX,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n@import '../../../styles/colors.css';\n\n.container {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 160px;\n margin: 2px 0;\n max-width: 250px;\n}\n\n.row {\n composes: smallSize from '../../../styles/typography.css';\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.label {\n flex-grow: 1;\n}\n\n.value {\n margin-left: 20px;\n}\n\n.units {\n min-width: 0.7em;\n margin-left: 10px;\n}\n\n.unitsWide {\n min-width: 2.2em;\n margin-left: 6px;\n}\n\n.title {\n composes: smallSize from '../../../styles/typography.css';\n text-align: right;\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n}\n\n.types {\n text-align: left;\n}\n\n.suggested {\n composes: row;\n font-weight: bold;\n}\n\n.delivered {\n composes: row;\n font-weight: bold;\n}\n\n.override {\n composes: row;\n color: var(--bolus--ride);\n font-weight: bold;\n}\n\n.interrupted {\n composes: row;\n color: var(--bolus--interrupted);\n font-weight: bold;\n}\n\n.normal {\n color: var(--gray-medium);\n composes: row;\n}\n\n.extended {\n color: var(--gray-medium);\n composes: row;\n}\n\n.programmed {\n composes: row;\n}\n\n.carbs {\n composes: row;\n}\n\n.bg {\n composes: row;\n}\n\n.iob {\n composes: row;\n}\n\n.target {\n composes: row;\n}\n\n.isf {\n composes: row;\n}\n\n.carbRatio {\n composes: row;\n}\n\n.annotation {\n composes: row;\n}\n\n.divider {\n background-color: var(--bolus);\n height: 3px;\n margin: 5px -10px;\n}\n"],sourceRoot:""}]),d.locals={container:"BolusTooltip--container--CpKmz",row:`BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,label:"BolusTooltip--label--TuCfn",value:"BolusTooltip--value--nxXlD",units:"BolusTooltip--units--cDoSp",unitsWide:"BolusTooltip--unitsWide--xDx8w",title:`BolusTooltip--title--zKhjA ${s.A.locals.smallSize}`,types:"BolusTooltip--types--ZPhA9",suggested:`BolusTooltip--suggested--YVlJW BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,delivered:`BolusTooltip--delivered--FwG__ BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,override:`BolusTooltip--override--XxWiU BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,interrupted:`BolusTooltip--interrupted--wv8Yd BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,normal:`BolusTooltip--normal--WWOQI BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,extended:`BolusTooltip--extended--zZR0i BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,programmed:`BolusTooltip--programmed--J14aP BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,carbs:`BolusTooltip--carbs--G_1u6 BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,bg:`BolusTooltip--bg--W0Wml BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,iob:`BolusTooltip--iob--NyCjO BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,target:`BolusTooltip--target--D8aNB BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,isf:`BolusTooltip--isf--_CxMA BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,carbRatio:`BolusTooltip--carbRatio--mZddZ BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,annotation:`BolusTooltip--annotation--Wn2gj BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,divider:"BolusTooltip--divider--njHTV"};const u=d},74423:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=n(61872),d=i()(r());d.i(l.A),d.i(s.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.CBGTooltip--container--gRocN {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 80px;\n margin: 2px 0;\n max-width: 180px;\n}\n\n.CBGTooltip--row--_jogG {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.CBGTooltip--label--Dy5yz {\n flex-grow: 1;\n}\n\n.CBGTooltip--value--XlvA7 {\n margin-left: 20px;\n}\n\n.CBGTooltip--units--u0Qbt {\n min-width: 0.7em;\n margin-left: 10px;\n}\n\n.CBGTooltip--title--wbHgH {\n text-align: right;\n}\n\n.CBGTooltip--bg--NaJsj {\n font-weight: bold;\n}\n\n.CBGTooltip--subType--P5spS {\n color: var(--gray-dark);\n}\n\n.CBGTooltip--annotation--DMQxi {\n}\n\n.CBGTooltip--divider--saPYF {\n height: 3px;\n margin: 5px -10px;\n}\n","",{version:3,sources:["webpack://./src/components/daily/cbgtooltip/CBGTooltip.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAGF;EACE,UAAU;EACV,aAAa;EACb,sBAAsB;EACtB,eAAe;EACf,aAAa;EACb,gBAAgB;AAClB;;AAEA;EAEE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;EAC9B,iBAAiB;AACnB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,gBAAgB;EAChB,iBAAiB;AACnB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EAEE,uBAAuB;AACzB;;AAEA;AAEA;;AAEA;EACE,WAAW;EACX,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n@import '../../../styles/colors.css';\n\n.container {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 80px;\n margin: 2px 0;\n max-width: 180px;\n}\n\n.row {\n composes: smallSize from '../../../styles/typography.css';\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.label {\n flex-grow: 1;\n}\n\n.value {\n margin-left: 20px;\n}\n\n.units {\n min-width: 0.7em;\n margin-left: 10px;\n}\n\n.title {\n composes: smallSize from '../../../styles/typography.css';\n text-align: right;\n}\n\n.bg {\n composes: row;\n font-weight: bold;\n}\n\n.subType {\n composes: row;\n color: var(--gray-dark);\n}\n\n.annotation {\n composes: subType;\n}\n\n.divider {\n height: 3px;\n margin: 5px -10px;\n}\n"],sourceRoot:""}]),d.locals={container:"CBGTooltip--container--gRocN",row:`CBGTooltip--row--_jogG ${s.A.locals.smallSize}`,label:"CBGTooltip--label--Dy5yz",value:"CBGTooltip--value--XlvA7",units:"CBGTooltip--units--u0Qbt",title:`CBGTooltip--title--wbHgH ${s.A.locals.smallSize}`,bg:`CBGTooltip--bg--NaJsj CBGTooltip--row--_jogG ${s.A.locals.smallSize}`,subType:`CBGTooltip--subType--P5spS CBGTooltip--row--_jogG ${s.A.locals.smallSize}`,annotation:`CBGTooltip--annotation--DMQxi CBGTooltip--subType--P5spS CBGTooltip--row--_jogG ${s.A.locals.smallSize}`,divider:"CBGTooltip--divider--saPYF"};const u=d},21771:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,".EventTooltip--wrapper--EUhjc {\n width: 255px;\n padding: 8px 4px;\n box-sizing: border-box;\n position: relative;\n}\n\n.EventTooltip--row--UbPYQ {\n line-height: 16px;\n font-weight: 500;\n color: var(--blue50);\n text-align: left;\n}\n\n.EventTooltip--image--qgSkn img {\n display: inline-block;\n max-width: calc(100% - 8px);\n height: auto;\n margin-bottom: 16px;\n padding: 0 4px;\n}\n\n.EventTooltip--eventTitle--aTL2n {\n font-weight: 900;\n margin-bottom: 8px;\n}\n\n.EventTooltip--eventDescription--zGyI7 {\n}\n","",{version:3,sources:["webpack://./src/components/daily/eventtooltip/EventTooltip.css"],names:[],mappings:"AAAA;EACE,YAAY;EACZ,gBAAgB;EAChB,sBAAsB;EACtB,kBAAkB;AACpB;;AAEA;EAEE,iBAAiB;EACjB,gBAAgB;EAChB,oBAAoB;EACpB,gBAAgB;AAClB;;AAEA;EACE,qBAAqB;EACrB,2BAA2B;EAC3B,YAAY;EACZ,mBAAmB;EACnB,cAAc;AAChB;;AAEA;EAEE,gBAAgB;EAChB,kBAAkB;AACpB;;AAEA;AAEA",sourcesContent:[".wrapper {\n width: 255px;\n padding: 8px 4px;\n box-sizing: border-box;\n position: relative;\n}\n\n.row {\n composes: smallSize from '../../../styles/typography.css';\n line-height: 16px;\n font-weight: 500;\n color: var(--blue50);\n text-align: left;\n}\n\n.image img {\n display: inline-block;\n max-width: calc(100% - 8px);\n height: auto;\n margin-bottom: 16px;\n padding: 0 4px;\n}\n\n.eventTitle {\n composes: row;\n font-weight: 900;\n margin-bottom: 8px;\n}\n\n.eventDescription {\n composes: row;\n}\n"],sourceRoot:""}]),l.locals={wrapper:"EventTooltip--wrapper--EUhjc",row:`EventTooltip--row--UbPYQ ${s.A.locals.smallSize}`,image:"EventTooltip--image--qgSkn",eventTitle:`EventTooltip--eventTitle--aTL2n EventTooltip--row--UbPYQ ${s.A.locals.smallSize}`,eventDescription:`EventTooltip--eventDescription--zGyI7 EventTooltip--row--UbPYQ ${s.A.locals.smallSize}`};const d=l},89295:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=n(61872),d=i()(r());d.i(l.A),d.i(s.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.FoodTooltip--container--SEIWY {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 80px;\n margin: 2px 0;\n max-width: 180px;\n}\n\n.FoodTooltip--row--QPJLq {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.FoodTooltip--label--Z6twW {\n flex-grow: 1;\n}\n\n.FoodTooltip--value--wrmvr {\n margin-left: 20px;\n}\n\n.FoodTooltip--units--LUPjT {\n min-width: 0.7em;\n margin-left: 10px;\n}\n\n.FoodTooltip--title--futzg {\n text-align: right;\n}\n\n.FoodTooltip--carb--MRoFo {\n font-weight: bold;\n}\n\n.FoodTooltip--divider--iwKpw {\n background-color: var(--bolus);\n height: 3px;\n margin: 5px -10px;\n}\n","",{version:3,sources:["webpack://./src/components/daily/foodtooltip/FoodTooltip.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAGF;EACE,UAAU;EACV,aAAa;EACb,sBAAsB;EACtB,eAAe;EACf,aAAa;EACb,gBAAgB;AAClB;;AAEA;EAEE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;EAC9B,iBAAiB;AACnB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,gBAAgB;EAChB,iBAAiB;AACnB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EACE,8BAA8B;EAC9B,WAAW;EACX,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n@import '../../../styles/colors.css';\n\n.container {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 80px;\n margin: 2px 0;\n max-width: 180px;\n}\n\n.row {\n composes: smallSize from '../../../styles/typography.css';\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.label {\n flex-grow: 1;\n}\n\n.value {\n margin-left: 20px;\n}\n\n.units {\n min-width: 0.7em;\n margin-left: 10px;\n}\n\n.title {\n composes: smallSize from '../../../styles/typography.css';\n text-align: right;\n}\n\n.carb {\n composes: row;\n font-weight: bold;\n}\n\n.divider {\n background-color: var(--bolus);\n height: 3px;\n margin: 5px -10px;\n}\n"],sourceRoot:""}]),d.locals={container:"FoodTooltip--container--SEIWY",row:`FoodTooltip--row--QPJLq ${s.A.locals.smallSize}`,label:"FoodTooltip--label--Z6twW",value:"FoodTooltip--value--wrmvr",units:"FoodTooltip--units--LUPjT",title:`FoodTooltip--title--futzg ${s.A.locals.smallSize}`,carb:`FoodTooltip--carb--MRoFo FoodTooltip--row--QPJLq ${s.A.locals.smallSize}`,divider:"FoodTooltip--divider--iwKpw"};const u=d},45639:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=n(61872),d=i()(r());d.i(l.A),d.i(s.A,"",!0),d.push([e.id,".PumpSettingsOverrideTooltip--container--EgGUi {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 80px;\n margin: 2px 0;\n max-width: 250px;\n}\n\n.PumpSettingsOverrideTooltip--row--Mh8Fk {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.PumpSettingsOverrideTooltip--label--Yjy9X {\n flex-grow: 1;\n}\n\n.PumpSettingsOverrideTooltip--boldLabel--DX0Wm {\n font-weight: bold;\n}\n\n.PumpSettingsOverrideTooltip--value--_s7MU {\n margin-left: 20px;\n}\n\n.PumpSettingsOverrideTooltip--title--jE99D {\n text-align: center;\n}\n\n.PumpSettingsOverrideTooltip--target--PcPtu {\n}\n\n.PumpSettingsOverrideTooltip--overrideType--NdbGs {\n font-weight: normal;\n}\n\n.PumpSettingsOverrideTooltip--overrideType--NdbGs div:last-child {\n font-weight: bold;\n}\n","",{version:3,sources:["webpack://./src/components/daily/pumpsettingsoverridetooltip/PumpSettingsOverrideTooltip.css"],names:[],mappings:"AAEA;EACE,UAAU;EACV,aAAa;EACb,sBAAsB;EACtB,eAAe;EACf,aAAa;EACb,gBAAgB;AAClB;;AAEA;EAEE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;EAC9B,iBAAiB;AACnB;;AAEA;EACE,YAAY;AACd;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EAEE,kBAAkB;AACpB;;AAEA;AAEA;;AAEA;EAEE,mBAAmB;AACrB;;AAEA;EACE,iBAAiB;AACnB",sourcesContent:[" @import '../../../styles/colors.css';\n\n.container {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 80px;\n margin: 2px 0;\n max-width: 250px;\n}\n\n.row {\n composes: smallSize from '../../../styles/typography.css';\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.label {\n flex-grow: 1;\n}\n\n.boldLabel {\n composes: label;\n font-weight: bold;\n}\n\n.value {\n margin-left: 20px;\n}\n\n.title {\n composes: smallSize from '../../../styles/typography.css';\n text-align: center;\n}\n\n.target {\n composes: row;\n}\n\n.overrideType {\n composes: row;\n font-weight: normal;\n}\n\n.overrideType div:last-child {\n font-weight: bold;\n}\n"],sourceRoot:""}]),d.locals={container:"PumpSettingsOverrideTooltip--container--EgGUi",row:`PumpSettingsOverrideTooltip--row--Mh8Fk ${s.A.locals.smallSize}`,label:"PumpSettingsOverrideTooltip--label--Yjy9X",boldLabel:"PumpSettingsOverrideTooltip--boldLabel--DX0Wm PumpSettingsOverrideTooltip--label--Yjy9X",value:"PumpSettingsOverrideTooltip--value--_s7MU",title:`PumpSettingsOverrideTooltip--title--jE99D ${s.A.locals.smallSize}`,target:`PumpSettingsOverrideTooltip--target--PcPtu PumpSettingsOverrideTooltip--row--Mh8Fk ${s.A.locals.smallSize}`,overrideType:`PumpSettingsOverrideTooltip--overrideType--NdbGs PumpSettingsOverrideTooltip--row--Mh8Fk ${s.A.locals.smallSize}`};const u=d},47379:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=n(61872),d=i()(r());d.i(l.A),d.i(s.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.SMBGTooltip--container--Wu7GU {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 80px;\n margin: 2px 0;\n max-width: 180px;\n}\n\n.SMBGTooltip--row--dX3Sh {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.SMBGTooltip--label--qJ17K {\n flex-grow: 1;\n}\n\n.SMBGTooltip--value--UmB_c {\n margin-left: 20px;\n}\n\n.SMBGTooltip--units--x_4jA {\n min-width: 0.7em;\n margin-left: 10px;\n}\n\n.SMBGTooltip--title--nT5RS {\n text-align: right;\n}\n\n.SMBGTooltip--bg--hNU3J {\n font-weight: bold;\n}\n\n.SMBGTooltip--subType--ZUjml {\n color: var(--gray-dark);\n}\n\n.SMBGTooltip--confirmBg--Pe3UO {\n}\n\n.SMBGTooltip--source--G3Z7A {\n}\n\n.SMBGTooltip--annotation--GSEvF {\n}\n\n.SMBGTooltip--divider--u21SF {\n height: 3px;\n margin: 5px -10px;\n}\n","",{version:3,sources:["webpack://./src/components/daily/smbgtooltip/SMBGTooltip.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAGF;EACE,UAAU;EACV,aAAa;EACb,sBAAsB;EACtB,eAAe;EACf,aAAa;EACb,gBAAgB;AAClB;;AAEA;EAEE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;EAC9B,iBAAiB;AACnB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,gBAAgB;EAChB,iBAAiB;AACnB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EAEE,uBAAuB;AACzB;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;EACE,WAAW;EACX,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n@import '../../../styles/colors.css';\n\n.container {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 80px;\n margin: 2px 0;\n max-width: 180px;\n}\n\n.row {\n composes: smallSize from '../../../styles/typography.css';\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.label {\n flex-grow: 1;\n}\n\n.value {\n margin-left: 20px;\n}\n\n.units {\n min-width: 0.7em;\n margin-left: 10px;\n}\n\n.title {\n composes: smallSize from '../../../styles/typography.css';\n text-align: right;\n}\n\n.bg {\n composes: row;\n font-weight: bold;\n}\n\n.subType {\n composes: row;\n color: var(--gray-dark);\n}\n\n.confirmBg {\n composes: subType;\n}\n\n.source {\n composes: subType;\n}\n\n.annotation {\n composes: subType;\n}\n\n.divider {\n height: 3px;\n margin: 5px -10px;\n}\n"],sourceRoot:""}]),d.locals={container:"SMBGTooltip--container--Wu7GU",row:`SMBGTooltip--row--dX3Sh ${s.A.locals.smallSize}`,label:"SMBGTooltip--label--qJ17K",value:"SMBGTooltip--value--UmB_c",units:"SMBGTooltip--units--x_4jA",title:`SMBGTooltip--title--nT5RS ${s.A.locals.smallSize}`,bg:`SMBGTooltip--bg--hNU3J SMBGTooltip--row--dX3Sh ${s.A.locals.smallSize}`,subType:`SMBGTooltip--subType--ZUjml SMBGTooltip--row--dX3Sh ${s.A.locals.smallSize}`,confirmBg:`SMBGTooltip--confirmBg--Pe3UO SMBGTooltip--subType--ZUjml SMBGTooltip--row--dX3Sh ${s.A.locals.smallSize}`,source:`SMBGTooltip--source--G3Z7A SMBGTooltip--subType--ZUjml SMBGTooltip--row--dX3Sh ${s.A.locals.smallSize}`,annotation:`SMBGTooltip--annotation--GSEvF SMBGTooltip--subType--ZUjml SMBGTooltip--row--dX3Sh ${s.A.locals.smallSize}`,divider:"SMBGTooltip--divider--u21SF"};const u=d},18560:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=n(34945),d=i()(r());d.i(s.A,"",!0),d.i(l.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.NonTandem--header--shbF9 {\n display: flex;\n justify-content: space-between;\n\n align-items: center;\n align-content: center;\n}\n\n.NonTandem--settingsContainer--wyIve {\n align-items: flex-start;\n display: flex;\n justify-content: space-between;\n gap: 10px;\n}\n\n.NonTandem--settingsContainerLeftAligned--tI0p2 {\n justify-content: flex-start;\n display: block;\n}\n\n.NonTandem--insulinSettingsInnerContainer--nmzyd {\n display: block;\n width: 100%;\n}\n\n.NonTandem--insulinSettingsInnerContainer--nmzyd > div {\n display: block;\n float: left;\n width: auto;\n padding-right: 10px;\n}\n\n.NonTandem--insulinSettingsInnerContainer--nmzyd > div:first-child {\n min-width: 25% !important;\n}\n\n.NonTandem--insulinSettingsInnerContainer--nmzyd > div:last-child {\n padding-right: 0;\n clear: right;\n}\n\n.NonTandem--basalSettingsContainer--C772m {\n flex-basis: 25%;\n margin-bottom: 15px;\n}\n\n.NonTandem--bolusSettingsContainer--QMZiq {\n display: flex;\n flex-wrap: wrap;\n flex-basis: 75%;\n margin-bottom: 15px;\n}\n\n.NonTandem--bolusSettingsInnerContainer--kCMVT {\n display: flex;\n flex-flow: row wrap;\n width: 100%;\n gap: 10px;\n}\n\n.NonTandem--categoryTitle--h0b71 {\n width: 100%;\n padding-bottom: 10px;\n}\n\n.NonTandem--categoryContainer--kMddv {\n margin-bottom: 10px;\n width: 100%;\n flex: 1;\n}\n\n.NonTandem--bolusSettingsInnerContainer--kCMVT .NonTandem--categoryContainer--kMddv:last-child {\n padding-right: 0;\n}\n\n.NonTandem--basalTable--fkAEf {\n}\n\n.NonTandem--basalTable--fkAEf td:first-child, .NonTandem--basalTable--fkAEf th:first-child {\n padding-left: 28px;\n}\n\n.NonTandem--settingsTable--bvSw8 {\n}\n\n.NonTandem--settingsTableInverted--XW7S0 {\n}\n\n.NonTandem--settingsTable--bvSw8 td:first-child, .NonTandem--settingsTable--bvSw8 th:first-child,\n.NonTandem--settingsTableInverted--XW7S0 td:first-child, .NonTandem--settingsTableInverted--XW7S0 th:first-child {\n padding-left: 28px;\n}\n\n.NonTandem--singleLineBasalScheduleHeader--ESKnN {\n justify-content: space-between;\n}\n\n.NonTandem--automatedSingleLineBasalScheduleHeader--kIDJ7 {\n justify-content: space-between;\n font-size: 16px;\n padding: 0;\n}\n\n.NonTandem--twoLineBasalScheduleHeader--xYjZD {\n}\n\n.NonTandem--twoLineBasalScheduleHeader--xYjZD > div:first-child {\n padding-left: 0;\n}\n\n.NonTandem--insulinSettingsHeader--EtP0j {\n}\n\n.NonTandem--presetSettingsHeader--Ncjal {\n}\n\n.NonTandem--bolusSettingsHeader--A_g8e {\n}\n\n.NonTandem--automatedBasalHeaderBackground--MyDbN {\n text-align: left;\n padding-left: 28px;\n padding-top: 8px;\n padding-bottom: 8px\n}\n\n.NonTandem--automatedBasalHeaderBackground--MyDbN > span {\n padding-left: 5px;\n}\n\n@media print {\n\n .NonTandem--categoryContainer--kMddv {\n max-width: 280px;\n min-width: 250px;\n width: 100%;\n margin-bottom: 10px;\n margin-right: 10px;\n }\n\n .NonTandem--settingsContainer--wyIve {\n display: block;\n }\n\n .NonTandem--basalSettingsContainer--C772m {\n display: flex;\n flex-flow: row wrap;\n justify-content: flex-start;\n page-break-after: auto;\n }\n\n .NonTandem--categoryTitle--h0b71 {\n font-weight: normal;\n font-size: 20px;\n color: var(--text-black);\n width: 100%;\n padding-bottom: 10px;\n }\n}\n","",{version:3,sources:["webpack://./src/components/settings/NonTandem.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,aAAa;EACb,8BAA8B;;EAE9B,mBAAmB;EACnB,qBAAqB;AACvB;;AAEA;EACE,uBAAuB;EACvB,aAAa;EACb,8BAA8B;EAC9B,SAAS;AACX;;AAEA;EAEE,2BAA2B;EAC3B,cAAc;AAChB;;AAEA;EACE,cAAc;EACd,WAAW;AACb;;AAEA;EACE,cAAc;EACd,WAAW;EACX,WAAW;EACX,mBAAmB;AACrB;;AAEA;EACE,yBAAyB;AAC3B;;AAEA;EACE,gBAAgB;EAChB,YAAY;AACd;;AAEA;EACE,eAAe;EACf,mBAAmB;AACrB;;AAEA;EACE,aAAa;EACb,eAAe;EACf,eAAe;EACf,mBAAmB;AACrB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,WAAW;EACX,SAAS;AACX;;AAEA;EAEE,WAAW;EACX,oBAAoB;AACtB;;AAEA;EACE,mBAAmB;EACnB,WAAW;EACX,OAAO;AACT;;AAEA;EACE,gBAAgB;AAClB;;AAEA;AAEA;;AAEA;EACE,kBAAkB;AACpB;;AAEA;AAEA;;AAEA;AAEA;;AAEA;;EAEE,kBAAkB;AACpB;;AAEA;EAEE,8BAA8B;AAChC;;AAEA;EAEE,8BAA8B;EAC9B,eAAe;EACf,UAAU;AACZ;;AAEA;AAEA;;AAEA;EACE,eAAe;AACjB;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;EAEE,gBAAgB;EAChB,kBAAkB;EAClB,gBAAgB;EAChB;AACF;;AAEA;EACE,iBAAiB;AACnB;;AAEA;;EAEE;IACE,gBAAgB;IAChB,gBAAgB;IAChB,WAAW;IACX,mBAAmB;IACnB,kBAAkB;EACpB;;EAEA;IACE,cAAc;EAChB;;EAEA;IACE,aAAa;IACb,mBAAmB;IACnB,2BAA2B;IAC3B,sBAAsB;EACxB;;EAEA;IACE,mBAAmB;IACnB,eAAe;IACf,wBAAwB;IACxB,WAAW;IACX,oBAAoB;EACtB;AACF",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.header {\n display: flex;\n justify-content: space-between;\n\n align-items: center;\n align-content: center;\n}\n\n.settingsContainer {\n align-items: flex-start;\n display: flex;\n justify-content: space-between;\n gap: 10px;\n}\n\n.settingsContainerLeftAligned {\n composes: settingsContainer;\n justify-content: flex-start;\n display: block;\n}\n\n.insulinSettingsInnerContainer {\n display: block;\n width: 100%;\n}\n\n.insulinSettingsInnerContainer > div {\n display: block;\n float: left;\n width: auto;\n padding-right: 10px;\n}\n\n.insulinSettingsInnerContainer > div:first-child {\n min-width: 25% !important;\n}\n\n.insulinSettingsInnerContainer > div:last-child {\n padding-right: 0;\n clear: right;\n}\n\n.basalSettingsContainer {\n flex-basis: 25%;\n margin-bottom: 15px;\n}\n\n.bolusSettingsContainer {\n display: flex;\n flex-wrap: wrap;\n flex-basis: 75%;\n margin-bottom: 15px;\n}\n\n.bolusSettingsInnerContainer {\n display: flex;\n flex-flow: row wrap;\n width: 100%;\n gap: 10px;\n}\n\n.categoryTitle {\n composes: mediumContrastText from '../../styles/typography.css';\n width: 100%;\n padding-bottom: 10px;\n}\n\n.categoryContainer {\n margin-bottom: 10px;\n width: 100%;\n flex: 1;\n}\n\n.bolusSettingsInnerContainer .categoryContainer:last-child {\n padding-right: 0;\n}\n\n.basalTable {\n composes: basalTable from './settings.css';\n}\n\n.basalTable td:first-child, .basalTable th:first-child {\n padding-left: 28px;\n}\n\n.settingsTable {\n composes: settingsTable from './settings.css';\n}\n\n.settingsTableInverted {\n composes: settingsTableInverted from './settings.css';\n}\n\n.settingsTable td:first-child, .settingsTable th:first-child,\n.settingsTableInverted td:first-child, .settingsTableInverted th:first-child {\n padding-left: 28px;\n}\n\n.singleLineBasalScheduleHeader {\n composes: basalHeaderBackground settingsHeader from './settings.css';\n justify-content: space-between;\n}\n\n.automatedSingleLineBasalScheduleHeader {\n composes: automatedBasalHeaderBackground settingsHeader from './settings.css';\n justify-content: space-between;\n font-size: 16px;\n padding: 0;\n}\n\n.twoLineBasalScheduleHeader {\n composes: basalHeaderBackground settingsHeaderDecoration settingsHeaderLayout settingsHeaderText from './settings.css';\n}\n\n.twoLineBasalScheduleHeader > div:first-child {\n padding-left: 0;\n}\n\n.insulinSettingsHeader {\n composes: bolusHeaderBackground settingsHeader from './settings.css';\n}\n\n.presetSettingsHeader {\n composes: presetsHeaderBackground settingsHeader from './settings.css';\n}\n\n.bolusSettingsHeader {\n composes: bolusHeaderBackground settingsHeader from './settings.css';\n}\n\n.automatedBasalHeaderBackground {\n composes: automatedBasalHeaderBackground from './settings.css';\n text-align: left;\n padding-left: 28px;\n padding-top: 8px;\n padding-bottom: 8px\n}\n\n.automatedBasalHeaderBackground > span {\n padding-left: 5px;\n}\n\n@media print {\n\n .categoryContainer {\n max-width: 280px;\n min-width: 250px;\n width: 100%;\n margin-bottom: 10px;\n margin-right: 10px;\n }\n\n .settingsContainer {\n display: block;\n }\n\n .basalSettingsContainer {\n display: flex;\n flex-flow: row wrap;\n justify-content: flex-start;\n page-break-after: auto;\n }\n\n .categoryTitle {\n font-weight: normal;\n font-size: 20px;\n color: var(--text-black);\n width: 100%;\n padding-bottom: 10px;\n }\n}\n"],sourceRoot:""}]),d.locals={header:"NonTandem--header--shbF9",settingsContainer:"NonTandem--settingsContainer--wyIve",settingsContainerLeftAligned:"NonTandem--settingsContainerLeftAligned--tI0p2 NonTandem--settingsContainer--wyIve",insulinSettingsInnerContainer:"NonTandem--insulinSettingsInnerContainer--nmzyd",basalSettingsContainer:"NonTandem--basalSettingsContainer--C772m",bolusSettingsContainer:"NonTandem--bolusSettingsContainer--QMZiq",bolusSettingsInnerContainer:"NonTandem--bolusSettingsInnerContainer--kCMVT",categoryTitle:`NonTandem--categoryTitle--h0b71 ${s.A.locals.mediumContrastText}`,categoryContainer:"NonTandem--categoryContainer--kMddv",basalTable:`NonTandem--basalTable--fkAEf ${l.A.locals.basalTable}`,settingsTable:`NonTandem--settingsTable--bvSw8 ${l.A.locals.settingsTable}`,settingsTableInverted:`NonTandem--settingsTableInverted--XW7S0 ${l.A.locals.settingsTableInverted}`,singleLineBasalScheduleHeader:`NonTandem--singleLineBasalScheduleHeader--ESKnN ${l.A.locals.basalHeaderBackground} ${l.A.locals.settingsHeader}`,automatedSingleLineBasalScheduleHeader:`NonTandem--automatedSingleLineBasalScheduleHeader--kIDJ7 ${l.A.locals.automatedBasalHeaderBackground} ${l.A.locals.settingsHeader}`,twoLineBasalScheduleHeader:`NonTandem--twoLineBasalScheduleHeader--xYjZD ${l.A.locals.basalHeaderBackground} ${l.A.locals.settingsHeaderDecoration} ${l.A.locals.settingsHeaderLayout} ${l.A.locals.settingsHeaderText}`,insulinSettingsHeader:`NonTandem--insulinSettingsHeader--EtP0j ${l.A.locals.bolusHeaderBackground} ${l.A.locals.settingsHeader}`,presetSettingsHeader:`NonTandem--presetSettingsHeader--Ncjal ${l.A.locals.presetsHeaderBackground} ${l.A.locals.settingsHeader}`,bolusSettingsHeader:`NonTandem--bolusSettingsHeader--A_g8e ${l.A.locals.bolusHeaderBackground} ${l.A.locals.settingsHeader}`,automatedBasalHeaderBackground:`NonTandem--automatedBasalHeaderBackground--MyDbN ${l.A.locals.automatedBasalHeaderBackground}`};const u=d},17387:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(34945),l=n(20487),d=n(61872),u=i()(r());u.i(d.A),u.i(s.A,"",!0),u.i(l.A,"",!0),u.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.Tandem--header--whs3N {\n display: flex;\n justify-content: space-between;\n\n align-items: center;\n align-content: center;\n}\n\n.Tandem--headerCommon--oS2Oj {\n line-height: 20px;\n}\n\n.Tandem--basalScheduleHeader--njyr8 {\n}\n\n.Tandem--bolusSettingsHeader--M8ET5 {\n}\n\n.Tandem--collapsibleLabel--qHk8e {\n border-top: 1px solid var(--collapsible--border);\n justify-content: flex-start;\n line-height: 40px;\n margin-left: 20px;\n padding-left: 1em;\n}\n\n.Tandem--profileTable--OCxjI {\n padding-bottom: 1em;\n margin-left: 40px;\n width: auto;\n}\n\n.Tandem--profileTable--OCxjI td, .Tandem--profileTable--OCxjI th {\n font-size: 14px;\n text-align: center;\n}\n\n.Tandem--profileTable--OCxjI thead th {\n padding-left: 24px;\n padding-right: 10px;\n}\n\n.Tandem--profileTable--OCxjI thead th:first-child {\n text-align: left;\n padding-left: 10px;\n padding-right: 10px;\n}\n\n.Tandem--profileTable--OCxjI th:first-of-type {\n font-weight: bold;\n}\n\n.Tandem--title--Jm4xp {\n display: inline-block;\n padding-bottom: 10px;\n}\n\n.Tandem--categoryTitle--jwXEy {\n width: 100%;\n padding-bottom: 10px;\n margin-left: 40px;\n margin-top: 15px;\n}\n\n.Tandem--settingsTableInverted--CYr53 {\n margin-bottom: 1em;\n margin-left: 40px;\n width: 25%;\n min-width: 240px;\n}\n\n.Tandem--settingsTableInverted--CYr53 td:first-child, .Tandem--settingsTableInverted--CYr53 th:first-child {\n /* padding-left: 28px; */\n padding-left: 14px;\n}\n\n.Tandem--insulinSettingsHeader--jLGyj {\n}\n\n.Tandem--annotations--AD1l3 {\n margin-left: 40px;\n margin-right: 40px;\n margin-top: 30px;\n font-size: 14px;\n font-weight: 500;\n}\n\n@media print {\n\n .Tandem--title--Jm4xp {\n font-weight: normal;\n font-size: 20px;\n color: var(--text-black);\n display: inline-block;\n padding-bottom: 10px;\n }\n\n .Tandem--profileTable--OCxjI th {\n font-weight: normal;\n color: #000;\n }\n\n .Tandem--profileTable--OCxjI th:first-of-type {\n font-weight: normal;\n }\n}\n","",{version:3,sources:["webpack://./src/components/settings/Tandem.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAIF;EACE,aAAa;EACb,8BAA8B;;EAE9B,mBAAmB;EACnB,qBAAqB;AACvB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;AAGA;;AAEA;AAGA;;AAEA;EACE,gDAAgD;EAChD,2BAA2B;EAC3B,iBAAiB;EACjB,iBAAiB;EACjB,iBAAiB;AACnB;;AAEA;EAEE,mBAAmB;EACnB,iBAAiB;EACjB,WAAW;AACb;;AAEA;EACE,eAAe;EACf,kBAAkB;AACpB;;AAEA;EACE,kBAAkB;EAClB,mBAAmB;AACrB;;AAEA;EACE,gBAAgB;EAChB,kBAAkB;EAClB,mBAAmB;AACrB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EAEE,qBAAqB;EACrB,oBAAoB;AACtB;;AAEA;EAEE,WAAW;EACX,oBAAoB;EACpB,iBAAiB;EACjB,gBAAgB;AAClB;;AAEA;EAEE,kBAAkB;EAClB,iBAAiB;EACjB,UAAU;EACV,gBAAgB;AAClB;;AAEA;EACE,wBAAwB;EACxB,kBAAkB;AACpB;;AAEA;AAEA;;AAEA;EACE,iBAAiB;EACjB,kBAAkB;EAClB,gBAAgB;EAChB,eAAe;EACf,gBAAgB;AAClB;;AAEA;;EAEE;IACE,mBAAmB;IACnB,eAAe;IACf,wBAAwB;IACxB,qBAAqB;IACrB,oBAAoB;EACtB;;EAEA;IACE,mBAAmB;IACnB,WAAW;EACb;;EAEA;IACE,mBAAmB;EACrB;AACF",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n@import '../../styles/colors.css';\n\n.header {\n display: flex;\n justify-content: space-between;\n\n align-items: center;\n align-content: center;\n}\n\n.headerCommon {\n line-height: 20px;\n}\n\n.basalScheduleHeader {\n composes: basalHeaderBackground settingsHeaderText from './settings.css';\n composes: headerCommon;\n}\n\n.bolusSettingsHeader {\n composes: bolusHeaderBackground settingsHeaderText from './settings.css';\n composes: headerCommon;\n}\n\n.collapsibleLabel {\n border-top: 1px solid var(--collapsible--border);\n justify-content: flex-start;\n line-height: 40px;\n margin-left: 20px;\n padding-left: 1em;\n}\n\n.profileTable {\n composes: basalTable from './settings.css';\n padding-bottom: 1em;\n margin-left: 40px;\n width: auto;\n}\n\n.profileTable td, .profileTable th {\n font-size: 14px;\n text-align: center;\n}\n\n.profileTable thead th {\n padding-left: 24px;\n padding-right: 10px;\n}\n\n.profileTable thead th:first-child {\n text-align: left;\n padding-left: 10px;\n padding-right: 10px;\n}\n\n.profileTable th:first-of-type {\n font-weight: bold;\n}\n\n.title {\n composes: boldText defaultSize mediumContrastText from '../../styles/typography.css';\n display: inline-block;\n padding-bottom: 10px;\n}\n\n.categoryTitle {\n composes: mediumContrastText from '../../styles/typography.css';\n width: 100%;\n padding-bottom: 10px;\n margin-left: 40px;\n margin-top: 15px;\n}\n\n.settingsTableInverted {\n composes: settingsTableInverted from './settings.css';\n margin-bottom: 1em;\n margin-left: 40px;\n width: 25%;\n min-width: 240px;\n}\n\n.settingsTableInverted td:first-child, .settingsTableInverted th:first-child {\n /* padding-left: 28px; */\n padding-left: 14px;\n}\n\n.insulinSettingsHeader {\n composes: bolusHeaderBackground settingsHeader from './settings.css';\n}\n\n.annotations {\n margin-left: 40px;\n margin-right: 40px;\n margin-top: 30px;\n font-size: 14px;\n font-weight: 500;\n}\n\n@media print {\n\n .title {\n font-weight: normal;\n font-size: 20px;\n color: var(--text-black);\n display: inline-block;\n padding-bottom: 10px;\n }\n\n .profileTable th {\n font-weight: normal;\n color: #000;\n }\n\n .profileTable th:first-of-type {\n font-weight: normal;\n }\n}\n"],sourceRoot:""}]),u.locals={header:"Tandem--header--whs3N",headerCommon:"Tandem--headerCommon--oS2Oj",basalScheduleHeader:`Tandem--basalScheduleHeader--njyr8 ${s.A.locals.basalHeaderBackground} ${s.A.locals.settingsHeaderText} Tandem--headerCommon--oS2Oj`,bolusSettingsHeader:`Tandem--bolusSettingsHeader--M8ET5 ${s.A.locals.bolusHeaderBackground} ${s.A.locals.settingsHeaderText} Tandem--headerCommon--oS2Oj`,collapsibleLabel:"Tandem--collapsibleLabel--qHk8e",profileTable:`Tandem--profileTable--OCxjI ${s.A.locals.basalTable}`,title:`Tandem--title--Jm4xp ${l.A.locals.boldText} ${l.A.locals.defaultSize} ${l.A.locals.mediumContrastText}`,categoryTitle:`Tandem--categoryTitle--jwXEy ${l.A.locals.mediumContrastText}`,settingsTableInverted:`Tandem--settingsTableInverted--CYr53 ${s.A.locals.settingsTableInverted}`,insulinSettingsHeader:`Tandem--insulinSettingsHeader--jLGyj ${s.A.locals.bolusHeaderBackground} ${s.A.locals.settingsHeader}`,annotations:"Tandem--annotations--AD1l3"};const c=u},25099:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(34945),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.CollapsibleContainer--secondaryLabel--wgffm {\n}\n\n.containerCollapse {\n transition: height 250ms;\n}\n","",{version:3,sources:["webpack://./src/components/settings/common/CollapsibleContainer.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;AAEA;;AAEA;EACE,wBAAwB;AAC1B",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.secondaryLabel {\n composes: secondaryText from '../settings.css';\n}\n\n:global(.containerCollapse) {\n transition: height 250ms;\n}\n"],sourceRoot:""}]),l.locals={secondaryLabel:`CollapsibleContainer--secondaryLabel--wgffm ${s.A.locals.secondaryText}`};const d=l},21369:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.Header--header--P7xyy {\n position: relative;\n display: table;\n padding-left: 0px;\n margin-bottom: 5px;\n}\n.Header--headerOuter--axeXC:nth-last-of-type(1) .Header--headerInner--LYL8h{\n transition-property: width;\n transition-duration: .25s;\n overflow: hidden;\n}\n.Header--headerClosed--YQpTc .Header--headerOuter--axeXC:nth-last-of-type(1) .Header--headerInner--LYL8h {\n width: 0px;\n}\n.Header--headerExpanded--y_ese .Header--headerOuter--axeXC:nth-last-of-type(1) .Header--headerInner--LYL8h {\n width: 100%;\n}\n.Header--headerOuter--axeXC {\n display: inline-block;\n font-weight: 300;\n overflow: hidden;\n}\n.Header--headerInner--LYL8h {\n display: block;\n margin: 5px 5px 5px 0;\n white-space: nowrap;\n}\n.Header--headerOuter--axeXC:nth-last-of-type(2) {\n padding-right: 10px;\n}\n.Header--headerClosed--YQpTc .Header--headerOuter--axeXC:nth-last-of-type(2)::after {\n content: '›';\n font-size: 15px;\n font-weight: bold;\n position: absolute;\n right: 5px;\n top: 45%;\n transform: translateY(-50%);\n}\n.Header--headerExpanded--y_ese .Header--headerOuter--axeXC:nth-last-of-type(2)::after {\n content: '›';\n font-size: 15px;\n font-weight: bold;\n position: absolute;\n right: 5px;\n top: 55%;\n transform: rotate(180deg) translateY(50%);\n}\n\n@media print {\n\n .Header--headerOuter--axeXC {\n color: var(--text-black);\n }\n\n .Header--headerOuter--axeXC:first-of-type {\n color: var(--text-black);\n font-weight: normal;\n font-size: 16px;\n }\n\n}\n","",{version:3,sources:["webpack://./src/components/settings/common/Header.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,kBAAkB;EAClB,cAAc;EACd,iBAAiB;EACjB,kBAAkB;AACpB;AACA;EACE,0BAA0B;EAC1B,yBAAyB;EACzB,gBAAgB;AAClB;AACA;EACE,UAAU;AACZ;AACA;EACE,WAAW;AACb;AACA;EAEE,qBAAqB;EACrB,gBAAgB;EAChB,gBAAgB;AAClB;AACA;EAEE,cAAc;EACd,qBAAqB;EACrB,mBAAmB;AACrB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,YAAY;EACZ,eAAe;EACf,iBAAiB;EACjB,kBAAkB;EAClB,UAAU;EACV,QAAQ;EACR,2BAA2B;AAC7B;AACA;EACE,YAAY;EACZ,eAAe;EACf,iBAAiB;EACjB,kBAAkB;EAClB,UAAU;EACV,QAAQ;EACR,yCAAyC;AAC3C;;AAEA;;EAEE;IAEE,wBAAwB;EAC1B;;EAEA;IACE,wBAAwB;IACxB,mBAAmB;IACnB,eAAe;EACjB;;AAEF",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.header {\n position: relative;\n display: table;\n padding-left: 0px;\n margin-bottom: 5px;\n}\n.headerOuter:nth-last-of-type(1) .headerInner{\n transition-property: width;\n transition-duration: .25s;\n overflow: hidden;\n}\n.headerClosed .headerOuter:nth-last-of-type(1) .headerInner {\n width: 0px;\n}\n.headerExpanded .headerOuter:nth-last-of-type(1) .headerInner {\n width: 100%;\n}\n.headerOuter {\n composes: header;\n display: inline-block;\n font-weight: 300;\n overflow: hidden;\n}\n.headerInner {\n composes: header;\n display: block;\n margin: 5px 5px 5px 0;\n white-space: nowrap;\n}\n.headerOuter:nth-last-of-type(2) {\n padding-right: 10px;\n}\n.headerClosed .headerOuter:nth-last-of-type(2)::after {\n content: '›';\n font-size: 15px;\n font-weight: bold;\n position: absolute;\n right: 5px;\n top: 45%;\n transform: translateY(-50%);\n}\n.headerExpanded .headerOuter:nth-last-of-type(2)::after {\n content: '›';\n font-size: 15px;\n font-weight: bold;\n position: absolute;\n right: 5px;\n top: 55%;\n transform: rotate(180deg) translateY(50%);\n}\n\n@media print {\n\n .headerOuter {\n composes: lightText largeSize from '../../../styles/typography.css';\n color: var(--text-black);\n }\n\n .headerOuter:first-of-type {\n color: var(--text-black);\n font-weight: normal;\n font-size: 16px;\n }\n\n}\n"],sourceRoot:""}]),l.locals={header:"Header--header--P7xyy",headerOuter:`Header--headerOuter--axeXC Header--header--P7xyy ${s.A.locals.lightText} ${s.A.locals.largeSize}`,headerInner:"Header--headerInner--LYL8h Header--header--P7xyy",headerClosed:"Header--headerClosed--YQpTc",headerExpanded:"Header--headerExpanded--y_ese"};const d=l},48643:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(34945),l=n(20487),d=n(33152),u=i()(r());u.i(s.A,"",!0),u.i(l.A,"",!0),u.i(d.A,"",!0),u.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.SingleLineCollapsibleContainerLabel--collapsibleLabel--jwq_c {\n}\n\n.SingleLineCollapsibleContainerLabel--labelContainer--TH25a {\n cursor: pointer;\n display: flex;\n align-items: baseline;\n}\n\n.SingleLineCollapsibleContainerLabel--labelContainer--TH25a:hover {\n color: var(--text-hover);\n}\n\n.SingleLineCollapsibleContainerLabel--mainText--NGxZr {\n}\n\n.SingleLineCollapsibleContainerLabel--secondaryText--dE2hg {\n}\n\n@media print {\n\n .SingleLineCollapsibleContainerLabel--labelContainer--TH25a {\n align-items: flex-end;\n }\n\n .SingleLineCollapsibleContainerLabel--mainText--NGxZr {\n }\n\n .SingleLineCollapsibleContainerLabel--secondaryText--dE2hg {\n }\n\n}\n","",{version:3,sources:["webpack://./src/components/settings/common/SingleLineCollapsibleContainerLabel.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;AAEA;;AAEA;EAGE,eAAe;EACf,aAAa;EACb,qBAAqB;AACvB;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;AAEA;;AAEA;AAEA;;AAEA;;EAEE;IACE,qBAAqB;EACvB;;EAEA;EAEA;;EAEA;EAEA;;AAEF",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.collapsibleLabel {\n composes: settingsHeader from '../settings.css';\n}\n\n.labelContainer {\n composes: defaultSize mediumContrastText from '../../../styles/typography.css';\n composes: norgie from './norgie.css';\n cursor: pointer;\n display: flex;\n align-items: baseline;\n}\n\n.labelContainer:hover {\n color: var(--text-hover);\n}\n\n.mainText {\n composes: boldText from '../../../styles/typography.css';\n}\n\n.secondaryText {\n composes: secondaryText from '../settings.css';\n}\n\n@media print {\n\n .labelContainer {\n align-items: flex-end;\n }\n\n .mainText {\n composes: mainHeaderText from '../settings.css';\n }\n\n .secondaryText {\n composes: secondaryText from '../settings.css';\n }\n\n}\n"],sourceRoot:""}]),u.locals={collapsibleLabel:`SingleLineCollapsibleContainerLabel--collapsibleLabel--jwq_c ${s.A.locals.settingsHeader}`,labelContainer:`SingleLineCollapsibleContainerLabel--labelContainer--TH25a ${l.A.locals.defaultSize} ${l.A.locals.mediumContrastText} ${d.A.locals.norgie}`,mainText:`SingleLineCollapsibleContainerLabel--mainText--NGxZr ${l.A.locals.boldText} ${s.A.locals.mainHeaderText}`,secondaryText:`SingleLineCollapsibleContainerLabel--secondaryText--dE2hg ${s.A.locals.secondaryText} ${s.A.locals.secondaryText}`};const c=u},70524:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=n(34945),d=i()(r());d.i(s.A,"",!0),d.i(l.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.Table--secondaryLabelAlone--f8vEQ {\n font-weight: normal;\n}\n\n.Table--secondaryLabelWithMain--UBULD {\n}\n\n.Table--tooltipIcon--QcUKP {\n position: relative;\n margin-right: .75em;\n float: right;\n}\n\n.Table--tooltipIcon--QcUKP > img {\n width: 14px;\n}\n\n.Table--rowTooltipIcon--aOeE7 {\n margin-right: 0;\n margin-left: .75em;\n float: none;\n}\n\n.Table--rowTooltipIcon--aOeE7 > img {\n width: 14px;\n}\n\n.Table--TableTooltipWrapper--DKpZf {\n z-index: 1;\n position: relative;\n}\n\n@media print {\n\n .Table--secondaryLabelWithMain--UBULD {\n color: var(--text-black);\n }\n}\n","",{version:3,sources:["webpack://./src/components/settings/common/Table.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EAEE,mBAAmB;AACrB;;AAEA;AAGA;;AAEA;EACE,kBAAkB;EAClB,mBAAmB;EACnB,YAAY;AACd;;AAEA;EACE,WAAW;AACb;;AAEA;EAEE,eAAe;EACf,kBAAkB;EAClB,WAAW;AACb;;AAEA;EACE,WAAW;AACb;;AAEA;EACE,UAAU;EACV,kBAAkB;AACpB;;AAEA;;EAEE;IAEE,wBAAwB;EAE1B;AACF",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.secondaryLabelAlone {\n composes: secondaryLeftPadding from '../settings.css';\n font-weight: normal;\n}\n\n.secondaryLabelWithMain {\n composes: lightText from '../../../styles/typography.css';\n composes: secondaryLeftPadding from '../settings.css';\n}\n\n.tooltipIcon {\n position: relative;\n margin-right: .75em;\n float: right;\n}\n\n.tooltipIcon > img {\n width: 14px;\n}\n\n.rowTooltipIcon {\n composes: tooltipIcon;\n margin-right: 0;\n margin-left: .75em;\n float: none;\n}\n\n.rowTooltipIcon > img {\n width: 14px;\n}\n\n.TableTooltipWrapper {\n z-index: 1;\n position: relative;\n}\n\n@media print {\n\n .secondaryLabelWithMain {\n composes: lightText largeSize from '../../../styles/typography.css';\n color: var(--text-black);\n \tcomposes: secondaryLeftPadding from '../settings.css';\n }\n}\n"],sourceRoot:""}]),d.locals={secondaryLabelAlone:`Table--secondaryLabelAlone--f8vEQ ${l.A.locals.secondaryLeftPadding}`,secondaryLabelWithMain:`Table--secondaryLabelWithMain--UBULD ${s.A.locals.lightText} ${l.A.locals.secondaryLeftPadding} ${s.A.locals.lightText} ${s.A.locals.largeSize} ${l.A.locals.secondaryLeftPadding}`,tooltipIcon:"Table--tooltipIcon--QcUKP",rowTooltipIcon:"Table--rowTooltipIcon--aOeE7 Table--tooltipIcon--QcUKP",TableTooltipWrapper:"Table--TableTooltipWrapper--DKpZf"};const u=d},35347:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(34945),l=n(20487),d=n(33152),u=i()(r());u.i(s.A,"",!0),u.i(l.A,"",!0),u.i(d.A,"",!0),u.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.TwoLineCollapsibleContainerLabel--collapsibleLabel--_Oy6e {\n}\n\n.TwoLineCollapsibleContainerLabel--labelContainer--DTOsa {\n cursor: pointer;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 66px;\n min-width: 240px;\n padding-top: 10px;\n padding-bottom: 10px;\n}\n\n.TwoLineCollapsibleContainerLabel--labelContainer--DTOsa:hover {\n color: var(--text-hover);\n}\n\n.TwoLineCollapsibleContainerLabel--norgieLabelContainer--ufSOZ {\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n}\n\n.TwoLineCollapsibleContainerLabel--mainText--uNLSt {\n}\n\n.TwoLineCollapsibleContainerLabel--secondaryText--sLi0k {\n}\n\n.TwoLineCollapsibleContainerLabel--secondaryLabel--IdtCy {\n}\n\n@media print {\n\n .TwoLineCollapsibleContainerLabel--labelContainer--DTOsa {\n cursor: pointer;\n box-sizing: border-box;\n display: flex;\n flex-direction: row-reverse;\n text-overflow: ellipsis;\n max-width: 280px;\n min-width: 200px;\n padding-top: 10px;\n padding-bottom: 10px;\n height: auto;\n }\n\n .TwoLineCollapsibleContainerLabel--mainText--uNLSt{\n }\n\n .TwoLineCollapsibleContainerLabel--secondaryText--sLi0k,\n .TwoLineCollapsibleContainerLabel--secondaryLabel--IdtCy {\n }\n\n}","",{version:3,sources:["webpack://./src/components/settings/common/TwoLineCollapsibleContainerLabel.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;AAEA;;AAEA;EAEE,eAAe;EACf,sBAAsB;EACtB,aAAa;EACb,sBAAsB;EACtB,8BAA8B;EAC9B,YAAY;EACZ,gBAAgB;EAChB,iBAAiB;EACjB,oBAAoB;AACtB;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EAEE,aAAa;EACb,8BAA8B;EAC9B,qBAAqB;AACvB;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;;EAEE;IAEE,eAAe;IACf,sBAAsB;IACtB,aAAa;IACb,2BAA2B;IAC3B,uBAAuB;IACvB,gBAAgB;IAChB,gBAAgB;IAChB,iBAAiB;IACjB,oBAAoB;IACpB,YAAY;EACd;;EAEA;EAEA;;EAEA;;EAGA;;AAEF",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.collapsibleLabel {\n composes: settingsHeaderDecoration settingsHeaderLayout settingsHeaderText from '../settings.css';\n}\n\n.labelContainer {\n composes: defaultSize mediumContrastText from '../../../styles/typography.css';\n cursor: pointer;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 66px;\n min-width: 240px;\n padding-top: 10px;\n padding-bottom: 10px;\n}\n\n.labelContainer:hover {\n color: var(--text-hover);\n}\n\n.norgieLabelContainer {\n composes: norgie from './norgie.css';\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n}\n\n.mainText {\n composes: boldText from '../../../styles/typography.css';\n}\n\n.secondaryText {\n composes: secondaryText from '../settings.css';\n}\n\n.secondaryLabel {\n composes: lightText from '../../../styles/typography.css';\n}\n\n@media print {\n\n .labelContainer {\n composes: defaultSize mediumContrastText from '../../../styles/typography.css';\n cursor: pointer;\n box-sizing: border-box;\n display: flex;\n flex-direction: row-reverse;\n text-overflow: ellipsis;\n max-width: 280px;\n min-width: 200px;\n padding-top: 10px;\n padding-bottom: 10px;\n height: auto;\n }\n\n .mainText{\n composes: mainHeaderText from '../settings.css';\n }\n\n .secondaryText,\n .secondaryLabel {\n composes: secondaryText from '../settings.css';\n }\n\n}"],sourceRoot:""}]),u.locals={collapsibleLabel:`TwoLineCollapsibleContainerLabel--collapsibleLabel--_Oy6e ${s.A.locals.settingsHeaderDecoration} ${s.A.locals.settingsHeaderLayout} ${s.A.locals.settingsHeaderText}`,labelContainer:`TwoLineCollapsibleContainerLabel--labelContainer--DTOsa ${l.A.locals.defaultSize} ${l.A.locals.mediumContrastText} ${l.A.locals.defaultSize} ${l.A.locals.mediumContrastText}`,norgieLabelContainer:`TwoLineCollapsibleContainerLabel--norgieLabelContainer--ufSOZ ${d.A.locals.norgie}`,mainText:`TwoLineCollapsibleContainerLabel--mainText--uNLSt ${l.A.locals.boldText} ${s.A.locals.mainHeaderText}`,secondaryText:`TwoLineCollapsibleContainerLabel--secondaryText--sLi0k ${s.A.locals.secondaryText} ${s.A.locals.secondaryText}`,secondaryLabel:`TwoLineCollapsibleContainerLabel--secondaryLabel--IdtCy ${l.A.locals.lightText} ${s.A.locals.secondaryText}`};const c=u},33152:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.norgie--norgie--XUgG5 {\n\n}\n\n.norgie--norgie--XUgG5::after {\n content: '›';\n font-size: 15px;\n font-weight: bold;\n padding-left: 8px;\n margin-right: 16px;\n transform: rotate(0deg);\n\n transition-duration: 0.25s;\n transition-property: rotate, transform;\n}\n\n.norgie--opened--Hn1zM::after {\n transform: rotate(90deg) translate(-20%, -15%);\n}\n\n@media print {\n .norgie--norgie--XUgG5::after {\n content: '';\n }\n}\n","",{version:3,sources:["webpack://./src/components/settings/common/norgie.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;;AAEA;;AAEA;EACE,YAAY;EACZ,eAAe;EACf,iBAAiB;EACjB,iBAAiB;EACjB,kBAAkB;EAClB,uBAAuB;;EAEvB,0BAA0B;EAC1B,sCAAsC;AACxC;;AAEA;EACE,8CAA8C;AAChD;;AAEA;EACE;IACE,WAAW;EACb;AACF",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.norgie {\n\n}\n\n.norgie::after {\n content: '›';\n font-size: 15px;\n font-weight: bold;\n padding-left: 8px;\n margin-right: 16px;\n transform: rotate(0deg);\n\n transition-duration: 0.25s;\n transition-property: rotate, transform;\n}\n\n.opened::after {\n transform: rotate(90deg) translate(-20%, -15%);\n}\n\n@media print {\n .norgie::after {\n content: '';\n }\n}\n"],sourceRoot:""}]),i.locals={norgie:"norgie--norgie--XUgG5",opened:"norgie--opened--Hn1zM"};const s=i},34945:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=n(61872),d=i()(r());d.i(l.A),d.i(s.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.settings--settingsTable--d1jlz {\n width: 100%;\n border-spacing: 1px 0px;\n border-collapse: separate;\n}\n\n.settings--settingsTableInverted--Wcnti {\n}\n\n.settings--settingsTable--d1jlz td, .settings--settingsTable--d1jlz th {\n padding: 10px;\n text-align: right;\n}\n\n.settings--settingsTable--d1jlz th:first-of-type, .settings--settingsTable--d1jlz td:first-of-type {\n text-align: left;\n}\n\n.settings--settingsTable--d1jlz tbody tr:nth-child(odd) {\n background-color: var(--table-stripe--dark);\n}\n\n.settings--settingsTable--d1jlz tbody tr:nth-child(even), .settings--settingsTable--d1jlz thead tr {\n background-color: var(--table-stripe--light);\n}\n\n.settings--settingsTableInverted--Wcnti tbody tr:nth-child(odd) {\n background-color: var(--table-stripe--light);\n}\n\n.settings--settingsTableInverted--Wcnti tbody tr:nth-child(even), .settings--settingsTableInverted--Wcnti thead tr {\n background-color: var(--table-stripe--dark);\n}\n\n.settings--basalTable--iMM0H {\n}\n\n.settings--basalTable--iMM0H tbody tr:last-of-type {\n font-weight: bold;\n}\n\n.settings--basalHeaderBackground--fh4zU {\n background-image: linear-gradient(to right, var(--basal) 0, var(--basal) 14px, #d7f1fb 14px, #d7f1fb 100%);\n}\n\n.settings--automatedBasalHeaderBackground--z2KzO {\n background-image: linear-gradient(to right, var(--basal-automated) 0, var(--basal-automated) 14px, #d7f1fb 14px, #d7f1fb 100%);\n}\n\n.settings--bolusHeaderBackground--NDSNR {\n background-image: linear-gradient(to right, var(--bolus) 0, var(--bolus) 14px, #d7f1fb 14px, #d7f1fb 100%);\n}\n\n.settings--presetsHeaderBackground--ojZbH {\n background-image: linear-gradient(to right, var(--preset) 0, var(--preset) 14px, #F4F5FF 14px, #F4F5FF 100%);\n}\n\n.settings--settingsHeaderDecoration--MThzZ {\n border-bottom: 1px solid var(--table-stripe--dark);\n}\n\n.settings--settingsHeaderHeight--ptl6P {\n line-height: 1.4;\n padding: 8px 0;\n}\n\n.settings--settingsHeaderLayout--RDfgJ {\n min-width: 160px;\n padding-left: 28px;\n text-align: left;\n}\n\n.settings--settingsHeaderText--rqMmg {\n}\n\n.settings--settingsHeader--M9AM7 {\n}\n\n.settings--secondaryLeftPadding--M8isl {\n padding-left: 8px;\n}\n\n.settings--secondaryText--OUAXq {\n padding-left: 8px;\n}\n\n@media print {\n .settings--settingsTable--d1jlz {\n min-width: 250px;\n width: 100%;\n border: solid 1px #000;\n border-collapse: collapse;\n padding-bottom: 0;\n }\n\n .settings--settingsTable--d1jlz tbody tr,\n .settings--settingsTable--d1jlz tbody tr:nth-child(odd),\n .settings--settingsTable--d1jlz thead {\n background-color: var(--bkgrnd-white);\n border-bottom: solid 1px #cbcbcb;\n font-weight: bold;\n color: var(--text-black);\n }\n\n .settings--settingsTable--d1jlz tbody tr:last-of-type, .settings--settingsTable--d1jlz thead tr:last-of-type {\n border-bottom: none;\n }\n\n .settings--settingsHeaderText--rqMmg {\n }\n\n .settings--basalTable--iMM0H {\n }\n\n .settings--basalTable--iMM0H tbody tr:last-of-type {\n font-weight: normal;\n }\n\n .settings--mainHeaderText--NHloQ {\n color: var(--text-black);\n font-weight: normal;\n }\n\n .settings--basalHeaderBackground--fh4zU, .settings--bolusHeaderBackground--NDSNR {\n background-image: none;\n color: var(--text-black);\n font-weight: normal;\n padding-left: 0px;\n }\n\n .settings--secondaryText--OUAXq {\n color: var(--text-black);\n padding-left: 8px;\n }\n}\n\n\n","",{version:3,sources:["webpack://./src/components/settings/settings.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAIF;EAEE,WAAW;EACX,uBAAuB;EACvB,yBAAyB;AAC3B;;AAEA;AAEA;;AAEA;EACE,aAAa;EACb,iBAAiB;AACnB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,2CAA2C;AAC7C;;AAEA;EACE,4CAA4C;AAC9C;;AAEA;EACE,4CAA4C;AAC9C;;AAEA;EACE,2CAA2C;AAC7C;;AAEA;AAEA;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,0GAA0G;AAC5G;;AAEA;EACE,8HAA8H;AAChI;;AAEA;EACE,0GAA0G;AAC5G;;AAEA;EACE,4GAA4G;AAC9G;;AAEA;EACE,kDAAkD;AACpD;;AAEA;EACE,gBAAgB;EAChB,cAAc;AAChB;;AAEA;EACE,gBAAgB;EAChB,kBAAkB;EAClB,gBAAgB;AAClB;;AAEA;AAEA;;AAEA;AAEA;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EACE;IAEE,gBAAgB;IAChB,WAAW;IACX,sBAAsB;IACtB,yBAAyB;IACzB,iBAAiB;EACnB;;EAEA;;;IAGE,qCAAqC;IACrC,gCAAgC;IAChC,iBAAiB;IACjB,wBAAwB;EAC1B;;EAEA;IACE,mBAAmB;EACrB;;EAEA;EAEA;;EAEA;EAEA;;EAEA;IACE,mBAAmB;EACrB;;EAEA;IACE,wBAAwB;IACxB,mBAAmB;EAErB;;EAEA;IACE,sBAAsB;IACtB,wBAAwB;IACxB,mBAAmB;IAEnB,iBAAiB;EACnB;;EAEA;IAEE,wBAAwB;IACxB,iBAAiB;EACnB;AACF",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n@import '../../styles/colors.css';\n\n.settingsTable {\n composes: defaultSize mediumContrastText from '../../styles/typography.css';\n width: 100%;\n border-spacing: 1px 0px;\n border-collapse: separate;\n}\n\n.settingsTableInverted {\n composes: settingsTable;\n}\n\n.settingsTable td, .settingsTable th {\n padding: 10px;\n text-align: right;\n}\n\n.settingsTable th:first-of-type, .settingsTable td:first-of-type {\n text-align: left;\n}\n\n.settingsTable tbody tr:nth-child(odd) {\n background-color: var(--table-stripe--dark);\n}\n\n.settingsTable tbody tr:nth-child(even), .settingsTable thead tr {\n background-color: var(--table-stripe--light);\n}\n\n.settingsTableInverted tbody tr:nth-child(odd) {\n background-color: var(--table-stripe--light);\n}\n\n.settingsTableInverted tbody tr:nth-child(even), .settingsTableInverted thead tr {\n background-color: var(--table-stripe--dark);\n}\n\n.basalTable {\n composes: settingsTable;\n}\n\n.basalTable tbody tr:last-of-type {\n font-weight: bold;\n}\n\n.basalHeaderBackground {\n background-image: linear-gradient(to right, var(--basal) 0, var(--basal) 14px, #d7f1fb 14px, #d7f1fb 100%);\n}\n\n.automatedBasalHeaderBackground {\n background-image: linear-gradient(to right, var(--basal-automated) 0, var(--basal-automated) 14px, #d7f1fb 14px, #d7f1fb 100%);\n}\n\n.bolusHeaderBackground {\n background-image: linear-gradient(to right, var(--bolus) 0, var(--bolus) 14px, #d7f1fb 14px, #d7f1fb 100%);\n}\n\n.presetsHeaderBackground {\n background-image: linear-gradient(to right, var(--preset) 0, var(--preset) 14px, #F4F5FF 14px, #F4F5FF 100%);\n}\n\n.settingsHeaderDecoration {\n border-bottom: 1px solid var(--table-stripe--dark);\n}\n\n.settingsHeaderHeight {\n line-height: 1.4;\n padding: 8px 0;\n}\n\n.settingsHeaderLayout {\n min-width: 160px;\n padding-left: 28px;\n text-align: left;\n}\n\n.settingsHeaderText {\n composes: defaultSize mediumContrastText boldText from '../../styles/typography.css';\n}\n\n.settingsHeader {\n composes: settingsHeaderDecoration settingsHeaderHeight settingsHeaderLayout settingsHeaderText;\n}\n\n.secondaryLeftPadding {\n padding-left: 8px;\n}\n\n.secondaryText {\n composes: lightText from '../../styles/typography.css';\n padding-left: 8px;\n}\n\n@media print {\n .settingsTable {\n composes: defaultSize mediumContrastText from '../../styles/typography.css';\n min-width: 250px;\n width: 100%;\n border: solid 1px #000;\n border-collapse: collapse;\n padding-bottom: 0;\n }\n\n .settingsTable tbody tr,\n .settingsTable tbody tr:nth-child(odd),\n .settingsTable thead {\n background-color: var(--bkgrnd-white);\n border-bottom: solid 1px #cbcbcb;\n font-weight: bold;\n color: var(--text-black);\n }\n\n .settingsTable tbody tr:last-of-type, .settingsTable thead tr:last-of-type {\n border-bottom: none;\n }\n\n .settingsHeaderText {\n composes: defaultSize mediumContrastText from '../../styles/typography.css';\n }\n\n .basalTable {\n composes: settingsTable;\n }\n\n .basalTable tbody tr:last-of-type {\n font-weight: normal;\n }\n\n .mainHeaderText {\n color: var(--text-black);\n font-weight: normal;\n composes: largeSize from '../../styles/typography.css';\n }\n\n .basalHeaderBackground, .bolusHeaderBackground {\n background-image: none;\n color: var(--text-black);\n font-weight: normal;\n composes: mainHeaderText;\n padding-left: 0px;\n }\n\n .secondaryText {\n composes: lightText largeSize from '../../styles/typography.css';\n color: var(--text-black);\n padding-left: 8px;\n }\n}\n\n\n"],sourceRoot:""}]),d.locals={settingsTable:`settings--settingsTable--d1jlz ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText} ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText}`,settingsTableInverted:`settings--settingsTableInverted--Wcnti settings--settingsTable--d1jlz ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText}`,basalTable:`settings--basalTable--iMM0H settings--settingsTable--d1jlz ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText} settings--settingsTable--d1jlz ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText} ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText}`,basalHeaderBackground:`settings--basalHeaderBackground--fh4zU settings--mainHeaderText--NHloQ ${s.A.locals.largeSize}`,automatedBasalHeaderBackground:"settings--automatedBasalHeaderBackground--z2KzO",bolusHeaderBackground:`settings--bolusHeaderBackground--NDSNR settings--mainHeaderText--NHloQ ${s.A.locals.largeSize}`,presetsHeaderBackground:"settings--presetsHeaderBackground--ojZbH",settingsHeaderDecoration:"settings--settingsHeaderDecoration--MThzZ",settingsHeaderHeight:"settings--settingsHeaderHeight--ptl6P",settingsHeaderLayout:"settings--settingsHeaderLayout--RDfgJ",settingsHeaderText:`settings--settingsHeaderText--rqMmg ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText} ${s.A.locals.boldText} ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText}`,settingsHeader:`settings--settingsHeader--M9AM7 settings--settingsHeaderDecoration--MThzZ settings--settingsHeaderHeight--ptl6P settings--settingsHeaderLayout--RDfgJ settings--settingsHeaderText--rqMmg ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText} ${s.A.locals.boldText}`,secondaryLeftPadding:"settings--secondaryLeftPadding--M8isl",secondaryText:`settings--secondaryText--OUAXq ${s.A.locals.lightText} ${s.A.locals.lightText} ${s.A.locals.largeSize}`,mainHeaderText:`settings--mainHeaderText--NHloQ ${s.A.locals.largeSize}`};const u=d},48896:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(12283),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.CBGDateTraceAnimated--border--mtaT9 {\n stroke: white;\n stroke-width: 0.5px;\n}\n\n.CBGDateTraceAnimated--veryLow--sjS5C {\n}\n\n.CBGDateTraceAnimated--low--mSdDN {\n}\n\n.CBGDateTraceAnimated--target--VDRRV {\n}\n\n.CBGDateTraceAnimated--high--q6Zsk {\n}\n\n.CBGDateTraceAnimated--veryHigh--kqnIl {\n}\n","",{version:3,sources:["webpack://./src/components/trends/cbg/CBGDateTraceAnimated.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,aAAa;EACb,mBAAmB;AACrB;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.border {\n stroke: white;\n stroke-width: 0.5px;\n}\n\n.veryLow {\n composes: border;\n composes: bgVeryLow from '../../../styles/diabetes.css';\n}\n\n.low {\n composes: border;\n composes: bgLow from '../../../styles/diabetes.css';\n}\n\n.target {\n composes: border;\n composes: bgTarget from '../../../styles/diabetes.css';\n}\n\n.high {\n composes: border;\n composes: bgHigh from '../../../styles/diabetes.css';\n}\n\n.veryHigh {\n composes: border;\n composes: bgVeryHigh from '../../../styles/diabetes.css';\n}\n"],sourceRoot:""}]),l.locals={border:"CBGDateTraceAnimated--border--mtaT9",veryLow:`CBGDateTraceAnimated--veryLow--sjS5C CBGDateTraceAnimated--border--mtaT9 ${s.A.locals.bgVeryLow}`,low:`CBGDateTraceAnimated--low--mSdDN CBGDateTraceAnimated--border--mtaT9 ${s.A.locals.bgLow}`,target:`CBGDateTraceAnimated--target--VDRRV CBGDateTraceAnimated--border--mtaT9 ${s.A.locals.bgTarget}`,high:`CBGDateTraceAnimated--high--q6Zsk CBGDateTraceAnimated--border--mtaT9 ${s.A.locals.bgHigh}`,veryHigh:`CBGDateTraceAnimated--veryHigh--kqnIl CBGDateTraceAnimated--border--mtaT9 ${s.A.locals.bgVeryHigh}`};const d=l},45509:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(6098),l=n(20487),d=i()(r());d.i(s.A,"",!0),d.i(l.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.CBGDateTraceLabel--container--o9eGX {\n top: 0px;\n z-index: 1;\n}\n\n.CBGDateTraceLabel--dateLabel--MzhIo {\n}\n","",{version:3,sources:["webpack://./src/components/trends/cbg/CBGDateTraceLabel.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EAEE,QAAQ;EACR,UAAU;AACZ;;AAEA;AAEA",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.container {\n composes: absolute smallHorizontalPadding from '../../../styles/layout.css';\n top: 0px;\n z-index: 1;\n}\n\n.dateLabel {\n composes: highContrastText noWrap defaultSize from '../../../styles/typography.css';\n}\n"],sourceRoot:""}]),d.locals={container:`CBGDateTraceLabel--container--o9eGX ${s.A.locals.absolute} ${s.A.locals.smallHorizontalPadding}`,dateLabel:`CBGDateTraceLabel--dateLabel--MzhIo ${l.A.locals.highContrastText} ${l.A.locals.noWrap} ${l.A.locals.defaultSize}`};const u=d},78263:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(12283),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.CBGMedianAnimated--thickStroke--Wx2Gy {\n stroke-width: 2;\n}\n\n.CBGMedianAnimated--median--k0A2B {\n stroke: white;\n pointer-events: none;\n}\n\n.CBGMedianAnimated--transparent--kx5dj {\n fill: transparent;\n}\n\n@keyframes CBGMedianAnimated--fadein--bca1E {\n from {\n fill-opacity: 0.0;\n }\n to {\n fill-opacity: 1.0;\n }\n}\n\n@keyframes CBGMedianAnimated--fadeout--Nt8UK {\n from {\n fill-opacity: 1.0;\n }\n to {\n fill-opacity: 0.0;\n }\n}\n\n.CBGMedianAnimated--fadeinAnimation--utaIE {\n animation: CBGMedianAnimated--fadein--bca1E 0.25s forwards ease-in-out;\n}\n\n.CBGMedianAnimated--fadeoutAnimation--n13Mx {\n animation: CBGMedianAnimated--fadeout--Nt8UK 0.25s forwards ease-in-out;\n}\n\n.CBGMedianAnimated--veryLowFadeIn--_N23o {\n}\n\n.CBGMedianAnimated--veryLowFadeOut--jWEjT {\n}\n\n.CBGMedianAnimated--lowFadeIn--EKzYQ {\n}\n\n.CBGMedianAnimated--lowFadeOut--VPbPd {\n}\n\n.CBGMedianAnimated--targetFadeIn--ElQaq {\n}\n\n.CBGMedianAnimated--targetFadeOut--U4eiD {\n}\n\n.CBGMedianAnimated--highFadeIn--MczpY {\n}\n\n.CBGMedianAnimated--highFadeOut--p_Ovq {\n}\n\n.CBGMedianAnimated--veryHighFadeIn--ZJV62 {\n}\n\n.CBGMedianAnimated--veryHighFadeOut--O_jFk {\n}\n","",{version:3,sources:["webpack://./src/components/trends/cbg/CBGMedianAnimated.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAMF;EACE,eAAe;AACjB;;AAEA;EACE,aAAa;EAEb,oBAAoB;AACtB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE;IACE,iBAAiB;EACnB;EACA;IACE,iBAAiB;EACnB;AACF;;AAEA;EACE;IACE,iBAAiB;EACnB;EACA;IACE,iBAAiB;EACnB;AACF;;AAEA;EACE,sEAA4C;AAC9C;;AAEA;EACE,uEAA6C;AAC/C;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n:export {\n stroke: 2;\n}\n\n.thickStroke {\n stroke-width: 2;\n}\n\n.median {\n stroke: white;\n composes: thickStroke;\n pointer-events: none;\n}\n\n.transparent {\n fill: transparent;\n}\n\n@keyframes fadein {\n from {\n fill-opacity: 0.0;\n }\n to {\n fill-opacity: 1.0;\n }\n}\n\n@keyframes fadeout {\n from {\n fill-opacity: 1.0;\n }\n to {\n fill-opacity: 0.0;\n }\n}\n\n.fadeinAnimation {\n animation: fadein 0.25s forwards ease-in-out;\n}\n\n.fadeoutAnimation {\n animation: fadeout 0.25s forwards ease-in-out;\n}\n\n.veryLowFadeIn {\n composes: bgVeryLow from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.veryLowFadeOut {\n composes: bgVeryLow from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n\n.lowFadeIn {\n composes: bgLow from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.lowFadeOut {\n composes: bgLow from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n\n.targetFadeIn {\n composes: bgTarget from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.targetFadeOut {\n composes: bgTarget from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n\n.highFadeIn {\n composes: bgHigh from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.highFadeOut {\n composes: bgHigh from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n\n.veryHighFadeIn {\n composes: bgVeryHigh from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.veryHighFadeOut {\n composes: bgVeryHigh from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n"],sourceRoot:""}]),l.locals={stroke:"2",thickStroke:"CBGMedianAnimated--thickStroke--Wx2Gy",median:"CBGMedianAnimated--median--k0A2B CBGMedianAnimated--thickStroke--Wx2Gy",transparent:"CBGMedianAnimated--transparent--kx5dj",fadeinAnimation:"CBGMedianAnimated--fadeinAnimation--utaIE",fadein:"CBGMedianAnimated--fadein--bca1E",fadeoutAnimation:"CBGMedianAnimated--fadeoutAnimation--n13Mx",fadeout:"CBGMedianAnimated--fadeout--Nt8UK",veryLowFadeIn:`CBGMedianAnimated--veryLowFadeIn--_N23o ${s.A.locals.bgVeryLow} CBGMedianAnimated--fadeinAnimation--utaIE`,veryLowFadeOut:`CBGMedianAnimated--veryLowFadeOut--jWEjT ${s.A.locals.bgVeryLow} CBGMedianAnimated--fadeoutAnimation--n13Mx`,lowFadeIn:`CBGMedianAnimated--lowFadeIn--EKzYQ ${s.A.locals.bgLow} CBGMedianAnimated--fadeinAnimation--utaIE`,lowFadeOut:`CBGMedianAnimated--lowFadeOut--VPbPd ${s.A.locals.bgLow} CBGMedianAnimated--fadeoutAnimation--n13Mx`,targetFadeIn:`CBGMedianAnimated--targetFadeIn--ElQaq ${s.A.locals.bgTarget} CBGMedianAnimated--fadeinAnimation--utaIE`,targetFadeOut:`CBGMedianAnimated--targetFadeOut--U4eiD ${s.A.locals.bgTarget} CBGMedianAnimated--fadeoutAnimation--n13Mx`,highFadeIn:`CBGMedianAnimated--highFadeIn--MczpY ${s.A.locals.bgHigh} CBGMedianAnimated--fadeinAnimation--utaIE`,highFadeOut:`CBGMedianAnimated--highFadeOut--p_Ovq ${s.A.locals.bgHigh} CBGMedianAnimated--fadeoutAnimation--n13Mx`,veryHighFadeIn:`CBGMedianAnimated--veryHighFadeIn--ZJV62 ${s.A.locals.bgVeryHigh} CBGMedianAnimated--fadeinAnimation--utaIE`,veryHighFadeOut:`CBGMedianAnimated--veryHighFadeOut--O_jFk ${s.A.locals.bgVeryHigh} CBGMedianAnimated--fadeoutAnimation--n13Mx`};const d=l},39817:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.CBGSliceAnimated--segment--EakS3 {\n stroke-width: 2;\n pointer-events: all;\n}\n\n@keyframes CBGSliceAnimated--fadeRangeOut--vdW8u {\n from {\n stroke: var(--trends--light);\n }\n to {\n stroke: var(--trends--light--faded);\n }\n}\n\n@keyframes CBGSliceAnimated--fadeRangeIn--hPW2F {\n from {\n stroke: var(--trends--light--faded);\n }\n to {\n stroke: var(--trends--light);\n }\n}\n\n.CBGSliceAnimated--rangeSegment--v32EM {\n animation: CBGSliceAnimated--fadeRangeIn--hPW2F 0.25s forwards ease-in-out;\n fill: transparent;\n}\n\n.CBGSliceAnimated--rangeSegmentFaded--GoVwG {\n animation: CBGSliceAnimated--fadeRangeOut--vdW8u 0.25s forwards ease-in-out;\n fill: transparent;\n}\n\n.CBGSliceAnimated--rangeSegment--v32EM:hover, .CBGSliceAnimated--rangeSegmentFaded--GoVwG:hover {\n opacity: 0;\n}\n\n@keyframes CBGSliceAnimated--fadeOuterOut--kZAoN {\n from {\n fill: var(--trends--light);\n stroke: var(--trends--light);\n }\n to {\n fill: var(--trends--light--faded);\n stroke: var(--trends--light--faded);\n }\n}\n\n@keyframes CBGSliceAnimated--fadeOuterIn--RUeYr {\n from {\n fill: var(--trends--light--faded);\n stroke: var(--trends--light--faded);\n }\n to {\n fill: var(--trends--light);\n stroke: var(--trends--light);\n }\n}\n\n.CBGSliceAnimated--outerSegment--K2fMH {\n animation: CBGSliceAnimated--fadeOuterIn--RUeYr 0.25s forwards ease-in-out;\n}\n\n.CBGSliceAnimated--outerSegmentFaded--SLwMD {\n animation: CBGSliceAnimated--fadeOuterOut--kZAoN 0.25s forwards ease-in-out;\n}\n\n.CBGSliceAnimated--outerSegment--K2fMH:hover, .CBGSliceAnimated--outerSegmentFaded--SLwMD:hover {\n opacity: 0;\n}\n\n@keyframes CBGSliceAnimated--fadeInnerOut--ct2l4 {\n from {\n fill: var(--trends--dark);\n stroke: var(--trends--dark);\n }\n to {\n fill: var(--trends--dark--faded);\n stroke: var(--trends--dark--faded);\n }\n}\n\n@keyframes CBGSliceAnimated--fadeInnerIn--rL7xu {\n from {\n fill: var(--trends--dark--faded);\n stroke: var(--trends--dark--faded);\n }\n to {\n fill: var(--trends--dark);\n stroke: var(--trends--dark);\n }\n}\n\n.CBGSliceAnimated--innerQuartilesSegment--JAS6B {\n animation: CBGSliceAnimated--fadeInnerIn--rL7xu 0.25s forwards ease-in-out;\n}\n\n.CBGSliceAnimated--innerQuartilesSegmentFaded--SFNkd {\n animation: CBGSliceAnimated--fadeInnerOut--ct2l4 0.25s forwards ease-in-out;\n}\n\n.CBGSliceAnimated--innerQuartilesSegment--JAS6B:hover, .CBGSliceAnimated--innerQuartilesSegmentFaded--SFNkd:hover {\n opacity: 0;\n}","",{version:3,sources:["webpack://./src/components/trends/cbg/CBGSliceAnimated.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAMF;EACE,eAAe;EACf,mBAAmB;AACrB;;AAEA;EACE;IACE,4BAA4B;EAC9B;EACA;IACE,mCAAmC;EACrC;AACF;;AAEA;EACE;IACE,mCAAmC;EACrC;EACA;IACE,4BAA4B;EAC9B;AACF;;AAEA;EACE,0EAAiD;EACjD,iBAAiB;AACnB;;AAEA;EACE,2EAAkD;EAClD,iBAAiB;AACnB;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE;IACE,0BAA0B;IAC1B,4BAA4B;EAC9B;EACA;IACE,iCAAiC;IACjC,mCAAmC;EACrC;AACF;;AAEA;EACE;IACE,iCAAiC;IACjC,mCAAmC;EACrC;EACA;IACE,0BAA0B;IAC1B,4BAA4B;EAC9B;AACF;;AAEA;EACE,0EAAiD;AACnD;;AAEA;EACE,2EAAkD;AACpD;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE;IACE,yBAAyB;IACzB,2BAA2B;EAC7B;EACA;IACE,gCAAgC;IAChC,kCAAkC;EACpC;AACF;;AAEA;EACE;IACE,gCAAgC;IAChC,kCAAkC;EACpC;EACA;IACE,yBAAyB;IACzB,2BAA2B;EAC7B;AACF;;AAEA;EACE,0EAAiD;AACnD;;AAEA;EACE,2EAAkD;AACpD;;AAEA;EACE,UAAU;AACZ",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n:export {\n stroke: 2;\n}\n\n.segment {\n stroke-width: 2;\n pointer-events: all;\n}\n\n@keyframes fadeRangeOut {\n from {\n stroke: var(--trends--light);\n }\n to {\n stroke: var(--trends--light--faded);\n }\n}\n\n@keyframes fadeRangeIn {\n from {\n stroke: var(--trends--light--faded);\n }\n to {\n stroke: var(--trends--light);\n }\n}\n\n.rangeSegment {\n animation: fadeRangeIn 0.25s forwards ease-in-out;\n fill: transparent;\n}\n\n.rangeSegmentFaded {\n animation: fadeRangeOut 0.25s forwards ease-in-out;\n fill: transparent;\n}\n\n.rangeSegment:hover, .rangeSegmentFaded:hover {\n opacity: 0;\n}\n\n@keyframes fadeOuterOut {\n from {\n fill: var(--trends--light);\n stroke: var(--trends--light);\n }\n to {\n fill: var(--trends--light--faded);\n stroke: var(--trends--light--faded);\n }\n}\n\n@keyframes fadeOuterIn {\n from {\n fill: var(--trends--light--faded);\n stroke: var(--trends--light--faded);\n }\n to {\n fill: var(--trends--light);\n stroke: var(--trends--light);\n }\n}\n\n.outerSegment {\n animation: fadeOuterIn 0.25s forwards ease-in-out;\n}\n\n.outerSegmentFaded {\n animation: fadeOuterOut 0.25s forwards ease-in-out;\n}\n\n.outerSegment:hover, .outerSegmentFaded:hover {\n opacity: 0;\n}\n\n@keyframes fadeInnerOut {\n from {\n fill: var(--trends--dark);\n stroke: var(--trends--dark);\n }\n to {\n fill: var(--trends--dark--faded);\n stroke: var(--trends--dark--faded);\n }\n}\n\n@keyframes fadeInnerIn {\n from {\n fill: var(--trends--dark--faded);\n stroke: var(--trends--dark--faded);\n }\n to {\n fill: var(--trends--dark);\n stroke: var(--trends--dark);\n }\n}\n\n.innerQuartilesSegment {\n animation: fadeInnerIn 0.25s forwards ease-in-out;\n}\n\n.innerQuartilesSegmentFaded {\n animation: fadeInnerOut 0.25s forwards ease-in-out;\n}\n\n.innerQuartilesSegment:hover, .innerQuartilesSegmentFaded:hover {\n opacity: 0;\n}"],sourceRoot:""}]),i.locals={stroke:"2",segment:"CBGSliceAnimated--segment--EakS3",rangeSegment:"CBGSliceAnimated--rangeSegment--v32EM",fadeRangeIn:"CBGSliceAnimated--fadeRangeIn--hPW2F",rangeSegmentFaded:"CBGSliceAnimated--rangeSegmentFaded--GoVwG",fadeRangeOut:"CBGSliceAnimated--fadeRangeOut--vdW8u",outerSegment:"CBGSliceAnimated--outerSegment--K2fMH",fadeOuterIn:"CBGSliceAnimated--fadeOuterIn--RUeYr",outerSegmentFaded:"CBGSliceAnimated--outerSegmentFaded--SLwMD",fadeOuterOut:"CBGSliceAnimated--fadeOuterOut--kZAoN",innerQuartilesSegment:"CBGSliceAnimated--innerQuartilesSegment--JAS6B",fadeInnerIn:"CBGSliceAnimated--fadeInnerIn--rL7xu",innerQuartilesSegmentFaded:"CBGSliceAnimated--innerQuartilesSegmentFaded--SFNkd",fadeInnerOut:"CBGSliceAnimated--fadeInnerOut--ct2l4"};const s=i},68040:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.FocusedCBGSliceSegment--segment--STc5T {\n stroke: black;\n stroke-width: 2;\n pointer-events: none;\n fill: transparent;\n}","",{version:3,sources:["webpack://./src/components/trends/cbg/FocusedCBGSliceSegment.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAMF;EACE,aAAa;EACb,eAAe;EACf,oBAAoB;EACpB,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n:export {\n stroke: 2;\n}\n\n.segment {\n stroke: black;\n stroke-width: 2;\n pointer-events: none;\n fill: transparent;\n}"],sourceRoot:""}]),i.locals={stroke:"2",segment:"FocusedCBGSliceSegment--segment--STc5T"};const s=i},16895:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.RangeSelect--container--KDdQn {\n display: flex;\n flex-direction: row;\n padding-top: 15px;\n}\n","",{version:3,sources:["webpack://./src/components/trends/cbg/RangeSelect.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,aAAa;EACb,mBAAmB;EAEnB,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.container {\n display: flex;\n flex-direction: row;\n composes: mediumContrastText defaultSize from '../../../styles/typography.css';\n padding-top: 15px;\n}\n"],sourceRoot:""}]),l.locals={container:`RangeSelect--container--KDdQn ${s.A.locals.mediumContrastText} ${s.A.locals.defaultSize}`};const d=l},72705:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.Background--background--V9pj0 {\n stroke: var(--bkgrnd-lines);\n stroke-width: 1px;\n fill: var(--bkgrnd);\n}\n\n.Background--threeHrLine--F9ERQ {\n stroke: var(--bkgrnd-lines);\n stroke-width: 1px;\n}","",{version:3,sources:["webpack://./src/components/trends/common/Background.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,2BAA2B;EAC3B,iBAAiB;EACjB,mBAAmB;AACrB;;AAEA;EACE,2BAA2B;EAC3B,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.background {\n stroke: var(--bkgrnd-lines);\n stroke-width: 1px;\n fill: var(--bkgrnd);\n}\n\n.threeHrLine {\n stroke: var(--bkgrnd-lines);\n stroke-width: 1px;\n}"],sourceRoot:""}]),i.locals={background:"Background--background--V9pj0",threeHrLine:"Background--threeHrLine--F9ERQ"};const s=i},31246:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(6098),l=n(20487),d=i()(r());d.i(s.A,"",!0),d.i(l.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.FocusedRangeLabels--container--GM_jS {\n top: 0px;\n z-index: 1;\n}\n\n.FocusedRangeLabels--number--edNGe {\n}\n\n.FocusedRangeLabels--explainerText--P2Zfa {\n display: block;\n}\n\n.FocusedRangeLabels--timeLabel--VLclM {\n}\n","",{version:3,sources:["webpack://./src/components/trends/common/FocusedRangeLabels.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EAEE,QAAQ;EACR,UAAU;AACZ;;AAEA;AAEA;;AAEA;EAEE,cAAc;AAChB;;AAEA;AAEA",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.container {\n composes: absolute smallHorizontalPadding from '../../../styles/layout.css';\n top: 0px;\n z-index: 1;\n}\n\n.number {\n composes: boldText highContrastText noWrap largeSize from '../../../styles/typography.css';\n}\n\n.explainerText {\n composes: highContrastText noWrap from '../../../styles/typography.css';\n display: block;\n}\n\n.timeLabel {\n composes: highContrastText noWrap defaultSize from '../../../styles/typography.css';\n}\n"],sourceRoot:""}]),d.locals={container:`FocusedRangeLabels--container--GM_jS ${s.A.locals.absolute} ${s.A.locals.smallHorizontalPadding}`,number:`FocusedRangeLabels--number--edNGe ${l.A.locals.boldText} ${l.A.locals.highContrastText} ${l.A.locals.noWrap} ${l.A.locals.largeSize}`,explainerText:`FocusedRangeLabels--explainerText--P2Zfa ${l.A.locals.highContrastText} ${l.A.locals.noWrap}`,timeLabel:`FocusedRangeLabels--timeLabel--VLclM ${l.A.locals.highContrastText} ${l.A.locals.noWrap} ${l.A.locals.defaultSize}`};const u=d},32576:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.NoData--noDataMsg--GG3h3 {\n}","",{version:3,sources:["webpack://./src/components/trends/common/NoData.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;AAEA",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.noDataMsg {\n composes: mediumContrastText svgMiddleAnchored from '../../../styles/typography.css';\n}"],sourceRoot:""}]),l.locals={noDataMsg:`NoData--noDataMsg--GG3h3 ${s.A.locals.mediumContrastText} ${s.A.locals.svgMiddleAnchored}`};const d=l},87558:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.TargetRangeLines--targetRangeLine--I7HYk {\n pointer-events: none;\n\n stroke: white;\n stroke-dasharray: 9,9;\n stroke-width: 2px;\n}","",{version:3,sources:["webpack://./src/components/trends/common/TargetRangeLines.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,oBAAoB;;EAEpB,aAAa;EACb,qBAAqB;EACrB,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.targetRangeLine {\n pointer-events: none;\n\n stroke: white;\n stroke-dasharray: 9,9;\n stroke-width: 2px;\n}"],sourceRoot:""}]),i.locals={targetRangeLine:"TargetRangeLines--targetRangeLine--I7HYk"};const s=i},21347:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.XAxisLabels--text--W7v5M {\n}\n\n.XAxisLabels--focusedRange--vS9RU {\n}","",{version:3,sources:["webpack://./src/components/trends/common/XAxisLabels.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;AAEA;;AAEA;AAEA",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.text {\n composes: axisSize mediumContrastText svgStartAnchored from '../../../styles/typography.css';\n}\n\n.focusedRange {\n composes: axisSize boldText mediumContrastText svgStartAnchored from '../../../styles/typography.css';\n}"],sourceRoot:""}]),l.locals={text:`XAxisLabels--text--W7v5M ${s.A.locals.axisSize} ${s.A.locals.mediumContrastText} ${s.A.locals.svgStartAnchored}`,focusedRange:`XAxisLabels--focusedRange--vS9RU ${s.A.locals.axisSize} ${s.A.locals.boldText} ${s.A.locals.mediumContrastText} ${s.A.locals.svgStartAnchored}`};const d=l},99070:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.XAxisTicks--tick--jmNDE {\n stroke: var(--axis-tick);\n}","",{version:3,sources:["webpack://./src/components/trends/common/XAxisTicks.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,wBAAwB;AAC1B",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.tick {\n stroke: var(--axis-tick);\n}"],sourceRoot:""}]),i.locals={tick:"XAxisTicks--tick--jmNDE"};const s=i},51097:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.YAxisLabelsAndTicks--text--Kcm30 {\n}\n\n.YAxisLabelsAndTicks--tick--E970H {\n stroke: var(--axis-tick);\n}","",{version:3,sources:["webpack://./src/components/trends/common/YAxisLabelsAndTicks.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;AAEA;;AAEA;EACE,wBAAwB;AAC1B",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.text {\n composes: axisSize mediumContrastText svgRightAnchored svgVerticalCentered from '../../../styles/typography.css';\n}\n\n.tick {\n stroke: var(--axis-tick);\n}"],sourceRoot:""}]),l.locals={text:`YAxisLabelsAndTicks--text--Kcm30 ${s.A.locals.axisSize} ${s.A.locals.mediumContrastText} ${s.A.locals.svgRightAnchored} ${s.A.locals.svgVerticalCentered}`,tick:"YAxisLabelsAndTicks--tick--E970H"};const d=l},71577:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(6098),l=n(20487),d=i()(r());d.i(s.A,"",!0),d.i(l.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.FocusedSMBGPointLabel--container--nMn2V {\n top: 0px;\n z-index: 1;\n}\n\n.FocusedSMBGPointLabel--number--Cr9f6 {\n}\n\n.FocusedSMBGPointLabel--explainerText--pbxlh {\n display: block;\n}\n\n.FocusedSMBGPointLabel--detailNumber--Qv6w4 {\n text-align: center;\n}\n\n.FocusedSMBGPointLabel--dateTime--aPVM_ {\n}\n\n.FocusedSMBGPointLabel--subType--C_rK6 {\n font-style: italic;\n}\n\n.FocusedSMBGPointLabel--tipWrapper--BsXhM {\n text-align: right;\n}\n","",{version:3,sources:["webpack://./src/components/trends/smbg/FocusedSMBGPointLabel.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EAEE,QAAQ;EACR,UAAU;AACZ;;AAEA;AAEA;;AAEA;EAEE,cAAc;AAChB;;AAEA;EAEE,kBAAkB;AACpB;;AAEA;AAEA;;AAEA;EAEE,kBAAkB;AACpB;;AAEA;EACE,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.container {\n composes: absolute smallHorizontalPadding from '../../../styles/layout.css';\n top: 0px;\n z-index: 1;\n}\n\n.number {\n composes: boldText highContrastText noWrap largeSize from '../../../styles/typography.css';\n}\n\n.explainerText {\n composes: smallSize noWrap from '../../../styles/typography.css';\n display: block;\n}\n\n.detailNumber {\n composes: explainerText number;\n text-align: center;\n}\n\n.dateTime {\n composes: explainerText;\n}\n\n.subType {\n composes: explainerText;\n font-style: italic;\n}\n\n.tipWrapper {\n text-align: right;\n}\n"],sourceRoot:""}]),d.locals={container:`FocusedSMBGPointLabel--container--nMn2V ${s.A.locals.absolute} ${s.A.locals.smallHorizontalPadding}`,number:`FocusedSMBGPointLabel--number--Cr9f6 ${l.A.locals.boldText} ${l.A.locals.highContrastText} ${l.A.locals.noWrap} ${l.A.locals.largeSize}`,explainerText:`FocusedSMBGPointLabel--explainerText--pbxlh ${l.A.locals.smallSize} ${l.A.locals.noWrap}`,detailNumber:`FocusedSMBGPointLabel--detailNumber--Qv6w4 FocusedSMBGPointLabel--explainerText--pbxlh ${l.A.locals.smallSize} ${l.A.locals.noWrap} FocusedSMBGPointLabel--number--Cr9f6 ${l.A.locals.boldText} ${l.A.locals.highContrastText} ${l.A.locals.noWrap} ${l.A.locals.largeSize}`,dateTime:`FocusedSMBGPointLabel--dateTime--aPVM_ FocusedSMBGPointLabel--explainerText--pbxlh ${l.A.locals.smallSize} ${l.A.locals.noWrap}`,subType:`FocusedSMBGPointLabel--subType--C_rK6 FocusedSMBGPointLabel--explainerText--pbxlh ${l.A.locals.smallSize} ${l.A.locals.noWrap}`,tipWrapper:"FocusedSMBGPointLabel--tipWrapper--BsXhM"};const u=d},95435:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.SMBGDateLineAnimated--smbgPath--DplGw {\n fill: none;\n stroke: var(--trends--dark);\n stroke-dasharray: 4, 4;\n}\n\n.SMBGDateLineAnimated--highlightPath--RXzdu {\n stroke-width: 2px;\n stroke-dasharray: 4, 0;\n}\n","",{version:3,sources:["webpack://./src/components/trends/smbg/SMBGDateLineAnimated.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,UAAU;EACV,2BAA2B;EAC3B,sBAAsB;AACxB;;AAEA;EACE,iBAAiB;EACjB,sBAAsB;AACxB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.smbgPath {\n fill: none;\n stroke: var(--trends--dark);\n stroke-dasharray: 4, 4;\n}\n\n.highlightPath {\n stroke-width: 2px;\n stroke-dasharray: 4, 0;\n}\n"],sourceRoot:""}]),i.locals={smbgPath:"SMBGDateLineAnimated--smbgPath--DplGw",highlightPath:"SMBGDateLineAnimated--highlightPath--RXzdu"};const s=i},5112:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(12283),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.SMBGDatePointsAnimated--veryLow--GLeZS {\n}\n\n.SMBGDatePointsAnimated--low--aBAQU {\n}\n\n.SMBGDatePointsAnimated--target--jmczA {\n}\n\n.SMBGDatePointsAnimated--high--rn4b6 {\n}\n\n.SMBGDatePointsAnimated--veryHigh--p6a8j {\n}\n","",{version:3,sources:["webpack://./src/components/trends/smbg/SMBGDatePointsAnimated.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.veryLow {\n composes: bgVeryLow from '../../../styles/diabetes.css';\n}\n\n.low {\n composes: bgLow from '../../../styles/diabetes.css';\n}\n\n.target {\n composes: bgTarget from '../../../styles/diabetes.css';\n}\n\n.high {\n composes: bgHigh from '../../../styles/diabetes.css';\n}\n\n.veryHigh {\n composes: bgVeryHigh from '../../../styles/diabetes.css';\n}\n"],sourceRoot:""}]),l.locals={veryLow:`SMBGDatePointsAnimated--veryLow--GLeZS ${s.A.locals.bgVeryLow}`,low:`SMBGDatePointsAnimated--low--aBAQU ${s.A.locals.bgLow}`,target:`SMBGDatePointsAnimated--target--jmczA ${s.A.locals.bgTarget}`,high:`SMBGDatePointsAnimated--high--rn4b6 ${s.A.locals.bgHigh}`,veryHigh:`SMBGDatePointsAnimated--veryHigh--p6a8j ${s.A.locals.bgVeryHigh}`};const d=l},57778:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(12283),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.SMBGMeanAnimated--thickStroke--hpFyL {\n stroke-width: 2;\n}\n\n.SMBGMeanAnimated--smbgMean--pCLq8 {\n stroke: white;\n pointer-events: all;\n}\n\n.SMBGMeanAnimated--transparent--nsQ2r {\n fill: transparent;\n}\n\n@keyframes SMBGMeanAnimated--fadein--HFf9t {\n from {\n fill-opacity: 0.0;\n }\n to {\n fill-opacity: 1.0;\n }\n}\n\n@keyframes SMBGMeanAnimated--fadeout--CxTPF {\n from {\n fill-opacity: 1.0;\n }\n to {\n fill-opacity: 0.0;\n }\n}\n\n.SMBGMeanAnimated--fadeinAnimation--YRVli {\n animation: SMBGMeanAnimated--fadein--HFf9t 0.25s forwards ease-in-out;\n}\n\n.SMBGMeanAnimated--fadeoutAnimation--uVaMB {\n animation: SMBGMeanAnimated--fadeout--CxTPF 0.25s forwards ease-in-out;\n}\n\n.SMBGMeanAnimated--veryLowFadeIn--n4bcc {\n}\n\n.SMBGMeanAnimated--veryLowFadeOut--r5r8y {\n}\n\n.SMBGMeanAnimated--lowFadeIn--hQySO {\n}\n\n.SMBGMeanAnimated--lowFadeOut--LHWzI {\n}\n\n.SMBGMeanAnimated--targetFadeIn--pkKxu {\n}\n\n.SMBGMeanAnimated--targetFadeOut--jpIBS {\n}\n\n.SMBGMeanAnimated--highFadeIn--zLVe7 {\n}\n\n.SMBGMeanAnimated--highFadeOut--uW0ar {\n}\n\n.SMBGMeanAnimated--veryHighFadeIn--PIqyX {\n}\n\n.SMBGMeanAnimated--veryHighFadeOut--GHnzD {\n}\n","",{version:3,sources:["webpack://./src/components/trends/smbg/SMBGMeanAnimated.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAMF;EACE,eAAe;AACjB;;AAEA;EACE,aAAa;EAEb,mBAAmB;AACrB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE;IACE,iBAAiB;EACnB;EACA;IACE,iBAAiB;EACnB;AACF;;AAEA;EACE;IACE,iBAAiB;EACnB;EACA;IACE,iBAAiB;EACnB;AACF;;AAEA;EACE,qEAA4C;AAC9C;;AAEA;EACE,sEAA6C;AAC/C;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n:export {\n stroke: 2;\n}\n\n.thickStroke {\n stroke-width: 2;\n}\n\n.smbgMean {\n stroke: white;\n composes: thickStroke;\n pointer-events: all;\n}\n\n.transparent {\n fill: transparent;\n}\n\n@keyframes fadein {\n from {\n fill-opacity: 0.0;\n }\n to {\n fill-opacity: 1.0;\n }\n}\n\n@keyframes fadeout {\n from {\n fill-opacity: 1.0;\n }\n to {\n fill-opacity: 0.0;\n }\n}\n\n.fadeinAnimation {\n animation: fadein 0.25s forwards ease-in-out;\n}\n\n.fadeoutAnimation {\n animation: fadeout 0.25s forwards ease-in-out;\n}\n\n.veryLowFadeIn {\n composes: bgVeryLow from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.veryLowFadeOut {\n composes: bgVeryLow from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n\n.lowFadeIn {\n composes: bgLow from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.lowFadeOut {\n composes: bgLow from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n\n.targetFadeIn {\n composes: bgTarget from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.targetFadeOut {\n composes: bgTarget from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n\n.highFadeIn {\n composes: bgHigh from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.highFadeOut {\n composes: bgHigh from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n\n.veryHighFadeIn {\n composes: bgVeryHigh from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.veryHighFadeOut {\n composes: bgVeryHigh from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n"],sourceRoot:""}]),l.locals={stroke:"2",thickStroke:"SMBGMeanAnimated--thickStroke--hpFyL",smbgMean:"SMBGMeanAnimated--smbgMean--pCLq8 SMBGMeanAnimated--thickStroke--hpFyL",transparent:"SMBGMeanAnimated--transparent--nsQ2r",fadeinAnimation:"SMBGMeanAnimated--fadeinAnimation--YRVli",fadein:"SMBGMeanAnimated--fadein--HFf9t",fadeoutAnimation:"SMBGMeanAnimated--fadeoutAnimation--uVaMB",fadeout:"SMBGMeanAnimated--fadeout--CxTPF",veryLowFadeIn:`SMBGMeanAnimated--veryLowFadeIn--n4bcc ${s.A.locals.bgVeryLow} SMBGMeanAnimated--fadeinAnimation--YRVli`,veryLowFadeOut:`SMBGMeanAnimated--veryLowFadeOut--r5r8y ${s.A.locals.bgVeryLow} SMBGMeanAnimated--fadeoutAnimation--uVaMB`,lowFadeIn:`SMBGMeanAnimated--lowFadeIn--hQySO ${s.A.locals.bgLow} SMBGMeanAnimated--fadeinAnimation--YRVli`,lowFadeOut:`SMBGMeanAnimated--lowFadeOut--LHWzI ${s.A.locals.bgLow} SMBGMeanAnimated--fadeoutAnimation--uVaMB`,targetFadeIn:`SMBGMeanAnimated--targetFadeIn--pkKxu ${s.A.locals.bgTarget} SMBGMeanAnimated--fadeinAnimation--YRVli`,targetFadeOut:`SMBGMeanAnimated--targetFadeOut--jpIBS ${s.A.locals.bgTarget} SMBGMeanAnimated--fadeoutAnimation--uVaMB`,highFadeIn:`SMBGMeanAnimated--highFadeIn--zLVe7 ${s.A.locals.bgHigh} SMBGMeanAnimated--fadeinAnimation--YRVli`,highFadeOut:`SMBGMeanAnimated--highFadeOut--uW0ar ${s.A.locals.bgHigh} SMBGMeanAnimated--fadeoutAnimation--uVaMB`,veryHighFadeIn:`SMBGMeanAnimated--veryHighFadeIn--PIqyX ${s.A.locals.bgVeryHigh} SMBGMeanAnimated--fadeinAnimation--YRVli`,veryHighFadeOut:`SMBGMeanAnimated--veryHighFadeOut--GHnzD ${s.A.locals.bgVeryHigh} SMBGMeanAnimated--fadeoutAnimation--uVaMB`};const d=l},77860:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n@keyframes SMBGRangeAnimated--fadein--tUMqx {\n from {\n fill-opacity: 0.3;\n }\n to {\n fill-opacity: 0.4;\n }\n}\n\n@keyframes SMBGRangeAnimated--fadeout--MKPc1 {\n from {\n fill-opacity: 0.4;\n }\n to {\n fill-opacity: 0.3;\n }\n}\n\n.SMBGRangeAnimated--smbgRange--dnxhO {\n fill: var(--trends--light);\n stroke: none;\n}\n\n.SMBGRangeAnimated--fadeIn--KuU3N {\n animation: SMBGRangeAnimated--fadein--tUMqx 0.25s forwards ease-in-out;\n}\n\n.SMBGRangeAnimated--fadeOut--TweZh {\n animation: SMBGRangeAnimated--fadeout--MKPc1 0.25s forwards ease-in-out;\n}\n","",{version:3,sources:["webpack://./src/components/trends/smbg/SMBGRangeAnimated.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE;IACE,iBAAiB;EACnB;EACA;IACE,iBAAiB;EACnB;AACF;;AAEA;EACE;IACE,iBAAiB;EACnB;EACA;IACE,iBAAiB;EACnB;AACF;;AAEA;EACE,0BAA0B;EAC1B,YAAY;AACd;;AAEA;EACE,sEAA4C;AAC9C;;AAEA;EACE,uEAA6C;AAC/C",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n@keyframes fadein {\n from {\n fill-opacity: 0.3;\n }\n to {\n fill-opacity: 0.4;\n }\n}\n\n@keyframes fadeout {\n from {\n fill-opacity: 0.4;\n }\n to {\n fill-opacity: 0.3;\n }\n}\n\n.smbgRange {\n fill: var(--trends--light);\n stroke: none;\n}\n\n.fadeIn {\n animation: fadein 0.25s forwards ease-in-out;\n}\n\n.fadeOut {\n animation: fadeout 0.25s forwards ease-in-out;\n}\n"],sourceRoot:""}]),i.locals={smbgRange:"SMBGRangeAnimated--smbgRange--dnxhO",fadeIn:"SMBGRangeAnimated--fadeIn--KuU3N",fadein:"SMBGRangeAnimated--fadein--tUMqx",fadeOut:"SMBGRangeAnimated--fadeOut--TweZh",fadeout:"SMBGRangeAnimated--fadeout--MKPc1"};const s=i},61872:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n:root {\n --basal: #19A0D7;\n --basal-automated: #00B2C3;\n --bolus: #7CD0F0;\n --preset: #758CFF;\n --bolus-automated: #00B2C3;\n --bolus--interrupted: #FF8B7C;\n --bolus--ride: #107EA8;\n --bolus--undelivered: #BCECFA;\n --carbs: #F8D48E;\n --collapsible--border: #EDEDED;\n --table-stripe--light: #F7F7F7;\n --table-stripe--dark: #ECECEC;\n --trends--light: #D0D0D0;\n --trends--light--faded: #F0F0F0;\n --trends--dark: #BCBCBC;\n --trends--dark--faded: #E3E3E3;\n --input--border: #75849f;\n --input--disabled: #75849f;\n --stat--border: #75849f;\n --stat--default: #727375;\n --stat-disabled: #e7e9ee;\n --stat--dark: #27385b;\n --axis-tick: #E7E7E7;\n --bkgrnd: #F8F8F8;\n --bkgrnd-lines: #E7E7E7;\n --bkgrnd-white: #FFFFFF;\n --tooltip-title-bg: #EAEAEE;\n --chrome: #989897;\n --text-medium-contrast: #727375;\n --text-high-contrast: #281946;\n --text-black: #000000;\n --bg-very-low: #FB5951;\n --bg-low: #FF8B7C;\n --bg-target: #76D3A6;\n --bg-high: #BB9AE7;\n --bg-very-high: #8c65d6;\n --text-hover: #00D3D9;\n --blue-green-light: #12D3D8;\n --gray-medium: #989897;\n --gray-dark: #4E4E4F;\n --white: #FFFFFF;\n --brand-purple: #627CFF;\n --brand-purple-dark: #281946;\n --gray10: #D9D9D9;\n --gray05: #EBEBEB;\n --blue50: #4F6A92;\n}\n","",{version:3,sources:["webpack://./src/styles/colors.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,gBAAgB;EAChB,0BAA0B;EAC1B,gBAAgB;EAChB,iBAAiB;EACjB,0BAA0B;EAC1B,6BAA6B;EAC7B,sBAAsB;EACtB,6BAA6B;EAC7B,gBAAgB;EAChB,8BAA8B;EAC9B,8BAA8B;EAC9B,6BAA6B;EAC7B,wBAAwB;EACxB,+BAA+B;EAC/B,uBAAuB;EACvB,8BAA8B;EAC9B,wBAAwB;EACxB,0BAA0B;EAC1B,uBAAuB;EACvB,wBAAwB;EACxB,wBAAwB;EACxB,qBAAqB;EACrB,oBAAoB;EACpB,iBAAiB;EACjB,uBAAuB;EACvB,uBAAuB;EACvB,2BAA2B;EAC3B,iBAAiB;EACjB,+BAA+B;EAC/B,6BAA6B;EAC7B,qBAAqB;EACrB,sBAAsB;EACtB,iBAAiB;EACjB,oBAAoB;EACpB,kBAAkB;EAClB,uBAAuB;EACvB,qBAAqB;EACrB,2BAA2B;EAC3B,sBAAsB;EACtB,oBAAoB;EACpB,gBAAgB;EAChB,uBAAuB;EACvB,4BAA4B;EAC5B,iBAAiB;EACjB,iBAAiB;EACjB,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n:root {\n --basal: #19A0D7;\n --basal-automated: #00B2C3;\n --bolus: #7CD0F0;\n --preset: #758CFF;\n --bolus-automated: #00B2C3;\n --bolus--interrupted: #FF8B7C;\n --bolus--ride: #107EA8;\n --bolus--undelivered: #BCECFA;\n --carbs: #F8D48E;\n --collapsible--border: #EDEDED;\n --table-stripe--light: #F7F7F7;\n --table-stripe--dark: #ECECEC;\n --trends--light: #D0D0D0;\n --trends--light--faded: #F0F0F0;\n --trends--dark: #BCBCBC;\n --trends--dark--faded: #E3E3E3;\n --input--border: #75849f;\n --input--disabled: #75849f;\n --stat--border: #75849f;\n --stat--default: #727375;\n --stat-disabled: #e7e9ee;\n --stat--dark: #27385b;\n --axis-tick: #E7E7E7;\n --bkgrnd: #F8F8F8;\n --bkgrnd-lines: #E7E7E7;\n --bkgrnd-white: #FFFFFF;\n --tooltip-title-bg: #EAEAEE;\n --chrome: #989897;\n --text-medium-contrast: #727375;\n --text-high-contrast: #281946;\n --text-black: #000000;\n --bg-very-low: #FB5951;\n --bg-low: #FF8B7C;\n --bg-target: #76D3A6;\n --bg-high: #BB9AE7;\n --bg-very-high: #8c65d6;\n --text-hover: #00D3D9;\n --blue-green-light: #12D3D8;\n --gray-medium: #989897;\n --gray-dark: #4E4E4F;\n --white: #FFFFFF;\n --brand-purple: #627CFF;\n --brand-purple-dark: #281946;\n --gray10: #D9D9D9;\n --gray05: #EBEBEB;\n --blue50: #4F6A92;\n}\n\n:export {\n bolus: #7CD0F0;\n bolusAutomated: #00B2C3;\n basal: #19A0D7;\n basalAutomated: #00B2C3;\n sleep: #4457D9;\n preset: #758CFF;\n physicalActivity: #758CFF;\n preprandial: #4457D9;\n statDark: #27385b;\n statDefault: #727375;\n statDisabled: #e7e9ee;\n veryLow: #fb5951;\n low: #FF8B7C;\n target: #76D3A6;\n high: #BB9AE7;\n veryHigh: #8c65d6;\n insulin: #0096d1;\n white: #ffffff;\n axis: #e7e9ee;\n muted: #c1c9d6;\n}\n"],sourceRoot:""}]),i.locals={bolus:"#7CD0F0",bolusAutomated:"#00B2C3",basal:"#19A0D7",basalAutomated:"#00B2C3",sleep:"#4457D9",preset:"#758CFF",physicalActivity:"#758CFF",preprandial:"#4457D9",statDark:"#27385b",statDefault:"#727375",statDisabled:"#e7e9ee",veryLow:"#fb5951",low:"#FF8B7C",target:"#76D3A6",high:"#BB9AE7",veryHigh:"#8c65d6",insulin:"#0096d1",white:"#ffffff",axis:"#e7e9ee",muted:"#c1c9d6"};const s=i},12283:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n:root {\n --bolus-stroke: 1;\n}\n\n.diabetes--basalScheduledFill--AeDir {\n fill: var(--basal);\n fill-opacity: 0.4;\n}\n\n.diabetes--basalAutomatedFill--dEelQ {\n fill: var(--basal-automated);\n fill-opacity: 0.4;\n}\n\n.diabetes--basalTempFill--_ZOLa {\n fill: var(--basal);\n fill-opacity: 0.2;\n}\n\n.diabetes--basalScheduledPath--Sdgh5 {\n stroke: var(--basal);\n}\n\n.diabetes--basalAutomatedPath--zSX75 {\n stroke: var(--basal-automated);\n}\n\n.diabetes--basalUndeliveredPath--ee42F {\n stroke-dasharray: 1.5,3;\n}\n\n.diabetes--bgVeryLow--KdUfS {\n color: var(--bg-very-low);\n fill: var(--bg-very-low);\n}\n\n.diabetes--bgLow--taAIv {\n color: var(--bg-low);\n fill: var(--bg-low);\n}\n\n.diabetes--bgTarget--bXo1p {\n color: var(--bg-target);\n fill: var(--bg-target);\n}\n\n.diabetes--bgHigh--BIIU5 {\n color: var(--bg-high);\n fill: var(--bg-high);\n}\n\n.diabetes--bgVeryHigh--_zmQ3 {\n color: var(--bg-very-high);\n fill: var(--bg-very-high);\n}\n\n.diabetes--bolusDelivered--zf59g {\n color: var(--bolus);\n fill: var(--bolus);\n}\n\n.diabetes--bolusInterrupted--lm5EM {\n color: var(--bolus--interrupted);\n fill: var(--bolus--interrupted);\n}\n\n.diabetes--bolusProgrammed--eNkmM {\n fill: none;\n stroke: var(--bolus);\n stroke-dasharray: 3, 2;\n stroke-width: 1;\n stroke-width: var(--bolus-stroke);\n}\n\n.diabetes--bolusRideTriangle--F3D5T {\n fill: var(--bolus--ride);\n}\n\n.diabetes--bolusUndelivered--wDu63 {\n color: var(--bolus--undelivered);\n fill: var(--bolus--undelivered);\n}\n\n.diabetes--bolusUnderride--nulSA {\n color: var(--bolus--undelivered);\n fill: var(--bolus--undelivered);\n}\n\n.diabetes--carbs--YwpFo {\n color: var(--carbs);\n fill: var(--carbs);\n}\n","",{version:3,sources:["webpack://./src/styles/diabetes.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,iBAAiB;AACnB;;AAEA;EACE,kBAAkB;EAClB,iBAAiB;AACnB;;AAEA;EACE,4BAA4B;EAC5B,iBAAiB;AACnB;;AAEA;EACE,kBAAkB;EAClB,iBAAiB;AACnB;;AAEA;EACE,oBAAoB;AACtB;;AAEA;EACE,8BAA8B;AAChC;;AAEA;EAEE,uBAAuB;AACzB;;AAEA;EACE,yBAAyB;EACzB,wBAAwB;AAC1B;;AAEA;EACE,oBAAoB;EACpB,mBAAmB;AACrB;;AAEA;EACE,uBAAuB;EACvB,sBAAsB;AACxB;;AAEA;EACE,qBAAqB;EACrB,oBAAoB;AACtB;;AAEA;EACE,0BAA0B;EAC1B,yBAAyB;AAC3B;;AAEA;EACE,mBAAmB;EACnB,kBAAkB;AACpB;;AAEA;EACE,gCAAgC;EAChC,+BAA+B;AACjC;;AAEA;EACE,UAAU;EACV,oBAAoB;EACpB,sBAAsB;EACtB,eAAiC;EAAjC,iCAAiC;AACnC;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,gCAAgC;EAChC,+BAA+B;AACjC;;AAEA;EACE,gCAAgC;EAChC,+BAA+B;AACjC;;AAEA;EACE,mBAAmB;EACnB,kBAAkB;AACpB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n:root {\n --bolus-stroke: 1;\n}\n\n.basalScheduledFill {\n fill: var(--basal);\n fill-opacity: 0.4;\n}\n\n.basalAutomatedFill {\n fill: var(--basal-automated);\n fill-opacity: 0.4;\n}\n\n.basalTempFill {\n fill: var(--basal);\n fill-opacity: 0.2;\n}\n\n.basalScheduledPath {\n stroke: var(--basal);\n}\n\n.basalAutomatedPath {\n stroke: var(--basal-automated);\n}\n\n.basalUndeliveredPath {\n composes: basalScheduledPath;\n stroke-dasharray: 1.5,3;\n}\n\n.bgVeryLow {\n color: var(--bg-very-low);\n fill: var(--bg-very-low);\n}\n\n.bgLow {\n color: var(--bg-low);\n fill: var(--bg-low);\n}\n\n.bgTarget {\n color: var(--bg-target);\n fill: var(--bg-target);\n}\n\n.bgHigh {\n color: var(--bg-high);\n fill: var(--bg-high);\n}\n\n.bgVeryHigh {\n color: var(--bg-very-high);\n fill: var(--bg-very-high);\n}\n\n.bolusDelivered {\n color: var(--bolus);\n fill: var(--bolus);\n}\n\n.bolusInterrupted {\n color: var(--bolus--interrupted);\n fill: var(--bolus--interrupted);\n}\n\n.bolusProgrammed {\n fill: none;\n stroke: var(--bolus);\n stroke-dasharray: 3, 2;\n stroke-width: var(--bolus-stroke);\n}\n\n.bolusRideTriangle {\n fill: var(--bolus--ride);\n}\n\n.bolusUndelivered {\n color: var(--bolus--undelivered);\n fill: var(--bolus--undelivered);\n}\n\n.bolusUnderride {\n color: var(--bolus--undelivered);\n fill: var(--bolus--undelivered);\n}\n\n.carbs {\n color: var(--carbs);\n fill: var(--carbs);\n}\n"],sourceRoot:""}]),i.locals={basalScheduledFill:"diabetes--basalScheduledFill--AeDir",basalAutomatedFill:"diabetes--basalAutomatedFill--dEelQ",basalTempFill:"diabetes--basalTempFill--_ZOLa",basalScheduledPath:"diabetes--basalScheduledPath--Sdgh5",basalAutomatedPath:"diabetes--basalAutomatedPath--zSX75",basalUndeliveredPath:"diabetes--basalUndeliveredPath--ee42F diabetes--basalScheduledPath--Sdgh5",bgVeryLow:"diabetes--bgVeryLow--KdUfS",bgLow:"diabetes--bgLow--taAIv",bgTarget:"diabetes--bgTarget--bXo1p",bgHigh:"diabetes--bgHigh--BIIU5",bgVeryHigh:"diabetes--bgVeryHigh--_zmQ3",bolusDelivered:"diabetes--bolusDelivered--zf59g",bolusInterrupted:"diabetes--bolusInterrupted--lm5EM",bolusProgrammed:"diabetes--bolusProgrammed--eNkmM",bolusRideTriangle:"diabetes--bolusRideTriangle--F3D5T",bolusUndelivered:"diabetes--bolusUndelivered--wDu63",bolusUnderride:"diabetes--bolusUnderride--nulSA",carbs:"diabetes--carbs--YwpFo"};const s=i},6098:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.layout--absolute--HC5oS {\n pointer-events: none;\n position: absolute;\n}\n\n.layout--smallHorizontalPadding--qn4A7 {\n padding: 0px 6px;\n}","",{version:3,sources:["webpack://./src/styles/layout.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,oBAAoB;EACpB,kBAAkB;AACpB;;AAEA;EACE,gBAAgB;AAClB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.absolute {\n pointer-events: none;\n position: absolute;\n}\n\n.smallHorizontalPadding {\n padding: 0px 6px;\n}"],sourceRoot:""}]),i.locals={absolute:"layout--absolute--HC5oS",smallHorizontalPadding:"layout--smallHorizontalPadding--qn4A7"};const s=i},20487:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.typography--whiteText--UWQvU {\n color: white;\n fill: white;\n}\n\n.typography--boldText--WQ4ng {\n font-weight: bold;\n}\n\n.typography--lightText--wiuvb {\n font-weight: 300;\n}\n\n.typography--smallSize--L9OYM {\n font-size: 12px;\n}\n\n.typography--axisSize--r65nL {\n font-size: 14px;\n}\n\n.typography--defaultSize--cm0mU {\n font-size: 14px;\n}\n\n.typography--largeSize--qZsM0 {\n font-size: 16px;\n}\n\n.typography--extraLargeSize--Hn0bJ {\n font-size: 24px;\n}\n\n.typography--mediumContrastText--P2Hc4 {\n color: var(--text-medium-contrast);\n fill: var(--text-medium-contrast);\n}\n\n.typography--highContrastText--RqzA3 {\n color: var(--text-high-contrast);\n fill: var(--text-high-contrast);\n}\n\n.typography--noWrap--SAkvI {\n white-space: nowrap;\n}\n\n.typography--svgMiddleAnchored--gZHNX {\n text-anchor: middle;\n}\n\n.typography--svgRightAnchored--qqiLN {\n text-anchor: end;\n}\n\n.typography--svgStartAnchored--lCDnf {\n text-anchor: start;\n}\n\n.typography--svgVerticalCentered--HT9GL {\n dominant-baseline: central;\n}\n","",{version:3,sources:["webpack://./src/styles/typography.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,YAAY;EACZ,WAAW;AACb;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,kCAAkC;EAClC,iCAAiC;AACnC;;AAEA;EACE,gCAAgC;EAChC,+BAA+B;AACjC;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,0BAA0B;AAC5B",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.whiteText {\n color: white;\n fill: white;\n}\n\n.boldText {\n font-weight: bold;\n}\n\n.lightText {\n font-weight: 300;\n}\n\n.smallSize {\n font-size: 12px;\n}\n\n.axisSize {\n font-size: 14px;\n}\n\n.defaultSize {\n font-size: 14px;\n}\n\n.largeSize {\n font-size: 16px;\n}\n\n.extraLargeSize {\n font-size: 24px;\n}\n\n.mediumContrastText {\n color: var(--text-medium-contrast);\n fill: var(--text-medium-contrast);\n}\n\n.highContrastText {\n color: var(--text-high-contrast);\n fill: var(--text-high-contrast);\n}\n\n.noWrap {\n white-space: nowrap;\n}\n\n.svgMiddleAnchored {\n text-anchor: middle;\n}\n\n.svgRightAnchored {\n text-anchor: end;\n}\n\n.svgStartAnchored {\n text-anchor: start;\n}\n\n.svgVerticalCentered {\n dominant-baseline: central;\n}\n"],sourceRoot:""}]),i.locals={whiteText:"typography--whiteText--UWQvU",boldText:"typography--boldText--WQ4ng",lightText:"typography--lightText--wiuvb",smallSize:"typography--smallSize--L9OYM",axisSize:"typography--axisSize--r65nL",defaultSize:"typography--defaultSize--cm0mU",largeSize:"typography--largeSize--qZsM0",extraLargeSize:"typography--extraLargeSize--Hn0bJ",mediumContrastText:"typography--mediumContrastText--P2Hc4",highContrastText:"typography--highContrastText--RqzA3",noWrap:"typography--noWrap--SAkvI",svgMiddleAnchored:"typography--svgMiddleAnchored--gZHNX",svgRightAnchored:"typography--svgRightAnchored--qqiLN",svgStartAnchored:"typography--svgStartAnchored--lCDnf",svgVerticalCentered:"typography--svgVerticalCentered--HT9GL"};const s=i},76314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",a=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),a&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),a&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,a,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(a)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(i[l]=!0)}for(var d=0;d<e.length;d++){var u=[].concat(e[d]);a&&i[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},71354:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var a=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),o="/*# ".concat(r," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},22510:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},55580:(e,t,n)=>{var a=n(56110)(n(9325),"DataView");e.exports=a},21549:(e,t,n)=>{var a=n(22032),r=n(63862),o=n(66721),i=n(12749),s=n(35749);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}l.prototype.clear=a,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,e.exports=l},80079:(e,t,n)=>{var a=n(63702),r=n(70080),o=n(24739),i=n(48655),s=n(31175);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}l.prototype.clear=a,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,e.exports=l},68223:(e,t,n)=>{var a=n(56110)(n(9325),"Map");e.exports=a},53661:(e,t,n)=>{var a=n(63040),r=n(17670),o=n(90289),i=n(4509),s=n(72949);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}l.prototype.clear=a,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,e.exports=l},32804:(e,t,n)=>{var a=n(56110)(n(9325),"Promise");e.exports=a},76545:(e,t,n)=>{var a=n(56110)(n(9325),"Set");e.exports=a},38859:(e,t,n)=>{var a=n(53661),r=n(31380),o=n(51459);function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new a;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=r,i.prototype.has=o,e.exports=i},37217:(e,t,n)=>{var a=n(80079),r=n(51420),o=n(90938),i=n(63605),s=n(29817),l=n(80945);function d(e){var t=this.__data__=new a(e);this.size=t.size}d.prototype.clear=r,d.prototype.delete=o,d.prototype.get=i,d.prototype.has=s,d.prototype.set=l,e.exports=d},51873:(e,t,n)=>{var a=n(9325).Symbol;e.exports=a},37828:(e,t,n)=>{var a=n(9325).Uint8Array;e.exports=a},28303:(e,t,n)=>{var a=n(56110)(n(9325),"WeakMap");e.exports=a},91033:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},63945:e=>{e.exports=function(e,t,n,a){for(var r=-1,o=null==e?0:e.length;++r<o;){var i=e[r];t(a,i,n(i),e)}return a}},79770:e=>{e.exports=function(e,t){for(var n=-1,a=null==e?0:e.length,r=0,o=[];++n<a;){var i=e[n];t(i,n,e)&&(o[r++]=i)}return o}},15325:(e,t,n)=>{var a=n(96131);e.exports=function(e,t){return!(null==e||!e.length)&&a(e,t,0)>-1}},29905:e=>{e.exports=function(e,t,n){for(var a=-1,r=null==e?0:e.length;++a<r;)if(n(t,e[a]))return!0;return!1}},70695:(e,t,n)=>{var a=n(78096),r=n(72428),o=n(56449),i=n(3656),s=n(30361),l=n(37167),d=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),u=!n&&r(e),c=!n&&!u&&i(e),f=!n&&!u&&!c&&l(e),A=n||u||c||f,p=A?a(e.length,String):[],g=p.length;for(var m in e)!t&&!d.call(e,m)||A&&("length"==m||c&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g))||p.push(m);return p}},34932:e=>{e.exports=function(e,t){for(var n=-1,a=null==e?0:e.length,r=Array(a);++n<a;)r[n]=t(e[n],n,e);return r}},14528:e=>{e.exports=function(e,t){for(var n=-1,a=t.length,r=e.length;++n<a;)e[r+n]=t[n];return e}},14248:e=>{e.exports=function(e,t){for(var n=-1,a=null==e?0:e.length;++n<a;)if(t(e[n],n,e))return!0;return!1}},16547:(e,t,n)=>{var a=n(43360),r=n(75288),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var i=e[t];o.call(e,t)&&r(i,n)&&(void 0!==n||t in e)||a(e,t,n)}},26025:(e,t,n)=>{var a=n(75288);e.exports=function(e,t){for(var n=e.length;n--;)if(a(e[n][0],t))return n;return-1}},62429:(e,t,n)=>{var a=n(80909);e.exports=function(e,t,n,r){return a(e,(function(e,a,o){t(r,e,n(e),o)})),r}},43360:(e,t,n)=>{var a=n(93243);e.exports=function(e,t,n){"__proto__"==t&&a?a(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},80909:(e,t,n)=>{var a=n(30641),r=n(38329)(a);e.exports=r},2523:e=>{e.exports=function(e,t,n,a){for(var r=e.length,o=n+(a?1:-1);a?o--:++o<r;)if(t(e[o],o,e))return o;return-1}},83120:(e,t,n)=>{var a=n(14528),r=n(45891);e.exports=function e(t,n,o,i,s){var l=-1,d=t.length;for(o||(o=r),s||(s=[]);++l<d;){var u=t[l];n>0&&o(u)?n>1?e(u,n-1,o,i,s):a(s,u):i||(s[s.length]=u)}return s}},86649:(e,t,n)=>{var a=n(83221)();e.exports=a},30641:(e,t,n)=>{var a=n(86649),r=n(95950);e.exports=function(e,t){return e&&a(e,t,r)}},47422:(e,t,n)=>{var a=n(31769),r=n(77797);e.exports=function(e,t){for(var n=0,o=(t=a(t,e)).length;null!=e&&n<o;)e=e[r(t[n++])];return n&&n==o?e:void 0}},82199:(e,t,n)=>{var a=n(14528),r=n(56449);e.exports=function(e,t,n){var o=t(e);return r(e)?o:a(o,n(e))}},72552:(e,t,n)=>{var a=n(51873),r=n(659),o=n(59350),i=a?a.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?r(e):o(e)}},28077:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},96131:(e,t,n)=>{var a=n(2523),r=n(85463),o=n(76959);e.exports=function(e,t,n){return t==t?o(e,t,n):a(e,r,n)}},27534:(e,t,n)=>{var a=n(72552),r=n(40346);e.exports=function(e){return r(e)&&"[object Arguments]"==a(e)}},14688:(e,t,n)=>{var a=n(72552),r=n(40346);e.exports=function(e){return r(e)&&"[object Date]"==a(e)}},60270:(e,t,n)=>{var a=n(87068),r=n(40346);e.exports=function e(t,n,o,i,s){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:a(t,n,o,i,e,s))}},87068:(e,t,n)=>{var a=n(37217),r=n(25911),o=n(21986),i=n(50689),s=n(5861),l=n(56449),d=n(3656),u=n(37167),c="[object Arguments]",f="[object Array]",A="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,m,h){var b=l(e),y=l(t),v=b?f:s(e),E=y?f:s(t),C=(v=v==c?A:v)==A,B=(E=E==c?A:E)==A,T=v==E;if(T&&d(e)){if(!d(t))return!1;b=!0,C=!1}if(T&&!C)return h||(h=new a),b||u(e)?r(e,t,n,g,m,h):o(e,t,v,n,g,m,h);if(!(1&n)){var S=C&&p.call(e,"__wrapped__"),x=B&&p.call(t,"__wrapped__");if(S||x){var w=S?e.value():e,I=x?t.value():t;return h||(h=new a),m(w,I,n,g,h)}}return!!T&&(h||(h=new a),i(e,t,n,g,m,h))}},41799:(e,t,n)=>{var a=n(37217),r=n(60270);e.exports=function(e,t,n,o){var i=n.length,s=i,l=!o;if(null==e)return!s;for(e=Object(e);i--;){var d=n[i];if(l&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++i<s;){var u=(d=n[i])[0],c=e[u],f=d[1];if(l&&d[2]){if(void 0===c&&!(u in e))return!1}else{var A=new a;if(o)var p=o(c,f,u,e,t,A);if(!(void 0===p?r(f,c,3,o,A):p))return!1}}return!0}},85463:e=>{e.exports=function(e){return e!=e}},45083:(e,t,n)=>{var a=n(1882),r=n(87296),o=n(23805),i=n(47473),s=/^\[object .+?Constructor\]$/,l=Function.prototype,d=Object.prototype,u=l.toString,c=d.hasOwnProperty,f=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||r(e))&&(a(e)?f:s).test(i(e))}},4901:(e,t,n)=>{var a=n(72552),r=n(30294),o=n(40346),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&r(e.length)&&!!i[a(e)]}},15389:(e,t,n)=>{var a=n(93663),r=n(87978),o=n(83488),i=n(56449),s=n(50583);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?i(e)?r(e[0],e[1]):a(e):s(e)}},88984:(e,t,n)=>{var a=n(55527),r=n(3650),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!a(e))return r(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},72903:(e,t,n)=>{var a=n(23805),r=n(55527),o=n(90181),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!a(e))return o(e);var t=r(e),n=[];for(var s in e)("constructor"!=s||!t&&i.call(e,s))&&n.push(s);return n}},5128:(e,t,n)=>{var a=n(80909),r=n(64894);e.exports=function(e,t){var n=-1,o=r(e)?Array(e.length):[];return a(e,(function(e,a,r){o[++n]=t(e,a,r)})),o}},93663:(e,t,n)=>{var a=n(41799),r=n(10776),o=n(67197);e.exports=function(e){var t=r(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||a(n,e,t)}}},87978:(e,t,n)=>{var a=n(60270),r=n(58156),o=n(80631),i=n(28586),s=n(30756),l=n(67197),d=n(77797);e.exports=function(e,t){return i(e)&&s(t)?l(d(e),t):function(n){var i=r(n,e);return void 0===i&&i===t?o(n,e):a(t,i,3)}}},46155:(e,t,n)=>{var a=n(34932),r=n(47422),o=n(15389),i=n(5128),s=n(73937),l=n(27301),d=n(43714),u=n(83488),c=n(56449);e.exports=function(e,t,n){t=t.length?a(t,(function(e){return c(e)?function(t){return r(t,1===e.length?e[0]:e)}:e})):[u];var f=-1;t=a(t,l(o));var A=i(e,(function(e,n,r){return{criteria:a(t,(function(t){return t(e)})),index:++f,value:e}}));return s(A,(function(e,t){return d(e,t,n)}))}},76001:(e,t,n)=>{var a=n(97420),r=n(80631);e.exports=function(e,t){return a(e,t,(function(t,n){return r(e,n)}))}},97420:(e,t,n)=>{var a=n(47422),r=n(73170),o=n(31769);e.exports=function(e,t,n){for(var i=-1,s=t.length,l={};++i<s;){var d=t[i],u=a(e,d);n(u,d)&&r(l,o(d,e),u)}return l}},47237:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},17255:(e,t,n)=>{var a=n(47422);e.exports=function(e){return function(t){return a(t,e)}}},69302:(e,t,n)=>{var a=n(83488),r=n(56757),o=n(32865);e.exports=function(e,t){return o(r(e,t,a),e+"")}},73170:(e,t,n)=>{var a=n(16547),r=n(31769),o=n(30361),i=n(23805),s=n(77797);e.exports=function(e,t,n,l){if(!i(e))return e;for(var d=-1,u=(t=r(t,e)).length,c=u-1,f=e;null!=f&&++d<u;){var A=s(t[d]),p=n;if("__proto__"===A||"constructor"===A||"prototype"===A)return e;if(d!=c){var g=f[A];void 0===(p=l?l(g,A,f):void 0)&&(p=i(g)?g:o(t[d+1])?[]:{})}a(f,A,p),f=f[A]}return e}},19570:(e,t,n)=>{var a=n(37334),r=n(93243),o=n(83488),i=r?function(e,t){return r(e,"toString",{configurable:!0,enumerable:!1,value:a(t),writable:!0})}:o;e.exports=i},73937:e=>{e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},18024:(e,t,n)=>{var a=n(75288);e.exports=function(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var s=e[n],l=t?t(s):s;if(!n||!a(l,d)){var d=l;i[o++]=0===s?0:s}}return i}},78096:e=>{e.exports=function(e,t){for(var n=-1,a=Array(e);++n<e;)a[n]=t(n);return a}},77556:(e,t,n)=>{var a=n(51873),r=n(34932),o=n(56449),i=n(44394),s=a?a.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return r(t,e)+"";if(i(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},27301:e=>{e.exports=function(e){return function(t){return e(t)}}},55765:(e,t,n)=>{var a=n(38859),r=n(15325),o=n(29905),i=n(19219),s=n(44517),l=n(84247);e.exports=function(e,t,n){var d=-1,u=r,c=e.length,f=!0,A=[],p=A;if(n)f=!1,u=o;else if(c>=200){var g=t?null:s(e);if(g)return l(g);f=!1,u=i,p=new a}else p=t?[]:A;e:for(;++d<c;){var m=e[d],h=t?t(m):m;if(m=n||0!==m?m:0,f&&h==h){for(var b=p.length;b--;)if(p[b]===h)continue e;t&&p.push(h),A.push(m)}else u(p,h,n)||(p!==A&&p.push(h),A.push(m))}return A}},19219:e=>{e.exports=function(e,t){return e.has(t)}},31769:(e,t,n)=>{var a=n(56449),r=n(28586),o=n(61802),i=n(13222);e.exports=function(e,t){return a(e)?e:r(e,t)?[e]:o(i(e))}},53730:(e,t,n)=>{var a=n(44394);e.exports=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,i=a(e),s=void 0!==t,l=null===t,d=t==t,u=a(t);if(!l&&!u&&!i&&e>t||i&&s&&d&&!l&&!u||r&&s&&d||!n&&d||!o)return 1;if(!r&&!i&&!u&&e<t||u&&n&&o&&!r&&!i||l&&n&&o||!s&&o||!d)return-1}return 0}},43714:(e,t,n)=>{var a=n(53730);e.exports=function(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,s=o.length,l=n.length;++r<s;){var d=a(o[r],i[r]);if(d)return r>=l?d:d*("desc"==n[r]?-1:1)}return e.index-t.index}},55481:(e,t,n)=>{var a=n(9325)["__core-js_shared__"];e.exports=a},42e3:(e,t,n)=>{var a=n(63945),r=n(62429),o=n(15389),i=n(56449);e.exports=function(e,t){return function(n,s){var l=i(n)?a:r,d=t?t():{};return l(n,e,o(s,2),d)}}},38329:(e,t,n)=>{var a=n(64894);e.exports=function(e,t){return function(n,r){if(null==n)return n;if(!a(n))return e(n,r);for(var o=n.length,i=t?o:-1,s=Object(n);(t?i--:++i<o)&&!1!==r(s[i],i,s););return n}}},83221:e=>{e.exports=function(e){return function(t,n,a){for(var r=-1,o=Object(t),i=a(t),s=i.length;s--;){var l=i[e?s:++r];if(!1===n(o[l],l,o))break}return t}}},44517:(e,t,n)=>{var a=n(76545),r=n(63950),o=n(84247),i=a&&1/o(new a([,-0]))[1]==1/0?function(e){return new a(e)}:r;e.exports=i},93243:(e,t,n)=>{var a=n(56110),r=function(){try{var e=a(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},25911:(e,t,n)=>{var a=n(38859),r=n(14248),o=n(19219);e.exports=function(e,t,n,i,s,l){var d=1&n,u=e.length,c=t.length;if(u!=c&&!(d&&c>u))return!1;var f=l.get(e),A=l.get(t);if(f&&A)return f==t&&A==e;var p=-1,g=!0,m=2&n?new a:void 0;for(l.set(e,t),l.set(t,e);++p<u;){var h=e[p],b=t[p];if(i)var y=d?i(b,h,p,t,e,l):i(h,b,p,e,t,l);if(void 0!==y){if(y)continue;g=!1;break}if(m){if(!r(t,(function(e,t){if(!o(m,t)&&(h===e||s(h,e,n,i,l)))return m.push(t)}))){g=!1;break}}else if(h!==b&&!s(h,b,n,i,l)){g=!1;break}}return l.delete(e),l.delete(t),g}},21986:(e,t,n)=>{var a=n(51873),r=n(37828),o=n(75288),i=n(25911),s=n(20317),l=n(84247),d=a?a.prototype:void 0,u=d?d.valueOf:void 0;e.exports=function(e,t,n,a,d,c,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!c(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var A=s;case"[object Set]":var p=1&a;if(A||(A=l),e.size!=t.size&&!p)return!1;var g=f.get(e);if(g)return g==t;a|=2,f.set(e,t);var m=i(A(e),A(t),a,d,c,f);return f.delete(e),m;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},50689:(e,t,n)=>{var a=n(50002),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,i,s){var l=1&n,d=a(e),u=d.length;if(u!=a(t).length&&!l)return!1;for(var c=u;c--;){var f=d[c];if(!(l?f in t:r.call(t,f)))return!1}var A=s.get(e),p=s.get(t);if(A&&p)return A==t&&p==e;var g=!0;s.set(e,t),s.set(t,e);for(var m=l;++c<u;){var h=e[f=d[c]],b=t[f];if(o)var y=l?o(b,h,f,t,e,s):o(h,b,f,e,t,s);if(!(void 0===y?h===b||i(h,b,n,o,s):y)){g=!1;break}m||(m="constructor"==f)}if(g&&!m){var v=e.constructor,E=t.constructor;v==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof E&&E instanceof E||(g=!1)}return s.delete(e),s.delete(t),g}},38816:(e,t,n)=>{var a=n(35970),r=n(56757),o=n(32865);e.exports=function(e){return o(r(e,void 0,a),e+"")}},34840:(e,t,n)=>{var a="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=a},50002:(e,t,n)=>{var a=n(82199),r=n(4664),o=n(95950);e.exports=function(e){return a(e,o,r)}},83349:(e,t,n)=>{var a=n(82199),r=n(86375),o=n(37241);e.exports=function(e){return a(e,o,r)}},12651:(e,t,n)=>{var a=n(74218);e.exports=function(e,t){var n=e.__data__;return a(t)?n["string"==typeof t?"string":"hash"]:n.map}},10776:(e,t,n)=>{var a=n(30756),r=n(95950);e.exports=function(e){for(var t=r(e),n=t.length;n--;){var o=t[n],i=e[o];t[n]=[o,i,a(i)]}return t}},56110:(e,t,n)=>{var a=n(45083),r=n(10392);e.exports=function(e,t){var n=r(e,t);return a(n)?n:void 0}},28879:(e,t,n)=>{var a=n(74335)(Object.getPrototypeOf,Object);e.exports=a},659:(e,t,n)=>{var a=n(51873),r=Object.prototype,o=r.hasOwnProperty,i=r.toString,s=a?a.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var a=!0}catch(e){}var r=i.call(e);return a&&(t?e[s]=n:delete e[s]),r}},4664:(e,t,n)=>{var a=n(79770),r=n(63345),o=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(e){return null==e?[]:(e=Object(e),a(i(e),(function(t){return o.call(e,t)})))}:r;e.exports=s},86375:(e,t,n)=>{var a=n(14528),r=n(28879),o=n(4664),i=n(63345),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)a(t,o(e)),e=r(e);return t}:i;e.exports=s},5861:(e,t,n)=>{var a=n(55580),r=n(68223),o=n(32804),i=n(76545),s=n(28303),l=n(72552),d=n(47473),u="[object Map]",c="[object Promise]",f="[object Set]",A="[object WeakMap]",p="[object DataView]",g=d(a),m=d(r),h=d(o),b=d(i),y=d(s),v=l;(a&&v(new a(new ArrayBuffer(1)))!=p||r&&v(new r)!=u||o&&v(o.resolve())!=c||i&&v(new i)!=f||s&&v(new s)!=A)&&(v=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,a=n?d(n):"";if(a)switch(a){case g:return p;case m:return u;case h:return c;case b:return f;case y:return A}return t}),e.exports=v},10392:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},49326:(e,t,n)=>{var a=n(31769),r=n(72428),o=n(56449),i=n(30361),s=n(30294),l=n(77797);e.exports=function(e,t,n){for(var d=-1,u=(t=a(t,e)).length,c=!1;++d<u;){var f=l(t[d]);if(!(c=null!=e&&n(e,f)))break;e=e[f]}return c||++d!=u?c:!!(u=null==e?0:e.length)&&s(u)&&i(f,u)&&(o(e)||r(e))}},22032:(e,t,n)=>{var a=n(81042);e.exports=function(){this.__data__=a?a(null):{},this.size=0}},63862:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},66721:(e,t,n)=>{var a=n(81042),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(a){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},12749:(e,t,n)=>{var a=n(81042),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return a?void 0!==t[e]:r.call(t,e)}},35749:(e,t,n)=>{var a=n(81042);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=a&&void 0===t?"__lodash_hash_undefined__":t,this}},45891:(e,t,n)=>{var a=n(51873),r=n(72428),o=n(56449),i=a?a.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||r(e)||!!(i&&e&&e[i])}},30361:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var a=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==a||"symbol"!=a&&t.test(e))&&e>-1&&e%1==0&&e<n}},36800:(e,t,n)=>{var a=n(75288),r=n(64894),o=n(30361),i=n(23805);e.exports=function(e,t,n){if(!i(n))return!1;var s=typeof t;return!!("number"==s?r(n)&&o(t,n.length):"string"==s&&t in n)&&a(n[t],e)}},28586:(e,t,n)=>{var a=n(56449),r=n(44394),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(a(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!r(e))||i.test(e)||!o.test(e)||null!=t&&e in Object(t)}},74218:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},87296:(e,t,n)=>{var a,r=n(55481),o=(a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"";e.exports=function(e){return!!o&&o in e}},55527:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},30756:(e,t,n)=>{var a=n(23805);e.exports=function(e){return e==e&&!a(e)}},63702:e=>{e.exports=function(){this.__data__=[],this.size=0}},70080:(e,t,n)=>{var a=n(26025),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=a(t,e);return!(n<0||(n==t.length-1?t.pop():r.call(t,n,1),--this.size,0))}},24739:(e,t,n)=>{var a=n(26025);e.exports=function(e){var t=this.__data__,n=a(t,e);return n<0?void 0:t[n][1]}},48655:(e,t,n)=>{var a=n(26025);e.exports=function(e){return a(this.__data__,e)>-1}},31175:(e,t,n)=>{var a=n(26025);e.exports=function(e,t){var n=this.__data__,r=a(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},63040:(e,t,n)=>{var a=n(21549),r=n(80079),o=n(68223);e.exports=function(){this.size=0,this.__data__={hash:new a,map:new(o||r),string:new a}}},17670:(e,t,n)=>{var a=n(12651);e.exports=function(e){var t=a(this,e).delete(e);return this.size-=t?1:0,t}},90289:(e,t,n)=>{var a=n(12651);e.exports=function(e){return a(this,e).get(e)}},4509:(e,t,n)=>{var a=n(12651);e.exports=function(e){return a(this,e).has(e)}},72949:(e,t,n)=>{var a=n(12651);e.exports=function(e,t){var n=a(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},20317:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,a){n[++t]=[a,e]})),n}},67197:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},62224:(e,t,n)=>{var a=n(50104);e.exports=function(e){var t=a(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},81042:(e,t,n)=>{var a=n(56110)(Object,"create");e.exports=a},3650:(e,t,n)=>{var a=n(74335)(Object.keys,Object);e.exports=a},90181:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},86009:(e,t,n)=>{e=n.nmd(e);var a=n(34840),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,i=o&&o.exports===r&&a.process,s=function(){try{return o&&o.require&&o.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=s},59350:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},74335:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},56757:(e,t,n)=>{var a=n(91033),r=Math.max;e.exports=function(e,t,n){return t=r(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,s=r(o.length-t,0),l=Array(s);++i<s;)l[i]=o[t+i];i=-1;for(var d=Array(t+1);++i<t;)d[i]=o[i];return d[t]=n(l),a(e,this,d)}}},9325:(e,t,n)=>{var a=n(34840),r="object"==typeof self&&self&&self.Object===Object&&self,o=a||r||Function("return this")();e.exports=o},31380:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},51459:e=>{e.exports=function(e){return this.__data__.has(e)}},84247:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},32865:(e,t,n)=>{var a=n(19570),r=n(51811)(a);e.exports=r},51811:e=>{var t=Date.now;e.exports=function(e){var n=0,a=0;return function(){var r=t(),o=16-(r-a);if(a=r,o>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},51420:(e,t,n)=>{var a=n(80079);e.exports=function(){this.__data__=new a,this.size=0}},90938:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},63605:e=>{e.exports=function(e){return this.__data__.get(e)}},29817:e=>{e.exports=function(e){return this.__data__.has(e)}},80945:(e,t,n)=>{var a=n(80079),r=n(68223),o=n(53661);e.exports=function(e,t){var n=this.__data__;if(n instanceof a){var i=n.__data__;if(!r||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(i)}return n.set(e,t),this.size=n.size,this}},76959:e=>{e.exports=function(e,t,n){for(var a=n-1,r=e.length;++a<r;)if(e[a]===t)return a;return-1}},61802:(e,t,n)=>{var a=n(62224),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=a((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(r,(function(e,n,a,r){t.push(a?r.replace(o,"$1"):n||e)})),t}));e.exports=i},77797:(e,t,n)=>{var a=n(44394);e.exports=function(e){if("string"==typeof e||a(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},47473:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},37334:e=>{e.exports=function(e){return function(){return e}}},84684:(e,t,n)=>{var a=n(69302),r=n(75288),o=n(36800),i=n(37241),s=Object.prototype,l=s.hasOwnProperty,d=a((function(e,t){e=Object(e);var n=-1,a=t.length,d=a>2?t[2]:void 0;for(d&&o(t[0],t[1],d)&&(a=1);++n<a;)for(var u=t[n],c=i(u),f=-1,A=c.length;++f<A;){var p=c[f],g=e[p];(void 0===g||r(g,s[p])&&!l.call(e,p))&&(e[p]=u[p])}return e}));e.exports=d},75288:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},35970:(e,t,n)=>{var a=n(83120);e.exports=function(e){return null!=e&&e.length?a(e,1):[]}},58156:(e,t,n)=>{var a=n(47422);e.exports=function(e,t,n){var r=null==e?void 0:a(e,t);return void 0===r?n:r}},94394:(e,t,n)=>{var a=n(43360),r=n(42e3),o=Object.prototype.hasOwnProperty,i=r((function(e,t,n){o.call(e,n)?e[n].push(t):a(e,n,[t])}));e.exports=i},80631:(e,t,n)=>{var a=n(28077),r=n(49326);e.exports=function(e,t){return null!=e&&r(e,t,a)}},83488:e=>{e.exports=function(e){return e}},72428:(e,t,n)=>{var a=n(27534),r=n(40346),o=Object.prototype,i=o.hasOwnProperty,s=o.propertyIsEnumerable,l=a(function(){return arguments}())?a:function(e){return r(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},56449:e=>{var t=Array.isArray;e.exports=t},64894:(e,t,n)=>{var a=n(1882),r=n(30294);e.exports=function(e){return null!=e&&r(e.length)&&!a(e)}},3656:(e,t,n)=>{e=n.nmd(e);var a=n(9325),r=n(89935),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,s=i&&i.exports===o?a.Buffer:void 0,l=(s?s.isBuffer:void 0)||r;e.exports=l},83602:(e,t,n)=>{var a=n(14688),r=n(27301),o=n(86009),i=o&&o.isDate,s=i?r(i):a;e.exports=s},62193:(e,t,n)=>{var a=n(88984),r=n(5861),o=n(72428),i=n(56449),s=n(64894),l=n(3656),d=n(55527),u=n(37167),c=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||o(e)))return!e.length;var t=r(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(d(e))return!a(e).length;for(var n in e)if(c.call(e,n))return!1;return!0}},2404:(e,t,n)=>{var a=n(60270);e.exports=function(e,t){return a(e,t)}},1882:(e,t,n)=>{var a=n(72552),r=n(23805);e.exports=function(e){if(!r(e))return!1;var t=a(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},30294:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},23805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},40346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},11331:(e,t,n)=>{var a=n(72552),r=n(28879),o=n(40346),i=Function.prototype,s=Object.prototype,l=i.toString,d=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=a(e))return!1;var t=r(e);if(null===t)return!0;var n=d.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},44394:(e,t,n)=>{var a=n(72552),r=n(40346);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==a(e)}},37167:(e,t,n)=>{var a=n(4901),r=n(27301),o=n(86009),i=o&&o.isTypedArray,s=i?r(i):a;e.exports=s},62216:e=>{e.exports=function(e){return void 0===e}},95950:(e,t,n)=>{var a=n(70695),r=n(88984),o=n(64894);e.exports=function(e){return o(e)?a(e):r(e)}},37241:(e,t,n)=>{var a=n(70695),r=n(72903),o=n(64894);e.exports=function(e){return o(e)?a(e,!0):r(e)}},50104:(e,t,n)=>{var a=n(53661);function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var a=arguments,r=t?t.apply(this,a):a[0],o=n.cache;if(o.has(r))return o.get(r);var i=e.apply(this,a);return n.cache=o.set(r,i)||o,i};return n.cache=new(r.Cache||a),n}r.Cache=a,e.exports=r},6048:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},63950:e=>{e.exports=function(){}},42194:(e,t,n)=>{var a=n(15389),r=n(6048),o=n(71086);e.exports=function(e,t){return o(e,r(a(t)))}},42877:(e,t,n)=>{var a=n(46155),r=n(56449);e.exports=function(e,t,n,o){return null==e?[]:(r(t)||(t=null==t?[]:[t]),r(n=o?void 0:n)||(n=null==n?[]:[n]),a(e,t,n))}},44383:(e,t,n)=>{var a=n(76001),r=n(38816)((function(e,t){return null==e?{}:a(e,t)}));e.exports=r},71086:(e,t,n)=>{var a=n(34932),r=n(15389),o=n(97420),i=n(83349);e.exports=function(e,t){if(null==e)return{};var n=a(i(e),(function(e){return[e]}));return t=r(t),o(e,n,(function(e,n){return t(e,n[0])}))}},50583:(e,t,n)=>{var a=n(47237),r=n(17255),o=n(28586),i=n(77797);e.exports=function(e){return o(e)?a(i(e)):r(e)}},73054:(e,t,n)=>{var a=n(18024);e.exports=function(e){return e&&e.length?a(e):[]}},63345:e=>{e.exports=function(){return[]}},89935:e=>{e.exports=function(){return!1}},13222:(e,t,n)=>{var a=n(77556);e.exports=function(e){return null==e?"":a(e)}},63375:(e,t,n)=>{var a=n(55765);e.exports=function(e){return e&&e.length?a(e):[]}},50014:(e,t,n)=>{var a=n(15389),r=n(55765);e.exports=function(e,t){return e&&e.length?r(e,a(t,2)):[]}},97200:(e,t,n)=>{var a=n(13222),r=0;e.exports=function(e){var t=++r;return a(e)+t}},30115:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,a="function"==typeof Set,r="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,l,d,u;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(!o(e[l],i[l]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],i.get(l.value[0])))return!1;return!0}if(a&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(r&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(e[l]!==i[l])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((s=(d=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(i,d[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==d[l]&&"__v"!==d[l]&&"__o"!==d[l]||!e.$$typeof)&&!o(e[d[l]],i[d[l]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},77950:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(50535),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},10587:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(40916),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},83202:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(15651),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},18469:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(34788),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},87878:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(87145),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},18504:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(51619),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},39123:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(47064),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},82071:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(83446),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},49769:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(90524),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},815:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(49090),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},90888:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(56345),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},14680:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(7873),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},79346:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(74423),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},55506:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(21771),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},730:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(89295),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},52130:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(45639),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},88486:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(47379),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},3279:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(18560),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},54602:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(17387),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},28868:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(25099),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},62102:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(21369),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},92250:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(48643),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},51357:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(70524),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},67364:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(35347),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},52743:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(33152),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},22285:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(48896),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},90030:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(45509),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},20444:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(78263),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},53064:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(39817),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},4069:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(68040),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},66708:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(16895),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},1634:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(72705),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},86797:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(31246),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},51531:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(32576),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},16845:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(87558),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},12970:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(21347),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},21753:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(99070),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},32768:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(51097),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},81508:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(71577),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},72380:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(95435),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},97579:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(5112),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},61905:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(57778),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},705:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(77860),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},72439:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(61872),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},85072:e=>{"use strict";var t=[];function n(e){for(var n=-1,a=0;a<t.length;a++)if(t[a].identifier===e){n=a;break}return n}function a(e,a){for(var o={},i=[],s=0;s<e.length;s++){var l=e[s],d=a.base?l[0]+a.base:l[0],u=o[d]||0,c="".concat(d," ").concat(u);o[d]=u+1;var f=n(c),A={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(A);else{var p=r(A,a);a.byIndex=s,t.splice(s,0,{identifier:c,updater:p,references:1})}i.push(c)}return i}function r(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=a(e=e||[],r=r||{});return function(e){e=e||[];for(var i=0;i<o.length;i++){var s=n(o[i]);t[s].references--}for(var l=a(e,r),d=0;d<o.length;d++){var u=n(o[d]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=l}}},77659:e=>{"use strict";var t={};e.exports=function(e,n){var a=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(n)}},10540:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},55056:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},97825:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var a="";n.supports&&(a+="@supports (".concat(n.supports,") {")),n.media&&(a+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(a+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),a+=n.css,r&&(a+="}"),n.media&&(a+="}"),n.supports&&(a+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(a,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},41113:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},22212:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Arc:()=>so,Axis:()=>y,Background:()=>uo,Border:()=>fo,Box:()=>fo,Circle:()=>to,ClipPath:()=>Jr,Collection:()=>u,Data:()=>h,DefaultTransitions:()=>v,Domain:()=>b,Events:()=>A,Helpers:()=>r,Hooks:()=>E,Immutable:()=>m,LabelHelpers:()=>s,Line:()=>po,LineHelpers:()=>B,LineSegment:()=>mo,Log:()=>i,Path:()=>ro,Point:()=>Io,PointPathHelpers:()=>f,Portal:()=>Vt,PortalContext:()=>Ln,PortalOutlet:()=>On,PortalProvider:()=>kn,Rect:()=>Yn,Scale:()=>g,Selection:()=>T,Style:()=>l,TSpan:()=>Wn,Text:()=>zn,TextSize:()=>d,Timer:()=>Ft,TimerContext:()=>jt,Transitions:()=>c,UserProps:()=>o,VictoryAccessibleGroup:()=>I,VictoryAnimation:()=>Ut,VictoryClipContainer:()=>no,VictoryContainer:()=>Mn,VictoryLabel:()=>Dr,VictoryPortal:()=>Hn,VictoryTheme:()=>tr,VictoryTransition:()=>Zr,Whisker:()=>Do,Wrapper:()=>S,addEvents:()=>Zo,mergeRefs:()=>In,usePortalContext:()=>Dn,useVictoryContainer:()=>Rn});var a={};n.r(a),n.d(a,{easeBack:()=>Ae,easeBackIn:()=>ce,easeBackInOut:()=>Ae,easeBackOut:()=>fe,easeBounce:()=>le,easeBounceIn:()=>se,easeBounceInOut:()=>de,easeBounceOut:()=>le,easeCircle:()=>K,easeCircleIn:()=>q,easeCircleInOut:()=>K,easeCircleOut:()=>Q,easeCubic:()=>R,easeCubicIn:()=>N,easeCubicInOut:()=>R,easeCubicOut:()=>P,easeElastic:()=>me,easeElasticIn:()=>ge,easeElasticInOut:()=>he,easeElasticOut:()=>me,easeExp:()=>$,easeExpIn:()=>W,easeExpInOut:()=>$,easeExpOut:()=>V,easeLinear:()=>L,easePoly:()=>F,easePolyIn:()=>M,easePolyInOut:()=>F,easePolyOut:()=>_,easeQuad:()=>O,easeQuadIn:()=>D,easeQuadInOut:()=>O,easeQuadOut:()=>k,easeSin:()=>Y,easeSinIn:()=>H,easeSinInOut:()=>Y,easeSinOut:()=>U});var r={};n.r(r),n.d(r,{createAccessor:()=>hn,degreesToRadians:()=>un,evaluateProp:()=>ln,evaluateStyle:()=>dn,getCurrentAxis:()=>yn,getDefaultStyles:()=>on,getPadding:()=>an,getPoint:()=>tn,getPolarOrigin:()=>An,getRadius:()=>fn,getRange:()=>pn,getStyles:()=>sn,invert:()=>Jt,isFunction:()=>mn,isHorizontal:()=>Bn,isNil:()=>gn,isTooltip:()=>rn,mapValues:()=>vn,modifyProps:()=>bn,omit:()=>en,radiansToDegrees:()=>cn,range:()=>En,reduceChildren:()=>Cn,scalePoint:()=>nn});var o={};n.r(o),n.d(o,{assert:()=>Sn,getSafeUserProps:()=>xn,withSafeUserProps:()=>wn});var i={};n.r(i),n.d(i,{warn:()=>Gn});var s={};n.r(s),n.d(s,{getDegrees:()=>Xn,getPolarAngle:()=>Kn,getPolarTextAnchor:()=>qn,getPolarVerticalAnchor:()=>Qn,getProps:()=>Zn,getText:()=>$n});var l={};n.r(l),n.d(l,{getColorScale:()=>ar,toTransformString:()=>nr});var d={};n.r(d),n.d(d,{_approximateTextSizeInternal:()=>br,approximateTextSize:()=>yr,convertLengthToPixels:()=>fr});var u={};n.r(u),n.d(u,{containsDates:()=>Rr,containsNumbers:()=>Mr,containsOnlyStrings:()=>_r,containsStrings:()=>Pr,difference:()=>Fr,getMaxValue:()=>Hr,getMinValue:()=>Ur,isArrayOfArrays:()=>Gr,removeUndefined:()=>jr});var c={};n.r(c),n.d(c,{getInitialTransitionState:()=>Qr,getTransitionPropsFactory:()=>Kr});var f={};n.r(f),n.d(f,{circle:()=>ho,cross:()=>Bo,diamond:()=>yo,minus:()=>To,plus:()=>Co,square:()=>bo,star:()=>So,triangleDown:()=>vo,triangleUp:()=>Eo});var A={};n.r(A),n.d(A,{emulateReactEvent:()=>Qo,getComponentEvents:()=>Wo,getEventState:()=>Ho,getEvents:()=>Fo,getExternalMutation:()=>zo,getExternalMutations:()=>Yo,getExternalMutationsWithChildren:()=>Uo,getGlobalEventNameFromKey:()=>Vo,getGlobalEvents:()=>$o,getPartialEvents:()=>jo,getScopedEvents:()=>Go,omitGlobalEvents:()=>qo});var p={};n.r(p),n.d(p,{scaleLinear:()=>di.scaleLinear});var g={};n.r(g),n.d(g,{getBaseScale:()=>gi,getDefaultScale:()=>mi,getScaleFromName:()=>pi,getScaleFromProps:()=>hi,getScaleType:()=>bi,getType:()=>vi,validScale:()=>ci});var m={};n.r(m),n.d(m,{IMMUTABLE_ITERABLE:()=>Ei,IMMUTABLE_LIST:()=>Bi,IMMUTABLE_MAP:()=>Ti,IMMUTABLE_RECORD:()=>Ci,isImmutable:()=>wi,isIterable:()=>Si,isList:()=>Ii,isMap:()=>Li,isRecord:()=>xi,shallowToJS:()=>Di});var h={};n.r(h),n.d(h,{createStringMap:()=>Mi,downsample:()=>_i,formatData:()=>Fi,formatDataFromDomain:()=>Ri,generateData:()=>Gi,getCategories:()=>ji,getData:()=>Hi,getStringsFromAxes:()=>Ui,getStringsFromCategories:()=>Yi,getStringsFromData:()=>zi,isDataComponent:()=>Wi});var b={};n.r(b),n.d(b,{createDomainFunction:()=>$i,formatDomain:()=>qi,getDomain:()=>Qi,getDomainFromCategories:()=>Ki,getDomainFromData:()=>Xi,getDomainFromMinMax:()=>Zi,getDomainFromProps:()=>Ji,getDomainWithZero:()=>es,getMaxFromProps:()=>ts,getMinFromProps:()=>ns,getSymmetricDomain:()=>as,isDomainComponent:()=>rs});var y={};n.r(y),n.d(y,{findAxisComponents:()=>ss,getAxis:()=>is,getAxisComponent:()=>ls,getAxisComponentsWithParent:()=>ds,getAxisValue:()=>vs,getDomain:()=>ys,getOrigin:()=>us,getOriginSign:()=>cs,getTickFormat:()=>gs,getTicks:()=>hs,isVertical:()=>fs,modifyProps:()=>Es,stringTicks:()=>As});var v={};n.r(v),n.d(v,{continuousPolarTransitions:()=>Bs,continuousTransitions:()=>Cs,discreteTransitions:()=>Ts});var E={};n.r(E),n.d(E,{useAnimationState:()=>ws,usePreviousProps:()=>Ss});var C={};n.r(C),n.d(C,{curveLinear:()=>Is.curveLinear,line:()=>Is.line,lineRadial:()=>Is.lineRadial});var B={};n.r(B),n.d(B,{getInterpolationFunction:()=>Ns,getLineFunction:()=>Ps});var T={};n.r(T),n.d(T,{getBounds:()=>Hs,getDataCoordinates:()=>js,getDomainCoordinates:()=>Gs,getParentSVG:()=>_s,getSVGEventCoordinates:()=>Fs});var S={};n.r(S),n.d(S,{addBinsToParentPropsIfHistogram:()=>Vs,getAllEvents:()=>el,getCategories:()=>ll,getCategoryAndAxisStringsFromChildren:()=>il,getChildStyle:()=>al,getColor:()=>tl,getData:()=>qs,getDataFromChildren:()=>$s,getDefaultDomainPadding:()=>Ks,getDomain:()=>Zs,getDomainFromChildren:()=>Xs,getScale:()=>Js,getStringsFromChildren:()=>sl,getStringsFromChildrenCategories:()=>rl,getStringsFromData:()=>ol,getStyle:()=>nl,getWidth:()=>Qs});var x=n(82015),w=n.n(x);const I=e=>{let{desc:t,children:n,tabIndex:a,className:r="VictoryAccessibleGroup",...o}=e;const i=t&&(o["aria-describedby"]||t.split(" ").join("-"));return t?w().createElement("g",{"aria-label":o["aria-label"],"aria-describedby":i,className:r,tabIndex:a},w().createElement("desc",{id:i},t),n):w().createElement("g",{"aria-label":o["aria-label"],"aria-describedby":o["aria-describedby"],className:r,tabIndex:a},n)},L=e=>+e;function D(e){return e*e}function k(e){return e*(2-e)}function O(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function N(e){return e*e*e}function P(e){return--e*e*e+1}function R(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var M=function e(t){function n(e){return Math.pow(e,t)}return t=+t,n.exponent=e,n}(3),_=function e(t){function n(e){return 1-Math.pow(1-e,t)}return t=+t,n.exponent=e,n}(3),F=function e(t){function n(e){return((e*=2)<=1?Math.pow(e,t):2-Math.pow(2-e,t))/2}return t=+t,n.exponent=e,n}(3),G=Math.PI,j=G/2;function H(e){return 1==+e?1:1-Math.cos(e*j)}function U(e){return Math.sin(e*j)}function Y(e){return(1-Math.cos(G*e))/2}function z(e){return 1.0009775171065494*(Math.pow(2,-10*e)-.0009765625)}function W(e){return z(1-+e)}function V(e){return 1-z(e)}function $(e){return((e*=2)<=1?z(1-e):2-z(e-1))/2}function q(e){return 1-Math.sqrt(1-e*e)}function Q(e){return Math.sqrt(1- --e*e)}function K(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}var X=4/11,Z=6/11,J=8/11,ee=3/4,te=9/11,ne=10/11,ae=15/16,re=21/22,oe=63/64,ie=1/X/X;function se(e){return 1-le(1-e)}function le(e){return(e=+e)<X?ie*e*e:e<J?ie*(e-=Z)*e+ee:e<ne?ie*(e-=te)*e+ae:ie*(e-=re)*e+oe}function de(e){return((e*=2)<=1?1-le(1-e):le(e-1)+1)/2}var ue=1.70158,ce=function e(t){function n(e){return(e=+e)*e*(t*(e-1)+e)}return t=+t,n.overshoot=e,n}(ue),fe=function e(t){function n(e){return--e*e*((e+1)*t+e)+1}return t=+t,n.overshoot=e,n}(ue),Ae=function e(t){function n(e){return((e*=2)<1?e*e*((t+1)*e-t):(e-=2)*e*((t+1)*e+t)+2)/2}return t=+t,n.overshoot=e,n}(ue),pe=2*Math.PI,ge=function e(t,n){var a=Math.asin(1/(t=Math.max(1,t)))*(n/=pe);function r(e){return t*z(- --e)*Math.sin((a-e)/n)}return r.amplitude=function(t){return e(t,n*pe)},r.period=function(n){return e(t,n)},r}(1,.3),me=function e(t,n){var a=Math.asin(1/(t=Math.max(1,t)))*(n/=pe);function r(e){return 1-t*z(e=+e)*Math.sin((e+a)/n)}return r.amplitude=function(t){return e(t,n*pe)},r.period=function(n){return e(t,n)},r}(1,.3),he=function e(t,n){var a=Math.asin(1/(t=Math.max(1,t)))*(n/=pe);function r(e){return((e=2*e-1)<0?t*z(-e)*Math.sin((a-e)/n):2-t*z(e)*Math.sin((a+e)/n))/2}return r.amplitude=function(t){return e(t,n*pe)},r.period=function(n){return e(t,n)},r}(1,.3),be=n(11331),ye=n.n(be),ve=n(42877),Ee=n.n(ve);function Ce(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Be(e,t){var n=Object.create(e.prototype);for(var a in t)n[a]=t[a];return n}function Te(){}var Se=.7,xe=1/Se,we="\\s*([+-]?\\d+)\\s*",Ie="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Le="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",De=/^#([0-9a-f]{3,8})$/,ke=new RegExp(`^rgb\\(${we},${we},${we}\\)$`),Oe=new RegExp(`^rgb\\(${Le},${Le},${Le}\\)$`),Ne=new RegExp(`^rgba\\(${we},${we},${we},${Ie}\\)$`),Pe=new RegExp(`^rgba\\(${Le},${Le},${Le},${Ie}\\)$`),Re=new RegExp(`^hsl\\(${Ie},${Le},${Le}\\)$`),Me=new RegExp(`^hsla\\(${Ie},${Le},${Le},${Ie}\\)$`),_e={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Fe(){return this.rgb().formatHex()}function Ge(){return this.rgb().formatRgb()}function je(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=De.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?He(t):3===n?new ze(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Ue(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Ue(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=ke.exec(e))?new ze(t[1],t[2],t[3],1):(t=Oe.exec(e))?new ze(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Ne.exec(e))?Ue(t[1],t[2],t[3],t[4]):(t=Pe.exec(e))?Ue(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Re.exec(e))?Ke(t[1],t[2]/100,t[3]/100,1):(t=Me.exec(e))?Ke(t[1],t[2]/100,t[3]/100,t[4]):_e.hasOwnProperty(e)?He(_e[e]):"transparent"===e?new ze(NaN,NaN,NaN,0):null}function He(e){return new ze(e>>16&255,e>>8&255,255&e,1)}function Ue(e,t,n,a){return a<=0&&(e=t=n=NaN),new ze(e,t,n,a)}function Ye(e,t,n,a){return 1===arguments.length?((r=e)instanceof Te||(r=je(r)),r?new ze((r=r.rgb()).r,r.g,r.b,r.opacity):new ze):new ze(e,t,n,null==a?1:a);var r}function ze(e,t,n,a){this.r=+e,this.g=+t,this.b=+n,this.opacity=+a}function We(){return`#${Qe(this.r)}${Qe(this.g)}${Qe(this.b)}`}function Ve(){const e=$e(this.opacity);return`${1===e?"rgb(":"rgba("}${qe(this.r)}, ${qe(this.g)}, ${qe(this.b)}${1===e?")":`, ${e})`}`}function $e(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function qe(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Qe(e){return((e=qe(e))<16?"0":"")+e.toString(16)}function Ke(e,t,n,a){return a<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Ze(e,t,n,a)}function Xe(e){if(e instanceof Ze)return new Ze(e.h,e.s,e.l,e.opacity);if(e instanceof Te||(e=je(e)),!e)return new Ze;if(e instanceof Ze)return e;var t=(e=e.rgb()).r/255,n=e.g/255,a=e.b/255,r=Math.min(t,n,a),o=Math.max(t,n,a),i=NaN,s=o-r,l=(o+r)/2;return s?(i=t===o?(n-a)/s+6*(n<a):n===o?(a-t)/s+2:(t-n)/s+4,s/=l<.5?o+r:2-o-r,i*=60):s=l>0&&l<1?0:i,new Ze(i,s,l,e.opacity)}function Ze(e,t,n,a){this.h=+e,this.s=+t,this.l=+n,this.opacity=+a}function Je(e){return(e=(e||0)%360)<0?e+360:e}function et(e){return Math.max(0,Math.min(1,e||0))}function tt(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function nt(e,t,n,a,r){var o=e*e,i=o*e;return((1-3*e+3*o-i)*t+(4-6*o+3*i)*n+(1+3*e+3*o-3*i)*a+i*r)/6}Ce(Te,je,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Fe,formatHex:Fe,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Xe(this).formatHsl()},formatRgb:Ge,toString:Ge}),Ce(ze,Ye,Be(Te,{brighter(e){return e=null==e?xe:Math.pow(xe,e),new ze(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Se:Math.pow(Se,e),new ze(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new ze(qe(this.r),qe(this.g),qe(this.b),$e(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:We,formatHex:We,formatHex8:function(){return`#${Qe(this.r)}${Qe(this.g)}${Qe(this.b)}${Qe(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ve,toString:Ve})),Ce(Ze,(function(e,t,n,a){return 1===arguments.length?Xe(e):new Ze(e,t,n,null==a?1:a)}),Be(Te,{brighter(e){return e=null==e?xe:Math.pow(xe,e),new Ze(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Se:Math.pow(Se,e),new Ze(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,a=n+(n<.5?n:1-n)*t,r=2*n-a;return new ze(tt(e>=240?e-240:e+120,r,a),tt(e,r,a),tt(e<120?e+240:e-120,r,a),this.opacity)},clamp(){return new Ze(Je(this.h),et(this.s),et(this.l),$e(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=$e(this.opacity);return`${1===e?"hsl(":"hsla("}${Je(this.h)}, ${100*et(this.s)}%, ${100*et(this.l)}%${1===e?")":`, ${e})`}`}}));const at=e=>()=>e;function rt(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):at(isNaN(e)?t:e)}const ot=function e(t){var n=function(e){return 1==(e=+e)?rt:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(a){return Math.pow(e+a*t,n)}}(t,n,e):at(isNaN(t)?n:t)}}(t);function a(e,t){var a=n((e=Ye(e)).r,(t=Ye(t)).r),r=n(e.g,t.g),o=n(e.b,t.b),i=rt(e.opacity,t.opacity);return function(t){return e.r=a(t),e.g=r(t),e.b=o(t),e.opacity=i(t),e+""}}return a.gamma=e,a}(1);function it(e){return function(t){var n,a,r=t.length,o=new Array(r),i=new Array(r),s=new Array(r);for(n=0;n<r;++n)a=Ye(t[n]),o[n]=a.r||0,i[n]=a.g||0,s[n]=a.b||0;return o=e(o),i=e(i),s=e(s),a.opacity=1,function(e){return a.r=o(e),a.g=i(e),a.b=s(e),a+""}}}function st(e,t){var n,a=t?t.length:0,r=e?Math.min(a,e.length):0,o=new Array(r),i=new Array(a);for(n=0;n<r;++n)o[n]=gt(e[n],t[n]);for(;n<a;++n)i[n]=t[n];return function(e){for(n=0;n<r;++n)i[n]=o[n](e);return i}}function lt(e,t){var n=new Date;return e=+e,t=+t,function(a){return n.setTime(e*(1-a)+t*a),n}}function dt(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function ut(e,t){var n,a={},r={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?a[n]=gt(e[n],t[n]):r[n]=t[n];return function(e){for(n in a)r[n]=a[n](e);return r}}it((function(e){var t=e.length-1;return function(n){var a=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),r=e[a],o=e[a+1],i=a>0?e[a-1]:2*r-o,s=a<t-1?e[a+2]:2*o-r;return nt((n-a/t)*t,i,r,o,s)}})),it((function(e){var t=e.length;return function(n){var a=Math.floor(((n%=1)<0?++n:n)*t),r=e[(a+t-1)%t],o=e[a%t],i=e[(a+1)%t],s=e[(a+2)%t];return nt((n-a/t)*t,r,o,i,s)}}));var ct=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ft=new RegExp(ct.source,"g");function At(e,t){var n,a,r,o=ct.lastIndex=ft.lastIndex=0,i=-1,s=[],l=[];for(e+="",t+="";(n=ct.exec(e))&&(a=ft.exec(t));)(r=a.index)>o&&(r=t.slice(o,r),s[i]?s[i]+=r:s[++i]=r),(n=n[0])===(a=a[0])?s[i]?s[i]+=a:s[++i]=a:(s[++i]=null,l.push({i,x:dt(n,a)})),o=ft.lastIndex;return o<t.length&&(r=t.slice(o),s[i]?s[i]+=r:s[++i]=r),s.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,a=0;a<t;++a)s[(n=l[a]).i]=n.x(e);return s.join("")})}function pt(e,t){t||(t=[]);var n,a=e?Math.min(t.length,e.length):0,r=t.slice();return function(o){for(n=0;n<a;++n)r[n]=e[n]*(1-o)+t[n]*o;return r}}function gt(e,t){var n,a,r=typeof t;return null==t||"boolean"===r?at(t):("number"===r?dt:"string"===r?(n=je(t))?(t=n,ot):At:t instanceof je?ot:t instanceof Date?lt:(a=t,!ArrayBuffer.isView(a)||a instanceof DataView?Array.isArray(t)?st:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?ut:dt:pt))(e,t)}const mt=function(e){if(null!==e)switch(typeof e){case"undefined":case"boolean":return!1;case"number":return!isNaN(e)&&e!==Number.POSITIVE_INFINITY&&e!==Number.NEGATIVE_INFINITY;case"string":case"function":return!0;case"object":return e instanceof Date||Array.isArray(e)||ye()(e)}return!1},ht=function(e,t,n){return void 0===n&&(n=0),function(a){return a<n?e:t}},bt=function(e,t){return function(n){return n>=1?t:function(){return gt("function"==typeof e?e.apply(this,arguments):e,"function"==typeof t?t.apply(this,arguments):t)(n)}}},yt=function(e,t){const n=e=>Array.isArray(e)?Ee()(e,"key"):e,a={},r={};let o,i=e,s=t;for(o in null!==i&&"object"==typeof i||(i={}),null!==s&&"object"==typeof s||(s={}),s)o in i?a[o]=(l=n(i[o]))!==(d=n(s[o]))&&mt(l)&&mt(d)?"function"==typeof l||"function"==typeof d?bt(l,d):"object"==typeof l&&ye()(l)||"object"==typeof d&&ye()(d)?yt(l,d):gt(l,d):ht(l,d):r[o]=s[o];var l,d;return function(e){for(o in a)r[o]=a[o](e);return r}};var vt,Et,Ct=0,Bt=0,Tt=0,St=1e3,xt=0,wt=0,It=0,Lt="object"==typeof performance&&performance.now?performance:Date,Dt="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function kt(){return wt||(Dt(Ot),wt=Lt.now()+It)}function Ot(){wt=0}function Nt(){this._call=this._time=this._next=null}function Pt(e,t,n){var a=new Nt;return a.restart(e,t,n),a}function Rt(){wt=(xt=Lt.now())+It,Ct=Bt=0;try{!function(){kt(),++Ct;for(var e,t=vt;t;)(e=wt-t._time)>=0&&t._call.call(void 0,e),t=t._next;--Ct}()}finally{Ct=0,function(){for(var e,t,n=vt,a=1/0;n;)n._call?(a>n._time&&(a=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:vt=t);Et=e,_t(a)}(),wt=0}}function Mt(){var e=Lt.now(),t=e-xt;t>St&&(It-=t,xt=e)}function _t(e){Ct||(Bt&&(Bt=clearTimeout(Bt)),e-wt>24?(e<1/0&&(Bt=setTimeout(Rt,e-Lt.now()-It)),Tt&&(Tt=clearInterval(Tt))):(Tt||(xt=Lt.now(),Tt=setInterval(Mt,St)),Ct=1,Dt(Rt)))}Nt.prototype=Pt.prototype={constructor:Nt,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?kt():+n)+(null==t?0:+t),this._next||Et===this||(Et?Et._next=this:vt=this,Et=this),this._call=e,this._time=n,_t()},stop:function(){this._call&&(this._call=null,this._time=1/0,_t())}};class Ft{constructor(){this.shouldAnimate=!0,this.subscribers=[],this.timer=null,this.activeSubscriptions=0}bypassAnimation(){this.shouldAnimate=!1}resumeAnimation(){this.shouldAnimate=!0}loop=()=>{this.subscribers.forEach((e=>{e.callback(kt()-e.startTime,e.duration)}))};start(){this.timer||(this.timer=Pt(this.loop))}stop(){this.timer&&(this.timer.stop(),this.timer=null)}subscribe(e,t){const n=this.subscribers.push({startTime:kt(),callback:e,duration:this.shouldAnimate?t:0});return this.activeSubscriptions++,this.start(),n}unsubscribe(e){null!==e&&this.subscribers[e-1]&&(delete this.subscribers[e-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}const Gt=w().createContext({transitionTimer:new Ft,animationTimer:new Ft});Gt.displayName="TimerContext";const jt=Gt,Ht=1e3,Ut=e=>{let{duration:t=Ht,easing:n="quadInOut",delay:r=0,data:o,children:i,onEnd:s}=e;const[l,d]=w().useState({data:Array.isArray(o)?o[0]:o,animationInfo:{progress:0,animating:!1}}),u=w().useContext(jt).animationTimer,c=w().useRef(Array.isArray(o)?o.slice(1):[]),f=w().useRef(null),A=w().useRef(void 0),p=a[(g=n,`ease${g.charAt(0).toUpperCase()+g.slice(1)}`)];var g;w().useEffect((()=>(c.current.length&&m(),()=>{A.current?u.unsubscribe(A.current):u.stop()})),[]),w().useEffect((()=>{f.current&&l.animationInfo&&l.animationInfo.progress<1?d({data:f.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}):(u.unsubscribe(A.current),c.current=Array.isArray(o)?o:[o],m())}),[o]);const m=()=>{if(c.current.length){const a=c.current[0];f.current=(e=l.data)!==(n=a)&&mt(e)&&mt(n)?"function"==typeof e||"function"==typeof n?bt(e,n):ye()(e)||ye()(n)?yt(e,n):"string"==typeof e||"string"==typeof n?function(e,t){const n=e=>"string"==typeof e?e.replace(/,/g,""):e;return gt(n(e),n(t))}(e,n):gt(e,n):ht(e,n),r?setTimeout((()=>{A.current=u.subscribe(h,t)}),r):A.current=u.subscribe(h,t)}else s&&s();var e,n},h=e=>{if(!f.current)return;const n=t?e/t:1;if(n>=1)return d({data:f.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),A.current&&u.unsubscribe(A.current),c.current.shift(),void m();d({data:f.current(p(n)),animationInfo:{progress:n,animating:n<1}})};return i(l.data,l.animationInfo)};var Yt=n(97200),zt=n.n(Yt);function Wt(){return Wt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Wt.apply(this,arguments)}const Vt=w().forwardRef(((e,t)=>w().createElement("svg",Wt({ref:t},e))));var $t=n(84684),qt=n.n($t),Qt=n(50583),Kt=n.n(Qt),Xt=n(44383),Zt=n.n(Xt);function Jt(e){return Object.entries(e).reduce(((e,t)=>(e[t[1]]=t[0],e)),{})}function en(e,t){void 0===t&&(t=[]);const n={};for(const a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function tn(e){const{_x:t,_x1:n,_x0:a,_voronoiX:r,_y:o,_y1:i,_y0:s,_voronoiY:l}=e,d={x:r??n??t,x0:a??t,y:l??i??o,y0:s??o};return qt()({},d,e)}function nn(e,t){const{scale:n,polar:a,horizontal:r}=e,o=tn(t),i=e.origin||{x:0,y:0},s=r?n.y(o.y):n.x(o.x),l=r?n.y(o.y0):n.x(o.x0),d=r?n.x(o.x):n.y(o.y),u=r?n.x(o.x0):n.y(o.y0);return{x:a?d*Math.cos(s)+i.x:s,x0:a?u*Math.cos(l)+i.x:l,y:a?-d*Math.sin(s)+i.y:d,y0:a?-u*Math.sin(l)+i.x:u}}function an(e){const t="number"==typeof e?e:0,n="object"==typeof e?e:{};return{top:n.top||t,bottom:n.bottom||t,left:n.left||t,right:n.right||t}}function rn(e){return"tooltip"===(e&&e.type&&e.type.role)}function on(e,t){const{theme:n={},labelComponent:a}=e,r=n[t]&&n[t].style||{};if(!rn(a))return r;const o=n.tooltip&&n.tooltip.style||{},i=qt()({},o,r.labels);return qt()({},{labels:i},r)}function sn(e,t){const n="100%",a="100%";if(!e)return qt()({parent:{height:a,width:n}},t);const{data:r,labels:o,parent:i}=e,s=t&&t.parent||{},l=t&&t.labels||{},d=t&&t.data||{};return{parent:qt()({},i,s,{width:n,height:a}),labels:qt()({},o,l),data:qt()({},r,d)}}function ln(e,t){return mn(e)?e(t):e}function dn(e,t){return t.disableInlineStyles?{}:e&&Object.keys(e).some((t=>mn(e[t])))?Object.keys(e).reduce(((n,a)=>(n[a]=ln(e[a],t),n)),{}):e}function un(e){return"number"==typeof e?e*(Math.PI/180):e}function cn(e){return"number"==typeof e?e/(Math.PI/180):e}function fn(e){const{width:t,height:n,padding:a}=e,{left:r,right:o,top:i,bottom:s}=a;return Math.min(t-r-o,n-i-s)/2}function An(e){const{width:t,height:n}=e,{top:a,bottom:r,left:o,right:i}=an(e.padding),s=Math.min(t-o-i,n-a-r)/2,l=t/2+o-i,d=n/2+a-r;return{x:l+s>t?s+o-i:l,y:d+s>n?s+a-r:d}}function pn(e,t){return e.range&&e.range[t]?e.range[t]:e.range&&Array.isArray(e.range)?e.range:e.polar?function(e){return"x"===e.axis?[un(e.startAngle||0),un(e.endAngle||360)]:[e.innerRadius||0,fn({height:e.height,width:e.width,padding:e.padding})]}({axis:t,innerRadius:e.innerRadius,startAngle:e.startAngle,endAngle:e.endAngle,height:e.height,width:e.width,padding:an(e.padding)}):"x"!==(n={axis:t,height:e.height,width:e.width,padding:an(e.padding)}).axis?[n.height-n.padding.bottom,n.padding.top]:[n.padding.left,n.width-n.padding.right];var n}function gn(e){return null==e}function mn(e){return"function"==typeof e}function hn(e){return mn(e)?e:null==e?e=>e:Kt()(e)}function bn(e,t,n){const a=en(e.theme&&e.theme[n]?e.theme[n]:{},["style"]),r=Bn(e),o=void 0===r?{}:{horizontal:r};return qt()(o,e,a,t)}function yn(e,t){return t?"x"===e?"y":"x":e}function vn(e,t){if(e)return Object.keys(e).reduce(((n,a)=>(n[a]=t(e[a]),n)),{})}function En(e,t,n){const a=t?e:0;let r=t||e;r||(r=0);const o=r-a,i=Math.abs(o),s=o/i||1,l=n||1,d=Math.max(Math.ceil(i/l),0);return Array.from(Array(d),((e,t)=>a+t*s*l))}function Cn(e,t,n,a,r){void 0===n&&(n={}),void 0===a&&(a=[]),void 0===r&&(r=(e,t)=>e.concat(t));const o=["data","domain","categories","polar","startAngle","endAngle","minDomain","maxDomain","horizontal"],i=(e,s,l)=>e.reduce(((e,a,d)=>{let u=e;const c=a.type&&a.type.role,f=a.props.name||`${c}-${s[d]}`;if(a.props&&a.props.children){const e=Object.assign({},a.props,Zt()(n,o)),t=a.type&&"stack"===a.type.role&&mn(a.type.getChildren)?a.type.getChildren(e):w().Children.toArray(a.props.children).map((t=>{const n=Object.assign({},t.props,Zt()(e,o));return w().cloneElement(t,n)})),s=t.map(((e,t)=>`${f}-${t}`)),l=i(t,s,a);u=r(u,l)}else{const e=t(a,f,l);e&&(u=r(u,e))}return u}),a),s=e.filter(x.isValidElement),l=s.map(((e,t)=>t));return i(s,l)}function Bn(e){if(void 0!==e.horizontal||!e.children)return e.horizontal;const t=e=>e.reduce(((e,n)=>{const a=n.props||{};return e||a.horizontal||!a.children?e||a.horizontal:t(w().Children.toArray(a.children))}),!1);return t(w().Children.toArray(e.children))}const Tn={startsWith:["data-","aria-"],exactMatch:[]};function Sn(e,t){if(null==e)throw new Error(t)}const xn=e=>{const t={...e};return Object.fromEntries(Object.entries(t).filter((e=>{let[t]=e;return(e=>!(!(e=>{let t=!1;return Tn.startsWith.forEach((n=>{new RegExp(`\\b(${n})(\\w|-)+`,"g").test(e)&&(t=!0)})),t})(e)&&!(e=>Tn.exactMatch.includes(e))(e)))(t)})).map((t=>{let[n,a]=t;return[n,ln(a,e)]})))},wn=(e,t)=>x.cloneElement(e,xn(t));function In(e){return t=>{e.forEach((e=>{mn(e)?e(t):null!=e&&(e.current=t)}))}}const Ln=w().createContext(void 0);Ln.displayName="PortalContext";const Dn=()=>w().useContext(Ln),kn=e=>{let{children:t}=e;const[n,a]=w().useState(new Map),r=w().useCallback(((e,t)=>{a((n=>{const a=new Map(n);return a.set(e,t),a}))}),[a]),o=w().useCallback((e=>{a((t=>{const n=new Map(t);return n.delete(e),n}))}),[a]),i=w().useMemo((()=>({addChild:r,removeChild:o,children:n})),[r,o,n]);return w().createElement(Ln.Provider,{value:i},t)},On=e=>{let{as:t,...n}=e;const a=Dn();if(!a)return null;const r=Array.from(a.children.values());return w().cloneElement(t,n,r)};function Nn(){return Nn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Nn.apply(this,arguments)}const Pn={className:"VictoryContainer",portalComponent:w().createElement(Vt,null),portalZIndex:99,responsive:!0,role:"img"};function Rn(e){const t={...Pn,...e},{title:n,desc:a,width:r,height:o,responsive:i}=t,s=(0,x.useRef)(null),l=(0,x.useRef)(zt()("victory-container-")),d=t.containerId??l.current,u=e=>`${d}-${e}`,c=xn(t),f=i?{width:"100%",height:"100%"}:{width:r,height:o},A=i?`0 0 ${r} ${o}`:void 0,p=i?t.preserveAspectRatio:void 0,g=[n&&u("title"),t["aria-labelledby"]].filter(Boolean).join(" ")||void 0,m=[a&&u("desc"),t["aria-describedby"]].filter(Boolean).join(" ")||void 0,h=u("title"),b=u("desc");return{...t,titleId:h,descId:b,dimensions:f,viewBox:A,preserveAspectRatio:p,ariaLabelledBy:g,ariaDescribedBy:m,userProps:c,localContainerRef:s}}const Mn=e=>{const{role:t,title:n,desc:a,children:r,className:o,portalZIndex:i,portalComponent:s,width:l,height:d,style:u,tabIndex:c,responsive:f,events:A,ouiaId:p,ouiaSafe:g,ouiaType:m,dimensions:h,ariaDescribedBy:b,ariaLabelledBy:y,viewBox:v,preserveAspectRatio:E,userProps:C,titleId:B,descId:T,containerRef:S,localContainerRef:x}=Rn(e);return w().useEffect((()=>{if(!A?.onWheel)return;const e=e=>e.preventDefault(),t=x?.current;return t?.addEventListener("wheel",e),()=>{t?.removeEventListener("wheel",e)}}),[]),w().createElement("div",{className:o,style:{...u,width:f?u?.width:h.width,height:f?u?.height:h.height,pointerEvents:u?.pointerEvents??"none",touchAction:u?.touchAction??"none",position:u?.position??"relative"},"data-ouia-component-id":p,"data-ouia-component-type":m,"data-ouia-safe":g,ref:In([x,S])},w().createElement(kn,null,w().createElement("svg",Nn({width:l,height:d,tabIndex:c,role:t,"aria-labelledby":y,"aria-describedby":b,viewBox:v,preserveAspectRatio:E,style:{...h,pointerEvents:"all"}},C,A),n?w().createElement("title",{id:B},n):null,a?w().createElement("desc",{id:T},a):null,r),w().createElement("div",{style:{...h,zIndex:i,position:"absolute",top:0,left:0}},w().createElement(On,{as:s,width:l,height:d,viewBox:v,preserveAspectRatio:E,style:{...h,overflow:"visible"}}))))};Mn.role="container";var _n=n(62193),Fn=n.n(_n);function Gn(e){}const jn={groupComponent:w().createElement("g",null)},Hn=e=>{const t={...jn,...e},[n]=(0,x.useState)(zt()()),a=Dn(),r=Array.isArray(t.children)?t.children[0]:t.children,{groupComponent:o}=t,i=r&&r.props||{},s=i.groupComponent?{groupComponent:o,standalone:!1}:{},l=qt()(s,i,en(t,["children","groupComponent"]),{key:i.key??n}),d=r&&w().cloneElement(r,l);return w().useEffect((()=>{a?.addChild(n,d)}),[t.children]),w().useEffect((()=>()=>a?.removeChild(n)),[]),a?null:d};function Un(){return Un=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Un.apply(this,arguments)}Hn.role="portal";const Yn=(0,x.forwardRef)(((e,t)=>{const{desc:n,id:a,tabIndex:r,origin:o,...i}=e,s={vectorEffect:"non-scaling-stroke",id:ln(a,e)?.toString(),tabIndex:ln(r,e),...i};return n?w().createElement("rect",Un({},s,{ref:t}),w().createElement("desc",null,n)):w().createElement("rect",Un({},s,{ref:t}))})),zn=e=>{const{children:t,desc:n,id:a,origin:r,tabIndex:o,title:i,...s}=e,l={id:ln(a,e)?.toString(),tabIndex:ln(o,e),...s};return w().createElement("text",l,i&&w().createElement("title",null,i),n&&w().createElement("desc",null,n),t)},Wn=e=>{const{desc:t,id:n,tabIndex:a,origin:r,...o}=e,i={id:ln(n,e)?.toString(),tabIndex:ln(a,e),...o};return w().createElement("tspan",i)};function Vn(e){const{labelComponent:t,labelPlacement:n,polar:a}=e,r=a?"perpendicular":"vertical";return n||t.props&&t.props.labelPlacement||r}function $n(e,t,n){return void 0===t&&(t={}),void 0!==t.label?t.label:Array.isArray(e.labels)?e.labels[n]:e.labels}function qn(e,t){const n=Vn(e);return"perpendicular"===n||"vertical"===n&&(90===t||270===t)?"middle":t<=90||t>270?"start":"end"}function Qn(e,t){const n=Vn(e),a=function(e){return e<45||e>315?"right":e>=45&&e<=135?"top":e>135&&e<225?"left":"bottom"}(t);return"parallel"===n||"left"===a||"right"===a?"middle":"top"===a?"end":"start"}function Kn(e,t){const{labelPlacement:n,datum:a}=e;if(!n||"vertical"===n)return 0;const r=void 0!==t?t%360:Xn(e,a);let o=0;return 0===r||180===r?o=90:r>0&&r<180?o=90-r:r>180&&r<360&&(o=270-r),o+(r>90&&r<180||r>270?1:-1)*("perpendicular"===n?0:90)}function Xn(e,t){const{x:n}=tn(t);return cn(e.scale.x(n))%360}function Zn(e,t){const{scale:n,data:a,style:r,horizontal:o,polar:i,width:s,height:l,theme:d,labelComponent:u,disableInlineStyles:c}=e,f=a[t],A=Xn(e,f),p=i?qn(e,A):function(e,t){void 0===t&&(t={});const{style:n,horizontal:a}=e,r=t._y>=0?1:-1,o=n&&n.labels||{};return t.verticalAnchor||o.verticalAnchor?t.verticalAnchor||o.verticalAnchor:a?r>=0?"start":"end":"middle"}(e,f),g=i?Qn(e,A):function(e,t){void 0===t&&(t={});const n=t._y>=0?1:-1,a=e.style&&e.style.labels||{};return t.verticalAnchor||a.verticalAnchor?t.verticalAnchor||a.verticalAnchor:e.horizontal?"middle":n>=0?"end":"start"}(e,f),m=function(e,t){void 0===t&&(t={});const n=e.style&&e.style.labels||{};return void 0===t.angle?n.angle:t.angle}(e,f),h=$n(e,f,t),b=Vn(e),{x:y,y:v}=function(e,t){const{polar:n}=e,{x:a,y:r}=nn(e,t);if(!n)return{x:a,y:r};const o=function(e,t){const{style:n}=e,a=Xn(e,t),r=ln((n.labels||{}).padding,e)||0,o=un(a);return{x:r*Math.cos(o),y:-r*Math.sin(o)}}(e,t);return{x:a+o.x,y:r+o.y}}(e,f),{dx:E,dy:C}=function(e,t){if(e.polar)return{};const n=function(e,t){void 0===t&&(t={});const{horizontal:n,style:a}=e,r=ln((a.labels||{}).padding,e)||0,o=t._y<0?-1:1;return{x:n?o*r:0,y:n?0:-1*o*r}}(e,t);return{dx:n.x,dy:n.y}}(e,f),B={angle:m,data:a,datum:f,disableInlineStyles:c,horizontal:o,index:t,polar:i,scale:n,labelPlacement:b,text:h,textAnchor:p,verticalAnchor:g,x:y,y:v,dx:E,dy:C,width:s,height:l,style:r.labels};if(!rn(u))return B;const T=d&&d.tooltip||{};return qt()({},B,en(T,["style"]))}const Jn=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],ea="#252525",ta="#969696",na={width:450,height:300,padding:50,colorScale:Jn},aa={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:ea,stroke:"transparent"},ra=Object.assign({textAnchor:"middle"},aa),oa={palette:{colors:{blue:"#4F7DA1",pink:"#E2A37F",teal:"#00796B",purple:"#DF948A",green:"#8BC34A",orange:"#F4511E",cyan:"#006064",red:"#DF5A49",yellow:"#FFF59D"},grayscale:Jn,qualitative:["#334D5C","#45B29D","#EFC94C","#E27A3F","#DF5A49","#4F7DA1","#55DBC1","#EFDA97","#E2A37F","#DF948A"],heatmap:["#428517","#77D200","#D6D305","#EC8E19","#C92B05"],warm:["#940031","#C43343","#DC5429","#FF821D","#FFAF55"],cool:["#2746B9","#0B69D4","#2794DB","#31BB76","#60E83B"],red:["#FCAE91","#FB6A4A","#DE2D26","#A50F15","#750B0E"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"]},area:Object.assign({style:{data:{fill:ea},labels:aa}},na),axis:Object.assign({style:{axis:{fill:"transparent",stroke:ea,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},ra,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:aa}},na),bar:Object.assign({style:{data:{fill:ea,padding:8,strokeWidth:0},labels:aa}},na),boxplot:Object.assign({style:{max:{padding:8,stroke:ea,strokeWidth:1},maxLabels:Object.assign({},aa,{padding:3}),median:{padding:8,stroke:ea,strokeWidth:1},medianLabels:Object.assign({},aa,{padding:3}),min:{padding:8,stroke:ea,strokeWidth:1},minLabels:Object.assign({},aa,{padding:3}),q1:{padding:8,fill:ta},q1Labels:Object.assign({},aa,{padding:3}),q3:{padding:8,fill:ta},q3Labels:Object.assign({},aa,{padding:3})},boxWidth:20},na),candlestick:Object.assign({style:{data:{stroke:ea,strokeWidth:1},labels:Object.assign({},aa,{padding:5})},candleColors:{positive:"#ffffff",negative:ea}},na),chart:na,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:ea,strokeWidth:2},labels:aa}},na),group:Object.assign({colorScale:Jn},na),histogram:Object.assign({style:{data:{fill:ta,stroke:ea,strokeWidth:2},labels:aa}},na),legend:{colorScale:Jn,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:aa,title:Object.assign({},aa,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:ea,strokeWidth:2},labels:aa}},na),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},aa,{padding:20})},colorScale:Jn,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:ea,stroke:"transparent",strokeWidth:0},labels:aa}},na),stack:Object.assign({colorScale:Jn},na),tooltip:{style:Object.assign({},aa,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:ea,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},aa,{padding:5,pointerEvents:"none"}),flyout:{stroke:ea,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},na)},ia="#FFF59D",sa="#F4511E",la="#8BC34A",da="#00796B",ua="#006064",ca=[sa,ia,"#DCE775",la,da,ua],fa="#ECEFF1",Aa="#90A4AE",pa="#455A64",ga="#212121",ma={blue:"#4F7DA1",pink:"#E2A37F",teal:da,purple:"#DF948A",green:la,orange:sa,cyan:ua,red:"#DF5A49",yellow:ia},ha=[fa,Aa,pa,ga],ba={width:350,height:350,padding:50},ya={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:pa,stroke:"transparent",strokeWidth:0},va=Object.assign({textAnchor:"middle"},ya),Ea="round",Ca="round",Ba={palette:{colors:ma,grayscale:ha,qualitative:["#334D5C","#45B29D","#EFC94C","#E27A3F","#DF5A49","#4F7DA1","#55DBC1","#EFDA97","#E2A37F","#DF948A"],heatmap:["#428517","#77D200","#D6D305","#EC8E19","#C92B05"],warm:["#940031","#C43343","#DC5429","#FF821D","#FFAF55"],cool:["#2746B9","#0B69D4","#2794DB","#31BB76","#60E83B"],red:["#FCAE91","#FB6A4A","#DE2D26","#A50F15","#750B0E"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"]},area:Object.assign({style:{data:{fill:ga},labels:ya}},ba),axis:Object.assign({style:{axis:{fill:"transparent",stroke:Aa,strokeWidth:2,strokeLinecap:Ea,strokeLinejoin:Ca},axisLabel:Object.assign({},va,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:fa,strokeDasharray:"10, 5",strokeLinecap:Ea,strokeLinejoin:Ca,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:Aa,strokeWidth:1,strokeLinecap:Ea,strokeLinejoin:Ca},tickLabels:Object.assign({},ya,{fill:pa})}},ba),polarDependentAxis:Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:Object.assign({style:{data:{fill:pa,padding:8,strokeWidth:0},labels:ya}},ba),boxplot:Object.assign({style:{max:{padding:8,stroke:pa,strokeWidth:1},maxLabels:Object.assign({},ya,{padding:3}),median:{padding:8,stroke:pa,strokeWidth:1},medianLabels:Object.assign({},ya,{padding:3}),min:{padding:8,stroke:pa,strokeWidth:1},minLabels:Object.assign({},ya,{padding:3}),q1:{padding:8,fill:pa},q1Labels:Object.assign({},ya,{padding:3}),q3:{padding:8,fill:pa},q3Labels:Object.assign({},ya,{padding:3})},boxWidth:20},ba),candlestick:Object.assign({style:{data:{stroke:pa},labels:Object.assign({},ya,{padding:5})},candleColors:{positive:"#ffffff",negative:pa}},ba),chart:ba,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:pa,strokeWidth:2},labels:ya}},ba),group:Object.assign({colorScale:ca},ba),histogram:Object.assign({style:{data:{fill:pa,stroke:ga,strokeWidth:2},labels:ya}},ba),legend:{colorScale:ca,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:ya,title:Object.assign({},ya,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:pa,strokeWidth:2},labels:ya}},ba),pie:Object.assign({colorScale:ca,style:{data:{padding:8,stroke:fa,strokeWidth:1},labels:Object.assign({},ya,{padding:20})}},ba),scatter:Object.assign({style:{data:{fill:pa,opacity:1,stroke:"transparent",strokeWidth:0},labels:ya}},ba),stack:Object.assign({colorScale:ca},ba),tooltip:{style:Object.assign({},ya,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:ga,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},ya,{padding:5,pointerEvents:"none"}),flyout:{stroke:ga,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},ba)},Ta="#FFFFFF",Sa="#F2F2F2",xa="#E0E0E0",wa="#D1D1D1",Ia="#757575",La="#424242",Da="#292929",ka="#FCB400",Oa="#FF6F2C",Na={100:"#FFDCE5",300:"#FF9EB7",500:"#F82B60",700:"#D31A3D",900:"#BA1E45"},Pa="#8B46FF",Ra={100:"#CFDFFF",300:"#9CC7FF",500:"#2D7FF9",700:"#0056B3",900:"#2750AE"},Ma="#18BFFF",_a="#20D9D2",Fa={100:"#D1F7C4",300:"#93E088",500:"#20C933",700:"#1B9B2A",900:"#338A17"},Ga={blue:Ra[500],cyan:Ma,green:Fa[500],yellow:ka,orange:Oa,red:Na[500],purple:Pa,teal:_a},ja=Object.values(Ga),Ha=[Sa,xa,Ia,La,Da],Ua=["#FFD66E",ka,Oa,"#D74D26",Na[500]],Ya=[Pa,Ra[500],Ma,_a,Fa[500]],za=[Fa[900],Fa[500],ka,Oa,Na[500]],Wa=Object.values(Na),Va=Object.values(Fa),$a=Object.values(Ra),qa=Ra[500],Qa={width:450,height:300,padding:60,colorScale:ja},Ka={fontFamily:"'Inter', 'Helvetica Neue', 'Seravek', 'Helvetica', sans-serif",fontSize:12,fontWeight:300,letterSpacing:"normal",padding:8,fill:Da,stroke:"transparent"},Xa=Object.assign({textAnchor:"middle"},Ka),Za="10, 5",Ja="round",er="round",tr={grayscale:oa,material:Ba,clean:{palette:{colors:Ga,grayscale:Ha,qualitative:ja,heatmap:za,warm:Ua,cool:Ya,red:Wa,green:Va,blue:$a},area:Object.assign({style:{data:{fill:qa,strokeWidth:2,fillOpacity:.5},labels:Ka}},Qa),axis:Object.assign({style:{axis:{fill:"transparent",stroke:Ia,strokeWidth:1,strokeLinecap:Ja,strokeLinejoin:er},axisLabel:Object.assign({},Xa,{padding:35,stroke:"transparent"}),grid:{fill:"none",stroke:"none",painterEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:"transparent"},tickLabels:Ka}},Qa),polarAxis:Object.assign({style:{axis:{stroke:Ia},grid:{stroke:wa,strokeDasharray:Za,strokeLinecap:Ja,strokeLinejoin:er,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:wa,strokeWidth:1,strokeLinecap:Ja,strokeLinejoin:er},tickLabels:Ka}}),polarDependentAxis:Object.assign({style:{axis:{stroke:Ia},grid:{stroke:wa,strokeDasharray:Za,strokeLinecap:Ja,strokeLinejoin:er,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:xa,strokeWidth:1,strokeLinecap:Ja,strokeLinejoin:er},tickLabels:Ka}}),bar:Object.assign({style:{data:{fill:qa,padding:8,strokeWidth:1,fillOpacity:.5},labels:Ka},cornerRadius:{top:1}},Qa),boxplot:Object.assign({style:{max:{padding:8,stroke:wa,strokeWidth:2},maxLabels:Object.assign({},Ka,{padding:3}),median:{padding:8,stroke:Ta,strokeWidth:2},medianLabels:Object.assign({},Ka,{padding:3}),min:{padding:8,stroke:wa,strokeWidth:2},minLabels:Object.assign({},Ka,{padding:3}),q1:{padding:8,fill:ja[0],rx:1,strokeWidth:2},q1Labels:Object.assign({},Ka,{padding:3}),q3:{padding:8,fill:ja[1],rx:1},q3Labels:Object.assign({},Ka,{padding:3})},boxWidth:20},Qa),candlestick:Object.assign({style:{data:{stroke:xa,strokeWidth:0,rx:1},labels:Object.assign({},Ka,{padding:5})},candleColors:{positive:Fa[500],negative:Na[500]},wickStrokeWidth:2},Qa),chart:Qa,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:La,strokeWidth:2,strokeLinecap:Ja},labels:Ka}},Qa),group:Object.assign({colorScale:ja},Qa),histogram:Object.assign({style:{data:{fill:Ma,fillOpacity:.5},labels:Ka},binSpacing:4,cornerRadius:{top:1}},Qa),label:Ka,legend:{colorScale:ja,gutter:24,borderPadding:10,orientation:"horizontal",titleOrientation:"top",centerTitle:!0,style:{data:{type:"circle"},labels:{...Ka,fontSize:12},title:Object.assign({},Ka,{padding:8,fontSize:16}),border:{stroke:"#E8E8E8",strokeWidth:2,padding:16}}},line:Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:qa,strokeWidth:2,strokeLinecap:Ja,strokeLinejoin:er},labels:Ka}},Qa),pie:Object.assign({style:{parent:{backgroundColor:Ta},data:{padding:8,stroke:Ta,strokeWidth:1},labels:{...Ka,padding:20,fill:"#5C5C5C",fontSize:10}},colorScale:ja,cornerRadius:1},Qa),scatter:Object.assign({style:{data:{fill:qa,opacity:1,stroke:"transparent",strokeWidth:0},labels:{...Ka,padding:20}}},Qa),stack:Object.assign({colorScale:ja},Qa),tooltip:{style:Object.assign({},Ka,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:xa,strokeWidth:2,fill:Ta,pointerEvents:"none"},flyoutPadding:{top:8,bottom:8,left:16,right:16},cornerRadius:1,pointerLength:4},voronoi:Object.assign({style:{data:{fill:Ra[100],stroke:qa,strokeWidth:2},labels:Object.assign({},Ka,{padding:5,pointerEvents:"none"}),flyout:{stroke:Da,strokeWidth:1,fill:Sa,pointerEvents:"none"},padding:{left:2,bottom:2}}},Qa)}},nr=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if(n.length>0)return n.reduce(((e,t)=>[e,nr(t)].join(" ")),nr(e)).trim();if(null==e||"string"==typeof e)return e;const r=[];for(const t in e)if(e.hasOwnProperty(t)){const n=e[t];r.push(`${t}(${n})`)}return r.join(" ").trim()};function ar(e,t){void 0===t&&(t=tr.material);const{palette:{grayscale:n=["#cccccc","#969696","#636363","#252525"],qualitative:a=[],heatmap:r=[],warm:o=[],cool:i=[],red:s=[],blue:l=[],green:d=[]}={}}=t,u={grayscale:n,qualitative:a,heatmap:r,warm:o,cool:i,red:s,blue:l,green:d};return e&&u[e]?.length?u[e]:u.grayscale}var rr=n(50104),or=n.n(rr);const ir={"American Typewriter":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.4203125,.3296875,.6,.6375,.8015625,.8203125,.1875,.45625,.45625,.6375,.5,.2734375,.309375,.2734375,.4390625,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.2734375,.2734375,.5,.5,.5,.6,.6921875,.7640625,.6921875,.6375,.728125,.6734375,.6203125,.7109375,.784375,.3828125,.6421875,.7859375,.6375,.9484375,.7640625,.65625,.6375,.65625,.7296875,.6203125,.6375,.7109375,.740625,.940625,.784375,.7578125,.6203125,.4375,.5,.4375,.5,.5,.4921875,.5734375,.5890625,.5109375,.6,.528125,.43125,.5578125,.6375,.3109375,.40625,.6234375,.309375,.928125,.6375,.546875,.6,.58125,.4921875,.4921875,.4,.6203125,.625,.825,.6375,.640625,.528125,.5,.5,.5,.6671875],avg:.5793421052631578},Arial:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.278125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.584375,.584375,.584375,.55625,1.015625,.6703125,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.278125,.278125,.4703125,.584375,.334375,.55625,.55625,.5,.55625,.55625,.3125,.55625,.55625,.2234375,.2703125,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.346875,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.334375,.2609375,.334375,.584375],avg:.528733552631579},"Arial Black":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.33125,.334375,.5,.6609375,.6671875,1,.890625,.278125,.390625,.390625,.55625,.6609375,.334375,.334375,.334375,.28125,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.334375,.334375,.6609375,.6609375,.6609375,.6109375,.7453125,.78125,.778125,.778125,.778125,.7234375,.6671875,.834375,.834375,.390625,.6671875,.834375,.6671875,.9453125,.834375,.834375,.7234375,.834375,.78125,.7234375,.7234375,.834375,.7796875,1.003125,.78125,.78125,.7234375,.390625,.28125,.390625,.6609375,.5125,.334375,.6671875,.6671875,.6671875,.6671875,.6671875,.41875,.6671875,.6671875,.334375,.384375,.6671875,.334375,1,.6671875,.6671875,.6671875,.6671875,.4703125,.6109375,.4453125,.6671875,.6140625,.946875,.6671875,.615625,.55625,.390625,.278125,.390625,.6609375],avg:.6213157894736842},Baskerville:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.25,.40625,.6671875,.490625,.875,.7015625,.178125,.2453125,.246875,.4171875,.6671875,.25,.3125,.25,.521875,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.6671875,.6671875,.6671875,.396875,.9171875,.684375,.615625,.71875,.7609375,.625,.553125,.771875,.803125,.3546875,.515625,.78125,.6046875,.928125,.75,.8234375,.5625,.96875,.7296875,.5421875,.6984375,.771875,.7296875,.9484375,.771875,.678125,.6359375,.3640625,.521875,.3640625,.46875,.5125,.334375,.46875,.521875,.428125,.521875,.4375,.3890625,.4765625,.53125,.25,.359375,.4640625,.240625,.803125,.53125,.5,.521875,.521875,.365625,.334375,.2921875,.521875,.4640625,.678125,.4796875,.465625,.428125,.4796875,.5109375,.4796875,.6671875],avg:.5323519736842108},Courier:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},"Courier New":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6015296052631579},cursive:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1921875,.24375,.40625,.5671875,.3984375,.721875,.909375,.2328125,.434375,.365625,.4734375,.5578125,.19375,.3484375,.19375,.7734375,.503125,.4171875,.5453125,.45,.6046875,.4703125,.5984375,.55625,.503125,.5546875,.20625,.2,.5625,.5546875,.546875,.403125,.70625,.734375,.7078125,.64375,.85,.753125,.75,.6484375,1.0765625,.44375,.5359375,.8359375,.653125,1.0109375,1.1515625,.6796875,.6984375,1.0625,.8234375,.5125,.9234375,.8546875,.70625,.9109375,.7421875,.715625,.6015625,.4640625,.3359375,.4109375,.5421875,.5421875,.4328125,.5125,.5,.3859375,.7375,.359375,.75625,.540625,.5328125,.3203125,.5296875,.5015625,.484375,.7890625,.5640625,.4203125,.703125,.471875,.4734375,.35,.4125,.5640625,.471875,.6484375,.5296875,.575,.4140625,.415625,.20625,.3796875,.5421875],avg:.5604440789473684},fantasy:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.2625,.3265625,.6109375,.534375,.7625,.7828125,.2,.4359375,.4359375,.3765625,.5109375,.2796875,.4609375,.2796875,.5296875,.6640625,.253125,.521875,.4765625,.6640625,.490625,.528125,.5546875,.496875,.5421875,.2796875,.2796875,.5625,.4609375,.5625,.4828125,.609375,.740625,.7234375,.740625,.8265625,.7234375,.6171875,.7359375,.765625,.240625,.5453125,.715625,.6078125,.8640625,.653125,.9125,.6484375,.946875,.6921875,.653125,.6953125,.8015625,.58125,.784375,.671875,.6265625,.690625,.4359375,.5296875,.4359375,.53125,.5,.2875,.5375,.603125,.4984375,.60625,.53125,.434375,.6421875,.56875,.209375,.4671875,.5484375,.2203125,.709375,.55,.5984375,.6140625,.5765625,.40625,.4734375,.3734375,.559375,.4421875,.6421875,.4890625,.578125,.4484375,.2546875,.2203125,.2546875,.55],avg:.536496710526316},Geneva:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3328125,.3046875,.5,.6671875,.6671875,.90625,.728125,.3046875,.446875,.446875,.5078125,.6671875,.3046875,.3796875,.3046875,.5390625,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.3046875,.3046875,.6671875,.6671875,.6671875,.56875,.871875,.728125,.6375,.6515625,.7015625,.5765625,.5546875,.675,.690625,.2421875,.4921875,.6640625,.584375,.7890625,.709375,.7359375,.584375,.78125,.60625,.60625,.640625,.6671875,.728125,.946875,.6109375,.6109375,.5765625,.446875,.5390625,.446875,.6671875,.6671875,.5921875,.5546875,.6109375,.546875,.603125,.5765625,.390625,.6109375,.584375,.2359375,.334375,.5390625,.2359375,.8953125,.584375,.60625,.603125,.603125,.3875,.509375,.44375,.584375,.565625,.78125,.53125,.571875,.5546875,.4515625,.246875,.4515625,.6671875],avg:.5762664473684211},Georgia:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2421875,.33125,.4125,.64375,.6109375,.81875,.7109375,.215625,.375,.375,.4734375,.64375,.2703125,.375,.2703125,.46875,.6140625,.4296875,.559375,.553125,.565625,.5296875,.5671875,.503125,.596875,.5671875,.3125,.3125,.64375,.64375,.64375,.4796875,.9296875,.715625,.6546875,.6421875,.75,.6546875,.6,.7265625,.815625,.390625,.51875,.7203125,.6046875,.928125,.7671875,.7453125,.6109375,.7453125,.7234375,.5625,.61875,.7578125,.70625,.99375,.7125,.6640625,.6015625,.375,.46875,.375,.64375,.65,.5,.5046875,.56875,.4546875,.575,.484375,.39375,.509375,.5828125,.29375,.3671875,.546875,.2875,.88125,.5921875,.5390625,.571875,.5640625,.4109375,.4328125,.3453125,.5765625,.5203125,.75625,.50625,.5171875,.4453125,.43125,.375,.43125,.64375],avg:.5551809210526316},"Gill Sans":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2765625,.271875,.3546875,.584375,.5421875,.6765625,.625,.1890625,.3234375,.3234375,.4171875,.584375,.2203125,.3234375,.2203125,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.2203125,.2296875,.584375,.584375,.584375,.334375,1.0109375,.6671875,.5640625,.709375,.75,.5,.4703125,.740625,.7296875,.25,.3125,.65625,.490625,.78125,.78125,.8234375,.5109375,.8234375,.6046875,.459375,.6046875,.709375,.6046875,1.0421875,.709375,.6046875,.646875,.334375,.28125,.334375,.4703125,.5828125,.334375,.428125,.5,.4390625,.5109375,.4796875,.296875,.428125,.5,.2203125,.2265625,.5,.2203125,.771875,.5,.553125,.5,.5,.3984375,.3859375,.334375,.5,.4390625,.7203125,.5,.4390625,.4171875,.334375,.2609375,.334375,.584375],avg:.4933717105263159},Helvetica:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2796875,.2765625,.3546875,.5546875,.5546875,.8890625,.665625,.190625,.3328125,.3328125,.3890625,.5828125,.2765625,.3328125,.2765625,.3015625,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.2765625,.2765625,.584375,.5828125,.584375,.5546875,1.0140625,.665625,.665625,.721875,.721875,.665625,.609375,.7765625,.721875,.2765625,.5,.665625,.5546875,.8328125,.721875,.7765625,.665625,.7765625,.721875,.665625,.609375,.721875,.665625,.94375,.665625,.665625,.609375,.2765625,.3546875,.2765625,.4765625,.5546875,.3328125,.5546875,.5546875,.5,.5546875,.5546875,.2765625,.5546875,.5546875,.221875,.240625,.5,.221875,.8328125,.5546875,.5546875,.5546875,.5546875,.3328125,.5,.2765625,.5546875,.5,.721875,.5,.5,.5,.3546875,.259375,.353125,.5890625],avg:.5279276315789471},"Helvetica Neue":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.259375,.4265625,.55625,.55625,1,.6453125,.278125,.2703125,.26875,.353125,.6,.278125,.3890625,.278125,.36875,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.6,.6,.6,.55625,.8,.6625,.6859375,.7234375,.7046875,.6125,.575,.759375,.7234375,.259375,.5203125,.6703125,.55625,.871875,.7234375,.7609375,.6484375,.7609375,.6859375,.6484375,.575,.7234375,.6140625,.9265625,.6125,.6484375,.6125,.259375,.36875,.259375,.6,.5,.25625,.5375,.59375,.5375,.59375,.5375,.2984375,.575,.55625,.2234375,.2375,.5203125,.2234375,.853125,.55625,.575,.59375,.59375,.334375,.5,.315625,.55625,.5,.759375,.51875,.5,.48125,.334375,.2234375,.334375,.6],avg:.5279440789473684},"Hoefler Text":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2359375,.2234375,.3921875,.7125,.49375,.8859375,.771875,.2125,.3078125,.309375,.375,.4234375,.234375,.3125,.234375,.3,.5828125,.365625,.434375,.3921875,.5234375,.3984375,.5125,.4328125,.46875,.5125,.234375,.234375,.515625,.4234375,.515625,.340625,.7609375,.7359375,.6359375,.721875,.8125,.6375,.5875,.8078125,.853125,.4296875,.503125,.78125,.609375,.9609375,.8515625,.8140625,.6125,.8140625,.71875,.49375,.7125,.76875,.771875,1.125,.7765625,.7734375,.65625,.321875,.3078125,.321875,.3546875,.5,.3375,.446875,.5359375,.45,.5296875,.4546875,.425,.4921875,.54375,.2671875,.240625,.5390625,.25,.815625,.5375,.5234375,.5390625,.5421875,.365625,.36875,.35625,.5171875,.5015625,.75,.5,.509375,.44375,.2421875,.14375,.2421875,.35],avg:.5116447368421051},Inter:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2796875,.2890625,.4671875,.634375,.6421875,.9828125,.6453125,.3,.365625,.365625,.5015625,.6625,.2890625,.4609375,.2890625,.3609375,.63125,.4078125,.6109375,.61875,.646875,.59375,.6203125,.5671875,.61875,.6203125,.2890625,.303125,.6625,.6625,.6625,.5125,.9671875,.690625,.6546875,.73125,.721875,.6015625,.590625,.746875,.74375,.26875,.571875,.671875,.565625,.9046875,.7546875,.765625,.6390625,.765625,.64375,.6421875,.646875,.7453125,.690625,.9859375,.6828125,.6796875,.6296875,.365625,.3609375,.365625,.471875,.45625,.3234375,.5625,.6125,.571875,.6125,.584375,.3703125,.6140625,.5921875,.2421875,.2548828125,.55,.2421875,.8765625,.5921875,.6,.6125,.6125,.3765625,.528125,.328125,.5921875,.5625,.81875,.546875,.5625,.553125,.4265625,.3328125,.4265625,.6625],avg:.5624362664473683},Montserrat:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2625,.2609375,.3734375,.696875,.615625,.8296875,.6703125,.203125,.3296875,.3296875,.3875,.575,.2125,.3828125,.2125,.3953125,.6625,.3625,.56875,.5640625,.6625,.5671875,.609375,.5890625,.6390625,.609375,.2125,.2125,.575,.575,.575,.5671875,1.034375,.7171875,.7546875,.7203125,.8265625,.6703125,.634375,.7734375,.8140625,.303125,.5078125,.7125,.5890625,.95625,.8140625,.8390625,.71875,.8390625,.7234375,.615625,.575,.7921875,.6984375,1.1125,.65625,.6359375,.6515625,.31875,.396875,.31875,.5765625,.5,.6,.590625,.678125,.5640625,.678125,.6046875,.375,.6875,.678125,.2703125,.365625,.6015625,.2703125,1.0625,.678125,.628125,.678125,.678125,.4015625,.4890625,.40625,.6734375,.5421875,.8796875,.534375,.5671875,.5125,.334375,.2953125,.334375,.575],avg:.571792763157895},monospace:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},Overpass:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2296875,.2765625,.4203125,.68125,.584375,.8515625,.7015625,.2203125,.3453125,.3453125,.53125,.63125,.2234375,.3953125,.2234375,.509375,.65,.4046875,.6171875,.60625,.6484375,.60625,.6015625,.5375,.615625,.6015625,.2234375,.2234375,.63125,.63125,.63125,.5015625,.8203125,.696875,.6671875,.65,.6859375,.6015625,.559375,.690625,.7078125,.2953125,.565625,.678125,.58125,.8046875,.7109375,.740625,.6421875,.740625,.6765625,.6046875,.590625,.696875,.6640625,.853125,.65,.6671875,.6625,.3734375,.509375,.3734375,.63125,.5125,.4,.5328125,.5625,.51875,.5625,.546875,.3359375,.5625,.565625,.25625,.3203125,.55,.265625,.85,.565625,.5671875,.5625,.5625,.4046875,.4765625,.3796875,.565625,.521875,.7265625,.53125,.5390625,.5125,.3671875,.275,.3671875,.63125],avg:.5430756578947369},Palatino:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.278125,.371875,.60625,.5,.840625,.778125,.209375,.334375,.334375,.390625,.60625,.2578125,.334375,.25,.60625,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.60625,.60625,.60625,.4453125,.7484375,.778125,.6109375,.709375,.775,.6109375,.55625,.7640625,.8328125,.3375,.346875,.7265625,.6109375,.946875,.83125,.7875,.6046875,.7875,.66875,.525,.6140625,.778125,.7234375,1,.6671875,.6671875,.6671875,.334375,.60625,.334375,.60625,.5,.334375,.5,.565625,.4453125,.6109375,.4796875,.340625,.55625,.5828125,.2921875,.2671875,.5640625,.2921875,.8828125,.5828125,.546875,.6015625,.5609375,.3953125,.425,.3265625,.603125,.565625,.834375,.5171875,.55625,.5,.334375,.60625,.334375,.60625],avg:.5408552631578947},RedHatText:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2328125,.2203125,.35625,.6890625,.55,.7390625,.6703125,.2140625,.4015625,.4015625,.4546875,.53125,.2203125,.45625,.2203125,.515625,.6609375,.3078125,.5484375,.5875,.61875,.5703125,.6203125,.559375,.6140625,.6203125,.2203125,.2234375,.465625,.534375,.465625,.5125,.7671875,.6609375,.6703125,.7265625,.728125,.6203125,.6109375,.8,.73125,.253125,.6,.6125,.6078125,.8625,.7390625,.8109375,.6546875,.809375,.6484375,.6234375,.6171875,.7125,.6609375,.8984375,.6546875,.646875,.60625,.3625,.5203125,.3625,.540625,.4609375,.5234375,.5265625,.584375,.509375,.5828125,.5578125,.3703125,.5828125,.553125,.2234375,.24375,.4890625,.2234375,.8453125,.553125,.58125,.584375,.5828125,.353125,.453125,.378125,.553125,.5015625,.6984375,.4875,.4984375,.459375,.3953125,.2921875,.3953125,.58125],avg:.5341940789473685},"sans-serif":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.303125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.5859375,.584375,.5859375,.55625,1.015625,.6671875,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.35625,.278125,.478125,.55625,.334375,.55625,.55625,.5,.55625,.55625,.278125,.55625,.55625,.2234375,.2421875,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.334375,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.35625,.2609375,.3546875,.590625],avg:.5293256578947368},Seravek:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.296875,.4171875,.6734375,.4953125,.9125,.740625,.2421875,.3375,.3375,.409375,.60625,.2609375,.35625,.25625,.41875,.5921875,.3515625,.475,.4875,.5375,.509375,.5484375,.4546875,.5421875,.5484375,.25625,.2546875,.5875,.6171875,.5875,.4578125,.8140625,.6765625,.5703125,.6109375,.684375,.5109375,.4953125,.678125,.6859375,.2625,.2625,.5859375,.4734375,.846875,.709375,.740625,.509375,.740625,.584375,.5015625,.528125,.675,.5953125,.9453125,.596875,.540625,.540625,.359375,.4203125,.359375,.5109375,.421875,.4046875,.5015625,.5421875,.446875,.5453125,.484375,.38125,.5140625,.5546875,.240625,.2640625,.490625,.2765625,.8625,.5546875,.546875,.5453125,.5453125,.3625,.41875,.3890625,.5453125,.4703125,.7546875,.4921875,.4609375,.453125,.4015625,.2640625,.4015625,.58125],avg:.5044078947368421},serif:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.278125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.7234375,.6109375,.890625,.7234375,.7234375,.55625,.7234375,.6671875,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.340625,.334375,.4703125,.5,.3453125,.4453125,.5,.4453125,.5,.4453125,.3828125,.5,.5,.278125,.3359375,.5,.278125,.778125,.5,.5,.5,.5,.3375,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5126315789473684},Tahoma:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3109375,.3328125,.4015625,.728125,.546875,.9765625,.70625,.2109375,.3828125,.3828125,.546875,.728125,.303125,.3640625,.303125,.3953125,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.3546875,.3546875,.728125,.728125,.728125,.475,.909375,.6109375,.590625,.6015625,.6796875,.5625,.521875,.66875,.6765625,.3734375,.4171875,.6046875,.4984375,.771875,.66875,.7078125,.5515625,.7078125,.6375,.5578125,.5875,.65625,.60625,.903125,.58125,.5890625,.559375,.3828125,.39375,.3828125,.728125,.5625,.546875,.525,.553125,.4625,.553125,.5265625,.3546875,.553125,.5578125,.2296875,.328125,.51875,.2296875,.840625,.5578125,.54375,.553125,.553125,.3609375,.446875,.3359375,.5578125,.4984375,.7421875,.4953125,.4984375,.4453125,.48125,.3828125,.48125,.728125],avg:.5384374999999998},"Times New Roman":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.73125,.6109375,.890625,.7375,.7234375,.55625,.7234375,.6765625,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.28125,.334375,.4703125,.51875,.334375,.4453125,.503125,.4453125,.503125,.4453125,.4359375,.5,.5,.278125,.35625,.50625,.278125,.778125,.5,.5,.5046875,.5,.340625,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5134375},"Trebuchet MS":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3015625,.3671875,.325,.53125,.525,.6015625,.70625,.1609375,.3671875,.3671875,.3671875,.525,.3671875,.3671875,.3671875,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.3671875,.3671875,.525,.525,.525,.3671875,.771875,.590625,.5671875,.5984375,.6140625,.5359375,.525,.6765625,.6546875,.2796875,.4765625,.5765625,.5078125,.7109375,.6390625,.675,.5578125,.7421875,.5828125,.48125,.58125,.6484375,.5875,.853125,.5578125,.5703125,.5515625,.3671875,.3578125,.3671875,.525,.53125,.525,.5265625,.5578125,.4953125,.5578125,.546875,.375,.503125,.546875,.2859375,.3671875,.5046875,.2953125,.83125,.546875,.5375,.5578125,.5578125,.3890625,.40625,.396875,.546875,.490625,.7453125,.5015625,.49375,.475,.3671875,.525,.3671875,.525],avg:.5085197368421052},Verdana:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.35,.39375,.459375,.81875,.6359375,1.0765625,.759375,.26875,.4546875,.4546875,.6359375,.81875,.3640625,.4546875,.3640625,.4703125,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.4546875,.4546875,.81875,.81875,.81875,.546875,1,.684375,.6859375,.6984375,.771875,.6328125,.575,.7765625,.7515625,.421875,.4546875,.69375,.5578125,.84375,.7484375,.7875,.603125,.7875,.7,.684375,.6171875,.7328125,.684375,.9890625,.6859375,.615625,.6859375,.4546875,.46875,.4546875,.81875,.6421875,.6359375,.6015625,.6234375,.521875,.6234375,.596875,.384375,.6234375,.6328125,.275,.3765625,.5921875,.275,.9734375,.6328125,.6078125,.6234375,.6234375,.43125,.521875,.3953125,.6328125,.5921875,.81875,.5921875,.5921875,.5265625,.6359375,.4546875,.6359375,.81875],avg:.6171875000000003}},sr={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},lr={em:1,ex:.5},dr={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},ur=e=>Array.isArray(e)?e:e.toString().split(/\r\n|\r|\n/g),cr=(e,t,n)=>{const a=(e=>e*Math.PI/180)(n);return Math.abs(Math.cos(a)*e)+Math.abs(Math.sin(a)*t)},fr=(e,t)=>{const n=e.match(/[a-zA-Z%]+/)?.[0],a=Number(e.match(/[0-9.,]+/));let r;return r=n?sr.hasOwnProperty(n)?a*sr[n]:lr.hasOwnProperty(n)?(t?a*t:a*dr.fontSize)*lr[n]:a:a||0,r},Ar=(e,t)=>{const n=Array.isArray(e)?e[t]:e,a=qt()({},n,dr);return Object.assign({},a,{fontFamily:a.fontFamily,letterSpacing:"number"==typeof a.letterSpacing?a.letterSpacing:fr(String(a.letterSpacing),a.fontSize),fontSize:"number"==typeof a.fontSize?a.fontSize:fr(String(a.fontSize))})},pr=(e,t)=>{const n=Array.isArray(t)?t[0]&&t[0].angle:t&&t.angle,a=((e,t)=>void 0===e||""===e||null===e?0:ur(e).reduce(((e,n,a)=>{const r=Ar(t,a),o=n.toString().match(/[(A-Z)(0-9)]/)?1.15*r.fontSize:r.fontSize;return e+r.lineHeight*o}),0))(e,t),r=((e,t)=>{if(void 0===e||""===e||null===e)return 0;const n=ur(e).map(((e,n)=>{const a=e.toString().length,{fontSize:r,letterSpacing:o,fontFamily:i}=Ar(t,n),s=(e=>{const t=e.split(",").map((e=>e.replace(/'|"/g,""))).find((e=>ir[e]))||"Helvetica";return ir[t]})(i);return e.toString().split("").map((e=>e.charCodeAt(0)<s.widths.length?s.widths[e.charCodeAt(0)]:s.avg)).reduce(((e,t)=>t+e),0)*r+o*Math.max(a-1,0)}));return Math.max(...n)})(e,t);return{width:n?cr(r,a,n):r,height:1.05*(n?cr(a,r,n):a)}},gr=or()((()=>{const e=document.createElementNS("http://www.w3.org/2000/svg","svg");e.setAttribute("xlink","http://www.w3.org/1999/xlink"),e.setAttribute("width","300"),e.setAttribute("height","300"),e.setAttribute("viewBox","0 0 300 300"),e.setAttribute("aria-hidden","true");const t=document.createElementNS("http://www.w3.org/2000/svg","text");return e.appendChild(t),e.style.position="fixed",e.style.top="-9999px",e.style.left="-9999px",document.body.appendChild(e),t})),mr=e=>e?`${e.angle}:${e.fontFamily}:${e.fontSize}:${e.letterSpacing}:${e.lineHeight}`:"null",hr=or()(((e,t)=>{let n=gr();n.isConnected||(gr.cache.clear?.(),n=gr());const a=ur(e);let r=0;for(const[e,o]of a.entries()){const a=document.createElementNS("http://www.w3.org/2000/svg","tspan"),i=Ar(t,e);a.style.fontFamily=i.fontFamily,a.style.fontSize=`${i.fontSize}px`,a.style.lineHeight=i.lineHeight,a.style.fontFamily=i.fontFamily,a.style.letterSpacing=i.letterSpacing,a.textContent=o,a.setAttribute("x","0"),a.setAttribute("y",`${r}`),n.appendChild(a),r+=i.lineHeight*a.getBoundingClientRect().height}const{width:o}=n.getBoundingClientRect();return n.innerHTML="",{width:t?.angle?cr(o,r,t?.angle):o,height:t?.angle?cr(r,o,t?.angle):r}}),((e,t)=>`${Array.isArray(e)?e.join():e}::${Array.isArray(t)?t.map(mr).join():mr(t)}`)),br={impl:function(e,t,n){return void 0===n&&(n=!1),"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||n?pr(e,t):hr(e,t)}},yr=(e,t)=>br.impl(e,t),vr={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},Er=(e,t)=>e.datum?nn(e,e.datum)[t]:0,Cr=e=>{const t=e&&e.fontSize;if("number"==typeof t)return t;if(null==t)return vr.fontSize;if("string"==typeof t){const e=Number(t.replace("px",""));return isNaN(e)?vr.fontSize:e}return vr.fontSize},Br=function(e,t){return void 0===t&&(t=0),Array.isArray(e)?e[t]||e[0]:e},Tr=e=>{const{backgroundStyle:t,backgroundPadding:n}=e;return Array.isArray(t)&&!Fn()(t)||Array.isArray(n)&&!Fn()(n)},Sr=(e,t)=>{const{direction:n,textAnchor:a,x:r,dx:o}=e;if("rtl"===n)return r-t;switch(a){case"middle":return Math.round(r-t/2);case"end":return Math.round(r-t);default:return r+(o||0)}},xr=(e,t)=>{const{verticalAnchor:n,y:a,originalDy:r=0}=e,o=a+r;switch(n){case"start":return Math.floor(o);case"end":return Math.ceil(o-t);default:return Math.floor(o-t/2)}},wr=(e,t)=>Tr(e)?((e,t)=>{const{dy:n,dx:a,transform:r,backgroundStyle:o,backgroundPadding:i,backgroundComponent:s,inline:l,y:d}=e,u=t.map(((e,r)=>{const o=Br(t,r-1),s=e.textSize,u=e.fontSize*e.lineHeight,c=Math.ceil(u),f=Br(i,r),A=Br(i,r-1),p=l&&a||0,g=r&&!l?o.fontSize*o.lineHeight+A.top+A.bottom:n-.5*u-(e.fontSize-e.capHeight);return{textHeight:c,labelSize:s,heightWithPadding:c+f.top+f.bottom,widthWithPadding:s.width+f.left+f.right+p,y:d,fontSize:e.fontSize,dy:g}}));return u.map(((t,n)=>{const a=Sr(e,t.labelSize.width),c=u.slice(0,n+1).reduce(((e,t)=>e+t.dy),d),f=Br(i,n),A=t.heightWithPadding,p=l?((e,t,n)=>{const{textAnchor:a}=e,r=t.map((e=>e.widthWithPadding)),o=-r.reduce(((e,t)=>e+t),0)/2;switch(a){case"start":return r.reduce(((e,t,a)=>a<n?e+t:e),0);case"end":return r.reduce(((e,t,a)=>a>n?e-t:e),0);default:return r.reduce(((e,t,a)=>a===n?e+t/2:e+(a<n?t:0)),o)}})(e,u,n)+a-f.left:a,g=l?xr(e,A)-f.top:c,m={key:`tspan-background-${n}`,height:A,style:Br(o,n),width:t.widthWithPadding,transform:r,x:p-f.left,y:g};return w().cloneElement(s,qt()({},s.props,m))}))})(e,t):((e,t)=>{const{dx:n=0,transform:a,backgroundComponent:r,backgroundStyle:o,inline:i,backgroundPadding:s,capHeight:l}=e,d=t.map((e=>e.textSize)),u=i?Math.max(...d.map((e=>e.height))):d.reduce(((e,n,a)=>{const r=a?0:l/2;return e+n.height*(t[a].lineHeight-r)}),0),c=i?d.reduce(((e,t,a)=>{const r=a?n:0;return e+t.width+r}),0):Math.max(...d.map((e=>e.width))),f=Sr(e,c),A=xr(e,u),p={key:"background",height:u+s.top+s.bottom,style:o,transform:a,width:c+s.left+s.right,x:i?f-s.left:f+n-s.left,y:A};return w().cloneElement(r,qt()({},r.props,p))})(e,t),Ir=(e,t,n)=>{const{inline:a}=t,r=Br(e,n);return n&&!a?((e,t,n)=>{const a=Br(e,t),r=Br(e,t-1),o=r.fontSize*r.lineHeight,i=a.fontSize*a.lineHeight,s=r.fontSize-r.capHeight,l=a.fontSize-a.capHeight,d=o-r.fontSize/2+a.fontSize/2-o/2+i/2-l/2+s/2;return Tr(n)?d+a.backgroundPadding.top+r.backgroundPadding.bottom:d})(e,n,t):a?0===n?r.backgroundPadding.top:void 0:r.backgroundPadding.top},Lr={backgroundComponent:w().createElement(Yn,null),groupComponent:w().createElement("g",null),direction:"inherit",textComponent:w().createElement(zn,null),tspanComponent:w().createElement(Wn,null),capHeight:.71,lineHeight:1},Dr=e=>{const t=(e=>{const t=((e,t)=>{if(null==e)return;if(Array.isArray(e))return e.map((e=>ln(e,t)));const n=ln(e,t);return null!=n?Array.isArray(n)?n:`${n}`.split("\n"):void 0})(e.text,e),n=((e,t)=>{if(t.disableInlineStyles){const n=dn(e,t);return{fontSize:Cr(n)}}const n=e=>{const n=dn(e?qt()({},e,vr):vr,t);return Object.assign({},n,{fontSize:Cr(n)})};return Array.isArray(e)&&!Fn()(e)?e.map((e=>n(e))):n(e)})(e.style,Object.assign({},e,{text:t})),a=((e,t)=>{if(e)return Array.isArray(e)&&!Fn()(e)?e.map((e=>dn(e,t))):dn(e,t)})(e.backgroundStyle,Object.assign({},e,{text:t,style:n})),r=(e=>e.backgroundPadding&&Array.isArray(e.backgroundPadding)?e.backgroundPadding.map((t=>an(ln(t,e)))):an(ln(e.backgroundPadding,e)))(Object.assign({},e,{text:t,style:n,backgroundStyle:a})),o=ln(e.id,e);return Object.assign({},e,{backgroundStyle:a,backgroundPadding:r,style:n,text:t,id:o})})(qt()({},e,Lr));if(null===t.text||void 0===t.text)return null;const n=(e=>{const t=ln(e.ariaLabel,e),n=Br(e.style),a=(e=>{const t=ln(e.lineHeight,e);return Array.isArray(t)&&Fn()(t)?[1]:t})(e),r=e.direction?ln(e.direction,e):"inherit",o=e.textAnchor?ln(e.textAnchor,e):n.textAnchor||"start",i=e.verticalAnchor?ln(e.verticalAnchor,e):n.verticalAnchor||"middle",s=e.dx?ln(e.dx,e):0,l=((e,t,n)=>{const a=e.dy?ln(e.dy,e):0,r=e.inline?1:e.text.length,o=ln(e.capHeight,e),i=t?ln(t,e):"middle",s=[...Array(r).keys()].map((t=>Br(e.style,t).fontSize)),l=[...Array(r).keys()].map((e=>Br(n,e)));if("start"===i)return a+(o/2+l[0]/2)*s[0];if(e.inline)return"end"===i?a+(o/2-l[0]/2)*s[0]:a+o/2*s[0];if(1===r)return"end"===i?a+(o/2+(.5-r)*l[0])*s[0]:a+(o/2+(.5-r/2)*l[0])*s[0];const d=[...Array(r).keys()].reduce(((e,t)=>e+(o/2+(.5-r)*l[t])*s[t]/r),0);return"end"===i?a+d:a+d/2+o/2*l[r-1]*s[r-1]})(e,i,a),d=void 0!==e.x?e.x:Er(e,"x"),u=void 0!==e.y?e.y:Er(e,"y"),c=((e,t,n)=>{const{polar:a}=e,r=Br(e.style),o=a?Kn(e):0,i=void 0===r.angle?ln(e.angle,e):r.angle,s=void 0===i?o:i,l=e.transform||r.transform,d=l&&ln(l,e);return d||s?nr(d,s&&{rotate:[s,t,n]}):void 0})(e,d,u);return Object.assign({},e,{ariaLabel:t,lineHeight:a,direction:r,textAnchor:o,verticalAnchor:i,dx:s,dy:l,originalDy:ln(e.dy,e),transform:c,x:d,y:u})})(t),{text:a,style:r,capHeight:o,backgroundPadding:i,lineHeight:s}=n,l=a.map(((e,t)=>{const n=Br(r,t),a=fr(`${o}em`,n.fontSize),l=Br(s,t);return{style:n,fontSize:n.fontSize||vr.fontSize,capHeight:a,text:e,textSize:yr(e,n),lineHeight:l,backgroundPadding:Br(i,t)}})),d=((e,t)=>{const{ariaLabel:n,inline:a,className:r,title:o,events:i,direction:s,text:l,textAnchor:d,dx:u,dy:c,transform:f,x:A,y:p,desc:g,id:m,tabIndex:h,tspanComponent:b,textComponent:y}=e,v=xn(e),E={"aria-label":n,key:"text",...i,direction:s,dx:u,x:A,y:p+c,transform:f,className:r,title:o,desc:ln(g,e),tabIndex:ln(h,e),id:m,...v},C=l.map(((n,r)=>{const o=t[r].style,i={key:`${m}-key-${r}`,x:a?void 0:A,dx:a?u+t[r].backgroundPadding.left:u,dy:Ir(t,e,r),textAnchor:o.textAnchor||d,style:o,children:n};return w().cloneElement(b,i)}));return w().cloneElement(y,E,C)})(n,l);if(t.backgroundStyle){const e=[wr(n,l),d],a=w().cloneElement(t.groupComponent,{},e);return t.renderInPortal?w().createElement(Hn,null,a):a}return t.renderInPortal?w().createElement(Hn,null,d):d};Dr.displayName="VictoryLabel",Dr.role="label",Dr.defaultStyles=vr;var kr=n(30115),Or=n.n(kr);function Nr(e){return Array.isArray(e)&&e.length>0}function Pr(e){return Array.isArray(e)&&e.some((e=>"string"==typeof e))}function Rr(e){return Array.isArray(e)&&e.some((e=>e instanceof Date))}function Mr(e){return Array.isArray(e)&&e.some((e=>"number"==typeof e))}function _r(e){return Nr(e)&&e.every((e=>"string"==typeof e))}function Fr(e,t){return e&&t?e.filter((e=>!t.includes(e))):[]}function Gr(e){return Nr(e)&&e.every(Array.isArray)}function jr(e){return e.filter((e=>void 0!==e))}function Hr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];const r=e.concat(n);return Rr(r)?new Date(Math.max(...r)):Math.max(...r)}function Ur(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];const r=e.concat(n);return Rr(r)?new Date(Math.min(...r)):Math.min(...r)}var Yr=n(83488),zr=n.n(Yr);function Wr(e,t){return(e.key||t).toString()}function Vr(e){return e.reduce(((e,t,n)=>(e[Wr(t,n)]=t,e)),{})}function $r(e,t){let n=!1;const a=Object.keys(e).reduce(((e,a)=>(a in t||(n=!0,e[a]=!0),e)),{});return n&&a}function qr(e){return e.type&&e.type.getData?e.type.getData(e.props):e.props&&e.props.data||!1}function Qr(e,t){let n=!1,a=!1;const r=(e,t)=>e.map(((o,i)=>o&&o.props&&o.props.children&&t[i]?r(w().Children.toArray(e[i].props.children),w().Children.toArray(t[i].props.children)):((e,t)=>{if(!t||e.type!==t.type)return{};const{entering:r,exiting:o}=function(e,t){const n=e&&Vr(e),a=t&&Vr(t);return{entering:n&&$r(a,n),exiting:a&&$r(n,a)}}(qr(e),qr(t))||{};return n=n||!!o,a=a||!!r,{entering:r||!1,exiting:o||!1}})(o,t[i]))),o=r(w().Children.toArray(e),w().Children.toArray(t));return{nodesWillExit:n,nodesWillEnter:a,childrenTransitions:o,nodesShouldEnter:!1}}function Kr(e,t,n){const a=t&&t.nodesWillExit,r=t&&t.nodesWillEnter,o=t&&t.nodesShouldEnter,i=t&&t.nodesShouldLoad,s=t&&t.nodesDoneLoad,l=t&&t.childrenTransitions||[],d={enter:e.animate&&e.animate.onEnter&&e.animate.onEnter.duration,exit:e.animate&&e.animate.onExit&&e.animate.onExit.duration,load:e.animate&&e.animate.onLoad&&e.animate.onLoad.duration,move:e.animate&&e.animate.duration},u=(e,t,a)=>i?function(e,t){const a=Object.assign({},e,{onEnd:()=>{n({nodesShouldLoad:!1,nodesDoneLoad:!0})}});let r=t;if(a&&a.onLoad&&!a.onLoad.duration)return{animate:e,data:t};const o=e.onLoad&&e.onLoad.after?e.onLoad.after:zr();return r=t.map(((e,n)=>Object.assign({},e,o(e,n,t)))),{animate:a,data:r}}(a,t):function(e,t,a){const r=Object.assign({},e,{onEnd:()=>{n({nodesDoneLoad:!0})}});if(r&&r.onLoad&&!r.onLoad.duration)return{animate:r,data:a};const o=r.onLoad&&r.onLoad.before?r.onLoad.before:zr();return{animate:r,data:a.map(((e,t)=>Object.assign({},e,o(e,t,a)))),clipWidth:0}}(a,0,t),c=(e,t,a,r)=>function(e,t,a,r){const o=e&&e.onExit,i=Object.assign({},e,o);let s=a;if(r){e.onEnd=()=>{n({nodesWillExit:!1})};const t=e.onExit&&e.onExit.before?e.onExit.before:zr();s=a.map(((e,n)=>{const o=(e.key||n).toString();return r[o]?Object.assign({},e,t(e,n,a)):e}))}return{animate:i,data:s}}(r,0,a,e),f=(e,t,a,r)=>o?function(e,t,a){const r=e&&e.onEnter,o=Object.assign({},e,r);let i=t;if(a){o.onEnd=()=>{n({nodesWillEnter:!1})};const e=o.onEnter&&o.onEnter.after?o.onEnter.after:zr();i=t.map(((n,r)=>{const o=Wr(n,r);return a[o]?Object.assign({},n,e(n,r,t)):n}))}return{animate:o,data:i}}(r,a,e):function(e,t,a,r){let o=e,i=a;if(r){o=Object.assign({},e,{onEnd:()=>{n({nodesShouldEnter:!0})}});const t=e.onEnter&&e.onEnter.before?e.onEnter.before:zr();i=a.map(((e,n)=>{const o=(e.key||n).toString();return r[o]?Object.assign({},e,t(e,n,a)):e}))}return{animate:o,data:i}}(r,0,a,e),A=function(e,t){const n=e.props.animate;if(!e.type)return{};const a=e.props&&e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;if(a){const e=n[t]&&n[t].duration;return void 0!==e?e:a[t]&&a[t].duration}return{}};return function(n,i){const p=qr(n)||[],g=qt()({},e.animate,n.props.animate),m=n.props.polar&&n.type.defaultPolarTransitions||n.type.defaultTransitions;g.onExit=qt()({},g.onExit,m&&m.onExit),g.onEnter=qt()({},g.onEnter,m&&m.onEnter),g.onLoad=qt()({},g.onLoad,m&&m.onLoad);const h=l[i]||l[0];if(!s){const e={duration:void 0!==d.load?d.load:A(n,"onLoad")};return u(0,p,Object.assign({},g,e))}if(a){const e=h&&h.exiting,t=void 0!==d.exit?d.exit:A(n,"onExit"),a=e?{duration:t}:{delay:t};return c(e,0,p,Object.assign({},g,a))}if(r){const e=h&&h.entering,t=void 0!==d.enter?d.enter:A(n,"onEnter"),a=void 0!==d.move?d.move:n.props.animate&&n.props.animate.duration,r={duration:o&&e?t:a};return f(e,0,p,Object.assign({},g,r))}return!t&&g&&g.onExit?function(e,t){const n=e.onEnter&&e.onEnter.after?e.onEnter.after:zr();return{data:t.map(((e,a)=>Object.assign({},e,n(e,a,t))))}}(g,p):{animate:g,data:p}}}function Xr(){return Xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Xr.apply(this,arguments)}class Zr extends w().Component{static displayName="VictoryTransition";static contextType=jt;constructor(e,t){super(e,t),this.state={nodesShouldLoad:!1,nodesDoneLoad:!1};const n=this.props.children,a=n.props.polar;this.continuous=!a&&n.type&&!0===n.type.continuous,this.timer=this.context.transitionTimer}componentDidMount(){this.setState({nodesShouldLoad:!0})}shouldComponentUpdate(e){return Or()(this.props,e)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,e),(()=>this.timer.resumeAnimation()))),!0}componentWillUnmount(){this.timer.stop()}getTransitionState(e,t){const{animate:n}=e;if(!n)return{};if(n.parentState)return{oldProps:n.parentState.nodesWillExit?e:null,nextProps:t};const a=w().Children.toArray(e.children),r=w().Children.toArray(t.children),{nodesWillExit:o,nodesWillEnter:i,childrenTransitions:s,nodesShouldEnter:l}=Qr(a,r);return{nodesWillExit:o,nodesWillEnter:i,childrenTransitions:s,nodesShouldEnter:l,oldProps:o?e:null,nextProps:t}}getDomainFromChildren(e,t){const n=e=>e.reduce(((e,a)=>{if(a.type&&mn(a.type.getDomain)){const n=a.props&&a.type.getDomain(a.props,t);return n?e.concat(n):e}return a.props&&a.props.children?e.concat(n(w().Children.toArray(a.props.children))):e}),[]),a=w().Children.toArray(e.children)[0],r=a.props||{},o=Array.isArray(r.domain)?r.domain:r.domain&&r.domain[t];if(!r.children&&o)return o;const i=n([a]);return 0===i.length?[0,1]:[Ur(i),Hr(i)]}pickProps(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}pickDomainProps(e){const t=e.animate?.parentState;return t&&t.nodesWillExit?(this.continuous||t.continuous)&&(t.nextProps||this.state.nextProps)||e:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||e}getClipWidth(e,t){const n=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==n?n:(()=>{const n=pn(t.props,"x");return n?Math.abs(n[1]-n[0]):e.width})()}render(){const e=this.pickProps(),t=this.props.animate?.getTransitions?this.props.animate.getTransitions:Kr(e,this.state,(e=>this.setState(e))),n=w().Children.toArray(e.children)[0],a=t(n);this.transitionProps=a;const r={x:this.getDomainFromChildren(this.pickDomainProps(e),"x"),y:this.getDomainFromChildren(e,"y")},o=this.getClipWidth(e,n),i=qt()({domain:r,clipWidth:o},a,n.props),s=(e.animationWhitelist||[]).concat(["clipWidth"]),l=s.length?Zt()(i,s):i;return w().createElement(Ut,Xr({},i.animate,{data:l}),(e=>{if(n.props.groupComponent){const t=this.continuous?w().cloneElement(n.props.groupComponent,{clipWidth:e.clipWidth||0}):n.props.groupComponent;return w().cloneElement(n,qt()({animate:null,animating:!0,groupComponent:t},e,i))}return w().cloneElement(n,qt()({animate:null,animating:!0},e,i))}))}}const Jr=e=>w().createElement("defs",null,w().createElement("clipPath",{id:e.clipId?.toString()},e.children));function eo(){return eo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},eo.apply(this,arguments)}const to=(0,x.forwardRef)(((e,t)=>{const{desc:n,id:a,tabIndex:r,origin:o,...i}=e,s={vectorEffect:"non-scaling-stroke",id:ln(a,e)?.toString(),tabIndex:ln(r,e),...i};return n?w().createElement("circle",eo({},s,{ref:t}),w().createElement("desc",null,n)):w().createElement("circle",eo({},s,{ref:t}))}));class no extends w().Component{static displayName="VictoryClipContainer";static role="container";static defaultProps={circleComponent:w().createElement(to,null),rectComponent:w().createElement(Yn,null),clipPathComponent:w().createElement(Jr,null),groupComponent:w().createElement("g",null)};constructor(e){super(e),this.state={clipId:e?.clipId}}componentDidMount(){this.state.clipId||this.setState({clipId:zt()("victory-clip-")})}calculateAttributes(e){const{polar:t,origin:n,clipWidth:a=0,clipHeight:r=0,translateX:o=0,translateY:i=0}=e,s=an(e.clipPadding),l=e.radius||fn(e);return{x:(t?n.x:o)-s.left,y:(t?n.y:i)-s.top,width:Math.max((t?l:a)+s.left+s.right,0),height:Math.max((t?l:r)+s.top+s.bottom,0)}}renderClippedGroup(e,t){const n=xn(e),{style:a,events:r,transform:o,children:i,className:s,groupComponent:l,tabIndex:d}=e,u=this.renderClipComponent(e,t),c=Object.assign({className:s,style:a,transform:o,key:`clipped-group-${t}`,clipPath:`url(#${t})`},r);return w().cloneElement(l,{...c,tabIndex:d,...n},[u,...w().Children.toArray(i)])}renderGroup(e){const{style:t,events:n,transform:a,children:r,className:o,groupComponent:i,tabIndex:s}=e;return w().cloneElement(i,Object.assign({className:o,style:t,transform:a,"aria-label":e["aria-label"],tabIndex:s},n),r)}renderClipComponent(e,t){const{polar:n,origin:a,clipWidth:r=0,clipHeight:o=0,translateX:i=0,translateY:s=0,circleComponent:l,rectComponent:d,clipPathComponent:u}=e,{top:c,bottom:f,left:A,right:p}=an(e.clipPadding);let g;if(n){const t=e.radius||fn(e),n={r:Math.max(t+A+p,t+c+f,0),cx:a.x-A,cy:a.y-c};g=w().cloneElement(l,n)}else{const e={x:i-A,y:s-c,width:Math.max(r+A+p,0),height:Math.max(o+c+f,0)};g=w().cloneElement(d,e)}return w().cloneElement(u,Object.assign({key:`clip-path-${t}`},e,{clipId:t}),g)}getClipValue(e,t){const n={x:e.clipWidth,y:e.clipHeight};if(void 0!==n[t])return n[t];const a=pn(e,t);return a&&Math.abs(a[0]-a[1])||void 0}getTranslateValue(e,t){const n={x:e.translateX,y:e.translateY};if(void 0!==n[t])return n[t];const a=pn(e,t);return a?Math.min(...a):void 0}render(){const e=this.getClipValue(this.props,"y"),t=this.getClipValue(this.props,"x");if(void 0===t||void 0===e)return this.renderGroup(this.props);const n=this.getTranslateValue(this.props,"x"),a=this.getTranslateValue(this.props,"y"),r=qt()({},this.props,{clipHeight:e,clipWidth:t,translateX:n,translateY:a});return this.renderClippedGroup(r,this.state.clipId)}}function ao(){return ao=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},ao.apply(this,arguments)}const ro=(0,x.forwardRef)(((e,t)=>{const{desc:n,id:a,tabIndex:r,origin:o,...i}=e,s={id:ln(a,e)?.toString(),tabIndex:ln(r,e),...i};return n?w().createElement("path",ao({},s,{ref:t}),w().createElement("desc",null,n)):w().createElement("path",ao({},s,{ref:t}))})),oo=e=>{const{cx:t,cy:n,r:a,startAngle:r,endAngle:o,closedPath:i}=e,s=Math.abs(o-r)/2+r,l=t+a*Math.cos(un(r)),d=n-a*Math.sin(un(r));return`${i?` M ${t}, ${n} L ${l}, ${d}`:`M ${l}, ${d}`} A ${a}, ${a}, 0, ${s-r<=180?0:1}, 0, ${t+a*Math.cos(un(s))}, ${n-a*Math.sin(un(s))} A ${a}, ${a}, 0, ${o-s<=180?0:1}, 0, ${t+a*Math.cos(un(o))}, ${n-a*Math.sin(un(o))} ${i?"Z":""}`},io={pathComponent:w().createElement(ro,null),role:"presentation",shapeRendering:"auto"},so=e=>{const t=(e=>{const t=ln(e.ariaLabel,e),n=ln(e.desc,e),a=ln(e.id,e),r=dn(Object.assign({stroke:"black",fill:"none"},e.style),e),o=ln(e.tabIndex,e);return Object.assign({},e,{ariaLabel:t,desc:n,id:a,style:r,tabIndex:o})})(qt()({},e,io));return w().cloneElement(t.pathComponent,{...t.events,"aria-label":t.ariaLabel,d:oo(t),style:t.style,desc:t.desc,tabIndex:t.tabIndex,className:t.className,role:t.role,shapeRendering:t.shapeRendering,transform:t.transform,clipPath:t.clipPath})},lo={circleComponent:w().createElement(to,null),rectComponent:w().createElement(Yn,null),role:"presentation",shapeRendering:"auto"},uo=e=>{const t=(e=>{const t=ln(e.id,e);return Object.assign({},e,{id:t})})(qt()({},e,lo));return t.polar?w().cloneElement(t.circleComponent,{...t.events,style:t.style,role:t.role,shapeRendering:t.shapeRendering,cx:t.x,cy:t.y,r:t.height,className:t.className}):w().cloneElement(t.rectComponent,{...t.events,style:t.style,role:t.role,shapeRendering:t.shapeRendering,x:t.x,y:t.y,rx:t.rx,ry:t.ry,width:t.width,height:t.height,className:t.className})},co={rectComponent:w().createElement(Yn,null),role:"presentation",shapeRendering:"auto"},fo=e=>{const t=(e=>{const t=ln(e.ariaLabel,e),n=ln(e.desc,e),a=ln(e.id,e),r=dn(Object.assign({fill:"none"},e.style),e),o=ln(e.tabIndex,e);return Object.assign({},e,{ariaLabel:t,desc:n,id:a,style:r,tabIndex:o})})(qt()({},e,co));return w().cloneElement(t.rectComponent,{...t.events,"aria-label":t.ariaLabel,style:t.style,desc:t.desc,tabIndex:t.tabIndex,transform:t.transform,className:t.className,role:t.role,shapeRendering:t.shapeRendering,x:t.x,y:t.y,width:t.width,height:t.height,clipPath:t.clipPath})};function Ao(){return Ao=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ao.apply(this,arguments)}const po=(0,x.forwardRef)(((e,t)=>{const{desc:n,id:a,tabIndex:r,origin:o,...i}=e,s={vectorEffect:"non-scaling-stroke",id:ln(a,e)?.toString(),tabIndex:ln(r,e),...i};return n?w().createElement("line",Ao({},s,{ref:t}),w().createElement("desc",null,n)):w().createElement("line",Ao({},s,{ref:t}))})),go={lineComponent:w().createElement(po,null),role:"presentation",shapeRendering:"auto"},mo=e=>{const t=(e=>{const t=ln(e.ariaLabel,e),n=ln(e.desc,e),a=ln(e.id,e),r=dn(Object.assign({stroke:"black"},e.style),e),o=ln(e.tabIndex,e);return Object.assign({},e,{ariaLabel:t,desc:n,id:a,style:r,tabIndex:o})})(qt()({},e,go));return w().cloneElement(t.lineComponent,{...t.events,"aria-label":t.ariaLabel,style:t.style,desc:t.desc,tabIndex:t.tabIndex,className:t.className,role:t.role,shapeRendering:t.shapeRendering,x1:t.x1,x2:t.x2,y1:t.y1,y2:t.y2,transform:t.transform,clipPath:t.clipPath})};function ho(e,t,n){return`M ${e}, ${t}\n m ${-n}, 0\n a ${n}, ${n} 0 1,0 ${2*n},0\n a ${n}, ${n} 0 1,0 ${2*-n},0`}function bo(e,t,n){const a=.87*n,r=e-a,o=e+a-r;return`M ${r}, ${t+a}\n h${o}\n v-${o}\n h-${o}\n z`}function yo(e,t,n){const a=.87*n,r=Math.sqrt(a*a*2);return`M ${e}, ${t+r}\n l ${r}, -${r}\n l -${r}, -${r}\n l -${r}, ${r}\n l ${r}, ${r}\n z`}function vo(e,t,n){const a=t-n;return`M ${e-n}, ${a}\n L ${e+n}, ${a}\n L ${e}, ${t+n/2*Math.sqrt(3)}\n z`}function Eo(e,t,n){const a=t+n;return`M ${e-n}, ${a}\n L ${e+n}, ${a}\n L ${e}, ${t-n/2*Math.sqrt(3)}\n z`}function Co(e,t,n){const a=1.1*n,r=a/1.5;return`\n M ${e-r/2}, ${t+a}\n v-${r}\n h-${r}\n v-${r}\n h${r}\n v-${r}\n h${r}\n v${r}\n h${r}\n v${r}\n h-${r}\n v${r}\n z`}function Bo(e,t,n){const a=.8*n,r=a/1.5;return`\n M ${e-r/2}, ${t+a+r}\n v-${2*r}\n h-${r}\n v-${r}\n h${r}\n v-${r}\n h${r}\n v${r}\n h${r}\n v${r}\n h-${r}\n v${2*r}\n z`}function To(e,t,n){const a=1.1*n,r=a-.3*a,o=e-a,i=e+a-o;return`M ${o}, ${t+r/2}\n h${i}\n v-${r}\n h-${i}\n z`}function So(e,t,n){const a=1.35*n,r=Math.PI/5;return`M ${En(10).map((n=>{const o=n%2==0?a:a/2;return`${o*Math.sin(r*(n+1))+e},\n ${o*Math.cos(r*(n+1))+t}`})).join("L")} z`}const xo=e=>{const{x:t,y:n,size:a,symbol:r}=e;if(e.getPath)return e.getPath(t,n,a);const o=f;return("function"==typeof o[r]?o[r]:o.circle)(t,n,a)},wo={pathComponent:w().createElement(ro,null),role:"presentation",shapeRendering:"auto"},Io=e=>{const t=(e=>{const t=ln(e.ariaLabel,e),n=ln(e.desc,e),a=ln(e.id,e),r=ln(e.size,e),o=dn(e.style,e),i=ln(e.symbol,e),s=ln(e.tabIndex,e);return Object.assign({},e,{ariaLabel:t,desc:n,id:a,size:r,style:o,symbol:i,tabIndex:s})})(qt()({},e,wo)),n=xn(t);return w().cloneElement(t.pathComponent,{...t.events,"aria-label":t.ariaLabel,d:xo(t),style:t.style,desc:t.desc,tabIndex:t.tabIndex,role:t.role,shapeRendering:t.shapeRendering,className:t.className,transform:t.transform,clipPath:t.clipPath,...n})},Lo={groupComponent:w().createElement("g",null),lineComponent:w().createElement(po,null),role:"presentation",shapeRendering:"auto"},Do=e=>{const t=(e=>{const t=ln(e.ariaLabel,e),n=ln(e.desc,e),a=ln(e.id,e),r=dn(e.style,e),o=ln(e.tabIndex,e);return Object.assign({},e,{ariaLabel:t,desc:n,id:a,style:r,tabIndex:o})})(qt()({},e,Lo)),{ariaLabel:n,groupComponent:a,lineComponent:r,events:o,className:i,majorWhisker:s,minorWhisker:l,transform:d,clipPath:u,role:c,shapeRendering:f,style:A,desc:p,tabIndex:g}=t,m={...o,style:A,desc:p,tabIndex:g,className:i,transform:d,clipPath:u,role:c,shapeRendering:f};return w().cloneElement(a,{},[w().cloneElement(r,Object.assign({key:"major-whisker","aria-label":n},m,s)),w().cloneElement(r,Object.assign({key:"minor-whisker","aria-label":n},m,l))])};var ko=n(71086),Oo=n.n(ko),No=n(42194),Po=n.n(No),Ro=n(63375),Mo=n.n(Ro);const _o=/^onGlobal(.*)$/;function Fo(e,t,n,a){const r=e=>{const a=(()=>{const a=e.reduce(((e,n)=>void 0!==n.target?(Array.isArray(n.target)?n.target.includes(t):`${n.target}`==`${t}`)?e.concat(n):e:e.concat(n)),[]);return void 0!==n&&"parent"!==t?a.filter((e=>{const t=e.eventKey,a=e=>!e||`${e}`==`${n}`;return Array.isArray(t)?t.some((e=>a(e))):a(t)})):a})();return Array.isArray(a)&&a.reduce(((e,t)=>t?Object.assign(e,t.eventHandlers):e),{})},o=(()=>Array.isArray(this.componentEvents)?Array.isArray(e.events)?this.componentEvents.concat(...e.events):this.componentEvents:e.events)(),i=o&&mn(a)?a(r(o),t):void 0;if(!e.sharedEvents)return i;const s=e.sharedEvents.getEvents,l=e.sharedEvents.events&&s(r(e.sharedEvents.events),t);return Object.assign({},l,i)}function Go(e,t,n,a){if(Fn()(e))return{};const r=a||this.baseProps,o=(e,t)=>{const{childName:n,target:a,key:o}=e,i="props"===t?r:this.state||{},s=null!=n&&i[n]?i[n]:i;return"parent"===o?s.parent:s[o]&&s[o][a]},i=(e,a)=>{const i="parent"===t?e.childName:e.childName||n,s=e.target||t,l=(t,n)=>{const a=this.state||{};if(!mn(e.mutation))return a;const i=o({childName:n,key:t,target:s},"props"),l=o({childName:n,key:t,target:s},"state"),d=e.mutation(Object.assign({},i,l),r),u=a[n]||{},c=e=>d?(e=>"parent"===s?Object.assign(e,{[t]:Object.assign(e[t]||{},d)}):Object.assign(e,{[t]:Object.assign(e[t]||{},{[s]:d})}))(e):(e=>(e[t]&&e[t][s]&&delete e[t][s],e[t]&&!Object.keys(e[t]).length&&delete e[t],e))(e);return null!=n?Object.assign(a,{[n]:c(u)}):c(a)},d=t=>{const n=(t=>"parent"===s?"parent":"all"===e.eventKey?r[t]?Object.keys(r[t]).filter((e=>"parent"!==e)):Object.keys(r).filter((e=>"parent"!==e)):void 0===e.eventKey&&"parent"===a?r[t]?Object.keys(r[t]):Object.keys(r):void 0!==e.eventKey?e.eventKey:a)(t);return Array.isArray(n)?n.reduce(((e,n)=>Object.assign(e,l(n,t))),{}):l(n,t)},u="all"===i?Object.keys(r).filter((e=>"parent"!==e)):i;return Array.isArray(u)?u.reduce(((e,t)=>Object.assign(e,d(t))),{}):d(u)},s=(t,n,a,r)=>{const o=e[r](t,n,a,this);if(!Fn()(o)){const e=(e=>{const t=e=>mn(e.callback)&&e.callback,n=(Array.isArray(e)?e.map((e=>t(e))):[t(e)]).filter((e=>!1!==e));return n.length?()=>n.forEach((e=>e())):void 0})(o);this.setState(((e,t)=>Array.isArray(e)?e.reduce(((e,n)=>Object.assign({},e,i(n,t))),{}):i(e,t))(o,a),e)}};return Object.keys(e).reduce(((e,t)=>(e[t]=s,e)),{})}function jo(e,t,n){return e?Object.keys(e).reduce(((a,r)=>(a[r]=a=>e[r](a,n,t,r),a)),{}):{}}function Ho(e,t,n){const a=this.state||{};return n?a[n]&&a[n][e]&&a[n][e][t]:"parent"===e?a[e]&&a[e][t]||a[e]:a[e]&&a[e][t]}function Uo(e,t,n,a){return void 0===t&&(t={}),void 0===n&&(n={}),a.reduce(((a,r)=>{const o=n[r],i=Yo(e,t[r],n[r],r);return a[r]=i||o,Oo()(a,(e=>!Fn()(e)))}),{})}function Yo(e,t,n,a){return void 0===t&&(t={}),void 0===n&&(n={}),Object.keys(t).reduce(((r,o)=>{const i=n[o]||{},s=t[o]||{};if("parent"===o){const t=zo(e,s,i,{eventKey:o,target:"parent"});r[o]=void 0!==t?Object.assign({},i,t):i}else{const t=Mo()(Object.keys(s).concat(Object.keys(i)));r[o]=t.reduce(((t,n)=>{const r={eventKey:o,target:n,childName:a},l=zo(e,s[n],i[n],r);return t[n]=void 0!==l?Object.assign({},i[n],l):i[n],Oo()(t,(e=>!Fn()(e)))}),{})}return Oo()(r,(e=>!Fn()(e)))}),{})}function zo(e,t,n,a){const r=(e,t)=>"string"==typeof e[t]?"all"===e[t]||e[t]===a[t]:!!Array.isArray(e[t])&&e[t].map((e=>`${e}`)).includes(a[t]);let o=Array.isArray(e)?e:[e];a.childName&&(o=e.filter((e=>r(e,"childName"))));const i=o.filter((e=>r(e,"target")));if(Fn()(i))return;const s=i.filter((e=>r(e,"eventKey")));return Fn()(s)?void 0:s.reduce(((e,a)=>{const r=(a&&mn(a.mutation)?a.mutation:()=>{})(Object.assign({},t,n));return Object.assign({},e,r)}),{})}function Wo(e,t){const n=Array.isArray(t)&&t.reduce(((t,n)=>{const a=e[n],r=a&&a.type&&a.type.defaultEvents,o=mn(r)?r(a.props):r;return Array.isArray(o)?t.concat(...o):t}),[]);return n&&n.length?n:void 0}function Vo(e){const t=e.match(_o);return t&&t[1]&&t[1].toLowerCase()}const $o=e=>Oo()(e,((e,t)=>_o.test(t))),qo=e=>Po()(e,((e,t)=>_o.test(t))),Qo=e=>Object.assign(e,{nativeEvent:e}),Ko=e=>!gn(e._x)&&!gn(e._y),Xo=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];function Zo(e,t){return void 0===t&&(t={}),class extends e{constructor(e){super(e),this.cacheValues(this.getCalculatedValues(e))}state={};getEventState=Ho.bind(this);getScopedEvents=Go.bind(this);getEvents=(e,t,n)=>Fo.call(this,e,t,n,this.getScopedEvents);externalMutations=this.getExternalMutations(this.props);calculatedState=this.getStateChanges(this.props);globalEvents={};prevGlobalEventKeys=[];boundGlobalEvents={};shouldComponentUpdate(e){const t=this.getExternalMutations(e),n=this.props.animating||this.props.animate,a=!Or()(t,this.externalMutations);if(n||a)return this.cacheValues(this.getCalculatedValues(e)),this.externalMutations=t,this.applyExternalMutations(e,t),!0;const r=this.getStateChanges(e);return Or()(this.calculatedState,r)?!Or()(this.props,e)&&(this.cacheValues(this.getCalculatedValues(e)),!0):(this.cacheValues(this.getCalculatedValues(e)),!0)}componentDidMount(){const e=Object.keys(this.globalEvents);e.forEach((e=>this.addGlobalListener(e))),this.prevGlobalEventKeys=e}componentDidUpdate(e){const t=this.getStateChanges(e);this.calculatedState=t;const n=Object.keys(this.globalEvents);Fr(this.prevGlobalEventKeys,n).forEach((e=>this.removeGlobalListener(e))),Fr(n,this.prevGlobalEventKeys).forEach((e=>this.addGlobalListener(e))),this.prevGlobalEventKeys=n}componentWillUnmount(){this.prevGlobalEventKeys.forEach((e=>this.removeGlobalListener(e)))}addGlobalListener(e){const t=t=>{const n=this.globalEvents[e];return n&&n(Qo(t))};this.boundGlobalEvents[e]=t,window.addEventListener(Vo(e),t)}removeGlobalListener(e){window.removeEventListener(Vo(e),this.boundGlobalEvents[e])}getStateChanges(e){if(!this.hasEvents)return{};const n=(e,t)=>{const n=qt()({},this.getEventState(e,t),this.getSharedEventState(e,t));return Fn()(n)?void 0:n};return(t.components||Xo).map((t=>{if(e.standalone||"parent"!==t.name)return void 0!==t.index?n(t.index,t.name):this.dataKeys.map((e=>n(e,t.name))).filter(Boolean)})).filter(Boolean)}applyExternalMutations(e,t){if(!Fn()(t)){const n=e.externalEventMutations.reduce(((e,t)=>mn(t.callback)?e.concat(t.callback):e),[]),a=n.length?()=>{n.forEach((e=>e()))}:void 0;this.setState(t,a)}}getCalculatedValues(t){const{sharedEvents:n}=t,a=Wo(t,e.expectedComponents),r=n&&mn(n.getEventState)?n.getEventState:()=>{},o=this.getBaseProps(t,r);return{componentEvents:a,getSharedEventState:r,baseProps:o,dataKeys:Object.keys(o).filter((e=>"parent"!==e)),hasEvents:t.events||t.sharedEvents||a,events:this.getAllEvents(t)}}getExternalMutations(e){const{sharedEvents:t,externalEventMutations:n}=e;return Fn()(n)||t?void 0:Yo(n,this.baseProps,this.state)}cacheValues(e){Object.keys(e).forEach((t=>{this[t]=e[t]}))}getBaseProps(t,n){const a=(n||this.getSharedEventState.bind(this))("parent","parent"),r=this.getEventState("parent","parent"),o=qt()({},r,a),i=o.parentControlledProps,s=i?Zt()(o,i):{},l=qt()({},s,t);return"function"==typeof e.getBaseProps?e.getBaseProps(l):{}}getAllEvents(e){return Array.isArray(this.componentEvents)?Array.isArray(e.events)?this.componentEvents.concat(...e.events):this.componentEvents:e.events}getComponentProps(t,n,a){const r=this.props.name||e.role,o=this.dataKeys&&this.dataKeys[a]||a,i=`${r}-${n}-${o}`,s=this.baseProps[o]&&this.baseProps[o][n]||this.baseProps[o];if(!s&&!this.hasEvents)return;const l=t&&"object"==typeof t&&"props"in t?t.props:void 0;if(this.hasEvents){const e=this.getEvents(this.props,n,o),t=qt()({index:a,key:i},this.getEventState(o,n),this.getSharedEventState(o,n),l,s,{id:i}),r=qt()({},jo(e,o,t),t.events);return Object.assign({},t,{events:r})}return qt()({index:a,key:i},l,s,{id:i})}renderContainer(e,t){const n=e.type&&"container"===e.type.role?this.getComponentProps(e,"parent","parent"):{};return n.events&&(this.globalEvents=$o(n.events),n.events=qo(n.events)),w().cloneElement(e,n,t)}animateComponent(e,t){const n="object"==typeof e.animate&&e.animate?.animationWhitelist||t,a=this.constructor;return w().createElement(Zr,{animate:e.animate,animationWhitelist:n},w().createElement(a,e))}renderContinuousData(e){const{dataComponent:t,labelComponent:n,groupComponent:a}=e,r=this.dataKeys.filter((e=>"all"!==e)),o=r.reduce(((e,t)=>{let a=e;const r=this.getComponentProps(n,"labels",t);return r&&void 0!==r.text&&null!==r.text&&(a=a.concat(w().cloneElement(n,r))),a}),[]),i=this.getComponentProps(t,"data","all"),s=[w().cloneElement(t,i),...o];return this.renderContainer(a,s)}renderData(e,t){void 0===t&&(t=Ko);const{dataComponent:n,labelComponent:a,groupComponent:r}=e,o=[...this.dataKeys.reduce(((e,a,r)=>{const o=this.getComponentProps(n,"data",r);return t(o.datum)&&e.push(w().cloneElement(n,o)),e}),[]),...this.dataKeys.map(((e,t)=>{const n=this.getComponentProps(a,"labels",t);if(void 0!==n.text&&null!==n.text)return w().cloneElement(a,n)})).filter(Boolean)];return this.renderContainer(r,o)}}}var Jo=n(23805),ei=n.n(Jo),ti=n(83602),ni=n.n(ti),ai=n(73054),ri=n.n(ai),oi=n(2404),ii=n.n(oi),si=n(62216),li=n.n(si),di=n(81386);const ui=["linear","time","log","sqrt"];function ci(e){return"function"==typeof e?mn(e.copy)&&mn(e.domain)&&mn(e.range):"string"==typeof e&&ui.includes(e)}function fi(e,t){return!(!e.scale||(e.scale.x||e.scale.y)&&!e.scale[t])}function Ai(e,t){if(!e.data)return"linear";const n=hn(e[t]);return Rr(e.data.map((e=>{const a=ye()(n(e))?n(e)[t]:n(e);return void 0!==a?a:e[t]})))?"time":"linear"}function pi(e){if(ci(e)){const n=`scale${t=e,t&&t[0].toUpperCase()+t.slice(1)}`;return p[n]()}var t;return di.scaleLinear()}function gi(e,t){const n=hi(e,t);return n?"string"==typeof n?pi(n):n:pi(function(e,t){let n;if(e.domain&&e.domain[t]?n=e.domain[t]:e.domain&&Array.isArray(e.domain)&&(n=e.domain),n)return Rr(n)?"time":"linear"}(e,t)||Ai(e,t))}function mi(){return di.scaleLinear()}function hi(e,t){if(!fi(e,t))return;const n=e.scale[t]||e.scale;return ci(n)?mn(n)?n:pi(n):void 0}function bi(e,t){return function(e,t){if(!fi(e,t))return;const n=e.scale[t]||e.scale;return"string"==typeof n?n:vi(n)}(e,t)||Ai(e,t)}const yi=[{name:"quantile",method:"quantiles"},{name:"log",method:"base"}];function vi(e){if("string"==typeof e)return e;const t=yi.filter((t=>void 0!==e[t.method]))[0];return t?t.name:void 0}const Ei="@@__IMMUTABLE_ITERABLE__@@",Ci="@@__IMMUTABLE_RECORD__@@",Bi="@@__IMMUTABLE_LIST__@@",Ti="@@__IMMUTABLE_MAP__@@";function Si(e){return!(!e||!e[Ei])}function xi(e){return!(!e||!e[Ci])}function wi(e){return Si(e)||xi(e)}function Ii(e){return!(!e||!e[Bi])}function Li(e){return!(!e||!e[Ti])}function Di(e,t){return Si(e)?e.reduce(((e,n,a)=>{let r=n;return t&&t[a]&&(r=Di(n)),e[a]=r,e}),Ii(e)?[]:{}):e}function ki(e){return wi(e)?Di(e,{errorX:!0,errorY:!0}):e}function Oi(e){return Si(e)?e.size:e.length}function Ni(e,t){const n=(ye()(e.domain)?e.domain[t]:e.domain)||gi(e,t).domain(),a=e.samples||1,r=Math.max(...n),o=Math.min(...n),i=En(o,r,(r-o)/a);return i[i.length-1]===r?i:i.concat(r)}function Pi(e,t,n){if(void 0===n&&(n="ascending"),!t)return e;let a=t;"x"!==t&&"y"!==t||(a=`_${t}`);const r="ascending"===n?"asc":"desc";return Ee()(e,a,r)}function Ri(e,t,n){const a=e=>void 0!==e,r=Ur(t.x),o=Hr(t.x),i=Ur(t.y),s=Hr(t.y),l=e=>t=>a(t)&&t<e,d=e=>t=>a(t)&&t>e,u=l(r),c=l(i),f=d(o),A=d(s);return e.map((e=>{let{_x:t,_y:r,_y0:o,_y1:l}=e;(u(t)||f(t))&&(t=null);const d=a(o)?o:n,p=a(l)?l:r;return a(p)?(a(d)||!c(p)&&!A(p)||(r=null),(c(d)&&c(p)||A(d)&&A(p))&&(r=o=l=null),c(d)&&!c(p)&&(o=i),A(d)&&!A(p)&&(o=s),Object.assign({},e,Po()({_x:t,_y:r,_y0:o,_y1:l},li()))):e}))}function Mi(e,t){const n=Ui(e,t),a=Yi(e,t),r=zi(e,t),o=Mo()([...n,...a,...r]);return 0===o.length?null:o.reduce(((e,t,n)=>(e[t]=n+1,e)),{})}function _i(e,t,n){void 0===n&&(n=0);const a=Oi(e);if(a>t){const r=Math.pow(2,Math.ceil(Math.log2(a/t)));return e.filter(((e,t)=>(t+n)%r==0))}return e}function Fi(e,t,n){if(!Array.isArray(e)&&!Si(e)||Oi(e)<1)return[];const a=["x","y","y0"],r=(n=Array.isArray(n)?n:a).reduce(((e,n)=>{var a;return e[n]=hn(void 0!==t[a=n]?t[a]:a),e}),{}),o=ii()(n,a)&&"_x"===t.x&&"_y"===t.y&&"_y0"===t.y0;let i;!1===o&&(i={x:-1!==n.indexOf("x")?Mi(t,"x"):void 0,y:-1!==n.indexOf("y")?Mi(t,"y"):void 0,y0:-1!==n.indexOf("y0")?Mi(t,"y"):void 0});const s=o?e:e.reduce(((e,t,a)=>{const o=ki(t),s={x:a,y:o},l=n.reduce(((e,t)=>{const n=r[t](o),a=void 0!==n?n:s[t];return void 0!==a&&("string"==typeof a&&i[t]?(e[`${t}Name`]=a,e[`_${t}`]=i[t][a]):e[`_${t}`]=a),e}),{}),d=Object.assign({},l,o);return Fn()(d)||e.push(d),e}),[]),l=function(e,t){const n=1/Number.MAX_SAFE_INTEGER,a={x:bi(t,"x"),y:bi(t,"y")};if("log"!==a.x&&"log"!==a.y)return e;const r=(e,t)=>"log"!==a[t]||0!==e[`_${t}`];return e.map((e=>r(e,"x")&&r(e,"y")&&r(e,"y0")?e:(e=>{const t=r(e,"x")?e._x:n,a=r(e,"y")?e._y:n,o=r(e,"y0")?e._y0:n;return Object.assign({},e,{_x:t,_y:a,_y0:o})})(e)))}(Pi(s,t.sortKey,t.sortOrder),t);return function(e,t){const n=!!e.eventKey,a=mn(r=e.eventKey)?r:null==r?()=>{}:Kt()(r);var r;return t.map(((e,t)=>{if(void 0!==e.eventKey)return e;if(n){const n=a(e,t);return void 0!==n?Object.assign({eventKey:n},e):e}return e}))}(t,l)}function Gi(e){const t=Ni(e,"x"),n=Ni(e,"y"),a=t.map(((e,t)=>({x:e,y:n[t]})));return a}function ji(e,t){return e.categories&&!Array.isArray(e.categories)?e.categories[t]:e.categories}function Hi(e){return e.data?Fi(e.data,e):Fi(Gi(e),e)}function Ui(e,t){const{tickValues:n,tickFormat:a}=e;let r;return r=n&&(Array.isArray(n)||n[t])?n[t]||n:a&&Array.isArray(a)?a:[],r.filter((e=>"string"==typeof e))}function Yi(e,t){if(!e.categories)return[];const n=ji(e,t),a=n&&n.filter((e=>"string"==typeof e));return a?jr(a):[]}function zi(e,t){if(!Array.isArray(e.data)&&!Si(e.data))return[];const n=hn(void 0===e[t]?t:e[t]);return Pi(e.data.reduce(((e,t)=>(e.push(ki(t)),e)),[]),e.sortKey,e.sortOrder).reduce(((e,t)=>{const a=ki(t);return e.push(n(a)),e}),[]).filter((e=>"string"==typeof e)).reduce(((e,t)=>(null!=t&&-1===e.indexOf(t)&&e.push(t),e)),[])}function Wi(e){const t=e=>e&&e.type?e.type.role:"";let n=t(e);if("portal"===n){const a=w().Children.toArray(e.props.children);n=a.length?t(a[0]):""}return["area","bar","boxplot","candlestick","errorbar","group","histogram","line","pie","scatter","stack","voronoi"].includes(n)}function Vi(e,t,n){void 0===n&&(n="min");const a=e=>"max"===n?Math.max(...e):Math.min(...e),r="max"===n?-1/0:1/0;let o=!1;const i=e.flat().reduce(((e,n)=>{const r=void 0!==n[`_${t}0`]?n[`_${t}0`]:n[`_${t}`],i=void 0!==n[`_${t}1`]?n[`_${t}1`]:n[`_${t}`],s=a([r,i]);return o=o||r instanceof Date||i instanceof Date,a([e,s])}),r);return o?new Date(i):i}function $i(e,t){const n=mn(e)?e:Xi,a=mn(t)?t:qi;return(e,t)=>{const r=Ji(e,t);if(r)return a(r,e,t);const o=ji(e,t),i=o?Ki(e,t,o):n(e,t);return i?a(i,e,t):void 0}}function qi(e,t,n){return function(e,t,n){return"log"!==bi(t,n)?e:(e=>{const t=e[0]<0||e[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER;return[0===e[0]?t:e[0],0===e[1]?t:e[1]]})(e)}(function(e,t,n){if(!t.domainPadding)return e;const a=ns(t,n),r=ts(t,n),o=function(e,t){const n=e=>Array.isArray(e)?{left:e[0],right:e[1]}:{left:e,right:e};return ye()(e.domainPadding)?n(e.domainPadding[t]):n(e.domainPadding)}(t,n);if(!o.left&&!o.right)return e;const i=Ur(e),s=Hr(e),l=pn(t,yn(n,t.horizontal)),d=Math.abs(l[0]-l[1]),u=Math.max(d-o.left-o.right,1),c=Math.abs(s.valueOf()-i.valueOf())/u*d,f=c*o.left/d,A=c*o.right/d;let p={min:i.valueOf()-f,max:s.valueOf()+A};const g=ye()(t.singleQuadrantDomainPadding)?t.singleQuadrantDomainPadding[n]:t.singleQuadrantDomainPadding,m=(e,t)=>"min"===t&&i.valueOf()>=0&&e<=0||"max"===t&&s.valueOf()<=0&&e>=0?0:e;if((i.valueOf()>=0&&p.min<=0||s.valueOf()<=0&&p.max>=0)&&!1!==g){const e={left:Math.abs(s-i)*o.left/d,right:Math.abs(s-i)*o.right/d},t={min:m(i.valueOf()-e.left,"min"),max:m(s.valueOf()+e.right,"max")},n={left:Math.abs(t.max-t.min)*o.left/d,right:Math.abs(t.max-t.min)*o.right/d};p={min:m(i.valueOf()-n.left,"min"),max:m(s.valueOf()+n.right,"max")}}const h={min:void 0!==a?a:p.min,max:void 0!==r?r:p.max};return i instanceof Date||s instanceof Date?Zi(new Date(h.min),new Date(h.max)):Zi(h.min,h.max)}(e,t,n),t,n)}function Qi(e,t){return $i()(e,t)}function Ki(e,t,n){const a=n||ji(e,t),{polar:r,startAngle:o=0,endAngle:i=360}=e;if(!a)return;const s=ns(e,t),l=ts(e,t),d=Pr(a)?Yi(e,t):[],u=0===d.length?null:d.reduce(((e,t,n)=>(e[t]=n+1,e)),{}),c=u?a.map((e=>u[e])):a,f=Zi(void 0!==s?s:Ur(c),void 0!==l?l:Hr(c));return r&&"x"===t&&360===Math.abs(o-i)?as(f,c):f}function Xi(e,t,n){const a=n||Hi(e),{polar:r,startAngle:o=0,endAngle:i=360}=e,s=ns(e,t),l=ts(e,t);if(a.length<1)return void 0!==s&&void 0!==l?Zi(s,l):void 0;const d=Zi(void 0!==s?s:Vi(a,t,"min"),void 0!==l?l:Vi(a,t,"max"));return r&&"x"===t&&360===Math.abs(o-i)?as(d,function(e,t){const n=`_${t}`;return e.flat().map((e=>e[n]&&void 0!==e[n][1]?e[n][1]:e[n]))}(a,t)):d}function Zi(e,t){return Number(e)===Number(t)?(e=>{const t=0===e?2*Math.pow(10,-10):Math.pow(10,-10),n=e instanceof Date?new Date(Number(e)-1):Number(e)-t,a=e instanceof Date?new Date(Number(e)+1):Number(e)+t;return 0===e?[0,a]:[n,a]})(t):[e,t]}function Ji(e,t){const n=ns(e,t),a=ts(e,t);return ye()(e.domain)&&e.domain[t]?e.domain[t]:Array.isArray(e.domain)?e.domain:void 0!==n&&void 0!==a?Zi(n,a):void 0}function es(e,t){const n=Ji(e,t);if(n)return n;const a=Hi(e),r=a.reduce(((e,t)=>t._y0<e?t._y0:e),1/0);return $i((()=>Xi(e,t,a)),(n=>qi((n=>{if("x"===t)return n;const a=r!==1/0?r:0,o=ts(e,t),i=ns(e,t),s=void 0!==o?o:Hr(n,a);return Zi(void 0!==i?i:Ur(n,a),s)})(n),e,t)))(e,t)}function ts(e,t){return ye()(e.maxDomain)&&void 0!==e.maxDomain[t]?e.maxDomain[t]:"number"==typeof e.maxDomain||ni()(e.maxDomain)?e.maxDomain:void 0}function ns(e,t){return ye()(e.minDomain)&&void 0!==e.minDomain[t]?e.minDomain[t]:"number"==typeof e.minDomain||ni()(e.minDomain)?e.minDomain:void 0}function as(e,t){const n=ri()(t.sort(((e,t)=>e-t))),a=n[1]-n[0];return[e[0],e[1]+a]}function rs(e){const t=e=>e&&e.type?e.type.role:"";let n=t(e);if("portal"===n){const a=w().Children.toArray(e.props.children);n=a.length?t(a[0]):""}return["area","axis","bar","boxplot","candlestick","errorbar","group","histogram","line","pie","scatter","stack","voronoi"].includes(n)}function os(e){return e}function is(e){const{dependentAxis:t}=e;return t?"y":"x"}function ss(e,t){const n=t||os,a=e=>e.reduce(((e,t)=>t.type&&"axis"===t.type.role&&n(t)?e.concat(t):t.props&&t.props.children?e.concat(a(w().Children.toArray(t.props.children))):e),[]);return a(e)}function ls(e,t){return ss(e,(e=>e.type.getAxis(e.props)===t))[0]}function ds(e,t){const n=e=>e.reduce(((e,a)=>a.type&&"axis"===a.type.role&&(e=>"dependent"===t?e.props.dependentAxis:!e.props.dependentAxis)(a)||a.props&&a.props.children&&n(w().Children.toArray(a.props.children)).length>0?e.concat(a):e),[]);return n(e)}function us(e){const t=e=>{const t=Math.min(...e),n=Math.max(...e);return n<0?n:Math.max(0,t)};return{x:Rr(e.x)?new Date(Math.min(...e.x)):t(e.x),y:Rr(e.y)?new Date(Math.min(...e.y)):t(e.y)}}function cs(e,t){return Rr(t)?"positive":e<=0&&Math.max(...t)<=0?"negative":"positive"}function fs(e){return{top:!1,bottom:!1,left:!0,right:!0}[e.orientation||(e.dependentAxis?"left":"bottom")]}function As(e){return void 0!==e.tickValues&&Pr(e.tickValues)}function ps(e){const{tickValues:t,tickFormat:n}=e;if(0===t?.length)return[];const a=is(e),r=e.stringMap&&e.stringMap[a];let o=t;r&&(o=function(e){const t=is(e),n=e.stringMap&&e.stringMap[t],a=Array.isArray(e.categories)?e.categories:e.categories&&e.categories[t],r=a&&_r(a)?a.map((e=>n[e])):void 0,o=n&&Object.values(n);return r&&0!==r.length?r:o}(e)),t&&Pr(t)&&(o=r?t.map((e=>r[e])):En(1,t.length+1));const i=o?Mo()(o):(()=>{if(n&&Array.isArray(n))return Pr(n)?n.map(((e,t)=>t)):n})();return Array.isArray(i)&&i.length?(t=>{const n=[],r=e.domain&&e.domain[a]||e.domain;if(t)return t.forEach(((e,t)=>{Array.isArray(r)?e>=Ur(r).valueOf()&&e<=Hr(r).valueOf()&&n.push({value:e,index:t}):n.push({value:e,index:t})})),n})(i):void 0}function gs(e,t){const{tickFormat:n}=e,a=is(e),r=e.stringMap&&e.stringMap[a];if(!n){const n=function(e){const{tickValues:t}=e,n=is(e),a=e.stringMap&&e.stringMap[n],r=t&&!Rr(t)?e=>e:void 0;if(!a)return As(e)?(e,n)=>t[n]:r;const o=a&&Jt(a),i=["",...Ee()(Object.values(a),(e=>e)).map((e=>o[e])),""];return e=>i[e]}(e),a=t.tickFormat&&mn(t.tickFormat)?t.tickFormat():e=>e;return n||a}if(n&&Array.isArray(n)){const t=ps(e),a=t?.map((e=>e.index)),r=n.filter(((e,t)=>a?.includes(t)));return(e,t)=>r[t]}return n&&mn(n)?r?(t,n,a)=>{const o=Jt(r),i=a.map((e=>o[e]));return e.tickFormat(o[t],n,i)}:n:e=>e}function ms(e,t){if(!t||!Array.isArray(e)||e.length<=t)return e;const n=Math.floor(e.length/t);return e.filter(((e,t)=>t%n==0))}function hs(e,t,n){void 0===n&&(n=!1);const{tickCount:a}=e,r=ps(e);if(0===r?.length)return[""];const o=r?r.map((e=>e.value)):void 0;if(o)return ms(o,a);if(t.ticks&&mn(t.ticks)){const e=a||5,r=t.ticks(e),o=ms(Array.isArray(r)&&r.length?r:t.domain(),a);if(n){const e=o.filter((e=>0!==e));return e.length?e:o}return o}return t.domain()}function bs(e,t){const{polar:n,startAngle:a=0,endAngle:r=360}=e,o=ps(e),i=o&&0!==o?.length?o.map((e=>e.value)):void 0;if(!Array.isArray(i))return;const s=ns(e,t),l=ts(e,t),d=As(e),u=i.map((e=>Number(e))),c=d?1:Ur(u),f=d?i.length:Hr(u),A=Zi(void 0!==s?s:c,void 0!==l?l:f),p=n&&"x"===t&&360===Math.abs(a-r)?as(A,u):A;return fs(e)&&!n&&p.reverse(),p}function ys(e,t){const n=is(e);if(!t||t===n)return $i(bs)(e,n)}function vs(e,t){if(!e.axisValue)return;const n="x"===t?"y":"x",a=ei()(e.scale)&&mn(e.scale[n])?e.scale[n]:void 0;if(!a)return;const r="x"===t?"y":"x",o=ei()(e.stringMap)&&e.stringMap[r];return a(o&&"string"==typeof e.axisValue?o[e.axisValue]:e.axisValue)}function Es(e,t){if(!ei()(e.theme))return bn(e,t,"axis");let n="axis";if(e.dependentAxis&&e.theme.dependentAxis?n="dependentAxis":!e.dependentAxis&&e.theme.independentAxis&&(n="independentAxis"),"axis"===n)return bn(e,t,"axis");const a=qt()({},e.theme[n],e.theme.axis),r=Object.assign({},e.theme,{axis:a});return bn(Object.assign({},e,{theme:r}),t,"axis")}function Cs(){return{onLoad:{duration:2e3},onExit:{duration:500},onEnter:{duration:500}}}function Bs(){return{onLoad:{duration:2e3,before:()=>({_y:0,_y1:0,_y0:0}),after:e=>({_y:e._y,_y1:e._y1,_y0:e._y0})},onExit:{duration:500,before:(e,t,n)=>{const a=e=>(0===t?n[t+1]:n[t-1])[e];return{_x:a("_x"),_y:a("_y"),_y0:a("_y0")}}},onEnter:{duration:500,before:(e,t,n)=>{const a=e=>(0===t?n[t+1]:n[t-1])[e];return{_x:a("_x"),_y:a("_y"),_y0:a("_y0")}},after:e=>({_x:e._x,_y:e._y,_y1:e._y1,_y0:e._y0})}}}function Ts(){return{onLoad:{duration:2e3,before:()=>({opacity:0}),after:e=>e},onExit:{duration:600,before:()=>({opacity:0})},onEnter:{duration:600,before:()=>({opacity:0}),after:e=>e}}}function Ss(e){const t=w().useRef();return w().useEffect((()=>{t.current=e})),t.current}const xs={nodesShouldLoad:!1,nodesDoneLoad:!1,animating:!0},ws=function(e){void 0===e&&(e=xs);const[t,n]=w().useState(e),a=w().useCallback((e=>{n((t=>({...t,...e})))}),[n]),r=w().useCallback(((e,n,r)=>{if(!e?.animate)return n.props.animate;let o=e.animate&&e.animate.getTransitions;const i=(()=>{let e=t&&t.childrenTransitions;return e=Gr(e)?e[r]:e,qt()({childrenTransitions:e},t)})(),s=e.animate&&e.animate.parentState||i;if(!o){const t=Kr(e,i,(e=>a(e)));o=e=>t(e,r)}return qt()({getTransitions:o,parentState:s},e.animate,n.props.animate)}),[t,a]),o=w().useCallback(((e,t)=>{if(e?.animate)if(e.animate.parentState){const n=e.animate.parentState.nodesWillExit?e:null,r=qt()({oldProps:n,nextProps:t},e.animate.parentState);a(r)}else{const n=w().Children.toArray(e.children),r=w().Children.toArray(t.children),o=e=>{const t=e=>e.type&&e.type.continuous;return Array.isArray(e)?e.some(t):t(e)},i=!e.polar&&n.some((e=>o(e)||e?.props?.children&&o(e.props.children))),{nodesWillExit:s,nodesWillEnter:l,childrenTransitions:d,nodesShouldEnter:u}=Qr(n,r);a({nodesWillExit:s,nodesWillEnter:l,nodesShouldEnter:u,childrenTransitions:Gr(d)?d[0]:d,oldProps:s?e:void 0,nextProps:t,continuous:i})}}),[a]),i=w().useCallback((e=>t&&t.nodesWillExit&&t.oldProps||e),[t]);return{state:t,setState:a,getAnimationProps:r,setAnimationState:o,getProps:i}};var Is=n(4485);const Ls=e=>null!=(void 0!==e._y1?e._y1:e._y)&&null!==e._y0,Ds=e=>t=>e.x(void 0!==t._x1?t._x1:t._x),ks=e=>t=>e.y(void 0!==t._y1?t._y1:t._y),Os=e=>{return`curve${t=e,t&&t[0].toUpperCase()+t.slice(1)}`;var t},Ns=e=>{const{interpolation:t}=e;if("function"==typeof t)return t;if("string"==typeof t){const{polar:n,openCurve:a=!n}=e,r=a?Os(t):(e=>`${Os(e)}Closed`)(t);return C[r]}return Is.curveLinear},Ps=e=>{const{polar:t,scale:n,horizontal:a}=e;return t?Is.lineRadial().defined(Ls).curve(Ns(e)).angle((e=>t=>-1*e.x(void 0!==t._x1?t._x1:t._x)+Math.PI/2)(n)).radius(ks(n)):Is.line().defined(Ls).curve(Ns(e)).x(a?ks(n):Ds(n)).y(a?Ds(n):ks(n))};function Rs(e,t,n){const{a,d:r,e:o,f:i}=t;return"y"===n?r*e+i:a*e+o}function Ms(e){return!(!e||void 0===e.identifier)}function _s(e){if(Ms(e.nativeEvent))return;const t=e=>"svg"===e.nodeName?e:e.parentNode?t(e.parentNode):e;return t(e.target)}function Fs(e,t){if(Ms(e.nativeEvent))return{x:e.nativeEvent.locationX,y:e.nativeEvent.locationY};const n=function(e){return e.changedTouches&&e.changedTouches.length>0}(e)?e.changedTouches[0]:e,a=function(e){return e.getScreenCTM().inverse()}(t||_s(n));return{x:Rs(n.clientX,a,"x"),y:Rs(n.clientY,a,"y")}}function Gs(e,t){const{horizontal:n}=e,a=e.scale,r=t||{x:a.x.domain(),y:a.y.domain()};return{x:n?[a.y(r.y[0]),a.y(r.y[1])]:[a.x(r.x[0]),a.x(r.x[1])],y:n?[a.x(r.x[0]),a.x(r.x[1])]:[a.y(r.y[0]),a.y(r.y[1])]}}function js(e,t,n,a){const{polar:r,horizontal:o}=e;if(!r)return{x:o?t.x.invert(a):t.x.invert(n),y:o?t.y.invert(n):t.y.invert(a)};const i=e.origin||{x:0,y:0},s=n-i.x,l=a-i.y,d=Math.abs(s*Math.sqrt(1+Math.pow(-l/s,2))),u=(-Math.atan2(l,s)+2*Math.PI)%(2*Math.PI);return{x:t.x.invert(u),y:t.y.invert(d)}}function Hs(e){const{x1:t,x2:n,y1:a,y2:r,scale:o}=e,i=js(e,o,t,a),s=js(e,o,n,r),l=(e,t)=>[Ur([e,t]),Hr([e,t])];return{x:l(i.x,s.x),y:l(i.y,s.y)}}var Us=n(94394),Ys=n.n(Us),zs=n(50014),Ws=n.n(zs);function Vs(e){let{children:t,props:n,childComponents:a,parentProps:r}=e;const o=t.some((e=>e.type&&"histogram"===e.type.role)),i=o&&t.length&&t.every((e=>e.type&&"histogram"===e.type.role));if(!i)return r;let s=n.bins||a[0].props.bins;if(!Array.isArray(s)){const e=t.reduce(((e,t)=>{const n=hn(t.props.x||"x");return e.concat(t.props.data.map((e=>({x:n(e)}))))}),[]);s=(0,t[0].type.getFormattedData)({data:e,bins:s}).reduce(((e,t,n)=>{let{x0:a,x1:r}=t;return 0===n?e.concat([a,r]):e.concat(r)}),[])}return{...r,bins:s}}function $s(e,t){const{polar:n,startAngle:a,endAngle:r,categories:o,minDomain:i,maxDomain:s}=e;let l={polar:n,startAngle:a,endAngle:r,categories:o,minDomain:i,maxDomain:s},d=0;const u=t?t.slice(0):w().Children.toArray(e.children);l=Vs({children:u,props:e,childComponents:t,parentProps:l});const c=u.filter((e=>e.type&&"stack"===e.type.role)).length,f=Cn(u,((e,t,n)=>{const a=Object.assign({},e.props,l);let r,o=e;return Wi(e)?(e.type&&mn(e.type.getData)?(o=n?w().cloneElement(e,n.props):e,r=o.type.getData(a)):r=Hi(a),d+=1,r.map(((e,t)=>Object.assign({_stack:d,_group:t},e)))):null}),e,[],((e,t)=>e.concat(Ws()(t,"_group")))),A=c?"_group":"_stack";return Object.values(Ys()(f,A))}function qs(e,t){return e.data?Hi(e):$s(e,t||w().Children.toArray(e.children))}function Qs(e,t,n){const{datasets:a,horizontal:r}=e,o=pn(e,r?"y":"x"),i=Math.abs(o[1]-o[0]),s=void 0!==n?n:Array.isArray(a[0])&&a[0].length||1,l=(t||a.length)*s;return Math.round(.5*i/l)}function Ks(e,t,n){if(e.polar||"x"!==t)return;const a=n.filter((e=>e.type&&e.type.role&&"group"===e.type.role));if(a.length<1)return;const{offset:r,children:o}=a[0].props;if(!r)return;const i=Array.isArray(o)&&o[0];if(!i)return;let s=i.props.barWidth,l=i.props.data&&i.props.data.length||1;if(i&&"stack"===i.type.role){const e=i.props.children&&i.props.children[0];if(!e)return;s=e.props.barWidth,l=i.props.children.length}const d=s||Qs(e,o.length,l);return{x:d*o.length/2+(r-d*((o.length-1)/2))}}function Xs(e,t,n){const a=n?n.slice(0):w().Children.toArray(e.children),r=e.data?Hi(e):void 0,{polar:o,startAngle:i,endAngle:s,categories:l,minDomain:d,maxDomain:u,horizontal:c}=e,f={horizontal:c,polar:o,startAngle:i,endAngle:s,minDomain:d,maxDomain:u,categories:l},A=r?Object.assign(f,{data:r}):f,p=Cn(a,(e=>{const n=Object.assign({},e.props,A);return rs(e)?e.type&&mn(e.type.getDomain)?e.props&&e.type.getDomain(n,t):Qi(n,t):null}),e);return[0===p.length?0:Ur(p),0===p.length?1:Hr(p)]}function Zs(e,t,n){const a=n||w().Children.toArray(e.children),r=Ji(e,t),o=Ks(e,t,a);let i;if(r)i=r;else{const n=ns(e,t),r=ts(e,t),o=(e.data||e.y)&&Hi(e),s=o?Xi(e,t,o):[],l=Xs(e,t,a);i=Zi(n||Ur([...s,...l]),r||Hr([...s,...l]))}return qi(i,Object.assign({domainPadding:o},e),t)}function Js(e,t,n){if(e.data)return gi(e,t);const a=n?n.slice(0):w().Children.toArray(e.children),r=Mo()(Cn(a,(n=>bi(Object.assign({},n.props,{horizontal:e.horizontal}),t)),e));return r.length>1?pi("linear"):pi(r[0])}function el(e){const t=Wo(e,["groupComponent","containerComponent","labelComponent"]);let n=e.events;return Array.isArray(t)&&(n=Array.isArray(e.events)?t.concat(...e.events):t),n||[]}function tl(e,t,n,a){const{style:r}=e;let{colorScale:o,color:i}=e;if(r&&r.data&&r.data.fill)return r.data.fill;if(o=t.props&&t.props.colorScale?t.props.colorScale:o,i=t.props&&t.props.color?t.props.color:i,!o&&!i)return;const s=Array.isArray(o)?o:ar(o,a);return i||s[n%s.length]}function nl(e,t,n){return sn(t,e&&e[n]&&e[n].style?e[n].style:{})}function al(e,t,n,a){const{style:r,role:o}=n,i=e.props.style||{};if(Array.isArray(i))return i;const s=e.type&&e.type.role,l="stack"===s?void 0:tl(n,e,t,a),d="line"===s?{fill:"none",stroke:l}:{fill:l},u="stack"===o?{}:{width:Qs(n)},c=qt()({},i.data,Object.assign({},u,r.data,d)),f=qt()({},i.labels,r.labels);return{...i,parent:r.parent,data:c,labels:f}}function rl(e,t){return Cn(e.slice(0),(e=>rs(e)?Yi(e.props||{},t):null))}function ol(e){return Cn(e.slice(0),(e=>{const t=e.props||{};let n;return Wi(e)?(n=e.type&&mn(e.type.getData)?e.type.getData(t):Hi(t),n.map((e=>({x:e.xName,y:e.yName})))):null}),{},{x:[],y:[]},((e,t)=>{const n=Array.isArray(t)?t.map((e=>e.x)).filter(Boolean):t.x,a=Array.isArray(t)?t.map((e=>e.y)).filter(Boolean):t.y;return{x:void 0!==n?e.x.concat(n):e.x,y:void 0!==a?e.y.concat(a):e.y}}))}function il(e,t,n){const a=Yi(e,t),r=ls(n,t),o=r?Ui(r.props,t):[],i=a.length?a:rl(n,t);return Mo()([...i,...o].flat())}function sl(e,t){const n=t||w().Children.toArray(e.children),a=il(e,"x",n),r=il(e,"y",n),o=ol(n);return{x:Mo()([...a,...o.x].flat()),y:Mo()([...r,...o.y].flat())}}function ll(e,t,n){const a=e.categories&&Yi(e,"x"),r=e.categories&&Yi(e,"y"),o=a&&r?{}:n||sl(e,t),i=a||o.x,s=r||o.y;return{x:i.length>0?i:void 0,y:s.length>0?s:void 0}}},40548:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAEhQTFRFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAq4SsmwAAABh0Uk5TAAJBGyKKgx9HhEuFUCMBU4YTF1FNHgRAjulUugAAAGFJREFUeJzN0M0KgCAQBGBHRCKji9X7P2D0YxAsZdQti/Fcc9wPZpeFygS/AACRgrlEaFURzSEMVLnZXRioSqxeGNRYHcYM6IGADy6yKh+SFQk0Mz+3nR7zGzr0/CXvfAonXVgbGciv0JEAAAAASUVORK5CYII="},87730:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAEJQTFRFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjuH28gAAABZ0Uk5TAAQhAUeKUlNFJohOUSmHSyWGTSOFEkSrCKQAAABoSURBVHicY2TAARiHpAQj4z8Ig/n////IEiyMjL/A4iz/mH8gS3Ay/mb7CqR5frL++IdiBy/jd66PQHHO/5/RLBdg/MLM9Znn/wcMVwn/+8LAw/QWi3OFGRn+w8VR/CHK8Jp4Dw4VCQArjRsZd5NxnQAAAABJRU5ErkJggg=="},25159:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAIpQTFRFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEwIILwAAAC50Uk5TAAQvV26EgnEoeIolQYl6SiIIQCsBLSZ5Fhd7BjEzMHcCdlt1HHIZOCmFGh0kLv9Wb3MAAADwSURBVHichZFtT8IwFIV7ZxVCxgfJnA4YEMBowv//J8RkCgsBFAgDJQMFKVzWbittgHC+3KTPSc99AXJBcA1ALIaIGshC6kBjpQATdjTyk8jPbm7nEph7lodAWCxYUGOZAPsvB2OZ6kC4XQtQwp/CkD/lyC8v7oyGyEEleICeAmowsfoc1MfZuTZCYf3kc9AYFTsaaH45XQ7uaOZbPDyTD1HvN+xfA0mGBI1R+V0D6VcyPAVpeCV4RK1dnMbtQp65nhL+MnB8MSB5/SzDm2y2tR9W22eW6HjHJUZxW2XtuFQOZYfnDyVOSzEW0cCJLoIDXolnGTKQl6EAAAAASUVORK5CYII="},27022:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkkAAAD9CAYAAACoRON+AAAa8klEQVR4Ae3dXWxU95nH8eeMXfyymc00Tm3jQm2W1KirDTAqgauQ8UUidRsIyTZSBKlCpCKQdrchVaq9K7jSXlTNBuj2IohKgU2CKrVqSdg2UrmwAzeFprIDUlZ2E2UI1I6tOJmsIxtH2NPznPE4M+Px+Jx5OXNevh9p4hkzYwg2Z37neZ7//xjicen3h2LSJAmJSI9IpFtkwfyo9yUmhnlLmzcAAOBFyZyPKfM9+23zNmy+f6eMtfFB8ThDPCY9PtRj/qn2mLct5l9kQjKBCAAABM+wWQAZlIWFN2VOBo0N8ZR4iCdCkhmMEmJEHjGrRHuEUAQAQFgNmgWSM/rRrDQlpc7qFpKsNlqrPGPe3WP+hWwVAACAL5yTBTljdMXPSZ24HpLSk0NbZSHylBgL+5knAgAAq0iaeaHfrCydFpe5FpIWZ41eMu8mBAAAwBnXw1LNQ5LVVmuRI+bdwwIAAFAZ18JSTUOS2Vp7xvwfOUpbDQAAVJUhw7Igj9ZywLsmIYnWGgAAcIUhR42OeL/UQNVDEtUjAADgMm3B9VW7qlS1kMTsEQAAqKOk2X57tppbBlQlJC22135r3mW/IwAAUD9VbL9VHJIWA9KAsFM2AADwgogcN9rjz0qFKgpJ1saQaTMgMX8EAAC8ZVBm5dFKrgdXdkgiIAEAAI8bNoNSX7lBqayQREACAAA+UXZQiohD1gwSAQkAAPjDVmmVY1IGRyFpaUibgAQAAPwiLfvNLpjjoOSsksQqNgAA4EcLcjj94ZCjvRxthyTzC2sC6xEAAAB/OmZ2xRJ2n2xrcNu61MiCHBcAAAB/S8qsxO0Mcq9aSVoc1D4qAAAA/tcjLfKSnSeu3m4zzC/EoDYAAAiOPWYRaP9qTyrZbrO+gGEvbQEAAPhIymy7bSjVdluxkrS43P+IAAAABE9M/q50zlm53RYx9IU9AgAAEES6LUCJ1W5FQ1JmWDu9XwAAAIKsRNeseCUpU0UCAAAIusRK1aRlIYkqEgAACJUVqknLK0lUkQAAQLgUrSblhSSqSAAAIJQMeabwU4WVpIQAAACETyL9/lDe5tn5IYl9kQAAQDjFpEX2535iKSQt9uJ6BAAAIJweyX3wRSUpYjwlAAAA4ZWw5rMXfRGS0umEAAAAhJkhe7J3rZCUvjm0VWi1AQAALLXcMpWkBtkqAAAA2Jpd5dZoPTTyB5WAmYkRmTVvc6lxmZ+blvlb0wIgXNbc2WV9bO3ste63dmwSIARi0mwVjwYbFz9BJQkyff0tGb900gpIhCIAhTQoRbu3SdfOg0sBKmj0pHDq7fPWcfCzD96SoGhoikpDc1TaNu82v4ffDOz3r2qMTEgy0p+YJaU5+URQMf3HlRoZsO7rgcQvP4QajpLnj8jnn44JANihb7ZBC0up0QHrWBiGk8SunYdk7f0HBStYkNeMrvgew9ofyZABQUWK/ePSoKQHktimhJXivUZDkf6ZNSQBQDmC8marVfSxiy8uPW5sickd95jH7paYBMH8bEpm/zoscx8nlz4X29QnPbv6Pfn+5AFJozO+wUh/OHTYfHBMUDYNGyMvH1ixEqMlzlhvnxmYdlnByQt03ujdX/2A6hGAiums0sbHX/BtVWnyylm5ceGn1n0NR+seOyZtO/ZLEE2/OyjXX3l6KSzpibwGJRQxK1820mNDxyWy/KJusC81Mijv/fpZW8/Vg8jdW3ZbgaleBxQNSCOvHGDuCEDV6PFs03dP+S4o6YnitZ9/27rfdFeP9H5/QNaYH4NMq0qjP+uTGbOypHqfPOWZE3hPScuGiBmQtghco/8gtaSr/yhHzaAydfW8Ncvk5u9PQAJQbXpsec+sTrt5PKuGsYsnl+53P/lS4AOS0haihsFsK1FbjSgiIlsjgorpSgFtqTmVGZj+kRWY3JgN0oOXtgUJSABqQVeE5YYOP8ged6P3JKxbWGhAak8ctu7r38H//eIJ66QdORYkpiGpR1ARDUharmyKlVdm1tAydfV1q7KkgUlTfS1mhcYvnmQGCUBNTV551TeLQfTYmz0m3rl5j4RN9J4Hlu5rwNWT9hsXnvddNbCGeiJiSDBG9+tMBxc1KOkAXPRr5fd2a9WO0687YR68AKDWtDLuB7nH1qCsYnOiqa1n2ec05GrbFBmNkiYkVYsOLOpKAb1pKNGB7sk/vSpzqfKqN3o2preGC5Wvjrvxh+cFANygxz89wdNjFvxH33cm/3RW2u/bK6EWke5GQU1oYGrfvte6aRlTl5jq7q3lBKZsO05vTlfHsVEkgHrQ4xUhyb+0o6Hfv7DvoURIcoG24rL7UGho0TOsT0cH5HYZA9TZdpzeSm1Wqc/T6pFucgkAbtNjnZ4UljurifrSk/OP3j4vHdvDXU0iJLlMg02mZdafqQ6ZP4TTZV4faKV2nA5+6/wRq9gA1FNqdDD0b7J+pnvqhR0hqY5y55esHvDlszIz6fyHMrcdBwBewZusv32eYkyDkOQBhQPfE1fOWu24OX5AAfjY7CQhCf5GSPIYDUzrH3zOumXnl8od+AaAero9S8sf/kZI8rAv5pf0+nADVn+flhoAv2BTwtXp9dP0orphuByKHxGSfCK2qc+6de08mKkw2Rz41pUlVKEA1AOLR0p75ydxmTVDknUttX8fkNZ1WwXeQkjyGbsbVjY2R6Xz/oPW9gO6czcAwDum3x20ApKan01J6tprhCQPIiT52EobVt7ZmzArToesvZP8cg0lAAC8hpAUELkbVgIAvEMrRcrp9eHmPk5KE7NKdUVIAgCgRm7+5lmZGDxu3e/Zd1radjy16ms+N8PRyM/6rI860L3p+wMMdtdJRAAAQFVp9WjUDDrZgKRS187Zeu0nV1+zApLKBqaZm8MC9xGSAACoMg02Opydy267rfWrW/Iea1Aa/e++peAE99BuQ1nmF0Ru3RbA0wzDfMP5kgCu0hZbduVaVnviGen61lFbr49+PSHrHzsmY2/0L80z6UcNXv/4H0OOZ5tQPkISyraQFsDTKJXDbVOXT+e12NTabx2xHZCy2hOH5Y57ElYFKRuUtJI09vt+Wf8vxwTuICS5RHeerccW/WzmBgDu0epPLicVpEK6b9LG7/3WCkpZk28el9jmR6xqE2qPkFRjGo50/6KJK68SWAAgwLSKlDs3pMv31z92XCqhYUirSpM51alxM4gRktxBSKohDUdjl14kHAFACExdPpP3WNts1dBlfh0NYNm2mw6E631mk2qPln0N6C7X137+bblx4acEJAAIAQ0tuavZtIrUtmP/is9vdBBwNAxpNSmXbhOA2iMkVZGGI71Omt70umoAgHCYKVjNdscq7TDdHDJ3N+2mu7pLPj96zwN5jz8r2F4AtUG7rQo0EI1dPClTV18XAED4zNx8O+9x7N5HSj5fq0O93x+Qj8wWXfTrD5ghKFHy+YUXv51lc0lXEJIqwFA2AEBl54WyGlpXb6dpNanL5tyShip9fnYw/HbB74faICSVgXAEAEDwEZIcIBwBAOplnuqR6whJNhCOAAClFA5ez01dl+g9UjUakHJDUu7QN2qHkLQKHca+ceF5whEAYEVrCkKLrj67e8dTUi2Fq+daCga5URtsAbCC7HL+5PkjBCQAQEm6+ix3c8fU1XNVbY9N/TF/o8rCLQFQG4SkAtpau2lWjjQgaVACAGA1GpBim/csPdaANDF4QqpBV7RNXTm94u+F2iEk5dBQ9M6pJ6zZIwAAnGjbnt9e0+ut5V7LrVxjv8+/aC4ByT2EJMmvHrFTNgCgHHrR2dxNIbWa9N6pR6USejHb3CqS6qrSNeGwutCHJA1FIy8foHoEAKhYz5Mv5c0m6cC1BqVy5pM0II29cTTvc3rR3DWsbHNNqEPS1NXz8s4vnpDZiREBAKBSxXbRTl07J+/8JG679aaB6uZvnl0WkFq/utX82kcF7gntFgDjl07K2MUXBQCAampPHLYuG6KVoCwNSNeObpC27fsltuURqy2XW3FS0+8Oymd/eVMmBo8vqzzpvkgbD/xW4K7QhSSdP0q+fkRSowNSrsbmqDSYt7kU80sAgOWyFZ/coKR0vig7Y6TBJ3s9ttsFm0Xm0gqSBiTabO4LVUjKzh9VMpwd6+2T9Q89J2vu7LI2mtSKFGEJAFBIg5IGIQ1Kc0Vabfq5uVVacO2JZ2T9Y8cF9RGakFRpQGqKdUn3w/0S7d629Lm2zbutxx+9nQlLAADkatux31r19tHl0/Lx5TOrhqIsbcet/ecjeavl4L5QhCQdzB555UDZO2evvf+gdOzYJw1N0WW/phWlrp2H5O4tu2Xs4kmrugQAQFZmmPuoddMh7tTV1+TzqaTVZtPQ1NgSs+aT7jADUeu6LVawKpxXQn0EPiTpBpHv/foHZQWkYtWjlWhY6tnVbwamg9bM0/QH7NYNAMgXu3ePdYM/BDok6RL/5PkfSTnat++1KkTFqkelaFjq/e4p5pUAAPC5wIakcgOSrlzr1Pba9n1SCZ1X0hthCQAAfwpkSCo3IGl7beN3XpCWjk1SLdnh7k9GBmT2w1Fx2+f/P8aFegEAKEPgQpIOaZcTkFrNYLTx8Resdlm16destDJVLg1IhCQAAJwLVEjKrmJzqm3zLln/0A8dzx8BAIDgCkxI0v2P3v2V81VsOqC9/sEfCgAAQK5AhKRyN4rU/Y90BRsAAEChiPicXouNgAQAAKrN9yFJN24kIAEAgGrzdUjS/YdSowOOXkNAAgDA7MTMpgSl+TYkaUAau/iio9cQkAAAWbo9S0NzZlXz7F+HJWxmbobv/9kpX4Yk3feHgAQAqFTr4ubBU5dPh66yMnX5jKA034UknT9Knj/i6DW6DxIBCQBQSE+glQaksd/3S1hMDp6Q6XcHBaX5LiQ5XcmmZwk9u34sAADk0tXRn44OLj2efPO4jL8R/KCkAenGbw4LVuerfZJuXnjeUUDSa7H1fveUAACQS8c2tCtR+J4y9sZR+chsvXUkDkvLui2y5q4eCYrPzMrR1B/PUEFywDchafLKWZm48qrt51sB6clTXGoEALBEq0fjF0/mvZ9Ev7ZN1u48KNf/94jMpcbk84+TVFpg8UVI0qR/48JPHb1m43dqc7FaAIA/FVaPGpuj0nn/waULkP/Tv/5Opq6+bq2e1rAUdi2dmyTsPB+SsjtqO7HuweekpYNvLgBg5epRz+7+ZSfTbZt3S6y3T4b/a6eEXcf2vRJ2ng9JN/7gbA5pbc5ZAQAg3FarHhWjeye137dPJv9kf8QjaDQs0o3xeEjSsqfe7NIzA5b6AwCcVI+K6dp5UD79y0Ao224606v///BwSMrMIT1v+/n6TdUffgBAuJVTPSqk1SRd/DP6yoFQBSV9L2Wm9wueDUk6hzR/a9r28/WHmW8qgHpoMo89fjj+6DF1ZnJEgqrS6lEhfY2+t4yZX9NJV8OvKvm7CipPhiRdWeBkDkkHtfmmAnCTVie+ct9e6dixz1dbjeixVSstQVvBVY3qUTH63tKzq99qP6VGBs2bs4uqe51WzFo6eiXavc26IZ/nQpL+gDu5LpsOlzGoDcBNupO/blTrx33Y9E1fj5v6hqgLY1Kj/n7Tr3b1aCX6tdq377VuCA/PhSQny/21d7r+oecEANyS3cnf7xvV6pv+xsdfsGZutArjR7WqHgFZngpJTi87wo7aANwWtOOOtpLe+cUTjmZA682t6hHgmZCkZwROLjui+yHxjwGAm4K4d4zVRrpvn4xfsj/mUE9Uj+AmT4QkPSvQH3q79EDFfkgA3BbblJAginZ/0wxJ4mlUj1APnghJ+oNvt83GJlcA6sXpm7EuG3dyAlhN3Q//WO7essvWc1s9fhknqkeol7qHJP2hd9ZmO8RZA4C6COoMpC4D9yKqR6i3uockJ6vZdOll22Z7Z0YAUG96oW09sXNKK1B6AqmV87vu3S3laO3sFT+jegQvqGtIcrJpZKbNxhwSAP/QNlY5razPPnjLOjau+fvwjRdQPYKX1C0kOd00kuX+ABBsVI/gNXULSU7abCz3B4DgonoEr6pLSJq8cpY2GwDAMvI/B2R28cK7VI/gJRFxmdVmu+SszQYACK7sVgVaPfrG935JQIJnuF5JGjNLqna3v6fNBgDB126GojVm1yDW2yeAl7haSdJlrXqzgzYbAIQHAQle5GpI0iqSXbTZAABAPbkWkpzsiUSbDQAA1JsrIcnJnki02QAAgBe4EpJu/OF528/tfrhfAAAA6q3mIUkHtVOjA7ae27Z5t0S7twkAAEC91TQkZdps9oa1M222cF2jCAAAeFdNQ5KTnbX1StkMawMAAK+oWUjScJR7HZ5StM3WtnmXAAAAeEXNQpLdYW3abAAAwItqEpKcDGt/5b69tNkAAIDn1CQkORnW5kKGAFBfdq+nCYRN1UOSk521ufQIAD+Zvv5nCaKZiREBsFxVQ5KTnbW59AgAv/n4mr0LdPvN1NXzAmC5qoYkR222HbTZAPjL9PW3rFuQ6MmtzpECWK5qISk1MmD7H5ruidTQFBUA8Jvk+SO2Rwq8bn5uWkZePiAAiqtaSLpxwd6Sf/ZEAuBnGpA0WPg9KOmf/51TTwQm8AG10ChVYHdn7cbmKHsiAfA9Pd5d+/m3l076/HLNSa0czXw4IqnRQavyz6o2oLSKQ5KTnbU7GdYGECAaNGo5zzP9wVvy5/+MC4D6qLjdpsPadqpI7IkEAAD8pKKQ5GRVBHsiAQAAP6koJNldFaF9e9psAADAT8oOSVpBsttmY1gbAAD4TVkhKbOztr2NI3VPJKpIAADAb8oKSbqFvZ0qUqy3jz2RAACALzkOSU6uz7b+oecEAADAjxyHJPttNvZEAgAA/uUoJNndOC0zrH1IAAAA/MpRSLJbRVr3IG02AADgb7ZD0vgleztr655IOrANAADgZ7ZCkt1hbfZEAgAAQWErJLEnEgAACJtVQ5LdYe3Wjk3siQQAAAJj1ZBkt4q08fEXBAAAIChKhiS7w9rsiQQAAIJmxZDkbFibPZEAAECwrBiS7LbZuh/uFwAAgKApGpLsDmvrnkjR7m0CAAAQNMtC0vzctK0qEnsiAQCAIFsWksYv2h3WZk8kAAAQXHkhScPRxJVXV32RttnYEwkAAARZXkgaefnAqi+gzQYAAMJgKSTZ3xOJNhsAAAg+KyTZ3ROJNhsAAAgLKyTRZgMAAMgXmbxyljYbAABAgcjYJdpsAAAAhSLzt6ZLPoE2GwAACKPIak+gzQYAAMKoZEiizQYAAMJqxZBEmw0AAITZiiGp++F+2mwAACC0ioaktfcflGj3NgEAAAirZSEp02Y7JAAAAGGWF5Iam6PS++QpAQAACLu8kNRpttmYQwIAAMgJSe3b90rH9n0CAACAxZDEHBIAAEC+SHYOqaEpKgAAAMiIMIcEAACwXIQ5JAAAgOVWvcAtAABAGBGSAAAAiiAkAQAAFNEoQBkiZrxu/pIAnmYIAJSPkISy6JvPl6hDAgACjLc5AACAIghJAAAARRCSAAAAiiAkAQAAFEFIAgAAKIKQBAAAUAQhCQBQEw3NUQH8jJAUcE2xLgGAemhoIiTB3whJAcdBCkC9NN3JSRr8jZAUcFruXsOBCkAdtHRuEsDPCEkhEOvtEwBwW7T7mwL4GSEpBGKbEgIAbtIqNido8DtCUghEu7exygSAqwhICAJCUki037dPAMAtXTsPCuBrC3JdQ1JSEHgd2/eyHQAAV7Rt3s2CEQQClaSQ0HZb98P9AgC1pCdjVJEQCIakqCSFiM4mrb2fgxeA2tGTMapICARDkhFJy3VBaHTtPGSWwncJAFSbnoTpyRgQCAuSahQqSaHTs+vH1sepq+cFAKph3YPPScd2FoggQG7JMCEppDQoaUl8/NJJAYByNTZH5R++8wIVJARNytgQT0VkXoYFoaStt3v/7XesegNQFt0L6Rvf+yUBCUFkZSND/5OeGPpE0hIThNbU1ddl8vJZmZkcEQAoJfq1bbJ2J/NHCLAFOWF0xQ83Wg/SVmJKCEJL9zXR28zEiHx2/c+SGhmQWTMw3b41LQDCrclszd9hBqPWzk3StmWXNDSxgz8CzsitJI0NHZeIPCNAEfNz03J7lrAEhE1jS5RAhHCKSNxojw9nQtL4UMKMSwMCAAAQbkmjM75B72R23G42y0qGpAQAACDMDBnM3rVCkvHleGpxLgkAACDMXsveiRT7JAAAQAiljI74ueyDL0JSk5ym5QYAAELLkHO5D5dC0mLLbVAAAADCaEHO5D6M5P1iWk4IAABA+CSNtfHB3E/khaTFXxwUAACAMElLf+GnIkWedEYAAADCIym38ueR1PKQ1Gw+iQFuAAAQFmaByNgQX5Z9loUka4B7fnnJCQAAIICS5u10sV+IFPuk0RU/vvgiAACA4NIq0tp4stgvRUq86GkBAAAILl3RdnSlX1wxJLHSDQAABFq69HhRREq/+GmGuAEAQOAYctosCJ0u9ZSSIcnq0THEDQAAgiUpC6vnG0NsSH84NGB+SAgAAIDfmZ2y1apIKiJ2ZIa4kwIAAOBnC3LCTkBStipJKj0+lDCfPSAAAAD+lDQ64xvsPtleJUkWV7styLMCAADgP0mzM9bn5AW2K0lZZkXpqPmqIwIAAOAHulJ/QeIrbRq58svKYAal0+YrnxIAAACvMytIi/s/OmK73ZbL/I326zbeAgAA4GWZlWyDUoayKklLvy8VJQAA4FU2l/qvpKxKUpZVUVqQEwIAAOAVOoOUabGdlgpUFJKsP0dX/PBq1z4BAABwSdIMSX3ltthyVdRuy2W23vabkeuYGZhiAgAA4L5hM4c86nQV20qqFpKUGZR6Fjec7BEAAAC36E7a2t2qoorbbbms5NYkceaUAACAK7LzR1UOSJkvXSOLlzF5SagqAQCAWjDknMzI08aGeEpqoGYhKYsdugEAQJUlK9n/yK6ahyRlzSqJHGVPJQAAULZMa63f6IwfFxe4EpKyCEsAAMCxzLXXTsgtOV6r1lrx37YOcsLSA8LMEgAAKG7QugzaLTnnZjjKqktIymXtr5SpLCUEAACEm1aN5s1gZJjBqMYzR6v/UTxisbqUkIg8YqbGrUKFCQCAcDBk2AxGb3ohGOXyTEgqlJ4c2mr+hW21AlNEtph/0q3s5g0AgO8lF0PRdWkw22kzMliPVpodng1JxaTfH4pJs1VlUrq7d4zgBACAZyVzPibllqS8GoiK+Rtq9nmQxGpQFQAAAABJRU5ErkJggg=="},66581:e=>{"use strict";e.exports=require("bows")},3892:e=>{"use strict";e.exports=require("classnames")},17897:e=>{"use strict";e.exports=require("d3-array")},19483:e=>{"use strict";e.exports=require("d3-format")},81386:e=>{"use strict";e.exports=require("d3-scale")},4485:e=>{"use strict";e.exports=require("d3-shape")},51427:e=>{"use strict";e.exports=require("d3-time-format")},80255:e=>{"use strict";e.exports=require("gsap")},56427:e=>{"use strict";e.exports=require("i18next")},27825:e=>{"use strict";e.exports=require("lodash")},74716:e=>{"use strict";e.exports=require("moment")},55812:e=>{"use strict";e.exports=require("moment-timezone")},29825:e=>{"use strict";e.exports=require("prop-types")},82015:e=>{"use strict";e.exports=require("react")},80789:e=>{"use strict";e.exports=require("react-clipboard.js")},14549:e=>{"use strict";e.exports=require("react-collapse")},7843:e=>{"use strict";e.exports=require("react-markdown")},94568:e=>{"use strict";e.exports=require("react-motion")},22544:e=>{"use strict";e.exports=require("react-redux")},78466:e=>{"use strict";e.exports=require("react-select")},37841:e=>{"use strict";e.exports=require("react-sizeme")},76954:e=>{"use strict";e.exports=require("react-transition-group-plus")},63452:e=>{"use strict";e.exports=require("sundial")},29610:e=>{"use strict";e.exports=require("text-table")},40054:e=>{"use strict";e.exports=require("victory")},44906:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},67049:(e,t,n)=>{var a=n(8498).default;function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var l=i?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(o,s,l):o[s]=e[s]}return o.default=e,n&&n.set(e,o),o},e.exports.__esModule=!0,e.exports.default=e.exports},8498:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},61861:(e,t,n)=>{"use strict";function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}n.d(t,{A:()=>a})},83581:(e,t,n)=>{"use strict";function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.r(t),n.d(t,{default:()=>a})},17559:(e,t,n)=>{"use strict";function a(e,t,n,a,r,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(a,r)}function r(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){a(i,r,o,s,l,"next",e)}function l(e){a(i,r,o,s,l,"throw",e)}s(void 0)}))}}n.r(t),n.d(t,{default:()=>r})},46721:(e,t,n)=>{"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.r(t),n.d(t,{default:()=>a})},4841:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var a=n(61676);function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(0,a.A)(r.key),r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},53671:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var a=n(77294),r=n(24664),o=n(83581);function i(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=(0,a.default)(e);if(t){var s=(0,a.default)(this).constructor;n=Reflect.construct(i,arguments,s)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===(0,r.default)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.default)(e)}(this,n)}}},271:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});var a=n(61676);function r(e,t,n){return(t=(0,a.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},77294:(e,t,n)=>{"use strict";function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}n.d(t,{default:()=>a})},54013:(e,t,n)=>{"use strict";function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}n.r(t),n.d(t,{default:()=>r})},37055:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var a=n(271);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},79222:(e,t,n)=>{"use strict";function a(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.r(t),n.d(t,{default:()=>a})},89679:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});var a=n(24664);function r(){r=function(){return t};var e,t={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",d=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function f(e,t,n,a){var r=t&&t.prototype instanceof y?t:y,o=Object.create(r.prototype),s=new O(a||[]);return i(o,"_invoke",{value:I(e,n,s)}),o}function A(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var p="suspendedStart",g="suspendedYield",m="executing",h="completed",b={};function y(){}function v(){}function E(){}var C={};c(C,l,(function(){return this}));var B=Object.getPrototypeOf,T=B&&B(B(N([])));T&&T!==n&&o.call(T,l)&&(C=T);var S=E.prototype=y.prototype=Object.create(C);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function n(r,i,s,l){var d=A(e[r],e,i);if("throw"!==d.type){var u=d.arg,c=u.value;return c&&"object"==(0,a.default)(c)&&o.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(c).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(d.arg)}var r;i(this,"_invoke",{value:function(e,a){function o(){return new t((function(t,r){n(e,a,t,r)}))}return r=r?r.then(o,o):o()}})}function I(t,n,a){var r=p;return function(o,i){if(r===m)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return{value:e,done:!0}}for(a.method=o,a.arg=i;;){var s=a.delegate;if(s){var l=L(s,a);if(l){if(l===b)continue;return l}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(r===p)throw r=h,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);r=m;var d=A(t,n,a);if("normal"===d.type){if(r=a.done?h:g,d.arg===b)continue;return{value:d.arg,done:a.done}}"throw"===d.type&&(r=h,a.method="throw",a.arg=d.arg)}}}function L(t,n){var a=n.method,r=t.iterator[a];if(r===e)return n.delegate=null,"throw"===a&&t.iterator.return&&(n.method="return",n.arg=e,L(t,n),"throw"===n.method)||"return"!==a&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var o=A(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,b;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,b):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function n(){for(;++r<t.length;)if(o.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError((0,a.default)(t)+" is not iterable")}return v.prototype=E,i(S,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:v,configurable:!0}),v.displayName=c(E,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,u,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},x(w.prototype),c(w.prototype,d,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,a,r,o){void 0===o&&(o=Promise);var i=new w(f(e,n,a,r),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},x(S),c(S,u,"Generator"),c(S,l,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var a in t)n.push(a);return n.reverse(),function e(){for(;n.length;){var a=n.pop();if(a in t)return e.value=a,e.done=!1,e}return e.done=!0,e}},t.values=N,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(a,r){return s.type="throw",s.arg=t,n.next=a,r&&(n.method="next",n.arg=e),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=o.call(i,"catchLoc"),d=o.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&o.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var r=a;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var i=r?r.completion:{};return i.type=e,i.arg=t,r?(this.method="next",this.next=r.finallyLoc,b):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var a=n.completion;if("throw"===a.type){var r=a.arg;k(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,a){return this.delegate={iterator:N(t),resultName:n,nextLoc:a},"next"===this.method&&(this.arg=e),b}},t}},21580:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});var a=n(19948);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,i,s=[],l=!0,d=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=o.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){d=!0,r=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(d)throw r}}return s}}(e,t)||(0,a.A)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},84374:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var a=n(61861),r=n(19948);function o(e){return function(e){if(Array.isArray(e))return(0,a.A)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,r.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},61676:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(24664);function r(e){var t=function(e){if("object"!==(0,a.default)(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==(0,a.default)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===(0,a.default)(t)?t:String(t)}},24664:(e,t,n)=>{"use strict";function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}n.r(t),n.d(t,{default:()=>a})},19948:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(61861);function r(e,t){if(e){if("string"==typeof e)return(0,a.A)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,a.A)(e,t):void 0}}},49842:(e,t,n)=>{"use strict";n.r(t),n.d(t,{I18nContext:()=>_,I18nextProvider:()=>V,Trans:()=>H,TransWithoutContext:()=>R,Translation:()=>W,composeInitialProps:()=>G,date:()=>Q,getDefaults:()=>I,getI18n:()=>D,getInitialProps:()=>j,initReactI18next:()=>M,number:()=>X,plural:()=>J,select:()=>Z,selectOrdinal:()=>ee,setDefaults:()=>w,setI18n:()=>L,time:()=>K,useSSR:()=>$,useTranslation:()=>Y,withSSR:()=>q,withTranslation:()=>z});var a=n(82015);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r.apply(this,arguments)}var o=n(22510),i=n.n(o),s=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function l(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(i()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var a=e.indexOf("--\x3e");return{type:"comment",comment:-1!==a?e.slice(4,a):""}}for(var r=new RegExp(s),o=null;null!==(o=r.exec(e));)if(o[0].trim())if(o[1]){var l=o[1].trim(),d=[l,""];l.indexOf("=")>-1&&(d=l.split("=")),t.attrs[d[0]]=d[1],r.lastIndex--}else o[2]&&(t.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return t}var d=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,u=/^\s*$/,c=Object.create(null);function f(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(f,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var A={parse:function(e,t){t||(t={}),t.components||(t.components=c);var n,a=[],r=[],o=-1,i=!1;if(0!==e.indexOf("<")){var s=e.indexOf("<");a.push({type:"text",content:-1===s?e:e.substring(0,s)})}return e.replace(d,(function(s,d){if(i){if(s!=="</"+n.name+">")return;i=!1}var c,f="/"!==s.charAt(1),A=s.startsWith("\x3c!--"),p=d+s.length,g=e.charAt(p);if(A){var m=l(s);return o<0?(a.push(m),a):((c=r[o]).children.push(m),a)}if(f&&(o++,"tag"===(n=l(s)).type&&t.components[n.name]&&(n.type="component",i=!0),n.voidElement||i||!g||"<"===g||n.children.push({type:"text",content:e.slice(p,e.indexOf("<",p))}),0===o&&a.push(n),(c=r[o-1])&&c.children.push(n),r[o]=n),(!f||n.voidElement)&&(o>-1&&(n.voidElement||n.name===s.slice(2,-1))&&(o--,n=-1===o?a:r[o]),!i&&"<"!==g&&g)){c=-1===o?a:r[o].children;var h=e.indexOf("<",p),b=e.slice(p,-1===h?void 0:h);u.test(b)&&(b=" "),(h>-1&&o+c.length>=0||" "!==b)&&c.push({type:"text",content:b})}})),a},stringify:function(e){return e.reduce((function(e,t){return e+f("",t)}),"")}};const p=A;function g(){if(console&&console.warn){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&(t[0]=`react-i18next:: ${t[0]}`),console.warn(...t)}}const m={};function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&m[t[0]]||("string"==typeof t[0]&&(m[t[0]]=new Date),g(...t))}const b=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout((()=>{e.off("initialized",n)}),0),t()};e.on("initialized",n)}};function y(e,t,n){e.loadNamespaces(t,b(e,n))}function v(e,t,n,a){"string"==typeof n&&(n=[n]),n.forEach((t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,b(e,a))}function E(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}const C=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,B={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},T=e=>B[e];let S,x={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(C,T)};function w(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x={...x,...e}}function I(){return x}function L(e){S=e}function D(){return S}function k(e,t){if(!e)return!1;const n=e.props?e.props.children:e.children;return t?n.length>0:!!n}function O(e){if(!e)return[];const t=e.props?e.props.children:e.children;return e.props&&e.props.i18nIsDynamicList?N(t):t}function N(e){return Array.isArray(e)?e:[e]}function P(e,t){if(!e)return"";let n="";const r=N(e),o=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return r.forEach(((e,r)=>{if("string"==typeof e)n+=`${e}`;else if((0,a.isValidElement)(e)){const a=Object.keys(e.props).length,i=o.indexOf(e.type)>-1,s=e.props.children;if(!s&&i&&0===a)n+=`<${e.type}/>`;else if(s||i&&0===a)if(e.props.i18nIsDynamicList)n+=`<${r}></${r}>`;else if(i&&1===a&&"string"==typeof s)n+=`<${e.type}>${s}</${e.type}>`;else{const e=P(s,t);n+=`<${r}>${e}</${r}>`}else n+=`<${r}></${r}>`}else if(null===e)g("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"==typeof e){const{format:t,...a}=e,r=Object.keys(a);if(1===r.length){const e=t?`${r[0]}, ${t}`:r[0];n+=`{{${e}}}`}else g("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else g("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)})),n}function R(e){let{children:t,count:n,parent:o,i18nKey:i,context:s,tOptions:l={},values:d,defaults:u,components:c,ns:f,i18n:A,t:g,shouldUnescape:m,...b}=e;const y=A||D();if(!y)return h("You will need to pass in an i18next instance by using i18nextReactModule"),t;const v=g||y.t.bind(y)||(e=>e);s&&(l.context=s);const E={...I(),...y.options&&y.options.react};let C=f||v.ns||y.options&&y.options.defaultNS;C="string"==typeof C?[C]:C||["translation"];const B=P(t,E),T=u||B||E.transEmptyNodeValue||i,{hashTransKey:S}=E,x=i||(S?S(B||T):B||T);y.options&&y.options.interpolation&&y.options.interpolation.defaultVariables&&(d=d&&Object.keys(d).length>0?{...d,...y.options.interpolation.defaultVariables}:{...y.options.interpolation.defaultVariables});const w=d?l.interpolation:{interpolation:{...l.interpolation,prefix:"#$?",suffix:"?$#"}},L={...l,count:n,...d,...w,defaultValue:T,ns:C},R=function(e,t,n,o,i,s){if(""===t)return[];const l=o.transKeepBasicHtmlNodesFor||[],d=t&&new RegExp(l.map((e=>`<${e}`)).join("|")).test(t);if(!e&&!d&&!s)return[t];const u={};!function e(t){N(t).forEach((t=>{"string"!=typeof t&&(k(t)?e(O(t)):"object"!=typeof t||(0,a.isValidElement)(t)||Object.assign(u,t))}))}(e);const c=p.parse(`<0>${t}</0>`),f={...u,...i};function A(e,t,n){const r=O(e),o=m(r,t.children,n);return function(e){return"[object Array]"===Object.prototype.toString.call(e)&&e.every((e=>(0,a.isValidElement)(e)))}(r)&&0===o.length||e.props&&e.props.i18nIsDynamicList?r:o}function g(e,t,n,o,i){e.dummy?(e.children=t,n.push((0,a.cloneElement)(e,{key:o},i?void 0:t))):n.push(...a.Children.map([e],(e=>{const n={...e.props};return delete n.i18nIsDynamicList,a.createElement(e.type,r({},n,{key:o,ref:e.ref},i?{}:{children:t}))})))}function m(t,r,i){const u=N(t);return N(r).reduce(((t,r,c)=>{const p=r.children&&r.children[0]&&r.children[0].content&&n.services.interpolator.interpolate(r.children[0].content,f,n.language);if("tag"===r.type){let s=u[parseInt(r.name,10)];1!==i.length||s||(s=i[0][r.name]),s||(s={});const h=0!==Object.keys(r.attrs).length?function(e,t){const n={...t};return n.props=Object.assign(e.props,t.props),n}({props:r.attrs},s):s,b=(0,a.isValidElement)(h),y=b&&k(r,!0)&&!r.voidElement,v=d&&"object"==typeof h&&h.dummy&&!b,E="object"==typeof e&&null!==e&&Object.hasOwnProperty.call(e,r.name);if("string"==typeof h){const e=n.services.interpolator.interpolate(h,f,n.language);t.push(e)}else if(k(h)||y)g(h,A(h,r,i),t,c);else if(v)g(h,m(u,r.children,i),t,c);else if(Number.isNaN(parseFloat(r.name)))if(E)g(h,A(h,r,i),t,c,r.voidElement);else if(o.transSupportBasicHtmlNodes&&l.indexOf(r.name)>-1)if(r.voidElement)t.push((0,a.createElement)(r.name,{key:`${r.name}-${c}`}));else{const e=m(u,r.children,i);t.push((0,a.createElement)(r.name,{key:`${r.name}-${c}`},e))}else if(r.voidElement)t.push(`<${r.name} />`);else{const e=m(u,r.children,i);t.push(`<${r.name}>${e}</${r.name}>`)}else if("object"!=typeof h||b)g(h,p,t,c,1!==r.children.length||!p);else{const e=r.children[0]?p:null;e&&t.push(e)}}else if("text"===r.type){const e=o.transWrapTextNodes,i=s?o.unescape(n.services.interpolator.interpolate(r.content,f,n.language)):n.services.interpolator.interpolate(r.content,f,n.language);e?t.push((0,a.createElement)(e,{key:`${r.name}-${c}`},i)):t.push(i)}return t}),[])}return O(m([{dummy:!0,children:e||[]}],c,N(e||[]))[0])}(c||t,x?v(x,L):T,y,E,L,m),M=void 0!==o?o:E.defaultTransParent;return M?(0,a.createElement)(M,b,R):R}const M={type:"3rdParty",init(e){w(e.options.react),L(e)}},_=(0,a.createContext)();class F{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach((e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)}))}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function G(e){return t=>new Promise((n=>{const a=j();e.getInitialProps?e.getInitialProps(t).then((e=>{n({...e,...a})})):n(a)}))}function j(){const e=D(),t=e.reportNamespaces?e.reportNamespaces.getUsedNamespaces():[],n={},a={};return e.languages.forEach((n=>{a[n]={},t.forEach((t=>{a[n][t]=e.getResourceBundle(n,t)||{}}))})),n.initialI18nStore=a,n.initialLanguage=e.language,n}function H(e){let{children:t,count:n,parent:r,i18nKey:o,context:i,tOptions:s={},values:l,defaults:d,components:u,ns:c,i18n:f,t:A,shouldUnescape:p,...g}=e;const{i18n:m,defaultNS:h}=(0,a.useContext)(_)||{},b=f||m||D(),y=A||b&&b.t.bind(b);return R({children:t,count:n,parent:r,i18nKey:o,context:i,tOptions:s,values:l,defaults:d,components:u,ns:c||y&&y.ns||h||b&&b.options&&b.options.defaultNS,i18n:b,t:A,shouldUnescape:p,...g})}const U=(e,t)=>{const n=(0,a.useRef)();return(0,a.useEffect)((()=>{n.current=t?n.current:e}),[e,t]),n.current};function Y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{i18n:n}=t,{i18n:r,defaultNS:o}=(0,a.useContext)(_)||{},i=n||r||D();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new F),!i){h("You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>"string"==typeof t?t:t&&"object"==typeof t&&"string"==typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}i.options.react&&void 0!==i.options.react.wait&&h("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const s={...I(),...i.options.react,...t},{useSuspense:l,keyPrefix:d}=s;let u=e||o||i.options&&i.options.defaultNS;u="string"==typeof u?[u]:u||["translation"],i.reportNamespaces.addUsedNamespaces&&i.reportNamespaces.addUsedNamespaces(u);const c=(i.isInitialized||i.initializedStoreOnce)&&u.every((e=>function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,a)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e))return!1}}):function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=t.languages[0],r=!!t.options&&t.options.fallbackLng,o=t.languages[t.languages.length-1];if("cimode"===a.toLowerCase())return!0;const i=(e,n)=>{const a=t.services.backendConnector.state[`${e}|${n}`];return-1===a||2===a};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!i(t.isLanguageChangingTo,e)||!t.hasResourceBundle(a,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!i(a,e)||r&&!i(o,e)))}(e,t,n):(h("i18n.languages were undefined or empty",t.languages),!0)}(e,i,s)));function f(){return i.getFixedT(t.lng||null,"fallback"===s.nsMode?u:u[0],d)}const[A,p]=(0,a.useState)(f);let g=u.join();t.lng&&(g=`${t.lng}${g}`);const m=U(g),b=(0,a.useRef)(!0);(0,a.useEffect)((()=>{const{bindI18n:e,bindI18nStore:n}=s;function a(){b.current&&p(f)}return b.current=!0,c||l||(t.lng?v(i,t.lng,u,(()=>{b.current&&p(f)})):y(i,u,(()=>{b.current&&p(f)}))),c&&m&&m!==g&&b.current&&p(f),e&&i&&i.on(e,a),n&&i&&i.store.on(n,a),()=>{b.current=!1,e&&i&&e.split(" ").forEach((e=>i.off(e,a))),n&&i&&n.split(" ").forEach((e=>i.store.off(e,a)))}}),[i,g]);const E=(0,a.useRef)(!0);(0,a.useEffect)((()=>{b.current&&!E.current&&p(f),E.current=!1}),[i,d]);const C=[A,i,c];if(C.t=A,C.i18n=i,C.ready=c,c)return C;if(!c&&!l)return C;throw new Promise((e=>{t.lng?v(i,t.lng,u,(()=>e())):y(i,u,(()=>e()))}))}function z(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){function r(r){let{forwardedRef:o,...i}=r;const[s,l,d]=Y(e,{...i,keyPrefix:t.keyPrefix}),u={...i,t:s,i18n:l,tReady:d};return t.withRef&&o?u.ref=o:!t.withRef&&o&&(u.forwardedRef=o),(0,a.createElement)(n,u)}return r.displayName=`withI18nextTranslation(${E(n)})`,r.WrappedComponent=n,t.withRef?(0,a.forwardRef)(((e,t)=>(0,a.createElement)(r,Object.assign({},e,{forwardedRef:t})))):r}}function W(e){const{ns:t,children:n,...a}=e,[r,o,i]=Y(t,a);return n(r,{i18n:o,lng:o.language},i)}function V(e){let{i18n:t,defaultNS:n,children:r}=e;const o=(0,a.useMemo)((()=>({i18n:t,defaultNS:n})),[t,n]);return(0,a.createElement)(_.Provider,{value:o},r)}function $(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{i18n:r}=n,{i18n:o}=(0,a.useContext)(_)||{},i=r||o||D();i.options&&i.options.isClone||(e&&!i.initializedStoreOnce&&(i.services.resourceStore.data=e,i.options.ns=Object.values(e).reduce(((e,t)=>(Object.keys(t).forEach((t=>{e.indexOf(t)<0&&e.push(t)})),e)),i.options.ns),i.initializedStoreOnce=!0,i.isInitialized=!0),t&&!i.initializedLanguageOnce&&(i.changeLanguage(t),i.initializedLanguageOnce=!0))}function q(){return function(e){function t(t){let{initialI18nStore:n,initialLanguage:r,...o}=t;return $(n,r),(0,a.createElement)(e,{...o})}return t.getInitialProps=G(e),t.displayName=`withI18nextSSR(${E(e)})`,t.WrappedComponent=e,t}}const Q=()=>"",K=()=>"",X=()=>"",Z=()=>"",J=()=>"",ee=()=>""}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var o=t[a]={id:a,loaded:!1,exports:{}};return e[a](o,o.exports,n),o.loaded=!0,o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.nc=void 0;var a={};(()=>{"use strict";var e=a,t=n(44906).default;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"colors",{enumerable:!0,get:function(){return L.default}}),e.utils=e.containers=e.components=void 0;var r=t(n(27825)),o=t(n(45108)),i=t(n(13309)),s=t(n(51530)),l=t(n(11436)),d=t(n(50628)),u=t(n(94618)),c=t(n(38933)),f=t(n(39695)),A=t(n(69717)),p=t(n(56607)),g=t(n(75991)),m=t(n(46792)),h=t(n(15910)),b=t(n(63616)),y=t(n(78572)),v=t(n(88054)),E=t(n(32592)),C=t(n(1718)),B=t(n(31768)),T=t(n(54192)),S=n(99559),x=n(84240),w=n(11673),I=n(66871),L=t(n(93870)),D=n(74501),k=n(89540),O=n(80358),N=n(85199),P=n(98020),R=n(37359),M=n(7737),_=t(n(40549)),F=n(51856),G=t(n(79947)),j=n(54114);n(72439);var H=n(56427);void 0===r.default.get(H,"options.returnEmptyString")&&H.init({returnEmptyString:!1,nsSeparator:"|"}),e.components={AlarmTooltip:C.default,BolusTooltip:h.default,CBGDateTraceLabel:o.default,CBGTooltip:E.default,CgmSampleIntervalTooltip:g.default,ClipboardButton:d.default,EventsInfoTooltip:m.default,EventTooltip:T.default,FocusedRangeLabels:i.default,FocusedSMBGPointLabel:s.default,FoodTooltip:B.default,Loader:l.default,PumpSettingsOverrideTooltip:b.default,RangeSelect:u.default,SMBGTooltip:y.default,Stat:v.default,Tooltip:p.default,TwoOptionToggle:c.default},e.containers={PumpSettingsContainer:f.default,TrendsContainer:A.default},e.utils={agp:{AGPConstants:G.default,generateAGPFigureDefinitions:F.generateAGPFigureDefinitions},basal:{getGroupDurations:w.getGroupDurations,getTotalBasalFromEndpoints:w.getTotalBasalFromEndpoints},bg:{formatBgValue:S.formatBgValue,generateBgRangeLabels:x.generateBgRangeLabels,isCustomBgRange:x.isCustomBgRange,reshapeBgClassesToBgBounds:x.reshapeBgClassesToBgBounds},constants:{DEFAULT_BG_BOUNDS:I.DEFAULT_BG_BOUNDS,ADA_STANDARD_BG_BOUNDS:I.ADA_STANDARD_BG_BOUNDS,ADA_OLDER_HIGH_RISK_BG_BOUNDS:I.ADA_OLDER_HIGH_RISK_BG_BOUNDS,ADA_PREGNANCY_T1_BG_BOUNDS:I.ADA_PREGNANCY_T1_BG_BOUNDS,ADA_GESTATIONAL_T2_BG_BOUNDS:I.ADA_GESTATIONAL_T2_BG_BOUNDS,GLYCEMIC_RANGES_PRESET:I.GLYCEMIC_RANGES_PRESET,GLYCEMIC_RANGES_TYPE:I.GLYCEMIC_RANGES_TYPE},datetime:{findBasicsStart:j.findBasicsStart,formatDateRange:D.formatDateRange,formatTimeAgo:D.formatTimeAgo,getLocalizedCeiling:D.getLocalizedCeiling,getOffset:D.getOffset,getTimezoneFromTimePrefs:D.getTimezoneFromTimePrefs},stat:{bankersRound:S.bankersRound,commonStats:O.commonStats,formatDatum:O.formatDatum,formatPercentage:S.formatPercentage,formatStatsPercentage:S.formatStatsPercentage,getStatAnnotations:O.getStatAnnotations,getStatData:O.getStatData,getStatDefinition:O.getStatDefinition,getStatTitle:O.getStatTitle,statBgSourceLabels:O.statBgSourceLabels,statFetchMethods:O.statFetchMethods,statFormats:O.statFormats},settings:{deviceName:k.deviceName},aggregation:{defineBasicsAggregations:j.defineBasicsAggregations,processBasicsAggregations:j.processBasicsAggregations},text:{TextUtil:_.default,trendsText:R.trendsText,basicsText:j.basicsText,bgLogText:P.bgLogText,agpCGMText:M.agpCGMText},glycemicRanges:{getGlycemicRangesPreset:N.getGlycemicRangesPreset}}})();var r=exports;for(var o in a)r[o]=a[o];a.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
|
|
2
|
+
(()=>{var e={93870:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.system=t.default=t.bgChart=void 0;var r=a(n(37055)),o=t.system={white:"#FFFFFF",black:"#000000",gray50:"#707070",gray30:"#8C8C8C",gray10:"#D9D9D9",gray05:"#EBEBEB",gray00:"#F6F6F6",purple90:"#271B46",indigo50:"#4A60E2",indigo30:"#627CFF",indigo00:"#F4F5FF",blue80:"#375178",blue60:"#445F87",blue50:"#4F6A92",blue30:"#708FC2",blue05:"#E1EAF9",blue00:"#F0F5FF",blueGray50:"#5F6B82",blueGray50T:"#1F304FB3",blueGray30:"#838CA0",blueGray10:"#D1D6E1",red50:"#CC2900",red30:"#EC4C47",red05:"#FFECE9",gold50:"#A35700",gold30:"#CC6D00",gold05:"#FFE8CF",green50:"#00754E",green30:"#08A057",green05:"#DAF9E4"},i=t.bgChart={veryLow:"#E9695E",low:"#F19181",target:"#8DD0A9",high:"#B69CE2",veryHigh:"#856ACF"},s=(0,r.default)((0,r.default)({},o),i);t.default=s},50628:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(271)),i=r(n(4841)),s=r(n(46721)),l=r(n(54013)),d=r(n(53671)),u=a(n(82015)),c=r(n(27825)),f=r(n(56427)),A=r(n(80789)),p=r(n(3892)),g=r(n(77950));void 0===c.default.get(f.default,"options.returnEmptyString")&&f.default.init({returnEmptyString:!1,nsSeparator:"|"});var m=f.default.t.bind(f.default),h=function(e){(0,l.default)(n,e);var t=(0,d.default)(n);function n(e){var a;return(0,s.default)(this,n),(a=t.call(this,e)).getInitialState=function(){return{successTextShowing:!1}},a.getText=function(){return c.default.isFunction(a.props.getText)?a.props.getText():a.props.clipboardText},a.componentWillUnmount=function(){a.state.debouncedButtonTextUpdate&&a.state.debouncedButtonTextUpdate.cancel()},a.onClick=function(){return a.props.onClick()},a.onSuccess=function(){c.default.isFunction(a.props.onSuccess)&&a.props.onSuccess(),a.setState({successTextShowing:!0}),a.state.debouncedButtonTextUpdate&&a.state.debouncedButtonTextUpdate.cancel();var e=c.default.debounce((function(){a.setState({successTextShowing:!1}),c.default.isFunction(a.props.onComplete)&&a.props.onComplete()}),1e3);e(),a.setState({debouncedButtonTextUpdate:e})},a.render=function(){var e,t=(0,p.default)((e={},(0,o.default)(e,g.default.copyButton,!0),(0,o.default)(e,g.default.buttonTextHidden,a.state.successTextShowing),(0,o.default)(e,g.default.successTextHidden,!a.state.successTextShowing),e));return u.default.createElement(A.default,{className:t,"button-title":a.props.buttonTitle,"option-text":a.getText,onClick:a.onClick,onSuccess:a.onSuccess},u.default.createElement("span",{className:g.default.buttonText},a.props.buttonText),u.default.createElement("span",{className:g.default.successText},a.props.successText))},a.state=a.getInitialState(),a}return(0,i.default)(n)}(u.PureComponent);h.defaultProps={buttonText:m("Copy as text"),buttonTitle:m("Copy to clipboard"),clipboardText:m("Sorry, there was nothing to copy."),onClick:c.default.noop,successText:m("Copied ✓")},h.displayName="ClipboardButton",t.default=h},48899:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(27825)),i=a(n(78466)),s=a(n(10587));t.default=function(e){var t=e.id,n=e.label,a=e.min,l=e.max,d=e.onChange,u=e.onSuffixChange,c=e.step,f=e.suffix,A=e.type,p=e.value;return r.default.createElement("div",{className:s.default.wrapper},r.default.createElement("div",{className:s.default.label},r.default.createElement("label",{htmlFor:t,className:s.default.label},n)),r.default.createElement("div",{className:s.default.inputs},r.default.createElement("input",{className:s.default["input-".concat(A)],id:t,max:l,min:a,name:t,onChange:d,step:c||"any",type:A,value:p}),o.default.isString(f)&&r.default.createElement("div",{className:s.default.suffixText},f),o.default.isPlainObject(f)&&r.default.createElement("div",{className:s.default.suffix},r.default.createElement(i.default,{classNamePrefix:"inputGroup-suffix",id:f.id,name:f.id,onChange:u,onInputChange:function(e,t){return"input-change"===t.action?"":e},options:f.options,value:f.value}))))}},7136:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(83202));t.default=function(e){var t=e.name,n=e.checked,a=e.onFn,i=e.offFn,s=e.label;return r.default.createElement("label",{htmlFor:t,className:o.default.label},r.default.createElement("input",{type:"checkbox",name:t,id:t,checked:n,onChange:function(){n?i():a()}})," ",s)}},38933:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Toggle=void 0;var r=a(n(271)),o=a(n(82015)),i=a(n(3892)),s=a(n(18469)),l=function(e){var t,n,a=e.disabled,l=e.left,u=e.right,c=e.toggleFn,f=(0,i.default)((t={},(0,r.default)(t,s.default.active,!a&&u.state),(0,r.default)(t,s.default.label,!0),t)),A=(0,i.default)((n={},(0,r.default)(n,s.default.active,!a&&l.state),(0,r.default)(n,s.default.label,!0),n));return o.default.createElement("div",{className:s.default.container},o.default.createElement("span",{className:A},l.label),o.default.createElement(d,{disabled:a,leftOptionActive:l.state,toggleFn:c}),o.default.createElement("span",{className:f},u.label))};l.defaultProps={disabled:!1},l.displayName="TwoOptionToggle";var d=t.Toggle=function(e){var t=e.disabled,n=e.leftOptionActive,a=e.toggleFn;return o.default.createElement("div",{className:t?s.default.disabled:s.default.toggle,onClick:t?function(){}:a},o.default.createElement("div",{className:s.default.track}),o.default.createElement("div",{className:n?s.default.leftThumb:s.default.rightThumb}))};d.displayName="Toggle",t.default=l},11436:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(271)),o=a(n(82015)),i=a(n(3892)),s=a(n(87878)),l=function(e){var t,n,a=e.show,l=e.overlay,d=e.text,u=(0,i.default)((0,r.default)({loader:!0},s.default.loader,!0)),c=(0,i.default)((t={},(0,r.default)(t,s.default.loaderDots,!0),(0,r.default)(t,s.default.hidden,!a),(0,r.default)(t,s.default.overlay,l),t)),f=(0,i.default)((n={},(0,r.default)(n,s.default.loaderDot,!0),(0,r.default)(n,s.default.animating,a),n));return o.default.createElement("div",{className:u},o.default.createElement("div",{className:c},o.default.createElement("div",{className:f}),o.default.createElement("div",{className:f}),o.default.createElement("div",{className:f}),o.default.createElement("div",{className:f}),o.default.createElement("div",{className:f}),o.default.createElement("div",{className:s.default.loaderText},d)))};l.defaultProps={overlay:!1,show:!0,text:"Loading..."},t.default=l},49654:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BgBar=void 0;var r=a(n(82015)),o=a(n(27825)),i=n(40054),s=n(22212),l=a(n(72439)),d=n(84240),u=t.BgBar=function(e){var t=e.barWidth,n=e.bgPrefs,a=void 0===n?{}:n,u=a.bgBounds,c=a.bgUnits,f=e.chartLabelWidth,A=e.datum,p=void 0===A?{}:A,g=e.domain,m=e.index,h=e.scale,b=void 0===h?{x:o.default.noop,y:o.default.noop}:h,y=e.width,v=o.default.isObject(p.deviation),E=!v,C=o.default.get(p,"deviation.value",0),B=(y-f)/y,T={low:b.y(u.targetLowerBound)*B,target:b.y(u.targetUpperBound-u.targetLowerBound)*B,high:b.y(g.y[1]-u.targetUpperBound)*B},S=t/2,x=b.x(m+1)-t/2,w=x+t/2,I=b.y(p._y)*B,L=p._y-C,D=b.y(p._y-C)*B,k=p._y+C,O=b.y(p._y+C)*B,N=E?p._y>0:L>0&&k>0;return r.default.createElement("g",{className:"bgBar"},r.default.createElement("g",{className:"bgScale"},r.default.createElement(s.Arc,{cx:S,cy:w,r:S,startAngle:90,endAngle:270,style:{stroke:"transparent",fill:N?l.default.low:l.default.statDisabled,fillOpacity:N?.5:1}}),r.default.createElement(i.Rect,Object.assign({},e,{x:S,y:x,width:T.low-S,height:t,style:{stroke:"transparent",fill:N?l.default.low:l.default.statDisabled,fillOpacity:N?.5:1}})),r.default.createElement(i.Rect,Object.assign({},e,{x:T.low,y:x,width:T.target,height:t,style:{stroke:"transparent",fill:N?l.default.target:l.default.statDisabled,fillOpacity:N?.5:1}})),r.default.createElement(i.Rect,Object.assign({},e,{x:T.low+T.target,y:x,width:T.high-S,height:t,style:{stroke:"transparent",fill:N?l.default.high:l.default.statDisabled,fillOpacity:N?.5:1}})),r.default.createElement(s.Arc,{cx:T.low+T.target+T.high-S,cy:w,r:S,startAngle:270,endAngle:90,style:{stroke:"transparent",fill:N?l.default.high:l.default.statDisabled,fillOpacity:N?.5:1}})),E&&N&&r.default.createElement("g",{className:"bgMean"},r.default.createElement(i.Point,{x:I,y:w,style:{fill:l.default[(0,d.classifyBgValue)(u,c,p._y,"threeWay")],stroke:l.default.white,strokeWidth:2},size:2*t})),v&&N&&r.default.createElement("g",{className:"bgDeviation"},r.default.createElement(i.Rect,Object.assign({},e,{x:o.default.max([D-3,0]),y:w-2*t-1,width:4,height:4*t+2,style:{stroke:"white",strokeWidth:2,fill:l.default[(0,d.classifyBgValue)(u,c,o.default.max([L,.1]),"threeWay")]}})),r.default.createElement(i.Rect,Object.assign({},e,{x:o.default.min([O-3,y-f-3]),y:w-2*t-1,width:4,height:4*t+2,style:{stroke:"white",strokeWidth:2,fill:l.default[(0,d.classifyBgValue)(u,c,k,"threeWay")]}}))))};u.displayName="BgBar",t.default=u},3582:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BgBarLabel=void 0;var r=a(n(82015)),o=a(n(27825)),i=n(40054),s=t.BgBarLabel=function(e){var t=e.barWidth,n=e.domain,a=e.scale,s=void 0===a?{x:o.default.noop,y:o.default.noop}:a,l=o.default.assign({},e.style,{pointerEvents:"none"});return r.default.createElement("g",{className:"bgBarLabel"},r.default.createElement(i.VictoryLabel,Object.assign({},e,{renderInPortal:!1,style:l,textAnchor:"end",verticalAnchor:"middle",dy:-(t/2-1),x:s.y(n.y[1]),dx:0})))};s.displayName="BgBarLabel",t.default=s},33255:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.HoverBar=void 0;var r=a(n(82015)),o=n(40054),i=a(n(27825)),s=a(n(72439)),l=t.HoverBar=function(e){var t=e.barSpacing,n=e.barWidth,a=e.chartLabelWidth,l=e.cornerRadius,d=e.domain,u=e.index,c=e.scale,f=void 0===c?{x:i.default.noop,y:i.default.noop}:c,A=e.width,p=e.x,g=n/6,m=i.default.get(l,"top",2),h=(A-a)/A;return r.default.createElement("g",{className:"HoverBar"},r.default.createElement("g",{className:"HoverBarTarget",pointerEvents:"all"},r.default.createElement(o.Rect,Object.assign({},e,{x:0,y:f.x(u+1)-n/2-t/2,rx:m,ry:m,width:f.y(d.y[1]),height:n+t,style:{stroke:"transparent",fill:"transparent"}},e.events))),r.default.createElement("g",{className:"barBg",pointerEvents:"none"},r.default.createElement(o.Rect,Object.assign({},e,{x:0,y:f.x(u+1)-g/2,rx:m,ry:m,width:f.y(d.y[1])-a,height:g,style:{stroke:"transparent",fill:s.default.axis}}))),r.default.createElement("g",{pointerEvents:"none"},r.default.createElement(o.Bar,Object.assign({},e,{width:f.y(d.x[1])-a,x:p*h}))))};l.displayName="HoverBar",t.default=l},96993:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.HoverBarLabel=void 0;var r=a(n(37055)),o=a(n(82015)),i=a(n(27825)),s=n(40054),l=a(n(72439)),d=t.HoverBarLabel=function(e){var t=e.barWidth,n=e.isDisabled,a=e.datum,d=void 0===a?{_x:0,_y:0}:a,u=e.domain,c=e.scale,f=void 0===c?{x:i.default.noop,y:i.default.noop}:c,A=e.style,p=void 0===A?{}:A,g=e.text,m=e.tooltipText,h=e.y,b=void 0===h?15:h,y=i.default.min([t/2,12]),v=1.2*y,E=v/2,C=n(),B=i.default.assign({},p,{fontSize:y,display:C?"none":"inherit"}),T=s.TextSize.approximateTextSize(m(d),B),S=i.default.assign({},p,{pointerEvents:"none"}),x=i.default.assign({},S,{fontSize:S.fontSize/2,baselineShift:-S.fontSize/2*.25,fill:l.default.statDefault}),w=g(d),I=s.TextSize.approximateTextSize(w[1]||"",x),L=(0,r.default)((0,r.default)({},d),{},{_y:i.default.max([d._y,0])});return o.default.createElement("g",{className:"HoverBarLabel"},o.default.createElement(s.VictoryLabel,Object.assign({},e,{text:w[0],renderInPortal:!1,style:S,textAnchor:"end",verticalAnchor:"middle",x:f.y(u.y[1]),y:b,dx:-1.9*I.width})),o.default.createElement(s.VictoryLabel,Object.assign({},e,{text:w[1],renderInPortal:!1,style:x,textAnchor:"end",verticalAnchor:"middle",x:f.y(u.y[1]),y:b,dx:0})),T.width>0&&o.default.createElement(s.VictoryTooltip,Object.assign({},e,{cornerRadius:E,datum:L,x:f.y(u.y[1])-p.paddingLeft-T.width-2*E,y:b,dx:0,flyoutStyle:{display:C?"none":"inherit",stroke:l.default.axis,strokeWidth:2,fill:l.default.white},flyoutWidth:T.width+2*E,flyoutHeight:v,pointerLength:0,pointerWidth:0,renderInPortal:!1,text:m,style:B})))};d.displayName="HoverBarLabel",t.default=d},88054:(e,t,n)=>{"use strict";var a=n(44906).default,r=n(67049).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Stat=void 0;var o=a(n(37055)),i=a(n(271)),s=a(n(79222)),l=a(n(46721)),d=a(n(4841)),u=a(n(54013)),c=a(n(53671)),f=r(n(82015)),A=n(49842),p=a(n(27825)),g=a(n(66581)),m=a(n(3892)),h=n(37841),b=n(40054),y=n(14549),v=n(99559),E=n(66871),C=n(80358),B=a(n(18504)),T=a(n(72439)),S=(n(94981),a(n(33255))),x=a(n(96993)),w=a(n(49654)),I=a(n(3582)),L=a(n(39681)),D=a(n(53083)),k=a(n(87730)),O=a(n(40548)),N=a(n(25159)),P=a(n(48899)),R=["renderer"],M=t.Stat=function(e){(0,u.default)(n,e);var t=(0,c.default)(n);function n(e){var a;return(0,l.default)(this,n),(a=t.call(this,e)).hasNonStandardTargets=function(){var e=a.props.bgPrefs||{},t=e.bgUnits,n=void 0===t?E.MGDL_UNITS:t,r=e.bgBounds,o=void 0===r?E.ADA_STANDARD_BG_BOUNDS:r;return o.targetLowerBound!==E.ADA_STANDARD_BG_BOUNDS[n].targetLowerBound||o.targetUpperBound!==E.ADA_STANDARD_BG_BOUNDS[n].targetUpperBound},a.renderChartTitle=function(){var e=a.state.hoveredDatumIndex>=0,t=e?a.state.tooltipTitleData:a.getFormattedDataByKey("title"),n=p.default.get(t,"value");return f.default.createElement("div",{className:B.default.chartTitle},f.default.createElement("span",{className:B.default.chartTitleText},a.state.chartTitle),n&&n!==a.props.emptyDataPlaceholder&&f.default.createElement("span",{className:B.default.chartTitleData},"( ",f.default.createElement("span",{style:{color:T.default[t.id]||T.default.statDefault}},t.value),f.default.createElement("span",{className:B.default.chartTitleSuffix},t.suffix)," )"),a.props.annotations&&!e&&f.default.createElement("span",{className:B.default.tooltipIcon},f.default.createElement("img",{src:N.default,alt:"Hover for more info",ref:a.setTooltipIconRef,onMouseOver:a.handleTooltipIconMouseOver,onMouseOut:a.handleTooltipIconMouseOut})))},a.renderChartSummary=function(){var e=a.props,t=e.alwaysShowSummary,n=e.hideSummaryUnits,r=e.units,o=a.getFormattedDataByKey("summary"),i=t||!a.state.isOpened,s=p.default.get(o,"value"),l=p.default.get(o,"suffix");return 0===s&&(s=[s]),p.default.isArray(s)||(s=p.default.compact([s])),p.default.isArray(l)||(l=p.default.compact([l])),f.default.createElement("div",{className:B.default.chartSummary},s.length>0&&i&&p.default.map(s,(function(e,t){return f.default.createElement("div",{className:B.default.summaryData,style:{color:T.default[o.id]||T.default.statDefault}},f.default.createElement("span",{className:B.default.summaryValue},e),f.default.createElement("span",{className:B.default.summarySuffix},l[t]))})),r&&!n&&!a.state.showFooter&&a.renderStatUnits(),a.state.isCollapsible&&f.default.createElement("div",{className:B.default.chartCollapse},f.default.createElement("img",{src:a.state.isOpened?k.default:O.default,onClick:a.handleCollapse})))},a.renderNonStandardTargetsWarning=function(){var e,t,n;if(!(a.hasNonStandardTargets()&&a.state.isOpened&&p.default.includes(["timeInRange","readingsInRange"],a.props.id)))return null;var r=(null===(e=a.props.bgPrefs)||void 0===e?void 0:e.bgBounds)||{},o=r.targetLowerBound,i=r.targetUpperBound,s=(a.props.bgPrefs||{}).bgUnits,l=(null===(t=a.props.bgPrefs)||void 0===t?void 0:t.bgUnits)===E.MMOLL_UNITS?1:0,d=(0,v.formatDecimalNumber)(o,l),u=(0,v.formatDecimalNumber)(i,l);return f.default.createElement("div",{className:B.default.statHeaderNonStandardWarning},a.props.t("Alternate range in use (".concat(d,"-").concat(u," ").concat(s,")"),{lowerTarget:d,upperTarget:u,bgUnits:null===(n=a.props.bgPrefs)||void 0===n?void 0:n.bgUnits}))},a.renderStatUnits=function(){return f.default.createElement("div",{className:B.default.units},a.props.units)},a.renderChildren=function(){return f.default.createElement("div",{className:B.default.statChildren},a.props.children)},a.renderStatHeader=function(){var e=a.hasNonStandardTargets()&&p.default.includes(["timeInRange","readingsInRange"],a.props.id)?B.default.statHeaderContainerNonStandardTargets:B.default.statHeaderContainer;return f.default.createElement("div",{className:e},f.default.createElement("div",{className:B.default.statHeader},a.renderChartTitle(),a.renderChartSummary()),a.renderNonStandardTargetsWarning())},a.renderStatFooter=function(){return f.default.createElement("div",{className:B.default.statFooter},a.props.type===C.statTypes.input&&a.renderCalculatedOutput(),a.props.legend&&a.renderStatLegend(),a.props.units&&a.renderStatUnits())},a.renderStatLegend=function(){var e=p.default.map(a.props.data.data,(function(e){return p.default.pick(e,["id","legendTitle"])}));return a.props.reverseLegendOrder||p.default.reverse(e),f.default.createElement("div",{className:B.default.statLegend},f.default.createElement(D.default,{items:e}))},a.renderChart=function(e){var t=a.chartProps,n=t.renderer,r=(0,s.default)(t,R);return f.default.createElement(y.Collapse,{isOpened:a.state.isOpened,theme:{collapse:"statCollapse"}},f.default.createElement("div",{className:B.default.chartWrapper},f.default.createElement(n,Object.assign({},r,{width:e.width||298}))))},a.renderInput=function(){var e=p.default.get(a.props.data,a.props.data.dataPaths.input);return f.default.createElement("div",{className:B.default.inputWrapper},f.default.createElement(P.default,Object.assign({},e,{onChange:a.handleInputChange,onSuffixChange:a.handleSuffixChange,suffix:a.state.inputSuffix,defaultValue:a.state.inputValue})))},a.renderCalculatedOutput=function(){var e,t=p.default.get(a.props.data,"dataPaths.output"),n=p.default.get(a.props.dataFormat,"output"),r=p.default.get(a.props.data,t),o={result:{value:a.props.emptyDataPlaceholder}},s=p.default.get(r,"label"),l={value:a.state.inputValue,suffix:p.default.get(a.state,"inputSuffix.value.label",a.state.inputSuffix)};t&&r&&("divisor"===r.type?(o.dividend=p.default.get(a.props.data,p.default.get(r,"dataPaths.dividend"),{}).value,l.value=o.dividend/l.value,o.result=(0,C.formatDatum)(l,n,a.props)):o.result=(0,C.formatDatum)(l,n,a.props));var d=(0,m.default)((e={},(0,i.default)(e,B.default.outputValue,!0),(0,i.default)(e,B.default.outputValueDisabled,o.result.value===a.props.emptyDataPlaceholder),e));return f.default.createElement("div",{className:B.default.outputWrapper},s&&f.default.createElement("div",{className:B.default.outputLabel},s),f.default.createElement("div",{className:B.default.outputValueWrapper},f.default.createElement("span",{className:d},o.result.value),f.default.createElement("span",{className:B.default.outputSuffix},o.result.suffix)))},a.renderTooltip=function(){return f.default.createElement("div",{className:B.default.StatTooltipWrapper},f.default.createElement(L.default,{annotations:a.props.annotations,offset:a.state.messageTooltipOffset,position:a.state.messageTooltipPosition,side:a.state.messageTooltipSide}))},a.render=function(){var e,t=(0,m.default)((e={},(0,i.default)(e,B.default.Stat,!0),(0,i.default)(e,B.default.isOpen,a.state.isOpened),e));return f.default.createElement("div",{className:B.default.StatWrapper},f.default.createElement("div",{ref:a.setStatRef,className:t},a.renderStatHeader(),a.chartProps.renderer&&f.default.createElement("div",{className:B.default.statMain},f.default.createElement(h.SizeMe,{render:function(e){var t=e.size;return a.renderChart(t)}})),a.props.type===C.statTypes.input&&a.renderInput(),a.state.isOpened&&a.props.children&&a.renderChildren(),a.state.showFooter&&a.renderStatFooter()),a.state.showMessages&&a.renderTooltip())},a.getStateByType=function(e){var t,n,r=e.data,o=e.legend,i={chartTitle:e.title,isDisabled:!p.default.sum(p.default.filter(p.default.map(r.data,(function(e){return p.default.get(e,"deviation.value",e.value)})),(function(e){return e>=0})))>0};switch(e.type){case"input":n=p.default.get(e.data,e.data.dataPaths.input,{}),t=p.default.get(a.state,"isOpened",e.isOpened),i.inputSuffix=p.default.get(a.state,"inputSuffix",n.suffix),i.inputValue=p.default.get(a.state,"inputValue",n.value),i.isCollapsible=e.collapsible,i.isOpened=t,i.showFooter=t;break;case"barHorizontal":t=p.default.get(a.state,"isOpened",e.isOpened),i.isCollapsible=e.collapsible,i.isOpened=t,i.hoveredDatumIndex=-1,i.showFooter=o&&t;break;case"barBg":t=p.default.get(a.state,"isOpened",e.isOpened),i.isCollapsible=e.collapsible,i.isOpened=t;break;default:i.isCollapsible=!1,i.isOpened=!1,i.showFooter=!1}return i},a.getDefaultChartProps=function(e){var t=e.chartHeight;return{animate:!!e.animate&&{animationWhitelist:["data"],duration:300,onLoad:{duration:0}},height:t,labels:function(e){return(0,v.formatPercentage)(e._y)},renderer:null,style:{data:{fill:function(e){return T.default[e.id]||T.default.statDefault}}}}},a.getChartPropsByType=function(e){var t,n,r,i,s,l=e.type,d=e.data,u=e.bgPrefs.bgUnits,c=24,A=2.75*c,g=p.default.cloneDeep(d.data),m=a.getDefaultChartProps(e);switch(l){case"barBg":t=4,r=m.height||6*t,n={x:[0,1],y:[0,u===E.MGDL_UNITS?E.MGDL_CLAMP_TOP:E.MMOLL_CLAMP_TOP]},i={top:10,bottom:10},p.default.assign(m,{alignment:"middle",containerComponent:f.default.createElement(b.VictoryContainer,{responsive:!1,style:{touchAction:"auto"}}),cornerRadius:{topLeft:2,bottomLeft:2,topRight:2,bottomRight:2},data:p.default.map(g,(function(e,t){return(0,o.default)((0,o.default)({},e),{},{_x:Math.round(t+1),_y:e.value,index:t})})),x:"_x",y:"_y",dataComponent:f.default.createElement(w.default,{barWidth:t,bgPrefs:e.bgPrefs,chartLabelWidth:A,domain:n}),domain:n,height:r,horizontal:!0,labelComponent:f.default.createElement(I.default,{barWidth:t,bgPrefs:e.bgPrefs,domain:n,text:function(t){var n=t.datum,a=void 0===n?{}:n,r=p.default.get(g,a.index,a),o=(0,C.formatDatum)(p.default.get(r,"deviation",r),e.dataFormat.label,e).value;return"".concat(o)},tooltipText:function(t){var n=t.datum,a=void 0===n?{}:n,r=(0,C.formatDatum)(p.default.get(g,a.index,a),e.dataFormat.tooltip,e),o=r.value,i=r.suffix;return"".concat(o).concat(i)}}),padding:i,renderer:b.VictoryBar,style:{data:{fill:function(e){var t=e.datum;return a.getDatumColor(t)},width:function(){return t}},labels:{fill:function(t){var n=t.datum;return a.getDatumColor(p.default.assign({},n,(0,C.formatDatum)(n,e.dataFormat.label,e)))},fontSize:c,fontWeight:500,paddingLeft:A}}});break;case"barHorizontal":r=m.height,s=p.default.get(d,"total.value"),r>0?(t=(r-6)/g.length-3,A=2.75*(c=p.default.min([.833*t,c]))):r=(6+(t=30))*g.length,n={x:[0,g.length],y:[0,1]},i={top:t/2,bottom:t/2*-1},p.default.assign(m,{alignment:"middle",containerComponent:f.default.createElement(b.VictoryContainer,{responsive:!1,style:{touchAction:"auto"}}),cornerRadius:{topLeft:2,bottomLeft:2,topRight:2,bottomRight:2},data:p.default.map(g,(function(e,t){return(0,o.default)((0,o.default)({},e),{},{_x:Math.round(t+1),_y:s>0?e.value/s:e.value,index:t})})),x:"_x",y:"_y",dataComponent:f.default.createElement(S.default,{barWidth:t,barSpacing:6,chartLabelWidth:A,domain:n}),domain:n,events:[{target:"data",eventHandlers:{onMouseOver:function(t,n){return a.state.isDisabled||!e.dataFormat.tooltip?{}:(a.setChartTitle(n.datum),a.setState({hoveredDatumIndex:n.index}),{target:"labels",mutation:function(){return{active:!0}}})},onMouseOut:function(){return a.setChartTitle(),a.setState({hoveredDatumIndex:-1}),{target:"labels",mutation:function(){return{active:e.alwaysShowTooltips}}}}}}],height:r,horizontal:!0,labelComponent:f.default.createElement(x.default,{active:e.alwaysShowTooltips,barWidth:t,isDisabled:function(){return a.state.isDisabled},domain:n,text:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,C.formatDatum)(p.default.get(g,t.index,t),e.dataFormat.label,e);return[n.value,n.suffix]},tooltipText:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,C.formatDatum)(p.default.get(g,t.index,t),e.dataFormat.tooltip,e),a=n.value,r=n.suffix;return"".concat(a).concat(r)}}),padding:i,renderer:b.VictoryBar,style:{data:{fill:function(e){var t=e.datum;return 0===t._y?"transparent":a.getDatumColor(t)},width:function(){return t}},labels:{fill:function(t){var n=t.datum;return a.getDatumColor(p.default.assign({},n,(0,C.formatDatum)(n,e.dataFormat.label,e)))},fontSize:c,fontWeight:500,paddingLeft:A}}})}return m},a.setChartTitle=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.title,r=void 0===n?a.props.title:n,o=p.default.get(a.props,"dataFormat.tooltipTitle");o&&t.index>=0&&(e=a.getFormattedDataByDataPath(["data",t.index],o)),a.setState({chartTitle:r,tooltipTitleData:e})},a.getFormattedDataByDataPath=function(e,t){var n=p.default.get(a.props.data,e);return(0,C.formatDatum)(n,t,a.props)},a.getFormattedDataByKey=function(e){var t=p.default.get(a.props.data,["dataPaths",e]),n=a.props.dataFormat[e];return a.getFormattedDataByDataPath(t,n)},a.getDatumColor=function(e){var t=a.state,n=t.hoveredDatumIndex,r=t.isDisabled,o=a.props.muteOthersOnHover&&n>=0&&n!==e.index,i=T.default[e.id]||T.default.statDefault;return(r||o)&&(i=r?T.default.statDisabled:T.default.muted),i},a.handleCollapse=function(){a.setState((function(e){return{isOpened:!e.isOpened}}),(function(){a.setState(a.getStateByType(a.props)),p.default.isFunction(a.props.onCollapse)&&a.props.onCollapse(!a.state.isOpened)}))},a.handleTooltipIconMouseOver=function(){var e=a.tooltipIcon.getBoundingClientRect(),t=e.top,n=e.left,r=e.width,o=e.height,i=a.stat.getBoundingClientRect(),s=i.top,l=i.left,d={top:t-s+o/2-i.height,left:n-l+r/2},u={horizontal:r/2,top:0},c=p.default.get(document,"body.clientWidth",0)-n<225?"left":"right";a.setState({showMessages:!0,messageTooltipPosition:d,messageTooltipOffset:u,messageTooltipSide:c})},a.handleTooltipIconMouseOut=function(){a.setState({showMessages:!1})},a.handleInputChange=function(e){e.persist(),a.setState((function(){return{inputValue:e.target.value}}),a.propagateInputChange)},a.handleSuffixChange=function(e){a.setState((function(t){return{inputSuffix:p.default.assign({},t.inputSuffix,{value:e})}}),a.propagateInputChange)},a.propagateInputChange=function(){p.default.isFunction(a.props.onInputChange)&&a.props.onInputChange(p.default.get(a.state,"inputValue"),p.default.get(a.state,"inputSuffix.value"))},a.log=(0,g.default)("Stat"),a.state=a.getStateByType(e),a.chartProps=a.getChartPropsByType(e),a.setStatRef=function(e){a.stat=e},a.setTooltipIconRef=function(e){a.tooltipIcon=e},a}return(0,d.default)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this;this.setState((function(){return t.getStateByType(e)})),this.chartProps=this.getChartPropsByType(e)}}]),n}(f.PureComponent);M.defaultProps={alwaysShowSummary:!1,alwaysShowTooltips:!0,animate:!0,bgPrefs:{},categories:{},chartHeight:0,collapsible:!1,emptyDataPlaceholder:"--",isDisabled:!1,isOpened:!0,legend:!1,muteOthersOnHover:!0,type:C.statTypes.simple},M.displayName="Stat",t.default=(0,A.withTranslation)()(M)},53083:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(54013)),l=r(n(53671)),d=a(n(82015)),u=r(n(27825)),c=r(n(72439)),f=r(n(39123)),A=function(e){(0,s.default)(n,e);var t=(0,l.default)(n);function n(){var e;(0,o.default)(this,n);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))).renderLegendItems=function(e){return u.default.map(e,(function(e){return d.default.createElement("li",{className:f.default.StatLegendItem,key:e.id,style:{borderBottomColor:c.default[e.id]}},d.default.createElement("span",{className:f.default.StatLegendTitle},e.legendTitle))}))},e}return(0,i.default)(n,[{key:"render",value:function(){return d.default.createElement("ul",{className:f.default.StatLegend},this.renderLegendItems(this.props.items))}}]),n}(d.PureComponent);A.displayName="StatLegend",t.default=A},75991:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(79222)),o=a(n(82015)),i=n(49842),s=a(n(61703)),l=["t"],d=function(e){var t=e.t,n=(0,r.default)(e,l),a={title:t("Understanding your CGM Data"),subtitle:t("Your CGM provides two types of measurements:"),sections:[{title:t("1. Real-time Data (1min Data):"),items:[t("Updated every minute while wearing your device"),t("Used by your pump for automated insulin dosing"),t("May have gaps if connection is temporarily lost"),t("Not backfilled if your sensor loses connection with your phone"),t("Not used for the statistics we show in the sidebar or elsewhere in Tidepool")]},{title:t("2. Display Data (5min Data):"),items:[t("Smoothed data created for easier viewing"),t("Not used by your pump for insulin decisions"),t("Automatically backfilled for up to 24 hours if connection is lost"),t("Used for the statistics we display in the sidebar and elsewhere in Tidepool")]}]};return o.default.createElement(s.default,Object.assign({},n,{content:a,offset:{top:135,left:0}}))};d.defaultProps=s.default.defaultProps,t.default=(0,i.withTranslation)()(d)},46792:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(79222)),o=a(n(82015)),i=n(49842),s=a(n(61703)),l=["t"],d=function(e){var t=e.t,n=(0,r.default)(e,l),a={title:t("Events Shown"),subtitle:t("Tidepool displays certain pump alarms, device time changes, and notes."),sections:[{title:t("Pump Alarms Shown"),note:t("Please note that pump alarms are only shown for the twiist AID system and not all alarms are shown."),items:[t("Cassette Empty"),t("Battery Empty"),t("Line Blocked")]}]};return o.default.createElement(s.default,Object.assign({},n,{content:a,offset:{top:60,left:0}}))};d.defaultProps=s.default.defaultProps,t.default=(0,i.withTranslation)()(d)},61703:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(79222)),o=a(n(82015)),i=a(n(27825)),s=a(n(56607)),l=a(n(93870)),d=a(n(82071)),u=["content"],c=function(e){var t=e.content,n=(0,r.default)(e,u);return o.default.createElement(s.default,Object.assign({},n,{content:o.default.createElement("div",{className:d.default.container},t.title&&o.default.createElement("div",{className:d.default.title},t.title),t.subtitle&&o.default.createElement("div",{className:d.default.subtitle},t.subtitle),i.default.map(t.sections,(function(e,t){return o.default.createElement("div",{key:"section-".concat(t)},e.title&&o.default.createElement("div",{className:d.default.row},e.title),e.items.length&&o.default.createElement("ul",{className:d.default.items},i.default.map(e.items,(function(e,t){return o.default.createElement("li",{key:"item-".concat(t),className:d.default.item},e)}))),e.note&&o.default.createElement("div",{className:d.default.note},e.note))})))}))};c.defaultProps={content:{title:null,subtitle:null,sections:[]},tail:!0,side:"right",tailWidth:8,tailHeight:16,tailColor:l.default.gray30,borderColor:l.default.gray30,borderWidth:2,offset:{top:0,left:0}},t.default=c},39681:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(7843)),i=a(n(27825)),s=a(n(56607)),l=a(n(72439)),d=a(n(49769)),u=function(e){var t,n;return r.default.createElement(s.default,Object.assign({},e,{content:(t=e.annotations,n=[],i.default.each(t,(function(a,i){n.push(r.default.createElement(o.default,{key:"message-".concat(i),className:d.default.message,children:a,linkTarget:"_blank"})),i!==t.length-1&&n.push(r.default.createElement("div",{key:"divider-".concat(i),className:e.showDividers?d.default.divider:d.default.hiddenDivider}))})),r.default.createElement("div",{className:d.default.container},n))}))};u.defaultProps={annotations:[],tail:!0,side:"right",tailWidth:8,tailHeight:16,tailColor:l.default.statDefault,borderColor:l.default.statDefault,borderWidth:2,showDividers:!0},t.default=u},56607:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(37055)),i=r(n(46721)),s=r(n(4841)),l=r(n(54013)),d=r(n(53671)),u=a(n(82015)),c=r(n(815)),f=function(e){(0,l.default)(n,e);var t=(0,d.default)(n);function n(e){var a;return(0,i.default)(this,n),(a=t.call(this,e)).state={offset:{top:0,left:0}},a.setElementRef=function(e){a.element=e},a.setTitleElemRef=function(e){a.titleElem=e},a.setTailElemRef=function(e){a.tailElem=e},a}return(0,s.default)(n,[{key:"componentDidMount",value:function(){var e=this;this.calculateOffset(this.props),requestAnimationFrame((function(){e.calculateOffset(e.props)}))}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.calculateOffset(e)}},{key:"calculateOffset",value:function(e){if(this.element){var t,n,a=e.content,r=e.offset,o=e.side,i=e.tail,s=e.tailHeight,l=e.tailWidth,d=e.title,u={},c=this.element.getBoundingClientRect(),f=d&&a&&(null===(t=this.titleElem)||void 0===t||null===(n=t.getBoundingClientRect())||void 0===n?void 0:n.height)||0,A=i?2*s:0,p=(i?2*l:0)+(null!=r.left?r.left:r.horizontal||0);"left"===o&&(p=-p);var g=A+(null!=r.top?r.top:r.vertical||0);if("top"===o&&(g=-g),i)switch(o){case"top":u.top=-c.height+r.top+g,u.left=-c.width/2+r.left;break;case"bottom":u.top=r.top+g,u.left=-c.width/2+r.left;break;case"right":u.top=-(c.height+f)/2+r.top,u.left=p;break;default:u.top=-(c.height+f)/2+r.top,u.left=-c.width+p}else{var m=0,h=0;switch(o){case"top":m=-c.width/2,h=-c.height;break;case"bottom":m=-c.width/2,h=0;break;case"right":m=0,h=-c.height/2;break;default:m=-c.width,h=-c.height/2}u.top=h+g,u.left=m+p}this.setState({offset:u})}}},{key:"renderTail",value:function(){var e=this.props,t=e.backgroundColor,n=void 0===t?"white":t,a=e.borderColor,r=e.borderWidth,i=e.offset,s=e.side,l=e.tailHeight,d=e.tailWidth,f=this.titleElem?this.titleElem.getBoundingClientRect():null,A=this.props.tailColor||n,p={},g={},m=A!==a;switch(s){case"top":p.left="calc(50% - ".concat(i.left||0,"px)"),p.borderTopColor=a,p.borderWidth="".concat(2*l+r,"px ").concat(d+r,"px"),m&&(g=(0,o.default)((0,o.default)({},p),{},{top:"calc(100% - ".concat(r+Math.ceil(l/d),"px)"),borderTopColor:A}));break;case"bottom":p.left="calc(50% - ".concat(i.left||0,"px)"),p.bottom="calc(100% + ".concat((null==f?void 0:f.height)||0,"px)"),p.borderBottomColor=a,p.borderWidth="".concat(2*l+r,"px ").concat(d+r,"px"),m&&(g=(0,o.default)((0,o.default)({},p),{},{bottom:"calc(100% + ".concat((null==f?void 0:f.height)||0,"px - ").concat(r+Math.ceil(l/d),"px)"),borderBottomColor:A}));break;case"right":p.top="calc(50% - ".concat(i.top||0,"px)"),p.borderRightColor=a,p.borderWidth="".concat(l+r,"px ").concat(2*d+r,"px"),m&&(g=(0,o.default)((0,o.default)({},p),{},{right:"calc(100% - ".concat(r+d/l,"px)"),borderRightColor:A}));break;default:p.top="calc(50% - ".concat(i.top||0,"px)"),p.borderLeftColor=a,p.borderWidth="".concat(l+r,"px ").concat(2*d+r,"px"),m&&(g=(0,o.default)((0,o.default)({},p),{},{left:"calc(100% - ".concat(r+Math.ceil(d/l),"px)"),borderLeftColor:A}))}return u.default.createElement("div",{style:{position:"static"}},u.default.createElement("div",{ref:this.setTailElemRef,className:"".concat(c.default.tail," ").concat(c.default[s]),style:p}),m&&u.default.createElement("div",{className:"".concat(c.default.tail," ").concat(c.default[s]),style:g}))}},{key:"renderTitle",value:function(e){var t=this.props,n=t.tail,a=t.content,r=null;return e&&(r=u.default.createElement("div",{ref:this.setTitleElemRef,className:c.default.title},u.default.createElement("span",null,e),n&&!a&&this.renderTail())),r}},{key:"renderContent",value:function(e){var t=null,n=this.props.tail;return e&&(t=u.default.createElement("div",{className:c.default.content},u.default.createElement("span",null,e),n&&this.renderTail())),t}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.content,a=e.position,r=e.backgroundColor,o=e.borderColor,i=e.borderWidth,s=e.borderRadius,l=e.boxShadow,d=this.state.offset,f=a.top+d.top,A=a.left+d.left;return u.default.createElement("div",{className:c.default.tooltip,style:{top:f,left:A,backgroundColor:r,borderColor:o,borderWidth:"".concat(i,"px"),borderRadius:"".concat(s,"px"),boxShadow:l},ref:this.setElementRef},t&&this.renderTitle(t),n&&this.renderContent(n))}}]),n}(u.PureComponent);f.displayName="Tooltip",f.defaultProps={tail:!0,side:"left",tailWidth:8,tailHeight:8,borderColor:"black",borderWidth:2,borderRadius:4,boxShadow:"none",offset:{top:0,left:0}},t.default=f},1718:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(56427)),i=a(n(56607)),s=a(n(93870)),l=a(n(90888)),d=n(11270),u=n(74501),c=n(66871),f=o.default.t.bind(o.default),A=function(e){var t,n,a,o,s,A=(0,u.getMsPer24)(null===(t=e.alarm)||void 0===t?void 0:t.normalTime,null===(n=e.timePrefs)||void 0===n?void 0:n.timezoneName),p=(0,u.formatClocktimeFromMsPer24)(A),g=(0,d.getPumpVocabulary)(null===(a=e.alarm)||void 0===a?void 0:a.source)[null===(o=e.alarm)||void 0===o?void 0:o.alarmType]||(null===(s=e.alarm)||void 0===s?void 0:s.alarmType)||f("Unknown Alarm");return r.default.createElement(i.default,Object.assign({},e,{content:function(){var t,n;switch(null===(t=e.alarm)||void 0===t?void 0:t.alarmType){case c.ALARM_NO_DELIVERY:case c.ALARM_AUTO_OFF:case c.ALARM_NO_INSULIN:case c.ALARM_NO_POWER:case c.ALARM_OCCLUSION:case c.ALARM_OVER_LIMIT:n=f("Pump Alarm");break;default:n=f("Device Alarm")}return r.default.createElement("div",null,r.default.createElement("div",{className:l.default.time},p),r.default.createElement("div",{className:l.default.deviceAlarmTitle},n),r.default.createElement("div",{className:l.default.alarmType},g))}()}))};A.defaultProps={annotations:[],tail:!0,side:"bottom",tailWidth:16,tailHeight:8,tailColor:s.default.gray30,borderColor:s.default.gray30,borderWidth:2},t.default=A},15910:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.medronicDeconvertedExchangeMessage=t.isMedronicDeconvertedExchange=t.isAnimasExtended=t.getTarget=t.getExtended=t.default=t.animasExtendedAnnotationMessage=void 0;var o=r(n(82015)),i=r(n(27825)),s=r(n(56427)),l=a(n(32935)),d=n(66871),u=n(74501),c=n(99559),f=n(11270),A=n(64892),p=r(n(56607)),g=r(n(72439)),m=r(n(14680)),h=s.default.t.bind(s.default),b=t.isAnimasExtended=function(e){var t=l.getAnnotations(e);return-1!==i.default.findIndex(t,{code:"animas/bolus/extended-equal-split"})},y=t.animasExtendedAnnotationMessage=function(e){var t=null;if(b(e)){var n=(0,A.getAnnotationMessages)(l.getBolusFromInsulinEvent(e));t=o.default.createElement("div",{className:m.default.annotation},i.default.find(n,{code:"animas/bolus/extended-equal-split"}).message.value)}return t},v=t.isMedronicDeconvertedExchange=function(e){var t=i.default.get(e,"annotations",[]);return-1!==i.default.findIndex(t,{code:"medtronic/wizard/carb-to-exchange-ratio-deconverted"})},E=t.medronicDeconvertedExchangeMessage=function(e){var t=null;if(v(e)){var n=(0,A.getAnnotationMessages)(e);t=o.default.createElement("div",{className:m.default.annotation},i.default.find(n,{code:"medtronic/wizard/carb-to-exchange-ratio-deconverted"}).message.value)}return t},C=t.getTarget=function(e,t,n,a){var r,s=(0,u.getMsPer24)(null==e?void 0:e.normalTime,null==n?void 0:n.timezoneName),l=(null==t?void 0:t.bgUnits)||"",d=i.default.get(e,"bgTarget"),A=i.default.get(d,"target",null),p=i.default.get(d,"low",null),g=i.default.get(d,"high",null),b=i.default.get(d,"range",null);if(-1!==i.default.findIndex(i.default.get(e,"annotations",[]),{code:"wizard/target-automated"}))return o.default.createElement("div",{className:m.default.target},o.default.createElement("div",{className:m.default.label},h("Target")),o.default.createElement("div",{className:m.default.value},h("Auto")),o.default.createElement("div",{className:a}));if(p)return r=p===g?"".concat((0,c.formatBgValue)(p,t)):"".concat((0,c.formatBgValue)(p,t),"-").concat((0,c.formatBgValue)(g,t)),o.default.createElement("div",{className:m.default.target},o.default.createElement("div",{className:m.default.label},h("Target")),o.default.createElement("div",{className:m.default.value},r),o.default.createElement("div",{className:a}));if(b)return[o.default.createElement("div",{className:m.default.target,key:"target"},o.default.createElement("div",{className:m.default.label},h("Target")),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatBgValue)(A,t))),o.default.createElement("div",{className:a})),o.default.createElement("div",{className:m.default.target,key:"range"},o.default.createElement("div",{className:m.default.label},h("Range")),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatBgValue)(b,t))),o.default.createElement("div",{className:a}))];if(g)return[o.default.createElement("div",{className:m.default.target,key:"target"},o.default.createElement("div",{className:m.default.label},h("Target")),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatBgValue)(A,t))),o.default.createElement("div",{className:a})),o.default.createElement("div",{className:m.default.target,key:"high"},o.default.createElement("div",{className:m.default.label},h("High")),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatBgValue)(g,t))),o.default.createElement("div",{className:a}))];if((0,f.isLoop)(e)){var y=i.default.get(e,"dosingDecision.bgTargetSchedule",[]),v=i.default.findLast(i.default.sortBy(y,"start"),(function(e){return e.start<s})),E=h("Correction Range");return o.default.createElement("div",{className:m.default.target},o.default.createElement("div",{className:m.default.label},E," (",l,")"),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatBgValue)(null==v?void 0:v.low,t),"-").concat((0,c.formatBgValue)(null==v?void 0:v.high,t))),o.default.createElement("div",{className:a}))}return o.default.createElement("div",{className:m.default.target},o.default.createElement("div",{className:m.default.label},h("Target")),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatBgValue)(A,t))),o.default.createElement("div",{className:a}))},B=t.getExtended=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.default.units,n=l.getBolusFromInsulinEvent(e),a=l.hasExtended(n),r=l.getNormalPercentage(n),s=i.default.get(n,"normal",NaN),d=b(e),f=i.default.isNaN(l.getExtendedPercentage(n))?"":"(".concat(l.getExtendedPercentage(n),")"),A=null;return a&&(A=d?o.default.createElement("div",{className:m.default.extended},o.default.createElement("div",{className:m.default.label},"Extended Over*"),o.default.createElement("div",{className:m.default.value},(0,u.formatDuration)(l.getDuration(n)))):[!!s&&o.default.createElement("div",{className:m.default.normal,key:"normal"},o.default.createElement("div",{className:m.default.label},h("Up Front ({{normalPercentage}})",{normalPercentage:r})),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatInsulin)(s))),o.default.createElement("div",{className:t},"U")),o.default.createElement("div",{className:m.default.extended,key:"extended"},o.default.createElement("div",{className:m.default.label},"Over ".concat((0,u.formatDuration)(l.getDuration(n))," ").concat(f)),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatInsulin)(l.getExtended(n)))),o.default.createElement("div",{className:t},"U"))]),A},T=function(e){var t,n,a,r,s,A,T,S,x,w,I,L,D,k,O,N,P,R=l.getCarbs(e.bolus),M=i.default.isFinite(R)&&R>0,_=(null===(t=e.bgPrefs)||void 0===t?void 0:t.bgUnits)||"",F="exchanges"===i.default.get(e,"bolus.carbUnits")?"exch":"g",G="exchanges"===i.default.get(e,"bolus.carbUnits")?"U/exch":"g/U",j=(0,f.isTwiistLoop)(e.bolus),H=(0,u.getMsPer24)(null===(n=e.bolus)||void 0===n?void 0:n.normalTime,null===(a=e.timePrefs)||void 0===a?void 0:a.timezoneName),U=M&&"exch"===F?m.default.unitsWide:m.default.units,Y=(0,f.getPumpVocabulary)(null===(r=e.bolus)||void 0===r?void 0:r.source),z=(null===(s=l.getBolusFromInsulinEvent(e.bolus))||void 0===s?void 0:s.tags)||{},W=z.automated,V=z.oneButton,$=null!==(A=e.tailColor)&&void 0!==A?A:W?g.default.bolusAutomated:g.default.bolus,q=null!==(T=e.borderColor)&&void 0!==T?T:W?g.default.bolusAutomated:g.default.bolus,Q=o.default.createElement("div",{className:m.default.title},o.default.createElement("div",{className:m.default.types},V&&o.default.createElement("div",null,Y[d.ONE_BUTTON_BOLUS]),W&&o.default.createElement("div",null,Y[d.AUTOMATED_BOLUS])),(0,u.formatLocalizedFromUTC)(e.bolus.normalTime,e.timePrefs,"h:mm a"));return o.default.createElement(p.default,Object.assign({},e,{borderColor:q,tailColor:$,title:Q,content:("wizard"===e.bolus.type||null!==(S=e.bolus)&&void 0!==S&&S.dosingDecision?x=function(){var t=e.bolus,n=l.getRecommended(t),a=i.default.isFinite(n)?"".concat(n):null,r=(null==t?void 0:t.bgInput)||null,s=null==t?void 0:t.insulinOnBoard,d=l.getCarbs(t),u=i.default.isFinite(d)&&d>0,A=(null==t?void 0:t.insulinCarbRatio)||null,p=(null==t?void 0:t.insulinSensitivity)||null;if((0,f.isLoop)(t)){var g,T,S,x=(null==t||null===(g=t.dosingDecision)||void 0===g?void 0:g.pumpSettings)||{},w=x.activeSchedule,I=x.carbRatios,L=x.insulinSensitivities;A=(null===(T=i.default.findLast(i.default.sortBy((null==I?void 0:I[w])||[],"start"),(function(e){return e.start<H})))||void 0===T?void 0:T.amount)||A,p=(null===(S=i.default.findLast(i.default.sortBy((null==L?void 0:L[w])||[],"start"),(function(e){return e.start<H})))||void 0===S?void 0:S.amount)||p}var D=l.getDelivered(t),k=l.isInterruptedBolus(t),O=l.getProgrammed(t),N=l.hasExtended(t),P=b(t),R=v(t),M=null;l.isOverride(t)&&(M=o.default.createElement("div",{className:m.default.override},o.default.createElement("div",{className:m.default.label},h("Override")),o.default.createElement("div",{className:m.default.value},"+".concat((0,c.formatInsulin)(O-n))),o.default.createElement("div",{className:U},"U"))),l.isUnderride(t)&&(M=o.default.createElement("div",{className:m.default.override},o.default.createElement("div",{className:m.default.label},h("Underride")),o.default.createElement("div",{className:m.default.value},"-".concat((0,c.formatInsulin)(n-O))),o.default.createElement("div",{className:U},"U")));var Y=i.default.isFinite(D)&&o.default.createElement("div",{className:m.default.delivered},o.default.createElement("div",{className:m.default.label},h("Delivered")),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatInsulin)(D))),o.default.createElement("div",{className:U},"U")),z=(k||M)&&!!a&&o.default.createElement("div",{className:m.default.suggested},o.default.createElement("div",{className:m.default.label},h("Recommended")),o.default.createElement("div",{className:m.default.value},(0,c.formatInsulin)(a)),o.default.createElement("div",{className:U},"U")),W=!!r&&!j&&o.default.createElement("div",{className:m.default.bg},o.default.createElement("div",{className:m.default.label},h("Glucose")," (",_,")"),o.default.createElement("div",{className:m.default.value},(0,c.formatBgValue)(r,e.bgPrefs)),o.default.createElement("div",{className:U})),V=!!d&&o.default.createElement("div",{className:m.default.carbs},o.default.createElement("div",{className:m.default.label},h("Carbs")),o.default.createElement("div",{className:m.default.value},d),o.default.createElement("div",{className:U},F)),$=i.default.isFinite(s)&&o.default.createElement("div",{className:m.default.iob},o.default.createElement("div",{className:m.default.label},h("IOB")),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatInsulin)(s))),o.default.createElement("div",{className:U},"U")),q=k&&o.default.createElement("div",{className:m.default.interrupted},o.default.createElement("div",{className:m.default.label},h("Interrupted")),o.default.createElement("div",{className:m.default.value},"-".concat((0,c.formatInsulin)(O-D))),o.default.createElement("div",{className:U},"U")),Q=!!u&&!!A&&o.default.createElement("div",{className:m.default.carbRatio},o.default.createElement("div",{className:m.default.label},h("I:C Ratio"),R&&"*"," "," (".concat(G,")")),o.default.createElement("div",{className:m.default.value},A),o.default.createElement("div",{className:U})),K=!!p&&!!r&&o.default.createElement("div",{className:m.default.isf},o.default.createElement("div",{className:m.default.label},h("ISF")," (",_,"/U)"),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatBgValue)(p,e.bgPrefs))),o.default.createElement("div",{className:U}));return o.default.createElement("div",{className:m.default.container},W,V,$,z,B(t,U),(k||M||N)&&o.default.createElement("div",{className:m.default.divider}),M,q,Y,(Q||K||r||P||R)&&o.default.createElement("div",{className:m.default.divider}),Q,K,!!r&&C(t,e.bgPrefs,U),y(t),E(t))}():(w=e.bolus,I=l.getDelivered(w),L=l.isInterruptedBolus(w),D=l.getProgrammed(w),k=b(w),O=i.default.isFinite(I)&&o.default.createElement("div",{className:m.default.delivered},o.default.createElement("div",{className:m.default.label},h("Delivered")),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatInsulin)(I))),o.default.createElement("div",{className:U},"U")),N=L&&o.default.createElement("div",{className:m.default.interrupted},o.default.createElement("div",{className:m.default.label},h("Interrupted")),o.default.createElement("div",{className:m.default.value},"-".concat((0,c.formatInsulin)(D-I))),o.default.createElement("div",{className:U},"U")),P=L&&!!D&&o.default.createElement("div",{className:m.default.programmed},o.default.createElement("div",{className:m.default.label},h("Programmed")),o.default.createElement("div",{className:m.default.value},"".concat((0,c.formatInsulin)(D))),o.default.createElement("div",{className:U},"U")),x=o.default.createElement("div",{className:m.default.container},P,N,O,B(w,U),k&&o.default.createElement("div",{className:m.default.divider}),y(w))),x)}))};T.defaultProps={tail:!0,side:"right",tailWidth:8,tailHeight:16,borderWidth:2},t.default=T},32592:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(27825)),i=a(n(56427)),s=n(84240),l=n(99559),d=n(74501),u=n(64892),c=a(n(56607)),f=a(n(72439)),A=a(n(79346)),p=i.default.t.bind(i.default),g=function(e){var t,n=(null===(t=e.bgPrefs)||void 0===t?void 0:t.bgUnits)||"",a=(0,s.classifyBgValue)((0,s.reshapeBgClassesToBgBounds)(e.bgPrefs),e.bgPrefs.bgUnits,e.cbg.value,"fiveWay"),i=e.title?e.title:r.default.createElement("div",{className:A.default.title},(0,d.formatLocalizedFromUTC)(e.cbg.normalTime,e.timePrefs,"h:mm a"));return r.default.createElement(c.default,Object.assign({},e,{title:i,content:function(){var t=e.cbg,a=(0,u.getOutOfRangeAnnotationMessage)(t),i=[r.default.createElement("div",{key:"bg",className:A.default.bg},r.default.createElement("div",{className:A.default.label},p("Glucose")," (",n,")"),r.default.createElement("div",{className:A.default.value},"".concat((0,l.formatBgValue)(t.value,e.bgPrefs,(0,s.getOutOfRangeThreshold)(t)))))];if(!o.default.isEmpty(a)){var d=(0,s.classifyBgValue)((0,s.reshapeBgClassesToBgBounds)(e.bgPrefs),e.bgPrefs.bgUnits,e.cbg.value,"fiveWay");i.push(r.default.createElement("div",{key:"divider",className:A.default.divider,style:{backgroundColor:f.default[d]}})),i.push(r.default.createElement("div",{key:"outOfRange",className:A.default.annotation},a[0].message.value))}return r.default.createElement("div",{className:A.default.container},i)}(),borderColor:f.default[a],tailColor:f.default[a]}))};g.defaultProps={tail:!0,side:"right",tailWidth:8,tailHeight:16,tailColor:f.default.bolus,borderColor:f.default.bolus,borderWidth:2},t.default=g},54192:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(271)),o=a(n(82015)),i=a(n(56427)),s=a(n(56607)),l=a(n(93870)),d=a(n(55506)),u=n(66871),c=a(n(27022)),f=i.default.t.bind(i.default),A=function(e){var t,n,a,i,l,A,p=(0,r.default)({},u.EVENT_PUMP_SHUTDOWN,{title:f("Prior to this time, the pump was shut down"),description:f("Tidepool does not show data from before a pump is shut down. When the pump is turned off, its internal clock stops. This makes it hard to trust the timestamps on any data recorded right before shutdown. We can't verify that the device time was accurate at that point or correct for any clock drift that may have occurred."),image:o.default.createElement("img",{src:c.default,alt:f("Pump Shutdown")})});return o.default.createElement(s.default,Object.assign({},e,{boxShadow:"0px 4px 11px 0px rgba(0, 0, 0, 0.15)",content:(a=p[null===(t=e.event)||void 0===t||null===(n=t.tags)||void 0===n?void 0:n.event]||{},i=a.title,l=a.description,A=a.image,o.default.createElement("div",{className:d.default.wrapper},o.default.createElement("div",{className:d.default.image},A),o.default.createElement("div",{className:d.default.eventTitle},i),o.default.createElement("div",{className:d.default.eventDescription},l)))}))};A.defaultProps={annotations:[],tail:!1,side:"bottom",borderColor:l.default.gray10,borderWidth:1},t.default=A},31768:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getName=t.getCarbs=t.getAbsorptionTime=t.default=void 0;var r=a(n(82015)),o=a(n(74716)),i=a(n(27825)),s=a(n(56427)),l=n(74501),d=n(66871),u=n(11270),c=a(n(56607)),f=a(n(72439)),A=a(n(730)),p=s.default.t.bind(s.default),g=t.getAbsorptionTime=function(e){return i.default.round(1e3*i.default.get(e,"nutrition.estimatedAbsorptionDuration",0)/d.MS_IN_HOUR,1)},m=t.getCarbs=function(e){return i.default.round(i.default.get(e,"nutrition.carbohydrate.net",0),1)},h=t.getName=function(e){return i.default.get(e,"name")},b=function(e){var t=e.title?e.title:r.default.createElement("div",{className:A.default.title},(0,l.formatLocalizedFromUTC)(e.food.normalTime,e.timePrefs,"h:mm a"));return r.default.createElement(c.default,Object.assign({},e,{title:t,content:function(){var t=e.food,n=[r.default.createElement("div",{key:"carb",className:A.default.carb},r.default.createElement("div",{className:A.default.label},p("Carbs")),r.default.createElement("div",{className:A.default.value},"".concat(m(t))),r.default.createElement("div",{className:A.default.units},"g"))];if((0,u.isLoop)(t)){var a,s,d,c=g(t),f=h(t),b=null===(a=t.payload)||void 0===a?void 0:a.userUpdatedDate,y=o.default.utc(null===(s=t.payload)||void 0===s?void 0:s.userCreatedDate).valueOf()!==t.normalTime?null===(d=t.payload)||void 0===d?void 0:d.userCreatedDate:void 0;c>0&&n.unshift(r.default.createElement("div",{key:"absorption",className:A.default.row},r.default.createElement("div",{className:A.default.label},p("Absorption Time (hrs)")),r.default.createElement("div",{className:A.default.value},"".concat(c)),r.default.createElement("div",{className:A.default.units},"hr"))),i.default.isEmpty(f)||n.unshift(r.default.createElement("div",{key:"name",className:A.default.row},r.default.createElement("div",{className:A.default.label},p("Type")),r.default.createElement("div",{className:A.default.value},"".concat(f)))),(b||y)&&(n.push(r.default.createElement("div",{key:"divider",className:A.default.divider})),b?n.push(r.default.createElement("div",{key:"latestUpdatedTime",className:A.default.row},r.default.createElement("div",{className:A.default.label},p("Last Edited")),r.default.createElement("div",{className:A.default.value},(0,l.formatLocalizedFromUTC)(b,e.timePrefs,"h:mm")),r.default.createElement("div",{className:A.default.units},(0,l.formatLocalizedFromUTC)(b,e.timePrefs,"a")))):n.push(r.default.createElement("div",{key:"timeOfEntry",className:A.default.row},r.default.createElement("div",{className:A.default.label},p("Time of Entry")),r.default.createElement("div",{className:A.default.value},(0,l.formatLocalizedFromUTC)(y,e.timePrefs,"h:mm")),r.default.createElement("div",{className:A.default.units},(0,l.formatLocalizedFromUTC)(y,e.timePrefs,"a")))))}return r.default.createElement("div",{className:A.default.container},n)}()}))};b.defaultProps={tail:!0,side:"right",tailWidth:8,tailHeight:16,tailColor:f.default.bolus,borderColor:f.default.bolus,borderWidth:2},t.default=b},63616:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(58156)),i=a(n(56427)),s=n(74501),l=n(99559),d=n(66871),u=n(11270),c=a(n(56607)),f=a(n(72439)),A=a(n(52130)),p=i.default.t.bind(i.default),g=function(e){var t=(0,o.default)(e.override,"overrideType"),n=(0,o.default)(e.override,"normalTime"),a=(0,o.default)(e.override,"normalEnd"),i=e.title?e.title:r.default.createElement("div",{className:A.default.title},[(0,s.formatLocalizedFromUTC)(n,e.timePrefs,"h:mm a"),(0,s.formatLocalizedFromUTC)(a,e.timePrefs,"h:mm a")].join(" - "));return r.default.createElement(c.default,Object.assign({},e,{title:i,content:function(){var t,n=(0,u.getPumpVocabulary)((0,o.default)(e.override,"source")),a=n[d.SETTINGS_OVERRIDE],i=(0,o.default)(n[(0,o.default)(e.override,"overrideType")],"label"),s=(0,o.default)(e.override,"bgTarget",{}),c=s.low,f=s.high,g=c&&f,m=(0,o.default)(e.bgPrefs,"bgUnits"),h=[r.default.createElement("div",{key:"override type",className:A.default.overrideType},r.default.createElement("div",{className:g?A.default.boldLabel:A.default.label},a),r.default.createElement("div",{className:A.default.value},i))];return g&&(t=c===f?"".concat((0,l.formatBgValue)(c,e.bgPrefs)):"".concat((0,l.formatBgValue)(c,e.bgPrefs),"-").concat((0,l.formatBgValue)(f,e.bgPrefs)),h.push(r.default.createElement("div",{className:A.default.target},r.default.createElement("div",{className:A.default.label},p("Correction Range"),m?" (".concat(m,")"):""),r.default.createElement("div",{className:A.default.value},t)))),r.default.createElement("div",{className:A.default.container},h)}(),borderColor:e.borderColor||f.default[t],tailColor:e.tailColor||f.default[t]}))};g.defaultProps={tail:!1,side:"top",offset:{top:-2,left:0},borderWidth:2},t.default=g},78572:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(27825)),i=n(84240),s=n(99559),l=n(74501),d=n(64892),u=a(n(56607)),c=a(n(72439)),f=a(n(88486)),A=function(e){var t=(0,i.classifyBgValue)((0,i.reshapeBgClassesToBgBounds)(e.bgPrefs),e.bgPrefs.bgUnits,e.smbg.value,"fiveWay"),n=e.title?e.title:r.default.createElement("div",{className:f.default.title},(0,l.formatLocalizedFromUTC)(e.smbg.normalTime,e.timePrefs,"h:mm a"));return r.default.createElement(u.default,Object.assign({},e,{title:n,content:function(){var t=e.smbg,n=(0,d.getOutOfRangeAnnotationMessage)(t),a=[r.default.createElement("div",{key:"bg",className:f.default.bg},r.default.createElement("div",{className:f.default.label},"BG"),r.default.createElement("div",{className:f.default.value},"".concat((0,s.formatBgValue)(t.value,e.bgPrefs,(0,i.getOutOfRangeThreshold)(t)))))],l=o.default.isEmpty(t.subType)?"Meter":"".concat(o.default.upperFirst(t.subType));if(a.push(r.default.createElement("div",{key:"source",className:f.default.source},r.default.createElement("div",{className:f.default.label},"Source"),r.default.createElement("div",{className:f.default.value},l))),o.default.each((0,d.getMedtronic600AnnotationMessages)(t),(function(e){a.push(r.default.createElement("div",{key:e.message.label,className:f.default[o.default.camelCase(e.message.label)]},r.default.createElement("div",{className:f.default.label},e.message.label),r.default.createElement("div",{className:f.default.value},e.message.value)))})),!o.default.isEmpty(n)){var u=(0,i.classifyBgValue)((0,i.reshapeBgClassesToBgBounds)(e.bgPrefs),e.bgPrefs.bgUnits,e.smbg.value,"fiveWay");a.push(r.default.createElement("div",{key:"divider",className:f.default.divider,style:{backgroundColor:c.default[u]}})),a.push(r.default.createElement("div",{key:"outOfRange",className:f.default.annotation},n[0].message.value))}return r.default.createElement("div",{className:f.default.container},a)}(),borderColor:c.default[t],tailColor:c.default[t]}))};A.defaultProps={tail:!0,side:"right",tailWidth:8,tailHeight:16,tailColor:c.default.bolus,borderColor:c.default.bolus,borderWidth:2},t.default=A},39583:(e,t,n)=>{"use strict";var a=n(44906).default,r=n(67049).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(82015)),i=a(n(27825)),s=a(n(50628)),l=a(n(29756)),d=a(n(34893)),u=a(n(72202)),c=(n(66871),r(n(31266))),f=n(89540),A=n(4903),p=n(11270),g=a(n(3279)),m=a(n(56427)),h=m.default.t.bind(m.default);t.default=function(e){var t=e.bgUnits,n=e.copySettingsClicked,a=e.deviceKey,r=e.openedSections,m=e.pumpSettings,b=e.timePrefs,y=e.toggleBasalScheduleExpansion,v=e.user,E=a;"carelink"===a&&(E="medtronic");var C,B,T,S,x,w=!(0,p.isLoop)(m);function I(e,t,n,a,r){return o.default.createElement(d.default,{annotations:r,title:n,rows:e,columns:t,tableStyle:a})}return o.default.createElement("div",null,o.default.createElement("div",{className:g.default.header},o.default.createElement(l.default,{deviceDisplayName:(0,f.deviceName)(E),deviceMeta:c.deviceMeta(m,b)}),o.default.createElement(s.default,{buttonTitle:h("For email or notes"),onSuccess:n,getText:A.nonTandemText.bind(void 0,v,m,t,E)})),o.default.createElement("div",{className:g.default.settingsContainer},o.default.createElement("div",{className:g.default.basalSettingsContainer},w&&o.default.createElement("div",{className:g.default.categoryTitle},h("Basal Rates")),i.default.map(c.basalSchedules(m),(function(e){var t,n=c.basal(e,m,a),s=i.default.partial(y,n.scheduleName),l=g.default.singleLineBasalScheduleHeader;if(n.isAutomated){if(l=g.default.automatedSingleLineBasalScheduleHeader,!n.activeAtUpload)return null;n.title.secondary=n.title.secondary.toLowerCase();var d={label:n.title,className:g.default.automatedBasalHeaderBackground};return o.default.createElement("div",{className:g.default.categoryContainer,key:e},I(n.rows,n.columns,d,[l,g.default.settingsTable].join(" ")))}if((0,p.isLoop)(m)){l=g.default.basalScheduleHeader,n.title.secondary=n.title.secondary.toLowerCase();var f={label:{main:h("Basal Rates"),secondary:"U/hr"},className:g.default.singleLineBasalScheduleHeader};return o.default.createElement("div",{className:g.default.categoryContainer,key:e},I(n.rows,n.columns,f,g.default.basalTable))}return n.activeAtUpload&&(l=g.default.twoLineBasalScheduleHeader),o.default.createElement("div",{className:g.default.categoryContainer,key:e},o.default.createElement(u.default,{label:n.title,labelClass:l,opened:(t=n.scheduleName,i.default.get(r,t,!1)),toggleExpansion:s,twoLineLabel:!0},I(n.rows,n.columns,null,g.default.basalTable)))}))),o.default.createElement("div",{className:g.default.bolusSettingsContainer},w&&o.default.createElement("div",{className:g.default.categoryTitle},c.bolusTitle(E)),o.default.createElement("div",{className:g.default.bolusSettingsInnerContainer},(x={label:{main:(S=c.target(m,E,t)).title,secondary:t},className:g.default.bolusSettingsHeader},o.default.createElement("div",{className:g.default.categoryContainer},I(S.rows,S.columns,x,g.default.settingsTable,S.annotations))),function(){var e=c.ratio(m,E),t={label:{main:e.title,secondary:"exchanges"===i.default.get(m,"units.carb")?"U/exch":"g/U"},className:g.default.bolusSettingsHeader};return o.default.createElement("div",{className:g.default.categoryContainer},I(e.rows,e.columns,t,g.default.settingsTable))}(),function(){var e=c.sensitivity(m,E,t),n={label:{main:e.title,secondary:"".concat(t,"/U")},className:g.default.bolusSettingsHeader};return o.default.createElement("div",{className:g.default.categoryContainer},I(e.rows,e.columns,n,g.default.settingsTable))}()))),!i.default.includes(["animas","microtech"],E)&&o.default.createElement("div",{className:g.default.settingsContainerLeftAligned},w&&o.default.createElement("div",{className:g.default.categoryTitle},h("Pump Settings")),o.default.createElement("div",{className:g.default.insulinSettingsInnerContainer},(B=(C=(0,f.insulinSettings)(m,E)).rows,T=C.columns,o.default.createElement("div",{className:g.default.categoryContainer},I(B,T,{label:{main:h("Insulin Settings")},className:g.default.insulinSettingsHeader},g.default.settingsTableInverted))),function(){var e=(0,f.presetSettings)(m,E),t=e.rows,n=e.columns;return t.length?o.default.createElement("div",{className:g.default.categoryContainer},I(t,n,{label:{main:h("Presets")},className:g.default.presetSettingsHeader},g.default.settingsTable)):null}())))}},40456:(e,t,n)=>{"use strict";var a=n(44906).default,r=n(67049).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(82015)),i=a(n(27825)),s=a(n(54602)),l=a(n(50628)),d=a(n(29756)),u=a(n(34893)),c=a(n(72202)),f=(n(66871),n(89540)),A=r(n(72255)),p=n(4903),g=n(11270),m=n(49842),h=a(n(56427)),b=h.default.t.bind(h.default),y=function(e){var t=e.bgUnits,n=e.copySettingsClicked,a=e.openedSections,r=e.pumpSettings,h=e.timePrefs,y=e.toggleProfileExpansion,v=e.user,E=e.deviceDisplayName,C=i.default.map(A.basalSchedules(r),(function(e){var n,l=A.basal(e,r,t,s.default),d=(0,f.insulinSettings)(r,"tandem",e.name),p=d.rows,h=d.columns;return o.default.createElement("div",{className:"settings-table-container",key:l.scheduleName},o.default.createElement(c.default,{label:l.title,labelClass:s.default.collapsibleLabel,opened:(n=l.scheduleName,i.default.get(a,n,!1)),toggleExpansion:i.default.partial(y,l.scheduleName),twoLineLabel:!1},o.default.createElement(u.default,{rows:l.rows,columns:l.columns,tableStyle:s.default.profileTable}),o.default.createElement("div",{className:s.default.categoryTitle},b("Pump Settings")),o.default.createElement(u.default,{rows:p,title:{label:{main:"Insulin Settings"},className:s.default.insulinSettingsHeader},columns:h,tableStyle:s.default.settingsTableInverted}),(0,g.isControlIQ)(r)&&o.default.createElement("div",{className:s.default.annotations},o.default.createElement(m.Trans,{i18nKey:"tandem.annotations"},"* - The numbers displayed here are the user-defined values. During automation, Tandem's Control-IQ Technology uses its own preset Insulin Duration and Target BG. However, users can set different values for these parameters that ",o.default.createElement("strong",null,"only")," apply in manual mode."))))}));return o.default.createElement("div",null,o.default.createElement("div",{className:s.default.header},o.default.createElement(d.default,{deviceDisplayName:E,deviceMeta:A.deviceMeta(r,h)}),o.default.createElement(l.default,{buttonTitle:b("For email or notes"),onSuccess:n,getText:p.tandemText.bind(void 0,v,r,t)})),o.default.createElement("div",null,o.default.createElement("span",{className:s.default.title},b("Profile Settings")),C))};y.defaultProps={deviceDisplayName:(0,f.deviceName)("tandem"),deviceKey:"tandem"},t.default=y},72202:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(27825)),o=a(n(82015)),i=n(14549),s=a(n(32600)),l=a(n(13130)),d=a(n(28868)),u=function(e){var t=e.label,n=e.labelClass,a=e.opened,u=e.toggleExpansion,c=o.default.createElement(s.default,{className:n,isOpened:a,label:t,onClick:u}),f=e.twoLineLabel,A=e.label.secondary;return f&&!r.default.isEmpty(A)&&(c=o.default.createElement(l.default,{className:n,isOpened:a,label:t,onClick:u})),o.default.createElement("div",null,c,o.default.createElement(i.Collapse,{className:d.default.collapsibleContainer,isOpened:a,theme:{collapse:"containerCollapse"}},o.default.createElement("div",null,e.children)))};u.defaultProps={twoLineLabel:!0},t.default=u},29756:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(54013)),l=r(n(53671)),d=a(n(82015)),u=r(n(62102)),c=r(n(56427)),f=c.default.t.bind(c.default),A=function(e){(0,s.default)(n,e);var t=(0,l.default)(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,i.default)(n,[{key:"render",value:function(){return d.default.createElement("div",null,d.default.createElement("ul",{className:"".concat(u.default.header," ").concat(u.default.headerExpanded)},d.default.createElement("li",{className:u.default.headerOuter},d.default.createElement("span",{className:u.default.headerInner},f("Active at Upload on")," ",this.props.deviceMeta.uploaded))))}}]),n}(d.PureComponent);t.default=A},39695:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PumpSettingsContainer=void 0,t.mapStateToProps=g;var o=r(n(46721)),i=r(n(4841)),s=r(n(54013)),l=r(n(53671)),d=r(n(27825)),u=a(n(82015)),c=n(22544),f=(n(66871),r(n(39583))),A=r(n(40456)),p=t.PumpSettingsContainer=function(e){(0,s.default)(n,e);var t=(0,l.default)(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,i.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){var e=this.props,t=e.manufacturerKey,n=e.pumpSettings,a=n.activeSchedule,r=n.lastManualBasalSchedule,o=e.toggleSettingsSection;e.settingsState.touched||o(t,r||a)}},{key:"render",value:function(){var e=this.props,t=e.settingsState,n=e.user;if(d.default.isEmpty(t))return null;var a=this.props,r=a.bgUnits,o=a.copySettingsClicked,i=a.manufacturerKey,s=a.pumpSettings,l=a.timePrefs,c=a.toggleSettingsSection,p=d.default.partial(c,i);return"tandem"===i?u.default.createElement(A.default,{bgUnits:r,copySettingsClicked:o,deviceKey:i,openedSections:t[i],pumpSettings:s,timePrefs:l,toggleProfileExpansion:p,user:n}):d.default.includes(["animas","carelink","insulet","medtronic","microtech","diy loop","tidepool loop","twiist"],i)?u.default.createElement(f.default,{bgUnits:r,copySettingsClicked:o,deviceKey:i,openedSections:t[i],pumpSettings:s,timePrefs:l,toggleBasalScheduleExpansion:p,user:n}):(console.warn("Unknown manufacturer key: [".concat(i,"]!")),null)}}]),n}(u.PureComponent);function g(e,t){var n=d.default.get(t,"currentPatientInViewId");return{user:d.default.get(e.blip.allUsersMap,n,{})}}t.default=(0,c.connect)(g)(p)},32600:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(271)),o=a(n(27825)),i=a(n(3892)),s=a(n(82015)),l=a(n(52743)),d=a(n(92250));t.default=function(e){var t,n=e.className,a=e.isOpened,u=e.label,c=u.main,f=u.secondary,A=u.units,p=e.onClick,g=(0,i.default)((t={label:!0},(0,r.default)(t,d.default.collapsibleLabel,!Boolean(n)),(0,r.default)(t,d.default.labelContainer,!0),(0,r.default)(t,n,Boolean(n)),(0,r.default)(t,l.default.opened,a),t));return s.default.createElement("div",{className:g,onClick:p},s.default.createElement("div",null,s.default.createElement("span",{className:d.default.mainText},c),o.default.isEmpty(f)?null:s.default.createElement("span",{className:d.default.secondaryText},f),o.default.isEmpty(A)?null:s.default.createElement("span",{className:d.default.secondaryText},A)))}},34893:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(24664)),i=r(n(46721)),s=r(n(4841)),l=r(n(54013)),d=r(n(53671)),u=a(n(82015)),c=r(n(27825)),f=r(n(39681)),A=r(n(25159)),p=r(n(51357)),g=function(e){(0,l.default)(n,e);var t=(0,d.default)(n);function n(e){var a;return(0,i.default)(this,n),(a=t.call(this,e)).renderTooltip=function(){var e,t=c.default.isFinite(a.state.activeRow)?null===(e=a.props.rows[a.state.activeRow])||void 0===e?void 0:e.annotations:a.props.annotations;return u.default.createElement("div",{className:p.default.TableTooltipWrapper},u.default.createElement(f.default,{annotations:t,offset:a.state.messageTooltipOffset,position:a.state.messageTooltipPosition,showDividers:a.props.showTooltipDividers,side:a.state.messageTooltipSide}))},a.handleTooltipIconMouseOver=function(e,t){var n=(c.default.isFinite(t)?a[e][t]:a[e]).getBoundingClientRect(),r=n.top,o=n.left,i=n.width,s=n.height,l=a.table.getBoundingClientRect(),d=l.top,u=l.left,f={top:r-d+s/2-l.height,left:o-u+i/2},A={horizontal:i/2,top:0},p=c.default.get(document,"body.clientWidth",0)-o<225?"left":"right";a.setState({activeRow:t,showTooltip:!0,messageTooltipPosition:f,messageTooltipOffset:A,messageTooltipSide:p})},a.handleTooltipIconMouseOut=function(){a.setState({showTooltip:!1,activeRow:null})},a.state={},a.setTableRef=function(e){a.table=e},a.setTooltipIconRef=function(e){a.tooltipIcon=e},a.setRowTooltipIconRefs={},a.rowTooltipIcons={},c.default.each(e.rows,(function(e,t){var n;null!==(n=e.annotations)&&void 0!==n&&n.length&&(a.setRowTooltipIconRefs[t]=function(e){a.rowTooltipIcons[t]=e})})),a}return(0,s.default)(n,[{key:"getItemField",value:function(e,t){return e[t]}},{key:"normalizeColumns",value:function(){var e=this.getItemField,t=this.props.columns;return c.default.map(t,(function(t){return{cell:e,className:t.className,key:t.key,label:t.label}}))}},{key:"renderHeader",value:function(e){var t=c.default.map(e,(function(e,t){var n=e.label;return"object"===(0,o.default)(n)&&c.default.isEqual(c.default.keys(n),["main","secondary"])?u.default.createElement("th",{key:t,className:e.className},n.main,u.default.createElement("span",{className:p.default.secondaryLabelWithMain},n.secondary)):u.default.createElement("th",{key:t,className:p.default.secondaryLabelAlone},n)}));return u.default.createElement("thead",{key:"thead_".concat(t.length)},u.default.createElement("tr",null,t))}},{key:"renderAnnotation",value:function(e){return u.default.createElement(f.default,{annotations:[e]})}},{key:"renderRow",value:function(e,t,n){var a=this,r=c.default.map(e,(function(e,r){var o;return u.default.createElement("td",{key:e.key},e.cell(n,e.key),0===r&&(null===(o=n.annotations)||void 0===o?void 0:o.length)&&u.default.createElement("span",{className:p.default.rowTooltipIcon},u.default.createElement("img",{src:A.default,alt:"Hover for more info",ref:a.setRowTooltipIconRefs[t],onMouseOver:a.handleTooltipIconMouseOver.bind(a,"rowTooltipIcons",t),onMouseOut:a.handleTooltipIconMouseOut})))}));return u.default.createElement("tr",{key:t},r)}},{key:"renderRows",value:function(e){var t=this,n=c.default.map(this.props.rows,(function(n,a){return t.renderRow(e,a,n)}));return u.default.createElement("tbody",{key:"tbody_".concat(n.length)},n)}},{key:"render",value:function(){var e=this.normalizeColumns(),t=c.default.some(e,"label"),n=[this.renderRows(e)];if(t&&n.unshift(this.renderHeader(e)),!c.default.isEmpty(this.props.title)){var a=this.props.title,r=a.className,o=a.label,i=o.main,s=o.secondary,l=u.default.createElement("caption",{key:i,className:r},i,u.default.createElement("span",{className:p.default.secondaryLabelWithMain},s),this.props.annotations&&u.default.createElement("span",{className:p.default.tooltipIcon},u.default.createElement("img",{src:A.default,alt:"Hover for more info",ref:this.setTooltipIconRef,onMouseOver:this.handleTooltipIconMouseOver.bind(this,"tooltipIcon"),onMouseOut:this.handleTooltipIconMouseOut})));n.unshift(l)}return u.default.createElement(u.default.Fragment,null,u.default.createElement("table",{ref:this.setTableRef,className:this.props.tableStyle},n),this.state.showTooltip&&this.renderTooltip())}}]),n}(u.PureComponent);g.defaultProps={showTooltipDividers:!1},t.default=g},13130:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(271)),o=a(n(3892)),i=a(n(82015)),s=a(n(52743)),l=a(n(67364));t.default=function(e){var t,n,a=e.className,d=e.isOpened,u=e.label,c=u.main,f=u.secondary,A=u.units,p=e.onClick,g=(0,o.default)((t={label:!0},(0,r.default)(t,l.default.collapsibleLabel,!Boolean(a)),(0,r.default)(t,l.default.labelContainer,!0),(0,r.default)(t,a,Boolean(a)),t)),m=(0,o.default)((n={},(0,r.default)(n,l.default.norgieLabelContainer,!0),(0,r.default)(n,s.default.opened,d),n));return i.default.createElement("div",{className:g,onClick:p},i.default.createElement("div",{className:l.default.secondaryLabel},f),i.default.createElement("div",{className:m},i.default.createElement("div",null,c,i.default.createElement("span",{className:l.default.secondaryText},A))))}},87645:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CBGDateTraceAnimated=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(83581)),l=r(n(54013)),d=r(n(53671)),u=r(n(27825)),c=n(80255),f=a(n(82015)),A=n(84240),p=r(n(22285)),g=t.CBGDateTraceAnimated=function(e){(0,l.default)(n,e);var t=(0,d.default)(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).handleClick=a.handleClick.bind((0,s.default)(a)),a.handleMouseOut=a.handleMouseOut.bind((0,s.default)(a)),a}return(0,i.default)(n,[{key:"componentWillEnter",value:function(e){var t=this,n=this.props,a=n.animationDuration,r=n.data,o=u.default.map(r,(function(e){return t[e.id]}));c.TweenMax.staggerTo(o,a,{opacity:1,onComplete:e},a/o.length)}},{key:"componentWillLeave",value:function(e){var t=this,n=this.props,a=n.animationDuration,r=n.data,o=u.default.map(r,(function(e){return t[e.id]}));c.TweenMax.staggerTo(o,a,{opacity:0,onComplete:e},a/o.length)}},{key:"handleClick",value:function(){var e=this.props,t=e.date;(0,e.onSelectDate)(t)}},{key:"handleMouseOut",value:function(){(0,this.props.unfocusDateTrace)()}},{key:"render",value:function(){var e=this,t=this.props,n=t.bgBounds,a=t.bgUnits,r=t.cbgRadius,o=t.data,i=t.date,s=t.topMargin,l=t.xScale,d=t.yScale;return f.default.createElement("g",{id:"cbgDateTrace-".concat(i)},u.default.map(o,(function(t){return f.default.createElement("circle",{className:p.default[(0,A.classifyBgValue)(n,a,t.value,"fiveWay")],cx:l(t.msPer24),cy:d(t.value),id:"cbgCircle-".concat(t.id),key:t.id,onClick:e.handleClick,onMouseOver:function(){e.props.focusDateTrace(t,{left:l(t.msPer24),yPositions:{top:d(t.value),topMargin:s}})},onMouseOut:e.handleMouseOut,opacity:0,r,ref:function(n){e[t.id]=n}})})))}}]),n}(f.PureComponent);g.defaultProps={animationDuration:.2,cbgRadius:2.5},t.default=g},45108:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(56607)),i=n(51427),s=a(n(90030));t.default=function(e){if(!e.focusedDateTrace)return null;var t=e.focusedDateTrace,n=t.data.localDate,a=t.position,l=(0,i.utcFormat)("%A, %B %-d")(Date.parse(n));return r.default.createElement("div",{className:s.default.container},r.default.createElement(o.default,{title:r.default.createElement("span",{className:s.default.dateLabel},l),borderWidth:0,position:{left:a.left,top:2.25*a.yPositions.topMargin},side:"bottom",tail:!1}))}},14978:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(27825)),o=a(n(82015)),i=a(n(76954)),s=a(n(87645));t.default=function(e){var t=e.bgBounds,n=e.bgUnits,a=e.data,l=e.dates,d=e.topMargin,u=e.xScale,c=e.yScale;return o.default.createElement(i.default,{component:"g",id:"cbgDateTraces",transitionMode:"simultaneous"},r.default.map(l,(function(r){return o.default.createElement(s.default,{bgBounds:t,bgUnits:n,data:a[r],date:r,focusDateTrace:e.focusCbgDateTrace,unfocusDateTrace:e.unfocusCbgDateTrace,key:r,onSelectDate:e.onSelectDate,topMargin:d,xScale:u,yScale:c})})))}},23746:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CBGMedianAnimated=void 0;var o=r(n(271)),i=r(n(46721)),s=r(n(4841)),l=r(n(83581)),d=r(n(54013)),u=r(n(53671)),c=r(n(27825)),f=r(n(3892)),A=a(n(82015)),p=n(94568),g=n(84240),m=n(66871),h=r(n(98823)),b=r(n(20444)),y=t.CBGMedianAnimated=function(e){(0,d.default)(n,e);var t=(0,u.default)(n);function n(e){var a;return(0,i.default)(this,n),(a=t.call(this,e)).willEnter=a.willEnter.bind((0,l.default)(a)),a.willLeave=a.willLeave.bind((0,l.default)(a)),a}return(0,s.default)(n,[{key:"willEnter",value:function(){return{height:0,median:this.props.defaultY,opacity:0}}},{key:"willLeave",value:function(){var e=this.props.defaultY,t=(0,p.spring)(0,m.springConfig);return{height:t,median:(0,p.spring)(e,m.springConfig),opacity:t}}},{key:"render",value:function(){var e,t,n=this.props,a=n.bgBounds,r=n.bgUnits,i=n.datum,s=n.defaultY,l=n.displayingMedian,d=n.showingCbgDateTraces,u=n.sliceWidth,h=n.xScale,y=n.yScale,v=i.median?(0,f.default)((e={},(0,o.default)(e,b.default.median,!0),(0,o.default)(e,b.default["".concat((0,g.classifyBgValue)(a,r,i.median,"fiveWay"),"FadeIn")],!d),(0,o.default)(e,b.default["".concat((0,g.classifyBgValue)(a,r,i.median,"fiveWay"),"FadeOut")],d),e)):(0,f.default)((t={},(0,o.default)(t,b.default.median,!0),(0,o.default)(t,b.default.transparent,!0),t)),E=u/8,C=u-E,B=.75*C,T=h(i.msX)-C/2+E/2,S=C-E,x=l&&void 0!==c.default.get(i,"median");return A.default.createElement(p.TransitionMotion,{defaultStyles:x?[{key:"median",style:{height:0,median:s,opacity:0}}]:[],styles:x?[{key:"median",style:{height:(0,p.spring)(B,m.springConfig),median:(0,p.spring)(y(i.median)-B/2,m.springConfig),opacity:(0,p.spring)(1,m.springConfig)}}]:[],willEnter:this.willEnter,willLeave:this.willLeave},(function(e){if(0===e.length)return null;var t=e[0],n=t.key,a=t.style;return A.default.createElement("rect",{className:v,id:"cbgMedian-".concat(n),width:S,height:a.height,x:T,y:a.median,opacity:a.opacity})}))}}]),n}(A.PureComponent);y.defaultProps={sliceWidth:16},t.default=(0,h.default)(y)},78198:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CBGSliceAnimated=void 0;var o=r(n(271)),i=r(n(46721)),s=r(n(4841)),l=r(n(83581)),d=r(n(54013)),u=r(n(53671)),c=r(n(27825)),f=r(n(3892)),A=a(n(82015)),p=n(94568),g=n(66871),m=r(n(98823)),h=r(n(11118)),b=r(n(53064)),y=t.CBGSliceAnimated=function(e){(0,d.default)(n,e);var t=(0,u.default)(n);function n(e){var a;return(0,i.default)(this,n),(a=t.call(this,e)).willEnter=a.willEnter.bind((0,l.default)(a)),a.willLeave=a.willLeave.bind((0,l.default)(a)),a}return(0,s.default)(n,[{key:"willEnter",value:function(e){var t=e.style,n=this.props.defaultY;return c.default.mapValues(t,(function(e,t){return"opacity"===t||-1!==t.search("Height")?0:n}))}},{key:"willLeave",value:function(e){var t=e.style,n=this.props.defaultY,a=(0,p.spring)(0,g.springConfig);return c.default.mapValues(t,(function(e,t){return"opacity"===t||-1!==t.search("Height")?a:(0,p.spring)(n,g.springConfig)}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.datum,a=t.defaultY,r=t.displayFlags,i=t.sliceWidth,s=t.showingCbgDateTraces,l=t.tooltipLeftThreshold,d=t.topMargin,u=t.xScale,m=t.yScale,y={top10:{classKey:"rangeSegment",displayFlag:"cbg100Enabled",height:"top10Height",heightKeys:["upperQuantile","max"],key:"top10",y:"max"},bottom10:{classKey:"rangeSegment",displayFlag:"cbg100Enabled",height:"bottom10Height",heightKeys:["min","lowerQuantile"],key:"bottom10",y:"lowerQuantile"},upper15:{classKey:"outerSegment",displayFlag:"cbg80Enabled",height:"upper15Height",heightKeys:["thirdQuartile","upperQuantile"],key:"upper15",y:"upperQuantile"},lower15:{classKey:"outerSegment",displayFlag:"cbg80Enabled",height:"lower15Height",heightKeys:["lowerQuantile","firstQuartile"],key:"lower15",y:"firstQuartile"},innerQuartiles:{classKey:"innerQuartilesSegment",displayFlag:"cbg50Enabled",height:"innerQuartilesHeight",heightKeys:["firstQuartile","thirdQuartile"],key:"innerQuartiles",y:"thirdQuartile"}},v=c.default.filter(y,(function(e){return r[e.displayFlag]})),E={firstQuartile:m(n.firstQuartile),max:m(n.max),median:m(n.median),min:m(n.min),upperQuantile:m(n.upperQuantile),lowerQuantile:m(n.lowerQuantile),thirdQuartile:m(n.thirdQuartile),topMargin:d},C=i/8,B=u(n.msX)-i/2+C/2,T=i-C;return A.default.createElement(p.TransitionMotion,{defaultStyles:void 0!==c.default.get(n,"min")?c.default.map(v,(function(e){var t;return{key:e.key,style:(t={},(0,o.default)(t,e.y,a),(0,o.default)(t,e.height,0),(0,o.default)(t,"opacity",0),t)}})):[],styles:void 0!==c.default.get(n,"min")?c.default.map(v,(function(e){var t;return{key:e.key,style:(t={},(0,o.default)(t,e.y,(0,p.spring)(m(n[e.y]),g.springConfig)),(0,o.default)(t,e.height,(0,p.spring)(m(n[e.heightKeys[0]])-m(n[e.heightKeys[1]]),g.springConfig)),(0,o.default)(t,"opacity",(0,p.spring)(1,g.springConfig)),t)}})):[],willEnter:this.willEnter,willLeave:this.willLeave},(function(t){return 0===t.length?null:A.default.createElement("g",{id:"cbgSlice-".concat(n.id)},c.default.map(t,(function(t){var a,r=y[t.key],i=(0,f.default)((a={},(0,o.default)(a,b.default.segment,!0),(0,o.default)(a,b.default[r.classKey],!s),(0,o.default)(a,b.default["".concat(r.classKey,"Faded")],s),a));return A.default.createElement(h.default,{classes:i,datum:n,focusSlice:e.props.focusCbgSlice,unfocusSlice:e.props.unfocusCbgSlice,interpolated:t,key:t.key,positionData:{left:u(n.msX),tooltipLeft:n.msX>l,yPositions:E},segment:r,width:T,x:B})})))}))}}]),n}(A.PureComponent);y.defaultProps={sliceWidth:16},t.default=(0,m.default)(y)},11118:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CBGSliceSegment=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(83581)),l=r(n(54013)),d=r(n(53671)),u=a(n(82015)),c=t.CBGSliceSegment=function(e){(0,l.default)(n,e);var t=(0,d.default)(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).handleMouseOut=a.handleMouseOut.bind((0,s.default)(a)),a.handleMouseOver=a.handleMouseOver.bind((0,s.default)(a)),a}return(0,i.default)(n,[{key:"handleMouseOut",value:function(e){e.relatedTarget&&-1!==e.relatedTarget.id.search("cbgCircle")||this.props.unfocusSlice()}},{key:"handleMouseOver",value:function(){var e=this.props,t=e.datum;(0,e.focusSlice)(t,e.positionData,e.segment.heightKeys)}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.datum,a=e.interpolated,r=a.key,o=a.style,i=e.segment,s=e.width,l=e.x;return u.default.createElement("rect",{className:t,key:r,id:"cbgSlice-".concat(n.id,"-").concat(r),width:s,height:o[i.height],x:l,y:o[i.y],opacity:o.opacity,onMouseOver:this.handleMouseOver,onMouseOut:this.handleMouseOut})}}]),n}(u.PureComponent);t.default=c},84423:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(54013)),l=r(n(53671)),d=r(n(27825)),u=a(n(82015)),c=n(74501),f=n(84240),A=r(n(23746)),p=r(n(78198));(t.default=function(e){(0,s.default)(n,e);var t=(0,l.default)(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).state={mungedData:[]},a}return(0,i.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){var e=this.props,t=e.binSize,n=e.data;this.setState({mungedData:(0,f.mungeBGDataBins)("cbg",t,n)})}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.binSize,n=e.data;t===this.props.binSize&&n===this.props.data||this.setState({mungedData:(0,f.mungeBGDataBins)("cbg",t,n)})}},{key:"render",value:function(){var e=this,t=this.state.mungedData,n=this.props,a=n.xScale,r=n.yScale,o=n.sliceWidth;return u.default.createElement("g",{id:"cbgSlices"},d.default.map(t,(function(t){return u.default.createElement("g",{id:"cbgBin-".concat(t.id),key:t.id},u.default.createElement(p.default,{bgBounds:e.props.bgBounds,datum:t,displayFlags:e.props.displayFlags,focusCbgSlice:e.props.focusCbgSlice,unfocusCbgSlice:e.props.unfocusCbgSlice,showingCbgDateTraces:e.props.showingCbgDateTraces,tooltipLeftThreshold:e.props.tooltipLeftThreshold,topMargin:e.props.topMargin,xScale:a,yScale:r,sliceWidth:o}),u.default.createElement(A.default,{bgBounds:e.props.bgBounds,bgUnits:e.props.bgUnits,datum:t,displayingMedian:e.props.displayFlags.cbgMedianEnabled,showingCbgDateTraces:e.props.showingCbgDateTraces,xScale:a,yScale:r,sliceWidth:o}))})))}}]),n}(u.PureComponent)).defaultProps={binSize:c.THIRTY_MINS,sliceWidth:16}},22869:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(4069)),i=function(e){if(!e.focusedSlice||!e.focusedSliceKeys)return null;var t=e.focusedSlice.position,n=e.focusedSliceKeys,a=e.sliceWidth;return r.default.createElement("rect",{className:o.default.segment,x:t.left-a/2+o.default.stroke/2,y:t.yPositions[n[1]],width:a-o.default.stroke,height:t.yPositions[n[0]]-t.yPositions[n[1]]})};i.defaultProps={sliceWidth:16},t.default=i},94618:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RangeSelect=void 0;var r=a(n(82015)),o=a(n(7136)),i=a(n(66708)),s=a(n(56427)),l=void 0,d=s.default.t.bind(s.default),u=t.RangeSelect=function(e){return r.default.createElement("div",{className:i.default.container},r.default.createElement(o.default,{checked:e.displayFlags.cbg100Enabled,name:"hundred",label:d("100% of Readings"),onFn:e.updateCbgRange.bind(l,"cbg100Enabled",!0),offFn:e.updateCbgRange.bind(l,"cbg100Enabled",!1)}),r.default.createElement(o.default,{checked:e.displayFlags.cbg80Enabled,name:"eighty",label:d("80% of Readings"),onFn:e.updateCbgRange.bind(l,"cbg80Enabled",!0),offFn:e.updateCbgRange.bind(l,"cbg80Enabled",!1)}),r.default.createElement(o.default,{checked:e.displayFlags.cbg50Enabled,name:"fifty",label:d("50% of Readings"),onFn:e.updateCbgRange.bind(l,"cbg50Enabled",!0),offFn:e.updateCbgRange.bind(l,"cbg50Enabled",!1)}),r.default.createElement(o.default,{checked:e.displayFlags.cbgMedianEnabled,name:"median",label:d("Median"),onFn:e.updateCbgRange.bind(l,"cbgMedianEnabled",!0),offFn:e.updateCbgRange.bind(l,"cbgMedianEnabled",!1)}))};t.default=u},26432:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27825)),i=n(17897),s=r(n(82015)),l=a(n(74501)),d=r(n(1634)),u=function(e){var t=e.data,n=e.margins,a=e.svgDimensions,r=e.xScale,i=a.width-n.left-n.right,l=a.height-n.top-n.bottom,u=e.linesAtThreeHrs?o.default.map(t,(function(e,t){return s.default.createElement("line",{className:d.default.threeHrLine,key:"threeHrLine-".concat(t),x1:r(e),x2:r(e),y1:n.top,y2:a.height-n.bottom})})):null;return s.default.createElement("g",{id:"background"},s.default.createElement("rect",{className:d.default.background,x:n.left,y:n.top,width:i,height:l}),u)};u.defaultProps={data:o.default.map((0,i.range)(1,8),(function(e){return e*l.THREE_HRS})),linesAtThreeHrs:!1},t.default=u},13309:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(56607)),i=(n(66871),n(99559)),s=n(74501),l=a(n(86797)),d=function(e){var t=e.focusedKeys,n=e.focusedRange,a=e.focusedSlice;if(!(n||t&&a))return null;if(t&&1===t.length)return null;var d=e.bgPrefs,u="cbg"===e.dataType,c=e[u?"focusedSlice":"focusedRange"],f=c.data,A=c.position,p=(0,s.formatClocktimeFromMsPer24)(f.msFrom),g=(0,s.formatClocktimeFromMsPer24)(f.msTo),m=u?t[1]:"max",h=u?"median":"mean",b=u?t[0]:"min",y={top:A.yPositions[m],left:A.left},v={top:A.yPositions[b],left:A.left},E={top:A.yPositions[h],left:A.left},C=A.tooltipLeft?"left":"right";return r.default.createElement("div",{className:l.default.container},u?r.default.createElement(o.default,{title:r.default.createElement("span",{className:l.default.timeLabel},p," - ",g),borderWidth:0,position:{left:A.left,top:A.yPositions.topMargin},side:"bottom",tail:!1}):null,r.default.createElement(o.default,{content:r.default.createElement("span",{className:l.default.number},(0,i.formatBgValue)(f[m],d,f.outOfRangeThresholds)),backgroundColor:"transparent",borderColor:"transparent",offset:{left:0,top:u?e.numberOffsets.top:0},position:y,side:"top",tail:!1}),u?null:r.default.createElement(o.default,{title:r.default.createElement("span",{className:l.default.explainerText},p," - ",g),content:r.default.createElement("span",{className:l.default.number},"Average ".concat((0,i.formatBgValue)(f[h],d,f.outOfRangeThresholds))),offset:{top:0,horizontal:e.numberOffsets.horizontal},position:E,side:C}),r.default.createElement(o.default,{content:r.default.createElement("span",{className:l.default.number},(0,i.formatBgValue)(f[b],d,f.outOfRangeThresholds)),backgroundColor:"transparent",borderColor:"transparent",offset:{left:0,top:u?e.numberOffsets.bottom:0},position:v,side:"bottom",tail:!1}))};d.defaultProps={numberOffsets:{bottom:-5,horizontal:10,top:5}},t.default=d},15411:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(27825)),i=a(n(51531)),s=a(n(56427)),l=s.default.t.bind(s.default);void 0===o.default.get(s.default,"options.returnEmptyString")&&s.default.init({returnEmptyString:!1,nsSeparator:"|"});var d=function(e){var t=e.dataType,n=e.displayTypes,a=e.position,o=void 0===a?{}:a,s=e.unselectedAllData,d=e.unselectedAllDataString;if(!o.x||!o.y)return null;var u="";return t&&(u=n[t]),r.default.createElement("text",{className:i.default.noDataMsg,id:"noDataMsg",x:o.x,y:o.y},function(e){return s?d:l("There is no {{displayType}} data for this time period :(",{displayType:e})}(u))};d.defaultProps={displayTypes:{cbg:"CGM",smbg:"fingerstick"},unselectedAllDataString:l("Hang on there, skippy! You unselected all of the data!")},t.default=d},40957:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(16845)),i=function(e){var t=e.bgBounds,n=e.smbgOpts,a=e.xScale,i=e.yScale,s=a.range()[0]-n.maxR,l=a.range()[1]+n.maxR;return r.default.createElement("g",{id:"targetRange"},r.default.createElement("line",{id:"highThreshold",className:o.default.targetRangeLine,x1:s,x2:l,y1:i(t.targetUpperBound),y2:i(t.targetUpperBound)}),r.default.createElement("line",{id:"lowThreshold",className:o.default.targetRangeLine,x1:s,x2:l,y1:i(t.targetLowerBound),y2:i(t.targetLowerBound)}))};i.displayName="TargetRangeLines",t.default=i},69717:(e,t,n)=>{"use strict";var a=n(44906).default,r=n(67049).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TrendsContainer=void 0,t.getAllDatesInRange=B,t.getLocalizedNoonBeforeUTC=T,t.getLocalizedOffset=S;var o,i=a(n(271)),s=a(n(46721)),l=a(n(4841)),d=a(n(83581)),u=a(n(54013)),c=a(n(53671)),f=a(n(27825)),A=a(n(66581)),p=n(17897),g=n(81386),m=a(n(55812)),h=r(n(82015)),b=a(n(49449)),y=n(66871),v=r(n(74501)),E=n(84240),C=y.trends.extentSizes;function B(e,t,n){for(var a=v.getTimezoneFromTimePrefs(n),r=[],o=m.default.utc(e).tz(a),i=m.default.utc(t);o.isBefore(i);)r.push(o.format("YYYY-MM-DD")),o.add(1,"day");return r}function T(e,t){if(e instanceof Date)throw new Error("`utc` must be a ISO-formatted String timestamp or integer hammertime!");var n=v.getTimezoneFromTimePrefs(t),a=v.getLocalizedCeiling(e,t);return m.default.utc(a.valueOf()).tz(n).subtract(1,"day").hours(12).toDate()}function S(e,t,n){if(e instanceof Date)throw new Error("`utc` must be a ISO-formatted String timestamp or integer hammertime!");var a=v.getTimezoneFromTimePrefs(n);return m.default.utc(e).tz(a).add(t.amount,t.units).toDate()}C.ONE_WEEK,C.TWO_WEEKS,C.FOUR_WEEKS;var x=t.TrendsContainer=function(e){(0,u.default)(n,e);var t=(0,c.default)(n);function n(e){var a;return(0,s.default)(this,n),(a=t.call(this,e)).log=(0,A.default)("TrendsContainer"),a.state={currentCbgData:[],currentSmbgData:[],dateDomain:null,mostRecent:null,previousDateDomain:null,xScale:null,yScale:null},a.selectDate=a.selectDate.bind((0,d.default)(a)),a}return(0,l.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){this.mountData()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props.loading&&!e.loading,n=this.props.queryDataCount!==e.queryDataCount;(t||n)&&this.mountData(e)}},{key:"mountData",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=f.default.sortBy(f.default.cloneDeep(f.default.get(e,"data.data.combined",[])),"normalTime"),n=(0,p.extent)(t,(function(e){return e.value})),a=f.default.filter(t,{type:"cbg"}),r=f.default.filter(t,{type:"smbg"}),o=e.bgPrefs,i=o.bgBounds,s=o.bgUnits,l=e.yScaleClampTop,d=e.mostRecentDatetimeLocation,u=l[s],c=[n[0],u],A=f.default.isNil(i.veryLowThreshold)?i.targetLowerBound:i.veryLowThreshold;(!n[0]||n[0]>A)&&(c[0]=A);var h=(0,g.scaleLinear)().domain(c).clamp(!0),b=e.extentSize,y=e.initialDatetimeLocation,E=e.timePrefs,C=v.getTimezoneFromTimePrefs(E),B=y||d,T=[(0,m.default)(B).tz(C).subtract(b,"days").toISOString(),B],S={bgDomain:{lo:n[0],hi:n[1]},currentCbgData:a,currentSmbgData:r,dateDomain:{start:T[0],end:T[1]},mostRecent:d,xScale:(0,g.scaleLinear)().domain([0,864e5]),yScale:h};this.setState(S,this.determineDataToShow),e.onDatetimeLocationChange(T)}},{key:"getCurrentDay",value:function(){return T(this.state.dateDomain.end,this.props.timePrefs).toISOString()}},{key:"setExtent",value:function(e){this.props.onDatetimeLocationChange(e)}},{key:"selectDate",value:function(){var e=this,t=this.props.timePrefs;return function(n){var a=m.default.tz(n,v.getTimezoneFromTimePrefs(t)).startOf("day").add(12,"hours").toISOString();e.props.onSelectDate(a)}}},{key:"goBack",value:function(){var e=this.state.dateDomain.start,t=[S(e,{amount:-this.props.extentSize,units:"days"},this.props.timePrefs).toISOString(),e];this.setExtent(t)}},{key:"goForward",value:function(){var e=this.state.dateDomain.end,t=[e,S(e,{amount:this.props.extentSize,units:"days"},this.props.timePrefs).toISOString()];this.setExtent(t)}},{key:"goToMostRecent",value:function(){var e=this.state.mostRecent,t=[S(e,{amount:-this.props.extentSize,units:"days"},this.props.timePrefs).toISOString(),e];this.setExtent(t)}},{key:"determineDataToShow",value:function(){if(!this.props.touched){var e=this.state,t=e.currentCbgData,n=e.currentSmbgData,a=this.props,r=a.extentSize,o=a.showingCbg,i=r*y.CGM_READINGS_ONE_DAY/2;o&&(0,E.weightedCGMCount)(t)<i&&n.length?this.props.onSwitchBgDataSource(null,o?y.BGM_DATA_KEY:y.CGM_DATA_KEY):this.props.markTrendsViewed()}}},{key:"render",value:function(){var e=this.state.dateDomain,t=e.start,n=e.end,a=f.default.get(this.state,["previousDateDomain","start"]),r=f.default.get(this.state,["previousDateDomain","end"]),o=t,i=n;return a&&r&&(t<a?i=r:a<t&&(o=a)),h.default.createElement(b.default,{activeDays:this.props.activeDays,bgPrefs:this.props.bgPrefs,smbgData:this.state.currentSmbgData,cbgData:this.state.currentCbgData,dates:B(o,i,this.props.timePrefs),focusCbgDateTrace:this.props.focusCbgDateTrace,unfocusCbgDateTrace:this.props.unfocusCbgDateTrace,focusCbgSlice:this.props.focusCbgSlice,unfocusCbgSlice:this.props.unfocusCbgSlice,focusSmbg:this.props.focusSmbg,unfocusSmbg:this.props.unfocusSmbg,focusSmbgRange:this.props.focusSmbgRange,unfocusSmbgRange:this.props.unfocusSmbgRange,focusedSlice:this.props.focusedCbgSlice,focusedSliceKeys:this.props.focusedCbgSliceKeys,focusedSmbgRangeAvgKey:this.props.focusedSmbgRangeAvg,focusedSmbg:this.props.focusedSmbg,displayFlags:this.props.cbgFlags,showingCbg:this.props.showingCbg,showingCbgDateTraces:this.props.showingCbgDateTraces,showingSmbg:this.props.showingSmbg,smbgGrouped:this.props.smbgGrouped,smbgLines:this.props.smbgLines,smbgRangeOverlay:this.props.smbgRangeOverlay,onSelectDate:this.selectDate(),xScale:this.state.xScale,yScale:this.state.yScale})}}]),n}(h.PureComponent);x.defaultProps={yScaleClampTop:(o={},(0,i.default)(o,y.MGDL_UNITS,y.MGDL_CLAMP_TOP),(0,i.default)(o,y.MMOLL_UNITS,y.MMOLL_CLAMP_TOP),o)},t.default=x},49449:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TrendsSVGContainer=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(54013)),l=r(n(53671)),d=a(n(82015)),u=r(n(37841)),c=r(n(27825)),f=(n(66871),n(74501)),A=n(37359),p=r(n(26432)),g=r(n(14978)),m=r(n(84423)),h=r(n(22869)),b=r(n(93046)),y=r(n(83671)),v=r(n(13433)),E=r(n(77865)),C=r(n(15411)),B=r(n(40957)),T=r(n(59816)),S=r(n(58385)),x=r(n(21774)),w=t.TrendsSVGContainer=function(e){(0,s.default)(n,e);var t=(0,l.default)(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).state={focusedSegmentDataGroupedByDate:null,size:a.props.size,chartWidth:a.props.size.width-70},a}return(0,i.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){this.setScales()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.size.width||this.state.size.width,n=e.size.height||this.state.size.height;if(this.setState({size:{width:t,height:n},chartWidth:t-70}),e.yScale!==this.props.yScale&&this.setScales(e),e.showingCbgDateTraces){var a=e.cbgData,r=e.focusedSlice,o=e.focusedSliceKeys;if(r){var i=(0,A.findDatesIntersectingWithCbgSliceSegment)(a,r,o),s=c.default.groupBy(c.default.filter(a,(function(e){return c.default.includes(i,e.localDate)})),(function(e){return e.localDate}));this.setState({focusedSegmentDataGroupedByDate:s})}else this.props.focusedSlice&&this.setState({focusedSegmentDataGroupedByDate:null})}else this.props.showingCbgDateTraces&&this.setState({focusedSegmentDataGroupedByDate:null})}},{key:"setScales",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=e.margins,n=e.smbgOpts,a=e.xScale,r=e.yScale,o=this.state.size,i=o.width,s=o.height;a.range([t.left+Math.round(n.maxR),i-t.right-Math.round(n.maxR)]),r.range([s-t.bottom-30,t.top+50])}},{key:"renderNoDataMessage",value:function(e){var t=this.props,n=t.activeDays,a=t.margins,r=this.state.size,o=r.width,i=r.height,s={x:o/2+a.right,y:i/2+a.bottom},l=c.default.every(n,(function(e){return!e}));return this.props.showingCbg&&c.default.isEmpty(this.props.cbgData)||this.props.showingSmbg&&c.default.isEmpty(this.props.smbgData)?d.default.createElement(C.default,{dataType:e,position:s,unselectedAllData:l}):null}},{key:"renderOverlay",value:function(e,t){var n=this.props.smbgRangeOverlay?this.props.smbgData:[];return d.default.createElement(y.default,{bgBounds:this.props.bgPrefs.bgBounds,bgUnits:this.props.bgPrefs.bgUnits,data:n,focusSmbgRange:this.props.focusSmbgRange,unfocusSmbgRange:this.props.unfocusSmbgRange,key:t,smbgComponent:e,someSmbgDataIsFocused:null!==this.props.focusedSmbg,tooltipLeftThreshold:this.props.tooltipLeftThreshold,xScale:this.props.xScale,yScale:this.props.yScale,width:this.state.chartWidth/8-3})}},{key:"renderCbg",value:function(){if(this.props.showingCbg){var e=d.default.createElement(m.default,{bgBounds:this.props.bgPrefs.bgBounds,bgUnits:this.props.bgPrefs.bgUnits,sliceWidth:this.state.chartWidth/56,data:this.props.cbgData,displayFlags:this.props.displayFlags,focusCbgSlice:this.props.focusCbgSlice,unfocusCbgSlice:this.props.unfocusCbgSlice,showingCbgDateTraces:this.props.showingCbgDateTraces,tooltipLeftThreshold:this.props.tooltipLeftThreshold,topMargin:this.props.margins.top,xScale:this.props.xScale,yScale:this.props.yScale}),t=this.state.focusedSegmentDataGroupedByDate,n=d.default.createElement(g.default,{bgBounds:this.props.bgPrefs.bgBounds,bgUnits:this.props.bgPrefs.bgUnits,data:t,dates:c.default.keys(t)||[],focusCbgDateTrace:this.props.focusCbgDateTrace,unfocusCbgDateTrace:this.props.unfocusCbgDateTrace,onSelectDate:this.props.onSelectDate,topMargin:this.props.margins.top,xScale:this.props.xScale,yScale:this.props.yScale}),a=null,r=this.props,o=r.focusedSlice,i=r.focusedSliceKeys;return c.default.isEmpty(o)||c.default.isEmpty(i)||(a=d.default.createElement(h.default,{focusedSlice:o,focusedSliceKeys:i,sliceWidth:this.state.chartWidth/56})),d.default.createElement("g",{id:"cbgTrends"},e,n,a)}return null}},{key:"renderSmbg",value:function(){if(this.props.showingSmbg){var e=d.default.createElement(b.default,{anSmbgRangeAvgIsFocused:null!==this.props.focusedSmbgRangeAvg,bgBounds:this.props.bgPrefs.bgBounds,bgUnits:this.props.bgPrefs.bgUnits,data:this.props.smbgData,dates:this.props.dates,focusSmbg:this.props.focusSmbg,unfocusSmbg:this.props.unfocusSmbg,grouped:this.props.smbgGrouped,key:"smbgDaysContainer",lines:this.props.smbgLines,onSelectDate:this.props.onSelectDate,smbgOpts:this.props.smbgOpts,someSmbgDataIsFocused:null!==this.props.focusedSmbg,tooltipLeftThreshold:this.props.tooltipLeftThreshold,xScale:this.props.xScale,yScale:this.props.yScale}),t=this.props.focusedSmbg?d.default.createElement(b.default,{anSmbgRangeAvgIsFocused:!1,bgBounds:this.props.bgPrefs.bgBounds,bgUnits:this.props.bgPrefs.bgUnits,data:this.props.focusedSmbg.allSmbgsOnDate,dates:[this.props.focusedSmbg.date],focusSmbg:this.props.focusSmbg,unfocusSmbg:this.props.unfocusSmbg,focusedSmbg:this.props.focusedSmbg,grouped:this.props.smbgGrouped,key:"focusedSmbgDayContainer",lines:this.props.smbgLines,nonInteractive:!0,onSelectDate:this.props.onSelectDate,smbgOpts:this.props.smbgOpts,someSmbgDataIsFocused:!1,tooltipLeftThreshold:this.props.tooltipLeftThreshold,xScale:this.props.xScale,yScale:this.props.yScale}):null;return d.default.createElement("g",{id:"smbgTrends"},this.renderOverlay(v.default,"SMBGRangeContainer"),e,this.renderOverlay(E.default,"SMBGMeanContainer"),t)}return null}},{key:"render",value:function(){var e=this.state.size,t=e.width,n=e.height;return d.default.createElement("div",null,d.default.createElement("svg",{height:n,width:"100%"},d.default.createElement(p.default,{linesAtThreeHrs:!0,margins:this.props.margins,smbgOpts:this.props.smbgOpts,svgDimensions:{height:n,width:t},xScale:this.props.xScale}),d.default.createElement(T.default,{margins:this.props.margins,useRangeLabels:!1,xScale:this.props.xScale}),d.default.createElement(S.default,{margins:this.props.margins,xScale:this.props.xScale}),d.default.createElement(x.default,{bgPrefs:this.props.bgPrefs,bgUnits:this.props.bgUnits,margins:this.props.margins,yScale:this.props.yScale}),this.renderCbg(),this.renderSmbg(),d.default.createElement(B.default,{bgBounds:this.props.bgPrefs.bgBounds,smbgOpts:this.props.smbgOpts,xScale:this.props.xScale,yScale:this.props.yScale}),this.renderNoDataMessage(this.props.showingCbg?"cbg":"smbg")))}}]),n}(d.PureComponent);w.defaultProps={margins:{top:30,right:10,bottom:10,left:40},smbgOpts:{maxR:7.5,r:6},tooltipLeftThreshold:6*f.THREE_HRS},t.default=(0,u.default)({monitorHeight:!0})(w)},59816:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(27825)),o=n(17897),i=a(n(82015)),s=n(74501),l=a(n(12970)),d=function(e){var t=e.data,n=e.margins,a=e.xOffset,o=e.xScale,d=e.yOffset,u=n.top-d;return i.default.createElement("g",{id:"xAxisLabels"},r.default.map(t,(function(e){var t=(0,s.formatClocktimeFromMsPer24)(e,"h a");return i.default.createElement("text",{className:l.default.text,key:e,x:o(e)+a,y:u},t)})))};d.defaultProps={data:r.default.map((0,o.range)(0,8),(function(e){return e*s.THREE_HRS})),xOffset:5,yOffset:5},t.default=d},58385:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27825)),i=n(17897),s=r(n(82015)),l=a(n(74501)),d=r(n(21753)),u=function(e){var t=e.data,n=e.margins,a=e.tickLength,r=e.xScale;return s.default.createElement("g",{id:"xAxisTicks"},o.default.map(t,(function(e){return s.default.createElement("line",{className:d.default.tick,key:e,x1:r(e),x2:r(e),y1:n.top,y2:n.top-a})})))};u.defaultProps={data:o.default.map((0,i.range)(0,9),(function(e){return e*l.THREE_HRS})),tickLength:15},t.default=u},21774:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(27825)),o=a(n(82015)),i=(n(66871),n(99559)),s=a(n(32768)),l=["targetLowerBound","targetUpperBound","veryHighThreshold","veryLowThreshold"],d=function(e){var t=e.bgPrefs,n=e.margins,a=e.textToTickGap,d=e.tickWidth,u=e.yScale,c=t.bgBounds,f=r.default.filter(l,(function(e){return!!c[e]}));return o.default.createElement("g",{id:"yAxisLabels"},r.default.map(f,(function(e){return o.default.createElement("g",{id:"yAxisLabel",key:e},o.default.createElement("text",{className:s.default.text,x:n.left-d-a,y:u(c[e])},(0,i.formatBgValue)(c[e],t)),o.default.createElement("line",{className:s.default.tick,x1:n.left-d,x2:n.left,y1:u(c[e]),y2:u(c[e])}))})))};d.defaultProps={textToTickGap:2,tickWidth:8},t.default=d},98823:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015));t.default=function(e){return function(t){var n=t.bgBounds,a=n.targetLowerBound,o=n.targetUpperBound,i=(0,t.yScale)(o-(o-a)/2);return r.default.createElement(e,Object.assign({defaultY:i},t))}}},51530:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(27825)),i=a(n(56607)),s=a(n(78572)),l=(n(66871),n(99559)),d=n(84240),u=n(74501),c=a(n(81508));t.default=function(e){if(!e.focusedPoint)return null;var t=e.bgPrefs,n=e.focusedPoint,a=n.datum,f=n.position,A=n.allSmbgsOnDate,p=n.allPositions,g=e.timePrefs,m=e.lines,h=(0,u.formatLocalizedFromUTC)(a.normalTime,g),b=(0,u.formatLocalizedFromUTC)(a.normalTime,g,"MMM D"),y=f.tooltipLeft?"left":"right",v=A.slice(),E=p.slice();if(!m){var C=o.default.findIndex(A,(function(e){return e.value===a.value}));o.default.pullAt(v,C),o.default.pullAt(E,C)}var B,T=o.default.map(v,(function(e,n){return r.default.createElement(i.default,{key:n,content:r.default.createElement("span",{className:c.default.number},(0,l.formatBgValue)(e.value,t,(0,d.getOutOfRangeThreshold)(e))),position:E[n],side:"bottom",tail:!1,offset:{top:10,left:0}})}));return B=m?r.default.createElement(i.default,{title:r.default.createElement("span",{className:c.default.explainerText},h),position:f,side:y,offset:{top:10,horizontal:30}}):r.default.createElement(s.default,{title:r.default.createElement("span",{className:c.default.tipWrapper},r.default.createElement("span",{className:c.default.dateTime},"".concat(b,", ").concat((0,u.formatClocktimeFromMsPer24)(a.msPer24)))),position:f,side:y,offset:{top:0,horizontal:10},smbg:a,bgPrefs:t,timePrefs:g}),r.default.createElement("div",{className:c.default.container},T,B)}},8002:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SMBGDateLineAnimated=void 0;var o=r(n(271)),i=r(n(46721)),s=r(n(4841)),l=r(n(83581)),d=r(n(54013)),u=r(n(53671)),c=a(n(82015)),f=n(94568),A=n(4485),p=r(n(27825)),g=r(n(3892)),m=n(66871),h=n(74501),b=n(84240),y=r(n(72380)),v=t.SMBGDateLineAnimated=function(e){(0,d.default)(n,e);var t=(0,u.default)(n);function n(e){var a;return(0,i.default)(this,n),(a=t.call(this,e)).getDefaultPoints=a.getDefaultPoints.bind((0,l.default)(a)),a.getPoints=a.getPoints.bind((0,l.default)(a)),a.getPositions=a.getPositions.bind((0,l.default)(a)),a.handleClick=a.handleClick.bind((0,l.default)(a)),a.handleMouseOut=a.handleMouseOut.bind((0,l.default)(a)),a.handleMouseOver=a.handleMouseOver.bind((0,l.default)(a)),a.willEnter=a.willEnter.bind((0,l.default)(a)),a.willLeave=a.willLeave.bind((0,l.default)(a)),a}return(0,s.default)(n,[{key:"getDefaultPoints",value:function(){var e=this,t=this.props,n=t.data,a=t.grouped,r=t.xScale,o=t.yScale,i=[];return p.default.map(n,(function(t){i.push({key:t.id,style:{opacity:0,x:r(e.getXPosition(t.msPer24,a)),y:o(t.value)}})})),i}},{key:"getPoints",value:function(){var e=this,t=this.props,n=t.data,a=t.grouped,r=t.xScale,o=t.yScale,i=[];return p.default.map(n,(function(t){i.push({key:t.id,style:{opacity:(0,f.spring)(1,m.springConfig),x:(0,f.spring)(r(e.getXPosition(t.msPer24,a)),m.springConfig),y:(0,f.spring)(o(t.value),m.springConfig)}})})),i}},{key:"getPositions",value:function(){var e=this,t=this.props,n=t.data,a=t.grouped,r=t.tooltipLeftThreshold,o=t.xScale,i=t.yScale;return p.default.map(n,(function(t){return{tooltipLeft:t.msPer24>r,left:o(e.getXPosition(t.msPer24,a)),top:i(t.value)}}))}},{key:"getXPosition",value:function(e,t){return t?(0,b.findBinForTimeOfDay)(h.THREE_HRS,e):e}},{key:"handleClick",value:function(){var e=this.props,t=e.date;(0,e.onSelectDate)(t)}},{key:"handleMouseOut",value:function(){(0,this.props.unfocusSmbg)()}},{key:"handleMouseOver",value:function(){var e=this.props,t=e.data,n=e.date,a=e.focusSmbg,r=this.getPositions();a(t[0],r[0],t,r,n)}},{key:"willEnter",value:function(e){var t=e.style;return{opacity:0,x:p.default.get(t,["x","val"],t.x),y:p.default.get(t,["y","val"],t.y)}}},{key:"willLeave",value:function(e){var t=e.style;return{opacity:(0,f.spring)(0,m.springConfig),x:(0,f.spring)(p.default.get(t,["x","val"],t.x),m.springConfig),y:(0,f.spring)(p.default.get(t,["y","val"],t.y),m.springConfig)}}},{key:"render",value:function(){var e,t=this,n=this.props,a=n.data,r=n.date,i=n.focusedDay,s=n.nonInteractive,l=(0,g.default)((e={},(0,o.default)(e,y.default.smbgPath,!0),(0,o.default)(e,y.default.highlightPath,i===r),e));return c.default.createElement("g",{id:"smbgDateLine-".concat(r)},c.default.createElement(f.TransitionMotion,{defaultStyles:this.getDefaultPoints(a),styles:this.getPoints(a),willEnter:this.willEnter,willLeave:this.willLeave},(function(e){return 0===e.length?null:c.default.createElement("path",{d:(0,A.line)()(p.default.map(p.default.map(e,"style"),(function(e){return[p.default.get(e,["x","val"],e.x),p.default.get(e,["y","val"],e.y)]}))),className:l,onMouseOver:t.handleMouseOver,onMouseOut:t.handleMouseOut,onClick:t.handleClick,pointerEvents:s?"none":"stroke",strokeOpacity:p.default.get(e[0],["style","opacity"])})})))}}]),n}(c.PureComponent);t.default=v},4435:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SMBGDatePointsAnimated=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(83581)),l=r(n(54013)),d=r(n(53671)),u=a(n(82015)),c=n(94568),f=r(n(27825)),A=n(84240),p=n(66871),g=n(74501),m=r(n(97579)),h=t.SMBGDatePointsAnimated=function(e){(0,l.default)(n,e);var t=(0,d.default)(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).getPositions=a.getPositions.bind((0,s.default)(a)),a.getXPosition=a.getXPosition.bind((0,s.default)(a)),a.handleClick=a.handleClick.bind((0,s.default)(a)),a.handleMouseOut=a.handleMouseOut.bind((0,s.default)(a)),a.willEnter=a.willEnter.bind((0,s.default)(a)),a.willLeave=a.willLeave.bind((0,s.default)(a)),a}return(0,i.default)(n,[{key:"getPositions",value:function(){var e=this,t=this.props,n=t.data,a=t.tooltipLeftThreshold,r=t.yScale;return f.default.map(n,(function(t){return{left:e.getXPosition(t.msPer24),top:r(t.value),tooltipLeft:t.msPer24>a}}))}},{key:"getXPosition",value:function(e){var t=this.props,n=t.grouped;return(0,t.xScale)(n?(0,A.findBinForTimeOfDay)(g.THREE_HRS,e):e)}},{key:"handleClick",value:function(){var e=this.props,t=e.date;(0,e.onSelectDate)(t)}},{key:"handleMouseOut",value:function(){(0,this.props.unfocusSmbg)()}},{key:"willEnter",value:function(e){var t=e.data;return{cx:(0,this.props.xScale)(t.smbg.msPer24),opacity:.5,r:0}}},{key:"willLeave",value:function(e){var t=e.data,n=this.props,a=n.anSmbgRangeAvgIsFocused,r=n.someSmbgDataIsFocused,o=n.xScale;return{cx:(0,c.spring)(o(t.smbg.msPer24),p.springConfig),opacity:a||r?(0,c.spring)(.35,p.springConfig):(0,c.spring)(.8,p.springConfig),r:(0,c.spring)(0,p.springConfig)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.anSmbgRangeAvgIsFocused,a=t.bgBounds,r=t.bgUnits,o=t.data,i=t.date,s=t.focusSmbg,l=t.isFocused,d=t.nonInteractive,g=t.smbgOpts,h=t.someSmbgDataIsFocused,b=l?g.maxR:g.r,y=this.getPositions();return u.default.createElement(c.TransitionMotion,{defaultStyles:o.length||!d?f.default.map(o,(function(e,t){var n=y[t];return{key:e.id,style:{cx:n.left,opacity:.5,r:0}}})):[],styles:o.length?f.default.map(o,(function(e,t){var o=y[t];return{key:e.id,data:{classes:m.default[(0,A.classifyBgValue)(a,r,e.value,"fiveWay")],position:o,smbg:e},style:{cx:(0,c.spring)(o.left,p.springConfig),opacity:n||h?(0,c.spring)(.35,p.springConfig):(0,c.spring)(.8,p.springConfig),r:(0,c.spring)(b,p.springConfig)}}})):[],willEnter:this.willEnter,willLeave:this.willLeave},(function(t){return 0===t.length?null:u.default.createElement("g",{id:"smbgDatePoints-".concat(i)},f.default.map(t,(function(t){var n=t.key,a=t.style;return u.default.createElement("circle",{className:t.data.classes,id:"smbg-".concat(n),key:n,onMouseOver:function(){return s(t.data.smbg,t.data.position,o,y,i)},onMouseOut:e.handleMouseOut,onClick:e.handleClick,cx:a.cx,cy:t.data.position.top,r:a.r,fillOpacity:a.opacity,pointerEvents:d?"none":"all"})})))}))}}]),n}(u.PureComponent);t.default=h},76400:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SMBGMean=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(83581)),l=r(n(54013)),d=r(n(53671)),u=a(n(82015)),c=t.SMBGMean=function(e){(0,l.default)(n,e);var t=(0,d.default)(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).handleMouseOut=a.handleMouseOut.bind((0,s.default)(a)),a.handleMouseOver=a.handleMouseOver.bind((0,s.default)(a)),a}return(0,i.default)(n,[{key:"handleMouseOut",value:function(){(0,this.props.unfocusRange)()}},{key:"handleMouseOver",value:function(){var e=this.props,t=e.datum;(0,e.focusRange)(t,e.positionData)}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.interpolated,a=n.key,r=n.style,o=e.width,i=e.x;return u.default.createElement("rect",{className:t,id:"smbgRange-".concat(a),onMouseOver:this.handleMouseOver,onMouseOut:this.handleMouseOut,x:i,y:r.y,width:o,height:r.height,opacity:r.opacity})}}]),n}(u.PureComponent);t.default=c},77865:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SMBGMeanAnimated=void 0;var o=r(n(271)),i=r(n(46721)),s=r(n(4841)),l=r(n(83581)),d=r(n(54013)),u=r(n(53671)),c=r(n(3892)),f=a(n(82015)),A=n(94568),p=n(84240),g=n(66871),m=r(n(98823)),h=r(n(76400)),b=r(n(61905)),y=t.SMBGMeanAnimated=function(e){(0,d.default)(n,e);var t=(0,u.default)(n);function n(e){var a;return(0,i.default)(this,n),(a=t.call(this,e)).willEnter=a.willEnter.bind((0,l.default)(a)),a.willLeave=a.willLeave.bind((0,l.default)(a)),a}return(0,s.default)(n,[{key:"willEnter",value:function(){return{y:this.props.defaultY,height:0,opacity:0}}},{key:"willLeave",value:function(){var e=this.props,t=e.defaultY,n=e.meanHeight,a=(0,A.spring)(0,g.springConfig);return{y:(0,A.spring)(t,g.springConfig),height:(0,A.spring)(n,g.springConfig),opacity:a}}},{key:"render",value:function(){var e,t,n=this,a=this.props,r=a.bgBounds,i=a.bgUnits,s=a.datum,l=a.defaultY,d=a.meanHeight,u=a.someSmbgDataIsFocused,m=a.width,y=a.xScale,v=a.yScale,E=y(s.msX),C={min:v(s.min),mean:v(s.mean),max:v(s.max)},B=s.mean?(0,c.default)((e={},(0,o.default)(e,b.default.smbgMean,!0),(0,o.default)(e,b.default["".concat((0,p.classifyBgValue)(r,i,s.mean,"fiveWay"),"FadeIn")],!u),(0,o.default)(e,b.default["".concat((0,p.classifyBgValue)(r,i,s.mean,"fiveWay"),"FadeOut")],u),e)):(0,c.default)((t={},(0,o.default)(t,b.default.smbgMean,!0),(0,o.default)(t,b.default.transparent,!0),t)),T=y(s.msX)-m/2+b.default.stroke/2,S=m-b.default.stroke;return f.default.createElement(A.TransitionMotion,{defaultStyles:[{key:s.id,style:{y:l,height:0,opacity:0}}],styles:s.min?[{key:s.id,style:{y:(0,A.spring)(C.mean-d/2,g.springConfig),height:(0,A.spring)(d,g.springConfig),opacity:(0,A.spring)(1,g.springConfig)}}]:[],willEnter:this.willEnter,willLeave:this.willLeave},(function(e){return 0===e.length?null:f.default.createElement(h.default,{classes:B,datum:s,focusRange:n.props.focusSmbgRange,unfocusRange:n.props.unfocusSmbgRange,interpolated:e[0],positionData:{left:E,tooltipLeft:s.msX>n.props.tooltipLeftThreshold,yPositions:C},width:S,x:T})}))}}]),n}(f.PureComponent);y.defaultProps={meanHeight:10,meanWidth:108},t.default=(0,m.default)(y)},20512:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SMBGRange=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(83581)),l=r(n(54013)),d=r(n(53671)),u=a(n(82015)),c=t.SMBGRange=function(e){(0,l.default)(n,e);var t=(0,d.default)(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).handleMouseOut=a.handleMouseOut.bind((0,s.default)(a)),a.handleMouseOver=a.handleMouseOver.bind((0,s.default)(a)),a}return(0,i.default)(n,[{key:"handleMouseOut",value:function(){(0,this.props.unfocusRange)()}},{key:"handleMouseOver",value:function(){var e=this.props,t=e.datum;(0,e.focusRange)(t,e.positionData)}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.interpolated,a=n.key,r=n.style,o=e.positionData,i=e.rectWidth;return u.default.createElement("rect",{className:t,id:"smbgRange-".concat(a),onMouseOver:this.handleMouseOver,onMouseOut:this.handleMouseOut,x:o.left-i/2,y:r.y,width:i,height:r.height,opacity:r.opacity})}}]),n}(u.PureComponent);c.defaultProps={rectWidth:108},t.default=c},13433:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SMBGRangeAnimated=void 0;var o=r(n(271)),i=r(n(46721)),s=r(n(4841)),l=r(n(83581)),d=r(n(54013)),u=r(n(53671)),c=r(n(3892)),f=a(n(82015)),A=n(94568),p=n(66871),g=r(n(98823)),m=r(n(20512)),h=r(n(705)),b=t.SMBGRangeAnimated=function(e){(0,d.default)(n,e);var t=(0,u.default)(n);function n(e){var a;return(0,i.default)(this,n),(a=t.call(this,e)).willEnter=a.willEnter.bind((0,l.default)(a)),a.willLeave=a.willLeave.bind((0,l.default)(a)),a}return(0,s.default)(n,[{key:"willEnter",value:function(){return{y:this.props.defaultY,height:0,opacity:0}}},{key:"willLeave",value:function(){var e=this.props.defaultY,t=(0,A.spring)(0,p.springConfig);return{y:(0,A.spring)(e,p.springConfig),height:t,opacity:t}}},{key:"render",value:function(){var e,t=this,n=this.props,a=n.datum,r=n.defaultY,i=n.someSmbgDataIsFocused,s=n.width,l=n.xScale,d=n.yScale,u=l(a.msX),g={min:d(a.min),mean:d(a.mean),max:d(a.max)},b=(0,c.default)((e={},(0,o.default)(e,h.default.smbgRange,!0),(0,o.default)(e,h.default.fadeIn,!i),(0,o.default)(e,h.default.fadeOut,i),e));return f.default.createElement(A.TransitionMotion,{defaultStyles:[{key:a.id,style:{y:r,height:0,opacity:0}}],styles:a.min?[{key:a.id,style:{y:(0,A.spring)(g.max,p.springConfig),height:(0,A.spring)(g.min-g.max,p.springConfig),opacity:(0,A.spring)(1,p.springConfig)}}]:[],willEnter:this.willEnter,willLeave:this.willLeave},(function(e){return 0===e.length?null:f.default.createElement(m.default,{classes:b,datum:a,focusRange:t.props.focusSmbgRange,unfocusRange:t.props.unfocusSmbgRange,interpolated:e[0],positionData:{left:u,tooltipLeft:a.msX>t.props.tooltipLeftThreshold,yPositions:g},rectWidth:s})}))}}]),n}(f.PureComponent);b.defaultProps={width:108},t.default=(0,g.default)(b)},83671:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(46721)),i=r(n(4841)),s=r(n(54013)),l=r(n(53671)),d=r(n(27825)),u=a(n(82015)),c=n(74501),f=n(84240);(t.default=function(e){(0,s.default)(n,e);var t=(0,l.default)(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,i.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){var e=this.props,t=e.binSize,n=e.data;this.setState({mungedData:(0,f.mungeBGDataBins)("smbg",t,n)})}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.binSize,n=e.data;t===this.props.binSize&&n===this.props.data||this.setState({mungedData:(0,f.mungeBGDataBins)("smbg",t,n)})}},{key:"render",value:function(){var e=this,t=this.state.mungedData,n=this.props,a=n.smbgComponent,r=n.width;return u.default.createElement("g",{className:"smbgAggContainer"},d.default.map(t,(function(t){return u.default.createElement(a,{bgBounds:e.props.bgBounds,bgUnits:e.props.bgUnits,datum:t,focusSmbgRange:e.props.focusSmbgRange,unfocusSmbgRange:e.props.unfocusSmbgRange,key:t.id,someSmbgDataIsFocused:e.props.someSmbgDataIsFocused,tooltipLeftThreshold:e.props.tooltipLeftThreshold,xScale:e.props.xScale,yScale:e.props.yScale,width:r})})))}}]),n}(u.PureComponent)).defaultProps={binSize:c.THREE_HRS,width:108}},93046:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(82015)),o=a(n(27825)),i=a(n(4435)),s=a(n(8002));t.default=function(e){var t=e.data;if(!t)return null;var n,a=e.anSmbgRangeAvgIsFocused,l=e.bgBounds,d=e.bgUnits,u=e.dates,c=e.focusSmbg,f=e.unfocusSmbg,A=e.focusedSmbg,p=e.grouped,g=e.lines,m=e.nonInteractive,h=e.onSelectDate,b=e.smbgOpts,y=e.someSmbgDataIsFocused,v=e.tooltipLeftThreshold,E=e.xScale,C=e.yScale,B=A?A.date:"",T=o.default.groupBy(t,"localDate");return o.default.each(u,(function(e){T[e]||(T[e]=[])})),r.default.createElement("g",{id:"smbgsByDateContainer"},(n=[],o.default.each(T,(function(e,t){var a=g?e:[];n.push(r.default.createElement(s.default,{bgBounds:l,data:a,date:t,focusSmbg:c,unfocusSmbg:f,focusedDay:B,grouped:p,key:t,onSelectDate:h,nonInteractive:m,tooltipLeftThreshold:v,xScale:E,yScale:C}))})),B&&n.push(r.default.createElement(s.default,{bgBounds:l,data:A.allSmbgsOnDate,date:B,focusSmbg:c,unfocusSmbg:f,key:"".concat(B,"-focused"),focusedDay:B,grouped:p,onSelectDate:h,nonInteractive:m,tooltipLeftThreshold:v,xScale:E,yScale:C})),n),o.default.map(T,(function(e,t){return r.default.createElement(i.default,{anSmbgRangeAvgIsFocused:a,bgBounds:l,bgUnits:d,data:e,date:t,focusSmbg:c,unfocusSmbg:f,grouped:p,isFocused:B===t,key:t,nonInteractive:m,onSelectDate:h,smbgOpts:b,someSmbgDataIsFocused:y,tooltipLeftThreshold:v,xScale:E,yScale:C})})))}},79947:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.text=t.fontSizes=t.default=t.colors=t.AGP_UPPER_QUANTILE=t.AGP_TIR_MIN_TARGET_HEIGHT=t.AGP_TIR_MIN_HEIGHT=t.AGP_SECTION_HEADER_HEIGHT=t.AGP_SECTION_DESCRIPTION_HEIGHT=t.AGP_SECTION_BORDER_RADIUS=t.AGP_LOWER_QUANTILE=t.AGP_FOOTER_Y_PADDING=t.AGP_FONT_FAMILY=t.AGP_BG_CLAMP_MMOLL=t.AGP_BG_CLAMP_MGDL=void 0;var r,o,i,s,l,d,u,c,f,A=a(n(271)),p=a(n(27825)),g=a(n(56427)),m=n(56765),h=n(66871),b=g.default.t.bind(g.default);void 0===p.default.get(g.default,"options.returnEmptyString")&&g.default.init({returnEmptyString:!1,nsSeparator:"|"}),t.AGP_BG_CLAMP_MGDL=350,t.AGP_BG_CLAMP_MMOLL=19.4,t.AGP_FOOTER_Y_PADDING=.25*m.DPI,t.AGP_TIR_MIN_HEIGHT=6,t.AGP_TIR_MIN_TARGET_HEIGHT=12,t.AGP_SECTION_BORDER_RADIUS=8,t.AGP_SECTION_HEADER_HEIGHT=.25*m.DPI,t.AGP_SECTION_DESCRIPTION_HEIGHT=.25*m.DPI,t.AGP_LOWER_QUANTILE=.05,t.AGP_UPPER_QUANTILE=.95,t.AGP_FONT_FAMILY="Helvetica, Arial, Sans-Serif";var y=t.text={reportHeader:b("AGP Report:"),reportSubHeader:(r={},(0,A.default)(r,h.CGM_DATA_KEY,b("Continuous Glucose Monitoring")),(0,A.default)(r,h.BGM_DATA_KEY,b("Blood Glucose Monitoring")),r),reportFooter:b("Patent pending – HealthPartners Institute dba International Diabetes Center – All Rights Reserved. ©2022"),reportInsuffienctData:b("Insufficient data to generate an AGP Report."),percentInRanges:{title:(o={},(0,A.default)(o,h.CGM_DATA_KEY,b("Time in Ranges")),(0,A.default)(o,h.BGM_DATA_KEY,b("Percent BGM Readings")),o),subtitle:(l={},(0,A.default)(l,h.CGM_DATA_KEY,(i={},(0,A.default)(i,h.GLYCEMIC_RANGES_PRESET.ADA_STANDARD,b("Goals for Type 1 and Type 2 Diabetes")),(0,A.default)(i,h.GLYCEMIC_RANGES_PRESET.ADA_OLDER_HIGH_RISK,b("Goals for Older/High Risk (Type 1 and 2)")),(0,A.default)(i,h.GLYCEMIC_RANGES_PRESET.ADA_PREGNANCY_T1,b("Goals for Pregnancy (Type 1)")),(0,A.default)(i,h.GLYCEMIC_RANGES_PRESET.ADA_GESTATIONAL_T2,b("Goals for Pregnancy (Gestational and Type 2)")),(0,A.default)(i,"PWD_SELF_DEFINED",""),i)),(0,A.default)(l,h.BGM_DATA_KEY,(s={},(0,A.default)(s,h.GLYCEMIC_RANGES_PRESET.ADA_STANDARD,""),(0,A.default)(s,h.GLYCEMIC_RANGES_PRESET.ADA_OLDER_HIGH_RISK,b("Older/High Risk")),(0,A.default)(s,h.GLYCEMIC_RANGES_PRESET.ADA_PREGNANCY_T1,b("Pregnancy")),(0,A.default)(s,h.GLYCEMIC_RANGES_PRESET.ADA_GESTATIONAL_T2,b("Pregnancy")),(0,A.default)(s,"PWD_SELF_DEFINED",""),s)),l)},reportInfo:{dob:b("DOB:"),mrn:b("MRN:")},glucoseMetrics:(d={},(0,A.default)(d,h.CGM_DATA_KEY,{title:b("Glucose metrics"),averageGlucose:{label:b("Average Glucose"),goal:{mgdl:b("Goal: <154 mg/dL"),mmoll:b("Goal: <8.6 mmol/L")}},coefficientOfVariation:{label:b("Glucose Variability"),subLabel:b("Defined as percent coefficient of variation"),goal:b("Goal: <=36%")},glucoseManagementIndicator:{label:b("Glucose Management Indicator (GMI)"),goal:b("Goal: <7%")}}),(0,A.default)(d,h.BGM_DATA_KEY,{title:b("BGM Statistics"),averageGlucose:{label:b("Average Glucose")},bgExtents:{label:b("Lowest/Highest Glucose")},coefficientOfVariation:{label:b("Glucose Variability"),subLabel:b("Defined as percent coefficient of variation"),goal:b("Goal: <=36%")},dailyReadingsInRange:{label:b("Average Readings/Day")},readingsInRange:{label:b("Number of Readings")}}),d),ambulatoryGlucoseProfile:(u={},(0,A.default)(u,h.CGM_DATA_KEY,{title:b("Ambulatory Glucose Profile (AGP)"),description:b("AGP is a summary of glucose values from the report period, with median (50%) and other percentiles shown as if they occurred in a single day."),targetRange:b("Target<br>Range"),insufficientData:b("Insufficient CGM data to generate AGP graph")}),(0,A.default)(u,h.BGM_DATA_KEY,{title:b("Ambulatory Glucose Profile (AGP)"),insufficientDataTitle:b("Modal Day BGM Values Graph"),description:b("AGP is a summary of glucose values from the report period, with median (50%) and other percentiles shown as if they occurred in a single day."),targetRange:b("Target<br>Range"),insufficientData:b("Insufficient glucose data to generate AGP")}),u),dailyGlucoseProfiles:(c={},(0,A.default)(c,h.CGM_DATA_KEY,{title:b("Daily Glucose Profiles"),description:b("Each daily profile represents a midnight-to-midnight period.")}),(0,A.default)(c,h.BGM_DATA_KEY,{title:b("Daily Glucose Profiles"),description:b("Each daily profile represents a midnight-to-midnight period. The more readings available throughout the day, the more opportunities for improvement.")}),c),bgRanges:{veryHigh:b("Very High"),high:b("High"),target:b("Target"),low:b("Low"),veryLow:b("Very Low")},goals:(f={},(0,A.default)(f,h.GLYCEMIC_RANGES_PRESET.ADA_STANDARD,{veryHigh:b("Goal: <5%"),highCombined:b("Goal: <25%"),target:b("Goal: >70%"),lowCombined:b("Goal: <4%"),veryLow:b("Goal: <1%")}),(0,A.default)(f,h.GLYCEMIC_RANGES_PRESET.ADA_OLDER_HIGH_RISK,{veryHigh:b("Goal: <10%"),highCombined:b("Goal: <50%"),target:b("Goal: >50%"),lowCombined:b("Goal: <1%")}),(0,A.default)(f,h.GLYCEMIC_RANGES_PRESET.ADA_PREGNANCY_T1,{highCombined:b("Goal: <25%"),target:b("Goal: >70%"),lowCombined:b("Goal: <4%"),veryLow:b("Goal: <1%")}),(0,A.default)(f,h.GLYCEMIC_RANGES_PRESET.ADA_GESTATIONAL_T2,{highCombined:b("Goal: n/a"),target:b("Goal: n/a"),lowCombined:b("Goal: n/a"),veryLow:b("Goal: n/a")}),(0,A.default)(f,"PWD_SELF_DEFINED",{veryHigh:b("Goal: n/a"),highCombined:b("Goal: n/a"),target:b("Goal: n/a"),lowCombined:b("Goal: n/a"),veryLow:b("Goal: n/a")}),f),subLabels:{TIRtarget:b("Each 5% increase is clinically beneficial"),TIRminutes:b("Each 1% time in range = about 15 minutes")}},v=(t.fontSizes={reportHeader:14,reportSubHeader:14,reportFooter:7,reportInfo:{default:10,label:8},section:{title:9,subtitle:8,description:7,insufficientData:7},percentInRanges:{values:9,ticks:7,summaries:12,goals:7,subLabels:7},glucoseMetrics:{values:12,bgUnits:8,labels:9,subLabels:8,subStats:8,goals:8},ambulatoryGlucoseProfile:{hourlyTicks:7,bgTicks:9,percentileTicks:8,bgUnits:7,targetRange:9},dailyGlucoseProfiles:{bgTicks:7,bgUnits:7,timeTicks:7,weekdayTicks:8,calendarDates:8}},"#000000"),E="#FFFFFF",C="#D9D9D9",B="#7A7A7A",T="#626267",S=t.colors={text:{reportHeader:"#522398",label:T,reportFooter:v,section:{title:v,subtitle:T,description:v,insufficientData:v},reportInfo:v,calendarDates:T,goals:{veryHigh:T,highCombined:B,target:B,lowCombined:B,veryLow:T,glucoseMetrics:T},subLabels:{TIRtarget:T,TIRminutes:v,glucoseMetrics:T},subStats:{glucoseMetrics:v},ticks:{bg:T,dailyProfileBg:v,hour:T,percentile:T}},line:{default:T,ticks:C,range:{target:"#00AA51",dailyProfileTarget:v,default:C,divider:E}},white:E,black:v,lightGrey:C,mediumGrey:B,darkGrey:T,background:{shaded:C},bgRange:{veryLow:"#CC0019",low:"#FF0000",lowShaded:"#FF8080",target:"#0BAD5A",high:"#FFBF00",highShaded:"#FFD180",veryHigh:"#FF6900",empty:T},bgReadings:{veryLow:"#A30014",low:"#F20000",target:"#14B85C",high:"#FFA600",veryHigh:"#FF6900"},ambulatoryGlucoseProfile:{median:{veryLow:"#A30014",low:"#FF0000",target:"#00AA51",high:"#FFA600",veryHigh:"#FF7538"},interQuartile:{veryLow:"#A30014",low:"#FF0000",target:"#8BCD9E",high:"#FFC966",veryHigh:"#FFB380"},outerQuantile:{veryLow:"#A30014",low:"#FF8080",target:"#BEE1C6",high:"#FFE6B3",veryHigh:"#FFD9BF"}},dailyGlucoseProfiles:{low:{line:"#FF0000",fill:"#FF8080"},target:{line:"#00AA51",fill:C},high:{line:"#FFA600",fill:"#FFD180"}}};t.default={text:y,colors:S}},87307:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.pointsToPixels=t.pixelsToChartScale=t.generatePercentInRangesFigure=t.generateDailyGlucoseProfilesFigure=t.generateChartSections=t.generateAmbulatoryGlucoseProfileFigure=t.createAnnotation=t.chartScaleToPixels=t.calculateCGMDataSufficiency=t.calculateBGMDataSufficiency=t.boldText=void 0;var r=a(n(37055)),o=a(n(84374)),i=a(n(27825)),s=n(79947),l=n(56765),d=n(99559),u=n(74501),c=n(84240),f=n(85199),A=n(66871),p=a(n(74716)),g=t.boldText=function(e){return"<b>".concat(String(e),"</b>")},m=t.chartScaleToPixels=function(e,t){return t*e},h=t.pixelsToChartScale=function(e,t){return t/e},b=t.pointsToPixels=function(e){return.75*e},y=t.createAnnotation=function(e){return i.default.defaultsDeep(e,{arrowside:"none",font:{color:s.colors.black,family:s.AGP_FONT_FAMILY},showarrow:!1})},v=t.calculateCGMDataSufficiency=function(){var e,t,n,a,r,o,s,l,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},f=(null===(e=c.data)||void 0===e||null===(t=e.current)||void 0===t?void 0:t.aggregationsByDate).statsByDate,g=(null===(n=c.data)||void 0===n||null===(a=n.current)||void 0===a||null===(r=a.stats)||void 0===r?void 0:r.bgExtents)||{},m=g.newestDatum,h=g.bgDaysWorn,b=(null===(o=c.data)||void 0===o||null===(s=o.current)||void 0===s||null===(l=s.stats)||void 0===l?void 0:l.sensorUsage)||{},y=b.count,v=b.sampleInterval,E=b.sensorUsageAGP,C={ambulatoryGlucoseProfile:!0,dailyGlucoseProfiles:!0,glucoseMetrics:!0,percentInRanges:!0},B=y*v/A.MS_IN_HOUR;if(B<24)return{ambulatoryGlucoseProfile:!1,dailyGlucoseProfiles:!1,glucoseMetrics:!1,percentInRanges:!1};if(24===B){var T=E>=70;return{ambulatoryGlucoseProfile:!1,dailyGlucoseProfiles:T,glucoseMetrics:T,percentInRanges:T}}var S=i.default.map(i.default.range(i.default.max([h,7])),(function(e,t){return p.default.utc(m.time).tz((0,u.getTimezoneFromTimePrefs)(c.timePrefs)).subtract(t,"days").format("YYYY-MM-DD")})).reverse(),x=i.default.map(S,(function(e,t){var n,a,r=(null===(n=f[e])||void 0===n?void 0:n.sensorUsage)||{},o=r.count,i=r.sampleInterval,s=(null===(a=f[e])||void 0===a?void 0:a.bgExtents)||{},l=s.newestDatum,u=void 0===l?{}:l,c=s.oldestDatum,p=void 0===c?{}:c;if(!i||!o)return{sufficiencyMet:!1,sensorUsage:0};var g,m=A.MS_IN_HOUR/i;return{count:o,date:e,maxPossibleReadings:g=0===t?(0,d.bankersRound)((A.MS_IN_DAY-p.msPer24)/i):t===S.length-1?(0,d.bankersRound)(u.msPer24/i):(0,d.bankersRound)(A.MS_IN_DAY/i),sensorUsage:g>0?o/g*100:0,sufficiencyMet:o>=m}})),w=i.default.filter(x,{sufficiencyMet:!0}),I=i.default.slice(i.default.orderBy(w,["sensorUsage"],["desc"]),0,7);if(I.length<7)C.ambulatoryGlucoseProfile=!1;else{var L=i.default.meanBy(I,"sensorUsage");C.ambulatoryGlucoseProfile=L>=70}return C},E=t.calculateBGMDataSufficiency=function(){var e,t,n,a,r=(null===(e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).data)||void 0===e||null===(t=e.current)||void 0===t||null===(n=t.data)||void 0===n||null===(a=n.smbg)||void 0===a?void 0:a.length)||0;return{ambulatoryGlucoseProfile:r>=30,dailyGlucoseProfiles:r>0,glucoseMetrics:r>0,percentInRanges:r>0}};t.generateChartSections=function(e,t){var n,a=3.375*l.DPI,r=.75*l.DPI,o=l.MARGINS.left+l.WIDTH,i=l.MARGINS.top+l.HEIGHT-(.75*l.DPI-l.MARGINS.bottom),d=.25*l.DPI,u={},c=t===A.CGM_DATA_KEY?v(e):E(e),p=(0,f.getGlycemicRangesPreset)(null===(n=e.query)||void 0===n?void 0:n.glycemicRanges);u.percentInRanges={bgSource:t,x:l.MARGINS.left,y:r,width:3.875*l.DPI,height:3*l.DPI,bordered:!0,text:{title:s.text.percentInRanges.title[t],subtitle:s.text.percentInRanges.subtitle[t][p]},sufficientData:c.percentInRanges},u.reportInfo={bgSource:t,x:o-a,y:r,width:a,height:l.DPI*(t===A.CGM_DATA_KEY?.875:.55),text:s.text.reportInfo},u.glucoseMetrics={bgSource:t,x:o-a,y:u.reportInfo.y+u.reportInfo.height+d,width:a,height:l.DPI*(t===A.CGM_DATA_KEY?1.875:2.2),bordered:!0,text:s.text.glucoseMetrics[t],sufficientData:c.glucoseMetrics},u.ambulatoryGlucoseProfile={bgSource:t,x:l.MARGINS.left,y:4*l.DPI,width:l.WIDTH,height:3.5*l.DPI,bordered:!0,text:s.text.ambulatoryGlucoseProfile[t],sufficientData:c.ambulatoryGlucoseProfile};var g=2.25*l.DPI;return u.dailyGlucoseProfiles={bgSource:t,x:l.MARGINS.left,y:i-g-s.AGP_FOOTER_Y_PADDING,width:l.WIDTH,height:g,bordered:!0,text:s.text.dailyGlucoseProfiles[t],sufficientData:c.dailyGlucoseProfiles},u},t.generatePercentInRangesFigure=function(e,t,n,a){var u,c,p,m=e.width-2,b=e.height-2-.25*l.DPI-s.AGP_SECTION_BORDER_RADIUS,v=.5*l.DPI,E=.425*l.DPI,C=.3*l.DPI,B=m-2*v,T=b-(E+C),S=.35*l.DPI,x=h.bind(null,T),w=h.bind(null,B),I=i.default.isNumber(null==n||null===(u=n.bgBounds)||void 0===u?void 0:u.veryLowThreshold),L=i.default.isNumber(null==n||null===(c=n.bgBounds)||void 0===c?void 0:c.veryHighThreshold),D=i.default.get(t,"data.raw.counts.total",0);if(e.sufficientData){var k,O,N,P,R,M,_=i.default.get(t,"data.raw.counts",{}),F=i.default.filter([I&&{id:"veryLow",value:_.veryLow},{id:"low",value:_.low},{id:"target",value:_.target},{id:"high",value:_.high},L&&{id:"veryHigh",value:_.veryHigh}],Boolean),G=i.default.reduce(F,(function(e,t,n){var a=i.default.toNumber(t.value)/D*1,r="target"===t.id?s.AGP_TIR_MIN_TARGET_HEIGHT:s.AGP_TIR_MIN_HEIGHT,o=i.default.max([a,r/100]);return e.rawById[t.id]=a,e.raw.push(a),e.rendered.push(o),e.ticks.push((e.ticks[n-1]||0)+o),e}),{rawById:{},raw:[],rendered:[],ticks:[]}),j=1/i.default.last(G.ticks);G.rendered=i.default.map(G.rendered,(function(e){return e*j})),G.ticks=i.default.map(G.ticks,(function(e){return e*j}));var H=i.default.map(F,(function(e,n){return{x:[t.id],y:[G.rendered[n]],name:e.id,type:"bar",width:S/B*2,marker:{color:i.default.toNumber(e.value)>0?s.colors.bgRange[e.id]:s.colors.bgRange.empty,line:{color:s.colors.line.range.divider,width:2}}}})),U=(p=(0,o.default)(G.ticks),I||p.unshift(0),L||p.push(1),{veryLowThreshold:p[0],targetLowerBound:p[1],targetUpperBound:p[2],veryHighThreshold:p[3],max:p[4]}),Y=[I&&(null==n||null===(k=n.bgBounds)||void 0===k?void 0:k.veryLowThreshold),n.bgBounds.targetLowerBound,n.bgBounds.targetUpperBound,L&&(null==n||null===(O=n.bgBounds)||void 0===O?void 0:O.veryHighThreshold),null==n?void 0:n.bgUnits].filter(Boolean).map((function(e,t,a){return y({align:"right",font:{size:s.fontSizes.percentInRanges.ticks},text:t===a.length-1?g(e):g((0,d.formatBgValue)(e,n,void 0)),x:0,xanchor:"right",xshift:-2,y:t===a.length-1?U.targetLowerBound+(U.targetUpperBound-U.targetLowerBound)/2:G.ticks[t],yanchor:"middle"})})),z=function(e,t,n,a,r){var o=x(13);if(i.default.isNumber(r)){var l=x(24);return a-r<o&&(r=a-o),{posX:t,posX2:n,posY:a,posY2:r,subBracketXOffset:(n-t)/2,subBracketYOffset:i.default.min([(a-r)/2,l])}}if("TARGET"===e){var d=[x(s.AGP_TIR_MIN_TARGET_HEIGHT),1-x(s.AGP_TIR_MIN_TARGET_HEIGHT)];a<d[0]&&(a=d[0]),a>d[1]&&(a=d[1])}return{posX:t,posX2:n,posY:a}},W=function(e){var t=e.posX,n=e.posX2,a=e.posY,r=e.posY2,o=e.subBracketXOffset,s=e.subBracketYOffset;if(i.default.isNumber(r)){var l=w(5),d=x(5);return["M ".concat(t," ").concat(a),"H ".concat(t+o-l),"Q ".concat(t+o," ").concat(a," ").concat(t+o," ").concat(a-d),"V ".concat(r+d),"Q ".concat(t+o," ").concat(r," ").concat(t+o-l," ").concat(r),"H ".concat(t),"M ".concat(t+o," ").concat(r+s),"H ".concat(n)].join(" ")}return["M ".concat(t," ").concat(a),"H ".concat(n)].join(" ")},V={veryLow:x(-11),low:U.veryLowThreshold,target:U.targetLowerBound+(U.targetUpperBound-U.targetLowerBound)/2,high:U.targetUpperBound+(U.veryHighThreshold-U.targetUpperBound)/2,veryHigh:U.max},$=[w(S+5),w(B-S)],q={low:z.apply(void 0,["LOW"].concat($,I?[V.low,V.veryLow]:[V.low])),target:z.apply(void 0,["TARGET"].concat($,[V.target])),high:z.apply(void 0,["HIGH"].concat($,L?[V.veryHigh,V.high]:[V.high]))},Q=i.default.map(i.default.values(q),(function(e){return{type:"path",path:W(e),line:{color:s.colors.line.default,width:.5},yref:"paper"}})),K=function(e,t,n,a){var r=n>a,o=w(5),i=x(r?-5:5);return["M ".concat(e," ").concat(n),"V ".concat(a-i),"Q ".concat(e," ").concat(a," ").concat(e+o," ").concat(a),"H ".concat(t)].join(" ")},X=[0,q.low.posY2+x(6),1,q.high.posY+x(6)],Z=[w(S/2),w(S+2)],J=i.default.filter([I&&[].concat(Z,(0,o.default)(X.slice(0,2))),L&&[].concat(Z,(0,o.default)(X.slice(2)))],Boolean),ee=i.default.map(J,(function(e){return{type:"path",path:K.apply(void 0,(0,o.default)(e)),line:{color:s.colors.black,width:.5},yref:"paper"}})),te={veryLow:q.low.posY2,low:q.low.posY,target:q.target.posY,high:L?q.high.posY2:q.high.posY,veryHigh:q.high.posY},ne=i.default.filter([I&&"veryLow","low","target","high",L&&"veryHigh"],Boolean),ae=i.default.map(ne,(function(e){return y({align:"left",font:{size:s.fontSizes.percentInRanges.values},text:g(s.text.bgRanges[e]),x:$[0],xanchor:"left",xshift:-1,y:te[e],yanchor:"bottom",yref:"paper",yshift:-1})})),re=i.default.filter([I&&"veryLow",I&&"low",L&&"high",L&&"veryHigh"],Boolean),oe=i.default.map(re,(function(e){return y({align:"right",font:{size:s.fontSizes.percentInRanges.values},text:g((0,d.formatPercentage)(G.rawById[e],0,!0)),x:$[0]+($[1]-$[0])/2,xanchor:"right",xshift:-4,y:te[e],yanchor:"bottom",yref:"paper",yshift:-1})})),ie={low:I?q.low.posY2+q.low.subBracketYOffset:q.low.posY,target:q.target.posY,high:L?q.high.posY2+q.high.subBracketYOffset:q.high.posY},se={low:(G.rawById.veryLow||0)+G.rawById.low,target:G.rawById.target,high:(G.rawById.veryHigh||0)+G.rawById.high},le=i.default.map(["low","target","high"],(function(t){return y({align:"left",font:{size:s.fontSizes.percentInRanges.summaries},text:g((0,d.formatPercentage)(se[t],0,!0)),x:$[0]+($[1]-$[0])/2,xanchor:"left",xshift:e.bgSource===A.CGM_DATA_KEY?3:28,y:ie[t],yanchor:"bottom",yref:"paper",yshift:-2})})),de={veryLow:{x:$[0],xanchor:"left",xshift:-1,y:q.low.posY2,yshift:-11},lowCombined:{x:$[1],xanchor:"right",xshift:5,y:I?q.low.posY2+q.low.subBracketYOffset:q.low.posY,yshift:0},target:{x:$[1],xanchor:"right",xshift:5,y:q.target.posY,yshift:0},highCombined:{x:$[1],xanchor:"right",xshift:5,y:L?q.high.posY2+q.high.subBracketYOffset:q.high.posY,yshift:0},veryHigh:{x:$[0],xanchor:"left",xshift:-1,y:q.high.posY,yshift:9}},ue=(0,f.getGlycemicRangesPreset)(a),ce=ue!==A.GLYCEMIC_RANGES_PRESET.ADA_STANDARD||A.ADA_STANDARD_BG_BOUNDS[n.bgUnits||A.MGDL_UNITS].veryLowThreshold===(null===(N=n.bgBounds)||void 0===N?void 0:N.veryLowThreshold)&&A.ADA_STANDARD_BG_BOUNDS[n.bgUnits||A.MGDL_UNITS].targetLowerBound===(null===(P=n.bgBounds)||void 0===P?void 0:P.targetLowerBound)&&A.ADA_STANDARD_BG_BOUNDS[n.bgUnits||A.MGDL_UNITS].targetUpperBound===(null===(R=n.bgBounds)||void 0===R?void 0:R.targetUpperBound)&&A.ADA_STANDARD_BG_BOUNDS[n.bgUnits||A.MGDL_UNITS].veryHighThreshold===(null===(M=n.bgBounds)||void 0===M?void 0:M.veryHighThreshold)?ue:"PWD_SELF_DEFINED",fe=i.default.filter(["veryLow","lowCombined","target","highCombined","veryHigh"],(function(e){return!!s.text.goals[ce][e]})),Ae=i.default.map(fe,(function(e){return y((0,r.default)({align:"left",font:{color:s.colors.text.goals[e],size:s.fontSizes.percentInRanges.goals},text:s.text.goals[ce][e],yanchor:"bottom",yref:"paper"},de[e]))})),pe={TIRtarget:{x:w(B),xanchor:"right",xref:"paper",xshift:v-15,y:q.target.posY,yshift:-12},TIRminutes:{x:w(B),xanchor:"right",xref:"paper",xshift:v-7,y:I?q.low.posY2:q.low.posY-.05,yshift:-12}},ge=i.default.map(["TIRtarget","TIRminutes"],(function(e){return y((0,r.default)({align:"left",font:{color:s.colors.text.subLabels[e],size:s.fontSizes.percentInRanges.subLabels},text:s.text.subLabels[e],yanchor:"bottom",yref:"paper"},pe[e]))})),me={veryLow:[ae[0],oe[0],e.bgSource===A.CGM_DATA_KEY&&Ae[0]],low:[ae[1],oe[1]],lowSummary:[le[0],e.bgSource===A.CGM_DATA_KEY&&Ae[1]],target:[ae[2],le[1],e.bgSource===A.CGM_DATA_KEY&&Ae[2],e.bgSource===A.CGM_DATA_KEY&&ge[0]],high:[ae[3],oe[2]],veryHigh:[ae[4],oe[3],e.bgSource===A.CGM_DATA_KEY&&Ae[4]],highSummary:[le[2],e.bgSource===A.CGM_DATA_KEY&&Ae[3]]};return{data:H,layout:{barmode:"stack",width:m,height:b,showlegend:!1,margin:{l:v,r:v,b:C,t:E},xaxis:{range:[0,1],showgrid:!1,showline:!1,showticklabels:!1,zeroline:!1},yaxis:{range:[0,1],showgrid:!1,showline:!1,showticklabels:!1,zeroline:!1},annotations:[].concat((0,o.default)(Y),(0,o.default)(me.veryHigh),(0,o.default)(me.high),(0,o.default)(me.highSummary),(0,o.default)(me.target),(0,o.default)(me.low),(0,o.default)(me.veryLow),(0,o.default)(me.lowSummary),[e.bgSource===A.CGM_DATA_KEY&&ge[1]]),shapes:[].concat((0,o.default)(Q),(0,o.default)(ee))}}}return null},t.generateAmbulatoryGlucoseProfileFigure=function(e,t,n,a){var f,v,E=e.width-2,C=e.height-2-(s.AGP_SECTION_HEADER_HEIGHT+s.AGP_SECTION_DESCRIPTION_HEIGHT)-s.AGP_SECTION_BORDER_RADIUS,B=.5*l.DPI,T=.2*l.DPI,S=E-2*B,x=C-2*T,w=i.default.isNumber(null==n||null===(f=n.bgBounds)||void 0===f?void 0:f.veryHighThreshold),I=i.default.isNumber(null==n||null===(v=n.bgBounds)||void 0===v?void 0:v.veryLowThreshold);if(e.sufficientData||a===A.BGM_DATA_KEY){var L=(null==n?void 0:n.bgUnits)===A.MGDL_UNITS?s.AGP_BG_CLAMP_MGDL:s.AGP_BG_CLAMP_MMOLL,D=(0,c.mungeBGDataBins)(a,u.ONE_HR,t,[s.AGP_LOWER_QUANTILE,s.AGP_UPPER_QUANTILE]),k=["lowerQuantile","firstQuartile","median","thirdQuartile","upperQuantile"],O=D[0],N=D[D.length-1],P=i.default.map(D,(function(e,t){return(0,r.default)((0,r.default)({},e),i.default.reduce(k,(function(n,a){var r,o,s,l,d;return n[a]=(s=(null===(r=D[t-1])||void 0===r?void 0:r[a])||N[a],l=e[a],d=(null===(o=D[t+1])||void 0===o?void 0:o[a])||O[a],(s||d)&&l?s&&d?i.default.sum([s,4*l,d])/6:i.default.sum([s||0,4*l,d||0])/5:l),n}),{}))})),R=P[0],M=P[P.length-1];P.unshift((0,r.default)((0,r.default)({},M),{},{msX:R.msX-u.ONE_HR})),P.push((0,r.default)((0,r.default)({},R),{},{msX:M.msX+u.ONE_HR}));var _=function(e,t,n,a,r){return{name:n,type:"scatter",x:[].concat((0,o.default)(i.default.map(P,"msX")),(0,o.default)(i.default.map(i.default.reverse((0,o.default)(P)),"msX"))),y:[].concat((0,o.default)(i.default.map(P,e)),(0,o.default)(i.default.map(i.default.reverse((0,o.default)(P)),t))),yaxis:0===r?"y":"y".concat(r+1),fill:"tozerox",fillcolor:s.colors.ambulatoryGlucoseProfile[n][a],mode:"none",line:{simplify:!1,shape:"spline",smoothing:.5}}},F=i.default.filter([I&&"veryLow","low","target","high",w&&"veryHigh"],Boolean),G=i.default.filter([0,I&&n.bgBounds.veryLowThreshold,n.bgBounds.targetLowerBound,n.bgBounds.targetUpperBound,w&&n.bgBounds.veryHighThreshold,L],(function(e){return i.default.isNumber(e)})),j=i.default.findIndex(F,(function(e){return"target"===e})),H=j+1,U=i.default.map(G,(function(e,t){var a=i.default.includes([j,H],t),r=0;return 0===t&&(r=4),1===t&&(r=-2),y({align:"right",font:{color:a?s.colors.white:s.colors.text.ticks.bg,size:s.fontSizes.ambulatoryGlucoseProfile.bgTicks},height:9,text:g(0===t?e:(0,d.formatBgValue)(e,n,void 0,!0)),y:e/L,yanchor:"middle",yref:"paper",yshift:r,xanchor:"right",xref:"x",xshift:-2,x:0})})),Y=i.default.map(i.default.slice(G,j,H+1),(function(e){return{fillcolor:s.colors.line.range.target,line:{width:0},tick:e,path:(t=e/L*x,n=-23,a=t+5,r=t-5,["M ".concat(-1," ").concat(t),"V ".concat(t-1),"L ".concat(-5," ").concat(r),"H ".concat(-21),"Q ".concat(n," ").concat(r," ").concat(n," ").concat(r+2),"V ".concat(a-2),"Q ".concat(n," ").concat(a," ").concat(-21," ").concat(a),"H ".concat(-5),"L ".concat(-1," ").concat(t+1),"V ".concat(t)].join(" ")),type:"path",xanchor:0,xref:"paper",xsizemode:"pixel",yanchor:0,yref:"paper",ysizemode:"pixel"};var t,n,a,r})),z=i.default.map(G,(function(e,t){var n=5===t,r=i.default.includes([j,H],t),o=0===t;return{layer:a===A.CGM_DATA_KEY&&(r||n)?"above":"below",line:{color:r?s.colors.line.range.target:s.colors.line.range.default,width:r?2:1},type:"line",x0:n||o?-1:0,x1:n||o?S+1:S,xref:"paper",xanchor:0,xsizemode:"pixel",y0:e/L,y1:e/L,yref:"paper"}})),W=i.default.map(k,(function(e){return R[e]&&M[e]?(R[e]+M[e])/2:a===A.CGM_DATA_KEY?R[e]||M[e]:void 0})),V=["5%","25%","50%","75%","95%"],$=i.default.map(W,(function(e){return m(x,e/L)})),q=(0,o.default)($),Q=$[2],K=b(s.fontSizes.ambulatoryGlucoseProfile.percentileTicks)+2;q[1]=i.default.min([Q-K,q[1]]),q[0]=i.default.min([q[1]-K,q[0]]),q[3]=i.default.max([Q+K,q[3]]),q[4]=i.default.max([q[3]+K,q[4]]);var X=i.default.map(q,(function(e,t){return e-$[t]})),Z=i.default.map(W,(function(e,t){return y({align:"left",font:{color:2===t?s.colors.black:s.colors.text.ticks.percentile,size:s.fontSizes.ambulatoryGlucoseProfile.percentileTicks},name:F[t],text:g(V[t]),visible:i.default.isFinite(e)&&e/L<=1,y:e/L,yanchor:"middle",yref:"paper",yshift:X[t],xanchor:"left",xref:"x",xshift:5,x:A.MS_IN_DAY})})),J=i.default.map(W,(function(e,t){return{line:{color:s.colors.line.ticks,width:1},type:"line",visible:i.default.isFinite(e)&&e/L<=1,x0:S,x1:S+5,xref:"paper",xanchor:0,xsizemode:"pixel",y0:e/L,y1:e/L+h(x,X[t]),yref:"paper"}})),ee=i.default.range(0,A.MS_IN_DAY+1,6*A.MS_IN_HOUR),te=i.default.filter(i.default.range(0,A.MS_IN_DAY+1,A.MS_IN_HOUR),(function(e){return e/A.MS_IN_HOUR%12!=0})),ne=i.default.map(i.default.range(0,A.MS_IN_DAY+1,3*A.MS_IN_HOUR),(function(e){return y({align:"center",font:{color:e/A.MS_IN_HOUR%12==0?s.colors.black:s.colors.darkGrey,size:s.fontSizes.ambulatoryGlucoseProfile.hourlyTicks},text:g(p.default.utc(e).format("ha")),y:0,yanchor:"top",yref:"y",yshift:0,xanchor:"middle",xref:"x",x:e})})),ae=[],re=[],oe=[],ie=[],se=!1;if(i.default.each(F,(function(t,n){var r=[G[n],G[n+1]];a===A.CGM_DATA_KEY?(ae.push(_("upperQuantile","lowerQuantile","outerQuantile",t,n)),ae.push(_("thirdQuartile","firstQuartile","interQuartile",t,n)),ae.push({name:"median",type:"scatter",x:i.default.map(P,"msX"),y:i.default.map(P,"median"),yaxis:0===n?"y":"y".concat(n+1),mode:"lines",fill:"none",line:{color:s.colors.ambulatoryGlucoseProfile.median[t],simplify:!1,shape:"spline",width:3,smoothing:.5}})):a===A.BGM_DATA_KEY&&e.sufficientData&&i.default.each(P,(function(e,a){var r=[P[a-1],e],l=i.default.filter(r,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.thirdQuartile,n=e.firstQuartile;return i.default.isFinite(t)&&i.default.isFinite(n)}));2===l.length&&ae.push(function(e,t,n,a,r,l){return{name:n,type:"scatter",x:[].concat((0,o.default)(i.default.map(l,"msX")),(0,o.default)(i.default.map(i.default.reverse((0,o.default)(l)),"msX"))),y:[].concat((0,o.default)(i.default.map(l,"thirdQuartile")),(0,o.default)(i.default.map(i.default.reverse((0,o.default)(l)),"firstQuartile"))),yaxis:0===r?"y":"y".concat(r+1),fill:"toself",fillcolor:s.colors.ambulatoryGlucoseProfile[n][a],mode:"none",line:{simplify:!1,shape:"line",smoothing:0}}}(0,0,"interQuartile",t,n,l));var d=i.default.filter(r,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).median;return i.default.isFinite(e)})),u=a===P.length-1;if(u&&l.length<2){var c=(r[0].median+r[1].median)/2;se=c>L/2?"bottom":"top"}if(2===d.length){var f=1===a,p=d[0].msX/A.MS_IN_DAY,g=d[1].msX/A.MS_IN_DAY,m=d[0].median,b=d[1].median;f&&(p=0,m=b-(b-m)/2),u&&(g=1,b-=(b-m)/2),oe.push({type:"line",x0:p,x1:g,y0:m,y1:b,line:{color:s.colors.ambulatoryGlucoseProfile.median[t],width:3},xref:"paper",xsizemode:"scaled",yref:0===n?"y":"y".concat(n+1),ysizemode:"scaled"});var y=h(S,1.5),v=h(x,1.5)*L,E=[P[a-2],P[a-1]];if(2===i.default.filter(E,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).median;return i.default.isFinite(e)})).length){var C=r[0];oe.push({type:"circle",x0:C.msX/A.MS_IN_DAY-y,x1:C.msX/A.MS_IN_DAY+y,y0:C.median-v,y1:C.median+v,line:{width:0},fillcolor:s.colors.ambulatoryGlucoseProfile.median[t],xref:"paper",xsizemode:"scaled",yref:0===n?"y":"y".concat(n+1),ysizemode:"scaled"})}}}));var l={domain:[r[0]/L,r[1]/L],range:r,showgrid:!1,showline:!0,linecolor:s.colors.lightGrey,mirror:!0,showticklabels:!1,zeroline:!1};re.push(l)})),se){var le=h(S,4),de="top"===se?1-h(x,79):h(x,4);i.default.each(Z,(function(e,t){var n=i.default.includes([0,2,4],t),a=2===t,r=15*t;if(ie.push({type:"rect",x0:0,x1:5,y0:r,y1:r+15,line:{width:0},fillcolor:s.colors.ambulatoryGlucoseProfile.interQuartile[e.name],xanchor:1+le,xref:"paper",xsizemode:"pixel",yanchor:0+de,yref:"paper",ysizemode:"pixel"}),a&&ie.push({type:"line",x0:0,x1:5,y0:r+7.5,y1:r+7.5,line:{color:s.colors.ambulatoryGlucoseProfile.median.target,width:3},xanchor:1+le,xref:"paper",xsizemode:"pixel",yanchor:0+de,yref:"paper",ysizemode:"pixel"}),n){var o=.5,l=t+1;t>0&&(o=a?7.5:14.5,l=a?t:t-1),J.push({type:"line",x0:0,x1:5,y0:r+o,y1:r+o,line:{color:s.colors.line.ticks,width:1},xanchor:1+h(S,5)+le,xref:"paper",xsizemode:"pixel",yanchor:0+de,yref:"paper",ysizemode:"pixel"}),Z.push(y({align:"left",font:{color:a?s.colors.black:s.colors.text.ticks.percentile,size:s.fontSizes.ambulatoryGlucoseProfile.percentileTicks},name:F[t],text:g(V[l]),xanchor:"left",xref:"paper",xshift:5,x:1+h(S,5)+le,y:h(x,r+o),yanchor:"middle",yref:"paper",yshift:m(x,de)}))}}))}var ue=[],ce=[],fe=[],Ae=[],pe=[];if(a===A.BGM_DATA_KEY){var ge=h(S,2.25),me=h(x,2.25),he=function(e){return i.default.map(i.default.filter(t,(function(t){var a=t.value;return(0,c.classifyBgValue)(n.bgBounds,n.bgUnits,a,"fiveWay")===e})),(function(t){return{type:"circle",x0:t.msPer24/A.MS_IN_DAY-ge,x1:t.msPer24/A.MS_IN_DAY+ge,y0:i.default.min([t.value,L])/L-me,y1:i.default.min([t.value,L])/L+me,fillcolor:s.colors.bgReadings[e],line:{color:s.colors.black,width:.25},xref:"paper",xsizemode:"scaled",yref:"paper",ysizemode:"scaled"}}))};fe=he("veryLow"),ce=he("low"),ue=he("target"),Ae=he("high"),pe=he("veryHigh")}var be=(0,r.default)((0,r.default)({width:E,height:C,showlegend:!1,margin:{l:B,r:B,b:T,t:T},xaxis:{gridcolor:s.colors.line.ticks,linecolor:s.colors.line.ticks,range:[0,A.MS_IN_DAY],showgrid:!0,showline:!1,showticklabels:!1,tickvals:ee,zeroline:!1},xaxis2:{range:[0,A.MS_IN_DAY],overlaying:"x",showgrid:!1,showline:!1,showticklabels:!1,ticks:"inside",tickcolor:s.colors.lightGrey,ticklen:5,tickvals:te,zeroline:!1}},i.default.reduce(re,(function(e,t,n){return e[0===n?"yaxis":"yaxis".concat(n+1)]=t,e}),{})),{},{annotations:[].concat((0,o.default)(U),(0,o.default)(Z),(0,o.default)(ne),[y({font:{color:s.colors.text.ticks.bg,size:s.fontSizes.ambulatoryGlucoseProfile.bgUnits},text:null==n?void 0:n.bgUnits,x:0,xanchor:"right",xref:"paper",xshift:-2,y:G[5]/L,yanchor:"top",yref:"paper",yshift:-4}),y({font:{color:s.colors.black,size:s.fontSizes.ambulatoryGlucoseProfile.bgUnits},text:g(s.text.ambulatoryGlucoseProfile[a].targetRange),x:0,xanchor:"right",xref:"paper",xshift:-2,y:i.default.mean(i.default.slice(G,2,4))/L,yanchor:"middle",yref:"paper"})]),shapes:[].concat((0,o.default)(z),(0,o.default)(Y),(0,o.default)(ue),(0,o.default)(ce),(0,o.default)(fe),(0,o.default)(Ae),(0,o.default)(pe),oe,(0,o.default)(J),ie)}),ye={data:[].concat(ae,[{visible:!1,xaxis:"x2"}],(0,o.default)(i.default.map(re,(function(e,t){return{visible:!1,yaxis:0===t?"y":"y".concat(t+1)}})))),layout:be};return ye}return null},t.generateDailyGlucoseProfilesFigure=function(e,t,n,a){var u=e.width-2,f=(e.height-2-(s.AGP_SECTION_HEADER_HEIGHT+s.AGP_SECTION_DESCRIPTION_HEIGHT)-s.AGP_SECTION_BORDER_RADIUS)/2,m=.5*l.DPI,b=.2*l.DPI,v=u-2*m,E=f-(b+1);if(e.sufficientData){var C,B,T=(null==n?void 0:n.bgUnits)===A.MGDL_UNITS?s.AGP_BG_CLAMP_MGDL:s.AGP_BG_CLAMP_MMOLL,S=[0,null==n||null===(C=n.bgBounds)||void 0===C?void 0:C.targetLowerBound,null==n||null===(B=n.bgBounds)||void 0===B?void 0:B.targetUpperBound,T],x=i.default.map(i.default.slice(S,1,3),(function(e){return y({align:"right",font:{color:s.colors.text.ticks.dailyProfileBg,size:s.fontSizes.dailyGlucoseProfiles.bgTicks},text:g((0,d.formatBgValue)(e,n,void 0,!0)),y:e/T,yanchor:"middle",yref:"paper",xanchor:"right",xref:"x",xshift:-2,x:0})})),w=i.default.map(S,(function(e,t){var n=3===t,a=i.default.includes([1,2],t),r=0===t;return{layer:a||n?"above":"below",line:{color:a?s.colors.line.range.dailyProfileTarget:s.colors.line.range.default,width:1},type:"line",x0:n||r?-1:0,x1:n||r?v+1:v,xref:"paper",xanchor:0,xsizemode:"pixel",y0:e/T,y1:e/T,yref:"paper"}})),I=i.default.range(0,7*A.MS_IN_DAY+1,12*A.MS_IN_HOUR),L=i.default.map(i.default.filter(I,(function(e,t){return t%2!=0})),(function(e,n){return y({align:"center",font:{color:s.colors.black,size:"ha"===a?s.fontSizes.dailyGlucoseProfiles.timeTicks:s.fontSizes.dailyGlucoseProfiles.weekdayTicks},text:g("ha"===a?p.default.utc(e).format(a):p.default.utc(String(t[n][0])).format(a)),y:1,yanchor:"bottom",yref:"paper",yshift:1,xanchor:"middle",xref:"x",x:e})})),D=i.default.flatten(i.default.map(t,(function(e){return e[0]}))),k=i.default.map(D,(function(e,t){return y({align:"left",font:{color:s.colors.text.calendarDates,size:s.fontSizes.dailyGlucoseProfiles.calendarDates},text:g(p.default.utc(e).format("D")),y:1,yanchor:"top",yref:"paper",yshift:0,xanchor:"left",xref:"x",xshift:0,x:t*A.MS_IN_DAY})})),O=[],N=[],P=i.default.flatten(i.default.map(t,(function(e,t){return i.default.map(e[1],(function(e){return(0,r.default)((0,r.default)({},e),{},{msPer24:e.msPer24+A.MS_IN_DAY*t,bgRange:e.type===A.BGM_DATA_KEY?(0,c.classifyBgValue)(n.bgBounds,n.bgUnits,e.value,"threeWay"):void 0})}))}))),R=[],M=[],_=[];if(e.bgSource===A.CGM_DATA_KEY&&i.default.each(["low","target","high"],(function(e,t){var n=0===t,a=1===t,r=i.default.first(P),l=i.default.last(P),d=[S[t],S[t+1]],u=n?1:0;O.push({name:"rangeFill",type:"scatter",x:a?[0,7*A.MS_IN_DAY,7*A.MS_IN_DAY,0]:[null==r?void 0:r.msPer24].concat((0,o.default)(i.default.map(P,"msPer24")),[null==l?void 0:l.msPer24,null==r?void 0:r.msPer24]),y:a?[d[1],d[1],d[0],d[0]]:[d[u]].concat((0,o.default)(i.default.map(P,"value")),[d[u],d[u]]),yaxis:0===t?"y":"y".concat(t+1),mode:"none",fill:"tonextx",fillcolor:s.colors.dailyGlucoseProfiles[e].fill,line:{color:s.colors.dailyGlucoseProfiles[e].line,simplify:!1,width:1}}),O.push({name:"median",type:"scatter",x:i.default.map(P,"msPer24"),y:i.default.map(P,"value"),yaxis:0===t?"y":"y".concat(t+1),mode:"lines",fill:"none",line:{color:s.colors.dailyGlucoseProfiles[e].line,simplify:!1,width:1}});var c={domain:[d[0]/T,d[1]/T],range:d,showgrid:!1,showline:!0,linecolor:s.colors.lightGrey,mirror:!0,showticklabels:!1,zeroline:!1};N.push(c)})),e.bgSource===A.BGM_DATA_KEY){var F=h(v,2),G=h(E,2),j=function(e){return i.default.map(i.default.filter(P,{bgRange:e}),(function(t){return{type:"circle",x0:t.msPer24/(7*A.MS_IN_DAY)-F,x1:t.msPer24/(7*A.MS_IN_DAY)+F,y0:i.default.min([t.value,T])/T-G,y1:i.default.min([t.value,T])/T+G,fillcolor:s.colors.bgReadings[e],line:{color:s.colors.black,width:.25},xref:"paper",xsizemode:"scaled",yref:"paper",ysizemode:"scaled"}}))};R=j("low"),M=j("target"),_=j("high"),O.push({name:"rangeFill",type:"scatter",x:[0,7*A.MS_IN_DAY,7*A.MS_IN_DAY,0],y:[S[2],S[2],S[1],S[1]],yaxis:"y",mode:"none",fill:"tonextx",fillcolor:s.colors.dailyGlucoseProfiles.target.fill,line:{color:s.colors.dailyGlucoseProfiles.target.line,simplify:!1,width:1}});var H={domain:[0,1],range:[0,T],showgrid:!1,showline:!0,linecolor:s.colors.lightGrey,mirror:!0,showticklabels:!1,zeroline:!1};N.push(H)}var U=(0,r.default)((0,r.default)({width:u,height:f,showlegend:!1,margin:{l:m,r:m,b:1,t:b},xaxis:{gridcolor:s.colors.line.ticks,linecolor:s.colors.line.ticks,range:[0,7*A.MS_IN_DAY],showgrid:!0,showline:!1,showticklabels:!1,tickvals:I,zeroline:!1}},i.default.reduce(N,(function(e,t,n){return e[0===n?"yaxis":"yaxis".concat(n+1)]=t,e}),{})),{},{annotations:[].concat((0,o.default)(x),(0,o.default)(L),(0,o.default)(k),[y({font:{color:s.colors.text.ticks.bg,size:s.fontSizes.dailyGlucoseProfiles.bgUnits},text:g(null==n?void 0:n.bgUnits),textangle:270,x:0,xanchor:"right",xref:"paper",xshift:-18,y:i.default.mean(i.default.slice(S,1,3))/T,yanchor:"middle",yref:"paper",yshift:0})]),shapes:[].concat((0,o.default)(w),(0,o.default)(M),(0,o.default)(R),(0,o.default)(_))}),Y={data:[].concat(O,(0,o.default)(i.default.map(N,(function(e,t){return{visible:!1,yaxis:0===t?"y":"y".concat(t+1)}})))),layout:U};return Y}return null}},56765:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WIDTH=t.SMALL_FONT_SIZE=t.MARGINS=t.MARGIN=t.LARGE_FONT_SIZE=t.HEIGHT=t.HEADER_FONT_SIZE=t.FOOTER_FONT_SIZE=t.EXTRA_SMALL_FONT_SIZE=t.DPI=t.DEFAULT_FONT_SIZE=void 0;var n=t.DPI=72,a=t.MARGIN=n/2;t.HEIGHT=11*n-2*a,t.WIDTH=8.5*n-2*a,t.MARGINS={left:a,top:a,right:a,bottom:a},t.DEFAULT_FONT_SIZE=10,t.LARGE_FONT_SIZE=12,t.FOOTER_FONT_SIZE=8,t.HEADER_FONT_SIZE=14,t.SMALL_FONT_SIZE=8,t.EXTRA_SMALL_FONT_SIZE=6},94981:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.bgPrefsPropType=void 0;var r=a(n(29825)),o=n(66871);t.bgPrefsPropType=r.default.shape({bgBounds:r.default.shape({veryHighThreshold:r.default.number,targetUpperBound:r.default.number.isRequired,targetLowerBound:r.default.number.isRequired,veryLowThreshold:r.default.number}),bgUnits:r.default.oneOf([o.MGDL_UNITS,o.MMOLL_UNITS])})},7737:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.agpCGMText=function(e,t){var n,a;if(!t||!e)return"";var o=e.fullName,A=e.birthDate,p=t.timePrefs,g=t.bgPrefs,m=t.data.current.stats,h=m.bgExtents,b=h.newestDatum,y=h.oldestDatum,v=h.bgDaysWorn,E=m.averageGlucose.averageGlucose,C=m.timeInRange,B=C.counts,T=C.durations,S=m.glucoseManagementIndicator.glucoseManagementIndicatorAGP,x=m.sensorUsage.sensorUsageAGP,w=g||{},I=w.bgUnits,L=w.bgBounds||{},D=L.veryHighThreshold,k=L.targetUpperBound,O=L.targetLowerBound,N=L.veryLowThreshold,P=(0,c.getTimezoneFromTimePrefs)(p),R=(0,c.formatCurrentDate)(),M=1===v?i.default.utc((null==b?void 0:b.time)-(0,c.getOffset)(null==b?void 0:b.time,P)*u.MS_IN_MIN).format("MMMM D, YYYY"):function(e,t,n,a,o,i){var s=e,l=t;return r.default.isNumber(e)&&r.default.isNumber(t)&&(s=e-(0,c.getOffset)(e,i)*u.MS_IN_MIN,l=t-(0,c.getOffset)(t,i)*u.MS_IN_MIN),(0,c.formatDateRange)(s,l,void 0,"MMMM")}(null==y?void 0:y.time,null==b?void 0:b.time,0,0,0,P),_=u.BG_DISPLAY_MINIMUM_INCREMENTS[I],F=k+_,G=O-_,j=">".concat(D),H="".concat(F,"-").concat(D),U="".concat(O,"-").concat(k),Y="".concat(N,"-").concat(G),z="<".concat(N),W=(0,l.formatPercentage)(B.veryHigh/B.total,0,!0),V=(0,l.formatPercentage)(B.high/B.total,0,!0),$=(0,l.formatPercentage)(B.target/B.total,0,!0),q=(0,l.formatPercentage)(B.low/B.total,0,!0),Q=(0,l.formatPercentage)(B.veryLow/B.total,0,!0),K=(0,c.formatDuration)(T.veryHigh,{condensed:!0}),X=(0,c.formatDuration)(T.high,{condensed:!0}),Z=(0,c.formatDuration)(T.target,{condensed:!0}),J=(0,c.formatDuration)(T.low,{condensed:!0}),ee=(0,c.formatDuration)(T.veryLow,{condensed:!0}),te=E?null===(n=(0,d.formatDatum)({value:E},"bgValue",{bgPrefs:g,useAGPFormat:!0}))||void 0===n?void 0:n.value:null,ne=null===(a=(0,d.formatDatum)({value:S},"gmi",{bgPrefs:g,useAGPFormat:!0}))||void 0===a?void 0:a.value,ae=(0,l.bankersRound)(x,1),re=new s.default,oe="";return oe+=re.buildTextLine(o),oe+=re.buildTextLine(f("Date of birth: {{birthDate}}",{birthDate:A})),oe+=re.buildTextLine(f("Exported from Tidepool TIDE: {{currentDate}}",{currentDate:R})),oe+=re.buildTextLine(""),oe+=re.buildTextLine(f("Reporting Period: {{reportDaysText}}",{reportDaysText:M})),oe+=re.buildTextLine(""),oe+=re.buildTextLine(f("Avg. Daily Time In Range ({{- bgUnits}})",{bgUnits:I})),oe+=re.buildTextLine(f("{{- veryHighRange}} {{percentInVeryHigh}} ({{ durationInVeryHigh }})",{veryHighRange:j,percentInVeryHigh:W,durationInVeryHigh:K})),oe+=re.buildTextLine(f("{{highRange}} {{percentInHigh}} ({{ durationInHigh }})",{highRange:H,percentInHigh:V,durationInHigh:X})),oe+=re.buildTextLine(f("{{targetRange}} {{percentInTarget}} ({{ durationInTarget }})",{targetRange:U,percentInTarget:$,durationInTarget:Z})),oe+=re.buildTextLine(f("{{lowRange}} {{percentInLow}} ({{ durationInLow }})",{lowRange:Y,percentInLow:q,durationInLow:J})),oe+=re.buildTextLine(f("{{- veryLowRange}} {{percentInVeryLow}} ({{ durationInVeryLow }})",{veryLowRange:z,percentInVeryLow:Q,durationInVeryLow:ee})),oe+=re.buildTextLine(""),oe+=re.buildTextLine(f("Avg. Glucose (CGM): {{avgGlucose}} {{- bgUnits}}",{avgGlucose:te,bgUnits:I})),(oe+=re.buildTextLine(f("Sensor Usage: {{ cgmActive }}%",{cgmActive:ae})))+re.buildTextLine(f("GMI (CGM): {{ gmi }}%",{gmi:ne}))};var r=a(n(27825)),o=a(n(56427)),i=a(n(74716)),s=a(n(40549)),l=n(99559),d=n(80358),u=n(66871),c=n(74501),f=o.default.t.bind(o.default)},64892:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getAnnotationCodes=u,t.getAnnotationMessages=function(e){var t=d(e),n=[];return n=n.concat(c(e),f(e)),r.default.each(t,(function(e){var t=r.default.get(e,"code");r.default.has(l,t)&&n.push(r.default.assign({},e,{message:{value:l[t]}}))})),n},t.getAnnotations=d,t.getMedtronic600AnnotationMessages=c,t.getOutOfRangeAnnotationMessage=f;var r=a(n(27825)),o=a(n(56427)),i=o.default.t.bind(o.default);void 0===r.default.get(o.default,"options.returnEmptyString")&&o.default.init({returnEmptyString:!1,nsSeparator:"|"});var s={"medtronic600/smbg/user-accepted-remote-bg":i("Yes"),"medtronic600/smbg/user-rejected-remote-bg":i("No"),"medtronic600/smbg/remote-bg-acceptance-screen-timeout":i("Timed Out")},l={"animas/bolus/extended-equal-split":i("* Animas pumps don't capture the details of how combo boluses are split between the normal and extended amounts."),"medtronic/wizard/carb-to-exchange-ratio-deconverted":i("* Due to how carb ratios are uploaded from this pump, there may be a slight discrepancy between the value entered on the pump and the value displayed here.")};function d(e){return r.default.get(e,"annotations",[])}function u(e){return r.default.map(d(e),"code")}function c(e){var t=d(e),n=u(e),a=[],o=r.default.intersection(r.default.keys(s),n);return o.length>0&&a.push(r.default.assign({},r.default.find(t,{code:o[0]}),{message:{label:i("Confirm BG"),value:s[o[0]]}})),a}function f(e){var t=d(e),n="cbg"===(null==e?void 0:e.type)?i("glucose"):i("BG"),a=[];return r.default.each(t,(function(e){if("bg/out-of-range"===r.default.get(e,"code","")){var t=e.value;a.push(r.default.assign({},e,{message:{value:i("* This {{bgTypeLabel}} value was {{value}}er than your device could record. Your actual {{bgTypeLabel}} value is {{value}}er than it appears here.",{value:t,bgTypeLabel:n})}}))}})),a}},11673:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.countDistinctSuspends=t.countAutomatedBasalEvents=void 0,t.getBasalDurationWithinRange=c,t.getBasalGroupDurationsFromEndpoints=function(e,t){var n={automated:0,manual:0};return r.default.each(e,(function(e){n[s(e)]+=c(e,t)})),n},t.getBasalPathGroupType=s,t.getBasalPathGroups=l,t.getBasalSequences=function(e){for(var t=[],n=e[0],a=[e[0]],r=1;r<=e.length-1;){var o=e[r];(o.subType!==n.subType||n.discontinuousEnd||0===o.rate)&&(t.push(a),a=[]),a.push(o),n=o,++r}return t.push(a),t},t.getEndpoints=d,t.getGroupDurations=function(e,t,n){var a=d(e,t,n,!0),o={automated:0,manual:0};if(a.start.index>=0&&a.end.index>=0){var i=new Date(a.start.datetime),l=new Date(a.end.datetime),u=e[a.start.index],c=r.default.min([new Date(u.normalEnd)-i,u.duration]);o[s(u)]=c;for(var f=a.start.index+1;f<a.end.index;)o[s(u=e[f])]+=u.duration,f++;o[s(u=e[a.end.index])]+=r.default.min([l-new Date(u.normalTime),u.duration])}return o},t.getSegmentDose=u,t.getTotalBasalFromEndpoints=function(e,t){var n=0;return r.default.each(e,(function(e){n+=u(c(e,t),e.rate)})),(0,o.formatInsulin)(n)};var r=a(n(27825)),o=n(99559),i=n(74501);function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.default.get(e,"subType",e.deliveryType),n=r.default.get(e.suppressed,"subType",r.default.get(e.suppressed,"deliveryType"));return r.default.includes([t,n],"automated")?"automated":"manual"}function l(e){var t,n=[];return r.default.each(e,(function(e){var a=s(e);a!==t&&(t=a,n.push([])),r.default.last(n).push(e)})),n}function d(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=new Date(t),i=new Date(n),s=r.default.findIndex(e,(function(e){return(a||new Date(e.normalTime).valueOf()<=o)&&o<=new Date(e.normalEnd).valueOf()})),l=r.default.findLastIndex(e,(function(e){return new Date(e.normalTime).valueOf()<=i&&(a||i<=new Date(e.normalEnd).valueOf())}));return{start:{datetime:o.toISOString(),index:s},end:{datetime:i.toISOString(),index:l}}}function u(e,t){var n=e/i.ONE_HR;return parseFloat((0,o.precisionRound)(n*t,3))}function c(e,t){var n=new Date(t[0]).valueOf(),a=new Date(t[1]).valueOf(),o=new Date(e.normalTime).valueOf(),i=new Date(e.normalEnd).valueOf(),s=n<=o&&o<a,l=n<i&&i<=a,d=n>=o&&i>=a,u=r.default.max([n,o]),c=r.default.min([a,i]);return s||l||d?c-u:0}t.countAutomatedBasalEvents=function(e){var t=r.default.cloneDeep(e),n=l(t.data);n.shift();var a={automatedStop:0};return r.default.reduce(n,(function(e,t){var n="automated"===r.default.get(t[0],"subType",t[0].deliveryType)?"automatedStart":"automatedStop";return"automatedStop"===n&&e[n]++,e}),a),r.default.assign(t.subtotals,a),t.total+=a.automatedStop,t},t.countDistinctSuspends=function(e){var t=r.default.cloneDeep(e),n=r.default.filter(t.data,(function(e){return"suspend"===e.deliveryType})),a={prev:{},distinct:0,skipped:0};return r.default.reduce(n,(function(e,t){return r.default.get(e.prev,"normalEnd")===t.normalTime?e.skipped++:e.distinct++,e.prev=t,e}),a),t.subtotals.suspend=a.distinct,t.total-=a.skipped,t}},54114:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.basicsText=function(e,t,n,a,i){var s=t.bgPrefs,l=t.data,d=l.aggregationsByDate,u=void 0===d?{}:d,c=l.current.endpoints,f=void 0===c?{}:c,g=t.metaData,m=t.timePrefs,h=new p.TextUtil(e,f.range,m,i),b=h.buildDocumentHeader("Basics");b+=h.buildDocumentDates(),b+=h.buildTextLine(A("Days with no insulin data have been excluded from calculations")),b+=p.statsText(n,h,s);var y,v,E,C=function(e,t,n){var a=[];return o.default.each(e,(function(e){var i=o.default.get(t,[].concat((0,r.default)(e.path.split(".")),[e.key])),s=e.average?Math.round(o.default.get(t,[].concat((0,r.default)(e.path.split(".")),["avgPerDay"]))):o.default.get(i,"count",i||0),l={label:e.label,value:s.toString()};if(e.primary)l.label=n,a.unshift(l);else{if(0===s&&e.hideEmpty)return;a.push(l)}})),{rows:a,columns:[{key:"label",label:"Label"},{key:"value",label:"Value"}]}};if(!a.fingersticks.disabled){var B=C(a.fingersticks.dimensions,u.fingersticks,a.fingersticks.summaryTitle);b+=h.buildTextTable("",B.rows,B.columns,{showHeader:!1})}if(!a.boluses.disabled){var T=C(a.boluses.dimensions,u.boluses,a.boluses.summaryTitle);b+=h.buildTextTable("",T.rows,T.columns,{showHeader:!1})}if(!a.siteChanges.disabled){var S=(y=o.default.get(u,"siteChanges.byDate",{}),v=a.siteChanges.source,E=[],o.default.each(o.default.valuesIn(y),(function(e){var t=o.default.get(e,["summary","daysSince",v]);t&&E.push(t)})),{columns:[{key:"label",label:"Label"},{key:"value",label:"Value"}],rows:[{label:"Mean Duration",value:"".concat(Math.round(10*o.default.mean(E))/10," days")},{label:"Longest Duration",value:"".concat(o.default.max(E)," days")}]});b+=h.buildTextTable("".concat(a.siteChanges.title," from '").concat(a.siteChanges.subTitle,"'"),S.rows,S.columns,{showHeader:!1})}if(!a.basals.disabled){var x=C(a.basals.dimensions,u.basals,a.basals.summaryTitle);b+=h.buildTextTable("",x.rows,x.columns,{showHeader:!1})}var w=o.default.filter(null==g?void 0:g.devices,(function(e){var t,n=e.id;return null==g||null===(t=g.matchedDevices)||void 0===t?void 0:t[n]}));if(w.length){var I=["\n".concat(A("Devices Uploaded"))].concat((0,r.default)(o.default.map(w,(function(e){var t=e.id;return e.label||t}))));o.default.each(I,(function(e){b+=h.buildTextLine(e)}))}return b},t.defineBasicsAggregations=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=(0,d.generateBgRangeLabels)(e);a.veryLow=o.default.upperFirst(a.veryLow),a.low=o.default.upperFirst(a.low),a.high=o.default.upperFirst(a.high),a.veryHigh=o.default.upperFirst(a.veryHigh);var r=(0,l.getPumpVocabulary)(t),i={};return o.default.each(["basals","boluses","fingersticks","siteChanges"],(function(t){var s,d,c,f,p=t,g="",m=3;switch(t){case"basals":g="Basals",f=A("Total basal events"),c=[{path:"basal.summary",key:"total",label:A("Basal Events"),primary:!0},{path:"basal.summary.subtotals",key:"temp",label:A("Temp Basals"),hideEmpty:(0,l.isLoop)(n.settings)},{path:"basal.summary.subtotals",key:"suspend",label:A("Suspends")},{path:"basal.summary.subtotals",key:"automatedStop",label:A("{{automatedLabel}} {{automatedModeExited}}",{automatedLabel:r[u.AUTOMATED_DELIVERY],automatedModeExited:r[u.AUTOMATED_MODE_EXITED]}),hideEmpty:!0},{path:"automatedSuspend.summary.subtotals",key:"automatedSuspend",label:r[u.AUTOMATED_SUSPEND],hideEmpty:!0}],m=4;break;case"boluses":var h;g=A("Bolusing"),f=A("Avg boluses / day"),c=[{path:"summary",key:"total",label:A("Avg per day"),average:!0,primary:!0},{path:"summary.subtotals",key:"wizard",label:A("Calculator"),percentage:!0,selectorIndex:0},{path:"summary.subtotals",key:"correction",label:A("Correction"),percentage:!0,selectorIndex:1},{path:"summary.subtotals",key:"extended",label:A("Extended"),percentage:!0,selectorIndex:4},{path:"summary.subtotals",key:"interrupted",label:A("Interrupted"),percentage:!0,selectorIndex:5},{path:"summary.subtotals",key:"override",label:A("Override"),percentage:!0,selectorIndex:2},{path:"summary.subtotals",key:"underride",label:A("Underride"),percentage:!0,selectorIndex:6}],((0,l.isTidepoolLoop)(n.settings)||(0,l.isDIYLoop)(n.settings))&&(c[1].label=A("Meal"),c.splice(3,1),c[2].selectorIndex=6,c[5].selectorIndex=7),(0,l.isTwiistLoop)(n.settings)&&(c.push({path:"summary.subtotals",key:"oneButton",label:r[u.ONE_BUTTON_BOLUS],percentage:!0,selectorIndex:6}),c[6].selectorIndex=3,m=4),n.isAutomatedBolusDevice&&((h=c).push.apply(h,[{path:"summary.subtotals",key:"manual",label:A("Manual"),percentage:!0,selectorIndex:3},{path:"summary.subtotals",key:"automated",label:A("Automated"),percentage:!1,selectorIndex:7}]),m=4);break;case"fingersticks":g=A("BG readings"),f=A("Avg BG readings / day"),c=o.default.filter([{path:"smbg.summary",key:"total",label:A("Avg per day"),average:!0,primary:!0},{path:"smbg.summary.subtotals",key:"meter",label:A("Meter"),percentage:!0},{path:"smbg.summary.subtotals",key:"manual",label:A("Manual"),percentage:!0},{path:"calibration.summary.subtotals",key:"calibration",label:A("Calibrations"),hideEmpty:!0},o.default.isNumber(null==e||null===(s=e.bgBounds)||void 0===s?void 0:s.veryLowThreshold)?{path:"smbg.summary.subtotals",key:"veryLow",label:a.veryLow,percentage:!0}:{path:"smbg.summary.subtotals",key:"low",label:a.low,percentage:!0},o.default.isNumber(null==e||null===(d=e.bgBounds)||void 0===d?void 0:d.veryHighThreshold)?{path:"smbg.summary.subtotals",key:"veryHigh",label:a.veryHigh,percentage:!0}:{path:"smbg.summary.subtotals",key:"high",label:a.high,percentage:!0}],Boolean);break;case"siteChanges":g=A("Site Changes");break;default:p=!1}i[t]={dimensions:c,perRow:m,summaryTitle:f,title:g,type:p}})),i},t.findBasicsDays=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"UTC",n=[],a=i.default.utc(e[0]).tz(t).format("YYYY-MM-DD"),r=i.default.utc(e[1]).tz(t).subtract(1,"ms").format("YYYY-MM-DD"),o=i.default.utc(e[0]).tz(t).startOf("isoWeek").toDate();o<i.default.utc(e[1]).tz(t).endOf("isoWeek");){var s=i.default.utc(o).tz(t).format("YYYY-MM-DD"),l={date:s};l.type=s<a||s>r?"outOfRange":"inRange",n.push(l),o=i.default.utc(o).tz(t).add(1,"days").toDate()}return n},t.findBasicsStart=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"UTC";return i.default.utc(o.default.isInteger(e)?e:Date.parse(e)).tz(t).startOf("isoWeek").subtract(14,"days").toDate()},t.generateCalendarDayLabels=function(e){var t=i.default.utc(e[0].date).day();return o.default.map(o.default.range(t,t+7),(function(e){return i.default.utc().day(e).format("ddd")}))},t.getSiteChangeSource=g,t.getSiteChangeSourceLabel=m,t.processBasicsAggregations=function(e,t,n,a){var r=o.default.cloneDeep(t),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.default.get(e.summary,"total",o.default.keys(e.byDate).length)>0};return o.default.each(e,(function(t,o){var s=t.type,l=!1;if("boluses"===s)l=!i(r[s]);else if("basals"===s){var d,u,c=i(null===(d=r[s])||void 0===d?void 0:d.basal),f=i(null===(u=r[s])||void 0===u?void 0:u.automatedSuspend);l=!c&&!f}else if("fingersticks"===s){var p,h,b=i(null===(p=r[s])||void 0===p?void 0:p.smbg),y=i(null===(h=r[s])||void 0===h?void 0:h.calibration);l=!b&&!y}else"siteChanges"===s&&(e[o].source=g(n,a),e[o].manufacturer=a,(l=!i(r[s]))||(e[o].subTitle=m(e[o].source,a)));l&&(e[o].emptyText=function(t,n){var a;switch(n){case"basals":case"boluses":a=e.boluses.disabled&&e.basals.disabled?A("This section requires data from an insulin pump, so there's nothing to display."):A("There are no {{ type }} events to display for this date range.",{type:A("basals"===n?"basal":"bolus")});break;case"siteChanges":a=A("This section requires data from an insulin pump, so there's nothing to display.");break;case"fingersticks":a=A("This section requires data from a blood-glucose meter, so there's nothing to display.");break;default:a=A("Why is this grey? There is not enough data to show this statistic.")}return a}(0,o)),e[o].disabled=l})),e},t.utils=void 0;var r=a(n(84374)),o=a(n(27825)),i=a(n(74716)),s=a(n(56427)),l=n(11270),d=n(84240),u=n(66871),c=a(n(40549)),f=n(80358),A=s.default.t.bind(s.default),p=t.utils={reshapeBgClassesToBgBounds:d.reshapeBgClassesToBgBounds,statsText:f.statsText,TextUtil:c.default};function g(){var e=arguments.length>1?arguments[1]:void 0,t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).settings,n=u.SITE_CHANGE_TYPE_UNDECLARED;if(o.default.includes(o.default.map([u.ANIMAS,u.MEDTRONIC,u.TANDEM],o.default.lowerCase),e)){n=o.default.get(t,"siteChangeSource");var a=[u.SITE_CHANGE_CANNULA,u.SITE_CHANGE_TUBING];o.default.includes(a,n)||(n=u.SITE_CHANGE_CANNULA)}else if(o.default.includes(o.default.map([u.INSULET,u.MICROTECH],o.default.lowerCase),e))n=u.SITE_CHANGE_RESERVOIR;else if(o.default.includes(o.default.map([u.TWIIST_LOOP],o.default.lowerCase),e)){n=o.default.get(t,"siteChangeSource");var r=[u.SITE_CHANGE_CANNULA,u.SITE_CHANGE_RESERVOIR];o.default.includes(r,n)||(n=u.SITE_CHANGE_RESERVOIR)}else o.default.includes(o.default.map([u.DIY_LOOP,u.TIDEPOOL_LOOP],o.default.lowerCase),e)&&(n=u.SITE_CHANGE_TUBING);return n}function m(e,t){var n,a=e!==u.SITE_CHANGE_TYPE_UNDECLARED?u.pumpVocabulary.default[u.SITE_CHANGE_RESERVOIR]:null;return o.default.get(u.pumpVocabulary,[(0,l.getUppercasedManufacturer)(t),e],(null===u.pumpVocabulary||void 0===u.pumpVocabulary||null===(n=u.pumpVocabulary.default)||void 0===n?void 0:n[e])||a)}},98020:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.bgLogText=function(e,t,n,a){var i,s=t.bgPrefs,l=t.data.current.endpoints,d=void 0===l?{}:l,p=t.metaData,g=t.timePrefs;o.default.defaults(s,{bgBounds:A.reshapeBgClassesToBgBounds(s)});var m=new A.TextUtil(e,d.range,g,a),h=m.buildDocumentHeader("BG Log");h+=m.buildDocumentDates(),h+=A.statsText(n,m,s),h+=m.buildTextLine();var b=o.default.filter((null==t||null===(i=t.data)||void 0===i?void 0:i.combined)||[],(function(e){return"smbg"===e.type&&e.normalTime>=d.range[0]&&e.normalTime<d.range[1]}));h+=o.default.map(b.reverse(),(function(e){return[(0,c.formatLocalizedFromUTC)(e.normalTime,g,"ddd, MMM D, YYYY h:mm A"),(0,u.formatBgValue)(e.value,s),"(".concat(o.default.capitalize(e.subType||"meter"),")")].join("\t")})).join("\n");var y=o.default.filter(null==p?void 0:p.devices,(function(e){var t,n=e.id;return null==p||null===(t=p.matchedDevices)||void 0===t?void 0:t[n]}));if(y.length){var v=["\n\n".concat(f("Devices Uploaded"))].concat((0,r.default)(o.default.map(y,(function(e){var t=e.id;return e.label||t}))));o.default.each(v,(function(e){h+=m.buildTextLine(e)}))}return h},t.utils=void 0;var r=a(n(84374)),o=a(n(27825)),i=a(n(56427)),s=a(n(40549)),l=n(80358),d=n(84240),u=n(99559),c=n(74501),f=i.default.t.bind(i.default),A=t.utils={reshapeBgClassesToBgBounds:d.reshapeBgClassesToBgBounds,statsText:l.statsText,TextUtil:s.default}},84240:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.calculateCbgStatsForBin=p,t.calculateSmbgStatsForBin=g,t.classifyBgValue=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"threeWay";if(i.default.isEmpty(e)||!i.default.isNumber(i.default.get(e,"targetLowerBound"))||!i.default.isNumber(i.default.get(e,"targetUpperBound")))throw new Error("You must provide a `bgBounds` object with a `targetLowerBound` and a `targetUpperBound`!");if(!i.default.isNumber(n)||!i.default.gt(n,0))throw new Error("You must provide a positive, numerical blood glucose value to categorize!");if(!i.default.includes([l.MMOLL_UNITS,l.MGDL_UNITS],t))throw new Error("Must provide a valid blood glucose unit of measure!");var r=e.veryLowThreshold,o=e.targetLowerBound,s=e.targetUpperBound,d=e.veryHighThreshold,c=t===l.MMOLL_UNITS?1:0,f=(0,u.bankersRound)(n,c);return"fiveWay"===a?i.default.isNumber(r)&&f<r?"veryLow":i.default.isNumber(d)&&f>d?"veryHigh":f<o?"low":f>s?"high":"target":f<o?"low":f>s?"high":"target"},t.classifyCvValue=function(e){return e<=36?"target":"high"},t.convertToMGDL=function(e){return e*l.MGDL_PER_MMOLL},t.convertToMmolL=function(e){return e/l.MGDL_PER_MMOLL},t.determineRangeBoundaries=c,t.findBinForTimeOfDay=f,t.findOutOfRangeAnnotations=A,t.generateBgRangeLabels=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.bgBounds,a=e.bgUnits,r=l.BG_DISPLAY_MINIMUM_INCREMENTS[a],o=i.default.mapValues(n,(function(t){return i.default.isNumber(t)?(0,u.formatBgValue)(t,e):null}));o.highLowerBound=(0,u.formatBgValue)(n.targetUpperBound+r,e),o.lowUpperBound=(0,u.formatBgValue)(n.targetLowerBound-r,e);var s=o.veryLowThreshold,d=o.lowUpperBound,c=o.targetLowerBound,f=o.targetUpperBound,A=o.highLowerBound,p=o.veryHighThreshold,g=o.extremeHighThreshold;return t.condensed?{veryLow:s?"<".concat(s):null,low:s?"".concat(s,"-").concat(d):"<".concat(c),anyLow:"<".concat(c),target:"".concat(c,"-").concat(f),high:p?"".concat(A,"-").concat(p):">".concat(f),anyHigh:">".concat(f),veryHigh:p?">".concat(p):null,extremeHigh:g?">".concat(g):null}:t.segmented?{veryLow:{suffix:a,value:s?"<".concat(s):null},low:{prefix:"between",suffix:a,value:s?"".concat(s,"-").concat(d):"<".concat(c)},anyLow:{suffix:a,value:"<".concat(c)},target:{prefix:"between",suffix:a,value:"".concat(c,"-").concat(f)},high:{prefix:"between",suffix:a,value:p?"".concat(A,"-").concat(p):">".concat(f)},anyHigh:{suffix:a,value:">".concat(f)},veryHigh:{suffix:a,value:p?">".concat(p):null},extremeHigh:{suffix:a,value:g?">".concat(g):null}}:{veryLow:s?"below ".concat(s," ").concat(a):null,low:s?"between ".concat(s," - ").concat(d," ").concat(a):"below ".concat(c," ").concat(a),anyLow:"below ".concat(c," ").concat(a),target:"between ".concat(c," - ").concat(f," ").concat(a),high:p?"between ".concat(A," - ").concat(p," ").concat(a):"above ".concat(f," ").concat(a),anyHigh:"above ".concat(f," ").concat(a),veryHigh:p?"above ".concat(p," ").concat(a):null,extremeHigh:g?"above ".concat(g," ").concat(a):null}},t.getOutOfRangeThreshold=function(e){var t=i.default.find(e.annotations||[],(function(e){return"bg/out-of-range"===e.code}));return t?(0,o.default)({},t.value,t.threshold):null},t.isCustomBgRange=function(e){var t=e.bgBounds,n=e.bgUnits;return t.targetUpperBound!==l.DEFAULT_BG_BOUNDS[n].targetUpperBound||t.targetLowerBound!==l.DEFAULT_BG_BOUNDS[n].targetLowerBound},t.mungeBGDataBins=function(e,t,n,a){for(var r=i.default.groupBy(n,(function(e){return f(t,e.msPer24)})),o=A(n),l=i.default.map((0,s.range)(t/2,d.TWENTY_FOUR_HRS,t),(function(e){return String(e)})),u="smbg"===e?g:p,c=function(e){return e.value},m=[],h=0;h<l.length;++h){var b=i.default.map(i.default.get(r,l[h],[]),c);m.push(u(l[h],t,b,o,a))}return m},t.reshapeBgClassesToBgBounds=function(e){var t=e.bgClasses,n=e.bgUnits;return{veryHighThreshold:i.default.get(t,"high.boundary",l.DEFAULT_BG_BOUNDS[n].veryHighThreshold),targetUpperBound:i.default.get(t,"target.boundary",l.DEFAULT_BG_BOUNDS[n].targetUpperBound),targetLowerBound:i.default.get(t,"low.boundary",l.DEFAULT_BG_BOUNDS[n].targetLowerBound),veryLowThreshold:i.default.get(t,"very-low.boundary",l.DEFAULT_BG_BOUNDS[n].veryLowThreshold),extremeHighThreshold:l.DEFAULT_BG_BOUNDS[n].extremeHighThreshold,clampThreshold:l.DEFAULT_BG_BOUNDS[n].clampThreshold}},t.weightedCGMCount=function(e){return i.default.reduce(e,(function(e,t){return e+i.default.get(t,"sampleInterval",5*l.MS_IN_MIN)/l.MS_IN_MIN/5}),0)};var r=a(n(21580)),o=a(n(271)),i=a(n(27825)),s=n(17897),l=n(66871),d=n(74501),u=n(99559);function c(e){var t=i.default.filter(e,{value:"low"}),n=i.default.filter(e,{value:"high"}),a={};return i.default.isEmpty(t)||(a.low=(0,s.max)(t,(function(e){return e.threshold}))),i.default.isEmpty(n)||(a.high=(0,s.min)(n,(function(e){return e.threshold}))),a}function f(e,t){if(t<0||t>=d.TWENTY_FOUR_HRS)throw new Error("`msPer24` < 0 or >= 86400000 is invalid!");return Math.floor(t/e)*e+e/2}function A(e){var t=function(e){return"bg/out-of-range"===e.code},n=i.default.filter(e,(function(e){return i.default.some(e.annotations||[],t)})),a=i.default.map(n,(function(e){return i.default.pick(i.default.find(e.annotations||[],t),["threshold","value"])}));return i.default.uniqBy(a,(function(e){return e.threshold}))}function p(e,t,n,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],l=(0,r.default)(o,2),d=l[0],u=void 0===d?.1:d,f=l[1],A=void 0===f?.9:f,p=i.default.sortBy(n,(function(e){return e})),g=parseInt(e,10),m={id:e,min:(0,s.min)(p),lowerQuantile:(0,s.quantile)(p,u),firstQuartile:(0,s.quantile)(p,.25),median:(0,s.median)(p),thirdQuartile:(0,s.quantile)(p,.75),upperQuantile:(0,s.quantile)(p,A),max:(0,s.max)(p),msX:g,msFrom:g-t/2,msTo:g+t/2};if(!i.default.isEmpty(a)){var h=c(a);m.outOfRangeThresholds=h}return m}function g(e,t,n,a){var r=i.default.sortBy(n,(function(e){return e})),o=parseInt(e,10),l={id:e,min:(0,s.min)(r),mean:(0,s.mean)(r),max:(0,s.max)(r),msX:o,firstQuartile:n.length>=5?(0,s.quantile)(r,.25):void 0,median:n.length>=3?(0,s.median)(r):void 0,thirdQuartile:n.length>=5?(0,s.quantile)(r,.75):void 0,msFrom:o-t/2,msTo:o+t/2};if(!i.default.isEmpty(a)){var d=c(a);l.outOfRangeThresholds=d}return l}},32935:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getAnnotations=function(e){var t=s(e);return r.default.get(t,"annotations",[])},t.getBolusFromInsulinEvent=s,t.getCarbs=function(e){return"wizard"===e.type||e.wizard||e.dosingDecision?r.default.get(l(e),"carbInput",null):NaN},t.getDelivered=c,t.getDuration=function(e){var t=e;return"wizard"===r.default.get(e,"type")&&(t=s(e)),r.default.inRange(t.duration,1/0)?t.duration:NaN},t.getExtended=function(e){var t=s(e);return r.default.inRange(t.extended,1/0)?t.extended:NaN},t.getExtendedPercentage=function(e){var t=e;if("wizard"===r.default.get(e,"type")&&(t=s(e)),!t.normal||!t.extended&&!t.expectedExtended)return NaN;var n=t.expectedExtended||t.extended,a=d(t);return(0,o.formatPercentage)(n/a)},t.getMaxDuration=function(e){var t=e;return"wizard"===r.default.get(e,"type")&&(t=s(e)),r.default.inRange(t.duration,1/0)?t.expectedDuration||t.duration:NaN},t.getMaxValue=function(e){var t=e;if("wizard"===r.default.get(e,"type")&&!(t=s(e)).normal&&!t.extended)return NaN;var n=d(t),a=u(e)||0;return a>n?a:n},t.getNormalPercentage=function(e){var t=e;if("wizard"===r.default.get(e,"type")&&(t=s(e)),!t.normal&&!t.expectedNormal||!t.extended&&!t.expectedExtended)return NaN;var n=t.expectedNormal||t.normal,a=d(t);return(0,o.formatPercentage)(n/a)},t.getProgrammed=d,t.getRecommended=u,t.getTotalBolus=function(e){return r.default.reduce(e,(function(e,t){return e+c(t)}),0)},t.getWizardFromInsulinEvent=l,t.hasExtended=function(e){var t=s(e);return Boolean(t.extended||t.expectedExtended)||!1},t.isAutomated=function(e){var t=s(e);return"automated"===r.default.get(t,"subType")},t.isCorrection=function(e){var t=e.dosingDecision?{correction:r.default.get(e,"dosingDecision.recommendedBolus.amount"),carb:r.default.get(e,"dosingDecision.food.nutrition.carbohydrate.net",0)}:r.default.get(e,"wizard.recommended",e.recommended);return!!(t&&t.correction>0&&0===t.carb)},t.isInterruptedBolus=function(e){var t=s(e),n=r.default.isFinite(t.normal)&&r.default.isFinite(t.expectedNormal)&&t.normal<t.expectedNormal,a=r.default.isFinite(t.extended)&&r.default.isFinite(t.expectedExtended)&&t.extended<t.expectedExtended;return r.default.inRange(t.normal,1/0)?r.default.isFinite(t.extended)?n||a:n:a},t.isOneButton=function(e){var t=s(e);return"oneButton"===r.default.get(t,"deliveryContext")||"oneButtonBolus"===r.default.get(t,"dosingDecision.reason")},t.isOverride=function(e){var t=u(e.wizard||e.dosingDecision||e);return d(e)-t>=.01},t.isUnderride=function(e){return u(e.wizard||e.dosingDecision||e)-d(e)>=.01};var r=a(n(27825)),o=n(99559);function i(e){return parseFloat((0,o.formatDecimalNumber)(e,3))}function s(e){var t=e;return e.bolus&&(t=e.bolus),t}function l(e){var t=e;return e.wizard&&(t=e.wizard),t}function d(e){var t=e;if("wizard"===r.default.get(e,"type")&&(t=s(e),!r.default.inRange(t.normal,1/0)&&!r.default.inRange(t.extended,1/0)))return NaN;if(null!=t.extended&&null!=t.expectedExtended)return null!=t.normal?null!=t.expectedNormal?i(t.expectedNormal+t.expectedExtended):i(t.normal+t.expectedExtended):t.expectedExtended;if(null!=t.extended){if(null!=t.normal){if(null!=t.expectedNormal)throw new Error("Combo bolus found with a cancelled `normal` portion and non-cancelled `extended`!");return i(t.normal+t.extended)}return t.extended}return t.expectedNormal||t.normal}function u(e){var t=e;if("bolus"===r.default.get(e,"type")&&(t=t.dosingDecision||l(e)),!t.recommendedBolus&&!t.recommended)return NaN;var n=t.recommendedBolus?r.default.get(t,["recommendedBolus","amount"],null):r.default.get(t,["recommended","net"],null);if(null!==n)return n;var a=0;return a+=r.default.get(t,["recommended","carb"],0),i(a+=r.default.get(t,["recommended","correction"],0))}function c(e){var t=e;return"wizard"!==r.default.get(e,"type")||(t=s(e),r.default.inRange(t.normal,1/0)||r.default.inRange(t.extended,1/0))?null!=t.extended?null!=t.normal?i(t.extended+t.normal):t.extended:t.normal:NaN}},66871:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.trends=t.springConfig=t.settingsOverrides=t.pumpVocabulary=t.TWIIST_LOOP=t.TIDEPOOL_LOOP=t.TANDEM=t.SLEEP=t.SITE_CHANGE_TYPE_UNDECLARED=t.SITE_CHANGE_TUBING=t.SITE_CHANGE_RESERVOIR=t.SITE_CHANGE_CANNULA=t.SITE_CHANGE=t.SETTINGS_OVERRIDE=t.SCHEDULED_DELIVERY=t.PREPRANDIAL=t.PHYSICAL_ACTIVITY=t.ONE_BUTTON_BOLUS=t.NO_SITE_CHANGE=t.MS_IN_MIN=t.MS_IN_HOUR=t.MS_IN_DAY=t.MMOLL_UNITS=t.MMOLL_CLAMP_TOP=t.MICROTECH=t.MGDL_UNITS=t.MGDL_PER_MMOLL=t.MGDL_CLAMP_TOP=t.MEDTRONIC=t.MAX_BOLUS=t.MAX_BASAL=t.LBS_PER_KG=t.INSULIN_DURATION=t.INSULET=t.GLYCEMIC_RANGES_TYPE=t.GLYCEMIC_RANGES_PRESET=t.EVENT_PUMP_SHUTDOWN=t.EVENT=t.DIY_LOOP=t.DIABETES_DATA_TYPES=t.DEFAULT_BG_BOUNDS=t.CGM_READINGS_ONE_DAY=t.CGM_DATA_KEY=t.BG_LOW=t.BG_HIGH=t.BG_DISPLAY_MINIMUM_INCREMENTS=t.BG_DATA_TYPES=t.BG_COLORS=t.BGM_DATA_KEY=t.AUTOMATED_SUSPEND=t.AUTOMATED_MODE_EXITED=t.AUTOMATED_DELIVERY=t.AUTOMATED_BOLUS=t.AUTOMATED_BASAL_DEVICE_MODELS=t.ANIMAS=t.ALARM_OVER_LIMIT=t.ALARM_OCCLUSION=t.ALARM_NO_POWER=t.ALARM_NO_INSULIN=t.ALARM_NO_DELIVERY=t.ALARM_AUTO_OFF=t.ALARM=t.ADA_STANDARD_BG_BOUNDS=t.ADA_PREGNANCY_T1_BG_BOUNDS=t.ADA_OLDER_HIGH_RISK_BG_BOUNDS=t.ADA_GESTATIONAL_T2_BG_BOUNDS=void 0;var r,o,i,s,l,d,u,c,f,A,p,g,m,h,b,y=a(n(271)),v=a(n(27825)),E=a(n(56427)),C=E.default.t.bind(E.default);void 0===v.default.get(E.default,"options.returnEmptyString")&&E.default.init({returnEmptyString:!1,nsSeparator:"|"}),t.BG_HIGH=C("High"),t.BG_LOW=C("Low"),t.springConfig={stiffness:180,damping:40,precision:.1},t.MGDL_CLAMP_TOP=400,t.MMOLL_CLAMP_TOP=22.5;var B=t.MGDL_UNITS=C("mg/dL"),T=t.MMOLL_UNITS=C("mmol/L"),S=(t.MGDL_PER_MMOLL=18.01559,t.BG_DISPLAY_MINIMUM_INCREMENTS=(r={},(0,y.default)(r,B,1),(0,y.default)(r,T,.1),r),t.GLYCEMIC_RANGES_PRESET={ADA_STANDARD:"adaStandard",ADA_OLDER_HIGH_RISK:"adaHighRisk",ADA_PREGNANCY_T1:"adaPregnancyType1",ADA_GESTATIONAL_T2:"adaPregnancyType2"},t.GLYCEMIC_RANGES_TYPE={PRESET:"preset",CUSTOM:"custom"},t.DEFAULT_BG_BOUNDS=(o={},(0,y.default)(o,B,{veryLowThreshold:54,targetLowerBound:70,targetUpperBound:180,veryHighThreshold:250,extremeHighThreshold:350,clampThreshold:600}),(0,y.default)(o,T,{veryLowThreshold:3,targetLowerBound:3.9,targetUpperBound:10,veryHighThreshold:13.9,extremeHighThreshold:19.4,clampThreshold:33.3}),o)),x=(t.ADA_STANDARD_BG_BOUNDS=S,t.ADA_OLDER_HIGH_RISK_BG_BOUNDS=(i={},(0,y.default)(i,B,{veryLowThreshold:null,targetLowerBound:70,targetUpperBound:180,veryHighThreshold:250,extremeHighThreshold:null,clampThreshold:600}),(0,y.default)(i,T,{veryLowThreshold:null,targetLowerBound:3.9,targetUpperBound:10,veryHighThreshold:13.9,extremeHighThreshold:null,clampThreshold:33.3}),i),t.ADA_PREGNANCY_T1_BG_BOUNDS=(s={},(0,y.default)(s,B,{veryLowThreshold:54,targetLowerBound:63,targetUpperBound:140,veryHighThreshold:null,extremeHighThreshold:null,clampThreshold:600}),(0,y.default)(s,T,{veryLowThreshold:3,targetLowerBound:3.5,targetUpperBound:7.8,veryHighThreshold:null,extremeHighThreshold:null,clampThreshold:33.3}),s)),w=(t.ADA_GESTATIONAL_T2_BG_BOUNDS=x,t.LBS_PER_KG=2.2046226218,t.trends={extentSizes:{ONE_WEEK:7,TWO_WEEKS:14,FOUR_WEEKS:28}},t.MS_IN_DAY=864e5,t.MS_IN_HOUR=36e5),I=(t.MS_IN_MIN=w/60,t.CGM_READINGS_ONE_DAY=288,t.CGM_DATA_KEY="cbg",t.BGM_DATA_KEY="smbg",t.NO_SITE_CHANGE="noSiteChange",t.SITE_CHANGE="siteChange",t.SITE_CHANGE_RESERVOIR="reservoirChange"),L=t.SITE_CHANGE_TUBING="tubingPrime",D=t.SITE_CHANGE_CANNULA="cannulaPrime",k=(t.ALARM="alarm",t.ALARM_NO_DELIVERY="no_delivery"),O=t.ALARM_AUTO_OFF="auto_off",N=t.ALARM_NO_INSULIN="no_insulin",P=t.ALARM_NO_POWER="no_power",R=t.ALARM_OCCLUSION="occlusion",M=t.ALARM_OVER_LIMIT="over_limit",_=(t.EVENT="event",t.EVENT_PUMP_SHUTDOWN="pump_shutdown"),F=t.AUTOMATED_BOLUS="automatedBolus",G=t.AUTOMATED_DELIVERY="automatedDelivery",j=t.AUTOMATED_SUSPEND="automatedSuspend",H=t.AUTOMATED_MODE_EXITED="automatedModeExited",U=t.SCHEDULED_DELIVERY="scheduledDelivery",Y=t.SETTINGS_OVERRIDE="settingsOverride",z=t.SLEEP="sleep",W=t.PHYSICAL_ACTIVITY="physicalActivity",V=t.PREPRANDIAL="preprandial",$=t.MAX_BOLUS="maxBolus",q=t.MAX_BASAL="maxBasal",Q=t.ONE_BUTTON_BOLUS="oneButtonBolus",K=t.INSULIN_DURATION="insulinDuration",X=(t.SITE_CHANGE_TYPE_UNDECLARED="undeclared",t.INSULET="Insulet"),Z=t.TANDEM="Tandem",J=t.ANIMAS="Animas",ee=t.TIDEPOOL_LOOP="Tidepool Loop",te=t.DIY_LOOP="DIY Loop",ne=t.TWIIST_LOOP="twiist",ae=t.MEDTRONIC="Medtronic",re=t.MICROTECH="Microtech",oe=(t.pumpVocabulary=(h={},(0,y.default)(h,J,(l={},(0,y.default)(l,I,C("Go Rewind")),(0,y.default)(l,L,C("Go Prime")),(0,y.default)(l,D,C("Cannula Fill")),l)),(0,y.default)(h,X,(d={},(0,y.default)(d,I,C("Pod Change")),(0,y.default)(d,L,C("Pod Activate")),(0,y.default)(d,D,C("Prime")),(0,y.default)(d,$,C("Maximum Bolus")),(0,y.default)(d,q,C("Max Basal Rate")),(0,y.default)(d,K,C("Duration of Insulin Action")),d)),(0,y.default)(h,ae,(u={},(0,y.default)(u,I,C("Rewind")),(0,y.default)(u,L,C("Prime")),(0,y.default)(u,D,C("Cannula Prime")),(0,y.default)(u,G,C("Auto Mode")),(0,y.default)(u,U,C("Manual")),(0,y.default)(u,$,C("Max Bolus")),(0,y.default)(u,q,C("Max Basal")),(0,y.default)(u,K,C("Active Insulin Time")),u)),(0,y.default)(h,re,(c={},(0,y.default)(c,I,C("Rewind")),(0,y.default)(c,L,C("Reservoir Prime")),(0,y.default)(c,D,C("Cannula Prime")),c)),(0,y.default)(h,Z,(f={},(0,y.default)(f,I,C("Cartridge Change")),(0,y.default)(f,L,C("Tubing Fill")),(0,y.default)(f,D,C("Cannula Fill")),(0,y.default)(f,G,C("Automation")),(0,y.default)(f,U,C("Manual")),(0,y.default)(f,Y,C("Activity")),(0,y.default)(f,z,{label:C("Sleep"),marker:C("Z")}),(0,y.default)(f,W,{label:C("Exercise"),marker:C("E")}),(0,y.default)(f,$,C("Max Bolus")),(0,y.default)(f,K,C("Insulin Duration")),f)),(0,y.default)(h,ee,(A={},(0,y.default)(A,G,C("Automation")),(0,y.default)(A,H,C("Off")),(0,y.default)(A,U,C("Manual")),(0,y.default)(A,Y,C("Preset")),(0,y.default)(A,W,{label:C("Workout"),marker:C("W")}),(0,y.default)(A,$,C("Maximum Bolus")),(0,y.default)(A,q,C("Maximum Basal Rate")),A)),(0,y.default)(h,ne,(p={},(0,y.default)(p,I,C("Cassette Change")),(0,y.default)(p,G,C("Automation")),(0,y.default)(p,H,C("Off")),(0,y.default)(p,U,C("Manual")),(0,y.default)(p,Y,C("Preset")),(0,y.default)(p,W,{label:C("Workout"),marker:C("W")}),(0,y.default)(p,$,C("Maximum Bolus")),(0,y.default)(p,q,C("Maximum Basal Rate")),(0,y.default)(p,N,C("Cassette Empty")),(0,y.default)(p,R,C("Line Blocked")),p)),(0,y.default)(h,te,(g={},(0,y.default)(g,G,C("Automation")),(0,y.default)(g,H,C("Off")),(0,y.default)(g,U,C("Manual")),(0,y.default)(g,Y,C("Preset")),(0,y.default)(g,W,{label:C("Workout"),marker:C("W")}),(0,y.default)(g,$,C("Maximum Bolus")),(0,y.default)(g,q,C("Maximum Basal Rate")),g)),(0,y.default)(h,"default",(m={},(0,y.default)(m,I,C("Cartridge Change")),(0,y.default)(m,L,C("Tubing Fill")),(0,y.default)(m,D,C("Cannula Fill")),(0,y.default)(m,F,C("Automated")),(0,y.default)(m,G,C("Automated")),(0,y.default)(m,j,C("Automated Suspend")),(0,y.default)(m,H,C("Exited")),(0,y.default)(m,U,C("Manual")),(0,y.default)(m,Y,C("Settings Override")),(0,y.default)(m,z,{label:C("Sleep"),marker:C("Z")}),(0,y.default)(m,W,{label:C("Exercise"),marker:C("E")}),(0,y.default)(m,V,{label:C("Premeal"),marker:C("P")}),(0,y.default)(m,$,C("Max Bolus")),(0,y.default)(m,q,C("Max Basal")),(0,y.default)(m,K,C("Insulin Duration")),(0,y.default)(m,Q,C("One-Button Bolus")),(0,y.default)(m,k,C("Insulin Delivery Stopped")),(0,y.default)(m,O,C("Pump Auto-Off")),(0,y.default)(m,N,C("Reservoir Empty")),(0,y.default)(m,P,C("Battery Empty")),(0,y.default)(m,R,C("Occlusion Detected")),(0,y.default)(m,M,C("Insulin Delivery Limit Exceeded")),(0,y.default)(m,_,C("Pump Shutdown")),m)),h),t.settingsOverrides=(b={},(0,y.default)(b,Z,[z,W]),(0,y.default)(b,ee,[W,V]),(0,y.default)(b,ne,[W,V]),(0,y.default)(b,te,[V]),(0,y.default)(b,"default",[z,W,V]),b),t.AUTOMATED_BASAL_DEVICE_MODELS=(0,y.default)({},ae,["1580","1581","1582","1780","1781","1782"]),t.BG_DATA_TYPES=["cbg","smbg"]);t.DIABETES_DATA_TYPES=[].concat(oe,["basal","bolus","wizard","food"]),t.BG_COLORS={veryLow:"#FB5951",low:"#FF8B7C",target:"#76D3A6",high:"#BB9AE7",veryHigh:"#8C65D6"}},74501:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.TWENTY_FOUR_HRS=t.THREE_HRS=t.THIRTY_MINS=t.ONE_HR=void 0,t.formatBirthdate=function(e){var t=r.default.get(e,["profile","patient","birthday"],"");return t?(0,o.utcFormat)("%b %-d, %Y")(Date.parse(t)):""},t.formatClocktimeFromMsPer24=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"h:mm a";if(r.default.isNull(e)||r.default.isUndefined(e)||e<0||e>u||e instanceof Date)throw new Error("First argument must be a value in milliseconds per twenty-four hour day!");return i.default.utc(e).format(t)},t.formatCurrentDate=function(){return(0,o.timeFormat)("%b %-d, %Y")(new Date)},t.formatDateRange=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"MMM",r=i.default.utc(e,n),o=i.default.utc(t,n),s=r.isSame(o,"year"),l=r.isSame(o,"day"),d=s?r.format("".concat(a," D")):r.format("".concat(a," D, YYYY")),u=o.format("".concat(a," D, YYYY"));return l?u:"".concat(d," - ").concat(u)},t.formatDiagnosisDate=function(e){var t=r.default.get(e,["profile","patient","diagnosisDate"],"");return t?(0,o.utcFormat)("%b %-d, %Y")(Date.parse(t)):""},t.formatDuration=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=i.default.duration(e),a=n.days(),r=n.hours(),o=n.minutes(),s=n.seconds(),l=t.ascii?" 1/4":"¼",d=t.ascii?" 1/3":"⅓",u=t.ascii?" 1/2":"½",c=t.ascii?" 2/3":"⅔",f=t.ascii?" 3/4":"¾";if(t.condensed){var A={days:"",hours:"",minutes:"",seconds:""};if(a+r+o===0)s>0?A.seconds="".concat(s,"s"):A.minutes="0m";else{var p=s>=30?o+1:o,g=r,m=a;p>=60&&(p-=60,g++),g>=24&&(g-=24,m++),A.days=0!==m?"".concat(m,"d "):"",A.hours=0!==g?"".concat(g,"h "):"",A.minutes=0!==p?"".concat(p,"m "):""}return"".concat(A.days).concat(A.hours).concat(A.minutes).concat(A.seconds).trim()}if(0===r)return"".concat(o," min");var h=1===r?"hr":"hrs";switch(o){case 0:return"".concat(r," ").concat(h);case 15:return"".concat(r).concat(l," ").concat(h);case 20:return"".concat(r).concat(d," ").concat(h);case 30:return"".concat(r).concat(u," ").concat(h);case 40:return"".concat(r).concat(c," ").concat(h);case 45:return"".concat(r).concat(f," ").concat(h);default:return"".concat(r," ").concat(h," ").concat(o," min")}},t.formatLocalizedFromUTC=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"dddd, MMMM D";if(e instanceof Date)throw new Error("`utc` must be a ISO-formatted String timestamp or integer hammertime!");var a=f(t);return i.default.utc(e).tz(a).format(n)},t.formatTimeAgo=void 0,t.getBrowserTimezone=c,t.getLocalizedCeiling=A,t.getMsPer24=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"UTC",n=i.default.utc(e).tz(t);return 1e3*n.hours()*60*60+1e3*n.minutes()*60+1e3*n.seconds()+n.milliseconds()},t.getOffset=function(e,t){var n="string"==typeof e?Date.parse(e):e;return i.default.tz.zone(t).utcOffset(n)},t.getTimezoneFromTimePrefs=f;var r=a(n(27825)),o=n(51427),i=a(n(55812)),s=a(n(63452)),l=a(n(56427)),d=l.default.t.bind(l.default),u=(t.THIRTY_MINS=18e5,t.ONE_HR=36e5,t.THREE_HRS=108e5,t.TWENTY_FOUR_HRS=864e5);function c(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.timezoneAware,n=e.timezoneName;try{var a=c()||"UTC";return t&&n&&(a=n),s.default.checkTimezoneName(a),a}catch(e){return"UTC"}}function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"day";if(e instanceof Date)throw new Error("`utc` must be a ISO-formatted String timestamp or integer hammertime!");if(!r.default.includes(["day","hour"],n))throw new Error('`period` must be either "day" or "hour"');var a=f(t),o=i.default.utc(e).tz(a).startOf(n),s="string"==typeof e?Date.parse(e):e;return o.valueOf()===s?o.toDate():o.add(1,n).toDate()}t.formatTimeAgo=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"YYYY-MM-DD",a=f(t),r=i.default.utc(A((new Date).toISOString(),t)).tz(a),o=i.default.utc(A(e,t)).tz(a),s=r.diff(o,"days",!0),l=i.default.utc().tz(a).diff(e,"minutes"),u=i.default.utc().tz(a).diff(e,"hours"),c=i.default.utc(e).tz(a).format(n);s<2?c=d(s>=1?"yesterday":"today"):s<=30&&(c=d("{{days}} days ago",{days:Math.ceil(s)}));var p=d("{{hoursAgo}} {{unit}} ago",{hoursAgo:u,unit:1===u?"hour":"hours"}),g=d("{{minutesAgo}} {{unit}} ago",{minutesAgo:l,unit:1===l?"minute":"minutes"});return l<1&&(g=d("a few seconds ago")),{daysAgo:s,daysText:c,hoursAgo:u,hoursText:p,minutesAgo:l,minutesText:g}}},11270:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getLastManualBasalSchedule=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=r.default.findLast(e,{deliveryType:"scheduled"});return r.default.get(t,"scheduleName")},t.getLatestPumpUpload=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return r.default.findLast(e,{deviceTags:["insulin-pump"]})},t.getPumpVocabulary=function(e){var t=r.default.cloneDeep(o.pumpVocabulary);return r.default.defaults(r.default.get(t,f(e),{}),t.default)},t.getSettingsOverrides=function(e){return r.default.get(o.settingsOverrides,f(e),o.settingsOverrides.default)},t.getUppercasedManufacturer=f,t.isAutomatedBasalDevice=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return r.default.includes(r.default.get(o.AUTOMATED_BASAL_DEVICE_MODELS,(0,i.deviceName)(e),[]),n)||"tandem"===e&&u(t)||c(t)},t.isAutomatedBolusDevice=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"tandem"===e&&u(t)||s(t)},t.isControlIQ=u,t.isDIYLoop=s,t.isLibreViewAPI=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a="org.tidepool.abbott.libreview.partner.api";return(null==n||null===(e=n.client)||void 0===e?void 0:e.name)===a||(null==n||null===(t=n.origin)||void 0===t?void 0:t.name)===a},t.isLoop=c,t.isOneMinCGMSampleIntervalDevice=function(){return d(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},t.isSettingsOverrideDevice=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"tandem"===e&&u(t)||c(t)},t.isTidepoolLoop=l,t.isTwiistLoop=d;var r=a(n(27825)),o=n(66871),i=n(89540);function s(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return/^com\.[a-zA-Z0-9]*\.?loopkit\.Loop/.test(r.default.get(t,"origin.name",(null==t||null===(e=t.client)||void 0===e?void 0:e.name)||""))}function l(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return/^org\.tidepool\.[a-zA-Z0-9]*\.?Loop/.test(r.default.get(t,"origin.name",(null==t||null===(e=t.client)||void 0===e?void 0:e.name)||""))}function d(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("upload"===t.type){var n=parseInt(r.default.get(t,"client.version","0").split(".")[0],10);return/^com.sequelmedtech.tidepool-service/.test(r.default.get(t,"client.name",""))&&n>=2}return/^com.dekaresearch.twiist/.test(r.default.get(t,"origin.name",(null==t||null===(e=t.client)||void 0===e?void 0:e.name)||""))}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 0===r.default.get(e,"deviceId","").indexOf("tandemCIQ")}function c(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(null===(e=t.tags)||void 0===e?void 0:e.loop)||s(t)||l(t)||d(t)}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return r.default.map(e.split(" "),(function(e){switch(e){case"diy":return r.default.upperCase(e);case"twiist":return e;default:return r.default.upperFirst(e)}})).join(" ")}},99559:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.bankersRound=l,t.formatBgValue=function(e,t,n){var a=r.default.get(t,"bgUnits","");if(!r.default.isEmpty(n)){var o=n.low,d=n.high;if(a===s.MMOLL_UNITS&&(o&&(o=(0,i.convertToMmolL)(o)),d&&(d=(0,i.convertToMmolL)(d))),o&&e<o)return s.BG_LOW;if(d&&e>d)return s.BG_HIGH}return a===s.MMOLL_UNITS?l(e,1).toFixed(1):l(e).toString()},t.formatDecimalNumber=d,t.formatInsulin=function(e){var t=1,n=e.toString();if(-1!==n.indexOf(".")){var a=n.split(".")[1].length;t=r.default.min([a,3])}return d(e,t)},t.formatPercentage=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return Number.isNaN(e)?"--%":n?"".concat(l(100*e,t),"%"):(0,o.format)(".".concat(t,"%"))(e)},t.formatStatsPercentage=function(e){if(Number.isNaN(e))return"--";var t=100*e,n=l(t,t>=1?0:1);return r.default.toString(n)},t.precisionRound=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=t>0?Math.pow(10,t):1;return Math.round(e*n)/n},t.removeTrailingZeroes=function(e){return e.replace(/\.0+$/,"")};var r=a(n(27825)),o=n(19483),i=n(84240),s=n(66871);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e*Math.pow(10,t),a=Math.round(n);return(Math.abs(n)%1==.5?a%2==0?a:a-1:a)/Math.pow(10,t)}function d(e,t){return null==t?(0,o.format)("d")(e):(0,o.format)(".".concat(t,"f"))(e)}},85199:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGlycemicRangesPreset=void 0;var a=n(66871);t.getGlycemicRangesPreset=function(e){if(!e)return a.GLYCEMIC_RANGES_PRESET.ADA_STANDARD;switch(e.type){case a.GLYCEMIC_RANGES_TYPE.PRESET:return e.preset;case a.GLYCEMIC_RANGES_TYPE.CUSTOM:default:return a.GLYCEMIC_RANGES_PRESET.ADA_STANDARD}}},19992:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getPatientFullName=function(e){var t=r.default.get(e,["profile"],{}),n=t.patient||{};return n.isOtherPerson?n.fullName:t.fullName};var r=a(n(27825))},51856:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.generateAGPFigureDefinitions=function(e){return f.apply(this,arguments)};var r=a(n(89679)),o=a(n(17559)),i=a(n(27825)),s=a(n(55812)),l=n(80358),d=n(74501),u=n(66871),c=n(87307);function f(){return(f=(0,o.default)((0,r.default)().mark((function e(t){var n,a,o,f,A,p,g,m,h,b,y,v,E,C,B,T,S,x,w,I,L,D,k,O,N;return(0,r.default)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a={},o=i.default.get(t,"metaData.bgSources.current"),f=i.default.get(t,"data.current.endpoints",{}),A=(0,c.generateChartSections)(t,o),p={},g=i.default.get(t,"data.current.stats",{}),i.default.forOwn(g,(function(e,n){var a=(0,l.getStatDefinition)(e,n,{bgSource:o,days:f.activeDays||f.days,bgPrefs:t.bgPrefs});p[n]=a})),m=o===u.CGM_DATA_KEY?p.timeInRange:p.readingsInRange,null!==(n=A.percentInRanges)&&void 0!==n&&n.sufficientData&&(a.percentInRanges=(0,c.generatePercentInRangesFigure)(A.percentInRanges,m,t.bgPrefs,null===(h=t.query)||void 0===h?void 0:h.glycemicRanges)),(A.ambulatoryGlucoseProfile.sufficientData||o===u.BGM_DATA_KEY)&&(E=(null==t||null===(b=t.data)||void 0===b||null===(y=b.current)||void 0===y||null===(v=y.data)||void 0===v?void 0:v[o])||[],a.ambulatoryGlucoseProfile=(0,c.generateAmbulatoryGlucoseProfileFigure)(A.ambulatoryGlucoseProfile,E,t.bgPrefs,o)),A.dailyGlucoseProfiles.sufficientData&&(w="cbg"===o?"cbgDeduplicated":o,I=i.default.mapValues(null==t||null===(C=t.data)||void 0===C||null===(B=C.current)||void 0===B||null===(T=B.aggregationsByDate)||void 0===T?void 0:T.dataByDate,w),L=(null===(S=p.bgExtents)||void 0===S||null===(x=S.data)||void 0===x?void 0:x.raw)||{},D=L.newestDatum,k=i.default.chunk(i.default.map(i.default.range(14),(function(e,n){return s.default.utc(null==D?void 0:D.time).tz((0,d.getTimezoneFromTimePrefs)(t.timePrefs)).subtract(n,"days").format("YYYY-MM-DD")})).reverse(),7),O=i.default.map(k[0],(function(e){return[[e],I[e]]})),N=i.default.map(k[1],(function(e){return[[e],I[e]]})),a.dailyGlucoseProfiles=[(0,c.generateDailyGlucoseProfilesFigure)(A.dailyGlucoseProfiles,O,t.bgPrefs,"dddd"),(0,c.generateDailyGlucoseProfilesFigure)(A.dailyGlucoseProfiles,N,t.bgPrefs,"ha")]),e.abrupt("return",a);case 12:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},89540:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.deviceName=g,t.getDeviceMeta=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=e.normalTime,a=!!n&&s.formatLocalizedFromUTC(n,t,"MMM D, YYYY");return{schedule:e.activeSchedule||"unknown",uploaded:a||"unknown",serial:e.deviceSerialNumber||"unknown"}},t.getScheduleLabel=function(e,t,n,a){var r=e;return o.default.includes(["carelink","medtronic"],n)&&(r=o.default.map(e.split(" "),(function(e){return o.default.upperFirst(e)})).join(" ")),{main:r,secondary:e===t?"Active at upload":"",units:a?"":"U/hr"}},t.getScheduleNames=function(e){return o.default.keysIn(e)},t.getTimedSchedules=function(e){for(var t=o.default.map(e,"name"),n=[],a=t.length-1;a>=0;a--)n.push({name:t[a],position:a});return n},t.getTotalBasalRates=v,t.insulinSettings=function(e,t,n){var a,r=null==e||null===(a=e.units)||void 0===a?void 0:a.bg,i=(0,d.getPumpVocabulary)(t),s=o.default.get(e,n?"basal[".concat(n,"].rateMaximum.value"):"basal.rateMaximum.value"),f=o.default.get(e,n?"bolus[".concat(n,"].amountMaximum.value"):"bolus.amountMaximum.value"),p=o.default.get(e,n?"bolus[".concat(n,"].calculator.insulin.units"):"bolus.calculator.insulin.units"),m=o.default.get(e,n?"bolus[".concat(n,"].calculator.insulin.duration"):"bolus.calculator.insulin.duration");if(o.default.includes(["diy loop","tidepool loop","twiist"],t)&&(m=o.default.get(e,"insulinModel.actionDuration"),p="milliseconds"),"minutes"===p){var h=Math.floor(m/60),b=m%60;m=b>0?"".concat(h,":").concat(o.default.padStart(b,2,"0")):h}if("milliseconds"===p){var y=Math.floor(m/60/60),v=m%60;m=v>0?"".concat(y,":").concat(o.default.padStart(v,2,"0")):y}var E=[{setting:i[u.MAX_BASAL],value:s?"".concat(l.formatDecimalNumber(s,A)," U/hr"):"-"},{setting:i[u.MAX_BOLUS],value:f?"".concat(f," U"):"-"},{setting:i[u.INSULIN_DURATION]+((0,d.isControlIQ)(e)?"*":""),value:m?"".concat(m," hrs"):"-"}];if((0,d.isLoop)(e)){var C,B,T,S={label:{rapidAdult:c("Rapid-Acting - Adults"),rapidChild:c("Rapid Acting - Children"),fiasp:c("Fiasp"),lyumjev:c("Lyumjev"),afrezza:c("Afrezza")}[null==e||null===(C=e.insulinModel)||void 0===C?void 0:C.modelType]||(null==e||null===(B=e.insulinModel)||void 0===B?void 0:B.modelType)||c("Unknown"),peakMinutes:o.default.isFinite(null==e||null===(T=e.insulinModel)||void 0===T?void 0:T.actionPeakOffset)?e.insulinModel.actionPeakOffset/60:null},x=g(t),w=[c("{{device}} assumes that the insulin it has delivered is actively working to lower your glucose for 6 hours. This setting cannot be changed.",{device:x})];S.peakMinutes&&w.push(c("The {{label}} model assumes peak activity at {{peakMinutes}} minutes.",S)),E.unshift({annotations:[c("{{device}} will deliver basal and recommend bolus insulin only if your glucose is predicted to be above this limit for the next three hours.",{device:x})],setting:c("Glucose Safety Limit"),value:"".concat(l.formatBgValue(null==e?void 0:e.bgSafetyLimit,{bgUnits:r})," ").concat(r)}),E.splice(3,1,{annotations:w,setting:c("Insulin Model"),value:S.label})}return"tandem"===t&&E.shift(),{columns:[{key:"setting"},{key:"value"}],rows:E}},t.noData=p,t.presetSettings=function(e,t){var n,a,r,o=(0,d.getPumpVocabulary)(t),i=null==e||null===(n=e.units)||void 0===n?void 0:n.bg,s=function(e){return"".concat(l.formatBgValue(null==e?void 0:e.low,{bgUnits:i}),"-").concat(l.formatBgValue(null==e?void 0:e.high,{bgUnits:i}))},f=[{key:"name",label:"Name"},{key:"value",label:"".concat(c("Correction Range")," (").concat(i,")")}],A=[];return null!=e&&e.bgTargetPreprandial&&A.push({name:null===(a=o[u.PREPRANDIAL])||void 0===a?void 0:a.label,value:s(null==e?void 0:e.bgTargetPreprandial)}),null!=e&&e.bgTargetPhysicalActivity&&A.push({name:null===(r=o[u.PHYSICAL_ACTIVITY])||void 0===r?void 0:r.label,value:s(null==e?void 0:e.bgTargetPhysicalActivity)}),{columns:f,rows:A}},t.processBasalRateData=function(e){var t=y(e.value),n=[{start:"-",rate:"-"}];if(0===t.length)return n;if(1===t.length&&0===Number(m(e.value,t[0])))return n;var a=o.default.map(t,(function(t){return{start:s.formatClocktimeFromMsPer24(t),rate:m(e.value,t)}}));return a.push({start:"Total",rate:v(e.value)}),a},t.processBgTargetData=function(e,t,n){return o.default.map(y(e),(function(a){return{start:s.formatClocktimeFromMsPer24(a),columnTwo:b(e,n.columnTwo,a,t),columnThree:b(e,n.columnThree,a,t)}}))},t.processCarbRatioData=function(e){return o.default.map(y(e),(function(t){return{start:s.formatClocktimeFromMsPer24(t),amount:h(e,"amount",t)}}))},t.processSensitivityData=function(e,t){return o.default.map(y(e),(function(n){return{start:s.formatClocktimeFromMsPer24(n),amount:b(e,"amount",n,t)}}))},t.processTimedSettings=function(e,t,n){var a=o.default.map(y(e.bgTargets[t.name]),(function(a){return{start:s.formatClocktimeFromMsPer24(a),rate:m(e.basalSchedules[t.position].value,a),bgTarget:b(e.bgTargets[t.name],"target",a,n),carbRatio:h(e.carbRatios[t.name],"amount",a),insulinSensitivity:b(e.insulinSensitivities[t.name],"amount",a,n)}}));return a.push({start:"Total",rate:v(e.basalSchedules[t.position].value),bgTarget:"",carbRatio:"",insulinSensitivity:""}),a},t.startTimeAndValue=function(e){return[{key:"start",label:"Start time"},{key:e,label:"Value"}]};var o=r(n(27825)),i=r(n(56427)),s=a(n(74501)),l=a(n(99559)),d=n(11270),u=n(66871),c=i.default.t.bind(i.default),f=3,A=2;function p(e){return null==e||"string"==typeof e&&o.default.isEmpty(e)}function g(e){return{animas:"Animas",insulet:"OmniPod",medtronic:"Medtronic",tandem:"Tandem",microtech:"Equil","diy loop":"DIY Loop","tidepool loop":"Tidepool Loop",twiist:"twiist"}[e]||e}function m(e,t){var n=o.default.find(e,(function(e){return e.start===t})).rate;return p(n)?"":l.formatDecimalNumber(n,f)}function h(e,t,n){var a=o.default.find(e,(function(e){return e.start===n}))[t];return p(a)?"":a}function b(e,t,n,a){var r=h(e,t,n);return p(r)?"":l.formatBgValue(r,{bgUnits:a})}function y(e){return o.default.map(e,"start")}function v(e){for(var t=0,n=e.length-1;n>=0;n--){var a=e[n].start,r=864e5,o=n+1;o<e.length&&(r=e[o].start);var i=(r-a)/36e5,s=parseFloat(e[n].rate.toFixed(f))*i;t+=parseFloat(s.toFixed(f))}return l.formatDecimalNumber(t,f)}},31266:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.basal=function(e,t,n){var a=t.basalSchedules[e].name,r="carelink"===n?"medtronic":n,i=o.default.get(l.pumpVocabulary,[s.deviceName(r),l.AUTOMATED_DELIVERY])===a;return{scheduleName:a,activeAtUpload:a===t.activeSchedule,isAutomated:i,title:c(a,t.activeSchedule,n,i),columns:i?[]:s.startTimeAndValue("rate"),rows:i?[]:f(e,t)}},t.basalSchedules=function(e){return s.getScheduleNames(e.basalSchedules)},t.bolusTitle=function(e){return{animas:u("ezCarb ezBG"),insulet:u("Bolus Calculator"),medtronic:u("Bolus Wizard"),microtech:u("Bolus Calculator"),"tidepool loop":u("Bolus Calculator"),"diy loop":u("Bolus Calculator"),twiist:u("Bolus Calculator")}[e]},t.deviceMeta=function(e,t){return s.getDeviceMeta(e,t)},t.ratio=function(e,t){return{title:g(t),columns:s.startTimeAndValue("amount"),rows:m(e)}},t.sensitivity=function(e,t,n){return{title:A(t),columns:s.startTimeAndValue("amount"),rows:p(e,n)}},t.target=function(e,t,n){var a=s.deviceName(t);return{annotations:(0,d.isLoop)(e)?[u("Correction Range is the glucose value (or range of values) that you want {{device}} to aim for in adjusting your basal insulin and helping you calculate your boluses.",{device:a})]:null,title:h(t),columns:b(t),rows:y(e,n,t)}};var o=r(n(27825)),i=r(n(56427)),s=a(n(89540)),l=n(66871),d=n(11270),u=i.default.t.bind(i.default);function c(e,t,n,a){return s.getScheduleLabel(e,t,n,a)}function f(e,t){return s.processBasalRateData(t.basalSchedules[e])}function A(e){return{animas:u("ISF"),insulet:u("Correction factor"),medtronic:u("Sensitivity"),microtech:u("Insulin Sensitivity"),"diy loop":u("Insulin Sensitivities"),"tidepool loop":u("Insulin Sensitivities"),twiist:u("Insulin Sensitivities")}[e]}function p(e,t){var n;return s.processSensitivityData(e.insulinSensitivity||(null===(n=e.insulinSensitivities)||void 0===n?void 0:n[e.activeSchedule]),t)}function g(e){return{animas:u("I:C Ratio"),insulet:u("IC ratio"),medtronic:u("Carb Ratios"),microtech:u("Carbohydrate Ratio"),"diy loop":u("Carb Ratios"),"tidepool loop":u("Carb Ratios"),twiist:u("Carb Ratios")}[e]}function m(e){var t;return s.processCarbRatioData(e.carbRatio||(null===(t=e.carbRatios)||void 0===t?void 0:t[e.activeSchedule]))}function h(e){return{animas:u("BG Target"),insulet:u("Target BG"),medtronic:u("BG Target"),microtech:u("Target BG"),"diy loop":u("Correction Range"),"tidepool loop":u("Correction Range"),twiist:u("Correction Range")}[e]}function b(e){return{animas:[{key:"start",label:u("Start time")},{key:"columnTwo",label:u("Target")},{key:"columnThree",label:u("Range")}],insulet:[{key:"start",label:u("Start time")},{key:"columnTwo",label:u("Target")},{key:"columnThree",label:u("Correct Above")}],medtronic:[{key:"start",label:u("Start time")},{key:"columnTwo",label:u("Low")},{key:"columnThree",label:u("High")}],microtech:[{key:"start",label:u("Start time")},{key:"columnTwo",label:u("Lower")},{key:"columnThree",label:u("Upper")}],"diy loop":[{key:"start",label:u("Start time")},{key:"columnTwo",label:u("Low")},{key:"columnThree",label:u("High")}],"tidepool loop":[{key:"start",label:u("Start time")},{key:"columnTwo",label:u("Low")},{key:"columnThree",label:u("High")}],twiist:[{key:"start",label:u("Start time")},{key:"columnTwo",label:u("Low")},{key:"columnThree",label:u("High")}]}[e]}function y(e,t,n){var a=o.default.includes(["diy loop","tidepool loop","twiist"],n)?e.bgTargets[e.activeSchedule]:e.bgTarget;return s.processBgTargetData(a,t,{animas:{columnTwo:"target",columnThree:"range"},insulet:{columnTwo:"target",columnThree:"high"},medtronic:{columnTwo:"low",columnThree:"high"},microtech:{columnTwo:"low",columnThree:"high"},"diy loop":{columnTwo:"low",columnThree:"high"},"tidepool loop":{columnTwo:"low",columnThree:"high"},twiist:{columnTwo:"low",columnThree:"high"}}[n])}},72255:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.basal=function(e,t,n){var a,r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return{scheduleName:e.name,activeAtUpload:e.name===t.activeSchedule,title:(a=e.name,r=t.activeSchedule,s.getScheduleLabel(a,r,"tandem",!0)),columns:u(o,n,(0,i.isControlIQ)(t)),rows:d(e,t,n)}},t.basalSchedules=function(e){return s.getTimedSchedules(e.basalSchedules)},t.deviceMeta=function(e,t){return s.getDeviceMeta(e,t)};var o=r(n(56427)),i=n(11270),s=a(n(89540)),l=o.default.t.bind(o.default);function d(e,t,n){return s.processTimedSettings(t,e,n)}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return[{key:"start",label:"Start time"},{key:"rate",label:{main:l("Basal Rates"),secondary:"U/hr"},className:e.basalScheduleHeader},{key:"bgTarget",label:{main:l("Target BG")+(n?"*":""),secondary:t},className:e.bolusSettingsHeader},{key:"carbRatio",label:{main:l("Carb Ratio"),secondary:"g/U"},className:e.bolusSettingsHeader},{key:"insulinSensitivity",label:{main:l("Correction Factor"),secondary:"".concat(t,"/U")},className:e.bolusSettingsHeader}]}},4903:(e,t,n)=>{"use strict";var a=n(67049).default,r=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.nonTandemText=function(e,t,n,a){var r=new s.default(e),i=r.buildDocumentHeader("Device Settings");o.default.map(d.basalSchedules(t),(function(e){var n=d.basal(e,t,a);i+=r.buildTextTable(n.scheduleName,n.rows,n.columns)}));var l=d.target(t,a,n);i+=r.buildTextTable("".concat(l.title," ").concat(n),l.rows,l.columns);var f=d.ratio(t,a),A="exchanges"===o.default.get(t,"units.carb")?"U/exch":"g/U";i+=r.buildTextTable("".concat(f.title," ").concat(A),f.rows,f.columns);var p=d.sensitivity(t,a,n);if(i+=r.buildTextTable("".concat(p.title," ").concat(n,"/U"),p.rows,p.columns),!o.default.includes(["animas","microtech"],a)){var g=(0,u.insulinSettings)(t,a),m=g.rows,h=g.columns;i+=r.buildTextTable(c("Insulin Settings"),m,h,{showHeader:!1})}var b=(0,u.presetSettings)(t,a);return b.rows.length&&(i+=r.buildTextTable(c("Presets"),b.rows,b.columns)),i},t.tandemText=function(e,t,n){var a=new s.default(e),r=a.buildDocumentHeader("Device Settings"),i={bolusSettingsHeader:"",basalScheduleHeader:""};return o.default.map(l.basalSchedules(t),(function(e){var o=l.basal(e,t,n,i),s=(0,u.insulinSettings)(t,"tandem",e.name),d=s.rows,f=s.columns;r+=a.buildTextTable(o.scheduleName,o.rows,o.columns),r+=a.buildTextTable(c("Insulin Settings"),d,f,{showHeader:!1})})),r};var o=r(n(27825)),i=r(n(56427)),s=r(n(40549)),l=a(n(72255)),d=a(n(31266)),u=n(89540),c=i.default.t.bind(i.default)},80358:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.statTypes=t.statFormats=t.statFetchMethods=t.statBgSourceLabels=t.isRangeDefined=t.getSum=t.getStatTitle=t.getStatDefinition=t.getStatData=t.getStatAnnotations=t.formatDatum=t.ensureNumeric=t.dailyDoseUnitOptions=t.commonStats=void 0,t.statsText=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:S;l.default.defaults(n,{bgBounds:(0,c.reshapeBgClassesToBgBounds)(n)});var r="";return l.default.each(e,(function(e){var i,s,d=l.default.includes([E.timeInRange,E.readingsInRange,E.totalInsulin,E.timeInAuto,E.timeInOverride,E.bgExtents],e.id),u=l.default.includes([E.readingsInRange,E.timeInAuto,E.timeInOverride,E.timeInRange],e.id),c={bgPrefs:n,data:e.data,forcePlainTextValues:!0},f="".concat(e.title).concat(e.units?" (".concat(e.units,")"):"");if("readingsInRange"===e.id&&(null===(i=e.data)||void 0===i||null===(s=i.raw)||void 0===s?void 0:s.total)>0&&(f+=m(" from {{count}} readings",{count:e.data.raw.total})),d)r+=t.buildTextTable(f,l.default.map(l.default.reverse((0,o.default)(e.data.data)),(function(t){var n=a(t,e.dataFormat.summary,c),r="".concat(n.value).concat(n.suffix||"");if(u){var o=a(t,e.dataFormat.tooltip,c);"readingsInRange"===e.id&&(o.suffix+=" readings/day"),r+=" (".concat(o.value).concat(o.suffix||"",")")}return{label:t.legendTitle||t.title,value:r}})),[{key:"label",label:"Label"},{key:"value",label:"Value"}],{showHeader:!1});else{var A=a(l.default.get(e.data,e.data.dataPaths.summary,{}),e.dataFormat.summary,c);0===A.value&&(A.value=[A.value]),l.default.isArray(A.value)||(A.value=l.default.compact([A.value])),l.default.isArray(A.suffix)||(A.suffix=l.default.compact([A.suffix])),r+="\n",r+=t.buildTextLine({label:e.title,value:l.default.map(A.value,(function(t,n){return"".concat(t).concat(A.suffix[n]||(e.units?" ".concat(e.units):""))})).join(" ")})}})),r};var r,o=a(n(84374)),i=a(n(37055)),s=a(n(271)),l=a(n(27825)),d=a(n(82015)),u=a(n(56427)),c=n(84240),f=n(66871),A=n(11270),p=n(99559),g=n(74501),m=u.default.t.bind(u.default);void 0===l.default.get(u.default,"options.returnEmptyString")&&u.default.init({returnEmptyString:!1,nsSeparator:"|"});var h=t.dailyDoseUnitOptions=[{label:"kg",value:"kg"},{label:"lb",value:"lb"}],b=t.statTypes={barHorizontal:"barHorizontal",barBg:"barBg",input:"input",simple:"simple"},y=t.statBgSourceLabels={cbg:m("CGM"),smbg:m("BGM")},v=t.statFormats={bgCount:"bgCount",bgRange:"bgRange",bgValue:"bgValue",cv:"cv",carbs:"carbs",duration:"duration",gmi:"gmi",percentage:"percentage",standardDevRange:"standardDevRange",standardDevValue:"standardDevValue",units:"units",unitsPerKg:"unitsPerKg"},E=t.commonStats={averageGlucose:"averageGlucose",averageDailyDose:"averageDailyDose",bgExtents:"bgExtents",carbs:"carbs",coefficientOfVariation:"coefficientOfVariation",glucoseManagementIndicator:"glucoseManagementIndicator",readingsInRange:"readingsInRange",sensorUsage:"sensorUsage",standardDev:"standardDev",timeInAuto:"timeInAuto",timeInOverride:"timeInOverride",timeInRange:"timeInRange",totalInsulin:"totalInsulin"},C=(t.statFetchMethods=(r={},(0,s.default)(r,E.averageGlucose,"getAverageGlucoseData"),(0,s.default)(r,E.averageDailyDose,"getTotalInsulinData"),(0,s.default)(r,E.bgExtents,"getBgExtentsData"),(0,s.default)(r,E.carbs,"getCarbsData"),(0,s.default)(r,E.coefficientOfVariation,"getCoefficientOfVariationData"),(0,s.default)(r,E.glucoseManagementIndicator,"getGlucoseManagementIndicatorData"),(0,s.default)(r,E.readingsInRange,"getReadingsInRangeData"),(0,s.default)(r,E.sensorUsage,"getSensorUsage"),(0,s.default)(r,E.standardDev,"getStandardDevData"),(0,s.default)(r,E.timeInAuto,"getTimeInAutoData"),(0,s.default)(r,E.timeInOverride,"getTimeInOverrideData"),(0,s.default)(r,E.timeInRange,"getTimeInRangeData"),(0,s.default)(r,E.totalInsulin,"getBasalBolusData"),r),t.getSum=function(e){return l.default.sum(l.default.map(e,(function(e){return l.default.max([e.value,0])})))}),B=t.ensureNumeric=function(e){return l.default.isNil(e)||l.default.isNaN(e)?-1:parseFloat(e)},T=t.isRangeDefined=function(e){return B(e)>-1},S=t.formatDatum=function(){var e,t,n,a,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=o.id,A=l.default.isFinite(o)?o:o.value,m=o.suffix||"",h=s.bgPrefs,b=s.data,y=s.useAGPFormat,E=s.emptyDataPlaceholder,C=void 0===E?"--":E,B=s.forcePlainTextValues,T=void 0!==B&&B,S=l.default.get(b,"total.value"),x=function(){u="statDisabled",A=C};switch(i){case v.bgCount:if(A>=0){var w=A<.05?2:1;A=+A.toFixed(w)}else x();break;case v.bgRange:A=(0,c.generateBgRangeLabels)(h,{condensed:!0})[u];break;case v.bgValue:A>=0?(u=(0,c.classifyBgValue)(l.default.get(h,"bgBounds"),null==h?void 0:h.bgUnits,A,"threeWay"),A=(0,p.formatBgValue)(A,h)):x();break;case v.carbs:if(l.default.isPlainObject(A)&&(A.grams>0||A.exchanges>0)){var I=A,L=I.grams,D=I.exchanges;A=[],m=[],L>0&&(A.push((0,p.formatDecimalNumber)(L)),m.push("g")),D>0&&(A.push(+(0,p.formatDecimalNumber)(D,1)),m.push("exch"))}else x();break;case v.cv:A>=0?(u=(0,c.classifyCvValue)(A),A=y?(0,p.bankersRound)(A,1).toString():(0,p.formatDecimalNumber)(A),m="%"):x();break;case v.duration:A>=0?A=(0,g.formatDuration)(A,{condensed:!0}):x();break;case v.gmi:A>=0?(A=y?(0,p.bankersRound)(A,1).toString():(0,p.formatDecimalNumber)(A,1),m="%"):x();break;case v.percentage:S&&S>=0?(A=l.default.max([A,0]),A=(0,p.formatStatsPercentage)(A/S),m="%"):x();break;case v.standardDevRange:e=l.default.get(o,"deviation.value",-1),A>=0&&e>=0?(n=(t=A-e)>=0?(0,c.classifyBgValue)(l.default.get(h,"bgBounds"),null==h?void 0:h.bgUnits,t,"threeWay"):"low",a=A+e,r=(0,c.classifyBgValue)(l.default.get(h,"bgBounds"),null==h?void 0:h.bgUnits,a,"threeWay"),t=(0,p.formatBgValue)(t,h),a=(0,p.formatBgValue)(a,h),A=T?"".concat(t,"-").concat(a):d.default.createElement("span",null,d.default.createElement("span",{style:{color:f.BG_COLORS[n]}},t)," - ",d.default.createElement("span",{style:{color:f.BG_COLORS[r]}},a))):x();break;case v.standardDevValue:A>=0?A=(0,p.formatBgValue)(A,h):x();break;case v.units:A>=0?(A=(0,p.formatDecimalNumber)(A,1),m="U"):x();break;case v.unitsPerKg:"lb"===m&&(A*=f.LBS_PER_KG),m="U/kg",A>0&&l.default.isFinite(A)?A=(0,p.formatDecimalNumber)(A,2):x()}return{id:u,value:A,suffix:m}},x=t.getStatAnnotations=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.bgSource,r=n.days,o=n.manufacturer,i=(0,A.getPumpVocabulary)(o),s={overrideLabel:i[f.SETTINGS_OVERRIDE],overrideLabelLowerCase:l.default.lowerCase(i[f.SETTINGS_OVERRIDE])},d=[],u=[E.averageGlucose,E.coefficientOfVariation,E.glucoseManagementIndicator,E.readingsInRange,E.timeInRange,E.standardDev];switch(t){case E.averageGlucose:d.push(m("**Avg. Glucose ({{bgSourceLabel}}):** All {{bgSourceLabel}} glucose values added together, divided by the number of readings.",{bgSourceLabel:y[a]}));break;case E.averageDailyDose:r>1?d.push(m("**Avg. Daily Insulin:** All basal and bolus insulin delivery (in Units) added together, divided by the number of days in this view for which we have insulin data.")):d.push(m("**Daily Insulin:** All basal and bolus insulin delivery (in Units) added together."));break;case E.carbs:r>1?d.push(m("**Avg. Daily Carbs**: All carb entries added together, then divided by the number of days in this view for which we have carb data. Note, these entries come from either bolus wizard events, or Apple Health records.")):d.push(m("**Total Carbs**: All carb entries from bolus wizard events or Apple Health records added together.")),d.push(m("Derived from _**{{total}}**_ carb entries.",{total:e.total}));break;case E.coefficientOfVariation:d.push(m("**CV (Coefficient of Variation):** How far apart (wide) glucose values are; research suggests a target of 36% or lower."));break;case E.glucoseManagementIndicator:d.push(m("**GMI (Glucose Management Indicator):** Tells you what your approximate A1C level is likely to be, based on the average glucose level from your CGM readings."));break;case E.readingsInRange:d.push(m("**Readings In Range:** Daily average of the number of {{smbgLabel}} readings.",{smbgLabel:y.smbg}));break;case E.sensorUsage:d.push(m("**Sensor Usage:** Time the {{cbgLabel}} collected data, divided by the total time represented in this view.",{cbgLabel:y.cbg}));break;case E.standardDev:d.push(m("**SD (Standard Deviation):** How far values are from the average."));break;case E.timeInAuto:r>1?(d.push(m("**Time In {{automatedLabel}}:** Daily average of the time spent in automated basal delivery.",{automatedLabel:i[f.AUTOMATED_DELIVERY]})),d.push(m("**How we calculate this:**\n\n**(%)** is the duration in {{automatedLabel}} divided by the total duration of basals for this time period.\n\n**(time)** is 24 hours multiplied by % in {{automatedLabel}}.",{automatedLabel:i[f.AUTOMATED_DELIVERY]}))):(d.push(m("**Time In {{automatedLabel}}:** Time spent in automated basal delivery.",{automatedLabel:i[f.AUTOMATED_DELIVERY]})),d.push(m("**How we calculate this:**\n\n**(%)** is the duration in {{automatedLabel}} divided by the total duration of basals for this time period.\n\n**(time)** is total duration of time in {{automatedLabel}}.",{automatedLabel:i[f.AUTOMATED_DELIVERY]})));break;case E.timeInOverride:r>1?(d.push(m("**Time In {{overrideLabel}}:** Daily average of the time spent in {{overrideLabelLowerCase}}.",s)),d.push(m("**How we calculate this:**\n\n**(%)** is the duration in {{overrideLabelLowerCase}} divided by the total duration for this time period.\n\n**(time)** is 24 hours multiplied by % in {{overrideLabelLowerCase}}.",s))):(d.push(m("**Time In {{overrideLabel}}:** Time spent in {{overrideLabelLowerCase}}.",s)),d.push(m("**How we calculate this:**\n\n**(%)** is the duration in {{overrideLabelLowerCase}} divided by the total duration for this time period.\n\n**(time)** is total duration of time in {{overrideLabelLowerCase}}.",s)));break;case E.timeInRange:r>1?(d.push(m("**Time In Range:** Daily average of the time spent in range, based on {{cbgLabel}} readings.",{cbgLabel:y.cbg})),d.push(m("**How we calculate this:**\n\n**(%)** is the number of readings in range divided by all readings for this time period.\n\n**(time)** is 24 hours multiplied by % in range."))):(d.push(m("**Time In Range:** Time spent in range, based on {{cbgLabel}} readings.",{cbgLabel:y.cbg})),d.push(m("**How we calculate this:**\n\n**(%)** is the number of readings in range divided by all readings for this time period.\n\n**(time)** is number of readings in range multiplied by the {{cbgLabel}} sample frequency.",{cbgLabel:y.cbg})));break;case E.totalInsulin:r>1?d.push(m("**Total Insulin:** All basal and bolus insulin delivery (in Units) added together, divided by the number of days in this view for which we have insulin data")):d.push(m("**Total Insulin:** All basal and bolus insulin delivery (in Units) added together")),d.push(m("**How we calculate this:**\n\n**(%)** is the respective total of basal or bolus delivery divided by total insulin delivered for the time period for which we have insulin data."))}return e.insufficientData?d.push(m("**Why is this stat empty?**\n\nThere is not enough data present in this view to calculate it.")):l.default.includes(u,t)&&"smbg"===a&&d.push(m("Derived from _**{{total}}**_ {{smbgLabel}} readings.",{total:l.default.get(e,"counts.total",e.total),smbgLabel:y.smbg})),d},w=t.getStatData=function(e,t){var n,a,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(0,A.getPumpVocabulary)(r.manufacturer),s=(0,A.getSettingsOverrides)(r.manufacturer),d=(0,c.generateBgRangeLabels)(r.bgPrefs,{condensed:!0}),u={raw:(0,i.default)({days:r.days},e)},p=r.days>1?"dailyAverages":"counts";switch(t){case E.averageGlucose:u.data=[{value:B(e.averageGlucose)}],u.dataPaths={summary:"data.0"};break;case E.averageDailyDose:u.data=[{id:"insulin",input:{id:"weight",label:"Weight",suffix:{id:"units",options:h,value:r.suffixValue||h[0]},type:"number",value:r.inputValue?B(r.inputValue):void 0},output:{label:"Daily Dose ÷ Weight",type:"divisor",dataPaths:{dividend:"data.0"}},value:B(e.totalInsulin)}],u.dataPaths={input:"data.0.input",output:"data.0.output",summary:"data.0"};break;case E.bgExtents:u.data=[{id:"bgMax",value:B(e.bgMax),title:m("Max BG")},{id:"bgMin",value:B(e.bgMin),title:m("Min BG")}];break;case E.carbs:u.data=[{value:{grams:B(l.default.get(e,"carbs.grams")),exchanges:B(l.default.get(e,"carbs.exchanges"))}}],u.dataPaths={summary:"data.0"};break;case E.coefficientOfVariation:u.data=[{id:"cv",value:B(e.coefficientOfVariation)}],u.dataPaths={summary:"data.0"};break;case E.glucoseManagementIndicator:u.data=[{id:"gmi",value:B(e.glucoseManagementIndicator)},{id:"gmiAGP",value:B(e.glucoseManagementIndicatorAGP)}],u.dataPaths={summary:"data.0",summaryAGP:"data.1"};break;case E.readingsInRange:u.data=l.default.filter([T(null===(n=e[p])||void 0===n?void 0:n.veryLow)&&{id:"veryLow",value:B(e[p].veryLow),title:m("Readings Below Range"),legendTitle:d.veryLow},{id:"low",value:B(e[p].low),title:m("Readings Below Range"),legendTitle:d.low},{id:"target",value:B(e[p].target),title:m("Readings In Range"),legendTitle:d.target},{id:"high",value:B(e[p].high),title:m("Readings Above Range"),legendTitle:d.high},T(null===(a=e[p])||void 0===a?void 0:a.veryHigh)&&{id:"veryHigh",value:B(e[p].veryHigh),title:m("Readings Above Range"),legendTitle:d.veryHigh}],Boolean),u.total={value:C(u.data)},u.dataPaths={summary:["data",l.default.findIndex(u.data,{id:"target"})],totalReadings:"raw.counts.total",averageDailyReadings:"total"};break;case E.sensorUsage:u.data=[{value:B(e.sensorUsage)},{value:B(e.sensorUsageAGP)}],u.total={value:B(e.total)},u.dataPaths={summary:"data.0",summaryAGP:"data.1"};break;case E.standardDev:u.data=[{value:B(e.averageGlucose),deviation:{value:B(e.standardDeviation)}}],u.dataPaths={summary:"data.0.deviation",title:"data.0"};break;case E.timeInAuto:u.data=[{id:"basalAutomated",value:B(e.automated),title:m("Time In {{automatedLabel}}",{automatedLabel:o[f.AUTOMATED_DELIVERY]}),legendTitle:o[f.AUTOMATED_DELIVERY]},{id:"basal",value:B(e.manual),title:m("Time In {{scheduledLabel}}",{scheduledLabel:o[f.SCHEDULED_DELIVERY]}),legendTitle:o[f.SCHEDULED_DELIVERY]}],u.total={value:C(u.data)},u.dataPaths={summary:["data",l.default.findIndex(u.data,{id:"basalAutomated"})]};break;case E.timeInOverride:u.data=l.default.map(s,(function(t){return{id:t,value:B(l.default.get(e,t,0)),title:m("Time In {{overrideLabel}}",{overrideLabel:l.default.get(o,[t,"label"])}),legendTitle:l.default.get(o,[t,"label"])}})),u.sum={value:C(u.data)},u.total={value:f.MS_IN_DAY},u.dataPaths={summary:"sum"};break;case E.timeInRange:u.data=l.default.filter([T(e.durations.veryLow)&&{id:"veryLow",value:B(e.durations.veryLow),title:m("Time Below Range"),legendTitle:d.veryLow},{id:"low",value:B(e.durations.low),title:m("Time Below Range"),legendTitle:d.low},{id:"target",value:B(e.durations.target),title:m("Time In Range"),legendTitle:d.target},{id:"high",value:B(e.durations.high),title:m("Time Above Range"),legendTitle:d.high},T(e.durations.veryHigh)&&{id:"veryHigh",value:B(e.durations.veryHigh),title:m("Time Above Range"),legendTitle:d.veryHigh}],Boolean),u.total={value:C(u.data)},u.dataPaths={summary:["data",l.default.findIndex(u.data,{id:"target"})]};break;case E.totalInsulin:u.data=[{id:"bolus",value:B(e.bolus),title:m("Bolus Insulin"),legendTitle:m("Bolus")},{id:"basal",value:B(e.basal),title:m("Basal Insulin"),legendTitle:m("Basal")}],u.total={id:"insulin",value:C(u.data)},u.dataPaths={summary:"total",title:"total"};break;default:u=void 0}return u},I=t.getStatTitle=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.bgSource,r=n.days,o=(0,A.getPumpVocabulary)(n.manufacturer),i=m("cbg"===a?"Glucose":"BG");switch(e){case E.averageGlucose:t=m("Avg. Glucose ({{bgSourceLabel}})",{bgSourceLabel:y[a]});break;case E.averageDailyDose:t=m(r>1?"Avg. Daily Insulin":"Total Insulin");break;case E.bgExtents:t=m("{{bgTypeLabel}} Extents ({{bgSourceLabel}})",{bgSourceLabel:y[a],bgTypeLabel:i});break;case E.carbs:t=m(r>1?"Avg. Daily Carbs":"Total Carbs");break;case E.coefficientOfVariation:t=m("CV ({{bgSourceLabel}})",{bgSourceLabel:y[a]});break;case E.glucoseManagementIndicator:t=m("GMI ({{bgSourceLabel}})",{bgSourceLabel:y[a]});break;case E.readingsInRange:t=m(r>1?"Avg. Daily Readings In Range":"Readings In Range");break;case E.sensorUsage:t=m("Sensor Usage");break;case E.standardDev:t=m("Std. Deviation ({{bgSourceLabel}})",{bgSourceLabel:y[a]});break;case E.timeInAuto:t=m(r>1?"Avg. Daily Time In {{automatedLabel}}":"Time In {{automatedLabel}}",{automatedLabel:o[f.AUTOMATED_DELIVERY]});break;case E.timeInOverride:t=m(r>1?"Avg. Daily Time In {{overrideLabel}}":"Time In {{overrideLabel}}",{overrideLabel:o[f.SETTINGS_OVERRIDE]});break;case E.timeInRange:t=m(r>1?"Avg. Daily Time In Range":"Time In Range");break;case E.totalInsulin:t=m(r>1?"Avg. Daily Total Insulin":"Total Insulin");break;default:t=""}return t};t.getStatDefinition=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a={annotations:x(e,t,n),collapsible:l.default.get(n,"collapsible",!1),data:w(e,t,n),id:t,title:I(t,n),type:b.barHorizontal};switch(t){case E.averageGlucose:a.dataFormat={label:v.bgValue,summary:v.bgValue},a.type=b.barBg,a.units=l.default.get(n,"bgPrefs.bgUnits");break;case E.averageDailyDose:a.alwaysShowSummary=!0,a.dataFormat={output:v.unitsPerKg,summary:v.units},a.type=b.input;break;case E.bgExtents:a.dataFormat={label:v.bgValue,summary:v.bgValue},a.type=b.simple,a.units=l.default.get(n,"bgPrefs.bgUnits");break;case E.carbs:a.dataFormat={summary:v.carbs},a.type=b.simple;break;case E.coefficientOfVariation:a.dataFormat={summary:v.cv},a.type=b.simple;break;case E.glucoseManagementIndicator:a.dataFormat={summary:v.gmi},a.type=b.simple;break;case E.readingsInRange:a.alwaysShowTooltips=!0,a.dataFormat={label:v.percentage,summary:v.percentage,tooltip:v.bgCount,tooltipTitle:v.bgRange,count:v.bgCount},a.legend=!0,a.hideSummaryUnits=!0,a.reverseLegendOrder=!0,a.units=l.default.get(n,"bgPrefs.bgUnits");break;case E.sensorUsage:a.dataFormat={summary:v.percentage},a.type=b.simple;break;case E.standardDev:a.dataFormat={label:v.standardDevValue,summary:v.standardDevValue,title:v.standardDevRange},a.type=b.barBg,a.units=l.default.get(n,"bgPrefs.bgUnits");break;case E.timeInAuto:a.alwaysShowTooltips=!0,a.dataFormat={label:v.percentage,summary:v.percentage,tooltip:v.duration},a.legend=!0;break;case E.timeInOverride:a.alwaysShowTooltips=!0,a.dataFormat={label:v.percentage,summary:v.percentage,tooltip:v.duration},a.legend=!0,a.reverseLegendOrder=!0;break;case E.timeInRange:a.alwaysShowTooltips=!0,a.dataFormat={label:v.percentage,summary:v.percentage,tooltip:v.duration,tooltipTitle:v.bgRange},a.legend=!0,a.hideSummaryUnits=!0,a.reverseLegendOrder=!0,a.units=l.default.get(n,"bgPrefs.bgUnits");break;case E.totalInsulin:a.alwaysShowTooltips=!0,a.dataFormat={label:v.percentage,summary:v.units,title:v.units,tooltip:v.units},a.legend=!0;break;default:a=void 0}return a}},40549:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TextUtil=void 0;var r=a(n(4841)),o=a(n(46721)),i=a(n(27825)),s=a(n(29610)),l=a(n(56427)),d=n(74501),u=n(66871),c=n(19992),f=l.default.t.bind(l.default),A=t.TextUtil=(0,r.default)((function e(t,n,a,r){var l=this;(0,o.default)(this,e),this.buildDocumentHeader=function(e){var t,n,a,r,o=l.copyAsTextMetadata,s=o.diagnosisTypeLabel,u=void 0===s?null:s,A=o.patientTags,p=void 0===A?[]:A,g=o.sites,m=void 0===g?[]:g,h=l.buildTextLine((0,c.getPatientFullName)(l.patient)),b=l.buildTextLine({label:f("Date of birth"),value:(0,d.formatBirthdate)(l.patient)}),y=u?l.buildTextLine({label:f("Diabetes Type"),value:u}):"",v=(0,d.formatDiagnosisDate)(l.patient),E=v?l.buildTextLine({label:f("Date of diagnosis"),value:v}):"",C=(null===(t=l.patient)||void 0===t?void 0:t.clinicPatientMRN)||(null===(n=l.patient)||void 0===n||null===(a=n.profile)||void 0===a||null===(r=a.patient)||void 0===r?void 0:r.mrn),B=C?l.buildTextLine({label:f("MRN"),value:C}):"",T=i.default.map(p,(function(e){return e.name})).toSorted((function(e,t){return e.localeCompare(t)})).join(", "),S=i.default.map(m,(function(e){return e.name})).toSorted((function(e,t){return e.localeCompare(t)})).join(", ");return h+b+y+E+B+(p.length?l.buildTextLine({label:f("Patient Tags"),value:T}):"")+(m.length?l.buildTextLine({label:f("Clinic Sites"),value:S}):"")+l.buildTextLine({label:"".concat(f("Exported from Tidepool")).concat(e?" ".concat(e):""),value:(0,d.formatCurrentDate)()})},this.buildDocumentDates=function(){var e=(0,d.getTimezoneFromTimePrefs)(l.timePrefs),t=l.endpoints[0],n=l.endpoints[1]-1;return t-=(0,d.getOffset)(t,e)*u.MS_IN_MIN,n-=(0,d.getOffset)(n,e)*u.MS_IN_MIN,"\nReporting Period: ".concat((0,d.formatDateRange)(t,n),"\n")},this.buildTextLine=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return i.default.isPlainObject(e)?"".concat(e.label,": ").concat(e.value,"\n"):"".concat(e,"\n")},this.buildTextTable=function(e,t,n,a){var r=l.getTable(t,n,a);return e&&r?"\n".concat(e,"\n").concat(r,"\n"):"\n".concat(e||r,"\n")},this.getTable=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};i.default.defaults(n,{showHeader:!0});var a=[l.getTableHeader(t)],r=l.getTableRows(e,t);return n.showHeader?(0,s.default)(a.concat(r)):(0,s.default)(r)},this.getTableHeader=function(e){return i.default.map(e,(function(e){return i.default.isPlainObject(e.label)?"".concat(e.label.main," ").concat(e.label.secondary):e.label}))},this.getTableRows=function(e,t){return i.default.map(e,(function(e){return l.getTableRow(t,e)}))},this.getTableRow=function(e,t){return i.default.map(e,(function(e){return t[e.key]}))},this.patient=t,this.endpoints=n,this.timePrefs=a,this.copyAsTextMetadata=r||{}}));t.default=A},37359:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.categorizeSmbgSubtype=function(e){return e.subType&&"manual"===e.subType?e.subType:"meter"},t.findDatesIntersectingWithCbgSliceSegment=function(e,t,n){var a=t.data;return o.default.uniq(o.default.map(o.default.filter(e,(function(e){return e.msPer24>=a.msFrom&&e.msPer24<a.msTo&&e.value>=a[n[0]]&&e.value<=a[n[1]]})),"localDate")).sort()},t.trendsText=function(e,t,n,a,i){var s=t.bgPrefs,l=t.data.current.endpoints,d=void 0===l?{}:l,f=t.metaData,A=t.query,p=t.timePrefs;o.default.defaults(s,{bgBounds:c.reshapeBgClassesToBgBounds(s)});var g=new c.TextUtil(e,d.range,p,i),m=g.buildDocumentHeader("Trends");m+=g.buildDocumentDates();var h=o.default.map(o.default.keys(o.default.pickBy(a.activeDays,(function(e){return!1===e}))),o.default.capitalize).join(", ");h.length&&(m+=g.buildTextLine({label:"Excluded Days",value:h})),m+=c.statsText(n,g,s);var b={cbg:"cgm",smbg:"bgm"},y=o.default.filter(null==f?void 0:f.devices,(function(e){var t;return(null==f||null===(t=f.matchedDevices)||void 0===t?void 0:t[e.id])&&(e.pump||e[b[null==A?void 0:A.bgSource]])}));if(y.length){var v=["\n".concat(u("Devices Uploaded"))].concat((0,r.default)(o.default.map(y,(function(e){var t=e.id;return e.label||t}))));o.default.each(v,(function(e){m+=g.buildTextLine(e)}))}return m},t.utils=void 0;var r=a(n(84374)),o=a(n(27825)),i=a(n(56427)),s=a(n(40549)),l=n(80358),d=n(84240),u=i.default.t.bind(i.default),c=t.utils={reshapeBgClassesToBgBounds:d.reshapeBgClassesToBgBounds,statsText:l.statsText,TextUtil:s.default}},50535:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,".ClipboardButton--copyButton--w99lI {\n padding: 5px 10px;\n border-radius: 4px;\n cursor: pointer;\n color: var(--text-medium-contrast);\n background-color: var(--white);\n border: solid 1px var(--stat--border);\n outline: none;\n position: relative;\n text-align: left;\n line-height: 1;\n}\n\n.ClipboardButton--copyButton--w99lI:hover {\n background-image: none;\n color: var(--white);\n background-color: var(--brand-purple);\n border-color: var(--brand-purple);\n}\n\n.ClipboardButton--copyButton--w99lI:active {\n background-image: none;\n color: var(--white);\n background-color: var(--brand-purple);\n border-color: var(--brand-purple);\n opacity: 0.62;\n}\n\n.ClipboardButton--buttonText--mjoj5, .ClipboardButton--successText--nNMjn {\n margin: 0;\n padding: 0;\n display: block;\n}\n\n.ClipboardButton--copyButton--w99lI.ClipboardButton--buttonTextHidden--I_vrY .ClipboardButton--buttonText--mjoj5 {\n visibility: hidden;\n height: 0;\n}\n\n.ClipboardButton--copyButton--w99lI.ClipboardButton--successTextHidden--uGDmL .ClipboardButton--successText--nNMjn {\n visibility: hidden;\n height: 0;\n}\n\n@media print {\n .ClipboardButton--copyButton--w99lI {\n display: none;\n }\n}\n","",{version:3,sources:["webpack://./src/components/common/controls/ClipboardButton.css"],names:[],mappings:"AAAA;EAEE,iBAAiB;EACjB,kBAAkB;EAClB,eAAe;EACf,kCAAkC;EAClC,8BAA8B;EAC9B,qCAAqC;EACrC,aAAa;EACb,kBAAkB;EAClB,gBAAgB;EAChB,cAAc;AAChB;;AAEA;EACE,sBAAsB;EACtB,mBAAmB;EACnB,qCAAqC;EACrC,iCAAiC;AACnC;;AAEA;EACE,sBAAsB;EACtB,mBAAmB;EACnB,qCAAqC;EACrC,iCAAiC;EACjC,aAAa;AACf;;AAEA;EACE,SAAS;EACT,UAAU;EACV,cAAc;AAChB;;AAEA;EACE,kBAAkB;EAClB,SAAS;AACX;;AAEA;EACE,kBAAkB;EAClB,SAAS;AACX;;AAEA;EACE;IACE,aAAa;EACf;AACF",sourcesContent:[".copyButton {\n composes: defaultSize from '../../../styles/typography.css';\n padding: 5px 10px;\n border-radius: 4px;\n cursor: pointer;\n color: var(--text-medium-contrast);\n background-color: var(--white);\n border: solid 1px var(--stat--border);\n outline: none;\n position: relative;\n text-align: left;\n line-height: 1;\n}\n\n.copyButton:hover {\n background-image: none;\n color: var(--white);\n background-color: var(--brand-purple);\n border-color: var(--brand-purple);\n}\n\n.copyButton:active {\n background-image: none;\n color: var(--white);\n background-color: var(--brand-purple);\n border-color: var(--brand-purple);\n opacity: 0.62;\n}\n\n.buttonText, .successText {\n margin: 0;\n padding: 0;\n display: block;\n}\n\n.copyButton.buttonTextHidden .buttonText {\n visibility: hidden;\n height: 0;\n}\n\n.copyButton.successTextHidden .successText {\n visibility: hidden;\n height: 0;\n}\n\n@media print {\n .copyButton {\n display: none;\n }\n}\n"],sourceRoot:""}]),l.locals={copyButton:`ClipboardButton--copyButton--w99lI ${s.A.locals.defaultSize}`,buttonText:"ClipboardButton--buttonText--mjoj5",successText:"ClipboardButton--successText--nNMjn",buttonTextHidden:"ClipboardButton--buttonTextHidden--I_vrY",successTextHidden:"ClipboardButton--successTextHidden--uGDmL"};const d=l},40916:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,".inputGroup-suffix__indicator-separator {\n display: none !important;\n}\n\n.inputGroup-suffix__input {\n color: transparent;\n}\n\n.inputGroup-suffix__control {\n height: 24px;\n min-height: 24px !important;\n border: none !important;\n background-color: transparent !important;\n border-radius: 0 !important;\n box-shadow: none !important;\n}\n\n.inputGroup-suffix__control--is-focused {\n border: none !important;\n box-shadow: none !important;\n outline: 0 !important;\n}\n\n.inputGroup-suffix__dropdown-indicator {\n padding: 0 !important;\n}\n\n.inputGroup-suffix__dropdown-indicator svg {\n height: 14px;\n}\n\n.inputGroup-suffix__value-container {\n padding: 0 4px !important;\n line-height: 1;\n}\n\n.InputGroup--wrapper--y51z5 {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.InputGroup--label--ZN_Cx {\n}\n\n.InputGroup--inputs--IipzK {\n display: flex;\n align-items: center;\n}\n\n.InputGroup--inputs--IipzK > input:first-child {\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n border: 1px solid var(--stat--border);\n border-right: none;\n padding: 0 5px;\n height: 24px;\n}\n\n.InputGroup--inputs--IipzK > input:first-child:focus {\n outline: 0;\n}\n\n.InputGroup--input-number--zOn79 {\n min-width: 50px;\n -moz-appearance: textfield;\n}\n\n.InputGroup--input-number--zOn79::-webkit-outer-spin-button,\n.InputGroup--input-number--zOn79::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n.InputGroup--suffix--XhEVc {\n min-width: 45px;\n border: 1px solid var(--input--border);\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n height: 24px;\n}\n\n.InputGroup--suffixText--vyPiD {\n display: flex;\n align-items: center;\n padding-left: 5px;\n min-width: 40px;\n color: var(--input--disabled);\n}\n","",{version:3,sources:["webpack://./src/components/common/controls/InputGroup.css"],names:[],mappings:"AAAA;EACE,wBAAwB;AAC1B;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,YAAY;EACZ,2BAA2B;EAC3B,uBAAuB;EACvB,wCAAwC;EACxC,2BAA2B;EAC3B,2BAA2B;AAC7B;;AAEA;EACE,uBAAuB;EACvB,2BAA2B;EAC3B,qBAAqB;AACvB;;AAEA;EACE,qBAAqB;AACvB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,yBAAyB;EACzB,cAAc;AAChB;;AAEA;EACE,aAAa;EACb,8BAA8B;EAC9B,mBAAmB;AACrB;;AAEA;AAEA;;AAEA;EACE,aAAa;EACb,mBAAmB;AAErB;;AAEA;EACE,2BAA2B;EAC3B,8BAA8B;EAC9B,qCAAqC;EACrC,kBAAkB;EAClB,cAAc;EACd,YAAY;AACd;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE,eAAe;EACf,0BAA0B;AAC5B;;AAEA;;EAEE,wBAAwB;EACxB,SAAS;AACX;;AAEA;EACE,eAAe;EACf,sCAAsC;EACtC,4BAA4B;EAC5B,+BAA+B;EAC/B,YAAY;AACd;;AAEA;EAEE,aAAa;EACb,mBAAmB;EACnB,iBAAiB;EACjB,eAAe;EACf,6BAA6B;AAC/B",sourcesContent:[":global(.inputGroup-suffix__indicator-separator) {\n display: none !important;\n}\n\n:global(.inputGroup-suffix__input) {\n color: transparent;\n}\n\n:global(.inputGroup-suffix__control) {\n height: 24px;\n min-height: 24px !important;\n border: none !important;\n background-color: transparent !important;\n border-radius: 0 !important;\n box-shadow: none !important;\n}\n\n:global(.inputGroup-suffix__control--is-focused) {\n border: none !important;\n box-shadow: none !important;\n outline: 0 !important;\n}\n\n:global(.inputGroup-suffix__dropdown-indicator) {\n padding: 0 !important;\n}\n\n:global(.inputGroup-suffix__dropdown-indicator svg) {\n height: 14px;\n}\n\n:global(.inputGroup-suffix__value-container) {\n padding: 0 4px !important;\n line-height: 1;\n}\n\n.wrapper {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.label {\n composes: largeSize from '../../../styles/typography.css';\n}\n\n.inputs {\n display: flex;\n align-items: center;\n composes: smallSize from '../../../styles/typography.css';\n}\n\n.inputs > input:first-child {\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n border: 1px solid var(--stat--border);\n border-right: none;\n padding: 0 5px;\n height: 24px;\n}\n\n.inputs > input:first-child:focus {\n outline: 0;\n}\n\n.input-number {\n min-width: 50px;\n -moz-appearance: textfield;\n}\n\n.input-number::-webkit-outer-spin-button,\n.input-number::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n.suffix {\n min-width: 45px;\n border: 1px solid var(--input--border);\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n height: 24px;\n}\n\n.suffixText {\n composes: suffix;\n display: flex;\n align-items: center;\n padding-left: 5px;\n min-width: 40px;\n color: var(--input--disabled);\n}\n"],sourceRoot:""}]),l.locals={wrapper:"InputGroup--wrapper--y51z5",label:`InputGroup--label--ZN_Cx ${s.A.locals.largeSize}`,inputs:`InputGroup--inputs--IipzK ${s.A.locals.smallSize}`,"input-number":"InputGroup--input-number--zOn79",suffix:"InputGroup--suffix--XhEVc",suffixText:"InputGroup--suffixText--vyPiD InputGroup--suffix--XhEVc"};const d=l},15651:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.LabeledCheckbox--label--jG7lM {\n padding-right: 12px;\n}\n","",{version:3,sources:["webpack://./src/components/common/controls/LabeledCheckbox.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EAEE,mBAAmB;AACrB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.label {\n composes: mediumContrastText largeSize from '../../../styles/typography.css';\n padding-right: 12px;\n}\n"],sourceRoot:""}]),l.locals={label:`LabeledCheckbox--label--jG7lM ${s.A.locals.mediumContrastText} ${s.A.locals.largeSize}`};const d=l},34788:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.TwoOptionToggle--container--OdIe3 {\n display: flex;\n align-items: center;\n}\n\n.TwoOptionToggle--label--lB1hx {\n padding: 4px;\n}\n\n.TwoOptionToggle--active--ivP8e {\n font-weight: bold;\n}\n\n.TwoOptionToggle--toggle--B8rXE {\n display: inline-block;\n position: relative;\n\n background-color: transparent;\n border: 0;\n cursor: pointer;\n padding: 0;\n user-select: none;\n}\n\n.TwoOptionToggle--disabled--qOCdW {\n cursor: not-allowed;\n opacity: 0.5;\n transition: opacity 0.25s;\n}\n\n.TwoOptionToggle--track--ATEgh {\n width: 50px;\n height: 24px;\n\n background-color: var(--chrome);\n border-radius: 30px;\n padding: 0;\n transition: all 0.2s ease;\n}\n\n.TwoOptionToggle--thumb--oDGxu {\n position: absolute;\n top: 1px;\n\n width: 22px;\n height: 22px;\n\n background-color: white;\n border: 1px solid var(--chrome);\n border-radius: 50%;\n box-sizing: border-box;\n transition: all 0.25s ease;\n}\n\n.TwoOptionToggle--leftThumb--WFiaf {\n left: 1px;\n}\n\n.TwoOptionToggle--rightThumb--mshdP {\n left: 27px;\n}\n","",{version:3,sources:["webpack://./src/components/common/controls/TwoOptionToggle.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,aAAa;EACb,mBAAmB;AACrB;;AAEA;EAEE,YAAY;AACd;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,qBAAqB;EACrB,kBAAkB;;EAElB,6BAA6B;EAC7B,SAAS;EACT,eAAe;EACf,UAAU;EACV,iBAAiB;AACnB;;AAEA;EAEE,mBAAmB;EACnB,YAAY;EACZ,yBAAyB;AAC3B;;AAEA;EACE,WAAW;EACX,YAAY;;EAEZ,+BAA+B;EAC/B,mBAAmB;EACnB,UAAU;EACV,yBAAyB;AAC3B;;AAEA;EACE,kBAAkB;EAClB,QAAQ;;EAER,WAAW;EACX,YAAY;;EAEZ,uBAAuB;EACvB,+BAA+B;EAC/B,kBAAkB;EAClB,sBAAsB;EACtB,0BAA0B;AAC5B;;AAEA;EAEE,SAAS;AACX;;AAEA;EAEE,UAAU;AACZ",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.container {\n display: flex;\n align-items: center;\n}\n\n.label {\n composes: mediumContrastText smallSize from '../../../styles/typography.css';\n padding: 4px;\n}\n\n.active {\n font-weight: bold;\n}\n\n.toggle {\n display: inline-block;\n position: relative;\n\n background-color: transparent;\n border: 0;\n cursor: pointer;\n padding: 0;\n user-select: none;\n}\n\n.disabled {\n composes: toggle;\n cursor: not-allowed;\n opacity: 0.5;\n transition: opacity 0.25s;\n}\n\n.track {\n width: 50px;\n height: 24px;\n\n background-color: var(--chrome);\n border-radius: 30px;\n padding: 0;\n transition: all 0.2s ease;\n}\n\n.thumb {\n position: absolute;\n top: 1px;\n\n width: 22px;\n height: 22px;\n\n background-color: white;\n border: 1px solid var(--chrome);\n border-radius: 50%;\n box-sizing: border-box;\n transition: all 0.25s ease;\n}\n\n.leftThumb {\n composes: thumb;\n left: 1px;\n}\n\n.rightThumb {\n composes: thumb;\n left: 27px;\n}\n"],sourceRoot:""}]),l.locals={container:"TwoOptionToggle--container--OdIe3",label:`TwoOptionToggle--label--lB1hx ${s.A.locals.mediumContrastText} ${s.A.locals.smallSize}`,active:"TwoOptionToggle--active--ivP8e",toggle:"TwoOptionToggle--toggle--B8rXE",disabled:"TwoOptionToggle--disabled--qOCdW TwoOptionToggle--toggle--B8rXE",track:"TwoOptionToggle--track--ATEgh",thumb:"TwoOptionToggle--thumb--oDGxu",leftThumb:"TwoOptionToggle--leftThumb--WFiaf TwoOptionToggle--thumb--oDGxu",rightThumb:"TwoOptionToggle--rightThumb--mshdP TwoOptionToggle--thumb--oDGxu"};const d=l},87145:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,".Loader--loader--dwYOs {\n display: flex;\n pointer-events: none;\n}\n\n.Loader--loaderDots--eqXFC {\n opacity: 1;\n transition: opacity .25s ease;\n display: flex;\n position: absolute;\n z-index: 10;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n\n.Loader--loaderText--V2ecY {\n color: var(--text-high-contrast);\n font-size: 14px;\n display: flex;\n width: 100%;\n justify-content: center;\n position: absolute;\n top: calc(50% + 29px);\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.Loader--loaderDots--eqXFC.Loader--overlay--nJPRz {\n background: radial-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.7));\n}\n\n.Loader--loaderDots--eqXFC.Loader--hidden--ClZJj {\n opacity: 0.01;\n}\n\n.Loader--loaderDot--eumH1 {\n margin: 5px;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n background: var(--brand-purple-dark);\n transform: scale(0.5);\n}\n\n.Loader--loaderDot--eumH1.Loader--animating--fUk3W {\n animation: Loader--scale-dot--s89v6 1.2s ease-out infinite;\n}\n\n.Loader--loaderDot--eumH1:nth-of-type(2) {\n animation-delay: 0.2s;\n}\n\n.Loader--loaderDot--eumH1:nth-of-type(3) {\n animation-delay: 0.3s;\n}\n\n.Loader--loaderDot--eumH1:nth-of-type(4) {\n animation-delay: 0.4s;\n}\n\n.Loader--loaderDot--eumH1:nth-of-type(5) {\n animation-delay: 0.5s;\n}\n\n@keyframes Loader--scale-dot--s89v6 {\n 0% {\n transform: scale(0.5);\n }\n 25% {\n transform: scale(1);\n }\n 75% {\n transform: scale(0.5);\n }\n 100% {\n transform: scale(0.5);\n }\n}\n","",{version:3,sources:["webpack://./src/components/common/loader/Loader.css"],names:[],mappings:"AAAA;EACE,aAAa;EACb,oBAAoB;AACtB;;AAEA;EACE,UAAU;EACV,6BAA6B;EAC7B,aAAa;EACb,kBAAkB;EAClB,WAAW;EACX,QAAQ;EACR,SAAS;EACT,gCAAgC;EAChC,uBAAuB;EACvB,mBAAmB;EACnB,WAAW;EACX,YAAY;AACd;;AAEA;EACE,gCAAgC;EAChC,eAAe;EACf,aAAa;EACb,WAAW;EACX,uBAAuB;EACvB,kBAAkB;EAClB,qBAAqB;EACrB,SAAS;EACT,gCAAgC;AAClC;;AAEA;EACE,yEAAyE;AAC3E;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,WAAW;EACX,WAAW;EACX,YAAY;EACZ,kBAAkB;EAClB,oCAAoC;EACpC,qBAAqB;AACvB;;AAEA;EACE,0DAA2C;AAC7C;;AAEA;EACE,qBAAqB;AACvB;;AAEA;EACE,qBAAqB;AACvB;;AAEA;EACE,qBAAqB;AACvB;;AAEA;EACE,qBAAqB;AACvB;;AAEA;EACE;IACE,qBAAqB;EACvB;EACA;IACE,mBAAmB;EACrB;EACA;IACE,qBAAqB;EACvB;EACA;IACE,qBAAqB;EACvB;AACF",sourcesContent:[".loader {\n display: flex;\n pointer-events: none;\n}\n\n.loaderDots {\n opacity: 1;\n transition: opacity .25s ease;\n display: flex;\n position: absolute;\n z-index: 10;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n}\n\n.loaderText {\n color: var(--text-high-contrast);\n font-size: 14px;\n display: flex;\n width: 100%;\n justify-content: center;\n position: absolute;\n top: calc(50% + 29px);\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.loaderDots.overlay {\n background: radial-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.7));\n}\n\n.loaderDots.hidden {\n opacity: 0.01;\n}\n\n.loaderDot {\n margin: 5px;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n background: var(--brand-purple-dark);\n transform: scale(0.5);\n}\n\n.loaderDot.animating {\n animation: scale-dot 1.2s ease-out infinite;\n}\n\n.loaderDot:nth-of-type(2) {\n animation-delay: 0.2s;\n}\n\n.loaderDot:nth-of-type(3) {\n animation-delay: 0.3s;\n}\n\n.loaderDot:nth-of-type(4) {\n animation-delay: 0.4s;\n}\n\n.loaderDot:nth-of-type(5) {\n animation-delay: 0.5s;\n}\n\n@keyframes scale-dot {\n 0% {\n transform: scale(0.5);\n }\n 25% {\n transform: scale(1);\n }\n 75% {\n transform: scale(0.5);\n }\n 100% {\n transform: scale(0.5);\n }\n}\n"],sourceRoot:""}]),i.locals={loader:"Loader--loader--dwYOs",loaderDots:"Loader--loaderDots--eqXFC",loaderText:"Loader--loaderText--V2ecY",overlay:"Loader--overlay--nJPRz",hidden:"Loader--hidden--ClZJj",loaderDot:"Loader--loaderDot--eumH1",animating:"Loader--animating--fUk3W","scale-dot":"Loader--scale-dot--s89v6"};const s=i},51619:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,'.Stat--StatWrapper--KWm_y {\n position: relative;\n overflow: visible;\n}\n\n.Stat--Stat--cQ2U_ {\n background-color: var(--bkgrnd-white);\n border-radius: 8px;\n border: 1px solid var(--stat--border);\n}\n\n.Stat--Stat--cQ2U_ tspan {\n font-family: "Basis", "Helvetica Neue", Helvetica, Arial, sans-serif !important;\n font-weight: 500 !important;\n}\n\n.Stat--statHeader--TPpS6 {\n display: flex;\n flex-wrap: nowrap;\n align-items: flex-start;\n justify-content: space-between;\n height: 1.5em;\n margin: 0.25em 0.625em;\n overflow: hidden;\n}\n\n.Stat--statHeaderContainerNonStandardTargets--OlXxc {\n border-radius: 8px;\n background: #F0F5FF;\n display: grid; /* Grid layout ensures the background fills the container */\n}\n\n.Stat--Stat--cQ2U_.Stat--isOpen--IIudz .Stat--statHeaderContainerNonStandardTargets--OlXxc {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n margin-bottom: 0.75em;\n padding-bottom: 0.25em;\n}\n\n.Stat--statHeaderNonStandardWarning--SXZP8 {\n position: relative;\n top: -4px;\n margin: 0 0.625em;\n font-style: italic;\n font-size: 14px;\n}\n\n.Stat--statMain--bVDPU {\n padding: 0 0.625em;\n overflow: hidden;\n}\n\n.statCollapse {\n transition: height 250ms;\n}\n\n.Stat--statFooter--mEztE {\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n justify-content: space-between;\n border-top: 1px solid var(--stat--border);\n padding: 0.25em 0.625em .375em;\n overflow: hidden;\n}\n\n.Stat--chartTitle--lZSYG {\n font-weight: 500;\n line-height: 1;\n white-space: nowrap;\n margin-top: .25em;\n color: var(--stat--default);\n width: 100%;\n min-width: 0;\n display: flex;\n}\n\n.Stat--chartTitleText--uzqDQ {\n display: inline-block;\n min-width: 0;\n overflow-x: clip;\n text-overflow: ellipsis;\n}\n\n.Stat--chartSummary--QudLx {\n line-height: 1;\n display: flex;\n justify-content: space-between;\n}\n\n.Stat--summaryData--wSEtu {\n display: inline-block;\n white-space: nowrap;\n padding-right: .35em;\n padding-left: .35em;\n}\n\n.Stat--summaryData--wSEtu:last-child {\n padding-right: 0;\n}\n\n.Stat--summaryValue--njf4T {\n opacity: 1;\n display: inline-block;\n font-weight: 500;\n}\n\n.Stat--summarySuffix--KBz9E {\n color: var(--stat--default);\n font-weight: normal;\n position: relative;\n bottom: 1px;\n padding-left: 1px;\n}\n\n.Stat--units--XCEsR {\n color: var(--stat--default);\n font-weight: normal;\n align-self: center;\n line-height: 24px;\n padding-left: .5em;\n}\n\n.Stat--chartTitleData--TmZ6Q {\n display: none;\n padding-left: .25em;\n align-items: center;\n position: relative;\n top: -1px;\n color: var(--stat--default);\n}\n\n.Stat--chartTitleData--TmZ6Q span {\n margin-top: 1px;\n}\n\n.Stat--chartTitleSuffix--CgcRd {\n font-weight: normal;\n padding-left: 1px;\n}\n\n.Stat--Stat--cQ2U_.Stat--isOpen--IIudz .Stat--chartTitleData--TmZ6Q {\n display: inline-flex;\n}\n\n.Stat--chartCollapse--jo1M7 {\n margin-bottom: 0;\n margin-right: -0.3em;\n height: 24px;\n line-height: 1;\n}\n\n.Stat--chartCollapse--jo1M7 img {\n position: relative;\n cursor: pointer;\n}\n\n.Stat--chartWrapper--jkeYr {\n padding-bottom: .125em;\n}\n\n.Stat--inputWrapper--wlg0q {\n padding: 0.5em 0.625em .5em;\n}\n\n.Stat--inputWrapper--wlg0q label {\n font-weight: 500;\n}\n\n.Stat--inputWrapper--wlg0q input[type="number"] {\n width: 45px;\n}\n\n.Stat--outputWrapper--qgnDe {\n display: flex;\n flex-wrap: nowrap;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n color: var(--stat--default);\n}\n\n.Stat--outputValue--on2Ws {\n font-weight: 500;\n color: var(--stat--default);\n margin-right: .25em;\n position: relative;\n top: 1px;\n}\n\n.Stat--outputSuffix--WEbZg {\n color: var(--stat--default);\n}\n\n.Stat--outputValueDisabled--ydkWF {\n color: var(--stat--default);\n}\n\n.Stat--outputLabel--CtKR1 {\n font-weight: 500;\n color: var(--stat--default);\n}\n\n.Stat--tooltipIcon--jgX3r {\n position: relative;\n top: -0.3em;\n margin-left: 0.1em;\n}\n\n.Stat--tooltipIcon--jgX3r > img {\n width: 0.9em;\n}\n\n.Stat--StatTooltipWrapper--i8dsZ {\n z-index: 1;\n position: relative;\n}\n',"",{version:3,sources:["webpack://./src/components/common/stat/Stat.css"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,iBAAiB;AACnB;;AAEA;EACE,qCAAqC;EACrC,kBAAkB;EAClB,qCAAqC;AACvC;;AAEA;EACE,+EAA+E;EAC/E,2BAA2B;AAC7B;;AAEA;EACE,aAAa;EACb,iBAAiB;EACjB,uBAAuB;EACvB,8BAA8B;EAC9B,aAAa;EACb,sBAAsB;EACtB,gBAAgB;AAClB;;AAEA;EACE,kBAAkB;EAClB,mBAAmB;EACnB,aAAa,EAAE,2DAA2D;AAC5E;;AAEA;EACE,4BAA4B;EAC5B,6BAA6B;EAC7B,qBAAqB;EACrB,sBAAsB;AACxB;;AAEA;EACE,kBAAkB;EAClB,SAAS;EACT,iBAAiB;EACjB,kBAAkB;EAClB,eAAe;AACjB;;AAEA;EACE,kBAAkB;EAClB,gBAAgB;AAClB;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,aAAa;EACb,iBAAiB;EACjB,mBAAmB;EACnB,8BAA8B;EAC9B,yCAAyC;EACzC,8BAA8B;EAC9B,gBAAgB;AAClB;;AAEA;EAEE,gBAAgB;EAChB,cAAc;EACd,mBAAmB;EACnB,iBAAiB;EACjB,2BAA2B;EAC3B,WAAW;EACX,YAAY;EACZ,aAAa;AACf;;AAEA;EACE,qBAAqB;EACrB,YAAY;EACZ,gBAAgB;EAChB,uBAAuB;AACzB;;AAEA;EACE,cAAc;EACd,aAAa;EACb,8BAA8B;AAChC;;AAEA;EACE,qBAAqB;EACrB,mBAAmB;EACnB,oBAAoB;EACpB,mBAAmB;AACrB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EAEE,UAAU;EACV,qBAAqB;EACrB,gBAAgB;AAClB;;AAEA;EAEE,2BAA2B;EAC3B,mBAAmB;EACnB,kBAAkB;EAClB,WAAW;EACX,iBAAiB;AACnB;;AAEA;EAEE,2BAA2B;EAC3B,mBAAmB;EACnB,kBAAkB;EAClB,iBAAiB;EACjB,kBAAkB;AACpB;;AAEA;EAEE,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,kBAAkB;EAClB,SAAS;EACT,2BAA2B;AAC7B;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,mBAAmB;EACnB,iBAAiB;AACnB;;AAEA;EACE,oBAAoB;AACtB;;AAEA;EACE,gBAAgB;EAChB,oBAAoB;EACpB,YAAY;EACZ,cAAc;AAChB;;AAEA;EACE,kBAAkB;EAClB,eAAe;AACjB;;AAEA;EACE,sBAAsB;AACxB;;AAEA;EACE,2BAA2B;AAC7B;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,WAAW;AACb;;AAEA;EACE,aAAa;EACb,iBAAiB;EACjB,8BAA8B;EAC9B,mBAAmB;EACnB,WAAW;EACX,2BAA2B;AAC7B;;AAEA;EACE,gBAAgB;EAChB,2BAA2B;EAC3B,mBAAmB;EACnB,kBAAkB;EAClB,QAAQ;AACV;;AAEA;EAEE,2BAA2B;AAC7B;;AAEA;EACE,2BAA2B;AAC7B;;AAEA;EACE,gBAAgB;EAChB,2BAA2B;AAC7B;;AAEA;EACE,kBAAkB;EAClB,WAAW;EACX,kBAAkB;AACpB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,UAAU;EACV,kBAAkB;AACpB",sourcesContent:[".StatWrapper {\n position: relative;\n overflow: visible;\n}\n\n.Stat {\n background-color: var(--bkgrnd-white);\n border-radius: 8px;\n border: 1px solid var(--stat--border);\n}\n\n.Stat tspan {\n font-family: \"Basis\", \"Helvetica Neue\", Helvetica, Arial, sans-serif !important;\n font-weight: 500 !important;\n}\n\n.statHeader {\n display: flex;\n flex-wrap: nowrap;\n align-items: flex-start;\n justify-content: space-between;\n height: 1.5em;\n margin: 0.25em 0.625em;\n overflow: hidden;\n}\n\n.statHeaderContainerNonStandardTargets {\n border-radius: 8px;\n background: #F0F5FF;\n display: grid; /* Grid layout ensures the background fills the container */\n}\n\n.Stat.isOpen .statHeaderContainerNonStandardTargets {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n margin-bottom: 0.75em;\n padding-bottom: 0.25em;\n}\n\n.statHeaderNonStandardWarning {\n position: relative;\n top: -4px;\n margin: 0 0.625em;\n font-style: italic;\n font-size: 14px;\n}\n\n.statMain {\n padding: 0 0.625em;\n overflow: hidden;\n}\n\n:global(.statCollapse) {\n transition: height 250ms;\n}\n\n.statFooter {\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n justify-content: space-between;\n border-top: 1px solid var(--stat--border);\n padding: 0.25em 0.625em .375em;\n overflow: hidden;\n}\n\n.chartTitle {\n composes: largeSize from '../../../styles/typography.css';\n font-weight: 500;\n line-height: 1;\n white-space: nowrap;\n margin-top: .25em;\n color: var(--stat--default);\n width: 100%;\n min-width: 0;\n display: flex;\n}\n\n.chartTitleText {\n display: inline-block;\n min-width: 0;\n overflow-x: clip;\n text-overflow: ellipsis;\n}\n\n.chartSummary {\n line-height: 1;\n display: flex;\n justify-content: space-between;\n}\n\n.summaryData {\n display: inline-block;\n white-space: nowrap;\n padding-right: .35em;\n padding-left: .35em;\n}\n\n.summaryData:last-child {\n padding-right: 0;\n}\n\n.summaryValue {\n composes: extraLargeSize from '../../../styles/typography.css';\n opacity: 1;\n display: inline-block;\n font-weight: 500;\n}\n\n.summarySuffix {\n composes: smallSize from '../../../styles/typography.css';\n color: var(--stat--default);\n font-weight: normal;\n position: relative;\n bottom: 1px;\n padding-left: 1px;\n}\n\n.units {\n composes: smallSize from '../../../styles/typography.css';\n color: var(--stat--default);\n font-weight: normal;\n align-self: center;\n line-height: 24px;\n padding-left: .5em;\n}\n\n.chartTitleData {\n composes: smallSize from '../../../styles/typography.css';\n display: none;\n padding-left: .25em;\n align-items: center;\n position: relative;\n top: -1px;\n color: var(--stat--default);\n}\n\n.chartTitleData span {\n margin-top: 1px;\n}\n\n.chartTitleSuffix {\n font-weight: normal;\n padding-left: 1px;\n}\n\n.Stat.isOpen .chartTitleData {\n display: inline-flex;\n}\n\n.chartCollapse {\n margin-bottom: 0;\n margin-right: -0.3em;\n height: 24px;\n line-height: 1;\n}\n\n.chartCollapse img {\n position: relative;\n cursor: pointer;\n}\n\n.chartWrapper {\n padding-bottom: .125em;\n}\n\n.inputWrapper {\n padding: 0.5em 0.625em .5em;\n}\n\n.inputWrapper label {\n font-weight: 500;\n}\n\n.inputWrapper input[type=\"number\"] {\n width: 45px;\n}\n\n.outputWrapper {\n display: flex;\n flex-wrap: nowrap;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n color: var(--stat--default);\n}\n\n.outputValue {\n font-weight: 500;\n color: var(--stat--default);\n margin-right: .25em;\n position: relative;\n top: 1px;\n}\n\n.outputSuffix {\n composes: smallSize from '../../../styles/typography.css';\n color: var(--stat--default);\n}\n\n.outputValueDisabled {\n color: var(--stat--default);\n}\n\n.outputLabel {\n font-weight: 500;\n color: var(--stat--default);\n}\n\n.tooltipIcon {\n position: relative;\n top: -0.3em;\n margin-left: 0.1em;\n}\n\n.tooltipIcon > img {\n width: 0.9em;\n}\n\n.StatTooltipWrapper {\n z-index: 1;\n position: relative;\n}\n"],sourceRoot:""}]),l.locals={StatWrapper:"Stat--StatWrapper--KWm_y",Stat:"Stat--Stat--cQ2U_",statHeader:"Stat--statHeader--TPpS6",statHeaderContainerNonStandardTargets:"Stat--statHeaderContainerNonStandardTargets--OlXxc",isOpen:"Stat--isOpen--IIudz",statHeaderNonStandardWarning:"Stat--statHeaderNonStandardWarning--SXZP8",statMain:"Stat--statMain--bVDPU",statFooter:"Stat--statFooter--mEztE",chartTitle:`Stat--chartTitle--lZSYG ${s.A.locals.largeSize}`,chartTitleText:"Stat--chartTitleText--uzqDQ",chartSummary:"Stat--chartSummary--QudLx",summaryData:"Stat--summaryData--wSEtu",summaryValue:`Stat--summaryValue--njf4T ${s.A.locals.extraLargeSize}`,summarySuffix:`Stat--summarySuffix--KBz9E ${s.A.locals.smallSize}`,units:`Stat--units--XCEsR ${s.A.locals.smallSize}`,chartTitleData:`Stat--chartTitleData--TmZ6Q ${s.A.locals.smallSize}`,chartTitleSuffix:"Stat--chartTitleSuffix--CgcRd",chartCollapse:"Stat--chartCollapse--jo1M7",chartWrapper:"Stat--chartWrapper--jkeYr",inputWrapper:"Stat--inputWrapper--wlg0q",outputWrapper:"Stat--outputWrapper--qgnDe",outputValue:"Stat--outputValue--on2Ws",outputSuffix:`Stat--outputSuffix--WEbZg ${s.A.locals.smallSize}`,outputValueDisabled:"Stat--outputValueDisabled--ydkWF",outputLabel:"Stat--outputLabel--CtKR1",tooltipIcon:"Stat--tooltipIcon--jgX3r",StatTooltipWrapper:"Stat--StatTooltipWrapper--i8dsZ"};const d=l},47064:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,".StatLegend--StatLegend--AEcS9 {\n position: relative;\n list-style: none;\n display: flex;\n margin: 0;\n padding: 0;\n}\n\n.StatLegend--StatLegendItem--vpFW6 {\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n margin: 0 1em 0 0;\n border-bottom: 2px solid;\n}\n\n.StatLegend--StatLegendTitle--GpUwT {\n letter-spacing: -.01em;\n white-space: nowrap;\n line-height: 16px;\n}\n","",{version:3,sources:["webpack://./src/components/common/stat/StatLegend.css"],names:[],mappings:"AAAA;EAEE,kBAAkB;EAClB,gBAAgB;EAChB,aAAa;EACb,SAAS;EACT,UAAU;AACZ;;AAEA;EACE,aAAa;EACb,iBAAiB;EACjB,mBAAmB;EACnB,iBAAiB;EACjB,wBAAwB;AAC1B;;AAEA;EACE,sBAAsB;EACtB,mBAAmB;EACnB,iBAAiB;AACnB",sourcesContent:[".StatLegend {\n composes: smallSize from '../../../styles/typography.css';\n position: relative;\n list-style: none;\n display: flex;\n margin: 0;\n padding: 0;\n}\n\n.StatLegendItem {\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n margin: 0 1em 0 0;\n border-bottom: 2px solid;\n}\n\n.StatLegendTitle {\n letter-spacing: -.01em;\n white-space: nowrap;\n line-height: 16px;\n}\n"],sourceRoot:""}]),l.locals={StatLegend:`StatLegend--StatLegend--AEcS9 ${s.A.locals.smallSize}`,StatLegendItem:"StatLegend--StatLegendItem--vpFW6",StatLegendTitle:"StatLegend--StatLegendTitle--GpUwT"};const d=l},83446:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,".InfoTooltip--container--idFTd {\n width: 260px;\n}\n\n.InfoTooltip--row--ffMSw {\n line-height: 16px;\n color: var(--stat--default);\n margin-bottom: 8px;\n font-weight: medium;\n}\n\n.InfoTooltip--title--I97Ej {\n font-weight: bold;\n}\n\n.InfoTooltip--subtitle--S41E0 {\n}\n\n.InfoTooltip--note--wsFEw {\n font-style: italic;\n}\n\n.InfoTooltip--items--Eu1tq {\n padding-left: 24px;\n margin: 0 0 6px;\n}\n\n.InfoTooltip--item--qrd76 {\n margin-bottom: 2px;\n}\n","",{version:3,sources:["webpack://./src/components/common/tooltips/InfoTooltip.css"],names:[],mappings:"AAAA;EACE,YAAY;AACd;;AAEA;EAEE,iBAAiB;EACjB,2BAA2B;EAC3B,kBAAkB;EAClB,mBAAmB;AACrB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;AAEA;;AAEA;EAEE,kBAAkB;AACpB;;AAEA;EACE,kBAAkB;EAClB,eAAe;AACjB;;AAEA;EAEE,kBAAkB;AACpB",sourcesContent:[".container {\n width: 260px;\n}\n\n.row {\n composes: smallSize from '../../../styles/typography.css';\n line-height: 16px;\n color: var(--stat--default);\n margin-bottom: 8px;\n font-weight: medium;\n}\n\n.title {\n composes: row;\n font-weight: bold;\n}\n\n.subtitle {\n composes: row;\n}\n\n.note {\n composes: row;\n font-style: italic;\n}\n\n.items {\n padding-left: 24px;\n margin: 0 0 6px;\n}\n\n.item {\n composes: row;\n margin-bottom: 2px;\n}\n"],sourceRoot:""}]),l.locals={container:"InfoTooltip--container--idFTd",row:`InfoTooltip--row--ffMSw ${s.A.locals.smallSize}`,title:`InfoTooltip--title--I97Ej InfoTooltip--row--ffMSw ${s.A.locals.smallSize}`,subtitle:`InfoTooltip--subtitle--S41E0 InfoTooltip--row--ffMSw ${s.A.locals.smallSize}`,note:`InfoTooltip--note--wsFEw InfoTooltip--row--ffMSw ${s.A.locals.smallSize}`,items:"InfoTooltip--items--Eu1tq",item:`InfoTooltip--item--qrd76 InfoTooltip--row--ffMSw ${s.A.locals.smallSize}`};const d=l},90524:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,".StatTooltip--row--tFzNn {\n line-height: 16px;\n max-width: 180px;\n min-width: 160px;\n font-weight: medium;\n}\n\n.StatTooltip--message--MOr7T {\n color: var(--stat--default);\n}\n\n.StatTooltip--message--MOr7T p {\n margin: 0;\n}\n\n.StatTooltip--message--MOr7T a {\n pointer-events: all;\n}\n\n.StatTooltip--divider--gqRkM {\n height: 2px;\n margin: 10px -12px;\n background-color: var(--stat--default);\n}\n\n.StatTooltip--hiddenDivider--AMMfk {\n height: 10px;\n background-color: transparent;\n}\n","",{version:3,sources:["webpack://./src/components/common/tooltips/StatTooltip.css"],names:[],mappings:"AAAA;EAEE,iBAAiB;EACjB,gBAAgB;EAChB,gBAAgB;EAChB,mBAAmB;AACrB;;AAEA;EAEE,2BAA2B;AAC7B;;AAEA;EACE,SAAS;AACX;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,WAAW;EACX,kBAAkB;EAClB,sCAAsC;AACxC;;AAEA;EACE,YAAY;EACZ,6BAA6B;AAC/B",sourcesContent:[".row {\n composes: smallSize from '../../../styles/typography.css';\n line-height: 16px;\n max-width: 180px;\n min-width: 160px;\n font-weight: medium;\n}\n\n.message {\n composes: row;\n color: var(--stat--default);\n}\n\n.message p {\n margin: 0;\n}\n\n.message a {\n pointer-events: all;\n}\n\n.divider {\n height: 2px;\n margin: 10px -12px;\n background-color: var(--stat--default);\n}\n\n.hiddenDivider {\n height: 10px;\n background-color: transparent;\n}\n"],sourceRoot:""}]),l.locals={row:`StatTooltip--row--tFzNn ${s.A.locals.smallSize}`,message:`StatTooltip--message--MOr7T StatTooltip--row--tFzNn ${s.A.locals.smallSize}`,divider:"StatTooltip--divider--gqRkM",hiddenDivider:"StatTooltip--hiddenDivider--AMMfk"};const d=l},49090:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.Tooltip--tooltip--nJbNU {\n display: block;\n background-color: #FFFFFF;\n border: solid;\n pointer-events: none;\n position: absolute;\n z-index: 1000;\n}\n\n.Tooltip--content--hPQZv {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n padding: 10px 12px;\n box-sizing: border-box;\n}\n\n.Tooltip--content--hPQZv span {\n width: 100%;\n}\n\n.Tooltip--title--rpDIV {\n background-color: var(--gray05);\n}\n\n.Tooltip--tail--mFMOe {\n width: 0px;\n height: 0px;\n border-style: solid;\n border-color: transparent;\n position: absolute;\n}\n\n.Tooltip--tail--mFMOe.Tooltip--top--IJMXd {\n top: 100%;\n transform: translateX(-50%);\n}\n\n.Tooltip--tail--mFMOe.Tooltip--bottom--DduK7 {\n bottom: 100%;\n transform: translateX(-50%);\n}\n\n.Tooltip--tail--mFMOe.Tooltip--left--_OSeE {\n left: 100%;\n transform: translateY(-50%);\n}\n\n.Tooltip--tail--mFMOe.Tooltip--right--goyyk {\n right: 100%;\n transform: translateY(-50%);\n}\n","",{version:3,sources:["webpack://./src/components/common/tooltips/Tooltip.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,cAAc;EAEd,yBAAyB;EACzB,aAAa;EACb,oBAAoB;EACpB,kBAAkB;EAClB,aAAa;AACf;;AAEA;EACE,kBAAkB;EAClB,aAAa;EACb,mBAAmB;EACnB,8BAA8B;EAC9B,WAAW;EACX,kBAAkB;EAClB,sBAAsB;AACxB;;AAEA;EACE,WAAW;AACb;;AAEA;EAGE,+BAA+B;AACjC;;AAEA;EACE,UAAU;EACV,WAAW;EACX,mBAAmB;EACnB,yBAAyB;EACzB,kBAAkB;AACpB;;AAEA;EACE,SAAS;EACT,2BAA2B;AAC7B;;AAEA;EACE,YAAY;EACZ,2BAA2B;AAC7B;;AAEA;EACE,UAAU;EACV,2BAA2B;AAC7B;;AAEA;EACE,WAAW;EACX,2BAA2B;AAC7B",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.tooltip {\n display: block;\n composes: defaultSize from '../../../styles/typography.css';\n background-color: #FFFFFF;\n border: solid;\n pointer-events: none;\n position: absolute;\n z-index: 1000;\n}\n\n.content {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n padding: 10px 12px;\n box-sizing: border-box;\n}\n\n.content span {\n width: 100%;\n}\n\n.title {\n composes: mediumContrastText from '../../../styles/typography.css';\n composes: content;\n background-color: var(--gray05);\n}\n\n.tail {\n width: 0px;\n height: 0px;\n border-style: solid;\n border-color: transparent;\n position: absolute;\n}\n\n.tail.top {\n top: 100%;\n transform: translateX(-50%);\n}\n\n.tail.bottom {\n bottom: 100%;\n transform: translateX(-50%);\n}\n\n.tail.left {\n left: 100%;\n transform: translateY(-50%);\n}\n\n.tail.right {\n right: 100%;\n transform: translateY(-50%);\n}\n"],sourceRoot:""}]),l.locals={tooltip:`Tooltip--tooltip--nJbNU ${s.A.locals.defaultSize}`,content:"Tooltip--content--hPQZv",title:`Tooltip--title--rpDIV ${s.A.locals.mediumContrastText} Tooltip--content--hPQZv`,tail:"Tooltip--tail--mFMOe",top:"Tooltip--top--IJMXd",bottom:"Tooltip--bottom--DduK7",left:"Tooltip--left--_OSeE",right:"Tooltip--right--goyyk"};const d=l},56345:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,".AlarmTooltip--row--VNj_L {\n line-height: 16px;\n max-width: 200px;\n min-width: 100px;\n font-weight: 500;\n color: var(--stat--default);\n text-align: center;\n}\n\n.AlarmTooltip--time--MeLbt {\n font-weight: 400;\n margin-bottom: 6px;\n}\n\n.AlarmTooltip--deviceAlarmTitle--TsYfw {\n font-weight: 900;\n}\n\n.AlarmTooltip--alarmType--TWFLP {\n}\n","",{version:3,sources:["webpack://./src/components/daily/alarmtooltip/AlarmTooltip.css"],names:[],mappings:"AAAA;EAEE,iBAAiB;EACjB,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;EAChB,2BAA2B;EAC3B,kBAAkB;AACpB;;AAEA;EAEE,gBAAgB;EAChB,kBAAkB;AACpB;;AAEA;EAEE,gBAAgB;AAClB;;AAEA;AAEA",sourcesContent:[".row {\n composes: smallSize from '../../../styles/typography.css';\n line-height: 16px;\n max-width: 200px;\n min-width: 100px;\n font-weight: 500;\n color: var(--stat--default);\n text-align: center;\n}\n\n.time {\n composes: row;\n font-weight: 400;\n margin-bottom: 6px;\n}\n\n.deviceAlarmTitle {\n composes: row;\n font-weight: 900;\n}\n\n.alarmType {\n composes: row;\n}\n"],sourceRoot:""}]),l.locals={row:`AlarmTooltip--row--VNj_L ${s.A.locals.smallSize}`,time:`AlarmTooltip--time--MeLbt AlarmTooltip--row--VNj_L ${s.A.locals.smallSize}`,deviceAlarmTitle:`AlarmTooltip--deviceAlarmTitle--TsYfw AlarmTooltip--row--VNj_L ${s.A.locals.smallSize}`,alarmType:`AlarmTooltip--alarmType--TWFLP AlarmTooltip--row--VNj_L ${s.A.locals.smallSize}`};const d=l},7873:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=n(61872),d=i()(r());d.i(l.A),d.i(s.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.BolusTooltip--container--CpKmz {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 160px;\n margin: 2px 0;\n max-width: 250px;\n}\n\n.BolusTooltip--row--Mlc5Y {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.BolusTooltip--label--TuCfn {\n flex-grow: 1;\n}\n\n.BolusTooltip--value--nxXlD {\n margin-left: 20px;\n}\n\n.BolusTooltip--units--cDoSp {\n min-width: 0.7em;\n margin-left: 10px;\n}\n\n.BolusTooltip--unitsWide--xDx8w {\n min-width: 2.2em;\n margin-left: 6px;\n}\n\n.BolusTooltip--title--zKhjA {\n text-align: right;\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n}\n\n.BolusTooltip--types--ZPhA9 {\n text-align: left;\n}\n\n.BolusTooltip--suggested--YVlJW {\n font-weight: bold;\n}\n\n.BolusTooltip--delivered--FwG__ {\n font-weight: bold;\n}\n\n.BolusTooltip--override--XxWiU {\n color: var(--bolus--ride);\n font-weight: bold;\n}\n\n.BolusTooltip--interrupted--wv8Yd {\n color: var(--bolus--interrupted);\n font-weight: bold;\n}\n\n.BolusTooltip--normal--WWOQI {\n color: var(--gray-medium);\n}\n\n.BolusTooltip--extended--zZR0i {\n color: var(--gray-medium);\n}\n\n.BolusTooltip--programmed--J14aP {\n}\n\n.BolusTooltip--carbs--G_1u6 {\n}\n\n.BolusTooltip--bg--W0Wml {\n}\n\n.BolusTooltip--iob--NyCjO {\n}\n\n.BolusTooltip--target--D8aNB {\n}\n\n.BolusTooltip--isf--_CxMA {\n}\n\n.BolusTooltip--carbRatio--mZddZ {\n}\n\n.BolusTooltip--annotation--Wn2gj {\n}\n\n.BolusTooltip--divider--njHTV {\n background-color: var(--bolus);\n height: 3px;\n margin: 5px -10px;\n}\n","",{version:3,sources:["webpack://./src/components/daily/bolustooltip/BolusTooltip.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAGF;EACE,UAAU;EACV,aAAa;EACb,sBAAsB;EACtB,gBAAgB;EAChB,aAAa;EACb,gBAAgB;AAClB;;AAEA;EAEE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;EAC9B,iBAAiB;AACnB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,gBAAgB;EAChB,iBAAiB;AACnB;;AAEA;EACE,gBAAgB;EAChB,gBAAgB;AAClB;;AAEA;EAEE,iBAAiB;EACjB,aAAa;EACb,8BAA8B;EAC9B,uBAAuB;AACzB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EAEE,yBAAyB;EACzB,iBAAiB;AACnB;;AAEA;EAEE,gCAAgC;EAChC,iBAAiB;AACnB;;AAEA;EACE,yBAAyB;AAE3B;;AAEA;EACE,yBAAyB;AAE3B;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;EACE,8BAA8B;EAC9B,WAAW;EACX,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n@import '../../../styles/colors.css';\n\n.container {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 160px;\n margin: 2px 0;\n max-width: 250px;\n}\n\n.row {\n composes: smallSize from '../../../styles/typography.css';\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.label {\n flex-grow: 1;\n}\n\n.value {\n margin-left: 20px;\n}\n\n.units {\n min-width: 0.7em;\n margin-left: 10px;\n}\n\n.unitsWide {\n min-width: 2.2em;\n margin-left: 6px;\n}\n\n.title {\n composes: smallSize from '../../../styles/typography.css';\n text-align: right;\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n}\n\n.types {\n text-align: left;\n}\n\n.suggested {\n composes: row;\n font-weight: bold;\n}\n\n.delivered {\n composes: row;\n font-weight: bold;\n}\n\n.override {\n composes: row;\n color: var(--bolus--ride);\n font-weight: bold;\n}\n\n.interrupted {\n composes: row;\n color: var(--bolus--interrupted);\n font-weight: bold;\n}\n\n.normal {\n color: var(--gray-medium);\n composes: row;\n}\n\n.extended {\n color: var(--gray-medium);\n composes: row;\n}\n\n.programmed {\n composes: row;\n}\n\n.carbs {\n composes: row;\n}\n\n.bg {\n composes: row;\n}\n\n.iob {\n composes: row;\n}\n\n.target {\n composes: row;\n}\n\n.isf {\n composes: row;\n}\n\n.carbRatio {\n composes: row;\n}\n\n.annotation {\n composes: row;\n}\n\n.divider {\n background-color: var(--bolus);\n height: 3px;\n margin: 5px -10px;\n}\n"],sourceRoot:""}]),d.locals={container:"BolusTooltip--container--CpKmz",row:`BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,label:"BolusTooltip--label--TuCfn",value:"BolusTooltip--value--nxXlD",units:"BolusTooltip--units--cDoSp",unitsWide:"BolusTooltip--unitsWide--xDx8w",title:`BolusTooltip--title--zKhjA ${s.A.locals.smallSize}`,types:"BolusTooltip--types--ZPhA9",suggested:`BolusTooltip--suggested--YVlJW BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,delivered:`BolusTooltip--delivered--FwG__ BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,override:`BolusTooltip--override--XxWiU BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,interrupted:`BolusTooltip--interrupted--wv8Yd BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,normal:`BolusTooltip--normal--WWOQI BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,extended:`BolusTooltip--extended--zZR0i BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,programmed:`BolusTooltip--programmed--J14aP BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,carbs:`BolusTooltip--carbs--G_1u6 BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,bg:`BolusTooltip--bg--W0Wml BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,iob:`BolusTooltip--iob--NyCjO BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,target:`BolusTooltip--target--D8aNB BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,isf:`BolusTooltip--isf--_CxMA BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,carbRatio:`BolusTooltip--carbRatio--mZddZ BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,annotation:`BolusTooltip--annotation--Wn2gj BolusTooltip--row--Mlc5Y ${s.A.locals.smallSize}`,divider:"BolusTooltip--divider--njHTV"};const u=d},74423:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=n(61872),d=i()(r());d.i(l.A),d.i(s.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.CBGTooltip--container--gRocN {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 80px;\n margin: 2px 0;\n max-width: 180px;\n}\n\n.CBGTooltip--row--_jogG {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.CBGTooltip--label--Dy5yz {\n flex-grow: 1;\n}\n\n.CBGTooltip--value--XlvA7 {\n margin-left: 20px;\n}\n\n.CBGTooltip--units--u0Qbt {\n min-width: 0.7em;\n margin-left: 10px;\n}\n\n.CBGTooltip--title--wbHgH {\n text-align: right;\n}\n\n.CBGTooltip--bg--NaJsj {\n font-weight: bold;\n}\n\n.CBGTooltip--subType--P5spS {\n color: var(--gray-dark);\n}\n\n.CBGTooltip--annotation--DMQxi {\n}\n\n.CBGTooltip--divider--saPYF {\n height: 3px;\n margin: 5px -10px;\n}\n","",{version:3,sources:["webpack://./src/components/daily/cbgtooltip/CBGTooltip.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAGF;EACE,UAAU;EACV,aAAa;EACb,sBAAsB;EACtB,eAAe;EACf,aAAa;EACb,gBAAgB;AAClB;;AAEA;EAEE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;EAC9B,iBAAiB;AACnB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,gBAAgB;EAChB,iBAAiB;AACnB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EAEE,uBAAuB;AACzB;;AAEA;AAEA;;AAEA;EACE,WAAW;EACX,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n@import '../../../styles/colors.css';\n\n.container {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 80px;\n margin: 2px 0;\n max-width: 180px;\n}\n\n.row {\n composes: smallSize from '../../../styles/typography.css';\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.label {\n flex-grow: 1;\n}\n\n.value {\n margin-left: 20px;\n}\n\n.units {\n min-width: 0.7em;\n margin-left: 10px;\n}\n\n.title {\n composes: smallSize from '../../../styles/typography.css';\n text-align: right;\n}\n\n.bg {\n composes: row;\n font-weight: bold;\n}\n\n.subType {\n composes: row;\n color: var(--gray-dark);\n}\n\n.annotation {\n composes: subType;\n}\n\n.divider {\n height: 3px;\n margin: 5px -10px;\n}\n"],sourceRoot:""}]),d.locals={container:"CBGTooltip--container--gRocN",row:`CBGTooltip--row--_jogG ${s.A.locals.smallSize}`,label:"CBGTooltip--label--Dy5yz",value:"CBGTooltip--value--XlvA7",units:"CBGTooltip--units--u0Qbt",title:`CBGTooltip--title--wbHgH ${s.A.locals.smallSize}`,bg:`CBGTooltip--bg--NaJsj CBGTooltip--row--_jogG ${s.A.locals.smallSize}`,subType:`CBGTooltip--subType--P5spS CBGTooltip--row--_jogG ${s.A.locals.smallSize}`,annotation:`CBGTooltip--annotation--DMQxi CBGTooltip--subType--P5spS CBGTooltip--row--_jogG ${s.A.locals.smallSize}`,divider:"CBGTooltip--divider--saPYF"};const u=d},21771:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,".EventTooltip--wrapper--EUhjc {\n width: 255px;\n padding: 8px 4px;\n box-sizing: border-box;\n position: relative;\n}\n\n.EventTooltip--row--UbPYQ {\n line-height: 16px;\n font-weight: 500;\n color: var(--blue50);\n text-align: left;\n}\n\n.EventTooltip--image--qgSkn img {\n display: inline-block;\n max-width: calc(100% - 8px);\n height: auto;\n margin-bottom: 16px;\n padding: 0 4px;\n}\n\n.EventTooltip--eventTitle--aTL2n {\n font-weight: 900;\n margin-bottom: 8px;\n}\n\n.EventTooltip--eventDescription--zGyI7 {\n}\n","",{version:3,sources:["webpack://./src/components/daily/eventtooltip/EventTooltip.css"],names:[],mappings:"AAAA;EACE,YAAY;EACZ,gBAAgB;EAChB,sBAAsB;EACtB,kBAAkB;AACpB;;AAEA;EAEE,iBAAiB;EACjB,gBAAgB;EAChB,oBAAoB;EACpB,gBAAgB;AAClB;;AAEA;EACE,qBAAqB;EACrB,2BAA2B;EAC3B,YAAY;EACZ,mBAAmB;EACnB,cAAc;AAChB;;AAEA;EAEE,gBAAgB;EAChB,kBAAkB;AACpB;;AAEA;AAEA",sourcesContent:[".wrapper {\n width: 255px;\n padding: 8px 4px;\n box-sizing: border-box;\n position: relative;\n}\n\n.row {\n composes: smallSize from '../../../styles/typography.css';\n line-height: 16px;\n font-weight: 500;\n color: var(--blue50);\n text-align: left;\n}\n\n.image img {\n display: inline-block;\n max-width: calc(100% - 8px);\n height: auto;\n margin-bottom: 16px;\n padding: 0 4px;\n}\n\n.eventTitle {\n composes: row;\n font-weight: 900;\n margin-bottom: 8px;\n}\n\n.eventDescription {\n composes: row;\n}\n"],sourceRoot:""}]),l.locals={wrapper:"EventTooltip--wrapper--EUhjc",row:`EventTooltip--row--UbPYQ ${s.A.locals.smallSize}`,image:"EventTooltip--image--qgSkn",eventTitle:`EventTooltip--eventTitle--aTL2n EventTooltip--row--UbPYQ ${s.A.locals.smallSize}`,eventDescription:`EventTooltip--eventDescription--zGyI7 EventTooltip--row--UbPYQ ${s.A.locals.smallSize}`};const d=l},89295:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=n(61872),d=i()(r());d.i(l.A),d.i(s.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.FoodTooltip--container--SEIWY {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 80px;\n margin: 2px 0;\n max-width: 180px;\n}\n\n.FoodTooltip--row--QPJLq {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.FoodTooltip--label--Z6twW {\n flex-grow: 1;\n}\n\n.FoodTooltip--value--wrmvr {\n margin-left: 20px;\n}\n\n.FoodTooltip--units--LUPjT {\n min-width: 0.7em;\n margin-left: 10px;\n}\n\n.FoodTooltip--title--futzg {\n text-align: right;\n}\n\n.FoodTooltip--carb--MRoFo {\n font-weight: bold;\n}\n\n.FoodTooltip--divider--iwKpw {\n background-color: var(--bolus);\n height: 3px;\n margin: 5px -10px;\n}\n","",{version:3,sources:["webpack://./src/components/daily/foodtooltip/FoodTooltip.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAGF;EACE,UAAU;EACV,aAAa;EACb,sBAAsB;EACtB,eAAe;EACf,aAAa;EACb,gBAAgB;AAClB;;AAEA;EAEE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;EAC9B,iBAAiB;AACnB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,gBAAgB;EAChB,iBAAiB;AACnB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EACE,8BAA8B;EAC9B,WAAW;EACX,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n@import '../../../styles/colors.css';\n\n.container {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 80px;\n margin: 2px 0;\n max-width: 180px;\n}\n\n.row {\n composes: smallSize from '../../../styles/typography.css';\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.label {\n flex-grow: 1;\n}\n\n.value {\n margin-left: 20px;\n}\n\n.units {\n min-width: 0.7em;\n margin-left: 10px;\n}\n\n.title {\n composes: smallSize from '../../../styles/typography.css';\n text-align: right;\n}\n\n.carb {\n composes: row;\n font-weight: bold;\n}\n\n.divider {\n background-color: var(--bolus);\n height: 3px;\n margin: 5px -10px;\n}\n"],sourceRoot:""}]),d.locals={container:"FoodTooltip--container--SEIWY",row:`FoodTooltip--row--QPJLq ${s.A.locals.smallSize}`,label:"FoodTooltip--label--Z6twW",value:"FoodTooltip--value--wrmvr",units:"FoodTooltip--units--LUPjT",title:`FoodTooltip--title--futzg ${s.A.locals.smallSize}`,carb:`FoodTooltip--carb--MRoFo FoodTooltip--row--QPJLq ${s.A.locals.smallSize}`,divider:"FoodTooltip--divider--iwKpw"};const u=d},45639:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=n(61872),d=i()(r());d.i(l.A),d.i(s.A,"",!0),d.push([e.id,".PumpSettingsOverrideTooltip--container--EgGUi {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 80px;\n margin: 2px 0;\n max-width: 250px;\n}\n\n.PumpSettingsOverrideTooltip--row--Mh8Fk {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.PumpSettingsOverrideTooltip--label--Yjy9X {\n flex-grow: 1;\n}\n\n.PumpSettingsOverrideTooltip--boldLabel--DX0Wm {\n font-weight: bold;\n}\n\n.PumpSettingsOverrideTooltip--value--_s7MU {\n margin-left: 20px;\n}\n\n.PumpSettingsOverrideTooltip--title--jE99D {\n text-align: center;\n}\n\n.PumpSettingsOverrideTooltip--target--PcPtu {\n}\n\n.PumpSettingsOverrideTooltip--overrideType--NdbGs {\n font-weight: normal;\n}\n\n.PumpSettingsOverrideTooltip--overrideType--NdbGs div:last-child {\n font-weight: bold;\n}\n","",{version:3,sources:["webpack://./src/components/daily/pumpsettingsoverridetooltip/PumpSettingsOverrideTooltip.css"],names:[],mappings:"AAEA;EACE,UAAU;EACV,aAAa;EACb,sBAAsB;EACtB,eAAe;EACf,aAAa;EACb,gBAAgB;AAClB;;AAEA;EAEE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;EAC9B,iBAAiB;AACnB;;AAEA;EACE,YAAY;AACd;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EAEE,kBAAkB;AACpB;;AAEA;AAEA;;AAEA;EAEE,mBAAmB;AACrB;;AAEA;EACE,iBAAiB;AACnB",sourcesContent:[" @import '../../../styles/colors.css';\n\n.container {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 80px;\n margin: 2px 0;\n max-width: 250px;\n}\n\n.row {\n composes: smallSize from '../../../styles/typography.css';\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.label {\n flex-grow: 1;\n}\n\n.boldLabel {\n composes: label;\n font-weight: bold;\n}\n\n.value {\n margin-left: 20px;\n}\n\n.title {\n composes: smallSize from '../../../styles/typography.css';\n text-align: center;\n}\n\n.target {\n composes: row;\n}\n\n.overrideType {\n composes: row;\n font-weight: normal;\n}\n\n.overrideType div:last-child {\n font-weight: bold;\n}\n"],sourceRoot:""}]),d.locals={container:"PumpSettingsOverrideTooltip--container--EgGUi",row:`PumpSettingsOverrideTooltip--row--Mh8Fk ${s.A.locals.smallSize}`,label:"PumpSettingsOverrideTooltip--label--Yjy9X",boldLabel:"PumpSettingsOverrideTooltip--boldLabel--DX0Wm PumpSettingsOverrideTooltip--label--Yjy9X",value:"PumpSettingsOverrideTooltip--value--_s7MU",title:`PumpSettingsOverrideTooltip--title--jE99D ${s.A.locals.smallSize}`,target:`PumpSettingsOverrideTooltip--target--PcPtu PumpSettingsOverrideTooltip--row--Mh8Fk ${s.A.locals.smallSize}`,overrideType:`PumpSettingsOverrideTooltip--overrideType--NdbGs PumpSettingsOverrideTooltip--row--Mh8Fk ${s.A.locals.smallSize}`};const u=d},47379:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=n(61872),d=i()(r());d.i(l.A),d.i(s.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.SMBGTooltip--container--Wu7GU {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 80px;\n margin: 2px 0;\n max-width: 180px;\n}\n\n.SMBGTooltip--row--dX3Sh {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.SMBGTooltip--label--qJ17K {\n flex-grow: 1;\n}\n\n.SMBGTooltip--value--UmB_c {\n margin-left: 20px;\n}\n\n.SMBGTooltip--units--x_4jA {\n min-width: 0.7em;\n margin-left: 10px;\n}\n\n.SMBGTooltip--title--nT5RS {\n text-align: right;\n}\n\n.SMBGTooltip--bg--hNU3J {\n font-weight: bold;\n}\n\n.SMBGTooltip--subType--ZUjml {\n color: var(--gray-dark);\n}\n\n.SMBGTooltip--confirmBg--Pe3UO {\n}\n\n.SMBGTooltip--source--G3Z7A {\n}\n\n.SMBGTooltip--annotation--GSEvF {\n}\n\n.SMBGTooltip--divider--u21SF {\n height: 3px;\n margin: 5px -10px;\n}\n","",{version:3,sources:["webpack://./src/components/daily/smbgtooltip/SMBGTooltip.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAGF;EACE,UAAU;EACV,aAAa;EACb,sBAAsB;EACtB,eAAe;EACf,aAAa;EACb,gBAAgB;AAClB;;AAEA;EAEE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;EAC9B,iBAAiB;AACnB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,gBAAgB;EAChB,iBAAiB;AACnB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EAEE,uBAAuB;AACzB;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;EACE,WAAW;EACX,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n@import '../../../styles/colors.css';\n\n.container {\n opacity: 1;\n display: flex;\n flex-direction: column;\n min-width: 80px;\n margin: 2px 0;\n max-width: 180px;\n}\n\n.row {\n composes: smallSize from '../../../styles/typography.css';\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n line-height: 20px;\n}\n\n.label {\n flex-grow: 1;\n}\n\n.value {\n margin-left: 20px;\n}\n\n.units {\n min-width: 0.7em;\n margin-left: 10px;\n}\n\n.title {\n composes: smallSize from '../../../styles/typography.css';\n text-align: right;\n}\n\n.bg {\n composes: row;\n font-weight: bold;\n}\n\n.subType {\n composes: row;\n color: var(--gray-dark);\n}\n\n.confirmBg {\n composes: subType;\n}\n\n.source {\n composes: subType;\n}\n\n.annotation {\n composes: subType;\n}\n\n.divider {\n height: 3px;\n margin: 5px -10px;\n}\n"],sourceRoot:""}]),d.locals={container:"SMBGTooltip--container--Wu7GU",row:`SMBGTooltip--row--dX3Sh ${s.A.locals.smallSize}`,label:"SMBGTooltip--label--qJ17K",value:"SMBGTooltip--value--UmB_c",units:"SMBGTooltip--units--x_4jA",title:`SMBGTooltip--title--nT5RS ${s.A.locals.smallSize}`,bg:`SMBGTooltip--bg--hNU3J SMBGTooltip--row--dX3Sh ${s.A.locals.smallSize}`,subType:`SMBGTooltip--subType--ZUjml SMBGTooltip--row--dX3Sh ${s.A.locals.smallSize}`,confirmBg:`SMBGTooltip--confirmBg--Pe3UO SMBGTooltip--subType--ZUjml SMBGTooltip--row--dX3Sh ${s.A.locals.smallSize}`,source:`SMBGTooltip--source--G3Z7A SMBGTooltip--subType--ZUjml SMBGTooltip--row--dX3Sh ${s.A.locals.smallSize}`,annotation:`SMBGTooltip--annotation--GSEvF SMBGTooltip--subType--ZUjml SMBGTooltip--row--dX3Sh ${s.A.locals.smallSize}`,divider:"SMBGTooltip--divider--u21SF"};const u=d},18560:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=n(34945),d=i()(r());d.i(s.A,"",!0),d.i(l.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.NonTandem--header--shbF9 {\n display: flex;\n justify-content: space-between;\n\n align-items: center;\n align-content: center;\n}\n\n.NonTandem--settingsContainer--wyIve {\n align-items: flex-start;\n display: flex;\n justify-content: space-between;\n gap: 10px;\n}\n\n.NonTandem--settingsContainerLeftAligned--tI0p2 {\n justify-content: flex-start;\n display: block;\n}\n\n.NonTandem--insulinSettingsInnerContainer--nmzyd {\n display: block;\n width: 100%;\n}\n\n.NonTandem--insulinSettingsInnerContainer--nmzyd > div {\n display: block;\n float: left;\n width: auto;\n padding-right: 10px;\n}\n\n.NonTandem--insulinSettingsInnerContainer--nmzyd > div:first-child {\n min-width: 25% !important;\n}\n\n.NonTandem--insulinSettingsInnerContainer--nmzyd > div:last-child {\n padding-right: 0;\n clear: right;\n}\n\n.NonTandem--basalSettingsContainer--C772m {\n flex-basis: 25%;\n margin-bottom: 15px;\n}\n\n.NonTandem--bolusSettingsContainer--QMZiq {\n display: flex;\n flex-wrap: wrap;\n flex-basis: 75%;\n margin-bottom: 15px;\n}\n\n.NonTandem--bolusSettingsInnerContainer--kCMVT {\n display: flex;\n flex-flow: row wrap;\n width: 100%;\n gap: 10px;\n}\n\n.NonTandem--categoryTitle--h0b71 {\n width: 100%;\n padding-bottom: 10px;\n}\n\n.NonTandem--categoryContainer--kMddv {\n margin-bottom: 10px;\n width: 100%;\n flex: 1;\n}\n\n.NonTandem--bolusSettingsInnerContainer--kCMVT .NonTandem--categoryContainer--kMddv:last-child {\n padding-right: 0;\n}\n\n.NonTandem--basalTable--fkAEf {\n}\n\n.NonTandem--basalTable--fkAEf td:first-child, .NonTandem--basalTable--fkAEf th:first-child {\n padding-left: 28px;\n}\n\n.NonTandem--settingsTable--bvSw8 {\n}\n\n.NonTandem--settingsTableInverted--XW7S0 {\n}\n\n.NonTandem--settingsTable--bvSw8 td:first-child, .NonTandem--settingsTable--bvSw8 th:first-child,\n.NonTandem--settingsTableInverted--XW7S0 td:first-child, .NonTandem--settingsTableInverted--XW7S0 th:first-child {\n padding-left: 28px;\n}\n\n.NonTandem--singleLineBasalScheduleHeader--ESKnN {\n justify-content: space-between;\n}\n\n.NonTandem--automatedSingleLineBasalScheduleHeader--kIDJ7 {\n justify-content: space-between;\n font-size: 16px;\n padding: 0;\n}\n\n.NonTandem--twoLineBasalScheduleHeader--xYjZD {\n}\n\n.NonTandem--twoLineBasalScheduleHeader--xYjZD > div:first-child {\n padding-left: 0;\n}\n\n.NonTandem--insulinSettingsHeader--EtP0j {\n}\n\n.NonTandem--presetSettingsHeader--Ncjal {\n}\n\n.NonTandem--bolusSettingsHeader--A_g8e {\n}\n\n.NonTandem--automatedBasalHeaderBackground--MyDbN {\n text-align: left;\n padding-left: 28px;\n padding-top: 8px;\n padding-bottom: 8px\n}\n\n.NonTandem--automatedBasalHeaderBackground--MyDbN > span {\n padding-left: 5px;\n}\n\n@media print {\n\n .NonTandem--categoryContainer--kMddv {\n max-width: 280px;\n min-width: 250px;\n width: 100%;\n margin-bottom: 10px;\n margin-right: 10px;\n }\n\n .NonTandem--settingsContainer--wyIve {\n display: block;\n }\n\n .NonTandem--basalSettingsContainer--C772m {\n display: flex;\n flex-flow: row wrap;\n justify-content: flex-start;\n page-break-after: auto;\n }\n\n .NonTandem--categoryTitle--h0b71 {\n font-weight: normal;\n font-size: 20px;\n color: var(--text-black);\n width: 100%;\n padding-bottom: 10px;\n }\n}\n","",{version:3,sources:["webpack://./src/components/settings/NonTandem.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,aAAa;EACb,8BAA8B;;EAE9B,mBAAmB;EACnB,qBAAqB;AACvB;;AAEA;EACE,uBAAuB;EACvB,aAAa;EACb,8BAA8B;EAC9B,SAAS;AACX;;AAEA;EAEE,2BAA2B;EAC3B,cAAc;AAChB;;AAEA;EACE,cAAc;EACd,WAAW;AACb;;AAEA;EACE,cAAc;EACd,WAAW;EACX,WAAW;EACX,mBAAmB;AACrB;;AAEA;EACE,yBAAyB;AAC3B;;AAEA;EACE,gBAAgB;EAChB,YAAY;AACd;;AAEA;EACE,eAAe;EACf,mBAAmB;AACrB;;AAEA;EACE,aAAa;EACb,eAAe;EACf,eAAe;EACf,mBAAmB;AACrB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,WAAW;EACX,SAAS;AACX;;AAEA;EAEE,WAAW;EACX,oBAAoB;AACtB;;AAEA;EACE,mBAAmB;EACnB,WAAW;EACX,OAAO;AACT;;AAEA;EACE,gBAAgB;AAClB;;AAEA;AAEA;;AAEA;EACE,kBAAkB;AACpB;;AAEA;AAEA;;AAEA;AAEA;;AAEA;;EAEE,kBAAkB;AACpB;;AAEA;EAEE,8BAA8B;AAChC;;AAEA;EAEE,8BAA8B;EAC9B,eAAe;EACf,UAAU;AACZ;;AAEA;AAEA;;AAEA;EACE,eAAe;AACjB;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;EAEE,gBAAgB;EAChB,kBAAkB;EAClB,gBAAgB;EAChB;AACF;;AAEA;EACE,iBAAiB;AACnB;;AAEA;;EAEE;IACE,gBAAgB;IAChB,gBAAgB;IAChB,WAAW;IACX,mBAAmB;IACnB,kBAAkB;EACpB;;EAEA;IACE,cAAc;EAChB;;EAEA;IACE,aAAa;IACb,mBAAmB;IACnB,2BAA2B;IAC3B,sBAAsB;EACxB;;EAEA;IACE,mBAAmB;IACnB,eAAe;IACf,wBAAwB;IACxB,WAAW;IACX,oBAAoB;EACtB;AACF",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.header {\n display: flex;\n justify-content: space-between;\n\n align-items: center;\n align-content: center;\n}\n\n.settingsContainer {\n align-items: flex-start;\n display: flex;\n justify-content: space-between;\n gap: 10px;\n}\n\n.settingsContainerLeftAligned {\n composes: settingsContainer;\n justify-content: flex-start;\n display: block;\n}\n\n.insulinSettingsInnerContainer {\n display: block;\n width: 100%;\n}\n\n.insulinSettingsInnerContainer > div {\n display: block;\n float: left;\n width: auto;\n padding-right: 10px;\n}\n\n.insulinSettingsInnerContainer > div:first-child {\n min-width: 25% !important;\n}\n\n.insulinSettingsInnerContainer > div:last-child {\n padding-right: 0;\n clear: right;\n}\n\n.basalSettingsContainer {\n flex-basis: 25%;\n margin-bottom: 15px;\n}\n\n.bolusSettingsContainer {\n display: flex;\n flex-wrap: wrap;\n flex-basis: 75%;\n margin-bottom: 15px;\n}\n\n.bolusSettingsInnerContainer {\n display: flex;\n flex-flow: row wrap;\n width: 100%;\n gap: 10px;\n}\n\n.categoryTitle {\n composes: mediumContrastText from '../../styles/typography.css';\n width: 100%;\n padding-bottom: 10px;\n}\n\n.categoryContainer {\n margin-bottom: 10px;\n width: 100%;\n flex: 1;\n}\n\n.bolusSettingsInnerContainer .categoryContainer:last-child {\n padding-right: 0;\n}\n\n.basalTable {\n composes: basalTable from './settings.css';\n}\n\n.basalTable td:first-child, .basalTable th:first-child {\n padding-left: 28px;\n}\n\n.settingsTable {\n composes: settingsTable from './settings.css';\n}\n\n.settingsTableInverted {\n composes: settingsTableInverted from './settings.css';\n}\n\n.settingsTable td:first-child, .settingsTable th:first-child,\n.settingsTableInverted td:first-child, .settingsTableInverted th:first-child {\n padding-left: 28px;\n}\n\n.singleLineBasalScheduleHeader {\n composes: basalHeaderBackground settingsHeader from './settings.css';\n justify-content: space-between;\n}\n\n.automatedSingleLineBasalScheduleHeader {\n composes: automatedBasalHeaderBackground settingsHeader from './settings.css';\n justify-content: space-between;\n font-size: 16px;\n padding: 0;\n}\n\n.twoLineBasalScheduleHeader {\n composes: basalHeaderBackground settingsHeaderDecoration settingsHeaderLayout settingsHeaderText from './settings.css';\n}\n\n.twoLineBasalScheduleHeader > div:first-child {\n padding-left: 0;\n}\n\n.insulinSettingsHeader {\n composes: bolusHeaderBackground settingsHeader from './settings.css';\n}\n\n.presetSettingsHeader {\n composes: presetsHeaderBackground settingsHeader from './settings.css';\n}\n\n.bolusSettingsHeader {\n composes: bolusHeaderBackground settingsHeader from './settings.css';\n}\n\n.automatedBasalHeaderBackground {\n composes: automatedBasalHeaderBackground from './settings.css';\n text-align: left;\n padding-left: 28px;\n padding-top: 8px;\n padding-bottom: 8px\n}\n\n.automatedBasalHeaderBackground > span {\n padding-left: 5px;\n}\n\n@media print {\n\n .categoryContainer {\n max-width: 280px;\n min-width: 250px;\n width: 100%;\n margin-bottom: 10px;\n margin-right: 10px;\n }\n\n .settingsContainer {\n display: block;\n }\n\n .basalSettingsContainer {\n display: flex;\n flex-flow: row wrap;\n justify-content: flex-start;\n page-break-after: auto;\n }\n\n .categoryTitle {\n font-weight: normal;\n font-size: 20px;\n color: var(--text-black);\n width: 100%;\n padding-bottom: 10px;\n }\n}\n"],sourceRoot:""}]),d.locals={header:"NonTandem--header--shbF9",settingsContainer:"NonTandem--settingsContainer--wyIve",settingsContainerLeftAligned:"NonTandem--settingsContainerLeftAligned--tI0p2 NonTandem--settingsContainer--wyIve",insulinSettingsInnerContainer:"NonTandem--insulinSettingsInnerContainer--nmzyd",basalSettingsContainer:"NonTandem--basalSettingsContainer--C772m",bolusSettingsContainer:"NonTandem--bolusSettingsContainer--QMZiq",bolusSettingsInnerContainer:"NonTandem--bolusSettingsInnerContainer--kCMVT",categoryTitle:`NonTandem--categoryTitle--h0b71 ${s.A.locals.mediumContrastText}`,categoryContainer:"NonTandem--categoryContainer--kMddv",basalTable:`NonTandem--basalTable--fkAEf ${l.A.locals.basalTable}`,settingsTable:`NonTandem--settingsTable--bvSw8 ${l.A.locals.settingsTable}`,settingsTableInverted:`NonTandem--settingsTableInverted--XW7S0 ${l.A.locals.settingsTableInverted}`,singleLineBasalScheduleHeader:`NonTandem--singleLineBasalScheduleHeader--ESKnN ${l.A.locals.basalHeaderBackground} ${l.A.locals.settingsHeader}`,automatedSingleLineBasalScheduleHeader:`NonTandem--automatedSingleLineBasalScheduleHeader--kIDJ7 ${l.A.locals.automatedBasalHeaderBackground} ${l.A.locals.settingsHeader}`,twoLineBasalScheduleHeader:`NonTandem--twoLineBasalScheduleHeader--xYjZD ${l.A.locals.basalHeaderBackground} ${l.A.locals.settingsHeaderDecoration} ${l.A.locals.settingsHeaderLayout} ${l.A.locals.settingsHeaderText}`,insulinSettingsHeader:`NonTandem--insulinSettingsHeader--EtP0j ${l.A.locals.bolusHeaderBackground} ${l.A.locals.settingsHeader}`,presetSettingsHeader:`NonTandem--presetSettingsHeader--Ncjal ${l.A.locals.presetsHeaderBackground} ${l.A.locals.settingsHeader}`,bolusSettingsHeader:`NonTandem--bolusSettingsHeader--A_g8e ${l.A.locals.bolusHeaderBackground} ${l.A.locals.settingsHeader}`,automatedBasalHeaderBackground:`NonTandem--automatedBasalHeaderBackground--MyDbN ${l.A.locals.automatedBasalHeaderBackground}`};const u=d},17387:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(34945),l=n(20487),d=n(61872),u=i()(r());u.i(d.A),u.i(s.A,"",!0),u.i(l.A,"",!0),u.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.Tandem--header--whs3N {\n display: flex;\n justify-content: space-between;\n\n align-items: center;\n align-content: center;\n}\n\n.Tandem--headerCommon--oS2Oj {\n line-height: 20px;\n}\n\n.Tandem--basalScheduleHeader--njyr8 {\n}\n\n.Tandem--bolusSettingsHeader--M8ET5 {\n}\n\n.Tandem--collapsibleLabel--qHk8e {\n border-top: 1px solid var(--collapsible--border);\n justify-content: flex-start;\n line-height: 40px;\n margin-left: 20px;\n padding-left: 1em;\n}\n\n.Tandem--profileTable--OCxjI {\n padding-bottom: 1em;\n margin-left: 40px;\n width: auto;\n}\n\n.Tandem--profileTable--OCxjI td, .Tandem--profileTable--OCxjI th {\n font-size: 14px;\n text-align: center;\n}\n\n.Tandem--profileTable--OCxjI thead th {\n padding-left: 24px;\n padding-right: 10px;\n}\n\n.Tandem--profileTable--OCxjI thead th:first-child {\n text-align: left;\n padding-left: 10px;\n padding-right: 10px;\n}\n\n.Tandem--profileTable--OCxjI th:first-of-type {\n font-weight: bold;\n}\n\n.Tandem--title--Jm4xp {\n display: inline-block;\n padding-bottom: 10px;\n}\n\n.Tandem--categoryTitle--jwXEy {\n width: 100%;\n padding-bottom: 10px;\n margin-left: 40px;\n margin-top: 15px;\n}\n\n.Tandem--settingsTableInverted--CYr53 {\n margin-bottom: 1em;\n margin-left: 40px;\n width: 25%;\n min-width: 240px;\n}\n\n.Tandem--settingsTableInverted--CYr53 td:first-child, .Tandem--settingsTableInverted--CYr53 th:first-child {\n /* padding-left: 28px; */\n padding-left: 14px;\n}\n\n.Tandem--insulinSettingsHeader--jLGyj {\n}\n\n.Tandem--annotations--AD1l3 {\n margin-left: 40px;\n margin-right: 40px;\n margin-top: 30px;\n font-size: 14px;\n font-weight: 500;\n}\n\n@media print {\n\n .Tandem--title--Jm4xp {\n font-weight: normal;\n font-size: 20px;\n color: var(--text-black);\n display: inline-block;\n padding-bottom: 10px;\n }\n\n .Tandem--profileTable--OCxjI th {\n font-weight: normal;\n color: #000;\n }\n\n .Tandem--profileTable--OCxjI th:first-of-type {\n font-weight: normal;\n }\n}\n","",{version:3,sources:["webpack://./src/components/settings/Tandem.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAIF;EACE,aAAa;EACb,8BAA8B;;EAE9B,mBAAmB;EACnB,qBAAqB;AACvB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;AAGA;;AAEA;AAGA;;AAEA;EACE,gDAAgD;EAChD,2BAA2B;EAC3B,iBAAiB;EACjB,iBAAiB;EACjB,iBAAiB;AACnB;;AAEA;EAEE,mBAAmB;EACnB,iBAAiB;EACjB,WAAW;AACb;;AAEA;EACE,eAAe;EACf,kBAAkB;AACpB;;AAEA;EACE,kBAAkB;EAClB,mBAAmB;AACrB;;AAEA;EACE,gBAAgB;EAChB,kBAAkB;EAClB,mBAAmB;AACrB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EAEE,qBAAqB;EACrB,oBAAoB;AACtB;;AAEA;EAEE,WAAW;EACX,oBAAoB;EACpB,iBAAiB;EACjB,gBAAgB;AAClB;;AAEA;EAEE,kBAAkB;EAClB,iBAAiB;EACjB,UAAU;EACV,gBAAgB;AAClB;;AAEA;EACE,wBAAwB;EACxB,kBAAkB;AACpB;;AAEA;AAEA;;AAEA;EACE,iBAAiB;EACjB,kBAAkB;EAClB,gBAAgB;EAChB,eAAe;EACf,gBAAgB;AAClB;;AAEA;;EAEE;IACE,mBAAmB;IACnB,eAAe;IACf,wBAAwB;IACxB,qBAAqB;IACrB,oBAAoB;EACtB;;EAEA;IACE,mBAAmB;IACnB,WAAW;EACb;;EAEA;IACE,mBAAmB;EACrB;AACF",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n@import '../../styles/colors.css';\n\n.header {\n display: flex;\n justify-content: space-between;\n\n align-items: center;\n align-content: center;\n}\n\n.headerCommon {\n line-height: 20px;\n}\n\n.basalScheduleHeader {\n composes: basalHeaderBackground settingsHeaderText from './settings.css';\n composes: headerCommon;\n}\n\n.bolusSettingsHeader {\n composes: bolusHeaderBackground settingsHeaderText from './settings.css';\n composes: headerCommon;\n}\n\n.collapsibleLabel {\n border-top: 1px solid var(--collapsible--border);\n justify-content: flex-start;\n line-height: 40px;\n margin-left: 20px;\n padding-left: 1em;\n}\n\n.profileTable {\n composes: basalTable from './settings.css';\n padding-bottom: 1em;\n margin-left: 40px;\n width: auto;\n}\n\n.profileTable td, .profileTable th {\n font-size: 14px;\n text-align: center;\n}\n\n.profileTable thead th {\n padding-left: 24px;\n padding-right: 10px;\n}\n\n.profileTable thead th:first-child {\n text-align: left;\n padding-left: 10px;\n padding-right: 10px;\n}\n\n.profileTable th:first-of-type {\n font-weight: bold;\n}\n\n.title {\n composes: boldText defaultSize mediumContrastText from '../../styles/typography.css';\n display: inline-block;\n padding-bottom: 10px;\n}\n\n.categoryTitle {\n composes: mediumContrastText from '../../styles/typography.css';\n width: 100%;\n padding-bottom: 10px;\n margin-left: 40px;\n margin-top: 15px;\n}\n\n.settingsTableInverted {\n composes: settingsTableInverted from './settings.css';\n margin-bottom: 1em;\n margin-left: 40px;\n width: 25%;\n min-width: 240px;\n}\n\n.settingsTableInverted td:first-child, .settingsTableInverted th:first-child {\n /* padding-left: 28px; */\n padding-left: 14px;\n}\n\n.insulinSettingsHeader {\n composes: bolusHeaderBackground settingsHeader from './settings.css';\n}\n\n.annotations {\n margin-left: 40px;\n margin-right: 40px;\n margin-top: 30px;\n font-size: 14px;\n font-weight: 500;\n}\n\n@media print {\n\n .title {\n font-weight: normal;\n font-size: 20px;\n color: var(--text-black);\n display: inline-block;\n padding-bottom: 10px;\n }\n\n .profileTable th {\n font-weight: normal;\n color: #000;\n }\n\n .profileTable th:first-of-type {\n font-weight: normal;\n }\n}\n"],sourceRoot:""}]),u.locals={header:"Tandem--header--whs3N",headerCommon:"Tandem--headerCommon--oS2Oj",basalScheduleHeader:`Tandem--basalScheduleHeader--njyr8 ${s.A.locals.basalHeaderBackground} ${s.A.locals.settingsHeaderText} Tandem--headerCommon--oS2Oj`,bolusSettingsHeader:`Tandem--bolusSettingsHeader--M8ET5 ${s.A.locals.bolusHeaderBackground} ${s.A.locals.settingsHeaderText} Tandem--headerCommon--oS2Oj`,collapsibleLabel:"Tandem--collapsibleLabel--qHk8e",profileTable:`Tandem--profileTable--OCxjI ${s.A.locals.basalTable}`,title:`Tandem--title--Jm4xp ${l.A.locals.boldText} ${l.A.locals.defaultSize} ${l.A.locals.mediumContrastText}`,categoryTitle:`Tandem--categoryTitle--jwXEy ${l.A.locals.mediumContrastText}`,settingsTableInverted:`Tandem--settingsTableInverted--CYr53 ${s.A.locals.settingsTableInverted}`,insulinSettingsHeader:`Tandem--insulinSettingsHeader--jLGyj ${s.A.locals.bolusHeaderBackground} ${s.A.locals.settingsHeader}`,annotations:"Tandem--annotations--AD1l3"};const c=u},25099:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(34945),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.CollapsibleContainer--secondaryLabel--wgffm {\n}\n\n.containerCollapse {\n transition: height 250ms;\n}\n","",{version:3,sources:["webpack://./src/components/settings/common/CollapsibleContainer.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;AAEA;;AAEA;EACE,wBAAwB;AAC1B",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.secondaryLabel {\n composes: secondaryText from '../settings.css';\n}\n\n:global(.containerCollapse) {\n transition: height 250ms;\n}\n"],sourceRoot:""}]),l.locals={secondaryLabel:`CollapsibleContainer--secondaryLabel--wgffm ${s.A.locals.secondaryText}`};const d=l},21369:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.Header--header--P7xyy {\n position: relative;\n display: table;\n padding-left: 0px;\n margin-bottom: 5px;\n}\n.Header--headerOuter--axeXC:nth-last-of-type(1) .Header--headerInner--LYL8h{\n transition-property: width;\n transition-duration: .25s;\n overflow: hidden;\n}\n.Header--headerClosed--YQpTc .Header--headerOuter--axeXC:nth-last-of-type(1) .Header--headerInner--LYL8h {\n width: 0px;\n}\n.Header--headerExpanded--y_ese .Header--headerOuter--axeXC:nth-last-of-type(1) .Header--headerInner--LYL8h {\n width: 100%;\n}\n.Header--headerOuter--axeXC {\n display: inline-block;\n font-weight: 300;\n overflow: hidden;\n}\n.Header--headerInner--LYL8h {\n display: block;\n margin: 5px 5px 5px 0;\n white-space: nowrap;\n}\n.Header--headerOuter--axeXC:nth-last-of-type(2) {\n padding-right: 10px;\n}\n.Header--headerClosed--YQpTc .Header--headerOuter--axeXC:nth-last-of-type(2)::after {\n content: '›';\n font-size: 15px;\n font-weight: bold;\n position: absolute;\n right: 5px;\n top: 45%;\n transform: translateY(-50%);\n}\n.Header--headerExpanded--y_ese .Header--headerOuter--axeXC:nth-last-of-type(2)::after {\n content: '›';\n font-size: 15px;\n font-weight: bold;\n position: absolute;\n right: 5px;\n top: 55%;\n transform: rotate(180deg) translateY(50%);\n}\n\n@media print {\n\n .Header--headerOuter--axeXC {\n color: var(--text-black);\n }\n\n .Header--headerOuter--axeXC:first-of-type {\n color: var(--text-black);\n font-weight: normal;\n font-size: 16px;\n }\n\n}\n","",{version:3,sources:["webpack://./src/components/settings/common/Header.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,kBAAkB;EAClB,cAAc;EACd,iBAAiB;EACjB,kBAAkB;AACpB;AACA;EACE,0BAA0B;EAC1B,yBAAyB;EACzB,gBAAgB;AAClB;AACA;EACE,UAAU;AACZ;AACA;EACE,WAAW;AACb;AACA;EAEE,qBAAqB;EACrB,gBAAgB;EAChB,gBAAgB;AAClB;AACA;EAEE,cAAc;EACd,qBAAqB;EACrB,mBAAmB;AACrB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,YAAY;EACZ,eAAe;EACf,iBAAiB;EACjB,kBAAkB;EAClB,UAAU;EACV,QAAQ;EACR,2BAA2B;AAC7B;AACA;EACE,YAAY;EACZ,eAAe;EACf,iBAAiB;EACjB,kBAAkB;EAClB,UAAU;EACV,QAAQ;EACR,yCAAyC;AAC3C;;AAEA;;EAEE;IAEE,wBAAwB;EAC1B;;EAEA;IACE,wBAAwB;IACxB,mBAAmB;IACnB,eAAe;EACjB;;AAEF",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.header {\n position: relative;\n display: table;\n padding-left: 0px;\n margin-bottom: 5px;\n}\n.headerOuter:nth-last-of-type(1) .headerInner{\n transition-property: width;\n transition-duration: .25s;\n overflow: hidden;\n}\n.headerClosed .headerOuter:nth-last-of-type(1) .headerInner {\n width: 0px;\n}\n.headerExpanded .headerOuter:nth-last-of-type(1) .headerInner {\n width: 100%;\n}\n.headerOuter {\n composes: header;\n display: inline-block;\n font-weight: 300;\n overflow: hidden;\n}\n.headerInner {\n composes: header;\n display: block;\n margin: 5px 5px 5px 0;\n white-space: nowrap;\n}\n.headerOuter:nth-last-of-type(2) {\n padding-right: 10px;\n}\n.headerClosed .headerOuter:nth-last-of-type(2)::after {\n content: '›';\n font-size: 15px;\n font-weight: bold;\n position: absolute;\n right: 5px;\n top: 45%;\n transform: translateY(-50%);\n}\n.headerExpanded .headerOuter:nth-last-of-type(2)::after {\n content: '›';\n font-size: 15px;\n font-weight: bold;\n position: absolute;\n right: 5px;\n top: 55%;\n transform: rotate(180deg) translateY(50%);\n}\n\n@media print {\n\n .headerOuter {\n composes: lightText largeSize from '../../../styles/typography.css';\n color: var(--text-black);\n }\n\n .headerOuter:first-of-type {\n color: var(--text-black);\n font-weight: normal;\n font-size: 16px;\n }\n\n}\n"],sourceRoot:""}]),l.locals={header:"Header--header--P7xyy",headerOuter:`Header--headerOuter--axeXC Header--header--P7xyy ${s.A.locals.lightText} ${s.A.locals.largeSize}`,headerInner:"Header--headerInner--LYL8h Header--header--P7xyy",headerClosed:"Header--headerClosed--YQpTc",headerExpanded:"Header--headerExpanded--y_ese"};const d=l},48643:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(34945),l=n(20487),d=n(33152),u=i()(r());u.i(s.A,"",!0),u.i(l.A,"",!0),u.i(d.A,"",!0),u.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.SingleLineCollapsibleContainerLabel--collapsibleLabel--jwq_c {\n}\n\n.SingleLineCollapsibleContainerLabel--labelContainer--TH25a {\n cursor: pointer;\n display: flex;\n align-items: baseline;\n}\n\n.SingleLineCollapsibleContainerLabel--labelContainer--TH25a:hover {\n color: var(--text-hover);\n}\n\n.SingleLineCollapsibleContainerLabel--mainText--NGxZr {\n}\n\n.SingleLineCollapsibleContainerLabel--secondaryText--dE2hg {\n}\n\n@media print {\n\n .SingleLineCollapsibleContainerLabel--labelContainer--TH25a {\n align-items: flex-end;\n }\n\n .SingleLineCollapsibleContainerLabel--mainText--NGxZr {\n }\n\n .SingleLineCollapsibleContainerLabel--secondaryText--dE2hg {\n }\n\n}\n","",{version:3,sources:["webpack://./src/components/settings/common/SingleLineCollapsibleContainerLabel.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;AAEA;;AAEA;EAGE,eAAe;EACf,aAAa;EACb,qBAAqB;AACvB;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;AAEA;;AAEA;AAEA;;AAEA;;EAEE;IACE,qBAAqB;EACvB;;EAEA;EAEA;;EAEA;EAEA;;AAEF",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.collapsibleLabel {\n composes: settingsHeader from '../settings.css';\n}\n\n.labelContainer {\n composes: defaultSize mediumContrastText from '../../../styles/typography.css';\n composes: norgie from './norgie.css';\n cursor: pointer;\n display: flex;\n align-items: baseline;\n}\n\n.labelContainer:hover {\n color: var(--text-hover);\n}\n\n.mainText {\n composes: boldText from '../../../styles/typography.css';\n}\n\n.secondaryText {\n composes: secondaryText from '../settings.css';\n}\n\n@media print {\n\n .labelContainer {\n align-items: flex-end;\n }\n\n .mainText {\n composes: mainHeaderText from '../settings.css';\n }\n\n .secondaryText {\n composes: secondaryText from '../settings.css';\n }\n\n}\n"],sourceRoot:""}]),u.locals={collapsibleLabel:`SingleLineCollapsibleContainerLabel--collapsibleLabel--jwq_c ${s.A.locals.settingsHeader}`,labelContainer:`SingleLineCollapsibleContainerLabel--labelContainer--TH25a ${l.A.locals.defaultSize} ${l.A.locals.mediumContrastText} ${d.A.locals.norgie}`,mainText:`SingleLineCollapsibleContainerLabel--mainText--NGxZr ${l.A.locals.boldText} ${s.A.locals.mainHeaderText}`,secondaryText:`SingleLineCollapsibleContainerLabel--secondaryText--dE2hg ${s.A.locals.secondaryText} ${s.A.locals.secondaryText}`};const c=u},70524:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=n(34945),d=i()(r());d.i(s.A,"",!0),d.i(l.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.Table--secondaryLabelAlone--f8vEQ {\n font-weight: normal;\n}\n\n.Table--secondaryLabelWithMain--UBULD {\n}\n\n.Table--tooltipIcon--QcUKP {\n position: relative;\n margin-right: .75em;\n float: right;\n}\n\n.Table--tooltipIcon--QcUKP > img {\n width: 14px;\n}\n\n.Table--rowTooltipIcon--aOeE7 {\n margin-right: 0;\n margin-left: .75em;\n float: none;\n}\n\n.Table--rowTooltipIcon--aOeE7 > img {\n width: 14px;\n}\n\n.Table--TableTooltipWrapper--DKpZf {\n z-index: 1;\n position: relative;\n}\n\n@media print {\n\n .Table--secondaryLabelWithMain--UBULD {\n color: var(--text-black);\n }\n}\n","",{version:3,sources:["webpack://./src/components/settings/common/Table.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EAEE,mBAAmB;AACrB;;AAEA;AAGA;;AAEA;EACE,kBAAkB;EAClB,mBAAmB;EACnB,YAAY;AACd;;AAEA;EACE,WAAW;AACb;;AAEA;EAEE,eAAe;EACf,kBAAkB;EAClB,WAAW;AACb;;AAEA;EACE,WAAW;AACb;;AAEA;EACE,UAAU;EACV,kBAAkB;AACpB;;AAEA;;EAEE;IAEE,wBAAwB;EAE1B;AACF",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.secondaryLabelAlone {\n composes: secondaryLeftPadding from '../settings.css';\n font-weight: normal;\n}\n\n.secondaryLabelWithMain {\n composes: lightText from '../../../styles/typography.css';\n composes: secondaryLeftPadding from '../settings.css';\n}\n\n.tooltipIcon {\n position: relative;\n margin-right: .75em;\n float: right;\n}\n\n.tooltipIcon > img {\n width: 14px;\n}\n\n.rowTooltipIcon {\n composes: tooltipIcon;\n margin-right: 0;\n margin-left: .75em;\n float: none;\n}\n\n.rowTooltipIcon > img {\n width: 14px;\n}\n\n.TableTooltipWrapper {\n z-index: 1;\n position: relative;\n}\n\n@media print {\n\n .secondaryLabelWithMain {\n composes: lightText largeSize from '../../../styles/typography.css';\n color: var(--text-black);\n \tcomposes: secondaryLeftPadding from '../settings.css';\n }\n}\n"],sourceRoot:""}]),d.locals={secondaryLabelAlone:`Table--secondaryLabelAlone--f8vEQ ${l.A.locals.secondaryLeftPadding}`,secondaryLabelWithMain:`Table--secondaryLabelWithMain--UBULD ${s.A.locals.lightText} ${l.A.locals.secondaryLeftPadding} ${s.A.locals.lightText} ${s.A.locals.largeSize} ${l.A.locals.secondaryLeftPadding}`,tooltipIcon:"Table--tooltipIcon--QcUKP",rowTooltipIcon:"Table--rowTooltipIcon--aOeE7 Table--tooltipIcon--QcUKP",TableTooltipWrapper:"Table--TableTooltipWrapper--DKpZf"};const u=d},35347:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(34945),l=n(20487),d=n(33152),u=i()(r());u.i(s.A,"",!0),u.i(l.A,"",!0),u.i(d.A,"",!0),u.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.TwoLineCollapsibleContainerLabel--collapsibleLabel--_Oy6e {\n}\n\n.TwoLineCollapsibleContainerLabel--labelContainer--DTOsa {\n cursor: pointer;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 66px;\n min-width: 240px;\n padding-top: 10px;\n padding-bottom: 10px;\n}\n\n.TwoLineCollapsibleContainerLabel--labelContainer--DTOsa:hover {\n color: var(--text-hover);\n}\n\n.TwoLineCollapsibleContainerLabel--norgieLabelContainer--ufSOZ {\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n}\n\n.TwoLineCollapsibleContainerLabel--mainText--uNLSt {\n}\n\n.TwoLineCollapsibleContainerLabel--secondaryText--sLi0k {\n}\n\n.TwoLineCollapsibleContainerLabel--secondaryLabel--IdtCy {\n}\n\n@media print {\n\n .TwoLineCollapsibleContainerLabel--labelContainer--DTOsa {\n cursor: pointer;\n box-sizing: border-box;\n display: flex;\n flex-direction: row-reverse;\n text-overflow: ellipsis;\n max-width: 280px;\n min-width: 200px;\n padding-top: 10px;\n padding-bottom: 10px;\n height: auto;\n }\n\n .TwoLineCollapsibleContainerLabel--mainText--uNLSt{\n }\n\n .TwoLineCollapsibleContainerLabel--secondaryText--sLi0k,\n .TwoLineCollapsibleContainerLabel--secondaryLabel--IdtCy {\n }\n\n}","",{version:3,sources:["webpack://./src/components/settings/common/TwoLineCollapsibleContainerLabel.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;AAEA;;AAEA;EAEE,eAAe;EACf,sBAAsB;EACtB,aAAa;EACb,sBAAsB;EACtB,8BAA8B;EAC9B,YAAY;EACZ,gBAAgB;EAChB,iBAAiB;EACjB,oBAAoB;AACtB;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EAEE,aAAa;EACb,8BAA8B;EAC9B,qBAAqB;AACvB;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;;EAEE;IAEE,eAAe;IACf,sBAAsB;IACtB,aAAa;IACb,2BAA2B;IAC3B,uBAAuB;IACvB,gBAAgB;IAChB,gBAAgB;IAChB,iBAAiB;IACjB,oBAAoB;IACpB,YAAY;EACd;;EAEA;EAEA;;EAEA;;EAGA;;AAEF",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.collapsibleLabel {\n composes: settingsHeaderDecoration settingsHeaderLayout settingsHeaderText from '../settings.css';\n}\n\n.labelContainer {\n composes: defaultSize mediumContrastText from '../../../styles/typography.css';\n cursor: pointer;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 66px;\n min-width: 240px;\n padding-top: 10px;\n padding-bottom: 10px;\n}\n\n.labelContainer:hover {\n color: var(--text-hover);\n}\n\n.norgieLabelContainer {\n composes: norgie from './norgie.css';\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n}\n\n.mainText {\n composes: boldText from '../../../styles/typography.css';\n}\n\n.secondaryText {\n composes: secondaryText from '../settings.css';\n}\n\n.secondaryLabel {\n composes: lightText from '../../../styles/typography.css';\n}\n\n@media print {\n\n .labelContainer {\n composes: defaultSize mediumContrastText from '../../../styles/typography.css';\n cursor: pointer;\n box-sizing: border-box;\n display: flex;\n flex-direction: row-reverse;\n text-overflow: ellipsis;\n max-width: 280px;\n min-width: 200px;\n padding-top: 10px;\n padding-bottom: 10px;\n height: auto;\n }\n\n .mainText{\n composes: mainHeaderText from '../settings.css';\n }\n\n .secondaryText,\n .secondaryLabel {\n composes: secondaryText from '../settings.css';\n }\n\n}"],sourceRoot:""}]),u.locals={collapsibleLabel:`TwoLineCollapsibleContainerLabel--collapsibleLabel--_Oy6e ${s.A.locals.settingsHeaderDecoration} ${s.A.locals.settingsHeaderLayout} ${s.A.locals.settingsHeaderText}`,labelContainer:`TwoLineCollapsibleContainerLabel--labelContainer--DTOsa ${l.A.locals.defaultSize} ${l.A.locals.mediumContrastText} ${l.A.locals.defaultSize} ${l.A.locals.mediumContrastText}`,norgieLabelContainer:`TwoLineCollapsibleContainerLabel--norgieLabelContainer--ufSOZ ${d.A.locals.norgie}`,mainText:`TwoLineCollapsibleContainerLabel--mainText--uNLSt ${l.A.locals.boldText} ${s.A.locals.mainHeaderText}`,secondaryText:`TwoLineCollapsibleContainerLabel--secondaryText--sLi0k ${s.A.locals.secondaryText} ${s.A.locals.secondaryText}`,secondaryLabel:`TwoLineCollapsibleContainerLabel--secondaryLabel--IdtCy ${l.A.locals.lightText} ${s.A.locals.secondaryText}`};const c=u},33152:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.norgie--norgie--XUgG5 {\n\n}\n\n.norgie--norgie--XUgG5::after {\n content: '›';\n font-size: 15px;\n font-weight: bold;\n padding-left: 8px;\n margin-right: 16px;\n transform: rotate(0deg);\n\n transition-duration: 0.25s;\n transition-property: rotate, transform;\n}\n\n.norgie--opened--Hn1zM::after {\n transform: rotate(90deg) translate(-20%, -15%);\n}\n\n@media print {\n .norgie--norgie--XUgG5::after {\n content: '';\n }\n}\n","",{version:3,sources:["webpack://./src/components/settings/common/norgie.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;;AAEA;;AAEA;EACE,YAAY;EACZ,eAAe;EACf,iBAAiB;EACjB,iBAAiB;EACjB,kBAAkB;EAClB,uBAAuB;;EAEvB,0BAA0B;EAC1B,sCAAsC;AACxC;;AAEA;EACE,8CAA8C;AAChD;;AAEA;EACE;IACE,WAAW;EACb;AACF",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.norgie {\n\n}\n\n.norgie::after {\n content: '›';\n font-size: 15px;\n font-weight: bold;\n padding-left: 8px;\n margin-right: 16px;\n transform: rotate(0deg);\n\n transition-duration: 0.25s;\n transition-property: rotate, transform;\n}\n\n.opened::after {\n transform: rotate(90deg) translate(-20%, -15%);\n}\n\n@media print {\n .norgie::after {\n content: '';\n }\n}\n"],sourceRoot:""}]),i.locals={norgie:"norgie--norgie--XUgG5",opened:"norgie--opened--Hn1zM"};const s=i},34945:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=n(61872),d=i()(r());d.i(l.A),d.i(s.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.settings--settingsTable--d1jlz {\n width: 100%;\n border-spacing: 1px 0px;\n border-collapse: separate;\n}\n\n.settings--settingsTableInverted--Wcnti {\n}\n\n.settings--settingsTable--d1jlz td, .settings--settingsTable--d1jlz th {\n padding: 10px;\n text-align: right;\n}\n\n.settings--settingsTable--d1jlz th:first-of-type, .settings--settingsTable--d1jlz td:first-of-type {\n text-align: left;\n}\n\n.settings--settingsTable--d1jlz tbody tr:nth-child(odd) {\n background-color: var(--table-stripe--dark);\n}\n\n.settings--settingsTable--d1jlz tbody tr:nth-child(even), .settings--settingsTable--d1jlz thead tr {\n background-color: var(--table-stripe--light);\n}\n\n.settings--settingsTableInverted--Wcnti tbody tr:nth-child(odd) {\n background-color: var(--table-stripe--light);\n}\n\n.settings--settingsTableInverted--Wcnti tbody tr:nth-child(even), .settings--settingsTableInverted--Wcnti thead tr {\n background-color: var(--table-stripe--dark);\n}\n\n.settings--basalTable--iMM0H {\n}\n\n.settings--basalTable--iMM0H tbody tr:last-of-type {\n font-weight: bold;\n}\n\n.settings--basalHeaderBackground--fh4zU {\n background-image: linear-gradient(to right, var(--basal) 0, var(--basal) 14px, #d7f1fb 14px, #d7f1fb 100%);\n}\n\n.settings--automatedBasalHeaderBackground--z2KzO {\n background-image: linear-gradient(to right, var(--basal-automated) 0, var(--basal-automated) 14px, #d7f1fb 14px, #d7f1fb 100%);\n}\n\n.settings--bolusHeaderBackground--NDSNR {\n background-image: linear-gradient(to right, var(--bolus) 0, var(--bolus) 14px, #d7f1fb 14px, #d7f1fb 100%);\n}\n\n.settings--presetsHeaderBackground--ojZbH {\n background-image: linear-gradient(to right, var(--preset) 0, var(--preset) 14px, #F4F5FF 14px, #F4F5FF 100%);\n}\n\n.settings--settingsHeaderDecoration--MThzZ {\n border-bottom: 1px solid var(--table-stripe--dark);\n}\n\n.settings--settingsHeaderHeight--ptl6P {\n line-height: 1.4;\n padding: 8px 0;\n}\n\n.settings--settingsHeaderLayout--RDfgJ {\n min-width: 160px;\n padding-left: 28px;\n text-align: left;\n}\n\n.settings--settingsHeaderText--rqMmg {\n}\n\n.settings--settingsHeader--M9AM7 {\n}\n\n.settings--secondaryLeftPadding--M8isl {\n padding-left: 8px;\n}\n\n.settings--secondaryText--OUAXq {\n padding-left: 8px;\n}\n\n@media print {\n .settings--settingsTable--d1jlz {\n min-width: 250px;\n width: 100%;\n border: solid 1px #000;\n border-collapse: collapse;\n padding-bottom: 0;\n }\n\n .settings--settingsTable--d1jlz tbody tr,\n .settings--settingsTable--d1jlz tbody tr:nth-child(odd),\n .settings--settingsTable--d1jlz thead {\n background-color: var(--bkgrnd-white);\n border-bottom: solid 1px #cbcbcb;\n font-weight: bold;\n color: var(--text-black);\n }\n\n .settings--settingsTable--d1jlz tbody tr:last-of-type, .settings--settingsTable--d1jlz thead tr:last-of-type {\n border-bottom: none;\n }\n\n .settings--settingsHeaderText--rqMmg {\n }\n\n .settings--basalTable--iMM0H {\n }\n\n .settings--basalTable--iMM0H tbody tr:last-of-type {\n font-weight: normal;\n }\n\n .settings--mainHeaderText--NHloQ {\n color: var(--text-black);\n font-weight: normal;\n }\n\n .settings--basalHeaderBackground--fh4zU, .settings--bolusHeaderBackground--NDSNR {\n background-image: none;\n color: var(--text-black);\n font-weight: normal;\n padding-left: 0px;\n }\n\n .settings--secondaryText--OUAXq {\n color: var(--text-black);\n padding-left: 8px;\n }\n}\n\n\n","",{version:3,sources:["webpack://./src/components/settings/settings.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAIF;EAEE,WAAW;EACX,uBAAuB;EACvB,yBAAyB;AAC3B;;AAEA;AAEA;;AAEA;EACE,aAAa;EACb,iBAAiB;AACnB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,2CAA2C;AAC7C;;AAEA;EACE,4CAA4C;AAC9C;;AAEA;EACE,4CAA4C;AAC9C;;AAEA;EACE,2CAA2C;AAC7C;;AAEA;AAEA;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,0GAA0G;AAC5G;;AAEA;EACE,8HAA8H;AAChI;;AAEA;EACE,0GAA0G;AAC5G;;AAEA;EACE,4GAA4G;AAC9G;;AAEA;EACE,kDAAkD;AACpD;;AAEA;EACE,gBAAgB;EAChB,cAAc;AAChB;;AAEA;EACE,gBAAgB;EAChB,kBAAkB;EAClB,gBAAgB;AAClB;;AAEA;AAEA;;AAEA;AAEA;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EAEE,iBAAiB;AACnB;;AAEA;EACE;IAEE,gBAAgB;IAChB,WAAW;IACX,sBAAsB;IACtB,yBAAyB;IACzB,iBAAiB;EACnB;;EAEA;;;IAGE,qCAAqC;IACrC,gCAAgC;IAChC,iBAAiB;IACjB,wBAAwB;EAC1B;;EAEA;IACE,mBAAmB;EACrB;;EAEA;EAEA;;EAEA;EAEA;;EAEA;IACE,mBAAmB;EACrB;;EAEA;IACE,wBAAwB;IACxB,mBAAmB;EAErB;;EAEA;IACE,sBAAsB;IACtB,wBAAwB;IACxB,mBAAmB;IAEnB,iBAAiB;EACnB;;EAEA;IAEE,wBAAwB;IACxB,iBAAiB;EACnB;AACF",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n@import '../../styles/colors.css';\n\n.settingsTable {\n composes: defaultSize mediumContrastText from '../../styles/typography.css';\n width: 100%;\n border-spacing: 1px 0px;\n border-collapse: separate;\n}\n\n.settingsTableInverted {\n composes: settingsTable;\n}\n\n.settingsTable td, .settingsTable th {\n padding: 10px;\n text-align: right;\n}\n\n.settingsTable th:first-of-type, .settingsTable td:first-of-type {\n text-align: left;\n}\n\n.settingsTable tbody tr:nth-child(odd) {\n background-color: var(--table-stripe--dark);\n}\n\n.settingsTable tbody tr:nth-child(even), .settingsTable thead tr {\n background-color: var(--table-stripe--light);\n}\n\n.settingsTableInverted tbody tr:nth-child(odd) {\n background-color: var(--table-stripe--light);\n}\n\n.settingsTableInverted tbody tr:nth-child(even), .settingsTableInverted thead tr {\n background-color: var(--table-stripe--dark);\n}\n\n.basalTable {\n composes: settingsTable;\n}\n\n.basalTable tbody tr:last-of-type {\n font-weight: bold;\n}\n\n.basalHeaderBackground {\n background-image: linear-gradient(to right, var(--basal) 0, var(--basal) 14px, #d7f1fb 14px, #d7f1fb 100%);\n}\n\n.automatedBasalHeaderBackground {\n background-image: linear-gradient(to right, var(--basal-automated) 0, var(--basal-automated) 14px, #d7f1fb 14px, #d7f1fb 100%);\n}\n\n.bolusHeaderBackground {\n background-image: linear-gradient(to right, var(--bolus) 0, var(--bolus) 14px, #d7f1fb 14px, #d7f1fb 100%);\n}\n\n.presetsHeaderBackground {\n background-image: linear-gradient(to right, var(--preset) 0, var(--preset) 14px, #F4F5FF 14px, #F4F5FF 100%);\n}\n\n.settingsHeaderDecoration {\n border-bottom: 1px solid var(--table-stripe--dark);\n}\n\n.settingsHeaderHeight {\n line-height: 1.4;\n padding: 8px 0;\n}\n\n.settingsHeaderLayout {\n min-width: 160px;\n padding-left: 28px;\n text-align: left;\n}\n\n.settingsHeaderText {\n composes: defaultSize mediumContrastText boldText from '../../styles/typography.css';\n}\n\n.settingsHeader {\n composes: settingsHeaderDecoration settingsHeaderHeight settingsHeaderLayout settingsHeaderText;\n}\n\n.secondaryLeftPadding {\n padding-left: 8px;\n}\n\n.secondaryText {\n composes: lightText from '../../styles/typography.css';\n padding-left: 8px;\n}\n\n@media print {\n .settingsTable {\n composes: defaultSize mediumContrastText from '../../styles/typography.css';\n min-width: 250px;\n width: 100%;\n border: solid 1px #000;\n border-collapse: collapse;\n padding-bottom: 0;\n }\n\n .settingsTable tbody tr,\n .settingsTable tbody tr:nth-child(odd),\n .settingsTable thead {\n background-color: var(--bkgrnd-white);\n border-bottom: solid 1px #cbcbcb;\n font-weight: bold;\n color: var(--text-black);\n }\n\n .settingsTable tbody tr:last-of-type, .settingsTable thead tr:last-of-type {\n border-bottom: none;\n }\n\n .settingsHeaderText {\n composes: defaultSize mediumContrastText from '../../styles/typography.css';\n }\n\n .basalTable {\n composes: settingsTable;\n }\n\n .basalTable tbody tr:last-of-type {\n font-weight: normal;\n }\n\n .mainHeaderText {\n color: var(--text-black);\n font-weight: normal;\n composes: largeSize from '../../styles/typography.css';\n }\n\n .basalHeaderBackground, .bolusHeaderBackground {\n background-image: none;\n color: var(--text-black);\n font-weight: normal;\n composes: mainHeaderText;\n padding-left: 0px;\n }\n\n .secondaryText {\n composes: lightText largeSize from '../../styles/typography.css';\n color: var(--text-black);\n padding-left: 8px;\n }\n}\n\n\n"],sourceRoot:""}]),d.locals={settingsTable:`settings--settingsTable--d1jlz ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText} ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText}`,settingsTableInverted:`settings--settingsTableInverted--Wcnti settings--settingsTable--d1jlz ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText}`,basalTable:`settings--basalTable--iMM0H settings--settingsTable--d1jlz ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText} settings--settingsTable--d1jlz ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText} ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText}`,basalHeaderBackground:`settings--basalHeaderBackground--fh4zU settings--mainHeaderText--NHloQ ${s.A.locals.largeSize}`,automatedBasalHeaderBackground:"settings--automatedBasalHeaderBackground--z2KzO",bolusHeaderBackground:`settings--bolusHeaderBackground--NDSNR settings--mainHeaderText--NHloQ ${s.A.locals.largeSize}`,presetsHeaderBackground:"settings--presetsHeaderBackground--ojZbH",settingsHeaderDecoration:"settings--settingsHeaderDecoration--MThzZ",settingsHeaderHeight:"settings--settingsHeaderHeight--ptl6P",settingsHeaderLayout:"settings--settingsHeaderLayout--RDfgJ",settingsHeaderText:`settings--settingsHeaderText--rqMmg ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText} ${s.A.locals.boldText} ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText}`,settingsHeader:`settings--settingsHeader--M9AM7 settings--settingsHeaderDecoration--MThzZ settings--settingsHeaderHeight--ptl6P settings--settingsHeaderLayout--RDfgJ settings--settingsHeaderText--rqMmg ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText} ${s.A.locals.boldText}`,secondaryLeftPadding:"settings--secondaryLeftPadding--M8isl",secondaryText:`settings--secondaryText--OUAXq ${s.A.locals.lightText} ${s.A.locals.lightText} ${s.A.locals.largeSize}`,mainHeaderText:`settings--mainHeaderText--NHloQ ${s.A.locals.largeSize}`};const u=d},48896:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(12283),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.CBGDateTraceAnimated--border--mtaT9 {\n stroke: white;\n stroke-width: 0.5px;\n}\n\n.CBGDateTraceAnimated--veryLow--sjS5C {\n}\n\n.CBGDateTraceAnimated--low--mSdDN {\n}\n\n.CBGDateTraceAnimated--target--VDRRV {\n}\n\n.CBGDateTraceAnimated--high--q6Zsk {\n}\n\n.CBGDateTraceAnimated--veryHigh--kqnIl {\n}\n","",{version:3,sources:["webpack://./src/components/trends/cbg/CBGDateTraceAnimated.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,aAAa;EACb,mBAAmB;AACrB;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.border {\n stroke: white;\n stroke-width: 0.5px;\n}\n\n.veryLow {\n composes: border;\n composes: bgVeryLow from '../../../styles/diabetes.css';\n}\n\n.low {\n composes: border;\n composes: bgLow from '../../../styles/diabetes.css';\n}\n\n.target {\n composes: border;\n composes: bgTarget from '../../../styles/diabetes.css';\n}\n\n.high {\n composes: border;\n composes: bgHigh from '../../../styles/diabetes.css';\n}\n\n.veryHigh {\n composes: border;\n composes: bgVeryHigh from '../../../styles/diabetes.css';\n}\n"],sourceRoot:""}]),l.locals={border:"CBGDateTraceAnimated--border--mtaT9",veryLow:`CBGDateTraceAnimated--veryLow--sjS5C CBGDateTraceAnimated--border--mtaT9 ${s.A.locals.bgVeryLow}`,low:`CBGDateTraceAnimated--low--mSdDN CBGDateTraceAnimated--border--mtaT9 ${s.A.locals.bgLow}`,target:`CBGDateTraceAnimated--target--VDRRV CBGDateTraceAnimated--border--mtaT9 ${s.A.locals.bgTarget}`,high:`CBGDateTraceAnimated--high--q6Zsk CBGDateTraceAnimated--border--mtaT9 ${s.A.locals.bgHigh}`,veryHigh:`CBGDateTraceAnimated--veryHigh--kqnIl CBGDateTraceAnimated--border--mtaT9 ${s.A.locals.bgVeryHigh}`};const d=l},45509:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(6098),l=n(20487),d=i()(r());d.i(s.A,"",!0),d.i(l.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.CBGDateTraceLabel--container--o9eGX {\n top: 0px;\n z-index: 1;\n}\n\n.CBGDateTraceLabel--dateLabel--MzhIo {\n}\n","",{version:3,sources:["webpack://./src/components/trends/cbg/CBGDateTraceLabel.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EAEE,QAAQ;EACR,UAAU;AACZ;;AAEA;AAEA",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.container {\n composes: absolute smallHorizontalPadding from '../../../styles/layout.css';\n top: 0px;\n z-index: 1;\n}\n\n.dateLabel {\n composes: highContrastText noWrap defaultSize from '../../../styles/typography.css';\n}\n"],sourceRoot:""}]),d.locals={container:`CBGDateTraceLabel--container--o9eGX ${s.A.locals.absolute} ${s.A.locals.smallHorizontalPadding}`,dateLabel:`CBGDateTraceLabel--dateLabel--MzhIo ${l.A.locals.highContrastText} ${l.A.locals.noWrap} ${l.A.locals.defaultSize}`};const u=d},78263:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(12283),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.CBGMedianAnimated--thickStroke--Wx2Gy {\n stroke-width: 2;\n}\n\n.CBGMedianAnimated--median--k0A2B {\n stroke: white;\n pointer-events: none;\n}\n\n.CBGMedianAnimated--transparent--kx5dj {\n fill: transparent;\n}\n\n@keyframes CBGMedianAnimated--fadein--bca1E {\n from {\n fill-opacity: 0.0;\n }\n to {\n fill-opacity: 1.0;\n }\n}\n\n@keyframes CBGMedianAnimated--fadeout--Nt8UK {\n from {\n fill-opacity: 1.0;\n }\n to {\n fill-opacity: 0.0;\n }\n}\n\n.CBGMedianAnimated--fadeinAnimation--utaIE {\n animation: CBGMedianAnimated--fadein--bca1E 0.25s forwards ease-in-out;\n}\n\n.CBGMedianAnimated--fadeoutAnimation--n13Mx {\n animation: CBGMedianAnimated--fadeout--Nt8UK 0.25s forwards ease-in-out;\n}\n\n.CBGMedianAnimated--veryLowFadeIn--_N23o {\n}\n\n.CBGMedianAnimated--veryLowFadeOut--jWEjT {\n}\n\n.CBGMedianAnimated--lowFadeIn--EKzYQ {\n}\n\n.CBGMedianAnimated--lowFadeOut--VPbPd {\n}\n\n.CBGMedianAnimated--targetFadeIn--ElQaq {\n}\n\n.CBGMedianAnimated--targetFadeOut--U4eiD {\n}\n\n.CBGMedianAnimated--highFadeIn--MczpY {\n}\n\n.CBGMedianAnimated--highFadeOut--p_Ovq {\n}\n\n.CBGMedianAnimated--veryHighFadeIn--ZJV62 {\n}\n\n.CBGMedianAnimated--veryHighFadeOut--O_jFk {\n}\n","",{version:3,sources:["webpack://./src/components/trends/cbg/CBGMedianAnimated.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAMF;EACE,eAAe;AACjB;;AAEA;EACE,aAAa;EAEb,oBAAoB;AACtB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE;IACE,iBAAiB;EACnB;EACA;IACE,iBAAiB;EACnB;AACF;;AAEA;EACE;IACE,iBAAiB;EACnB;EACA;IACE,iBAAiB;EACnB;AACF;;AAEA;EACE,sEAA4C;AAC9C;;AAEA;EACE,uEAA6C;AAC/C;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n:export {\n stroke: 2;\n}\n\n.thickStroke {\n stroke-width: 2;\n}\n\n.median {\n stroke: white;\n composes: thickStroke;\n pointer-events: none;\n}\n\n.transparent {\n fill: transparent;\n}\n\n@keyframes fadein {\n from {\n fill-opacity: 0.0;\n }\n to {\n fill-opacity: 1.0;\n }\n}\n\n@keyframes fadeout {\n from {\n fill-opacity: 1.0;\n }\n to {\n fill-opacity: 0.0;\n }\n}\n\n.fadeinAnimation {\n animation: fadein 0.25s forwards ease-in-out;\n}\n\n.fadeoutAnimation {\n animation: fadeout 0.25s forwards ease-in-out;\n}\n\n.veryLowFadeIn {\n composes: bgVeryLow from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.veryLowFadeOut {\n composes: bgVeryLow from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n\n.lowFadeIn {\n composes: bgLow from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.lowFadeOut {\n composes: bgLow from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n\n.targetFadeIn {\n composes: bgTarget from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.targetFadeOut {\n composes: bgTarget from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n\n.highFadeIn {\n composes: bgHigh from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.highFadeOut {\n composes: bgHigh from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n\n.veryHighFadeIn {\n composes: bgVeryHigh from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.veryHighFadeOut {\n composes: bgVeryHigh from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n"],sourceRoot:""}]),l.locals={stroke:"2",thickStroke:"CBGMedianAnimated--thickStroke--Wx2Gy",median:"CBGMedianAnimated--median--k0A2B CBGMedianAnimated--thickStroke--Wx2Gy",transparent:"CBGMedianAnimated--transparent--kx5dj",fadeinAnimation:"CBGMedianAnimated--fadeinAnimation--utaIE",fadein:"CBGMedianAnimated--fadein--bca1E",fadeoutAnimation:"CBGMedianAnimated--fadeoutAnimation--n13Mx",fadeout:"CBGMedianAnimated--fadeout--Nt8UK",veryLowFadeIn:`CBGMedianAnimated--veryLowFadeIn--_N23o ${s.A.locals.bgVeryLow} CBGMedianAnimated--fadeinAnimation--utaIE`,veryLowFadeOut:`CBGMedianAnimated--veryLowFadeOut--jWEjT ${s.A.locals.bgVeryLow} CBGMedianAnimated--fadeoutAnimation--n13Mx`,lowFadeIn:`CBGMedianAnimated--lowFadeIn--EKzYQ ${s.A.locals.bgLow} CBGMedianAnimated--fadeinAnimation--utaIE`,lowFadeOut:`CBGMedianAnimated--lowFadeOut--VPbPd ${s.A.locals.bgLow} CBGMedianAnimated--fadeoutAnimation--n13Mx`,targetFadeIn:`CBGMedianAnimated--targetFadeIn--ElQaq ${s.A.locals.bgTarget} CBGMedianAnimated--fadeinAnimation--utaIE`,targetFadeOut:`CBGMedianAnimated--targetFadeOut--U4eiD ${s.A.locals.bgTarget} CBGMedianAnimated--fadeoutAnimation--n13Mx`,highFadeIn:`CBGMedianAnimated--highFadeIn--MczpY ${s.A.locals.bgHigh} CBGMedianAnimated--fadeinAnimation--utaIE`,highFadeOut:`CBGMedianAnimated--highFadeOut--p_Ovq ${s.A.locals.bgHigh} CBGMedianAnimated--fadeoutAnimation--n13Mx`,veryHighFadeIn:`CBGMedianAnimated--veryHighFadeIn--ZJV62 ${s.A.locals.bgVeryHigh} CBGMedianAnimated--fadeinAnimation--utaIE`,veryHighFadeOut:`CBGMedianAnimated--veryHighFadeOut--O_jFk ${s.A.locals.bgVeryHigh} CBGMedianAnimated--fadeoutAnimation--n13Mx`};const d=l},39817:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.CBGSliceAnimated--segment--EakS3 {\n stroke-width: 2;\n pointer-events: all;\n}\n\n@keyframes CBGSliceAnimated--fadeRangeOut--vdW8u {\n from {\n stroke: var(--trends--light);\n }\n to {\n stroke: var(--trends--light--faded);\n }\n}\n\n@keyframes CBGSliceAnimated--fadeRangeIn--hPW2F {\n from {\n stroke: var(--trends--light--faded);\n }\n to {\n stroke: var(--trends--light);\n }\n}\n\n.CBGSliceAnimated--rangeSegment--v32EM {\n animation: CBGSliceAnimated--fadeRangeIn--hPW2F 0.25s forwards ease-in-out;\n fill: transparent;\n}\n\n.CBGSliceAnimated--rangeSegmentFaded--GoVwG {\n animation: CBGSliceAnimated--fadeRangeOut--vdW8u 0.25s forwards ease-in-out;\n fill: transparent;\n}\n\n.CBGSliceAnimated--rangeSegment--v32EM:hover, .CBGSliceAnimated--rangeSegmentFaded--GoVwG:hover {\n opacity: 0;\n}\n\n@keyframes CBGSliceAnimated--fadeOuterOut--kZAoN {\n from {\n fill: var(--trends--light);\n stroke: var(--trends--light);\n }\n to {\n fill: var(--trends--light--faded);\n stroke: var(--trends--light--faded);\n }\n}\n\n@keyframes CBGSliceAnimated--fadeOuterIn--RUeYr {\n from {\n fill: var(--trends--light--faded);\n stroke: var(--trends--light--faded);\n }\n to {\n fill: var(--trends--light);\n stroke: var(--trends--light);\n }\n}\n\n.CBGSliceAnimated--outerSegment--K2fMH {\n animation: CBGSliceAnimated--fadeOuterIn--RUeYr 0.25s forwards ease-in-out;\n}\n\n.CBGSliceAnimated--outerSegmentFaded--SLwMD {\n animation: CBGSliceAnimated--fadeOuterOut--kZAoN 0.25s forwards ease-in-out;\n}\n\n.CBGSliceAnimated--outerSegment--K2fMH:hover, .CBGSliceAnimated--outerSegmentFaded--SLwMD:hover {\n opacity: 0;\n}\n\n@keyframes CBGSliceAnimated--fadeInnerOut--ct2l4 {\n from {\n fill: var(--trends--dark);\n stroke: var(--trends--dark);\n }\n to {\n fill: var(--trends--dark--faded);\n stroke: var(--trends--dark--faded);\n }\n}\n\n@keyframes CBGSliceAnimated--fadeInnerIn--rL7xu {\n from {\n fill: var(--trends--dark--faded);\n stroke: var(--trends--dark--faded);\n }\n to {\n fill: var(--trends--dark);\n stroke: var(--trends--dark);\n }\n}\n\n.CBGSliceAnimated--innerQuartilesSegment--JAS6B {\n animation: CBGSliceAnimated--fadeInnerIn--rL7xu 0.25s forwards ease-in-out;\n}\n\n.CBGSliceAnimated--innerQuartilesSegmentFaded--SFNkd {\n animation: CBGSliceAnimated--fadeInnerOut--ct2l4 0.25s forwards ease-in-out;\n}\n\n.CBGSliceAnimated--innerQuartilesSegment--JAS6B:hover, .CBGSliceAnimated--innerQuartilesSegmentFaded--SFNkd:hover {\n opacity: 0;\n}","",{version:3,sources:["webpack://./src/components/trends/cbg/CBGSliceAnimated.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAMF;EACE,eAAe;EACf,mBAAmB;AACrB;;AAEA;EACE;IACE,4BAA4B;EAC9B;EACA;IACE,mCAAmC;EACrC;AACF;;AAEA;EACE;IACE,mCAAmC;EACrC;EACA;IACE,4BAA4B;EAC9B;AACF;;AAEA;EACE,0EAAiD;EACjD,iBAAiB;AACnB;;AAEA;EACE,2EAAkD;EAClD,iBAAiB;AACnB;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE;IACE,0BAA0B;IAC1B,4BAA4B;EAC9B;EACA;IACE,iCAAiC;IACjC,mCAAmC;EACrC;AACF;;AAEA;EACE;IACE,iCAAiC;IACjC,mCAAmC;EACrC;EACA;IACE,0BAA0B;IAC1B,4BAA4B;EAC9B;AACF;;AAEA;EACE,0EAAiD;AACnD;;AAEA;EACE,2EAAkD;AACpD;;AAEA;EACE,UAAU;AACZ;;AAEA;EACE;IACE,yBAAyB;IACzB,2BAA2B;EAC7B;EACA;IACE,gCAAgC;IAChC,kCAAkC;EACpC;AACF;;AAEA;EACE;IACE,gCAAgC;IAChC,kCAAkC;EACpC;EACA;IACE,yBAAyB;IACzB,2BAA2B;EAC7B;AACF;;AAEA;EACE,0EAAiD;AACnD;;AAEA;EACE,2EAAkD;AACpD;;AAEA;EACE,UAAU;AACZ",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n:export {\n stroke: 2;\n}\n\n.segment {\n stroke-width: 2;\n pointer-events: all;\n}\n\n@keyframes fadeRangeOut {\n from {\n stroke: var(--trends--light);\n }\n to {\n stroke: var(--trends--light--faded);\n }\n}\n\n@keyframes fadeRangeIn {\n from {\n stroke: var(--trends--light--faded);\n }\n to {\n stroke: var(--trends--light);\n }\n}\n\n.rangeSegment {\n animation: fadeRangeIn 0.25s forwards ease-in-out;\n fill: transparent;\n}\n\n.rangeSegmentFaded {\n animation: fadeRangeOut 0.25s forwards ease-in-out;\n fill: transparent;\n}\n\n.rangeSegment:hover, .rangeSegmentFaded:hover {\n opacity: 0;\n}\n\n@keyframes fadeOuterOut {\n from {\n fill: var(--trends--light);\n stroke: var(--trends--light);\n }\n to {\n fill: var(--trends--light--faded);\n stroke: var(--trends--light--faded);\n }\n}\n\n@keyframes fadeOuterIn {\n from {\n fill: var(--trends--light--faded);\n stroke: var(--trends--light--faded);\n }\n to {\n fill: var(--trends--light);\n stroke: var(--trends--light);\n }\n}\n\n.outerSegment {\n animation: fadeOuterIn 0.25s forwards ease-in-out;\n}\n\n.outerSegmentFaded {\n animation: fadeOuterOut 0.25s forwards ease-in-out;\n}\n\n.outerSegment:hover, .outerSegmentFaded:hover {\n opacity: 0;\n}\n\n@keyframes fadeInnerOut {\n from {\n fill: var(--trends--dark);\n stroke: var(--trends--dark);\n }\n to {\n fill: var(--trends--dark--faded);\n stroke: var(--trends--dark--faded);\n }\n}\n\n@keyframes fadeInnerIn {\n from {\n fill: var(--trends--dark--faded);\n stroke: var(--trends--dark--faded);\n }\n to {\n fill: var(--trends--dark);\n stroke: var(--trends--dark);\n }\n}\n\n.innerQuartilesSegment {\n animation: fadeInnerIn 0.25s forwards ease-in-out;\n}\n\n.innerQuartilesSegmentFaded {\n animation: fadeInnerOut 0.25s forwards ease-in-out;\n}\n\n.innerQuartilesSegment:hover, .innerQuartilesSegmentFaded:hover {\n opacity: 0;\n}"],sourceRoot:""}]),i.locals={stroke:"2",segment:"CBGSliceAnimated--segment--EakS3",rangeSegment:"CBGSliceAnimated--rangeSegment--v32EM",fadeRangeIn:"CBGSliceAnimated--fadeRangeIn--hPW2F",rangeSegmentFaded:"CBGSliceAnimated--rangeSegmentFaded--GoVwG",fadeRangeOut:"CBGSliceAnimated--fadeRangeOut--vdW8u",outerSegment:"CBGSliceAnimated--outerSegment--K2fMH",fadeOuterIn:"CBGSliceAnimated--fadeOuterIn--RUeYr",outerSegmentFaded:"CBGSliceAnimated--outerSegmentFaded--SLwMD",fadeOuterOut:"CBGSliceAnimated--fadeOuterOut--kZAoN",innerQuartilesSegment:"CBGSliceAnimated--innerQuartilesSegment--JAS6B",fadeInnerIn:"CBGSliceAnimated--fadeInnerIn--rL7xu",innerQuartilesSegmentFaded:"CBGSliceAnimated--innerQuartilesSegmentFaded--SFNkd",fadeInnerOut:"CBGSliceAnimated--fadeInnerOut--ct2l4"};const s=i},68040:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.FocusedCBGSliceSegment--segment--STc5T {\n stroke: black;\n stroke-width: 2;\n pointer-events: none;\n fill: transparent;\n}","",{version:3,sources:["webpack://./src/components/trends/cbg/FocusedCBGSliceSegment.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAMF;EACE,aAAa;EACb,eAAe;EACf,oBAAoB;EACpB,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n:export {\n stroke: 2;\n}\n\n.segment {\n stroke: black;\n stroke-width: 2;\n pointer-events: none;\n fill: transparent;\n}"],sourceRoot:""}]),i.locals={stroke:"2",segment:"FocusedCBGSliceSegment--segment--STc5T"};const s=i},16895:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.RangeSelect--container--KDdQn {\n display: flex;\n flex-direction: row;\n padding-top: 15px;\n}\n","",{version:3,sources:["webpack://./src/components/trends/cbg/RangeSelect.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,aAAa;EACb,mBAAmB;EAEnB,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.container {\n display: flex;\n flex-direction: row;\n composes: mediumContrastText defaultSize from '../../../styles/typography.css';\n padding-top: 15px;\n}\n"],sourceRoot:""}]),l.locals={container:`RangeSelect--container--KDdQn ${s.A.locals.mediumContrastText} ${s.A.locals.defaultSize}`};const d=l},72705:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.Background--background--V9pj0 {\n stroke: var(--bkgrnd-lines);\n stroke-width: 1px;\n fill: var(--bkgrnd);\n}\n\n.Background--threeHrLine--F9ERQ {\n stroke: var(--bkgrnd-lines);\n stroke-width: 1px;\n}","",{version:3,sources:["webpack://./src/components/trends/common/Background.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,2BAA2B;EAC3B,iBAAiB;EACjB,mBAAmB;AACrB;;AAEA;EACE,2BAA2B;EAC3B,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.background {\n stroke: var(--bkgrnd-lines);\n stroke-width: 1px;\n fill: var(--bkgrnd);\n}\n\n.threeHrLine {\n stroke: var(--bkgrnd-lines);\n stroke-width: 1px;\n}"],sourceRoot:""}]),i.locals={background:"Background--background--V9pj0",threeHrLine:"Background--threeHrLine--F9ERQ"};const s=i},31246:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(6098),l=n(20487),d=i()(r());d.i(s.A,"",!0),d.i(l.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.FocusedRangeLabels--container--GM_jS {\n top: 0px;\n z-index: 1;\n}\n\n.FocusedRangeLabels--number--edNGe {\n}\n\n.FocusedRangeLabels--explainerText--P2Zfa {\n display: block;\n}\n\n.FocusedRangeLabels--timeLabel--VLclM {\n}\n","",{version:3,sources:["webpack://./src/components/trends/common/FocusedRangeLabels.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EAEE,QAAQ;EACR,UAAU;AACZ;;AAEA;AAEA;;AAEA;EAEE,cAAc;AAChB;;AAEA;AAEA",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.container {\n composes: absolute smallHorizontalPadding from '../../../styles/layout.css';\n top: 0px;\n z-index: 1;\n}\n\n.number {\n composes: boldText highContrastText noWrap largeSize from '../../../styles/typography.css';\n}\n\n.explainerText {\n composes: highContrastText noWrap from '../../../styles/typography.css';\n display: block;\n}\n\n.timeLabel {\n composes: highContrastText noWrap defaultSize from '../../../styles/typography.css';\n}\n"],sourceRoot:""}]),d.locals={container:`FocusedRangeLabels--container--GM_jS ${s.A.locals.absolute} ${s.A.locals.smallHorizontalPadding}`,number:`FocusedRangeLabels--number--edNGe ${l.A.locals.boldText} ${l.A.locals.highContrastText} ${l.A.locals.noWrap} ${l.A.locals.largeSize}`,explainerText:`FocusedRangeLabels--explainerText--P2Zfa ${l.A.locals.highContrastText} ${l.A.locals.noWrap}`,timeLabel:`FocusedRangeLabels--timeLabel--VLclM ${l.A.locals.highContrastText} ${l.A.locals.noWrap} ${l.A.locals.defaultSize}`};const u=d},32576:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.NoData--noDataMsg--GG3h3 {\n}","",{version:3,sources:["webpack://./src/components/trends/common/NoData.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;AAEA",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.noDataMsg {\n composes: mediumContrastText svgMiddleAnchored from '../../../styles/typography.css';\n}"],sourceRoot:""}]),l.locals={noDataMsg:`NoData--noDataMsg--GG3h3 ${s.A.locals.mediumContrastText} ${s.A.locals.svgMiddleAnchored}`};const d=l},87558:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.TargetRangeLines--targetRangeLine--I7HYk {\n pointer-events: none;\n\n stroke: white;\n stroke-dasharray: 9,9;\n stroke-width: 2px;\n}","",{version:3,sources:["webpack://./src/components/trends/common/TargetRangeLines.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,oBAAoB;;EAEpB,aAAa;EACb,qBAAqB;EACrB,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.targetRangeLine {\n pointer-events: none;\n\n stroke: white;\n stroke-dasharray: 9,9;\n stroke-width: 2px;\n}"],sourceRoot:""}]),i.locals={targetRangeLine:"TargetRangeLines--targetRangeLine--I7HYk"};const s=i},21347:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.XAxisLabels--text--W7v5M {\n}\n\n.XAxisLabels--focusedRange--vS9RU {\n}","",{version:3,sources:["webpack://./src/components/trends/common/XAxisLabels.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;AAEA;;AAEA;AAEA",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.text {\n composes: axisSize mediumContrastText svgStartAnchored from '../../../styles/typography.css';\n}\n\n.focusedRange {\n composes: axisSize boldText mediumContrastText svgStartAnchored from '../../../styles/typography.css';\n}"],sourceRoot:""}]),l.locals={text:`XAxisLabels--text--W7v5M ${s.A.locals.axisSize} ${s.A.locals.mediumContrastText} ${s.A.locals.svgStartAnchored}`,focusedRange:`XAxisLabels--focusedRange--vS9RU ${s.A.locals.axisSize} ${s.A.locals.boldText} ${s.A.locals.mediumContrastText} ${s.A.locals.svgStartAnchored}`};const d=l},99070:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.XAxisTicks--tick--jmNDE {\n stroke: var(--axis-tick);\n}","",{version:3,sources:["webpack://./src/components/trends/common/XAxisTicks.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,wBAAwB;AAC1B",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.tick {\n stroke: var(--axis-tick);\n}"],sourceRoot:""}]),i.locals={tick:"XAxisTicks--tick--jmNDE"};const s=i},51097:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(20487),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.YAxisLabelsAndTicks--text--Kcm30 {\n}\n\n.YAxisLabelsAndTicks--tick--E970H {\n stroke: var(--axis-tick);\n}","",{version:3,sources:["webpack://./src/components/trends/common/YAxisLabelsAndTicks.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;AAEA;;AAEA;EACE,wBAAwB;AAC1B",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.text {\n composes: axisSize mediumContrastText svgRightAnchored svgVerticalCentered from '../../../styles/typography.css';\n}\n\n.tick {\n stroke: var(--axis-tick);\n}"],sourceRoot:""}]),l.locals={text:`YAxisLabelsAndTicks--text--Kcm30 ${s.A.locals.axisSize} ${s.A.locals.mediumContrastText} ${s.A.locals.svgRightAnchored} ${s.A.locals.svgVerticalCentered}`,tick:"YAxisLabelsAndTicks--tick--E970H"};const d=l},71577:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(6098),l=n(20487),d=i()(r());d.i(s.A,"",!0),d.i(l.A,"",!0),d.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.FocusedSMBGPointLabel--container--nMn2V {\n top: 0px;\n z-index: 1;\n}\n\n.FocusedSMBGPointLabel--number--Cr9f6 {\n}\n\n.FocusedSMBGPointLabel--explainerText--pbxlh {\n display: block;\n}\n\n.FocusedSMBGPointLabel--detailNumber--Qv6w4 {\n text-align: center;\n}\n\n.FocusedSMBGPointLabel--dateTime--aPVM_ {\n}\n\n.FocusedSMBGPointLabel--subType--C_rK6 {\n font-style: italic;\n}\n\n.FocusedSMBGPointLabel--tipWrapper--BsXhM {\n text-align: right;\n}\n","",{version:3,sources:["webpack://./src/components/trends/smbg/FocusedSMBGPointLabel.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EAEE,QAAQ;EACR,UAAU;AACZ;;AAEA;AAEA;;AAEA;EAEE,cAAc;AAChB;;AAEA;EAEE,kBAAkB;AACpB;;AAEA;AAEA;;AAEA;EAEE,kBAAkB;AACpB;;AAEA;EACE,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.container {\n composes: absolute smallHorizontalPadding from '../../../styles/layout.css';\n top: 0px;\n z-index: 1;\n}\n\n.number {\n composes: boldText highContrastText noWrap largeSize from '../../../styles/typography.css';\n}\n\n.explainerText {\n composes: smallSize noWrap from '../../../styles/typography.css';\n display: block;\n}\n\n.detailNumber {\n composes: explainerText number;\n text-align: center;\n}\n\n.dateTime {\n composes: explainerText;\n}\n\n.subType {\n composes: explainerText;\n font-style: italic;\n}\n\n.tipWrapper {\n text-align: right;\n}\n"],sourceRoot:""}]),d.locals={container:`FocusedSMBGPointLabel--container--nMn2V ${s.A.locals.absolute} ${s.A.locals.smallHorizontalPadding}`,number:`FocusedSMBGPointLabel--number--Cr9f6 ${l.A.locals.boldText} ${l.A.locals.highContrastText} ${l.A.locals.noWrap} ${l.A.locals.largeSize}`,explainerText:`FocusedSMBGPointLabel--explainerText--pbxlh ${l.A.locals.smallSize} ${l.A.locals.noWrap}`,detailNumber:`FocusedSMBGPointLabel--detailNumber--Qv6w4 FocusedSMBGPointLabel--explainerText--pbxlh ${l.A.locals.smallSize} ${l.A.locals.noWrap} FocusedSMBGPointLabel--number--Cr9f6 ${l.A.locals.boldText} ${l.A.locals.highContrastText} ${l.A.locals.noWrap} ${l.A.locals.largeSize}`,dateTime:`FocusedSMBGPointLabel--dateTime--aPVM_ FocusedSMBGPointLabel--explainerText--pbxlh ${l.A.locals.smallSize} ${l.A.locals.noWrap}`,subType:`FocusedSMBGPointLabel--subType--C_rK6 FocusedSMBGPointLabel--explainerText--pbxlh ${l.A.locals.smallSize} ${l.A.locals.noWrap}`,tipWrapper:"FocusedSMBGPointLabel--tipWrapper--BsXhM"};const u=d},95435:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.SMBGDateLineAnimated--smbgPath--DplGw {\n fill: none;\n stroke: var(--trends--dark);\n stroke-dasharray: 4, 4;\n}\n\n.SMBGDateLineAnimated--highlightPath--RXzdu {\n stroke-width: 2px;\n stroke-dasharray: 4, 0;\n}\n","",{version:3,sources:["webpack://./src/components/trends/smbg/SMBGDateLineAnimated.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,UAAU;EACV,2BAA2B;EAC3B,sBAAsB;AACxB;;AAEA;EACE,iBAAiB;EACjB,sBAAsB;AACxB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.smbgPath {\n fill: none;\n stroke: var(--trends--dark);\n stroke-dasharray: 4, 4;\n}\n\n.highlightPath {\n stroke-width: 2px;\n stroke-dasharray: 4, 0;\n}\n"],sourceRoot:""}]),i.locals={smbgPath:"SMBGDateLineAnimated--smbgPath--DplGw",highlightPath:"SMBGDateLineAnimated--highlightPath--RXzdu"};const s=i},5112:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(12283),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.SMBGDatePointsAnimated--veryLow--GLeZS {\n}\n\n.SMBGDatePointsAnimated--low--aBAQU {\n}\n\n.SMBGDatePointsAnimated--target--jmczA {\n}\n\n.SMBGDatePointsAnimated--high--rn4b6 {\n}\n\n.SMBGDatePointsAnimated--veryHigh--p6a8j {\n}\n","",{version:3,sources:["webpack://./src/components/trends/smbg/SMBGDatePointsAnimated.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.veryLow {\n composes: bgVeryLow from '../../../styles/diabetes.css';\n}\n\n.low {\n composes: bgLow from '../../../styles/diabetes.css';\n}\n\n.target {\n composes: bgTarget from '../../../styles/diabetes.css';\n}\n\n.high {\n composes: bgHigh from '../../../styles/diabetes.css';\n}\n\n.veryHigh {\n composes: bgVeryHigh from '../../../styles/diabetes.css';\n}\n"],sourceRoot:""}]),l.locals={veryLow:`SMBGDatePointsAnimated--veryLow--GLeZS ${s.A.locals.bgVeryLow}`,low:`SMBGDatePointsAnimated--low--aBAQU ${s.A.locals.bgLow}`,target:`SMBGDatePointsAnimated--target--jmczA ${s.A.locals.bgTarget}`,high:`SMBGDatePointsAnimated--high--rn4b6 ${s.A.locals.bgHigh}`,veryHigh:`SMBGDatePointsAnimated--veryHigh--p6a8j ${s.A.locals.bgVeryHigh}`};const d=l},57778:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o),s=n(12283),l=i()(r());l.i(s.A,"",!0),l.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.SMBGMeanAnimated--thickStroke--hpFyL {\n stroke-width: 2;\n}\n\n.SMBGMeanAnimated--smbgMean--pCLq8 {\n stroke: white;\n pointer-events: all;\n}\n\n.SMBGMeanAnimated--transparent--nsQ2r {\n fill: transparent;\n}\n\n@keyframes SMBGMeanAnimated--fadein--HFf9t {\n from {\n fill-opacity: 0.0;\n }\n to {\n fill-opacity: 1.0;\n }\n}\n\n@keyframes SMBGMeanAnimated--fadeout--CxTPF {\n from {\n fill-opacity: 1.0;\n }\n to {\n fill-opacity: 0.0;\n }\n}\n\n.SMBGMeanAnimated--fadeinAnimation--YRVli {\n animation: SMBGMeanAnimated--fadein--HFf9t 0.25s forwards ease-in-out;\n}\n\n.SMBGMeanAnimated--fadeoutAnimation--uVaMB {\n animation: SMBGMeanAnimated--fadeout--CxTPF 0.25s forwards ease-in-out;\n}\n\n.SMBGMeanAnimated--veryLowFadeIn--n4bcc {\n}\n\n.SMBGMeanAnimated--veryLowFadeOut--r5r8y {\n}\n\n.SMBGMeanAnimated--lowFadeIn--hQySO {\n}\n\n.SMBGMeanAnimated--lowFadeOut--LHWzI {\n}\n\n.SMBGMeanAnimated--targetFadeIn--pkKxu {\n}\n\n.SMBGMeanAnimated--targetFadeOut--jpIBS {\n}\n\n.SMBGMeanAnimated--highFadeIn--zLVe7 {\n}\n\n.SMBGMeanAnimated--highFadeOut--uW0ar {\n}\n\n.SMBGMeanAnimated--veryHighFadeIn--PIqyX {\n}\n\n.SMBGMeanAnimated--veryHighFadeOut--GHnzD {\n}\n","",{version:3,sources:["webpack://./src/components/trends/smbg/SMBGMeanAnimated.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAMF;EACE,eAAe;AACjB;;AAEA;EACE,aAAa;EAEb,mBAAmB;AACrB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE;IACE,iBAAiB;EACnB;EACA;IACE,iBAAiB;EACnB;AACF;;AAEA;EACE;IACE,iBAAiB;EACnB;EACA;IACE,iBAAiB;EACnB;AACF;;AAEA;EACE,qEAA4C;AAC9C;;AAEA;EACE,sEAA6C;AAC/C;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA;;AAEA;AAGA",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n:export {\n stroke: 2;\n}\n\n.thickStroke {\n stroke-width: 2;\n}\n\n.smbgMean {\n stroke: white;\n composes: thickStroke;\n pointer-events: all;\n}\n\n.transparent {\n fill: transparent;\n}\n\n@keyframes fadein {\n from {\n fill-opacity: 0.0;\n }\n to {\n fill-opacity: 1.0;\n }\n}\n\n@keyframes fadeout {\n from {\n fill-opacity: 1.0;\n }\n to {\n fill-opacity: 0.0;\n }\n}\n\n.fadeinAnimation {\n animation: fadein 0.25s forwards ease-in-out;\n}\n\n.fadeoutAnimation {\n animation: fadeout 0.25s forwards ease-in-out;\n}\n\n.veryLowFadeIn {\n composes: bgVeryLow from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.veryLowFadeOut {\n composes: bgVeryLow from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n\n.lowFadeIn {\n composes: bgLow from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.lowFadeOut {\n composes: bgLow from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n\n.targetFadeIn {\n composes: bgTarget from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.targetFadeOut {\n composes: bgTarget from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n\n.highFadeIn {\n composes: bgHigh from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.highFadeOut {\n composes: bgHigh from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n\n.veryHighFadeIn {\n composes: bgVeryHigh from '../../../styles/diabetes.css';\n composes: fadeinAnimation;\n}\n\n.veryHighFadeOut {\n composes: bgVeryHigh from '../../../styles/diabetes.css';\n composes: fadeoutAnimation;\n}\n"],sourceRoot:""}]),l.locals={stroke:"2",thickStroke:"SMBGMeanAnimated--thickStroke--hpFyL",smbgMean:"SMBGMeanAnimated--smbgMean--pCLq8 SMBGMeanAnimated--thickStroke--hpFyL",transparent:"SMBGMeanAnimated--transparent--nsQ2r",fadeinAnimation:"SMBGMeanAnimated--fadeinAnimation--YRVli",fadein:"SMBGMeanAnimated--fadein--HFf9t",fadeoutAnimation:"SMBGMeanAnimated--fadeoutAnimation--uVaMB",fadeout:"SMBGMeanAnimated--fadeout--CxTPF",veryLowFadeIn:`SMBGMeanAnimated--veryLowFadeIn--n4bcc ${s.A.locals.bgVeryLow} SMBGMeanAnimated--fadeinAnimation--YRVli`,veryLowFadeOut:`SMBGMeanAnimated--veryLowFadeOut--r5r8y ${s.A.locals.bgVeryLow} SMBGMeanAnimated--fadeoutAnimation--uVaMB`,lowFadeIn:`SMBGMeanAnimated--lowFadeIn--hQySO ${s.A.locals.bgLow} SMBGMeanAnimated--fadeinAnimation--YRVli`,lowFadeOut:`SMBGMeanAnimated--lowFadeOut--LHWzI ${s.A.locals.bgLow} SMBGMeanAnimated--fadeoutAnimation--uVaMB`,targetFadeIn:`SMBGMeanAnimated--targetFadeIn--pkKxu ${s.A.locals.bgTarget} SMBGMeanAnimated--fadeinAnimation--YRVli`,targetFadeOut:`SMBGMeanAnimated--targetFadeOut--jpIBS ${s.A.locals.bgTarget} SMBGMeanAnimated--fadeoutAnimation--uVaMB`,highFadeIn:`SMBGMeanAnimated--highFadeIn--zLVe7 ${s.A.locals.bgHigh} SMBGMeanAnimated--fadeinAnimation--YRVli`,highFadeOut:`SMBGMeanAnimated--highFadeOut--uW0ar ${s.A.locals.bgHigh} SMBGMeanAnimated--fadeoutAnimation--uVaMB`,veryHighFadeIn:`SMBGMeanAnimated--veryHighFadeIn--PIqyX ${s.A.locals.bgVeryHigh} SMBGMeanAnimated--fadeinAnimation--YRVli`,veryHighFadeOut:`SMBGMeanAnimated--veryHighFadeOut--GHnzD ${s.A.locals.bgVeryHigh} SMBGMeanAnimated--fadeoutAnimation--uVaMB`};const d=l},77860:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n@keyframes SMBGRangeAnimated--fadein--tUMqx {\n from {\n fill-opacity: 0.3;\n }\n to {\n fill-opacity: 0.4;\n }\n}\n\n@keyframes SMBGRangeAnimated--fadeout--MKPc1 {\n from {\n fill-opacity: 0.4;\n }\n to {\n fill-opacity: 0.3;\n }\n}\n\n.SMBGRangeAnimated--smbgRange--dnxhO {\n fill: var(--trends--light);\n stroke: none;\n}\n\n.SMBGRangeAnimated--fadeIn--KuU3N {\n animation: SMBGRangeAnimated--fadein--tUMqx 0.25s forwards ease-in-out;\n}\n\n.SMBGRangeAnimated--fadeOut--TweZh {\n animation: SMBGRangeAnimated--fadeout--MKPc1 0.25s forwards ease-in-out;\n}\n","",{version:3,sources:["webpack://./src/components/trends/smbg/SMBGRangeAnimated.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE;IACE,iBAAiB;EACnB;EACA;IACE,iBAAiB;EACnB;AACF;;AAEA;EACE;IACE,iBAAiB;EACnB;EACA;IACE,iBAAiB;EACnB;AACF;;AAEA;EACE,0BAA0B;EAC1B,YAAY;AACd;;AAEA;EACE,sEAA4C;AAC9C;;AAEA;EACE,uEAA6C;AAC/C",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n@keyframes fadein {\n from {\n fill-opacity: 0.3;\n }\n to {\n fill-opacity: 0.4;\n }\n}\n\n@keyframes fadeout {\n from {\n fill-opacity: 0.4;\n }\n to {\n fill-opacity: 0.3;\n }\n}\n\n.smbgRange {\n fill: var(--trends--light);\n stroke: none;\n}\n\n.fadeIn {\n animation: fadein 0.25s forwards ease-in-out;\n}\n\n.fadeOut {\n animation: fadeout 0.25s forwards ease-in-out;\n}\n"],sourceRoot:""}]),i.locals={smbgRange:"SMBGRangeAnimated--smbgRange--dnxhO",fadeIn:"SMBGRangeAnimated--fadeIn--KuU3N",fadein:"SMBGRangeAnimated--fadein--tUMqx",fadeOut:"SMBGRangeAnimated--fadeOut--TweZh",fadeout:"SMBGRangeAnimated--fadeout--MKPc1"};const s=i},61872:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n:root {\n --basal: #19A0D7;\n --basal-automated: #00B2C3;\n --bolus: #7CD0F0;\n --preset: #758CFF;\n --bolus-automated: #00B2C3;\n --bolus--interrupted: #FF8B7C;\n --bolus--ride: #107EA8;\n --bolus--undelivered: #BCECFA;\n --carbs: #F8D48E;\n --collapsible--border: #EDEDED;\n --table-stripe--light: #F7F7F7;\n --table-stripe--dark: #ECECEC;\n --trends--light: #D0D0D0;\n --trends--light--faded: #F0F0F0;\n --trends--dark: #BCBCBC;\n --trends--dark--faded: #E3E3E3;\n --input--border: #75849f;\n --input--disabled: #75849f;\n --stat--border: #75849f;\n --stat--default: #727375;\n --stat-disabled: #e7e9ee;\n --stat--dark: #27385b;\n --axis-tick: #E7E7E7;\n --bkgrnd: #F8F8F8;\n --bkgrnd-lines: #E7E7E7;\n --bkgrnd-white: #FFFFFF;\n --tooltip-title-bg: #EAEAEE;\n --chrome: #989897;\n --text-medium-contrast: #727375;\n --text-high-contrast: #281946;\n --text-black: #000000;\n --bg-very-low: #FB5951;\n --bg-low: #FF8B7C;\n --bg-target: #76D3A6;\n --bg-high: #BB9AE7;\n --bg-very-high: #8c65d6;\n --text-hover: #00D3D9;\n --blue-green-light: #12D3D8;\n --gray-medium: #989897;\n --gray-dark: #4E4E4F;\n --white: #FFFFFF;\n --brand-purple: #627CFF;\n --brand-purple-dark: #281946;\n --gray10: #D9D9D9;\n --gray05: #EBEBEB;\n --blue50: #4F6A92;\n}\n","",{version:3,sources:["webpack://./src/styles/colors.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,gBAAgB;EAChB,0BAA0B;EAC1B,gBAAgB;EAChB,iBAAiB;EACjB,0BAA0B;EAC1B,6BAA6B;EAC7B,sBAAsB;EACtB,6BAA6B;EAC7B,gBAAgB;EAChB,8BAA8B;EAC9B,8BAA8B;EAC9B,6BAA6B;EAC7B,wBAAwB;EACxB,+BAA+B;EAC/B,uBAAuB;EACvB,8BAA8B;EAC9B,wBAAwB;EACxB,0BAA0B;EAC1B,uBAAuB;EACvB,wBAAwB;EACxB,wBAAwB;EACxB,qBAAqB;EACrB,oBAAoB;EACpB,iBAAiB;EACjB,uBAAuB;EACvB,uBAAuB;EACvB,2BAA2B;EAC3B,iBAAiB;EACjB,+BAA+B;EAC/B,6BAA6B;EAC7B,qBAAqB;EACrB,sBAAsB;EACtB,iBAAiB;EACjB,oBAAoB;EACpB,kBAAkB;EAClB,uBAAuB;EACvB,qBAAqB;EACrB,2BAA2B;EAC3B,sBAAsB;EACtB,oBAAoB;EACpB,gBAAgB;EAChB,uBAAuB;EACvB,4BAA4B;EAC5B,iBAAiB;EACjB,iBAAiB;EACjB,iBAAiB;AACnB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n:root {\n --basal: #19A0D7;\n --basal-automated: #00B2C3;\n --bolus: #7CD0F0;\n --preset: #758CFF;\n --bolus-automated: #00B2C3;\n --bolus--interrupted: #FF8B7C;\n --bolus--ride: #107EA8;\n --bolus--undelivered: #BCECFA;\n --carbs: #F8D48E;\n --collapsible--border: #EDEDED;\n --table-stripe--light: #F7F7F7;\n --table-stripe--dark: #ECECEC;\n --trends--light: #D0D0D0;\n --trends--light--faded: #F0F0F0;\n --trends--dark: #BCBCBC;\n --trends--dark--faded: #E3E3E3;\n --input--border: #75849f;\n --input--disabled: #75849f;\n --stat--border: #75849f;\n --stat--default: #727375;\n --stat-disabled: #e7e9ee;\n --stat--dark: #27385b;\n --axis-tick: #E7E7E7;\n --bkgrnd: #F8F8F8;\n --bkgrnd-lines: #E7E7E7;\n --bkgrnd-white: #FFFFFF;\n --tooltip-title-bg: #EAEAEE;\n --chrome: #989897;\n --text-medium-contrast: #727375;\n --text-high-contrast: #281946;\n --text-black: #000000;\n --bg-very-low: #FB5951;\n --bg-low: #FF8B7C;\n --bg-target: #76D3A6;\n --bg-high: #BB9AE7;\n --bg-very-high: #8c65d6;\n --text-hover: #00D3D9;\n --blue-green-light: #12D3D8;\n --gray-medium: #989897;\n --gray-dark: #4E4E4F;\n --white: #FFFFFF;\n --brand-purple: #627CFF;\n --brand-purple-dark: #281946;\n --gray10: #D9D9D9;\n --gray05: #EBEBEB;\n --blue50: #4F6A92;\n}\n\n:export {\n bolus: #7CD0F0;\n bolusAutomated: #00B2C3;\n basal: #19A0D7;\n basalAutomated: #00B2C3;\n sleep: #4457D9;\n preset: #758CFF;\n physicalActivity: #758CFF;\n preprandial: #4457D9;\n statDark: #27385b;\n statDefault: #727375;\n statDisabled: #e7e9ee;\n veryLow: #fb5951;\n low: #FF8B7C;\n target: #76D3A6;\n high: #BB9AE7;\n veryHigh: #8c65d6;\n insulin: #0096d1;\n white: #ffffff;\n axis: #e7e9ee;\n muted: #c1c9d6;\n}\n"],sourceRoot:""}]),i.locals={bolus:"#7CD0F0",bolusAutomated:"#00B2C3",basal:"#19A0D7",basalAutomated:"#00B2C3",sleep:"#4457D9",preset:"#758CFF",physicalActivity:"#758CFF",preprandial:"#4457D9",statDark:"#27385b",statDefault:"#727375",statDisabled:"#e7e9ee",veryLow:"#fb5951",low:"#FF8B7C",target:"#76D3A6",high:"#BB9AE7",veryHigh:"#8c65d6",insulin:"#0096d1",white:"#ffffff",axis:"#e7e9ee",muted:"#c1c9d6"};const s=i},12283:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n:root {\n --bolus-stroke: 1;\n}\n\n.diabetes--basalScheduledFill--AeDir {\n fill: var(--basal);\n fill-opacity: 0.4;\n}\n\n.diabetes--basalAutomatedFill--dEelQ {\n fill: var(--basal-automated);\n fill-opacity: 0.4;\n}\n\n.diabetes--basalTempFill--_ZOLa {\n fill: var(--basal);\n fill-opacity: 0.2;\n}\n\n.diabetes--basalScheduledPath--Sdgh5 {\n stroke: var(--basal);\n}\n\n.diabetes--basalAutomatedPath--zSX75 {\n stroke: var(--basal-automated);\n}\n\n.diabetes--basalUndeliveredPath--ee42F {\n stroke-dasharray: 1.5,3;\n}\n\n.diabetes--bgVeryLow--KdUfS {\n color: var(--bg-very-low);\n fill: var(--bg-very-low);\n}\n\n.diabetes--bgLow--taAIv {\n color: var(--bg-low);\n fill: var(--bg-low);\n}\n\n.diabetes--bgTarget--bXo1p {\n color: var(--bg-target);\n fill: var(--bg-target);\n}\n\n.diabetes--bgHigh--BIIU5 {\n color: var(--bg-high);\n fill: var(--bg-high);\n}\n\n.diabetes--bgVeryHigh--_zmQ3 {\n color: var(--bg-very-high);\n fill: var(--bg-very-high);\n}\n\n.diabetes--bolusDelivered--zf59g {\n color: var(--bolus);\n fill: var(--bolus);\n}\n\n.diabetes--bolusInterrupted--lm5EM {\n color: var(--bolus--interrupted);\n fill: var(--bolus--interrupted);\n}\n\n.diabetes--bolusProgrammed--eNkmM {\n fill: none;\n stroke: var(--bolus);\n stroke-dasharray: 3, 2;\n stroke-width: 1;\n stroke-width: var(--bolus-stroke);\n}\n\n.diabetes--bolusRideTriangle--F3D5T {\n fill: var(--bolus--ride);\n}\n\n.diabetes--bolusUndelivered--wDu63 {\n color: var(--bolus--undelivered);\n fill: var(--bolus--undelivered);\n}\n\n.diabetes--bolusUnderride--nulSA {\n color: var(--bolus--undelivered);\n fill: var(--bolus--undelivered);\n}\n\n.diabetes--carbs--YwpFo {\n color: var(--carbs);\n fill: var(--carbs);\n}\n","",{version:3,sources:["webpack://./src/styles/diabetes.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,iBAAiB;AACnB;;AAEA;EACE,kBAAkB;EAClB,iBAAiB;AACnB;;AAEA;EACE,4BAA4B;EAC5B,iBAAiB;AACnB;;AAEA;EACE,kBAAkB;EAClB,iBAAiB;AACnB;;AAEA;EACE,oBAAoB;AACtB;;AAEA;EACE,8BAA8B;AAChC;;AAEA;EAEE,uBAAuB;AACzB;;AAEA;EACE,yBAAyB;EACzB,wBAAwB;AAC1B;;AAEA;EACE,oBAAoB;EACpB,mBAAmB;AACrB;;AAEA;EACE,uBAAuB;EACvB,sBAAsB;AACxB;;AAEA;EACE,qBAAqB;EACrB,oBAAoB;AACtB;;AAEA;EACE,0BAA0B;EAC1B,yBAAyB;AAC3B;;AAEA;EACE,mBAAmB;EACnB,kBAAkB;AACpB;;AAEA;EACE,gCAAgC;EAChC,+BAA+B;AACjC;;AAEA;EACE,UAAU;EACV,oBAAoB;EACpB,sBAAsB;EACtB,eAAiC;EAAjC,iCAAiC;AACnC;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,gCAAgC;EAChC,+BAA+B;AACjC;;AAEA;EACE,gCAAgC;EAChC,+BAA+B;AACjC;;AAEA;EACE,mBAAmB;EACnB,kBAAkB;AACpB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2017, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n:root {\n --bolus-stroke: 1;\n}\n\n.basalScheduledFill {\n fill: var(--basal);\n fill-opacity: 0.4;\n}\n\n.basalAutomatedFill {\n fill: var(--basal-automated);\n fill-opacity: 0.4;\n}\n\n.basalTempFill {\n fill: var(--basal);\n fill-opacity: 0.2;\n}\n\n.basalScheduledPath {\n stroke: var(--basal);\n}\n\n.basalAutomatedPath {\n stroke: var(--basal-automated);\n}\n\n.basalUndeliveredPath {\n composes: basalScheduledPath;\n stroke-dasharray: 1.5,3;\n}\n\n.bgVeryLow {\n color: var(--bg-very-low);\n fill: var(--bg-very-low);\n}\n\n.bgLow {\n color: var(--bg-low);\n fill: var(--bg-low);\n}\n\n.bgTarget {\n color: var(--bg-target);\n fill: var(--bg-target);\n}\n\n.bgHigh {\n color: var(--bg-high);\n fill: var(--bg-high);\n}\n\n.bgVeryHigh {\n color: var(--bg-very-high);\n fill: var(--bg-very-high);\n}\n\n.bolusDelivered {\n color: var(--bolus);\n fill: var(--bolus);\n}\n\n.bolusInterrupted {\n color: var(--bolus--interrupted);\n fill: var(--bolus--interrupted);\n}\n\n.bolusProgrammed {\n fill: none;\n stroke: var(--bolus);\n stroke-dasharray: 3, 2;\n stroke-width: var(--bolus-stroke);\n}\n\n.bolusRideTriangle {\n fill: var(--bolus--ride);\n}\n\n.bolusUndelivered {\n color: var(--bolus--undelivered);\n fill: var(--bolus--undelivered);\n}\n\n.bolusUnderride {\n color: var(--bolus--undelivered);\n fill: var(--bolus--undelivered);\n}\n\n.carbs {\n color: var(--carbs);\n fill: var(--carbs);\n}\n"],sourceRoot:""}]),i.locals={basalScheduledFill:"diabetes--basalScheduledFill--AeDir",basalAutomatedFill:"diabetes--basalAutomatedFill--dEelQ",basalTempFill:"diabetes--basalTempFill--_ZOLa",basalScheduledPath:"diabetes--basalScheduledPath--Sdgh5",basalAutomatedPath:"diabetes--basalAutomatedPath--zSX75",basalUndeliveredPath:"diabetes--basalUndeliveredPath--ee42F diabetes--basalScheduledPath--Sdgh5",bgVeryLow:"diabetes--bgVeryLow--KdUfS",bgLow:"diabetes--bgLow--taAIv",bgTarget:"diabetes--bgTarget--bXo1p",bgHigh:"diabetes--bgHigh--BIIU5",bgVeryHigh:"diabetes--bgVeryHigh--_zmQ3",bolusDelivered:"diabetes--bolusDelivered--zf59g",bolusInterrupted:"diabetes--bolusInterrupted--lm5EM",bolusProgrammed:"diabetes--bolusProgrammed--eNkmM",bolusRideTriangle:"diabetes--bolusRideTriangle--F3D5T",bolusUndelivered:"diabetes--bolusUndelivered--wDu63",bolusUnderride:"diabetes--bolusUnderride--nulSA",carbs:"diabetes--carbs--YwpFo"};const s=i},6098:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.layout--absolute--HC5oS {\n pointer-events: none;\n position: absolute;\n}\n\n.layout--smallHorizontalPadding--qn4A7 {\n padding: 0px 6px;\n}","",{version:3,sources:["webpack://./src/styles/layout.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,oBAAoB;EACpB,kBAAkB;AACpB;;AAEA;EACE,gBAAgB;AAClB",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.absolute {\n pointer-events: none;\n position: absolute;\n}\n\n.smallHorizontalPadding {\n padding: 0px 6px;\n}"],sourceRoot:""}]),i.locals={absolute:"layout--absolute--HC5oS",smallHorizontalPadding:"layout--smallHorizontalPadding--qn4A7"};const s=i},20487:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var a=n(71354),r=n.n(a),o=n(76314),i=n.n(o)()(r());i.push([e.id,"/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.typography--whiteText--UWQvU {\n color: white;\n fill: white;\n}\n\n.typography--boldText--WQ4ng {\n font-weight: bold;\n}\n\n.typography--lightText--wiuvb {\n font-weight: 300;\n}\n\n.typography--smallSize--L9OYM {\n font-size: 12px;\n}\n\n.typography--axisSize--r65nL {\n font-size: 14px;\n}\n\n.typography--defaultSize--cm0mU {\n font-size: 14px;\n}\n\n.typography--largeSize--qZsM0 {\n font-size: 16px;\n}\n\n.typography--extraLargeSize--Hn0bJ {\n font-size: 24px;\n}\n\n.typography--mediumContrastText--P2Hc4 {\n color: var(--text-medium-contrast);\n fill: var(--text-medium-contrast);\n}\n\n.typography--highContrastText--RqzA3 {\n color: var(--text-high-contrast);\n fill: var(--text-high-contrast);\n}\n\n.typography--noWrap--SAkvI {\n white-space: nowrap;\n}\n\n.typography--svgMiddleAnchored--gZHNX {\n text-anchor: middle;\n}\n\n.typography--svgRightAnchored--qqiLN {\n text-anchor: end;\n}\n\n.typography--svgStartAnchored--lCDnf {\n text-anchor: start;\n}\n\n.typography--svgVerticalCentered--HT9GL {\n dominant-baseline: central;\n}\n","",{version:3,sources:["webpack://./src/styles/typography.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;;;EAeE;;AAEF;EACE,YAAY;EACZ,WAAW;AACb;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,kCAAkC;EAClC,iCAAiC;AACnC;;AAEA;EACE,gCAAgC;EAChC,+BAA+B;AACjC;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,0BAA0B;AAC5B",sourcesContent:["/*\n * == BSD2 LICENSE ==\n * Copyright (c) 2016, Tidepool Project\n *\n * This program is free software; you can redistribute it and/or modify it under\n * the terms of the associated License, which is identical to the BSD 2-Clause\n * License as published by the Open Source Initiative at opensource.org.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE. See the License for more details.\n *\n * You should have received a copy of the License along with this program; if\n * not, you can obtain one from Tidepool Project at tidepool.org.\n * == BSD2 LICENSE ==\n */\n\n.whiteText {\n color: white;\n fill: white;\n}\n\n.boldText {\n font-weight: bold;\n}\n\n.lightText {\n font-weight: 300;\n}\n\n.smallSize {\n font-size: 12px;\n}\n\n.axisSize {\n font-size: 14px;\n}\n\n.defaultSize {\n font-size: 14px;\n}\n\n.largeSize {\n font-size: 16px;\n}\n\n.extraLargeSize {\n font-size: 24px;\n}\n\n.mediumContrastText {\n color: var(--text-medium-contrast);\n fill: var(--text-medium-contrast);\n}\n\n.highContrastText {\n color: var(--text-high-contrast);\n fill: var(--text-high-contrast);\n}\n\n.noWrap {\n white-space: nowrap;\n}\n\n.svgMiddleAnchored {\n text-anchor: middle;\n}\n\n.svgRightAnchored {\n text-anchor: end;\n}\n\n.svgStartAnchored {\n text-anchor: start;\n}\n\n.svgVerticalCentered {\n dominant-baseline: central;\n}\n"],sourceRoot:""}]),i.locals={whiteText:"typography--whiteText--UWQvU",boldText:"typography--boldText--WQ4ng",lightText:"typography--lightText--wiuvb",smallSize:"typography--smallSize--L9OYM",axisSize:"typography--axisSize--r65nL",defaultSize:"typography--defaultSize--cm0mU",largeSize:"typography--largeSize--qZsM0",extraLargeSize:"typography--extraLargeSize--Hn0bJ",mediumContrastText:"typography--mediumContrastText--P2Hc4",highContrastText:"typography--highContrastText--RqzA3",noWrap:"typography--noWrap--SAkvI",svgMiddleAnchored:"typography--svgMiddleAnchored--gZHNX",svgRightAnchored:"typography--svgRightAnchored--qqiLN",svgStartAnchored:"typography--svgStartAnchored--lCDnf",svgVerticalCentered:"typography--svgVerticalCentered--HT9GL"};const s=i},76314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",a=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),a&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),a&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,a,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(a)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(i[l]=!0)}for(var d=0;d<e.length;d++){var u=[].concat(e[d]);a&&i[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},71354:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var a=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),o="/*# ".concat(r," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},22510:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},55580:(e,t,n)=>{var a=n(56110)(n(9325),"DataView");e.exports=a},21549:(e,t,n)=>{var a=n(22032),r=n(63862),o=n(66721),i=n(12749),s=n(35749);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}l.prototype.clear=a,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,e.exports=l},80079:(e,t,n)=>{var a=n(63702),r=n(70080),o=n(24739),i=n(48655),s=n(31175);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}l.prototype.clear=a,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,e.exports=l},68223:(e,t,n)=>{var a=n(56110)(n(9325),"Map");e.exports=a},53661:(e,t,n)=>{var a=n(63040),r=n(17670),o=n(90289),i=n(4509),s=n(72949);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}l.prototype.clear=a,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,e.exports=l},32804:(e,t,n)=>{var a=n(56110)(n(9325),"Promise");e.exports=a},76545:(e,t,n)=>{var a=n(56110)(n(9325),"Set");e.exports=a},38859:(e,t,n)=>{var a=n(53661),r=n(31380),o=n(51459);function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new a;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=r,i.prototype.has=o,e.exports=i},37217:(e,t,n)=>{var a=n(80079),r=n(51420),o=n(90938),i=n(63605),s=n(29817),l=n(80945);function d(e){var t=this.__data__=new a(e);this.size=t.size}d.prototype.clear=r,d.prototype.delete=o,d.prototype.get=i,d.prototype.has=s,d.prototype.set=l,e.exports=d},51873:(e,t,n)=>{var a=n(9325).Symbol;e.exports=a},37828:(e,t,n)=>{var a=n(9325).Uint8Array;e.exports=a},28303:(e,t,n)=>{var a=n(56110)(n(9325),"WeakMap");e.exports=a},91033:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},63945:e=>{e.exports=function(e,t,n,a){for(var r=-1,o=null==e?0:e.length;++r<o;){var i=e[r];t(a,i,n(i),e)}return a}},79770:e=>{e.exports=function(e,t){for(var n=-1,a=null==e?0:e.length,r=0,o=[];++n<a;){var i=e[n];t(i,n,e)&&(o[r++]=i)}return o}},15325:(e,t,n)=>{var a=n(96131);e.exports=function(e,t){return!(null==e||!e.length)&&a(e,t,0)>-1}},29905:e=>{e.exports=function(e,t,n){for(var a=-1,r=null==e?0:e.length;++a<r;)if(n(t,e[a]))return!0;return!1}},70695:(e,t,n)=>{var a=n(78096),r=n(72428),o=n(56449),i=n(3656),s=n(30361),l=n(37167),d=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),u=!n&&r(e),c=!n&&!u&&i(e),f=!n&&!u&&!c&&l(e),A=n||u||c||f,p=A?a(e.length,String):[],g=p.length;for(var m in e)!t&&!d.call(e,m)||A&&("length"==m||c&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g))||p.push(m);return p}},34932:e=>{e.exports=function(e,t){for(var n=-1,a=null==e?0:e.length,r=Array(a);++n<a;)r[n]=t(e[n],n,e);return r}},14528:e=>{e.exports=function(e,t){for(var n=-1,a=t.length,r=e.length;++n<a;)e[r+n]=t[n];return e}},14248:e=>{e.exports=function(e,t){for(var n=-1,a=null==e?0:e.length;++n<a;)if(t(e[n],n,e))return!0;return!1}},16547:(e,t,n)=>{var a=n(43360),r=n(75288),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var i=e[t];o.call(e,t)&&r(i,n)&&(void 0!==n||t in e)||a(e,t,n)}},26025:(e,t,n)=>{var a=n(75288);e.exports=function(e,t){for(var n=e.length;n--;)if(a(e[n][0],t))return n;return-1}},62429:(e,t,n)=>{var a=n(80909);e.exports=function(e,t,n,r){return a(e,(function(e,a,o){t(r,e,n(e),o)})),r}},43360:(e,t,n)=>{var a=n(93243);e.exports=function(e,t,n){"__proto__"==t&&a?a(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},80909:(e,t,n)=>{var a=n(30641),r=n(38329)(a);e.exports=r},2523:e=>{e.exports=function(e,t,n,a){for(var r=e.length,o=n+(a?1:-1);a?o--:++o<r;)if(t(e[o],o,e))return o;return-1}},83120:(e,t,n)=>{var a=n(14528),r=n(45891);e.exports=function e(t,n,o,i,s){var l=-1,d=t.length;for(o||(o=r),s||(s=[]);++l<d;){var u=t[l];n>0&&o(u)?n>1?e(u,n-1,o,i,s):a(s,u):i||(s[s.length]=u)}return s}},86649:(e,t,n)=>{var a=n(83221)();e.exports=a},30641:(e,t,n)=>{var a=n(86649),r=n(95950);e.exports=function(e,t){return e&&a(e,t,r)}},47422:(e,t,n)=>{var a=n(31769),r=n(77797);e.exports=function(e,t){for(var n=0,o=(t=a(t,e)).length;null!=e&&n<o;)e=e[r(t[n++])];return n&&n==o?e:void 0}},82199:(e,t,n)=>{var a=n(14528),r=n(56449);e.exports=function(e,t,n){var o=t(e);return r(e)?o:a(o,n(e))}},72552:(e,t,n)=>{var a=n(51873),r=n(659),o=n(59350),i=a?a.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?r(e):o(e)}},28077:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},96131:(e,t,n)=>{var a=n(2523),r=n(85463),o=n(76959);e.exports=function(e,t,n){return t==t?o(e,t,n):a(e,r,n)}},27534:(e,t,n)=>{var a=n(72552),r=n(40346);e.exports=function(e){return r(e)&&"[object Arguments]"==a(e)}},14688:(e,t,n)=>{var a=n(72552),r=n(40346);e.exports=function(e){return r(e)&&"[object Date]"==a(e)}},60270:(e,t,n)=>{var a=n(87068),r=n(40346);e.exports=function e(t,n,o,i,s){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:a(t,n,o,i,e,s))}},87068:(e,t,n)=>{var a=n(37217),r=n(25911),o=n(21986),i=n(50689),s=n(5861),l=n(56449),d=n(3656),u=n(37167),c="[object Arguments]",f="[object Array]",A="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,m,h){var b=l(e),y=l(t),v=b?f:s(e),E=y?f:s(t),C=(v=v==c?A:v)==A,B=(E=E==c?A:E)==A,T=v==E;if(T&&d(e)){if(!d(t))return!1;b=!0,C=!1}if(T&&!C)return h||(h=new a),b||u(e)?r(e,t,n,g,m,h):o(e,t,v,n,g,m,h);if(!(1&n)){var S=C&&p.call(e,"__wrapped__"),x=B&&p.call(t,"__wrapped__");if(S||x){var w=S?e.value():e,I=x?t.value():t;return h||(h=new a),m(w,I,n,g,h)}}return!!T&&(h||(h=new a),i(e,t,n,g,m,h))}},41799:(e,t,n)=>{var a=n(37217),r=n(60270);e.exports=function(e,t,n,o){var i=n.length,s=i,l=!o;if(null==e)return!s;for(e=Object(e);i--;){var d=n[i];if(l&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++i<s;){var u=(d=n[i])[0],c=e[u],f=d[1];if(l&&d[2]){if(void 0===c&&!(u in e))return!1}else{var A=new a;if(o)var p=o(c,f,u,e,t,A);if(!(void 0===p?r(f,c,3,o,A):p))return!1}}return!0}},85463:e=>{e.exports=function(e){return e!=e}},45083:(e,t,n)=>{var a=n(1882),r=n(87296),o=n(23805),i=n(47473),s=/^\[object .+?Constructor\]$/,l=Function.prototype,d=Object.prototype,u=l.toString,c=d.hasOwnProperty,f=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||r(e))&&(a(e)?f:s).test(i(e))}},4901:(e,t,n)=>{var a=n(72552),r=n(30294),o=n(40346),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&r(e.length)&&!!i[a(e)]}},15389:(e,t,n)=>{var a=n(93663),r=n(87978),o=n(83488),i=n(56449),s=n(50583);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?i(e)?r(e[0],e[1]):a(e):s(e)}},88984:(e,t,n)=>{var a=n(55527),r=n(3650),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!a(e))return r(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},72903:(e,t,n)=>{var a=n(23805),r=n(55527),o=n(90181),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!a(e))return o(e);var t=r(e),n=[];for(var s in e)("constructor"!=s||!t&&i.call(e,s))&&n.push(s);return n}},5128:(e,t,n)=>{var a=n(80909),r=n(64894);e.exports=function(e,t){var n=-1,o=r(e)?Array(e.length):[];return a(e,(function(e,a,r){o[++n]=t(e,a,r)})),o}},93663:(e,t,n)=>{var a=n(41799),r=n(10776),o=n(67197);e.exports=function(e){var t=r(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||a(n,e,t)}}},87978:(e,t,n)=>{var a=n(60270),r=n(58156),o=n(80631),i=n(28586),s=n(30756),l=n(67197),d=n(77797);e.exports=function(e,t){return i(e)&&s(t)?l(d(e),t):function(n){var i=r(n,e);return void 0===i&&i===t?o(n,e):a(t,i,3)}}},46155:(e,t,n)=>{var a=n(34932),r=n(47422),o=n(15389),i=n(5128),s=n(73937),l=n(27301),d=n(43714),u=n(83488),c=n(56449);e.exports=function(e,t,n){t=t.length?a(t,(function(e){return c(e)?function(t){return r(t,1===e.length?e[0]:e)}:e})):[u];var f=-1;t=a(t,l(o));var A=i(e,(function(e,n,r){return{criteria:a(t,(function(t){return t(e)})),index:++f,value:e}}));return s(A,(function(e,t){return d(e,t,n)}))}},76001:(e,t,n)=>{var a=n(97420),r=n(80631);e.exports=function(e,t){return a(e,t,(function(t,n){return r(e,n)}))}},97420:(e,t,n)=>{var a=n(47422),r=n(73170),o=n(31769);e.exports=function(e,t,n){for(var i=-1,s=t.length,l={};++i<s;){var d=t[i],u=a(e,d);n(u,d)&&r(l,o(d,e),u)}return l}},47237:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},17255:(e,t,n)=>{var a=n(47422);e.exports=function(e){return function(t){return a(t,e)}}},69302:(e,t,n)=>{var a=n(83488),r=n(56757),o=n(32865);e.exports=function(e,t){return o(r(e,t,a),e+"")}},73170:(e,t,n)=>{var a=n(16547),r=n(31769),o=n(30361),i=n(23805),s=n(77797);e.exports=function(e,t,n,l){if(!i(e))return e;for(var d=-1,u=(t=r(t,e)).length,c=u-1,f=e;null!=f&&++d<u;){var A=s(t[d]),p=n;if("__proto__"===A||"constructor"===A||"prototype"===A)return e;if(d!=c){var g=f[A];void 0===(p=l?l(g,A,f):void 0)&&(p=i(g)?g:o(t[d+1])?[]:{})}a(f,A,p),f=f[A]}return e}},19570:(e,t,n)=>{var a=n(37334),r=n(93243),o=n(83488),i=r?function(e,t){return r(e,"toString",{configurable:!0,enumerable:!1,value:a(t),writable:!0})}:o;e.exports=i},73937:e=>{e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},18024:(e,t,n)=>{var a=n(75288);e.exports=function(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var s=e[n],l=t?t(s):s;if(!n||!a(l,d)){var d=l;i[o++]=0===s?0:s}}return i}},78096:e=>{e.exports=function(e,t){for(var n=-1,a=Array(e);++n<e;)a[n]=t(n);return a}},77556:(e,t,n)=>{var a=n(51873),r=n(34932),o=n(56449),i=n(44394),s=a?a.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return r(t,e)+"";if(i(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},27301:e=>{e.exports=function(e){return function(t){return e(t)}}},55765:(e,t,n)=>{var a=n(38859),r=n(15325),o=n(29905),i=n(19219),s=n(44517),l=n(84247);e.exports=function(e,t,n){var d=-1,u=r,c=e.length,f=!0,A=[],p=A;if(n)f=!1,u=o;else if(c>=200){var g=t?null:s(e);if(g)return l(g);f=!1,u=i,p=new a}else p=t?[]:A;e:for(;++d<c;){var m=e[d],h=t?t(m):m;if(m=n||0!==m?m:0,f&&h==h){for(var b=p.length;b--;)if(p[b]===h)continue e;t&&p.push(h),A.push(m)}else u(p,h,n)||(p!==A&&p.push(h),A.push(m))}return A}},19219:e=>{e.exports=function(e,t){return e.has(t)}},31769:(e,t,n)=>{var a=n(56449),r=n(28586),o=n(61802),i=n(13222);e.exports=function(e,t){return a(e)?e:r(e,t)?[e]:o(i(e))}},53730:(e,t,n)=>{var a=n(44394);e.exports=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,i=a(e),s=void 0!==t,l=null===t,d=t==t,u=a(t);if(!l&&!u&&!i&&e>t||i&&s&&d&&!l&&!u||r&&s&&d||!n&&d||!o)return 1;if(!r&&!i&&!u&&e<t||u&&n&&o&&!r&&!i||l&&n&&o||!s&&o||!d)return-1}return 0}},43714:(e,t,n)=>{var a=n(53730);e.exports=function(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,s=o.length,l=n.length;++r<s;){var d=a(o[r],i[r]);if(d)return r>=l?d:d*("desc"==n[r]?-1:1)}return e.index-t.index}},55481:(e,t,n)=>{var a=n(9325)["__core-js_shared__"];e.exports=a},42e3:(e,t,n)=>{var a=n(63945),r=n(62429),o=n(15389),i=n(56449);e.exports=function(e,t){return function(n,s){var l=i(n)?a:r,d=t?t():{};return l(n,e,o(s,2),d)}}},38329:(e,t,n)=>{var a=n(64894);e.exports=function(e,t){return function(n,r){if(null==n)return n;if(!a(n))return e(n,r);for(var o=n.length,i=t?o:-1,s=Object(n);(t?i--:++i<o)&&!1!==r(s[i],i,s););return n}}},83221:e=>{e.exports=function(e){return function(t,n,a){for(var r=-1,o=Object(t),i=a(t),s=i.length;s--;){var l=i[e?s:++r];if(!1===n(o[l],l,o))break}return t}}},44517:(e,t,n)=>{var a=n(76545),r=n(63950),o=n(84247),i=a&&1/o(new a([,-0]))[1]==1/0?function(e){return new a(e)}:r;e.exports=i},93243:(e,t,n)=>{var a=n(56110),r=function(){try{var e=a(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},25911:(e,t,n)=>{var a=n(38859),r=n(14248),o=n(19219);e.exports=function(e,t,n,i,s,l){var d=1&n,u=e.length,c=t.length;if(u!=c&&!(d&&c>u))return!1;var f=l.get(e),A=l.get(t);if(f&&A)return f==t&&A==e;var p=-1,g=!0,m=2&n?new a:void 0;for(l.set(e,t),l.set(t,e);++p<u;){var h=e[p],b=t[p];if(i)var y=d?i(b,h,p,t,e,l):i(h,b,p,e,t,l);if(void 0!==y){if(y)continue;g=!1;break}if(m){if(!r(t,(function(e,t){if(!o(m,t)&&(h===e||s(h,e,n,i,l)))return m.push(t)}))){g=!1;break}}else if(h!==b&&!s(h,b,n,i,l)){g=!1;break}}return l.delete(e),l.delete(t),g}},21986:(e,t,n)=>{var a=n(51873),r=n(37828),o=n(75288),i=n(25911),s=n(20317),l=n(84247),d=a?a.prototype:void 0,u=d?d.valueOf:void 0;e.exports=function(e,t,n,a,d,c,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!c(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var A=s;case"[object Set]":var p=1&a;if(A||(A=l),e.size!=t.size&&!p)return!1;var g=f.get(e);if(g)return g==t;a|=2,f.set(e,t);var m=i(A(e),A(t),a,d,c,f);return f.delete(e),m;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},50689:(e,t,n)=>{var a=n(50002),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,i,s){var l=1&n,d=a(e),u=d.length;if(u!=a(t).length&&!l)return!1;for(var c=u;c--;){var f=d[c];if(!(l?f in t:r.call(t,f)))return!1}var A=s.get(e),p=s.get(t);if(A&&p)return A==t&&p==e;var g=!0;s.set(e,t),s.set(t,e);for(var m=l;++c<u;){var h=e[f=d[c]],b=t[f];if(o)var y=l?o(b,h,f,t,e,s):o(h,b,f,e,t,s);if(!(void 0===y?h===b||i(h,b,n,o,s):y)){g=!1;break}m||(m="constructor"==f)}if(g&&!m){var v=e.constructor,E=t.constructor;v==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof E&&E instanceof E||(g=!1)}return s.delete(e),s.delete(t),g}},38816:(e,t,n)=>{var a=n(35970),r=n(56757),o=n(32865);e.exports=function(e){return o(r(e,void 0,a),e+"")}},34840:(e,t,n)=>{var a="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=a},50002:(e,t,n)=>{var a=n(82199),r=n(4664),o=n(95950);e.exports=function(e){return a(e,o,r)}},83349:(e,t,n)=>{var a=n(82199),r=n(86375),o=n(37241);e.exports=function(e){return a(e,o,r)}},12651:(e,t,n)=>{var a=n(74218);e.exports=function(e,t){var n=e.__data__;return a(t)?n["string"==typeof t?"string":"hash"]:n.map}},10776:(e,t,n)=>{var a=n(30756),r=n(95950);e.exports=function(e){for(var t=r(e),n=t.length;n--;){var o=t[n],i=e[o];t[n]=[o,i,a(i)]}return t}},56110:(e,t,n)=>{var a=n(45083),r=n(10392);e.exports=function(e,t){var n=r(e,t);return a(n)?n:void 0}},28879:(e,t,n)=>{var a=n(74335)(Object.getPrototypeOf,Object);e.exports=a},659:(e,t,n)=>{var a=n(51873),r=Object.prototype,o=r.hasOwnProperty,i=r.toString,s=a?a.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var a=!0}catch(e){}var r=i.call(e);return a&&(t?e[s]=n:delete e[s]),r}},4664:(e,t,n)=>{var a=n(79770),r=n(63345),o=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(e){return null==e?[]:(e=Object(e),a(i(e),(function(t){return o.call(e,t)})))}:r;e.exports=s},86375:(e,t,n)=>{var a=n(14528),r=n(28879),o=n(4664),i=n(63345),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)a(t,o(e)),e=r(e);return t}:i;e.exports=s},5861:(e,t,n)=>{var a=n(55580),r=n(68223),o=n(32804),i=n(76545),s=n(28303),l=n(72552),d=n(47473),u="[object Map]",c="[object Promise]",f="[object Set]",A="[object WeakMap]",p="[object DataView]",g=d(a),m=d(r),h=d(o),b=d(i),y=d(s),v=l;(a&&v(new a(new ArrayBuffer(1)))!=p||r&&v(new r)!=u||o&&v(o.resolve())!=c||i&&v(new i)!=f||s&&v(new s)!=A)&&(v=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,a=n?d(n):"";if(a)switch(a){case g:return p;case m:return u;case h:return c;case b:return f;case y:return A}return t}),e.exports=v},10392:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},49326:(e,t,n)=>{var a=n(31769),r=n(72428),o=n(56449),i=n(30361),s=n(30294),l=n(77797);e.exports=function(e,t,n){for(var d=-1,u=(t=a(t,e)).length,c=!1;++d<u;){var f=l(t[d]);if(!(c=null!=e&&n(e,f)))break;e=e[f]}return c||++d!=u?c:!!(u=null==e?0:e.length)&&s(u)&&i(f,u)&&(o(e)||r(e))}},22032:(e,t,n)=>{var a=n(81042);e.exports=function(){this.__data__=a?a(null):{},this.size=0}},63862:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},66721:(e,t,n)=>{var a=n(81042),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(a){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},12749:(e,t,n)=>{var a=n(81042),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return a?void 0!==t[e]:r.call(t,e)}},35749:(e,t,n)=>{var a=n(81042);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=a&&void 0===t?"__lodash_hash_undefined__":t,this}},45891:(e,t,n)=>{var a=n(51873),r=n(72428),o=n(56449),i=a?a.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||r(e)||!!(i&&e&&e[i])}},30361:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var a=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==a||"symbol"!=a&&t.test(e))&&e>-1&&e%1==0&&e<n}},36800:(e,t,n)=>{var a=n(75288),r=n(64894),o=n(30361),i=n(23805);e.exports=function(e,t,n){if(!i(n))return!1;var s=typeof t;return!!("number"==s?r(n)&&o(t,n.length):"string"==s&&t in n)&&a(n[t],e)}},28586:(e,t,n)=>{var a=n(56449),r=n(44394),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(a(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!r(e))||i.test(e)||!o.test(e)||null!=t&&e in Object(t)}},74218:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},87296:(e,t,n)=>{var a,r=n(55481),o=(a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"";e.exports=function(e){return!!o&&o in e}},55527:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},30756:(e,t,n)=>{var a=n(23805);e.exports=function(e){return e==e&&!a(e)}},63702:e=>{e.exports=function(){this.__data__=[],this.size=0}},70080:(e,t,n)=>{var a=n(26025),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=a(t,e);return!(n<0||(n==t.length-1?t.pop():r.call(t,n,1),--this.size,0))}},24739:(e,t,n)=>{var a=n(26025);e.exports=function(e){var t=this.__data__,n=a(t,e);return n<0?void 0:t[n][1]}},48655:(e,t,n)=>{var a=n(26025);e.exports=function(e){return a(this.__data__,e)>-1}},31175:(e,t,n)=>{var a=n(26025);e.exports=function(e,t){var n=this.__data__,r=a(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},63040:(e,t,n)=>{var a=n(21549),r=n(80079),o=n(68223);e.exports=function(){this.size=0,this.__data__={hash:new a,map:new(o||r),string:new a}}},17670:(e,t,n)=>{var a=n(12651);e.exports=function(e){var t=a(this,e).delete(e);return this.size-=t?1:0,t}},90289:(e,t,n)=>{var a=n(12651);e.exports=function(e){return a(this,e).get(e)}},4509:(e,t,n)=>{var a=n(12651);e.exports=function(e){return a(this,e).has(e)}},72949:(e,t,n)=>{var a=n(12651);e.exports=function(e,t){var n=a(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},20317:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,a){n[++t]=[a,e]})),n}},67197:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},62224:(e,t,n)=>{var a=n(50104);e.exports=function(e){var t=a(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},81042:(e,t,n)=>{var a=n(56110)(Object,"create");e.exports=a},3650:(e,t,n)=>{var a=n(74335)(Object.keys,Object);e.exports=a},90181:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},86009:(e,t,n)=>{e=n.nmd(e);var a=n(34840),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,i=o&&o.exports===r&&a.process,s=function(){try{return o&&o.require&&o.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=s},59350:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},74335:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},56757:(e,t,n)=>{var a=n(91033),r=Math.max;e.exports=function(e,t,n){return t=r(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,s=r(o.length-t,0),l=Array(s);++i<s;)l[i]=o[t+i];i=-1;for(var d=Array(t+1);++i<t;)d[i]=o[i];return d[t]=n(l),a(e,this,d)}}},9325:(e,t,n)=>{var a=n(34840),r="object"==typeof self&&self&&self.Object===Object&&self,o=a||r||Function("return this")();e.exports=o},31380:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},51459:e=>{e.exports=function(e){return this.__data__.has(e)}},84247:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},32865:(e,t,n)=>{var a=n(19570),r=n(51811)(a);e.exports=r},51811:e=>{var t=Date.now;e.exports=function(e){var n=0,a=0;return function(){var r=t(),o=16-(r-a);if(a=r,o>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},51420:(e,t,n)=>{var a=n(80079);e.exports=function(){this.__data__=new a,this.size=0}},90938:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},63605:e=>{e.exports=function(e){return this.__data__.get(e)}},29817:e=>{e.exports=function(e){return this.__data__.has(e)}},80945:(e,t,n)=>{var a=n(80079),r=n(68223),o=n(53661);e.exports=function(e,t){var n=this.__data__;if(n instanceof a){var i=n.__data__;if(!r||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(i)}return n.set(e,t),this.size=n.size,this}},76959:e=>{e.exports=function(e,t,n){for(var a=n-1,r=e.length;++a<r;)if(e[a]===t)return a;return-1}},61802:(e,t,n)=>{var a=n(62224),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=a((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(r,(function(e,n,a,r){t.push(a?r.replace(o,"$1"):n||e)})),t}));e.exports=i},77797:(e,t,n)=>{var a=n(44394);e.exports=function(e){if("string"==typeof e||a(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},47473:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},37334:e=>{e.exports=function(e){return function(){return e}}},84684:(e,t,n)=>{var a=n(69302),r=n(75288),o=n(36800),i=n(37241),s=Object.prototype,l=s.hasOwnProperty,d=a((function(e,t){e=Object(e);var n=-1,a=t.length,d=a>2?t[2]:void 0;for(d&&o(t[0],t[1],d)&&(a=1);++n<a;)for(var u=t[n],c=i(u),f=-1,A=c.length;++f<A;){var p=c[f],g=e[p];(void 0===g||r(g,s[p])&&!l.call(e,p))&&(e[p]=u[p])}return e}));e.exports=d},75288:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},35970:(e,t,n)=>{var a=n(83120);e.exports=function(e){return null!=e&&e.length?a(e,1):[]}},58156:(e,t,n)=>{var a=n(47422);e.exports=function(e,t,n){var r=null==e?void 0:a(e,t);return void 0===r?n:r}},94394:(e,t,n)=>{var a=n(43360),r=n(42e3),o=Object.prototype.hasOwnProperty,i=r((function(e,t,n){o.call(e,n)?e[n].push(t):a(e,n,[t])}));e.exports=i},80631:(e,t,n)=>{var a=n(28077),r=n(49326);e.exports=function(e,t){return null!=e&&r(e,t,a)}},83488:e=>{e.exports=function(e){return e}},72428:(e,t,n)=>{var a=n(27534),r=n(40346),o=Object.prototype,i=o.hasOwnProperty,s=o.propertyIsEnumerable,l=a(function(){return arguments}())?a:function(e){return r(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},56449:e=>{var t=Array.isArray;e.exports=t},64894:(e,t,n)=>{var a=n(1882),r=n(30294);e.exports=function(e){return null!=e&&r(e.length)&&!a(e)}},3656:(e,t,n)=>{e=n.nmd(e);var a=n(9325),r=n(89935),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,s=i&&i.exports===o?a.Buffer:void 0,l=(s?s.isBuffer:void 0)||r;e.exports=l},83602:(e,t,n)=>{var a=n(14688),r=n(27301),o=n(86009),i=o&&o.isDate,s=i?r(i):a;e.exports=s},62193:(e,t,n)=>{var a=n(88984),r=n(5861),o=n(72428),i=n(56449),s=n(64894),l=n(3656),d=n(55527),u=n(37167),c=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||o(e)))return!e.length;var t=r(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(d(e))return!a(e).length;for(var n in e)if(c.call(e,n))return!1;return!0}},2404:(e,t,n)=>{var a=n(60270);e.exports=function(e,t){return a(e,t)}},1882:(e,t,n)=>{var a=n(72552),r=n(23805);e.exports=function(e){if(!r(e))return!1;var t=a(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},30294:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},23805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},40346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},11331:(e,t,n)=>{var a=n(72552),r=n(28879),o=n(40346),i=Function.prototype,s=Object.prototype,l=i.toString,d=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=a(e))return!1;var t=r(e);if(null===t)return!0;var n=d.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},44394:(e,t,n)=>{var a=n(72552),r=n(40346);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==a(e)}},37167:(e,t,n)=>{var a=n(4901),r=n(27301),o=n(86009),i=o&&o.isTypedArray,s=i?r(i):a;e.exports=s},62216:e=>{e.exports=function(e){return void 0===e}},95950:(e,t,n)=>{var a=n(70695),r=n(88984),o=n(64894);e.exports=function(e){return o(e)?a(e):r(e)}},37241:(e,t,n)=>{var a=n(70695),r=n(72903),o=n(64894);e.exports=function(e){return o(e)?a(e,!0):r(e)}},50104:(e,t,n)=>{var a=n(53661);function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var a=arguments,r=t?t.apply(this,a):a[0],o=n.cache;if(o.has(r))return o.get(r);var i=e.apply(this,a);return n.cache=o.set(r,i)||o,i};return n.cache=new(r.Cache||a),n}r.Cache=a,e.exports=r},6048:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},63950:e=>{e.exports=function(){}},42194:(e,t,n)=>{var a=n(15389),r=n(6048),o=n(71086);e.exports=function(e,t){return o(e,r(a(t)))}},42877:(e,t,n)=>{var a=n(46155),r=n(56449);e.exports=function(e,t,n,o){return null==e?[]:(r(t)||(t=null==t?[]:[t]),r(n=o?void 0:n)||(n=null==n?[]:[n]),a(e,t,n))}},44383:(e,t,n)=>{var a=n(76001),r=n(38816)((function(e,t){return null==e?{}:a(e,t)}));e.exports=r},71086:(e,t,n)=>{var a=n(34932),r=n(15389),o=n(97420),i=n(83349);e.exports=function(e,t){if(null==e)return{};var n=a(i(e),(function(e){return[e]}));return t=r(t),o(e,n,(function(e,n){return t(e,n[0])}))}},50583:(e,t,n)=>{var a=n(47237),r=n(17255),o=n(28586),i=n(77797);e.exports=function(e){return o(e)?a(i(e)):r(e)}},73054:(e,t,n)=>{var a=n(18024);e.exports=function(e){return e&&e.length?a(e):[]}},63345:e=>{e.exports=function(){return[]}},89935:e=>{e.exports=function(){return!1}},13222:(e,t,n)=>{var a=n(77556);e.exports=function(e){return null==e?"":a(e)}},63375:(e,t,n)=>{var a=n(55765);e.exports=function(e){return e&&e.length?a(e):[]}},50014:(e,t,n)=>{var a=n(15389),r=n(55765);e.exports=function(e,t){return e&&e.length?r(e,a(t,2)):[]}},97200:(e,t,n)=>{var a=n(13222),r=0;e.exports=function(e){var t=++r;return a(e)+t}},30115:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,a="function"==typeof Set,r="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,l,d,u;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(!o(e[l],i[l]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],i.get(l.value[0])))return!1;return!0}if(a&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(r&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(e[l]!==i[l])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((s=(d=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(i,d[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==d[l]&&"__v"!==d[l]&&"__o"!==d[l]||!e.$$typeof)&&!o(e[d[l]],i[d[l]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},77950:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(50535),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},10587:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(40916),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},83202:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(15651),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},18469:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(34788),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},87878:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(87145),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},18504:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(51619),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},39123:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(47064),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},82071:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(83446),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},49769:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(90524),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},815:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(49090),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},90888:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(56345),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},14680:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(7873),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},79346:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(74423),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},55506:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(21771),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},730:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(89295),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},52130:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(45639),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},88486:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(47379),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},3279:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(18560),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},54602:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(17387),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},28868:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(25099),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},62102:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(21369),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},92250:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(48643),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},51357:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(70524),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},67364:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(35347),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},52743:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(33152),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},22285:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(48896),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},90030:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(45509),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},20444:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(78263),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},53064:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(39817),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},4069:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(68040),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},66708:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(16895),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},1634:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(72705),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},86797:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(31246),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},51531:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(32576),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},16845:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(87558),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},12970:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(21347),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},21753:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(99070),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},32768:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(51097),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},81508:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(71577),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},72380:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(95435),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},97579:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(5112),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},61905:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(57778),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},705:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(77860),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},72439:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(85072),r=n.n(a),o=n(97825),i=n.n(o),s=n(77659),l=n.n(s),d=n(55056),u=n.n(d),c=n(10540),f=n.n(c),A=n(41113),p=n.n(A),g=n(61872),m={};m.styleTagTransform=p(),m.setAttributes=u(),m.insert=l().bind(null,"head"),m.domAPI=i(),m.insertStyleElement=f(),r()(g.A,m);const h=g.A&&g.A.locals?g.A.locals:void 0},85072:e=>{"use strict";var t=[];function n(e){for(var n=-1,a=0;a<t.length;a++)if(t[a].identifier===e){n=a;break}return n}function a(e,a){for(var o={},i=[],s=0;s<e.length;s++){var l=e[s],d=a.base?l[0]+a.base:l[0],u=o[d]||0,c="".concat(d," ").concat(u);o[d]=u+1;var f=n(c),A={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(A);else{var p=r(A,a);a.byIndex=s,t.splice(s,0,{identifier:c,updater:p,references:1})}i.push(c)}return i}function r(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=a(e=e||[],r=r||{});return function(e){e=e||[];for(var i=0;i<o.length;i++){var s=n(o[i]);t[s].references--}for(var l=a(e,r),d=0;d<o.length;d++){var u=n(o[d]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=l}}},77659:e=>{"use strict";var t={};e.exports=function(e,n){var a=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(n)}},10540:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},55056:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},97825:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var a="";n.supports&&(a+="@supports (".concat(n.supports,") {")),n.media&&(a+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(a+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),a+=n.css,r&&(a+="}"),n.media&&(a+="}"),n.supports&&(a+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(a,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},41113:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},22212:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Arc:()=>so,Axis:()=>y,Background:()=>uo,Border:()=>fo,Box:()=>fo,Circle:()=>to,ClipPath:()=>Jr,Collection:()=>u,Data:()=>h,DefaultTransitions:()=>v,Domain:()=>b,Events:()=>A,Helpers:()=>r,Hooks:()=>E,Immutable:()=>m,LabelHelpers:()=>s,Line:()=>po,LineHelpers:()=>B,LineSegment:()=>mo,Log:()=>i,Path:()=>ro,Point:()=>Io,PointPathHelpers:()=>f,Portal:()=>Vt,PortalContext:()=>Ln,PortalOutlet:()=>On,PortalProvider:()=>kn,Rect:()=>Yn,Scale:()=>g,Selection:()=>T,Style:()=>l,TSpan:()=>Wn,Text:()=>zn,TextSize:()=>d,Timer:()=>Ft,TimerContext:()=>jt,Transitions:()=>c,UserProps:()=>o,VictoryAccessibleGroup:()=>I,VictoryAnimation:()=>Ut,VictoryClipContainer:()=>no,VictoryContainer:()=>Mn,VictoryLabel:()=>Dr,VictoryPortal:()=>Hn,VictoryTheme:()=>tr,VictoryTransition:()=>Zr,Whisker:()=>Do,Wrapper:()=>S,addEvents:()=>Zo,mergeRefs:()=>In,usePortalContext:()=>Dn,useVictoryContainer:()=>Rn});var a={};n.r(a),n.d(a,{easeBack:()=>Ae,easeBackIn:()=>ce,easeBackInOut:()=>Ae,easeBackOut:()=>fe,easeBounce:()=>le,easeBounceIn:()=>se,easeBounceInOut:()=>de,easeBounceOut:()=>le,easeCircle:()=>K,easeCircleIn:()=>q,easeCircleInOut:()=>K,easeCircleOut:()=>Q,easeCubic:()=>R,easeCubicIn:()=>N,easeCubicInOut:()=>R,easeCubicOut:()=>P,easeElastic:()=>me,easeElasticIn:()=>ge,easeElasticInOut:()=>he,easeElasticOut:()=>me,easeExp:()=>$,easeExpIn:()=>W,easeExpInOut:()=>$,easeExpOut:()=>V,easeLinear:()=>L,easePoly:()=>F,easePolyIn:()=>M,easePolyInOut:()=>F,easePolyOut:()=>_,easeQuad:()=>O,easeQuadIn:()=>D,easeQuadInOut:()=>O,easeQuadOut:()=>k,easeSin:()=>Y,easeSinIn:()=>H,easeSinInOut:()=>Y,easeSinOut:()=>U});var r={};n.r(r),n.d(r,{createAccessor:()=>hn,degreesToRadians:()=>un,evaluateProp:()=>ln,evaluateStyle:()=>dn,getCurrentAxis:()=>yn,getDefaultStyles:()=>on,getPadding:()=>an,getPoint:()=>tn,getPolarOrigin:()=>An,getRadius:()=>fn,getRange:()=>pn,getStyles:()=>sn,invert:()=>Jt,isFunction:()=>mn,isHorizontal:()=>Bn,isNil:()=>gn,isTooltip:()=>rn,mapValues:()=>vn,modifyProps:()=>bn,omit:()=>en,radiansToDegrees:()=>cn,range:()=>En,reduceChildren:()=>Cn,scalePoint:()=>nn});var o={};n.r(o),n.d(o,{assert:()=>Sn,getSafeUserProps:()=>xn,withSafeUserProps:()=>wn});var i={};n.r(i),n.d(i,{warn:()=>Gn});var s={};n.r(s),n.d(s,{getDegrees:()=>Xn,getPolarAngle:()=>Kn,getPolarTextAnchor:()=>qn,getPolarVerticalAnchor:()=>Qn,getProps:()=>Zn,getText:()=>$n});var l={};n.r(l),n.d(l,{getColorScale:()=>ar,toTransformString:()=>nr});var d={};n.r(d),n.d(d,{_approximateTextSizeInternal:()=>br,approximateTextSize:()=>yr,convertLengthToPixels:()=>fr});var u={};n.r(u),n.d(u,{containsDates:()=>Rr,containsNumbers:()=>Mr,containsOnlyStrings:()=>_r,containsStrings:()=>Pr,difference:()=>Fr,getMaxValue:()=>Hr,getMinValue:()=>Ur,isArrayOfArrays:()=>Gr,removeUndefined:()=>jr});var c={};n.r(c),n.d(c,{getInitialTransitionState:()=>Qr,getTransitionPropsFactory:()=>Kr});var f={};n.r(f),n.d(f,{circle:()=>ho,cross:()=>Bo,diamond:()=>yo,minus:()=>To,plus:()=>Co,square:()=>bo,star:()=>So,triangleDown:()=>vo,triangleUp:()=>Eo});var A={};n.r(A),n.d(A,{emulateReactEvent:()=>Qo,getComponentEvents:()=>Wo,getEventState:()=>Ho,getEvents:()=>Fo,getExternalMutation:()=>zo,getExternalMutations:()=>Yo,getExternalMutationsWithChildren:()=>Uo,getGlobalEventNameFromKey:()=>Vo,getGlobalEvents:()=>$o,getPartialEvents:()=>jo,getScopedEvents:()=>Go,omitGlobalEvents:()=>qo});var p={};n.r(p),n.d(p,{scaleLinear:()=>di.scaleLinear});var g={};n.r(g),n.d(g,{getBaseScale:()=>gi,getDefaultScale:()=>mi,getScaleFromName:()=>pi,getScaleFromProps:()=>hi,getScaleType:()=>bi,getType:()=>vi,validScale:()=>ci});var m={};n.r(m),n.d(m,{IMMUTABLE_ITERABLE:()=>Ei,IMMUTABLE_LIST:()=>Bi,IMMUTABLE_MAP:()=>Ti,IMMUTABLE_RECORD:()=>Ci,isImmutable:()=>wi,isIterable:()=>Si,isList:()=>Ii,isMap:()=>Li,isRecord:()=>xi,shallowToJS:()=>Di});var h={};n.r(h),n.d(h,{createStringMap:()=>Mi,downsample:()=>_i,formatData:()=>Fi,formatDataFromDomain:()=>Ri,generateData:()=>Gi,getCategories:()=>ji,getData:()=>Hi,getStringsFromAxes:()=>Ui,getStringsFromCategories:()=>Yi,getStringsFromData:()=>zi,isDataComponent:()=>Wi});var b={};n.r(b),n.d(b,{createDomainFunction:()=>$i,formatDomain:()=>qi,getDomain:()=>Qi,getDomainFromCategories:()=>Ki,getDomainFromData:()=>Xi,getDomainFromMinMax:()=>Zi,getDomainFromProps:()=>Ji,getDomainWithZero:()=>es,getMaxFromProps:()=>ts,getMinFromProps:()=>ns,getSymmetricDomain:()=>as,isDomainComponent:()=>rs});var y={};n.r(y),n.d(y,{findAxisComponents:()=>ss,getAxis:()=>is,getAxisComponent:()=>ls,getAxisComponentsWithParent:()=>ds,getAxisValue:()=>vs,getDomain:()=>ys,getOrigin:()=>us,getOriginSign:()=>cs,getTickFormat:()=>gs,getTicks:()=>hs,isVertical:()=>fs,modifyProps:()=>Es,stringTicks:()=>As});var v={};n.r(v),n.d(v,{continuousPolarTransitions:()=>Bs,continuousTransitions:()=>Cs,discreteTransitions:()=>Ts});var E={};n.r(E),n.d(E,{useAnimationState:()=>ws,usePreviousProps:()=>Ss});var C={};n.r(C),n.d(C,{curveLinear:()=>Is.curveLinear,line:()=>Is.line,lineRadial:()=>Is.lineRadial});var B={};n.r(B),n.d(B,{getInterpolationFunction:()=>Ns,getLineFunction:()=>Ps});var T={};n.r(T),n.d(T,{getBounds:()=>Hs,getDataCoordinates:()=>js,getDomainCoordinates:()=>Gs,getParentSVG:()=>_s,getSVGEventCoordinates:()=>Fs});var S={};n.r(S),n.d(S,{addBinsToParentPropsIfHistogram:()=>Vs,getAllEvents:()=>el,getCategories:()=>ll,getCategoryAndAxisStringsFromChildren:()=>il,getChildStyle:()=>al,getColor:()=>tl,getData:()=>qs,getDataFromChildren:()=>$s,getDefaultDomainPadding:()=>Ks,getDomain:()=>Zs,getDomainFromChildren:()=>Xs,getScale:()=>Js,getStringsFromChildren:()=>sl,getStringsFromChildrenCategories:()=>rl,getStringsFromData:()=>ol,getStyle:()=>nl,getWidth:()=>Qs});var x=n(82015),w=n.n(x);const I=e=>{let{desc:t,children:n,tabIndex:a,className:r="VictoryAccessibleGroup",...o}=e;const i=t&&(o["aria-describedby"]||t.split(" ").join("-"));return t?w().createElement("g",{"aria-label":o["aria-label"],"aria-describedby":i,className:r,tabIndex:a},w().createElement("desc",{id:i},t),n):w().createElement("g",{"aria-label":o["aria-label"],"aria-describedby":o["aria-describedby"],className:r,tabIndex:a},n)},L=e=>+e;function D(e){return e*e}function k(e){return e*(2-e)}function O(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function N(e){return e*e*e}function P(e){return--e*e*e+1}function R(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var M=function e(t){function n(e){return Math.pow(e,t)}return t=+t,n.exponent=e,n}(3),_=function e(t){function n(e){return 1-Math.pow(1-e,t)}return t=+t,n.exponent=e,n}(3),F=function e(t){function n(e){return((e*=2)<=1?Math.pow(e,t):2-Math.pow(2-e,t))/2}return t=+t,n.exponent=e,n}(3),G=Math.PI,j=G/2;function H(e){return 1==+e?1:1-Math.cos(e*j)}function U(e){return Math.sin(e*j)}function Y(e){return(1-Math.cos(G*e))/2}function z(e){return 1.0009775171065494*(Math.pow(2,-10*e)-.0009765625)}function W(e){return z(1-+e)}function V(e){return 1-z(e)}function $(e){return((e*=2)<=1?z(1-e):2-z(e-1))/2}function q(e){return 1-Math.sqrt(1-e*e)}function Q(e){return Math.sqrt(1- --e*e)}function K(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}var X=4/11,Z=6/11,J=8/11,ee=3/4,te=9/11,ne=10/11,ae=15/16,re=21/22,oe=63/64,ie=1/X/X;function se(e){return 1-le(1-e)}function le(e){return(e=+e)<X?ie*e*e:e<J?ie*(e-=Z)*e+ee:e<ne?ie*(e-=te)*e+ae:ie*(e-=re)*e+oe}function de(e){return((e*=2)<=1?1-le(1-e):le(e-1)+1)/2}var ue=1.70158,ce=function e(t){function n(e){return(e=+e)*e*(t*(e-1)+e)}return t=+t,n.overshoot=e,n}(ue),fe=function e(t){function n(e){return--e*e*((e+1)*t+e)+1}return t=+t,n.overshoot=e,n}(ue),Ae=function e(t){function n(e){return((e*=2)<1?e*e*((t+1)*e-t):(e-=2)*e*((t+1)*e+t)+2)/2}return t=+t,n.overshoot=e,n}(ue),pe=2*Math.PI,ge=function e(t,n){var a=Math.asin(1/(t=Math.max(1,t)))*(n/=pe);function r(e){return t*z(- --e)*Math.sin((a-e)/n)}return r.amplitude=function(t){return e(t,n*pe)},r.period=function(n){return e(t,n)},r}(1,.3),me=function e(t,n){var a=Math.asin(1/(t=Math.max(1,t)))*(n/=pe);function r(e){return 1-t*z(e=+e)*Math.sin((e+a)/n)}return r.amplitude=function(t){return e(t,n*pe)},r.period=function(n){return e(t,n)},r}(1,.3),he=function e(t,n){var a=Math.asin(1/(t=Math.max(1,t)))*(n/=pe);function r(e){return((e=2*e-1)<0?t*z(-e)*Math.sin((a-e)/n):2-t*z(e)*Math.sin((a+e)/n))/2}return r.amplitude=function(t){return e(t,n*pe)},r.period=function(n){return e(t,n)},r}(1,.3),be=n(11331),ye=n.n(be),ve=n(42877),Ee=n.n(ve);function Ce(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Be(e,t){var n=Object.create(e.prototype);for(var a in t)n[a]=t[a];return n}function Te(){}var Se=.7,xe=1/Se,we="\\s*([+-]?\\d+)\\s*",Ie="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Le="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",De=/^#([0-9a-f]{3,8})$/,ke=new RegExp(`^rgb\\(${we},${we},${we}\\)$`),Oe=new RegExp(`^rgb\\(${Le},${Le},${Le}\\)$`),Ne=new RegExp(`^rgba\\(${we},${we},${we},${Ie}\\)$`),Pe=new RegExp(`^rgba\\(${Le},${Le},${Le},${Ie}\\)$`),Re=new RegExp(`^hsl\\(${Ie},${Le},${Le}\\)$`),Me=new RegExp(`^hsla\\(${Ie},${Le},${Le},${Ie}\\)$`),_e={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Fe(){return this.rgb().formatHex()}function Ge(){return this.rgb().formatRgb()}function je(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=De.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?He(t):3===n?new ze(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Ue(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Ue(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=ke.exec(e))?new ze(t[1],t[2],t[3],1):(t=Oe.exec(e))?new ze(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Ne.exec(e))?Ue(t[1],t[2],t[3],t[4]):(t=Pe.exec(e))?Ue(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Re.exec(e))?Ke(t[1],t[2]/100,t[3]/100,1):(t=Me.exec(e))?Ke(t[1],t[2]/100,t[3]/100,t[4]):_e.hasOwnProperty(e)?He(_e[e]):"transparent"===e?new ze(NaN,NaN,NaN,0):null}function He(e){return new ze(e>>16&255,e>>8&255,255&e,1)}function Ue(e,t,n,a){return a<=0&&(e=t=n=NaN),new ze(e,t,n,a)}function Ye(e,t,n,a){return 1===arguments.length?((r=e)instanceof Te||(r=je(r)),r?new ze((r=r.rgb()).r,r.g,r.b,r.opacity):new ze):new ze(e,t,n,null==a?1:a);var r}function ze(e,t,n,a){this.r=+e,this.g=+t,this.b=+n,this.opacity=+a}function We(){return`#${Qe(this.r)}${Qe(this.g)}${Qe(this.b)}`}function Ve(){const e=$e(this.opacity);return`${1===e?"rgb(":"rgba("}${qe(this.r)}, ${qe(this.g)}, ${qe(this.b)}${1===e?")":`, ${e})`}`}function $e(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function qe(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Qe(e){return((e=qe(e))<16?"0":"")+e.toString(16)}function Ke(e,t,n,a){return a<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Ze(e,t,n,a)}function Xe(e){if(e instanceof Ze)return new Ze(e.h,e.s,e.l,e.opacity);if(e instanceof Te||(e=je(e)),!e)return new Ze;if(e instanceof Ze)return e;var t=(e=e.rgb()).r/255,n=e.g/255,a=e.b/255,r=Math.min(t,n,a),o=Math.max(t,n,a),i=NaN,s=o-r,l=(o+r)/2;return s?(i=t===o?(n-a)/s+6*(n<a):n===o?(a-t)/s+2:(t-n)/s+4,s/=l<.5?o+r:2-o-r,i*=60):s=l>0&&l<1?0:i,new Ze(i,s,l,e.opacity)}function Ze(e,t,n,a){this.h=+e,this.s=+t,this.l=+n,this.opacity=+a}function Je(e){return(e=(e||0)%360)<0?e+360:e}function et(e){return Math.max(0,Math.min(1,e||0))}function tt(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function nt(e,t,n,a,r){var o=e*e,i=o*e;return((1-3*e+3*o-i)*t+(4-6*o+3*i)*n+(1+3*e+3*o-3*i)*a+i*r)/6}Ce(Te,je,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Fe,formatHex:Fe,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Xe(this).formatHsl()},formatRgb:Ge,toString:Ge}),Ce(ze,Ye,Be(Te,{brighter(e){return e=null==e?xe:Math.pow(xe,e),new ze(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Se:Math.pow(Se,e),new ze(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new ze(qe(this.r),qe(this.g),qe(this.b),$e(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:We,formatHex:We,formatHex8:function(){return`#${Qe(this.r)}${Qe(this.g)}${Qe(this.b)}${Qe(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ve,toString:Ve})),Ce(Ze,(function(e,t,n,a){return 1===arguments.length?Xe(e):new Ze(e,t,n,null==a?1:a)}),Be(Te,{brighter(e){return e=null==e?xe:Math.pow(xe,e),new Ze(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Se:Math.pow(Se,e),new Ze(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,a=n+(n<.5?n:1-n)*t,r=2*n-a;return new ze(tt(e>=240?e-240:e+120,r,a),tt(e,r,a),tt(e<120?e+240:e-120,r,a),this.opacity)},clamp(){return new Ze(Je(this.h),et(this.s),et(this.l),$e(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=$e(this.opacity);return`${1===e?"hsl(":"hsla("}${Je(this.h)}, ${100*et(this.s)}%, ${100*et(this.l)}%${1===e?")":`, ${e})`}`}}));const at=e=>()=>e;function rt(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):at(isNaN(e)?t:e)}const ot=function e(t){var n=function(e){return 1==(e=+e)?rt:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(a){return Math.pow(e+a*t,n)}}(t,n,e):at(isNaN(t)?n:t)}}(t);function a(e,t){var a=n((e=Ye(e)).r,(t=Ye(t)).r),r=n(e.g,t.g),o=n(e.b,t.b),i=rt(e.opacity,t.opacity);return function(t){return e.r=a(t),e.g=r(t),e.b=o(t),e.opacity=i(t),e+""}}return a.gamma=e,a}(1);function it(e){return function(t){var n,a,r=t.length,o=new Array(r),i=new Array(r),s=new Array(r);for(n=0;n<r;++n)a=Ye(t[n]),o[n]=a.r||0,i[n]=a.g||0,s[n]=a.b||0;return o=e(o),i=e(i),s=e(s),a.opacity=1,function(e){return a.r=o(e),a.g=i(e),a.b=s(e),a+""}}}function st(e,t){var n,a=t?t.length:0,r=e?Math.min(a,e.length):0,o=new Array(r),i=new Array(a);for(n=0;n<r;++n)o[n]=gt(e[n],t[n]);for(;n<a;++n)i[n]=t[n];return function(e){for(n=0;n<r;++n)i[n]=o[n](e);return i}}function lt(e,t){var n=new Date;return e=+e,t=+t,function(a){return n.setTime(e*(1-a)+t*a),n}}function dt(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function ut(e,t){var n,a={},r={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?a[n]=gt(e[n],t[n]):r[n]=t[n];return function(e){for(n in a)r[n]=a[n](e);return r}}it((function(e){var t=e.length-1;return function(n){var a=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),r=e[a],o=e[a+1],i=a>0?e[a-1]:2*r-o,s=a<t-1?e[a+2]:2*o-r;return nt((n-a/t)*t,i,r,o,s)}})),it((function(e){var t=e.length;return function(n){var a=Math.floor(((n%=1)<0?++n:n)*t),r=e[(a+t-1)%t],o=e[a%t],i=e[(a+1)%t],s=e[(a+2)%t];return nt((n-a/t)*t,r,o,i,s)}}));var ct=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ft=new RegExp(ct.source,"g");function At(e,t){var n,a,r,o=ct.lastIndex=ft.lastIndex=0,i=-1,s=[],l=[];for(e+="",t+="";(n=ct.exec(e))&&(a=ft.exec(t));)(r=a.index)>o&&(r=t.slice(o,r),s[i]?s[i]+=r:s[++i]=r),(n=n[0])===(a=a[0])?s[i]?s[i]+=a:s[++i]=a:(s[++i]=null,l.push({i,x:dt(n,a)})),o=ft.lastIndex;return o<t.length&&(r=t.slice(o),s[i]?s[i]+=r:s[++i]=r),s.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,a=0;a<t;++a)s[(n=l[a]).i]=n.x(e);return s.join("")})}function pt(e,t){t||(t=[]);var n,a=e?Math.min(t.length,e.length):0,r=t.slice();return function(o){for(n=0;n<a;++n)r[n]=e[n]*(1-o)+t[n]*o;return r}}function gt(e,t){var n,a,r=typeof t;return null==t||"boolean"===r?at(t):("number"===r?dt:"string"===r?(n=je(t))?(t=n,ot):At:t instanceof je?ot:t instanceof Date?lt:(a=t,!ArrayBuffer.isView(a)||a instanceof DataView?Array.isArray(t)?st:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?ut:dt:pt))(e,t)}const mt=function(e){if(null!==e)switch(typeof e){case"undefined":case"boolean":return!1;case"number":return!isNaN(e)&&e!==Number.POSITIVE_INFINITY&&e!==Number.NEGATIVE_INFINITY;case"string":case"function":return!0;case"object":return e instanceof Date||Array.isArray(e)||ye()(e)}return!1},ht=function(e,t,n){return void 0===n&&(n=0),function(a){return a<n?e:t}},bt=function(e,t){return function(n){return n>=1?t:function(){return gt("function"==typeof e?e.apply(this,arguments):e,"function"==typeof t?t.apply(this,arguments):t)(n)}}},yt=function(e,t){const n=e=>Array.isArray(e)?Ee()(e,"key"):e,a={},r={};let o,i=e,s=t;for(o in null!==i&&"object"==typeof i||(i={}),null!==s&&"object"==typeof s||(s={}),s)o in i?a[o]=(l=n(i[o]))!==(d=n(s[o]))&&mt(l)&&mt(d)?"function"==typeof l||"function"==typeof d?bt(l,d):"object"==typeof l&&ye()(l)||"object"==typeof d&&ye()(d)?yt(l,d):gt(l,d):ht(l,d):r[o]=s[o];var l,d;return function(e){for(o in a)r[o]=a[o](e);return r}};var vt,Et,Ct=0,Bt=0,Tt=0,St=1e3,xt=0,wt=0,It=0,Lt="object"==typeof performance&&performance.now?performance:Date,Dt="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function kt(){return wt||(Dt(Ot),wt=Lt.now()+It)}function Ot(){wt=0}function Nt(){this._call=this._time=this._next=null}function Pt(e,t,n){var a=new Nt;return a.restart(e,t,n),a}function Rt(){wt=(xt=Lt.now())+It,Ct=Bt=0;try{!function(){kt(),++Ct;for(var e,t=vt;t;)(e=wt-t._time)>=0&&t._call.call(void 0,e),t=t._next;--Ct}()}finally{Ct=0,function(){for(var e,t,n=vt,a=1/0;n;)n._call?(a>n._time&&(a=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:vt=t);Et=e,_t(a)}(),wt=0}}function Mt(){var e=Lt.now(),t=e-xt;t>St&&(It-=t,xt=e)}function _t(e){Ct||(Bt&&(Bt=clearTimeout(Bt)),e-wt>24?(e<1/0&&(Bt=setTimeout(Rt,e-Lt.now()-It)),Tt&&(Tt=clearInterval(Tt))):(Tt||(xt=Lt.now(),Tt=setInterval(Mt,St)),Ct=1,Dt(Rt)))}Nt.prototype=Pt.prototype={constructor:Nt,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?kt():+n)+(null==t?0:+t),this._next||Et===this||(Et?Et._next=this:vt=this,Et=this),this._call=e,this._time=n,_t()},stop:function(){this._call&&(this._call=null,this._time=1/0,_t())}};class Ft{constructor(){this.shouldAnimate=!0,this.subscribers=[],this.timer=null,this.activeSubscriptions=0}bypassAnimation(){this.shouldAnimate=!1}resumeAnimation(){this.shouldAnimate=!0}loop=()=>{this.subscribers.forEach((e=>{e.callback(kt()-e.startTime,e.duration)}))};start(){this.timer||(this.timer=Pt(this.loop))}stop(){this.timer&&(this.timer.stop(),this.timer=null)}subscribe(e,t){const n=this.subscribers.push({startTime:kt(),callback:e,duration:this.shouldAnimate?t:0});return this.activeSubscriptions++,this.start(),n}unsubscribe(e){null!==e&&this.subscribers[e-1]&&(delete this.subscribers[e-1],this.activeSubscriptions--),0===this.activeSubscriptions&&this.stop()}}const Gt=w().createContext({transitionTimer:new Ft,animationTimer:new Ft});Gt.displayName="TimerContext";const jt=Gt,Ht=1e3,Ut=e=>{let{duration:t=Ht,easing:n="quadInOut",delay:r=0,data:o,children:i,onEnd:s}=e;const[l,d]=w().useState({data:Array.isArray(o)?o[0]:o,animationInfo:{progress:0,animating:!1}}),u=w().useContext(jt).animationTimer,c=w().useRef(Array.isArray(o)?o.slice(1):[]),f=w().useRef(null),A=w().useRef(void 0),p=a[(g=n,`ease${g.charAt(0).toUpperCase()+g.slice(1)}`)];var g;w().useEffect((()=>(c.current.length&&m(),()=>{A.current?u.unsubscribe(A.current):u.stop()})),[]),w().useEffect((()=>{f.current&&l.animationInfo&&l.animationInfo.progress<1?d({data:f.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}):(u.unsubscribe(A.current),c.current=Array.isArray(o)?o:[o],m())}),[o]);const m=()=>{if(c.current.length){const a=c.current[0];f.current=(e=l.data)!==(n=a)&&mt(e)&&mt(n)?"function"==typeof e||"function"==typeof n?bt(e,n):ye()(e)||ye()(n)?yt(e,n):"string"==typeof e||"string"==typeof n?function(e,t){const n=e=>"string"==typeof e?e.replace(/,/g,""):e;return gt(n(e),n(t))}(e,n):gt(e,n):ht(e,n),r?setTimeout((()=>{A.current=u.subscribe(h,t)}),r):A.current=u.subscribe(h,t)}else s&&s();var e,n},h=e=>{if(!f.current)return;const n=t?e/t:1;if(n>=1)return d({data:f.current(1),animationInfo:{progress:1,animating:!1,terminating:!0}}),A.current&&u.unsubscribe(A.current),c.current.shift(),void m();d({data:f.current(p(n)),animationInfo:{progress:n,animating:n<1}})};return i(l.data,l.animationInfo)};var Yt=n(97200),zt=n.n(Yt);function Wt(){return Wt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Wt.apply(this,arguments)}const Vt=w().forwardRef(((e,t)=>w().createElement("svg",Wt({ref:t},e))));var $t=n(84684),qt=n.n($t),Qt=n(50583),Kt=n.n(Qt),Xt=n(44383),Zt=n.n(Xt);function Jt(e){return Object.entries(e).reduce(((e,t)=>(e[t[1]]=t[0],e)),{})}function en(e,t){void 0===t&&(t=[]);const n={};for(const a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function tn(e){const{_x:t,_x1:n,_x0:a,_voronoiX:r,_y:o,_y1:i,_y0:s,_voronoiY:l}=e,d={x:r??n??t,x0:a??t,y:l??i??o,y0:s??o};return qt()({},d,e)}function nn(e,t){const{scale:n,polar:a,horizontal:r}=e,o=tn(t),i=e.origin||{x:0,y:0},s=r?n.y(o.y):n.x(o.x),l=r?n.y(o.y0):n.x(o.x0),d=r?n.x(o.x):n.y(o.y),u=r?n.x(o.x0):n.y(o.y0);return{x:a?d*Math.cos(s)+i.x:s,x0:a?u*Math.cos(l)+i.x:l,y:a?-d*Math.sin(s)+i.y:d,y0:a?-u*Math.sin(l)+i.x:u}}function an(e){const t="number"==typeof e?e:0,n="object"==typeof e?e:{};return{top:n.top||t,bottom:n.bottom||t,left:n.left||t,right:n.right||t}}function rn(e){return"tooltip"===(e&&e.type&&e.type.role)}function on(e,t){const{theme:n={},labelComponent:a}=e,r=n[t]&&n[t].style||{};if(!rn(a))return r;const o=n.tooltip&&n.tooltip.style||{},i=qt()({},o,r.labels);return qt()({},{labels:i},r)}function sn(e,t){const n="100%",a="100%";if(!e)return qt()({parent:{height:a,width:n}},t);const{data:r,labels:o,parent:i}=e,s=t&&t.parent||{},l=t&&t.labels||{},d=t&&t.data||{};return{parent:qt()({},i,s,{width:n,height:a}),labels:qt()({},o,l),data:qt()({},r,d)}}function ln(e,t){return mn(e)?e(t):e}function dn(e,t){return t.disableInlineStyles?{}:e&&Object.keys(e).some((t=>mn(e[t])))?Object.keys(e).reduce(((n,a)=>(n[a]=ln(e[a],t),n)),{}):e}function un(e){return"number"==typeof e?e*(Math.PI/180):e}function cn(e){return"number"==typeof e?e/(Math.PI/180):e}function fn(e){const{width:t,height:n,padding:a}=e,{left:r,right:o,top:i,bottom:s}=a;return Math.min(t-r-o,n-i-s)/2}function An(e){const{width:t,height:n}=e,{top:a,bottom:r,left:o,right:i}=an(e.padding),s=Math.min(t-o-i,n-a-r)/2,l=t/2+o-i,d=n/2+a-r;return{x:l+s>t?s+o-i:l,y:d+s>n?s+a-r:d}}function pn(e,t){return e.range&&e.range[t]?e.range[t]:e.range&&Array.isArray(e.range)?e.range:e.polar?function(e){return"x"===e.axis?[un(e.startAngle||0),un(e.endAngle||360)]:[e.innerRadius||0,fn({height:e.height,width:e.width,padding:e.padding})]}({axis:t,innerRadius:e.innerRadius,startAngle:e.startAngle,endAngle:e.endAngle,height:e.height,width:e.width,padding:an(e.padding)}):"x"!==(n={axis:t,height:e.height,width:e.width,padding:an(e.padding)}).axis?[n.height-n.padding.bottom,n.padding.top]:[n.padding.left,n.width-n.padding.right];var n}function gn(e){return null==e}function mn(e){return"function"==typeof e}function hn(e){return mn(e)?e:null==e?e=>e:Kt()(e)}function bn(e,t,n){const a=en(e.theme&&e.theme[n]?e.theme[n]:{},["style"]),r=Bn(e),o=void 0===r?{}:{horizontal:r};return qt()(o,e,a,t)}function yn(e,t){return t?"x"===e?"y":"x":e}function vn(e,t){if(e)return Object.keys(e).reduce(((n,a)=>(n[a]=t(e[a]),n)),{})}function En(e,t,n){const a=t?e:0;let r=t||e;r||(r=0);const o=r-a,i=Math.abs(o),s=o/i||1,l=n||1,d=Math.max(Math.ceil(i/l),0);return Array.from(Array(d),((e,t)=>a+t*s*l))}function Cn(e,t,n,a,r){void 0===n&&(n={}),void 0===a&&(a=[]),void 0===r&&(r=(e,t)=>e.concat(t));const o=["data","domain","categories","polar","startAngle","endAngle","minDomain","maxDomain","horizontal"],i=(e,s,l)=>e.reduce(((e,a,d)=>{let u=e;const c=a.type&&a.type.role,f=a.props.name||`${c}-${s[d]}`;if(a.props&&a.props.children){const e=Object.assign({},a.props,Zt()(n,o)),t=a.type&&"stack"===a.type.role&&mn(a.type.getChildren)?a.type.getChildren(e):w().Children.toArray(a.props.children).map((t=>{const n=Object.assign({},t.props,Zt()(e,o));return w().cloneElement(t,n)})),s=t.map(((e,t)=>`${f}-${t}`)),l=i(t,s,a);u=r(u,l)}else{const e=t(a,f,l);e&&(u=r(u,e))}return u}),a),s=e.filter(x.isValidElement),l=s.map(((e,t)=>t));return i(s,l)}function Bn(e){if(void 0!==e.horizontal||!e.children)return e.horizontal;const t=e=>e.reduce(((e,n)=>{const a=n.props||{};return e||a.horizontal||!a.children?e||a.horizontal:t(w().Children.toArray(a.children))}),!1);return t(w().Children.toArray(e.children))}const Tn={startsWith:["data-","aria-"],exactMatch:[]};function Sn(e,t){if(null==e)throw new Error(t)}const xn=e=>{const t={...e};return Object.fromEntries(Object.entries(t).filter((e=>{let[t]=e;return(e=>!(!(e=>{let t=!1;return Tn.startsWith.forEach((n=>{new RegExp(`\\b(${n})(\\w|-)+`,"g").test(e)&&(t=!0)})),t})(e)&&!(e=>Tn.exactMatch.includes(e))(e)))(t)})).map((t=>{let[n,a]=t;return[n,ln(a,e)]})))},wn=(e,t)=>x.cloneElement(e,xn(t));function In(e){return t=>{e.forEach((e=>{mn(e)?e(t):null!=e&&(e.current=t)}))}}const Ln=w().createContext(void 0);Ln.displayName="PortalContext";const Dn=()=>w().useContext(Ln),kn=e=>{let{children:t}=e;const[n,a]=w().useState(new Map),r=w().useCallback(((e,t)=>{a((n=>{const a=new Map(n);return a.set(e,t),a}))}),[a]),o=w().useCallback((e=>{a((t=>{const n=new Map(t);return n.delete(e),n}))}),[a]),i=w().useMemo((()=>({addChild:r,removeChild:o,children:n})),[r,o,n]);return w().createElement(Ln.Provider,{value:i},t)},On=e=>{let{as:t,...n}=e;const a=Dn();if(!a)return null;const r=Array.from(a.children.values());return w().cloneElement(t,n,r)};function Nn(){return Nn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Nn.apply(this,arguments)}const Pn={className:"VictoryContainer",portalComponent:w().createElement(Vt,null),portalZIndex:99,responsive:!0,role:"img"};function Rn(e){const t={...Pn,...e},{title:n,desc:a,width:r,height:o,responsive:i}=t,s=(0,x.useRef)(null),l=(0,x.useRef)(zt()("victory-container-")),d=t.containerId??l.current,u=e=>`${d}-${e}`,c=xn(t),f=i?{width:"100%",height:"100%"}:{width:r,height:o},A=i?`0 0 ${r} ${o}`:void 0,p=i?t.preserveAspectRatio:void 0,g=[n&&u("title"),t["aria-labelledby"]].filter(Boolean).join(" ")||void 0,m=[a&&u("desc"),t["aria-describedby"]].filter(Boolean).join(" ")||void 0,h=u("title"),b=u("desc");return{...t,titleId:h,descId:b,dimensions:f,viewBox:A,preserveAspectRatio:p,ariaLabelledBy:g,ariaDescribedBy:m,userProps:c,localContainerRef:s}}const Mn=e=>{const{role:t,title:n,desc:a,children:r,className:o,portalZIndex:i,portalComponent:s,width:l,height:d,style:u,tabIndex:c,responsive:f,events:A,ouiaId:p,ouiaSafe:g,ouiaType:m,dimensions:h,ariaDescribedBy:b,ariaLabelledBy:y,viewBox:v,preserveAspectRatio:E,userProps:C,titleId:B,descId:T,containerRef:S,localContainerRef:x}=Rn(e);return w().useEffect((()=>{if(!A?.onWheel)return;const e=e=>e.preventDefault(),t=x?.current;return t?.addEventListener("wheel",e),()=>{t?.removeEventListener("wheel",e)}}),[]),w().createElement("div",{className:o,style:{...u,width:f?u?.width:h.width,height:f?u?.height:h.height,pointerEvents:u?.pointerEvents??"none",touchAction:u?.touchAction??"none",position:u?.position??"relative"},"data-ouia-component-id":p,"data-ouia-component-type":m,"data-ouia-safe":g,ref:In([x,S])},w().createElement(kn,null,w().createElement("svg",Nn({width:l,height:d,tabIndex:c,role:t,"aria-labelledby":y,"aria-describedby":b,viewBox:v,preserveAspectRatio:E,style:{...h,pointerEvents:"all"}},C,A),n?w().createElement("title",{id:B},n):null,a?w().createElement("desc",{id:T},a):null,r),w().createElement("div",{style:{...h,zIndex:i,position:"absolute",top:0,left:0}},w().createElement(On,{as:s,width:l,height:d,viewBox:v,preserveAspectRatio:E,style:{...h,overflow:"visible"}}))))};Mn.role="container";var _n=n(62193),Fn=n.n(_n);function Gn(e){}const jn={groupComponent:w().createElement("g",null)},Hn=e=>{const t={...jn,...e},[n]=(0,x.useState)(zt()()),a=Dn(),r=Array.isArray(t.children)?t.children[0]:t.children,{groupComponent:o}=t,i=r&&r.props||{},s=i.groupComponent?{groupComponent:o,standalone:!1}:{},l=qt()(s,i,en(t,["children","groupComponent"]),{key:i.key??n}),d=r&&w().cloneElement(r,l);return w().useEffect((()=>{a?.addChild(n,d)}),[t.children]),w().useEffect((()=>()=>a?.removeChild(n)),[]),a?null:d};function Un(){return Un=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Un.apply(this,arguments)}Hn.role="portal";const Yn=(0,x.forwardRef)(((e,t)=>{const{desc:n,id:a,tabIndex:r,origin:o,...i}=e,s={vectorEffect:"non-scaling-stroke",id:ln(a,e)?.toString(),tabIndex:ln(r,e),...i};return n?w().createElement("rect",Un({},s,{ref:t}),w().createElement("desc",null,n)):w().createElement("rect",Un({},s,{ref:t}))})),zn=e=>{const{children:t,desc:n,id:a,origin:r,tabIndex:o,title:i,...s}=e,l={id:ln(a,e)?.toString(),tabIndex:ln(o,e),...s};return w().createElement("text",l,i&&w().createElement("title",null,i),n&&w().createElement("desc",null,n),t)},Wn=e=>{const{desc:t,id:n,tabIndex:a,origin:r,...o}=e,i={id:ln(n,e)?.toString(),tabIndex:ln(a,e),...o};return w().createElement("tspan",i)};function Vn(e){const{labelComponent:t,labelPlacement:n,polar:a}=e,r=a?"perpendicular":"vertical";return n||t.props&&t.props.labelPlacement||r}function $n(e,t,n){return void 0===t&&(t={}),void 0!==t.label?t.label:Array.isArray(e.labels)?e.labels[n]:e.labels}function qn(e,t){const n=Vn(e);return"perpendicular"===n||"vertical"===n&&(90===t||270===t)?"middle":t<=90||t>270?"start":"end"}function Qn(e,t){const n=Vn(e),a=function(e){return e<45||e>315?"right":e>=45&&e<=135?"top":e>135&&e<225?"left":"bottom"}(t);return"parallel"===n||"left"===a||"right"===a?"middle":"top"===a?"end":"start"}function Kn(e,t){const{labelPlacement:n,datum:a}=e;if(!n||"vertical"===n)return 0;const r=void 0!==t?t%360:Xn(e,a);let o=0;return 0===r||180===r?o=90:r>0&&r<180?o=90-r:r>180&&r<360&&(o=270-r),o+(r>90&&r<180||r>270?1:-1)*("perpendicular"===n?0:90)}function Xn(e,t){const{x:n}=tn(t);return cn(e.scale.x(n))%360}function Zn(e,t){const{scale:n,data:a,style:r,horizontal:o,polar:i,width:s,height:l,theme:d,labelComponent:u,disableInlineStyles:c}=e,f=a[t],A=Xn(e,f),p=i?qn(e,A):function(e,t){void 0===t&&(t={});const{style:n,horizontal:a}=e,r=t._y>=0?1:-1,o=n&&n.labels||{};return t.verticalAnchor||o.verticalAnchor?t.verticalAnchor||o.verticalAnchor:a?r>=0?"start":"end":"middle"}(e,f),g=i?Qn(e,A):function(e,t){void 0===t&&(t={});const n=t._y>=0?1:-1,a=e.style&&e.style.labels||{};return t.verticalAnchor||a.verticalAnchor?t.verticalAnchor||a.verticalAnchor:e.horizontal?"middle":n>=0?"end":"start"}(e,f),m=function(e,t){void 0===t&&(t={});const n=e.style&&e.style.labels||{};return void 0===t.angle?n.angle:t.angle}(e,f),h=$n(e,f,t),b=Vn(e),{x:y,y:v}=function(e,t){const{polar:n}=e,{x:a,y:r}=nn(e,t);if(!n)return{x:a,y:r};const o=function(e,t){const{style:n}=e,a=Xn(e,t),r=ln((n.labels||{}).padding,e)||0,o=un(a);return{x:r*Math.cos(o),y:-r*Math.sin(o)}}(e,t);return{x:a+o.x,y:r+o.y}}(e,f),{dx:E,dy:C}=function(e,t){if(e.polar)return{};const n=function(e,t){void 0===t&&(t={});const{horizontal:n,style:a}=e,r=ln((a.labels||{}).padding,e)||0,o=t._y<0?-1:1;return{x:n?o*r:0,y:n?0:-1*o*r}}(e,t);return{dx:n.x,dy:n.y}}(e,f),B={angle:m,data:a,datum:f,disableInlineStyles:c,horizontal:o,index:t,polar:i,scale:n,labelPlacement:b,text:h,textAnchor:p,verticalAnchor:g,x:y,y:v,dx:E,dy:C,width:s,height:l,style:r.labels};if(!rn(u))return B;const T=d&&d.tooltip||{};return qt()({},B,en(T,["style"]))}const Jn=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],ea="#252525",ta="#969696",na={width:450,height:300,padding:50,colorScale:Jn},aa={fontFamily:"'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:ea,stroke:"transparent"},ra=Object.assign({textAnchor:"middle"},aa),oa={palette:{colors:{blue:"#4F7DA1",pink:"#E2A37F",teal:"#00796B",purple:"#DF948A",green:"#8BC34A",orange:"#F4511E",cyan:"#006064",red:"#DF5A49",yellow:"#FFF59D"},grayscale:Jn,qualitative:["#334D5C","#45B29D","#EFC94C","#E27A3F","#DF5A49","#4F7DA1","#55DBC1","#EFDA97","#E2A37F","#DF948A"],heatmap:["#428517","#77D200","#D6D305","#EC8E19","#C92B05"],warm:["#940031","#C43343","#DC5429","#FF821D","#FFAF55"],cool:["#2746B9","#0B69D4","#2794DB","#31BB76","#60E83B"],red:["#FCAE91","#FB6A4A","#DE2D26","#A50F15","#750B0E"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"]},area:Object.assign({style:{data:{fill:ea},labels:aa}},na),axis:Object.assign({style:{axis:{fill:"transparent",stroke:ea,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:Object.assign({},ra,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:aa}},na),bar:Object.assign({style:{data:{fill:ea,padding:8,strokeWidth:0},labels:aa}},na),boxplot:Object.assign({style:{max:{padding:8,stroke:ea,strokeWidth:1},maxLabels:Object.assign({},aa,{padding:3}),median:{padding:8,stroke:ea,strokeWidth:1},medianLabels:Object.assign({},aa,{padding:3}),min:{padding:8,stroke:ea,strokeWidth:1},minLabels:Object.assign({},aa,{padding:3}),q1:{padding:8,fill:ta},q1Labels:Object.assign({},aa,{padding:3}),q3:{padding:8,fill:ta},q3Labels:Object.assign({},aa,{padding:3})},boxWidth:20},na),candlestick:Object.assign({style:{data:{stroke:ea,strokeWidth:1},labels:Object.assign({},aa,{padding:5})},candleColors:{positive:"#ffffff",negative:ea}},na),chart:na,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",stroke:ea,strokeWidth:2},labels:aa}},na),group:Object.assign({colorScale:Jn},na),histogram:Object.assign({style:{data:{fill:ta,stroke:ea,strokeWidth:2},labels:aa}},na),legend:{colorScale:Jn,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:aa,title:Object.assign({},aa,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",stroke:ea,strokeWidth:2},labels:aa}},na),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:Object.assign({},aa,{padding:20})},colorScale:Jn,width:400,height:400,padding:50},scatter:Object.assign({style:{data:{fill:ea,stroke:"transparent",strokeWidth:0},labels:aa}},na),stack:Object.assign({colorScale:Jn},na),tooltip:{style:Object.assign({},aa,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:ea,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},aa,{padding:5,pointerEvents:"none"}),flyout:{stroke:ea,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},na)},ia="#FFF59D",sa="#F4511E",la="#8BC34A",da="#00796B",ua="#006064",ca=[sa,ia,"#DCE775",la,da,ua],fa="#ECEFF1",Aa="#90A4AE",pa="#455A64",ga="#212121",ma={blue:"#4F7DA1",pink:"#E2A37F",teal:da,purple:"#DF948A",green:la,orange:sa,cyan:ua,red:"#DF5A49",yellow:ia},ha=[fa,Aa,pa,ga],ba={width:350,height:350,padding:50},ya={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:pa,stroke:"transparent",strokeWidth:0},va=Object.assign({textAnchor:"middle"},ya),Ea="round",Ca="round",Ba={palette:{colors:ma,grayscale:ha,qualitative:["#334D5C","#45B29D","#EFC94C","#E27A3F","#DF5A49","#4F7DA1","#55DBC1","#EFDA97","#E2A37F","#DF948A"],heatmap:["#428517","#77D200","#D6D305","#EC8E19","#C92B05"],warm:["#940031","#C43343","#DC5429","#FF821D","#FFAF55"],cool:["#2746B9","#0B69D4","#2794DB","#31BB76","#60E83B"],red:["#FCAE91","#FB6A4A","#DE2D26","#A50F15","#750B0E"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"]},area:Object.assign({style:{data:{fill:ga},labels:ya}},ba),axis:Object.assign({style:{axis:{fill:"transparent",stroke:Aa,strokeWidth:2,strokeLinecap:Ea,strokeLinejoin:Ca},axisLabel:Object.assign({},va,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:fa,strokeDasharray:"10, 5",strokeLinecap:Ea,strokeLinejoin:Ca,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:Aa,strokeWidth:1,strokeLinecap:Ea,strokeLinejoin:Ca},tickLabels:Object.assign({},ya,{fill:pa})}},ba),polarDependentAxis:Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:Object.assign({style:{data:{fill:pa,padding:8,strokeWidth:0},labels:ya}},ba),boxplot:Object.assign({style:{max:{padding:8,stroke:pa,strokeWidth:1},maxLabels:Object.assign({},ya,{padding:3}),median:{padding:8,stroke:pa,strokeWidth:1},medianLabels:Object.assign({},ya,{padding:3}),min:{padding:8,stroke:pa,strokeWidth:1},minLabels:Object.assign({},ya,{padding:3}),q1:{padding:8,fill:pa},q1Labels:Object.assign({},ya,{padding:3}),q3:{padding:8,fill:pa},q3Labels:Object.assign({},ya,{padding:3})},boxWidth:20},ba),candlestick:Object.assign({style:{data:{stroke:pa},labels:Object.assign({},ya,{padding:5})},candleColors:{positive:"#ffffff",negative:pa}},ba),chart:ba,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:pa,strokeWidth:2},labels:ya}},ba),group:Object.assign({colorScale:ca},ba),histogram:Object.assign({style:{data:{fill:pa,stroke:ga,strokeWidth:2},labels:ya}},ba),legend:{colorScale:ca,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:ya,title:Object.assign({},ya,{padding:5})}},line:Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:pa,strokeWidth:2},labels:ya}},ba),pie:Object.assign({colorScale:ca,style:{data:{padding:8,stroke:fa,strokeWidth:1},labels:Object.assign({},ya,{padding:20})}},ba),scatter:Object.assign({style:{data:{fill:pa,opacity:1,stroke:"transparent",strokeWidth:0},labels:ya}},ba),stack:Object.assign({colorScale:ca},ba),tooltip:{style:Object.assign({},ya,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:ga,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},flyoutPadding:5,cornerRadius:5,pointerLength:10},voronoi:Object.assign({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:Object.assign({},ya,{padding:5,pointerEvents:"none"}),flyout:{stroke:ga,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},ba)},Ta="#FFFFFF",Sa="#F2F2F2",xa="#E0E0E0",wa="#D1D1D1",Ia="#757575",La="#424242",Da="#292929",ka="#FCB400",Oa="#FF6F2C",Na={100:"#FFDCE5",300:"#FF9EB7",500:"#F82B60",700:"#D31A3D",900:"#BA1E45"},Pa="#8B46FF",Ra={100:"#CFDFFF",300:"#9CC7FF",500:"#2D7FF9",700:"#0056B3",900:"#2750AE"},Ma="#18BFFF",_a="#20D9D2",Fa={100:"#D1F7C4",300:"#93E088",500:"#20C933",700:"#1B9B2A",900:"#338A17"},Ga={blue:Ra[500],cyan:Ma,green:Fa[500],yellow:ka,orange:Oa,red:Na[500],purple:Pa,teal:_a},ja=Object.values(Ga),Ha=[Sa,xa,Ia,La,Da],Ua=["#FFD66E",ka,Oa,"#D74D26",Na[500]],Ya=[Pa,Ra[500],Ma,_a,Fa[500]],za=[Fa[900],Fa[500],ka,Oa,Na[500]],Wa=Object.values(Na),Va=Object.values(Fa),$a=Object.values(Ra),qa=Ra[500],Qa={width:450,height:300,padding:60,colorScale:ja},Ka={fontFamily:"'Inter', 'Helvetica Neue', 'Seravek', 'Helvetica', sans-serif",fontSize:12,fontWeight:300,letterSpacing:"normal",padding:8,fill:Da,stroke:"transparent"},Xa=Object.assign({textAnchor:"middle"},Ka),Za="10, 5",Ja="round",er="round",tr={grayscale:oa,material:Ba,clean:{palette:{colors:Ga,grayscale:Ha,qualitative:ja,heatmap:za,warm:Ua,cool:Ya,red:Wa,green:Va,blue:$a},area:Object.assign({style:{data:{fill:qa,strokeWidth:2,fillOpacity:.5},labels:Ka}},Qa),axis:Object.assign({style:{axis:{fill:"transparent",stroke:Ia,strokeWidth:1,strokeLinecap:Ja,strokeLinejoin:er},axisLabel:Object.assign({},Xa,{padding:35,stroke:"transparent"}),grid:{fill:"none",stroke:"none",painterEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:"transparent"},tickLabels:Ka}},Qa),polarAxis:Object.assign({style:{axis:{stroke:Ia},grid:{stroke:wa,strokeDasharray:Za,strokeLinecap:Ja,strokeLinejoin:er,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:wa,strokeWidth:1,strokeLinecap:Ja,strokeLinejoin:er},tickLabels:Ka}}),polarDependentAxis:Object.assign({style:{axis:{stroke:Ia},grid:{stroke:wa,strokeDasharray:Za,strokeLinecap:Ja,strokeLinejoin:er,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:xa,strokeWidth:1,strokeLinecap:Ja,strokeLinejoin:er},tickLabels:Ka}}),bar:Object.assign({style:{data:{fill:qa,padding:8,strokeWidth:1,fillOpacity:.5},labels:Ka},cornerRadius:{top:1}},Qa),boxplot:Object.assign({style:{max:{padding:8,stroke:wa,strokeWidth:2},maxLabels:Object.assign({},Ka,{padding:3}),median:{padding:8,stroke:Ta,strokeWidth:2},medianLabels:Object.assign({},Ka,{padding:3}),min:{padding:8,stroke:wa,strokeWidth:2},minLabels:Object.assign({},Ka,{padding:3}),q1:{padding:8,fill:ja[0],rx:1,strokeWidth:2},q1Labels:Object.assign({},Ka,{padding:3}),q3:{padding:8,fill:ja[1],rx:1},q3Labels:Object.assign({},Ka,{padding:3})},boxWidth:20},Qa),candlestick:Object.assign({style:{data:{stroke:xa,strokeWidth:0,rx:1},labels:Object.assign({},Ka,{padding:5})},candleColors:{positive:Fa[500],negative:Na[500]},wickStrokeWidth:2},Qa),chart:Qa,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:La,strokeWidth:2,strokeLinecap:Ja},labels:Ka}},Qa),group:Object.assign({colorScale:ja},Qa),histogram:Object.assign({style:{data:{fill:Ma,fillOpacity:.5},labels:Ka},binSpacing:4,cornerRadius:{top:1}},Qa),label:Ka,legend:{colorScale:ja,gutter:24,borderPadding:10,orientation:"horizontal",titleOrientation:"top",centerTitle:!0,style:{data:{type:"circle"},labels:{...Ka,fontSize:12},title:Object.assign({},Ka,{padding:8,fontSize:16}),border:{stroke:"#E8E8E8",strokeWidth:2,padding:16}}},line:Object.assign({style:{data:{fill:"transparent",opacity:1,stroke:qa,strokeWidth:2,strokeLinecap:Ja,strokeLinejoin:er},labels:Ka}},Qa),pie:Object.assign({style:{parent:{backgroundColor:Ta},data:{padding:8,stroke:Ta,strokeWidth:1},labels:{...Ka,padding:20,fill:"#5C5C5C",fontSize:10}},colorScale:ja,cornerRadius:1},Qa),scatter:Object.assign({style:{data:{fill:qa,opacity:1,stroke:"transparent",strokeWidth:0},labels:{...Ka,padding:20}}},Qa),stack:Object.assign({colorScale:ja},Qa),tooltip:{style:Object.assign({},Ka,{padding:0,pointerEvents:"none"}),flyoutStyle:{stroke:xa,strokeWidth:2,fill:Ta,pointerEvents:"none"},flyoutPadding:{top:8,bottom:8,left:16,right:16},cornerRadius:1,pointerLength:4},voronoi:Object.assign({style:{data:{fill:Ra[100],stroke:qa,strokeWidth:2},labels:Object.assign({},Ka,{padding:5,pointerEvents:"none"}),flyout:{stroke:Da,strokeWidth:1,fill:Sa,pointerEvents:"none"},padding:{left:2,bottom:2}}},Qa)}},nr=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if(n.length>0)return n.reduce(((e,t)=>[e,nr(t)].join(" ")),nr(e)).trim();if(null==e||"string"==typeof e)return e;const r=[];for(const t in e)if(e.hasOwnProperty(t)){const n=e[t];r.push(`${t}(${n})`)}return r.join(" ").trim()};function ar(e,t){void 0===t&&(t=tr.material);const{palette:{grayscale:n=["#cccccc","#969696","#636363","#252525"],qualitative:a=[],heatmap:r=[],warm:o=[],cool:i=[],red:s=[],blue:l=[],green:d=[]}={}}=t,u={grayscale:n,qualitative:a,heatmap:r,warm:o,cool:i,red:s,blue:l,green:d};return e&&u[e]?.length?u[e]:u.grayscale}var rr=n(50104),or=n.n(rr);const ir={"American Typewriter":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.4203125,.3296875,.6,.6375,.8015625,.8203125,.1875,.45625,.45625,.6375,.5,.2734375,.309375,.2734375,.4390625,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.6375,.2734375,.2734375,.5,.5,.5,.6,.6921875,.7640625,.6921875,.6375,.728125,.6734375,.6203125,.7109375,.784375,.3828125,.6421875,.7859375,.6375,.9484375,.7640625,.65625,.6375,.65625,.7296875,.6203125,.6375,.7109375,.740625,.940625,.784375,.7578125,.6203125,.4375,.5,.4375,.5,.5,.4921875,.5734375,.5890625,.5109375,.6,.528125,.43125,.5578125,.6375,.3109375,.40625,.6234375,.309375,.928125,.6375,.546875,.6,.58125,.4921875,.4921875,.4,.6203125,.625,.825,.6375,.640625,.528125,.5,.5,.5,.6671875],avg:.5793421052631578},Arial:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.278125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.584375,.584375,.584375,.55625,1.015625,.6703125,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.278125,.278125,.4703125,.584375,.334375,.55625,.55625,.5,.55625,.55625,.3125,.55625,.55625,.2234375,.2703125,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.346875,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.334375,.2609375,.334375,.584375],avg:.528733552631579},"Arial Black":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.33125,.334375,.5,.6609375,.6671875,1,.890625,.278125,.390625,.390625,.55625,.6609375,.334375,.334375,.334375,.28125,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.334375,.334375,.6609375,.6609375,.6609375,.6109375,.7453125,.78125,.778125,.778125,.778125,.7234375,.6671875,.834375,.834375,.390625,.6671875,.834375,.6671875,.9453125,.834375,.834375,.7234375,.834375,.78125,.7234375,.7234375,.834375,.7796875,1.003125,.78125,.78125,.7234375,.390625,.28125,.390625,.6609375,.5125,.334375,.6671875,.6671875,.6671875,.6671875,.6671875,.41875,.6671875,.6671875,.334375,.384375,.6671875,.334375,1,.6671875,.6671875,.6671875,.6671875,.4703125,.6109375,.4453125,.6671875,.6140625,.946875,.6671875,.615625,.55625,.390625,.278125,.390625,.6609375],avg:.6213157894736842},Baskerville:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.25,.40625,.6671875,.490625,.875,.7015625,.178125,.2453125,.246875,.4171875,.6671875,.25,.3125,.25,.521875,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.6671875,.6671875,.6671875,.396875,.9171875,.684375,.615625,.71875,.7609375,.625,.553125,.771875,.803125,.3546875,.515625,.78125,.6046875,.928125,.75,.8234375,.5625,.96875,.7296875,.5421875,.6984375,.771875,.7296875,.9484375,.771875,.678125,.6359375,.3640625,.521875,.3640625,.46875,.5125,.334375,.46875,.521875,.428125,.521875,.4375,.3890625,.4765625,.53125,.25,.359375,.4640625,.240625,.803125,.53125,.5,.521875,.521875,.365625,.334375,.2921875,.521875,.4640625,.678125,.4796875,.465625,.428125,.4796875,.5109375,.4796875,.6671875],avg:.5323519736842108},Courier:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},"Courier New":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6015296052631579},cursive:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1921875,.24375,.40625,.5671875,.3984375,.721875,.909375,.2328125,.434375,.365625,.4734375,.5578125,.19375,.3484375,.19375,.7734375,.503125,.4171875,.5453125,.45,.6046875,.4703125,.5984375,.55625,.503125,.5546875,.20625,.2,.5625,.5546875,.546875,.403125,.70625,.734375,.7078125,.64375,.85,.753125,.75,.6484375,1.0765625,.44375,.5359375,.8359375,.653125,1.0109375,1.1515625,.6796875,.6984375,1.0625,.8234375,.5125,.9234375,.8546875,.70625,.9109375,.7421875,.715625,.6015625,.4640625,.3359375,.4109375,.5421875,.5421875,.4328125,.5125,.5,.3859375,.7375,.359375,.75625,.540625,.5328125,.3203125,.5296875,.5015625,.484375,.7890625,.5640625,.4203125,.703125,.471875,.4734375,.35,.4125,.5640625,.471875,.6484375,.5296875,.575,.4140625,.415625,.20625,.3796875,.5421875],avg:.5604440789473684},fantasy:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.2625,.3265625,.6109375,.534375,.7625,.7828125,.2,.4359375,.4359375,.3765625,.5109375,.2796875,.4609375,.2796875,.5296875,.6640625,.253125,.521875,.4765625,.6640625,.490625,.528125,.5546875,.496875,.5421875,.2796875,.2796875,.5625,.4609375,.5625,.4828125,.609375,.740625,.7234375,.740625,.8265625,.7234375,.6171875,.7359375,.765625,.240625,.5453125,.715625,.6078125,.8640625,.653125,.9125,.6484375,.946875,.6921875,.653125,.6953125,.8015625,.58125,.784375,.671875,.6265625,.690625,.4359375,.5296875,.4359375,.53125,.5,.2875,.5375,.603125,.4984375,.60625,.53125,.434375,.6421875,.56875,.209375,.4671875,.5484375,.2203125,.709375,.55,.5984375,.6140625,.5765625,.40625,.4734375,.3734375,.559375,.4421875,.6421875,.4890625,.578125,.4484375,.2546875,.2203125,.2546875,.55],avg:.536496710526316},Geneva:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3328125,.3046875,.5,.6671875,.6671875,.90625,.728125,.3046875,.446875,.446875,.5078125,.6671875,.3046875,.3796875,.3046875,.5390625,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.6671875,.3046875,.3046875,.6671875,.6671875,.6671875,.56875,.871875,.728125,.6375,.6515625,.7015625,.5765625,.5546875,.675,.690625,.2421875,.4921875,.6640625,.584375,.7890625,.709375,.7359375,.584375,.78125,.60625,.60625,.640625,.6671875,.728125,.946875,.6109375,.6109375,.5765625,.446875,.5390625,.446875,.6671875,.6671875,.5921875,.5546875,.6109375,.546875,.603125,.5765625,.390625,.6109375,.584375,.2359375,.334375,.5390625,.2359375,.8953125,.584375,.60625,.603125,.603125,.3875,.509375,.44375,.584375,.565625,.78125,.53125,.571875,.5546875,.4515625,.246875,.4515625,.6671875],avg:.5762664473684211},Georgia:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2421875,.33125,.4125,.64375,.6109375,.81875,.7109375,.215625,.375,.375,.4734375,.64375,.2703125,.375,.2703125,.46875,.6140625,.4296875,.559375,.553125,.565625,.5296875,.5671875,.503125,.596875,.5671875,.3125,.3125,.64375,.64375,.64375,.4796875,.9296875,.715625,.6546875,.6421875,.75,.6546875,.6,.7265625,.815625,.390625,.51875,.7203125,.6046875,.928125,.7671875,.7453125,.6109375,.7453125,.7234375,.5625,.61875,.7578125,.70625,.99375,.7125,.6640625,.6015625,.375,.46875,.375,.64375,.65,.5,.5046875,.56875,.4546875,.575,.484375,.39375,.509375,.5828125,.29375,.3671875,.546875,.2875,.88125,.5921875,.5390625,.571875,.5640625,.4109375,.4328125,.3453125,.5765625,.5203125,.75625,.50625,.5171875,.4453125,.43125,.375,.43125,.64375],avg:.5551809210526316},"Gill Sans":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2765625,.271875,.3546875,.584375,.5421875,.6765625,.625,.1890625,.3234375,.3234375,.4171875,.584375,.2203125,.3234375,.2203125,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.2203125,.2296875,.584375,.584375,.584375,.334375,1.0109375,.6671875,.5640625,.709375,.75,.5,.4703125,.740625,.7296875,.25,.3125,.65625,.490625,.78125,.78125,.8234375,.5109375,.8234375,.6046875,.459375,.6046875,.709375,.6046875,1.0421875,.709375,.6046875,.646875,.334375,.28125,.334375,.4703125,.5828125,.334375,.428125,.5,.4390625,.5109375,.4796875,.296875,.428125,.5,.2203125,.2265625,.5,.2203125,.771875,.5,.553125,.5,.5,.3984375,.3859375,.334375,.5,.4390625,.7203125,.5,.4390625,.4171875,.334375,.2609375,.334375,.584375],avg:.4933717105263159},Helvetica:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2796875,.2765625,.3546875,.5546875,.5546875,.8890625,.665625,.190625,.3328125,.3328125,.3890625,.5828125,.2765625,.3328125,.2765625,.3015625,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.5546875,.2765625,.2765625,.584375,.5828125,.584375,.5546875,1.0140625,.665625,.665625,.721875,.721875,.665625,.609375,.7765625,.721875,.2765625,.5,.665625,.5546875,.8328125,.721875,.7765625,.665625,.7765625,.721875,.665625,.609375,.721875,.665625,.94375,.665625,.665625,.609375,.2765625,.3546875,.2765625,.4765625,.5546875,.3328125,.5546875,.5546875,.5,.5546875,.5546875,.2765625,.5546875,.5546875,.221875,.240625,.5,.221875,.8328125,.5546875,.5546875,.5546875,.5546875,.3328125,.5,.2765625,.5546875,.5,.721875,.5,.5,.5,.3546875,.259375,.353125,.5890625],avg:.5279276315789471},"Helvetica Neue":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.259375,.4265625,.55625,.55625,1,.6453125,.278125,.2703125,.26875,.353125,.6,.278125,.3890625,.278125,.36875,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.6,.6,.6,.55625,.8,.6625,.6859375,.7234375,.7046875,.6125,.575,.759375,.7234375,.259375,.5203125,.6703125,.55625,.871875,.7234375,.7609375,.6484375,.7609375,.6859375,.6484375,.575,.7234375,.6140625,.9265625,.6125,.6484375,.6125,.259375,.36875,.259375,.6,.5,.25625,.5375,.59375,.5375,.59375,.5375,.2984375,.575,.55625,.2234375,.2375,.5203125,.2234375,.853125,.55625,.575,.59375,.59375,.334375,.5,.315625,.55625,.5,.759375,.51875,.5,.48125,.334375,.2234375,.334375,.6],avg:.5279440789473684},"Hoefler Text":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2359375,.2234375,.3921875,.7125,.49375,.8859375,.771875,.2125,.3078125,.309375,.375,.4234375,.234375,.3125,.234375,.3,.5828125,.365625,.434375,.3921875,.5234375,.3984375,.5125,.4328125,.46875,.5125,.234375,.234375,.515625,.4234375,.515625,.340625,.7609375,.7359375,.6359375,.721875,.8125,.6375,.5875,.8078125,.853125,.4296875,.503125,.78125,.609375,.9609375,.8515625,.8140625,.6125,.8140625,.71875,.49375,.7125,.76875,.771875,1.125,.7765625,.7734375,.65625,.321875,.3078125,.321875,.3546875,.5,.3375,.446875,.5359375,.45,.5296875,.4546875,.425,.4921875,.54375,.2671875,.240625,.5390625,.25,.815625,.5375,.5234375,.5390625,.5421875,.365625,.36875,.35625,.5171875,.5015625,.75,.5,.509375,.44375,.2421875,.14375,.2421875,.35],avg:.5116447368421051},Inter:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2796875,.2890625,.4671875,.634375,.6421875,.9828125,.6453125,.3,.365625,.365625,.5015625,.6625,.2890625,.4609375,.2890625,.3609375,.63125,.4078125,.6109375,.61875,.646875,.59375,.6203125,.5671875,.61875,.6203125,.2890625,.303125,.6625,.6625,.6625,.5125,.9671875,.690625,.6546875,.73125,.721875,.6015625,.590625,.746875,.74375,.26875,.571875,.671875,.565625,.9046875,.7546875,.765625,.6390625,.765625,.64375,.6421875,.646875,.7453125,.690625,.9859375,.6828125,.6796875,.6296875,.365625,.3609375,.365625,.471875,.45625,.3234375,.5625,.6125,.571875,.6125,.584375,.3703125,.6140625,.5921875,.2421875,.2548828125,.55,.2421875,.8765625,.5921875,.6,.6125,.6125,.3765625,.528125,.328125,.5921875,.5625,.81875,.546875,.5625,.553125,.4265625,.3328125,.4265625,.6625],avg:.5624362664473683},Montserrat:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2625,.2609375,.3734375,.696875,.615625,.8296875,.6703125,.203125,.3296875,.3296875,.3875,.575,.2125,.3828125,.2125,.3953125,.6625,.3625,.56875,.5640625,.6625,.5671875,.609375,.5890625,.6390625,.609375,.2125,.2125,.575,.575,.575,.5671875,1.034375,.7171875,.7546875,.7203125,.8265625,.6703125,.634375,.7734375,.8140625,.303125,.5078125,.7125,.5890625,.95625,.8140625,.8390625,.71875,.8390625,.7234375,.615625,.575,.7921875,.6984375,1.1125,.65625,.6359375,.6515625,.31875,.396875,.31875,.5765625,.5,.6,.590625,.678125,.5640625,.678125,.6046875,.375,.6875,.678125,.2703125,.365625,.6015625,.2703125,1.0625,.678125,.628125,.678125,.678125,.4015625,.4890625,.40625,.6734375,.5421875,.8796875,.534375,.5671875,.5125,.334375,.2953125,.334375,.575],avg:.571792763157895},monospace:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.5984375,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6078125,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.61875,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.615625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6140625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625,.6015625],avg:.6020559210526316},Overpass:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2296875,.2765625,.4203125,.68125,.584375,.8515625,.7015625,.2203125,.3453125,.3453125,.53125,.63125,.2234375,.3953125,.2234375,.509375,.65,.4046875,.6171875,.60625,.6484375,.60625,.6015625,.5375,.615625,.6015625,.2234375,.2234375,.63125,.63125,.63125,.5015625,.8203125,.696875,.6671875,.65,.6859375,.6015625,.559375,.690625,.7078125,.2953125,.565625,.678125,.58125,.8046875,.7109375,.740625,.6421875,.740625,.6765625,.6046875,.590625,.696875,.6640625,.853125,.65,.6671875,.6625,.3734375,.509375,.3734375,.63125,.5125,.4,.5328125,.5625,.51875,.5625,.546875,.3359375,.5625,.565625,.25625,.3203125,.55,.265625,.85,.565625,.5671875,.5625,.5625,.4046875,.4765625,.3796875,.565625,.521875,.7265625,.53125,.5390625,.5125,.3671875,.275,.3671875,.63125],avg:.5430756578947369},Palatino:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.25,.278125,.371875,.60625,.5,.840625,.778125,.209375,.334375,.334375,.390625,.60625,.2578125,.334375,.25,.60625,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.25,.25,.60625,.60625,.60625,.4453125,.7484375,.778125,.6109375,.709375,.775,.6109375,.55625,.7640625,.8328125,.3375,.346875,.7265625,.6109375,.946875,.83125,.7875,.6046875,.7875,.66875,.525,.6140625,.778125,.7234375,1,.6671875,.6671875,.6671875,.334375,.60625,.334375,.60625,.5,.334375,.5,.565625,.4453125,.6109375,.4796875,.340625,.55625,.5828125,.2921875,.2671875,.5640625,.2921875,.8828125,.5828125,.546875,.6015625,.5609375,.3953125,.425,.3265625,.603125,.565625,.834375,.5171875,.55625,.5,.334375,.60625,.334375,.60625],avg:.5408552631578947},RedHatText:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2328125,.2203125,.35625,.6890625,.55,.7390625,.6703125,.2140625,.4015625,.4015625,.4546875,.53125,.2203125,.45625,.2203125,.515625,.6609375,.3078125,.5484375,.5875,.61875,.5703125,.6203125,.559375,.6140625,.6203125,.2203125,.2234375,.465625,.534375,.465625,.5125,.7671875,.6609375,.6703125,.7265625,.728125,.6203125,.6109375,.8,.73125,.253125,.6,.6125,.6078125,.8625,.7390625,.8109375,.6546875,.809375,.6484375,.6234375,.6171875,.7125,.6609375,.8984375,.6546875,.646875,.60625,.3625,.5203125,.3625,.540625,.4609375,.5234375,.5265625,.584375,.509375,.5828125,.5578125,.3703125,.5828125,.553125,.2234375,.24375,.4890625,.2234375,.8453125,.553125,.58125,.584375,.5828125,.353125,.453125,.378125,.553125,.5015625,.6984375,.4875,.4984375,.459375,.3953125,.2921875,.3953125,.58125],avg:.5341940789473685},"sans-serif":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.278125,.278125,.35625,.55625,.55625,.890625,.6671875,.1921875,.334375,.334375,.390625,.584375,.278125,.334375,.278125,.303125,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.55625,.278125,.278125,.5859375,.584375,.5859375,.55625,1.015625,.6671875,.6671875,.7234375,.7234375,.6671875,.6109375,.778125,.7234375,.278125,.5,.6671875,.55625,.834375,.7234375,.778125,.6671875,.778125,.7234375,.6671875,.6109375,.7234375,.6671875,.9453125,.6671875,.6671875,.6109375,.278125,.35625,.278125,.478125,.55625,.334375,.55625,.55625,.5,.55625,.55625,.278125,.55625,.55625,.2234375,.2421875,.5,.2234375,.834375,.55625,.55625,.55625,.55625,.334375,.5,.278125,.55625,.5,.7234375,.5,.5,.5,.35625,.2609375,.3546875,.590625],avg:.5293256578947368},Seravek:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.215625,.296875,.4171875,.6734375,.4953125,.9125,.740625,.2421875,.3375,.3375,.409375,.60625,.2609375,.35625,.25625,.41875,.5921875,.3515625,.475,.4875,.5375,.509375,.5484375,.4546875,.5421875,.5484375,.25625,.2546875,.5875,.6171875,.5875,.4578125,.8140625,.6765625,.5703125,.6109375,.684375,.5109375,.4953125,.678125,.6859375,.2625,.2625,.5859375,.4734375,.846875,.709375,.740625,.509375,.740625,.584375,.5015625,.528125,.675,.5953125,.9453125,.596875,.540625,.540625,.359375,.4203125,.359375,.5109375,.421875,.4046875,.5015625,.5421875,.446875,.5453125,.484375,.38125,.5140625,.5546875,.240625,.2640625,.490625,.2765625,.8625,.5546875,.546875,.5453125,.5453125,.3625,.41875,.3890625,.5453125,.4703125,.7546875,.4921875,.4609375,.453125,.4015625,.2640625,.4015625,.58125],avg:.5044078947368421},serif:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.278125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.7234375,.6109375,.890625,.7234375,.7234375,.55625,.7234375,.6671875,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.340625,.334375,.4703125,.5,.3453125,.4453125,.5,.4453125,.5,.4453125,.3828125,.5,.5,.278125,.3359375,.5,.278125,.778125,.5,.5,.5,.5,.3375,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5126315789473684},Tahoma:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3109375,.3328125,.4015625,.728125,.546875,.9765625,.70625,.2109375,.3828125,.3828125,.546875,.728125,.303125,.3640625,.303125,.3953125,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.546875,.3546875,.3546875,.728125,.728125,.728125,.475,.909375,.6109375,.590625,.6015625,.6796875,.5625,.521875,.66875,.6765625,.3734375,.4171875,.6046875,.4984375,.771875,.66875,.7078125,.5515625,.7078125,.6375,.5578125,.5875,.65625,.60625,.903125,.58125,.5890625,.559375,.3828125,.39375,.3828125,.728125,.5625,.546875,.525,.553125,.4625,.553125,.5265625,.3546875,.553125,.5578125,.2296875,.328125,.51875,.2296875,.840625,.5578125,.54375,.553125,.553125,.3609375,.446875,.3359375,.5578125,.4984375,.7421875,.4953125,.4984375,.4453125,.48125,.3828125,.48125,.728125],avg:.5384374999999998},"Times New Roman":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2484375,.334375,.409375,.5,.5,.834375,.778125,.18125,.334375,.334375,.5,.5640625,.25,.334375,.25,.28125,.5,.5,.5,.5,.5,.5,.5,.5,.5,.5,.278125,.278125,.5640625,.5640625,.5640625,.4453125,.921875,.7234375,.6671875,.6671875,.7234375,.6109375,.55625,.7234375,.7234375,.334375,.390625,.73125,.6109375,.890625,.7375,.7234375,.55625,.7234375,.6765625,.55625,.6109375,.7234375,.7234375,.9453125,.7234375,.7234375,.6109375,.334375,.28125,.334375,.4703125,.51875,.334375,.4453125,.503125,.4453125,.503125,.4453125,.4359375,.5,.5,.278125,.35625,.50625,.278125,.778125,.5,.5,.5046875,.5,.340625,.390625,.2796875,.5,.5,.7234375,.5,.5,.4453125,.48125,.2015625,.48125,.5421875],avg:.5134375},"Trebuchet MS":{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.3015625,.3671875,.325,.53125,.525,.6015625,.70625,.1609375,.3671875,.3671875,.3671875,.525,.3671875,.3671875,.3671875,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.525,.3671875,.3671875,.525,.525,.525,.3671875,.771875,.590625,.5671875,.5984375,.6140625,.5359375,.525,.6765625,.6546875,.2796875,.4765625,.5765625,.5078125,.7109375,.6390625,.675,.5578125,.7421875,.5828125,.48125,.58125,.6484375,.5875,.853125,.5578125,.5703125,.5515625,.3671875,.3578125,.3671875,.525,.53125,.525,.5265625,.5578125,.4953125,.5578125,.546875,.375,.503125,.546875,.2859375,.3671875,.5046875,.2953125,.83125,.546875,.5375,.5578125,.5578125,.3890625,.40625,.396875,.546875,.490625,.7453125,.5015625,.49375,.475,.3671875,.525,.3671875,.525],avg:.5085197368421052},Verdana:{widths:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.35,.39375,.459375,.81875,.6359375,1.0765625,.759375,.26875,.4546875,.4546875,.6359375,.81875,.3640625,.4546875,.3640625,.4703125,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.6359375,.4546875,.4546875,.81875,.81875,.81875,.546875,1,.684375,.6859375,.6984375,.771875,.6328125,.575,.7765625,.7515625,.421875,.4546875,.69375,.5578125,.84375,.7484375,.7875,.603125,.7875,.7,.684375,.6171875,.7328125,.684375,.9890625,.6859375,.615625,.6859375,.4546875,.46875,.4546875,.81875,.6421875,.6359375,.6015625,.6234375,.521875,.6234375,.596875,.384375,.6234375,.6328125,.275,.3765625,.5921875,.275,.9734375,.6328125,.6078125,.6234375,.6234375,.43125,.521875,.3953125,.6328125,.5921875,.81875,.5921875,.5921875,.5265625,.6359375,.4546875,.6359375,.81875],avg:.6171875000000003}},sr={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},lr={em:1,ex:.5},dr={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},ur=e=>Array.isArray(e)?e:e.toString().split(/\r\n|\r|\n/g),cr=(e,t,n)=>{const a=(e=>e*Math.PI/180)(n);return Math.abs(Math.cos(a)*e)+Math.abs(Math.sin(a)*t)},fr=(e,t)=>{const n=e.match(/[a-zA-Z%]+/)?.[0],a=Number(e.match(/[0-9.,]+/));let r;return r=n?sr.hasOwnProperty(n)?a*sr[n]:lr.hasOwnProperty(n)?(t?a*t:a*dr.fontSize)*lr[n]:a:a||0,r},Ar=(e,t)=>{const n=Array.isArray(e)?e[t]:e,a=qt()({},n,dr);return Object.assign({},a,{fontFamily:a.fontFamily,letterSpacing:"number"==typeof a.letterSpacing?a.letterSpacing:fr(String(a.letterSpacing),a.fontSize),fontSize:"number"==typeof a.fontSize?a.fontSize:fr(String(a.fontSize))})},pr=(e,t)=>{const n=Array.isArray(t)?t[0]&&t[0].angle:t&&t.angle,a=((e,t)=>void 0===e||""===e||null===e?0:ur(e).reduce(((e,n,a)=>{const r=Ar(t,a),o=n.toString().match(/[(A-Z)(0-9)]/)?1.15*r.fontSize:r.fontSize;return e+r.lineHeight*o}),0))(e,t),r=((e,t)=>{if(void 0===e||""===e||null===e)return 0;const n=ur(e).map(((e,n)=>{const a=e.toString().length,{fontSize:r,letterSpacing:o,fontFamily:i}=Ar(t,n),s=(e=>{const t=e.split(",").map((e=>e.replace(/'|"/g,""))).find((e=>ir[e]))||"Helvetica";return ir[t]})(i);return e.toString().split("").map((e=>e.charCodeAt(0)<s.widths.length?s.widths[e.charCodeAt(0)]:s.avg)).reduce(((e,t)=>t+e),0)*r+o*Math.max(a-1,0)}));return Math.max(...n)})(e,t);return{width:n?cr(r,a,n):r,height:1.05*(n?cr(a,r,n):a)}},gr=or()((()=>{const e=document.createElementNS("http://www.w3.org/2000/svg","svg");e.setAttribute("xlink","http://www.w3.org/1999/xlink"),e.setAttribute("width","300"),e.setAttribute("height","300"),e.setAttribute("viewBox","0 0 300 300"),e.setAttribute("aria-hidden","true");const t=document.createElementNS("http://www.w3.org/2000/svg","text");return e.appendChild(t),e.style.position="fixed",e.style.top="-9999px",e.style.left="-9999px",document.body.appendChild(e),t})),mr=e=>e?`${e.angle}:${e.fontFamily}:${e.fontSize}:${e.letterSpacing}:${e.lineHeight}`:"null",hr=or()(((e,t)=>{let n=gr();n.isConnected||(gr.cache.clear?.(),n=gr());const a=ur(e);let r=0;for(const[e,o]of a.entries()){const a=document.createElementNS("http://www.w3.org/2000/svg","tspan"),i=Ar(t,e);a.style.fontFamily=i.fontFamily,a.style.fontSize=`${i.fontSize}px`,a.style.lineHeight=i.lineHeight,a.style.fontFamily=i.fontFamily,a.style.letterSpacing=i.letterSpacing,a.textContent=o,a.setAttribute("x","0"),a.setAttribute("y",`${r}`),n.appendChild(a),r+=i.lineHeight*a.getBoundingClientRect().height}const{width:o}=n.getBoundingClientRect();return n.innerHTML="",{width:t?.angle?cr(o,r,t?.angle):o,height:t?.angle?cr(r,o,t?.angle):r}}),((e,t)=>`${Array.isArray(e)?e.join():e}::${Array.isArray(t)?t.map(mr).join():mr(t)}`)),br={impl:function(e,t,n){return void 0===n&&(n=!1),"undefined"==typeof window||void 0===window.document||void 0===window.document.createElement||n?pr(e,t):hr(e,t)}},yr=(e,t)=>br.impl(e,t),vr={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},Er=(e,t)=>e.datum?nn(e,e.datum)[t]:0,Cr=e=>{const t=e&&e.fontSize;if("number"==typeof t)return t;if(null==t)return vr.fontSize;if("string"==typeof t){const e=Number(t.replace("px",""));return isNaN(e)?vr.fontSize:e}return vr.fontSize},Br=function(e,t){return void 0===t&&(t=0),Array.isArray(e)?e[t]||e[0]:e},Tr=e=>{const{backgroundStyle:t,backgroundPadding:n}=e;return Array.isArray(t)&&!Fn()(t)||Array.isArray(n)&&!Fn()(n)},Sr=(e,t)=>{const{direction:n,textAnchor:a,x:r,dx:o}=e;if("rtl"===n)return r-t;switch(a){case"middle":return Math.round(r-t/2);case"end":return Math.round(r-t);default:return r+(o||0)}},xr=(e,t)=>{const{verticalAnchor:n,y:a,originalDy:r=0}=e,o=a+r;switch(n){case"start":return Math.floor(o);case"end":return Math.ceil(o-t);default:return Math.floor(o-t/2)}},wr=(e,t)=>Tr(e)?((e,t)=>{const{dy:n,dx:a,transform:r,backgroundStyle:o,backgroundPadding:i,backgroundComponent:s,inline:l,y:d}=e,u=t.map(((e,r)=>{const o=Br(t,r-1),s=e.textSize,u=e.fontSize*e.lineHeight,c=Math.ceil(u),f=Br(i,r),A=Br(i,r-1),p=l&&a||0,g=r&&!l?o.fontSize*o.lineHeight+A.top+A.bottom:n-.5*u-(e.fontSize-e.capHeight);return{textHeight:c,labelSize:s,heightWithPadding:c+f.top+f.bottom,widthWithPadding:s.width+f.left+f.right+p,y:d,fontSize:e.fontSize,dy:g}}));return u.map(((t,n)=>{const a=Sr(e,t.labelSize.width),c=u.slice(0,n+1).reduce(((e,t)=>e+t.dy),d),f=Br(i,n),A=t.heightWithPadding,p=l?((e,t,n)=>{const{textAnchor:a}=e,r=t.map((e=>e.widthWithPadding)),o=-r.reduce(((e,t)=>e+t),0)/2;switch(a){case"start":return r.reduce(((e,t,a)=>a<n?e+t:e),0);case"end":return r.reduce(((e,t,a)=>a>n?e-t:e),0);default:return r.reduce(((e,t,a)=>a===n?e+t/2:e+(a<n?t:0)),o)}})(e,u,n)+a-f.left:a,g=l?xr(e,A)-f.top:c,m={key:`tspan-background-${n}`,height:A,style:Br(o,n),width:t.widthWithPadding,transform:r,x:p-f.left,y:g};return w().cloneElement(s,qt()({},s.props,m))}))})(e,t):((e,t)=>{const{dx:n=0,transform:a,backgroundComponent:r,backgroundStyle:o,inline:i,backgroundPadding:s,capHeight:l}=e,d=t.map((e=>e.textSize)),u=i?Math.max(...d.map((e=>e.height))):d.reduce(((e,n,a)=>{const r=a?0:l/2;return e+n.height*(t[a].lineHeight-r)}),0),c=i?d.reduce(((e,t,a)=>{const r=a?n:0;return e+t.width+r}),0):Math.max(...d.map((e=>e.width))),f=Sr(e,c),A=xr(e,u),p={key:"background",height:u+s.top+s.bottom,style:o,transform:a,width:c+s.left+s.right,x:i?f-s.left:f+n-s.left,y:A};return w().cloneElement(r,qt()({},r.props,p))})(e,t),Ir=(e,t,n)=>{const{inline:a}=t,r=Br(e,n);return n&&!a?((e,t,n)=>{const a=Br(e,t),r=Br(e,t-1),o=r.fontSize*r.lineHeight,i=a.fontSize*a.lineHeight,s=r.fontSize-r.capHeight,l=a.fontSize-a.capHeight,d=o-r.fontSize/2+a.fontSize/2-o/2+i/2-l/2+s/2;return Tr(n)?d+a.backgroundPadding.top+r.backgroundPadding.bottom:d})(e,n,t):a?0===n?r.backgroundPadding.top:void 0:r.backgroundPadding.top},Lr={backgroundComponent:w().createElement(Yn,null),groupComponent:w().createElement("g",null),direction:"inherit",textComponent:w().createElement(zn,null),tspanComponent:w().createElement(Wn,null),capHeight:.71,lineHeight:1},Dr=e=>{const t=(e=>{const t=((e,t)=>{if(null==e)return;if(Array.isArray(e))return e.map((e=>ln(e,t)));const n=ln(e,t);return null!=n?Array.isArray(n)?n:`${n}`.split("\n"):void 0})(e.text,e),n=((e,t)=>{if(t.disableInlineStyles){const n=dn(e,t);return{fontSize:Cr(n)}}const n=e=>{const n=dn(e?qt()({},e,vr):vr,t);return Object.assign({},n,{fontSize:Cr(n)})};return Array.isArray(e)&&!Fn()(e)?e.map((e=>n(e))):n(e)})(e.style,Object.assign({},e,{text:t})),a=((e,t)=>{if(e)return Array.isArray(e)&&!Fn()(e)?e.map((e=>dn(e,t))):dn(e,t)})(e.backgroundStyle,Object.assign({},e,{text:t,style:n})),r=(e=>e.backgroundPadding&&Array.isArray(e.backgroundPadding)?e.backgroundPadding.map((t=>an(ln(t,e)))):an(ln(e.backgroundPadding,e)))(Object.assign({},e,{text:t,style:n,backgroundStyle:a})),o=ln(e.id,e);return Object.assign({},e,{backgroundStyle:a,backgroundPadding:r,style:n,text:t,id:o})})(qt()({},e,Lr));if(null===t.text||void 0===t.text)return null;const n=(e=>{const t=ln(e.ariaLabel,e),n=Br(e.style),a=(e=>{const t=ln(e.lineHeight,e);return Array.isArray(t)&&Fn()(t)?[1]:t})(e),r=e.direction?ln(e.direction,e):"inherit",o=e.textAnchor?ln(e.textAnchor,e):n.textAnchor||"start",i=e.verticalAnchor?ln(e.verticalAnchor,e):n.verticalAnchor||"middle",s=e.dx?ln(e.dx,e):0,l=((e,t,n)=>{const a=e.dy?ln(e.dy,e):0,r=e.inline?1:e.text.length,o=ln(e.capHeight,e),i=t?ln(t,e):"middle",s=[...Array(r).keys()].map((t=>Br(e.style,t).fontSize)),l=[...Array(r).keys()].map((e=>Br(n,e)));if("start"===i)return a+(o/2+l[0]/2)*s[0];if(e.inline)return"end"===i?a+(o/2-l[0]/2)*s[0]:a+o/2*s[0];if(1===r)return"end"===i?a+(o/2+(.5-r)*l[0])*s[0]:a+(o/2+(.5-r/2)*l[0])*s[0];const d=[...Array(r).keys()].reduce(((e,t)=>e+(o/2+(.5-r)*l[t])*s[t]/r),0);return"end"===i?a+d:a+d/2+o/2*l[r-1]*s[r-1]})(e,i,a),d=void 0!==e.x?e.x:Er(e,"x"),u=void 0!==e.y?e.y:Er(e,"y"),c=((e,t,n)=>{const{polar:a}=e,r=Br(e.style),o=a?Kn(e):0,i=void 0===r.angle?ln(e.angle,e):r.angle,s=void 0===i?o:i,l=e.transform||r.transform,d=l&&ln(l,e);return d||s?nr(d,s&&{rotate:[s,t,n]}):void 0})(e,d,u);return Object.assign({},e,{ariaLabel:t,lineHeight:a,direction:r,textAnchor:o,verticalAnchor:i,dx:s,dy:l,originalDy:ln(e.dy,e),transform:c,x:d,y:u})})(t),{text:a,style:r,capHeight:o,backgroundPadding:i,lineHeight:s}=n,l=a.map(((e,t)=>{const n=Br(r,t),a=fr(`${o}em`,n.fontSize),l=Br(s,t);return{style:n,fontSize:n.fontSize||vr.fontSize,capHeight:a,text:e,textSize:yr(e,n),lineHeight:l,backgroundPadding:Br(i,t)}})),d=((e,t)=>{const{ariaLabel:n,inline:a,className:r,title:o,events:i,direction:s,text:l,textAnchor:d,dx:u,dy:c,transform:f,x:A,y:p,desc:g,id:m,tabIndex:h,tspanComponent:b,textComponent:y}=e,v=xn(e),E={"aria-label":n,key:"text",...i,direction:s,dx:u,x:A,y:p+c,transform:f,className:r,title:o,desc:ln(g,e),tabIndex:ln(h,e),id:m,...v},C=l.map(((n,r)=>{const o=t[r].style,i={key:`${m}-key-${r}`,x:a?void 0:A,dx:a?u+t[r].backgroundPadding.left:u,dy:Ir(t,e,r),textAnchor:o.textAnchor||d,style:o,children:n};return w().cloneElement(b,i)}));return w().cloneElement(y,E,C)})(n,l);if(t.backgroundStyle){const e=[wr(n,l),d],a=w().cloneElement(t.groupComponent,{},e);return t.renderInPortal?w().createElement(Hn,null,a):a}return t.renderInPortal?w().createElement(Hn,null,d):d};Dr.displayName="VictoryLabel",Dr.role="label",Dr.defaultStyles=vr;var kr=n(30115),Or=n.n(kr);function Nr(e){return Array.isArray(e)&&e.length>0}function Pr(e){return Array.isArray(e)&&e.some((e=>"string"==typeof e))}function Rr(e){return Array.isArray(e)&&e.some((e=>e instanceof Date))}function Mr(e){return Array.isArray(e)&&e.some((e=>"number"==typeof e))}function _r(e){return Nr(e)&&e.every((e=>"string"==typeof e))}function Fr(e,t){return e&&t?e.filter((e=>!t.includes(e))):[]}function Gr(e){return Nr(e)&&e.every(Array.isArray)}function jr(e){return e.filter((e=>void 0!==e))}function Hr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];const r=e.concat(n);return Rr(r)?new Date(Math.max(...r)):Math.max(...r)}function Ur(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];const r=e.concat(n);return Rr(r)?new Date(Math.min(...r)):Math.min(...r)}var Yr=n(83488),zr=n.n(Yr);function Wr(e,t){return(e.key||t).toString()}function Vr(e){return e.reduce(((e,t,n)=>(e[Wr(t,n)]=t,e)),{})}function $r(e,t){let n=!1;const a=Object.keys(e).reduce(((e,a)=>(a in t||(n=!0,e[a]=!0),e)),{});return n&&a}function qr(e){return e.type&&e.type.getData?e.type.getData(e.props):e.props&&e.props.data||!1}function Qr(e,t){let n=!1,a=!1;const r=(e,t)=>e.map(((o,i)=>o&&o.props&&o.props.children&&t[i]?r(w().Children.toArray(e[i].props.children),w().Children.toArray(t[i].props.children)):((e,t)=>{if(!t||e.type!==t.type)return{};const{entering:r,exiting:o}=function(e,t){const n=e&&Vr(e),a=t&&Vr(t);return{entering:n&&$r(a,n),exiting:a&&$r(n,a)}}(qr(e),qr(t))||{};return n=n||!!o,a=a||!!r,{entering:r||!1,exiting:o||!1}})(o,t[i]))),o=r(w().Children.toArray(e),w().Children.toArray(t));return{nodesWillExit:n,nodesWillEnter:a,childrenTransitions:o,nodesShouldEnter:!1}}function Kr(e,t,n){const a=t&&t.nodesWillExit,r=t&&t.nodesWillEnter,o=t&&t.nodesShouldEnter,i=t&&t.nodesShouldLoad,s=t&&t.nodesDoneLoad,l=t&&t.childrenTransitions||[],d={enter:e.animate&&e.animate.onEnter&&e.animate.onEnter.duration,exit:e.animate&&e.animate.onExit&&e.animate.onExit.duration,load:e.animate&&e.animate.onLoad&&e.animate.onLoad.duration,move:e.animate&&e.animate.duration},u=(e,t,a)=>i?function(e,t){const a=Object.assign({},e,{onEnd:()=>{n({nodesShouldLoad:!1,nodesDoneLoad:!0})}});let r=t;if(a&&a.onLoad&&!a.onLoad.duration)return{animate:e,data:t};const o=e.onLoad&&e.onLoad.after?e.onLoad.after:zr();return r=t.map(((e,n)=>Object.assign({},e,o(e,n,t)))),{animate:a,data:r}}(a,t):function(e,t,a){const r=Object.assign({},e,{onEnd:()=>{n({nodesDoneLoad:!0})}});if(r&&r.onLoad&&!r.onLoad.duration)return{animate:r,data:a};const o=r.onLoad&&r.onLoad.before?r.onLoad.before:zr();return{animate:r,data:a.map(((e,t)=>Object.assign({},e,o(e,t,a)))),clipWidth:0}}(a,0,t),c=(e,t,a,r)=>function(e,t,a,r){const o=e&&e.onExit,i=Object.assign({},e,o);let s=a;if(r){e.onEnd=()=>{n({nodesWillExit:!1})};const t=e.onExit&&e.onExit.before?e.onExit.before:zr();s=a.map(((e,n)=>{const o=(e.key||n).toString();return r[o]?Object.assign({},e,t(e,n,a)):e}))}return{animate:i,data:s}}(r,0,a,e),f=(e,t,a,r)=>o?function(e,t,a){const r=e&&e.onEnter,o=Object.assign({},e,r);let i=t;if(a){o.onEnd=()=>{n({nodesWillEnter:!1})};const e=o.onEnter&&o.onEnter.after?o.onEnter.after:zr();i=t.map(((n,r)=>{const o=Wr(n,r);return a[o]?Object.assign({},n,e(n,r,t)):n}))}return{animate:o,data:i}}(r,a,e):function(e,t,a,r){let o=e,i=a;if(r){o=Object.assign({},e,{onEnd:()=>{n({nodesShouldEnter:!0})}});const t=e.onEnter&&e.onEnter.before?e.onEnter.before:zr();i=a.map(((e,n)=>{const o=(e.key||n).toString();return r[o]?Object.assign({},e,t(e,n,a)):e}))}return{animate:o,data:i}}(r,0,a,e),A=function(e,t){const n=e.props.animate;if(!e.type)return{};const a=e.props&&e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;if(a){const e=n[t]&&n[t].duration;return void 0!==e?e:a[t]&&a[t].duration}return{}};return function(n,i){const p=qr(n)||[],g=qt()({},e.animate,n.props.animate),m=n.props.polar&&n.type.defaultPolarTransitions||n.type.defaultTransitions;g.onExit=qt()({},g.onExit,m&&m.onExit),g.onEnter=qt()({},g.onEnter,m&&m.onEnter),g.onLoad=qt()({},g.onLoad,m&&m.onLoad);const h=l[i]||l[0];if(!s){const e={duration:void 0!==d.load?d.load:A(n,"onLoad")};return u(0,p,Object.assign({},g,e))}if(a){const e=h&&h.exiting,t=void 0!==d.exit?d.exit:A(n,"onExit"),a=e?{duration:t}:{delay:t};return c(e,0,p,Object.assign({},g,a))}if(r){const e=h&&h.entering,t=void 0!==d.enter?d.enter:A(n,"onEnter"),a=void 0!==d.move?d.move:n.props.animate&&n.props.animate.duration,r={duration:o&&e?t:a};return f(e,0,p,Object.assign({},g,r))}return!t&&g&&g.onExit?function(e,t){const n=e.onEnter&&e.onEnter.after?e.onEnter.after:zr();return{data:t.map(((e,a)=>Object.assign({},e,n(e,a,t))))}}(g,p):{animate:g,data:p}}}function Xr(){return Xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Xr.apply(this,arguments)}class Zr extends w().Component{static displayName="VictoryTransition";static contextType=jt;constructor(e,t){super(e,t),this.state={nodesShouldLoad:!1,nodesDoneLoad:!1};const n=this.props.children,a=n.props.polar;this.continuous=!a&&n.type&&!0===n.type.continuous,this.timer=this.context.transitionTimer}componentDidMount(){this.setState({nodesShouldLoad:!0})}shouldComponentUpdate(e){return Or()(this.props,e)||(this.timer.bypassAnimation(),this.setState(this.getTransitionState(this.props,e),(()=>this.timer.resumeAnimation()))),!0}componentWillUnmount(){this.timer.stop()}getTransitionState(e,t){const{animate:n}=e;if(!n)return{};if(n.parentState)return{oldProps:n.parentState.nodesWillExit?e:null,nextProps:t};const a=w().Children.toArray(e.children),r=w().Children.toArray(t.children),{nodesWillExit:o,nodesWillEnter:i,childrenTransitions:s,nodesShouldEnter:l}=Qr(a,r);return{nodesWillExit:o,nodesWillEnter:i,childrenTransitions:s,nodesShouldEnter:l,oldProps:o?e:null,nextProps:t}}getDomainFromChildren(e,t){const n=e=>e.reduce(((e,a)=>{if(a.type&&mn(a.type.getDomain)){const n=a.props&&a.type.getDomain(a.props,t);return n?e.concat(n):e}return a.props&&a.props.children?e.concat(n(w().Children.toArray(a.props.children))):e}),[]),a=w().Children.toArray(e.children)[0],r=a.props||{},o=Array.isArray(r.domain)?r.domain:r.domain&&r.domain[t];if(!r.children&&o)return o;const i=n([a]);return 0===i.length?[0,1]:[Ur(i),Hr(i)]}pickProps(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}pickDomainProps(e){const t=e.animate?.parentState;return t&&t.nodesWillExit?(this.continuous||t.continuous)&&(t.nextProps||this.state.nextProps)||e:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||e}getClipWidth(e,t){const n=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==n?n:(()=>{const n=pn(t.props,"x");return n?Math.abs(n[1]-n[0]):e.width})()}render(){const e=this.pickProps(),t=this.props.animate?.getTransitions?this.props.animate.getTransitions:Kr(e,this.state,(e=>this.setState(e))),n=w().Children.toArray(e.children)[0],a=t(n);this.transitionProps=a;const r={x:this.getDomainFromChildren(this.pickDomainProps(e),"x"),y:this.getDomainFromChildren(e,"y")},o=this.getClipWidth(e,n),i=qt()({domain:r,clipWidth:o},a,n.props),s=(e.animationWhitelist||[]).concat(["clipWidth"]),l=s.length?Zt()(i,s):i;return w().createElement(Ut,Xr({},i.animate,{data:l}),(e=>{if(n.props.groupComponent){const t=this.continuous?w().cloneElement(n.props.groupComponent,{clipWidth:e.clipWidth||0}):n.props.groupComponent;return w().cloneElement(n,qt()({animate:null,animating:!0,groupComponent:t},e,i))}return w().cloneElement(n,qt()({animate:null,animating:!0},e,i))}))}}const Jr=e=>w().createElement("defs",null,w().createElement("clipPath",{id:e.clipId?.toString()},e.children));function eo(){return eo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},eo.apply(this,arguments)}const to=(0,x.forwardRef)(((e,t)=>{const{desc:n,id:a,tabIndex:r,origin:o,...i}=e,s={vectorEffect:"non-scaling-stroke",id:ln(a,e)?.toString(),tabIndex:ln(r,e),...i};return n?w().createElement("circle",eo({},s,{ref:t}),w().createElement("desc",null,n)):w().createElement("circle",eo({},s,{ref:t}))}));class no extends w().Component{static displayName="VictoryClipContainer";static role="container";static defaultProps={circleComponent:w().createElement(to,null),rectComponent:w().createElement(Yn,null),clipPathComponent:w().createElement(Jr,null),groupComponent:w().createElement("g",null)};constructor(e){super(e),this.state={clipId:e?.clipId}}componentDidMount(){this.state.clipId||this.setState({clipId:zt()("victory-clip-")})}calculateAttributes(e){const{polar:t,origin:n,clipWidth:a=0,clipHeight:r=0,translateX:o=0,translateY:i=0}=e,s=an(e.clipPadding),l=e.radius||fn(e);return{x:(t?n.x:o)-s.left,y:(t?n.y:i)-s.top,width:Math.max((t?l:a)+s.left+s.right,0),height:Math.max((t?l:r)+s.top+s.bottom,0)}}renderClippedGroup(e,t){const n=xn(e),{style:a,events:r,transform:o,children:i,className:s,groupComponent:l,tabIndex:d}=e,u=this.renderClipComponent(e,t),c=Object.assign({className:s,style:a,transform:o,key:`clipped-group-${t}`,clipPath:`url(#${t})`},r);return w().cloneElement(l,{...c,tabIndex:d,...n},[u,...w().Children.toArray(i)])}renderGroup(e){const{style:t,events:n,transform:a,children:r,className:o,groupComponent:i,tabIndex:s}=e;return w().cloneElement(i,Object.assign({className:o,style:t,transform:a,"aria-label":e["aria-label"],tabIndex:s},n),r)}renderClipComponent(e,t){const{polar:n,origin:a,clipWidth:r=0,clipHeight:o=0,translateX:i=0,translateY:s=0,circleComponent:l,rectComponent:d,clipPathComponent:u}=e,{top:c,bottom:f,left:A,right:p}=an(e.clipPadding);let g;if(n){const t=e.radius||fn(e),n={r:Math.max(t+A+p,t+c+f,0),cx:a.x-A,cy:a.y-c};g=w().cloneElement(l,n)}else{const e={x:i-A,y:s-c,width:Math.max(r+A+p,0),height:Math.max(o+c+f,0)};g=w().cloneElement(d,e)}return w().cloneElement(u,Object.assign({key:`clip-path-${t}`},e,{clipId:t}),g)}getClipValue(e,t){const n={x:e.clipWidth,y:e.clipHeight};if(void 0!==n[t])return n[t];const a=pn(e,t);return a&&Math.abs(a[0]-a[1])||void 0}getTranslateValue(e,t){const n={x:e.translateX,y:e.translateY};if(void 0!==n[t])return n[t];const a=pn(e,t);return a?Math.min(...a):void 0}render(){const e=this.getClipValue(this.props,"y"),t=this.getClipValue(this.props,"x");if(void 0===t||void 0===e)return this.renderGroup(this.props);const n=this.getTranslateValue(this.props,"x"),a=this.getTranslateValue(this.props,"y"),r=qt()({},this.props,{clipHeight:e,clipWidth:t,translateX:n,translateY:a});return this.renderClippedGroup(r,this.state.clipId)}}function ao(){return ao=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},ao.apply(this,arguments)}const ro=(0,x.forwardRef)(((e,t)=>{const{desc:n,id:a,tabIndex:r,origin:o,...i}=e,s={id:ln(a,e)?.toString(),tabIndex:ln(r,e),...i};return n?w().createElement("path",ao({},s,{ref:t}),w().createElement("desc",null,n)):w().createElement("path",ao({},s,{ref:t}))})),oo=e=>{const{cx:t,cy:n,r:a,startAngle:r,endAngle:o,closedPath:i}=e,s=Math.abs(o-r)/2+r,l=t+a*Math.cos(un(r)),d=n-a*Math.sin(un(r));return`${i?` M ${t}, ${n} L ${l}, ${d}`:`M ${l}, ${d}`} A ${a}, ${a}, 0, ${s-r<=180?0:1}, 0, ${t+a*Math.cos(un(s))}, ${n-a*Math.sin(un(s))} A ${a}, ${a}, 0, ${o-s<=180?0:1}, 0, ${t+a*Math.cos(un(o))}, ${n-a*Math.sin(un(o))} ${i?"Z":""}`},io={pathComponent:w().createElement(ro,null),role:"presentation",shapeRendering:"auto"},so=e=>{const t=(e=>{const t=ln(e.ariaLabel,e),n=ln(e.desc,e),a=ln(e.id,e),r=dn(Object.assign({stroke:"black",fill:"none"},e.style),e),o=ln(e.tabIndex,e);return Object.assign({},e,{ariaLabel:t,desc:n,id:a,style:r,tabIndex:o})})(qt()({},e,io));return w().cloneElement(t.pathComponent,{...t.events,"aria-label":t.ariaLabel,d:oo(t),style:t.style,desc:t.desc,tabIndex:t.tabIndex,className:t.className,role:t.role,shapeRendering:t.shapeRendering,transform:t.transform,clipPath:t.clipPath})},lo={circleComponent:w().createElement(to,null),rectComponent:w().createElement(Yn,null),role:"presentation",shapeRendering:"auto"},uo=e=>{const t=(e=>{const t=ln(e.id,e);return Object.assign({},e,{id:t})})(qt()({},e,lo));return t.polar?w().cloneElement(t.circleComponent,{...t.events,style:t.style,role:t.role,shapeRendering:t.shapeRendering,cx:t.x,cy:t.y,r:t.height,className:t.className}):w().cloneElement(t.rectComponent,{...t.events,style:t.style,role:t.role,shapeRendering:t.shapeRendering,x:t.x,y:t.y,rx:t.rx,ry:t.ry,width:t.width,height:t.height,className:t.className})},co={rectComponent:w().createElement(Yn,null),role:"presentation",shapeRendering:"auto"},fo=e=>{const t=(e=>{const t=ln(e.ariaLabel,e),n=ln(e.desc,e),a=ln(e.id,e),r=dn(Object.assign({fill:"none"},e.style),e),o=ln(e.tabIndex,e);return Object.assign({},e,{ariaLabel:t,desc:n,id:a,style:r,tabIndex:o})})(qt()({},e,co));return w().cloneElement(t.rectComponent,{...t.events,"aria-label":t.ariaLabel,style:t.style,desc:t.desc,tabIndex:t.tabIndex,transform:t.transform,className:t.className,role:t.role,shapeRendering:t.shapeRendering,x:t.x,y:t.y,width:t.width,height:t.height,clipPath:t.clipPath})};function Ao(){return Ao=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ao.apply(this,arguments)}const po=(0,x.forwardRef)(((e,t)=>{const{desc:n,id:a,tabIndex:r,origin:o,...i}=e,s={vectorEffect:"non-scaling-stroke",id:ln(a,e)?.toString(),tabIndex:ln(r,e),...i};return n?w().createElement("line",Ao({},s,{ref:t}),w().createElement("desc",null,n)):w().createElement("line",Ao({},s,{ref:t}))})),go={lineComponent:w().createElement(po,null),role:"presentation",shapeRendering:"auto"},mo=e=>{const t=(e=>{const t=ln(e.ariaLabel,e),n=ln(e.desc,e),a=ln(e.id,e),r=dn(Object.assign({stroke:"black"},e.style),e),o=ln(e.tabIndex,e);return Object.assign({},e,{ariaLabel:t,desc:n,id:a,style:r,tabIndex:o})})(qt()({},e,go));return w().cloneElement(t.lineComponent,{...t.events,"aria-label":t.ariaLabel,style:t.style,desc:t.desc,tabIndex:t.tabIndex,className:t.className,role:t.role,shapeRendering:t.shapeRendering,x1:t.x1,x2:t.x2,y1:t.y1,y2:t.y2,transform:t.transform,clipPath:t.clipPath})};function ho(e,t,n){return`M ${e}, ${t}\n m ${-n}, 0\n a ${n}, ${n} 0 1,0 ${2*n},0\n a ${n}, ${n} 0 1,0 ${2*-n},0`}function bo(e,t,n){const a=.87*n,r=e-a,o=e+a-r;return`M ${r}, ${t+a}\n h${o}\n v-${o}\n h-${o}\n z`}function yo(e,t,n){const a=.87*n,r=Math.sqrt(a*a*2);return`M ${e}, ${t+r}\n l ${r}, -${r}\n l -${r}, -${r}\n l -${r}, ${r}\n l ${r}, ${r}\n z`}function vo(e,t,n){const a=t-n;return`M ${e-n}, ${a}\n L ${e+n}, ${a}\n L ${e}, ${t+n/2*Math.sqrt(3)}\n z`}function Eo(e,t,n){const a=t+n;return`M ${e-n}, ${a}\n L ${e+n}, ${a}\n L ${e}, ${t-n/2*Math.sqrt(3)}\n z`}function Co(e,t,n){const a=1.1*n,r=a/1.5;return`\n M ${e-r/2}, ${t+a}\n v-${r}\n h-${r}\n v-${r}\n h${r}\n v-${r}\n h${r}\n v${r}\n h${r}\n v${r}\n h-${r}\n v${r}\n z`}function Bo(e,t,n){const a=.8*n,r=a/1.5;return`\n M ${e-r/2}, ${t+a+r}\n v-${2*r}\n h-${r}\n v-${r}\n h${r}\n v-${r}\n h${r}\n v${r}\n h${r}\n v${r}\n h-${r}\n v${2*r}\n z`}function To(e,t,n){const a=1.1*n,r=a-.3*a,o=e-a,i=e+a-o;return`M ${o}, ${t+r/2}\n h${i}\n v-${r}\n h-${i}\n z`}function So(e,t,n){const a=1.35*n,r=Math.PI/5;return`M ${En(10).map((n=>{const o=n%2==0?a:a/2;return`${o*Math.sin(r*(n+1))+e},\n ${o*Math.cos(r*(n+1))+t}`})).join("L")} z`}const xo=e=>{const{x:t,y:n,size:a,symbol:r}=e;if(e.getPath)return e.getPath(t,n,a);const o=f;return("function"==typeof o[r]?o[r]:o.circle)(t,n,a)},wo={pathComponent:w().createElement(ro,null),role:"presentation",shapeRendering:"auto"},Io=e=>{const t=(e=>{const t=ln(e.ariaLabel,e),n=ln(e.desc,e),a=ln(e.id,e),r=ln(e.size,e),o=dn(e.style,e),i=ln(e.symbol,e),s=ln(e.tabIndex,e);return Object.assign({},e,{ariaLabel:t,desc:n,id:a,size:r,style:o,symbol:i,tabIndex:s})})(qt()({},e,wo)),n=xn(t);return w().cloneElement(t.pathComponent,{...t.events,"aria-label":t.ariaLabel,d:xo(t),style:t.style,desc:t.desc,tabIndex:t.tabIndex,role:t.role,shapeRendering:t.shapeRendering,className:t.className,transform:t.transform,clipPath:t.clipPath,...n})},Lo={groupComponent:w().createElement("g",null),lineComponent:w().createElement(po,null),role:"presentation",shapeRendering:"auto"},Do=e=>{const t=(e=>{const t=ln(e.ariaLabel,e),n=ln(e.desc,e),a=ln(e.id,e),r=dn(e.style,e),o=ln(e.tabIndex,e);return Object.assign({},e,{ariaLabel:t,desc:n,id:a,style:r,tabIndex:o})})(qt()({},e,Lo)),{ariaLabel:n,groupComponent:a,lineComponent:r,events:o,className:i,majorWhisker:s,minorWhisker:l,transform:d,clipPath:u,role:c,shapeRendering:f,style:A,desc:p,tabIndex:g}=t,m={...o,style:A,desc:p,tabIndex:g,className:i,transform:d,clipPath:u,role:c,shapeRendering:f};return w().cloneElement(a,{},[w().cloneElement(r,Object.assign({key:"major-whisker","aria-label":n},m,s)),w().cloneElement(r,Object.assign({key:"minor-whisker","aria-label":n},m,l))])};var ko=n(71086),Oo=n.n(ko),No=n(42194),Po=n.n(No),Ro=n(63375),Mo=n.n(Ro);const _o=/^onGlobal(.*)$/;function Fo(e,t,n,a){const r=e=>{const a=(()=>{const a=e.reduce(((e,n)=>void 0!==n.target?(Array.isArray(n.target)?n.target.includes(t):`${n.target}`==`${t}`)?e.concat(n):e:e.concat(n)),[]);return void 0!==n&&"parent"!==t?a.filter((e=>{const t=e.eventKey,a=e=>!e||`${e}`==`${n}`;return Array.isArray(t)?t.some((e=>a(e))):a(t)})):a})();return Array.isArray(a)&&a.reduce(((e,t)=>t?Object.assign(e,t.eventHandlers):e),{})},o=(()=>Array.isArray(this.componentEvents)?Array.isArray(e.events)?this.componentEvents.concat(...e.events):this.componentEvents:e.events)(),i=o&&mn(a)?a(r(o),t):void 0;if(!e.sharedEvents)return i;const s=e.sharedEvents.getEvents,l=e.sharedEvents.events&&s(r(e.sharedEvents.events),t);return Object.assign({},l,i)}function Go(e,t,n,a){if(Fn()(e))return{};const r=a||this.baseProps,o=(e,t)=>{const{childName:n,target:a,key:o}=e,i="props"===t?r:this.state||{},s=null!=n&&i[n]?i[n]:i;return"parent"===o?s.parent:s[o]&&s[o][a]},i=(e,a)=>{const i="parent"===t?e.childName:e.childName||n,s=e.target||t,l=(t,n)=>{const a=this.state||{};if(!mn(e.mutation))return a;const i=o({childName:n,key:t,target:s},"props"),l=o({childName:n,key:t,target:s},"state"),d=e.mutation(Object.assign({},i,l),r),u=a[n]||{},c=e=>d?(e=>"parent"===s?Object.assign(e,{[t]:Object.assign(e[t]||{},d)}):Object.assign(e,{[t]:Object.assign(e[t]||{},{[s]:d})}))(e):(e=>(e[t]&&e[t][s]&&delete e[t][s],e[t]&&!Object.keys(e[t]).length&&delete e[t],e))(e);return null!=n?Object.assign(a,{[n]:c(u)}):c(a)},d=t=>{const n=(t=>"parent"===s?"parent":"all"===e.eventKey?r[t]?Object.keys(r[t]).filter((e=>"parent"!==e)):Object.keys(r).filter((e=>"parent"!==e)):void 0===e.eventKey&&"parent"===a?r[t]?Object.keys(r[t]):Object.keys(r):void 0!==e.eventKey?e.eventKey:a)(t);return Array.isArray(n)?n.reduce(((e,n)=>Object.assign(e,l(n,t))),{}):l(n,t)},u="all"===i?Object.keys(r).filter((e=>"parent"!==e)):i;return Array.isArray(u)?u.reduce(((e,t)=>Object.assign(e,d(t))),{}):d(u)},s=(t,n,a,r)=>{const o=e[r](t,n,a,this);if(!Fn()(o)){const e=(e=>{const t=e=>mn(e.callback)&&e.callback,n=(Array.isArray(e)?e.map((e=>t(e))):[t(e)]).filter((e=>!1!==e));return n.length?()=>n.forEach((e=>e())):void 0})(o);this.setState(((e,t)=>Array.isArray(e)?e.reduce(((e,n)=>Object.assign({},e,i(n,t))),{}):i(e,t))(o,a),e)}};return Object.keys(e).reduce(((e,t)=>(e[t]=s,e)),{})}function jo(e,t,n){return e?Object.keys(e).reduce(((a,r)=>(a[r]=a=>e[r](a,n,t,r),a)),{}):{}}function Ho(e,t,n){const a=this.state||{};return n?a[n]&&a[n][e]&&a[n][e][t]:"parent"===e?a[e]&&a[e][t]||a[e]:a[e]&&a[e][t]}function Uo(e,t,n,a){return void 0===t&&(t={}),void 0===n&&(n={}),a.reduce(((a,r)=>{const o=n[r],i=Yo(e,t[r],n[r],r);return a[r]=i||o,Oo()(a,(e=>!Fn()(e)))}),{})}function Yo(e,t,n,a){return void 0===t&&(t={}),void 0===n&&(n={}),Object.keys(t).reduce(((r,o)=>{const i=n[o]||{},s=t[o]||{};if("parent"===o){const t=zo(e,s,i,{eventKey:o,target:"parent"});r[o]=void 0!==t?Object.assign({},i,t):i}else{const t=Mo()(Object.keys(s).concat(Object.keys(i)));r[o]=t.reduce(((t,n)=>{const r={eventKey:o,target:n,childName:a},l=zo(e,s[n],i[n],r);return t[n]=void 0!==l?Object.assign({},i[n],l):i[n],Oo()(t,(e=>!Fn()(e)))}),{})}return Oo()(r,(e=>!Fn()(e)))}),{})}function zo(e,t,n,a){const r=(e,t)=>"string"==typeof e[t]?"all"===e[t]||e[t]===a[t]:!!Array.isArray(e[t])&&e[t].map((e=>`${e}`)).includes(a[t]);let o=Array.isArray(e)?e:[e];a.childName&&(o=e.filter((e=>r(e,"childName"))));const i=o.filter((e=>r(e,"target")));if(Fn()(i))return;const s=i.filter((e=>r(e,"eventKey")));return Fn()(s)?void 0:s.reduce(((e,a)=>{const r=(a&&mn(a.mutation)?a.mutation:()=>{})(Object.assign({},t,n));return Object.assign({},e,r)}),{})}function Wo(e,t){const n=Array.isArray(t)&&t.reduce(((t,n)=>{const a=e[n],r=a&&a.type&&a.type.defaultEvents,o=mn(r)?r(a.props):r;return Array.isArray(o)?t.concat(...o):t}),[]);return n&&n.length?n:void 0}function Vo(e){const t=e.match(_o);return t&&t[1]&&t[1].toLowerCase()}const $o=e=>Oo()(e,((e,t)=>_o.test(t))),qo=e=>Po()(e,((e,t)=>_o.test(t))),Qo=e=>Object.assign(e,{nativeEvent:e}),Ko=e=>!gn(e._x)&&!gn(e._y),Xo=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];function Zo(e,t){return void 0===t&&(t={}),class extends e{constructor(e){super(e),this.cacheValues(this.getCalculatedValues(e))}state={};getEventState=Ho.bind(this);getScopedEvents=Go.bind(this);getEvents=(e,t,n)=>Fo.call(this,e,t,n,this.getScopedEvents);externalMutations=this.getExternalMutations(this.props);calculatedState=this.getStateChanges(this.props);globalEvents={};prevGlobalEventKeys=[];boundGlobalEvents={};shouldComponentUpdate(e){const t=this.getExternalMutations(e),n=this.props.animating||this.props.animate,a=!Or()(t,this.externalMutations);if(n||a)return this.cacheValues(this.getCalculatedValues(e)),this.externalMutations=t,this.applyExternalMutations(e,t),!0;const r=this.getStateChanges(e);return Or()(this.calculatedState,r)?!Or()(this.props,e)&&(this.cacheValues(this.getCalculatedValues(e)),!0):(this.cacheValues(this.getCalculatedValues(e)),!0)}componentDidMount(){const e=Object.keys(this.globalEvents);e.forEach((e=>this.addGlobalListener(e))),this.prevGlobalEventKeys=e}componentDidUpdate(e){const t=this.getStateChanges(e);this.calculatedState=t;const n=Object.keys(this.globalEvents);Fr(this.prevGlobalEventKeys,n).forEach((e=>this.removeGlobalListener(e))),Fr(n,this.prevGlobalEventKeys).forEach((e=>this.addGlobalListener(e))),this.prevGlobalEventKeys=n}componentWillUnmount(){this.prevGlobalEventKeys.forEach((e=>this.removeGlobalListener(e)))}addGlobalListener(e){const t=t=>{const n=this.globalEvents[e];return n&&n(Qo(t))};this.boundGlobalEvents[e]=t,window.addEventListener(Vo(e),t)}removeGlobalListener(e){window.removeEventListener(Vo(e),this.boundGlobalEvents[e])}getStateChanges(e){if(!this.hasEvents)return{};const n=(e,t)=>{const n=qt()({},this.getEventState(e,t),this.getSharedEventState(e,t));return Fn()(n)?void 0:n};return(t.components||Xo).map((t=>{if(e.standalone||"parent"!==t.name)return void 0!==t.index?n(t.index,t.name):this.dataKeys.map((e=>n(e,t.name))).filter(Boolean)})).filter(Boolean)}applyExternalMutations(e,t){if(!Fn()(t)){const n=e.externalEventMutations.reduce(((e,t)=>mn(t.callback)?e.concat(t.callback):e),[]),a=n.length?()=>{n.forEach((e=>e()))}:void 0;this.setState(t,a)}}getCalculatedValues(t){const{sharedEvents:n}=t,a=Wo(t,e.expectedComponents),r=n&&mn(n.getEventState)?n.getEventState:()=>{},o=this.getBaseProps(t,r);return{componentEvents:a,getSharedEventState:r,baseProps:o,dataKeys:Object.keys(o).filter((e=>"parent"!==e)),hasEvents:t.events||t.sharedEvents||a,events:this.getAllEvents(t)}}getExternalMutations(e){const{sharedEvents:t,externalEventMutations:n}=e;return Fn()(n)||t?void 0:Yo(n,this.baseProps,this.state)}cacheValues(e){Object.keys(e).forEach((t=>{this[t]=e[t]}))}getBaseProps(t,n){const a=(n||this.getSharedEventState.bind(this))("parent","parent"),r=this.getEventState("parent","parent"),o=qt()({},r,a),i=o.parentControlledProps,s=i?Zt()(o,i):{},l=qt()({},s,t);return"function"==typeof e.getBaseProps?e.getBaseProps(l):{}}getAllEvents(e){return Array.isArray(this.componentEvents)?Array.isArray(e.events)?this.componentEvents.concat(...e.events):this.componentEvents:e.events}getComponentProps(t,n,a){const r=this.props.name||e.role,o=this.dataKeys&&this.dataKeys[a]||a,i=`${r}-${n}-${o}`,s=this.baseProps[o]&&this.baseProps[o][n]||this.baseProps[o];if(!s&&!this.hasEvents)return;const l=t&&"object"==typeof t&&"props"in t?t.props:void 0;if(this.hasEvents){const e=this.getEvents(this.props,n,o),t=qt()({index:a,key:i},this.getEventState(o,n),this.getSharedEventState(o,n),l,s,{id:i}),r=qt()({},jo(e,o,t),t.events);return Object.assign({},t,{events:r})}return qt()({index:a,key:i},l,s,{id:i})}renderContainer(e,t){const n=e.type&&"container"===e.type.role?this.getComponentProps(e,"parent","parent"):{};return n.events&&(this.globalEvents=$o(n.events),n.events=qo(n.events)),w().cloneElement(e,n,t)}animateComponent(e,t){const n="object"==typeof e.animate&&e.animate?.animationWhitelist||t,a=this.constructor;return w().createElement(Zr,{animate:e.animate,animationWhitelist:n},w().createElement(a,e))}renderContinuousData(e){const{dataComponent:t,labelComponent:n,groupComponent:a}=e,r=this.dataKeys.filter((e=>"all"!==e)),o=r.reduce(((e,t)=>{let a=e;const r=this.getComponentProps(n,"labels",t);return r&&void 0!==r.text&&null!==r.text&&(a=a.concat(w().cloneElement(n,r))),a}),[]),i=this.getComponentProps(t,"data","all"),s=[w().cloneElement(t,i),...o];return this.renderContainer(a,s)}renderData(e,t){void 0===t&&(t=Ko);const{dataComponent:n,labelComponent:a,groupComponent:r}=e,o=[...this.dataKeys.reduce(((e,a,r)=>{const o=this.getComponentProps(n,"data",r);return t(o.datum)&&e.push(w().cloneElement(n,o)),e}),[]),...this.dataKeys.map(((e,t)=>{const n=this.getComponentProps(a,"labels",t);if(void 0!==n.text&&null!==n.text)return w().cloneElement(a,n)})).filter(Boolean)];return this.renderContainer(r,o)}}}var Jo=n(23805),ei=n.n(Jo),ti=n(83602),ni=n.n(ti),ai=n(73054),ri=n.n(ai),oi=n(2404),ii=n.n(oi),si=n(62216),li=n.n(si),di=n(81386);const ui=["linear","time","log","sqrt"];function ci(e){return"function"==typeof e?mn(e.copy)&&mn(e.domain)&&mn(e.range):"string"==typeof e&&ui.includes(e)}function fi(e,t){return!(!e.scale||(e.scale.x||e.scale.y)&&!e.scale[t])}function Ai(e,t){if(!e.data)return"linear";const n=hn(e[t]);return Rr(e.data.map((e=>{const a=ye()(n(e))?n(e)[t]:n(e);return void 0!==a?a:e[t]})))?"time":"linear"}function pi(e){if(ci(e)){const n=`scale${t=e,t&&t[0].toUpperCase()+t.slice(1)}`;return p[n]()}var t;return di.scaleLinear()}function gi(e,t){const n=hi(e,t);return n?"string"==typeof n?pi(n):n:pi(function(e,t){let n;if(e.domain&&e.domain[t]?n=e.domain[t]:e.domain&&Array.isArray(e.domain)&&(n=e.domain),n)return Rr(n)?"time":"linear"}(e,t)||Ai(e,t))}function mi(){return di.scaleLinear()}function hi(e,t){if(!fi(e,t))return;const n=e.scale[t]||e.scale;return ci(n)?mn(n)?n:pi(n):void 0}function bi(e,t){return function(e,t){if(!fi(e,t))return;const n=e.scale[t]||e.scale;return"string"==typeof n?n:vi(n)}(e,t)||Ai(e,t)}const yi=[{name:"quantile",method:"quantiles"},{name:"log",method:"base"}];function vi(e){if("string"==typeof e)return e;const t=yi.filter((t=>void 0!==e[t.method]))[0];return t?t.name:void 0}const Ei="@@__IMMUTABLE_ITERABLE__@@",Ci="@@__IMMUTABLE_RECORD__@@",Bi="@@__IMMUTABLE_LIST__@@",Ti="@@__IMMUTABLE_MAP__@@";function Si(e){return!(!e||!e[Ei])}function xi(e){return!(!e||!e[Ci])}function wi(e){return Si(e)||xi(e)}function Ii(e){return!(!e||!e[Bi])}function Li(e){return!(!e||!e[Ti])}function Di(e,t){return Si(e)?e.reduce(((e,n,a)=>{let r=n;return t&&t[a]&&(r=Di(n)),e[a]=r,e}),Ii(e)?[]:{}):e}function ki(e){return wi(e)?Di(e,{errorX:!0,errorY:!0}):e}function Oi(e){return Si(e)?e.size:e.length}function Ni(e,t){const n=(ye()(e.domain)?e.domain[t]:e.domain)||gi(e,t).domain(),a=e.samples||1,r=Math.max(...n),o=Math.min(...n),i=En(o,r,(r-o)/a);return i[i.length-1]===r?i:i.concat(r)}function Pi(e,t,n){if(void 0===n&&(n="ascending"),!t)return e;let a=t;"x"!==t&&"y"!==t||(a=`_${t}`);const r="ascending"===n?"asc":"desc";return Ee()(e,a,r)}function Ri(e,t,n){const a=e=>void 0!==e,r=Ur(t.x),o=Hr(t.x),i=Ur(t.y),s=Hr(t.y),l=e=>t=>a(t)&&t<e,d=e=>t=>a(t)&&t>e,u=l(r),c=l(i),f=d(o),A=d(s);return e.map((e=>{let{_x:t,_y:r,_y0:o,_y1:l}=e;(u(t)||f(t))&&(t=null);const d=a(o)?o:n,p=a(l)?l:r;return a(p)?(a(d)||!c(p)&&!A(p)||(r=null),(c(d)&&c(p)||A(d)&&A(p))&&(r=o=l=null),c(d)&&!c(p)&&(o=i),A(d)&&!A(p)&&(o=s),Object.assign({},e,Po()({_x:t,_y:r,_y0:o,_y1:l},li()))):e}))}function Mi(e,t){const n=Ui(e,t),a=Yi(e,t),r=zi(e,t),o=Mo()([...n,...a,...r]);return 0===o.length?null:o.reduce(((e,t,n)=>(e[t]=n+1,e)),{})}function _i(e,t,n){void 0===n&&(n=0);const a=Oi(e);if(a>t){const r=Math.pow(2,Math.ceil(Math.log2(a/t)));return e.filter(((e,t)=>(t+n)%r==0))}return e}function Fi(e,t,n){if(!Array.isArray(e)&&!Si(e)||Oi(e)<1)return[];const a=["x","y","y0"],r=(n=Array.isArray(n)?n:a).reduce(((e,n)=>{var a;return e[n]=hn(void 0!==t[a=n]?t[a]:a),e}),{}),o=ii()(n,a)&&"_x"===t.x&&"_y"===t.y&&"_y0"===t.y0;let i;!1===o&&(i={x:-1!==n.indexOf("x")?Mi(t,"x"):void 0,y:-1!==n.indexOf("y")?Mi(t,"y"):void 0,y0:-1!==n.indexOf("y0")?Mi(t,"y"):void 0});const s=o?e:e.reduce(((e,t,a)=>{const o=ki(t),s={x:a,y:o},l=n.reduce(((e,t)=>{const n=r[t](o),a=void 0!==n?n:s[t];return void 0!==a&&("string"==typeof a&&i[t]?(e[`${t}Name`]=a,e[`_${t}`]=i[t][a]):e[`_${t}`]=a),e}),{}),d=Object.assign({},l,o);return Fn()(d)||e.push(d),e}),[]),l=function(e,t){const n=1/Number.MAX_SAFE_INTEGER,a={x:bi(t,"x"),y:bi(t,"y")};if("log"!==a.x&&"log"!==a.y)return e;const r=(e,t)=>"log"!==a[t]||0!==e[`_${t}`];return e.map((e=>r(e,"x")&&r(e,"y")&&r(e,"y0")?e:(e=>{const t=r(e,"x")?e._x:n,a=r(e,"y")?e._y:n,o=r(e,"y0")?e._y0:n;return Object.assign({},e,{_x:t,_y:a,_y0:o})})(e)))}(Pi(s,t.sortKey,t.sortOrder),t);return function(e,t){const n=!!e.eventKey,a=mn(r=e.eventKey)?r:null==r?()=>{}:Kt()(r);var r;return t.map(((e,t)=>{if(void 0!==e.eventKey)return e;if(n){const n=a(e,t);return void 0!==n?Object.assign({eventKey:n},e):e}return e}))}(t,l)}function Gi(e){const t=Ni(e,"x"),n=Ni(e,"y"),a=t.map(((e,t)=>({x:e,y:n[t]})));return a}function ji(e,t){return e.categories&&!Array.isArray(e.categories)?e.categories[t]:e.categories}function Hi(e){return e.data?Fi(e.data,e):Fi(Gi(e),e)}function Ui(e,t){const{tickValues:n,tickFormat:a}=e;let r;return r=n&&(Array.isArray(n)||n[t])?n[t]||n:a&&Array.isArray(a)?a:[],r.filter((e=>"string"==typeof e))}function Yi(e,t){if(!e.categories)return[];const n=ji(e,t),a=n&&n.filter((e=>"string"==typeof e));return a?jr(a):[]}function zi(e,t){if(!Array.isArray(e.data)&&!Si(e.data))return[];const n=hn(void 0===e[t]?t:e[t]);return Pi(e.data.reduce(((e,t)=>(e.push(ki(t)),e)),[]),e.sortKey,e.sortOrder).reduce(((e,t)=>{const a=ki(t);return e.push(n(a)),e}),[]).filter((e=>"string"==typeof e)).reduce(((e,t)=>(null!=t&&-1===e.indexOf(t)&&e.push(t),e)),[])}function Wi(e){const t=e=>e&&e.type?e.type.role:"";let n=t(e);if("portal"===n){const a=w().Children.toArray(e.props.children);n=a.length?t(a[0]):""}return["area","bar","boxplot","candlestick","errorbar","group","histogram","line","pie","scatter","stack","voronoi"].includes(n)}function Vi(e,t,n){void 0===n&&(n="min");const a=e=>"max"===n?Math.max(...e):Math.min(...e),r="max"===n?-1/0:1/0;let o=!1;const i=e.flat().reduce(((e,n)=>{const r=void 0!==n[`_${t}0`]?n[`_${t}0`]:n[`_${t}`],i=void 0!==n[`_${t}1`]?n[`_${t}1`]:n[`_${t}`],s=a([r,i]);return o=o||r instanceof Date||i instanceof Date,a([e,s])}),r);return o?new Date(i):i}function $i(e,t){const n=mn(e)?e:Xi,a=mn(t)?t:qi;return(e,t)=>{const r=Ji(e,t);if(r)return a(r,e,t);const o=ji(e,t),i=o?Ki(e,t,o):n(e,t);return i?a(i,e,t):void 0}}function qi(e,t,n){return function(e,t,n){return"log"!==bi(t,n)?e:(e=>{const t=e[0]<0||e[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER;return[0===e[0]?t:e[0],0===e[1]?t:e[1]]})(e)}(function(e,t,n){if(!t.domainPadding)return e;const a=ns(t,n),r=ts(t,n),o=function(e,t){const n=e=>Array.isArray(e)?{left:e[0],right:e[1]}:{left:e,right:e};return ye()(e.domainPadding)?n(e.domainPadding[t]):n(e.domainPadding)}(t,n);if(!o.left&&!o.right)return e;const i=Ur(e),s=Hr(e),l=pn(t,yn(n,t.horizontal)),d=Math.abs(l[0]-l[1]),u=Math.max(d-o.left-o.right,1),c=Math.abs(s.valueOf()-i.valueOf())/u*d,f=c*o.left/d,A=c*o.right/d;let p={min:i.valueOf()-f,max:s.valueOf()+A};const g=ye()(t.singleQuadrantDomainPadding)?t.singleQuadrantDomainPadding[n]:t.singleQuadrantDomainPadding,m=(e,t)=>"min"===t&&i.valueOf()>=0&&e<=0||"max"===t&&s.valueOf()<=0&&e>=0?0:e;if((i.valueOf()>=0&&p.min<=0||s.valueOf()<=0&&p.max>=0)&&!1!==g){const e={left:Math.abs(s-i)*o.left/d,right:Math.abs(s-i)*o.right/d},t={min:m(i.valueOf()-e.left,"min"),max:m(s.valueOf()+e.right,"max")},n={left:Math.abs(t.max-t.min)*o.left/d,right:Math.abs(t.max-t.min)*o.right/d};p={min:m(i.valueOf()-n.left,"min"),max:m(s.valueOf()+n.right,"max")}}const h={min:void 0!==a?a:p.min,max:void 0!==r?r:p.max};return i instanceof Date||s instanceof Date?Zi(new Date(h.min),new Date(h.max)):Zi(h.min,h.max)}(e,t,n),t,n)}function Qi(e,t){return $i()(e,t)}function Ki(e,t,n){const a=n||ji(e,t),{polar:r,startAngle:o=0,endAngle:i=360}=e;if(!a)return;const s=ns(e,t),l=ts(e,t),d=Pr(a)?Yi(e,t):[],u=0===d.length?null:d.reduce(((e,t,n)=>(e[t]=n+1,e)),{}),c=u?a.map((e=>u[e])):a,f=Zi(void 0!==s?s:Ur(c),void 0!==l?l:Hr(c));return r&&"x"===t&&360===Math.abs(o-i)?as(f,c):f}function Xi(e,t,n){const a=n||Hi(e),{polar:r,startAngle:o=0,endAngle:i=360}=e,s=ns(e,t),l=ts(e,t);if(a.length<1)return void 0!==s&&void 0!==l?Zi(s,l):void 0;const d=Zi(void 0!==s?s:Vi(a,t,"min"),void 0!==l?l:Vi(a,t,"max"));return r&&"x"===t&&360===Math.abs(o-i)?as(d,function(e,t){const n=`_${t}`;return e.flat().map((e=>e[n]&&void 0!==e[n][1]?e[n][1]:e[n]))}(a,t)):d}function Zi(e,t){return Number(e)===Number(t)?(e=>{const t=0===e?2*Math.pow(10,-10):Math.pow(10,-10),n=e instanceof Date?new Date(Number(e)-1):Number(e)-t,a=e instanceof Date?new Date(Number(e)+1):Number(e)+t;return 0===e?[0,a]:[n,a]})(t):[e,t]}function Ji(e,t){const n=ns(e,t),a=ts(e,t);return ye()(e.domain)&&e.domain[t]?e.domain[t]:Array.isArray(e.domain)?e.domain:void 0!==n&&void 0!==a?Zi(n,a):void 0}function es(e,t){const n=Ji(e,t);if(n)return n;const a=Hi(e),r=a.reduce(((e,t)=>t._y0<e?t._y0:e),1/0);return $i((()=>Xi(e,t,a)),(n=>qi((n=>{if("x"===t)return n;const a=r!==1/0?r:0,o=ts(e,t),i=ns(e,t),s=void 0!==o?o:Hr(n,a);return Zi(void 0!==i?i:Ur(n,a),s)})(n),e,t)))(e,t)}function ts(e,t){return ye()(e.maxDomain)&&void 0!==e.maxDomain[t]?e.maxDomain[t]:"number"==typeof e.maxDomain||ni()(e.maxDomain)?e.maxDomain:void 0}function ns(e,t){return ye()(e.minDomain)&&void 0!==e.minDomain[t]?e.minDomain[t]:"number"==typeof e.minDomain||ni()(e.minDomain)?e.minDomain:void 0}function as(e,t){const n=ri()(t.sort(((e,t)=>e-t))),a=n[1]-n[0];return[e[0],e[1]+a]}function rs(e){const t=e=>e&&e.type?e.type.role:"";let n=t(e);if("portal"===n){const a=w().Children.toArray(e.props.children);n=a.length?t(a[0]):""}return["area","axis","bar","boxplot","candlestick","errorbar","group","histogram","line","pie","scatter","stack","voronoi"].includes(n)}function os(e){return e}function is(e){const{dependentAxis:t}=e;return t?"y":"x"}function ss(e,t){const n=t||os,a=e=>e.reduce(((e,t)=>t.type&&"axis"===t.type.role&&n(t)?e.concat(t):t.props&&t.props.children?e.concat(a(w().Children.toArray(t.props.children))):e),[]);return a(e)}function ls(e,t){return ss(e,(e=>e.type.getAxis(e.props)===t))[0]}function ds(e,t){const n=e=>e.reduce(((e,a)=>a.type&&"axis"===a.type.role&&(e=>"dependent"===t?e.props.dependentAxis:!e.props.dependentAxis)(a)||a.props&&a.props.children&&n(w().Children.toArray(a.props.children)).length>0?e.concat(a):e),[]);return n(e)}function us(e){const t=e=>{const t=Math.min(...e),n=Math.max(...e);return n<0?n:Math.max(0,t)};return{x:Rr(e.x)?new Date(Math.min(...e.x)):t(e.x),y:Rr(e.y)?new Date(Math.min(...e.y)):t(e.y)}}function cs(e,t){return Rr(t)?"positive":e<=0&&Math.max(...t)<=0?"negative":"positive"}function fs(e){return{top:!1,bottom:!1,left:!0,right:!0}[e.orientation||(e.dependentAxis?"left":"bottom")]}function As(e){return void 0!==e.tickValues&&Pr(e.tickValues)}function ps(e){const{tickValues:t,tickFormat:n}=e;if(0===t?.length)return[];const a=is(e),r=e.stringMap&&e.stringMap[a];let o=t;r&&(o=function(e){const t=is(e),n=e.stringMap&&e.stringMap[t],a=Array.isArray(e.categories)?e.categories:e.categories&&e.categories[t],r=a&&_r(a)?a.map((e=>n[e])):void 0,o=n&&Object.values(n);return r&&0!==r.length?r:o}(e)),t&&Pr(t)&&(o=r?t.map((e=>r[e])):En(1,t.length+1));const i=o?Mo()(o):(()=>{if(n&&Array.isArray(n))return Pr(n)?n.map(((e,t)=>t)):n})();return Array.isArray(i)&&i.length?(t=>{const n=[],r=e.domain&&e.domain[a]||e.domain;if(t)return t.forEach(((e,t)=>{Array.isArray(r)?e>=Ur(r).valueOf()&&e<=Hr(r).valueOf()&&n.push({value:e,index:t}):n.push({value:e,index:t})})),n})(i):void 0}function gs(e,t){const{tickFormat:n}=e,a=is(e),r=e.stringMap&&e.stringMap[a];if(!n){const n=function(e){const{tickValues:t}=e,n=is(e),a=e.stringMap&&e.stringMap[n],r=t&&!Rr(t)?e=>e:void 0;if(!a)return As(e)?(e,n)=>t[n]:r;const o=a&&Jt(a),i=["",...Ee()(Object.values(a),(e=>e)).map((e=>o[e])),""];return e=>i[e]}(e),a=t.tickFormat&&mn(t.tickFormat)?t.tickFormat():e=>e;return n||a}if(n&&Array.isArray(n)){const t=ps(e),a=t?.map((e=>e.index)),r=n.filter(((e,t)=>a?.includes(t)));return(e,t)=>r[t]}return n&&mn(n)?r?(t,n,a)=>{const o=Jt(r),i=a.map((e=>o[e]));return e.tickFormat(o[t],n,i)}:n:e=>e}function ms(e,t){if(!t||!Array.isArray(e)||e.length<=t)return e;const n=Math.floor(e.length/t);return e.filter(((e,t)=>t%n==0))}function hs(e,t,n){void 0===n&&(n=!1);const{tickCount:a}=e,r=ps(e);if(0===r?.length)return[""];const o=r?r.map((e=>e.value)):void 0;if(o)return ms(o,a);if(t.ticks&&mn(t.ticks)){const e=a||5,r=t.ticks(e),o=ms(Array.isArray(r)&&r.length?r:t.domain(),a);if(n){const e=o.filter((e=>0!==e));return e.length?e:o}return o}return t.domain()}function bs(e,t){const{polar:n,startAngle:a=0,endAngle:r=360}=e,o=ps(e),i=o&&0!==o?.length?o.map((e=>e.value)):void 0;if(!Array.isArray(i))return;const s=ns(e,t),l=ts(e,t),d=As(e),u=i.map((e=>Number(e))),c=d?1:Ur(u),f=d?i.length:Hr(u),A=Zi(void 0!==s?s:c,void 0!==l?l:f),p=n&&"x"===t&&360===Math.abs(a-r)?as(A,u):A;return fs(e)&&!n&&p.reverse(),p}function ys(e,t){const n=is(e);if(!t||t===n)return $i(bs)(e,n)}function vs(e,t){if(!e.axisValue)return;const n="x"===t?"y":"x",a=ei()(e.scale)&&mn(e.scale[n])?e.scale[n]:void 0;if(!a)return;const r="x"===t?"y":"x",o=ei()(e.stringMap)&&e.stringMap[r];return a(o&&"string"==typeof e.axisValue?o[e.axisValue]:e.axisValue)}function Es(e,t){if(!ei()(e.theme))return bn(e,t,"axis");let n="axis";if(e.dependentAxis&&e.theme.dependentAxis?n="dependentAxis":!e.dependentAxis&&e.theme.independentAxis&&(n="independentAxis"),"axis"===n)return bn(e,t,"axis");const a=qt()({},e.theme[n],e.theme.axis),r=Object.assign({},e.theme,{axis:a});return bn(Object.assign({},e,{theme:r}),t,"axis")}function Cs(){return{onLoad:{duration:2e3},onExit:{duration:500},onEnter:{duration:500}}}function Bs(){return{onLoad:{duration:2e3,before:()=>({_y:0,_y1:0,_y0:0}),after:e=>({_y:e._y,_y1:e._y1,_y0:e._y0})},onExit:{duration:500,before:(e,t,n)=>{const a=e=>(0===t?n[t+1]:n[t-1])[e];return{_x:a("_x"),_y:a("_y"),_y0:a("_y0")}}},onEnter:{duration:500,before:(e,t,n)=>{const a=e=>(0===t?n[t+1]:n[t-1])[e];return{_x:a("_x"),_y:a("_y"),_y0:a("_y0")}},after:e=>({_x:e._x,_y:e._y,_y1:e._y1,_y0:e._y0})}}}function Ts(){return{onLoad:{duration:2e3,before:()=>({opacity:0}),after:e=>e},onExit:{duration:600,before:()=>({opacity:0})},onEnter:{duration:600,before:()=>({opacity:0}),after:e=>e}}}function Ss(e){const t=w().useRef();return w().useEffect((()=>{t.current=e})),t.current}const xs={nodesShouldLoad:!1,nodesDoneLoad:!1,animating:!0},ws=function(e){void 0===e&&(e=xs);const[t,n]=w().useState(e),a=w().useCallback((e=>{n((t=>({...t,...e})))}),[n]),r=w().useCallback(((e,n,r)=>{if(!e?.animate)return n.props.animate;let o=e.animate&&e.animate.getTransitions;const i=(()=>{let e=t&&t.childrenTransitions;return e=Gr(e)?e[r]:e,qt()({childrenTransitions:e},t)})(),s=e.animate&&e.animate.parentState||i;if(!o){const t=Kr(e,i,(e=>a(e)));o=e=>t(e,r)}return qt()({getTransitions:o,parentState:s},e.animate,n.props.animate)}),[t,a]),o=w().useCallback(((e,t)=>{if(e?.animate)if(e.animate.parentState){const n=e.animate.parentState.nodesWillExit?e:null,r=qt()({oldProps:n,nextProps:t},e.animate.parentState);a(r)}else{const n=w().Children.toArray(e.children),r=w().Children.toArray(t.children),o=e=>{const t=e=>e.type&&e.type.continuous;return Array.isArray(e)?e.some(t):t(e)},i=!e.polar&&n.some((e=>o(e)||e?.props?.children&&o(e.props.children))),{nodesWillExit:s,nodesWillEnter:l,childrenTransitions:d,nodesShouldEnter:u}=Qr(n,r);a({nodesWillExit:s,nodesWillEnter:l,nodesShouldEnter:u,childrenTransitions:Gr(d)?d[0]:d,oldProps:s?e:void 0,nextProps:t,continuous:i})}}),[a]),i=w().useCallback((e=>t&&t.nodesWillExit&&t.oldProps||e),[t]);return{state:t,setState:a,getAnimationProps:r,setAnimationState:o,getProps:i}};var Is=n(4485);const Ls=e=>null!=(void 0!==e._y1?e._y1:e._y)&&null!==e._y0,Ds=e=>t=>e.x(void 0!==t._x1?t._x1:t._x),ks=e=>t=>e.y(void 0!==t._y1?t._y1:t._y),Os=e=>{return`curve${t=e,t&&t[0].toUpperCase()+t.slice(1)}`;var t},Ns=e=>{const{interpolation:t}=e;if("function"==typeof t)return t;if("string"==typeof t){const{polar:n,openCurve:a=!n}=e,r=a?Os(t):(e=>`${Os(e)}Closed`)(t);return C[r]}return Is.curveLinear},Ps=e=>{const{polar:t,scale:n,horizontal:a}=e;return t?Is.lineRadial().defined(Ls).curve(Ns(e)).angle((e=>t=>-1*e.x(void 0!==t._x1?t._x1:t._x)+Math.PI/2)(n)).radius(ks(n)):Is.line().defined(Ls).curve(Ns(e)).x(a?ks(n):Ds(n)).y(a?Ds(n):ks(n))};function Rs(e,t,n){const{a,d:r,e:o,f:i}=t;return"y"===n?r*e+i:a*e+o}function Ms(e){return!(!e||void 0===e.identifier)}function _s(e){if(Ms(e.nativeEvent))return;const t=e=>"svg"===e.nodeName?e:e.parentNode?t(e.parentNode):e;return t(e.target)}function Fs(e,t){if(Ms(e.nativeEvent))return{x:e.nativeEvent.locationX,y:e.nativeEvent.locationY};const n=function(e){return e.changedTouches&&e.changedTouches.length>0}(e)?e.changedTouches[0]:e,a=function(e){return e.getScreenCTM().inverse()}(t||_s(n));return{x:Rs(n.clientX,a,"x"),y:Rs(n.clientY,a,"y")}}function Gs(e,t){const{horizontal:n}=e,a=e.scale,r=t||{x:a.x.domain(),y:a.y.domain()};return{x:n?[a.y(r.y[0]),a.y(r.y[1])]:[a.x(r.x[0]),a.x(r.x[1])],y:n?[a.x(r.x[0]),a.x(r.x[1])]:[a.y(r.y[0]),a.y(r.y[1])]}}function js(e,t,n,a){const{polar:r,horizontal:o}=e;if(!r)return{x:o?t.x.invert(a):t.x.invert(n),y:o?t.y.invert(n):t.y.invert(a)};const i=e.origin||{x:0,y:0},s=n-i.x,l=a-i.y,d=Math.abs(s*Math.sqrt(1+Math.pow(-l/s,2))),u=(-Math.atan2(l,s)+2*Math.PI)%(2*Math.PI);return{x:t.x.invert(u),y:t.y.invert(d)}}function Hs(e){const{x1:t,x2:n,y1:a,y2:r,scale:o}=e,i=js(e,o,t,a),s=js(e,o,n,r),l=(e,t)=>[Ur([e,t]),Hr([e,t])];return{x:l(i.x,s.x),y:l(i.y,s.y)}}var Us=n(94394),Ys=n.n(Us),zs=n(50014),Ws=n.n(zs);function Vs(e){let{children:t,props:n,childComponents:a,parentProps:r}=e;const o=t.some((e=>e.type&&"histogram"===e.type.role)),i=o&&t.length&&t.every((e=>e.type&&"histogram"===e.type.role));if(!i)return r;let s=n.bins||a[0].props.bins;if(!Array.isArray(s)){const e=t.reduce(((e,t)=>{const n=hn(t.props.x||"x");return e.concat(t.props.data.map((e=>({x:n(e)}))))}),[]);s=(0,t[0].type.getFormattedData)({data:e,bins:s}).reduce(((e,t,n)=>{let{x0:a,x1:r}=t;return 0===n?e.concat([a,r]):e.concat(r)}),[])}return{...r,bins:s}}function $s(e,t){const{polar:n,startAngle:a,endAngle:r,categories:o,minDomain:i,maxDomain:s}=e;let l={polar:n,startAngle:a,endAngle:r,categories:o,minDomain:i,maxDomain:s},d=0;const u=t?t.slice(0):w().Children.toArray(e.children);l=Vs({children:u,props:e,childComponents:t,parentProps:l});const c=u.filter((e=>e.type&&"stack"===e.type.role)).length,f=Cn(u,((e,t,n)=>{const a=Object.assign({},e.props,l);let r,o=e;return Wi(e)?(e.type&&mn(e.type.getData)?(o=n?w().cloneElement(e,n.props):e,r=o.type.getData(a)):r=Hi(a),d+=1,r.map(((e,t)=>Object.assign({_stack:d,_group:t},e)))):null}),e,[],((e,t)=>e.concat(Ws()(t,"_group")))),A=c?"_group":"_stack";return Object.values(Ys()(f,A))}function qs(e,t){return e.data?Hi(e):$s(e,t||w().Children.toArray(e.children))}function Qs(e,t,n){const{datasets:a,horizontal:r}=e,o=pn(e,r?"y":"x"),i=Math.abs(o[1]-o[0]),s=void 0!==n?n:Array.isArray(a[0])&&a[0].length||1,l=(t||a.length)*s;return Math.round(.5*i/l)}function Ks(e,t,n){if(e.polar||"x"!==t)return;const a=n.filter((e=>e.type&&e.type.role&&"group"===e.type.role));if(a.length<1)return;const{offset:r,children:o}=a[0].props;if(!r)return;const i=Array.isArray(o)&&o[0];if(!i)return;let s=i.props.barWidth,l=i.props.data&&i.props.data.length||1;if(i&&"stack"===i.type.role){const e=i.props.children&&i.props.children[0];if(!e)return;s=e.props.barWidth,l=i.props.children.length}const d=s||Qs(e,o.length,l);return{x:d*o.length/2+(r-d*((o.length-1)/2))}}function Xs(e,t,n){const a=n?n.slice(0):w().Children.toArray(e.children),r=e.data?Hi(e):void 0,{polar:o,startAngle:i,endAngle:s,categories:l,minDomain:d,maxDomain:u,horizontal:c}=e,f={horizontal:c,polar:o,startAngle:i,endAngle:s,minDomain:d,maxDomain:u,categories:l},A=r?Object.assign(f,{data:r}):f,p=Cn(a,(e=>{const n=Object.assign({},e.props,A);return rs(e)?e.type&&mn(e.type.getDomain)?e.props&&e.type.getDomain(n,t):Qi(n,t):null}),e);return[0===p.length?0:Ur(p),0===p.length?1:Hr(p)]}function Zs(e,t,n){const a=n||w().Children.toArray(e.children),r=Ji(e,t),o=Ks(e,t,a);let i;if(r)i=r;else{const n=ns(e,t),r=ts(e,t),o=(e.data||e.y)&&Hi(e),s=o?Xi(e,t,o):[],l=Xs(e,t,a);i=Zi(n||Ur([...s,...l]),r||Hr([...s,...l]))}return qi(i,Object.assign({domainPadding:o},e),t)}function Js(e,t,n){if(e.data)return gi(e,t);const a=n?n.slice(0):w().Children.toArray(e.children),r=Mo()(Cn(a,(n=>bi(Object.assign({},n.props,{horizontal:e.horizontal}),t)),e));return r.length>1?pi("linear"):pi(r[0])}function el(e){const t=Wo(e,["groupComponent","containerComponent","labelComponent"]);let n=e.events;return Array.isArray(t)&&(n=Array.isArray(e.events)?t.concat(...e.events):t),n||[]}function tl(e,t,n,a){const{style:r}=e;let{colorScale:o,color:i}=e;if(r&&r.data&&r.data.fill)return r.data.fill;if(o=t.props&&t.props.colorScale?t.props.colorScale:o,i=t.props&&t.props.color?t.props.color:i,!o&&!i)return;const s=Array.isArray(o)?o:ar(o,a);return i||s[n%s.length]}function nl(e,t,n){return sn(t,e&&e[n]&&e[n].style?e[n].style:{})}function al(e,t,n,a){const{style:r,role:o}=n,i=e.props.style||{};if(Array.isArray(i))return i;const s=e.type&&e.type.role,l="stack"===s?void 0:tl(n,e,t,a),d="line"===s?{fill:"none",stroke:l}:{fill:l},u="stack"===o?{}:{width:Qs(n)},c=qt()({},i.data,Object.assign({},u,r.data,d)),f=qt()({},i.labels,r.labels);return{...i,parent:r.parent,data:c,labels:f}}function rl(e,t){return Cn(e.slice(0),(e=>rs(e)?Yi(e.props||{},t):null))}function ol(e){return Cn(e.slice(0),(e=>{const t=e.props||{};let n;return Wi(e)?(n=e.type&&mn(e.type.getData)?e.type.getData(t):Hi(t),n.map((e=>({x:e.xName,y:e.yName})))):null}),{},{x:[],y:[]},((e,t)=>{const n=Array.isArray(t)?t.map((e=>e.x)).filter(Boolean):t.x,a=Array.isArray(t)?t.map((e=>e.y)).filter(Boolean):t.y;return{x:void 0!==n?e.x.concat(n):e.x,y:void 0!==a?e.y.concat(a):e.y}}))}function il(e,t,n){const a=Yi(e,t),r=ls(n,t),o=r?Ui(r.props,t):[],i=a.length?a:rl(n,t);return Mo()([...i,...o].flat())}function sl(e,t){const n=t||w().Children.toArray(e.children),a=il(e,"x",n),r=il(e,"y",n),o=ol(n);return{x:Mo()([...a,...o.x].flat()),y:Mo()([...r,...o.y].flat())}}function ll(e,t,n){const a=e.categories&&Yi(e,"x"),r=e.categories&&Yi(e,"y"),o=a&&r?{}:n||sl(e,t),i=a||o.x,s=r||o.y;return{x:i.length>0?i:void 0,y:s.length>0?s:void 0}}},40548:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAEhQTFRFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAq4SsmwAAABh0Uk5TAAJBGyKKgx9HhEuFUCMBU4YTF1FNHgRAjulUugAAAGFJREFUeJzN0M0KgCAQBGBHRCKji9X7P2D0YxAsZdQti/Fcc9wPZpeFygS/AACRgrlEaFURzSEMVLnZXRioSqxeGNRYHcYM6IGADy6yKh+SFQk0Mz+3nR7zGzr0/CXvfAonXVgbGciv0JEAAAAASUVORK5CYII="},87730:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAEJQTFRFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjuH28gAAABZ0Uk5TAAQhAUeKUlNFJohOUSmHSyWGTSOFEkSrCKQAAABoSURBVHicY2TAARiHpAQj4z8Ig/n////IEiyMjL/A4iz/mH8gS3Ay/mb7CqR5frL++IdiBy/jd66PQHHO/5/RLBdg/MLM9Znn/wcMVwn/+8LAw/QWi3OFGRn+w8VR/CHK8Jp4Dw4VCQArjRsZd5NxnQAAAABJRU5ErkJggg=="},25159:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAIpQTFRFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEwIILwAAAC50Uk5TAAQvV26EgnEoeIolQYl6SiIIQCsBLSZ5Fhd7BjEzMHcCdlt1HHIZOCmFGh0kLv9Wb3MAAADwSURBVHichZFtT8IwFIV7ZxVCxgfJnA4YEMBowv//J8RkCgsBFAgDJQMFKVzWbittgHC+3KTPSc99AXJBcA1ALIaIGshC6kBjpQATdjTyk8jPbm7nEph7lodAWCxYUGOZAPsvB2OZ6kC4XQtQwp/CkD/lyC8v7oyGyEEleICeAmowsfoc1MfZuTZCYf3kc9AYFTsaaH45XQ7uaOZbPDyTD1HvN+xfA0mGBI1R+V0D6VcyPAVpeCV4RK1dnMbtQp65nhL+MnB8MSB5/SzDm2y2tR9W22eW6HjHJUZxW2XtuFQOZYfnDyVOSzEW0cCJLoIDXolnGTKQl6EAAAAASUVORK5CYII="},27022:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkkAAAD9CAYAAACoRON+AAAa8klEQVR4Ae3dXWxU95nH8eeMXfyymc00Tm3jQm2W1KirDTAqgauQ8UUidRsIyTZSBKlCpCKQdrchVaq9K7jSXlTNBuj2IohKgU2CKrVqSdg2UrmwAzeFprIDUlZ2E2UI1I6tOJmsIxtH2NPznPE4M+Px+Jx5OXNevh9p4hkzYwg2Z37neZ7//xjicen3h2LSJAmJSI9IpFtkwfyo9yUmhnlLmzcAAOBFyZyPKfM9+23zNmy+f6eMtfFB8ThDPCY9PtRj/qn2mLct5l9kQjKBCAAABM+wWQAZlIWFN2VOBo0N8ZR4iCdCkhmMEmJEHjGrRHuEUAQAQFgNmgWSM/rRrDQlpc7qFpKsNlqrPGPe3WP+hWwVAACAL5yTBTljdMXPSZ24HpLSk0NbZSHylBgL+5knAgAAq0iaeaHfrCydFpe5FpIWZ41eMu8mBAAAwBnXw1LNQ5LVVmuRI+bdwwIAAFAZ18JSTUOS2Vp7xvwfOUpbDQAAVJUhw7Igj9ZywLsmIYnWGgAAcIUhR42OeL/UQNVDEtUjAADgMm3B9VW7qlS1kMTsEQAAqKOk2X57tppbBlQlJC22135r3mW/IwAAUD9VbL9VHJIWA9KAsFM2AADwgogcN9rjz0qFKgpJ1saQaTMgMX8EAAC8ZVBm5dFKrgdXdkgiIAEAAI8bNoNSX7lBqayQREACAAA+UXZQiohD1gwSAQkAAPjDVmmVY1IGRyFpaUibgAQAAPwiLfvNLpjjoOSsksQqNgAA4EcLcjj94ZCjvRxthyTzC2sC6xEAAAB/OmZ2xRJ2n2xrcNu61MiCHBcAAAB/S8qsxO0Mcq9aSVoc1D4qAAAA/tcjLfKSnSeu3m4zzC/EoDYAAAiOPWYRaP9qTyrZbrO+gGEvbQEAAPhIymy7bSjVdluxkrS43P+IAAAABE9M/q50zlm53RYx9IU9AgAAEES6LUCJ1W5FQ1JmWDu9XwAAAIKsRNeseCUpU0UCAAAIusRK1aRlIYkqEgAACJUVqknLK0lUkQAAQLgUrSblhSSqSAAAIJQMeabwU4WVpIQAAACETyL9/lDe5tn5IYl9kQAAQDjFpEX2535iKSQt9uJ6BAAAIJweyX3wRSUpYjwlAAAA4ZWw5rMXfRGS0umEAAAAhJkhe7J3rZCUvjm0VWi1AQAALLXcMpWkBtkqAAAA2Jpd5dZoPTTyB5WAmYkRmTVvc6lxmZ+blvlb0wIgXNbc2WV9bO3ste63dmwSIARi0mwVjwYbFz9BJQkyff0tGb900gpIhCIAhTQoRbu3SdfOg0sBKmj0pHDq7fPWcfCzD96SoGhoikpDc1TaNu82v4ffDOz3r2qMTEgy0p+YJaU5+URQMf3HlRoZsO7rgcQvP4QajpLnj8jnn44JANihb7ZBC0up0QHrWBiGk8SunYdk7f0HBStYkNeMrvgew9ofyZABQUWK/ePSoKQHktimhJXivUZDkf6ZNSQBQDmC8marVfSxiy8uPW5sickd95jH7paYBMH8bEpm/zoscx8nlz4X29QnPbv6Pfn+5AFJozO+wUh/OHTYfHBMUDYNGyMvH1ixEqMlzlhvnxmYdlnByQt03ujdX/2A6hGAiums0sbHX/BtVWnyylm5ceGn1n0NR+seOyZtO/ZLEE2/OyjXX3l6KSzpibwGJRQxK1820mNDxyWy/KJusC81Mijv/fpZW8/Vg8jdW3ZbgaleBxQNSCOvHGDuCEDV6PFs03dP+S4o6YnitZ9/27rfdFeP9H5/QNaYH4NMq0qjP+uTGbOypHqfPOWZE3hPScuGiBmQtghco/8gtaSr/yhHzaAydfW8Ncvk5u9PQAJQbXpsec+sTrt5PKuGsYsnl+53P/lS4AOS0haihsFsK1FbjSgiIlsjgorpSgFtqTmVGZj+kRWY3JgN0oOXtgUJSABqQVeE5YYOP8ged6P3JKxbWGhAak8ctu7r38H//eIJ66QdORYkpiGpR1ARDUharmyKlVdm1tAydfV1q7KkgUlTfS1mhcYvnmQGCUBNTV551TeLQfTYmz0m3rl5j4RN9J4Hlu5rwNWT9hsXnvddNbCGeiJiSDBG9+tMBxc1KOkAXPRr5fd2a9WO0687YR68AKDWtDLuB7nH1qCsYnOiqa1n2ec05GrbFBmNkiYkVYsOLOpKAb1pKNGB7sk/vSpzqfKqN3o2preGC5Wvjrvxh+cFANygxz89wdNjFvxH33cm/3RW2u/bK6EWke5GQU1oYGrfvte6aRlTl5jq7q3lBKZsO05vTlfHsVEkgHrQ4xUhyb+0o6Hfv7DvoURIcoG24rL7UGho0TOsT0cH5HYZA9TZdpzeSm1Wqc/T6pFucgkAbtNjnZ4UljurifrSk/OP3j4vHdvDXU0iJLlMg02mZdafqQ6ZP4TTZV4faKV2nA5+6/wRq9gA1FNqdDD0b7J+pnvqhR0hqY5y55esHvDlszIz6fyHMrcdBwBewZusv32eYkyDkOQBhQPfE1fOWu24OX5AAfjY7CQhCf5GSPIYDUzrH3zOumXnl8od+AaAero9S8sf/kZI8rAv5pf0+nADVn+flhoAv2BTwtXp9dP0orphuByKHxGSfCK2qc+6de08mKkw2Rz41pUlVKEA1AOLR0p75ydxmTVDknUttX8fkNZ1WwXeQkjyGbsbVjY2R6Xz/oPW9gO6czcAwDum3x20ApKan01J6tprhCQPIiT52EobVt7ZmzArToesvZP8cg0lAAC8hpAUELkbVgIAvEMrRcrp9eHmPk5KE7NKdUVIAgCgRm7+5lmZGDxu3e/Zd1radjy16ms+N8PRyM/6rI860L3p+wMMdtdJRAAAQFVp9WjUDDrZgKRS187Zeu0nV1+zApLKBqaZm8MC9xGSAACoMg02Opydy267rfWrW/Iea1Aa/e++peAE99BuQ1nmF0Ru3RbA0wzDfMP5kgCu0hZbduVaVnviGen61lFbr49+PSHrHzsmY2/0L80z6UcNXv/4H0OOZ5tQPkISyraQFsDTKJXDbVOXT+e12NTabx2xHZCy2hOH5Y57ElYFKRuUtJI09vt+Wf8vxwTuICS5RHeerccW/WzmBgDu0epPLicVpEK6b9LG7/3WCkpZk28el9jmR6xqE2qPkFRjGo50/6KJK68SWAAgwLSKlDs3pMv31z92XCqhYUirSpM51alxM4gRktxBSKohDUdjl14kHAFACExdPpP3WNts1dBlfh0NYNm2mw6E631mk2qPln0N6C7X137+bblx4acEJAAIAQ0tuavZtIrUtmP/is9vdBBwNAxpNSmXbhOA2iMkVZGGI71Omt70umoAgHCYKVjNdscq7TDdHDJ3N+2mu7pLPj96zwN5jz8r2F4AtUG7rQo0EI1dPClTV18XAED4zNx8O+9x7N5HSj5fq0O93x+Qj8wWXfTrD5ghKFHy+YUXv51lc0lXEJIqwFA2AEBl54WyGlpXb6dpNanL5tyShip9fnYw/HbB74faICSVgXAEAEDwEZIcIBwBAOplnuqR6whJNhCOAAClFA5ez01dl+g9UjUakHJDUu7QN2qHkLQKHca+ceF5whEAYEVrCkKLrj67e8dTUi2Fq+daCga5URtsAbCC7HL+5PkjBCQAQEm6+ix3c8fU1XNVbY9N/TF/o8rCLQFQG4SkAtpau2lWjjQgaVACAGA1GpBim/csPdaANDF4QqpBV7RNXTm94u+F2iEk5dBQ9M6pJ6zZIwAAnGjbnt9e0+ut5V7LrVxjv8+/aC4ByT2EJMmvHrFTNgCgHHrR2dxNIbWa9N6pR6USejHb3CqS6qrSNeGwutCHJA1FIy8foHoEAKhYz5Mv5c0m6cC1BqVy5pM0II29cTTvc3rR3DWsbHNNqEPS1NXz8s4vnpDZiREBAKBSxXbRTl07J+/8JG679aaB6uZvnl0WkFq/utX82kcF7gntFgDjl07K2MUXBQCAampPHLYuG6KVoCwNSNeObpC27fsltuURqy2XW3FS0+8Oymd/eVMmBo8vqzzpvkgbD/xW4K7QhSSdP0q+fkRSowNSrsbmqDSYt7kU80sAgOWyFZ/coKR0vig7Y6TBJ3s9ttsFm0Xm0gqSBiTabO4LVUjKzh9VMpwd6+2T9Q89J2vu7LI2mtSKFGEJAFBIg5IGIQ1Kc0Vabfq5uVVacO2JZ2T9Y8cF9RGakFRpQGqKdUn3w/0S7d629Lm2zbutxx+9nQlLAADkatux31r19tHl0/Lx5TOrhqIsbcet/ecjeavl4L5QhCQdzB555UDZO2evvf+gdOzYJw1N0WW/phWlrp2H5O4tu2Xs4kmrugQAQFZmmPuoddMh7tTV1+TzqaTVZtPQ1NgSs+aT7jADUeu6LVawKpxXQn0EPiTpBpHv/foHZQWkYtWjlWhY6tnVbwamg9bM0/QH7NYNAMgXu3ePdYM/BDok6RL/5PkfSTnat++1KkTFqkelaFjq/e4p5pUAAPC5wIakcgOSrlzr1Pba9n1SCZ1X0hthCQAAfwpkSCo3IGl7beN3XpCWjk1SLdnh7k9GBmT2w1Fx2+f/P8aFegEAKEPgQpIOaZcTkFrNYLTx8Resdlm16destDJVLg1IhCQAAJwLVEjKrmJzqm3zLln/0A8dzx8BAIDgCkxI0v2P3v2V81VsOqC9/sEfCgAAQK5AhKRyN4rU/Y90BRsAAEChiPicXouNgAQAAKrN9yFJN24kIAEAgGrzdUjS/YdSowOOXkNAAgDA7MTMpgSl+TYkaUAau/iio9cQkAAAWbo9S0NzZlXz7F+HJWxmbobv/9kpX4Yk3feHgAQAqFTr4ubBU5dPh66yMnX5jKA034UknT9Knj/i6DW6DxIBCQBQSE+glQaksd/3S1hMDp6Q6XcHBaX5LiQ5XcmmZwk9u34sAADk0tXRn44OLj2efPO4jL8R/KCkAenGbw4LVuerfZJuXnjeUUDSa7H1fveUAACQS8c2tCtR+J4y9sZR+chsvXUkDkvLui2y5q4eCYrPzMrR1B/PUEFywDchafLKWZm48qrt51sB6clTXGoEALBEq0fjF0/mvZ9Ev7ZN1u48KNf/94jMpcbk84+TVFpg8UVI0qR/48JPHb1m43dqc7FaAIA/FVaPGpuj0nn/waULkP/Tv/5Opq6+bq2e1rAUdi2dmyTsPB+SsjtqO7HuweekpYNvLgBg5epRz+7+ZSfTbZt3S6y3T4b/a6eEXcf2vRJ2ng9JN/7gbA5pbc5ZAQAg3FarHhWjeye137dPJv9kf8QjaDQs0o3xeEjSsqfe7NIzA5b6AwCcVI+K6dp5UD79y0Ao224606v///BwSMrMIT1v+/n6TdUffgBAuJVTPSqk1SRd/DP6yoFQBSV9L2Wm9wueDUk6hzR/a9r28/WHmW8qgHpoMo89fjj+6DF1ZnJEgqrS6lEhfY2+t4yZX9NJV8OvKvm7CipPhiRdWeBkDkkHtfmmAnCTVie+ct9e6dixz1dbjeixVSstQVvBVY3qUTH63tKzq99qP6VGBs2bs4uqe51WzFo6eiXavc26IZ/nQpL+gDu5LpsOlzGoDcBNupO/blTrx33Y9E1fj5v6hqgLY1Kj/n7Tr3b1aCX6tdq377VuCA/PhSQny/21d7r+oecEANyS3cnf7xvV6pv+xsdfsGZutArjR7WqHgFZngpJTi87wo7aANwWtOOOtpLe+cUTjmZA682t6hHgmZCkZwROLjui+yHxjwGAm4K4d4zVRrpvn4xfsj/mUE9Uj+AmT4QkPSvQH3q79EDFfkgA3BbblJAginZ/0wxJ4mlUj1APnghJ+oNvt83GJlcA6sXpm7EuG3dyAlhN3Q//WO7essvWc1s9fhknqkeol7qHJP2hd9ZmO8RZA4C6COoMpC4D9yKqR6i3uockJ6vZdOll22Z7Z0YAUG96oW09sXNKK1B6AqmV87vu3S3laO3sFT+jegQvqGtIcrJpZKbNxhwSAP/QNlY5razPPnjLOjau+fvwjRdQPYKX1C0kOd00kuX+ABBsVI/gNXULSU7abCz3B4DgonoEr6pLSJq8cpY2GwDAMvI/B2R28cK7VI/gJRFxmdVmu+SszQYACK7sVgVaPfrG935JQIJnuF5JGjNLqna3v6fNBgDB126GojVm1yDW2yeAl7haSdJlrXqzgzYbAIQHAQle5GpI0iqSXbTZAABAPbkWkpzsiUSbDQAA1JsrIcnJnki02QAAgBe4EpJu/OF528/tfrhfAAAA6q3mIUkHtVOjA7ae27Z5t0S7twkAAEC91TQkZdps9oa1M222cF2jCAAAeFdNQ5KTnbX1StkMawMAAK+oWUjScJR7HZ5StM3WtnmXAAAAeEXNQpLdYW3abAAAwItqEpKcDGt/5b69tNkAAIDn1CQkORnW5kKGAFBfdq+nCYRN1UOSk521ufQIAD+Zvv5nCaKZiREBsFxVQ5KTnbW59AgAv/n4mr0LdPvN1NXzAmC5qoYkR222HbTZAPjL9PW3rFuQ6MmtzpECWK5qISk1MmD7H5ruidTQFBUA8Jvk+SO2Rwq8bn5uWkZePiAAiqtaSLpxwd6Sf/ZEAuBnGpA0WPg9KOmf/51TTwQm8AG10ChVYHdn7cbmKHsiAfA9Pd5d+/m3l076/HLNSa0czXw4IqnRQavyz6o2oLSKQ5KTnbU7GdYGECAaNGo5zzP9wVvy5/+MC4D6qLjdpsPadqpI7IkEAAD8pKKQ5GRVBHsiAQAAP6koJNldFaF9e9psAADAT8oOSVpBsttmY1gbAAD4TVkhKbOztr2NI3VPJKpIAADAb8oKSbqFvZ0qUqy3jz2RAACALzkOSU6uz7b+oecEAADAjxyHJPttNvZEAgAA/uUoJNndOC0zrH1IAAAA/MpRSLJbRVr3IG02AADgb7ZD0vgleztr655IOrANAADgZ7ZCkt1hbfZEAgAAQWErJLEnEgAACJtVQ5LdYe3Wjk3siQQAAAJj1ZBkt4q08fEXBAAAIChKhiS7w9rsiQQAAIJmxZDkbFibPZEAAECwrBiS7LbZuh/uFwAAgKApGpLsDmvrnkjR7m0CAAAQNMtC0vzctK0qEnsiAQCAIFsWksYv2h3WZk8kAAAQXHkhScPRxJVXV32RttnYEwkAAARZXkgaefnAqi+gzQYAAMJgKSTZ3xOJNhsAAAg+KyTZ3ROJNhsAAAgLKyTRZgMAAMgXmbxyljYbAABAgcjYJdpsAAAAhSLzt6ZLPoE2GwAACKPIak+gzQYAAMKoZEiizQYAAMJqxZBEmw0AAITZiiGp++F+2mwAACC0ioaktfcflGj3NgEAAAirZSEp02Y7JAAAAGGWF5Iam6PS++QpAQAACLu8kNRpttmYQwIAAMgJSe3b90rH9n0CAACAxZDEHBIAAEC+SHYOqaEpKgAAAMiIMIcEAACwXIQ5JAAAgOVWvcAtAABAGBGSAAAAiiAkAQAAFNEoQBkiZrxu/pIAnmYIAJSPkISy6JvPl6hDAgACjLc5AACAIghJAAAARRCSAAAAiiAkAQAAFEFIAgAAKIKQBAAAUAQhCQBQEw3NUQH8jJAUcE2xLgGAemhoIiTB3whJAcdBCkC9NN3JSRr8jZAUcFruXsOBCkAdtHRuEsDPCEkhEOvtEwBwW7T7mwL4GSEpBGKbEgIAbtIqNido8DtCUghEu7exygSAqwhICAJCUki037dPAMAtXTsPCuBrC3JdQ1JSEHgd2/eyHQAAV7Rt3s2CEQQClaSQ0HZb98P9AgC1pCdjVJEQCIakqCSFiM4mrb2fgxeA2tGTMapICARDkhFJy3VBaHTtPGSWwncJAFSbnoTpyRgQCAuSahQqSaHTs+vH1sepq+cFAKph3YPPScd2FoggQG7JMCEppDQoaUl8/NJJAYByNTZH5R++8wIVJARNytgQT0VkXoYFoaStt3v/7XesegNQFt0L6Rvf+yUBCUFkZSND/5OeGPpE0hIThNbU1ddl8vJZmZkcEQAoJfq1bbJ2J/NHCLAFOWF0xQ83Wg/SVmJKCEJL9zXR28zEiHx2/c+SGhmQWTMw3b41LQDCrclszd9hBqPWzk3StmWXNDSxgz8CzsitJI0NHZeIPCNAEfNz03J7lrAEhE1jS5RAhHCKSNxojw9nQtL4UMKMSwMCAAAQbkmjM75B72R23G42y0qGpAQAACDMDBnM3rVCkvHleGpxLgkAACDMXsveiRT7JAAAQAiljI74ueyDL0JSk5ym5QYAAELLkHO5D5dC0mLLbVAAAADCaEHO5D6M5P1iWk4IAABA+CSNtfHB3E/khaTFXxwUAACAMElLf+GnIkWedEYAAADCIym38ueR1PKQ1Gw+iQFuAAAQFmaByNgQX5Z9loUka4B7fnnJCQAAIICS5u10sV+IFPuk0RU/vvgiAACA4NIq0tp4stgvRUq86GkBAAAILl3RdnSlX1wxJLHSDQAABFq69HhRREq/+GmGuAEAQOAYctosCJ0u9ZSSIcnq0THEDQAAgiUpC6vnG0NsSH84NGB+SAgAAIDfmZ2y1apIKiJ2ZIa4kwIAAOBnC3LCTkBStipJKj0+lDCfPSAAAAD+lDQ64xvsPtleJUkWV7styLMCAADgP0mzM9bn5AW2K0lZZkXpqPmqIwIAAOAHulJ/QeIrbRq58svKYAal0+YrnxIAAACvMytIi/s/OmK73ZbL/I326zbeAgAA4GWZlWyDUoayKklLvy8VJQAA4FU2l/qvpKxKUpZVUVqQEwIAAOAVOoOUabGdlgpUFJKsP0dX/PBq1z4BAABwSdIMSX3ltthyVdRuy2W23vabkeuYGZhiAgAA4L5hM4c86nQV20qqFpKUGZR6Fjec7BEAAAC36E7a2t2qoorbbbms5NYkceaUAACAK7LzR1UOSJkvXSOLlzF5SagqAQCAWjDknMzI08aGeEpqoGYhKYsdugEAQJUlK9n/yK6ahyRlzSqJHGVPJQAAULZMa63f6IwfFxe4EpKyCEsAAMCxzLXXTsgtOV6r1lrx37YOcsLSA8LMEgAAKG7QugzaLTnnZjjKqktIymXtr5SpLCUEAACEm1aN5s1gZJjBqMYzR6v/UTxisbqUkIg8YqbGrUKFCQCAcDBk2AxGb3ohGOXyTEgqlJ4c2mr+hW21AlNEtph/0q3s5g0AgO8lF0PRdWkw22kzMliPVpodng1JxaTfH4pJs1VlUrq7d4zgBACAZyVzPibllqS8GoiK+Rtq9nmQxGpQFQAAAABJRU5ErkJggg=="},66581:e=>{"use strict";e.exports=require("bows")},3892:e=>{"use strict";e.exports=require("classnames")},17897:e=>{"use strict";e.exports=require("d3-array")},19483:e=>{"use strict";e.exports=require("d3-format")},81386:e=>{"use strict";e.exports=require("d3-scale")},4485:e=>{"use strict";e.exports=require("d3-shape")},51427:e=>{"use strict";e.exports=require("d3-time-format")},80255:e=>{"use strict";e.exports=require("gsap")},56427:e=>{"use strict";e.exports=require("i18next")},27825:e=>{"use strict";e.exports=require("lodash")},74716:e=>{"use strict";e.exports=require("moment")},55812:e=>{"use strict";e.exports=require("moment-timezone")},29825:e=>{"use strict";e.exports=require("prop-types")},82015:e=>{"use strict";e.exports=require("react")},80789:e=>{"use strict";e.exports=require("react-clipboard.js")},14549:e=>{"use strict";e.exports=require("react-collapse")},7843:e=>{"use strict";e.exports=require("react-markdown")},94568:e=>{"use strict";e.exports=require("react-motion")},22544:e=>{"use strict";e.exports=require("react-redux")},78466:e=>{"use strict";e.exports=require("react-select")},37841:e=>{"use strict";e.exports=require("react-sizeme")},76954:e=>{"use strict";e.exports=require("react-transition-group-plus")},63452:e=>{"use strict";e.exports=require("sundial")},29610:e=>{"use strict";e.exports=require("text-table")},40054:e=>{"use strict";e.exports=require("victory")},44906:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},67049:(e,t,n)=>{var a=n(8498).default;function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var l=i?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(o,s,l):o[s]=e[s]}return o.default=e,n&&n.set(e,o),o},e.exports.__esModule=!0,e.exports.default=e.exports},8498:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},61861:(e,t,n)=>{"use strict";function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}n.d(t,{A:()=>a})},83581:(e,t,n)=>{"use strict";function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.r(t),n.d(t,{default:()=>a})},17559:(e,t,n)=>{"use strict";function a(e,t,n,a,r,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(a,r)}function r(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){a(i,r,o,s,l,"next",e)}function l(e){a(i,r,o,s,l,"throw",e)}s(void 0)}))}}n.r(t),n.d(t,{default:()=>r})},46721:(e,t,n)=>{"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.r(t),n.d(t,{default:()=>a})},4841:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var a=n(61676);function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(0,a.A)(r.key),r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},53671:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var a=n(77294),r=n(24664),o=n(83581);function i(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=(0,a.default)(e);if(t){var s=(0,a.default)(this).constructor;n=Reflect.construct(i,arguments,s)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===(0,r.default)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.default)(e)}(this,n)}}},271:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});var a=n(61676);function r(e,t,n){return(t=(0,a.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},77294:(e,t,n)=>{"use strict";function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}n.d(t,{default:()=>a})},54013:(e,t,n)=>{"use strict";function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}n.r(t),n.d(t,{default:()=>r})},37055:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var a=n(271);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},79222:(e,t,n)=>{"use strict";function a(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.r(t),n.d(t,{default:()=>a})},89679:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});var a=n(24664);function r(){r=function(){return t};var e,t={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",d=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function f(e,t,n,a){var r=t&&t.prototype instanceof y?t:y,o=Object.create(r.prototype),s=new O(a||[]);return i(o,"_invoke",{value:I(e,n,s)}),o}function A(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var p="suspendedStart",g="suspendedYield",m="executing",h="completed",b={};function y(){}function v(){}function E(){}var C={};c(C,l,(function(){return this}));var B=Object.getPrototypeOf,T=B&&B(B(N([])));T&&T!==n&&o.call(T,l)&&(C=T);var S=E.prototype=y.prototype=Object.create(C);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function n(r,i,s,l){var d=A(e[r],e,i);if("throw"!==d.type){var u=d.arg,c=u.value;return c&&"object"==(0,a.default)(c)&&o.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(c).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(d.arg)}var r;i(this,"_invoke",{value:function(e,a){function o(){return new t((function(t,r){n(e,a,t,r)}))}return r=r?r.then(o,o):o()}})}function I(t,n,a){var r=p;return function(o,i){if(r===m)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return{value:e,done:!0}}for(a.method=o,a.arg=i;;){var s=a.delegate;if(s){var l=L(s,a);if(l){if(l===b)continue;return l}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(r===p)throw r=h,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);r=m;var d=A(t,n,a);if("normal"===d.type){if(r=a.done?h:g,d.arg===b)continue;return{value:d.arg,done:a.done}}"throw"===d.type&&(r=h,a.method="throw",a.arg=d.arg)}}}function L(t,n){var a=n.method,r=t.iterator[a];if(r===e)return n.delegate=null,"throw"===a&&t.iterator.return&&(n.method="return",n.arg=e,L(t,n),"throw"===n.method)||"return"!==a&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var o=A(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,b;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,b):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function n(){for(;++r<t.length;)if(o.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError((0,a.default)(t)+" is not iterable")}return v.prototype=E,i(S,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:v,configurable:!0}),v.displayName=c(E,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,u,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},x(w.prototype),c(w.prototype,d,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,a,r,o){void 0===o&&(o=Promise);var i=new w(f(e,n,a,r),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},x(S),c(S,u,"Generator"),c(S,l,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var a in t)n.push(a);return n.reverse(),function e(){for(;n.length;){var a=n.pop();if(a in t)return e.value=a,e.done=!1,e}return e.done=!0,e}},t.values=N,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(a,r){return s.type="throw",s.arg=t,n.next=a,r&&(n.method="next",n.arg=e),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=o.call(i,"catchLoc"),d=o.call(i,"finallyLoc");if(l&&d){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!d)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&o.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var r=a;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var i=r?r.completion:{};return i.type=e,i.arg=t,r?(this.method="next",this.next=r.finallyLoc,b):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var a=n.completion;if("throw"===a.type){var r=a.arg;k(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,a){return this.delegate={iterator:N(t),resultName:n,nextLoc:a},"next"===this.method&&(this.arg=e),b}},t}},21580:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});var a=n(19948);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,i,s=[],l=!0,d=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=o.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){d=!0,r=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(d)throw r}}return s}}(e,t)||(0,a.A)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},84374:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var a=n(61861),r=n(19948);function o(e){return function(e){if(Array.isArray(e))return(0,a.A)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,r.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},61676:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(24664);function r(e){var t=function(e){if("object"!==(0,a.default)(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==(0,a.default)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===(0,a.default)(t)?t:String(t)}},24664:(e,t,n)=>{"use strict";function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}n.r(t),n.d(t,{default:()=>a})},19948:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(61861);function r(e,t){if(e){if("string"==typeof e)return(0,a.A)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,a.A)(e,t):void 0}}},49842:(e,t,n)=>{"use strict";n.r(t),n.d(t,{I18nContext:()=>_,I18nextProvider:()=>V,Trans:()=>H,TransWithoutContext:()=>R,Translation:()=>W,composeInitialProps:()=>G,date:()=>Q,getDefaults:()=>I,getI18n:()=>D,getInitialProps:()=>j,initReactI18next:()=>M,number:()=>X,plural:()=>J,select:()=>Z,selectOrdinal:()=>ee,setDefaults:()=>w,setI18n:()=>L,time:()=>K,useSSR:()=>$,useTranslation:()=>Y,withSSR:()=>q,withTranslation:()=>z});var a=n(82015);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r.apply(this,arguments)}var o=n(22510),i=n.n(o),s=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function l(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(i()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var a=e.indexOf("--\x3e");return{type:"comment",comment:-1!==a?e.slice(4,a):""}}for(var r=new RegExp(s),o=null;null!==(o=r.exec(e));)if(o[0].trim())if(o[1]){var l=o[1].trim(),d=[l,""];l.indexOf("=")>-1&&(d=l.split("=")),t.attrs[d[0]]=d[1],r.lastIndex--}else o[2]&&(t.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return t}var d=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,u=/^\s*$/,c=Object.create(null);function f(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(f,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var A={parse:function(e,t){t||(t={}),t.components||(t.components=c);var n,a=[],r=[],o=-1,i=!1;if(0!==e.indexOf("<")){var s=e.indexOf("<");a.push({type:"text",content:-1===s?e:e.substring(0,s)})}return e.replace(d,(function(s,d){if(i){if(s!=="</"+n.name+">")return;i=!1}var c,f="/"!==s.charAt(1),A=s.startsWith("\x3c!--"),p=d+s.length,g=e.charAt(p);if(A){var m=l(s);return o<0?(a.push(m),a):((c=r[o]).children.push(m),a)}if(f&&(o++,"tag"===(n=l(s)).type&&t.components[n.name]&&(n.type="component",i=!0),n.voidElement||i||!g||"<"===g||n.children.push({type:"text",content:e.slice(p,e.indexOf("<",p))}),0===o&&a.push(n),(c=r[o-1])&&c.children.push(n),r[o]=n),(!f||n.voidElement)&&(o>-1&&(n.voidElement||n.name===s.slice(2,-1))&&(o--,n=-1===o?a:r[o]),!i&&"<"!==g&&g)){c=-1===o?a:r[o].children;var h=e.indexOf("<",p),b=e.slice(p,-1===h?void 0:h);u.test(b)&&(b=" "),(h>-1&&o+c.length>=0||" "!==b)&&c.push({type:"text",content:b})}})),a},stringify:function(e){return e.reduce((function(e,t){return e+f("",t)}),"")}};const p=A;function g(){if(console&&console.warn){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&(t[0]=`react-i18next:: ${t[0]}`),console.warn(...t)}}const m={};function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&m[t[0]]||("string"==typeof t[0]&&(m[t[0]]=new Date),g(...t))}const b=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout((()=>{e.off("initialized",n)}),0),t()};e.on("initialized",n)}};function y(e,t,n){e.loadNamespaces(t,b(e,n))}function v(e,t,n,a){"string"==typeof n&&(n=[n]),n.forEach((t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,b(e,a))}function E(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}const C=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,B={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},T=e=>B[e];let S,x={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(C,T)};function w(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x={...x,...e}}function I(){return x}function L(e){S=e}function D(){return S}function k(e,t){if(!e)return!1;const n=e.props?e.props.children:e.children;return t?n.length>0:!!n}function O(e){if(!e)return[];const t=e.props?e.props.children:e.children;return e.props&&e.props.i18nIsDynamicList?N(t):t}function N(e){return Array.isArray(e)?e:[e]}function P(e,t){if(!e)return"";let n="";const r=N(e),o=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return r.forEach(((e,r)=>{if("string"==typeof e)n+=`${e}`;else if((0,a.isValidElement)(e)){const a=Object.keys(e.props).length,i=o.indexOf(e.type)>-1,s=e.props.children;if(!s&&i&&0===a)n+=`<${e.type}/>`;else if(s||i&&0===a)if(e.props.i18nIsDynamicList)n+=`<${r}></${r}>`;else if(i&&1===a&&"string"==typeof s)n+=`<${e.type}>${s}</${e.type}>`;else{const e=P(s,t);n+=`<${r}>${e}</${r}>`}else n+=`<${r}></${r}>`}else if(null===e)g("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"==typeof e){const{format:t,...a}=e,r=Object.keys(a);if(1===r.length){const e=t?`${r[0]}, ${t}`:r[0];n+=`{{${e}}}`}else g("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else g("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)})),n}function R(e){let{children:t,count:n,parent:o,i18nKey:i,context:s,tOptions:l={},values:d,defaults:u,components:c,ns:f,i18n:A,t:g,shouldUnescape:m,...b}=e;const y=A||D();if(!y)return h("You will need to pass in an i18next instance by using i18nextReactModule"),t;const v=g||y.t.bind(y)||(e=>e);s&&(l.context=s);const E={...I(),...y.options&&y.options.react};let C=f||v.ns||y.options&&y.options.defaultNS;C="string"==typeof C?[C]:C||["translation"];const B=P(t,E),T=u||B||E.transEmptyNodeValue||i,{hashTransKey:S}=E,x=i||(S?S(B||T):B||T);y.options&&y.options.interpolation&&y.options.interpolation.defaultVariables&&(d=d&&Object.keys(d).length>0?{...d,...y.options.interpolation.defaultVariables}:{...y.options.interpolation.defaultVariables});const w=d?l.interpolation:{interpolation:{...l.interpolation,prefix:"#$?",suffix:"?$#"}},L={...l,count:n,...d,...w,defaultValue:T,ns:C},R=function(e,t,n,o,i,s){if(""===t)return[];const l=o.transKeepBasicHtmlNodesFor||[],d=t&&new RegExp(l.map((e=>`<${e}`)).join("|")).test(t);if(!e&&!d&&!s)return[t];const u={};!function e(t){N(t).forEach((t=>{"string"!=typeof t&&(k(t)?e(O(t)):"object"!=typeof t||(0,a.isValidElement)(t)||Object.assign(u,t))}))}(e);const c=p.parse(`<0>${t}</0>`),f={...u,...i};function A(e,t,n){const r=O(e),o=m(r,t.children,n);return function(e){return"[object Array]"===Object.prototype.toString.call(e)&&e.every((e=>(0,a.isValidElement)(e)))}(r)&&0===o.length||e.props&&e.props.i18nIsDynamicList?r:o}function g(e,t,n,o,i){e.dummy?(e.children=t,n.push((0,a.cloneElement)(e,{key:o},i?void 0:t))):n.push(...a.Children.map([e],(e=>{const n={...e.props};return delete n.i18nIsDynamicList,a.createElement(e.type,r({},n,{key:o,ref:e.ref},i?{}:{children:t}))})))}function m(t,r,i){const u=N(t);return N(r).reduce(((t,r,c)=>{const p=r.children&&r.children[0]&&r.children[0].content&&n.services.interpolator.interpolate(r.children[0].content,f,n.language);if("tag"===r.type){let s=u[parseInt(r.name,10)];1!==i.length||s||(s=i[0][r.name]),s||(s={});const h=0!==Object.keys(r.attrs).length?function(e,t){const n={...t};return n.props=Object.assign(e.props,t.props),n}({props:r.attrs},s):s,b=(0,a.isValidElement)(h),y=b&&k(r,!0)&&!r.voidElement,v=d&&"object"==typeof h&&h.dummy&&!b,E="object"==typeof e&&null!==e&&Object.hasOwnProperty.call(e,r.name);if("string"==typeof h){const e=n.services.interpolator.interpolate(h,f,n.language);t.push(e)}else if(k(h)||y)g(h,A(h,r,i),t,c);else if(v)g(h,m(u,r.children,i),t,c);else if(Number.isNaN(parseFloat(r.name)))if(E)g(h,A(h,r,i),t,c,r.voidElement);else if(o.transSupportBasicHtmlNodes&&l.indexOf(r.name)>-1)if(r.voidElement)t.push((0,a.createElement)(r.name,{key:`${r.name}-${c}`}));else{const e=m(u,r.children,i);t.push((0,a.createElement)(r.name,{key:`${r.name}-${c}`},e))}else if(r.voidElement)t.push(`<${r.name} />`);else{const e=m(u,r.children,i);t.push(`<${r.name}>${e}</${r.name}>`)}else if("object"!=typeof h||b)g(h,p,t,c,1!==r.children.length||!p);else{const e=r.children[0]?p:null;e&&t.push(e)}}else if("text"===r.type){const e=o.transWrapTextNodes,i=s?o.unescape(n.services.interpolator.interpolate(r.content,f,n.language)):n.services.interpolator.interpolate(r.content,f,n.language);e?t.push((0,a.createElement)(e,{key:`${r.name}-${c}`},i)):t.push(i)}return t}),[])}return O(m([{dummy:!0,children:e||[]}],c,N(e||[]))[0])}(c||t,x?v(x,L):T,y,E,L,m),M=void 0!==o?o:E.defaultTransParent;return M?(0,a.createElement)(M,b,R):R}const M={type:"3rdParty",init(e){w(e.options.react),L(e)}},_=(0,a.createContext)();class F{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach((e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)}))}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function G(e){return t=>new Promise((n=>{const a=j();e.getInitialProps?e.getInitialProps(t).then((e=>{n({...e,...a})})):n(a)}))}function j(){const e=D(),t=e.reportNamespaces?e.reportNamespaces.getUsedNamespaces():[],n={},a={};return e.languages.forEach((n=>{a[n]={},t.forEach((t=>{a[n][t]=e.getResourceBundle(n,t)||{}}))})),n.initialI18nStore=a,n.initialLanguage=e.language,n}function H(e){let{children:t,count:n,parent:r,i18nKey:o,context:i,tOptions:s={},values:l,defaults:d,components:u,ns:c,i18n:f,t:A,shouldUnescape:p,...g}=e;const{i18n:m,defaultNS:h}=(0,a.useContext)(_)||{},b=f||m||D(),y=A||b&&b.t.bind(b);return R({children:t,count:n,parent:r,i18nKey:o,context:i,tOptions:s,values:l,defaults:d,components:u,ns:c||y&&y.ns||h||b&&b.options&&b.options.defaultNS,i18n:b,t:A,shouldUnescape:p,...g})}const U=(e,t)=>{const n=(0,a.useRef)();return(0,a.useEffect)((()=>{n.current=t?n.current:e}),[e,t]),n.current};function Y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{i18n:n}=t,{i18n:r,defaultNS:o}=(0,a.useContext)(_)||{},i=n||r||D();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new F),!i){h("You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>"string"==typeof t?t:t&&"object"==typeof t&&"string"==typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}i.options.react&&void 0!==i.options.react.wait&&h("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const s={...I(),...i.options.react,...t},{useSuspense:l,keyPrefix:d}=s;let u=e||o||i.options&&i.options.defaultNS;u="string"==typeof u?[u]:u||["translation"],i.reportNamespaces.addUsedNamespaces&&i.reportNamespaces.addUsedNamespaces(u);const c=(i.isInitialized||i.initializedStoreOnce)&&u.every((e=>function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,a)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e))return!1}}):function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=t.languages[0],r=!!t.options&&t.options.fallbackLng,o=t.languages[t.languages.length-1];if("cimode"===a.toLowerCase())return!0;const i=(e,n)=>{const a=t.services.backendConnector.state[`${e}|${n}`];return-1===a||2===a};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!i(t.isLanguageChangingTo,e)||!t.hasResourceBundle(a,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!i(a,e)||r&&!i(o,e)))}(e,t,n):(h("i18n.languages were undefined or empty",t.languages),!0)}(e,i,s)));function f(){return i.getFixedT(t.lng||null,"fallback"===s.nsMode?u:u[0],d)}const[A,p]=(0,a.useState)(f);let g=u.join();t.lng&&(g=`${t.lng}${g}`);const m=U(g),b=(0,a.useRef)(!0);(0,a.useEffect)((()=>{const{bindI18n:e,bindI18nStore:n}=s;function a(){b.current&&p(f)}return b.current=!0,c||l||(t.lng?v(i,t.lng,u,(()=>{b.current&&p(f)})):y(i,u,(()=>{b.current&&p(f)}))),c&&m&&m!==g&&b.current&&p(f),e&&i&&i.on(e,a),n&&i&&i.store.on(n,a),()=>{b.current=!1,e&&i&&e.split(" ").forEach((e=>i.off(e,a))),n&&i&&n.split(" ").forEach((e=>i.store.off(e,a)))}}),[i,g]);const E=(0,a.useRef)(!0);(0,a.useEffect)((()=>{b.current&&!E.current&&p(f),E.current=!1}),[i,d]);const C=[A,i,c];if(C.t=A,C.i18n=i,C.ready=c,c)return C;if(!c&&!l)return C;throw new Promise((e=>{t.lng?v(i,t.lng,u,(()=>e())):y(i,u,(()=>e()))}))}function z(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){function r(r){let{forwardedRef:o,...i}=r;const[s,l,d]=Y(e,{...i,keyPrefix:t.keyPrefix}),u={...i,t:s,i18n:l,tReady:d};return t.withRef&&o?u.ref=o:!t.withRef&&o&&(u.forwardedRef=o),(0,a.createElement)(n,u)}return r.displayName=`withI18nextTranslation(${E(n)})`,r.WrappedComponent=n,t.withRef?(0,a.forwardRef)(((e,t)=>(0,a.createElement)(r,Object.assign({},e,{forwardedRef:t})))):r}}function W(e){const{ns:t,children:n,...a}=e,[r,o,i]=Y(t,a);return n(r,{i18n:o,lng:o.language},i)}function V(e){let{i18n:t,defaultNS:n,children:r}=e;const o=(0,a.useMemo)((()=>({i18n:t,defaultNS:n})),[t,n]);return(0,a.createElement)(_.Provider,{value:o},r)}function $(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{i18n:r}=n,{i18n:o}=(0,a.useContext)(_)||{},i=r||o||D();i.options&&i.options.isClone||(e&&!i.initializedStoreOnce&&(i.services.resourceStore.data=e,i.options.ns=Object.values(e).reduce(((e,t)=>(Object.keys(t).forEach((t=>{e.indexOf(t)<0&&e.push(t)})),e)),i.options.ns),i.initializedStoreOnce=!0,i.isInitialized=!0),t&&!i.initializedLanguageOnce&&(i.changeLanguage(t),i.initializedLanguageOnce=!0))}function q(){return function(e){function t(t){let{initialI18nStore:n,initialLanguage:r,...o}=t;return $(n,r),(0,a.createElement)(e,{...o})}return t.getInitialProps=G(e),t.displayName=`withI18nextSSR(${E(e)})`,t.WrappedComponent=e,t}}const Q=()=>"",K=()=>"",X=()=>"",Z=()=>"",J=()=>"",ee=()=>""}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var o=t[a]={id:a,loaded:!1,exports:{}};return e[a](o,o.exports,n),o.loaded=!0,o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.nc=void 0;var a={};(()=>{"use strict";var e=a,t=n(44906).default;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"colors",{enumerable:!0,get:function(){return L.default}}),e.utils=e.containers=e.components=void 0;var r=t(n(27825)),o=t(n(45108)),i=t(n(13309)),s=t(n(51530)),l=t(n(11436)),d=t(n(50628)),u=t(n(94618)),c=t(n(38933)),f=t(n(39695)),A=t(n(69717)),p=t(n(56607)),g=t(n(75991)),m=t(n(46792)),h=t(n(15910)),b=t(n(63616)),y=t(n(78572)),v=t(n(88054)),E=t(n(32592)),C=t(n(1718)),B=t(n(31768)),T=t(n(54192)),S=n(99559),x=n(84240),w=n(11673),I=n(66871),L=t(n(93870)),D=n(74501),k=n(89540),O=n(80358),N=n(85199),P=n(98020),R=n(37359),M=n(7737),_=t(n(40549)),F=n(51856),G=t(n(79947)),j=n(54114);n(72439);var H=n(56427);void 0===r.default.get(H,"options.returnEmptyString")&&H.init({returnEmptyString:!1,nsSeparator:"|"}),e.components={AlarmTooltip:C.default,BolusTooltip:h.default,CBGDateTraceLabel:o.default,CBGTooltip:E.default,CgmSampleIntervalTooltip:g.default,ClipboardButton:d.default,EventsInfoTooltip:m.default,EventTooltip:T.default,FocusedRangeLabels:i.default,FocusedSMBGPointLabel:s.default,FoodTooltip:B.default,Loader:l.default,PumpSettingsOverrideTooltip:b.default,RangeSelect:u.default,SMBGTooltip:y.default,Stat:v.default,Tooltip:p.default,TwoOptionToggle:c.default},e.containers={PumpSettingsContainer:f.default,TrendsContainer:A.default},e.utils={agp:{AGPConstants:G.default,generateAGPFigureDefinitions:F.generateAGPFigureDefinitions},basal:{getGroupDurations:w.getGroupDurations,getTotalBasalFromEndpoints:w.getTotalBasalFromEndpoints},bg:{formatBgValue:S.formatBgValue,generateBgRangeLabels:x.generateBgRangeLabels,isCustomBgRange:x.isCustomBgRange,reshapeBgClassesToBgBounds:x.reshapeBgClassesToBgBounds},constants:{DEFAULT_BG_BOUNDS:I.DEFAULT_BG_BOUNDS,ADA_STANDARD_BG_BOUNDS:I.ADA_STANDARD_BG_BOUNDS,ADA_OLDER_HIGH_RISK_BG_BOUNDS:I.ADA_OLDER_HIGH_RISK_BG_BOUNDS,ADA_PREGNANCY_T1_BG_BOUNDS:I.ADA_PREGNANCY_T1_BG_BOUNDS,ADA_GESTATIONAL_T2_BG_BOUNDS:I.ADA_GESTATIONAL_T2_BG_BOUNDS,GLYCEMIC_RANGES_PRESET:I.GLYCEMIC_RANGES_PRESET,GLYCEMIC_RANGES_TYPE:I.GLYCEMIC_RANGES_TYPE},datetime:{findBasicsStart:j.findBasicsStart,formatDateRange:D.formatDateRange,formatTimeAgo:D.formatTimeAgo,getLocalizedCeiling:D.getLocalizedCeiling,getOffset:D.getOffset,getTimezoneFromTimePrefs:D.getTimezoneFromTimePrefs},stat:{bankersRound:S.bankersRound,commonStats:O.commonStats,formatDatum:O.formatDatum,formatPercentage:S.formatPercentage,formatStatsPercentage:S.formatStatsPercentage,getStatAnnotations:O.getStatAnnotations,getStatData:O.getStatData,getStatDefinition:O.getStatDefinition,getStatTitle:O.getStatTitle,statBgSourceLabels:O.statBgSourceLabels,statFetchMethods:O.statFetchMethods,statFormats:O.statFormats},settings:{deviceName:k.deviceName},aggregation:{defineBasicsAggregations:j.defineBasicsAggregations,processBasicsAggregations:j.processBasicsAggregations},text:{TextUtil:_.default,trendsText:R.trendsText,basicsText:j.basicsText,bgLogText:P.bgLogText,agpCGMText:M.agpCGMText},glycemicRanges:{getGlycemicRangesPreset:N.getGlycemicRangesPreset}}})();var r=exports;for(var o in a)r[o]=a[o];a.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
|
|
3
3
|
//# sourceMappingURL=index.js.map
|