From 5c5e0131ec569313d8e94e6d1f60b0e55d891d99 Mon Sep 17 00:00:00 2001 From: tempus2016 Date: Sun, 8 Nov 2026 22:41:50 +0000 Subject: [PATCH 1/2] feat: translations for German, Spanish, French, Dutch and Portuguese Every string the card and editor show now lives in src/locales/en.json instead of inline registerStrings calls. English is bundled; each other language is its own hashed chunk (chartdeck-card.-.js) that loads only for users of that language, and cards and editors redraw when it lands. Source maps ship beside every file, and the release attaches all dist/*.js and dist/*.js.map. --- .github/workflows/release.yml | 4 +- .gitignore | 3 +- CONTRIBUTING.md | 7 +- README.md | 5 +- dist/chartdeck-card.de-aHFDhWpe.js | 2 + dist/chartdeck-card.de-aHFDhWpe.js.map | 1 + dist/chartdeck-card.es-Bjbhmsp-.js | 2 + dist/chartdeck-card.es-Bjbhmsp-.js.map | 1 + dist/chartdeck-card.fr-Bux47UXp.js | 2 + dist/chartdeck-card.fr-Bux47UXp.js.map | 1 + dist/chartdeck-card.js | 2057 ++++++++++++------------ dist/chartdeck-card.js.map | 1 + dist/chartdeck-card.nl-DvVzFIch.js | 2 + dist/chartdeck-card.nl-DvVzFIch.js.map | 1 + dist/chartdeck-card.pt-D8OdPLlD.js | 2 + dist/chartdeck-card.pt-D8OdPLlD.js.map | 1 + package-lock.json | 22 + package.json | 3 +- release.config.js | 5 +- rollup.config.mjs | 17 +- scripts/clean-dist.mjs | 16 + src/chart/annotations.ts | 6 +- src/chart/category-plot.ts | 15 - src/chart/drill.ts | 9 +- src/chart/extremes.ts | 15 +- src/chart/frame.ts | 24 +- src/chart/parts.ts | 18 +- src/chart/scatter-plot.ts | 20 +- src/chart/tooltip.ts | 4 +- src/chart/xy.ts | 6 - src/chart/zoom.ts | 10 +- src/chartdeck-card.ts | 4 + src/editor/annotations-editor.ts | 36 +- src/editor/bands-editor.ts | 4 + src/editor/chart-editors.ts | 81 +- src/editor/chartdeck-card-editor.ts | 4 + src/editor/climate-editor.ts | 11 - src/editor/day-clock-editor.ts | 16 - src/editor/entities-editor.ts | 4 + src/editor/entity-options.ts | 6 +- src/editor/group-fields.ts | 11 +- src/editor/limit-field.ts | 4 + src/editor/timeline-editor.ts | 20 +- src/editor/trend-editor.ts | 70 - src/editor/wind-rose-editor.ts | 16 +- src/language-controller.ts | 23 + src/locales/de.json | 768 +++++++++ src/locales/en.json | 768 +++++++++ src/locales/es.json | 768 +++++++++ src/locales/fr.json | 768 +++++++++ src/locales/nl.json | 768 +++++++++ src/locales/pt.json | 768 +++++++++ src/localize.ts | 252 ++- src/styles/area.ts | 11 +- src/styles/beeswarm.ts | 19 +- src/styles/box-plot.ts | 23 +- src/styles/bullet.ts | 11 +- src/styles/candlestick.ts | 20 +- src/styles/climate.ts | 17 +- src/styles/column.ts | 12 +- src/styles/combined.ts | 23 +- src/styles/day-clock.ts | 21 +- src/styles/dumbbell.ts | 27 +- src/styles/funnel.ts | 17 +- src/styles/grouped-bars.ts | 17 +- src/styles/heatmap.ts | 20 +- src/styles/histogram.ts | 21 +- src/styles/line.ts | 11 +- src/styles/lollipop.ts | 10 +- src/styles/pictograph.ts | 9 - src/styles/pie.ts | 12 - src/styles/polar-area.ts | 15 +- src/styles/radar.ts | 13 +- src/styles/range-area.ts | 8 +- src/styles/rings.ts | 9 +- src/styles/sankey.ts | 17 +- src/styles/slope.ts | 32 +- src/styles/sparkline.ts | 13 +- src/styles/streamgraph.ts | 18 +- src/styles/sunburst.ts | 19 +- src/styles/timeline.ts | 10 +- src/styles/treemap.ts | 14 +- src/styles/trend.ts | 9 +- src/styles/violin.ts | 22 +- src/styles/waffle.ts | 9 - src/styles/waterfall.ts | 20 +- src/styles/wind-rose.ts | 16 +- test/editor.test.ts | 4 + test/localize.test.ts | 100 ++ 89 files changed, 6027 insertions(+), 2074 deletions(-) create mode 100644 dist/chartdeck-card.de-aHFDhWpe.js create mode 100644 dist/chartdeck-card.de-aHFDhWpe.js.map create mode 100644 dist/chartdeck-card.es-Bjbhmsp-.js create mode 100644 dist/chartdeck-card.es-Bjbhmsp-.js.map create mode 100644 dist/chartdeck-card.fr-Bux47UXp.js create mode 100644 dist/chartdeck-card.fr-Bux47UXp.js.map create mode 100644 dist/chartdeck-card.js.map create mode 100644 dist/chartdeck-card.nl-DvVzFIch.js create mode 100644 dist/chartdeck-card.nl-DvVzFIch.js.map create mode 100644 dist/chartdeck-card.pt-D8OdPLlD.js create mode 100644 dist/chartdeck-card.pt-D8OdPLlD.js.map create mode 100644 scripts/clean-dist.mjs create mode 100644 src/language-controller.ts create mode 100644 src/locales/de.json create mode 100644 src/locales/en.json create mode 100644 src/locales/es.json create mode 100644 src/locales/fr.json create mode 100644 src/locales/nl.json create mode 100644 src/locales/pt.json create mode 100644 test/localize.test.ts diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index de58c31..099829d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,12 +53,12 @@ jobs: id: tagged run: echo "tag=$(git tag --points-at HEAD | head -n 1)" >> "$GITHUB_OUTPUT" - name: Attest the bundle's provenance - # Signed statement that dist/chartdeck-card.js was built by this workflow from + # Signed statement that every file in dist/ was built by this workflow from # this commit, checkable with `gh attestation verify`. if: steps.tagged.outputs.tag != '' uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2 with: - subject-path: dist/chartdeck-card.js + subject-path: dist/*.js # The release above is published with GITHUB_TOKEN, which starts no other workflows, # so the release: published trigger never fires. Call the announcement directly. diff --git a/.gitignore b/.gitignore index e8f75fc..d0214e5 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ /coverage/ /.tmp/ dist/* -!dist/chartdeck-card.js +!dist/*.js +!dist/*.js.map *.log .DS_Store diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 84da3a9..9b97970 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -49,8 +49,11 @@ real Home Assistant before release. ## Translations -Copy `src/locales/en.json` to `src/locales/.json`, translate the values, and register it -in `src/localize.ts`. No git? Open an issue with the language and your translated file pasted +Chartdeck speaks English, German, Spanish, French, Dutch and Portuguese. To add a language, copy +`src/locales/en.json` to `src/locales/.json`, translate the values (leave every +`{placeholder}` as it is), and add a line for it to `LOADERS` in `src/localize.ts`. Each +language builds into a file of its own that loads only for people using it. A string left out +shows in English. To fix a translation, edit the value in that language's file. No git? Open an issue with the language and your translated file pasted in, and it will be wired in for you. ## Reporting something diff --git a/README.md b/README.md index 49d1b15..a571230 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,8 @@ This page is the summary. What changed in each version is on the [releases page] fast on wall tablets, and follows your Home Assistant theme. - **Limits from anywhere.** Minimum, maximum and target can each be a number or another entity. +- **In your language.** The card and its editor follow the language in your Home Assistant + profile: English, German, Spanish, French, Dutch or Portuguese. ## Styles @@ -99,7 +101,8 @@ Chartdeck is in the Home Assistant Marketplace: On Home Assistant older than 2026.11, the Marketplace is still HACS: open HACS, search for *Chartdeck* and choose **Download**. -To install by hand, save [chartdeck-card.js][latest-release] to `/www/` and add +To install by hand, save every `.js` file of the [latest release][latest-release] to +`/www/` *(v2.1.0+: each translation is a file of its own beside the main one)* and add `/local/chartdeck-card.js` as a dashboard resource of type `module`. The [Installation][wiki-installation] page has the detail. diff --git a/dist/chartdeck-card.de-aHFDhWpe.js b/dist/chartdeck-card.de-aHFDhWpe.js new file mode 100644 index 0000000..a83b0fe --- /dev/null +++ b/dist/chartdeck-card.de-aHFDhWpe.js @@ -0,0 +1,2 @@ +const e="Entität nicht gefunden",t="Nicht verfügbar",r="Füge im Editor eine Entität hinzu, um loszulegen.",i="Derzeit passen keine Entitäten.",n="Keine dieser Entitäten ist verfügbar.",_="Entitäten",o="Stil",a="Diagramm",d="Balken",s="Anzeigen",l="Verlaufsdiagramme",c="Anteile an einer Summe",u="Vergleiche",h="Verteilungen",g="Zeige die letzten",m="Einheit",b="Stunden",p="Tage",f="Wochen",y="Monate",w="Messwerte aus",k="Verlauf (jede Änderung)",z="Langzeitstatistiken",S="Linienform",v="Glatt",E="Gerade",x="Stufen",W="Farbe",Z="Eine Farbe pro Entität",N="Nach Farbbereich",A="Werte an den Punkten anzeigen",B="Linienfarbe",F="Gestrichelt",M="Grenzen",D="Farben",L="Anzeige",G="Aktionen",T="Titel",K="Balken",H="Schmal",V="Segmentiert",R="Tank",P="Ring",j="Nadel",J="Bogen",U="Winkel in Grad, im Uhrzeigersinn von oben: -90 ist links, 90 rechts. Leer lassen für die übliche Form des Stils.",I="Startwinkel",O="Endwinkel",q="In der Mitte",C="Der Wert",Q="Die Beschriftung des Farbbereichs",X="Der Name",Y="Eigener Text",$="Nichts",ee="Text",te="Zahlen an der Skala",re="Name anzeigen",ie="Wert anzeigen",ne="Symbol anzeigen",_e="Zielwert anzeigen",oe="Legende anzeigen",ae="Spalten",de="Sortierung",se="Wie aufgelistet",le="Niedrigste zuerst",ce="Höchste zuerst",ue="Nachkommastellen",he="Einheit",ge="Animieren",me="Nicht verfügbare Entitäten ausblenden",be="Höchstens anzeigen",pe="Außerdem jede passende Entität anzeigen",fe="Neue Geräte erscheinen, ohne die Karte zu bearbeiten. Wähle mehrere einer Art, damit eine davon passen muss; verschiedene Arten müssen alle passen.",ye="Auslassen",we="Passende Entitäten werden ausgelassen, wenn sie auf eine dieser Regeln passen.",ke="Geräteklasse",ze="Bereiche",Se="Etagen",ve="Labels",Ee="Domains",xe="Entitäten",We="Tippen-Aktion",Ze="Halten-Aktion",Ne="Doppeltippen-Aktion",Ae="Attribut (statt des Zustands)",Be="Name",Fe="Symbol",Me="Minimum",De="Maximum",Le="Zielwert",Ge="Keine",Te="Karteneinstellung",Ke="Standard ({value})",He="Zahl",Ve="Entität",Re="Vorlage",Pe="Batterie (niedrig ist schlecht)",je="Verbrauch (hoch ist schlecht)",Je="Temperatur",Ue="Keine",Ie="Benutzerdefiniert",Oe="Ab",qe="Bei einer Entität beginnen",Ce="Bei einer Zahl beginnen",Qe="Beginnt bei dieser Entität",Xe="Farbe",Ye="CSS-Farbe",$e="Beschriftung",et="Symbol",tt="Symbole in der Farbe ihres Bereichs",rt="Primär",it="Grün",nt="Bernstein",_t="Rot",ot="Blau",at="Lila",dt="Grau",st="Benutzerdefiniert…",lt="Bereich hinzufügen",ct="Bereich entfernen",ut="Entität hinzufügen",ht="Nach oben",gt="Nach unten",mt="Entität entfernen",bt="Optionen anzeigen",pt="Optionen ausblenden",ft="{entity} (nicht gefunden)",yt="Farben",wt="{label} um {time}",kt="Richtung",zt="Waagerecht",St="Senkrecht",vt="Wertebeschriftung",Et="Linien an jeder Wertebeschriftung",xt="Niedrigster angezeigter Wert",Wt="Höchster angezeigter Wert",Zt="Median",Nt="Mittlere Hälfte",At="Niedrigster – höchster",Bt="Messwerte",Ft="Tippe auf eine Gruppe, um ihre Bestandteile zu zeigen",Mt="{label}. Bestandteile anzeigen",Dt="Zurück zu {name}",Lt="Alle",Gt="Hoch",Tt="Tief",Kt="Ø",Ht="Höchsten Messwert markieren",Vt="Niedrigsten Messwert markieren",Rt="Durchschnitt",Pt="Nicht anzeigen",jt="Linie über das Diagramm",Jt="Nur als Zahl",Ut="Höchsten, niedrigsten und Durchschnitt markieren",It="Vorheriger Zeitraum",Ot="Nächster Zeitraum",qt="Zurück zu {label}",Ct="Heute",Qt="Gestern",Xt="Diese Woche",Yt="Letzte Woche",$t="Dieser Monat",er="Letzter Monat",tr="Dieses Jahr",rr="Letztes Jahr",ir="Letzte Stunde",nr="Letzte {n} Stunden",_r="Letzter Tag",or="Letzte {n} Tage",ar="Letzte 7 Tage",dr="Letzte {n} Wochen",sr="Letzter Monat",lr="Letzte {n} Monate",cr="Abstufungen einer Farbe",ur="Abstufungsfarbe (Palettenname oder CSS-Farbe)",hr="Jeden Anteil in Prozent anzeigen",gr="Summe",mr="Durchschnitt",br="Nichts",pr="Summe",fr="Durchschnitt",yr="{style} von {names}",wr="Streudiagramm",kr="Blasendiagramm",zr="Entlang der Unterseite",Sr="Die erste Entität",vr="Zeit",Er="Punktgröße (px)",xr="Streuung (px)",Wr="Kleinste Blase (px)",Zr="Größte Blase (px)",Nr="Punktfarbe",Ar="Beschriftung entlang der Unterseite",Br="Füge eine zweite Entität hinzu. Die erste kommt an die Unterseite, die anderen an die Seite.",Fr="Füge drei Entitäten hinzu: eine für unten, eine für die Seite und eine für die Größe jeder Blase.",Mr="Waagerecht",Dr="Größe",Lr="Summe",Gr="Niedrigster Wert waagerecht",Tr="Höchster Wert waagerecht",Kr="Zoom zurücksetzen",Hr="Angezeigt: {from} bis {to}",Vr="Angezeigter Teil des Diagramms",Rr="Zoomen und Verschieben (Zwei-Finger-Geste, Strg + Scrollen oder Ziehen)",Pr="Übersichtsleiste unter dem Diagramm",jr="Anmerkungen",Jr="Art",Ur="Linie bei einem Wert",Ir="Schattierter Wertebereich",Or="Markierungen zu festen Zeiten",qr="Markierungen bei Änderung einer Entität",Cr="Beschriftung an einem Messwert",Qr="Linie",Xr="Bereich",Yr="Zeiten",$r="Zustandsänderungen",ei="Punktbeschriftung",ti="Anmerkung hinzufügen:",ri="Wert (eine Zahl oder eine Entität)",ii="Von (eine Zahl oder eine Entität; leer für unten)",ni="Bis (eine Zahl oder eine Entität; leer für oben)",_i="Zeiten: 07:00 für jeden Tag oder 2026-10-28 07:00 (durch Kommas getrennt)",oi="Entität",ai="Datenreihe (leer für die erste)",di="Zustand (leer für jede Änderung)",si="Schattieren, solange in diesem Zustand",li="Messwert",ci="Höchster",ui="Niedrigster",hi="Neuester",gi="Erster",mi="Beschriftung",bi="Farbe",pi="Gestrichelt",fi="Anmerkung entfernen",yi="Schweregrad-Bereiche hinter dem Diagramm schattieren",wi="Zeitraum",ki="Die letzten…",zi="Heute",Si="Diese Woche",vi="Dieser Monat",Ei="Dieses Jahr",xi="Zeiträume zurück (0 ist der aktuelle)",Wi="Zeichnen bis",Zi="Jetzt",Ni="Ende des Zeitraums",Ai="Schaltflächen für vorherigen und nächsten Zeitraum anzeigen",Bi="Messwerte gruppieren nach",Fi="Nicht gruppieren",Mi="Stunde",Di="Tag",Li="Woche",Gi="Monat",Ti="Zusammenfassen mit",Ki="Durchschnitt",Hi="Summe",Vi="Niedrigster",Ri="Höchster",Pi="Erster",ji="Letzter",Ji="Änderung (hochzählende Zähler)",Ui="Zeitbeschriftung",Ii="Wertebeschriftung",Oi="Achsenbeschriftung",qi="Neben dem Diagramm",Ci="Über dem Diagramm",Qi="Waagerechte Linien",Xi="Senkrechte Linien",Yi="Niedrigster angezeigter Wert",$i="Höchster angezeigter Wert",en="Werteskala",tn="Gleichmäßige Schritte",rn="Logarithmisch (Zehnerpotenzen)",nn="Werte beim Überfahren oder Berühren anzeigen",_n="Linienstärke (px)",on="Punkt an jedem Messwert",an="Über den anderen Linien zeichnen",dn="Kompakt",sn="Namen und Werte",ln="Über dem Diagramm",cn="Auf dem Diagramm",un="Ausgeblendet",hn="Welche Messwerte",gn="Alle (so viele wie passen)",mn="Den neuesten",bn="Höchsten und niedrigsten",pn="Ersten und neuesten",fn="Position der Beschriftung",yn="Über Spitzen, unter Tälern",wn="Darüber",kn="Darunter",zn="Auf dem Punkt",Sn="Überlappende Beschriftungen erlauben",vn="Sync-Gruppe (Diagramme mit gleichem Namen teilen Zeiger und Zeitraumschritte)",En="Ein kleines Diagramm pro Entität",xn="Werteskala",Wn="Gleich, wenn die Einheiten übereinstimmen",Zn="Gleich für alle Diagramme",Nn="Jedes Diagramm eigene",An="Spalten (leer passt sich der Karte an)",Bn="Sollwert anzeigen",Fn="Beim Heizen oder Kühlen schattieren",Mn="Schattieren, wenn nur der Lüfter läuft",Dn="Temperaturfarbe",Ln="Sollwertfarbe",Gn="Heizfarbe",Tn="Kühlfarbe",Kn="Tage (mehr als 1 zeigt den Durchschnittstag)",Hn="Einschaltdauer",Vn="Die aktuelle Uhrzeit",Rn="Nichts",Pn="Ein Balken für je",jn="15 Minuten",Jn="30 Minuten",Un="Stunde",In="Automatisch (Änderung bei Zählern, sonst Durchschnitt)",On="Farbe",qn="Gilt als an (leer: on, open, heating, home…)",Cn="Füge zuerst oben eine Entität hinzu.",Qn="Gruppieren nach",Xn="Etage",Yn="Bereich",$n="Gerät",e_="Label",t_="Eigene Gruppe (hat Vorrang vor „Gruppieren nach“; „Erdgeschoss / Küche“ für zwei Ebenen)",r_="Text auf den Balken",i_="Zustand",n_="Dauer",__="Zustand und Dauer",o_="Keiner",a_="Legende der Zustände",d_="Über dem Diagramm",s_="Ausgeblendet",l_="Zustandsfarben",c_="Ein Palettenname (amber, green, blue, red, purple, grey, primary) oder eine beliebige CSS-Farbe.",u_="Zustand",h_="Farbe",g_="Zustandsfarbe hinzufügen",m_="Entfernen",b_="Gruppe (Zeilen mit gleicher Gruppe teilen eine Überschrift)",p_="Punkte pro Stunde (0 zeichnet jeden Messwert)",f_="Graph",y_="Linie",w_="Balken",k_="Keiner (nur Wert)",z_="Fläche unter der Linie füllen",S_="Voll",v_="Verlauf",E_="Keine",x_="Punkte auf der Linie",W_="Beim Überfahren",Z_="Immer",N_="Nie",A_="Beschriftung für Höchst- und Tiefstwert",B_="Beim Überfahren",F_="Immer",M_="Nie",D_="Graphhöhe (pro 500 px Breite)",L_="Abstand zwischen Balken (px)",G_="Bereichsfarben",T_="Überblenden",K_="Wechsel an jedem Bereich",H_="Tiefst- und Höchstwert anzeigen",V_="Durchschnitt anzeigen",R_="Legende (zwei oder mehr Entitäten)",P_="Niedrigster Wert (~ für weich)",j_="Höchster Wert (~ für weich)",J_="Kleinster angezeigter Bereich",U_="Rechte Achse niedrigster (~ für weich)",I_="Rechte Achse höchster (~ für weich)",O_="Rechte Achse kleinster Bereich",q_="Skalieren mit 10 hoch",C_="Name und Symbol",Q_="Verteilt",X_="Links",Y_="Rechts",$_="Mitte",eo="Symbol",to="Rechts vom Namen",ro="Links vom Namen",io="Neben dem Wert",no="Wert",_o="Links",oo="Rechts",ao="Mitte",so="Wertgröße (%)",lo="Namensgröße (px)",co="Namen einfärben",uo="Wert einfärben",ho="Symbol einfärben",go="Kein Hintergrund (in einer anderen Karte)",mo="Bild statt Symbol (URL)",bo="Wert unter dem Zeiger anzeigen",po="Achse",fo="Links",yo="Rechts (eigene Skala)",wo="Zusammenfassen mit",ko="Aktuellen Wert als waagerechte Linie zeichnen",zo="Wert neben dem Hauptwert anzeigen",So="Punkt nach Wert einfärben",vo="Im Graph",Eo="Linie",xo="Füllung",Wo="Punkte",Zo="In der Legende",No="Wert in der Legende",Ao="Richtungen",Bo="4 (N, E, S, W)",Fo="8 (N, NE, E…)",Mo="16 (N, NNE, NE…)",Do="Windstill unter (leer: 0.5 m/s, oder dasselbe in km/h, mph oder Knoten)",Lo="Die erste Entität ist die Windrichtung, in Grad oder Himmelsrichtungen wie SW. Die zweite ist die Windgeschwindigkeit: ohne sie zeigen die Blätter nur, wie oft der Wind aus jeder Richtung kam.",Go="Richtung: {direction}. Geschwindigkeit: {speed}.",To="keine",Ko="Langzeitstatistiken liefern die durchschnittliche Richtung jeder Stunde. Über Norden stimmt das nur, wenn der Sensor die Richtung als Winkel erfasst (Zustandsklasse measurement_angle); sonst ergibt eine Stunde, die zwischen NNW und NNO schwankt, im Schnitt Süden. Der Verlauf ist exakt.",Ho="Fläche",Vo="Stapeln",Ro="Nicht stapeln",Po="Übereinander",jo="Auf 100 %",Jo="Farbe unter null",Uo="Beeswarm",Io="Jeden Punkt platzieren nach",Oo="Seinem Wert",qo="Der Tageszeit, zu der es geschah",Co="Größere Punkte für größere Werte",Qo="{n} Messwerte",Xo="{n}-mal an",Yo="Angezeigte Punkte",$o="Keine Messwerte",ea="Frühester – spätester",ta="Niedrigster – höchster",ra="Farbe",ia="Boxplot",na="Boxplot von {names}",_a="Höchster",oa="Oberes Quartil",aa="Median",da="Unteres Quartil",sa="Niedrigster",la="Durchschnitt",ca="Messwerte",ua="Ausreißer",ha="Whisker reichen bis",ga="1.5 × Boxhöhe (Ausreißer als Punkte)",ma="Zum niedrigsten und höchsten Wert",ba="Jeden Messwert als Punkt anzeigen",pa="Boxfarbe",fa="Bullet",ya="Bereiche hinter dem Balken",wa="Grautöne",ka="Farben der Farbbereiche",za="Ziel {target}",Sa="{style}-Diagramm von {names}",va="Kerzenchart",Ea="Eine Kerze pro",xa="Entitäten darunter: Messwerte zusammenfassen mit",Wa="Farbe bei Anstieg",Za="Farbe bei Rückgang",Na="Die anderen Entitäten darunter zeichnen als",Aa="Säulen",Ba="Eine Linie",Fa="Eröffnung",Ma="Hoch",Da="Tief",La="Schluss",Ga="Woche vom {date}",Ta="Klima",Ka="Sollwert",Ha="{low} – {high}",Va="{name} ist kein Thermostat. Wähle eine Klima-Entität.",Ra="Heizen",Pa="Vorheizen",ja="Kühlen",Ja="Abtauen",Ua="Entfeuchten",Ia="Lüfter",Oa="Untätig",qa="Aus",Ca="Säulen",Qa="Automatisch",Xa="Niedrigster bis höchster Wert je Säule",Ya="Abgerundete Enden",$a="Werte auf den Säulen anzeigen",ed="Farbe",td="Kombiniert",rd="Zeichnen als",id="Linie",nd="Säulen",_d="Fläche",od="Werteachse",ad="Automatisch (nach Einheit)",dd="Links",sd="Rechts",ld="Zusammenfassen mit",cd="Wie die Karte",ud="Durchschnitt",hd="Summe",gd="Niedrigster",md="Höchster",bd="Erster",pd="Letzter",fd="Änderung (hochzählende Zähler)",yd="24-Stunden-Uhr",wd="einmal",kd="{n}-mal",zd="{text} am Tag",Sd="{total} · meiste Aktivität {time}",vd="Spitze {value} um {time}",Ed="{name} {state}",xd="{label} pro Tag",Wd="Nichts aufgezeichnet",Zd="Jetzt",Nd="an",Ad="Durchschnittstag · letzte {n} Tage",Bd="an {on} von {of} Tagen",Fd="bisher {duration}",Md="{from} – {to}",Dd="{value} im Schnitt",Ld="Hantel",Gd="Vergleichen",Td="Niedrigster und höchster Wert im Zeitraum",Kd="Beginn des Zeitraums und jetzt",Hd="Zielwert und jetzt",Vd="Aktuellen Wert markieren",Rd="Tief",Pd="Hoch",jd="Jetzt",Jd="Ziel",Ud="Vor einer Stunde",Id="Vor {n} Stunden",Od="Vor einem Tag",qd="Vor {n} Tagen",Cd="Vor einer Woche",Qd="Vor {n} Wochen",Xd="Vor einem Monat",Yd="Vor {n} Monaten",$d="Kein Wert",es="Trichter",ts="Form",rs="Trichter (erste Stufe oben)",is="Pyramide (erste Stufe unten)",ns="Prozentwerte",_s="Anteil an der ersten Stufe",os="Anteil an der vorherigen Stufe",as="Nicht anzeigen",ds="Farbe",ss="Eine Farbe pro Entität",ls="Nach Farbbereich",cs="{style} von {names}",us="Gruppierte Balken",hs="Balken",gs="Nebeneinander",ms="Gestapelt",bs="Gestapelt auf 100 %",ps="Farbe",fs="Eine Farbe pro Datenreihe",ys="Nach Farbbereich",ws="Zeile",ks="Datenreihe",zs="Balkenfarbe",Ss="Balkendiagramm von {names}",vs="Heatmap",Es="Heatmap von {name}",xs="Gemittelte Tage",Ws="Keine Messwerte",Zs="Anordnung",Ns="Stunde nach Wochentag",As="Kalender (ein Tag pro Zelle)",Bs="Stufenlose Skala",Fs="Zellen",Ms="Quadratisch",Ds="Abgerundet",Ls="Sechseckig",Gs="Niedrigste Farbe bei",Ts="Höchste Farbe bei",Ks="Legende",Hs="Histogramm",Vs="Zählen",Rs="Zeit in jedem Bereich",Ps="Messwerte in jedem Bereich",js="Anzeigen als",Js="Anteil am Ganzen (%)",Us="Stunden oder Messwerte",Is="Anzahl der Klassen (leer: automatisch)",Os="Klassenbreite (hat Vorrang vor der Anzahl)",qs="Zwei oder mehr Entitäten",Cs="Balken nebeneinander",Qs="Balken übereinander",Xs="Wertebeschriftung entlang der Unterseite",Ys="{n} Messwerte",$s="1 Messwert",el="Linie",tl="Verlauf wird geladen…",rl="Verlauf konnte nicht geladen werden: {error}",il="Keine Messwerte in diesem Zeitraum.",nl="Nichts über null, das sich logarithmisch darstellen lässt.",_l="Lollipop",ol="Piktogramm",al="Symbol (jede Entität kann ein eigenes haben)",dl="Jedes Symbol steht für (leer: automatisch)",sl="Symbole pro Gruppe (0: keine Gruppen)",ll="Symbol für Bruchteile teilweise füllen",cl="Kreis / Ring",ul="Form",hl="Ring",gl="Kreis",ml="Zeile unter der Summe",bl="Abstand zwischen Segmenten",pl="Farbverlauf-Füllungen",fl="Polarfläche",yl="Skala",wl="Eine Skala für alle, von 0 bis zum größten Wert",kl="Jedes Segment vom Minimum bis Maximum seiner Entität",zl="Farbe",Sl="Eine Farbe pro Entität",vl="Abstufungen einer Farbe, dunkler für mehr",El="Nach Farbbereich",xl="Farbe für Abstufungen",Wl="Polarflächendiagramm von {names}",Zl="Radar",Nl="Skala",Al="Jede Achse vom Minimum bis Maximum ihrer Entität",Bl="Eine Skala für alle, von 0 bis zum größten Wert",Fl="Formen füllen",Ml="Achsenname (Entitäten mit gleichem Achsennamen werden gruppenübergreifend ausgerichtet)",Dl="Radardiagramm von {names}",Ll="Sonstige",Gl="Bereichsfläche",Tl="Durchschnitt als Linie zeichnen",Kl="Farbe",Hl="Ringe",Vl="Startwinkel (0 ist oben)",Rl="Abgerundete Enden",Pl="Sankey (Fluss)",jl="Flüsse einfärben nach",Jl="Herkunft, oder Ziel nach einem mittleren Knoten",Ul="Herkunft",Il="Ziel",Ol="Fließt von",ql="Fließt zu",Cl="Flussfarbe",Ql="Flussdiagramm: {flows}",Xl="{from} zu {to} {value}",Yl="Gib jeder Entität in ihren Optionen ein „Fließt von“ und ein „Fließt zu“.",$l="Derzeit fließt nichts.",ec="Steigung",tc="Vergleichen",rc="Den Messwert damals und jetzt",ic="Wie viel er in jedem Zeitraum gestiegen ist (Zähler)",nc="Auf oder ab",_c="Nach Gruppe",oc="Ein Anstieg ist",ac="Schlecht (rot)",dc="Gut (grün)",sc="Gruppe",lc="Jetzt",cc="{n} {unit} zuvor",uc="1 {unit} zuvor",hc="Vorherige {n} {unit}",gc="Vorherige 1 {unit}",mc="Letzte {n} {unit}",bc="Letzte 1 {unit}",pc="Stunde",fc="Stunden",yc="Tag",wc="Tage",kc="Woche",zc="Wochen",Sc="Monat",vc="Monate",Ec="{name}, {from} bis {to}",xc="kein Messwert",Wc="Sparklines",Zc="Sparkline",Nc="Linie",Ac="Fläche",Bc="Säulen",Fc="Balken unter Name und Wert",Mc="Farbe",Dc="Trend von {name}",Lc="Streamgraph",Gc="Form",Tc="Streamgraph (fließend)",Kc="Zentriert",Hc="Anteil an der Summe (100 %)",Vc="Ab null gestapelt",Rc="Reihenfolge",Pc="Größte in der Mitte",jc="Wie aufgelistet, erste unten",Jc="Namen auf den Strömen",Uc="Kanten",Ic="Summe",Oc="Sunburst",qc="Eiszapfen",Cc="Form",Qc="Vollkreis",Xc="Halbkreis",Yc="Farbe",$c="Eine Farbe pro Gruppe",eu="Nach Farbbereich",tu="Summe",ru="Sonstige",iu="Nichts anzuzeigen: Keine Entität hat einen Wert über null.",nu="Kein Messwert:",_u="Sunburst von {names}",ou="Eiszapfendiagramm von {names}",au="Zustandszeitleiste",du="Keine Zustände in diesem Zeitraum aufgezeichnet.",su="für {duration}",lu="Jetzt",cu="Messwerte, keine Zustände: Dafür eignet sich ein Liniendiagramm",uu="Treemap",hu="Farbe",gu="Eine Farbe pro Gruppe",mu="Nach Farbbereich",bu="Treemap von {names}",pu="{value} insgesamt",fu="Nichts anzuzeigen: Keine Entität hat einen Wert über null.",yu="Kein Messwert:",wu="Sonstige",ku="Trend",zu="Tief",Su="Durchschnitt",vu="Hoch",Eu="Violine",xu="Violine",Wu="Raincloud (halbe Violine, Box und Messwerte)",Zu="Box mit Median und mittlerer Hälfte",Nu="Glättung (in der Einheit der Entität, leer für automatisch)",Au="Eine Form pro",Bu="Entität",Fu="Entität und Tag",Mu="Entität und Woche",Du="Entität und Monat",Lu="Median {value}",Gu="Keine Messwerte",Tu="Raincloud",Ku="Waffel",Hu="Waffeln",Vu="Eine, aufgeteilt auf die Entitäten",Ru="Eine pro Entität, nebeneinander",Pu="Ersten Anteil groß anzeigen",ju="Wasserfall",Ju="Jeder Schritt ist",Uu="Die Änderung im Zeitraum",Iu="Sein aktueller Wert",Ou="Beim Messwert der ersten Entität zu Beginn des Zeitraums starten",qu="Summe am Ende anzeigen",Cu="Zählt abwärts (ein Anstieg hier ist ein Rückgang der Summe)",Qu="Start",Xu="Ende",Yu="Summe",$u="Keine Messwerte",eh="Wasserfalldiagramm: {bars}",th="Windrose",rh="Vorherrschend",ih="Mittlere Geschwindigkeit",nh="Stärkster",_h="Windstill",oh="Geschwindigkeit",ah="Geschwindigkeit ({unit})",dh="Zeitanteil",sh="Windrose, vorherrschend {direction} {share}",lh="Windrose, vorherrschend {direction} {share}, windstill {calm}",ch="Windrose, windstill {calm}";var uh={entity_not_found:e,unavailable:t,no_entities:r,no_matches:i,none_available:n,editor_section_entities:_,editor_section_style:o,editor_section_chart:a,editor_group_bars:d,editor_group_gauges:s,editor_group_history:l,editor_group_totals:c,editor_group_compare:u,editor_group_distribution:h,editor_period_last:g,editor_period_unit:m,editor_period_unit_hour:b,editor_period_unit_day:p,editor_period_unit_week:f,editor_period_unit_month:y,editor_source:w,editor_source_history:k,editor_source_statistics:z,editor_curve:S,editor_curve_smooth:v,editor_curve_straight:E,editor_curve_step:x,editor_color_by:W,editor_color_by_series:Z,editor_color_by_bands:N,editor_labels:A,editor_series_color:B,editor_dash:F,editor_section_limits:M,editor_section_colours:D,editor_section_display:L,editor_section_actions:G,editor_title:T,editor_style_bar:K,editor_style_thin:H,editor_style_segmented:V,editor_style_tank:R,editor_style_ring:P,editor_style_needle:j,editor_style_arc:J,editor_gauge_help:U,editor_start_angle:I,editor_end_angle:O,editor_center:q,editor_center_mode_value:C,editor_center_mode_band:Q,editor_center_mode_name:X,editor_center_mode_text:Y,editor_center_mode_none:$,editor_center_text:ee,editor_tick_labels:te,editor_show_name:re,editor_show_value:ie,editor_show_icon:ne,editor_show_target:_e,editor_show_legend:oe,editor_columns:ae,editor_sort:de,editor_sort_none:se,editor_sort_ascending:le,editor_sort_descending:ce,editor_decimals:ue,editor_unit:he,editor_animate:ge,editor_hide_unavailable:me,editor_limit:be,editor_include_heading:pe,editor_include_help:fe,editor_exclude_heading:ye,editor_exclude_help:we,editor_rule_device_class:ke,editor_rule_area:ze,editor_rule_floor:Se,editor_rule_label:ve,editor_rule_domain:Ee,editor_rule_entity:xe,editor_tap_action:We,editor_hold_action:Ze,editor_double_tap_action:Ne,editor_attribute:Ae,editor_name:Be,editor_icon:Fe,editor_min:Me,editor_max:De,editor_target:Le,editor_none:Ge,editor_card_setting:Te,editor_limit_default:Ke,editor_limit_number:He,editor_limit_entity:Ve,editor_preset:Re,editor_preset_battery:Pe,editor_preset_usage:je,editor_preset_temperature:Je,editor_preset_none:Ue,editor_preset_custom:Ie,editor_band_from:"Ab",editor_band_from_entity:qe,editor_band_from_number:Ce,editor_band_from_entity_label:Qe,editor_band_color:Xe,editor_band_custom_color:Ye,editor_band_label:$e,editor_band_icon:et,editor_color_icon:tt,editor_color_primary:rt,editor_color_green:it,editor_color_amber:nt,editor_color_red:"Rot",editor_color_blue:ot,editor_color_purple:at,editor_color_grey:dt,editor_color_custom:st,editor_add_band:lt,editor_remove_band:ct,editor_add_entity:ut,editor_move_up:ht,editor_move_down:gt,editor_remove_entity:mt,editor_show_options:bt,editor_hide_options:pt,editor_not_found:ft,editor_severity:yt,annotation_at:wt,editor_orientation:kt,editor_orientation_horizontal:zt,editor_orientation_vertical:St,editor_value_axis:vt,editor_value_grid:Et,editor_value_min:xt,editor_value_max:Wt,dist_median:Zt,dist_middle:Nt,dist_range:At,dist_count:Bt,editor_drill_down:Ft,drill_into:Mt,drill_back:Dt,drill_top:Lt,extremes_high:Gt,extremes_low:Tt,extremes_average:"Ø",editor_extremes_max:Ht,editor_extremes_min:Vt,editor_extremes_average:Rt,editor_extremes_average_none:Pt,editor_extremes_average_line:jt,editor_extremes_average_figure:Jt,editor_extremes:Ut,period_previous:It,period_next:Ot,period_return:qt,period_today:Ct,period_yesterday:Qt,period_this_week:Xt,period_last_week:Yt,period_this_month:$t,period_last_month:er,period_this_year:tr,period_last_year:rr,period_last_hour:ir,period_last_hours:nr,period_last_day:_r,period_last_days:or,period_last_week_rolling:ar,period_last_weeks:dr,period_last_month_rolling:sr,period_last_months:lr,editor_color_by_shades:cr,editor_shade_color:ur,editor_show_percent:hr,editor_center_total:gr,editor_center_average:mr,editor_center_none:br,parts_total:pr,parts_average:fr,parts_aria:yr,editor_style_scatter:wr,editor_style_bubble:kr,editor_against:zr,editor_against_entity:Sr,editor_against_time:vr,editor_dot_size:Er,editor_jitter:xr,editor_min_size:Wr,editor_max_size:Zr,editor_dot_color:Nr,editor_xy_x_axis:Ar,scatter_needs_two:Br,bubble_needs_three:Fr,scatter_role_x:Mr,bubble_role_size:Dr,chart_total:Lr,editor_x_min:Gr,editor_x_max:Tr,zoom_reset:Kr,zoom_window:Hr,zoom_window_label:Vr,editor_zoom:Rr,editor_overview:Pr,editor_annotations:jr,editor_annotation_type:"Art",editor_annotation_type_line:Ur,editor_annotation_type_band:Ir,editor_annotation_type_time:Or,editor_annotation_type_state:qr,editor_annotation_type_point:Cr,editor_annotation_add_line:Qr,editor_annotation_add_band:Xr,editor_annotation_add_time:Yr,editor_annotation_add_state:$r,editor_annotation_add_point:ei,editor_annotation_add:ti,editor_annotation_value:ri,editor_annotation_from:ii,editor_annotation_to:ni,editor_annotation_times:_i,editor_annotation_entity:oi,editor_annotation_series:ai,editor_annotation_state:di,editor_annotation_shade:si,editor_annotation_at:li,editor_annotation_at_max:ci,editor_annotation_at_min:ui,editor_annotation_at_last:hi,editor_annotation_at_first:gi,editor_annotation_label:mi,editor_annotation_color:bi,editor_annotation_dash:pi,editor_annotation_remove:fi,editor_zones:yi,editor_period_calendar:wi,editor_period_calendar_rolling:ki,editor_period_calendar_day:zi,editor_period_calendar_week:Si,editor_period_calendar_month:vi,editor_period_calendar_year:Ei,editor_period_offset:xi,editor_period_until:Wi,editor_period_until_now:Zi,editor_period_until_end:Ni,editor_period_navigate:Ai,editor_group_by:Bi,editor_group_by_none:Fi,editor_group_by_hour:Mi,editor_group_by_day:"Tag",editor_group_by_week:Li,editor_group_by_month:Gi,editor_aggregate:Ti,editor_aggregate_mean:Ki,editor_aggregate_sum:Hi,editor_aggregate_min:Vi,editor_aggregate_max:Ri,editor_aggregate_first:Pi,editor_aggregate_last:ji,editor_aggregate_change:Ji,editor_x_axis:Ui,editor_y_axis:Ii,editor_axis_labels:Oi,editor_axis_labels_outside:qi,editor_axis_labels_inside:Ci,editor_grid_horizontal:Qi,editor_grid_vertical:Xi,editor_y_min:Yi,editor_y_max:$i,editor_y_scale:en,editor_y_scale_linear:tn,editor_y_scale_log:rn,editor_tooltip:nn,editor_line_width:_n,editor_dots:on,editor_on_top:an,editor_compact:dn,editor_header:sn,editor_header_above:ln,editor_header_over:cn,editor_header_hidden:un,editor_labels_show:hn,editor_labels_show_all:gn,editor_labels_show_last:mn,editor_labels_show_minmax:bn,editor_labels_show_ends:pn,editor_labels_position:fn,editor_labels_position_auto:yn,editor_labels_position_above:wn,editor_labels_position_below:kn,editor_labels_position_center:zn,editor_labels_overlap:Sn,editor_sync:vn,editor_multiples:En,editor_multiples_scale:xn,editor_multiples_scale_auto:Wn,editor_multiples_scale_shared:Zn,editor_multiples_scale_independent:Nn,editor_multiples_columns:An,editor_set_point:Bn,editor_shading:Fn,editor_shade_fan:Mn,editor_current_color:Dn,editor_set_point_color:Ln,editor_heating_color:Gn,editor_cooling_color:Tn,editor_days:Kn,editor_day_clock_center_total:Hn,editor_day_clock_center_now:Vn,editor_day_clock_center_none:Rn,editor_bucket:Pn,editor_bucket_15:jn,editor_bucket_30:Jn,editor_bucket_60:Un,editor_aggregate_auto:In,editor_ring_color:On,editor_active:qn,editor_entity_options_none:Cn,editor_hierarchy_group_by:Qn,editor_group_by_floor:Xn,editor_group_by_area:Yn,editor_group_by_device:$n,editor_group_by_label:e_,editor_entity_groups:t_,editor_bar_labels:r_,editor_bar_labels_state:i_,editor_bar_labels_duration:n_,editor_bar_labels_both:__,editor_bar_labels_none:o_,editor_timeline_legend:a_,editor_timeline_legend_above:d_,editor_timeline_legend_hidden:s_,editor_state_colors:l_,editor_state_colors_help:c_,editor_state_colors_state:u_,editor_state_colors_color:h_,editor_state_colors_add:g_,editor_state_colors_remove:m_,editor_timeline_group:b_,editor_points_per_hour:p_,editor_graph:f_,editor_graph_line:y_,editor_graph_bar:w_,editor_graph_none:k_,editor_fill:z_,editor_fill_solid:S_,editor_fill_fade:v_,editor_fill_none:E_,editor_points:x_,editor_points_hover:W_,editor_points_always:Z_,editor_points_never:"Nie",editor_trend_labels:A_,editor_labels_hover:B_,editor_labels_always:F_,editor_labels_never:"Nie",editor_height:D_,editor_bar_spacing:L_,editor_color_transition:G_,editor_color_transition_smooth:T_,editor_color_transition_hard:K_,editor_extrema:H_,editor_average:V_,editor_trend_legend:R_,editor_trend_y_min:P_,editor_trend_y_max:j_,editor_min_range:J_,editor_y_min_secondary:U_,editor_y_max_secondary:I_,editor_min_range_secondary:O_,editor_value_factor:q_,editor_align_header:C_,editor_align_header_default:Q_,editor_align_header_left:X_,editor_align_header_right:Y_,editor_align_header_center:$_,editor_align_icon:eo,editor_align_icon_right:to,editor_align_icon_left:ro,editor_align_icon_state:io,editor_align_state:no,editor_align_state_left:_o,editor_align_state_right:oo,editor_align_state_center:ao,editor_font_size:so,editor_font_size_header:lo,editor_color_name:co,editor_color_value:uo,editor_trend_color_icon:ho,editor_trend_group:go,editor_icon_image:mo,editor_trend_tooltip:bo,editor_y_axis_side:po,editor_y_axis_side_primary:fo,editor_y_axis_side_secondary:yo,editor_entity_aggregate:wo,editor_fixed_value:ko,editor_show_state:zo,editor_show_indicator:So,editor_show_graph:vo,editor_show_line:Eo,editor_show_fill:xo,editor_show_points:Wo,editor_show_legend_entity:Zo,editor_show_legend_state:No,editor_sectors:Ao,editor_sectors_4:Bo,editor_sectors_8:Fo,editor_sectors_16:Mo,editor_calm:Do,editor_wind_roles:Lo,editor_wind_now:Go,editor_wind_none:To,editor_wind_statistics:Ko,editor_style_area:Ho,editor_stack:Vo,editor_stack_none:Ro,editor_stack_normal:Po,editor_stack_percent:jo,editor_negative_color:Jo,editor_style_beeswarm:Uo,editor_place_by:Io,editor_place_by_value:Oo,editor_place_by_time_of_day:qo,editor_size_by_value:Co,swarm_readings:Qo,swarm_events:Xo,swarm_shown:Yo,swarm_none:$o,swarm_earliest_latest:ea,swarm_lowest_highest:ta,editor_fill_color:ra,editor_style_box:ia,box_aria:na,box_highest:_a,box_upper_quartile:oa,box_median:aa,box_lower_quartile:da,box_lowest:sa,box_mean:la,box_count:ca,box_outliers:ua,editor_whiskers:ha,editor_whiskers_tukey:ga,editor_whiskers_range:ma,editor_readings:ba,editor_box_color:pa,editor_style_bullet:fa,editor_ranges:ya,editor_ranges_shades:wa,editor_ranges_colours:ka,compare_target:za,chart_aria:Sa,editor_style_candlestick:va,editor_candle_by:Ea,editor_under_aggregate:xa,editor_up_color:Wa,editor_down_color:Za,editor_underneath:Na,editor_underneath_columns:Aa,editor_underneath_line:Ba,candle_open:Fa,candle_high:Ma,candle_low:Da,candle_close:La,candle_week_of:Ga,editor_style_climate:Ta,climate_set_point:Ka,climate_range:Ha,climate_not_thermostat:Va,climate_action_heating:Ra,climate_action_preheating:Pa,climate_action_cooling:ja,climate_action_defrosting:Ja,climate_action_drying:Ua,climate_action_fan:Ia,climate_action_idle:Oa,climate_action_off:"Aus",editor_style_column:Ca,editor_group_by_auto:Qa,editor_range:Xa,editor_rounded:Ya,editor_column_labels:$a,editor_column_color:ed,editor_style_combined:td,editor_series_type:rd,editor_series_type_line:id,editor_series_type_column:nd,editor_series_type_area:_d,editor_series_axis:od,editor_series_axis_auto:ad,editor_series_axis_left:dd,editor_series_axis_right:sd,editor_series_aggregate:ld,editor_series_aggregate_auto:cd,editor_series_aggregate_mean:ud,editor_series_aggregate_sum:hd,editor_series_aggregate_min:gd,editor_series_aggregate_max:md,editor_series_aggregate_first:bd,editor_series_aggregate_last:pd,editor_series_aggregate_change:fd,editor_style_day_clock:yd,day_clock_times_one:wd,day_clock_times:kd,day_clock_a_day:zd,day_clock_busiest:Sd,day_clock_peak:vd,day_clock_state:Ed,day_clock_per_day:xd,day_clock_no_data:Wd,day_clock_now:Zd,day_clock_on:"an",day_clock_average:Ad,day_clock_on_days:Bd,day_clock_so_far:Fd,day_clock_range:Md,day_clock_average_value:Dd,editor_style_dumbbell:Ld,editor_ends:Gd,editor_ends_range:Td,editor_ends_then:Kd,editor_ends_target:Hd,editor_show_now:Vd,dumbbell_low:Rd,dumbbell_high:Pd,dumbbell_now:jd,dumbbell_target:Jd,dumbbell_ago_hour_one:Ud,dumbbell_ago_hour:Id,dumbbell_ago_day_one:Od,dumbbell_ago_day:qd,dumbbell_ago_week_one:Cd,dumbbell_ago_week:Qd,dumbbell_ago_month_one:Xd,dumbbell_ago_month:Yd,dumbbell_no_value:$d,editor_style_funnel:es,editor_funnel_shape:ts,editor_funnel_shape_funnel:rs,editor_funnel_shape_pyramid:is,editor_funnel_percent_of:ns,editor_funnel_percent_of_first:_s,editor_funnel_percent_of_previous:os,editor_funnel_percent_of_none:as,editor_funnel_color_by:ds,editor_funnel_color_by_series:ss,editor_funnel_color_by_bands:ls,funnel_aria:cs,editor_style_grouped_bars:us,editor_mode:hs,editor_mode_grouped:gs,editor_mode_stacked:ms,editor_mode_percent:bs,editor_bars_color_by:ps,editor_bars_color_by_series:fs,editor_bars_color_by_bands:ys,editor_bar_group:ws,editor_bar_series:ks,editor_bar_color:zs,grouped_bars_aria:Ss,editor_style_heatmap:vs,heatmap_aria:Es,heatmap_hours:xs,heatmap_empty:Ws,editor_grid:Zs,editor_grid_hours:Ns,editor_grid_calendar:As,editor_color_by_scale:Bs,editor_cell_shape:Fs,editor_cell_shape_square:Ms,editor_cell_shape_rounded:Ds,editor_cell_shape_hexagon:Ls,editor_color_min:Gs,editor_color_max:Ts,editor_legend:Ks,editor_style_histogram:Hs,editor_count:Vs,editor_count_time:Rs,editor_count_readings:Ps,editor_show_as:js,editor_show_as_percent:Js,editor_show_as_total:Us,editor_bins:Is,editor_bin_width:Os,editor_bars:qs,editor_bars_side:Cs,editor_bars_overlap:Qs,editor_hist_x_axis:Xs,histogram_readings:Ys,histogram_reading:$s,editor_style_line:el,chart_loading:tl,chart_error:rl,chart_no_data:il,chart_log_nothing:nl,editor_style_lollipop:_l,editor_style_pictograph:ol,editor_unit_icon:al,editor_per_icon:dl,editor_group_size:sl,editor_partial:ll,editor_style_pie:cl,editor_shape:ul,editor_shape_donut:hl,editor_shape_pie:gl,editor_center_label:ml,editor_gap:bl,editor_gradient:pl,editor_style_polar_area:fl,editor_polar_scale:yl,editor_polar_scale_shared:wl,editor_polar_scale_limits:kl,editor_polar_color_by:zl,editor_polar_color_by_series:Sl,editor_polar_color_by_shades:vl,editor_polar_color_by_bands:El,editor_polar_color:xl,polar_area_aria:Wl,editor_style_radar:Zl,editor_radar_scale:Nl,editor_radar_scale_limits:Al,editor_radar_scale_shared:Bl,editor_radar_fill:Fl,editor_radar_axis:Ml,radar_aria:Dl,radar_other:Ll,editor_style_range_area:Gl,editor_mean:Tl,editor_range_color:Kl,editor_style_rings:Hl,editor_rings_start_angle:Vl,editor_rounded_ends:Rl,editor_style_sankey:Pl,editor_link_color:jl,editor_link_color_auto:Jl,editor_link_color_source:Ul,editor_link_color_target:Il,editor_from:Ol,editor_to:ql,editor_flow_color:Cl,sankey_aria:Ql,sankey_flow:Xl,sankey_no_flows:Yl,sankey_nothing:$l,editor_style_slope:ec,editor_measure:tc,editor_measure_value:rc,editor_measure_change:ic,editor_color_by_direction:nc,editor_color_by_group:_c,editor_increase:oc,editor_increase_bad:ac,editor_increase_good:dc,editor_group:sc,slope_now:lc,slope_ago:cc,slope_ago_one:uc,slope_previous:hc,slope_previous_one:gc,slope_last:mc,slope_last_one:bc,slope_unit_hour:pc,slope_unit_hour_other:fc,slope_unit_day:"Tag",slope_unit_day_other:wc,slope_unit_week:kc,slope_unit_week_other:zc,slope_unit_month:Sc,slope_unit_month_other:vc,slope_entity_aria:Ec,slope_no_reading:xc,editor_style_sparkline:Wc,editor_spark:Zc,editor_spark_line:Nc,editor_spark_area:Ac,editor_spark_column:Bc,editor_spark_bar:Fc,editor_spark_color:Mc,spark_aria:Dc,editor_style_streamgraph:Lc,editor_baseline:Gc,editor_baseline_wiggle:Tc,editor_baseline_centre:Kc,editor_baseline_share:Hc,editor_baseline_zero:Vc,editor_stream_order:Rc,editor_stream_order_inside_out:Pc,editor_stream_order_listed:jc,editor_stream_labels:Jc,editor_stream_curve:Uc,stream_total:Ic,editor_style_sunburst:Oc,editor_style_icicle:qc,editor_sunburst_shape:Cc,editor_sunburst_shape_full:Qc,editor_sunburst_shape_half:Xc,editor_hierarchy_color_by:Yc,editor_hierarchy_color_by_group:$c,editor_hierarchy_color_by_bands:eu,hierarchy_total:tu,hierarchy_other:ru,hierarchy_empty:iu,hierarchy_no_reading:nu,sunburst_aria:_u,icicle_aria:ou,editor_style_timeline:au,timeline_no_states:du,timeline_for:su,timeline_now:lu,timeline_measurement:cu,editor_style_treemap:uu,editor_treemap_color_by:hu,editor_treemap_color_by_group:gu,editor_treemap_color_by_bands:mu,treemap_aria:bu,treemap_total:pu,treemap_empty:fu,treemap_no_reading:yu,treemap_other:wu,editor_style_trend:ku,trend_min:zu,trend_avg:Su,trend_max:vu,editor_style_violin:Eu,editor_shape_violin:xu,editor_shape_raincloud:Wu,editor_box:Zu,editor_bandwidth:Nu,editor_split_by:Au,editor_split_by_none:Bu,editor_split_by_day:Fu,editor_split_by_week:Mu,editor_split_by_month:Du,violin_median:Lu,violin_none:Gu,violin_raincloud:Tu,editor_style_waffle:Ku,editor_waffles:Hu,editor_waffles_one:Vu,editor_waffles_each:Ru,editor_headline:Pu,editor_style_waterfall:ju,editor_steps:Ju,editor_steps_change:Uu,editor_steps_current:Iu,editor_start_from_first:Ou,editor_total:qu,editor_waterfall_invert:Cu,waterfall_start:Qu,waterfall_end:Xu,waterfall_total:Yu,waterfall_no_readings:$u,waterfall_aria:eh,editor_style_wind_rose:th,wind_prevailing:rh,wind_mean_speed:ih,wind_strongest:nh,wind_calm:_h,wind_speed:oh,wind_speed_unit:ah,wind_share:dh,wind_aria:sh,wind_aria_calm:lh,wind_aria_still:ch};export{wt as annotation_at,na as box_aria,ca as box_count,_a as box_highest,da as box_lower_quartile,sa as box_lowest,la as box_mean,aa as box_median,ua as box_outliers,oa as box_upper_quartile,Fr as bubble_needs_three,Dr as bubble_role_size,La as candle_close,Ma as candle_high,Da as candle_low,Fa as candle_open,Ga as candle_week_of,Sa as chart_aria,rl as chart_error,tl as chart_loading,nl as chart_log_nothing,il as chart_no_data,Lr as chart_total,ja as climate_action_cooling,Ja as climate_action_defrosting,Ua as climate_action_drying,Ia as climate_action_fan,Ra as climate_action_heating,Oa as climate_action_idle,qa as climate_action_off,Pa as climate_action_preheating,Va as climate_not_thermostat,Ha as climate_range,Ka as climate_set_point,za as compare_target,zd as day_clock_a_day,Ad as day_clock_average,Dd as day_clock_average_value,Sd as day_clock_busiest,Wd as day_clock_no_data,Zd as day_clock_now,Nd as day_clock_on,Bd as day_clock_on_days,vd as day_clock_peak,xd as day_clock_per_day,Md as day_clock_range,Fd as day_clock_so_far,Ed as day_clock_state,kd as day_clock_times,wd as day_clock_times_one,uh as default,Bt as dist_count,Zt as dist_median,Nt as dist_middle,At as dist_range,Dt as drill_back,Mt as drill_into,Lt as drill_top,qd as dumbbell_ago_day,Od as dumbbell_ago_day_one,Id as dumbbell_ago_hour,Ud as dumbbell_ago_hour_one,Yd as dumbbell_ago_month,Xd as dumbbell_ago_month_one,Qd as dumbbell_ago_week,Cd as dumbbell_ago_week_one,Pd as dumbbell_high,Rd as dumbbell_low,$d as dumbbell_no_value,jd as dumbbell_now,Jd as dumbbell_target,qn as editor_active,lt as editor_add_band,ut as editor_add_entity,zr as editor_against,Sr as editor_against_entity,vr as editor_against_time,Ti as editor_aggregate,In as editor_aggregate_auto,Ji as editor_aggregate_change,Pi as editor_aggregate_first,ji as editor_aggregate_last,Ri as editor_aggregate_max,Ki as editor_aggregate_mean,Vi as editor_aggregate_min,Hi as editor_aggregate_sum,C_ as editor_align_header,$_ as editor_align_header_center,Q_ as editor_align_header_default,X_ as editor_align_header_left,Y_ as editor_align_header_right,eo as editor_align_icon,ro as editor_align_icon_left,to as editor_align_icon_right,io as editor_align_icon_state,no as editor_align_state,ao as editor_align_state_center,_o as editor_align_state_left,oo as editor_align_state_right,ge as editor_animate,ti as editor_annotation_add,Xr as editor_annotation_add_band,Qr as editor_annotation_add_line,ei as editor_annotation_add_point,$r as editor_annotation_add_state,Yr as editor_annotation_add_time,li as editor_annotation_at,gi as editor_annotation_at_first,hi as editor_annotation_at_last,ci as editor_annotation_at_max,ui as editor_annotation_at_min,bi as editor_annotation_color,pi as editor_annotation_dash,oi as editor_annotation_entity,ii as editor_annotation_from,mi as editor_annotation_label,fi as editor_annotation_remove,ai as editor_annotation_series,si as editor_annotation_shade,di as editor_annotation_state,_i as editor_annotation_times,ni as editor_annotation_to,Jr as editor_annotation_type,Ir as editor_annotation_type_band,Ur as editor_annotation_type_line,Cr as editor_annotation_type_point,qr as editor_annotation_type_state,Or as editor_annotation_type_time,ri as editor_annotation_value,jr as editor_annotations,Ae as editor_attribute,V_ as editor_average,Oi as editor_axis_labels,Ci as editor_axis_labels_inside,qi as editor_axis_labels_outside,Xe as editor_band_color,Ye as editor_band_custom_color,Oe as editor_band_from,qe as editor_band_from_entity,Qe as editor_band_from_entity_label,Ce as editor_band_from_number,et as editor_band_icon,$e as editor_band_label,Nu as editor_bandwidth,zs as editor_bar_color,ws as editor_bar_group,r_ as editor_bar_labels,__ as editor_bar_labels_both,n_ as editor_bar_labels_duration,o_ as editor_bar_labels_none,i_ as editor_bar_labels_state,ks as editor_bar_series,L_ as editor_bar_spacing,qs as editor_bars,ps as editor_bars_color_by,ys as editor_bars_color_by_bands,fs as editor_bars_color_by_series,Qs as editor_bars_overlap,Cs as editor_bars_side,Gc as editor_baseline,Kc as editor_baseline_centre,Hc as editor_baseline_share,Tc as editor_baseline_wiggle,Vc as editor_baseline_zero,Os as editor_bin_width,Is as editor_bins,Zu as editor_box,pa as editor_box_color,Pn as editor_bucket,jn as editor_bucket_15,Jn as editor_bucket_30,Un as editor_bucket_60,Do as editor_calm,Ea as editor_candle_by,Te as editor_card_setting,Fs as editor_cell_shape,Ls as editor_cell_shape_hexagon,Ds as editor_cell_shape_rounded,Ms as editor_cell_shape_square,q as editor_center,mr as editor_center_average,ml as editor_center_label,Q as editor_center_mode_band,X as editor_center_mode_name,$ as editor_center_mode_none,Y as editor_center_mode_text,C as editor_center_mode_value,br as editor_center_none,ee as editor_center_text,gr as editor_center_total,nt as editor_color_amber,ot as editor_color_blue,W as editor_color_by,N as editor_color_by_bands,nc as editor_color_by_direction,_c as editor_color_by_group,Bs as editor_color_by_scale,Z as editor_color_by_series,cr as editor_color_by_shades,st as editor_color_custom,it as editor_color_green,dt as editor_color_grey,tt as editor_color_icon,Ts as editor_color_max,Gs as editor_color_min,co as editor_color_name,rt as editor_color_primary,at as editor_color_purple,_t as editor_color_red,G_ as editor_color_transition,K_ as editor_color_transition_hard,T_ as editor_color_transition_smooth,uo as editor_color_value,ed as editor_column_color,$a as editor_column_labels,ae as editor_columns,dn as editor_compact,Tn as editor_cooling_color,Vs as editor_count,Ps as editor_count_readings,Rs as editor_count_time,Dn as editor_current_color,S as editor_curve,v as editor_curve_smooth,x as editor_curve_step,E as editor_curve_straight,F as editor_dash,Rn as editor_day_clock_center_none,Vn as editor_day_clock_center_now,Hn as editor_day_clock_center_total,Kn as editor_days,ue as editor_decimals,Nr as editor_dot_color,Er as editor_dot_size,on as editor_dots,Ne as editor_double_tap_action,Za as editor_down_color,Ft as editor_drill_down,O as editor_end_angle,Gd as editor_ends,Td as editor_ends_range,Hd as editor_ends_target,Kd as editor_ends_then,wo as editor_entity_aggregate,t_ as editor_entity_groups,Cn as editor_entity_options_none,ye as editor_exclude_heading,we as editor_exclude_help,H_ as editor_extrema,Ut as editor_extremes,Rt as editor_extremes_average,Jt as editor_extremes_average_figure,jt as editor_extremes_average_line,Pt as editor_extremes_average_none,Ht as editor_extremes_max,Vt as editor_extremes_min,z_ as editor_fill,ra as editor_fill_color,v_ as editor_fill_fade,E_ as editor_fill_none,S_ as editor_fill_solid,ko as editor_fixed_value,Cl as editor_flow_color,so as editor_font_size,lo as editor_font_size_header,Ol as editor_from,ds as editor_funnel_color_by,ls as editor_funnel_color_by_bands,ss as editor_funnel_color_by_series,ns as editor_funnel_percent_of,_s as editor_funnel_percent_of_first,as as editor_funnel_percent_of_none,os as editor_funnel_percent_of_previous,ts as editor_funnel_shape,rs as editor_funnel_shape_funnel,is as editor_funnel_shape_pyramid,bl as editor_gap,U as editor_gauge_help,pl as editor_gradient,f_ as editor_graph,w_ as editor_graph_bar,y_ as editor_graph_line,k_ as editor_graph_none,Zs as editor_grid,As as editor_grid_calendar,Qi as editor_grid_horizontal,Ns as editor_grid_hours,Xi as editor_grid_vertical,sc as editor_group,d as editor_group_bars,Bi as editor_group_by,Yn as editor_group_by_area,Qa as editor_group_by_auto,Di as editor_group_by_day,$n as editor_group_by_device,Xn as editor_group_by_floor,Mi as editor_group_by_hour,e_ as editor_group_by_label,Gi as editor_group_by_month,Fi as editor_group_by_none,Li as editor_group_by_week,u as editor_group_compare,h as editor_group_distribution,s as editor_group_gauges,l as editor_group_history,sl as editor_group_size,c as editor_group_totals,sn as editor_header,ln as editor_header_above,un as editor_header_hidden,cn as editor_header_over,Pu as editor_headline,Gn as editor_heating_color,D_ as editor_height,pt as editor_hide_options,me as editor_hide_unavailable,Yc as editor_hierarchy_color_by,eu as editor_hierarchy_color_by_bands,$c as editor_hierarchy_color_by_group,Qn as editor_hierarchy_group_by,Xs as editor_hist_x_axis,Ze as editor_hold_action,Fe as editor_icon,mo as editor_icon_image,pe as editor_include_heading,fe as editor_include_help,oc as editor_increase,ac as editor_increase_bad,dc as editor_increase_good,xr as editor_jitter,A as editor_labels,F_ as editor_labels_always,B_ as editor_labels_hover,M_ as editor_labels_never,Sn as editor_labels_overlap,fn as editor_labels_position,wn as editor_labels_position_above,yn as editor_labels_position_auto,kn as editor_labels_position_below,zn as editor_labels_position_center,hn as editor_labels_show,gn as editor_labels_show_all,pn as editor_labels_show_ends,mn as editor_labels_show_last,bn as editor_labels_show_minmax,Ks as editor_legend,be as editor_limit,Ke as editor_limit_default,Ve as editor_limit_entity,He as editor_limit_number,_n as editor_line_width,jl as editor_link_color,Jl as editor_link_color_auto,Ul as editor_link_color_source,Il as editor_link_color_target,De as editor_max,Zr as editor_max_size,Tl as editor_mean,tc as editor_measure,ic as editor_measure_change,rc as editor_measure_value,Me as editor_min,J_ as editor_min_range,O_ as editor_min_range_secondary,Wr as editor_min_size,hs as editor_mode,gs as editor_mode_grouped,bs as editor_mode_percent,ms as editor_mode_stacked,gt as editor_move_down,ht as editor_move_up,En as editor_multiples,An as editor_multiples_columns,xn as editor_multiples_scale,Wn as editor_multiples_scale_auto,Nn as editor_multiples_scale_independent,Zn as editor_multiples_scale_shared,Be as editor_name,Jo as editor_negative_color,Ge as editor_none,ft as editor_not_found,an as editor_on_top,kt as editor_orientation,zt as editor_orientation_horizontal,St as editor_orientation_vertical,Pr as editor_overview,ll as editor_partial,dl as editor_per_icon,wi as editor_period_calendar,zi as editor_period_calendar_day,vi as editor_period_calendar_month,ki as editor_period_calendar_rolling,Si as editor_period_calendar_week,Ei as editor_period_calendar_year,g as editor_period_last,Ai as editor_period_navigate,xi as editor_period_offset,m as editor_period_unit,p as editor_period_unit_day,b as editor_period_unit_hour,y as editor_period_unit_month,f as editor_period_unit_week,Wi as editor_period_until,Ni as editor_period_until_end,Zi as editor_period_until_now,Io as editor_place_by,qo as editor_place_by_time_of_day,Oo as editor_place_by_value,x_ as editor_points,Z_ as editor_points_always,W_ as editor_points_hover,N_ as editor_points_never,p_ as editor_points_per_hour,xl as editor_polar_color,zl as editor_polar_color_by,El as editor_polar_color_by_bands,Sl as editor_polar_color_by_series,vl as editor_polar_color_by_shades,yl as editor_polar_scale,kl as editor_polar_scale_limits,wl as editor_polar_scale_shared,Re as editor_preset,Pe as editor_preset_battery,Ie as editor_preset_custom,Ue as editor_preset_none,Je as editor_preset_temperature,je as editor_preset_usage,Ml as editor_radar_axis,Fl as editor_radar_fill,Nl as editor_radar_scale,Al as editor_radar_scale_limits,Bl as editor_radar_scale_shared,Xa as editor_range,Kl as editor_range_color,ya as editor_ranges,ka as editor_ranges_colours,wa as editor_ranges_shades,ba as editor_readings,ct as editor_remove_band,mt as editor_remove_entity,On as editor_ring_color,Vl as editor_rings_start_angle,Ya as editor_rounded,Rl as editor_rounded_ends,ze as editor_rule_area,ke as editor_rule_device_class,Ee as editor_rule_domain,xe as editor_rule_entity,Se as editor_rule_floor,ve as editor_rule_label,G as editor_section_actions,a as editor_section_chart,D as editor_section_colours,L as editor_section_display,_ as editor_section_entities,M as editor_section_limits,o as editor_section_style,Ao as editor_sectors,Mo as editor_sectors_16,Bo as editor_sectors_4,Fo as editor_sectors_8,ld as editor_series_aggregate,cd as editor_series_aggregate_auto,fd as editor_series_aggregate_change,bd as editor_series_aggregate_first,pd as editor_series_aggregate_last,md as editor_series_aggregate_max,ud as editor_series_aggregate_mean,gd as editor_series_aggregate_min,hd as editor_series_aggregate_sum,od as editor_series_axis,ad as editor_series_axis_auto,dd as editor_series_axis_left,sd as editor_series_axis_right,B as editor_series_color,rd as editor_series_type,_d as editor_series_type_area,nd as editor_series_type_column,id as editor_series_type_line,Bn as editor_set_point,Ln as editor_set_point_color,yt as editor_severity,ur as editor_shade_color,Mn as editor_shade_fan,Fn as editor_shading,ul as editor_shape,hl as editor_shape_donut,gl as editor_shape_pie,Wu as editor_shape_raincloud,xu as editor_shape_violin,js as editor_show_as,Js as editor_show_as_percent,Us as editor_show_as_total,xo as editor_show_fill,vo as editor_show_graph,ne as editor_show_icon,So as editor_show_indicator,oe as editor_show_legend,Zo as editor_show_legend_entity,No as editor_show_legend_state,Eo as editor_show_line,re as editor_show_name,Vd as editor_show_now,bt as editor_show_options,hr as editor_show_percent,Wo as editor_show_points,zo as editor_show_state,_e as editor_show_target,ie as editor_show_value,Co as editor_size_by_value,de as editor_sort,le as editor_sort_ascending,ce as editor_sort_descending,se as editor_sort_none,w as editor_source,k as editor_source_history,z as editor_source_statistics,Zc as editor_spark,Ac as editor_spark_area,Fc as editor_spark_bar,Mc as editor_spark_color,Bc as editor_spark_column,Nc as editor_spark_line,Au as editor_split_by,Fu as editor_split_by_day,Du as editor_split_by_month,Bu as editor_split_by_none,Mu as editor_split_by_week,Vo as editor_stack,Ro as editor_stack_none,Po as editor_stack_normal,jo as editor_stack_percent,I as editor_start_angle,Ou as editor_start_from_first,l_ as editor_state_colors,g_ as editor_state_colors_add,h_ as editor_state_colors_color,c_ as editor_state_colors_help,m_ as editor_state_colors_remove,u_ as editor_state_colors_state,Ju as editor_steps,Uu as editor_steps_change,Iu as editor_steps_current,Uc as editor_stream_curve,Jc as editor_stream_labels,Rc as editor_stream_order,Pc as editor_stream_order_inside_out,jc as editor_stream_order_listed,J as editor_style_arc,Ho as editor_style_area,K as editor_style_bar,Uo as editor_style_beeswarm,ia as editor_style_box,kr as editor_style_bubble,fa as editor_style_bullet,va as editor_style_candlestick,Ta as editor_style_climate,Ca as editor_style_column,td as editor_style_combined,yd as editor_style_day_clock,Ld as editor_style_dumbbell,es as editor_style_funnel,us as editor_style_grouped_bars,vs as editor_style_heatmap,Hs as editor_style_histogram,qc as editor_style_icicle,el as editor_style_line,_l as editor_style_lollipop,j as editor_style_needle,ol as editor_style_pictograph,cl as editor_style_pie,fl as editor_style_polar_area,Zl as editor_style_radar,Gl as editor_style_range_area,P as editor_style_ring,Hl as editor_style_rings,Pl as editor_style_sankey,wr as editor_style_scatter,V as editor_style_segmented,ec as editor_style_slope,Wc as editor_style_sparkline,Lc as editor_style_streamgraph,Oc as editor_style_sunburst,R as editor_style_tank,H as editor_style_thin,au as editor_style_timeline,uu as editor_style_treemap,ku as editor_style_trend,Eu as editor_style_violin,Ku as editor_style_waffle,ju as editor_style_waterfall,th as editor_style_wind_rose,Cc as editor_sunburst_shape,Qc as editor_sunburst_shape_full,Xc as editor_sunburst_shape_half,vn as editor_sync,We as editor_tap_action,Le as editor_target,te as editor_tick_labels,b_ as editor_timeline_group,a_ as editor_timeline_legend,d_ as editor_timeline_legend_above,s_ as editor_timeline_legend_hidden,T as editor_title,ql as editor_to,nn as editor_tooltip,qu as editor_total,hu as editor_treemap_color_by,mu as editor_treemap_color_by_bands,gu as editor_treemap_color_by_group,ho as editor_trend_color_icon,go as editor_trend_group,A_ as editor_trend_labels,R_ as editor_trend_legend,bo as editor_trend_tooltip,j_ as editor_trend_y_max,P_ as editor_trend_y_min,xa as editor_under_aggregate,Na as editor_underneath,Aa as editor_underneath_columns,Ba as editor_underneath_line,he as editor_unit,al as editor_unit_icon,Wa as editor_up_color,vt as editor_value_axis,q_ as editor_value_factor,Et as editor_value_grid,Wt as editor_value_max,xt as editor_value_min,Hu as editor_waffles,Ru as editor_waffles_each,Vu as editor_waffles_one,Cu as editor_waterfall_invert,ha as editor_whiskers,ma as editor_whiskers_range,ga as editor_whiskers_tukey,To as editor_wind_none,Go as editor_wind_now,Lo as editor_wind_roles,Ko as editor_wind_statistics,Ui as editor_x_axis,Tr as editor_x_max,Gr as editor_x_min,Ar as editor_xy_x_axis,Ii as editor_y_axis,po as editor_y_axis_side,fo as editor_y_axis_side_primary,yo as editor_y_axis_side_secondary,$i as editor_y_max,I_ as editor_y_max_secondary,Yi as editor_y_min,U_ as editor_y_min_secondary,en as editor_y_scale,tn as editor_y_scale_linear,rn as editor_y_scale_log,yi as editor_zones,Rr as editor_zoom,e as entity_not_found,Kt as extremes_average,Gt as extremes_high,Tt as extremes_low,cs as funnel_aria,Ss as grouped_bars_aria,Es as heatmap_aria,Ws as heatmap_empty,xs as heatmap_hours,iu as hierarchy_empty,nu as hierarchy_no_reading,ru as hierarchy_other,tu as hierarchy_total,$s as histogram_reading,Ys as histogram_readings,ou as icicle_aria,r as no_entities,i as no_matches,n as none_available,yr as parts_aria,fr as parts_average,pr as parts_total,_r as period_last_day,or as period_last_days,ir as period_last_hour,nr as period_last_hours,er as period_last_month,sr as period_last_month_rolling,lr as period_last_months,Yt as period_last_week,ar as period_last_week_rolling,dr as period_last_weeks,rr as period_last_year,Ot as period_next,It as period_previous,qt as period_return,$t as period_this_month,Xt as period_this_week,tr as period_this_year,Ct as period_today,Qt as period_yesterday,Wl as polar_area_aria,Dl as radar_aria,Ll as radar_other,Ql as sankey_aria,Xl as sankey_flow,Yl as sankey_no_flows,$l as sankey_nothing,Br as scatter_needs_two,Mr as scatter_role_x,cc as slope_ago,uc as slope_ago_one,Ec as slope_entity_aria,mc as slope_last,bc as slope_last_one,xc as slope_no_reading,lc as slope_now,hc as slope_previous,gc as slope_previous_one,yc as slope_unit_day,wc as slope_unit_day_other,pc as slope_unit_hour,fc as slope_unit_hour_other,Sc as slope_unit_month,vc as slope_unit_month_other,kc as slope_unit_week,zc as slope_unit_week_other,Dc as spark_aria,Ic as stream_total,_u as sunburst_aria,ea as swarm_earliest_latest,Xo as swarm_events,ta as swarm_lowest_highest,$o as swarm_none,Qo as swarm_readings,Yo as swarm_shown,su as timeline_for,cu as timeline_measurement,du as timeline_no_states,lu as timeline_now,bu as treemap_aria,fu as treemap_empty,yu as treemap_no_reading,wu as treemap_other,pu as treemap_total,Su as trend_avg,vu as trend_max,zu as trend_min,t as unavailable,Lu as violin_median,Gu as violin_none,Tu as violin_raincloud,eh as waterfall_aria,Xu as waterfall_end,$u as waterfall_no_readings,Qu as waterfall_start,Yu as waterfall_total,sh as wind_aria,lh as wind_aria_calm,ch as wind_aria_still,_h as wind_calm,ih as wind_mean_speed,rh as wind_prevailing,dh as wind_share,oh as wind_speed,ah as wind_speed_unit,nh as wind_strongest,Kr as zoom_reset,Hr as zoom_window,Vr as zoom_window_label}; +//# sourceMappingURL=chartdeck-card.de-aHFDhWpe.js.map diff --git a/dist/chartdeck-card.de-aHFDhWpe.js.map b/dist/chartdeck-card.de-aHFDhWpe.js.map new file mode 100644 index 0000000..eda68bb --- /dev/null +++ b/dist/chartdeck-card.de-aHFDhWpe.js.map @@ -0,0 +1 @@ +{"version":3,"file":"chartdeck-card.de-aHFDhWpe.js","sources":[],"sourcesContent":[],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/chartdeck-card.es-Bjbhmsp-.js b/dist/chartdeck-card.es-Bjbhmsp-.js new file mode 100644 index 0000000..18e4605 --- /dev/null +++ b/dist/chartdeck-card.es-Bjbhmsp-.js @@ -0,0 +1,2 @@ +const e="Entidad no encontrada",o="No disponible",a="Añade una entidad en el editor para empezar.",r="Ninguna entidad coincide ahora mismo.",t="Ninguna de estas entidades está disponible.",i="Entidades",d="Estilo",_="Gráfico",n="Barras",l="Indicadores",s="Gráficos de historial",c="Partes de un total",m="Comparaciones",u="Distribuciones",p="Mostrar los últimos",b="Unidad",g="Horas",y="Días",h="Semanas",v="Meses",f="Lecturas de",x="Historial (cada cambio)",w="Estadísticas a largo plazo",C="Forma de la línea",j="Suave",E="Recta",M="Escalones",k="Color",z="Un color por entidad",q="Por banda de color",N="Mostrar valores en los puntos",P="Color de la línea",S="Discontinua",A="Límites",D="Colores",L="Visualización",H="Acciones",T="Título",V="Barra",R="Fina",U="Segmentada",G="Depósito",B="Anillo",F="Aguja",I="Arco",O="Los ángulos están en grados, en sentido horario desde arriba: -90 es la izquierda y 90 la derecha. Déjalos vacíos para la forma habitual del estilo.",J="Ángulo inicial",Q="Ángulo final",W="En el centro",Z="El valor",K="La etiqueta de la banda de color",X="El nombre",Y="Mi propio texto",$="Nada",ee="Texto",oe="Números en la escala",ae="Mostrar nombre",re="Mostrar valor",te="Mostrar icono",ie="Mostrar objetivo",de="Mostrar leyenda",_e="Columnas",ne="Ordenar",le="Según la lista",se="El más bajo primero",ce="El más alto primero",me="Decimales",ue="Unidad",pe="Animar",be="Ocultar entidades no disponibles",ge="Mostrar como máximo",ye="Mostrar también todas las entidades que coincidan",he="Los dispositivos nuevos aparecen sin editar la tarjeta. Elige varios de un mismo tipo para que coincida cualquiera de ellos; los de tipos distintos deben coincidir todos.",ve="Excluir",fe="Las entidades que coincidan se excluyen si coinciden con alguno de estos.",xe="Clase de dispositivo",we="Áreas",Ce="Plantas",je="Etiquetas",Ee="Dominios",Me="Entidades",ke="Acción al tocar",ze="Acción al mantener pulsado",qe="Acción al tocar dos veces",Ne="Atributo (en lugar del estado)",Pe="Nombre",Se="Icono",Ae="Mínimo",De="Máximo",Le="Objetivo",He="Ninguno",Te="ajuste de la tarjeta",Ve="Predeterminado ({value})",Re="Número",Ue="Entidad",Ge="Preajuste",Be="Batería (bajo es malo)",Fe="Consumo (alto es malo)",Ie="Temperatura",Oe="Ninguno",Je="Personalizado",Qe="Desde",We="Empezar desde una entidad",Ze="Empezar desde un número",Ke="Empieza en esta entidad",Xe="Color",Ye="Color CSS",$e="Etiqueta",eo="Icono",oo="Colorear los iconos según su banda",ao="Principal",ro="Verde",to="Ámbar",io="Rojo",_o="Azul",no="Morado",lo="Gris",so="Personalizado…",co="Añadir banda",mo="Eliminar banda",uo="Añadir entidad",po="Subir",bo="Bajar",go="Eliminar entidad",yo="Mostrar opciones",ho="Ocultar opciones",vo="{entity} (no encontrada)",fo="Colores",xo="{label} a las {time}",wo="Dirección",Co="Horizontal",jo="Vertical",Eo="Etiquetas de valor",Mo="Líneas en cada etiqueta de valor",ko="Valor más bajo mostrado",zo="Valor más alto mostrado",qo="Mediana",No="Mitad central",Po="Mínimo – máximo",So="Lecturas",Ao="Toca un grupo para ver de qué se compone",Do="{label}. Ver de qué se compone",Lo="Volver a {name}",Ho="Todo",To="Máx.",Vo="Mín.",Ro="Media",Uo="Marcar la lectura más alta",Go="Marcar la lectura más baja",Bo="Media",Fo="No mostrar",Io="Línea a lo ancho del gráfico",Oo="Solo la cifra",Jo="Marcar máximo, mínimo y media",Qo="Periodo anterior",Wo="Periodo siguiente",Zo="Volver a {label}",Ko="Hoy",Xo="Ayer",Yo="Esta semana",$o="La semana pasada",ea="Este mes",oa="El mes pasado",aa="Este año",ra="El año pasado",ta="Última hora",ia="Últimas {n} horas",da="Último día",_a="Últimos {n} días",na="Últimos 7 días",la="Últimas {n} semanas",sa="Último mes",ca="Últimos {n} meses",ma="Tonos de un color",ua="Color de los tonos (nombre de la paleta o color CSS)",pa="Mostrar cada parte como porcentaje",ba="Total",ga="Media",ya="Nada",ha="Total",va="Media",fa="{style} de {names}",xa="Dispersión",wa="Burbujas",Ca="En el eje inferior",ja="La primera entidad",Ea="Tiempo",Ma="Tamaño del punto (px)",ka="Dispersión aleatoria (px)",za="Burbuja más pequeña (px)",qa="Burbuja más grande (px)",Na="Color del punto",Pa="Etiquetas en la parte inferior",Sa="Añade una segunda entidad. La primera va en el eje inferior y las demás en el lateral.",Aa="Añade tres entidades: una para el eje inferior, otra para el lateral y otra para el tamaño de cada burbuja.",Da="Horizontal",La="Tamaño",Ha="Total",Ta="Valor horizontal más bajo",Va="Valor horizontal más alto",Ra="Restablecer zoom",Ua="Mostrado: {from} a {to}",Ga="Parte del gráfico mostrada",Ba="Zoom y desplazamiento (pellizcar, Ctrl + rueda o arrastrar)",Fa="Franja de vista general bajo el gráfico",Ia="Anotaciones",Oa="Tipo",Ja="Línea en un valor",Qa="Banda sombreada de valores",Wa="Marcas a horas fijas",Za="Marcas cuando cambia una entidad",Ka="Etiqueta en una lectura",Xa="Línea",Ya="Banda",$a="Horas",er="Cambios de estado",or="Etiqueta de punto",ar="Añadir una anotación:",rr="Valor (un número o una entidad)",tr="Desde (un número o una entidad; vacío para el fondo)",ir="Hasta (un número o una entidad; vacío para el tope)",dr="Horas: 07:00 para cada día, o 2026-10-28 07:00 (separadas por comas)",_r="Entidad",nr="Serie (vacío para la primera)",lr="Estado (vacío para cada cambio)",sr="Sombrear mientras esté en este estado",cr="Lectura",mr="Más alta",ur="Más baja",pr="Más reciente",br="Primera",gr="Etiqueta",yr="Color",hr="Discontinua",vr="Eliminar anotación",fr="Sombrear las bandas de gravedad detrás del gráfico",xr="Periodo",wr="Los últimos…",Cr="Hoy",jr="Esta semana",Er="Este mes",Mr="Este año",kr="Periodos atrás (0 es el actual)",zr="Dibujar hasta",qr="Ahora",Nr="El final del periodo",Pr="Mostrar botones de anterior y siguiente",Sr="Agrupar lecturas por",Ar="No agrupar",Dr="Hora",Lr="Día",Hr="Semana",Tr="Mes",Vr="Combinar con",Rr="Media",Ur="Suma",Gr="Mínimo",Br="Máximo",Fr="Primero",Ir="Último",Or="Cambio (contadores que suben)",Jr="Etiquetas de tiempo",Qr="Etiquetas de valor",Wr="Etiquetas de los ejes",Zr="Junto al gráfico",Kr="Sobre el gráfico",Xr="Líneas horizontales",Yr="Líneas verticales",$r="Valor más bajo mostrado",et="Valor más alto mostrado",ot="Escala de valores",at="Pasos iguales",rt="Logarítmica (potencias de diez)",tt="Mostrar valores al pasar el ratón o tocar",it="Grosor de línea (px)",dt="Punto en cada lectura",_t="Dibujar sobre las demás líneas",nt="Compacto",lt="Nombres y valores",st="Encima del gráfico",ct="Sobre el gráfico",mt="Ocultos",ut="Qué lecturas",pt="Todas (las que quepan)",bt="La más reciente",gt="La más alta y la más baja",yt="La primera y la más reciente",ht="Posición de la etiqueta",vt="Encima de los picos, debajo de los valles",ft="Encima",xt="Debajo",wt="En el punto",Ct="Permitir que las etiquetas se solapen",jt="Grupo de sincronización (los gráficos con el mismo nombre comparten el puntero y los cambios de periodo)",Et="Un gráfico pequeño por entidad",Mt="Escala de valores",kt="La misma cuando las unidades coinciden",zt="La misma para todos los gráficos",qt="Cada gráfico la suya",Nt="Columnas (vacío se ajusta a la tarjeta)",Pt="Mostrar la consigna",St="Sombrear mientras calienta o enfría",At="Sombrear mientras solo funciona el ventilador",Dt="Color de la temperatura",Lt="Color de la consigna",Ht="Color de calefacción",Tt="Color de refrigeración",Vt="Días (más de 1 muestra el día medio)",Rt="Tiempo encendido",Ut="La hora actual",Gt="Nada",Bt="Una barra cada",Ft="15 minutos",It="30 minutos",Ot="Hora",Jt="Automático (cambio para contadores, si no media)",Qt="Color",Wt="Cuenta como encendido (vacío: on, open, heating, home…)",Zt="Primero añade una entidad arriba.",Kt="Agrupar por",Xt="Planta",Yt="Área",$t="Dispositivo",ei="Etiqueta",oi='Grupo propio (prevalece sobre "Agrupar por"; "Planta baja / Cocina" para dos niveles)',ai="Texto en las barras",ri="Estado",ti="Duración",ii="Estado y duración",di="Ninguno",_i="Leyenda de estados",ni="Encima del gráfico",li="Oculta",si="Colores de estado",ci="Un nombre de la paleta (amber, green, blue, red, purple, grey, primary) o cualquier color CSS.",mi="Estado",ui="Color",pi="Añadir un color de estado",bi="Eliminar",gi="Grupo (las filas del mismo grupo comparten encabezado)",yi="Puntos por hora (0 dibuja todas las lecturas)",hi="Gráfico",vi="Línea",fi="Barras",xi="Ninguno (solo el valor)",wi="Rellenar bajo la línea",Ci="Sólido",ji="Degradado",Ei="Ninguno",Mi="Puntos en la línea",ki="Al pasar el ratón",zi="Siempre",qi="Nunca",Ni="Etiquetas de máximo y mínimo",Pi="Al pasar el ratón",Si="Siempre",Ai="Nunca",Di="Altura del gráfico (por cada 500 px de ancho)",Li="Espacio entre barras (px)",Hi="Colores de las bandas",Ti="Fundir",Vi="Cambiar en cada banda",Ri="Mostrar mínimo y máximo",Ui="Mostrar media",Gi="Leyenda (dos o más entidades)",Bi="Valor más bajo (~ para flexible)",Fi="Valor más alto (~ para flexible)",Ii="Rango mínimo mostrado",Oi="Mínimo del eje derecho (~ para flexible)",Ji="Máximo del eje derecho (~ para flexible)",Qi="Rango mínimo del eje derecho",Wi="Multiplicar por 10 elevado a",Zi="Nombre e icono",Ki="Repartidos",Xi="Izquierda",Yi="Derecha",$i="Centro",ed="Icono",od="A la derecha del nombre",ad="A la izquierda del nombre",rd="Junto al valor",td="Valor",id="Izquierda",dd="Derecha",_d="Centro",nd="Tamaño del valor (%)",ld="Tamaño del nombre (px)",sd="Colorear el nombre",cd="Colorear el valor",md="Colorear el icono",ud="Sin fondo (dentro de otra tarjeta)",pd="Imagen en lugar del icono (URL)",bd="Mostrar el valor bajo el puntero",gd="Eje",yd="Izquierdo",hd="Derecho (con su propia escala)",vd="Combinar con",fd="Dibujar el valor actual como una línea plana",xd="Mostrar su valor junto al principal",wd="Punto coloreado según el valor",Cd="En el gráfico",jd="Línea",Ed="Relleno",Md="Puntos",kd="En la leyenda",zd="Valor en la leyenda",qd="Direcciones",Nd="4 (N, E, S, W)",Pd="8 (N, NE, E…)",Sd="16 (N, NNE, NE…)",Ad="Calma por debajo de (vacío: 0.5 m/s, o lo mismo en km/h, mph o nudos)",Dd="La primera entidad es la dirección del viento, en grados o en puntos cardinales como SO. La segunda es la velocidad del viento: sin ella, los pétalos solo muestran con qué frecuencia sopló el viento desde cada dirección.",Ld="Dirección: {direction}. Velocidad: {speed}.",Hd="ninguna",Td="Las estadísticas a largo plazo dan la dirección media de cada hora. Solo es correcta al cruzar el norte cuando el sensor registra la dirección como ángulo (clase de estado measurement_angle); si no, una hora que oscila entre NNO y NNE promedia al sur. El historial es exacto.",Vd="Área",Rd="Apilar",Ud="No apilar",Gd="Unas sobre otras",Bd="Hasta el 100 %",Fd="Color por debajo de cero",Id="Enjambre",Od="Colocar cada punto según",Jd="Su valor",Qd="La hora del día en que ocurrió",Wd="Puntos más grandes para valores más altos",Zd="{n} lecturas",Kd="{n} veces encendido",Xd="Puntos mostrados",Yd="Sin lecturas",$d="Más antigua – más reciente",e_="Mínimo – máximo",o_="Color",a_="Diagrama de caja",r_="Diagrama de caja de {names}",t_="Máximo",i_="Cuartil superior",d_="Mediana",__="Cuartil inferior",n_="Mínimo",l_="Media",s_="Lecturas",c_="Valores atípicos",m_="Los bigotes llegan a",u_="1.5 × altura de la caja (atípicos como puntos)",p_="El mínimo y el máximo",b_="Mostrar cada lectura como un punto",g_="Color de la caja",y_="Bala",h_="Rangos detrás de la barra",v_="Tonos de gris",f_="Colores de las bandas de color",x_="objetivo {target}",w_="Gráfico de {style} de {names}",C_="Velas",j_="Una vela por",E_="Entidades de abajo: combinar lecturas con",M_="Color cuando subió",k_="Color cuando bajó",z_="Dibujar las demás entidades debajo como",q_="Columnas",N_="Una línea",P_="Apertura",S_="Máximo",A_="Mínimo",D_="Cierre",L_="Semana del {date}",H_="Climatización",T_="Consigna",V_="{low} – {high}",R_="{name} no es un termostato. Elige una entidad de climatización.",U_="Calentando",G_="Precalentando",B_="Enfriando",F_="Descongelando",I_="Secando",O_="Ventilador",J_="Inactivo",Q_="Apagado",W_="Columna",Z_="Automático",K_="Mínimo a máximo en cada columna",X_="Extremos redondeados",Y_="Mostrar valores en las columnas",$_="Color",en="Combinado",on="Dibujar como",an="Línea",rn="Columnas",tn="Área",dn="Eje de valores",_n="Automático (por unidad)",nn="Izquierdo",ln="Derecho",sn="Combinar con",cn="Como la tarjeta",mn="Media",un="Suma",pn="Mínimo",bn="Máximo",gn="Primero",yn="Último",hn="Cambio (contadores que suben)",vn="Reloj de 24 horas",fn="una vez",xn="{n} veces",wn="{text} al día",Cn="{total} · más actividad {time}",jn="pico de {value} a las {time}",En="{name} {state}",Mn="{label} al día",kn="Nada registrado",zn="Ahora",qn="encendido",Nn="Día medio · últimos {n} días",Pn="{on} de {of} días",Sn="{duration} hasta ahora",An="{from} – {to}",Dn="{value} de media",Ln="Mancuerna",Hn="Comparar",Tn="Mínimo y máximo del periodo",Vn="Inicio del periodo y ahora",Rn="Objetivo y ahora",Un="Marcar el valor actual",Gn="Mín.",Bn="Máx.",Fn="Ahora",In="Objetivo",On="Hace una hora",Jn="Hace {n} horas",Qn="Hace un día",Wn="Hace {n} días",Zn="Hace una semana",Kn="Hace {n} semanas",Xn="Hace un mes",Yn="Hace {n} meses",$n="Sin valor",el="Embudo",ol="Forma",al="Embudo (primera etapa arriba)",rl="Pirámide (primera etapa abajo)",tl="Porcentajes",il="Parte de la primera etapa",dl="Parte de la etapa anterior",_l="No mostrar",nl="Color",ll="Un color por entidad",sl="Por banda de color",cl="{style} de {names}",ml="Barras agrupadas",ul="Barras",pl="Una al lado de otra",bl="Apiladas",gl="Apiladas al 100 %",yl="Color",hl="Un color por serie",vl="Por banda de color",fl="Fila",xl="Serie",wl="Color de la barra",Cl="Gráfico de barras de {names}",jl="Mapa de calor",El="Mapa de calor de {name}",Ml="Días promediados",kl="Sin lecturas",zl="Disposición",ql="Hora por día de la semana",Nl="Calendario (un día por celda)",Pl="Escala continua",Sl="Celdas",Al="Cuadradas",Dl="Redondeadas",Ll="Hexagonales",Hl="Color más bajo en",Tl="Color más alto en",Vl="Leyenda",Rl="Histograma",Ul="Contar",Gl="Tiempo en cada rango",Bl="Lecturas en cada rango",Fl="Mostrar como",Il="Parte del total (%)",Ol="Horas o lecturas",Jl="Número de intervalos (vacío: automático)",Ql="Ancho del intervalo (prevalece sobre el número)",Wl="Dos o más entidades",Zl="Barras una al lado de otra",Kl="Barras superpuestas",Xl="Etiquetas de valor en la parte inferior",Yl="{n} lecturas",$l="1 lectura",es="Línea",os="Cargando historial…",as="No se pudo cargar el historial: {error}",rs="No hay lecturas en este periodo.",ts="No hay nada por encima de cero que dibujar en escala logarítmica.",is="Piruleta",ds="Pictograma",_s="Icono (cada entidad puede tener el suyo)",ns="Cada icono representa (vacío: automático)",ls="Iconos por grupo (0: sin grupos)",ss="Rellenar parcialmente un icono para las fracciones",cs="Circular / anillo",ms="Forma",us="Anillo",ps="Circular",bs="Línea bajo el total",gs="Espacio entre porciones",ys="Rellenos degradados",hs="Área polar",vs="Escala",fs="Una escala para todas, de 0 al valor más alto",xs="Cada porción del mínimo al máximo de su entidad",ws="Color",Cs="Un color por entidad",js="Tonos de un color, más oscuro cuanto más alto",Es="Por banda de color",Ms="Color de los tonos",ks="Gráfico de área polar de {names}",zs="Radar",qs="Escala",Ns="Cada eje del mínimo al máximo de su entidad",Ps="Una escala para todos, de 0 al valor más alto",Ss="Rellenar las formas",As="Nombre del eje (las entidades con el mismo nombre de eje se alinean entre grupos)",Ds="Gráfico de radar de {names}",Ls="Otros",Hs="Área de rango",Ts="Dibujar la media como una línea",Vs="Color",Rs="Anillos",Us="Ángulo inicial (0 es arriba)",Gs="Extremos redondeados",Bs="Sankey (flujo)",Fs="Colorear los flujos según",Is="De dónde vienen, o adónde van tras un nodo intermedio",Os="De dónde vienen",Js="Adónde van",Qs="Fluye desde",Ws="Fluye hacia",Zs="Color del flujo",Ks="Diagrama de flujo: {flows}",Xs="{from} a {to} {value}",Ys='Da a cada entidad un "Fluye desde" y un "Fluye hacia" en sus opciones.',$s="No fluye nada en este momento.",ec="Pendiente",oc="Comparar",ac="La lectura entonces y ahora",rc="Cuánto subió en cada periodo (contadores)",tc="Sube o baja",ic="Por grupo",dc="Una subida es",_c="Mala (rojo)",nc="Buena (verde)",lc="Grupo",sc="Ahora",cc="Hace {n} {unit}",mc="Hace 1 {unit}",uc="{n} {unit} anteriores",pc="{unit} anterior",bc="{n} {unit} más recientes",gc="{unit} más reciente",yc="hora",hc="horas",vc="día",fc="días",xc="semana",wc="semanas",Cc="mes",jc="meses",Ec="{name}, de {from} a {to}",Mc="sin lectura",kc="Minigráficos",zc="Minigráfico",qc="Línea",Nc="Área",Pc="Columnas",Sc="Barra bajo el nombre y el valor",Ac="Color",Dc="Tendencia de {name}",Lc="Gráfico de flujo",Hc="Forma",Tc="Gráfico de flujo (ondulado)",Vc="Centrado",Rc="Parte del total (100 %)",Uc="Apilado desde cero",Gc="Orden",Bc="El mayor en el centro",Fc="Según la lista, el primero abajo",Ic="Nombres en los flujos",Oc="Bordes",Jc="Total",Qc="Rayos de sol",Wc="Carámbano",Zc="Forma",Kc="Círculo completo",Xc="Semicírculo",Yc="Color",$c="Un color por grupo",em="Por banda de color",om="Total",am="Otros",rm="Nada que mostrar: ninguna entidad tiene un valor mayor que cero.",tm="Sin lectura:",im="Gráfico de rayos de sol de {names}",dm="Gráfico de carámbano de {names}",_m="Cronología de estados",nm="No hay estados registrados en este periodo.",lm="durante {duration}",sm="Ahora",cm="Lecturas, no estados: a esta le va mejor un gráfico de líneas",mm="Mapa de árbol",um="Color",pm="Un color por grupo",bm="Por banda de color",gm="Mapa de árbol de {names}",ym="{value} en total",hm="Nada que mostrar: ninguna entidad tiene un valor mayor que cero.",vm="Sin lectura:",fm="Otros",xm="Tendencia",wm="Mín.",Cm="Media",jm="Máx.",Em="Violín",Mm="Violín",km="Nube de lluvia (medio violín, caja y lecturas)",zm="Caja con la mediana y la mitad central",qm="Suavizado (en la unidad de la entidad, vacío para automático)",Nm="Una forma por",Pm="Entidad",Sm="Entidad y día",Am="Entidad y semana",Dm="Entidad y mes",Lm="mediana {value}",Hm="Sin lecturas",Tm="Nube de lluvia",Vm="Gofre",Rm="Gofres",Um="Uno, repartido entre las entidades",Gm="Uno por entidad, uno al lado de otro",Bm="Mostrar la primera parte en letra grande",Fm="Cascada",Im="Cada paso es",Om="Cuánto cambió en el periodo",Jm="Su valor actual",Qm="Empezar desde la lectura de la primera entidad al inicio del periodo",Wm="Mostrar el total al final",Zm="Resta (una subida en estas es una bajada del total)",Km="Inicio",Xm="Fin",Ym="Total",$m="Sin lecturas",eu="Gráfico de cascada: {bars}",ou="Rosa de los vientos",au="Predominante",ru="Velocidad media",tu="Más fuerte",iu="Calma",du="Velocidad",_u="Velocidad ({unit})",nu="Del tiempo",lu="Rosa de los vientos, predominante {direction} {share}",su="Rosa de los vientos, predominante {direction} {share}, calma {calm}",cu="Rosa de los vientos, calma {calm}";var mu={entity_not_found:e,unavailable:o,no_entities:a,no_matches:r,none_available:t,editor_section_entities:i,editor_section_style:d,editor_section_chart:_,editor_group_bars:n,editor_group_gauges:l,editor_group_history:s,editor_group_totals:c,editor_group_compare:m,editor_group_distribution:u,editor_period_last:p,editor_period_unit:b,editor_period_unit_hour:g,editor_period_unit_day:y,editor_period_unit_week:h,editor_period_unit_month:v,editor_source:f,editor_source_history:x,editor_source_statistics:w,editor_curve:C,editor_curve_smooth:j,editor_curve_straight:E,editor_curve_step:M,editor_color_by:k,editor_color_by_series:z,editor_color_by_bands:q,editor_labels:N,editor_series_color:P,editor_dash:S,editor_section_limits:A,editor_section_colours:D,editor_section_display:L,editor_section_actions:H,editor_title:T,editor_style_bar:V,editor_style_thin:R,editor_style_segmented:U,editor_style_tank:G,editor_style_ring:B,editor_style_needle:F,editor_style_arc:I,editor_gauge_help:O,editor_start_angle:J,editor_end_angle:Q,editor_center:W,editor_center_mode_value:Z,editor_center_mode_band:K,editor_center_mode_name:X,editor_center_mode_text:Y,editor_center_mode_none:$,editor_center_text:ee,editor_tick_labels:oe,editor_show_name:ae,editor_show_value:re,editor_show_icon:te,editor_show_target:ie,editor_show_legend:de,editor_columns:_e,editor_sort:ne,editor_sort_none:le,editor_sort_ascending:se,editor_sort_descending:ce,editor_decimals:me,editor_unit:ue,editor_animate:pe,editor_hide_unavailable:be,editor_limit:ge,editor_include_heading:ye,editor_include_help:he,editor_exclude_heading:ve,editor_exclude_help:fe,editor_rule_device_class:xe,editor_rule_area:we,editor_rule_floor:Ce,editor_rule_label:je,editor_rule_domain:Ee,editor_rule_entity:Me,editor_tap_action:ke,editor_hold_action:ze,editor_double_tap_action:qe,editor_attribute:Ne,editor_name:Pe,editor_icon:Se,editor_min:Ae,editor_max:De,editor_target:Le,editor_none:He,editor_card_setting:Te,editor_limit_default:Ve,editor_limit_number:Re,editor_limit_entity:Ue,editor_preset:Ge,editor_preset_battery:Be,editor_preset_usage:Fe,editor_preset_temperature:Ie,editor_preset_none:Oe,editor_preset_custom:Je,editor_band_from:Qe,editor_band_from_entity:We,editor_band_from_number:Ze,editor_band_from_entity_label:Ke,editor_band_color:Xe,editor_band_custom_color:Ye,editor_band_label:$e,editor_band_icon:eo,editor_color_icon:oo,editor_color_primary:ao,editor_color_green:ro,editor_color_amber:to,editor_color_red:io,editor_color_blue:_o,editor_color_purple:no,editor_color_grey:lo,editor_color_custom:so,editor_add_band:co,editor_remove_band:mo,editor_add_entity:uo,editor_move_up:po,editor_move_down:bo,editor_remove_entity:go,editor_show_options:yo,editor_hide_options:ho,editor_not_found:vo,editor_severity:fo,annotation_at:xo,editor_orientation:wo,editor_orientation_horizontal:Co,editor_orientation_vertical:jo,editor_value_axis:Eo,editor_value_grid:Mo,editor_value_min:ko,editor_value_max:zo,dist_median:qo,dist_middle:No,dist_range:Po,dist_count:So,editor_drill_down:Ao,drill_into:Do,drill_back:Lo,drill_top:Ho,extremes_high:To,extremes_low:Vo,extremes_average:Ro,editor_extremes_max:Uo,editor_extremes_min:Go,editor_extremes_average:Bo,editor_extremes_average_none:Fo,editor_extremes_average_line:Io,editor_extremes_average_figure:Oo,editor_extremes:Jo,period_previous:Qo,period_next:Wo,period_return:Zo,period_today:"Hoy",period_yesterday:Xo,period_this_week:Yo,period_last_week:$o,period_this_month:ea,period_last_month:oa,period_this_year:aa,period_last_year:ra,period_last_hour:ta,period_last_hours:ia,period_last_day:da,period_last_days:_a,period_last_week_rolling:na,period_last_weeks:la,period_last_month_rolling:sa,period_last_months:ca,editor_color_by_shades:ma,editor_shade_color:ua,editor_show_percent:pa,editor_center_total:ba,editor_center_average:ga,editor_center_none:ya,parts_total:ha,parts_average:va,parts_aria:fa,editor_style_scatter:xa,editor_style_bubble:wa,editor_against:Ca,editor_against_entity:ja,editor_against_time:Ea,editor_dot_size:Ma,editor_jitter:ka,editor_min_size:za,editor_max_size:qa,editor_dot_color:Na,editor_xy_x_axis:Pa,scatter_needs_two:Sa,bubble_needs_three:Aa,scatter_role_x:Da,bubble_role_size:La,chart_total:Ha,editor_x_min:Ta,editor_x_max:Va,zoom_reset:Ra,zoom_window:Ua,zoom_window_label:Ga,editor_zoom:Ba,editor_overview:Fa,editor_annotations:Ia,editor_annotation_type:Oa,editor_annotation_type_line:Ja,editor_annotation_type_band:Qa,editor_annotation_type_time:Wa,editor_annotation_type_state:Za,editor_annotation_type_point:Ka,editor_annotation_add_line:Xa,editor_annotation_add_band:Ya,editor_annotation_add_time:$a,editor_annotation_add_state:er,editor_annotation_add_point:or,editor_annotation_add:ar,editor_annotation_value:rr,editor_annotation_from:tr,editor_annotation_to:ir,editor_annotation_times:dr,editor_annotation_entity:_r,editor_annotation_series:nr,editor_annotation_state:lr,editor_annotation_shade:sr,editor_annotation_at:cr,editor_annotation_at_max:mr,editor_annotation_at_min:ur,editor_annotation_at_last:pr,editor_annotation_at_first:br,editor_annotation_label:gr,editor_annotation_color:yr,editor_annotation_dash:hr,editor_annotation_remove:vr,editor_zones:fr,editor_period_calendar:xr,editor_period_calendar_rolling:wr,editor_period_calendar_day:"Hoy",editor_period_calendar_week:jr,editor_period_calendar_month:Er,editor_period_calendar_year:Mr,editor_period_offset:kr,editor_period_until:zr,editor_period_until_now:qr,editor_period_until_end:Nr,editor_period_navigate:Pr,editor_group_by:Sr,editor_group_by_none:Ar,editor_group_by_hour:Dr,editor_group_by_day:"Día",editor_group_by_week:Hr,editor_group_by_month:"Mes",editor_aggregate:Vr,editor_aggregate_mean:Rr,editor_aggregate_sum:Ur,editor_aggregate_min:Gr,editor_aggregate_max:Br,editor_aggregate_first:Fr,editor_aggregate_last:Ir,editor_aggregate_change:Or,editor_x_axis:Jr,editor_y_axis:Qr,editor_axis_labels:Wr,editor_axis_labels_outside:Zr,editor_axis_labels_inside:Kr,editor_grid_horizontal:Xr,editor_grid_vertical:Yr,editor_y_min:$r,editor_y_max:et,editor_y_scale:ot,editor_y_scale_linear:at,editor_y_scale_log:rt,editor_tooltip:tt,editor_line_width:it,editor_dots:dt,editor_on_top:_t,editor_compact:nt,editor_header:lt,editor_header_above:st,editor_header_over:ct,editor_header_hidden:mt,editor_labels_show:ut,editor_labels_show_all:pt,editor_labels_show_last:bt,editor_labels_show_minmax:gt,editor_labels_show_ends:yt,editor_labels_position:ht,editor_labels_position_auto:vt,editor_labels_position_above:ft,editor_labels_position_below:xt,editor_labels_position_center:wt,editor_labels_overlap:Ct,editor_sync:jt,editor_multiples:Et,editor_multiples_scale:Mt,editor_multiples_scale_auto:kt,editor_multiples_scale_shared:zt,editor_multiples_scale_independent:qt,editor_multiples_columns:Nt,editor_set_point:Pt,editor_shading:St,editor_shade_fan:At,editor_current_color:Dt,editor_set_point_color:Lt,editor_heating_color:Ht,editor_cooling_color:Tt,editor_days:Vt,editor_day_clock_center_total:Rt,editor_day_clock_center_now:Ut,editor_day_clock_center_none:Gt,editor_bucket:Bt,editor_bucket_15:Ft,editor_bucket_30:It,editor_bucket_60:Ot,editor_aggregate_auto:Jt,editor_ring_color:Qt,editor_active:Wt,editor_entity_options_none:Zt,editor_hierarchy_group_by:Kt,editor_group_by_floor:Xt,editor_group_by_area:Yt,editor_group_by_device:$t,editor_group_by_label:ei,editor_entity_groups:oi,editor_bar_labels:ai,editor_bar_labels_state:ri,editor_bar_labels_duration:ti,editor_bar_labels_both:ii,editor_bar_labels_none:di,editor_timeline_legend:_i,editor_timeline_legend_above:ni,editor_timeline_legend_hidden:li,editor_state_colors:si,editor_state_colors_help:ci,editor_state_colors_state:mi,editor_state_colors_color:ui,editor_state_colors_add:pi,editor_state_colors_remove:bi,editor_timeline_group:gi,editor_points_per_hour:yi,editor_graph:hi,editor_graph_line:vi,editor_graph_bar:fi,editor_graph_none:xi,editor_fill:wi,editor_fill_solid:Ci,editor_fill_fade:ji,editor_fill_none:Ei,editor_points:Mi,editor_points_hover:ki,editor_points_always:zi,editor_points_never:qi,editor_trend_labels:Ni,editor_labels_hover:Pi,editor_labels_always:Si,editor_labels_never:Ai,editor_height:Di,editor_bar_spacing:Li,editor_color_transition:Hi,editor_color_transition_smooth:Ti,editor_color_transition_hard:Vi,editor_extrema:Ri,editor_average:Ui,editor_trend_legend:Gi,editor_trend_y_min:Bi,editor_trend_y_max:Fi,editor_min_range:Ii,editor_y_min_secondary:Oi,editor_y_max_secondary:Ji,editor_min_range_secondary:Qi,editor_value_factor:Wi,editor_align_header:Zi,editor_align_header_default:Ki,editor_align_header_left:Xi,editor_align_header_right:Yi,editor_align_header_center:$i,editor_align_icon:ed,editor_align_icon_right:od,editor_align_icon_left:ad,editor_align_icon_state:rd,editor_align_state:td,editor_align_state_left:id,editor_align_state_right:dd,editor_align_state_center:_d,editor_font_size:nd,editor_font_size_header:ld,editor_color_name:sd,editor_color_value:cd,editor_trend_color_icon:md,editor_trend_group:ud,editor_icon_image:pd,editor_trend_tooltip:bd,editor_y_axis_side:"Eje",editor_y_axis_side_primary:yd,editor_y_axis_side_secondary:hd,editor_entity_aggregate:vd,editor_fixed_value:fd,editor_show_state:xd,editor_show_indicator:wd,editor_show_graph:Cd,editor_show_line:jd,editor_show_fill:Ed,editor_show_points:Md,editor_show_legend_entity:kd,editor_show_legend_state:zd,editor_sectors:qd,editor_sectors_4:Nd,editor_sectors_8:Pd,editor_sectors_16:Sd,editor_calm:Ad,editor_wind_roles:Dd,editor_wind_now:Ld,editor_wind_none:Hd,editor_wind_statistics:Td,editor_style_area:Vd,editor_stack:Rd,editor_stack_none:Ud,editor_stack_normal:Gd,editor_stack_percent:Bd,editor_negative_color:Fd,editor_style_beeswarm:Id,editor_place_by:Od,editor_place_by_value:Jd,editor_place_by_time_of_day:Qd,editor_size_by_value:Wd,swarm_readings:Zd,swarm_events:Kd,swarm_shown:Xd,swarm_none:Yd,swarm_earliest_latest:$d,swarm_lowest_highest:e_,editor_fill_color:o_,editor_style_box:a_,box_aria:r_,box_highest:t_,box_upper_quartile:i_,box_median:d_,box_lower_quartile:__,box_lowest:n_,box_mean:l_,box_count:s_,box_outliers:c_,editor_whiskers:m_,editor_whiskers_tukey:u_,editor_whiskers_range:p_,editor_readings:b_,editor_box_color:g_,editor_style_bullet:y_,editor_ranges:h_,editor_ranges_shades:v_,editor_ranges_colours:f_,compare_target:x_,chart_aria:w_,editor_style_candlestick:C_,editor_candle_by:j_,editor_under_aggregate:E_,editor_up_color:M_,editor_down_color:k_,editor_underneath:z_,editor_underneath_columns:q_,editor_underneath_line:N_,candle_open:P_,candle_high:S_,candle_low:A_,candle_close:D_,candle_week_of:L_,editor_style_climate:H_,climate_set_point:T_,climate_range:V_,climate_not_thermostat:R_,climate_action_heating:U_,climate_action_preheating:G_,climate_action_cooling:B_,climate_action_defrosting:F_,climate_action_drying:I_,climate_action_fan:O_,climate_action_idle:J_,climate_action_off:Q_,editor_style_column:W_,editor_group_by_auto:Z_,editor_range:K_,editor_rounded:X_,editor_column_labels:Y_,editor_column_color:$_,editor_style_combined:en,editor_series_type:on,editor_series_type_line:an,editor_series_type_column:rn,editor_series_type_area:tn,editor_series_axis:dn,editor_series_axis_auto:_n,editor_series_axis_left:nn,editor_series_axis_right:ln,editor_series_aggregate:sn,editor_series_aggregate_auto:cn,editor_series_aggregate_mean:mn,editor_series_aggregate_sum:un,editor_series_aggregate_min:pn,editor_series_aggregate_max:bn,editor_series_aggregate_first:gn,editor_series_aggregate_last:yn,editor_series_aggregate_change:hn,editor_style_day_clock:vn,day_clock_times_one:fn,day_clock_times:xn,day_clock_a_day:wn,day_clock_busiest:Cn,day_clock_peak:jn,day_clock_state:En,day_clock_per_day:Mn,day_clock_no_data:kn,day_clock_now:zn,day_clock_on:qn,day_clock_average:Nn,day_clock_on_days:Pn,day_clock_so_far:Sn,day_clock_range:An,day_clock_average_value:Dn,editor_style_dumbbell:Ln,editor_ends:Hn,editor_ends_range:Tn,editor_ends_then:Vn,editor_ends_target:Rn,editor_show_now:Un,dumbbell_low:Gn,dumbbell_high:Bn,dumbbell_now:Fn,dumbbell_target:In,dumbbell_ago_hour_one:On,dumbbell_ago_hour:Jn,dumbbell_ago_day_one:Qn,dumbbell_ago_day:Wn,dumbbell_ago_week_one:Zn,dumbbell_ago_week:Kn,dumbbell_ago_month_one:Xn,dumbbell_ago_month:Yn,dumbbell_no_value:$n,editor_style_funnel:el,editor_funnel_shape:ol,editor_funnel_shape_funnel:al,editor_funnel_shape_pyramid:rl,editor_funnel_percent_of:tl,editor_funnel_percent_of_first:il,editor_funnel_percent_of_previous:dl,editor_funnel_percent_of_none:_l,editor_funnel_color_by:nl,editor_funnel_color_by_series:ll,editor_funnel_color_by_bands:sl,funnel_aria:cl,editor_style_grouped_bars:ml,editor_mode:ul,editor_mode_grouped:pl,editor_mode_stacked:bl,editor_mode_percent:gl,editor_bars_color_by:yl,editor_bars_color_by_series:hl,editor_bars_color_by_bands:vl,editor_bar_group:fl,editor_bar_series:xl,editor_bar_color:wl,grouped_bars_aria:Cl,editor_style_heatmap:jl,heatmap_aria:El,heatmap_hours:Ml,heatmap_empty:kl,editor_grid:zl,editor_grid_hours:ql,editor_grid_calendar:Nl,editor_color_by_scale:Pl,editor_cell_shape:Sl,editor_cell_shape_square:Al,editor_cell_shape_rounded:Dl,editor_cell_shape_hexagon:Ll,editor_color_min:Hl,editor_color_max:Tl,editor_legend:Vl,editor_style_histogram:Rl,editor_count:Ul,editor_count_time:Gl,editor_count_readings:Bl,editor_show_as:Fl,editor_show_as_percent:Il,editor_show_as_total:Ol,editor_bins:Jl,editor_bin_width:Ql,editor_bars:Wl,editor_bars_side:Zl,editor_bars_overlap:Kl,editor_hist_x_axis:Xl,histogram_readings:Yl,histogram_reading:$l,editor_style_line:es,chart_loading:os,chart_error:as,chart_no_data:rs,chart_log_nothing:ts,editor_style_lollipop:is,editor_style_pictograph:ds,editor_unit_icon:_s,editor_per_icon:ns,editor_group_size:ls,editor_partial:ss,editor_style_pie:cs,editor_shape:ms,editor_shape_donut:us,editor_shape_pie:ps,editor_center_label:bs,editor_gap:gs,editor_gradient:ys,editor_style_polar_area:hs,editor_polar_scale:vs,editor_polar_scale_shared:fs,editor_polar_scale_limits:xs,editor_polar_color_by:ws,editor_polar_color_by_series:Cs,editor_polar_color_by_shades:js,editor_polar_color_by_bands:Es,editor_polar_color:Ms,polar_area_aria:ks,editor_style_radar:zs,editor_radar_scale:qs,editor_radar_scale_limits:Ns,editor_radar_scale_shared:Ps,editor_radar_fill:Ss,editor_radar_axis:As,radar_aria:Ds,radar_other:Ls,editor_style_range_area:Hs,editor_mean:Ts,editor_range_color:Vs,editor_style_rings:Rs,editor_rings_start_angle:Us,editor_rounded_ends:Gs,editor_style_sankey:Bs,editor_link_color:Fs,editor_link_color_auto:Is,editor_link_color_source:Os,editor_link_color_target:Js,editor_from:Qs,editor_to:Ws,editor_flow_color:Zs,sankey_aria:Ks,sankey_flow:Xs,sankey_no_flows:Ys,sankey_nothing:$s,editor_style_slope:ec,editor_measure:oc,editor_measure_value:ac,editor_measure_change:rc,editor_color_by_direction:tc,editor_color_by_group:ic,editor_increase:dc,editor_increase_bad:_c,editor_increase_good:nc,editor_group:lc,slope_now:sc,slope_ago:cc,slope_ago_one:mc,slope_previous:uc,slope_previous_one:pc,slope_last:bc,slope_last_one:gc,slope_unit_hour:yc,slope_unit_hour_other:hc,slope_unit_day:"día",slope_unit_day_other:fc,slope_unit_week:xc,slope_unit_week_other:wc,slope_unit_month:"mes",slope_unit_month_other:jc,slope_entity_aria:Ec,slope_no_reading:Mc,editor_style_sparkline:kc,editor_spark:zc,editor_spark_line:qc,editor_spark_area:Nc,editor_spark_column:Pc,editor_spark_bar:Sc,editor_spark_color:Ac,spark_aria:Dc,editor_style_streamgraph:Lc,editor_baseline:Hc,editor_baseline_wiggle:Tc,editor_baseline_centre:Vc,editor_baseline_share:Rc,editor_baseline_zero:Uc,editor_stream_order:Gc,editor_stream_order_inside_out:Bc,editor_stream_order_listed:Fc,editor_stream_labels:Ic,editor_stream_curve:Oc,stream_total:Jc,editor_style_sunburst:Qc,editor_style_icicle:Wc,editor_sunburst_shape:Zc,editor_sunburst_shape_full:Kc,editor_sunburst_shape_half:Xc,editor_hierarchy_color_by:Yc,editor_hierarchy_color_by_group:$c,editor_hierarchy_color_by_bands:em,hierarchy_total:om,hierarchy_other:am,hierarchy_empty:rm,hierarchy_no_reading:tm,sunburst_aria:im,icicle_aria:dm,editor_style_timeline:_m,timeline_no_states:nm,timeline_for:lm,timeline_now:sm,timeline_measurement:cm,editor_style_treemap:mm,editor_treemap_color_by:um,editor_treemap_color_by_group:pm,editor_treemap_color_by_bands:bm,treemap_aria:gm,treemap_total:ym,treemap_empty:hm,treemap_no_reading:vm,treemap_other:fm,editor_style_trend:xm,trend_min:wm,trend_avg:Cm,trend_max:jm,editor_style_violin:Em,editor_shape_violin:Mm,editor_shape_raincloud:km,editor_box:zm,editor_bandwidth:qm,editor_split_by:Nm,editor_split_by_none:Pm,editor_split_by_day:Sm,editor_split_by_week:Am,editor_split_by_month:Dm,violin_median:Lm,violin_none:Hm,violin_raincloud:Tm,editor_style_waffle:Vm,editor_waffles:Rm,editor_waffles_one:Um,editor_waffles_each:Gm,editor_headline:Bm,editor_style_waterfall:Fm,editor_steps:Im,editor_steps_change:Om,editor_steps_current:Jm,editor_start_from_first:Qm,editor_total:Wm,editor_waterfall_invert:Zm,waterfall_start:Km,waterfall_end:"Fin",waterfall_total:Ym,waterfall_no_readings:$m,waterfall_aria:eu,editor_style_wind_rose:ou,wind_prevailing:au,wind_mean_speed:ru,wind_strongest:tu,wind_calm:iu,wind_speed:du,wind_speed_unit:_u,wind_share:nu,wind_aria:lu,wind_aria_calm:su,wind_aria_still:cu};export{xo as annotation_at,r_ as box_aria,s_ as box_count,t_ as box_highest,__ as box_lower_quartile,n_ as box_lowest,l_ as box_mean,d_ as box_median,c_ as box_outliers,i_ as box_upper_quartile,Aa as bubble_needs_three,La as bubble_role_size,D_ as candle_close,S_ as candle_high,A_ as candle_low,P_ as candle_open,L_ as candle_week_of,w_ as chart_aria,as as chart_error,os as chart_loading,ts as chart_log_nothing,rs as chart_no_data,Ha as chart_total,B_ as climate_action_cooling,F_ as climate_action_defrosting,I_ as climate_action_drying,O_ as climate_action_fan,U_ as climate_action_heating,J_ as climate_action_idle,Q_ as climate_action_off,G_ as climate_action_preheating,R_ as climate_not_thermostat,V_ as climate_range,T_ as climate_set_point,x_ as compare_target,wn as day_clock_a_day,Nn as day_clock_average,Dn as day_clock_average_value,Cn as day_clock_busiest,kn as day_clock_no_data,zn as day_clock_now,qn as day_clock_on,Pn as day_clock_on_days,jn as day_clock_peak,Mn as day_clock_per_day,An as day_clock_range,Sn as day_clock_so_far,En as day_clock_state,xn as day_clock_times,fn as day_clock_times_one,mu as default,So as dist_count,qo as dist_median,No as dist_middle,Po as dist_range,Lo as drill_back,Do as drill_into,Ho as drill_top,Wn as dumbbell_ago_day,Qn as dumbbell_ago_day_one,Jn as dumbbell_ago_hour,On as dumbbell_ago_hour_one,Yn as dumbbell_ago_month,Xn as dumbbell_ago_month_one,Kn as dumbbell_ago_week,Zn as dumbbell_ago_week_one,Bn as dumbbell_high,Gn as dumbbell_low,$n as dumbbell_no_value,Fn as dumbbell_now,In as dumbbell_target,Wt as editor_active,co as editor_add_band,uo as editor_add_entity,Ca as editor_against,ja as editor_against_entity,Ea as editor_against_time,Vr as editor_aggregate,Jt as editor_aggregate_auto,Or as editor_aggregate_change,Fr as editor_aggregate_first,Ir as editor_aggregate_last,Br as editor_aggregate_max,Rr as editor_aggregate_mean,Gr as editor_aggregate_min,Ur as editor_aggregate_sum,Zi as editor_align_header,$i as editor_align_header_center,Ki as editor_align_header_default,Xi as editor_align_header_left,Yi as editor_align_header_right,ed as editor_align_icon,ad as editor_align_icon_left,od as editor_align_icon_right,rd as editor_align_icon_state,td as editor_align_state,_d as editor_align_state_center,id as editor_align_state_left,dd as editor_align_state_right,pe as editor_animate,ar as editor_annotation_add,Ya as editor_annotation_add_band,Xa as editor_annotation_add_line,or as editor_annotation_add_point,er as editor_annotation_add_state,$a as editor_annotation_add_time,cr as editor_annotation_at,br as editor_annotation_at_first,pr as editor_annotation_at_last,mr as editor_annotation_at_max,ur as editor_annotation_at_min,yr as editor_annotation_color,hr as editor_annotation_dash,_r as editor_annotation_entity,tr as editor_annotation_from,gr as editor_annotation_label,vr as editor_annotation_remove,nr as editor_annotation_series,sr as editor_annotation_shade,lr as editor_annotation_state,dr as editor_annotation_times,ir as editor_annotation_to,Oa as editor_annotation_type,Qa as editor_annotation_type_band,Ja as editor_annotation_type_line,Ka as editor_annotation_type_point,Za as editor_annotation_type_state,Wa as editor_annotation_type_time,rr as editor_annotation_value,Ia as editor_annotations,Ne as editor_attribute,Ui as editor_average,Wr as editor_axis_labels,Kr as editor_axis_labels_inside,Zr as editor_axis_labels_outside,Xe as editor_band_color,Ye as editor_band_custom_color,Qe as editor_band_from,We as editor_band_from_entity,Ke as editor_band_from_entity_label,Ze as editor_band_from_number,eo as editor_band_icon,$e as editor_band_label,qm as editor_bandwidth,wl as editor_bar_color,fl as editor_bar_group,ai as editor_bar_labels,ii as editor_bar_labels_both,ti as editor_bar_labels_duration,di as editor_bar_labels_none,ri as editor_bar_labels_state,xl as editor_bar_series,Li as editor_bar_spacing,Wl as editor_bars,yl as editor_bars_color_by,vl as editor_bars_color_by_bands,hl as editor_bars_color_by_series,Kl as editor_bars_overlap,Zl as editor_bars_side,Hc as editor_baseline,Vc as editor_baseline_centre,Rc as editor_baseline_share,Tc as editor_baseline_wiggle,Uc as editor_baseline_zero,Ql as editor_bin_width,Jl as editor_bins,zm as editor_box,g_ as editor_box_color,Bt as editor_bucket,Ft as editor_bucket_15,It as editor_bucket_30,Ot as editor_bucket_60,Ad as editor_calm,j_ as editor_candle_by,Te as editor_card_setting,Sl as editor_cell_shape,Ll as editor_cell_shape_hexagon,Dl as editor_cell_shape_rounded,Al as editor_cell_shape_square,W as editor_center,ga as editor_center_average,bs as editor_center_label,K as editor_center_mode_band,X as editor_center_mode_name,$ as editor_center_mode_none,Y as editor_center_mode_text,Z as editor_center_mode_value,ya as editor_center_none,ee as editor_center_text,ba as editor_center_total,to as editor_color_amber,_o as editor_color_blue,k as editor_color_by,q as editor_color_by_bands,tc as editor_color_by_direction,ic as editor_color_by_group,Pl as editor_color_by_scale,z as editor_color_by_series,ma as editor_color_by_shades,so as editor_color_custom,ro as editor_color_green,lo as editor_color_grey,oo as editor_color_icon,Tl as editor_color_max,Hl as editor_color_min,sd as editor_color_name,ao as editor_color_primary,no as editor_color_purple,io as editor_color_red,Hi as editor_color_transition,Vi as editor_color_transition_hard,Ti as editor_color_transition_smooth,cd as editor_color_value,$_ as editor_column_color,Y_ as editor_column_labels,_e as editor_columns,nt as editor_compact,Tt as editor_cooling_color,Ul as editor_count,Bl as editor_count_readings,Gl as editor_count_time,Dt as editor_current_color,C as editor_curve,j as editor_curve_smooth,M as editor_curve_step,E as editor_curve_straight,S as editor_dash,Gt as editor_day_clock_center_none,Ut as editor_day_clock_center_now,Rt as editor_day_clock_center_total,Vt as editor_days,me as editor_decimals,Na as editor_dot_color,Ma as editor_dot_size,dt as editor_dots,qe as editor_double_tap_action,k_ as editor_down_color,Ao as editor_drill_down,Q as editor_end_angle,Hn as editor_ends,Tn as editor_ends_range,Rn as editor_ends_target,Vn as editor_ends_then,vd as editor_entity_aggregate,oi as editor_entity_groups,Zt as editor_entity_options_none,ve as editor_exclude_heading,fe as editor_exclude_help,Ri as editor_extrema,Jo as editor_extremes,Bo as editor_extremes_average,Oo as editor_extremes_average_figure,Io as editor_extremes_average_line,Fo as editor_extremes_average_none,Uo as editor_extremes_max,Go as editor_extremes_min,wi as editor_fill,o_ as editor_fill_color,ji as editor_fill_fade,Ei as editor_fill_none,Ci as editor_fill_solid,fd as editor_fixed_value,Zs as editor_flow_color,nd as editor_font_size,ld as editor_font_size_header,Qs as editor_from,nl as editor_funnel_color_by,sl as editor_funnel_color_by_bands,ll as editor_funnel_color_by_series,tl as editor_funnel_percent_of,il as editor_funnel_percent_of_first,_l as editor_funnel_percent_of_none,dl as editor_funnel_percent_of_previous,ol as editor_funnel_shape,al as editor_funnel_shape_funnel,rl as editor_funnel_shape_pyramid,gs as editor_gap,O as editor_gauge_help,ys as editor_gradient,hi as editor_graph,fi as editor_graph_bar,vi as editor_graph_line,xi as editor_graph_none,zl as editor_grid,Nl as editor_grid_calendar,Xr as editor_grid_horizontal,ql as editor_grid_hours,Yr as editor_grid_vertical,lc as editor_group,n as editor_group_bars,Sr as editor_group_by,Yt as editor_group_by_area,Z_ as editor_group_by_auto,Lr as editor_group_by_day,$t as editor_group_by_device,Xt as editor_group_by_floor,Dr as editor_group_by_hour,ei as editor_group_by_label,Tr as editor_group_by_month,Ar as editor_group_by_none,Hr as editor_group_by_week,m as editor_group_compare,u as editor_group_distribution,l as editor_group_gauges,s as editor_group_history,ls as editor_group_size,c as editor_group_totals,lt as editor_header,st as editor_header_above,mt as editor_header_hidden,ct as editor_header_over,Bm as editor_headline,Ht as editor_heating_color,Di as editor_height,ho as editor_hide_options,be as editor_hide_unavailable,Yc as editor_hierarchy_color_by,em as editor_hierarchy_color_by_bands,$c as editor_hierarchy_color_by_group,Kt as editor_hierarchy_group_by,Xl as editor_hist_x_axis,ze as editor_hold_action,Se as editor_icon,pd as editor_icon_image,ye as editor_include_heading,he as editor_include_help,dc as editor_increase,_c as editor_increase_bad,nc as editor_increase_good,ka as editor_jitter,N as editor_labels,Si as editor_labels_always,Pi as editor_labels_hover,Ai as editor_labels_never,Ct as editor_labels_overlap,ht as editor_labels_position,ft as editor_labels_position_above,vt as editor_labels_position_auto,xt as editor_labels_position_below,wt as editor_labels_position_center,ut as editor_labels_show,pt as editor_labels_show_all,yt as editor_labels_show_ends,bt as editor_labels_show_last,gt as editor_labels_show_minmax,Vl as editor_legend,ge as editor_limit,Ve as editor_limit_default,Ue as editor_limit_entity,Re as editor_limit_number,it as editor_line_width,Fs as editor_link_color,Is as editor_link_color_auto,Os as editor_link_color_source,Js as editor_link_color_target,De as editor_max,qa as editor_max_size,Ts as editor_mean,oc as editor_measure,rc as editor_measure_change,ac as editor_measure_value,Ae as editor_min,Ii as editor_min_range,Qi as editor_min_range_secondary,za as editor_min_size,ul as editor_mode,pl as editor_mode_grouped,gl as editor_mode_percent,bl as editor_mode_stacked,bo as editor_move_down,po as editor_move_up,Et as editor_multiples,Nt as editor_multiples_columns,Mt as editor_multiples_scale,kt as editor_multiples_scale_auto,qt as editor_multiples_scale_independent,zt as editor_multiples_scale_shared,Pe as editor_name,Fd as editor_negative_color,He as editor_none,vo as editor_not_found,_t as editor_on_top,wo as editor_orientation,Co as editor_orientation_horizontal,jo as editor_orientation_vertical,Fa as editor_overview,ss as editor_partial,ns as editor_per_icon,xr as editor_period_calendar,Cr as editor_period_calendar_day,Er as editor_period_calendar_month,wr as editor_period_calendar_rolling,jr as editor_period_calendar_week,Mr as editor_period_calendar_year,p as editor_period_last,Pr as editor_period_navigate,kr as editor_period_offset,b as editor_period_unit,y as editor_period_unit_day,g as editor_period_unit_hour,v as editor_period_unit_month,h as editor_period_unit_week,zr as editor_period_until,Nr as editor_period_until_end,qr as editor_period_until_now,Od as editor_place_by,Qd as editor_place_by_time_of_day,Jd as editor_place_by_value,Mi as editor_points,zi as editor_points_always,ki as editor_points_hover,qi as editor_points_never,yi as editor_points_per_hour,Ms as editor_polar_color,ws as editor_polar_color_by,Es as editor_polar_color_by_bands,Cs as editor_polar_color_by_series,js as editor_polar_color_by_shades,vs as editor_polar_scale,xs as editor_polar_scale_limits,fs as editor_polar_scale_shared,Ge as editor_preset,Be as editor_preset_battery,Je as editor_preset_custom,Oe as editor_preset_none,Ie as editor_preset_temperature,Fe as editor_preset_usage,As as editor_radar_axis,Ss as editor_radar_fill,qs as editor_radar_scale,Ns as editor_radar_scale_limits,Ps as editor_radar_scale_shared,K_ as editor_range,Vs as editor_range_color,h_ as editor_ranges,f_ as editor_ranges_colours,v_ as editor_ranges_shades,b_ as editor_readings,mo as editor_remove_band,go as editor_remove_entity,Qt as editor_ring_color,Us as editor_rings_start_angle,X_ as editor_rounded,Gs as editor_rounded_ends,we as editor_rule_area,xe as editor_rule_device_class,Ee as editor_rule_domain,Me as editor_rule_entity,Ce as editor_rule_floor,je as editor_rule_label,H as editor_section_actions,_ as editor_section_chart,D as editor_section_colours,L as editor_section_display,i as editor_section_entities,A as editor_section_limits,d as editor_section_style,qd as editor_sectors,Sd as editor_sectors_16,Nd as editor_sectors_4,Pd as editor_sectors_8,sn as editor_series_aggregate,cn as editor_series_aggregate_auto,hn as editor_series_aggregate_change,gn as editor_series_aggregate_first,yn as editor_series_aggregate_last,bn as editor_series_aggregate_max,mn as editor_series_aggregate_mean,pn as editor_series_aggregate_min,un as editor_series_aggregate_sum,dn as editor_series_axis,_n as editor_series_axis_auto,nn as editor_series_axis_left,ln as editor_series_axis_right,P as editor_series_color,on as editor_series_type,tn as editor_series_type_area,rn as editor_series_type_column,an as editor_series_type_line,Pt as editor_set_point,Lt as editor_set_point_color,fo as editor_severity,ua as editor_shade_color,At as editor_shade_fan,St as editor_shading,ms as editor_shape,us as editor_shape_donut,ps as editor_shape_pie,km as editor_shape_raincloud,Mm as editor_shape_violin,Fl as editor_show_as,Il as editor_show_as_percent,Ol as editor_show_as_total,Ed as editor_show_fill,Cd as editor_show_graph,te as editor_show_icon,wd as editor_show_indicator,de as editor_show_legend,kd as editor_show_legend_entity,zd as editor_show_legend_state,jd as editor_show_line,ae as editor_show_name,Un as editor_show_now,yo as editor_show_options,pa as editor_show_percent,Md as editor_show_points,xd as editor_show_state,ie as editor_show_target,re as editor_show_value,Wd as editor_size_by_value,ne as editor_sort,se as editor_sort_ascending,ce as editor_sort_descending,le as editor_sort_none,f as editor_source,x as editor_source_history,w as editor_source_statistics,zc as editor_spark,Nc as editor_spark_area,Sc as editor_spark_bar,Ac as editor_spark_color,Pc as editor_spark_column,qc as editor_spark_line,Nm as editor_split_by,Sm as editor_split_by_day,Dm as editor_split_by_month,Pm as editor_split_by_none,Am as editor_split_by_week,Rd as editor_stack,Ud as editor_stack_none,Gd as editor_stack_normal,Bd as editor_stack_percent,J as editor_start_angle,Qm as editor_start_from_first,si as editor_state_colors,pi as editor_state_colors_add,ui as editor_state_colors_color,ci as editor_state_colors_help,bi as editor_state_colors_remove,mi as editor_state_colors_state,Im as editor_steps,Om as editor_steps_change,Jm as editor_steps_current,Oc as editor_stream_curve,Ic as editor_stream_labels,Gc as editor_stream_order,Bc as editor_stream_order_inside_out,Fc as editor_stream_order_listed,I as editor_style_arc,Vd as editor_style_area,V as editor_style_bar,Id as editor_style_beeswarm,a_ as editor_style_box,wa as editor_style_bubble,y_ as editor_style_bullet,C_ as editor_style_candlestick,H_ as editor_style_climate,W_ as editor_style_column,en as editor_style_combined,vn as editor_style_day_clock,Ln as editor_style_dumbbell,el as editor_style_funnel,ml as editor_style_grouped_bars,jl as editor_style_heatmap,Rl as editor_style_histogram,Wc as editor_style_icicle,es as editor_style_line,is as editor_style_lollipop,F as editor_style_needle,ds as editor_style_pictograph,cs as editor_style_pie,hs as editor_style_polar_area,zs as editor_style_radar,Hs as editor_style_range_area,B as editor_style_ring,Rs as editor_style_rings,Bs as editor_style_sankey,xa as editor_style_scatter,U as editor_style_segmented,ec as editor_style_slope,kc as editor_style_sparkline,Lc as editor_style_streamgraph,Qc as editor_style_sunburst,G as editor_style_tank,R as editor_style_thin,_m as editor_style_timeline,mm as editor_style_treemap,xm as editor_style_trend,Em as editor_style_violin,Vm as editor_style_waffle,Fm as editor_style_waterfall,ou as editor_style_wind_rose,Zc as editor_sunburst_shape,Kc as editor_sunburst_shape_full,Xc as editor_sunburst_shape_half,jt as editor_sync,ke as editor_tap_action,Le as editor_target,oe as editor_tick_labels,gi as editor_timeline_group,_i as editor_timeline_legend,ni as editor_timeline_legend_above,li as editor_timeline_legend_hidden,T as editor_title,Ws as editor_to,tt as editor_tooltip,Wm as editor_total,um as editor_treemap_color_by,bm as editor_treemap_color_by_bands,pm as editor_treemap_color_by_group,md as editor_trend_color_icon,ud as editor_trend_group,Ni as editor_trend_labels,Gi as editor_trend_legend,bd as editor_trend_tooltip,Fi as editor_trend_y_max,Bi as editor_trend_y_min,E_ as editor_under_aggregate,z_ as editor_underneath,q_ as editor_underneath_columns,N_ as editor_underneath_line,ue as editor_unit,_s as editor_unit_icon,M_ as editor_up_color,Eo as editor_value_axis,Wi as editor_value_factor,Mo as editor_value_grid,zo as editor_value_max,ko as editor_value_min,Rm as editor_waffles,Gm as editor_waffles_each,Um as editor_waffles_one,Zm as editor_waterfall_invert,m_ as editor_whiskers,p_ as editor_whiskers_range,u_ as editor_whiskers_tukey,Hd as editor_wind_none,Ld as editor_wind_now,Dd as editor_wind_roles,Td as editor_wind_statistics,Jr as editor_x_axis,Va as editor_x_max,Ta as editor_x_min,Pa as editor_xy_x_axis,Qr as editor_y_axis,gd as editor_y_axis_side,yd as editor_y_axis_side_primary,hd as editor_y_axis_side_secondary,et as editor_y_max,Ji as editor_y_max_secondary,$r as editor_y_min,Oi as editor_y_min_secondary,ot as editor_y_scale,at as editor_y_scale_linear,rt as editor_y_scale_log,fr as editor_zones,Ba as editor_zoom,e as entity_not_found,Ro as extremes_average,To as extremes_high,Vo as extremes_low,cl as funnel_aria,Cl as grouped_bars_aria,El as heatmap_aria,kl as heatmap_empty,Ml as heatmap_hours,rm as hierarchy_empty,tm as hierarchy_no_reading,am as hierarchy_other,om as hierarchy_total,$l as histogram_reading,Yl as histogram_readings,dm as icicle_aria,a as no_entities,r as no_matches,t as none_available,fa as parts_aria,va as parts_average,ha as parts_total,da as period_last_day,_a as period_last_days,ta as period_last_hour,ia as period_last_hours,oa as period_last_month,sa as period_last_month_rolling,ca as period_last_months,$o as period_last_week,na as period_last_week_rolling,la as period_last_weeks,ra as period_last_year,Wo as period_next,Qo as period_previous,Zo as period_return,ea as period_this_month,Yo as period_this_week,aa as period_this_year,Ko as period_today,Xo as period_yesterday,ks as polar_area_aria,Ds as radar_aria,Ls as radar_other,Ks as sankey_aria,Xs as sankey_flow,Ys as sankey_no_flows,$s as sankey_nothing,Sa as scatter_needs_two,Da as scatter_role_x,cc as slope_ago,mc as slope_ago_one,Ec as slope_entity_aria,bc as slope_last,gc as slope_last_one,Mc as slope_no_reading,sc as slope_now,uc as slope_previous,pc as slope_previous_one,vc as slope_unit_day,fc as slope_unit_day_other,yc as slope_unit_hour,hc as slope_unit_hour_other,Cc as slope_unit_month,jc as slope_unit_month_other,xc as slope_unit_week,wc as slope_unit_week_other,Dc as spark_aria,Jc as stream_total,im as sunburst_aria,$d as swarm_earliest_latest,Kd as swarm_events,e_ as swarm_lowest_highest,Yd as swarm_none,Zd as swarm_readings,Xd as swarm_shown,lm as timeline_for,cm as timeline_measurement,nm as timeline_no_states,sm as timeline_now,gm as treemap_aria,hm as treemap_empty,vm as treemap_no_reading,fm as treemap_other,ym as treemap_total,Cm as trend_avg,jm as trend_max,wm as trend_min,o as unavailable,Lm as violin_median,Hm as violin_none,Tm as violin_raincloud,eu as waterfall_aria,Xm as waterfall_end,$m as waterfall_no_readings,Km as waterfall_start,Ym as waterfall_total,lu as wind_aria,su as wind_aria_calm,cu as wind_aria_still,iu as wind_calm,ru as wind_mean_speed,au as wind_prevailing,nu as wind_share,du as wind_speed,_u as wind_speed_unit,tu as wind_strongest,Ra as zoom_reset,Ua as zoom_window,Ga as zoom_window_label}; +//# sourceMappingURL=chartdeck-card.es-Bjbhmsp-.js.map diff --git a/dist/chartdeck-card.es-Bjbhmsp-.js.map b/dist/chartdeck-card.es-Bjbhmsp-.js.map new file mode 100644 index 0000000..4f3a97a --- /dev/null +++ b/dist/chartdeck-card.es-Bjbhmsp-.js.map @@ -0,0 +1 @@ +{"version":3,"file":"chartdeck-card.es-Bjbhmsp-.js","sources":[],"sourcesContent":[],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/chartdeck-card.fr-Bux47UXp.js b/dist/chartdeck-card.fr-Bux47UXp.js new file mode 100644 index 0000000..1e2145c --- /dev/null +++ b/dist/chartdeck-card.fr-Bux47UXp.js @@ -0,0 +1,2 @@ +const e="Entité introuvable",r="Indisponible",t="Ajoutez une entité dans l'éditeur pour commencer.",o="Aucune entité ne correspond pour le moment.",i="Aucune de ces entités n'est disponible.",a="Entités",_="Style",n="Graphique",s="Barres",l="Jauges",d="Graphiques d'historique",u="Parts d'un total",c="Comparaisons",p="Distributions",m="Afficher les derniers",g="Unité",h="Heures",b="Jours",y="Semaines",f="Mois",v="Relevés depuis",x="Historique (chaque changement)",w="Statistiques à long terme",C="Forme de la ligne",A="Lissée",q="Droite",L="En escalier",k="Couleur",P="Une couleur par entité",M="Par plage de couleur",D="Afficher les valeurs sur les points",R="Couleur de la ligne",S="Pointillés",z="Limites",j="Couleurs",E="Affichage",T="Actions",N="Titre",V="Barre",I="Fine",B="Segmentée",G="Réservoir",U="Anneau",H="Aiguille",F="Arc",J="Les angles sont en degrés, dans le sens horaire depuis le haut : -90 à gauche, 90 à droite. Laissez-les vides pour la forme habituelle du style.",O="Angle de départ",Q="Angle de fin",W="Au centre",Z="La valeur",K="Le libellé de la plage de couleur",X="Le nom",Y="Mon propre texte",$="Rien",ee="Texte",re="Graduations chiffrées",te="Afficher le nom",oe="Afficher la valeur",ie="Afficher l'icône",ae="Afficher la cible",_e="Afficher la légende",ne="Colonnes",se="Tri",le="Dans l'ordre de la liste",de="Plus bas en premier",ue="Plus haut en premier",ce="Décimales",pe="Unité",me="Animer",ge="Masquer les entités indisponibles",he="Afficher au maximum",be="Afficher aussi toutes les entités correspondantes",ye="Les nouveaux appareils apparaissent sans modifier la carte. Choisissez-en plusieurs d'un même type pour correspondre à l'un d'eux ; les types différents doivent tous correspondre.",fe="Exclure",ve="Les entités correspondantes sont exclues si elles correspondent à l'un de ces critères.",xe="Classe d'appareil",we="Pièces",Ce="Étages",Ae="Étiquettes",qe="Domaines",Le="Entités",ke="Action d'appui",Pe="Action d'appui long",Me="Action de double appui",De="Attribut (au lieu de l'état)",Re="Nom",Se="Icône",ze="Minimum",je="Maximum",Ee="Cible",Te="Aucun",Ne="réglage de la carte",Ve="Par défaut ({value})",Ie="Nombre",Be="Entité",Ge="Préréglage",Ue="Batterie (bas = mauvais)",He="Consommation (haut = mauvais)",Fe="Température",Je="Aucun",Oe="Personnalisé",Qe="À partir de",We="Partir d'une entité",Ze="Partir d'un nombre",Ke="Commence à cette entité",Xe="Couleur",Ye="Couleur CSS",$e="Libellé",er="Icône",rr="Colorer les icônes selon leur plage",tr="Principale",or="Vert",ir="Ambre",ar="Rouge",_r="Bleu",nr="Violet",sr="Gris",lr="Personnalisée…",dr="Ajouter une plage",ur="Supprimer la plage",cr="Ajouter une entité",pr="Monter",mr="Descendre",gr="Supprimer l'entité",hr="Afficher les options",br="Masquer les options",yr="{entity} (introuvable)",fr="Couleurs",vr="{label} à {time}",xr="Orientation",wr="Horizontale",Cr="Verticale",Ar="Libellés des valeurs",qr="Lignes à chaque libellé de valeur",Lr="Valeur la plus basse affichée",kr="Valeur la plus haute affichée",Pr="Médiane",Mr="Moitié centrale",Dr="Plus bas – plus haut",Rr="Relevés",Sr="Appuyer sur un groupe pour afficher sa composition",zr="{label}. Afficher sa composition",jr="Retour à {name}",Er="Tout",Tr="Max",Nr="Min",Vr="Moy.",Ir="Marquer le relevé le plus haut",Br="Marquer le relevé le plus bas",Gr="Moyenne",Ur="Ne pas afficher",Hr="Ligne sur le graphique",Fr="Valeur seule",Jr="Marquer le plus haut, le plus bas et la moyenne",Or="Période précédente",Qr="Période suivante",Wr="Retour à {label}",Zr="Aujourd'hui",Kr="Hier",Xr="Cette semaine",Yr="La semaine dernière",$r="Ce mois-ci",et="Le mois dernier",rt="Cette année",tt="L'année dernière",ot="Dernière heure",it="{n} dernières heures",at="Dernier jour",_t="{n} derniers jours",nt="7 derniers jours",st="{n} dernières semaines",lt="Dernier mois",dt="{n} derniers mois",ut="Nuances d'une couleur",ct="Couleur des nuances (nom de palette ou couleur CSS)",pt="Afficher chaque part en pourcentage",mt="Total",gt="Moyenne",ht="Rien",bt="Total",yt="Moyenne",ft="{style} de {names}",vt="Nuage de points",xt="Bulles",wt="En abscisse",Ct="La première entité",At="Le temps",qt="Taille des points (px)",Lt="Dispersion (px)",kt="Plus petite bulle (px)",Pt="Plus grande bulle (px)",Mt="Couleur des points",Dt="Libellés en bas",Rt="Ajoutez une deuxième entité. La première va en abscisse, les autres en ordonnée.",St="Ajoutez trois entités : une en abscisse, une en ordonnée et une pour la taille de chaque bulle.",zt="Abscisse",jt="Taille",Et="Total",Tt="Valeur la plus basse en abscisse",Nt="Valeur la plus haute en abscisse",Vt="Réinitialiser le zoom",It="Affiché : de {from} à {to}",Bt="Partie du graphique affichée",Gt="Zoom et déplacement (pincement, Ctrl + molette ou glisser)",Ut="Bande d'aperçu sous le graphique",Ht="Annotations",Ft="Type",Jt="Ligne à une valeur",Ot="Plage de valeurs ombrée",Qt="Repères à des heures fixes",Wt="Repères quand une entité change",Zt="Libellé sur un relevé",Kt="Ligne",Xt="Plage",Yt="Heures",$t="Changements d'état",eo="Libellé de point",ro="Ajouter une annotation :",to="Valeur (un nombre ou une entité)",oo="De (un nombre ou une entité ; vide pour le bas)",io="À (un nombre ou une entité ; vide pour le haut)",ao="Heures : 07:00 pour chaque jour, ou 2026-10-28 07:00 (séparées par des virgules)",_o="Entité",no="Série (vide pour la première)",so="État (vide pour chaque changement)",lo="Ombrer pendant cet état",uo="Relevé",co="Le plus haut",po="Le plus bas",mo="Le plus récent",go="Le premier",ho="Libellé",bo="Couleur",yo="Pointillés",fo="Supprimer l'annotation",vo="Ombrer les plages de gravité derrière le graphique",xo="Période",wo="Les derniers…",Co="Aujourd'hui",Ao="Cette semaine",qo="Ce mois-ci",Lo="Cette année",ko="Périodes en arrière (0 pour l'actuelle)",Po="Tracer jusqu'à",Mo="Maintenant",Do="La fin de la période",Ro="Afficher les boutons précédent et suivant",So="Regrouper les relevés par",zo="Ne pas regrouper",jo="Heure",Eo="Jour",To="Semaine",No="Mois",Vo="Combiner par",Io="Moyenne",Bo="Somme",Go="Minimum",Uo="Maximum",Ho="Premier",Fo="Dernier",Jo="Variation (compteurs croissants)",Oo="Libellés de temps",Qo="Libellés des valeurs",Wo="Libellés des axes",Zo="À côté du graphique",Ko="Sur le graphique",Xo="Lignes horizontales",Yo="Lignes verticales",$o="Valeur la plus basse affichée",ei="Valeur la plus haute affichée",ri="Échelle des valeurs",ti="Linéaire",oi="Logarithmique (puissances de dix)",ii="Afficher les valeurs au survol ou au toucher",ai="Épaisseur de ligne (px)",_i="Point à chaque relevé",ni="Tracer au-dessus des autres lignes",si="Compact",li="Noms et valeurs",di="Au-dessus du graphique",ui="Sur le graphique",ci="Masqués",pi="Quels relevés",mi="Tous (autant que possible)",gi="Le plus récent",hi="Le plus haut et le plus bas",bi="Le premier et le plus récent",yi="Position du libellé",fi="Au-dessus des pics, sous les creux",vi="Au-dessus",xi="En dessous",wi="Sur le point",Ci="Autoriser le chevauchement des libellés",Ai="Groupe de synchronisation (les graphiques du même nom partagent le pointeur et la navigation par période)",qi="Un petit graphique par entité",Li="Échelle des valeurs",ki="Identique quand les unités correspondent",Pi="Identique pour tous les graphiques",Mi="Propre à chaque graphique",Di="Colonnes (vide pour s'adapter à la carte)",Ri="Afficher la consigne",Si="Ombrer pendant le chauffage ou la climatisation",zi="Ombrer quand seul le ventilateur tourne",ji="Couleur de la température",Ei="Couleur de la consigne",Ti="Couleur du chauffage",Ni="Couleur de la climatisation",Vi="Jours (plus de 1 affiche la journée moyenne)",Ii="Durée active",Bi="L'heure actuelle",Gi="Rien",Ui="Une barre toutes les",Hi="15 minutes",Fi="30 minutes",Ji="Heure",Oi="Automatique (variation pour les compteurs, sinon moyenne)",Qi="Couleur",Wi="Compte comme actif (vide : on, open, heating, home…)",Zi="Ajoutez d'abord une entité ci-dessus.",Ki="Regrouper par",Xi="Étage",Yi="Pièce",$i="Appareil",ea="Étiquette",ra="Groupe propre (prioritaire sur « Regrouper par » ; « Rez-de-chaussée / Cuisine » pour deux niveaux)",ta="Texte sur les barres",oa="État",ia="Durée",aa="État et durée",_a="Aucun",na="Légende des états",sa="Au-dessus du graphique",la="Masquée",da="Couleurs des états",ua="Un nom de palette (amber, green, blue, red, purple, grey, primary) ou toute couleur CSS.",ca="État",pa="Couleur",ma="Ajouter une couleur d'état",ga="Supprimer",ha="Groupe (les lignes du même groupe partagent un titre)",ba="Points par heure (0 trace chaque relevé)",ya="Graphique",fa="Ligne",va="Barres",xa="Aucun (valeur seule)",wa="Remplissage sous la ligne",Ca="Plein",Aa="Dégradé",qa="Aucun",La="Points sur la ligne",ka="Au survol",Pa="Toujours",Ma="Jamais",Da="Libellés du plus haut et du plus bas",Ra="Au survol",Sa="Toujours",za="Jamais",ja="Hauteur du graphique (pour 500 px de largeur)",Ea="Espace entre les barres (px)",Ta="Couleurs des plages",Na="Fondu",Va="Changement à chaque plage",Ia="Afficher le plus bas et le plus haut",Ba="Afficher la moyenne",Ga="Légende (deux entités ou plus)",Ua="Valeur la plus basse (~ pour souple)",Ha="Valeur la plus haute (~ pour souple)",Fa="Plus petite plage affichée",Ja="Axe droit, plus bas (~ pour souple)",Oa="Axe droit, plus haut (~ pour souple)",Qa="Axe droit, plus petite plage",Wa="Multiplier par 10 puissance",Za="Nom et icône",Ka="Répartis",Xa="Gauche",Ya="Droite",$a="Centre",e_="Icône",r_="À droite du nom",t_="À gauche du nom",o_="À côté de la valeur",i_="Valeur",a_="Gauche",__="Droite",n_="Centre",s_="Taille de la valeur (%)",l_="Taille du nom (px)",d_="Colorer le nom",u_="Colorer la valeur",c_="Colorer l'icône",p_="Sans arrière-plan (dans une autre carte)",m_="Image à la place de l'icône (URL)",g_="Afficher la valeur sous le pointeur",h_="Axe",b_="Gauche",y_="Droite (sa propre échelle)",f_="Combiner par",v_="Tracer la valeur actuelle en ligne horizontale",x_="Afficher sa valeur à côté de la principale",w_="Point coloré selon la valeur",C_="Sur le graphique",A_="Ligne",q_="Remplissage",L_="Points",k_="Dans la légende",P_="Valeur dans la légende",M_="Directions",D_="4 (N, E, S, W)",R_="8 (N, NE, E…)",S_="16 (N, NNE, NE…)",z_="Calme en dessous de (vide : 0,5 m/s, ou l'équivalent en km/h, mph ou nœuds)",j_="La première entité est la direction du vent, en degrés ou en points cardinaux comme SW. La seconde est la vitesse du vent : sans elle, les pétales indiquent seulement la fréquence du vent dans chaque direction.",E_="Direction : {direction}. Vitesse : {speed}.",T_="aucune",N_="Les statistiques à long terme donnent la direction moyenne de chaque heure. Ce n'est juste autour du nord que si le capteur enregistre la direction comme un angle (classe d'état measurement_angle) ; sinon une heure oscillant entre NNW et NNE donne en moyenne le sud. L'historique est exact.",V_="Aires",I_="Empilement",B_="Ne pas empiler",G_="Les unes sur les autres",U_="À 100 %",H_="Couleur sous zéro",F_="Essaim",J_="Placer chaque point selon",O_="Sa valeur",Q_="L'heure à laquelle il s'est produit",W_="Points plus grands pour les valeurs plus grandes",Z_="{n} relevés",K_="{n} fois actif",X_="Points affichés",Y_="Aucun relevé",$_="Plus ancien – plus récent",en="Plus bas – plus haut",rn="Couleur",tn="Boîte à moustaches",on="Boîte à moustaches de {names}",an="Plus haut",_n="Quartile supérieur",nn="Médiane",sn="Quartile inférieur",ln="Plus bas",dn="Moyenne",un="Relevés",cn="Valeurs aberrantes",pn="Portée des moustaches",mn="1,5 × hauteur de la boîte (valeurs aberrantes en points)",gn="Le plus bas et le plus haut",hn="Afficher chaque relevé en point",bn="Couleur de la boîte",yn="Puce",fn="Plages derrière la barre",vn="Nuances de gris",xn="Couleurs des plages de couleur",wn="cible {target}",Cn="Graphique {style} de {names}",An="Chandeliers",qn="Un chandelier par",Ln="Entités en dessous : combiner les relevés par",kn="Couleur à la hausse",Pn="Couleur à la baisse",Mn="Tracer les autres entités en dessous sous forme de",Dn="Colonnes",Rn="Une ligne",Sn="Ouverture",zn="Haut",jn="Bas",En="Clôture",Tn="Semaine du {date}",Nn="Thermostat",Vn="Consigne",In="{low} – {high}",Bn="{name} n'est pas un thermostat. Choisissez une entité climatisation.",Gn="Chauffage",Un="Préchauffage",Hn="Refroidissement",Fn="Dégivrage",Jn="Déshumidification",On="Ventilation",Qn="Inactif",Wn="Arrêt",Zn="Colonnes",Kn="Automatique",Xn="Du plus bas au plus haut dans chaque colonne",Yn="Extrémités arrondies",$n="Afficher les valeurs sur les colonnes",es="Couleur",rs="Combiné",ts="Tracer en",os="Ligne",is="Colonnes",as="Aire",_s="Axe des valeurs",ns="Automatique (selon l'unité)",ss="Gauche",ls="Droite",ds="Combiner par",us="Comme la carte",cs="Moyenne",ps="Somme",ms="Minimum",gs="Maximum",hs="Premier",bs="Dernier",ys="Variation (compteurs croissants)",fs="Horloge 24 heures",vs="une fois",xs="{n} fois",ws="{text} par jour",Cs="{total} · pic à {time}",As="pic de {value} à {time}",qs="{name} {state}",Ls="{label} par jour",ks="Rien d'enregistré",Ps="Maintenant",Ms="actif",Ds="Journée moyenne · {n} derniers jours",Rs="{on} jours sur {of}",Ss="{duration} jusqu'ici",zs="{from} – {to}",js="{value} en moyenne",Es="Haltères",Ts="Comparer",Ns="Le plus bas et le plus haut de la période",Vs="Le début de la période et maintenant",Is="La cible et maintenant",Bs="Marquer la valeur actuelle",Gs="Bas",Us="Haut",Hs="Maintenant",Fs="Cible",Js="Il y a une heure",Os="Il y a {n} heures",Qs="Il y a un jour",Ws="Il y a {n} jours",Zs="Il y a une semaine",Ks="Il y a {n} semaines",Xs="Il y a un mois",Ys="Il y a {n} mois",$s="Aucune valeur",el="Entonnoir",rl="Forme",tl="Entonnoir (première étape en haut)",ol="Pyramide (première étape en bas)",il="Pourcentages",al="Part de la première étape",_l="Part de l'étape précédente",nl="Ne pas afficher",sl="Couleur",ll="Une couleur par entité",dl="Par plage de couleur",ul="{style} de {names}",cl="Barres groupées",pl="Barres",ml="Côte à côte",gl="Empilées",hl="Empilées à 100 %",bl="Couleur",yl="Une couleur par série",fl="Par plage de couleur",vl="Ligne",xl="Série",wl="Couleur de la barre",Cl="Graphique à barres de {names}",Al="Carte thermique",ql="Carte thermique de {name}",Ll="Jours moyennés",kl="Aucun relevé",Pl="Disposition",Ml="Heure par jour de la semaine",Dl="Calendrier (un jour par case)",Rl="Échelle continue",Sl="Cases",zl="Carrées",jl="Arrondies",El="Hexagonales",Tl="Couleur la plus basse à",Nl="Couleur la plus haute à",Vl="Légende",Il="Histogramme",Bl="Compter",Gl="Le temps passé dans chaque intervalle",Ul="Les relevés dans chaque intervalle",Hl="Afficher en",Fl="Part du total (%)",Jl="Heures ou relevés",Ol="Nombre d'intervalles (vide : automatique)",Ql="Largeur d'intervalle (prioritaire sur le nombre)",Wl="Deux entités ou plus",Zl="Barres côte à côte",Kl="Barres superposées",Xl="Libellés des valeurs en bas",Yl="{n} relevés",$l="1 relevé",ed="Ligne",rd="Chargement de l'historique…",td="Impossible de charger l'historique : {error}",od="Aucun relevé sur cette période.",id="Rien au-dessus de zéro à tracer sur une échelle logarithmique.",ad="Sucettes",_d="Pictogramme",nd="Icône (chaque entité peut avoir la sienne)",sd="Chaque icône représente (vide : automatique)",ld="Icônes par groupe (0 : pas de groupes)",dd="Remplir partiellement une icône pour les fractions",ud="Secteurs / anneau",cd="Forme",pd="Anneau",md="Secteurs",gd="Ligne sous le total",hd="Espace entre les parts",bd="Remplissages en dégradé",yd="Aire polaire",fd="Échelle",vd="Une échelle pour tous, de 0 à la plus grande valeur",xd="Chaque part du minimum au maximum de son entité",wd="Couleur",Cd="Une couleur par entité",Ad="Nuances d'une couleur, plus foncée pour plus",qd="Par plage de couleur",Ld="Couleur des nuances",kd="Graphique en aire polaire de {names}",Pd="Radar",Md="Échelle",Dd="Chaque axe du minimum au maximum de son entité",Rd="Une échelle pour tous, de 0 à la plus grande valeur",Sd="Remplir les formes",zd="Nom de l'axe (les entités ayant le même nom d'axe s'alignent entre les groupes)",jd="Graphique radar de {names}",Ed="Autre",Td="Aire de plage",Nd="Tracer la moyenne en ligne",Vd="Couleur",Id="Anneaux",Bd="Angle de départ (0 en haut)",Gd="Extrémités arrondies",Ud="Sankey (flux)",Hd="Colorer les flux selon",Fd="Leur origine, ou leur destination après un nœud intermédiaire",Jd="Leur origine",Od="Leur destination",Qd="Flux depuis",Wd="Flux vers",Zd="Couleur du flux",Kd="Diagramme de flux : {flows}",Xd="{from} vers {to} {value}",Yd="Indiquez pour chaque entité un « Flux depuis » et un « Flux vers » dans ses options.",$d="Aucun flux pour le moment.",eu="Pente",ru="Comparer",tu="Le relevé d'alors et d'aujourd'hui",ou="La hausse sur chaque période (compteurs)",iu="Hausse ou baisse",au="Par groupe",_u="Une hausse est",nu="Mauvaise (rouge)",su="Bonne (vert)",lu="Groupe",du="Maintenant",uu="Il y a {n} {unit}",cu="Il y a 1 {unit}",pu="Période précédente ({n} {unit})",mu="Période précédente (1 {unit})",gu="Dernière période ({n} {unit})",hu="Dernière période (1 {unit})",bu="heure",yu="heures",fu="jour",vu="jours",xu="semaine",wu="semaines",Cu="mois",Au="mois",qu="{name}, de {from} à {to}",Lu="aucun relevé",ku="Mini-graphiques",Pu="Mini-graphique",Mu="Ligne",Du="Aire",Ru="Colonnes",Su="Barre sous le nom et la valeur",zu="Couleur",ju="Tendance de {name}",Eu="Flux empilés",Tu="Forme",Nu="Flux empilés (ondulant)",Vu="Centré",Iu="Part du total (100 %)",Bu="Empilé depuis zéro",Gu="Ordre",Uu="Les plus grands au milieu",Hu="Dans l'ordre de la liste, le premier en bas",Fu="Noms sur les flux",Ju="Bords",Ou="Total",Qu="Rayons de soleil",Wu="Stalactites",Zu="Forme",Ku="Cercle complet",Xu="Demi-cercle",Yu="Couleur",$u="Une couleur par groupe",ec="Par plage de couleur",rc="Total",tc="Autre",oc="Rien à afficher : aucune entité n'a de valeur supérieure à zéro.",ic="Aucun relevé :",ac="Rayons de soleil de {names}",_c="Graphique en stalactites de {names}",nc="Chronologie des états",sc="Aucun état enregistré sur cette période.",lc="pendant {duration}",dc="Maintenant",uc="Des relevés, pas des états : un graphique en ligne convient mieux",cc="Carte proportionnelle",pc="Couleur",mc="Une couleur par groupe",gc="Par plage de couleur",hc="Carte proportionnelle de {names}",bc="{value} au total",yc="Rien à afficher : aucune entité n'a de valeur supérieure à zéro.",fc="Aucun relevé :",vc="Autre",xc="Tendance",wc="Min",Cc="Moyenne",Ac="Max",qc="Violon",Lc="Violon",kc="Nuage de pluie (demi-violon, boîte et relevés)",Pc="Boîte avec la médiane et la moitié centrale",Mc="Lissage (dans l'unité de l'entité, vide pour automatique)",Dc="Une forme par",Rc="Entité",Sc="Entité et jour",zc="Entité et semaine",jc="Entité et mois",Ec="médiane {value}",Tc="Aucun relevé",Nc="Nuage de pluie",Vc="Gaufre",Ic="Gaufres",Bc="Une seule, partagée entre les entités",Gc="Une par entité, côte à côte",Uc="Afficher la première part en grand",Hc="Cascade",Fc="Chaque étape est",Jc="Sa variation sur la période",Oc="Sa valeur actuelle",Qc="Partir du relevé de la première entité au début de la période",Wc="Afficher le total à la fin",Zc="Décompte (une hausse de ces entités est une baisse du total)",Kc="Début",Xc="Fin",Yc="Total",$c="Aucun relevé",ep="Graphique en cascade : {bars}",rp="Rose des vents",tp="Dominant",op="Vitesse moyenne",ip="Le plus fort",ap="Calme",_p="Vitesse",np="Vitesse ({unit})",sp="Part du temps",lp="Rose des vents, dominant {direction} {share}",dp="Rose des vents, dominant {direction} {share}, calme {calm}",up="Rose des vents, calme {calm}";var cp={entity_not_found:e,unavailable:r,no_entities:t,no_matches:o,none_available:i,editor_section_entities:a,editor_section_style:_,editor_section_chart:n,editor_group_bars:s,editor_group_gauges:l,editor_group_history:d,editor_group_totals:u,editor_group_compare:c,editor_group_distribution:p,editor_period_last:m,editor_period_unit:g,editor_period_unit_hour:h,editor_period_unit_day:b,editor_period_unit_week:y,editor_period_unit_month:f,editor_source:v,editor_source_history:x,editor_source_statistics:w,editor_curve:C,editor_curve_smooth:A,editor_curve_straight:q,editor_curve_step:L,editor_color_by:k,editor_color_by_series:P,editor_color_by_bands:M,editor_labels:D,editor_series_color:R,editor_dash:S,editor_section_limits:z,editor_section_colours:j,editor_section_display:E,editor_section_actions:T,editor_title:N,editor_style_bar:V,editor_style_thin:I,editor_style_segmented:B,editor_style_tank:G,editor_style_ring:U,editor_style_needle:H,editor_style_arc:"Arc",editor_gauge_help:J,editor_start_angle:O,editor_end_angle:Q,editor_center:W,editor_center_mode_value:Z,editor_center_mode_band:K,editor_center_mode_name:X,editor_center_mode_text:Y,editor_center_mode_none:$,editor_center_text:ee,editor_tick_labels:re,editor_show_name:te,editor_show_value:oe,editor_show_icon:ie,editor_show_target:ae,editor_show_legend:_e,editor_columns:ne,editor_sort:"Tri",editor_sort_none:le,editor_sort_ascending:de,editor_sort_descending:ue,editor_decimals:ce,editor_unit:pe,editor_animate:me,editor_hide_unavailable:ge,editor_limit:he,editor_include_heading:be,editor_include_help:ye,editor_exclude_heading:fe,editor_exclude_help:ve,editor_rule_device_class:xe,editor_rule_area:we,editor_rule_floor:Ce,editor_rule_label:Ae,editor_rule_domain:qe,editor_rule_entity:Le,editor_tap_action:ke,editor_hold_action:Pe,editor_double_tap_action:Me,editor_attribute:De,editor_name:"Nom",editor_icon:Se,editor_min:ze,editor_max:je,editor_target:Ee,editor_none:Te,editor_card_setting:Ne,editor_limit_default:Ve,editor_limit_number:Ie,editor_limit_entity:Be,editor_preset:Ge,editor_preset_battery:Ue,editor_preset_usage:He,editor_preset_temperature:Fe,editor_preset_none:Je,editor_preset_custom:Oe,editor_band_from:Qe,editor_band_from_entity:We,editor_band_from_number:Ze,editor_band_from_entity_label:Ke,editor_band_color:Xe,editor_band_custom_color:Ye,editor_band_label:$e,editor_band_icon:er,editor_color_icon:rr,editor_color_primary:tr,editor_color_green:or,editor_color_amber:ir,editor_color_red:ar,editor_color_blue:_r,editor_color_purple:nr,editor_color_grey:sr,editor_color_custom:lr,editor_add_band:dr,editor_remove_band:ur,editor_add_entity:cr,editor_move_up:pr,editor_move_down:mr,editor_remove_entity:gr,editor_show_options:hr,editor_hide_options:br,editor_not_found:yr,editor_severity:fr,annotation_at:vr,editor_orientation:xr,editor_orientation_horizontal:wr,editor_orientation_vertical:Cr,editor_value_axis:Ar,editor_value_grid:qr,editor_value_min:Lr,editor_value_max:kr,dist_median:Pr,dist_middle:Mr,dist_range:Dr,dist_count:Rr,editor_drill_down:Sr,drill_into:zr,drill_back:jr,drill_top:Er,extremes_high:"Max",extremes_low:"Min",extremes_average:Vr,editor_extremes_max:Ir,editor_extremes_min:Br,editor_extremes_average:Gr,editor_extremes_average_none:Ur,editor_extremes_average_line:Hr,editor_extremes_average_figure:Fr,editor_extremes:Jr,period_previous:Or,period_next:Qr,period_return:Wr,period_today:Zr,period_yesterday:Kr,period_this_week:Xr,period_last_week:Yr,period_this_month:$r,period_last_month:et,period_this_year:rt,period_last_year:tt,period_last_hour:ot,period_last_hours:it,period_last_day:at,period_last_days:_t,period_last_week_rolling:nt,period_last_weeks:st,period_last_month_rolling:lt,period_last_months:dt,editor_color_by_shades:ut,editor_shade_color:ct,editor_show_percent:pt,editor_center_total:mt,editor_center_average:gt,editor_center_none:ht,parts_total:bt,parts_average:yt,parts_aria:ft,editor_style_scatter:vt,editor_style_bubble:xt,editor_against:wt,editor_against_entity:Ct,editor_against_time:At,editor_dot_size:qt,editor_jitter:Lt,editor_min_size:kt,editor_max_size:Pt,editor_dot_color:Mt,editor_xy_x_axis:Dt,scatter_needs_two:Rt,bubble_needs_three:St,scatter_role_x:zt,bubble_role_size:jt,chart_total:Et,editor_x_min:Tt,editor_x_max:Nt,zoom_reset:Vt,zoom_window:It,zoom_window_label:Bt,editor_zoom:Gt,editor_overview:Ut,editor_annotations:Ht,editor_annotation_type:Ft,editor_annotation_type_line:Jt,editor_annotation_type_band:Ot,editor_annotation_type_time:Qt,editor_annotation_type_state:Wt,editor_annotation_type_point:Zt,editor_annotation_add_line:Kt,editor_annotation_add_band:Xt,editor_annotation_add_time:Yt,editor_annotation_add_state:$t,editor_annotation_add_point:eo,editor_annotation_add:ro,editor_annotation_value:to,editor_annotation_from:oo,editor_annotation_to:io,editor_annotation_times:ao,editor_annotation_entity:_o,editor_annotation_series:no,editor_annotation_state:so,editor_annotation_shade:lo,editor_annotation_at:uo,editor_annotation_at_max:co,editor_annotation_at_min:po,editor_annotation_at_last:mo,editor_annotation_at_first:go,editor_annotation_label:ho,editor_annotation_color:bo,editor_annotation_dash:yo,editor_annotation_remove:fo,editor_zones:vo,editor_period_calendar:xo,editor_period_calendar_rolling:wo,editor_period_calendar_day:Co,editor_period_calendar_week:Ao,editor_period_calendar_month:qo,editor_period_calendar_year:Lo,editor_period_offset:ko,editor_period_until:Po,editor_period_until_now:Mo,editor_period_until_end:Do,editor_period_navigate:Ro,editor_group_by:So,editor_group_by_none:zo,editor_group_by_hour:jo,editor_group_by_day:Eo,editor_group_by_week:To,editor_group_by_month:No,editor_aggregate:Vo,editor_aggregate_mean:Io,editor_aggregate_sum:Bo,editor_aggregate_min:Go,editor_aggregate_max:Uo,editor_aggregate_first:Ho,editor_aggregate_last:Fo,editor_aggregate_change:Jo,editor_x_axis:Oo,editor_y_axis:Qo,editor_axis_labels:Wo,editor_axis_labels_outside:Zo,editor_axis_labels_inside:Ko,editor_grid_horizontal:Xo,editor_grid_vertical:Yo,editor_y_min:$o,editor_y_max:ei,editor_y_scale:ri,editor_y_scale_linear:ti,editor_y_scale_log:oi,editor_tooltip:ii,editor_line_width:ai,editor_dots:_i,editor_on_top:ni,editor_compact:si,editor_header:li,editor_header_above:di,editor_header_over:ui,editor_header_hidden:ci,editor_labels_show:pi,editor_labels_show_all:mi,editor_labels_show_last:gi,editor_labels_show_minmax:hi,editor_labels_show_ends:bi,editor_labels_position:yi,editor_labels_position_auto:fi,editor_labels_position_above:vi,editor_labels_position_below:xi,editor_labels_position_center:wi,editor_labels_overlap:Ci,editor_sync:Ai,editor_multiples:qi,editor_multiples_scale:Li,editor_multiples_scale_auto:ki,editor_multiples_scale_shared:Pi,editor_multiples_scale_independent:Mi,editor_multiples_columns:Di,editor_set_point:Ri,editor_shading:Si,editor_shade_fan:zi,editor_current_color:ji,editor_set_point_color:Ei,editor_heating_color:Ti,editor_cooling_color:Ni,editor_days:Vi,editor_day_clock_center_total:Ii,editor_day_clock_center_now:Bi,editor_day_clock_center_none:Gi,editor_bucket:Ui,editor_bucket_15:Hi,editor_bucket_30:Fi,editor_bucket_60:Ji,editor_aggregate_auto:Oi,editor_ring_color:Qi,editor_active:Wi,editor_entity_options_none:Zi,editor_hierarchy_group_by:Ki,editor_group_by_floor:Xi,editor_group_by_area:Yi,editor_group_by_device:$i,editor_group_by_label:ea,editor_entity_groups:ra,editor_bar_labels:ta,editor_bar_labels_state:oa,editor_bar_labels_duration:ia,editor_bar_labels_both:aa,editor_bar_labels_none:_a,editor_timeline_legend:na,editor_timeline_legend_above:sa,editor_timeline_legend_hidden:la,editor_state_colors:da,editor_state_colors_help:ua,editor_state_colors_state:ca,editor_state_colors_color:pa,editor_state_colors_add:ma,editor_state_colors_remove:ga,editor_timeline_group:ha,editor_points_per_hour:ba,editor_graph:ya,editor_graph_line:fa,editor_graph_bar:va,editor_graph_none:xa,editor_fill:wa,editor_fill_solid:Ca,editor_fill_fade:Aa,editor_fill_none:qa,editor_points:La,editor_points_hover:ka,editor_points_always:Pa,editor_points_never:Ma,editor_trend_labels:Da,editor_labels_hover:Ra,editor_labels_always:Sa,editor_labels_never:za,editor_height:ja,editor_bar_spacing:Ea,editor_color_transition:Ta,editor_color_transition_smooth:Na,editor_color_transition_hard:Va,editor_extrema:Ia,editor_average:Ba,editor_trend_legend:Ga,editor_trend_y_min:Ua,editor_trend_y_max:Ha,editor_min_range:Fa,editor_y_min_secondary:Ja,editor_y_max_secondary:Oa,editor_min_range_secondary:Qa,editor_value_factor:Wa,editor_align_header:Za,editor_align_header_default:Ka,editor_align_header_left:Xa,editor_align_header_right:Ya,editor_align_header_center:$a,editor_align_icon:e_,editor_align_icon_right:r_,editor_align_icon_left:t_,editor_align_icon_state:o_,editor_align_state:i_,editor_align_state_left:a_,editor_align_state_right:__,editor_align_state_center:n_,editor_font_size:s_,editor_font_size_header:l_,editor_color_name:d_,editor_color_value:u_,editor_trend_color_icon:c_,editor_trend_group:p_,editor_icon_image:m_,editor_trend_tooltip:g_,editor_y_axis_side:"Axe",editor_y_axis_side_primary:b_,editor_y_axis_side_secondary:y_,editor_entity_aggregate:f_,editor_fixed_value:v_,editor_show_state:x_,editor_show_indicator:w_,editor_show_graph:C_,editor_show_line:A_,editor_show_fill:q_,editor_show_points:L_,editor_show_legend_entity:k_,editor_show_legend_state:P_,editor_sectors:M_,editor_sectors_4:D_,editor_sectors_8:R_,editor_sectors_16:S_,editor_calm:z_,editor_wind_roles:j_,editor_wind_now:E_,editor_wind_none:T_,editor_wind_statistics:N_,editor_style_area:V_,editor_stack:I_,editor_stack_none:B_,editor_stack_normal:G_,editor_stack_percent:U_,editor_negative_color:H_,editor_style_beeswarm:F_,editor_place_by:J_,editor_place_by_value:O_,editor_place_by_time_of_day:Q_,editor_size_by_value:W_,swarm_readings:Z_,swarm_events:K_,swarm_shown:X_,swarm_none:Y_,swarm_earliest_latest:$_,swarm_lowest_highest:en,editor_fill_color:rn,editor_style_box:tn,box_aria:on,box_highest:an,box_upper_quartile:_n,box_median:nn,box_lower_quartile:sn,box_lowest:ln,box_mean:dn,box_count:un,box_outliers:cn,editor_whiskers:pn,editor_whiskers_tukey:mn,editor_whiskers_range:gn,editor_readings:hn,editor_box_color:bn,editor_style_bullet:yn,editor_ranges:fn,editor_ranges_shades:vn,editor_ranges_colours:xn,compare_target:wn,chart_aria:Cn,editor_style_candlestick:An,editor_candle_by:qn,editor_under_aggregate:Ln,editor_up_color:kn,editor_down_color:Pn,editor_underneath:Mn,editor_underneath_columns:Dn,editor_underneath_line:Rn,candle_open:Sn,candle_high:zn,candle_low:"Bas",candle_close:En,candle_week_of:Tn,editor_style_climate:Nn,climate_set_point:Vn,climate_range:In,climate_not_thermostat:Bn,climate_action_heating:Gn,climate_action_preheating:Un,climate_action_cooling:Hn,climate_action_defrosting:Fn,climate_action_drying:Jn,climate_action_fan:On,climate_action_idle:Qn,climate_action_off:Wn,editor_style_column:Zn,editor_group_by_auto:Kn,editor_range:Xn,editor_rounded:Yn,editor_column_labels:$n,editor_column_color:es,editor_style_combined:rs,editor_series_type:ts,editor_series_type_line:os,editor_series_type_column:is,editor_series_type_area:as,editor_series_axis:_s,editor_series_axis_auto:ns,editor_series_axis_left:ss,editor_series_axis_right:ls,editor_series_aggregate:ds,editor_series_aggregate_auto:us,editor_series_aggregate_mean:cs,editor_series_aggregate_sum:ps,editor_series_aggregate_min:ms,editor_series_aggregate_max:gs,editor_series_aggregate_first:hs,editor_series_aggregate_last:bs,editor_series_aggregate_change:ys,editor_style_day_clock:fs,day_clock_times_one:vs,day_clock_times:xs,day_clock_a_day:ws,day_clock_busiest:Cs,day_clock_peak:As,day_clock_state:qs,day_clock_per_day:Ls,day_clock_no_data:ks,day_clock_now:Ps,day_clock_on:Ms,day_clock_average:Ds,day_clock_on_days:Rs,day_clock_so_far:Ss,day_clock_range:zs,day_clock_average_value:js,editor_style_dumbbell:Es,editor_ends:Ts,editor_ends_range:Ns,editor_ends_then:Vs,editor_ends_target:Is,editor_show_now:Bs,dumbbell_low:"Bas",dumbbell_high:Us,dumbbell_now:Hs,dumbbell_target:Fs,dumbbell_ago_hour_one:Js,dumbbell_ago_hour:Os,dumbbell_ago_day_one:Qs,dumbbell_ago_day:Ws,dumbbell_ago_week_one:Zs,dumbbell_ago_week:Ks,dumbbell_ago_month_one:Xs,dumbbell_ago_month:Ys,dumbbell_no_value:$s,editor_style_funnel:el,editor_funnel_shape:rl,editor_funnel_shape_funnel:tl,editor_funnel_shape_pyramid:ol,editor_funnel_percent_of:il,editor_funnel_percent_of_first:al,editor_funnel_percent_of_previous:_l,editor_funnel_percent_of_none:nl,editor_funnel_color_by:sl,editor_funnel_color_by_series:ll,editor_funnel_color_by_bands:dl,funnel_aria:ul,editor_style_grouped_bars:cl,editor_mode:pl,editor_mode_grouped:ml,editor_mode_stacked:gl,editor_mode_percent:hl,editor_bars_color_by:bl,editor_bars_color_by_series:yl,editor_bars_color_by_bands:fl,editor_bar_group:vl,editor_bar_series:xl,editor_bar_color:wl,grouped_bars_aria:Cl,editor_style_heatmap:Al,heatmap_aria:ql,heatmap_hours:Ll,heatmap_empty:kl,editor_grid:Pl,editor_grid_hours:Ml,editor_grid_calendar:Dl,editor_color_by_scale:Rl,editor_cell_shape:Sl,editor_cell_shape_square:zl,editor_cell_shape_rounded:jl,editor_cell_shape_hexagon:El,editor_color_min:Tl,editor_color_max:Nl,editor_legend:Vl,editor_style_histogram:Il,editor_count:Bl,editor_count_time:Gl,editor_count_readings:Ul,editor_show_as:Hl,editor_show_as_percent:Fl,editor_show_as_total:Jl,editor_bins:Ol,editor_bin_width:Ql,editor_bars:Wl,editor_bars_side:Zl,editor_bars_overlap:Kl,editor_hist_x_axis:Xl,histogram_readings:Yl,histogram_reading:$l,editor_style_line:ed,chart_loading:rd,chart_error:td,chart_no_data:od,chart_log_nothing:id,editor_style_lollipop:ad,editor_style_pictograph:_d,editor_unit_icon:nd,editor_per_icon:sd,editor_group_size:ld,editor_partial:dd,editor_style_pie:ud,editor_shape:cd,editor_shape_donut:pd,editor_shape_pie:md,editor_center_label:gd,editor_gap:hd,editor_gradient:bd,editor_style_polar_area:yd,editor_polar_scale:fd,editor_polar_scale_shared:vd,editor_polar_scale_limits:xd,editor_polar_color_by:wd,editor_polar_color_by_series:Cd,editor_polar_color_by_shades:Ad,editor_polar_color_by_bands:qd,editor_polar_color:Ld,polar_area_aria:kd,editor_style_radar:Pd,editor_radar_scale:Md,editor_radar_scale_limits:Dd,editor_radar_scale_shared:Rd,editor_radar_fill:Sd,editor_radar_axis:zd,radar_aria:jd,radar_other:Ed,editor_style_range_area:Td,editor_mean:Nd,editor_range_color:Vd,editor_style_rings:Id,editor_rings_start_angle:Bd,editor_rounded_ends:Gd,editor_style_sankey:Ud,editor_link_color:Hd,editor_link_color_auto:Fd,editor_link_color_source:Jd,editor_link_color_target:Od,editor_from:Qd,editor_to:Wd,editor_flow_color:Zd,sankey_aria:Kd,sankey_flow:Xd,sankey_no_flows:Yd,sankey_nothing:$d,editor_style_slope:eu,editor_measure:ru,editor_measure_value:tu,editor_measure_change:ou,editor_color_by_direction:iu,editor_color_by_group:au,editor_increase:_u,editor_increase_bad:nu,editor_increase_good:su,editor_group:lu,slope_now:du,slope_ago:uu,slope_ago_one:cu,slope_previous:pu,slope_previous_one:mu,slope_last:gu,slope_last_one:hu,slope_unit_hour:bu,slope_unit_hour_other:yu,slope_unit_day:fu,slope_unit_day_other:vu,slope_unit_week:xu,slope_unit_week_other:wu,slope_unit_month:Cu,slope_unit_month_other:Au,slope_entity_aria:qu,slope_no_reading:Lu,editor_style_sparkline:ku,editor_spark:Pu,editor_spark_line:Mu,editor_spark_area:Du,editor_spark_column:Ru,editor_spark_bar:Su,editor_spark_color:zu,spark_aria:ju,editor_style_streamgraph:Eu,editor_baseline:Tu,editor_baseline_wiggle:Nu,editor_baseline_centre:Vu,editor_baseline_share:Iu,editor_baseline_zero:Bu,editor_stream_order:Gu,editor_stream_order_inside_out:Uu,editor_stream_order_listed:Hu,editor_stream_labels:Fu,editor_stream_curve:Ju,stream_total:Ou,editor_style_sunburst:Qu,editor_style_icicle:Wu,editor_sunburst_shape:Zu,editor_sunburst_shape_full:Ku,editor_sunburst_shape_half:Xu,editor_hierarchy_color_by:Yu,editor_hierarchy_color_by_group:$u,editor_hierarchy_color_by_bands:ec,hierarchy_total:rc,hierarchy_other:tc,hierarchy_empty:oc,hierarchy_no_reading:ic,sunburst_aria:ac,icicle_aria:_c,editor_style_timeline:nc,timeline_no_states:sc,timeline_for:lc,timeline_now:dc,timeline_measurement:uc,editor_style_treemap:cc,editor_treemap_color_by:pc,editor_treemap_color_by_group:mc,editor_treemap_color_by_bands:gc,treemap_aria:hc,treemap_total:bc,treemap_empty:yc,treemap_no_reading:fc,treemap_other:vc,editor_style_trend:xc,trend_min:"Min",trend_avg:Cc,trend_max:"Max",editor_style_violin:qc,editor_shape_violin:Lc,editor_shape_raincloud:kc,editor_box:Pc,editor_bandwidth:Mc,editor_split_by:Dc,editor_split_by_none:Rc,editor_split_by_day:Sc,editor_split_by_week:zc,editor_split_by_month:jc,violin_median:Ec,violin_none:Tc,violin_raincloud:Nc,editor_style_waffle:Vc,editor_waffles:Ic,editor_waffles_one:Bc,editor_waffles_each:Gc,editor_headline:Uc,editor_style_waterfall:Hc,editor_steps:Fc,editor_steps_change:Jc,editor_steps_current:Oc,editor_start_from_first:Qc,editor_total:Wc,editor_waterfall_invert:Zc,waterfall_start:Kc,waterfall_end:"Fin",waterfall_total:Yc,waterfall_no_readings:$c,waterfall_aria:ep,editor_style_wind_rose:rp,wind_prevailing:tp,wind_mean_speed:op,wind_strongest:ip,wind_calm:ap,wind_speed:_p,wind_speed_unit:np,wind_share:sp,wind_aria:lp,wind_aria_calm:dp,wind_aria_still:up};export{vr as annotation_at,on as box_aria,un as box_count,an as box_highest,sn as box_lower_quartile,ln as box_lowest,dn as box_mean,nn as box_median,cn as box_outliers,_n as box_upper_quartile,St as bubble_needs_three,jt as bubble_role_size,En as candle_close,zn as candle_high,jn as candle_low,Sn as candle_open,Tn as candle_week_of,Cn as chart_aria,td as chart_error,rd as chart_loading,id as chart_log_nothing,od as chart_no_data,Et as chart_total,Hn as climate_action_cooling,Fn as climate_action_defrosting,Jn as climate_action_drying,On as climate_action_fan,Gn as climate_action_heating,Qn as climate_action_idle,Wn as climate_action_off,Un as climate_action_preheating,Bn as climate_not_thermostat,In as climate_range,Vn as climate_set_point,wn as compare_target,ws as day_clock_a_day,Ds as day_clock_average,js as day_clock_average_value,Cs as day_clock_busiest,ks as day_clock_no_data,Ps as day_clock_now,Ms as day_clock_on,Rs as day_clock_on_days,As as day_clock_peak,Ls as day_clock_per_day,zs as day_clock_range,Ss as day_clock_so_far,qs as day_clock_state,xs as day_clock_times,vs as day_clock_times_one,cp as default,Rr as dist_count,Pr as dist_median,Mr as dist_middle,Dr as dist_range,jr as drill_back,zr as drill_into,Er as drill_top,Ws as dumbbell_ago_day,Qs as dumbbell_ago_day_one,Os as dumbbell_ago_hour,Js as dumbbell_ago_hour_one,Ys as dumbbell_ago_month,Xs as dumbbell_ago_month_one,Ks as dumbbell_ago_week,Zs as dumbbell_ago_week_one,Us as dumbbell_high,Gs as dumbbell_low,$s as dumbbell_no_value,Hs as dumbbell_now,Fs as dumbbell_target,Wi as editor_active,dr as editor_add_band,cr as editor_add_entity,wt as editor_against,Ct as editor_against_entity,At as editor_against_time,Vo as editor_aggregate,Oi as editor_aggregate_auto,Jo as editor_aggregate_change,Ho as editor_aggregate_first,Fo as editor_aggregate_last,Uo as editor_aggregate_max,Io as editor_aggregate_mean,Go as editor_aggregate_min,Bo as editor_aggregate_sum,Za as editor_align_header,$a as editor_align_header_center,Ka as editor_align_header_default,Xa as editor_align_header_left,Ya as editor_align_header_right,e_ as editor_align_icon,t_ as editor_align_icon_left,r_ as editor_align_icon_right,o_ as editor_align_icon_state,i_ as editor_align_state,n_ as editor_align_state_center,a_ as editor_align_state_left,__ as editor_align_state_right,me as editor_animate,ro as editor_annotation_add,Xt as editor_annotation_add_band,Kt as editor_annotation_add_line,eo as editor_annotation_add_point,$t as editor_annotation_add_state,Yt as editor_annotation_add_time,uo as editor_annotation_at,go as editor_annotation_at_first,mo as editor_annotation_at_last,co as editor_annotation_at_max,po as editor_annotation_at_min,bo as editor_annotation_color,yo as editor_annotation_dash,_o as editor_annotation_entity,oo as editor_annotation_from,ho as editor_annotation_label,fo as editor_annotation_remove,no as editor_annotation_series,lo as editor_annotation_shade,so as editor_annotation_state,ao as editor_annotation_times,io as editor_annotation_to,Ft as editor_annotation_type,Ot as editor_annotation_type_band,Jt as editor_annotation_type_line,Zt as editor_annotation_type_point,Wt as editor_annotation_type_state,Qt as editor_annotation_type_time,to as editor_annotation_value,Ht as editor_annotations,De as editor_attribute,Ba as editor_average,Wo as editor_axis_labels,Ko as editor_axis_labels_inside,Zo as editor_axis_labels_outside,Xe as editor_band_color,Ye as editor_band_custom_color,Qe as editor_band_from,We as editor_band_from_entity,Ke as editor_band_from_entity_label,Ze as editor_band_from_number,er as editor_band_icon,$e as editor_band_label,Mc as editor_bandwidth,wl as editor_bar_color,vl as editor_bar_group,ta as editor_bar_labels,aa as editor_bar_labels_both,ia as editor_bar_labels_duration,_a as editor_bar_labels_none,oa as editor_bar_labels_state,xl as editor_bar_series,Ea as editor_bar_spacing,Wl as editor_bars,bl as editor_bars_color_by,fl as editor_bars_color_by_bands,yl as editor_bars_color_by_series,Kl as editor_bars_overlap,Zl as editor_bars_side,Tu as editor_baseline,Vu as editor_baseline_centre,Iu as editor_baseline_share,Nu as editor_baseline_wiggle,Bu as editor_baseline_zero,Ql as editor_bin_width,Ol as editor_bins,Pc as editor_box,bn as editor_box_color,Ui as editor_bucket,Hi as editor_bucket_15,Fi as editor_bucket_30,Ji as editor_bucket_60,z_ as editor_calm,qn as editor_candle_by,Ne as editor_card_setting,Sl as editor_cell_shape,El as editor_cell_shape_hexagon,jl as editor_cell_shape_rounded,zl as editor_cell_shape_square,W as editor_center,gt as editor_center_average,gd as editor_center_label,K as editor_center_mode_band,X as editor_center_mode_name,$ as editor_center_mode_none,Y as editor_center_mode_text,Z as editor_center_mode_value,ht as editor_center_none,ee as editor_center_text,mt as editor_center_total,ir as editor_color_amber,_r as editor_color_blue,k as editor_color_by,M as editor_color_by_bands,iu as editor_color_by_direction,au as editor_color_by_group,Rl as editor_color_by_scale,P as editor_color_by_series,ut as editor_color_by_shades,lr as editor_color_custom,or as editor_color_green,sr as editor_color_grey,rr as editor_color_icon,Nl as editor_color_max,Tl as editor_color_min,d_ as editor_color_name,tr as editor_color_primary,nr as editor_color_purple,ar as editor_color_red,Ta as editor_color_transition,Va as editor_color_transition_hard,Na as editor_color_transition_smooth,u_ as editor_color_value,es as editor_column_color,$n as editor_column_labels,ne as editor_columns,si as editor_compact,Ni as editor_cooling_color,Bl as editor_count,Ul as editor_count_readings,Gl as editor_count_time,ji as editor_current_color,C as editor_curve,A as editor_curve_smooth,L as editor_curve_step,q as editor_curve_straight,S as editor_dash,Gi as editor_day_clock_center_none,Bi as editor_day_clock_center_now,Ii as editor_day_clock_center_total,Vi as editor_days,ce as editor_decimals,Mt as editor_dot_color,qt as editor_dot_size,_i as editor_dots,Me as editor_double_tap_action,Pn as editor_down_color,Sr as editor_drill_down,Q as editor_end_angle,Ts as editor_ends,Ns as editor_ends_range,Is as editor_ends_target,Vs as editor_ends_then,f_ as editor_entity_aggregate,ra as editor_entity_groups,Zi as editor_entity_options_none,fe as editor_exclude_heading,ve as editor_exclude_help,Ia as editor_extrema,Jr as editor_extremes,Gr as editor_extremes_average,Fr as editor_extremes_average_figure,Hr as editor_extremes_average_line,Ur as editor_extremes_average_none,Ir as editor_extremes_max,Br as editor_extremes_min,wa as editor_fill,rn as editor_fill_color,Aa as editor_fill_fade,qa as editor_fill_none,Ca as editor_fill_solid,v_ as editor_fixed_value,Zd as editor_flow_color,s_ as editor_font_size,l_ as editor_font_size_header,Qd as editor_from,sl as editor_funnel_color_by,dl as editor_funnel_color_by_bands,ll as editor_funnel_color_by_series,il as editor_funnel_percent_of,al as editor_funnel_percent_of_first,nl as editor_funnel_percent_of_none,_l as editor_funnel_percent_of_previous,rl as editor_funnel_shape,tl as editor_funnel_shape_funnel,ol as editor_funnel_shape_pyramid,hd as editor_gap,J as editor_gauge_help,bd as editor_gradient,ya as editor_graph,va as editor_graph_bar,fa as editor_graph_line,xa as editor_graph_none,Pl as editor_grid,Dl as editor_grid_calendar,Xo as editor_grid_horizontal,Ml as editor_grid_hours,Yo as editor_grid_vertical,lu as editor_group,s as editor_group_bars,So as editor_group_by,Yi as editor_group_by_area,Kn as editor_group_by_auto,Eo as editor_group_by_day,$i as editor_group_by_device,Xi as editor_group_by_floor,jo as editor_group_by_hour,ea as editor_group_by_label,No as editor_group_by_month,zo as editor_group_by_none,To as editor_group_by_week,c as editor_group_compare,p as editor_group_distribution,l as editor_group_gauges,d as editor_group_history,ld as editor_group_size,u as editor_group_totals,li as editor_header,di as editor_header_above,ci as editor_header_hidden,ui as editor_header_over,Uc as editor_headline,Ti as editor_heating_color,ja as editor_height,br as editor_hide_options,ge as editor_hide_unavailable,Yu as editor_hierarchy_color_by,ec as editor_hierarchy_color_by_bands,$u as editor_hierarchy_color_by_group,Ki as editor_hierarchy_group_by,Xl as editor_hist_x_axis,Pe as editor_hold_action,Se as editor_icon,m_ as editor_icon_image,be as editor_include_heading,ye as editor_include_help,_u as editor_increase,nu as editor_increase_bad,su as editor_increase_good,Lt as editor_jitter,D as editor_labels,Sa as editor_labels_always,Ra as editor_labels_hover,za as editor_labels_never,Ci as editor_labels_overlap,yi as editor_labels_position,vi as editor_labels_position_above,fi as editor_labels_position_auto,xi as editor_labels_position_below,wi as editor_labels_position_center,pi as editor_labels_show,mi as editor_labels_show_all,bi as editor_labels_show_ends,gi as editor_labels_show_last,hi as editor_labels_show_minmax,Vl as editor_legend,he as editor_limit,Ve as editor_limit_default,Be as editor_limit_entity,Ie as editor_limit_number,ai as editor_line_width,Hd as editor_link_color,Fd as editor_link_color_auto,Jd as editor_link_color_source,Od as editor_link_color_target,je as editor_max,Pt as editor_max_size,Nd as editor_mean,ru as editor_measure,ou as editor_measure_change,tu as editor_measure_value,ze as editor_min,Fa as editor_min_range,Qa as editor_min_range_secondary,kt as editor_min_size,pl as editor_mode,ml as editor_mode_grouped,hl as editor_mode_percent,gl as editor_mode_stacked,mr as editor_move_down,pr as editor_move_up,qi as editor_multiples,Di as editor_multiples_columns,Li as editor_multiples_scale,ki as editor_multiples_scale_auto,Mi as editor_multiples_scale_independent,Pi as editor_multiples_scale_shared,Re as editor_name,H_ as editor_negative_color,Te as editor_none,yr as editor_not_found,ni as editor_on_top,xr as editor_orientation,wr as editor_orientation_horizontal,Cr as editor_orientation_vertical,Ut as editor_overview,dd as editor_partial,sd as editor_per_icon,xo as editor_period_calendar,Co as editor_period_calendar_day,qo as editor_period_calendar_month,wo as editor_period_calendar_rolling,Ao as editor_period_calendar_week,Lo as editor_period_calendar_year,m as editor_period_last,Ro as editor_period_navigate,ko as editor_period_offset,g as editor_period_unit,b as editor_period_unit_day,h as editor_period_unit_hour,f as editor_period_unit_month,y as editor_period_unit_week,Po as editor_period_until,Do as editor_period_until_end,Mo as editor_period_until_now,J_ as editor_place_by,Q_ as editor_place_by_time_of_day,O_ as editor_place_by_value,La as editor_points,Pa as editor_points_always,ka as editor_points_hover,Ma as editor_points_never,ba as editor_points_per_hour,Ld as editor_polar_color,wd as editor_polar_color_by,qd as editor_polar_color_by_bands,Cd as editor_polar_color_by_series,Ad as editor_polar_color_by_shades,fd as editor_polar_scale,xd as editor_polar_scale_limits,vd as editor_polar_scale_shared,Ge as editor_preset,Ue as editor_preset_battery,Oe as editor_preset_custom,Je as editor_preset_none,Fe as editor_preset_temperature,He as editor_preset_usage,zd as editor_radar_axis,Sd as editor_radar_fill,Md as editor_radar_scale,Dd as editor_radar_scale_limits,Rd as editor_radar_scale_shared,Xn as editor_range,Vd as editor_range_color,fn as editor_ranges,xn as editor_ranges_colours,vn as editor_ranges_shades,hn as editor_readings,ur as editor_remove_band,gr as editor_remove_entity,Qi as editor_ring_color,Bd as editor_rings_start_angle,Yn as editor_rounded,Gd as editor_rounded_ends,we as editor_rule_area,xe as editor_rule_device_class,qe as editor_rule_domain,Le as editor_rule_entity,Ce as editor_rule_floor,Ae as editor_rule_label,T as editor_section_actions,n as editor_section_chart,j as editor_section_colours,E as editor_section_display,a as editor_section_entities,z as editor_section_limits,_ as editor_section_style,M_ as editor_sectors,S_ as editor_sectors_16,D_ as editor_sectors_4,R_ as editor_sectors_8,ds as editor_series_aggregate,us as editor_series_aggregate_auto,ys as editor_series_aggregate_change,hs as editor_series_aggregate_first,bs as editor_series_aggregate_last,gs as editor_series_aggregate_max,cs as editor_series_aggregate_mean,ms as editor_series_aggregate_min,ps as editor_series_aggregate_sum,_s as editor_series_axis,ns as editor_series_axis_auto,ss as editor_series_axis_left,ls as editor_series_axis_right,R as editor_series_color,ts as editor_series_type,as as editor_series_type_area,is as editor_series_type_column,os as editor_series_type_line,Ri as editor_set_point,Ei as editor_set_point_color,fr as editor_severity,ct as editor_shade_color,zi as editor_shade_fan,Si as editor_shading,cd as editor_shape,pd as editor_shape_donut,md as editor_shape_pie,kc as editor_shape_raincloud,Lc as editor_shape_violin,Hl as editor_show_as,Fl as editor_show_as_percent,Jl as editor_show_as_total,q_ as editor_show_fill,C_ as editor_show_graph,ie as editor_show_icon,w_ as editor_show_indicator,_e as editor_show_legend,k_ as editor_show_legend_entity,P_ as editor_show_legend_state,A_ as editor_show_line,te as editor_show_name,Bs as editor_show_now,hr as editor_show_options,pt as editor_show_percent,L_ as editor_show_points,x_ as editor_show_state,ae as editor_show_target,oe as editor_show_value,W_ as editor_size_by_value,se as editor_sort,de as editor_sort_ascending,ue as editor_sort_descending,le as editor_sort_none,v as editor_source,x as editor_source_history,w as editor_source_statistics,Pu as editor_spark,Du as editor_spark_area,Su as editor_spark_bar,zu as editor_spark_color,Ru as editor_spark_column,Mu as editor_spark_line,Dc as editor_split_by,Sc as editor_split_by_day,jc as editor_split_by_month,Rc as editor_split_by_none,zc as editor_split_by_week,I_ as editor_stack,B_ as editor_stack_none,G_ as editor_stack_normal,U_ as editor_stack_percent,O as editor_start_angle,Qc as editor_start_from_first,da as editor_state_colors,ma as editor_state_colors_add,pa as editor_state_colors_color,ua as editor_state_colors_help,ga as editor_state_colors_remove,ca as editor_state_colors_state,Fc as editor_steps,Jc as editor_steps_change,Oc as editor_steps_current,Ju as editor_stream_curve,Fu as editor_stream_labels,Gu as editor_stream_order,Uu as editor_stream_order_inside_out,Hu as editor_stream_order_listed,F as editor_style_arc,V_ as editor_style_area,V as editor_style_bar,F_ as editor_style_beeswarm,tn as editor_style_box,xt as editor_style_bubble,yn as editor_style_bullet,An as editor_style_candlestick,Nn as editor_style_climate,Zn as editor_style_column,rs as editor_style_combined,fs as editor_style_day_clock,Es as editor_style_dumbbell,el as editor_style_funnel,cl as editor_style_grouped_bars,Al as editor_style_heatmap,Il as editor_style_histogram,Wu as editor_style_icicle,ed as editor_style_line,ad as editor_style_lollipop,H as editor_style_needle,_d as editor_style_pictograph,ud as editor_style_pie,yd as editor_style_polar_area,Pd as editor_style_radar,Td as editor_style_range_area,U as editor_style_ring,Id as editor_style_rings,Ud as editor_style_sankey,vt as editor_style_scatter,B as editor_style_segmented,eu as editor_style_slope,ku as editor_style_sparkline,Eu as editor_style_streamgraph,Qu as editor_style_sunburst,G as editor_style_tank,I as editor_style_thin,nc as editor_style_timeline,cc as editor_style_treemap,xc as editor_style_trend,qc as editor_style_violin,Vc as editor_style_waffle,Hc as editor_style_waterfall,rp as editor_style_wind_rose,Zu as editor_sunburst_shape,Ku as editor_sunburst_shape_full,Xu as editor_sunburst_shape_half,Ai as editor_sync,ke as editor_tap_action,Ee as editor_target,re as editor_tick_labels,ha as editor_timeline_group,na as editor_timeline_legend,sa as editor_timeline_legend_above,la as editor_timeline_legend_hidden,N as editor_title,Wd as editor_to,ii as editor_tooltip,Wc as editor_total,pc as editor_treemap_color_by,gc as editor_treemap_color_by_bands,mc as editor_treemap_color_by_group,c_ as editor_trend_color_icon,p_ as editor_trend_group,Da as editor_trend_labels,Ga as editor_trend_legend,g_ as editor_trend_tooltip,Ha as editor_trend_y_max,Ua as editor_trend_y_min,Ln as editor_under_aggregate,Mn as editor_underneath,Dn as editor_underneath_columns,Rn as editor_underneath_line,pe as editor_unit,nd as editor_unit_icon,kn as editor_up_color,Ar as editor_value_axis,Wa as editor_value_factor,qr as editor_value_grid,kr as editor_value_max,Lr as editor_value_min,Ic as editor_waffles,Gc as editor_waffles_each,Bc as editor_waffles_one,Zc as editor_waterfall_invert,pn as editor_whiskers,gn as editor_whiskers_range,mn as editor_whiskers_tukey,T_ as editor_wind_none,E_ as editor_wind_now,j_ as editor_wind_roles,N_ as editor_wind_statistics,Oo as editor_x_axis,Nt as editor_x_max,Tt as editor_x_min,Dt as editor_xy_x_axis,Qo as editor_y_axis,h_ as editor_y_axis_side,b_ as editor_y_axis_side_primary,y_ as editor_y_axis_side_secondary,ei as editor_y_max,Oa as editor_y_max_secondary,$o as editor_y_min,Ja as editor_y_min_secondary,ri as editor_y_scale,ti as editor_y_scale_linear,oi as editor_y_scale_log,vo as editor_zones,Gt as editor_zoom,e as entity_not_found,Vr as extremes_average,Tr as extremes_high,Nr as extremes_low,ul as funnel_aria,Cl as grouped_bars_aria,ql as heatmap_aria,kl as heatmap_empty,Ll as heatmap_hours,oc as hierarchy_empty,ic as hierarchy_no_reading,tc as hierarchy_other,rc as hierarchy_total,$l as histogram_reading,Yl as histogram_readings,_c as icicle_aria,t as no_entities,o as no_matches,i as none_available,ft as parts_aria,yt as parts_average,bt as parts_total,at as period_last_day,_t as period_last_days,ot as period_last_hour,it as period_last_hours,et as period_last_month,lt as period_last_month_rolling,dt as period_last_months,Yr as period_last_week,nt as period_last_week_rolling,st as period_last_weeks,tt as period_last_year,Qr as period_next,Or as period_previous,Wr as period_return,$r as period_this_month,Xr as period_this_week,rt as period_this_year,Zr as period_today,Kr as period_yesterday,kd as polar_area_aria,jd as radar_aria,Ed as radar_other,Kd as sankey_aria,Xd as sankey_flow,Yd as sankey_no_flows,$d as sankey_nothing,Rt as scatter_needs_two,zt as scatter_role_x,uu as slope_ago,cu as slope_ago_one,qu as slope_entity_aria,gu as slope_last,hu as slope_last_one,Lu as slope_no_reading,du as slope_now,pu as slope_previous,mu as slope_previous_one,fu as slope_unit_day,vu as slope_unit_day_other,bu as slope_unit_hour,yu as slope_unit_hour_other,Cu as slope_unit_month,Au as slope_unit_month_other,xu as slope_unit_week,wu as slope_unit_week_other,ju as spark_aria,Ou as stream_total,ac as sunburst_aria,$_ as swarm_earliest_latest,K_ as swarm_events,en as swarm_lowest_highest,Y_ as swarm_none,Z_ as swarm_readings,X_ as swarm_shown,lc as timeline_for,uc as timeline_measurement,sc as timeline_no_states,dc as timeline_now,hc as treemap_aria,yc as treemap_empty,fc as treemap_no_reading,vc as treemap_other,bc as treemap_total,Cc as trend_avg,Ac as trend_max,wc as trend_min,r as unavailable,Ec as violin_median,Tc as violin_none,Nc as violin_raincloud,ep as waterfall_aria,Xc as waterfall_end,$c as waterfall_no_readings,Kc as waterfall_start,Yc as waterfall_total,lp as wind_aria,dp as wind_aria_calm,up as wind_aria_still,ap as wind_calm,op as wind_mean_speed,tp as wind_prevailing,sp as wind_share,_p as wind_speed,np as wind_speed_unit,ip as wind_strongest,Vt as zoom_reset,It as zoom_window,Bt as zoom_window_label}; +//# sourceMappingURL=chartdeck-card.fr-Bux47UXp.js.map diff --git a/dist/chartdeck-card.fr-Bux47UXp.js.map b/dist/chartdeck-card.fr-Bux47UXp.js.map new file mode 100644 index 0000000..8944803 --- /dev/null +++ b/dist/chartdeck-card.fr-Bux47UXp.js.map @@ -0,0 +1 @@ +{"version":3,"file":"chartdeck-card.fr-Bux47UXp.js","sources":[],"sourcesContent":[],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/chartdeck-card.js b/dist/chartdeck-card.js index 896f820..4995e4a 100644 --- a/dist/chartdeck-card.js +++ b/dist/chartdeck-card.js @@ -3,88 +3,88 @@ * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -const e=globalThis,t=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),a=new WeakMap;let n=class{constructor(e,t,a){if(this._$cssResult$=!0,a!==o)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const o=this.t;if(t&&void 0===e){const t=void 0!==o&&1===o.length;t&&(e=a.get(o)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),t&&a.set(o,e))}return e}toString(){return this.cssText}};const r=(e,...t)=>{const a=1===e.length?e[0]:t.reduce((t,o,a)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+e[a+1],e[0]);return new n(a,e,o)},i=t?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const o of e.cssRules)t+=o.cssText;return(e=>new n("string"==typeof e?e:e+"",void 0,o))(t)})(e):e,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:d,getOwnPropertySymbols:u,getPrototypeOf:h}=Object,p=globalThis,m=p.trustedTypes,f=m?m.emptyScript:"",g=p.reactiveElementPolyfillSupport,v=(e,t)=>e,y={toAttribute(e,t){switch(t){case Boolean:e=e?f:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=null!==e;break;case Number:o=null===e?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch(e){o=null}}return o}},b=(e,t)=>!s(e,t),_={attribute:!0,type:String,converter:y,reflect:!1,useDefault:!1,hasChanged:b}; +const e=globalThis,t=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,a=Symbol(),o=new WeakMap;let n=class{constructor(e,t,o){if(this._$cssResult$=!0,o!==a)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const a=this.t;if(t&&void 0===e){const t=void 0!==a&&1===a.length;t&&(e=o.get(a)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),t&&o.set(a,e))}return e}toString(){return this.cssText}};const r=(e,...t)=>{const o=1===e.length?e[0]:t.reduce((t,a,o)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+e[o+1],e[0]);return new n(o,e,a)},i=t?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const a of e.cssRules)t+=a.cssText;return(e=>new n("string"==typeof e?e:e+"",void 0,a))(t)})(e):e,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:d,getOwnPropertySymbols:u,getPrototypeOf:h}=Object,p=globalThis,m=p.trustedTypes,f=m?m.emptyScript:"",g=p.reactiveElementPolyfillSupport,v=(e,t)=>e,y={toAttribute(e,t){switch(t){case Boolean:e=e?f:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let a=e;switch(t){case Boolean:a=null!==e;break;case Number:a=null===e?null:Number(e);break;case Object:case Array:try{a=JSON.parse(e)}catch(e){a=null}}return a}},b=(e,t)=>!s(e,t),_={attribute:!0,type:String,converter:y,reflect:!1,useDefault:!1,hasChanged:b}; /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */Symbol.metadata??=Symbol("metadata"),p.litPropertyMetadata??=new WeakMap;let x=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=_){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){const o=Symbol(),a=this.getPropertyDescriptor(e,o,t);void 0!==a&&l(this.prototype,e,a)}}static getPropertyDescriptor(e,t,o){const{get:a,set:n}=c(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get:a,set(t){const r=a?.call(this);n?.call(this,t),this.requestUpdate(e,r,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??_}static _$Ei(){if(this.hasOwnProperty(v("elementProperties")))return;const e=h(this);e.finalize(),void 0!==e.l&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(v("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(v("properties"))){const e=this.properties,t=[...d(e),...u(e)];for(const o of t)this.createProperty(o,e[o])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,o]of t)this.elementProperties.set(e,o)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const o=new Set(e.flat(1/0).reverse());for(const e of o)t.unshift(i(e))}else void 0!==e&&t.push(i(e));return t}static _$Eu(e,t){const o=t.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof e?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const o of t.keys())this.hasOwnProperty(o)&&(e.set(o,this[o]),delete this[o]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const o=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((o,a)=>{if(t)o.adoptedStyleSheets=a.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const t of a){const a=document.createElement("style"),n=e.litNonce;void 0!==n&&a.setAttribute("nonce",n),a.textContent=t.cssText,o.appendChild(a)}})(o,this.constructor.elementStyles),o}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,o){this._$AK(e,o)}_$ET(e,t){const o=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,o);if(void 0!==a&&!0===o.reflect){const n=(void 0!==o.converter?.toAttribute?o.converter:y).toAttribute(t,o.type);this._$Em=e,null==n?this.removeAttribute(a):this.setAttribute(a,n),this._$Em=null}}_$AK(e,t){const o=this.constructor,a=o._$Eh.get(e);if(void 0!==a&&this._$Em!==a){const e=o.getPropertyOptions(a),n="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:y;this._$Em=a;const r=n.fromAttribute(t,e.type);this[a]=r??this._$Ej?.get(a)??r,this._$Em=null}}requestUpdate(e,t,o,a=!1,n){if(void 0!==e){const r=this.constructor;if(!1===a&&(n=this[e]),o??=r.getPropertyOptions(e),!((o.hasChanged??b)(n,t)||o.useDefault&&o.reflect&&n===this._$Ej?.get(e)&&!this.hasAttribute(r._$Eu(e,o))))return;this.C(e,t,o)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(e,t,{useDefault:o,reflect:a,wrapped:n},r){o&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,r??t??this[e]),!0!==n||void 0!==r)||(this._$AL.has(e)||(this.hasUpdated||o||(t=void 0),this._$AL.set(e,t)),!0===a&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,o]of e){const{wrapped:e}=o,a=this[t];!0!==e||this._$AL.has(t)||void 0===a||this.C(t,void 0,o,a)}}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach(e=>e.hostUpdate?.()),this.update(t)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(e){}firstUpdated(e){}};x.elementStyles=[],x.shadowRootOptions={mode:"open"},x[v("elementProperties")]=new Map,x[v("finalized")]=new Map,g?.({ReactiveElement:x}),(p.reactiveElementVersions??=[]).push("2.1.2"); + */Symbol.metadata??=Symbol("metadata"),p.litPropertyMetadata??=new WeakMap;let x=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=_){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){const a=Symbol(),o=this.getPropertyDescriptor(e,a,t);void 0!==o&&l(this.prototype,e,o)}}static getPropertyDescriptor(e,t,a){const{get:o,set:n}=c(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get:o,set(t){const r=o?.call(this);n?.call(this,t),this.requestUpdate(e,r,a)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??_}static _$Ei(){if(this.hasOwnProperty(v("elementProperties")))return;const e=h(this);e.finalize(),void 0!==e.l&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(v("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(v("properties"))){const e=this.properties,t=[...d(e),...u(e)];for(const a of t)this.createProperty(a,e[a])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,a]of t)this.elementProperties.set(e,a)}this._$Eh=new Map;for(const[t,a]of this.elementProperties){const e=this._$Eu(t,a);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const a=new Set(e.flat(1/0).reverse());for(const e of a)t.unshift(i(e))}else void 0!==e&&t.push(i(e));return t}static _$Eu(e,t){const a=t.attribute;return!1===a?void 0:"string"==typeof a?a:"string"==typeof e?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const a of t.keys())this.hasOwnProperty(a)&&(e.set(a,this[a]),delete this[a]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const a=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((a,o)=>{if(t)a.adoptedStyleSheets=o.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const t of o){const o=document.createElement("style"),n=e.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=t.cssText,a.appendChild(o)}})(a,this.constructor.elementStyles),a}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,a){this._$AK(e,a)}_$ET(e,t){const a=this.constructor.elementProperties.get(e),o=this.constructor._$Eu(e,a);if(void 0!==o&&!0===a.reflect){const n=(void 0!==a.converter?.toAttribute?a.converter:y).toAttribute(t,a.type);this._$Em=e,null==n?this.removeAttribute(o):this.setAttribute(o,n),this._$Em=null}}_$AK(e,t){const a=this.constructor,o=a._$Eh.get(e);if(void 0!==o&&this._$Em!==o){const e=a.getPropertyOptions(o),n="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:y;this._$Em=o;const r=n.fromAttribute(t,e.type);this[o]=r??this._$Ej?.get(o)??r,this._$Em=null}}requestUpdate(e,t,a,o=!1,n){if(void 0!==e){const r=this.constructor;if(!1===o&&(n=this[e]),a??=r.getPropertyOptions(e),!((a.hasChanged??b)(n,t)||a.useDefault&&a.reflect&&n===this._$Ej?.get(e)&&!this.hasAttribute(r._$Eu(e,a))))return;this.C(e,t,a)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(e,t,{useDefault:a,reflect:o,wrapped:n},r){a&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,r??t??this[e]),!0!==n||void 0!==r)||(this._$AL.has(e)||(this.hasUpdated||a||(t=void 0),this._$AL.set(e,t)),!0===o&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,a]of e){const{wrapped:e}=a,o=this[t];!0!==e||this._$AL.has(t)||void 0===o||this.C(t,void 0,a,o)}}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach(e=>e.hostUpdate?.()),this.update(t)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(e){}firstUpdated(e){}};x.elementStyles=[],x.shadowRootOptions={mode:"open"},x[v("elementProperties")]=new Map,x[v("finalized")]=new Map,g?.({ReactiveElement:x}),(p.reactiveElementVersions??=[]).push("2.1.2"); /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -const w=globalThis,$=e=>e,k=w.trustedTypes,M=k?k.createPolicy("lit-html",{createHTML:e=>e}):void 0,z="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,S="?"+A,E=`<${S}>`,C=document,j=()=>C.createComment(""),N=e=>null===e||"object"!=typeof e&&"function"!=typeof e,L=Array.isArray,T="[ \t\n\f\r]",O=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,P=/>/g,D=RegExp(`>|${T}(?:([^\\s"'>=/]+)(${T}*=${T}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),U=/'/g,H=/"/g,I=/^(?:script|style|textarea|title)$/i,B=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),R=B(1),Z=B(2),q=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),V=new WeakMap,Y=C.createTreeWalker(C,129);function G(e,t){if(!L(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==M?M.createHTML(t):t}class X{constructor({strings:e,_$litType$:t},o){let a;this.parts=[];let n=0,r=0;const i=e.length-1,s=this.parts,[l,c]=((e,t)=>{const o=e.length-1,a=[];let n,r=2===t?"":3===t?"":"",i=O;for(let s=0;s"===l[0]?(i=n??O,c=-1):void 0===l[1]?c=-2:(c=i.lastIndex-l[2].length,o=l[1],i=void 0===l[3]?D:'"'===l[3]?H:U):i===H||i===U?i=D:i===F||i===P?i=O:(i=D,n=void 0);const u=i===D&&e[s+1].startsWith("/>")?" ":"";r+=i===O?t+E:c>=0?(a.push(o),t.slice(0,c)+z+t.slice(c)+A+u):t+A+(-2===c?s:u)}return[G(e,r+(e[o]||"")+(2===t?"":3===t?"":"")),a]})(e,t);if(this.el=X.createElement(l,o),Y.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(a=Y.nextNode())&&s.length0){a.textContent=k?k.emptyScript:"";for(let o=0;oL(e)||"function"==typeof e?.[Symbol.iterator])(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==W&&N(this._$AH)?this._$AA.nextSibling.data=e:this.T(C.createTextNode(e)),this._$AH=e}$(e){const{values:t,_$litType$:o}=e,a="number"==typeof o?this._$AC(e):(void 0===o.el&&(o.el=X.createElement(G(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===a)this._$AH.p(t);else{const e=new K(a,this),o=e.u(this.options);e.p(t),this.T(o),this._$AH=e}}_$AC(e){let t=V.get(e.strings);return void 0===t&&V.set(e.strings,t=new X(e)),t}k(e){L(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let o,a=0;for(const n of e)a===t.length?t.push(o=new Q(this.O(j()),this.O(j()),this,this.options)):o=t[a],o._$AI(n),a++;a2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=W}_$AI(e,t=this,o,a){const n=this.strings;let r=!1;if(void 0===n)e=J(this,e,t,0),r=!N(e)||e!==this._$AH&&e!==q,r&&(this._$AH=e);else{const a=e;let i,s;for(e=n[0],i=0;ie,k=w.trustedTypes,M=k?k.createPolicy("lit-html",{createHTML:e=>e}):void 0,z="$lit$",S=`lit$${Math.random().toFixed(9).slice(2)}$`,A="?"+S,E=`<${A}>`,C=document,j=()=>C.createComment(""),N=e=>null===e||"object"!=typeof e&&"function"!=typeof e,L=Array.isArray,T="[ \t\n\f\r]",O=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,P=/>/g,D=RegExp(`>|${T}(?:([^\\s"'>=/]+)(${T}*=${T}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),U=/'/g,H=/"/g,I=/^(?:script|style|textarea|title)$/i,B=e=>(t,...a)=>({_$litType$:e,strings:t,values:a}),Z=B(1),q=B(2),R=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),V=new WeakMap,Y=C.createTreeWalker(C,129);function G(e,t){if(!L(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==M?M.createHTML(t):t}class X{constructor({strings:e,_$litType$:t},a){let o;this.parts=[];let n=0,r=0;const i=e.length-1,s=this.parts,[l,c]=((e,t)=>{const a=e.length-1,o=[];let n,r=2===t?"":3===t?"":"",i=O;for(let s=0;s"===l[0]?(i=n??O,c=-1):void 0===l[1]?c=-2:(c=i.lastIndex-l[2].length,a=l[1],i=void 0===l[3]?D:'"'===l[3]?H:U):i===H||i===U?i=D:i===F||i===P?i=O:(i=D,n=void 0);const u=i===D&&e[s+1].startsWith("/>")?" ":"";r+=i===O?t+E:c>=0?(o.push(a),t.slice(0,c)+z+t.slice(c)+S+u):t+S+(-2===c?s:u)}return[G(e,r+(e[a]||"")+(2===t?"":3===t?"":"")),o]})(e,t);if(this.el=X.createElement(l,a),Y.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(o=Y.nextNode())&&s.length0){o.textContent=k?k.emptyScript:"";for(let a=0;aL(e)||"function"==typeof e?.[Symbol.iterator])(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==W&&N(this._$AH)?this._$AA.nextSibling.data=e:this.T(C.createTextNode(e)),this._$AH=e}$(e){const{values:t,_$litType$:a}=e,o="number"==typeof a?this._$AC(e):(void 0===a.el&&(a.el=X.createElement(G(a.h,a.h[0]),this.options)),a);if(this._$AH?._$AD===o)this._$AH.p(t);else{const e=new K(o,this),a=e.u(this.options);e.p(t),this.T(a),this._$AH=e}}_$AC(e){let t=V.get(e.strings);return void 0===t&&V.set(e.strings,t=new X(e)),t}k(e){L(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let a,o=0;for(const n of e)o===t.length?t.push(a=new Q(this.O(j()),this.O(j()),this,this.options)):a=t[o],a._$AI(n),o++;o2||""!==a[0]||""!==a[1]?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=W}_$AI(e,t=this,a,o){const n=this.strings;let r=!1;if(void 0===n)e=J(this,e,t,0),r=!N(e)||e!==this._$AH&&e!==R,r&&(this._$AH=e);else{const o=e;let i,s;for(e=n[0],i=0;i{const a=o?.renderBefore??t;let n=a._$litPart$;if(void 0===n){const e=o?.renderBefore??null;a._$litPart$=n=new Q(t.insertBefore(j(),e),e,void 0,o??{})}return n._$AI(e),n})(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return q}};le._$litElement$=!0,le.finalized=!0,se.litElementHydrateSupport?.({LitElement:le});const ce=se.litElementPolyfillSupport;ce?.({LitElement:le}),(se.litElementVersions??=[]).push("4.2.2"); + */let le=class extends x{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=((e,t,a)=>{const o=a?.renderBefore??t;let n=o._$litPart$;if(void 0===n){const e=a?.renderBefore??null;o._$litPart$=n=new Q(t.insertBefore(j(),e),e,void 0,a??{})}return n._$AI(e),n})(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return R}};le._$litElement$=!0,le.finalized=!0,se.litElementHydrateSupport?.({LitElement:le});const ce=se.litElementPolyfillSupport;ce?.({LitElement:le}),(se.litElementVersions??=[]).push("4.2.2"); /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -const de=1,ue=2,he=3,pe=4,me=e=>(...t)=>({_$litDirective$:e,values:t});let fe=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,o){this._$Ct=e,this._$AM=t,this._$Ci=o}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}; +const de=1,ue=2,he=3,pe=4,me=e=>(...t)=>({_$litDirective$:e,values:t});let fe=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,a){this._$Ct=e,this._$AM=t,this._$Ci=a}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}; /** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const{I:ge}=re,ve=e=>e,ye=()=>document.createComment(""),be=(e,t,o)=>{const a=e._$AA.parentNode,n=void 0===t?e._$AB:t._$AA;if(void 0===o){const t=a.insertBefore(ye(),n),r=a.insertBefore(ye(),n);o=new ge(t,r,e,e.options)}else{const t=o._$AB.nextSibling,r=o._$AM,i=r!==e;if(i){let t;o._$AQ?.(e),o._$AM=e,void 0!==o._$AP&&(t=e._$AU)!==r._$AU&&o._$AP(t)}if(t!==n||i){let e=o._$AA;for(;e!==t;){const t=ve(e).nextSibling;ve(a).insertBefore(e,n),e=t}}}return o},_e=(e,t,o=e)=>(e._$AI(t,o),e),xe={},we=(e,t=xe)=>e._$AH=t,$e=e=>{e._$AR(),e._$AA.remove()},ke=(e,t,o)=>{const a=new Map;for(let n=t;n<=o;n++)a.set(e[n],n);return a},Me=me(class extends fe{constructor(e){if(super(e),e.type!==ue)throw Error("repeat() can only be used in text expressions")}dt(e,t,o){let a;void 0===o?o=t:void 0!==t&&(a=t);const n=[],r=[];let i=0;for(const s of e)n[i]=a?a(s,i):i,r[i]=o(s,i),i++;return{values:r,keys:n}}render(e,t,o){return this.dt(e,t,o).values}update(e,[t,o,a]){const n=(e=>e._$AH)(e),{values:r,keys:i}=this.dt(t,o,a);if(!Array.isArray(n))return this.ut=i,r;const s=this.ut??=[],l=[];let c,d,u=0,h=n.length-1,p=0,m=r.length-1;for(;u<=h&&p<=m;)if(null===n[u])u++;else if(null===n[h])h--;else if(s[u]===i[p])l[p]=_e(n[u],r[p]),u++,p++;else if(s[h]===i[m])l[m]=_e(n[h],r[m]),h--,m--;else if(s[u]===i[m])l[m]=_e(n[u],r[m]),be(e,l[m+1],n[u]),u++,m--;else if(s[h]===i[p])l[p]=_e(n[h],r[p]),be(e,n[u],n[h]),h--,p++;else if(void 0===c&&(c=ke(i,p,m),d=ke(s,u,h)),c.has(s[u]))if(c.has(s[h])){const t=d.get(i[p]),o=void 0!==t?n[t]:null;if(null===o){const t=be(e,n[u]);_e(t,r[p]),l[p]=t}else l[p]=_e(o,r[p]),be(e,n[u],o),n[t]=null;p++}else $e(n[h]),h--;else $e(n[u]),u++;for(;p<=m;){const t=be(e,l[m+1]);_e(t,r[p]),l[p++]=t}for(;u<=h;){const e=n[u++];null!==e&&$e(e)}return this.ut=i,we(e,l),q}}),ze=e=>!!e&&"none"!==e.action; + */const{I:ge}=re,ve=e=>e,ye=()=>document.createComment(""),be=(e,t,a)=>{const o=e._$AA.parentNode,n=void 0===t?e._$AB:t._$AA;if(void 0===a){const t=o.insertBefore(ye(),n),r=o.insertBefore(ye(),n);a=new ge(t,r,e,e.options)}else{const t=a._$AB.nextSibling,r=a._$AM,i=r!==e;if(i){let t;a._$AQ?.(e),a._$AM=e,void 0!==a._$AP&&(t=e._$AU)!==r._$AU&&a._$AP(t)}if(t!==n||i){let e=a._$AA;for(;e!==t;){const t=ve(e).nextSibling;ve(o).insertBefore(e,n),e=t}}}return a},_e=(e,t,a=e)=>(e._$AI(t,a),e),xe={},we=(e,t=xe)=>e._$AH=t,$e=e=>{e._$AR(),e._$AA.remove()},ke=(e,t,a)=>{const o=new Map;for(let n=t;n<=a;n++)o.set(e[n],n);return o},Me=me(class extends fe{constructor(e){if(super(e),e.type!==ue)throw Error("repeat() can only be used in text expressions")}dt(e,t,a){let o;void 0===a?a=t:void 0!==t&&(o=t);const n=[],r=[];let i=0;for(const s of e)n[i]=o?o(s,i):i,r[i]=a(s,i),i++;return{values:r,keys:n}}render(e,t,a){return this.dt(e,t,a).values}update(e,[t,a,o]){const n=(e=>e._$AH)(e),{values:r,keys:i}=this.dt(t,a,o);if(!Array.isArray(n))return this.ut=i,r;const s=this.ut??=[],l=[];let c,d,u=0,h=n.length-1,p=0,m=r.length-1;for(;u<=h&&p<=m;)if(null===n[u])u++;else if(null===n[h])h--;else if(s[u]===i[p])l[p]=_e(n[u],r[p]),u++,p++;else if(s[h]===i[m])l[m]=_e(n[h],r[m]),h--,m--;else if(s[u]===i[m])l[m]=_e(n[u],r[m]),be(e,l[m+1],n[u]),u++,m--;else if(s[h]===i[p])l[p]=_e(n[h],r[p]),be(e,n[u],n[h]),h--,p++;else if(void 0===c&&(c=ke(i,p,m),d=ke(s,u,h)),c.has(s[u]))if(c.has(s[h])){const t=d.get(i[p]),a=void 0!==t?n[t]:null;if(null===a){const t=be(e,n[u]);_e(t,r[p]),l[p]=t}else l[p]=_e(a,r[p]),be(e,n[u],a),n[t]=null;p++}else $e(n[h]),h--;else $e(n[u]),u++;for(;p<=m;){const t=be(e,l[m+1]);_e(t,r[p]),l[p++]=t}for(;u<=h;){const e=n[u++];null!==e&&$e(e)}return this.ut=i,we(e,l),R}}),ze=e=>!!e&&"none"!==e.action; /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */function Ae(e){return ze(e.tap_action)||ze(e.hold_action)||ze(e.double_tap_action)}function Se(e,t){let o,a,n=0,r=0,i=!1,s=!1;const l=o=>{const a=t(),n="tap"===o?a.tap_action:"hold"===o?a.hold_action:a.double_tap_action;ze(n)&&e.dispatchEvent(new CustomEvent("hass-action",{bubbles:!0,composed:!0,detail:{config:a,action:o}}))},c=()=>{void 0!==o&&clearTimeout(o),o=void 0},d=e=>{const a=e;a.button>0||(i=!0,s=!1,n=a.clientX,r=a.clientY,c(),ze(t().hold_action)&&(o=setTimeout(()=>{o=void 0,s=!0,l("hold")},500)))},u=e=>{if(!i)return;const t=e;Math.hypot(t.clientX-n,t.clientY-r)>10&&(c(),i=!1)},h=()=>{c(),i=!1},p=()=>{const e=i;c(),i=!1,e&&!s?ze(t().double_tap_action)?void 0!==a?(clearTimeout(a),a=void 0,l("double_tap")):a=setTimeout(()=>{a=void 0,l("tap")},250):l("tap"):s=!1},m=e=>{const t=e;t.repeat||"Enter"!==t.key&&" "!==t.key||(" "===t.key&&t.preventDefault(),l("tap"))},f=e=>{ze(t().hold_action)&&e.preventDefault()};return e.addEventListener("pointerdown",d),e.addEventListener("pointermove",u),e.addEventListener("pointerup",p),e.addEventListener("pointercancel",h),e.addEventListener("pointerleave",h),e.addEventListener("keydown",m),e.addEventListener("contextmenu",f),()=>{c(),void 0!==a&&clearTimeout(a),a=void 0,e.removeEventListener("pointerdown",d),e.removeEventListener("pointermove",u),e.removeEventListener("pointerup",p),e.removeEventListener("pointercancel",h),e.removeEventListener("pointerleave",h),e.removeEventListener("keydown",m),e.removeEventListener("contextmenu",f)}}const Ee={primary:{variable:"--primary-color",fallback:"#2f6fe4"},green:{variable:"--success-color",fallback:"#1fae7a"},amber:{variable:"--warning-color",fallback:"#f59e0b"},red:{variable:"--error-color",fallback:"#ef3b5a"},blue:{variable:"--info-color",fallback:"#2f6fe4"},purple:{variable:"--purple-color",fallback:"#8b6cff"},grey:{variable:"--grey-color",fallback:"#8e919a"}};function Ce(e){if(Object.prototype.hasOwnProperty.call(Ee,e)){const{variable:t,fallback:o}=Ee[e];return`var(${t}, ${o})`}return e}function je(e){const t=Ce(e);return{start:t,end:`color-mix(in srgb, ${t} 80%, #fff)`}}const Ne=new Set(["amber"]);function Le(e){if(Object.prototype.hasOwnProperty.call(Ee,e))return Ne.has(e)?"dark":"light";const t=function(e){const t=e.trim().toLowerCase(),o=/^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/.exec(t);if(o){const e=o[1].length<=4?[...o[1]].map(e=>e+e).join(""):o[1],[t,a,n]=[0,2,4].map(t=>parseInt(e.slice(t,t+2),16));return[t,a,n,8===e.length?parseInt(e.slice(6,8),16)/255:1]}const a=/^rgba?\(\s*([\d.]+)[\s,]+([\d.]+)[\s,]+([\d.]+)\s*(?:[,/]\s*([\d.]+)(%?)\s*)?\)$/.exec(t);if(a){const[e,t,o]=[a[1],a[2],a[3]].map(e=>Math.min(255,Number(e))),n=void 0===a[4]?1:Number(a[4])/(a[5]?100:1);return[e,t,o,Math.min(1,n)]}}(e);return t?t[3]<.5?"theme":function([e,t,o]){const a=e=>{const t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4};return.2126*a(e)+.7152*a(t)+.0722*a(o)}([t[0],t[1],t[2]])>.4?"dark":"light":"light"}function Te(e,t){let o=t[0];for(const a of t){if(!(a.from<=e))break;o=a}return o}function Oe(e,t,o){const a=o?` ${o}`:"",n=[];return e.forEach((o,r)=>{const i=e[r+1],s=Ce(o.color);o.label?n.push({color:s,text:o.label}):Number.isFinite(o.from)?i?n.push({color:s,text:`${t(o.from)}–${t(i.from)}${a}`}):n.push({color:s,text:`${t(o.from)}${a}+`}):i&&n.push({color:s,text:`< ${t(i.from)}${a}`})}),n}const Fe={battery:[{from:0,color:"red",label:"Low"},{from:20,color:"amber"},{from:50,color:"green"}],usage:[{from:0,color:"green"},{from:60,color:"amber"},{from:85,color:"red",label:"High"}],temperature:[{from:-50,color:"blue",label:"Cold"},{from:16,color:"green"},{from:24,color:"amber"},{from:28,color:"red",label:"Hot"}],none:void 0},Pe=["label","area","floor","device_class","domain","entity"];function De(e,t){if(null==e)return;if("object"!=typeof e||Array.isArray(e))throw new Error(`"${t}" must list what to match, such as "area" or "device_class"`);const o="include"===t?Pe.filter(e=>"entity"!==e):Pe,a={};for(const[n,r]of Object.entries(e)){if(!o.includes(n))throw new Error(`"${t}" can't match on "${n}". Use: ${o.join(", ")}`);const e=(Array.isArray(r)?r:[r]).filter(e=>null!=e&&""!==e);if(e.some(e=>"string"!=typeof e))throw new Error(`"${t}.${n}" must be text or a list of text`);e.length&&(a[n]=e)}return Object.keys(a).length?a:void 0}function Ue(e){const t=e.state;return"unavailable"===t||"unknown"===t||""!==t.trim()&&Number.isFinite(Number(t))}function He(e,t){const o=e.entity_id,a=t.entities?.[o],n=a?.device_id?t.devices?.[a.device_id]:void 0,r=a?.area_id??n?.area_id??void 0,i=e.attributes?.device_class;return{label:[...a?.labels??[],...n?.labels??[]],area:r,floor:r?t.areas?.[r]?.floor_id??void 0:void 0,device_class:"string"==typeof i?i:void 0,domain:o.slice(0,o.indexOf(".")),entity:o}}function Ie(e,t,o){const a=e[t],n=o[t];return Array.isArray(n)?n.some(e=>a.includes(e)):void 0!==n&&a.includes(n)}function Be(e,t){return Object.keys(e).every(o=>Ie(e,o,t))}function Re(e,t){return!!e&&Object.keys(e).some(o=>Ie(e,o,t))}const Ze=new WeakMap;const qe=e=>(Math.abs(e)<.005?0:e).toFixed(2);function We(e,t,o,a){const n=a*Math.PI/180;return[e+o*Math.sin(n),t-o*Math.cos(n)]}function Ve(e,t,o,a,n){const r=String(Number(o.toFixed(2))),i=n-a,[s,l]=We(e,t,o,a);if(i>=359.99){const[n,i]=We(e,t,o,a+180);return`M${qe(s)} ${qe(l)} A${r} ${r} 0 1 1 ${qe(n)} ${qe(i)} A${r} ${r} 0 1 1 ${qe(s)} ${qe(l)}`}const[c,d]=We(e,t,o,n),u=i>180?1:0;return`M${qe(s)} ${qe(l)} A${r} ${r} 0 ${u} 1 ${qe(c)} ${qe(d)}`}const Ye=["value","band","name","text","none"],Ge={ring:[-180,180],arc:[-135,135],needle:[-90,90]};function Xe(e,t){if(null==e||""===e)return;const o="string"==typeof e&&""!==e.trim()?Number(e):e;if("number"!=typeof o||!Number.isFinite(o)||o<-360||o>360)throw new Error(`"${t}" must be a number of degrees from -360 to 360`);return o}function Je(e,t){return[t?.startAngle??e[0],t?.endAngle??e[1]]}function Ke(e){return void 0!==e?.startAngle||void 0!==e?.endAngle}function Qe([e,t],o){return e+(t-e)*o}function et(...e){return{x0:Math.min(...e.map(e=>e.x0)),y0:Math.min(...e.map(e=>e.y0)),x1:Math.max(...e.map(e=>e.x1)),y1:Math.max(...e.map(e=>e.y1))}}function tt(e,t,o,a,n,r){const i=[a,n];for(let h=Math.ceil(a/90);90*h<=n;h++)i.push(90*h);const s=i.map(a=>We(e,t,o,a)),l=Math.min(...s.map(e=>e[0])),c=Math.min(...s.map(e=>e[1])),d=Math.max(...s.map(e=>e[0])),u=Math.max(...s.map(e=>e[1]));return{x0:l-r,y0:c-r,x1:d+r,y1:u+r}}function ot(e,t=5){if(!Number.isFinite(e)||e<=0)return 1;const o=e/t,a=10**Math.floor(Math.log10(o)),n=o/a;return(n<=1?1:n<=2?2:n<=2.5?2.5:n<=5?5:10)*a}function at(e,t){const o=e=>{const t=String(Number(e.toPrecision(12)));return t.includes("e")?0:t.split(".")[1]?.length??0};return Math.min(3,Math.max(o(t),o(e)))}function nt(e){const t=e*Math.PI/180,o=Math.sin(t),a=Math.cos(t);return{anchor:o>.3?"start":o<-.3?"end":"middle",dy:a>.3?0:a<-.3?.75:.35}}function rt(e,t){switch(t?.center??"value"){case"band":return e.band.label?{kind:"text",text:e.band.label,band:!0}:{kind:"value"};case"name":return{kind:"text",text:e.name,band:!1};case"text":return t.centerText?{kind:"text",text:t.centerText,band:!1}:{kind:"none"};case"none":return{kind:"none"};default:return{kind:"value"}}}const it=["bar","thin","segmented","tank","ring","needle","arc","line","column","area","combined","pie","rings","pictograph","waffle","histogram","scatter","bubble","heatmap","box","funnel","radar","polar_area","treemap","sunburst","icicle","grouped_bars","bullet","lollipop","waterfall","slope","dumbbell","range_area","sparkline","streamgraph","candlestick","violin","beeswarm","sankey","timeline","climate","wind_rose","day_clock","trend"],st=[{from:-1/0,color:"primary"}],lt=["none","ascending","descending"];function ct(e){if("number"==typeof e)return Number.isFinite(e)?e:void 0;if("string"==typeof e&&""!==e.trim()){const t=Number(e);return Number.isFinite(t)?t:void 0}}function dt(e,t){if(null==e||""===e)return;const o=ct(e);if(void 0!==o)return o;if("string"==typeof e)return e;throw new Error(`"${t}" must be a number or an entity id`)}function ut(e,t,o,a=1/0){if(null==e||""===e)return;const n=ct(e);if(void 0===n||!Number.isInteger(n)||na){throw new Error(`"${t}" must be a whole number ${a===1/0?`of at least ${o}`:`from ${o} to ${a}`}`)}return n}function ht(e){if(null==e)return;if(!Array.isArray(e))throw new Error('"severity" must be a list of bands');if(0===e.length)return;const t=e.map((e,t)=>{let o;try{o=dt(e?.from,"from")}catch{o=void 0}if(void 0===o)throw new Error(`Severity band ${t+1}: "from" must be a number or an entity id`);if("string"!=typeof e.color||!e.color)throw new Error(`Severity band ${t+1}: "color" is required`);return{...e,from:o}});return t.every(e=>"number"==typeof e.from)?t.sort((e,t)=>e.from-t.from):t}function pt(e,t,o){if(null==e)return{action:t};if("object"!=typeof e||"string"!=typeof e.action)throw new Error(`"${o}" must have an "action"`);return e}function mt(e,t){return void 0!==e?e:t}function ft(e,t,o){const a="string"==typeof e?{entity:e}:e;if(!a||"object"!=typeof a||"string"!=typeof a.entity||!a.entity)throw new Error(`Entity ${o+1} needs an "entity" id`);if(void 0!==a.attribute&&null!==a.attribute&&"string"!=typeof a.attribute)throw new Error(`Entity ${o+1}: "attribute" must be an attribute name`);const n=mt(dt(a.min,"min"),dt(t.min,"min"))??0,r=mt(dt(a.max,"max"),dt(t.max,"max"))??100;if("number"==typeof n&&"number"==typeof r&&n>=r)throw new Error(`"max" (${r}) must be greater than "min" (${n})`);const i={...a,entity:a.entity,min:n,max:r,severity:ht(a.severity)??ht(t.severity)??st,tap_action:pt(mt(a.tap_action,t.tap_action),"more-info","tap_action"),hold_action:pt(mt(a.hold_action,t.hold_action),"none","hold_action"),double_tap_action:pt(mt(a.double_tap_action,t.double_tap_action),"none","double_tap_action")},s=mt(a.name,t.name),l=mt(a.icon,t.icon),c=mt(a.unit,t.unit),d=mt(dt(a.target,"target"),dt(t.target,"target")),u=mt(ut(a.decimals,"decimals",0,20),ut(t.decimals,"decimals",0,20));return void 0!==s&&(i.name=s),void 0!==l&&(i.icon=l),void 0!==c&&(i.unit=c),void 0!==d&&(i.target=d),void 0!==u&&(i.decimals=u),a.attribute||delete i.attribute,Ge[t.style??"bar"]&&(i.gauge=function(e,t=e.style??"bar"){const o=Xe(e.start_angle,"start_angle"),a=Xe(e.end_angle,"end_angle"),n=Ge[t];if(n&&(void 0!==o||void 0!==a)){const[e,t]=[o??n[0],a??n[1]];if(!(t>e))throw new Error(`"end_angle" (${t}) must be greater than "start_angle" (${e})`);if(t-e>360)throw new Error('"end_angle" can be at most 360 degrees after "start_angle"')}const r=e.center??"value";if(!Ye.includes(r))throw new Error(`"center" must be one of: ${Ye.join(", ")}`);if(void 0!==e.center_text&&null!==e.center_text&&"string"!=typeof e.center_text)throw new Error('"center_text" must be text');if(void 0!==e.tick_labels&&"boolean"!=typeof e.tick_labels)throw new Error('"tick_labels" must be true or false');const i={center:r,centerText:e.center_text??"",tickLabels:!0===e.tick_labels};return void 0!==o&&(i.startAngle=o),void 0!==a&&(i.endAngle=a),i}(t)),i} + */function Se(e){return ze(e.tap_action)||ze(e.hold_action)||ze(e.double_tap_action)}function Ae(e,t){let a,o,n=0,r=0,i=!1,s=!1;const l=a=>{const o=t(),n="tap"===a?o.tap_action:"hold"===a?o.hold_action:o.double_tap_action;ze(n)&&e.dispatchEvent(new CustomEvent("hass-action",{bubbles:!0,composed:!0,detail:{config:o,action:a}}))},c=()=>{void 0!==a&&clearTimeout(a),a=void 0},d=e=>{const o=e;o.button>0||(i=!0,s=!1,n=o.clientX,r=o.clientY,c(),ze(t().hold_action)&&(a=setTimeout(()=>{a=void 0,s=!0,l("hold")},500)))},u=e=>{if(!i)return;const t=e;Math.hypot(t.clientX-n,t.clientY-r)>10&&(c(),i=!1)},h=()=>{c(),i=!1},p=()=>{const e=i;c(),i=!1,e&&!s?ze(t().double_tap_action)?void 0!==o?(clearTimeout(o),o=void 0,l("double_tap")):o=setTimeout(()=>{o=void 0,l("tap")},250):l("tap"):s=!1},m=e=>{const t=e;t.repeat||"Enter"!==t.key&&" "!==t.key||(" "===t.key&&t.preventDefault(),l("tap"))},f=e=>{ze(t().hold_action)&&e.preventDefault()};return e.addEventListener("pointerdown",d),e.addEventListener("pointermove",u),e.addEventListener("pointerup",p),e.addEventListener("pointercancel",h),e.addEventListener("pointerleave",h),e.addEventListener("keydown",m),e.addEventListener("contextmenu",f),()=>{c(),void 0!==o&&clearTimeout(o),o=void 0,e.removeEventListener("pointerdown",d),e.removeEventListener("pointermove",u),e.removeEventListener("pointerup",p),e.removeEventListener("pointercancel",h),e.removeEventListener("pointerleave",h),e.removeEventListener("keydown",m),e.removeEventListener("contextmenu",f)}}const Ee={primary:{variable:"--primary-color",fallback:"#2f6fe4"},green:{variable:"--success-color",fallback:"#1fae7a"},amber:{variable:"--warning-color",fallback:"#f59e0b"},red:{variable:"--error-color",fallback:"#ef3b5a"},blue:{variable:"--info-color",fallback:"#2f6fe4"},purple:{variable:"--purple-color",fallback:"#8b6cff"},grey:{variable:"--grey-color",fallback:"#8e919a"}};function Ce(e){if(Object.prototype.hasOwnProperty.call(Ee,e)){const{variable:t,fallback:a}=Ee[e];return`var(${t}, ${a})`}return e}function je(e){const t=Ce(e);return{start:t,end:`color-mix(in srgb, ${t} 80%, #fff)`}}const Ne=new Set(["amber"]);function Le(e){if(Object.prototype.hasOwnProperty.call(Ee,e))return Ne.has(e)?"dark":"light";const t=function(e){const t=e.trim().toLowerCase(),a=/^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/.exec(t);if(a){const e=a[1].length<=4?[...a[1]].map(e=>e+e).join(""):a[1],[t,o,n]=[0,2,4].map(t=>parseInt(e.slice(t,t+2),16));return[t,o,n,8===e.length?parseInt(e.slice(6,8),16)/255:1]}const o=/^rgba?\(\s*([\d.]+)[\s,]+([\d.]+)[\s,]+([\d.]+)\s*(?:[,/]\s*([\d.]+)(%?)\s*)?\)$/.exec(t);if(o){const[e,t,a]=[o[1],o[2],o[3]].map(e=>Math.min(255,Number(e))),n=void 0===o[4]?1:Number(o[4])/(o[5]?100:1);return[e,t,a,Math.min(1,n)]}}(e);return t?t[3]<.5?"theme":function([e,t,a]){const o=e=>{const t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4};return.2126*o(e)+.7152*o(t)+.0722*o(a)}([t[0],t[1],t[2]])>.4?"dark":"light":"light"}function Te(e,t){let a=t[0];for(const o of t){if(!(o.from<=e))break;a=o}return a}function Oe(e,t,a){const o=a?` ${a}`:"",n=[];return e.forEach((a,r)=>{const i=e[r+1],s=Ce(a.color);a.label?n.push({color:s,text:a.label}):Number.isFinite(a.from)?i?n.push({color:s,text:`${t(a.from)}–${t(i.from)}${o}`}):n.push({color:s,text:`${t(a.from)}${o}+`}):i&&n.push({color:s,text:`< ${t(i.from)}${o}`})}),n}const Fe={battery:[{from:0,color:"red",label:"Low"},{from:20,color:"amber"},{from:50,color:"green"}],usage:[{from:0,color:"green"},{from:60,color:"amber"},{from:85,color:"red",label:"High"}],temperature:[{from:-50,color:"blue",label:"Cold"},{from:16,color:"green"},{from:24,color:"amber"},{from:28,color:"red",label:"Hot"}],none:void 0},Pe=["label","area","floor","device_class","domain","entity"];function De(e,t){if(null==e)return;if("object"!=typeof e||Array.isArray(e))throw new Error(`"${t}" must list what to match, such as "area" or "device_class"`);const a="include"===t?Pe.filter(e=>"entity"!==e):Pe,o={};for(const[n,r]of Object.entries(e)){if(!a.includes(n))throw new Error(`"${t}" can't match on "${n}". Use: ${a.join(", ")}`);const e=(Array.isArray(r)?r:[r]).filter(e=>null!=e&&""!==e);if(e.some(e=>"string"!=typeof e))throw new Error(`"${t}.${n}" must be text or a list of text`);e.length&&(o[n]=e)}return Object.keys(o).length?o:void 0}function Ue(e){const t=e.state;return"unavailable"===t||"unknown"===t||""!==t.trim()&&Number.isFinite(Number(t))}function He(e,t){const a=e.entity_id,o=t.entities?.[a],n=o?.device_id?t.devices?.[o.device_id]:void 0,r=o?.area_id??n?.area_id??void 0,i=e.attributes?.device_class;return{label:[...o?.labels??[],...n?.labels??[]],area:r,floor:r?t.areas?.[r]?.floor_id??void 0:void 0,device_class:"string"==typeof i?i:void 0,domain:a.slice(0,a.indexOf(".")),entity:a}}function Ie(e,t,a){const o=e[t],n=a[t];return Array.isArray(n)?n.some(e=>o.includes(e)):void 0!==n&&o.includes(n)}function Be(e,t){return Object.keys(e).every(a=>Ie(e,a,t))}function Ze(e,t){return!!e&&Object.keys(e).some(a=>Ie(e,a,t))}const qe=new WeakMap;const Re=e=>(Math.abs(e)<.005?0:e).toFixed(2);function We(e,t,a,o){const n=o*Math.PI/180;return[e+a*Math.sin(n),t-a*Math.cos(n)]}function Ve(e,t,a,o,n){const r=String(Number(a.toFixed(2))),i=n-o,[s,l]=We(e,t,a,o);if(i>=359.99){const[n,i]=We(e,t,a,o+180);return`M${Re(s)} ${Re(l)} A${r} ${r} 0 1 1 ${Re(n)} ${Re(i)} A${r} ${r} 0 1 1 ${Re(s)} ${Re(l)}`}const[c,d]=We(e,t,a,n),u=i>180?1:0;return`M${Re(s)} ${Re(l)} A${r} ${r} 0 ${u} 1 ${Re(c)} ${Re(d)}`}const Ye=["value","band","name","text","none"],Ge={ring:[-180,180],arc:[-135,135],needle:[-90,90]};function Xe(e,t){if(null==e||""===e)return;const a="string"==typeof e&&""!==e.trim()?Number(e):e;if("number"!=typeof a||!Number.isFinite(a)||a<-360||a>360)throw new Error(`"${t}" must be a number of degrees from -360 to 360`);return a}function Je(e,t){return[t?.startAngle??e[0],t?.endAngle??e[1]]}function Ke(e){return void 0!==e?.startAngle||void 0!==e?.endAngle}function Qe([e,t],a){return e+(t-e)*a}function et(...e){return{x0:Math.min(...e.map(e=>e.x0)),y0:Math.min(...e.map(e=>e.y0)),x1:Math.max(...e.map(e=>e.x1)),y1:Math.max(...e.map(e=>e.y1))}}function tt(e,t,a,o,n,r){const i=[o,n];for(let h=Math.ceil(o/90);90*h<=n;h++)i.push(90*h);const s=i.map(o=>We(e,t,a,o)),l=Math.min(...s.map(e=>e[0])),c=Math.min(...s.map(e=>e[1])),d=Math.max(...s.map(e=>e[0])),u=Math.max(...s.map(e=>e[1]));return{x0:l-r,y0:c-r,x1:d+r,y1:u+r}}function at(e,t=5){if(!Number.isFinite(e)||e<=0)return 1;const a=e/t,o=10**Math.floor(Math.log10(a)),n=a/o;return(n<=1?1:n<=2?2:n<=2.5?2.5:n<=5?5:10)*o}function ot(e,t){const a=e=>{const t=String(Number(e.toPrecision(12)));return t.includes("e")?0:t.split(".")[1]?.length??0};return Math.min(3,Math.max(a(t),a(e)))}function nt(e){const t=e*Math.PI/180,a=Math.sin(t),o=Math.cos(t);return{anchor:a>.3?"start":a<-.3?"end":"middle",dy:o>.3?0:o<-.3?.75:.35}}function rt(e,t){switch(t?.center??"value"){case"band":return e.band.label?{kind:"text",text:e.band.label,band:!0}:{kind:"value"};case"name":return{kind:"text",text:e.name,band:!1};case"text":return t.centerText?{kind:"text",text:t.centerText,band:!1}:{kind:"none"};case"none":return{kind:"none"};default:return{kind:"value"}}}const it=["bar","thin","segmented","tank","ring","needle","arc","line","column","area","combined","pie","rings","pictograph","waffle","histogram","scatter","bubble","heatmap","box","funnel","radar","polar_area","treemap","sunburst","icicle","grouped_bars","bullet","lollipop","waterfall","slope","dumbbell","range_area","sparkline","streamgraph","candlestick","violin","beeswarm","sankey","timeline","climate","wind_rose","day_clock","trend"],st=[{from:-1/0,color:"primary"}],lt=["none","ascending","descending"];function ct(e){if("number"==typeof e)return Number.isFinite(e)?e:void 0;if("string"==typeof e&&""!==e.trim()){const t=Number(e);return Number.isFinite(t)?t:void 0}}function dt(e,t){if(null==e||""===e)return;const a=ct(e);if(void 0!==a)return a;if("string"==typeof e)return e;throw new Error(`"${t}" must be a number or an entity id`)}function ut(e,t,a,o=1/0){if(null==e||""===e)return;const n=ct(e);if(void 0===n||!Number.isInteger(n)||no){throw new Error(`"${t}" must be a whole number ${o===1/0?`of at least ${a}`:`from ${a} to ${o}`}`)}return n}function ht(e){if(null==e)return;if(!Array.isArray(e))throw new Error('"severity" must be a list of bands');if(0===e.length)return;const t=e.map((e,t)=>{let a;try{a=dt(e?.from,"from")}catch{a=void 0}if(void 0===a)throw new Error(`Severity band ${t+1}: "from" must be a number or an entity id`);if("string"!=typeof e.color||!e.color)throw new Error(`Severity band ${t+1}: "color" is required`);return{...e,from:a}});return t.every(e=>"number"==typeof e.from)?t.sort((e,t)=>e.from-t.from):t}function pt(e,t,a){if(null==e)return{action:t};if("object"!=typeof e||"string"!=typeof e.action)throw new Error(`"${a}" must have an "action"`);return e}function mt(e,t){return void 0!==e?e:t}function ft(e,t,a){const o="string"==typeof e?{entity:e}:e;if(!o||"object"!=typeof o||"string"!=typeof o.entity||!o.entity)throw new Error(`Entity ${a+1} needs an "entity" id`);if(void 0!==o.attribute&&null!==o.attribute&&"string"!=typeof o.attribute)throw new Error(`Entity ${a+1}: "attribute" must be an attribute name`);const n=mt(dt(o.min,"min"),dt(t.min,"min"))??0,r=mt(dt(o.max,"max"),dt(t.max,"max"))??100;if("number"==typeof n&&"number"==typeof r&&n>=r)throw new Error(`"max" (${r}) must be greater than "min" (${n})`);const i={...o,entity:o.entity,min:n,max:r,severity:ht(o.severity)??ht(t.severity)??st,tap_action:pt(mt(o.tap_action,t.tap_action),"more-info","tap_action"),hold_action:pt(mt(o.hold_action,t.hold_action),"none","hold_action"),double_tap_action:pt(mt(o.double_tap_action,t.double_tap_action),"none","double_tap_action")},s=mt(o.name,t.name),l=mt(o.icon,t.icon),c=mt(o.unit,t.unit),d=mt(dt(o.target,"target"),dt(t.target,"target")),u=mt(ut(o.decimals,"decimals",0,20),ut(t.decimals,"decimals",0,20));return void 0!==s&&(i.name=s),void 0!==l&&(i.icon=l),void 0!==c&&(i.unit=c),void 0!==d&&(i.target=d),void 0!==u&&(i.decimals=u),o.attribute||delete i.attribute,Ge[t.style??"bar"]&&(i.gauge=function(e,t=e.style??"bar"){const a=Xe(e.start_angle,"start_angle"),o=Xe(e.end_angle,"end_angle"),n=Ge[t];if(n&&(void 0!==a||void 0!==o)){const[e,t]=[a??n[0],o??n[1]];if(!(t>e))throw new Error(`"end_angle" (${t}) must be greater than "start_angle" (${e})`);if(t-e>360)throw new Error('"end_angle" can be at most 360 degrees after "start_angle"')}const r=e.center??"value";if(!Ye.includes(r))throw new Error(`"center" must be one of: ${Ye.join(", ")}`);if(void 0!==e.center_text&&null!==e.center_text&&"string"!=typeof e.center_text)throw new Error('"center_text" must be text');if(void 0!==e.tick_labels&&"boolean"!=typeof e.tick_labels)throw new Error('"tick_labels" must be true or false');const i={center:r,centerText:e.center_text??"",tickLabels:!0===e.tick_labels};return void 0!==a&&(i.startAngle=a),void 0!==o&&(i.endAngle=o),i}(t)),i} /** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -const gt=me(class extends fe{constructor(e){if(super(e),e.type!==he&&e.type!==de&&e.type!==pe)throw Error("The `live` directive is not allowed on child or event bindings");if(!(e=>void 0===e.strings)(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===q||t===W)return t;const o=e.element,a=e.name;if(e.type===he){if(t===o[a])return q}else if(e.type===pe){if(!!t===o.hasAttribute(a))return q}else if(e.type===de&&o.getAttribute(a)===t+"")return q;return we(e),t}}),vt={en:{entity_not_found:"Entity not found",unavailable:"Unavailable",no_entities:"Add an entity in the editor to get started.",no_matches:"No entities match right now.",none_available:"None of these entities are available.",editor_section_entities:"Entities",editor_section_style:"Style",editor_section_chart:"Chart",editor_group_bars:"Bars",editor_group_gauges:"Gauges",editor_group_history:"History charts",editor_group_totals:"Parts of a total",editor_group_compare:"Comparisons",editor_group_distribution:"Distributions",editor_period_last:"Show the last",editor_period_unit:"Unit",editor_period_unit_hour:"Hours",editor_period_unit_day:"Days",editor_period_unit_week:"Weeks",editor_period_unit_month:"Months",editor_source:"Readings from",editor_source_history:"History (every change)",editor_source_statistics:"Long-term statistics",editor_curve:"Line shape",editor_curve_smooth:"Smooth",editor_curve_straight:"Straight",editor_curve_step:"Steps",editor_color_by:"Colour",editor_color_by_series:"One colour per entity",editor_color_by_bands:"By colour band",editor_labels:"Show values on the points",editor_series_color:"Line colour",editor_dash:"Dashed",editor_section_limits:"Limits",editor_section_colours:"Colours",editor_section_display:"Display",editor_section_actions:"Actions",editor_title:"Title",editor_style_bar:"Bar",editor_style_thin:"Thin",editor_style_segmented:"Segmented",editor_style_tank:"Tank",editor_style_ring:"Ring",editor_style_needle:"Needle",editor_style_arc:"Arc",editor_gauge_help:"Angles are in degrees, clockwise from the top: -90 is the left, 90 the right. Leave them empty for the style's usual shape.",editor_start_angle:"Start angle",editor_end_angle:"End angle",editor_center:"In the middle",editor_center_mode_value:"The value",editor_center_mode_band:"The colour band's label",editor_center_mode_name:"The name",editor_center_mode_text:"My own text",editor_center_mode_none:"Nothing",editor_center_text:"Text",editor_tick_labels:"Numbers on the scale",editor_show_name:"Show name",editor_show_value:"Show value",editor_show_icon:"Show icon",editor_show_target:"Show target",editor_show_legend:"Show legend",editor_columns:"Columns",editor_sort:"Sort",editor_sort_none:"As listed",editor_sort_ascending:"Lowest first",editor_sort_descending:"Highest first",editor_decimals:"Decimals",editor_unit:"Unit",editor_animate:"Animate",editor_hide_unavailable:"Hide unavailable entities",editor_limit:"Show at most",editor_include_heading:"Also show every entity that matches",editor_include_help:"New devices appear without editing the card. Pick several of one kind to match any of them; different kinds must all match.",editor_exclude_heading:"Leave out",editor_exclude_help:"Matched entities are left out if they match any of these.",editor_rule_device_class:"Device class",editor_rule_area:"Areas",editor_rule_floor:"Floors",editor_rule_label:"Labels",editor_rule_domain:"Domains",editor_rule_entity:"Entities",editor_tap_action:"Tap action",editor_hold_action:"Hold action",editor_double_tap_action:"Double tap action",editor_attribute:"Attribute (instead of the state)",editor_name:"Name",editor_icon:"Icon",editor_min:"Minimum",editor_max:"Maximum",editor_target:"Target",editor_none:"None",editor_card_setting:"card setting",editor_limit_default:"Default ({value})",editor_limit_number:"Number",editor_limit_entity:"Entity",editor_preset:"Preset",editor_preset_battery:"Battery (low is bad)",editor_preset_usage:"Usage (high is bad)",editor_preset_temperature:"Temperature",editor_preset_none:"None",editor_preset_custom:"Custom",editor_band_from:"From",editor_band_from_entity:"Start from an entity",editor_band_from_number:"Start from a number",editor_band_from_entity_label:"Starts at this entity",editor_band_color:"Colour",editor_band_custom_color:"CSS colour",editor_band_label:"Label",editor_band_icon:"Icon",editor_color_icon:"Colour icons to match their band",editor_color_primary:"Primary",editor_color_green:"Green",editor_color_amber:"Amber",editor_color_red:"Red",editor_color_blue:"Blue",editor_color_purple:"Purple",editor_color_grey:"Grey",editor_color_custom:"Custom…",editor_add_band:"Add band",editor_remove_band:"Remove band",editor_add_entity:"Add entity",editor_move_up:"Move up",editor_move_down:"Move down",editor_remove_entity:"Remove entity",editor_show_options:"Show options",editor_hide_options:"Hide options",editor_not_found:"{entity} (not found)",editor_severity:"Colours"}};function yt(e,t){vt[e]={...vt[e],...t}}function bt(e){return(e?.locale?.language??e?.language??"en").split("-")[0]}function _t(e,t,o){const a=bt(e),n=vt[a]?.[t]??vt.en[t]??t;return o?n.replace(/\{(\w+)\}/g,(e,t)=>t in o?String(o[t]):e):n}function xt(e){return null==e||""===e}function wt(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function $t(e,t,o){const[a,...n]=t,r=function(e,t){return Array.isArray(e)?[...e]:wt(e)?{...e}:"number"==typeof t?[]:{}}(e,a),i=r,s=n.length?$t(i[a],n,o):o,l=n.length>0&&wt(s)&&0===Object.keys(s).length;return xt(s)?Array.isArray(r)&&"number"==typeof a?r.splice(a,1):delete i[a]:l&&wt(r)?delete i[a]:i[a]=s,r}function kt(e,t,o){return 0===t.length||xt(o)&&void 0===function(e,t){let o=e;for(const a of t){if("object"!=typeof o||null===o)return;o=o[a]}return o}(e,t)?e:$t(e,t,o)}function Mt(e){return"string"==typeof e?e:e.entity}function zt(e,t,o,a){if("entity"===o&&(xt(a)||"string"!=typeof a))return e;const n=[...e.entities??[]],r=n[t];if(void 0===r)return e;const i="string"==typeof r?{entity:r}:{...r};xt(a)?delete i[o]:i[o]=a;const s=Object.keys(i);return n[t]=1===s.length&&"entity"===s[0]&&"string"==typeof i.entity?i.entity:i,{...e,entities:n}}const At=2.5,St=.5,Et=12;function Ct(e,t){const o=e;return{width:o.line_width??t.line_width??At,dots:o.dots??!0===t.dots,onTop:!0===o.on_top}}function jt(e,t){return[...e.filter(e=>!t(e)),...e.filter(t)]}function Nt(e){return e.map(([e,t])=>`M${Math.round(100*e)/100},${Math.round(100*t)/100}h0`).join("")}function Lt(e){return Math.round(10*(e+3.5))/10}function Tt(e,t){if(void 0!==e&&("number"!=typeof e||!Number.isFinite(e)||eEt))throw new Error(`${t} must be a number from 0.5 to 12`)}function Ot(e,t){if(void 0!==e&&"boolean"!=typeof e)throw new Error(`${t} must be true or false`)}function Ft(e){Tt(e.line_width,'"line_width"'),Ot(e.dots,'"dots"');for(const t of e.entities??[])"object"==typeof t&&(Tt(t.line_width,`"line_width" of ${t.entity}`),Ot(t.dots,`"dots" of ${t.entity}`),Ot(t.on_top,`"on_top" of ${t.entity}`))}const Pt=[{name:"title",path:["title"]}],Dt=[{name:"show_name",path:["show","name"],default:!0},{name:"show_value",path:["show","value"],default:!0},{name:"show_icon",path:["show","icon"],default:!0},{name:"show_target",path:["show","target"],default:!0},{name:"show_legend",path:["show","legend"],default:!1},{name:"animate",path:["animate"],default:!0},{name:"hide_unavailable",path:["hide_unavailable"],default:!1}],Ut=[{name:"color_icon",path:["color_icon"],default:!1}],Ht=[{name:"columns",path:["columns"]},{name:"sort",path:["sort"],default:"none"},{name:"limit",path:["limit"]},{name:"decimals",path:["decimals"]},{name:"unit",path:["unit"]}],It=[{name:"tap_action",path:["tap_action"],default:{action:"more-info"}},{name:"hold_action",path:["hold_action"],default:{action:"none"}},{name:"double_tap_action",path:["double_tap_action"],default:{action:"none"}}],Bt=[{name:"start_angle",path:["start_angle"]},{name:"end_angle",path:["end_angle"]},{name:"center",path:["center"],default:"value"},{name:"center_text",path:["center_text"]},{name:"tick_labels",path:["tick_labels"],default:!1}],Rt=new Map;const Zt=[{name:"name",path:["name"]},{name:"unit",path:["unit"]},{name:"decimals",path:["decimals"]}],qt=[{name:"attribute",path:["attribute"]}],Wt=[{name:"series_color",path:["color"]},{name:"curve",path:["curve"]},{name:"line_width",path:["line_width"]},{name:"dash",path:["dash"],default:!1},{name:"on_top",path:["on_top"],default:!1}],Vt={number:{min:St,max:Et,step:.5,mode:"box",unit_of_measurement:"px"}},Yt=new Map;function Gt(e){let t=Yt.get(e);return t||(t=[...Wt,{name:"dots",path:["dots"],default:e}],Yt.set(e,t)),t}const Xt=It.map(({name:e,path:t})=>({name:e,path:t})),Jt=[{name:"title",selector:{text:{}}}],Kt=It.map(({name:e})=>({name:e,selector:{ui_action:{}}})),Qt=[{type:"grid",name:"",schema:[{name:"name",selector:{text:{}}},{name:"unit",selector:{text:{}}},{name:"decimals",selector:{number:{min:0,max:20,mode:"box"}}}]}],eo=new Map;let to;function oo(e){const t=bt(e);if(to?.language!==t){const o=t=>_t(e,t);to={language:t,schema:[{type:"grid",name:"",schema:[{name:"series_color",selector:{text:{}}},{name:"curve",selector:{select:{mode:"dropdown",options:["smooth","straight","step"].map(e=>({value:e,label:o(`editor_curve_${e}`)}))}}}]},{type:"grid",name:"",schema:[{name:"line_width",selector:Vt},{name:"dash",selector:{boolean:{}}},{name:"dots",selector:{boolean:{}}},{name:"on_top",selector:{boolean:{}}}]}]}}return to.schema}function ao(e){return[{type:"grid",name:"",schema:[{name:"columns",selector:{number:{min:1,max:6,mode:"box"}}},{name:"sort",selector:{select:{mode:"dropdown",options:["none","ascending","descending"].map(t=>({value:t,label:_t(e,`editor_sort_${t}`)}))}}},{name:"limit",selector:{number:{min:1,mode:"box"}}},{name:"decimals",selector:{number:{min:0,max:20,mode:"box"}}},{name:"unit",selector:{text:{}}}]}]}const no={include:["device_class","area","floor","label","domain"],exclude:["entity","device_class","area","floor","label","domain"]};function ro(e,t){const o=e=>({select:{multiple:!0,custom_value:!0,mode:"dropdown",options:e}});switch(e){case"device_class":return o(t.deviceClasses);case"domain":return o(t.domains);case"entity":return{entity:{multiple:!0}};default:return{[e]:{multiple:!0}}}}const io=new Map;function so(e,t){const o=function(e){const t=new Set,o=new Set;for(const a of Object.values(e?.states??{})){const e=a.attributes?.device_class;"string"==typeof e&&e&&t.add(e),o.add(a.entity_id.slice(0,a.entity_id.indexOf(".")))}return{deviceClasses:[...t].sort(),domains:[...o].sort()}}(t),a=`${o.deviceClasses.join()}|${o.domains.join()}`,n=io.get(e);if(n?.key===a)return n.schema;const r=no[e].map(t=>({name:`${e}_${t}`,selector:ro(t,o)}));return io.set(e,{key:a,schema:r}),r}let lo;function co(e,t){let o=e;for(const a of t){if("object"!=typeof o||null===o)return;o=o[a]}return o}function uo(e,t){if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t||null===e||null===t)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;const o=Object.keys(e),a=Object.keys(t);return o.length===a.length&&o.every(o=>uo(e[o],t[o]))}function ho(e,t){const o={};for(const a of t){const t=co(e,a.path)??a.default;void 0!==t&&(o[a.name]=t)}return o}function po(e,t,o){const a=ho(e,t);let n=e;for(const r of t){const e=o[r.name];uo(a[r.name],e)||(n=kt(n,r.path,void 0!==r.default&&uo(e,r.default)?void 0:e))}return n}const mo="var(--divider-color, rgba(127, 127, 127, 0.3))",fo="var(--primary-color, #03a9f4)",go="var(--secondary-text-color, #727272)";function vo(e,t,o,a){const n=(a-90)*Math.PI/180;return[(e+o*Math.cos(n)).toFixed(2),(t+o*Math.sin(n)).toFixed(2)]}function yo(e,t,o,a){return vo(e,t,o,a).join(" ")}function bo(e,t,o,a,n){const r=n-a>180?1:0;return`M ${yo(e,t,o,a)} A ${o} ${o} 0 ${r} 1 ${yo(e,t,o,n)}`}function _o(e){return R``}function xo(e){let t=1/0,o=-1/0;for(const a of e)for(const e of a)for(const a of[e.v,e.min,e.max])"number"==typeof a&&(ao&&(o=a));return t===1/0?void 0:[t,o]}function wo([e,t],o=.08){if(e===t)return[e-1,t+1];const a=(t-e)*o;return[e-a,t+a]}function $o(e,t){const[o,a]=e,[n,r]=t,i=a===o?0:(r-n)/(a-o);return e=>n+(e-o)*i}const ko=["linear","log"],Mo=["outside","inside"],zo=!0,Ao=!0,So="outside",Eo=!0,Co=!1,jo="linear",No=e=>"number"==typeof e&&Number.isFinite(e);function Lo(e){const t=e;for(const o of["x_axis","y_axis"])if(void 0!==t[o]&&"boolean"!=typeof t[o])throw new Error(`"${o}" must be true or false`);if(void 0!==t.axis_labels&&!Mo.includes(t.axis_labels))throw new Error(`"axis_labels" must be one of: ${Mo.join(", ")}`);if(void 0!==t.gridlines){const e=t.gridlines;if("object"!=typeof e||null===e||Array.isArray(e))throw new Error('"gridlines" must have "horizontal" and "vertical" (true or false)');for(const t of["horizontal","vertical"])if(void 0!==e[t]&&"boolean"!=typeof e[t])throw new Error(`"gridlines.${t}" must be true or false`)}for(const o of["y_min","y_max"])if(void 0!==t[o]&&!No(t[o]))throw new Error(`"${o}" must be a number`);if(No(t.y_min)&&No(t.y_max)&&t.y_min>=t.y_max)throw new Error('"y_min" must be below "y_max"');if(void 0!==t.y_scale&&!ko.includes(t.y_scale))throw new Error(`"y_scale" must be one of: ${ko.join(", ")}`);if("log"===t.y_scale)for(const o of["y_min","y_max"])if(No(t[o])&&t[o]<=0)throw new Error(`"${o}" must be above 0 on a log scale`)}function To(e){const t=e,o=t.gridlines??{};return{x:t.x_axis??zo,y:t.y_axis??Ao,labels:t.axis_labels??So,horizontal:o.horizontal??Eo,vertical:o.vertical??Co,min:No(t.y_min)?t.y_min:void 0,max:No(t.y_max)?t.y_max:void 0,scale:t.y_scale??jo}}function Oo(e,t){if(!(e>0&&Number.isFinite(e)))return 1;const o=e/Math.max(1,t),a=10**Math.floor(Math.log10(o));for(const n of[1,2,5])if(n*a>=o*(1-1e-9))return n*a;return 10*a}function Fo(e){return Math.max(0,-Math.floor(Math.log10(e)+1e-9))}const Po=e=>Number(e.toPrecision(12));function Do(e,t,o){let[a,n]=wo(e??[0,1]);void 0!==t.min&&(a=t.min),void 0!==t.max&&(n=t.max),n<=a&&(void 0!==t.min?n=a+Math.max(1,.1*Math.abs(a)):a=n-Math.max(1,.1*Math.abs(n)));const r=Oo(n-a,o);void 0===t.min&&(a=Po(Math.floor(a/r+1e-9)*r)),void 0===t.max&&(n=Po(Math.ceil(n/r-1e-9)*r));const i=[];for(let s=Math.ceil(a/r-1e-9);s*r<=n+1e-9*r;s++)i.push(Po(s*r));return{domain:[a,n],ticks:i,decimals:Fo(r)}}const Uo=6e4,Ho=36e5,Io=864e5,Bo=[...[1,5,10,15,30].map(e=>({unit:"minute",n:e,ms:e*Uo})),...[1,2,3,6,12].map(e=>({unit:"hour",n:e,ms:e*Ho})),...[1,2,7].map(e=>({unit:"day",n:e,ms:e*Io})),...[1,2,3,6].map(e=>({unit:"month",n:e,ms:30.44*e*Io})),...[1,2,5,10,20,50,100].map(e=>({unit:"year",n:e,ms:365.25*e*Io}))];const Ro=e=>-new Date(e).getTimezoneOffset()*Uo;function Zo(e){if(!e)return Ro;let t;try{t=new Intl.DateTimeFormat("en-US",{timeZone:e,hourCycle:"h23",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})}catch{return Ro}return e=>{const o={};for(const a of t.formatToParts(e))o[a.type]=Number(a.value);return Date.UTC(o.year,o.month-1,o.day,o.hour%24,o.minute,o.second)-1e3*Math.floor(e/1e3)}}function qo(e,t){return e-t(e-t(e))}function Wo(e,t,o,a){const n=[],r=e.end+t(e.end);for(let i=o,s=0;i<=r&&s<1e3;i=a(i),s++){const o=qo(i,t);o>=e.start&&o<=e.end&&o!==n[n.length-1]&&n.push(o)}return n}function Vo(e,t,o=Ro){const{unit:a,n:n}=function(e,t){return Bo.find(o=>e/o.ms<=Math.max(1,t))??Bo[Bo.length-1]}(e.end-e.start,t),r=e.start+o(e.start);if("minute"===a||"hour"===a||"day"===a&&7!==n){const t=n*("minute"===a?Uo:"hour"===a?Ho:Io);return{unit:a,ticks:Wo(e,o,Math.ceil(r/t)*t,e=>e+t)}}if("day"===a){const t=Math.ceil(r/Io);return{unit:a,ticks:Wo(e,o,(t+((4-t)%7+7)%7)*Io,e=>e+7*Io)}}const i=new Date(r);if("month"===a){let t=i.getUTCFullYear(),s=i.getUTCMonth();Date.UTC(t,s){const t=new Date(e);return Date.UTC(t.getUTCFullYear(),t.getUTCMonth()+n)};return{unit:a,ticks:Wo(e,o,Date.UTC(t,s),l)}}let s=i.getUTCFullYear();return Date.UTC(s,0)Date.UTC(new Date(e).getUTCFullYear()+n,0))}}function Yo(e){return"server"===e?.locale?.time_zone?e.config?.time_zone:void 0}function Go(e){const t=e?.locale?.time_format;return"12"===t||"24"!==t&&void 0}const Xo=new Map;function Jo(e,t,o){const a=`${e}|${t}|${JSON.stringify(o)}`;let n=Xo.get(a);if(!n){try{n=new Intl.DateTimeFormat(e,{...o,timeZone:t})}catch{n=new Intl.DateTimeFormat(void 0,o)}Xo.set(a,n)}return n}function Ko(e,t,o=!1){return Jo(t?.locale?.language??"en",Yo(t),{hour:"numeric",minute:"2-digit",...o?{second:"2-digit"}:{},hour12:Go(t)}).format(e)}function Qo(e,t){return Jo(t?.locale?.language??"en",Yo(t),{weekday:"short",day:"numeric",month:"short",hour:"numeric",minute:"2-digit",hour12:Go(t)}).format(e)}function ea(e,t,o,a,n){const r=a?.locale?.language??"en",i=Yo(a),s=e+(n??Zo(i))(e),l=new Date(s),c=s%Io===0;switch(t){case"minute":case"hour":return c?Jo(r,i,{weekday:"short"}).format(e):Ko(e,a);case"day":return o<=7*Io?Jo(r,i,{weekday:"short"}).format(e):Jo(r,i,{day:"numeric",month:"short"}).format(e);case"month":return Jo(r,i,0===l.getUTCMonth()?{month:"short",year:"numeric"}:{month:"short"}).format(e);default:return Jo(r,i,{year:"numeric"}).format(e)}}function ta(e,t){if(e.length<=t)return e;const o=[];let a=[];for(const r of e)null===r.v?(a.length&&o.push(a),o.push([r]),a=[]):a.push(r);a.length&&o.push(a);const n=e.length;return o.flatMap(e=>null===e[0].v?e:function(e,t){if(e.length<=t||t<3)return e;const o=[e[0]],a=(e.length-2)/(t-2);let n=0;for(let r=0;rp&&(p=t,h=o)}o.push(e[h]),n=h}return o.push(e[e.length-1]),o}(e,Math.max(3,Math.round(e.length/n*t))))}const oa=36e5,aa=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],na=["monday","tuesday","wednesday","thursday","friday","saturday","sunday"],ra=new Map;function ia(e){let t=ra.get(e);return t||(t=new Intl.DateTimeFormat("en-US",{timeZone:e,hourCycle:"h23",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",weekday:"short"}),ra.set(e,t)),t}function sa(e,t){const o={};for(const a of ia(t).formatToParts(new Date(e)))o[a.type]=a.value;return{year:Number(o.year),month:Number(o.month),day:Number(o.day),hour:Number(o.hour)%24,minute:Number(o.minute),second:Number(o.second),weekday:aa.indexOf(o.weekday)+1}}function la(e,t){const o=sa(e,t);return Date.UTC(o.year,o.month-1,o.day,o.hour,o.minute,o.second)-1e3*Math.floor(e/1e3)}function ca(e,t,o,a=1,n=0,r=0,i=0){const s=Date.UTC(t,o-1,a,n,r,i),l=new Date(s),c=la(s-864e5,e),d=la(s+864e5,e),u=[s-c,s-d].filter(t=>{const o=sa(t,e);return o.year===l.getUTCFullYear()&&o.month===l.getUTCMonth()+1&&o.day===l.getUTCDate()&&o.hour===l.getUTCHours()&&o.minute===l.getUTCMinutes()&&o.second===l.getUTCSeconds()});return u.length?Math.min(...u):function(e,t,o,a){for(;t-e>1e3;){const n=1e3*Math.floor((e+t)/2e3);la(n,a)===o?e=n:t=n}return t}(s-d,s-c,c,e)}function da(e,t,o){const a=new Date(Date.UTC(e,t-1,o));return{year:a.getUTCFullYear(),month:a.getUTCMonth()+1,day:a.getUTCDate()}}function ua(e,t,o){const a=sa(t,o.timeZone);switch(e){case"hour":return t-t%1e3-1e3*(60*a.minute+a.second);case"day":return ca(o.timeZone,a.year,a.month,a.day);case"week":{const e=(a.weekday-o.firstDay+7)%7,t=da(a.year,a.month,a.day-e);return ca(o.timeZone,t.year,t.month,t.day)}case"month":return ca(o.timeZone,a.year,a.month,1);case"year":return ca(o.timeZone,a.year,1,1)}}function ha(e,t,o,a){if("hour"===e)return t+o*oa;const n=sa(t,a.timeZone);let{year:r,month:i,day:s}=n;if("day"===e)({year:r,month:i,day:s}=da(r,i,s+o));else if("week"===e)({year:r,month:i,day:s}=da(r,i,s+7*o));else{const t=da(r,i+("year"===e?12*o:o),1),a=da(t.year,t.month+1,0).day;({year:r,month:i}=t),s=Math.min(s,a)}return ca(a.timeZone,r,i,s,n.hour,n.minute,n.second)}function pa(e,t,o,a,n=1e4){const r=[ua(e,t,a)];let i=1;for(;r[r.length-1]r[r.length-1]?t:r[r.length-1]+oa),i++}return 1===r.length&&r.push(ha(e,r[0],1,a)),r}function ma(e){try{const t=new Intl.Locale(e),o=t.getWeekInfo?.().firstDay??t.weekInfo?.firstDay;return"number"==typeof o&&o>=1&&o<=7?o:1}catch{return 1}}function fa(e){const t=e?.locale,o=e?.config?.time_zone,a="server"===t?.time_zone&&function(e){if("string"!=typeof e||""===e)return!1;try{return ia(e),!0}catch{return!1}}(o)?o:(new Intl.DateTimeFormat).resolvedOptions().timeZone||"UTC",n=na.indexOf(String(t?.first_weekday??"language"))+1;return{timeZone:a,firstDay:n>0?n:ma(t?.language??e?.language??"en")}}const ga=["hour","day","week","month"],va=["day","week","month","year"],ya=["now","end"],ba={last:24,unit:"hour",offset:0,navigate:!1,until:"now"},_a={hour:36e5,day:864e5,week:6048e5};function xa(e,t,o){const a="string"==typeof e&&""!==e.trim()?Number(e):e;if("number"!=typeof a||!Number.isInteger(a)||a[e,22.5*t])),ja=[[/north/g,"n"],[/south/g,"s"],[/east/g,"e"],[/west/g,"w"]];function Na(e){const t=(e%360+360)%360;return 360===t?0:t}function La(e){if("number"==typeof e)return Number.isFinite(e)?Na(e):null;if("string"!=typeof e)return null;const t=e.trim().toLowerCase();if(""===t)return null;const o=Number(t.replace(/\s*°$/,""));if(Number.isFinite(o))return Na(o);let a=t.replace(/[\s_-]+/g,"");for(const[n,r]of ja)a=a.replace(n,r);return Ca.get(a.toUpperCase())??null}function Ta(e){if("number"==typeof e)return Number.isFinite(e)?e:null;if("on"===e)return 1;if("off"===e)return 0;if("string"!=typeof e||""===e.trim())return null;const t=Number(e);return Number.isFinite(t)?t:null}function Oa(e){return e.bearing?La:Ta}function Fa(e){return"string"==typeof e?e:"number"==typeof e||"boolean"==typeof e?String(e):void 0}function Pa(e,t,o=!1,a=Ta){return o?{t:e,v:null,s:Fa(t)}:{t:e,v:a(t)}}function Da(e,t,o=!1,a=Ta){const n=[];for(const r of e??[]){const e=r.lu??r.lc;if(void 0===e)continue;const i=t?r.a?.[t]:r.s;n.push(Pa(Math.round(1e3*e),i,o,a))}return n}const Ua=e=>"number"==typeof e&&Number.isFinite(e)?e:null;function Ha(e,t){return(e??[]).map(e=>{const o="number"==typeof e.start?e.start:Date.parse(e.start);let a;return a="change"===t?Ua(e.change):"state"===t?Ua(e.state)??Ua(e.mean):"min"===t||"max"===t?Ua(e[t])??Ua(e.mean)??Ua(e.state):Ua(e.mean)??Ua(e.state),{t:o,v:a,min:e.min??null,max:e.max??null}})}function Ia(e){const t=(e.end-e.start)/864e5;return t<=2?"5minute":t<=35?"hour":t<=400?"day":"month"}function Ba(e){return{period:Ia(e),types:["mean","min","max","state"],value:"mean"}}function Ra(e){const t=e.attribute?`${e.entity}|${e.attribute}`:e.entity;return e.text?`${t}|text`:e.bearing?`${t}#bearing`:t}const Za=["hour","day","week","month"],qa=["mean","sum","min","max","first","last","change"];function Wa(e){if(void 0!==e.aggregate&&!qa.includes(e.aggregate))throw new Error(`"aggregate" must be one of: ${qa.join(", ")}`);if(void 0!==e.group_by){if(!Za.includes(e.group_by))throw new Error(`"group_by" must be one of: ${Za.join(", ")}`);return{unit:e.group_by,aggregate:e.aggregate??"mean"}}}function Va(e,t,o,a,n=!1){const r="change"===o?function(e){let t=null;return e.map(e=>{if(null===e.v)return null;if(null===t)return t=e.v,0;if(e.v>=t){const o=e.v-t;return t=e.v,o}return t-e.v>.1*Math.abs(t)?(t=e.v,Math.max(0,e.v)):0})}(e):[],i=[];let s=0;for(let l=0;l+1c&&p.push({v:m.v,dt:g-c,reading:!1,carried:!0,up:0});fnull!==e.v);if(0===v.length)continue;const y=v.map(e=>e.v);switch(n&&(h.min=Math.min(...y),h.max=Math.max(...y)),o){case"mean":{const e=v.reduce((e,t)=>e+t.dt,0);h.v=e>0?v.reduce((e,t)=>e+t.v*t.dt,0)/e:y.reduce((e,t)=>e+t,0)/y.length;break}case"min":h.v=Math.min(...y);break;case"max":h.v=Math.max(...y);break;case"first":h.v=y[0];break;case"last":h.v=y[y.length-1];break;case"sum":{const e=v.filter(e=>e.reading&&!e.carried);h.v=e.length?e.reduce((e,t)=>e+t.v,0):null;break}case"change":h.v=v.reduce((e,t)=>e+(t.reading&&!t.carried?t.up??0:0),0)}}return i}function Ya(e,t,o,a=1/0,n=!1){const r=[];let i=0;for(let s=0;s+1e+t,0)/u.length;else if("sum"===o||"change"===o)m=u.reduce((e,t)=>e+t,0);else if("min"===o)m=Math.min(...u);else if("max"===o)m=Math.max(...u);else if("last"===o)m=u[u.length-1];else{const t=e.slice(0,i).reverse().find(e=>null!==e.v),o=e.slice(i,d).find(e=>e.carried&&null!==e.v);m=(t??o)?.v??u[0]}const f={t:l,end:c,v:m};n&&null!==m&&(f.min=Math.min(...h),f.max=Math.max(...p)),r.push(f)}return r}const Ga={"5minute":3e5,hour:36e5,day:9e7,week:6912e5,month:27648e5},Xa={mean:{types:["mean"],value:"mean"},min:{types:["min"],value:"min"},max:{types:["max"],value:"max"},first:{types:["state","mean"],value:"state"},last:{types:["state","mean"],value:"state"},sum:{types:["change"],value:"change"},change:{types:["change"],value:"change"}};const Ja={"5minute":3e5,hour:36e5,day:864e5,week:864e5,month:864e5};class Ka{constructor(e){this.onChange=e,this.shape="",this.loadedFrom=1/0,this.loadedTo=-1/0,this.status="loading",this.data=new Map,this.seen=new Map,this.generation=0}get(e,t,o,a,n={}){const r=n.live??!0,i="statistics"===a?n.statistics??Ba(o):void 0,s=`${a}|${t.map(Ra).join(",")}|${i?JSON.stringify(i):""}`,l=void 0!==this.pausedAt&&Date.now()-this.pausedAt>en,c=void 0!==this.pausedAt&&"statistics"===a&&r;this.pausedAt=void 0;const d=Math.max(6e4,(o.end-o.start)/100),u=o.startthis.loadedTo+d);(s!==this.shape||u||l&&r||c)&&(this.shape=s,this.load(e,t,o,r,i)),"ready"===this.status&&"history"===a&&this.loadedTo===1/0&&this.appendLive(e,t);const h=new Map;for(const[p,m]of this.data)h.set(p,Qa(m,o));return{status:this.status,data:h,error:this.error}}pause(){clearTimeout(this.timer),this.timer=void 0,this.pausedAt=Date.now()}dispose(){clearTimeout(this.timer),this.timer=void 0,this.shape="",this.loadedFrom=1/0,this.loadedTo=-1/0,this.generation++}load(e,t,o,a,n){const r=++this.generation;this.status="loading",this.loadedFrom=o.start,this.loadedTo=a?1/0:o.end,clearTimeout(this.timer);const i=n?async function(e,t,o,a=Ba(o)){const n=new Map;if(!e.callWS||0===t.length)return n;const r=[...new Set(t.map(e=>e.entity))],i=await e.callWS({type:"recorder/statistics_during_period",start_time:new Date(o.start).toISOString(),end_time:new Date(o.end).toISOString(),statistic_ids:r,period:a.period,types:a.types});for(const s of t)n.set(Ra(s),Ha(i?.[s.entity],a.value));return n}(e,t,o,n):async function(e,t,o){const a=new Map;if(!e.callWS||0===t.length)return a;const n={type:"history/history_during_period",start_time:new Date(o.start).toISOString(),end_time:new Date(o.end).toISOString(),significant_changes_only:!1},r=[...new Set(t.filter(e=>!e.attribute).map(e=>e.entity))],i=[...new Set(t.filter(e=>e.attribute).map(e=>e.entity))],s=[];return r.length&&s.push(e.callWS({...n,entity_ids:r,minimal_response:!0,no_attributes:!0}).then(e=>{for(const o of t.filter(e=>!e.attribute))a.set(Ra(o),Da(e?.[o.entity],void 0,o.text,Oa(o)))})),i.length&&s.push(e.callWS({...n,entity_ids:i,no_attributes:!1}).then(e=>{for(const o of t.filter(e=>e.attribute))a.set(Ra(o),Da(e?.[o.entity],o.attribute,o.text,Oa(o)))})),await Promise.all(s),a}(e,t,o);i.then(o=>{if(r===this.generation){this.data=o,this.status="ready",this.error=void 0,this.seen.clear();for(const o of t)this.seen.set(Ra(o),e.states[o.entity]);n&&a&&(this.timer=setTimeout(()=>{this.shape="",this.onChange()},Ja[n.period])),this.onChange()}},e=>{r===this.generation&&(this.status="error",this.error=e instanceof Error?e.message:String(e?.message??e),this.onChange())})}appendLive(e,t){for(const o of t){const t=Ra(o),a=e.states[o.entity];if(!a||this.seen.get(t)===a)continue;this.seen.set(t,a);const n=Date.parse(a.last_updated??a.last_changed??"")||Date.now(),r=this.data.get(t)??[],i=r[r.length-1];i&&n<=i.t||(r.push(Pa(n,o.attribute?a.attributes?.[o.attribute]:a.state,o.text,Oa(o))),this.data.set(t,r))}}}function Qa(e,t){let o=0;for(;oe.t<=t.end),n=e[o-1];return n?[{...n,t:t.start,carried:!0},...a]:a}const en=6e4,tn=new WeakMap;function on(e,t){let o=tn.get(e);return o||(o=new Ka(t),tn.set(e,o)),o}const an=["smooth","straight","step"],nn=e=>(Math.round(100*e)/100).toString();function rn(e){return e.map(([e,t],o)=>`${o?"L":"M"}${nn(e)},${nn(t)}`).join("")}function sn(e,t){return 0===e.length?"":1===e.length?`M${nn(e[0][0])},${nn(e[0][1])}h0`:"smooth"===t?function(e){const t=e.length;if(t<3)return rn(e);const o=[],a=[];for(let i=0;i9){const r=3/Math.sqrt(o);n[i]=r*e*a[i],n[i+1]=r*t*a[i]}}let r=`M${nn(e[0][0])},${nn(e[0][1])}`;for(let i=0;i"object"==typeof e?e.curve:void 0)];for(const o of t)if(void 0!==o&&!an.includes(o))throw new Error(`"curve" must be one of: ${an.join(", ")}`)}function mn(e,t=Date.now(),o={}){const a=$a(e.raw.period),n=e.raw.source??"history",r=fa(e.hass),i=Ma(a,t,r,a.navigate?Aa(e.host,a):0),s=Wa(e.raw),l={start:s?ua(s.unit,i.start,r):i.start,end:i.end},c=e.items.map(e=>({entity:e.entityId,attribute:e.config.attribute,...o.text?{text:!0}:{}})),d=on(e.host,e.requestUpdate),u=s&&"statistics"===n?function(e,t,o,a=!1){const n=t.timeZone===o&&("week"!==e.unit||1===t.firstDay),r="hour"!==e.unit&&n?e.unit:"hour",{types:i,value:s}=Xa[e.aggregate];return{period:r,types:a?[...new Set([...i,"min","max"])]:i,value:s}}(s,r,e.hass.config?.time_zone,!0===o.range):void 0,h=u?{start:l.start-Ga[u.period],end:l.end}:l,p=d.get(e.hass,c,h,n,{live:i.live,statistics:u}),m=s?pa(s.unit,l.start,l.end,r):[],f=e.raw.curve??"smooth",g=Math.min(l.end,t),v=e.items.map((e,t)=>{const a=e.config;let r=p.data.get(Ra(c[t]))??[];const i=r[r.length-1];return s?r="statistics"===n?Ya(r,m,s.aggregate,g,!0===o.range):Va(r,m,o.aggregate?.(e)??s.aggregate,g,!0===o.range):"history"===n&&i&&null!==i.v&&i.t1===e?t:o;function gn(e,t,o,a,n){const r=(e,t)=>_t(n,e,t);if(e.calendar&&o<2)return r({day:["period_today","period_yesterday"],week:["period_this_week","period_last_week"],month:["period_this_month","period_last_month"],year:["period_this_year","period_last_year"]}[e.calendar][o]);if(!e.calendar&&0===o){const t=e.last;return r({hour:fn(t,"period_last_hour","period_last_hours"),day:fn(t,"period_last_day","period_last_days"),week:fn(t,"period_last_week_rolling","period_last_weeks"),month:fn(t,"period_last_month_rolling","period_last_months")}[e.unit],{n:t})}const i={timeZone:a.timeZone},s=sa(t.start,a.timeZone).year===sa(Date.now(),a.timeZone).year;let l;"year"===e.calendar?i.year="numeric":"month"===e.calendar?Object.assign(i,{month:"long",year:"numeric"}):(Object.assign(i,{day:"numeric",month:"short"}),s||(i.year="numeric"),"day"===e.calendar&&(i.weekday="short"),e.calendar||"hour"!==e.unit&&"day"!==e.unit||Object.assign(i,{hour:"numeric",minute:"2-digit"}));try{l=new Intl.DateTimeFormat(n?.locale?.language??n?.language??"en",i)}catch{l=new Intl.DateTimeFormat("en",i)}const c=e.calendar?t.end-1:t.end;return"day"===e.calendar||"month"===e.calendar||"year"===e.calendar?l.format(t.start):l.formatRange(t.start,c)}function vn(e,t,o=Date.now()){const{period:a}=e;if(!a.navigate)return W;const n=Aa(t.host,a),r=e=>o=>{o.stopPropagation(),Sa(t.host,a,e),t.requestUpdate()},i=gn(a,e.range,e.back,e.zone,t.hass);let s="";if(0!==n){const n=Ma(a,o,e.zone);s=gn(a,n,n.back,e.zone,t.hass)}const l=e=>R``;return R`
- ${i} - ${0!==n?R``:W} -
`}const yn=r` + `}const kn=r` .period-nav { display: flex; align-items: center; @@ -142,31 +142,31 @@ const gt=me(class extends fe{constructor(e){if(super(e),e.type!==he&&e.type!==de border: 1px solid color-mix(in srgb, var(--primary-color) 40%, transparent); white-space: nowrap; } -`;function bn(e){!function(e){tn.get(e)?.pause()}(e)}function _n(e,t){const{show:o}=t.config;return o.name||o.value?R`
- ${e.series.map(e=>R`
+`;function Mn(e){!function(e){ln.get(e)?.pause()}(e)}function zn(e,t){const{show:a}=t.config;return a.name||a.value?Z`
+ ${e.series.map(e=>Z`
- ${o.name?R`${e.entity.name}`:W} - ${o.value?R`${e.entity.display}`:W} + ${a.name?Z`${e.entity.name}`:W} + ${a.value?Z`${e.entity.display}`:W}
`)} -
`:W}function xn(e,t){return"loading"===e.status?R`
${_t(t.hass,"chart_loading")}
`:"error"===e.status?R`
- ${_t(t.hass,"chart_error",{error:e.error??""})} -
`:e.series.every(e=>e.points.every(e=>null===e.v))?R`
${_t(t.hass,"chart_no_data")}
`:void 0}function wn(e,t,o=W,a=W){return R``:W}function Sn(e,t){return"loading"===e.status?Z`
${zt(t.hass,"chart_loading")}
`:"error"===e.status?Z`
+ ${zt(t.hass,"chart_error",{error:e.error??""})} +
`:e.series.every(e=>e.points.every(e=>null===e.v))?Z`
${zt(t.hass,"chart_no_data")}
`:void 0}function An(e,t,a=W,o=W){return Z` - + - ${o} + ${a} - ${a} + ${o} ${e} - `}const $n=r` - ${yn} + `}const En=r` + ${kn} .series-header { display: flex; flex-wrap: wrap; @@ -254,18 +254,18 @@ const gt=me(class extends fe{constructor(e){if(super(e),e.type!==he&&e.type!==de background: color-mix(in srgb, var(--card-background-color, #fff) 80%, transparent); white-space: nowrap; } -`;function kn(e,t,o){const{locale:a,grouping:n}=function(e){const t=e?.locale?.language??"en";switch(e?.locale?.number_format){case"system":return{locale:void 0,grouping:!0};case"comma_decimal":return{locale:"en-US",grouping:!0};case"decimal_comma":return{locale:"de",grouping:!0};case"space_comma":return{locale:"fr",grouping:!0};case"none":return{locale:"en-US",grouping:!1};default:return{locale:t,grouping:!0}}}(o),r=new Intl.NumberFormat(a,{minimumFractionDigits:t,maximumFractionDigits:t,useGrouping:n});let i=r.format(0===e?0:e);return 0===Number(e.toFixed(t))&&(i=r.format(0)),i}function Mn(e,t){return t?`${e} ${t}`:e}const zn=[[1,2,3,4,5,6,7,8,9],[1,2,5],[1]],An=[2,3,5,10,20,50,100],Sn=e=>Number(e.toPrecision(12)),En=e=>Sn(10**e),Cn=e=>Math.floor(Math.log10(e)+1e-9);function jn(e){return e.map(e=>{const t=e=>"number"==typeof e&&e<=0;return t(e.v)||t(e.min)||t(e.max)?{...e,v:t(e.v)?null:e.v,...void 0!==e.min?{min:t(e.min)?null:e.min}:{},...void 0!==e.max?{max:t(e.max)?null:e.max}:{}}:e})}function Nn(e,t,o,a=1){const n=[];for(let r=Cn(e);r<=Cn(t)+a;r+=a)for(const a of o){const o=Sn(a*10**r);o>=e*(1-1e-9)&&o<=t*(1+1e-9)&&n.push(o)}return n}function Ln(e,t,o){const a=Cn(e),n=Nn(En(a-2),En(a+2),t),r=o?n.filter(t=>t<=e*(1+1e-9)):n.filter(t=>t>=e*(1-1e-9));return o?r[r.length-1]:r[0]}function Tn(e,t){const o=Math.log10(e[0]),a=Math.log10(e[1]),[n,r]=t,i=a===o?0:(r-n)/(a-o);return e=>e>0?n+(Math.log10(e)-o)*i:NaN}const On=new WeakMap;function Fn(e){let t=On.get(e.host);if(!t){const o={width:e.host.clientWidth||400};t=o,On.set(e.host,o),"undefined"!=typeof ResizeObserver&&(o.observer=new ResizeObserver(t=>{const a=Math.round(t[t.length-1].contentRect.width);Math.round(a/70)!==Math.round(o.width/70)&&(o.width=a,e.requestUpdate())}),o.observer.observe(e.host))}return t.width}function Pn(e){On.get(e)?.observer?.disconnect(),On.delete(e)}function Dn(e){const t=To(e.raw);return Math.max(0,Fn(e)-32-(t.y&&"outside"===t.labels?40:0))}function Un(e,t,o,a,n=4){const r=To(e.raw),i="log"===r.scale&&"line"===e.raw.style,s=i?function(e,t,o){let[a,n]=e??[1,100];void 0!==t.min&&t.min>0&&(a=t.min),void 0!==t.max&&t.max>0&&(n=t.max),n>0||(n=a>0?10*a:100),a>0||(a=n/1e3);const r=void 0!==t.min&&t.min===a,i=void 0!==t.max&&t.max===n;n<=a&&(r?n=10*a:i?a=n/10:(a/=Math.sqrt(10),n*=Math.sqrt(10)));const s=Math.max(2,o+1),l=[...zn.map(e=>({mantissas:e,every:1})),...An.map(e=>({mantissas:[1],every:e}))];let c=l[l.length-1],d=[a,n],u=[];for(const f of l){const e=r?a:Ln(a,f.mantissas,!0),t=i?n:Ln(n,f.mantissas,!1),o=Nn(e,t,f.mantissas,f.every);if(c=f,d=[e,t],u=o,o.length<=s)break}const h=c.every>1?[1]:zn[0],p=9===c.mantissas.length?[]:Nn(d[0],d[1],h).filter(e=>!u.includes(e)).slice(0,200),m=u.map(e=>Math.max(0,-Cn(e)));return{domain:d,ticks:u,decimals:Math.max(0,...m),minor:p,tickDecimals:m}}(o,r,n):Do(o,r,n),l=Math.max(2,Math.min(8,Math.floor((a??Dn(e))/70))),{unit:c,ticks:d}=Vo(t,l,Zo(Yo(e.hass)));return{options:r,value:s,times:d,unit:c,range:t,scales:{x:$o([t.start,t.end],[0,cn]),y:(i?Tn:$o)(s.domain,[dn,0]),domain:s.domain}}}const Hn=e=>Math.round(1e4*e)/100+"%";function In(e,t,o){const a=e.ticks[t];return e.tickDecimals?function(e,t,o){if(Math.abs(e)<1e4)return kn(e,t,o);const a=o?.locale?.language??o?.language??"en";try{return new Intl.NumberFormat(a,{notation:"compact",maximumFractionDigits:1}).format(e)}catch{return new Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:1}).format(e)}}(a,e.tickDecimals[t],o.hass):kn(a,e.decimals,o.hass)}function Bn({axes:e,ctx:t,content:o,label:a,defs:n=W,overlay:r=W,hover:i,right:s,xLabel:l,yLabel:c,gestures:d,classes:u="",below:h=W}){const{options:p}=e,m="outside"===p.labels,f=p.y&&e.value.ticks.length>0,g=p.x&&e.times.length>0,v=f?function(e,t,o){const{scales:a,value:n}=e;return n.ticks.map((e,r)=>{const i=a.y(e)/dn;return R`.92?"bottom":""}" style="top:${Hn(i)}" - >${o?o(e):In(n,r,t)}`})}(e,t,c):[],y=f?R`
${v}
`:W,b=g?R`
${function(e,t,o){const{scales:a,range:n}=e,r=Zo(Yo(t.hass));return e.times.map(i=>{const s=a.x(i)/cn;return R`.95?"end":""}" style="left:${Hn(s)}" - >${o?o(i):e.label?e.label(i):ea(i,e.unit,n.end-n.start,t.hass,r)}`})}(e,t,l)}
`:W,_=f?R``:W,x=s&&p.y&&s.value.ticks.length>0?s:void 0,w=x?R``:W,$=x?R`
${m?w:W}${function(e,t){return e.value.ticks.map(o=>{const a=e.y(o)/dn;return R`.92?"bottom":""}" style="top:${Hn(a)}" - >${kn(o,e.value.decimals,t.hass)}`})}(x,t)}
`:W,k=`plot-wrap axes-${p.labels} ${f?"has-y":""} ${g?"has-x":""} ${x?"has-right":""} ${h===W?"":"has-overview"}`;return R`
- ${m&&f?R`
${_}${v}
`:W} +`;function Cn(e,t,a){const{locale:o,grouping:n}=function(e){const t=e?.locale?.language??"en";switch(e?.locale?.number_format){case"system":return{locale:void 0,grouping:!0};case"comma_decimal":return{locale:"en-US",grouping:!0};case"decimal_comma":return{locale:"de",grouping:!0};case"space_comma":return{locale:"fr",grouping:!0};case"none":return{locale:"en-US",grouping:!1};default:return{locale:t,grouping:!0}}}(a),r=new Intl.NumberFormat(o,{minimumFractionDigits:t,maximumFractionDigits:t,useGrouping:n});let i=r.format(0===e?0:e);return 0===Number(e.toFixed(t))&&(i=r.format(0)),i}function jn(e,t){return t?`${e} ${t}`:e}const Nn=[[1,2,3,4,5,6,7,8,9],[1,2,5],[1]],Ln=[2,3,5,10,20,50,100],Tn=e=>Number(e.toPrecision(12)),On=e=>Tn(10**e),Fn=e=>Math.floor(Math.log10(e)+1e-9);function Pn(e){return e.map(e=>{const t=e=>"number"==typeof e&&e<=0;return t(e.v)||t(e.min)||t(e.max)?{...e,v:t(e.v)?null:e.v,...void 0!==e.min?{min:t(e.min)?null:e.min}:{},...void 0!==e.max?{max:t(e.max)?null:e.max}:{}}:e})}function Dn(e,t,a,o=1){const n=[];for(let r=Fn(e);r<=Fn(t)+o;r+=o)for(const o of a){const a=Tn(o*10**r);a>=e*(1-1e-9)&&a<=t*(1+1e-9)&&n.push(a)}return n}function Un(e,t,a){const o=Fn(e),n=Dn(On(o-2),On(o+2),t),r=a?n.filter(t=>t<=e*(1+1e-9)):n.filter(t=>t>=e*(1-1e-9));return a?r[r.length-1]:r[0]}function Hn(e,t){const a=Math.log10(e[0]),o=Math.log10(e[1]),[n,r]=t,i=o===a?0:(r-n)/(o-a);return e=>e>0?n+(Math.log10(e)-a)*i:NaN}const In=new WeakMap;function Bn(e){let t=In.get(e.host);if(!t){const a={width:e.host.clientWidth||400};t=a,In.set(e.host,a),"undefined"!=typeof ResizeObserver&&(a.observer=new ResizeObserver(t=>{const o=Math.round(t[t.length-1].contentRect.width);Math.round(o/70)!==Math.round(a.width/70)&&(a.width=o,e.requestUpdate())}),a.observer.observe(e.host))}return t.width}function Zn(e){In.get(e)?.observer?.disconnect(),In.delete(e)}function qn(e){const t=Ua(e.raw);return Math.max(0,Bn(e)-32-(t.y&&"outside"===t.labels?40:0))}function Rn(e,t,a,o,n=4){const r=Ua(e.raw),i="log"===r.scale&&"line"===e.raw.style,s=i?function(e,t,a){let[o,n]=e??[1,100];void 0!==t.min&&t.min>0&&(o=t.min),void 0!==t.max&&t.max>0&&(n=t.max),n>0||(n=o>0?10*o:100),o>0||(o=n/1e3);const r=void 0!==t.min&&t.min===o,i=void 0!==t.max&&t.max===n;n<=o&&(r?n=10*o:i?o=n/10:(o/=Math.sqrt(10),n*=Math.sqrt(10)));const s=Math.max(2,a+1),l=[...Nn.map(e=>({mantissas:e,every:1})),...Ln.map(e=>({mantissas:[1],every:e}))];let c=l[l.length-1],d=[o,n],u=[];for(const f of l){const e=r?o:Un(o,f.mantissas,!0),t=i?n:Un(n,f.mantissas,!1),a=Dn(e,t,f.mantissas,f.every);if(c=f,d=[e,t],u=a,a.length<=s)break}const h=c.every>1?[1]:Nn[0],p=9===c.mantissas.length?[]:Dn(d[0],d[1],h).filter(e=>!u.includes(e)).slice(0,200),m=u.map(e=>Math.max(0,-Fn(e)));return{domain:d,ticks:u,decimals:Math.max(0,...m),minor:p,tickDecimals:m}}(a,r,n):Za(a,r,n),l=Math.max(2,Math.min(8,Math.floor((o??qn(e))/70))),{unit:c,ticks:d}=Ka(t,l,Ga(Qa(e.hass)));return{options:r,value:s,times:d,unit:c,range:t,scales:{x:Aa([t.start,t.end],[0,fn]),y:(i?Hn:Aa)(s.domain,[gn,0]),domain:s.domain}}}const Wn=e=>Math.round(1e4*e)/100+"%";function Vn(e,t,a){const o=e.ticks[t];return e.tickDecimals?function(e,t,a){if(Math.abs(e)<1e4)return Cn(e,t,a);const o=a?.locale?.language??a?.language??"en";try{return new Intl.NumberFormat(o,{notation:"compact",maximumFractionDigits:1}).format(e)}catch{return new Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:1}).format(e)}}(o,e.tickDecimals[t],a.hass):Cn(o,e.decimals,a.hass)}function Yn({axes:e,ctx:t,content:a,label:o,defs:n=W,overlay:r=W,hover:i,right:s,xLabel:l,yLabel:c,gestures:d,classes:u="",below:h=W}){const{options:p}=e,m="outside"===p.labels,f=p.y&&e.value.ticks.length>0,g=p.x&&e.times.length>0,v=f?function(e,t,a){const{scales:o,value:n}=e;return n.ticks.map((e,r)=>{const i=o.y(e)/gn;return Z`.92?"bottom":""}" style="top:${Wn(i)}" + >${a?a(e):Vn(n,r,t)}`})}(e,t,c):[],y=f?Z`
${v}
`:W,b=g?Z`
${function(e,t,a){const{scales:o,range:n}=e,r=Ga(Qa(t.hass));return e.times.map(i=>{const s=o.x(i)/fn;return Z`.95?"end":""}" style="left:${Wn(s)}" + >${a?a(i):e.label?e.label(i):ro(i,e.unit,n.end-n.start,t.hass,r)}`})}(e,t,l)}
`:W,_=f?Z``:W,x=s&&p.y&&s.value.ticks.length>0?s:void 0,w=x?Z``:W,$=x?Z`
${m?w:W}${function(e,t){return e.value.ticks.map(a=>{const o=e.y(a)/gn;return Z`.92?"bottom":""}" style="top:${Wn(o)}" + >${Cn(a,e.value.decimals,t.hass)}`})}(x,t)}
`:W,k=`plot-wrap axes-${p.labels} ${f?"has-y":""} ${g?"has-x":""} ${x?"has-right":""} ${h===W?"":"has-overview"}`;return Z`
+ ${m&&f?Z`
${_}${v}
`:W}
- ${wn(o,a,n,function(e){const{options:t,scales:o}=e;return Z` - ${t.horizontal?(e.value.minor??[]).map(e=>Z``):W} - ${t.horizontal?e.value.ticks.map(e=>Z``):W} - ${t.vertical?e.times.map(e=>Z``):W} - `}(e))} ${m?W:R`${y}${$}${b}`} + ${An(a,o,n,function(e){const{options:t,scales:a}=e;return q` + ${t.horizontal?(e.value.minor??[]).map(e=>q``):W} + ${t.horizontal?e.value.ticks.map(e=>q``):W} + ${t.vertical?e.times.map(e=>q``):W} + `}(e))} ${m?W:Z`${y}${$}${b}`} ${r}
- ${m?R`${$}${b}`:W} ${h} -
`}const Rn=r` + ${m?Z`${$}${b}`:W} ${h} +
`}const Gn=r` .plot-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); @@ -397,9 +397,9 @@ const gt=me(class extends fe{constructor(e){if(super(e),e.type!==he&&e.type!==de border-radius: 2px; background: color-mix(in srgb, var(--card-background-color, #fff) 70%, transparent); } -`,Zn=["above","over","hidden"];function qn(e){if(void 0!==e.compact&&"boolean"!=typeof e.compact)throw new Error('"compact" must be true or false');if(void 0!==e.header&&!Zn.includes(e.header))throw new Error(`"header" must be one of: ${Zn.join(", ")}`)}function Wn(e){return{compact:!0===e.compact,header:e.header??"above"}}function Vn(e,t,o){return R`
- ${"above"===e.header?t:W}${o} -
`}function Yn(e){return e===W?W:R`
e.stopPropagation()}>${e}
`}const Gn=r` +`,Xn=["above","over","hidden"];function Jn(e){if(void 0!==e.compact&&"boolean"!=typeof e.compact)throw new Error('"compact" must be true or false');if(void 0!==e.header&&!Xn.includes(e.header))throw new Error(`"header" must be one of: ${Xn.join(", ")}`)}function Kn(e){return{compact:!0===e.compact,header:e.header??"above"}}function Qn(e,t,a){return Z`
+ ${"above"===e.header?t:W}${a} +
`}function er(e){return e===W?W:Z`
e.stopPropagation()}>${e}
`}const tr=r` .header-over { position: absolute; top: 2px; @@ -452,26 +452,26 @@ const gt=me(class extends fe{constructor(e){if(super(e),e.type!==he&&e.type!==de .frame.compact .axes-outside .x-axis .axis-label { top: 3px; } -`,Xn=["none","normal","percent"];function Jn(e){const t=e.stack;if(void 0!==t&&!Xn.includes(t))throw new Error(`"stack" must be one of: ${Xn.join(", ")}`)}function Kn(e,t){let o=0,a=e.length;for(;o>1;e[n].t<=t?o=n+1:a=n}return 0===o?null:e[o-1].v}function Qn(e,t){const o=e[0]?.length??0,a=e.map(()=>[]);for(let n=0;ne+Math.abs(t[n]??0),0);o=t>0?100/t:0}let r=0,i=0;e.forEach((e,t)=>{const s=e[n];if(null==s)return void a[t].push(null);const l=s*o;l>=0?(a[t].push([r,r+l]),r+=l):(a[t].push([i,i+l]),i+=l)})}return a}function er(e){const t=e[0]?.length??0,o=[];for(let a=0;a=190?"left":e>.5?"pin-left":"pin-right"}const ar=3e3;function nr(e,t){if(0===e.length)return-1;let o=0,a=e.length-1;for(;o>1;e[n].t0&&t-e[o-1].t<=e[o].t-t?o-1:o}const rr=new WeakMap;function ir(e){return rr.get(e)?.t}function sr(e){const t=rr.get(e);void 0!==t?.timer&&clearTimeout(t.timer),rr.delete(e)}function lr(e){return!1!==e.tooltip}function cr(e){const t=e.tooltip;if(void 0!==t&&"boolean"!=typeof t)throw new Error('"tooltip" must be true or false')}function dr(e,t,o){const a=function(e){let t=rr.get(e);return t||(t={},rr.set(e,t)),t}(e.host),n=t=>{t!==a.t&&(a.t=t,e.requestUpdate())},r=()=>{void 0!==a.timer&&clearTimeout(a.timer),a.timer=void 0};return{move(e){r();const a=e.currentTarget.getBoundingClientRect(),i=a.width>0?Math.min(1,Math.max(0,(e.clientX-a.left)/a.width)):0;n(function(e,t){let o;for(const a of e){const e=nr(a,t);if(e<0)continue;const n=a[e].t;(void 0===o||Math.abs(n-t){a.timer=void 0,n(void 0)},ar):n(void 0)}}}const ur=e=>Math.round(1e4*e)/100+"%";function hr(e){const t=new Set(e.map(e=>e.entity.unit));return 1===t.size?[...t][0]:""}function pr(e,t,o,a){return R`
+`,ar=["none","normal","percent"];function or(e){const t=e.stack;if(void 0!==t&&!ar.includes(t))throw new Error(`"stack" must be one of: ${ar.join(", ")}`)}function nr(e,t){let a=0,o=e.length;for(;a>1;e[n].t<=t?a=n+1:o=n}return 0===a?null:e[a-1].v}function rr(e,t){const a=e[0]?.length??0,o=e.map(()=>[]);for(let n=0;ne+Math.abs(t[n]??0),0);a=t>0?100/t:0}let r=0,i=0;e.forEach((e,t)=>{const s=e[n];if(null==s)return void o[t].push(null);const l=s*a;l>=0?(o[t].push([r,r+l]),r+=l):(o[t].push([i,i+l]),i+=l)})}return o}function ir(e){const t=e[0]?.length??0,a=[];for(let o=0;o=190?"left":e>.5?"pin-left":"pin-right"}const cr=3e3;function dr(e,t){if(0===e.length)return-1;let a=0,o=e.length-1;for(;a>1;e[n].t0&&t-e[a-1].t<=e[a].t-t?a-1:a}const ur=new WeakMap;function hr(e){return ur.get(e)?.t}function pr(e){const t=ur.get(e);void 0!==t?.timer&&clearTimeout(t.timer),ur.delete(e)}function mr(e){return!1!==e.tooltip}function fr(e){const t=e.tooltip;if(void 0!==t&&"boolean"!=typeof t)throw new Error('"tooltip" must be true or false')}function gr(e,t,a){const o=function(e){let t=ur.get(e);return t||(t={},ur.set(e,t)),t}(e.host),n=t=>{t!==o.t&&(o.t=t,e.requestUpdate())},r=()=>{void 0!==o.timer&&clearTimeout(o.timer),o.timer=void 0};return{move(e){r();const o=e.currentTarget.getBoundingClientRect(),i=o.width>0?Math.min(1,Math.max(0,(e.clientX-o.left)/o.width)):0;n(function(e,t){let a;for(const o of e){const e=dr(o,t);if(e<0)continue;const n=o[e].t;(void 0===a||Math.abs(n-t){o.timer=void 0,n(void 0)},cr):n(void 0)}}}const vr=e=>Math.round(1e4*e)/100+"%";function yr(e){const t=new Set(e.map(e=>e.entity.unit));return 1===t.size?[...t][0]:""}function br(e,t,a,o){return Z`
- ${_t(e.hass,"chart_total")} - ${null===t?"—":Mn(kn(t,a,e.hass),o)} -
`}function mr(e,t,o,a,n,r={}){if(void 0===a)return W;const i=o.x(a)/cn;if(!(i>=0&&i<=1))return W;const s=or(i,n),l=t.map(e=>{const t=nr(e.points,a);return{s:e,p:t<0?void 0:e.points[t]}});return R``}function _r(e,t,a,o,n,r={}){if(void 0===o)return W;const i=a.x(o)/fn;if(!(i>=0&&i<=1))return W;const s=lr(i,n),l=t.map(e=>{const t=dr(e.points,o);return{s:e,p:t<0?void 0:e.points[t]}});return Z`