@tidepool/viz 1.45.0-web-2965-exclude-days.1 → 1.83.2-rc.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/data.js +1 -1
- package/dist/data.js.map +1 -1
- package/dist/getAGPFigures.js +1 -1
- package/dist/getAGPFigures.js.map +1 -1
- 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 +4 -4
- package/static-assets/images/sitechange-twiist-cassette.png +0 -0
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
-
(()=>{var e={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)),p=r(n(80789)),A=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,A.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(p.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,p=e.type,A=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(p)],id:t,max:l,min:a,name:t,onChange:d,step:c||"any",type:p,value:A}),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)),p=(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:p},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).bgBounds,u=e.chartLabelWidth,c=e.datum,f=void 0===c?{}:c,p=e.domain,A=e.index,g=e.scale,m=void 0===g?{x:o.default.noop,y:o.default.noop}:g,h=e.width,b=o.default.isObject(f.deviation),y=!b,v=o.default.get(f,"deviation.value",0),E=(h-u)/h,C={low:m.y(a.targetLowerBound)*E,target:m.y(a.targetUpperBound-a.targetLowerBound)*E,high:m.y(p.y[1]-a.targetUpperBound)*E},B=t/2,T=m.x(A+1)-t/2,S=T+t/2,x=m.y(f._y)*E,w=f._y-v,I=m.y(f._y-v)*E,L=f._y+v,D=m.y(f._y+v)*E,k=y?f._y>0:w>0&&L>0;return r.default.createElement("g",{className:"bgBar"},r.default.createElement("g",{className:"bgScale"},r.default.createElement(s.Arc,{cx:B,cy:S,r:B,startAngle:90,endAngle:270,style:{stroke:"transparent",fill:k?l.default.low:l.default.statDisabled,fillOpacity:k?.5:1}}),r.default.createElement(i.Rect,Object.assign({},e,{x:B,y:T,width:C.low-B,height:t,style:{stroke:"transparent",fill:k?l.default.low:l.default.statDisabled,fillOpacity:k?.5:1}})),r.default.createElement(i.Rect,Object.assign({},e,{x:C.low,y:T,width:C.target,height:t,style:{stroke:"transparent",fill:k?l.default.target:l.default.statDisabled,fillOpacity:k?.5:1}})),r.default.createElement(i.Rect,Object.assign({},e,{x:C.low+C.target,y:T,width:C.high-B,height:t,style:{stroke:"transparent",fill:k?l.default.high:l.default.statDisabled,fillOpacity:k?.5:1}})),r.default.createElement(s.Arc,{cx:C.low+C.target+C.high-B,cy:S,r:B,startAngle:270,endAngle:90,style:{stroke:"transparent",fill:k?l.default.high:l.default.statDisabled,fillOpacity:k?.5:1}})),y&&k&&r.default.createElement("g",{className:"bgMean"},r.default.createElement(i.Point,{x,y:S,style:{fill:l.default[(0,d.classifyBgValue)(a,f._y)],stroke:l.default.white,strokeWidth:2},size:2*t})),b&&k&&r.default.createElement("g",{className:"bgDeviation"},r.default.createElement(i.Rect,Object.assign({},e,{x:o.default.max([I-3,0]),y:S-2*t-1,width:4,height:4*t+2,style:{stroke:"white",strokeWidth:2,fill:l.default[(0,d.classifyBgValue)(a,o.default.max([w,.1]))]}})),r.default.createElement(i.Rect,Object.assign({},e,{x:o.default.min([D-3,h-u-3]),y:S-2*t-1,width:4,height:4*t+2,style:{stroke:"white",strokeWidth:2,fill:l.default[(0,d.classifyBgValue)(a,L)]}}))))};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,p=e.width,A=e.x,g=n/6,m=i.default.get(l,"top",2),h=(p-a)/p;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:A*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,p=e.style,A=void 0===p?{}:p,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({},A,{fontSize:y,display:C?"none":"inherit"}),T=s.TextSize.approximateTextSize(m(d),B),S=i.default.assign({},A,{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])-A.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=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)),p=a(n(27825)),A=a(n(66581)),g=a(n(3892)),m=n(37841),h=n(40054),b=n(14549),y=n(99559),v=n(66871),E=n(80358),C=a(n(18504)),B=a(n(72439)),T=(n(94981),a(n(33255))),S=a(n(96993)),x=a(n(49654)),w=a(n(3582)),I=a(n(39681)),L=a(n(53083)),D=a(n(19229)),k=a(n(36547)),P=a(n(20168)),O=a(n(48899)),M=["renderer"],N=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)).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:C.default.chartTitle},f.default.createElement("span",{className:C.default.chartTitleText},a.state.chartTitle),n&&n!==a.props.emptyDataPlaceholder&&f.default.createElement("span",{className:C.default.chartTitleData},"( ",f.default.createElement("span",{style:{color:B.default[t.id]||B.default.statDefault}},t.value),f.default.createElement("span",{className:C.default.chartTitleSuffix},t.suffix)," )"),a.props.annotations&&!e&&f.default.createElement("span",{className:C.default.tooltipIcon},f.default.createElement("img",{src:P.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:C.default.chartSummary},s.length>0&&i&&p.default.map(s,(function(e,t){return f.default.createElement("div",{className:C.default.summaryData,style:{color:B.default[o.id]||B.default.statDefault}},f.default.createElement("span",{className:C.default.summaryValue},e),f.default.createElement("span",{className:C.default.summarySuffix},l[t]))})),r&&!n&&!a.state.showFooter&&a.renderStatUnits(),a.state.isCollapsible&&f.default.createElement("div",{className:C.default.chartCollapse},f.default.createElement("img",{src:a.state.isOpened?D.default:k.default,onClick:a.handleCollapse})))},a.renderStatUnits=function(){return f.default.createElement("div",{className:C.default.units},a.props.units)},a.renderChildren=function(){return f.default.createElement("div",{className:C.default.statChildren},a.props.children)},a.renderStatHeader=function(){return f.default.createElement("div",{className:C.default.statHeader},a.renderChartTitle(),a.renderChartSummary())},a.renderStatFooter=function(){return f.default.createElement("div",{className:C.default.statFooter},a.props.type===E.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:C.default.statLegend},f.default.createElement(L.default,{items:e}))},a.renderChart=function(e){var t=a.chartProps,n=t.renderer,r=(0,s.default)(t,M);return f.default.createElement(b.Collapse,{isOpened:a.state.isOpened,theme:{collapse:"statCollapse"}},f.default.createElement("div",{className:C.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:C.default.inputWrapper},f.default.createElement(O.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,E.formatDatum)(l,n,a.props)):o.result=(0,E.formatDatum)(l,n,a.props));var d=(0,g.default)((e={},(0,i.default)(e,C.default.outputValue,!0),(0,i.default)(e,C.default.outputValueDisabled,o.result.value===a.props.emptyDataPlaceholder),e));return f.default.createElement("div",{className:C.default.outputWrapper},s&&f.default.createElement("div",{className:C.default.outputLabel},s),f.default.createElement("div",{className:C.default.outputValueWrapper},f.default.createElement("span",{className:d},o.result.value),f.default.createElement("span",{className:C.default.outputSuffix},o.result.suffix)))},a.renderTooltip=function(){return f.default.createElement("div",{className:C.default.StatTooltipWrapper},f.default.createElement(I.default,{annotations:a.props.annotations,offset:a.state.messageTooltipOffset,position:a.state.messageTooltipPosition,side:a.state.messageTooltipSide}))},a.render=function(){var e,t=(0,g.default)((e={},(0,i.default)(e,C.default.Stat,!0),(0,i.default)(e,C.default.isOpen,a.state.isOpened),e));return f.default.createElement("div",{className:C.default.StatWrapper},f.default.createElement("div",{ref:a.setStatRef,className:t},a.renderStatHeader(),a.chartProps.renderer&&f.default.createElement("div",{className:C.default.statMain},f.default.createElement(m.SizeMe,{render:function(e){var t=e.size;return a.renderChart(t)}})),a.props.type===E.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,y.formatPercentage)(e._y)},renderer:null,style:{data:{fill:function(e){return B.default[e.id]||B.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===v.MGDL_UNITS?v.MGDL_CLAMP_TOP:v.MMOLL_CLAMP_TOP]},i={top:10,bottom:10},p.default.assign(m,{alignment:"middle",containerComponent:f.default.createElement(h.VictoryContainer,{responsive:!1}),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(x.default,{barWidth:t,bgPrefs:e.bgPrefs,chartLabelWidth:A,domain:n}),domain:n,height:r,horizontal:!0,labelComponent:f.default.createElement(w.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,E.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,E.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:h.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,E.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(h.VictoryContainer,{responsive:!1}),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(T.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(S.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,E.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,E.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:h.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,E.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,E.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=B.default[e.id]||B.default.statDefault;return(r||o)&&(i=r?B.default.statDisabled:B.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={top:t-i.top+o/2,left:n-i.left+r/2},l={horizontal:r/2,top:-i.height},d=p.default.get(document,"body.clientWidth",0)-n<225?"left":"right";a.setState({showMessages:!0,messageTooltipPosition:s,messageTooltipOffset:l,messageTooltipSide:d})},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,A.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);N.defaultProps={alwaysShowSummary:!1,alwaysShowTooltips:!0,animate:!0,bgPrefs:{},categories:{},chartHeight:0,collapsible:!1,emptyDataPlaceholder:"--",isDisabled:!1,isOpened:!0,legend:!1,muteOthersOnHover:!0,type:E.statTypes.simple},N.displayName="Stat",t.default=N},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)),p=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);p.displayName="StatLegend",t.default=p},39681:(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(7843)),c=r(n(27825)),f=r(n(56607)),p=r(n(72439)),A=r(n(49769)),g=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:"renderMessages",value:function(){var e=this,t=this.props.annotations,n=[];return c.default.each(t,(function(a,r){n.push(d.default.createElement(u.default,{key:"message-".concat(r),className:A.default.message,children:a,linkTarget:"_blank"})),r!==t.length-1&&n.push(d.default.createElement("div",{key:"divider-".concat(r),className:e.props.showDividers?A.default.divider:A.default.hiddenDivider}))})),d.default.createElement("div",{className:A.default.container},n)}},{key:"render",value:function(){return d.default.createElement(f.default,Object.assign({},this.props,{content:this.renderMessages()}))}}]),n}(d.PureComponent);g.defaultProps={annotations:[],tail:!0,side:"right",tailWidth:9,tailHeight:17,tailColor:p.default.statDefault,borderColor:p.default.statDefault,borderWidth:2,showDividers:!0},t.default=g},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(271)),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(815)),p=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.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=e.offset,n=e.side,a=e.tail,r={},o=this.element.getBoundingClientRect(),i=null!=t.left?t.left:t.horizontal||0;if("left"===n&&(i=-i),a){var s=this.tailElem.getBoundingClientRect(),l={top:s.top+s.height/2,left:s.left+s.width/2};r.top=-l.top+o.top+t.top,r.left=-l.left+o.left+i}else{var d,u;switch(n){case"top":d=-o.width/2,u=-o.height;break;case"bottom":d=-o.width/2,u=0;break;case"right":d=0,u=-o.height/2;break;default:d=-o.width,u=-o.height/2}r.top=u+t.top,r.left=d+i}this.setState({offset:r})}}},{key:"renderTail",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"white",a=this.props,r=a.tailWidth,i=a.tailHeight,s=a.borderWidth,l=a.borderColor,d="left"===a.side?"right":"left";"left"===d?(e="calc(-100% - (4 * ".concat(r,"px - ").concat(10,"px)"),t="calc(-100% - (4 * ".concat(r,"px - ").concat(10,"px - ").concat(s+1,"px))")):(e="calc(".concat(10,"px + ").concat(s,"px)"),t="".concat(9,"px"));var p="left"===d?"right":"left",A=this.props.tailColor||this.props.backgroundColor||n;return u.default.createElement("div",null,u.default.createElement("div",{ref:this.setTailElemRef,className:f.default.tail,style:(0,o.default)({marginTop:"-".concat(i,"px"),marginLeft:e,borderWidth:"".concat(i,"px ").concat(2*r,"px")},"border".concat(c.default.upperFirst(p),"Color"),l)}),A!==l&&u.default.createElement("div",{className:f.default.tail,style:(0,o.default)({marginTop:"-".concat(i,"px"),marginLeft:t,borderWidth:"".concat(i,"px ").concat(2*r,"px")},"border".concat(c.default.upperFirst(p),"Color"),this.props.tailColor||this.props.backgroundColor||n)}))}},{key:"renderTitle",value:function(e){var t=this.props,n=t.tail,a=t.content,r=null;return e&&(r=u.default.createElement("div",{className:f.default.title},u.default.createElement("span",null,e),n&&!a&&this.renderTail(f.default.tooltipTitleBg))),r}},{key:"renderContent",value:function(e){var t=null,n=this.props.tail;return e&&(t=u.default.createElement("div",{className:f.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=this.state.offset,l=a.top+s.top,d=a.left+s.left;return u.default.createElement("div",{className:f.default.tooltip,style:{top:l,left:d,backgroundColor:r,borderColor:o,borderWidth:"".concat(i,"px")},ref:this.setElementRef},t&&this.renderTitle(t),n&&this.renderContent(n))}}]),n}(u.PureComponent);p.displayName="Tooltip",p.defaultProps={tail:!0,side:"left",tailWidth:7,tailHeight:8,borderColor:"black",borderWidth:2,offset:{top:0,left:0}},t.default=p},15910:(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=a(n(32935)),f=n(74501),p=n(99559),A=n(11270),g=n(64892),m=r(n(56607)),h=r(n(72439)),b=r(n(14680)),y=r(n(56427)),v=y.default.t.bind(y.default),E=function(e){(0,s.default)(n,e);var t=(0,l.default)(n);function n(e){var a,r,i,s;(0,o.default)(this,n),s=t.call(this,e);var l=c.getCarbs(e.bolus),d=u.default.isFinite(l)&&l>0;return s.bgUnits=(null===(a=s.props.bgPrefs)||void 0===a?void 0:a.bgUnits)||"",s.carbUnits="exchanges"===u.default.get(e,"bolus.carbUnits")?"exch":"g",s.carbRatioUnits="exchanges"===u.default.get(e,"bolus.carbUnits")?"U/exch":"g/U",s.isLoop=(0,A.isLoop)(e.bolus),s.msPer24=(0,f.getMsPer24)(null===(r=e.bolus)||void 0===r?void 0:r.normalTime,null===(i=e.timePrefs)||void 0===i?void 0:i.timezoneName),s.unitStyles=d&&"exch"===s.carbUnits?b.default.unitsWide:b.default.units,s}return(0,i.default)(n,[{key:"formatBgValue",value:function(e){return(0,p.formatBgValue)(e,this.props.bgPrefs)}},{key:"isAnimasExtended",value:function(){var e=c.getAnnotations(this.props.bolus);return-1!==u.default.findIndex(e,{code:"animas/bolus/extended-equal-split"})}},{key:"animasExtendedAnnotationMessage",value:function(){var e=null;if(this.isAnimasExtended()){var t=(0,g.getAnnotationMessages)(c.getBolusFromInsulinEvent(this.props.bolus));e=d.default.createElement("div",{className:b.default.annotation},u.default.find(t,{code:"animas/bolus/extended-equal-split"}).message.value)}return e}},{key:"isMedronicDeconvertedExchange",value:function(){var e=u.default.get(this.props.bolus,"annotations",[]);return-1!==u.default.findIndex(e,{code:"medtronic/wizard/carb-to-exchange-ratio-deconverted"})}},{key:"medronicDeconvertedExchangeMessage",value:function(){var e=null;if(this.isMedronicDeconvertedExchange()){var t=(0,g.getAnnotationMessages)(this.props.bolus);e=d.default.createElement("div",{className:b.default.annotation},u.default.find(t,{code:"medtronic/wizard/carb-to-exchange-ratio-deconverted"}).message.value)}return e}},{key:"getTarget",value:function(){var e,t=this,n=u.default.get(this.props.bolus,"bgTarget"),a=u.default.get(n,"target",null),r=u.default.get(n,"low",null),o=u.default.get(n,"high",null),i=u.default.get(n,"range",null);if(-1!==u.default.findIndex(u.default.get(this.props.bolus,"annotations",[]),{code:"wizard/target-automated"}))return d.default.createElement("div",{className:b.default.target},d.default.createElement("div",{className:b.default.label},v("Target")),d.default.createElement("div",{className:b.default.value},v("Auto")),d.default.createElement("div",{className:this.unitStyles}));if(r)return e=r===o?"".concat(this.formatBgValue(r)):"".concat(this.formatBgValue(r),"-").concat(this.formatBgValue(o)),d.default.createElement("div",{className:b.default.target},d.default.createElement("div",{className:b.default.label},v("Target")),d.default.createElement("div",{className:b.default.value},e),d.default.createElement("div",{className:this.unitStyles}));if(i)return[d.default.createElement("div",{className:b.default.target,key:"target"},d.default.createElement("div",{className:b.default.label},v("Target")),d.default.createElement("div",{className:b.default.value},"".concat(this.formatBgValue(a))),d.default.createElement("div",{className:this.unitStyles})),d.default.createElement("div",{className:b.default.target,key:"range"},d.default.createElement("div",{className:b.default.label},v("Range")),d.default.createElement("div",{className:b.default.value},"".concat(this.formatBgValue(i))),d.default.createElement("div",{className:this.unitStyles}))];if(o)return[d.default.createElement("div",{className:b.default.target,key:"target"},d.default.createElement("div",{className:b.default.label},v("Target")),d.default.createElement("div",{className:b.default.value},"".concat(this.formatBgValue(a))),d.default.createElement("div",{className:this.unitStyles})),d.default.createElement("div",{className:b.default.target,key:"high"},d.default.createElement("div",{className:b.default.label},v("High")),d.default.createElement("div",{className:b.default.value},"".concat(this.formatBgValue(o))),d.default.createElement("div",{className:this.unitStyles}))];if(this.isLoop){var s=u.default.get(this.props.bolus,"dosingDecision.bgTargetSchedule",[]),l=u.default.findLast(u.default.sortBy(s,"start"),(function(e){return e.start<t.msPer24})),c=v("Correction Range");return d.default.createElement("div",{className:b.default.target},d.default.createElement("div",{className:b.default.label},c," (",this.bgUnits,")"),d.default.createElement("div",{className:b.default.value},"".concat(this.formatBgValue(null==l?void 0:l.low),"-").concat(this.formatBgValue(null==l?void 0:l.high))),d.default.createElement("div",{className:this.unitStyles}))}return d.default.createElement("div",{className:b.default.target},d.default.createElement("div",{className:b.default.label},v("Target")),d.default.createElement("div",{className:b.default.value},"".concat(this.formatBgValue(a))),d.default.createElement("div",{className:this.unitStyles}))}},{key:"getExtended",value:function(){var e=c.getBolusFromInsulinEvent(this.props.bolus),t=c.hasExtended(e),n=c.getNormalPercentage(e),a=u.default.get(e,"normal",NaN),r=this.isAnimasExtended(),o=u.default.isNaN(c.getExtendedPercentage(e))?"":"(".concat(c.getExtendedPercentage(e),")"),i=null;return t&&(i=r?d.default.createElement("div",{className:b.default.extended},d.default.createElement("div",{className:b.default.label},"Extended Over*"),d.default.createElement("div",{className:b.default.value},(0,f.formatDuration)(c.getDuration(e)))):[!!a&&d.default.createElement("div",{className:b.default.normal,key:"normal"},d.default.createElement("div",{className:b.default.label},v("Up Front ({{normalPercentage}})",{normalPercentage:n})),d.default.createElement("div",{className:b.default.value},"".concat((0,p.formatInsulin)(a))),d.default.createElement("div",{className:this.unitStyles},"U")),d.default.createElement("div",{className:b.default.extended,key:"extended"},d.default.createElement("div",{className:b.default.label},"Over ".concat((0,f.formatDuration)(c.getDuration(e))," ").concat(o)),d.default.createElement("div",{className:b.default.value},"".concat((0,p.formatInsulin)(c.getExtended(e)))),d.default.createElement("div",{className:this.unitStyles},"U"))]),i}},{key:"renderWizard",value:function(){var e=this,t=this.props.bolus,n=c.getRecommended(t),a=u.default.isFinite(n)?"".concat(n):null,r=null!=t&&t.dosingDecision?u.default.get(t,"dosingDecision.smbg.value",u.default.get(t,"dosingDecision.bgForecast.0.value",null)):u.default.get(t,"bgInput",null),o=u.default.get(t,"insulinOnBoard",null),i=c.getCarbs(t),s=u.default.isFinite(i)&&i>0,l=u.default.get(t,"insulinCarbRatio",null),f=u.default.get(t,"insulinSensitivity",null);if(this.isLoop){var A,g,m=u.default.get(t,"dosingDecision.pumpSettings",{}),h=m.activeSchedule,y=m.carbRatios,E=m.insulinSensitivities;l=(null===(A=u.default.findLast(u.default.sortBy((null==y?void 0:y[h])||[],"start"),(function(t){return t.start<e.msPer24})))||void 0===A?void 0:A.amount)||null,f=(null===(g=u.default.findLast(u.default.sortBy((null==E?void 0:E[h])||[],"start"),(function(t){return t.start<e.msPer24})))||void 0===g?void 0:g.amount)||null}var C=c.getDelivered(t),B=c.isInterruptedBolus(t),T=c.getProgrammed(t),S=c.hasExtended(t),x=this.isAnimasExtended(),w=this.isMedronicDeconvertedExchange(),I=null;c.isOverride(t)&&(I=d.default.createElement("div",{className:b.default.override},d.default.createElement("div",{className:b.default.label},v("Override")),d.default.createElement("div",{className:b.default.value},"+".concat((0,p.formatInsulin)(T-n))),d.default.createElement("div",{className:this.unitStyles},"U"))),c.isUnderride(t)&&(I=d.default.createElement("div",{className:b.default.override},d.default.createElement("div",{className:b.default.label},v("Underride")),d.default.createElement("div",{className:b.default.value},"-".concat((0,p.formatInsulin)(n-T))),d.default.createElement("div",{className:this.unitStyles},"U")));var L=u.default.isFinite(C)&&d.default.createElement("div",{className:b.default.delivered},d.default.createElement("div",{className:b.default.label},v("Delivered")),d.default.createElement("div",{className:b.default.value},"".concat((0,p.formatInsulin)(C))),d.default.createElement("div",{className:this.unitStyles},"U")),D=(B||I)&&!!a&&d.default.createElement("div",{className:b.default.suggested},d.default.createElement("div",{className:b.default.label},v("Recommended")),d.default.createElement("div",{className:b.default.value},(0,p.formatInsulin)(a)),d.default.createElement("div",{className:this.unitStyles},"U")),k=!!r&&d.default.createElement("div",{className:b.default.bg},d.default.createElement("div",{className:b.default.label},v("BG")," (",this.bgUnits,")"),d.default.createElement("div",{className:b.default.value},this.formatBgValue(r)),d.default.createElement("div",{className:this.unitStyles})),P=!!i&&d.default.createElement("div",{className:b.default.carbs},d.default.createElement("div",{className:b.default.label},v("Carbs")),d.default.createElement("div",{className:b.default.value},i),d.default.createElement("div",{className:this.unitStyles},this.carbUnits)),O=u.default.isFinite(o)&&d.default.createElement("div",{className:b.default.iob},d.default.createElement("div",{className:b.default.label},v("IOB")),d.default.createElement("div",{className:b.default.value},"".concat((0,p.formatInsulin)(o))),d.default.createElement("div",{className:this.unitStyles},"U")),M=B&&d.default.createElement("div",{className:b.default.interrupted},d.default.createElement("div",{className:b.default.label},v("Interrupted")),d.default.createElement("div",{className:b.default.value},"-".concat((0,p.formatInsulin)(T-C))),d.default.createElement("div",{className:this.unitStyles},"U")),N=!!s&&!!l&&d.default.createElement("div",{className:b.default.carbRatio},d.default.createElement("div",{className:b.default.label},v("I:C Ratio"),w&&"*"," "," (".concat(this.carbRatioUnits,")")),d.default.createElement("div",{className:b.default.value},l),d.default.createElement("div",{className:this.unitStyles})),R=!!f&&!!r&&d.default.createElement("div",{className:b.default.isf},d.default.createElement("div",{className:b.default.label},v("ISF")," (",this.bgUnits,"/U)"),d.default.createElement("div",{className:b.default.value},"".concat(this.formatBgValue(f))),d.default.createElement("div",{className:this.unitStyles}));return d.default.createElement("div",{className:b.default.container},k,P,O,D,this.getExtended(),(B||I||S)&&d.default.createElement("div",{className:b.default.divider}),I,M,L,(N||R||r||x||w)&&d.default.createElement("div",{className:b.default.divider}),N,R,!!r&&this.getTarget(),this.animasExtendedAnnotationMessage(),this.medronicDeconvertedExchangeMessage())}},{key:"renderNormal",value:function(){var e=this.props.bolus,t=c.getDelivered(e),n=c.isInterruptedBolus(e),a=c.getProgrammed(e),r=this.isAnimasExtended(),o=u.default.isFinite(t)&&d.default.createElement("div",{className:b.default.delivered},d.default.createElement("div",{className:b.default.label},v("Delivered")),d.default.createElement("div",{className:b.default.value},"".concat((0,p.formatInsulin)(t))),d.default.createElement("div",{className:this.unitStyles},"U")),i=n&&d.default.createElement("div",{className:b.default.interrupted},d.default.createElement("div",{className:b.default.label},v("Interrupted")),d.default.createElement("div",{className:b.default.value},"-".concat((0,p.formatInsulin)(a-t))),d.default.createElement("div",{className:this.unitStyles},"U")),s=n&&!!a&&d.default.createElement("div",{className:b.default.programmed},d.default.createElement("div",{className:b.default.label},v("Programmed")),d.default.createElement("div",{className:b.default.value},"".concat((0,p.formatInsulin)(a))),d.default.createElement("div",{className:this.unitStyles},"U"));return d.default.createElement("div",{className:b.default.container},s,i,o,this.getExtended(),r&&d.default.createElement("div",{className:b.default.divider}),this.animasExtendedAnnotationMessage())}},{key:"renderBolus",value:function(){var e;return"wizard"===this.props.bolus.type||null!==(e=this.props.bolus)&&void 0!==e&&e.dosingDecision?this.renderWizard():this.renderNormal()}},{key:"render",value:function(){var e="automated"===u.default.get(this.props.bolus,"subType"),t=this.props.tailColor||e?h.default.bolusAutomated:h.default.bolus,n=this.props.borderColor||e?h.default.bolusAutomated:h.default.bolus,a=d.default.createElement("div",{className:b.default.title},(0,f.formatLocalizedFromUTC)(this.props.bolus.normalTime,this.props.timePrefs,"h:mm a"),e&&d.default.createElement("div",null,v("Automated")));return d.default.createElement(m.default,Object.assign({},this.props,{borderColor:n,tailColor:t,title:a,content:this.renderBolus()}))}}]),n}(d.PureComponent);E.defaultProps={tail:!0,side:"right",tailWidth:9,tailHeight:17,borderWidth:2},t.default=E},32592:(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=n(84240),f=n(99559),p=n(74501),A=n(64892),g=r(n(56607)),m=r(n(72439)),h=r(n(79346)),b=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:"renderCBG",value:function(){var e=this.props.cbg,t=(0,A.getOutOfRangeAnnotationMessage)(e),n=[d.default.createElement("div",{key:"bg",className:h.default.bg},d.default.createElement("div",{className:h.default.label},"BG"),d.default.createElement("div",{className:h.default.value},"".concat((0,f.formatBgValue)(e.value,this.props.bgPrefs,(0,c.getOutOfRangeThreshold)(e)))))];if(!u.default.isEmpty(t)){var a=(0,c.classifyBgValue)((0,c.reshapeBgClassesToBgBounds)(this.props.bgPrefs),this.props.cbg.value,"fiveWay");n.push(d.default.createElement("div",{key:"divider",className:h.default.divider,style:{backgroundColor:m.default[a]}})),n.push(d.default.createElement("div",{key:"outOfRange",className:h.default.annotation},t[0].message.value))}return d.default.createElement("div",{className:h.default.container},n)}},{key:"render",value:function(){var e=(0,c.classifyBgValue)((0,c.reshapeBgClassesToBgBounds)(this.props.bgPrefs),this.props.cbg.value,"fiveWay"),t=this.props.title?this.props.title:d.default.createElement("div",{className:h.default.title},(0,p.formatLocalizedFromUTC)(this.props.cbg.normalTime,this.props.timePrefs,"h:mm a"));return d.default.createElement(g.default,Object.assign({},this.props,{title:t,content:this.renderCBG(),borderColor:m.default[e],tailColor:m.default[e]}))}}]),n}(d.PureComponent);b.defaultProps={tail:!0,side:"right",tailWidth:9,tailHeight:17,tailColor:m.default.bolus,borderColor:m.default.bolus,borderWidth:2},t.default=b},31768:(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(74716)),c=r(n(27825)),f=n(74501),p=r(n(56607)),A=r(n(72439)),g=r(n(730)),m=r(n(56427)),h=n(66871),b=n(11270),y=m.default.t.bind(m.default),v=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:"getAbsorptionTime",value:function(e){return c.default.round(1e3*c.default.get(e,"nutrition.estimatedAbsorptionDuration",0)/h.MS_IN_HOUR,1)}},{key:"getCarbs",value:function(e){return c.default.round(c.default.get(e,"nutrition.carbohydrate.net",0),1)}},{key:"getName",value:function(e){return c.default.get(e,"name")}},{key:"renderFood",value:function(){var e=this.props.food,t=[d.default.createElement("div",{key:"carb",className:g.default.carb},d.default.createElement("div",{className:g.default.label},y("Carbs")),d.default.createElement("div",{className:g.default.value},"".concat(this.getCarbs(e))),d.default.createElement("div",{className:g.default.units},"g"))];if((0,b.isLoop)(e)){var n,a,r,o=this.getAbsorptionTime(e),i=this.getName(e),s=null===(n=e.payload)||void 0===n?void 0:n.userUpdatedDate,l=u.default.utc(null===(a=e.payload)||void 0===a?void 0:a.userCreatedDate).valueOf()!==e.normalTime?null===(r=e.payload)||void 0===r?void 0:r.userCreatedDate:void 0;o>0&&t.unshift(d.default.createElement("div",{key:"absorption",className:g.default.row},d.default.createElement("div",{className:g.default.label},y("Absorption Time (hrs)")),d.default.createElement("div",{className:g.default.value},"".concat(o)),d.default.createElement("div",{className:g.default.units},"hr"))),c.default.isEmpty(i)||t.unshift(d.default.createElement("div",{key:"name",className:g.default.row},d.default.createElement("div",{className:g.default.label},y("Type")),d.default.createElement("div",{className:g.default.value},"".concat(i)))),(s||l)&&(t.push(d.default.createElement("div",{key:"divider",className:g.default.divider})),s?t.push(d.default.createElement("div",{key:"latestUpdatedTime",className:g.default.row},d.default.createElement("div",{className:g.default.label},y("Last Edited")),d.default.createElement("div",{className:g.default.value},(0,f.formatLocalizedFromUTC)(s,this.props.timePrefs,"h:mm")),d.default.createElement("div",{className:g.default.units},(0,f.formatLocalizedFromUTC)(s,this.props.timePrefs,"a")))):t.push(d.default.createElement("div",{key:"timeOfEntry",className:g.default.row},d.default.createElement("div",{className:g.default.label},y("Time of Entry")),d.default.createElement("div",{className:g.default.value},(0,f.formatLocalizedFromUTC)(l,this.props.timePrefs,"h:mm")),d.default.createElement("div",{className:g.default.units},(0,f.formatLocalizedFromUTC)(l,this.props.timePrefs,"a")))))}return d.default.createElement("div",{className:g.default.container},t)}},{key:"render",value:function(){var e=this.props.title?this.props.title:d.default.createElement("div",{className:g.default.title},(0,f.formatLocalizedFromUTC)(this.props.food.normalTime,this.props.timePrefs,"h:mm a"));return d.default.createElement(p.default,Object.assign({},this.props,{title:e,content:this.renderFood()}))}}]),n}(d.PureComponent);v.defaultProps={tail:!0,side:"right",tailWidth:9,tailHeight:17,tailColor:A.default.bolus,borderColor:A.default.bolus,borderWidth:2},t.default=v},63616:(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(58156)),c=r(n(56427)),f=n(74501),p=n(99559),A=n(66871),g=n(11270),m=r(n(56607)),h=r(n(72439)),b=r(n(52130)),y=c.default.t.bind(c.default),v=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:"renderPumpSettingsOverride",value:function(){var e,t=(0,g.getPumpVocabulary)((0,u.default)(this.props.override,"source")),n=t[A.SETTINGS_OVERRIDE],a=(0,u.default)(t[(0,u.default)(this.props.override,"overrideType")],"label"),r=(0,u.default)(this.props.override,"bgTarget",{}),o=r.low,i=r.high,s=o&&i,l=(0,u.default)(this.props.bgPrefs,"bgUnits"),c=[d.default.createElement("div",{key:"override type",className:b.default.overrideType},d.default.createElement("div",{className:s?b.default.boldLabel:b.default.label},n),d.default.createElement("div",{className:b.default.value},a))];return s&&(e=o===i?"".concat((0,p.formatBgValue)(o,this.props.bgPrefs)):"".concat((0,p.formatBgValue)(o,this.props.bgPrefs),"-").concat((0,p.formatBgValue)(i,this.props.bgPrefs)),c.push(d.default.createElement("div",{className:b.default.target},d.default.createElement("div",{className:b.default.label},y("Correction Range"),l?" (".concat(l,")"):""),d.default.createElement("div",{className:b.default.value},e)))),d.default.createElement("div",{className:b.default.container},c)}},{key:"render",value:function(){var e=(0,u.default)(this.props.override,"overrideType"),t=(0,u.default)(this.props.override,"normalTime"),n=(0,u.default)(this.props.override,"normalEnd"),a=this.props.title?this.props.title:d.default.createElement("div",{className:b.default.title},[(0,f.formatLocalizedFromUTC)(t,this.props.timePrefs,"h:mm a"),(0,f.formatLocalizedFromUTC)(n,this.props.timePrefs,"h:mm a")].join(" - "));return d.default.createElement(m.default,Object.assign({},this.props,{title:a,content:this.renderPumpSettingsOverride(),borderColor:this.props.borderColor||h.default[e],tailColor:this.props.tailColor||h.default[e]}))}}]),n}(d.PureComponent);v.defaultProps={tail:!1,side:"top",offset:{top:-2,left:0},borderWidth:2},t.default=v},78572:(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=n(84240),f=n(99559),p=n(74501),A=n(64892),g=r(n(56607)),m=r(n(72439)),h=r(n(88486)),b=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:"renderSMBG",value:function(){var e=this.props.smbg,t=(0,A.getOutOfRangeAnnotationMessage)(e),n=[d.default.createElement("div",{key:"bg",className:h.default.bg},d.default.createElement("div",{className:h.default.label},"BG"),d.default.createElement("div",{className:h.default.value},"".concat((0,f.formatBgValue)(e.value,this.props.bgPrefs,(0,c.getOutOfRangeThreshold)(e)))))],a=u.default.isEmpty(e.subType)?"Meter":"".concat(u.default.upperFirst(e.subType));if(n.push(d.default.createElement("div",{key:"source",className:h.default.source},d.default.createElement("div",{className:h.default.label},"Source"),d.default.createElement("div",{className:h.default.value},a))),u.default.each((0,A.getMedtronic600AnnotationMessages)(e),(function(e){n.push(d.default.createElement("div",{key:e.message.label,className:h.default[u.default.camelCase(e.message.label)]},d.default.createElement("div",{className:h.default.label},e.message.label),d.default.createElement("div",{className:h.default.value},e.message.value)))})),!u.default.isEmpty(t)){var r=(0,c.classifyBgValue)((0,c.reshapeBgClassesToBgBounds)(this.props.bgPrefs),this.props.smbg.value,"fiveWay");n.push(d.default.createElement("div",{key:"divider",className:h.default.divider,style:{backgroundColor:m.default[r]}})),n.push(d.default.createElement("div",{key:"outOfRange",className:h.default.annotation},t[0].message.value))}return d.default.createElement("div",{className:h.default.container},n)}},{key:"render",value:function(){var e=(0,c.classifyBgValue)((0,c.reshapeBgClassesToBgBounds)(this.props.bgPrefs),this.props.smbg.value,"fiveWay"),t=this.props.title?this.props.title:d.default.createElement("div",{className:h.default.title},(0,p.formatLocalizedFromUTC)(this.props.smbg.normalTime,this.props.timePrefs,"h:mm a"));return d.default.createElement(g.default,Object.assign({},this.props,{title:t,content:this.renderSMBG(),borderColor:m.default[e],tailColor:m.default[e]}))}}]),n}(d.PureComponent);b.defaultProps={tail:!0,side:"right",tailWidth:9,tailHeight:17,tailColor:m.default.bolus,borderColor:m.default.bolus,borderWidth:2},t.default=b},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),p=n(4903),A=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,A.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:p.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,A.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)),p=r(n(72255)),A=n(4903),g=a(n(56427)),m=g.default.t.bind(g.default),h=function(e){var t=e.bgUnits,n=e.copySettingsClicked,a=e.openedSections,r=e.pumpSettings,g=e.timePrefs,h=e.toggleProfileExpansion,b=e.user,y=e.deviceDisplayName,v=i.default.map(p.basalSchedules(r),(function(e){var n,l=p.basal(e,r,t,s.default),d=(0,f.insulinSettings)(r,"tandem",e.name),A=d.rows,g=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(h,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},m("Pump Settings")),o.default.createElement(u.default,{rows:A,title:{label:{main:"Insulin Settings"},className:s.default.insulinSettingsHeader},columns:g,tableStyle:s.default.settingsTableInverted})))}));return o.default.createElement("div",null,o.default.createElement("div",{className:s.default.header},o.default.createElement(d.default,{deviceDisplayName:y,deviceMeta:p.deviceMeta(r,g)}),o.default.createElement(l.default,{buttonTitle:m("For email or notes"),onSuccess:n,getText:A.tandemText.bind(void 0,b,r,t)})),o.default.createElement("div",null,o.default.createElement("span",{className:s.default.title},m("Profile Settings")),v))};h.defaultProps={deviceDisplayName:(0,f.deviceName)("tandem"),deviceKey:"tandem"},t.default=h},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,p=e.label.secondary;return f&&!r.default.isEmpty(p)&&(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),p=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=p},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))),p=r(n(40456)),A=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,A=d.default.partial(c,i);return"tandem"===i?u.default.createElement(p.default,{bgUnits:r,copySettingsClicked:o,deviceKey:i,openedSections:t[i],pumpSettings:s,timePrefs:l,toggleProfileExpansion:A,user:n}):d.default.includes(["animas","carelink","insulet","medtronic","microtech","diy loop","tidepool loop"],i)?u.default.createElement(f.default,{bgUnits:r,copySettingsClicked:o,deviceKey:i,openedSections:t[i],pumpSettings:s,timePrefs:l,toggleBasalScheduleExpansion:A,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)(A)},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,p=u.units,A=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:A},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(p)?null:s.default.createElement("span",{className:d.default.secondaryText},p)))}},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)),p=r(n(20168)),A=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:A.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={top:r-l.top+s/2,left:o-l.left+i/2},u={horizontal:i/2,top:-l.height},f=c.default.get(document,"body.clientWidth",0)-o<225?"left":"right";a.setState({activeRow:t,showTooltip:!0,messageTooltipPosition:d,messageTooltipOffset:u,messageTooltipSide:f})},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:A.default.secondaryLabelWithMain},n.secondary)):u.default.createElement("th",{key:t,className:A.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:A.default.rowTooltipIcon},u.default.createElement("img",{src:p.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:A.default.secondaryLabelWithMain},s),this.props.annotations&&u.default.createElement("span",{className:A.default.tooltipIcon},u.default.createElement("img",{src:p.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,p=u.units,A=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:A},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},p))))}},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)),p=n(84240),A=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.cbgRadius,r=t.data,o=t.date,i=t.topMargin,s=t.xScale,l=t.yScale;return f.default.createElement("g",{id:"cbgDateTrace-".concat(o)},u.default.map(r,(function(t){return f.default.createElement("circle",{className:A.default[(0,p.classifyBgValue)(n,t.value,"fiveWay")],cx:s(t.msPer24),cy:l(t.value),id:"cbgCircle-".concat(t.id),key:t.id,onClick:e.handleClick,onMouseOver:function(){e.props.focusDateTrace(t,{left:s(t.msPer24),yPositions:{top:l(t.value),topMargin:i}})},onMouseOut:e.handleMouseOut,opacity:0,r:a,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.data,a=e.dates,l=e.topMargin,d=e.xScale,u=e.yScale;return o.default.createElement(i.default,{component:"g",id:"cbgDateTraces",transitionMode:"simultaneous"},r.default.map(a,(function(a){return o.default.createElement(s.default,{bgBounds:t,data:n[a],date:a,focusDateTrace:e.focusCbgDateTrace,unfocusDateTrace:e.unfocusCbgDateTrace,key:a,onSelectDate:e.onSelectDate,topMargin:l,xScale:d,yScale:u})})))}},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)),p=a(n(82015)),A=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,A.spring)(0,m.springConfig);return{height:t,median:(0,A.spring)(e,m.springConfig),opacity:t}}},{key:"render",value:function(){var e,t,n=this.props,a=n.bgBounds,r=n.datum,i=n.defaultY,s=n.displayingMedian,l=n.showingCbgDateTraces,d=n.sliceWidth,u=n.xScale,h=n.yScale,y=r.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.median,"fiveWay"),"FadeIn")],!l),(0,o.default)(e,b.default["".concat((0,g.classifyBgValue)(a,r.median,"fiveWay"),"FadeOut")],l),e)):(0,f.default)((t={},(0,o.default)(t,b.default.median,!0),(0,o.default)(t,b.default.transparent,!0),t)),v=d/8,E=d-v,C=.75*E,B=u(r.msX)-E/2+v/2,T=E-v,S=s&&void 0!==c.default.get(r,"median");return p.default.createElement(A.TransitionMotion,{defaultStyles:S?[{key:"median",style:{height:0,median:i,opacity:0}}]:[],styles:S?[{key:"median",style:{height:(0,A.spring)(C,m.springConfig),median:(0,A.spring)(h(r.median)-C/2,m.springConfig),opacity:(0,A.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 p.default.createElement("rect",{className:y,id:"cbgMedian-".concat(n),width:T,height:a.height,x:B,y:a.median,opacity:a.opacity})}))}}]),n}(p.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)),p=a(n(82015)),A=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,A.spring)(0,g.springConfig);return c.default.mapValues(t,(function(e,t){return"opacity"===t||-1!==t.search("Height")?a:(0,A.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 p.default.createElement(A.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,A.spring)(m(n[e.y]),g.springConfig)),(0,o.default)(t,e.height,(0,A.spring)(m(n[e.heightKeys[0]])-m(n[e.heightKeys[1]]),g.springConfig)),(0,o.default)(t,"opacity",(0,A.spring)(1,g.springConfig)),t)}})):[],willEnter:this.willEnter,willLeave:this.willLeave},(function(t){return 0===t.length?null:p.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 p.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}(p.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),p=r(n(23746)),A=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(A.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(p.default,{bgBounds:e.props.bgBounds,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,p=c.position,A=(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:p.yPositions[m],left:p.left},v={top:p.yPositions[b],left:p.left},E={top:p.yPositions[h],left:p.left},C=p.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},A," - ",g),borderWidth:0,position:{left:p.left,top:p.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},A," - ",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)),p=a(n(66581)),A=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,p.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,A.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];(!n[0]||n[0]>i.veryLowThreshold)&&(c[0]=i.veryLowThreshold);var p=(0,g.scaleLinear)().domain(c).clamp(!0),h=e.extentSize,b=e.initialDatetimeLocation,y=e.timePrefs,E=v.getTimezoneFromTimePrefs(y),C=v.getLocalizedCeiling(d,y).toISOString(),B=b?v.getLocalizedCeiling(b,y).toISOString():C,T=[(0,m.default)(B).tz(E).subtract(h,"days").toISOString(),B],S={bgDomain:{lo:n[0],hi:n[1]},currentCbgData:a,currentSmbgData:r,dateDomain:{start:T[0],end:T[1]},mostRecent:C,xScale:(0,g.scaleLinear)().domain([0,864e5]),yScale:p};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)),p=n(37359),A=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,p.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,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,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,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,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,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(A.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=function(e){var t=e.bgPrefs,n=e.margins,a=e.textToTickGap,l=e.tickWidth,d=e.yScale,u=t.bgBounds;return o.default.createElement("g",{id:"yAxisLabels"},r.default.map(["targetLowerBound","targetUpperBound","veryHighThreshold","veryLowThreshold"],(function(e){return o.default.createElement("g",{id:"yAxisLabel",key:e},o.default.createElement("text",{className:s.default.text,x:n.left-l-a,y:d(u[e])},(0,i.formatBgValue)(u[e],t)),o.default.createElement("line",{className:s.default.tick,x1:n.left-l,x2:n.left,y1:d(u[e]),y2:d(u[e])}))})))};l.defaultProps={textToTickGap:2,tickWidth:8},t.default=l},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,p=n.allSmbgsOnDate,A=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=p.slice(),E=A.slice();if(!m){var C=o.default.findIndex(p,(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),p=n(4485),A=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 A.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 A.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 A.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:A.default.get(t,["x","val"],t.x),y:A.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)(A.default.get(t,["x","val"],t.x),m.springConfig),y:(0,f.spring)(A.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,p.line)()(A.default.map(A.default.map(e,"style"),(function(e){return[A.default.get(e,["x","val"],e.x),A.default.get(e,["y","val"],e.y)]}))),className:l,onMouseOver:t.handleMouseOver,onMouseOut:t.handleMouseOut,onClick:t.handleClick,pointerEvents:s?"none":"stroke",strokeOpacity:A.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)),p=n(84240),A=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,p.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),A.springConfig),opacity:a||r?(0,c.spring)(.35,A.springConfig):(0,c.spring)(.8,A.springConfig),r:(0,c.spring)(0,A.springConfig)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.anSmbgRangeAvgIsFocused,a=t.bgBounds,r=t.data,o=t.date,i=t.focusSmbg,s=t.isFocused,l=t.nonInteractive,d=t.smbgOpts,g=t.someSmbgDataIsFocused,h=s?d.maxR:d.r,b=this.getPositions();return u.default.createElement(c.TransitionMotion,{defaultStyles:r.length||!l?f.default.map(r,(function(e,t){var n=b[t];return{key:e.id,style:{cx:n.left,opacity:.5,r:0}}})):[],styles:r.length?f.default.map(r,(function(e,t){var r=b[t];return{key:e.id,data:{classes:m.default[(0,p.classifyBgValue)(a,e.value,"fiveWay")],position:r,smbg:e},style:{cx:(0,c.spring)(r.left,A.springConfig),opacity:n||g?(0,c.spring)(.35,A.springConfig):(0,c.spring)(.8,A.springConfig),r:(0,c.spring)(h,A.springConfig)}}})):[],willEnter:this.willEnter,willLeave:this.willLeave},(function(t){return 0===t.length?null:u.default.createElement("g",{id:"smbgDatePoints-".concat(o)},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 i(t.data.smbg,t.data.position,r,b,o)},onMouseOut:e.handleMouseOut,onClick:e.handleClick,cx:a.cx,cy:t.data.position.top,r:a.r,fillOpacity:a.opacity,pointerEvents:l?"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)),p=n(94568),A=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,p.spring)(0,g.springConfig);return{y:(0,p.spring)(t,g.springConfig),height:(0,p.spring)(n,g.springConfig),opacity:a}}},{key:"render",value:function(){var e,t,n=this,a=this.props,r=a.bgBounds,i=a.datum,s=a.defaultY,l=a.meanHeight,d=a.someSmbgDataIsFocused,u=a.width,m=a.xScale,y=a.yScale,v=m(i.msX),E={min:y(i.min),mean:y(i.mean),max:y(i.max)},C=i.mean?(0,c.default)((e={},(0,o.default)(e,b.default.smbgMean,!0),(0,o.default)(e,b.default["".concat((0,A.classifyBgValue)(r,i.mean,"fiveWay"),"FadeIn")],!d),(0,o.default)(e,b.default["".concat((0,A.classifyBgValue)(r,i.mean,"fiveWay"),"FadeOut")],d),e)):(0,c.default)((t={},(0,o.default)(t,b.default.smbgMean,!0),(0,o.default)(t,b.default.transparent,!0),t)),B=m(i.msX)-u/2+b.default.stroke/2,T=u-b.default.stroke;return f.default.createElement(p.TransitionMotion,{defaultStyles:[{key:i.id,style:{y:s,height:0,opacity:0}}],styles:i.min?[{key:i.id,style:{y:(0,p.spring)(E.mean-l/2,g.springConfig),height:(0,p.spring)(l,g.springConfig),opacity:(0,p.spring)(1,g.springConfig)}}]:[],willEnter:this.willEnter,willLeave:this.willLeave},(function(e){return 0===e.length?null:f.default.createElement(h.default,{classes:C,datum:i,focusRange:n.props.focusSmbgRange,unfocusRange:n.props.unfocusSmbgRange,interpolated:e[0],positionData:{left:v,tooltipLeft:i.msX>n.props.tooltipLeftThreshold,yPositions:E},width:T,x:B})}))}}]),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)),p=n(94568),A=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,p.spring)(0,A.springConfig);return{y:(0,p.spring)(e,A.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(p.TransitionMotion,{defaultStyles:[{key:a.id,style:{y:r,height:0,opacity:0}}],styles:a.min?[{key:a.id,style:{y:(0,p.spring)(g.max,A.springConfig),height:(0,p.spring)(g.min-g.max,A.springConfig),opacity:(0,p.spring)(1,A.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,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.dates,u=e.focusSmbg,c=e.unfocusSmbg,f=e.focusedSmbg,p=e.grouped,A=e.lines,g=e.nonInteractive,m=e.onSelectDate,h=e.smbgOpts,b=e.someSmbgDataIsFocused,y=e.tooltipLeftThreshold,v=e.xScale,E=e.yScale,C=f?f.date:"",B=o.default.groupBy(t,"localDate");return o.default.each(d,(function(e){B[e]||(B[e]=[])})),r.default.createElement("g",{id:"smbgsByDateContainer"},(n=[],o.default.each(B,(function(e,t){var a=A?e:[];n.push(r.default.createElement(s.default,{bgBounds:l,data:a,date:t,focusSmbg:u,unfocusSmbg:c,focusedDay:C,grouped:p,key:t,onSelectDate:m,nonInteractive:g,tooltipLeftThreshold:y,xScale:v,yScale:E}))})),C&&n.push(r.default.createElement(s.default,{bgBounds:l,data:f.allSmbgsOnDate,date:C,focusSmbg:u,unfocusSmbg:c,key:"".concat(C,"-focused"),focusedDay:C,grouped:p,onSelectDate:m,nonInteractive:g,tooltipLeftThreshold:y,xScale:v,yScale:E})),n),o.default.map(B,(function(e,t){return r.default.createElement(i.default,{anSmbgRangeAvgIsFocused:a,bgBounds:l,data:e,date:t,focusSmbg:u,unfocusSmbg:c,grouped:p,isFocused:C===t,key:t,nonInteractive:g,onSelectDate:m,smbgOpts:h,someSmbgDataIsFocused:b,tooltipLeftThreshold:y,xScale:v,yScale:E})})))}},79947:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.text=t.fontSizes=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=a(n(271)),u=a(n(27825)),c=a(n(56427)),f=n(56765),p=n(66871),A=c.default.t.bind(c.default);void 0===u.default.get(c.default,"options.returnEmptyString")&&c.default.init({returnEmptyString:!1,nsSeparator:"|"}),t.AGP_BG_CLAMP_MGDL=350,t.AGP_BG_CLAMP_MMOLL=19.4,t.AGP_FOOTER_Y_PADDING=.25*f.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*f.DPI,t.AGP_SECTION_DESCRIPTION_HEIGHT=.25*f.DPI,t.AGP_LOWER_QUANTILE=.05,t.AGP_UPPER_QUANTILE=.95,t.AGP_FONT_FAMILY="Helvetica, Arial, Sans-Serif",t.text={reportHeader:A("AGP Report:"),reportSubHeader:(r={},(0,d.default)(r,p.CGM_DATA_KEY,A("Continuous Glucose Monitoring")),(0,d.default)(r,p.BGM_DATA_KEY,A("Blood Glucose Monitoring")),r),reportFooter:A("Patent pending – HealthPartners Institute dba International Diabetes Center – All Rights Reserved. ©2022"),reportInsuffienctData:A("Insufficient data to generate an AGP Report."),percentInRanges:(o={},(0,d.default)(o,p.CGM_DATA_KEY,{title:A("Time in Ranges"),subtitle:A("Goals for Type 1 and Type 2 Diabetes")}),(0,d.default)(o,p.BGM_DATA_KEY,{title:A("Percent BGM Readings in Ranges")}),o),reportInfo:{dob:A("DOB:"),mrn:A("MRN:")},glucoseMetrics:(i={},(0,d.default)(i,p.CGM_DATA_KEY,{title:A("Glucose metrics"),averageGlucose:{label:A("Average Glucose"),goal:{mgdl:A("Goal: <154 mg/dL"),mmoll:A("Goal: <8.6 mmol/L")}},coefficientOfVariation:{label:A("Glucose Variability"),subLabel:A("Defined as percent coefficient of variation"),goal:A("Goal: <=36%")},glucoseManagementIndicator:{label:A("Glucose Management Indicator (GMI)"),goal:A("Goal: <7%")}}),(0,d.default)(i,p.BGM_DATA_KEY,{title:A("BGM Statistics"),averageGlucose:{label:A("Average Glucose")},bgExtents:{label:A("Lowest/Highest Glucose")},coefficientOfVariation:{label:A("Glucose Variability"),subLabel:A("Defined as percent coefficient of variation"),goal:A("Goal: <=36%")},dailyReadingsInRange:{label:A("Average Readings/Day")},readingsInRange:{label:A("Number of Readings")}}),i),ambulatoryGlucoseProfile:(s={},(0,d.default)(s,p.CGM_DATA_KEY,{title:A("Ambulatory Glucose Profile (AGP)"),description:A("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:A("Target<br>Range"),insufficientData:A("Insufficient CGM data to generate AGP graph")}),(0,d.default)(s,p.BGM_DATA_KEY,{title:A("Ambulatory Glucose Profile (AGP)"),insufficientDataTitle:A("Modal Day BGM Values Graph"),description:A("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:A("Target<br>Range"),insufficientData:A("Insufficient glucose data to generate AGP")}),s),dailyGlucoseProfiles:(l={},(0,d.default)(l,p.CGM_DATA_KEY,{title:A("Daily Glucose Profiles"),description:A("Each daily profile represents a midnight-to-midnight period.")}),(0,d.default)(l,p.BGM_DATA_KEY,{title:A("Daily Glucose Profiles"),description:A("Each daily profile represents a midnight-to-midnight period. The more readings available throughout the day, the more opportunities for improvement.")}),l),bgRanges:{veryHigh:A("Very High"),high:A("High"),target:A("Target"),low:A("Low"),veryLow:A("Very Low")},goals:{veryHigh:A("Goal: <5%"),highCombined:A("Goal: <25%"),target:A("Goal: >70%"),lowCombined:A("Goal: <4%"),veryLow:A("Goal: <1%")},subLabels:{TIRtarget:A("Each 5% increase is clinically beneficial"),TIRminutes:A("Each 1% time in range = about 15 minutes")}},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}};var g="#000000",m="#FFFFFF",h="#D9D9D9",b="#7A7A7A",y="#626267";t.colors={text:{reportHeader:"#522398",label:y,reportFooter:g,section:{title:g,subtitle:y,description:g,insufficientData:g},reportInfo:g,calendarDates:y,goals:{veryHigh:y,highCombined:b,target:b,lowCombined:b,veryLow:y,glucoseMetrics:y},subLabels:{TIRtarget:y,TIRminutes:g,glucoseMetrics:y},subStats:{glucoseMetrics:g},ticks:{bg:y,dailyProfileBg:g,hour:y,percentile:y}},line:{default:y,ticks:h,range:{target:"#00AA51",dailyProfileTarget:g,default:h,divider:m}},white:m,black:g,lightGrey:h,mediumGrey:b,darkGrey:y,background:{shaded:h},bgRange:{veryLow:"#CC0019",low:"#FF0000",lowShaded:"#FF8080",target:"#0BAD5A",high:"#FFBF00",highShaded:"#FFD180",veryHigh:"#FF6900",empty:y},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:h},high:{line:"#FFA600",fill:"#FFD180"}}}},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(66871),p=a(n(74716)),A=t.boldText=function(e){return"<b>".concat(String(e),"</b>")},g=t.chartScaleToPixels=function(e,t){return t*e},m=t.pixelsToChartScale=function(e,t){return t/e},h=t.pointsToPixels=function(e){return.75*e},b=t.createAnnotation=function(e){return i.default.defaultsDeep(e,{arrowside:"none",font:{color:s.colors.black,family:s.AGP_FONT_FAMILY},showarrow:!1})},y=t.calculateCGMDataSufficiency=function(){var e,t,n,a,r,o,s,l,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},A=(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.sampleFrequency,E=b.sensorUsageAGP,C={ambulatoryGlucoseProfile:!0,dailyGlucoseProfiles:!0,glucoseMetrics:!0,percentInRanges:!0},B=y*v/f.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=A[e])||void 0===n?void 0:n.sensorUsage)||{},o=r.count,i=r.sampleFrequency,s=(null===(a=A[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=f.MS_IN_HOUR/i;return{count:o,date:e,maxPossibleReadings:g=0===t?(0,d.bankersRound)((f.MS_IN_DAY-p.msPer24)/i):t===S.length-1?(0,d.bankersRound)(u.msPer24/i):(0,d.bankersRound)(f.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},v=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=3.375*l.DPI,a=.75*l.DPI,r=l.MARGINS.left+l.WIDTH,o=l.MARGINS.top+l.HEIGHT-(.75*l.DPI-l.MARGINS.bottom),i=.25*l.DPI,d={},u=t===f.CGM_DATA_KEY?y(e):v(e);d.percentInRanges={bgSource:t,x:l.MARGINS.left,y:a,width:3.875*l.DPI,height:3*l.DPI,bordered:!0,text:s.text.percentInRanges[t],sufficientData:u.percentInRanges},d.reportInfo={bgSource:t,x:r-n,y:a,width:n,height:l.DPI*(t===f.CGM_DATA_KEY?.875:.55),text:s.text.reportInfo},d.glucoseMetrics={bgSource:t,x:r-n,y:d.reportInfo.y+d.reportInfo.height+i,width:n,height:l.DPI*(t===f.CGM_DATA_KEY?1.875:2.2),bordered:!0,text:s.text.glucoseMetrics[t],sufficientData:u.glucoseMetrics},d.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:u.ambulatoryGlucoseProfile};var c=2.25*l.DPI;return d.dailyGlucoseProfiles={bgSource:t,x:l.MARGINS.left,y:o-c-s.AGP_FOOTER_Y_PADDING,width:l.WIDTH,height:c,bordered:!0,text:s.text.dailyGlucoseProfiles[t],sufficientData:u.dailyGlucoseProfiles},d},t.generatePercentInRangesFigure=function(e,t,n){var a=e.width-2,u=e.height-2-.25*l.DPI-s.AGP_SECTION_BORDER_RADIUS,c=.5*l.DPI,p=.425*l.DPI,g=.3*l.DPI,h=a-2*c,y=u-(p+g),v=.35*l.DPI,E=m.bind(null,y),C=m.bind(null,h),B=i.default.get(t,"data.raw.counts.total",0);if(e.sufficientData){var T,S,x,w,I=i.default.get(t,"data.raw.counts",{}),L=[{id:"veryLow",value:I.veryLow},{id:"low",value:I.low},{id:"target",value:I.target},{id:"high",value:I.high},{id:"veryHigh",value:I.veryHigh}],D=i.default.reduce(L,(function(e,t,n){var a=i.default.toNumber(t.value)/B*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:[]}),k=1/i.default.last(D.ticks);D.rendered=i.default.map(D.rendered,(function(e){return e*k})),D.ticks=i.default.map(D.ticks,(function(e){return e*k}));var P=i.default.map(L,(function(e,n){return{x:[t.id],y:[D.rendered[n]],name:e.id,type:"bar",width:v/h*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}}}})),O=i.default.map([null==n||null===(T=n.bgBounds)||void 0===T?void 0:T.veryLowThreshold,null==n||null===(S=n.bgBounds)||void 0===S?void 0:S.targetLowerBound,null==n||null===(x=n.bgBounds)||void 0===x?void 0:x.targetUpperBound,null==n||null===(w=n.bgBounds)||void 0===w?void 0:w.veryHighThreshold,null==n?void 0:n.bgUnits],(function(e,t){return b({align:"right",font:{size:s.fontSizes.percentInRanges.ticks},text:A(4===t?e:(0,d.formatBgValue)(e,n,void 0,!0)),x:0,xanchor:"right",xshift:-2,y:4===t?D.ticks[1]+(D.ticks[2]-D.ticks[1])/2:D.ticks[t],yanchor:"middle"})})),M=function(e,t,n,a){var r=E(13);if(i.default.isNumber(a)){var o=E(24);return n-a<r&&(a=n-r),{posX:e,posX2:t,posY:n,posY2:a,subBracketXOffset:(t-e)/2,subBracketYOffset:i.default.min([(n-a)/2,o])}}var l=[E(s.AGP_TIR_MIN_TARGET_HEIGHT),1-E(s.AGP_TIR_MIN_TARGET_HEIGHT)];return n<l[0]&&(n=l[0]),n>l[1]&&(n=l[1]),{posX:e,posX2:t,posY:n}},N=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=C(5),d=E(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(" ")},R=[D.ticks[0],E(-11),D.ticks[1]+(D.ticks[2]-D.ticks[1])/2,D.ticks[4],D.ticks[2]+(D.ticks[3]-D.ticks[2])/2],_=[C(v+5),C(h-v)],F={low:M.apply(void 0,_.concat((0,o.default)(R.slice(0,2)))),target:M.apply(void 0,_.concat([R[2]])),high:M.apply(void 0,_.concat((0,o.default)(R.slice(3))))},j=i.default.map(i.default.values(F),(function(e){return{type:"path",path:N(e),line:{color:s.colors.line.default,width:.5},yref:"paper"}})),G=function(e,t,n,a){var r=n>a,o=C(5),i=E(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(" ")},H=[0,F.low.posY2+E(6),1,F.high.posY+E(6)],U=[C(v/2),C(v+2)],z={veryLow:[].concat(U,(0,o.default)(H.slice(0,2))),veryHigh:[].concat(U,(0,o.default)(H.slice(2)))},Y=i.default.map(i.default.values(z),(function(e){return{type:"path",path:G.apply(void 0,(0,o.default)(e)),line:{color:s.colors.black,width:.5},yref:"paper"}})),W={veryLow:F.low.posY2,low:F.low.posY,target:F.target.posY,high:F.high.posY2,veryHigh:F.high.posY},$=i.default.map(["veryLow","low","target","high","veryHigh"],(function(e){return b({align:"left",font:{size:s.fontSizes.percentInRanges.values},text:A(s.text.bgRanges[e]),x:_[0],xanchor:"left",xshift:-1,y:W[e],yanchor:"bottom",yref:"paper",yshift:-1})})),V=i.default.map(["veryLow","low","high","veryHigh"],(function(e){return b({align:"right",font:{size:s.fontSizes.percentInRanges.values},text:A((0,d.formatPercentage)(D.rawById[e],0,!0)),x:_[0]+(_[1]-_[0])/2,xanchor:"right",xshift:-4,y:W[e],yanchor:"bottom",yref:"paper",yshift:-1})})),q={low:F.low.posY2+F.low.subBracketYOffset,target:F.target.posY,high:F.high.posY2+F.high.subBracketYOffset},X={low:D.rawById.veryLow+D.rawById.low,target:D.rawById.target,high:D.rawById.veryHigh+D.rawById.high},K=i.default.map(["low","target","high"],(function(t){return b({align:"left",font:{size:s.fontSizes.percentInRanges.summaries},text:A((0,d.formatPercentage)(X[t],0,!0)),x:_[0]+(_[1]-_[0])/2,xanchor:"left",xshift:e.bgSource===f.CGM_DATA_KEY?3:28,y:q[t],yanchor:"bottom",yref:"paper",yshift:-2})})),Q={veryLow:{x:_[0],xanchor:"left",xshift:-1,y:F.low.posY2,yshift:-11},lowCombined:{x:_[1],xanchor:"right",xshift:1,y:F.low.posY2+F.low.subBracketYOffset,yshift:0},target:{x:_[1],xanchor:"right",xshift:1,y:F.target.posY,yshift:0},highCombined:{x:_[1],xanchor:"right",xshift:1,y:F.high.posY2+F.high.subBracketYOffset,yshift:0},veryHigh:{x:_[0],xanchor:"left",xshift:-1,y:F.high.posY,yshift:9}},Z=i.default.map(["veryLow","lowCombined","target","highCombined","veryHigh"],(function(e){return b((0,r.default)({align:"left",font:{color:s.colors.text.goals[e],size:s.fontSizes.percentInRanges.goals},text:s.text.goals[e],yanchor:"bottom",yref:"paper"},Q[e]))})),J={TIRtarget:{x:C(h),xanchor:"right",xref:"paper",xshift:c-15,y:F.target.posY,yshift:-12},TIRminutes:{x:C(h),xanchor:"right",xref:"paper",xshift:c-7,y:F.low.posY2,yshift:-12}},ee=i.default.map(["TIRtarget","TIRminutes"],(function(e){return b((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"},J[e]))})),te={veryLow:[$[0],V[0],e.bgSource===f.CGM_DATA_KEY&&Z[0]],low:[$[1],V[1]],lowSummary:[K[0],e.bgSource===f.CGM_DATA_KEY&&Z[1]],target:[$[2],K[1],e.bgSource===f.CGM_DATA_KEY&&Z[2],e.bgSource===f.CGM_DATA_KEY&&ee[0]],high:[$[3],V[2]],veryHigh:[$[4],V[3],e.bgSource===f.CGM_DATA_KEY&&Z[4]],highSummary:[K[2],e.bgSource===f.CGM_DATA_KEY&&Z[3]]};return{data:P,layout:{barmode:"stack",width:a,height:u,showlegend:!1,margin:{l:c,r:c,b:g,t:p},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)(O),(0,o.default)(te.veryHigh),(0,o.default)(te.high),(0,o.default)(te.highSummary),(0,o.default)(te.target),(0,o.default)(te.low),(0,o.default)(te.veryLow),(0,o.default)(te.lowSummary),[e.bgSource===f.CGM_DATA_KEY&&ee[1]]),shapes:[].concat((0,o.default)(j),(0,o.default)(Y))}}}return null},t.generateAmbulatoryGlucoseProfileFigure=function(e,t,n,a){var y=e.width-2,v=e.height-2-(s.AGP_SECTION_HEADER_HEIGHT+s.AGP_SECTION_DESCRIPTION_HEIGHT)-s.AGP_SECTION_BORDER_RADIUS,E=.5*l.DPI,C=.2*l.DPI,B=y-2*E,T=v-2*C;if(e.sufficientData||a===f.BGM_DATA_KEY){var S,x,w,I,L=(null==n?void 0:n.bgUnits)===f.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"],P=D[0],O=D[D.length-1],M=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])||O[a],l=e[a],d=(null===(o=D[t+1])||void 0===o?void 0:o[a])||P[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}),{}))})),N=M[0],R=M[M.length-1];M.unshift((0,r.default)((0,r.default)({},R),{},{msX:N.msX-u.ONE_HR})),M.push((0,r.default)((0,r.default)({},N),{},{msX:R.msX+u.ONE_HR}));var _=function(e,t,n,a,r){return{name:n,type:"scatter",x:[].concat((0,o.default)(i.default.map(M,"msX")),(0,o.default)(i.default.map(i.default.reverse((0,o.default)(M)),"msX"))),y:[].concat((0,o.default)(i.default.map(M,e)),(0,o.default)(i.default.map(i.default.reverse((0,o.default)(M)),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=["veryLow","low","target","high","veryHigh"],j=[0,null==n||null===(S=n.bgBounds)||void 0===S?void 0:S.veryLowThreshold,null==n||null===(x=n.bgBounds)||void 0===x?void 0:x.targetLowerBound,null==n||null===(w=n.bgBounds)||void 0===w?void 0:w.targetUpperBound,null==n||null===(I=n.bgBounds)||void 0===I?void 0:I.veryHighThreshold,L],G=i.default.map(j,(function(e,t){var a=i.default.includes([2,3],t),r=0;return 0===t&&(r=4),1===t&&(r=-2),b({align:"right",font:{color:a?s.colors.white:s.colors.text.ticks.bg,size:s.fontSizes.ambulatoryGlucoseProfile.bgTicks},height:9,text:A(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})})),H=i.default.map(i.default.slice(j,2,4),(function(e){return{fillcolor:s.colors.line.range.target,line:{width:0},tick:e,path:(t=e/L*T,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})),U=i.default.map(j,(function(e,t){var n=5===t,r=i.default.includes([2,3],t),o=0===t;return{layer:a===f.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?B+1:B,xref:"paper",xanchor:0,xsizemode:"pixel",y0:e/L,y1:e/L,yref:"paper"}})),z=i.default.map(k,(function(e){return N[e]&&R[e]?(N[e]+R[e])/2:a===f.CGM_DATA_KEY?N[e]||R[e]:void 0})),Y=["5%","25%","50%","75%","95%"],W=i.default.map(z,(function(e){return g(T,e/L)})),$=(0,o.default)(W),V=W[2],q=h(s.fontSizes.ambulatoryGlucoseProfile.percentileTicks)+2;$[1]=i.default.min([V-q,$[1]]),$[0]=i.default.min([$[1]-q,$[0]]),$[3]=i.default.max([V+q,$[3]]),$[4]=i.default.max([$[3]+q,$[4]]);var X=i.default.map($,(function(e,t){return e-W[t]})),K=i.default.map(z,(function(e,t){return b({align:"left",font:{color:2===t?s.colors.black:s.colors.text.ticks.percentile,size:s.fontSizes.ambulatoryGlucoseProfile.percentileTicks},name:F[t],text:A(Y[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:f.MS_IN_DAY})})),Q=i.default.map(z,(function(e,t){return{line:{color:s.colors.line.ticks,width:1},type:"line",visible:i.default.isFinite(e)&&e/L<=1,x0:B,x1:B+5,xref:"paper",xanchor:0,xsizemode:"pixel",y0:e/L,y1:e/L+m(T,X[t]),yref:"paper"}})),Z=i.default.range(0,f.MS_IN_DAY+1,6*f.MS_IN_HOUR),J=i.default.filter(i.default.range(0,f.MS_IN_DAY+1,f.MS_IN_HOUR),(function(e){return e/f.MS_IN_HOUR%12!=0})),ee=i.default.map(i.default.range(0,f.MS_IN_DAY+1,3*f.MS_IN_HOUR),(function(e){return b({align:"center",font:{color:e/f.MS_IN_HOUR%12==0?s.colors.black:s.colors.darkGrey,size:s.fontSizes.ambulatoryGlucoseProfile.hourlyTicks},text:A(p.default.utc(e).format("ha")),y:0,yanchor:"top",yref:"y",yshift:0,xanchor:"middle",xref:"x",x:e})})),te=[],ne=[],ae=[],re=[],oe=!1;if(i.default.each(F,(function(t,n){var r=[j[n],j[n+1]];a===f.CGM_DATA_KEY?(te.push(_("upperQuantile","lowerQuantile","outerQuantile",t,n)),te.push(_("thirdQuartile","firstQuartile","interQuartile",t,n)),te.push({name:"median",type:"scatter",x:i.default.map(M,"msX"),y:i.default.map(M,"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===f.BGM_DATA_KEY&&e.sufficientData&&i.default.each(M,(function(e,a){var r=[M[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&&te.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===M.length-1;if(u&&l.length<2){var c=(r[0].median+r[1].median)/2;oe=c>L/2?"bottom":"top"}if(2===d.length){var p=1===a,A=d[0].msX/f.MS_IN_DAY,g=d[1].msX/f.MS_IN_DAY,h=d[0].median,b=d[1].median;p&&(A=0,h=b-(b-h)/2),u&&(g=1,b-=(b-h)/2),ae.push({type:"line",x0:A,x1:g,y0:h,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=m(B,1.5),v=m(T,1.5)*L,E=[M[a-2],M[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];ae.push({type:"circle",x0:C.msX/f.MS_IN_DAY-y,x1:C.msX/f.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};ne.push(l)})),oe){var ie=m(B,4),se="top"===oe?1-m(T,79):m(T,4);i.default.each(K,(function(e,t){var n=i.default.includes([0,2,4],t),a=2===t,r=15*t;if(re.push({type:"rect",x0:0,x1:5,y0:r,y1:r+15,line:{width:0},fillcolor:s.colors.ambulatoryGlucoseProfile.interQuartile[e.name],xanchor:1+ie,xref:"paper",xsizemode:"pixel",yanchor:0+se,yref:"paper",ysizemode:"pixel"}),a&&re.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+ie,xref:"paper",xsizemode:"pixel",yanchor:0+se,yref:"paper",ysizemode:"pixel"}),n){var o=.5,l=t+1;t>0&&(o=a?7.5:14.5,l=a?t:t-1),Q.push({type:"line",x0:0,x1:5,y0:r+o,y1:r+o,line:{color:s.colors.line.ticks,width:1},xanchor:1+m(B,5)+ie,xref:"paper",xsizemode:"pixel",yanchor:0+se,yref:"paper",ysizemode:"pixel"}),K.push(b({align:"left",font:{color:a?s.colors.black:s.colors.text.ticks.percentile,size:s.fontSizes.ambulatoryGlucoseProfile.percentileTicks},name:F[t],text:A(Y[l]),xanchor:"left",xref:"paper",xshift:5,x:1+m(B,5)+ie,y:m(T,r+o),yanchor:"middle",yref:"paper",yshift:g(T,se)}))}}))}var le=[],de=[],ue=[],ce=[],fe=[];if(a===f.BGM_DATA_KEY){var pe=m(B,2.25),Ae=m(T,2.25),ge=function(e){return i.default.map(i.default.filter(t,(function(t){var a=t.value;return(0,c.classifyBgValue)(n.bgBounds,a,"fiveWay")===e})),(function(t){return{type:"circle",x0:t.msPer24/f.MS_IN_DAY-pe,x1:t.msPer24/f.MS_IN_DAY+pe,y0:i.default.min([t.value,L])/L-Ae,y1:i.default.min([t.value,L])/L+Ae,fillcolor:s.colors.bgReadings[e],line:{color:s.colors.black,width:.25},xref:"paper",xsizemode:"scaled",yref:"paper",ysizemode:"scaled"}}))};ue=ge("veryLow"),de=ge("low"),le=ge("target"),ce=ge("high"),fe=ge("veryHigh")}var me=(0,r.default)((0,r.default)({width:y,height:v,showlegend:!1,margin:{l:E,r:E,b:C,t:C},xaxis:{gridcolor:s.colors.line.ticks,linecolor:s.colors.line.ticks,range:[0,f.MS_IN_DAY],showgrid:!0,showline:!1,showticklabels:!1,tickvals:Z,zeroline:!1},xaxis2:{range:[0,f.MS_IN_DAY],overlaying:"x",showgrid:!1,showline:!1,showticklabels:!1,ticks:"inside",tickcolor:s.colors.lightGrey,ticklen:5,tickvals:J,zeroline:!1}},i.default.reduce(ne,(function(e,t,n){return e[0===n?"yaxis":"yaxis".concat(n+1)]=t,e}),{})),{},{annotations:[].concat((0,o.default)(G),(0,o.default)(K),(0,o.default)(ee),[b({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:j[5]/L,yanchor:"top",yref:"paper",yshift:-4}),b({font:{color:s.colors.black,size:s.fontSizes.ambulatoryGlucoseProfile.bgUnits},text:A(s.text.ambulatoryGlucoseProfile[a].targetRange),x:0,xanchor:"right",xref:"paper",xshift:-2,y:i.default.mean(i.default.slice(j,2,4))/L,yanchor:"middle",yref:"paper"})]),shapes:[].concat((0,o.default)(U),(0,o.default)(H),(0,o.default)(le),(0,o.default)(de),(0,o.default)(ue),(0,o.default)(ce),(0,o.default)(fe),ae,(0,o.default)(Q),re)}),he={data:[].concat(te,[{visible:!1,xaxis:"x2"}],(0,o.default)(i.default.map(ne,(function(e,t){return{visible:!1,yaxis:0===t?"y":"y".concat(t+1)}})))),layout:me};return he}return null},t.generateDailyGlucoseProfilesFigure=function(e,t,n,a){var u=e.width-2,g=(e.height-2-(s.AGP_SECTION_HEADER_HEIGHT+s.AGP_SECTION_DESCRIPTION_HEIGHT)-s.AGP_SECTION_BORDER_RADIUS)/2,h=.5*l.DPI,y=.2*l.DPI,v=u-2*h,E=g-(y+1);if(e.sufficientData){var C,B,T=(null==n?void 0:n.bgUnits)===f.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 b({align:"right",font:{color:s.colors.text.ticks.dailyProfileBg,size:s.fontSizes.dailyGlucoseProfiles.bgTicks},text:A((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*f.MS_IN_DAY+1,12*f.MS_IN_HOUR),L=i.default.map(i.default.filter(I,(function(e,t){return t%2!=0})),(function(e,n){return b({align:"center",font:{color:s.colors.black,size:"ha"===a?s.fontSizes.dailyGlucoseProfiles.timeTicks:s.fontSizes.dailyGlucoseProfiles.weekdayTicks},text:A("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 b({align:"left",font:{color:s.colors.text.calendarDates,size:s.fontSizes.dailyGlucoseProfiles.calendarDates},text:A(p.default.utc(e).format("D")),y:1,yanchor:"top",yref:"paper",yshift:0,xanchor:"left",xref:"x",xshift:0,x:t*f.MS_IN_DAY})})),P=[],O=[],M=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+f.MS_IN_DAY*t,bgRange:e.type===f.BGM_DATA_KEY?(0,c.classifyBgValue)(n.bgBounds,e.value):void 0})}))}))),N=[],R=[],_=[];if(e.bgSource===f.CGM_DATA_KEY&&i.default.each(["low","target","high"],(function(e,t){var n=0===t,a=1===t,r=i.default.first(M),l=i.default.last(M),d=[S[t],S[t+1]],u=n?1:0;P.push({name:"rangeFill",type:"scatter",x:a?[0,7*f.MS_IN_DAY,7*f.MS_IN_DAY,0]:[null==r?void 0:r.msPer24].concat((0,o.default)(i.default.map(M,"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(M,"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}}),P.push({name:"median",type:"scatter",x:i.default.map(M,"msPer24"),y:i.default.map(M,"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};O.push(c)})),e.bgSource===f.BGM_DATA_KEY){var F=m(v,2),j=m(E,2),G=function(e){return i.default.map(i.default.filter(M,{bgRange:e}),(function(t){return{type:"circle",x0:t.msPer24/(7*f.MS_IN_DAY)-F,x1:t.msPer24/(7*f.MS_IN_DAY)+F,y0:i.default.min([t.value,T])/T-j,y1:i.default.min([t.value,T])/T+j,fillcolor:s.colors.bgReadings[e],line:{color:s.colors.black,width:.25},xref:"paper",xsizemode:"scaled",yref:"paper",ysizemode:"scaled"}}))};N=G("low"),R=G("target"),_=G("high"),P.push({name:"rangeFill",type:"scatter",x:[0,7*f.MS_IN_DAY,7*f.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};O.push(H)}var U=(0,r.default)((0,r.default)({width:u,height:g,showlegend:!1,margin:{l:h,r:h,b:1,t:y},xaxis:{gridcolor:s.colors.line.ticks,linecolor:s.colors.line.ticks,range:[0,7*f.MS_IN_DAY],showgrid:!0,showline:!1,showticklabels:!1,tickvals:I,zeroline:!1}},i.default.reduce(O,(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),[b({font:{color:s.colors.text.ticks.bg,size:s.fontSizes.dailyGlucoseProfiles.bgUnits},text:A(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)(R),(0,o.default)(N),(0,o.default)(_))}),z={data:[].concat(P,(0,o.default)(i.default.map(O,(function(e,t){return{visible:!1,yaxis:0===t?"y":"y".concat(t+1)}})))),layout:U};return z}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.isRequired,targetUpperBound:r.default.number.isRequired,targetLowerBound:r.default.number.isRequired,veryLowThreshold:r.default.number.isRequired}),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;if(!t||!e)return"";var a=e.fullName,o=e.birthDate,p=t.timePrefs,A=t.bgPrefs,g=t.data.current.stats,m=g.bgExtents,h=m.newestDatum,b=m.oldestDatum,y=m.bgDaysWorn,v=g.averageGlucose.averageGlucose,E=g.timeInRange,C=E.counts,B=E.durations,T=A||{},S=T.bgUnits,x=T.bgBounds||{},w=x.targetUpperBound,I=x.targetLowerBound,L=x.veryLowThreshold,D=(0,u.getTimezoneFromTimePrefs)(p),k=(0,u.formatCurrentDate)(),P=1===y?i.default.utc((null==h?void 0:h.time)-(0,u.getOffset)(null==h?void 0:h.time,D)*c.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,u.getOffset)(e,i)*c.MS_IN_MIN,l=t-(0,u.getOffset)(t,i)*c.MS_IN_MIN),(0,u.formatDateRange)(s,l,void 0,"MMMM")}(null==b?void 0:b.time,null==h?void 0:h.time,0,0,0,D),O="".concat(I,"-").concat(w),M="".concat(L,"-").concat(I),N="<".concat(L),R=(0,l.formatPercentage)(C.target/C.total,0,!0),_=(0,l.formatPercentage)(C.low/C.total,0,!0),F=(0,l.formatPercentage)(C.veryLow/C.total,0,!0),j=(0,u.formatDuration)(B.target,{condensed:!0}),G=(0,u.formatDuration)(B.low,{condensed:!0}),H=(0,u.formatDuration)(B.veryLow,{condensed:!0}),U=v?null===(n=(0,d.formatDatum)({value:v},"bgValue",{bgPrefs:A,useAGPFormat:!0}))||void 0===n?void 0:n.value:null,z=new s.default,Y="";return Y+=z.buildTextLine(a),Y+=z.buildTextLine(f("Date of birth: {{birthDate}}",{birthDate:o})),Y+=z.buildTextLine(f("Exported from Tidepool TIDE: {{currentDate}}",{currentDate:k})),Y+=z.buildTextLine(""),Y+=z.buildTextLine(f("Reporting Period: {{reportDaysText}}",{reportDaysText:P})),Y+=z.buildTextLine(""),Y+=z.buildTextLine(f("Avg. Daily Time In Range ({{- bgUnits}})",{bgUnits:S})),Y+=z.buildTextLine(f("{{targetRange}} {{percentInTarget}} ({{ durationInTarget }})",{targetRange:O,percentInTarget:R,durationInTarget:j})),Y+=z.buildTextLine(f("{{lowRange}} {{percentInLow}} ({{ durationInLow }})",{lowRange:M,percentInLow:_,durationInLow:G})),Y+=z.buildTextLine(f("{{- veryLowRange}} {{percentInVeryLow}} ({{ durationInVeryLow }})",{veryLowRange:N,percentInVeryLow:F,durationInVeryLow:H})),(Y+=z.buildTextLine(""))+z.buildTextLine(f("Avg. Glucose (CGM): {{avgGlucose}} {{- bgUnits}}",{avgGlucose:U,bgUnits:S}))};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(74501),c=n(66871),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=[];return r.default.each(t,(function(e){if("bg/out-of-range"===r.default.get(e,"code","")){var t=e.value;n.push(r.default.assign({},e,{message:{value:i("* This BG value was {{value}}er than your device could record. Your actual BG value is {{value}}er than it appears here.",{value:t})}}))}})),n}},11673:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.countDistinctSuspends=t.countAutomatedBasalEvents=void 0,t.getBasalGroupDurationsFromEndpoints=function(e,t){var n=new Date(t[0]),a=new Date(t[1]),o={automated:0,manual:0};return r.default.each(e,(function(t,i){var l=t.duration;0===i?l=r.default.min([new Date(t.normalEnd)-n,t.duration]):i===e.length-1&&(l=r.default.min([a-new Date(t.normalTime),t.duration])),o[s(t)]+=l})),o},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=new Date(t[0]),a=new Date(t[1]),i=0;return r.default.each(e,(function(e){var t=new Date(e.normalTime),o=new Date(e.normalEnd),s=n.valueOf()<=t.valueOf()&&t.valueOf()<a.valueOf(),l=n.valueOf()<o.valueOf()&&o.valueOf()<=a.valueOf();if(s||l){var d=0;s&&l?d=e.duration:l?d=r.default.min([o-n,e.duration]):s&&(d=r.default.min([a-t,e.duration])),i+=u(d,e.rate)}})),(0,o.formatInsulin)(i)};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))}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){var i=t.bgPrefs,s=t.data,l=s.aggregationsByDate,d=void 0===l?{}:l,u=s.current.endpoints,c=void 0===u?{}:u,f=t.metaData,g=t.timePrefs,m=new A.TextUtil(e,c.range,g),h=m.buildDocumentHeader("Basics");h+=m.buildDocumentDates(),h+=m.buildTextLine(p("Days with no insulin data have been excluded from calculations")),h+=A.statsText(n,m,i);var b,y,v,E=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 C=E(a.fingersticks.dimensions,d.fingersticks,a.fingersticks.summaryTitle);h+=m.buildTextTable("",C.rows,C.columns,{showHeader:!1})}if(!a.boluses.disabled){var B=E(a.boluses.dimensions,d.boluses,a.boluses.summaryTitle);h+=m.buildTextTable("",B.rows,B.columns,{showHeader:!1})}if(!a.siteChanges.disabled){var T=(b=o.default.get(d,"siteChanges.byDate",{}),y=a.siteChanges.source,v=[],o.default.each(o.default.valuesIn(b),(function(e){var t=o.default.get(e,["summary","daysSince",y]);t&&v.push(t)})),{columns:[{key:"label",label:"Label"},{key:"value",label:"Value"}],rows:[{label:"Mean Duration",value:"".concat(Math.round(10*o.default.mean(v))/10," days")},{label:"Longest Duration",value:"".concat(o.default.max(v)," days")}]});h+=m.buildTextTable("".concat(a.siteChanges.title," from '").concat(a.siteChanges.subTitle,"'"),T.rows,T.columns,{showHeader:!1})}if(!a.basals.disabled){var S=E(a.basals.dimensions,d.basals,a.basals.summaryTitle);h+=m.buildTextTable("",S.rows,S.columns,{showHeader:!1})}var x=o.default.filter(null==f?void 0:f.devices,(function(e){var t,n=e.id;return null==f||null===(t=f.matchedDevices)||void 0===t?void 0:t[n]}));if(x.length){var w=["\n".concat(p("Devices Uploaded"))].concat((0,r.default)(o.default.map(x,(function(e){var t=e.id;return e.label||t}))));o.default.each(w,(function(e){h+=m.buildTextLine(e)}))}return h},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.veryHigh=o.default.upperFirst(a.veryHigh);var r=(0,l.getPumpVocabulary)(t),i={};return o.default.each(["basals","boluses","fingersticks","siteChanges"],(function(e){var t,o,s=e,d="",c=3;switch(e){case"basals":d="Basals",o=p("Total basal events"),t=[{path:"basal.summary",key:"total",label:p("Basal Events"),primary:!0},{path:"basal.summary.subtotals",key:"temp",label:p("Temp Basals"),hideEmpty:(0,l.isLoop)(n.settings)},{path:"basal.summary.subtotals",key:"suspend",label:p("Suspends")},{path:"basal.summary.subtotals",key:"automatedStop",label:p("{{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}],c=4;break;case"boluses":var f;d=p("Bolusing"),o=p("Avg boluses / day"),t=[{path:"summary",key:"total",label:p("Avg per day"),average:!0,primary:!0},{path:"summary.subtotals",key:"wizard",label:p("Calculator"),percentage:!0,selectorIndex:0},{path:"summary.subtotals",key:"correction",label:p("Correction"),percentage:!0,selectorIndex:1},{path:"summary.subtotals",key:"extended",label:p("Extended"),percentage:!0,selectorIndex:4},{path:"summary.subtotals",key:"interrupted",label:p("Interrupted"),percentage:!0,selectorIndex:5},{path:"summary.subtotals",key:"override",label:p("Override"),percentage:!0,selectorIndex:2},{path:"summary.subtotals",key:"underride",label:p("Underride"),percentage:!0,selectorIndex:6}],(0,l.isLoop)(n.settings)&&(t[1].label=p("Meal"),t.splice(3,1),t[2].selectorIndex=6,t[5].selectorIndex=7),n.isAutomatedBolusDevice&&((f=t).push.apply(f,[{path:"summary.subtotals",key:"manual",label:p("Manual"),percentage:!0,selectorIndex:3},{path:"summary.subtotals",key:"automated",label:p("Automated"),percentage:!1,selectorIndex:7}]),c=4);break;case"fingersticks":d=p("BG readings"),o=p("Avg BG readings / day"),t=[{path:"smbg.summary",key:"total",label:p("Avg per day"),average:!0,primary:!0},{path:"smbg.summary.subtotals",key:"meter",label:p("Meter"),percentage:!0},{path:"smbg.summary.subtotals",key:"manual",label:p("Manual"),percentage:!0},{path:"calibration.summary.subtotals",key:"calibration",label:p("Calibrations"),hideEmpty:!0},{path:"smbg.summary.subtotals",key:"veryLow",label:a.veryLow,percentage:!0},{path:"smbg.summary.subtotals",key:"veryHigh",label:a.veryHigh,percentage:!0}];break;case"siteChanges":d=p("Infusion site changes");break;default:s=!1}i[e]={dimensions:t,perRow:c,summaryTitle:o,title:d,type:s}})),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,c,f=i(null===(d=r[s])||void 0===d?void 0:d.basal),A=i(null===(c=r[s])||void 0===c?void 0:c.automatedSuspend);l=!f&&!A}else if("fingersticks"===s){var h,b,y=i(null===(h=r[s])||void 0===h?void 0:h.smbg),v=i(null===(b=r[s])||void 0===b?void 0:b.calibration);l=!y&&!v}else"siteChanges"===s&&(e[o].source=g(n,a),e[o].manufacturer=a,(l=e[o].source===u.SITE_CHANGE_TYPE_UNDECLARED)||(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?p("This section requires data from an insulin pump, so there's nothing to display."):p("There are no {{ type }} events to display for this date range.",{type:p("basals"===n?"basal":"bolus")});break;case"siteChanges":a=i(r[n])?p("Please choose a preferred site change source from the 'Basics' web view to view this data."):p("This section requires data from an insulin pump, so there's nothing to display.");break;case"fingersticks":a=p("This section requires data from a blood-glucose meter, so there's nothing to display.");break;default:a=p("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),p=s.default.t.bind(s.default),A=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_TYPE_UNDECLARED)}else o.default.includes(o.default.map([u.INSULET,u.MICROTECH],o.default.lowerCase),e)?n=u.SITE_CHANGE_RESERVOIR: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){var a,i=t.bgPrefs,s=t.data.current.endpoints,l=void 0===s?{}:s,d=t.metaData,A=t.timePrefs;o.default.defaults(i,{bgBounds:p.reshapeBgClassesToBgBounds(i)});var g=new p.TextUtil(e,l.range,A),m=g.buildDocumentHeader("BG Log");m+=g.buildDocumentDates(),m+=p.statsText(n,g,i),m+=g.buildTextLine();var h=o.default.filter((null==t||null===(a=t.data)||void 0===a?void 0:a.combined)||[],(function(e){return"smbg"===e.type&&e.normalTime>=l.range[0]&&e.normalTime<l.range[1]}));m+=o.default.map(h.reverse(),(function(e){return[(0,c.formatLocalizedFromUTC)(e.normalTime,A,"ddd, MMM D, YYYY h:mm A"),(0,u.formatBgValue)(e.value,i),"(".concat(o.default.capitalize(e.subType||"meter"),")")].join("\t")})).join("\n");var b=o.default.filter(null==d?void 0:d.devices,(function(e){var t,n=e.id;return null==d||null===(t=d.matchedDevices)||void 0===t?void 0:t[n]}));if(b.length){var y=["\n\n".concat(f("Devices Uploaded"))].concat((0,r.default)(o.default.map(b,(function(e){var t=e.id;return e.label||t}))));o.default.each(y,(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=n(99559),c=n(74501),f=i.default.t.bind(i.default),p=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=A,t.calculateSmbgStatsForBin=g,t.cgmSampleFrequency=function(e){var t=i.default.get(e,"deviceId","");return 0===t.indexOf("AbbottFreeStyleLibre3")?5*l.MS_IN_MIN:0===t.indexOf("AbbottFreeStyleLibre")?15*l.MS_IN_MIN:0===t.indexOf("tandemCIQ")&&i.default.get(e,"payload.fsl2")?l.MS_IN_MIN:5*l.MS_IN_MIN},t.classifyBgValue=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"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(t)||!i.default.gt(t,0))throw new Error("You must provide a positive, numerical blood glucose value to categorize!");var a=e.veryLowThreshold,r=e.targetLowerBound,o=e.targetUpperBound,s=e.veryHighThreshold;return"fiveWay"===n?t<a?"veryLow":t>=a&&t<r?"low":t>o&&t<=s?"high":t>s?"veryHigh":"target":t<r?"low":t>o?"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=p,t.generateBgRangeLabels=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.bgBounds,a=e.bgUnits,r=i.default.mapValues(n,(function(t){return(0,u.formatBgValue)(t,e)}));return t.condensed?{veryLow:"<".concat(r.veryLowThreshold),low:"".concat(r.veryLowThreshold,"-").concat(r.targetLowerBound),target:"".concat(r.targetLowerBound,"-").concat(r.targetUpperBound),high:"".concat(r.targetUpperBound,"-").concat(r.veryHighThreshold),veryHigh:">".concat(r.veryHighThreshold),extremeHigh:">".concat(r.extremeHighThreshold)}:t.segmented?{veryLow:{prefix:"below",suffix:a,value:"".concat(r.veryLowThreshold)},low:{prefix:"between",suffix:a,value:"".concat(r.veryLowThreshold,"-").concat(r.targetLowerBound)},target:{prefix:"between",suffix:a,value:"".concat(r.targetLowerBound,"-").concat(r.targetUpperBound)},high:{prefix:"between",suffix:a,value:"".concat(r.targetUpperBound,"-").concat(r.veryHighThreshold)},veryHigh:{prefix:"above",suffix:a,value:"".concat(r.veryHighThreshold)},extremeHigh:{prefix:"above",suffix:a,value:"".concat(r.extremeHighThreshold)}}:{veryLow:"below ".concat(r.veryLowThreshold," ").concat(a),low:"between ".concat(r.veryLowThreshold," - ").concat(r.targetLowerBound," ").concat(a),target:"between ".concat(r.targetLowerBound," - ").concat(r.targetUpperBound," ").concat(a),high:"between ".concat(r.targetUpperBound," - ").concat(r.veryHighThreshold," ").concat(a),veryHigh:"above ".concat(r.veryHighThreshold," ").concat(a),extremeHigh:"above ".concat(r.extremeHighThreshold," ").concat(a)}},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=p(n),l=i.default.map((0,s.range)(t/2,d.TWENTY_FOUR_HRS,t),(function(e){return String(e)})),u="smbg"===e?g:A,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){var n=1,a=i.default.get(t,"deviceId","");return"cbg"===t.type&&0===a.indexOf("AbbottFreeStyleLibre")&&(n=3),e+n}),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 p(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 A(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],p=void 0===f?.9:f,A=i.default.sortBy(n,(function(e){return e})),g=parseInt(e,10),m={id:e,min:(0,s.min)(A),lowerQuantile:(0,s.quantile)(A,u),firstQuartile:(0,s.quantile)(A,.25),median:(0,s.median)(A),thirdQuartile:(0,s.quantile)(A,.75),upperQuantile:(0,s.quantile)(A,p),max:(0,s.max)(A),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.isDifferentBeyondPrecision=f,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)?t.extended?n||a:n:a},t.isOverride=function(e){var t=u(e.wizard||e.dosingDecision||e),n=d(e);return f(t,n,2)&&n>t},t.isUnderride=function(e){var t=u(e.wizard||e.dosingDecision||e),n=d(e);return f(t,n,2)&&n<t};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}function f(e,t,n){return r.default.round(e,n)!==r.default.round(t,n)}},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.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.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.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_DATA_TYPES=t.BG_COLORS=t.BGM_DATA_KEY=t.AUTOMATED_SUSPEND=t.AUTOMATED_MODE_EXITED=t.AUTOMATED_DELIVERY=t.AUTOMATED_BASAL_DEVICE_MODELS=t.ANIMAS=void 0;var r,o,i,s,l,d,u,c,f,p,A,g=a(n(271)),m=a(n(27825)),h=a(n(56427)),b=h.default.t.bind(h.default);void 0===m.default.get(h.default,"options.returnEmptyString")&&h.default.init({returnEmptyString:!1,nsSeparator:"|"}),t.BG_HIGH=b("High"),t.BG_LOW=b("Low"),t.springConfig={stiffness:180,damping:40,precision:.1},t.MGDL_CLAMP_TOP=400,t.MMOLL_CLAMP_TOP=22.5;var y=t.MGDL_UNITS=b("mg/dL"),v=t.MMOLL_UNITS=b("mmol/L"),E=(t.MGDL_PER_MMOLL=18.01559,t.DEFAULT_BG_BOUNDS=(r={},(0,g.default)(r,y,{veryLowThreshold:54,targetLowerBound:70,targetUpperBound:180,veryHighThreshold:250,extremeHighThreshold:350,clampThreshold:600}),(0,g.default)(r,v,{veryLowThreshold:3,targetLowerBound:3.9,targetUpperBound:10,veryHighThreshold:13.9,extremeHighThreshold:19.4,clampThreshold:33.3}),r),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),C=(t.MS_IN_MIN=E/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"),B=t.SITE_CHANGE_TUBING="tubingPrime",T=t.SITE_CHANGE_CANNULA="cannulaPrime",S=t.AUTOMATED_DELIVERY="automatedDelivery",x=t.AUTOMATED_SUSPEND="automatedSuspend",w=t.AUTOMATED_MODE_EXITED="automatedModeExited",I=t.SCHEDULED_DELIVERY="scheduledDelivery",L=t.SETTINGS_OVERRIDE="settingsOverride",D=t.SLEEP="sleep",k=t.PHYSICAL_ACTIVITY="physicalActivity",P=t.PREPRANDIAL="preprandial",O=t.MAX_BOLUS="maxBolus",M=t.MAX_BASAL="maxBasal",N=t.INSULIN_DURATION="insulinDuration",R=(t.SITE_CHANGE_TYPE_UNDECLARED="undeclared",t.INSULET="Insulet"),_=t.TANDEM="Tandem",F=t.ANIMAS="Animas",j=t.TIDEPOOL_LOOP="Tidepool Loop",G=t.DIY_LOOP="DIY Loop",H=t.MEDTRONIC="Medtronic",U=t.MICROTECH="Microtech",z=(t.pumpVocabulary=(p={},(0,g.default)(p,F,(o={},(0,g.default)(o,C,b("Go Rewind")),(0,g.default)(o,B,b("Go Prime")),(0,g.default)(o,T,b("Fill Cannula")),o)),(0,g.default)(p,R,(i={},(0,g.default)(i,C,b("Change Pod")),(0,g.default)(i,B,b("Activate Pod")),(0,g.default)(i,T,b("Prime")),(0,g.default)(i,O,b("Maximum Bolus")),(0,g.default)(i,M,b("Max Basal Rate")),(0,g.default)(i,N,b("Duration of Insulin Action")),i)),(0,g.default)(p,H,(s={},(0,g.default)(s,C,b("Rewind")),(0,g.default)(s,B,b("Prime")),(0,g.default)(s,T,b("Prime Cannula")),(0,g.default)(s,S,b("Auto Mode")),(0,g.default)(s,I,b("Manual")),(0,g.default)(s,O,b("Max Bolus")),(0,g.default)(s,M,b("Max Basal")),(0,g.default)(s,N,b("Active Insulin Time")),s)),(0,g.default)(p,U,(l={},(0,g.default)(l,C,b("Rewind")),(0,g.default)(l,B,b("Prime Reservoir")),(0,g.default)(l,T,b("Prime Cannula")),l)),(0,g.default)(p,_,(d={},(0,g.default)(d,C,b("Change Cartridge")),(0,g.default)(d,B,b("Fill Tubing")),(0,g.default)(d,T,b("Fill Cannula")),(0,g.default)(d,S,b("Automation")),(0,g.default)(d,I,b("Manual")),(0,g.default)(d,L,b("Activity")),(0,g.default)(d,D,{label:b("Sleep"),marker:b("Z")}),(0,g.default)(d,k,{label:b("Exercise"),marker:b("E")}),(0,g.default)(d,O,b("Max Bolus")),(0,g.default)(d,N,b("Insulin Duration")),d)),(0,g.default)(p,j,(u={},(0,g.default)(u,S,b("Automation")),(0,g.default)(u,w,b("Off")),(0,g.default)(u,I,b("Manual")),(0,g.default)(u,L,b("Preset")),(0,g.default)(u,k,{label:b("Workout"),marker:b("W")}),(0,g.default)(u,O,b("Maximum Bolus")),(0,g.default)(u,M,b("Maximum Basal Rate")),u)),(0,g.default)(p,G,(c={},(0,g.default)(c,S,b("Automation")),(0,g.default)(c,w,b("Off")),(0,g.default)(c,I,b("Manual")),(0,g.default)(c,L,b("Preset")),(0,g.default)(c,k,{label:b("Workout"),marker:b("W")}),(0,g.default)(c,O,b("Maximum Bolus")),(0,g.default)(c,M,b("Maximum Basal Rate")),c)),(0,g.default)(p,"default",(f={},(0,g.default)(f,C,b("Change Cartridge")),(0,g.default)(f,B,b("Fill Tubing")),(0,g.default)(f,T,b("Fill Cannula")),(0,g.default)(f,S,b("Automated")),(0,g.default)(f,x,b("Automated Suspend")),(0,g.default)(f,w,b("Exited")),(0,g.default)(f,I,b("Manual")),(0,g.default)(f,L,b("Settings Override")),(0,g.default)(f,D,{label:b("Sleep"),marker:b("Z")}),(0,g.default)(f,k,{label:b("Exercise"),marker:b("E")}),(0,g.default)(f,P,{label:b("Premeal"),marker:b("P")}),(0,g.default)(f,O,b("Max Bolus")),(0,g.default)(f,M,b("Max Basal")),(0,g.default)(f,N,b("Insulin Duration")),f)),p),t.settingsOverrides=(A={},(0,g.default)(A,_,[D,k]),(0,g.default)(A,j,[k,P]),(0,g.default)(A,G,[P]),(0,g.default)(A,"default",[D,k,P]),A),t.AUTOMATED_BASAL_DEVICE_MODELS=(0,g.default)({},H,["1580","1581","1582","1780","1781","1782"]),t.BG_DATA_TYPES=["cbg","smbg"]);t.DIABETES_DATA_TYPES=[].concat(z,["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 p={days:"",hours:"",minutes:"",seconds:""};if(a+r+o===0)s>0?p.seconds="".concat(s,"s"):p.minutes="0m";else{var A=s>=30?o+1:o,g=r,m=a;A>=60&&(A-=60,g++),g>=24&&(g-=24,m++),p.days=0!==m?"".concat(m,"d "):"",p.hours=0!==g?"".concat(g,"h "):"",p.minutes=0!==A?"".concat(A,"m "):""}return"".concat(p.days).concat(p.hours).concat(p.minutes).concat(p.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=p,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 p(e,t){if(e instanceof Date)throw new Error("`utc` must be a ISO-formatted String timestamp or integer hammertime!");var n=f(t),a=i.default.utc(e).tz(n).startOf("day"),r="string"==typeof e?Date.parse(e):e;return a.valueOf()===r?a.toDate():a.add(1,"day").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(p((new Date).toISOString(),t)).tz(a),o=i.default.utc(p(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 A=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:A,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,u(e),{}),t.default)},t.getSettingsOverrides=function(e){return r.default.get(o.settingsOverrides,u(e),o.settingsOverrides.default)},t.getUppercasedManufacturer=u,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&&0===r.default.get(t,"deviceId","").indexOf("tandemCIQ")||d(t)},t.isAutomatedBolusDevice=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"tandem"===e&&0===r.default.get(t,"deviceId","").indexOf("tandemCIQ")||s(t)},t.isDIYLoop=s,t.isLoop=d,t.isSettingsOverrideDevice=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"tandem"===e&&0===r.default.get(t,"deviceId","").indexOf("tandemCIQ")||d(t)},t.isTidepoolLoop=l;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=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s(e)||l(e)}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return r.default.map(e.split(" "),(function(e){return"diy"===e?r.default.upperCase(e):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,a){var d=r.default.get(t,"bgUnits","");if(!r.default.isEmpty(n)){var u=n.low,c=n.high;if(d===s.MMOLL_UNITS&&(u&&(u=(0,i.convertToMmolL)(u)),c&&(c=(0,i.convertToMmolL)(c))),u&&e<u)return s.BG_LOW;if(c&&e>c)return s.BG_HIGH}return d===s.MMOLL_UNITS?a?l(e,1).toFixed(1):(0,o.format)(".1f")(e):a?l(e).toString():(0,o.format)("d")(e)},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.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)}},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,p,A,g,m,h,b,y,v,E,C,B,T,S,x,w,I,L,D,k;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",{}),p=(0,c.generateChartSections)(t,o),A={},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});A[n]=a})),m=o===u.CGM_DATA_KEY?A.timeInRange:A.readingsInRange,null!==(n=p.percentInRanges)&&void 0!==n&&n.sufficientData&&(a.percentInRanges=(0,c.generatePercentInRangesFigure)(p.percentInRanges,m,t.bgPrefs)),(p.ambulatoryGlucoseProfile.sufficientData||o===u.BGM_DATA_KEY)&&(v=(null==t||null===(h=t.data)||void 0===h||null===(b=h.current)||void 0===b||null===(y=b.data)||void 0===y?void 0:y[o])||[],a.ambulatoryGlucoseProfile=(0,c.generateAmbulatoryGlucoseProfileFigure)(p.ambulatoryGlucoseProfile,v,t.bgPrefs,o)),p.dailyGlucoseProfiles.sufficientData&&(x=i.default.mapValues(null==t||null===(E=t.data)||void 0===E||null===(C=E.current)||void 0===C||null===(B=C.aggregationsByDate)||void 0===B?void 0:B.dataByDate,o),w=(null===(T=A.bgExtents)||void 0===T||null===(S=T.data)||void 0===S?void 0:S.raw)||{},I=w.newestDatum,L=i.default.chunk(i.default.map(i.default.range(14),(function(e,n){return s.default.utc(null==I?void 0:I.time).tz((0,d.getTimezoneFromTimePrefs)(t.timePrefs)).subtract(n,"days").format("YYYY-MM-DD")})).reverse(),7),D=i.default.map(L[0],(function(e){return[[e],x[e]]})),k=i.default.map(L[1],(function(e){return[[e],x[e]]})),a.dailyGlucoseProfiles=[(0,c.generateDailyGlucoseProfilesFigure)(p.dailyGlucoseProfiles,D,t.bgPrefs,"dddd"),(0,c.generateDailyGlucoseProfilesFigure)(p.dailyGlucoseProfiles,k,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=A,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=y,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"),g=o.default.get(e,n?"bolus[".concat(n,"].calculator.insulin.duration"):"bolus.calculator.insulin.duration");if(o.default.includes(["diy loop","tidepool loop"],t)&&(g=o.default.get(e,"insulinModel.actionDuration"),p="milliseconds"),"minutes"===p){var m=Math.floor(g/60),h=g%60;g=h>0?"".concat(m,":").concat(o.default.padStart(h,2,"0")):m}if("milliseconds"===p){var b=Math.floor(g/60/60),y=g%60;g=y>0?"".concat(b,":").concat(o.default.padStart(y,2,"0")):b}var v=[{setting:i[u.MAX_BASAL],value:s?"".concat(s," U/hr"):"-"},{setting:i[u.MAX_BOLUS],value:f?"".concat(f," U"):"-"},{setting:i[u.INSULIN_DURATION],value:g?"".concat(g," hrs"):"-"}];if((0,d.isLoop)(e)){var E,C,B,T={label:{rapidAdult:c("Rapid-Acting - Adults"),rapidChild:c("Rapid Acting - Children"),fiasp:c("Fiasp"),lyumjev:c("Lyumjev"),afrezza:c("Afrezza")}[null==e||null===(E=e.insulinModel)||void 0===E?void 0:E.modelType]||(null==e||null===(C=e.insulinModel)||void 0===C?void 0:C.modelType)||c("Unknown"),peakMinutes:o.default.isFinite(null==e||null===(B=e.insulinModel)||void 0===B?void 0:B.actionPeakOffset)?e.insulinModel.actionPeakOffset/60:null},S=A(t),x=[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:S})];T.peakMinutes&&x.push(c("The {{label}} model assumes peak activity at {{peakMinutes}} minutes.",T)),v.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:S})],setting:c("Glucose Safety Limit"),value:"".concat(l.formatBgValue(null==e?void 0:e.bgSafetyLimit,{bgUnits:r})," ").concat(r)}),v.splice(3,1,{annotations:x,setting:c("Insulin Model"),value:T.label})}return"tandem"===t&&v.shift(),{columns:[{key:"setting"},{key:"value"}],rows:v}},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,")")}],p=[];return null!=e&&e.bgTargetPreprandial&&p.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&&p.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:p}},t.processBasalRateData=function(e){var t=b(e.value),n=[{start:"-",rate:"-"}];if(0===t.length)return n;if(1===t.length&&0===Number(g(e.value,t[0])))return n;var a=o.default.map(t,(function(t){return{start:s.formatClocktimeFromMsPer24(t),rate:g(e.value,t)}}));return a.push({start:"Total",rate:y(e.value)}),a},t.processBgTargetData=function(e,t,n){return o.default.map(b(e),(function(a){return{start:s.formatClocktimeFromMsPer24(a),columnTwo:h(e,n.columnTwo,a,t),columnThree:h(e,n.columnThree,a,t)}}))},t.processCarbRatioData=function(e){return o.default.map(b(e),(function(t){return{start:s.formatClocktimeFromMsPer24(t),amount:m(e,"amount",t)}}))},t.processSensitivityData=function(e,t){return o.default.map(b(e),(function(n){return{start:s.formatClocktimeFromMsPer24(n),amount:h(e,"amount",n,t)}}))},t.processTimedSettings=function(e,t,n){var a=o.default.map(b(e.bgTargets[t.name]),(function(a){return{start:s.formatClocktimeFromMsPer24(a),rate:g(e.basalSchedules[t.position].value,a),bgTarget:h(e.bgTargets[t.name],"target",a,n),carbRatio:m(e.carbRatios[t.name],"amount",a),insulinSensitivity:h(e.insulinSensitivities[t.name],"amount",a,n)}}));return a.push({start:"Total",rate:y(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;function p(e){return null==e||"string"==typeof e&&o.default.isEmpty(e)}function A(e){return{animas:"Animas",insulet:"OmniPod",medtronic:"Medtronic",tandem:"Tandem",microtech:"Equil","diy loop":"DIY Loop","tidepool loop":"Tidepool Loop"}[e]||e}function g(e,t){var n=o.default.find(e,(function(e){return e.start===t})).rate;return p(n)?"":l.formatDecimalNumber(n,f)}function m(e,t,n){var a=o.default.find(e,(function(e){return e.start===n}))[t];return p(a)?"":a}function h(e,t,n,a){var r=m(e,t,n);return p(r)?"":l.formatBgValue(r,{bgUnits:a})}function b(e){return o.default.map(e,"start")}function y(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")}[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:p(t),columns:s.startTimeAndValue("amount"),rows:A(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 p(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")}[e]}function A(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")}[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")}[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")}]}[e]}function y(e,t,n){var a=o.default.includes(["diy loop","tidepool loop"],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"}}[n])}},72255:(e,t,n)=>{"use strict";var a=n(67049).default;Object.defineProperty(t,"__esModule",{value:!0}),t.basal=function(e,t,n){var a,s,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return{scheduleName:e.name,activeAtUpload:e.name===t.activeSchedule,title:(a=e.name,s=t.activeSchedule,r.getScheduleLabel(a,s,"tandem",!0)),columns:i(l,n),rows:o(e,t,n)}},t.basalSchedules=function(e){return r.getTimedSchedules(e.basalSchedules)},t.deviceMeta=function(e,t){return r.getDeviceMeta(e,t)};var r=a(n(89540));function o(e,t,n){return r.processTimedSettings(t,e,n)}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return[{key:"start",label:"Start time"},{key:"rate",label:{main:"Basal Rates",secondary:"U/hr"},className:e.basalScheduleHeader},{key:"bgTarget",label:{main:"Target BG",secondary:t},className:e.bolusSettingsHeader},{key:"carbRatio",label:{main:"Carb Ratio",secondary:"g/U"},className:e.bolusSettingsHeader},{key:"insulinSensitivity",label:{main:"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),p="exchanges"===o.default.get(t,"units.carb")?"U/exch":"g/U";i+=r.buildTextTable("".concat(f.title," ").concat(p),f.rows,f.columns);var A=d.sensitivity(t,a,n);if(i+=r.buildTextTable("".concat(A.title," ").concat(n,"/U"),A.rows,A.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.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]:T;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 p=a(l.default.get(e.data,e.data.dataPaths.summary,{}),e.dataFormat.summary,c);0===p.value&&(p.value=[p.value]),l.default.isArray(p.value)||(p.value=l.default.compact([p.value])),l.default.isArray(p.suffix)||(p.suffix=l.default.compact([p.suffix])),r+="\n",r+=t.buildTextLine({label:e.title,value:l.default.map(p.value,(function(t,n){return"".concat(t).concat(p.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),p=n(11270),A=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.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,p=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",p=C};switch(i){case v.bgCount:if(p>=0){var w=p<.05?2:1;p=+p.toFixed(w)}else x();break;case v.bgRange:p=(0,c.generateBgRangeLabels)(h,{condensed:!0})[u];break;case v.bgValue:p>=0?(u=(0,c.classifyBgValue)(l.default.get(h,"bgBounds"),p),p=(0,A.formatBgValue)(p,h,void 0,y)):x();break;case v.carbs:if(l.default.isPlainObject(p)&&(p.grams>0||p.exchanges>0)){var I=p,L=I.grams,D=I.exchanges;p=[],m=[],L>0&&(p.push((0,A.formatDecimalNumber)(L)),m.push("g")),D>0&&(p.push(+(0,A.formatDecimalNumber)(D,1)),m.push("exch"))}else x();break;case v.cv:p>=0?(u=(0,c.classifyCvValue)(p),p=y?(0,A.bankersRound)(p,1).toString():(0,A.formatDecimalNumber)(p),m="%"):x();break;case v.duration:p>=0?p=(0,g.formatDuration)(p,{condensed:!0}):x();break;case v.gmi:p>=0?(p=y?(0,A.bankersRound)(p,1).toString():(0,A.formatDecimalNumber)(p,1),m="%"):x();break;case v.percentage:if(S&&S>=0){var k=(p=l.default.max([p,0]))/S*100,P=0;k>0&&k<.5&&(P=k<.05?2:1),p=(0,A.formatDecimalNumber)(k,P),m="%"}else x();break;case v.standardDevRange:e=l.default.get(o,"deviation.value",-1),p>=0&&e>=0?(n=(t=p-e)>=0?(0,c.classifyBgValue)(l.default.get(h,"bgBounds"),t):"low",a=p+e,r=(0,c.classifyBgValue)(l.default.get(h,"bgBounds"),a),t=(0,A.formatBgValue)(t,h),a=(0,A.formatBgValue)(a,h),p=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:p>=0?p=(0,A.formatBgValue)(p,h):x();break;case v.units:p>=0?(p=(0,A.formatDecimalNumber)(p,1),m="U"):x();break;case v.unitsPerKg:"lb"===m&&(p*=f.LBS_PER_KG),m="U/kg",p>0&&l.default.isFinite(p)?p=(0,A.formatDecimalNumber)(p,2):x()}return{id:u,value:p,suffix:m}},S=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,p.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 a {{overrideLabelLowerCase}}.",s)),d.push(m("**How we calculate this:**\n\n**(%)** is the duration in a {{overrideLabelLowerCase}} divided by the total duration for this time period.\n\n**(time)** is 24 hours multiplied by % in a {{overrideLabelLowerCase}}.",s))):(d.push(m("**Time In {{overrideLabel}}:** Time spent in a {{overrideLabelLowerCase}}.",s)),d.push(m("**How we calculate this:**\n\n**(%)** is the duration in a {{overrideLabelLowerCase}} divided by the total duration for this time period.\n\n**(time)** is total duration of time in a {{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},x=t.getStatData=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=(0,p.getPumpVocabulary)(n.manufacturer),r=(0,p.getSettingsOverrides)(n.manufacturer),o=(0,c.generateBgRangeLabels)(n.bgPrefs,{condensed:!0}),s={raw:(0,i.default)({days:n.days},e)},d=n.days>1?"dailyAverages":"counts";switch(t){case E.averageGlucose:s.data=[{value:B(e.averageGlucose)}],s.dataPaths={summary:"data.0"};break;case E.averageDailyDose:s.data=[{id:"insulin",input:{id:"weight",label:"Weight",suffix:{id:"units",options:h,value:n.suffixValue||h[0]},type:"number",value:n.inputValue?B(n.inputValue):void 0},output:{label:"Daily Dose ÷ Weight",type:"divisor",dataPaths:{dividend:"data.0"}},value:B(e.totalInsulin)}],s.dataPaths={input:"data.0.input",output:"data.0.output",summary:"data.0"};break;case E.bgExtents:s.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:s.data=[{value:{grams:B(l.default.get(e,"carbs.grams")),exchanges:B(l.default.get(e,"carbs.exchanges"))}}],s.dataPaths={summary:"data.0"};break;case E.coefficientOfVariation:s.data=[{id:"cv",value:B(e.coefficientOfVariation)}],s.dataPaths={summary:"data.0"};break;case E.glucoseManagementIndicator:s.data=[{id:"gmi",value:B(e.glucoseManagementIndicator)},{id:"gmiAGP",value:B(e.glucoseManagementIndicatorAGP)}],s.dataPaths={summary:"data.0",summaryAGP:"data.1"};break;case E.readingsInRange:s.data=[{id:"veryLow",value:B(e[d].veryLow),title:m("Readings Below Range"),legendTitle:o.veryLow},{id:"low",value:B(e[d].low),title:m("Readings Below Range"),legendTitle:o.low},{id:"target",value:B(e[d].target),title:m("Readings In Range"),legendTitle:o.target},{id:"high",value:B(e[d].high),title:m("Readings Above Range"),legendTitle:o.high},{id:"veryHigh",value:B(e[d].veryHigh),title:m("Readings Above Range"),legendTitle:o.veryHigh}],s.total={value:C(s.data)},s.dataPaths={summary:["data",l.default.findIndex(s.data,{id:"target"})],totalReadings:"raw.counts.total",averageDailyReadings:"total"};break;case E.sensorUsage:s.data=[{value:B(e.sensorUsage)},{value:B(e.sensorUsageAGP)}],s.total={value:B(e.total)},s.dataPaths={summary:"data.0",summaryAGP:"data.1"};break;case E.standardDev:s.data=[{value:B(e.averageGlucose),deviation:{value:B(e.standardDeviation)}}],s.dataPaths={summary:"data.0.deviation",title:"data.0"};break;case E.timeInAuto:s.data=[{id:"basalAutomated",value:B(e.automated),title:m("Time In {{automatedLabel}}",{automatedLabel:a[f.AUTOMATED_DELIVERY]}),legendTitle:a[f.AUTOMATED_DELIVERY]},{id:"basal",value:B(e.manual),title:m("Time In {{scheduledLabel}}",{scheduledLabel:a[f.SCHEDULED_DELIVERY]}),legendTitle:a[f.SCHEDULED_DELIVERY]}],s.total={value:C(s.data)},s.dataPaths={summary:["data",l.default.findIndex(s.data,{id:"basalAutomated"})]};break;case E.timeInOverride:s.data=l.default.map(r,(function(t){return{id:t,value:B(l.default.get(e,t,0)),title:m("Time In {{overrideLabel}}",{overrideLabel:l.default.get(a,[t,"label"])}),legendTitle:l.default.get(a,[t,"label"])}})),s.sum={value:C(s.data)},s.total={value:f.MS_IN_DAY},s.dataPaths={summary:"sum"};break;case E.timeInRange:s.data=[{id:"veryLow",value:B(e.durations.veryLow),title:m("Time Below Range"),legendTitle:o.veryLow},{id:"low",value:B(e.durations.low),title:m("Time Below Range"),legendTitle:o.low},{id:"target",value:B(e.durations.target),title:m("Time In Range"),legendTitle:o.target},{id:"high",value:B(e.durations.high),title:m("Time Above Range"),legendTitle:o.high},{id:"veryHigh",value:B(e.durations.veryHigh),title:m("Time Above Range"),legendTitle:o.veryHigh}],s.total={value:C(s.data)},s.dataPaths={summary:["data",l.default.findIndex(s.data,{id:"target"})]};break;case E.totalInsulin:s.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")}],s.total={id:"insulin",value:C(s.data)},s.dataPaths={summary:"total",title:"total"};break;default:s=void 0}return s},w=t.getStatTitle=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.bgSource,r=n.days,o=(0,p.getPumpVocabulary)(n.manufacturer);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("BG Extents ({{bgSourceLabel}})",{bgSourceLabel:y[a]});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:S(e,t,n),collapsible:l.default.get(n,"collapsible",!1),data:x(e,t,n),id:t,title:w(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),p=t.TextUtil=(0,r.default)((function e(t,n,a){var r=this;(0,o.default)(this,e),this.buildDocumentHeader=function(e){var t,n,a,o,i=r.buildTextLine((0,c.getPatientFullName)(r.patient)),s=r.buildTextLine({label:f("Date of birth"),value:(0,d.formatBirthdate)(r.patient)}),l=(0,d.formatDiagnosisDate)(r.patient),u=l?r.buildTextLine({label:f("Date of diagnosis"),value:l}):"",p=(null===(t=r.patient)||void 0===t?void 0:t.clinicPatientMRN)||(null===(n=r.patient)||void 0===n||null===(a=n.profile)||void 0===a||null===(o=a.patient)||void 0===o?void 0:o.mrn),A=p?r.buildTextLine({label:f("MRN"),value:p}):"",g=r.buildTextLine({label:"".concat(f("Exported from Tidepool")).concat(e?" ".concat(e):""),value:(0,d.formatCurrentDate)()});return"".concat(i).concat(s).concat(u).concat(A).concat(g)},this.buildDocumentDates=function(){var e=(0,d.getTimezoneFromTimePrefs)(r.timePrefs),t=r.endpoints[0],n=r.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 o=r.getTable(t,n,a);return e&&o?"\n".concat(e,"\n").concat(o,"\n"):"\n".concat(e||o,"\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=[r.getTableHeader(t)],o=r.getTableRows(e,t);return n.showHeader?(0,s.default)(a.concat(o)):(0,s.default)(o)},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 r.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}));t.default=p},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){var i=t.bgPrefs,s=t.data.current.endpoints,l=void 0===s?{}:s,d=t.metaData,f=t.query,p=t.timePrefs;o.default.defaults(i,{bgBounds:c.reshapeBgClassesToBgBounds(i)});var A=new c.TextUtil(e,l.range,p),g=A.buildDocumentHeader("Trends");g+=A.buildDocumentDates();var m=o.default.map(o.default.keys(o.default.pickBy(a.activeDays,(function(e){return!1===e}))),o.default.capitalize).join(", ");m.length&&(g+=A.buildTextLine({label:"Excluded Days",value:m})),g+=c.statsText(n,A,i);var h={cbg:"cgm",smbg:"bgm"},b=o.default.filter(null==d?void 0:d.devices,(function(e){var t;return(null==d||null===(t=d.matchedDevices)||void 0===t?void 0:t[e.id])&&(e.pump||e[h[null==f?void 0:f.bgSource]])}));if(b.length){var y=["\n".concat(u("Devices Uploaded"))].concat((0,r.default)(o.default.map(b,(function(e){var t=e.id;return e.label||t}))));o.default.each(y,(function(e){g+=A.buildTextLine(e)}))}return g},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--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,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.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",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",isOpen:"Stat--isOpen--IIudz",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},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}\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;AAClB;;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}\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 border-radius: 4px;\n}\n\n.Tooltip--content--hPQZv {\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(--tooltip-title-bg);\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","",{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,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;EAC9B,WAAW;EACX,kBAAkB;EAClB,sBAAsB;AACxB;;AAEA;EACE,WAAW;AACb;;AAEA;EAGE,yCAAyC;AAC3C;;AAEA;EACE,UAAU;EACV,WAAW;EACX,mBAAmB;EACnB,yBAAyB;EACzB,kBAAkB;AACpB",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 border-radius: 4px;\n}\n\n.content {\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(--tooltip-title-bg);\n}\n\n.tail {\n width: 0px;\n height: 0px;\n border-style: solid;\n border-color: transparent;\n position: absolute;\n}\n\n:export {\n tooltipTitleBg: var(--tooltip-title-bg);\n}\n"],sourceRoot:""}]),l.locals={tooltipTitleBg:"var(--tooltip-title-bg)",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"};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}\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;AACnB;;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}\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}`,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},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@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;;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@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}`};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}\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;AAC9B",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}\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")}},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),p=n||u||c||f,A=p?a(e.length,String):[],g=A.length;for(var m in e)!t&&!d.call(e,m)||p&&("length"==m||c&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g))||A.push(m);return A}},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]",p="[object Object]",A=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?p:v)==p,B=(E=E==c?p:E)==p,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&&A.call(e,"__wrapped__"),x=B&&A.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 p=new a;if(o)var A=o(c,f,u,e,t,p);if(!(void 0===A?r(f,c,3,o,p):A))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 p=i(e,(function(e,n,r){return{criteria:a(t,(function(t){return t(e)})),index:++f,value:e}}));return s(p,(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 p=s(t[d]),A=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return e;if(d!=c){var g=f[p];void 0===(A=l?l(g,p,f):void 0)&&(A=i(g)?g:o(t[d+1])?[]:{})}a(f,p,A),f=f[p]}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,p=[],A=p;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,A=new a}else A=t?[]:p;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=A.length;b--;)if(A[b]===h)continue e;t&&A.push(h),p.push(m)}else u(A,h,n)||(A!==p&&A.push(h),p.push(m))}return p}},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),p=l.get(t);if(f&&p)return f==t&&p==e;var A=-1,g=!0,m=2&n?new a:void 0;for(l.set(e,t),l.set(t,e);++A<u;){var h=e[A],b=t[A];if(i)var y=d?i(b,h,A,t,e,l):i(h,b,A,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 p=s;case"[object Set]":var A=1&a;if(p||(p=l),e.size!=t.size&&!A)return!1;var g=f.get(e);if(g)return g==t;a|=2,f.set(e,t);var m=i(p(e),p(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 p=s.get(e),A=s.get(t);if(p&&A)return p==t&&A==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]",p="[object WeakMap]",A="[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)))!=A||r&&v(new r)!=u||o&&v(o.resolve())!=c||i&&v(new i)!=f||s&&v(new s)!=p)&&(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 A;case m:return u;case h:return c;case b:return f;case y:return p}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,p=c.length;++f<p;){var A=c[f],g=e[A];(void 0===g||r(g,s[A])&&!l.call(e,A))&&(e[A]=u[A])}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),p=n(41113),A=n.n(p),g=n(50535),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(40916),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(15651),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(34788),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(87145),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(51619),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(47064),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(90524),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(49090),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(7873),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(74423),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(89295),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(45639),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(47379),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(18560),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(17387),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(25099),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(21369),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(48643),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(70524),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(35347),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(33152),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(48896),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(45509),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(78263),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(39817),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(68040),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(16895),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(72705),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(31246),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(32576),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(87558),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(21347),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(99070),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(51097),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(71577),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(95435),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(5112),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(57778),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(77860),m={};m.styleTagTransform=A(),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),p=n(41113),A=n.n(p),g=n(61872),m={};m.styleTagTransform=A(),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),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var A=r(p,a);a.byIndex=s,t.splice(s,0,{identifier:c,updater:A,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:()=>p,Helpers:()=>r,Hooks:()=>E,Immutable:()=>m,LabelHelpers:()=>s,Line:()=>Ao,LineHelpers:()=>B,LineSegment:()=>mo,Log:()=>i,Path:()=>ro,Point:()=>Io,PointPathHelpers:()=>f,Portal:()=>$t,PortalContext:()=>Ln,PortalOutlet:()=>Pn,PortalProvider:()=>kn,Rect:()=>zn,Scale:()=>g,Selection:()=>T,Style:()=>l,TSpan:()=>Wn,Text:()=>Yn,TextSize:()=>d,Timer:()=>Ft,TimerContext:()=>Gt,Transitions:()=>c,UserProps:()=>o,VictoryAccessibleGroup:()=>I,VictoryAnimation:()=>Ut,VictoryClipContainer:()=>no,VictoryContainer:()=>Rn,VictoryLabel:()=>Dr,VictoryPortal:()=>Hn,VictoryTheme:()=>tr,VictoryTransition:()=>Zr,Whisker:()=>Do,Wrapper:()=>S,addEvents:()=>Zo,mergeRefs:()=>In,usePortalContext:()=>Dn,useVictoryContainer:()=>Nn});var a={};n.r(a),n.d(a,{easeBack:()=>pe,easeBackIn:()=>ce,easeBackInOut:()=>pe,easeBackOut:()=>fe,easeBounce:()=>le,easeBounceIn:()=>se,easeBounceInOut:()=>de,easeBounceOut:()=>le,easeCircle:()=>K,easeCircleIn:()=>q,easeCircleInOut:()=>K,easeCircleOut:()=>X,easeCubic:()=>N,easeCubicIn:()=>O,easeCubicInOut:()=>N,easeCubicOut:()=>M,easeElastic:()=>me,easeElasticIn:()=>ge,easeElasticInOut:()=>he,easeElasticOut:()=>me,easeExp:()=>V,easeExpIn:()=>W,easeExpInOut:()=>V,easeExpOut:()=>$,easeLinear:()=>L,easePoly:()=>F,easePolyIn:()=>R,easePolyInOut:()=>F,easePolyOut:()=>_,easeQuad:()=>P,easeQuadIn:()=>D,easeQuadInOut:()=>P,easeQuadOut:()=>k,easeSin:()=>z,easeSinIn:()=>H,easeSinInOut:()=>z,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:()=>pn,getRadius:()=>fn,getRange:()=>An,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:()=>jn});var s={};n.r(s),n.d(s,{getDegrees:()=>Qn,getPolarAngle:()=>Kn,getPolarTextAnchor:()=>qn,getPolarVerticalAnchor:()=>Xn,getProps:()=>Zn,getText:()=>Vn});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:()=>Nr,containsNumbers:()=>Rr,containsOnlyStrings:()=>_r,containsStrings:()=>Mr,difference:()=>Fr,getMaxValue:()=>Hr,getMinValue:()=>Ur,isArrayOfArrays:()=>jr,removeUndefined:()=>Gr});var c={};n.r(c),n.d(c,{getInitialTransitionState:()=>Xr,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 p={};n.r(p),n.d(p,{emulateReactEvent:()=>Xo,getComponentEvents:()=>Wo,getEventState:()=>Ho,getEvents:()=>Fo,getExternalMutation:()=>Yo,getExternalMutations:()=>zo,getExternalMutationsWithChildren:()=>Uo,getGlobalEventNameFromKey:()=>$o,getGlobalEvents:()=>Vo,getPartialEvents:()=>Go,getScopedEvents:()=>jo,omitGlobalEvents:()=>qo});var A={};n.r(A),n.d(A,{scaleLinear:()=>di.scaleLinear});var g={};n.r(g),n.d(g,{getBaseScale:()=>gi,getDefaultScale:()=>mi,getScaleFromName:()=>Ai,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:()=>Ri,downsample:()=>_i,formatData:()=>Fi,formatDataFromDomain:()=>Ni,generateData:()=>ji,getCategories:()=>Gi,getData:()=>Hi,getStringsFromAxes:()=>Ui,getStringsFromCategories:()=>zi,getStringsFromData:()=>Yi,isDataComponent:()=>Wi});var b={};n.r(b),n.d(b,{createDomainFunction:()=>Vi,formatDomain:()=>qi,getDomain:()=>Xi,getDomainFromCategories:()=>Ki,getDomainFromData:()=>Qi,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:()=>ps});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:()=>Os,getLineFunction:()=>Ms});var T={};n.r(T),n.d(T,{getBounds:()=>Hs,getDataCoordinates:()=>Gs,getDomainCoordinates:()=>js,getParentSVG:()=>_s,getSVGEventCoordinates:()=>Fs});var S={};n.r(S),n.d(S,{addBinsToParentPropsIfHistogram:()=>$s,getAllEvents:()=>el,getCategories:()=>ll,getCategoryAndAxisStringsFromChildren:()=>il,getChildStyle:()=>al,getColor:()=>tl,getData:()=>qs,getDataFromChildren:()=>Vs,getDefaultDomainPadding:()=>Ks,getDomain:()=>Zs,getDomainFromChildren:()=>Qs,getScale:()=>Js,getStringsFromChildren:()=>sl,getStringsFromChildrenCategories:()=>rl,getStringsFromData:()=>ol,getStyle:()=>nl,getWidth:()=>Xs});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 P(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function O(e){return e*e*e}function M(e){return--e*e*e+1}function N(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var R=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),j=Math.PI,G=j/2;function H(e){return 1==+e?1:1-Math.cos(e*G)}function U(e){return Math.sin(e*G)}function z(e){return(1-Math.cos(j*e))/2}function Y(e){return 1.0009775171065494*(Math.pow(2,-10*e)-.0009765625)}function W(e){return Y(1-+e)}function $(e){return 1-Y(e)}function V(e){return((e*=2)<=1?Y(1-e):2-Y(e-1))/2}function q(e){return 1-Math.sqrt(1-e*e)}function X(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 Q=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/Q/Q;function se(e){return 1-le(1-e)}function le(e){return(e=+e)<Q?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),pe=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),Ae=2*Math.PI,ge=function e(t,n){var a=Math.asin(1/(t=Math.max(1,t)))*(n/=Ae);function r(e){return t*Y(- --e)*Math.sin((a-e)/n)}return r.amplitude=function(t){return e(t,n*Ae)},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/=Ae);function r(e){return 1-t*Y(e=+e)*Math.sin((e+a)/n)}return r.amplitude=function(t){return e(t,n*Ae)},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/=Ae);function r(e){return((e=2*e-1)<0?t*Y(-e)*Math.sin((a-e)/n):2-t*Y(e)*Math.sin((a+e)/n))/2}return r.amplitude=function(t){return e(t,n*Ae)},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}\\)$`),Pe=new RegExp(`^rgb\\(${Le},${Le},${Le}\\)$`),Oe=new RegExp(`^rgba\\(${we},${we},${we},${Ie}\\)$`),Me=new RegExp(`^rgba\\(${Le},${Le},${Le},${Ie}\\)$`),Ne=new RegExp(`^hsl\\(${Ie},${Le},${Le}\\)$`),Re=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 je(){return this.rgb().formatRgb()}function Ge(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 Ye(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 Ye(t[1],t[2],t[3],1):(t=Pe.exec(e))?new Ye(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Oe.exec(e))?Ue(t[1],t[2],t[3],t[4]):(t=Me.exec(e))?Ue(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ne.exec(e))?Ke(t[1],t[2]/100,t[3]/100,1):(t=Re.exec(e))?Ke(t[1],t[2]/100,t[3]/100,t[4]):_e.hasOwnProperty(e)?He(_e[e]):"transparent"===e?new Ye(NaN,NaN,NaN,0):null}function He(e){return new Ye(e>>16&255,e>>8&255,255&e,1)}function Ue(e,t,n,a){return a<=0&&(e=t=n=NaN),new Ye(e,t,n,a)}function ze(e,t,n,a){return 1===arguments.length?((r=e)instanceof Te||(r=Ge(r)),r?new Ye((r=r.rgb()).r,r.g,r.b,r.opacity):new Ye):new Ye(e,t,n,null==a?1:a);var r}function Ye(e,t,n,a){this.r=+e,this.g=+t,this.b=+n,this.opacity=+a}function We(){return`#${Xe(this.r)}${Xe(this.g)}${Xe(this.b)}`}function $e(){const e=Ve(this.opacity);return`${1===e?"rgb(":"rgba("}${qe(this.r)}, ${qe(this.g)}, ${qe(this.b)}${1===e?")":`, ${e})`}`}function Ve(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 Xe(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 Qe(e){if(e instanceof Ze)return new Ze(e.h,e.s,e.l,e.opacity);if(e instanceof Te||(e=Ge(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,Ge,{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 Qe(this).formatHsl()},formatRgb:je,toString:je}),Ce(Ye,ze,Be(Te,{brighter(e){return e=null==e?xe:Math.pow(xe,e),new Ye(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Se:Math.pow(Se,e),new Ye(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ye(qe(this.r),qe(this.g),qe(this.b),Ve(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`#${Xe(this.r)}${Xe(this.g)}${Xe(this.b)}${Xe(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:$e,toString:$e})),Ce(Ze,(function(e,t,n,a){return 1===arguments.length?Qe(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 Ye(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),Ve(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=Ve(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=ze(e)).r,(t=ze(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=ze(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 pt(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 At(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=Ge(t))?(t=n,ot):pt:t instanceof Ge?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:At))(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(Pt),wt=Lt.now()+It)}function Pt(){wt=0}function Ot(){this._call=this._time=this._next=null}function Mt(e,t,n){var a=new Ot;return a.restart(e,t,n),a}function Nt(){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 Rt(){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(Nt,e-Lt.now()-It)),Tt&&(Tt=clearInterval(Tt))):(Tt||(xt=Lt.now(),Tt=setInterval(Rt,St)),Ct=1,Dt(Nt)))}Ot.prototype=Mt.prototype={constructor:Ot,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=Mt(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 jt=w().createContext({transitionTimer:new Ft,animationTimer:new Ft});jt.displayName="TimerContext";const Gt=jt,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(Gt).animationTimer,c=w().useRef(Array.isArray(o)?o.slice(1):[]),f=w().useRef(null),p=w().useRef(void 0),A=a[(g=n,`ease${g.charAt(0).toUpperCase()+g.slice(1)}`)];var g;w().useEffect((()=>(c.current.length&&m(),()=>{p.current?u.unsubscribe(p.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(p.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((()=>{p.current=u.subscribe(h,t)}),r):p.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}}),p.current&&u.unsubscribe(p.current),c.current.shift(),void m();d({data:f.current(A(n)),animationInfo:{progress:n,animating:n<1}})};return i(l.data,l.animationInfo)};var zt=n(97200),Yt=n.n(zt);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 $t=w().forwardRef(((e,t)=>w().createElement("svg",Wt({ref:t},e))));var Vt=n(84684),qt=n.n(Vt),Xt=n(50583),Kt=n.n(Xt),Qt=n(44383),Zt=n.n(Qt);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 pn(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 An(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)},Pn=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 On(){return On=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},On.apply(this,arguments)}const Mn={className:"VictoryContainer",portalComponent:w().createElement($t,null),portalZIndex:99,responsive:!0,role:"img"};function Nn(e){const t={...Mn,...e},{title:n,desc:a,width:r,height:o,responsive:i}=t,s=(0,x.useRef)(null),l=(0,x.useRef)(Yt()("victory-container-")),d=t.containerId??l.current,u=e=>`${d}-${e}`,c=xn(t),f=i?{width:"100%",height:"100%"}:{width:r,height:o},p=i?`0 0 ${r} ${o}`:void 0,A=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:p,preserveAspectRatio:A,ariaLabelledBy:g,ariaDescribedBy:m,userProps:c,localContainerRef:s}}const Rn=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:p,ouiaId:A,ouiaSafe:g,ouiaType:m,dimensions:h,ariaDescribedBy:b,ariaLabelledBy:y,viewBox:v,preserveAspectRatio:E,userProps:C,titleId:B,descId:T,containerRef:S,localContainerRef:x}=Nn(e);return w().useEffect((()=>{if(!p?.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":A,"data-ouia-component-type":m,"data-ouia-safe":g,ref:In([x,S])},w().createElement(kn,null,w().createElement("svg",On({width:l,height:d,tabIndex:c,role:t,"aria-labelledby":y,"aria-describedby":b,viewBox:v,preserveAspectRatio:E,style:{...h,pointerEvents:"all"}},C,p),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(Pn,{as:s,width:l,height:d,viewBox:v,preserveAspectRatio:E,style:{...h,overflow:"visible"}}))))};Rn.role="container";var _n=n(62193),Fn=n.n(_n);function jn(e){}const Gn={groupComponent:w().createElement("g",null)},Hn=e=>{const t={...Gn,...e},[n]=(0,x.useState)(Yt()()),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 zn=(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}))})),Yn=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 $n(e){const{labelComponent:t,labelPlacement:n,polar:a}=e,r=a?"perpendicular":"vertical";return n||t.props&&t.props.labelPlacement||r}function Vn(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=$n(e);return"perpendicular"===n||"vertical"===n&&(90===t||270===t)?"middle":t<=90||t>270?"start":"end"}function Xn(e,t){const n=$n(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:Qn(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 Qn(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],p=Qn(e,f),A=i?qn(e,p):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?Xn(e,p):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=Vn(e,f,t),b=$n(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=Qn(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:A,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",pa="#90A4AE",Aa="#455A64",ga="#212121",ma={blue:"#4F7DA1",pink:"#E2A37F",teal:da,purple:"#DF948A",green:la,orange:sa,cyan:ua,red:"#DF5A49",yellow:ia},ha=[fa,pa,Aa,ga],ba={width:350,height:350,padding:50},ya={fontFamily:"'Helvetica Neue', 'Helvetica', sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:Aa,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:pa,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:pa,strokeWidth:1,strokeLinecap:Ea,strokeLinejoin:Ca},tickLabels:Object.assign({},ya,{fill:Aa})}},ba),polarDependentAxis:Object.assign({style:{ticks:{fill:"transparent",size:1,stroke:"transparent"}}}),bar:Object.assign({style:{data:{fill:Aa,padding:8,strokeWidth:0},labels:ya}},ba),boxplot:Object.assign({style:{max:{padding:8,stroke:Aa,strokeWidth:1},maxLabels:Object.assign({},ya,{padding:3}),median:{padding:8,stroke:Aa,strokeWidth:1},medianLabels:Object.assign({},ya,{padding:3}),min:{padding:8,stroke:Aa,strokeWidth:1},minLabels:Object.assign({},ya,{padding:3}),q1:{padding:8,fill:Aa},q1Labels:Object.assign({},ya,{padding:3}),q3:{padding:8,fill:Aa},q3Labels:Object.assign({},ya,{padding:3})},boxWidth:20},ba),candlestick:Object.assign({style:{data:{stroke:Aa},labels:Object.assign({},ya,{padding:5})},candleColors:{positive:"#ffffff",negative:Aa}},ba),chart:ba,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:Aa,strokeWidth:2},labels:ya}},ba),group:Object.assign({colorScale:ca},ba),histogram:Object.assign({style:{data:{fill:Aa,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:Aa,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:Aa,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",Pa="#FF6F2C",Oa={100:"#FFDCE5",300:"#FF9EB7",500:"#F82B60",700:"#D31A3D",900:"#BA1E45"},Ma="#8B46FF",Na={100:"#CFDFFF",300:"#9CC7FF",500:"#2D7FF9",700:"#0056B3",900:"#2750AE"},Ra="#18BFFF",_a="#20D9D2",Fa={100:"#D1F7C4",300:"#93E088",500:"#20C933",700:"#1B9B2A",900:"#338A17"},ja={blue:Na[500],cyan:Ra,green:Fa[500],yellow:ka,orange:Pa,red:Oa[500],purple:Ma,teal:_a},Ga=Object.values(ja),Ha=[Sa,xa,Ia,La,Da],Ua=["#FFD66E",ka,Pa,"#D74D26",Oa[500]],za=[Ma,Na[500],Ra,_a,Fa[500]],Ya=[Fa[900],Fa[500],ka,Pa,Oa[500]],Wa=Object.values(Oa),$a=Object.values(Fa),Va=Object.values(Na),qa=Na[500],Xa={width:450,height:300,padding:60,colorScale:Ga},Ka={fontFamily:"'Inter', 'Helvetica Neue', 'Seravek', 'Helvetica', sans-serif",fontSize:12,fontWeight:300,letterSpacing:"normal",padding:8,fill:Da,stroke:"transparent"},Qa=Object.assign({textAnchor:"middle"},Ka),Za="10, 5",Ja="round",er="round",tr={grayscale:oa,material:Ba,clean:{palette:{colors:ja,grayscale:Ha,qualitative:Ga,heatmap:Ya,warm:Ua,cool:za,red:Wa,green:$a,blue:Va},area:Object.assign({style:{data:{fill:qa,strokeWidth:2,fillOpacity:.5},labels:Ka}},Xa),axis:Object.assign({style:{axis:{fill:"transparent",stroke:Ia,strokeWidth:1,strokeLinecap:Ja,strokeLinejoin:er},axisLabel:Object.assign({},Qa,{padding:35,stroke:"transparent"}),grid:{fill:"none",stroke:"none",painterEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:"transparent"},tickLabels:Ka}},Xa),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}},Xa),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:Ga[0],rx:1,strokeWidth:2},q1Labels:Object.assign({},Ka,{padding:3}),q3:{padding:8,fill:Ga[1],rx:1},q3Labels:Object.assign({},Ka,{padding:3})},boxWidth:20},Xa),candlestick:Object.assign({style:{data:{stroke:xa,strokeWidth:0,rx:1},labels:Object.assign({},Ka,{padding:5})},candleColors:{positive:Fa[500],negative:Oa[500]},wickStrokeWidth:2},Xa),chart:Xa,errorbar:Object.assign({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:La,strokeWidth:2,strokeLinecap:Ja},labels:Ka}},Xa),group:Object.assign({colorScale:Ga},Xa),histogram:Object.assign({style:{data:{fill:Ra,fillOpacity:.5},labels:Ka},binSpacing:4,cornerRadius:{top:1}},Xa),label:Ka,legend:{colorScale:Ga,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}},Xa),pie:Object.assign({style:{parent:{backgroundColor:Ta},data:{padding:8,stroke:Ta,strokeWidth:1},labels:{...Ka,padding:20,fill:"#5C5C5C",fontSize:10}},colorScale:Ga,cornerRadius:1},Xa),scatter:Object.assign({style:{data:{fill:qa,opacity:1,stroke:"transparent",strokeWidth:0},labels:{...Ka,padding:20}}},Xa),stack:Object.assign({colorScale:Ga},Xa),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:Na[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}}},Xa)}},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},pr=(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))})},Ar=(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=pr(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}=pr(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=pr(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?Ar(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),p=Br(i,r-1),A=l&&a||0,g=r&&!l?o.fontSize*o.lineHeight+p.top+p.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+A,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),p=t.heightWithPadding,A=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,p)-f.top:c,m={key:`tspan-background-${n}`,height:p,style:Br(o,n),width:t.widthWithPadding,transform:r,x:A-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),p=xr(e,u),A={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:p};return w().cloneElement(r,qt()({},r.props,A))})(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(zn,null),groupComponent:w().createElement("g",null),direction:"inherit",textComponent:w().createElement(Yn,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:p,y:A,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:p,y:A+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:p,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),Pr=n.n(kr);function Or(e){return Array.isArray(e)&&e.length>0}function Mr(e){return Array.isArray(e)&&e.some((e=>"string"==typeof e))}function Nr(e){return Array.isArray(e)&&e.some((e=>e instanceof Date))}function Rr(e){return Array.isArray(e)&&e.some((e=>"number"==typeof e))}function _r(e){return Or(e)&&e.every((e=>"string"==typeof e))}function Fr(e,t){return e&&t?e.filter((e=>!t.includes(e))):[]}function jr(e){return Or(e)&&e.every(Array.isArray)}function Gr(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 Nr(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 Nr(r)?new Date(Math.min(...r)):Math.min(...r)}var zr=n(83488),Yr=n.n(zr);function Wr(e,t){return(e.key||t).toString()}function $r(e){return e.reduce(((e,t,n)=>(e[Wr(t,n)]=t,e)),{})}function Vr(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 Xr(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&&$r(e),a=t&&$r(t);return{entering:n&&Vr(a,n),exiting:a&&Vr(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:Yr();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:Yr();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:Yr();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:Yr();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:Yr();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),p=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 A=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:p(n,"onLoad")};return u(0,A,Object.assign({},g,e))}if(a){const e=h&&h.exiting,t=void 0!==d.exit?d.exit:p(n,"onExit"),a=e?{duration:t}:{delay:t};return c(e,0,A,Object.assign({},g,a))}if(r){const e=h&&h.entering,t=void 0!==d.enter?d.enter:p(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,A,Object.assign({},g,r))}return!t&&g&&g.onExit?function(e,t){const n=e.onEnter&&e.onEnter.after?e.onEnter.after:Yr();return{data:t.map(((e,a)=>Object.assign({},e,n(e,a,t))))}}(g,A):{animate:g,data:A}}}function Qr(){return Qr=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},Qr.apply(this,arguments)}class Zr extends w().Component{static displayName="VictoryTransition";static contextType=Gt;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 Pr()(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}=Xr(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=An(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,Qr({},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(zn,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:Yt()("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:p,right:A}=an(e.clipPadding);let g;if(n){const t=e.radius||fn(e),n={r:Math.max(t+p+A,t+c+f,0),cx:a.x-p,cy:a.y-c};g=w().cloneElement(l,n)}else{const e={x:i-p,y:s-c,width:Math.max(r+p+A,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=An(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=An(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(zn,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(zn,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 po(){return po=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},po.apply(this,arguments)}const Ao=(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",po({},s,{ref:t}),w().createElement("desc",null,n)):w().createElement("line",po({},s,{ref:t}))})),go={lineComponent:w().createElement(Ao,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(Ao,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:p,desc:A,tabIndex:g}=t,m={...o,style:p,desc:A,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),Po=n.n(ko),Oo=n(42194),Mo=n.n(Oo),No=n(63375),Ro=n.n(No);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 jo(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 Go(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=zo(e,t[r],n[r],r);return a[r]=i||o,Po()(a,(e=>!Fn()(e)))}),{})}function zo(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=Yo(e,s,i,{eventKey:o,target:"parent"});r[o]=void 0!==t?Object.assign({},i,t):i}else{const t=Ro()(Object.keys(s).concat(Object.keys(i)));r[o]=t.reduce(((t,n)=>{const r={eventKey:o,target:n,childName:a},l=Yo(e,s[n],i[n],r);return t[n]=void 0!==l?Object.assign({},i[n],l):i[n],Po()(t,(e=>!Fn()(e)))}),{})}return Po()(r,(e=>!Fn()(e)))}),{})}function Yo(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 $o(e){const t=e.match(_o);return t&&t[1]&&t[1].toLowerCase()}const Vo=e=>Po()(e,((e,t)=>_o.test(t))),qo=e=>Mo()(e,((e,t)=>_o.test(t))),Xo=e=>Object.assign(e,{nativeEvent:e}),Ko=e=>!gn(e._x)&&!gn(e._y),Qo=[{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=jo.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=!Pr()(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 Pr()(this.calculatedState,r)?!Pr()(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(Xo(t))};this.boundGlobalEvents[e]=t,window.addEventListener($o(e),t)}removeGlobalListener(e){window.removeEventListener($o(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||Qo).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:zo(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()({},Go(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=Vo(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 pi(e,t){if(!e.data)return"linear";const n=hn(e[t]);return Nr(e.data.map((e=>{const a=ye()(n(e))?n(e)[t]:n(e);return void 0!==a?a:e[t]})))?"time":"linear"}function Ai(e){if(ci(e)){const n=`scale${t=e,t&&t[0].toUpperCase()+t.slice(1)}`;return A[n]()}var t;return di.scaleLinear()}function gi(e,t){const n=hi(e,t);return n?"string"==typeof n?Ai(n):n:Ai(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 Nr(n)?"time":"linear"}(e,t)||pi(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:Ai(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)||pi(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 Pi(e){return Si(e)?e.size:e.length}function Oi(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 Mi(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 Ni(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),p=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,A=a(l)?l:r;return a(A)?(a(d)||!c(A)&&!p(A)||(r=null),(c(d)&&c(A)||p(d)&&p(A))&&(r=o=l=null),c(d)&&!c(A)&&(o=i),p(d)&&!p(A)&&(o=s),Object.assign({},e,Mo()({_x:t,_y:r,_y0:o,_y1:l},li()))):e}))}function Ri(e,t){const n=Ui(e,t),a=zi(e,t),r=Yi(e,t),o=Ro()([...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=Pi(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)||Pi(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")?Ri(t,"x"):void 0,y:-1!==n.indexOf("y")?Ri(t,"y"):void 0,y0:-1!==n.indexOf("y0")?Ri(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)))}(Mi(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 ji(e){const t=Oi(e,"x"),n=Oi(e,"y"),a=t.map(((e,t)=>({x:e,y:n[t]})));return a}function Gi(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(ji(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 zi(e,t){if(!e.categories)return[];const n=Gi(e,t),a=n&&n.filter((e=>"string"==typeof e));return a?Gr(a):[]}function Yi(e,t){if(!Array.isArray(e.data)&&!Si(e.data))return[];const n=hn(void 0===e[t]?t:e[t]);return Mi(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 $i(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 Vi(e,t){const n=mn(e)?e:Qi,a=mn(t)?t:qi;return(e,t)=>{const r=Ji(e,t);if(r)return a(r,e,t);const o=Gi(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=An(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,p=c*o.right/d;let A={min:i.valueOf()-f,max:s.valueOf()+p};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&&A.min<=0||s.valueOf()<=0&&A.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};A={min:m(i.valueOf()-n.left,"min"),max:m(s.valueOf()+n.right,"max")}}const h={min:void 0!==a?a:A.min,max:void 0!==r?r:A.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 Xi(e,t){return Vi()(e,t)}function Ki(e,t,n){const a=n||Gi(e,t),{polar:r,startAngle:o=0,endAngle:i=360}=e;if(!a)return;const s=ns(e,t),l=ts(e,t),d=Mr(a)?zi(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 Qi(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:$i(a,t,"min"),void 0!==l?l:$i(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 Vi((()=>Qi(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:Nr(e.x)?new Date(Math.min(...e.x)):t(e.x),y:Nr(e.y)?new Date(Math.min(...e.y)):t(e.y)}}function cs(e,t){return Nr(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 ps(e){return void 0!==e.tickValues&&Mr(e.tickValues)}function As(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&&Mr(t)&&(o=r?t.map((e=>r[e])):En(1,t.length+1));const i=o?Ro()(o):(()=>{if(n&&Array.isArray(n))return Mr(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&&!Nr(t)?e=>e:void 0;if(!a)return ps(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=As(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=As(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=As(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=ps(e),u=i.map((e=>Number(e))),c=d?1:Ur(u),f=d?i.length:Hr(u),p=Zi(void 0!==s?s:c,void 0!==l?l:f),A=n&&"x"===t&&360===Math.abs(a-r)?as(p,u):p;return fs(e)&&!n&&A.reverse(),A}function ys(e,t){const n=is(e);if(!t||t===n)return Vi(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=jr(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}=Xr(n,r);a({nodesWillExit:s,nodesWillEnter:l,nodesShouldEnter:u,childrenTransitions:jr(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),Ps=e=>{return`curve${t=e,t&&t[0].toUpperCase()+t.slice(1)}`;var t},Os=e=>{const{interpolation:t}=e;if("function"==typeof t)return t;if("string"==typeof t){const{polar:n,openCurve:a=!n}=e,r=a?Ps(t):(e=>`${Ps(e)}Closed`)(t);return C[r]}return Is.curveLinear},Ms=e=>{const{polar:t,scale:n,horizontal:a}=e;return t?Is.lineRadial().defined(Ls).curve(Os(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(Os(e)).x(a?ks(n):Ds(n)).y(a?Ds(n):ks(n))};function Ns(e,t,n){const{a,d:r,e:o,f:i}=t;return"y"===n?r*e+i:a*e+o}function Rs(e){return!(!e||void 0===e.identifier)}function _s(e){if(Rs(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(Rs(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:Ns(n.clientX,a,"x"),y:Ns(n.clientY,a,"y")}}function js(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 Gs(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=Gs(e,o,t,a),s=Gs(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),zs=n.n(Us),Ys=n(50014),Ws=n.n(Ys);function $s(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 Vs(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=$s({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")))),p=c?"_group":"_stack";return Object.values(zs()(f,p))}function qs(e,t){return e.data?Hi(e):Vs(e,t||w().Children.toArray(e.children))}function Xs(e,t,n){const{datasets:a,horizontal:r}=e,o=An(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||Xs(e,o.length,l);return{x:d*o.length/2+(r-d*((o.length-1)/2))}}function Qs(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},p=r?Object.assign(f,{data:r}):f,A=Cn(a,(e=>{const n=Object.assign({},e.props,p);return rs(e)?e.type&&mn(e.type.getDomain)?e.props&&e.type.getDomain(n,t):Xi(n,t):null}),e);return[0===A.length?0:Ur(A),0===A.length?1:Hr(A)]}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?Qi(e,t,o):[],l=Qs(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=Ro()(Cn(a,(n=>bi(Object.assign({},n.props,{horizontal:e.horizontal}),t)),e));return r.length>1?Ai("linear"):Ai(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:Xs(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)?zi(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=zi(e,t),r=ls(n,t),o=r?Ui(r.props,t):[],i=a.length?a:rl(n,t);return Ro()([...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:Ro()([...a,...o.x].flat()),y:Ro()([...r,...o.y].flat())}}function ll(e,t,n){const a=e.categories&&zi(e,"x"),r=e.categories&&zi(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}}},36547:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0iYSIgZD0iTTkgNi43MWEuOTk2Ljk5NiAwIDAgMCAwIDEuNDFMMTIuODggMTIgOSAxNS44OGEuOTk2Ljk5NiAwIDEgMCAxLjQxIDEuNDFMMTUgMTIuN2EuOTk2Ljk5NiAwIDAgMCAwLTEuNDFMMTAuNDEgNi43Yy0uMzgtLjM4LTEuMDItLjM4LTEuNDEuMDF6Ii8+CiAgICA8L2RlZnM+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxtYXNrIGlkPSJiIiBmaWxsPSIjZmZmIj4KICAgICAgICAgICAgPHVzZSB4bGluazpocmVmPSIjYSIvPgogICAgICAgIDwvbWFzaz4KICAgICAgICA8ZyBmaWxsPSIjMDAwIiBmaWxsLW9wYWNpdHk9Ii41NCIgbWFzaz0idXJsKCNiKSI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiLz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo="},19229:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0iYSIgZD0iTTE1Ljg3NSA5bC0zLjg4IDMuODhMOC4xMTUgOWEuOTk2Ljk5NiAwIDEgMC0xLjQxIDEuNDFsNC41OSA0LjU5Yy4zOS4zOSAxLjAyLjM5IDEuNDEgMGw0LjU5LTQuNTlhLjk5Ni45OTYgMCAwIDAgMC0xLjQxYy0uMzktLjM4LTEuMDMtLjM5LTEuNDIgMHoiLz4KICAgIDwvZGVmcz4KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPG1hc2sgaWQ9ImIiIGZpbGw9IiNmZmYiPgogICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNhIi8+CiAgICAgICAgPC9tYXNrPgogICAgICAgIDxnIGZpbGw9IiMwMDAiIGZpbGwtb3BhY2l0eT0iLjU0IiBtYXNrPSJ1cmwoI2IpIj4KICAgICAgICAgICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIvPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+Cg=="},20168:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0iYSIgZD0iTTExIDdoMnYyaC0yVjd6bTEgMTBjLjU1IDAgMS0uNDUgMS0xdi00YzAtLjU1LS40NS0xLTEtMXMtMSAuNDUtMSAxdjRjMCAuNTUuNDUgMSAxIDF6bTAtMTVDNi40OCAyIDIgNi40OCAyIDEyczQuNDggMTAgMTAgMTAgMTAtNC40OCAxMC0xMFMxNy41MiAyIDEyIDJ6bTAgMThjLTQuNDEgMC04LTMuNTktOC04czMuNTktOCA4LTggOCAzLjU5IDggOC0zLjU5IDgtOCA4eiIvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+CiAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI2EiLz4KICAgICAgICA8L21hc2s+CiAgICAgICAgPGcgZmlsbD0iIzAwMCIgZmlsbC1vcGFjaXR5PSIuNTQiIG1hc2s9InVybCgjYikiPgogICAgICAgICAgICA8cGF0aCBkPSJNMCAwaDI0djI0SDB6Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K"},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 P(a||[]);return i(o,"_invoke",{value:I(e,n,s)}),o}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var A="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(O([])));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=p(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=A;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===A)throw r=h,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);r=m;var d=p(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=p(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 P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function O(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=O,P.prototype={constructor:P,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:O(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}}}},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}),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)),p=t(n(69717)),A=t(n(56607)),g=t(n(15910)),m=t(n(63616)),h=t(n(78572)),b=t(n(88054)),y=t(n(32592)),v=t(n(31768)),E=n(99559),C=n(84240),B=n(11673),T=n(66871),S=n(74501),x=n(89540),w=n(80358),I=n(98020),L=n(37359),D=n(7737),k=t(n(40549)),P=n(51856),O=n(54114);n(72439);var M=n(56427);void 0===r.default.get(M,"options.returnEmptyString")&&M.init({returnEmptyString:!1,nsSeparator:"|"}),e.components={CBGDateTraceLabel:o.default,ClipboardButton:d.default,FocusedRangeLabels:i.default,FocusedSMBGPointLabel:s.default,Loader:l.default,RangeSelect:u.default,TwoOptionToggle:c.default,Tooltip:A.default,BolusTooltip:g.default,PumpSettingsOverrideTooltip:m.default,SMBGTooltip:h.default,Stat:b.default,CBGTooltip:y.default,FoodTooltip:v.default},e.containers={PumpSettingsContainer:f.default,TrendsContainer:p.default},e.utils={agp:{generateAGPFigureDefinitions:P.generateAGPFigureDefinitions},basal:{getGroupDurations:B.getGroupDurations,getTotalBasalFromEndpoints:B.getTotalBasalFromEndpoints},bg:{formatBgValue:E.formatBgValue,generateBgRangeLabels:C.generateBgRangeLabels,isCustomBgRange:C.isCustomBgRange,reshapeBgClassesToBgBounds:C.reshapeBgClassesToBgBounds},constants:{DEFAULT_BG_BOUNDS:T.DEFAULT_BG_BOUNDS},datetime:{findBasicsStart:O.findBasicsStart,formatDateRange:S.formatDateRange,formatTimeAgo:S.formatTimeAgo,getLocalizedCeiling:S.getLocalizedCeiling,getOffset:S.getOffset,getTimezoneFromTimePrefs:S.getTimezoneFromTimePrefs},stat:{bankersRound:E.bankersRound,commonStats:w.commonStats,formatDatum:w.formatDatum,formatPercentage:E.formatPercentage,getStatAnnotations:w.getStatAnnotations,getStatData:w.getStatData,getStatDefinition:w.getStatDefinition,getStatTitle:w.getStatTitle,statBgSourceLabels:w.statBgSourceLabels,statFetchMethods:w.statFetchMethods,statFormats:w.statFormats},settings:{deviceName:x.deviceName},aggregation:{defineBasicsAggregations:O.defineBasicsAggregations,processBasicsAggregations:O.processBasicsAggregations},text:{TextUtil:k.default,trendsText:L.trendsText,basicsText:O.basicsText,bgLogText:I.bgLogText,agpCGMText:D.agpCGMText}}})();var r=exports;for(var o in a)r[o]=a[o];a.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
|
|
2
|
+
(()=>{var e={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)),l=r(n(46721)),s=r(n(54013)),u=r(n(53671)),d=a(n(82015)),c=r(n(27825)),f=r(n(56427)),p=r(n(80789)),m=r(n(3892)),g=r(n(77950));void 0===c.default.get(f.default,"options.returnEmptyString")&&f.default.init({returnEmptyString:!1,nsSeparator:"|"});var A=f.default.t.bind(f.default),h=function(e){(0,s.default)(n,e);var t=(0,u.default)(n);function n(e){var a;return(0,l.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,m.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 d.default.createElement(p.default,{className:t,"button-title":a.props.buttonTitle,"option-text":a.getText,onClick:a.onClick,onSuccess:a.onSuccess},d.default.createElement("span",{className:g.default.buttonText},a.props.buttonText),d.default.createElement("span",{className:g.default.successText},a.props.successText))},a.state=a.getInitialState(),a}return(0,i.default)(n)}(d.PureComponent);h.defaultProps={buttonText:A("Copy as text"),buttonTitle:A("Copy to clipboard"),clipboardText:A("Sorry, there was nothing to copy."),onClick:c.default.noop,successText:A("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)),l=a(n(10587));t.default=function(e){var t=e.id,n=e.label,a=e.min,s=e.max,u=e.onChange,d=e.onSuffixChange,c=e.step,f=e.suffix,p=e.type,m=e.value;return r.default.createElement("div",{className:l.default.wrapper},r.default.createElement("div",{className:l.default.label},r.default.createElement("label",{htmlFor:t,className:l.default.label},n)),r.default.createElement("div",{className:l.default.inputs},r.default.createElement("input",{className:l.default["input-".concat(p)],id:t,max:s,min:a,name:t,onChange:u,step:c||"any",type:p,value:m}),o.default.isString(f)&&r.default.createElement("div",{className:l.default.suffixText},f),o.default.isPlainObject(f)&&r.default.createElement("div",{className:l.default.suffix},r.default.createElement(i.default,{classNamePrefix:"inputGroup-suffix",id:f.id,name:f.id,onChange:d,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,l=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()}})," ",l)}},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)),l=a(n(18469)),s=function(e){var t,n,a=e.disabled,s=e.left,d=e.right,c=e.toggleFn,f=(0,i.default)((t={},(0,r.default)(t,l.default.active,!a&&d.state),(0,r.default)(t,l.default.label,!0),t)),p=(0,i.default)((n={},(0,r.default)(n,l.default.active,!a&&s.state),(0,r.default)(n,l.default.label,!0),n));return o.default.createElement("div",{className:l.default.container},o.default.createElement("span",{className:p},s.label),o.default.createElement(u,{disabled:a,leftOptionActive:s.state,toggleFn:c}),o.default.createElement("span",{className:f},d.label))};s.defaultProps={disabled:!1},s.displayName="TwoOptionToggle";var u=t.Toggle=function(e){var t=e.disabled,n=e.leftOptionActive,a=e.toggleFn;return o.default.createElement("div",{className:t?l.default.disabled:l.default.toggle,onClick:t?function(){}:a},o.default.createElement("div",{className:l.default.track}),o.default.createElement("div",{className:n?l.default.leftThumb:l.default.rightThumb}))};u.displayName="Toggle",t.default=s},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)),l=a(n(87878)),s=function(e){var t,n,a=e.show,s=e.overlay,u=e.text,d=(0,i.default)((0,r.default)({loader:!0},l.default.loader,!0)),c=(0,i.default)((t={},(0,r.default)(t,l.default.loaderDots,!0),(0,r.default)(t,l.default.hidden,!a),(0,r.default)(t,l.default.overlay,s),t)),f=(0,i.default)((n={},(0,r.default)(n,l.default.loaderDot,!0),(0,r.default)(n,l.default.animating,a),n));return o.default.createElement("div",{className:d},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:l.default.loaderText},u)))};s.defaultProps={overlay:!1,show:!0,text:"Loading..."},t.default=s},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),l=n(97302),s=a(n(72439)),u=n(84240),d=t.BgBar=function(e){var t=e.barWidth,n=e.bgPrefs,a=(void 0===n?{}:n).bgBounds,d=e.chartLabelWidth,c=e.datum,f=void 0===c?{}:c,p=e.domain,m=e.index,g=e.scale,A=void 0===g?{x:o.default.noop,y:o.default.noop}:g,h=e.width,b=o.default.isObject(f.deviation),y=!b,v=o.default.get(f,"deviation.value",0),E=(h-d)/h,C={low:A.y(a.targetLowerBound)*E,target:A.y(a.targetUpperBound-a.targetLowerBound)*E,high:A.y(p.x[1]-a.targetUpperBound)*E},T=t/2,B=A.x(m+1)-t/2,S=B+t/2,x=A.y(f._y)*E,w=f._y-v,I=A.y(f._y-v)*E,O=f._y+v,L=A.y(f._y+v)*E,P=y?f._y>0:w>0&&O>0;return r.default.createElement("g",{className:"bgBar"},r.default.createElement("g",{className:"bgScale"},r.default.createElement(l.Arc,{cx:T,cy:S,r:T,startAngle:90,endAngle:270,style:{stroke:"transparent",fill:P?s.default.low:s.default.statDisabled,fillOpacity:P?.5:1}}),r.default.createElement(i.Rect,Object.assign({},e,{x:T,y:B,width:C.low-T,height:t,style:{stroke:"transparent",fill:P?s.default.low:s.default.statDisabled,fillOpacity:P?.5:1}})),r.default.createElement(i.Rect,Object.assign({},e,{x:C.low,y:B,width:C.target,height:t,style:{stroke:"transparent",fill:P?s.default.target:s.default.statDisabled,fillOpacity:P?.5:1}})),r.default.createElement(i.Rect,Object.assign({},e,{x:C.low+C.target,y:B,width:C.high-T,height:t,style:{stroke:"transparent",fill:P?s.default.high:s.default.statDisabled,fillOpacity:P?.5:1}})),r.default.createElement(l.Arc,{cx:C.low+C.target+C.high-T,cy:S,r:T,startAngle:270,endAngle:90,style:{stroke:"transparent",fill:P?s.default.high:s.default.statDisabled,fillOpacity:P?.5:1}})),y&&P&&r.default.createElement("g",{className:"bgMean"},r.default.createElement(i.Point,{x,y:S,style:{fill:s.default[(0,u.classifyBgValue)(a,f._y)],stroke:s.default.white,strokeWidth:2},size:2*t})),b&&P&&r.default.createElement("g",{className:"bgDeviation"},r.default.createElement(i.Rect,Object.assign({},e,{x:o.default.max([I-3,0]),y:S-2*t-1,width:4,height:4*t+2,style:{stroke:"white",strokeWidth:2,fill:s.default[(0,u.classifyBgValue)(a,o.default.max([w,.1]))]}})),r.default.createElement(i.Rect,Object.assign({},e,{x:o.default.min([L-3,h-d-3]),y:S-2*t-1,width:4,height:4*t+2,style:{stroke:"white",strokeWidth:2,fill:s.default[(0,u.classifyBgValue)(a,O)]}}))))};d.displayName="BgBar",t.default=d},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),l=t.BgBarLabel=function(e){var t=e.barWidth,n=e.domain,a=e.scale,l=void 0===a?{x:o.default.noop,y:o.default.noop}:a,s=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:s,textAnchor:"end",verticalAnchor:"middle",dy:-(t/2-1),x:l.y(n.x[1])})))};l.displayName="BgBarLabel",t.default=l},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)),l=a(n(72439)),s=t.HoverBar=function(e){var t=e.barSpacing,n=e.barWidth,a=e.chartLabelWidth,s=e.cornerRadius,u=e.domain,d=e.index,c=e.scale,f=void 0===c?{x:i.default.noop,y:i.default.noop}:c,p=e.width,m=e.y,g=n/6,A=i.default.get(s,"top",2),h=(p-a)/p;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(d+1)-n/2-t/2,rx:A,ry:A,width:f.y(u.x[1]),height:n+t,style:{stroke:"transparent",fill:"transparent"}}))),r.default.createElement("g",{className:"barBg",pointerEvents:"none"},r.default.createElement(o.Rect,Object.assign({},e,{x:0,y:f.x(d+1)-g/2,rx:A,ry:A,width:f.y(u.x[1])-a,height:g,style:{stroke:"transparent",fill:l.default.axis}}))),r.default.createElement("g",{pointerEvents:"none"},r.default.createElement(o.Bar,Object.assign({},e,{width:f.y(u.x[1])-a,y:m*h}))))};s.displayName="HoverBar",t.default=s},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)),l=n(40054),s=a(n(72439)),u=t.HoverBarLabel=function(e){var t=e.barWidth,n=e.isDisabled,a=e.datum,u=void 0===a?{_x:0,_y:0}:a,d=e.domain,c=e.scale,f=void 0===c?{x:i.default.noop,y:i.default.noop}:c,p=e.style,m=void 0===p?{}:p,g=e.text,A=e.tooltipText,h=i.default.min([t/2,12]),b=1.2*h,y=b/2,v=n(),E=i.default.assign({},m,{fontSize:h,display:v?"none":"inherit"}),C=l.TextSize.approximateTextSize(A(u),E),T=i.default.assign({},m,{pointerEvents:"none"}),B=i.default.assign({},T,{fontSize:T.fontSize/2,baselineShift:-T.fontSize/2*.25,fill:s.default.statDefault}),S=g(u),x=l.TextSize.approximateTextSize(S[1]||"",B),w=(0,r.default)((0,r.default)({},u),{},{_y:i.default.max([u._y,0])});return o.default.createElement("g",{className:"HoverBarLabel"},o.default.createElement(l.VictoryLabel,Object.assign({},e,{text:S[0],renderInPortal:!1,style:T,textAnchor:"end",verticalAnchor:"middle",x:f.y(d.x[1]),dx:-1.9*x.width})),o.default.createElement(l.VictoryLabel,Object.assign({},e,{text:S[1],renderInPortal:!1,style:B,textAnchor:"end",verticalAnchor:"middle",x:f.y(d.x[1]),dx:0})),C.width>0&&o.default.createElement(l.VictoryTooltip,Object.assign({},e,{cornerRadius:y,datum:w,x:f.y(d.x[1])-m.paddingLeft-C.width-2*y,flyoutStyle:{display:v?"none":"inherit",stroke:s.default.axis,strokeWidth:2,fill:s.default.white},width:C.width+2*y,height:b,pointerLength:0,pointerWidth:0,renderInPortal:!1,text:A,style:E})))};u.displayName="HoverBarLabel",t.default=u},88054:(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(37055)),i=a(n(271)),l=a(n(79222)),s=a(n(46721)),u=a(n(4841)),d=a(n(54013)),c=a(n(53671)),f=r(n(82015)),p=a(n(27825)),m=a(n(66581)),g=a(n(3892)),A=n(37841),h=n(40054),b=n(14549),y=n(99559),v=n(66871),E=n(80358),C=a(n(18504)),T=a(n(72439)),B=(n(94981),a(n(33255))),S=a(n(96993)),x=a(n(49654)),w=a(n(3582)),I=a(n(39681)),O=a(n(53083)),L=a(n(19229)),P=a(n(36547)),D=a(n(20168)),k=a(n(48899)),M=["renderer"],N=function(e){(0,d.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)).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:C.default.chartTitle},f.default.createElement("span",{className:C.default.chartTitleText},a.state.chartTitle),n&&n!==a.props.emptyDataPlaceholder&&f.default.createElement("span",{className:C.default.chartTitleData},"( ",f.default.createElement("span",{style:{color:T.default[t.id]||T.default.statDefault}},t.value),f.default.createElement("span",{className:C.default.chartTitleSuffix},t.suffix)," )"),a.props.annotations&&!e&&f.default.createElement("span",{className:C.default.tooltipIcon},f.default.createElement("img",{src:D.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,l=p.default.get(o,"value"),s=p.default.get(o,"suffix");return 0===l&&(l=[l]),p.default.isArray(l)||(l=p.default.compact([l])),p.default.isArray(s)||(s=p.default.compact([s])),f.default.createElement("div",{className:C.default.chartSummary},l.length>0&&i&&p.default.map(l,(function(e,t){return f.default.createElement("div",{className:C.default.summaryData,style:{color:T.default[o.id]||T.default.statDefault}},f.default.createElement("span",{className:C.default.summaryValue},e),f.default.createElement("span",{className:C.default.summarySuffix},s[t]))})),r&&!n&&!a.state.showFooter&&a.renderStatUnits(),a.state.isCollapsible&&f.default.createElement("div",{className:C.default.chartCollapse},f.default.createElement("img",{src:a.state.isOpened?L.default:P.default,onClick:a.handleCollapse})))},a.renderStatUnits=function(){return f.default.createElement("div",{className:C.default.units},a.props.units)},a.renderChildren=function(){return f.default.createElement("div",{className:C.default.statChildren},a.props.children)},a.renderStatHeader=function(){return f.default.createElement("div",{className:C.default.statHeader},a.renderChartTitle(),a.renderChartSummary())},a.renderStatFooter=function(){return f.default.createElement("div",{className:C.default.statFooter},a.props.type===E.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:C.default.statLegend},f.default.createElement(O.default,{items:e}))},a.renderChart=function(e){var t=a.chartProps,n=t.renderer,r=(0,l.default)(t,M);return f.default.createElement(b.Collapse,{isOpened:a.state.isOpened,theme:{collapse:"statCollapse"}},f.default.createElement("div",{className:C.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:C.default.inputWrapper},f.default.createElement(k.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}},l=p.default.get(r,"label"),s={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,s.value=o.dividend/s.value,o.result=(0,E.formatDatum)(s,n,a.props)):o.result=(0,E.formatDatum)(s,n,a.props));var u=(0,g.default)((e={},(0,i.default)(e,C.default.outputValue,!0),(0,i.default)(e,C.default.outputValueDisabled,o.result.value===a.props.emptyDataPlaceholder),e));return f.default.createElement("div",{className:C.default.outputWrapper},l&&f.default.createElement("div",{className:C.default.outputLabel},l),f.default.createElement("div",{className:C.default.outputValueWrapper},f.default.createElement("span",{className:u},o.result.value),f.default.createElement("span",{className:C.default.outputSuffix},o.result.suffix)))},a.renderTooltip=function(){return f.default.createElement("div",{className:C.default.StatTooltipWrapper},f.default.createElement(I.default,{annotations:a.props.annotations,offset:a.state.messageTooltipOffset,position:a.state.messageTooltipPosition,side:a.state.messageTooltipSide}))},a.render=function(){var e,t=(0,g.default)((e={},(0,i.default)(e,C.default.Stat,!0),(0,i.default)(e,C.default.isOpen,a.state.isOpened),e));return f.default.createElement("div",{className:C.default.StatWrapper},f.default.createElement("div",{ref:a.setStatRef,className:t},a.renderStatHeader(),a.chartProps.renderer&&f.default.createElement("div",{className:C.default.statMain},f.default.createElement(A.SizeMe,{render:function(e){var t=e.size;return a.renderChart(t)}})),a.props.type===E.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,y.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,l,s=e.type,u=e.data,d=e.bgPrefs.bgUnits,c=24,m=2.75*c,g=p.default.cloneDeep(u.data),A=a.getDefaultChartProps(e);switch(s){case"barBg":t=4,r=A.height||6*t,n={x:[0,d===v.MGDL_UNITS?v.MGDL_CLAMP_TOP:v.MMOLL_CLAMP_TOP],y:[0,1]},i={top:10,bottom:10},p.default.assign(A,{alignment:"middle",containerComponent:f.default.createElement(h.VictoryContainer,{responsive:!1}),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(x.default,{barWidth:t,bgPrefs:e.bgPrefs,chartLabelWidth:m,domain:n}),domain:n,height:r,horizontal:!0,labelComponent:f.default.createElement(w.default,{barWidth:t,bgPrefs:e.bgPrefs,domain:n,text:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=p.default.get(g,t.index,t),a=(0,E.formatDatum)(p.default.get(n,"deviation",n),e.dataFormat.label,e).value;return"".concat(a)},tooltipText:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,E.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:h.VictoryBar,style:{data:{fill:function(e){return a.getDatumColor(e)},width:function(){return t}},labels:{fill:function(t){return a.getDatumColor(p.default.assign({},t,(0,E.formatDatum)(t,e.dataFormat.label,e)))},fontSize:c,fontWeight:500,paddingLeft:m}}});break;case"barHorizontal":r=A.height,l=p.default.get(u,"total.value"),r>0?(t=(r-6)/g.length-3,m=2.75*(c=p.default.min([.833*t,c]))):r=(6+(t=30))*g.length,n={x:[0,1],y:[0,g.length]},i={top:t/2,bottom:t/2*-1},p.default.assign(A,{alignment:"middle",containerComponent:f.default.createElement(h.VictoryContainer,{responsive:!1}),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:l>0?e.value/l:e.value,index:t})})),x:"_x",y:"_y",dataComponent:f.default.createElement(B.default,{barWidth:t,barSpacing:6,chartLabelWidth:m,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(S.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,E.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,E.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:h.VictoryBar,style:{data:{fill:function(e){return 0===e._y?"transparent":a.getDatumColor(e)},width:function(){return t}},labels:{fill:function(t){return a.getDatumColor(p.default.assign({},t,(0,E.formatDatum)(t,e.dataFormat.label,e)))},fontSize:c,fontWeight:500,paddingLeft:m}}})}return A},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,E.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(),l={top:t-i.top+o/2,left:n-i.left+r/2},s={horizontal:r/2,top:-i.height},u=p.default.get(document,"body.clientWidth",0)-n<225?"left":"right";a.setState({showMessages:!0,messageTooltipPosition:l,messageTooltipOffset:s,messageTooltipSide:u})},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,m.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,u.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);N.defaultProps={alwaysShowSummary:!1,alwaysShowTooltips:!0,animate:!0,bgPrefs:{},categories:{},chartHeight:0,collapsible:!1,emptyDataPlaceholder:"--",isDisabled:!1,isOpened:!0,legend:!1,muteOthersOnHover:!0,type:E.statTypes.simple},N.displayName="Stat",t.default=N},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)),l=r(n(54013)),s=r(n(53671)),u=a(n(82015)),d=r(n(27825)),c=r(n(72439)),f=r(n(39123)),p=function(e){(0,l.default)(n,e);var t=(0,s.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 d.default.map(e,(function(e){return u.default.createElement("li",{className:f.default.StatLegendItem,key:e.id,style:{borderBottomColor:c.default[e.id]}},u.default.createElement("span",{className:f.default.StatLegendTitle},e.legendTitle))}))},e}return(0,i.default)(n,[{key:"render",value:function(){return u.default.createElement("ul",{className:f.default.StatLegend},this.renderLegendItems(this.props.items))}}]),n}(u.PureComponent);p.displayName="StatLegend",t.default=p},39681:(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)),l=r(n(54013)),s=r(n(53671)),u=a(n(82015)),d=r(n(7843)),c=r(n(27825)),f=r(n(56607)),p=r(n(72439)),m=r(n(49769)),g=function(e){(0,l.default)(n,e);var t=(0,s.default)(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,i.default)(n,[{key:"renderMessages",value:function(){var e=this,t=this.props.annotations,n=[];return c.default.each(t,(function(a,r){n.push(u.default.createElement(d.default,{key:"message-".concat(r),className:m.default.message,children:a,linkTarget:"_blank"})),r!==t.length-1&&n.push(u.default.createElement("div",{key:"divider-".concat(r),className:e.props.showDividers?m.default.divider:m.default.hiddenDivider}))})),u.default.createElement("div",{className:m.default.container},n)}},{key:"render",value:function(){return u.default.createElement(f.default,Object.assign({},this.props,{content:this.renderMessages()}))}}]),n}(u.PureComponent);g.defaultProps={annotations:[],tail:!0,side:"right",tailWidth:9,tailHeight:17,tailColor:p.default.statDefault,borderColor:p.default.statDefault,borderWidth:2,showDividers:!0},t.default=g},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(271)),i=r(n(46721)),l=r(n(4841)),s=r(n(54013)),u=r(n(53671)),d=a(n(82015)),c=r(n(27825)),f=r(n(815)),p=function(e){(0,s.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)).state={offset:{top:0,left:0}},a.setElementRef=function(e){a.element=e},a.setTailElemRef=function(e){a.tailElem=e},a}return(0,l.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=e.offset,n=e.side,a=e.tail,r={},o=this.element.getBoundingClientRect(),i=null!=t.left?t.left:t.horizontal||0;if("left"===n&&(i=-i),a){var l=this.tailElem.getBoundingClientRect(),s={top:l.top+l.height/2,left:l.left+l.width/2};r.top=-s.top+o.top+t.top,r.left=-s.left+o.left+i}else{var u,d;switch(n){case"top":u=-o.width/2,d=-o.height;break;case"bottom":u=-o.width/2,d=0;break;case"right":u=0,d=-o.height/2;break;default:u=-o.width,d=-o.height/2}r.top=d+t.top,r.left=u+i}this.setState({offset:r})}}},{key:"renderTail",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"white",a=this.props,r=a.tailWidth,i=a.tailHeight,l=a.borderWidth,s=a.borderColor,u="left"===a.side?"right":"left";"left"===u?(e="calc(-100% - (4 * ".concat(r,"px - ").concat(10,"px)"),t="calc(-100% - (4 * ".concat(r,"px - ").concat(10,"px - ").concat(l+1,"px))")):(e="calc(".concat(10,"px + ").concat(l,"px)"),t="".concat(9,"px"));var p="left"===u?"right":"left",m=this.props.tailColor||this.props.backgroundColor||n;return d.default.createElement("div",null,d.default.createElement("div",{ref:this.setTailElemRef,className:f.default.tail,style:(0,o.default)({marginTop:"-".concat(i,"px"),marginLeft:e,borderWidth:"".concat(i,"px ").concat(2*r,"px")},"border".concat(c.default.upperFirst(p),"Color"),s)}),m!==s&&d.default.createElement("div",{className:f.default.tail,style:(0,o.default)({marginTop:"-".concat(i,"px"),marginLeft:t,borderWidth:"".concat(i,"px ").concat(2*r,"px")},"border".concat(c.default.upperFirst(p),"Color"),this.props.tailColor||this.props.backgroundColor||n)}))}},{key:"renderTitle",value:function(e){var t=this.props,n=t.tail,a=t.content,r=null;return e&&(r=d.default.createElement("div",{className:f.default.title},d.default.createElement("span",null,e),n&&!a&&this.renderTail(f.default.tooltipTitleBg))),r}},{key:"renderContent",value:function(e){var t=null,n=this.props.tail;return e&&(t=d.default.createElement("div",{className:f.default.content},d.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,l=this.state.offset,s=a.top+l.top,u=a.left+l.left;return d.default.createElement("div",{className:f.default.tooltip,style:{top:s,left:u,backgroundColor:r,borderColor:o,borderWidth:"".concat(i,"px")},ref:this.setElementRef},t&&this.renderTitle(t),n&&this.renderContent(n))}}]),n}(d.PureComponent);p.displayName="Tooltip",p.defaultProps={tail:!0,side:"left",tailWidth:7,tailHeight:8,borderColor:"black",borderWidth:2,offset:{top:0,left:0}},t.default=p},15910:(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)),l=r(n(54013)),s=r(n(53671)),u=a(n(82015)),d=r(n(27825)),c=a(n(32935)),f=n(74501),p=n(99559),m=n(11270),g=n(64892),A=r(n(56607)),h=r(n(72439)),b=r(n(14680)),y=r(n(56427)),v=y.default.t.bind(y.default),E=function(e){(0,l.default)(n,e);var t=(0,s.default)(n);function n(e){var a,r,i,l;(0,o.default)(this,n),l=t.call(this,e);var s=c.getCarbs(e.bolus),u=d.default.isFinite(s)&&s>0;return l.bgUnits=(null===(a=l.props.bgPrefs)||void 0===a?void 0:a.bgUnits)||"",l.carbUnits="exchanges"===d.default.get(e,"bolus.carbUnits")?"exch":"g",l.carbRatioUnits="exchanges"===d.default.get(e,"bolus.carbUnits")?"U/exch":"g/U",l.isLoop=(0,m.isLoop)(e.bolus),l.msPer24=(0,f.getMsPer24)(null===(r=e.bolus)||void 0===r?void 0:r.normalTime,null===(i=e.timePrefs)||void 0===i?void 0:i.timezoneName),l.unitStyles=u&&"exch"===l.carbUnits?b.default.unitsWide:b.default.units,l}return(0,i.default)(n,[{key:"formatBgValue",value:function(e){return(0,p.formatBgValue)(e,this.props.bgPrefs)}},{key:"isAnimasExtended",value:function(){var e=c.getAnnotations(this.props.bolus);return-1!==d.default.findIndex(e,{code:"animas/bolus/extended-equal-split"})}},{key:"animasExtendedAnnotationMessage",value:function(){var e=null;if(this.isAnimasExtended()){var t=(0,g.getAnnotationMessages)(c.getBolusFromInsulinEvent(this.props.bolus));e=u.default.createElement("div",{className:b.default.annotation},d.default.find(t,{code:"animas/bolus/extended-equal-split"}).message.value)}return e}},{key:"isMedronicDeconvertedExchange",value:function(){var e=d.default.get(this.props.bolus,"annotations",[]);return-1!==d.default.findIndex(e,{code:"medtronic/wizard/carb-to-exchange-ratio-deconverted"})}},{key:"medronicDeconvertedExchangeMessage",value:function(){var e=null;if(this.isMedronicDeconvertedExchange()){var t=(0,g.getAnnotationMessages)(this.props.bolus);e=u.default.createElement("div",{className:b.default.annotation},d.default.find(t,{code:"medtronic/wizard/carb-to-exchange-ratio-deconverted"}).message.value)}return e}},{key:"getTarget",value:function(){var e,t=this,n=d.default.get(this.props.bolus,"bgTarget"),a=d.default.get(n,"target",null),r=d.default.get(n,"low",null),o=d.default.get(n,"high",null),i=d.default.get(n,"range",null);if(-1!==d.default.findIndex(d.default.get(this.props.bolus,"annotations",[]),{code:"wizard/target-automated"}))return u.default.createElement("div",{className:b.default.target},u.default.createElement("div",{className:b.default.label},v("Target")),u.default.createElement("div",{className:b.default.value},v("Auto")),u.default.createElement("div",{className:this.unitStyles}));if(r)return e=r===o?"".concat(this.formatBgValue(r)):"".concat(this.formatBgValue(r),"-").concat(this.formatBgValue(o)),u.default.createElement("div",{className:b.default.target},u.default.createElement("div",{className:b.default.label},v("Target")),u.default.createElement("div",{className:b.default.value},e),u.default.createElement("div",{className:this.unitStyles}));if(i)return[u.default.createElement("div",{className:b.default.target,key:"target"},u.default.createElement("div",{className:b.default.label},v("Target")),u.default.createElement("div",{className:b.default.value},"".concat(this.formatBgValue(a))),u.default.createElement("div",{className:this.unitStyles})),u.default.createElement("div",{className:b.default.target,key:"range"},u.default.createElement("div",{className:b.default.label},v("Range")),u.default.createElement("div",{className:b.default.value},"".concat(this.formatBgValue(i))),u.default.createElement("div",{className:this.unitStyles}))];if(o)return[u.default.createElement("div",{className:b.default.target,key:"target"},u.default.createElement("div",{className:b.default.label},v("Target")),u.default.createElement("div",{className:b.default.value},"".concat(this.formatBgValue(a))),u.default.createElement("div",{className:this.unitStyles})),u.default.createElement("div",{className:b.default.target,key:"high"},u.default.createElement("div",{className:b.default.label},v("High")),u.default.createElement("div",{className:b.default.value},"".concat(this.formatBgValue(o))),u.default.createElement("div",{className:this.unitStyles}))];if(this.isLoop){var l=d.default.get(this.props.bolus,"dosingDecision.bgTargetSchedule",[]),s=d.default.findLast(d.default.sortBy(l,"start"),(function(e){return e.start<t.msPer24})),c=v("Correction Range");return u.default.createElement("div",{className:b.default.target},u.default.createElement("div",{className:b.default.label},c," (",this.bgUnits,")"),u.default.createElement("div",{className:b.default.value},"".concat(this.formatBgValue(null==s?void 0:s.low),"-").concat(this.formatBgValue(null==s?void 0:s.high))),u.default.createElement("div",{className:this.unitStyles}))}return u.default.createElement("div",{className:b.default.target},u.default.createElement("div",{className:b.default.label},v("Target")),u.default.createElement("div",{className:b.default.value},"".concat(this.formatBgValue(a))),u.default.createElement("div",{className:this.unitStyles}))}},{key:"getExtended",value:function(){var e=c.getBolusFromInsulinEvent(this.props.bolus),t=c.hasExtended(e),n=c.getNormalPercentage(e),a=d.default.get(e,"normal",NaN),r=this.isAnimasExtended(),o=d.default.isNaN(c.getExtendedPercentage(e))?"":"(".concat(c.getExtendedPercentage(e),")"),i=null;return t&&(i=r?u.default.createElement("div",{className:b.default.extended},u.default.createElement("div",{className:b.default.label},"Extended Over*"),u.default.createElement("div",{className:b.default.value},(0,f.formatDuration)(c.getDuration(e)))):[!!a&&u.default.createElement("div",{className:b.default.normal,key:"normal"},u.default.createElement("div",{className:b.default.label},v("Up Front ({{normalPercentage}})",{normalPercentage:n})),u.default.createElement("div",{className:b.default.value},"".concat((0,p.formatInsulin)(a))),u.default.createElement("div",{className:this.unitStyles},"U")),u.default.createElement("div",{className:b.default.extended,key:"extended"},u.default.createElement("div",{className:b.default.label},"Over ".concat((0,f.formatDuration)(c.getDuration(e))," ").concat(o)),u.default.createElement("div",{className:b.default.value},"".concat((0,p.formatInsulin)(c.getExtended(e)))),u.default.createElement("div",{className:this.unitStyles},"U"))]),i}},{key:"renderWizard",value:function(){var e=this,t=this.props.bolus,n=c.getRecommended(t),a=d.default.isFinite(n)?"".concat(n):null,r=null!=t&&t.dosingDecision?d.default.get(t,"dosingDecision.smbg.value",d.default.get(t,"dosingDecision.bgForecast.0.value",null)):d.default.get(t,"bgInput",null),o=d.default.get(t,"insulinOnBoard",null),i=c.getCarbs(t),l=d.default.isFinite(i)&&i>0,s=d.default.get(t,"insulinCarbRatio",null),f=d.default.get(t,"insulinSensitivity",null);if(this.isLoop){var m,g,A=d.default.get(t,"dosingDecision.pumpSettings",{}),h=A.activeSchedule,y=A.carbRatios,E=A.insulinSensitivities;s=(null===(m=d.default.findLast(d.default.sortBy((null==y?void 0:y[h])||[],"start"),(function(t){return t.start<e.msPer24})))||void 0===m?void 0:m.amount)||s,f=(null===(g=d.default.findLast(d.default.sortBy((null==E?void 0:E[h])||[],"start"),(function(t){return t.start<e.msPer24})))||void 0===g?void 0:g.amount)||f}var C=c.getDelivered(t),T=c.isInterruptedBolus(t),B=c.getProgrammed(t),S=c.hasExtended(t),x=this.isAnimasExtended(),w=this.isMedronicDeconvertedExchange(),I=null;c.isOverride(t)&&(I=u.default.createElement("div",{className:b.default.override},u.default.createElement("div",{className:b.default.label},v("Override")),u.default.createElement("div",{className:b.default.value},"+".concat((0,p.formatInsulin)(B-n))),u.default.createElement("div",{className:this.unitStyles},"U"))),c.isUnderride(t)&&(I=u.default.createElement("div",{className:b.default.override},u.default.createElement("div",{className:b.default.label},v("Underride")),u.default.createElement("div",{className:b.default.value},"-".concat((0,p.formatInsulin)(n-B))),u.default.createElement("div",{className:this.unitStyles},"U")));var O=d.default.isFinite(C)&&u.default.createElement("div",{className:b.default.delivered},u.default.createElement("div",{className:b.default.label},v("Delivered")),u.default.createElement("div",{className:b.default.value},"".concat((0,p.formatInsulin)(C))),u.default.createElement("div",{className:this.unitStyles},"U")),L=(T||I)&&!!a&&u.default.createElement("div",{className:b.default.suggested},u.default.createElement("div",{className:b.default.label},v("Recommended")),u.default.createElement("div",{className:b.default.value},(0,p.formatInsulin)(a)),u.default.createElement("div",{className:this.unitStyles},"U")),P=!!r&&u.default.createElement("div",{className:b.default.bg},u.default.createElement("div",{className:b.default.label},v("BG")," (",this.bgUnits,")"),u.default.createElement("div",{className:b.default.value},this.formatBgValue(r)),u.default.createElement("div",{className:this.unitStyles})),D=!!i&&u.default.createElement("div",{className:b.default.carbs},u.default.createElement("div",{className:b.default.label},v("Carbs")),u.default.createElement("div",{className:b.default.value},i),u.default.createElement("div",{className:this.unitStyles},this.carbUnits)),k=d.default.isFinite(o)&&u.default.createElement("div",{className:b.default.iob},u.default.createElement("div",{className:b.default.label},v("IOB")),u.default.createElement("div",{className:b.default.value},"".concat((0,p.formatInsulin)(o))),u.default.createElement("div",{className:this.unitStyles},"U")),M=T&&u.default.createElement("div",{className:b.default.interrupted},u.default.createElement("div",{className:b.default.label},v("Interrupted")),u.default.createElement("div",{className:b.default.value},"-".concat((0,p.formatInsulin)(B-C))),u.default.createElement("div",{className:this.unitStyles},"U")),N=!!l&&!!s&&u.default.createElement("div",{className:b.default.carbRatio},u.default.createElement("div",{className:b.default.label},v("I:C Ratio"),w&&"*"," "," (".concat(this.carbRatioUnits,")")),u.default.createElement("div",{className:b.default.value},s),u.default.createElement("div",{className:this.unitStyles})),R=!!f&&!!r&&u.default.createElement("div",{className:b.default.isf},u.default.createElement("div",{className:b.default.label},v("ISF")," (",this.bgUnits,"/U)"),u.default.createElement("div",{className:b.default.value},"".concat(this.formatBgValue(f))),u.default.createElement("div",{className:this.unitStyles}));return u.default.createElement("div",{className:b.default.container},P,D,k,L,this.getExtended(),(T||I||S)&&u.default.createElement("div",{className:b.default.divider}),I,M,O,(N||R||r||x||w)&&u.default.createElement("div",{className:b.default.divider}),N,R,!!r&&this.getTarget(),this.animasExtendedAnnotationMessage(),this.medronicDeconvertedExchangeMessage())}},{key:"renderNormal",value:function(){var e=this.props.bolus,t=c.getDelivered(e),n=c.isInterruptedBolus(e),a=c.getProgrammed(e),r=this.isAnimasExtended(),o=d.default.isFinite(t)&&u.default.createElement("div",{className:b.default.delivered},u.default.createElement("div",{className:b.default.label},v("Delivered")),u.default.createElement("div",{className:b.default.value},"".concat((0,p.formatInsulin)(t))),u.default.createElement("div",{className:this.unitStyles},"U")),i=n&&u.default.createElement("div",{className:b.default.interrupted},u.default.createElement("div",{className:b.default.label},v("Interrupted")),u.default.createElement("div",{className:b.default.value},"-".concat((0,p.formatInsulin)(a-t))),u.default.createElement("div",{className:this.unitStyles},"U")),l=n&&!!a&&u.default.createElement("div",{className:b.default.programmed},u.default.createElement("div",{className:b.default.label},v("Programmed")),u.default.createElement("div",{className:b.default.value},"".concat((0,p.formatInsulin)(a))),u.default.createElement("div",{className:this.unitStyles},"U"));return u.default.createElement("div",{className:b.default.container},l,i,o,this.getExtended(),r&&u.default.createElement("div",{className:b.default.divider}),this.animasExtendedAnnotationMessage())}},{key:"renderBolus",value:function(){var e;return"wizard"===this.props.bolus.type||null!==(e=this.props.bolus)&&void 0!==e&&e.dosingDecision?this.renderWizard():this.renderNormal()}},{key:"render",value:function(){var e="automated"===d.default.get(this.props.bolus,"subType"),t=this.props.tailColor||e?h.default.bolusAutomated:h.default.bolus,n=this.props.borderColor||e?h.default.bolusAutomated:h.default.bolus,a=u.default.createElement("div",{className:b.default.title},(0,f.formatLocalizedFromUTC)(this.props.bolus.normalTime,this.props.timePrefs,"h:mm a"),e&&u.default.createElement("div",null,v("Automated")));return u.default.createElement(A.default,Object.assign({},this.props,{borderColor:n,tailColor:t,title:a,content:this.renderBolus()}))}}]),n}(u.PureComponent);E.defaultProps={tail:!0,side:"right",tailWidth:9,tailHeight:17,borderWidth:2},t.default=E},32592:(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)),l=r(n(54013)),s=r(n(53671)),u=a(n(82015)),d=r(n(27825)),c=n(84240),f=n(99559),p=n(74501),m=n(64892),g=r(n(56607)),A=r(n(72439)),h=r(n(79346)),b=function(e){(0,l.default)(n,e);var t=(0,s.default)(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,i.default)(n,[{key:"renderCBG",value:function(){var e=this.props.cbg,t=(0,m.getOutOfRangeAnnotationMessage)(e),n=[u.default.createElement("div",{key:"bg",className:h.default.bg},u.default.createElement("div",{className:h.default.label},"BG"),u.default.createElement("div",{className:h.default.value},"".concat((0,f.formatBgValue)(e.value,this.props.bgPrefs,(0,c.getOutOfRangeThreshold)(e)))))];if(!d.default.isEmpty(t)){var a=(0,c.classifyBgValue)((0,c.reshapeBgClassesToBgBounds)(this.props.bgPrefs),this.props.cbg.value,"fiveWay");n.push(u.default.createElement("div",{key:"divider",className:h.default.divider,style:{backgroundColor:A.default[a]}})),n.push(u.default.createElement("div",{key:"outOfRange",className:h.default.annotation},t[0].message.value))}return u.default.createElement("div",{className:h.default.container},n)}},{key:"render",value:function(){var e=(0,c.classifyBgValue)((0,c.reshapeBgClassesToBgBounds)(this.props.bgPrefs),this.props.cbg.value,"fiveWay"),t=this.props.title?this.props.title:u.default.createElement("div",{className:h.default.title},(0,p.formatLocalizedFromUTC)(this.props.cbg.normalTime,this.props.timePrefs,"h:mm a"));return u.default.createElement(g.default,Object.assign({},this.props,{title:t,content:this.renderCBG(),borderColor:A.default[e],tailColor:A.default[e]}))}}]),n}(u.PureComponent);b.defaultProps={tail:!0,side:"right",tailWidth:9,tailHeight:17,tailColor:A.default.bolus,borderColor:A.default.bolus,borderWidth:2},t.default=b},31768:(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)),l=r(n(54013)),s=r(n(53671)),u=a(n(82015)),d=r(n(74716)),c=r(n(27825)),f=n(74501),p=r(n(56607)),m=r(n(72439)),g=r(n(730)),A=r(n(56427)),h=n(66871),b=n(11270),y=A.default.t.bind(A.default),v=function(e){(0,l.default)(n,e);var t=(0,s.default)(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,i.default)(n,[{key:"getAbsorptionTime",value:function(e){return c.default.round(1e3*c.default.get(e,"nutrition.estimatedAbsorptionDuration",0)/h.MS_IN_HOUR,1)}},{key:"getCarbs",value:function(e){return c.default.round(c.default.get(e,"nutrition.carbohydrate.net",0),1)}},{key:"getName",value:function(e){return c.default.get(e,"name")}},{key:"renderFood",value:function(){var e=this.props.food,t=[u.default.createElement("div",{key:"carb",className:g.default.carb},u.default.createElement("div",{className:g.default.label},y("Carbs")),u.default.createElement("div",{className:g.default.value},"".concat(this.getCarbs(e))),u.default.createElement("div",{className:g.default.units},"g"))];if((0,b.isLoop)(e)){var n,a,r,o=this.getAbsorptionTime(e),i=this.getName(e),l=null===(n=e.payload)||void 0===n?void 0:n.userUpdatedDate,s=d.default.utc(null===(a=e.payload)||void 0===a?void 0:a.userCreatedDate).valueOf()!==e.normalTime?null===(r=e.payload)||void 0===r?void 0:r.userCreatedDate:void 0;o>0&&t.unshift(u.default.createElement("div",{key:"absorption",className:g.default.row},u.default.createElement("div",{className:g.default.label},y("Absorption Time (hrs)")),u.default.createElement("div",{className:g.default.value},"".concat(o)),u.default.createElement("div",{className:g.default.units},"hr"))),c.default.isEmpty(i)||t.unshift(u.default.createElement("div",{key:"name",className:g.default.row},u.default.createElement("div",{className:g.default.label},y("Type")),u.default.createElement("div",{className:g.default.value},"".concat(i)))),(l||s)&&(t.push(u.default.createElement("div",{key:"divider",className:g.default.divider})),l?t.push(u.default.createElement("div",{key:"latestUpdatedTime",className:g.default.row},u.default.createElement("div",{className:g.default.label},y("Last Edited")),u.default.createElement("div",{className:g.default.value},(0,f.formatLocalizedFromUTC)(l,this.props.timePrefs,"h:mm")),u.default.createElement("div",{className:g.default.units},(0,f.formatLocalizedFromUTC)(l,this.props.timePrefs,"a")))):t.push(u.default.createElement("div",{key:"timeOfEntry",className:g.default.row},u.default.createElement("div",{className:g.default.label},y("Time of Entry")),u.default.createElement("div",{className:g.default.value},(0,f.formatLocalizedFromUTC)(s,this.props.timePrefs,"h:mm")),u.default.createElement("div",{className:g.default.units},(0,f.formatLocalizedFromUTC)(s,this.props.timePrefs,"a")))))}return u.default.createElement("div",{className:g.default.container},t)}},{key:"render",value:function(){var e=this.props.title?this.props.title:u.default.createElement("div",{className:g.default.title},(0,f.formatLocalizedFromUTC)(this.props.food.normalTime,this.props.timePrefs,"h:mm a"));return u.default.createElement(p.default,Object.assign({},this.props,{title:e,content:this.renderFood()}))}}]),n}(u.PureComponent);v.defaultProps={tail:!0,side:"right",tailWidth:9,tailHeight:17,tailColor:m.default.bolus,borderColor:m.default.bolus,borderWidth:2},t.default=v},63616:(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)),l=r(n(54013)),s=r(n(53671)),u=a(n(82015)),d=r(n(58156)),c=r(n(56427)),f=n(74501),p=n(99559),m=n(66871),g=n(11270),A=r(n(56607)),h=r(n(72439)),b=r(n(52130)),y=c.default.t.bind(c.default),v=function(e){(0,l.default)(n,e);var t=(0,s.default)(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,i.default)(n,[{key:"renderPumpSettingsOverride",value:function(){var e,t=(0,g.getPumpVocabulary)((0,d.default)(this.props.override,"source")),n=t[m.SETTINGS_OVERRIDE],a=(0,d.default)(t[(0,d.default)(this.props.override,"overrideType")],"label"),r=(0,d.default)(this.props.override,"bgTarget",{}),o=r.low,i=r.high,l=o&&i,s=(0,d.default)(this.props.bgPrefs,"bgUnits"),c=[u.default.createElement("div",{key:"override type",className:b.default.overrideType},u.default.createElement("div",{className:l?b.default.boldLabel:b.default.label},n),u.default.createElement("div",{className:b.default.value},a))];return l&&(e=o===i?"".concat((0,p.formatBgValue)(o,this.props.bgPrefs)):"".concat((0,p.formatBgValue)(o,this.props.bgPrefs),"-").concat((0,p.formatBgValue)(i,this.props.bgPrefs)),c.push(u.default.createElement("div",{className:b.default.target},u.default.createElement("div",{className:b.default.label},y("Correction Range"),s?" (".concat(s,")"):""),u.default.createElement("div",{className:b.default.value},e)))),u.default.createElement("div",{className:b.default.container},c)}},{key:"render",value:function(){var e=(0,d.default)(this.props.override,"overrideType"),t=(0,d.default)(this.props.override,"normalTime"),n=(0,d.default)(this.props.override,"normalEnd"),a=this.props.title?this.props.title:u.default.createElement("div",{className:b.default.title},[(0,f.formatLocalizedFromUTC)(t,this.props.timePrefs,"h:mm a"),(0,f.formatLocalizedFromUTC)(n,this.props.timePrefs,"h:mm a")].join(" - "));return u.default.createElement(A.default,Object.assign({},this.props,{title:a,content:this.renderPumpSettingsOverride(),borderColor:this.props.borderColor||h.default[e],tailColor:this.props.tailColor||h.default[e]}))}}]),n}(u.PureComponent);v.defaultProps={tail:!1,side:"top",offset:{top:-2,left:0},borderWidth:2},t.default=v},78572:(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)),l=r(n(54013)),s=r(n(53671)),u=a(n(82015)),d=r(n(27825)),c=n(84240),f=n(99559),p=n(74501),m=n(64892),g=r(n(56607)),A=r(n(72439)),h=r(n(88486)),b=function(e){(0,l.default)(n,e);var t=(0,s.default)(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,i.default)(n,[{key:"renderSMBG",value:function(){var e=this.props.smbg,t=(0,m.getOutOfRangeAnnotationMessage)(e),n=[u.default.createElement("div",{key:"bg",className:h.default.bg},u.default.createElement("div",{className:h.default.label},"BG"),u.default.createElement("div",{className:h.default.value},"".concat((0,f.formatBgValue)(e.value,this.props.bgPrefs,(0,c.getOutOfRangeThreshold)(e)))))],a=d.default.isEmpty(e.subType)?"Meter":"".concat(d.default.upperFirst(e.subType));if(n.push(u.default.createElement("div",{key:"source",className:h.default.source},u.default.createElement("div",{className:h.default.label},"Source"),u.default.createElement("div",{className:h.default.value},a))),d.default.each((0,m.getMedtronic600AnnotationMessages)(e),(function(e){n.push(u.default.createElement("div",{key:e.message.label,className:h.default[d.default.camelCase(e.message.label)]},u.default.createElement("div",{className:h.default.label},e.message.label),u.default.createElement("div",{className:h.default.value},e.message.value)))})),!d.default.isEmpty(t)){var r=(0,c.classifyBgValue)((0,c.reshapeBgClassesToBgBounds)(this.props.bgPrefs),this.props.smbg.value,"fiveWay");n.push(u.default.createElement("div",{key:"divider",className:h.default.divider,style:{backgroundColor:A.default[r]}})),n.push(u.default.createElement("div",{key:"outOfRange",className:h.default.annotation},t[0].message.value))}return u.default.createElement("div",{className:h.default.container},n)}},{key:"render",value:function(){var e=(0,c.classifyBgValue)((0,c.reshapeBgClassesToBgBounds)(this.props.bgPrefs),this.props.smbg.value,"fiveWay"),t=this.props.title?this.props.title:u.default.createElement("div",{className:h.default.title},(0,p.formatLocalizedFromUTC)(this.props.smbg.normalTime,this.props.timePrefs,"h:mm a"));return u.default.createElement(g.default,Object.assign({},this.props,{title:t,content:this.renderSMBG(),borderColor:A.default[e],tailColor:A.default[e]}))}}]),n}(u.PureComponent);b.defaultProps={tail:!0,side:"right",tailWidth:9,tailHeight:17,tailColor:A.default.bolus,borderColor:A.default.bolus,borderWidth:2},t.default=b},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)),l=a(n(50628)),s=a(n(29756)),u=a(n(34893)),d=a(n(72202)),c=(n(66871),r(n(31266))),f=n(89540),p=n(4903),m=n(11270),g=a(n(3279)),A=a(n(56427)),h=A.default.t.bind(A.default);t.default=function(e){var t=e.bgUnits,n=e.copySettingsClicked,a=e.deviceKey,r=e.openedSections,A=e.pumpSettings,b=e.timePrefs,y=e.toggleBasalScheduleExpansion,v=e.user,E=a;"carelink"===a&&(E="medtronic");var C,T,B,S,x,w=!(0,m.isLoop)(A);function I(e,t,n,a,r){return o.default.createElement(u.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(s.default,{deviceDisplayName:(0,f.deviceName)(E),deviceMeta:c.deviceMeta(A,b)}),o.default.createElement(l.default,{buttonTitle:h("For email or notes"),onSuccess:n,getText:p.nonTandemText.bind(void 0,v,A,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(A),(function(e){var t,n=c.basal(e,A,a),l=i.default.partial(y,n.scheduleName),s=g.default.singleLineBasalScheduleHeader;if(n.isAutomated){if(s=g.default.automatedSingleLineBasalScheduleHeader,!n.activeAtUpload)return null;n.title.secondary=n.title.secondary.toLowerCase();var u={label:n.title,className:g.default.automatedBasalHeaderBackground};return o.default.createElement("div",{className:g.default.categoryContainer,key:e},I(n.rows,n.columns,u,[s,g.default.settingsTable].join(" ")))}if((0,m.isLoop)(A)){s=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&&(s=g.default.twoLineBasalScheduleHeader),o.default.createElement("div",{className:g.default.categoryContainer,key:e},o.default.createElement(d.default,{label:n.title,labelClass:s,opened:(t=n.scheduleName,i.default.get(r,t,!1)),toggleExpansion:l,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(A,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(A,E),t={label:{main:e.title,secondary:"exchanges"===i.default.get(A,"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(A,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},(T=(C=(0,f.insulinSettings)(A,E)).rows,B=C.columns,o.default.createElement("div",{className:g.default.categoryContainer},I(T,B,{label:{main:h("Insulin Settings")},className:g.default.insulinSettingsHeader},g.default.settingsTableInverted))),function(){var e=(0,f.presetSettings)(A,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)),l=a(n(54602)),s=a(n(50628)),u=a(n(29756)),d=a(n(34893)),c=a(n(72202)),f=(n(66871),n(89540)),p=r(n(72255)),m=n(4903),g=a(n(56427)),A=g.default.t.bind(g.default),h=function(e){var t=e.bgUnits,n=e.copySettingsClicked,a=e.openedSections,r=e.pumpSettings,g=e.timePrefs,h=e.toggleProfileExpansion,b=e.user,y=e.deviceDisplayName,v=i.default.map(p.basalSchedules(r),(function(e){var n,s=p.basal(e,r,t,l.default),u=(0,f.insulinSettings)(r,"tandem",e.name),m=u.rows,g=u.columns;return o.default.createElement("div",{className:"settings-table-container",key:s.scheduleName},o.default.createElement(c.default,{label:s.title,labelClass:l.default.collapsibleLabel,opened:(n=s.scheduleName,i.default.get(a,n,!1)),toggleExpansion:i.default.partial(h,s.scheduleName),twoLineLabel:!1},o.default.createElement(d.default,{rows:s.rows,columns:s.columns,tableStyle:l.default.profileTable}),o.default.createElement("div",{className:l.default.categoryTitle},A("Pump Settings")),o.default.createElement(d.default,{rows:m,title:{label:{main:"Insulin Settings"},className:l.default.insulinSettingsHeader},columns:g,tableStyle:l.default.settingsTableInverted})))}));return o.default.createElement("div",null,o.default.createElement("div",{className:l.default.header},o.default.createElement(u.default,{deviceDisplayName:y,deviceMeta:p.deviceMeta(r,g)}),o.default.createElement(s.default,{buttonTitle:A("For email or notes"),onSuccess:n,getText:m.tandemText.bind(void 0,b,r,t)})),o.default.createElement("div",null,o.default.createElement("span",{className:l.default.title},A("Profile Settings")),v))};h.defaultProps={deviceDisplayName:(0,f.deviceName)("tandem"),deviceKey:"tandem"},t.default=h},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),l=a(n(32600)),s=a(n(13130)),u=a(n(28868)),d=function(e){var t=e.label,n=e.labelClass,a=e.opened,d=e.toggleExpansion,c=o.default.createElement(l.default,{className:n,isOpened:a,label:t,onClick:d}),f=e.twoLineLabel,p=e.label.secondary;return f&&!r.default.isEmpty(p)&&(c=o.default.createElement(s.default,{className:n,isOpened:a,label:t,onClick:d})),o.default.createElement("div",null,c,o.default.createElement(i.Collapse,{className:u.default.collapsibleContainer,isOpened:a,theme:{collapse:"containerCollapse"}},o.default.createElement("div",null,e.children)))};d.defaultProps={twoLineLabel:!0},t.default=d},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)),l=r(n(54013)),s=r(n(53671)),u=a(n(82015)),d=r(n(62102)),c=r(n(56427)),f=c.default.t.bind(c.default),p=function(e){(0,l.default)(n,e);var t=(0,s.default)(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,i.default)(n,[{key:"render",value:function(){return u.default.createElement("div",null,u.default.createElement("ul",{className:"".concat(d.default.header," ").concat(d.default.headerExpanded)},u.default.createElement("li",{className:d.default.headerOuter},u.default.createElement("span",{className:d.default.headerInner},f("Therapy Settings - Active at Upload on")," ",this.props.deviceMeta.uploaded))))}}]),n}(u.PureComponent);t.default=p},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)),l=r(n(54013)),s=r(n(53671)),u=r(n(27825)),d=a(n(82015)),c=n(22544),f=(n(66871),r(n(39583))),p=r(n(40456)),m=t.PumpSettingsContainer=function(e){(0,l.default)(n,e);var t=(0,s.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(u.default.isEmpty(t))return null;var a=this.props,r=a.bgUnits,o=a.copySettingsClicked,i=a.manufacturerKey,l=a.pumpSettings,s=a.timePrefs,c=a.toggleSettingsSection,m=u.default.partial(c,i);return"tandem"===i?d.default.createElement(p.default,{bgUnits:r,copySettingsClicked:o,deviceKey:i,openedSections:t[i],pumpSettings:l,timePrefs:s,toggleProfileExpansion:m,user:n}):u.default.includes(["animas","carelink","insulet","medtronic","microtech","diy loop","tidepool loop","twiist"],i)?d.default.createElement(f.default,{bgUnits:r,copySettingsClicked:o,deviceKey:i,openedSections:t[i],pumpSettings:l,timePrefs:s,toggleBasalScheduleExpansion:m,user:n}):(console.warn("Unknown manufacturer key: [".concat(i,"]!")),null)}}]),n}(d.PureComponent);function g(e,t){var n=u.default.get(t,"currentPatientInViewId");return{user:u.default.get(e.blip.allUsersMap,n,{})}}t.default=(0,c.connect)(g)(m)},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)),l=a(n(82015)),s=a(n(52743)),u=a(n(92250));t.default=function(e){var t,n=e.className,a=e.isOpened,d=e.label,c=d.main,f=d.secondary,p=d.units,m=e.onClick,g=(0,i.default)((t={label:!0},(0,r.default)(t,u.default.collapsibleLabel,!Boolean(n)),(0,r.default)(t,u.default.labelContainer,!0),(0,r.default)(t,n,Boolean(n)),(0,r.default)(t,s.default.opened,a),t));return l.default.createElement("div",{className:g,onClick:m},l.default.createElement("div",null,l.default.createElement("span",{className:u.default.mainText},c),o.default.isEmpty(f)?null:l.default.createElement("span",{className:u.default.secondaryText},f),o.default.isEmpty(p)?null:l.default.createElement("span",{className:u.default.secondaryText},p)))}},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)),l=r(n(4841)),s=r(n(54013)),u=r(n(53671)),d=a(n(82015)),c=r(n(27825)),f=r(n(39681)),p=r(n(20168)),m=r(n(51357)),g=function(e){(0,s.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)).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 d.default.createElement("div",{className:m.default.TableTooltipWrapper},d.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,l=n.height,s=a.table.getBoundingClientRect(),u={top:r-s.top+l/2,left:o-s.left+i/2},d={horizontal:i/2,top:-s.height},f=c.default.get(document,"body.clientWidth",0)-o<225?"left":"right";a.setState({activeRow:t,showTooltip:!0,messageTooltipPosition:u,messageTooltipOffset:d,messageTooltipSide:f})},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,l.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"])?d.default.createElement("th",{key:t,className:e.className},n.main,d.default.createElement("span",{className:m.default.secondaryLabelWithMain},n.secondary)):d.default.createElement("th",{key:t,className:m.default.secondaryLabelAlone},n)}));return d.default.createElement("thead",{key:"thead_".concat(t.length)},d.default.createElement("tr",null,t))}},{key:"renderAnnotation",value:function(e){return d.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 d.default.createElement("td",{key:e.key},e.cell(n,e.key),0===r&&(null===(o=n.annotations)||void 0===o?void 0:o.length)&&d.default.createElement("span",{className:m.default.rowTooltipIcon},d.default.createElement("img",{src:p.default,alt:"Hover for more info",ref:a.setRowTooltipIconRefs[t],onMouseOver:a.handleTooltipIconMouseOver.bind(a,"rowTooltipIcons",t),onMouseOut:a.handleTooltipIconMouseOut})))}));return d.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 d.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,l=o.secondary,s=d.default.createElement("caption",{key:i,className:r},i,d.default.createElement("span",{className:m.default.secondaryLabelWithMain},l),this.props.annotations&&d.default.createElement("span",{className:m.default.tooltipIcon},d.default.createElement("img",{src:p.default,alt:"Hover for more info",ref:this.setTooltipIconRef,onMouseOver:this.handleTooltipIconMouseOver.bind(this,"tooltipIcon"),onMouseOut:this.handleTooltipIconMouseOut})));n.unshift(s)}return d.default.createElement(d.default.Fragment,null,d.default.createElement("table",{ref:this.setTableRef,className:this.props.tableStyle},n),this.state.showTooltip&&this.renderTooltip())}}]),n}(d.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)),l=a(n(52743)),s=a(n(67364));t.default=function(e){var t,n,a=e.className,u=e.isOpened,d=e.label,c=d.main,f=d.secondary,p=d.units,m=e.onClick,g=(0,o.default)((t={label:!0},(0,r.default)(t,s.default.collapsibleLabel,!Boolean(a)),(0,r.default)(t,s.default.labelContainer,!0),(0,r.default)(t,a,Boolean(a)),t)),A=(0,o.default)((n={},(0,r.default)(n,s.default.norgieLabelContainer,!0),(0,r.default)(n,l.default.opened,u),n));return i.default.createElement("div",{className:g,onClick:m},i.default.createElement("div",{className:s.default.secondaryLabel},f),i.default.createElement("div",{className:A},i.default.createElement("div",null,c,i.default.createElement("span",{className:s.default.secondaryText},p))))}},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)),l=r(n(83581)),s=r(n(54013)),u=r(n(53671)),d=r(n(27825)),c=n(80255),f=a(n(82015)),p=n(84240),m=r(n(22285)),g=t.CBGDateTraceAnimated=function(e){(0,s.default)(n,e);var t=(0,u.default)(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).handleClick=a.handleClick.bind((0,l.default)(a)),a.handleMouseOut=a.handleMouseOut.bind((0,l.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=d.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=d.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.cbgRadius,r=t.data,o=t.date,i=t.topMargin,l=t.xScale,s=t.yScale;return f.default.createElement("g",{id:"cbgDateTrace-".concat(o)},d.default.map(r,(function(t){return f.default.createElement("circle",{className:m.default[(0,p.classifyBgValue)(n,t.value,"fiveWay")],cx:l(t.msPer24),cy:s(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:s(t.value),topMargin:i}})},onMouseOut:e.handleMouseOut,opacity:0,r:a,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),l=a(n(90030));t.default=function(e){if(!e.focusedDateTrace)return null;var t=e.focusedDateTrace,n=t.data.localDate,a=t.position,s=(0,i.utcFormat)("%A, %B %-d")(Date.parse(n));return r.default.createElement("div",{className:l.default.container},r.default.createElement(o.default,{title:r.default.createElement("span",{className:l.default.dateLabel},s),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)),l=a(n(87645));t.default=function(e){var t=e.bgBounds,n=e.data,a=e.dates,s=e.topMargin,u=e.xScale,d=e.yScale;return o.default.createElement(i.default,{component:"g",id:"cbgDateTraces",transitionMode:"simultaneous"},r.default.map(a,(function(a){return o.default.createElement(l.default,{bgBounds:t,data:n[a],date:a,focusDateTrace:e.focusCbgDateTrace,unfocusDateTrace:e.unfocusCbgDateTrace,key:a,onSelectDate:e.onSelectDate,topMargin:s,xScale:u,yScale:d})})))}},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)),l=r(n(4841)),s=r(n(83581)),u=r(n(54013)),d=r(n(53671)),c=r(n(27825)),f=r(n(3892)),p=a(n(82015)),m=n(94568),g=n(84240),A=n(66871),h=r(n(98823)),b=r(n(20444)),y=t.CBGMedianAnimated=function(e){(0,u.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)).willEnter=a.willEnter.bind((0,s.default)(a)),a.willLeave=a.willLeave.bind((0,s.default)(a)),a}return(0,l.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,m.spring)(0,A.springConfig);return{height:t,median:(0,m.spring)(e,A.springConfig),opacity:t}}},{key:"render",value:function(){var e,t,n=this.props,a=n.bgBounds,r=n.datum,i=n.defaultY,l=n.displayingMedian,s=n.showingCbgDateTraces,u=n.sliceWidth,d=n.xScale,h=n.yScale,y=r.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.median,"fiveWay"),"FadeIn")],!s),(0,o.default)(e,b.default["".concat((0,g.classifyBgValue)(a,r.median,"fiveWay"),"FadeOut")],s),e)):(0,f.default)((t={},(0,o.default)(t,b.default.median,!0),(0,o.default)(t,b.default.transparent,!0),t)),v=u/8,E=u-v,C=.75*E,T=d(r.msX)-E/2+v/2,B=E-v,S=l&&void 0!==c.default.get(r,"median");return p.default.createElement(m.TransitionMotion,{defaultStyles:S?[{key:"median",style:{height:0,median:i,opacity:0}}]:[],styles:S?[{key:"median",style:{height:(0,m.spring)(C,A.springConfig),median:(0,m.spring)(h(r.median)-C/2,A.springConfig),opacity:(0,m.spring)(1,A.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 p.default.createElement("rect",{className:y,id:"cbgMedian-".concat(n),width:B,height:a.height,x:T,y:a.median,opacity:a.opacity})}))}}]),n}(p.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)),l=r(n(4841)),s=r(n(83581)),u=r(n(54013)),d=r(n(53671)),c=r(n(27825)),f=r(n(3892)),p=a(n(82015)),m=n(94568),g=n(66871),A=r(n(98823)),h=r(n(11118)),b=r(n(53064)),y=t.CBGSliceAnimated=function(e){(0,u.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)).willEnter=a.willEnter.bind((0,s.default)(a)),a.willLeave=a.willLeave.bind((0,s.default)(a)),a}return(0,l.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,m.spring)(0,g.springConfig);return c.default.mapValues(t,(function(e,t){return"opacity"===t||-1!==t.search("Height")?a:(0,m.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,l=t.showingCbgDateTraces,s=t.tooltipLeftThreshold,u=t.topMargin,d=t.xScale,A=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:A(n.firstQuartile),max:A(n.max),median:A(n.median),min:A(n.min),upperQuantile:A(n.upperQuantile),lowerQuantile:A(n.lowerQuantile),thirdQuartile:A(n.thirdQuartile),topMargin:u},C=i/8,T=d(n.msX)-i/2+C/2,B=i-C;return p.default.createElement(m.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,m.spring)(A(n[e.y]),g.springConfig)),(0,o.default)(t,e.height,(0,m.spring)(A(n[e.heightKeys[0]])-A(n[e.heightKeys[1]]),g.springConfig)),(0,o.default)(t,"opacity",(0,m.spring)(1,g.springConfig)),t)}})):[],willEnter:this.willEnter,willLeave:this.willLeave},(function(t){return 0===t.length?null:p.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],!l),(0,o.default)(a,b.default["".concat(r.classKey,"Faded")],l),a));return p.default.createElement(h.default,{classes:i,datum:n,focusSlice:e.props.focusCbgSlice,unfocusSlice:e.props.unfocusCbgSlice,interpolated:t,key:t.key,positionData:{left:d(n.msX),tooltipLeft:n.msX>s,yPositions:E},segment:r,width:B,x:T})})))}))}}]),n}(p.PureComponent);y.defaultProps={sliceWidth:16},t.default=(0,A.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)),l=r(n(83581)),s=r(n(54013)),u=r(n(53671)),d=a(n(82015)),c=t.CBGSliceSegment=function(e){(0,s.default)(n,e);var t=(0,u.default)(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).handleMouseOut=a.handleMouseOut.bind((0,l.default)(a)),a.handleMouseOver=a.handleMouseOver.bind((0,l.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,l=e.width,s=e.x;return d.default.createElement("rect",{className:t,key:r,id:"cbgSlice-".concat(n.id,"-").concat(r),width:l,height:o[i.height],x:s,y:o[i.y],opacity:o.opacity,onMouseOver:this.handleMouseOver,onMouseOut:this.handleMouseOut})}}]),n}(d.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)),l=r(n(54013)),s=r(n(53671)),u=r(n(27825)),d=a(n(82015)),c=n(74501),f=n(84240),p=r(n(23746)),m=r(n(78198));(t.default=function(e){(0,l.default)(n,e);var t=(0,s.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 d.default.createElement("g",{id:"cbgSlices"},u.default.map(t,(function(t){return d.default.createElement("g",{id:"cbgBin-".concat(t.id),key:t.id},d.default.createElement(m.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}),d.default.createElement(p.default,{bgBounds:e.props.bgBounds,datum:t,displayingMedian:e.props.displayFlags.cbgMedianEnabled,showingCbgDateTraces:e.props.showingCbgDateTraces,xScale:a,yScale:r,sliceWidth:o}))})))}}]),n}(d.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)),l=a(n(56427)),s=void 0,u=l.default.t.bind(l.default),d=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:u("100% of Readings"),onFn:e.updateCbgRange.bind(s,"cbg100Enabled",!0),offFn:e.updateCbgRange.bind(s,"cbg100Enabled",!1)}),r.default.createElement(o.default,{checked:e.displayFlags.cbg80Enabled,name:"eighty",label:u("80% of Readings"),onFn:e.updateCbgRange.bind(s,"cbg80Enabled",!0),offFn:e.updateCbgRange.bind(s,"cbg80Enabled",!1)}),r.default.createElement(o.default,{checked:e.displayFlags.cbg50Enabled,name:"fifty",label:u("50% of Readings"),onFn:e.updateCbgRange.bind(s,"cbg50Enabled",!0),offFn:e.updateCbgRange.bind(s,"cbg50Enabled",!1)}),r.default.createElement(o.default,{checked:e.displayFlags.cbgMedianEnabled,name:"median",label:u("Median"),onFn:e.updateCbgRange.bind(s,"cbgMedianEnabled",!0),offFn:e.updateCbgRange.bind(s,"cbgMedianEnabled",!1)}))};t.default=d},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),l=r(n(82015)),s=a(n(74501)),u=r(n(1634)),d=function(e){var t=e.data,n=e.margins,a=e.svgDimensions,r=e.xScale,i=a.width-n.left-n.right,s=a.height-n.top-n.bottom,d=e.linesAtThreeHrs?o.default.map(t,(function(e,t){return l.default.createElement("line",{className:u.default.threeHrLine,key:"threeHrLine-".concat(t),x1:r(e),x2:r(e),y1:n.top,y2:a.height-n.bottom})})):null;return l.default.createElement("g",{id:"background"},l.default.createElement("rect",{className:u.default.background,x:n.left,y:n.top,width:i,height:s}),d)};d.defaultProps={data:o.default.map((0,i.range)(1,8),(function(e){return e*s.THREE_HRS})),linesAtThreeHrs:!1},t.default=d},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)),l=n(74501),s=a(n(86797)),u=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 u=e.bgPrefs,d="cbg"===e.dataType,c=e[d?"focusedSlice":"focusedRange"],f=c.data,p=c.position,m=(0,l.formatClocktimeFromMsPer24)(f.msFrom),g=(0,l.formatClocktimeFromMsPer24)(f.msTo),A=d?t[1]:"max",h=d?"median":"mean",b=d?t[0]:"min",y={top:p.yPositions[A],left:p.left},v={top:p.yPositions[b],left:p.left},E={top:p.yPositions[h],left:p.left},C=p.tooltipLeft?"left":"right";return r.default.createElement("div",{className:s.default.container},d?r.default.createElement(o.default,{title:r.default.createElement("span",{className:s.default.timeLabel},m," - ",g),borderWidth:0,position:{left:p.left,top:p.yPositions.topMargin},side:"bottom",tail:!1}):null,r.default.createElement(o.default,{content:r.default.createElement("span",{className:s.default.number},(0,i.formatBgValue)(f[A],u,f.outOfRangeThresholds)),backgroundColor:"transparent",borderColor:"transparent",offset:{left:0,top:d?e.numberOffsets.top:0},position:y,side:"top",tail:!1}),d?null:r.default.createElement(o.default,{title:r.default.createElement("span",{className:s.default.explainerText},m," - ",g),content:r.default.createElement("span",{className:s.default.number},"Average ".concat((0,i.formatBgValue)(f[h],u,f.outOfRangeThresholds))),offset:{top:0,horizontal:e.numberOffsets.horizontal},position:E,side:C}),r.default.createElement(o.default,{content:r.default.createElement("span",{className:s.default.number},(0,i.formatBgValue)(f[b],u,f.outOfRangeThresholds)),backgroundColor:"transparent",borderColor:"transparent",offset:{left:0,top:d?e.numberOffsets.bottom:0},position:v,side:"bottom",tail:!1}))};u.defaultProps={numberOffsets:{bottom:-5,horizontal:10,top:5}},t.default=u},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)),l=a(n(56427)),s=l.default.t.bind(l.default);void 0===o.default.get(l.default,"options.returnEmptyString")&&l.default.init({returnEmptyString:!1,nsSeparator:"|"});var u=function(e){var t=e.dataType,n=e.displayTypes,a=e.position,o=void 0===a?{}:a,l=e.unselectedAllData,u=e.unselectedAllDataString;if(!o.x||!o.y)return null;var d="";return t&&(d=n[t]),r.default.createElement("text",{className:i.default.noDataMsg,id:"noDataMsg",x:o.x,y:o.y},function(e){return l?u:s("There is no {{displayType}} data for this time period :(",{displayType:e})}(d))};u.defaultProps={displayTypes:{cbg:"CGM",smbg:"fingerstick"},unselectedAllDataString:s("Hang on there, skippy! You unselected all of the data!")},t.default=u},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,l=a.range()[0]-n.maxR,s=a.range()[1]+n.maxR;return r.default.createElement("g",{id:"targetRange"},r.default.createElement("line",{id:"highThreshold",className:o.default.targetRangeLine,x1:l,x2:s,y1:i(t.targetUpperBound),y2:i(t.targetUpperBound)}),r.default.createElement("line",{id:"lowThreshold",className:o.default.targetRangeLine,x1:l,x2:s,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=T,t.getLocalizedNoonBeforeUTC=B,t.getLocalizedOffset=S;var o,i=a(n(271)),l=a(n(46721)),s=a(n(4841)),u=a(n(83581)),d=a(n(54013)),c=a(n(53671)),f=a(n(27825)),p=a(n(66581)),m=n(17897),g=n(81386),A=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 T(e,t,n){for(var a=v.getTimezoneFromTimePrefs(n),r=[],o=A.default.utc(e).tz(a),i=A.default.utc(t);o.isBefore(i);)r.push(o.format("YYYY-MM-DD")),o.add(1,"day");return r}function B(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 A.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 A.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,d.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)).log=(0,p.default)("TrendsContainer"),a.state={currentCbgData:[],currentSmbgData:[],dateDomain:null,mostRecent:null,previousDateDomain:null,xScale:null,yScale:null},a.selectDate=a.selectDate.bind((0,u.default)(a)),a}return(0,s.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,m.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,l=o.bgUnits,s=e.yScaleClampTop,u=e.mostRecentDatetimeLocation,d=s[l],c=[n[0],d];(!n[0]||n[0]>i.veryLowThreshold)&&(c[0]=i.veryLowThreshold);var p=(0,g.scaleLinear)().domain(c).clamp(!0),h=e.extentSize,b=e.initialDatetimeLocation,y=e.timePrefs,E=v.getTimezoneFromTimePrefs(y),C=v.getLocalizedCeiling(u,y).toISOString(),T=b?v.getLocalizedCeiling(b,y).toISOString():C,B=[(0,A.default)(T).tz(E).subtract(h,"days").toISOString(),T],S={bgDomain:{lo:n[0],hi:n[1]},currentCbgData:a,currentSmbgData:r,dateDomain:{start:B[0],end:B[1]},mostRecent:C,xScale:(0,g.scaleLinear)().domain([0,864e5]),yScale:p};this.setState(S,this.determineDataToShow),e.onDatetimeLocationChange(B)}},{key:"getCurrentDay",value:function(){return B(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=A.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:T(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)),l=r(n(54013)),s=r(n(53671)),u=a(n(82015)),d=r(n(37841)),c=r(n(27825)),f=(n(66871),n(74501)),p=n(37359),m=r(n(26432)),g=r(n(14978)),A=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)),T=r(n(40957)),B=r(n(59816)),S=r(n(58385)),x=r(n(21774)),w=t.TrendsSVGContainer=function(e){(0,l.default)(n,e);var t=(0,s.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,p.findDatesIntersectingWithCbgSliceSegment)(a,r,o),l=c.default.groupBy(c.default.filter(a,(function(e){return c.default.includes(i,e.localDate)})),(function(e){return e.localDate}));this.setState({focusedSegmentDataGroupedByDate:l})}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,l=o.height;a.range([t.left+Math.round(n.maxR),i-t.right-Math.round(n.maxR)]),r.range([l-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,l={x:o/2+a.right,y:i/2+a.bottom},s=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)?u.default.createElement(C.default,{dataType:e,position:l,unselectedAllData:s}):null}},{key:"renderOverlay",value:function(e,t){var n=this.props.smbgRangeOverlay?this.props.smbgData:[];return u.default.createElement(y.default,{bgBounds:this.props.bgPrefs.bgBounds,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=u.default.createElement(A.default,{bgBounds:this.props.bgPrefs.bgBounds,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=u.default.createElement(g.default,{bgBounds:this.props.bgPrefs.bgBounds,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=u.default.createElement(h.default,{focusedSlice:o,focusedSliceKeys:i,sliceWidth:this.state.chartWidth/56})),u.default.createElement("g",{id:"cbgTrends"},e,n,a)}return null}},{key:"renderSmbg",value:function(){if(this.props.showingSmbg){var e=u.default.createElement(b.default,{anSmbgRangeAvgIsFocused:null!==this.props.focusedSmbgRangeAvg,bgBounds:this.props.bgPrefs.bgBounds,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?u.default.createElement(b.default,{anSmbgRangeAvgIsFocused:!1,bgBounds:this.props.bgPrefs.bgBounds,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 u.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 u.default.createElement("div",null,u.default.createElement("svg",{height:n,width:"100%"},u.default.createElement(m.default,{linesAtThreeHrs:!0,margins:this.props.margins,smbgOpts:this.props.smbgOpts,svgDimensions:{height:n,width:t},xScale:this.props.xScale}),u.default.createElement(B.default,{margins:this.props.margins,useRangeLabels:!1,xScale:this.props.xScale}),u.default.createElement(S.default,{margins:this.props.margins,xScale:this.props.xScale}),u.default.createElement(x.default,{bgPrefs:this.props.bgPrefs,bgUnits:this.props.bgUnits,margins:this.props.margins,yScale:this.props.yScale}),this.renderCbg(),this.renderSmbg(),u.default.createElement(T.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}(u.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,d.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)),l=n(74501),s=a(n(12970)),u=function(e){var t=e.data,n=e.margins,a=e.xOffset,o=e.xScale,u=e.yOffset,d=n.top-u;return i.default.createElement("g",{id:"xAxisLabels"},r.default.map(t,(function(e){var t=(0,l.formatClocktimeFromMsPer24)(e,"h a");return i.default.createElement("text",{className:s.default.text,key:e,x:o(e)+a,y:d},t)})))};u.defaultProps={data:r.default.map((0,o.range)(0,8),(function(e){return e*l.THREE_HRS})),xOffset:5,yOffset:5},t.default=u},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),l=r(n(82015)),s=a(n(74501)),u=r(n(21753)),d=function(e){var t=e.data,n=e.margins,a=e.tickLength,r=e.xScale;return l.default.createElement("g",{id:"xAxisTicks"},o.default.map(t,(function(e){return l.default.createElement("line",{className:u.default.tick,key:e,x1:r(e),x2:r(e),y1:n.top,y2:n.top-a})})))};d.defaultProps={data:o.default.map((0,i.range)(0,9),(function(e){return e*s.THREE_HRS})),tickLength:15},t.default=d},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)),l=a(n(32768)),s=function(e){var t=e.bgPrefs,n=e.margins,a=e.textToTickGap,s=e.tickWidth,u=e.yScale,d=t.bgBounds;return o.default.createElement("g",{id:"yAxisLabels"},r.default.map(["targetLowerBound","targetUpperBound","veryHighThreshold","veryLowThreshold"],(function(e){return o.default.createElement("g",{id:"yAxisLabel",key:e},o.default.createElement("text",{className:l.default.text,x:n.left-s-a,y:u(d[e])},(0,i.formatBgValue)(d[e],t)),o.default.createElement("line",{className:l.default.tick,x1:n.left-s,x2:n.left,y1:u(d[e]),y2:u(d[e])}))})))};s.defaultProps={textToTickGap:2,tickWidth:8},t.default=s},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)),l=a(n(78572)),s=(n(66871),n(99559)),u=n(84240),d=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,p=n.allSmbgsOnDate,m=n.allPositions,g=e.timePrefs,A=e.lines,h=(0,d.formatLocalizedFromUTC)(a.normalTime,g),b=(0,d.formatLocalizedFromUTC)(a.normalTime,g,"MMM D"),y=f.tooltipLeft?"left":"right",v=p.slice(),E=m.slice();if(!A){var C=o.default.findIndex(p,(function(e){return e.value===a.value}));o.default.pullAt(v,C),o.default.pullAt(E,C)}var T,B=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,s.formatBgValue)(e.value,t,(0,u.getOutOfRangeThreshold)(e))),position:E[n],side:"bottom",tail:!1,offset:{top:10,left:0}})}));return T=A?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(l.default,{title:r.default.createElement("span",{className:c.default.tipWrapper},r.default.createElement("span",{className:c.default.dateTime},"".concat(b,", ").concat((0,d.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},B,T)}},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)),l=r(n(4841)),s=r(n(83581)),u=r(n(54013)),d=r(n(53671)),c=a(n(82015)),f=n(94568),p=n(4485),m=r(n(27825)),g=r(n(3892)),A=n(66871),h=n(74501),b=n(84240),y=r(n(72380)),v=t.SMBGDateLineAnimated=function(e){(0,u.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)).getDefaultPoints=a.getDefaultPoints.bind((0,s.default)(a)),a.getPoints=a.getPoints.bind((0,s.default)(a)),a.getPositions=a.getPositions.bind((0,s.default)(a)),a.handleClick=a.handleClick.bind((0,s.default)(a)),a.handleMouseOut=a.handleMouseOut.bind((0,s.default)(a)),a.handleMouseOver=a.handleMouseOver.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,l.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 m.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 m.default.map(n,(function(t){i.push({key:t.id,style:{opacity:(0,f.spring)(1,A.springConfig),x:(0,f.spring)(r(e.getXPosition(t.msPer24,a)),A.springConfig),y:(0,f.spring)(o(t.value),A.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 m.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:m.default.get(t,["x","val"],t.x),y:m.default.get(t,["y","val"],t.y)}}},{key:"willLeave",value:function(e){var t=e.style;return{opacity:(0,f.spring)(0,A.springConfig),x:(0,f.spring)(m.default.get(t,["x","val"],t.x),A.springConfig),y:(0,f.spring)(m.default.get(t,["y","val"],t.y),A.springConfig)}}},{key:"render",value:function(){var e,t=this,n=this.props,a=n.data,r=n.date,i=n.focusedDay,l=n.nonInteractive,s=(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,p.line)()(m.default.map(m.default.map(e,"style"),(function(e){return[m.default.get(e,["x","val"],e.x),m.default.get(e,["y","val"],e.y)]}))),className:s,onMouseOver:t.handleMouseOver,onMouseOut:t.handleMouseOut,onClick:t.handleClick,pointerEvents:l?"none":"stroke",strokeOpacity:m.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)),l=r(n(83581)),s=r(n(54013)),u=r(n(53671)),d=a(n(82015)),c=n(94568),f=r(n(27825)),p=n(84240),m=n(66871),g=n(74501),A=r(n(97579)),h=t.SMBGDatePointsAnimated=function(e){(0,s.default)(n,e);var t=(0,u.default)(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).getPositions=a.getPositions.bind((0,l.default)(a)),a.getXPosition=a.getXPosition.bind((0,l.default)(a)),a.handleClick=a.handleClick.bind((0,l.default)(a)),a.handleMouseOut=a.handleMouseOut.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,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,p.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),m.springConfig),opacity:a||r?(0,c.spring)(.35,m.springConfig):(0,c.spring)(.8,m.springConfig),r:(0,c.spring)(0,m.springConfig)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.anSmbgRangeAvgIsFocused,a=t.bgBounds,r=t.data,o=t.date,i=t.focusSmbg,l=t.isFocused,s=t.nonInteractive,u=t.smbgOpts,g=t.someSmbgDataIsFocused,h=l?u.maxR:u.r,b=this.getPositions();return d.default.createElement(c.TransitionMotion,{defaultStyles:r.length||!s?f.default.map(r,(function(e,t){var n=b[t];return{key:e.id,style:{cx:n.left,opacity:.5,r:0}}})):[],styles:r.length?f.default.map(r,(function(e,t){var r=b[t];return{key:e.id,data:{classes:A.default[(0,p.classifyBgValue)(a,e.value,"fiveWay")],position:r,smbg:e},style:{cx:(0,c.spring)(r.left,m.springConfig),opacity:n||g?(0,c.spring)(.35,m.springConfig):(0,c.spring)(.8,m.springConfig),r:(0,c.spring)(h,m.springConfig)}}})):[],willEnter:this.willEnter,willLeave:this.willLeave},(function(t){return 0===t.length?null:d.default.createElement("g",{id:"smbgDatePoints-".concat(o)},f.default.map(t,(function(t){var n=t.key,a=t.style;return d.default.createElement("circle",{className:t.data.classes,id:"smbg-".concat(n),key:n,onMouseOver:function(){return i(t.data.smbg,t.data.position,r,b,o)},onMouseOut:e.handleMouseOut,onClick:e.handleClick,cx:a.cx,cy:t.data.position.top,r:a.r,fillOpacity:a.opacity,pointerEvents:s?"none":"all"})})))}))}}]),n}(d.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)),l=r(n(83581)),s=r(n(54013)),u=r(n(53671)),d=a(n(82015)),c=t.SMBGMean=function(e){(0,s.default)(n,e);var t=(0,u.default)(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).handleMouseOut=a.handleMouseOut.bind((0,l.default)(a)),a.handleMouseOver=a.handleMouseOver.bind((0,l.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 d.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}(d.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)),l=r(n(4841)),s=r(n(83581)),u=r(n(54013)),d=r(n(53671)),c=r(n(3892)),f=a(n(82015)),p=n(94568),m=n(84240),g=n(66871),A=r(n(98823)),h=r(n(76400)),b=r(n(61905)),y=t.SMBGMeanAnimated=function(e){(0,u.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)).willEnter=a.willEnter.bind((0,s.default)(a)),a.willLeave=a.willLeave.bind((0,s.default)(a)),a}return(0,l.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,p.spring)(0,g.springConfig);return{y:(0,p.spring)(t,g.springConfig),height:(0,p.spring)(n,g.springConfig),opacity:a}}},{key:"render",value:function(){var e,t,n=this,a=this.props,r=a.bgBounds,i=a.datum,l=a.defaultY,s=a.meanHeight,u=a.someSmbgDataIsFocused,d=a.width,A=a.xScale,y=a.yScale,v=A(i.msX),E={min:y(i.min),mean:y(i.mean),max:y(i.max)},C=i.mean?(0,c.default)((e={},(0,o.default)(e,b.default.smbgMean,!0),(0,o.default)(e,b.default["".concat((0,m.classifyBgValue)(r,i.mean,"fiveWay"),"FadeIn")],!u),(0,o.default)(e,b.default["".concat((0,m.classifyBgValue)(r,i.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=A(i.msX)-d/2+b.default.stroke/2,B=d-b.default.stroke;return f.default.createElement(p.TransitionMotion,{defaultStyles:[{key:i.id,style:{y:l,height:0,opacity:0}}],styles:i.min?[{key:i.id,style:{y:(0,p.spring)(E.mean-s/2,g.springConfig),height:(0,p.spring)(s,g.springConfig),opacity:(0,p.spring)(1,g.springConfig)}}]:[],willEnter:this.willEnter,willLeave:this.willLeave},(function(e){return 0===e.length?null:f.default.createElement(h.default,{classes:C,datum:i,focusRange:n.props.focusSmbgRange,unfocusRange:n.props.unfocusSmbgRange,interpolated:e[0],positionData:{left:v,tooltipLeft:i.msX>n.props.tooltipLeftThreshold,yPositions:E},width:B,x:T})}))}}]),n}(f.PureComponent);y.defaultProps={meanHeight:10,meanWidth:108},t.default=(0,A.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)),l=r(n(83581)),s=r(n(54013)),u=r(n(53671)),d=a(n(82015)),c=t.SMBGRange=function(e){(0,s.default)(n,e);var t=(0,u.default)(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).handleMouseOut=a.handleMouseOut.bind((0,l.default)(a)),a.handleMouseOver=a.handleMouseOver.bind((0,l.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 d.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}(d.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)),l=r(n(4841)),s=r(n(83581)),u=r(n(54013)),d=r(n(53671)),c=r(n(3892)),f=a(n(82015)),p=n(94568),m=n(66871),g=r(n(98823)),A=r(n(20512)),h=r(n(705)),b=t.SMBGRangeAnimated=function(e){(0,u.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)).willEnter=a.willEnter.bind((0,s.default)(a)),a.willLeave=a.willLeave.bind((0,s.default)(a)),a}return(0,l.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,p.spring)(0,m.springConfig);return{y:(0,p.spring)(e,m.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,l=n.width,s=n.xScale,u=n.yScale,d=s(a.msX),g={min:u(a.min),mean:u(a.mean),max:u(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(p.TransitionMotion,{defaultStyles:[{key:a.id,style:{y:r,height:0,opacity:0}}],styles:a.min?[{key:a.id,style:{y:(0,p.spring)(g.max,m.springConfig),height:(0,p.spring)(g.min-g.max,m.springConfig),opacity:(0,p.spring)(1,m.springConfig)}}]:[],willEnter:this.willEnter,willLeave:this.willLeave},(function(e){return 0===e.length?null:f.default.createElement(A.default,{classes:b,datum:a,focusRange:t.props.focusSmbgRange,unfocusRange:t.props.unfocusSmbgRange,interpolated:e[0],positionData:{left:d,tooltipLeft:a.msX>t.props.tooltipLeftThreshold,yPositions:g},rectWidth:l})}))}}]),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)),l=r(n(54013)),s=r(n(53671)),u=r(n(27825)),d=a(n(82015)),c=n(74501),f=n(84240);(t.default=function(e){(0,l.default)(n,e);var t=(0,s.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 d.default.createElement("g",{className:"smbgAggContainer"},u.default.map(t,(function(t){return d.default.createElement(a,{bgBounds:e.props.bgBounds,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}(d.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)),l=a(n(8002));t.default=function(e){var t=e.data;if(!t)return null;var n,a=e.anSmbgRangeAvgIsFocused,s=e.bgBounds,u=e.dates,d=e.focusSmbg,c=e.unfocusSmbg,f=e.focusedSmbg,p=e.grouped,m=e.lines,g=e.nonInteractive,A=e.onSelectDate,h=e.smbgOpts,b=e.someSmbgDataIsFocused,y=e.tooltipLeftThreshold,v=e.xScale,E=e.yScale,C=f?f.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=m?e:[];n.push(r.default.createElement(l.default,{bgBounds:s,data:a,date:t,focusSmbg:d,unfocusSmbg:c,focusedDay:C,grouped:p,key:t,onSelectDate:A,nonInteractive:g,tooltipLeftThreshold:y,xScale:v,yScale:E}))})),C&&n.push(r.default.createElement(l.default,{bgBounds:s,data:f.allSmbgsOnDate,date:C,focusSmbg:d,unfocusSmbg:c,key:"".concat(C,"-focused"),focusedDay:C,grouped:p,onSelectDate:A,nonInteractive:g,tooltipLeftThreshold:y,xScale:v,yScale:E})),n),o.default.map(T,(function(e,t){return r.default.createElement(i.default,{anSmbgRangeAvgIsFocused:a,bgBounds:s,data:e,date:t,focusSmbg:d,unfocusSmbg:c,grouped:p,isFocused:C===t,key:t,nonInteractive:g,onSelectDate:A,smbgOpts:h,someSmbgDataIsFocused:b,tooltipLeftThreshold:y,xScale:v,yScale:E})})))}},79947:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.text=t.fontSizes=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,l,s,u=a(n(271)),d=a(n(27825)),c=a(n(56427)),f=n(56765),p=n(66871),m=c.default.t.bind(c.default);void 0===d.default.get(c.default,"options.returnEmptyString")&&c.default.init({returnEmptyString:!1,nsSeparator:"|"}),t.AGP_BG_CLAMP_MGDL=350,t.AGP_BG_CLAMP_MMOLL=19.4,t.AGP_FOOTER_Y_PADDING=.25*f.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*f.DPI,t.AGP_SECTION_DESCRIPTION_HEIGHT=.25*f.DPI,t.AGP_LOWER_QUANTILE=.05,t.AGP_UPPER_QUANTILE=.95,t.AGP_FONT_FAMILY="Helvetica, Arial, Sans-Serif",t.text={reportHeader:m("AGP Report:"),reportSubHeader:(r={},(0,u.default)(r,p.CGM_DATA_KEY,m("Continuous Glucose Monitoring")),(0,u.default)(r,p.BGM_DATA_KEY,m("Blood Glucose Monitoring")),r),reportFooter:m("Patent pending – HealthPartners Institute dba International Diabetes Center – All Rights Reserved. ©2022"),reportInsuffienctData:m("Insufficient data to generate an AGP Report."),percentInRanges:(o={},(0,u.default)(o,p.CGM_DATA_KEY,{title:m("Time in Ranges"),subtitle:m("Goals for Type 1 and Type 2 Diabetes")}),(0,u.default)(o,p.BGM_DATA_KEY,{title:m("Percent BGM Readings in Ranges")}),o),reportInfo:{dob:m("DOB:"),mrn:m("MRN:")},glucoseMetrics:(i={},(0,u.default)(i,p.CGM_DATA_KEY,{title:m("Glucose metrics"),averageGlucose:{label:m("Average Glucose"),goal:{mgdl:m("Goal: <154 mg/dL"),mmoll:m("Goal: <8.6 mmol/L")}},coefficientOfVariation:{label:m("Glucose Variability"),subLabel:m("Defined as percent coefficient of variation"),goal:m("Goal: <=36%")},glucoseManagementIndicator:{label:m("Glucose Management Indicator (GMI)"),goal:m("Goal: <7%")}}),(0,u.default)(i,p.BGM_DATA_KEY,{title:m("BGM Statistics"),averageGlucose:{label:m("Average Glucose")},bgExtents:{label:m("Lowest/Highest Glucose")},coefficientOfVariation:{label:m("Glucose Variability"),subLabel:m("Defined as percent coefficient of variation"),goal:m("Goal: <=36%")},dailyReadingsInRange:{label:m("Average Readings/Day")},readingsInRange:{label:m("Number of Readings")}}),i),ambulatoryGlucoseProfile:(l={},(0,u.default)(l,p.CGM_DATA_KEY,{title:m("Ambulatory Glucose Profile (AGP)"),description:m("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:m("Target<br>Range"),insufficientData:m("Insufficient CGM data to generate AGP graph")}),(0,u.default)(l,p.BGM_DATA_KEY,{title:m("Ambulatory Glucose Profile (AGP)"),insufficientDataTitle:m("Modal Day BGM Values Graph"),description:m("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:m("Target<br>Range"),insufficientData:m("Insufficient glucose data to generate AGP")}),l),dailyGlucoseProfiles:(s={},(0,u.default)(s,p.CGM_DATA_KEY,{title:m("Daily Glucose Profiles"),description:m("Each daily profile represents a midnight-to-midnight period.")}),(0,u.default)(s,p.BGM_DATA_KEY,{title:m("Daily Glucose Profiles"),description:m("Each daily profile represents a midnight-to-midnight period. The more readings available throughout the day, the more opportunities for improvement.")}),s),bgRanges:{veryHigh:m("Very High"),high:m("High"),target:m("Target"),low:m("Low"),veryLow:m("Very Low")},goals:{veryHigh:m("Goal: <5%"),highCombined:m("Goal: <25%"),target:m("Goal: >70%"),lowCombined:m("Goal: <4%"),veryLow:m("Goal: <1%")},subLabels:{TIRtarget:m("Each 5% increase is clinically beneficial"),TIRminutes:m("Each 1% time in range = about 15 minutes")}},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}};var g="#000000",A="#FFFFFF",h="#D9D9D9",b="#7A7A7A",y="#626267";t.colors={text:{reportHeader:"#522398",label:y,reportFooter:g,section:{title:g,subtitle:y,description:g,insufficientData:g},reportInfo:g,calendarDates:y,goals:{veryHigh:y,highCombined:b,target:b,lowCombined:b,veryLow:y,glucoseMetrics:y},subLabels:{TIRtarget:y,TIRminutes:g,glucoseMetrics:y},subStats:{glucoseMetrics:g},ticks:{bg:y,dailyProfileBg:g,hour:y,percentile:y}},line:{default:y,ticks:h,range:{target:"#00AA51",dailyProfileTarget:g,default:h,divider:A}},white:A,black:g,lightGrey:h,mediumGrey:b,darkGrey:y,background:{shaded:h},bgRange:{veryLow:"#CC0019",low:"#FF0000",lowShaded:"#FF8080",target:"#0BAD5A",high:"#FFBF00",highShaded:"#FFD180",veryHigh:"#FF6900",empty:y},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:h},high:{line:"#FFA600",fill:"#FFD180"}}}},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)),l=n(79947),s=n(56765),u=n(99559),d=n(74501),c=n(84240),f=n(66871),p=a(n(74716)),m=t.boldText=function(e){return"<b>".concat(String(e),"</b>")},g=t.chartScaleToPixels=function(e,t){return t*e},A=t.pixelsToChartScale=function(e,t){return t/e},h=t.pointsToPixels=function(e){return.75*e},b=t.createAnnotation=function(e){return i.default.defaultsDeep(e,{arrowside:"none",font:{color:l.colors.black,family:l.AGP_FONT_FAMILY},showarrow:!1})},y=t.calculateCGMDataSufficiency=function(){var e,t,n,a,r,o,l,s,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},m=(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)||{},A=g.newestDatum,h=g.bgDaysWorn,b=(null===(o=c.data)||void 0===o||null===(l=o.current)||void 0===l||null===(s=l.stats)||void 0===s?void 0:s.sensorUsage)||{},y=b.count,v=b.sampleFrequency,E=b.sensorUsageAGP,C={ambulatoryGlucoseProfile:!0,dailyGlucoseProfiles:!0,glucoseMetrics:!0,percentInRanges:!0},T=y*v/f.MS_IN_HOUR;if(T<24)return{ambulatoryGlucoseProfile:!1,dailyGlucoseProfiles:!1,glucoseMetrics:!1,percentInRanges:!1};if(24===T){var B=E>=70;return{ambulatoryGlucoseProfile:!1,dailyGlucoseProfiles:B,glucoseMetrics:B,percentInRanges:B}}var S=i.default.map(i.default.range(i.default.max([h,7])),(function(e,t){return p.default.utc(A.time).tz((0,d.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=m[e])||void 0===n?void 0:n.sensorUsage)||{},o=r.count,i=r.sampleFrequency,l=(null===(a=m[e])||void 0===a?void 0:a.bgExtents)||{},s=l.newestDatum,d=void 0===s?{}:s,c=l.oldestDatum,p=void 0===c?{}:c;if(!i||!o)return{sufficiencyMet:!1,sensorUsage:0};var g,A=f.MS_IN_HOUR/i;return{count:o,date:e,maxPossibleReadings:g=0===t?(0,u.bankersRound)((f.MS_IN_DAY-p.msPer24)/i):t===S.length-1?(0,u.bankersRound)(d.msPer24/i):(0,u.bankersRound)(f.MS_IN_DAY/i),sensorUsage:g>0?o/g*100:0,sufficiencyMet:o>=A}})),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 O=i.default.meanBy(I,"sensorUsage");C.ambulatoryGlucoseProfile=O>=70}return C},v=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=3.375*s.DPI,a=.75*s.DPI,r=s.MARGINS.left+s.WIDTH,o=s.MARGINS.top+s.HEIGHT-(.75*s.DPI-s.MARGINS.bottom),i=.25*s.DPI,u={},d=t===f.CGM_DATA_KEY?y(e):v(e);u.percentInRanges={bgSource:t,x:s.MARGINS.left,y:a,width:3.875*s.DPI,height:3*s.DPI,bordered:!0,text:l.text.percentInRanges[t],sufficientData:d.percentInRanges},u.reportInfo={bgSource:t,x:r-n,y:a,width:n,height:s.DPI*(t===f.CGM_DATA_KEY?.875:.55),text:l.text.reportInfo},u.glucoseMetrics={bgSource:t,x:r-n,y:u.reportInfo.y+u.reportInfo.height+i,width:n,height:s.DPI*(t===f.CGM_DATA_KEY?1.875:2.2),bordered:!0,text:l.text.glucoseMetrics[t],sufficientData:d.glucoseMetrics},u.ambulatoryGlucoseProfile={bgSource:t,x:s.MARGINS.left,y:4*s.DPI,width:s.WIDTH,height:3.5*s.DPI,bordered:!0,text:l.text.ambulatoryGlucoseProfile[t],sufficientData:d.ambulatoryGlucoseProfile};var c=2.25*s.DPI;return u.dailyGlucoseProfiles={bgSource:t,x:s.MARGINS.left,y:o-c-l.AGP_FOOTER_Y_PADDING,width:s.WIDTH,height:c,bordered:!0,text:l.text.dailyGlucoseProfiles[t],sufficientData:d.dailyGlucoseProfiles},u},t.generatePercentInRangesFigure=function(e,t,n){var a=e.width-2,d=e.height-2-.25*s.DPI-l.AGP_SECTION_BORDER_RADIUS,c=.5*s.DPI,p=.425*s.DPI,g=.3*s.DPI,h=a-2*c,y=d-(p+g),v=.35*s.DPI,E=A.bind(null,y),C=A.bind(null,h),T=i.default.get(t,"data.raw.counts.total",0);if(e.sufficientData){var B,S,x,w,I=i.default.get(t,"data.raw.counts",{}),O=[{id:"veryLow",value:I.veryLow},{id:"low",value:I.low},{id:"target",value:I.target},{id:"high",value:I.high},{id:"veryHigh",value:I.veryHigh}],L=i.default.reduce(O,(function(e,t,n){var a=i.default.toNumber(t.value)/T*1,r="target"===t.id?l.AGP_TIR_MIN_TARGET_HEIGHT:l.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:[]}),P=1/i.default.last(L.ticks);L.rendered=i.default.map(L.rendered,(function(e){return e*P})),L.ticks=i.default.map(L.ticks,(function(e){return e*P}));var D=i.default.map(O,(function(e,n){return{x:[t.id],y:[L.rendered[n]],name:e.id,type:"bar",width:v/h*2,marker:{color:i.default.toNumber(e.value)>0?l.colors.bgRange[e.id]:l.colors.bgRange.empty,line:{color:l.colors.line.range.divider,width:2}}}})),k=i.default.map([null==n||null===(B=n.bgBounds)||void 0===B?void 0:B.veryLowThreshold,null==n||null===(S=n.bgBounds)||void 0===S?void 0:S.targetLowerBound,null==n||null===(x=n.bgBounds)||void 0===x?void 0:x.targetUpperBound,null==n||null===(w=n.bgBounds)||void 0===w?void 0:w.veryHighThreshold,null==n?void 0:n.bgUnits],(function(e,t){return b({align:"right",font:{size:l.fontSizes.percentInRanges.ticks},text:m(4===t?e:(0,u.formatBgValue)(e,n,void 0,!0)),x:0,xanchor:"right",xshift:-2,y:4===t?L.ticks[1]+(L.ticks[2]-L.ticks[1])/2:L.ticks[t],yanchor:"middle"})})),M=function(e,t,n,a){var r=E(13);if(i.default.isNumber(a)){var o=E(24);return n-a<r&&(a=n-r),{posX:e,posX2:t,posY:n,posY2:a,subBracketXOffset:(t-e)/2,subBracketYOffset:i.default.min([(n-a)/2,o])}}var s=[E(l.AGP_TIR_MIN_TARGET_HEIGHT),1-E(l.AGP_TIR_MIN_TARGET_HEIGHT)];return n<s[0]&&(n=s[0]),n>s[1]&&(n=s[1]),{posX:e,posX2:t,posY:n}},N=function(e){var t=e.posX,n=e.posX2,a=e.posY,r=e.posY2,o=e.subBracketXOffset,l=e.subBracketYOffset;if(i.default.isNumber(r)){var s=C(5),u=E(5);return["M ".concat(t," ").concat(a),"H ".concat(t+o-s),"Q ".concat(t+o," ").concat(a," ").concat(t+o," ").concat(a-u),"V ".concat(r+u),"Q ".concat(t+o," ").concat(r," ").concat(t+o-s," ").concat(r),"H ".concat(t),"M ".concat(t+o," ").concat(r+l),"H ".concat(n)].join(" ")}return["M ".concat(t," ").concat(a),"H ".concat(n)].join(" ")},R=[L.ticks[0],E(-11),L.ticks[1]+(L.ticks[2]-L.ticks[1])/2,L.ticks[4],L.ticks[2]+(L.ticks[3]-L.ticks[2])/2],_=[C(v+5),C(h-v)],j={low:M.apply(void 0,_.concat((0,o.default)(R.slice(0,2)))),target:M.apply(void 0,_.concat([R[2]])),high:M.apply(void 0,_.concat((0,o.default)(R.slice(3))))},F=i.default.map(i.default.values(j),(function(e){return{type:"path",path:N(e),line:{color:l.colors.line.default,width:.5},yref:"paper"}})),G=function(e,t,n,a){var r=n>a,o=C(5),i=E(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(" ")},H=[0,j.low.posY2+E(6),1,j.high.posY+E(6)],U=[C(v/2),C(v+2)],Y={veryLow:[].concat(U,(0,o.default)(H.slice(0,2))),veryHigh:[].concat(U,(0,o.default)(H.slice(2)))},z=i.default.map(i.default.values(Y),(function(e){return{type:"path",path:G.apply(void 0,(0,o.default)(e)),line:{color:l.colors.black,width:.5},yref:"paper"}})),W={veryLow:j.low.posY2,low:j.low.posY,target:j.target.posY,high:j.high.posY2,veryHigh:j.high.posY},V=i.default.map(["veryLow","low","target","high","veryHigh"],(function(e){return b({align:"left",font:{size:l.fontSizes.percentInRanges.values},text:m(l.text.bgRanges[e]),x:_[0],xanchor:"left",xshift:-1,y:W[e],yanchor:"bottom",yref:"paper",yshift:-1})})),q=i.default.map(["veryLow","low","high","veryHigh"],(function(e){return b({align:"right",font:{size:l.fontSizes.percentInRanges.values},text:m((0,u.formatPercentage)(L.rawById[e],0,!0)),x:_[0]+(_[1]-_[0])/2,xanchor:"right",xshift:-4,y:W[e],yanchor:"bottom",yref:"paper",yshift:-1})})),$={low:j.low.posY2+j.low.subBracketYOffset,target:j.target.posY,high:j.high.posY2+j.high.subBracketYOffset},X={low:L.rawById.veryLow+L.rawById.low,target:L.rawById.target,high:L.rawById.veryHigh+L.rawById.high},Q=i.default.map(["low","target","high"],(function(t){return b({align:"left",font:{size:l.fontSizes.percentInRanges.summaries},text:m((0,u.formatPercentage)(X[t],0,!0)),x:_[0]+(_[1]-_[0])/2,xanchor:"left",xshift:e.bgSource===f.CGM_DATA_KEY?3:28,y:$[t],yanchor:"bottom",yref:"paper",yshift:-2})})),K={veryLow:{x:_[0],xanchor:"left",xshift:-1,y:j.low.posY2,yshift:-11},lowCombined:{x:_[1],xanchor:"right",xshift:1,y:j.low.posY2+j.low.subBracketYOffset,yshift:0},target:{x:_[1],xanchor:"right",xshift:1,y:j.target.posY,yshift:0},highCombined:{x:_[1],xanchor:"right",xshift:1,y:j.high.posY2+j.high.subBracketYOffset,yshift:0},veryHigh:{x:_[0],xanchor:"left",xshift:-1,y:j.high.posY,yshift:9}},Z=i.default.map(["veryLow","lowCombined","target","highCombined","veryHigh"],(function(e){return b((0,r.default)({align:"left",font:{color:l.colors.text.goals[e],size:l.fontSizes.percentInRanges.goals},text:l.text.goals[e],yanchor:"bottom",yref:"paper"},K[e]))})),J={TIRtarget:{x:C(h),xanchor:"right",xref:"paper",xshift:c-15,y:j.target.posY,yshift:-12},TIRminutes:{x:C(h),xanchor:"right",xref:"paper",xshift:c-7,y:j.low.posY2,yshift:-12}},ee=i.default.map(["TIRtarget","TIRminutes"],(function(e){return b((0,r.default)({align:"left",font:{color:l.colors.text.subLabels[e],size:l.fontSizes.percentInRanges.subLabels},text:l.text.subLabels[e],yanchor:"bottom",yref:"paper"},J[e]))})),te={veryLow:[V[0],q[0],e.bgSource===f.CGM_DATA_KEY&&Z[0]],low:[V[1],q[1]],lowSummary:[Q[0],e.bgSource===f.CGM_DATA_KEY&&Z[1]],target:[V[2],Q[1],e.bgSource===f.CGM_DATA_KEY&&Z[2],e.bgSource===f.CGM_DATA_KEY&&ee[0]],high:[V[3],q[2]],veryHigh:[V[4],q[3],e.bgSource===f.CGM_DATA_KEY&&Z[4]],highSummary:[Q[2],e.bgSource===f.CGM_DATA_KEY&&Z[3]]};return{data:D,layout:{barmode:"stack",width:a,height:d,showlegend:!1,margin:{l:c,r:c,b:g,t:p},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)(k),(0,o.default)(te.veryHigh),(0,o.default)(te.high),(0,o.default)(te.highSummary),(0,o.default)(te.target),(0,o.default)(te.low),(0,o.default)(te.veryLow),(0,o.default)(te.lowSummary),[e.bgSource===f.CGM_DATA_KEY&&ee[1]]),shapes:[].concat((0,o.default)(F),(0,o.default)(z))}}}return null},t.generateAmbulatoryGlucoseProfileFigure=function(e,t,n,a){var y=e.width-2,v=e.height-2-(l.AGP_SECTION_HEADER_HEIGHT+l.AGP_SECTION_DESCRIPTION_HEIGHT)-l.AGP_SECTION_BORDER_RADIUS,E=.5*s.DPI,C=.2*s.DPI,T=y-2*E,B=v-2*C;if(e.sufficientData||a===f.BGM_DATA_KEY){var S,x,w,I,O=(null==n?void 0:n.bgUnits)===f.MGDL_UNITS?l.AGP_BG_CLAMP_MGDL:l.AGP_BG_CLAMP_MMOLL,L=(0,c.mungeBGDataBins)(a,d.ONE_HR,t,[l.AGP_LOWER_QUANTILE,l.AGP_UPPER_QUANTILE]),P=["lowerQuantile","firstQuartile","median","thirdQuartile","upperQuantile"],D=L[0],k=L[L.length-1],M=i.default.map(L,(function(e,t){return(0,r.default)((0,r.default)({},e),i.default.reduce(P,(function(n,a){var r,o,l,s,u;return n[a]=(l=(null===(r=L[t-1])||void 0===r?void 0:r[a])||k[a],s=e[a],u=(null===(o=L[t+1])||void 0===o?void 0:o[a])||D[a],(l||u)&&s?l&&u?i.default.sum([l,4*s,u])/6:i.default.sum([l||0,4*s,u||0])/5:s),n}),{}))})),N=M[0],R=M[M.length-1];M.unshift((0,r.default)((0,r.default)({},R),{},{msX:N.msX-d.ONE_HR})),M.push((0,r.default)((0,r.default)({},N),{},{msX:R.msX+d.ONE_HR}));var _=function(e,t,n,a,r){return{name:n,type:"scatter",x:[].concat((0,o.default)(i.default.map(M,"msX")),(0,o.default)(i.default.map(i.default.reverse((0,o.default)(M)),"msX"))),y:[].concat((0,o.default)(i.default.map(M,e)),(0,o.default)(i.default.map(i.default.reverse((0,o.default)(M)),t))),yaxis:0===r?"y":"y".concat(r+1),fill:"tozerox",fillcolor:l.colors.ambulatoryGlucoseProfile[n][a],mode:"none",line:{simplify:!1,shape:"spline",smoothing:.5}}},j=["veryLow","low","target","high","veryHigh"],F=[0,null==n||null===(S=n.bgBounds)||void 0===S?void 0:S.veryLowThreshold,null==n||null===(x=n.bgBounds)||void 0===x?void 0:x.targetLowerBound,null==n||null===(w=n.bgBounds)||void 0===w?void 0:w.targetUpperBound,null==n||null===(I=n.bgBounds)||void 0===I?void 0:I.veryHighThreshold,O],G=i.default.map(F,(function(e,t){var a=i.default.includes([2,3],t),r=0;return 0===t&&(r=4),1===t&&(r=-2),b({align:"right",font:{color:a?l.colors.white:l.colors.text.ticks.bg,size:l.fontSizes.ambulatoryGlucoseProfile.bgTicks},height:9,text:m(0===t?e:(0,u.formatBgValue)(e,n,void 0,!0)),y:e/O,yanchor:"middle",yref:"paper",yshift:r,xanchor:"right",xref:"x",xshift:-2,x:0})})),H=i.default.map(i.default.slice(F,2,4),(function(e){return{fillcolor:l.colors.line.range.target,line:{width:0},tick:e,path:(t=e/O*B,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})),U=i.default.map(F,(function(e,t){var n=5===t,r=i.default.includes([2,3],t),o=0===t;return{layer:a===f.CGM_DATA_KEY&&(r||n)?"above":"below",line:{color:r?l.colors.line.range.target:l.colors.line.range.default,width:r?2:1},type:"line",x0:n||o?-1:0,x1:n||o?T+1:T,xref:"paper",xanchor:0,xsizemode:"pixel",y0:e/O,y1:e/O,yref:"paper"}})),Y=i.default.map(P,(function(e){return N[e]&&R[e]?(N[e]+R[e])/2:a===f.CGM_DATA_KEY?N[e]||R[e]:void 0})),z=["5%","25%","50%","75%","95%"],W=i.default.map(Y,(function(e){return g(B,e/O)})),V=(0,o.default)(W),q=W[2],$=h(l.fontSizes.ambulatoryGlucoseProfile.percentileTicks)+2;V[1]=i.default.min([q-$,V[1]]),V[0]=i.default.min([V[1]-$,V[0]]),V[3]=i.default.max([q+$,V[3]]),V[4]=i.default.max([V[3]+$,V[4]]);var X=i.default.map(V,(function(e,t){return e-W[t]})),Q=i.default.map(Y,(function(e,t){return b({align:"left",font:{color:2===t?l.colors.black:l.colors.text.ticks.percentile,size:l.fontSizes.ambulatoryGlucoseProfile.percentileTicks},name:j[t],text:m(z[t]),visible:i.default.isFinite(e)&&e/O<=1,y:e/O,yanchor:"middle",yref:"paper",yshift:X[t],xanchor:"left",xref:"x",xshift:5,x:f.MS_IN_DAY})})),K=i.default.map(Y,(function(e,t){return{line:{color:l.colors.line.ticks,width:1},type:"line",visible:i.default.isFinite(e)&&e/O<=1,x0:T,x1:T+5,xref:"paper",xanchor:0,xsizemode:"pixel",y0:e/O,y1:e/O+A(B,X[t]),yref:"paper"}})),Z=i.default.range(0,f.MS_IN_DAY+1,6*f.MS_IN_HOUR),J=i.default.filter(i.default.range(0,f.MS_IN_DAY+1,f.MS_IN_HOUR),(function(e){return e/f.MS_IN_HOUR%12!=0})),ee=i.default.map(i.default.range(0,f.MS_IN_DAY+1,3*f.MS_IN_HOUR),(function(e){return b({align:"center",font:{color:e/f.MS_IN_HOUR%12==0?l.colors.black:l.colors.darkGrey,size:l.fontSizes.ambulatoryGlucoseProfile.hourlyTicks},text:m(p.default.utc(e).format("ha")),y:0,yanchor:"top",yref:"y",yshift:0,xanchor:"middle",xref:"x",x:e})})),te=[],ne=[],ae=[],re=[],oe=!1;if(i.default.each(j,(function(t,n){var r=[F[n],F[n+1]];a===f.CGM_DATA_KEY?(te.push(_("upperQuantile","lowerQuantile","outerQuantile",t,n)),te.push(_("thirdQuartile","firstQuartile","interQuartile",t,n)),te.push({name:"median",type:"scatter",x:i.default.map(M,"msX"),y:i.default.map(M,"median"),yaxis:0===n?"y":"y".concat(n+1),mode:"lines",fill:"none",line:{color:l.colors.ambulatoryGlucoseProfile.median[t],simplify:!1,shape:"spline",width:3,smoothing:.5}})):a===f.BGM_DATA_KEY&&e.sufficientData&&i.default.each(M,(function(e,a){var r=[M[a-1],e],s=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===s.length&&te.push(function(e,t,n,a,r,s){return{name:n,type:"scatter",x:[].concat((0,o.default)(i.default.map(s,"msX")),(0,o.default)(i.default.map(i.default.reverse((0,o.default)(s)),"msX"))),y:[].concat((0,o.default)(i.default.map(s,"thirdQuartile")),(0,o.default)(i.default.map(i.default.reverse((0,o.default)(s)),"firstQuartile"))),yaxis:0===r?"y":"y".concat(r+1),fill:"toself",fillcolor:l.colors.ambulatoryGlucoseProfile[n][a],mode:"none",line:{simplify:!1,shape:"line",smoothing:0}}}(0,0,"interQuartile",t,n,s));var u=i.default.filter(r,(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).median;return i.default.isFinite(e)})),d=a===M.length-1;if(d&&s.length<2){var c=(r[0].median+r[1].median)/2;oe=c>O/2?"bottom":"top"}if(2===u.length){var p=1===a,m=u[0].msX/f.MS_IN_DAY,g=u[1].msX/f.MS_IN_DAY,h=u[0].median,b=u[1].median;p&&(m=0,h=b-(b-h)/2),d&&(g=1,b-=(b-h)/2),ae.push({type:"line",x0:m,x1:g,y0:h,y1:b,line:{color:l.colors.ambulatoryGlucoseProfile.median[t],width:3},xref:"paper",xsizemode:"scaled",yref:0===n?"y":"y".concat(n+1),ysizemode:"scaled"});var y=A(T,1.5),v=A(B,1.5)*O,E=[M[a-2],M[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];ae.push({type:"circle",x0:C.msX/f.MS_IN_DAY-y,x1:C.msX/f.MS_IN_DAY+y,y0:C.median-v,y1:C.median+v,line:{width:0},fillcolor:l.colors.ambulatoryGlucoseProfile.median[t],xref:"paper",xsizemode:"scaled",yref:0===n?"y":"y".concat(n+1),ysizemode:"scaled"})}}}));var s={domain:[r[0]/O,r[1]/O],range:r,showgrid:!1,showline:!0,linecolor:l.colors.lightGrey,mirror:!0,showticklabels:!1,zeroline:!1};ne.push(s)})),oe){var ie=A(T,4),le="top"===oe?1-A(B,79):A(B,4);i.default.each(Q,(function(e,t){var n=i.default.includes([0,2,4],t),a=2===t,r=15*t;if(re.push({type:"rect",x0:0,x1:5,y0:r,y1:r+15,line:{width:0},fillcolor:l.colors.ambulatoryGlucoseProfile.interQuartile[e.name],xanchor:1+ie,xref:"paper",xsizemode:"pixel",yanchor:0+le,yref:"paper",ysizemode:"pixel"}),a&&re.push({type:"line",x0:0,x1:5,y0:r+7.5,y1:r+7.5,line:{color:l.colors.ambulatoryGlucoseProfile.median.target,width:3},xanchor:1+ie,xref:"paper",xsizemode:"pixel",yanchor:0+le,yref:"paper",ysizemode:"pixel"}),n){var o=.5,s=t+1;t>0&&(o=a?7.5:14.5,s=a?t:t-1),K.push({type:"line",x0:0,x1:5,y0:r+o,y1:r+o,line:{color:l.colors.line.ticks,width:1},xanchor:1+A(T,5)+ie,xref:"paper",xsizemode:"pixel",yanchor:0+le,yref:"paper",ysizemode:"pixel"}),Q.push(b({align:"left",font:{color:a?l.colors.black:l.colors.text.ticks.percentile,size:l.fontSizes.ambulatoryGlucoseProfile.percentileTicks},name:j[t],text:m(z[s]),xanchor:"left",xref:"paper",xshift:5,x:1+A(T,5)+ie,y:A(B,r+o),yanchor:"middle",yref:"paper",yshift:g(B,le)}))}}))}var se=[],ue=[],de=[],ce=[],fe=[];if(a===f.BGM_DATA_KEY){var pe=A(T,2.25),me=A(B,2.25),ge=function(e){return i.default.map(i.default.filter(t,(function(t){var a=t.value;return(0,c.classifyBgValue)(n.bgBounds,a,"fiveWay")===e})),(function(t){return{type:"circle",x0:t.msPer24/f.MS_IN_DAY-pe,x1:t.msPer24/f.MS_IN_DAY+pe,y0:i.default.min([t.value,O])/O-me,y1:i.default.min([t.value,O])/O+me,fillcolor:l.colors.bgReadings[e],line:{color:l.colors.black,width:.25},xref:"paper",xsizemode:"scaled",yref:"paper",ysizemode:"scaled"}}))};de=ge("veryLow"),ue=ge("low"),se=ge("target"),ce=ge("high"),fe=ge("veryHigh")}var Ae=(0,r.default)((0,r.default)({width:y,height:v,showlegend:!1,margin:{l:E,r:E,b:C,t:C},xaxis:{gridcolor:l.colors.line.ticks,linecolor:l.colors.line.ticks,range:[0,f.MS_IN_DAY],showgrid:!0,showline:!1,showticklabels:!1,tickvals:Z,zeroline:!1},xaxis2:{range:[0,f.MS_IN_DAY],overlaying:"x",showgrid:!1,showline:!1,showticklabels:!1,ticks:"inside",tickcolor:l.colors.lightGrey,ticklen:5,tickvals:J,zeroline:!1}},i.default.reduce(ne,(function(e,t,n){return e[0===n?"yaxis":"yaxis".concat(n+1)]=t,e}),{})),{},{annotations:[].concat((0,o.default)(G),(0,o.default)(Q),(0,o.default)(ee),[b({font:{color:l.colors.text.ticks.bg,size:l.fontSizes.ambulatoryGlucoseProfile.bgUnits},text:null==n?void 0:n.bgUnits,x:0,xanchor:"right",xref:"paper",xshift:-2,y:F[5]/O,yanchor:"top",yref:"paper",yshift:-4}),b({font:{color:l.colors.black,size:l.fontSizes.ambulatoryGlucoseProfile.bgUnits},text:m(l.text.ambulatoryGlucoseProfile[a].targetRange),x:0,xanchor:"right",xref:"paper",xshift:-2,y:i.default.mean(i.default.slice(F,2,4))/O,yanchor:"middle",yref:"paper"})]),shapes:[].concat((0,o.default)(U),(0,o.default)(H),(0,o.default)(se),(0,o.default)(ue),(0,o.default)(de),(0,o.default)(ce),(0,o.default)(fe),ae,(0,o.default)(K),re)}),he={data:[].concat(te,[{visible:!1,xaxis:"x2"}],(0,o.default)(i.default.map(ne,(function(e,t){return{visible:!1,yaxis:0===t?"y":"y".concat(t+1)}})))),layout:Ae};return he}return null},t.generateDailyGlucoseProfilesFigure=function(e,t,n,a){var d=e.width-2,g=(e.height-2-(l.AGP_SECTION_HEADER_HEIGHT+l.AGP_SECTION_DESCRIPTION_HEIGHT)-l.AGP_SECTION_BORDER_RADIUS)/2,h=.5*s.DPI,y=.2*s.DPI,v=d-2*h,E=g-(y+1);if(e.sufficientData){var C,T,B=(null==n?void 0:n.bgUnits)===f.MGDL_UNITS?l.AGP_BG_CLAMP_MGDL:l.AGP_BG_CLAMP_MMOLL,S=[0,null==n||null===(C=n.bgBounds)||void 0===C?void 0:C.targetLowerBound,null==n||null===(T=n.bgBounds)||void 0===T?void 0:T.targetUpperBound,B],x=i.default.map(i.default.slice(S,1,3),(function(e){return b({align:"right",font:{color:l.colors.text.ticks.dailyProfileBg,size:l.fontSizes.dailyGlucoseProfiles.bgTicks},text:m((0,u.formatBgValue)(e,n,void 0,!0)),y:e/B,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?l.colors.line.range.dailyProfileTarget:l.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/B,y1:e/B,yref:"paper"}})),I=i.default.range(0,7*f.MS_IN_DAY+1,12*f.MS_IN_HOUR),O=i.default.map(i.default.filter(I,(function(e,t){return t%2!=0})),(function(e,n){return b({align:"center",font:{color:l.colors.black,size:"ha"===a?l.fontSizes.dailyGlucoseProfiles.timeTicks:l.fontSizes.dailyGlucoseProfiles.weekdayTicks},text:m("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})})),L=i.default.flatten(i.default.map(t,(function(e){return e[0]}))),P=i.default.map(L,(function(e,t){return b({align:"left",font:{color:l.colors.text.calendarDates,size:l.fontSizes.dailyGlucoseProfiles.calendarDates},text:m(p.default.utc(e).format("D")),y:1,yanchor:"top",yref:"paper",yshift:0,xanchor:"left",xref:"x",xshift:0,x:t*f.MS_IN_DAY})})),D=[],k=[],M=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+f.MS_IN_DAY*t,bgRange:e.type===f.BGM_DATA_KEY?(0,c.classifyBgValue)(n.bgBounds,e.value):void 0})}))}))),N=[],R=[],_=[];if(e.bgSource===f.CGM_DATA_KEY&&i.default.each(["low","target","high"],(function(e,t){var n=0===t,a=1===t,r=i.default.first(M),s=i.default.last(M),u=[S[t],S[t+1]],d=n?1:0;D.push({name:"rangeFill",type:"scatter",x:a?[0,7*f.MS_IN_DAY,7*f.MS_IN_DAY,0]:[null==r?void 0:r.msPer24].concat((0,o.default)(i.default.map(M,"msPer24")),[null==s?void 0:s.msPer24,null==r?void 0:r.msPer24]),y:a?[u[1],u[1],u[0],u[0]]:[u[d]].concat((0,o.default)(i.default.map(M,"value")),[u[d],u[d]]),yaxis:0===t?"y":"y".concat(t+1),mode:"none",fill:"tonextx",fillcolor:l.colors.dailyGlucoseProfiles[e].fill,line:{color:l.colors.dailyGlucoseProfiles[e].line,simplify:!1,width:1}}),D.push({name:"median",type:"scatter",x:i.default.map(M,"msPer24"),y:i.default.map(M,"value"),yaxis:0===t?"y":"y".concat(t+1),mode:"lines",fill:"none",line:{color:l.colors.dailyGlucoseProfiles[e].line,simplify:!1,width:1}});var c={domain:[u[0]/B,u[1]/B],range:u,showgrid:!1,showline:!0,linecolor:l.colors.lightGrey,mirror:!0,showticklabels:!1,zeroline:!1};k.push(c)})),e.bgSource===f.BGM_DATA_KEY){var j=A(v,2),F=A(E,2),G=function(e){return i.default.map(i.default.filter(M,{bgRange:e}),(function(t){return{type:"circle",x0:t.msPer24/(7*f.MS_IN_DAY)-j,x1:t.msPer24/(7*f.MS_IN_DAY)+j,y0:i.default.min([t.value,B])/B-F,y1:i.default.min([t.value,B])/B+F,fillcolor:l.colors.bgReadings[e],line:{color:l.colors.black,width:.25},xref:"paper",xsizemode:"scaled",yref:"paper",ysizemode:"scaled"}}))};N=G("low"),R=G("target"),_=G("high"),D.push({name:"rangeFill",type:"scatter",x:[0,7*f.MS_IN_DAY,7*f.MS_IN_DAY,0],y:[S[2],S[2],S[1],S[1]],yaxis:"y",mode:"none",fill:"tonextx",fillcolor:l.colors.dailyGlucoseProfiles.target.fill,line:{color:l.colors.dailyGlucoseProfiles.target.line,simplify:!1,width:1}});var H={domain:[0,1],range:[0,B],showgrid:!1,showline:!0,linecolor:l.colors.lightGrey,mirror:!0,showticklabels:!1,zeroline:!1};k.push(H)}var U=(0,r.default)((0,r.default)({width:d,height:g,showlegend:!1,margin:{l:h,r:h,b:1,t:y},xaxis:{gridcolor:l.colors.line.ticks,linecolor:l.colors.line.ticks,range:[0,7*f.MS_IN_DAY],showgrid:!0,showline:!1,showticklabels:!1,tickvals:I,zeroline:!1}},i.default.reduce(k,(function(e,t,n){return e[0===n?"yaxis":"yaxis".concat(n+1)]=t,e}),{})),{},{annotations:[].concat((0,o.default)(x),(0,o.default)(O),(0,o.default)(P),[b({font:{color:l.colors.text.ticks.bg,size:l.fontSizes.dailyGlucoseProfiles.bgUnits},text:m(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))/B,yanchor:"middle",yref:"paper",yshift:0})]),shapes:[].concat((0,o.default)(w),(0,o.default)(R),(0,o.default)(N),(0,o.default)(_))}),Y={data:[].concat(D,(0,o.default)(i.default.map(k,(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.isRequired,targetUpperBound:r.default.number.isRequired,targetLowerBound:r.default.number.isRequired,veryLowThreshold:r.default.number.isRequired}),bgUnits:r.default.oneOf([o.MGDL_UNITS,o.MMOLL_UNITS])})},64892:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getAnnotationCodes=d,t.getAnnotationMessages=function(e){var t=u(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(s,t)&&n.push(r.default.assign({},e,{message:{value:s[t]}}))})),n},t.getAnnotations=u,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 l={"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")},s={"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 u(e){return r.default.get(e,"annotations",[])}function d(e){return r.default.map(u(e),"code")}function c(e){var t=u(e),n=d(e),a=[],o=r.default.intersection(r.default.keys(l),n);return o.length>0&&a.push(r.default.assign({},r.default.find(t,{code:o[0]}),{message:{label:i("Confirm BG"),value:l[o[0]]}})),a}function f(e){var t=u(e),n=[];return r.default.each(t,(function(e){if("bg/out-of-range"===r.default.get(e,"code","")){var t=e.value;n.push(r.default.assign({},e,{message:{value:i("* This BG value was {{value}}er than your device could record. Your actual BG value is {{value}}er than it appears here.",{value:t})}}))}})),n}},11673:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.countDistinctSuspends=t.countAutomatedBasalEvents=void 0,t.getBasalGroupDurationsFromEndpoints=function(e,t){var n=new Date(t[0]),a=new Date(t[1]),o={automated:0,manual:0};return r.default.each(e,(function(t,i){var s=t.duration;0===i?s=r.default.min([new Date(t.normalEnd)-n,t.duration]):i===e.length-1&&(s=r.default.min([a-new Date(t.normalTime),t.duration])),o[l(t)]+=s})),o},t.getBasalPathGroupType=l,t.getBasalPathGroups=s,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=u,t.getGroupDurations=function(e,t,n){var a=u(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),s=new Date(a.end.datetime),d=e[a.start.index],c=r.default.min([new Date(d.normalEnd)-i,d.duration]);o[l(d)]=c;for(var f=a.start.index+1;f<a.end.index;)o[l(d=e[f])]+=d.duration,f++;o[l(d=e[a.end.index])]+=r.default.min([s-new Date(d.normalTime),d.duration])}return o},t.getSegmentDose=d,t.getTotalBasalFromEndpoints=function(e,t){var n=new Date(t[0]),a=new Date(t[1]),i=0;return r.default.each(e,(function(e){var t=new Date(e.normalTime),o=new Date(e.normalEnd),l=n.valueOf()<=t.valueOf()&&t.valueOf()<a.valueOf(),s=n.valueOf()<o.valueOf()&&o.valueOf()<=a.valueOf();if(l||s){var u=0;l&&s?u=e.duration:s?u=r.default.min([o-n,e.duration]):l&&(u=r.default.min([a-t,e.duration])),i+=d(u,e.rate)}})),(0,o.formatInsulin)(i)};var r=a(n(27825)),o=n(99559),i=n(74501);function l(){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 s(e){var t,n=[];return r.default.each(e,(function(e){var a=l(e);a!==t&&(t=a,n.push([])),r.default.last(n).push(e)})),n}function u(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=new Date(t),i=new Date(n),l=r.default.findIndex(e,(function(e){return(a||new Date(e.normalTime).valueOf()<=o)&&o<=new Date(e.normalEnd).valueOf()})),s=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:l},end:{datetime:i.toISOString(),index:s}}}function d(e,t){var n=e/i.ONE_HR;return parseFloat((0,o.precisionRound)(n*t,3))}t.countAutomatedBasalEvents=function(e){var t=r.default.cloneDeep(e),n=s(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){var i=t.bgPrefs,l=t.data,s=l.aggregationsByDate,u=void 0===s?{}:s,d=l.current.endpoints,c=void 0===d?{}:d,f=t.metaData,g=t.query,A=t.timePrefs,h=new m.TextUtil(e,c.range,A),b=h.buildDocumentHeader("Basics");b+=h.buildDocumentDates(),o.default.get(g,"excludeDaysWithoutBolus")&&(b+=h.buildTextLine(p("Days with no boluses have been excluded from bolus calculations"))),b+=m.statsText(n,h,i);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])),l=e.average?Math.round(o.default.get(t,[].concat((0,r.default)(e.path.split(".")),["avgPerDay"]))):o.default.get(i,"count",i||0),s={label:e.label,value:l.toString()};if(e.primary)s.label=n,a.unshift(s);else{if(0===l&&e.hideEmpty)return;a.push(s)}})),{rows:a,columns:[{key:"label",label:"Label"},{key:"value",label:"Value"}]}};if(!a.fingersticks.disabled){var T=C(a.fingersticks.dimensions,u.fingersticks,a.fingersticks.summaryTitle);b+=h.buildTextTable("",T.rows,T.columns,{showHeader:!1})}if(!a.boluses.disabled){var B=C(a.boluses.dimensions,u.boluses,a.boluses.summaryTitle);b+=h.buildTextTable("",B.rows,B.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==f?void 0:f.devices,(function(e){var t,n=e.id;return null==f||null===(t=f.matchedDevices)||void 0===t?void 0:t[n]}));if(w.length){var I=["\n".concat(p("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,u.generateBgRangeLabels)(e);a.veryLow=o.default.upperFirst(a.veryLow),a.veryHigh=o.default.upperFirst(a.veryHigh);var r=(0,s.getPumpVocabulary)(t),i={};return o.default.each(["basals","boluses","fingersticks","siteChanges"],(function(e){var t,o,l=e,u="",c=3,f=(0,s.isTwiistLoop)(n.settings);switch(e){case"basals":u="Basals",o=p("Total basal events"),t=[{path:"basal.summary",key:"total",label:p("Basal Events"),primary:!0},{path:"basal.summary.subtotals",key:"temp",label:p("Temp Basals"),hideEmpty:(0,s.isLoop)(n.settings)},{path:"basal.summary.subtotals",key:"suspend",label:p("Suspends")},{path:"basal.summary.subtotals",key:"automatedStop",label:p("{{automatedLabel}} {{automatedModeExited}}",{automatedLabel:r[d.AUTOMATED_DELIVERY],automatedModeExited:r[d.AUTOMATED_MODE_EXITED]}),hideEmpty:!0},{path:"automatedSuspend.summary.subtotals",key:"automatedSuspend",label:r[d.AUTOMATED_SUSPEND],hideEmpty:!0}],c=4;break;case"boluses":var m;u=p("Bolusing"),o=p("Avg boluses / day"),t=[{path:"summary",key:"total",label:p("Avg per day"),average:!0,primary:!0},{path:"summary.subtotals",key:"wizard",label:p("Calculator"),percentage:!0,selectorIndex:0,hideEmpty:f},{path:"summary.subtotals",key:"correction",label:p("Correction"),percentage:!0,selectorIndex:1,hideEmpty:f},{path:"summary.subtotals",key:"extended",label:p("Extended"),percentage:!0,selectorIndex:4},{path:"summary.subtotals",key:"interrupted",label:p("Interrupted"),percentage:!0,selectorIndex:5},{path:"summary.subtotals",key:"override",label:p("Override"),percentage:!0,selectorIndex:2,hideEmpty:f},{path:"summary.subtotals",key:"underride",label:p("Underride"),percentage:!0,selectorIndex:6,hideEmpty:f}],(0,s.isLoop)(n.settings)&&(t[1].label=p("Meal"),t.splice(3,1),t[2].selectorIndex=6,t[5].selectorIndex=7),n.isAutomatedBolusDevice&&((m=t).push.apply(m,[{path:"summary.subtotals",key:"manual",label:p("Manual"),percentage:!0,selectorIndex:3},{path:"summary.subtotals",key:"automated",label:p("Automated"),percentage:!1,selectorIndex:7}]),c=4);break;case"fingersticks":u=p("BG readings"),o=p("Avg BG readings / day"),t=[{path:"smbg.summary",key:"total",label:p("Avg per day"),average:!0,primary:!0},{path:"smbg.summary.subtotals",key:"meter",label:p("Meter"),percentage:!0},{path:"smbg.summary.subtotals",key:"manual",label:p("Manual"),percentage:!0},{path:"calibration.summary.subtotals",key:"calibration",label:p("Calibrations"),hideEmpty:!0},{path:"smbg.summary.subtotals",key:"veryLow",label:a.veryLow,percentage:!0},{path:"smbg.summary.subtotals",key:"veryHigh",label:a.veryHigh,percentage:!0}];break;case"siteChanges":u=p("Site Changes");break;default:l=!1}i[e]={dimensions:t,perRow:c,summaryTitle:o,title:u,type:l}})),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 l=i.default.utc(o).tz(t).format("YYYY-MM-DD"),s={date:l};s.type=l<a||l>r?"outOfRange":"inRange",n.push(s),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=A,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 l=t.type,s=!1;if("boluses"===l)s=!i(r[l]);else if("basals"===l){var u,d,c=i(null===(u=r[l])||void 0===u?void 0:u.basal),f=i(null===(d=r[l])||void 0===d?void 0:d.automatedSuspend);s=!c&&!f}else if("fingersticks"===l){var m,h,b=i(null===(m=r[l])||void 0===m?void 0:m.smbg),y=i(null===(h=r[l])||void 0===h?void 0:h.calibration);s=!b&&!y}else"siteChanges"===l&&(e[o].source=g(n,a),e[o].manufacturer=a,(s=!i(r[l]))||(e[o].subTitle=A(e[o].source,a)));s&&(e[o].emptyText=function(t,n){var a;switch(n){case"basals":case"boluses":a=e.boluses.disabled&&e.basals.disabled?p("This section requires data from an insulin pump, so there's nothing to display."):p("There are no {{ type }} events to display for this date range.",{type:p("basals"===n?"basal":"bolus")});break;case"siteChanges":a=p("This section requires data from an insulin pump, so there's nothing to display.");break;case"fingersticks":a=p("This section requires data from a blood-glucose meter, so there's nothing to display.");break;default:a=p("Why is this grey? There is not enough data to show this statistic.")}return a}(0,o)),e[o].disabled=s})),e},t.utils=void 0;var r=a(n(84374)),o=a(n(27825)),i=a(n(74716)),l=a(n(56427)),s=n(11270),u=n(84240),d=n(66871),c=a(n(40549)),f=n(80358),p=l.default.t.bind(l.default),m=t.utils={reshapeBgClassesToBgBounds:u.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=d.SITE_CHANGE_TYPE_UNDECLARED;if(o.default.includes(o.default.map([d.ANIMAS,d.MEDTRONIC,d.TANDEM],o.default.lowerCase),e)){n=o.default.get(t,"siteChangeSource");var a=[d.SITE_CHANGE_CANNULA,d.SITE_CHANGE_TUBING];o.default.includes(a,n)||(n=d.SITE_CHANGE_CANNULA)}else if(o.default.includes(o.default.map([d.INSULET,d.MICROTECH],o.default.lowerCase),e))n=d.SITE_CHANGE_RESERVOIR;else if(o.default.includes(o.default.map([d.TWIIST_LOOP],o.default.lowerCase),e)){n=o.default.get(t,"siteChangeSource");var r=[d.SITE_CHANGE_CANNULA,d.SITE_CHANGE_RESERVOIR];o.default.includes(r,n)||(n=d.SITE_CHANGE_RESERVOIR)}else o.default.includes(o.default.map([d.DIY_LOOP,d.TIDEPOOL_LOOP],o.default.lowerCase),e)&&(n=d.SITE_CHANGE_TUBING);return n}function A(e,t){var n,a=e!==d.SITE_CHANGE_TYPE_UNDECLARED?d.pumpVocabulary.default[d.SITE_CHANGE_RESERVOIR]:null;return o.default.get(d.pumpVocabulary,[(0,s.getUppercasedManufacturer)(t),e],(null===d.pumpVocabulary||void 0===d.pumpVocabulary||null===(n=d.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){var a,i=t.bgPrefs,l=t.data.current.endpoints,s=void 0===l?{}:l,u=t.metaData,m=t.timePrefs;o.default.defaults(i,{bgBounds:p.reshapeBgClassesToBgBounds(i)});var g=new p.TextUtil(e,s.range,m),A=g.buildDocumentHeader("BG Log");A+=g.buildDocumentDates(),A+=p.statsText(n,g,i),A+=g.buildTextLine();var h=o.default.filter((null==t||null===(a=t.data)||void 0===a?void 0:a.combined)||[],(function(e){return"smbg"===e.type&&e.normalTime>=s.range[0]&&e.normalTime<s.range[1]}));A+=o.default.map(h.reverse(),(function(e){return[(0,c.formatLocalizedFromUTC)(e.normalTime,m,"ddd, MMM D, YYYY h:mm A"),(0,d.formatBgValue)(e.value,i),"(".concat(o.default.capitalize(e.subType||"meter"),")")].join("\t")})).join("\n");var b=o.default.filter(null==u?void 0:u.devices,(function(e){var t,n=e.id;return null==u||null===(t=u.matchedDevices)||void 0===t?void 0:t[n]}));if(b.length){var y=["\n\n".concat(f("Devices Uploaded"))].concat((0,r.default)(o.default.map(b,(function(e){var t=e.id;return e.label||t}))));o.default.each(y,(function(e){A+=g.buildTextLine(e)}))}return A},t.utils=void 0;var r=a(n(84374)),o=a(n(27825)),i=a(n(56427)),l=a(n(40549)),s=n(80358),u=n(84240),d=n(99559),c=n(74501),f=i.default.t.bind(i.default),p=t.utils={reshapeBgClassesToBgBounds:u.reshapeBgClassesToBgBounds,statsText:s.statsText,TextUtil:l.default}},84240:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.calculateCbgStatsForBin=m,t.calculateSmbgStatsForBin=g,t.cgmSampleFrequency=function(e){var t=i.default.get(e,"deviceId","");return 0===t.indexOf("AbbottFreeStyleLibre3")?5*s.MS_IN_MIN:0===t.indexOf("AbbottFreeStyleLibre")?15*s.MS_IN_MIN:0===t.indexOf("tandemCIQ")&&i.default.get(e,"payload.fsl2")?s.MS_IN_MIN:5*s.MS_IN_MIN},t.classifyBgValue=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"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(t)||!i.default.gt(t,0))throw new Error("You must provide a positive, numerical blood glucose value to categorize!");var a=e.veryLowThreshold,r=e.targetLowerBound,o=e.targetUpperBound,l=e.veryHighThreshold;return"fiveWay"===n?t<a?"veryLow":t>=a&&t<r?"low":t>o&&t<=l?"high":t>l?"veryHigh":"target":t<r?"low":t>o?"high":"target"},t.classifyCvValue=function(e){return e<=36?"target":"high"},t.convertToMGDL=function(e){return e*s.MGDL_PER_MMOLL},t.convertToMmolL=function(e){return e/s.MGDL_PER_MMOLL},t.determineRangeBoundaries=c,t.findBinForTimeOfDay=f,t.findOutOfRangeAnnotations=p,t.generateBgRangeLabels=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.bgBounds,a=e.bgUnits,r=i.default.mapValues(n,(function(t){return(0,d.formatBgValue)(t,e)}));return t.condensed?{veryLow:"<".concat(r.veryLowThreshold),low:"".concat(r.veryLowThreshold,"-").concat(r.targetLowerBound),target:"".concat(r.targetLowerBound,"-").concat(r.targetUpperBound),high:"".concat(r.targetUpperBound,"-").concat(r.veryHighThreshold),veryHigh:">".concat(r.veryHighThreshold),extremeHigh:">".concat(r.extremeHighThreshold)}:t.segmented?{veryLow:{prefix:"below",suffix:a,value:"".concat(r.veryLowThreshold)},low:{prefix:"between",suffix:a,value:"".concat(r.veryLowThreshold,"-").concat(r.targetLowerBound)},target:{prefix:"between",suffix:a,value:"".concat(r.targetLowerBound,"-").concat(r.targetUpperBound)},high:{prefix:"between",suffix:a,value:"".concat(r.targetUpperBound,"-").concat(r.veryHighThreshold)},veryHigh:{prefix:"above",suffix:a,value:"".concat(r.veryHighThreshold)},extremeHigh:{prefix:"above",suffix:a,value:"".concat(r.extremeHighThreshold)}}:{veryLow:"below ".concat(r.veryLowThreshold," ").concat(a),low:"between ".concat(r.veryLowThreshold," - ").concat(r.targetLowerBound," ").concat(a),target:"between ".concat(r.targetLowerBound," - ").concat(r.targetUpperBound," ").concat(a),high:"between ".concat(r.targetUpperBound," - ").concat(r.veryHighThreshold," ").concat(a),veryHigh:"above ".concat(r.veryHighThreshold," ").concat(a),extremeHigh:"above ".concat(r.extremeHighThreshold," ").concat(a)}},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!==s.DEFAULT_BG_BOUNDS[n].targetUpperBound||t.targetLowerBound!==s.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=p(n),s=i.default.map((0,l.range)(t/2,u.TWENTY_FOUR_HRS,t),(function(e){return String(e)})),d="smbg"===e?g:m,c=function(e){return e.value},A=[],h=0;h<s.length;++h){var b=i.default.map(i.default.get(r,s[h],[]),c);A.push(d(s[h],t,b,o,a))}return A},t.reshapeBgClassesToBgBounds=function(e){var t=e.bgClasses,n=e.bgUnits;return{veryHighThreshold:i.default.get(t,"high.boundary",s.DEFAULT_BG_BOUNDS[n].veryHighThreshold),targetUpperBound:i.default.get(t,"target.boundary",s.DEFAULT_BG_BOUNDS[n].targetUpperBound),targetLowerBound:i.default.get(t,"low.boundary",s.DEFAULT_BG_BOUNDS[n].targetLowerBound),veryLowThreshold:i.default.get(t,"very-low.boundary",s.DEFAULT_BG_BOUNDS[n].veryLowThreshold),extremeHighThreshold:s.DEFAULT_BG_BOUNDS[n].extremeHighThreshold,clampThreshold:s.DEFAULT_BG_BOUNDS[n].clampThreshold}},t.weightedCGMCount=function(e){return i.default.reduce(e,(function(e,t){var n=1,a=i.default.get(t,"deviceId","");return"cbg"===t.type&&0===a.indexOf("AbbottFreeStyleLibre")&&(n=3),e+n}),0)};var r=a(n(21580)),o=a(n(271)),i=a(n(27825)),l=n(17897),s=n(66871),u=n(74501),d=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,l.max)(t,(function(e){return e.threshold}))),i.default.isEmpty(n)||(a.high=(0,l.min)(n,(function(e){return e.threshold}))),a}function f(e,t){if(t<0||t>=u.TWENTY_FOUR_HRS)throw new Error("`msPer24` < 0 or >= 86400000 is invalid!");return Math.floor(t/e)*e+e/2}function p(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 m(e,t,n,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],s=(0,r.default)(o,2),u=s[0],d=void 0===u?.1:u,f=s[1],p=void 0===f?.9:f,m=i.default.sortBy(n,(function(e){return e})),g=parseInt(e,10),A={id:e,min:(0,l.min)(m),lowerQuantile:(0,l.quantile)(m,d),firstQuartile:(0,l.quantile)(m,.25),median:(0,l.median)(m),thirdQuartile:(0,l.quantile)(m,.75),upperQuantile:(0,l.quantile)(m,p),max:(0,l.max)(m),msX:g,msFrom:g-t/2,msTo:g+t/2};if(!i.default.isEmpty(a)){var h=c(a);A.outOfRangeThresholds=h}return A}function g(e,t,n,a){var r=i.default.sortBy(n,(function(e){return e})),o=parseInt(e,10),s={id:e,min:(0,l.min)(r),mean:(0,l.mean)(r),max:(0,l.max)(r),msX:o,firstQuartile:n.length>=5?(0,l.quantile)(r,.25):void 0,median:n.length>=3?(0,l.median)(r):void 0,thirdQuartile:n.length>=5?(0,l.quantile)(r,.75):void 0,msFrom:o-t/2,msTo:o+t/2};if(!i.default.isEmpty(a)){var u=c(a);s.outOfRangeThresholds=u}return s}},32935:(e,t,n)=>{"use strict";var a=n(44906).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getAnnotations=function(e){var t=l(e);return r.default.get(t,"annotations",[])},t.getBolusFromInsulinEvent=l,t.getCarbs=function(e){return"wizard"===e.type||e.wizard||e.dosingDecision?r.default.get(s(e),"carbInput",null):NaN},t.getDelivered=c,t.getDuration=function(e){var t=e;return"wizard"===r.default.get(e,"type")&&(t=l(e)),r.default.inRange(t.duration,1/0)?t.duration:NaN},t.getExtended=function(e){var t=l(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=l(e)),!t.normal||!t.extended&&!t.expectedExtended)return NaN;var n=t.expectedExtended||t.extended,a=u(t);return(0,o.formatPercentage)(n/a)},t.getMaxDuration=function(e){var t=e;return"wizard"===r.default.get(e,"type")&&(t=l(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=l(e)).normal&&!t.extended)return NaN;var n=u(t),a=d(e)||0;return a>n?a:n},t.getNormalPercentage=function(e){var t=e;if("wizard"===r.default.get(e,"type")&&(t=l(e)),!t.normal&&!t.expectedNormal||!t.extended&&!t.expectedExtended)return NaN;var n=t.expectedNormal||t.normal,a=u(t);return(0,o.formatPercentage)(n/a)},t.getProgrammed=u,t.getRecommended=d,t.getTotalBolus=function(e){return r.default.reduce(e,(function(e,t){return e+c(t)}),0)},t.getWizardFromInsulinEvent=s,t.hasExtended=function(e){var t=l(e);return Boolean(t.extended||t.expectedExtended)||!1},t.isAutomated=function(e){var t=l(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.isDifferentBeyondPrecision=f,t.isInterruptedBolus=function(e){var t=l(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)?t.extended?n||a:n:a},t.isOverride=function(e){var t=d(e.wizard||e.dosingDecision||e),n=u(e);return f(t,n,2)&&n>t},t.isUnderride=function(e){var t=d(e.wizard||e.dosingDecision||e),n=u(e);return f(t,n,2)&&n<t};var r=a(n(27825)),o=n(99559);function i(e){return parseFloat((0,o.formatDecimalNumber)(e,3))}function l(e){var t=e;return e.bolus&&(t=e.bolus),t}function s(e){var t=e;return e.wizard&&(t=e.wizard),t}function u(e){var t=e;if("wizard"===r.default.get(e,"type")&&(t=l(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 d(e){var t=e;if("bolus"===r.default.get(e,"type")&&(t=t.dosingDecision||s(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=l(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}function f(e,t,n){return r.default.round(e,n)!==r.default.round(t,n)}},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.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.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_DATA_TYPES=t.BG_COLORS=t.BGM_DATA_KEY=t.AUTOMATED_SUSPEND=t.AUTOMATED_MODE_EXITED=t.AUTOMATED_DELIVERY=t.AUTOMATED_BASAL_DEVICE_MODELS=t.ANIMAS=void 0;var r,o,i,l,s,u,d,c,f,p,m,g,A=a(n(271)),h=a(n(27825)),b=a(n(56427)),y=b.default.t.bind(b.default);void 0===h.default.get(b.default,"options.returnEmptyString")&&b.default.init({returnEmptyString:!1,nsSeparator:"|"}),t.BG_HIGH=y("High"),t.BG_LOW=y("Low"),t.springConfig={stiffness:180,damping:40,precision:.1},t.MGDL_CLAMP_TOP=400,t.MMOLL_CLAMP_TOP=22.5;var v=t.MGDL_UNITS=y("mg/dL"),E=t.MMOLL_UNITS=y("mmol/L"),C=(t.MGDL_PER_MMOLL=18.01559,t.DEFAULT_BG_BOUNDS=(r={},(0,A.default)(r,v,{veryLowThreshold:54,targetLowerBound:70,targetUpperBound:180,veryHighThreshold:250,extremeHighThreshold:350,clampThreshold:600}),(0,A.default)(r,E,{veryLowThreshold:3,targetLowerBound:3.9,targetUpperBound:10,veryHighThreshold:13.9,extremeHighThreshold:19.4,clampThreshold:33.3}),r),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),T=(t.MS_IN_MIN=C/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"),B=t.SITE_CHANGE_TUBING="tubingPrime",S=t.SITE_CHANGE_CANNULA="cannulaPrime",x=t.AUTOMATED_DELIVERY="automatedDelivery",w=t.AUTOMATED_SUSPEND="automatedSuspend",I=t.AUTOMATED_MODE_EXITED="automatedModeExited",O=t.SCHEDULED_DELIVERY="scheduledDelivery",L=t.SETTINGS_OVERRIDE="settingsOverride",P=t.SLEEP="sleep",D=t.PHYSICAL_ACTIVITY="physicalActivity",k=t.PREPRANDIAL="preprandial",M=t.MAX_BOLUS="maxBolus",N=t.MAX_BASAL="maxBasal",R=t.INSULIN_DURATION="insulinDuration",_=(t.SITE_CHANGE_TYPE_UNDECLARED="undeclared",t.INSULET="Insulet"),j=t.TANDEM="Tandem",F=t.ANIMAS="Animas",G=t.TIDEPOOL_LOOP="Tidepool Loop",H=t.DIY_LOOP="DIY Loop",U=t.TWIIST_LOOP="twiist",Y=t.MEDTRONIC="Medtronic",z=t.MICROTECH="Microtech",W=(t.pumpVocabulary=(m={},(0,A.default)(m,F,(o={},(0,A.default)(o,T,y("Go Rewind")),(0,A.default)(o,B,y("Go Prime")),(0,A.default)(o,S,y("Cannula Fill")),o)),(0,A.default)(m,_,(i={},(0,A.default)(i,T,y("Pod Change")),(0,A.default)(i,B,y("Pod Activate")),(0,A.default)(i,S,y("Prime")),(0,A.default)(i,M,y("Maximum Bolus")),(0,A.default)(i,N,y("Max Basal Rate")),(0,A.default)(i,R,y("Duration of Insulin Action")),i)),(0,A.default)(m,Y,(l={},(0,A.default)(l,T,y("Rewind")),(0,A.default)(l,B,y("Prime")),(0,A.default)(l,S,y("Cannula Prime")),(0,A.default)(l,x,y("Auto Mode")),(0,A.default)(l,O,y("Manual")),(0,A.default)(l,M,y("Max Bolus")),(0,A.default)(l,N,y("Max Basal")),(0,A.default)(l,R,y("Active Insulin Time")),l)),(0,A.default)(m,z,(s={},(0,A.default)(s,T,y("Rewind")),(0,A.default)(s,B,y("Reservoir Prime")),(0,A.default)(s,S,y("Cannula Prime")),s)),(0,A.default)(m,j,(u={},(0,A.default)(u,T,y("Cartridge Change")),(0,A.default)(u,B,y("Tubing Fill")),(0,A.default)(u,S,y("Cannula Fill")),(0,A.default)(u,x,y("Automation")),(0,A.default)(u,O,y("Manual")),(0,A.default)(u,L,y("Activity")),(0,A.default)(u,P,{label:y("Sleep"),marker:y("Z")}),(0,A.default)(u,D,{label:y("Exercise"),marker:y("E")}),(0,A.default)(u,M,y("Max Bolus")),(0,A.default)(u,R,y("Insulin Duration")),u)),(0,A.default)(m,G,(d={},(0,A.default)(d,x,y("Automation")),(0,A.default)(d,I,y("Off")),(0,A.default)(d,O,y("Manual")),(0,A.default)(d,L,y("Preset")),(0,A.default)(d,D,{label:y("Workout"),marker:y("W")}),(0,A.default)(d,M,y("Maximum Bolus")),(0,A.default)(d,N,y("Maximum Basal Rate")),d)),(0,A.default)(m,U,(c={},(0,A.default)(c,T,y("Cassette Change")),(0,A.default)(c,x,y("Automation")),(0,A.default)(c,I,y("Off")),(0,A.default)(c,O,y("Manual")),(0,A.default)(c,L,y("Preset")),(0,A.default)(c,D,{label:y("Workout"),marker:y("W")}),(0,A.default)(c,M,y("Maximum Bolus")),(0,A.default)(c,N,y("Maximum Basal Rate")),c)),(0,A.default)(m,H,(f={},(0,A.default)(f,x,y("Automation")),(0,A.default)(f,I,y("Off")),(0,A.default)(f,O,y("Manual")),(0,A.default)(f,L,y("Preset")),(0,A.default)(f,D,{label:y("Workout"),marker:y("W")}),(0,A.default)(f,M,y("Maximum Bolus")),(0,A.default)(f,N,y("Maximum Basal Rate")),f)),(0,A.default)(m,"default",(p={},(0,A.default)(p,T,y("Cartridge Change")),(0,A.default)(p,B,y("Tubing Fill")),(0,A.default)(p,S,y("Cannula Fill")),(0,A.default)(p,x,y("Automated")),(0,A.default)(p,w,y("Automated Suspend")),(0,A.default)(p,I,y("Exited")),(0,A.default)(p,O,y("Manual")),(0,A.default)(p,L,y("Settings Override")),(0,A.default)(p,P,{label:y("Sleep"),marker:y("Z")}),(0,A.default)(p,D,{label:y("Exercise"),marker:y("E")}),(0,A.default)(p,k,{label:y("Premeal"),marker:y("P")}),(0,A.default)(p,M,y("Max Bolus")),(0,A.default)(p,N,y("Max Basal")),(0,A.default)(p,R,y("Insulin Duration")),p)),m),t.settingsOverrides=(g={},(0,A.default)(g,j,[P,D]),(0,A.default)(g,G,[D,k]),(0,A.default)(g,U,[D,k]),(0,A.default)(g,H,[k]),(0,A.default)(g,"default",[P,D,k]),g),t.AUTOMATED_BASAL_DEVICE_MODELS=(0,A.default)({},Y,["1580","1581","1582","1780","1781","1782"]),t.BG_DATA_TYPES=["cbg","smbg"]);t.DIABETES_DATA_TYPES=[].concat(W,["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>d||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),l=r.isSame(o,"year"),s=r.isSame(o,"day"),u=l?r.format("".concat(a," D")):r.format("".concat(a," D, YYYY")),d=o.format("".concat(a," D, YYYY"));return s?d:"".concat(u," - ").concat(d)},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(),l=n.seconds(),s=t.ascii?" 1/4":"¼",u=t.ascii?" 1/3":"⅓",d=t.ascii?" 1/2":"½",c=t.ascii?" 2/3":"⅔",f=t.ascii?" 3/4":"¾";if(t.condensed){var p={days:"",hours:"",minutes:"",seconds:""};if(a+r+o===0)l>0?p.seconds="".concat(l,"s"):p.minutes="0m";else{var m=l>=30?o+1:o,g=r,A=a;m>=60&&(m-=60,g++),g>=24&&(g-=24,A++),p.days=0!==A?"".concat(A,"d "):"",p.hours=0!==g?"".concat(g,"h "):"",p.minutes=0!==m?"".concat(m,"m "):""}return"".concat(p.days).concat(p.hours).concat(p.minutes).concat(p.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(s," ").concat(h);case 20:return"".concat(r).concat(u," ").concat(h);case 30:return"".concat(r).concat(d," ").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=p,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)),l=a(n(63452)),s=a(n(56427)),u=s.default.t.bind(s.default),d=(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),l.default.checkTimezoneName(a),a}catch(e){return"UTC"}}function p(e,t){if(e instanceof Date)throw new Error("`utc` must be a ISO-formatted String timestamp or integer hammertime!");var n=f(t),a=i.default.utc(e).tz(n).startOf("day"),r="string"==typeof e?Date.parse(e):e;return a.valueOf()===r?a.toDate():a.add(1,"day").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(p((new Date).toISOString(),t)).tz(a),o=i.default.utc(p(e,t)).tz(a),l=r.diff(o,"days",!0),s=i.default.utc(e).tz(a).format(n);return l<2?s=u(l>=1?"Yesterday":"Today"):l<=30&&(s=u("{{days}} days ago",{days:Math.ceil(l)})),{daysAgo:l,text:s}}},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,c(e),{}),t.default)},t.getSettingsOverrides=function(e){return r.default.get(o.settingsOverrides,c(e),o.settingsOverrides.default)},t.getUppercasedManufacturer=c,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&&0===r.default.get(t,"deviceId","").indexOf("tandemCIQ")||d(t)},t.isAutomatedBolusDevice=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"tandem"===e&&0===r.default.get(t,"deviceId","").indexOf("tandemCIQ")||l(t)},t.isDIYLoop=l,t.isLoop=d,t.isSettingsOverrideDevice=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"tandem"===e&&0===r.default.get(t,"deviceId","").indexOf("tandemCIQ")||d(t)},t.isTidepoolLoop=s,t.isTwiistLoop=u;var r=a(n(27825)),o=n(66871),i=n(89540);function l(){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 s(){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 u(){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 d(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(null===(e=t.tags)||void 0===e?void 0:e.loop)||l(t)||s(t)||u(t)}function c(){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=s,t.formatBgValue=function(e,t,n,a){var u=r.default.get(t,"bgUnits","");if(!r.default.isEmpty(n)){var d=n.low,c=n.high;if(u===l.MMOLL_UNITS&&(d&&(d=(0,i.convertToMmolL)(d)),c&&(c=(0,i.convertToMmolL)(c))),d&&e<d)return l.BG_LOW;if(c&&e>c)return l.BG_HIGH}return u===l.MMOLL_UNITS?a?s(e,1).toFixed(1):(0,o.format)(".1f")(e):a?s(e).toString():(0,o.format)("d")(e)},t.formatDecimalNumber=u,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 u(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(s(100*e,t),"%"):(0,o.format)(".".concat(t,"%"))(e)},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),l=n(66871);function s(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 u(e,t){return null==t?(0,o.format)("d")(e):(0,o.format)(".".concat(t,"f"))(e)}},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)),l=a(n(55812)),s=n(80358),u=n(74501),d=n(66871),c=n(87307);function f(){return(f=(0,o.default)((0,r.default)().mark((function e(t){var n,a,o,f,p,m,g,A,h,b,y,v,E,C,T,B,S,x,w,I,O,L,P;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",{}),p=(0,c.generateChartSections)(t,o),m={},g=i.default.get(t,"data.current.stats",{}),i.default.forOwn(g,(function(e,n){var a=(0,s.getStatDefinition)(e,n,{bgSource:o,days:f.activeDays||f.days,bgPrefs:t.bgPrefs});m[n]=a})),A=o===d.CGM_DATA_KEY?m.timeInRange:m.readingsInRange,null!==(n=p.percentInRanges)&&void 0!==n&&n.sufficientData&&(a.percentInRanges=(0,c.generatePercentInRangesFigure)(p.percentInRanges,A,t.bgPrefs)),(p.ambulatoryGlucoseProfile.sufficientData||o===d.BGM_DATA_KEY)&&(v=(null==t||null===(h=t.data)||void 0===h||null===(b=h.current)||void 0===b||null===(y=b.data)||void 0===y?void 0:y[o])||[],a.ambulatoryGlucoseProfile=(0,c.generateAmbulatoryGlucoseProfileFigure)(p.ambulatoryGlucoseProfile,v,t.bgPrefs,o)),p.dailyGlucoseProfiles.sufficientData&&(x=i.default.mapValues(null==t||null===(E=t.data)||void 0===E||null===(C=E.current)||void 0===C||null===(T=C.aggregationsByDate)||void 0===T?void 0:T.dataByDate,o),w=(null===(B=m.bgExtents)||void 0===B||null===(S=B.data)||void 0===S?void 0:S.raw)||{},I=w.newestDatum,O=i.default.chunk(i.default.map(i.default.range(14),(function(e,n){return l.default.utc(null==I?void 0:I.time).tz((0,u.getTimezoneFromTimePrefs)(t.timePrefs)).subtract(n,"days").format("YYYY-MM-DD")})).reverse(),7),L=i.default.map(O[0],(function(e){return[[e],x[e]]})),P=i.default.map(O[1],(function(e){return[[e],x[e]]})),a.dailyGlucoseProfiles=[(0,c.generateDailyGlucoseProfilesFigure)(p.dailyGlucoseProfiles,L,t.bgPrefs,"dddd"),(0,c.generateDailyGlucoseProfilesFigure)(p.dailyGlucoseProfiles,P,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=m,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&&l.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=y,t.insulinSettings=function(e,t,n){var a,r=null==e||null===(a=e.units)||void 0===a?void 0:a.bg,i=(0,u.getPumpVocabulary)(t),l=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"),g=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)&&(g=o.default.get(e,"insulinModel.actionDuration"),p="milliseconds"),"minutes"===p){var A=Math.floor(g/60),h=g%60;g=h>0?"".concat(A,":").concat(o.default.padStart(h,2,"0")):A}if("milliseconds"===p){var b=Math.floor(g/60/60),y=g%60;g=y>0?"".concat(b,":").concat(o.default.padStart(y,2,"0")):b}var v=[{setting:i[d.MAX_BASAL],value:l?"".concat(l," U/hr"):"-"},{setting:i[d.MAX_BOLUS],value:f?"".concat(f," U"):"-"},{setting:i[d.INSULIN_DURATION],value:g?"".concat(g," hrs"):"-"}];if((0,u.isLoop)(e)){var E,C,T,B={label:{rapidAdult:c("Rapid-Acting - Adults"),rapidChild:c("Rapid Acting - Children"),fiasp:c("Fiasp"),lyumjev:c("Lyumjev"),afrezza:c("Afrezza")}[null==e||null===(E=e.insulinModel)||void 0===E?void 0:E.modelType]||(null==e||null===(C=e.insulinModel)||void 0===C?void 0:C.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},S=m(t),x=[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:S})];B.peakMinutes&&x.push(c("The {{label}} model assumes peak activity at {{peakMinutes}} minutes.",B)),v.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:S})],setting:c("Glucose Safety Limit"),value:"".concat(s.formatBgValue(null==e?void 0:e.bgSafetyLimit,{bgUnits:r})," ").concat(r)}),v.splice(3,1,{annotations:x,setting:c("Insulin Model"),value:B.label})}return"tandem"===t&&v.shift(),{columns:[{key:"setting"},{key:"value"}],rows:v}},t.noData=p,t.presetSettings=function(e,t){var n,a,r,o=(0,u.getPumpVocabulary)(t),i=null==e||null===(n=e.units)||void 0===n?void 0:n.bg,l=function(e){return"".concat(s.formatBgValue(null==e?void 0:e.low,{bgUnits:i}),"-").concat(s.formatBgValue(null==e?void 0:e.high,{bgUnits:i}))},f=[{key:"name",label:"Name"},{key:"value",label:"".concat(c("Correction Range")," (").concat(i,")")}],p=[];return null!=e&&e.bgTargetPreprandial&&p.push({name:null===(a=o[d.PREPRANDIAL])||void 0===a?void 0:a.label,value:l(null==e?void 0:e.bgTargetPreprandial)}),null!=e&&e.bgTargetPhysicalActivity&&p.push({name:null===(r=o[d.PHYSICAL_ACTIVITY])||void 0===r?void 0:r.label,value:l(null==e?void 0:e.bgTargetPhysicalActivity)}),{columns:f,rows:p}},t.processBasalRateData=function(e){var t=b(e.value),n=[{start:"-",rate:"-"}];if(0===t.length)return n;if(1===t.length&&0===Number(g(e.value,t[0])))return n;var a=o.default.map(t,(function(t){return{start:l.formatClocktimeFromMsPer24(t),rate:g(e.value,t)}}));return a.push({start:"Total",rate:y(e.value)}),a},t.processBgTargetData=function(e,t,n){return o.default.map(b(e),(function(a){return{start:l.formatClocktimeFromMsPer24(a),columnTwo:h(e,n.columnTwo,a,t),columnThree:h(e,n.columnThree,a,t)}}))},t.processCarbRatioData=function(e){return o.default.map(b(e),(function(t){return{start:l.formatClocktimeFromMsPer24(t),amount:A(e,"amount",t)}}))},t.processSensitivityData=function(e,t){return o.default.map(b(e),(function(n){return{start:l.formatClocktimeFromMsPer24(n),amount:h(e,"amount",n,t)}}))},t.processTimedSettings=function(e,t,n){var a=o.default.map(b(e.bgTargets[t.name]),(function(a){return{start:l.formatClocktimeFromMsPer24(a),rate:g(e.basalSchedules[t.position].value,a),bgTarget:h(e.bgTargets[t.name],"target",a,n),carbRatio:A(e.carbRatios[t.name],"amount",a),insulinSensitivity:h(e.insulinSensitivities[t.name],"amount",a,n)}}));return a.push({start:"Total",rate:y(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)),l=a(n(74501)),s=a(n(99559)),u=n(11270),d=n(66871),c=i.default.t.bind(i.default),f=3;function p(e){return null==e||"string"==typeof e&&o.default.isEmpty(e)}function m(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 g(e,t){var n=o.default.find(e,(function(e){return e.start===t})).rate;return p(n)?"":s.formatDecimalNumber(n,f)}function A(e,t,n){var a=o.default.find(e,(function(e){return e.start===n}))[t];return p(a)?"":a}function h(e,t,n,a){var r=A(e,t,n);return p(r)?"":s.formatBgValue(r,{bgUnits:a})}function b(e){return o.default.map(e,"start")}function y(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,l=parseFloat(e[n].rate.toFixed(f))*i;t+=parseFloat(l.toFixed(f))}return s.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(s.pumpVocabulary,[l.deviceName(r),s.AUTOMATED_DELIVERY])===a;return{scheduleName:a,activeAtUpload:a===t.activeSchedule,isAutomated:i,title:c(a,t.activeSchedule,n,i),columns:i?[]:l.startTimeAndValue("rate"),rows:i?[]:f(e,t)}},t.basalSchedules=function(e){return l.getScheduleNames(e.basalSchedules)},t.bolusTitle=function(e){return{animas:d("ezCarb ezBG"),insulet:d("Bolus Calculator"),medtronic:d("Bolus Wizard"),microtech:d("Bolus Calculator"),"tidepool loop":d("Bolus Calculator"),"diy loop":d("Bolus Calculator"),twiist:d("Bolus Calculator")}[e]},t.deviceMeta=function(e,t){return l.getDeviceMeta(e,t)},t.ratio=function(e,t){return{title:g(t),columns:l.startTimeAndValue("amount"),rows:A(e)}},t.sensitivity=function(e,t,n){return{title:p(t),columns:l.startTimeAndValue("amount"),rows:m(e,n)}},t.target=function(e,t,n){var a=l.deviceName(t);return{annotations:(0,u.isLoop)(e)?[d("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)),l=a(n(89540)),s=n(66871),u=n(11270),d=i.default.t.bind(i.default);function c(e,t,n,a){return l.getScheduleLabel(e,t,n,a)}function f(e,t){return l.processBasalRateData(t.basalSchedules[e])}function p(e){return{animas:d("ISF"),insulet:d("Correction factor"),medtronic:d("Sensitivity"),microtech:d("Insulin Sensitivity"),"diy loop":d("Insulin Sensitivities"),"tidepool loop":d("Insulin Sensitivities"),twiist:d("Insulin Sensitivities")}[e]}function m(e,t){var n;return l.processSensitivityData(e.insulinSensitivity||(null===(n=e.insulinSensitivities)||void 0===n?void 0:n[e.activeSchedule]),t)}function g(e){return{animas:d("I:C Ratio"),insulet:d("IC ratio"),medtronic:d("Carb Ratios"),microtech:d("Carbohydrate Ratio"),"diy loop":d("Carb Ratios"),"tidepool loop":d("Carb Ratios"),twiist:d("Carb Ratios")}[e]}function A(e){var t;return l.processCarbRatioData(e.carbRatio||(null===(t=e.carbRatios)||void 0===t?void 0:t[e.activeSchedule]))}function h(e){return{animas:d("BG Target"),insulet:d("Target BG"),medtronic:d("BG Target"),microtech:d("Target BG"),"diy loop":d("Correction Range"),"tidepool loop":d("Correction Range"),twiist:d("Correction Range")}[e]}function b(e){return{animas:[{key:"start",label:d("Start time")},{key:"columnTwo",label:d("Target")},{key:"columnThree",label:d("Range")}],insulet:[{key:"start",label:d("Start time")},{key:"columnTwo",label:d("Target")},{key:"columnThree",label:d("Correct Above")}],medtronic:[{key:"start",label:d("Start time")},{key:"columnTwo",label:d("Low")},{key:"columnThree",label:d("High")}],microtech:[{key:"start",label:d("Start time")},{key:"columnTwo",label:d("Lower")},{key:"columnThree",label:d("Upper")}],"diy loop":[{key:"start",label:d("Start time")},{key:"columnTwo",label:d("Low")},{key:"columnThree",label:d("High")}],"tidepool loop":[{key:"start",label:d("Start time")},{key:"columnTwo",label:d("Low")},{key:"columnThree",label:d("High")}],twiist:[{key:"start",label:d("Start time")},{key:"columnTwo",label:d("Low")},{key:"columnThree",label:d("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 l.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;Object.defineProperty(t,"__esModule",{value:!0}),t.basal=function(e,t,n){var a,l,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return{scheduleName:e.name,activeAtUpload:e.name===t.activeSchedule,title:(a=e.name,l=t.activeSchedule,r.getScheduleLabel(a,l,"tandem",!0)),columns:i(s,n),rows:o(e,t,n)}},t.basalSchedules=function(e){return r.getTimedSchedules(e.basalSchedules)},t.deviceMeta=function(e,t){return r.getDeviceMeta(e,t)};var r=a(n(89540));function o(e,t,n){return r.processTimedSettings(t,e,n)}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return[{key:"start",label:"Start time"},{key:"rate",label:{main:"Basal Rates",secondary:"U/hr"},className:e.basalScheduleHeader},{key:"bgTarget",label:{main:"Target BG",secondary:t},className:e.bolusSettingsHeader},{key:"carbRatio",label:{main:"Carb Ratio",secondary:"g/U"},className:e.bolusSettingsHeader},{key:"insulinSensitivity",label:{main:"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 l.default(e),i=r.buildDocumentHeader("Device Settings");o.default.map(u.basalSchedules(t),(function(e){var n=u.basal(e,t,a);i+=r.buildTextTable(n.scheduleName,n.rows,n.columns)}));var s=u.target(t,a,n);i+=r.buildTextTable("".concat(s.title," ").concat(n),s.rows,s.columns);var f=u.ratio(t,a),p="exchanges"===o.default.get(t,"units.carb")?"U/exch":"g/U";i+=r.buildTextTable("".concat(f.title," ").concat(p),f.rows,f.columns);var m=u.sensitivity(t,a,n);if(i+=r.buildTextTable("".concat(m.title," ").concat(n,"/U"),m.rows,m.columns),!o.default.includes(["animas","microtech"],a)){var g=(0,d.insulinSettings)(t,a),A=g.rows,h=g.columns;i+=r.buildTextTable(c("Insulin Settings"),A,h,{showHeader:!1})}var b=(0,d.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 l.default(e),r=a.buildDocumentHeader("Device Settings"),i={bolusSettingsHeader:"",basalScheduleHeader:""};return o.default.map(s.basalSchedules(t),(function(e){var o=s.basal(e,t,n,i),l=(0,d.insulinSettings)(t,"tandem",e.name),u=l.rows,f=l.columns;r+=a.buildTextTable(o.scheduleName,o.rows,o.columns),r+=a.buildTextTable(c("Insulin Settings"),u,f,{showHeader:!1})})),r};var o=r(n(27825)),i=r(n(56427)),l=r(n(40549)),s=a(n(72255)),u=a(n(31266)),d=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.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]:B;s.default.defaults(n,{bgBounds:(0,c.reshapeBgClassesToBgBounds)(n)});var r="";return s.default.each(e,(function(e){var i,l,u=s.default.includes([E.timeInRange,E.readingsInRange,E.totalInsulin,E.timeInAuto,E.timeInOverride,E.bgExtents],e.id),d=s.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===(l=i.raw)||void 0===l?void 0:l.total)>0&&(f+=A(" from {{count}} readings",{count:e.data.raw.total})),u)r+=t.buildTextTable(f,s.default.map(s.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(d){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 p=a(s.default.get(e.data,e.data.dataPaths.summary,{}),e.dataFormat.summary,c);0===p.value&&(p.value=[p.value]),s.default.isArray(p.value)||(p.value=s.default.compact([p.value])),s.default.isArray(p.suffix)||(p.suffix=s.default.compact([p.suffix])),r+="\n",r+=t.buildTextLine({label:e.title,value:s.default.map(p.value,(function(t,n){return"".concat(t).concat(p.suffix[n]||(e.units?" ".concat(e.units):""))})).join(" ")})}})),r};var r,o=a(n(84374)),i=a(n(37055)),l=a(n(271)),s=a(n(27825)),u=a(n(82015)),d=a(n(56427)),c=n(84240),f=n(66871),p=n(11270),m=n(99559),g=n(74501),A=d.default.t.bind(d.default);void 0===s.default.get(d.default,"options.returnEmptyString")&&d.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:A("CGM"),smbg:A("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,l.default)(r,E.averageGlucose,"getAverageGlucoseData"),(0,l.default)(r,E.averageDailyDose,"getTotalInsulinData"),(0,l.default)(r,E.bgExtents,"getBgExtentsData"),(0,l.default)(r,E.carbs,"getCarbsData"),(0,l.default)(r,E.coefficientOfVariation,"getCoefficientOfVariationData"),(0,l.default)(r,E.glucoseManagementIndicator,"getGlucoseManagementIndicatorData"),(0,l.default)(r,E.readingsInRange,"getReadingsInRangeData"),(0,l.default)(r,E.sensorUsage,"getSensorUsage"),(0,l.default)(r,E.standardDev,"getStandardDevData"),(0,l.default)(r,E.timeInAuto,"getTimeInAutoData"),(0,l.default)(r,E.timeInOverride,"getTimeInOverrideData"),(0,l.default)(r,E.timeInRange,"getTimeInRangeData"),(0,l.default)(r,E.totalInsulin,"getBasalBolusData"),r),t.getSum=function(e){return s.default.sum(s.default.map(e,(function(e){return s.default.max([e.value,0])})))}),T=t.ensureNumeric=function(e){return s.default.isNil(e)||s.default.isNaN(e)?-1:parseFloat(e)},B=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,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},d=o.id,p=s.default.isFinite(o)?o:o.value,A=o.suffix||"",h=l.bgPrefs,b=l.data,y=l.useAGPFormat,E=l.emptyDataPlaceholder,C=void 0===E?"--":E,T=l.forcePlainTextValues,B=void 0!==T&&T,S=s.default.get(b,"total.value"),x=function(){d="statDisabled",p=C};switch(i){case v.bgCount:if(p>=0){var w=p<.05?2:1;p=+p.toFixed(w)}else x();break;case v.bgRange:p=(0,c.generateBgRangeLabels)(h,{condensed:!0})[d];break;case v.bgValue:p>=0?(d=(0,c.classifyBgValue)(s.default.get(h,"bgBounds"),p),p=(0,m.formatBgValue)(p,h,void 0,y)):x();break;case v.carbs:if(s.default.isPlainObject(p)&&(p.grams>0||p.exchanges>0)){var I=p,O=I.grams,L=I.exchanges;p=[],A=[],O>0&&(p.push((0,m.formatDecimalNumber)(O)),A.push("g")),L>0&&(p.push(+(0,m.formatDecimalNumber)(L,1)),A.push("exch"))}else x();break;case v.cv:p>=0?(d=(0,c.classifyCvValue)(p),p=y?(0,m.bankersRound)(p,1).toString():(0,m.formatDecimalNumber)(p),A="%"):x();break;case v.duration:p>=0?p=(0,g.formatDuration)(p,{condensed:!0}):x();break;case v.gmi:p>=0?(p=y?(0,m.bankersRound)(p,1).toString():(0,m.formatDecimalNumber)(p,1),A="%"):x();break;case v.percentage:if(S&&S>=0){var P=(p=s.default.max([p,0]))/S*100,D=0;P>0&&P<.5&&(D=P<.05?2:1),p=(0,m.formatDecimalNumber)(P,D),A="%"}else x();break;case v.standardDevRange:e=s.default.get(o,"deviation.value",-1),p>=0&&e>=0?(n=(t=p-e)>=0?(0,c.classifyBgValue)(s.default.get(h,"bgBounds"),t):"low",a=p+e,r=(0,c.classifyBgValue)(s.default.get(h,"bgBounds"),a),t=(0,m.formatBgValue)(t,h),a=(0,m.formatBgValue)(a,h),p=B?"".concat(t,"-").concat(a):u.default.createElement("span",null,u.default.createElement("span",{style:{color:f.BG_COLORS[n]}},t)," - ",u.default.createElement("span",{style:{color:f.BG_COLORS[r]}},a))):x();break;case v.standardDevValue:p>=0?p=(0,m.formatBgValue)(p,h):x();break;case v.units:p>=0?(p=(0,m.formatDecimalNumber)(p,1),A="U"):x();break;case v.unitsPerKg:"lb"===A&&(p*=f.LBS_PER_KG),A="U/kg",p>0&&s.default.isFinite(p)?p=(0,m.formatDecimalNumber)(p,2):x()}return{id:d,value:p,suffix:A}},S=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,p.getPumpVocabulary)(o),l={overrideLabel:i[f.SETTINGS_OVERRIDE],overrideLabelLowerCase:s.default.lowerCase(i[f.SETTINGS_OVERRIDE])},u=[],d=[E.averageGlucose,E.coefficientOfVariation,E.glucoseManagementIndicator,E.readingsInRange,E.timeInRange,E.standardDev];switch(t){case E.averageGlucose:u.push(A("**Avg. Glucose ({{bgSourceLabel}}):** All {{bgSourceLabel}} glucose values added together, divided by the number of readings.",{bgSourceLabel:y[a]}));break;case E.averageDailyDose:r>1?u.push(A("**Avg. Daily Insulin:** All basal and bolus insulin delivery (in Units) added together, divided by the number of days in this view.")):u.push(A("**Daily Insulin:** All basal and bolus insulin delivery (in Units) added together."));break;case E.carbs:r>1?u.push(A("**Avg. Daily Carbs**: All carb entries added together, then divided by the number of days in this view. Note, these entries come from either bolus wizard events, or Apple Health records.")):u.push(A("**Total Carbs**: All carb entries from bolus wizard events or Apple Health records added together.")),u.push(A("Derived from _**{{total}}**_ carb entries.",{total:e.total}));break;case E.coefficientOfVariation:u.push(A("**CV (Coefficient of Variation):** How far apart (wide) glucose values are; research suggests a target of 36% or lower."));break;case E.glucoseManagementIndicator:u.push(A("**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:u.push(A("**Readings In Range:** Daily average of the number of {{smbgLabel}} readings.",{smbgLabel:y.smbg}));break;case E.sensorUsage:u.push(A("**Sensor Usage:** Time the {{cbgLabel}} collected data, divided by the total time represented in this view.",{cbgLabel:y.cbg}));break;case E.standardDev:u.push(A("**SD (Standard Deviation):** How far values are from the average."));break;case E.timeInAuto:r>1?(u.push(A("**Time In {{automatedLabel}}:** Daily average of the time spent in automated basal delivery.",{automatedLabel:i[f.AUTOMATED_DELIVERY]})),u.push(A("**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]}))):(u.push(A("**Time In {{automatedLabel}}:** Time spent in automated basal delivery.",{automatedLabel:i[f.AUTOMATED_DELIVERY]})),u.push(A("**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?(u.push(A("**Time In {{overrideLabel}}:** Daily average of the time spent in a {{overrideLabelLowerCase}}.",l)),u.push(A("**How we calculate this:**\n\n**(%)** is the duration in a {{overrideLabelLowerCase}} divided by the total duration for this time period.\n\n**(time)** is 24 hours multiplied by % in a {{overrideLabelLowerCase}}.",l))):(u.push(A("**Time In {{overrideLabel}}:** Time spent in a {{overrideLabelLowerCase}}.",l)),u.push(A("**How we calculate this:**\n\n**(%)** is the duration in a {{overrideLabelLowerCase}} divided by the total duration for this time period.\n\n**(time)** is total duration of time in a {{overrideLabelLowerCase}}.",l)));break;case E.timeInRange:r>1?(u.push(A("**Time In Range:** Daily average of the time spent in range, based on {{cbgLabel}} readings.",{cbgLabel:y.cbg})),u.push(A("**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."))):(u.push(A("**Time In Range:** Time spent in range, based on {{cbgLabel}} readings.",{cbgLabel:y.cbg})),u.push(A("**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?u.push(A("**Total Insulin:** All basal and bolus insulin delivery (in Units) added together, divided by the number of days in this view")):u.push(A("**Total Insulin:** All basal and bolus insulin delivery (in Units) added together")),u.push(A("**How we calculate this:**\n\n**(%)** is the respective total of basal or bolus delivery divided by total insulin delivered for this time period."))}return e.insufficientData?u.push(A("**Why is this stat empty?**\n\nThere is not enough data present in this view to calculate it.")):s.default.includes(d,t)&&"smbg"===a&&u.push(A("Derived from _**{{total}}**_ {{smbgLabel}} readings.",{total:s.default.get(e,"counts.total",e.total),smbgLabel:y.smbg})),u},x=t.getStatData=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=(0,p.getPumpVocabulary)(n.manufacturer),r=(0,p.getSettingsOverrides)(n.manufacturer),o=(0,c.generateBgRangeLabels)(n.bgPrefs,{condensed:!0}),l={raw:(0,i.default)({days:n.days},e)},u=n.days>1?"dailyAverages":"counts";switch(t){case E.averageGlucose:l.data=[{value:T(e.averageGlucose)}],l.dataPaths={summary:"data.0"};break;case E.averageDailyDose:l.data=[{id:"insulin",input:{id:"weight",label:"Weight",suffix:{id:"units",options:h,value:n.suffixValue||h[0]},type:"number",value:n.inputValue?T(n.inputValue):void 0},output:{label:"Daily Dose ÷ Weight",type:"divisor",dataPaths:{dividend:"data.0"}},value:T(e.totalInsulin)}],l.dataPaths={input:"data.0.input",output:"data.0.output",summary:"data.0"};break;case E.bgExtents:l.data=[{id:"bgMax",value:T(e.bgMax),title:A("Max BG")},{id:"bgMin",value:T(e.bgMin),title:A("Min BG")}];break;case E.carbs:l.data=[{value:{grams:T(s.default.get(e,"carbs.grams")),exchanges:T(s.default.get(e,"carbs.exchanges"))}}],l.dataPaths={summary:"data.0"};break;case E.coefficientOfVariation:l.data=[{id:"cv",value:T(e.coefficientOfVariation)}],l.dataPaths={summary:"data.0"};break;case E.glucoseManagementIndicator:l.data=[{id:"gmi",value:T(e.glucoseManagementIndicator)},{id:"gmiAGP",value:T(e.glucoseManagementIndicatorAGP)}],l.dataPaths={summary:"data.0",summaryAGP:"data.1"};break;case E.readingsInRange:l.data=[{id:"veryLow",value:T(e[u].veryLow),title:A("Readings Below Range"),legendTitle:o.veryLow},{id:"low",value:T(e[u].low),title:A("Readings Below Range"),legendTitle:o.low},{id:"target",value:T(e[u].target),title:A("Readings In Range"),legendTitle:o.target},{id:"high",value:T(e[u].high),title:A("Readings Above Range"),legendTitle:o.high},{id:"veryHigh",value:T(e[u].veryHigh),title:A("Readings Above Range"),legendTitle:o.veryHigh}],l.total={value:C(l.data)},l.dataPaths={summary:["data",s.default.findIndex(l.data,{id:"target"})],totalReadings:"raw.counts.total",averageDailyReadings:"total"};break;case E.sensorUsage:l.data=[{value:T(e.sensorUsage)},{value:T(e.sensorUsageAGP)}],l.total={value:T(e.total)},l.dataPaths={summary:"data.0",summaryAGP:"data.1"};break;case E.standardDev:l.data=[{value:T(e.averageGlucose),deviation:{value:T(e.standardDeviation)}}],l.dataPaths={summary:"data.0.deviation",title:"data.0"};break;case E.timeInAuto:l.data=[{id:"basalAutomated",value:T(e.automated),title:A("Time In {{automatedLabel}}",{automatedLabel:a[f.AUTOMATED_DELIVERY]}),legendTitle:a[f.AUTOMATED_DELIVERY]},{id:"basal",value:T(e.manual),title:A("Time In {{scheduledLabel}}",{scheduledLabel:a[f.SCHEDULED_DELIVERY]}),legendTitle:a[f.SCHEDULED_DELIVERY]}],l.total={value:C(l.data)},l.dataPaths={summary:["data",s.default.findIndex(l.data,{id:"basalAutomated"})]};break;case E.timeInOverride:l.data=s.default.map(r,(function(t){return{id:t,value:T(s.default.get(e,t,0)),title:A("Time In {{overrideLabel}}",{overrideLabel:s.default.get(a,[t,"label"])}),legendTitle:s.default.get(a,[t,"label"])}})),l.sum={value:C(l.data)},l.total={value:f.MS_IN_DAY},l.dataPaths={summary:"sum"};break;case E.timeInRange:l.data=[{id:"veryLow",value:T(e.durations.veryLow),title:A("Time Below Range"),legendTitle:o.veryLow},{id:"low",value:T(e.durations.low),title:A("Time Below Range"),legendTitle:o.low},{id:"target",value:T(e.durations.target),title:A("Time In Range"),legendTitle:o.target},{id:"high",value:T(e.durations.high),title:A("Time Above Range"),legendTitle:o.high},{id:"veryHigh",value:T(e.durations.veryHigh),title:A("Time Above Range"),legendTitle:o.veryHigh}],l.total={value:C(l.data)},l.dataPaths={summary:["data",s.default.findIndex(l.data,{id:"target"})]};break;case E.totalInsulin:l.data=[{id:"bolus",value:T(e.bolus),title:A("Bolus Insulin"),legendTitle:A("Bolus")},{id:"basal",value:T(e.basal),title:A("Basal Insulin"),legendTitle:A("Basal")}],l.total={id:"insulin",value:C(l.data)},l.dataPaths={summary:"total",title:"total"};break;default:l=void 0}return l},w=t.getStatTitle=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.bgSource,r=n.days,o=(0,p.getPumpVocabulary)(n.manufacturer);switch(e){case E.averageGlucose:t=A("Avg. Glucose ({{bgSourceLabel}})",{bgSourceLabel:y[a]});break;case E.averageDailyDose:t=A(r>1?"Avg. Daily Insulin":"Total Insulin");break;case E.bgExtents:t=A("BG Extents ({{bgSourceLabel}})",{bgSourceLabel:y[a]});break;case E.carbs:t=A(r>1?"Avg. Daily Carbs":"Total Carbs");break;case E.coefficientOfVariation:t=A("CV ({{bgSourceLabel}})",{bgSourceLabel:y[a]});break;case E.glucoseManagementIndicator:t=A("GMI ({{bgSourceLabel}})",{bgSourceLabel:y[a]});break;case E.readingsInRange:t=A(r>1?"Avg. Daily Readings In Range":"Readings In Range");break;case E.sensorUsage:t=A("Sensor Usage");break;case E.standardDev:t=A("Std. Deviation ({{bgSourceLabel}})",{bgSourceLabel:y[a]});break;case E.timeInAuto:t=A(r>1?"Avg. Daily Time In {{automatedLabel}}":"Time In {{automatedLabel}}",{automatedLabel:o[f.AUTOMATED_DELIVERY]});break;case E.timeInOverride:t=A(r>1?"Avg. Daily Time In {{overrideLabel}}":"Time In {{overrideLabel}}",{overrideLabel:o[f.SETTINGS_OVERRIDE]});break;case E.timeInRange:t=A(r>1?"Avg. Daily Time In Range":"Time In Range");break;case E.totalInsulin:t=A(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:S(e,t,n),collapsible:s.default.get(n,"collapsible",!1),data:x(e,t,n),id:t,title:w(t,n),type:b.barHorizontal};switch(t){case E.averageGlucose:a.dataFormat={label:v.bgValue,summary:v.bgValue},a.type=b.barBg,a.units=s.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=s.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=s.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=s.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=s.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)),l=a(n(29610)),s=a(n(56427)),u=n(74501),d=n(66871),c=n(19992),f=s.default.t.bind(s.default),p=t.TextUtil=(0,r.default)((function e(t,n,a){var r=this;(0,o.default)(this,e),this.buildDocumentHeader=function(e){var t,n,a,o,i=r.buildTextLine((0,c.getPatientFullName)(r.patient)),l=r.buildTextLine({label:f("Date of birth"),value:(0,u.formatBirthdate)(r.patient)}),s=(0,u.formatDiagnosisDate)(r.patient),d=s?r.buildTextLine({label:f("Date of diagnosis"),value:s}):"",p=(null===(t=r.patient)||void 0===t?void 0:t.clinicPatientMRN)||(null===(n=r.patient)||void 0===n||null===(a=n.profile)||void 0===a||null===(o=a.patient)||void 0===o?void 0:o.mrn),m=p?r.buildTextLine({label:f("MRN"),value:p}):"",g=r.buildTextLine({label:"".concat(f("Exported from Tidepool")).concat(e?" ".concat(e):""),value:(0,u.formatCurrentDate)()});return"".concat(i).concat(l).concat(d).concat(m).concat(g)},this.buildDocumentDates=function(){var e=(0,u.getTimezoneFromTimePrefs)(r.timePrefs),t=r.endpoints[0],n=r.endpoints[1]-1;return t-=(0,u.getOffset)(t,e)*d.MS_IN_MIN,n-=(0,u.getOffset)(n,e)*d.MS_IN_MIN,"\nReporting Period: ".concat((0,u.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 o=r.getTable(t,n,a);return e&&o?"\n".concat(e,"\n").concat(o,"\n"):"\n".concat(e||o,"\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=[r.getTableHeader(t)],o=r.getTableRows(e,t);return n.showHeader?(0,l.default)(a.concat(o)):(0,l.default)(o)},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 r.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}));t.default=p},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){var i=t.bgPrefs,l=t.data.current.endpoints,s=void 0===l?{}:l,u=t.metaData,f=t.query,p=t.timePrefs;o.default.defaults(i,{bgBounds:c.reshapeBgClassesToBgBounds(i)});var m=new c.TextUtil(e,s.range,p),g=m.buildDocumentHeader("Trends");g+=m.buildDocumentDates();var A=o.default.map(o.default.keys(o.default.pickBy(a.activeDays,(function(e){return!1===e}))),o.default.capitalize).join(", ");A.length&&(g+=m.buildTextLine({label:"Excluded Days",value:A})),g+=c.statsText(n,m,i);var h={cbg:"cgm",smbg:"bgm"},b=o.default.filter(null==u?void 0:u.devices,(function(e){var t;return(null==u||null===(t=u.matchedDevices)||void 0===t?void 0:t[e.id])&&(e.pump||e[h[null==f?void 0:f.bgSource]])}));if(b.length){var y=["\n".concat(d("Devices Uploaded"))].concat((0,r.default)(o.default.map(b,(function(e){var t=e.id;return e.label||t}))));o.default.each(y,(function(e){g+=m.buildTextLine(e)}))}return g},t.utils=void 0;var r=a(n(84374)),o=a(n(27825)),i=a(n(56427)),l=a(n(40549)),s=n(80358),u=n(84240),d=i.default.t.bind(i.default),c=t.utils={reshapeBgClassesToBgBounds:u.reshapeBgClassesToBgBounds,statsText:s.statsText,TextUtil:l.default}},50535:(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),l=n(20487),s=i()(r());s.i(l.A,"",!0),s.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:""}]),s.locals={copyButton:`ClipboardButton--copyButton--w99lI ${l.A.locals.defaultSize}`,buttonText:"ClipboardButton--buttonText--mjoj5",successText:"ClipboardButton--successText--nNMjn",buttonTextHidden:"ClipboardButton--buttonTextHidden--I_vrY",successTextHidden:"ClipboardButton--successTextHidden--uGDmL"};const u=s},40916:(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),l=n(20487),s=i()(r());s.i(l.A,"",!0),s.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:""}]),s.locals={wrapper:"InputGroup--wrapper--y51z5",label:`InputGroup--label--ZN_Cx ${l.A.locals.largeSize}`,inputs:`InputGroup--inputs--IipzK ${l.A.locals.smallSize}`,"input-number":"InputGroup--input-number--zOn79",suffix:"InputGroup--suffix--XhEVc",suffixText:"InputGroup--suffixText--vyPiD InputGroup--suffix--XhEVc"};const u=s},15651:(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),l=n(20487),s=i()(r());s.i(l.A,"",!0),s.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:""}]),s.locals={label:`LabeledCheckbox--label--jG7lM ${l.A.locals.mediumContrastText} ${l.A.locals.largeSize}`};const u=s},34788:(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),l=n(20487),s=i()(r());s.i(l.A,"",!0),s.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:""}]),s.locals={container:"TwoOptionToggle--container--OdIe3",label:`TwoOptionToggle--label--lB1hx ${l.A.locals.mediumContrastText} ${l.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 u=s},87145:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});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 l=i},51619:(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),l=n(20487),s=i()(r());s.i(l.A,"",!0),s.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--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,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.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:""}]),s.locals={StatWrapper:"Stat--StatWrapper--KWm_y",Stat:"Stat--Stat--cQ2U_",statHeader:"Stat--statHeader--TPpS6",statMain:"Stat--statMain--bVDPU",statFooter:"Stat--statFooter--mEztE",chartTitle:`Stat--chartTitle--lZSYG ${l.A.locals.largeSize}`,chartTitleText:"Stat--chartTitleText--uzqDQ",chartSummary:"Stat--chartSummary--QudLx",summaryData:"Stat--summaryData--wSEtu",summaryValue:`Stat--summaryValue--njf4T ${l.A.locals.extraLargeSize}`,summarySuffix:`Stat--summarySuffix--KBz9E ${l.A.locals.smallSize}`,units:`Stat--units--XCEsR ${l.A.locals.smallSize}`,chartTitleData:`Stat--chartTitleData--TmZ6Q ${l.A.locals.smallSize}`,chartTitleSuffix:"Stat--chartTitleSuffix--CgcRd",isOpen:"Stat--isOpen--IIudz",chartCollapse:"Stat--chartCollapse--jo1M7",chartWrapper:"Stat--chartWrapper--jkeYr",inputWrapper:"Stat--inputWrapper--wlg0q",outputWrapper:"Stat--outputWrapper--qgnDe",outputValue:"Stat--outputValue--on2Ws",outputSuffix:`Stat--outputSuffix--WEbZg ${l.A.locals.smallSize}`,outputValueDisabled:"Stat--outputValueDisabled--ydkWF",outputLabel:"Stat--outputLabel--CtKR1",tooltipIcon:"Stat--tooltipIcon--jgX3r",StatTooltipWrapper:"Stat--StatTooltipWrapper--i8dsZ"};const u=s},47064:(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),l=n(20487),s=i()(r());s.i(l.A,"",!0),s.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:""}]),s.locals={StatLegend:`StatLegend--StatLegend--AEcS9 ${l.A.locals.smallSize}`,StatLegendItem:"StatLegend--StatLegendItem--vpFW6",StatLegendTitle:"StatLegend--StatLegendTitle--GpUwT"};const u=s},90524:(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),l=n(20487),s=i()(r());s.i(l.A,"",!0),s.push([e.id,".StatTooltip--row--tFzNn {\n line-height: 16px;\n max-width: 180px;\n min-width: 160px;\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;AAClB;;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}\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:""}]),s.locals={row:`StatTooltip--row--tFzNn ${l.A.locals.smallSize}`,message:`StatTooltip--message--MOr7T StatTooltip--row--tFzNn ${l.A.locals.smallSize}`,divider:"StatTooltip--divider--gqRkM",hiddenDivider:"StatTooltip--hiddenDivider--AMMfk"};const u=s},49090:(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),l=n(20487),s=i()(r());s.i(l.A,"",!0),s.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 border-radius: 4px;\n}\n\n.Tooltip--content--hPQZv {\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(--tooltip-title-bg);\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","",{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,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;EAC9B,WAAW;EACX,kBAAkB;EAClB,sBAAsB;AACxB;;AAEA;EACE,WAAW;AACb;;AAEA;EAGE,yCAAyC;AAC3C;;AAEA;EACE,UAAU;EACV,WAAW;EACX,mBAAmB;EACnB,yBAAyB;EACzB,kBAAkB;AACpB",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 border-radius: 4px;\n}\n\n.content {\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(--tooltip-title-bg);\n}\n\n.tail {\n width: 0px;\n height: 0px;\n border-style: solid;\n border-color: transparent;\n position: absolute;\n}\n\n:export {\n tooltipTitleBg: var(--tooltip-title-bg);\n}\n"],sourceRoot:""}]),s.locals={tooltipTitleBg:"var(--tooltip-title-bg)",tooltip:`Tooltip--tooltip--nJbNU ${l.A.locals.defaultSize}`,content:"Tooltip--content--hPQZv",title:`Tooltip--title--rpDIV ${l.A.locals.mediumContrastText} Tooltip--content--hPQZv`,tail:"Tooltip--tail--mFMOe"};const u=s},7873:(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),l=n(20487),s=n(61872),u=i()(r());u.i(s.A),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.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}\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;AACnB;;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}\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:""}]),u.locals={container:"BolusTooltip--container--CpKmz",row:`BolusTooltip--row--Mlc5Y ${l.A.locals.smallSize}`,label:"BolusTooltip--label--TuCfn",value:"BolusTooltip--value--nxXlD",units:"BolusTooltip--units--cDoSp",unitsWide:"BolusTooltip--unitsWide--xDx8w",title:`BolusTooltip--title--zKhjA ${l.A.locals.smallSize}`,suggested:`BolusTooltip--suggested--YVlJW BolusTooltip--row--Mlc5Y ${l.A.locals.smallSize}`,delivered:`BolusTooltip--delivered--FwG__ BolusTooltip--row--Mlc5Y ${l.A.locals.smallSize}`,override:`BolusTooltip--override--XxWiU BolusTooltip--row--Mlc5Y ${l.A.locals.smallSize}`,interrupted:`BolusTooltip--interrupted--wv8Yd BolusTooltip--row--Mlc5Y ${l.A.locals.smallSize}`,normal:`BolusTooltip--normal--WWOQI BolusTooltip--row--Mlc5Y ${l.A.locals.smallSize}`,extended:`BolusTooltip--extended--zZR0i BolusTooltip--row--Mlc5Y ${l.A.locals.smallSize}`,programmed:`BolusTooltip--programmed--J14aP BolusTooltip--row--Mlc5Y ${l.A.locals.smallSize}`,carbs:`BolusTooltip--carbs--G_1u6 BolusTooltip--row--Mlc5Y ${l.A.locals.smallSize}`,bg:`BolusTooltip--bg--W0Wml BolusTooltip--row--Mlc5Y ${l.A.locals.smallSize}`,iob:`BolusTooltip--iob--NyCjO BolusTooltip--row--Mlc5Y ${l.A.locals.smallSize}`,target:`BolusTooltip--target--D8aNB BolusTooltip--row--Mlc5Y ${l.A.locals.smallSize}`,isf:`BolusTooltip--isf--_CxMA BolusTooltip--row--Mlc5Y ${l.A.locals.smallSize}`,carbRatio:`BolusTooltip--carbRatio--mZddZ BolusTooltip--row--Mlc5Y ${l.A.locals.smallSize}`,annotation:`BolusTooltip--annotation--Wn2gj BolusTooltip--row--Mlc5Y ${l.A.locals.smallSize}`,divider:"BolusTooltip--divider--njHTV"};const d=u},74423:(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),l=n(20487),s=n(61872),u=i()(r());u.i(s.A),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.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:""}]),u.locals={container:"CBGTooltip--container--gRocN",row:`CBGTooltip--row--_jogG ${l.A.locals.smallSize}`,label:"CBGTooltip--label--Dy5yz",value:"CBGTooltip--value--XlvA7",units:"CBGTooltip--units--u0Qbt",title:`CBGTooltip--title--wbHgH ${l.A.locals.smallSize}`,bg:`CBGTooltip--bg--NaJsj CBGTooltip--row--_jogG ${l.A.locals.smallSize}`,subType:`CBGTooltip--subType--P5spS CBGTooltip--row--_jogG ${l.A.locals.smallSize}`,annotation:`CBGTooltip--annotation--DMQxi CBGTooltip--subType--P5spS CBGTooltip--row--_jogG ${l.A.locals.smallSize}`,divider:"CBGTooltip--divider--saPYF"};const d=u},89295:(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),l=n(20487),s=n(61872),u=i()(r());u.i(s.A),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.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:""}]),u.locals={container:"FoodTooltip--container--SEIWY",row:`FoodTooltip--row--QPJLq ${l.A.locals.smallSize}`,label:"FoodTooltip--label--Z6twW",value:"FoodTooltip--value--wrmvr",units:"FoodTooltip--units--LUPjT",title:`FoodTooltip--title--futzg ${l.A.locals.smallSize}`,carb:`FoodTooltip--carb--MRoFo FoodTooltip--row--QPJLq ${l.A.locals.smallSize}`,divider:"FoodTooltip--divider--iwKpw"};const d=u},45639:(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),l=n(20487),s=n(61872),u=i()(r());u.i(s.A),u.i(l.A,"",!0),u.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:""}]),u.locals={container:"PumpSettingsOverrideTooltip--container--EgGUi",row:`PumpSettingsOverrideTooltip--row--Mh8Fk ${l.A.locals.smallSize}`,label:"PumpSettingsOverrideTooltip--label--Yjy9X",boldLabel:"PumpSettingsOverrideTooltip--boldLabel--DX0Wm PumpSettingsOverrideTooltip--label--Yjy9X",value:"PumpSettingsOverrideTooltip--value--_s7MU",title:`PumpSettingsOverrideTooltip--title--jE99D ${l.A.locals.smallSize}`,target:`PumpSettingsOverrideTooltip--target--PcPtu PumpSettingsOverrideTooltip--row--Mh8Fk ${l.A.locals.smallSize}`,overrideType:`PumpSettingsOverrideTooltip--overrideType--NdbGs PumpSettingsOverrideTooltip--row--Mh8Fk ${l.A.locals.smallSize}`};const d=u},47379:(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),l=n(20487),s=n(61872),u=i()(r());u.i(s.A),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.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:""}]),u.locals={container:"SMBGTooltip--container--Wu7GU",row:`SMBGTooltip--row--dX3Sh ${l.A.locals.smallSize}`,label:"SMBGTooltip--label--qJ17K",value:"SMBGTooltip--value--UmB_c",units:"SMBGTooltip--units--x_4jA",title:`SMBGTooltip--title--nT5RS ${l.A.locals.smallSize}`,bg:`SMBGTooltip--bg--hNU3J SMBGTooltip--row--dX3Sh ${l.A.locals.smallSize}`,subType:`SMBGTooltip--subType--ZUjml SMBGTooltip--row--dX3Sh ${l.A.locals.smallSize}`,confirmBg:`SMBGTooltip--confirmBg--Pe3UO SMBGTooltip--subType--ZUjml SMBGTooltip--row--dX3Sh ${l.A.locals.smallSize}`,source:`SMBGTooltip--source--G3Z7A SMBGTooltip--subType--ZUjml SMBGTooltip--row--dX3Sh ${l.A.locals.smallSize}`,annotation:`SMBGTooltip--annotation--GSEvF SMBGTooltip--subType--ZUjml SMBGTooltip--row--dX3Sh ${l.A.locals.smallSize}`,divider:"SMBGTooltip--divider--u21SF"};const d=u},18560:(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),l=n(20487),s=n(34945),u=i()(r());u.i(l.A,"",!0),u.i(s.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.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:""}]),u.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 ${l.A.locals.mediumContrastText}`,categoryContainer:"NonTandem--categoryContainer--kMddv",basalTable:`NonTandem--basalTable--fkAEf ${s.A.locals.basalTable}`,settingsTable:`NonTandem--settingsTable--bvSw8 ${s.A.locals.settingsTable}`,settingsTableInverted:`NonTandem--settingsTableInverted--XW7S0 ${s.A.locals.settingsTableInverted}`,singleLineBasalScheduleHeader:`NonTandem--singleLineBasalScheduleHeader--ESKnN ${s.A.locals.basalHeaderBackground} ${s.A.locals.settingsHeader}`,automatedSingleLineBasalScheduleHeader:`NonTandem--automatedSingleLineBasalScheduleHeader--kIDJ7 ${s.A.locals.automatedBasalHeaderBackground} ${s.A.locals.settingsHeader}`,twoLineBasalScheduleHeader:`NonTandem--twoLineBasalScheduleHeader--xYjZD ${s.A.locals.basalHeaderBackground} ${s.A.locals.settingsHeaderDecoration} ${s.A.locals.settingsHeaderLayout} ${s.A.locals.settingsHeaderText}`,insulinSettingsHeader:`NonTandem--insulinSettingsHeader--EtP0j ${s.A.locals.bolusHeaderBackground} ${s.A.locals.settingsHeader}`,presetSettingsHeader:`NonTandem--presetSettingsHeader--Ncjal ${s.A.locals.presetsHeaderBackground} ${s.A.locals.settingsHeader}`,bolusSettingsHeader:`NonTandem--bolusSettingsHeader--A_g8e ${s.A.locals.bolusHeaderBackground} ${s.A.locals.settingsHeader}`,automatedBasalHeaderBackground:`NonTandem--automatedBasalHeaderBackground--MyDbN ${s.A.locals.automatedBasalHeaderBackground}`};const d=u},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),l=n(34945),s=n(20487),u=n(61872),d=i()(r());d.i(u.A),d.i(l.A,"",!0),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.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@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;;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@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:""}]),d.locals={header:"Tandem--header--whs3N",headerCommon:"Tandem--headerCommon--oS2Oj",basalScheduleHeader:`Tandem--basalScheduleHeader--njyr8 ${l.A.locals.basalHeaderBackground} ${l.A.locals.settingsHeaderText} Tandem--headerCommon--oS2Oj`,bolusSettingsHeader:`Tandem--bolusSettingsHeader--M8ET5 ${l.A.locals.bolusHeaderBackground} ${l.A.locals.settingsHeaderText} Tandem--headerCommon--oS2Oj`,collapsibleLabel:"Tandem--collapsibleLabel--qHk8e",profileTable:`Tandem--profileTable--OCxjI ${l.A.locals.basalTable}`,title:`Tandem--title--Jm4xp ${s.A.locals.boldText} ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText}`,categoryTitle:`Tandem--categoryTitle--jwXEy ${s.A.locals.mediumContrastText}`,settingsTableInverted:`Tandem--settingsTableInverted--CYr53 ${l.A.locals.settingsTableInverted}`,insulinSettingsHeader:`Tandem--insulinSettingsHeader--jLGyj ${l.A.locals.bolusHeaderBackground} ${l.A.locals.settingsHeader}`};const c=d},25099:(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),l=n(34945),s=i()(r());s.i(l.A,"",!0),s.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:""}]),s.locals={secondaryLabel:`CollapsibleContainer--secondaryLabel--wgffm ${l.A.locals.secondaryText}`};const u=s},21369:(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),l=n(20487),s=i()(r());s.i(l.A,"",!0),s.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:""}]),s.locals={header:"Header--header--P7xyy",headerOuter:`Header--headerOuter--axeXC Header--header--P7xyy ${l.A.locals.lightText} ${l.A.locals.largeSize}`,headerInner:"Header--headerInner--LYL8h Header--header--P7xyy",headerClosed:"Header--headerClosed--YQpTc",headerExpanded:"Header--headerExpanded--y_ese"};const u=s},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),l=n(34945),s=n(20487),u=n(33152),d=i()(r());d.i(l.A,"",!0),d.i(s.A,"",!0),d.i(u.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.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:""}]),d.locals={collapsibleLabel:`SingleLineCollapsibleContainerLabel--collapsibleLabel--jwq_c ${l.A.locals.settingsHeader}`,labelContainer:`SingleLineCollapsibleContainerLabel--labelContainer--TH25a ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText} ${u.A.locals.norgie}`,mainText:`SingleLineCollapsibleContainerLabel--mainText--NGxZr ${s.A.locals.boldText} ${l.A.locals.mainHeaderText}`,secondaryText:`SingleLineCollapsibleContainerLabel--secondaryText--dE2hg ${l.A.locals.secondaryText} ${l.A.locals.secondaryText}`};const c=d},70524:(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),l=n(20487),s=n(34945),u=i()(r());u.i(l.A,"",!0),u.i(s.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.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:""}]),u.locals={secondaryLabelAlone:`Table--secondaryLabelAlone--f8vEQ ${s.A.locals.secondaryLeftPadding}`,secondaryLabelWithMain:`Table--secondaryLabelWithMain--UBULD ${l.A.locals.lightText} ${s.A.locals.secondaryLeftPadding} ${l.A.locals.lightText} ${l.A.locals.largeSize} ${s.A.locals.secondaryLeftPadding}`,tooltipIcon:"Table--tooltipIcon--QcUKP",rowTooltipIcon:"Table--rowTooltipIcon--aOeE7 Table--tooltipIcon--QcUKP",TableTooltipWrapper:"Table--TableTooltipWrapper--DKpZf"};const d=u},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),l=n(34945),s=n(20487),u=n(33152),d=i()(r());d.i(l.A,"",!0),d.i(s.A,"",!0),d.i(u.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.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:""}]),d.locals={collapsibleLabel:`TwoLineCollapsibleContainerLabel--collapsibleLabel--_Oy6e ${l.A.locals.settingsHeaderDecoration} ${l.A.locals.settingsHeaderLayout} ${l.A.locals.settingsHeaderText}`,labelContainer:`TwoLineCollapsibleContainerLabel--labelContainer--DTOsa ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText} ${s.A.locals.defaultSize} ${s.A.locals.mediumContrastText}`,norgieLabelContainer:`TwoLineCollapsibleContainerLabel--norgieLabelContainer--ufSOZ ${u.A.locals.norgie}`,mainText:`TwoLineCollapsibleContainerLabel--mainText--uNLSt ${s.A.locals.boldText} ${l.A.locals.mainHeaderText}`,secondaryText:`TwoLineCollapsibleContainerLabel--secondaryText--sLi0k ${l.A.locals.secondaryText} ${l.A.locals.secondaryText}`,secondaryLabel:`TwoLineCollapsibleContainerLabel--secondaryLabel--IdtCy ${s.A.locals.lightText} ${l.A.locals.secondaryText}`};const c=d},33152:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});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 l=i},34945:(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),l=n(20487),s=n(61872),u=i()(r());u.i(s.A),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.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:""}]),u.locals={settingsTable:`settings--settingsTable--d1jlz ${l.A.locals.defaultSize} ${l.A.locals.mediumContrastText} ${l.A.locals.defaultSize} ${l.A.locals.mediumContrastText}`,settingsTableInverted:`settings--settingsTableInverted--Wcnti settings--settingsTable--d1jlz ${l.A.locals.defaultSize} ${l.A.locals.mediumContrastText}`,basalTable:`settings--basalTable--iMM0H settings--settingsTable--d1jlz ${l.A.locals.defaultSize} ${l.A.locals.mediumContrastText} settings--settingsTable--d1jlz ${l.A.locals.defaultSize} ${l.A.locals.mediumContrastText} ${l.A.locals.defaultSize} ${l.A.locals.mediumContrastText}`,basalHeaderBackground:`settings--basalHeaderBackground--fh4zU settings--mainHeaderText--NHloQ ${l.A.locals.largeSize}`,automatedBasalHeaderBackground:"settings--automatedBasalHeaderBackground--z2KzO",bolusHeaderBackground:`settings--bolusHeaderBackground--NDSNR settings--mainHeaderText--NHloQ ${l.A.locals.largeSize}`,presetsHeaderBackground:"settings--presetsHeaderBackground--ojZbH",settingsHeaderDecoration:"settings--settingsHeaderDecoration--MThzZ",settingsHeaderHeight:"settings--settingsHeaderHeight--ptl6P",settingsHeaderLayout:"settings--settingsHeaderLayout--RDfgJ",settingsHeaderText:`settings--settingsHeaderText--rqMmg ${l.A.locals.defaultSize} ${l.A.locals.mediumContrastText} ${l.A.locals.boldText} ${l.A.locals.defaultSize} ${l.A.locals.mediumContrastText}`,settingsHeader:`settings--settingsHeader--M9AM7 settings--settingsHeaderDecoration--MThzZ settings--settingsHeaderHeight--ptl6P settings--settingsHeaderLayout--RDfgJ settings--settingsHeaderText--rqMmg ${l.A.locals.defaultSize} ${l.A.locals.mediumContrastText} ${l.A.locals.boldText}`,secondaryLeftPadding:"settings--secondaryLeftPadding--M8isl",secondaryText:`settings--secondaryText--OUAXq ${l.A.locals.lightText} ${l.A.locals.lightText} ${l.A.locals.largeSize}`,mainHeaderText:`settings--mainHeaderText--NHloQ ${l.A.locals.largeSize}`};const d=u},48896:(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),l=n(12283),s=i()(r());s.i(l.A,"",!0),s.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:""}]),s.locals={border:"CBGDateTraceAnimated--border--mtaT9",veryLow:`CBGDateTraceAnimated--veryLow--sjS5C CBGDateTraceAnimated--border--mtaT9 ${l.A.locals.bgVeryLow}`,low:`CBGDateTraceAnimated--low--mSdDN CBGDateTraceAnimated--border--mtaT9 ${l.A.locals.bgLow}`,target:`CBGDateTraceAnimated--target--VDRRV CBGDateTraceAnimated--border--mtaT9 ${l.A.locals.bgTarget}`,high:`CBGDateTraceAnimated--high--q6Zsk CBGDateTraceAnimated--border--mtaT9 ${l.A.locals.bgHigh}`,veryHigh:`CBGDateTraceAnimated--veryHigh--kqnIl CBGDateTraceAnimated--border--mtaT9 ${l.A.locals.bgVeryHigh}`};const u=s},45509:(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),l=n(6098),s=n(20487),u=i()(r());u.i(l.A,"",!0),u.i(s.A,"",!0),u.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:""}]),u.locals={container:`CBGDateTraceLabel--container--o9eGX ${l.A.locals.absolute} ${l.A.locals.smallHorizontalPadding}`,dateLabel:`CBGDateTraceLabel--dateLabel--MzhIo ${s.A.locals.highContrastText} ${s.A.locals.noWrap} ${s.A.locals.defaultSize}`};const d=u},78263:(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),l=n(12283),s=i()(r());s.i(l.A,"",!0),s.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:""}]),s.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 ${l.A.locals.bgVeryLow} CBGMedianAnimated--fadeinAnimation--utaIE`,veryLowFadeOut:`CBGMedianAnimated--veryLowFadeOut--jWEjT ${l.A.locals.bgVeryLow} CBGMedianAnimated--fadeoutAnimation--n13Mx`,lowFadeIn:`CBGMedianAnimated--lowFadeIn--EKzYQ ${l.A.locals.bgLow} CBGMedianAnimated--fadeinAnimation--utaIE`,lowFadeOut:`CBGMedianAnimated--lowFadeOut--VPbPd ${l.A.locals.bgLow} CBGMedianAnimated--fadeoutAnimation--n13Mx`,targetFadeIn:`CBGMedianAnimated--targetFadeIn--ElQaq ${l.A.locals.bgTarget} CBGMedianAnimated--fadeinAnimation--utaIE`,targetFadeOut:`CBGMedianAnimated--targetFadeOut--U4eiD ${l.A.locals.bgTarget} CBGMedianAnimated--fadeoutAnimation--n13Mx`,highFadeIn:`CBGMedianAnimated--highFadeIn--MczpY ${l.A.locals.bgHigh} CBGMedianAnimated--fadeinAnimation--utaIE`,highFadeOut:`CBGMedianAnimated--highFadeOut--p_Ovq ${l.A.locals.bgHigh} CBGMedianAnimated--fadeoutAnimation--n13Mx`,veryHighFadeIn:`CBGMedianAnimated--veryHighFadeIn--ZJV62 ${l.A.locals.bgVeryHigh} CBGMedianAnimated--fadeinAnimation--utaIE`,veryHighFadeOut:`CBGMedianAnimated--veryHighFadeOut--O_jFk ${l.A.locals.bgVeryHigh} CBGMedianAnimated--fadeoutAnimation--n13Mx`};const u=s},39817:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});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 l=i},68040:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});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 l=i},16895:(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),l=n(20487),s=i()(r());s.i(l.A,"",!0),s.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:""}]),s.locals={container:`RangeSelect--container--KDdQn ${l.A.locals.mediumContrastText} ${l.A.locals.defaultSize}`};const u=s},72705:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});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 l=i},31246:(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),l=n(6098),s=n(20487),u=i()(r());u.i(l.A,"",!0),u.i(s.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.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:""}]),u.locals={container:`FocusedRangeLabels--container--GM_jS ${l.A.locals.absolute} ${l.A.locals.smallHorizontalPadding}`,number:`FocusedRangeLabels--number--edNGe ${s.A.locals.boldText} ${s.A.locals.highContrastText} ${s.A.locals.noWrap} ${s.A.locals.largeSize}`,explainerText:`FocusedRangeLabels--explainerText--P2Zfa ${s.A.locals.highContrastText} ${s.A.locals.noWrap}`,timeLabel:`FocusedRangeLabels--timeLabel--VLclM ${s.A.locals.highContrastText} ${s.A.locals.noWrap} ${s.A.locals.defaultSize}`};const d=u},32576:(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),l=n(20487),s=i()(r());s.i(l.A,"",!0),s.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:""}]),s.locals={noDataMsg:`NoData--noDataMsg--GG3h3 ${l.A.locals.mediumContrastText} ${l.A.locals.svgMiddleAnchored}`};const u=s},87558:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});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 l=i},21347:(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),l=n(20487),s=i()(r());s.i(l.A,"",!0),s.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:""}]),s.locals={text:`XAxisLabels--text--W7v5M ${l.A.locals.axisSize} ${l.A.locals.mediumContrastText} ${l.A.locals.svgStartAnchored}`,focusedRange:`XAxisLabels--focusedRange--vS9RU ${l.A.locals.axisSize} ${l.A.locals.boldText} ${l.A.locals.mediumContrastText} ${l.A.locals.svgStartAnchored}`};const u=s},99070:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});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 l=i},51097:(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),l=n(20487),s=i()(r());s.i(l.A,"",!0),s.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:""}]),s.locals={text:`YAxisLabelsAndTicks--text--Kcm30 ${l.A.locals.axisSize} ${l.A.locals.mediumContrastText} ${l.A.locals.svgRightAnchored} ${l.A.locals.svgVerticalCentered}`,tick:"YAxisLabelsAndTicks--tick--E970H"};const u=s},71577:(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),l=n(6098),s=n(20487),u=i()(r());u.i(l.A,"",!0),u.i(s.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.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:""}]),u.locals={container:`FocusedSMBGPointLabel--container--nMn2V ${l.A.locals.absolute} ${l.A.locals.smallHorizontalPadding}`,number:`FocusedSMBGPointLabel--number--Cr9f6 ${s.A.locals.boldText} ${s.A.locals.highContrastText} ${s.A.locals.noWrap} ${s.A.locals.largeSize}`,explainerText:`FocusedSMBGPointLabel--explainerText--pbxlh ${s.A.locals.smallSize} ${s.A.locals.noWrap}`,detailNumber:`FocusedSMBGPointLabel--detailNumber--Qv6w4 FocusedSMBGPointLabel--explainerText--pbxlh ${s.A.locals.smallSize} ${s.A.locals.noWrap} FocusedSMBGPointLabel--number--Cr9f6 ${s.A.locals.boldText} ${s.A.locals.highContrastText} ${s.A.locals.noWrap} ${s.A.locals.largeSize}`,dateTime:`FocusedSMBGPointLabel--dateTime--aPVM_ FocusedSMBGPointLabel--explainerText--pbxlh ${s.A.locals.smallSize} ${s.A.locals.noWrap}`,subType:`FocusedSMBGPointLabel--subType--C_rK6 FocusedSMBGPointLabel--explainerText--pbxlh ${s.A.locals.smallSize} ${s.A.locals.noWrap}`,tipWrapper:"FocusedSMBGPointLabel--tipWrapper--BsXhM"};const d=u},95435:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});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 l=i},5112:(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),l=n(12283),s=i()(r());s.i(l.A,"",!0),s.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:""}]),s.locals={veryLow:`SMBGDatePointsAnimated--veryLow--GLeZS ${l.A.locals.bgVeryLow}`,low:`SMBGDatePointsAnimated--low--aBAQU ${l.A.locals.bgLow}`,target:`SMBGDatePointsAnimated--target--jmczA ${l.A.locals.bgTarget}`,high:`SMBGDatePointsAnimated--high--rn4b6 ${l.A.locals.bgHigh}`,veryHigh:`SMBGDatePointsAnimated--veryHigh--p6a8j ${l.A.locals.bgVeryHigh}`};const u=s},57778:(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),l=n(12283),s=i()(r());s.i(l.A,"",!0),s.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:""}]),s.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 ${l.A.locals.bgVeryLow} SMBGMeanAnimated--fadeinAnimation--YRVli`,veryLowFadeOut:`SMBGMeanAnimated--veryLowFadeOut--r5r8y ${l.A.locals.bgVeryLow} SMBGMeanAnimated--fadeoutAnimation--uVaMB`,lowFadeIn:`SMBGMeanAnimated--lowFadeIn--hQySO ${l.A.locals.bgLow} SMBGMeanAnimated--fadeinAnimation--YRVli`,lowFadeOut:`SMBGMeanAnimated--lowFadeOut--LHWzI ${l.A.locals.bgLow} SMBGMeanAnimated--fadeoutAnimation--uVaMB`,targetFadeIn:`SMBGMeanAnimated--targetFadeIn--pkKxu ${l.A.locals.bgTarget} SMBGMeanAnimated--fadeinAnimation--YRVli`,targetFadeOut:`SMBGMeanAnimated--targetFadeOut--jpIBS ${l.A.locals.bgTarget} SMBGMeanAnimated--fadeoutAnimation--uVaMB`,highFadeIn:`SMBGMeanAnimated--highFadeIn--zLVe7 ${l.A.locals.bgHigh} SMBGMeanAnimated--fadeinAnimation--YRVli`,highFadeOut:`SMBGMeanAnimated--highFadeOut--uW0ar ${l.A.locals.bgHigh} SMBGMeanAnimated--fadeoutAnimation--uVaMB`,veryHighFadeIn:`SMBGMeanAnimated--veryHighFadeIn--PIqyX ${l.A.locals.bgVeryHigh} SMBGMeanAnimated--fadeinAnimation--YRVli`,veryHighFadeOut:`SMBGMeanAnimated--veryHighFadeOut--GHnzD ${l.A.locals.bgVeryHigh} SMBGMeanAnimated--fadeoutAnimation--uVaMB`};const u=s},77860:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});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 l=i},61872:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});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}\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;AAC9B",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}\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 l=i},12283:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});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 l=i},6098:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});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 l=i},20487:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});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 l=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 l=0;l<this.length;l++){var s=this[l][0];null!=s&&(i[s]=!0)}for(var u=0;u<e.length;u++){var d=[].concat(e[u]);a&&i[d[0]]||(void 0!==o&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=o),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),r&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=r):d[4]="".concat(r)),t.push(d))}},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")}},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),l=n(35749);function s(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])}}s.prototype.clear=a,s.prototype.delete=r,s.prototype.get=o,s.prototype.has=i,s.prototype.set=l,e.exports=s},80079:(e,t,n)=>{var a=n(63702),r=n(70080),o=n(24739),i=n(48655),l=n(31175);function s(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])}}s.prototype.clear=a,s.prototype.delete=r,s.prototype.get=o,s.prototype.has=i,s.prototype.set=l,e.exports=s},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),l=n(72949);function s(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])}}s.prototype.clear=a,s.prototype.delete=r,s.prototype.get=o,s.prototype.has=i,s.prototype.set=l,e.exports=s},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),l=n(29817),s=n(80945);function u(e){var t=this.__data__=new a(e);this.size=t.size}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=l,u.prototype.set=s,e.exports=u},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),l=n(30361),s=n(37167),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),d=!n&&r(e),c=!n&&!d&&i(e),f=!n&&!d&&!c&&s(e),p=n||d||c||f,m=p?a(e.length,String):[],g=m.length;for(var A in e)!t&&!u.call(e,A)||p&&("length"==A||c&&("offset"==A||"parent"==A)||f&&("buffer"==A||"byteLength"==A||"byteOffset"==A)||l(A,g))||m.push(A);return m}},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}},83915:(e,t,n)=>{var a=n(38859),r=n(15325),o=n(29905),i=n(34932),l=n(27301),s=n(19219);e.exports=function(e,t,n,u){var d=-1,c=r,f=!0,p=e.length,m=[],g=t.length;if(!p)return m;n&&(t=i(t,l(n))),u?(c=o,f=!1):t.length>=200&&(c=s,f=!1,t=new a(t));e:for(;++d<p;){var A=e[d],h=null==n?A:n(A);if(A=u||0!==A?A:0,f&&h==h){for(var b=g;b--;)if(t[b]===h)continue e;m.push(A)}else c(t,h,u)||m.push(A)}return m}},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,l){var s=-1,u=t.length;for(o||(o=r),l||(l=[]);++s<u;){var d=t[s];n>0&&o(d)?n>1?e(d,n-1,o,i,l):a(l,d):i||(l[l.length]=d)}return l}},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)}},28599:(e,t,n)=>{var a=n(30641);e.exports=function(e,t,n,r){return a(e,(function(e,a,o){t(r,n(e),a,o)})),r}},27534:(e,t,n)=>{var a=n(72552),r=n(40346);e.exports=function(e){return r(e)&&"[object Arguments]"==a(e)}},60270:(e,t,n)=>{var a=n(87068),r=n(40346);e.exports=function e(t,n,o,i,l){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:a(t,n,o,i,e,l))}},87068:(e,t,n)=>{var a=n(37217),r=n(25911),o=n(21986),i=n(50689),l=n(5861),s=n(56449),u=n(3656),d=n(37167),c="[object Arguments]",f="[object Array]",p="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,A,h){var b=s(e),y=s(t),v=b?f:l(e),E=y?f:l(t),C=(v=v==c?p:v)==p,T=(E=E==c?p:E)==p,B=v==E;if(B&&u(e)){if(!u(t))return!1;b=!0,C=!1}if(B&&!C)return h||(h=new a),b||d(e)?r(e,t,n,g,A,h):o(e,t,v,n,g,A,h);if(!(1&n)){var S=C&&m.call(e,"__wrapped__"),x=T&&m.call(t,"__wrapped__");if(S||x){var w=S?e.value():e,I=x?t.value():t;return h||(h=new a),A(w,I,n,g,h)}}return!!B&&(h||(h=new a),i(e,t,n,g,A,h))}},41799:(e,t,n)=>{var a=n(37217),r=n(60270);e.exports=function(e,t,n,o){var i=n.length,l=i,s=!o;if(null==e)return!l;for(e=Object(e);i--;){var u=n[i];if(s&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i<l;){var d=(u=n[i])[0],c=e[d],f=u[1];if(s&&u[2]){if(void 0===c&&!(d in e))return!1}else{var p=new a;if(o)var m=o(c,f,d,e,t,p);if(!(void 0===m?r(f,c,3,o,p):m))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),l=/^\[object .+?Constructor\]$/,s=Function.prototype,u=Object.prototype,d=s.toString,c=u.hasOwnProperty,f=RegExp("^"+d.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||r(e))&&(a(e)?f:l).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),l=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):l(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 l in e)("constructor"!=l||!t&&i.call(e,l))&&n.push(l);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),l=n(30756),s=n(67197),u=n(77797);e.exports=function(e,t){return i(e)&&l(t)?s(u(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),l=n(73937),s=n(27301),u=n(43714),d=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})):[d];var f=-1;t=a(t,s(o));var p=i(e,(function(e,n,r){return{criteria:a(t,(function(t){return t(e)})),index:++f,value:e}}));return l(p,(function(e,t){return u(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,l=t.length,s={};++i<l;){var u=t[i],d=a(e,u);n(d,u)&&r(s,o(u,e),d)}return s}},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)}}},86151:e=>{var t=Math.ceil,n=Math.max;e.exports=function(e,a,r,o){for(var i=-1,l=n(t((a-e)/(r||1)),0),s=Array(l);l--;)s[o?l:++i]=e,e+=r;return s}},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),l=n(77797);e.exports=function(e,t,n,s){if(!i(e))return e;for(var u=-1,d=(t=r(t,e)).length,c=d-1,f=e;null!=f&&++u<d;){var p=l(t[u]),m=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return e;if(u!=c){var g=f[p];void 0===(m=s?s(g,p,f):void 0)&&(m=i(g)?g:o(t[u+1])?[]:{})}a(f,p,m),f=f[p]}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},90916:(e,t,n)=>{var a=n(80909);e.exports=function(e,t){var n;return a(e,(function(e,a,r){return!(n=t(e,a,r))})),!!n}},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 l=e[n],s=t?t(l):l;if(!n||!a(s,u)){var u=s;i[o++]=0===l?0:l}}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),l=a?a.prototype:void 0,s=l?l.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 s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},54128:(e,t,n)=>{var a=n(31800),r=/^\s+/;e.exports=function(e){return e?e.slice(0,a(e)+1).replace(r,""):e}},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),l=n(44517),s=n(84247);e.exports=function(e,t,n){var u=-1,d=r,c=e.length,f=!0,p=[],m=p;if(n)f=!1,d=o;else if(c>=200){var g=t?null:l(e);if(g)return s(g);f=!1,d=i,m=new a}else m=t?[]:p;e:for(;++u<c;){var A=e[u],h=t?t(A):A;if(A=n||0!==A?A:0,f&&h==h){for(var b=m.length;b--;)if(m[b]===h)continue e;t&&m.push(h),p.push(A)}else d(m,h,n)||(m!==p&&m.push(h),p.push(A))}return p}},30514:(e,t,n)=>{var a=n(34932);e.exports=function(e,t){return a(t,(function(t){return e[t]}))}},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),l=void 0!==t,s=null===t,u=t==t,d=a(t);if(!s&&!d&&!i&&e>t||i&&l&&u&&!s&&!d||r&&l&&u||!n&&u||!o)return 1;if(!r&&!i&&!d&&e<t||d&&n&&o&&!r&&!i||s&&n&&o||!l&&o||!u)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,l=o.length,s=n.length;++r<l;){var u=a(o[r],i[r]);if(u)return r>=s?u:u*("desc"==n[r]?-1:1)}return e.index-t.index}},21791:(e,t,n)=>{var a=n(16547),r=n(43360);e.exports=function(e,t,n,o){var i=!n;n||(n={});for(var l=-1,s=t.length;++l<s;){var u=t[l],d=o?o(n[u],e[u],u,n,e):void 0;void 0===d&&(d=e[u]),i?r(n,u,d):a(n,u,d)}return n}},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,l){var s=i(n)?a:r,u=t?t():{};return s(n,e,o(l,2),u)}}},20999:(e,t,n)=>{var a=n(69302),r=n(36800);e.exports=function(e){return a((function(t,n){var a=-1,o=n.length,i=o>1?n[o-1]:void 0,l=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,l&&r(n[0],n[1],l)&&(i=o<3?void 0:i,o=1),t=Object(t);++a<o;){var s=n[a];s&&e(t,s,a,i)}return t}))}},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,l=Object(n);(t?i--:++i<o)&&!1!==r(l[i],i,l););return n}}},83221:e=>{e.exports=function(e){return function(t,n,a){for(var r=-1,o=Object(t),i=a(t),l=i.length;l--;){var s=i[e?l:++r];if(!1===n(o[s],s,o))break}return t}}},62006:(e,t,n)=>{var a=n(15389),r=n(64894),o=n(95950);e.exports=function(e){return function(t,n,i){var l=Object(t);if(!r(t)){var s=a(n,3);t=o(t),n=function(e){return s(l[e],e,l)}}var u=e(t,n,i);return u>-1?l[s?t[u]:u]:void 0}}},56958:(e,t,n)=>{var a=n(28599);e.exports=function(e,t){return function(n,r){return a(n,e,t(r),{})}}},85508:(e,t,n)=>{var a=n(86151),r=n(36800),o=n(17400);e.exports=function(e){return function(t,n,i){return i&&"number"!=typeof i&&r(t,n,i)&&(n=i=void 0),t=o(t),void 0===n?(n=t,t=0):n=o(n),i=void 0===i?t<n?1:-1:o(i),a(t,n,i,e)}}},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,l,s){var u=1&n,d=e.length,c=t.length;if(d!=c&&!(u&&c>d))return!1;var f=s.get(e),p=s.get(t);if(f&&p)return f==t&&p==e;var m=-1,g=!0,A=2&n?new a:void 0;for(s.set(e,t),s.set(t,e);++m<d;){var h=e[m],b=t[m];if(i)var y=u?i(b,h,m,t,e,s):i(h,b,m,e,t,s);if(void 0!==y){if(y)continue;g=!1;break}if(A){if(!r(t,(function(e,t){if(!o(A,t)&&(h===e||l(h,e,n,i,s)))return A.push(t)}))){g=!1;break}}else if(h!==b&&!l(h,b,n,i,s)){g=!1;break}}return s.delete(e),s.delete(t),g}},21986:(e,t,n)=>{var a=n(51873),r=n(37828),o=n(75288),i=n(25911),l=n(20317),s=n(84247),u=a?a.prototype:void 0,d=u?u.valueOf:void 0;e.exports=function(e,t,n,a,u,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 p=l;case"[object Set]":var m=1&a;if(p||(p=s),e.size!=t.size&&!m)return!1;var g=f.get(e);if(g)return g==t;a|=2,f.set(e,t);var A=i(p(e),p(t),a,u,c,f);return f.delete(e),A;case"[object Symbol]":if(d)return d.call(e)==d.call(t)}return!1}},50689:(e,t,n)=>{var a=n(50002),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,i,l){var s=1&n,u=a(e),d=u.length;if(d!=a(t).length&&!s)return!1;for(var c=d;c--;){var f=u[c];if(!(s?f in t:r.call(t,f)))return!1}var p=l.get(e),m=l.get(t);if(p&&m)return p==t&&m==e;var g=!0;l.set(e,t),l.set(t,e);for(var A=s;++c<d;){var h=e[f=u[c]],b=t[f];if(o)var y=s?o(b,h,f,t,e,l):o(h,b,f,e,t,l);if(!(void 0===y?h===b||i(h,b,n,o,l):y)){g=!1;break}A||(A="constructor"==f)}if(g&&!A){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 l.delete(e),l.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,l=a?a.toStringTag:void 0;e.exports=function(e){var t=o.call(e,l),n=e[l];try{e[l]=void 0;var a=!0}catch(e){}var r=i.call(e);return a&&(t?e[l]=n:delete e[l]),r}},4664:(e,t,n)=>{var a=n(79770),r=n(63345),o=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),a(i(e),(function(t){return o.call(e,t)})))}:r;e.exports=l},86375:(e,t,n)=>{var a=n(14528),r=n(28879),o=n(4664),i=n(63345),l=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)a(t,o(e)),e=r(e);return t}:i;e.exports=l},5861:(e,t,n)=>{var a=n(55580),r=n(68223),o=n(32804),i=n(76545),l=n(28303),s=n(72552),u=n(47473),d="[object Map]",c="[object Promise]",f="[object Set]",p="[object WeakMap]",m="[object DataView]",g=u(a),A=u(r),h=u(o),b=u(i),y=u(l),v=s;(a&&v(new a(new ArrayBuffer(1)))!=m||r&&v(new r)!=d||o&&v(o.resolve())!=c||i&&v(new i)!=f||l&&v(new l)!=p)&&(v=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,a=n?u(n):"";if(a)switch(a){case g:return m;case A:return d;case h:return c;case b:return f;case y:return p}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),l=n(30294),s=n(77797);e.exports=function(e,t,n){for(var u=-1,d=(t=a(t,e)).length,c=!1;++u<d;){var f=s(t[u]);if(!(c=null!=e&&n(e,f)))break;e=e[f]}return c||++u!=d?c:!!(d=null==e?0:e.length)&&l(d)&&i(f,d)&&(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 l=typeof t;return!!("number"==l?r(n)&&o(t,n.length):"string"==l&&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,l=function(){try{return o&&o.require&&o.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l},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,l=r(o.length-t,0),s=Array(l);++i<l;)s[i]=o[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=o[i];return u[t]=n(s),a(e,this,u)}}},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""}},31800:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},86139:(e,t,n)=>{var a=n(16547),r=n(21791),o=n(20999),i=n(64894),l=n(55527),s=n(95950),u=Object.prototype.hasOwnProperty,d=o((function(e,t){if(l(t)||i(t))r(t,s(t),e);else for(var n in t)u.call(t,n)&&a(e,n,t[n])}));e.exports=d},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),l=Object.prototype,s=l.hasOwnProperty,u=a((function(e,t){e=Object(e);var n=-1,a=t.length,u=a>2?t[2]:void 0;for(u&&o(t[0],t[1],u)&&(a=1);++n<a;)for(var d=t[n],c=i(d),f=-1,p=c.length;++f<p;){var m=c[f],g=e[m];(void 0===g||r(g,l[m])&&!s.call(e,m))&&(e[m]=d[m])}return e}));e.exports=u},75288:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},7309:(e,t,n)=>{var a=n(62006)(n(24713));e.exports=a},24713:(e,t,n)=>{var a=n(2523),r=n(15389),o=n(61489),i=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var s=null==n?0:o(n);return s<0&&(s=i(l+s,0)),a(e,r(t,3),s)}},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}},79859:(e,t,n)=>{var a=n(96131),r=n(64894),o=n(85015),i=n(61489),l=n(35880),s=Math.max;e.exports=function(e,t,n,u){e=r(e)?e:l(e),n=n&&!u?i(n):0;var d=e.length;return n<0&&(n=s(d+n,0)),o(e)?n<=d&&e.indexOf(t,n)>-1:!!d&&a(e,t,n)>-1}},40866:(e,t,n)=>{var a=n(37334),r=n(56958),o=n(83488),i=Object.prototype.toString,l=r((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=i.call(t)),e[t]=n}),a(o));e.exports=l},72428:(e,t,n)=>{var a=n(27534),r=n(40346),o=Object.prototype,i=o.hasOwnProperty,l=o.propertyIsEnumerable,s=a(function(){return arguments}())?a:function(e){return r(e)&&i.call(e,"callee")&&!l.call(e,"callee")};e.exports=s},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)}},83693:(e,t,n)=>{var a=n(64894),r=n(40346);e.exports=function(e){return r(e)&&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,l=i&&i.exports===o?a.Buffer:void 0,s=(l?l.isBuffer:void 0)||r;e.exports=s},62193:(e,t,n)=>{var a=n(88984),r=n(5861),o=n(72428),i=n(56449),l=n(64894),s=n(3656),u=n(55527),d=n(37167),c=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(l(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||s(e)||d(e)||o(e)))return!e.length;var t=r(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(u(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}},69843:e=>{e.exports=function(e){return null==e}},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,l=Object.prototype,s=i.toString,u=l.hasOwnProperty,d=s.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=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==d}},85015:(e,t,n)=>{var a=n(72552),r=n(56449),o=n(40346);e.exports=function(e){return"string"==typeof e||!r(e)&&o(e)&&"[object String]"==a(e)}},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,l=i?r(i):a;e.exports=l},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)}},68090:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},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},63950:e=>{e.exports=function(){}},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)}},23181:(e,t,n)=>{var a=n(85508)();e.exports=a},42426:(e,t,n)=>{var a=n(14248),r=n(15389),o=n(90916),i=n(56449),l=n(36800);e.exports=function(e,t,n){var s=i(e)?a:o;return n&&l(e,t,n)&&(t=void 0),s(e,r(t,3))}},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}},17400:(e,t,n)=>{var a=n(99374),r=1/0;e.exports=function(e){return e?(e=a(e))===r||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},61489:(e,t,n)=>{var a=n(17400);e.exports=function(e){var t=a(e),n=t%1;return t==t?n?t-n:t:0}},99374:(e,t,n)=>{var a=n(54128),r=n(23805),o=n(44394),i=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=a(e);var n=l.test(e);return n||s.test(e)?u(e.slice(2),n?2:8):i.test(e)?NaN:+e}},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):[]}},97200:(e,t,n)=>{var a=n(13222),r=0;e.exports=function(e){var t=++r;return a(e)+t}},35880:(e,t,n)=>{var a=n(30514),r=n(95950);e.exports=function(e){return null==e?[]:a(e,r(e))}},91648:(e,t,n)=>{var a=n(83915),r=n(69302),o=n(83693),i=r((function(e,t){return o(e)?a(e,t):[]}));e.exports=i},30115:e=>{"use strict";var t=Array.isArray,n=Object.keys,a=Object.prototype.hasOwnProperty,r="undefined"!=typeof Element;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){var l,s,u,d=t(e),c=t(i);if(d&&c){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(!o(e[l],i[l]))return!1;return!0}if(d!=c)return!1;var f=e instanceof Date,p=i instanceof Date;if(f!=p)return!1;if(f&&p)return e.getTime()==i.getTime();var m=e instanceof RegExp,g=i instanceof RegExp;if(m!=g)return!1;if(m&&g)return e.toString()==i.toString();var A=n(e);if((s=A.length)!==n(i).length)return!1;for(l=s;0!=l--;)if(!a.call(i,A[l]))return!1;if(r&&e instanceof Element&&i instanceof Element)return e===i;for(l=s;0!=l--;)if(!("_owner"===(u=A[l])&&e.$$typeof||o(e[u],i[u])))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(50535),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(40916),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(15651),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(34788),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(87145),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(51619),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(47064),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(90524),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(49090),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(7873),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(74423),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(89295),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(45639),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(47379),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(18560),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(17387),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(25099),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(21369),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(48643),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(70524),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(35347),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(33152),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(48896),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(45509),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(78263),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(39817),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(68040),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(16895),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(72705),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(31246),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(32576),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(87558),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(21347),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(99070),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(51097),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(71577),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(95435),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(5112),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(57778),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(77860),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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),l=n(77659),s=n.n(l),u=n(55056),d=n.n(u),c=n(10540),f=n.n(c),p=n(41113),m=n.n(p),g=n(61872),A={};A.styleTagTransform=m(),A.setAttributes=d(),A.insert=s().bind(null,"head"),A.domAPI=i(),A.insertStyleElement=f(),r()(g.A,A);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=[],l=0;l<e.length;l++){var s=e[l],u=a.base?s[0]+a.base:s[0],d=o[u]||0,c="".concat(u," ").concat(d);o[u]=d+1;var f=n(c),p={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var m=r(p,a);a.byIndex=l,t.splice(l,0,{identifier:c,updater:m,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 l=n(o[i]);t[l].references--}for(var s=a(e,r),u=0;u<o.length;u++){var d=n(o[u]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}o=s}}},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))}}},97302:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Arc:()=>Ta,Axis:()=>Oo,Border:()=>xa,Box:()=>xa,Circle:()=>Wn,ClipPath:()=>Un,Collection:()=>On,CommonProps:()=>ha,Data:()=>Mr,DefaultTransitions:()=>Nr,Domain:()=>Kr,Events:()=>nr,Helpers:()=>Zt,Immutable:()=>Er,LabelHelpers:()=>mn,Line:()=>Oa,LineSegment:()=>Da,Log:()=>Dt,Path:()=>va,Point:()=>ja,Portal:()=>Ht,PropTypes:()=>jt,Rect:()=>$n,Scale:()=>vr,Selection:()=>to,Style:()=>An,TSpan:()=>yn,Text:()=>Cn,TextSize:()=>co,Timer:()=>mt,Transitions:()=>Rn,VictoryAnimation:()=>yt,VictoryClipContainer:()=>Kn,VictoryContainer:()=>an,VictoryLabel:()=>Sn,VictoryPortal:()=>sn,VictoryTheme:()=>ga,VictoryTransition:()=>Gn,Whisker:()=>Ha,Wrapper:()=>Po,addEvents:()=>sr});var a={};n.r(a),n.d(a,{easeBack:()=>V,easeBackIn:()=>z,easeBackInOut:()=>V,easeBackOut:()=>W,easeBounce:()=>H,easeBounceIn:()=>G,easeBounceInOut:()=>U,easeBounceOut:()=>H,easeCircle:()=>O,easeCircleIn:()=>w,easeCircleInOut:()=>O,easeCircleOut:()=>I,easeCubic:()=>m,easeCubicIn:()=>f,easeCubicInOut:()=>m,easeCubicOut:()=>p,easeElastic:()=>X,easeElasticIn:()=>$,easeElasticInOut:()=>Q,easeElasticOut:()=>X,easeExp:()=>x,easeExpIn:()=>B,easeExpInOut:()=>x,easeExpOut:()=>S,easeLinear:()=>s,easePoly:()=>h,easePolyIn:()=>g,easePolyInOut:()=>h,easePolyOut:()=>A,easeQuad:()=>c,easeQuadIn:()=>u,easeQuadInOut:()=>c,easeQuadOut:()=>d,easeSin:()=>C,easeSinIn:()=>v,easeSinInOut:()=>C,easeSinOut:()=>E});var r=n(82015),o=n.n(r),i=n(29825),l=n.n(i);function s(e){return+e}function u(e){return e*e}function d(e){return e*(2-e)}function c(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function f(e){return e*e*e}function p(e){return--e*e*e+1}function m(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var g=function e(t){function n(e){return Math.pow(e,t)}return t=+t,n.exponent=e,n}(3),A=function e(t){function n(e){return 1-Math.pow(1-e,t)}return t=+t,n.exponent=e,n}(3),h=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),b=Math.PI,y=b/2;function v(e){return 1==+e?1:1-Math.cos(e*y)}function E(e){return Math.sin(e*y)}function C(e){return(1-Math.cos(b*e))/2}function T(e){return 1.0009775171065494*(Math.pow(2,-10*e)-.0009765625)}function B(e){return T(1-+e)}function S(e){return 1-T(e)}function x(e){return((e*=2)<=1?T(1-e):2-T(e-1))/2}function w(e){return 1-Math.sqrt(1-e*e)}function I(e){return Math.sqrt(1- --e*e)}function O(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}var L=4/11,P=6/11,D=8/11,k=3/4,M=9/11,N=10/11,R=15/16,_=21/22,j=63/64,F=1/L/L;function G(e){return 1-H(1-e)}function H(e){return(e=+e)<L?F*e*e:e<D?F*(e-=P)*e+k:e<N?F*(e-=M)*e+R:F*(e-=_)*e+j}function U(e){return((e*=2)<=1?1-H(1-e):H(e-1)+1)/2}var Y=1.70158,z=function e(t){function n(e){return(e=+e)*e*(t*(e-1)+e)}return t=+t,n.overshoot=e,n}(Y),W=function e(t){function n(e){return--e*e*((e+1)*t+e)+1}return t=+t,n.overshoot=e,n}(Y),V=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}(Y),q=2*Math.PI,$=function e(t,n){var a=Math.asin(1/(t=Math.max(1,t)))*(n/=q);function r(e){return t*T(- --e)*Math.sin((a-e)/n)}return r.amplitude=function(t){return e(t,n*q)},r.period=function(n){return e(t,n)},r}(1,.3),X=function e(t,n){var a=Math.asin(1/(t=Math.max(1,t)))*(n/=q);function r(e){return 1-t*T(e=+e)*Math.sin((e+a)/n)}return r.amplitude=function(t){return e(t,n*q)},r.period=function(n){return e(t,n)},r}(1,.3),Q=function e(t,n){var a=Math.asin(1/(t=Math.max(1,t)))*(n/=q);function r(e){return((e=2*e-1)<0?t*T(-e)*Math.sin((a-e)/n):2-t*T(e)*Math.sin((a+e)/n))/2}return r.amplitude=function(t){return e(t,n*q)},r.period=function(n){return e(t,n)},r}(1,.3),K=n(42877),Z=n.n(K),J=n(11331),ee=n.n(J);function te(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function ne(e,t){var n=Object.create(e.prototype);for(var a in t)n[a]=t[a];return n}function ae(){}var re=.7,oe=1/re,ie="\\s*([+-]?\\d+)\\s*",le="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",se="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ue=/^#([0-9a-f]{3,8})$/,de=new RegExp("^rgb\\("+[ie,ie,ie]+"\\)$"),ce=new RegExp("^rgb\\("+[se,se,se]+"\\)$"),fe=new RegExp("^rgba\\("+[ie,ie,ie,le]+"\\)$"),pe=new RegExp("^rgba\\("+[se,se,se,le]+"\\)$"),me=new RegExp("^hsl\\("+[le,se,se]+"\\)$"),ge=new RegExp("^hsla\\("+[le,se,se,le]+"\\)$"),Ae={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 he(){return this.rgb().formatHex()}function be(){return this.rgb().formatRgb()}function ye(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=ue.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?ve(t):3===n?new Te(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Ee(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Ee(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=de.exec(e))?new Te(t[1],t[2],t[3],1):(t=ce.exec(e))?new Te(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=fe.exec(e))?Ee(t[1],t[2],t[3],t[4]):(t=pe.exec(e))?Ee(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=me.exec(e))?we(t[1],t[2]/100,t[3]/100,1):(t=ge.exec(e))?we(t[1],t[2]/100,t[3]/100,t[4]):Ae.hasOwnProperty(e)?ve(Ae[e]):"transparent"===e?new Te(NaN,NaN,NaN,0):null}function ve(e){return new Te(e>>16&255,e>>8&255,255&e,1)}function Ee(e,t,n,a){return a<=0&&(e=t=n=NaN),new Te(e,t,n,a)}function Ce(e,t,n,a){return 1===arguments.length?((r=e)instanceof ae||(r=ye(r)),r?new Te((r=r.rgb()).r,r.g,r.b,r.opacity):new Te):new Te(e,t,n,null==a?1:a);var r}function Te(e,t,n,a){this.r=+e,this.g=+t,this.b=+n,this.opacity=+a}function Be(){return"#"+xe(this.r)+xe(this.g)+xe(this.b)}function Se(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function xe(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function we(e,t,n,a){return a<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Oe(e,t,n,a)}function Ie(e){if(e instanceof Oe)return new Oe(e.h,e.s,e.l,e.opacity);if(e instanceof ae||(e=ye(e)),!e)return new Oe;if(e instanceof Oe)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,l=o-r,s=(o+r)/2;return l?(i=t===o?(n-a)/l+6*(n<a):n===o?(a-t)/l+2:(t-n)/l+4,l/=s<.5?o+r:2-o-r,i*=60):l=s>0&&s<1?0:i,new Oe(i,l,s,e.opacity)}function Oe(e,t,n,a){this.h=+e,this.s=+t,this.l=+n,this.opacity=+a}function Le(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 Pe(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}function De(e){return function(){return e}}function ke(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):De(isNaN(e)?t:e)}te(ae,ye,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:he,formatHex:he,formatHsl:function(){return Ie(this).formatHsl()},formatRgb:be,toString:be}),te(Te,Ce,ne(ae,{brighter:function(e){return e=null==e?oe:Math.pow(oe,e),new Te(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?re:Math.pow(re,e),new Te(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){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:Be,formatHex:Be,formatRgb:Se,toString:Se})),te(Oe,(function(e,t,n,a){return 1===arguments.length?Ie(e):new Oe(e,t,n,null==a?1:a)}),ne(ae,{brighter:function(e){return e=null==e?oe:Math.pow(oe,e),new Oe(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?re:Math.pow(re,e),new Oe(this.h,this.s,this.l*e,this.opacity)},rgb:function(){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 Te(Le(e>=240?e-240:e+120,r,a),Le(e,r,a),Le(e<120?e+240:e-120,r,a),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));const Me=function e(t){var n=function(e){return 1==(e=+e)?ke: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):De(isNaN(t)?n:t)}}(t);function a(e,t){var a=n((e=Ce(e)).r,(t=Ce(t)).r),r=n(e.g,t.g),o=n(e.b,t.b),i=ke(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 Ne(e){return function(t){var n,a,r=t.length,o=new Array(r),i=new Array(r),l=new Array(r);for(n=0;n<r;++n)a=Ce(t[n]),o[n]=a.r||0,i[n]=a.g||0,l[n]=a.b||0;return o=e(o),i=e(i),l=e(l),a.opacity=1,function(e){return a.r=o(e),a.g=i(e),a.b=l(e),a+""}}}function Re(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]=ze(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 _e(e,t){var n=new Date;return e=+e,t=+t,function(a){return n.setTime(e*(1-a)+t*a),n}}function je(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Fe(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]=ze(e[n],t[n]):r[n]=t[n];return function(e){for(n in a)r[n]=a[n](e);return r}}Ne((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,l=a<t-1?e[a+2]:2*o-r;return Pe((n-a/t)*t,i,r,o,l)}})),Ne((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],l=e[(a+2)%t];return Pe((n-a/t)*t,r,o,i,l)}}));var Ge=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,He=new RegExp(Ge.source,"g");function Ue(e,t){var n,a,r,o=Ge.lastIndex=He.lastIndex=0,i=-1,l=[],s=[];for(e+="",t+="";(n=Ge.exec(e))&&(a=He.exec(t));)(r=a.index)>o&&(r=t.slice(o,r),l[i]?l[i]+=r:l[++i]=r),(n=n[0])===(a=a[0])?l[i]?l[i]+=a:l[++i]=a:(l[++i]=null,s.push({i,x:je(n,a)})),o=He.lastIndex;return o<t.length&&(r=t.slice(o),l[i]?l[i]+=r:l[++i]=r),l.length<2?s[0]?function(e){return function(t){return e(t)+""}}(s[0].x):function(e){return function(){return e}}(t):(t=s.length,function(e){for(var n,a=0;a<t;++a)l[(n=s[a]).i]=n.x(e);return l.join("")})}function Ye(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 ze(e,t){var n,a,r=typeof t;return null==t||"boolean"===r?De(t):("number"===r?je:"string"===r?(n=ye(t))?(t=n,Me):Ue:t instanceof ye?Me:t instanceof Date?_e:(a=t,!ArrayBuffer.isView(a)||a instanceof DataView?Array.isArray(t)?Re:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Fe:je:Ye))(e,t)}var We,Ve,qe=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)||ee()(e)}return!1},$e=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(a){return a<n?e:t}},Xe=function(e,t){return function(n){return n>=1?t:function(){return ze("function"==typeof e?e.apply(this,arguments):e,"function"==typeof t?t.apply(this,arguments):t)(n)}}},Qe=function(e,t){var n,a,r,o=function(e){return Array.isArray(e)?Z()(e,"key"):e},i={},l={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?i[n]=(a=o(e[n]))!==(r=o(t[n]))&&qe(a)&&qe(r)?"function"==typeof a||"function"==typeof r?Xe(a,r):"object"==typeof a&&ee()(a)||"object"==typeof r&&ee()(r)?Qe(a,r):ze(a,r):$e(a,r):l[n]=t[n];return function(e){for(n in i)l[n]=i[n](e);return l}},Ke=0,Ze=0,Je=0,et=1e3,tt=0,nt=0,at=0,rt="object"==typeof performance&&performance.now?performance:Date,ot="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function it(){return nt||(ot(lt),nt=rt.now()+at)}function lt(){nt=0}function st(){this._call=this._time=this._next=null}function ut(e,t,n){var a=new st;return a.restart(e,t,n),a}function dt(){nt=(tt=rt.now())+at,Ke=Ze=0;try{!function(){it(),++Ke;for(var e,t=We;t;)(e=nt-t._time)>=0&&t._call.call(null,e),t=t._next;--Ke}()}finally{Ke=0,function(){for(var e,t,n=We,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:We=t);Ve=e,ft(a)}(),nt=0}}function ct(){var e=rt.now(),t=e-tt;t>et&&(at-=t,tt=e)}function ft(e){Ke||(Ze&&(Ze=clearTimeout(Ze)),e-nt>24?(e<1/0&&(Ze=setTimeout(dt,e-rt.now()-at)),Je&&(Je=clearInterval(Je))):(Je||(tt=rt.now(),Je=setInterval(ct,et)),Ke=1,ot(dt)))}function pt(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}st.prototype=ut.prototype={constructor:st,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?it():+n)+(null==t?0:+t),this._next||Ve===this||(Ve?Ve._next=this:We=this,Ve=this),this._call=e,this._time=n,ft()},stop:function(){this._call&&(this._call=null,this._time=1/0,ft())}};var mt=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.shouldAnimate=!0,this.subscribers=[],this.loop=this.loop.bind(this),this.timer=ut(this.loop)}var t,n;return t=e,(n=[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"loop",value:function(){this.subscribers.forEach((function(e){e.callback(it()-e.startTime,e.duration)}))}},{key:"start",value:function(){this.timer.start()}},{key:"stop",value:function(){this.timer.stop()}},{key:"subscribe",value:function(e,t){return t=this.shouldAnimate?t:0,this.subscribers.push({startTime:it(),callback:e,duration:t})}},{key:"unsubscribe",value:function(e){null!==e&&delete this.subscribers[e-1]}}])&&pt(t.prototype,n),e}(),gt=n(30115),At=n.n(gt);function ht(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function bt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var yt=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?bt(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).state={data:Array.isArray(n.props.data)?n.props.data[0]:n.props.data,animationInfo:{progress:0,animating:!1}},n.interpolator=null,n.queue=Array.isArray(n.props.data)?n.props.data.slice(1):[],n.ease=a[n.toNewName(n.props.easing)],n.functionToBeRunEachFrame=n.functionToBeRunEachFrame.bind(bt(n)),n.getTimer=n.getTimer.bind(bt(n)),n}var n,r;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.queue.length&&this.traverseQueue()}},{key:"shouldComponentUpdate",value:function(e,t){var n,a,r=At()(this.props,e);return r||(this.getTimer().unsubscribe(this.loopID),Array.isArray(e.data)?(n=this.queue).push.apply(n,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(a=e.data)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()):(this.queue.length=0,this.queue.push(e.data)),this.traverseQueue()),t.animationInfo.animating||!r}},{key:"componentWillUnmount",value:function(){this.loopID?this.getTimer().unsubscribe(this.loopID):this.getTimer().stop()}},{key:"getTimer",value:function(){return this.context.getTimer?this.context.getTimer():(this.timer||(this.timer=new mt),this.timer)}},{key:"toNewName",value:function(e){var t;return"ease".concat((t=e)&&t[0].toUpperCase()+t.slice(1))}},{key:"traverseQueue",value:function(){var e,t,n=this;if(this.queue.length){var a=this.queue[0];this.interpolator=(e=this.state.data)!==(t=a)&&qe(e)&&qe(t)?"function"==typeof e||"function"==typeof t?Xe(e,t):ee()(e)||ee()(t)?Qe(e,t):"string"==typeof e||"string"==typeof t?function(e,t){var n=function(e){return"string"==typeof e?e.replace(/,/g,""):e};return ze(n(e),n(t))}(e,t):ze(e,t):$e(e,t),this.props.delay?setTimeout((function(){n.loopID=n.getTimer().subscribe(n.functionToBeRunEachFrame,n.props.duration)}),this.props.delay):this.loopID=this.getTimer().subscribe(this.functionToBeRunEachFrame,this.props.duration)}else this.props.onEnd&&this.props.onEnd()}},{key:"functionToBeRunEachFrame",value:function(e,t){var n=(t=void 0!==t?t:this.props.duration)?e/t:1;if(n>=1)return this.setState({data:this.interpolator(1),animationInfo:{progress:1,animating:!1}}),this.loopID&&this.getTimer().unsubscribe(this.loopID),this.queue.shift(),void this.traverseQueue();this.setState({data:this.interpolator(this.ease(n)),animationInfo:{progress:n,animating:n<1}})}},{key:"render",value:function(){return this.props.children(this.state.data,this.state.animationInfo)}}])&&ht(n.prototype,r),t}(o().Component);Object.defineProperty(yt,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryAnimation"}),Object.defineProperty(yt,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:l().func,data:l().oneOfType([l().object,l().array]),delay:l().number,duration:l().number,easing:l().oneOf(["back","backIn","backOut","backInOut","bounce","bounceIn","bounceOut","bounceInOut","circle","circleIn","circleOut","circleInOut","linear","linearIn","linearOut","linearInOut","cubic","cubicIn","cubicOut","cubicInOut","elastic","elasticIn","elasticOut","elasticInOut","exp","expIn","expOut","expInOut","poly","polyIn","polyOut","polyInOut","quad","quadIn","quadOut","quadInOut","sin","sinIn","sinOut","sinInOut"]),onEnd:l().func}}),Object.defineProperty(yt,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{data:{},delay:0,duration:1e3,easing:"quadInOut"}}),Object.defineProperty(yt,"contextTypes",{configurable:!0,enumerable:!0,writable:!0,value:{getTimer:l().func}});var vt=n(23805),Et=n.n(vt),Ct=n(97200),Tt=n.n(Ct),Bt=n(84684),St=n.n(Bt),xt=n(86139),wt=n.n(xt),It=n(7309),Ot=n.n(It),Lt=n(1882),Pt=n.n(Lt);const Dt={warn:function(e){}};var kt=function(e){var t=function(t,n,a,r){if(null==n[a])return t?new Error("Required `".concat(a,"` was not specified in `").concat(r,"`.")):null;for(var o=arguments.length,i=new Array(o>4?o-4:0),l=4;l<o;l++)i[l-4]=arguments[l];return e.apply(void 0,[n,a,r].concat(i))},n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},Mt=function(){return null},Nt=function(){},Rt=function(e){return void 0===e?Nt:null===e?Mt:e.constructor},_t=function(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).slice(8,-1)};const jt={deprecated:function(e,t){return function(n,a,r){return null!=n[a]&&Dt.warn('"'.concat(a,'" property of "').concat(r,'" has been deprecated ').concat(t)),l().checkPropTypes(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},a,e),n,a,r)}},allOfType:function(e){return kt((function(t,n,a){for(var r=arguments.length,o=new Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];return e.reduce((function(e,r){return e||r.apply(void 0,[t,n,a].concat(o))}),void 0)}))},nonNegative:kt((function(e,t,n){var a=e[t];if("number"!=typeof a||a<0)return new Error("`".concat(t,"` in `").concat(n,"` must be a non-negative number."))})),integer:kt((function(e,t,n){var a=e[t];if("number"!=typeof a||a%1!=0)return new Error("`".concat(t,"` in `").concat(n,"` must be an integer."))})),greaterThanZero:kt((function(e,t,n){var a=e[t];if("number"!=typeof a||a<=0)return new Error("`".concat(t,"` in `").concat(n,"` must be a number greater than zero."))})),domain:kt((function(e,t,n){var a=e[t];if(!Array.isArray(a)||2!==a.length||a[1]===a[0])return new Error("`".concat(t,"` in `").concat(n,"` must be an array of two unique numeric values."))})),scale:kt((function(e,t,n){var a;if(a=e[t],!(Pt()(a)?Pt()(a.copy)&&Pt()(a.domain)&&Pt()(a.range):"string"==typeof a&&-1!==["linear","time","log","sqrt"].indexOf(a)))return new Error("`".concat(t,"` in `").concat(n,"` must be a d3 scale."))})),homogeneousArray:kt((function(e,t,n){var a=e[t];if(!Array.isArray(a))return new Error("`".concat(t,"` in `").concat(n,"` must be an array."));if(!(a.length<2)){var r=Rt(a[0]),o=Ot()(a,(function(e){return r!==Rt(e)}));if(o){var i=_t(a[0]),l=_t(o);return new Error("Expected `".concat(t,"` in `").concat(n,"` to be a ")+"homogeneous array, but found types `".concat(i,"` and ")+"`".concat(l,"`."))}}})),matchDataLength:kt((function(e,t){if(e[t]&&Array.isArray(e[t])&&e[t].length!==e.data.length)return new Error("Length of data and ".concat(t," arrays must match."))}))};function Ft(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Gt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Ht=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Gt(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).map={},n.index=1,n.portalUpdate=n.portalUpdate.bind(Gt(n)),n.portalRegister=n.portalRegister.bind(Gt(n)),n.portalDeregister=n.portalDeregister.bind(Gt(n)),n}var n,a;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(a=[{key:"portalRegister",value:function(){return++this.index}},{key:"portalUpdate",value:function(e,t){this.map[e]=t,this.forceUpdate()}},{key:"portalDeregister",value:function(e){delete this.map[e],this.forceUpdate()}},{key:"getChildren",value:function(){var e=this;return Object.keys(this.map).map((function(t){var n=e.map[t];return n?o().cloneElement(n,{key:t}):n}))}},{key:"render",value:function(){return o().createElement("svg",this.props,this.getChildren())}}])&&Ft(n.prototype,a),t}(o().Component);Object.defineProperty(Ht,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"Portal"}),Object.defineProperty(Ht,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:l().string,height:jt.nonNegative,style:l().object,viewBox:l().string,width:jt.nonNegative}});var Ut=n(44383),Yt=n.n(Ut),zt=n(50583),Wt=n.n(zt);function Vt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function qt(e){var t=function(e){return void 0!==e},n=e._x,a=e._x1,r=e._x0,o=e._voronoiX,i=e._y,l=e._y1,s=e._y0,u=e._voronoiY,d=t(a)?a:n,c=t(l)?l:i,f={x:t(o)?o:d,x0:t(r)?r:n,y:t(u)?u:c,y0:t(s)?s:i};return St()({},f,e)}function $t(e){var t=e.padding,n="number"==typeof t?t:0,a="object"==typeof t?t:{};return{top:a.top||n,bottom:a.bottom||n,left:a.left||n,right:a.right||n}}function Xt(e,t,n){return Pt()(e)?e(t,n):e}function Qt(e){return"number"==typeof e?e*(Math.PI/180):e}function Kt(e){var t=$t(e),n=t.left,a=t.right,r=t.top,o=t.bottom,i=e.width,l=e.height;return Math.min(i-n-a,l-r-o)/2}const Zt={omit:Vt,getPoint:qt,scalePoint:function(e,t){var n=e.scale,a=e.polar,r=qt(t),o=e.origin||{x:0,y:0},i=n.x(r.x),l=n.x(r.x0),s=n.y(r.y),u=n.y(r.y0);return{x:a?s*Math.cos(i)+o.x:i,x0:a?u*Math.cos(l)+o.x:l,y:a?-s*Math.sin(i)+o.y:s,y0:a?-u*Math.sin(l)+o.x:u}},getPadding:$t,getStyles:function(e,t){var n="100%",a="100%";if(!e)return St()({parent:{height:a,width:n}},t);var r=e.data,o=e.labels,i=e.parent,l=t&&t.parent||{},s=t&&t.labels||{},u=t&&t.data||{};return{parent:St()({},i,l,{width:n,height:a}),labels:St()({},o,s),data:St()({},r,u)}},evaluateProp:Xt,evaluateStyle:function(e,t,n){return e&&Object.keys(e).some((function(t){return Pt()(e[t])}))?Object.keys(e).reduce((function(a,r){return a[r]=Xt(e[r],t,n),a}),{}):e},degreesToRadians:Qt,radiansToDegrees:function(e){return"number"==typeof e?e/(Math.PI/180):e},getRadius:Kt,getPolarOrigin:function(e){var t=e.width,n=e.height,a=$t(e),r=a.top,o=a.bottom,i=a.left,l=a.right,s=Math.min(t-i-l,n-r-o)/2,u=t/2+i-l,d=n/2+r-o;return{x:u+s>t?s+i-l:u,y:d+s>n?s+r-o:d}},getRange:function(e,t){return e.range&&e.range[t]?e.range[t]:e.range&&Array.isArray(e.range)?e.range:e.polar?function(e,t){return"x"===t?[Qt(e.startAngle||0),Qt(e.endAngle||360)]:[e.innerRadius||0,Kt(e)]}(e,t):function(e,t){var n="x"!==t,a=$t(e);return n?[e.height-a.bottom,a.top]:[a.left,e.width-a.right]}(e,t)},createAccessor:function(e){return Pt()(e)?e:null==e?function(e){return e}:Wt()(e)},modifyProps:function(e,t,n){var a=Vt(e.theme&&e.theme[n]?e.theme[n]:{},["style"]);return St()({},e,a,t)},getCurrentAxis:function(e,t){return t?"x"===e?"y":"x":e},reduceChildren:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(e,t){return e.concat(t)},i=["data","domain","categories","polar","startAngle","endAngle","minDomain","maxDomain"],l=function(e,s,u){return e.reduce((function(e,a,d){var c=a.type&&a.type.role,f=a.props.name||"".concat(c,"-").concat(s[d]);if(a.props&&a.props.children){var p=wt()({},a.props,Yt()(n,i)),m=a.type&&Pt()(a.type.getChildren)?a.type.getChildren(p):o().Children.toArray(a.props.children).map((function(e){var t=wt()({},e.props,Yt()(p,i));return o().cloneElement(e,t)})),g=m.map((function(e,t){return"".concat(f,"-").concat(t)})),A=l(m,g,a);e=r(e,A)}else{var h=t(a,f,u);h&&(e=r(e,h))}return e}),a)},s=e.map((function(e,t){return t}));return l(e,s)},isHorizontal:function(e){if(void 0!==e.horizontal||!e.children)return e.horizontal;var t=function(e){return e.reduce((function(e,n){var a=n.props||{};return e||a.horizontal||!a.children?e=e||a.horizontal:t(o().Children.toArray(a.children))}),!1)};return t(o().Children.toArray(e.children))}};function Jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function en(){return en=Object.assign||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},en.apply(this,arguments)}function tn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function nn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var an=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?nn(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).getTimer=n.getTimer.bind(nn(n)),n.containerId=Et()(e)&&void 0!==e.containerId?e.containerId:Tt()("victory-container-"),n.savePortalRef=function(e){return n.portalRef=e,e},n.portalUpdate=function(e,t){return n.portalRef.portalUpdate(e,t)},n.portalRegister=function(){return n.portalRef.portalRegister()},n.portalDeregister=function(e){return n.portalRef.portalDeregister(e)},n}var n,a;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,a=[{key:"getChildContext",value:function(){return{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister,getTimer:this.getTimer}}},{key:"componentWillUnmount",value:function(){this.context.getTimer||this.getTimer().stop()}},{key:"getTimer",value:function(){return this.context.getTimer?this.context.getTimer():(this.timer||(this.timer=new mt),this.timer)}},{key:"getIdForElement",value:function(e){return"".concat(this.containerId,"-").concat(e)}},{key:"getChildren",value:function(e){return e.children}},{key:"renderContainer",value:function(e,t,n){var a=e.title,r=e.desc,i=e.portalComponent,l=e.className,s=e.width,u=e.height,d=e.portalZIndex,c=e.responsive,f=this.getChildren(e),p=c?{width:"100%",height:"100%"}:{width:s,height:u},m=wt()({pointerEvents:"none",touchAction:"none",position:"relative"},p),g=wt()({zIndex:d,position:"absolute",top:0,left:0},p),A=wt()({pointerEvents:"all"},p),h=wt()({overflow:"visible"},p),b={width:s,height:u,viewBox:t.viewBox,style:h};return o().createElement("div",{style:St()({},n,m),className:l,ref:e.containerRef},o().createElement("svg",en({},t,{style:A}),a?o().createElement("title",{id:this.getIdForElement("title")},a):null,r?o().createElement("desc",{id:this.getIdForElement("desc")},r):null,f),o().createElement("div",{style:g},o().cloneElement(i,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){Jt(e,t,n[t])}))}return e}({},b,{ref:this.savePortalRef}))))}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,a=e.responsive,r=e.events,o=a?this.props.style:Zt.omit(this.props.style,["height","width"]),i=wt()({width:t,height:n,role:"img","aria-labelledby":"".concat(this.getIdForElement("title")," ").concat(this.getIdForElement("desc")),viewBox:a?"0 0 ".concat(t," ").concat(n):void 0},r);return this.renderContainer(this.props,i,o)}}],a&&tn(n.prototype,a),t}(o().Component);Object.defineProperty(an,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryContainer"}),Object.defineProperty(an,"role",{configurable:!0,enumerable:!0,writable:!0,value:"container"}),Object.defineProperty(an,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:l().oneOfType([l().arrayOf(l().node),l().node]),className:l().string,containerId:l().oneOfType([l().number,l().string]),containerRef:l().func,desc:l().string,events:l().object,height:jt.nonNegative,name:l().string,origin:l().shape({x:jt.nonNegative,y:jt.nonNegative}),polar:l().bool,portalComponent:l().element,portalZIndex:jt.integer,responsive:l().bool,style:l().object,theme:l().object,title:l().string,width:jt.nonNegative}}),Object.defineProperty(an,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{className:"VictoryContainer",portalComponent:o().createElement(Ht,null),portalZIndex:99,responsive:!0}}),Object.defineProperty(an,"contextTypes",{configurable:!0,enumerable:!0,writable:!0,value:{getTimer:l().func}}),Object.defineProperty(an,"childContextTypes",{configurable:!0,enumerable:!0,writable:!0,value:{portalUpdate:l().func,portalRegister:l().func,portalDeregister:l().func,getTimer:l().func}});var rn=n(62193),on=n.n(rn);function ln(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var sn=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,a;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(a=[{key:"componentDidMount",value:function(){this.checkedContext||("function"!=typeof this.context.portalUpdate&&(Dt.warn("`renderInPortal` is not supported outside of `VictoryContainer`. Component will be rendered in place"),this.renderInPlace=!0),this.checkedContext=!0),this.forceUpdate()}},{key:"componentDidUpdate",value:function(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}},{key:"componentWillUnmount",value:function(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}},{key:"renderPortal",value:function(e){return this.renderInPlace?e:(this.element=e,null)}},{key:"render",value:function(){var e=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,t=this.props.groupComponent,n=e&&e.props||{},a=n.groupComponent?{groupComponent:t,standalone:!1}:{},r=St()(a,n,Zt.omit(this.props,["children","groupComponent"])),i=e&&o().cloneElement(e,r);return this.renderPortal(i)}}])&&ln(n.prototype,a),t}(o().Component);function un(e){var t=e.labelComponent,n=e.labelPlacement,a=e.polar?"perpendicular":"vertical";return n||t.props&&t.props.labelPlacement||a}function dn(e,t,n){return void 0!==(t=t||{}).label?t.label:Array.isArray(e.labels)?e.labels[n]:e.labels}function cn(e,t){var n=un(e);return"perpendicular"===n||"vertical"===n&&(90===t||270===t)?"middle":t<=90||t>270?"start":"end"}function fn(e,t){var n=un(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 pn(e,t){var n=Zt.getPoint(t).x;return Zt.radiansToDegrees(e.scale.x(n))}Object.defineProperty(sn,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryPortal"}),Object.defineProperty(sn,"role",{configurable:!0,enumerable:!0,writable:!0,value:"portal"}),Object.defineProperty(sn,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:l().node,groupComponent:l().element}}),Object.defineProperty(sn,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:o().createElement("g",null)}}),Object.defineProperty(sn,"contextTypes",{configurable:!0,enumerable:!0,writable:!0,value:{portalDeregister:l().func,portalRegister:l().func,portalUpdate:l().func}});const mn={getText:dn,getPolarTextAnchor:cn,getPolarVerticalAnchor:fn,getPolarAngle:function(e,t){var n=e.labelPlacement,a=e.datum;if(!n||"vertical"===n)return 0;var r,o=void 0!==t?t:pn(e,a);return 0===o||180===o?r=90:o>0&&o<180?r=90-o:o>180&&o<360&&(r=270-o),r+(o>90&&o<180||o>270?1:-1)*("perpendicular"===n?0:90)},getDegrees:pn,getProps:function(e,t){var n=e.scale,a=e.data,r=e.style,o=e.horizontal,i=e.polar,l=a[t],s=pn(e,l),u=i?cn(e,s):function(e,t){t=t||{};var n=e.style,a=e.horizontal,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,l),d=i?fn(e,s):function(e,t){var n=(t=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,l),c=function(e,t){t=t||{};var n=e.style&&e.style.labels||{};return void 0===t.angle?n.angle:t.angle}(e,l),f=dn(e,l,t),p=un(e),m=function(e,t){var n=e.horizontal,a=e.polar,r=Zt.scalePoint(e,t),o=r.x,i=r.y,l=function(e,t){t=t||{};var n=e.horizontal,a=e.style,r=e.active,o=a.labels||{},i=Zt.evaluateProp(o.padding,t,r)||0,l=t._y<0?-1:1;return{x:n?l*i:0,y:n?0:l*i}}(e,t);if(a){var s=function(e,t){var n=e.active,a=e.style,r=pn(e,t),o=a.labels||{},i=Zt.evaluateProp(o.padding,t,n)||0,l=Zt.degreesToRadians(r);return{x:i*Math.cos(l),y:-i*Math.sin(l)}}(e,t);return{x:o+s.x,y:i+s.y}}return{x:n?i+l.x:o+l.x,y:n?o+l.y:i-l.y}}(e,l);return{angle:c,data:a,datum:l,horizontal:o,index:t,polar:i,scale:n,labelPlacement:p,text:f,textAnchor:u,verticalAnchor:d,x:m.x,y:m.y,style:r.labels}}};var gn=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((function(e,t){return[e,gn(t)].join(" ")}),gn(e)).trim();if(null==e||"string"==typeof e)return e;var r=[];for(var o in e)if(e.hasOwnProperty(o)){var i=e[o];r.push("".concat(o,"(").concat(i,")"))}return r.join(" ").trim()};const An={toTransformString:gn,getColorScale:function(e){var t={grayscale:["#cccccc","#969696","#636363","#252525"],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"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"]};return e?t[e]:t.grayscale}};function hn(){return hn=Object.assign||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},hn.apply(this,arguments)}function bn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var yn=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,a;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(a=[{key:"shouldComponentUpdate",value:function(e){return!At()(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,a=e.dx,r=e.dy,i=e.events,l=e.className,s=e.style,u=e.textAnchor,d=e.content;return o().createElement("tspan",hn({x:t,y:n,dx:a,dy:r,textAnchor:u,className:l,style:s},i),d)}}])&&bn(n.prototype,a),t}(o().Component);function vn(){return vn=Object.assign||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},vn.apply(this,arguments)}function En(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}Object.defineProperty(yn,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:l().string,content:l().oneOfType([l().string,l().number]),dx:l().number,dy:l().number,events:l().object,style:l().object,textAnchor:l().oneOf(["start","middle","end","inherit"]),x:l().number,y:l().number}});var Cn=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,a;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(a=[{key:"shouldComponentUpdate",value:function(e){return!At()(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,a=e.dx,r=e.dy,i=e.events,l=e.className,s=e.children,u=e.style,d=e.title,c=e.desc,f=e.transform,p=e.direction;return o().createElement("text",vn({direction:p,className:l,x:t,dx:a,y:n,dy:r,transform:f,style:u},i),d&&o().createElement("title",null,d),c&&o().createElement("desc",null,c),s)}}])&&En(n.prototype,a),t}(o().Component);function Tn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}Object.defineProperty(Cn,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:l().node,className:l().string,desc:l().string,direction:l().oneOf(["ltr","rtl","inherit"]),dx:l().number,dy:l().number,events:l().object,style:l().object,title:l().string,transform:l().string,x:l().oneOfType([l().number,l().string]),y:l().oneOfType([l().number,l().string])}});var Bn={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",stroke:"transparent"},Sn=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).id=void 0===e.id?Tt()("label-"):e.id,n}var n,a;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,a=[{key:"getPosition",value:function(e,t){return e.datum?Zt.scalePoint(e,e.datum)[t]:0}},{key:"getStyle",value:function(e,t){t=t?St()({},t,Bn):Bn;var n=e.datum||e.data,a=Zt.evaluateStyle(t,n,e.active);return wt()({},a,{fontSize:this.getFontSize(a)})}},{key:"getStyles",value:function(e){var t=this;return Array.isArray(e.style)&&!on()(e.style)?e.style.map((function(n){return t.getStyle(e,n)})):[this.getStyle(e,e.style)]}},{key:"getHeight",value:function(e,t){var n=e.datum||e.data;return Zt.evaluateProp(e[t],n,e.active)}},{key:"getContent",value:function(e){if(void 0!==e.text&&null!==e.text){var t=e.datum||e.data;if(Array.isArray(e.text))return e.text.map((function(n){return Zt.evaluateProp(n,t,e.active)}));var n=Zt.evaluateProp(e.text,t,e.active);if(null!=n)return"".concat(n).split("\n")}}},{key:"getDy",value:function(e,t,n,a){t=Array.isArray(t)?t[0]:t,a=this.checkLineHeight(a,a[0],1);var r=t.fontSize,o=e.datum||e.data,i=e.dy?Zt.evaluateProp(e.dy,o,e.active):0,l=n.length,s=this.getHeight(e,"capHeight"),u=t.verticalAnchor||e.verticalAnchor;switch(u?Zt.evaluateProp(u,o):"middle"){case"end":return i+(s/2+(.5-l)*a)*r;case"middle":return i+(s/2+(.5-l/2)*a)*r;default:return i+(s/2+a/2)*r}}},{key:"checkLineHeight",value:function(e,t,n){return Array.isArray(e)?on()(e)?n:t:e}},{key:"getTransform",value:function(e,t){var n=e.active,a=e.datum,r=e.x,o=e.y,i=e.polar?mn.getPolarAngle(e):0,l=void 0===t.angle?e.angle:t.angle,s=void 0===l?i:l,u=e.transform||t.transform,d=u&&Zt.evaluateProp(u,a,n),c=s&&{rotate:[s,r,o]};return d||s?An.toTransformString(d,c):void 0}},{key:"getFontSize",value:function(e){var t=e&&e.fontSize;if("number"==typeof t)return t;if(null==t)return Bn.fontSize;if("string"==typeof t){var n=+t.replace("px","");return isNaN(n)?(Dt.warn("fontSize should be expressed as a number of pixels"),Bn.fontSize):n}return Bn.fontSize}},{key:"renderElements",value:function(e,t){var n=this,a=e.datum,r=e.active,i=e.inline,l=e.className,s=e.title,u=e.desc,d=e.events,c=e.direction,f=this.getStyles(e),p=this.getHeight(e,"lineHeight"),m=e.textAnchor?Zt.evaluateProp(e.textAnchor,a,r):"start",g=e.dx?Zt.evaluateProp(e.dx,a,r):0,A=this.getDy(e,f,t,p),h=this.getTransform(e,f),b=void 0!==e.x?e.x:this.getPosition(e,"x"),y=void 0!==e.y?e.y:this.getPosition(e,"y"),v=t.map((function(t,a){var r=f[a]||f[0],l=f[a-1]||f[0],s=(r.fontSize+l.fontSize)/2,u=n.checkLineHeight(p,(p[a]+(p[a-1]||p[0]))/2,1),d={key:"".concat(n.id,"-key-").concat(a),x:i?void 0:e.x,dx:g,dy:a&&!i?u*s:void 0,textAnchor:r.textAnchor||m,style:r,content:t};return o().cloneElement(e.tspanComponent,d)}));return o().cloneElement(e.textComponent,{direction:c,dx:g,dy:A,x:b,y,events:d,transform:h,className:l,title:s,desc:u,id:this.id},v)}},{key:"render",value:function(){var e=this.getContent(this.props);if(null==e)return null;var t=this.renderElements(this.props,e);return this.props.renderInPortal?o().createElement(sn,null,t):t}}],a&&Tn(n.prototype,a),t}(o().Component);function xn(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function wn(e){return Array.isArray(e)&&e.length>0}function In(e){return Array.isArray(e)&&e.some((function(e){return e instanceof Date}))}Object.defineProperty(Sn,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryLabel"}),Object.defineProperty(Sn,"role",{configurable:!0,enumerable:!0,writable:!0,value:"label"}),Object.defineProperty(Sn,"defaultStyles",{configurable:!0,enumerable:!0,writable:!0,value:Bn}),Object.defineProperty(Sn,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{active:l().bool,angle:l().oneOfType([l().string,l().number]),capHeight:l().oneOfType([l().string,jt.nonNegative,l().func]),className:l().string,data:l().array,datum:l().any,desc:l().string,direction:l().oneOf(["rtl","ltr","inherit"]),dx:l().oneOfType([l().number,l().string,l().func]),dy:l().oneOfType([l().number,l().string,l().func]),events:l().object,id:l().oneOfType([l().number,l().string]),index:l().oneOfType([l().number,l().string]),inline:l().bool,labelPlacement:l().oneOf(["parallel","perpendicular","vertical"]),lineHeight:l().oneOfType([l().string,jt.nonNegative,l().func,l().array]),origin:l().shape({x:jt.nonNegative,y:jt.nonNegative}),polar:l().bool,renderInPortal:l().bool,scale:l().shape({x:jt.scale,y:jt.scale}),style:l().oneOfType([l().object,l().array]),text:l().oneOfType([l().string,l().number,l().func,l().array]),textAnchor:l().oneOfType([l().oneOf(["start","middle","end","inherit"]),l().func]),textComponent:l().element,title:l().string,transform:l().oneOfType([l().string,l().object,l().func]),tspanComponent:l().element,verticalAnchor:l().oneOfType([l().oneOf(["start","middle","end"]),l().func]),x:l().oneOfType([l().number,l().string]),y:l().oneOfType([l().number,l().string])}}),Object.defineProperty(Sn,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{direction:"inherit",textComponent:o().createElement(Cn,null),tspanComponent:o().createElement(yn,null),capHeight:.71,lineHeight:1}});const On={containsDates:In,containsNumbers:function(e){return Array.isArray(e)&&e.some((function(e){return"number"==typeof e}))},containsOnlyStrings:function(e){return wn(e)&&e.every((function(e){return"string"==typeof e}))},containsStrings:function(e){return Array.isArray(e)&&e.some((function(e){return"string"==typeof e}))},getMaxValue: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];var r=e.concat(n);return In(r)?new Date(Math.max.apply(Math,xn(r))):Math.max.apply(Math,xn(r))},getMinValue: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];var r=e.concat(n);return In(r)?new Date(Math.min.apply(Math,xn(r))):Math.min.apply(Math,xn(r))},isArrayOfArrays:function(e){return wn(e)&&e.every(Array.isArray)},removeUndefined:function(e){return e.filter((function(e){return void 0!==e}))}};var Ln=n(83488),Pn=n.n(Ln);function Dn(e,t){return(e.key||t).toString()}function kn(e){return e.reduce((function(e,t,n){return e[Dn(t,n)]=t,e}),{})}function Mn(e,t){var n=!1,a=Object.keys(e).reduce((function(e,a){return a in t||(n=!0,e[a]=!0),e}),{});return n&&a}function Nn(e){return e.type&&e.type.getData?e.type.getData(e.props):e.props&&e.props.data||!1}const Rn={getInitialTransitionState:function(e,t){var n=!1,a=!1,r=function(e,t){return e.map((function(i,l){return i&&i.props&&i.props.children&&t[l]?r(o().Children.toArray(e[l].props.children),o().Children.toArray(t[l].props.children)):function(e,t){if(!t||e.type!==t.type)return{};var r,o,i,l,s=(r=Nn(e),o=Nn(t),i=r&&kn(r),l=o&&kn(o),{entering:i&&Mn(l,i),exiting:l&&Mn(i,l)}||{}),u=s.entering,d=s.exiting;return n=n||!!d,a=a||!!u,{entering:u||!1,exiting:d||!1}}(i,t[l])}))},i=r(o().Children.toArray(e),o().Children.toArray(t));return{nodesWillExit:n,nodesWillEnter:a,childrenTransitions:i,nodesShouldEnter:!1}},getTransitionPropsFactory:function(e,t,n){var a=t&&t.nodesWillExit,r=t&&t.nodesWillEnter,o=t&&t.nodesShouldEnter,i=t&&t.nodesShouldLoad,l=t&&t.nodesDoneLoad,s=t&&t.childrenTransitions||[],u={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},d=function(e,t,a){return i?function(e,t){if((e=wt()({},e,{onEnd:function(){n({nodesShouldLoad:!1,nodesDoneLoad:!0})}}))&&e.onLoad&&!e.onLoad.duration)return{animate:e,data:t};var a=e.onLoad&&e.onLoad.after?e.onLoad.after:Pn();return{animate:e,data:t=t.map((function(e,n){return wt()({},e,a(e,n,t))}))}}(a,t):function(e,t,a){if((e=wt()({},e,{onEnd:function(){n({nodesDoneLoad:!0})}}))&&e.onLoad&&!e.onLoad.duration)return{animate:e,data:a};var r=e.onLoad&&e.onLoad.before?e.onLoad.before:Pn();return{animate:e,data:a=a.map((function(e,t){return wt()({},e,r(e,t,a))})),clipWidth:0}}(a,0,t)},c=function(e,t,a,r){return function(e,t,a,r){var o=e&&e.onExit;if(e=wt()({},e,o),r){e.onEnd=function(){n({nodesWillExit:!1})};var i=e.onExit&&e.onExit.before?e.onExit.before:Pn();a=a.map((function(e,t){var n=(e.key||t).toString();return r[n]?wt()({},e,i(e,t,a)):e}))}return{animate:e,data:a}}(r,0,a,e)},f=function(e,t,a,r){return o?function(e,t,a){var r=e&&e.onEnter;if(e=wt()({},e,r),a){e.onEnd=function(){n({nodesWillEnter:!1})};var o=e.onEnter&&e.onEnter.after?e.onEnter.after:Pn();t=t.map((function(e,n){var r=Dn(e,n);return a[r]?wt()({},e,o(e,n,t)):e}))}return{animate:e,data:t}}(r,a,e):function(e,t,a,r){if(r){var o=(e=wt()({},e,{onEnd:function(){n({nodesShouldEnter:!0})}})).onEnter&&e.onEnter.before?e.onEnter.before:Pn();a=a.map((function(e,t){var n=(e.key||t).toString();return r[n]?wt()({},e,o(e,t,a)):e}))}return{animate:e,data:a}}(r,0,a,e)},p=function(e,t){var n=e.props.animate;if(!e.type)return{};var a=e.props&&e.props.polar&&e.type.defaultPolarTransitions||e.type.defaultTransitions;if(a){var r=n[t]&&n[t].duration;return void 0!==r?r:a[t]&&a[t].duration}return{}};return function(n,i){var m=Nn(n)||[],g=St()({},e.animate,n.props.animate),A=n.props.polar&&n.type.defaultPolarTransitions||n.type.defaultTransitions;g.onExit=St()({},g.onExit,A&&A.onExit),g.onEnter=St()({},g.onEnter,A&&A.onEnter),g.onLoad=St()({},g.onLoad,A&&A.onLoad);var h=s[i]||s[0];if(!l){var b={duration:void 0!==u.load?u.load:p(n,"onLoad")};return d(0,m,wt()({},g,b))}if(a){var y=h&&h.exiting,v=void 0!==u.exit?u.exit:p(n,"onExit"),E=y?{duration:v}:{delay:v};return c(y,0,m,wt()({},g,E))}if(r){var C=h&&h.entering,T=void 0!==u.enter?u.enter:p(n,"onEnter"),B=void 0!==u.move?u.move:n.props.animate&&n.props.animate.duration,S={duration:o&&C?T:B};return f(C,0,m,wt()({},g,S))}return!t&&g&&g.onExit?function(e,t){var n=e.onEnter&&e.onEnter.after?e.onEnter.after:Pn();return{data:t.map((function(e,a){return wt()({},e,n(e,a,t))}))}}(g,m):{animate:g,data:m}}}};function _n(){return _n=Object.assign||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},_n.apply(this,arguments)}function jn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Fn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Gn=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Fn(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).state={nodesShouldLoad:!1,nodesDoneLoad:!1};var a=n.props.children,r=a.props.polar;return n.continuous=!r&&a.type&&!0===a.type.continuous,n.getTransitionState=n.getTransitionState.bind(Fn(n)),n.getTimer=n.getTimer.bind(Fn(n)),n}var n,a;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,a=[{key:"componentDidMount",value:function(){this.setState({nodesShouldLoad:!0})}},{key:"shouldComponentUpdate",value:function(e){var t=this;return At()(this.props,e)||(this.getTimer().bypassAnimation(),this.setState(this.getTransitionState(this.props,e),(function(){return t.getTimer().resumeAnimation()}))),!0}},{key:"componentWillUnmount",value:function(){this.getTimer().stop()}},{key:"getTimer",value:function(){return this.context.getTimer?this.context.getTimer():(this.timer||(this.timer=new mt),this.timer)}},{key:"getTransitionState",value:function(e,t){var n=e.animate;if(n){if(n.parentState)return{oldProps:n.parentState.nodesWillExit?e:null,nextProps:t};var a=o().Children.toArray(e.children),r=o().Children.toArray(t.children),i=Rn.getInitialTransitionState(a,r),l=i.nodesWillExit;return{nodesWillExit:l,nodesWillEnter:i.nodesWillEnter,childrenTransitions:i.childrenTransitions,nodesShouldEnter:i.nodesShouldEnter,oldProps:l?e:null,nextProps:t}}return{}}},{key:"getDomainFromChildren",value:function(e,t){var n=function(e){return e.reduce((function(e,a){if(a.type&&Pt()(a.type.getDomain)){var r=a.props&&a.type.getDomain(a.props,t);return r?e.concat(r):e}return a.props&&a.props.children?e.concat(n(o().Children.toArray(a.props.children))):e}),[])},a=o().Children.toArray(e.children)[0],r=a.props||{},i=Array.isArray(r.domain)?r.domain:r.domain&&r.domain[t];if(!r.children&&i)return i;var l=n([a]);return 0===l.length?[0,1]:[On.getMinValue(l),On.getMaxValue(l)]}},{key:"pickProps",value:function(){return this.state&&this.state.nodesWillExit&&this.state.oldProps||this.props}},{key:"pickDomainProps",value:function(e){var t=Et()(e.animate)&&e.animate.parentState;return t&&t.nodesWillExit?(this.continous||t.continuous)&&(t.nextProps||this.state.nextProps)||e:this.continuous&&this.state.nodesWillExit&&this.state.nextProps||e}},{key:"getClipWidth",value:function(e,t){var n=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==n?n:function(){var n=Zt.getRange(t.props,"x");return n?Math.abs(n[1]-n[0]):e.width}()}},{key:"render",value:function(){var e=this,t=this.pickProps(),n=Et()(this.props.animate)&&this.props.animate.getTransitions?this.props.animate.getTransitions:Rn.getTransitionPropsFactory(t,this.state,(function(t){return e.setState(t)})),a=o().Children.toArray(t.children)[0],r=n(a);this.transitionProps=r;var i={x:this.getDomainFromChildren(this.pickDomainProps(t),"x"),y:this.getDomainFromChildren(t,"y")},l=this.getClipWidth(t,a),s=St()({domain:i,clipWidth:l},r,a.props),u=(t.animationWhitelist||[]).concat(["clipWidth"]),d=u.length?Yt()(s,u):s;return o().createElement(yt,_n({},s.animate,{data:d}),(function(t){if(a.props.groupComponent){var n=e.continuous?o().cloneElement(a.props.groupComponent,{clipWidth:t.clipWidth||0}):a.props.groupComponent;return o().cloneElement(a,St()({animate:null,animating:!0,groupComponent:n},t,s))}return o().cloneElement(a,St()({animate:null,animating:!0},t,s))}))}}],a&&jn(n.prototype,a),t}(o().Component);function Hn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}Object.defineProperty(Gn,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryTransition"}),Object.defineProperty(Gn,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{animate:l().oneOfType([l().bool,l().object]),animationWhitelist:l().array,children:l().node}});var Un=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,a;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(a=[{key:"render",value:function(){var e=this.props,t=e.children,n=e.clipId;return o().createElement("defs",null,o().createElement("clipPath",{id:n},t))}}])&&Hn(n.prototype,a),t}(o().Component);function Yn(){return Yn=Object.assign||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},Yn.apply(this,arguments)}function zn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}Object.defineProperty(Un,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:l().oneOfType([l().arrayOf(l().node),l().node]),clipId:l().oneOfType([l().number,l().string])}});var Wn=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,a;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(a=[{key:"shouldComponentUpdate",value:function(e){return!At()(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.cx,n=e.cy,a=e.r,r=e.events,i=e.className,l=e.style,s=e.role,u=e.shapeRendering,d=e.transform,c=e.clipPath;return o().createElement("circle",Yn({cx:t,cy:n,r:a,className:i,clipPath:c,transform:d,style:l,role:s||"presentation",shapeRendering:u||"auto",vectorEffect:"non-scaling-stroke"},r))}}])&&zn(n.prototype,a),t}(o().Component);function Vn(){return Vn=Object.assign||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},Vn.apply(this,arguments)}function qn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}Object.defineProperty(Wn,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:l().string,clipPath:l().string,cx:l().number,cy:l().number,events:l().object,r:l().number,role:l().string,shapeRendering:l().string,style:l().object,transform:l().string}});var $n=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,a;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(a=[{key:"shouldComponentUpdate",value:function(e){return!At()(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,a=e.rx,r=e.ry,i=e.width,l=e.height,s=e.events,u=e.className,d=e.clipPath,c=e.style,f=e.role,p=e.shapeRendering,m=e.transform;return o().createElement("rect",Vn({x:t,y:n,rx:a,ry:r,width:i,height:l,className:u,clipPath:d,style:c,transform:m,role:f||"presentation",shapeRendering:p||"auto",vectorEffect:"non-scaling-stroke"},s))}}])&&qn(n.prototype,a),t}(o().Component);function Xn(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Qn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}Object.defineProperty($n,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:l().string,clipPath:l().string,events:l().object,height:l().number,role:l().string,rx:l().number,ry:l().number,shapeRendering:l().string,style:l().object,transform:l().string,width:l().number,x:l().number,y:l().number}});var Kn=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).clipId=Et()(e)&&void 0!==e.clipId?e.clipId:Tt()("victory-clip-"),n}var n,a;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,a=[{key:"calculateAttributes",value:function(e){var t=e.polar,n=e.origin,a=e.clipWidth,r=void 0===a?0:a,o=e.clipHeight,i=void 0===o?0:o,l=e.translateX,s=void 0===l?0:l,u=e.translateY,d=void 0===u?0:u,c=Zt.getPadding({padding:e.clipPadding}),f=e.radius||Zt.getRadius(e);return{x:(t?n.x:s)-c.left,y:(t?n.y:d)-c.top,width:Math.max((t?f:r)+c.left+c.right,0),height:Math.max((t?f:i)+c.top+c.bottom,0)}}},{key:"renderClippedGroup",value:function(e,t){var n=e.style,a=e.events,r=e.transform,i=e.children,l=e.className,s=e.groupComponent,u=this.renderClipComponent(e,t),d=wt()({className:l,style:n,transform:r,key:"clipped-group-".concat(t),clipPath:"url(#".concat(t,")")},a);return o().cloneElement(s,d,[u].concat(Xn(o().Children.toArray(i))))}},{key:"renderGroup",value:function(e){var t=e.style,n=e.events,a=e.transform,r=e.children,i=e.className,l=e.groupComponent;return o().cloneElement(l,wt()({className:i,style:t,transform:a},n),r)}},{key:"renderClipComponent",value:function(e,t){var n,a=e.polar,r=e.origin,i=e.clipWidth,l=void 0===i?0:i,s=e.clipHeight,u=void 0===s?0:s,d=e.translateX,c=void 0===d?0:d,f=e.translateY,p=void 0===f?0:f,m=e.circleComponent,g=e.rectComponent,A=e.clipPathComponent,h=Zt.getPadding({padding:e.clipPadding}),b=h.top,y=h.bottom,v=h.left,E=h.right;if(a){var C=e.radius||Zt.getRadius(e),T={r:Math.max(C+v+E,C+b+y,0),cx:r.x-v,cy:r.y-b};n=o().cloneElement(m,T)}else{var B={x:c-v,y:p-b,width:Math.max(l+v+E,0),height:Math.max(u+b+y,0)};n=o().cloneElement(g,B)}return o().cloneElement(A,wt()({key:"clip-path-".concat(t)},e,{clipId:t}),n)}},{key:"getClipValue",value:function(e,t){var n={x:e.clipWidth,y:e.clipHeight};if(void 0!==n[t])return n[t];var a=this.getRange(e,t);return a&&Math.abs(a[0]-a[1])||void 0}},{key:"getTranslateValue",value:function(e,t){var n={x:e.translateX,y:e.translateY};if(void 0!==n[t])return n[t];var a=this.getRange(e,t);return a?Math.min.apply(Math,Xn(a)):void 0}},{key:"getRange",value:function(e,t){var n=e.scale||{};if(n[t])return Pt()(n[t].range)?n[t].range():void 0}},{key:"render",value:function(){var e=this.getClipValue(this.props,"y"),t=this.getClipValue(this.props,"x");if(void 0===t||void 0===e)return this.renderGroup(this.props);var n=this.getTranslateValue(this.props,"x"),a=this.getTranslateValue(this.props,"y"),r=St()({},this.props,{clipHeight:e,clipWidth:t,translateX:n,translateY:a});return this.renderClippedGroup(r,this.clipId)}}],a&&Qn(n.prototype,a),t}(o().Component);Object.defineProperty(Kn,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"VictoryClipContainer"}),Object.defineProperty(Kn,"role",{configurable:!0,enumerable:!0,writable:!0,value:"container"}),Object.defineProperty(Kn,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{children:l().oneOfType([l().arrayOf(l().node),l().node]),circleComponent:l().element,className:l().string,clipHeight:jt.nonNegative,clipId:l().oneOfType([l().number,l().string]),clipPadding:l().shape({top:l().number,bottom:l().number,left:l().number,right:l().number}),clipPathComponent:l().element,clipWidth:jt.nonNegative,events:l().object,groupComponent:l().element,origin:l().shape({x:jt.nonNegative,y:jt.nonNegative}),polar:l().bool,radius:jt.nonNegative,style:l().object,transform:l().string,translateX:l().number,translateY:l().number}}),Object.defineProperty(Kn,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{circleComponent:o().createElement(Wn,null),rectComponent:o().createElement($n,null),clipPathComponent:o().createElement(Un,null),groupComponent:o().createElement("g",null)}});var Zn=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],Jn="#ECEFF1",ea="#90A4AE",ta="#455A64",na="#212121",aa={width:350,height:350,padding:50},ra={fontFamily:"'Roboto', 'Helvetica Neue', Helvetica, sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:ta,stroke:"transparent",strokeWidth:0},oa=wt()({textAnchor:"middle"},ra),ia="round",la="round";const sa={area:wt()({style:{data:{fill:na},labels:oa}},aa),axis:wt()({style:{axis:{fill:"transparent",stroke:ea,strokeWidth:2,strokeLinecap:ia,strokeLinejoin:la},axisLabel:wt()({},oa,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:Jn,strokeDasharray:"10, 5",strokeLinecap:ia,strokeLinejoin:la,pointerEvents:"painted"},ticks:{fill:"transparent",size:5,stroke:ea,strokeWidth:1,strokeLinecap:ia,strokeLinejoin:la},tickLabels:wt()({},ra,{fill:ta})}},aa),bar:wt()({style:{data:{fill:ta,padding:8,strokeWidth:0},labels:ra}},aa),boxplot:wt()({style:{max:{padding:8,stroke:ta,strokeWidth:1},maxLabels:ra,median:{padding:8,stroke:ta,strokeWidth:1},medianLabels:ra,min:{padding:8,stroke:ta,strokeWidth:1},minLabels:ra,q1:{padding:8,fill:ta},q1Labels:ra,q3:{padding:8,fill:ta},q3Labels:ra},boxWidth:20},aa),candlestick:wt()({style:{data:{stroke:ta},labels:oa},candleColors:{positive:"#ffffff",negative:ta}},aa),chart:aa,errorbar:wt()({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:ta,strokeWidth:2},labels:oa}},aa),group:wt()({colorScale:Zn},aa),legend:{colorScale:Zn,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:ra,title:wt()({},ra,{padding:5})}},line:wt()({style:{data:{fill:"transparent",opacity:1,stroke:ta,strokeWidth:2},labels:oa}},aa),pie:wt()({colorScale:Zn,style:{data:{padding:8,stroke:Jn,strokeWidth:1},labels:wt()({},ra,{padding:20})}},aa),scatter:wt()({style:{data:{fill:ta,opacity:1,stroke:"transparent",strokeWidth:0},labels:oa}},aa),stack:wt()({colorScale:Zn},aa),tooltip:{style:wt()({},oa,{padding:5,pointerEvents:"none"}),flyoutStyle:{stroke:na,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},cornerRadius:5,pointerLength:10},voronoi:wt()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:wt()({},oa,{padding:5,pointerEvents:"none"}),flyout:{stroke:na,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},aa)};var ua=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],da="#252525",ca="#969696",fa={width:450,height:300,padding:50,colorScale:ua},pa={fontFamily:"'Gill Sans', 'Gill Sans MT', 'Seravek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:da,stroke:"transparent"},ma=wt()({textAnchor:"middle"},pa);const ga={material:sa,grayscale:{area:wt()({style:{data:{fill:da},labels:ma}},fa),axis:wt()({style:{axis:{fill:"transparent",stroke:da,strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:wt()({},ma,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"painted"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:pa}},fa),bar:wt()({style:{data:{fill:da,padding:8,strokeWidth:0},labels:pa}},fa),boxplot:wt()({style:{max:{padding:8,stroke:da,strokeWidth:1},maxLabels:pa,median:{padding:8,stroke:da,strokeWidth:1},medianLabels:pa,min:{padding:8,stroke:da,strokeWidth:1},minLabels:pa,q1:{padding:8,fill:ca},q1Labels:pa,q3:{padding:8,fill:ca},q3Labels:pa},boxWidth:20},fa),candlestick:wt()({style:{data:{stroke:da,strokeWidth:1},labels:ma},candleColors:{positive:"#ffffff",negative:da}},fa),chart:fa,errorbar:wt()({borderWidth:8,style:{data:{fill:"transparent",stroke:da,strokeWidth:2},labels:ma}},fa),group:wt()({colorScale:ua},fa),legend:{colorScale:ua,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:pa,title:wt()({},pa,{padding:5})}},line:wt()({style:{data:{fill:"transparent",stroke:da,strokeWidth:2},labels:ma}},fa),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:wt()({},pa,{padding:20})},colorScale:ua,width:400,height:400,padding:50},scatter:wt()({style:{data:{fill:da,stroke:"transparent",strokeWidth:0},labels:ma}},fa),stack:wt()({colorScale:ua},fa),tooltip:{style:wt()({},ma,{padding:5,pointerEvents:"none"}),flyoutStyle:{stroke:da,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},cornerRadius:5,pointerLength:10},voronoi:wt()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:wt()({},ma,{padding:5,pointerEvents:"none"}),flyout:{stroke:da,strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},fa)}};var Aa={categories:l().oneOfType([l().arrayOf(l().string),l().shape({x:l().arrayOf(l().string),y:l().arrayOf(l().string)})]),data:l().oneOfType([l().array,l().object]),dataComponent:l().element,labelComponent:l().element,labels:l().oneOfType([l().func,l().array]),samples:jt.nonNegative,sortKey:l().oneOfType([l().func,jt.allOfType([jt.integer,jt.nonNegative]),l().string,l().arrayOf(l().string)]),sortOrder:l().oneOf(["ascending","descending"]),style:l().shape({parent:l().object,data:l().object,labels:l().object}),x:l().oneOfType([l().func,jt.allOfType([jt.integer,jt.nonNegative]),l().string,l().arrayOf(l().string)]),y:l().oneOfType([l().func,jt.allOfType([jt.integer,jt.nonNegative]),l().string,l().arrayOf(l().string)]),y0:l().oneOfType([l().func,jt.allOfType([jt.integer,jt.nonNegative]),l().string,l().arrayOf(l().string)])};const ha={baseProps:{animate:l().oneOfType([l().bool,l().object]),containerComponent:l().element,domain:l().oneOfType([jt.domain,l().shape({x:jt.domain,y:jt.domain})]),maxDomain:l().oneOfType([l().number,l().instanceOf(Date),l().shape({x:l().oneOfType([l().number,l().instanceOf(Date)]),y:l().oneOfType([l().number,l().instanceOf(Date)])})]),minDomain:l().oneOfType([l().number,l().instanceOf(Date),l().shape({x:l().oneOfType([l().number,l().instanceOf(Date)]),y:l().oneOfType([l().number,l().instanceOf(Date)])})]),domainPadding:l().oneOfType([l().shape({x:l().oneOfType([l().number,l().arrayOf(l().number)]),y:l().oneOfType([l().number,l().arrayOf(l().number)])}),l().number,l().arrayOf(l().number)]),eventKey:l().oneOfType([l().func,jt.allOfType([jt.integer,jt.nonNegative]),l().string]),events:l().arrayOf(l().shape({target:l().oneOf(["data","labels","parent"]),eventKey:l().oneOfType([l().array,jt.allOfType([jt.integer,jt.nonNegative]),l().string]),eventHandlers:l().object})),externalEventMutations:l().arrayOf(l().shape({callback:l().function,childName:l().oneOfType([l().string,l().array]),eventKey:l().oneOfType([l().array,jt.allOfType([jt.integer,jt.nonNegative]),l().string]),mutation:l().function,target:l().oneOfType([l().string,l().array])})),groupComponent:l().element,height:jt.nonNegative,name:l().string,origin:l().shape({x:l().number,y:l().number}),padding:l().oneOfType([l().number,l().shape({top:l().number,bottom:l().number,left:l().number,right:l().number})]),polar:l().bool,range:l().oneOfType([jt.domain,l().shape({x:jt.domain,y:jt.domain})]),scale:l().oneOfType([jt.scale,l().shape({x:jt.scale,y:jt.scale})]),sharedEvents:l().shape({events:l().array,getEventState:l().func}),singleQuadrantDomainPadding:l().oneOfType([l().bool,l().shape({x:l().oneOfType([l().bool]),y:l().oneOfType([l().bool])})]),standalone:l().bool,theme:l().object,width:jt.nonNegative},dataProps:Aa,primitiveProps:{active:l().bool,className:l().string,clipPath:l().string,data:l().oneOfType([l().array,l().object]),events:l().object,id:l().oneOfType([l().number,l().string]),index:l().oneOfType([l().number,l().string]),origin:l().shape({x:l().number,y:l().number}),polar:l().bool,role:l().string,scale:l().oneOfType([jt.scale,l().shape({x:jt.scale,y:jt.scale})]),shapeRendering:l().string,style:l().object,transform:l().string}};function ba(){return ba=Object.assign||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},ba.apply(this,arguments)}function ya(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var va=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,a;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(a=[{key:"shouldComponentUpdate",value:function(e){return!At()(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.d,n=e.role,a=e.shapeRendering,r=e.className,i=e.clipPath,l=e.style,s=e.transform,u=e.events;return o().createElement("path",ba({d:t,transform:s,className:r,clipPath:i,style:l,role:n||"presentation",shapeRendering:a||"auto"},u))}}])&&ya(n.prototype,a),t}(o().Component);function Ea(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ca(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}Object.defineProperty(va,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:l().string,clipPath:l().string,d:l().string,events:l().object,role:l().string,shapeRendering:l().string,style:l().object,transform:l().string}});var Ta=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,a;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(a=[{key:"getStyle",value:function(e){var t=e.style,n=e.datum,a=e.active;return Zt.evaluateStyle(wt()({stroke:"black",fill:"none"},t),n,a)}},{key:"getArcPath",value:function(e){var t=e.cx,n=e.cy,a=e.r,r=e.startAngle,o=e.endAngle,i=e.closedPath,l=Math.abs(o-r)/2+r,s=t+a*Math.cos(Zt.degreesToRadians(r)),u=n-a*Math.sin(Zt.degreesToRadians(r)),d=t+a*Math.cos(Zt.degreesToRadians(l)),c=n-a*Math.sin(Zt.degreesToRadians(l)),f=t+a*Math.cos(Zt.degreesToRadians(o)),p=n-a*Math.sin(Zt.degreesToRadians(o)),m=l-r<=180?0:1,g=o-l<=180?0:1,A=i?" M ".concat(t,", ").concat(n," L ").concat(s,", ").concat(u):"M ".concat(s,", ").concat(u),h="A ".concat(a,", ").concat(a,", 0, ").concat(m,", 0, ").concat(d,", ").concat(c),b="A ".concat(a,", ").concat(a,", 0, ").concat(g,", 0, ").concat(f,", ").concat(p),y=i?"Z":"";return"".concat(A," ").concat(h," ").concat(b," ").concat(y)}},{key:"render",value:function(){var e=this.props,t=e.role,n=e.shapeRendering,a=e.className,r=e.events,i=e.pathComponent,l=e.transform,s=e.clipPath;return o().cloneElement(i,{d:this.getArcPath(this.props),style:this.getStyle(this.props),className:a,role:t,shapeRendering:n,events:r,transform:l,clipPath:s})}}])&&Ca(n.prototype,a),t}(o().Component);function Ba(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sa(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}Object.defineProperty(Ta,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){Ea(e,t,n[t])}))}return e}({},ha.primitiveProps,{closedPath:l().bool,cx:l().number,cy:l().number,datum:l().any,endAngle:l().number,pathComponent:l().element,r:l().number,startAngle:l().number})}),Object.defineProperty(Ta,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{pathComponent:o().createElement(va,null)}});var xa=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,a;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(a=[{key:"render",value:function(){var e=this.props,t=e.x,n=e.y,a=e.width,r=e.height,i=e.events,l=e.datum,s=e.active,u=e.role,d=e.clipPath,c=e.className,f=e.shapeRendering,p=e.rectComponent,m=e.transform,g=Zt.evaluateStyle(wt()({fill:"none"},this.props.style),l,s);return o().cloneElement(p,{style:g,className:c,x:t,y:n,width:a,height:r,events:i,role:u,shapeRendering:f,transform:m,clipPath:d})}}])&&Sa(n.prototype,a),t}(o().Component);function wa(){return wa=Object.assign||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},wa.apply(this,arguments)}function Ia(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}Object.defineProperty(xa,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){Ba(e,t,n[t])}))}return e}({},ha.primitiveProps,{height:l().number,rectComponent:l().element,width:l().number,x:l().number,y:l().number})}),Object.defineProperty(xa,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{rectComponent:o().createElement($n,null)}});var Oa=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,a;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(a=[{key:"shouldComponentUpdate",value:function(e){return!At()(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.x1,n=e.x2,a=e.y1,r=e.y2,i=e.events,l=e.className,s=e.clipPath,u=e.transform,d=e.style,c=e.shapeRendering,f=e.role;return o().createElement("line",wa({x1:t,x2:n,y1:a,y2:r,className:l,clipPath:s,transform:u,style:d,role:f||"presentation",shapeRendering:c||"auto",vectorEffect:"non-scaling-stroke"},i))}}])&&Ia(n.prototype,a),t}(o().Component);function La(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pa(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}Object.defineProperty(Oa,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:l().string,clipPath:l().string,events:l().object,role:l().string,shapeRendering:l().string,style:l().object,transform:l().string,x1:l().number,x2:l().number,y1:l().number,y2:l().number}});var Da=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,a;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(a=[{key:"render",value:function(){var e=this.props,t=e.x1,n=e.x2,a=e.y1,r=e.y2,i=e.events,l=e.datum,s=e.active,u=e.lineComponent,d=e.className,c=e.role,f=e.shapeRendering,p=e.transform,m=e.clipPath,g=Zt.evaluateStyle(wt()({stroke:"black"},this.props.style),l,s);return o().cloneElement(u,{style:g,className:d,role:c,shapeRendering:f,events:i,x1:t,x2:n,y1:a,y2:r,transform:p,clipPath:m})}}])&&Pa(n.prototype,a),t}(o().Component);Object.defineProperty(Da,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){La(e,t,n[t])}))}return e}({},ha.primitiveProps,{datum:l().any,lineComponent:l().element,x1:l().number,x2:l().number,y1:l().number,y2:l().number})}),Object.defineProperty(Da,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{lineComponent:o().createElement(Oa,null)}});var ka=n(23181),Ma=n.n(ka);const Na={circle:function(e,t,n){return"M ".concat(e,", ").concat(t,"\n m ").concat(-n,", 0\n a ").concat(n,", ").concat(n," 0 1,0 ").concat(2*n,",0\n a ").concat(n,", ").concat(n," 0 1,0 ").concat(2*-n,",0")},square:function(e,t,n){var a=.87*n,r=e-a,o=t+a,i=e+a-r;return"M ".concat(r,", ").concat(o,"\n h").concat(i,"\n v-").concat(i,"\n h-").concat(i,"\n z")},diamond:function(e,t,n){var a=.87*n,r=Math.sqrt(a*a*2);return"M ".concat(e,", ").concat(t+r,"\n l ").concat(r,", -").concat(r,"\n l -").concat(r,", -").concat(r,"\n l -").concat(r,", ").concat(r,"\n l ").concat(r,", ").concat(r,"\n z")},triangleDown:function(e,t,n){var a=e+n,r=t-n,o=t+n/2*Math.sqrt(3);return"M ".concat(e-n,", ").concat(r,"\n L ").concat(a,", ").concat(r,"\n L ").concat(e,", ").concat(o,"\n z")},triangleUp:function(e,t,n){var a=e+n,r=t-n/2*Math.sqrt(3),o=t+n;return"M ".concat(e-n,", ").concat(o,"\n L ").concat(a,", ").concat(o,"\n L ").concat(e,", ").concat(r,"\n z")},plus:function(e,t,n){var a=1.1*n,r=a/1.5;return"\n M ".concat(e-r/2,", ").concat(t+a,"\n v-").concat(r,"\n h-").concat(r,"\n v-").concat(r,"\n h").concat(r,"\n v-").concat(r,"\n h").concat(r,"\n v").concat(r,"\n h").concat(r,"\n v").concat(r,"\n h-").concat(r,"\n v").concat(r,"\n z")},minus:function(e,t,n){var a=1.1*n,r=a-.3*a,o=e-a,i=t+r/2,l=e+a-o;return"M ".concat(o,", ").concat(i,"\n h").concat(l,"\n v-").concat(r,"\n h-").concat(l,"\n z")},star:function(e,t,n){var a=1.35*n,r=Math.PI/5,o=Ma()(10).map((function(n){var o=n%2==0?a:a/2;return"".concat(o*Math.sin(r*(n+1))+e,",\n ").concat(o*Math.cos(r*(n+1))+t)}));return"M ".concat(o.join("L")," z")}};function Ra(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _a(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var ja=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,a;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,(a=[{key:"getPath",value:function(e){var t=e.datum,n=e.active,a=e.x,r=e.y,o=Zt.evaluateProp(e.size,t,n);if(e.getPath)return e.getPath(a,r,o);var i={circle:Na.circle,square:Na.square,diamond:Na.diamond,triangleDown:Na.triangleDown,triangleUp:Na.triangleUp,plus:Na.plus,minus:Na.minus,star:Na.star},l=Zt.evaluateProp(e.symbol,t,n);return("function"==typeof i[l]?i[l]:i.circle)(a,r,o)}},{key:"render",value:function(){var e=this.props,t=e.active,n=e.datum,a=e.role,r=e.shapeRendering,i=e.className,l=e.events,s=e.pathComponent,u=e.transform,d=e.clipPath,c=Zt.evaluateStyle(this.props.style,n,t),f=this.getPath(this.props);return o().cloneElement(s,{style:c,role:a,shapeRendering:r,className:i,events:l,d:f,transform:u,clipPath:d})}}])&&_a(n.prototype,a),t}(o().Component);function Fa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ga(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}Object.defineProperty(ja,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){Ra(e,t,n[t])}))}return e}({},ha.primitiveProps,{datum:l().object,getPath:l().func,pathComponent:l().element,size:l().oneOfType([l().number,l().func]),symbol:l().oneOfType([l().oneOf(["circle","diamond","plus","minus","square","star","triangleDown","triangleUp"]),l().func]),x:l().number,y:l().number})}),Object.defineProperty(ja,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{pathComponent:o().createElement(va,null)}});var Ha=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,a;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n=t,a=[{key:"render",value:function(){var e=this.props,t=e.groupComponent,n=e.lineComponent,a=e.events,r=e.className,i=e.majorWhisker,l=e.minorWhisker,s=e.datum,u=e.active,d=e.transform,c=e.clipPath,f={style:Zt.evaluateStyle(this.props.style,s,u),events:a,className:r,transform:d,clipPath:c};return o().cloneElement(t,{},[o().cloneElement(n,wt()({key:"major-whisker"},f,i)),o().cloneElement(n,wt()({key:"minor-whisker"},f,l))])}}],a&&Ga(n.prototype,a),t}(o().Component);Object.defineProperty(Ha,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){Fa(e,t,n[t])}))}return e}({},ha.primitiveProps,{groupComponent:l().element,lineComponent:l().element,majorWhisker:l().shape({x1:l().number,x2:l().number,y1:l().number,y2:l().number}),minorWhisker:l().shape({x1:l().number,x2:l().number,y1:l().number,y2:l().number})})}),Object.defineProperty(Ha,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{groupComponent:o().createElement("g",null),lineComponent:o().createElement(Oa,null)}});var Ua=n(69843),Ya=n.n(Ua),za=n(91648),Wa=n.n(za),Va=n(95950),qa=n.n(Va),$a=n(79859),Xa=n.n($a),Qa=n(63375),Ka=n.n(Qa),Za=n(71086),Ja=n.n(Za);function er(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tr(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}const nr={getEvents:function(e,t,n,a){var r,o=this,i=function(e){var a,r=(a=e.reduce((function(e,n){return void 0!==n.target?(Array.isArray(n.target)?Xa()(n.target,t):"".concat(n.target)==="".concat(t))?e.concat(n):e:e.concat(n)}),[]),void 0!==n&&"parent"!==t?a.filter((function(e){var t=e.eventKey,a=function(e){return!e||"".concat(e)==="".concat(n)};return Array.isArray(t)?t.some((function(e){return a(e)})):a(t)})):a);return Array.isArray(r)&&r.reduce((function(e,t){return t?wt()(e,t.eventHandlers):e}),{})},l=Array.isArray(o.componentEvents)?Array.isArray(e.events)?(r=o.componentEvents).concat.apply(r,tr(e.events)):o.componentEvents:e.events,s=l&&Pt()(a)?a(i(l),t):void 0;if(!e.sharedEvents)return s;var u=e.sharedEvents.getEvents,d=e.sharedEvents.events&&u(i(e.sharedEvents.events),t);return wt()({},d,s)},getScopedEvents:function(e,t,n,a){var r=this;if(on()(e))return{};a=a||this.baseProps;var o=function(e,t){var n=e.childName,o=e.target,i=e.key,l="props"===t?a:r.state||{},s=null!=n&&l[n]?l[n]:l;return"parent"===i?s.parent:s[i]&&s[i][o]},i=function(e,i){var l="parent"===t?e.childName:e.childName||n,s=e.target||t,u=function(t,n){var i=r.state||{};if(!Pt()(e.mutation))return i;var l=o({childName:n,key:t,target:s},"props"),u=o({childName:n,key:t,target:s},"state"),d=e.mutation(wt()({},l,u),a),c=i[n]||{},f=function(e){return d?function(e){return"parent"===s?wt()(e,er({},t,wt()(e[t],d))):wt()(e,er({},t,wt()(e[t],er({},s,d))))}(e):function(e){return e[t]&&e[t][s]&&delete e[t][s],e[t]&&!Object.keys(e[t]).length&&delete e[t],e}(e)};return null!=n?wt()(i,er({},n,f(c))):f(i)},d=function(t){var n=function(t){return"parent"===s?"parent":"all"===e.eventKey?a[t]?Wa()(Object.keys(a[t]),"parent"):Wa()(Object.keys(a),"parent"):void 0===e.eventKey&&"parent"===i?a[t]?Object.keys(a[t]):Object.keys(a):void 0!==e.eventKey?e.eventKey:i}(t);return Array.isArray(n)?n.reduce((function(e,n){return wt()(e,u(n,t))}),{}):u(n,t)},c="all"===l?Wa()(Object.keys(a),"parent"):l;return Array.isArray(c)?c.reduce((function(e,t){return wt()(e,d(t))}),{}):d(c)},l=function(t,n,a,o){var l=e[o](t,n,a,r);if(l){var s=function(e){var t=function(e){return Pt()(e.callback)&&e.callback},n=(Array.isArray(e)?e.map((function(e){return t(e)})):[t(e)]).filter((function(e){return!1!==e}));return n.length?function(){return n.forEach((function(e){return e()}))}:void 0}(l);r.setState(function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return wt()({},e,i(n,t))}),{}):i(e,t)}(l,a),s)}};return Object.keys(e).reduce((function(e,t){return e[t]=l,e}),{})},getPartialEvents:function(e,t,n){return e?Object.keys(e).reduce((function(a,r){return a[r]=function(a){return e[r](a,n,t,r)},a}),{}):{}},getEventState:function(e,t,n){var 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]},getExternalMutationsWithChildren:function(e,t,n,a){var r=this;return t=t||{},n=n||{},a.reduce((function(a,o){var i=n[o],l=r.getExternalMutations(e,t[o],n[o],o);return a[o]=l||i,Ja()(a,(function(e){return!on()(e)}))}),{})},getExternalMutations:function(e,t,n,a){var r=this;return t=t||{},n=n||{},Object.keys(t).reduce((function(o,i){var l=n[i]||{},s=t[i]||{};if("parent"===i){var u={eventKey:i,target:"parent"},d=r.getExternalMutation(e,s,l,u);o[i]=void 0!==d?wt()({},l,d):l}else{var c=Ka()(Object.keys(s).concat(Object.keys(l)));o[i]=c.reduce((function(t,n){var o={eventKey:i,target:n,childName:a},u=r.getExternalMutation(e,s[n],l[n],o);return t[n]=void 0!==u?wt()({},l[n],u):l[n],Ja()(t,(function(e){return!on()(e)}))}),{})}return Ja()(o,(function(e){return!on()(e)}))}),{})},getExternalMutation:function(e,t,n,a){var r=function(e,t){if("string"==typeof e[t])return"all"===e[t]||e[t]===a[t];if(Array.isArray(e[t])){var n=e[t].map((function(e){return"".concat(e)}));return Xa()(n,a[t])}return!1},o=e=Array.isArray(e)?e:[e];a.childName&&(o=e.filter((function(e){return r(e,"childName")})));var i=o.filter((function(e){return r(e,"target")}));if(!on()(i)){var l=i.filter((function(e){return r(e,"eventKey")}));if(!on()(l))return l.reduce((function(e,a){var r=(a&&Pt()(a.mutation)?a.mutation:function(){})(wt()({},t,n));return wt()({},e,r)}),{})}},getComponentEvents:function(e,t){var n=Array.isArray(t)&&t.reduce((function(t,n){var a,r=e[n],o=r&&r.type&&r.type.defaultEvents,i=Pt()(o)?o(r.props):o;return Array.isArray(i)?(a=t).concat.apply(a,tr(i)):t}),[]);return n&&n.length?n:void 0}};function ar(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function rr(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function or(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var ir=function(e){return!Ya()(e._x)&&!Ya()(e._y)},lr=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];const sr=function(e,t){return function(n){function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),t=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?or(e):t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));var n=nr.getScopedEvents.bind(or(t)),r=nr.getEvents.bind(or(t));t.state={},t.getEvents=function(e,t,a){return r(e,t,a,n)},t.getEventState=nr.getEventState.bind(or(t));var o=t.getCalculatedValues(e);return t.cacheValues(o),t.externalMutations=t.getExternalMutations(e),t.calculatedState=t.getStateChanges(e,o),t}var r,i;return function(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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,n),r=a,i=[{key:"shouldComponentUpdate",value:function(e){var t=this.getCalculatedValues(e),n=this.getExternalMutations(e),a=this.props.animating||this.props.animate,r=!At()(n,this.externalMutations);if(a||r)return this.cacheValues(t),this.externalMutations=n,this.applyExternalMutations(e,n),!0;var o=this.getStateChanges(e,t);return At()(this.calculatedState,o)?!At()(this.props,e)&&(this.cacheValues(t),!0):(this.calculatedState=o,this.cacheValues(t),!0)}},{key:"getStateChanges",value:function(e,n){var a=this,r=n.hasEvents,o=n.getSharedEventState;if(!r)return{};var i=function(e,t){var n=St()({},a.getEventState(e,t),o(e,t));return on()(n)?void 0:n};return((t=t||{}).components||lr).map((function(t){return e.standalone||"parent"!==t.name?void 0!==t.index?i(t.index,t.name):n.dataKeys.map((function(e){return i(e,t.name)})).filter(Boolean):void 0})).filter(Boolean)}},{key:"applyExternalMutations",value:function(e,t){if(!on()(t)){var n=e.externalEventMutations.reduce((function(e,t){return Pt()(t.callback)?e.concat(t.callback):e}),[]),a=n.length?function(){n.forEach((function(e){return e()}))}:void 0;this.setState(t,a)}}},{key:"getCalculatedValues",value:function(t){var n=t.sharedEvents,a=e.expectedComponents,r=nr.getComponentEvents(t,a),o=n&&Pt()(n.getEventState)?n.getEventState:function(){},i=this.getBaseProps(t,o);return{componentEvents:r,getSharedEventState:o,baseProps:i,dataKeys:qa()(i).filter((function(e){return"parent"!==e})),hasEvents:t.events||t.sharedEvents||r,events:this.getAllEvents(t)}}},{key:"getExternalMutations",value:function(e){var t=e.sharedEvents,n=e.externalEventMutations;return on()(n)||t?void 0:nr.getExternalMutations(n,this.baseProps,this.state)}},{key:"cacheValues",value:function(e){var t=this;qa()(e).forEach((function(n){t[n]=e[n]}))}},{key:"getBaseProps",value:function(t,n){var a=(n=n||this.getSharedEventState)("parent","parent"),r=this.getEventState("parent","parent"),o=St()({},r,a),i=o.parentControlledProps,l=i?Yt()(o,i):{},s=St()({},l,t);return Pt()(e.getBaseProps)?e.getBaseProps(s):{}}},{key:"getAllEvents",value:function(e){var t;return Array.isArray(this.componentEvents)?Array.isArray(e.events)?(t=this.componentEvents).concat.apply(t,ar(e.events)):this.componentEvents:e.events}},{key:"getComponentProps",value:function(t,n,a){var r=this.props.name||e.role,o=this.dataKeys&&this.dataKeys[a]||a,i="".concat(r,"-").concat(n,"-").concat(o),l=this.baseProps[o]&&this.baseProps[o][n]||this.baseProps[o];if(l||this.hasEvents){if(this.hasEvents){var s=this.getEvents(this.props,n,o),u=St()({index:a,key:i},this.getEventState(o,n),this.getSharedEventState(o,n),t.props,l,{id:i}),d=St()({},nr.getPartialEvents(s,o,u),u.events);return wt()({},u,{events:d})}return St()({index:a,key:i},t.props,l,{id:i})}}},{key:"renderContainer",value:function(e,t){var n=e.type&&"container"===e.type.role?this.getComponentProps(e,"parent","parent"):{};return o().cloneElement(e,n,t)}},{key:"animateComponent",value:function(e,t){var n=e.animate&&e.animate.animationWhitelist?e.animate.animationWhitelist:t;return o().createElement(Gn,{animate:e.animate,animationWhitelist:n},o().createElement(this.constructor,e))}},{key:"renderContinuousData",value:function(e){var t=this,n=e.dataComponent,a=e.labelComponent,r=e.groupComponent,i=Wa()(this.dataKeys,"all").reduce((function(e,n){var r=t.getComponentProps(a,"labels",n);return r&&void 0!==r.text&&null!==r.text&&(e=e.concat(o().cloneElement(a,r))),e}),[]),l=this.getComponentProps(n,"data","all"),s=[o().cloneElement(n,l)].concat(ar(i));return this.renderContainer(r,s)}},{key:"renderData",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ir,a=e.dataComponent,r=e.labelComponent,i=e.groupComponent,l=this.dataKeys.reduce((function(e,r,i){var l=t.getComponentProps(a,"data",i);return n(l.datum)&&e.push(o().cloneElement(a,l)),e}),[]),s=this.dataKeys.map((function(e,n){var a=t.getComponentProps(r,"labels",n);if(void 0!==a.text&&null!==a.text)return o().cloneElement(r,a)})).filter(Boolean),u=ar(l).concat(ar(s));return this.renderContainer(i,u)}}],i&&rr(r.prototype,i),a}(e)};var ur=n(2404),dr=n.n(ur),cr=n(68090),fr=n.n(cr),pr=n(81386),mr=["linear","time","log","sqrt"];function gr(e){var t;return"scale".concat((t=e)&&t[0].toUpperCase()+t.slice(1))}function Ar(e,t){return!(!e.scale||(e.scale.x||e.scale.y)&&!e.scale[t])}function hr(e,t){if(!e.data)return"linear";var n=Zt.createAccessor(e[t]),a=e.data.map(n);return On.containsDates(a)?"time":"linear"}function br(e,t){if(Ar(e,t)){var n=e.scale[t]||e.scale;return function(e){return"function"==typeof e?Pt()(e.copy)&&Pt()(e.domain)&&Pt()(e.range):"string"==typeof e&&Xa()(mr,e)}(n)?Pt()(n)?n:pr[gr(n)]():void 0}}function yr(e){var t=[{name:"log",method:"base"},{name:"ordinal",method:"unknown"},{name:"pow-sqrt",method:"exponent"},{name:"quantile",method:"quantiles"},{name:"quantize-threshold",method:"invertExtent"}].filter((function(t){return void 0!==e[t.method]}))[0];return t?t.name:void 0}const vr={getBaseScale:function(e,t){var n=br(e,t);if(n)return n;var a=function(e,t){var n;if(e.domain&&e.domain[t]?n=e.domain[t]:e.domain&&Array.isArray(e.domain)&&(n=e.domain),n)return On.containsDates(n)?"time":"linear"}(e,t)||hr(e,t);return pr[gr(a)]()},getDefaultScale:function(){return pr.scaleLinear()},getScaleFromProps:br,getScaleType:function(e,t){return function(e,t){if(Ar(e,t)){var n=e.scale[t]||e.scale;return"string"==typeof n?n:yr(n)}}(e,t)||hr(e,t)},getType:yr},Er={IMMUTABLE_ITERABLE:"@@__IMMUTABLE_ITERABLE__@@",IMMUTABLE_RECORD:"@@__IMMUTABLE_RECORD__@@",IMMUTABLE_LIST:"@@__IMMUTABLE_LIST__@@",IMMUTABLE_MAP:"@@__IMMUTABLE_MAP__@@",isImmutable:function(e){return this.isIterable(e)||this.isRecord(e)},isIterable:function(e){return!(!e||!e[this.IMMUTABLE_ITERABLE])},isRecord:function(e){return!(!e||!e[this.IMMUTABLE_RECORD])},isList:function(e){return!(!e||!e[this.IMMUTABLE_LIST])},isMap:function(e){return!(!e||!e[this.IMMUTABLE_MAP])},shallowToJS:function(e,t){var n=this;return this.isIterable(e)?e.reduce((function(e,a,r){return t&&t[r]&&(a=n.shallowToJS(a)),e[r]=a,e}),this.isList(e)?[]:{}):e}};function Cr(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Tr(e){return Er.isImmutable(e)?Er.shallowToJS(e,{errorX:!0,errorY:!0}):e}function Br(e){return Er.isIterable(e)?e.size:e.length}function Sr(e,t){var n=(ee()(e.domain)?e.domain[t]:e.domain)||vr.getBaseScale(e,t).domain(),a=e.samples||1,r=Math.max.apply(Math,Cr(n)),o=Math.min.apply(Math,Cr(n)),i=(r-o)/a,l=Ma()(o,r,i);return fr()(l)===r?l:l.concat(r)}function xr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ascending";if(!t)return e;"x"!==t&&"y"!==t||(t="_".concat(t));var a="ascending"===n?"asc":"desc";return Z()(e,t,a)}function wr(e,t){var n=Zt.getCurrentAxis(t,e.horizontal),a=Pr(e,n),r=Dr(e,n),o=kr(e,t),i=Ka()(Cr(a).concat(Cr(r),Cr(o)));return 0===i.length?null:i.reduce((function(e,t,n){return e[t]=n+1,e}),{})}function Ir(e,t,n){if(!Array.isArray(e)&&!Er.isIterable(e)||Br(e)<1)return[];var a=["x","y","y0"],r={x:-1!==(n=Array.isArray(n)?n:a).indexOf("x")?wr(t,"x"):void 0,y:-1!==n.indexOf("y")?wr(t,"y"):void 0,y0:-1!==n.indexOf("y0")?wr(t,"y"):void 0},o=n.reduce((function(e,n){var a;return e[n]=(a=n,Zt.createAccessor(void 0!==t[a]?t[a]:a)),e}),{}),i=dr()(n,a)&&"_x"===t.x&&"_y"===t.y&&"_y0"===t.y0?e:e.reduce((function(e,t,a){var i={x:a,y:t=Tr(t)},l=n.reduce((function(e,n){var a=o[n](t),l=void 0!==a?a:i[n];return void 0!==l&&("string"==typeof l&&r[n]?(e["".concat(n,"Name")]=l,e["_".concat(n)]=r[n][l]):e["_".concat(n)]=l),e}),{}),s=wt()({},l,t);return on()(s)||e.push(s),e}),[]),l=function(e,t){var n={x:vr.getScaleType(t,"x"),y:vr.getScaleType(t,"y")};if("log"!==n.x&&"log"!==n.y)return e;var a=function(e,t){return"log"!==n[t]||0!==e["_".concat(t)]};return e.filter((function(e){return a(e,"x")&&a(e,"y")&&a(e,"y0")}))}(xr(i,t.sortKey,t.sortOrder),t);return function(e,t){var n,a=!!e.eventKey,r=(n=e.eventKey,Pt()(n)?n:null==n?function(){}:Wt()(n));return t.map((function(e){if(void 0!==e.eventKey)return e;if(a){var t=r(e);return void 0!==t?wt()({eventKey:t},e):e}return e}))}(t,l)}function Or(e){var t=Sr(e,"x"),n=Sr(e,"y"),a=t.map((function(e,t){return{x:e,y:n[t]}}));return a}function Lr(e,t){var n=Zt.getCurrentAxis(t,e.horizontal);return e.categories&&!Array.isArray(e.categories)?e.categories[n]:e.categories}function Pr(e,t){var n=e.tickValues,a=e.tickFormat;return(n&&(Array.isArray(n)||n[t])?n[t]||n:a&&Array.isArray(a)?a:[]).filter((function(e){return"string"==typeof e}))}function Dr(e,t){if(!e.categories)return[];var n=Lr(e,t),a=n&&n.filter((function(e){return"string"==typeof e}));return a?On.removeUndefined(a):[]}function kr(e,t){if(!Array.isArray(e.data)&&!Er.isIterable(e.data))return[];var n=void 0===e[t]?t:e[t],a=Zt.createAccessor(n);return xr(e.data.reduce((function(e,t){return e.push(Tr(t)),e}),[]),e.sortKey,e.sortOrder).reduce((function(e,t){return t=Tr(t),e.push(a(t)),e}),[]).filter((function(e){return"string"==typeof e})).reduce((function(e,t){return null!=t&&-1===e.indexOf(t)&&e.push(t),e}),[])}const Mr={createStringMap:wr,downsample:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=Br(e);if(a>t){var r=Math.pow(2,Math.ceil(Math.log2(a/t)));return e.filter((function(e,t){return(t+n)%r==0}))}return e},formatData:Ir,generateData:Or,getCategories:Lr,getData:function(e){return e.data?Ir(e.data,e):Ir(Or(e),e)},getStringsFromAxes:Pr,getStringsFromCategories:Dr,getStringsFromData:kr,isDataComponent:function(e){var t=function(e){return e&&e.type?e.type.role:""},n=t(e);if("portal"===n){var a=o().Children.toArray(e.props.children);n=a.length?t(a[0]):""}return Xa()(["area","bar","boxplot","candlestick","errorbar","group","line","pie","scatter","stack","voronoi"],n)}},Nr={continuousTransitions:function(){return{onLoad:{duration:2e3},onExit:{duration:500},onEnter:{duration:500}}},continuousPolarTransitions:function(){return{onLoad:{duration:2e3,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(e){return{_y:e._y,_y1:e._y1,_y0:e._y0}}},onExit:{duration:500,before:function(e,t,n){var a=function(e){return(0===t?n[t+1]:n[t-1])[e]};return{_x:a("_x"),_y:a("_y"),_y0:a("_y0")}}},onEnter:{duration:500,before:function(e,t,n){var a=function(e){return(0===t?n[t+1]:n[t-1])[e]};return{_x:a("_x"),_y:a("_y"),_y0:a("_y0")}},after:function(e){return{_x:e._x,_y:e._y,_y1:e._y1,_y0:e._y0}}}}},discreteTransitions:function(){return{onLoad:{duration:2e3,before:function(){return{opacity:0}},after:function(e){return e}},onExit:{duration:600,before:function(){return{opacity:0}}},onEnter:{duration:600,before:function(){return{opacity:0}},after:function(e){return e}}}}};var Rr=n(73054),_r=n.n(Rr),jr=n(35970),Fr=n.n(jr);function Gr(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Hr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"min",a=function(e){return"max"===n?Math.max.apply(Math,Gr(e)):Math.min.apply(Math,Gr(e))},r="max"===n?-1/0:1/0,o=!1,i=Fr()(e).reduce((function(e,n){var r=void 0!==n["_".concat(t,"0")]?n["_".concat(t,"0")]:n["_".concat(t)],i=void 0!==n["_".concat(t,"1")]?n["_".concat(t,"1")]:n["_".concat(t)],l=a([r,i]);return o=o||r instanceof Date||i instanceof Date,a([e,l])}),r);return o?new Date(i):i}function Ur(e,t){return e=Pt()(e)?e:Wr,t=Pt()(t)?t:Yr,function(n,a){var r=qr(n,a);if(r)return t(r,n,a);var o=Mr.getCategories(n,a),i=o?zr(n,a,o):e(n,a);return t(i,n,a)}}function Yr(e,t,n){return function(e,t,n){return"log"!==vr.getScaleType(t,n)?e:(r=(a=e)[0]<0||a[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER,[0===a[0]?r:a[0],0===a[1]?r:a[1]]);var a,r}(function(e,t,n){if(!t.domainPadding)return e;var a=Xr(t,n),r=$r(t,n),o=function(e,t){var n=function(e){return Array.isArray(e)?{left:e[0],right:e[1]}:{left:e,right:e}};return ee()(e.domainPadding)?n(e.domainPadding[t]):n(e.domainPadding)}(t,n);if(!o.left&&!o.right)return e;var i=On.getMinValue(e),l=On.getMaxValue(e),s=Zt.getRange(t,n),u=Math.abs(s[0]-s[1]),d=Math.abs(l-i)*o.left/u,c=Math.abs(l-i)*o.right/u,f=ee()(t.singleQuadrantDomainPadding)?t.singleQuadrantDomainPadding[n]:t.singleQuadrantDomainPadding,p=function(e,t){return!1===f?e:"min"===t&&i>=0&&e<=0||"max"===t&&l<=0&&e>=0?0:e},m=p(i.valueOf()-d,"min"),g=p(l.valueOf()+c,"max"),A=Math.abs(g-m)*o.left/u,h=Math.abs(g-m)*o.right/u,b={min:p(i.valueOf()-A,"min"),max:p(l.valueOf()+h,"max")},y={min:void 0!==a?a:b.min,max:void 0!==r?r:b.max};return i instanceof Date||l instanceof Date?Vr(new Date(y.min),new Date(y.max)):Vr(y.min,y.max)}(e,t,n),t,n)}function zr(e,t,n){n=n||Mr.getCategories(e,t);var a=e.polar,r=e.startAngle,o=void 0===r?0:r,i=e.endAngle,l=void 0===i?360:i;if(n){var s=Xr(e,t),u=$r(e,t),d=On.containsStrings(n)?Mr.getStringsFromCategories(e,t):[],c=0===d.length?null:d.reduce((function(e,t,n){return e[t]=n+1,e}),{}),f=c?n.map((function(e){return c[e]})):n,p=Vr(void 0!==s?s:On.getMinValue(f),void 0!==u?u:On.getMaxValue(f));return a&&"x"===t&&360===Math.abs(o-l)?Qr(p,f):p}}function Wr(e,t,n){n=n||Mr.getData(e);var a=e.horizontal,r=e.polar,o=e.startAngle,i=void 0===o?0:o,l=e.endAngle,s=void 0===l?360:l,u=Xr(e,t),d=$r(e,t);if(n.length<1){var c=vr.getBaseScale(e,t).domain();return Vr(void 0!==u?u:On.getMinValue(c),void 0!==d?d:On.getMaxValue(c))}var f=Zt.getCurrentAxis(t,a),p=Vr(void 0!==u?u:Hr(n,f,"min"),void 0!==d?d:Hr(n,f,"max"));return r&&"x"===t&&360===Math.abs(i-s)?Qr(p,function(e,t){return Fr()(e).map((function(e){return e["_".concat(t)]&&void 0!==e["_".concat(t)][1]?e["_".concat(t)][1]:e["_".concat(t)]}))}(n,f)):p}function Vr(e,t){var n,a,r,o;return+e==+t?(a=0===(n=t)?2*Math.pow(10,-10):Math.pow(10,-10),r=n instanceof Date?new Date(+n-1):+n-a,o=n instanceof Date?new Date(+n+1):+n+a,0===n?[0,o]:[r,o]):[e,t]}function qr(e,t){var n=Xr(e,t),a=$r(e,t);return ee()(e.domain)&&e.domain[t]?e.domain[t]:Array.isArray(e.domain)?e.domain:void 0!==n&&void 0!==a?Vr(n,a):void 0}function $r(e,t){return ee()(e.maxDomain)&&void 0!==e.maxDomain[t]?e.maxDomain[t]:"number"==typeof e.maxDomain?e.maxDomain:void 0}function Xr(e,t){return ee()(e.minDomain)&&void 0!==e.minDomain[t]?e.minDomain[t]:"number"==typeof e.minDomain?e.minDomain:void 0}function Qr(e,t){var n=_r()(t.sort((function(e,t){return e-t}))),a=n[1]-n[0];return[e[0],e[1]+a]}const Kr={createDomainFunction:Ur,formatDomain:Yr,getDomain:function(e,t){return Ur()(e,t)},getDomainFromCategories:zr,getDomainFromData:Wr,getDomainFromMinMax:Vr,getDomainFromProps:qr,getDomainWithZero:function(e,t){var n=qr(e,t);if(n)return n;var a=Mr.getData(e),r=a.reduce((function(e,t){return t._y0<e?t._y0:e}),1/0);return Ur((function(){return Wr(e,t,a)}),(function(n){return Yr(function(n){if("x"===Zt.getCurrentAxis(t,e.horizontal))return n;var a=r!==1/0?r:0,o=$r(e,t),i=Xr(e,t),l=void 0!==o?o:On.getMaxValue(n,a);return Vr(void 0!==i?i:On.getMinValue(n,a),l)}(n),e,t)}))(e,t)},getMaxFromProps:$r,getMinFromProps:Xr,getSymmetricDomain:Qr,isDomainComponent:function(e){var t=function(e){return e&&e.type?e.type.role:""},n=t(e);if("portal"===n){var a=o().Children.toArray(e.props.children);n=a.length?t(a[0]):""}return Xa()(["area","axis","bar","boxplot","candlestick","errorbar","group","line","pie","scatter","stack","voronoi"],n)}};function Zr(e,t,n){var a=t.a,r=t.d,o=t.e,i=t.f;return"y"===n?r*e+i:a*e+o}function Jr(e){if(!e.nativeEvent||void 0===e.nativeEvent.identifier){var t=function(e){return"svg"===e.nodeName?e:e.parentNode?t(e.parentNode):e};return t(e.target)}}function eo(e,t,n,a){if(e.polar){var r=e.origin||{x:0,y:0},o=n-r.x,i=a-r.y,l=Math.abs(o*Math.sqrt(1+Math.pow(-i/o,2))),s=(-Math.atan2(i,o)+2*Math.PI)%(2*Math.PI);return{x:t.x.invert(s),y:t.y.invert(l)}}return{x:t.x.invert(n),y:t.y.invert(a)}}const to={getParentSVG:Jr,getSVGEventCoordinates:function(e,t){if(e.nativeEvent&&void 0!==e.nativeEvent.identifier)return{x:e.nativeEvent.locationX,y:e.nativeEvent.locationY};e=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e;var n=function(e){return e.getScreenCTM().inverse()}(t=t||Jr(e));return{x:Zr(e.clientX,n,"x"),y:Zr(e.clientY,n,"y")}},getDomainCoordinates:function(e,t){var n=e.scale;return t=t||{x:n.x.domain(),y:n.y.domain()},{x:[n.x(t.x[0]),n.x(t.x[1])],y:[n.y(t.y[0]),n.y(t.y[1])]}},getDataCoordinates:eo,getBounds:function(e){var t=e.x1,n=e.x2,a=e.y1,r=e.y2,o=e.scale,i=eo(e,o,t,a),l=eo(e,o,n,r),s=function(e,t){return[On.getMinValue([e,t]),On.getMaxValue([e,t])]};return{x:s(i.x,l.x),y:s(i.y,l.y)}}};var no={"American Typewriter":2.09,Baskerville:2.51,Georgia:2.27,"Hoefler Text":2.39,Palatino:2.26,"Times New Roman":2.48,Arial:2.26,"Gill Sans":2.47,"Gill Sans 300":2.58,"Helvetica Neue":2.24,"Lucida Grande":2.05,Tahoma:2.25,"Trebuchet MS":2.2,Verdana:1.96,"Courier New":1.67,cursive:1.84,fantasy:2.09,monospace:1.81,serif:2.04,"sans-serif":1.89},ao={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},ro={em:1,ex:.5},oo={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},io=function(e){return Array.isArray(e)?e:e.toString().split(/\r\n|\r|\n/g)},lo=function(e,t,n){var a=function(e){return e*Math.PI/180}(n);return Math.abs(Math.cos(a)*e)+Math.abs(Math.sin(a)*t)},so=function(e,t){var n=e.match(/[a-zA-Z%]+/)[0],a=e.match(/[0-9.,]+/);return ao.hasOwnProperty(n)?a*ao[n]:ro.hasOwnProperty(n)?(t?a*t:a*oo.fontSize)*ro[n]:a},uo=function(e,t){var n,a,r=Array.isArray(e)?e[t]:e,o=St()({},r,oo);return wt()({},o,{characterConstant:o.characterConstant||(n=o.fontFamily,a=n.split(",")[0].replace(/'|"/g,""),no[a]||2.1675),letterSpacing:so(o.letterSpacing,o.fontSize),fontSize:"number"==typeof o.fontSize?o.fontSize:so(String(o.fontSize))})};const co={approximateTextSize:function(e,t){var n=Array.isArray(t)?t[0]&&t[0].angle:t&&t.angle,a=function(e,t){return e?io(e).reduce((function(e,n,a){var r=uo(t,a),o=n.toString().match(/[(A-Z)(0-9)]/)?1.15*r.fontSize:r.fontSize,i=0===a?0:.2*r.fontSize;return e+r.lineHeight*(o+i)}),0):0}(e,t),r=function(e,t){if(!e)return 0;var n,a=io(e).map((function(e,n){var a=e.toString().length,r=uo(t,n);return a*r.fontSize/r.characterConstant+r.letterSpacing*Math.max(a-1,0)}));return Math.max.apply(Math,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(n=a)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}())}(e,t);return{width:1.25*(n?lo(r,a,n):r),height:1.05*(n?lo(a,r,n):a)}},convertLengthToPixels:so};var fo=n(35880),po=n.n(fo),mo=n(94394),go=n.n(mo),Ao=n(42426),ho=n.n(Ao),bo=n(40866),yo=n.n(bo);function vo(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Eo(e){return e.orientation?{top:"x",bottom:"x",left:"y",right:"y"}[e.orientation]:e.dependentAxis?"y":"x"}function Co(e,t){return t?"x"===e?"y":"x":e}function To(e,t){t=t||Pn();var n=function(e){return e.reduce((function(e,a){return a.type&&"axis"===a.type.role&&t(a)?e.concat(a):a.props&&a.props.children?e.concat(n(o().Children.toArray(a.props.children))):e}),[])};return n(e)}function Bo(e){return{top:!1,bottom:!1,left:!0,right:!0}[e.orientation||(e.dependentAxis?"left":"bottom")]}function So(e){return void 0!==e.tickValues&&On.containsStrings(e.tickValues)}function xo(e){var t=e.tickValues,n=e.tickFormat,a=Eo(e),r=Co(a,e.horizontal),o=e.stringMap&&e.stringMap[r],i=t;o&&(i=function(e){var t=Eo(e),n=Co(t,e.horizontal),a=e.stringMap&&e.stringMap[n],r=Array.isArray(e.categories)?e.categories:e.categories&&e.categories[t],o=r&&On.containsOnlyStrings(r)?r.map((function(e){return a[e]})):void 0,i=a&&po()(a);return o&&0!==o.length?o:i}(e)),t&&On.containsStrings(t)&&(i=o?t.map((function(e){return o[e]})):Ma()(1,t.length+1));var l,s,u=i?Ka()(i):function(){if(n&&Array.isArray(n))return On.containsStrings(n)?n.map((function(e,t){return t})):n}();return Array.isArray(u)&&u.length?(l=u,s=e.domain&&e.domain[a]||e.domain,Array.isArray(s)?l.filter((function(e){return e>=Math.min.apply(Math,vo(s))&&e<=Math.max.apply(Math,vo(s))})):l):void 0}function wo(e,t){if(!t||!Array.isArray(e)||e.length<=t)return e;var n=Math.floor(e.length/t);return e.filter((function(e,t){return t%n==0}))}function Io(e,t){var n=e.polar,a=e.startAngle,r=void 0===a?0:a,o=e.endAngle,i=void 0===o?360:o,l=xo(e);if(Array.isArray(l)){var s=Kr.getMinFromProps(e,t),u=Kr.getMaxFromProps(e,t),d=So(e),c=l.map((function(e){return+e})),f=d?1:On.getMinValue(c),p=d?l.length:On.getMaxValue(c),m=void 0!==s?s:f,g=void 0!==u?u:p,A=Kr.getDomainFromMinMax(m,g),h=n&&"x"===t&&360===Math.abs(r-i)?Kr.getSymmetricDomain(A,c):A;return Bo(e)&&!n&&h.reverse(),h}}const Oo={getTicks:function(e,t,n){var a=e.tickCount,r=xo(e);if(r)return wo(r,a);if(t.ticks&&Pt()(t.ticks)){var o=a||5,i=t.ticks(o),l=wo(Array.isArray(i)&&i.length?i:t.domain(),a);if(n){var s=Xa()(l,0)?Wa()(l,0):l;return s.length?s:l}return l}return t.domain()},getTickFormat:function(e,t){var n=e.tickFormat,a=Co(Eo(e),e.horizontal),r=e.stringMap&&e.stringMap[a];if(n)return n&&Array.isArray(n)?function(e,t){return n[t]}:n&&Pt()(n)?r?function(t,n,a){var o=yo()(r),i=a.map((function(e){return o[e]}));return e.tickFormat(o[t],n,i)}:n:function(e){return e};var o=function(e){var t=e.tickValues,n=Co(Eo(e),e.horizontal),a=e.stringMap&&e.stringMap[n],r=t&&!On.containsDates(t)?function(e){return e}:void 0;if(a){var o=a&&yo()(a),i=Z()(po()(a),(function(e){return e})).map((function(e){return o[e]})),l=[""].concat(vo(i),[""]);return function(e){return l[e]}}return So(e)?function(e,n){return t[n]}:r}(e),i=t.tickFormat&&Pt()(t.tickFormat)?t.tickFormat():function(e){return e};return o||i},getAxis:Eo,getAxisComponent:function(e,t){return To(e,(function(e){return e.type.getAxis(e.props)===t}))[0]},getAxisComponentsWithParent:function(e,t){var n=function(e){return e.reduce((function(e,a){return a.type&&"axis"===a.type.role&&function(e){return"dependent"===t?e.props.dependentAxis:!e.props.dependentAxis}(a)||a.props&&a.props.children&&n(o().Children.toArray(a.props.children)).length>0?e.concat(a):e}),[])};return n(e)},getOrientation:function(e,t,n){if(e&&e.props&&e.props.orientation)return e.props.orientation;var a=n||"positive",r={positive:{x:"bottom",y:"left"},negative:{x:"top",y:"right"}};if(!e)return r[a][t];var o=e.props.dependentAxis;return!o&&"y"===t||o&&"x"===t?{positive:{x:"left",y:"bottom"},negative:{x:"right",y:"top"}}[a][t]:r[a][t]},getCurrentAxis:Co,findAxisComponents:To,getOrigin:function(e){var t=function(e){var t=Math.min.apply(Math,vo(e)),n=Math.max.apply(Math,vo(e));return n<0?n:Math.max(0,t)};return{x:On.containsDates(e.x)?new Date(Math.min.apply(Math,vo(e.x))):t(e.x),y:On.containsDates(e.y)?new Date(Math.min.apply(Math,vo(e.y))):t(e.y)}},getOriginSign:function(e,t){return On.containsDates(t)?"positive":e<=0&&Math.max.apply(Math,vo(t))<=0?"negative":"positive"},getDomain:function(e,t){var n=Eo(e);if(!t||t===n)return Kr.createDomainFunction(Io)(e,n)},isVertical:Bo,stringTicks:So,getAxisValue:function(e,t){if(e.axisValue){var n="x"===t?"y":"x",a=Et()(e.scale)&&Pt()(e.scale[n])?e.scale[n]:void 0;if(a){var r="x"===Co(t,e.horizontal)?"y":"x",o=Et()(e.stringMap)&&e.stringMap[r];return a(o&&"string"==typeof e.axisValue?o[e.axisValue]:e.axisValue)}}}};function Lo(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}const Po={getData:function(e,t){return e.data?Mr.getData(e):(t=t||o().Children.toArray(e.children),this.getDataFromChildren(t))},getDefaultDomainPadding:function(e,t,n){var a=n.some((function(e){return e.props&&e.props.horizontal})),r=e&&e.horizontal||a,o=n.filter((function(e){return e.type&&e.type.role&&"group"===e.type.role}));if(!(o.length<1)){var i=o[0].props,l=i.offset,s=i.children;return(r?{y:l*s.length/2}:{x:l*s.length/2})[t]}},getDomain:function(e,t,n){n=n||o().Children.toArray(e.children);var a,r=Kr.getDomainFromProps(e,t),i=Kr.getMinFromProps(e,t),l=Kr.getMaxFromProps(e,t),s=e.polar?0:this.getDefaultDomainPadding(e,t,n);if(r)a=r;else{var u=(e.data||e.y)&&Mr.getData(e),d=u?Kr.getDomainFromData(e,t,u):[],c=this.getDomainFromChildren(e,t,n),f=i||On.getMinValue(Lo(d).concat(Lo(c))),p=l||On.getMaxValue(Lo(d).concat(Lo(c)));a=Kr.getDomainFromMinMax(f,p)}return Kr.formatDomain(a,wt()({domainPadding:s},e),t)},setAnimationState:function(e,t){if(e.animate)if(e.animate.parentState){var n=e.animate.parentState.nodesWillExit?e:null;this.setState(St()({oldProps:n,nextProps:t},e.animate.parentState))}else{var a=o().Children.toArray(e.children),r=o().Children.toArray(t.children),i=function(e){var t=function(e){return e.type&&e.type.continuous};return Array.isArray(e)?ho()(e,t):t(e)},l=!e.polar&&ho()(a,(function(e){return i(e)||e.props.children&&i(e.props.children)})),s=Rn.getInitialTransitionState(a,r),u=s.nodesWillExit,d=s.nodesWillEnter,c=s.childrenTransitions,f=s.nodesShouldEnter;this.setState({nodesWillExit:u,nodesWillEnter:d,nodesShouldEnter:f,childrenTransitions:On.isArrayOfArrays(c)?c[0]:c,oldProps:u?e:null,nextProps:t,continuous:l})}},getAllEvents:function(e){this.componentEvents=nr.getComponentEvents(e,["groupComponent","containerComponent","labelComponent"]);var t,n=e.events;return Array.isArray(this.componentEvents)&&(n=Array.isArray(e.events)?(t=this.componentEvents).concat.apply(t,Lo(e.events)):this.componentEvents),n||[]},getAnimationProps:function(e,t,n){var a=this;if(!e.animate)return t.props.animate;var r,o=e.animate&&e.animate.getTransitions,i=(r=a.state&&a.state.childrenTransitions,r=On.isArrayOfArrays(r)?r[n]:r,St()({childrenTransitions:r},a.state)),l=e.animate&&e.animate.parentState||i;if(!o){var s=Rn.getTransitionPropsFactory(e,i,(function(e){return a.setState(e)}));o=function(e){return s(e,n)}}return St()({getTransitions:o,parentState:l},e.animate,t.props.animate)},getDomainFromChildren:function(e,t,n){var a=n?n.slice(0):o().Children.toArray(e.children),r=n.some((function(e){return e.props&&e.props.horizontal})),i=e&&e.horizontal||r.length>0,l=Oo.getCurrentAxis(t,i),s=e.data?Mr.getData(e,t):void 0,u={polar:e.polar,startAngle:e.startAngle,endAngle:e.endAngle,categories:e.categories,minDomain:e.minDomain,maxDomain:e.maxDomain},d=s?wt()(u,{data:s}):u,c=Zt.reduceChildren(a,(function(e){var t=wt()({},e.props,d);return Kr.isDomainComponent(e)?e.type&&Pt()(e.type.getDomain)?e.props&&e.type.getDomain(t,l):Kr.getDomain(t,l):null}),e);return[0===c.length?0:On.getMinValue(c),0===c.length?1:On.getMaxValue(c)]},getDataFromChildren:function(e,t){var n={polar:e.polar,startAngle:e.startAngle,endAngle:e.endAngle,categories:e.categories,minDomain:e.minDomain,maxDomain:e.maxDomain},a=0,r=t?t.slice(0):o().Children.toArray(e.children),i=r.filter((function(e){return e.type&&"stack"===e.type.role})).length,l=Zt.reduceChildren(r,(function(e,t,r){var i,l=wt()({},e.props,n);return Mr.isDataComponent(e)?(i=e.type&&Pt()(e.type.getData)?(e=r?o().cloneElement(e,r.props):e).type.getData(l):Mr.getData(l),a+=1,i.map((function(e,t){return wt()({stack:a,group:t},e)}))):null}),e),s=i?"group":"stack";return po()(go()(l,s))},getColor:function(e,t,n){var a=e.style,r=e.colorScale,o=e.color;if(a&&a.data&&a.data.fill)return a.data.fill;if(r=t.props&&t.props.colorScale?t.props.colorScale:r,o=t.props&&t.props.color?t.props.color:o,r||o){var i=Array.isArray(r)?r:An.getColorScale(r);return o||i[n%i.length]}},getWidth:function(e){var t=e.datasets,n=e.scale,a=e.horizontal?n.y.range():n.x.range(),r=Math.abs(a[1]-a[0]),o=Array.isArray(t[0])?t[0].length:1,i=t.length*o+2;return{width:Math.round(.5*r/i)}},getStyle:function(e,t,n){var a=e&&e[n]&&e[n].style?e[n].style:{};return Zt.getStyles(t,a)},getChildStyle:function(e,t,n){var a=n.style,r=n.role,o=e.props.style||{};if(Array.isArray(o))return o;var i=e.type&&e.type.role,l="stack"===i?void 0:this.getColor(n,e,t),s="line"===i?{fill:"none",stroke:l}:{fill:l},u="stack"===r?{}:this.getWidth(n),d=St()({},o.data,wt()({},u,a.data,s)),c=St()({},o.labels,a.labels);return{parent:a.parent,data:d,labels:c}},getStringsFromCategories:function(e,t){return Zt.reduceChildren(e.slice(0),(function(e){var n=e.props||{};if(Kr.isDomainComponent(e)&&n.categories){var a=n.categories&&!Array.isArray(n.categories)?n.categories[t]:n.props.categories,r=a&&a.filter((function(e){return"string"==typeof e}));return r?On.removeUndefined(r):[]}return null}))},getStringsFromData:function(e){return Zt.reduceChildren(e.slice(0),(function(e){var t=e.props||{};return Mr.isDataComponent(e)?(e.type&&Pt()(e.type.getData)?e.type.getData(t):Mr.getData(t)).map((function(e){return{x:e.xName,y:e.yName}})):null}),{},{x:[],y:[]},(function(e,t){var n=Array.isArray(t)?t.map((function(e){return e.x})).filter(Boolean):t.x,a=Array.isArray(t)?t.map((function(e){return 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}}))},getCategoryAndAxisStringsFromChildren:function(e,t,n){var a=Zt.getCurrentAxis(t,e.horizontal),r=ee()(e.categories)?e.categories[t]:e.categories,o=Oo.getAxisComponent(n,a),i=o?Mr.getStringsFromAxes(o.props,t):[],l=r||this.getStringsFromCategories(n,t);return Ka()(Fr()(Lo(l).concat(Lo(i))))},getStringsFromChildren:function(e,t){t=t||o().Children.toArray(e.children);var n=this.getCategoryAndAxisStringsFromChildren(e,"x",t),a=this.getCategoryAndAxisStringsFromChildren(e,"y",t),r=this.getStringsFromData(t);return{x:Ka()(Fr()(Lo(n).concat(Lo(r.x)))),y:Ka()(Fr()(Lo(a).concat(Lo(r.y))))}},getCategories:function(e){var t=e.categories&&!Array.isArray(e.categories)?e.categories.x:e.categories,n=e.categories&&!Array.isArray(e.categories)?e.categories.y:e.categories,a=t&&n?{}:this.getStringsFromChildren(e),r=t||a.x,o=n||a.y;return{x:r.length>0?r:void 0,y:o.length>0?o:void 0}}}},36547:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0iYSIgZD0iTTkgNi43MWEuOTk2Ljk5NiAwIDAgMCAwIDEuNDFMMTIuODggMTIgOSAxNS44OGEuOTk2Ljk5NiAwIDEgMCAxLjQxIDEuNDFMMTUgMTIuN2EuOTk2Ljk5NiAwIDAgMCAwLTEuNDFMMTAuNDEgNi43Yy0uMzgtLjM4LTEuMDItLjM4LTEuNDEuMDF6Ii8+CiAgICA8L2RlZnM+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxtYXNrIGlkPSJiIiBmaWxsPSIjZmZmIj4KICAgICAgICAgICAgPHVzZSB4bGluazpocmVmPSIjYSIvPgogICAgICAgIDwvbWFzaz4KICAgICAgICA8ZyBmaWxsPSIjMDAwIiBmaWxsLW9wYWNpdHk9Ii41NCIgbWFzaz0idXJsKCNiKSI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiLz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo="},19229:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0iYSIgZD0iTTE1Ljg3NSA5bC0zLjg4IDMuODhMOC4xMTUgOWEuOTk2Ljk5NiAwIDEgMC0xLjQxIDEuNDFsNC41OSA0LjU5Yy4zOS4zOSAxLjAyLjM5IDEuNDEgMGw0LjU5LTQuNTlhLjk5Ni45OTYgMCAwIDAgMC0xLjQxYy0uMzktLjM4LTEuMDMtLjM5LTEuNDIgMHoiLz4KICAgIDwvZGVmcz4KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPG1hc2sgaWQ9ImIiIGZpbGw9IiNmZmYiPgogICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNhIi8+CiAgICAgICAgPC9tYXNrPgogICAgICAgIDxnIGZpbGw9IiMwMDAiIGZpbGwtb3BhY2l0eT0iLjU0IiBtYXNrPSJ1cmwoI2IpIj4KICAgICAgICAgICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIvPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+Cg=="},20168:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0iYSIgZD0iTTExIDdoMnYyaC0yVjd6bTEgMTBjLjU1IDAgMS0uNDUgMS0xdi00YzAtLjU1LS40NS0xLTEtMXMtMSAuNDUtMSAxdjRjMCAuNTUuNDUgMSAxIDF6bTAtMTVDNi40OCAyIDIgNi40OCAyIDEyczQuNDggMTAgMTAgMTAgMTAtNC40OCAxMC0xMFMxNy41MiAyIDEyIDJ6bTAgMThjLTQuNDEgMC04LTMuNTktOC04czMuNTktOCA4LTggOCAzLjU5IDggOC0zLjU5IDgtOCA4eiIvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+CiAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI2EiLz4KICAgICAgICA8L21hc2s+CiAgICAgICAgPGcgZmlsbD0iIzAwMCIgZmlsbC1vcGFjaXR5PSIuNTQiIG1hc2s9InVybCgjYikiPgogICAgICAgICAgICA8cGF0aCBkPSJNMCAwaDI0djI0SDB6Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K"},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 l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var s=i?Object.getOwnPropertyDescriptor(e,l):null;s&&(s.get||s.set)?Object.defineProperty(o,l,s):o[l]=e[l]}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 l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).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 l(e){a(i,r,o,l,s,"next",e)}function s(e){a(i,r,o,l,s,"throw",e)}l(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 l=(0,a.default)(this).constructor;n=Reflect.construct(i,arguments,l)}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},l="function"==typeof Symbol?Symbol:{},s=l.iterator||"@@iterator",u=l.asyncIterator||"@@asyncIterator",d=l.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),l=new D(a||[]);return i(o,"_invoke",{value:I(e,n,l)}),o}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var m="suspendedStart",g="suspendedYield",A="executing",h="completed",b={};function y(){}function v(){}function E(){}var C={};c(C,s,(function(){return this}));var T=Object.getPrototypeOf,B=T&&T(T(k([])));B&&B!==n&&o.call(B,s)&&(C=B);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,l,s){var u=p(e[r],e,i);if("throw"!==u.type){var d=u.arg,c=d.value;return c&&"object"==(0,a.default)(c)&&o.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,l,s)}),(function(e){n("throw",e,l,s)})):t.resolve(c).then((function(e){d.value=e,l(d)}),(function(e){return n("throw",e,l,s)}))}s(u.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=m;return function(o,i){if(r===A)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 l=a.delegate;if(l){var s=O(l,a);if(s){if(s===b)continue;return s}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(r===m)throw r=h,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);r=A;var u=p(t,n,a);if("normal"===u.type){if(r=a.done?h:g,u.arg===b)continue;return{value:u.arg,done:a.done}}"throw"===u.type&&(r=h,a.method="throw",a.arg=u.arg)}}}function O(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,O(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=p(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 L(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 P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function k(t){if(t||""===t){var n=t[s];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,d,"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,d,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},x(w.prototype),c(w.prototype,u,(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,d,"Generator"),c(S,s,(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=k,D.prototype={constructor:D,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(P),!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 l.type="throw",l.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],l=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!u)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),P(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;P(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,a){return this.delegate={iterator:k(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,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=o.call(n)).done)&&(l.push(a.value),l.length!==t);s=!0);}catch(e){u=!0,r=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw r}}return l}}(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}}}},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}),e.utils=e.containers=e.components=void 0;var r=t(n(27825)),o=t(n(45108)),i=t(n(13309)),l=t(n(51530)),s=t(n(11436)),u=t(n(50628)),d=t(n(94618)),c=t(n(38933)),f=t(n(39695)),p=t(n(69717)),m=t(n(56607)),g=t(n(15910)),A=t(n(63616)),h=t(n(78572)),b=t(n(88054)),y=t(n(32592)),v=t(n(31768)),E=n(99559),C=n(84240),T=n(11673),B=n(66871),S=n(74501),x=n(89540),w=n(80358),I=n(98020),O=n(37359),L=t(n(40549)),P=n(51856),D=n(54114);n(72439);var k=n(56427);void 0===r.default.get(k,"options.returnEmptyString")&&k.init({returnEmptyString:!1,nsSeparator:"|"}),e.components={CBGDateTraceLabel:o.default,ClipboardButton:u.default,FocusedRangeLabels:i.default,FocusedSMBGPointLabel:l.default,Loader:s.default,RangeSelect:d.default,TwoOptionToggle:c.default,Tooltip:m.default,BolusTooltip:g.default,PumpSettingsOverrideTooltip:A.default,SMBGTooltip:h.default,Stat:b.default,CBGTooltip:y.default,FoodTooltip:v.default},e.containers={PumpSettingsContainer:f.default,TrendsContainer:p.default},e.utils={agp:{generateAGPFigureDefinitions:P.generateAGPFigureDefinitions},basal:{getGroupDurations:T.getGroupDurations,getTotalBasalFromEndpoints:T.getTotalBasalFromEndpoints},bg:{formatBgValue:E.formatBgValue,generateBgRangeLabels:C.generateBgRangeLabels,isCustomBgRange:C.isCustomBgRange,reshapeBgClassesToBgBounds:C.reshapeBgClassesToBgBounds},constants:{DEFAULT_BG_BOUNDS:B.DEFAULT_BG_BOUNDS},datetime:{findBasicsStart:D.findBasicsStart,formatDateRange:S.formatDateRange,formatTimeAgo:S.formatTimeAgo,getLocalizedCeiling:S.getLocalizedCeiling,getOffset:S.getOffset,getTimezoneFromTimePrefs:S.getTimezoneFromTimePrefs},stat:{commonStats:w.commonStats,getStatAnnotations:w.getStatAnnotations,getStatData:w.getStatData,getStatDefinition:w.getStatDefinition,getStatTitle:w.getStatTitle,statBgSourceLabels:w.statBgSourceLabels,statFetchMethods:w.statFetchMethods},settings:{deviceName:x.deviceName},aggregation:{defineBasicsAggregations:D.defineBasicsAggregations,processBasicsAggregations:D.processBasicsAggregations},text:{TextUtil:L.default,trendsText:O.trendsText,basicsText:D.basicsText,bgLogText:I.bgLogText}}})();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
|