-1?e.split(".")[1].length:0;return o.minimumFractionDigits=i,o.maximumFractionDigits=i,o},$e=function(e,a,o,i){i=i||{},o=null==o?{}:o;var t=new Event(a,{bubbles:void 0===i.bubbles||i.bubbles,cancelable:Boolean(i.cancelable),composed:void 0===i.composed||i.composed});return t.detail=o,e.dispatchEvent(t),t};function xe(...e){const a=["severity"],o=e=>e&&"object"==typeof e,i={};return e.filter(e=>o(e)).forEach(e=>{Object.keys(e).forEach(t=>{const l=i[t],n=e[t];Array.isArray(l)&&Array.isArray(n)&&a.includes(t)?i[t]=[...n]:Array.isArray(l)&&Array.isArray(n)&&!a.includes(t)?i[t]=l.concat(n):o(l)&&o(n)?i[t]=xe(Object.assign({},l),n):i[t]=n})}),i}function Ae(e,a){return Object.values(e).filter(e=>a||!e.impedance_required)}var Me={version:"Verze",name:"Karta Bodymiscale",description:"Karta bodymiscale ukazuje údaje ohledně váhy a tělesných proporcí",not_available:"Bodymiscale není dostupná",toggle_power:"Více podrobností jako například BMI kCal zobrazit / skrýt"},je={ok:"MĚŘENÍ: OK",unknown:"STAV: neznámý",problem:"Problém",none:"Žádný",weight_unavailable:"Váha není dostupná",impedance_unavailable:"Impedance není dostupná",weight_unavailable_and_impedance_unavailable:"Váha a impedance není dostupná",weight_low:"nízká váha",impedance_low:"nízká impedance",weight_low_and_impedance_low:"nízká Váha a impedance",impedance_low_and_weight_low:"nízká Impedance a váha",weight_high:"vysoká váha",impedance_high:"vysoká impedance",weight_high_and_impedance_high:"vysoká Váha a impedance",weight_high_and_impedance_low:"vysoká váha, nízká impedance",weight_low_and_impedance_high:"nízká váha, vysoká impedance"},Pe={"weight: ":"Váha: ","impedance: ":"Impedance: ","height: ":"Výška: ","age: ":"Věk: ","gender: ":"Pohlaví: "},Se={male:"muž",female:"žena",unavailable:"nedostupná"},Ce={bmi:"BMI",bmi_label:"BMI popis",visceral_fat:"Viscerální tuk",body_fat:"Tělesný tuk",protein:"Protein",water:"Voda",muscle_mass:"Svalová hmota",bone_mass:"Kostní hmota",weight:"Váha",ideal:"Ideální",basal_metabolism:"Základní metabolismus",body_type:"Tělesný typ",metabolic_age:"Metabolický věk"},Ie={skinny:"štíhlý",balanced_skinny:"štíhlý-vyvážený",skinny_muscular:"štíhlý-svalnatý",balanced:"vyvážený",balanced_muscular:"vyvážený-svalnatý",lack_exercise:"nedostatek cvičení",thick_set:"pevné",obese:"obézní",overweight:"nadváha",underweight:"podváha",normal_or_healthy_weight:"normální či zdravá váha",slight_overweight:"lehká nadváha",moderate_obesity:"menší obezita",severe_obesity:"vážná obezita",massive_obesity:"velká obezita",unavailable:"nedostupná"},Oe={" years":" let"},Te={missing_entity:"Prosím definujte entitu.",missing_entity_bodymiscale:"Prosím definujte entitu bodymiscale."},Be={entity:"Prosím definujte účet váhy (povinné) !",image:"Obrázek pozadí (volitelné)",icons_body:"Cesta k ikonám (např. /local/images/bodyscoreIcon)",model:"Máte senzor impedance?",model1:"Aktivujte tuto funkci pro přesné měření složení těla.",model_aria_label_on:"Aktivovat impedanci",model_aria_label_off:"Deaktivovat impedanci",unit:"Převést kilogramy na libry",unit_aria_label_on:"Zapnout konverzi",unit_aria_label_off:"Vypnout konverzi",show_name:"Zobrazovat jméno účtu jako titulek ?",show_name_aria_label_on:"Zapnout zobrazování jména",show_name_aria_label_off:"Vypnout zobrazování jména",show_states:"Zobrazit stav ?",show_states_aria_label_on:"Zapnout zobrazování stavu",show_states_aria_label_off:"Vypnout zobrazování stavu",show_attributes:"Show hlavní osobní data (vpravo nahoře) ?",show_attributes_aria_label_on:"Zapnout zobrazování atributů",show_attributes_aria_label_off:"Vypnout zobrazování atributů",show_always_details:"Vždy zobrazovat detaily",show_always_details_aria_label_on:"Zapnout výchozí zobrazení podrobností",show_always_details_aria_label_off:"Vypnout výchozí zobrazení podrobností",show_toolbar:"Zobrazit pokročilá nastavení ?",show_toolbar_aria_label_on:"Zapnout zobrazení pokročilých nastavení",show_toolbar_aria_label_off:"Vypnout zobrazení pokročilých nastavení",show_body:"Nabízet další detaily měření",show_body1:"(spodní polovina - zobrazí se po klepnutí na ikonu šipky dolů) ?",show_body_aria_label_on:"Zapnout zobrazování tělesného skóre",show_body_aria_label_off:"Vypnout zobrazování tělesného skóre",show_buttons:"Povolit změnu účtu ?",show_buttons_aria_label_on:"Zapnout zobrazování tlačítek",show_buttons_aria_label_off:"Vypnout zobrazování tlačítek",header_options:"1. Možnosti záhlaví karty",body_options:"2. Více možností karty",code_only_note:"POZOR: Další možnosti jsou dostupné pouze v editor kódu."},Ee={from:"Od",icon_position:"Pozice ikony",label_below:"Štítek dole",left:"Vlevo",minmax_position:"Pozice Min/Max",name_position:"Pozice názvu",off:"Vypnuto",on:"Zapnuto",right:"Vpravo",severity_generator_help:"Odkaz na nápovědu k závažnosti",showabovelabels:"Zobrazit štítky nahoře",showbelowlabels:"Zobrazit štítky dole",to:"Do",value_position:"Pozice hodnoty"},Ne={color:"Barva",disabled:"Zakázáno",red:"Červená",pink:"Růžová",purple:"Fialová","deep-purple":"Tmavě fialová",indigo:"Indigo",blue:"Modrá","light-blue":"Světle modrá",cyan:"Azurová",teal:"Tyrkysová",green:"Zelená","light-green":"Světle zelená",lime:"Limetková",yellow:"Žlutá",amber:"Jantarová",orange:"Oranžová",orangered:"Červenooranžová","deep-orange":"Tmavě oranžová",brown:"Hnědá","light-grey":"Světle šedá",grey:"Šedá","dark-grey":"Tmavě šedá","blue-grey":"Modrošedá",darkgreen:"Tmavě zelená",royalblue:"Královská modrá",black:"Černá",white:"Bílá"},De={balanced:"vyvážený",good:"Dobrý",increased:"Zvýšený",insufficient:"Nedostatečný",high:"Vysoký",low:"Nízký",normal:"Normální",obese:"obézní",objective_achieved:"Cíl dosažen",objective_not_achieved:"Cíl nedosažen",overweight:"nadváha",underweight:"podváha",very_high:"Velmi vysoký",very_low:"Velmi nízký"},Ve={common:Me,states:je,attributes:Pe,attributes_value:Se,body:Ce,body_value:Ie,unit:Oe,error:Te,editor:Be,editor_body:Ee,color_select:Ne,label_below:De},qe=Object.freeze({__proto__:null,attributes:Pe,attributes_value:Se,body:Ce,body_value:Ie,color_select:Ne,common:Me,default:Ve,editor:Be,editor_body:Ee,error:Te,label_below:De,states:je,unit:Oe}),Le={version:"Version",name:"Bodymiscale kort",description:"Bodymiscale kortet viser dig din vægtrelaterede kropsstatus.",not_available:"Bodymiscale er ikke tilgængelig","Slå_power":"Flere detaljer såsom BMI kCal vis / skjul"},Ge={ok:"MÅLING: OK",unknown:"STATUS: ukendt",problem:"Problem",none:"Ingen",weight_unavailable:"Vægt ikke tilgængelig",impedance_unavailable:"Impedans ikke tilgængelig",weight_unavailable_and_impedance_unavailable:"Vægt og impedans ikke tilgængelig",weight_low:"Vægt lav",impedance_low:"Impedans lav",weight_low_and_impedance_low:"Vægt og impedans lav",impedance_low_and_weight_low:"Impedans og vægt lav",weight_high:"Vægt høj",impedance_high:"Impedans høj",weight_high_and_impedance_high:"Vægt og impedans høj",weight_high_and_impedance_low:"Vægt høj, impedans lav",weight_low_and_impedance_high:"Vægt lav, impedans høj"},Ue={"weight: ":"Vægt: ","impedance: ":"Impedans: ","height: ":"Højde: ","age: ":"Alder: ","gender: ":"Køn: "},Ke={male:"mand",female:"kvinde",unavailable:"ikke tilgængelig"},Re={bmi:"BMI",bmi_label:"BMI 'mærke'",visceral_fat:"Visceralt fedt",body_fat:"Kropsfedt",protein:"Protein",water:"Vand",muscle_mass:"Muskelmasse",bone_mass:"Knoglemasse",weight:"Vægt",ideal:"Ideel",basal_metabolism:"Basal stofskifte",body_type:"Kropstype",metabolic_age:"Metabolisk alder"},We={skinny:"Slank",balanced_skinny:"Balanceret slank",skinny_muscular:"Muskuløs slank",balanced:"Balanceret",balanced_muscular:"Balanceret muskuløs",lack_exercise:"Mangel på motion",thick_set:"Kraftig",obese:"Fed",overweight:"Overvægtig",underweight:"Undervægtig",normal_or_healthy_weight:"Normal eller sund vægt",slight_overweight:"Let overvægtig",moderate_obesity:"Moderat fedme",severe_obesity:"Alvorlig fedme",massive_obesity:"Massiv fedme",unavailable:"ikke tilgængelig"},He={" years":" år"},Ze={invalid_config:"Ugyldig konfiguration",missing_entity:"Definer venligst en entitet.",missing_entity_bodymiscale:"Definer venligst en bodymiscale entitet."},Fe={configuration:"Konfiguration",customization:"Tilpasning",entity:"Vælg venligst en konto på vægten (obligatorisk)!",image:"Baggrundsbillede (valgfrit)",icons_body:"Ikon sti (f.eks., /local/images/bodyscoreIcon)",model:"Har du en impedans sensor?",model1:"Aktiver denne funktion for præcise kropssammensætnings målinger.",model_aria_label_on:"Aktiver impedans",model_aria_label_off:"Deaktiver impedans",unit:"Omregn kg til lbs",unit_aria_label_on:"Slå konverteringen til",unit_aria_label_off:"Slå konverteringen fra",theme:"Konfigurer det tema du bruger.",theme_aria_label_on:"Slå lyst tema til",theme_aria_label_off:"Slå mørkt tema fra",show_name:"Vis kontonavn som titel?",show_name_aria_label_on:"Slå visning af navn til",show_name_aria_label_off:"Slå visning af navn fra",show_states:"Vis tilstand?",show_states_aria_label_on:"Slå visning af tilstand til",show_states_aria_label_off:"Slå visning af tilstand fra",show_attributes:"Vis personlige stamdata (øverst til højre)?",show_attributes_aria_label_on:"Slå visning af egenskaber til",show_attributes_aria_label_off:"Slå visning af egenskaber fra",show_always_details:"Vis altid detaljer",show_always_details_aria_label_on:"Slå default detail view til",show_always_details_aria_label_off:"Slå default detail view fra",show_toolbar:"Vis avancerede muligheder?",show_toolbar_aria_label_on:"Slå visning af avancerede muligheder til",show_toolbar_aria_label_off:"Slå visning af avancerede muligheder fra",show_body:"Tilbyd yderligere målingsdetaljer",show_body1:"(Nederste halvdel - vises af pil ned)?",show_body_aria_label_on:"Slå visning af Kropsscore til",show_body_aria_label_off:"Slå visning af Kropsscore fra",show_buttons:"Tillad kontoskift?",show_buttons_aria_label_on:"Slå visning af knapper til",show_buttons_aria_label_off:"Slå visning af knapper fra",header_options:"1. Indstillinger for kortoverskrift",body_options:"2. Flere kort indstillinger",code_only_note:"OBS! Yderligere muligheder er kun tilgængelig i kode editor."},Xe={from:"Fra",icon_position:"Ikon position",label_below:"'Mærke' nedenunder",left:"Venstre",minmax_position:"Min/Max position",name_position:"Navneposition",off:"fra",on:"til",right:"Højre",severity_generator_help:"Link til hjælp om alvorlighedsgraden",showabovelabels:"Vis 'mærke' ovenover",showbelowlabels:"Vis 'mærke' underneden",to:"To",value_position:"Position af værdi"},Je={color:"Farve",disabled:"Deaktiveret",red:"Rød",pink:"Pink",purple:"Lilla","deep-purple":"Mørkelilla",indigo:"Indigo",blue:"Blå","light-blue":"Lyseblå",cyan:"Cyan",teal:"Blågrøn",green:"Grøn","light-green":"Lysegrøn",lime:"Lime",yellow:"Gul",amber:"Ravgul",orange:"Orange",orangered:"Rødorange","deep-orange":"Dyb orange",brown:"Brun","light-grey":"Lysegrå",grey:"Grå","dark-grey":"Mørkegrå","blue-grey":"Blågrå",darkgreen:"Mørkegrøn",royalblue:"Kongeblå",black:"Sort",white:"Hvid"},Ye={balanced:"Balanceret",good:"God",increased:"Øget",insufficient:"Utilstrækkelig",high:"Høj",low:"Lav",normal:"Normal",obese:"Fed",objective_achieved:"Mål nået",objective_not_achieved:"Mål ikke nået",overweight:"Overvægtig",underweight:"Undervægtig",very_high:"Meget høj",very_low:"Meget lav"},Qe={common:Le,states:Ge,attributes:Ue,attributes_value:Ke,body:Re,body_value:We,unit:He,error:Ze,editor:Fe,editor_body:Xe,color_select:Je,label_below:Ye},ea=Object.freeze({__proto__:null,attributes:Ue,attributes_value:Ke,body:Re,body_value:We,color_select:Je,common:Le,default:Qe,editor:Fe,editor_body:Xe,error:Ze,label_below:Ye,states:Ge,unit:He}),aa={version:"Version",name:"Bodymiscale Karte",description:"Die bodymiscale Karte zeigt Ihren gewichtsmäßigen Körperstatus an.",not_available:"Bodymiscale ist momenatan nicht verfügbar",toggle_power:"Weitere Details wie BMI kCal anzeigen / ausblenden"},oa={ok:"MESSUNG: OK",unknown:"STATUS: unbekannt",problem:"Problem",none:"keine",weight_unavailable:"Gewichtsmessung nicht verfügbar",impedance_unavailable:"Bioelektrische Impedanzmessung (Körperzusammensetzung) nicht verfügbar",weight_unavailable_and_impedance_unavailable:"Gewichts- und bioelektrische Impedanzmessung (Körperzusammensetzung) nicht verfügbar."},ia={"weight: ":"Gewicht: ","impedance: ":"Zusammensetzung: ","height: ":"Körpergröße: ","age: ":"Alter: ","gender: ":"Geschlecht: "},ta={male:"männl.",female:"weibl.",unavailable:"Nicht verfügbar"},la={bmi:"BMI",bmi_label:"BMI Klassifikation",visceral_fat:"Bauchfett",body_fat:"Körperfett",protein:"Protein",water:"Wasser",muscle_mass:"Muskelmasse",bone_mass:"Knochenmasse",weight:"Gewicht",ideal:"Idealgewicht",basal_metabolism:"Grundumsatz",body_type:"Körperbau",metabolic_age:"stoffwechselbedingtes Körperalter"},na={skinny:"schlank",balanced_skinny:"ausgeglichen schlank",skinny_muscular:"muskulös schlank",balanced:"ausgewogen",balanced_muscular:"ausgewogen muskulös",lack_exercise:"Bewegungsmangel",thick_set:"stämmig",obese:"fettleibig",overweight:"Übergewicht",underweight:"Untergewicht",normal_or_healthy_weight:"Normal - gesundes Gewicht",slight_overweight:"leichtes Übergewicht",moderate_obesity:"moderate Fettleibigkeit",severe_obesity:"schwere Fettleibigkeit",massive_obesity:"massive Fettleibigkeit",unavailable:"Nicht verfügbar"},ra={" years":" Jahre"},sa={missing_entity:"Bitte definieren Sie eine Entität in der Konfiguration.",missing_entity_bodymiscale:'Bitte definieren Sie "bodymiscale" als Entität in der Konfiguration.'},da={entity:"Bitte ein Konto auf der Waage wählen (erforderlich)!",image:"Hintergrundbild (optional)",icons_body:"Pfad zu den Icons (z.B. /local/images/bodyscoreIcon)",model:"Haben Sie einen Impedanzsensor?",model1:"Aktivieren Sie diese Funktion für genaue Körperzusammensetzungsmessungen.",model_aria_label_on:"Impedanz aktivieren",model_aria_label_off:"Impedanz deaktivieren",unit:"kg in lbs umrechnen",unit_aria_label_on:"Konvertierung einschalten",unit_aria_label_off:"Umwandlung deaktivieren",show_name:"Namen des Konto als Titel anzeigen?",show_name_aria_label_on:"Namensanzeige einschalten",show_name_aria_label_off:"Namesanzeige ausschalten",show_states:"Status anzeigen (Symbole links oben)?",show_states_aria_label_on:"Statusanzeige einschalten",show_states_aria_label_off:"Statusanzeige ausschalten",show_attributes:"Persönliche Stammdaten anzeigen (rechts oben)?",show_attributes_aria_label_on:"Basis Daten einblenden (rechts oben) einschalten",show_attributes_aria_label_off:"Basis Daten einblenden (rechts oben) ausschalten",show_always_details:"Details immer anzeigen",show_always_details_aria_label_on:"Schalten Sie die standardmäßige Detailansicht ein",show_always_details_aria_label_off:"Schaltet die standardmäßige Detailansicht aus",show_toolbar:"Fortgeschrittene Optionen anzeigen ?",show_toolbar_aria_label_on:"Symbolleiste anzeigen einschalten",show_toolbar_aria_label_off:"Symbolleiste anzeigen ausschalten",show_body:"Weitere Messergebnisse anbieten",show_body1:"(untere Hälfte - per Chevron-Symbol einblenden)?",show_body_aria_label_on:"Körperwertanzeige einschalten",show_body_aria_label_off:"Körperwertanzeige ausschalten",show_buttons:"Kontowechsel erlauben?",show_buttons_aria_label_on:"Schaltfläche anzeigen einschalten",show_buttons_aria_label_off:"Schaltfläche anzeigen ausschalten",header_options:"1. Kartenkopf Optionen",body_options:"2. mehr Kartenoptionen",code_only_note:"ACHTUNG: Weitere Optionen sind nur im Code Editor verfügbar."},ca={from:"Von",icon_position:"Symbolposition",label_below:"Beschriftung darunter",left:"Links",minmax_position:"Min/Max Position",name_position:"Name Position",off:"Aus",on:"Ein",right:"Rechts",severity_generator_help:"Link zur Schweregrad-Hilfe",showabovelabels:"Labels oben anzeigen",showbelowlabels:"Labels unten anzeigen",target:"Ziel",to:"Zu",value_position:"Wert Position"},_a={color:"Farbe",disabled:"Deaktiviert",red:"Rot",pink:"Rosa",purple:"Lila","deep-purple":"Dunkellila",indigo:"Indigo",blue:"Blau","light-blue":"Hellblau",cyan:"Cyan",teal:"Türkis",green:"Grün","light-green":"Hellgrün",lime:"Limette",yellow:"Gelb",amber:"Bernstein",orange:"Orange",orangered:"Rotorange","deep-orange":"Dunkelorange",brown:"Braun","light-grey":"Hellgrau",grey:"Grau","dark-grey":"Dunkelgrau","blue-grey":"Blaugrau",darkgreen:"Dunkelgrün",royalblue:"Königsblau",black:"Schwarz",white:"Weiß"},ba={balanced:"ausgewogen",good:"Gut",increased:"Erhöht",insufficient:"Unzureichend",high:"Hoch",low:"Niedrig",normal:"Normal",obese:"fettleibig",objective_achieved:"Ziel erreicht",objective_not_achieved:"Ziel nicht erreicht",overweight:"Übergewicht",underweight:"Untergewicht",very_high:"Sehr hoch",very_low:"Sehr niedrig"},ha={common:aa,states:oa,attributes:ia,attributes_value:ta,body:la,body_value:na,unit:ra,error:sa,editor:da,editor_body:ca,color_select:_a,label_below:ba},ma=Object.freeze({__proto__:null,attributes:ia,attributes_value:ta,body:la,body_value:na,color_select:_a,common:aa,default:ha,editor:da,editor_body:ca,error:sa,label_below:ba,states:oa,unit:ra}),ua={version:"Version",name:"Bodymiscale Card",description:"The bodymiscale card shows you your weight wise / related body status.",not_available:"Bodymiscale is not available",toggle_power:"More details like BMI kCal show / hide"},ga={ok:"MEASUREMENT: OK",unknown:"STATE: unknown",problem:"Problem",none:"None",weight_unavailable:"Weight unavailable",impedance_unavailable:"Impedance unavailable",weight_unavailable_and_impedance_unavailable:"Weight and impedance unavailable",weight_low:"Weight low",impedance_low:"Impedance low",weight_low_and_impedance_low:"Weight and impedance low",impedance_low_and_weight_low:"Impedance and weight low",weight_high:"Weight high",impedance_high:"Impedance high",weight_high_and_impedance_high:"Weight and impedance high",weight_high_and_impedance_low:"Weight high, impedance low",weight_low_and_impedance_high:"Weight low, impedance high"},pa={"weight: ":"Weight: ","impedance: ":"Impedance: ","height: ":"Height: ","age: ":"Age: ","gender: ":"Gender: "},wa={male:"male",female:"female",unavailable:"unavailable"},ya={bmi:"BMI",bmi_label:"BMI label",visceral_fat:"Visceral fat",body_fat:"Body fat",protein:"Protein",water:"Water",muscle_mass:"Muscle mass",bone_mass:"Bone mass",weight:"Weight",ideal:"Ideal",basal_metabolism:"Basal metabolism",body_type:"Body type",metabolic_age:"Metabolic age"},fa={skinny:"Skinny",balanced_skinny:"Balanced-skinny",skinny_muscular:"Skinny-muscular",balanced:"Balanced",balanced_muscular:"Balanced-muscular",lack_exercise:"Lack-exercise",thick_set:"Thick-set",obese:"Obese",overweight:"Overweight",underweight:"Underweight",normal_or_healthy_weight:"Normal or Healthy Weight",slight_overweight:"Slight overweight",moderate_obesity:"Moderate obesity",severe_obesity:"Severe obesity",massive_obesity:"Massive obesity",unavailable:"unavailable"},va={" years":" years"},ka={invalid_config:"Invalid configuration",missing_entity:"Please define an entity.",missing_entity_bodymiscale:"Please define a bodymiscale entity."},za={configuration:"Configuration",customization:"Customization",entity:"Please select an account on the scale (required)!",image:"Background image (optional)",icons_body:"Icons path (e.g., /local/images/bodyscoreIcon)",model:"Do you have an impedance sensor?",model1:"Enable this feature for accurate body composition measurements.",model_aria_label_on:"Enable impedance",model_aria_label_off:"Disable impedance",unit:"Convert kg to lbs",unit_aria_label_on:"Toggle the conversion on",unit_aria_label_off:"Toggle the conversion off",theme:"Configure the theme you use.",theme_aria_label_on:"Toggle theme light on",theme_aria_label_off:"Toggle theme dark off",show_name:"Show the name of the account as title?",show_name_aria_label_on:"Toggle display name on",show_name_aria_label_off:"Toggle display name off",show_states:"Show State?",show_states_aria_label_on:"Toggle display state on",show_states_aria_label_off:"Toggle display state off",show_attributes:"Show personal master data (top right)?",show_attributes_aria_label_on:"Toggle display attributes on",show_attributes_aria_label_off:"Toggle display attributes off",show_always_details:"Always show details",show_always_details_aria_label_on:"Toggle default detail view on",show_always_details_aria_label_off:"Toggle default detail view off",show_toolbar:"Show advanced options?",show_toolbar_aria_label_on:"Toggle display advanced options on",show_toolbar_aria_label_off:"Toggle display advanced options off",show_body:"Offer further measurement details",show_body1:"(lower half - icon chevron down will show those)?",show_body_aria_label_on:"Toggle display body score on",show_body_aria_label_off:"Toggle display body score off",show_buttons:"Allow account switch?",show_buttons_aria_label_on:"Toggle display buttons on",show_buttons_aria_label_off:"Toggle display buttons off",header_options:"1. Card header options",body_options:"2. More card options",code_only_note:"ATTENTION: Additional options are only available in the code editor."},$a={from:"From",icon_position:"Icon Position",label_below:"Label below",left:"Left",minmax_position:"Min/Max Position",name_position:"Name Position",off:"Off",on:"On",right:"Right",severity_generator_help:"Link to Severity Help",showabovelabels:"Show labels above",showbelowlabels:"Show labels below",to:"To",value_position:"Value Position"},xa={color:"Color",disabled:"Disabled",red:"Red",pink:"Pink",purple:"Purple","deep-purple":"Deep purple",indigo:"Indigo",blue:"Blue","light-blue":"Light blue",cyan:"Cyan",teal:"Teal",green:"Green","light-green":"Light green",lime:"Lime",yellow:"Yellow",amber:"Amber",orange:"Orange",orangered:"Red orange","deep-orange":"Deep orange",brown:"Brown","light-grey":"Light grey",grey:"Grey","dark-grey":"Dark grey","blue-grey":"Blue grey",darkgreen:"Dark green",royalblue:"Royal blue",black:"Black",white:"White"},Aa={balanced:"Balanced",good:"Good",increased:"Increased",insufficient:"Insufficient",high:"High",low:"Low",normal:"Normal",obese:"Obese",objective_achieved:"Objective achieved",objective_not_achieved:"Objective not achieved",overweight:"Overweight",underweight:"Underweight",very_high:"Very high",very_low:"Very low"},Ma={common:ua,states:ga,attributes:pa,attributes_value:wa,body:ya,body_value:fa,unit:va,error:ka,editor:za,editor_body:$a,color_select:xa,label_below:Aa},ja=Object.freeze({__proto__:null,attributes:pa,attributes_value:wa,body:ya,body_value:fa,color_select:xa,common:ua,default:Ma,editor:za,editor_body:$a,error:ka,label_below:Aa,states:ga,unit:va}),Pa={version:"Versión",name:"Tarjeta Bodymiscale",description:"La tarjeta bodymiscale muestra el estado de tu cuerpo en relación a tu peso.",not_available:"Bodymiscale no está disponible",toggle_power:"Mostrar / ocultar más detalles como IMC,kCal"},Sa={ok:"MEDICIÓN: OK",unknown:"ESTADO: desconocido",problem:"Problema",none:"Ninguno",weight_unavailable:"Peso no disponible",impedance_unavailable:"Impedancia no disponible",weight_unavailable_and_impedance_unavailable:"Peso e impedancia no disponibles",weight_low:"Peso bajo",impedance_low:"Impedancia baja",weight_low_and_impedance_low:"Peso e impedancia bajos",impedance_low_and_weight_low:"Impedancia y peso bajos",weight_high:"Peso alto",impedance_high:"Impedancia alta",weight_high_and_impedance_high:"Peso e impedancia altos",weight_high_and_impedance_low:"Peso alto, impedancia baja",weight_low_and_impedance_high:"Peso bajo, impedancia alta"},Ca={"weight: ":"Peso: ","impedance: ":"Impedancia: ","height: ":"Altura: ","age: ":"Edad: ","gender: ":"Sexo: "},Ia={male:"masculino",female:"femenino",unavailable:"no disponible"},Oa={bmi:"IMC",bmi_label:"Etiqueta IMC",visceral_fat:"Grasa visceral",body_fat:"Grasa corporal",protein:"Proteína",water:"Agua",muscle_mass:"Masa muscular",bone_mass:"Masa ósea",weight:"Peso",ideal:"Ideal",basal_metabolism:"Metabolismo basal",body_type:"Tipo de cuerpo",metabolic_age:"Edad metabólica"},Ta={skinny:"Flaco",balanced_skinny:"Flaco equilibrado",skinny_muscular:"Flaco musculoso",balanced:"Equilibrado",balanced_muscular:"Musculuso equilibrado",lack_exercise:"Falto de ejercicio",thick_set:"Rechoncho",obese:"Obeso",overweight:"Sobrepeso",underweight:"Por debajo del peso normal",normal_or_healthy_weight:"Normal",slight_overweight:"Ligero sobrepeso",moderate_obesity:"Obesidad moderada",severe_obesity:"Obesidad severa",massive_obesity:"Obesidad masiva",unavailable:"no disponible"},Ba={" years":" años"},Ea={missing_entity:"Por favor, defina una entidad.",missing_entity_bodymiscale:"Por favor, defina una entidad bodymiscale."},Na={entity:"Por favor, escoja una cuenta de la bácula (necesario)!",image:"Imagen de fondo (opcional)",icons_body:"Ruta de los iconos (ej: /local/images/bodyscoreIcon)",model:"¿Tiene un sensor de impedancia?",model1:"Active esta función para mediciones precisas de la composición corporal.",model_aria_label_on:"Activar impedancia",model_aria_label_off:"Desactivar impedancia",unit:"Convertir kg a lbs",unit_aria_label_on:"Activar conversión",unit_aria_label_off:"Desactivar conversión",show_name:"¿Mostrar el nombre de la cuenta como título?",show_name_aria_label_on:"Mostrar nombre como título",show_name_aria_label_off:"Ocultar nombre como título",show_states:"¿Mostrar estado de la báscula?",show_states_aria_label_on:"Mostrar estado de la báscula",show_states_aria_label_off:"Ocultar estado de la báscula",show_attributes:"¿Mostrar datos de perfil personal (esquina superior derecha)?",show_attributes_aria_label_on:"Mostrar atributos",show_attributes_aria_label_off:"Ocultar atributos",show_always_details:"Mostrar siempre los detalles",show_always_details_aria_label_on:"Mostrar la vista de detalles predeterminada",show_always_details_aria_label_off:"Ocultar la vista de detalles predeterminada",show_toolbar:"¿Mostrar opciones avanzadas?",show_toolbar_aria_label_on:"Mostrar opciones avanzadas",show_toolbar_aria_label_off:"Ocultar opciones avanzadas",show_body:"Mostrar más detalles de la medición",show_body1:"¿(parte inferior - pulsar en la fecha para mostrar)?",show_body_aria_label_on:"Mostrar puntuación corporal",show_body_aria_label_off:"Ocultar puntuación corporal",show_buttons:"¿Permitir cambio de cuenta?",show_buttons_aria_label_on:"Mostrar botones de cuenta",show_buttons_aria_label_off:"Ocultar botones de cuenta",header_options:"1. Opciones de cabecera de tarjeta",body_options:"2. Más opciones de tarjeta",code_only_note:"ATENCIÓN: Opciones adicionales sólo están disponibles en el editor de código."},Da={from:"De",icon_position:"Posición del ícono",label_below:"Etiqueta debajo",left:"A la izquierda",minmax_position:"Posición Mín/Máx",name_position:"Posición del nombre",off:"Apagar",on:"Encendido",right:"A la derecha",severity_generator_help:"Enlace a la ayuda de severidad",showabovelabels:"Mostrar etiquetas arriba",showbelowlabels:"Mostrar etiquetas abajo",target:"Objetivo",to:"A",value_position:"Posición del valor"},Va={color:"Color",disabled:"Deshabilitado",red:"Rojo",pink:"Rosa",purple:"Púrpura","deep-purple":"Púrpura oscuro",indigo:"Índigo",blue:"Azul","light-blue":"Azul claro",cyan:"Cian",teal:"Azul verdoso",green:"Verde","light-green":"Verde claro",lime:"Limón",yellow:"Amarillo",amber:"Ámbar",orange:"Naranja",orangered:"Naranja rojizo","deep-orange":"Naranja oscuro",brown:"Marrón","light-grey":"Gris claro",grey:"Gris","dark-grey":"Gris oscuro","blue-grey":"Gris azulado",darkgreen:"Verde oscuro",royalblue:"Azul real",black:"Negro",white:"Blanco"},qa={balanced:"Equilibrado",good:"Bueno",increased:"Aumentado",insufficient:"Insuficiente",high:"Alto",low:"Bajo",normal:"Normal",obese:"Obeso",objective_achieved:"Objetivo alcanzado",objective_not_achieved:"Objetivo no alcanzado",overweight:"Sobrepeso",underweight:"Por debajo del peso normal",very_high:"Muy alto",very_low:"Muy bajo"},La={common:Pa,states:Sa,attributes:Ca,attributes_value:Ia,body:Oa,body_value:Ta,unit:Ba,error:Ea,editor:Na,editor_body:Da,color_select:Va,label_below:qa},Ga=Object.freeze({__proto__:null,attributes:Ca,attributes_value:Ia,body:Oa,body_value:Ta,color_select:Va,common:Pa,default:La,editor:Na,editor_body:Da,error:Ea,label_below:qa,states:Sa,unit:Ba}),Ua={version:"Versió",name:"Targeta Bodymiscale",description:"La targeta Bodymiscale mostra l'estat del teu cos en relació amb el teu pes.",not_available:"Bodymiscale no està disponible",toggle_power:"Mostra / amaga més detalls com IMC, kCal"},Ka={ok:"MESURA: OK",unknown:"ESTAT: desconegut",problem:"Problema",none:"Cap",weight_unavailable:"Pes no disponible",impedance_unavailable:"Impedància no disponible",weight_unavailable_and_impedance_unavailable:"Pes i impedància no disponibles",weight_low:"Pes baix",impedance_low:"Impedància baixa",weight_low_and_impedance_low:"Pes i impedància baixos",impedance_low_and_weight_low:"Impedància i pes baixos",weight_high:"Pes alt",impedance_high:"Impedància alta",weight_high_and_impedance_high:"Pes i impedància alts",weight_high_and_impedance_low:"Pes alt, impedància baixa",weight_low_and_impedance_high:"Pes baix, impedància alta"},Ra={"weight: ":"Pes: ","impedance: ":"Impedància: ","height: ":"Alçada: ","age: ":"Edat: ","gender: ":"Sexe: "},Wa={male:"masculí",female:"femení",unavailable:"no disponible"},Ha={bmi:"IMC",bmi_label:"Etiqueta IMC",visceral_fat:"Greix visceral",body_fat:"Greix corporal",protein:"Proteïna",water:"Aigua",muscle_mass:"Massa muscular",bone_mass:"Massa òssia",weight:"Pes",ideal:"Ideal",basal_metabolism:"Metabolisme basal",body_type:"Tipus de cos",metabolic_age:"Edat metabòlica"},Za={skinny:"Prim",balanced_skinny:"Prim equilibrat",skinny_muscular:"Prim musculós",balanced:"Equilibrat",balanced_muscular:"Musculós equilibrat",lack_exercise:"Manca d'exercici",thick_set:"Corpulent",obese:"Obès",overweight:"Sobrepès",underweight:"Per sota del pes normal",normal_or_healthy_weight:"Normal",slight_overweight:"Lleuger sobrepès",moderate_obesity:"Obesitat moderada",severe_obesity:"Obesitat severa",massive_obesity:"Obesitat massiva",unavailable:"no disponible"},Fa={" years":" anys"},Xa={invalid_config:"Configuració no vàlida",missing_entity:"Si us plau, definiu una entitat.",missing_entity_bodymiscale:"Si us plau, definiu una entitat Bodymiscale."},Ja={configuration:"Configuració",customization:"Personalització",entity:"Si us plau, trieu un compte de la bàscula (necessari)!",image:"Imatge de fons (opcional)",icons_body:"Camí de les icones (ex: /local/images/bodyscoreIcon)",model:"Teniu un sensor d'impedància?",model1:"Activeu aquesta funció per a mesures precises de la composició corporal.",model_aria_label_on:"Activar impedància",model_aria_label_off:"Desactivar impedància",unit:"Converteix kg a lbs",unit_aria_label_on:"Activar conversió",unit_aria_label_off:"Desactivar conversió",theme:"Configureu el tema que utilitzeu.",theme_aria_label_on:"Activa el tema clar",theme_aria_label_off:"Desactiva el tema fosc",show_name:"Mostrar el nom del compte com a títol?",show_name_aria_label_on:"Mostrar nom com a títol",show_name_aria_label_off:"Amagar nom com a títol",show_states:"Mostrar l'estat de la bàscula?",show_states_aria_label_on:"Mostrar estat de la bàscula",show_states_aria_label_off:"Amagar estat de la bàscula",show_attributes:"Mostrar dades de perfil personal (cantonada superior dreta)?",show_attributes_aria_label_on:"Mostrar atributs",show_attributes_aria_label_off:"Amagar atributs",show_always_details:"Mostrar sempre els detalls",show_always_details_aria_label_on:"Mostrar la vista de detalls predeterminada",show_always_details_aria_label_off:"Amagar la vista de detalls predeterminada",show_toolbar:"Mostrar opcions avançades?",show_toolbar_aria_label_on:"Mostrar opcions avançades",show_toolbar_aria_label_off:"Amagar opcions avançades",show_body:"Mostrar més detalls de la mesura",show_body1:"(part inferior - prémer la data per mostrar)?",show_body_aria_label_on:"Mostrar puntuació corporal",show_body_aria_label_off:"Amagar puntuació corporal",show_buttons:"Permetre canvi de compte?",show_buttons_aria_label_on:"Mostrar botons de compte",show_buttons_aria_label_off:"Amagar botons de compte",header_options:"1. Opcions de capçalera de targeta",body_options:"2. Més opcions de targeta",code_only_note:"ATENCIÓ: Opcions addicionals només estan disponibles a l'editor de codi."},Ya={from:"De",icon_position:"Posició de la icona",label_below:"Etiqueta a sota",left:"A l'esquerra",minmax_position:"Posició Mín/Màx",name_position:"Posició del nom",off:"Apagar",on:"Activat",right:"A la dreta",severity_generator_help:"Enllaç a l'ajuda de severitat",showabovelabels:"Mostrar etiquetes a sobre",showbelowlabels:"Mostrar etiquetes a sota",to:"A",value_position:"Posició del valor"},Qa={color:"Color",disabled:"Deshabilitat",red:"Vermell",pink:"Rosa",purple:"Porpra","deep-purple":"Porpra fosc",indigo:"Índigo",blue:"Blau","light-blue":"Blau clar",cyan:"Cian",teal:"Blau verdós",green:"Verd","light-green":"Verd clar",lime:"Llimona",yellow:"Groc",amber:"Ambre",orange:"Taronja",orangered:"Taronja vermellós","deep-orange":"Taronja fosc",brown:"Marró","light-grey":"Gris clar",grey:"Gris","dark-grey":"Gris fosc","blue-grey":"Gris blavós",darkgreen:"Verd fosc",royalblue:"Blau reial",black:"Negre",white:"Blanc"},eo={balanced:"Equilibrat",good:"Bo",increased:"Augmentat",insufficient:"Insuficient",high:"Alt",low:"Baix",normal:"Normal",obese:"Obès",objective_achieved:"Objectiu assolit",objective_not_achieved:"Objectiu no assolit",overweight:"Sobrepès",underweight:"Per sota del pes normal",very_high:"Molt alt",very_low:"Molt baix"},ao={common:Ua,states:Ka,attributes:Ra,attributes_value:Wa,body:Ha,body_value:Za,unit:Fa,error:Xa,editor:Ja,editor_body:Ya,color_select:Qa,label_below:eo},oo={version:"Version",name:"Carte Bodymiscale",description:"La carte bodymiscale corporelle vous indique votre poids et votre état corporel.",not_available:"Bodymiscale n'est pas disponible",toggle_power:"Plus de détails comme IMC kCal afficher / cacher"},io={ok:"MESURE : OK",unknown:"ÉTAT : inconnu",problem:"Problème",none:"Aucun",weight_unavailable:"Poids indisponible",impedance_unavailable:"Impédance indisponible",weight_unavailable_and_impedance_unavailable:"Poids et impédance indisponibles",weight_low:"Poids faible",impedance_low:"Impédance faible",weight_low_and_impedance_low:"Poids et impédance faibles",impedance_low_and_weight_low:"Impédance et poids faibles",weight_high:"Poids élevé",impedance_high:"Impédance élevée",weight_high_and_impedance_high:"Poids et impédance élevés",weight_high_and_impedance_low:"Poids élevé, impédance faible",weight_low_and_impedance_high:"Poids faible, impédance élevée"},to={"weight: ":"Poids: ","impedance: ":"Impédance: ","height: ":"Taille: ","age: ":"Age: ","gender: ":"Genre: "},lo={male:"homme",female:"femme",unavailable:"indisponible"},no={bmi:"IMC",bmi_label:"Étiquette IMC",visceral_fat:"Graisse viscérale",body_fat:"Graisse corporelle",protein:"Protéine",water:"Eau",muscle_mass:"Masse musculaire",bone_mass:"Masse osseuse",weight:"Poids",ideal:"Poids idéal",basal_metabolism:"Métabolisme de base",body_type:"Corpulence",metabolic_age:"Age corporel"},ro={skinny:"Maigre",balanced_skinny:"Équilibré maigre",skinny_muscular:"Maigre musclé",balanced:"Équilibré",balanced_muscular:"Musclé équilibré",lack_exercise:"Manque d'exercice",thick_set:"Trapu",obese:"Obèse",overweight:"Surpoids",underweight:"Insuffisance pondérale",normal_or_healthy_weight:"Normal - poids de santé",slight_overweight:"Léger surpoids",moderate_obesity:"Obésité modérée",severe_obesity:"Obésité sévère",massive_obesity:"Obésité massive",unavailable:"indisponible"},so={" years":" ans"},co={invalid_config:"Configuration invalide",missing_entity:"Veuillez définir une entité.",missing_entity_bodymiscale:"Veuillez définir une entité Bodymiscale."},_o={configuration:"Configuration",customization:"Personnalisation",entity:"Veuillez choisir un compte de la balance (obligatoire) !",image:"Image de fond (facultatif)",icons_body:"Chemin des icônes (ex: /local/images/bodyscoreIcon)",model:"Vous avez un capteur d'impédance ?",model1:"Activez cette fonctionnalité pour des mesures corporelle précises.",model_aria_label_on:"Activez l'impédance",model_aria_label_off:"Désactiver l'impédance",unit:"Convertir les kg en lbs",unit_aria_label_on:"Activer la conversion",unit_aria_label_off:"Désactiver la conversion",theme:"Configurer le thème que vous utilisez.",theme_aria_label_on:"Activer thème clair",theme_aria_label_off:"Désactiver thème sombre",show_name:"Afficher le nom du compte comme titre ?",show_name_aria_label_on:"Activer affichage du nom",show_name_aria_label_off:"Désactiver affichage du nom",show_states:"Afficher l'état ?",show_states_aria_label_on:"Activer l'affichage de l'état",show_states_aria_label_off:"Désactiver l'affichage de l'état",show_attributes:"Afficher les données personnelles de base (en haut à droite) ?",show_attributes_aria_label_on:"Activer l'affichage des données personnelles de base",show_attributes_aria_label_off:"Désactiver l'affichage des données personnelles de base",show_always_details:"Toujours afficher les détails",show_always_details_aria_label_on:"Activer l'affichage des détails par défaut",show_always_details_aria_label_off:"Désactiver l'affichage des détails par défaut",show_toolbar:"Afficher les options avancées ?",show_toolbar_aria_label_on:"Activer l'affichage des options avancées",show_toolbar_aria_label_off:"Désactiver l'affichage des options avancées",show_body:"Offrir d'autres détails de mesure",show_body1:"(partie inférieure - affichage via l'icone chevron bas) ?",show_body_aria_label_on:"Activer l'affichage des autres détails de mesure",show_body_aria_label_off:"Désactiver l'affichage des autres détails de mesure",show_buttons:"Autoriser le changement de compte ?",show_buttons_aria_label_on:"Activer le changement de compte",show_buttons_aria_label_off:"Désactiver le changement de compte",header_options:"1. Options d'en-tête de la carte",body_options:"2. Plus d'options de la cartes",code_only_note:"ATTENTION: Les options supplémentaires ne sont disponibles que dans l'éditeur de code."},bo={from:"De",icon_position:"Position de l'icône",label_below:"Label en dessous",left:"À gauche",minmax_position:"Position Min/Max",name_position:"Position du nom",off:"Désactivé",on:"Activé",right:"À droite",severity_generator_help:"Lien vers l'aide Sévérité",showabovelabels:"Afficher les labels au-dessus",showbelowlabels:"Afficher les labels en dessous",to:"À",value_position:"Position de la valeur"},ho={color:"Couleur",disabled:"Désactivé",red:"Rouge",pink:"Rose",purple:"Violet","deep-purple":"Violet foncé",indigo:"Indigo",blue:"Bleu","light-blue":"Bleu clair",cyan:"Cyan",teal:"Turquoise",green:"Vert","light-green":"Vert clair",lime:"Vert citron",yellow:"Jaune",amber:"Ambre",orange:"Orange",orangered:"Rouge orange","deep-orange":"Orange foncé",brown:"Marron","light-grey":"Gris clair",grey:"Gris","dark-grey":"Gris foncé","blue-grey":"Bleu gris",darkgreen:"Vert foncé",royalblue:"Blue roi",black:"Noir",white:"Blanc"},mo={balanced:"Équilibré",good:"Bien",increased:"Augmenté",insufficient:"Insuffisant",high:"Élevé",low:"Faible",normal:"Normal",obese:"Obèse",objective_achieved:"Objectif atteint",objective_not_achieved:"Objectif non atteint",overweight:"Surpoids",underweight:"Insuffisance pondérale",very_high:"Très élevé",very_low:"Très faible"},uo={common:oo,states:io,attributes:to,attributes_value:lo,body:no,body_value:ro,unit:so,error:co,editor:_o,editor_body:bo,color_select:ho,label_below:mo},go={version:"Verzió",name:"Bodymiscale Kártya",description:"A BodyMiScale kártya megmutatja az ön súlyhoz viszonyított testi állapotát.",not_available:"A Bodymiscale nem elérhető",toggle_power:"További részletek, például a BMI, kCal megjelenítése / elrejtése"},po={ok:"MÉRÉS: RENDBEN",unknown:"ÁLLAPOT: ismeretlen",problem:"Probléma",none:"Nincs",weight_unavailable:"Súly nem elérhető",impedance_unavailable:"Impedancia nem elérhető",weight_unavailable_and_impedance_unavailable:"Súly és impedancia nem elérhető",weight_low:"Alacsony súly",impedance_low:"Alacsony impedancia",weight_low_and_impedance_low:"Alacsony súly és impedancia",impedance_low_and_weight_low:"Alacsony impedancia és súly",weight_high:"Magas súly",impedance_high:"Magas impedancia",weight_high_and_impedance_high:"Magas súly és impedancia",weight_high_and_impedance_low:"Magas súly, alacsony impedancia",weight_low_and_impedance_high:"Alacsony súly, magas impedancia"},wo={"weight: ":"Súly: ","impedance: ":"Impedancia: ","height: ":"Magasság: ","age: ":"Kor: ","gender: ":"Nem: "},yo={male:"férfi",female:"nő",unavailable:"nem elérhető"},fo={bmi:"BMI",bmi_label:"BMI címke",visceral_fat:"Zsigeri zsír",body_fat:"Testzsír",protein:"Fehérje",water:"Víz",muscle_mass:"Izomtömeg",bone_mass:"Csonttömeg",weight:"Súly",ideal:"Ideális",basal_metabolism:"Alapanyagcsere",body_type:"Testtípus",metabolic_age:"Anyagcsere kor"},vo={skinny:"Sovány",balanced_skinny:"Kiegyensúlyozott-sovány",skinny_muscular:"Sovány-izmos",balanced:"Kiegyensúlyozott",balanced_muscular:"Kiegyensúlyozott-izmos",lack_exercise:"Mozgáshiányos",thick_set:"Közepesen molett",obese:"Kórosan elhízott",overweight:"Túlsúlyos",underweight:"Súlyhiányos",normal_or_healthy_weight:"Normál vagy egészséges testsúly",slight_overweight:"Enyhe túlsúly",moderate_obesity:"Közepes elhízottság",severe_obesity:"Súlyos elhízottság",massive_obesity:"Masszív elhízottság",unavailable:"nem elérhető"},ko={" years":" év"},zo={missing_entity:"Kérjük, definiáljon egy entitást.",missing_entity_bodymiscale:"Kérjük, definiáljon egy BodyMiScale entitást."},$o={entity:"Kérjük, válasszon egy fiókot a mérlegen (kötelező)!",image:"Háttérkép (opcionális)",icons_body:"Ikonok útvonala (pl.: /local/images/bodyscoreIcon)",model:"Rendelkezik impedancia érzékelővel?",model1:"A pontos testösszetétel mérésekhez aktiválja ezt a funkciót.",model_aria_label_on:"Impedancia engedélyezése",model_aria_label_off:"Impedancia letiltása",unit:"Kg átszámítása fonttá",unit_aria_label_on:"Átszámítás bekapcsolása",unit_aria_label_off:"Átszámítás kikapcsolása",theme:"Állítsa be a használt témát.",theme_aria_label_on:"Világos téma bekapcsolása",theme_aria_label_off:"Sötét téma kikapcsolása",show_name:"Mutassa a fiók nevét címként?",show_name_aria_label_on:"Név megjelenítésének bekapcsolása",show_name_aria_label_off:"Név megjelenítésének kikapcsolása",show_states:"Állapot mutatása?",show_states_aria_label_on:"Állapot megjelenítésének bekapcsolása",show_states_aria_label_off:"Állapot megjelenítésének kikapcsolása",show_attributes:"Személyes adatok mutatása (jobb felső sarokban)?",show_attributes_aria_label_on:"Személyes adatok megjelenítésének bekapcsolása",show_attributes_aria_label_off:"Személyes adatok megjelenítésének kikapcsolása",show_always_details:"Mindig mutassa a részleteket",show_always_details_aria_label_on:"Alapértelmezett részletes nézet bekapcsolása",show_always_details_aria_label_off:"Alapértelmezett részletes nézet kikapcsolása",show_toolbar:"Mutassa a haladó beállításokat?",show_toolbar_aria_label_on:"Haladó beállítások megjelenítésének bekapcsolása",show_toolbar_aria_label_off:"Haladó beállítások megjelenítésének kikapcsolása",show_body:"Kínáljon további mérési részleteket",show_body1:"(alsó rész - a lefelé mutató nyíl ikonra kattintva megjeleníthető)?",show_body_aria_label_on:"Test pontszám megjelenítésének bekapcsolása",show_body_aria_label_off:"Test pontszám megjelenítésének kikapcsolása",show_buttons:"Fiókváltás engedélyezése?",show_buttons_aria_label_on:"Gombok megjelenítésének bekapcsolása",show_buttons_aria_label_off:"Gombok megjelenítésének kikapcsolása",header_options:"1. Kártya fejléc beállítások",body_options:"2. További kártya beállítások",code_only_note:"FIGYELEM: További beállítások csak a kód szerkesztőben érhetők el."},xo={from:"Tól",icon_position:"Ikon pozíció",label_below:"Címke alul",left:"Bal oldalon",minmax_position:"Min/Max pozíció",name_position:"Név pozíció",off:"Kikapcsolva",on:"Be",right:"Jobb oldalon",severity_generator_help:"Link a súlyossági súgóhoz",showabovelabels:"Címkék megjelenítése felül",showbelowlabels:"Címkék megjelenítése alul",target:"Cél",to:"Tovább",value_position:"Érték pozíció"},Ao={color:"Szín",disabled:"Letiltva",red:"Piros",pink:"Rózsaszín",purple:"Lila","deep-purple":"Sötét lila",indigo:"Indigó",blue:"Kék","light-blue":"Világoskék",cyan:"Cián",teal:"Türkiz",green:"Zöld","light-green":"Világoszöld",lime:"Lime",yellow:"Sárga",amber:"Borostyán",orange:"Narancs",orangered:"Narancsvörös","deep-orange":"Sötét narancs",brown:"Barna","light-grey":"Világosszürke",grey:"Szürke","dark-grey":"Sötétszürke","blue-grey":"Kékszürke",darkgreen:"Sötétzöld",royalblue:"Királykék",black:"Fekete",white:"Fehér"},Mo={balanced:"Kiegyensúlyozott",good:"Jó",increased:"Növekedett",insufficient:"Elégtelen",high:"Magas",low:"Alacsony",normal:"Normális",obese:"Kórosan elhízott",objective_achieved:"Cél elérve",objective_not_achieved:"Cél nem elérve",overweight:"Túlsúlyos",underweight:"Súlyhiányos",very_high:"Nagyon magas",very_low:"Nagyon alacsony"},jo={common:go,states:po,attributes:wo,attributes_value:yo,body:fo,body_value:vo,unit:ko,error:zo,editor:$o,editor_body:xo,color_select:Ao,label_below:Mo},Po={version:"Versione",name:"Bodymiscale Card",description:"La card bodymiscale ti mostra il tuo peso/stato corporeo relativo.",not_available:"Bodymiscale non è disponibile",toggle_power:"Più dettagli come BMI kCal mostra / nascondi"},So={ok:"MISURAZIONE: OK",unknown:"STATO: sconosciuto",problem:"Problema",none:"Nessuno",weight_unavailable:"Peso non disponibile",impedance_unavailable:"Impedenza non disponibile",weight_unavailable_and_impedance_unavailable:"Peso e impedenza non disponibili",weight_low:"Peso basso",impedance_low:"Impedenza bassa",weight_low_and_impedance_low:"Peso e impedenza bassi",impedance_low_and_weight_low:"Impedenza e peso bassi",weight_high:"Peso alto",impedance_high:"Impedenza alta",weight_high_and_impedance_high:"Peso e impedenza alti",weight_high_and_impedance_low:"Peso alto, impedenza bassa",weight_low_and_impedance_high:"Peso basso, impedenza alta"},Co={"weight: ":"Peso: ","impedance: ":"Impedenza: ","height: ":"Altezza: ","age: ":"Età: ","gender: ":"Sesso: "},Io={male:"uomo",female:"donna",unavailable:"non disponibile"},Oo={bmi:"BMI",bmi_label:"BMI Categoria",visceral_fat:"Grasso viscerale",body_fat:"Grasso corporeo",protein:"Proteine",water:"Acqua",muscle_mass:"Massa muscolare",bone_mass:"Massa ossea",weight:"Peso",ideal:"Ideale",basal_metabolism:"Metabolismo base",body_type:"Tipo di corpo",metabolic_age:"Età metabolica"},To={skinny:"Magro",balanced_skinny:"Bilanciato-magro",skinny_muscular:"Magro-muscoloso",balanced:"Bilanciato",balanced_muscular:"Bilanciato-muscoloso",lack_exercise:"Manca-esercizio",thick_set:"Spesso-impostato",obese:"Obeso",overweight:"Sovrappeso",underweight:"Sottopeso",normal_or_healthy_weight:"Normale o Peso Sano",slight_overweight:"Leggermente in sovrappeso",moderate_obesity:"Obesità Moderata",severe_obesity:"Obesità Grave",massive_obesity:"Obesità Massiccia",unavailable:"non disponibile"},Bo={" years":" anni"},Eo={missing_entity:"Perfavore definisci un'entità.",missing_entity_bodymiscale:"Perfavore definisci un'entità di tipo bodymiscale."},No={entity:"Perfavore seleziona un account sulla bilancia (richiesto) !",image:"Immagine di sfondo (opzionale)",icons_body:"Percorso delle icone (es: /local/images/bodyscoreIcon)",model:"Hai un sensore di impedenza?",model1:"Attiva questa funzione per misurazioni accurate della composizione corporea.",model_aria_label_on:"Abilita impedenza",model_aria_label_off:"Disabilita impedenza",unit:"Converti da kg a lbs",unit_aria_label_on:"Attiva la conversione",unit_aria_label_off:"Disattiva la conversione",show_name:"Mostrare il nome dell'account come titolo ?",show_name_aria_label_on:"Attiva la visione del nome",show_name_aria_label_off:"Disattiva la visione del nome",show_states:"Mostrare lo Stato ?",show_states_aria_label_on:"Attiva la visione dello stato",show_states_aria_label_off:"Disattiva la visione dello stato",show_attributes:"Mostrare i dati anagrafici personali (in alto a destra) ?",show_attributes_aria_label_on:"Attiva la visione degli attributi",show_attributes_aria_label_off:"Disattiva la visione degli attributi",show_always_details:"Mostra sempre i dettagli",show_always_details_aria_label_on:"Attiva la visualizzazione dettagliata predefinita",show_always_details_aria_label_off:"Disattiva la visualizzazione dettagliata predefinita",show_toolbar:"Mostrare opzioni avanzate ?",show_toolbar_aria_label_on:"Attiva opzioni avanzate",show_toolbar_aria_label_off:"Disattiva opzioni avanzate",show_body:"Offrire ulteriori dettagli di misurazione",show_body1:"(metà inferiore - l'icona con la spunta ve li mostrerà) ?",show_body_aria_label_on:"Attiva la visione del punteggio del corpo",show_body_aria_label_off:"Disattiva la visione del punteggio del corpo",show_buttons:"Consenti il cambio di account ?",show_buttons_aria_label_on:"Attiva la visione dei pulsanti",show_buttons_aria_label_off:"Disattiva la visione dei pulsanti",header_options:"1. Opzioni di intestazione della card",body_options:"2. Ulteriori opzioni della card",code_only_note:"ATTENZIONE: Le opzioni aggiuntive sono disponibili solo nella modalità editor di codice."},Do={from:"Da",icon_position:"Posizione icona",label_below:"Etichetta sotto",left:"A sinistra",minmax_position:"Posizione Min/Max",name_position:"Posizione nome",off:"Spento",on:"Attivo",right:"A destra",severity_generator_help:"Link alla guida sulla gravità",showabovelabels:"Mostra etichette sopra",showbelowlabels:"Mostra etichette sotto",target:"Destinazione",to:"A",value_position:"Posizione valore"},Vo={color:"Colore",disabled:"Disabilitato",red:"Rosso",pink:"Rosa",purple:"Viola","deep-purple":"Viola scuro",indigo:"Indaco",blue:"Blu","light-blue":"Azzurro",cyan:"Ciano",teal:"Verde acqua",green:"Verde","light-green":"Verde chiaro",lime:"Lime",yellow:"Giallo",amber:"Ambra",orange:"Arancione",orangered:"Arancione rosso","deep-orange":"Arancione scuro",brown:"Marrone","light-grey":"Grigio chiaro",grey:"Grigio","dark-grey":"Grigio scuro","blue-grey":"Blu grigio",darkgreen:"Verde scuro",royalblue:"Blu reale",black:"Nero",white:"Bianco"},qo={balanced:"Bilanciato",good:"Buono",increased:"Aumentato",insufficient:"Insufficiente",high:"Alto",low:"Basso",normal:"Normale",obese:"Obeso",objective_achieved:"Obiettivo raggiunto",objective_not_achieved:"Obiettivo non raggiunto",overweight:"Sovrappeso",underweight:"Sottopeso",very_high:"Molto alto",very_low:"Molto basso"},Lo={common:Po,states:So,attributes:Co,attributes_value:Io,body:Oo,body_value:To,unit:Bo,error:Eo,editor:No,editor_body:Do,color_select:Vo,label_below:qo},Go={version:"Version",name:"Bodymiscale Card",description:"ボディミスケール カードは、体重や関連する身体の状態を表示します。",not_available:"Bodymiscale は利用できません",toggle_power:"BMI kCal などの詳細を表示/非表示"},Uo={ok:"測定: OK",unknown:"状態: 不明",problem:"問題",none:"なし",weight_unavailable:"体重が利用できません",impedance_unavailable:"インピーダンスが利用できません",weight_unavailable_and_impedance_unavailable:"体重とインピーダンスが利用できません",weight_low:"体重が低い",impedance_low:"インピーダンスが低い",weight_low_and_impedance_low:"体重とインピーダンスが低い",impedance_low_and_weight_low:"インピーダンスと体重が低い",weight_high:"体重が高い",impedance_high:"インピーダンス高",weight_high_and_impedance_high:"体重とインピーダンスが高い",weight_high_and_impedance_low:"体重は高いが、インピーダンスは低い",weight_low_and_impedance_high:"体重は低く、インピーダンスは高い"},Ko={"weight: ":"体重: ","impedance: ":"インピーダンス: ","height: ":"高さ: ","age: ":"年齢: ","gender: ":"性別: "},Ro={male:"男性",female:"女性",unavailable:"利用不可"},Wo={bmi:"BMI",bmi_label:"BMI ラベル",visceral_fat:"内臓脂肪",body_fat:"体脂肪",protein:"タンパク質",water:"水分",muscle_mass:"筋肉量",bone_mass:"骨量",weight:"体重",ideal:"理想",basal_metabolism:"基礎代謝",body_type:"体型",metabolic_age:"代謝年齢"},Ho={skinny:"痩せすぎ",balanced_skinny:"バランスの取れた瘦せ型",skinny_muscular:"細身筋肉質",balanced:"バランスの取れた",balanced_muscular:"バランスの取れた筋肉質",lack_exercise:"運動不足",thick_set:"がっしり体型",obese:"肥満",overweight:"太りすぎ",underweight:"低体重",normal_or_healthy_weight:"正常または健康的な体重",slight_overweight:"少し太りすぎ",moderate_obesity:"中程度の肥満",severe_obesity:"重度の肥満",massive_obesity:"極度の肥満",unavailable:"利用不可"},Zo={" years":" 年齢"},Fo={invalid_config:"無効な設定です",missing_entity:"エンティティを設定して下さい。",missing_entity_bodymiscale:"bodymiscale エンティティを定義してください。"},Xo={entity:"スケール上のアカウントを選択してください (必須)!",image:"背景画像(オプション)",icons_body:"アイコンのパス (例: /local/images/bodyscoreIcon)",model:"インピーダンスセンサーはありますか?",model1:"正確な体組成測定のためにこの機能を有効にしてください。",model_aria_label_on:"インピーダンスを有効にする",model_aria_label_off:"インピーダンスを無効にする",unit:"kg を lbs に変換する",unit_aria_label_on:"変換をオンに切り替えます",unit_aria_label_off:"変換をオフに切り替えます",theme:"使用するテーマを設定します。",theme_aria_label_on:"テーマライトをオンに切り替えます",theme_aria_label_off:"テーマダークをオフに切り替えます",show_name:"アカウント名をタイトルとして表示しますか?",show_name_aria_label_on:"表示名をオンに切り替えます",show_name_aria_label_off:"表示名をオフに切り替えます",show_states:"状態を表示しますか?",show_states_aria_label_on:"表示状態をオンに切り替えます",show_states_aria_label_off:"表示状態をオフに切り替えます",show_attributes:"個人マスターデータを表示しますか (右上)?",show_attributes_aria_label_on:"表示属性をオンに切り替えます",show_attributes_aria_label_off:"表示属性をオフに切り替えます",show_always_details:"常に詳細を表示する",show_always_details_aria_label_on:"デフォルトの詳細ビューをオンに切り替えます",show_always_details_aria_label_off:"デフォルトの詳細ビューをオフに切り替えます",show_toolbar:"詳細オプションを表示しますか?",show_toolbar_aria_label_on:"詳細オプションの表示をオンに切り替えます",show_toolbar_aria_label_off:"詳細オプションの表示をオフに切り替えます",show_body:"測定の詳細をさらに表示する",show_body1:"(下半分 - 下向きの矢印アイコンが表示されます)?",show_body_aria_label_on:"ボディスコアの表示をオンに切り替えます",show_body_aria_label_off:"ボディスコアの表示をオフに切り替えます",show_buttons:"アカウントの切り替えを許可しますか?",show_buttons_aria_label_on:"表示ボタンをオンに切り替えます",show_buttons_aria_label_off:"表示ボタンをオフに切り替えます",header_options:"1. カード ヘッダー オプション",body_options:"2. その他のカードオプション",code_only_note:"注意: 追加オプションはコード エディターでのみ使用できます。"},Jo={from:"から",icon_position:"アイコンの位置",label_below:"下のラベル",left:"左",minmax_position:"最小/最大の位置",name_position:"名前の位置",off:"オフ",on:"オン",right:"右",severity_generator_help:"重症度ヘルプへのリンク",showabovelabels:"ラベルを上に表示",showbelowlabels:"ラベルを下に表示",target:"ターゲット",to:"へ",value_position:"値の位置"},Yo={color:"色",disabled:"無効",red:"赤",pink:"ピンク",purple:"紫","deep-purple":"濃い紫",indigo:"インディゴ",blue:"青","light-blue":"水色",cyan:"シアン",teal:"ティール",green:"緑","light-green":"薄緑",lime:"ライム",yellow:"黄色",amber:"アンバー",orange:"オレンジ",orangered:"赤橙色","deep-orange":"濃いオレンジ",brown:"茶色","light-grey":"ライトグレー",grey:"グレー","dark-grey":"ダークグレー","blue-grey":"青灰色",darkgreen:"ダークグリーン",royalblue:"ロイヤルブルー",black:"黒",white:"白"},Qo={balanced:"バランスの取れた",good:"良い",increased:"増加",insufficient:"不十分",high:"高い",low:"低い",normal:"正常",obese:"肥満",objective_achieved:"目標達成",objective_not_achieved:"目標未達成",overweight:"太りすぎ",underweight:"低体重",very_high:"非常に高い",very_low:"非常に低い"},ei={common:Go,states:Uo,attributes:Ko,attributes_value:Ro,body:Wo,body_value:Ho,unit:Zo,error:Fo,editor:Xo,editor_body:Jo,color_select:Yo,label_below:Qo},ai={version:"Versie",name:"Bodymiscale Card",description:"De bodymiscale kaart toont u uw gewicht / gerelateerde lichaamsstatus.",not_available:"Bodymiscale is niet beschikbaar",toggle_power:"Meer details zoals BMI kCal tonen / verbergen"},oi={ok:"METING: OK",unknown:"STATUS: onbekend",problem:"Probleem",none:"Geen",weight_unavailable:"Gewicht niet beschikbar",impedance_unavailable:"Impedantie niet beschikbaar",weight_unavailable_and_impedance_unavailable:"Gewicht en impedantie niet beschikbaar",weight_low:"Gewicht laag",impedance_low:"Impedantie laag",weight_low_and_impedance_low:"Laag gewicht en impedantie",impedance_low_and_weight_low:"Lage impedantie en gewicht",weight_high:"Gewicht hoog",impedance_high:"Impedantie hoog",weight_high_and_impedance_high:"Hoog gewicht en impedantie",weight_high_and_impedance_low:"Gewicht hoog, impedantie laag",weight_low_and_impedance_high:"Gewicht laag, impedantie hoog"},ii={"weight: ":"Gewicht: ","impedance: ":"Impedantie: ","height: ":"Lengte: ","age: ":"Leeftijd: ","gender: ":"Geslacht: "},ti={male:"man",female:"vrouw",unavailable:"niet beschikbaar"},li={bmi:"BMI",bmi_label:"BMI label",visceral_fat:"Visceraal vet",body_fat:"Lichaamsvet",protein:"Proteine",water:"Water",muscle_mass:"Spiermassa",bone_mass:"Botgewicht",weight:"Gewicht",ideal:"Ideaal",basal_metabolism:"Basaal metabolisme",body_type:"Lichaamstype",metabolic_age:"Metabolistische leeftijd"},ni={skinny:"Mager",balanced_skinny:"Gebalanceerd-mager",skinny_muscular:"Mager-gespierd",balanced:"Gebalanceerd",balanced_muscular:"Gebalanceerd-gespierd",lack_exercise:"Weinig-beweging",thick_set:"Dik",obese:"Obesitas",overweight:"Overgewicht",underweight:"Ondergewicht",normal_or_healthy_weight:"Normaal of gezond gewicht",slight_overweight:"Licht overgewicht",moderate_obesity:"Gemiddeld overgewicht",severe_obesity:"Ruim overgewicht",massive_obesity:"Enorm overgewicht",unavailable:"niet beschikbaar"},ri={" years":" jaren"},si={missing_entity:"Geef een entiteit in.",missing_entity_bodymiscale:"Geef een bodymiscale entiteit in."},di={entity:"Kies een account op de schaal (verplicht) !",image:"Achtergrondafbeelding (facultatief)",icons_body:"Icoonpad (bijv. /local/images/bodyscoreIcon)",model:"Heeft u een impedantie sensor?",model1:"Activeer deze functie voor nauwkeurige metingen van de lichaamssamenstelling.",model_aria_label_on:"Impedantie inschakelen",model_aria_label_off:"Impedantie uitschakelen",unit:"Converteer kg naar lbs",unit_aria_label_on:"Activeer conversie",unit_aria_label_off:"Conversie deactiveren",show_name:"Toon de naam van de rekening als titel ?",show_name_aria_label_on:"Zet naam aan",show_name_aria_label_off:"Zet naam uit",show_states:"Geef status weer ?",show_states_aria_label_on:"Zet status aan",show_states_aria_label_off:"Zet status uit",show_attributes:"Persoonlijke stamgegevens weergeven (rechtsboven) ?",show_attributes_aria_label_on:"Zet attributen aan",show_attributes_aria_label_off:"Zet attributen uit",show_always_details:"Toon altijd details",show_always_details_aria_label_on:"Zet standaard detailweergave aan",show_always_details_aria_label_off:"Zet standaard detailweergave uit",show_toolbar:"Toon geavanceerde opties ?",show_toolbar_aria_label_on:"Zet knoppenbalk aan",show_toolbar_aria_label_off:"Zet knoppenbalk uit",show_body:"Bieden verdere meting details",show_body1:"(onderste helft - pictogram chevron naar beneden zal tonen die) ?",show_body_aria_label_on:"Zet lichaamsscore aan",show_body_aria_label_off:"Zet lichaamsscore uit",show_buttons:"Accountwissel toestaan ?",show_buttons_aria_label_on:"Zet knoppen aan",show_buttons_aria_label_off:"Zet knoppen uit",header_options:"1. Kaart koptekst opties",body_options:"2. Meer boordopties",code_only_note:"LET OP: Extra opties zijn alleen beschikbaar in de code editor."},ci={from:"Van",icon_position:"Pictogrampositie",label_below:"Label eronder",left:"Links",minmax_position:"Min/Max Positie",name_position:"Naam Positie",off:"Uit",on:"Aan",right:"Rechts",severity_generator_help:"Link naar de help voor ernst",showabovelabels:"Labels boven weergeven",showbelowlabels:"Labels onder weergeven",target:"Doel",to:"Naar",value_position:"Waarde Positie"},_i={color:"Kleur",disabled:"Uitgeschakeld",red:"Rood",pink:"Roze",purple:"Paars","deep-purple":"Dieppaars",indigo:"Indigo",blue:"Blauw","light-blue":"Lichtblauw",cyan:"Cyaan",teal:"Blauwgroen",green:"Groen","light-green":"Lichtgroen",lime:"Limoen",yellow:"Geel",amber:"Amber",orange:"Oranje",orangered:"Rood-oranje","deep-orange":"Dieporanje",brown:"Bruin","light-grey":"Lichtgrijs",grey:"Grijs","dark-grey":"Donkergrijs","blue-grey":"Blauwgrijs",darkgreen:"Donkergroen",royalblue:"Koningsblauw",black:"Zwart",white:"Wit"},bi={balanced:"Gebalanceerd",good:"Goed",increased:"Verhoogd",insufficient:"Onvoldoende",high:"Hoog",low:"Laag",normal:"Normaal",obese:"Obesitas",objective_achieved:"Doel bereikt",objective_not_achieved:"Doel niet bereikt",overweight:"Overgewicht",underweight:"Ondergewicht",very_high:"Zeer hoog",very_low:"Zeer laag"},hi={common:ai,states:oi,attributes:ii,attributes_value:ti,body:li,body_value:ni,unit:ri,error:si,editor:di,editor_body:ci,color_select:_i,label_below:bi},mi={version:"Wersja",name:"Karta Bodymiscale",description:"Karta BodyMiScale pokazuje Twoją wagę oraz parametry ciała.",not_available:"Bodymiscale jest niedostępna",toggle_power:"Więcej szczegółów jak BMI kCal - pokaż / ukryj"},ui={ok:"POMIAR: OK",unknown:"STATUS: nieznany",problem:"Problem",none:"Brak",weight_unavailable:"Waga niedostępna",impedance_unavailable:"Impedancja niedostępna",weight_unavailable_and_impedance_unavailable:"Waga i impedancja niedostępne",weight_low:"Niska waga",impedance_low:"Niska impedancja",weight_low_and_impedance_low:"Niska waga i impedancja",impedance_low_and_weight_low:"Niska impedancja i waga",weight_high:"Waga wysoka",impedance_high:"Impedancja wysoka",weight_high_and_impedance_high:"Wysoka waga i impedancja",weight_high_and_impedance_low:"Waga wysoka a impedancja niska",weight_low_and_impedance_high:"Waga nizska a impedancja wysoka"},gi={"weight: ":"Waga: ","impedance: ":"Impedancja: ","height: ":"Wzrost: ","age: ":"Wiek: ","gender: ":"Płeć: "},pi={male:"męska",female:"żeńska",unavailable:"niedstępna"},wi={bmi:"BMI",bmi_label:"BMI label",visceral_fat:"Tłuszcz brzuszny",body_fat:"Tłuszcz Ciała",protein:"Białko",water:"Woda",muscle_mass:"Masa mięśniowa",bone_mass:"Masa kostna",weight:"Waga",ideal:"Idealna",basal_metabolism:"Metabolizm podstawowy",body_type:"Typ sylwetki",metabolic_age:"Wiek metaboliczny"},yi={skinny:"Chudy",balanced_skinny:"Umiarkowanie chudy",skinny_muscular:"Chudy muskularny",balanced:"Zrównoważony",balanced_muscular:"Zrównoważony muskularny",lack_exercise:"Mało aktywny",thick_set:"Gruby",obese:"Otyły",overweight:"Nadwaga",underweight:"Niedowaga",normal_or_healthy_weight:"Normalna lub zdrowa waga",slight_overweight:"Lekka nadwaga",moderate_obesity:"Lekka otyłość",severe_obesity:"Średnia otyłość",massive_obesity:"Poważna otyłość",unavailable:"niedostępny"},fi={" years":" lat"},vi={missing_entity:"Proszę zdefiniuj encje.",missing_entity_bodymiscale:"Proszę zdefiniuj encję bodymiscale."},ki={entity:"Proszę wybierz konto na wadze (wymagane)!",image:"Obraz tła (opcjonalne)",icons_body:"Ścieżka ikon (np. /local/images/bodyscoreIcon)",model:"Czy masz czujnik impedancji?",model1:"Włącz tę funkcję, aby uzyskać dokładne pomiary składu ciała.",model_aria_label_on:"Włącz impedancję",model_aria_label_off:"Wyłącz impedancję",unit:"Zamień kg na lbs",unit_aria_label_on:"Włącz opcję konwersji",unit_aria_label_off:"Włącz opcję konwersji",theme:"Wybierz rodza motywu.",theme_aria_label_on:"Włącz jasny motyw",theme_aria_label_off:"Włącz ciemny motyw",show_name:"Użyć imienia jako tytułu karty?",show_name_aria_label_on:"Włącz opcję imienia jako tytułu",show_name_aria_label_off:"Wyłącz opcję imienia jako tytułu",show_states:"Wyświetlić stan?",show_states_aria_label_on:"Włącz wyświetlanie stanu",show_states_aria_label_off:"Wyłącz wyświetlanie stanu",show_attributes:"Show personal master data (gora po prawej)?",show_attributes_aria_label_on:"Toggle display attributes on",show_attributes_aria_label_off:"Toggle display attributes off",show_always_details:"Zawsze pokazuj szczegóły",show_always_details_aria_label_on:"Włącz domyślny widok szczegółów",show_always_details_aria_label_off:"Wyłącz domyślny widok szczegółów",show_toolbar:"Pokazać zaawansowane opcje?",show_toolbar_aria_label_on:"Włącz zaawansowane opcje",show_toolbar_aria_label_off:"Wyłącz zaawansowane opcje",show_body:"Offer further measurement details",show_body1:"(lower half - icon chevron down will show those)?",show_body_aria_label_on:"Toggle display body score on",show_body_aria_label_off:"Toggle display body score off",show_buttons:"Allow account switch?",show_buttons_aria_label_on:"Toggle display buttons on",show_buttons_aria_label_off:"Toggle display buttons off",header_options:"1. Opcje nagłówka",body_options:"2. Więcej opcji karty",code_only_note:"UWAGA: Dodatkowe opcje dostępne są tylko poprzez edycje kodu."},zi={from:"Od",icon_position:"Pozycja ikony",label_below:"Etykieta poniżej",left:"Po lewej",minmax_position:"Pozycja Min/Max",name_position:"Pozycja nazwy",off:"Wyłącz",on:"Włączone",right:"Po prawej",severity_generator_help:"Link do pomocy dotyczącej ważności",showabovelabels:"Pokaż etykiety powyżej",showbelowlabels:"Pokaż etykiety poniżej",target:"Cel",to:"Do",value_position:"Pozycja wartości"},$i={color:"Kolor",disabled:"Wyłączone",red:"Czerwony",pink:"Różowy",purple:"Fioletowy","deep-purple":"Ciemnofioletowy",indigo:"Indygo",blue:"Niebieski","light-blue":"Jasnoniebieski",cyan:"Błękitny",teal:"Nadmorskizielony",green:"Zielony","light-green":"Jasnozielony",lime:"Limonkowy",yellow:"Żółty",amber:"Bursztynowy",orange:"Pomarańczowy",orangered:"Czerwono-pomarańczowy","deep-orange":"Ciemnopomarańczowy",brown:"Brązowy","light-grey":"Jasnoszary",grey:"Szary","dark-grey":"Ciemnoszary","blue-grey":"Niebieskoszary",darkgreen:"Ciemnozielony",royalblue:"Królestwo Niebieskie",black:"Czarny",white:"Biały"},xi={balanced:"Zrównoważony",good:"Dobry",increased:"Zwiększony",insufficient:"Niewystarczający",high:"Wysoki",low:"Niski",normal:"Normalny",obese:"Otyły",objective_achieved:"Cel osiągnięty",objective_not_achieved:"Cel nieosiągnięty",overweight:"Nadwaga",underweight:"Niedowaga",very_high:"Bardzo wysoki",very_low:"Bardzo niski"},Ai={common:mi,states:ui,attributes:gi,attributes_value:pi,body:wi,body_value:yi,unit:fi,error:vi,editor:ki,editor_body:zi,color_select:$i,label_below:xi},Mi={version:"Versão",name:"Bodymiscale Card",description:"O cartão bodymiscale mostra-lhe o estado do seu corpo em relação ao peso.",not_available:"Bodymiscale não está disponível",toggle_power:"Mostrando/escondendo mais detalhes tal como o kCal,IMC"},ji={ok:"MEDIÇÃO: OK",unknown:"ESTATUTO: desconhecido",problem:"Problema",none:"Nenhum",weight_unavailable:"Peso indisponível",impedance_unavailable:"Impedância indisponível",weight_unavailable_and_impedance_unavailable:"Peso e impedância indisponíveis",weight_low:"Peso baixo",impedance_low:"Impedância baixa",weight_low_and_impedance_low:"Peso e impedância baixos",impedance_low_and_weight_low:"Impedância e peso baixos",weight_high:"Peso alto",impedance_high:"Impedância alta",weight_high_and_impedance_high:"Peso e impedância altos",weight_high_and_impedance_low:"Peso alto, impedância baixa",weight_low_and_impedance_high:"Peso baixo, impedância alta"},Pi={"weight: ":"Peso: ","impedance: ":"Impedância: ","height: ":"Altura: ","age: ":"Idade: ","gender: ":"Gênero: "},Si={male:"masculino",female:"femenino",unavailable:"indisponível"},Ci={bmi:"IMC",bmi_label:"Etiqueta IMC",visceral_fat:"Gordura visceral",body_fat:"Gordura corporal",protein:"Proteína",water:"Água",muscle_mass:"Massa muscular",bone_mass:"Massa óssea",weight:"Peso",ideal:"Ideal",basal_metabolism:"Metabolismo basal",body_type:"Tipo de corpo",metabolic_age:"Idade metabólica"},Ii={skinny:"Magro",balanced_skinny:"Magro equilibrado",skinny_muscular:"Magro musculoso",balanced:"Equilibrado",balanced_muscular:"Musculoso equilibrado",lack_exercise:"Falta de exercício",thick_set:"Estatura sólida",obese:"Obeso",overweight:"Acima do peso normal",underweight:"Abaixo do peso normal",normal_or_healthy_weight:"Normal",slight_overweight:"Ligeiramente acima do peso",moderate_obesity:"Obesidade moderada",severe_obesity:"Obesidade severa",massive_obesity:"Obesidade maciça",unavailable:"indisponível"},Oi={" years":" Anos"},Ti={missing_entity:"Por favor, defina uma entidade.",missing_entity_bodymiscale:"Por favor, defina uma entidade bodymiscale."},Bi={entity:"Por favor, escolha a entidade da balança com o nome da pessoa (obrigatório) !",image:"Imagem de fundo (opcional)",icons_body:"Caminho dos ícones (ex: /local/images/bodyscoreIcon)",model:"Tem um sensor de impedância?",model1:"Ative esta função para medições precisas da composição corporal.",model_aria_label_on:"Ativar impedância",model_aria_label_off:"Desativar impedância",unit:"Converter kg em libras",unit_aria_label_on:"Ativar a conversão kg para lbs",unit_aria_label_off:"Desativar a conversão kg para lbs",show_name:"Mostrar o nome da conta como título ?",show_name_aria_label_on:"Mostrar o nome como título",show_name_aria_label_off:"Esconder o nome como título",show_states:"Mostrar Estado da balança ?",show_states_aria_label_on:"Mostrar o estado da balança",show_states_aria_label_off:"Esconder o estado da balança",show_attributes:"Mostrar os dados do perfil pessoal (canto superior direito) ?",show_attributes_aria_label_on:"Mostrar atributos",show_attributes_aria_label_off:"Esconder atributos",show_always_details:"Mostrar sempre detalhes",show_always_details_aria_label_on:"Alternar a vista de detalhe por defeito em",show_always_details_aria_label_off:"Alternar a vista de detalhe por defeito",show_toolbar:"Mostrar opções avançadas ?",show_toolbar_aria_label_on:"Mostrar a barra de ferramentas",show_toolbar_aria_label_off:"Esconder a barra de ferramentas",show_body:"Mostrar mais detalhes da medição",show_body1:"(parte inferior - clicar na seta para mostrar) ?",show_body_aria_label_on:"Mostrar mais detalhes no corpo",show_body_aria_label_off:"Esconder mais detalhes no corpo",show_buttons:"Permitir a troca de conta ?",show_buttons_aria_label_on:"Mostrar botões das contas",show_buttons_aria_label_off:"Esconder botões das contas",header_options:"1. Opções do cabeçalho do cartão",body_options:"2. Mais opções do corpo do cartão",code_only_note:"CUIDADO: Opções adicionais estão disponíveis apenas no editor de código."},Ei={from:"De",icon_position:"Posição do ícone",label_below:"Etiqueta abaixo",left:"À esquerda",minmax_position:"Posição Min/Max",name_position:"Posição do nome",off:"Desligado",on:"Ligado",right:"À direita",severity_generator_help:"Link para a ajuda de severidade",showabovelabels:"Mostrar etiquetas acima",showbelowlabels:"Mostrar etiquetas abaixo",target:"Alvo",to:"Para",value_position:"Posição do valor"},Ni={color:"Cor",disabled:"Desativado",red:"Vermelho",pink:"Rosa",purple:"Roxo","deep-purple":"Roxo escuro",indigo:"Índigo",blue:"Azul","light-blue":"Azul claro",cyan:"Ciano",teal:"Azul esverdeado",green:"Verde","light-green":"Verde claro",lime:"Lima",yellow:"Amarelo",amber:"Âmbar",orange:"Laranja",orangered:"Laranja avermelhado","deep-orange":"Laranja escuro",brown:"Marrom","light-grey":"Cinza claro",grey:"Cinza","dark-grey":"Cinza escuro","blue-grey":"Cinza azulado",darkgreen:"Verde escuro",royalblue:"Azul real",black:"Preto",white:"Branco"},Di={balanced:"Equilibrado",good:"Bom",increased:"Aumentado",insufficient:"Insuficiente",high:"Alto",low:"Baixo",normal:"Normal",obese:"Obeso",objective_achieved:"Objetivo alcançado",objective_not_achieved:"Objetivo não alcançado",overweight:"Sobrepeso",underweight:"Underweight",very_high:"Muito alto",very_low:"Muito baixo"},Vi={common:Mi,states:ji,attributes:Pi,attributes_value:Si,body:Ci,body_value:Ii,unit:Oi,error:Ti,editor:Bi,editor_body:Ei,color_select:Ni,label_below:Di},qi={version:"Versão",name:"Bodymiscale Card",description:"O cartão bodymiscale mostra-lhe o estado do seu corpo em relação ao peso.",not_available:"Bodymiscale não é avaialável",toggle_power:"Mais detalhes como o kCal show / hide da BMI"},Li={ok:"MEDIÇÃO: OK",unknown:"ESTATUTO: desconhecido",problem:"Problema",none:"Nenhum",weight_unavailable:"Peso indisponível",impedance_unavailable:"Impedance indisponível",weight_unavailable_and_impedance_unavailable:"Peso e impedância indisponíveis",weight_low:"Peso baixo",impedance_low:"Impedância baixa",weight_low_and_impedance_low:"Peso e impedância baixos",impedance_low_and_weight_low:"Impedância e peso baixos",weight_high:"Peso alto",impedance_high:"Impedância alta",weight_high_and_impedance_high:"Peso e impedância altos",weight_high_and_impedance_low:"Peso alto, impedância baixa",weight_low_and_impedance_high:"Peso baixo, impedância alta"},Gi={"weight: ":"Peso: ","impedance: ":"Impedance: ","height: ":"Cintura: ","age: ":"Idade: ","gender: ":"Gênero: "},Ui={male:"macho",female:"fêmea",unavailable:"indisponível"},Ki={bmi:"IMC",bmi_label:"Etiqueta IMC",visceral_fat:"Gordura visceral",body_fat:"Gordura corporal",protein:"Proteína",water:"Água",muscle_mass:"Massa muscular",bone_mass:"Massa óssea",weight:"Peso",ideal:"Ideal",basal_metabolism:"Metabolismo basal",body_type:"Tipo de corpo",metabolic_age:"Idade metabólica"},Ri={skinny:"Magro",balanced_skinny:"Magro equilibrado",skinny_muscular:"Magro musculoso",balanced:"Equilibrado",balanced_muscular:"Musculoso equilibrado",lack_exercise:"Falta de exercício",thick_set:"Grosso-conjunto",obese:"Obeso",overweight:"Sobrepeso",underweight:"Underweight",normal_or_healthy_weight:"Normal",slight_overweight:"Ligeiro acima do peso",moderate_obesity:"Obesidade moderada",severe_obesity:"Obesidade severa",massive_obesity:"Obesidade maciça",unavailable:"indisponível"},Wi={" years":" Anos"},Hi={missing_entity:"Por favor, defina uma entidade.",missing_entity_bodymiscale:"Por favor, defina uma entidade bodymiscale."},Zi={entity:"Por favor, escolha uma conta na escala (obrigatório) !",image:"Imagem de fundo (opcional)",icons_body:"Caminho dos ícones (ex: /local/images/bodyscoreIcon)",model:"Você tem um sensor de impedância?",model1:"Ative esta função para medições precisas da composição corporal.",model_aria_label_on:"Ativar impedância",model_aria_label_off:"Desativar impedância",unit:"Converter kg em libras",unit_aria_label_on:"Ativar a conversão",unit_aria_label_off:"Desativar a conversão",show_name:"Mostrar o nome da conta como título ?",show_name_aria_label_on:"Alternar o nome da exibição",show_name_aria_label_off:"Alternar o nome da exibição",show_states:"Mostrar Estado ?",show_states_aria_label_on:"Alternar estado de exibição ligado",show_states_aria_label_off:"Alternar estado de exibição fora",show_attributes:"Mostrar dados mestres pessoais (canto superior direito) ?",show_attributes_aria_label_on:"Alternar atributos de exibição em",show_attributes_aria_label_off:"Alternar atributos de exibição fora",show_always_details:"Mostrar sempre detalhes",show_always_details_aria_label_on:"Alternar a visualização de detalhes padrão em",show_always_details_aria_label_off:"Alternar a visualização de detalhes padrão fora",show_toolbar:"Mostrar opções avançadas ?",show_toolbar_aria_label_on:"Alternar a barra de ferramentas do display em",show_toolbar_aria_label_off:"Alternar barra de ferramentas de exibição fora",show_body:"Oferecer mais detalhes de medição",show_body1:"(parte inferior - ícone chevron down mostrará aqueles) ?",show_body_aria_label_on:"Alternar a pontuação do corpo do display em",show_body_aria_label_off:"Alternar a pontuação do corpo do display fora",show_buttons:"Permitir a troca de conta ?",show_buttons_aria_label_on:"Alternar botões de exibição",show_buttons_aria_label_off:"Alternar botões de exibição desligados",header_options:"1. Opções do cabeçalho do cartão",body_options:"2. Mais opções de placas",code_only_note:"CUIDADO: Opções adicionais estão disponíveis apenas no editor de código."},Fi={from:"De",icon_position:"Posição do ícone",label_below:"Etiqueta abaixo",left:"À esquerda",minmax_position:"Posição Min/Max",name_position:"Posição do nome",off:"Desligado",on:"Ligado",right:"À direita",severity_generator_help:"Link para a ajuda de severidade",showabovelabels:"Mostrar etiquetas acima",showbelowlabels:"Mostrar etiquetas abaixo",target:"Alvo",to:"Para",value_position:"Posição do valor"},Xi={color:"Cor",disabled:"Desativado",red:"Vermelho",pink:"Rosa",purple:"Roxo","deep-purple":"Roxo escuro",indigo:"Índigo",blue:"Azul","light-blue":"Azul claro",cyan:"Ciano",teal:"Azul esverdeado",green:"Verde","light-green":"Verde claro",lime:"Lima",yellow:"Amarelo",amber:"Âmbar",orange:"Laranja",orangered:"Laranja avermelhado","deep-orange":"Laranja escuro",brown:"Marrom","light-grey":"Cinza claro",grey:"Cinza","dark-grey":"Cinza escuro","blue-grey":"Cinza azulado",darkgreen:"Verde escuro",royalblue:"Azul real",black:"Preto",white:"Branco"},Ji={balanced:"Equilibrado",good:"Bom",increased:"Aumentado",insufficient:"Insuficiente",high:"Alto",low:"Baixo",normal:"Normal",obese:"Obeso",objective_achieved:"Objetivo alcançado",objective_not_achieved:"Objetivo não alcançado",overweight:"Acima do peso normal",underweight:"Abaixo do peso normal",very_high:"Muito alto",very_low:"Muito baixo"},Yi={common:qi,states:Li,attributes:Gi,attributes_value:Ui,body:Ki,body_value:Ri,unit:Wi,error:Hi,editor:Zi,editor_body:Fi,color_select:Xi,label_below:Ji},Qi={version:"Versiune",name:"Bodymiscale Card",description:"Cardul bodymiscale îți arată starea ta în funcție de greutate/corespunzătoare corpului.",not_available:"Bodymiscale nu este disponibil",toggle_power:"Mai multe detalii precum BMI kCal arată/ascunde"},et={ok:"MĂSURARE: OK",unknown:"Stare: unknown",problem:"Problemă",none:"Nimic",weight_unavailable:"Greutate indisponibilă",impedance_unavailable:"Impedanță indisponibilă",weight_unavailable_and_impedance_unavailable:"Greutate și impedanță indisponibile",weight_low:"Greutate redusă",impedance_low:"Impedanță scăzută",weight_low_and_impedance_low:"Greutate și impedanță scăzute",impedance_low_and_weight_low:"Impedanță și greutate scăzute",weight_high:"Greutate mare",impedance_high:"Impedanță mare",weight_high_and_impedance_high:"Greutate și impedanță ridicate",weight_high_and_impedance_low:"Greutate mare, impedanță scăzută",weight_low_and_impedance_high:"Greutate redusă, impedanță ridicată"},at={"weight: ":"Greutate: ","impedance: ":"Impedanță: ","height: ":"Înălţime: ","age: ":"Vârstă: ","gender: ":"Gen: "},ot={male:"masculin",female:"feminin",unavailable:"indisponibil"},it={bmi:"IMC",bmi_label:"Eticheta IMC",visceral_fat:"Grasime viscerala",body_fat:"Grăsime corporală",protein:"Proteină",water:"Apă",muscle_mass:"Masă musculară",bone_mass:"Masă osoasă",weight:"Greutate",ideal:"Ideal",basal_metabolism:"Metabolismul bazal",body_type:"Tipul corpului",metabolic_age:"Vârsta metabolică"},tt={skinny:"Slab",balanced_skinny:"Slab-echilibrat",skinny_muscular:"Slab-muscular",balanced:"Echilibrat",balanced_muscular:"Balanced-muscular",lack_exercise:"Lipsa-exercițiu",thick_set:"Îndesat",obese:"Obez",overweight:"Supraponderal",underweight:"Subponderal",normal_or_healthy_weight:"Greutate normală sau sănătoasă",slight_overweight:"Ușor supraponderal",moderate_obesity:"Obezitate moderată",severe_obesity:"Obezitate severă",massive_obesity:"Obezitate masivă",unavailable:"indisponibil"},lt={" years":" ani"},nt={missing_entity:"Vă rugăm să definiți o entitate.",missing_entity_bodymiscale:"Definiți o entitate bodymiscale."},rt={entity:"Vă rugăm să selectați un cont de cântar (obligatoriu)!",image:"Imagine de fundal (opțional)",icons_body:"Calea pictogramelor (ex: /local/images/bodyscoreIcon)",model:"Aveți un senzor de impedanță?",model1:"Activați această funcție pentru măsurători precise ale compoziției corporale.",model_aria_label_on:"Activare impedanță",model_aria_label_off:"Dezactivare impedanță",unit:"Convertiți kg în lbs",unit_aria_label_on:"Activați conversia",unit_aria_label_off:"Dezactivați conversia",theme:"Configurați tema pe care o utilizați.",theme_aria_label_on:"Activează lumina temei",theme_aria_label_off:"Dezactivați tema întunecată",show_name:"Afișați numele contului ca titlu?",show_name_aria_label_on:"Activează numele afișat",show_name_aria_label_off:"Dezactivați numele afișat",show_states:"Arată starea?",show_states_aria_label_on:"Comutați starea afișajului",show_states_aria_label_off:"Dezactivați starea afișajului",show_attributes:"Afișați datele de bază personale (dreapta sus)?",show_attributes_aria_label_on:"Activați/dezactivați atributele de afișare",show_attributes_aria_label_off:"Dezactivați atributele de afișare",show_always_details:"Afișați întotdeauna detalii",show_always_details_aria_label_on:"Activați vizualizarea implicită a detaliilor",show_always_details_aria_label_off:"Dezactivați vizualizarea implicită a detaliilor",show_toolbar:"Arată opțiuni avansate?",show_toolbar_aria_label_on:"Comutați afișarea opțiunilor avansate",show_toolbar_aria_label_off:"Dezactivați afișarea opțiunilor avansate",show_body:"Oferiți detalii suplimentare de măsurare",show_body1:"(Jumătatea inferioară - pictograma chevron în jos le va arăta)?",show_body_aria_label_on:"Comutați afișarea scorului corporal",show_body_aria_label_off:"Dezactivați scorul pentru corpul afișat",show_buttons:"Permiteți schimbarea contului?",show_buttons_aria_label_on:"Activați butoanele afișajului",show_buttons_aria_label_off:"Dezactivați butoanele de afișare",header_options:"1. Opțiuni pentru antetul cardului",body_options:"2. Mai multe opțiuni de card",code_only_note:"ATENŢIE: Opțiuni suplimentare sunt disponibile numai în editorul de cod."},st={from:"De la",icon_position:"Poziția pictogramei",label_below:"Etichetă dedesubt",left:"La stânga",minmax_position:"Poziția Min/Max",name_position:"Poziția numelui",off:"Oprit",on:"Pornit",right:"La dreapta",severity_generator_help:"Link către ajutorul pentru severitate",showabovelabels:"Afișează etichetele deasupra",showbelowlabels:"Afișează etichetele dedesubt",target:"Țintă",to:"La",value_position:"Poziția valorii"},dt={color:"Culoare",disabled:"Dezactivat",red:"Roșu",pink:"Roz",purple:"Violet","deep-purple":"Violet închis",indigo:"Indigo",blue:"Albastru","light-blue":"Albastru deschis",cyan:"Cian",teal:"Albastru-verde",green:"Verde","light-green":"Verde deschis",lime:"Lămâie",yellow:"Galben",amber:"Chihlimbar",orange:"Portocaliu",orangered:"Portocaliu-roșu","deep-orange":"Portocaliu închis",brown:"Maro","light-grey":"Gri deschis",grey:"Gri","dark-grey":"Gri închis","blue-grey":"Gri-albastru",darkgreen:"Verde închis",royalblue:"Albastru regal",black:"Negru",white:"Alb"},ct={balanced:"Echilibrat",good:"Bun",increased:"Crescut",insufficient:"Insuficient",high:"Înalt",low:"Scăzut",normal:"Normal",obese:"Obez",objective_achieved:"Obiectiv atins",objective_not_achieved:"Obiectiv neatins",overweight:"Supraponderal",underweight:"Subponderal",very_high:"Foarte înalt",very_low:"Foarte scăzut"},_t={common:Qi,states:et,attributes:at,attributes_value:ot,body:it,body_value:tt,unit:lt,error:nt,editor:rt,editor_body:st,color_select:dt,label_below:ct},bt={version:"Версия",name:"Карточка Bodymiscale",description:"Карточка BodyMiScale отображает показатели тела, рассчитанные на основе результатов измерения веса и биоимпеданса.",not_available:"Компонент Bodymiscale не доступен",toggle_power:"Показать/скрыть дополнительные сведения о BMI"},ht={ok:"Измерение: OK",unknown:"Состояние: неизвестно",problem:"Проблема",none:"Нет",weight_unavailable:"Вес недоступен",impedance_unavailable:"Биоимпеданс недоступен",weight_unavailable_and_impedance_unavailable:"Вес и импеданс недоступны",weight_low:"Низкий вес",impedance_low:"Низкий биоимпеданс",weight_low_and_impedance_low:"Низкий вес и импеданс",impedance_low_and_weight_low:"Низкий импеданс и вес",weight_high:"Высокий вес",impedance_high:"Высокий биоимпеданс",weight_high_and_impedance_high:"Высокий вес и импеданс",weight_high_and_impedance_low:"Высокий вес, низкий биоимпеданс",weight_low_and_impedance_high:"Низкий вес, высокий биоимпеданс"},mt={"weight: ":"Вес: ","impedance: ":"Импеданс: ","height: ":"Рост: ","age: ":"Возраст: ","gender: ":"Пол: "},ut={male:"мужской",female:"женский",unavailable:"недоступен"},gt={bmi:"Индекс BMI",bmi_label:"Интерпретация BMI",visceral_fat:"Висцеральный жир",body_fat:"Жировая ткань",protein:"Белки",water:"Вода",muscle_mass:"Мышечная масса",bone_mass:"Костная масса",weight:"Вес",ideal:"Идеальный вес",basal_metabolism:"Базальный метаболизм",body_type:"Тип тела",metabolic_age:"Метаболический возраст"},pt={skinny:"Тощий",balanced_skinny:"Худощавый",skinny_muscular:"Подтянуто-мускулистый",balanced:"Оптимальный",balanced_muscular:"Мускулистый",lack_exercise:"Недостаток упражнений",thick_set:"Коренастый",obese:"Ожирение",overweight:"Лишний вес",underweight:"Недостаточный вес",normal_or_healthy_weight:"Нормальный вес",slight_overweight:"Избыточный вес",moderate_obesity:"Ожирение 1й степени",severe_obesity:"Ожирение 2й степени",massive_obesity:"Ожирение 3й степени",unavailable:"недоступен"},wt={" years":" года(лет)"},yt={missing_entity:"Определите сущность.",missing_entity_bodymiscale:"Определите сущность BodyMiScale."},ft={entity:"Сущность BodyMiScale (обязательно)",image:"Фоновое изображение (опционально)",icons_body:"Путь к иконкам (например: /local/images/bodyscoreIcon)",model:"У вас есть датчик импеданса?",model1:"Включите эту функцию для точных измерений состава тела.",model_aria_label_on:"Включить импеданс",model_aria_label_off:"Выключить импеданс",unit:"Преобразование кг в фунты",unit_aria_label_on:"Преобразовать кг в фунты",unit_aria_label_off:"Не преобразовывать кг в фунты",show_name:"Отображение имени пользователя",show_name_aria_label_on:"Отображать имя пользователя",show_name_aria_label_off:"Не отображать имя пользователя",show_states:"Отображение состояния",show_states_aria_label_on:"Отображать состояние",show_states_aria_label_off:"Не отображать состояние",show_attributes:"Отображение персональных данных",show_attributes_aria_label_on:"Отображать персональные данные",show_attributes_aria_label_off:"Не отображать персональные данные",show_always_details:"Всегда показывать детали",show_always_details_aria_label_on:"Постоянное отображение деталей",show_always_details_aria_label_off:"Не отображайте данные на постоянной основе",show_toolbar:"Отображение панели дополнительных параметров",show_toolbar_aria_label_on:"Отображать панель дополнительных параметров",show_toolbar_aria_label_off:"Не отображать панель дополнительных параметров",show_body:"Отображение дополнительных параметров",show_body1:"(по нажатию кнопки со стрелкой вниз)",show_body_aria_label_on:"Отображать дополнительные параметры",show_body_aria_label_off:"Не отображать дополнительные параметры",show_buttons:"Переключение аккаунтов",show_buttons_aria_label_on:"Отображать кнопки",show_buttons_aria_label_off:"Не отображать кнопки",header_options:"1. Настройки заголовка карточки",body_options:"2. Дополнительные настройки карточки",code_only_note:"ВНИМАНИЕ: Дополнительные настройки отображаются только в редакторе кода."},vt={from:"От",icon_position:"Позиция иконки",label_below:"Метка снизу",left:"Слева",minmax_position:"Позиция Min/Max",name_position:"Позиция имени",off:"Выключено",on:"Вкл.",right:"Справа",severity_generator_help:"Ссылка на справку по серьезности",showabovelabels:"Показать метки сверху",showbelowlabels:"Показать метки снизу",target:"Цель",to:"К",value_position:"Позиция значения"},kt={color:"Цвет",disabled:"Отключено",red:"Красный",pink:"Розовый",purple:"Фиолетовый","deep-purple":"Темно-фиолетовый",indigo:"Индиго",blue:"Синий","light-blue":"Голубой",cyan:"Циан",teal:"Бирюзовый",green:"Зеленый","light-green":"Светло-зеленый",lime:"Лайм",yellow:"Желтый",amber:"Янтарный",orange:"Оранжевый",orangered:"Красно-оранжевый","deep-orange":"Темно-оранжевый",brown:"Коричневый","light-grey":"Светло-серый",grey:"Серый","dark-grey":"Темно-серый","blue-grey":"Серый синий",darkgreen:"Темно-зеленый",royalblue:"Королевский синий",black:"Черный",white:"Белый"},zt={balanced:"Оптимальный",good:"Хорошо",increased:"Повышенный",insufficient:"Недостаточно",high:"Высокий",low:"Низкий",normal:"Нормальный",obese:"Ожирение",objective_achieved:"Цель достигнута",objective_not_achieved:"Цель не достигнута",overweight:"Лишний вес",underweight:"Недостаточный вес",very_high:"Очень высокий",very_low:"Очень низкий"},$t={common:bt,states:ht,attributes:mt,attributes_value:ut,body:gt,body_value:pt,unit:wt,error:yt,editor:ft,editor_body:vt,color_select:kt,label_below:zt},xt={version:"Версія",name:"Картка Bodymiscale",description:"Картка Bodymiscale показує ваш вагу та пов'язані з нею показники тіла.",not_available:"Bodymiscale недоступний",toggle_power:"Більше деталей, таких як ІМТ, кКал, показати/приховати"},At={ok:"ВИМІРЮВАННЯ: ОК",unknown:"СТАН: невідомо",problem:"Проблема",none:"Немає",weight_unavailable:"Вага недоступна",impedance_unavailable:"Імпеданс недоступний",weight_unavailable_and_impedance_unavailable:"Вага та імпеданс недоступні",weight_low:"Низька вага",impedance_low:"Низький імпеданс",weight_low_and_impedance_low:"Низька вага та імпеданс",impedance_low_and_weight_low:"Низький імпеданс та вага",weight_high:"Висока вага",impedance_high:"Високий імпеданс",weight_high_and_impedance_high:"Висока вага та імпеданс",weight_high_and_impedance_low:"Висока вага, низький імпеданс",weight_low_and_impedance_high:"Низька вага, високий імпеданс"},Mt={"weight: ":"Вага: ","impedance: ":"Імпеданс: ","height: ":"Зріст: ","age: ":"Вік: ","gender: ":"Стать: "},jt={male:"чоловік",female:"жінка",unavailable:"недоступно"},Pt={bmi:"ІМТ",bmi_label:"Мітка ІМТ",visceral_fat:"Вісцеральний жир",body_fat:"Жир тіла",protein:"Білок",water:"Вода",muscle_mass:"М'язова маса",bone_mass:"Кісткова маса",weight:"Вага",ideal:"Ідеал",basal_metabolism:"Базальний метаболізм",body_type:"Тип тіла",metabolic_age:"Метаболічний вік"},St={skinny:"Худий",balanced_skinny:"Збалансований худий",skinny_muscular:"Худий м'язистий",balanced:"Збалансований",balanced_muscular:"Збалансований м'язистий",lack_exercise:"Недостатня активність",thick_set:"Кремезний",obese:"Ожиріння",overweight:"Надмірна вага",underweight:"Недостатня вага",normal_or_healthy_weight:"Нормальна або здорова вага",slight_overweight:"Легка надмірна вага",moderate_obesity:"Помірне ожиріння",severe_obesity:"Серйозне ожиріння",massive_obesity:"Критичне ожиріння",unavailable:"недоступно"},Ct={" years":" років"},It={invalid_config:"Недійсна конфігурація",missing_entity:"Будь ласка, визначте сутність.",missing_entity_bodymiscale:"Будь ласка, визначте сутність bodymiscale."},Ot={configuration:"Конфігурація",customization:"Налаштування",entity:"Будь ласка, виберіть обліковий запис на вазі (обов'язково)!",image:"Фонове зображення (необов'язково)",icons_body:"Шлях до іконок (наприклад, /local/images/bodyscoreIcon)",model:"У вас є сенсор імпедансу?",model1:"Увімкніть цю функцію для точних вимірювань складу тіла.",model_aria_label_on:"Увімкнути імпеданс",model_aria_label_off:"Вимкнути імпеданс",unit:"Конвертувати кг у фунти",unit_aria_label_on:"Увімкнути конвертацію",unit_aria_label_off:"Вимкнути конвертацію",theme:"Налаштуйте тему, яку ви використовуєте.",theme_aria_label_on:"Увімкнути світлу тему",theme_aria_label_off:"Вимкнути темну тему",show_name:"Показувати ім'я облікового запису як заголовок?",show_name_aria_label_on:"Увімкнути відображення імені",show_name_aria_label_off:"Вимкнути відображення імені",show_states:"Показувати стан?",show_states_aria_label_on:"Увімкнути відображення стану",show_states_aria_label_off:"Вимкнути відображення стану",show_attributes:"Показувати особисті основні дані (вгорі праворуч)?",show_attributes_aria_label_on:"Увімкнути відображення атрибутів",show_attributes_aria_label_off:"Вимкнути відображення атрибутів",show_always_details:"Завжди показувати деталі",show_always_details_aria_label_on:"Увімкнути детальний перегляд за замовчуванням",show_always_details_aria_label_off:"Вимкнути детальний перегляд за замовчуванням",show_toolbar:"Показувати додаткові опції?",show_toolbar_aria_label_on:"Увімкнути відображення додаткових опцій",show_toolbar_aria_label_off:"Вимкнути відображення додаткових опцій",show_body:"Пропонувати додаткові вимірювання",show_body1:"(нижня частина - іконка стрілки вниз покаже їх)?",show_body_aria_label_on:"Увімкнути відображення показників тіла",show_body_aria_label_off:"Вимкнути відображення показників тіла",show_buttons:"Дозволити перемикання облікових записів?",show_buttons_aria_label_on:"Увімкнути відображення кнопок",show_buttons_aria_label_off:"Вимкнути відображення кнопок",header_options:"1. Опції заголовка картки",body_options:"2. Додаткові опції картки",code_only_note:"УВАГА: Додаткові опції доступні лише в редакторі коду."},Tt={from:"Від",icon_position:"Позиція іконки",label_below:"Мітка знизу",left:"Ліворуч",minmax_position:"Позиція мін/макс",name_position:"Позиція імені",off:"Вимк.",on:"Увімк.",right:"Праворуч",severity_generator_help:"Посилання на довідку з налаштування серйозності",showabovelabels:"Показувати мітки зверху",showbelowlabels:"Показувати мітки знизу",to:"До",value_position:"Позиція значення"},Bt={color:"Колір",disabled:"Вимкнено",red:"Червоний",pink:"Рожевий",purple:"Фіолетовий","deep-purple":"Темно-фіолетовий",indigo:"Індиго",blue:"Синій","light-blue":"Світло-синій",cyan:"Блакитний",teal:"Синьо-зелений",green:"Зелений","light-green":"Світло-зелений",lime:"Лайм",yellow:"Жовтий",amber:"Бурштиновий",orange:"Помаранчевий",orangered:"Червонувато-помаранчевий","deep-orange":"Темно-помаранчевий",brown:"Коричневий","light-grey":"Світло-сірий",grey:"Сірий","dark-grey":"Темно-сірий","blue-grey":"Сіро-блакитний",darkgreen:"Темно-зелений",royalblue:"Королівський синій",black:"Чорний",white:"Білий"},Et={common:xt,states:At,attributes:Mt,attributes_value:jt,body:Pt,body_value:St,unit:Ct,error:It,editor:Ot,editor_body:Tt,color_select:Bt},Nt={version:"Version",name:"Bodymiscale Card",description:"The bodymiscale card shows you your weight wise / related body status.",not_available:"Bodymiscale is not available",toggle_power:"More details like BMI kCal show / hide"},Dt={ok:"MEASUREMENT: OK",unknown:"STATE: unknown",problem:"Problem",none:"None",weight_unavailable:"Weight unavailable",impedance_unavailable:"Impedance unavailable",weight_unavailable_and_impedance_unavailable:"Weight and impedance unavailable",weight_low:"Weight low",impedance_low:"Impedance low",weight_low_and_impedance_low:"Weight and impedance low",impedance_low_and_weight_low:"Impedance and weight low",weight_high:"Weight high",impedance_high:"Impedance high",weight_high_and_impedance_high:"Weight and impedance high",weight_high_and_impedance_low:"Weight high, impedance low",weight_low_and_impedance_high:"Weight low, impedance high"},Vt={"weight: ":"Weight: ","impedance: ":"Impedance: ","height: ":"Height: ","age: ":"Age: ","gender: ":"Gender: "},qt={male:"male",female:"female",unavailable:"unavailable"},Lt={bmi:"BMI",bmi_label:"BMI label",visceral_fat:"Mỡ nội tạng",body_fat:"Mỡ cơ thể",protein:"Chất đạm",water:"Nước",muscle_mass:"Khối lượng cơ",bone_mass:"Khối lượng xương",weight:"Cân nặng",ideal:"Lý tưởng",basal_metabolism:"Trao đổi chất cơ bản",body_type:"Kiểu cơ thể",metabolic_age:"Tuổi chuyển hóa"},Gt={skinny:"Gầy",balanced_skinny:"Cân đối - gầy",skinny_muscular:"Gầy - cơ bắp",balanced:"Cân bằng",balanced_muscular:"Cơ bắp cân bằng",lack_exercise:"Thiếu tập thể dục",thick_set:"Thick-set",obese:"Béo phì",overweight:"Thừa cân",underweight:"Thiếu cân",normal_or_healthy_weight:"Cân nặng bình thường hoặc khỏe mạnh",slight_overweight:"Hơi thừa cân",moderate_obesity:"Béo phì vừa phải",severe_obesity:"Béo phì nghiêm trọng",massive_obesity:"Massive obesity",unavailable:"Không có sẵn"},Ut={" years":" years"},Kt={missing_entity:"Please define an entity.",missing_entity_bodymiscale:"Please define a bodymiscale entity."},Rt={entity:"Please select an account on the scale (required)!",image:"Background image (optional)",icons_body:"Đường dẫn biểu tượng (ví dụ: /local/images/bodyscoreIcon)",model:"Do you have an impedance sensor?",model1:"Enable this feature for accurate body composition measurements.",model_aria_label_on:"Enable impedance",model_aria_label_off:"Disable impedance",unit:"Convert kg to lbs",unit_aria_label_on:"Toggle the conversion on",unit_aria_label_off:"Toggle the conversion off",theme:"Configure the theme you use.",theme_aria_label_on:"Toggle theme light on",theme_aria_label_off:"Toggle theme dark off",show_name:"Show the name of the account as title?",show_name_aria_label_on:"Toggle display name on",show_name_aria_label_off:"Toggle display name off",show_states:"Show State?",show_states_aria_label_on:"Toggle display state on",show_states_aria_label_off:"Toggle display state off",show_attributes:"Show personal master data (top right)?",show_attributes_aria_label_on:"Toggle display attributes on",show_attributes_aria_label_off:"Toggle display attributes off",show_always_details:"Always show details",show_always_details_aria_label_on:"Toggle default detail view on",show_always_details_aria_label_off:"Toggle default detail view off",show_toolbar:"Show advanced options?",show_toolbar_aria_label_on:"Toggle display advanced options on",show_toolbar_aria_label_off:"Toggle display advanced options off",show_body:"Offer further measurement details",show_body1:"(lower half - icon chevron down will show those)?",show_body_aria_label_on:"Toggle display body score on",show_body_aria_label_off:"Toggle display body score off",show_buttons:"Allow account switch?",show_buttons_aria_label_on:"Toggle display buttons on",show_buttons_aria_label_off:"Toggle display buttons off",header_options:"1. Card header options",body_options:"2. More card options",code_only_note:"ATTENTION: Additional options are only available in the code editor."},Wt={from:"Từ",icon_position:"Vị trí biểu tượng",label_below:"Nhãn bên dưới",left:"Bên trái",minmax_position:"Vị trí Min/Max",name_position:"Vị trí tên",off:"Tắt",on:"Bật",right:"Bên phải",severity_generator_help:"Liên kết đến Trợ giúp về Mức độ nghiêm trọng",showabovelabels:"Hiển thị nhãn phía trên",showbelowlabels:"Hiển thị nhãn phía dưới",target:"Mục tiêu",to:"Đến",value_position:"Vị trí giá trị"},Ht={color:"Màu sắc",disabled:"Tắt",red:"Đỏ",pink:"Hồng",purple:"Tím","deep-purple":"Tím đậm",indigo:"Chàm",blue:"Xanh dương","light-blue":"Xanh nhạt",cyan:"Cyan",teal:"Lục lam",green:"Xanh lá","light-green":"Xanh lá nhạt",lime:"Chanh",yellow:"Vàng",amber:"Hổ phách",orange:"Cam",orangered:"Cam đỏ","deep-orange":"Cam đậm",brown:"Nâu","light-grey":"Xám nhạt",grey:"Xám","dark-grey":"Xám đậm","blue-grey":"Xám xanh dương",darkgreen:"Xanh lá đậm",royalblue:"Xanh dương hoàng gia",black:"Đen",white:"Trắng"},Zt={balanced:"Cân bằng",good:"Tốt",increased:"Tăng",insufficient:"Không đủ",high:"Cao",low:"Thấp",normal:"Bình thường",obese:"Béo phì",objective_achieved:"Mục tiêu đạt được",objective_not_achieved:"Mục tiêu chưa đạt",overweight:"Thừa cân",underweight:"Thiếu cân",very_high:"Rất cao",very_low:"Rất thấp"},Ft={common:Nt,states:Dt,attributes:Vt,attributes_value:qt,body:Lt,body_value:Gt,unit:Ut,error:Kt,editor:Rt,editor_body:Wt,color_select:Ht,label_below:Zt},Xt={version:"版本",name:"米家体脂称卡片",description:"米家体脂称卡片会显示你的体重以及相关身体状态",not_available:"Bodymiscale 不可用",toggle_power:"显示/隐藏更多详情,例如: BMI, kCal"},Jt={ok:"测量: OK",unknown:"状态: 未知",problem:"故障",none:"无",weight_unavailable:"体重不可用",impedance_unavailable:"阻抗不可用",weight_unavailable_and_impedance_unavailable:"体重和阻抗均不可用",weight_low:"体重过轻",impedance_low:"阻抗低",weight_low_and_impedance_low:"体重和阻抗均偏低",impedance_low_and_weight_low:"阻抗和体重均偏低",weight_high:"体重过重",impedance_high:"阻抗高",weight_high_and_impedance_high:"体重和阻抗均偏高",weight_high_and_impedance_low:"体重过重, 阻抗低",weight_low_and_impedance_high:"体重过轻, 阻抗高"},Yt={"weight: ":"重量: ","impedance: ":"阻抗: ","height: ":"身高: ","age: ":"年龄: ","gender: ":"性别: "},Qt={male:"男",female:"女",unavailable:"不可用"},el={bmi:"BMI",bmi_label:"BMI 标签",visceral_fat:"内脏脂肪",body_fat:"体脂",protein:"蛋白质",water:"水分",muscle_mass:"肌肉量",bone_mass:"骨量",weight:"体重",ideal:"理想体重",basal_metabolism:"基本代谢",body_type:"身体类型",metabolic_age:"代谢年龄"},al={skinny:"偏瘦",balanced_skinny:"健美型",skinny_muscular:"偏瘦肌肉",balanced:"标准型",balanced_muscular:"标准肌肉",lack_exercise:"缺乏运动",thick_set:"结实型偏胖",obese:"偏胖型",overweight:"肥胖型",underweight:"过轻",normal_or_healthy_weight:"正常或健康",slight_overweight:"轻微超重",moderate_obesity:"中度肥胖",severe_obesity:"过度肥胖",massive_obesity:"严重肥胖",unavailable:"不可用"},ol={" years":" 岁"},il={missing_entity:"Please define an entity.",missing_entity_bodymiscale:"Please define a bodymiscale entity."},tl={entity:"Please select an account on the scale (required) !",image:"Background image (optional)",icons_body:"图标路径 (例如:/local/images/bodyscoreIcon)",model:"Do you have an impedance sensor?",model1:"Enable this feature for accurate body composition measurements.",model_aria_label_on:"Enable impedance",model_aria_label_off:"Disable impedance",unit:"Convert kg to lbs",unit_aria_label_on:"Toggle the conversion on",unit_aria_label_off:"Toggle the conversion off",show_name:"Show the name of the account as title ?",show_name_aria_label_on:"Toggle display name on",show_name_aria_label_off:"Toggle display name off",show_states:"Show State ?",show_states_aria_label_on:"Toggle display state on",show_states_aria_label_off:"Toggle display state off",show_attributes:"Show personal master data (top right) ?",show_attributes_aria_label_on:"Toggle display attributes on",show_attributes_aria_label_off:"Toggle display attributes off",show_always_details:"Always show details",show_always_details_aria_label_on:"Toggle default detail view on",show_always_details_aria_label_off:"Toggle default detail view off",show_toolbar:"Show advanced options ?",show_toolbar_aria_label_on:"Toggle display advanced options on",show_toolbar_aria_label_off:"Toggle display advanced options off",show_body:"Offer further measurement details",show_body1:"(lower half - icon chevron down will show those) ?",show_body_aria_label_on:"Toggle display body score on",show_body_aria_label_off:"Toggle display body score off",show_buttons:"Allow account switch ?",show_buttons_aria_label_on:"Toggle display buttons on",show_buttons_aria_label_off:"Toggle display buttons off",header_options:"1. Card header options",body_options:"2. More card options",code_only_note:"ATTENTION: Additional options are only available in the code editor."},ll={from:"从",icon_position:"图标位置",label_below:"下方标签",left:"左侧",minmax_position:"最小/最大位置",name_position:"名称位置",off:"关闭",on:"开启",right:"右侧",severity_generator_help:"链接到严重程度帮助",showabovelabels:"显示上方标签",showbelowlabels:"显示下方标签",target:"目标",to:"到",value_position:"值的位置"},nl={color:"颜色",disabled:"禁用",red:"红色",pink:"粉色",purple:"紫色","deep-purple":"深紫色",indigo:"靛蓝",blue:"蓝色","light-blue":"浅蓝色",cyan:"青色",teal:"蓝绿色",green:"绿色","light-green":"浅绿色",lime:"石灰色",yellow:"黄色",amber:"琥珀色",orange:"橙色",orangered:"红橙色","deep-orange":"深橙色",brown:"棕色","light-grey":"浅灰色",grey:"灰色","dark-grey":"深灰色","blue-grey":"蓝灰色",darkgreen:"深绿色",royalblue:"皇家蓝",black:"黑色",white:"白色"},rl={balanced:"标准型",good:"好",increased:"增加",insufficient:"不足",high:"高",low:"低",normal:"正常",obese:"偏胖型",objective_achieved:"目标达成",objective_not_achieved:"目标未达成",overweight:"肥胖型",underweight:"过轻",very_high:"非常高",very_low:"非常低"},sl={common:Xt,states:Jt,attributes:Yt,attributes_value:Qt,body:el,body_value:al,unit:ol,error:il,editor:tl,editor_body:ll,color_select:nl,label_below:rl},dl={version:"版本",name:"米家體脂計卡片",description:"米家體脂計卡片會顯示你的體重以及相關身體狀態",not_available:"Bodymiscale 不可用",toggle_power:"顯示/隱藏更多詳情,例如: BMI, kCal"},cl={ok:"測量: OK",unknown:"狀態: 未知",problem:"故障",none:"無",weight_unavailable:"體重不可用",impedance_unavailable:"阻抗不可用",weight_unavailable_and_impedance_unavailable:"體重和阻抗均不可用",weight_low:"體重過輕",impedance_low:"阻抗低",weight_low_and_impedance_low:"體重和阻抗均偏低",impedance_low_and_weight_low:"阻抗和體重均偏低",weight_high:"體重過重",impedance_high:"阻抗高",weight_high_and_impedance_high:"體重和阻抗均偏高",weight_high_and_impedance_low:"體重過重, 阻抗低",weight_low_and_impedance_high:"體重過輕, 阻抗高"},_l={"weight: ":"重量: ","impedance: ":"阻抗: ","height: ":"身高: ","age: ":"年齡: ","gender: ":"性別: "},bl={male:"男",female:"女",unavailable:"不可用"},hl={bmi:"BMI",bmi_label:"BMI 標籤",visceral_fat:"內臟脂肪",body_fat:"體脂",protein:"蛋白質",water:"水分",muscle_mass:"肌肉量",bone_mass:"骨量",weight:"體重",ideal:"理想體重",basal_metabolism:"基本代謝",body_type:"身體類型",metabolic_age:"代謝年齡"},ml={skinny:"偏瘦",balanced_skinny:"健美型",skinny_muscular:"偏瘦肌肉",balanced:"標準型",balanced_muscular:"標準肌肉",lack_exercise:"缺乏運動",thick_set:"結實型偏胖",obese:"偏胖型",overweight:"肥胖型",underweight:"過輕",normal_or_healthy_weight:"正常或健康",slight_overweight:"輕微超重",moderate_obesity:"中度肥胖",severe_obesity:"過度肥胖",massive_obesity:"嚴重肥胖",unavailable:"不可用"},ul={" years":" 歲"},gl={missing_entity:"Please define an entity.",missing_entity_bodymiscale:"Please define a bodymiscale entity."},pl={entity:"Please select an account on the scale (required) !",image:"Background image (optional)",icons_body:"圖示路徑 (例如:/local/images/bodyscoreIcon)",model:"Do you have an impedance sensor?",model1:"Enable this feature for accurate body composition measurements.",model_aria_label_on:"Enable impedance",model_aria_label_off:"Disable impedance",unit:"Convert kg to lbs",unit_aria_label_on:"Toggle the conversion on",unit_aria_label_off:"Toggle the conversion off",show_name:"Show the name of the account as title ?",show_name_aria_label_on:"Toggle display name on",show_name_aria_label_off:"Toggle display name off",show_states:"Show State ?",show_states_aria_label_on:"Toggle display state on",show_states_aria_label_off:"Toggle display state off",show_attributes:"Show personal master data (top right) ?",show_attributes_aria_label_on:"Toggle display attributes on",show_attributes_aria_label_off:"Toggle display attributes off",show_always_details:"Always show details",show_always_details_aria_label_on:"Toggle default detail view on",show_always_details_aria_label_off:"Toggle default detail view off",show_toolbar:"Show advanced options ?",show_toolbar_aria_label_on:"Toggle display advanced options on",show_toolbar_aria_label_off:"Toggle display advanced options off",show_body:"Offer further measurement details",show_body1:"(lower half - icon chevron down will show those) ?",show_body_aria_label_on:"Toggle display body score on",show_body_aria_label_off:"Toggle display body score off",show_buttons:"Allow account switch ?",show_buttons_aria_label_on:"Toggle display buttons on",show_buttons_aria_label_off:"Toggle display buttons off",header_options:"1. Card header options",body_options:"2. More card options",code_only_note:"ATTENTION: Additional options are only available in the code editor."},wl={from:"從",icon_position:"圖示位置",label_below:"下方標籤",left:"左側",minmax_position:"最小/最大位置",name_position:"名稱位置",off:"關閉",on:"開啟",right:"右側",severity_generator_help:"連結至嚴重程度說明",showabovelabels:"顯示上方標籤",showbelowlabels:"顯示下方標籤",target:"目標",to:"到",value_position:"數值位置"},yl={color:"顏色",disabled:"禁用",red:"紅色",pink:"粉色",purple:"紫色","deep-purple":"深紫色",indigo:"靛藍",blue:"藍色","light-blue":"淺藍色",cyan:"青色",teal:"藍綠色",green:"綠色","light-green":"淺綠色",lime:"酸橙色",yellow:"黃色",amber:"琥珀色",orange:"橙色",orangered:"紅橙色","deep-orange":"深橙色",brown:"棕色","light-grey":"淺灰色",grey:"灰色","dark-grey":"深灰色","blue-grey":"藍灰色",darkgreen:"深綠色",royalblue:"皇家藍",black:"黑色",white:"白色"},fl={balanced:"標準型",good:"好",increased:"增加",insufficient:"不足",high:"高",low:"低",normal:"正常",obese:"偏胖型",objective_achieved:"目標達成",objective_not_achieved:"目標未達成",overweight:"肥胖型",underweight:"過輕",very_high:"非常高",very_low:"非常低"},vl={common:dl,states:cl,attributes:_l,attributes_value:bl,body:hl,body_value:ml,unit:ul,error:gl,editor:pl,editor_body:wl,color_select:yl,label_below:fl};const kl={cs:qe,da:ea,de:ma,en:ja,es:Ga,ca:Object.freeze({__proto__:null,attributes:Ra,attributes_value:Wa,body:Ha,body_value:Za,color_select:Qa,common:Ua,default:ao,editor:Ja,editor_body:Ya,error:Xa,label_below:eo,states:Ka,unit:Fa}),fr:Object.freeze({__proto__:null,attributes:to,attributes_value:lo,body:no,body_value:ro,color_select:ho,common:oo,default:uo,editor:_o,editor_body:bo,error:co,label_below:mo,states:io,unit:so}),hu:Object.freeze({__proto__:null,attributes:wo,attributes_value:yo,body:fo,body_value:vo,color_select:Ao,common:go,default:jo,editor:$o,editor_body:xo,error:zo,label_below:Mo,states:po,unit:ko}),it:Object.freeze({__proto__:null,attributes:Co,attributes_value:Io,body:Oo,body_value:To,color_select:Vo,common:Po,default:Lo,editor:No,editor_body:Do,error:Eo,label_below:qo,states:So,unit:Bo}),ja:Object.freeze({__proto__:null,attributes:Ko,attributes_value:Ro,body:Wo,body_value:Ho,color_select:Yo,common:Go,default:ei,editor:Xo,editor_body:Jo,error:Fo,label_below:Qo,states:Uo,unit:Zo}),nl:Object.freeze({__proto__:null,attributes:ii,attributes_value:ti,body:li,body_value:ni,color_select:_i,common:ai,default:hi,editor:di,editor_body:ci,error:si,label_below:bi,states:oi,unit:ri}),pl:Object.freeze({__proto__:null,attributes:gi,attributes_value:pi,body:wi,body_value:yi,color_select:$i,common:mi,default:Ai,editor:ki,editor_body:zi,error:vi,label_below:xi,states:ui,unit:fi}),pt:Object.freeze({__proto__:null,attributes:Pi,attributes_value:Si,body:Ci,body_value:Ii,color_select:Ni,common:Mi,default:Vi,editor:Bi,editor_body:Ei,error:Ti,label_below:Di,states:ji,unit:Oi}),pt_BR:Object.freeze({__proto__:null,attributes:Gi,attributes_value:Ui,body:Ki,body_value:Ri,color_select:Xi,common:qi,default:Yi,editor:Zi,editor_body:Fi,error:Hi,label_below:Ji,states:Li,unit:Wi}),ro:Object.freeze({__proto__:null,attributes:at,attributes_value:ot,body:it,body_value:tt,color_select:dt,common:Qi,default:_t,editor:rt,editor_body:st,error:nt,label_below:ct,states:et,unit:lt}),ru:Object.freeze({__proto__:null,attributes:mt,attributes_value:ut,body:gt,body_value:pt,color_select:kt,common:bt,default:$t,editor:ft,editor_body:vt,error:yt,label_below:zt,states:ht,unit:wt}),uk:Object.freeze({__proto__:null,attributes:Mt,attributes_value:jt,body:Pt,body_value:St,color_select:Bt,common:xt,default:Et,editor:Ot,editor_body:Tt,error:It,states:At,unit:Ct}),vi:Object.freeze({__proto__:null,attributes:Vt,attributes_value:qt,body:Lt,body_value:Gt,color_select:Ht,common:Nt,default:Ft,editor:Rt,editor_body:Wt,error:Kt,label_below:Zt,states:Dt,unit:Ut}),zh_Hans:Object.freeze({__proto__:null,attributes:Yt,attributes_value:Qt,body:el,body_value:al,color_select:nl,common:Xt,default:sl,editor:tl,editor_body:ll,error:il,label_below:rl,states:Jt,unit:ol}),zh_Hant:Object.freeze({__proto__:null,attributes:_l,attributes_value:bl,body:hl,body_value:ml,color_select:yl,common:dl,default:vl,editor:pl,editor_body:wl,error:gl,label_below:fl,states:cl,unit:ul})},zl="en";function $l(e,a,o){var i;const[t,l]=e.toLowerCase().split(".");let n=null;try{n=JSON.parse(null!==(i=localStorage.getItem("selectedLanguage"))&&void 0!==i?i:'""')}catch(e){console.warn(e),n=localStorage.getItem("selectedLanguage")}const r=(n||navigator.language.split("-")[0]||zl).replace(/['"]+/g,"").replace("-","_");let s;try{s=kl[r][t][l]}catch(e){console.warn(e),s=kl[zl][t][l]}if(void 0===s&&(s=kl[zl][t][l]),void 0!==s)return s}function xl(e,a){void 0===a&&(a={});var o=a.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style");t.type="text/css","top"===o&&i.firstChild?i.insertBefore(t,i.firstChild):i.appendChild(t),t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}}var Al=n`:host {
--bc-background: var(
--ha-card-background,
var(--card-background-color, white)
);
--bc-primary-text-color: var(--primary-text-color, #000);
--bc-secondary-text-color: var(--secondary-text-color, #555);
--bc-icon-color: var(--secondary-text-color);
--bc-toolbar-background: var(--bc-background);
--bc-toolbar-text-color: var(--bc-secondary-text-color);
--bc-toolbar-icon-color: var(--bc-secondary-text-color);
--bc-divider-color: var(--entities-divider-color, var(--divider-color, #ccc));
--bc-spacing: 5px;
--ha-card-border-radius: 12px;
--ha-icon-size: 24px;
/* Couleurs spécifiques pour les éléments */
--bc-bar-height: 24px;
--bc-bar-background: #e0e0e0;
--bc-bar-current: #007bff; /* Couleur de la barre */
--bc-bar-target: rgba(255, 255, 255, 0.4); /* Couleur pour la cible */
--bc-bar-remaining: rgb(
25.5,
140.7,
25.5
); /* Couleur pour la partie restante */
--bc-bar-marker: red;
}
ha-card {
display: flex;
flex-direction: column;
height: 100%;
border-radius: var(--ha-card-border-radius);
overflow: hidden;
}
.background {
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
height: auto;
border-radius: var(--ha-card-border-radius);
overflow: hidden;
}
.pointer {
cursor: pointer;
}
.preview {
background: var(--bc-background);
cursor: pointer;
position: relative;
}
.preview.not-available {
filter: grayscale(1);
}
.not-available {
text-align: center;
color: #333;
color: var(--text-primary-color, #333);
font-size: 16px;
}
.metadata {
margin: var(--bc-spacing) auto;
}
.bodymiscale-name {
font-size: 20px;
text-align: center;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.flex {
display: flex;
align-items: center;
justify-content: space-evenly;
}
.grid {
cursor: pointer;
display: grid;
grid-template-columns: repeat(2, 1fr);
}
.grid-left,
.grid-right {
display: flex;
flex-direction: column;
gap: 6px;
}
.grid-left {
text-align: left;
padding-left: 10px;
border-left: 2px solid var(--primary-color);
}
.grid-right {
text-align: right;
padding-right: 10px;
border-right: 2px solid var(--primary-color);
}
#items {
transform-origin: top;
transform: scaleY(0);
opacity: 0;
transition: transform 0.3s ease, opacity 0.3s ease;
max-height: 0;
}
#items[open] {
transform: scaleY(1);
opacity: 1;
max-height: 500px;
}
.toolbar {
background: var(--bc-toolbar-background);
min-height: 30px;
display: flex;
flex-direction: row;
align-items: center;
gap: 0px;
padding-left: 8px;
padding-right: 8px;
}
.toolbar ha-icon-button {
align-items: center;
justify-content: center;
}
.fill-gap {
flex-grow: 1;
gap: 0px;
}
.toolbar ha-icon {
width: var(--ha-icon-size);
height: var(--ha-icon-size);
fill: currentColor;
margin: 0;
font-size: 0px; /* Override font-size inheritance to fix icon alignment */
}
.image {
display: inline-flex;
align-items: center;
justify-content: center;
position: relative;
vertical-align: middle;
fill: currentColor;
width: var(--ha-icon-size);
height: var(--ha-icon-size);
}
.problem {
color: #f44336;
color: var(--error-color, #f44336);
animation: blinker 2s cubic-bezier(0.5, 0, 1, 1) infinite alternate;
}
@keyframes blinker {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.state-div {
display: grid;
grid-template-columns: 24px 1fr;
align-items: start;
}
.state-label {
padding: 3px 0 0 10px;
}
#score {
display: flex;
flex-direction: column;
flex-grow: 1;
padding: 8px;
}
#score > * {
margin-bottom: 8px;
}
#score > :last-child {
margin-top: 0px;
margin-bottom: 0px;
}
#score > :first-child {
margin-top: 0px;
}
.flex-container {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
width: 100%;
}
.value-container {
display: flex;
flex-direction: column;
justify-content: flex-start;
width: 100%;
}
.name {
text-align: left;
}
.minmax {
font-size: 10px;
color: var(--secondary-text-color);
}
.minmax .min, .minmax .max {
color: var(--primary-text-color);
}
.bar-container {
width: 100%;
display: flex;
justify-content: center;
}
.bar-inner {
display: flex;
height: 8px;
width: 100%;
background: lightgray;
position: relative;
border-radius: 8px;
overflow: visible;
}
.bar-marker {
width: 16px;
height: 16px;
border-radius: 50%;
background: white;
background: var(--card-background-color, white);
border: 3px solid var(--primary-color);
}
.bar-marker-wrapper {
position: absolute;
top: 50%;
transform: translate(-50%, -50%);
}
.bar-marker-tooltip {
position: absolute;
top: 20px; /* en dessous du cercle */
left: 50%;
transform: translateX(-50%);
background-color: #fff;
background-color: var(--card-background-color, #fff);
color: #000;
color: var(--primary-text-color, #000);
padding: 2px 6px;
font-size: 10px;
border-radius: 4px;
white-space: nowrap;
opacity: 0;
pointer-events: none;
transition: opacity 0.2s ease;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.bar-marker-wrapper:hover .bar-marker-tooltip,
.bar-marker-wrapper:focus-within .bar-marker-tooltip,
.bar-marker-wrapper:active .bar-marker-tooltip {
opacity: 1;
}
.colorbar-segment {
height: 100%;
position: relative;
}
.segment-label-above {
font-size: 10px;
font-weight: bold;
position: absolute;
text-align: center;
white-space: nowrap;
top: -24px;
left: 100%;
transform: translateX(-50%);
}
.segment-label-below {
font-size: 10px;
font-weight: bold;
position: absolute;
text-align: center;
white-space: nowrap;
bottom: -24px;
left: 50%;
transform: translateX(-50%);
}
.scroll-wrapper {
max-height: 40vh; ; /* Par défaut pour les petits écrans */
overflow-y: auto;
padding-right: 0.5rem; /* espace pour la scrollbar */
scroll-behavior: smooth;
}
/* Scrollbar style */
.scroll-wrapper::-webkit-scrollbar {
width: 6px;
}
.scroll-wrapper::-webkit-scrollbar-thumb {
background-color: rgba(100, 100, 100, 0.3);
border-radius: 4px;
}
/* Pour Firefox */
.scroll-wrapper {
scrollbar-width: thin;
scrollbar-color: rgba(100, 100, 100, 0.3) transparent;
}
/* Styles pour les écrans jusqu'à 600px (téléphones) */
@media (max-width: 600px) {
.scroll-wrapper {
max-height: 50vh;
}
}
@media (min-height: 600px) { /* Pour les écrans plus hauts que 600px */
.scroll-wrapper {
max-height: 300px; /* Utiliser une hauteur fixe sur les écrans plus grands */
}
}
/* Dark mode support complémentaire */
@media (prefers-color-scheme: dark) {
:host {
--bc-bar-background: #444;
--bc-divider-color: #555;
}
}
/* Mobile optimisation */
@media (max-width: 400px) {
.bodymiscale-name {
font-size: 16px;
}
.segment-label {
font-size: 8px;
}
}`;xl(Al);const Ml={disabled:"null",red:"#f44336",pink:"#e91e63",purple:"#926bc7","deep-purple":"#6e41ab",indigo:"#3f51b5",blue:"#2196f3","light-blue":"#03a9f4",cyan:"#00bcd4",teal:"#009688",green:"#4caF50","light-green":"#8bc34a",lime:"#cddc39",yellow:"#ffeb3b",amber:"#ffc107",orange:"#ff9800",orangered:"#ff4500","deep-orange":"#ff6f22",brown:"#795548","light-grey":"#bdbdbd",grey:"#9e9e9e","dark-grey":"#606060","blue-grey":"#607d8b",darkgreen:"#006400",royalblue:"#4169e1",black:"#000000",white:"#FFFFFF"};function jl(e){return Ml[e]?Ml[e]:Ml.disabled}new Set(Object.keys(Ml));let Pl={convertkgtolb:e=>Math.round(2.20462*Number(e)*10)/10};const Sl={status:{key:"state",icon:"mdi:scale-bathroom"},problem:{key:"problem",icon:"mdi:alert"},last_measurement_time:{key:"last_measurement_time",icon:"mdi:calendar-clock"}},Cl={weight:{key:"weight",label:$l("attributes.weight: "),unit:" kg"},impedance:{key:"impedance",label:$l("attributes.impedance: "),unit:" ohm",impedance_required:!0},height:{key:"height",label:$l("attributes.height: "),unit:" cm"},age:{key:"age",label:$l("attributes.age: "),unit:$l("unit. years")},gender:{key:"gender",label:$l("attributes.gender: ")}},Il={weight:{key:"weight",label:$l("attributes.weight: "),unit:" lbs",compute:Pl.convertkgtolb},impedance:{key:"impedance",label:$l("attributes.impedance: "),unit:" ohm",impedance_required:!0},height:{key:"height",label:$l("attributes.height: "),unit:" cm"},age:{key:"age",label:$l("attributes.age: "),unit:$l("unit. years")},gender:{key:"gender",label:$l("attributes.gender: ")}},Ol={basal_metabolism:{key:"basal_metabolism",label:$l("body.basal_metabolism"),icon:"basal_metabolism.png",unit:" kcal",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:0,to:1549,color:"red",label:"objective_not_achieved"},{from:1549,to:3e3,color:"green",label:"objective_achieved"}],impedance_required:!1},bmi:{key:"bmi",label:$l("body.bmi"),icon:"bmi.png",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:12,to:18.5,color:"blue",label:"low"},{from:18.5,to:25,color:"green",label:"normal"},{from:25,to:30,color:"orange",label:"high"},{from:30,to:36.5,color:"red",label:"very_high"}],impedance_required:!1},bmi_label:{key:"bmi_label",label:$l("body.bmi_label"),icon:"body_type.png",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:null,showbelowlabels:null,severity:null,impedance_required:!1},body_fat:{key:"body_fat",label:$l("body.body_fat"),icon:"body_fat.png",unit:" %",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:5,to:12,color:"royalblue",label:"very_low"},{from:12,to:18,color:"blue",label:"low"},{from:18,to:23,color:"green",label:"normal"},{from:23,to:28,color:"orange",label:"increased"},{from:28,to:35,color:"red",label:"high"}],impedance_required:!0},body_type:{key:"body_type",label:$l("body.body_type"),icon:"body_type.png",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:null,showbelowlabels:null,severity:null,impedance_required:!0},bone_mass:{key:"bone_mass",label:$l("body.bone_mass"),icon:"bone_mass.png",unit:" kg",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:0,to:2,color:"red",label:"insufficient"},{from:2,to:4.2,color:"green",label:"normal"},{from:4.2,to:6.4,color:"blue",label:"good"}],impedance_required:!0},ideal:{key:"ideal",label:$l("body.ideal"),icon:"ideal.png",unit:" kg",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:39.3,to:57.3,color:"blue",label:"underweight"},{from:57.3,to:75.3,color:"green",label:"balanced"},{from:75.3,to:93.3,color:"orange",label:"overweight"},{from:93.3,to:111.3,color:"red",label:"obese"}],impedance_required:!1},metabolic_age:{key:"metabolic_age",label:$l("body.metabolic_age"),icon:"metabolic_age.png",unit:$l("unit. years"),color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:null,showbelowlabels:null,severity:null,impedance_required:!0},muscle_mass:{key:"muscle_mass",label:$l("body.muscle_mass"),icon:"muscle_mass.png",unit:" kg",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:39.3,to:49.4,color:"red",label:"insufficient"},{from:49.4,to:59.5,color:"green",label:"normal"},{from:59.5,to:69.6,color:"blue",label:"good"}],impedance_required:!0},protein:{key:"protein",label:$l("body.protein"),icon:"protein.png",unit:" %",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:11,to:16,color:"red",label:"insufficient"},{from:16,to:20,color:"green",label:"normal"},{from:20,to:24,color:"blue",label:"good"}],impedance_required:!0},visceral_fat:{key:"visceral_fat",label:$l("body.visceral_fat"),icon:"visceral_fat.png",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:5,to:10,color:"green",label:"normal"},{from:10,to:15,color:"orange",label:"high"},{from:15,to:20,color:"red",label:"very_high"}],impedance_required:!1},water:{key:"water",label:$l("body.water"),icon:"water.png",unit:" %",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:45,to:55,color:"red",label:"insufficient"},{from:55,to:65.1,color:"green",label:"normal"},{from:65.1,to:75,color:"blue",label:"good"}],impedance_required:!0},weight:{key:"weight",label:$l("body.weight"),icon:"ideal.png",unit:" kg",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:39.3,to:57.3,color:"blue",label:"underweight"},{from:57.3,to:75.3,color:"green",label:"balanced"},{from:75.3,to:93.3,color:"orange",label:"overweight"},{from:93.3,to:111.3,color:"red",label:"obese"}],impedance_required:!1}},Tl={basal_metabolism:{key:"basal_metabolism",label:$l("body.basal_metabolism"),icon:"basal_metabolism.png",unit:" kcal",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:0,to:1549,color:"red",label:"objective_not_achieved"},{from:1549,to:3e3,color:"green",label:"objective_achieved"}],impedance_required:!1},bmi:{key:"bmi",label:$l("body.bmi"),icon:"bmi.png",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:12,to:18.5,color:"blue",label:"low"},{from:18.5,to:25,color:"green",label:"normal"},{from:25,to:30,color:"orange",label:"high"},{from:30,to:36.5,color:"red",label:"very_high"}],impedance_required:!1},bmi_label:{key:"bmi_label",label:$l("body.bmi_label"),icon:"body_type.png",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:null,showbelowlabels:null,severity:null,impedance_required:!1},body_fat:{key:"body_fat",label:$l("body.body_fat"),icon:"body_fat.png",unit:" %",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:5,to:12,color:"royalblue",label:"very_low"},{from:12,to:18,color:"blue",label:"low"},{from:18,to:23,color:"green",label:"normal"},{from:23,to:28,color:"orange",label:"increased"},{from:28,to:35,color:"red",label:"high"}],impedance_required:!0},body_type:{key:"body_type",label:$l("body.body_type"),icon:"body_type.png",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:null,showbelowlabels:null,severity:null,impedance_required:!0},bone_mass:{key:"bone_mass",label:$l("body.bone_mass"),icon:"bone_mass.png",unit:" lbs",compute:Pl.convertkgtolb,color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:0,to:4.41,color:"red",label:"insufficient"},{from:4.41,to:9.26,color:"green",label:"normal"},{from:9.26,to:14.11,color:"blue",label:"good"}],impedance_required:!0},ideal:{key:"ideal",label:$l("body.ideal"),icon:"ideal.png",unit:" lbs",compute:Pl.convertkgtolb,color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:86.64,to:126.34,color:"blue",label:"underweight"},{from:126.34,to:166.04,color:"green",label:"balanced"},{from:166.04,to:205.75,color:"orange",label:"overweight"},{from:205.75,to:245.45,color:"red",label:"obese"}],impedance_required:!1},metabolic_age:{key:"metabolic_age",label:$l("body.metabolic_age"),icon:"metabolic_age.png",unit:$l("unit. years"),color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:null,showbelowlabels:null,severity:null,impedance_required:!0},muscle_mass:{key:"muscle_mass",label:$l("body.muscle_mass"),icon:"muscle_mass.png",unit:" lbs",compute:Pl.convertkgtolb,color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:86.64,to:108.97,color:"red",label:"insufficient"},{from:108.97,to:131.17,color:"green",label:"normal"},{from:131.17,to:153.38,color:"blue",label:"good"}],impedance_required:!0},protein:{key:"protein",label:$l("body.protein"),icon:"protein.png",unit:" %",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:11,to:16,color:"red",label:"insufficient"},{from:16,to:20,color:"green",label:"normal"},{from:20,to:24,color:"blue",label:"good"}],impedance_required:!0},visceral_fat:{key:"visceral_fat",label:$l("body.visceral_fat"),icon:"visceral_fat.png",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:5,to:10,color:"green",label:"normal"},{from:10,to:15,color:"orange",label:"high"},{from:15,to:20,color:"red",label:"very_high"}],impedance_required:!1},water:{key:"water",label:$l("body.water"),icon:"water.png",unit:" %",color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:45,to:55,color:"red",label:"insufficient"},{from:55,to:65.1,color:"green",label:"normal"},{from:65.1,to:75,color:"blue",label:"good"}],impedance_required:!0},weight:{key:"weight",label:$l("body.weight"),icon:"ideal.png",unit:" lbs",compute:Pl.convertkgtolb,color:"var(--score-card-color, var(--ha-card-background))",positions:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:"true",showbelowlabels:"true",severity:[{from:86.64,to:126.34,color:"blue",label:"underweight"},{from:126.34,to:166.04,color:"green",label:"balanced"},{from:166.04,to:205.75,color:"orange",label:"overweight"},{from:205.75,to:245.45,color:"red",label:"obese"}],impedance_required:!1}},Bl={user1:{show:!1,label:"User1",icon:"mdi:alpha-u-circle",entity:""},user2:{show:!1,label:"User2",icon:"mdi:alpha-u-circle",entity:""},user3:{show:!1,label:"User3",icon:"mdi:alpha-u-circle",entity:""},user4:{show:!1,label:"User4",icon:"mdi:alpha-u-circle",entity:""},user5:{show:!1,label:"User5",icon:"mdi:alpha-u-circle",entity:""}},El={model:!1,unit:!1,theme:!0,show_name:!0,show_states:!0,show_attributes:!0,show_always_details:!1,show_toolbar:!0,show_body:!0,show_buttons:!1,attributes:{impedance:{key:"impedance",impedance_required:!0}},body:{basal_metabolism:{key:"basal_metabolism",severity:[{from:0,to:1549,color:"red",label:"objective_not_achieved"},{from:1549,to:3e3,color:"green",label:"objective_achieved"}],impedance_required:!1},bmi:{key:"bmi",severity:[{from:12,to:18.5,color:"blue",label:"low"},{from:18.5,to:25,color:"green",label:"normal"},{from:25,to:30,color:"orange",label:"high"},{from:30,to:36.5,color:"red",label:"very_high"}],impedance_required:!1},bmi_label:{key:"bmi_label",impedance_required:!1},body_fat:{key:"body_fat",severity:[{from:5,to:12,color:"royalblue",label:"very_low"},{from:12,to:18,color:"blue",label:"low"},{from:18,to:23,color:"green",label:"normal"},{from:23,to:28,color:"orange",label:"increased"},{from:28,to:35,color:"red",label:"high"}],impedance_required:!0},body_type:{key:"body_type",impedance_required:!0},bone_mass:{key:"bone_mass",severity:[{from:0,to:2,color:"red",label:"insufficient"},{from:2,to:4.2,color:"green",label:"normal"},{from:4.2,to:6.4,color:"blue",label:"good"}],impedance_required:!0},ideal:{key:"ideal",severity:[{from:39.3,to:57.3,color:"blue",label:"underweight"},{from:57.3,to:75.3,color:"green",label:"balanced"},{from:75.3,to:93.3,color:"orange",label:"overweight"},{from:93.3,to:111.3,color:"red",label:"obese"}],impedance_required:!1},metabolic_age:{key:"metabolic_age",impedance_required:!0},muscle_mass:{key:"muscle_mass",severity:[{from:39.3,to:49.4,color:"red",label:"insufficient"},{from:49.4,to:59.5,color:"green",label:"normal"},{from:59.5,to:69.6,color:"blue",label:"good"}],impedance_required:!0},protein:{key:"protein",severity:[{from:11,to:16,color:"red",label:"insufficient"},{from:16,to:20,color:"green",label:"normal"},{from:20,to:24,color:"blue",label:"good"}],impedance_required:!0},visceral_fat:{key:"visceral_fat",severity:[{from:5,to:10,color:"green",label:"normal"},{from:10,to:15,color:"orange",label:"high"},{from:15,to:20,color:"red",label:"very_high"}],impedance_required:!1},water:{key:"water",severity:[{from:45,to:55,color:"red",label:"insufficient"},{from:55,to:65.1,color:"green",label:"normal"},{from:65.1,to:75,color:"blue",label:"good"}],impedance_required:!0},weight:{key:"weight",severity:[{from:39.3,to:57.3,color:"blue",label:"underweight"},{from:57.3,to:75.3,color:"green",label:"balanced"},{from:75.3,to:93.3,color:"orange",label:"overweight"},{from:93.3,to:111.3,color:"red",label:"obese"}],impedance_required:!1}}};function Nl(e){const{image:a,theme:o,show_toolbar:i,show_body:t}=e;return{background:a?`\n background-image: url('${a}');\n color: white;\n text-shadow: 0 0 10px black;\n min-height: 220px;\n ${i||t?"border-radius: 0;":"border-radius: var(--ha-card-border-radius, 12px);"}\n overflow: hidden;\n `:"",icon:`color: ${a?"white":"var(--state-icon-color)"};`,iconbody:`background-color: ${!1!==o?"var(--state-icon-color)":"white"};`}}console.info(`%c Body-miscale-card \n%c ${$l("common.version")} 2025.11.0 `,"color: cyan; background: black; font-weight: bold;","color: darkblue; background: white; font-weight: bold;");let Dl=class extends ne{constructor(){super(...arguments),this.open=!1}static get styles(){return Al}static async getConfigElement(){return Promise.resolve().then(function(){return Hl}),document.createElement("body-miscale-card-editor")}static getStubConfig(e,a){const[o]=a.filter(e=>e.startsWith("bodymiscale"));return Object.assign(Object.assign({},El),{entity:null!=o?o:""})}get entity(){return this.hass.states[this.config.entity]}setConfig(e){this.config=function(e){var a,o,i,t,l,n,r,s,d,c,_,b,h,m,u,g,p,w,y,f,v;if(!e)throw new Error($l("error.invalid_config"));if(!e.entity)throw new Error($l("error.missing_entity"));if("bodymiscale"!==e.entity.split(".")[0])throw new Error($l("error.missing_entity_bodymiscale"));return{entity:null!==(a=e.entity)&&void 0!==a?a:"",image:null!==(o=e.image)&&void 0!==o?o:"",icons_body:null!==(i=e.icons_body)&&void 0!==i?i:"",model:null!==(t=e.model)&&void 0!==t&&t,impedance_required:null!==(l=e.impedance_required)&&void 0!==l&&l,unit:null!==(n=e.unit)&&void 0!==n&&n,theme:null===(r=e.theme)||void 0===r||r,show_name:null===(s=e.show_name)||void 0===s||s,show_states:null===(d=e.show_states)||void 0===d||d,show_attributes:null===(c=e.show_attributes)||void 0===c||c,show_always_details:null!==(_=e.show_always_details)&&void 0!==_&&_,show_toolbar:null===(b=e.show_toolbar)||void 0===b||b,show_body:null===(h=e.show_body)||void 0===h||h,show_buttons:null!==(m=e.show_buttons)&&void 0!==m&&m,states:xe(Sl,e.states),attributes:e.unit?xe(Il,e.attributes):xe(Cl,e.attributes),body:e.unit?xe(Tl,e.body):xe(Ol,e.body),buttons:!0===e.buttons?{}:xe(Bl,e.buttons),styles:Nl(e),open:null!==(u=e.open)&&void 0!==u&&u,stats:null!==(g=e.stats)&&void 0!==g?g:{},color:null!==(p=e.color)&&void 0!==p?p:void 0,positions:null!==(w=e.positions)&&void 0!==w?w:{icon:"left",name:"left",minmax:"off",value:"right"},showabovelabels:null!==(y=e.showabovelabels)&&void 0!==y?y:void 0,showbelowlabels:null!==(f=e.showbelowlabels)&&void 0!==f?f:void 0,severity:null!==(v=e.severity)&&void 0!==v?v:null}}(e)}getCardSize(){return this.config.show_name&&this.config.show_buttons?4:this.config.show_name||this.config.show_buttons?3:2}shouldShowBackground(){return!(""===this.config.image&&!1===this.config.show_states&&!1===this.config.show_attributes&&!0===this.config.show_always_details&&!0===this.config.show_body)}shouldUpdate(e){return function(e,a,o){if(a.has("config")||o)return!0;if(e.config.entity){var i=a.get("hass");return!i||i.states[e.config.entity]!==e.hass.states[e.config.entity]}return!1}(this,e,!1)}toggle(e){null==e||e.stopPropagation(),this.open=!this.open}customEvent(e){var a;(null===(a=e.detail)||void 0===a?void 0:a.fold_row)&&this.toggle(e)}toggleMenu(e){var a;const o=null===(a=this.shadowRoot)||void 0===a?void 0:a.querySelector(`#bmc-menu-${e}`);o&&"open"in o&&(o.open=!o.open)}handleChange(e){this.hass&&(this.config=Object.assign(Object.assign({},this.config),{entity:e}),$e(this,"config-changed",{config:this.config}))}moreInfo(){var e;(null===(e=this.config)||void 0===e?void 0:e.entity)?$e(this,"hass-more-info",{entityId:this.config.entity}):console.warn("No entity defined in the config.")}renderName(e){return this.config.show_name?G`
${e.attributes.friendly_name}
`:K}renderState(e){var a,o,i,t,l;if(!this.config.show_states)return K;if(!this.hass||!(null===(a=this.config)||void 0===a?void 0:a.entity))return G`${$l("state.default.unavailable")}
`;const n=null===(o=this.hass.states)||void 0===o?void 0:o[this.config.entity];if(!n)return G`
${this.hass.localize("state.default.unavailable")}
`;const r=(null==e?void 0:e.key)&&n,s=r&&void 0!==(null===(i=n.attributes)||void 0===i?void 0:i[e.key]),d=r&&void 0!==n[e.key];let c=s?n.attributes[e.key]:d?n[e.key]:this.hass.localize("state.default.unavailable");if("last_measurement_time"===e.key&&"string"==typeof c)try{const e=new Date(c.replace(" ","T")),a=ge(e,this.hass.locale);c=`${a} ${ye(e,this.hass.locale)}`}catch(e){}const _="number"==typeof c?ke(c,this.hass.locale):c,b=$l(`states.${c}`)||_,h="ok"===n.state&&"mdi:alert"===e.icon?K:G`
${e.icon&&this.renderIcon(e,"default")}
${null!==(t=e.label)&&void 0!==t?t:""}${b}${null!==(l=e.unit)&&void 0!==l?l:""}
`;return`${e.key}_list`in n.attributes&&(s||d)?this.renderDropdown(h,e.key):h}renderAttribute(e){var a,o,i,t,l;if(!this.config.show_attributes)return K;if(!this.hass||!(null===(a=this.config)||void 0===a?void 0:a.entity))return G`${$l("state.default.unavailable")}
`;const n=null===(o=this.hass.states)||void 0===o?void 0:o[this.config.entity];if(!n)return G`
${this.hass.localize("state.default.unavailable")}
`;const r="function"==typeof e.compute?e.compute:e=>e,s=(null==e?void 0:e.key)&&n,d=s&&void 0!==(null===(i=n.attributes)||void 0===i?void 0:i[e.key]),c=s&&void 0!==n[e.key];let _=d?r(n.attributes[e.key]):c?r(n[e.key]):this.hass.localize("state.default.unavailable");if("last_measurement_time"===e.key&&"string"==typeof _)try{const e=new Date(_.replace(" ","T")),a=ge(e,this.hass.locale);_=`${a} ${ye(e,this.hass.locale)}`}catch(e){}const b="number"==typeof _?ke(_,this.hass.locale):_,h=$l(`attributes_value.${_}`)||b,m=G`
${e.icon&&this.renderIcon(e,"default")}
${null!==(t=e.label)&&void 0!==t?t:""}${h}${null!==(l=e.unit)&&void 0!==l?l:""}
`;return`${e.key}_list`in n.attributes&&(d||c)?this.renderDropdown(m,e.key):m}renderBody(e){var a,o,i,t;if(!this.hass||!(null===(a=this.config)||void 0===a?void 0:a.entity))return K;const l=null===(o=this.hass.states)||void 0===o?void 0:o[this.config.entity];if(!l)return G`${this.hass.localize("state.default.unavailable")}
`;const n=(null==e?void 0:e.key)&&l,r=n&&void 0!==(null===(i=l.attributes)||void 0===i?void 0:i[e.key]),s=n&&void 0!==l[e.key],d="function"==typeof e.compute?e.compute:e=>e,c=r?d(l.attributes[e.key]):s?d(l[e.key]):this.hass.localize("state.default.unavailable"),_="number"==typeof c?ke(c,this.hass.locale):c,b=this.getIconUrl(e.icon),h=e.icon?G`
`:K,m=e.label?G`${e.label}
`:K,u="number"==typeof c?this.renderColorBarSegments(e,c,!1):K,g=u!==K,p=g?"bar-container":"bar-container compact",w=e.positions.icon,y=e.positions.name,f=e.positions.minmax,v=e.positions.value,k="off"!==w?h:K,z="off"!==y?m:K;let $=K,x=0,A=100;if("off"!==f&&e.severity){const a=this.getMinMaxFromSeverity(e.severity);x=a.min,A=a.max,$=G`
${$l("editor_body.minmax_label")}
${x}/${A}
`}const M="off"!==v?G`${$l(`body_value.${c}`)||_}${e.unit||""}
`:K,j=["right"===w?k:K,"right"===y?z:K,"right"===f?$:K,"right"===v?M:K];return G`
${["left"===w?k:K,"left"===y?z:K,"left"===f?$:K,"left"===v?M:K].filter(e=>e!==K)}
${j.filter(e=>e!==K)}
${g?G`
${u}
`:K}
`}getMinMaxFromSeverity(e){let a=1/0,o=-1/0;return e&&Array.isArray(e)&&e.forEach(e=>{const i=e.from,t=e.to;let l,n;if("number"==typeof i)l=i;else if("string"==typeof i&&"min"!==i){const e=parseFloat(i);isNaN(e)?"min"===i&&(l=-1/0):l=e}else"min"===i&&(l=-1/0);if("number"==typeof t)n=t;else if("string"==typeof t&&"max"!==t){const e=parseFloat(t);isNaN(e)?"max"===t&&(n=1/0):n=e}else"max"===t&&(n=1/0);void 0===l||isNaN(l)||(a=Math.min(a,l)),void 0===n||isNaN(n)||(o=Math.max(o,n))}),{min:a===1/0?0:a,max:o===-1/0?100:o}}_computePercent(e,a){if(!e||"number"!=typeof a)return 0;const o=e.max-e.min;return o<=0?0:(a-e.min)/o*100}renderColorBarSegments(e,a,o=!0){const{min:i,max:t}=this.getMinMaxFromSeverity(e.severity||[]),l=t-i;if(!e.severity||!Array.isArray(e.severity)||l<=0)return K;const n=e.severity.filter(e=>"disabled"!==e.color&&null!==e.from&&null!==e.to&&void 0!==e.color);if(0===n.length)return K;const r=n.map((a,o)=>{const r=parseFloat(a.from)||i,s=parseFloat(a.to)||t,d=(s-r)/l*100,c=jl(a.color)||"gray",_="false"!==e.showabovelabels,b="false"!==e.showbelowlabels,h=_&&o!==n.length-1?G`${ke(s,this.hass.locale)}${e.unit||""}
`:K,m=b&&a.label?G`${$l(`label_below.${a.label}`)||a.label||""}
`:K;return G`
${h}
${m}
`}),s=this._computePercent({min:i,max:t},a),d=n.find(e=>a>=(parseFloat(e.from)||i)&&a<=(parseFloat(e.to)||t)),c=jl(null==d?void 0:d.color)||"var(--primary-color)",_=G`
${r}
${ke(a,this.hass.locale)}${e.unit||""}
`;return o?G`${_}
`:_}getIconUrl(e){var a,o;return`${null!==(o=null===(a=this.config)||void 0===a?void 0:a.icons_body)&&void 0!==o?o:"/local/images/bodyscoreIcon"}/${e}`}renderIcon(e,a="default"){var o,i,t;if(!this.hass||!(null===(o=this.config)||void 0===o?void 0:o.entity))return K;const l=this.hass.states[this.config.entity];if(!l)return K;const n="water"===e.key.toLowerCase()&&"water_icon"in l.attributes?l.attributes.water_icon:e.icon;if(!n)return K;const r=this.getIconUrl(e.icon);if("body"===a&&r)return G`
`;const s="none"!==l.attributes.problem&&"mdi:alert"===n;return G`
`}renderButton(e){return this.config.show_buttons&&e.show?G`
this.handleChange(e.entity)}
title=${he(e.label)}
>
${e.icon?G``:e.label}
`:K}renderToolbar(){var e;return this.config.show_toolbar?G`
`:K}renderDropdown(e,a){var o,i;if(!this.hass||!(null===(o=this.config)||void 0===o?void 0:o.entity))return K;const t=this.hass.states[this.config.entity];if(!(null==t?void 0:t.attributes))return K;const l=null!==(i=t.attributes[`${a}_list`])&&void 0!==i?i:[];return Array.isArray(l)&&0!==l.length?G` e.stopPropagation()}
>
this.toggleMenu(a)}> ${e}
this.handleChange(l[e.detail.index])}
id=${he(`bmc-menu-${a}`)}
activatable
corner="BOTTOM_START"
>
${l.map(e=>G`
${e}
`)}
`:K}render(){var e,a,o,i;if(!this.hass||!(null===(e=this.config)||void 0===e?void 0:e.entity))return K;const t=this.hass.states[this.config.entity];if(!t)return G`
`;const l=Ae(null!==(a=this.config.body)&&void 0!==a?a:{},this.config.model),n=Ae(null!==(o=this.config.attributes)&&void 0!==o?o:{},this.config.model);return G`
${this.shouldShowBackground()?G`
${this.config.show_name?G`
${this.renderName(t)}
`:""}
${(this.config.states?Object.values(this.config.states):[]).filter(e=>e).map(this.renderState.bind(this))}
${n.filter(Boolean).map(this.renderAttribute.bind(this))}
`:this.config.show_name?G`${this.renderName(t)}
`:""}
${this.renderToolbar()}
${l.filter(Boolean).map(this.renderBody.bind(this))}
`}};e([_e({attribute:!1})],Dl.prototype,"hass",void 0),e([be()],Dl.prototype,"config",void 0),e([be()],Dl.prototype,"open",void 0),Dl=e([se("body-miscale-card")],Dl),window.customCards=window.customCards||[],window.customCards.push({preview:!0,type:"body-miscale-card",name:$l("common.name"),description:$l("common.description")});const Vl=1;let ql=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,a,o){this._$Ct=e,this._$AM=a,this._$Ci=o}_$AS(e,a){return this.update(e,a)}update(e,a){return this.render(...a)}};const Ll="important",Gl=" !"+Ll,Ul=(e=>(...a)=>({_$litDirective$:e,values:a}))(class extends ql{constructor(e){if(super(e),e.type!==Vl||"style"!==e.name||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((a,o)=>{const i=e[o];return null==i?a:a+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(e,[a]){const{style:o}=e.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(a)),this.render(a);for(const e of this.ft)null==a[e]&&(this.ft.delete(e),e.includes("-")?o.removeProperty(e):o[e]=null);for(const e in a){const i=a[e];if(null!=i){this.ft.add(e);const a="string"==typeof i&&i.endsWith(Gl);e.includes("-")||a?o.setProperty(e,a?i.slice(0,-11):i,a?Ll:""):o[e]=i}}return U}});let Kl=class extends ne{constructor(){super(...arguments),this.configValue=""}_selectChanged(e){const a=e.target.value;this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:a||void 0}}))}render(){return G`
e.stopPropagation()}
.value=${this.value}
fixedMenuPosition
naturalMenuWidth
>
${this._renderColorCircle(this.value||"grey")}
${Object.keys(Ml).map(e=>G`
${$l(`color_select.${e}`)||e}
${this._renderColorCircle(e)}
`)}
`}_renderColorCircle(e){return G`
`}static get styles(){return n`
.circle-color {
display: block;
background-color: var(--circle-color, var(--divider-color));
border: 1px solid var(--outline-color);
border-radius: 10px;
width: 20px;
height: 20px;
box-sizing: border-box;
}
ha-select {
width: 100%;
}
`}};e([_e()],Kl.prototype,"label",void 0),e([_e()],Kl.prototype,"value",void 0),e([_e()],Kl.prototype,"configValue",void 0),Kl=e([se("color-select")],Kl);var Rl=n`.card-config {
display: block;
}
.option {
display: flex;
align-items: center;
margin-bottom: 0.5rem;
}
.option ha-switch {
--mdc-theme-secondary: var(--switch-checked-color);
}
.option ha-select,
.option ha-textfield {
width: 100%;
}
.option ha-select.small,
.option ha-textfield.small {
width: 120px;
}
.option ha-textfield.full,
.option ha-select.full {
flex-grow: 1;
width: auto;
}
.option ha-formfield {
padding-bottom: 0.5rem;
}
.flex-space-between {
display: flex;
align-items: center;
justify-content: space-between;
}
.page-title {
font-size: large;
line-height: 200%;
}
.navigation {
display: flex;
justify-content: center;
}
ha-icon-button {
color: var(--primary-color);
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.5rem;
}
ha-icon {
display: inline-flex;
}
ha-form-grid {
display: grid;
grid-template-columns: repeat(
auto-fit,
minmax(200px, 1fr)
);
grid-template-columns: repeat(
var(--form-grid-column-count, auto-fit),
minmax(var(--form-grid-min-width, 200px), 1fr)
);
grid-gap: 0.5rem;
gap: 0.5rem;
margin-top: 0.5rem;
}
.severity-row {
margin-bottom: 0.5rem; /* Ajoute une marge en dessous de chaque bloc .severity-row */
}
.severity-row ha-textfield {
margin-right: 0.5rem;
}
.severity-row .input-line {
display: flex;
margin-bottom: 0.5rem; /* Ajustez l'espacement sous la ligne */
}
.severity-row .input-line ha-textfield {
flex: 1; /* Permet aux champs de prendre l'espace disponible de manière égale */
}
.severity-row .below-line {
display: flex;
align-items: center; /* Aligne verticalement le label et les icônes */
gap: 1rem; /* Ajustez l'espacement entre le label et les icônes */
margin-top: 0.5rem; /* Ajoutez un peu d'espace au-dessus de cette ligne */
}
.severity-row .below-line .label-input {
flex: 1; /* Permet au label de prendre l'espace disponible, poussant les icônes à droite */
width: auto; /* Réinitialise la largeur à auto pour qu'il ne prenne pas toute la largeur initialement */
}
.severity-icons {
display: flex;
align-items: center;
gap: 4px;
}
.severity-icons .compact-icon {
--mdc-icon-button-size: 32px;
--mdc-icon-size: 20px;
padding: 0 !important;
margin: 0 !important;
width: 32px;
height: 32px;
display: inline-flex;
align-items: center;
justify-content: center;
}
.severity-icons .compact-icon ha-icon {
width: 20px;
height: 20px;
}
`;xl(Rl);let Wl=class extends ne{constructor(){super(...arguments),this.page=1,this.selectedColor="white",this.config={},this.isInitialized=!1}setConfig(e){this.config=Object.assign({},e)}async connectedCallback(){super.connectedCallback(),await this.loadCardHelpers()}shouldUpdate(){return this.isInitialized||this.initialize(),!0}render(){if(!this.hass||!this.helpers)return K;const e=Object.assign(Object.assign({},El),this.config);return G`
${1===this.page?this.renderPage1(e):this.renderPage2(e)}
`}_handleConfigClick(){this.page=1}_handleCustomClick(){this.page=2}renderPage1(e){const a=Object.keys(this.hass.states).filter(e=>e.startsWith("bodymiscale."));return G`
${$l("editor.configuration")}
e.stopPropagation()}
fixedMenuPosition
naturalMenuWidth
required
.validationMessage=${$l("error.missing_entity")}
>
${a.map(e=>G`${e}`)}
${this.renderSwitch("model",e)} ${this.renderSwitch("unit",e)}
${this.renderSwitch("theme",e)}
${$l("editor.header_options")}
${this.renderSwitch("show_name",e)}
${this.renderSwitch("show_states",e)}
${this.renderSwitch("show_attributes",e)}
${$l("editor.body_options")}
${this.renderSwitch("show_always_details",e)}
${this.renderSwitch("show_toolbar",e)}
${this.renderSwitch("show_body",e,!0)}
${this.renderSwitch("show_buttons",e,!0)}
${$l("editor.code_only_note")}
`}renderPage2(e){return G`
${$l("editor.customization")}
${this.renderBodyOptions(e)}
`}renderSwitch(e,a,o=!1){return G`
`}renderBodyOptions(e){var a;const o=!1===e.unit?Ol:Tl,i=null!==(a=e.body)&&void 0!==a?a:{};return Object.keys(o).filter(a=>{const i=o[a];return!1!==e.model||!i.impedance_required}).map(e=>{var a,t,l,n,r,s;const d=o[e],c=(null===(a=i[e])||void 0===a?void 0:a.positions)||d.positions||{},_=void 0!==(null===(t=i[e])||void 0===t?void 0:t.showabovelabels)&&null!==(null===(l=i[e])||void 0===l?void 0:l.showabovelabels)?i[e].showabovelabels:d.showabovelabels,b=void 0!==(null===(n=i[e])||void 0===n?void 0:n.showbelowlabels)&&null!==(null===(r=i[e])||void 0===r?void 0:r.showbelowlabels)?i[e].showbelowlabels:d.showbelowlabels,h=(null===(s=i[e])||void 0===s?void 0:s.severity)||d.severity,m=$l(`body.${e}`);return G`
${m}
${["icon","name","minmax","value"].map(a=>this.renderPositionSelect(a,c[a],e))}
${this.renderBooleanSelector("showabovelabels",_,`body.${e}.showabovelabels`)}
${this.renderBooleanSelector("showbelowlabels",b,`body.${e}.showbelowlabels`)}
${this.renderSeverityInputs(h,e)}
`})}renderPositionSelect(e,a,o){const i=null!=a?a:"";return G`
e.stopPropagation()}
fixedMenuPosition
naturalMenuWidth
class="full"
>
${void 0===a?G``:K}
${$l("editor_body.left")}
${$l("editor_body.right")}
${$l("editor_body.off")}
`}renderBooleanSelector(e,a,o){if(null==a)return K;const i=String(a);return G`
e.stopPropagation()}
fixedMenuPosition
naturalMenuWidth
class="full"
>
${$l("editor_body.on")}
${$l("editor_body.off")}
`}renderSeverityInputs(e,a){if(null==e)return K;const o=Array.isArray(e)?e:[],i=o.length>0?o:[{from:"",to:"",color:"",label:""}];return G`
${i.map((e,o)=>{var i,t,l,n;return G`
this.updateNumericSeverity(a,o,"label",e.target.value)}
class="label-input"
>
this.removeNumericSeverity(a,o)}
>
this.addNumericSeverity(a)}
>
window.open("https://dckiller51.github.io/lovelace-body-miscale-card/","_blank")}
.label="${$l("editor_body.severity_generator_help")}"
>
`})}
`}updateNumericSeverity(e,a,o,i){var t;if(this.config&&this.config.body){Array.isArray(null===(t=this.config.body[e])||void 0===t?void 0:t.severity)||(this.config.body[e].severity=[]);const l=[...this.config.body[e].severity];l[a]&&(l[a]=Object.assign(Object.assign({},l[a]),{[o]:i}),this.updateConfig(e,l))}}addNumericSeverity(e){var a,o;if(this.config&&this.config.body){Array.isArray(null===(a=this.config.body[e])||void 0===a?void 0:a.severity)||(this.config.body[e].severity=[]);const i=[...(null===(o=this.config.body[e])||void 0===o?void 0:o.severity)||[]];i.push({from:0,to:0,color:"",label:""}),this.updateConfig(e,i)}}removeNumericSeverity(e,a){var o,i,t;const l=[...(null===(t=null===(i=null===(o=this.config)||void 0===o?void 0:o.body)||void 0===i?void 0:i[e])||void 0===t?void 0:t.severity)||[]].filter((e,o)=>o!==a);0===l.length&&l.push({from:0,to:0,color:"",label:""}),this.updateConfig(e,l)}updateConfig(e,a){this.config&&this.config.body&&(this.config.body[e].severity=a,this.valueChanged())}valueChanged(e=null){if(this.config&&this.hass)if(e&&e.target){const a=e.target;if(a.configValue&&"string"==typeof a.configValue){const e=void 0!==a.checked?a.checked:a.value||void 0,o=a.configValue.split(".");let i=Object.assign({},this.config),t=i;for(let e=0;e