@careevolution/mydatahelps-ui 2.9.1-AsthmaUI.37 → 2.9.1-AsthmaUI.38
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/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import*as e from"react";import t,{useEffect as n,forwardRef as r,createElement a
|
|
|
27
27
|
object-assign
|
|
28
28
|
(c) Sindre Sorhus
|
|
29
29
|
@license MIT
|
|
30
|
-
*/function ol(){if(Ys)return Gs;Ys=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Gs=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(r,i){for(var a,o,c=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),s=1;s<arguments.length;s++){for(var l in a=Object(arguments[s]))t.call(a,l)&&(c[l]=a[l]);if(e){o=e(a);for(var u=0;u<o.length;u++)n.call(a,o[u])&&(c[o[u]]=a[o[u]])}}return c},Gs}function cl(){if(Xs)return Zs;Xs=1;return Zs="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function sl(){return $s?Qs:($s=1,Qs=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var ll=al();Hs.exports=function(){if(tl)return el;tl=1;var e=al(),t=ol(),n=cl(),r=sl(),i=function(){if(Js)return Ks;Js=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=cl(),n={},r=sl();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function i(i,a,o,c,s){if("production"!==process.env.NODE_ENV)for(var l in i)if(r(i,l)){var u;try{if("function"!=typeof i[l]){var d=Error((c||"React class")+": "+o+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=i[l](a,l,c,o,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((c||"React class")+": type specification of "+o+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var f=s?s():"";e("Failed "+o+" type: "+u.message+(null!=f?f:""))}}}return i.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Ks=i}(),a=function(){};function o(){return null}return"production"!==process.env.NODE_ENV&&(a=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),el=function(c,s){var l="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",d="<<anonymous>>",f={array:v("array"),bigint:v("bigint"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:m(o),arrayOf:function(e){return m((function(t,r,i,a,o){if("function"!=typeof e)return new h("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var c=t[r];if(!Array.isArray(c))return new h("Invalid "+a+" `"+o+"` of type `"+b(c)+"` supplied to `"+i+"`, expected an array.");for(var s=0;s<c.length;s++){var l=e(c,s,i,a,o+"["+s+"]",n);if(l instanceof Error)return l}return null}))},element:m((function(e,t,n,r,i){var a=e[t];return c(a)?null:new h("Invalid "+r+" `"+i+"` of type `"+b(a)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:m((function(t,n,r,i,a){var o=t[n];return e.isValidElementType(o)?null:new h("Invalid "+i+" `"+a+"` of type `"+b(o)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return m((function(t,n,r,i,a){if(!(t[n]instanceof e)){var o=e.name||d;return new h("Invalid "+i+" `"+a+"` of type `"+((c=t[n]).constructor&&c.constructor.name?c.constructor.name:d)+"` supplied to `"+r+"`, expected instance of `"+o+"`.")}var c;return null}))},node:m((function(e,t,n,r,i){return y(e[t])?null:new h("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return m((function(t,i,a,o,c){if("function"!=typeof e)return new h("Property `"+c+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var s=t[i],l=b(s);if("object"!==l)return new h("Invalid "+o+" `"+c+"` of type `"+l+"` supplied to `"+a+"`, expected an object.");for(var u in s)if(r(s,u)){var d=e(s,u,a,o,c+"."+u,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?m((function(t,n,r,i,a){for(var o=t[n],c=0;c<e.length;c++)if(p(o,e[c]))return null;var s=JSON.stringify(e,(function(e,t){return"symbol"===x(t)?String(t):t}));return new h("Invalid "+i+" `"+a+"` of value `"+String(o)+"` supplied to `"+r+"`, expected one of "+s+".")})):("production"!==process.env.NODE_ENV&&a(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),o)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&a("Invalid argument supplied to oneOfType, expected an instance of array."),o;for(var t=0;t<e.length;t++){var i=e[t];if("function"!=typeof i)return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+w(i)+" at index "+t+"."),o}return m((function(t,i,a,o,c){for(var s=[],l=0;l<e.length;l++){var u=(0,e[l])(t,i,a,o,c,n);if(null==u)return null;u.data&&r(u.data,"expectedType")&&s.push(u.data.expectedType)}return new h("Invalid "+o+" `"+c+"` supplied to `"+a+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return m((function(t,r,i,a,o){var c=t[r],s=b(c);if("object"!==s)return new h("Invalid "+a+" `"+o+"` of type `"+s+"` supplied to `"+i+"`, expected `object`.");for(var l in e){var u=e[l];if("function"!=typeof u)return g(i,a,o,l,x(u));var d=u(c,l,i,a,o+"."+l,n);if(d)return d}return null}))},exact:function(e){return m((function(i,a,o,c,s){var l=i[a],u=b(l);if("object"!==u)return new h("Invalid "+c+" `"+s+"` of type `"+u+"` supplied to `"+o+"`, expected `object`.");var d=t({},i[a],e);for(var f in d){var p=e[f];if(r(e,f)&&"function"!=typeof p)return g(o,c,s,f,x(p));if(!p)return new h("Invalid "+c+" `"+s+"` key `"+f+"` supplied to `"+o+"`.\nBad object: "+JSON.stringify(i[a],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=p(l,f,o,c,s+"."+f,n);if(m)return m}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function i(i,o,c,l,u,f,p){if(l=l||d,f=f||c,p!==n){if(s){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var v=l+":"+c;!t[v]&&r<3&&(a("You are manually calling a React.PropTypes validation function for the `"+f+"` prop on `"+l+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[v]=!0,r++)}}return null==o[c]?i?null===o[c]?new h("The "+u+" `"+f+"` is marked as required in `"+l+"`, but its value is `null`."):new h("The "+u+" `"+f+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:e(o,c,l,u,f)}var o=i.bind(null,!1);return o.isRequired=i.bind(null,!0),o}function v(e){return m((function(t,n,r,i,a,o){var c=t[n];return b(c)!==e?new h("Invalid "+i+" `"+a+"` of type `"+x(c)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,n,r,i){return new h((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function y(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(y);if(null===e||c(e))return!0;var t=function(e){var t=e&&(l&&e[l]||e[u]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!y(n.value))return!1}else for(;!(n=r.next()).done;){var i=n.value;if(i&&!y(i[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function x(e){if(null==e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function w(e){var t=x(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return h.prototype=Error.prototype,f.checkPropTypes=i,f.resetWarningCache=i.resetWarningCache,f.PropTypes=f,f},el}()(ll.isElement,!0)}else Hs.exports=function(){if(rl)return nl;rl=1;var e=cl();function t(){}function n(){}return n.resetWarningCache=t,nl=function(){function r(t,n,r,i,a,o){if(o!==e){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function i(){return r}r.isRequired=r;var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a}}()();var ul=jt(Hs.exports);function dl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dl(Object(n),!0).forEach((function(t){hl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pl(e){return pl="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},pl(e)}function hl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ml(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function vl(e){return function(e){if(Array.isArray(e))return gl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return gl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gl(e,t)}(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.")}()}function gl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yl(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var bl=["style"];var xl=!1;try{xl="production"===process.env.NODE_ENV}catch(Ut){}function wl(e){return e&&"object"===pl(e)&&e.prefix&&e.iconName&&e.icon?e:zs.icon?zs.icon(e):null===e?null:e&&"object"===pl(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function Al(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?hl({},e,t):{}}var kl=t.forwardRef((function(e,t){var n=e.icon,r=e.mask,i=e.symbol,a=e.className,o=e.title,c=e.titleId,s=e.maskId,l=wl(n),u=Al("classes",[].concat(vl(function(e){var t,n=e.beat,r=e.fade,i=e.beatFade,a=e.bounce,o=e.shake,c=e.flash,s=e.spin,l=e.spinPulse,u=e.spinReverse,d=e.pulse,f=e.fixedWidth,p=e.inverse,h=e.border,m=e.listItem,v=e.flip,g=e.size,y=e.rotation,b=e.pull,x=(hl(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":a,"fa-shake":o,"fa-flash":c,"fa-spin":s,"fa-spin-reverse":u,"fa-spin-pulse":l,"fa-pulse":d,"fa-fw":f,"fa-inverse":p,"fa-border":h,"fa-li":m,"fa-flip":!0===v,"fa-flip-horizontal":"horizontal"===v||"both"===v,"fa-flip-vertical":"vertical"===v||"both"===v},"fa-".concat(g),null!=g),hl(t,"fa-rotate-".concat(y),null!=y&&0!==y),hl(t,"fa-pull-".concat(b),null!=b),hl(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(x).map((function(e){return x[e]?e:null})).filter((function(e){return e}))}(e)),vl(a.split(" ")))),d=Al("transform","string"==typeof e.transform?zs.transform(e.transform):e.transform),f=Al("mask",wl(r)),p=Fs(l,fl(fl(fl(fl({},u),d),f),{},{symbol:i,title:o,titleId:c,maskId:s}));if(!p)return function(){var e;!xl&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",l),null;var h=p.abstract,m={ref:t};return Object.keys(e).forEach((function(t){kl.defaultProps.hasOwnProperty(t)||(m[t]=e[t])})),El(h[0],m)}));kl.displayName="FontAwesomeIcon",kl.propTypes={beat:ul.bool,border:ul.bool,beatFade:ul.bool,bounce:ul.bool,className:ul.string,fade:ul.bool,flash:ul.bool,mask:ul.oneOfType([ul.object,ul.array,ul.string]),maskId:ul.string,fixedWidth:ul.bool,inverse:ul.bool,flip:ul.oneOf([!0,!1,"horizontal","vertical","both"]),icon:ul.oneOfType([ul.object,ul.array,ul.string]),listItem:ul.bool,pull:ul.oneOf(["right","left"]),pulse:ul.bool,rotation:ul.oneOf([0,90,180,270]),shake:ul.bool,size:ul.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:ul.bool,spinPulse:ul.bool,spinReverse:ul.bool,symbol:ul.oneOfType([ul.bool,ul.string]),title:ul.string,titleId:ul.string,transform:ul.oneOfType([ul.string,ul.object]),swapOpacity:ul.bool},kl.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var El=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var i=(n.children||[]).map((function(n){return e(t,n)})),a=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=yl(t.slice(0,r)),a=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=a:e[i]=a,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[yl(t)]=r}return e}),{attrs:{}}),o=r.style,c=void 0===o?{}:o,s=ml(r,bl);return a.attrs.style=fl(fl({},a.attrs.style),c),t.apply(void 0,[n.tag,fl(fl({},a.attrs),s)].concat(vl(i)))}.bind(null,t.createElement),Sl={prefix:"far",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},Cl={prefix:"fas",iconName:"file-lines",icon:[384,512,[128441,128462,61686,"file-alt","file-text"],"f15c","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},Ol={prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},_l={prefix:"fas",iconName:"caret-up",icon:[320,512,[],"f0d8","M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8H288c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z"]},Dl={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},Tl={prefix:"fas",iconName:"address-card",icon:[576,512,[62140,"contact-card","vcard"],"f2bb","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm80 256h64c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80zm-32-96a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zm256-32H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},Ml={prefix:"fas",iconName:"arrows-rotate",icon:[512,512,[128472,"refresh","sync"],"f021","M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160H336c-17.7 0-32 14.3-32 32s14.3 32 32 32H463.5c0 0 0 0 0 0h.4c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1V448c0 17.7 14.3 32 32 32s32-14.3 32-32V396.9l17.6 17.5 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352H176c17.7 0 32-14.3 32-32s-14.3-32-32-32H48.4c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z"]},Nl={prefix:"fas",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},Pl={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},jl=Pl,Il={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},Rl={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},Ll={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]};function Bl(e){var n,r=o(gi),i=null!==(n=e.selectedValues)&&void 0!==n?n:[],a=function(t){e.onChange&&e.onChange(t)},c={"--mdhui-value-selector-title-color":Wt(null==r?void 0:r.colorScheme,e.titleColor),"--mdhui-value-selector-subtitle-color":Wt(null==r?void 0:r.colorScheme,e.subtitleColor),"--mdhui-value-selector-value-background-color":Wt(null==r?void 0:r.colorScheme,e.valueBackgroundColor),"--mdhui-value-selector-value-text-color":Wt(null==r?void 0:r.colorScheme,e.valueTextColor),"--mdhui-value-selector-button-value-selected-background-color":Wt(null==r?void 0:r.colorScheme,e.selectedButtonBackgroundColor),"--mdhui-value-selector-button-value-selected-text-color":Wt(null==r?void 0:r.colorScheme,e.selectedButtonTextColor),"--mdhui-value-selector-checkbox-color":Wt(null==r?void 0:r.colorScheme,e.checkboxColor),"--mdhui-value-selector-checkbox-selected-color":Wt(null==r?void 0:r.colorScheme,e.selectedCheckboxColor)};return t.createElement("div",{className:"mdhui-value-selector",style:c,ref:e.innerRef},e.title&&t.createElement("div",{className:"mdhui-value-selector-title"},e.title),e.subtitle&&t.createElement("div",{className:"mdhui-value-selector-subtitle"},e.subtitle),t.createElement("div",{className:"mdhui-value-selector-values"},e.values.map((function(n,r){var o=["mdhui-value-selector-value"];return i.includes(n)&&o.push("mdhui-value-selector-value-selected"),"checkboxes"===e.variant?o.push("mdhui-value-selector-value-checkbox"):o.push("mdhui-value-selector-value-button"),t.createElement("div",{key:r,className:o.join(" "),onClick:function(){return function(t){i.includes(t)?(i.length>1||!e.preventEmptySelections)&&a(i.filter((function(e){return e!==t}))):e.multiSelect?a(O(O([],i,!0),[t],!1)):a([t])}(n)}},t.createElement("div",{className:"mdhui-value-selector-value-text"},n),"checkboxes"===e.variant&&i.includes(n)&&t.createElement(kl,{className:"mdhui-value-selector-value-checkbox-icon mdhui-value-selector-value-checkbox-icon-selected",icon:Dl}),"checkboxes"===e.variant&&!i.includes(n)&&t.createElement(kl,{className:"mdhui-value-selector-value-checkbox-icon",icon:Sl}))}))))}function zl(e){var n=o(gi);return e.title||e.subtitle?t.createElement("div",{className:"mdhui-view-header"},t.createElement("div",{className:"mdhui-view-header-text"},e.title&&t.createElement("div",{style:{color:Wt(n.colorScheme,e.titleColor)},className:"mdhui-view-header-title"},e.title),e.subtitle&&t.createElement("div",{style:{color:Wt(n.colorScheme,e.subtitleColor)},className:"mdhui-view-header-subtitle"},e.subtitle)),t.createElement("div",{className:"mdhui-view-header-action"},e.action)):null}k(".mdhui-view-header {\n padding: 32px 16px;\n display: grid;\n grid-template-columns: auto max-content;\n align-content: center;\n}\n\n.mdhui-view-header .mdhui-view-header-title {\n font-weight: 700;\n font-size: 2em;\n margin-bottom: 8px;\n color: var(--mdhui-text-color-0);\n}\n\n.mdhui-view-header .mdhui-view-header-subtitle {\n font-weight: 500;\n color: var(--mdhui-text-color-2);\n font-size: 1.2em;\n}");function Fl(e){var r=l(null);n((function(){var t;if(e.onStartDateChange){var n=function(t){var i,a,o,c;0==(null===(i=r.current)||void 0===i?void 0:i.scrollLeft)?(e.onStartDateChange(I(e.startDate,{weeks:-1})),null===(a=r.current)||void 0===a||a.removeEventListener("scroll",n)):(null===(o=r.current)||void 0===o?void 0:o.scrollLeft)==2*window.innerWidth&&(e.onStartDateChange(I(e.startDate,{weeks:1})),null===(c=r.current)||void 0===c||c.removeEventListener("scroll",n))};return null===(t=r.current)||void 0===t||t.addEventListener("scroll",n),function(){var e;null===(e=r.current)||void 0===e||e.removeEventListener("scroll",n)}}}),[e.startDate]);for(var i=[],a=[],o=[],c=I(e.startDate,{days:-7}),s=0;s<21;s++)s<7?i.push(c):s<14?a.push(c):o.push(c),c=I(c,{days:1});function u(e){return t.createElement("div",{className:"mdhui-week-calendar-date-label"},t.createElement("div",{className:"mdhui-week-calendar-day-of-week"}," ",Ye(e,"E").substr(0,1)),t.createElement("div",{className:"mdhui-week-calendar-day-of-month"},Ye(e,"d")))}function d(t){var n=["mdhui-week-calendar-day"];return t>new Date?n.push("mdhui-week-calendar-day-future"):e.onDateSelected&&n.push("mdhui-week-calendar-day-selectable"),e.selectedDate&&et(t).substr(0,10)==et(e.selectedDate).substr(0,10)&&n.push("mdhui-week-calendar-day-selected"),n}return n((function(){r.current&&(r.current.scrollLeft=window.innerWidth)})),r.current&&(r.current.scrollLeft=window.innerWidth),t.createElement("div",{className:"mdhui-week-calendar",ref:r},e.loading&&t.createElement("div",{className:"mdhui-week-calendar-loading"},t.createElement(ki,null)),t.createElement("div",{className:"mdhui-week-calendar-week"},i.map((function(n){return t.createElement("div",{key:n.getTime(),className:"mdhui-week-calendar-day"},e.dayRenderer(n.getFullYear(),n.getMonth(),n.getDate(),!1),!e.hideDateLabel&&u(n))}))),t.createElement("div",{className:"mdhui-week-calendar-week"},a.map((function(n){return t.createElement(Ft,{key:n.getTime(),className:d(n).join(" "),onClick:function(){return function(t){t>new Date||e.onDateSelected&&e.onDateSelected(t)}(n)}},e.dayRenderer(n.getFullYear(),n.getMonth(),n.getDate(),!0),!e.hideDateLabel&&u(n))}))),I(e.startDate,{days:7})<new Date&&t.createElement("div",{className:"mdhui-week-calendar-week"},o.map((function(n){return t.createElement("div",{key:n.getTime(),className:d(n).join(" ")},e.dayRenderer(n.getFullYear(),n.getMonth(),n.getDate(),!1),!e.hideDateLabel&&u(n))}))))}k(".mdhui-week-calendar {\n background: var(--mdhui-background-color-0);\n overflow-x: scroll;\n overflow-y: hidden;\n z-index: 0;\n position: relative;\n display: flex;\n scroll-snap-type: x mandatory;\n scrollbar-width: none;\n border-top: solid 1px var(--mdhui-border-color-1);\n border-bottom: solid 1px var(--mdhui-border-color-1);\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-loading {\n position: absolute;\n width: 100%;\n left: 100%;\n top: calc(50% - 10px);\n}\n\n.mdhui-week-calendar * {\n user-select: none;\n}\n\n.mdhui-week-calendar::-webkit-scrollbar {\n display: none;\n /* Safari and Chrome */\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-week {\n min-width: 100%;\n scroll-snap-align: start;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day {\n width: calc(14.28% - 1px);\n border-left: solid 1px var(--mdhui-border-color-1);\n overflow: hidden;\n position: relative;\n display: inline-block;\n vertical-align: top;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day:first-child {\n width: 14.28%;\n border-left: none;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-date-label {\n padding-top: 4px;\n line-height: 16px;\n padding-bottom: 8px;\n text-align: center;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-date-label .mdhui-week-calendar-day-of-week {\n font-size: 10px;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-date-label .mdhui-week-calendar-day-of-month {\n font-size: 14px;\n display: inline-block;\n text-align: center;\n width: 24px;\n height: 24px;\n border-radius: 24px;\n line-height: 24px;\n margin-top: 2px;\n margin-bottom: 2px;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day-selectable {\n cursor: pointer;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day-selected {\n background: var(--mdhui-background-color-2);\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day-selected .mdhui-week-calendar-date-label .mdhui-week-calendar-day-of-month {\n background-color: var(--mdhui-color-primary);\n color: #FFF;\n font-weight: bold;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day-future>* {\n opacity: .4;\n}");var Hl={"no-data":{homeAirQuality:{type:"home",status:"establishing"},workAirQuality:{type:"work",status:"establishing"}},"some-data":{homeAirQuality:{type:"home",status:"in-range",value:32},workAirQuality:{type:"work",status:"establishing"}},"all-data":{homeAirQuality:{type:"home",status:"in-range",value:32},workAirQuality:{type:"work",status:"out-of-range",value:130,description:"Unhealthy"}}};function ql(e){var n=s(!0),r=n[0],i=n[1],a=s(),o=a[0],c=a[1],l=s(),u=l[0],d=l[1];zt((function(){if(i(!0),e.previewState)return c(Hl[e.previewState].homeAirQuality),d(Hl[e.previewState].workAirQuality),void i(!1);Ct.loadAirQualities().then((function(e){c(e.find((function(e){return"home"===e.type}))),d(e.find((function(e){return"work"===e.type}))),i(!1)}))}));var f=function(){e.previewState||x.openApplication(e.airQualitiesUrl,{modal:!0})};return t.createElement("div",{className:"mdhui-asthma-air-qualities",ref:e.innerRef},t.createElement("div",{className:"mdhui-asthma-air-qualities-title"},"Air Quality"),r&&t.createElement(ki,null),!r&&t.createElement("div",{className:"mdhui-asthma-air-qualities-data"},t.createElement(Nt,{label:"AQI (Home)",status:o.status,statusText:o.description,value:o.value,onClick:function(){return f()}}),t.createElement(Nt,{label:"AQI (Work)",status:u.status,statusText:u.description,value:u.value,onClick:function(){return f()}})))}k(".mdhui-asthma-biometrics {\n padding: 16px;\n}\n\n.mdhui-asthma-biometrics-title {\n font-size: 24px;\n font-weight: bold;\n margin-bottom: 16px;\n}\n\n.mdhui-asthma-biometrics-data {\n display: grid;\n grid-template-columns: 1fr 1fr;\n align-items: center;\n grid-column-gap: 16px;\n grid-row-gap: 16px;\n}\n");var Ul={"no-data":{daytimeRestingHeartRate:{type:"daytime-resting-heart-rate",status:"establishing"},nighttimeRestingHeartRate:{type:"nighttime-resting-heart-rate",status:"establishing"},respiratoryRate:{type:"respiratory-rate",status:"establishing"},steps:{type:"steps",status:"establishing"},sleepDisturbances:{type:"sleep-disturbances",status:"establishing"},daytimeBloodOxygenLevel:{type:"daytime-blood-oxygen-level",status:"establishing"},nighttimeBloodOxygenLevel:{type:"nighttime-blood-oxygen-level",status:"establishing"}},"some-data":{daytimeRestingHeartRate:{type:"daytime-resting-heart-rate",status:"in-range",value:64},nighttimeRestingHeartRate:{type:"nighttime-resting-heart-rate",status:"offline",value:60},respiratoryRate:{type:"respiratory-rate",status:"establishing"},steps:{type:"steps",status:"out-of-range",value:12909},sleepDisturbances:{type:"sleep-disturbances",status:"establishing"},daytimeBloodOxygenLevel:{type:"daytime-blood-oxygen-level",status:"establishing"},nighttimeBloodOxygenLevel:{type:"nighttime-blood-oxygen-level",status:"in-range",value:96}},"all-data":{daytimeRestingHeartRate:{type:"daytime-resting-heart-rate",status:"in-range",value:64},nighttimeRestingHeartRate:{type:"nighttime-resting-heart-rate",status:"offline",value:60},respiratoryRate:{type:"respiratory-rate",status:"in-range",value:20},steps:{type:"steps",status:"out-of-range",value:12909},sleepDisturbances:{type:"sleep-disturbances",status:"establishing",value:4},daytimeBloodOxygenLevel:{type:"daytime-blood-oxygen-level",status:"in-range",value:95},nighttimeBloodOxygenLevel:{type:"nighttime-blood-oxygen-level",status:"in-range",value:96}}};function Vl(e){var n=s(!0),r=n[0],i=n[1],a=s(),o=a[0],c=a[1],l=s(),u=l[0],d=l[1],f=s(),p=f[0],h=f[1],m=s(),v=m[0],g=m[1],y=s(),b=y[0],w=y[1],A=s(),k=A[0],E=A[1],S=s(),C=S[0],O=S[1];zt((function(){if(i(!0),e.previewState)return c(Ul[e.previewState].daytimeRestingHeartRate),d(Ul[e.previewState].nighttimeRestingHeartRate),h(Ul[e.previewState].respiratoryRate),g(Ul[e.previewState].steps),w(Ul[e.previewState].sleepDisturbances),E(Ul[e.previewState].daytimeBloodOxygenLevel),O(Ul[e.previewState].nighttimeBloodOxygenLevel),void i(!1);Ct.loadBiometrics().then((function(e){c(e.find((function(e){return"daytime-resting-heart-rate"===e.type}))),d(e.find((function(e){return"nighttime-resting-heart-rate"===e.type}))),h(e.find((function(e){return"respiratory-rate"===e.type}))),g(e.find((function(e){return"steps"===e.type}))),w(e.find((function(e){return"sleep-disturbances"===e.type}))),E(e.find((function(e){return"daytime-blood-oxygen-level"===e.type}))),O(e.find((function(e){return"nighttime-blood-oxygen-level"===e.type}))),i(!1)}))}));var _=function(t){e.previewState||("daytime-resting-heart-rate"===t||"nighttime-resting-heart-rate"===t||"respiratory-rate"===t||"daytime-blood-oxygen-level"===t||"nighttime-blood-oxygen-level"===t?x.openApplication(e.heartAndLungsUrl,{modal:!0}):"steps"===t?x.openApplication(e.activityUrl,{modal:!0}):"sleep-disturbances"===t&&x.openApplication(e.sleepUrl,{modal:!0}))};return t.createElement("div",{className:"mdhui-asthma-biometrics",ref:e.innerRef},t.createElement("div",{className:"mdhui-asthma-biometrics-title"},"Health & Activity"),r&&t.createElement(ki,null),!r&&t.createElement("div",{className:"mdhui-asthma-biometrics-data"},t.createElement(Nt,{label:"Resting HR (Day)",status:o.status,value:o.value,units:"BPM",onClick:function(){return _("daytime-resting-heart-rate")}}),t.createElement(Nt,{label:"Resting HR (Night)",status:u.status,value:u.value,units:"BPM",onClick:function(){return _("nighttime-resting-heart-rate")}}),t.createElement(Nt,{label:"Respiratory Rate",status:p.status,value:p.value,units:"BPM",onClick:function(){return _("respiratory-rate")}}),t.createElement(Nt,{label:"Steps",status:v.status,value:v.value,onClick:function(){return _("steps")}}),t.createElement(Nt,{label:"Sleep Disturbances",status:b.status,value:b.value,onClick:function(){return _("sleep-disturbances")}}),t.createElement(Nt,{label:"Oxygen Saturation (Day)",status:k.status,value:k.value,onClick:function(){return _("daytime-blood-oxygen-level")},units:"%"}),t.createElement(Nt,{label:"Oxygen Saturation (Night)",status:C.status,value:C.value,onClick:function(){return _("nighttime-blood-oxygen-level")},units:"%"})))}var Wl=function(e,t){return{identifier:Ot(I(new Date,{days:-e})),symptomLevel:t,symptoms:[],impacts:[],triggers:[]}},Gl={"no-logs":{logEntries:[]},"some-logs":{logEntries:[Wl(20,"none"),E(E({},Wl(19,"mild")),{impacts:["Limiting your daily activity"]}),Wl(17,"none"),Wl(16,"none"),Wl(15,"none"),Wl(8,"none"),Wl(7,"none"),Wl(6,"none"),Wl(5,"none"),Wl(4,"none"),Wl(3,"none"),Wl(2,"mild"),Wl(1,"mild"),Wl(0,"mild")]}};function Yl(e){var n,r,i=o(gi),a=o(qi),c=s([]),l=c[0],u=c[1];zt((function(){e.previewState?u(Gl[e.previewState].logEntries):Ct.loadLogEntries().then((function(e){u(e)}))}));var d={"not-determined":{style:{background:"#000",color:"#fff"},streak:!0,streakColor:"#DBDBDB"},"not-controlled":{style:{background:"#F86A5C",color:"#fff"},streak:!0,streakColor:"#FCCCC7"},controlled:{style:{background:"#35A6A0",color:"#fff"},streak:!0,streakColor:"#CCE9E7"}},f=function(e){var t=_t(l,e).status;return"not-determined"===t?"not-determined":"not-controlled"===t?"not-controlled":"controlled"===t?"controlled":W(e,new Date)?"today":nt(e,new Date)?"future":"no-data"},p=function(t){e.previewState||nt(t,new Date)||x.openApplication(e.dayViewUrl+"?date="+et(t,{representation:"date"}),{modal:!0})},h=null!==(r=null!==(n=null==a?void 0:a.intervalStart)&&void 0!==n?n:e.intervalStart)&&void 0!==r?r:te(new Date);return t.createElement("div",null,t.createElement(Ni,{innerRef:e.innerRef,className:"mdhui-asthma-control-calendar",year:h.getFullYear(),month:h.getMonth(),dayRenderer:function(e,n,r){return t.createElement(Pi,{year:e,month:n,day:r,stateConfiguration:d,computeStateForDay:f,onClick:p})}}),"verbose"===e.variant&&function(){if(0===l.length)return null;for(var n={},r=O([],l,!0).sort((function(e,t){return e.identifier.localeCompare(t.identifier)}))[0],a=at(r.identifier),o=function(e){var t=I(new Date(a),{days:e});!rt(t,h)&&rt(t,I(new Date(h),{months:1}))&&(n[Ot(t)]=l.find((function(e){return e.identifier===Ot(t)})))},c=0;c<=Z(new Date,a);c++)o(c);return t.createElement("div",{className:"mdhui-asthma-control-calendar-log-entries"},Object.keys(n).sort().reverse().map((function(r,a){var o=at(r),c=n[r];return t.createElement(Ii,{backgroundColor:Wt(null==i?void 0:i.colorScheme,e.logEntryBackgroundColor),key:a},t.createElement(bi,{title:Ye(o,"LLLL do"),subtitle:c?Tt(c.symptomLevel):"Daily entry missed",onClick:function(){return p(o)}}))})))}())}k(".mdhui-asthma-control-status-header {\n padding: 0 16px;\n margin-bottom: 16px;\n}\n\n.mdhui-asthma-control-status-header p:first-child {\n margin-top: 0;\n}\n\n.mdhui-asthma-control-status-header p:last-child {\n margin-bottom: 0;\n}\n\n.mdhui-asthma-control-status-header-text {\n font-size: 20px;\n font-weight: bold;\n}\n\n.mdhui-asthma-control-status-header-controlled {\n color: #03dbcc;\n}\n\n.mdhui-asthma-control-status-header-not-controlled {\n color: #fc6666;\n}\n\n.mdhui-asthma-control-status-header-not-controlled-stats {\n display: grid;\n grid-template-columns: 1fr 1fr;\n align-items: center;\n margin-top: 8px;\n}\n\n.mdhui-asthma-control-status-header-not-controlled-stat {\n display: grid;\n grid-template-columns: max-content max-content auto;\n align-items: center;\n grid-column-gap: 8px;\n font-size: 14px;\n}\n\n.mdhui-asthma-control-status-header-not-controlled-stat-value {\n padding: 2px;\n height: 20px;\n width: 20px;\n line-height: 20px;\n border-radius: 50%;\n text-align: center;\n background: #fc6666;\n}\n\n.mdhui-asthma-control-status-header-not-controlled-stat-label {\n height: 30px;\n line-height: 30px;\n text-align: center;\n}\n\n.mdhui-asthma-control-status-header-data-out-of-range {\n color: #ff6600;\n}");var Zl={"no-data":{controlState:{status:"no-data"},biometrics:[],airQualities:[]},"abnormal-dhr":{controlState:{status:"no-data"},biometrics:[{type:"daytime-resting-heart-rate",status:"out-of-range"}],airQualities:[]},"abnormal-nhr":{controlState:{status:"no-data"},biometrics:[{type:"nighttime-resting-heart-rate",status:"out-of-range"}],airQualities:[]},"abnormal-rr":{controlState:{status:"no-data"},biometrics:[{type:"respiratory-rate",status:"out-of-range"}],airQualities:[]},"abnormal-activity":{controlState:{status:"no-data"},biometrics:[{type:"activity",status:"out-of-range"}],airQualities:[]},"abnormal-sleep":{controlState:{status:"no-data"},biometrics:[{type:"sleep",status:"out-of-range"}],airQualities:[]},"abnormal-home-aqi":{controlState:{status:"no-data"},biometrics:[],airQualities:[{type:"home",status:"out-of-range",description:"Unhealthy"}]},"abnormal-work-aqi":{controlState:{status:"no-data"},biometrics:[],airQualities:[{type:"work",status:"out-of-range",description:"Unhealthy"}]},"abnormal-multiple":{controlState:{status:"no-data"},biometrics:[{type:"activity",status:"out-of-range"}],airQualities:[{type:"work",status:"out-of-range",description:"Unhealthy"}]},"not-determined":{controlState:{status:"not-determined"},biometrics:[],airQualities:[]},"not-controlled":{controlState:{status:"not-controlled",symptomDaysPast7:1,nighttimeAwakeningDaysPast7:1,limitedActivityDaysPast7:1,inhalerUseDaysPast7:1},biometrics:[],airQualities:[]},controlled:{controlState:{status:"controlled"},biometrics:[],airQualities:[]}};function Xl(e){var n=s(!0),r=n[0],i=n[1],a=s(),o=a[0],c=a[1],l=s(),u=l[0],d=l[1],f=s(),p=f[0],h=f[1];if(zt((function(){if(i(!0),e.previewState)return c(Zl[e.previewState].controlState),d(Zl[e.previewState].biometrics),h(Zl[e.previewState].airQualities),void i(!1);var t=new Date;Ct.loadLogEntries(I(new Date(t),{days:-10})).then((function(n){if(c(_t(n,t)),e.participant.hasPairedDevice()&&e.participant.hasEstablishedBaseline()){var r=Ct.loadBiometrics(),a=Ct.loadAirQualities();Promise.all([r,a]).then((function(e){d(e[0]),h(e[1]),i(!1)}))}else i(!1)}))})),r&&!o)return null;var m=function(e,n){return n?t.createElement("div",{className:"mdhui-asthma-control-status-header-not-controlled-stat"},t.createElement("div",{className:"mdhui-asthma-control-status-header-not-controlled-stat-value"},n,"x"),t.createElement("div",{className:"mdhui-asthma-control-status-header-not-controlled-stat-label"},e)):null};return t.createElement("div",{className:"mdhui-asthma-control-status-header",ref:e.innerRef},"no-data"===o.status&&function(){var n,r,i,a,o,c,s,l;return e.participant.hasPairedDevice()?e.participant.hasEstablishedBaseline()?u.filter((function(e){return"out-of-range"===e.status})).length+p.filter((function(e){return"out-of-range"===e.status})).length>1?t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Multiple data points are ",t.createElement("span",{className:"mdhui-asthma-control-status-header-data-out-of-range"},"outside your normal levels"),". Please record any asthma symptoms in your daily entry.")):"out-of-range"===(null===(n=u.find((function(e){return"daytime-resting-heart-rate"===e.type||"nighttime-resting-heart-rate"===e.type})))||void 0===n?void 0:n.status)?t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Your resting heart rate is ",t.createElement("span",{className:"mdhui-asthma-control-status-header-data-out-of-range"},"above your normal level"),". Please record any asthma symptoms in your daily entry.")):"out-of-range"===(null===(r=u.find((function(e){return"respiratory-rate"===e.type})))||void 0===r?void 0:r.status)?t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Your respiratory rate is ",t.createElement("span",{className:"mdhui-asthma-control-status-header-data-out-of-range"},"above your normal level"),". Please record any asthma symptoms in your daily entry.")):"out-of-range"===(null===(i=u.find((function(e){return"activity"===e.type})))||void 0===i?void 0:i.status)?t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Your activity is ",t.createElement("span",{className:"mdhui-asthma-control-status-header-data-out-of-range"},"below your normal levels"),". Please record any asthma symptoms in your daily entry.")):"out-of-range"===(null===(a=u.find((function(e){return"sleep"===e.type})))||void 0===a?void 0:a.status)?t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Your sleep disturbances are ",t.createElement("span",{className:"mdhui-asthma-control-status-header-data-out-of-range"},"above your normal level"),". Please record any asthma symptoms in your daily entry.")):"out-of-range"===(null===(o=p.find((function(e){return"home"===e.type})))||void 0===o?void 0:o.status)?t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Your home Air Quality Index is ",t.createElement("span",{className:"mdhui-asthma-control-status-header-data-out-of-range"},null===(c=p.find((function(e){return"home"===e.type})))||void 0===c?void 0:c.description),". Please record any asthma symptoms in your daily entry.")):"out-of-range"===(null===(s=p.find((function(e){return"work"===e.type})))||void 0===s?void 0:s.status)?t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Your work Air Quality Index is ",t.createElement("span",{className:"mdhui-asthma-control-status-header-data-out-of-range"},null===(l=p.find((function(e){return"work"===e.type})))||void 0===l?void 0:l.description),". Please record any asthma symptoms in your daily entry.")):null:t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Nice job setting up your devices! Keep using them so your normal levels can be established."),t.createElement("p",null,"Be sure to keep adding daily entries.")):t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Visit the Library for articles and resources about asthma."),t.createElement("p",null,"Add daily entries regularly to assess your level of asthma control."))}(),"not-determined"===o.status&&t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"We'll assess your level of asthma control after you've added a few more daily entries."),t.createElement("p",null,"You can add a new entry tomorrow.")),"controlled"===o.status&&t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Based on your entries, your asthma is ",t.createElement("span",{className:"mdhui-asthma-control-status-header-controlled"},"under control."))),"not-controlled"===o.status&&t.createElement("div",null,t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Based on your entries, your asthma is ",t.createElement("span",{className:"mdhui-asthma-control-status-header-not-controlled"},"not under control."))),t.createElement("div",{className:"mdhui-asthma-control-status-header-not-controlled-stats"},m("Symptom days",o.symptomDaysPast7),m("Rescue inhaler",o.inhalerUseDaysPast7),m("Limited activity",o.limitedActivityDaysPast7),m("Awakenings",o.nighttimeAwakeningDaysPast7))))}function Ql(e){return t.createElement(oa,{interval:"week",entryTitlePrefix:"Asthma Fact #",entries:[{title:"001",text:"Lots of people with asthma consider swimming the best exercise. But as long as asthma is well controlled, other forms of exercise can also be good."},{title:"002",text:"The number of Americans with asthma grows every year. In 2017 it was estimated that there are 25 million people with asthma in the United States."},{title:"003",text:"When asthma is not well controlled, you may suffer from inconsistent sleep and nighttime awakenings more often."},{title:"004",text:"Asthma most commonly appears during childhood, but it's also possible to develop asthma as an adult."},{title:"005",text:"Ozone makes people more sensitive to asthma triggers such as pet dander, pollen, dust mites, and mold."},{title:"006",text:"Every day in United States, 40,000 people miss school or work because of asthma."},{title:"007",text:"Bed sheets must be washed in hot water (at least 130 °F) to kill dust mites, which can trigger asthma for some people."},{title:"008",text:"At the Beijing Olympic Games in 2008, 19% of the swimmers had asthma - yet they ended up winning 33% of the individual medals!"},{title:"009",text:"Asthma and current asthma medications do NOT damage the heart."},{title:"010",text:"Strong emotions like anger can set off an asthma attack."},{title:"011",text:"It is not possible to outgrow asthma, but asthma symptoms often improve as a child gets older."},{title:"012",text:"If someone's asthma is well controlled, they shouldn't have any nighttime awakenings due to asthma."},{title:"013",text:"Asthma is the cause of one-quarter of all emergency room visits in the United States."},{title:"014",text:"Warming up before a workout can help to avoid triggering asthma symptoms."},{title:"015",text:"You can't catch asthma from someone else. But you can catch a cold, which may trigger worsening symptoms in someone with asthma."},{title:"016",text:"Asthma may affect over 300 million people worldwide. The exact number isn't known for sure because many people don't know that they have it."},{title:"017",text:"Every day in United States, 30,000 people have an asthma attack."},{title:"018",text:"The average stay for someone hospitalized for asthma is 3 days. Working to ensure asthma is well controlled reduces the need for hospitalizations."},{title:"019",text:"7 million children in the U.S. have asthma."},{title:"020",text:"The English word asthma is derived from an ancient Greek word meaning hard breathing."},{title:"021",text:"Not having any activity limitations due to asthma symptoms is a sign that asthma is being well controlled."},{title:"022",text:"Unfortunately, about 12 million people worldwide report having an asthma attack in the past year."},{title:"023",text:"Every day in United States, 5,000 people visit the emergency room for asthma."},{title:"024",text:"Cats can also suffer from asthma, and their experience is very similar to humans. It is called feline asthma."},{title:"025",text:"Your treatment plan should be reevaluated every three to six months."},{title:"026",text:"Ozone and particle pollution can trigger asthma attacks."},{title:"027",text:"If your asthma is well controlled, you should only be using albuterol (rescue inhaler) twice a week or less (not including before exercise)."}],startDate:ne(new Date),innerRef:e.innerRef})}k(".mdhui-asthma-log-entry-details {\n padding: 16px;\n}\n\n.mdhui-asthma-log-entry-details-header {\n display: grid;\n grid-template-columns: auto max-content;\n align-items: center;\n margin-bottom: 20px;\n}\n\n.mdhui-asthma-log-entry-details-header-status {\n font-size: 20px;\n font-weight: bold;\n}\n\n.mdhui-asthma-log-entry-details-header-add-button {\n height: 32px;\n line-height: 32px;\n border-radius: 6px;\n font-size: 14px;\n padding: 0 16px;\n color: #fff;\n background: #369CFF;\n}\n\n.mdhui-asthma-log-entry-details-header-edit-button {\n height: 32px;\n line-height: 32px;\n border-radius: 6px;\n font-size: 14px;\n padding: 0 16px;\n color: #007FF9;\n background: #BBDEFF;\n}\n\n.mdhui-asthma-log-entry-details-header-info-button {\n font-size: 18px;\n color: var(--mdhui-color-primary);\n}\n\n.mdhui-asthma-log-entry-details-component {\n margin-bottom: 16px;\n}\n\n.mdhui-asthma-log-entry-details-component-symptoms .mdhui-asthma-log-entry-details-component-header-icon {\n background: #E87C00;\n}\n\n.mdhui-asthma-log-entry-details-component-symptoms .mdhui-asthma-log-entry-details-component-data {\n background: #E87C0040;\n color: #E87C00;\n}\n\n.mdhui-asthma-log-entry-details-component-impacts .mdhui-asthma-log-entry-details-component-header-icon {\n background: #9D5BED;\n}\n\n.mdhui-asthma-log-entry-details-component-impacts .mdhui-asthma-log-entry-details-component-data {\n background: #9D5BED40;\n color: #9D5BED;\n}\n\n.mdhui-asthma-log-entry-details-component-triggers .mdhui-asthma-log-entry-details-component-header-icon {\n background: #000000;\n}\n\n.mdhui-asthma-log-entry-details-component-triggers .mdhui-asthma-log-entry-details-component-data {\n background: #00000040;\n color: #000000;\n}\n\n.mdhui-asthma-log-entry-details-component:last-child {\n margin-bottom: 0;\n}\n\n.mdhui-asthma-log-entry-details-component-header {\n display: grid;\n grid-template-columns: max-content auto;\n grid-column-gap: 4px;\n align-items: center;\n margin-bottom: 8px;\n}\n\n.mdhui-asthma-log-entry-details-component-header-icon {\n display: inline-block;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n}\n\n.mdhui-asthma-log-entry-details-component-header-label {\n font-size: 14px;\n font-weight: bold;\n}\n\n.mdhui-asthma-log-entry-details-component-no-data {\n font-size: 14px;\n color: var(--mdhui-text-color-3);\n margin-left: 16px;\n}\n\n.mdhui-asthma-log-entry-details-component-data {\n display: inline-block;\n padding: 0 8px;\n height: 24px;\n line-height: 24px;\n border-radius: 12px;\n font-size: 12px;\n margin-top: 6px;\n margin-right: 6px;\n}");var $l={identifier:Ot(new Date),symptomLevel:"none",symptoms:[],impacts:[],triggers:[]},Kl={"not-logged":{},"logged-no-symptoms":{logEntry:$l},"logged-mild-symptoms":{logEntry:E(E({},$l),{symptomLevel:"mild",symptoms:["Coughing"],impacts:["Waking up at night","Rescue inhaler use"],triggers:["Cold/flu/virus","Seasonal allergies/pollen","Smoke (tobacco or wood burning)","Air pollution","Dust mites","Mold"]})},"logged-moderate-symptoms":{logEntry:E(E({},$l),{symptomLevel:"moderate",symptoms:["Coughing"],triggers:["Cold/flu/virus","Mold"]})},"logged-severe-symptoms":{logEntry:E(E({},$l),{symptomLevel:"severe",symptoms:["Coughing","Wheezing"],impacts:["Rescue inhaler use"]})}};function Jl(e){var n=s(!0),r=n[0],i=n[1],a=s(),o=a[0],c=a[1],l=ht(),u=I(new Date(l),{days:-1}),d=I(new Date(e.date),{days:-1}),f=I(new Date(e.date),{days:1});zt((function(){if(i(!0),e.previewState)return c(Kl[e.previewState].logEntry),void i(!1);Ct.loadLogEntries(d,f).then((function(t){c(t.find((function(t){return t.identifier===Ot(e.date)}))),i(!1)}))}));var p=function(){return!rt(e.date,u)};return t.createElement("div",{className:"mdhui-asthma-log-entry-details",ref:e.innerRef},r&&t.createElement(ki,null),!r&&t.createElement("div",null,t.createElement("div",{className:"mdhui-asthma-log-entry-details-header"},t.createElement("div",{className:"mdhui-asthma-log-entry-details-header-status"},o?"mild"===o.symptomLevel?"Mild symptoms":"moderate"===o.symptomLevel?"Moderate symptoms":"severe"===o.symptomLevel?"Severe symptoms":"No symptoms":p()?"Not logged yet":"Daily entry missed"),p()?t.createElement("div",{className:"mdhui-asthma-log-entry-details-header-action",onClick:function(){r||e.previewState||(i(!0),o?x.openApplication(e.editLogEntryUrl+"?date="+et(e.date,{representation:"date"}),{modal:!0}):W(e.date,l)?x.startSurvey(e.logTodayEntrySurveyName):W(e.date,u)&&x.startSurvey(e.logYesterdayEntrySurveyName))}},o?t.createElement("div",{className:"mdhui-asthma-log-entry-details-header-edit-button"},"Edit"):t.createElement("div",{className:"mdhui-asthma-log-entry-details-header-add-button"},"Log Entry")):t.createElement("div",{className:"mdhui-asthma-log-entry-details-header-action",onClick:function(){!r&&e.previewState}},t.createElement(kl,{className:"mdhui-asthma-log-entry-details-header-info-button",icon:Pl}))),t.createElement(eu,{className:"mdhui-asthma-log-entry-details-component-symptoms",label:"Symptoms",data:null==o?void 0:o.symptoms}),t.createElement(eu,{className:"mdhui-asthma-log-entry-details-component-impacts",label:"Impacts",data:null==o?void 0:o.impacts}),t.createElement(eu,{className:"mdhui-asthma-log-entry-details-component-triggers",label:"Triggers",data:null==o?void 0:o.triggers})))}function eu(e){return t.createElement("div",{className:["mdhui-asthma-log-entry-details-component",e.className].join(" ")},t.createElement("div",{className:"mdhui-asthma-log-entry-details-component-header"},t.createElement("div",{className:"mdhui-asthma-log-entry-details-component-header-icon"}),t.createElement("div",{className:"mdhui-asthma-log-entry-details-component-header-label"},e.label)),(!e.data||0===e.data.length)&&t.createElement("div",{className:"mdhui-asthma-log-entry-details-component-no-data"},"No ",e.label.toLowerCase()," logged"),e.data&&e.data.length>0&&e.data.map((function(e){return t.createElement("div",{className:"mdhui-asthma-log-entry-details-component-data"},e)})))}k(".mdhui-asthma-log-entry-header {\n padding: 0 16px;\n margin-bottom: 16px;\n}");function tu(e){return t.createElement("div",{className:"mdhui-asthma-log-entry-summary",ref:e.innerRef,onClick:function(){return e.onClick()}},t.createElement("div",{className:"mdhui-asthma-log-entry-summary-details"},t.createElement("div",{className:"mdhui-asthma-log-entry-summary-label"},e.label),t.createElement("div",{className:"mdhui-asthma-log-entry-summary-status"},e.logEntry?"mild"===e.logEntry.symptomLevel?"Mild symptoms":"moderate"===e.logEntry.symptomLevel?"Moderate symptoms":"severe"===e.logEntry.symptomLevel?"Severe symptoms":"No symptoms":"Not logged yet")),t.createElement("div",{className:"mdhui-asthma-log-entry-summary-action"},e.loading&&t.createElement(ki,null),!e.loading&&!e.logEntry&&t.createElement("div",{className:"mdhui-asthma-log-entry-summary-add-button"},"Log Entry"),!e.loading&&e.logEntry&&t.createElement(kl,{icon:Ll,className:"mdhui-asthma-log-entry-summary-chevron"})))}k(".mdhui-asthma-log-entry-summary {\n display: grid;\n grid-template-columns: auto max-content;\n align-items: center;\n border-radius: 6px;\n padding: 16px;\n margin: 8px 0;\n background: #f8f8f8;\n}\n\n.mdhui-asthma-log-entry-summary-details {\n font-size: 16px;\n}\n\n.mdhui-asthma-log-entry-summary-label {\n}\n\n.mdhui-asthma-log-entry-summary-status {\n font-weight: bold;\n}\n\n.mdhui-asthma-log-entry-summary-add-button {\n height: 32px;\n line-height: 32px;\n border-radius: 16px;\n font-size: 14px;\n padding: 0 16px;\n color: #fff;\n background: #369CFF;\n}\n\n.mdhui-asthma-log-entry-summary-chevron {\n color: #585858;\n}\n\n.mdhui-asthma-log-entry-summary .mdhui-loading-indicator {\n padding: 0;\n}");var nu={identifier:Ot(new Date),symptomLevel:"mild",symptoms:[],impacts:[],triggers:[]},ru={"no-logs":{},"today-log-only":{todayLogEntry:nu},"yesterday-log-only":{yesterdayLogEntry:nu},"both-logs":{yesterdayLogEntry:nu,todayLogEntry:nu}};function iu(e){var n=s(!0),r=n[0],i=n[1],a=s(!0),o=a[0],c=a[1],l=s(),u=l[0],d=l[1],f=s(),p=f[0],h=f[1];if(zt((function(){if(c(!0),e.previewState)return d(ru[e.previewState].yesterdayLogEntry),h(ru[e.previewState].todayLogEntry),c(!1),void i(!1);Ct.loadLogEntries(I(new Date,{days:-3})).then((function(e){var t=z(new Date);h(e.find((function(e){return e.identifier===Ot(t)})));var n=z(I(new Date,{days:-1}));d(e.find((function(e){return e.identifier===Ot(n)}))),c(!1),i(!1)}))}),["surveyDidFinish"]),r)return null;var m=function(t,n){e.previewState||o||(n?x.openApplication(e.dayViewUrl+"?date="+n.identifier,{modal:!0}):x.startSurvey(t))};return t.createElement("div",{className:"mdhui-asthma-log-entry-header",ref:e.innerRef},t.createElement(tu,{label:"Today",logEntry:p,onClick:function(){return m(e.logTodayEntrySurveyName,p)},loading:o}),t.createElement(tu,{label:"Yesterday",logEntry:u,onClick:function(){return m(e.logYesterdayEntrySurveyName,u)},loading:o}))}function au(e,t){n((function(){return e(),t.forEach((function(t){x.on(t,e)})),function(){t.forEach((function(t){x.off(t,e)}))}}),[])}function ou(e){var n=s(null),r=n[0],i=n[1];return au((function(){"default"!=e.previewState?x.invokeCustomApi("HealthAndWellnessApi.Allergies","GET","",!0).then((function(e){i(e)})):i([{Substance:"COVID-19 VACCINE, MRNA, BNT162B2, LNP-S (PFIZER)",Reactions:["Anaphylaxis"],TermInformation:{TermCode:"195967001",TermNamespace:"SNOMED",TermFamily:"Problem"}},{Substance:"EGGS",Reactions:["Coughing","Rash"]},{Substance:"IBUPROFEN",Reactions:[]}])}),["externalAccountSyncComplete","applicationDidBecomeVisible"]),t.createElement("div",{ref:e.innerRef},!r&&t.createElement(ki,null),r&&r.map((function(n){return t.createElement(bi,{key:n.Substance,subtitle:n.Reactions.length>0?"Reactions: ".concat(n.Reactions.join(", ")):void 0,renderAs:"div",bottomBorder:!0,title:n.Substance,indicator:n.TermInformation?t.createElement(Ft,{onClick:function(){return e.onViewTermInfo(n.TermInformation)}},t.createElement(Vt,{color:"var(--mdhui-color-primary)",icon:Nl})):t.createElement(t.Fragment,null)})})))}function cu(e){var r=s(""),i=r[0],a=r[1];return n((function(){e.previewDevicePlatform?a(e.previewDevicePlatform):x.getDeviceInfo().then((function(e){e&&a(e.platform)}))}),[]),e.platforms.includes(i)?t.createElement("div",{ref:e.innerRef},e.children):null}k(".mdhui-app-download-subtitle {\n margin-bottom: 16px;\n}\n\n.mdhui-app-download-links a:first-child {\n margin-right: 12px;\n}\n\n.mdhui-app-download-link img {\n height: 44px;\n}");var su="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 135 40'%3e%3cpath d='M130 40H5c-2.8 0-5-2.2-5-5V5c0-2.8 2.2-5 5-5h125c2.8 0 5 2.2 5 5v30c0 2.8-2.2 5-5 5z'/%3e%3cpath d='M130 .8c2.3 0 4.2 1.9 4.2 4.2v30c0 2.3-1.9 4.2-4.2 4.2H5C2.7 39.2.8 37.3.8 35V5C.8 2.7 2.7.8 5 .8h125m0-.8H5C2.2 0 0 2.3 0 5v30c0 2.8 2.2 5 5 5h125c2.8 0 5-2.2 5-5V5c0-2.7-2.2-5-5-5z' fill='%23a6a6a6'/%3e%3cpath d='M47.4 10.2c0 .8-.2 1.5-.7 2-.6.6-1.3.9-2.2.9s-1.6-.3-2.2-.9c-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3.6 2.8 0 1.7 1.5 2.8 3.1 2.8 1.3 0 1.9-.6 2.4-1.2h.1v1h1.8v-4.8c-.2-2.2-1.9-3.5-4-3.5zm-.2 6.9c-.6 0-1.5-.3-1.5-1.1 0-1 1.1-1.3 2-1.3.8 0 1.2.2 1.7.4-.2 1.2-1.2 2-2.2 2zm10.5-6.6l-2.1 5.4h-.1l-2.2-5.4h-2l3.3 7.6-1.9 4.2h1.9l5.1-11.8h-2zm-16.8 8h1.9V17.5h-1.9V30z' fill='white'/%3e%3clinearGradient id='a' gradientUnits='userSpaceOnUse' x1='21.795' y1='-152.295' x2='5.012' y2='-135.513' gradientTransform='translate(0 161)'%3e%3cstop offset='0' stop-color='%2300a0ff'/%3e%3cstop offset='.007' stop-color='%2300a1ff'/%3e%3cstop offset='.26' stop-color='%2300beff'/%3e%3cstop offset='.512' stop-color='%2300d2ff'/%3e%3cstop offset='.76' stop-color='%2300dfff'/%3e%3cstop offset='1' stop-color='%2300e3ff'/%3e%3c/linearGradient%3e%3cpath d='M10.4 7.5c-.3.3-.4.8-.4 1.4V31c0 .6.2 1.1.5 1.4l.1.1L23 20.1v-.2L10.4 7.5z' fill='url(%23a)'/%3e%3clinearGradient id='b' gradientUnits='userSpaceOnUse' x1='33.834' y1='-140.95' x2='9.637' y2='-140.95' gradientTransform='translate(0 161)'%3e%3cstop offset='0' stop-color='%23ffe000'/%3e%3cstop offset='.409' stop-color='%23ffbd00'/%3e%3cstop offset='.775' stop-color='orange'/%3e%3cstop offset='1' stop-color='%23ff9c00'/%3e%3c/linearGradient%3e%3cpath d='M27 24.3l-4.1-4.1v-.3l4.1-4.1.1.1 4.9 2.8c1.4.8 1.4 2.1 0 2.9l-5 2.7z' fill='url(%23b)'/%3e%3clinearGradient id='c' gradientUnits='userSpaceOnUse' x1='24.816' y1='-138.715' x2='2.058' y2='-115.957' gradientTransform='translate(0 161)'%3e%3cstop offset='0' stop-color='%23ff3a44'/%3e%3cstop offset='1' stop-color='%23c31162'/%3e%3c/linearGradient%3e%3cpath d='M27.1 24.2L22.9 20 10.4 32.5c.5.5 1.2.5 2.1.1l14.6-8.4' fill='url(%23c)'/%3e%3clinearGradient id='d' gradientUnits='userSpaceOnUse' x1='7.261' y1='-160.788' x2='17.424' y2='-150.625' gradientTransform='translate(0 161)'%3e%3cstop offset='0' stop-color='%2332a071'/%3e%3cstop offset='.069' stop-color='%232da771'/%3e%3cstop offset='.476' stop-color='%2315cf74'/%3e%3cstop offset='.801' stop-color='%2306e775'/%3e%3cstop offset='1' stop-color='%2300f076'/%3e%3c/linearGradient%3e%3cpath d='M27.1 15.8L12.5 7.5c-.9-.5-1.6-.4-2.1.1L22.9 20l4.2-4.2z' fill='url(%23d)'/%3e%3cpath d='M27 24.1l-14.5 8.2c-.8.5-1.5.4-2 0l-.1.1.1.1c.5.4 1.2.5 2 0L27 24.1z' opacity='.2'/%3e%3cpath d='M10.4 32.3c-.3-.3-.4-.8-.4-1.4v.1c0 .6.2 1.1.5 1.4v-.1h-.1zm21.6-11l-5 2.8.1.1 4.9-2.8c.7-.4 1-.9 1-1.4 0 .5-.4.9-1 1.3z' opacity='.12'/%3e%3cpath d='M12.5 7.6L32 18.7c.6.4 1 .8 1 1.3 0-.5-.3-1-1-1.4l-19.5-11c-1.4-.9-2.5-.3-2.5 1.3V9c0-1.5 1.1-2.2 2.5-1.4z' opacity='.25' fill='white'/%3e%3c/svg%3e",lu="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 119.7 40'%3e%3cpath d='M110.1 0H7.5c-.7 0-1.3.1-2 .2-.6.1-1.3.3-1.9.6C3 1.1 2.5 1.5 2 2S1.1 3 .8 3.6C.5 4.2.3 4.9.2 5.5c-.1.7-.2 1.4-.2 2v24.9c0 .7.1 1.3.2 2s.3 1.3.6 1.9c.3.7.7 1.2 1.2 1.7s1 .9 1.6 1.2c.6.3 1.2.5 1.9.6.7.1 1.3.2 2 .2h104.6c.7 0 1.3-.1 2-.2s1.3-.3 1.9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c.4.1.9-.2 1.1-.5h.8zm-3.2-1.5h2.3c0-.6-.4-1.1-1-1.2h-.1c-.6.1-1.2.6-1.2 1.2z' fill='white'/%3e%3c/svg%3e";function uu(e){var n=s(),r=n[0],i=n[1];if(zt((function(){e.previewProjectPlatforms?i({name:"PROJECT",platforms:e.previewProjectPlatforms||[]}):x.getProjectInfo().then((function(e){i(e)}))})),!r)return null;var a=e.title||ea("app-download-title"),o=e.text||ea("app-download-subtitle").replace("@@PROJECT_NAME@@",r.name);return t.createElement("div",{className:"mdhui-app-download",ref:e.innerRef},t.createElement(cu,{platforms:["Web"],previewDevicePlatform:e.previewDevicePlatform},t.createElement(Ri,{title:a}),t.createElement(ya,null,t.createElement("div",{className:"mdhui-app-download-subtitle"},o),t.createElement("div",{className:"mdhui-app-download-links"},r.platforms.includes("Android")&&t.createElement("a",{target:"_blank",className:"mdhui-app-download-link",href:"https://play.google.com/store/apps/details?id=com.careevolution.mydatahelps&hl=en_US&gl=US"},t.createElement("img",{src:su,alt:ea("app-download-google-play-link-alt")})),r.platforms.includes("iOS")&&t.createElement("a",{target:"_blank",className:"mdhui-app-download-link",href:"https://apps.apple.com/us/app/mydatahelps/id1286789190"},t.createElement("img",{src:lu,alt:ea("app-download-app-store-link-alt")}))))))}function du(e){var n=s(null),r=n[0],i=n[1];return au((function(){"default"!=e.previewState?x.invokeCustomApi("HealthAndWellnessApi.Conditions","GET","",!0).then((function(e){i(e)})):i([{DisplayName:"Asthma",TermInformation:{TermCode:"195967001",TermNamespace:"SNOMED",TermFamily:"Problem"}},{DisplayName:"Diabetes"},{DisplayName:"Influenza"}])}),["externalAccountSyncComplete","applicationDidBecomeVisible"]),t.createElement("div",{ref:e.innerRef},!r&&t.createElement(ki,null),r&&r.map((function(n){return t.createElement(bi,{key:n.DisplayName,renderAs:"div",bottomBorder:!0,title:n.DisplayName,indicator:n.TermInformation?t.createElement(Ft,{onClick:function(){return e.onViewTermInfo(n.TermInformation)}},t.createElement(Vt,{color:"var(--mdhui-color-primary)",icon:Nl})):t.createElement(t.Fragment,null)})})))}function fu(){var e=564;return x.baseUrl&&(x.baseUrl.startsWith("https://mdhorg.ce.dev")||x.baseUrl.startsWith("https://mydatahelps.dev"))&&(e=2),e}function pu(){var e=6327;return x.baseUrl&&(x.baseUrl.startsWith("https://mdhorg.ce.dev")||x.baseUrl.startsWith("https://mydatahelps.dev"))&&(e=1384),e}function hu(){var e=1466;return x.baseUrl&&(x.baseUrl.startsWith("https://mdhorg.ce.dev")||x.baseUrl.startsWith("https://mydatahelps.dev"))&&(e=171),e}k(".mdhui-connect-devices-menu .mdhui-connect-devices-menu-inner {\n background: var(--mdhui-background-color-1);\n border-radius: 6px;\n margin: var(--mdhui-padding-md);\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-device {\n border-bottom: solid 1px var(--mdhui-border-color-1);\n font-size: 0.83em;\n background: none;\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-device:last-child {\n border-bottom: none;\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-device-title {\n display: flex;\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-connect {\n color: var(--mdhui-color-primary);\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-reconnect {\n color: var(--mdhui-color-danger);\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-device .mdhui-connect-devices-menu-help {\n padding: var(--mdhui-padding-md);\n padding-top: 0;\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-device .mdhui-connect-devices-menu-help p {\n margin-top: 0;\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-device .mdhui-connect-devices-menu-help ol {\n margin-bottom: 0;\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-device .mdhui-connect-devices-menu-connected {\n color: var(--mdhui-text-color-2);\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-device img {\n width: 24px;\n display: flex;\n}");var mu=[{id:1,lastRefreshDate:"",provider:{category:"Device Manufacturer",id:fu(),name:"Fitbit",logoUrl:""},status:"fetchingData"},{id:2,lastRefreshDate:"",provider:{category:"Device Manufacturer",id:pu(),name:"Garmin",logoUrl:""},status:"unauthorized"},{id:3,lastRefreshDate:"",provider:{category:"Device Manufacturer",id:hu(),name:"Fitbit",logoUrl:""},status:"fetchComplete"}],vu={fitbitEnabled:!0,garminEnabled:!0,queryableDeviceDataTypes:[{namespace:"AppleHealth",type:"Steps"},{namespace:"GoogleFit",type:"Steps"}],airQualityEnabled:!0,weatherEnabled:!0,ehrEnabled:!0,sensorDataCollectionEndDate:""},gu="data:image/svg+xml,%3csvg width='60' height='60' viewBox='0 0 60 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='60' height='60' rx='30' fill='%23DDDDDD'/%3e%3cg filter='url(%23filter0_f_467_6673)'%3e%3cpath d='M22.1192 49.2197H36.8883L40.787 53.0497H17.3032L22.1192 49.2197Z' fill='%23151515' fill-opacity='0.22'/%3e%3c/g%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M19.7775 50.1133C22.7489 51.5431 26.0799 52.3443 29.598 52.3443C33.116 52.3443 36.4468 51.5432 39.4181 50.1136C43.3968 44.2914 45.7236 37.2508 45.7236 29.6668C45.7236 22.0827 43.3967 15.0421 39.4179 9.21985C36.4467 7.79027 33.1159 6.98926 29.598 6.98926C26.08 6.98926 22.749 7.79036 19.7776 9.22011C15.799 15.0423 13.4722 22.0828 13.4722 29.6668C13.4722 37.2507 15.7989 44.2912 19.7775 50.1133Z' fill='url(%23paint0_radial_467_6673)'/%3e%3crect x='47.3887' y='27.2981' width='1.61262' height='4.73708' rx='0.403155' fill='url(%23paint1_linear_467_6673)'/%3e%3ccircle cx='29.599' cy='29.6664' r='18.0412' fill='url(%23paint2_radial_467_6673)' stroke='%23242424' stroke-width='0.201578'/%3e%3ccircle cx='29.5994' cy='29.6665' r='16.0002' fill='url(%23paint3_linear_467_6673)'/%3e%3ccircle cx='29.5994' cy='29.6665' r='16.0002' stroke='%23888888' stroke-width='0.251972' stroke-dasharray='0.1 0.25'/%3e%3ccircle cx='29.5994' cy='29.6665' r='16.0002' stroke='url(%23paint4_linear_467_6673)' stroke-width='0.251972' stroke-dasharray='0.1 0.25'/%3e%3cg clip-path='url(%23clip0_467_6673)'%3e%3crect x='14.6113' y='14.6995' width='29.9343' height='29.9343' fill='%23383838'/%3e%3cg clip-path='url(%23clip1_467_6673)'%3e%3cpath d='M33.1424 21.8214C33.1424 21.3384 32.9505 20.8751 32.6089 20.5335C32.2673 20.1919 31.804 20 31.3209 20C30.8379 20 30.3746 20.1919 30.033 20.5335C29.6914 20.8751 29.4995 21.3384 29.4995 21.8214C29.4995 22.3045 29.6914 22.7678 30.033 23.1094C30.3746 23.451 30.8379 23.6429 31.3209 23.6429C31.804 23.6429 32.2673 23.451 32.6089 23.1094C32.9505 22.7678 33.1424 22.3045 33.1424 21.8214ZM25.7694 26.6596C26.145 26.2839 26.6573 26.0714 27.1924 26.0714C27.2645 26.0714 27.3366 26.0752 27.4049 26.0828L26.2209 29.6384C25.868 30.7009 26.2854 31.8696 27.2379 32.4654L30.5089 34.5107L29.545 37.8804C29.3591 38.5254 29.7348 39.1971 30.3799 39.383C31.025 39.569 31.6966 39.1933 31.8825 38.5482L32.9716 34.7384C33.1955 33.9567 32.8729 33.1219 32.1861 32.6931L30.0308 31.346L31.2033 28.2192L31.3968 28.6859C31.966 30.0444 33.2904 30.9286 34.7627 30.9286H35.5709C36.2426 30.9286 36.7852 30.3859 36.7852 29.7143C36.7852 29.0426 36.2426 28.5 35.5709 28.5H34.7627C34.2732 28.5 33.8292 28.204 33.6433 27.7525L33.4042 27.1833C32.8502 25.8513 31.7308 24.8344 30.3495 24.4094L28.5015 23.8402C28.0803 23.7112 27.6401 23.6429 27.1962 23.6429C26.0198 23.6429 24.889 24.1096 24.058 24.9444L23.1776 25.821C22.7033 26.2953 22.7033 27.0656 23.1776 27.54C23.652 28.0143 24.4223 28.0143 24.8966 27.54L25.7732 26.6634L25.7694 26.6596ZM24.4602 33.3571H22.2138C21.5421 33.3571 20.9995 33.8998 20.9995 34.5714C20.9995 35.2431 21.5421 35.7857 22.2138 35.7857H24.8549C25.5759 35.7857 26.2285 35.3607 26.5207 34.7042L26.9571 33.7214L26.5966 33.4938C25.9325 33.0801 25.4392 32.4768 25.1584 31.79L24.4602 33.3571Z' fill='%23A9FF3A'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter id='filter0_f_467_6673' x='14.6827' y='46.5992' width='28.7249' height='9.0711' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e%3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e%3cfeBlend mode='normal' in='SourceGraphic' in2='BackgroundImageFix' result='shape'/%3e%3cfeGaussianBlur stdDeviation='1.31026' result='effect1_foregroundBlur_467_6673'/%3e%3c/filter%3e%3cradialGradient id='paint0_radial_467_6673' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(29.5979 29.6668) rotate(90) scale(22.6775 16.1257)'%3e%3cstop stop-color='%23464646'/%3e%3cstop offset='1' stop-color='%23141414'/%3e%3c/radialGradient%3e%3clinearGradient id='paint1_linear_467_6673' x1='49.0013' y1='29.6666' x2='47.3887' y2='29.6666' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0.343164' stop-color='%230D0C0C'/%3e%3cstop offset='1' stop-color='%23242424'/%3e%3c/linearGradient%3e%3cradialGradient id='paint2_radial_467_6673' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(29.599 29.6664) rotate(90) scale(18.142)'%3e%3cstop stop-color='%23A7A7A7'/%3e%3cstop offset='1' stop-color='%23161616'/%3e%3c/radialGradient%3e%3clinearGradient id='paint3_linear_467_6673' x1='21.0129' y1='16.3624' x2='39.4321' y2='43.399' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%23141414'/%3e%3cstop offset='0.0760274' stop-color='%23202020'/%3e%3cstop offset='1' stop-color='%234A4A4A'/%3e%3c/linearGradient%3e%3clinearGradient id='paint4_linear_467_6673' x1='21.2397' y1='15.682' x2='39.0793' y2='43.2226' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%23888888'/%3e%3cstop offset='1' stop-color='%230E0E0E'/%3e%3c/linearGradient%3e%3cclipPath id='clip0_467_6673'%3e%3crect x='14.6123' y='14.6995' width='29.9343' height='29.9343' rx='14.9671' fill='white'/%3e%3c/clipPath%3e%3cclipPath id='clip1_467_6673'%3e%3crect width='17' height='19.4286' fill='white' transform='translate(20.9995 20)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",yu="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='24' height='24' rx='1.8' fill='%2300B0B9'/%3e%3cg clip-path='url(%23clip0_442_17951)'%3e%3cpath d='M18.9642 13.9452C19.8722 13.9452 20.6082 13.2091 20.6082 12.3011C20.6082 11.3931 19.8722 10.657 18.9642 10.657C18.0562 10.657 17.3201 11.3931 17.3201 12.3011C17.3201 13.2091 18.0562 13.9452 18.9642 13.9452Z' fill='white'/%3e%3cpath d='M15.2709 13.7635C16.0785 13.7635 16.7332 13.1088 16.7332 12.3012C16.7332 11.4936 16.0785 10.8389 15.2709 10.8389C14.4633 10.8389 13.8086 11.4936 13.8086 12.3012C13.8086 13.1088 14.4633 13.7635 15.2709 13.7635Z' fill='white'/%3e%3cpath d='M15.2709 10.0526C16.0785 10.0526 16.7332 9.39786 16.7332 8.59025C16.7332 7.78263 16.0785 7.12793 15.2709 7.12793C14.4633 7.12793 13.8086 7.78263 13.8086 8.59025C13.8086 9.39786 14.4633 10.0526 15.2709 10.0526Z' fill='white'/%3e%3cpath d='M15.2709 17.4547C16.0785 17.4547 16.7332 16.8 16.7332 15.9923C16.7332 15.1847 16.0785 14.53 15.2709 14.53C14.4633 14.53 13.8086 15.1847 13.8086 15.9923C13.8086 16.8 14.4633 17.4547 15.2709 17.4547Z' fill='white'/%3e%3cpath d='M11.577 13.5796C12.2839 13.5796 12.857 13.0066 12.857 12.2997C12.857 11.5928 12.2839 11.0198 11.577 11.0198C10.8702 11.0198 10.2971 11.5928 10.2971 12.2997C10.2971 13.0066 10.8702 13.5796 11.577 13.5796Z' fill='white'/%3e%3cpath d='M11.577 9.87014C12.2839 9.87014 12.857 9.2971 12.857 8.59022C12.857 7.88334 12.2839 7.3103 11.577 7.3103C10.8702 7.3103 10.2971 7.88334 10.2971 8.59022C10.2971 9.2971 10.8702 9.87014 11.577 9.87014Z' fill='white'/%3e%3cpath d='M11.577 17.2898C12.2839 17.2898 12.857 16.7168 12.857 16.0099C12.857 15.303 12.2839 14.73 11.577 14.73C10.8702 14.73 10.2971 15.303 10.2971 16.0099C10.2971 16.7168 10.8702 17.2898 11.577 17.2898Z' fill='white'/%3e%3cpath d='M11.577 21C12.2839 21 12.857 20.427 12.857 19.7201C12.857 19.0132 12.2839 18.4402 11.577 18.4402C10.8702 18.4402 10.2971 19.0132 10.2971 19.7201C10.2971 20.427 10.8702 21 11.577 21Z' fill='white'/%3e%3cpath d='M11.577 6.15994C12.2839 6.15994 12.857 5.5869 12.857 4.88002C12.857 4.17314 12.2839 3.6001 11.577 3.6001C10.8702 3.6001 10.2971 4.17314 10.2971 4.88002C10.2971 5.5869 10.8702 6.15994 11.577 6.15994Z' fill='white'/%3e%3cpath d='M7.88317 13.3972C8.48931 13.3972 8.98069 12.9058 8.98069 12.2997C8.98069 11.6935 8.48931 11.2021 7.88317 11.2021C7.27702 11.2021 6.78564 11.6935 6.78564 12.2997C6.78564 12.9058 7.27702 13.3972 7.88317 13.3972Z' fill='white'/%3e%3cpath d='M7.88317 17.0898C8.48931 17.0898 8.98069 16.5984 8.98069 15.9923C8.98069 15.3862 8.48931 14.8948 7.88317 14.8948C7.27702 14.8948 6.78564 15.3862 6.78564 15.9923C6.78564 16.5984 7.27702 17.0898 7.88317 17.0898Z' fill='white'/%3e%3cpath d='M7.88317 9.70408C8.48931 9.70408 8.98069 9.2127 8.98069 8.60656C8.98069 8.00041 8.48931 7.50903 7.88317 7.50903C7.27702 7.50903 6.78564 8.00041 6.78564 8.60656C6.78564 9.2127 7.27702 9.70408 7.88317 9.70408Z' fill='white'/%3e%3cpath d='M4.51523 13.214C5.02064 13.214 5.43035 12.8043 5.43035 12.2989C5.43035 11.7935 5.02064 11.3838 4.51523 11.3838C4.00981 11.3838 3.6001 11.7935 3.6001 12.2989C3.6001 12.8043 4.00981 13.214 4.51523 13.214Z' fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath id='clip0_442_17951'%3e%3crect width='17.0088' height='17.4' fill='white' transform='translate(3.6001 3.6001)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",bu="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='24' height='24' rx='1.8' fill='black'/%3e%3cpath d='M6.04048 18.5999H18.4351C18.8879 18.5999 19.2793 18.3735 19.5057 17.9821C19.7321 17.5875 19.7321 17.1379 19.5057 16.7465L13.3084 6.01769C13.082 5.62308 12.6906 5.3999 12.2378 5.3999C11.785 5.3999 11.3936 5.62632 11.1672 6.01769L4.96986 16.7433C4.74345 17.1379 4.74345 17.5875 4.96986 17.9789C5.19628 18.3735 5.58765 18.5967 6.04048 18.5967V18.5999Z' fill='white'/%3e%3c/svg%3e",xu="data:image/svg+xml,%3csvg width='24' height='25' viewBox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect x='0.5' y='1.1665' width='23' height='23' rx='4.5' fill='url(%23pattern0)' stroke='%23EDEDED'/%3e%3cdefs%3e%3cpattern id='pattern0' patternContentUnits='objectBoundingBox' width='1' height='1'%3e%3cuse xlink:href='%23image0_481_7564' transform='scale(0.00555556)'/%3e%3c/pattern%3e%3cimage id='image0_481_7564' width='180' height='180' xl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J4wZx4LnKSiM4kyRpzh6oGQvL/2W7Vsv%2bq2Do8ZSPJ8x47wbK2IUR4%2bVl/HW6xw6yKB8ih6iwPsX6USK4hBTMN7xJt2iOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMT0f4b7EpttWOjDAAAAAElFTkSuQmCC'/%3e%3c/defs%3e%3c/svg%3e",wu="data:image/svg+xml,%3csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 236.2 200'%3e%3cpath fill='%23EA4335' d='M22.6 105.8l11.9 11.9 25.7-25.6-11.8-11.9-5.4-5.4c-4.3-4.3-6.6-9.9-6.6-16 0-5.3 1.8-10.1 4.9-13.9 4.2-5.3 10.6-8.7 17.8-8.7 6.1 0 11.7 2.4 16.1 6.7l5.3 5.1 11.9 12 25.8-25.6-12-11.9-5.4-5.2C90.1 6.6 75.4 0 59.1 0 26.4 0 0 26.4 0 58.9 0 67 1.6 74.7 4.6 81.8c3 7.1 7.3 13.4 12.7 18.7l5.3 5.3'/%3e%3cpolyline fill='%23FBBC04' points='81.5%2c122.2 118.2%2c85.7 92.4%2c60 60.2%2c92.1 60.2%2c92.1 34.5%2c117.7 48.3%2c131.6 60.2%2c143.4 72.6%2c131'/%3e%3cpolygon fill='%2334A853' points='143.8%2c175.6 201.8%2c117.7 176%2c92.1 118.1%2c149.9 85.9%2c117.8 60.2%2c143.4 92.4%2c175.6 92.3%2c175.7 118.1%2c200 118.1%2c200 118.1%2c200 143.9%2c175.6 143.9%2c175.6'/%3e%3cpath fill='%234285F4' d='M218.9 100.5c12-12 18.9-30.4 17-49-2.8-28.2-26.2-49.4-54.6-51.3C163.4-1 147 5.7 135.4 17.3L92.4 60l25.7 25.7 43-42.8c5.2-5.1 12.4-7.5 19.8-6.3 9.6 1.5 17.4 9.4 18.7 19 1 7.2-1.4 14.2-6.5 19.3L176 92.1l25.8 25.6 17.1-17.2z'/%3e%3c/svg%3e",Au="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAIAAAB7GkOtAAAACXBIWXMAAAsSAAALEgHS3X78AAAgAElEQVR4nO3dT0xbV97/cRJiUpu0uHGS6ShGcSvVWaQSzmIimY5UIld9Fo9R6YZZ4i6TTRmxqxqVKFF2TGlHajSaRc2ybMoIHmkmGhRSTUHKjBQjDYu4ixBBNL+GOjVpYqeYhJ/CqSjDxeae+8e+19/3S6ORek3g2j73fM6/e+6+li//0wIAkGc/3zkAyEQAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAA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AAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAABI1NLS8v8B9xq76iIbXpcAAAAASUVORK5CYII=";function ku(e){var r=s(!0),i=r[0],a=r[1],o=s(null),c=o[0],l=o[1],u=s(null),d=u[0],f=u[1],p=s(null),h=p[0],m=p[1];function v(){if(e.previewState)return l(vu),f([]),"ConnectedStates"==e.previewState&&f(mu),m("Web"),"iOS"==e.previewState?m("iOS"):"Android"==e.previewState&&m("Android"),void a(!1);Promise.all([x.getDataCollectionSettings(),x.getExternalAccounts(),x.getDeviceInfo()]).then((function(e){var t=e[0],n=e[1],r=e[2];l(t),f(n),m(r?r.platform:"Web"),a(!1)}))}if(n((function(){return v(),x.on("applicationDidBecomeVisible",v),x.on("externalAccountSyncComplete",v),function(){x.off("applicationDidBecomeVisible",v),x.off("externalAccountSyncComplete",v)}}),[]),i)return null;var g=e.accountTypes||["Fitbit","Garmin","AppleHealth","GoogleFit"];if((null==c?void 0:c.fitbitEnabled)||(g=g.filter((function(e){return"Fitbit"!=e}))),(null==c?void 0:c.garminEnabled)||(g=g.filter((function(e){return"Garmin"!=e}))),(null==c?void 0:c.queryableDeviceDataTypes.find((function(e){return"AppleHealth"==e.namespace})))||(g=g.filter((function(e){return"AppleHealth"!=e}))),(null==c?void 0:c.queryableDeviceDataTypes.find((function(e){return"GoogleFit"==e.namespace})))||(g=g.filter((function(e){return"GoogleFit"!=e}))),!g.length)return null;function y(e,n,r){var i=null==d?void 0:d.find((function(e){return e.provider.id==n})),a=t.createElement("div",{className:"mdhui-connect-devices-menu-connect"},ea("connect")),o=function(){x.connectExternalAccount(n,{openNewWindow:!0})};return i&&("fetchComplete"==i.status&&(a=t.createElement("div",{className:"mdhui-connect-devices-menu-connected"},ea("connected")),o=void 0),"fetchingData"==i.status&&(a=t.createElement("div",{className:"mdhui-connect-devices-menu-connected"},ea("downloading-data-menu")),o=void 0),"unauthorized"==i.status&&(a=t.createElement("div",{className:"mdhui-connect-devices-menu-reconnect"},ea("reconnect")," "))),t.createElement("div",{className:"mdhui-connect-devices-menu-device"},t.createElement(bi,{onClick:o,indicator:a},t.createElement(ba,{autosizeImage:!0,order:4,image:r},e)))}var b=e.title||ea("connect-devices-title"),w=e.text||ea("connect-devices-text"),A=e.headerVariant||"large";return t.createElement("div",{ref:e.innerRef,className:"mdhui-connect-devices-menu"},t.createElement(ba,{autosizeImage:!0,defaultMargin:!0,order:"large"==A?2:3,image:t.createElement("img",{src:gu}),imageAlignment:"large"==A?"top":"left"},b),t.createElement(ya,null,w),t.createElement("div",{className:"mdhui-connect-devices-menu-inner"},g.includes("Fitbit")?y("Fitbit",fu(),t.createElement("img",{src:yu})):null,g.includes("Garmin")?y("Garmin",pu(),t.createElement("img",{src:bu})):null,g.includes("AppleHealth")?t.createElement(Eu,{platform:h}):null,function(){if(!g.includes("GoogleFit")||"iOS"==h)return null;var e=function(){return x.showGoogleFitSettings()},n=t.createElement("div",{className:"mdhui-connect-devices-menu-connect"},ea("settings"));return"Web"==h&&(e=function(){return x.openExternalUrl("https://play.google.com/store/apps/details?id=com.careevolution.mydatahelps&hl=en_US&gl=US")},n=t.createElement("div",{className:"mdhui-connect-devices-menu-connect"},ea("download-mydatahelps"))),t.createElement("div",{className:"mdhui-connect-devices-menu-device"},t.createElement(bi,{onClick:e,indicator:n},t.createElement(ba,{autosizeImage:!0,image:t.createElement("img",{src:wu}),order:4},"Google Fit")))}(),g.includes("Omron")?y("Omron",hu(),t.createElement("img",{src:Au})):null))}function Eu(e){var n=s(!1),r=n[0],i=n[1];if("Android"==e.platform)return null;var a=function(){return i(!r)},o=t.createElement("div",{className:"mdhui-connect-devices-menu-connect"},ea("how-to-enable"));return"Web"==e.platform&&(a=function(){return x.openExternalUrl("https://apps.apple.com/us/app/mydatahelps/id1286789190")},o=t.createElement("div",{className:"mdhui-connect-devices-menu-connect"},ea("download-mydatahelps"))),t.createElement("div",{className:"mdhui-connect-devices-menu-device"},t.createElement(bi,{onClick:a,indicator:o},t.createElement(ba,{autosizeImage:!0,image:t.createElement("img",{src:xu}),order:4},"Apple Health")),r&&t.createElement("div",{className:"mdhui-connect-devices-menu-help"},t.createElement("p",null,ea("apple-health-troubleshooting-intro")),t.createElement("ol",null,t.createElement("li",null,ea("apple-health-troubleshooting-li-1")),t.createElement("li",null,ea("apple-health-troubleshooting-li-2")),t.createElement("li",null,ea("apple-health-troubleshooting-li-3")),t.createElement("li",null,ea("apple-health-troubleshooting-li-4")),t.createElement("li",null,ea("apple-health-troubleshooting-li-5")))))}k(".mdhui-connect-ehr .error-content {\n padding: 16px;\n}\n\n.mdhui-connect-ehr .content {\n margin-top: 16px;\n}\n\n.mdhui-connect-ehr .connection-status .success svg {\n color: var(--mdhui-color-success);\n}\n\n.mdhui-connect-ehr .connection-status .warning {\n color: var(--mdhui-color-danger);\n}\n\n.mdhui-connect-ehr .mdhui-connect-ehr-action {\n padding: 0;\n padding-right:var(--mdhui-padding-md);\n}");var Su={},Cu={};!function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="circle-check",n=[61533,"check-circle"],r="f058",i="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z";e.definition={prefix:"fas",iconName:t,icon:[512,512,n,r,i]},e.faCircleCheck=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=n,e.unicode=r,e.svgPathData=i,e.aliases=n}(Cu),function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Cu;e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faCheckCircle=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Su);var Ou={};!function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="triangle-exclamation",n=[9888,"exclamation-triangle","warning"],r="f071",i="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";e.definition={prefix:"fas",iconName:t,icon:[512,512,n,r,i]},e.faTriangleExclamation=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=n,e.unicode=r,e.svgPathData=i,e.aliases=n}(Ou);var _u="data:image/svg+xml,%3csvg width='100' height='100' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='50' cy='50' r='50' fill='%23D9D9D9'/%3e%3cmask id='mask0_1169_3264' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='0' y='0' width='100' height='100'%3e%3ccircle cx='50' cy='50' r='50' fill='%23D9D9D9'/%3e%3c/mask%3e%3cg mask='url(%23mask0_1169_3264)'%3e%3cpath d='M13 39C13 31.268 19.268 25 27 25H74C81.732 25 88 31.268 88 39V100H13V39Z' fill='url(%23paint0_linear_1169_3264)'/%3e%3crect x='19' y='43' width='62' height='30' rx='2' fill='white'/%3e%3crect x='45' y='63' width='15' height='4' rx='2' fill='%2366BEC0' fill-opacity='0.46'/%3e%3crect x='45' y='56' width='33' height='4' rx='2' fill='%2366BEC0' fill-opacity='0.46'/%3e%3crect x='45' y='49' width='33' height='4' rx='2' fill='%2366BEC0' fill-opacity='0.46'/%3e%3cg clip-path='url(%23clip0_1169_3264)'%3e%3cpath d='M23 47.5C23 46.6703 23.6703 46 24.5 46H39.5C40.3297 46 41 46.6703 41 47.5V49C41 49.8297 40.3297 50.5 39.5 50.5H24.5C23.6703 50.5 23 49.8297 23 49V47.5ZM24.5 52H39.5V67C39.5 68.6547 38.1547 70 36.5 70H27.5C25.8453 70 24.5 68.6547 24.5 67V52ZM30.5 57.25V59.5H28.25C27.8375 59.5 27.5 59.8375 27.5 60.25V61.75C27.5 62.1625 27.8375 62.5 28.25 62.5H30.5V64.75C30.5 65.1625 30.8375 65.5 31.25 65.5H32.75C33.1625 65.5 33.5 65.1625 33.5 64.75V62.5H35.75C36.1625 62.5 36.5 62.1625 36.5 61.75V60.25C36.5 59.8375 36.1625 59.5 35.75 59.5H33.5V57.25C33.5 56.8375 33.1625 56.5 32.75 56.5H31.25C30.8375 56.5 30.5 56.8375 30.5 57.25Z' fill='%23007FF9'/%3e%3c/g%3e%3crect x='19' y='77' width='62' height='24' rx='2' fill='white' fill-opacity='0.5'/%3e%3crect x='37' y='30.25' width='26.25' height='7.5' rx='3.75' fill='%23424242'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient id='paint0_linear_1169_3264' x1='50.5' y1='25' x2='50.5' y2='100' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%236AB1DA'/%3e%3cstop offset='1' stop-color='%235DD78E'/%3e%3c/linearGradient%3e%3cclipPath id='clip0_1169_3264'%3e%3crect width='18' height='24' fill='white' transform='translate(23 46)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function Du(e){var r=s(!0),i=r[0],a=r[1],o=s(!1),c=o[0],l=o[1],u=s(null),d=u[0],f=u[1],p=s(!1),h=p[0],m=p[1],v=s(!1),g=v[0],y=v[1];function b(){if(e.previewState){if("notEnabled"==e.previewState)return;return l(!0),f("PROJECT"),"enabledConnected"==e.previewState?(m(!0),y(!1)):"enabledNeedsAttention"==e.previewState&&(m(!0),y(!0)),void a(!1)}x.getDataCollectionSettings().then((function(e){l(e.ehrEnabled),e.ehrEnabled&&x.getProjectInfo().then((function(e){f(e.name),x.getExternalAccounts().then((function(e){e=e.filter((function(e){return-1!=["Provider","Health Plan"].indexOf(e.provider.category)})),m(e.length>0),y(e.some((function(e){return"unauthorized"==e.status||"error"==e.status}))),a(!1)}))}))}))}function w(){"preview"==e.applicationUrl?console.log("PREVIEW: Opening the connect EHR application."):x.openApplication(e.applicationUrl)}if(n((function(){return b(),x.on("applicationDidBecomeVisible",b),x.on("externalAccountSyncComplete",b),function(){x.off("applicationDidBecomeVisible",b),x.off("externalAccountSyncComplete",b)}}),[]),!c)return"displayError"==e.disabledBehavior?t.createElement("div",{ref:e.innerRef,className:"mdhui-connect-ehr"},t.createElement("div",{className:"error-content"},ea("connect-ehr-not-enabled"))):null;if(i)return null;if(e.hideWhenConnected&&h)return null;var A=ea("connect-ehr-title-prefix")+ea("connect-ehr-title-providers")+ea("connect-ehr-title-divider")+ea("connect-ehr-title-health-plans"),k=e.title||A,E="@@PROJECT_NAME@@",S=e.connectedText||ea("connect-ehr-text-connected").replace(E,d||""),C=e.notConnectedText||ea("connect-ehr-text").replace(E,d||""),O=h?S:C,_=e.variant||"large",D=t.createElement(t.Fragment,null,t.createElement(ba,{autosizeImage:!0,defaultMargin:!0,order:"large"==_?2:3,imageAlignment:"large"==_?"top":"left",image:t.createElement("img",{src:_u})},k),t.createElement(ya,null,h?t.createElement(t.Fragment,null,t.createElement("div",{className:"connection-status"},g?t.createElement("div",{className:"warning"},t.createElement(Vt,{icon:Ou.faTriangleExclamation})," ",ea("connect-ehr-needs-attention")):t.createElement("div",{className:"success"},t.createElement(Vt,{icon:Su.faCheckCircle})," ",ea("connect-ehr-connected"))),t.createElement("div",{className:"content"},O)):t.createElement("div",{className:"content"},O)));return t.createElement("div",{ref:e.innerRef,className:"mdhui-connect-ehr"},"small"==e.variant&&t.createElement(bi,{className:"mdhui-connect-ehr-action",onClick:function(){return w()}},D),"small"!=e.variant&&t.createElement(t.Fragment,null,D,t.createElement(Ei,{color:e.buttonColor,defaultMargin:!0,onClick:function(){return w()}},t.createElement(Vt,{icon:Tl})," ",A)))}var Tu={};!function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Ou;e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faExclamationTriangle=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Tu);function Mu(e){var r=s(!0),i=r[0],a=r[1],o=s(!1),c=o[0],l=o[1],u=s(null),d=u[0],f=u[1];function p(t){return t.replace("{device}",e.providerName.toLowerCase())}function h(){if(e.previewState)return"notEnabled"==e.previewState?void a(!1):(l(!0),"notConnected"==e.previewState||f({id:1,lastRefreshDate:et(I(new Date,{hours:-1})),status:e.previewState,provider:{name:e.providerName,category:"Device Manufacturer",id:e.providerID,logoUrl:""}}),void a(!1));x.getDataCollectionSettings().then((function(t){l(t[e.dataCollectionProperty]),t[e.dataCollectionProperty]?x.getExternalAccounts().then((function(t){for(var n=0;n<t.length;n++)t[n].provider.id==e.providerID&&f(t[n]);a(!1)})):a(!1)}))}function m(){x.connectExternalAccount(e.providerID,{openNewWindow:!0}).then((function(){h()}))}n((function(){return h(),x.on("applicationDidBecomeVisible",h),x.on("externalAccountSyncComplete",h),function(){x.off("applicationDidBecomeVisible",h),x.off("externalAccountSyncComplete",h)}}),[]);var v=null==d?void 0:d.status;if("fetchComplete"==(null==d?void 0:d.status)){var g=I(at(d.lastRefreshDate),{hours:3});nt(new Date,g)&&(x.refreshExternalAccount(d.id),v="fetchingData")}return c?e.hideWhenConnected&&d?null:t.createElement("div",{className:"mdhui-connect-device",ref:e.innerRef},t.createElement(ba,{defaultMargin:!0,autosizeImage:!0,order:3,image:e.titleImage},e.title),t.createElement(ya,null,!d&&t.createElement("div",null,t.createElement("div",{className:"subtitle"},ea(p("connect-{device}-intro"))),t.createElement(Ei,{onClick:function(){return m()}},ea(p("connect-{device}-button")))),d&&"fetchComplete"==v&&t.createElement("div",{className:"subtitle success"},t.createElement(Vt,{icon:Su.faCheckCircle})," ",ea(p("received-{device}-data"))),d&&"fetchingData"==v&&t.createElement("div",{className:"subtitle downloading"},t.createElement(Vt,{icon:wi.faRefresh,spin:!0})," ",ea("downloading-data")),d&&"unauthorized"==v&&t.createElement("div",null,t.createElement("div",{className:"subtitle reconnect"},t.createElement(Vt,{icon:Tu.faExclamationTriangle})," ",ea("expired-reconnect")),t.createElement(Ei,{onClick:function(){return m()}},ea(p("connect-{device}-button")))))):"displayError"!=e.disabledBehavior||i?null:t.createElement("div",{className:"mdhui-connect-device",ref:e.innerRef},t.createElement("div",{className:"content"},e.title," is not enabled for this project."))}function Nu(e){return t.createElement(Mu,{innerRef:e.innerRef,title:"Fitbit",titleImage:t.createElement("img",{src:yu}),providerName:"Fitbit",dataCollectionProperty:"fitbitEnabled",providerID:e.fitbitProviderID||fu(),previewState:e.previewState,disabledBehavior:e.disabledBehavior,hideWhenConnected:e.hideWhenConnected})}function Pu(e){return t.createElement(Mu,{innerRef:e.innerRef,title:"Garmin",titleImage:t.createElement("img",{src:bu}),providerName:"Garmin",dataCollectionProperty:"garminEnabled",providerID:e.garminProviderID||pu(),previewState:e.previewState,disabledBehavior:e.disabledBehavior,hideWhenConnected:e.hideWhenConnected})}function ju(e){return et(e).substr(0,10)}function Iu(e){var t=[],n=function(r){var i=E({},e);return r&&(i.pageID=r),x.queryDeviceData(i).then((function(e){return t=t.concat(e.deviceDataPoints),e.nextPageID?n(e.nextPageID):t})).catch((function(e){return t}))};return n()}function Ru(e,t){var n=e.startDate;t.startDate<n&&(n=t.startDate);var r=e.endDate;return t.endDate>r&&(r=t.endDate),{startDate:n,endDate:r}}function Lu(e){e=e.sort((function(e,t){return e.startDate.getTime()-t.startDate.getTime()}));for(var t,n,r=[],i=e[0],a=1;a<e.length;a++)t=i,(n=e[a]).startDate>=t.startDate&&n.startDate<=t.endDate||n.endDate>=t.startDate&&n.endDate<=t.endDate||t.startDate>=n.startDate&&t.startDate<=n.endDate||t.endDate>=n.startDate&&t.endDate<=n.endDate?i=Ru(i,e[a]):(r.push(i),i=e[a]);r.push(i);var o=0;return r.forEach((function(e){o+=function(e,t,n){M(2,arguments);var r=X(e,t)/U;return K(null==n?void 0:n.roundingMethod)(r)}(e.endDate,e.startDate)})),o}function Bu(e,t,n){return Iu({namespace:"AppleHealth",type:"SleepAnalysisInterval",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(r){var i={};r.forEach((function(e){if(e.observationDate&&e.startDate&&e.value==n)for(var t=function(e){for(var t=[],n=at(e.startDate),r=at(e.observationDate),i=I(new Date(n.getFullYear(),n.getMonth(),n.getDate(),18,0,0,0),{days:-1});i<r;){var a=I(i,{days:1});if(a>n){var o=new Date(i),c=new Date(a);n>=i&&n<a&&(o=n),r>=i&&r<a&&(c=r),t.push({startDate:o,endDate:c})}i=a}return t}(e),r=0;r<t.length;r++){var a=et(I(t[r].startDate,{hours:6})).substring(0,10);i[a]||(i[a]=[]),i[a].push(t[r])}}));for(var a={};e<t;){var o=e.toISOString().substr(0,10),c=i[o];c&&(a[o]=Lu(c)),e=I(e,{days:1})}return a}))}function zu(e,t){return Iu({namespace:"AppleHealth",type:"HourlySteps",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.startDate){var n=ju(at(e.startDate));t[n]||(t[n]=0),t[n]+=parseFloat(e.value)}})),t}))}function Fu(e,t,n){return Iu({namespace:"Fitbit",type:n,observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.startDate){var n=e.startDate.substr(0,10);t[n]||(t[n]=0),t[n]+=parseInt(e.value)}})),t}))}function Hu(e,t,n){return Iu({namespace:"Fitbit",type:"HeartRateZone",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if("Out of Range"!=e.value&&(!n||e.value==n)&&e.properties&&e.properties.Minutes&&e.startDate){var r=e.startDate.substr(0,10);t[r]||(t[r]=0),t[r]+=parseInt(e.properties.Minutes)}})),t}))}function qu(e,t,n){return Iu({namespace:"Fitbit",type:e,observedAfter:I(t,{days:-1}).toISOString(),observedBefore:I(n,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.startDate&&0!=parseInt(e.value)){var n=e.startDate.substr(0,10);t[n]=Math.round(parseFloat(e.value))}})),t}))}function Uu(e,t){return qu("RestingHeartRate",e,t)}function Vu(e,t,n){return Iu({namespace:"Fitbit",type:n,observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.observationDate){var n=et(I(at(e.observationDate),{hours:6})).substr(0,10);t[n]||(t[n]=0),t[n]+=parseFloat(e.value)}})),t}))}function Wu(e,t){return qu("Steps",e,t)}function Gu(e,t,n,r){return Iu({namespace:"Garmin",type:"Daily",observedAfter:I(t,{days:-1}).toISOString(),observedBefore:I(n,{days:1}).toISOString()}).then((function(t){var n={};return t.forEach((function(t){if(t.startDate&&t.properties&&t.properties[e]&&!(parseInt(t.properties[e])<=0)){var i=t.startDate.substring(0,10);n[i]=Math.round(parseFloat(t.properties[e])),r&&(n[i]=Math.round(n[i]/r))}})),n}))}function Yu(e,t){return Gu("Steps",e,t)}function Zu(e,t,n,r){return Iu({namespace:"Garmin",type:"Sleep",observedAfter:I(t,{days:-1}).toISOString(),observedBefore:I(n,{days:1}).toISOString()}).then((function(t){var n={};return t.forEach((function(t){if(t.observationDate&&t.properties&&t.properties[e]&&!(parseInt(t.properties[e])<=0)){var i=et(I(at(t.observationDate),{hours:6})).substr(0,10),a=parseFloat(t.properties[e]);a<0||(r&&(a/=r),(!n[i]||n[i]>a)&&(n[i]=a))}})),n}))}k(".mdhui-connect-device .title {\n font-weight: bold;\n}\n\n.mdhui-connect-device .subtitle.reconnect {\n color: var(--mdhui-color-danger);\n}\n\n.mdhui-connect-device .subtitle.success svg {\n color: var(--mdhui-color-success);\n}\n\n.mdhui-connect-device .mdhui-button {\n margin-top: 16px;\n}\n\n.mdhui-connect-device .content {\n padding: 16px;\n}\n");var Xu,Qu={};function $u(e,t,n){Qu[e]={provider:t,availabilityCheck:n}}function Ku(e,t){var n=Qu[e];if(!n)throw"Unknown data type:"+e;return n.availabilityCheck(t)}function Ju(e,t,n){return Qu[e].provider(t,n).then((function(e){for(var r={};t<n;){var i=ju(t);e[i]&&(r[i]=e[i]),t=I(t,{days:1})}return r}))}function ed(e,t){return function(n){var r={namespace:e,type:t,limit:1};return n&&(r.modifiedAfter=n.toISOString()),x.queryDeviceData(r).then((function(e){return e.deviceDataPoints.length>0})).catch((function(){return!1}))}}!function(e){e.AppleHealthDistanceWalkingRunning="AppleHealthDistanceWalkingRunning",e.AppleHealthFlightsClimbed="AppleHealthFlightsClimbed",e.AppleHealthHeartRateRange="AppleHealthHeartRateRange",e.AppleHealthHrv="AppleHealthHrv",e.AppleHealthMaxHeartRate="AppleHealthMaxHeartRate",e.AppleHealthRestingHeartRate="AppleHealthRestingHeartRate",e.AppleHealthSleepMinutes="AppleHealthSleepMinutes",e.AppleHealthInBedMinutes="AppleHealthInBedMinutes",e.AppleHealthStandMinutes="AppleHealthStandMinutes",e.AppleHealthSteps="AppleHealthSteps",e.AppleHealthWalkingHeartRateAverage="AppleHealthWalkingHeartRateAverage",e.AppleHealthActiveEnergyBurned="AppleHealthActiveEnergyBurned",e.FitbitSedentaryMinutes="FitbitSedentaryMinutes",e.FitbitActiveMinutes="FitbitActiveMinutes",e.FitbitLightlyActiveMinutes="FitbitLightlyActiveMinutes",e.FitbitFairlyActiveMinutes="FitbitFairlyActiveMinutes",e.FitbitVeryActiveMinutes="FitbitVeryActiveMinutes",e.FitbitBreathingRate="FitbitBreathingRate",e.FitbitCaloriesBurned="FitbitCaloriesBurned",e.FitbitElevatedHeartRateMinutes="FitbitElevatedHeartRateMinutes",e.FitbitFatBurnHeartRateMinutes="FitbitFatBurnHeartRateMinutes",e.FitbitCardioHeartRateMinutes="FitbitCardioHeartRateMinutes",e.FitbitPeakHeartRateMinutes="FitbitPeakHeartRateMinutes",e.FitbitFloors="FitbitFloors",e.FitbitHrv="FitbitHrv",e.FitbitRestingHeartRate="FitbitRestingHeartRate",e.FitbitSleepMinutes="FitbitSleepMinutes",e.FitbitLightSleepMinutes="FitbitLightSleepMinutes",e.FitbitRemSleepMinutes="FitbitRemSleepMinutes",e.FitbitDeepSleepMinutes="FitbitDeepSleepMinutes",e.FitbitSpO2="FitbitSpO2",e.FitbitSteps="FitbitSteps",e.GarminSteps="GarminSteps",e.GarminDistance="GarminDistance",e.GarminFloors="GarminFloors",e.GarminActiveMinutes="GarminActiveMinutes",e.GarminActiveCalories="GarminActiveCalories",e.GarminRestingCalories="GarminRestingCalories",e.GarminTotalCalories="GarminTotalCalories",e.GarminRestingHeartRate="GarminRestingHeartRate",e.GarminMinHeartRate="GarminMinHeartRate",e.GarminMaxHeartRate="GarminMaxHeartRate",e.GarminAverageHeartRate="GarminAverageHeartRate",e.GarminMaxStressLevel="GarminMaxStressLevel",e.GarminAverageStressLevel="GarminAverageStressLevel",e.GarminTotalStressMinutes="GarminTotalStressMinutes",e.GarminLowStressMinutes="GarminLowStressMinutes",e.GarminMediumStressMinutes="GarminMediumStressMinutes",e.GarminHighStressMinutes="GarminHighStressMinutes",e.GarminTotalSleepMinutes="GarminTotalSleepMinutes",e.GarminLightSleepMinutes="GarminLightSleepMinutes",e.GarminDeepSleepMinutes="GarminDeepSleepMinutes",e.GarminRemSleepMinutes="GarminRemSleepMinutes",e.GarminAwakeMinutes="GarminAwakeMinutes",e.GarminSleepScore="GarminSleepScore",e.GoogleFitSteps="GoogleFitSteps",e.Steps="Steps",e.RestingHeartRate="RestingHeartRate"}(Xu||(Xu={})),$u(Xu.AppleHealthDistanceWalkingRunning,(function(e,t){return Iu({namespace:"AppleHealth",type:"HourlyDistanceWalkingRunning",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.startDate){var n=et(at(e.startDate)).substring(0,10);t[n]||(t[n]=0),t[n]+=parseFloat(e.value)}})),t}))}),ed("AppleHealth",["HourlyDistanceWalkingRunning"])),$u(Xu.AppleHealthFlightsClimbed,(function(e,t){return Iu({namespace:"AppleHealth",type:"FlightsClimbed",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.startDate){var n=ju(at(e.startDate));t[n]||(t[n]=0),t[n]+=parseFloat(e.value)}})),t}))}),ed("AppleHealth",["HourlySteps"])),$u(Xu.AppleHealthHeartRateRange,(function(e,t){return Iu({namespace:"AppleHealth",type:["HourlyMaximumHeartRate","HourlyMinimumHeartRate"],observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(n){var r={};n.forEach((function(e){if(e.startDate){var t=ju(at(e.startDate)),n=parseFloat(e.value);"HourlyMaximumHeartRate"==e.type&&(r[t]?(!r[t].MaxHeartRate||n>r[t].MaxHeartRate)&&(r[t].MaxHeartRate=n):r[t]={MaxHeartRate:n}),"HourlyMinimumHeartRate"==e.type&&(r[t]?(!r[t].MinHeartRate||n<r[t].MinHeartRate)&&(r[t].MinHeartRate=n):r[t]={MinHeartRate:n})}}));for(var i={};e<t;){var a=r[ju(e)];a&&a.MaxHeartRate&&a.MinHeartRate&&(i[ju(e)]=a.MaxHeartRate-a.MinHeartRate),e=I(e,{days:1})}return i}))}),ed("AppleHealth",["HourlyMaximumHeartRate"])),$u(Xu.AppleHealthHrv,(function(e,t){return Iu({namespace:"AppleHealth",type:"HeartRateVariability",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(n){var r={};n.forEach((function(e){if(e.startDate){var t=et(at(e.startDate)).substring(0,10),n=parseFloat(e.value);r[t]||(r[t]=[]),r[t].push(n)}}));for(var i={};e<t;){var a=e.toISOString().substr(0,10);r[a]&&(i[a]=r[a].reduce((function(e,t){return e+t}))/r[a].length),e=I(e,{days:1})}return i}))}),ed("AppleHealth",["HeartRateVariability"])),$u(Xu.AppleHealthMaxHeartRate,(function(e,t){return Iu({namespace:"AppleHealth",type:"HourlyMaximumHeartRate",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.startDate){var n=et(at(e.startDate)).substring(0,10),r=parseFloat(e.value);t[n]?r>t[n]&&(t[n]=r):t[n]=r}})),t}))}),ed("AppleHealth",["HourlyMaximumHeartRate"])),$u(Xu.AppleHealthRestingHeartRate,(function(e,t){return Iu({namespace:"AppleHealth",type:"RestingHeartRate",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(n){var r={};n.forEach((function(e){if(e.startDate){var t=ju(at(e.startDate)),n=parseFloat(e.value);r[t]||(r[t]=[]),r[t].push(n)}}));for(var i={};e<t;){var a=e.toISOString().substr(0,10);r[a]&&(i[a]=r[a].reduce((function(e,t){return e+t}))/r[a].length),e=I(e,{days:1})}return i}))}),ed("AppleHealth",["RestingHeartRate"])),$u(Xu.AppleHealthSleepMinutes,(function(e,t){return Bu(e,t,"Asleep")}),ed("AppleHealth",["SleepAnalysisInterval"])),$u(Xu.AppleHealthInBedMinutes,(function(e,t){return Bu(e,t,"InBed")}),ed("AppleHealth",["SleepAnalysisInterval"])),$u(Xu.AppleHealthStandMinutes,(function(e,t){return Iu({namespace:"AppleHealth",type:"AppleStandTime",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.startDate){var n=ju(at(e.startDate));t[n]||(t[n]=0),t[n]+=parseFloat(e.value)}})),t}))}),ed("AppleHealth",["AppleStandTime"])),$u(Xu.AppleHealthSteps,zu,ed("AppleHealth",["HourlySteps"])),$u(Xu.AppleHealthWalkingHeartRateAverage,(function(e,t){return Iu({namespace:"AppleHealth",type:"WalkingHeartRateAverage",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(n){var r={};n.forEach((function(e){if(e.startDate){var t=ju(at(e.startDate)),n=parseFloat(e.value);r[t]||(r[t]=[]),r[t].push(n)}}));for(var i={};e<t;){var a=e.toISOString().substr(0,10);r[a]&&(i[a]=r[a].reduce((function(e,t){return e+t}))/r[a].length),e=I(e,{days:1})}return i}))}),ed("AppleHealth",["WalkingHeartRateAverage"])),$u(Xu.AppleHealthActiveEnergyBurned,(function(e,t){return Iu({namespace:"AppleHealth",type:"ActiveEnergyBurned",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.startDate){var n=ju(at(e.startDate));t[n]||(t[n]=0),t[n]+=parseFloat(e.value)}})),t}))}),ed("AppleHealth",["ActiveEnergyBurned"])),$u(Xu.FitbitSedentaryMinutes,(function(e,t){return Fu(e,t,["MinutesSedentary"])}),ed("Fitbit",["MinutesSedentary"])),$u(Xu.FitbitActiveMinutes,(function(e,t){return Fu(e,t,["MinutesVeryActive","MinutesFairlyActive","MinutesLightlyActive"])}),ed("Fitbit",["MinutesVeryActive","MinutesFairlyActive","MinutesLightlyActive"])),$u(Xu.FitbitLightlyActiveMinutes,(function(e,t){return Fu(e,t,["MinutesLightlyActive"])}),ed("Fitbit",["MinutesLightlyActive"])),$u(Xu.FitbitFairlyActiveMinutes,(function(e,t){return Fu(e,t,["MinutesFairlyActive"])}),ed("Fitbit",["MinutesFairlyActive"])),$u(Xu.FitbitVeryActiveMinutes,(function(e,t){return Fu(e,t,["MinutesVeryActive"])}),ed("Fitbit",["MinutesVeryActive"])),$u(Xu.FitbitBreathingRate,(function(e,t){return qu("BreathingRate",e,t)}),ed("Fitbit",["BreathingRate"])),$u(Xu.FitbitCaloriesBurned,(function(e,t){return qu("Calories",e,t)}),ed("Fitbit",["Calories"])),$u(Xu.FitbitElevatedHeartRateMinutes,(function(e,t){return Hu(e,t)}),ed("Fitbit",["HeartRateZone"])),$u(Xu.FitbitFatBurnHeartRateMinutes,(function(e,t){return Hu(e,t,"Fat Burn")}),ed("Fitbit",["HeartRateZone"])),$u(Xu.FitbitCardioHeartRateMinutes,(function(e,t){return Hu(e,t,"Cardio")}),ed("Fitbit",["HeartRateZone"])),$u(Xu.FitbitPeakHeartRateMinutes,(function(e,t){return Hu(e,t,"Peak")}),ed("Fitbit",["HeartRateZone"])),$u(Xu.FitbitFloors,(function(e,t){return qu("Floors",e,t)}),ed("Fitbit",["HeartRateZone"])),$u(Xu.FitbitHrv,(function(e,t){return qu("Hrv",e,t)}),ed("Fitbit",["Floors"])),$u(Xu.FitbitRestingHeartRate,Uu,ed("Fitbit",["RestingHeartRate"])),$u(Xu.FitbitSleepMinutes,(function(e,t){return Vu(e,t,["SleepLevelRem","SleepLevelLight","SleepLevelDeep","SleepLevelAsleep"])}),ed("Fitbit",["SleepLevelRem","SleepLevelLight","SleepLevelDeep","SleepLevelAsleep"])),$u(Xu.FitbitLightSleepMinutes,(function(e,t){return Vu(e,t,["SleepLevelLight"])}),ed("Fitbit",["SleepLevelLight"])),$u(Xu.FitbitRemSleepMinutes,(function(e,t){return Vu(e,t,["SleepLevelRem"])}),ed("Fitbit",["SleepLevelRem"])),$u(Xu.FitbitDeepSleepMinutes,(function(e,t){return Vu(e,t,["SleepLevelDeep"])}),ed("Fitbit",["SleepLevelDeep"])),$u(Xu.FitbitSpO2,(function(e,t){return qu("SpO2",e,t)}),ed("Fitbit",["SpO2"])),$u(Xu.FitbitSteps,Wu,ed("Fitbit",["Steps"])),$u(Xu.GoogleFitSteps,(function(e,t){return Iu({namespace:"GoogleFit",type:"Steps",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.startDate){var n=et(at(e.startDate)).substring(0,10);t[n]||(t[n]=0),t[n]+=parseFloat(e.value)}})),t}))}),ed("GoogleFit",["Steps"])),$u(Xu.GarminSteps,Yu,ed("Garmin",["Daily"])),$u(Xu.GarminDistance,(function(e,t){return Gu("DistanceInMeters",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminFloors,(function(e,t){return Gu("FloorsClimbed",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminActiveMinutes,(function(e,t){return Gu("ActiveTimeInSeconds",e,t,60)}),ed("Garmin",["Daily"])),$u(Xu.GarminActiveCalories,(function(e,t){return Gu("ActiveKilocalories",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminRestingCalories,(function(e,t){return Gu("BmrKilocalories",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminTotalCalories,(function(e,t){return function(e,t,n,r){return Iu({namespace:"Garmin",type:"Daily",observedAfter:I(t,{days:-1}).toISOString(),observedBefore:I(n,{days:1}).toISOString()}).then((function(t){var n={};return t.forEach((function(t){e.forEach((function(e){if(t.startDate&&t.properties&&t.properties[e]&&!(parseInt(t.properties[e])<=0)){var i=t.startDate.substring(0,10),a=Math.round(parseFloat(t.properties[e]));r&&(a=Math.round(a/r)),n[i]?n[i]+=a:n[i]=a}}))})),n}))}(["ActiveKilocalories","BmrKilocalories"],e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminRestingHeartRate,(function(e,t){return Gu("RestingHeartRateInBeatsPerMinute",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminMinHeartRate,(function(e,t){return Gu("MinHeartRateInBeatsPerMinute",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminMaxHeartRate,(function(e,t){return Gu("MaxHeartRateInBeatsPerMinute",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminAverageHeartRate,(function(e,t){return Gu("AverageHeartRateInBeatsPerMinute",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminMaxStressLevel,(function(e,t){return Gu("MaxStressLevel",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminAverageStressLevel,(function(e,t){return Gu("AverageStressLevel",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminTotalStressMinutes,(function(e,t){return Gu("StressDurationInSeconds",e,t,60)}),ed("Garmin",["Daily"])),$u(Xu.GarminLowStressMinutes,(function(e,t){return Gu("LowStressDurationInSeconds",e,t,60)}),ed("Garmin",["Daily"])),$u(Xu.GarminMediumStressMinutes,(function(e,t){return Gu("MediumStressDurationInSeconds",e,t,60)}),ed("Garmin",["Daily"])),$u(Xu.GarminHighStressMinutes,(function(e,t){return Gu("HighStressDurationInSeconds",e,t,60)}),ed("Garmin",["Daily"])),$u(Xu.GarminTotalSleepMinutes,(function(e,t){return Zu("DurationInSeconds",e,t,60)}),ed("Garmin",["Sleep"])),$u(Xu.GarminRemSleepMinutes,(function(e,t){return Zu("RemSleepInSeconds",e,t,60)}),ed("Garmin",["Sleep"])),$u(Xu.GarminDeepSleepMinutes,(function(e,t){return Zu("DeepSleepDurationInSeconds",e,t,60)}),ed("Garmin",["Sleep"])),$u(Xu.GarminLightSleepMinutes,(function(e,t){return Zu("LightSleepDurationInSeconds",e,t,60)}),ed("Garmin",["Sleep"])),$u(Xu.GarminAwakeMinutes,(function(e,t){return Zu("AwakeDurationInSeconds",e,t,60)}),ed("Garmin",["Sleep"])),$u(Xu.GarminSleepScore,(function(e,t){return Zu("OverallSleepScore.Value",e,t)}),ed("Garmin",["Sleep"])),$u(Xu.RestingHeartRate,(function(e,t){return Iu({namespace:"AppleHealth",type:"RestingHeartRate",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(n){return Uu(e,t).then((function(r){var i={};n.forEach((function(e){if(e.startDate){var t=ju(at(e.startDate)),n=parseFloat(e.value);i[t]||(i[t]=[]),i[t].push(n)}}));for(var a={};e<t;){var o=ju(e);r[o]&&(i[o]||(i[o]=[]),i[o].push(r[o])),i[o]&&(a[o]=i[o].reduce((function(e,t){return e+t}))/i[o].length),e=I(e,{days:1})}return a}))}))}),(function(e){return ed("AppleHealth",["RestingHeartRate"])(e).then((function(t){return t||ed("Fitbit",["RestingHeartRate"])(e).then((function(t){return t||ed("Garmin",["RestingHeartRateInBeatsPerMinute"])(e)}))}))})),$u(Xu.Steps,(function(e,t){var n=[];return x.getDataCollectionSettings().then((function(r){return r.fitbitEnabled&&n.push(Wu(e,t)),r.garminEnabled&&n.push(Yu(e,t)),r.queryableDeviceDataTypes.find((function(e){return"AppleHealth"==e.namespace&&"HourlySteps"==e.type}))&&n.push(zu(e,t)),n.length?Promise.all(n).then((function(n){for(var r={};e<t;){var i=ju(e),a=null;n.forEach((function(e){(e[i]||null==a||a<e[i])&&(a=e[i])})),a&&(r[i]=a),e=I(e,{days:1})}return r})):{}}))}),(function(e){return ed("AppleHealth",["Steps"])(e).then((function(t){return t||ed("Fitbit",["Steps"])(e).then((function(t){return t||ed("Garmin",["Steps"])(e)}))}))}));var td={exports:{}};
|
|
30
|
+
*/function ol(){if(Ys)return Gs;Ys=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Gs=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(r,i){for(var a,o,c=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),s=1;s<arguments.length;s++){for(var l in a=Object(arguments[s]))t.call(a,l)&&(c[l]=a[l]);if(e){o=e(a);for(var u=0;u<o.length;u++)n.call(a,o[u])&&(c[o[u]]=a[o[u]])}}return c},Gs}function cl(){if(Xs)return Zs;Xs=1;return Zs="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function sl(){return $s?Qs:($s=1,Qs=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var ll=al();Hs.exports=function(){if(tl)return el;tl=1;var e=al(),t=ol(),n=cl(),r=sl(),i=function(){if(Js)return Ks;Js=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=cl(),n={},r=sl();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function i(i,a,o,c,s){if("production"!==process.env.NODE_ENV)for(var l in i)if(r(i,l)){var u;try{if("function"!=typeof i[l]){var d=Error((c||"React class")+": "+o+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=i[l](a,l,c,o,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((c||"React class")+": type specification of "+o+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var f=s?s():"";e("Failed "+o+" type: "+u.message+(null!=f?f:""))}}}return i.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Ks=i}(),a=function(){};function o(){return null}return"production"!==process.env.NODE_ENV&&(a=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),el=function(c,s){var l="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",d="<<anonymous>>",f={array:v("array"),bigint:v("bigint"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:m(o),arrayOf:function(e){return m((function(t,r,i,a,o){if("function"!=typeof e)return new h("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var c=t[r];if(!Array.isArray(c))return new h("Invalid "+a+" `"+o+"` of type `"+b(c)+"` supplied to `"+i+"`, expected an array.");for(var s=0;s<c.length;s++){var l=e(c,s,i,a,o+"["+s+"]",n);if(l instanceof Error)return l}return null}))},element:m((function(e,t,n,r,i){var a=e[t];return c(a)?null:new h("Invalid "+r+" `"+i+"` of type `"+b(a)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:m((function(t,n,r,i,a){var o=t[n];return e.isValidElementType(o)?null:new h("Invalid "+i+" `"+a+"` of type `"+b(o)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return m((function(t,n,r,i,a){if(!(t[n]instanceof e)){var o=e.name||d;return new h("Invalid "+i+" `"+a+"` of type `"+((c=t[n]).constructor&&c.constructor.name?c.constructor.name:d)+"` supplied to `"+r+"`, expected instance of `"+o+"`.")}var c;return null}))},node:m((function(e,t,n,r,i){return y(e[t])?null:new h("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return m((function(t,i,a,o,c){if("function"!=typeof e)return new h("Property `"+c+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var s=t[i],l=b(s);if("object"!==l)return new h("Invalid "+o+" `"+c+"` of type `"+l+"` supplied to `"+a+"`, expected an object.");for(var u in s)if(r(s,u)){var d=e(s,u,a,o,c+"."+u,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?m((function(t,n,r,i,a){for(var o=t[n],c=0;c<e.length;c++)if(p(o,e[c]))return null;var s=JSON.stringify(e,(function(e,t){return"symbol"===x(t)?String(t):t}));return new h("Invalid "+i+" `"+a+"` of value `"+String(o)+"` supplied to `"+r+"`, expected one of "+s+".")})):("production"!==process.env.NODE_ENV&&a(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),o)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&a("Invalid argument supplied to oneOfType, expected an instance of array."),o;for(var t=0;t<e.length;t++){var i=e[t];if("function"!=typeof i)return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+w(i)+" at index "+t+"."),o}return m((function(t,i,a,o,c){for(var s=[],l=0;l<e.length;l++){var u=(0,e[l])(t,i,a,o,c,n);if(null==u)return null;u.data&&r(u.data,"expectedType")&&s.push(u.data.expectedType)}return new h("Invalid "+o+" `"+c+"` supplied to `"+a+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return m((function(t,r,i,a,o){var c=t[r],s=b(c);if("object"!==s)return new h("Invalid "+a+" `"+o+"` of type `"+s+"` supplied to `"+i+"`, expected `object`.");for(var l in e){var u=e[l];if("function"!=typeof u)return g(i,a,o,l,x(u));var d=u(c,l,i,a,o+"."+l,n);if(d)return d}return null}))},exact:function(e){return m((function(i,a,o,c,s){var l=i[a],u=b(l);if("object"!==u)return new h("Invalid "+c+" `"+s+"` of type `"+u+"` supplied to `"+o+"`, expected `object`.");var d=t({},i[a],e);for(var f in d){var p=e[f];if(r(e,f)&&"function"!=typeof p)return g(o,c,s,f,x(p));if(!p)return new h("Invalid "+c+" `"+s+"` key `"+f+"` supplied to `"+o+"`.\nBad object: "+JSON.stringify(i[a],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=p(l,f,o,c,s+"."+f,n);if(m)return m}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function i(i,o,c,l,u,f,p){if(l=l||d,f=f||c,p!==n){if(s){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var v=l+":"+c;!t[v]&&r<3&&(a("You are manually calling a React.PropTypes validation function for the `"+f+"` prop on `"+l+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[v]=!0,r++)}}return null==o[c]?i?null===o[c]?new h("The "+u+" `"+f+"` is marked as required in `"+l+"`, but its value is `null`."):new h("The "+u+" `"+f+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:e(o,c,l,u,f)}var o=i.bind(null,!1);return o.isRequired=i.bind(null,!0),o}function v(e){return m((function(t,n,r,i,a,o){var c=t[n];return b(c)!==e?new h("Invalid "+i+" `"+a+"` of type `"+x(c)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,n,r,i){return new h((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function y(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(y);if(null===e||c(e))return!0;var t=function(e){var t=e&&(l&&e[l]||e[u]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!y(n.value))return!1}else for(;!(n=r.next()).done;){var i=n.value;if(i&&!y(i[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function x(e){if(null==e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function w(e){var t=x(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return h.prototype=Error.prototype,f.checkPropTypes=i,f.resetWarningCache=i.resetWarningCache,f.PropTypes=f,f},el}()(ll.isElement,!0)}else Hs.exports=function(){if(rl)return nl;rl=1;var e=cl();function t(){}function n(){}return n.resetWarningCache=t,nl=function(){function r(t,n,r,i,a,o){if(o!==e){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function i(){return r}r.isRequired=r;var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a}}()();var ul=jt(Hs.exports);function dl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dl(Object(n),!0).forEach((function(t){hl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pl(e){return pl="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},pl(e)}function hl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ml(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function vl(e){return function(e){if(Array.isArray(e))return gl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return gl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gl(e,t)}(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.")}()}function gl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yl(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var bl=["style"];var xl=!1;try{xl="production"===process.env.NODE_ENV}catch(Ut){}function wl(e){return e&&"object"===pl(e)&&e.prefix&&e.iconName&&e.icon?e:zs.icon?zs.icon(e):null===e?null:e&&"object"===pl(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function Al(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?hl({},e,t):{}}var kl=t.forwardRef((function(e,t){var n=e.icon,r=e.mask,i=e.symbol,a=e.className,o=e.title,c=e.titleId,s=e.maskId,l=wl(n),u=Al("classes",[].concat(vl(function(e){var t,n=e.beat,r=e.fade,i=e.beatFade,a=e.bounce,o=e.shake,c=e.flash,s=e.spin,l=e.spinPulse,u=e.spinReverse,d=e.pulse,f=e.fixedWidth,p=e.inverse,h=e.border,m=e.listItem,v=e.flip,g=e.size,y=e.rotation,b=e.pull,x=(hl(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":a,"fa-shake":o,"fa-flash":c,"fa-spin":s,"fa-spin-reverse":u,"fa-spin-pulse":l,"fa-pulse":d,"fa-fw":f,"fa-inverse":p,"fa-border":h,"fa-li":m,"fa-flip":!0===v,"fa-flip-horizontal":"horizontal"===v||"both"===v,"fa-flip-vertical":"vertical"===v||"both"===v},"fa-".concat(g),null!=g),hl(t,"fa-rotate-".concat(y),null!=y&&0!==y),hl(t,"fa-pull-".concat(b),null!=b),hl(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(x).map((function(e){return x[e]?e:null})).filter((function(e){return e}))}(e)),vl(a.split(" ")))),d=Al("transform","string"==typeof e.transform?zs.transform(e.transform):e.transform),f=Al("mask",wl(r)),p=Fs(l,fl(fl(fl(fl({},u),d),f),{},{symbol:i,title:o,titleId:c,maskId:s}));if(!p)return function(){var e;!xl&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",l),null;var h=p.abstract,m={ref:t};return Object.keys(e).forEach((function(t){kl.defaultProps.hasOwnProperty(t)||(m[t]=e[t])})),El(h[0],m)}));kl.displayName="FontAwesomeIcon",kl.propTypes={beat:ul.bool,border:ul.bool,beatFade:ul.bool,bounce:ul.bool,className:ul.string,fade:ul.bool,flash:ul.bool,mask:ul.oneOfType([ul.object,ul.array,ul.string]),maskId:ul.string,fixedWidth:ul.bool,inverse:ul.bool,flip:ul.oneOf([!0,!1,"horizontal","vertical","both"]),icon:ul.oneOfType([ul.object,ul.array,ul.string]),listItem:ul.bool,pull:ul.oneOf(["right","left"]),pulse:ul.bool,rotation:ul.oneOf([0,90,180,270]),shake:ul.bool,size:ul.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:ul.bool,spinPulse:ul.bool,spinReverse:ul.bool,symbol:ul.oneOfType([ul.bool,ul.string]),title:ul.string,titleId:ul.string,transform:ul.oneOfType([ul.string,ul.object]),swapOpacity:ul.bool},kl.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var El=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var i=(n.children||[]).map((function(n){return e(t,n)})),a=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=yl(t.slice(0,r)),a=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=a:e[i]=a,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[yl(t)]=r}return e}),{attrs:{}}),o=r.style,c=void 0===o?{}:o,s=ml(r,bl);return a.attrs.style=fl(fl({},a.attrs.style),c),t.apply(void 0,[n.tag,fl(fl({},a.attrs),s)].concat(vl(i)))}.bind(null,t.createElement),Sl={prefix:"far",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},Cl={prefix:"fas",iconName:"file-lines",icon:[384,512,[128441,128462,61686,"file-alt","file-text"],"f15c","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},Ol={prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},_l={prefix:"fas",iconName:"caret-up",icon:[320,512,[],"f0d8","M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8H288c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z"]},Dl={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},Tl={prefix:"fas",iconName:"address-card",icon:[576,512,[62140,"contact-card","vcard"],"f2bb","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm80 256h64c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80zm-32-96a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zm256-32H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},Ml={prefix:"fas",iconName:"arrows-rotate",icon:[512,512,[128472,"refresh","sync"],"f021","M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160H336c-17.7 0-32 14.3-32 32s14.3 32 32 32H463.5c0 0 0 0 0 0h.4c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1V448c0 17.7 14.3 32 32 32s32-14.3 32-32V396.9l17.6 17.5 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352H176c17.7 0 32-14.3 32-32s-14.3-32-32-32H48.4c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z"]},Nl={prefix:"fas",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},Pl={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},jl=Pl,Il={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},Rl={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},Ll={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]};function Bl(e){var n,r=o(gi),i=null!==(n=e.selectedValues)&&void 0!==n?n:[],a=function(t){e.onChange&&e.onChange(t)},c={"--mdhui-value-selector-title-color":Wt(null==r?void 0:r.colorScheme,e.titleColor),"--mdhui-value-selector-subtitle-color":Wt(null==r?void 0:r.colorScheme,e.subtitleColor),"--mdhui-value-selector-value-background-color":Wt(null==r?void 0:r.colorScheme,e.valueBackgroundColor),"--mdhui-value-selector-value-text-color":Wt(null==r?void 0:r.colorScheme,e.valueTextColor),"--mdhui-value-selector-button-value-selected-background-color":Wt(null==r?void 0:r.colorScheme,e.selectedButtonBackgroundColor),"--mdhui-value-selector-button-value-selected-text-color":Wt(null==r?void 0:r.colorScheme,e.selectedButtonTextColor),"--mdhui-value-selector-checkbox-color":Wt(null==r?void 0:r.colorScheme,e.checkboxColor),"--mdhui-value-selector-checkbox-selected-color":Wt(null==r?void 0:r.colorScheme,e.selectedCheckboxColor)};return t.createElement("div",{className:"mdhui-value-selector",style:c,ref:e.innerRef},e.title&&t.createElement("div",{className:"mdhui-value-selector-title"},e.title),e.subtitle&&t.createElement("div",{className:"mdhui-value-selector-subtitle"},e.subtitle),t.createElement("div",{className:"mdhui-value-selector-values"},e.values.map((function(n,r){var o=["mdhui-value-selector-value"];return i.includes(n)&&o.push("mdhui-value-selector-value-selected"),"checkboxes"===e.variant?o.push("mdhui-value-selector-value-checkbox"):o.push("mdhui-value-selector-value-button"),t.createElement("div",{key:r,className:o.join(" "),onClick:function(){return function(t){i.includes(t)?(i.length>1||!e.preventEmptySelections)&&a(i.filter((function(e){return e!==t}))):e.multiSelect?a(O(O([],i,!0),[t],!1)):a([t])}(n)}},t.createElement("div",{className:"mdhui-value-selector-value-text"},n),"checkboxes"===e.variant&&i.includes(n)&&t.createElement(kl,{className:"mdhui-value-selector-value-checkbox-icon mdhui-value-selector-value-checkbox-icon-selected",icon:Dl}),"checkboxes"===e.variant&&!i.includes(n)&&t.createElement(kl,{className:"mdhui-value-selector-value-checkbox-icon",icon:Sl}))}))))}function zl(e){var n=o(gi);return e.title||e.subtitle?t.createElement("div",{className:"mdhui-view-header"},t.createElement("div",{className:"mdhui-view-header-text"},e.title&&t.createElement("div",{style:{color:Wt(n.colorScheme,e.titleColor)},className:"mdhui-view-header-title"},e.title),e.subtitle&&t.createElement("div",{style:{color:Wt(n.colorScheme,e.subtitleColor)},className:"mdhui-view-header-subtitle"},e.subtitle)),t.createElement("div",{className:"mdhui-view-header-action"},e.action)):null}k(".mdhui-view-header {\n padding: 32px 16px;\n display: grid;\n grid-template-columns: auto max-content;\n align-content: center;\n}\n\n.mdhui-view-header .mdhui-view-header-title {\n font-weight: 700;\n font-size: 2em;\n margin-bottom: 8px;\n color: var(--mdhui-text-color-0);\n}\n\n.mdhui-view-header .mdhui-view-header-subtitle {\n font-weight: 500;\n color: var(--mdhui-text-color-2);\n font-size: 1.2em;\n}");function Fl(e){var r=l(null);n((function(){var t;if(e.onStartDateChange){var n=function(t){var i,a,o,c;0==(null===(i=r.current)||void 0===i?void 0:i.scrollLeft)?(e.onStartDateChange(I(e.startDate,{weeks:-1})),null===(a=r.current)||void 0===a||a.removeEventListener("scroll",n)):(null===(o=r.current)||void 0===o?void 0:o.scrollLeft)==2*window.innerWidth&&(e.onStartDateChange(I(e.startDate,{weeks:1})),null===(c=r.current)||void 0===c||c.removeEventListener("scroll",n))};return null===(t=r.current)||void 0===t||t.addEventListener("scroll",n),function(){var e;null===(e=r.current)||void 0===e||e.removeEventListener("scroll",n)}}}),[e.startDate]);for(var i=[],a=[],o=[],c=I(e.startDate,{days:-7}),s=0;s<21;s++)s<7?i.push(c):s<14?a.push(c):o.push(c),c=I(c,{days:1});function u(e){return t.createElement("div",{className:"mdhui-week-calendar-date-label"},t.createElement("div",{className:"mdhui-week-calendar-day-of-week"}," ",Ye(e,"E").substr(0,1)),t.createElement("div",{className:"mdhui-week-calendar-day-of-month"},Ye(e,"d")))}function d(t){var n=["mdhui-week-calendar-day"];return t>new Date?n.push("mdhui-week-calendar-day-future"):e.onDateSelected&&n.push("mdhui-week-calendar-day-selectable"),e.selectedDate&&et(t).substr(0,10)==et(e.selectedDate).substr(0,10)&&n.push("mdhui-week-calendar-day-selected"),n}return n((function(){r.current&&(r.current.scrollLeft=window.innerWidth)})),r.current&&(r.current.scrollLeft=window.innerWidth),t.createElement("div",{className:"mdhui-week-calendar",ref:r},e.loading&&t.createElement("div",{className:"mdhui-week-calendar-loading"},t.createElement(ki,null)),t.createElement("div",{className:"mdhui-week-calendar-week"},i.map((function(n){return t.createElement("div",{key:n.getTime(),className:"mdhui-week-calendar-day"},e.dayRenderer(n.getFullYear(),n.getMonth(),n.getDate(),!1),!e.hideDateLabel&&u(n))}))),t.createElement("div",{className:"mdhui-week-calendar-week"},a.map((function(n){return t.createElement(Ft,{key:n.getTime(),className:d(n).join(" "),onClick:function(){return function(t){t>new Date||e.onDateSelected&&e.onDateSelected(t)}(n)}},e.dayRenderer(n.getFullYear(),n.getMonth(),n.getDate(),!0),!e.hideDateLabel&&u(n))}))),I(e.startDate,{days:7})<new Date&&t.createElement("div",{className:"mdhui-week-calendar-week"},o.map((function(n){return t.createElement("div",{key:n.getTime(),className:d(n).join(" ")},e.dayRenderer(n.getFullYear(),n.getMonth(),n.getDate(),!1),!e.hideDateLabel&&u(n))}))))}k(".mdhui-week-calendar {\n background: var(--mdhui-background-color-0);\n overflow-x: scroll;\n overflow-y: hidden;\n z-index: 0;\n position: relative;\n display: flex;\n scroll-snap-type: x mandatory;\n scrollbar-width: none;\n border-top: solid 1px var(--mdhui-border-color-1);\n border-bottom: solid 1px var(--mdhui-border-color-1);\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-loading {\n position: absolute;\n width: 100%;\n left: 100%;\n top: calc(50% - 10px);\n}\n\n.mdhui-week-calendar * {\n user-select: none;\n}\n\n.mdhui-week-calendar::-webkit-scrollbar {\n display: none;\n /* Safari and Chrome */\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-week {\n min-width: 100%;\n scroll-snap-align: start;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day {\n width: calc(14.28% - 1px);\n border-left: solid 1px var(--mdhui-border-color-1);\n overflow: hidden;\n position: relative;\n display: inline-block;\n vertical-align: top;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day:first-child {\n width: 14.28%;\n border-left: none;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-date-label {\n padding-top: 4px;\n line-height: 16px;\n padding-bottom: 8px;\n text-align: center;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-date-label .mdhui-week-calendar-day-of-week {\n font-size: 10px;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-date-label .mdhui-week-calendar-day-of-month {\n font-size: 14px;\n display: inline-block;\n text-align: center;\n width: 24px;\n height: 24px;\n border-radius: 24px;\n line-height: 24px;\n margin-top: 2px;\n margin-bottom: 2px;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day-selectable {\n cursor: pointer;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day-selected {\n background: var(--mdhui-background-color-2);\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day-selected .mdhui-week-calendar-date-label .mdhui-week-calendar-day-of-month {\n background-color: var(--mdhui-color-primary);\n color: #FFF;\n font-weight: bold;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day-future>* {\n opacity: .4;\n}");var Hl={"no-data":{homeAirQuality:{type:"home",status:"establishing"},workAirQuality:{type:"work",status:"establishing"}},"some-data":{homeAirQuality:{type:"home",status:"in-range",value:32},workAirQuality:{type:"work",status:"establishing"}},"all-data":{homeAirQuality:{type:"home",status:"in-range",value:32},workAirQuality:{type:"work",status:"out-of-range",value:130,description:"Unhealthy"}}};function ql(e){var n=s(!0),r=n[0],i=n[1],a=s(),o=a[0],c=a[1],l=s(),u=l[0],d=l[1];zt((function(){if(i(!0),e.previewState)return c(Hl[e.previewState].homeAirQuality),d(Hl[e.previewState].workAirQuality),void i(!1);Ct.loadAirQualities().then((function(e){c(e.find((function(e){return"home"===e.type}))),d(e.find((function(e){return"work"===e.type}))),i(!1)}))}));var f=function(){e.previewState||x.openApplication(e.airQualityUrl,{modal:!0})};return t.createElement("div",{className:"mdhui-asthma-air-qualities",ref:e.innerRef},t.createElement("div",{className:"mdhui-asthma-air-qualities-title"},"Air Quality"),r&&t.createElement(ki,null),!r&&t.createElement("div",{className:"mdhui-asthma-air-qualities-data"},t.createElement(Nt,{label:"AQI (Home)",status:o.status,statusText:o.description,value:o.value,onClick:function(){return f()}}),t.createElement(Nt,{label:"AQI (Work)",status:u.status,statusText:u.description,value:u.value,onClick:function(){return f()}})))}k(".mdhui-asthma-biometrics {\n padding: 16px;\n}\n\n.mdhui-asthma-biometrics-title {\n font-size: 24px;\n font-weight: bold;\n margin-bottom: 16px;\n}\n\n.mdhui-asthma-biometrics-data {\n display: grid;\n grid-template-columns: 1fr 1fr;\n align-items: center;\n grid-column-gap: 16px;\n grid-row-gap: 16px;\n}\n");var Ul={"no-data":{daytimeRestingHeartRate:{type:"daytime-resting-heart-rate",status:"establishing"},nighttimeRestingHeartRate:{type:"nighttime-resting-heart-rate",status:"establishing"},respiratoryRate:{type:"respiratory-rate",status:"establishing"},steps:{type:"steps",status:"establishing"},sleepDisturbances:{type:"sleep-disturbances",status:"establishing"},daytimeBloodOxygenLevel:{type:"daytime-blood-oxygen-level",status:"establishing"},nighttimeBloodOxygenLevel:{type:"nighttime-blood-oxygen-level",status:"establishing"}},"some-data":{daytimeRestingHeartRate:{type:"daytime-resting-heart-rate",status:"in-range",value:64},nighttimeRestingHeartRate:{type:"nighttime-resting-heart-rate",status:"offline",value:60},respiratoryRate:{type:"respiratory-rate",status:"establishing"},steps:{type:"steps",status:"out-of-range",value:12909},sleepDisturbances:{type:"sleep-disturbances",status:"establishing"},daytimeBloodOxygenLevel:{type:"daytime-blood-oxygen-level",status:"establishing"},nighttimeBloodOxygenLevel:{type:"nighttime-blood-oxygen-level",status:"in-range",value:96}},"all-data":{daytimeRestingHeartRate:{type:"daytime-resting-heart-rate",status:"in-range",value:64},nighttimeRestingHeartRate:{type:"nighttime-resting-heart-rate",status:"offline",value:60},respiratoryRate:{type:"respiratory-rate",status:"in-range",value:20},steps:{type:"steps",status:"out-of-range",value:12909},sleepDisturbances:{type:"sleep-disturbances",status:"establishing",value:4},daytimeBloodOxygenLevel:{type:"daytime-blood-oxygen-level",status:"in-range",value:95},nighttimeBloodOxygenLevel:{type:"nighttime-blood-oxygen-level",status:"in-range",value:96}}};function Vl(e){var n=s(!0),r=n[0],i=n[1],a=s(),o=a[0],c=a[1],l=s(),u=l[0],d=l[1],f=s(),p=f[0],h=f[1],m=s(),v=m[0],g=m[1],y=s(),b=y[0],w=y[1],A=s(),k=A[0],E=A[1],S=s(),C=S[0],O=S[1];zt((function(){if(i(!0),e.previewState)return c(Ul[e.previewState].daytimeRestingHeartRate),d(Ul[e.previewState].nighttimeRestingHeartRate),h(Ul[e.previewState].respiratoryRate),g(Ul[e.previewState].steps),w(Ul[e.previewState].sleepDisturbances),E(Ul[e.previewState].daytimeBloodOxygenLevel),O(Ul[e.previewState].nighttimeBloodOxygenLevel),void i(!1);Ct.loadBiometrics().then((function(e){c(e.find((function(e){return"daytime-resting-heart-rate"===e.type}))),d(e.find((function(e){return"nighttime-resting-heart-rate"===e.type}))),h(e.find((function(e){return"respiratory-rate"===e.type}))),g(e.find((function(e){return"steps"===e.type}))),w(e.find((function(e){return"sleep-disturbances"===e.type}))),E(e.find((function(e){return"daytime-blood-oxygen-level"===e.type}))),O(e.find((function(e){return"nighttime-blood-oxygen-level"===e.type}))),i(!1)}))}));var _=function(t){e.previewState||("daytime-resting-heart-rate"===t||"nighttime-resting-heart-rate"===t||"respiratory-rate"===t||"daytime-blood-oxygen-level"===t||"nighttime-blood-oxygen-level"===t?x.openApplication(e.heartAndLungsUrl,{modal:!0}):"steps"===t?x.openApplication(e.activityUrl,{modal:!0}):"sleep-disturbances"===t&&x.openApplication(e.sleepUrl,{modal:!0}))};return t.createElement("div",{className:"mdhui-asthma-biometrics",ref:e.innerRef},t.createElement("div",{className:"mdhui-asthma-biometrics-title"},"Health & Activity"),r&&t.createElement(ki,null),!r&&t.createElement("div",{className:"mdhui-asthma-biometrics-data"},t.createElement(Nt,{label:"Resting HR (Day)",status:o.status,value:o.value,units:"BPM",onClick:function(){return _("daytime-resting-heart-rate")}}),t.createElement(Nt,{label:"Resting HR (Night)",status:u.status,value:u.value,units:"BPM",onClick:function(){return _("nighttime-resting-heart-rate")}}),t.createElement(Nt,{label:"Respiratory Rate",status:p.status,value:p.value,units:"BPM",onClick:function(){return _("respiratory-rate")}}),t.createElement(Nt,{label:"Steps",status:v.status,value:v.value,onClick:function(){return _("steps")}}),t.createElement(Nt,{label:"Sleep Disturbances",status:b.status,value:b.value,onClick:function(){return _("sleep-disturbances")}}),t.createElement(Nt,{label:"Oxygen Saturation (Day)",status:k.status,value:k.value,onClick:function(){return _("daytime-blood-oxygen-level")},units:"%"}),t.createElement(Nt,{label:"Oxygen Saturation (Night)",status:C.status,value:C.value,onClick:function(){return _("nighttime-blood-oxygen-level")},units:"%"})))}var Wl=function(e,t){return{identifier:Ot(I(new Date,{days:-e})),symptomLevel:t,symptoms:[],impacts:[],triggers:[]}},Gl={"no-logs":{logEntries:[]},"some-logs":{logEntries:[Wl(20,"none"),E(E({},Wl(19,"mild")),{impacts:["Limiting your daily activity"]}),Wl(17,"none"),Wl(16,"none"),Wl(15,"none"),Wl(8,"none"),Wl(7,"none"),Wl(6,"none"),Wl(5,"none"),Wl(4,"none"),Wl(3,"none"),Wl(2,"mild"),Wl(1,"mild"),Wl(0,"mild")]}};function Yl(e){var n,r,i=o(gi),a=o(qi),c=s([]),l=c[0],u=c[1];zt((function(){e.previewState?u(Gl[e.previewState].logEntries):Ct.loadLogEntries().then((function(e){u(e)}))}));var d={"not-determined":{style:{background:"#000",color:"#fff"},streak:!0,streakColor:"#DBDBDB"},"not-controlled":{style:{background:"#F86A5C",color:"#fff"},streak:!0,streakColor:"#FCCCC7"},controlled:{style:{background:"#35A6A0",color:"#fff"},streak:!0,streakColor:"#CCE9E7"}},f=function(e){var t=_t(l,e).status;return"not-determined"===t?"not-determined":"not-controlled"===t?"not-controlled":"controlled"===t?"controlled":W(e,new Date)?"today":nt(e,new Date)?"future":"no-data"},p=function(t){e.previewState||nt(t,new Date)||x.openApplication(e.dayViewUrl+"?date="+et(t,{representation:"date"}),{modal:!0})},h=null!==(r=null!==(n=null==a?void 0:a.intervalStart)&&void 0!==n?n:e.intervalStart)&&void 0!==r?r:te(new Date);return t.createElement("div",null,t.createElement(Ni,{innerRef:e.innerRef,className:"mdhui-asthma-control-calendar",year:h.getFullYear(),month:h.getMonth(),dayRenderer:function(e,n,r){return t.createElement(Pi,{year:e,month:n,day:r,stateConfiguration:d,computeStateForDay:f,onClick:p})}}),"verbose"===e.variant&&function(){if(0===l.length)return null;for(var n={},r=O([],l,!0).sort((function(e,t){return e.identifier.localeCompare(t.identifier)}))[0],a=at(r.identifier),o=function(e){var t=I(new Date(a),{days:e});!rt(t,h)&&rt(t,I(new Date(h),{months:1}))&&(n[Ot(t)]=l.find((function(e){return e.identifier===Ot(t)})))},c=0;c<=Z(new Date,a);c++)o(c);return t.createElement("div",{className:"mdhui-asthma-control-calendar-log-entries"},Object.keys(n).sort().reverse().map((function(r,a){var o=at(r),c=n[r];return t.createElement(Ii,{backgroundColor:Wt(null==i?void 0:i.colorScheme,e.logEntryBackgroundColor),key:a},t.createElement(bi,{title:Ye(o,"LLLL do"),subtitle:c?Tt(c.symptomLevel):"Daily entry missed",onClick:function(){return p(o)}}))})))}())}k(".mdhui-asthma-control-status-header {\n padding: 0 16px;\n margin-bottom: 16px;\n}\n\n.mdhui-asthma-control-status-header p:first-child {\n margin-top: 0;\n}\n\n.mdhui-asthma-control-status-header p:last-child {\n margin-bottom: 0;\n}\n\n.mdhui-asthma-control-status-header-text {\n font-size: 20px;\n font-weight: bold;\n}\n\n.mdhui-asthma-control-status-header-controlled {\n color: #03dbcc;\n}\n\n.mdhui-asthma-control-status-header-not-controlled {\n color: #fc6666;\n}\n\n.mdhui-asthma-control-status-header-not-controlled-stats {\n display: grid;\n grid-template-columns: 1fr 1fr;\n align-items: center;\n margin-top: 8px;\n}\n\n.mdhui-asthma-control-status-header-not-controlled-stat {\n display: grid;\n grid-template-columns: max-content max-content auto;\n align-items: center;\n grid-column-gap: 8px;\n font-size: 14px;\n}\n\n.mdhui-asthma-control-status-header-not-controlled-stat-value {\n padding: 2px;\n height: 20px;\n width: 20px;\n line-height: 20px;\n border-radius: 50%;\n text-align: center;\n background: #fc6666;\n}\n\n.mdhui-asthma-control-status-header-not-controlled-stat-label {\n height: 30px;\n line-height: 30px;\n text-align: center;\n}\n\n.mdhui-asthma-control-status-header-data-out-of-range {\n color: #ff6600;\n}");var Zl={"no-data":{controlState:{status:"no-data"},biometrics:[],airQualities:[]},"abnormal-dhr":{controlState:{status:"no-data"},biometrics:[{type:"daytime-resting-heart-rate",status:"out-of-range"}],airQualities:[]},"abnormal-nhr":{controlState:{status:"no-data"},biometrics:[{type:"nighttime-resting-heart-rate",status:"out-of-range"}],airQualities:[]},"abnormal-rr":{controlState:{status:"no-data"},biometrics:[{type:"respiratory-rate",status:"out-of-range"}],airQualities:[]},"abnormal-activity":{controlState:{status:"no-data"},biometrics:[{type:"activity",status:"out-of-range"}],airQualities:[]},"abnormal-sleep":{controlState:{status:"no-data"},biometrics:[{type:"sleep",status:"out-of-range"}],airQualities:[]},"abnormal-home-aqi":{controlState:{status:"no-data"},biometrics:[],airQualities:[{type:"home",status:"out-of-range",description:"Unhealthy"}]},"abnormal-work-aqi":{controlState:{status:"no-data"},biometrics:[],airQualities:[{type:"work",status:"out-of-range",description:"Unhealthy"}]},"abnormal-multiple":{controlState:{status:"no-data"},biometrics:[{type:"activity",status:"out-of-range"}],airQualities:[{type:"work",status:"out-of-range",description:"Unhealthy"}]},"not-determined":{controlState:{status:"not-determined"},biometrics:[],airQualities:[]},"not-controlled":{controlState:{status:"not-controlled",symptomDaysPast7:1,nighttimeAwakeningDaysPast7:1,limitedActivityDaysPast7:1,inhalerUseDaysPast7:1},biometrics:[],airQualities:[]},controlled:{controlState:{status:"controlled"},biometrics:[],airQualities:[]}};function Xl(e){var n=s(!0),r=n[0],i=n[1],a=s(),o=a[0],c=a[1],l=s(),u=l[0],d=l[1],f=s(),p=f[0],h=f[1];if(zt((function(){if(i(!0),e.previewState)return c(Zl[e.previewState].controlState),d(Zl[e.previewState].biometrics),h(Zl[e.previewState].airQualities),void i(!1);var t=new Date;Ct.loadLogEntries(I(new Date(t),{days:-10})).then((function(n){if(c(_t(n,t)),e.participant.hasPairedDevice()&&e.participant.hasEstablishedBaseline()){var r=Ct.loadBiometrics(),a=Ct.loadAirQualities();Promise.all([r,a]).then((function(e){d(e[0]),h(e[1]),i(!1)}))}else i(!1)}))})),r&&!o)return null;var m=function(e,n){return n?t.createElement("div",{className:"mdhui-asthma-control-status-header-not-controlled-stat"},t.createElement("div",{className:"mdhui-asthma-control-status-header-not-controlled-stat-value"},n,"x"),t.createElement("div",{className:"mdhui-asthma-control-status-header-not-controlled-stat-label"},e)):null};return t.createElement("div",{className:"mdhui-asthma-control-status-header",ref:e.innerRef},"no-data"===o.status&&function(){var n,r,i,a,o,c,s,l;return e.participant.hasPairedDevice()?e.participant.hasEstablishedBaseline()?u.filter((function(e){return"out-of-range"===e.status})).length+p.filter((function(e){return"out-of-range"===e.status})).length>1?t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Multiple data points are ",t.createElement("span",{className:"mdhui-asthma-control-status-header-data-out-of-range"},"outside your normal levels"),". Please record any asthma symptoms in your daily entry.")):"out-of-range"===(null===(n=u.find((function(e){return"daytime-resting-heart-rate"===e.type||"nighttime-resting-heart-rate"===e.type})))||void 0===n?void 0:n.status)?t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Your resting heart rate is ",t.createElement("span",{className:"mdhui-asthma-control-status-header-data-out-of-range"},"above your normal level"),". Please record any asthma symptoms in your daily entry.")):"out-of-range"===(null===(r=u.find((function(e){return"respiratory-rate"===e.type})))||void 0===r?void 0:r.status)?t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Your respiratory rate is ",t.createElement("span",{className:"mdhui-asthma-control-status-header-data-out-of-range"},"above your normal level"),". Please record any asthma symptoms in your daily entry.")):"out-of-range"===(null===(i=u.find((function(e){return"activity"===e.type})))||void 0===i?void 0:i.status)?t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Your activity is ",t.createElement("span",{className:"mdhui-asthma-control-status-header-data-out-of-range"},"below your normal levels"),". Please record any asthma symptoms in your daily entry.")):"out-of-range"===(null===(a=u.find((function(e){return"sleep"===e.type})))||void 0===a?void 0:a.status)?t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Your sleep disturbances are ",t.createElement("span",{className:"mdhui-asthma-control-status-header-data-out-of-range"},"above your normal level"),". Please record any asthma symptoms in your daily entry.")):"out-of-range"===(null===(o=p.find((function(e){return"home"===e.type})))||void 0===o?void 0:o.status)?t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Your home Air Quality Index is ",t.createElement("span",{className:"mdhui-asthma-control-status-header-data-out-of-range"},null===(c=p.find((function(e){return"home"===e.type})))||void 0===c?void 0:c.description),". Please record any asthma symptoms in your daily entry.")):"out-of-range"===(null===(s=p.find((function(e){return"work"===e.type})))||void 0===s?void 0:s.status)?t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Your work Air Quality Index is ",t.createElement("span",{className:"mdhui-asthma-control-status-header-data-out-of-range"},null===(l=p.find((function(e){return"work"===e.type})))||void 0===l?void 0:l.description),". Please record any asthma symptoms in your daily entry.")):null:t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Nice job setting up your devices! Keep using them so your normal levels can be established."),t.createElement("p",null,"Be sure to keep adding daily entries.")):t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Visit the Library for articles and resources about asthma."),t.createElement("p",null,"Add daily entries regularly to assess your level of asthma control."))}(),"not-determined"===o.status&&t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"We'll assess your level of asthma control after you've added a few more daily entries."),t.createElement("p",null,"You can add a new entry tomorrow.")),"controlled"===o.status&&t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Based on your entries, your asthma is ",t.createElement("span",{className:"mdhui-asthma-control-status-header-controlled"},"under control."))),"not-controlled"===o.status&&t.createElement("div",null,t.createElement("div",{className:"mdhui-asthma-control-status-header-text"},t.createElement("p",null,"Based on your entries, your asthma is ",t.createElement("span",{className:"mdhui-asthma-control-status-header-not-controlled"},"not under control."))),t.createElement("div",{className:"mdhui-asthma-control-status-header-not-controlled-stats"},m("Symptom days",o.symptomDaysPast7),m("Rescue inhaler",o.inhalerUseDaysPast7),m("Limited activity",o.limitedActivityDaysPast7),m("Awakenings",o.nighttimeAwakeningDaysPast7))))}function Ql(e){return t.createElement(oa,{interval:"week",entryTitlePrefix:"Asthma Fact #",entries:[{title:"001",text:"Lots of people with asthma consider swimming the best exercise. But as long as asthma is well controlled, other forms of exercise can also be good."},{title:"002",text:"The number of Americans with asthma grows every year. In 2017 it was estimated that there are 25 million people with asthma in the United States."},{title:"003",text:"When asthma is not well controlled, you may suffer from inconsistent sleep and nighttime awakenings more often."},{title:"004",text:"Asthma most commonly appears during childhood, but it's also possible to develop asthma as an adult."},{title:"005",text:"Ozone makes people more sensitive to asthma triggers such as pet dander, pollen, dust mites, and mold."},{title:"006",text:"Every day in United States, 40,000 people miss school or work because of asthma."},{title:"007",text:"Bed sheets must be washed in hot water (at least 130 °F) to kill dust mites, which can trigger asthma for some people."},{title:"008",text:"At the Beijing Olympic Games in 2008, 19% of the swimmers had asthma - yet they ended up winning 33% of the individual medals!"},{title:"009",text:"Asthma and current asthma medications do NOT damage the heart."},{title:"010",text:"Strong emotions like anger can set off an asthma attack."},{title:"011",text:"It is not possible to outgrow asthma, but asthma symptoms often improve as a child gets older."},{title:"012",text:"If someone's asthma is well controlled, they shouldn't have any nighttime awakenings due to asthma."},{title:"013",text:"Asthma is the cause of one-quarter of all emergency room visits in the United States."},{title:"014",text:"Warming up before a workout can help to avoid triggering asthma symptoms."},{title:"015",text:"You can't catch asthma from someone else. But you can catch a cold, which may trigger worsening symptoms in someone with asthma."},{title:"016",text:"Asthma may affect over 300 million people worldwide. The exact number isn't known for sure because many people don't know that they have it."},{title:"017",text:"Every day in United States, 30,000 people have an asthma attack."},{title:"018",text:"The average stay for someone hospitalized for asthma is 3 days. Working to ensure asthma is well controlled reduces the need for hospitalizations."},{title:"019",text:"7 million children in the U.S. have asthma."},{title:"020",text:"The English word asthma is derived from an ancient Greek word meaning hard breathing."},{title:"021",text:"Not having any activity limitations due to asthma symptoms is a sign that asthma is being well controlled."},{title:"022",text:"Unfortunately, about 12 million people worldwide report having an asthma attack in the past year."},{title:"023",text:"Every day in United States, 5,000 people visit the emergency room for asthma."},{title:"024",text:"Cats can also suffer from asthma, and their experience is very similar to humans. It is called feline asthma."},{title:"025",text:"Your treatment plan should be reevaluated every three to six months."},{title:"026",text:"Ozone and particle pollution can trigger asthma attacks."},{title:"027",text:"If your asthma is well controlled, you should only be using albuterol (rescue inhaler) twice a week or less (not including before exercise)."}],startDate:ne(new Date),innerRef:e.innerRef})}k(".mdhui-asthma-log-entry-details {\n padding: 16px;\n}\n\n.mdhui-asthma-log-entry-details-header {\n display: grid;\n grid-template-columns: auto max-content;\n align-items: center;\n margin-bottom: 20px;\n}\n\n.mdhui-asthma-log-entry-details-header-status {\n font-size: 20px;\n font-weight: bold;\n}\n\n.mdhui-asthma-log-entry-details-header-add-button {\n height: 32px;\n line-height: 32px;\n border-radius: 6px;\n font-size: 14px;\n padding: 0 16px;\n color: #fff;\n background: #369CFF;\n}\n\n.mdhui-asthma-log-entry-details-header-edit-button {\n height: 32px;\n line-height: 32px;\n border-radius: 6px;\n font-size: 14px;\n padding: 0 16px;\n color: #007FF9;\n background: #BBDEFF;\n}\n\n.mdhui-asthma-log-entry-details-header-info-button {\n font-size: 18px;\n color: var(--mdhui-color-primary);\n}\n\n.mdhui-asthma-log-entry-details-component {\n margin-bottom: 16px;\n}\n\n.mdhui-asthma-log-entry-details-component-symptoms .mdhui-asthma-log-entry-details-component-header-icon {\n background: #E87C00;\n}\n\n.mdhui-asthma-log-entry-details-component-symptoms .mdhui-asthma-log-entry-details-component-data {\n background: #E87C0040;\n color: #E87C00;\n}\n\n.mdhui-asthma-log-entry-details-component-impacts .mdhui-asthma-log-entry-details-component-header-icon {\n background: #9D5BED;\n}\n\n.mdhui-asthma-log-entry-details-component-impacts .mdhui-asthma-log-entry-details-component-data {\n background: #9D5BED40;\n color: #9D5BED;\n}\n\n.mdhui-asthma-log-entry-details-component-triggers .mdhui-asthma-log-entry-details-component-header-icon {\n background: #000000;\n}\n\n.mdhui-asthma-log-entry-details-component-triggers .mdhui-asthma-log-entry-details-component-data {\n background: #00000040;\n color: #000000;\n}\n\n.mdhui-asthma-log-entry-details-component:last-child {\n margin-bottom: 0;\n}\n\n.mdhui-asthma-log-entry-details-component-header {\n display: grid;\n grid-template-columns: max-content auto;\n grid-column-gap: 4px;\n align-items: center;\n margin-bottom: 8px;\n}\n\n.mdhui-asthma-log-entry-details-component-header-icon {\n display: inline-block;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n}\n\n.mdhui-asthma-log-entry-details-component-header-label {\n font-size: 14px;\n font-weight: bold;\n}\n\n.mdhui-asthma-log-entry-details-component-no-data {\n font-size: 14px;\n color: var(--mdhui-text-color-3);\n margin-left: 16px;\n}\n\n.mdhui-asthma-log-entry-details-component-data {\n display: inline-block;\n padding: 0 8px;\n height: 24px;\n line-height: 24px;\n border-radius: 12px;\n font-size: 12px;\n margin-top: 6px;\n margin-right: 6px;\n}");var $l={identifier:Ot(new Date),symptomLevel:"none",symptoms:[],impacts:[],triggers:[]},Kl={"not-logged":{},"logged-no-symptoms":{logEntry:$l},"logged-mild-symptoms":{logEntry:E(E({},$l),{symptomLevel:"mild",symptoms:["Coughing"],impacts:["Waking up at night","Rescue inhaler use"],triggers:["Cold/flu/virus","Seasonal allergies/pollen","Smoke (tobacco or wood burning)","Air pollution","Dust mites","Mold"]})},"logged-moderate-symptoms":{logEntry:E(E({},$l),{symptomLevel:"moderate",symptoms:["Coughing"],triggers:["Cold/flu/virus","Mold"]})},"logged-severe-symptoms":{logEntry:E(E({},$l),{symptomLevel:"severe",symptoms:["Coughing","Wheezing"],impacts:["Rescue inhaler use"]})}};function Jl(e){var n=s(!0),r=n[0],i=n[1],a=s(),o=a[0],c=a[1],l=ht(),u=I(new Date(l),{days:-1}),d=I(new Date(e.date),{days:-1}),f=I(new Date(e.date),{days:1});zt((function(){if(i(!0),e.previewState)return c(Kl[e.previewState].logEntry),void i(!1);Ct.loadLogEntries(d,f).then((function(t){c(t.find((function(t){return t.identifier===Ot(e.date)}))),i(!1)}))}));var p=function(){return!rt(e.date,u)};return t.createElement("div",{className:"mdhui-asthma-log-entry-details",ref:e.innerRef},r&&t.createElement(ki,null),!r&&t.createElement("div",null,t.createElement("div",{className:"mdhui-asthma-log-entry-details-header"},t.createElement("div",{className:"mdhui-asthma-log-entry-details-header-status"},o?"mild"===o.symptomLevel?"Mild symptoms":"moderate"===o.symptomLevel?"Moderate symptoms":"severe"===o.symptomLevel?"Severe symptoms":"No symptoms":p()?"Not logged yet":"Daily entry missed"),p()?t.createElement("div",{className:"mdhui-asthma-log-entry-details-header-action",onClick:function(){r||e.previewState||(i(!0),o?x.openApplication(e.editLogEntryUrl+"?date="+et(e.date,{representation:"date"}),{modal:!0}):W(e.date,l)?x.startSurvey(e.logTodayEntrySurveyName):W(e.date,u)&&x.startSurvey(e.logYesterdayEntrySurveyName))}},o?t.createElement("div",{className:"mdhui-asthma-log-entry-details-header-edit-button"},"Edit"):t.createElement("div",{className:"mdhui-asthma-log-entry-details-header-add-button"},"Log Entry")):t.createElement("div",{className:"mdhui-asthma-log-entry-details-header-action",onClick:function(){!r&&e.previewState}},t.createElement(kl,{className:"mdhui-asthma-log-entry-details-header-info-button",icon:Pl}))),t.createElement(eu,{className:"mdhui-asthma-log-entry-details-component-symptoms",label:"Symptoms",data:null==o?void 0:o.symptoms}),t.createElement(eu,{className:"mdhui-asthma-log-entry-details-component-impacts",label:"Impacts",data:null==o?void 0:o.impacts}),t.createElement(eu,{className:"mdhui-asthma-log-entry-details-component-triggers",label:"Triggers",data:null==o?void 0:o.triggers})))}function eu(e){return t.createElement("div",{className:["mdhui-asthma-log-entry-details-component",e.className].join(" ")},t.createElement("div",{className:"mdhui-asthma-log-entry-details-component-header"},t.createElement("div",{className:"mdhui-asthma-log-entry-details-component-header-icon"}),t.createElement("div",{className:"mdhui-asthma-log-entry-details-component-header-label"},e.label)),(!e.data||0===e.data.length)&&t.createElement("div",{className:"mdhui-asthma-log-entry-details-component-no-data"},"No ",e.label.toLowerCase()," logged"),e.data&&e.data.length>0&&e.data.map((function(e){return t.createElement("div",{className:"mdhui-asthma-log-entry-details-component-data"},e)})))}k(".mdhui-asthma-log-entry-header {\n padding: 0 16px;\n margin-bottom: 16px;\n}");function tu(e){return t.createElement("div",{className:"mdhui-asthma-log-entry-summary",ref:e.innerRef,onClick:function(){return e.onClick()}},t.createElement("div",{className:"mdhui-asthma-log-entry-summary-details"},t.createElement("div",{className:"mdhui-asthma-log-entry-summary-label"},e.label),t.createElement("div",{className:"mdhui-asthma-log-entry-summary-status"},e.logEntry?"mild"===e.logEntry.symptomLevel?"Mild symptoms":"moderate"===e.logEntry.symptomLevel?"Moderate symptoms":"severe"===e.logEntry.symptomLevel?"Severe symptoms":"No symptoms":"Not logged yet")),t.createElement("div",{className:"mdhui-asthma-log-entry-summary-action"},e.loading&&t.createElement(ki,null),!e.loading&&!e.logEntry&&t.createElement("div",{className:"mdhui-asthma-log-entry-summary-add-button"},"Log Entry"),!e.loading&&e.logEntry&&t.createElement(kl,{icon:Ll,className:"mdhui-asthma-log-entry-summary-chevron"})))}k(".mdhui-asthma-log-entry-summary {\n display: grid;\n grid-template-columns: auto max-content;\n align-items: center;\n border-radius: 6px;\n padding: 16px;\n margin: 8px 0;\n background: #f8f8f8;\n}\n\n.mdhui-asthma-log-entry-summary-details {\n font-size: 16px;\n}\n\n.mdhui-asthma-log-entry-summary-label {\n}\n\n.mdhui-asthma-log-entry-summary-status {\n font-weight: bold;\n}\n\n.mdhui-asthma-log-entry-summary-add-button {\n height: 32px;\n line-height: 32px;\n border-radius: 16px;\n font-size: 14px;\n padding: 0 16px;\n color: #fff;\n background: #369CFF;\n}\n\n.mdhui-asthma-log-entry-summary-chevron {\n color: #585858;\n}\n\n.mdhui-asthma-log-entry-summary .mdhui-loading-indicator {\n padding: 0;\n}");var nu={identifier:Ot(new Date),symptomLevel:"mild",symptoms:[],impacts:[],triggers:[]},ru={"no-logs":{},"today-log-only":{todayLogEntry:nu},"yesterday-log-only":{yesterdayLogEntry:nu},"both-logs":{yesterdayLogEntry:nu,todayLogEntry:nu}};function iu(e){var n=s(!0),r=n[0],i=n[1],a=s(!0),o=a[0],c=a[1],l=s(),u=l[0],d=l[1],f=s(),p=f[0],h=f[1];if(zt((function(){if(c(!0),e.previewState)return d(ru[e.previewState].yesterdayLogEntry),h(ru[e.previewState].todayLogEntry),c(!1),void i(!1);Ct.loadLogEntries(I(new Date,{days:-3})).then((function(e){var t=z(new Date);h(e.find((function(e){return e.identifier===Ot(t)})));var n=z(I(new Date,{days:-1}));d(e.find((function(e){return e.identifier===Ot(n)}))),c(!1),i(!1)}))}),["surveyDidFinish"]),r)return null;var m=function(t,n){e.previewState||o||(n?x.openApplication(e.dayViewUrl+"?date="+n.identifier,{modal:!0}):x.startSurvey(t))};return t.createElement("div",{className:"mdhui-asthma-log-entry-header",ref:e.innerRef},t.createElement(tu,{label:"Today",logEntry:p,onClick:function(){return m(e.logTodayEntrySurveyName,p)},loading:o}),t.createElement(tu,{label:"Yesterday",logEntry:u,onClick:function(){return m(e.logYesterdayEntrySurveyName,u)},loading:o}))}function au(e,t){n((function(){return e(),t.forEach((function(t){x.on(t,e)})),function(){t.forEach((function(t){x.off(t,e)}))}}),[])}function ou(e){var n=s(null),r=n[0],i=n[1];return au((function(){"default"!=e.previewState?x.invokeCustomApi("HealthAndWellnessApi.Allergies","GET","",!0).then((function(e){i(e)})):i([{Substance:"COVID-19 VACCINE, MRNA, BNT162B2, LNP-S (PFIZER)",Reactions:["Anaphylaxis"],TermInformation:{TermCode:"195967001",TermNamespace:"SNOMED",TermFamily:"Problem"}},{Substance:"EGGS",Reactions:["Coughing","Rash"]},{Substance:"IBUPROFEN",Reactions:[]}])}),["externalAccountSyncComplete","applicationDidBecomeVisible"]),t.createElement("div",{ref:e.innerRef},!r&&t.createElement(ki,null),r&&r.map((function(n){return t.createElement(bi,{key:n.Substance,subtitle:n.Reactions.length>0?"Reactions: ".concat(n.Reactions.join(", ")):void 0,renderAs:"div",bottomBorder:!0,title:n.Substance,indicator:n.TermInformation?t.createElement(Ft,{onClick:function(){return e.onViewTermInfo(n.TermInformation)}},t.createElement(Vt,{color:"var(--mdhui-color-primary)",icon:Nl})):t.createElement(t.Fragment,null)})})))}function cu(e){var r=s(""),i=r[0],a=r[1];return n((function(){e.previewDevicePlatform?a(e.previewDevicePlatform):x.getDeviceInfo().then((function(e){e&&a(e.platform)}))}),[]),e.platforms.includes(i)?t.createElement("div",{ref:e.innerRef},e.children):null}k(".mdhui-app-download-subtitle {\n margin-bottom: 16px;\n}\n\n.mdhui-app-download-links a:first-child {\n margin-right: 12px;\n}\n\n.mdhui-app-download-link img {\n height: 44px;\n}");var su="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 135 40'%3e%3cpath d='M130 40H5c-2.8 0-5-2.2-5-5V5c0-2.8 2.2-5 5-5h125c2.8 0 5 2.2 5 5v30c0 2.8-2.2 5-5 5z'/%3e%3cpath d='M130 .8c2.3 0 4.2 1.9 4.2 4.2v30c0 2.3-1.9 4.2-4.2 4.2H5C2.7 39.2.8 37.3.8 35V5C.8 2.7 2.7.8 5 .8h125m0-.8H5C2.2 0 0 2.3 0 5v30c0 2.8 2.2 5 5 5h125c2.8 0 5-2.2 5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.5-1.8c-1.4 0-2.8.6-3.3 1.9l1.7.7c.4-.7 1-.9 1.7-.9 1 0 1.9.6 2 1.6v.1c-.3-.2-1.1-.5-1.9-.5-1.8 0-3.6 1-3.6 2.8 0 1.7 1.5 2.8 3.1 2.8 1.3 0 1.9-.6 2.4-1.2h.1v1h1.8v-4.8c-.2-2.2-1.9-3.5-4-3.5zm-.2 6.9c-.6 0-1.5-.3-1.5-1.1 0-1 1.1-1.3 2-1.3.8 0 1.2.2 1.7.4-.2 1.2-1.2 2-2.2 2zm10.5-6.6l-2.1 5.4h-.1l-2.2-5.4h-2l3.3 7.6-1.9 4.2h1.9l5.1-11.8h-2zm-16.8 8h1.9V17.5h-1.9V30z' fill='white'/%3e%3clinearGradient id='a' gradientUnits='userSpaceOnUse' x1='21.795' y1='-152.295' x2='5.012' y2='-135.513' gradientTransform='translate(0 161)'%3e%3cstop offset='0' stop-color='%2300a0ff'/%3e%3cstop offset='.007' stop-color='%2300a1ff'/%3e%3cstop offset='.26' stop-color='%2300beff'/%3e%3cstop offset='.512' stop-color='%2300d2ff'/%3e%3cstop offset='.76' stop-color='%2300dfff'/%3e%3cstop offset='1' stop-color='%2300e3ff'/%3e%3c/linearGradient%3e%3cpath d='M10.4 7.5c-.3.3-.4.8-.4 1.4V31c0 .6.2 1.1.5 1.4l.1.1L23 20.1v-.2L10.4 7.5z' fill='url(%23a)'/%3e%3clinearGradient id='b' gradientUnits='userSpaceOnUse' x1='33.834' y1='-140.95' x2='9.637' y2='-140.95' gradientTransform='translate(0 161)'%3e%3cstop offset='0' stop-color='%23ffe000'/%3e%3cstop offset='.409' stop-color='%23ffbd00'/%3e%3cstop offset='.775' stop-color='orange'/%3e%3cstop offset='1' stop-color='%23ff9c00'/%3e%3c/linearGradient%3e%3cpath d='M27 24.3l-4.1-4.1v-.3l4.1-4.1.1.1 4.9 2.8c1.4.8 1.4 2.1 0 2.9l-5 2.7z' fill='url(%23b)'/%3e%3clinearGradient id='c' gradientUnits='userSpaceOnUse' x1='24.816' y1='-138.715' x2='2.058' y2='-115.957' gradientTransform='translate(0 161)'%3e%3cstop offset='0' stop-color='%23ff3a44'/%3e%3cstop offset='1' stop-color='%23c31162'/%3e%3c/linearGradient%3e%3cpath d='M27.1 24.2L22.9 20 10.4 32.5c.5.5 1.2.5 2.1.1l14.6-8.4' fill='url(%23c)'/%3e%3clinearGradient id='d' gradientUnits='userSpaceOnUse' x1='7.261' y1='-160.788' x2='17.424' y2='-150.625' gradientTransform='translate(0 161)'%3e%3cstop offset='0' stop-color='%2332a071'/%3e%3cstop offset='.069' stop-color='%232da771'/%3e%3cstop offset='.476' stop-color='%2315cf74'/%3e%3cstop offset='.801' stop-color='%2306e775'/%3e%3cstop offset='1' stop-color='%2300f076'/%3e%3c/linearGradient%3e%3cpath d='M27.1 15.8L12.5 7.5c-.9-.5-1.6-.4-2.1.1L22.9 20l4.2-4.2z' fill='url(%23d)'/%3e%3cpath d='M27 24.1l-14.5 8.2c-.8.5-1.5.4-2 0l-.1.1.1.1c.5.4 1.2.5 2 0L27 24.1z' opacity='.2'/%3e%3cpath d='M10.4 32.3c-.3-.3-.4-.8-.4-1.4v.1c0 .6.2 1.1.5 1.4v-.1h-.1zm21.6-11l-5 2.8.1.1 4.9-2.8c.7-.4 1-.9 1-1.4 0 .5-.4.9-1 1.3z' opacity='.12'/%3e%3cpath d='M12.5 7.6L32 18.7c.6.4 1 .8 1 1.3 0-.5-.3-1-1-1.4l-19.5-11c-1.4-.9-2.5-.3-2.5 1.3V9c0-1.5 1.1-2.2 2.5-1.4z' opacity='.25' fill='white'/%3e%3c/svg%3e",lu="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 119.7 40'%3e%3cpath d='M110.1 0H7.5c-.7 0-1.3.1-2 .2-.6.1-1.3.3-1.9.6C3 1.1 2.5 1.5 2 2S1.1 3 .8 3.6C.5 4.2.3 4.9.2 5.5c-.1.7-.2 1.4-.2 2v24.9c0 .7.1 1.3.2 2s.3 1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9 1.3-1.1 0-2.1-.9-2.1-2v-.3c-.2-1.1.6-2.2 1.8-2.3h.3c1.3 0 2 .9 2 2.3v.3h-3.2v.1c-.1.7.4 1.2 1.1 1.3h.1c.4.1.9-.2 1.1-.5h.8zm-3.2-1.5h2.3c0-.6-.4-1.1-1-1.2h-.1c-.6.1-1.2.6-1.2 1.2z' fill='white'/%3e%3c/svg%3e";function uu(e){var n=s(),r=n[0],i=n[1];if(zt((function(){e.previewProjectPlatforms?i({name:"PROJECT",platforms:e.previewProjectPlatforms||[]}):x.getProjectInfo().then((function(e){i(e)}))})),!r)return null;var a=e.title||ea("app-download-title"),o=e.text||ea("app-download-subtitle").replace("@@PROJECT_NAME@@",r.name);return t.createElement("div",{className:"mdhui-app-download",ref:e.innerRef},t.createElement(cu,{platforms:["Web"],previewDevicePlatform:e.previewDevicePlatform},t.createElement(Ri,{title:a}),t.createElement(ya,null,t.createElement("div",{className:"mdhui-app-download-subtitle"},o),t.createElement("div",{className:"mdhui-app-download-links"},r.platforms.includes("Android")&&t.createElement("a",{target:"_blank",className:"mdhui-app-download-link",href:"https://play.google.com/store/apps/details?id=com.careevolution.mydatahelps&hl=en_US&gl=US"},t.createElement("img",{src:su,alt:ea("app-download-google-play-link-alt")})),r.platforms.includes("iOS")&&t.createElement("a",{target:"_blank",className:"mdhui-app-download-link",href:"https://apps.apple.com/us/app/mydatahelps/id1286789190"},t.createElement("img",{src:lu,alt:ea("app-download-app-store-link-alt")}))))))}function du(e){var n=s(null),r=n[0],i=n[1];return au((function(){"default"!=e.previewState?x.invokeCustomApi("HealthAndWellnessApi.Conditions","GET","",!0).then((function(e){i(e)})):i([{DisplayName:"Asthma",TermInformation:{TermCode:"195967001",TermNamespace:"SNOMED",TermFamily:"Problem"}},{DisplayName:"Diabetes"},{DisplayName:"Influenza"}])}),["externalAccountSyncComplete","applicationDidBecomeVisible"]),t.createElement("div",{ref:e.innerRef},!r&&t.createElement(ki,null),r&&r.map((function(n){return t.createElement(bi,{key:n.DisplayName,renderAs:"div",bottomBorder:!0,title:n.DisplayName,indicator:n.TermInformation?t.createElement(Ft,{onClick:function(){return e.onViewTermInfo(n.TermInformation)}},t.createElement(Vt,{color:"var(--mdhui-color-primary)",icon:Nl})):t.createElement(t.Fragment,null)})})))}function fu(){var e=564;return x.baseUrl&&(x.baseUrl.startsWith("https://mdhorg.ce.dev")||x.baseUrl.startsWith("https://mydatahelps.dev"))&&(e=2),e}function pu(){var e=6327;return x.baseUrl&&(x.baseUrl.startsWith("https://mdhorg.ce.dev")||x.baseUrl.startsWith("https://mydatahelps.dev"))&&(e=1384),e}function hu(){var e=1466;return x.baseUrl&&(x.baseUrl.startsWith("https://mdhorg.ce.dev")||x.baseUrl.startsWith("https://mydatahelps.dev"))&&(e=171),e}k(".mdhui-connect-devices-menu .mdhui-connect-devices-menu-inner {\n background: var(--mdhui-background-color-1);\n border-radius: 6px;\n margin: var(--mdhui-padding-md);\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-device {\n border-bottom: solid 1px var(--mdhui-border-color-1);\n font-size: 0.83em;\n background: none;\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-device:last-child {\n border-bottom: none;\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-device-title {\n display: flex;\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-connect {\n color: var(--mdhui-color-primary);\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-reconnect {\n color: var(--mdhui-color-danger);\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-device .mdhui-connect-devices-menu-help {\n padding: var(--mdhui-padding-md);\n padding-top: 0;\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-device .mdhui-connect-devices-menu-help p {\n margin-top: 0;\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-device .mdhui-connect-devices-menu-help ol {\n margin-bottom: 0;\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-device .mdhui-connect-devices-menu-connected {\n color: var(--mdhui-text-color-2);\n}\n\n.mdhui-connect-devices-menu .mdhui-connect-devices-menu-device img {\n width: 24px;\n display: flex;\n}");var mu=[{id:1,lastRefreshDate:"",provider:{category:"Device Manufacturer",id:fu(),name:"Fitbit",logoUrl:""},status:"fetchingData"},{id:2,lastRefreshDate:"",provider:{category:"Device Manufacturer",id:pu(),name:"Garmin",logoUrl:""},status:"unauthorized"},{id:3,lastRefreshDate:"",provider:{category:"Device Manufacturer",id:hu(),name:"Fitbit",logoUrl:""},status:"fetchComplete"}],vu={fitbitEnabled:!0,garminEnabled:!0,queryableDeviceDataTypes:[{namespace:"AppleHealth",type:"Steps"},{namespace:"GoogleFit",type:"Steps"}],airQualityEnabled:!0,weatherEnabled:!0,ehrEnabled:!0,sensorDataCollectionEndDate:""},gu="data:image/svg+xml,%3csvg width='60' height='60' viewBox='0 0 60 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='60' height='60' rx='30' fill='%23DDDDDD'/%3e%3cg filter='url(%23filter0_f_467_6673)'%3e%3cpath d='M22.1192 49.2197H36.8883L40.787 53.0497H17.3032L22.1192 49.2197Z' fill='%23151515' fill-opacity='0.22'/%3e%3c/g%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M19.7775 50.1133C22.7489 51.5431 26.0799 52.3443 29.598 52.3443C33.116 52.3443 36.4468 51.5432 39.4181 50.1136C43.3968 44.2914 45.7236 37.2508 45.7236 29.6668C45.7236 22.0827 43.3967 15.0421 39.4179 9.21985C36.4467 7.79027 33.1159 6.98926 29.598 6.98926C26.08 6.98926 22.749 7.79036 19.7776 9.22011C15.799 15.0423 13.4722 22.0828 13.4722 29.6668C13.4722 37.2507 15.7989 44.2912 19.7775 50.1133Z' fill='url(%23paint0_radial_467_6673)'/%3e%3crect x='47.3887' y='27.2981' width='1.61262' height='4.73708' rx='0.403155' fill='url(%23paint1_linear_467_6673)'/%3e%3ccircle cx='29.599' cy='29.6664' r='18.0412' fill='url(%23paint2_radial_467_6673)' stroke='%23242424' stroke-width='0.201578'/%3e%3ccircle cx='29.5994' cy='29.6665' r='16.0002' fill='url(%23paint3_linear_467_6673)'/%3e%3ccircle cx='29.5994' cy='29.6665' r='16.0002' stroke='%23888888' stroke-width='0.251972' stroke-dasharray='0.1 0.25'/%3e%3ccircle cx='29.5994' cy='29.6665' r='16.0002' stroke='url(%23paint4_linear_467_6673)' stroke-width='0.251972' stroke-dasharray='0.1 0.25'/%3e%3cg clip-path='url(%23clip0_467_6673)'%3e%3crect x='14.6113' y='14.6995' width='29.9343' height='29.9343' fill='%23383838'/%3e%3cg clip-path='url(%23clip1_467_6673)'%3e%3cpath d='M33.1424 21.8214C33.1424 21.3384 32.9505 20.8751 32.6089 20.5335C32.2673 20.1919 31.804 20 31.3209 20C30.8379 20 30.3746 20.1919 30.033 20.5335C29.6914 20.8751 29.4995 21.3384 29.4995 21.8214C29.4995 22.3045 29.6914 22.7678 30.033 23.1094C30.3746 23.451 30.8379 23.6429 31.3209 23.6429C31.804 23.6429 32.2673 23.451 32.6089 23.1094C32.9505 22.7678 33.1424 22.3045 33.1424 21.8214ZM25.7694 26.6596C26.145 26.2839 26.6573 26.0714 27.1924 26.0714C27.2645 26.0714 27.3366 26.0752 27.4049 26.0828L26.2209 29.6384C25.868 30.7009 26.2854 31.8696 27.2379 32.4654L30.5089 34.5107L29.545 37.8804C29.3591 38.5254 29.7348 39.1971 30.3799 39.383C31.025 39.569 31.6966 39.1933 31.8825 38.5482L32.9716 34.7384C33.1955 33.9567 32.8729 33.1219 32.1861 32.6931L30.0308 31.346L31.2033 28.2192L31.3968 28.6859C31.966 30.0444 33.2904 30.9286 34.7627 30.9286H35.5709C36.2426 30.9286 36.7852 30.3859 36.7852 29.7143C36.7852 29.0426 36.2426 28.5 35.5709 28.5H34.7627C34.2732 28.5 33.8292 28.204 33.6433 27.7525L33.4042 27.1833C32.8502 25.8513 31.7308 24.8344 30.3495 24.4094L28.5015 23.8402C28.0803 23.7112 27.6401 23.6429 27.1962 23.6429C26.0198 23.6429 24.889 24.1096 24.058 24.9444L23.1776 25.821C22.7033 26.2953 22.7033 27.0656 23.1776 27.54C23.652 28.0143 24.4223 28.0143 24.8966 27.54L25.7732 26.6634L25.7694 26.6596ZM24.4602 33.3571H22.2138C21.5421 33.3571 20.9995 33.8998 20.9995 34.5714C20.9995 35.2431 21.5421 35.7857 22.2138 35.7857H24.8549C25.5759 35.7857 26.2285 35.3607 26.5207 34.7042L26.9571 33.7214L26.5966 33.4938C25.9325 33.0801 25.4392 32.4768 25.1584 31.79L24.4602 33.3571Z' fill='%23A9FF3A'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter id='filter0_f_467_6673' x='14.6827' y='46.5992' width='28.7249' height='9.0711' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e%3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e%3cfeBlend mode='normal' in='SourceGraphic' in2='BackgroundImageFix' result='shape'/%3e%3cfeGaussianBlur stdDeviation='1.31026' result='effect1_foregroundBlur_467_6673'/%3e%3c/filter%3e%3cradialGradient id='paint0_radial_467_6673' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(29.5979 29.6668) rotate(90) scale(22.6775 16.1257)'%3e%3cstop stop-color='%23464646'/%3e%3cstop offset='1' stop-color='%23141414'/%3e%3c/radialGradient%3e%3clinearGradient id='paint1_linear_467_6673' x1='49.0013' y1='29.6666' x2='47.3887' y2='29.6666' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0.343164' stop-color='%230D0C0C'/%3e%3cstop offset='1' stop-color='%23242424'/%3e%3c/linearGradient%3e%3cradialGradient id='paint2_radial_467_6673' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(29.599 29.6664) rotate(90) scale(18.142)'%3e%3cstop stop-color='%23A7A7A7'/%3e%3cstop offset='1' stop-color='%23161616'/%3e%3c/radialGradient%3e%3clinearGradient id='paint3_linear_467_6673' x1='21.0129' y1='16.3624' x2='39.4321' y2='43.399' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%23141414'/%3e%3cstop offset='0.0760274' stop-color='%23202020'/%3e%3cstop offset='1' stop-color='%234A4A4A'/%3e%3c/linearGradient%3e%3clinearGradient id='paint4_linear_467_6673' x1='21.2397' y1='15.682' x2='39.0793' y2='43.2226' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%23888888'/%3e%3cstop offset='1' stop-color='%230E0E0E'/%3e%3c/linearGradient%3e%3cclipPath id='clip0_467_6673'%3e%3crect x='14.6123' y='14.6995' width='29.9343' height='29.9343' rx='14.9671' fill='white'/%3e%3c/clipPath%3e%3cclipPath id='clip1_467_6673'%3e%3crect width='17' height='19.4286' fill='white' transform='translate(20.9995 20)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",yu="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='24' height='24' rx='1.8' fill='%2300B0B9'/%3e%3cg clip-path='url(%23clip0_442_17951)'%3e%3cpath d='M18.9642 13.9452C19.8722 13.9452 20.6082 13.2091 20.6082 12.3011C20.6082 11.3931 19.8722 10.657 18.9642 10.657C18.0562 10.657 17.3201 11.3931 17.3201 12.3011C17.3201 13.2091 18.0562 13.9452 18.9642 13.9452Z' fill='white'/%3e%3cpath d='M15.2709 13.7635C16.0785 13.7635 16.7332 13.1088 16.7332 12.3012C16.7332 11.4936 16.0785 10.8389 15.2709 10.8389C14.4633 10.8389 13.8086 11.4936 13.8086 12.3012C13.8086 13.1088 14.4633 13.7635 15.2709 13.7635Z' fill='white'/%3e%3cpath d='M15.2709 10.0526C16.0785 10.0526 16.7332 9.39786 16.7332 8.59025C16.7332 7.78263 16.0785 7.12793 15.2709 7.12793C14.4633 7.12793 13.8086 7.78263 13.8086 8.59025C13.8086 9.39786 14.4633 10.0526 15.2709 10.0526Z' fill='white'/%3e%3cpath d='M15.2709 17.4547C16.0785 17.4547 16.7332 16.8 16.7332 15.9923C16.7332 15.1847 16.0785 14.53 15.2709 14.53C14.4633 14.53 13.8086 15.1847 13.8086 15.9923C13.8086 16.8 14.4633 17.4547 15.2709 17.4547Z' fill='white'/%3e%3cpath d='M11.577 13.5796C12.2839 13.5796 12.857 13.0066 12.857 12.2997C12.857 11.5928 12.2839 11.0198 11.577 11.0198C10.8702 11.0198 10.2971 11.5928 10.2971 12.2997C10.2971 13.0066 10.8702 13.5796 11.577 13.5796Z' fill='white'/%3e%3cpath d='M11.577 9.87014C12.2839 9.87014 12.857 9.2971 12.857 8.59022C12.857 7.88334 12.2839 7.3103 11.577 7.3103C10.8702 7.3103 10.2971 7.88334 10.2971 8.59022C10.2971 9.2971 10.8702 9.87014 11.577 9.87014Z' fill='white'/%3e%3cpath d='M11.577 17.2898C12.2839 17.2898 12.857 16.7168 12.857 16.0099C12.857 15.303 12.2839 14.73 11.577 14.73C10.8702 14.73 10.2971 15.303 10.2971 16.0099C10.2971 16.7168 10.8702 17.2898 11.577 17.2898Z' fill='white'/%3e%3cpath d='M11.577 21C12.2839 21 12.857 20.427 12.857 19.7201C12.857 19.0132 12.2839 18.4402 11.577 18.4402C10.8702 18.4402 10.2971 19.0132 10.2971 19.7201C10.2971 20.427 10.8702 21 11.577 21Z' fill='white'/%3e%3cpath d='M11.577 6.15994C12.2839 6.15994 12.857 5.5869 12.857 4.88002C12.857 4.17314 12.2839 3.6001 11.577 3.6001C10.8702 3.6001 10.2971 4.17314 10.2971 4.88002C10.2971 5.5869 10.8702 6.15994 11.577 6.15994Z' fill='white'/%3e%3cpath d='M7.88317 13.3972C8.48931 13.3972 8.98069 12.9058 8.98069 12.2997C8.98069 11.6935 8.48931 11.2021 7.88317 11.2021C7.27702 11.2021 6.78564 11.6935 6.78564 12.2997C6.78564 12.9058 7.27702 13.3972 7.88317 13.3972Z' fill='white'/%3e%3cpath d='M7.88317 17.0898C8.48931 17.0898 8.98069 16.5984 8.98069 15.9923C8.98069 15.3862 8.48931 14.8948 7.88317 14.8948C7.27702 14.8948 6.78564 15.3862 6.78564 15.9923C6.78564 16.5984 7.27702 17.0898 7.88317 17.0898Z' fill='white'/%3e%3cpath d='M7.88317 9.70408C8.48931 9.70408 8.98069 9.2127 8.98069 8.60656C8.98069 8.00041 8.48931 7.50903 7.88317 7.50903C7.27702 7.50903 6.78564 8.00041 6.78564 8.60656C6.78564 9.2127 7.27702 9.70408 7.88317 9.70408Z' fill='white'/%3e%3cpath d='M4.51523 13.214C5.02064 13.214 5.43035 12.8043 5.43035 12.2989C5.43035 11.7935 5.02064 11.3838 4.51523 11.3838C4.00981 11.3838 3.6001 11.7935 3.6001 12.2989C3.6001 12.8043 4.00981 13.214 4.51523 13.214Z' fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath id='clip0_442_17951'%3e%3crect width='17.0088' height='17.4' fill='white' transform='translate(3.6001 3.6001)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",bu="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='24' height='24' rx='1.8' fill='black'/%3e%3cpath d='M6.04048 18.5999H18.4351C18.8879 18.5999 19.2793 18.3735 19.5057 17.9821C19.7321 17.5875 19.7321 17.1379 19.5057 16.7465L13.3084 6.01769C13.082 5.62308 12.6906 5.3999 12.2378 5.3999C11.785 5.3999 11.3936 5.62632 11.1672 6.01769L4.96986 16.7433C4.74345 17.1379 4.74345 17.5875 4.96986 17.9789C5.19628 18.3735 5.58765 18.5967 6.04048 18.5967V18.5999Z' fill='white'/%3e%3c/svg%3e",xu="data:image/svg+xml,%3csvg width='24' height='25' viewBox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect x='0.5' y='1.1665' width='23' height='23' rx='4.5' fill='url(%23pattern0)' stroke='%23EDEDED'/%3e%3cdefs%3e%3cpattern id='pattern0' patternContentUnits='objectBoundingBox' width='1' height='1'%3e%3cuse xlink:href='%23image0_481_7564' transform='scale(0.00555556)'/%3e%3c/pattern%3e%3cimage id='image0_481_7564' width='180' height='180' xlink:href='data:image/png%3bbase64%2ciVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAIAAACyr5FlAAAABGdBTUEAALGPC/xhBQAACktpQ0NQc1JHQiBJRUM2MTk2Ni0yLjEAAEiJnVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4BUaaISkgChhBgSQOyIqMCIoiKCFRkUccDREZCxIoqFQbH3AXkIKOPgKDZU3g/eGn2z5r03b/avvfY5Z53vnH0%2bAEZgsESahaoBZEoV8ogAHzw2Lh4ndwMKVCCBA4BAmC0LifSPAgDg%2b/Hw7IgAH/gCBODNbUAAAG7YBIbhOPx/UBfK5AoAJAwApovE2UIApBAAMnIVMgUAMgoA7KR0mQIAJQAAWx4bFw%2bAagEAO2WSTwMAdtIk9wIAtihTKgJAowBAJsoUiQDQDgBYl6MUiwCwYAAoypGIcwGwmwBgkqHMlABg7wCAnSkWZAMQGABgohALUwEI9gDAkEdF8AAIMwEojJSveNJXXCHOUwAA8LJki%2bWSlFQFbiG0xB1cXbl4oDg3Q6xQ2IQJhOkCuQjnZWXKBNLFAJMzAwCARnZEgA/O9%2bM5O7g6O9s42jp8taj/GvyLiI2L/5c/r8IBAQCE0/VF%2b7O8rBoA7hgAtvGLlrQdoGUNgNb9L5rJHgDVQoDmq1/Nw%2bH78fBUhULmZmeXm5trKxELbYWpX/X5nwl/AV/1s%2bX78fDf14P7ipMFygwFHhHggwuzMrKUcjxbJhCKcZs/HvHfLvzzd0yLECeL5WKpUIxHS8S5EmkKzsuSiiQKSZYUl0j/k4l/s%2bwPmLxrAGDVfgb2QltQu8oG7JcuILDogCXsAgDkd9%2bCqdEQBgAxBoOTdw8AMPmb/x1oGQCg2ZIUHACAFxGFC5XynMkYAQCACDRQBTZogz4YgwXYgCO4gDt4gR/MhlCIgjhYAEJIhUy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zeJn2NLd91dOnMTzvyY7J6IzOac4uuKdv7PkZ1R35YFuVh8WLeaBqa5GcklxdFFtLSuX8edXCHV0riw2lu9M58mnSY/GWxddUBzdcqicZb/gvW3mJ4wZx4LnKSiM4kyRpzh6oGQvL/2W7Vsv%2bq2Do8ZSPJ8x47wbK2IUR4%2bVl/HW6xw6yKB8ih6iwPsX6USK4hBTMN7xJt2iOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMSkOMT0f4b7EpttWOjDAAAAAElFTkSuQmCC'/%3e%3c/defs%3e%3c/svg%3e",wu="data:image/svg+xml,%3csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 236.2 200'%3e%3cpath fill='%23EA4335' d='M22.6 105.8l11.9 11.9 25.7-25.6-11.8-11.9-5.4-5.4c-4.3-4.3-6.6-9.9-6.6-16 0-5.3 1.8-10.1 4.9-13.9 4.2-5.3 10.6-8.7 17.8-8.7 6.1 0 11.7 2.4 16.1 6.7l5.3 5.1 11.9 12 25.8-25.6-12-11.9-5.4-5.2C90.1 6.6 75.4 0 59.1 0 26.4 0 0 26.4 0 58.9 0 67 1.6 74.7 4.6 81.8c3 7.1 7.3 13.4 12.7 18.7l5.3 5.3'/%3e%3cpolyline fill='%23FBBC04' points='81.5%2c122.2 118.2%2c85.7 92.4%2c60 60.2%2c92.1 60.2%2c92.1 34.5%2c117.7 48.3%2c131.6 60.2%2c143.4 72.6%2c131'/%3e%3cpolygon fill='%2334A853' points='143.8%2c175.6 201.8%2c117.7 176%2c92.1 118.1%2c149.9 85.9%2c117.8 60.2%2c143.4 92.4%2c175.6 92.3%2c175.7 118.1%2c200 118.1%2c200 118.1%2c200 143.9%2c175.6 143.9%2c175.6'/%3e%3cpath fill='%234285F4' d='M218.9 100.5c12-12 18.9-30.4 17-49-2.8-28.2-26.2-49.4-54.6-51.3C163.4-1 147 5.7 135.4 17.3L92.4 60l25.7 25.7 43-42.8c5.2-5.1 12.4-7.5 19.8-6.3 9.6 1.5 17.4 9.4 18.7 19 1 7.2-1.4 14.2-6.5 19.3L176 92.1l25.8 25.6 17.1-17.2z'/%3e%3c/svg%3e",Au="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAIAAAB7GkOtAAAACXBIWXMAAAsSAAALEgHS3X78AAAgAElEQVR4nO3dT0xbV97/cRJiUpu0uHGS6ShGcSvVWaQSzmIimY5UIld9Fo9R6YZZ4i6TTRmxqxqVKFF2TGlHajSaRc2ybMoIHmkmGhRSTUHKjBQjDYu4ixBBNL+GOjVpYqeYhJ/CqSjDxeae+8e+19/3S6ORek3g2j73fM6/e+6+li//0wIAkGc/3zkAyEQAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAIBQBAAACEUAAI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RQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAAAIRQAAgFAEAABI1NLS8v8B9xq76iIbXpcAAAAASUVORK5CYII=";function ku(e){var r=s(!0),i=r[0],a=r[1],o=s(null),c=o[0],l=o[1],u=s(null),d=u[0],f=u[1],p=s(null),h=p[0],m=p[1];function v(){if(e.previewState)return l(vu),f([]),"ConnectedStates"==e.previewState&&f(mu),m("Web"),"iOS"==e.previewState?m("iOS"):"Android"==e.previewState&&m("Android"),void a(!1);Promise.all([x.getDataCollectionSettings(),x.getExternalAccounts(),x.getDeviceInfo()]).then((function(e){var t=e[0],n=e[1],r=e[2];l(t),f(n),m(r?r.platform:"Web"),a(!1)}))}if(n((function(){return v(),x.on("applicationDidBecomeVisible",v),x.on("externalAccountSyncComplete",v),function(){x.off("applicationDidBecomeVisible",v),x.off("externalAccountSyncComplete",v)}}),[]),i)return null;var g=e.accountTypes||["Fitbit","Garmin","AppleHealth","GoogleFit"];if((null==c?void 0:c.fitbitEnabled)||(g=g.filter((function(e){return"Fitbit"!=e}))),(null==c?void 0:c.garminEnabled)||(g=g.filter((function(e){return"Garmin"!=e}))),(null==c?void 0:c.queryableDeviceDataTypes.find((function(e){return"AppleHealth"==e.namespace})))||(g=g.filter((function(e){return"AppleHealth"!=e}))),(null==c?void 0:c.queryableDeviceDataTypes.find((function(e){return"GoogleFit"==e.namespace})))||(g=g.filter((function(e){return"GoogleFit"!=e}))),!g.length)return null;function y(e,n,r){var i=null==d?void 0:d.find((function(e){return e.provider.id==n})),a=t.createElement("div",{className:"mdhui-connect-devices-menu-connect"},ea("connect")),o=function(){x.connectExternalAccount(n,{openNewWindow:!0})};return i&&("fetchComplete"==i.status&&(a=t.createElement("div",{className:"mdhui-connect-devices-menu-connected"},ea("connected")),o=void 0),"fetchingData"==i.status&&(a=t.createElement("div",{className:"mdhui-connect-devices-menu-connected"},ea("downloading-data-menu")),o=void 0),"unauthorized"==i.status&&(a=t.createElement("div",{className:"mdhui-connect-devices-menu-reconnect"},ea("reconnect")," "))),t.createElement("div",{className:"mdhui-connect-devices-menu-device"},t.createElement(bi,{onClick:o,indicator:a},t.createElement(ba,{autosizeImage:!0,order:4,image:r},e)))}var b=e.title||ea("connect-devices-title"),w=e.text||ea("connect-devices-text"),A=e.headerVariant||"large";return t.createElement("div",{ref:e.innerRef,className:"mdhui-connect-devices-menu"},t.createElement(ba,{autosizeImage:!0,defaultMargin:!0,order:"large"==A?2:3,image:t.createElement("img",{src:gu}),imageAlignment:"large"==A?"top":"left"},b),t.createElement(ya,null,w),t.createElement("div",{className:"mdhui-connect-devices-menu-inner"},g.includes("Fitbit")?y("Fitbit",fu(),t.createElement("img",{src:yu})):null,g.includes("Garmin")?y("Garmin",pu(),t.createElement("img",{src:bu})):null,g.includes("AppleHealth")?t.createElement(Eu,{platform:h}):null,function(){if(!g.includes("GoogleFit")||"iOS"==h)return null;var e=function(){return x.showGoogleFitSettings()},n=t.createElement("div",{className:"mdhui-connect-devices-menu-connect"},ea("settings"));return"Web"==h&&(e=function(){return x.openExternalUrl("https://play.google.com/store/apps/details?id=com.careevolution.mydatahelps&hl=en_US&gl=US")},n=t.createElement("div",{className:"mdhui-connect-devices-menu-connect"},ea("download-mydatahelps"))),t.createElement("div",{className:"mdhui-connect-devices-menu-device"},t.createElement(bi,{onClick:e,indicator:n},t.createElement(ba,{autosizeImage:!0,image:t.createElement("img",{src:wu}),order:4},"Google Fit")))}(),g.includes("Omron")?y("Omron",hu(),t.createElement("img",{src:Au})):null))}function Eu(e){var n=s(!1),r=n[0],i=n[1];if("Android"==e.platform)return null;var a=function(){return i(!r)},o=t.createElement("div",{className:"mdhui-connect-devices-menu-connect"},ea("how-to-enable"));return"Web"==e.platform&&(a=function(){return x.openExternalUrl("https://apps.apple.com/us/app/mydatahelps/id1286789190")},o=t.createElement("div",{className:"mdhui-connect-devices-menu-connect"},ea("download-mydatahelps"))),t.createElement("div",{className:"mdhui-connect-devices-menu-device"},t.createElement(bi,{onClick:a,indicator:o},t.createElement(ba,{autosizeImage:!0,image:t.createElement("img",{src:xu}),order:4},"Apple Health")),r&&t.createElement("div",{className:"mdhui-connect-devices-menu-help"},t.createElement("p",null,ea("apple-health-troubleshooting-intro")),t.createElement("ol",null,t.createElement("li",null,ea("apple-health-troubleshooting-li-1")),t.createElement("li",null,ea("apple-health-troubleshooting-li-2")),t.createElement("li",null,ea("apple-health-troubleshooting-li-3")),t.createElement("li",null,ea("apple-health-troubleshooting-li-4")),t.createElement("li",null,ea("apple-health-troubleshooting-li-5")))))}k(".mdhui-connect-ehr .error-content {\n padding: 16px;\n}\n\n.mdhui-connect-ehr .content {\n margin-top: 16px;\n}\n\n.mdhui-connect-ehr .connection-status .success svg {\n color: var(--mdhui-color-success);\n}\n\n.mdhui-connect-ehr .connection-status .warning {\n color: var(--mdhui-color-danger);\n}\n\n.mdhui-connect-ehr .mdhui-connect-ehr-action {\n padding: 0;\n padding-right:var(--mdhui-padding-md);\n}");var Su={},Cu={};!function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="circle-check",n=[61533,"check-circle"],r="f058",i="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z";e.definition={prefix:"fas",iconName:t,icon:[512,512,n,r,i]},e.faCircleCheck=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=n,e.unicode=r,e.svgPathData=i,e.aliases=n}(Cu),function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Cu;e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faCheckCircle=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Su);var Ou={};!function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="triangle-exclamation",n=[9888,"exclamation-triangle","warning"],r="f071",i="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";e.definition={prefix:"fas",iconName:t,icon:[512,512,n,r,i]},e.faTriangleExclamation=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=n,e.unicode=r,e.svgPathData=i,e.aliases=n}(Ou);var _u="data:image/svg+xml,%3csvg width='100' height='100' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='50' cy='50' r='50' fill='%23D9D9D9'/%3e%3cmask id='mask0_1169_3264' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='0' y='0' width='100' height='100'%3e%3ccircle cx='50' cy='50' r='50' fill='%23D9D9D9'/%3e%3c/mask%3e%3cg mask='url(%23mask0_1169_3264)'%3e%3cpath d='M13 39C13 31.268 19.268 25 27 25H74C81.732 25 88 31.268 88 39V100H13V39Z' fill='url(%23paint0_linear_1169_3264)'/%3e%3crect x='19' y='43' width='62' height='30' rx='2' fill='white'/%3e%3crect x='45' y='63' width='15' height='4' rx='2' fill='%2366BEC0' fill-opacity='0.46'/%3e%3crect x='45' y='56' width='33' height='4' rx='2' fill='%2366BEC0' fill-opacity='0.46'/%3e%3crect x='45' y='49' width='33' height='4' rx='2' fill='%2366BEC0' fill-opacity='0.46'/%3e%3cg clip-path='url(%23clip0_1169_3264)'%3e%3cpath d='M23 47.5C23 46.6703 23.6703 46 24.5 46H39.5C40.3297 46 41 46.6703 41 47.5V49C41 49.8297 40.3297 50.5 39.5 50.5H24.5C23.6703 50.5 23 49.8297 23 49V47.5ZM24.5 52H39.5V67C39.5 68.6547 38.1547 70 36.5 70H27.5C25.8453 70 24.5 68.6547 24.5 67V52ZM30.5 57.25V59.5H28.25C27.8375 59.5 27.5 59.8375 27.5 60.25V61.75C27.5 62.1625 27.8375 62.5 28.25 62.5H30.5V64.75C30.5 65.1625 30.8375 65.5 31.25 65.5H32.75C33.1625 65.5 33.5 65.1625 33.5 64.75V62.5H35.75C36.1625 62.5 36.5 62.1625 36.5 61.75V60.25C36.5 59.8375 36.1625 59.5 35.75 59.5H33.5V57.25C33.5 56.8375 33.1625 56.5 32.75 56.5H31.25C30.8375 56.5 30.5 56.8375 30.5 57.25Z' fill='%23007FF9'/%3e%3c/g%3e%3crect x='19' y='77' width='62' height='24' rx='2' fill='white' fill-opacity='0.5'/%3e%3crect x='37' y='30.25' width='26.25' height='7.5' rx='3.75' fill='%23424242'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient id='paint0_linear_1169_3264' x1='50.5' y1='25' x2='50.5' y2='100' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%236AB1DA'/%3e%3cstop offset='1' stop-color='%235DD78E'/%3e%3c/linearGradient%3e%3cclipPath id='clip0_1169_3264'%3e%3crect width='18' height='24' fill='white' transform='translate(23 46)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function Du(e){var r=s(!0),i=r[0],a=r[1],o=s(!1),c=o[0],l=o[1],u=s(null),d=u[0],f=u[1],p=s(!1),h=p[0],m=p[1],v=s(!1),g=v[0],y=v[1];function b(){if(e.previewState){if("notEnabled"==e.previewState)return;return l(!0),f("PROJECT"),"enabledConnected"==e.previewState?(m(!0),y(!1)):"enabledNeedsAttention"==e.previewState&&(m(!0),y(!0)),void a(!1)}x.getDataCollectionSettings().then((function(e){l(e.ehrEnabled),e.ehrEnabled&&x.getProjectInfo().then((function(e){f(e.name),x.getExternalAccounts().then((function(e){e=e.filter((function(e){return-1!=["Provider","Health Plan"].indexOf(e.provider.category)})),m(e.length>0),y(e.some((function(e){return"unauthorized"==e.status||"error"==e.status}))),a(!1)}))}))}))}function w(){"preview"==e.applicationUrl?console.log("PREVIEW: Opening the connect EHR application."):x.openApplication(e.applicationUrl)}if(n((function(){return b(),x.on("applicationDidBecomeVisible",b),x.on("externalAccountSyncComplete",b),function(){x.off("applicationDidBecomeVisible",b),x.off("externalAccountSyncComplete",b)}}),[]),!c)return"displayError"==e.disabledBehavior?t.createElement("div",{ref:e.innerRef,className:"mdhui-connect-ehr"},t.createElement("div",{className:"error-content"},ea("connect-ehr-not-enabled"))):null;if(i)return null;if(e.hideWhenConnected&&h)return null;var A=ea("connect-ehr-title-prefix")+ea("connect-ehr-title-providers")+ea("connect-ehr-title-divider")+ea("connect-ehr-title-health-plans"),k=e.title||A,E="@@PROJECT_NAME@@",S=e.connectedText||ea("connect-ehr-text-connected").replace(E,d||""),C=e.notConnectedText||ea("connect-ehr-text").replace(E,d||""),O=h?S:C,_=e.variant||"large",D=t.createElement(t.Fragment,null,t.createElement(ba,{autosizeImage:!0,defaultMargin:!0,order:"large"==_?2:3,imageAlignment:"large"==_?"top":"left",image:t.createElement("img",{src:_u})},k),t.createElement(ya,null,h?t.createElement(t.Fragment,null,t.createElement("div",{className:"connection-status"},g?t.createElement("div",{className:"warning"},t.createElement(Vt,{icon:Ou.faTriangleExclamation})," ",ea("connect-ehr-needs-attention")):t.createElement("div",{className:"success"},t.createElement(Vt,{icon:Su.faCheckCircle})," ",ea("connect-ehr-connected"))),t.createElement("div",{className:"content"},O)):t.createElement("div",{className:"content"},O)));return t.createElement("div",{ref:e.innerRef,className:"mdhui-connect-ehr"},"small"==e.variant&&t.createElement(bi,{className:"mdhui-connect-ehr-action",onClick:function(){return w()}},D),"small"!=e.variant&&t.createElement(t.Fragment,null,D,t.createElement(Ei,{color:e.buttonColor,defaultMargin:!0,onClick:function(){return w()}},t.createElement(Vt,{icon:Tl})," ",A)))}var Tu={};!function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Ou;e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faExclamationTriangle=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Tu);function Mu(e){var r=s(!0),i=r[0],a=r[1],o=s(!1),c=o[0],l=o[1],u=s(null),d=u[0],f=u[1];function p(t){return t.replace("{device}",e.providerName.toLowerCase())}function h(){if(e.previewState)return"notEnabled"==e.previewState?void a(!1):(l(!0),"notConnected"==e.previewState||f({id:1,lastRefreshDate:et(I(new Date,{hours:-1})),status:e.previewState,provider:{name:e.providerName,category:"Device Manufacturer",id:e.providerID,logoUrl:""}}),void a(!1));x.getDataCollectionSettings().then((function(t){l(t[e.dataCollectionProperty]),t[e.dataCollectionProperty]?x.getExternalAccounts().then((function(t){for(var n=0;n<t.length;n++)t[n].provider.id==e.providerID&&f(t[n]);a(!1)})):a(!1)}))}function m(){x.connectExternalAccount(e.providerID,{openNewWindow:!0}).then((function(){h()}))}n((function(){return h(),x.on("applicationDidBecomeVisible",h),x.on("externalAccountSyncComplete",h),function(){x.off("applicationDidBecomeVisible",h),x.off("externalAccountSyncComplete",h)}}),[]);var v=null==d?void 0:d.status;if("fetchComplete"==(null==d?void 0:d.status)){var g=I(at(d.lastRefreshDate),{hours:3});nt(new Date,g)&&(x.refreshExternalAccount(d.id),v="fetchingData")}return c?e.hideWhenConnected&&d?null:t.createElement("div",{className:"mdhui-connect-device",ref:e.innerRef},t.createElement(ba,{defaultMargin:!0,autosizeImage:!0,order:3,image:e.titleImage},e.title),t.createElement(ya,null,!d&&t.createElement("div",null,t.createElement("div",{className:"subtitle"},ea(p("connect-{device}-intro"))),t.createElement(Ei,{onClick:function(){return m()}},ea(p("connect-{device}-button")))),d&&"fetchComplete"==v&&t.createElement("div",{className:"subtitle success"},t.createElement(Vt,{icon:Su.faCheckCircle})," ",ea(p("received-{device}-data"))),d&&"fetchingData"==v&&t.createElement("div",{className:"subtitle downloading"},t.createElement(Vt,{icon:wi.faRefresh,spin:!0})," ",ea("downloading-data")),d&&"unauthorized"==v&&t.createElement("div",null,t.createElement("div",{className:"subtitle reconnect"},t.createElement(Vt,{icon:Tu.faExclamationTriangle})," ",ea("expired-reconnect")),t.createElement(Ei,{onClick:function(){return m()}},ea(p("connect-{device}-button")))))):"displayError"!=e.disabledBehavior||i?null:t.createElement("div",{className:"mdhui-connect-device",ref:e.innerRef},t.createElement("div",{className:"content"},e.title," is not enabled for this project."))}function Nu(e){return t.createElement(Mu,{innerRef:e.innerRef,title:"Fitbit",titleImage:t.createElement("img",{src:yu}),providerName:"Fitbit",dataCollectionProperty:"fitbitEnabled",providerID:e.fitbitProviderID||fu(),previewState:e.previewState,disabledBehavior:e.disabledBehavior,hideWhenConnected:e.hideWhenConnected})}function Pu(e){return t.createElement(Mu,{innerRef:e.innerRef,title:"Garmin",titleImage:t.createElement("img",{src:bu}),providerName:"Garmin",dataCollectionProperty:"garminEnabled",providerID:e.garminProviderID||pu(),previewState:e.previewState,disabledBehavior:e.disabledBehavior,hideWhenConnected:e.hideWhenConnected})}function ju(e){return et(e).substr(0,10)}function Iu(e){var t=[],n=function(r){var i=E({},e);return r&&(i.pageID=r),x.queryDeviceData(i).then((function(e){return t=t.concat(e.deviceDataPoints),e.nextPageID?n(e.nextPageID):t})).catch((function(e){return t}))};return n()}function Ru(e,t){var n=e.startDate;t.startDate<n&&(n=t.startDate);var r=e.endDate;return t.endDate>r&&(r=t.endDate),{startDate:n,endDate:r}}function Lu(e){e=e.sort((function(e,t){return e.startDate.getTime()-t.startDate.getTime()}));for(var t,n,r=[],i=e[0],a=1;a<e.length;a++)t=i,(n=e[a]).startDate>=t.startDate&&n.startDate<=t.endDate||n.endDate>=t.startDate&&n.endDate<=t.endDate||t.startDate>=n.startDate&&t.startDate<=n.endDate||t.endDate>=n.startDate&&t.endDate<=n.endDate?i=Ru(i,e[a]):(r.push(i),i=e[a]);r.push(i);var o=0;return r.forEach((function(e){o+=function(e,t,n){M(2,arguments);var r=X(e,t)/U;return K(null==n?void 0:n.roundingMethod)(r)}(e.endDate,e.startDate)})),o}function Bu(e,t,n){return Iu({namespace:"AppleHealth",type:"SleepAnalysisInterval",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(r){var i={};r.forEach((function(e){if(e.observationDate&&e.startDate&&e.value==n)for(var t=function(e){for(var t=[],n=at(e.startDate),r=at(e.observationDate),i=I(new Date(n.getFullYear(),n.getMonth(),n.getDate(),18,0,0,0),{days:-1});i<r;){var a=I(i,{days:1});if(a>n){var o=new Date(i),c=new Date(a);n>=i&&n<a&&(o=n),r>=i&&r<a&&(c=r),t.push({startDate:o,endDate:c})}i=a}return t}(e),r=0;r<t.length;r++){var a=et(I(t[r].startDate,{hours:6})).substring(0,10);i[a]||(i[a]=[]),i[a].push(t[r])}}));for(var a={};e<t;){var o=e.toISOString().substr(0,10),c=i[o];c&&(a[o]=Lu(c)),e=I(e,{days:1})}return a}))}function zu(e,t){return Iu({namespace:"AppleHealth",type:"HourlySteps",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.startDate){var n=ju(at(e.startDate));t[n]||(t[n]=0),t[n]+=parseFloat(e.value)}})),t}))}function Fu(e,t,n){return Iu({namespace:"Fitbit",type:n,observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.startDate){var n=e.startDate.substr(0,10);t[n]||(t[n]=0),t[n]+=parseInt(e.value)}})),t}))}function Hu(e,t,n){return Iu({namespace:"Fitbit",type:"HeartRateZone",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if("Out of Range"!=e.value&&(!n||e.value==n)&&e.properties&&e.properties.Minutes&&e.startDate){var r=e.startDate.substr(0,10);t[r]||(t[r]=0),t[r]+=parseInt(e.properties.Minutes)}})),t}))}function qu(e,t,n){return Iu({namespace:"Fitbit",type:e,observedAfter:I(t,{days:-1}).toISOString(),observedBefore:I(n,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.startDate&&0!=parseInt(e.value)){var n=e.startDate.substr(0,10);t[n]=Math.round(parseFloat(e.value))}})),t}))}function Uu(e,t){return qu("RestingHeartRate",e,t)}function Vu(e,t,n){return Iu({namespace:"Fitbit",type:n,observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.observationDate){var n=et(I(at(e.observationDate),{hours:6})).substr(0,10);t[n]||(t[n]=0),t[n]+=parseFloat(e.value)}})),t}))}function Wu(e,t){return qu("Steps",e,t)}function Gu(e,t,n,r){return Iu({namespace:"Garmin",type:"Daily",observedAfter:I(t,{days:-1}).toISOString(),observedBefore:I(n,{days:1}).toISOString()}).then((function(t){var n={};return t.forEach((function(t){if(t.startDate&&t.properties&&t.properties[e]&&!(parseInt(t.properties[e])<=0)){var i=t.startDate.substring(0,10);n[i]=Math.round(parseFloat(t.properties[e])),r&&(n[i]=Math.round(n[i]/r))}})),n}))}function Yu(e,t){return Gu("Steps",e,t)}function Zu(e,t,n,r){return Iu({namespace:"Garmin",type:"Sleep",observedAfter:I(t,{days:-1}).toISOString(),observedBefore:I(n,{days:1}).toISOString()}).then((function(t){var n={};return t.forEach((function(t){if(t.observationDate&&t.properties&&t.properties[e]&&!(parseInt(t.properties[e])<=0)){var i=et(I(at(t.observationDate),{hours:6})).substr(0,10),a=parseFloat(t.properties[e]);a<0||(r&&(a/=r),(!n[i]||n[i]>a)&&(n[i]=a))}})),n}))}k(".mdhui-connect-device .title {\n font-weight: bold;\n}\n\n.mdhui-connect-device .subtitle.reconnect {\n color: var(--mdhui-color-danger);\n}\n\n.mdhui-connect-device .subtitle.success svg {\n color: var(--mdhui-color-success);\n}\n\n.mdhui-connect-device .mdhui-button {\n margin-top: 16px;\n}\n\n.mdhui-connect-device .content {\n padding: 16px;\n}\n");var Xu,Qu={};function $u(e,t,n){Qu[e]={provider:t,availabilityCheck:n}}function Ku(e,t){var n=Qu[e];if(!n)throw"Unknown data type:"+e;return n.availabilityCheck(t)}function Ju(e,t,n){return Qu[e].provider(t,n).then((function(e){for(var r={};t<n;){var i=ju(t);e[i]&&(r[i]=e[i]),t=I(t,{days:1})}return r}))}function ed(e,t){return function(n){var r={namespace:e,type:t,limit:1};return n&&(r.modifiedAfter=n.toISOString()),x.queryDeviceData(r).then((function(e){return e.deviceDataPoints.length>0})).catch((function(){return!1}))}}!function(e){e.AppleHealthDistanceWalkingRunning="AppleHealthDistanceWalkingRunning",e.AppleHealthFlightsClimbed="AppleHealthFlightsClimbed",e.AppleHealthHeartRateRange="AppleHealthHeartRateRange",e.AppleHealthHrv="AppleHealthHrv",e.AppleHealthMaxHeartRate="AppleHealthMaxHeartRate",e.AppleHealthRestingHeartRate="AppleHealthRestingHeartRate",e.AppleHealthSleepMinutes="AppleHealthSleepMinutes",e.AppleHealthInBedMinutes="AppleHealthInBedMinutes",e.AppleHealthStandMinutes="AppleHealthStandMinutes",e.AppleHealthSteps="AppleHealthSteps",e.AppleHealthWalkingHeartRateAverage="AppleHealthWalkingHeartRateAverage",e.AppleHealthActiveEnergyBurned="AppleHealthActiveEnergyBurned",e.FitbitSedentaryMinutes="FitbitSedentaryMinutes",e.FitbitActiveMinutes="FitbitActiveMinutes",e.FitbitLightlyActiveMinutes="FitbitLightlyActiveMinutes",e.FitbitFairlyActiveMinutes="FitbitFairlyActiveMinutes",e.FitbitVeryActiveMinutes="FitbitVeryActiveMinutes",e.FitbitBreathingRate="FitbitBreathingRate",e.FitbitCaloriesBurned="FitbitCaloriesBurned",e.FitbitElevatedHeartRateMinutes="FitbitElevatedHeartRateMinutes",e.FitbitFatBurnHeartRateMinutes="FitbitFatBurnHeartRateMinutes",e.FitbitCardioHeartRateMinutes="FitbitCardioHeartRateMinutes",e.FitbitPeakHeartRateMinutes="FitbitPeakHeartRateMinutes",e.FitbitFloors="FitbitFloors",e.FitbitHrv="FitbitHrv",e.FitbitRestingHeartRate="FitbitRestingHeartRate",e.FitbitSleepMinutes="FitbitSleepMinutes",e.FitbitLightSleepMinutes="FitbitLightSleepMinutes",e.FitbitRemSleepMinutes="FitbitRemSleepMinutes",e.FitbitDeepSleepMinutes="FitbitDeepSleepMinutes",e.FitbitSpO2="FitbitSpO2",e.FitbitSteps="FitbitSteps",e.GarminSteps="GarminSteps",e.GarminDistance="GarminDistance",e.GarminFloors="GarminFloors",e.GarminActiveMinutes="GarminActiveMinutes",e.GarminActiveCalories="GarminActiveCalories",e.GarminRestingCalories="GarminRestingCalories",e.GarminTotalCalories="GarminTotalCalories",e.GarminRestingHeartRate="GarminRestingHeartRate",e.GarminMinHeartRate="GarminMinHeartRate",e.GarminMaxHeartRate="GarminMaxHeartRate",e.GarminAverageHeartRate="GarminAverageHeartRate",e.GarminMaxStressLevel="GarminMaxStressLevel",e.GarminAverageStressLevel="GarminAverageStressLevel",e.GarminTotalStressMinutes="GarminTotalStressMinutes",e.GarminLowStressMinutes="GarminLowStressMinutes",e.GarminMediumStressMinutes="GarminMediumStressMinutes",e.GarminHighStressMinutes="GarminHighStressMinutes",e.GarminTotalSleepMinutes="GarminTotalSleepMinutes",e.GarminLightSleepMinutes="GarminLightSleepMinutes",e.GarminDeepSleepMinutes="GarminDeepSleepMinutes",e.GarminRemSleepMinutes="GarminRemSleepMinutes",e.GarminAwakeMinutes="GarminAwakeMinutes",e.GarminSleepScore="GarminSleepScore",e.GoogleFitSteps="GoogleFitSteps",e.Steps="Steps",e.RestingHeartRate="RestingHeartRate"}(Xu||(Xu={})),$u(Xu.AppleHealthDistanceWalkingRunning,(function(e,t){return Iu({namespace:"AppleHealth",type:"HourlyDistanceWalkingRunning",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.startDate){var n=et(at(e.startDate)).substring(0,10);t[n]||(t[n]=0),t[n]+=parseFloat(e.value)}})),t}))}),ed("AppleHealth",["HourlyDistanceWalkingRunning"])),$u(Xu.AppleHealthFlightsClimbed,(function(e,t){return Iu({namespace:"AppleHealth",type:"FlightsClimbed",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.startDate){var n=ju(at(e.startDate));t[n]||(t[n]=0),t[n]+=parseFloat(e.value)}})),t}))}),ed("AppleHealth",["HourlySteps"])),$u(Xu.AppleHealthHeartRateRange,(function(e,t){return Iu({namespace:"AppleHealth",type:["HourlyMaximumHeartRate","HourlyMinimumHeartRate"],observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(n){var r={};n.forEach((function(e){if(e.startDate){var t=ju(at(e.startDate)),n=parseFloat(e.value);"HourlyMaximumHeartRate"==e.type&&(r[t]?(!r[t].MaxHeartRate||n>r[t].MaxHeartRate)&&(r[t].MaxHeartRate=n):r[t]={MaxHeartRate:n}),"HourlyMinimumHeartRate"==e.type&&(r[t]?(!r[t].MinHeartRate||n<r[t].MinHeartRate)&&(r[t].MinHeartRate=n):r[t]={MinHeartRate:n})}}));for(var i={};e<t;){var a=r[ju(e)];a&&a.MaxHeartRate&&a.MinHeartRate&&(i[ju(e)]=a.MaxHeartRate-a.MinHeartRate),e=I(e,{days:1})}return i}))}),ed("AppleHealth",["HourlyMaximumHeartRate"])),$u(Xu.AppleHealthHrv,(function(e,t){return Iu({namespace:"AppleHealth",type:"HeartRateVariability",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(n){var r={};n.forEach((function(e){if(e.startDate){var t=et(at(e.startDate)).substring(0,10),n=parseFloat(e.value);r[t]||(r[t]=[]),r[t].push(n)}}));for(var i={};e<t;){var a=e.toISOString().substr(0,10);r[a]&&(i[a]=r[a].reduce((function(e,t){return e+t}))/r[a].length),e=I(e,{days:1})}return i}))}),ed("AppleHealth",["HeartRateVariability"])),$u(Xu.AppleHealthMaxHeartRate,(function(e,t){return Iu({namespace:"AppleHealth",type:"HourlyMaximumHeartRate",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.startDate){var n=et(at(e.startDate)).substring(0,10),r=parseFloat(e.value);t[n]?r>t[n]&&(t[n]=r):t[n]=r}})),t}))}),ed("AppleHealth",["HourlyMaximumHeartRate"])),$u(Xu.AppleHealthRestingHeartRate,(function(e,t){return Iu({namespace:"AppleHealth",type:"RestingHeartRate",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(n){var r={};n.forEach((function(e){if(e.startDate){var t=ju(at(e.startDate)),n=parseFloat(e.value);r[t]||(r[t]=[]),r[t].push(n)}}));for(var i={};e<t;){var a=e.toISOString().substr(0,10);r[a]&&(i[a]=r[a].reduce((function(e,t){return e+t}))/r[a].length),e=I(e,{days:1})}return i}))}),ed("AppleHealth",["RestingHeartRate"])),$u(Xu.AppleHealthSleepMinutes,(function(e,t){return Bu(e,t,"Asleep")}),ed("AppleHealth",["SleepAnalysisInterval"])),$u(Xu.AppleHealthInBedMinutes,(function(e,t){return Bu(e,t,"InBed")}),ed("AppleHealth",["SleepAnalysisInterval"])),$u(Xu.AppleHealthStandMinutes,(function(e,t){return Iu({namespace:"AppleHealth",type:"AppleStandTime",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.startDate){var n=ju(at(e.startDate));t[n]||(t[n]=0),t[n]+=parseFloat(e.value)}})),t}))}),ed("AppleHealth",["AppleStandTime"])),$u(Xu.AppleHealthSteps,zu,ed("AppleHealth",["HourlySteps"])),$u(Xu.AppleHealthWalkingHeartRateAverage,(function(e,t){return Iu({namespace:"AppleHealth",type:"WalkingHeartRateAverage",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(n){var r={};n.forEach((function(e){if(e.startDate){var t=ju(at(e.startDate)),n=parseFloat(e.value);r[t]||(r[t]=[]),r[t].push(n)}}));for(var i={};e<t;){var a=e.toISOString().substr(0,10);r[a]&&(i[a]=r[a].reduce((function(e,t){return e+t}))/r[a].length),e=I(e,{days:1})}return i}))}),ed("AppleHealth",["WalkingHeartRateAverage"])),$u(Xu.AppleHealthActiveEnergyBurned,(function(e,t){return Iu({namespace:"AppleHealth",type:"ActiveEnergyBurned",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.startDate){var n=ju(at(e.startDate));t[n]||(t[n]=0),t[n]+=parseFloat(e.value)}})),t}))}),ed("AppleHealth",["ActiveEnergyBurned"])),$u(Xu.FitbitSedentaryMinutes,(function(e,t){return Fu(e,t,["MinutesSedentary"])}),ed("Fitbit",["MinutesSedentary"])),$u(Xu.FitbitActiveMinutes,(function(e,t){return Fu(e,t,["MinutesVeryActive","MinutesFairlyActive","MinutesLightlyActive"])}),ed("Fitbit",["MinutesVeryActive","MinutesFairlyActive","MinutesLightlyActive"])),$u(Xu.FitbitLightlyActiveMinutes,(function(e,t){return Fu(e,t,["MinutesLightlyActive"])}),ed("Fitbit",["MinutesLightlyActive"])),$u(Xu.FitbitFairlyActiveMinutes,(function(e,t){return Fu(e,t,["MinutesFairlyActive"])}),ed("Fitbit",["MinutesFairlyActive"])),$u(Xu.FitbitVeryActiveMinutes,(function(e,t){return Fu(e,t,["MinutesVeryActive"])}),ed("Fitbit",["MinutesVeryActive"])),$u(Xu.FitbitBreathingRate,(function(e,t){return qu("BreathingRate",e,t)}),ed("Fitbit",["BreathingRate"])),$u(Xu.FitbitCaloriesBurned,(function(e,t){return qu("Calories",e,t)}),ed("Fitbit",["Calories"])),$u(Xu.FitbitElevatedHeartRateMinutes,(function(e,t){return Hu(e,t)}),ed("Fitbit",["HeartRateZone"])),$u(Xu.FitbitFatBurnHeartRateMinutes,(function(e,t){return Hu(e,t,"Fat Burn")}),ed("Fitbit",["HeartRateZone"])),$u(Xu.FitbitCardioHeartRateMinutes,(function(e,t){return Hu(e,t,"Cardio")}),ed("Fitbit",["HeartRateZone"])),$u(Xu.FitbitPeakHeartRateMinutes,(function(e,t){return Hu(e,t,"Peak")}),ed("Fitbit",["HeartRateZone"])),$u(Xu.FitbitFloors,(function(e,t){return qu("Floors",e,t)}),ed("Fitbit",["HeartRateZone"])),$u(Xu.FitbitHrv,(function(e,t){return qu("Hrv",e,t)}),ed("Fitbit",["Floors"])),$u(Xu.FitbitRestingHeartRate,Uu,ed("Fitbit",["RestingHeartRate"])),$u(Xu.FitbitSleepMinutes,(function(e,t){return Vu(e,t,["SleepLevelRem","SleepLevelLight","SleepLevelDeep","SleepLevelAsleep"])}),ed("Fitbit",["SleepLevelRem","SleepLevelLight","SleepLevelDeep","SleepLevelAsleep"])),$u(Xu.FitbitLightSleepMinutes,(function(e,t){return Vu(e,t,["SleepLevelLight"])}),ed("Fitbit",["SleepLevelLight"])),$u(Xu.FitbitRemSleepMinutes,(function(e,t){return Vu(e,t,["SleepLevelRem"])}),ed("Fitbit",["SleepLevelRem"])),$u(Xu.FitbitDeepSleepMinutes,(function(e,t){return Vu(e,t,["SleepLevelDeep"])}),ed("Fitbit",["SleepLevelDeep"])),$u(Xu.FitbitSpO2,(function(e,t){return qu("SpO2",e,t)}),ed("Fitbit",["SpO2"])),$u(Xu.FitbitSteps,Wu,ed("Fitbit",["Steps"])),$u(Xu.GoogleFitSteps,(function(e,t){return Iu({namespace:"GoogleFit",type:"Steps",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(e){var t={};return e.forEach((function(e){if(e.startDate){var n=et(at(e.startDate)).substring(0,10);t[n]||(t[n]=0),t[n]+=parseFloat(e.value)}})),t}))}),ed("GoogleFit",["Steps"])),$u(Xu.GarminSteps,Yu,ed("Garmin",["Daily"])),$u(Xu.GarminDistance,(function(e,t){return Gu("DistanceInMeters",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminFloors,(function(e,t){return Gu("FloorsClimbed",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminActiveMinutes,(function(e,t){return Gu("ActiveTimeInSeconds",e,t,60)}),ed("Garmin",["Daily"])),$u(Xu.GarminActiveCalories,(function(e,t){return Gu("ActiveKilocalories",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminRestingCalories,(function(e,t){return Gu("BmrKilocalories",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminTotalCalories,(function(e,t){return function(e,t,n,r){return Iu({namespace:"Garmin",type:"Daily",observedAfter:I(t,{days:-1}).toISOString(),observedBefore:I(n,{days:1}).toISOString()}).then((function(t){var n={};return t.forEach((function(t){e.forEach((function(e){if(t.startDate&&t.properties&&t.properties[e]&&!(parseInt(t.properties[e])<=0)){var i=t.startDate.substring(0,10),a=Math.round(parseFloat(t.properties[e]));r&&(a=Math.round(a/r)),n[i]?n[i]+=a:n[i]=a}}))})),n}))}(["ActiveKilocalories","BmrKilocalories"],e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminRestingHeartRate,(function(e,t){return Gu("RestingHeartRateInBeatsPerMinute",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminMinHeartRate,(function(e,t){return Gu("MinHeartRateInBeatsPerMinute",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminMaxHeartRate,(function(e,t){return Gu("MaxHeartRateInBeatsPerMinute",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminAverageHeartRate,(function(e,t){return Gu("AverageHeartRateInBeatsPerMinute",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminMaxStressLevel,(function(e,t){return Gu("MaxStressLevel",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminAverageStressLevel,(function(e,t){return Gu("AverageStressLevel",e,t)}),ed("Garmin",["Daily"])),$u(Xu.GarminTotalStressMinutes,(function(e,t){return Gu("StressDurationInSeconds",e,t,60)}),ed("Garmin",["Daily"])),$u(Xu.GarminLowStressMinutes,(function(e,t){return Gu("LowStressDurationInSeconds",e,t,60)}),ed("Garmin",["Daily"])),$u(Xu.GarminMediumStressMinutes,(function(e,t){return Gu("MediumStressDurationInSeconds",e,t,60)}),ed("Garmin",["Daily"])),$u(Xu.GarminHighStressMinutes,(function(e,t){return Gu("HighStressDurationInSeconds",e,t,60)}),ed("Garmin",["Daily"])),$u(Xu.GarminTotalSleepMinutes,(function(e,t){return Zu("DurationInSeconds",e,t,60)}),ed("Garmin",["Sleep"])),$u(Xu.GarminRemSleepMinutes,(function(e,t){return Zu("RemSleepInSeconds",e,t,60)}),ed("Garmin",["Sleep"])),$u(Xu.GarminDeepSleepMinutes,(function(e,t){return Zu("DeepSleepDurationInSeconds",e,t,60)}),ed("Garmin",["Sleep"])),$u(Xu.GarminLightSleepMinutes,(function(e,t){return Zu("LightSleepDurationInSeconds",e,t,60)}),ed("Garmin",["Sleep"])),$u(Xu.GarminAwakeMinutes,(function(e,t){return Zu("AwakeDurationInSeconds",e,t,60)}),ed("Garmin",["Sleep"])),$u(Xu.GarminSleepScore,(function(e,t){return Zu("OverallSleepScore.Value",e,t)}),ed("Garmin",["Sleep"])),$u(Xu.RestingHeartRate,(function(e,t){return Iu({namespace:"AppleHealth",type:"RestingHeartRate",observedAfter:I(e,{days:-1}).toISOString(),observedBefore:I(t,{days:1}).toISOString()}).then((function(n){return Uu(e,t).then((function(r){var i={};n.forEach((function(e){if(e.startDate){var t=ju(at(e.startDate)),n=parseFloat(e.value);i[t]||(i[t]=[]),i[t].push(n)}}));for(var a={};e<t;){var o=ju(e);r[o]&&(i[o]||(i[o]=[]),i[o].push(r[o])),i[o]&&(a[o]=i[o].reduce((function(e,t){return e+t}))/i[o].length),e=I(e,{days:1})}return a}))}))}),(function(e){return ed("AppleHealth",["RestingHeartRate"])(e).then((function(t){return t||ed("Fitbit",["RestingHeartRate"])(e).then((function(t){return t||ed("Garmin",["RestingHeartRateInBeatsPerMinute"])(e)}))}))})),$u(Xu.Steps,(function(e,t){var n=[];return x.getDataCollectionSettings().then((function(r){return r.fitbitEnabled&&n.push(Wu(e,t)),r.garminEnabled&&n.push(Yu(e,t)),r.queryableDeviceDataTypes.find((function(e){return"AppleHealth"==e.namespace&&"HourlySteps"==e.type}))&&n.push(zu(e,t)),n.length?Promise.all(n).then((function(n){for(var r={};e<t;){var i=ju(e),a=null;n.forEach((function(e){(e[i]||null==a||a<e[i])&&(a=e[i])})),a&&(r[i]=a),e=I(e,{days:1})}return r})):{}}))}),(function(e){return ed("AppleHealth",["Steps"])(e).then((function(t){return t||ed("Fitbit",["Steps"])(e).then((function(t){return t||ed("Garmin",["Steps"])(e)}))}))}));var td={exports:{}};
|
|
31
31
|
/*!
|
|
32
32
|
Copyright (c) 2018 Jed Watson.
|
|
33
33
|
Licensed under the MIT License (MIT), see
|