iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
24 lines • 37.6 kB
JavaScript
;(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[61873],{72487:function(t,e,a){a.a(t,async function(t,i){try{a.d(e,{CA:function(){return C},Mi:function(){return T},Pm:function(){return z},Wq:function(){return y},Yq:function(){return l},bl:function(){return A},c2:function(){return _},fr:function(){return b},gu:function(){return j},kz:function(){return h},m9:function(){return D},sl:function(){return g},ur:function(){return F},zB:function(){return f}});a(18111),a(20116);var o=a(74487),n=a(22786),r=a(46927),s=a(8480),c=t([o,s]);[o,s]=c.then?(await c)():c;(0,n.A)((t,e)=>new Intl.DateTimeFormat(t.language,{weekday:"long",month:"long",day:"numeric",timeZone:(0,s.wj)(t.time_zone,e)}));const l=(t,e,a)=>d(e,a.time_zone).format(t),d=(0,n.A)((t,e)=>new Intl.DateTimeFormat(t.language,{year:"numeric",month:"long",day:"numeric",timeZone:(0,s.wj)(t.time_zone,e)})),h=(t,e,a)=>u(e,a.time_zone).format(t),u=(0,n.A)((t,e)=>new Intl.DateTimeFormat(t.language,{year:"numeric",month:"short",day:"numeric",timeZone:(0,s.wj)(t.time_zone,e)})),f=(t,e,a)=>{var i,o,n,s;const c=m(e,a.time_zone);if(e.date_format===r.ow.language||e.date_format===r.ow.system)return c.format(t);const l=c.formatToParts(t),d=null===(i=l.find(t=>"literal"===t.type))||void 0===i?void 0:i.value,h=null===(o=l.find(t=>"day"===t.type))||void 0===o?void 0:o.value,u=null===(n=l.find(t=>"month"===t.type))||void 0===n?void 0:n.value,f=null===(s=l.find(t=>"year"===t.type))||void 0===s?void 0:s.value,g=l[l.length-1];let p="literal"===(null==g?void 0:g.type)?null==g?void 0:g.value:"";"bg"===e.language&&e.date_format===r.ow.YMD&&(p="");return{[r.ow.DMY]:`${h}${d}${u}${d}${f}${p}`,[r.ow.MDY]:`${u}${d}${h}${d}${f}${p}`,[r.ow.YMD]:`${f}${d}${u}${d}${h}${p}`}[e.date_format]},m=(0,n.A)((t,e)=>{const a=t.date_format===r.ow.system?void 0:t.language;return t.date_format===r.ow.language||(t.date_format,r.ow.system),new Intl.DateTimeFormat(a,{year:"numeric",month:"numeric",day:"numeric",timeZone:(0,s.wj)(t.time_zone,e)})}),g=(t,e,a)=>p(e,a.time_zone).format(t),p=(0,n.A)((t,e)=>new Intl.DateTimeFormat(t.language,{day:"numeric",month:"short",timeZone:(0,s.wj)(t.time_zone,e)})),b=(t,e,a)=>v(e,a.time_zone).format(t),v=(0,n.A)((t,e)=>new Intl.DateTimeFormat(t.language,{month:"long",year:"numeric",timeZone:(0,s.wj)(t.time_zone,e)})),y=(t,e,a)=>w(e,a.time_zone).format(t),w=(0,n.A)((t,e)=>new Intl.DateTimeFormat(t.language,{month:"long",timeZone:(0,s.wj)(t.time_zone,e)})),_=(t,e,a)=>x(e,a.time_zone).format(t),x=(0,n.A)((t,e)=>new Intl.DateTimeFormat(t.language,{month:"short",timeZone:(0,s.wj)(t.time_zone,e)})),z=(t,e,a)=>$(e,a.time_zone).format(t),$=(0,n.A)((t,e)=>new Intl.DateTimeFormat(t.language,{year:"numeric",timeZone:(0,s.wj)(t.time_zone,e)})),C=(t,e,a)=>k(e,a.time_zone).format(t),k=(0,n.A)((t,e)=>new Intl.DateTimeFormat(t.language,{weekday:"long",timeZone:(0,s.wj)(t.time_zone,e)})),j=(t,e,a)=>Z(e,a.time_zone).format(t),Z=(0,n.A)((t,e)=>new Intl.DateTimeFormat(t.language,{weekday:"short",timeZone:(0,s.wj)(t.time_zone,e)})),T=(t,e,a)=>I(e,a.time_zone).format(t),I=(0,n.A)((t,e)=>new Intl.DateTimeFormat(t.language,{weekday:"short",month:"short",day:"numeric",timeZone:(0,s.wj)(t.time_zone,e)})),F=(t,e,a)=>M(e,a.time_zone).format(t),M=(0,n.A)((t,e)=>new Intl.DateTimeFormat(t.language,{weekday:"short",month:"short",day:"numeric",year:"numeric",timeZone:(0,s.wj)(t.time_zone,e)})),A=(t,e,a)=>{const i=(0,s.wj)(e.time_zone,a.time_zone);return new Intl.DateTimeFormat("en-CA",{year:"numeric",month:"2-digit",day:"2-digit",timeZone:i}).format(t)},D=(t,e,a,i)=>`${A(t,a,i)}/${A(e,a,i)}`;i()}catch(l){i(l)}})},95747:function(t,e,a){a.a(t,async function(t,i){try{a.d(e,{CL:function(){return b},GH:function(){return w},ZS:function(){return g},aQ:function(){return f},r6:function(){return h},yg:function(){return v}});var o=a(74487),n=a(22786),r=a(72487),s=a(30162),c=a(8480),l=a(69543),d=t([o,c,r,s]);[o,c,r,s]=d.then?(await d)():d;const h=(t,e,a)=>u(e,a.time_zone).format(t),u=(0,n.A)((t,e)=>new Intl.DateTimeFormat(t.language,{year:"numeric",month:"long",day:"numeric",hour:(0,l.J)(t)?"numeric":"2-digit",minute:"2-digit",hourCycle:(0,l.J)(t)?"h12":"h23",timeZone:(0,c.wj)(t.time_zone,e)})),f=((0,n.A)(()=>new Intl.DateTimeFormat(void 0,{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"})),(t,e,a)=>m(e,a.time_zone).format(t)),m=(0,n.A)((t,e)=>new Intl.DateTimeFormat(t.language,{year:"numeric",month:"short",day:"numeric",hour:(0,l.J)(t)?"numeric":"2-digit",minute:"2-digit",hourCycle:(0,l.J)(t)?"h12":"h23",timeZone:(0,c.wj)(t.time_zone,e)})),g=(t,e,a)=>p(e,a.time_zone).format(t),p=(0,n.A)((t,e)=>new Intl.DateTimeFormat(t.language,{month:"short",day:"numeric",hour:(0,l.J)(t)?"numeric":"2-digit",minute:"2-digit",hourCycle:(0,l.J)(t)?"h12":"h23",timeZone:(0,c.wj)(t.time_zone,e)})),b=(t,e,a)=>(new Date).getFullYear()===t.getFullYear()?g(t,e,a):f(t,e,a),v=(t,e,a)=>y(e,a.time_zone).format(t),y=(0,n.A)((t,e)=>new Intl.DateTimeFormat(t.language,{year:"numeric",month:"long",day:"numeric",hour:(0,l.J)(t)?"numeric":"2-digit",minute:"2-digit",second:"2-digit",hourCycle:(0,l.J)(t)?"h12":"h23",timeZone:(0,c.wj)(t.time_zone,e)})),w=(t,e,a)=>`${(0,r.zB)(t,e,a)}, ${(0,s.fU)(t,e,a)}`;i()}catch(h){i(h)}})},30162:function(t,e,a){a.a(t,async function(t,i){try{a.d(e,{LW:function(){return g},Xs:function(){return f},fU:function(){return l},ie:function(){return h}});var o=a(74487),n=a(22786),r=a(8480),s=a(69543),c=t([o,r]);[o,r]=c.then?(await c)():c;const l=(t,e,a)=>d(e,a.time_zone).format(t),d=(0,n.A)((t,e)=>new Intl.DateTimeFormat(t.language,{hour:"numeric",minute:"2-digit",hourCycle:(0,s.J)(t)?"h12":"h23",timeZone:(0,r.wj)(t.time_zone,e)})),h=(t,e,a)=>u(e,a.time_zone).format(t),u=(0,n.A)((t,e)=>new Intl.DateTimeFormat(t.language,{hour:(0,s.J)(t)?"numeric":"2-digit",minute:"2-digit",second:"2-digit",hourCycle:(0,s.J)(t)?"h12":"h23",timeZone:(0,r.wj)(t.time_zone,e)})),f=(t,e,a)=>m(e,a.time_zone).format(t),m=(0,n.A)((t,e)=>new Intl.DateTimeFormat(t.language,{weekday:"long",hour:(0,s.J)(t)?"numeric":"2-digit",minute:"2-digit",hourCycle:(0,s.J)(t)?"h12":"h23",timeZone:(0,r.wj)(t.time_zone,e)})),g=(t,e,a)=>p(e,a.time_zone).format(t),p=(0,n.A)((t,e)=>new Intl.DateTimeFormat("en-GB",{hour:"numeric",minute:"2-digit",hour12:!1,timeZone:(0,r.wj)(t.time_zone,e)}));i()}catch(l){i(l)}})},8480:function(t,e,a){a.a(t,async function(t,i){try{a.d(e,{wj:function(){return m}});var o,n,r,s=a(74487),c=a(29079),l=a(46927),d=t([s]);s=(d.then?(await d)():d)[0];const h=null===(o=Intl.DateTimeFormat)||void 0===o||null===(n=(r=o.call(Intl)).resolvedOptions)||void 0===n?void 0:n.call(r).timeZone,u=h&&("UTC"===h||"Etc/UTC"===h||h in c)?h:void 0,f=null!=u?u:"UTC",m=(t,e)=>t===l.Wj.local&&u?f:e;i()}catch(h){i(h)}})},69543:function(t,e,a){a.d(e,{J:function(){return n}});a(74423);var i=a(22786),o=a(46927);const n=(0,i.A)(t=>{if(t.time_format===o.Hg.language||t.time_format===o.Hg.system){const e=t.time_format===o.Hg.language?t.language:void 0;return new Date("January 1, 2023 22:00:00").toLocaleString(e).includes("10")}return t.time_format===o.Hg.am_pm})},69093:function(t,e,a){a.d(e,{t:function(){return o}});var i=a(71727);const o=t=>(0,i.m)(t.entity_id)},82286:function(t,e,a){a.d(e,{$:function(){return i}});const i=(t,e)=>o(t.attributes,e),o=(t,e)=>0!==(t.supported_features&e)},20058:function(t,e,a){a.a(t,async function(t,i){try{a.d(e,{QL:function(){return h},ZQ:function(){return u},ZV:function(){return d},ty:function(){return c},x:function(){return s}});var o=a(74487),n=(a(74423),a(18111),a(61701),a(46927)),r=t([o]);o=(r.then?(await r)():r)[0];const s=t=>c(t.attributes),c=(t,e)=>!!t.unit_of_measurement||!!t.state_class||(e||[]).includes(t.device_class||""),l=t=>{switch(t.number_format){case n.jG.comma_decimal:return["en-US","en"];case n.jG.decimal_comma:return["de","es","it"];case n.jG.space_comma:return["fr","sv","cs"];case n.jG.quote_decimal:return["de-CH"];case n.jG.system:return;default:return t.language}},d=(t,e,a)=>h(t,e,a).map(t=>t.value).join(""),h=(t,e,a)=>{const i=e?l(e):void 0;return(null==e?void 0:e.number_format)===n.jG.none||Number.isNaN(Number(t))?Number.isNaN(Number(t))||""===t||(null==e?void 0:e.number_format)!==n.jG.none?[{type:"literal",value:t}]:new Intl.NumberFormat("en-US",f(t,Object.assign(Object.assign({},a),{},{useGrouping:!1}))).formatToParts(Number(t)):new Intl.NumberFormat(i,f(t,a)).formatToParts(Number(t))},u=(t,e)=>{var a;const i=null==e?void 0:e.display_precision;return null!=i?{maximumFractionDigits:i,minimumFractionDigits:i}:Number.isInteger(Number(null==t||null===(a=t.attributes)||void 0===a?void 0:a.step))&&Number.isInteger(Number(null==t?void 0:t.state))?{maximumFractionDigits:0}:void 0},f=(t,e)=>{const a=Object.assign({maximumFractionDigits:2},e);if("string"!=typeof t)return a;if(!e||void 0===e.minimumFractionDigits&&void 0===e.maximumFractionDigits){const e=t.indexOf(".")>-1?t.split(".")[1].length:0;a.minimumFractionDigits=e,a.maximumFractionDigits=e}return a};i()}catch(s){i(s)}})},26300:function(t,e,a){a.a(t,async function(t,i){try{a.r(e),a.d(e,{HaIconButton:function(){return g}});a(62953);var o=a(40445),n=a(5124),r=a(67576),s=a(63672),c=a(18350),l=(a(67094),t([c]));c=(l.then?(await l)():l)[0];let d,h,u,f,m=t=>t;class g extends n.WF{render(){return(0,n.qy)(d||(d=m` <ha-button appearance="plain" variant="neutral" aria-label="${0}" title="${0}" aria-haspopup="${0}" .disabled="${0}" .iconTag="${0}" .href="${0}" .target="${0}" .rel="${0}" .download="${0}"> ${0} </ha-button> `),(0,s.J)(this.label),(0,s.J)(this.hideTitle?void 0:this.label),(0,s.J)(this.ariaHasPopup),this.disabled,this.path?"ha-svg-icon":"span",this.href,this.target,this.rel,this.download,this.path?(0,n.qy)(h||(h=m`<ha-svg-icon aria-hidden="true" .path="${0}"></ha-svg-icon>`),this.path):(0,n.qy)(u||(u=m`<span><slot></slot></span>`)))}constructor(...t){super(...t),this.disabled=!1,this.hideTitle=!1,this.selected=!1}}g.shadowRootOptions={mode:"open",delegatesFocus:!0},g.styles=(0,n.AH)(f||(f=m`:host{display:inline-block;outline:0;--ha-button-height:var(--ha-icon-button-size, 48px)}ha-button{position:relative;isolation:isolate;--wa-form-control-padding-inline:var(
--ha-icon-button-padding-inline,
--ha-space-2
);--wa-color-on-normal:currentColor;--wa-color-fill-quiet:transparent;--ha-button-label-overflow:visible}ha-button::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:50%;background-color:currentColor;opacity:0;pointer-events:none}ha-button::part(base){width:var(--wa-form-control-height);aspect-ratio:1;outline-offset:-4px}ha-button::part(label){display:flex}:host([selected]) ha-button::after{opacity:.1}@media (hover:hover){:host(:hover:not([disabled])) ha-button::after{opacity:.1}}`)),(0,o.Cg)([(0,r.MZ)({type:Boolean,reflect:!0})],g.prototype,"disabled",void 0),(0,o.Cg)([(0,r.MZ)({type:String})],g.prototype,"path",void 0),(0,o.Cg)([(0,r.MZ)({type:String})],g.prototype,"label",void 0),(0,o.Cg)([(0,r.MZ)({type:String,attribute:"aria-haspopup"})],g.prototype,"ariaHasPopup",void 0),(0,o.Cg)([(0,r.MZ)({attribute:"hide-title",type:Boolean})],g.prototype,"hideTitle",void 0),(0,o.Cg)([(0,r.MZ)({type:Boolean,reflect:!0})],g.prototype,"selected",void 0),(0,o.Cg)([(0,r.MZ)()],g.prototype,"href",void 0),(0,o.Cg)([(0,r.MZ)()],g.prototype,"target",void 0),(0,o.Cg)([(0,r.MZ)()],g.prototype,"rel",void 0),(0,o.Cg)([(0,r.MZ)()],g.prototype,"download",void 0),g=(0,o.Cg)([(0,r.EM)("ha-icon-button")],g),i()}catch(d){i(d)}})},47680:function(t,e,a){a.r(e),a.d(e,{HaIcon:function(){return k}});a(74423),a(3362),a(62953);var i=a(40445),o=a(5124),n=a(67576),r=a(1087),s=a(9899),c=a(700),l=(a(44114),a(18111),a(7588),a(96167),a(95192)),d=a(7553);const h=JSON.parse('{"version":"7.4.47","parts":[{"file":"7a7139d465f1f41cb26ab851a17caa21a9331234"},{"start":"account-supervisor-circle-","file":"9561286c4c1021d46b9006596812178190a7cc1c"},{"start":"alpha-r-c","file":"eb466b7087fb2b4d23376ea9bc86693c45c500fa"},{"start":"arrow-decision-o","file":"4b3c01b7e0723b702940c5ac46fb9e555646972b"},{"start":"baby-f","file":"2611401d85450b95ab448ad1d02c1a432b409ed2"},{"start":"battery-hi","file":"89bcd31855b34cd9d31ac693fb073277e74f1f6a"},{"start":"blur-r","file":"373709cd5d7e688c2addc9a6c5d26c2d57c02c48"},{"start":"briefcase-account-","file":"a75956cf812ee90ee4f656274426aafac81e1053"},{"start":"calendar-question-","file":"3253f2529b5ebdd110b411917bacfacb5b7063e6"},{"start":"car-lig","file":"74566af3501ad6ae58ad13a8b6921b3cc2ef879d"},{"start":"cellphone-co","file":"7677f1cfb2dd4f5562a2aa6d3ae43a2e6997b21a"},{"start":"circle-slice-2","file":"70d08c50ec4522dd75d11338db57846588263ee2"},{"start":"cloud-co","file":"141d2bfa55ca4c83f4bae2812a5da59a84fec4ff"},{"start":"cog-s","file":"5a640365f8e47c609005d5e098e0e8104286d120"},{"start":"cookie-l","file":"dd85b8eb8581b176d3acf75d1bd82e61ca1ba2fc"},{"start":"currency-eur-","file":"15362279f4ebfc3620ae55f79d2830ad86d5213e"},{"start":"delete-o","file":"239434ab8df61237277d7599ebe066c55806c274"},{"start":"draw-","file":"5605918a592070803ba2ad05a5aba06263da0d70"},{"start":"emoticon-po","file":"a838cfcec34323946237a9f18e66945f55260f78"},{"start":"fan","file":"effd56103b37a8c7f332e22de8e4d67a69b70db7"},{"start":"file-question-","file":"b2424b50bd465ae192593f1c3d086c5eec893af8"},{"start":"flask-off-","file":"3b76295cde006a18f0301dd98eed8c57e1d5a425"},{"start":"food-s","file":"1c6941474cbeb1755faaaf5771440577f4f1f9c6"},{"start":"gamepad-u","file":"c6efe18db6bc9654ae3540c7dee83218a5450263"},{"start":"google-f","file":"df341afe6ad4437457cf188499cb8d2df8ac7b9e"},{"start":"head-c","file":"282121c9e45ed67f033edcc1eafd279334c00f46"},{"start":"home-pl","file":"27e8e38fc7adcacf2a210802f27d841b49c8c508"},{"start":"inbox-","file":"0f0316ec7b1b7f7ce3eaabce26c9ef619b5a1694"},{"start":"key-v","file":"ea33462be7b953ff1eafc5dac2d166b210685a60"},{"start":"leaf-circle-","file":"33db9bbd66ce48a2db3e987fdbd37fb0482145a4"},{"start":"lock-p","file":"b89e27ed39e9d10c44259362a4b57f3c579d3ec8"},{"start":"message-s","file":"7b5ab5a5cadbe06e3113ec148f044aa701eac53a"},{"start":"moti","file":"01024d78c248d36805b565e343dd98033cc3bcaf"},{"start":"newspaper-variant-o","file":"22a6ec4a4fdd0a7c0acaf805f6127b38723c9189"},{"start":"on","file":"c73d55b412f394e64632e2011a59aa05e5a1f50d"},{"start":"paw-ou","file":"3f669bf26d16752dc4a9ea349492df93a13dcfbf"},{"start":"pigg","file":"0c24edb27eb1c90b6e33fc05f34ef3118fa94256"},{"start":"printer-pos-sy","file":"41a55cda866f90b99a64395c3bb18c14983dcf0a"},{"start":"read","file":"c7ed91552a3a64c9be88c85e807404cf705b7edf"},{"start":"robot-vacuum-variant-o","file":"917d2a35d7268c0ea9ad9ecab2778060e19d90e0"},{"start":"sees","file":"6e82d9861d8fac30102bafa212021b819f303bdb"},{"start":"shoe-f","file":"e2fe7ce02b5472301418cc90a0e631f187b9f238"},{"start":"snowflake-m","file":"a28ba9f5309090c8b49a27ca20ff582a944f6e71"},{"start":"st","file":"7e92d03f095ec27e137b708b879dfd273bd735ab"},{"start":"su","file":"61c74913720f9de59a379bdca37f1d2f0dc1f9db"},{"start":"tag-plus-","file":"8f3184156a4f38549cf4c4fffba73a6a941166ae"},{"start":"timer-a","file":"baab470d11cfb3a3cd3b063ee6503a77d12a80d0"},{"start":"transit-d","file":"8561c0d9b1ac03fab360fd8fe9729c96e8693239"},{"start":"vector-arrange-b","file":"c9a3439257d4bab33d3355f1f2e11842e8171141"},{"start":"water-ou","file":"02dbccfb8ca35f39b99f5a085b095fc1275005a0"},{"start":"webc","file":"57bafd4b97341f4f2ac20a609d023719f23a619c"},{"start":"zip","file":"65ae094e8263236fa50486584a08c03497a38d93"}]}');let u;const f=()=>(u||(u=m().catch(t=>{throw u=void 0,t})),u),m=async()=>{const t=(0,l.y$)("hass-icon-db","mdi-icon-store"),e=await(0,l.Jt)("_version",t);return e?e!==h.version&&(await(0,l.IU)(t),(0,l.hZ)("_version",h.version,t)):(0,l.hZ)("_version",h.version,t),t},g=["mdi","hass","hassio","hademo"];let p=[];a(67094);let b,v,y,w=t=>t;const _={},x={},z=(0,s.s)(()=>(async t=>{const e=Object.keys(t),a=await Promise.allSettled(Object.values(t));(await f())("readwrite",i=>{a.forEach((a,o)=>{"fulfilled"===a.status&&Object.entries(a.value).forEach(([t,e])=>{i.put(e,t)}),delete t[e[o]]})})})(x),2e3),$={},C={"home-assistant":()=>a.e(58781).then(a.bind(a,53580)).then(t=>t.mdiHomeAssistant),"music-assistant":()=>a.e(56009).then(a.bind(a,10576)).then(t=>t.mdiMusicAssistant),esphome:()=>a.e(88800).then(a.bind(a,45091)).then(t=>t.mdiEsphomeLogo)};class k extends o.WF{willUpdate(t){super.willUpdate(t),t.has("icon")&&(this._path=void 0,this._secondaryPath=void 0,this._viewBox=void 0,this._loadIcon())}render(){return this.icon?this._legacy?(0,o.qy)(b||(b=w` <iron-icon .icon="${0}"></iron-icon>`),this.icon):(0,o.qy)(v||(v=w`<ha-svg-icon .path="${0}" .secondaryPath="${0}" .viewBox="${0}"></ha-svg-icon>`),this._path,this._secondaryPath,this._viewBox):o.s6}async _loadIcon(){if(!this.icon)return;const t=this.icon,[e,a]=this.icon.split(":",2);let i,o=a;if(!e||!o)return;if(!g.includes(e)){const a=c.y[e];return a?void(a&&"function"==typeof a.getIcon&&this._setCustomPath(a.getIcon(o),t)):void(this._legacy=!0)}if(this._legacy=!1,o in _){const t=_[o];let a;t.newName?(a=`Icon ${e}:${o} was renamed to ${e}:${t.newName}, please change your config, it will be removed in version ${t.removeIn}.`,o=t.newName):a=`Icon ${e}:${o} was removed from MDI, please replace this icon with an other icon in your config, it will be removed in version ${t.removeIn}.`,console.warn(a),(0,r.r)(this,"write_log",{level:"warning",message:a})}if(o in $)return void(this._path=$[o]);if(o in C){const e=await C[o]();return this.icon===t&&(this._path=e),void($[o]=e)}try{i=await(t=>new Promise((e,a)=>{if(p.push([t,e,a]),p.length>1)return;const i=f();(0,d.h)(1e3,(async()=>{(await i)("readonly",t=>{for(const[e,a,i]of p)(0,l.Yd)(t.get(e)).then(t=>a(t)).catch(t=>i(t));p=[]})})()).catch(t=>{for(const[,,e]of p)e(t);p=[]})}))(o)}catch(u){i=void 0}if(i)return this.icon===t&&(this._path=i),void($[o]=i);const n=(t=>{let e;for(const a of h.parts){if(void 0!==a.start&&t<a.start)break;e=a}return e.file})(o);if(n in x)return void this._setPath(x[n],o,t);const s=fetch(`/static/mdi/${n}.json`).then(t=>t.json());x[n]=s,this._setPath(s,o,t),s.catch(()=>{delete x[n]}),z()}async _setCustomPath(t,e){const a=await t;this.icon===e&&(this._path=a.path,this._secondaryPath=a.secondaryPath,this._viewBox=a.viewBox)}async _setPath(t,e,a){try{const i=await t;this.icon===a&&(this._path=i[e]),$[e]=i[e]}catch(i){}}constructor(...t){super(...t),this._legacy=!1}}k.styles=(0,o.AH)(y||(y=w`:host{fill:currentcolor}`)),(0,i.Cg)([(0,n.MZ)()],k.prototype,"icon",void 0),(0,i.Cg)([(0,n.wk)()],k.prototype,"_path",void 0),(0,i.Cg)([(0,n.wk)()],k.prototype,"_secondaryPath",void 0),(0,i.Cg)([(0,n.wk)()],k.prototype,"_viewBox",void 0),(0,i.Cg)([(0,n.wk)()],k.prototype,"_legacy",void 0),k=(0,i.Cg)([(0,n.EM)("ha-icon")],k)},2054:function(t,e,a){a.a(t,async function(t,e){try{a(16280),a(62953);var i=a(40445),o=a(5124),n=a(67576),r=a(1087),s=a(44249),c=a(26300),l=t([c]);c=(l.then?(await l)():l)[0];let d,h,u,f=t=>t;const m="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z";class g extends o.WF{connectedCallback(){super.connectedCallback(),this._attachNotifOnConnect&&(this._attachNotifOnConnect=!1,this._subscribeNotifications())}disconnectedCallback(){super.disconnectedCallback(),this._unsubNotifications&&(this._attachNotifOnConnect=!0,this._unsubNotifications(),this._unsubNotifications=void 0)}render(){if(!this._show)return o.s6;const t=this._hasNotifications&&(this.narrow||"always_hidden"===this.hass.dockedSidebar);return(0,o.qy)(d||(d=f` <ha-icon-button .label="${0}" .path="${0}" @click="${0}"></ha-icon-button> ${0} `),this.hass.localize("ui.sidebar.sidebar_toggle"),m,this._toggleMenu,t?(0,o.qy)(h||(h=f`<div class="dot"></div>`)):"")}willUpdate(t){if(super.willUpdate(t),!t.has("narrow")&&!t.has("hass"))return;const e=t.has("hass")?t.get("hass"):this.hass,a=t.has("narrow")?t.get("narrow"):this.narrow,i=!1===(null==e?void 0:e.kioskMode)&&(a||"always_hidden"===(null==e?void 0:e.dockedSidebar)),o=!1===this.hass.kioskMode&&(this.narrow||"always_hidden"===this.hass.dockedSidebar);this.hasUpdated&&i===o||(this._show=o||this._alwaysVisible,o?this._subscribeNotifications():this._unsubNotifications&&(this._unsubNotifications(),this._unsubNotifications=void 0))}_subscribeNotifications(){if(this._unsubNotifications)throw new Error("Already subscribed");this._unsubNotifications=(0,s.V)(this.hass.connection,t=>{this._hasNotifications=t.length>0})}_toggleMenu(){(0,r.r)(this,"hass-toggle-menu")}constructor(...t){super(...t),this.narrow=!1,this._hasNotifications=!1,this._show=!1,this._alwaysVisible=!1,this._attachNotifOnConnect=!1}}g.styles=(0,o.AH)(u||(u=f`:host{position:relative}.dot{pointer-events:none;position:absolute;background-color:var(--accent-color);width:12px;height:12px;top:9px;right:7px;inset-inline-end:7px;inset-inline-start:initial;border-radius:var(--ha-border-radius-circle);border:2px solid var(--app-header-background-color)}`)),(0,i.Cg)([(0,n.MZ)({type:Boolean})],g.prototype,"narrow",void 0),(0,i.Cg)([(0,n.MZ)({attribute:!1})],g.prototype,"hass",void 0),(0,i.Cg)([(0,n.wk)()],g.prototype,"_hasNotifications",void 0),(0,i.Cg)([(0,n.wk)()],g.prototype,"_show",void 0),g=(0,i.Cg)([(0,n.EM)("ha-menu-button")],g),e()}catch(d){e(d)}})},93367:function(t,e,a){a.a(t,async function(t,e){try{var i=a(40445),o=a(35211),n=a(5124),r=a(67576),s=a(91450),c=a(69093),l=a(22792),d=a(85694),h=(a(47680),a(67094),t([d]));d=(h.then?(await h)():h)[0];let u,f,m,g,p=t=>t;class b extends n.WF{render(){var t,e;const a=this.icon||this.stateObj&&(null===(t=this._entities)||void 0===t||null===(t=t[this.stateObj.entity_id])||void 0===t?void 0:t.icon)||(null===(e=this.stateObj)||void 0===e?void 0:e.attributes.icon);if(a)return(0,n.qy)(u||(u=p`<ha-icon .icon="${0}"></ha-icon>`),a);if(!this.stateObj)return n.s6;if(!this._config||!this._connection||!this._entities)return this._renderFallback();const i=(0,d.fq)(this._entities,this._config.config,this._connection.connection,this.stateObj,this.stateValue).then(t=>t?(0,n.qy)(f||(f=p`<ha-icon .icon="${0}"></ha-icon>`),t):this._renderFallback());return(0,n.qy)(m||(m=p`${0}`),(0,s.T)(i))}_renderFallback(){const t=(0,c.t)(this.stateObj);return(0,n.qy)(g||(g=p` <ha-svg-icon .path="${0}"></ha-svg-icon> `),d.l[t]||d.lW)}}(0,i.Cg)([(0,r.MZ)({attribute:!1})],b.prototype,"stateObj",void 0),(0,i.Cg)([(0,r.MZ)({attribute:!1})],b.prototype,"stateValue",void 0),(0,i.Cg)([(0,r.MZ)()],b.prototype,"icon",void 0),(0,i.Cg)([(0,r.wk)(),(0,o.Fg)({context:l.WF,subscribe:!0})],b.prototype,"_config",void 0),(0,i.Cg)([(0,r.wk)(),(0,o.Fg)({context:l.Wq,subscribe:!0})],b.prototype,"_connection",void 0),(0,i.Cg)([(0,r.wk)(),(0,o.Fg)({context:l.X1,subscribe:!0})],b.prototype,"_entities",void 0),b=(0,i.Cg)([(0,r.EM)("ha-state-icon")],b),e()}catch(u){e(u)}})},67094:function(t,e,a){a.r(e),a.d(e,{HaSvgIcon:function(){return h}});var i=a(40445),o=a(5124),n=a(67576);let r,s,c,l,d=t=>t;class h extends o.WF{render(){return(0,o.JW)(r||(r=d` <svg viewBox="${0}" preserveAspectRatio="xMidYMid meet" focusable="false" role="img" aria-hidden="true"> <g> ${0} ${0} </g> </svg>`),this.viewBox||"0 0 24 24",this.path?(0,o.JW)(s||(s=d`<path class="primary-path" d="${0}"></path>`),this.path):o.s6,this.secondaryPath?(0,o.JW)(c||(c=d`<path class="secondary-path" d="${0}"></path>`),this.secondaryPath):o.s6)}}h.styles=(0,o.AH)(l||(l=d`:host{display:var(--ha-icon-display,inline-flex);align-items:center;justify-content:center;position:relative;vertical-align:middle;fill:var(--icon-primary-color,currentcolor);width:var(--mdc-icon-size,24px);height:var(--mdc-icon-size,24px)}svg{width:100%;height:100%;pointer-events:none;display:block}path.primary-path{opacity:var(--icon-primary-opactity, 1)}path.secondary-path{fill:var(--icon-secondary-color,currentcolor);opacity:var(--icon-secondary-opactity, .5)}`)),(0,i.Cg)([(0,n.MZ)()],h.prototype,"path",void 0),(0,i.Cg)([(0,n.MZ)({attribute:!1})],h.prototype,"secondaryPath",void 0),(0,i.Cg)([(0,n.MZ)({attribute:!1})],h.prototype,"viewBox",void 0),h=(0,i.Cg)([(0,n.EM)("ha-svg-icon")],h)},27330:function(t,e,a){a.d(e,{L:function(){return v},p:function(){return b}});a(62953);var i=a(40445),o=a(5124),n=a(67576),r=a(6412);let s,c,l,d,h,u,f,m,g=t=>t;const p={passive:!0},b=(0,o.AH)(s||(s=g`:host{display:block}.top-app-bar{box-sizing:border-box;color:var(--app-header-text-color,#fff);background-color:var(--app-header-background-color,var(--primary-color));position:fixed;top:0;inset-inline-end:0;width:var(--ha-top-app-bar-width,100%);z-index:4;padding-top:var(--safe-area-inset-top);padding-right:var(--safe-area-inset-right);transition:box-shadow var(--ha-animation-duration-normal) ease,width var(--ha-animation-duration-normal) ease,padding-left var(--ha-animation-duration-normal) ease,padding-right var(--ha-animation-duration-normal) ease}:host([narrow]) .top-app-bar{padding-left:var(--safe-area-inset-left)}.top-app-bar.scrolled:not(.pane-header){box-shadow:var(--ha-box-shadow-s)}.row{display:flex;align-items:center;box-sizing:border-box;width:100%;height:var(--header-height);border-bottom:var(--app-header-border-bottom)}.section{display:flex;align-items:center;box-sizing:border-box;min-width:0;height:100%;padding:0 var(--ha-space-3)}#navigation{flex:1 1 auto}.section.center{flex:1 1 auto;justify-content:center;text-align:center}.section.end{flex:none;justify-content:flex-end}.title{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ha-font-size-xl);font-weight:var(--ha-font-weight-normal);line-height:var(--header-height);padding-inline-start:var(--ha-space-6)}:host([narrow]) .title{padding-inline-start:var(--ha-space-2)}.top-app-bar-fixed-adjust{padding-top:calc(var(--header-height,0px) + var(--safe-area-inset-top,0px));padding-bottom:var(--safe-area-inset-bottom);padding-right:var(--safe-area-inset-right)}:host([narrow]) .top-app-bar-fixed-adjust{padding-left:var(--safe-area-inset-left)}`));class v extends o.WF{get scrollTarget(){return this._scrollTarget||window}set scrollTarget(t){const e=this.scrollTarget;this._unregisterListeners(),this._scrollTarget=t,this._updateBarPosition(),this.requestUpdate("scrollTarget",e),this.isConnected&&(this._registerListeners(),this._syncScrollState())}_isPaneHeader(){return!1}render(){return(0,o.qy)(c||(c=g`${0}${0}`),this._renderHeader(),this._renderContent())}connectedCallback(){super.connectedCallback(),this.hasUpdated&&(this._updateBarPosition(),this._registerListeners(),this._syncScrollState())}_renderHeader(){const t=(0,o.qy)(l||(l=g`<span class="title"> <slot name="title"></slot> </span>`)),e=this._isPaneHeader();return(0,o.qy)(d||(d=g` <header class="top-app-bar ${0}"> <div class="row"> ${0} <section class="section" id="navigation"> ${0} </section> ${0} <section class="section end" id="actions" role="toolbar"> <slot name="actionItems"></slot> </section> </div> </header> `),(0,r.H)({"pane-header":e}),e?(0,o.qy)(h||(h=g`<section class="section" id="title"> <slot name="navigationIcon"></slot> ${0} </section>`),t):o.s6,e?o.s6:(0,o.qy)(u||(u=g`<slot name="navigationIcon"></slot> ${0}`),this.centerTitle?o.s6:t),!e&&this.centerTitle?(0,o.qy)(f||(f=g`<section class="section center">${0}</section>`),t):o.s6)}_renderContent(){return(0,o.qy)(m||(m=g`<div class="top-app-bar-fixed-adjust"> <slot></slot> </div>`))}firstUpdated(t){super.firstUpdated(t),this._updateBarPosition(),this._registerListeners(),this._syncScrollState()}disconnectedCallback(){super.disconnectedCallback(),this._unregisterListeners()}_updateBarPosition(){this._barElement&&(this._barElement.style.position=this.scrollTarget===window?"":"absolute")}_registerListeners(){this.scrollTarget.addEventListener("scroll",this._syncScrollState,p)}_unregisterListeners(){this.scrollTarget.removeEventListener("scroll",this._syncScrollState)}constructor(...t){super(...t),this.narrow=!1,this.centerTitle=!1,this._syncScrollState=()=>{var t;const e=this.scrollTarget instanceof Window?this.scrollTarget.pageYOffset:this.scrollTarget.scrollTop;null===(t=this._barElement)||void 0===t||t.classList.toggle("scrolled",e>0)}}}v.styles=b,(0,i.Cg)([(0,n.MZ)({type:Boolean,reflect:!0})],v.prototype,"narrow",void 0),(0,i.Cg)([(0,n.MZ)({attribute:"center-title",type:Boolean})],v.prototype,"centerTitle",void 0),(0,i.Cg)([(0,n.P)(".top-app-bar")],v.prototype,"_barElement",void 0),(0,i.Cg)([(0,n.MZ)({attribute:!1})],v.prototype,"scrollTarget",null),v=(0,i.Cg)([(0,n.EM)("ha-top-app-bar-fixed")],v)},700:function(t,e,a){a.d(e,{y:function(){return r}});const i=window;"customIconsets"in i||(i.customIconsets={});const o=i.customIconsets,n=window;"customIcons"in n||(n.customIcons={});const r=new Proxy(n.customIcons,{get:(t,e)=>{var a;return null!==(a=t[e])&&void 0!==a?a:o[e]?{getIcon:o[e]}:void 0}})},44249:function(t,e,a){a.d(e,{V:function(){return i}});a(62953);const i=(t,e)=>{const a=new o,i=t.subscribeMessage(t=>e(a.processMessage(t)),{type:"persistent_notification/subscribe"});return()=>{i.then(t=>null==t?void 0:t())}};class o{processMessage(t){if("removed"===t.type)for(const e of Object.keys(t.notifications))delete this.notifications[e];else this.notifications=Object.assign(Object.assign({},this.notifications),t.notifications);return Object.values(this.notifications)}constructor(){this.notifications={}}}},60603:function(t,e,a){a.a(t,async function(t,i){try{a.r(e);a(44114),a(18111),a(7588),a(17642),a(58004),a(33853),a(45876),a(32475),a(15024),a(31698),a(62953);var o=a(40445),n=a(5124),r=a(67576),s=a(69093),c=a(91926),l=a(26300),d=a(2054),h=(a(27330),a(22273)),u=a(14503),f=t([l,d,h]);[l,d,h]=f.then?(await f)():f;let m,g,p,b=t=>t;const v="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z";class y extends n.WF{render(){var t;return(0,n.qy)(m||(m=b` <ha-top-app-bar-fixed .narrow="${0}"> <ha-menu-button slot="navigationIcon" .hass="${0}" .narrow="${0}"></ha-menu-button> <div slot="title">${0}</div> ${0} <ha-map .hass="${0}" .entities="${0}" auto-fit interactive-zones></ha-map> </ha-top-app-bar-fixed> `),this.narrow,this.hass,this.narrow,this.hass.localize("panel.map"),null!==(t=this.hass.user)&&void 0!==t&&t.is_admin?(0,n.qy)(g||(g=b`<ha-icon-button slot="actionItems" .label="${0}" .path="${0}" @click="${0}"></ha-icon-button>`),this.hass.localize("ui.panel.map.edit_zones"),v,this._openZonesEditor):"",this.hass,this._entities)}_openZonesEditor(){(0,c.oo)("/config/zone?historyBack=1")}willUpdate(t){if(super.willUpdate(t),!t.has("hass"))return;const e=t.get("hass");this._getStates(e)}_getStates(t){let e=!1;const a=new Set,i=[];Object.values(this.hass.states).forEach(o=>{"home"!==o.state&&"latitude"in o.attributes&&"longitude"in o.attributes&&(i.push(o.entity_id),"person"===(0,s.t)(o)&&o.attributes.source&&a.add(o.attributes.source),(null==t?void 0:t.states[o.entity_id])!==o&&(e=!0))}),e&&(this._entities=i.filter(t=>!a.has(t)))}static get styles(){return[u.RF,(0,n.AH)(p||(p=b`ha-map{height:calc(100vh - var(--header-height))}`))]}constructor(...t){super(...t),this.narrow=!1,this._entities=[]}}(0,o.Cg)([(0,r.MZ)({attribute:!1})],y.prototype,"hass",void 0),(0,o.Cg)([(0,r.MZ)({type:Boolean})],y.prototype,"narrow",void 0),y=(0,o.Cg)([(0,r.EM)("ha-panel-map")],y),i()}catch(m){i(m)}})},53580:function(t,e,a){a.d(e,{mdiHomeAssistant:function(){return i}});const i="m12.151 1.5882c-.3262 0-.6523.1291-.8996.3867l-8.3848 8.7354c-.0619.0644-.1223.1368-.1807.2154-.0588.0789-.1151.1638-.1688.2534-.2593.4325-.4552.9749-.5232 1.4555-.0026.018-.0076.0369-.0094.0548-.0121.0987-.0184.1944-.0184.2857v8.0124a1.2731 1.2731 0 001.2731 1.2731h7.8313l-3.4484-3.593a1.7399 1.7399 0 111.0803-1.125l2.6847 2.7972v-10.248a1.7399 1.7399 0 111.5276-0v7.187l2.6702-2.782a1.7399 1.7399 0 111.0566 1.1505l-3.7269 3.8831v2.7299h8.174a1.2471 1.2471 0 001.2471-1.2471v-8.0375c0-.0912-.0059-.1868-.0184-.2855-.0603-.4935-.2636-1.0617-.5326-1.5105-.0537-.0896-.1101-.1745-.1684-.253-.0588-.079-.1191-.1513-.181-.2158l-8.3848-8.7363c-.2473-.2577-.5735-.3866-.8995-.3864"},69235:function(t,e,a){a.a(t,async function(t,e){try{a(3362),a(62953);"function"!=typeof window.ResizeObserver&&(window.ResizeObserver=(await a.e(71055).then(a.bind(a,52370))).default),e()}catch(i){e(i)}},1)},14503:function(t,e,a){a.d(e,{RF:function(){return u},dp:function(){return g},kO:function(){return m},nA:function(){return f},og:function(){return h}});var i=a(5124);let o,n,r,s,c,l,d=t=>t;const h=(0,i.AH)(o||(o=d`button.link{background:0 0;color:inherit;border:none;padding:0;font:inherit;text-align:left;text-decoration:underline;cursor:pointer;outline:0}`)),u=(0,i.AH)(n||(n=d`:host{font-family:var(--ha-font-family-body);-webkit-font-smoothing:var(--ha-font-smoothing);-moz-osx-font-smoothing:var(--ha-moz-osx-font-smoothing);font-size:var(--ha-font-size-m);font-weight:var(--ha-font-weight-normal);line-height:var(--ha-line-height-normal)}app-header div[sticky]{height:48px}app-toolbar [main-title]{margin-left:20px;margin-inline-start:20px;margin-inline-end:initial}.header{transition:box-shadow .2s linear,width var(--ha-animation-duration-normal) ease,padding-left var(--ha-animation-duration-normal) ease,padding-right var(--ha-animation-duration-normal) ease}@media (prefers-reduced-motion:reduce){.header{transition:box-shadow .2s linear}}h1{font-family:var(--ha-font-family-heading);-webkit-font-smoothing:var(--ha-font-smoothing);-moz-osx-font-smoothing:var(--ha-moz-osx-font-smoothing);font-size:var(--ha-font-size-2xl);font-weight:var(--ha-font-weight-normal);line-height:var(--ha-line-height-condensed)}h2{font-family:var(--ha-font-family-body);-webkit-font-smoothing:var(--ha-font-smoothing);-moz-osx-font-smoothing:var(--ha-moz-osx-font-smoothing);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:var(--ha-font-size-xl);font-weight:var(--ha-font-weight-medium);line-height:var(--ha-line-height-normal)}h3{font-family:var(--ha-font-family-body);-webkit-font-smoothing:var(--ha-font-smoothing);-moz-osx-font-smoothing:var(--ha-moz-osx-font-smoothing);font-size:var(--ha-font-size-l);font-weight:var(--ha-font-weight-normal);line-height:var(--ha-line-height-normal)}a{color:var(--primary-color)}.secondary{color:var(--secondary-text-color)}.error{color:var(--error-color)}.warning{color:var(--error-color)}${0} .card-actions a{text-decoration:none}.card-actions .warning{--mdc-theme-primary:var(--error-color)}.layout.horizontal,.layout.vertical{display:flex}.layout.inline{display:inline-flex}.layout.horizontal{flex-direction:row}.layout.vertical{flex-direction:column}.layout.wrap{flex-wrap:wrap}.layout.no-wrap{flex-wrap:nowrap}.layout.center,.layout.center-center{align-items:center}.layout.bottom{align-items:flex-end}.layout.center-center,.layout.center-justified{justify-content:center}.flex{flex:1;flex-basis:0.000000001px}.flex-auto{flex:1 1 auto}.flex-none{flex:none}.layout.justified{justify-content:space-between}`),h),f=(0,i.AH)(r||(r=d`ha-adaptive-dialog,ha-dialog{--mdc-dialog-min-width:400px;--mdc-dialog-max-width:600px;--mdc-dialog-max-width:min(600px, 95vw);--justify-action-buttons:space-between;--dialog-container-padding:var(--safe-area-inset-top, 0) var(--safe-area-inset-right, 0) var(--safe-area-inset-bottom, 0) var(--safe-area-inset-left, 0);--dialog-surface-padding:0px}ha-adaptive-dialog .form,ha-dialog .form{color:var(--primary-text-color)}a{color:var(--primary-color)}@media all and (max-width:450px),all and (max-height:500px){ha-adaptive-dialog,ha-dialog{--mdc-dialog-min-width:100vw;--mdc-dialog-max-width:100vw;--mdc-dialog-min-height:100vh;--mdc-dialog-min-height:100svh;--mdc-dialog-max-height:100vh;--mdc-dialog-max-height:100svh;--dialog-container-padding:0px;--dialog-surface-padding:var(--safe-area-inset-top, 0) var(--safe-area-inset-right, 0) var(--safe-area-inset-bottom, 0) var(--safe-area-inset-left, 0);--vertical-align-dialog:flex-end}ha-dialog{--ha-dialog-border-radius:var(--ha-border-radius-square)}}.error{color:var(--error-color)}`)),m=(0,i.AH)(s||(s=d`ha-adaptive-dialog,ha-dialog{--vertical-align-dialog:flex-start;--dialog-surface-margin-top:var(--ha-space-10);--mdc-dialog-max-height:calc(
100vh - var(--dialog-surface-margin-top) - var(--ha-space-2) - var(
--safe-area-inset-y,
0px
)
);--mdc-dialog-max-height:calc(
100svh - var(--dialog-surface-margin-top) - var(--ha-space-2) - var(
--safe-area-inset-y,
0px
)
);--ha-dialog-max-height:calc(
100vh - var(--dialog-surface-margin-top) - var(--ha-space-2) - var(
--safe-area-inset-y,
0px
)
);--ha-dialog-max-height:calc(
100svh - var(--dialog-surface-margin-top) - var(--ha-space-2) - var(
--safe-area-inset-y,
0px
)
)}@media all and (max-width:450px),all and (max-height:500px){ha-adaptive-dialog,ha-dialog{--dialog-surface-margin-top:0px;--mdc-dialog-min-height:100vh;--mdc-dialog-min-height:100svh;--mdc-dialog-max-height:100vh;--mdc-dialog-max-height:100svh;--ha-dialog-max-height:100vh;--ha-dialog-max-height:100svh}}`)),g=(0,i.AH)(c||(c=d`.ha-scrollbar::-webkit-scrollbar{width:.4rem;height:.4rem}.ha-scrollbar::-webkit-scrollbar-thumb{border-radius:var(--ha-border-radius-sm);background:var(--scrollbar-thumb-color)}.ha-scrollbar{overflow-y:auto;scrollbar-color:var(--scrollbar-thumb-color) transparent;scrollbar-width:thin}`));(0,i.AH)(l||(l=d`body{background-color:var(--primary-background-color);color:var(--primary-text-color);height:calc(100vh - 32px);width:100vw}`))},88438:function(t,e,a){a.d(e,{C:function(){return i}});const i="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}}]);