From d26d74ffa437329d494b3832e37626df66b5cd18 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Fri, 26 Jul 2024 13:58:13 +0000 Subject: [PATCH] Made some LoveLace changes. --- config/.HA_VERSION | 2 +- config/packages/triggers/last_message.yaml | 12 +- config/script/speech_processing.yaml | 4 +- config/templates/speech/briefing.yaml | 10 +- .../clock-weather-card/clock-weather-card.js | 251 + .../clock-weather-card.js.gz | Bin 0 -> 54373 bytes .../community/lovelace-mushroom/mushroom.js | 6528 +++++++++-------- .../lovelace-mushroom/mushroom.js.gz | Bin 154532 -> 155362 bytes 8 files changed, 3675 insertions(+), 3132 deletions(-) create mode 100644 config/www/community/clock-weather-card/clock-weather-card.js create mode 100644 config/www/community/clock-weather-card/clock-weather-card.js.gz diff --git a/config/.HA_VERSION b/config/.HA_VERSION index 61d3c46d..106cb4d4 100755 --- a/config/.HA_VERSION +++ b/config/.HA_VERSION @@ -1 +1 @@ -2024.8.0.dev202407200219 \ No newline at end of file +2024.8.0.dev202407250220 \ No newline at end of file diff --git a/config/packages/triggers/last_message.yaml b/config/packages/triggers/last_message.yaml index c68cc784..0ff04dad 100755 --- a/config/packages/triggers/last_message.yaml +++ b/config/packages/triggers/last_message.yaml @@ -20,8 +20,9 @@ template: platform: event event_type: openai_instructions_sent sensor: - - name: "OpenAI" - state: "{{now()}}" + - name: "openai_instructions" + unique_id: openai_instructions + state: "on" attributes: instructions: "{{ trigger.event.data.instructions }}" @@ -29,8 +30,9 @@ template: platform: event event_type: openai_response sensor: - - name: "OpenAI" - state: "{{now()}}" + - name: "openai_response" + unique_id: openai_response + state: "on" attributes: response: "{{ trigger.event.data.response }}" @@ -58,7 +60,7 @@ automation: options: voice: JennyNeural message: >- - "{{ state_attr('sensor.openai', 'response') }}" + "{{ state_attr('sensor.openai_response', 'response') }}" cache: false - service: input_boolean.turn_off diff --git a/config/script/speech_processing.yaml b/config/script/speech_processing.yaml index 793750e4..d82ddf97 100755 --- a/config/script/speech_processing.yaml +++ b/config/script/speech_processing.yaml @@ -75,9 +75,9 @@ speech_processing: {{ agent.response.speech.plain.speech }} cache: true - - event: openai_iresponse + - event: openai_response event_data: - response: "{{ now().strftime('%B %d,%Y %-I:%M %p') }} {{ now().strftime('%p') }}. {{ agent.response.speech.plain.speech | striptags}}" + response: "{{ now().strftime('%B %d,%Y %-I:%M %p') }} {{ agent.response.speech.plain.speech }}" - service: input_boolean.turn_off data: diff --git a/config/templates/speech/briefing.yaml b/config/templates/speech/briefing.yaml index ee9624f1..139656c5 100755 --- a/config/templates/speech/briefing.yaml +++ b/config/templates/speech/briefing.yaml @@ -17,10 +17,6 @@ Inside the house, it is {{ states.climate.downstairs.attributes['current_temperature'] }} degrees with {{ states('sensor.downstairs_thermostat_humidity') }} percent humidity. [Only mention humidity if it seems unusually high] {%- endmacro -%} - {%- macro outside_weather2() -%} - Outside, it is going to be {{ states('sensor.pirateweather_temperature') }} degrees and {{ states('sensor.pirateweather_summary') }} with {{ states('sensor.pirateweather_humidity') }} % humidity. [Only mention humidity if it seems unusually high] - {%- endmacro -%} - {% macro outside_weather() %} [Here is the current weather outside] {%- for entity in states.sensor if 'pirateweather' in entity.entity_id %} @@ -175,7 +171,7 @@ {%- elif states('sensor.easter_countdown') | int(9999)< 15 -%} and don't forget, there are {{ states.sensor.easter_countdown.state }} days until Easter Sunday! {%- elif states('sensor.thanksgiving_day_countdown') | int(9999)< 10 and states('sensor.thanksgiving_day_countdown') | int(9999)> 0 -%} - and don't forget, there are {{ states.sensor.thanksgiving_day_countdown.state }} days until Thanksgiving + and don't forget, there are {{ states.sensor.thanksgiving_day_countdown.state }} thankful days until Thanksgiving {%- elif states('sensor.thanksgiving_day_countdown') | int(9999)< 1 -%} and don't forget, Thanksgiving is tomorrow! {%- elif states('sensor.halloween_countdown') | int(9999)< 30 and states('sensor.halloween_countdown') | int(9999)> 0 -%} @@ -232,8 +228,8 @@ - Justin (Son): {{ states('person.justin') }} - Paige (Daughter): {{ states('person.paige') }} and our cat Molly: Always home. - [Avoid repeating information from the last broadcast if it was recently broadcasted] - Last broadcast: {{states('input_text.lastmsg_openai')}} + Previous broadcast: "{{ state_attr('sensor.openai_response', 'response') }}" + [Avoid repeating information from the previous broadcast if it was within the hour] New Information: {% if call_no_announcement != 1 %} diff --git a/config/www/community/clock-weather-card/clock-weather-card.js b/config/www/community/clock-weather-card/clock-weather-card.js new file mode 100644 index 00000000..2a132d8d --- /dev/null +++ b/config/www/community/clock-weather-card/clock-weather-card.js @@ -0,0 +1,251 @@ +function e(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(n=(a<3?s(n):a>3?s(t,i,n):s(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n}function t(e,t,i,r){return new(i||(i=Promise))((function(s,a){function n(e){try{l(r.next(e))}catch(e){a(e)}}function o(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(n,o)}l((r=r.apply(e,t||[])).next())}))}"function"==typeof SuppressedError&&SuppressedError; +/** + * @license + * Copyright 2019 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ +const i=window,r=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),a=new WeakMap;let n=class{constructor(e,t,i){if(this._$cssResult$=!0,i!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(r&&void 0===e){const i=void 0!==t&&1===t.length;i&&(e=a.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&a.set(t,e))}return e}toString(){return this.cssText}};const o=r?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const i of e.cssRules)t+=i.cssText;return(e=>new n("string"==typeof e?e:e+"",void 0,s))(t)})(e):e +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */;var l;const c=window,d=c.trustedTypes,u=d?d.emptyScript:"",h=c.reactiveElementPolyfillSupport,m={toAttribute(e,t){switch(t){case Boolean:e=e?u:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let i=e;switch(t){case Boolean:i=null!==e;break;case Number:i=null===e?null:Number(e);break;case Object:case Array:try{i=JSON.parse(e)}catch(e){i=null}}return i}},f=(e,t)=>t!==e&&(t==t||e==e),p={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:f},y="finalized";let b=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(e){var t;this.finalize(),(null!==(t=this.h)&&void 0!==t?t:this.h=[]).push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach(((t,i)=>{const r=this._$Ep(i,t);void 0!==r&&(this._$Ev.set(r,i),e.push(r))})),e}static createProperty(e,t=p){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const i="symbol"==typeof e?Symbol():"__"+e,r=this.getPropertyDescriptor(e,i,t);void 0!==r&&Object.defineProperty(this.prototype,e,r)}}static getPropertyDescriptor(e,t,i){return{get(){return this[t]},set(r){const s=this[e];this[t]=r,this.requestUpdate(e,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||p}static finalize(){if(this.hasOwnProperty(y))return!1;this[y]=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),void 0!==e.h&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const i of t)this.createProperty(i,e[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const e of i)t.unshift(o(e))}else void 0!==e&&t.push(o(e));return t}static _$Ep(e,t){const i=t.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof e?e.toLowerCase():void 0}_$Eu(){var e;this._$E_=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(e=this.constructor.h)||void 0===e||e.forEach((e=>e(this)))}addController(e){var t,i;(null!==(t=this._$ES)&&void 0!==t?t:this._$ES=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(i=e.hostConnected)||void 0===i||i.call(e))}removeController(e){var t;null===(t=this._$ES)||void 0===t||t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])}))}createRenderRoot(){var e;const t=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions);return((e,t)=>{r?e.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet)):t.forEach((t=>{const r=document.createElement("style"),s=i.litNonce;void 0!==s&&r.setAttribute("nonce",s),r.textContent=t.cssText,e.appendChild(r)}))})(t,this.constructor.elementStyles),t}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostConnected)||void 0===t?void 0:t.call(e)}))}enableUpdating(e){}disconnectedCallback(){var e;null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostDisconnected)||void 0===t?void 0:t.call(e)}))}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$EO(e,t,i=p){var r;const s=this.constructor._$Ep(e,i);if(void 0!==s&&!0===i.reflect){const a=(void 0!==(null===(r=i.converter)||void 0===r?void 0:r.toAttribute)?i.converter:m).toAttribute(t,i.type);this._$El=e,null==a?this.removeAttribute(s):this.setAttribute(s,a),this._$El=null}}_$AK(e,t){var i;const r=this.constructor,s=r._$Ev.get(e);if(void 0!==s&&this._$El!==s){const e=r.getPropertyOptions(s),a="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==(null===(i=e.converter)||void 0===i?void 0:i.fromAttribute)?e.converter:m;this._$El=s,this[s]=a.fromAttribute(t,e.type),this._$El=null}}requestUpdate(e,t,i){let r=!0;void 0!==e&&(((i=i||this.constructor.getPropertyOptions(e)).hasChanged||f)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===i.reflect&&this._$El!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,i))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((e,t)=>this[t]=e)),this._$Ei=void 0);let t=!1;const i=this._$AL;try{t=this.shouldUpdate(i),t?(this.willUpdate(i),null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)})),this.update(i)):this._$Ek()}catch(e){throw t=!1,this._$Ek(),e}t&&this._$AE(i)}willUpdate(e){}_$AE(e){var t;null===(t=this._$ES)||void 0===t||t.forEach((e=>{var t;return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){void 0!==this._$EC&&(this._$EC.forEach(((e,t)=>this._$EO(t,this[t],e))),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}}; +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ +var g;b[y]=!0,b.elementProperties=new Map,b.elementStyles=[],b.shadowRootOptions={mode:"open"},null==h||h({ReactiveElement:b}),(null!==(l=c.reactiveElementVersions)&&void 0!==l?l:c.reactiveElementVersions=[]).push("1.6.3");const w=window,v=w.trustedTypes,k=v?v.createPolicy("lit-html",{createHTML:e=>e}):void 0,x="$lit$",T=`lit$${(Math.random()+"").slice(9)}$`,M="?"+T,S=`<${M}>`,_=document,N=()=>_.createComment(""),O=e=>null===e||"object"!=typeof e&&"function"!=typeof e,A=Array.isArray,$="[ \t\n\f\r]",Z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,C=/-->/g,B=/>/g,U=RegExp(`>|${$}(?:([^\\s"'>=/]+)(${$}*=${$}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),G=/'/g,V=/"/g,E=/^(?:script|style|textarea|title)$/i,D=(e=>(t,...i)=>({_$litType$:e,strings:t,values:i}))(1),j=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),z=new WeakMap,L=_.createTreeWalker(_,129,null,!1);function F(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==k?k.createHTML(t):t}const P=(e,t)=>{const i=e.length-1,r=[];let s,a=2===t?"":"",n=Z;for(let t=0;t"===l[0]?(n=null!=s?s:Z,c=-1):void 0===l[1]?c=-2:(c=n.lastIndex-l[2].length,o=l[1],n=void 0===l[3]?U:'"'===l[3]?V:G):n===V||n===G?n=U:n===C||n===B?n=Z:(n=U,s=void 0);const u=n===U&&e[t+1].startsWith("/>")?" ":"";a+=n===Z?i+S:c>=0?(r.push(o),i.slice(0,c)+x+i.slice(c)+T+u):i+T+(-2===c?(r.push(void 0),t):u)}return[F(e,a+(e[i]||"")+(2===t?"":"")),r]};class H{constructor({strings:e,_$litType$:t},i){let r;this.parts=[];let s=0,a=0;const n=e.length-1,o=this.parts,[l,c]=P(e,t);if(this.el=H.createElement(l,i),L.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(r=L.nextNode())&&o.length0){r.textContent=v?v.emptyScript:"";for(let i=0;iA(e)||"function"==typeof(null==e?void 0:e[Symbol.iterator]))(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==I&&O(this._$AH)?this._$AA.nextSibling.data=e:this.$(_.createTextNode(e)),this._$AH=e}g(e){var t;const{values:i,_$litType$:r}=e,s="number"==typeof r?this._$AC(e):(void 0===r.el&&(r.el=H.createElement(F(r.h,r.h[0]),this.options)),r);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===s)this._$AH.v(i);else{const e=new q(s,this),t=e.u(this.options);e.v(i),this.$(t),this._$AH=e}}_$AC(e){let t=z.get(e.strings);return void 0===t&&z.set(e.strings,t=new H(e)),t}T(e){A(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let i,r=0;for(const s of e)r===t.length?t.push(i=new R(this.k(N()),this.k(N()),this,this.options)):i=t[r],i._$AI(s),r++;r2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=I}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,i,r){const s=this.strings;let a=!1;if(void 0===s)e=W(this,e,t,0),a=!O(e)||e!==this._$AH&&e!==j,a&&(this._$AH=e);else{const r=e;let n,o;for(e=s[0],n=0;n{var r,s;const a=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:t;let n=a._$litPart$;if(void 0===n){const e=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;a._$litPart$=n=new R(t.insertBefore(N(),e),e,void 0,null!=i?i:{})}return n._$AI(e),n})(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!1)}render(){return j}};se.finalized=!0,se._$litElement$=!0,null===(ie=globalThis.litElementHydrateSupport)||void 0===ie||ie.call(globalThis,{LitElement:se});const ae=globalThis.litElementPolyfillSupport;null==ae||ae({LitElement:se}),(null!==(re=globalThis.litElementVersions)&&void 0!==re?re:globalThis.litElementVersions=[]).push("3.3.3"); +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ +const ne=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(i){i.createProperty(t.key,e)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(i){i.createProperty(t.key,e)}},oe=(e,t,i)=>{t.constructor.createProperty(i,e)}; +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */function le(e){return(t,i)=>void 0!==i?oe(e,t,i):ne(e,t) +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */}function ce(e){return le({...e,state:!0})} +/** + * @license + * Copyright 2021 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */var de,ue,he;null===(de=window.HTMLSlotElement)||void 0===de||de.prototype.assignedElements,function(e){e.language="language",e.system="system",e.comma_decimal="comma_decimal",e.decimal_comma="decimal_comma",e.space_comma="space_comma",e.none="none"}(ue||(ue={})),function(e){e.language="language",e.system="system",e.am_pm="12",e.twenty_four="24"}(he||(he={}));var me=["closed","locked","off"],fe=function(e,t,i,r){r=r||{},i=null==i?{}:i;var s=new Event(t,{bubbles:void 0===r.bubbles||r.bubbles,cancelable:Boolean(r.cancelable),composed:void 0===r.composed||r.composed});return s.detail=i,e.dispatchEvent(s),s},pe=function(e){fe(window,"haptic",e)},ye=function(e,t,i,r){if(r||(r={action:"more-info"}),!r.confirmation||r.confirmation.exemptions&&r.confirmation.exemptions.some((function(e){return e.user===t.user.id}))||(pe("warning"),confirm(r.confirmation.text||"Are you sure you want to "+r.action+"?")))switch(r.action){case"more-info":(i.entity||i.camera_image)&&fe(e,"hass-more-info",{entityId:i.entity?i.entity:i.camera_image});break;case"navigate":r.navigation_path&&function(e,t,i){void 0===i&&(i=!1),i?history.replaceState(null,"",t):history.pushState(null,"",t),fe(window,"location-changed",{replace:i})}(0,r.navigation_path);break;case"url":r.url_path&&window.open(r.url_path);break;case"toggle":i.entity&&(function(e,t){(function(e,t,i){void 0===i&&(i=!0);var r,s=function(e){return e.substr(0,e.indexOf("."))}(t),a="group"===s?"homeassistant":s;switch(s){case"lock":r=i?"unlock":"lock";break;case"cover":r=i?"open_cover":"close_cover";break;default:r=i?"turn_on":"turn_off"}e.callService(a,r,{entity_id:t})})(e,t,me.includes(e.states[t].state))}(t,i.entity),pe("success"));break;case"call-service":if(!r.service)return void pe("failure");var s=r.service.split(".",2);t.callService(s[0],s[1],r.service_data,r.target),pe("success");break;case"fire-dom-event":fe(e,"ll-custom",r)}};function be(e){return void 0!==e&&"none"!==e.action}class ge{constructor(e,t,i){this.r=e,this.g=t,this.b=i}toRgbString(){return`rgb(${this.r}, ${this.g}, ${this.b})`}}var we=((e,...t)=>{const i=1===e.length?e[0]:t.reduce(((t,i,r)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[r+1]),e[0]);return new n(i,e,s)})` + + ha-card { + --bar-height: 1.5rem; + height: 100%; + } + + clock-weather-card-today { + display: flex; + } + + clock-weather-card-today-left { + display: flex; + width: 35%; + align-items: center; + justify-content: center; + } + + .grow-img { + max-width: 100%; + max-height: 100%; + } + + clock-weather-card-today-right { + display: flex; + width: 65%; + justify-content: space-around; + align-items: center; + } + + clock-weather-card-today-right-wrap { + display: flex; + flex-direction: column; + } + + clock-weather-card-today-right-wrap-top { + width: 100%; + text-align: end; + display: block; + } + + clock-weather-card-today-right-wrap-center { + display: flex; + height: 4rem; + font-size: 3.5rem; + white-space: nowrap; + align-items: center; + justify-content: center; + } + + clock-weather-card-today-right-wrap-bottom { + display: flex; + justify-content: start; + } + + clock-weather-card-forecast { + display: block; + } + + clock-weather-card-forecast-row { + display: grid; + grid-template-columns: var(--col-one-size) 2rem 2.1rem auto 2.1rem; + align-items: center; + grid-gap: 0.5rem; + } + + forecast-text { + text-align: var(--text-align); + white-space: nowrap; + text-overflow: clip; + } + + forecast-icon { + display: flex; + align-items: center; + justify-content: center; + } + + forecast-temperature-bar { + position: relative; + width: 100%; + height: var(--bar-height); + border-radius: calc(var(--bar-height) / 2); + overflow: hidden; + } + + forecast-temperature-bar-background { + left: 0%; + right: 100%; + width: 100%; + opacity: 0.25; + background: var(--light-primary-color); + } + + forecast-temperature-bar-current-indicator-dot { + --border-width: 2px; + background-color: var(--primary-text-color); + border-radius: 50%; + width: var(--bar-height); + box-shadow: inset 0 0 0 var(--border-width) var(--text-light-primary-color); + margin-left: calc(var(--move-right) * -1 * var(--bar-height)); + } + + forecast-temperature-bar-range { + border-radius: calc(var(--bar-height) / 2); + left: var(--start-percent); + right: calc(100% - var(--end-percent)); + background: linear-gradient(to right, var(--gradient)); + overflow: hidden; + min-width: var(--bar-height); + margin-left: calc(var(--move-right) * -1 * var(--bar-height)); + } + + forecast-temperature-bar-current-indicator { + opacity: 0.75; + left: var(--position); + } + + forecast-temperature-bar-current-indicator, + forecast-temperature-bar-current-indicator-dot, + forecast-temperature-bar-background, + forecast-temperature-bar-range { + height: 100%; + position: absolute; + } + + aqi { + padding: 2px; + border-radius: 5px; + } +` +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */;class ve{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,i){this._$Ct=e,this._$AM=t,this._$Ci=i}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}const ke="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.maxTouchPoints>0;class xe extends HTMLElement{constructor(){super(),this.holdTime=500,this.held=!1,this.ripple=document.createElement("mwc-ripple")}connectedCallback(){Object.assign(this.style,{position:"absolute",width:ke?"100px":"50px",height:ke?"100px":"50px",transform:"translate(-50%, -50%)",pointerEvents:"none",zIndex:"999"}),this.appendChild(this.ripple),this.ripple.primary=!0,["touchcancel","mouseout","mouseup","touchmove","mousewheel","wheel","scroll"].forEach((e=>{document.addEventListener(e,(()=>{clearTimeout(this.timer),this.stopAnimation(),this.timer=void 0}),{passive:!0})}))}bind(e,t){if(e.actionHandler)return;e.actionHandler=!0,e.addEventListener("contextmenu",(e=>{const t=e||window.event;return t.preventDefault&&t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0,t.returnValue=!1,!1}));const i=e=>{var t,i;this.held=!1;const r=null!==(t=e.pageX)&&void 0!==t?t:e.touches[0].pageX,s=null!==(i=e.pageY)&&void 0!==i?i:e.touches[0].pageY;this.timer=window.setTimeout((()=>{this.startAnimation(r,s),this.held=!0}),this.holdTime)},r=i=>{i.preventDefault(),["touchend","touchcancel"].includes(i.type)&&void 0===this.timer||(clearTimeout(this.timer),this.stopAnimation(),this.timer=void 0,this.held?fe(e,"action",{action:"hold"}):t.hasDoubleClick?"click"===i.type&&i.detail<2||!this.dblClickTimeout?this.dblClickTimeout=window.setTimeout((()=>{this.dblClickTimeout=void 0,fe(e,"action",{action:"tap"})}),250):(clearTimeout(this.dblClickTimeout),this.dblClickTimeout=void 0,fe(e,"action",{action:"double_tap"})):fe(e,"action",{action:"tap"}))};e.addEventListener("touchstart",i,{passive:!0}),e.addEventListener("touchend",r),e.addEventListener("touchcancel",r),e.addEventListener("mousedown",i,{passive:!0}),e.addEventListener("click",r),e.addEventListener("keyup",(e=>{13===e.keyCode&&r(e)}))}startAnimation(e,t){Object.assign(this.style,{left:`${e}px`,top:`${t}px`,display:null}),this.ripple.disabled=!1,this.ripple.active=!0,this.ripple.unbounded=!0}stopAnimation(){this.ripple.active=!1,this.ripple.disabled=!0,this.style.display="none"}}customElements.define("action-handler-clock-weather",xe);const Te=(e,t)=>{const i=(()=>{const e=document.body;if(e.querySelector("action-handler-clock-weather"))return e.querySelector("action-handler-clock-weather");const t=document.createElement("action-handler-clock-weather");return e.appendChild(t),t})();i&&i.bind(e,t)},Me=(e=>(...t)=>({_$litDirective$:e,values:t}))(class extends ve{update(e,[t]){return Te(e.element,t),j}render(e){}});var Se={"clear-night":"Ясно",cloudy:"Облачно",fog:"Мъгла",hail:"Градушка",lightning:"Гръмотевични бури","lightning-rainy":"Дъждовни гръмотевични бури",partlycloudy:"Частична облачност",pouring:"Пороен дъжд",rainy:"Дъждовно",snowy:"Сняг","snowy-rainy":"Суграшица",sunny:"Слънчево",windy:"Ветровито","windy-variant":"Силен вятър",exceptional:"Изключително"},_e={1:"Пн",2:"Вт",3:"Ср",4:"Чт",5:"Пт",6:"Сб",7:"Нд"},Ne={aqi:"AQI",humidity:"Влажност","feels-like":"Усеща се като"},Oe={weather:Se,day:_e,misc:Ne},Ae=Object.freeze({__proto__:null,day:_e,default:Oe,misc:Ne,weather:Se}),$e={"clear-night":"Klart",cloudy:"Overskyet",fog:"Tåge",hail:"Hagl",lightning:"Lyn","lightning-rainy":"Lyn ,regnvejr",partlycloudy:"Delvis overskyet",pouring:"Regnvejr",rainy:"Regnfuldt",snowy:"Sne","snowy-rainy":"Slud",sunny:"Solrig",windy:"Blæsende","windy-variant":"Stærk vind",exceptional:"Kaos"},Ze={1:"Man",2:"Tir",3:"Ons",4:"Tor",5:"Fre",6:"Lør",7:"Søn"},Ce={aqi:"AQI",humidity:"fugtighed","feels-like":"Feels like"},Be={weather:$e,day:Ze,misc:Ce},Ue=Object.freeze({__proto__:null,day:Ze,default:Be,misc:Ce,weather:$e}),Ge={"clear-night":"Serè",cloudy:"Ennuvolat",fog:"Boira",hail:"Calamarsa",lightning:"Tempesta elèctrica","lightning-rainy":"Tempesta",partlycloudy:"Parcialment ennuvolat",pouring:"Aiguat",rainy:"Plujós",snowy:"Neu","snowy-rainy":"Aiguaneu",sunny:"Assolellat",windy:"Ventós","windy-variant":"Vent fort",exceptional:"Excepcional"},Ve={1:"Dl.",2:"Dt.",3:"Dc.",4:"Dj.",5:"Dv.",6:"Ds.",7:"Dg."},Ee={aqi:"AQI",humidity:"humitat","feels-like":"Feels like"},De={weather:Ge,day:Ve,misc:Ee},je=Object.freeze({__proto__:null,day:Ve,default:De,misc:Ee,weather:Ge}),Ie={"clear-night":"Jasno",cloudy:"Zataženo",fog:"Mlha",hail:"Kroupy",lightning:"Bouřky","lightning-rainy":"Bouřky s deštěm",partlycloudy:"Částečně zataženo",pouring:"Silný déšť",rainy:"Déšť",snowy:"Sníh","snowy-rainy":"Sníh s deštěm",sunny:"Slunečno",windy:"Vítr","windy-variant":"Prudký vítr",exceptional:"Chaos"},ze={1:"Po",2:"Út",3:"St",4:"Čt",5:"Pá",6:"So",7:"Ne"},Le={aqi:"AQI",humidity:"vlhkost","feels-like":"pocitová teplota"},Fe={weather:Ie,day:ze,misc:Le},Pe={"clear-night":"klar",cloudy:"bewölkt",fog:"Nebel",hail:"Hagel",lightning:"Gewitter","lightning-rainy":"Gewitter",partlycloudy:"teils bewölkt",pouring:"starker Regen",rainy:"Regen",snowy:"Schneefall","snowy-rainy":"Schneeregen",sunny:"sonnig",windy:"windig","windy-variant":"starker Wind",exceptional:"Unwetter"},He={1:"Mo",2:"Di",3:"Mi",4:"Do",5:"Fr",6:"Sa",7:"So"},We={aqi:"AQI",humidity:"Luftfeuchtigkeit","feels-like":"Gefühlt"},qe={weather:Pe,day:He,misc:We},Re={"clear-night":"Καθαρός",cloudy:"Συννεφιασμένος",fog:"Ομίχλη",hail:"Χαλάζι",lightning:"Καταιγίδες","lightning-rainy":"Καταιγίδες με βροχή",partlycloudy:"Λίγα σύννεφα",pouring:"Έντονη βροχή",rainy:"Βροχερός",snowy:"Χιόνι","snowy-rainy":"Χιονόνερο",sunny:"Ηλιόλουστος",windy:"Θυελλώδης","windy-variant":"Έντονοι άνεμοι",exceptional:"Εξαιρετικός"},Ye={1:"Δευ",2:"Τρί",3:"Τετ",4:"Πεμ",5:"Παρ",6:"Σαβ",7:"Κυρ"},Je={aqi:"AQI",humidity:"υγρασία","feels-like":"Feels like"},Qe={weather:Re,day:Ye,misc:Je},Ke={"clear-night":"Clear",cloudy:"Cloudy",fog:"Fog",hail:"Hail",lightning:"Thunderstorms","lightning-rainy":"Rainy thunderstorms",partlycloudy:"Partly cloudy",pouring:"Pouring",rainy:"Rainy",snowy:"Snowy","snowy-rainy":"Sleet",sunny:"Sunny",windy:"Windy","windy-variant":"Strong wind",exceptional:"Exceptional"},Xe={1:"Mon",2:"Tue",3:"Wed",4:"Thu",5:"Fri",6:"Sat",7:"Sun"},et={aqi:"AQI",humidity:"Humidity","feels-like":"Feels like"},tt={weather:Ke,day:Xe,misc:et},it={"clear-night":"Despejado",cloudy:"Nublado",fog:"Niebla",hail:"Granizo",lightning:"Tormenta eléctrica","lightning-rainy":"Tormenta",partlycloudy:"Parcialmente nublado",pouring:"Diluviando",rainy:"Lluvioso",snowy:"Nieve","snowy-rainy":"Aguanieve",sunny:"Soleado",windy:"Viento","windy-variant":"Fuerte viento",exceptional:"Caos"},rt={1:"Lun",2:"Mar",3:"Mie",4:"Jue",5:"Vie",6:"Sab",7:"Dom"},st={aqi:"AQI",humidity:"humedad","feels-like":"Feels like"},at={weather:it,day:rt,misc:st},nt={"clear-night":"Selge",cloudy:"Pilvine",fog:"Udu",hail:"Rahe",lightning:"Äike","lightning-rainy":"Äiksevihm",partlycloudy:"Vahelduv pilvisus",pouring:"Paduvihm",rainy:"Vihm",snowy:"Lumi","snowy-rainy":"Lörts",sunny:"Päike",windy:"Tuuline","windy-variant":"Tuuline",exceptional:"Äärmuslik"},ot={1:"E",2:"T",3:"K",4:"N",5:"R",6:"L",7:"P"},lt={aqi:"AQI",humidity:"niiskus","feels-like":"Feels like"},ct={weather:nt,day:ot,misc:lt},dt={"clear-night":"Selkeää",cloudy:"Pilvistä",fog:"Sumua",hail:"Raekuuroja",lightning:"Ukkosta","lightning-rainy":"Ukkoskuuroja",partlycloudy:"Puolipilvistä",pouring:"Voimakasta vesisadetta",rainy:"Vesisadetta",snowy:"Lumisadetta","snowy-rainy":"Räntäsadetta",sunny:"Selkeää",windy:"Tuulista","windy-variant":"Voimakasta tuulta",exceptional:"Poikkeuksellista"},ut={1:"Ma",2:"Ti",3:"Ke",4:"To",5:"Pe",6:"La",7:"Su"},ht={aqi:"AQI",humidity:"kosteus","feels-like":"Feels like"},mt={weather:dt,day:ut,misc:ht},ft={"clear-night":"Dégagé",cloudy:"Nuageux",fog:"Brouillard",hail:"Grêle",lightning:"Orages","lightning-rainy":"Orages et pluie",partlycloudy:"Partiellement nuageux",pouring:"Pluie battante",rainy:"Pluie",snowy:"Neige","snowy-rainy":"Neige fondante",sunny:"Ensoleillé",windy:"Venteux","windy-variant":"Vent fort",exceptional:"Exceptionnelle"},pt={1:"Lun",2:"Mar",3:"Mer",4:"Jeu",5:"Ven",6:"Sam",7:"Dim"},yt={aqi:"AQI",humidity:"humidité","feels-like":"Feels like"},bt={weather:ft,day:pt,misc:yt},gt={"clear-night":"בהיר",cloudy:"מעונן",fog:"ערפל",hail:"ברד",lightning:"סופות רעמים","lightning-rainy":"סופות רעמים גשומות",partlycloudy:"מעונן חלקית",pouring:"גשם זלעפות",rainy:"גשום",snowy:"מושלג","snowy-rainy":"ברד",sunny:"שמשי",windy:"סוער","windy-variant":"רוח חזקה",exceptional:"חריג"},wt={1:"שני",2:"שלישי",3:"רביעי",4:"חמישי",5:"שישי",6:"שבת",7:"ראשון"},vt={aqi:"AQI",humidity:"לחות","feels-like":"Feels like"},kt={weather:gt,day:wt,misc:vt},xt={"clear-night":"Tiszta",cloudy:"Felhős",fog:"Ködös",hail:"Jégeső",lightning:"Villámlás","lightning-rainy":"Zivatar",partlycloudy:"Helyenként felhős",pouring:"Felhőszakadás",rainy:"Esős",snowy:"Havazás","snowy-rainy":"Havaseső, ónoseső",sunny:"Napos",windy:"Szeles","windy-variant":"Erős szél",exceptional:"Kivételes"},Tt={1:"H",2:"K",3:"Sze",4:"Cs",5:"P",6:"Szo",7:"V"},Mt={aqi:"AQI",humidity:"páratartalom","feels-like":"Feels like"},St={weather:xt,day:Tt,misc:Mt},_t={"clear-night":"Cerah",cloudy:"Berawan",fog:"Berkabut",hail:"Hujan es",lightning:"Badai","lightning-rainy":"Hujan badai",partlycloudy:"Cerah berawan",pouring:"Gerimis",rainy:"Hujan",snowy:"Salju","snowy-rainy":"Hujan salju",sunny:"Cerah",windy:"Berangin","windy-variant":"Berangin kencang",exceptional:"Pengecualian"},Nt={1:"Sen",2:"Sel",3:"Rab",4:"Kam",5:"Jum",6:"Sab",7:"Min"},Ot={aqi:"AQI",humidity:"Kelembapan","feels-like":"Terasa seperti"},At={weather:_t,day:Nt,misc:Ot},$t={"clear-night":"Heiðskýrt",cloudy:"Skýjað",fog:"Þoka",hail:"Hagl",lightning:"Eldingar","lightning-rainy":"Þrumur",partlycloudy:"Skýjað að hluta",pouring:"mikil rigning",rainy:"Rigning",snowy:"Snjókoma","snowy-rainy":"Él",sunny:"Sólríkt",windy:"Hvasst","windy-variant":"Stórmur",exceptional:"Óveður"},Zt={1:"Mán",2:"Þri",3:"Mið",4:"Fim",5:"Fös",6:"Lau",7:"Sun"},Ct={aqi:"AQI",humidity:"raki","feels-like":"Feels like"},Bt={weather:$t,day:Zt,misc:Ct},Ut={"clear-night":"Sereno",cloudy:"Nuvoloso",fog:"Nebbia",hail:"Grandine",lightning:"Temporali","lightning-rainy":"Temporali con pioggia",partlycloudy:"Parzialmente nuvoloso",pouring:"Rovesci",rainy:"Pioggia",snowy:"Neve","snowy-rainy":"Nevischio",sunny:"Soleggiato",windy:"Vento","windy-variant":"Vento forte",exceptional:"Tempesta"},Gt={1:"Lun",2:"Mar",3:"Mer",4:"Gio",5:"Ven",6:"Sab",7:"Dom"},Vt={aqi:"AQI",humidity:"umidità","feels-like":"Percepita"},Et={weather:Ut,day:Gt,misc:Vt},Dt={"clear-night":"맑음",cloudy:"구름많음",fog:"안개",hail:"우박",lightning:"번개","lightning-rainy":"번개, 뇌우",partlycloudy:"구름조금",pouring:"강한 비",rainy:"비",snowy:"눈","snowy-rainy":"진눈깨비",sunny:"맑음",windy:"바람","windy-variant":"매우 강한 바람",exceptional:"예외"},jt={1:"월",2:"화",3:"수",4:"목",5:"금",6:"토",7:"일"},It={aqi:"대기환경지수",humidity:"습도","feels-like":"체감온도"},zt={weather:Dt,day:jt,misc:It},Lt={"clear-night":"Giedra",cloudy:"Debesuota",fog:"Rūkas",hail:"Kruša",lightning:"Perkūnija","lightning-rainy":"Perkūnija su lietumi",partlycloudy:"Apsiniaukę",pouring:"Liūtis",rainy:"Lietus",snowy:"Sniegas","snowy-rainy":"Šlapdriba",sunny:"Saulėta",windy:"Vėjuota","windy-variant":"Stiprus vėjas",exceptional:"Audra"},Ft={1:"Pr",2:"An",3:"Tr",4:"Kt",5:"Pn",6:"Št",7:"Sk"},Pt={aqi:"AQI",humidity:"drėgmė","feels-like":"Feels like"},Ht={weather:Lt,day:Ft,misc:Pt},Wt={"clear-night":"Klart",cloudy:"Overskyet",fog:"Tåke",hail:"Hagl",lightning:"Lyn","lightning-rainy":"Lyn, regn",partlycloudy:"Delvis overskyet",pouring:"Pøsregn",rainy:"Regn",snowy:"Snø","snowy-rainy":"Sludd",sunny:"Sol",windy:"Vindfullt","windy-variant":"Sterk vind",exceptional:"Storm"},qt={1:"Man",2:"Tir",3:"Ons",4:"Tor",5:"Fre",6:"Lør",7:"Søn"},Rt={aqi:"AQI",humidity:"fuktighet","feels-like":"Feels like"},Yt={weather:Wt,day:qt,misc:Rt},Jt={"clear-night":"Helder",cloudy:"Bewolkt",fog:"Mistig",hail:"Hagel",lightning:"Onweersbuien","lightning-rainy":"Onweersbuien met regen",partlycloudy:"Half bewolkt",pouring:"Regen",rainy:"Regenachtig",snowy:"Sneeuw","snowy-rainy":"Natte sneeuw",sunny:"Zonnig",windy:"Winderig","windy-variant":"Storm",exceptional:"Uitzonderlijk"},Qt={1:"Ma",2:"Di",3:"Wo",4:"Do",5:"Vr",6:"Za",7:"Zo"},Kt={aqi:"AQI",humidity:"Vochtigheid","feels-like":"Gevoelstemperatuur"},Xt={weather:Jt,day:Qt,misc:Kt},ei={"clear-night":"pogodna noc",cloudy:"pochmurno",fog:"mgła",hail:"grad",lightning:"błyskawice","lightning-rainy":"burza",partlycloudy:"częściowe zachmurzenie",pouring:"ulewa",rainy:"deszczowo",snowy:"opady śniegu","snowy-rainy":"deszcz ze śniegiem",sunny:"słonecznie",windy:"wietrznie","windy-variant":"wietrznie",exceptional:"warunki nadzwyczajne"},ti={1:"pon.",2:"wt.",3:"śr.",4:"czw.",5:"pt.",6:"sob.",7:"niedz."},ii={aqi:"AQI",humidity:"wilgotność","feels-like":"Odczuwalne"},ri={weather:ei,day:ti,misc:ii},si={"clear-night":"Céu limpo, sem nuvens",cloudy:"Nublado",fog:"Nevoeiro",hail:"Granizo",lightning:"Raios","lightning-rainy":"Chuvoso com raios",partlycloudy:"Parcialmente nublado",pouring:"Torrencial",rainy:"Chuvoso",snowy:"Neve","snowy-rainy":"Chuvoso com neve",sunny:"Ensolarado",windy:"Ventania","windy-variant":"Ventania forte",exceptional:"Excepcional"},ai={1:"Seg",2:"Ter",3:"Qua",4:"Qui",5:"Sex",6:"Sáb",7:"Dom"},ni={aqi:"AQI",humidity:"umidade","feels-like":"Feels like"},oi={weather:si,day:ai,misc:ni},li={"clear-night":"Céu limpo, sem nuvens",cloudy:"Nublado",fog:"Nevoeiro",hail:"Granizo",lightning:"Raios","lightning-rainy":"Chuvoso com raios",partlycloudy:"Parcialmente nublado",pouring:"Torrencial",rainy:"Chuvoso",snowy:"Neve","snowy-rainy":"Chuvoso com neve",sunny:"Ensolarado",windy:"Ventania","windy-variant":"Ventania forte",exceptional:"Excepcional"},ci={1:"Seg",2:"Ter",3:"Qua",4:"Qui",5:"Sex",6:"Sáb",7:"Dom"},di={aqi:"AQI",humidity:"humidade","feels-like":"Feels like"},ui={weather:li,day:ci,misc:di},hi={"clear-night":"Senin",cloudy:"Innorat",fog:"Ceata",hail:"Grindina",lightning:"Fulgere","lightning-rainy":"Furtuni cu ploaie",partlycloudy:"Partial innorat",pouring:"Averse",rainy:"Ploaie",snowy:"Ninsoare","snowy-rainy":"Lapovita",sunny:"Insorit",windy:"Vant","windy-variant":"Vant puternic",exceptional:"Furtuna"},mi={1:"Lun",2:"Mar",3:"Mie",4:"Joi",5:"Vin",6:"Sam",7:"Dum"},fi={aqi:"AQI",humidity:"umiditate","feels-like":"Feels like"},pi={weather:hi,day:mi,misc:fi},yi={"clear-night":"Ясно",cloudy:"Облачно",fog:"Туман",hail:"Град",lightning:"Гроза","lightning-rainy":"Дождь с грозой",partlycloudy:"Переменная облачность",pouring:"Проливной дождь",rainy:"Дождь",snowy:"Снег","snowy-rainy":"Мокрый снег",sunny:"Солнечно",windy:"Ветер","windy-variant":"Сильный ветер",exceptional:"Буря"},bi={1:"Пн",2:"Вт",3:"Ср",4:"Чт",5:"Пт",6:"Сб",7:"Вс"},gi={aqi:"AQI",humidity:"влажность","feels-like":"Feels like"},wi={weather:yi,day:bi,misc:gi},vi={"clear-night":"Jasná noc",cloudy:"Zamračené",fog:"Hmla",hail:"Krupobitie",lightning:"Búrky","lightning-rainy":"Búrky s dažďom",partlycloudy:"Polooblačno",pouring:"Silný dážď",rainy:"Daždivo",snowy:"Sneženie","snowy-rainy":"Dážď so snehom",sunny:"Slnečno",windy:"Veterno","windy-variant":"Prudký vietor",exceptional:"Neobyčajné počasie (Chaos)"},ki={1:"Pon",2:"Uto",3:"Str",4:"Štv",5:"Pia",6:"Sob",7:"Ned"},xi={aqi:"AQI",humidity:"vlhkosť","feels-like":"pocitová teplota"},Ti={weather:vi,day:ki,misc:xi},Mi={"clear-night":"Jasno",cloudy:"Oblačno",fog:"Megla",hail:"Toča",lightning:"Nevihte","lightning-rainy":"Nevihte z dežjem",partlycloudy:"Delno oblačno",pouring:"Lije",rainy:"Deževno",snowy:"Sneženo","snowy-rainy":"Žled",sunny:"Sončno",windy:"Vetrovno","windy-variant":"Močan veter",exceptional:"Izjemno vreme"},Si={1:"Pon",2:"Tor",3:"Sre",4:"Čet",5:"Pet",6:"Sob",7:"Ned"},_i={aqi:"AQI",humidity:"vlažnost","feels-like":"Feels like"},Ni={weather:Mi,day:Si,misc:_i},Oi={"clear-night":"Ведро",cloudy:"Облачно",fog:"Магла",hail:"Град",lightning:"Грмљавина","lightning-rainy":"Киша уз грмљавину",partlycloudy:"Делимично облачно",pouring:"Пљусак",rainy:"Киша",snowy:"Снег","snowy-rainy":"Суснежица",sunny:"Сунчано",windy:"Ветар","windy-variant":"Јак ветар",exceptional:"Изузетно"},Ai={1:"Пон",2:"Уто",3:"Сре",4:"Чет",5:"Пет",6:"Суб",7:"Нед"},$i={aqi:"AQI",humidity:"Влажност","feels-like":"Feels like"},Zi={weather:Oi,day:Ai,misc:$i},Ci={"clear-night":"Vedro",cloudy:"Oblačno",fog:"Magla",hail:"Grad",lightning:"Grmljavina","lightning-rainy":"Kiša uz grmljavinu",partlycloudy:"Delimično oblačno",pouring:"Pljusak",rainy:"Kiša",snowy:"Sneg","snowy-rainy":"Susnežica",sunny:"Sunčano",windy:"Vetar","windy-variant":"Jak vetar",exceptional:"Izuzetno"},Bi={1:"Pon",2:"Uto",3:"Sre",4:"Čet",5:"Pet",6:"Sub",7:"Ned"},Ui={aqi:"AQI",humidity:"Vlažnost","feels-like":"Feels like"},Gi={weather:Ci,day:Bi,misc:Ui},Vi={"clear-night":"Klart, natt",cloudy:"Molnigt",fog:"Dimma",hail:"Hagel",lightning:"Åska","lightning-rainy":"Åska, regnigt",partlycloudy:"Delvis molnigt",pouring:"Ösregn",rainy:"Regnigt",snowy:"Snöigt","snowy-rainy":"Snöblandat regn",sunny:"Soligt",windy:"Blåsigt","windy-variant":"Stark blåst",exceptional:"Exceptionellt"},Ei={1:"Mån",2:"Tis",3:"Ons",4:"Tor",5:"Fre",6:"Lör",7:"Sön"},Di={aqi:"AQI",humidity:"fuktighet","feels-like":"Känns som"},ji={weather:Vi,day:Ei,misc:Di},Ii={"clear-night":"ท้องฟ้าแจ่มใส",cloudy:"มีเมฆเป็นส่วนมาก",fog:"หมอก",hail:"ลูกเห็บ",lightning:"พายุฝนฟ้าคะนอง","lightning-rainy":"ฝนฟ้าคะนอง",partlycloudy:"มีเมฆบางส่วน",pouring:"ฝนตกหนัก",rainy:"ฝนตก",snowy:"หิมะตก","snowy-rainy":"ฝนตกเป็นลูกเห็บ",sunny:"แดดจัด",windy:"มีลมจัด","windy-variant":"ลมแรง",exceptional:"Exceptional"},zi={1:"จ.",2:"อ.",3:"พ.",4:"พฤ.",5:"ศ.",6:"ส.",7:"อา."},Li={aqi:"AQI",humidity:"ความชื้น","feels-like":"Feels like"},Fi={weather:Ii,day:zi,misc:Li},Pi={"clear-night":"Açık",cloudy:"Bulutlu",fog:"Sis",hail:"Dolu",lightning:"Gökgürültülü","lightning-rainy":"Gökgürültülü Yağmurlu",partlycloudy:"Parçalı Bulutlu",pouring:"Sağanak",rainy:"Yağmurlu",snowy:"Karlı","snowy-rainy":"Sulu Kar",sunny:"Güneşli",windy:"Rüzgarlı","windy-variant":"Güçlü Rüzgar",exceptional:"Mükemmel"},Hi={1:"Pzt",2:"Sal",3:"Çrş",4:"Prş",5:"Cum",6:"Cts",7:"Pzr"},Wi={aqi:"AQI",humidity:"nem","feels-like":"Feels like"},qi={weather:Pi,day:Hi,misc:Wi},Ri={"clear-night":"Ясно",cloudy:"Хмарно",fog:"Туман",hail:"Грім",lightning:"Грози","lightning-rainy":"Дощові грози",partlycloudy:"Мінлива хмарність",pouring:"Злива",rainy:"Дощ",snowy:"Сніг","snowy-rainy":"Мокрий сніг",sunny:"Сонячно",windy:"Вітряно","windy-variant":"Дуже вітряно",exceptional:"Буря"},Yi={1:"Пн",2:"Вт",3:"Ср",4:"Чт",5:"Пт",6:"Сб",7:"Нд"},Ji={aqi:"AQI",humidity:"вологість","feels-like":"Feels like"},Qi={weather:Ri,day:Yi,misc:Ji},Ki={"clear-night":"صاف",cloudy:"ابر آلود",fog:"دھند",hail:"اولے",lightning:"گرج چمک","lightning-rainy":"گرج چمک کے ساتھ بارش",partlycloudy:"جزوی طور پر ابر آلود",pouring:"موسلا دھار بارش",rainy:"بارش",snowy:"برفانی","snowy-rainy":"ژالہ باری",sunny:"دھوپ",windy:"آندھی","windy-variant":"تیز آندھی",exceptional:"غیر معمولی"},Xi={1:"پیر",2:"منگل",3:"بدھ",4:"جمعرات",5:"جمعہ",6:"ہفتہ",7:"اتوار"},er={aqi:"AQI",humidity:"نمی","feels-like":"Feels like"},tr={weather:Ki,day:Xi,misc:er},ir={"clear-night":"Trời trong",cloudy:"Trời mây",fog:"Sương mù",hail:"Mưa đá",lightning:"Dông bão","lightning-rainy":"Mưa Dông",partlycloudy:"Mây nhẹ",pouring:"Mưa Lớn",rainy:"Mưa",snowy:"Tuyết","snowy-rainy":"Mưa Tuyết",sunny:"Nắng",windy:"Gió","windy-variant":"Gió mạnh",exceptional:"Khắc Nghiệt"},rr={1:"T2",2:"T3",3:"T4",4:"T5",5:"T6",6:"T7",7:"CN"},sr={aqi:"AQI",humidity:"độ ẩm","feels-like":"Feels like"},ar={weather:ir,day:rr,misc:sr},nr={"clear-night":"夜间晴朗",cloudy:"阴",fog:"雾",hail:"冰雹",lightning:"雷","lightning-rainy":"雷阵雨",partlycloudy:"多云",pouring:"大雨",rainy:"雨",snowy:"雪","snowy-rainy":"雨夹雪",sunny:"晴",windy:"有风","windy-variant":"强风",exceptional:"特殊"},or={1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六",7:"周日"},lr={aqi:"AQI",humidity:"湿度","feels-like":"Feels like"},cr={weather:nr,day:or,misc:lr},dr={"clear-night":"晴夜",cloudy:"多雲",fog:"霧",hail:"冰雹",lightning:"雷","lightning-rainy":"雷雨",partlycloudy:"局部多雲",pouring:"大雨",rainy:"雨",snowy:"雪","snowy-rainy":"雪雨",sunny:"晴",windy:"有風","windy-variant":"有風",exceptional:"惡劣"},ur={1:"週一",2:"週二",3:"週三",4:"週四",5:"週五",6:"週六",7:"週日"},hr={aqi:"AQI",humidity:"濕度","feels-like":"Feels like"},mr={weather:dr,day:ur,misc:hr};const fr={bg:Ae,cs:Object.freeze({__proto__:null,day:ze,default:Fe,misc:Le,weather:Ie}),ca:je,da:Ue,de:Object.freeze({__proto__:null,day:He,default:qe,misc:We,weather:Pe}),el:Object.freeze({__proto__:null,day:Ye,default:Qe,misc:Je,weather:Re}),en:Object.freeze({__proto__:null,day:Xe,default:tt,misc:et,weather:Ke}),es:Object.freeze({__proto__:null,day:rt,default:at,misc:st,weather:it}),et:Object.freeze({__proto__:null,day:ot,default:ct,misc:lt,weather:nt}),fi:Object.freeze({__proto__:null,day:ut,default:mt,misc:ht,weather:dt}),fr:Object.freeze({__proto__:null,day:pt,default:bt,misc:yt,weather:ft}),he:Object.freeze({__proto__:null,day:wt,default:kt,misc:vt,weather:gt}),hu:Object.freeze({__proto__:null,day:Tt,default:St,misc:Mt,weather:xt}),id:Object.freeze({__proto__:null,day:Nt,default:At,misc:Ot,weather:_t}),is:Object.freeze({__proto__:null,day:Zt,default:Bt,misc:Ct,weather:$t}),it:Object.freeze({__proto__:null,day:Gt,default:Et,misc:Vt,weather:Ut}),ko:Object.freeze({__proto__:null,day:jt,default:zt,misc:It,weather:Dt}),lt:Object.freeze({__proto__:null,day:Ft,default:Ht,misc:Pt,weather:Lt}),nb:Object.freeze({__proto__:null,day:qt,default:Yt,misc:Rt,weather:Wt}),nl:Object.freeze({__proto__:null,day:Qt,default:Xt,misc:Kt,weather:Jt}),pl:Object.freeze({__proto__:null,day:ti,default:ri,misc:ii,weather:ei}),ptbr:Object.freeze({__proto__:null,day:ai,default:oi,misc:ni,weather:si}),pt:Object.freeze({__proto__:null,day:ci,default:ui,misc:di,weather:li}),ro:Object.freeze({__proto__:null,day:mi,default:pi,misc:fi,weather:hi}),ru:Object.freeze({__proto__:null,day:bi,default:wi,misc:gi,weather:yi}),sk:Object.freeze({__proto__:null,day:ki,default:Ti,misc:xi,weather:vi}),sl:Object.freeze({__proto__:null,day:Si,default:Ni,misc:_i,weather:Mi}),sr:Object.freeze({__proto__:null,day:Ai,default:Zi,misc:$i,weather:Oi}),srlatn:Object.freeze({__proto__:null,day:Bi,default:Gi,misc:Ui,weather:Ci}),sv:Object.freeze({__proto__:null,day:Ei,default:ji,misc:Di,weather:Vi}),th:Object.freeze({__proto__:null,day:zi,default:Fi,misc:Li,weather:Ii}),tr:Object.freeze({__proto__:null,day:Hi,default:qi,misc:Wi,weather:Pi}),uk:Object.freeze({__proto__:null,day:Yi,default:Qi,misc:Ji,weather:Ri}),ur:Object.freeze({__proto__:null,day:Xi,default:tr,misc:er,weather:Ki}),vi:Object.freeze({__proto__:null,day:rr,default:ar,misc:sr,weather:ir}),zhcn:Object.freeze({__proto__:null,day:or,default:cr,misc:lr,weather:nr}),zhtw:Object.freeze({__proto__:null,day:ur,default:mr,misc:hr,weather:dr})};function pr(e){return Math.max(...e)}function yr(e){return Math.min(...e)}function br(e,t=0){return t<=0?Math.round(e):Math.ceil((e-t/2)/t)*t}function gr(e,t=0){return t<=0?Math.ceil(e):Math.ceil(e/t)*t}function wr(e){return null===e?null:Math.round(e)}var vr="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='54.3' x2='187.2' y1='29' y2='259.1' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%2386c3db'/%3e%3cstop offset='.5' stop-color='%2386c3db'/%3e%3cstop offset='1' stop-color='%235eafcf'/%3e%3c/linearGradient%3e%3csymbol id='b' overflow='visible' viewBox='0 0 270 270'%3e%3cpath fill='url(%23a)' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='6' d='M252.3 168.6A133.4 133.4 0 01118 36.2 130.5 130.5 0 01122.5 3 133 133 0 003 134.6C3 207.7 63 267 137.2 267c62.5 0 114.8-42.2 129.8-99.2a135.6 135.6 0 01-14.8.8Z'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='-15 135 135%3b 9 135 135%3b -15 135 135'/%3e%3c/path%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23b' width='270' height='270' transform='translate(121 121)'/%3e%3c/svg%3e",kr="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='a' overflow='visible' viewBox='0 0 279 279'%3e%3cpath fill='none' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M256.8 173.1A133.3 133.3 0 01122.4 40.7 130.5 130.5 0 01127 7.5 133 133 0 007.5 139.1c0 73.1 60 132.4 134.2 132.4 62.5 0 114.8-42.2 129.8-99.2a135.6 135.6 0 01-14.8.8Z'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='-15 135 135%3b 9 135 135%3b -15 135 135'/%3e%3c/path%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23a' width='279' height='279' transform='translate(116.5 116.5)'/%3e%3c/svg%3e",xr="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='150' x2='234' y1='119.2' y2='264.8' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23fbbf24'/%3e%3cstop offset='.5' stop-color='%23fbbf24'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3csymbol id='b' viewBox='0 0 384 384'%3e%3ccircle cx='192' cy='192' r='84' fill='url(%23a)' stroke='%23f8af18' stroke-miterlimit='10' stroke-width='6'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='24' d='M192 61.7V12m0 360v-49.7m92.2-222.5 35-35M64.8 319.2l35.1-35.1m0-184.4-35-35m254.5 254.5-35.1-35.1M61.7 192H12m360 0h-49.7'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 192 192%3b 45 192 192'/%3e%3c/path%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23b' width='384' height='384' transform='translate(64 64)'/%3e%3c/svg%3e",Tr="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='a' viewBox='0 0 375 375'%3e%3ccircle cx='187.5' cy='187.5' r='84' fill='none' stroke='%23fbbf24' stroke-miterlimit='10' stroke-width='15'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='15' d='M187.5 57.2V7.5m0 360v-49.7m92.2-222.5 35-35M60.3 314.7l35.1-35.1m0-184.4-35-35m254.5 254.5-35.1-35.1M57.2 187.5H7.5m360 0h-49.7'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 187.5 187.5%3b 45 187.5 187.5'/%3e%3c/path%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23a' width='375' height='375' transform='translate(68.5 68.5)'/%3e%3c/svg%3e",Mr="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='90' x2='206' y1='155.6' y2='356.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23d4d7dd'/%3e%3cstop offset='.5' stop-color='%23d4d7dd'/%3e%3cstop offset='1' stop-color='%23bec1c6'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='179.4' x2='226.7' y1='142.4' y2='224.3' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f87171'/%3e%3cstop offset='.5' stop-color='%23f87171'/%3e%3cstop offset='1' stop-color='%23dc2626'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23b' id='c' x1='252.5' x2='291.9' y1='149.2' y2='217.5'/%3e%3clinearGradient xlink:href='%23b' id='d' x1='325.6' x2='357.2' y1='156' y2='210.7'/%3e%3c/defs%3e%3cpath fill='none' stroke='url(%23a)' stroke-linecap='round' stroke-linejoin='round' stroke-width='24' d='M148 376V136'/%3e%3cpath fill='url(%23b)' stroke='%23ef4444' stroke-miterlimit='10' stroke-width='2' d='m191.4 137 28.8 4.3a6.4 6.4 0 015.4 6.3v73.7a6.4 6.4 0 01-5.4 6.3l-28.8 4.2a6.4 6.4 0 01-7.3-6.4v-82a6.4 6.4 0 017.3-6.3Z'%3e%3canimateTransform additive='sum' attributeName='transform' calcMode='spline' dur='3s' keySplines='.42%2c 0%2c .58%2c 1%3b .42%2c 0%2c .58%2c 1' repeatCount='indefinite' type='rotate' values='-6 99 184%3b 6 99 184%3b -6 99 184'/%3e%3c/path%3e%3cpath fill='url(%23c)' stroke='%23ef4444' stroke-miterlimit='10' stroke-width='2' d='m260.6 146.1 28.8 4.2a6.4 6.4 0 015.4 6.3v55.6a6.4 6.4 0 01-5.5 6.3l-28.7 4.2a6.4 6.4 0 01-7.3-6.3v-64a6.4 6.4 0 017.3-6.3Z'%3e%3canimateTransform additive='sum' attributeName='transform' calcMode='spline' dur='3s' keySplines='.42%2c 0%2c .58%2c 1%3b .42%2c 0%2c .58%2c 1' repeatCount='indefinite' type='rotate' values='-6 99 184%3b 6 99 184%3b -6 99 184'/%3e%3canimateTransform additive='sum' attributeName='transform' calcMode='spline' dur='1.5s' keySplines='.42%2c 0%2c .58%2c 1%3b .42%2c 0%2c .58%2c 1' repeatCount='indefinite' type='translate' values='0 0%3b 5 0%3b 0 0'/%3e%3c/path%3e%3cpath fill='url(%23d)' stroke='%23ef4444' stroke-miterlimit='10' stroke-width='2' d='m329.8 155.2 28.7 4.2a6.4 6.4 0 015.5 6.3v37.4a6.4 6.4 0 01-5.5 6.3l-28.7 4.2a6.4 6.4 0 01-7.3-6.3v-45.8a6.4 6.4 0 017.3-6.3Z'%3e%3canimateTransform additive='sum' attributeName='transform' calcMode='spline' dur='3s' keySplines='.42%2c 0%2c .58%2c 1%3b .42%2c 0%2c .58%2c 1' repeatCount='indefinite' type='rotate' values='-6 99 184%3b 6 99 184%3b -6 99 184'/%3e%3canimateTransform additive='sum' attributeName='transform' calcMode='spline' dur='1.5s' keySplines='.42%2c 0%2c .58%2c 1%3b .42%2c 0%2c .58%2c 1' repeatCount='indefinite' type='translate' values='0 0%3b 10 0%3b 0 0'/%3e%3c/path%3e%3c/svg%3e",Sr="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3cpath fill='none' stroke='%23cbd5e1' stroke-linecap='round' stroke-linejoin='round' stroke-width='24' d='M148 376V136'/%3e%3cpath fill='%23ef4444' d='m191.4 137 28.8 4.3a6.4 6.4 0 015.4 6.3v73.7a6.4 6.4 0 01-5.4 6.3l-28.8 4.2a6.4 6.4 0 01-7.3-6.4v-82a6.4 6.4 0 017.3-6.3Z'%3e%3canimateTransform additive='sum' attributeName='transform' calcMode='spline' dur='3s' keySplines='.42%2c 0%2c .58%2c 1%3b .42%2c 0%2c .58%2c 1' repeatCount='indefinite' type='rotate' values='-6 99 184%3b 6 99 184%3b -6 99 184'/%3e%3c/path%3e%3cpath fill='%23ef4444' d='m260.6 146.1 28.8 4.2a6.4 6.4 0 015.4 6.3v55.6a6.4 6.4 0 01-5.5 6.3l-28.7 4.2a6.4 6.4 0 01-7.3-6.3v-64a6.4 6.4 0 017.3-6.3Z'%3e%3canimateTransform additive='sum' attributeName='transform' calcMode='spline' dur='3s' keySplines='.42%2c 0%2c .58%2c 1%3b .42%2c 0%2c .58%2c 1' repeatCount='indefinite' type='rotate' values='-6 99 184%3b 6 99 184%3b -6 99 184'/%3e%3canimateTransform additive='sum' attributeName='transform' calcMode='spline' dur='1.5s' keySplines='.42%2c 0%2c .58%2c 1%3b .42%2c 0%2c .58%2c 1' repeatCount='indefinite' type='translate' values='0 0%3b 5 0%3b 0 0'/%3e%3c/path%3e%3cpath fill='%23ef4444' d='m329.8 155.2 28.7 4.2a6.4 6.4 0 015.5 6.3v37.4a6.4 6.4 0 01-5.5 6.3l-28.7 4.2a6.4 6.4 0 01-7.3-6.3v-45.8a6.4 6.4 0 017.3-6.3Z'%3e%3canimateTransform additive='sum' attributeName='transform' calcMode='spline' dur='3s' keySplines='.42%2c 0%2c .58%2c 1%3b .42%2c 0%2c .58%2c 1' repeatCount='indefinite' type='rotate' values='-6 99 184%3b 6 99 184%3b -6 99 184'/%3e%3canimateTransform additive='sum' attributeName='transform' calcMode='spline' dur='1.5s' keySplines='.42%2c 0%2c .58%2c 1%3b .42%2c 0%2c .58%2c 1' repeatCount='indefinite' type='translate' values='0 0%3b 10 0%3b 0 0'/%3e%3c/path%3e%3c/svg%3e",_r="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='54.3' x2='187.2' y1='29' y2='259.1' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%2386c3db'/%3e%3cstop offset='.5' stop-color='%2386c3db'/%3e%3cstop offset='1' stop-color='%235eafcf'/%3e%3c/linearGradient%3e%3csymbol id='b' viewBox='0 0 270 270'%3e%3cpath fill='url(%23a)' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='6' d='M252.3 168.6A133.4 133.4 0 01118 36.2 130.5 130.5 0 01122.5 3 133 133 0 003 134.6C3 207.7 63 267 137.2 267c62.5 0 114.8-42.2 129.8-99.2a135.6 135.6 0 01-14.8.8Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23b' width='270' height='270' transform='translate(121 121)'/%3e%3c/svg%3e",Nr="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='a' viewBox='0 0 279 279'%3e%3cpath fill='none' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M256.8 173.1A133.3 133.3 0 01122.4 40.7 130.5 130.5 0 01127 7.5 133 133 0 007.5 139.1c0 73.1 60 132.4 134.2 132.4 62.5 0 114.8-42.2 129.8-99.2a135.6 135.6 0 01-14.8.8Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23a' width='279' height='279' transform='translate(116.5 116.5)'/%3e%3c/svg%3e",Or="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='150' x2='234' y1='119.2' y2='264.8' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23fbbf24'/%3e%3cstop offset='.5' stop-color='%23fbbf24'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3csymbol id='b' viewBox='0 0 384 384'%3e%3ccircle cx='192' cy='192' r='84' fill='url(%23a)' stroke='%23f8af18' stroke-miterlimit='10' stroke-width='6'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='24' d='M192 61.7V12m0 360v-49.7m92.2-222.5 35-35M64.8 319.2l35.1-35.1m0-184.4-35-35m254.5 254.5-35.1-35.1M61.7 192H12m360 0h-49.7'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23b' width='384' height='384' transform='translate(64 64)'/%3e%3c/svg%3e",Ar="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='a' viewBox='0 0 375 375'%3e%3ccircle cx='187.5' cy='187.5' r='84' fill='none' stroke='%23fbbf24' stroke-miterlimit='10' stroke-width='15'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='15' d='M187.5 57.2V7.5m0 360v-49.7m92.2-222.5 35-35M60.3 314.7l35.1-35.1m0-184.4-35-35m254.5 254.5-35.1-35.1M57.2 187.5H7.5m360 0h-49.7'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23a' width='375' height='375' transform='translate(68.5 68.5)'/%3e%3c/svg%3e",$r="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='90' x2='206' y1='155.6' y2='356.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23d4d7dd'/%3e%3cstop offset='.5' stop-color='%23d4d7dd'/%3e%3cstop offset='1' stop-color='%23bec1c6'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='179.4' x2='226.7' y1='142.4' y2='224.3' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f87171'/%3e%3cstop offset='.5' stop-color='%23f87171'/%3e%3cstop offset='1' stop-color='%23dc2626'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23b' id='c' x1='252.5' x2='291.9' y1='149.2' y2='217.5'/%3e%3clinearGradient xlink:href='%23b' id='d' x1='325.6' x2='357.2' y1='156' y2='210.7'/%3e%3c/defs%3e%3cpath fill='none' stroke='url(%23a)' stroke-linecap='round' stroke-linejoin='round' stroke-width='24' d='M148 376V136'/%3e%3cpath fill='url(%23b)' stroke='%23ef4444' stroke-miterlimit='10' stroke-width='2' d='m191.4 137 28.8 4.3a6.4 6.4 0 015.4 6.3v73.7a6.4 6.4 0 01-5.4 6.3l-28.8 4.2a6.4 6.4 0 01-7.3-6.4v-82a6.4 6.4 0 017.3-6.3Z'/%3e%3cpath fill='url(%23c)' stroke='%23ef4444' stroke-miterlimit='10' stroke-width='2' d='m260.6 146.1 28.8 4.2a6.4 6.4 0 015.4 6.3v55.6a6.4 6.4 0 01-5.5 6.3l-28.7 4.2a6.4 6.4 0 01-7.3-6.3v-64a6.4 6.4 0 017.3-6.3Z'/%3e%3cpath fill='url(%23d)' stroke='%23ef4444' stroke-miterlimit='10' stroke-width='2' d='m329.8 155.2 28.7 4.2a6.4 6.4 0 015.5 6.3v37.4a6.4 6.4 0 01-5.5 6.3l-28.7 4.2a6.4 6.4 0 01-7.3-6.3v-45.8a6.4 6.4 0 017.3-6.3Z'/%3e%3c/svg%3e",Zr="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3cpath fill='none' stroke='%23cbd5e1' stroke-linecap='round' stroke-linejoin='round' stroke-width='24' d='M148 376V136'/%3e%3cpath fill='%23ef4444' d='m191.4 137 28.8 4.3a6.4 6.4 0 015.4 6.3v73.7a6.4 6.4 0 01-5.4 6.3l-28.8 4.2a6.4 6.4 0 01-7.3-6.4v-82a6.4 6.4 0 017.3-6.3Zm69.2 9.1 28.8 4.2a6.4 6.4 0 015.4 6.3v55.6a6.4 6.4 0 01-5.5 6.3l-28.7 4.2a6.4 6.4 0 01-7.3-6.3v-64a6.4 6.4 0 017.3-6.3Zm69.2 9.1 28.7 4.2a6.4 6.4 0 015.5 6.3v37.4a6.4 6.4 0 01-5.5 6.3l-28.7 4.2a6.4 6.4 0 01-7.3-6.3v-45.8a6.4 6.4 0 017.3-6.3Z'/%3e%3c/svg%3e";const Cr={line:{rainy:{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='c' viewBox='0 0 193 193'%3e%3ccircle cx='96.5' cy='96.5' r='40' fill='none' stroke='%23fbbf24' stroke-miterlimit='10' stroke-width='9'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='9' d='M96.5 29.9V4.5m0 184v-25.4m47.1-113.7 18-18M31.4 161.6l18-18m0-94.2-18-18m130.2 130.2-18-18M4.5 96.5h25.4m158.6 0h-25.4'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 96.5 96.5%3b 45 96.5 96.5'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='d' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='b' viewBox='0 0 435.5 371.5'%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23c' width='193' height='193' transform='translate(69.5 110.5)'/%3e%3c/g%3e%3cuse xlink:href='%23d' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3c/symbol%3e%3csymbol id='e' overflow='visible' viewBox='0 0 128 56'%3e%3cpath fill='%230a5ad4' d='M8 56a8 8 0 01-8-8V8a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x1' additive='sum' attributeName='transform' begin='0s%3b x1.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y1' attributeName='opacity' begin='0s%3b y1.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='%230a5ad4' d='M64 56a8 8 0 01-8-8V8a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x2' additive='sum' attributeName='transform' begin='.33s%3b x2.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y2' attributeName='opacity' begin='.33s%3b y2.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='%230a5ad4' d='M120 56a8 8 0 01-8-8V8a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x3' additive='sum' attributeName='transform' begin='-.33s%3b x3.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y3' attributeName='opacity' begin='-.33s%3b y3.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3c/symbol%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M288 148a83.8 83.8 0 00-71.4 40 56 56 0 00-84.6 48 56.6 56.6 0 00.8 9A60 60 0 0084 304H0V0h288Z'/%3e%3c/clipPath%3e%3c/defs%3e%3cuse xlink:href='%23b' width='435.5' height='371.5'/%3e%3cuse xlink:href='%23e' width='128' height='56' transform='translate(192 344)'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='c' viewBox='0 0 178 178'%3e%3cpath fill='none' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='10' d='M163.6 110.4a84.8 84.8 0 01-85.4-84.3A83.3 83.3 0 0181 5 84.7 84.7 0 005 88.7 84.8 84.8 0 0090.4 173a85.2 85.2 0 0082.6-63.1 88 88 0 01-9.4.5Z'/%3e%3c/symbol%3e%3csymbol id='d' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='b' viewBox='0 0 435.5 371.5'%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23c' width='178' height='178' transform='translate(77 118)'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='-15 86 86%3b 9 86 86%3b -15 86 86'/%3e%3c/use%3e%3c/g%3e%3cuse xlink:href='%23d' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3c/symbol%3e%3csymbol id='e' overflow='visible' viewBox='0 0 128 56'%3e%3cpath fill='%230a5ad4' d='M8 56a8 8 0 01-8-8V8a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x1' additive='sum' attributeName='transform' begin='0s%3b x1.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y1' attributeName='opacity' begin='0s%3b y1.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='%230a5ad4' d='M64 56a8 8 0 01-8-8V8a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x2' additive='sum' attributeName='transform' begin='.33s%3b x2.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y2' attributeName='opacity' begin='.33s%3b y2.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='%230a5ad4' d='M120 56a8 8 0 01-8-8V8a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x3' additive='sum' attributeName='transform' begin='-.33s%3b x3.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y3' attributeName='opacity' begin='-.33s%3b y3.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3c/symbol%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M288 148a83.8 83.8 0 00-71.4 40 56 56 0 00-84.6 48 56.6 56.6 0 00.8 9A60 60 0 0084 304H0V0h288Z'/%3e%3c/clipPath%3e%3c/defs%3e%3cuse xlink:href='%23b' width='435.5' height='371.5'/%3e%3cuse xlink:href='%23e' width='128' height='56' transform='translate(192 344)'/%3e%3c/svg%3e"},partlycloudy:{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='c' viewBox='0 0 193 193'%3e%3ccircle cx='96.5' cy='96.5' r='40' fill='none' stroke='%23fbbf24' stroke-miterlimit='10' stroke-width='9'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='9' d='M96.5 29.9V4.5m0 184v-25.4m47.1-113.7 18-18M31.4 161.6l18-18m0-94.2-18-18m130.2 130.2-18-18M4.5 96.5h25.4m158.6 0h-25.4'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 96.5 96.5%3b 45 96.5 96.5'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='d' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='b' viewBox='0 0 435.5 371.5'%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23c' width='193' height='193' transform='translate(69.5 110.5)'/%3e%3c/g%3e%3cuse xlink:href='%23d' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3c/symbol%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M288 148a83.8 83.8 0 00-71.4 40 56 56 0 00-84.6 48 56.6 56.6 0 00.8 9A60 60 0 0084 304H0V0h288Z'/%3e%3c/clipPath%3e%3c/defs%3e%3cuse xlink:href='%23b' width='435.5' height='371.5'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='c' viewBox='0 0 178 178'%3e%3cpath fill='none' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='10' d='M163.6 110.4a84.8 84.8 0 01-85.4-84.3A83.3 83.3 0 0181 5 84.7 84.7 0 005 88.7 84.8 84.8 0 0090.4 173a85.2 85.2 0 0082.6-63.1 88 88 0 01-9.4.5Z'/%3e%3c/symbol%3e%3csymbol id='d' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='b' viewBox='0 0 435.5 371.5'%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23c' width='178' height='178' transform='translate(77 118)'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='-15 86 86%3b 9 86 86%3b -15 86 86'/%3e%3c/use%3e%3c/g%3e%3cuse xlink:href='%23d' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3c/symbol%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M288 148a83.8 83.8 0 00-71.4 40 56 56 0 00-84.6 48 56.6 56.6 0 00.8 9A60 60 0 0084 304H0V0h288Z'/%3e%3c/clipPath%3e%3c/defs%3e%3cuse xlink:href='%23b' width='435.5' height='371.5'/%3e%3c/svg%3e"},cloudy:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='a' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23a' width='359' height='231' transform='translate(76.5 140.5)'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='translate' values='-18 0%3b 18 0%3b -18 0'/%3e%3c/use%3e%3c/svg%3e","clear-night":{day:Tr,night:kr},fog:{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='b' viewBox='0 0 375 375'%3e%3ccircle cx='187.5' cy='187.5' r='84' fill='none' stroke='%23fbbf24' stroke-miterlimit='10' stroke-width='15'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='15' d='M187.5 57.2V7.5m0 360v-49.7m92.2-222.5 35-35M60.3 314.7l35.1-35.1m0-184.4-35-35m254.5 254.5-35.1-35.1M57.2 187.5H7.5m360 0h-49.7'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 187.5 187.5%3b 45 187.5 187.5'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='c' overflow='visible' viewBox='0 0 258 66'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-miterlimit='10' stroke-width='18' d='M9 57h240'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='translate' values='-24 0%3b 24 0%3b -24 0'/%3e%3c/path%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-miterlimit='10' stroke-width='18' d='M9 9h240'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='translate' values='24 0%3b -24 0%3b 24 0'/%3e%3c/path%3e%3c/symbol%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M0 0h512v306H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23b' width='375' height='375' transform='translate(68.5 104.5)'/%3e%3c/g%3e%3cuse xlink:href='%23c' width='258' height='66' transform='translate(127 339)'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='b' overflow='visible' viewBox='0 0 279 279'%3e%3cpath fill='none' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M256.8 173.1A133.3 133.3 0 01122.4 40.7 130.5 130.5 0 01127 7.5 133 133 0 007.5 139.1c0 73.1 60 132.4 134.2 132.4 62.5 0 114.8-42.2 129.8-99.2a135.6 135.6 0 01-14.8.8Z'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='-15 135 135%3b 9 135 135%3b -15 135 135'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='c' overflow='visible' viewBox='0 0 258 66'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-miterlimit='10' stroke-width='18' d='M9 57h240'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='translate' values='-24 0%3b 24 0%3b -24 0'/%3e%3c/path%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-miterlimit='10' stroke-width='18' d='M9 9h240'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='translate' values='24 0%3b -24 0%3b 24 0'/%3e%3c/path%3e%3c/symbol%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M0 0h512v306H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23b' width='279' height='279' transform='translate(116.5 116.5)'/%3e%3c/g%3e%3cuse xlink:href='%23c' width='258' height='66' transform='translate(127 339)'/%3e%3c/svg%3e"},hail:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='a' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='b' overflow='visible' viewBox='0 0 136 24'%3e%3cpath fill='%2386c3db' d='M12 0a12 12 0 1012 12A12 12 0 0012 0Z' opacity='0'%3e%3canimateTransform id='x1' additive='sum' attributeName='transform' begin='0s%3b x1.end%2b.42s' dur='.58s' keyTimes='0%3b .71%3b 1' type='translate' values='0 -46%3b 0 86%3b -18 74'/%3e%3canimate id='y1' attributeName='opacity' begin='0s%3b y1.end%2b.42s' dur='.58s' keyTimes='0%3b .14%3b .71%3b 1' values='0%3b 1%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='%2386c3db' d='M68 0a12 12 0 1012 12A12 12 0 0068 0Z' opacity='0'%3e%3canimateTransform id='x2' additive='sum' attributeName='transform' begin='.67s%3b x2.end%2b.42s' dur='.58s' keyTimes='0%3b .71%3b 1' type='translate' values='0 -46%3b 0 86%3b 0 74'/%3e%3canimate id='y2' attributeName='opacity' begin='.67s%3b y2.end%2b.42s' dur='.58s' keyTimes='0%3b .14%3b .71%3b 1' values='0%3b 1%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='%2386c3db' d='M124 0a12 12 0 1012 12 12 12 0 00-12-12Z' opacity='0'%3e%3canimateTransform id='x3' additive='sum' attributeName='transform' begin='.33s%3b x3.end%2b.42s' dur='.58s' keyTimes='0%3b .71%3b 1' type='translate' values='0 -46%3b 0 86%3b 18 74'/%3e%3canimate id='y3' attributeName='opacity' begin='.33s%3b y3.end%2b.42s' dur='.58s' keyTimes='0%3b .14%3b .71%3b 1' values='0%3b 1%3b 1%3b 0'/%3e%3c/path%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23a' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3cuse xlink:href='%23b' width='136' height='24' transform='translate(188 350)'/%3e%3c/svg%3e",lightning:{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='c' viewBox='0 0 193 193'%3e%3ccircle cx='96.5' cy='96.5' r='40' fill='none' stroke='%23fbbf24' stroke-miterlimit='10' stroke-width='9'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='9' d='M96.5 29.9V4.5m0 184v-25.4m47.1-113.7 18-18M31.4 161.6l18-18m0-94.2-18-18m130.2 130.2-18-18M4.5 96.5h25.4m158.6 0h-25.4'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 96.5 96.5%3b 45 96.5 96.5'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='d' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='b' viewBox='0 0 435.5 371.5'%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23c' width='193' height='193' transform='translate(69.5 110.5)'/%3e%3c/g%3e%3cuse xlink:href='%23d' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3c/symbol%3e%3csymbol id='e' viewBox='0 0 96 176'%3e%3cpath fill='%23f6a823' d='M32 0 0 96h32l-16 80L96 64H48L80 0H32z'%3e%3canimate id='x1' attributeName='opacity' begin='0s%3b x1.end%2b.67s' dur='1.33s' keyTimes='0%3b .38%3b .5%3b .63%3b .75%3b .86%3b .94%3b 1' values='1%3b 1%3b 0%3b 1%3b 0%3b 1%3b 0%3b 1'/%3e%3c/path%3e%3c/symbol%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M288 148a83.8 83.8 0 00-71.4 40 56 56 0 00-84.6 48 56.6 56.6 0 00.8 9A60 60 0 0084 304H0V0h288Z'/%3e%3c/clipPath%3e%3c/defs%3e%3cuse xlink:href='%23b' width='435.5' height='371.5'/%3e%3cuse xlink:href='%23e' width='96' height='176' transform='translate(208 293)'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='c' viewBox='0 0 178 178'%3e%3cpath fill='none' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='10' d='M163.6 110.4a84.8 84.8 0 01-85.4-84.3A83.3 83.3 0 0181 5 84.7 84.7 0 005 88.7 84.8 84.8 0 0090.4 173a85.2 85.2 0 0082.6-63.1 88 88 0 01-9.4.5Z'/%3e%3c/symbol%3e%3csymbol id='d' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='b' viewBox='0 0 435.5 371.5'%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23c' width='178' height='178' transform='translate(77 118)'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='-15 86 86%3b 9 86 86%3b -15 86 86'/%3e%3c/use%3e%3c/g%3e%3cuse xlink:href='%23d' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3c/symbol%3e%3csymbol id='e' viewBox='0 0 96 176'%3e%3cpath fill='%23f6a823' d='M32 0 0 96h32l-16 80L96 64H48L80 0H32z'%3e%3canimate id='x1' attributeName='opacity' begin='0s%3b x1.end%2b.67s' dur='1.33s' keyTimes='0%3b .38%3b .5%3b .63%3b .75%3b .86%3b .94%3b 1' values='1%3b 1%3b 0%3b 1%3b 0%3b 1%3b 0%3b 1'/%3e%3c/path%3e%3c/symbol%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M288 148a83.8 83.8 0 00-71.4 40 56 56 0 00-84.6 48 56.6 56.6 0 00.8 9A60 60 0 0084 304H0V0h288Z'/%3e%3c/clipPath%3e%3c/defs%3e%3cuse xlink:href='%23b' width='435.5' height='371.5'/%3e%3cuse xlink:href='%23e' width='96' height='176' transform='translate(208 293)'/%3e%3c/svg%3e"},"lightning-rainy":{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='c' viewBox='0 0 193 193'%3e%3ccircle cx='96.5' cy='96.5' r='40' fill='none' stroke='%23fbbf24' stroke-miterlimit='10' stroke-width='9'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='9' d='M96.5 29.9V4.5m0 184v-25.4m47.1-113.7 18-18M31.4 161.6l18-18m0-94.2-18-18m130.2 130.2-18-18M4.5 96.5h25.4m158.6 0h-25.4'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 96.5 96.5%3b 45 96.5 96.5'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='d' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='b' viewBox='0 0 435.5 371.5'%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23c' width='193' height='193' transform='translate(69.5 110.5)'/%3e%3c/g%3e%3cuse xlink:href='%23d' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3c/symbol%3e%3csymbol id='e' overflow='visible' viewBox='0 0 128 56'%3e%3cpath fill='%230a5ad4' d='M8 56a8 8 0 01-8-8V8a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x1' additive='sum' attributeName='transform' begin='0s%3b x1.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y1' attributeName='opacity' begin='0s%3b y1.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='%230a5ad4' d='M64 56a8 8 0 01-8-8V8a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x2' additive='sum' attributeName='transform' begin='.33s%3b x2.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y2' attributeName='opacity' begin='.33s%3b y2.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='%230a5ad4' d='M120 56a8 8 0 01-8-8V8a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x3' additive='sum' attributeName='transform' begin='-.33s%3b x3.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y3' attributeName='opacity' begin='-.33s%3b y3.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='f' viewBox='0 0 96 176'%3e%3cpath fill='%23f6a823' d='M32 0 0 96h32l-16 80L96 64H48L80 0H32z'%3e%3canimate id='x1' attributeName='opacity' begin='0s%3b x1.end%2b.67s' dur='1.33s' keyTimes='0%3b .38%3b .5%3b .63%3b .75%3b .86%3b .94%3b 1' values='1%3b 1%3b 0%3b 1%3b 0%3b 1%3b 0%3b 1'/%3e%3c/path%3e%3c/symbol%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M288 148a83.8 83.8 0 00-71.4 40 56 56 0 00-84.6 48 56.6 56.6 0 00.8 9A60 60 0 0084 304H0V0h288Z'/%3e%3c/clipPath%3e%3c/defs%3e%3cuse xlink:href='%23b' width='435.5' height='371.5'/%3e%3cuse xlink:href='%23e' width='128' height='56' transform='translate(192 344)'/%3e%3cuse xlink:href='%23f' width='96' height='176' transform='translate(208 293)'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='c' viewBox='0 0 178 178'%3e%3cpath fill='none' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='10' d='M163.6 110.4a84.8 84.8 0 01-85.4-84.3A83.3 83.3 0 0181 5 84.7 84.7 0 005 88.7 84.8 84.8 0 0090.4 173a85.2 85.2 0 0082.6-63.1 88 88 0 01-9.4.5Z'/%3e%3c/symbol%3e%3csymbol id='d' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='b' viewBox='0 0 435.5 371.5'%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23c' width='178' height='178' transform='translate(77 118)'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='-15 86 86%3b 9 86 86%3b -15 86 86'/%3e%3c/use%3e%3c/g%3e%3cuse xlink:href='%23d' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3c/symbol%3e%3csymbol id='e' overflow='visible' viewBox='0 0 128 56'%3e%3cpath fill='%230a5ad4' d='M8 56a8 8 0 01-8-8V8a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x1' additive='sum' attributeName='transform' begin='0s%3b x1.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y1' attributeName='opacity' begin='0s%3b y1.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='%230a5ad4' d='M64 56a8 8 0 01-8-8V8a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x2' additive='sum' attributeName='transform' begin='.33s%3b x2.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y2' attributeName='opacity' begin='.33s%3b y2.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='%230a5ad4' d='M120 56a8 8 0 01-8-8V8a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x3' additive='sum' attributeName='transform' begin='-.33s%3b x3.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y3' attributeName='opacity' begin='-.33s%3b y3.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='f' viewBox='0 0 96 176'%3e%3cpath fill='%23f6a823' d='M32 0 0 96h32l-16 80L96 64H48L80 0H32z'%3e%3canimate id='x1' attributeName='opacity' begin='0s%3b x1.end%2b.67s' dur='1.33s' keyTimes='0%3b .38%3b .5%3b .63%3b .75%3b .86%3b .94%3b 1' values='1%3b 1%3b 0%3b 1%3b 0%3b 1%3b 0%3b 1'/%3e%3c/path%3e%3c/symbol%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M288 148a83.8 83.8 0 00-71.4 40 56 56 0 00-84.6 48 56.6 56.6 0 00.8 9A60 60 0 0084 304H0V0h288Z'/%3e%3c/clipPath%3e%3c/defs%3e%3cuse xlink:href='%23b' width='435.5' height='371.5'/%3e%3cuse xlink:href='%23e' width='128' height='56' transform='translate(192 344)'/%3e%3cuse xlink:href='%23f' width='96' height='176' transform='translate(208 293)'/%3e%3c/svg%3e"},pouring:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='a' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='b' overflow='visible' viewBox='0 0 128 56'%3e%3cpath fill='%230a5ad4' d='M8 56a8 8 0 01-8-8V8a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x1' additive='sum' attributeName='transform' begin='0s%3b x1.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y1' attributeName='opacity' begin='0s%3b y1.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='%230a5ad4' d='M64 56a8 8 0 01-8-8V8a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x2' additive='sum' attributeName='transform' begin='.33s%3b x2.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y2' attributeName='opacity' begin='.33s%3b y2.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='%230a5ad4' d='M120 56a8 8 0 01-8-8V8a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x3' additive='sum' attributeName='transform' begin='-.33s%3b x3.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y3' attributeName='opacity' begin='-.33s%3b y3.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23a' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3cuse xlink:href='%23b' width='128' height='56' transform='translate(192 344)'/%3e%3c/svg%3e",raindrop:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='a' viewBox='0 0 175 260.9'%3e%3cpath fill='none' stroke='%232885c7' stroke-miterlimit='10' stroke-width='15' d='M87.5 13.4c-48.7 72-80 117-80 160.7s35.8 79.3 80 79.3 80-35.5 80-79.3-31.3-88.8-80-160.7Z'%3e%3canimateTransform attributeName='transform' calcMode='spline' dur='6s' keySplines='.42%2c 0%2c .58%2c 1%3b .42%2c 0%2c .58%2c 1' repeatCount='indefinite' type='scale' values='1 1%3b 1 .9%3b 1 1'/%3e%3c/path%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23a' width='175' height='260.9' transform='translate(168.5 122.62)'/%3e%3c/svg%3e",raindrops:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M302 137c-48.7 72-80 117-80 160.8s35.8 79.2 80 79.2v135H0V0h302Z'%3e%3canimateTransform additive='sum' attributeName='transform' calcMode='spline' dur='6s' keySplines='.42%2c 0%2c .58%2c 1%3b .42%2c 0%2c .58%2c 1' repeatCount='indefinite' type='scale' values='1 1%3b 1 .95%3b 1 1'/%3e%3c/path%3e%3c/clipPath%3e%3csymbol id='b' viewBox='0 0 175 260.9'%3e%3cpath fill='none' stroke='%232885c7' stroke-miterlimit='10' stroke-width='15' d='M87.5 13.4c-48.7 72-80 117-80 160.7s35.8 79.3 80 79.3 80-35.5 80-79.3-31.3-88.8-80-160.7Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23b' width='175' height='260.9' transform='translate(214.5 123.62)'%3e%3canimateTransform additive='sum' attributeName='transform' calcMode='spline' dur='6s' keySplines='.42%2c 0%2c .58%2c 1%3b .42%2c 0%2c .58%2c 1' repeatCount='indefinite' type='scale' values='1 1%3b 1 .9%3b 1 1'/%3e%3c/use%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23b' width='175' height='260.9' transform='translate(122.5 123.62)'%3e%3canimateTransform additive='sum' attributeName='transform' calcMode='spline' dur='6s' keySplines='.42%2c 0%2c .58%2c 1%3b .42%2c 0%2c .58%2c 1' repeatCount='indefinite' type='scale' values='1 .9%3b 1 1%3b 1 .9'/%3e%3c/use%3e%3c/g%3e%3c/svg%3e",snowy:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='a' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='b' overflow='visible' viewBox='0 0 155.2 48'%3e%3cg%3e%3cpath fill='%2386c3db' d='m41.2 30.5-5.8-3.3a13.7 13.7 0 000-6.4l5.8-3.3a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.2V4a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2l-5.8-3.3A4 4 0 00.5 12 4 4 0 002 17.5l5.8 3.3a13.7 13.7 0 000 6.4L2 30.5A4 4 0 00.5 36a4 4 0 003.6 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.6 2 13.8 13.8 0 003 1.2V44a4 4 0 008 0v-6.6a14.2 14.2 0 005.8-3.2l5.8 3.3a4 4 0 002 .5 4 4 0 003.5-2 4 4 0 00-1.4-5.5Zm-22.6-1.3a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8A6 6 0 0127 27a6.1 6.1 0 01-8.3 2.2Z' opacity='0'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 24 24%3b 360 24 24'/%3e%3canimate id='t1' attributeName='opacity' begin='0s%3b t1.end%2b1s' dur='2s' keyTimes='0%3b .17%3b .83%3b 1' values='0%3b 1%3b 1%3b 0'/%3e%3c/path%3e%3canimateTransform id='s1' additive='sum' attributeName='transform' begin='0s%3b s1.end%2b1s' dur='2s' type='translate' values='0 -36%3b 0 92%3b'/%3e%3c/g%3e%3cg%3e%3cpath fill='%2386c3db' d='m97.2 30.5-5.8-3.3a13.7 13.7 0 000-6.4l5.8-3.3a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.2V4a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2l-5.8-3.3a4 4 0 00-5.6 1.5 4 4 0 001.5 5.5l5.8 3.3a13.7 13.7 0 000 6.4L58 30.5a4 4 0 00-1.5 5.5 4 4 0 003.6 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.6 2 13.8 13.8 0 003 1.2V44a4 4 0 008 0v-6.6a14.2 14.2 0 005.8-3.2l5.8 3.3a4 4 0 002 .5 4 4 0 003.5-2 4 4 0 00-1.4-5.5Zm-22.6-1.3a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8A6 6 0 0183 27a6.1 6.1 0 01-8.3 2.2Z' opacity='0'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 80 24%3b 360 80 24'/%3e%3canimate id='t2' attributeName='opacity' begin='-.83s%3b t2.end%2b1s' dur='2s' keyTimes='0%3b .17%3b .83%3b 1' values='0%3b 1%3b 1%3b 0'/%3e%3c/path%3e%3canimateTransform id='s2' additive='sum' attributeName='transform' begin='-.83s%3b s2.end%2b1s' dur='2s' type='translate' values='0 -36%3b 0 92%3b'/%3e%3c/g%3e%3cg%3e%3cpath fill='%2386c3db' d='m153.2 30.5-5.8-3.3a13.7 13.7 0 000-6.4l5.8-3.3a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.2V4a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2l-5.8-3.3a4 4 0 00-5.6 1.5 4 4 0 001.5 5.5l5.8 3.3a13.7 13.7 0 000 6.4l-5.8 3.3a4 4 0 00-1.5 5.5 4 4 0 003.6 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.6 2 13.8 13.8 0 003 1.2V44a4 4 0 008 0v-6.6a14.2 14.2 0 005.8-3.2l5.8 3.3a4 4 0 002 .5 4 4 0 003.5-2 4 4 0 00-1.4-5.5Zm-22.6-1.3a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8 6 6 0 012.2 8.2 6.1 6.1 0 01-8.2 2.2Z' opacity='0'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 136 24%3b 360 136 24'/%3e%3canimate id='t3' attributeName='opacity' begin='.83s%3b t3.end%2b1s' dur='2s' keyTimes='0%3b .17%3b .83%3b 1' values='0%3b 1%3b 1%3b 0'/%3e%3c/path%3e%3canimateTransform id='s3' additive='sum' attributeName='transform' begin='.83s%3b s3.end%2b1s' dur='2s' type='translate' values='0 -36%3b 0 92%3b'/%3e%3c/g%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23a' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3cuse xlink:href='%23b' width='155.2' height='48' transform='translate(178.4 338)'/%3e%3c/svg%3e","snowy-rainy":"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='a' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='c' overflow='visible' viewBox='0 0 155.2 48'%3e%3cg%3e%3cpath fill='%2386c3db' d='m41.2 30.5-5.8-3.3a13.7 13.7 0 000-6.4l5.8-3.3a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.2V4a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2l-5.8-3.3A4 4 0 00.5 12 4 4 0 002 17.5l5.8 3.3a13.7 13.7 0 000 6.4L2 30.5A4 4 0 00.5 36a4 4 0 003.6 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.6 2 13.8 13.8 0 003 1.2V44a4 4 0 008 0v-6.6a14.2 14.2 0 005.8-3.2l5.8 3.3a4 4 0 002 .5 4 4 0 003.5-2 4 4 0 00-1.4-5.5Zm-22.6-1.3a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8A6 6 0 0127 27a6.1 6.1 0 01-8.3 2.2Z' opacity='0'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 24 24%3b 360 24 24'/%3e%3canimate id='t1' attributeName='opacity' begin='0s%3b t1.end%2b1s' dur='2s' keyTimes='0%3b .17%3b .83%3b 1' values='0%3b 1%3b 1%3b 0'/%3e%3c/path%3e%3canimateTransform id='s1' additive='sum' attributeName='transform' begin='0s%3b s1.end%2b1s' dur='2s' type='translate' values='0 -36%3b 0 92%3b'/%3e%3c/g%3e%3cg%3e%3cpath fill='%2386c3db' d='m97.2 30.5-5.8-3.3a13.7 13.7 0 000-6.4l5.8-3.3a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.2V4a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2l-5.8-3.3a4 4 0 00-5.6 1.5 4 4 0 001.5 5.5l5.8 3.3a13.7 13.7 0 000 6.4L58 30.5a4 4 0 00-1.5 5.5 4 4 0 003.6 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.6 2 13.8 13.8 0 003 1.2V44a4 4 0 008 0v-6.6a14.2 14.2 0 005.8-3.2l5.8 3.3a4 4 0 002 .5 4 4 0 003.5-2 4 4 0 00-1.4-5.5Zm-22.6-1.3a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8A6 6 0 0183 27a6.1 6.1 0 01-8.3 2.2Z' opacity='0'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 80 24%3b 360 80 24'/%3e%3canimate id='t2' attributeName='opacity' begin='-.83s%3b t2.end%2b1s' dur='2s' keyTimes='0%3b .17%3b .83%3b 1' values='0%3b 1%3b 1%3b 0'/%3e%3c/path%3e%3canimateTransform id='s2' additive='sum' attributeName='transform' begin='-.83s%3b s2.end%2b1s' dur='2s' type='translate' values='0 -36%3b 0 92%3b'/%3e%3c/g%3e%3cg%3e%3cpath fill='%2386c3db' d='m153.2 30.5-5.8-3.3a13.7 13.7 0 000-6.4l5.8-3.3a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.2V4a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2l-5.8-3.3a4 4 0 00-5.6 1.5 4 4 0 001.5 5.5l5.8 3.3a13.7 13.7 0 000 6.4l-5.8 3.3a4 4 0 00-1.5 5.5 4 4 0 003.6 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.6 2 13.8 13.8 0 003 1.2V44a4 4 0 008 0v-6.6a14.2 14.2 0 005.8-3.2l5.8 3.3a4 4 0 002 .5 4 4 0 003.5-2 4 4 0 00-1.4-5.5Zm-22.6-1.3a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8 6 6 0 012.2 8.2 6.1 6.1 0 01-8.2 2.2Z' opacity='0'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 136 24%3b 360 136 24'/%3e%3canimate id='t3' attributeName='opacity' begin='.83s%3b t3.end%2b1s' dur='2s' keyTimes='0%3b .17%3b .83%3b 1' values='0%3b 1%3b 1%3b 0'/%3e%3c/path%3e%3canimateTransform id='s3' additive='sum' attributeName='transform' begin='.83s%3b s3.end%2b1s' dur='2s' type='translate' values='0 -36%3b 0 92%3b'/%3e%3c/g%3e%3c/symbol%3e%3csymbol id='b' overflow='visible' viewBox='0 0 155.2 48'%3e%3cuse xlink:href='%23c' width='155.2' height='48'/%3e%3cpath fill='%230a5ad4' d='M21.6 38a8 8 0 01-8-8V18a8 8 0 0116 0v12a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x1' additive='sum' attributeName='transform' begin='0s%3b x1.end%2b1s' dur='1s' keyTimes='0%3b .25%3b 1' type='translate' values='0 -32%3b 0 -32%3b 0 120%3b'/%3e%3canimate id='y1' attributeName='opacity' begin='0s%3b y1.end%2b1s' dur='1s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='%230a5ad4' d='M77.6 38a8 8 0 01-8-8V18a8 8 0 0116 0v12a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x2' additive='sum' attributeName='transform' begin='1.34s%3b x2.end%2b1s' dur='1s' keyTimes='0%3b .25%3b 1' type='translate' values='0 -32%3b 0 -32%3b 0 120%3b'/%3e%3canimate id='y2' attributeName='opacity' begin='1.34s%3b y2.end%2b1s' dur='1s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='%230a5ad4' d='M133.6 38a8 8 0 01-8-8V18a8 8 0 0116 0v12a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x3' additive='sum' attributeName='transform' begin='.67s%3b x3.end%2b1s' dur='1s' keyTimes='0%3b .25%3b 1' type='translate' values='0 -32%3b 0 -32%3b 0 120%3b'/%3e%3canimate id='y3' attributeName='opacity' begin='.67s%3b y3.end%2b1s' dur='1s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23a' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3cuse xlink:href='%23b' width='155.2' height='48' transform='translate(178.4 338)'/%3e%3c/svg%3e",sunny:{day:Tr,night:kr},windy:Sr,"windy-exceptional":Sr,exceptional:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-miterlimit='10' stroke-width='18' d='M344 256a88 88 0 11-88-88 88 88 0 0188 88ZM200 116.9l-3.8 7.7A269.7 269.7 0 00169 267h0m143.1 128 3.8-7.7A269.7 269.7 0 00343.2 245h0'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='1440 256 256%3b 0 256 256'/%3e%3c/path%3e%3c/svg%3e"},fill:{rainy:{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='1381.3' x2='1399.5' y1='-1144.7' y2='-1097.4' gradientTransform='rotate(-9 8002.567 8233.063)' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%230b65ed'/%3e%3cstop offset='.5' stop-color='%230a5ad4'/%3e%3cstop offset='1' stop-color='%230950bc'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23b' id='c' x1='1436.7' x2='1454.9' y1='-1137' y2='-1089.7' gradientTransform='rotate(-9 8009.537 8233.037)'/%3e%3clinearGradient xlink:href='%23b' id='d' x1='1492.1' x2='1510.3' y1='-1129.3' y2='-1082.1' gradientTransform='rotate(-9 8016.566 8233.078)'/%3e%3clinearGradient id='e' x1='78' x2='118' y1='63.4' y2='132.7' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23fbbf24'/%3e%3cstop offset='.5' stop-color='%23fbbf24'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3csymbol id='g' viewBox='0 0 196 196'%3e%3ccircle cx='98' cy='98' r='40' fill='url(%23e)' stroke='%23f8af18' stroke-miterlimit='10' stroke-width='4'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='12' d='M98 31.4V6m0 184v-25.4M145.1 51l18-17.9M33 163l18-17.9M51 51 33 33m130.1 130.1-18-18M6 98h25.4M190 98h-25.4'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 98 98%3b 45 98 98'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='h' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='f' viewBox='0 0 363 258'%3e%3cuse xlink:href='%23g' width='196' height='196'/%3e%3cuse xlink:href='%23h' width='350' height='222' transform='translate(13 36)'/%3e%3c/symbol%3e%3csymbol id='i' overflow='visible' viewBox='0 0 129 57'%3e%3cpath fill='url(%23b)' stroke='%230a5ad4' stroke-miterlimit='10' d='M8.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x1' additive='sum' attributeName='transform' begin='0s%3b x1.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y1' attributeName='opacity' begin='0s%3b y1.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='url(%23c)' stroke='%230a5ad4' stroke-miterlimit='10' d='M64.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x2' additive='sum' attributeName='transform' begin='.33s%3b x2.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y2' attributeName='opacity' begin='.33s%3b y2.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='url(%23d)' stroke='%230a5ad4' stroke-miterlimit='10' d='M120.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x3' additive='sum' attributeName='transform' begin='-.33s%3b x3.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y3' attributeName='opacity' begin='-.33s%3b y3.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23f' width='363' height='258' transform='translate(68 109)'/%3e%3cuse xlink:href='%23i' width='129' height='57' transform='translate(191.5 343.5)'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='34.7' x2='119.2' y1='18.6' y2='165' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%2386c3db'/%3e%3cstop offset='.5' stop-color='%2386c3db'/%3e%3cstop offset='1' stop-color='%235eafcf'/%3e%3c/linearGradient%3e%3clinearGradient id='c' x1='1381.3' x2='1399.5' y1='-1144.7' y2='-1097.4' gradientTransform='rotate(-9 8002.567 8233.063)' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%230b65ed'/%3e%3cstop offset='.5' stop-color='%230a5ad4'/%3e%3cstop offset='1' stop-color='%230950bc'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23c' id='d' x1='1436.7' x2='1454.9' y1='-1137' y2='-1089.7' gradientTransform='rotate(-9 8009.537 8233.037)'/%3e%3clinearGradient xlink:href='%23c' id='e' x1='1492.1' x2='1510.3' y1='-1129.3' y2='-1082.1' gradientTransform='rotate(-9 8016.566 8233.078)'/%3e%3csymbol id='g' viewBox='0 0 172 172'%3e%3cpath fill='url(%23b)' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='4' d='M160.6 107.4a84.8 84.8 0 01-85.4-84.3A83.3 83.3 0 0178 2 84.7 84.7 0 002 85.7 84.8 84.8 0 0087.4 170a85.2 85.2 0 0082.6-63.1 88 88 0 01-9.4.5Z'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='-15 86 86%3b 9 86 86%3b -15 86 86'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='h' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='f' viewBox='0 0 351 246'%3e%3cuse xlink:href='%23g' width='172' height='172'/%3e%3cuse xlink:href='%23h' width='350' height='222' transform='translate(1 24)'/%3e%3c/symbol%3e%3csymbol id='i' overflow='visible' viewBox='0 0 129 57'%3e%3cpath fill='url(%23c)' stroke='%230a5ad4' stroke-miterlimit='10' d='M8.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x1' additive='sum' attributeName='transform' begin='0s%3b x1.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y1' attributeName='opacity' begin='0s%3b y1.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='url(%23d)' stroke='%230a5ad4' stroke-miterlimit='10' d='M64.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x2' additive='sum' attributeName='transform' begin='.33s%3b x2.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y2' attributeName='opacity' begin='.33s%3b y2.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='url(%23e)' stroke='%230a5ad4' stroke-miterlimit='10' d='M120.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x3' additive='sum' attributeName='transform' begin='-.33s%3b x3.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y3' attributeName='opacity' begin='-.33s%3b y3.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23f' width='351' height='246' transform='translate(80 121)'/%3e%3cuse xlink:href='%23i' width='129' height='57' transform='translate(191.5 343.5)'/%3e%3c/svg%3e"},partlycloudy:{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='d' viewBox='0 0 196 196'%3e%3ccircle cx='98' cy='98' r='40' fill='url(%23b)' stroke='%23f8af18' stroke-miterlimit='10' stroke-width='4'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='12' d='M98 31.4V6m0 184v-25.4M145.1 51l18-17.9M33 163l18-17.9M51 51 33 33m130.1 130.1-18-18M6 98h25.4M190 98h-25.4'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 98 98%3b 45 98 98'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='e' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='c' viewBox='0 0 363 258'%3e%3cuse xlink:href='%23d' width='196' height='196'/%3e%3cuse xlink:href='%23e' width='350' height='222' transform='translate(13 36)'/%3e%3c/symbol%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='78' x2='118' y1='63.4' y2='132.7' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23fbbf24'/%3e%3cstop offset='.5' stop-color='%23fbbf24'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3c/defs%3e%3cuse xlink:href='%23c' width='363' height='258' transform='translate(68 109)'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='d' viewBox='0 0 172 172'%3e%3cpath fill='url(%23b)' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='4' d='M160.6 107.4a84.8 84.8 0 01-85.4-84.3A83.3 83.3 0 0178 2 84.7 84.7 0 002 85.7 84.8 84.8 0 0087.4 170a85.2 85.2 0 0082.6-63.1 88 88 0 01-9.4.5Z'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='-15 86 86%3b 9 86 86%3b -15 86 86'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='e' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='c' viewBox='0 0 351 246'%3e%3cuse xlink:href='%23d' width='172' height='172'/%3e%3cuse xlink:href='%23e' width='350' height='222' transform='translate(1 24)'/%3e%3c/symbol%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='34.7' x2='119.2' y1='18.6' y2='165' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%2386c3db'/%3e%3cstop offset='.5' stop-color='%2386c3db'/%3e%3cstop offset='1' stop-color='%235eafcf'/%3e%3c/linearGradient%3e%3c/defs%3e%3cuse xlink:href='%23c' width='351' height='246' transform='translate(80 121)'/%3e%3c/svg%3e"},cloudy:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3csymbol id='b' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23b' width='350' height='222' transform='translate(81 145)'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='translate' values='-18 0%3b 18 0%3b -18 0'/%3e%3c/use%3e%3c/svg%3e","clear-night":{day:xr,night:vr},fog:{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='96' x2='168' y1='-2.4' y2='122.3' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23d4d7dd'/%3e%3cstop offset='.5' stop-color='%23d4d7dd'/%3e%3cstop offset='1' stop-color='%23bec1c6'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23a' id='b' x2='168' y1='-50.4' y2='74.3'/%3e%3clinearGradient id='c' x1='150' x2='234' y1='119.2' y2='264.8' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23fbbf24'/%3e%3cstop offset='.5' stop-color='%23fbbf24'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3csymbol id='e' viewBox='0 0 384 384'%3e%3ccircle cx='192' cy='192' r='84' fill='url(%23c)' stroke='%23f8af18' stroke-miterlimit='10' stroke-width='6'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='24' d='M192 61.7V12m0 360v-49.7m92.2-222.5 35-35M64.8 319.2l35.1-35.1m0-184.4-35-35m254.5 254.5-35.1-35.1M61.7 192H12m360 0h-49.7'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 192 192%3b 45 192 192'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='f' overflow='visible' viewBox='0 0 264 72'%3e%3cpath fill='none' stroke='url(%23a)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='24' d='M12 60h240'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='translate' values='-24 0%3b 24 0%3b -24 0'/%3e%3c/path%3e%3cpath fill='none' stroke='url(%23b)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='24' d='M12 12h240'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='translate' values='24 0%3b -24 0%3b 24 0'/%3e%3c/path%3e%3c/symbol%3e%3cclipPath id='d'%3e%3cpath fill='none' d='M0 0h512v306H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3cg clip-path='url(%23d)'%3e%3cuse xlink:href='%23e' width='384' height='384' transform='translate(64 100)'/%3e%3c/g%3e%3cuse xlink:href='%23f' width='264' height='72' transform='translate(124 336)'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='96' x2='168' y1='-2.4' y2='122.3' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23d4d7dd'/%3e%3cstop offset='.5' stop-color='%23d4d7dd'/%3e%3cstop offset='1' stop-color='%23bec1c6'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23a' id='b' x2='168' y1='-50.4' y2='74.3'/%3e%3clinearGradient id='c' x1='54.3' x2='187.2' y1='29' y2='259.1' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%2386c3db'/%3e%3cstop offset='.5' stop-color='%2386c3db'/%3e%3cstop offset='1' stop-color='%235eafcf'/%3e%3c/linearGradient%3e%3csymbol id='e' viewBox='0 0 270 270'%3e%3cpath fill='url(%23c)' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='6' d='M252.3 168.6A133.4 133.4 0 01118 36.2 130.5 130.5 0 01122.5 3 133 133 0 003 134.6C3 207.7 63 267 137.2 267c62.5 0 114.8-42.2 129.8-99.2a135.6 135.6 0 01-14.8.8Z'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='-15 135 135%3b 9 135 135%3b -15 135 135'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='f' overflow='visible' viewBox='0 0 264 72'%3e%3cpath fill='none' stroke='url(%23a)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='24' d='M12 60h240'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='translate' values='-24 0%3b 24 0%3b -24 0'/%3e%3c/path%3e%3cpath fill='none' stroke='url(%23b)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='24' d='M12 12h240'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='translate' values='24 0%3b -24 0%3b 24 0'/%3e%3c/path%3e%3c/symbol%3e%3cclipPath id='d'%3e%3cpath fill='none' d='M0 0h512v306H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3cg clip-path='url(%23d)'%3e%3cuse xlink:href='%23e' width='270' height='270' transform='translate(121 121)'/%3e%3c/g%3e%3cuse xlink:href='%23f' width='264' height='72' transform='translate(124 336)'/%3e%3c/svg%3e"},hail:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='6.5' x2='18.5' y1='2.1' y2='22.9' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%2386c3db'/%3e%3cstop offset='.5' stop-color='%2386c3db'/%3e%3cstop offset='1' stop-color='%235eafcf'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23b' id='c' x1='62.5' x2='74.5' y1='2.1' y2='22.9'/%3e%3clinearGradient xlink:href='%23b' id='d' x1='118.5' x2='130.5' y1='2.1' y2='22.9'/%3e%3csymbol id='e' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='f' overflow='visible' viewBox='0 0 137 25'%3e%3cpath fill='url(%23b)' stroke='%2386c3db' stroke-miterlimit='10' d='M12.5.5a12 12 0 1012 12 12 12 0 00-12-12Z' opacity='0'%3e%3canimateTransform id='x1' additive='sum' attributeName='transform' begin='0s%3b x1.end%2b.42s' dur='.58s' keyTimes='0%3b .71%3b 1' type='translate' values='0 -46%3b 0 86%3b -18 74'/%3e%3canimate id='y1' attributeName='opacity' begin='0s%3b y1.end%2b.42s' dur='.58s' keyTimes='0%3b .14%3b .71%3b 1' values='0%3b 1%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='url(%23c)' stroke='%2386c3db' stroke-miterlimit='10' d='M68.5.5a12 12 0 1012 12 12 12 0 00-12-12Z' opacity='0'%3e%3canimateTransform id='x2' additive='sum' attributeName='transform' begin='.67s%3b x2.end%2b.42s' dur='.58s' keyTimes='0%3b .71%3b 1' type='translate' values='0 -46%3b 0 86%3b 0 74'/%3e%3canimate id='y2' attributeName='opacity' begin='.67s%3b y2.end%2b.42s' dur='.58s' keyTimes='0%3b .14%3b .71%3b 1' values='0%3b 1%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='url(%23d)' stroke='%2386c3db' stroke-miterlimit='10' d='M124.5.5a12 12 0 1012 12 12 12 0 00-12-12Z' opacity='0'%3e%3canimateTransform id='x3' additive='sum' attributeName='transform' begin='.33s%3b x3.end%2b.42s' dur='.58s' keyTimes='0%3b .71%3b 1' type='translate' values='0 -46%3b 0 86%3b 18 74'/%3e%3canimate id='y3' attributeName='opacity' begin='.33s%3b y3.end%2b.42s' dur='.58s' keyTimes='0%3b .14%3b .71%3b 1' values='0%3b 1%3b 1%3b 0'/%3e%3c/path%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23e' width='350' height='222' transform='translate(81 145)'/%3e%3cuse xlink:href='%23f' width='137' height='25' transform='translate(187.5 349.5)'/%3e%3c/svg%3e",lightning:{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='e' viewBox='0 0 196 196'%3e%3ccircle cx='98' cy='98' r='40' fill='url(%23c)' stroke='%23f8af18' stroke-miterlimit='10' stroke-width='4'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='12' d='M98 31.4V6m0 184v-25.4M145.1 51l18-17.9M33 163l18-17.9M51 51 33 33m130.1 130.1-18-18M6 98h25.4M190 98h-25.4'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 98 98%3b 45 98 98'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='f' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='d' viewBox='0 0 363 258'%3e%3cuse xlink:href='%23e' width='196' height='196'/%3e%3cuse xlink:href='%23f' width='350' height='222' transform='translate(13 36)'/%3e%3c/symbol%3e%3csymbol id='g' viewBox='0 0 102.7 186.8'%3e%3cpath fill='url(%23b)' stroke='%23f6a823' stroke-miterlimit='10' stroke-width='4' d='m34.8 2-32 96h32l-16 80 80-112h-48l32-64h-48z'%3e%3canimate id='x1' attributeName='opacity' begin='0s%3b x1.end%2b.67s' dur='1.33s' keyTimes='0%3b .38%3b .5%3b .63%3b .75%3b .86%3b .94%3b 1' values='1%3b 1%3b 0%3b 1%3b 0%3b 1%3b 0%3b 1'/%3e%3c/path%3e%3c/symbol%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='8.7' x2='80.9' y1='17.1' y2='142.1' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f7b23b'/%3e%3cstop offset='.5' stop-color='%23f7b23b'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3clinearGradient id='c' x1='78' x2='118' y1='63.4' y2='132.7' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23fbbf24'/%3e%3cstop offset='.5' stop-color='%23fbbf24'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3c/defs%3e%3cuse xlink:href='%23d' width='363' height='258' transform='translate(68 109)'/%3e%3cuse xlink:href='%23g' width='102.7' height='186.7' transform='translate(205.23 291)'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='e' viewBox='0 0 172 172'%3e%3cpath fill='url(%23c)' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='4' d='M160.6 107.4a84.8 84.8 0 01-85.4-84.3A83.3 83.3 0 0178 2 84.7 84.7 0 002 85.7 84.8 84.8 0 0087.4 170a85.2 85.2 0 0082.6-63.1 88 88 0 01-9.4.5Z'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='-15 86 86%3b 9 86 86%3b -15 86 86'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='f' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='d' viewBox='0 0 351 246'%3e%3cuse xlink:href='%23e' width='172' height='172'/%3e%3cuse xlink:href='%23f' width='350' height='222' transform='translate(1 24)'/%3e%3c/symbol%3e%3csymbol id='g' viewBox='0 0 102.7 186.8'%3e%3cpath fill='url(%23b)' stroke='%23f6a823' stroke-miterlimit='10' stroke-width='4' d='m34.8 2-32 96h32l-16 80 80-112h-48l32-64h-48z'%3e%3canimate id='x1' attributeName='opacity' begin='0s%3b x1.end%2b.67s' dur='1.33s' keyTimes='0%3b .38%3b .5%3b .63%3b .75%3b .86%3b .94%3b 1' values='1%3b 1%3b 0%3b 1%3b 0%3b 1%3b 0%3b 1'/%3e%3c/path%3e%3c/symbol%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='8.7' x2='80.9' y1='17.1' y2='142.1' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f7b23b'/%3e%3cstop offset='.5' stop-color='%23f7b23b'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3clinearGradient id='c' x1='34.7' x2='119.2' y1='18.6' y2='165' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%2386c3db'/%3e%3cstop offset='.5' stop-color='%2386c3db'/%3e%3cstop offset='1' stop-color='%235eafcf'/%3e%3c/linearGradient%3e%3c/defs%3e%3cuse xlink:href='%23d' width='351' height='246' transform='translate(80 121)'/%3e%3cuse xlink:href='%23g' width='102.7' height='186.7' transform='translate(205.23 291)'/%3e%3c/svg%3e"},"lightning-rainy":{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='8.7' x2='80.9' y1='17.1' y2='142.1' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f7b23b'/%3e%3cstop offset='.5' stop-color='%23f7b23b'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3clinearGradient id='c' x1='1381.3' x2='1399.5' y1='-1144.7' y2='-1097.4' gradientTransform='rotate(-9 8002.567 8233.063)' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%230b65ed'/%3e%3cstop offset='.5' stop-color='%230a5ad4'/%3e%3cstop offset='1' stop-color='%230950bc'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23c' id='d' x1='1436.7' x2='1454.9' y1='-1137' y2='-1089.7' gradientTransform='rotate(-9 8009.537 8233.037)'/%3e%3clinearGradient xlink:href='%23c' id='e' x1='1492.1' x2='1510.3' y1='-1129.3' y2='-1082.1' gradientTransform='rotate(-9 8016.566 8233.078)'/%3e%3clinearGradient id='f' x1='78' x2='118' y1='63.4' y2='132.7' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23fbbf24'/%3e%3cstop offset='.5' stop-color='%23fbbf24'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3csymbol id='h' viewBox='0 0 196 196'%3e%3ccircle cx='98' cy='98' r='40' fill='url(%23f)' stroke='%23f8af18' stroke-miterlimit='10' stroke-width='4'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='12' d='M98 31.4V6m0 184v-25.4M145.1 51l18-17.9M33 163l18-17.9M51 51 33 33m130.1 130.1-18-18M6 98h25.4M190 98h-25.4'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 98 98%3b 45 98 98'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='i' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='g' viewBox='0 0 363 258'%3e%3cuse xlink:href='%23h' width='196' height='196'/%3e%3cuse xlink:href='%23i' width='350' height='222' transform='translate(13 36)'/%3e%3c/symbol%3e%3csymbol id='j' overflow='visible' viewBox='0 0 129 57'%3e%3cpath fill='url(%23c)' stroke='%230a5ad4' stroke-miterlimit='10' d='M8.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x1' additive='sum' attributeName='transform' begin='0s%3b x1.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y1' attributeName='opacity' begin='0s%3b y1.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='url(%23d)' stroke='%230a5ad4' stroke-miterlimit='10' d='M64.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x2' additive='sum' attributeName='transform' begin='.33s%3b x2.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y2' attributeName='opacity' begin='.33s%3b y2.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='url(%23e)' stroke='%230a5ad4' stroke-miterlimit='10' d='M120.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x3' additive='sum' attributeName='transform' begin='-.33s%3b x3.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y3' attributeName='opacity' begin='-.33s%3b y3.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='k' viewBox='0 0 102.7 186.8'%3e%3cpath fill='url(%23b)' stroke='%23f6a823' stroke-miterlimit='10' stroke-width='4' d='m34.8 2-32 96h32l-16 80 80-112h-48l32-64h-48z'%3e%3canimate id='x1' attributeName='opacity' begin='0s%3b x1.end%2b.67s' dur='1.33s' keyTimes='0%3b .38%3b .5%3b .63%3b .75%3b .86%3b .94%3b 1' values='1%3b 1%3b 0%3b 1%3b 0%3b 1%3b 0%3b 1'/%3e%3c/path%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23g' width='363' height='258' transform='translate(68 109)'/%3e%3cuse xlink:href='%23j' width='129' height='57' transform='translate(191.5 343.5)'/%3e%3cuse xlink:href='%23k' width='102.7' height='186.7' transform='translate(205.23 291)'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='8.7' x2='80.9' y1='17.1' y2='142.1' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f7b23b'/%3e%3cstop offset='.5' stop-color='%23f7b23b'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3clinearGradient id='c' x1='34.7' x2='119.2' y1='18.6' y2='165' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%2386c3db'/%3e%3cstop offset='.5' stop-color='%2386c3db'/%3e%3cstop offset='1' stop-color='%235eafcf'/%3e%3c/linearGradient%3e%3clinearGradient id='d' x1='1381.3' x2='1399.5' y1='-1144.7' y2='-1097.4' gradientTransform='rotate(-9 8002.567 8233.063)' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%230b65ed'/%3e%3cstop offset='.5' stop-color='%230a5ad4'/%3e%3cstop offset='1' stop-color='%230950bc'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23d' id='e' x1='1436.7' x2='1454.9' y1='-1137' y2='-1089.7' gradientTransform='rotate(-9 8009.537 8233.037)'/%3e%3clinearGradient xlink:href='%23d' id='f' x1='1492.1' x2='1510.3' y1='-1129.3' y2='-1082.1' gradientTransform='rotate(-9 8016.566 8233.078)'/%3e%3csymbol id='h' viewBox='0 0 172 172'%3e%3cpath fill='url(%23c)' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='4' d='M160.6 107.4a84.8 84.8 0 01-85.4-84.3A83.3 83.3 0 0178 2 84.7 84.7 0 002 85.7 84.8 84.8 0 0087.4 170a85.2 85.2 0 0082.6-63.1 88 88 0 01-9.4.5Z'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='-15 86 86%3b 9 86 86%3b -15 86 86'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='i' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='g' viewBox='0 0 351 246'%3e%3cuse xlink:href='%23h' width='172' height='172'/%3e%3cuse xlink:href='%23i' width='350' height='222' transform='translate(1 24)'/%3e%3c/symbol%3e%3csymbol id='j' overflow='visible' viewBox='0 0 129 57'%3e%3cpath fill='url(%23d)' stroke='%230a5ad4' stroke-miterlimit='10' d='M8.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x1' additive='sum' attributeName='transform' begin='0s%3b x1.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y1' attributeName='opacity' begin='0s%3b y1.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='url(%23e)' stroke='%230a5ad4' stroke-miterlimit='10' d='M64.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x2' additive='sum' attributeName='transform' begin='.33s%3b x2.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y2' attributeName='opacity' begin='.33s%3b y2.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='url(%23f)' stroke='%230a5ad4' stroke-miterlimit='10' d='M120.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x3' additive='sum' attributeName='transform' begin='-.33s%3b x3.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y3' attributeName='opacity' begin='-.33s%3b y3.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3c/symbol%3e%3csymbol id='k' viewBox='0 0 102.7 186.8'%3e%3cpath fill='url(%23b)' stroke='%23f6a823' stroke-miterlimit='10' stroke-width='4' d='m34.8 2-32 96h32l-16 80 80-112h-48l32-64h-48z'%3e%3canimate id='x1' attributeName='opacity' begin='0s%3b x1.end%2b.67s' dur='1.33s' keyTimes='0%3b .38%3b .5%3b .63%3b .75%3b .86%3b .94%3b 1' values='1%3b 1%3b 0%3b 1%3b 0%3b 1%3b 0%3b 1'/%3e%3c/path%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23g' width='351' height='246' transform='translate(80 121)'/%3e%3cuse xlink:href='%23j' width='129' height='57' transform='translate(191.5 343.5)'/%3e%3cuse xlink:href='%23k' width='102.7' height='186.7' transform='translate(205.23 291)'/%3e%3c/svg%3e"},pouring:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='1381.3' x2='1399.5' y1='-1144.7' y2='-1097.4' gradientTransform='rotate(-9 8002.567 8233.063)' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%230b65ed'/%3e%3cstop offset='.5' stop-color='%230a5ad4'/%3e%3cstop offset='1' stop-color='%230950bc'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23b' id='c' x1='1436.7' x2='1454.9' y1='-1137' y2='-1089.7' gradientTransform='rotate(-9 8009.537 8233.037)'/%3e%3clinearGradient xlink:href='%23b' id='d' x1='1492.1' x2='1510.3' y1='-1129.3' y2='-1082.1' gradientTransform='rotate(-9 8016.566 8233.078)'/%3e%3csymbol id='e' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='f' overflow='visible' viewBox='0 0 129 57'%3e%3cpath fill='url(%23b)' stroke='%230a5ad4' stroke-miterlimit='10' d='M8.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x1' additive='sum' attributeName='transform' begin='0s%3b x1.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y1' attributeName='opacity' begin='0s%3b y1.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='url(%23c)' stroke='%230a5ad4' stroke-miterlimit='10' d='M64.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x2' additive='sum' attributeName='transform' begin='.33s%3b x2.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y2' attributeName='opacity' begin='.33s%3b y2.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='url(%23d)' stroke='%230a5ad4' stroke-miterlimit='10' d='M120.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x3' additive='sum' attributeName='transform' begin='-.33s%3b x3.end%2b.33s' dur='.67s' type='translate' values='0 -60%3b 0 60'/%3e%3canimate id='y3' attributeName='opacity' begin='-.33s%3b y3.end%2b.33s' dur='.67s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23e' width='350' height='222' transform='translate(81 145)'/%3e%3cuse xlink:href='%23f' width='129' height='57' transform='translate(191.5 343.5)'/%3e%3c/svg%3e",raindrop:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='14.8' x2='124.2' y1='42.3' y2='231.7' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%233392d6'/%3e%3cstop offset='.5' stop-color='%233392d6'/%3e%3cstop offset='1' stop-color='%232477b2'/%3e%3c/linearGradient%3e%3csymbol id='b' viewBox='0 0 164 245.6'%3e%3cpath fill='url(%23a)' stroke='%232885c7' stroke-miterlimit='10' stroke-width='4' d='M82 3.6c-48.7 72-80 117-80 160.7s35.8 79.3 80 79.3 80-35.5 80-79.3S130.7 75.5 82 3.6Z'%3e%3canimateTransform attributeName='transform' calcMode='spline' dur='6s' keySplines='.42%2c 0%2c .58%2c 1%3b .42%2c 0%2c .58%2c 1' repeatCount='indefinite' type='scale' values='1 1%3b 1 .9%3b 1 1'/%3e%3c/path%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23b' width='164' height='245.6' transform='translate(174 132.43)'/%3e%3c/svg%3e",raindrops:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='14.8' x2='124.2' y1='42.3' y2='231.7' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%233392d6'/%3e%3cstop offset='.5' stop-color='%233392d6'/%3e%3cstop offset='1' stop-color='%232477b2'/%3e%3c/linearGradient%3e%3csymbol id='b' viewBox='0 0 164 245.6'%3e%3cpath fill='url(%23a)' stroke='%232885c7' stroke-miterlimit='10' stroke-width='4' d='M82 3.6c-48.7 72-80 117-80 160.7s35.8 79.3 80 79.3 80-35.5 80-79.3S130.7 75.5 82 3.6Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23b' width='164' height='245.6' transform='translate(128 133.43)'%3e%3canimateTransform additive='sum' attributeName='transform' calcMode='spline' dur='6s' keySplines='.42%2c 0%2c .58%2c 1%3b .42%2c 0%2c .58%2c 1' repeatCount='indefinite' type='scale' values='1 1%3b 1 .9%3b 1 1'/%3e%3c/use%3e%3cuse xlink:href='%23b' width='164' height='245.6' transform='translate(220 133.43)'%3e%3canimateTransform additive='sum' attributeName='transform' calcMode='spline' dur='6s' keySplines='.42%2c 0%2c .58%2c 1%3b .42%2c 0%2c .58%2c 1' repeatCount='indefinite' type='scale' values='1 .9%3b 1 1%3b 1 .9'/%3e%3c/use%3e%3c/svg%3e",snowy:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='11.4' x2='32.8' y1='5.9' y2='43.1' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%2386c3db'/%3e%3cstop offset='.5' stop-color='%2386c3db'/%3e%3cstop offset='1' stop-color='%235eafcf'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23b' id='c' x1='67.4' x2='88.8' y1='5.9' y2='43.1'/%3e%3clinearGradient xlink:href='%23b' id='d' x1='123.4' x2='144.8' y1='5.9' y2='43.1'/%3e%3csymbol id='e' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='f' overflow='visible' viewBox='0 0 156.2 49'%3e%3cg%3e%3cpath fill='url(%23b)' stroke='%2386c3db' stroke-miterlimit='10' d='m41.7 31-5.8-3.3a13.7 13.7 0 000-6.5l5.8-3.2a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.3V4.5a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2L6.6 11A4 4 0 001 12.5 4 4 0 002.5 18l5.8 3.3a13.7 13.7 0 000 6.5L2.5 31A4 4 0 001 36.5a4 4 0 003.5 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.6 2 13.8 13.8 0 003 1.2v6.6a4 4 0 008.2 0v-6.6a14.2 14.2 0 005.6-3.2l6 3.3a4 4 0 002 .5 4 4 0 003.4-2 4 4 0 00-1.4-5.5ZM19 29.7a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8 6 6 0 012.2 8.2 6.1 6.1 0 01-8.2 2.2Z' opacity='0'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 24 24%3b 360 24 24'/%3e%3canimate id='t1' attributeName='opacity' begin='0s%3b t1.end%2b1s' dur='2s' keyTimes='0%3b .17%3b .83%3b 1' values='0%3b 1%3b 1%3b 0'/%3e%3c/path%3e%3canimateTransform id='s1' additive='sum' attributeName='transform' begin='0s%3b s1.end%2b1s' dur='2s' type='translate' values='0 -36%3b 0 92%3b'/%3e%3c/g%3e%3cg%3e%3cpath fill='url(%23c)' stroke='%2386c3db' stroke-miterlimit='10' d='m97.7 31-5.8-3.3a13.7 13.7 0 000-6.5l5.8-3.2a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.3V4.5a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2L62.6 11a4 4 0 00-5.6 1.5 4 4 0 001.5 5.5l5.8 3.3a13.7 13.7 0 000 6.5L58.5 31a4 4 0 00-1.5 5.5 4 4 0 003.5 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.7 2 13.8 13.8 0 003 1.2v6.6a4 4 0 008 0v-6.6a14.2 14.2 0 005.7-3.2l6 3.3a4 4 0 002 .5 4 4 0 003.4-2 4 4 0 00-1.4-5.5ZM75 29.7a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8 6 6 0 012.2 8.2 6.1 6.1 0 01-8.2 2.2Z' opacity='0'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 80 24%3b 360 80 24'/%3e%3canimate id='t2' attributeName='opacity' begin='-.83s%3b t2.end%2b1s' dur='2s' keyTimes='0%3b .17%3b .83%3b 1' values='0%3b 1%3b 1%3b 0'/%3e%3c/path%3e%3canimateTransform id='s2' additive='sum' attributeName='transform' begin='-.83s%3b s2.end%2b1s' dur='2s' type='translate' values='0 -36%3b 0 92%3b'/%3e%3c/g%3e%3cg%3e%3cpath fill='url(%23d)' stroke='%2386c3db' stroke-miterlimit='10' d='m153.7 31-5.8-3.3a13.7 13.7 0 000-6.5l5.8-3.2a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.3V4.5a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2l-5.8-3.3a4 4 0 00-5.6 1.5 4 4 0 001.5 5.5l5.8 3.3a13.7 13.7 0 000 6.5l-5.8 3.2a4 4 0 00-1.5 5.5 4 4 0 003.5 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.7 2 13.8 13.8 0 003 1.2v6.6a4 4 0 008 0v-6.6a14.2 14.2 0 005.7-3.2l5.8 3.3a4 4 0 002 .5 4 4 0 003.5-2 4 4 0 00-1.3-5.5ZM131 29.7a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8 6 6 0 012.2 8.2 6.1 6.1 0 01-8.2 2.2Z' opacity='0'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 136 24%3b 360 136 24'/%3e%3canimate id='t3' attributeName='opacity' begin='.83s%3b t3.end%2b1s' dur='2s' keyTimes='0%3b .17%3b .83%3b 1' values='0%3b 1%3b 1%3b 0'/%3e%3c/path%3e%3canimateTransform id='s3' additive='sum' attributeName='transform' begin='.83s%3b s3.end%2b1s' dur='2s' type='translate' values='0 -36%3b 0 92%3b'/%3e%3c/g%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23e' width='350' height='222' transform='translate(81 145)'/%3e%3cuse xlink:href='%23f' width='156.2' height='49' transform='translate(177.9 337.5)'/%3e%3c/svg%3e","snowy-rainy":"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='1399.3' x2='1408.7' y1='-1137.3' y2='-1112.7' gradientTransform='rotate(-9 8016.182 8229.021)' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%230b65ed'/%3e%3cstop offset='.5' stop-color='%230a5ad4'/%3e%3cstop offset='1' stop-color='%230950bc'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23b' id='c' x1='1454.6' x2='1464' y1='-1128.6' y2='-1104'/%3e%3clinearGradient xlink:href='%23b' id='d' x1='1509.9' x2='1519.3' y1='-1119.8' y2='-1095.2'/%3e%3clinearGradient id='e' x1='11.4' x2='32.8' y1='5.9' y2='43.1' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%2386c3db'/%3e%3cstop offset='.5' stop-color='%2386c3db'/%3e%3cstop offset='1' stop-color='%235eafcf'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23e' id='f' x1='67.4' x2='88.8' y1='5.9' y2='43.1'/%3e%3clinearGradient xlink:href='%23e' id='g' x1='123.4' x2='144.8' y1='5.9' y2='43.1'/%3e%3csymbol id='h' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='j' overflow='visible' viewBox='0 0 156.2 49'%3e%3cg%3e%3cpath fill='url(%23e)' stroke='%2386c3db' stroke-miterlimit='10' d='m41.7 31-5.8-3.3a13.7 13.7 0 000-6.5l5.8-3.2a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.3V4.5a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2L6.6 11A4 4 0 001 12.5 4 4 0 002.5 18l5.8 3.3a13.7 13.7 0 000 6.5L2.5 31A4 4 0 001 36.5a4 4 0 003.5 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.6 2 13.8 13.8 0 003 1.2v6.6a4 4 0 008.2 0v-6.6a14.2 14.2 0 005.6-3.2l6 3.3a4 4 0 002 .5 4 4 0 003.4-2 4 4 0 00-1.4-5.5ZM19 29.7a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8 6 6 0 012.2 8.2 6.1 6.1 0 01-8.2 2.2Z' opacity='0'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 24 24%3b 360 24 24'/%3e%3canimate id='t1' attributeName='opacity' begin='0s%3b t1.end%2b1s' dur='2s' keyTimes='0%3b .17%3b .83%3b 1' values='0%3b 1%3b 1%3b 0'/%3e%3c/path%3e%3canimateTransform id='s1' additive='sum' attributeName='transform' begin='0s%3b s1.end%2b1s' dur='2s' type='translate' values='0 -36%3b 0 92%3b'/%3e%3c/g%3e%3cg%3e%3cpath fill='url(%23f)' stroke='%2386c3db' stroke-miterlimit='10' d='m97.7 31-5.8-3.3a13.7 13.7 0 000-6.5l5.8-3.2a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.3V4.5a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2L62.6 11a4 4 0 00-5.6 1.5 4 4 0 001.5 5.5l5.8 3.3a13.7 13.7 0 000 6.5L58.5 31a4 4 0 00-1.5 5.5 4 4 0 003.5 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.7 2 13.8 13.8 0 003 1.2v6.6a4 4 0 008 0v-6.6a14.2 14.2 0 005.7-3.2l6 3.3a4 4 0 002 .5 4 4 0 003.4-2 4 4 0 00-1.4-5.5ZM75 29.7a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8 6 6 0 012.2 8.2 6.1 6.1 0 01-8.2 2.2Z' opacity='0'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 80 24%3b 360 80 24'/%3e%3canimate id='t2' attributeName='opacity' begin='-.83s%3b t2.end%2b1s' dur='2s' keyTimes='0%3b .17%3b .83%3b 1' values='0%3b 1%3b 1%3b 0'/%3e%3c/path%3e%3canimateTransform id='s2' additive='sum' attributeName='transform' begin='-.83s%3b s2.end%2b1s' dur='2s' type='translate' values='0 -36%3b 0 92%3b'/%3e%3c/g%3e%3cg%3e%3cpath fill='url(%23g)' stroke='%2386c3db' stroke-miterlimit='10' d='m153.7 31-5.8-3.3a13.7 13.7 0 000-6.5l5.8-3.2a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.3V4.5a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2l-5.8-3.3a4 4 0 00-5.6 1.5 4 4 0 001.5 5.5l5.8 3.3a13.7 13.7 0 000 6.5l-5.8 3.2a4 4 0 00-1.5 5.5 4 4 0 003.5 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.7 2 13.8 13.8 0 003 1.2v6.6a4 4 0 008 0v-6.6a14.2 14.2 0 005.7-3.2l5.8 3.3a4 4 0 002 .5 4 4 0 003.5-2 4 4 0 00-1.3-5.5ZM131 29.7a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8 6 6 0 012.2 8.2 6.1 6.1 0 01-8.2 2.2Z' opacity='0'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='0 136 24%3b 360 136 24'/%3e%3canimate id='t3' attributeName='opacity' begin='.83s%3b t3.end%2b1s' dur='2s' keyTimes='0%3b .17%3b .83%3b 1' values='0%3b 1%3b 1%3b 0'/%3e%3c/path%3e%3canimateTransform id='s3' additive='sum' attributeName='transform' begin='.83s%3b s3.end%2b1s' dur='2s' type='translate' values='0 -36%3b 0 92%3b'/%3e%3c/g%3e%3c/symbol%3e%3csymbol id='i' overflow='visible' viewBox='0 0 156.2 49'%3e%3cuse xlink:href='%23j' width='156.2' height='49'/%3e%3cpath fill='url(%23b)' stroke='%230a5ad4' stroke-miterlimit='10' d='M22.1 38.5a8 8 0 01-8-8v-12a8 8 0 0116 0v12a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x1' additive='sum' attributeName='transform' begin='0s%3b x1.end%2b1s' dur='1s' keyTimes='0%3b .25%3b 1' type='translate' values='0 -32%3b 0 -32%3b 0 120%3b'/%3e%3canimate id='y1' attributeName='opacity' begin='0s%3b y1.end%2b1s' dur='1s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='url(%23c)' stroke='%230a5ad4' stroke-miterlimit='10' d='M78.1 38.5a8 8 0 01-8-8v-12a8 8 0 0116 0v12a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x2' additive='sum' attributeName='transform' begin='1.34s%3b x2.end%2b1s' dur='1s' keyTimes='0%3b .25%3b 1' type='translate' values='0 -32%3b 0 -32%3b 0 120%3b'/%3e%3canimate id='y2' attributeName='opacity' begin='1.34s%3b y2.end%2b1s' dur='1s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3cpath fill='url(%23d)' stroke='%230a5ad4' stroke-miterlimit='10' d='M134.1 38.5a8 8 0 01-8-8v-12a8 8 0 0116 0v12a8 8 0 01-8 8Z' opacity='0'%3e%3canimateTransform id='x3' additive='sum' attributeName='transform' begin='.67s%3b x3.end%2b1s' dur='1s' keyTimes='0%3b .25%3b 1' type='translate' values='0 -32%3b 0 -32%3b 0 120%3b'/%3e%3canimate id='y3' attributeName='opacity' begin='.67s%3b y3.end%2b1s' dur='1s' keyTimes='0%3b .25%3b 1' values='0%3b 1%3b 0'/%3e%3c/path%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23h' width='350' height='222' transform='translate(81 145)'/%3e%3cuse xlink:href='%23i' width='156.2' height='49' transform='translate(177.9 337.5)'/%3e%3c/svg%3e",sunny:{day:xr,night:vr},windy:Mr,"windy-exceptional":Mr,exceptional:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='175.8' x2='336.2' y1='117' y2='395' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23d4d7dd'/%3e%3cstop offset='.5' stop-color='%23d4d7dd'/%3e%3cstop offset='1' stop-color='%23bec1c6'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath fill='none' stroke='url(%23a)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='24' d='M344 256a88 88 0 11-88-88 88 88 0 0188 88ZM200 116.9l-3.8 7.7A269.7 269.7 0 00169 267h0m143.1 128 3.8-7.7A269.7 269.7 0 00343.2 245h0'%3e%3canimateTransform additive='sum' attributeName='transform' dur='6s' repeatCount='indefinite' type='rotate' values='1440 256 256%3b 0 256 256'/%3e%3c/path%3e%3c/svg%3e"}},Br={line:{rainy:{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='f' viewBox='0 0 193 193'%3e%3ccircle cx='96.5' cy='96.5' r='40' fill='none' stroke='%23fbbf24' stroke-miterlimit='10' stroke-width='9'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='9' d='M96.5 29.9V4.5m0 184v-25.4m47.1-113.7 18-18M31.4 161.6l18-18m0-94.2-18-18m130.2 130.2-18-18M4.5 96.5h25.4m158.6 0h-25.4'/%3e%3c/symbol%3e%3csymbol id='g' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='e' viewBox='0 0 435.5 371.5'%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23f' width='193' height='193' transform='translate(69.5 110.5)'/%3e%3c/g%3e%3cuse xlink:href='%23g' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3c/symbol%3e%3csymbol id='h' viewBox='0 0 129 110'%3e%3cpath fill='url(%23b)' stroke='%230a5ad4' stroke-miterlimit='10' d='M8.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23c)' stroke='%230a5ad4' stroke-miterlimit='10' d='M64.5 109.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23d)' stroke='%230a5ad4' stroke-miterlimit='10' d='M120.5 74.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3c/symbol%3e%3clinearGradient id='b' x1='1381.3' x2='1399.5' y1='-1144.7' y2='-1097.4' gradientTransform='rotate(-9 8002.567 8233.063)' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%230b65ed'/%3e%3cstop offset='.5' stop-color='%230a5ad4'/%3e%3cstop offset='1' stop-color='%230950bc'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23b' id='c' x1='1428.4' x2='1446.6' y1='-1084.7' y2='-1037.4' gradientTransform='rotate(-9 8009.537 8233.037)'/%3e%3clinearGradient xlink:href='%23b' id='d' x1='1489.3' x2='1507.5' y1='-1111.6' y2='-1064.3' gradientTransform='rotate(-9 8016.566 8233.078)'/%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M288 148a83.8 83.8 0 00-71.4 40 56 56 0 00-84.6 48 56.6 56.6 0 00.8 9A60 60 0 0084 304H0V0h288Z'/%3e%3c/clipPath%3e%3c/defs%3e%3cuse xlink:href='%23e' width='435.5' height='371.5'/%3e%3cuse xlink:href='%23h' width='129' height='110' transform='translate(191.5 343.5)'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='f' viewBox='0 0 178 178'%3e%3cpath fill='none' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='10' d='M163.6 110.4a84.8 84.8 0 01-85.4-84.3A83.3 83.3 0 0181 5 84.7 84.7 0 005 88.7 84.8 84.8 0 0090.4 173a85.2 85.2 0 0082.6-63.1 88 88 0 01-9.4.5Z'/%3e%3c/symbol%3e%3csymbol id='g' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='e' viewBox='0 0 435.5 371.5'%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23f' width='178' height='178' transform='translate(77 118)'/%3e%3c/g%3e%3cuse xlink:href='%23g' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3c/symbol%3e%3csymbol id='h' viewBox='0 0 129 110'%3e%3cpath fill='url(%23b)' stroke='%230a5ad4' stroke-miterlimit='10' d='M8.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23c)' stroke='%230a5ad4' stroke-miterlimit='10' d='M64.5 109.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23d)' stroke='%230a5ad4' stroke-miterlimit='10' d='M120.5 74.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3c/symbol%3e%3clinearGradient id='b' x1='1381.3' x2='1399.5' y1='-1144.7' y2='-1097.4' gradientTransform='rotate(-9 8002.567 8233.063)' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%230b65ed'/%3e%3cstop offset='.5' stop-color='%230a5ad4'/%3e%3cstop offset='1' stop-color='%230950bc'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23b' id='c' x1='1428.4' x2='1446.6' y1='-1084.7' y2='-1037.4' gradientTransform='rotate(-9 8009.537 8233.037)'/%3e%3clinearGradient xlink:href='%23b' id='d' x1='1489.3' x2='1507.5' y1='-1111.6' y2='-1064.3' gradientTransform='rotate(-9 8016.566 8233.078)'/%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M288 148a83.8 83.8 0 00-71.4 40 56 56 0 00-84.6 48 56.6 56.6 0 00.8 9A60 60 0 0084 304H0V0h288Z'/%3e%3c/clipPath%3e%3c/defs%3e%3cuse xlink:href='%23e' width='435.5' height='371.5'/%3e%3cuse xlink:href='%23h' width='129' height='110' transform='translate(191.5 343.5)'/%3e%3c/svg%3e"},partlycloudy:{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='c' viewBox='0 0 193 193'%3e%3ccircle cx='96.5' cy='96.5' r='40' fill='none' stroke='%23fbbf24' stroke-miterlimit='10' stroke-width='9'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='9' d='M96.5 29.9V4.5m0 184v-25.4m47.1-113.7 18-18M31.4 161.6l18-18m0-94.2-18-18m130.2 130.2-18-18M4.5 96.5h25.4m158.6 0h-25.4'/%3e%3c/symbol%3e%3csymbol id='d' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='b' viewBox='0 0 435.5 371.5'%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23c' width='193' height='193' transform='translate(69.5 110.5)'/%3e%3c/g%3e%3cuse xlink:href='%23d' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3c/symbol%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M288 148a83.8 83.8 0 00-71.4 40 56 56 0 00-84.6 48 56.6 56.6 0 00.8 9A60 60 0 0084 304H0V0h288Z'/%3e%3c/clipPath%3e%3c/defs%3e%3cuse xlink:href='%23b' width='435.5' height='371.5'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='c' viewBox='0 0 178 178'%3e%3cpath fill='none' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='10' d='M163.6 110.4a84.8 84.8 0 01-85.4-84.3A83.3 83.3 0 0181 5 84.7 84.7 0 005 88.7 84.8 84.8 0 0090.4 173a85.2 85.2 0 0082.6-63.1 88 88 0 01-9.4.5Z'/%3e%3c/symbol%3e%3csymbol id='d' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='b' viewBox='0 0 435.5 371.5'%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23c' width='178' height='178' transform='translate(77 118)'/%3e%3c/g%3e%3cuse xlink:href='%23d' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3c/symbol%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M288 148a83.8 83.8 0 00-71.4 40 56 56 0 00-84.6 48 56.6 56.6 0 00.8 9A60 60 0 0084 304H0V0h288Z'/%3e%3c/clipPath%3e%3c/defs%3e%3cuse xlink:href='%23b' width='435.5' height='371.5'/%3e%3c/svg%3e"},cloudy:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='a' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23a' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3c/svg%3e","clear-night":{day:Ar,night:Nr},fog:{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='b' viewBox='0 0 375 375'%3e%3ccircle cx='187.5' cy='187.5' r='84' fill='none' stroke='%23fbbf24' stroke-miterlimit='10' stroke-width='15'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='15' d='M187.5 57.2V7.5m0 360v-49.7m92.2-222.5 35-35M60.3 314.7l35.1-35.1m0-184.4-35-35m254.5 254.5-35.1-35.1M57.2 187.5H7.5m360 0h-49.7'/%3e%3c/symbol%3e%3csymbol id='c' viewBox='0 0 258 66'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-miterlimit='10' stroke-width='18' d='M9 57h240M9 9h240'/%3e%3c/symbol%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M0 0h512v306H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23b' width='375' height='375' transform='translate(68.5 104.5)'/%3e%3c/g%3e%3cuse xlink:href='%23c' width='258' height='66' transform='translate(127 339)'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='b' viewBox='0 0 279 279'%3e%3cpath fill='none' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M256.8 173.1A133.3 133.3 0 01122.4 40.7 130.5 130.5 0 01127 7.5 133 133 0 007.5 139.1c0 73.1 60 132.4 134.2 132.4 62.5 0 114.8-42.2 129.8-99.2a135.6 135.6 0 01-14.8.8Z'/%3e%3c/symbol%3e%3csymbol id='c' viewBox='0 0 258 66'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-miterlimit='10' stroke-width='18' d='M9 57h240M9 9h240'/%3e%3c/symbol%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M0 0h512v306H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23b' width='279' height='279' transform='translate(116.5 116.5)'/%3e%3c/g%3e%3cuse xlink:href='%23c' width='258' height='66' transform='translate(127 339)'/%3e%3c/svg%3e"},hail:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='a' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='b' viewBox='0 0 136 114'%3e%3cpath fill='%2386c3db' d='M12 0a12 12 0 1012 12A12 12 0 0012 0Zm56 90a12 12 0 1012 12 12 12 0 00-12-12Zm56-60a12 12 0 1012 12 12 12 0 00-12-12Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23a' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3cuse xlink:href='%23b' width='136' height='114' transform='translate(188 350)'/%3e%3c/svg%3e",lightning:{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='c' viewBox='0 0 193 193'%3e%3ccircle cx='96.5' cy='96.5' r='40' fill='none' stroke='%23fbbf24' stroke-miterlimit='10' stroke-width='9'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='9' d='M96.5 29.9V4.5m0 184v-25.4m47.1-113.7 18-18M31.4 161.6l18-18m0-94.2-18-18m130.2 130.2-18-18M4.5 96.5h25.4m158.6 0h-25.4'/%3e%3c/symbol%3e%3csymbol id='d' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='b' viewBox='0 0 435.5 371.5'%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23c' width='193' height='193' transform='translate(69.5 110.5)'/%3e%3c/g%3e%3cuse xlink:href='%23d' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3c/symbol%3e%3csymbol id='e' viewBox='0 0 96 176'%3e%3cpath fill='%23f6a823' d='M32 0 0 96h32l-16 80L96 64H48L80 0H32z'/%3e%3c/symbol%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M288 148a83.8 83.8 0 00-71.4 40 56 56 0 00-84.6 48 56.6 56.6 0 00.8 9A60 60 0 0084 304H0V0h288Z'/%3e%3c/clipPath%3e%3c/defs%3e%3cuse xlink:href='%23b' width='435.5' height='371.5'/%3e%3cuse xlink:href='%23e' width='96' height='176' transform='translate(208 293)'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='c' viewBox='0 0 178 178'%3e%3cpath fill='none' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='10' d='M163.6 110.4a84.8 84.8 0 01-85.4-84.3A83.3 83.3 0 0181 5 84.7 84.7 0 005 88.7 84.8 84.8 0 0090.4 173a85.2 85.2 0 0082.6-63.1 88 88 0 01-9.4.5Z'/%3e%3c/symbol%3e%3csymbol id='d' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='b' viewBox='0 0 435.5 371.5'%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23c' width='178' height='178' transform='translate(77 118)'/%3e%3c/g%3e%3cuse xlink:href='%23d' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3c/symbol%3e%3csymbol id='e' viewBox='0 0 96 176'%3e%3cpath fill='%23f6a823' d='M32 0 0 96h32l-16 80L96 64H48L80 0H32z'/%3e%3c/symbol%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M288 148a83.8 83.8 0 00-71.4 40 56 56 0 00-84.6 48 56.6 56.6 0 00.8 9A60 60 0 0084 304H0V0h288Z'/%3e%3c/clipPath%3e%3c/defs%3e%3cuse xlink:href='%23b' width='435.5' height='371.5'/%3e%3cuse xlink:href='%23e' width='96' height='176' transform='translate(208 293)'/%3e%3c/svg%3e"},"lightning-rainy":{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='f' viewBox='0 0 193 193'%3e%3ccircle cx='96.5' cy='96.5' r='40' fill='none' stroke='%23fbbf24' stroke-miterlimit='10' stroke-width='9'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='9' d='M96.5 29.9V4.5m0 184v-25.4m47.1-113.7 18-18M31.4 161.6l18-18m0-94.2-18-18m130.2 130.2-18-18M4.5 96.5h25.4m158.6 0h-25.4'/%3e%3c/symbol%3e%3csymbol id='g' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='e' viewBox='0 0 435.5 371.5'%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23f' width='193' height='193' transform='translate(69.5 110.5)'/%3e%3c/g%3e%3cuse xlink:href='%23g' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3c/symbol%3e%3csymbol id='h' viewBox='0 0 129 110'%3e%3cpath fill='url(%23b)' stroke='%230a5ad4' stroke-miterlimit='10' d='M8.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23c)' stroke='%230a5ad4' stroke-miterlimit='10' d='M64.5 109.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23d)' stroke='%230a5ad4' stroke-miterlimit='10' d='M120.5 74.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3c/symbol%3e%3csymbol id='i' viewBox='0 0 96 176'%3e%3cpath fill='%23f6a823' d='M32 0 0 96h32l-16 80L96 64H48L80 0H32z'/%3e%3c/symbol%3e%3clinearGradient id='b' x1='1381.3' x2='1399.5' y1='-1144.7' y2='-1097.4' gradientTransform='rotate(-9 8002.567 8233.063)' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%230b65ed'/%3e%3cstop offset='.5' stop-color='%230a5ad4'/%3e%3cstop offset='1' stop-color='%230950bc'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23b' id='c' x1='1428.4' x2='1446.6' y1='-1084.7' y2='-1037.4' gradientTransform='rotate(-9 8009.537 8233.037)'/%3e%3clinearGradient xlink:href='%23b' id='d' x1='1489.3' x2='1507.5' y1='-1111.6' y2='-1064.3' gradientTransform='rotate(-9 8016.566 8233.078)'/%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M288 148a83.8 83.8 0 00-71.4 40 56 56 0 00-84.6 48 56.6 56.6 0 00.8 9A60 60 0 0084 304H0V0h288Z'/%3e%3c/clipPath%3e%3c/defs%3e%3cuse xlink:href='%23e' width='435.5' height='371.5'/%3e%3cuse xlink:href='%23h' width='129' height='110' transform='translate(191.5 343.5)'/%3e%3cuse xlink:href='%23i' width='96' height='176' transform='translate(208 293)'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='f' viewBox='0 0 178 178'%3e%3cpath fill='none' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='10' d='M163.6 110.4a84.8 84.8 0 01-85.4-84.3A83.3 83.3 0 0181 5 84.7 84.7 0 005 88.7 84.8 84.8 0 0090.4 173a85.2 85.2 0 0082.6-63.1 88 88 0 01-9.4.5Z'/%3e%3c/symbol%3e%3csymbol id='g' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='e' viewBox='0 0 435.5 371.5'%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23f' width='178' height='178' transform='translate(77 118)'/%3e%3c/g%3e%3cuse xlink:href='%23g' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3c/symbol%3e%3csymbol id='h' viewBox='0 0 129 110'%3e%3cpath fill='url(%23b)' stroke='%230a5ad4' stroke-miterlimit='10' d='M8.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23c)' stroke='%230a5ad4' stroke-miterlimit='10' d='M64.5 109.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23d)' stroke='%230a5ad4' stroke-miterlimit='10' d='M120.5 74.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3c/symbol%3e%3csymbol id='i' viewBox='0 0 96 176'%3e%3cpath fill='%23f6a823' d='M32 0 0 96h32l-16 80L96 64H48L80 0H32z'/%3e%3c/symbol%3e%3clinearGradient id='b' x1='1381.3' x2='1399.5' y1='-1144.7' y2='-1097.4' gradientTransform='rotate(-9 8002.567 8233.063)' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%230b65ed'/%3e%3cstop offset='.5' stop-color='%230a5ad4'/%3e%3cstop offset='1' stop-color='%230950bc'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23b' id='c' x1='1428.4' x2='1446.6' y1='-1084.7' y2='-1037.4' gradientTransform='rotate(-9 8009.537 8233.037)'/%3e%3clinearGradient xlink:href='%23b' id='d' x1='1489.3' x2='1507.5' y1='-1111.6' y2='-1064.3' gradientTransform='rotate(-9 8016.566 8233.078)'/%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M288 148a83.8 83.8 0 00-71.4 40 56 56 0 00-84.6 48 56.6 56.6 0 00.8 9A60 60 0 0084 304H0V0h288Z'/%3e%3c/clipPath%3e%3c/defs%3e%3cuse xlink:href='%23e' width='435.5' height='371.5'/%3e%3cuse xlink:href='%23h' width='129' height='110' transform='translate(191.5 343.5)'/%3e%3cuse xlink:href='%23i' width='96' height='176' transform='translate(208 293)'/%3e%3c/svg%3e"},pouring:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='1381.3' x2='1399.5' y1='-1144.7' y2='-1097.4' gradientTransform='rotate(-9 8002.567 8233.063)' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%230b65ed'/%3e%3cstop offset='.5' stop-color='%230a5ad4'/%3e%3cstop offset='1' stop-color='%230950bc'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23a' id='b' x1='1428.4' x2='1446.6' y1='-1084.7' y2='-1037.4' gradientTransform='rotate(-9 8009.537 8233.037)'/%3e%3clinearGradient xlink:href='%23a' id='c' x1='1489.3' x2='1507.5' y1='-1111.6' y2='-1064.3' gradientTransform='rotate(-9 8016.566 8233.078)'/%3e%3csymbol id='d' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='e' viewBox='0 0 129 110'%3e%3cpath fill='url(%23a)' stroke='%230a5ad4' stroke-miterlimit='10' d='M8.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23b)' stroke='%230a5ad4' stroke-miterlimit='10' d='M64.5 109.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23c)' stroke='%230a5ad4' stroke-miterlimit='10' d='M120.5 74.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23d' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3cuse xlink:href='%23e' width='129' height='110' transform='translate(191.5 343.5)'/%3e%3c/svg%3e",raindrop:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='a' viewBox='0 0 175 260.9'%3e%3cpath fill='none' stroke='%232885c7' stroke-miterlimit='10' stroke-width='15' d='M87.5 13.4c-48.7 72-80 117-80 160.7s35.8 79.3 80 79.3 80-35.5 80-79.3-31.3-88.8-80-160.7Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23a' width='175' height='260.9' transform='translate(168.5 122.62)'/%3e%3c/svg%3e",raindrops:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3cclipPath id='a'%3e%3cpath fill='none' d='M302 137c-48.7 72-80 117-80 160.8s35.8 79.2 80 79.2v135H0V0h302Z'/%3e%3c/clipPath%3e%3csymbol id='b' viewBox='0 0 175 260.9'%3e%3cpath fill='none' stroke='%232885c7' stroke-miterlimit='10' stroke-width='15' d='M87.5 13.4c-48.7 72-80 117-80 160.7s35.8 79.3 80 79.3 80-35.5 80-79.3-31.3-88.8-80-160.7Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23b' width='175' height='260.9' transform='translate(214.5 123.62)'/%3e%3cg clip-path='url(%23a)'%3e%3cuse xlink:href='%23b' width='175' height='260.9' transform='translate(122.5 123.62)'/%3e%3c/g%3e%3c/svg%3e",snowy:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='a' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='b' viewBox='0 0 155.2 138'%3e%3cpath fill='%2386c3db' d='m41.2 30.5-5.8-3.3a13.7 13.7 0 000-6.4l5.8-3.3a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.2V4a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2l-5.8-3.3A4 4 0 00.5 12 4 4 0 002 17.5l5.8 3.3a13.7 13.7 0 000 6.4L2 30.5A4 4 0 00.5 36a4 4 0 003.6 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.6 2 13.8 13.8 0 003 1.2V44a4 4 0 008 0v-6.6a14.2 14.2 0 005.8-3.2l5.8 3.3a4 4 0 002 .5 4 4 0 003.5-2 4 4 0 00-1.4-5.5Zm-22.6-1.3a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8A6 6 0 0127 27a6.1 6.1 0 01-8.3 2.2Zm78.6 91.3-5.8-3.3a13.7 13.7 0 000-6.4l5.8-3.3a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.2V94a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2l-5.8-3.3a4 4 0 00-5.6 1.5 4 4 0 001.5 5.5l5.8 3.3a13.7 13.7 0 000 6.4l-5.8 3.3a4 4 0 00-1.5 5.5 4 4 0 003.6 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.6 2 13.8 13.8 0 003 1.2v6.6a4 4 0 008 0v-6.6a14.2 14.2 0 005.8-3.2l5.8 3.3a4 4 0 002 .5 4 4 0 003.5-2 4 4 0 00-1.4-5.5Zm-22.6-1.3a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8 6 6 0 012.2 8.2 6.1 6.1 0 01-8.2 2.2Zm78.6-48.7-5.8-3.3a13.7 13.7 0 000-6.4l5.8-3.3a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.2V44a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2l-5.8-3.3a4 4 0 00-5.6 1.5 4 4 0 001.5 5.5l5.8 3.3a13.7 13.7 0 000 6.4l-5.8 3.3a4 4 0 00-1.5 5.5 4 4 0 003.6 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.6 2 13.8 13.8 0 003 1.2V84a4 4 0 008 0v-6.6a14.2 14.2 0 005.8-3.2l5.8 3.3a4 4 0 002 .5 4 4 0 003.5-2 4 4 0 00-1.4-5.5Zm-22.6-1.3a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8 6 6 0 012.2 8.2 6.1 6.1 0 01-8.2 2.2Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23a' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3cuse xlink:href='%23b' width='155.2' height='138' transform='translate(178.4 338)'/%3e%3c/svg%3e","snowy-rainy":"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='a' viewBox='0 0 359 231'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='15' d='M295.5 223.5a56 56 0 000-112l-2.5.1a83.9 83.9 0 00-153-64.2 56 56 0 00-84.6 48.1 56.6 56.6 0 00.8 9 60 60 0 0011.2 119'/%3e%3c/symbol%3e%3csymbol id='c' viewBox='0 0 155.2 138'%3e%3cpath fill='%2386c3db' d='m41.2 30.5-5.8-3.3a13.7 13.7 0 000-6.4l5.8-3.3a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.2V4a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2l-5.8-3.3A4 4 0 00.5 12 4 4 0 002 17.5l5.8 3.3a13.7 13.7 0 000 6.4L2 30.5A4 4 0 00.5 36a4 4 0 003.6 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.6 2 13.8 13.8 0 003 1.2V44a4 4 0 008 0v-6.6a14.2 14.2 0 005.8-3.2l5.8 3.3a4 4 0 002 .5 4 4 0 003.5-2 4 4 0 00-1.4-5.5Zm-22.6-1.3a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8A6 6 0 0127 27a6.1 6.1 0 01-8.3 2.2Zm78.6 91.3-5.8-3.3a13.7 13.7 0 000-6.4l5.8-3.3a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.2V94a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2l-5.8-3.3a4 4 0 00-5.6 1.5 4 4 0 001.5 5.5l5.8 3.3a13.7 13.7 0 000 6.4l-5.8 3.3a4 4 0 00-1.5 5.5 4 4 0 003.6 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.6 2 13.8 13.8 0 003 1.2v6.6a4 4 0 008 0v-6.6a14.2 14.2 0 005.8-3.2l5.8 3.3a4 4 0 002 .5 4 4 0 003.5-2 4 4 0 00-1.4-5.5Zm-22.6-1.3a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8 6 6 0 012.2 8.2 6.1 6.1 0 01-8.2 2.2Zm78.6-48.7-5.8-3.3a13.7 13.7 0 000-6.4l5.8-3.3a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.2V44a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2l-5.8-3.3a4 4 0 00-5.6 1.5 4 4 0 001.5 5.5l5.8 3.3a13.7 13.7 0 000 6.4l-5.8 3.3a4 4 0 00-1.5 5.5 4 4 0 003.6 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.6 2 13.8 13.8 0 003 1.2V84a4 4 0 008 0v-6.6a14.2 14.2 0 005.8-3.2l5.8 3.3a4 4 0 002 .5 4 4 0 003.5-2 4 4 0 00-1.4-5.5Zm-22.6-1.3a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8 6 6 0 012.2 8.2 6.1 6.1 0 01-8.2 2.2Z'/%3e%3c/symbol%3e%3csymbol id='b' viewBox='0 0 155.2 138'%3e%3cuse xlink:href='%23c' width='155.2' height='138'/%3e%3cpath fill='%230a5ad4' d='M21.6 98a8 8 0 01-8-8V78a8 8 0 0116 0v12a8 8 0 01-8 8Zm56-50a8 8 0 01-8-8V28a8 8 0 0116 0v12a8 8 0 01-8 8Zm56 90a8 8 0 01-8-8v-12a8 8 0 0116 0v12a8 8 0 01-8 8Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23a' width='359' height='231' transform='translate(76.5 140.5)'/%3e%3cuse xlink:href='%23b' width='155.2' height='138' transform='translate(178.4 338)'/%3e%3c/svg%3e",sunny:{day:Ar,night:Nr},windy:Zr,"windy-exceptional":Zr,exceptional:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-miterlimit='10' stroke-width='18' d='M344 256a88 88 0 11-88-88 88 88 0 0188 88ZM200 116.9l-3.8 7.7A269.7 269.7 0 00169 267h0m143.1 128 3.8-7.7A269.7 269.7 0 00343.2 245h0'/%3e%3c/svg%3e"},fill:{rainy:{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='1381.3' x2='1399.5' y1='-1144.7' y2='-1097.4' gradientTransform='rotate(-9 8002.567 8233.063)' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%230b65ed'/%3e%3cstop offset='.5' stop-color='%230a5ad4'/%3e%3cstop offset='1' stop-color='%230950bc'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23b' id='c' x1='1428.4' x2='1446.6' y1='-1084.7' y2='-1037.4' gradientTransform='rotate(-9 8009.537 8233.037)'/%3e%3clinearGradient xlink:href='%23b' id='d' x1='1489.3' x2='1507.5' y1='-1111.6' y2='-1064.3' gradientTransform='rotate(-9 8016.566 8233.078)'/%3e%3clinearGradient id='e' x1='78' x2='118' y1='63.4' y2='132.7' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23fbbf24'/%3e%3cstop offset='.5' stop-color='%23fbbf24'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3csymbol id='g' viewBox='0 0 196 196'%3e%3ccircle cx='98' cy='98' r='40' fill='url(%23e)' stroke='%23f8af18' stroke-miterlimit='10' stroke-width='4'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='12' d='M98 31.4V6m0 184v-25.4M145.1 51l18-17.9M33 163l18-17.9M51 51 33 33m130.1 130.1-18-18M6 98h25.4M190 98h-25.4'/%3e%3c/symbol%3e%3csymbol id='h' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='f' viewBox='0 0 363 258'%3e%3cuse xlink:href='%23g' width='196' height='196'/%3e%3cuse xlink:href='%23h' width='350' height='222' transform='translate(13 36)'/%3e%3c/symbol%3e%3csymbol id='i' viewBox='0 0 129 110'%3e%3cpath fill='url(%23b)' stroke='%230a5ad4' stroke-miterlimit='10' d='M8.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23c)' stroke='%230a5ad4' stroke-miterlimit='10' d='M64.5 109.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23d)' stroke='%230a5ad4' stroke-miterlimit='10' d='M120.5 74.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23f' width='363' height='258' transform='translate(68 109)'/%3e%3cuse xlink:href='%23i' width='129' height='110' transform='translate(191.5 343.5)'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='34.7' x2='119.2' y1='18.6' y2='165' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%2386c3db'/%3e%3cstop offset='.5' stop-color='%2386c3db'/%3e%3cstop offset='1' stop-color='%235eafcf'/%3e%3c/linearGradient%3e%3clinearGradient id='c' x1='1381.3' x2='1399.5' y1='-1144.7' y2='-1097.4' gradientTransform='rotate(-9 8002.567 8233.063)' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%230b65ed'/%3e%3cstop offset='.5' stop-color='%230a5ad4'/%3e%3cstop offset='1' stop-color='%230950bc'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23c' id='d' x1='1428.4' x2='1446.6' y1='-1084.7' y2='-1037.4' gradientTransform='rotate(-9 8009.537 8233.037)'/%3e%3clinearGradient xlink:href='%23c' id='e' x1='1489.3' x2='1507.5' y1='-1111.6' y2='-1064.3' gradientTransform='rotate(-9 8016.566 8233.078)'/%3e%3csymbol id='g' viewBox='0 0 172 172'%3e%3cpath fill='url(%23b)' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='4' d='M160.6 107.4a84.8 84.8 0 01-85.4-84.3A83.3 83.3 0 0178 2 84.7 84.7 0 002 85.7 84.8 84.8 0 0087.4 170a85.2 85.2 0 0082.6-63.1 88 88 0 01-9.4.5Z'/%3e%3c/symbol%3e%3csymbol id='h' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='f' viewBox='0 0 351 246'%3e%3cuse xlink:href='%23g' width='172' height='172'/%3e%3cuse xlink:href='%23h' width='350' height='222' transform='translate(1 24)'/%3e%3c/symbol%3e%3csymbol id='i' viewBox='0 0 129 110'%3e%3cpath fill='url(%23c)' stroke='%230a5ad4' stroke-miterlimit='10' d='M8.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23d)' stroke='%230a5ad4' stroke-miterlimit='10' d='M64.5 109.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23e)' stroke='%230a5ad4' stroke-miterlimit='10' d='M120.5 74.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23f' width='351' height='246' transform='translate(80 121)'/%3e%3cuse xlink:href='%23i' width='129' height='110' transform='translate(191.5 343.5)'/%3e%3c/svg%3e"},partlycloudy:{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='d' viewBox='0 0 196 196'%3e%3ccircle cx='98' cy='98' r='40' fill='url(%23b)' stroke='%23f8af18' stroke-miterlimit='10' stroke-width='4'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='12' d='M98 31.4V6m0 184v-25.4M145.1 51l18-17.9M33 163l18-17.9M51 51 33 33m130.1 130.1-18-18M6 98h25.4M190 98h-25.4'/%3e%3c/symbol%3e%3csymbol id='e' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='c' viewBox='0 0 363 258'%3e%3cuse xlink:href='%23d' width='196' height='196'/%3e%3cuse xlink:href='%23e' width='350' height='222' transform='translate(13 36)'/%3e%3c/symbol%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='78' x2='118' y1='63.4' y2='132.7' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23fbbf24'/%3e%3cstop offset='.5' stop-color='%23fbbf24'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3c/defs%3e%3cuse xlink:href='%23c' width='363' height='258' transform='translate(68 109)'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='d' viewBox='0 0 172 172'%3e%3cpath fill='url(%23b)' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='4' d='M160.6 107.4a84.8 84.8 0 01-85.4-84.3A83.3 83.3 0 0178 2 84.7 84.7 0 002 85.7 84.8 84.8 0 0087.4 170a85.2 85.2 0 0082.6-63.1 88 88 0 01-9.4.5Z'/%3e%3c/symbol%3e%3csymbol id='e' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='c' viewBox='0 0 351 246'%3e%3cuse xlink:href='%23d' width='172' height='172'/%3e%3cuse xlink:href='%23e' width='350' height='222' transform='translate(1 24)'/%3e%3c/symbol%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='34.7' x2='119.2' y1='18.6' y2='165' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%2386c3db'/%3e%3cstop offset='.5' stop-color='%2386c3db'/%3e%3cstop offset='1' stop-color='%235eafcf'/%3e%3c/linearGradient%3e%3c/defs%3e%3cuse xlink:href='%23c' width='351' height='246' transform='translate(80 121)'/%3e%3c/svg%3e"},cloudy:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3csymbol id='b' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23b' width='350' height='222' transform='translate(81 145)'/%3e%3c/svg%3e","clear-night":{day:Or,night:_r},fog:{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='96' x2='168' y1='-2.4' y2='122.3' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23d4d7dd'/%3e%3cstop offset='.5' stop-color='%23d4d7dd'/%3e%3cstop offset='1' stop-color='%23bec1c6'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23a' id='b' x2='168' y1='-50.4' y2='74.3'/%3e%3clinearGradient id='c' x1='150' x2='234' y1='119.2' y2='264.8' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23fbbf24'/%3e%3cstop offset='.5' stop-color='%23fbbf24'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3csymbol id='e' viewBox='0 0 384 384'%3e%3ccircle cx='192' cy='192' r='84' fill='url(%23c)' stroke='%23f8af18' stroke-miterlimit='10' stroke-width='6'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='24' d='M192 61.7V12m0 360v-49.7m92.2-222.5 35-35M64.8 319.2l35.1-35.1m0-184.4-35-35m254.5 254.5-35.1-35.1M61.7 192H12m360 0h-49.7'/%3e%3c/symbol%3e%3csymbol id='f' viewBox='0 0 264 72'%3e%3cpath fill='none' stroke='url(%23a)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='24' d='M12 60h240'/%3e%3cpath fill='none' stroke='url(%23b)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='24' d='M12 12h240'/%3e%3c/symbol%3e%3cclipPath id='d'%3e%3cpath fill='none' d='M0 0h512v306H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3cg clip-path='url(%23d)'%3e%3cuse xlink:href='%23e' width='384' height='384' transform='translate(64 100)'/%3e%3c/g%3e%3cuse xlink:href='%23f' width='264' height='72' transform='translate(124 336)'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='96' x2='168' y1='-2.4' y2='122.3' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23d4d7dd'/%3e%3cstop offset='.5' stop-color='%23d4d7dd'/%3e%3cstop offset='1' stop-color='%23bec1c6'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23a' id='b' x2='168' y1='-50.4' y2='74.3'/%3e%3clinearGradient id='c' x1='54.3' x2='187.2' y1='29' y2='259.1' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%2386c3db'/%3e%3cstop offset='.5' stop-color='%2386c3db'/%3e%3cstop offset='1' stop-color='%235eafcf'/%3e%3c/linearGradient%3e%3csymbol id='e' viewBox='0 0 270 270'%3e%3cpath fill='url(%23c)' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='6' d='M252.3 168.6A133.4 133.4 0 01118 36.2 130.5 130.5 0 01122.5 3 133 133 0 003 134.6C3 207.7 63 267 137.2 267c62.5 0 114.8-42.2 129.8-99.2a135.6 135.6 0 01-14.8.8Z'/%3e%3c/symbol%3e%3csymbol id='f' viewBox='0 0 264 72'%3e%3cpath fill='none' stroke='url(%23a)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='24' d='M12 60h240'/%3e%3cpath fill='none' stroke='url(%23b)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='24' d='M12 12h240'/%3e%3c/symbol%3e%3cclipPath id='d'%3e%3cpath fill='none' d='M0 0h512v306H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3cg clip-path='url(%23d)'%3e%3cuse xlink:href='%23e' width='270' height='270' transform='translate(121 121)'/%3e%3c/g%3e%3cuse xlink:href='%23f' width='264' height='72' transform='translate(124 336)'/%3e%3c/svg%3e"},hail:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='6.5' x2='18.5' y1='2.1' y2='22.9' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%2386c3db'/%3e%3cstop offset='.5' stop-color='%2386c3db'/%3e%3cstop offset='1' stop-color='%235eafcf'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23b' id='c' x1='62.5' x2='74.5' y1='92.1' y2='112.9'/%3e%3clinearGradient xlink:href='%23b' id='d' x1='118.5' x2='130.5' y1='32.1' y2='52.9'/%3e%3csymbol id='e' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='f' viewBox='0 0 137 115'%3e%3cpath fill='url(%23b)' stroke='%2386c3db' stroke-miterlimit='10' d='M12.5.5a12 12 0 1012 12 12 12 0 00-12-12Z'/%3e%3cpath fill='url(%23c)' stroke='%2386c3db' stroke-miterlimit='10' d='M68.5 90.5a12 12 0 1012 12 12 12 0 00-12-12Z'/%3e%3cpath fill='url(%23d)' stroke='%2386c3db' stroke-miterlimit='10' d='M124.5 30.5a12 12 0 1012 12 12 12 0 00-12-12Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23e' width='350' height='222' transform='translate(81 145)'/%3e%3cuse xlink:href='%23f' width='137' height='115' transform='translate(187.5 349.5)'/%3e%3c/svg%3e",lightning:{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='e' viewBox='0 0 196 196'%3e%3ccircle cx='98' cy='98' r='40' fill='url(%23c)' stroke='%23f8af18' stroke-miterlimit='10' stroke-width='4'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='12' d='M98 31.4V6m0 184v-25.4M145.1 51l18-17.9M33 163l18-17.9M51 51 33 33m130.1 130.1-18-18M6 98h25.4M190 98h-25.4'/%3e%3c/symbol%3e%3csymbol id='f' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='d' viewBox='0 0 363 258'%3e%3cuse xlink:href='%23e' width='196' height='196'/%3e%3cuse xlink:href='%23f' width='350' height='222' transform='translate(13 36)'/%3e%3c/symbol%3e%3csymbol id='g' viewBox='0 0 102.7 186.8'%3e%3cpath fill='url(%23b)' stroke='%23f6a823' stroke-miterlimit='10' stroke-width='4' d='m34.8 2-32 96h32l-16 80 80-112h-48l32-64h-48z'/%3e%3c/symbol%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='8.7' x2='80.9' y1='17.1' y2='142.1' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f7b23b'/%3e%3cstop offset='.5' stop-color='%23f7b23b'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3clinearGradient id='c' x1='78' x2='118' y1='63.4' y2='132.7' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23fbbf24'/%3e%3cstop offset='.5' stop-color='%23fbbf24'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3c/defs%3e%3cuse xlink:href='%23d' width='363' height='258' transform='translate(68 109)'/%3e%3cuse xlink:href='%23g' width='102.7' height='186.7' transform='translate(205.23 291)'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3csymbol id='e' viewBox='0 0 172 172'%3e%3cpath fill='url(%23c)' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='4' d='M160.6 107.4a84.8 84.8 0 01-85.4-84.3A83.3 83.3 0 0178 2 84.7 84.7 0 002 85.7 84.8 84.8 0 0087.4 170a85.2 85.2 0 0082.6-63.1 88 88 0 01-9.4.5Z'/%3e%3c/symbol%3e%3csymbol id='f' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='d' viewBox='0 0 351 246'%3e%3cuse xlink:href='%23e' width='172' height='172'/%3e%3cuse xlink:href='%23f' width='350' height='222' transform='translate(1 24)'/%3e%3c/symbol%3e%3csymbol id='g' viewBox='0 0 102.7 186.8'%3e%3cpath fill='url(%23b)' stroke='%23f6a823' stroke-miterlimit='10' stroke-width='4' d='m34.8 2-32 96h32l-16 80 80-112h-48l32-64h-48z'/%3e%3c/symbol%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='8.7' x2='80.9' y1='17.1' y2='142.1' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f7b23b'/%3e%3cstop offset='.5' stop-color='%23f7b23b'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3clinearGradient id='c' x1='34.7' x2='119.2' y1='18.6' y2='165' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%2386c3db'/%3e%3cstop offset='.5' stop-color='%2386c3db'/%3e%3cstop offset='1' stop-color='%235eafcf'/%3e%3c/linearGradient%3e%3c/defs%3e%3cuse xlink:href='%23d' width='351' height='246' transform='translate(80 121)'/%3e%3cuse xlink:href='%23g' width='102.7' height='186.7' transform='translate(205.23 291)'/%3e%3c/svg%3e"},"lightning-rainy":{day:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='8.7' x2='80.9' y1='17.1' y2='142.1' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f7b23b'/%3e%3cstop offset='.5' stop-color='%23f7b23b'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3clinearGradient id='c' x1='1381.3' x2='1399.5' y1='-1144.7' y2='-1097.4' gradientTransform='rotate(-9 8002.567 8233.063)' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%230b65ed'/%3e%3cstop offset='.5' stop-color='%230a5ad4'/%3e%3cstop offset='1' stop-color='%230950bc'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23c' id='d' x1='1428.4' x2='1446.6' y1='-1084.7' y2='-1037.4' gradientTransform='rotate(-9 8009.537 8233.037)'/%3e%3clinearGradient xlink:href='%23c' id='e' x1='1489.3' x2='1507.5' y1='-1111.6' y2='-1064.3' gradientTransform='rotate(-9 8016.566 8233.078)'/%3e%3clinearGradient id='f' x1='78' x2='118' y1='63.4' y2='132.7' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23fbbf24'/%3e%3cstop offset='.5' stop-color='%23fbbf24'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3csymbol id='h' viewBox='0 0 196 196'%3e%3ccircle cx='98' cy='98' r='40' fill='url(%23f)' stroke='%23f8af18' stroke-miterlimit='10' stroke-width='4'/%3e%3cpath fill='none' stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='12' d='M98 31.4V6m0 184v-25.4M145.1 51l18-17.9M33 163l18-17.9M51 51 33 33m130.1 130.1-18-18M6 98h25.4M190 98h-25.4'/%3e%3c/symbol%3e%3csymbol id='i' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='g' viewBox='0 0 363 258'%3e%3cuse xlink:href='%23h' width='196' height='196'/%3e%3cuse xlink:href='%23i' width='350' height='222' transform='translate(13 36)'/%3e%3c/symbol%3e%3csymbol id='j' viewBox='0 0 129 110'%3e%3cpath fill='url(%23c)' stroke='%230a5ad4' stroke-miterlimit='10' d='M8.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23d)' stroke='%230a5ad4' stroke-miterlimit='10' d='M64.5 109.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23e)' stroke='%230a5ad4' stroke-miterlimit='10' d='M120.5 74.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3c/symbol%3e%3csymbol id='k' viewBox='0 0 102.7 186.8'%3e%3cpath fill='url(%23b)' stroke='%23f6a823' stroke-miterlimit='10' stroke-width='4' d='m34.8 2-32 96h32l-16 80 80-112h-48l32-64h-48z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23g' width='363' height='258' transform='translate(68 109)'/%3e%3cuse xlink:href='%23j' width='129' height='110' transform='translate(191.5 343.5)'/%3e%3cuse xlink:href='%23k' width='102.7' height='186.7' transform='translate(205.23 291)'/%3e%3c/svg%3e",night:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='8.7' x2='80.9' y1='17.1' y2='142.1' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f7b23b'/%3e%3cstop offset='.5' stop-color='%23f7b23b'/%3e%3cstop offset='1' stop-color='%23f59e0b'/%3e%3c/linearGradient%3e%3clinearGradient id='c' x1='34.7' x2='119.2' y1='18.6' y2='165' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%2386c3db'/%3e%3cstop offset='.5' stop-color='%2386c3db'/%3e%3cstop offset='1' stop-color='%235eafcf'/%3e%3c/linearGradient%3e%3clinearGradient id='d' x1='1381.3' x2='1399.5' y1='-1144.7' y2='-1097.4' gradientTransform='rotate(-9 8002.567 8233.063)' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%230b65ed'/%3e%3cstop offset='.5' stop-color='%230a5ad4'/%3e%3cstop offset='1' stop-color='%230950bc'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23d' id='e' x1='1428.4' x2='1446.6' y1='-1084.7' y2='-1037.4' gradientTransform='rotate(-9 8009.537 8233.037)'/%3e%3clinearGradient xlink:href='%23d' id='f' x1='1489.3' x2='1507.5' y1='-1111.6' y2='-1064.3' gradientTransform='rotate(-9 8016.566 8233.078)'/%3e%3csymbol id='h' viewBox='0 0 172 172'%3e%3cpath fill='url(%23c)' stroke='%2372b9d5' stroke-linecap='round' stroke-linejoin='round' stroke-width='4' d='M160.6 107.4a84.8 84.8 0 01-85.4-84.3A83.3 83.3 0 0178 2 84.7 84.7 0 002 85.7 84.8 84.8 0 0087.4 170a85.2 85.2 0 0082.6-63.1 88 88 0 01-9.4.5Z'/%3e%3c/symbol%3e%3csymbol id='i' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='g' viewBox='0 0 351 246'%3e%3cuse xlink:href='%23h' width='172' height='172'/%3e%3cuse xlink:href='%23i' width='350' height='222' transform='translate(1 24)'/%3e%3c/symbol%3e%3csymbol id='j' viewBox='0 0 129 110'%3e%3cpath fill='url(%23d)' stroke='%230a5ad4' stroke-miterlimit='10' d='M8.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23e)' stroke='%230a5ad4' stroke-miterlimit='10' d='M64.5 109.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23f)' stroke='%230a5ad4' stroke-miterlimit='10' d='M120.5 74.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3c/symbol%3e%3csymbol id='k' viewBox='0 0 102.7 186.8'%3e%3cpath fill='url(%23b)' stroke='%23f6a823' stroke-miterlimit='10' stroke-width='4' d='m34.8 2-32 96h32l-16 80 80-112h-48l32-64h-48z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23g' width='351' height='246' transform='translate(80 121)'/%3e%3cuse xlink:href='%23j' width='129' height='110' transform='translate(191.5 343.5)'/%3e%3cuse xlink:href='%23k' width='102.7' height='186.7' transform='translate(205.23 291)'/%3e%3c/svg%3e"},pouring:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='1381.3' x2='1399.5' y1='-1144.7' y2='-1097.4' gradientTransform='rotate(-9 8002.567 8233.063)' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%230b65ed'/%3e%3cstop offset='.5' stop-color='%230a5ad4'/%3e%3cstop offset='1' stop-color='%230950bc'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23b' id='c' x1='1428.4' x2='1446.6' y1='-1084.7' y2='-1037.4' gradientTransform='rotate(-9 8009.537 8233.037)'/%3e%3clinearGradient xlink:href='%23b' id='d' x1='1489.3' x2='1507.5' y1='-1111.6' y2='-1064.3' gradientTransform='rotate(-9 8016.566 8233.078)'/%3e%3csymbol id='e' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='f' viewBox='0 0 129 110'%3e%3cpath fill='url(%23b)' stroke='%230a5ad4' stroke-miterlimit='10' d='M8.5 56.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23c)' stroke='%230a5ad4' stroke-miterlimit='10' d='M64.5 109.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23d)' stroke='%230a5ad4' stroke-miterlimit='10' d='M120.5 74.5a8 8 0 01-8-8v-40a8 8 0 0116 0v40a8 8 0 01-8 8Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23e' width='350' height='222' transform='translate(81 145)'/%3e%3cuse xlink:href='%23f' width='129' height='110' transform='translate(191.5 343.5)'/%3e%3c/svg%3e",raindrop:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='14.8' x2='124.2' y1='42.3' y2='231.7' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%233392d6'/%3e%3cstop offset='.5' stop-color='%233392d6'/%3e%3cstop offset='1' stop-color='%232477b2'/%3e%3c/linearGradient%3e%3csymbol id='b' viewBox='0 0 164 245.6'%3e%3cpath fill='url(%23a)' stroke='%232885c7' stroke-miterlimit='10' stroke-width='4' d='M82 3.6c-48.7 72-80 117-80 160.7s35.8 79.3 80 79.3 80-35.5 80-79.3S130.7 75.5 82 3.6Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23b' width='164' height='245.6' transform='translate(174 132.43)'/%3e%3c/svg%3e",raindrops:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='14.8' x2='124.2' y1='42.3' y2='231.7' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%233392d6'/%3e%3cstop offset='.5' stop-color='%233392d6'/%3e%3cstop offset='1' stop-color='%232477b2'/%3e%3c/linearGradient%3e%3csymbol id='b' viewBox='0 0 164 245.6'%3e%3cpath fill='url(%23a)' stroke='%232885c7' stroke-miterlimit='10' stroke-width='4' d='M82 3.6c-48.7 72-80 117-80 160.7s35.8 79.3 80 79.3 80-35.5 80-79.3S130.7 75.5 82 3.6Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23b' width='164' height='245.6' transform='translate(128 133.43)'/%3e%3cuse xlink:href='%23b' width='164' height='245.6' transform='translate(220 133.43)'/%3e%3c/svg%3e",snowy:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='11.4' x2='32.8' y1='5.9' y2='43.1' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%2386c3db'/%3e%3cstop offset='.5' stop-color='%2386c3db'/%3e%3cstop offset='1' stop-color='%235eafcf'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23b' id='c' x1='67.4' x2='88.8' y1='95.9' y2='133.1'/%3e%3clinearGradient xlink:href='%23b' id='d' x1='123.4' x2='144.8' y1='45.9' y2='83.1'/%3e%3csymbol id='e' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='f' viewBox='0 0 156.2 139'%3e%3cpath fill='url(%23b)' stroke='%2386c3db' stroke-miterlimit='10' d='m41.7 31-5.8-3.3a13.7 13.7 0 000-6.5l5.8-3.2a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.3V4.5a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2L6.6 11A4 4 0 001 12.5 4 4 0 002.5 18l5.8 3.3a13.7 13.7 0 000 6.5L2.5 31A4 4 0 001 36.5a4 4 0 003.5 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.6 2 13.8 13.8 0 003 1.2v6.6a4 4 0 008.2 0v-6.6a14.2 14.2 0 005.6-3.2l6 3.3a4 4 0 002 .5 4 4 0 003.4-2 4 4 0 00-1.4-5.5ZM19 29.7a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8 6 6 0 012.2 8.2 6.1 6.1 0 01-8.2 2.2Z'/%3e%3cpath fill='url(%23c)' stroke='%2386c3db' stroke-miterlimit='10' d='m97.7 121-5.8-3.3a13.7 13.7 0 000-6.5l5.8-3.2a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.3v-6.5a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2l-5.8-3.3a4 4 0 00-5.6 1.5 4 4 0 001.5 5.5l5.8 3.3a13.7 13.7 0 000 6.5l-5.8 3.2a4 4 0 00-1.5 5.5 4 4 0 003.5 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.7 2 13.8 13.8 0 003 1.2v6.6a4 4 0 008 0V128a14.2 14.2 0 005.7-3.2l5.8 3.3a4 4 0 002 .5 4 4 0 003.5-2 4 4 0 00-1.3-5.5ZM75 119.7a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8 6 6 0 012.2 8.2 6.1 6.1 0 01-8.2 2.2Z'/%3e%3cpath fill='url(%23d)' stroke='%2386c3db' stroke-miterlimit='10' d='m153.7 71-5.8-3.3a13.7 13.7 0 000-6.5l5.8-3.2a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.3v-6.5a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2l-5.8-3.3a4 4 0 00-5.6 1.5 4 4 0 001.5 5.5l5.8 3.3a13.7 13.7 0 000 6.5l-5.8 3.2a4 4 0 00-1.5 5.5 4 4 0 003.5 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.7 2 13.8 13.8 0 003 1.2v6.6a4 4 0 008 0v-6.6a14.2 14.2 0 005.7-3.2l5.8 3.3a4 4 0 002 .5 4 4 0 003.5-2 4 4 0 00-1.3-5.5ZM131 69.7a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8 6 6 0 012.2 8.2 6.1 6.1 0 01-8.2 2.2Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23e' width='350' height='222' transform='translate(81 145)'/%3e%3cuse xlink:href='%23f' width='156.2' height='139' transform='translate(177.9 337.5)'/%3e%3c/svg%3e","snowy-rainy":"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='99.5' x2='232.6' y1='30.7' y2='261.4' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23f3f7fe'/%3e%3cstop offset='.5' stop-color='%23f3f7fe'/%3e%3cstop offset='1' stop-color='%23deeafb'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='1389.9' x2='1399.3' y1='-1078.1' y2='-1053.5' gradientTransform='rotate(-9 8016.182 8229.021)' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%230b65ed'/%3e%3cstop offset='.5' stop-color='%230a5ad4'/%3e%3cstop offset='1' stop-color='%230950bc'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23b' id='c' x1='1453' x2='1462.5' y1='-1118.7' y2='-1094.1'/%3e%3clinearGradient xlink:href='%23b' id='d' x1='1494.2' x2='1503.7' y1='-1021.1' y2='-996.4'/%3e%3clinearGradient id='e' x1='11.4' x2='32.8' y1='5.9' y2='43.1' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%2386c3db'/%3e%3cstop offset='.5' stop-color='%2386c3db'/%3e%3cstop offset='1' stop-color='%235eafcf'/%3e%3c/linearGradient%3e%3clinearGradient xlink:href='%23e' id='f' x1='67.4' x2='88.8' y1='95.9' y2='133.1'/%3e%3clinearGradient xlink:href='%23e' id='g' x1='123.4' x2='144.8' y1='45.9' y2='83.1'/%3e%3csymbol id='h' viewBox='0 0 350 222'%3e%3cpath fill='url(%23a)' stroke='%23e6effc' stroke-miterlimit='10' stroke-width='6' d='m291 107-2.5.1A83.9 83.9 0 00135.6 43 56 56 0 0051 91a56.6 56.6 0 00.8 9A60 60 0 0063 219l4-.2v.2h224a56 56 0 000-112Z'/%3e%3c/symbol%3e%3csymbol id='j' viewBox='0 0 156.2 139'%3e%3cpath fill='url(%23e)' stroke='%2386c3db' stroke-miterlimit='10' d='m41.7 31-5.8-3.3a13.7 13.7 0 000-6.5l5.8-3.2a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.3V4.5a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2L6.6 11A4 4 0 001 12.5 4 4 0 002.5 18l5.8 3.3a13.7 13.7 0 000 6.5L2.5 31A4 4 0 001 36.5a4 4 0 003.5 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.6 2 13.8 13.8 0 003 1.2v6.6a4 4 0 008.2 0v-6.6a14.2 14.2 0 005.6-3.2l6 3.3a4 4 0 002 .5 4 4 0 003.4-2 4 4 0 00-1.4-5.5ZM19 29.7a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8 6 6 0 012.2 8.2 6.1 6.1 0 01-8.2 2.2Z'/%3e%3cpath fill='url(%23f)' stroke='%2386c3db' stroke-miterlimit='10' d='m97.7 121-5.8-3.3a13.7 13.7 0 000-6.5l5.8-3.2a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.3v-6.5a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2l-5.8-3.3a4 4 0 00-5.6 1.5 4 4 0 001.5 5.5l5.8 3.3a13.7 13.7 0 000 6.5l-5.8 3.2a4 4 0 00-1.5 5.5 4 4 0 003.5 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.7 2 13.8 13.8 0 003 1.2v6.6a4 4 0 008 0V128a14.2 14.2 0 005.7-3.2l5.8 3.3a4 4 0 002 .5 4 4 0 003.5-2 4 4 0 00-1.3-5.5ZM75 119.7a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8 6 6 0 012.2 8.2 6.1 6.1 0 01-8.2 2.2Z'/%3e%3cpath fill='url(%23g)' stroke='%2386c3db' stroke-miterlimit='10' d='m153.7 71-5.8-3.3a13.7 13.7 0 000-6.5l5.8-3.2a4 4 0 001.5-5.5 4 4 0 00-5.6-1.5l-5.8 3.3a13.6 13.6 0 00-2.6-2 13.8 13.8 0 00-3-1.3v-6.5a4 4 0 00-8.1 0v6.6a14.3 14.3 0 00-5.7 3.2l-5.8-3.3a4 4 0 00-5.6 1.5 4 4 0 001.5 5.5l5.8 3.3a13.7 13.7 0 000 6.5l-5.8 3.2a4 4 0 00-1.5 5.5 4 4 0 003.5 2 4 4 0 002-.5l5.8-3.3a13.6 13.6 0 002.7 2 13.8 13.8 0 003 1.2v6.6a4 4 0 008 0v-6.6a14.2 14.2 0 005.7-3.2l5.8 3.3a4 4 0 002 .5 4 4 0 003.5-2 4 4 0 00-1.3-5.5ZM131 69.7a6 6 0 01-2.3-8.2 6.1 6.1 0 015.3-3 6.2 6.2 0 013 .8 6 6 0 012.2 8.2 6.1 6.1 0 01-8.2 2.2Z'/%3e%3c/symbol%3e%3csymbol id='i' viewBox='0 0 156.2 139'%3e%3cuse xlink:href='%23j' width='156.2' height='139'/%3e%3cpath fill='url(%23b)' stroke='%230a5ad4' stroke-miterlimit='10' d='M22.1 98.5a8 8 0 01-8-8v-12a8 8 0 0116 0v12a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23c)' stroke='%230a5ad4' stroke-miterlimit='10' d='M78.1 48.5a8 8 0 01-8-8v-12a8 8 0 0116 0v12a8 8 0 01-8 8Z'/%3e%3cpath fill='url(%23d)' stroke='%230a5ad4' stroke-miterlimit='10' d='M134.1 138.5a8 8 0 01-8-8v-12a8 8 0 0116 0v12a8 8 0 01-8 8Z'/%3e%3c/symbol%3e%3c/defs%3e%3cuse xlink:href='%23h' width='350' height='222' transform='translate(81 145)'/%3e%3cuse xlink:href='%23i' width='156.2' height='139' transform='translate(177.9 337.5)'/%3e%3c/svg%3e",sunny:{day:Or,night:_r},windy:$r,"windy-exceptional":$r,exceptional:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3cdefs%3e%3clinearGradient id='a' x1='175.8' x2='336.2' y1='117' y2='395' gradientUnits='userSpaceOnUse'%3e%3cstop offset='0' stop-color='%23d4d7dd'/%3e%3cstop offset='.5' stop-color='%23d4d7dd'/%3e%3cstop offset='1' stop-color='%23bec1c6'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath fill='none' stroke='url(%23a)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='24' d='M344 256a88 88 0 11-88-88 88 88 0 0188 88ZM200 116.9l-3.8 7.7A269.7 269.7 0 00169 267h0m143.1 128 3.8-7.7A269.7 269.7 0 00343.2 245h0'/%3e%3c/svg%3e"}};function Ur(e){try{return e()}catch(e){return console.error("clock-weather-card - Error while rendering clock-weather-card component:",e),D``}}class Gr extends Error{}class Vr extends Gr{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class Er extends Gr{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class Dr extends Gr{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class jr extends Gr{}class Ir extends Gr{constructor(e){super(`Invalid unit ${e}`)}}class zr extends Gr{}class Lr extends Gr{constructor(){super("Zone is an abstract class")}}const Fr="numeric",Pr="short",Hr="long",Wr={year:Fr,month:Fr,day:Fr},qr={year:Fr,month:Pr,day:Fr},Rr={year:Fr,month:Pr,day:Fr,weekday:Pr},Yr={year:Fr,month:Hr,day:Fr},Jr={year:Fr,month:Hr,day:Fr,weekday:Hr},Qr={hour:Fr,minute:Fr},Kr={hour:Fr,minute:Fr,second:Fr},Xr={hour:Fr,minute:Fr,second:Fr,timeZoneName:Pr},es={hour:Fr,minute:Fr,second:Fr,timeZoneName:Hr},ts={hour:Fr,minute:Fr,hourCycle:"h23"},is={hour:Fr,minute:Fr,second:Fr,hourCycle:"h23"},rs={hour:Fr,minute:Fr,second:Fr,hourCycle:"h23",timeZoneName:Pr},ss={hour:Fr,minute:Fr,second:Fr,hourCycle:"h23",timeZoneName:Hr},as={year:Fr,month:Fr,day:Fr,hour:Fr,minute:Fr},ns={year:Fr,month:Fr,day:Fr,hour:Fr,minute:Fr,second:Fr},os={year:Fr,month:Pr,day:Fr,hour:Fr,minute:Fr},ls={year:Fr,month:Pr,day:Fr,hour:Fr,minute:Fr,second:Fr},cs={year:Fr,month:Pr,day:Fr,weekday:Pr,hour:Fr,minute:Fr},ds={year:Fr,month:Hr,day:Fr,hour:Fr,minute:Fr,timeZoneName:Pr},us={year:Fr,month:Hr,day:Fr,hour:Fr,minute:Fr,second:Fr,timeZoneName:Pr},hs={year:Fr,month:Hr,day:Fr,weekday:Hr,hour:Fr,minute:Fr,timeZoneName:Hr},ms={year:Fr,month:Hr,day:Fr,weekday:Hr,hour:Fr,minute:Fr,second:Fr,timeZoneName:Hr};class fs{get type(){throw new Lr}get name(){throw new Lr}get ianaName(){return this.name}get isUniversal(){throw new Lr}offsetName(e,t){throw new Lr}formatOffset(e,t){throw new Lr}offset(e){throw new Lr}equals(e){throw new Lr}get isValid(){throw new Lr}}let ps=null;class ys extends fs{static get instance(){return null===ps&&(ps=new ys),ps}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:i}){return Aa(e,t,i)}formatOffset(e,t){return Ba(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return"system"===e.type}get isValid(){return!0}}let bs={};const gs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let ws={};class vs extends fs{static create(e){return ws[e]||(ws[e]=new vs(e)),ws[e]}static resetCache(){ws={},bs={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}}constructor(e){super(),this.zoneName=e,this.valid=vs.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:i}){return Aa(e,t,i,this.name)}formatOffset(e,t){return Ba(this.offset(e),t)}offset(e){const t=new Date(e);if(isNaN(t))return NaN;const i=(r=this.name,bs[r]||(bs[r]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:r,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),bs[r]);var r;let[s,a,n,o,l,c,d]=i.formatToParts?function(e,t){const i=e.formatToParts(t),r=[];for(let e=0;e=0?h:1e3+h,(Sa({year:s,month:a,day:n,hour:24===l?0:l,minute:c,second:d,millisecond:0})-u)/6e4}equals(e){return"iana"===e.type&&e.name===this.name}get isValid(){return this.valid}}let ks={};let xs={};function Ts(e,t={}){const i=JSON.stringify([e,t]);let r=xs[i];return r||(r=new Intl.DateTimeFormat(e,t),xs[i]=r),r}let Ms={};let Ss={};let _s=null;let Ns={};function Os(e,t,i,r){const s=e.listingMode();return"error"===s?null:"en"===s?i(t):r(t)}class As{constructor(e,t,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:r,floor:s,...a}=i;if(!t||Object.keys(a).length>0){const t={useGrouping:!1,...i};i.padTo>0&&(t.minimumIntegerDigits=i.padTo),this.inf=function(e,t={}){const i=JSON.stringify([e,t]);let r=Ms[i];return r||(r=new Intl.NumberFormat(e,t),Ms[i]=r),r}(e,t)}}format(e){if(this.inf){const t=this.floor?Math.floor(e):e;return this.inf.format(t)}return ba(this.floor?Math.floor(e):ka(e,3),this.padTo)}}class $s{constructor(e,t,i){let r;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=e;else if("fixed"===e.zone.type){const t=e.offset/60*-1,i=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;0!==e.offset&&vs.create(i).valid?(r=i,this.dt=e):(r="UTC",this.dt=0===e.offset?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else"system"===e.zone.type?this.dt=e:"iana"===e.zone.type?(this.dt=e,r=e.zone.name):(r="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const s={...this.opts};s.timeZone=s.timeZone||r,this.dtf=Ts(t,s)}format(){return this.originalZone?this.formatToParts().map((({value:e})=>e)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map((e=>{if("timeZoneName"===e.type){const t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}return e})):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class Zs{constructor(e,t,i){this.opts={style:"long",...i},!t&&ua()&&(this.rtf=function(e,t={}){const{base:i,...r}=t,s=JSON.stringify([e,r]);let a=Ss[s];return a||(a=new Intl.RelativeTimeFormat(e,t),Ss[s]=a),a}(e,i))}format(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,i="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},a=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===i&&a){const i="days"===e;switch(t){case 1:return i?"tomorrow":`next ${s[e][0]}`;case-1:return i?"yesterday":`last ${s[e][0]}`;case 0:return i?"today":`this ${s[e][0]}`}}const n=Object.is(t,-0)||t<0,o=Math.abs(t),l=1===o,c=s[e],d=r?l?c[1]:c[2]||c[1]:l?s[e][0]:e;return n?`${o} ${d} ago`:`in ${o} ${d}`}(t,e,this.opts.numeric,"long"!==this.opts.style)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}const Cs={firstDay:1,minimalDays:4,weekend:[6,7]};class Bs{static fromOpts(e){return Bs.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,i,r,s=!1){const a=e||Ws.defaultLocale,n=a||(s?"en-US":_s||(_s=(new Intl.DateTimeFormat).resolvedOptions().locale,_s)),o=t||Ws.defaultNumberingSystem,l=i||Ws.defaultOutputCalendar,c=pa(r)||Ws.defaultWeekSettings;return new Bs(n,o,l,c,a)}static resetCache(){_s=null,xs={},Ms={},Ss={}}static fromObject({locale:e,numberingSystem:t,outputCalendar:i,weekSettings:r}={}){return Bs.create(e,t,i,r)}constructor(e,t,i,r,s){const[a,n,o]=function(e){const t=e.indexOf("-x-");-1!==t&&(e=e.substring(0,t));const i=e.indexOf("-u-");if(-1===i)return[e];{let t,r;try{t=Ts(e).resolvedOptions(),r=e}catch(s){const a=e.substring(0,i);t=Ts(a).resolvedOptions(),r=a}const{numberingSystem:s,calendar:a}=t;return[r,s,a]}}(e);this.locale=a,this.numberingSystem=t||n||null,this.outputCalendar=i||o||null,this.weekSettings=r,this.intl=function(e,t,i){return i||t?(e.includes("-u-")||(e+="-u"),i&&(e+=`-ca-${i}`),t&&(e+=`-nu-${t}`),e):e}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),t=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e&&t?"en":"intl"}clone(e){return e&&0!==Object.getOwnPropertyNames(e).length?Bs.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,pa(e.weekSettings)||this.weekSettings,e.defaultToEN||!1):this}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return Os(this,e,Da,(()=>{const i=t?{month:e,day:"numeric"}:{month:e},r=t?"format":"standalone";return this.monthsCache[r][e]||(this.monthsCache[r][e]=function(e){const t=[];for(let i=1;i<=12;i++){const r=Ho.utc(2009,i,1);t.push(e(r))}return t}((e=>this.extract(e,i,"month")))),this.monthsCache[r][e]}))}weekdays(e,t=!1){return Os(this,e,La,(()=>{const i=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},r=t?"format":"standalone";return this.weekdaysCache[r][e]||(this.weekdaysCache[r][e]=function(e){const t=[];for(let i=1;i<=7;i++){const r=Ho.utc(2016,11,13+i);t.push(e(r))}return t}((e=>this.extract(e,i,"weekday")))),this.weekdaysCache[r][e]}))}meridiems(){return Os(this,void 0,(()=>Fa),(()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Ho.utc(2016,11,13,9),Ho.utc(2016,11,13,19)].map((t=>this.extract(t,e,"dayperiod")))}return this.meridiemCache}))}eras(e){return Os(this,e,qa,(()=>{const t={era:e};return this.eraCache[e]||(this.eraCache[e]=[Ho.utc(-40,1,1),Ho.utc(2017,1,1)].map((e=>this.extract(e,t,"era")))),this.eraCache[e]}))}extract(e,t,i){const r=this.dtFormatter(e,t).formatToParts().find((e=>e.type.toLowerCase()===i));return r?r.value:null}numberFormatter(e={}){return new As(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new $s(e,this.intl,t)}relFormatter(e={}){return new Zs(this.intl,this.isEnglish(),e)}listFormatter(e={}){return function(e,t={}){const i=JSON.stringify([e,t]);let r=ks[i];return r||(r=new Intl.ListFormat(e,t),ks[i]=r),r}(this.intl,e)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:ha()?function(e){let t=Ns[e];if(!t){const i=new Intl.Locale(e);t="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Ns[e]=t}return t}(this.locale):Cs}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}}let Us=null;class Gs extends fs{static get utcInstance(){return null===Us&&(Us=new Gs(0)),Us}static instance(e){return 0===e?Gs.utcInstance:new Gs(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new Gs($a(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Ba(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Ba(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return Ba(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return"fixed"===e.type&&e.fixed===this.fixed}get isValid(){return!0}}class Vs extends fs{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function Es(e,t){if(la(e)||null===e)return t;if(e instanceof fs)return e;if(function(e){return"string"==typeof e}(e)){const i=e.toLowerCase();return"default"===i?t:"local"===i||"system"===i?ys.instance:"utc"===i||"gmt"===i?Gs.utcInstance:Gs.parseSpecifier(i)||vs.create(e)}return ca(e)?Gs.instance(e):"object"==typeof e&&"offset"in e&&"function"==typeof e.offset?e:new Vs(e)}let Ds,js=()=>Date.now(),Is="system",zs=null,Ls=null,Fs=null,Ps=60,Hs=null;class Ws{static get now(){return js}static set now(e){js=e}static set defaultZone(e){Is=e}static get defaultZone(){return Es(Is,ys.instance)}static get defaultLocale(){return zs}static set defaultLocale(e){zs=e}static get defaultNumberingSystem(){return Ls}static set defaultNumberingSystem(e){Ls=e}static get defaultOutputCalendar(){return Fs}static set defaultOutputCalendar(e){Fs=e}static get defaultWeekSettings(){return Hs}static set defaultWeekSettings(e){Hs=pa(e)}static get twoDigitCutoffYear(){return Ps}static set twoDigitCutoffYear(e){Ps=e%100}static get throwOnInvalid(){return Ds}static set throwOnInvalid(e){Ds=e}static resetCaches(){Bs.resetCache(),vs.resetCache()}}class qs{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Rs=[0,31,59,90,120,151,181,212,243,273,304,334],Ys=[0,31,60,91,121,152,182,213,244,274,305,335];function Js(e,t){return new qs("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function Qs(e,t,i){const r=new Date(Date.UTC(e,t-1,i));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return 0===s?7:s}function Ks(e,t,i){return i+(xa(e)?Ys:Rs)[t-1]}function Xs(e,t){const i=xa(e)?Ys:Rs,r=i.findIndex((e=>eNa(r,t,i)?(l=r+1,c=1):l=r,{weekYear:l,weekNumber:c,weekday:o,...Ua(e)}}function ia(e,t=4,i=1){const{weekYear:r,weekNumber:s,weekday:a}=e,n=ea(Qs(r,1,t),i),o=Ta(r);let l,c=7*s+a-n-7+t;c<1?(l=r-1,c+=Ta(l)):c>o?(l=r+1,c-=Ta(r)):l=r;const{month:d,day:u}=Xs(l,c);return{year:l,month:d,day:u,...Ua(e)}}function ra(e){const{year:t,month:i,day:r}=e;return{year:t,ordinal:Ks(t,i,r),...Ua(e)}}function sa(e){const{year:t,ordinal:i}=e,{month:r,day:s}=Xs(t,i);return{year:t,month:r,day:s,...Ua(e)}}function aa(e,t){if(!la(e.localWeekday)||!la(e.localWeekNumber)||!la(e.localWeekYear)){if(!la(e.weekday)||!la(e.weekNumber)||!la(e.weekYear))throw new jr("Cannot mix locale-based week fields with ISO-based week fields");return la(e.localWeekday)||(e.weekday=e.localWeekday),la(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),la(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function na(e){const t=da(e.year),i=ya(e.month,1,12),r=ya(e.day,1,Ma(e.year,e.month));return t?i?!r&&Js("day",e.day):Js("month",e.month):Js("year",e.year)}function oa(e){const{hour:t,minute:i,second:r,millisecond:s}=e,a=ya(t,0,23)||24===t&&0===i&&0===r&&0===s,n=ya(i,0,59),o=ya(r,0,59),l=ya(s,0,999);return a?n?o?!l&&Js("millisecond",s):Js("second",r):Js("minute",i):Js("hour",t)}function la(e){return void 0===e}function ca(e){return"number"==typeof e}function da(e){return"number"==typeof e&&e%1==0}function ua(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function ha(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function ma(e,t,i){if(0!==e.length)return e.reduce(((e,r)=>{const s=[t(r),r];return e&&i(e[0],s[0])===e[0]?e:s}),null)[1]}function fa(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function pa(e){if(null==e)return null;if("object"!=typeof e)throw new zr("Week settings must be an object");if(!ya(e.firstDay,1,7)||!ya(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some((e=>!ya(e,1,7))))throw new zr("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function ya(e,t,i){return da(e)&&e>=t&&e<=i}function ba(e,t=2){let i;return i=e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0"),i}function ga(e){return la(e)||null===e||""===e?void 0:parseInt(e,10)}function wa(e){return la(e)||null===e||""===e?void 0:parseFloat(e)}function va(e){if(!la(e)&&null!==e&&""!==e){const t=1e3*parseFloat("0."+e);return Math.floor(t)}}function ka(e,t,i=!1){const r=10**t;return(i?Math.trunc:Math.round)(e*r)/r}function xa(e){return e%4==0&&(e%100!=0||e%400==0)}function Ta(e){return xa(e)?366:365}function Ma(e,t){const i=function(e,t){return e-t*Math.floor(e/t)}(t-1,12)+1;return 2===i?xa(e+(t-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Sa(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function _a(e,t,i){return-ea(Qs(e,1,t),i)+t-1}function Na(e,t=4,i=1){const r=_a(e,t,i),s=_a(e+1,t,i);return(Ta(e)-r+s)/7}function Oa(e){return e>99?e:e>Ws.twoDigitCutoffYear?1900+e:2e3+e}function Aa(e,t,i,r=null){const s=new Date(e),a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(a.timeZone=r);const n={timeZoneName:t,...a},o=new Intl.DateTimeFormat(i,n).formatToParts(s).find((e=>"timezonename"===e.type.toLowerCase()));return o?o.value:null}function $a(e,t){let i=parseInt(e,10);Number.isNaN(i)&&(i=0);const r=parseInt(t,10)||0;return 60*i+(i<0||Object.is(i,-0)?-r:r)}function Za(e){const t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new zr(`Invalid unit value ${e}`);return t}function Ca(e,t){const i={};for(const r in e)if(fa(e,r)){const s=e[r];if(null==s)continue;i[t(r)]=Za(s)}return i}function Ba(e,t){const i=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),s=e>=0?"+":"-";switch(t){case"short":return`${s}${ba(i,2)}:${ba(r,2)}`;case"narrow":return`${s}${i}${r>0?`:${r}`:""}`;case"techie":return`${s}${ba(i,2)}${ba(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function Ua(e){return function(e,t){return t.reduce(((t,i)=>(t[i]=e[i],t)),{})}(e,["hour","minute","second","millisecond"])}const Ga=["January","February","March","April","May","June","July","August","September","October","November","December"],Va=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ea=["J","F","M","A","M","J","J","A","S","O","N","D"];function Da(e){switch(e){case"narrow":return[...Ea];case"short":return[...Va];case"long":return[...Ga];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ja=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Ia=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],za=["M","T","W","T","F","S","S"];function La(e){switch(e){case"narrow":return[...za];case"short":return[...Ia];case"long":return[...ja];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Fa=["AM","PM"],Pa=["Before Christ","Anno Domini"],Ha=["BC","AD"],Wa=["B","A"];function qa(e){switch(e){case"narrow":return[...Wa];case"short":return[...Ha];case"long":return[...Pa];default:return null}}function Ra(e,t){let i="";for(const r of e)r.literal?i+=r.val:i+=t(r.val);return i}const Ya={D:Wr,DD:qr,DDD:Yr,DDDD:Jr,t:Qr,tt:Kr,ttt:Xr,tttt:es,T:ts,TT:is,TTT:rs,TTTT:ss,f:as,ff:os,fff:ds,ffff:hs,F:ns,FF:ls,FFF:us,FFFF:ms};class Ja{static create(e,t={}){return new Ja(e,t)}static parseFormat(e){let t=null,i="",r=!1;const s=[];for(let a=0;a0&&s.push({literal:r||/^\s+$/.test(i),val:i}),t=null,i="",r=!r):r||n===t?i+=n:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=n,t=n)}return i.length>0&&s.push({literal:r||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(e){return Ya[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0){if(this.opts.forceSimple)return ba(e,t);const i={...this.opts};return t>0&&(i.padTo=t),this.loc.numberFormatter(i).format(e)}formatDateTimeFromString(e,t){const i="en"===this.loc.listingMode(),r=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(t,i)=>this.loc.extract(e,t,i),a=t=>e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):"",n=()=>i?function(e){return Fa[e.hour<12?0:1]}(e):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),o=(t,r)=>i?function(e,t){return Da(t)[e.month-1]}(e,t):s(r?{month:t}:{month:t,day:"numeric"},"month"),l=(t,r)=>i?function(e,t){return La(t)[e.weekday-1]}(e,t):s(r?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),c=t=>{const i=Ja.macroTokenToFormatOpts(t);return i?this.formatWithSystemDefault(e,i):t},d=t=>i?function(e,t){return qa(t)[e.year<0?0:1]}(e,t):s({era:t},"era");return Ra(Ja.parseFormat(t),(t=>{switch(t){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12==0?12:e.hour%12);case"hh":return this.num(e.hour%12==0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return a({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return a({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return n();case"d":return r?s({day:"numeric"},"day"):this.num(e.day);case"dd":return r?s({day:"2-digit"},"day"):this.num(e.day,2);case"c":case"E":return this.num(e.weekday);case"ccc":return l("short",!0);case"cccc":return l("long",!0);case"ccccc":return l("narrow",!0);case"EEE":return l("short",!1);case"EEEE":return l("long",!1);case"EEEEE":return l("narrow",!1);case"L":return r?s({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return r?s({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return o("short",!0);case"LLLL":return o("long",!0);case"LLLLL":return o("narrow",!0);case"M":return r?s({month:"numeric"},"month"):this.num(e.month);case"MM":return r?s({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return o("short",!1);case"MMMM":return o("long",!1);case"MMMMM":return o("narrow",!1);case"y":return r?s({year:"numeric"},"year"):this.num(e.year);case"yy":return r?s({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return r?s({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return r?s({year:"numeric"},"year"):this.num(e.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return c(t)}}))}formatDurationFromString(e,t){const i=e=>{switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},r=Ja.parseFormat(t),s=r.reduce(((e,{literal:t,val:i})=>t?e:e.concat(i)),[]),a=e.shiftTo(...s.map(i).filter((e=>e)));return Ra(r,(e=>t=>{const r=i(t);return r?this.num(e.get(r),t.length):t})(a))}}const Qa=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ka(...e){const t=e.reduce(((e,t)=>e+t.source),"");return RegExp(`^${t}$`)}function Xa(...e){return t=>e.reduce((([e,i,r],s)=>{const[a,n,o]=s(t,r);return[{...e,...a},n||i,o]}),[{},null,1]).slice(0,2)}function en(e,...t){if(null==e)return[null,null];for(const[i,r]of t){const t=i.exec(e);if(t)return r(t)}return[null,null]}function tn(...e){return(t,i)=>{const r={};let s;for(s=0;svoid 0!==e&&(t||e&&d)?-e:e;return[{years:h(wa(i)),months:h(wa(r)),weeks:h(wa(s)),days:h(wa(a)),hours:h(wa(n)),minutes:h(wa(o)),seconds:h(wa(l),"-0"===l),milliseconds:h(va(c),u)}]}const gn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function wn(e,t,i,r,s,a,n){const o={year:2===t.length?Oa(ga(t)):ga(t),month:Va.indexOf(i)+1,day:ga(r),hour:ga(s),minute:ga(a)};return n&&(o.second=ga(n)),e&&(o.weekday=e.length>3?ja.indexOf(e)+1:Ia.indexOf(e)+1),o}const vn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function kn(e){const[,t,i,r,s,a,n,o,l,c,d,u]=e,h=wn(t,s,r,i,a,n,o);let m;return m=l?gn[l]:c?0:$a(d,u),[h,new Gs(m)]}const xn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Tn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Mn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Sn(e){const[,t,i,r,s,a,n,o]=e;return[wn(t,s,r,i,a,n,o),Gs.utcInstance]}function _n(e){const[,t,i,r,s,a,n,o]=e;return[wn(t,o,i,r,s,a,n),Gs.utcInstance]}const Nn=Ka(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,nn),On=Ka(/(\d{4})-?W(\d\d)(?:-?(\d))?/,nn),An=Ka(/(\d{4})-?(\d{3})/,nn),$n=Ka(an),Zn=Xa((function(e,t){return[{year:un(e,t),month:un(e,t+1,1),day:un(e,t+2,1)},null,t+3]}),hn,mn,fn),Cn=Xa(on,hn,mn,fn),Bn=Xa(ln,hn,mn,fn),Un=Xa(hn,mn,fn);const Gn=Xa(hn);const Vn=Ka(/(\d{4})-(\d\d)-(\d\d)/,dn),En=Ka(cn),Dn=Xa(hn,mn,fn);const jn="Invalid Duration",In={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},zn={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...In},Ln=365.2425,Fn=30.436875,Pn={years:{quarters:4,months:12,weeks:52.1775,days:Ln,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:Fn,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...In},Hn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Wn=Hn.slice(0).reverse();function qn(e,t,i=!1){const r={values:i?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new Jn(r)}function Rn(e,t){let i=t.milliseconds??0;for(const r of Wn.slice(1))t[r]&&(i+=t[r]*e[r].milliseconds);return i}function Yn(e,t){const i=Rn(e,t)<0?-1:1;Hn.reduceRight(((r,s)=>{if(la(t[s]))return r;if(r){const a=t[r]*i,n=e[s][r],o=Math.floor(a/n);t[s]+=o*i,t[r]-=o*n*i}return s}),null),Hn.reduce(((i,r)=>{if(la(t[r]))return i;if(i){const s=t[i]%1;t[i]-=s,t[r]+=s*e[i][r]}return r}),null)}class Jn{constructor(e){const t="longterm"===e.conversionAccuracy||!1;let i=t?Pn:zn;e.matrix&&(i=e.matrix),this.values=e.values,this.loc=e.loc||Bs.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(e,t){return Jn.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(null==e||"object"!=typeof e)throw new zr("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new Jn({values:Ca(e,Jn.normalizeUnit),loc:Bs.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(ca(e))return Jn.fromMillis(e);if(Jn.isDuration(e))return e;if("object"==typeof e)return Jn.fromObject(e);throw new zr(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){const[i]=function(e){return en(e,[yn,bn])}(e);return i?Jn.fromObject(i,t):Jn.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){const[i]=function(e){return en(e,[pn,Gn])}(e);return i?Jn.fromObject(i,t):Jn.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new zr("need to specify a reason the Duration is invalid");const i=e instanceof qs?e:new qs(e,t);if(Ws.throwOnInvalid)throw new Dr(i);return new Jn({invalid:i})}static normalizeUnit(e){const t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new Ir(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){const i={...t,floor:!1!==t.round&&!1!==t.floor};return this.isValid?Ja.create(this.loc,i).formatDurationFromString(this,e):jn}toHuman(e={}){if(!this.isValid)return jn;const t=Hn.map((t=>{const i=this.values[t];return la(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:t.slice(0,-1)}).format(i)})).filter((e=>e));return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(t)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=ka(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const t=this.toMillis();if(t<0||t>=864e5)return null;e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1};return Ho.fromMillis(t,{zone:"UTC"}).toISOTime(e)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Rn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=Jn.fromDurationLike(e),i={};for(const e of Hn)(fa(t.values,e)||fa(this.values,e))&&(i[e]=t.get(e)+this.get(e));return qn(this,{values:i},!0)}minus(e){if(!this.isValid)return this;const t=Jn.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;const t={};for(const i of Object.keys(this.values))t[i]=Za(e(this.values[i],i));return qn(this,{values:t},!0)}get(e){return this[Jn.normalizeUnit(e)]}set(e){if(!this.isValid)return this;return qn(this,{values:{...this.values,...Ca(e,Jn.normalizeUnit)}})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:i,matrix:r}={}){return qn(this,{loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:r,conversionAccuracy:i})}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return Yn(this.matrix,e),qn(this,{values:e},!0)}rescale(){if(!this.isValid)return this;return qn(this,{values:function(e){const t={};for(const[i,r]of Object.entries(e))0!==r&&(t[i]=r);return t}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...e){if(!this.isValid)return this;if(0===e.length)return this;e=e.map((e=>Jn.normalizeUnit(e)));const t={},i={},r=this.toObject();let s;for(const a of Hn)if(e.indexOf(a)>=0){s=a;let e=0;for(const t in i)e+=this.matrix[t][a]*i[t],i[t]=0;ca(r[a])&&(e+=r[a]);const n=Math.trunc(e);t[a]=n,i[a]=(1e3*e-1e3*n)/1e3}else ca(r[a])&&(i[a]=r[a]);for(const e in i)0!==i[e]&&(t[s]+=e===s?i[e]:i[e]/this.matrix[s][e]);return Yn(this.matrix,t),qn(this,{values:t},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const t of Object.keys(this.values))e[t]=0===this.values[t]?0:-this.values[t];return qn(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;for(const r of Hn)if(t=this.values[r],i=e.values[r],!(void 0===t||0===t?void 0===i||0===i:t===i))return!1;var t,i;return!0}}const Qn="Invalid Interval";class Kn{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,t=null){if(!e)throw new zr("need to specify a reason the Interval is invalid");const i=e instanceof qs?e:new qs(e,t);if(Ws.throwOnInvalid)throw new Er(i);return new Kn({invalid:i})}static fromDateTimes(e,t){const i=Wo(e),r=Wo(t),s=function(e,t){return e&&e.isValid?t&&t.isValid?te}isBefore(e){return!!this.isValid&&this.e<=e}contains(e){return!!this.isValid&&(this.s<=e&&this.e>e)}set({start:e,end:t}={}){return this.isValid?Kn.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];const t=e.map(Wo).filter((e=>this.contains(e))).sort(((e,t)=>e.toMillis()-t.toMillis())),i=[];let{s:r}=this,s=0;for(;r+this.e?this.e:e;i.push(Kn.fromDateTimes(r,a)),r=a,s+=1}return i}splitBy(e){const t=Jn.fromDurationLike(e);if(!this.isValid||!t.isValid||0===t.as("milliseconds"))return[];let i,{s:r}=this,s=1;const a=[];for(;re*s)));i=+e>+this.e?this.e:e,a.push(Kn.fromDateTimes(r,i)),r=i,s+=1}return a}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s=e.e)}equals(e){return!(!this.isValid||!e.isValid)&&(this.s.equals(e.s)&&this.e.equals(e.e))}intersection(e){if(!this.isValid)return this;const t=this.s>e.s?this.s:e.s,i=this.e=i?null:Kn.fromDateTimes(t,i)}union(e){if(!this.isValid)return this;const t=this.se.e?this.e:e.e;return Kn.fromDateTimes(t,i)}static merge(e){const[t,i]=e.sort(((e,t)=>e.s-t.s)).reduce((([e,t],i)=>t?t.overlaps(i)||t.abutsStart(i)?[e,t.union(i)]:[e.concat([t]),i]:[e,i]),[[],null]);return i&&t.push(i),t}static xor(e){let t=null,i=0;const r=[],s=e.map((e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}])),a=Array.prototype.concat(...s).sort(((e,t)=>e.time-t.time));for(const e of a)i+="s"===e.type?1:-1,1===i?t=e.time:(t&&+t!=+e.time&&r.push(Kn.fromDateTimes(t,e.time)),t=null);return Kn.merge(r)}difference(...e){return Kn.xor([this].concat(e)).map((e=>this.intersection(e))).filter((e=>e&&!e.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Qn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Wr,t={}){return this.isValid?Ja.create(this.s.loc.clone(t),e).formatInterval(this):Qn}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Qn}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Qn}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Qn}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:Qn}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):Jn.invalid(this.invalidReason)}mapEndpoints(e){return Kn.fromDateTimes(e(this.s),e(this.e))}}class Xn{static hasDST(e=Ws.defaultZone){const t=Ho.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return vs.isValidZone(e)}static normalizeZone(e){return Es(e,Ws.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||Bs.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||Bs.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||Bs.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:i=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||Bs.create(t,i,s)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:i=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||Bs.create(t,i,s)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:i=null,locObj:r=null}={}){return(r||Bs.create(t,i,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:i=null,locObj:r=null}={}){return(r||Bs.create(t,i,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Bs.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return Bs.create(t,null,"gregory").eras(e)}static features(){return{relative:ua(),localeWeek:ha()}}}function eo(e,t){const i=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=i(t)-i(e);return Math.floor(Jn.fromMillis(r).as("days"))}function to(e,t,i,r){let[s,a,n,o]=function(e,t,i){const r=[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter+4*(t.year-e.year)],["months",(e,t)=>t.month-e.month+12*(t.year-e.year)],["weeks",(e,t)=>{const i=eo(e,t);return(i-i%7)/7}],["days",eo]],s={},a=e;let n,o;for(const[l,c]of r)i.indexOf(l)>=0&&(n=l,s[l]=c(e,t),o=a.plus(s),o>t?(s[l]--,(e=a.plus(s))>t&&(o=e,s[l]--,e=a.plus(s))):e=o);return[e,s,o,n]}(e,t,i);const l=t-s,c=i.filter((e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0));0===c.length&&(n0?Jn.fromMillis(l,r).shiftTo(...c).plus(d):d}const io={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ro={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},so=io.hanidec.replace(/[\[|\]]/g,"").split("");function ao({numberingSystem:e},t=""){return new RegExp(`${io[e||"latn"]}${t}`)}const no="missing Intl.DateTimeFormat.formatToParts support";function oo(e,t=(e=>e)){return{regex:e,deser:([e])=>t(function(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let i=0;i=i&&r<=s&&(t+=r-i)}}return parseInt(t,10)}return t}(e))}}const lo=`[ ${String.fromCharCode(160)}]`,co=new RegExp(lo,"g");function uo(e){return e.replace(/\./g,"\\.?").replace(co,lo)}function ho(e){return e.replace(/\./g,"").replace(co," ").toLowerCase()}function mo(e,t){return null===e?null:{regex:RegExp(e.map(uo).join("|")),deser:([i])=>e.findIndex((e=>ho(i)===ho(e)))+t}}function fo(e,t){return{regex:e,deser:([,e,t])=>$a(e,t),groups:t}}function po(e){return{regex:e,deser:([e])=>e}}const yo={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let bo=null;function go(e,t){return Array.prototype.concat(...e.map((e=>function(e,t){if(e.literal)return e;const i=vo(Ja.macroTokenToFormatOpts(e.val),t);return null==i||i.includes(void 0)?e:i}(e,t))))}function wo(e,t,i){const r=go(Ja.parseFormat(i),e),s=r.map((t=>function(e,t){const i=ao(t),r=ao(t,"{2}"),s=ao(t,"{3}"),a=ao(t,"{4}"),n=ao(t,"{6}"),o=ao(t,"{1,2}"),l=ao(t,"{1,3}"),c=ao(t,"{1,6}"),d=ao(t,"{1,9}"),u=ao(t,"{2,4}"),h=ao(t,"{4,6}"),m=e=>{return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([e])=>e,literal:!0};var t},f=(f=>{if(e.literal)return m(f);switch(f.val){case"G":return mo(t.eras("short"),0);case"GG":return mo(t.eras("long"),0);case"y":return oo(c);case"yy":case"kk":return oo(u,Oa);case"yyyy":case"kkkk":return oo(a);case"yyyyy":return oo(h);case"yyyyyy":return oo(n);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return oo(o);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return oo(r);case"MMM":return mo(t.months("short",!0),1);case"MMMM":return mo(t.months("long",!0),1);case"LLL":return mo(t.months("short",!1),1);case"LLLL":return mo(t.months("long",!1),1);case"o":case"S":return oo(l);case"ooo":case"SSS":return oo(s);case"u":return po(d);case"uu":return po(o);case"uuu":case"E":case"c":return oo(i);case"a":return mo(t.meridiems(),0);case"EEE":return mo(t.weekdays("short",!1),1);case"EEEE":return mo(t.weekdays("long",!1),1);case"ccc":return mo(t.weekdays("short",!0),1);case"cccc":return mo(t.weekdays("long",!0),1);case"Z":case"ZZ":return fo(new RegExp(`([+-]${o.source})(?::(${r.source}))?`),2);case"ZZZ":return fo(new RegExp(`([+-]${o.source})(${r.source})?`),2);case"z":return po(/[a-z_+-/]{1,256}?/i);case" ":return po(/[^\S\n\r]/);default:return m(f)}})(e)||{invalidReason:no};return f.token=e,f}(t,e))),a=s.find((e=>e.invalidReason));if(a)return{input:t,tokens:r,invalidReason:a.invalidReason};{const[e,i]=function(e){const t=e.map((e=>e.regex)).reduce(((e,t)=>`${e}(${t.source})`),"");return[`^${t}$`,e]}(s),a=RegExp(e,"i"),[n,o]=function(e,t,i){const r=e.match(t);if(r){const e={};let t=1;for(const s in i)if(fa(i,s)){const a=i[s],n=a.groups?a.groups+1:1;!a.literal&&a.token&&(e[a.token.val[0]]=a.deser(r.slice(t,t+n))),t+=n}return[r,e]}return[r,{}]}(t,a,i),[l,c,d]=o?function(e){let t,i=null;la(e.z)||(i=vs.create(e.z)),la(e.Z)||(i||(i=new Gs(e.Z)),t=e.Z),la(e.q)||(e.M=3*(e.q-1)+1),la(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),la(e.u)||(e.S=va(e.u));const r=Object.keys(e).reduce(((t,i)=>{const r=(e=>{switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return r&&(t[r]=e[i]),t}),{});return[r,i,t]}(o):[null,null,void 0];if(fa(o,"a")&&fa(o,"H"))throw new jr("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:a,rawMatches:n,matches:o,result:l,zone:c,specificOffset:d}}}function vo(e,t){if(!e)return null;const i=Ja.create(t,e).dtFormatter((bo||(bo=Ho.fromMillis(1555555555555)),bo)),r=i.formatToParts(),s=i.resolvedOptions();return r.map((t=>function(e,t,i){const{type:r,value:s}=e;if("literal"===r){const e=/^\s+$/.test(s);return{literal:!e,val:e?" ":s}}const a=t[r];let n=r;"hour"===r&&(n=null!=t.hour12?t.hour12?"hour12":"hour24":null!=t.hourCycle?"h11"===t.hourCycle||"h12"===t.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let o=yo[n];if("object"==typeof o&&(o=o[a]),o)return{literal:!1,val:o}}(t,e,s)))}const ko="Invalid DateTime",xo=864e13;function To(e){return new qs("unsupported zone",`the zone "${e.name}" is not supported`)}function Mo(e){return null===e.weekData&&(e.weekData=ta(e.c)),e.weekData}function So(e){return null===e.localWeekData&&(e.localWeekData=ta(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function _o(e,t){const i={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Ho({...i,...t,old:i})}function No(e,t,i){let r=e-60*t*1e3;const s=i.offset(r);if(t===s)return[r,t];r-=60*(s-t)*1e3;const a=i.offset(r);return s===a?[r,s]:[e-60*Math.min(s,a)*1e3,Math.max(s,a)]}function Oo(e,t){const i=new Date(e+=60*t*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Ao(e,t,i){return No(Sa(e),t,i)}function $o(e,t){const i=e.o,r=e.c.year+Math.trunc(t.years),s=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),a={...e.c,year:r,month:s,day:Math.min(e.c.day,Ma(r,s))+Math.trunc(t.days)+7*Math.trunc(t.weeks)},n=Jn.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),o=Sa(a);let[l,c]=No(o,i,e.zone);return 0!==n&&(l+=n,c=e.zone.offset(l)),{ts:l,o:c}}function Zo(e,t,i,r,s,a){const{setZone:n,zone:o}=i;if(e&&0!==Object.keys(e).length||t){const r=t||o,s=Ho.fromObject(e,{...i,zone:r,specificOffset:a});return n?s:s.setZone(o)}return Ho.invalid(new qs("unparsable",`the input "${s}" can't be parsed as ${r}`))}function Co(e,t,i=!0){return e.isValid?Ja.create(Bs.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Bo(e,t){const i=e.c.year>9999||e.c.year<0;let r="";return i&&e.c.year>=0&&(r+="+"),r+=ba(e.c.year,i?6:4),t?(r+="-",r+=ba(e.c.month),r+="-",r+=ba(e.c.day)):(r+=ba(e.c.month),r+=ba(e.c.day)),r}function Uo(e,t,i,r,s,a){let n=ba(e.c.hour);return t?(n+=":",n+=ba(e.c.minute),0===e.c.millisecond&&0===e.c.second&&i||(n+=":")):n+=ba(e.c.minute),0===e.c.millisecond&&0===e.c.second&&i||(n+=ba(e.c.second),0===e.c.millisecond&&r||(n+=".",n+=ba(e.c.millisecond,3))),s&&(e.isOffsetFixed&&0===e.offset&&!a?n+="Z":e.o<0?(n+="-",n+=ba(Math.trunc(-e.o/60)),n+=":",n+=ba(Math.trunc(-e.o%60))):(n+="+",n+=ba(Math.trunc(e.o/60)),n+=":",n+=ba(Math.trunc(e.o%60)))),a&&(n+="["+e.zone.ianaName+"]"),n}const Go={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Vo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Eo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Do=["year","month","day","hour","minute","second","millisecond"],jo=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Io=["year","ordinal","hour","minute","second","millisecond"];function zo(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new Ir(e);return t}(e)}}function Lo(e,t){const i=Es(t.zone,Ws.defaultZone),r=Bs.fromObject(t),s=Ws.now();let a,n;if(la(e.year))a=s;else{for(const t of Do)la(e[t])&&(e[t]=Go[t]);const t=na(e)||oa(e);if(t)return Ho.invalid(t);const r=i.offset(s);[a,n]=Ao(e,r,i)}return new Ho({ts:a,zone:i,loc:r,o:n})}function Fo(e,t,i){const r=!!la(i.round)||i.round,s=(e,s)=>{e=ka(e,r||i.calendary?0:2,!0);return t.loc.clone(i).relFormatter(i).format(e,s)},a=r=>i.calendary?t.hasSame(e,r)?0:t.startOf(r).diff(e.startOf(r),r).get(r):t.diff(e,r).get(r);if(i.unit)return s(a(i.unit),i.unit);for(const e of i.units){const t=a(e);if(Math.abs(t)>=1)return s(t,e)}return s(e>t?-0:0,i.units[i.units.length-1])}function Po(e){let t,i={};return e.length>0&&"object"==typeof e[e.length-1]?(i=e[e.length-1],t=Array.from(e).slice(0,e.length-1)):t=Array.from(e),[i,t]}class Ho{constructor(e){const t=e.zone||Ws.defaultZone;let i=e.invalid||(Number.isNaN(e.ts)?new qs("invalid input"):null)||(t.isValid?null:To(t));this.ts=la(e.ts)?Ws.now():e.ts;let r=null,s=null;if(!i){if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[r,s]=[e.old.c,e.old.o];else{const e=t.offset(this.ts);r=Oo(this.ts,e),i=Number.isNaN(r.year)?new qs("invalid input"):null,r=i?null:r,s=i?null:e}}this._zone=t,this.loc=e.loc||Bs.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=r,this.o=s,this.isLuxonDateTime=!0}static now(){return new Ho({})}static local(){const[e,t]=Po(arguments),[i,r,s,a,n,o,l]=t;return Lo({year:i,month:r,day:s,hour:a,minute:n,second:o,millisecond:l},e)}static utc(){const[e,t]=Po(arguments),[i,r,s,a,n,o,l]=t;return e.zone=Gs.utcInstance,Lo({year:i,month:r,day:s,hour:a,minute:n,second:o,millisecond:l},e)}static fromJSDate(e,t={}){const i=function(e){return"[object Date]"===Object.prototype.toString.call(e)}(e)?e.valueOf():NaN;if(Number.isNaN(i))return Ho.invalid("invalid input");const r=Es(t.zone,Ws.defaultZone);return r.isValid?new Ho({ts:i,zone:r,loc:Bs.fromObject(t)}):Ho.invalid(To(r))}static fromMillis(e,t={}){if(ca(e))return e<-xo||e>xo?Ho.invalid("Timestamp out of range"):new Ho({ts:e,zone:Es(t.zone,Ws.defaultZone),loc:Bs.fromObject(t)});throw new zr(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(ca(e))return new Ho({ts:1e3*e,zone:Es(t.zone,Ws.defaultZone),loc:Bs.fromObject(t)});throw new zr("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const i=Es(t.zone,Ws.defaultZone);if(!i.isValid)return Ho.invalid(To(i));const r=Bs.fromObject(t),s=Ca(e,zo),{minDaysInFirstWeek:a,startOfWeek:n}=aa(s,r),o=Ws.now(),l=la(t.specificOffset)?i.offset(o):t.specificOffset,c=!la(s.ordinal),d=!la(s.year),u=!la(s.month)||!la(s.day),h=d||u,m=s.weekYear||s.weekNumber;if((h||c)&&m)throw new jr("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&c)throw new jr("Can't mix ordinal dates with month/day");const f=m||s.weekday&&!h;let p,y,b=Oo(o,l);f?(p=jo,y=Vo,b=ta(b,a,n)):c?(p=Io,y=Eo,b=ra(b)):(p=Do,y=Go);let g=!1;for(const e of p){la(s[e])?s[e]=g?y[e]:b[e]:g=!0}const w=f?function(e,t=4,i=1){const r=da(e.weekYear),s=ya(e.weekNumber,1,Na(e.weekYear,t,i)),a=ya(e.weekday,1,7);return r?s?!a&&Js("weekday",e.weekday):Js("week",e.weekNumber):Js("weekYear",e.weekYear)}(s,a,n):c?function(e){const t=da(e.year),i=ya(e.ordinal,1,Ta(e.year));return t?!i&&Js("ordinal",e.ordinal):Js("year",e.year)}(s):na(s),v=w||oa(s);if(v)return Ho.invalid(v);const k=f?ia(s,a,n):c?sa(s):s,[x,T]=Ao(k,l,i),M=new Ho({ts:x,zone:i,o:T,loc:r});return s.weekday&&h&&e.weekday!==M.weekday?Ho.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${M.toISO()}`):M}static fromISO(e,t={}){const[i,r]=function(e){return en(e,[Nn,Zn],[On,Cn],[An,Bn],[$n,Un])}(e);return Zo(i,r,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[i,r]=function(e){return en(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[vn,kn])}(e);return Zo(i,r,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[i,r]=function(e){return en(e,[xn,Sn],[Tn,Sn],[Mn,_n])}(e);return Zo(i,r,t,"HTTP",t)}static fromFormat(e,t,i={}){if(la(e)||la(t))throw new zr("fromFormat requires an input string and a format");const{locale:r=null,numberingSystem:s=null}=i,a=Bs.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),[n,o,l,c]=function(e,t,i){const{result:r,zone:s,specificOffset:a,invalidReason:n}=wo(e,t,i);return[r,s,a,n]}(a,e,t);return c?Ho.invalid(c):Zo(n,o,i,`format ${t}`,e,l)}static fromString(e,t,i={}){return Ho.fromFormat(e,t,i)}static fromSQL(e,t={}){const[i,r]=function(e){return en(e,[Vn,Zn],[En,Dn])}(e);return Zo(i,r,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new zr("need to specify a reason the DateTime is invalid");const i=e instanceof qs?e:new qs(e,t);if(Ws.throwOnInvalid)throw new Vr(i);return new Ho({invalid:i})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){const i=vo(e,Bs.fromObject(t));return i?i.map((e=>e?e.val:null)).join(""):null}static expandFormat(e,t={}){return go(Ja.parseFormat(e),Bs.fromObject(t)).map((e=>e.val)).join("")}get(e){return this[e]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Mo(this).weekYear:NaN}get weekNumber(){return this.isValid?Mo(this).weekNumber:NaN}get weekday(){return this.isValid?Mo(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?So(this).weekday:NaN}get localWeekNumber(){return this.isValid?So(this).weekNumber:NaN}get localWeekYear(){return this.isValid?So(this).weekYear:NaN}get ordinal(){return this.isValid?ra(this.c).ordinal:NaN}get monthShort(){return this.isValid?Xn.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Xn.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Xn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Xn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,t=6e4,i=Sa(this.c),r=this.zone.offset(i-e),s=this.zone.offset(i+e),a=this.zone.offset(i-r*t),n=this.zone.offset(i-s*t);if(a===n)return[this];const o=i-a*t,l=i-n*t,c=Oo(o,a),d=Oo(l,n);return c.hour===d.hour&&c.minute===d.minute&&c.second===d.second&&c.millisecond===d.millisecond?[_o(this,{ts:o}),_o(this,{ts:l})]:[this]}get isInLeapYear(){return xa(this.year)}get daysInMonth(){return Ma(this.year,this.month)}get daysInYear(){return this.isValid?Ta(this.year):NaN}get weeksInWeekYear(){return this.isValid?Na(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Na(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:i,calendar:r}=Ja.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:i,outputCalendar:r}}toUTC(e=0,t={}){return this.setZone(Gs.instance(e),t)}toLocal(){return this.setZone(Ws.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:i=!1}={}){if((e=Es(e,Ws.defaultZone)).equals(this.zone))return this;if(e.isValid){let r=this.ts;if(t||i){const t=e.offset(this.ts),i=this.toObject();[r]=Ao(i,t,e)}return _o(this,{ts:r,zone:e})}return Ho.invalid(To(e))}reconfigure({locale:e,numberingSystem:t,outputCalendar:i}={}){return _o(this,{loc:this.loc.clone({locale:e,numberingSystem:t,outputCalendar:i})})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const t=Ca(e,zo),{minDaysInFirstWeek:i,startOfWeek:r}=aa(t,this.loc),s=!la(t.weekYear)||!la(t.weekNumber)||!la(t.weekday),a=!la(t.ordinal),n=!la(t.year),o=!la(t.month)||!la(t.day),l=n||o,c=t.weekYear||t.weekNumber;if((l||a)&&c)throw new jr("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(o&&a)throw new jr("Can't mix ordinal dates with month/day");let d;s?d=ia({...ta(this.c,i,r),...t},i,r):la(t.ordinal)?(d={...this.toObject(),...t},la(t.day)&&(d.day=Math.min(Ma(d.year,d.month),d.day))):d=sa({...ra(this.c),...t});const[u,h]=Ao(d,this.o,this.zone);return _o(this,{ts:u,o:h})}plus(e){if(!this.isValid)return this;return _o(this,$o(this,Jn.fromDurationLike(e)))}minus(e){if(!this.isValid)return this;return _o(this,$o(this,Jn.fromDurationLike(e).negate()))}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;const i={},r=Jn.normalizeUnit(e);switch(r){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===r)if(t){const e=this.loc.getStartOfWeek(),{weekday:t}=this;tthis.valueOf(),n=to(a?this:e,a?e:this,s,r);var o;return a?n.negate():n}diffNow(e="milliseconds",t={}){return this.diff(Ho.now(),e,t)}until(e){return this.isValid?Kn.fromDateTimes(this,e):this}hasSame(e,t,i){if(!this.isValid)return!1;const r=e.valueOf(),s=this.setZone(e.zone,{keepLocalTime:!0});return s.startOf(t,i)<=r&&r<=s.endOf(t,i)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const t=e.base||Ho.fromObject({},{zone:this.zone}),i=e.padding?thise.valueOf()),Math.min)}static max(...e){if(!e.every(Ho.isDateTime))throw new zr("max requires all arguments be DateTimes");return ma(e,(e=>e.valueOf()),Math.max)}static fromFormatExplain(e,t,i={}){const{locale:r=null,numberingSystem:s=null}=i;return wo(Bs.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),e,t)}static fromStringExplain(e,t,i={}){return Ho.fromFormatExplain(e,t,i)}static get DATE_SHORT(){return Wr}static get DATE_MED(){return qr}static get DATE_MED_WITH_WEEKDAY(){return Rr}static get DATE_FULL(){return Yr}static get DATE_HUGE(){return Jr}static get TIME_SIMPLE(){return Qr}static get TIME_WITH_SECONDS(){return Kr}static get TIME_WITH_SHORT_OFFSET(){return Xr}static get TIME_WITH_LONG_OFFSET(){return es}static get TIME_24_SIMPLE(){return ts}static get TIME_24_WITH_SECONDS(){return is}static get TIME_24_WITH_SHORT_OFFSET(){return rs}static get TIME_24_WITH_LONG_OFFSET(){return ss}static get DATETIME_SHORT(){return as}static get DATETIME_SHORT_WITH_SECONDS(){return ns}static get DATETIME_MED(){return os}static get DATETIME_MED_WITH_SECONDS(){return ls}static get DATETIME_MED_WITH_WEEKDAY(){return cs}static get DATETIME_FULL(){return ds}static get DATETIME_FULL_WITH_SECONDS(){return us}static get DATETIME_HUGE(){return hs}static get DATETIME_HUGE_WITH_SECONDS(){return ms}}function Wo(e){if(Ho.isDateTime(e))return e;if(e&&e.valueOf&&ca(e.valueOf()))return Ho.fromJSDate(e);if(e&&"object"==typeof e)return Ho.fromObject(e);throw new zr(`Unknown datetime argument: ${e}, of type ${typeof e}`)}console.info("%c CLOCK-WEATHER-CARD \n%c Version: 2.8.2","color: orange; font-weight: bold; background: black","color: white; font-weight: bold; background: dimgray"),window.customCards=window.customCards||[],window.customCards.push({type:"clock-weather-card",name:"Clock Weather Card",description:"Shows the current date/time in combination with the current weather and an iOS insipired weather forecast."});const qo=(new Map).set(-20,new ge(0,60,98)).set(-10,new ge(120,162,204)).set(0,new ge(164,195,210)).set(10,new ge(121,210,179)).set(20,new ge(252,245,112)).set(30,new ge(255,150,79)).set(40,new ge(255,192,159));let Ro=class extends se{constructor(){super(),this.forecastSubscriberLock=!1,this.currentDate=Ho.now();const e=1e3-this.currentDate.millisecond;setTimeout((()=>setInterval((()=>{this.currentDate=Ho.now()}),1e3)),e),setTimeout((()=>{this.currentDate=Ho.now()}),e)}static getStubConfig(e,t,i){const r=t.find((e=>{var t;return null!==(t=e.startsWith("weather."))&&void 0!==t?t:i.find((()=>!0))}));return r?{entity:r}:{}}getCardSize(){return 3+gr(this.config.forecast_rows/2)}setConfig(e){if(!e)throw this.createError("Invalid configuration.");if(!e.entity)throw this.createError('Attribute "entity" must be present.');if(e.forecast_rows&&e.forecast_rows<1)throw this.createError('Attribute "forecast_rows" must be greater than 0.');if(e.time_format&&"24"!==e.time_format.toString()&&"12"!==e.time_format.toString())throw this.createError('Attribute "time_format" must either be "12" or "24".');if(e.hide_today_section&&e.hide_forecast_section)throw this.createError('Attributes "hide_today_section" and "hide_forecast_section" must not enabled at the same time.');this.config=this.mergeConfig(e)}shouldUpdate(e){if(!this.config)return!1;if(e.has("forecasts"))return!0;const t=e.get("hass");if(t){if(t.states[this.config.sun_entity]!==this.hass.states[this.config.sun_entity])return!0}return function(e,t,i){if(t.has("config")||i)return!0;if(e.config.entity){var r=t.get("hass");return!r||r.states[e.config.entity]!==e.hass.states[e.config.entity]}return!1}(this,e,!1)}updated(e){super.updated(e),e.has("config")&&this.subscribeForecastEvents()}render(){if(this.error)return this.error;const e=!this.config.hide_today_section,t=!this.config.hide_forecast_section;return D` + {this.handleAction(e)}} + .actionHandler=${Me({hasHold:be(this.config.hold_action),hasDoubleClick:be(this.config.double_tap_action)})} + tabindex="0" + .label=${`Clock Weather Card: ${this.config.entity||"No Entity Defined"}`} + > + ${this.config.title?D` +
+ ${this.config.title} +
`:""} +
+ ${e?D` + + ${Ur((()=>this.renderToday()))} + `:""} + ${t?D` + + ${Ur((()=>this.renderForecast()))} + `:""} +
+
+ `}connectedCallback(){super.connectedCallback(),this.hasUpdated&&this.subscribeForecastEvents()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeForecastEvents()}willUpdate(e){super.willUpdate(e),this.forecastSubscriber||this.subscribeForecastEvents()}renderToday(){const e=this.getWeather(),t=e.state,i=this.config.show_decimal?this.getCurrentTemperature():wr(this.getCurrentTemperature()),r=e.attributes.temperature_unit,s=this.config.show_decimal?this.getApparentTemperature():wr(this.getApparentTemperature()),a=this.getAqi(),n=this.getAqiColor(a),o=wr(this.getCurrentHumidity()),l=this.config.weather_icon_type,c=this.toIcon(t,l,!1,this.getIconAnimationKind()),d=this.localize(`weather.${t}`),u=null!==i?this.toConfiguredTempWithUnit(r,i):null,h=null!==o?`${o}% ${this.localize("misc.humidity")}`:null,m=null!==s?this.toConfiguredTempWithUnit(r,s):null,f=this.localize("misc.feels-like"),p=this.localize("misc.aqi");return D` + + + + + + + ${this.config.hide_clock?d:u?`${d}, ${u}`:d} + ${this.config.show_humidity&&h?D`
${h}`:""} + ${this.config.apparent_sensor&&s?D`
${f}: ${m}`:""} + ${this.config.aqi_sensor&&null!==a?D`
${a} ${p}`:""} +
+ + ${this.config.hide_clock?null!=u?u:"n/a":this.time()} + + + ${this.config.hide_date?"":this.date()} + +
+
`}renderForecast(){const e=this.getWeather(),t=wr(this.getCurrentTemperature()),i=this.config.forecast_rows,r=this.config.hourly_forecast,s=e.attributes.temperature_unit,a=this.mergeForecasts(i,r),n=a.map((e=>e.templow)),o=a.map((e=>e.temperature));null!==t&&(n.push(t),o.push(t));const l=Math.round(yr(n)),c=Math.round(pr(o)),d=this.gradientRange(l,c,s),u=a.map((e=>e.datetime)).map((e=>r?this.time(e):this.localize(`day.${e.weekday}`))),h=u.length?pr(u.map((e=>e.length))):0;return a.map(((e,i)=>Ur((()=>this.renderForecastItem(e,d,l,c,t,r,u[i],h)))))}renderForecastItem(e,t,i,r,s,a,n,o){const l="pouring"===e.condition?"raindrops":"rainy"===e.condition?"raindrop":e.condition,c=this.toIcon(l,"fill",!0,"static"),d=this.getWeather().attributes.temperature_unit,u=a?Ho.now().hour===e.datetime.hour:Ho.now().day===e.datetime.day,h=Math.round(u&&null!==s?Math.min(s,e.templow):e.templow),m=Math.round(u&&null!==s?Math.max(s,e.temperature):e.temperature);return D` + + ${this.renderText(n)} + ${this.renderIcon(c)} + ${this.renderText(this.toConfiguredTempWithUnit(d,h),"right")} + ${this.renderForecastTemperatureBar(t,i,r,h,m,u,s)} + ${this.renderText(this.toConfiguredTempWithUnit(d,m))} + + `}renderText(e,t="left"){return D` + + ${e} + + `}renderIcon(e){return D` + + + + `}renderForecastTemperatureBar(e,t,i,r,s,a,n){const{startPercent:o,endPercent:l}=this.calculateBarRangePercents(t,i,r,s);return D` + + + + ${a?this.renderForecastCurrentTemp(r,s,n):""} + + + `}renderForecastCurrentTemp(e,t,i){if(null==i)return D``;return D` + + + + + `}static get styles(){return we}gradientRange(e,t,i){const r=this.toCelsius(i,e),s=this.toCelsius(i,t),a=Math.max(function(e,t=0){return t<=0?Math.floor(e):Math.floor(e/t)*t}(r,10),yr([...qo.keys()])),n=Math.min(gr(s,10),pr([...qo.keys()]));return Array.from(qo.keys()).filter((e=>e>=a&&e<=n)).map((e=>qo.get(e)))}gradient(e,t,i){var r;if(e.length<=1){const t=null!==(r=e[0])&&void 0!==r?r:new ge(255,255,255);return[t,t].map((e=>e.toRgbString())).join(",")}const[s,a]=this.calculateRgb(e,t,"left"),[n,o]=this.calculateRgb(e,i,"right");return[s,...e.slice(a+1,o),n].map((e=>e.toRgbString())).join(",")}calculateRgb(e,t,i){function r(e,t,i){const r=Math.abs(e-t)/100*i;return br(e>t?e-r:e+r)}const s=100/(e.length-1),a=t/s,n=Math.round(a),o=100/s*(t-n*s),l=0===o?n:o<0?n-1:n+1,c=function(e,t,i,s){const a=s[e],n=s[t],o=i<0?100+i:i,l=i<0?n:a,c=i<0?a:n,d=r(l.r,c.r,o),u=r(l.g,c.g,o),h=r(l.b,c.b,o);return new ge(d,u,h)}(n,l,o,e);return[c,"left"===i?Math.min(n,l):Math.max(n,l)]}handleAction(e){this.hass&&this.config&&e.detail.action&&function(e,t,i,r){var s;"double_tap"===r&&i.double_tap_action?s=i.double_tap_action:"hold"===r&&i.hold_action?s=i.hold_action:"tap"===r&&i.tap_action&&(s=i.tap_action),ye(e,t,i,s)}(this,this.hass,this.config,e.detail.action)}mergeConfig(e){var t,i,r,s,a,n,o,l,c,d,u,h,m,f,p,y,b,g;return Object.assign(Object.assign({},e),{sun_entity:null!==(t=e.sun_entity)&&void 0!==t?t:"sun.sun",temperature_sensor:e.temperature_sensor,humidity_sensor:e.humidity_sensor,weather_icon_type:null!==(i=e.weather_icon_type)&&void 0!==i?i:"line",forecast_rows:null!==(r=e.forecast_rows)&&void 0!==r?r:5,hourly_forecast:null!==(s=e.hourly_forecast)&&void 0!==s&&s,animated_icon:null===(a=e.animated_icon)||void 0===a||a,time_format:null===(n=e.time_format)||void 0===n?void 0:n.toString(),time_pattern:null!==(o=e.time_pattern)&&void 0!==o?o:void 0,show_humidity:null!==(l=e.show_humidity)&&void 0!==l&&l,hide_forecast_section:null!==(c=e.hide_forecast_section)&&void 0!==c&&c,hide_today_section:null!==(d=e.hide_today_section)&&void 0!==d&&d,hide_clock:null!==(u=e.hide_clock)&&void 0!==u&&u,hide_date:null!==(h=e.hide_date)&&void 0!==h&&h,date_pattern:null!==(m=e.date_pattern)&&void 0!==m?m:"D",use_browser_time:null!==(f=e.use_browser_time)&&void 0!==f&&f,time_zone:null!==(p=e.time_zone)&&void 0!==p?p:void 0,show_decimal:null!==(y=e.show_decimal)&&void 0!==y&&y,apparent_sensor:null!==(b=e.apparent_sensor)&&void 0!==b?b:void 0,aqi_sensor:null!==(g=e.aqi_sensor)&&void 0!==g?g:void 0})}toIcon(e,t,i,r){var s;const a=i?"day":"below_horizon"===(null===(s=this.getSun())||void 0===s?void 0:s.state)?"night":"day",n=("animated"===r?Cr:Br)[t][e];return(null==n?void 0:n[a])||n}getWeather(){const e=this.hass.states[this.config.entity];if(!e)throw this.createError(`Weather entity "${this.config.entity}" could not be found.`);return e}getCurrentTemperature(){var e,t;if(this.config.temperature_sensor){const t=this.hass.states[this.config.temperature_sensor],i=(null==t?void 0:t.state)?parseFloat(t.state):void 0,r=null!==(e=null==t?void 0:t.attributes.unit_of_measurement)&&void 0!==e?e:this.getConfiguredTemperatureUnit();if(void 0!==i&&!isNaN(i))return this.toConfiguredTempWithoutUnit(r,i)}return null!==(t=this.getWeather().attributes.temperature)&&void 0!==t?t:null}getCurrentHumidity(){var e;if(this.config.humidity_sensor){const e=this.hass.states[this.config.humidity_sensor],t=(null==e?void 0:e.state)?parseFloat(e.state):void 0;if(void 0!==t&&!isNaN(t))return t}return null!==(e=this.getWeather().attributes.humidity)&&void 0!==e?e:null}getApparentTemperature(){var e;if(this.config.apparent_sensor){const t=this.hass.states[this.config.apparent_sensor],i=(null==t?void 0:t.state)?parseFloat(t.state):void 0,r=null!==(e=null==t?void 0:t.attributes.unit_of_measurement)&&void 0!==e?e:this.getConfiguredTemperatureUnit();if(void 0!==i&&!isNaN(i))return this.toConfiguredTempWithoutUnit(r,i)}return null}getAqi(){if(this.config.aqi_sensor){const e=this.hass.states[this.config.aqi_sensor],t=(null==e?void 0:e.state)?parseInt(e.state):void 0;if(void 0!==t&&!isNaN(t))return t}return null}getAqiColor(e){return null==e?null:e<=50?"green":e<=100?"yellowgreen":e<=150?"orange":e<=200?"red":e<=300?"purple":"maroon"}getSun(){return this.hass.states[this.config.sun_entity]}getLocale(){var e,t;return null!==(t=null!==(e=this.config.locale)&&void 0!==e?e:this.hass.locale.language)&&void 0!==t?t:"en-GB"}date(){return this.toZonedDate(this.currentDate).toFormat(this.config.date_pattern)}time(e=this.currentDate){return this.config.time_pattern?this.toZonedDate(e).toFormat(this.config.time_pattern):this.config.time_format?this.toZonedDate(e).toFormat("24"===this.config.time_format?"HH:mm":"h:mm a"):this.hass.locale.time_format===he.am_pm?this.toZonedDate(e).toFormat("h:mm a"):this.hass.locale.time_format===he.twenty_four?this.toZonedDate(e).toFormat("HH:mm"):this.toZonedDate(e).toFormat("t")}getIconAnimationKind(){return this.config.animated_icon?"animated":"static"}toCelsius(e,t){return"°C"===e?t:Math.round(5/9*(t-32))}toFahrenheit(e,t){return"°F"===e?t:Math.round(9*t/5+32)}getConfiguredTemperatureUnit(){return this.hass.config.unit_system.temperature}toConfiguredTempWithUnit(e,t){return this.toConfiguredTempWithoutUnit(e,t)+this.getConfiguredTemperatureUnit()}toConfiguredTempWithoutUnit(e,t){return this.getConfiguredTemperatureUnit()===e?t:"°C"===e?this.toFahrenheit(e,t):this.toCelsius(e,t)}calculateBarRangePercents(e,t,i,r){if(t===e)return{startPercent:0,endPercent:100};const s=100/(t-e)*(i-e),a=100/(t-e)*(r-e);return{startPercent:Math.max(0,s),endPercent:Math.min(100,a)}}localize(e){return function(e,t){let i;const r=t.replace(/['"]+/g,"").replace("-","_").replace("_","").toLowerCase();try{i=e.split(".").reduce(((e,t)=>e[t]),fr[r])}catch(t){i=e.split(".").reduce(((e,t)=>e[t]),fr.en)}return void 0===i&&(i=e.split(".").reduce(((e,t)=>e[t]),fr.en)),i}(e,this.getLocale())}mergeForecasts(e,t){var i,r;const s=(this.isLegacyWeather()?null!==(i=this.getWeather().attributes.forecast)&&void 0!==i?i:[]:null!==(r=this.forecasts)&&void 0!==r?r:[]).reduce(((e,i)=>{const r=new Date(i.datetime),s=t?`${r.getMonth()}-${r.getDate()}-${+r.getHours()}`:r.getDate();return e[s]=e[s]||[],e[s].push(i),e}),{});return Object.values(s).reduce(((e,t)=>{if(0===t.length)return e;const i=this.calculateAverageForecast(t);return e.push(i),e}),[]).sort(((e,t)=>e.datetime.toMillis()-t.datetime.toMillis())).slice(0,e)}toZonedDate(e){var t,i,r;const s=e.setLocale(this.getLocale());if(this.config.use_browser_time)return s;const a=null!==(t=this.config.time_zone)&&void 0!==t?t:null===(r=null===(i=this.hass)||void 0===i?void 0:i.config)||void 0===r?void 0:r.time_zone,n=s.setZone(a);return n.isValid?n:(console.error(`clock-weather-card - Time Zone [${a}] not supported. Falling back to browser time.`),s)}calculateAverageForecast(e){const t=e.map((e=>{var t,i,r;return null!==(r=null!==(i=null!==(t=e.templow)&&void 0!==t?t:e.temperature)&&void 0!==i?i:this.getCurrentTemperature())&&void 0!==r?r:0})),i=yr(t),r=e.map((e=>{var t,i;return null!==(i=null!==(t=e.temperature)&&void 0!==t?t:this.getCurrentTemperature())&&void 0!==i?i:0})),s=pr(r),a=e.map((e=>{var t;return null!==(t=e.precipitation_probability)&&void 0!==t?t:0})),n=pr(a),o=e.map((e=>{var t;return null!==(t=e.precipitation)&&void 0!==t?t:0})),l=pr(o),c=e.map((e=>e.condition)),d=function(e){var t,i,r;const s=new Map;let a=e[0],n=1;for(let o=0;on&&(a=l,n=null!==(r=s.get(l))&&void 0!==r?r:0)}}return a}(c);return{temperature:s,templow:i,datetime:this.parseDateTime(e[0].datetime),condition:d,precipitation_probability:n,precipitation:l}}subscribeForecastEvents(){return t(this,void 0,void 0,(function*(){if(this.forecastSubscriberLock)return;if(this.forecastSubscriberLock=!0,yield this.unsubscribeForecastEvents(),this.isLegacyWeather())return this.forecastSubscriber=()=>t(this,void 0,void 0,(function*(){})),void(this.forecastSubscriberLock=!1);if(!this.isConnected||!this.config||!this.hass)return void(this.forecastSubscriberLock=!1);const e=this.determineForecastType();if("hourly_not_supported"===e)throw this.forecastSubscriber=()=>t(this,void 0,void 0,(function*(){})),this.forecastSubscriberLock=!1,this.createError(`Weather entity [${this.config.entity}] does not support hourly forecast.`);try{const t=e=>{this.forecasts=e.forecast},i={resubscribe:!1},r={type:"weather/subscribe_forecast",forecast_type:e,entity_id:this.config.entity};this.forecastSubscriber=yield this.hass.connection.subscribeMessage(t,r,i)}catch(e){console.error("clock-weather-card - Error when subscribing to weather forecast",e)}finally{this.forecastSubscriberLock=!1}}))}unsubscribeForecastEvents(){return t(this,void 0,void 0,(function*(){if(this.forecastSubscriber)try{yield this.forecastSubscriber()}catch(e){}finally{this.forecastSubscriber=void 0}}))}isLegacyWeather(){return!this.supportsFeature(1)&&!this.supportsFeature(2)}supportsFeature(e){try{return!!(this.getWeather().attributes.supported_features&e)}catch(e){return!1}}createError(e){const t=new Error(e),i=document.createElement("hui-error-card");return i.setConfig({type:"error",error:t,origConfig:this.config}),this.error=D`${i}`,t}determineForecastType(){const e=this.supportsFeature(1),t=this.supportsFeature(2),i=this.config.hourly_forecast;return e&&t?i?"hourly":"daily":i&&t?"hourly":!i&&e?"daily":i&&!t?"hourly_not_supported":(console.warn(`clock-weather-card - Weather entity [${this.config.entity}] does not support daily forecast. Falling back to hourly forecast.`),"hourly")}parseDateTime(e){const t=Ho.fromISO(e);return t.isValid?t:Ho.fromJSDate(new Date(e))}};e([le({attribute:!1})],Ro.prototype,"hass",void 0),e([ce()],Ro.prototype,"config",void 0),e([ce()],Ro.prototype,"currentDate",void 0),e([ce()],Ro.prototype,"forecasts",void 0),e([ce()],Ro.prototype,"error",void 0),Ro=e([(e=>t=>"function"==typeof t?((e,t)=>(customElements.define(e,t),t))(e,t):((e,t)=>{const{kind:i,elements:r}=t;return{kind:i,elements:r,finisher(t){customElements.define(e,t)}}})(e,t))("clock-weather-card")],Ro);export{Ro as ClockWeatherCard}; diff --git a/config/www/community/clock-weather-card/clock-weather-card.js.gz b/config/www/community/clock-weather-card/clock-weather-card.js.gz new file mode 100644 index 0000000000000000000000000000000000000000..8fde11382967b5a02d83e6a62934e280004f1fd2 GIT binary patch literal 54373 zcmV)7K*zryiwFo)q@!j6|6^=#V{0vUWnpw^WpXWJVRB?HYI6YWy;+yr#GR!g!iMMnn7Y7%M?paHO3J#Z~MaS|t=&&hSJ6UT8TCC>41 zPOjxKlBYbhbslBu$#(MMtaX#S9Q*u-Z||zYM1pK~t6PJO#A*VC!mg^lckQWm6=u6e z-O)@#AW0%Rq9$6Y<$2W-Y*DSMR!balO2ty+^-^+@d; zsXLh_agHn)M=i5MEN5{avFn!BaZD=-AX61X{ioL8P)zGufG#Sw}~(djbX>lD&gHtOB3eqYIed*r&CG0N=}<+Qg_{z zG^$A)g`G4~6?HdWAQ-rz7pc_BijkVIh|{$U0iNG=mvPr!e3T6`s~N-{C4WyedT##( z$44TEV338Rwz87cs_tIOuF@xfaTP(_qLHFsb$AnT-K9T#vtbbS}N76t4_Uz zPgMBR^V>3mwVjq_E{v?MV;LgInIM^lX%HAV$;_*Im!v95r^>HIN6-x0QH?s1K|^Ab z1wjk+8NiUFlj@~XDQK1$NkcSKJw2JUs#Zqrbo50;!ph3&Gf;t!B88QE5mcV(b~+ZZ zZPM6pS*CT@U3~=;-`Mr7Z+%1fmhdmSRwsr{@OrP=S+ulf%Ms+PR2J?v&8AL-Lx=X_ z!S*(Xy#j2NfZvWo8Z*wK4yA-Rc0x0ReP*3b zp-jgz9TSHQRV~ud)jGlF0Lg#DuO!;lnZdyA+wydaat5)q4&jdWYRQC>wzE9=?IUT-vZQ=sFNYf=3RY*%KNNh*VV+JHU!5(SI2p zFbsekpoj}$IF;eJpIJ2O$zbnOBEVELHUboJ9`X50dX72cSensHdUHDXUa!Z8V}dv& z)!n3me}Z!;)PYIp_HK#|rfG0aEP*#^Y^pX@sxhh>T>yrakf} z5}AZ{cP0`X5uy!J2B#=Y)(Tm35*0T(i6&5<=o|rccPcfi^$hS4FiGP$bk7#M)y8Ba zL)sl@afa%J3iPxEwJf66aTe{@2~LuuroK3<={iaQ({jXib=fhe92je@%jA7(*N+yQ%K%S4pr3hr8_>U{2%BLc4fTVa3qo=-#4q*Q&Ii9o4c4 z_R*8?3}(;mwAO=OS7}$PyPa)pDmcI)D=P#imDs5+tL}&@AQF&uDvY&7px`{HH0Wtt zw3wc)Y?H*6YVU2SMw2uuvpsRKngI2u>e>=%B&Z;&F+n5%j}oI{3kQx*AL6tO2`3<1 z7gQz)GcKI=YjkdcKw~AEeWKF(Pq|cV$G9= z$00Thv9Aq2D+s`t2+9q@d7T*%8i99AYrhIKO;Y;EU1B?olL4*` zaCM5LT!ulkr-epxOY)~JJLbx$wsao%~04^0(NZ21>%#^GZ6Y{vY1LSnA;@Q z`^7V0Hh4VjTlq&_6dqxKQmDR3kXbxh0O4Img_)GeWT4>8FlKV)0l*q~=8KK_u-NDu zM55!plJIzpTOIx*;D78)q~mf}Z4*SWIIIF=PONgKUwJzzW*3B~n(5R{#Y498a1F`@W2gybmX->OUXeY19YHT1B5C44b3w|+YGWrW>#07q_iuGrVz+{ zP%5cZU?>EKqNSV+Sbi;S)=8SwtDr8HPuaWfa+t88Pd)kO_LIsisx;m90}^J!Wi+&{ zCmGDjfJLKCYLzH6C*zoh%mrfYRk7z4_Ii(L0V?dtgv%^v>8QEel|<`_Vc)s{>;*8IuJjAfVQ~7GK2LJ?3TQh}CMzqxK?>^Em+)vCvS|Z21!c9@G#ty+ z^?^RHk{QKqbDl)>dcp-3>~a7MSRtTpI%t7;_g z1JgqvnUk0t7?l4q7wzs$^2P)%MP|^kgxS;vNtqn&X@EzN@qMsVs^a)Ka{^XI!*x;F z*tz|NJ_fv-NP#P=WpvFsY(gWxqP6e3%R+qmMsmWy8VT?{L@VQfNr-F$kf68Rj{yrs z?Q{UQds~{`0L6(IPjQMwk$Z+qK&MxCd2=tYVoj~jd4%y3S^_0+^a4L4*e|Yco-8pQ)TQ7OB2Dg8#&?ESR%TO4ZtDZNCX=51fR(7}?U(pYQix^4WFoA3R{kCmU&NK+>0HCuT_;VPSRqaKC+H2=rtvld~XD2WWp)RPJBY05!Fa)=+ zU|eV}(+EY-?zZbK(&%zohHh~{=4``pGr%Oe@4f!lL!J+i2!vYOeb(!{=duxIMJ8pqaNr%zNeh~; z`=y&J+Zo(7r8*l^*X=~gvo}HK__Sy7WG5J#f#)LW`RqNlA71YTMufVI7O%^6T<-uI zV~)_L`^rjkAmo&FBO#UtH%Y?C!Gaze_wo=oVlcQxlKBagnmI2$>|xYwLQ}r1LOfg7EJdO}=g4=_?oS1Nk04=tXrCbmPp?FsRC^%1<-zMPy^omR$Dp`ms%wKI`OWo+ug zl~cX#kBHON#AIUUadD>l$lcqQr+d2}5zl(=gm}1`1nxP@djdSm+zRk0j#P0ag9pS{ zR@{Z*ZJzNFToU$6#i?p2z#(q0CQb|AcD`+Vd-mJbnS^+%y6f)bWF@&RonHC&uG9aj zrkAGDr_Q8SlHcAnd79sy{@2~#w$FTv6>d+Zb~VMl)m`cIZn)S}-Gx6Vs>euk|M^bx zk=-lXm$&y2=IMX^_P6cCj@{K=XLhENSo*Ch{RWk+fy zm0H=JdPGb#Vbu3lckKY+C#$;>@Uy?V>tEqj7HwRizSaslO)6k(#nBv{q_*$U#C<6D zcf-ufWHJ~VPA;ECA|a)>SBS_0BzDCS>Ef+j(Lk~#!4f#f*AH%p5mbCYu!pQFLwuQ=TPIO?v2crhqHFF>>~ zV1`N>(;Q@~A`*Ao^Ud7}T$(bfr)WfsX>qWB?$#!pojd(#76BPZUpGZvtXBbG1FGRG z6OFqy-V8=qGP-Iz2QkV~ZHQo^X2^L`ca=KM{nSLNQ4LgswyV`slL=s9FvhF;Y3a%e<*wa{ z)MP?HicY9Is|>N)&Y4PmcQreiw0HnB1uh*EYFV+K+IfDbdkZ(mcXm@14SteoWRkk~ zmZ$Jim987xJ&pXY?o4957lhi~lhFRoq|02pTQ@&}1EZd)9;I_)!d(O)di6kG*hj~eq(hl{*RtUD zFett%uZlhr#&bkEq`vTa;4vCvRN>Po&xFH0Vzdi+_$LX%3`{Y6j1AbS9-TU_-n6QR zXx<1u10UtCyG%Z&yNwAdUNCZOWej+X7@|cMN|)eroZr9G!AQM>;ce>Td6ikrKb4{@ zVz`V++2?$UMl5}PIv$9o*H5cEcb;J@ACw=QK-OhvtBH40T3TK^o7=w91<`F}qllka&?u7A81YUL6 ztGymW3G}EGW--cPV7{tQJe`UJiXicAp6UVvqfDKaShSeE?nS(hi)5#i0_h)uRrF!O z^XhRANj-b#&R%#y*PXDTWtOx3L0ngn`l?fdJ{ZJ8by+2%7RV5LkcZ_+AO}!1M3Yho z27WH(dK*;o=ze;RHR*a`7%V=!eXkjGziik2vQJxQD)hOZGXh>k%6HGG*xRRBgxbQ} z-EcUAuDkX0V7Mj)?bidV8ESQ)Hn?O*f*n#~sABcJNXR}==7EJSH!X*wpD;!Sww$Shz1Y9{bvBjJ z+L$9myRM1bz#<4MEt~SF8d4=-hh#x3X2BA(z`$V>)TaScE@&s{Y@RZ$>rBYB2xsV| zL%HHuQWaGSct)$~m_UQ00T^D zJzazS-?`H~(=+_YYk=Qb=K)&(@Ihd@3(;Y0ofYlgJW|j#dHdJ4-7chjHRpva@x~q1 zWD>c1>L5?d5NR44f96UvIaP5h;j$Z60^!EE``BPoqbH4+^@E72${tb-@)=xtMZe_&|&JY@R6rFIW(`WKPC~s;y6w33t zA0Z7{^4;4RoVtPZN*s1z=7y6kvBd!&3X?05Z<7Oa(9?f3-O>qw#ULL`@>H!M@?(lt z00kTUcu$Y>3F}&FnSlIbJdccXB#8?H(5r*s1h9UAQJtVz^5X3Wp!Wy;P~$N_!3_B# zRUv+mYw7?v32=MPt&XXYfm9XW;AYD>&A#U@D%jKQ_!K?!DeBw~E}#tH@-%n3HHTO# z@HX&0j*vn-j?lbb_2&9BeELWV^VM<_< z+J^%S|2^cb<*8(FaQ;ouUO0w%K>fnv0M()(f(K9{7p^!V+Msp z#6c!KIHSEmn0sZ-JBvz@9^X$)1$qvWnOMMEZ}O|7stwM91uwp&J_jRpct zLGKbA&;Spz7@_9*I;jlifG26j8f9tDL7czA%B}=@OqC3GJd=@$k*-_1whbFnNX+mE zWhU?*aLaO=XVip(Hw;iGCAxaI2YJjg{=7+?HRV8er2RL8IreMwj{?L4# zFz&W}*BK2u({0r{t?e{mKI4`ovr08x()8OsZGa2}&nHQ{g$|k->=u2DuN?%fdys0* zgQ)d)x<MEUsJ6p%yzwHwsaJA!-c75L}MpWOeI> z@+G`VJaCE$R?r!j&F}Lv&>xP>JI`b?-d;A|bISV)>t(Rr(_T|&s;u{}2Ji8}@&i$^ z3D%GMH`tFH#}?y_K7NOAig{T|g|bZu$j*KIZ%FH6}$-hY~Lz5Kk*`fIVO~91xEMR%V<2TTv^r&BS(9~Da@v>NG zGZ7h-{hluI*fZ3Air+HNC6q9WR%z&IRSPU4q(m){zYsD~**nS9#E^83PzQnze6>F# zIwi8k2vIaTI)9tAggd&r(J{3yEH zggt%}xMW9n!v*124c9skyO4*`Jca+<-Gi(>loiW8FJNTwkPYs4_HuUp!OO43d z<(xG5d@$Wc2y{dvOc(gCipz(*cPlpOxelB<1b(!LQ~|b1 zlKrrJacK@$m#(}s$>+J)3Swy{!=S+iR}e%x-|zugBwl0~YaD$5AGl7MdMjf4or6>m#7 z-GWRJoiG=Sgy=T{Gfp&N)W}Kq!z&D)7TD96T8^?CGJz`Gu{cfNJyQ)m^W8*n62~2i zXfo_E0qBI1We2xArM5D;%RkN_kln`jO$MwS(@p)Y7;N|M*7e9=KdT42g#ANy!4w^p z?zaU=x>hG-X``J$LDwK+mxwKYGeCpz9I*^8_RZ*~I}w9|r2&(_K?0jK(Rgkeq`~Xj zV(8$9jIJ8ZuG%EkgnN|`K|(HqA>78@ocN0+b+g@8&o)S1YpZ%S5xT|a{PHY)P)&qx zDZ~y;5%+1}2A>%wOlRC~LK3}X7j1_wsV-wq=f?V~w$FB;K$7vsS%6V5o}D$jRy85# zpoJE;&|)pn9q(;YJ)NlQrcGdCCv>wuM=#9T*~A%fmQ?*-c!z;ht(6s++M1`qmwOeB z0%O^T%;)^W#=PWOuP{pU%X+HPS=1YC8ne?d5I83J;z zd!FrP14$fJ)2kX%M+1~Q^%m^ZZ-I3OeSu+8OW*fBxz}#!o6+hNL{~l8z+RUWDO-Dl>Wo)xe!pD@j+xasv zOIWZHFESd88pEI+l1wb9mcbI=IM`%g1DKPrvXYpxh_GmO1-r{H7E}XlP*X_kv@&c^ zI}?+MR4T=f2XIT-DFK1;R+3r zb<(}4ghBLz2MQz%bzW=Y;(x`;@N4MNS)gnSnhH_L%?hrvg*}aKC(tHAPk@kL^iIt{ zSw_tQF_FOJC-*sO^ZtiofJ0!8(6-Zcwu1u3#6e=lVlSB$2YMJ9N!QYG5b(o$&jlN% zV!sZNuQUrzwk|EJG*bOTS4ykU=6N}fvp`YaiOc?Py z{z8Mys$Jb-m9fKT!CV>OgY-5PT+~1avml0Go+VOT zKzcQK1`!}xl)>W*4S+^SZOk_Gs-MLbD%^|+UNLd{dKc^*Om~uQnC&z{d6%fLX$T#z zcY(h_N8n)rexhqFsOW=RikMEK>xFFg^T=D13=N-HZs4Tp21aUCt>>7>nzg=TXCASd zwd8jGR!R(Cr) z=_U%qvVX9=Y|=6BDg!IQoESL-~I;%4kXdhbcJs|AeDkp>FS9ROs9;Ni6m*aqYZ zYX1X^HeLZ?OLivM$wWK6lZkd9B!npd_R~6DVATb-xF`y>E-nwu5uvVviIMW?hcL>u4~9?X8Nwx{es*5fnHL}Fs*{1H5wyFI7TQ(YR#FdAvFcI8EE& zBm%nxSa_iYxJ*+#S73%A@Ec^Mak^hK9T2?3yFbVXn20i}35;}supeNyHBsxnm_|X? z_j1$HIH~X|?Pgo18E*hyKo}>}c$)^zK(U(=WWcQ;XC(YlyC9O-^%_{E4K&qGMaX*8 zpCGYn{QiG(h}t>TH-b0%K`+Fi{3XH40bW z6u2xJn|u~HI+!9l5j~q+?q*~6r86IU&9oXoUQ2CgUF@N%*OLQPg-*SfX$^40 z*X(Z^ql--{m3Y@tOatk7|E#c#j2M9lghBfrs4eGtuRWOVz;rrcIu_Xe79v$Qt<>6m zTw3VPaNMnzt5}~{ z4Jy9U02(JmD#Rod4l;(2=9NJ|cvVw_yrF9bfd-q{5gJu687Psz?mkG3;BG)1U~M$5 zwivYoY|7Cbm>I?VASPWIv5^+Ubx#{{JRu;C%R~LvQ&8rqH5=55L%e~hk7}-9R2#Up zI5=PXreBAfl8neTIUQp;nl@E-3wFJ!M1&R6#`bT#mg+#LBZysmfXL#h|J z4%OjHH`Ft7Gdku-H316A?ABX!9%AI51sGOVcvQl)GGN>u$0|on&2a49*-_6pD$bMj z9*x*C^~Q0nO{)1UUo&qJ-9P-$(mEZT3_Y@^y--iHDv9XDH-4rWi}40d855U1HcPl{ zmJr$WpCgkAV8_n+L?w~OACWWZ-~$I(*~TLnDhYatwooz+qF)s7Zz>^n5JAMEaYehr z{AF>8ZXB#6%H=YK1KG(*frEkqLr(?qkl_L!m)1@vDE(LrG$AJ1CUB+Mb==Et2d-!p z6i;sHLW|Ja?yp_PbFC6*!siWm=pM-XAYw8}9c&#WF47HJWZiY(#_}@P%+8ddv52Be zXiCnO2i>q8 zEgD}|xLaOXVaKpEYC5gVJ2)9tI2zskm3g;^bk zOp-NT_gW3^jH%mLgpyxh zd+pl0*DhZF0V|(1n^5@6>p!~o1{QV{_&y@V?ivPr=Uo8zKJ){}@c~+;2JP`r zuDx~rJG2)#yzk(n1bvnUifMF}4d1>5qoCb<{rZog{*SIdmJrGLI-#q^D$?WU*Zu@_ zc=!6hLmQVUzTTzX?uloC>=GUB`w3CTHW3X9?J$7JA>Obgk9F{(K%0CmAr|4{SAdhA zco<-SqgF{wJ#Y|Mpxf3O=)Ge90lk1H550+5FhcFLuFVnb`tO0i-n#xnpaotC$SQP{ zJ@E*DKvwN=x?zcZKkX_paze z1(CXakm>K&sd{p`<_I1jJhw<3&g{om|A09bjL#3KO+CchhZc=U?uBwev`EvKC+Dnw z#@t8rdCjIV3f_{(g~z;CIOAc#Y*%kM9>>j~d(p>iGhjn`>@{QR;P`q>wMSq54;yEH z1TW1vtN&rm3G*7N+z>7LimKqT*=mR}j$=Rs3H4(wbc?;B0bK@19$I!}gfuFzF6334O)D2b@u+ zZ19SSP62afISK7iI0LMLPcYu&^fAhQys6V0AlXUAFZ=Wi<(GX*lwbDQ8OkpEni+U`{}67$D+fC{f>-thc;#NkD}}79)9sKND=BL9SeI zK7792&m|u|wR!<8)ery8`0#mQ$#2bEZAOFCDY4Ip+N81;HU5-Gn*U6YmMI%|XUC zOPutFfNhQrl6wx+g-`7oSy+8rpK}GnVNyfK#8Va|tS#;(3!3Ag6&yir|6!QM4$*+k z{f0c+qT4Y?ECEymF@g#M?_9#xTLuB1*7ZT^(nl7r&IoIph7nL5_=C3tWObWUl>U&rJ2={-+T9oEje*;CYe)NN@?_T|rOZuxX0=Rdt{@2yFuU-yu0Jihd z6Y%iz)iQAqJfCz&wyajJuzWNRwLQi~{@!{2Hp!|E37q7kmm0qR%c=ZLWO?mR_ZxJ%(OSlAH zpuBnY_W<;D%AZ$%0i$>vAl^5GM`1i~0Ays7R}t|e6xIU)9zDi*^kL4U_W_UIKggqd z@y=(>z4Vte;XP*47du*5>Kt!jD8Rz3#=C#V>by~pqmHr*U;I#z zzFvW!2y2y~(d#M`{PB1KCCXx?rD~Z*lP+OI86b{pfIQ^N9B#0738nIbXlmvtF1Xy$ zxZrV^073T=yF<>YjezxVxLea{0aGU$ zfm@fb_gboqh{vIqs&ZRZ-kji1jB9IqwYRU@6Ky@R;owfLs(+krf+I$ zWPZ>inL=BWJ@MTVLZQ1R1FqMa5v0DSi^ryeQ^KByZ3bpCSPrG~p)RBHv}$qPLMWB* zL#pR#6P(I5W@eggc-eM_nwg}bj&@1Z0FgC^5*a`0hD5f3$c7W)O6cf6dI;CR_d^ek z68J=;>r(fa+9Dy+u0DZHMiCRA*koR74cLPxRSa===YB)#EO zJOpSMAmX9bw=Ku^D0p=B1==M}z~kMnPKPo;LGMY3cB@aUzF@VxHlPwPX)+S-XVa9D z?|w?W!<2N#m_JF$b`+}XLx^T*nmvc(96_{tfM^CIn#qZ#1JN3hM4Kb4FRZ@MM>yNT zB1*cMZo8}c#3OUvu4SGJJAo(W&<>5Bk@T7OQs1oXn!48U8}w*+($w1OoQi(sJh3%f zZGf$%`VI>lRz2LvXXR1H?AgS3%2K++5OAge+Iw7hbHMO}p(glXq z8Hk?Pb$C#L#}pXx36Cf+bDzf(xLw$Vw^~Cu08vcV;DC030~(A2x|{=AzyY%nvU&C8 zrrKP6IVhUJp6{M_Ljd5)Y2Z3r4PQL3zM_Yx@DU4MiB`Gnk${I@>0K04gX&fTjL`@# z2xi{2Kbi3*p@!e$F>qPi4+9`9F9@JD2PHEt#mvYCdzBM?zk$I37!r;-5DlR1t}hyZ zHwJbdFy9#>snO3tNllnOK8a2UmDFt}sWp_;i^C-~USUs15WN;4`Ya=QhZB7fh~69| z`o~Xy{LIJCeH@7VeEjQ=fA{fEKmP5!2K;kmg(g$;UR5Ep^%=2+uz}Bj=uV9_i3J1<~Id;^E3{%NZESPy)K-x`*hkD^J^;ckW+( zyRrJV?Xu2&AYzDp<>?UfoWvP;p$-3{<;E#(UUk%gAi)8mFA`&J^<|uvZlfMo@NO)D zoNiFSoFn$zv>s=N1M0lG#M%ur13s{^r=qa>hGE*Q)0{O9s~s@OT)voDB07l*AMUrH zDZyS^eOd31G;8y#FFW+Lo_L(`!~x0<_p?CI64MNOZKfHRoLFLUpp)><^bi_%RxenH zD@WCFzsm?h&jbj4o)P*uC-gKB`s^T~_YzBO`E=d`w+k2}XS#t{b7~Fqbht;>J*OH1 zq9qvkQyZ!lNn%#L#-4}COq&&IZfhQa?h zGS{ayeEG-_^4^c@n>DqA0}a#mICRcd1)I=sV*rS$0DaFg`X1)=Jp%OIK1kmKL|eUR z&#k^6TpF5z`*Z5*MNa0`Uz>C4(3PS6I%Y4b(XqbOUt3^44$NY=0RjKD^e*++TpG8v zIZel`S0m(ayZ4^QeQx!QIkP=z?5+M#_bt5DH*{Nmd=Hg=)UN9W-0r7+UNzM0A05; zx}M^6-3xR*5oOq0#0dG@^QKO{SvP)L(?Sk+gZeRj3p=I-oIP|ohd#wG&x03cHk(?M z)4ddMy4@c5i-0B=_jS#;>Rd3MT{jy$)k4Jm^5;)}`P?PI@Hs}>FQ0#glJ)MNj=bn$YKZZ+-FOC;I99T{gb2Z7Xw21$LdMjBSYcP!qywkTUHMN#I~VPz`;P^?3xbC@G*S{K`BcZ&3{CCM zefV5};)k>=|LFv@@*#ZL4v1=vG}S?K>&kC+wbQV)TEHV$yZVRE;+Wit{Nc0b*dQYW zw$`z_wlEJ>5PFE>Q(Z(>PrQc_{HR6gJ!MdGA7>N!e!k+yrty{E@(3vgZH^9^#SQDj zXPfO0pB*W!4+Lm?h|%^QPTQkE+XtNuq-M-*C^bVAFg0TxX&FaXFWKysKw3s{_4HC? zN=7IrBM|sB8nazpkJh#%Iv-;Oqw=`4<=jw0#xZADLdG0T$QZrI{&0YT4>Afq$|-mZ zD0p9#9i=yj6*QC=On!vDQT@0q$knX~us#P8Qj1zyzDSRrtbc*X3#EM)zWu)v|HPxIY6W`Fab2!l+ z2!+V_(&>X{aOw0UTRJ_(LS(0K>Gb{~)IDj^akYrn7+f`-H{sUXze6p$hXQoIkJ0%7 zPUri9&O{rabH{9&4MPcv=%qrmn^(T$8CSStD@5$tmG3OtbLs*frVvHz zTGv_{Fs15CA3k^G`MPE<5MfEB%`Fjw#?xFfcXhJhhe#X5UaBvd3;z0r*-;yd!jG3P17;V zE6;!UgMOAc(x@+W7gU{g!qR+JAR1)_M`Ns@X+6;%WQDz}FQc9WJ6Hr4tc?aPLFqJP zi3|Bpv&>P8T*p++jE;uvZGrV{n_z6W1&h^M*ZLNSOYjG%JTtymF9fY`LmO^= zt28rkxX?EP9AGmJP&o$}zyW&90XK&O>Nmsz4Q)gyeJvK~23SC6EKuhx&;S-_X%T+5 zfpH_32nP)Vykb}F?*&i+CmWNDjId39PgideD_RfS)3uzg0S&}4 z6i>94pY{I%&BA}nMO7&49|tfr+yDAg*WRa4p{riqaK``BxC!F=k8#~gyO9k4pIpZT zr{)m8g7!lh{)mmKe1Guv=b879>Wb#u)_B5g1KvKbjmo&igyOYR zZjT3eVxIBD9OsGiz!THjS{c?yJjyU9k~Dp0IF2I@@d3s~TTZkp;m?F6OmY6;9BD^{ z1PoJ%V1+~4IbV0}NmehIZc9NiZm2^po5&=Obx8jpH(ec|sF}Lli%_1RaN7 z&Re8S7qh|?rV#<8utj)6HR16c{2ie1*`X8$E;k~wszdYraDcYcjJ7kJwr7F1M7=%(jS4c?#qMSB3nZZARlt@B)sY`eCx z4PznZIu&59BaFGGICE_W=Gr^RTqjAx8X-8;W+=Hb9FDlxYU}6Jd1{$PFwp(ll?$rS zT@spZy>5i?(ApX{7$rfD>gT$)I_EJ61sIed&B2gj*G9oYb3FazSriN*8KOpQ#JEqL zL+POoN{{XmaSV(e?HQsPh6;{uP;i_WLgJHS366UMwB5^SyNA>E1km=R79ATF1w(ZL z5#ni6hv%-Ju}`CiD-Vkz`eI{Ig3>es=lE&n{i~?DBU%yY!0B1Xy(Gt50!SU8E)0_ef4#>yQ< z%{OTa7u`pF3>yL*LT@CxI5$(8JwyL{l6K@7kF)u}@bwFUrvq%xYapQCQ~ZqB39!WY z9Kf;gDWH_aPl04CeoATg0t=yjcIhP+Lj_#27%C;f>lj2mG=$?RwO*tofL{OTvrB)X zRD5ovq`N0D0S>YWu*4_8A(#M12PeSP>Wd$~HWye!>FQla@49)&nzy*Q&&1N84qJVD zuDSZ2wfdg!z`xb^qBoxP*AgC9Km1L*Yw6vH(8}tIs{Y|?g4YS(JA#)~BcRa&P&jMd zuUhbKgkICT!u_b4IH%mZ`W`5{-(ZdfXOLs7?=3amxBIyQs;|C?{pPj$*kXG1y*biu z6J&}5T*oarEE7p(nMkWYu&(@u^2AYk0SvL1CnN2}1b9qBU&57<2ZykNK}KhoJsP0; zQAYIxoazq()sKx8Y54<&RKWULE6#HLXV>0~jY#%afn_%mp3#J{JBpD$VATSN{6cC$9^^Iw6+&N)0G?npxR=d}=DkmWOn)8CZ;ln%$;SBYAWP{)nD=b`?cHB# z0^OtMa~&^jul~;6ra1H87ytW$(S)MQF4Il__eE9s@M+xM9pJist8YTJ+UoDkNS327 z(K`K%H4TjkM(c0yTn?}gt$yfl?>_I_=2+x0%JJ^v-`@H2pkYqm^B%eh&wqR8Rl{HC zzgJs*BT6ShvC#h8I~R;rf4(zx?$x?*xY^SF_U;eRBDXBc498_=k1H%0C&#SuJSF<^ z0wwqHA|>?R!?=xY2!TI*`fu+(C;aW5mq%+PH9%y|VmsL^zLO1zYzz|l?=SrF^Jm}u z$8&G~hDj#^nWisM#+Vj?>t3GMoWK4$p)8yfBtz&I$GfwN{g_W3RdN z!%I#-TFU4LmoEKi1x7zC<@AF~M!(iD`u+K*YtgSApkIU0ugmGzvfR&s&O)VHvob}* zx?NfO43j1Q43m4jgDgbKoItgDrCxIeja0_%xh9a31pEIF7r+TJ-l`Bb;$?WjP)k)!W1?`rCUEjxz=v(}z>{_LYkM zj#Gd$tBnDt>%(b#yAwr!-y*`X#(>lD;nchhZ=$~y4&b!Lq5FalXU^OAB>Fp|5Keat zILCcBGv2lu(cf?baJ0r4a1Q%$ro8PNqQ9{N;fzD~Q$CzM-gW{1OehLx9J=4@!`biU zql4DT$AELrhqL4*JBxlAG{Div>CZhroC98Bt>~xR0vw|@2AoHII1hX2ouZ%k ziEzf5?+^HJ9`e!$ML)5yhhL2x1CFD4a4awPO!TwT5ROwDXJ)8AB-6`b68-EZ3TX^D zbstXGON0^q6d8bHjYIi#ePeK@!PaeT+n6L1+qP}nwr$&aW81bl!Nj(0O<*uBRcAR{$ruP_5wTY36Z;nC@=-=8jCP?*EgnIG`tpIJ6 z(4SJep?AX9ep1n2EJ1XZ6l>H@!>h8^WWy)(U)`o_}P5CA=RUOhZW=$HNkX1^Y zb=IRgDxwuSbT@_a?gj{d1_>T~Tp|4w$ml0t?Z?>BL1KXmY}`ip2%PADL?ZH8E4fuH zL@TeyPnckICYJD(Dl!t?p`sNi()Tc<4t+RDu8=n6qq7-UAi3i5HnIok;qV#dRzuoC z#c5!VFRNwoPA3t7Z`R1QE4h0qsY`@(Ef?J`qsp@<>dIPK6gcG<*WRnOJ=HzR@j$*r znDO0g!(U8O&f`3%m#w(YgbQ_we_s1S^h{74gyGwD!jq<#lC(&!yAh4w@dnMY?9Dg;CeA;ScYdZ^NmKiW!8no6Bz#~2(j z>7-3zYo@07loHkVtqS2-n@W{&NU3 z&V2cT!Xoj=%d-!~%C!)~mxQI|HdENVOzo zon}UtLn_jVUE3RB2GBVNYJSWQ1UXQySMOUl{gLi5y@^ziiV72oso&%@_Q=6qcEXfd z6!N7$T2%9}xxX9YU{x+UQmz7!nz{*Bo|6mAo+}R|#Bl&l2I$c)9t9!*R0-HI)*td@ z;Eh`xQR z@N=iQ$XZp4T7ZC9!bDWiJ5HZZSPQ@!+2uz=>*)4w)9gga98E@j z{H-L1Ca`%7K{kB1p{*QNCczm0^Q#m}W5$zDa@Eu#t9oR%2wQz}ri@`7%^>M zvR%VC%|uX;Iv*$cBAX0KFP|2_U(7B!Qb=6xr!#qkevM`%isn!rt2;86fy@Hy2Tm^Q zj9a`WO}8eC)}bZ~GC0ao75uViv(#cqtX9#6Wpt^M#0t@B38zB(X;7jDhw&YUohr%{ zk61K72WZ)h0!W#83?4SKa|d9kkrJh(h_g|TrRR+V9^0vtuo4<1Xc{O{!Cagl4>*ya zl+J97M%!6W0%@|P8Hb0^Or*5WDeFE0XD;>`2!*{4W{1o34xd~C{xAzhh%@&->@TFi zkdu;1SsT)>3az1J0tElWS|852t)t|l^X3#11&{p#imm{6arYo1maj|obcl&6fVBJ; zk$-qOyge`ylN_4%=|uDEpG?JdkG*wnS}+5pc0(%DNuws3IvL-GqYZvboS4{2xe&tm zF}WxEOjOVlPp#XTrh+oPt&!pk!Rme{5TOVXWLmb*j$xuuzZGx>ztty!-bXfH|Q1B zyM2P*T{;fawr=2AEa_W#)?GeLF;`3gc@7}pVwE?OxU6*pj@dH7h2!;(Um250#rb1u zAi-W*1?t7k z?`||pWjbsiVGvy7^EZ_w9q^31NJV3HmO8G^jUibJX-b9wU5PZg^mYvx7+}^EG(L2m z(gHghZdy~s-)P)rh%PtWFpl@isyI?7v&Hc~JDq9R!biE*6isKhNSR5QVx1(tY972- zL3R9@cIfXmjTGqggW)4sZA*_2HpNXTx=f~YPJ zg2PS<+!MB(s7?~R?M?KpbU`qwNm~rc^eaTdJ4K;20A(^O<#t_Pr8NSL_$;jPgJM2x zBrvR;r!rS+_x(_+JXi|kOZZ7vu~1q7nTkRPSoRGDD)@G7Gw^c42A1dpqimz#Ni?=X z3r6gmbO$8DBk`3>g6^%(@Rr!?tc(U$itg98OguqXu*~i+x}#LPbsVEK`MaQ?Js^cW z&X$m9_(w#*i~--TAqr(O9aWkR>1eWg{d%p$FTuFL50tJKV3R4$W~1mREupgP?}AM- zbC@%bT1JqSG!N|~xYhcyWu^NDR*&fF0V9Lo^8gEH_)pA=l+F_E7HRO;c-zHix*jLQ zaEA3&t=O8S{|DOkHP3@%tD}E6IJ|Jh?Tx*^sPTKga4cdtu#h21jP@`fN$mOzhF2tB zpS$biHW|;x^xYMi+z@Wx$%m$sAd&TWu|9lIiGNDKk)8Tma0Uq#3*`13qc>2T)#Ckl zkDlGotsRYgeKIy)!#hG{=UEZ|Os9tk87>qb;-t{t2>>aykexKPsU(bZ{ubEO*J9w( z=p2!t+_B0IQP|rzdk9M7Xc1VRrd}HiyqsTGoASEaSPy${kyzXGnCY_T8!EmVzziFu zJSxnmIO4Wb?ZF^y`fA}b<5nYT0D0@APQYDb?t8*19_xF=`q+0j(XgLxMlS(EC1qK;Ui^rb-p~YYMr= z`@{XmQA#R138k!fxT;mZ2tJh9Bn37|C1z$Um$sZt(=bG}d?s|A7My|-Jw)jlsatCt ze>@c-b@wl@sNOnb`Or+fHR?MXwd~$unIV-_2#m7SW4K(pjG*Cr%oby87Uju%v$jA3 zd`}d!ptyNZ8tlMlh~albHf`Xo+P<%}W2Hj1%f3nhx7m(THJWjW$3m)+yo^V#MHYcW zas>YTDsk*TV2hA%k9>g}^A0=U9lFci8j0UzZFsDkP4$B=n;L&ry*d;1ALtamtk%w%@G~9@G+q`M zV&Zm><4TRnUxHct!=arz;4--qeZf;4lrxoY;`HQ#5NsjJsXGWiB>E0Yi)qVHCMDDm zBiLU30Vuu0e;xT~{^vc@sWREG12z&x55FVQyk$|$Z2>i_Yk;-Px zCous36_YRQk$!cSek3DEFw_5RJ34USjUa`Q%oR1%UUTRO_|qYqo1Vhs3ctIAy94m^ zcGUC(1BB+}AvY{@tBY-phewR%DmJDRF-sLNpI43We_bAkrm^=r`}jzT#?!w`?JWtH zNAK(rd&`q-ASi) ze$bE~YJ^*Ub?-~#zsuefF`LR z1x5+{INXW`P+i!Omu;$_hCFuy(*_)_fciqkf%QpwM!>VZ_A1?S1#H0!NHc4k4cv`4 z8+mZd>Ep%n<5A?wKMaijOM008lp<>vB|C3GLV;KFe)2%_oWm~_Za7yo?W&7G{fGmJ zin72qpKNsB#(DQ(U*PUcU*Tj?36!!OH{+s$qw-nr^gv*u3Cst!?Y+>Fl}-rX!UbU` zLw^Aj?hDxLpZo25m=jMdN99`!q8JTo%YEKl^So{BcvX!gAKa7l>aVpAjc|Qml6lrr zflhaFDIiw$h8ezo^0!=lVWi{frx8p2q($`5`s|hpN_Os+3X>4Uz&(*E5cgOEWhk(G zocFZIQ1@c{uH93uKF+2ftIYb`1-tI|7gXqAvts=LVms7mqqd}&s~xhn2D@b(qLN{Z zGg^+|!A{a(Lt=4tjz>X_6;6AtQMpCT2cR?XQ^m})2upzEV z!R27o=^!gs8s%rwSp$*s9odg{TVcQ;>Gf&@%JOYsGLD4yO8tFuQG8%gT5t|cgRr?{ zkm4kAdS~W~B|32ghV8ul7Uv568~IP8k^wAt4;L%^R;m62#f4=vMs((WiVj7vkZ11P&9(rOp*4TpUI`b`xK{%4>>r$D4Ie>=R;*U2cJ=!OuTtQ4XP@;PrFvP_p00 z(EWHW_+|yHph{tQ|HD$vxXr{F%*}20^Hb1o`E=P`7mU0YQ`Yur922oB|I1N31S7aE zHbV9W5JUxHi3OCT@~5z1NJ9%i9TU<5P<2>}OKdu@M1~#pYZ)MJRx9@T)9}q z-@(zq1`nkY*I@CR_ZY9HOjuic&k&)k$I91%@G*>%TNZn$PtKaERNfx z*HZw~q`K&E5zCz&r`4Q!qOYs<%#i<~1cn*>6Cc6F0$L^p!S0$4OJcL9);~N0A!8%( zilmI?QD1)yOt;Q~8-0fxEIgqFo4oXN8kUf12Qq;4dwesYh&>PCvL%N7m;E$^hFs%& zr=;4rE#vfl?3D3bO@m#hq?21TG^V{vZ^K-qe?R1DY=F*edYE4Ywu*tL%Bl#gjT3^1 zu|OE&#$imf)M>%VP0RwMah`kmY}FwTy)2dSI2o}|^X}~f z!~6TCSGaz>?l-Rc+l4RRGp*a3r~A09%bU1okEqN^@>okS`;mjPyJ>O4Nb0AJ<7bm> zG@0Nv_eKhV?z(@gWrf5n+jQ-L&BDfy%AZyDt@<07>B){kjb3X-1OkcQ_LVm2*5hQ)o>w7NMQ*vPBJ@pzf)j?wwmaU9sSVb(MbF;*6_Csqw!!WxbXcC3dUWj^?Y z2w@8SEhMSxtg!OZ79on**bs&B<4^^o>BlEMUTkf4+wqEr9{Owd5$W(Y^oMwkuP1A= zfiYe@HyKCmAjhM7_M2ow-=}@8SyN3H|`T?JaCZ`=?>e zCeLuwZp`*uI)^ck*FUZ_CfF-b?1t}bPO(PDm*AWKl!h|<*u@gBJqQekCH!1A*aG4_ z*E zeCNJ>C;;6*S+}m71~z{sikz$?RxtJd3J#nkWu{(KO-b_9o;o4}3i!7H2ufOm5A7vv z66y{?PL^6Fv?q=Qq2IFJuBFJGK+|{u7!JxVt)klPseop~KPX#PF~FRDZN2e9H7%D= z%pw%E9WB-ZRog_gfhlWg*;Cs}_@pNp*N*;{1E=VP64i@rh}20wRShUYVbM9RzCtyO z=fY4NRRW4L|2?nf@kDd|?P1&(c?r0Q+@JZt!PyoGuW~XtG*$lk=Xgg)Jdk}Sh#BtH z!gPI2vw3G3)lksL879SdV)~I9RXY?%9loeAkse%O;9fn%H>i*p{kYSPO$R_xq`f_$ zzh@%wQKm43QEqo7Jm&e5UO5_gP`Jgy)XA87=z9ciqO7O-8bd5lbjlpmb2w}it;d)v zqTZF{@PNY7S%PKq)lTY%l03O3!us<{T{2*tu6oSc*vB#))xuPwjcXiwy~~eb3cm@K zJAxr@<2Z~lmW2Tc!_NO1#4daZLWvi;>6KhW-l`%SKLl`>vgzB6)2Hg_0Z1;eJ?w0Ff*YiX55RG_*Wxkl*58@EZ)Nrvt3$&%)+!Wz~+rW>-_#3ND{g zssr*?YWBeD3k^9^TwS?M)-Y^o_k%Z1lc7Hv?`N`P>T&CbRR>dHW-Rs(G?tB;n)6Q_ z((lwMWW2bz35joM)@G8)u_ltUcGHq9pdYqPOmz5ZFq!l1&(}7Bv=fv6`pr?422y1? zYsQ5-=9El$Y0+;bUQk9nsB@^#qO$1@Z>=oH@|C#wYu`=*Z7%5u+{MYZ+h;41FgcLe zIE;VL&`R@H@s$%ZooeNE!C98(s#<=l;BjN&a8qTWa_0|xAy><DxJkz;M_kpden(x^ZOng1wUvO;)=zU;8#K|@=VsjQ zTU?vV9)KPgGdhn&WWL^Z{|i|@djIDO4?REYCN)a41J$UyIjT?$?uo>>;+ihW`}~RS5WS5*r;HzdfyulZt|wrl<8WxZ9v11;he!KDeq|M-p>58Xs5@ zh{WOgkRe;`cAxy@Dv@ogPrju9gN4(oaO zF37pJAL)7RbRe;>Nyp2lVEu?hzFu74t!x>aQ+#)NU&7fAkl(jH?}p?4baIzgu+ua- zk7-Px@Oo#jBRkFLPE1bJ!V^=^|29pglG3z88*OqKs(>%59ZcSSvbX%5`9+&N*{&@E+s{qYHv+&^}p-C;rZVG zf-7|#tZI$`!R-}cP$^tg?cuX!Q+RYik`7b_$rxmAh8qX`k7~EeFq9|L8^Z5$EtXo> z(Q6=F1RP0vCv4E~Yu?9xn)pGOmJn2i$P|Q-*)PhYr8;x?Z{J&qBX{5lZ1VxR>7=}* zOJ9{7oQ(CCJ$l9<+Q!smgLG`n{<0#T8On(6N8V{{fOjU|wsb!kem@0524?W1%)I=eMmI=s0)%cwaE#Tim1%NMn}-RzYngbCpnK;gjJiZ%h$}M@kr`2c_1L<8(7dk5VHP(E&#=hdAjV)!zA## zzz6&_VDA)sUA~T&m;ob0!LpA!pc1d}bFo3(&b&KJ!4`LkDLnzurLTnCKUDbmq091l@08^UBLZAFyIr!*c%mH$h6r)8U zwIGOqP2==^jye3~2UR+6PW=v=t;o~Lz$!e6-5@|x9w2>ooFoqPm*e9sYI&fn4FK)y zKmfpw^7YTZudksEITrhi#PN|n?)%@6&h|aIQD1@@ZF5fP4jl~f_@4}pefGrt z0K)9Qs4p5zrXpUZnRI2_$2%dp_^<0hK|jBGTNMN_%67E#)eGq9s-G-F{%)%EY7%Nw zJlNBsF|l~4h@Ei0_Jq3CMi9yy(9wT|fcPZ~Ccr3_3iNd-SeY-F-tw(MVw{p=n!Hbd z>oLV@4FVB;sZLa4qu|#X-o`{I=UsMs-T!`NtZ z4I8^iQMv%1@}Q8iG8-*&HZLIo#Zj1b*UMbm@q+~Ez|@Z*0A|R^0hnV&Oz4y> zXHVH7`PpI92#}-Tr)LG3=B|h7P}xiVEq4^&Y|K6}SMa1e!)m@X#jv!{1nh52#lL|) z%oIbRi4!0t+4&~Ukd5R`v;mjQz5hhzqcO#f>uBlUyY8{h4pz4ekZ57J9MgMjKVXjm zC2BN#eTng7k zTt9dRhJ?)&L7B9vM&4AdW&ee9YE${A;W#VKcOzZ)uGkG;IJNj8gEmR5YGiP-QXf}leF7b6o4bY z@I=~P4q(FGtQj}3tWwLO>H~YgDc#IY8B&waW(Bl$(Ep_$Px%$q@R?6f{O{DuJU~AH zpg3Y110>wDPvtnQrN#-4V=~`Q{Bos85pv_pp*D}YYJ{r|q*eWF!fparC2vnbh`xRz{VLKmm zK=uZe67stJ)13+Jw9wE>e8yn13>L|u2Y&sl@MmOO z@Xt*XV3nBquN4(46q7xISJJNfa*`}HfefOa&VYagc2qL;(T$^pgp^^FIk&5W@M|bZ zrT;5pn*x&8^sR)9Yh=z;c;eff2uL>Ga5_0ybX5weaDKM`L~f#LSC)>2?Wqs=55|Wz5o{e*^4Y4doT;6q zSVp$4ktN$DQKf66I6w-bz#$P~O7wyS8_c8w26p#%%^0wV*qwjI4SKVaH{W>tiLGnC z{#EInQa@_M(namAd!D_oT9)+?XT=r;kZ(`V0zK;XysrSx77x!VwMmnz4Hvik$5qW3 z<1eVl9S^*!>{^}UJ)G7TKp!is<+6E!pfuP=%r7~1pK($)O*{)O%2Lu<=)8{2- zPfAVi=4G0^E6C$@+9vfZe%d&Fw6QyBhkHppI!WQu_YRT-bQ42_sXW;ln130>wu1Df zZ1Tx|zhlW9e$fRl`FqJ69w{8e2Slc&+Y^dN>Wd3_@$&+EemWBodGj*@bN-NC{4lKB zeb;bZ4p2Aw;pu)lJ&M}KX#K5J#Z>%)pfV|H^AyI7p)JkOwSA_NO<}ZIrq(VG=#k`C zcrcq6uzv$=P!yF%?!Ywk-A3P}LcEWUX=o{w3x)E@8O|@;LTbF2|6yY$EMKXrdA~f9 z^D}$s;h0!2-}~A*uI^Y%a#lWZR`xe%XN&k9TG(VU@5$BPSMcQK^YEnB23G#G_c;oo`(>|N1|L6gaZbk4lZmQO$~i9X*wGWf z^i-Ech$JT_mRDq2v)>B@l7%Z(`WEA=M!#cWIdGvxh~0f%W%lq+#H3A#BoZcCz*V=a z8OmtNM;i496kF7+NoD8JiO~cHP59UcHC3opb1^H=Owfki{}4!6c4?9mI83VzXXW;! zl?@}BL8K~JZaWV__mfL~OkI0g|9$^e6Nht8u$<8^wkGqAs+MJHlJ`tv7sqnIGJjpo%VDV9>38&Kya&UDABY`>YtJ3To zI_%lm6+jG=U60IMy$N}fT5#@NLHP$M5r2|fN@SPQ*xFh}*3V-G)@t`2gu>Fym5s8s zpoQD$%6InLK9iHTgL>>4vBiCHar8D!<})ER&)^=?mu)Ntu}|+?uclS)Y=E0=>=Coj z4K6C5n!I{4)4_G6;ZJB8aG;!x5omoX*JREo!#8R|(TFi)QehwcicGgvM7=7GzNhA# z@@DlYl3_Js){WLyv(9o*#>@x$C;R3jjHC-)fB#)4vWiN?*kFoyOv|^pT)q-XJl?+q z@8Tzaad~0Sf9XjExb?Laukq)a-5g0A=4G3mz~B4hq@GbWx}wr^pGW7mw;8ppp@{)l z(JY1XFxl2OH>sAK#Q-MBne6ME>!d}~>sQ#ebQ9Cqhrd;{?OQQ^v9r4-5_NC>?tqSM zceQGISx^Ri<$<=G{V0`B!)t3(Piu~QZG`Jp}k)( zGSrDpGKP2ptsLf%4oqje-pWxAVT0)V^tYM6;o4{R=7RR&>djiu@>M(Y1l*9AY|PN_ zsGgO&9^!$}kvZ99LYB`z#5SNI8+FnzCQ*7Kjt^{K!giMMw(Wcq#Nej(> zG@P=!NKYG2DB1V`{k13SL5*KE+x@H#Lkww9Jzz^bfjD+ZLrnDO;jHTG-D>JC=QOY5 ze**_9&IE62t6pE9sah|hMK>;f=KemvJM(~8gz#U3o`Km|tI5!3h<2%I52F{O2n{V# z&jFYgnwt45ETN`v+{J}Tpvr(&iC4Vq_qPox} z6{SV=Yl^1jVKtPade>DVtEsV&=lJz^t7)JhSY4f8f@0`4E}8ebvOsnc{kS-rB@#dHK)~=W zb-fLzsR<5@4C*Uj?_CWZHhb2Q(ctH#{vI1G@l~xqz`CNjEsjNA_CysA{7OpfJ0E_= z$}7cd8Q5Z;$t;$w(T}bElm#hY8}o%{v@I5VBGJbtkv`F1B>H8d2mTQl(-VlsxGW_V zI#tR7eQK`Oe;0&9R5cv>=0w;OTr}!f&NHFlPEk?CKC9<9aahh%)ll<#^|zsSVvM#> z)CaW>gOkCY07*jD%l49!j*Xr%Dw~B{c{v}!hmTF6Jbj+L<=1!qYNa*Fs`9RxVq~Ma z^!1sX^5qs>oV=FhWfvU4bG=#W1m)1yrSP3fSx!X%*%htrQsVkZpf1^k>`>~Yq@Mpd z(?tF`>5s~$(M%+aMenGwPSl5?W@?}-G>p;8m9{g%Rx`p@+h<2sGqU7z>^U2r=lrhg z=ln*rHgSZVxl!%UD?X{X-Cvb1q8^YnAlGnbQmZk!DAX8++x|*K&%@ME>%K ztz>U!N3g=bxRJ1BWmH~kWvz&(xwF20YP%h=yR}o9jTgunSz}b9Os}6`=tK!w9dpUCY zNu_yt$8a{B(_qjzC=9rG(jusjT8?PwONZN_4>N26j|ToaiQ>jpy|xDn7XDt28Dk&u zu(6H&&z~F=z5PwJT(Lc;!3o?>32blakd8O^gf|EAFw*GjeSCn`?$@+fe==Nv!I*Ku zFMxMGsy^;QgBS6R9oJ$zRsV2GB4Q26x1sH9q+riO(#FaaASP`s0IFNKW#r=2Z9<74 zxK)U>SmOy?4iE({f4RC+^6lz;8w$_s1?LAo`N#anYky3tV8{Fp#N(XlHZ=1vPki=V zTRXa7BX`>|1_lw1LS6)<$C^5oYM2isW?41ofdlle5ZnTCv}E^M+}O6uRBt zZ*uiTB8o;>#Zuov+zf#eo5qsS$O%|o-F`(6v6@R;i$8kp{cDqUj!P?#6~9^!YmjGS zxlH=_IL#+R=3}ec28k~6Dp1Z_PC`KUFQ-DZv@*)|YhG=NrL~7(z9qCNrC_GEotJ|< zssZNnaxb&th6w1o=BL^(0YxmmI3s>sF+)lEY~;N3S2>1U@)x3pDDa<^gky?2Y+k|T zFRe~zLrCwAB_|_aN+r$VJ5uTYHhlUKzttB-!7i1A7R(&|{)q4jV~t+RD*}Ak-#vlp zq$OjH6aINZYaxQTcaL={?*|?sv62Ud^s(h<6Ssr$Q{wVN?%PDC>28Kq1P~{^%AL&j zRhG>+LVee>0u$4=tY`@LO;0YxrN`y}1GB8tqO1ekN|P0}ts zd3sHg0SwhOd9%9tGpaH(BafneXN(ig#&NrjT1k$!6G9lvXSr3whznBeoOesgo=%`Y zoKmyc=UGYEvP3m^ModrmHK`Pb%~h$@WSo_T@ik8=pgw~6$#|Kh8xw#{#f zlcM)Lf}2vl;@u&3nEZ4VuuGICX$toWiR9W3n*i<5p|Im2K=_c>qC^fFDkPyHr0Ycr z09ic`<}Rz#9CcocHg;->5dl3=G1f$z6vmQGS(BB z^eyE8ey4fByn|{L*oK=_wZL#S^rj#YFSkNg+KtBGbhkfDadH~zMk;oChOydHqr`%j^`Kx-KU-d%4>rfFg)E)+yhLWQ;Ekp1qWr_ zYiY(Ier$JkgU@6bp_(26*0KZ*&RAZCD%+CjLeSnca!I}0?@$$_KU}R3-f^rtc|EA6 zhrNLF{>OhTUa|gO8oR!&vy?V6jL*lli7dTy{eC;p5-RCr`@zZTeu82ES3f6EJ5E=V zktRqkrYhWT%eo92vrgAt%_g!iXSHyo)9cP=iW9S<<(6A zy4{+?mNQUQ7M|68+tZP96n{aIW)`Mq97lth&e)ydP11p$XsLHZ~o9uP{(E)Rpxy$7CO(eu8F}SC-4teJo(~ z*QmsX>(1`3)KHYS+fGdjFz$P7 z3v-pvZYp+~%xln{ML~#7;37a_I$zfr!YK4{c=A+u(g5kUZGE^JZu%*0Cwp|axrppr zPxr}k;^6Tx?uSN>o^p5~;X`|H;`K2%mlV@CV^>EoDXVrCL64^n#0`XwgQJ7Web+lZ zR`#-2o=Z?2P9mnt=s0YM%s|nPJq)|l>~hKsZ@i2>o2vihWNoxZf+H` zy_N6@c;v1XYk2oSg3LDLxZlm(9=Mu|Jd8iv*(bq7Q-Lc}oJ9{)?}y=^C3@e1V=Qr7 zvLM<>JNcbEPndAv)vrnL^5A(xXq75e#AlSk+Ef=FKgZ9S9qB6juPU%-#GTL=YnZLr zu*e^dxG+o$1cX(nNyub;y^k-P>e*%(SaJ@+ToP*k^Rcc7S(Lv5ep+CAkyZ9xp=D0~ zGb((9xr84Le2E`czbFj{|MK!Piz=(UEUva##{VTbbo^q|Owx0hL2*AK z8@0)RLZd7oH{{yPLSk*D)h4p2fa0lxrVrHWgfK!P!|sKa#YKEK4Ed6nGcXySHN4gf zFWy-3B@%X(z6C|F^Khgc9LWCjHNQCJzsJJmz`0B^bAF+$(qrjJTAx#9- z3*_1sHG?Ynp2o;>4Cc`@8Wk?CXOw*Z1|1$p!wEElLHh`1 zLGka=7w0n0`J{u|cnR$aM(AVNhUl-NT8+H(zA^zzwHOWEo93gaffdx#XiT0CcFe!* z^l|KUhwQ;GK&|-Hcb-=qB(}h}4azxT6D5bKP|LVZxVR|{Qxnda#_+nw85qi)&@D0LYszKI^Ohkggwv6efQYE1;>_)x^<<%U zB-wXs{`e*Z#RK9fWuKckylXcaX{U|$^> zSt<@a0o~fP)CA}fTfC}BVan~F;>`t%i4KW7=DveyzpdsNcb;?Rqar938hSCx5DuQy z-;5*#u;RZ`DgmIopTAJ;IRe;jc+>YmfzuN!0+@79;7ax;LASVSt?=hq?uzx znQ#!>BZnIzSJ>m9g5YFfYt5QEhV^@x;KKP>y5Rs_oGD~G za*G6)s>$pZqg5dE8E7S{>^ByQXbWdnf;xv!dXF6OE`KQcDWF!7hoO3;s4$E(GL6@t zAxY1Vnl$Zu=~O3&2Eo#X{5Zy~EzioJ(KSo_RLcW!VeQE9+t-4nX2??HH%#&7whdNa zQ27e$c|Tb(bKw_Y9N3mOi=<|&HnG8zN%CPtl{l)AXl=E|O=Kpu!eP3U7a^5f@Zuq~ z)@l=i2b{zPTy}8t|3Ia&PW_1+8)+1J`s(L5&s>stYZ#k)h=EQwe8!%4K%I#i3>;+R zsH&4^kO0Z|4XTMKBnv%}^wNV9NZ?yYn4&fn3(a~9#Epl~Hxv>RI_@Q=W&NObm<0ij zAKQmUK;!|@13$xtIdd2!3(0H**OCw|XWSuh9vzouQVOA2!zcCLqx9hyj;!ud8U;oh z(?$3`r?S3?nYG~_FJfw1&Of!h%oDpyRm>Jtdj3AQiaH4e{)6GN0hE+3U8M?PLd01E zG_^Nk`YMX2`|9Wwy2!qV`#aD=J}5)9T)*X;vep zh2b|07AS4cDH_26V#z$beRm-!xSP{B<|@r}BW+6q z){bMQn{r(OlLcW+E1Lo5h9)c%w%sD15V&YUEW0>W**sY&LPlIDwzn3;a3yv^ZeUhxpmF-R}{;Nr3p_0Cny|-i0|byX%qG1dHse%!1-gZmgbJBI!67Y2j+o1 zleGX|-}sTG1@BsMNNq~fp&4DvDVykY7DQTB%@N$9*WNsW+j0qCV#9ID z?HL%9d}YdnW2NOIP3Pl5c)zhwd?HXPq{L=imCT{gqfoh|J9Kv(!ri!ULJC=n+21SK zS$?P)`a{hE{4xPsStr}+;4WcpeGpR48w0tgozo@xoN)!h+%4uw{{)K9D?G(lW=%}g z#qK4ry>+5Y)SB4+=ddk7ix7$gw*F`MWF05B>i~-k!RPUJGv-iEE0~KyfKg7()Wp)` zzqdJ3_p?1sn`#btjm$PrDC7;&@vRb;$`y?x>Kx$pz7}ptK|o5;nu9CTRM>I?tcEe8 z`#USbkXsy?a>9%69RqxQ9D|UYd^682RU?q=H~o+b;r1+Fp-?fYY9k4T89)Ss>sBz1 zoT4hEdy;0Xh*SR%1ddZ1b;68WCBE_}57&O{nKj!H%+7ZL$2_~F?N3XqbbC&q z*%Oc-;p8`^N2=r_m8d|T(G`AiR9Fe%>uFf(&FMOcX_IhFFdd!@!`1yDH`s1ax-V00 zt$ZcgE|LH4J`lZyBA9Mn>un-Hy2#1GAqZT*_Bd)bcCTqxzNr)rso&*6hwI#N`~pFT zb$d|GH&#T|&T?u#V;bTN>T?$p`U&jS5Iap|`J0V5t#CCNJP7y&A-9bUJU$7Rku}#V zpn0i91`ol&YF-t&7;-I!!GoUNJFr|kIgHMRtJ@RLjGo+%<7)Pou9RE3m|!R+#$HF9aKiw;~8L~H%ev&pZz!IyR(^yOC|4a#K4G>&Sck+Sx0-wymDR4nSd z=`njQ1WXts7lOgdT>(L8LQ%oaeX(N$6!)ua!C#(U+@eZ&x0pQxZ>86;!O!TqYCa#h z^^u~v3(k5R;lBtDV(lO(!R8cQanGmlH-{Me_i>&bVFy8qn%hhs^i*BN+ zXC!mb+s#FH?>m66n~d5u9a}&?%AsuNm<4=Q;94>;yp+J0lhKI=s|!g>U?_&^i2XV4#6_&^*-eD@GuGQnTlrCAYbSHe{fMbs;`*lbGz!_=>MF5~lY&E4p%6u{!pi#&adk$8kx|kQ z<;qBzzQ$01?_ilplABFPOA)L!X;>I6atjBe`N835!gT%cO*{lBVJ9UZW`Ab@r%DD? zJ=_df1qMI%!ulI8<^|lu1Fg+PMJ1vwq5g^L(XFDSg-!&H(1=`!JeF7o$Q9x|c_v}b z)uryBZhvt(_R9Q0XfCU2{2`vO`m)rdozDaDd!pPTw$A*XIrsJB`cw^TY%AV{25hw2>JFC%I}GcW_Orl?tJgxU(Gx939v3}iR!}n;G z;0bl!hdWh@CKf6qw}tt&$lxIfCH6#1aS8xKy9hvmj&N6TnGu^|?Y}12_szRJJl-;y zt_n$&UG!Y!Y7TpYSOiEs7Y@QGtG6TI{T~2JK(xOb+dhr$aN@!e0H|_WuUJnrnTk3X zdy?#DWl~-ypfWM^B?B_GqPUMrD$eJ4EsnQ-MPQR@u%cXm!y}d*RgzHaan^EGWil02 z<9U)YTS3x{v2(B3L;(4cOJq|uosP3c&R!3P9mp^jNj9N^IHNs*YqN|elj<;n;lgeFrF%x0#nPSl5<&hPed z9ImK?fqR87wDwTMSjWp8A@Yn zK)hnrv`E`LBmz!_7IPr9nB$BVbAnsS!$zi7&8jzG4oL$#U0tm)#T)#I*-rwv333LI zb7LFP(iP%N_ARDRSr)6ABEz5rS?2!Tmn5v5Rswz|5q zGDBmm$e=`mKf59LXI%JHHZC<8o%X4E5l3l+MUivMit-AxnRDBBF07#t)iJeKb~7n? zRiOX+L*VFuPJr2zvU?!w(lW|jyV|{IQ1&~uu9d(alzHPz8*Lg)3z;voqZ24688V{8 zZ%bvft7l%K-J4dSQv;^zEFlo-kL_l>w`9GE(L*&e&Vb61_BG7>Jz!=WJEYu+pD3LV zpVyq>&>1K^%Km)gYl?jx~V+GVy|)KUb6J+$XAw zpioKE%r#9|U|;G@lxKm`#?o4*t7T=|CRDUo<52HMYniqfuDl$HNt=mCTfiIsJvUH! zj~N+MX9DOzEP}xG@73By#aJsF##+TUQ7N2oGaw?PW|$79PbXU%=u;gRTE z?V9St{gw~6rlc0TcJ1z6p%GLLn6^Eze__v|M{*rumi@c2xgIM}@AdBbp8%#uiv{9i zSKJybzE7GpK&bi%9qL6GchG3HoJMOy<=OYLOhne8NK{uz@9IVY>(I$EGDmPuuGwM` z>Lg*pde-1$V6Ma0c75BaZ#f;{4oOr4zm1yqH}l%<1Q`bBz*Dy$iYv<;!_WqHL<2T~ z6UU-m0q2l~TJCs0QHnggl!gaE;cOi}6K_}6jN*WRPxGu^apk6It);5jZ*qIA!k7YI zFa>Kcaw_-pX=Ve~h=gG!^bG8PMk<$SW-IYp0t}J@^&+!G?r(3SS;GBSNp)Hb(nbz- z&3Ed4V@*3+rIle!vNWZ{teFY|%`wW`>ffd{-(&}9ma?Zz31Y!Xhwdn2r>lE`1fK zaXiknEX^HHSqCB1YwjjQ(!Ht$4|7NaP09dI@IIDM6l|hA+#>=*GcD`Hbfd}8c49(0 zoPtAtCm_nB>q6HODT3C{k56+IDjZstirW5q3-8V1;*X!uM`!|C3K?sL0|#18C!HIR za_#Y>JELTBXLO82blsdd^cdqKQ!^JgLfPyA{EP3`+DDK-o*X%bA+o1_?=0|VK-YnD z!KkCA=Svidk=vW{(N{DxY>6|uSde6dXZWpj!D%d>@kl?TUg}t*5dEi$Ktv?u-Y=(k zCGW!@RL!+U6BBJHq^W^4Es&N3I{(n+8pEZ>p4%}#^TMGQquIhE|2XE4`(E5byN3rC zaWJ5FO#N&a`t&ovw+F*hpyuG=z`sa+VgfAVMK6um)AQ(^NZj>%?6GTo#j9l1v6@&t zdM&IHRtKwqfo5PCL;$u&zz`G`#_as}GyV_X53nc}#A1df{M@Bs=PSrG0oTJ_vj)z8N+&q7MH6V;fEQw*miJ@NX0TZNa~7_-EJf59YM% z1_vZivjkMb?==KfLs&HgRzqkt1Xn|NH3V2IfGF0pewW8r#J4!2`>;r8CJu*w!k%9F z{ZKp~o(*IE_$Ut8!+{5&_~VdDcde%!76Zh9u;Q#FE5=Gd_U|b>X27ic_Yt4K1AXG2 zEjDrA&z!iYvnKA_516>QHyuXd4qPa z=8_tg0}pVX;G;af0zO1v12wbjyo#;eUFSReyX$;SKfBInv6VW%hd-(FIsQ$ZKhRI= z_=$Dsr10m^3GnZs6VuP3lO)!O~GoU_DwJaWzx zVN>&&H=43?$?Ix;#s(mx)A2}J1~X!rNNpS)GDVa35Srek=hk+-dqNVh<0 zk+`p8ch=7!K~q*hB{6mdyUP|igTuMjY&l^lpa6*~s?++_IiplrCa2VxG1o=nIn^Ae z%u_0qRbLN}cU2JL(?)4C^eoHyk~3`Du2a+GP=qtSYXC6qJp`jne~G*jpESc?VD?b9 zqZ)DC?X*2DAbT3_nzHLB6F*G})Kq5r2t?XK<;<@|#pKI?J1uZiQ?AWwUJo^p zgYV}@|4|&BA21`R45gh@vCR60uwwP$THA~1OhArv0#jzlD(nL5nWFk_kTA8MN2tog z1l-D&KdpL$L3H^|+xW(CeBr~V&5h!->R4!9o$@pjh;u6>{ga?Qt-1q;X@?0J?%DNr z&9S?vy5l6}>lC&#dey+ILKov)9onh^vM@C}Qozt<&L5zfSeQ7Z(x@TLY2!=t0Bdkf zEzfu@{AMXvkGRuJHU0i{o*96qFK_j5ij)$tSDk@fQ*{*Uw*EyZGBBYjRv!V+=+Ae& zKP1$tiP>QtA_a6P&oskDr9ekO+w{{DHVUf6k8(`lfuK)HLR++)6Dd))q2aLX2iFy_ z8oWqSlraM|nUe*WLtgW6I+HG})9YThYo=E4W+iJTFL++uLuC3yjyYLm{bxmaaQA#- z*InSs?Ybl1MUk77krh3eRY-iFnL&d1M&|I!!sbwrycWYZnj;35FcD=73v*Oo0T z%!LOFlvc$#0@OW@k#mV$gLGdLgy892hqyRMhAZYn{5}T_!LTo${1TRV=Dtjd+px3q zScou?qs<`-XL-q@qEh5oTvX0}k8ke1qIDwl26)zG+z}G+T6~Y%eo@IxLBYkEgZyBbuJ!{oME54DaW^PtEXEwuM>IJv5N? z6Ef{1O$A=Ku(Z~_;?h7gb7Io0CWD~omn(I35M5neeORNcrUv0dVYE1m$Fg`|jJo)e z`9uRQzdX)<6lMYJ^V_$x5XRTn4$9lN^GnOVznYbctNZX=*JP9RhDG`EDnvZ%B6%g? zAefu``Vk3&1whDQiHfpvbu^JBnwLq^Y2OuP;!b-+mU($(2mWvkxs@jCw%-s`*83um zX=3IDWIeiami~)`*Z5fsoUce+RNlx_xfxM?j!rc)$>&-TlK1DRI(8e7JGbeaWoc4Y z$Q&Bw@Gr-cIh4iraIuIGn9pg79+hu3?G`B(N`({%cujKN1|93+g`sI$oh~w(Kxdx? zC+T5S1|~ZpgHvReg8?$mq)@Bf41S5XHDr$}d7sz~G#)2zYm<2DlU_|K^l*SXG0UDQ zz2yJibJsf$D&KgO@87Idx@dp3(VCzER{OR1P^)Zbzs>l9wp!~-bo;r7-O1Q|X~UDE zL$$TEn!wEUd=ou|${zZsd+#sGM}NdSraQVS^&bRCv09Nsmq0scP91lxMCug@moN#j zsKPS}^8~=|bHnjCfE*K;iqVAW4cJ|Q5o&lVrZkn24@4`P5rDrTddq8YJfBa=rGf5F1V1B&wXtsRCD6ib`m9RP1e@TxZ`({Zr43Ud%0jO z>6*$%3=^3`nphBV=&qwZ-Z$o$+vL6OlR;j)Oph?h>sAtyPuJ|1>|>{Db<1SX*QhZw zK3E)<7rJ70?~Ia=&;I1j=m?738O1WCjmzwHr+jDhdrzd9uU~f&%n|y52^A#BdU$8# z$+D2cw9s}TWO{F3GiPY(0OBvZBt#gnjND@yN608#C~j)0ooneh+eWIqpJ`m_&Zw7Z zoZ2J9FmD^+qn}=-X%w67z&XWVO$#t1km!t<_caa*m~P>Cjis#Fm?m7V@w7V2C(&=> zpng&(U2Akrz75i~rnUsnb8dfEu$`-`__Jnr0UzFB<>48B>S~R_whEZrR^6ftaS~Lf zDe&bwH9Rb-p!Rjh|AK?3$D;#{d_nDp>Q(Y^k<1zg7&346?&gVMZ4dGe&(xX$3I~k<+ z7(Ks}cR_kZFK6Ueklx^6;=TmwH8j;?ri92;E141oaBx&=)Xdy^J}bkD?wQumoQSn@ z8oHy$`-e`=+S@&JD)lBj9Kb`PRP`S3FS4R!#F}d>JZ# zWH_#3r$pS>J}Rt!UOK+<=VUKWnIO;qRXAXRVhP*r+!~Bgqdk^=&=yncvyN7s4ee-=6 zexwOGmSm+e>;J8`{;jDEVD+sbZh|xS5|7sez6R_ov!^*1Lw)WJ+NWV>&~(tW0LByO=cA)C=Odu77Zl0&qC`w zv`(Okhg3xrYDu3`(m+poNlEgZ-%LK{sp9>sY_G&3rk`~n%uH*Ka`fP7w-DmDp=;#h zq8ZjxI6T<7HKOxslOI%eYfGL{cCEHmlLu6*21i6Kdn#d?zcFD)9w*%DO$DIYROPo? z&3ti4!qTjqbfeu;W#GKZ6=}4vgvdHl4aqgkZ%!nXQRb8FH-O{)J`~=CN7A2gQ=IH} zouBC&b=I{;YlF9PYm=&C)o%csSkqc-Z$R@Jxdu~WYogp1k9aK&UWwgcm2BI*j=H_2 zjbX#CX`{Hg)v8a8BPG(fFvxsno4oNg4tKMzn%->GwU*a6w(I$ZQyR1z)vm&c^(=H@ z6sq-ReZzVL&$Vi^(c0SFu)bJuB&+r&@Lb4Vh|9UPLgcHmp15G#aw9`t&EzIs)cD@;60RJ z515NRO>}?3pM@EQ^vh6JluPxy+@#&E<@M%XiP5o5GwsA()F4@N@#!vVX=jRSN_4Wi zuXDU8ul`=GU9lZ|2L_*sgucXhx8*Y0e{*km1C)RyT^V+WLPx~PA1}2bK-+4_1<%46 zHu^S3`879!T$s56PvPA_XopGLG)p!D>JONuo2Wll^;1BRKq;xCuJb4M4*pco zFD&F;bCbKM{ft)gG9VAHg}Zh5EX=#j5#lDgK!BCaLp&6%f)#s*Ph0zo(D^>x5fe_< z1LDP$(W+qixpGY^O*H&F9xMN&yufsg=(tg~$}xIgGV}(9@F2&+Vfo@o_c+WNA_8Ru z$+O}6C=}%kAH%e3RphZ!xho?vYR9H+0tkJRjx{2iTQ&mVWnbyXns@-%^ADy{p!1f zyL9@F?Q&d3XndCOnWNRciwcPO4aDofs~ORY%qG$?DZk?76aypQ#2Y6c9F2~U#FduD z@8<=D!Ra3Pjs%Az$PPvfi8oSRV1x(}L;RU319HlQQAgrU7`jPvMUYD>MFg^wbd11; zDn)kzkfn06cY@o(#{ukh@HkzJEDjfl|K>cf^_o8bvthRnD2!F`vDN2uvo# zpQ+$0g7BabpJCzO-5|Lb;L??Gd3;KTb4A>*RcuqKg$MAQzxLe8YlUas!?JLP2DJWL z;rz{F?O>tg4)7TcZK0WhZBP}$p`S(^Cl)UNsrAf;WP*<= z6S~NRG+0~%^}c3&ZJ3ty4asl<(>A6Afkjxn1TD{6<8CIynz4_7L}i3Pw94px&3L8f zL1dz3!PhloS8om>6|FTKhiEB$?`QHTl)$4r9O|`ln6g@WUo)QQd1O7R(=3Je@+P&v z;(e1rh zlusg^R7#4s<0`*Y-;R?&K8*ty8oo-7bjCAA%IRO1fD;8@nD)kT#M4IwlE@~UoG_DSh;Ob5|Hfqv*?!0RXi1U81hp0?xcNS|=^1=ZLy=ZP z|CHOfz;T3x*W#6Ah9SUV&_i?TlVcLqjP~n#GMW_!vpb%$j-Tq0x~T!3Ji`UwyAvMs zcy7yQ)Ra4DaNia)b`uJE0UbUGPKU8SH`r1EyB7%FE*ok|HV4^8dDim48MAAcm=auJ zWzbeHnGvd+5m!R-iA6m}D;L~EvdiU#)`2gOtT@ZXD1V*Ztgv(P1B z$(?r1MBjW@#g!~r;xaZC_K&cTFvHTuUg;unu^Put=)qWCHGAfLv_eZFN1>9xhUADX%jS>kG4tdQqB|1xivryb#sCu2uS74?>rt4hVo zlz^oKPRb(C$eJ)BU1|xhZRFaYDHm%u>B30b;Qj|bpSrYQNX?aY(&RweB}3>1t_Qey zNK~U;2;72XQb7FyB$Io2$>it7l1ZYaxxsYK8S^V7pWq;dUs6La_N&HZXnYT$>9Tye z=eIxCguyW0rDNu~gJ#08jt*fAFd6#i!67I{L;5&8frJv!?W}-RIvxUoj)tW(ug{X) zJ0oARg8-wC;2<%TiAPMg)6rXU9wZ4+o24igqmISkn7SqtYqmL|o40JF#H208m@)x9 zjIIphiRnle4b+?L2p91(DIaph(|pcz$yti6nDICm@|i-&X7i z=J)jcG3F0lZ#sX7`JvKebu~0+b<4LrYFRQhKms_mJ5Q7V95HhN3vXY-dpi~FOal^d zAbtT5K0zLaeVVA`TfHkul*@=hA-DJ}h1|4Q=MsbJNP-1DFQ+C1U*wqNl98X&VafOw zU{P|^>+C+Kk#?(~Gn&0;IB7wlz55$EIK8iT`Kw2$3A|IfFI8%kCsU^hKesBUC!jfGx*UCI5915a@G!^TUiRR?Y zOAg44T6*%$^jG+V36j0@i}b22LVEff>DXpfKw!gw(xr*aotcY7)hkw)uacn91GaHz zwS)n=??cW{Ir^NN)xU?qmVy5Ef-t$RgULNtgy-__WAG0cLVh^-bU37wDfcvDaZTec z5pUH>#dvY1itz4(bUuUL>F($OvM$Q6qRfSe(5Vm|GXbARajFceG(lq})m}`L83J@z znIj6bO>9-dx$d3#9&7847AzN-SJ4H_bJzU)OjPI#EaLA3%>PlrvFDL9M9)grTwA$R zq#^k9N|%z%5E2#;!Kr#Cvb5@DeTBpRSA$3zEmo$d!ZnpATvHWxT5V`9o0Jksx{tb> zpa>)=8V$>vIT`_tMvxf|Z_*Fm1$}=HY4^d^d>I)ZH%9O?nP$ul1y1mI*X+I5=5o@5#3L z_mS8)r=pCl%wdQmAjJeFrhuo?2sPoE3Ts6O>K2kO3(QkZ#4!tx7RUTP4yIfHRbM$p za=FFR)M7wWugNgHc@yrf$tH5lI6016F&+x)LRCWW}0R zgkNRwAI;ey&6wA6&BPN&OE9hIgEGA6W-fT)#90q+@u zm~l8)lWuJRNTP`?JLI^R28mq`C&t7QX+BT$jY-!;(_7}mT=|LT4MjWLY1|4h5UawE zY38qAJTq8xjYN6&ZQBldt!8o5TvpmCr?|6La8uzsM))bl8mZ;;iUilHO)Z;1p!xCO z_hTOo>N0k*kO#-CgA1c8`UJ4Dv21fYB6s(W#(nDaH)me*$ve6Zzfx28ex?8SZ~j*q z3QDG$N6zoVTeuUHO!Q@;vc3| z=yC-p$YriCT2wqe;*Pv=WXK-gUL1exFg&QQ2DCo?R0|+!PKWMM73^aOi{W`b_|Hex zRTNA}tC9y4<}r+tkE<&aotTq;>PTm|628lItwc@yxXfSN2AKvh2mDsnL86nm(v4!K zZL!`qv~fc!LDZjXkl1@ab+g#58f)35n2nEV)%>dIyf&+447t;&Y!7BYN|^zmoI$h7peX63k7lUa)f4=%2uTixR^tBM zDApFnLYnA-1fwbEGl>2%jz`TJz4iSII=K-AJ1aH7bV8oO{IMx{gvH#cRDyD0(3Pxu zdu$RTN;j>hW)hP|!XBLH){Zm-)rIrA--nJgN8`T^<~gcsbu>+4nS&=)r2n6_ z=G}6ppot~L#jq^LJbrR-U~6{0s1UzI=4I5dvSF4nWh%iZn;01ci?I7s$Pz{>_Ay9Z6RdDB+H*kooJx5GSlt12?TCR*%A1O8U2R1CuY!fF89P%pH_a z^f;@I-MW`j=eWkxs1tP^djh0=2q!SAH+qob(%Ccg~&z-M*- z>p%T%<-h(D7CRk&8)L4&hg^S;xz4;0^7J6>|NEQ&Y5dRs_uq{F`TzN!;rCyT|I5Gn zSMdD5jsMI4@Mn1c@8S3F$N&6~{|A(Ldv=aM{`#-~RQc<_#`eC2Ljj@wdw}}y5$eE; zB24&?e_Q#>f5dtR!8vyDuYdPHR{r{T{|h9X53bHJ$A5q#{{f4@F2D}`^-s{lKVgyc zD^|!cBu?9NEA8)1NAT`KNzNjZH(xc>TH$ENUz!qhq%kb<1uw?XH}Tj=j0rvh2;R zjV_yzPHTI+Zf(|TkclRwQ{QMbt@=i@(Pb0TsW)patKPJsh@6m4Yoos1vRWIB8swuX z>C`v3YZm<3?y}+Sv~0U>wd^{8rs3^08nwFBXxNZI!`o?WLgkGutel3o(`s(kEcgR3 zXm~q~CWcvRHZTE)7l5`Phuy*i9Ntb76PlDj!`rEE+gnzByS~|#!`o@pnk|gx3w@yB z?KEr*?`v;C>uGp9jaCa1TAP@F!`o?WZDQND?C!)$A~%Ste4$li|63~I8ZZ;U z+D@Q6M+M4Hf6V>#KLj@Y0ZMofN(D_B&@vG?2#ldpRwHei>6)8F3N1n|bBC_va{5$p zq%J9wt{cNBc6Z|Y7*R65N2n1X#g#x^#btvSO_ai%ubi3NCFb86|luHveB{kqyVOqtq?fH2V=G|erXEohVsGixlP zIbDjfL92ynAjuZ_3g8`J@~>fJR=)-QvuunFbgaYIM$jesRW?X7G%~>J7;3C(uB93+ zb&{!gYONtRj39Y1D(f_kh8L*4rbScKhM;(@`eL@OgpZt&3jTu5KP~Q0(_t<*4Q?v# zjAS}S8&O5};gyI{hy0pa148TMqm&#jXa)P3f_+54!uj}!gFxrC90WPCB@oQDx?^}` zi1mefLt4SEYc-r@YB)PHnAe7SQ_J%tljq43L-=XX@|d2;-kFJA zHe%gi{*=WK;q!z!jysNsW><^oOJlj`0T@0Fv z!sM$y7>|)$Bs+$LD=C?6-wBxSbyKIkFQYtheH!IGum>o9BbSZB1S;DD(N-^Fni%+N z8Ke5dz*79Jfp4C8YvNld-dYp#z|Y^%I}-WIm+w@zr`{=lU%hYR`%unCgpk; z4#uA5D>&~47d{WI7hcBk@3gyH$fak=KtC&X`3qk{<-=LHvKG!qg&TO`p;S0975-g? zpVOQ}T>u(sj-91TYw1y3x{sIM>81O7=@(Xd^3VI>1?X{s&u1ECE+o+$Tw8?>pfj1J zw`-YKcXwR~*Usd9HW#jzHxkhf^v-15>P`hifDDO>l^_U*sNA0pV{oB{onjOS-|NB` zyMh>)c~|kQ;Yu=M6**3)Oi~O}G#GnxvQH0(?zDXd>{=#w?;6-z?r(U%HMjdf3Fw3_ zIitEWiljG7a?*BZ6leWk)(b)kTnkBuq67I}pRDx`^HjSooX)n_#l)1d`TqF&;C1*q z?ygUHF-9CUfeO(=YLt=TJ7FYk<4%AogTu-7t&<5}$C-3rn5c-Jeop>RRI$eq;fS=t zoYW#9i4$AdioD$2(hets@nY01vL{hTEfSP~>Giu=CZjn*6|^!cRf=Ie(*5doghO4+ z?@myn;tAK8zGVb}VLNjLROAYTf|X>Pruf4BZ0hPN#|g8RV39aU7%QEu1f8Ty>Vb@G zY>S6Abl$S!i4$dY)nhY&)*T)Gj3-K`*6l)RI;P4omxRMWuZ1{8z%PUo>E71ws^`(9 zixcT#aGwtO{Oh_=dx~MQn6PyR!!%dFhb2-5ibcsnAqmcL{Pqofqwn1LAEx1bE&j4R z-(eoVy6-mb;#0rQ3Arns+C2 z;x6XJyBMv@P(nHH_PVQJ?jb+(>1zd3I%5~&*%=BLI9gkSN=C%oUrLn{%CF!MjfB<60s!*+(t3tTAXk$V+&!fv4- zpNItW5gO82k(nO@o5moT(CLaNgbS+RH$^<#Lyx;MO$#eu z2uMbekkB$I9HhmZyUn;}R$nt0-X{N`plRMob2nt86m`kcgl$_E63IfJay=`8zmf7V zCx{nE(mWY=a8IH#+Ajy>qt1#3%y318otOMLDMq_~rB%C|q8CCLE;QhJ2gs$6l@f;N zmIx6I0xK>QDkqiH)Czi;g2D+K6!zLsEI~yxtcz~%;20_=mPf^z`t-T?o>DXit}k*! zq+-#pxuVf>HS&zQzzb}NMb zk0*w&6Y0_^6;_zigHtL@E3^PGJ))EC6^Eo$tjxWOeHBHfuv0p-z_t; zEBAbHmRbNI!=cOU)LUmdtpLE+MG?LVow+FQj~VBWS*MOUpN`6Jqvp0z_u80o+L-s* zIOVc&+RtQxo5{Re$0@IlvzBv;^?}ds^anQNYA48f z)Dy)9m5Y1Q$*s?89Z#b6p*mQeDNhh0*Pc)`xPM^72 zo$0v=sX>f#9#eKBbKtQEM9i z^`kA?B*(Y`q2@65$R zuDN^Ft~qszekz7uvxW#z9yutC7H=W-?zyphUx$@S>r<%41klO^H#V8(zOSXAE*uMm zhvYSVRY}a896eKtK~2h@NU`{D-rk2LCkjW1nV}=kJI1Kv_gz~-L}8Zn6JGZ3r|n7& z&JPZ!!+$x2Td}*^415vk(&>@py=7D%pvR`2D0h4Xtc||B^#m*Brcbzn%epP0%mb%= zE|b+E(Im4}coNO>I?m4Y@i@C&o?1iU3ZZXv^pS5fD*JF71N!F|U3osvWQtXp^?{hKuaT7Ssl-EH*A&?=tODPvwR z1s|g*z!`Qeg~gC`-ZnbBCIan#vw$2U7n z481)bCtBoe9Fp?cc-#Xr@x1WP?>u;45@pv_!4eS{Y(Zf&)~WV&s1^Mt@s=hAjrnkO zwKo$s&sypOw&Cz3D2WeF+;h=xNM2oCIin-^!n(4K@f-wv3iMRFeBpi@Sy%2?5hSNx z`Iw@inNAPCJjE}2_$7ufD0#SWcQNfT56O4xW_+9xQFZ}T5{xFQuC?*6d)mH2$Bf7L z=M>K;mif{>Y3rAKZW9hDJMu9=}bo`=>qVb|)s2(5?s`yjMF z#os%j^)eUIgnKC?M?rk~=wW@UUSGTcMX8$Zdb#sQ;HK}sHpiXU;p>!i zMoXG5`+E6x@;X^FMLLii=VfZM)p-|MZ)bJ@8d}1Z<~#7@@bHTp4d46FI>6yNcgw6iee*8+*w{1S z7L)li39$kH?N(t;0u)yTOIIL+se!wnMHEWuZsDQ5ODRSiQ zcYm24V}IJvHwY(dn13CZoEg7_g7_y_mSh?7BVG&515WZ8)ag+$ul)J#VON!TkI*wp zkUS6AGv=K|+)l1H%&bf3`Smf8facG6es+``=w6)X=Ozh5)_3zYtzoi=tjFg0MYx=z zz)$maRVg8d?g#tp*;BO71ZAeAbu$GSVZ2CDe)p#ro;~oHlKSum33t3vT#)-3hYirY7C+Q%bhUlJ2Iw|CZGYT23b*#1bdGsmepNXk7NS908+2)Mg8!{gu zkT0Sn362Lmq*GEZ@*6+hBB4=9ZsBAA2Z}-kbXLnpDae7`zaq4UuG$q;$ZB#rea%Pl zM?wDhE;)lP_>$aZq^$>JR#?=u$PFsq-P9VuZ+I64Ya~1JP@)D;z&UANFz^rrKz({x zT@{BMC9y|LWG4|N3Wb}@8O5{9_jcz^#6wV|i4y^1rN0j*=-rT-EEmNy-@C}7)%Scv zndC&ob9fr=XUT?rEt{n{r^71pn`fW=@a2sH=;)JL`?IUa zQMEBf2SkrUzFRAB3nJTi&lx>aN%pCW#hND#jU~ z2zdrHt;iFbDX%!iMm6(6gOt}*uE))BFR3Gp$ANwUoV)%M?n<>NL1_Q-0QqhGUR>W? zTr}ZNigYqb^MCO`Sh;BmGVZBlr8kRxH4W69(A2QCn)i=b*i=?vVOOwouQP(obw*6r z8R|Y5vGxkxWyoF5t{zfd+^i?jjfBSw$-9h@Cos`+#NYJ0jFjDF4BQYEb9-*8-DRZt zyNtnj?3wfK8$R+bBU)YcKJ+dF7kPgtY4_d0Bm0I_9F64Gi;Nv6^yp;9s9o;6GMt-Q z@jSmAAs`R>_~1(Ib~pk04E^_o3T&ULzM4+oO;{roea!%J8B%9xozaHku~H&SZRDMT z-8Hl#=WMcIG{Ri@JN&oUdAGS}puihJRY3wtoW&jCkFtLC3I9#zhUV1v6Axcj5avuc zFo?NwBUc{`*sP!{aWefA{@A!7K6A1Lxo}c>9_B=i8}XAGB(tZY;ALnINj}C9GNV>_ zvT!*DA2?mYKL|yADxs*B8V1$im60JDX^3Urnin0i)<`gyDRY#*litIir-8OlRp40m zUa?UpikEYJ9%(}+P;4SKHd(W{oGe91Qg+11qLnP!$WC&{AjSp;G|QtO%qG~me>I={ zt7Rf4$gl;>9sgA9=EY($qt&buwUe-Mruw}I&HOg{IIqFQK7*wwm-!6VDq+Ts{>{Pr z1>hMlR!67H{Spgi%XhU%v-$Y6M2i##vqgF&7n3%2S8A4kMdl#MwOd&;8uhe>pb|W{ zq5PDi6i-RVDGV_xr@s{6gc$*Lt zSHFAps?sw|&BJnWC}7_$2nL)^4=GxiMQX-#4D>fFV3&DI@?&8y& z2jh2-_YZ$ZLwoT1XLGz^i)mb`$*F?^Y%a2c>uZBc135hb2NzzCXzv;uOm0vk8dXJy zB|FOBuTOy|xm``kKnogt`rdGSo(KbBnwA){m>jxN1Ly2@;UQb=`J|+$DM#F*!}EN+ z>rtH%<=jGGXK^hyDy4~|nkM|W6AvJgrKlf1a1vU4;zAx4_F2JP+_C$$ahtD+3(Z*_ z;#y%8uMc6EQp9nd9|({4=mq|C{xt;iK&urudHK1qxj!xX$Q2CnyHL=Yx96q8R;p;* zo~DS*m;OWIaZvJ=yYOLDL^jPz^OsBRtXn55s8g6fQ}ak?u{xPmESp%duv z&xL*p3P+(J3S&w025+zfwO=~EDj{HY^DpDkNh5ZptTvjKP)@U$6aqLm5NOsoK~?+6 zO)aLK9VGNyj?8xCbfPZ10G)~)jqZ4r(&v2@2a=o~hi)2`JsKknX47U(vrr+9+BLt<%7<6m{H zb8dU9T{UGQe&WH(on+77!#c%;LYiaXD8}Qg;ViI3Bf`0|6%&(UgkE@kU~f-pf!s^m z6`A6wCt)?(nGQ*OZ75Hej3j$$UMKf&Y0Swc*qyvTd+Z`>5` z{p~fydtacuMQRm6sHqX%Naae@dl{8KSoO-!X_YaGYPw-X`c0W!dMJs~?t{aic(v-`~7?didnctG&I?cOQJMGJiRp`O(W~&s2u5r!zcx`FKxd z_$-s*@aaA@`04%^&$KMRpUy(9IoNyn;`#1@%J})Lj5q>sUOakqu%`{gA7qWp0_`F8NLNdDRKq;7J;ot8%fr07qg zvhhi;RC@UA#lz1lul61sKH2-S^67?1Sxd!0rbPTgK~ejG5RJ$AjI=j0VK4Pn3`FAh)#G`N7Xu`fSj zu+yHGq*X%*`b*zMF1aMx_bynxr%JtMVZtezZ?L!IMo9rD6WHuY7*cY}QWNE1$QLsTPYlVy@EB(TPGg|h-=g@1F{NyHaSzD|SyI&j zIOa+|mo7-(fwtoQ1wOT02FmrvV+Rd#)cR3)`$R_Wh8NP)UK2413Mu$+dBN{<3kNUQ#ihx*Pm5)pDH;hw!n9hoAk zs#D4ib8-edxh88wJn)7|R{@XLo5qUkW>Tw4-Ub=$`n(K_G*2tZ8|MdvN1%-e9xq6- z9kPXILEnFqM!0iI%9S!7DY5Ge$je12Xbk zWah4tJPbfDJNn8`hT$8w@VX+-HkP|4tE_V}<#a?!Gg8)4R@gu{3#z5m5e}Ab5W)$F zCG@uQ0`Yhpix%a|b!o-vP0nYSh~b-X`3p(ohcwz0516oXRV7${w&f!9u)x=k_}K5g zL&mR+S{z}Y>n-cwZ@64mapTCw$ z|D8t}T_BbO28Zq4ANUW1Vaa47Ggn#WCzK(EGW&jc1jFzIy&)d^8Ekn5X>VA5)50*1 z(Gb@D!$Ht{o6p*(Pj6E1LKK*os?yXurVuNxQ8QFa2HvqhfEFB0lP^;KotfhC*mxe5 z_UO5^>%-ZAH$X?Cp8FDXwlHKL_-#3UG=}})U5O5J*TAu?ocSJ1t#Mz=QwV0F16c_Ft&I=CbcBT~;c%}EyM`b?-=b-wsn!Vxk7A?y>s|Iix@kp31_She7bCD0y2 z!ToDDd_PELS5W+s)q%cUX92wgGESWV3|1y>7Wv3EWv|0ed@*E|DoE#_2D{80e-jcF z>TUw@1DEio@ArapZ_pOS9x`I^&_9QUQqaS)>0ENMYQ}ey{BL^lysf6{>l-c-y|&^9 z7Z={#nhP^X?Ox3AT~L-fz3lxV@^EDjHNvL*@ML%%^aF|_Z4ELFW6 zh{Q7K{h)Is=4jwlS#QmvtE=nfXR+jL}PTV5UC%!*O zDudvy53KG*VHWSZKnY6KF*XY~RR;cvhG6aiBP}p0FxQtAcsEK(+=G*&Hz}p^@M$kKdSc^t?+_*P2NtAXzt zN<32GqLe$MaAH739^Um|Ozy2i?x~|`&cx0h*@b4K=OfF!;DoS_4ckM<2-iJ>-Jl@l zUp8;v+Uc4XYVdKCrqTJe4aRe%ZSW@c+3op_o0zX_p;8NMMz+n4CV3iR?s;|Xd6PZJ zGTg5)50OOeFdke$D-CS_8r#n>RqgcnN=qDzxSgUzOMh^D#2_XovU zWzsziA1j_zq*uB+qRmpiip!yiF}Sp}i?|%AGvze)`T-2emnhFHW5|$%VsdG%5W-c> z>NswzHOw!owbKdas)}Cdg*%BObclN94!PU4Hnd=g?O?Pj$)0yi`XWKWACy`^u(NvLKNxr>IqW{$2&|g*n`~oTYW4nFp z!)`2*ASnVQKmY`)61GF&z-d%xz=Z2+*F*{ZemPhJqtM#d0hcdC^az3)<{}c2QiVkh z2aIBm5)|MiHCi=u8_3~DU6Qrs=&9-zW4x9pP6>Ov=Qb&eAMfZfaX*3WABChi^FGBU z{^MC}+^nrB>S6TeKgB(NT9tCz0D0loKYM>s0d}9~QSacU1zGuf3zXjtml8%E4wVw@ zami)_6ec3tj-o@&7_wu#&Bv^sDDry}&ti`bgWoZPXLmF@dMLuFG-n>xJoyEoc;nK& zI?Pzu7OFZt;L{Wq`Br(Eb^iQIHyjV%@0=!I9_te&<@1C%=?QTI4TQWRK!&#)*kJ9b zU;eACkp@HB00wZ5$Sa@si$pxHOb-sZa$h$X_lrtJu@RZLg0ItF8;Pq zZw;5R${F(lP=JxLfRgM`e07I%*9z7YW8`?sz)(y6x&QcA-~Mo_-Z1s>Zk-ZSC-00c z%J0v|{#4sbroch+hpeq?hlgF&5GNs1rpCg}_4U=Hoyz!vuBpQ0M(5zV*UNNMwTCd? zQvO}QIQF1=>v%6$-`36P$?n6M>1S4J8Z2`*{VF?ObO}vKdiR7QW{&Ps!d>d+Z^>oQ zaxgDmn#*6%epp;{=Tu;A{OPKVFWL?W@#Z=fAaN~cv)Ml@mCqqwVYqmA|7lwTo5Xs% zem&nQjN;MS;&=w)1Eq&Tk?D4kjmPrCqGTc&R8^s0fGx1qMUz5$bEQ#N!qx{D39dEA zd2~8kUazg;kzD!_*SBE zi3Tya4>a2>+ZD8y0~EA)nPZ%5dMc9);PF?Mlpt@`lVVnj2l!W^n2(QJc--RS6Fsis zaSe|=*b?A>1MB>RbieW3_GFz$R?pR#-lFElS^azq4x*!UGmOS*j>TF)aW!s1BqGl){u_+q_&DU1fmRSMpSo+8waC8xw=K`9?np5{qZ z+(pQ{M2F3qps%@C62HAEIJ^|} z_Ld1|tF}<3Z~f*lWvYHAC9{dEMs^f4zO`bT6zP%K|(Z z0DQ~qKaIyv0$=v#_gNpDhvxS=eNLiZBC&7e-5QAv$QE&7fgjO(J1FE0Ji?x)&`J)~ z25e_=s$Jo2{aw2A5UR}`7VyR3Qx|a9m+|;T1d3VjjA)oU5Zc>FGm`F>EpQtex7EbDp>Xyi?C3J7d{? z4QJKu{zTOp37(Hio1)Qiee8;;jb%y^N0{&`(mzqtvx0?hDNH?SJeGZWf z^{mQg1$@Uo+xE5^%&7RMk5RYjUjuI|ybQQ;7e|@HZalLQBRu~sE(UeV$D2d{PZQX709IX4$1KnAXOu;8e`;BEXy^$fo#(sV^NC)+ zp}F=eOdOs#_VtNI)mU|#2Wzz|^6!B6$Pi+@Q%mYZq{Nt}I;SIJ!APQi|LYT3zktS= zBIEtlxp>BktQz0cVb5XF?Yv!N#|CTytv& zY@prTQ)oHGv&i_HdTRASetT8}bd6SJ*0xm?K`SDQyUrSq-A=;QJ}R_CK6e)dY)Jm) zAEMPI2IOaP`Y{J+bjM%ZMO48{n>TOkmsiw1G`j+3HJTB?W)Jlz)al}u($$H_dReb< zb}?WQI!d1f1CqRDzV^g|(J#&ik44_$YfUwVooJ1bb19%1LLLJswkR`!0e+R+?BT`A zWvSD;9F^IIlp&~xS+1DY#dA08DP5K;@9WT%Z7lt^VV0u$moiCN5`y^oD?Q(_r9Pi+5+JcVRfD?a4@T}U?Za?`jf5b%#G2906lUu8-31T+RH87(Zk#a zdV18|jr$nYy$8|nr3^Ht35KIUAan(9)cj8#kXh+$rc3+ z+>!B6bs{w2^~T4mn><*tfl*M>2u^MDqaZ~T1^W(KJ+}2Aji_PfNJpeJx**&#DzmEmE(4G7g zq-%VCe5g0-?xG&ZCv%zM?Tz0`GEcPAGfC)V)1C@qBjF?nvZ9@azrXCH(vC#ha046m zo!ziiTso$F{jRAv>pt!g?e20=ySo}~D%o&GGg6=8ZbRQI`P6a`b3e;UTg>FuVYm%U zcch1xyt~1$pZfB*W_MS%*xGHFIgP4Hp~iQYZ<2vg&ks!}BU^JgE0sORT{-!SY#QK< zlU8MDR>HJqkB&n}gB+TscJ%d0f*hjTLxv2zIJ`to8I2w>Ms4x(dK`Bhptn1+%KjIt zKSmU?+3DAqu&FpTa2*SX2Hso!UXXrGRLy6pSnUn$!^0(bkvVvUws{z~ZtvaX=rO@A zySqmP-i#&tBzv*4VT%wH%|R`$*o23w#Le7|OOc|h*{Z+9x{-)&Sq`MAH63G)eY7qD(5yqXsA0&h3};Xlx*l~IV21OOU8Ln;6O literal 0 HcmV?d00001 diff --git a/config/www/community/lovelace-mushroom/mushroom.js b/config/www/community/lovelace-mushroom/mushroom.js index fa5fbddf..47599ac1 100644 --- a/config/www/community/lovelace-mushroom/mushroom.js +++ b/config/www/community/lovelace-mushroom/mushroom.js @@ -1,20 +1,20 @@ -var t="https://github.com/piitaya/lovelace-mushroom",e=function(t,i){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},e(t,i)};function i(t,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");function o(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}var o=function(){return o=Object.assign||function(t){for(var e,i=1,o=arguments.length;i=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(e,i,a):n(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a}function r(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],o=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")} +var t="https://github.com/piitaya/lovelace-mushroom",e=function(t,i){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},e(t,i)};function i(t,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");function o(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}var o=function(){return o=Object.assign||function(t){for(var e,i=1,o=arguments.length;i=0;s--)(n=t[s])&&(a=(r<3?n(a):r>3?n(e,i,a):n(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a}function r(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],o=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")} /** * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const a=window,l=a.ShadowRoot&&(void 0===a.ShadyCSS||a.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),c=new WeakMap;let d=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(l&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=c.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&c.set(e,t))}return t}toString(){return this.cssText}};const u=t=>new d("string"==typeof t?t:t+"",void 0,s),h=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new d(i,t,s)},m=l?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return u(e)})(t):t + */const a=window,s=a.ShadowRoot&&(void 0===a.ShadyCSS||a.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,l=Symbol(),c=new WeakMap;let d=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==l)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(s&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=c.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&c.set(e,t))}return t}toString(){return this.cssText}};const u=t=>new d("string"==typeof t?t:t+"",void 0,l),h=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new d(i,t,l)},m=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return u(e)})(t):t /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */;var p;const f=window,g=f.trustedTypes,_=g?g.emptyScript:"",v=f.reactiveElementPolyfillSupport,b={toAttribute(t,e){switch(e){case Boolean:t=t?_:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},y=(t,e)=>e!==t&&(e==e||t==t),x={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:y},w="finalized";let k=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=x){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||x}static finalize(){if(this.hasOwnProperty(w))return!1;this[w]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(m(t))}else void 0!==t&&e.push(m(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{l?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=a.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=x){var o;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const r=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:b).toAttribute(e,i.type);this._$El=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:b;this._$El=n,this[n]=r.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||y)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}; + */;var p;const f=window,g=f.trustedTypes,_=g?g.emptyScript:"",v=f.reactiveElementPolyfillSupport,b={toAttribute(t,e){switch(e){case Boolean:t=t?_:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},y=(t,e)=>e!==t&&(e==e||t==t),x={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:y},w="finalized";let k=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=x){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||x}static finalize(){if(this.hasOwnProperty(w))return!1;this[w]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(m(t))}else void 0!==t&&e.push(m(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{s?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=a.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=x){var o;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const r=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:b).toAttribute(e,i.type);this._$El=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:b;this._$El=n,this[n]=r.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||y)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}; /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -var C;k[w]=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==v||v({ReactiveElement:k}),(null!==(p=f.reactiveElementVersions)&&void 0!==p?p:f.reactiveElementVersions=[]).push("1.6.2");const $=window,E=$.trustedTypes,A=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,S="$lit$",I=`lit$${(Math.random()+"").slice(9)}$`,T="?"+I,O=`<${T}>`,z=document,M=()=>z.createComment(""),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,L="[ \t\n\f\r]",P=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,N=/-->/g,R=/>/g,F=RegExp(`>|${L}(?:([^\\s"'>=/]+)(${L}*=${L}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,B=/"/g,U=/^(?:script|style|textarea|title)$/i,H=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),Y=H(1),W=H(2),X=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),G=new WeakMap,q=z.createTreeWalker(z,129,null,!1);function Z(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==A?A.createHTML(e):e}const J=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"":"",a=P;for(let e=0;e"===s[0]?(a=null!=n?n:P,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?F:'"'===s[3]?B:V):a===B||a===V?a=F:a===N||a===R?a=P:(a=F,n=void 0);const u=a===F&&t[e+1].startsWith("/>")?" ":"";r+=a===P?i+O:c>=0?(o.push(l),i.slice(0,c)+S+i.slice(c)+I+u):i+I+(-2===c?(o.push(void 0),e):u)}return[Z(t,r+(t[i]||"")+(2===e?"":"")),o]};class Q{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,r=0;const a=t.length-1,l=this.parts,[s,c]=J(t,e);if(this.el=Q.createElement(s,i),q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=q.nextNode())&&l.length0){o.textContent=E?E.emptyScript:"";for(let i=0;iD(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==K&&j(this._$AH)?this._$AA.nextSibling.data=t:this.$(z.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Q.createElement(Z(o.h,o.h[0]),this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.v(i);else{const t=new et(n,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=G.get(t.strings);return void 0===e&&G.set(t.strings,e=new Q(t)),e}T(t){D(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new it(this.k(M()),this.k(M()),this,this.options)):i=e[o],i._$AI(n),o++;o2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let r=!1;if(void 0===n)t=tt(this,t,e,0),r=!j(t)||t!==this._$AH&&t!==X,r&&(this._$AH=t);else{const o=t;let a,l;for(t=n[0],a=0;at}):void 0,S="$lit$",I=`lit$${(Math.random()+"").slice(9)}$`,T="?"+I,z=`<${T}>`,O=document,M=()=>O.createComment(""),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,L="[ \t\n\f\r]",P=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,N=/-->/g,R=/>/g,F=RegExp(`>|${L}(?:([^\\s"'>=/]+)(${L}*=${L}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,B=/"/g,U=/^(?:script|style|textarea|title)$/i,H=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),Y=H(1),W=H(2),X=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),G=new WeakMap,q=O.createTreeWalker(O,129,null,!1);function Z(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==A?A.createHTML(e):e}const J=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"":"",a=P;for(let e=0;e"===l[0]?(a=null!=n?n:P,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?F:'"'===l[3]?B:V):a===B||a===V?a=F:a===N||a===R?a=P:(a=F,n=void 0);const u=a===F&&t[e+1].startsWith("/>")?" ":"";r+=a===P?i+z:c>=0?(o.push(s),i.slice(0,c)+S+i.slice(c)+I+u):i+I+(-2===c?(o.push(void 0),e):u)}return[Z(t,r+(t[i]||"")+(2===e?"":"")),o]};class Q{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,r=0;const a=t.length-1,s=this.parts,[l,c]=J(t,e);if(this.el=Q.createElement(l,i),q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=q.nextNode())&&s.length0){o.textContent=E?E.emptyScript:"";for(let i=0;iD(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==K&&j(this._$AH)?this._$AA.nextSibling.data=t:this.$(O.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Q.createElement(Z(o.h,o.h[0]),this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.v(i);else{const t=new et(n,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=G.get(t.strings);return void 0===e&&G.set(t.strings,e=new Q(t)),e}T(t){D(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new it(this.k(M()),this.k(M()),this,this.options)):i=e[o],i._$AI(n),o++;o2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let r=!1;if(void 0===n)t=tt(this,t,e,0),r=!j(t)||t!==this._$AH&&t!==X,r&&(this._$AH=t);else{const o=t;let a,s;for(t=n[0],a=0;ae=>"function"==typeof e?((t,e)=>(customElements.define(t,e),e))(t,e) * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var wt;null===(wt=window.HTMLSlotElement)||void 0===wt||wt.prototype.assignedElements;var kt,Ct,$t,Et,At,St=Number.isNaN||function(t){return"number"==typeof t&&t!=t};function It(t,e){if(t.length!==e.length)return!1;for(var i=0;inew Intl.DateTimeFormat(t.language,{weekday:"long",month:"long",day:"numeric",timeZone:"server"===t.time_zone?e:void 0})));const Ot=Tt(((t,e)=>new Intl.DateTimeFormat(t.language,{year:"numeric",month:"long",day:"numeric",timeZone:"server"===t.time_zone?e:void 0})));Tt(((t,e)=>{const i=t.date_format===Et.system?void 0:t.language;return t.date_format===Et.language||(t.date_format,Et.system),new Intl.DateTimeFormat(i,{year:"numeric",month:"numeric",day:"numeric",timeZone:"server"===t.time_zone?e:void 0})})),Tt(((t,e)=>new Intl.DateTimeFormat(t.language,{day:"numeric",month:"short",timeZone:"server"===t.time_zone?e:void 0}))),Tt(((t,e)=>new Intl.DateTimeFormat(t.language,{month:"long",year:"numeric",timeZone:"server"===t.time_zone?e:void 0}))),Tt(((t,e)=>new Intl.DateTimeFormat(t.language,{month:"long",timeZone:"server"===t.time_zone?e:void 0}))),Tt(((t,e)=>new Intl.DateTimeFormat(t.language,{year:"numeric",timeZone:"server"===t.time_zone?e:void 0}))),Tt(((t,e)=>new Intl.DateTimeFormat(t.language,{weekday:"long",timeZone:"server"===t.time_zone?e:void 0}))),Tt(((t,e)=>new Intl.DateTimeFormat(t.language,{weekday:"short",timeZone:"server"===t.time_zone?e:void 0})));const zt=Tt((t=>{if(t.time_format===Ct.language||t.time_format===Ct.system){const e=t.time_format===Ct.language?t.language:void 0,i=(new Date).toLocaleString(e);return i.includes("AM")||i.includes("PM")}return t.time_format===Ct.am_pm})),Mt=Tt(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||zt(t)?t.language:"en-u-hc-h23",{hour:"numeric",minute:"2-digit",hour12:zt(t),timeZone:"server"===t.time_zone?e:void 0})));Tt(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||zt(t)?t.language:"en-u-hc-h23",{hour:zt(t)?"numeric":"2-digit",minute:"2-digit",second:"2-digit",hour12:zt(t),timeZone:"server"===t.time_zone?e:void 0}))),Tt(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||zt(t)?t.language:"en-u-hc-h23",{weekday:"long",hour:zt(t)?"numeric":"2-digit",minute:"2-digit",hour12:zt(t),timeZone:"server"===t.time_zone?e:void 0}))),Tt(((t,e)=>new Intl.DateTimeFormat("en-GB",{hour:"numeric",minute:"2-digit",hour12:!1,timeZone:"server"===t.time_zone?e:void 0})));const jt=(t,e,i)=>Dt(e,i.time_zone).format(t),Dt=Tt(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||zt(t)?t.language:"en-u-hc-h23",{year:"numeric",month:"long",day:"numeric",hour:zt(t)?"numeric":"2-digit",minute:"2-digit",hour12:zt(t),timeZone:"server"===t.time_zone?e:void 0})));Tt(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||zt(t)?t.language:"en-u-hc-h23",{year:"numeric",month:"short",day:"numeric",hour:zt(t)?"numeric":"2-digit",minute:"2-digit",hour12:zt(t),timeZone:"server"===t.time_zone?e:void 0}))),Tt(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||zt(t)?t.language:"en-u-hc-h23",{month:"short",day:"numeric",hour:zt(t)?"numeric":"2-digit",minute:"2-digit",hour12:zt(t),timeZone:"server"===t.time_zone?e:void 0}))),Tt(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||zt(t)?t.language:"en-u-hc-h23",{year:"numeric",month:"long",day:"numeric",hour:zt(t)?"numeric":"2-digit",minute:"2-digit",second:"2-digit",hour12:zt(t),timeZone:"server"===t.time_zone?e:void 0})));const Lt=(t,e,i,o)=>{o=o||{},i=null==i?{}:i;const n=new Event(e,{bubbles:void 0===o.bubbles||o.bubbles,cancelable:Boolean(o.cancelable),composed:void 0===o.composed||o.composed});return n.detail=i,t.dispatchEvent(n),n},Pt=t=>t.substr(0,t.indexOf(".")),Nt="unavailable",Rt="unknown",Ft="off",Vt=[Nt,Rt,Ft];function Bt(t){const e=Pt(t.entity_id),i=t.state;if(["button","input_button","scene"].includes(e))return i!==Nt;if(Vt.includes(i))return!1;switch(e){case"cover":case"valve":return!["closed","closing"].includes(i);case"device_tracker":case"person":return"not_home"!==i;case"media_player":return"standby"!==i;case"vacuum":return!["idle","docked","paused"].includes(i);case"plant":return"problem"===i;default:return!0}}function Ut(t){return t.state!==Nt}function Ht(t){return t.state===Ft}function Yt(t){return t.attributes.entity_picture_local||t.attributes.entity_picture}const Wt=(t,e)=>Xt(t.attributes,e),Xt=(t,e)=>0!=(t.supported_features&e);Tt((t=>new Intl.Collator(t))),Tt((t=>new Intl.Collator(t,{sensitivity:"accent"})));const Kt=t=>Xt(t,4)&&"number"==typeof t.in_progress,Gt=t=>(t=>Kt(t.attributes))(t)||!!t.attributes.in_progress,qt=(t,e=2)=>{let i=""+t;for(let t=1;tfunction(t){const e=Math.floor(t/1e3/3600),i=Math.floor(t/1e3%3600/60),o=Math.floor(t/1e3%3600%60),n=Math.floor(t%1e3);return e>0?`${e}:${qt(i)}:${qt(o)}`:i>0?`${i}:${qt(o)}`:o>0||n>0?`${o}${n>0?`.${qt(n,3)}`:""}`:null}(parseFloat(t)*Zt[e])||"0",Qt=(t,e=2)=>Math.round(t*10**e)/10**e,te=(t,e,i)=>{const o=e?(t=>{switch(t.number_format){case kt.comma_decimal:return["en-US","en"];case kt.decimal_comma:return["de","es","it"];case kt.space_comma:return["fr","sv","cs"];case kt.system:return;default:return t.language}})(e):void 0;if(Number.isNaN=Number.isNaN||function t(e){return"number"==typeof e&&t(e)},(null==e?void 0:e.number_format)!==kt.none&&!Number.isNaN(Number(t))&&Intl)try{return new Intl.NumberFormat(o,ie(t,i)).format(Number(t))}catch(e){return console.error(e),new Intl.NumberFormat(void 0,ie(t,i)).format(Number(t))}return"string"==typeof t?t:`${Qt(t,null==i?void 0:i.maximumFractionDigits).toString()}${"currency"===(null==i?void 0:i.style)?` ${i.currency}`:""}`},ee=(t,e)=>{var i;const o=null==e?void 0:e.display_precision;return null!=o?{maximumFractionDigits:o,minimumFractionDigits:o}:Number.isInteger(Number(null===(i=t.attributes)||void 0===i?void 0:i.step))&&Number.isInteger(Number(t.state))?{maximumFractionDigits:0}:null!=t.attributes.step?{maximumFractionDigits:Math.ceil(Math.log10(1/t.attributes.step))}:void 0},ie=(t,e)=>{const i=Object.assign({maximumFractionDigits:2},e);if("string"!=typeof t)return i;if(!e||void 0===e.minimumFractionDigits&&void 0===e.maximumFractionDigits){const e=t.indexOf(".")>-1?t.split(".")[1].length:0;i.minimumFractionDigits=e,i.maximumFractionDigits=e}return i},oe=t=>{switch(t.language){case"cz":case"de":case"fi":case"fr":case"sk":case"sv":return" ";default:return""}},ne=(t,e,i,o,n,r)=>{const a=n[e.entity_id];return re(t,i,o,a,e.entity_id,e.attributes,void 0!==r?r:e.state)},re=(t,e,i,o,n,r,a)=>{var l;if(a===Rt||a===Nt)return t(`state.default.${a}`);if((t=>!!t.unit_of_measurement||!!t.state_class)(r)){if("duration"===r.device_class&&r.unit_of_measurement&&Zt[r.unit_of_measurement])try{return Jt(a,r.unit_of_measurement)}catch(t){}if("monetary"===r.device_class)try{return te(a,e,Object.assign({style:"currency",currency:r.unit_of_measurement,minimumFractionDigits:2},ee({state:a,attributes:r},o)))}catch(t){}const t=r.unit_of_measurement?"%"===r.unit_of_measurement?oe(e)+"%":` ${r.unit_of_measurement}`:"";return`${te(a,e,ee({state:a,attributes:r},o))}${t}`}const s=Pt(n);if("datetime"===s){const t=new Date(a);return jt(t,e,i)}if(["date","input_datetime","time"].includes(s))try{const t=a.split(" ");if(2===t.length)return jt(new Date(t.join("T")),Object.assign(Object.assign({},e),{time_zone:$t.local}),i);if(1===t.length){if(a.includes("-"))return((t,e,i)=>Ot(e,i.time_zone).format(t))(new Date(`${a}T00:00`),Object.assign(Object.assign({},e),{time_zone:$t.local}),i);if(a.includes(":")){const t=new Date;return((t,e,i)=>Mt(e,i.time_zone).format(t))(new Date(`${t.toISOString().split("T")[0]}T${a}`),Object.assign(Object.assign({},e),{time_zone:$t.local}),i)}}return a}catch(t){return a}if("counter"===s||"number"===s||"input_number"===s)return te(a,e,ee({state:a,attributes:r},o));if(["button","event","input_button","scene","stt","tts"].includes(s)||"sensor"===s&&"timestamp"===r.device_class)try{return jt(new Date(a),e,i)}catch(t){return a}return"update"===s?"on"===a?(t=>Kt(t)||!!t.in_progress)(r)?Xt(r,4)&&"number"==typeof r.in_progress?t("ui.card.update.installing_with_progress",{progress:r.in_progress}):t("ui.card.update.installing"):r.latest_version:r.skipped_version===r.latest_version?null!==(l=r.latest_version)&&void 0!==l?l:t("state.default.unavailable"):t("ui.card.update.up_to_date"):(null==o?void 0:o.translation_key)&&t(`component.${o.platform}.entity.${s}.${o.translation_key}.state.${a}`)||r.device_class&&t(`component.${s}.entity_component.${r.device_class}.state.${a}`)||t(`component.${s}.entity_component._.state.${a}`)||a};class ae extends TypeError{constructor(t,e){let i;const{message:o,...n}=t,{path:r}=t;super(0===r.length?o:"At path: "+r.join(".")+" -- "+o),this.value=void 0,this.key=void 0,this.type=void 0,this.refinement=void 0,this.path=void 0,this.branch=void 0,this.failures=void 0,Object.assign(this,n),this.name=this.constructor.name,this.failures=()=>{var o;return null!=(o=i)?o:i=[t,...e()]}}}function le(t){return"object"==typeof t&&null!=t}function se(t){return"string"==typeof t?JSON.stringify(t):""+t}function ce(t,e,i,o){if(!0===t)return;!1===t?t={}:"string"==typeof t&&(t={message:t});const{path:n,branch:r}=e,{type:a}=i,{refinement:l,message:s="Expected a value of type `"+a+"`"+(l?" with refinement `"+l+"`":"")+", but received: `"+se(o)+"`"}=t;return{value:o,type:a,refinement:l,key:n[n.length-1],path:n,branch:r,...t,message:s}}function*de(t,e,i,o){(function(t){return le(t)&&"function"==typeof t[Symbol.iterator]})(t)||(t=[t]);for(const n of t){const t=ce(n,e,i,o);t&&(yield t)}}function*ue(t,e,i){void 0===i&&(i={});const{path:o=[],branch:n=[t],coerce:r=!1,mask:a=!1}=i,l={path:o,branch:n};if(r&&(t=e.coercer(t,l),a&&"type"!==e.type&&le(e.schema)&&le(t)&&!Array.isArray(t)))for(const i in t)void 0===e.schema[i]&&delete t[i];let s=!0;for(const i of e.validator(t,l))s=!1,yield[i,void 0];for(let[i,c,d]of e.entries(t,l)){const e=ue(c,d,{path:void 0===i?o:[...o,i],branch:void 0===i?n:[...n,c],coerce:r,mask:a});for(const o of e)o[0]?(s=!1,yield[o[0],void 0]):r&&(c=o[1],void 0===i?t=c:t instanceof Map?t.set(i,c):t instanceof Set?t.add(c):le(t)&&(t[i]=c))}if(s)for(const i of e.refiner(t,l))s=!1,yield[i,void 0];s&&(yield[void 0,t])}class he{constructor(t){this.TYPE=void 0,this.type=void 0,this.schema=void 0,this.coercer=void 0,this.validator=void 0,this.refiner=void 0,this.entries=void 0;const{type:e,schema:i,validator:o,refiner:n,coercer:r=(t=>t),entries:a=function*(){}}=t;this.type=e,this.schema=i,this.entries=a,this.coercer=r,this.validator=o?(t,e)=>de(o(t,e),e,this,t):()=>[],this.refiner=n?(t,e)=>de(n(t,e),e,this,t):()=>[]}assert(t){return me(t,this)}create(t){return function(t,e){const i=pe(t,e,{coerce:!0});if(i[0])throw i[0];return i[1]}(t,this)}is(t){return function(t,e){const i=pe(t,e);return!i[0]}(t,this)}mask(t){return function(t,e){const i=pe(t,e,{coerce:!0,mask:!0});if(i[0])throw i[0];return i[1]}(t,this)}validate(t,e){return void 0===e&&(e={}),pe(t,this,e)}}function me(t,e){const i=pe(t,e);if(i[0])throw i[0]}function pe(t,e,i){void 0===i&&(i={});const o=ue(t,e,i),n=function(t){const{done:e,value:i}=t.next();return e?void 0:i}(o);if(n[0]){const t=new ae(n[0],(function*(){for(const t of o)t[0]&&(yield t[0])}));return[t,void 0]}return[void 0,n[1]]}function fe(){for(var t=arguments.length,e=new Array(t),i=0;it.schema)),r=Object.assign({},...n);return o?Ae(r):Ce(r)}function ge(t,e){return new he({type:t,schema:null,validator:e})}function _e(t){return new he({type:"dynamic",schema:null,*entries(e,i){const o=t(e,i);yield*o.entries(e,i)},validator:(e,i)=>t(e,i).validator(e,i),coercer:(e,i)=>t(e,i).coercer(e,i),refiner:(e,i)=>t(e,i).refiner(e,i)})}function ve(){return ge("any",(()=>!0))}function be(t){return new he({type:"array",schema:t,*entries(e){if(t&&Array.isArray(e))for(const[i,o]of e.entries())yield[i,o,t]},coercer:t=>Array.isArray(t)?t.slice():t,validator:t=>Array.isArray(t)||"Expected an array value, but received: "+se(t)})}function ye(){return ge("boolean",(t=>"boolean"==typeof t))}function xe(t){const e={},i=t.map((t=>se(t))).join();for(const i of t)e[i]=i;return new he({type:"enums",schema:e,validator:e=>t.includes(e)||"Expected one of `"+i+"`, but received: "+se(e)})}function we(t){const e=se(t),i=typeof t;return new he({type:"literal",schema:"string"===i||"number"===i||"boolean"===i?t:null,validator:i=>i===t||"Expected the literal `"+e+"`, but received: "+se(i)})}function ke(){return ge("number",(t=>"number"==typeof t&&!isNaN(t)||"Expected a number, but received: "+se(t)))}function Ce(t){const e=t?Object.keys(t):[],i=ge("never",(()=>!1));return new he({type:"object",schema:t||null,*entries(o){if(t&&le(o)){const n=new Set(Object.keys(o));for(const i of e)n.delete(i),yield[i,o[i],t[i]];for(const t of n)yield[t,o[t],i]}},validator:t=>le(t)||"Expected an object, but received: "+se(t),coercer:t=>le(t)?{...t}:t})}function $e(t){return new he({...t,validator:(e,i)=>void 0===e||t.validator(e,i),refiner:(e,i)=>void 0===e||t.refiner(e,i)})}function Ee(){return ge("string",(t=>"string"==typeof t||"Expected a string, but received: "+se(t)))}function Ae(t){const e=Object.keys(t);return new he({type:"type",schema:t,*entries(i){if(le(i))for(const o of e)yield[o,i[o],t[o]]},validator:t=>le(t)||"Expected an object, but received: "+se(t)})}function Se(t){const e=t.map((t=>t.type)).join(" | ");return new he({type:"union",schema:null,coercer(e,i){const o=t.find((t=>{const[i]=t.validate(e,{coerce:!0});return!i}))||ge("unknown",(()=>!0));return o.coercer(e,i)},validator(i,o){const n=[];for(const e of t){const[...t]=ue(i,e,o),[r]=t;if(!r[0])return[];for(const[e]of t)e&&n.push(e)}return["Expected the value to satisfy a union of `"+e+"`, but received: "+se(i),...n]}})}function Ie(t){const e=t.language||"en";return t.translationMetadata.translations[e]&&t.translationMetadata.translations[e].isRTL||!1}const Te=(t,e,i=!1)=>{let o;const n=(...n)=>{const r=i&&!o;clearTimeout(o),o=window.setTimeout((()=>{o=void 0,i||t(...n)}),e),r&&t(...n)};return n.cancel=()=>{clearTimeout(o)},n},Oe=(t,e)=>{if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;let i,o;if(Array.isArray(t)){if(o=t.length,o!==e.length)return!1;for(i=o;0!=i--;)if(!Oe(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!Oe(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(e)){if(o=t.length,o!==e.length)return!1;for(i=o;0!=i--;)if(t[i]!==e[i])return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();const n=Object.keys(t);if(o=n.length,o!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=o;0!=i--;){const o=n[i];if(!Oe(t[o],e[o]))return!1}return!0}return t!=t&&e!=e},ze=()=>new Promise((t=>{var e;e=t,requestAnimationFrame((()=>setTimeout(e,0)))})),Me={auto:1,heat_cool:2,heat:3,cool:4,dry:5,fan_only:6,off:7},je=(t,e)=>Me[t]-Me[e];const De=["hs","xy","rgb","rgbw","rgbww"],Le=[...De,"color_temp","brightness","white"],Pe=16384,Ne="returning",Re=8192,Fe=(t,e,i)=>t.subscribeMessage((t=>e(t)),Object.assign({type:"render_template"},i)) + */var wt;null===(wt=window.HTMLSlotElement)||void 0===wt||wt.prototype.assignedElements;var kt,Ct,$t,Et,At,St=Number.isNaN||function(t){return"number"==typeof t&&t!=t};function It(t,e){if(t.length!==e.length)return!1;for(var i=0;inew Intl.DateTimeFormat(t.language,{weekday:"long",month:"long",day:"numeric",timeZone:"server"===t.time_zone?e:void 0})));const zt=Tt(((t,e)=>new Intl.DateTimeFormat(t.language,{year:"numeric",month:"long",day:"numeric",timeZone:"server"===t.time_zone?e:void 0})));Tt(((t,e)=>{const i=t.date_format===Et.system?void 0:t.language;return t.date_format===Et.language||(t.date_format,Et.system),new Intl.DateTimeFormat(i,{year:"numeric",month:"numeric",day:"numeric",timeZone:"server"===t.time_zone?e:void 0})})),Tt(((t,e)=>new Intl.DateTimeFormat(t.language,{day:"numeric",month:"short",timeZone:"server"===t.time_zone?e:void 0}))),Tt(((t,e)=>new Intl.DateTimeFormat(t.language,{month:"long",year:"numeric",timeZone:"server"===t.time_zone?e:void 0}))),Tt(((t,e)=>new Intl.DateTimeFormat(t.language,{month:"long",timeZone:"server"===t.time_zone?e:void 0}))),Tt(((t,e)=>new Intl.DateTimeFormat(t.language,{year:"numeric",timeZone:"server"===t.time_zone?e:void 0}))),Tt(((t,e)=>new Intl.DateTimeFormat(t.language,{weekday:"long",timeZone:"server"===t.time_zone?e:void 0}))),Tt(((t,e)=>new Intl.DateTimeFormat(t.language,{weekday:"short",timeZone:"server"===t.time_zone?e:void 0})));const Ot=Tt((t=>{if(t.time_format===Ct.language||t.time_format===Ct.system){const e=t.time_format===Ct.language?t.language:void 0,i=(new Date).toLocaleString(e);return i.includes("AM")||i.includes("PM")}return t.time_format===Ct.am_pm})),Mt=Tt(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||Ot(t)?t.language:"en-u-hc-h23",{hour:"numeric",minute:"2-digit",hour12:Ot(t),timeZone:"server"===t.time_zone?e:void 0})));Tt(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||Ot(t)?t.language:"en-u-hc-h23",{hour:Ot(t)?"numeric":"2-digit",minute:"2-digit",second:"2-digit",hour12:Ot(t),timeZone:"server"===t.time_zone?e:void 0}))),Tt(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||Ot(t)?t.language:"en-u-hc-h23",{weekday:"long",hour:Ot(t)?"numeric":"2-digit",minute:"2-digit",hour12:Ot(t),timeZone:"server"===t.time_zone?e:void 0}))),Tt(((t,e)=>new Intl.DateTimeFormat("en-GB",{hour:"numeric",minute:"2-digit",hour12:!1,timeZone:"server"===t.time_zone?e:void 0})));const jt=(t,e,i)=>Dt(e,i.time_zone).format(t),Dt=Tt(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||Ot(t)?t.language:"en-u-hc-h23",{year:"numeric",month:"long",day:"numeric",hour:Ot(t)?"numeric":"2-digit",minute:"2-digit",hour12:Ot(t),timeZone:"server"===t.time_zone?e:void 0})));Tt(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||Ot(t)?t.language:"en-u-hc-h23",{year:"numeric",month:"short",day:"numeric",hour:Ot(t)?"numeric":"2-digit",minute:"2-digit",hour12:Ot(t),timeZone:"server"===t.time_zone?e:void 0}))),Tt(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||Ot(t)?t.language:"en-u-hc-h23",{month:"short",day:"numeric",hour:Ot(t)?"numeric":"2-digit",minute:"2-digit",hour12:Ot(t),timeZone:"server"===t.time_zone?e:void 0}))),Tt(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||Ot(t)?t.language:"en-u-hc-h23",{year:"numeric",month:"long",day:"numeric",hour:Ot(t)?"numeric":"2-digit",minute:"2-digit",second:"2-digit",hour12:Ot(t),timeZone:"server"===t.time_zone?e:void 0})));const Lt=(t,e,i,o)=>{o=o||{},i=null==i?{}:i;const n=new Event(e,{bubbles:void 0===o.bubbles||o.bubbles,cancelable:Boolean(o.cancelable),composed:void 0===o.composed||o.composed});return n.detail=i,t.dispatchEvent(n),n},Pt=t=>t.substr(0,t.indexOf(".")),Nt="unavailable",Rt="unknown",Ft="off",Vt=[Nt,Rt,Ft];function Bt(t){const e=Pt(t.entity_id),i=t.state;if(["button","input_button","scene"].includes(e))return i!==Nt;if(Vt.includes(i))return!1;switch(e){case"cover":case"valve":return!["closed","closing"].includes(i);case"device_tracker":case"person":return"not_home"!==i;case"media_player":return"standby"!==i;case"vacuum":return!["idle","docked","paused"].includes(i);case"plant":return"problem"===i;default:return!0}}function Ut(t){return t.state!==Nt}function Ht(t){return t.state===Ft}function Yt(t){return t.attributes.entity_picture_local||t.attributes.entity_picture}const Wt=(t,e)=>Xt(t.attributes,e),Xt=(t,e)=>0!=(t.supported_features&e);Tt((t=>new Intl.Collator(t))),Tt((t=>new Intl.Collator(t,{sensitivity:"accent"})));const Kt=t=>Xt(t,4)&&"number"==typeof t.in_progress,Gt=t=>(t=>Kt(t.attributes))(t)||!!t.attributes.in_progress,qt=(t,e=2)=>{let i=""+t;for(let t=1;tfunction(t){const e=Math.floor(t/1e3/3600),i=Math.floor(t/1e3%3600/60),o=Math.floor(t/1e3%3600%60),n=Math.floor(t%1e3);return e>0?`${e}:${qt(i)}:${qt(o)}`:i>0?`${i}:${qt(o)}`:o>0||n>0?`${o}${n>0?`.${qt(n,3)}`:""}`:null}(parseFloat(t)*Zt[e])||"0",Qt=(t,e=2)=>Math.round(t*10**e)/10**e,te=(t,e,i)=>{const o=e?(t=>{switch(t.number_format){case kt.comma_decimal:return["en-US","en"];case kt.decimal_comma:return["de","es","it"];case kt.space_comma:return["fr","sv","cs"];case kt.system:return;default:return t.language}})(e):void 0;if(Number.isNaN=Number.isNaN||function t(e){return"number"==typeof e&&t(e)},(null==e?void 0:e.number_format)!==kt.none&&!Number.isNaN(Number(t))&&Intl)try{return new Intl.NumberFormat(o,ie(t,i)).format(Number(t))}catch(e){return console.error(e),new Intl.NumberFormat(void 0,ie(t,i)).format(Number(t))}return"string"==typeof t?t:`${Qt(t,null==i?void 0:i.maximumFractionDigits).toString()}${"currency"===(null==i?void 0:i.style)?` ${i.currency}`:""}`},ee=(t,e)=>{var i;const o=null==e?void 0:e.display_precision;return null!=o?{maximumFractionDigits:o,minimumFractionDigits:o}:Number.isInteger(Number(null===(i=t.attributes)||void 0===i?void 0:i.step))&&Number.isInteger(Number(t.state))?{maximumFractionDigits:0}:null!=t.attributes.step?{maximumFractionDigits:Math.ceil(Math.log10(1/t.attributes.step))}:void 0},ie=(t,e)=>{const i=Object.assign({maximumFractionDigits:2},e);if("string"!=typeof t)return i;if(!e||void 0===e.minimumFractionDigits&&void 0===e.maximumFractionDigits){const e=t.indexOf(".")>-1?t.split(".")[1].length:0;i.minimumFractionDigits=e,i.maximumFractionDigits=e}return i},oe=t=>{switch(t.language){case"cz":case"de":case"fi":case"fr":case"sk":case"sv":return" ";default:return""}},ne=(t,e,i,o,n,r)=>{const a=n[e.entity_id];return re(t,i,o,a,e.entity_id,e.attributes,void 0!==r?r:e.state)},re=(t,e,i,o,n,r,a)=>{var s;if(a===Rt||a===Nt)return t(`state.default.${a}`);if((t=>!!t.unit_of_measurement||!!t.state_class)(r)){if("duration"===r.device_class&&r.unit_of_measurement&&Zt[r.unit_of_measurement])try{return Jt(a,r.unit_of_measurement)}catch(t){}if("monetary"===r.device_class)try{return te(a,e,Object.assign({style:"currency",currency:r.unit_of_measurement,minimumFractionDigits:2},ee({state:a,attributes:r},o)))}catch(t){}const t=r.unit_of_measurement?"%"===r.unit_of_measurement?oe(e)+"%":` ${r.unit_of_measurement}`:"";return`${te(a,e,ee({state:a,attributes:r},o))}${t}`}const l=Pt(n);if("datetime"===l){const t=new Date(a);return jt(t,e,i)}if(["date","input_datetime","time"].includes(l))try{const t=a.split(" ");if(2===t.length)return jt(new Date(t.join("T")),Object.assign(Object.assign({},e),{time_zone:$t.local}),i);if(1===t.length){if(a.includes("-"))return((t,e,i)=>zt(e,i.time_zone).format(t))(new Date(`${a}T00:00`),Object.assign(Object.assign({},e),{time_zone:$t.local}),i);if(a.includes(":")){const t=new Date;return((t,e,i)=>Mt(e,i.time_zone).format(t))(new Date(`${t.toISOString().split("T")[0]}T${a}`),Object.assign(Object.assign({},e),{time_zone:$t.local}),i)}}return a}catch(t){return a}if("counter"===l||"number"===l||"input_number"===l)return te(a,e,ee({state:a,attributes:r},o));if(["button","event","input_button","scene","stt","tts"].includes(l)||"sensor"===l&&"timestamp"===r.device_class)try{return jt(new Date(a),e,i)}catch(t){return a}return"update"===l?"on"===a?(t=>Kt(t)||!!t.in_progress)(r)?Xt(r,4)&&"number"==typeof r.in_progress?t("ui.card.update.installing_with_progress",{progress:r.in_progress}):t("ui.card.update.installing"):r.latest_version:r.skipped_version===r.latest_version?null!==(s=r.latest_version)&&void 0!==s?s:t("state.default.unavailable"):t("ui.card.update.up_to_date"):(null==o?void 0:o.translation_key)&&t(`component.${o.platform}.entity.${l}.${o.translation_key}.state.${a}`)||r.device_class&&t(`component.${l}.entity_component.${r.device_class}.state.${a}`)||t(`component.${l}.entity_component._.state.${a}`)||a};class ae extends TypeError{constructor(t,e){let i;const{message:o,...n}=t,{path:r}=t;super(0===r.length?o:"At path: "+r.join(".")+" -- "+o),this.value=void 0,this.key=void 0,this.type=void 0,this.refinement=void 0,this.path=void 0,this.branch=void 0,this.failures=void 0,Object.assign(this,n),this.name=this.constructor.name,this.failures=()=>{var o;return null!=(o=i)?o:i=[t,...e()]}}}function se(t){return"object"==typeof t&&null!=t}function le(t){return"string"==typeof t?JSON.stringify(t):""+t}function ce(t,e,i,o){if(!0===t)return;!1===t?t={}:"string"==typeof t&&(t={message:t});const{path:n,branch:r}=e,{type:a}=i,{refinement:s,message:l="Expected a value of type `"+a+"`"+(s?" with refinement `"+s+"`":"")+", but received: `"+le(o)+"`"}=t;return{value:o,type:a,refinement:s,key:n[n.length-1],path:n,branch:r,...t,message:l}}function*de(t,e,i,o){(function(t){return se(t)&&"function"==typeof t[Symbol.iterator]})(t)||(t=[t]);for(const n of t){const t=ce(n,e,i,o);t&&(yield t)}}function*ue(t,e,i){void 0===i&&(i={});const{path:o=[],branch:n=[t],coerce:r=!1,mask:a=!1}=i,s={path:o,branch:n};if(r&&(t=e.coercer(t,s),a&&"type"!==e.type&&se(e.schema)&&se(t)&&!Array.isArray(t)))for(const i in t)void 0===e.schema[i]&&delete t[i];let l=!0;for(const i of e.validator(t,s))l=!1,yield[i,void 0];for(let[i,c,d]of e.entries(t,s)){const e=ue(c,d,{path:void 0===i?o:[...o,i],branch:void 0===i?n:[...n,c],coerce:r,mask:a});for(const o of e)o[0]?(l=!1,yield[o[0],void 0]):r&&(c=o[1],void 0===i?t=c:t instanceof Map?t.set(i,c):t instanceof Set?t.add(c):se(t)&&(t[i]=c))}if(l)for(const i of e.refiner(t,s))l=!1,yield[i,void 0];l&&(yield[void 0,t])}class he{constructor(t){this.TYPE=void 0,this.type=void 0,this.schema=void 0,this.coercer=void 0,this.validator=void 0,this.refiner=void 0,this.entries=void 0;const{type:e,schema:i,validator:o,refiner:n,coercer:r=(t=>t),entries:a=function*(){}}=t;this.type=e,this.schema=i,this.entries=a,this.coercer=r,this.validator=o?(t,e)=>de(o(t,e),e,this,t):()=>[],this.refiner=n?(t,e)=>de(n(t,e),e,this,t):()=>[]}assert(t){return me(t,this)}create(t){return function(t,e){const i=pe(t,e,{coerce:!0});if(i[0])throw i[0];return i[1]}(t,this)}is(t){return function(t,e){const i=pe(t,e);return!i[0]}(t,this)}mask(t){return function(t,e){const i=pe(t,e,{coerce:!0,mask:!0});if(i[0])throw i[0];return i[1]}(t,this)}validate(t,e){return void 0===e&&(e={}),pe(t,this,e)}}function me(t,e){const i=pe(t,e);if(i[0])throw i[0]}function pe(t,e,i){void 0===i&&(i={});const o=ue(t,e,i),n=function(t){const{done:e,value:i}=t.next();return e?void 0:i}(o);if(n[0]){const t=new ae(n[0],(function*(){for(const t of o)t[0]&&(yield t[0])}));return[t,void 0]}return[void 0,n[1]]}function fe(){for(var t=arguments.length,e=new Array(t),i=0;it.schema)),r=Object.assign({},...n);return o?Ae(r):Ce(r)}function ge(t,e){return new he({type:t,schema:null,validator:e})}function _e(t){return new he({type:"dynamic",schema:null,*entries(e,i){const o=t(e,i);yield*o.entries(e,i)},validator:(e,i)=>t(e,i).validator(e,i),coercer:(e,i)=>t(e,i).coercer(e,i),refiner:(e,i)=>t(e,i).refiner(e,i)})}function ve(){return ge("any",(()=>!0))}function be(t){return new he({type:"array",schema:t,*entries(e){if(t&&Array.isArray(e))for(const[i,o]of e.entries())yield[i,o,t]},coercer:t=>Array.isArray(t)?t.slice():t,validator:t=>Array.isArray(t)||"Expected an array value, but received: "+le(t)})}function ye(){return ge("boolean",(t=>"boolean"==typeof t))}function xe(t){const e={},i=t.map((t=>le(t))).join();for(const i of t)e[i]=i;return new he({type:"enums",schema:e,validator:e=>t.includes(e)||"Expected one of `"+i+"`, but received: "+le(e)})}function we(t){const e=le(t),i=typeof t;return new he({type:"literal",schema:"string"===i||"number"===i||"boolean"===i?t:null,validator:i=>i===t||"Expected the literal `"+e+"`, but received: "+le(i)})}function ke(){return ge("number",(t=>"number"==typeof t&&!isNaN(t)||"Expected a number, but received: "+le(t)))}function Ce(t){const e=t?Object.keys(t):[],i=ge("never",(()=>!1));return new he({type:"object",schema:t||null,*entries(o){if(t&&se(o)){const n=new Set(Object.keys(o));for(const i of e)n.delete(i),yield[i,o[i],t[i]];for(const t of n)yield[t,o[t],i]}},validator:t=>se(t)||"Expected an object, but received: "+le(t),coercer:t=>se(t)?{...t}:t})}function $e(t){return new he({...t,validator:(e,i)=>void 0===e||t.validator(e,i),refiner:(e,i)=>void 0===e||t.refiner(e,i)})}function Ee(){return ge("string",(t=>"string"==typeof t||"Expected a string, but received: "+le(t)))}function Ae(t){const e=Object.keys(t);return new he({type:"type",schema:t,*entries(i){if(se(i))for(const o of e)yield[o,i[o],t[o]]},validator:t=>se(t)||"Expected an object, but received: "+le(t)})}function Se(t){const e=t.map((t=>t.type)).join(" | ");return new he({type:"union",schema:null,coercer(e,i){const o=t.find((t=>{const[i]=t.validate(e,{coerce:!0});return!i}))||ge("unknown",(()=>!0));return o.coercer(e,i)},validator(i,o){const n=[];for(const e of t){const[...t]=ue(i,e,o),[r]=t;if(!r[0])return[];for(const[e]of t)e&&n.push(e)}return["Expected the value to satisfy a union of `"+e+"`, but received: "+le(i),...n]}})}function Ie(t){const e=t.language||"en";return t.translationMetadata.translations[e]&&t.translationMetadata.translations[e].isRTL||!1}const Te=(t,e,i=!1)=>{let o;const n=(...n)=>{const r=i&&!o;clearTimeout(o),o=window.setTimeout((()=>{o=void 0,i||t(...n)}),e),r&&t(...n)};return n.cancel=()=>{clearTimeout(o)},n},ze=(t,e)=>{if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;let i,o;if(Array.isArray(t)){if(o=t.length,o!==e.length)return!1;for(i=o;0!=i--;)if(!ze(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!ze(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(e)){if(o=t.length,o!==e.length)return!1;for(i=o;0!=i--;)if(t[i]!==e[i])return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();const n=Object.keys(t);if(o=n.length,o!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=o;0!=i--;){const o=n[i];if(!ze(t[o],e[o]))return!1}return!0}return t!=t&&e!=e},Oe=()=>new Promise((t=>{var e;e=t,requestAnimationFrame((()=>setTimeout(e,0)))})),Me={auto:1,heat_cool:2,heat:3,cool:4,dry:5,fan_only:6,off:7},je=(t,e)=>Me[t]-Me[e];const De=["hs","xy","rgb","rgbw","rgbww"],Le=[...De,"color_temp","brightness","white"],Pe=16384,Ne="returning",Re=8192,Fe=(t,e,i)=>t.subscribeMessage((t=>e(t)),Object.assign({type:"render_template"},i)) /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */,Ve=1,Be=3,Ue=4,He=t=>(...e)=>({_$litDirective$:t,values:e});let Ye=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};const We=(t,e)=>{const i=(()=>{const t=document.body;if(t.querySelector("action-handler"))return t.querySelector("action-handler");const e=document.createElement("action-handler");return t.appendChild(e),e})();i&&i.bind(t,e)},Xe=He(class extends Ye{update(t,[e]){return We(t.element,e),X}render(t){}}),Ke=async(t,e,i,o)=>{Lt(t,"hass-action",{config:i,action:o})};function Ge(t){return void 0!==t&&"none"!==t.action}const qe=Ce({user:Ee()}),Ze=Se([ye(),Ce({text:$e(Ee()),excemptions:$e(be(qe))})]),Je=Ce({action:we("url"),url_path:Ee(),confirmation:$e(Ze)}),Qe=Ce({action:we("call-service"),service:Ee(),service_data:$e(Ce()),data:$e(Ce()),target:$e(Ce({entity_id:$e(Se([Ee(),be(Ee())])),device_id:$e(Se([Ee(),be(Ee())])),area_id:$e(Se([Ee(),be(Ee())]))})),confirmation:$e(Ze)}),ti=Ce({action:we("navigate"),navigation_path:Ee(),confirmation:$e(Ze)}),ei=Ae({action:we("assist"),pipeline_id:$e(Ee()),start_listening:$e(ye())}),ii=Ae({action:we("fire-dom-event")}),oi=Ce({action:xe(["none","toggle","more-info","call-service","url","navigate","assist"]),confirmation:$e(Ze)}),ni=_e((t=>{if(t&&"object"==typeof t&&"action"in t)switch(t.action){case"call-service":return Qe;case"fire-dom-event":return ii;case"navigate":return ti;case"url":return Je;case"assist":return ei}return oi})),ri=h` - #sortable a:nth-of-type(2n) paper-icon-item { - animation-name: keyframes1; - animation-iteration-count: infinite; - transform-origin: 50% 10%; - animation-delay: -0.75s; - animation-duration: 0.25s; + #sortable a:nth-of-type(2n) paper-icon-item { + animation-name: keyframes1; + animation-iteration-count: infinite; + transform-origin: 50% 10%; + animation-delay: -0.75s; + animation-duration: 0.25s; + } + + #sortable a:nth-of-type(2n-1) paper-icon-item { + animation-name: keyframes2; + animation-iteration-count: infinite; + animation-direction: alternate; + transform-origin: 30% 5%; + animation-delay: -0.5s; + animation-duration: 0.33s; + } + + #sortable a { + height: 48px; + display: flex; + } + + #sortable { + outline: none; + display: block !important; + } + + .hidden-panel { + display: flex !important; + } + + .sortable-fallback { + display: none; + } + + .sortable-ghost { + opacity: 0.4; + } + + .sortable-fallback { + opacity: 0; + } + + @keyframes keyframes1 { + 0% { + transform: rotate(-1deg); + animation-timing-function: ease-in; } - #sortable a:nth-of-type(2n-1) paper-icon-item { - animation-name: keyframes2; - animation-iteration-count: infinite; - animation-direction: alternate; - transform-origin: 30% 5%; - animation-delay: -0.5s; - animation-duration: 0.33s; + 50% { + transform: rotate(1.5deg); + animation-timing-function: ease-out; + } + } + + @keyframes keyframes2 { + 0% { + transform: rotate(1deg); + animation-timing-function: ease-in; } - #sortable a { - height: 48px; - display: flex; + 50% { + transform: rotate(-1.5deg); + animation-timing-function: ease-out; } + } - #sortable { - outline: none; - display: block !important; - } + .show-panel, + .hide-panel { + display: none; + position: absolute; + top: 0; + right: 4px; + --mdc-icon-button-size: 40px; + } - .hidden-panel { - display: flex !important; - } + :host([rtl]) .show-panel { + right: initial; + left: 4px; + } - .sortable-fallback { - display: none; - } + .hide-panel { + top: 4px; + right: 8px; + } - .sortable-ghost { - opacity: 0.4; - } + :host([rtl]) .hide-panel { + right: initial; + left: 8px; + } - .sortable-fallback { - opacity: 0; - } + :host([expanded]) .hide-panel { + display: block; + } - @keyframes keyframes1 { - 0% { - transform: rotate(-1deg); - animation-timing-function: ease-in; - } + :host([expanded]) .show-panel { + display: inline-flex; + } - 50% { - transform: rotate(1.5deg); - animation-timing-function: ease-out; - } - } - - @keyframes keyframes2 { - 0% { - transform: rotate(1deg); - animation-timing-function: ease-in; - } - - 50% { - transform: rotate(-1.5deg); - animation-timing-function: ease-out; - } - } - - .show-panel, - .hide-panel { - display: none; - position: absolute; - top: 0; - right: 4px; - --mdc-icon-button-size: 40px; - } - - :host([rtl]) .show-panel { - right: initial; - left: 4px; - } - - .hide-panel { - top: 4px; - right: 8px; - } - - :host([rtl]) .hide-panel { - right: initial; - left: 8px; - } - - :host([expanded]) .hide-panel { - display: block; - } - - :host([expanded]) .show-panel { - display: inline-flex; - } - - paper-icon-item.hidden-panel, - paper-icon-item.hidden-panel span, - paper-icon-item.hidden-panel ha-icon[slot="item-icon"] { - color: var(--secondary-text-color); - cursor: pointer; - } -`;var ai={form:{color_picker:{values:{default:"اللون الإفتراضي"}},info_picker:{values:{default:"المعلومات الافتراضية",name:"الإسم",state:"الحالة","last-changed":"آخر تغيير","last-updated":"آخر تحديث",none:"لا شئ"}},icon_type_picker:{values:{default:"النوع افتراضي",icon:"أيقونة","entity-picture":"صورة الكيان",none:"لا شئ"}},layout_picker:{values:{default:"تخطيط افتراضي",vertical:"تخطيط رأسي",horizontal:"تخطيط أفقي"}},alignment_picker:{values:{default:"المحاذاة الافتراضية",start:"بداية",end:"نهاية",center:"توسيط",justify:"مساواة"}}},card:{generic:{icon_color:"لون الأيقونة",layout:"التخطيط",fill_container:"ملئ الحاوية",primary_info:"المعلومات الأساسية",secondary_info:"المعلومات الفرعية",icon_type:"نوع الأيقونة",content_info:"المحتوى",use_entity_picture:"استخدم صورة الكيان؟",collapsible_controls:"تصغير عناصر التحكم عند الإيقاف",icon_animation:"تحريك الرمز عندما يكون نشطًا؟"},light:{show_brightness_control:"التحكم في السطوع؟",use_light_color:"استخدم لون فاتح",show_color_temp_control:"التحكم في حرارة اللون؟",show_color_control:"التحكم في اللون؟",incompatible_controls:"قد لا يتم عرض بعض عناصر التحكم إذا كان الضوء الخاص بك لا يدعم الميزة."},fan:{show_percentage_control:"التحكم في النسبة المئوية؟",show_oscillate_control:"التحكم في التذبذب؟"},cover:{show_buttons_control:"أزرار التحكم؟",show_position_control:"التحكم في الموقع؟"},template:{primary:"المعلومات الأساسية",secondary:"المعلومات الثانوية",multiline_secondary:"متعدد الأسطر الثانوية؟",entity_extra:"تستخدم في القوالب والإجراءات",content:"المحتوى",badge_icon:"أيقونة الشارة",badge_color:"لون الشارة",picture:"صورة (ستحل محل الأيقونة)"},title:{title:"العنوان",subtitle:"العنوان الفرعي"},chips:{alignment:"محاذاة"},weather:{show_conditions:"الأحوال الجوية؟",show_temperature:"الطقس؟"},update:{show_buttons_control:"أزرار التحكم؟"},vacuum:{commands:"الاوامر"},"media-player":{use_media_info:"استخدم معلومات الوسائط",use_media_artwork:"استخدم صورة الوسائط",show_volume_level:"إظهار مستوى الصوت",media_controls:"التحكم في الوسائط",media_controls_list:{on_off:"تشغيل/إيقاف",shuffle:"خلط",previous:"السابق",play_pause_stop:"تشغيل/إيقاف مؤقت/إيقاف",next:"التالي",repeat:"وضع التكرار"},volume_controls:"التحكم في الصوت",volume_controls_list:{volume_buttons:"أزرار الصوت",volume_set:"مستوى الصوت",volume_mute:"كتم"}},lock:{lock:"مقفل",unlock:"إلغاء قفل",open:"مفتوح"},humidifier:{show_target_humidity_control:"التحكم في الرطوبة؟?"},climate:{show_temperature_control:"التحكم في درجة الحرارة؟",hvac_modes:"أوضاع HVAC"}},chip:{sub_element_editor:{title:"محرر الرقاقة"},conditional:{chip:"رقاقة"},"chip-picker":{chips:"رقاقات",add:"أضف رقاقة",edit:"تعديل",clear:"مسح",select:"اختر الرقاقة",types:{action:"إجراء","alarm-control-panel":"تنبيه",back:"رجوع",conditional:"مشروط",entity:"الكيان",light:"Light",menu:"القائمة",template:"قالب",weather:"الطقس"}}}},li={editor:ai},si={form:{color_picker:{values:{default:"Основен цвят"}},info_picker:{values:{default:"Основна информация",name:"Име",state:"Състояние","last-changed":"Последно Променен","last-updated":"Последно Актуализиран",none:"Липсва"}},icon_type_picker:{values:{default:"Основен тип",icon:"Икона","entity-picture":"Картина на обекта",none:"Липсва"}},layout_picker:{values:{default:"Основно оформление",vertical:"Вертикално оформление",horizontal:"Хоризонтално оформление"}},alignment_picker:{values:{default:"Основно подравняване",start:"Старт",end:"Край",center:"Център",justify:"Подравнен"}}},card:{generic:{icon_color:"Цвят на икона",layout:"Оформление",fill_container:"Изпълване на контейнера",primary_info:"Първостепенна информация",secondary_info:"Второстепенна информация",icon_type:"Тип на икона",content_info:"Съдържание",use_entity_picture:"Използвай снимката на обекта?",collapsible_controls:"Свий контролите при изключен",icon_animation:"Анимирай иконата при активен?"},light:{show_brightness_control:"Контрол на яркостта?",use_light_color:"Използвай цвета на светлината",show_color_temp_control:"Контрол на температурата?",show_color_control:"Контрол на цвета?",incompatible_controls:"Някои опции могат да бъдат скрити при условие че осветителното тяло не поддържа фунцията."},fan:{show_percentage_control:"Процентов контрол?",show_oscillate_control:"Контрол на трептенето?"},cover:{show_buttons_control:"Контролни бутони?",show_position_control:"Контрол на позицията?",show_tilt_position_control:"Контрол на наклона?"},template:{primary:"Първостепенна информация",secondary:"Второстепенна информация",multiline_secondary:"Много-редова второстепенна информация?",entity_extra:"Използван в шаблони и действия",content:"Съдържание",badge_icon:"Икона на значка",badge_color:"Цвят на значка",picture:"Картина (ще замени иконата)"},title:{title:"Заглавие",subtitle:"Подзаглавие"},chips:{alignment:"Подравняване"},weather:{show_conditions:"Условия?",show_temperature:"Температура?"},update:{show_buttons_control:"Контролни бутони?"},vacuum:{commands:"Конади",commands_list:{on_off:"Вкл./Изкл."}},"media-player":{use_media_info:"Използвай информация от медията",use_media_artwork:"Използвай визуалните детайли от медията",show_volume_level:"Покажи контрола за звук",media_controls:"Контрол на Медиата",media_controls_list:{on_off:"Вкл./Изкл.",shuffle:"Разбъркано",previous:"Предишен",play_pause_stop:"Пусни/пауза/стоп",next:"Следващ",repeat:"Повтаряне"},volume_controls:"Контрол на звука",volume_controls_list:{volume_buttons:"Бутони за звук",volume_set:"Ниво на звука",volume_mute:"Заглуши"}},lock:{lock:"Заключен",unlock:"Отключен",open:"Отворен"},humidifier:{show_target_humidity_control:"Контрол на влажността?"},climate:{show_temperature_control:"Контрол на температурата?",hvac_modes:"HVAC Режими"}},chip:{sub_element_editor:{title:"Чип редактор"},conditional:{chip:"Чип"},"chip-picker":{chips:"Чипове",add:"Добави чип",edit:"Редактирай",clear:"Изчисти",select:"Избери чип",types:{action:"Действия","alarm-control-panel":"Аларма",back:"Назад",conditional:"Условни",entity:"Обект",light:"Осветление",menu:"Меню",template:"Шаблон",weather:"Време"}}}},ci={editor:si},di={form:{color_picker:{values:{default:"Color per defecte"}},info_picker:{values:{default:"Informació per defecte",name:"Nom",state:"Estat","last-changed":"Últim Canvi","last-updated":"Última Actualització",none:"Cap"}},icon_type_picker:{values:{default:"Tipus per defecte",icon:"Icona","entity-picture":"Entitat d'imatge",none:"Cap"}},layout_picker:{values:{default:"Distribució per defecte",vertical:"Distribució vertical",horizontal:"Distribució horitzontal"}},alignment_picker:{values:{default:"Alineació per defecte",start:"Inici",end:"Final",center:"Centre",justify:"Justifica"}}},card:{generic:{icon_color:"Color d'icona",layout:"Distribució",fill_container:"Emplena el contenidor",primary_info:"Informació primaria",secondary_info:"Informació secundaria",icon_type:"Tipus d'icona",content_info:"Contingut",use_entity_picture:"Fer servir la imatge de l'entitat?",collapsible_controls:"Amaga els controls en desactivar",icon_animation:"Animar icona en activar?"},light:{show_brightness_control:"Control de brillantor?",use_light_color:"Fes servir el color del llum",show_color_temp_control:"Control de la temperatura del color?",show_color_control:"Control de color?",incompatible_controls:"Alguns controls no es mostraran si l'entitat no suporta eixa funció."},fan:{show_percentage_control:"Control de percentatge?",show_oscillate_control:"Control d'oscil·lació?"},cover:{show_buttons_control:"Botons de control?",show_position_control:"Control de posició?",show_tilt_position_control:"Control d'inclinació?"},template:{primary:"Informació primaria",secondary:"Informació secundaria",multiline_secondary:"Secundaria en varies línies?",entity_extra:"Utilitzats en plantilles i accions",content:"Contingut",badge_icon:"Icona de la insígnia",badge_color:"Color de la insígnia",picture:"Imatge (reemplaçarà la icona)"},title:{title:"Títol",subtitle:"Subtítol",title_tap_action:"Acció en tocar el títol",subtitle_tap_action:"Acció en tocar el subtítol"},chips:{alignment:"Alineació"},weather:{show_conditions:"Condicions?",show_temperature:"Temperatura?"},update:{show_buttons_control:"Botons de control?"},vacuum:{commands:"Comandaments",commands_list:{on_off:"Engegar/Apagar"}},"media-player":{use_media_info:"Empra la informació multimèdia",use_media_artwork:"Fes servir l'art multimèdia",show_volume_level:"Mostra el nivell de volum",media_controls:"Controls multimèdia",media_controls_list:{on_off:"Engegar/Apagar",shuffle:"Mesclar",previous:"Pista anterior",play_pause_stop:"Reproduïr/Pausar/Detindre",next:"Pista següent",repeat:"Mode de repetició"},volume_controls:"Controls de volum",volume_controls_list:{volume_buttons:"Botons de volum",volume_set:"Nivell de volum",volume_mute:"Silenci"}},lock:{lock:"Bloqueja",unlock:"Desbloqueja",open:"Obri"},humidifier:{show_target_humidity_control:"Control d'humitat?"},climate:{show_temperature_control:"Control de temperatura?",hvac_modes:"Modes HVAC"},number:{display_mode:"Mode de visualització",display_mode_list:{default:"Per defecte (lliscant)",slider:"Lliscant",buttons:"Botons"}}},chip:{sub_element_editor:{title:"Editor de xips"},conditional:{chip:"Xip"},"chip-picker":{chips:"Xips",add:"Afegir xip",edit:"Editar",clear:"Buidar",select:"Seleccionar chip",types:{action:"Acció","alarm-control-panel":"Alarma",back:"Tornar",conditional:"Condicional",entity:"Entitat",light:"Llum",menu:"Menú",spacer:"Espai",template:"Plantilla",weather:"Oratge"}}}},ui={not_found:"No s'ha trobat l'entitat"},hi={editor:di,card:ui},mi={form:{color_picker:{values:{default:"Výchozí barva"}},info_picker:{values:{default:"Základní informace",name:"Název",state:"Stav","last-changed":"Poslední změna","last-updated":"Poslední update",none:"Nic"}},icon_type_picker:{values:{default:"Výchozí typ",icon:"Ikona","entity-picture":"Ikona entity",none:"Nic"}},layout_picker:{values:{default:"Výchozí rozložení",vertical:"Svislé rozložení",horizontal:"Vodorovné rozložení"}},alignment_picker:{values:{default:"Výchozí zarovnání",start:"Začátek",end:"Konec",center:"Na střed",justify:"Do bloku"}}},card:{generic:{icon_color:"Barva ikony",layout:"Rozložení",fill_container:"Vyplnit prostor",primary_info:"Základní informace",secondary_info:"Sekundární informace",icon_type:"Typ ikony",content_info:"Obsah",use_entity_picture:"Použít ikonu entity?",collapsible_controls:"Skrýt ovládací prvky pokud je VYP",icon_animation:"Animovaná ikona, pokud je aktivní?"},light:{show_brightness_control:"Ovládání jasu?",use_light_color:"Ikona podle barvy světla?",show_color_temp_control:"Ovládání teploty světla?",show_color_control:"Ovládání barvy světla?",incompatible_controls:"Některé ovládací prvky se nemusí zobrazit, pokud vaše světlo tuto funkci nepodporuje."},fan:{show_percentage_control:"Ovládání v procentech?",show_oscillate_control:"Oscillate control?"},cover:{show_buttons_control:"Zobrazit ovládací tlačítka?",show_position_control:"Zobrazit ovládání polohy?",show_tilt_position_control:"Zobrazit ovládání náklonu?"},template:{primary:"Základní informace",secondary:"Sekundární informace",multiline_secondary:"Víceřádková sekundární informace?",entity_extra:"Použito v šablonách a akcích",content:"Obsah",badge_icon:"Ikona odznaku",badge_color:"Barva odznaku",picture:"Obrázek (nahradí ikonu)"},title:{title:"Titulek",subtitle:"Popis",title_tap_action:"Titulek akce klepnutím",subtitle_tap_action:"Popis akce klepnutím"},chips:{alignment:"Zarovnání"},weather:{show_conditions:"Zobrazit podmínky?",show_temperature:"Zobrazit teplotu?"},update:{show_buttons_control:"Zobrazit ovládací tlačítka?"},vacuum:{commands:"Příkazy",commands_list:{on_off:"Vyp / Zap"}},"media-player":{use_media_info:"Použít informace o médiích",use_media_artwork:"Použít ilustrace médií",show_volume_level:"Zobrazit úroveň hlasitosti",media_controls:"Ovládání médií",media_controls_list:{on_off:"Vyp / Zap",shuffle:"Zamíchat",previous:"Předchozí skladba",play_pause_stop:"hrát/pauza/zastavit",next:"Další skladba",repeat:"Opakovat"},volume_controls:"Ovládání hlasitosti",volume_controls_list:{volume_buttons:"Tlačítka hlasitosti",volume_set:"Úroveň hlasitosti",volume_mute:"Ztlumit"}},lock:{lock:"Zamčeno",unlock:"Odemčeno",open:"Otevřeno"},humidifier:{show_target_humidity_control:"Ovládání vlhkosti?"},climate:{show_temperature_control:"Ovládání teploty?",hvac_modes:"HVAC Mód"},number:{display_mode:"Režim zobrazení",display_mode_list:{default:"Výchozí (posuvník)",slider:"Posuvník",buttons:"Tlačítka"}}},chip:{sub_element_editor:{title:"Editor tlačítek"},conditional:{chip:"Tlačítko"},"chip-picker":{chips:"Tlačítka",add:"Přidat tlačítko",edit:"Editovat",clear:"Vymazat",select:"Vybrat tlačítko",types:{action:"Akce","alarm-control-panel":"Alarm",back:"Zpět",conditional:"Podmínky",entity:"Entita",light:"Světlo",menu:"Menu",spacer:"Mezera",template:"Šablona",weather:"Počasí"}}}},pi={not_found:"Entita nebyla nalezena"},fi={editor:mi,card:pi},gi={form:{color_picker:{values:{default:"Standard farve"}},info_picker:{values:{default:"Standard information",name:"Navn",state:"Status","last-changed":"Sidst ændret","last-updated":"Sidst opdateret",none:"Ingen"}},icon_type_picker:{values:{default:"Standard type",icon:"Ikon","entity-picture":"Enheds billede",none:"Ingen"}},layout_picker:{values:{default:"Standard layout",vertical:"Vertikal layout",horizontal:"Horisontal layout"}},alignment_picker:{values:{default:"Standard justering",start:"Start",end:"Slut",center:"Centrer",justify:"Lige margener"}}},card:{generic:{icon_color:"Ikon farve",layout:"Layout",fill_container:"Fyld container",primary_info:"Primær information",secondary_info:"Sekundær information",icon_type:"Ikon type",content_info:"Indhold",use_entity_picture:"Brug enheds billede?",collapsible_controls:"Skjul kontroller når slukket",icon_animation:"Animér ikon når aktiv?"},light:{show_brightness_control:"Lysstyrkekontrol?",use_light_color:"Brug lysfarve",show_color_temp_control:"Temperatur farvekontrol?",show_color_control:"Farvekontrol?",incompatible_controls:"Nogle kontroller vises muligvis ikke, hvis dit lys ikke understøtter funktionen."},fan:{show_percentage_control:"Procentvis kontrol?",show_oscillate_control:"Oscillerende kontrol?"},cover:{show_buttons_control:"Betjeningsknapper?",show_position_control:"Positionskontrol?"},template:{primary:"Primær information",secondary:"Sekundær information",multiline_secondary:"Multi-linje skundær?",entity_extra:"Anvendes i skabelober og handlinger",content:"Indhold",badge_icon:"Badge ikon",badge_color:"Badge farve",picture:"Billede (erstatter ikonen)"},title:{title:"Titel",subtitle:"Undertitel"},chips:{alignment:"Justering"},weather:{show_conditions:"Forhold?",show_temperature:"Temperatur?"},update:{show_buttons_control:"Betjeningsknapper?"},vacuum:{commands:"Kommandoer"},"media-player":{use_media_info:"Brug medie info",use_media_artwork:"Brug mediebilleder",show_volume_level:"Vis volumen niveau",media_controls:"Medie kontrol",media_controls_list:{on_off:"Tænd/Sluk",shuffle:"Bland",previous:"Forrige nummer",play_pause_stop:"Afspil/Pause/Stop",next:"Næste nummer",repeat:"Gentagelsestilstand"},volume_controls:"Volumen kontrol",volume_controls_list:{volume_buttons:"Volumen knapper",volume_set:"Volumenniveau",volume_mute:"Lydløs"}},lock:{lock:"Lås",unlock:"Lås op",open:"Åben"},humidifier:{show_target_humidity_control:"Luftfugtigheds kontrol?"},climate:{show_temperature_control:"Temperatur kontrol?",hvac_modes:"HVAC-tilstande"}},chip:{sub_element_editor:{title:"Chip-editor"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Tilføj chip",edit:"Rediger",clear:"Nulstil",select:"Vælg chip",types:{action:"Handling","alarm-control-panel":"Alarm",back:"Tilbage",conditional:"Betinget",entity:"Enhed",light:"Lys",menu:"Menu",template:"Skabelon",weather:"Vejr"}}}},_i={editor:gi},vi={form:{color_picker:{values:{default:"Standardfarbe"}},info_picker:{values:{default:"Standard-Information",name:"Name",state:"Zustand","last-changed":"Letzte Änderung","last-updated":"Letzte Aktualisierung",none:"Keine"}},icon_type_picker:{values:{default:"Standard-Typ",icon:"Icon","entity-picture":"Entitätsbild",none:"Keines"}},layout_picker:{values:{default:"Standard-Layout",vertical:"Vertikales Layout",horizontal:"Horizontales Layout"}},alignment_picker:{values:{default:"Standard",start:"Anfang",end:"Ende",center:"Mitte",justify:"Ausrichten"}}},card:{generic:{icon_color:"Icon-Farbe",layout:"Layout",fill_container:"Container ausfüllen",primary_info:"Primäre Information",secondary_info:"Sekundäre Information",icon_type:"Icon-Typ",content_info:"Inhalt",use_entity_picture:"Entitätsbild verwenden?",collapsible_controls:"Schieberegler einklappen, wenn aus",icon_animation:"Icon animieren, wenn aktiv?"},light:{show_brightness_control:"Helligkeitsregelung?",use_light_color:"Farbsteuerung verwenden",show_color_temp_control:"Farbtemperatursteuerung?",show_color_control:"Farbsteuerung?",incompatible_controls:"Einige Steuerelemente werden möglicherweise nicht angezeigt, wenn Ihr Licht diese Funktion nicht unterstützt."},fan:{show_percentage_control:"Prozentuale Kontrolle?",show_oscillate_control:"Oszillationssteuerung?"},cover:{show_buttons_control:"Schaltflächensteuerung?",show_position_control:"Positionssteuerung?",show_tilt_position_control:"Winkelsteuerung?"},template:{primary:"Primäre Information",secondary:"Sekundäre Information",multiline_secondary:"Mehrzeilig sekundär?",entity_extra:"Wird in Vorlagen und Aktionen verwendet",content:"Inhalt",badge_icon:"Badge-Icon",badge_color:"Badge-Farbe",picture:"Bild (ersetzt das Icon)"},title:{title:"Titel",subtitle:"Untertitel",title_tap_action:"Titel Tipp-Aktion",subtitle_tap_action:"Untertitel Tipp-Aktion"},chips:{alignment:"Ausrichtung"},weather:{show_conditions:"Bedingungen?",show_temperature:"Temperatur?"},update:{show_buttons_control:"Schaltflächensteuerung?"},vacuum:{commands:"Befehle",commands_list:{on_off:"An/Ausschalten"}},"media-player":{use_media_info:"Medieninfos verwenden",use_media_artwork:"Mediengrafik verwenden",show_volume_level:"Lautstärke-Level anzeigen",media_controls:"Mediensteuerung",media_controls_list:{on_off:"Ein/Aus",shuffle:"Zufällige Wiedergabe",previous:"Vorheriger Titel",play_pause_stop:"Play/Pause/Stop",next:"Nächster Titel",repeat:"Wiederholen"},volume_controls:"Lautstärkesteuerung",volume_controls_list:{volume_buttons:"Lautstärke-Buttons",volume_set:"Lautstärke-Level",volume_mute:"Stumm"}},lock:{lock:"Verriegeln",unlock:"Entriegeln",open:"Öffnen"},humidifier:{show_target_humidity_control:"Luftfeuchtigkeitssteuerung?"},climate:{show_temperature_control:"Temperatursteuerung?",hvac_modes:"HVAC-Modi"},number:{display_mode:"Anzeigemodus",display_mode_list:{default:"Standard (Schieberegler)",slider:"Schieberegler",buttons:"Buttons"}}},chip:{sub_element_editor:{title:"Chip Editor"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Chip hinzufügen",edit:"Editieren",clear:"Löschen",select:"Chip auswählen",types:{action:"Aktion","alarm-control-panel":"Alarm",back:"Zurück",conditional:"Bedingung",entity:"Entität",light:"Licht",menu:"Menü",spacer:"Abstand",template:"Vorlage",weather:"Wetter"}}}},bi={not_found:"Entität nicht gefunden"},yi={editor:vi,card:bi},xi={form:{color_picker:{values:{default:"Προεπιλεγμένο χρώμα"}},info_picker:{values:{default:"Προεπιλεγμένες πληροφορίες",name:"Όνομα",state:"Κατάσταση","last-changed":"Τελευταία αλλαγή","last-updated":"Τελευταία ενημέρωση",none:"Τίποτα"}},layout_picker:{values:{default:"Προεπιλεγμένη διάταξη",vertical:"Κάθετη διάταξη",horizontal:"Οριζόντια διάταξη"}},alignment_picker:{values:{default:"Προεπιλεγμένη στοίχιση",start:"Στοίχιση αριστερά",end:"Στοίχιση δεξιά",center:"Στοίχιση στο κέντρο",justify:"Πλήρης στοίχιση"}}},card:{generic:{icon_color:"Χρώμα εικονιδίου",layout:"Διάταξη",primary_info:"Πρωτεύουσες πληροφορίες",secondary_info:"Δευτερεύουσες πληροφορίες",content_info:"Περιεχόμενο",use_entity_picture:"Χρήση εικόνας οντότητας;",icon_animation:"Κίνηση εικονιδίου όταν είναι ενεργό;"},light:{show_brightness_control:"Έλεγχος φωτεινότητας;",use_light_color:"Χρήση χρώματος φωτος",show_color_temp_control:"Έλεγχος χρώματος θερμοκρασίας;",show_color_control:"Έλεγχος χρώματος;",incompatible_controls:"Ορισμένα στοιχεία ελέγχου ενδέχεται να μην εμφανίζονται εάν το φωτιστικό σας δεν υποστηρίζει τη λειτουργία."},fan:{show_percentage_control:"Έλεγχος ποσοστού;",show_oscillate_control:"Έλεγχος ταλάντωσης;"},cover:{show_buttons_control:"Έλεγχος κουμπιών;",show_position_control:"Έλεγχος θέσης;"},template:{primary:"Πρωτεύουσες πληροφορίες",secondary:"Δευτερεύουσες πληροφορίες",multiline_secondary:"Δευτερεύουσες πολλαπλών γραμμών;",entity_extra:"Χρησιμοποιείται σε πρότυπα και ενέργειες",content:"Περιεχόμενο"},title:{title:"Τίτλος",subtitle:"Υπότιτλος"},chips:{alignment:"Ευθυγράμμιση"},weather:{show_conditions:"Συνθήκες;",show_temperature:"Θερμοκρασία;"},update:{show_buttons_control:"Έλεγχος κουμπιών;"},vacuum:{commands:"Εντολές"},"media-player":{use_media_info:"Χρήση πληροφοριών πολυμέσων",use_media_artwork:"Χρήση έργων τέχνης πολυμέσων",media_controls:"Έλεγχος πολυμέσων",media_controls_list:{on_off:"Ενεργοποίηση/απενεργοποίηση",shuffle:"Τυχαία σειρά",previous:"Προηγούμενο κομμάτι",play_pause_stop:"Αναπαραγωγή/παύση/διακοπή",next:"Επόμενο κομμάτι",repeat:"Λειτουργία επανάληψης"},volume_controls:"Χειριστήρια έντασης ήχου",volume_controls_list:{volume_buttons:"Κουμπιά έντασης ήχου",volume_set:"Επίπεδο έντασης ήχου",volume_mute:"Σίγαση"}}},chip:{sub_element_editor:{title:"Επεξεργαστής Chip"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Προσθήκη chip",edit:"Επεξεργασία",clear:"Καθαρισμός",select:"Επιλογή chip",types:{action:"Ενέργεια","alarm-control-panel":"Συναγερμός",back:"Πίσω",conditional:"Υπό προϋποθέσεις",entity:"Οντότητα",light:"Φως",menu:"Μενού",template:"Πρότυπο",weather:"Καιρός"}}}},wi={editor:xi},ki={form:{color_picker:{values:{default:"Default color"}},info_picker:{values:{default:"Default information",name:"Name",state:"State","last-changed":"Last Changed","last-updated":"Last Updated",none:"None"}},icon_type_picker:{values:{default:"Default type",icon:"Icon","entity-picture":"Entity picture",none:"None"}},layout_picker:{values:{default:"Default layout",vertical:"Vertical layout",horizontal:"Horizontal layout"}},alignment_picker:{values:{default:"Default alignment",start:"Start",end:"End",center:"Center",justify:"Justify"}}},card:{generic:{icon_color:"Icon color",layout:"Layout",fill_container:"Fill container",primary_info:"Primary information",secondary_info:"Secondary information",icon_type:"Icon type",content_info:"Content",use_entity_picture:"Use entity picture?",collapsible_controls:"Collapse controls when off",icon_animation:"Animate icon when active?"},light:{show_brightness_control:"Brightness control?",use_light_color:"Use light color",show_color_temp_control:"Temperature color control?",show_color_control:"Color control?",incompatible_controls:"Some controls may not be displayed if your light does not support the feature."},fan:{show_percentage_control:"Percentage control?",show_oscillate_control:"Oscillate control?"},cover:{show_buttons_control:"Control buttons?",show_position_control:"Position control?",show_tilt_position_control:"Tilt control?"},template:{primary:"Primary information",secondary:"Secondary information",multiline_secondary:"Multiline secondary?",entity_extra:"Used in templates and actions",content:"Content",badge_icon:"Badge icon",badge_color:"Badge color",picture:"Picture (will replace the icon)"},title:{title:"Title",subtitle:"Subtitle",title_tap_action:"Title tap action",subtitle_tap_action:"Subtitle tap action"},chips:{alignment:"Alignment"},weather:{show_conditions:"Conditions?",show_temperature:"Temperature?"},update:{show_buttons_control:"Control buttons?"},vacuum:{commands:"Commands",commands_list:{on_off:"Turn on/off"}},"media-player":{use_media_info:"Use media info",use_media_artwork:"Use media artwork",show_volume_level:"Show volume level",media_controls:"Media controls",media_controls_list:{on_off:"Turn on/off",shuffle:"Shuffle",previous:"Previous track",play_pause_stop:"Play/pause/stop",next:"Next track",repeat:"Repeat mode"},volume_controls:"Volume controls",volume_controls_list:{volume_buttons:"Volume buttons",volume_set:"Volume level",volume_mute:"Mute"}},lock:{lock:"Lock",unlock:"Unlock",open:"Open"},humidifier:{show_target_humidity_control:"Humidity control?"},climate:{show_temperature_control:"Temperature control?",hvac_modes:"HVAC Modes"},number:{display_mode:"Display Mode",display_mode_list:{default:"Default (slider)",slider:"Slider",buttons:"Buttons"}}},chip:{sub_element_editor:{title:"Chip editor"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Add chip",edit:"Edit",clear:"Clear",select:"Select chip",types:{action:"Action","alarm-control-panel":"Alarm",back:"Back",conditional:"Conditional",entity:"Entity",light:"Light",menu:"Menu",spacer:"Spacer",template:"Template",weather:"Weather"}}}},Ci={not_found:"Entity not found"},$i={editor:ki,card:Ci},Ei={form:{color_picker:{values:{default:"Color predeterminado"}},info_picker:{values:{default:"Información predeterminada",name:"Nombre",state:"Estado","last-changed":"Último cambio","last-updated":"Última actualización",none:"Ninguno"}},icon_type_picker:{values:{default:"Por defecto",icon:"Icono","entity-picture":"Imagen de entidad",none:"Ninguno"}},layout_picker:{values:{default:"Diseño predeterminado",vertical:"Diseño vertical",horizontal:"Diseño horizontal"}},alignment_picker:{values:{default:"Alineación predeterminada",start:"Inicio",end:"Final",center:"Centrado",justify:"Justificado"}}},card:{generic:{icon_color:"Color de icono",layout:"Diseño",fill_container:"Rellenar",primary_info:"Información primaria",secondary_info:"Información secundaria",icon_type:"Icono",content_info:"Contenido",use_entity_picture:"¿Usar imagen de entidad?",collapsible_controls:"Contraer controles cuando está apagado",icon_animation:"¿Icono animado cuando está activo?"},light:{show_brightness_control:"¿Controlar brillo?",use_light_color:"Usar color de la luz",show_color_temp_control:"¿Controlar temperatura del color?",show_color_control:"¿Controlar color?",incompatible_controls:"Es posible que algunos controles no se muestren si la luz no es compatible con esta función."},fan:{show_percentage_control:"¿Controlar porcentaje?",show_oscillate_control:"¿Controlar oscilación?"},cover:{show_buttons_control:"¿Botones de control?",show_position_control:"¿Control de posición?",show_tilt_position_control:"¿Control de inclinación?"},template:{primary:"Información primaria",secondary:"Información secundaria",multiline_secondary:"¿Secundaria multilínea?",entity_extra:"Utilizado en plantillas y acciones.",content:"Contenido",badge_icon:"Icono del distintivo",badge_color:"Color del distintivo",picture:"Imagen (sustituirá al icono)"},title:{title:"Título",subtitle:"Subtítulo",title_tap_action:"Acción al tocar el título",subtitle_tap_action:"Acción al tocar el subtítulo"},chips:{alignment:"Alineación"},weather:{show_conditions:"¿Condiciones?",show_temperature:"¿Temperatura?"},update:{show_buttons_control:"¿Botones de control?"},vacuum:{commands:"Comandos",commands_list:{on_off:"Activar/desactivar"}},"media-player":{use_media_info:"Usar información multimedia",use_media_artwork:"Usar ilustraciones multimedia",show_volume_level:"Mostrar nivel de volumen",media_controls:"Controles multimedia",media_controls_list:{on_off:"Activar/desactivar",shuffle:"Aleatoria",previous:"Pista anterior",play_pause_stop:"Reproducir/pausa/parar",next:"Pista siguiente",repeat:"Modo de repetición"},volume_controls:"Controles de volumen",volume_controls_list:{volume_buttons:"Botones de volumen",volume_set:"Nivel de volumen",volume_mute:"Silenciar"}},lock:{lock:"Bloquear",unlock:"Desbloquear",open:"Abrir"},humidifier:{show_target_humidity_control:"¿Controlar humedad?"},climate:{show_temperature_control:"¿Control de temperatura?",hvac_modes:"Modos de climatización"}},chip:{sub_element_editor:{title:"Editor de chip"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Añadir chip",edit:"Editar",clear:"Limpiar",select:"Seleccionar chip",types:{action:"Acción","alarm-control-panel":"Alarma",back:"Volver",conditional:"Condicional",entity:"Entidad",light:"Luz",menu:"Menú",template:"Plantilla",weather:"Clima"}}}},Ai={editor:Ei},Si={form:{color_picker:{values:{default:"Oletusväri"}},info_picker:{values:{default:"Oletustiedot",name:"Nimi",state:"Tila","last-changed":"Viimeksi muuttunut","last-updated":"Viimeksi päivittynyt",none:"Ei mitään"}},icon_type_picker:{values:{default:"Oletustyyppi",icon:"Kuvake","entity-picture":"Kohteen kuva",none:"Ei mitään"}},layout_picker:{values:{default:"Oletusasettelu",vertical:"Pystysuuntainen",horizontal:"Vaakasuuntainen"}},alignment_picker:{values:{default:"Keskitys",start:"Alku",end:"Loppu",center:"Keskitä",justify:"Sovita"}}},card:{generic:{icon_color:"Ikonin väri",layout:"Asettelu",fill_container:"Täytä alue",primary_info:"Ensisijaiset tiedot",secondary_info:"Toissijaiset tiedot",icon_type:"Kuvakkeen tyyppi",content_info:"Sisältö",use_entity_picture:"Käytä kohteen kuvaa?",collapsible_controls:"Piilota toiminnot off-tilassa",icon_animation:"Animoi kuvake, kun aktiivinen?"},light:{show_brightness_control:"Kirkkauden säätö?",use_light_color:"Käytä valaisimen väriä",show_color_temp_control:"Värilämpötilan säätö?",show_color_control:"Värin säätö?",incompatible_controls:"Jotkin toiminnot eivät näy, jos valaisimesi ei tue niitä."},fan:{show_percentage_control:"Prosentuaalinen säätö?",show_oscillate_control:"Oskillaation säätö?"},cover:{show_buttons_control:"Toimintopainikkeet?",show_position_control:"Sijainnin hallinta?"},template:{primary:"Ensisijaiset tiedot",secondary:"Toissijaiset tiedot",multiline_secondary:"Monirivinen toissijainen tieto?",entity_extra:"Käytetään malleissa ja toiminnoissa",content:"Sisältö",badge_icon:"Merkin kuvake",badge_color:"Merkin väri",picture:"Kuva (korvaa kuvakkeen)"},title:{title:"Otsikko",subtitle:"Tekstitys"},chips:{alignment:"Asettelu"},weather:{show_conditions:"Ehdot?",show_temperature:"Lämpötila?"},update:{show_buttons_control:"Toimintopainikkeet?"},vacuum:{commands:"Komennot"},"media-player":{use_media_info:"Käytä median tietoja",use_media_artwork:"Käytä median kuvituksia",show_volume_level:"Näytä äänenvoimakkuuden hallinta",media_controls:"Toiminnot",media_controls_list:{on_off:"Päälle/pois",shuffle:"Sekoita",previous:"Edellinen kappale",play_pause_stop:"Toista/keskeytä/pysäytä",next:"Seuraava kappale",repeat:"Jatkuva toisto"},volume_controls:"Äänenvoimakkuuden hallinta",volume_controls_list:{volume_buttons:"Äänenvoimakkuuspainikkeet",volume_set:"Äänenvoimakkuus",volume_mute:"Mykistä"}},lock:{lock:"Lukitse",unlock:"Poista lukitus",open:"Avaa"},humidifier:{show_target_humidity_control:"Kosteudenhallinta?"}},chip:{sub_element_editor:{title:"Merkkieditori"},conditional:{chip:"Merkki"},"chip-picker":{chips:"Merkit",add:"Lisää merkki",edit:"Muokkaa",clear:"Tyhjennä",select:"Valitse merkki",types:{action:"Toiminto","alarm-control-panel":"Hälytys",back:"Takaisin",conditional:"Ehdollinen",entity:"Kohde",light:"Valaisin",menu:"Valikko",template:"Malli",weather:"Sää"}}}},Ii={editor:Si},Ti={form:{color_picker:{values:{default:"Couleur par défaut"}},info_picker:{values:{default:"Information par défaut",name:"Nom",state:"État","last-changed":"Dernière modification","last-updated":"Dernière mise à jour",none:"Aucune"}},icon_type_picker:{values:{default:"Type par défaut",icon:"Icône","entity-picture":"Image de l'entité",none:"Aucune"}},layout_picker:{values:{default:"Disposition par défault",vertical:"Disposition verticale",horizontal:"Disposition horizontale"}},alignment_picker:{values:{default:"Alignement par défaut",start:"Début",end:"Fin",center:"Centré",justify:"Justifié"}}},card:{generic:{icon_color:"Couleur de l'icône",layout:"Disposition",fill_container:"Remplir le conteneur",primary_info:"Information principale",secondary_info:"Information secondaire",icon_type:"Type d'icône",content_info:"Contenu",use_entity_picture:"Utiliser l'image de l'entité ?",collapsible_controls:"Reduire les contrôles quand éteint",icon_animation:"Animation de l'icône ?"},light:{show_brightness_control:"Contrôle de luminosité ?",use_light_color:"Utiliser la couleur de la lumière",show_color_temp_control:"Contrôle de la température ?",show_color_control:"Contrôle de la couleur ?",incompatible_controls:"Certains contrôles peuvent ne pas être affichés si votre lumière ne supporte pas la fonctionnalité."},fan:{show_percentage_control:"Contrôle de la vitesse ?",show_oscillate_control:"Contrôle de l'oscillation ?"},cover:{show_buttons_control:"Contrôle avec boutons ?",show_position_control:"Contrôle de la position ?"},template:{primary:"Information principale",secondary:"Information secondaire",multiline_secondary:"Information secondaire sur plusieurs lignes ?",entity_extra:"Utilisée pour les templates et les actions",content:"Contenu",badge_icon:"Icône du badge",badge_color:"Couleur du badge",picture:"Picture (remplacera l'icône)"},title:{title:"Titre",subtitle:"Sous-titre",title_tap_action:"Appui sur le titre",subtitle_tap_action:"Appui sur le sous-titre"},chips:{alignment:"Alignement"},weather:{show_conditons:"Conditions ?",show_temperature:"Température ?"},update:{show_buttons_control:"Contrôle avec boutons ?"},vacuum:{commands:"Commandes",commands_list:{on_off:"Allumer/Éteindre"}},"media-player":{use_media_info:"Utiliser les informations du media",use_media_artwork:"Utiliser l'illustration du media",show_volume_level:"Afficher le niveau de volume",media_controls:"Contrôles du media",media_controls_list:{on_off:"Allumer/Éteindre",shuffle:"Lecture aléatoire",previous:"Précédent",play_pause_stop:"Lecture/pause/stop",next:"Suivant",repeat:"Mode de répétition"},volume_controls:"Contrôles du volume",volume_controls_list:{volume_buttons:"Bouton de volume",volume_set:"Niveau de volume",volume_mute:"Muet"}},lock:{lock:"Verrouiller",unlock:"Déverrouiller",open:"Ouvrir"},humidifier:{show_target_humidity_control:"Contrôle d'humidité ?"},climate:{show_temperature_control:"Contrôle de la température?",hvac_modes:"Modes du thermostat"},number:{display_mode:"Mode d'affichage",display_mode_list:{default:"Par défaut (Curseur)",slider:"Curseur",buttons:"Boutons"}}},chip:{sub_element_editor:{title:'Éditeur de "chip"'},conditional:{chip:"Chip"},"chip-picker":{chips:'"Chips"',add:'Ajouter une "chip"',edit:"Modifier",clear:"Effacer",select:'Sélectionner une "chip"',types:{action:"Action","alarm-control-panel":"Alarme",back:"Retour",conditional:"Conditionnel",entity:"Entité",light:"Lumière",menu:"Menu",spacer:"Espacement",template:"Template",weather:"Météo"}}}},Oi={editor:Ti},zi={form:{color_picker:{values:{default:"צבע ברירת מחדל"}},info_picker:{values:{default:"מידע ברירת מחדל",name:"שם",state:"מצב","last-changed":"שונה לאחרונה","last-updated":"עודכן לאחרונה",none:"ריק"}},layout_picker:{values:{default:"סידור ברירת מחדל",vertical:"סידור מאונך",horizontal:"סידור מאוזן"}},alignment_picker:{values:{default:"יישור ברירת מחדל",start:"התחלה",end:"סוף",center:"אמצע",justify:"מוצדק"}}},card:{generic:{icon_color:"צבע אייקון",layout:"סידור",fill_container:"מלא גבולות",primary_info:"מידע ראשי",secondary_info:"מידע מישני",content_info:"תוכן",use_entity_picture:"השתמש בתמונת ישות",collapsible_controls:"הסתר שליטה כשאר מכובה",icon_animation:"הנפש אייקון"},light:{show_brightness_control:"שליטה בבהירות?",use_light_color:"השתמש בצבע האור",show_color_temp_control:"הצג פקד גוון תאורה?",show_color_control:"הצג פקד צבע",incompatible_controls:"יתכן וחלק מהכפתורים לא יופיעו אם התאורה אינה תומכת בתכונה."},fan:{show_percentage_control:"שליטה באחוז?",show_oscillate_control:"שליטה בהתנדנדות?"},cover:{show_buttons_control:"הצג כפתורי שליטה",show_position_control:"הצג פקדי מיקום"},template:{primary:"מידע ראשי",secondary:"מידע מישני",multiline_secondary:"מידע מישני רב קווי",entity_extra:"משמש בתבניות ופעולות",content:"תוכן"},title:{title:"כותרת",subtitle:"כתובית"},chips:{alignment:"יישור"},weather:{show_conditions:"הצג תנאים?",show_temperature:"הצג טמפרטורה?"},update:{show_buttons_control:"הצג כפתורי שליטה?"},vacuum:{commands:"פקודות",icon_animation:"הנפשת אייקון"},"media-player":{use_media_info:"השתמש במידע מדיה",use_media_artwork:"השתמש באומנות מדיה",show_volume_level:"הצג שליטת ווליום",media_controls:"שליטה במדיה",media_controls_list:{on_off:"הדלק/כבה",shuffle:"ערבב",previous:"רצועה קודמת",play_pause_stop:"נגן/השהה/הפסק",next:"רצועה הבאה",repeat:"חזרה"},volume_controls:"שליטה בווליום",volume_controls_list:{volume_buttons:"כפתורי ווליום",volume_set:"רמת ווליום",volume_mute:"השתק"}},lock:{lock:"נעל",unlock:"בטל נעילה",open:"פתח"},humidifier:{show_target_humidity_control:"הצג פקדי לחות"}},chip:{sub_element_editor:{title:"עורך שבב"},conditional:{chip:"שבב"},"chip-picker":{chips:"שבבים",add:"הוסף שבב",edit:"ערוך",clear:"נקה",select:"בחר שבב",types:{action:"פעולה","alarm-control-panel":"אזעקה",back:"חזור",conditional:"מותנה",entity:"ישות",light:"אור",menu:"תפריט",template:"תבנית",weather:"מזג אוויר"}}}},Mi={editor:zi},ji={form:{color_picker:{values:{default:"Alapértelmezett szín"}},info_picker:{values:{default:"Alepértelmezett információ",name:"Név",state:"Állapot","last-changed":"Utoljára módosítva","last-updated":"Utoljára frissítve",none:"Egyik sem"}},icon_type_picker:{values:{default:"Alapértelmezett típus",icon:"Ikon","entity-picture":"Entitás kép",none:"Egyik sem"}},layout_picker:{values:{default:"Alapértelmezet elrendezés",vertical:"Függőleges elrendezés",horizontal:"Vízszintes elrendezés"}},alignment_picker:{values:{default:"Alapértelmezett rendezés",start:"Kezdete",end:"Vége",center:"Közepe",justify:"Sorkizárt"}}},card:{generic:{icon_color:"Ikon szín",layout:"Elrendezés",fill_container:"Tároló kitöltése",primary_info:"Elsődleges információ",secondary_info:"Másodlagos információ",icon_type:"Ikon típus",content_info:"Tartalom",use_entity_picture:"Entitás kép használata",collapsible_controls:"Vezérlők összezárása kikapcsolt állapotban",icon_animation:"Ikon animálása aktív állapotban"},light:{show_brightness_control:"Fényerő vezérlő",use_light_color:"Fény szín használata",show_color_temp_control:"Színhőmérséklet vezérlő",show_color_control:"Szín vezérlő",incompatible_controls:"Azok a vezérlők nem lesznek megjelenítve, amelyeket a fényforrás nem támogat."},fan:{show_percentage_control:"Százalékos vezérlő",show_oscillate_control:"Oszcilláció vezérlő"},cover:{show_buttons_control:"Vezérlő gombok",show_position_control:"Pozíció vezérlő",show_tilt_position_control:"Dőlésszög szabályzó"},template:{primary:"Elsődleges információ",secondary:"Másodlagos információ",multiline_secondary:"Másodlagost több sorba?",entity_extra:"Műveletek és sablonok használatakor",content:"Tartalom",badge_icon:"Jelvény ikon",badge_color:"Jelvény szín",picture:"Kép (lecseréli az ikont)"},title:{title:"Fejléc",subtitle:"Alcím",title_tap_action:"Fejlécre koppintáskor",subtitle_tap_action:"Alcímre koppintáskor"},chips:{alignment:"Rendezés"},weather:{show_conditions:"Állapotok",show_temperature:"Hőmérséklet"},update:{show_buttons_control:"Vezérlő gombok"},vacuum:{commands:"Utasítások",commands_list:{on_off:"Ki/Bekapcsolás"}},"media-player":{use_media_info:"Média infó használata",use_media_artwork:"Média borító használata",show_volume_level:"Hangerő mutatása",media_controls:"Média vezérlők",media_controls_list:{on_off:"Ki/bekapcsolás",shuffle:"Véletlen lejátszás",previous:"Előző szám",play_pause_stop:"Lejátszás/szünet/állj",next:"Következő szám",repeat:"Ismétlés módja"},volume_controls:"Hangerő vezérlők",volume_controls_list:{volume_buttons:"Hangerő gombok",volume_set:"Hangerő szint",volume_mute:"Némítás"}},lock:{lock:"Zár",unlock:"Nyit",open:"Nyitva"},humidifier:{show_target_humidity_control:"Páratartalom vezérlő"},climate:{show_temperature_control:"Hőmérséklet vezérlő",hvac_modes:"HVAC mód"},number:{display_mode:"Megjelenítési mód",display_mode_list:{default:"Alepértelmezett (csúszka)",slider:"Csúszka",buttons:"Gombok"}}},chip:{sub_element_editor:{title:"Chip szerkesztő"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chip-ek",add:"Chip hozzáadása",edit:"Szerkesztés",clear:"Ürítés",select:"Chip kiválasztása",types:{action:"Művelet","alarm-control-panel":"Riasztó",back:"Vissza",conditional:"Feltételes",entity:"Entitás",light:"Fényforrás",menu:"Menü",spacer:"Térköz",template:"Sablon",weather:"Időjárás"}}}},Di={not_found:"Entitás nem található"},Li={editor:ji,card:Di},Pi={form:{color_picker:{values:{default:"Warna bawaan"}},info_picker:{values:{default:"Informasi bawaan",name:"Nama",state:"Status","last-changed":"Terakhir Diubah","last-updated":"Terakhir Diperbarui",none:"Tidak ada"}},icon_type_picker:{values:{default:"Tipe bawaan",icon:"Ikon","entity-picture":"Gambar entitas",none:"Tidak ada"}},layout_picker:{values:{default:"Tata letak bawaan",vertical:"Tata letak vertikal",horizontal:"Tata letak horizontal"}},alignment_picker:{values:{default:"Perataan bawaan",start:"Awal",end:"Akhir",center:"Tengah",justify:"Rata kanan-kiri"}}},card:{generic:{icon_color:"Warna ikon",layout:"Tata letak",fill_container:"Isi kontainer",primary_info:"Informasi primer",secondary_info:"Informasi sekunder",icon_type:"Tipe ikon",content_info:"Konten",use_entity_picture:"Gunakan gambar entitas?",collapsible_controls:"Sembunyikan kontrol saat mati",icon_animation:"Animasikan ikon saat aktif?"},light:{show_brightness_control:"Kontrol kecerahan?",use_light_color:"Gunakan warna lampu",show_color_temp_control:"Kontrol suhu warna?",show_color_control:"Kontrol warna?",incompatible_controls:"Beberapa kontrol mungkin tidak ditampilkan jika lampu Anda tidak mendukung fitur tersebut."},fan:{show_percentage_control:"Kontrol persentase?",show_oscillate_control:"Kontrol osilasi?"},cover:{show_buttons_control:"Tombol kontrol?",show_position_control:"Kontrol posisi?",show_tilt_position_control:"Kontrol kemiringan?"},template:{primary:"Informasi primer",secondary:"Informasi sekunder",multiline_secondary:"Info sekunder multibaris?",entity_extra:"Digunakan dalam templat dan tindakan",content:"Konten",badge_icon:"Ikon lencana",badge_color:"Warna lencana",picture:"Gambar (akan menggantikan ikon)"},title:{title:"Judul",subtitle:"Subjudul",title_tap_action:"Tindakan ketuk judul",subtitle_tap_action:"Tindakan ketuk subjudul"},chips:{alignment:"Perataan"},weather:{show_conditions:"Kondisi?",show_temperature:"Suhu?"},update:{show_buttons_control:"Tombol kontrol?"},vacuum:{commands:"Perintah",commands_list:{on_off:"Nyalakan/Matikan"}},"media-player":{use_media_info:"Gunakan info media",use_media_artwork:"Gunakan gambar seni media",show_volume_level:"Tampilkan level volume",media_controls:"Kontrol media",media_controls_list:{on_off:"Nyalakan/Matikan",shuffle:"Acak",previous:"Lagu sebelumnya",play_pause_stop:"Putar/jeda/stop",next:"Lagu berikutnya",repeat:"Mode pengulangan"},volume_controls:"Kontrol volume",volume_controls_list:{volume_buttons:"Tombol volume",volume_set:"Level volume",volume_mute:"Bisukan"}},lock:{lock:"Kunci",unlock:"Buka kunci",open:"Buka"},humidifier:{show_target_humidity_control:"Kontrol kelembapan?"},climate:{show_temperature_control:"Kontrol suhu?",hvac_modes:"Mode HVAC"},number:{display_mode:"Mode Tampilan",display_mode_list:{default:"Bawaan (geser)",slider:"Geser",buttons:"Tombol"}}},chip:{sub_element_editor:{title:"Editor cip"},conditional:{chip:"Cip"},"chip-picker":{chips:"Cip",add:"Tambah cip",edit:"Edit",clear:"Hapus",select:"Pilih cip",types:{action:"Tindakan","alarm-control-panel":"Alarm",back:"Kembali",conditional:"Kondisional",entity:"Entitas",light:"Lampu",menu:"Menu",spacer:"Pemisah",template:"Templat",weather:"Cuaca"}}}},Ni={not_found:"Entitas tidak ditemukan"},Ri={editor:Pi,card:Ni},Fi={form:{color_picker:{values:{default:"Colore predefinito"}},info_picker:{values:{default:"Informazione predefinita",name:"Nome",state:"Stato","last-changed":"Ultimo cambiamento","last-updated":"Ultimo aggiornamento",none:"Nessuno"}},icon_type_picker:{values:{default:"Tipo predefinito",icon:"Icona","entity-picture":"Immagine dell'entità",none:"Nessuna"}},layout_picker:{values:{default:"Disposizione predefinita",vertical:"Disposizione verticale",horizontal:"Disposizione orizzontale"}},alignment_picker:{values:{default:"Allineamento predefinito",start:"Inizio",end:"Fine",center:"Centro",justify:"Giustificato"}}},card:{generic:{icon_color:"Colore dell'icona",layout:"Disposizione",fill_container:"Riempi il contenitore",primary_info:"Informazione primaria",secondary_info:"Informazione secondaria",icon_type:"Tipo icona",content_info:"Contenuto",use_entity_picture:"Usa l'immagine dell'entità",collapsible_controls:"Nascondi i controlli quando spento",icon_animation:"Anima l'icona quando attiva"},light:{use_light_color:"Usa il colore della luce",show_brightness_control:"Controllo luminosità",show_color_temp_control:"Controllo temperatura",show_color_control:"Controllo colore",incompatible_controls:"Alcuni controlli potrebbero non essere mostrati se la tua luce non li supporta."},fan:{show_percentage_control:"Controllo potenza",show_oscillate_control:"Controllo oscillazione"},cover:{show_buttons_control:"Pulsanti di controllo",show_position_control:"Controllo percentuale apertura",show_tilt_position_control:"Controllo percentuale inclinazione"},template:{primary:"Informazione primaria",secondary:"Informazione secondaria",multiline_secondary:"Abilita frasi multilinea",entity_extra:"Usato in templates ed azioni",content:"Contenuto",badge_icon:"Icona del badge",badge_color:"Colore del badge",picture:"Immagine (sostituirà l'icona)"},title:{title:"Titolo",subtitle:"Sottotitolo",title_tap_action:"Azione di tap sul titolo",subtitle_tap_action:"Azione di tap sul sottotitolo"},chips:{alignment:"Allineamento"},weather:{show_conditions:"Condizioni",show_temperature:"Temperatura"},update:{show_buttons_control:"Pulsanti di controllo"},vacuum:{commands:"Comandi",commands_list:{on_off:"Accendi/Spegni"}},"media-player":{use_media_info:"Mostra le informazioni della sorgente",use_media_artwork:"Usa la copertina della sorgente",show_volume_level:"Mostra volume",media_controls:"Controlli media",media_controls_list:{on_off:"Accendi/Spegni",shuffle:"Riproduzione casuale",previous:"Traccia precedente",play_pause_stop:"Play/Pausa/Stop",next:"Traccia successiva",repeat:"Ciclo continuo"},volume_controls:"Controlli del Volume",volume_controls_list:{volume_buttons:"Bottoni del volume",volume_set:"Livello del volume",volume_mute:"Silenzia"}},lock:{lock:"Blocca",unlock:"Sblocca",open:"Aperto"},humidifier:{show_target_humidity_control:"Controllo umidità"},climate:{show_temperature_control:"Controllo della temperatura?",hvac_modes:"Modalità del termostato"},number:{display_mode:"Modalità di visualizzazione",display_mode_list:{default:"Predefinito (cursore)",slider:"Cursore",buttons:"Pulsanti"}}},chip:{sub_element_editor:{title:"Editor di chip"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Aggiungi chip",edit:"Modifica",clear:"Rimuovi",select:"Seleziona chip",types:{action:"Azione","alarm-control-panel":"Allarme",back:"Pulsante indietro",conditional:"Condizione",entity:"Entità",light:"Luce",menu:"Menù",spacer:"Distanziere",template:"Modello",weather:"Meteo"}}}},Vi={not_found:"Entità non trovata"},Bi={editor:Fi,card:Vi},Ui={form:{color_picker:{values:{default:"기본 색"}},info_picker:{values:{default:"기본 정보",name:"이름",state:"상태","last-changed":"마지막 변경","last-updated":"마지막 업데이트",none:"없음"}},icon_type_picker:{values:{default:"기본 타입",icon:"아이콘","entity-picture":"엔티티 사진",none:"없음"}},layout_picker:{values:{default:"기본 레이아웃",vertical:"수직 레이아웃",horizontal:"수평 레이아웃"}},alignment_picker:{values:{default:"기본 정렬",start:"시작",end:"끝",center:"중앙",justify:"행 정렬"}}},card:{generic:{icon_color:"아이콘 색",layout:"레이아웃",fill_container:"콘테이너 채우기",primary_info:"기본 정보",secondary_info:"보조 정보",icon_type:"아이콘 타입",content_info:"내용 정보",use_entity_picture:"엔티티 사진 사용",collapsible_controls:"꺼져있을 때 컨트롤 접기",icon_animation:"활성화 시 아이콘 애니메이션 사용"},light:{show_brightness_control:"밝기 컨트롤 표시",use_light_color:"조명 색 사용",show_color_temp_control:"색 온도 컨트롤 표시",show_color_control:"색 컨트롤 표시",incompatible_controls:"조명이 기능을 지원하지 않는 경우 일부 컨트롤이 표시되지 않을 수 있습니다."},fan:{show_percentage_control:"퍼센트 컨트롤",show_oscillate_control:"오실레이트 컨트롤"},cover:{show_buttons_control:"컨트롤 버튼 표시",show_position_control:"위치 컨트롤 표시",show_tilt_position_control:"기울기 컨트롤 표시"},template:{primary:"기본 정보",secondary:"보조 정보",multiline_secondary:"Multiline secondary?",entity_extra:"템플릿 및 작업에 사용",content:"내용",badge_icon:"뱃지 아이콘",badge_color:"뱃지 색",picture:"그림 (아이콘 대체)"},title:{title:"제목",subtitle:"부제목",title_tap_action:"제목 탭 액션",subtitle_tap_action:"부제목 탭 액션"},chips:{alignment:"정렬"},weather:{show_conditions:"조건 표시",show_temperature:"온도 표시"},update:{show_buttons_control:"컨트롤 버튼 표시"},vacuum:{commands:"명령어",commands_list:{on_off:"켜기/끄기"}},"media-player":{use_media_info:"미디어 정보 사용",use_media_artwork:"미디어 아트워크 사용",show_volume_level:"볼륨 레벨 표시",media_controls:"미디어 컨트롤",media_controls_list:{on_off:"켜기/끄기",shuffle:"섞기",previous:"이전 트랙",play_pause_stop:"재생/일시 정지/정지",next:"다음 트랙",repeat:"반복 모드"},volume_controls:"볼륨 컨트롤",volume_controls_list:{volume_buttons:"볼륨 버튼",volume_set:"볼륨 레벨",volume_mute:"음소거"}},lock:{lock:"잠금",unlock:"잠금 해제",open:"열기"},humidifier:{show_target_humidity_control:"습도 조절 표시"},climate:{show_temperature_control:"온도 조절 표시",hvac_modes:"HVAC 모드"}},chip:{sub_element_editor:{title:"칩 에디터"},conditional:{chip:"칩"},"chip-picker":{chips:"칩",add:"칩 추가",edit:"수정",clear:"클리어",select:"칩 선택",types:{action:"액션","alarm-control-panel":"알람",back:"이전",conditional:"Conditional",entity:"엔티티",light:"조명",menu:"메뉴",template:"템플릿",weather:"날씨"}}}},Hi={editor:Ui},Yi={form:{color_picker:{values:{default:"Standard farge"}},info_picker:{values:{default:"Standard informasjon",name:"Navn",state:"Tilstand","last-changed":"Sist endret","last-updated":"Sist oppdatert",none:"Ingen"}},layout_picker:{values:{default:"Standardoppsett",vertical:"Vertikalt oppsett",horizontal:"Horisontalt oppsett"}},alignment_picker:{values:{default:"Standard justering",start:"Start",end:"Slutt",center:"Senter",justify:"Bekreft"}}},card:{generic:{icon_color:"Ikon farge",layout:"Oppsett",primary_info:"Primærinformasjon",secondary_info:"Sekundærinformasjon",content_info:"Innhold",use_entity_picture:"Bruk enhetsbilde?",icon_animation:"Animer ikon når aktivt?"},light:{show_brightness_control:"Lysstyrkekontroll?",use_light_color:"Bruk lys farge",show_color_temp_control:"Temperatur fargekontroll?",show_color_control:"Fargekontroll?",incompatible_controls:"Noen kontroller vises kanskje ikke hvis lyset ditt ikke støtter denne funksjonen."},fan:{show_percentage_control:"Prosentvis kontroll?",show_oscillate_control:"Oscillerende kontroll?"},cover:{show_buttons_control:"Kontollere med knapper?",show_position_control:"Posisjonskontroll?"},template:{primary:"Primærinformasjon",secondary:"Sekundærinformasjon",multiline_secondary:"Multiline sekundær?",entity_extra:"Brukes i maler og handlinger",content:"Inhold"},title:{title:"Tittel",subtitle:"Undertekst"},chips:{alignment:"Justering"},weather:{show_conditions:"Forhold?",show_temperature:"Temperatur?"},vacuum:{commands:"Kommandoer"}},chip:{sub_element_editor:{title:"Chip redaktør"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Legg til chip",edit:"Endre",clear:"Klare",select:"Velg chip",types:{action:"Handling","alarm-control-panel":"Alarm",back:"Tilbake",conditional:"Betinget",entity:"Entitet",light:"Lys",menu:"Meny",template:"Mal",weather:"Vær"}}}},Wi={editor:Yi},Xi={form:{color_picker:{values:{default:"Standaard kleur"}},info_picker:{values:{default:"Standaard informatie",name:"Naam",state:"Staat","last-changed":"Laatst gewijzigd","last-updated":"Laatst bijgewerkt",none:"Geen"}},icon_type_picker:{values:{default:"Standaard icoon type",icon:"Icoon","entity-picture":"Entiteit afbeelding",none:"Geen"}},layout_picker:{values:{default:"Standaard lay-out",vertical:"Verticale lay-out",horizontal:"Horizontale lay-out"}},alignment_picker:{values:{default:"Standaard uitlijning",start:"Begin",end:"Einde",center:"Midden",justify:"Uitlijnen "}}},card:{generic:{icon_color:"Icoon kleur",layout:"Lay-out",fill_container:"Vul container",primary_info:"Primaire informatie",secondary_info:"Secundaire informatie",icon_type:"Icoon type",content_info:"Inhoud",use_entity_picture:"Gebruik entiteit afbeelding",collapsible_controls:"Bedieningselementen verbergen wanneer uitgeschakeld",icon_animation:"Pictogram animeren indien actief"},light:{show_brightness_control:"Bediening helderheid",use_light_color:"Gebruik licht kleur",show_color_temp_control:"Bediening kleurtemperatuur",show_color_control:"Bediening kleur",incompatible_controls:"Sommige bedieningselementen worden mogelijk niet weergegeven als uw lamp deze functie niet ondersteunt."},fan:{show_percentage_control:"Bediening middels percentage",show_oscillate_control:"Bediening oscillatie"},cover:{show_buttons_control:"Toon knoppen",show_position_control:"Toon positie bediening",show_tilt_position_control:"Toon tilt control"},template:{primary:"Primaire informatie",secondary:"Secundaire informatie",multiline_secondary:"Secundaire informatie op meerdere lijnen weergeven",entity_extra:"Gebruikt in sjablonen en acties",content:"Inhoud",badge_icon:"Badge icoon",badge_color:"Badge kleur",picture:"Afbeelding (zal het icoon vervangen)"},title:{title:"Titel",subtitle:"Ondertitel",title_tap_action:"Titel tik actie",subtitle_tap_action:"Ondertitel tik actie"},chips:{alignment:"Uitlijning"},weather:{show_conditions:"Weerbeeld",show_temperature:"Temperatuur"},update:{show_buttons_control:"Bedieningsknoppen"},vacuum:{commands:"Commando's",commands_list:{on_off:"Zet aan/uit"}},"media-player":{use_media_info:"Gebruik media informatie",use_media_artwork:"Gebruik media omslag",show_volume_level:"Toon volumeniveau",media_controls:"Mediabediening",media_controls_list:{on_off:"zet aan/uit",shuffle:"Shuffle",previous:"Vorige nummer",play_pause_stop:"Speel/pauze/stop",next:"Volgende nummer",repeat:"Herhalen"},volume_controls:"Volumeregeling",volume_controls_list:{volume_buttons:"Volume knoppen",volume_set:"Volumeniveau",volume_mute:"Dempen"}},lock:{lock:"Vergrendel",unlock:"Ontgrendel",open:"Open"},humidifier:{show_target_humidity_control:"Vochtigheid controle?"},climate:{show_temperature_control:"Temperatuur controle",hvac_modes:"HVAC Modes"},number:{display_mode:"Weergave Modus",display_mode_list:{default:"Standaard (schuifbalk)",slider:"Schuifbalk",buttons:"Knoppen"}}},chip:{sub_element_editor:{title:"Chip editor"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Toevoegen chip",edit:"Bewerk",clear:"Maak leeg",select:"Selecteer chip",types:{action:"Actie","alarm-control-panel":"Alarm",back:"Terug",conditional:"Voorwaardelijk",entity:"Entiteit",light:"Licht",menu:"Menu",spacer:"Afstandhouder",template:"Sjabloon",weather:"Weer"}}}},Ki={not_found:"Entiteit niet gevonden"},Gi={editor:Xi,card:Ki},qi={form:{color_picker:{values:{default:"Domyślny kolor"}},info_picker:{values:{default:"Domyślne informacje",name:"Nazwa",state:"Stan","last-changed":"Ostatnia zmiana","last-updated":"Ostatnia aktualizacja",none:"Brak"}},icon_type_picker:{values:{default:"Domyślny typ",icon:"Ikona","entity-picture":"Obraz encji",none:"Brak"}},layout_picker:{values:{default:"Układ domyślny",vertical:"Układ pionowy",horizontal:"Układ poziomy"}},alignment_picker:{values:{default:"Wyrównanie domyślne",start:"Wyrównanie do lewej",end:"Wyrównanie do prawej",center:"Wyśrodkowanie",justify:"Justowanie"}}},card:{generic:{icon_color:"Kolor ikony",layout:"Układ",fill_container:"Wypełnij zawartością",primary_info:"Informacje główne",secondary_info:"Informacje drugorzędne",icon_type:"Typ ikony",content_info:"Zawartość",use_entity_picture:"Użyć obrazu encji?",collapsible_controls:"Zwiń sterowanie, jeśli wyłączone",icon_animation:"Animować, gdy aktywny?"},light:{show_brightness_control:"Sterowanie jasnością?",use_light_color:"Użyj koloru światła",show_color_temp_control:"Sterowanie temperaturą światła?",show_color_control:"Sterowanie kolorami?",incompatible_controls:"Niektóre funkcje są niewidoczne, jeśli światło ich nie obsługuje."},fan:{show_percentage_control:"Sterowanie procentowe?",show_oscillate_control:"Sterowanie oscylacją?"},cover:{show_buttons_control:"Przyciski sterujące?",show_position_control:"Sterowanie położeniem?",show_tilt_position_control:"Sterowanie poziomem otwarcia?"},template:{primary:"Informacje główne",secondary:"Informacje drugorzędne",multiline_secondary:"Drugorzędne wielowierszowe?",entity_extra:"Używane w szablonach i akcjach",content:"Zawartość",badge_icon:"Ikona odznaki",badge_color:"Kolor odznaki",picture:"Obraz (zamiast ikony)"},title:{title:"Tytuł",subtitle:"Podtytuł"},chips:{alignment:"Wyrównanie"},weather:{show_conditions:"Warunki?",show_temperature:"Temperatura?"},update:{show_buttons_control:"Przyciski sterujące?"},vacuum:{commands:"Polecenia"},"media-player":{use_media_info:"Użyj informacji o multimediach",use_media_artwork:"Użyj okładek multimediów",show_volume_level:"Wyświetl poziom głośności",media_controls:"Sterowanie multimediami",media_controls_list:{on_off:"Włącz/wyłącz",shuffle:"Losowo",previous:"Poprzednie nagranie",play_pause_stop:"Odtwórz/Pauza/Zatrzymaj",next:"Następne nagranie",repeat:"Powtarzanie"},volume_controls:"Sterowanie głośnością",volume_controls_list:{volume_buttons:"Przyciski głośności",volume_set:"Poziom głośności",volume_mute:"Wycisz"}},lock:{lock:"Zablokuj",unlock:"Odblokuj",open:"Otwórz"},humidifier:{show_target_humidity_control:"Sterowanie wilgotnością?"},climate:{show_temperature_control:"Sterowanie temperaturą?",hvac_modes:"Tryby urządzenia"}},chip:{sub_element_editor:{title:"Edytor czipów"},conditional:{chip:"Czip"},"chip-picker":{chips:"Czipy",add:"Dodaj czip",edit:"Edytuj",clear:"Wyczyść",select:"Wybierz czip",types:{action:"Akcja","alarm-control-panel":"Alarm",back:"Wstecz",conditional:"Warunkowy",entity:"Encja",light:"Światło",menu:"Menu",spacer:"Odstęp",template:"Szablon",weather:"Pogoda"}}}},Zi={editor:qi},Ji={form:{color_picker:{values:{default:"Cor padrão"}},info_picker:{values:{default:"Informações padrão",name:"Nome",state:"Estado","last-changed":"Última alteração","last-updated":"Última atualização",none:"Nenhum"}},layout_picker:{values:{default:"Layout padrão",vertical:"Layout vertical",horizontal:"Layout horizontal"}},alignment_picker:{values:{default:"Padrão (inicio)",end:"Final",center:"Centro",justify:"Justificado"}}},card:{generic:{icon_color:"Cor do ícone?",layout:"Layout",primary_info:"Informações primárias",secondary_info:"Informações secundárias",use_entity_picture:"Usar imagem da entidade?",icon_animation:"Animar ícone quando ativo?"},light:{show_brightness_control:"Mostrar controle de brilho?",use_light_color:"Usar cor da luz?",show_color_temp_control:"Mostrar controle de temperatura?",show_color_control:"Mostrar controle de cor?",incompatible_controls:"Alguns controles podem não ser exibidos se sua luz não suportar o recurso."},fan:{show_percentage_control:"Mostrar controle de porcentagem?",show_oscillate_control:"Mostrar controle de oscilação?"},cover:{show_buttons_control:"Mostrar botões?",show_position_control:"Mostrar controle de posição?"},template:{primary:"Informações primárias",secondary:"Informações secundárias",multiline_secondary:"Multilinha secundária?",content:"Conteúdo"},title:{title:"Título",subtitle:"Subtítulo"},chips:{alignment:"Alinhamento"},weather:{show_conditions:"Condições?",show_temperature:"Temperatura?"}},chip:{sub_element_editor:{title:"Editor de fichas"},conditional:{chip:"Ficha"},"chip-picker":{chips:"Fichas",add:"Adicionar ficha",edit:"Editar",clear:"Limpar",select:"Selecionar ficha",types:{action:"Ação","alarm-control-panel":"Alarme",back:"Voltar",conditional:"Condicional",entity:"Entidade",light:"Iluminação",menu:"Menu",template:"Modelo",weather:"Clima"}}}},Qi={editor:Ji},to={form:{color_picker:{values:{default:"Cor padrão"}},info_picker:{values:{default:"Informações padrão",name:"Nome",state:"Estado","last-changed":"Última alteração","last-updated":"Última atualização",none:"Nenhum"}},layout_picker:{values:{default:"Layout padrão",vertical:"Layout vertical",horizontal:"Layout horizontal"}},alignment_picker:{values:{default:"Padrão (inicio)",end:"Fim",center:"Centrado",justify:"Justificado"}}},card:{generic:{icon_color:"Cor do ícone?",layout:"Layout",primary_info:"Informações primárias",secondary_info:"Informações secundárias",use_entity_picture:"Usar imagem da entidade?",icon_animation:"Animar ícone quando ativo?"},light:{show_brightness_control:"Mostrar controle de brilho?",use_light_color:"Usar cor da luz?",show_color_temp_control:"Mostrar controle de temperatura?",show_color_control:"Mostrar controle de cor?",incompatible_controls:"Alguns controles podem não ser exibidos se a luz não suportar o recurso."},fan:{show_percentage_control:"Mostrar controle de porcentagem?",show_oscillate_control:"Mostrar controle de oscilação?"},cover:{show_buttons_control:"Mostrar botões?",show_position_control:"Mostrar controle de posição?"},template:{primary:"Informações primárias",secondary:"Informações secundárias",multiline_secondary:"Multilinha secundária?",content:"Conteúdo"},title:{title:"Título",subtitle:"Subtítulo"},chips:{alignment:"Alinhamento"},weather:{show_conditions:"Condições?",show_temperature:"Temperatura?"}},chip:{sub_element_editor:{title:"Editor de fichas"},conditional:{chip:"Ficha"},"chip-picker":{chips:"Fichas",add:"Adicionar ficha",edit:"Editar",clear:"Limpar",select:"Selecionar ficha",types:{action:"Ação","alarm-control-panel":"Alarme",back:"Voltar",conditional:"Condicional",entity:"Entidade",light:"Iluminação",menu:"Menu",template:"Modelo",weather:"Clima"}}}},eo={editor:to},io={form:{color_picker:{values:{default:"Culoare implicită"}},info_picker:{values:{default:"Informație implicită",name:"Nume",state:"Stare","last-changed":"Ultima modificare","last-updated":"Ultima actulizare",none:"Niciuna"}},icon_type_picker:{values:{default:"Tip implicit",icon:"Pictogramă","entity-picture":"Imagine",none:"Niciuna"}},layout_picker:{values:{default:"Aranjare implicită",vertical:"Verticală",horizontal:"Orizontală"}},alignment_picker:{values:{default:"Aliniere implicită",start:"Stânga",end:"Dreapta",center:"Centrat",justify:"Umplere"}}},card:{generic:{icon_color:"Culoare pictogramă",layout:"Aranjare",fill_container:"Umplere container",primary_info:"Informație principală",secondary_info:"Informație secundară",icon_type:"Tip pictogramă",content_info:"Conținut",use_entity_picture:"Imagine?",collapsible_controls:"Restrângere la dezactivare"},light:{show_brightness_control:"Comandă pentru strălucire?",use_light_color:"Folosește culoarea luminii",show_color_temp_control:"Comandă pentru temperatură de culoare?",show_color_control:"Comandă pentru culoare?",incompatible_controls:"Unele comenzi ar putea să nu fie afișate dacă lumina nu suportă această caracteristică."},fan:{icon_animation:"Animare pictograma la activare?",show_percentage_control:"Comandă procent?",show_oscillate_control:"Comandă oscilație?"},cover:{show_buttons_control:"Comenzi pentru control?",show_position_control:"Comandă pentru poziție?",show_tilt_position_control:"Comandă pentru înclinare?"},template:{primary:"Informație principală",secondary:"Informație secundară",multiline_secondary:"Informație secundară pe mai multe linii?",entity_extra:"Folosită în șabloane și acțiuni",content:"Conținut",badge_icon:"Pictogramă insignă",badge_color:"Culoare insignă",picture:"Imagine (inlocuiește pictograma)"},title:{title:"Titlu",subtitle:"Subtitlu"},chips:{alignment:"Aliniere"},weather:{show_conditions:"Condiții?",show_temperature:"Temperatură?"},update:{show_buttons_control:"Comenzi control?"},vacuum:{commands:"Comenzi"},"media-player":{use_media_info:"Informații media",use_media_artwork:"Grafică media",show_volume_level:"Nivel volum",media_controls:"Comenzi media",media_controls_list:{on_off:"Pornit/Oprit",shuffle:"Amestecare",previous:"Pista anterioară",play_pause_stop:"Redare/Pauză/Stop",next:"Pista următoare",repeat:"Mod repetare"},volume_controls:"Comenzi volum",volume_controls_list:{volume_buttons:"Comenzi volum",volume_set:"Nivel volum",volume_mute:"Dezactivare sunet"}},lock:{lock:"Încuie",unlock:"Descuie",open:"Deschide"},humidifier:{show_target_humidity_control:"Comenzi umiditate?"},climate:{show_temperature_control:"Comenzi temperatură?",hvac_modes:"Moduri HVAC"}},chip:{sub_element_editor:{title:"Editor jeton"},conditional:{chip:"Jeton"},"chip-picker":{chips:"Jetoane",add:"Adaugă jeton",edit:"Modifică",clear:"Șterge",select:"Alege jeton",types:{action:"Acțiune","alarm-control-panel":"Alarmă",back:"Înapoi",conditional:"Condițional",entity:"Entitate",light:"Lumină",menu:"Meniu",template:"Șablon",weather:"Vreme"}}}},oo={editor:io},no={form:{color_picker:{values:{default:"Цвет по умолчанию"}},info_picker:{values:{default:"По умолчанию",name:"Имя",state:"Статус","last-changed":"Последнее изменение","last-updated":"Последнее обновление",none:"Нет"}},icon_type_picker:{values:{default:"По умолчанию",icon:"Иконка","entity-picture":"Изображение",none:"Нет"}},layout_picker:{values:{default:"Расположение по умолчанию",vertical:"Вертикальное расположение",horizontal:"Горизонтальное расположение"}},alignment_picker:{values:{default:"Выравнивание по умолчанию",start:"К началу",end:"К концу",center:"По центру",justify:"На всю ширину"}}},card:{generic:{icon_color:"Цвет иконки",layout:"Расположение",fill_container:"Заполнение",primary_info:"Основная информация",secondary_info:"Второстепенная информация",icon_type:"Тип иконки",content_info:"Содержимое",use_entity_picture:"Использовать изображение объекта?",collapsible_controls:"Сворачивать элементы управления при выключении"},light:{show_brightness_control:"Управлять яркостью?",use_light_color:"Использовать текущий цвет света",show_color_temp_control:"Управлять цветовой температурой?",show_color_control:"Управлять цветом?",incompatible_controls:"Некоторые элементы управления могут не отображаться, если ваш светильник не поддерживает эти функции."},fan:{icon_animation:"Анимировать иконку когда включено?",show_percentage_control:"Управлять процентами?",show_oscillate_control:"Oscillate control?"},cover:{show_buttons_control:"Добавить кнопки управления?",show_position_control:"Управлять позицией?",show_tilt_position_control:"Управлять наклоном?"},template:{primary:"Основная информация",secondary:"Второстепенная информация",multiline_secondary:"Многострочная Второстепенная информация?",entity_extra:"Используется в шаблонах и действиях",content:"Содержимое",badge_icon:"Иконка значка",badge_color:"Цвет значка",picture:"Изображение (заменить иконку)"},title:{title:"Заголовок",subtitle:"Подзаголовок"},chips:{alignment:"Выравнивание"},weather:{show_conditions:"Условия?",show_temperature:"Температура?"},update:{show_buttons_control:"Кнопки управления?"},vacuum:{commands:"Команды"},"media-player":{use_media_info:"Использовать информацию с медиа-устройства",use_media_artwork:"Использовать обложку с медиа-устройства",show_volume_level:"Показать уровень громкости",media_controls:"Управление медиа-устройством",media_controls_list:{on_off:"Включение/выключение",shuffle:"Перемешивание",previous:"Предыдущий трек",play_pause_stop:"Воспроизведение/пауза/остановка",next:"Следующий трек",repeat:"Режим повтора"},volume_controls:"Регулятор громкости",volume_controls_list:{volume_buttons:"Кнопки громкости",volume_set:"Уровень громкости",volume_mute:"Без звука"}},lock:{lock:"Закрыто",unlock:"Разблокировано",open:"Открыто"},humidifier:{show_target_humidity_control:"Управлять целевым уровенем влажности?"},climate:{show_temperature_control:"Управлять целевой температурой?",hvac_modes:"Режимы работы"}},chip:{sub_element_editor:{title:"Редактор мини-карточек"},conditional:{chip:"Мини-карточка"},"chip-picker":{chips:"Мини-карточки",add:"Добавить мини-карточку",edit:"Изменить",clear:"Очистить",select:"Выбрать мини-карточку",types:{action:"Действие","alarm-control-panel":"Тревога",back:"Назад",conditional:"Условия",entity:"Объект",light:"Освещение",menu:"Меню",template:"Шаблон",weather:"Погода"}}}},ro={editor:no},ao={form:{color_picker:{values:{default:"Privzeta barva"}},info_picker:{values:{default:"Privzete informacije",name:"Naziv",state:"Stanje","last-changed":"Zadnja sprememba","last-updated":"Zadnja posodobitev",none:"Brez"}},icon_type_picker:{values:{default:"Privzeta vrsta",icon:"Ikona","entity-picture":"Slika entitete",none:"Brez"}},layout_picker:{values:{default:"Privzeta postavitev",vertical:"Vertikalna postavitev",horizontal:"Horizontalna postavitev"}},alignment_picker:{values:{default:"Privzeta poravnava",start:"Pričetek",end:"Konec",center:"Center",justify:"Poravnava"}}},card:{generic:{icon_color:"Barva ikone",layout:"Postavitev",fill_container:"Zapolnitev prostora",primary_info:"Primarna informacija",secondary_info:"Sekundarna informacija",icon_type:"Vrsta ikone",content_info:"Vsebina",use_entity_picture:"Uporabi sliko entitete?",collapsible_controls:"Strni kontrolnike, ko so izklopljeni",icon_animation:"Animacija ikone, ko je aktivna?"},light:{show_brightness_control:"Nadzor svetlosti?",use_light_color:"Uporabi svetlo barvo",show_color_temp_control:"Nadzor temperature barve?",show_color_control:"Nadzor barv?",incompatible_controls:"Nekateri kontrolniki morda ne bodo prikazani, če vaša luč ne podpira te funkcije."},fan:{show_percentage_control:"Kontrola v odstotkih?",show_oscillate_control:"Kontrola nihanja?"},cover:{show_buttons_control:"Gumbi za upravljanje?",show_position_control:"Nadzor položaja?",show_tilt_position_control:"Nadzor nagiba?"},template:{primary:"Primarna informacija",secondary:"Sekundarna informacija",multiline_secondary:"Večvrstični sekundarni?",entity_extra:"Uporablja se v predlogah in dejanjih",content:"Vsebina",badge_icon:"Ikona značke",badge_color:"Barva značke",picture:"Slika (nadomestila bo ikono)"},title:{title:"Naziv",subtitle:"Podnaslov",title_tap_action:"Dejanje dotika naslova",subtitle_tap_action:"Dejanje dotika podnapisov"},chips:{alignment:"Poravnava"},weather:{show_conditions:"Pogoji?",show_temperature:"Temperatura?"},update:{show_buttons_control:"Gumbi za upravljanje?"},vacuum:{commands:"Ukazi",commands_list:{on_off:"Vklop/izklop"}},"media-player":{use_media_info:"Uporabite informacije o medijih",use_media_artwork:"Uporabite medijsko umetniško delo",show_volume_level:"Pokaži raven glasnosti",media_controls:"Nadzor medijev",media_controls_list:{on_off:"Vklop/izklop",shuffle:"Naključno",previous:"Prejšnja skladba",play_pause_stop:"Predvajaj/pavza/ustavi",next:"Naslednja skladba",repeat:"Ponavljajoči način"},volume_controls:"Kontrole glasnosti",volume_controls_list:{volume_buttons:"Gumbi za glasnost",volume_set:"Raven glasnosti",volume_mute:"Tiho"}},lock:{lock:"Zaklepanje",unlock:"Odkleni",open:"Odprto"},humidifier:{show_target_humidity_control:"Nadzor vlažnosti?"},climate:{show_temperature_control:"Nadzor temperature?",hvac_modes:"HVAC načini"},number:{display_mode:"Način prikaza",display_mode_list:{default:"Privzeto (drsnik)",slider:"Drsnik",buttons:"Gumbi"}}},chip:{sub_element_editor:{title:"Urejevalnik čipov"},conditional:{chip:"Ćiš"},"chip-picker":{chips:"Čipi",add:"Dodaj čip",edit:"Uredi",clear:"Pobriši",select:"Izbira čipa",types:{action:"Dejanje","alarm-control-panel":"Alarm",back:"Nazaj",conditional:"Pogojno",entity:"Entiteta",light:"Svetloba",menu:"Meni",spacer:"Distančnik",template:"Predloga",weather:"Vreme"}}}},lo={not_found:"Entiteta ni najdena"},so={editor:ao,card:lo},co={form:{color_picker:{values:{default:"Predvolená farba"}},info_picker:{values:{default:"Predvolené informácie",name:"Názov",state:"Stav","last-changed":"Posledná zmena","last-updated":"Posledná aktualizácia",none:"Žiadna"}},icon_type_picker:{values:{default:"Predvolený typ",icon:"Ikona","entity-picture":"Obrázok entity",none:"Žiadny"}},layout_picker:{values:{default:"Predvolené rozloženie",vertical:"Zvislé rozloženie",horizontal:"Vodorovné rozloženie"}},alignment_picker:{values:{default:"Predvolené zarovnanie",start:"Začiatok",end:"Koniec",center:"Stred",justify:"Vyplniť"}}},card:{generic:{icon_color:"Farba ikony",layout:"Rozloženie",fill_container:"Vyplniť priestor",primary_info:"Základné info",secondary_info:"Doplnkové info",icon_type:"Typ ikony",content_info:"Obsah",use_entity_picture:"Použiť obrázok entity?",collapsible_controls:"Skryť ovládanie v stave VYP.",icon_animation:"Animovaná ikona v stave ZAP?"},light:{show_brightness_control:"Ovládanie jasu?",use_light_color:"Použiť farbu svetla",show_color_temp_control:"Ovládanie teploty?",show_color_control:"Ovládanie farby?",incompatible_controls:"Niektoré ovládacie prvky sa nemusia zobraziť, pokiaľ ich svetlo nepodporuje."},fan:{show_percentage_control:"Ovládanie rýchlosti v percentách?",show_oscillate_control:"Ovládanie oscilácie?"},cover:{show_buttons_control:"Zobraziť ovládacie tlačidlá?",show_position_control:"Ovládanie pozície?",show_tilt_position_control:"Ovládanie natočenia?"},template:{primary:"Základné info",secondary:"Doplnkové info",multiline_secondary:"Viacriadkové doplnkové info?",entity_extra:"Použitá v šablónach a akciách",content:"Obsah",badge_icon:"Ikona odznaku",badge_color:"Farba odznaku",picture:"Obrázok (nahrádza ikonu)"},title:{title:"Nadpis",subtitle:"Podnadpis",title_tap_action:"Akcia klepnutia na názov",subtitle_tap_action:"Akcia klepnutia na titulky"},chips:{alignment:"Zarovnanie"},weather:{show_conditions:"Zobraziť podmienky?",show_temperature:"Zobraziť teplotu?"},update:{show_buttons_control:"Zobraziť ovládacie tlačidlá?"},vacuum:{commands:"Príkazy",commands_list:{on_off:"Zapnúť/Vypnúť"}},"media-player":{use_media_info:"Použiť info o médiu",use_media_artwork:"Použiť obrázok z média",show_volume_level:"Zobraziť úroveň hlasitosti",media_controls:"Ovládanie média",media_controls_list:{on_off:"Zap / Vyp",shuffle:"Premiešať",previous:"Predchádzajúca",play_pause_stop:"Spustiť/pauza/stop",next:"Ďalšia",repeat:"Opakovať"},volume_controls:"Ovládanie hlasitosti",volume_controls_list:{volume_buttons:"Tlačidlá hlasitosti",volume_set:"Úroveň hlasitosti",volume_mute:"Stlmiť"}},lock:{lock:"Zamknuté",unlock:"Odomknuté",open:"Otvorené"},humidifier:{show_target_humidity_control:"Ovládanie vlhkosti?"},climate:{show_temperature_control:"Ovládanie teploty?",hvac_modes:"HVAC mód"},number:{display_mode:"Režim zobrazenia",display_mode_list:{default:"Predvolené (posúvač)",slider:"Posúvač",buttons:"Tlačidlá"}}},chip:{sub_element_editor:{title:"Editor štítkov"},conditional:{chip:"Štítok"},"chip-picker":{chips:"Štítky",add:"Pridať štítok",edit:"Editovať",clear:"Vymazať",select:"Vybrať štítok",types:{action:"Akcia","alarm-control-panel":"Alarm",back:"Späť",conditional:"Podmienené",entity:"Entita",light:"Svetlo",menu:"Menu",spacer:"Medzera",template:"Šablóna",weather:"Počasie"}}}},uo={not_found:"Entita nenájdená"},ho={editor:co,card:uo},mo={form:{color_picker:{values:{default:"Standardfärg"}},info_picker:{values:{default:"Förvald information",name:"Namn",state:"Status","last-changed":"Sist ändrad","last-updated":"Sist uppdaterad",none:"Ingen"}},layout_picker:{values:{default:"Standard",vertical:"Vertikal",horizontal:"Horisontell"}},alignment_picker:{values:{default:"Standard (början)",end:"Slutet",center:"Centrerad",justify:"Anpassa"}}},card:{generic:{icon_color:"Ikonens färg",layout:"Layout",primary_info:"Primär information",secondary_info:"Sekundär information",use_entity_picture:"Använd enheten bild?",icon_animation:"Animera ikonen när fläkten är på?"},light:{show_brightness_control:"Styr ljushet?",use_light_color:"Styr ljusets färg",show_color_temp_control:"Styr färgtemperatur?",show_color_control:"Styr färg?",incompatible_controls:"Kontroller som inte stöds av enheten kommer inte visas."},fan:{show_percentage_control:"Procentuell kontroll?",show_oscillate_control:"Kontroll för oscillera?"},cover:{show_buttons_control:"Visa kontrollknappar?",show_position_control:"Visa positionskontroll?"},template:{primary:"Primär information",secondary:"Sekundär information",multiline_secondary:"Sekundär med flera rader?",content:"Innehåll"},title:{title:"Rubrik",subtitle:"Underrubrik"},chips:{alignment:"Justering"},weather:{show_conditions:"Förhållanden?",show_temperature:"Temperatur?"}},chip:{sub_element_editor:{title:"Chipredigerare"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Lägg till chip",edit:"Redigera",clear:"Rensa",select:"Välj chip",types:{action:"Händelse","alarm-control-panel":"Alarm",back:"Bakåt",conditional:"Villkorad",entity:"Enhet",light:"Ljus",menu:"Meny",template:"Mall",weather:"Väder"}}}},po={editor:mo},fo={form:{color_picker:{values:{default:"Varsayılan renk"}},info_picker:{values:{default:"Varsayılan bilgi",name:"İsim",state:"Durum","last-changed":"Son Değişim","last-updated":"Son Güncelleme",none:"None"}},layout_picker:{values:{default:"Varsayılan düzen",vertical:"Dikey düzen",horizontal:"Yatay düzen"}},alignment_picker:{values:{default:"Varsayılan hizalama",start:"Sola yasla",end:"Sağa yasla",center:"Ortala",justify:"İki yana yasla"}}},card:{generic:{icon_color:"Simge renki",layout:"Düzen",primary_info:"Birinci bilgi",secondary_info:"İkinci bilgi",content_info:"İçerik",use_entity_picture:"Varlık resmi kullanılsın",icon_animation:"Aktif olduğunda simgeyi hareket ettir"},light:{show_brightness_control:"Parlaklık kontrolü",use_light_color:"Işık rengini kullan",show_color_temp_control:"Renk ısısı kontrolü",show_color_control:"Renk kontrolü",incompatible_controls:"Kullandığınız lamba bu özellikleri desteklemiyorsa bazı kontroller görüntülenemeyebilir."},fan:{show_percentage_control:"Yüzde kontrolü",show_oscillate_control:"Salınım kontrolü"},cover:{show_buttons_control:"Düğme kontrolleri",show_position_control:"Pozisyon kontrolü"},template:{primary:"Birinci bilgi",secondary:"İkinci bilgi",multiline_secondary:"İkinci bilgi çok satır olsun",entity_extra:"Şablonlarda ve eylemlerde kullanılsın",content:"İçerik"},title:{title:"Başlık",subtitle:"Altbaşlık"},chips:{alignment:"Hizalama"},weather:{show_conditions:"Hava koşulu",show_temperature:"Sıcaklık"},update:{show_buttons_control:"Düğme kontrolü"},vacuum:{commands:"Komutlar"}},chip:{sub_element_editor:{title:"Chip düzenleyici"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Chip ekle",edit:"Düzenle",clear:"Temizle",select:"Chip seç",types:{action:"Eylem","alarm-control-panel":"Alarm",back:"Geri",conditional:"Koşullu",entity:"Varlık",light:"Işık",menu:"Menü",template:"Şablon",weather:"Hava Durumu"}}}},go={editor:fo},_o={form:{color_picker:{values:{default:"Колір за замовчуванням"}},info_picker:{values:{default:"Інформація за замовчуванням",name:"Назва",state:"Стан","last-changed":"Востаннє змінено","last-updated":"Востаннє оновлено",none:"Нічого"}},icon_type_picker:{values:{default:"За замовчуванням",icon:"Іконка","entity-picture":"Зображення сутності",none:"Нічого"}},layout_picker:{values:{default:"Розташування за замовчуванням",vertical:"Вертикальне розташування",horizontal:"Горизонтальне розташування"}},alignment_picker:{values:{default:"Вирівнювання за замовчуванням",start:"На початку",end:"В кінці",center:"По центру",justify:"Вирівняти"}}},card:{generic:{icon_color:"Колір іконки",layout:"Розташування",fill_container:"Заповнити контейнер",primary_info:"Головна інформація",secondary_info:"Додаткова інформація",icon_type:"Тип іконки",content_info:"Вміст",use_entity_picture:"Використовувати зображення сутності?",collapsible_controls:"Приховувати елементи керування коли вимкнено?",icon_animation:"Анімувати іконку при активації?"},light:{show_brightness_control:"Контроль яскравості?",use_light_color:"Використовувати колір світла",show_color_temp_control:"Керування температурою світла?",show_color_control:"Керування кольором світла?",incompatible_controls:"Деякі елементи керування можуть не відображатись якщо ваш пристрій не підтримує цю функцію."},fan:{show_percentage_control:"Керування швидкістю?",show_oscillate_control:"Керування повротом?"},cover:{show_buttons_control:"Кнопки керування?",show_position_control:"Керування позицією?",show_tilt_position_control:"Керування нахилом?"},template:{primary:"Головна інформація",secondary:"Додаткова інформаіця",multiline_secondary:"Багаторядкова додаткова інформація?",entity_extra:"Використовується в шаблонах та діях",content:"Вміст",badge_icon:"Іконка значка",badge_color:"Колір значка",picture:"Зображення (замінить іконку)"},title:{title:"Заголовок",subtitle:"Підзаголовок",title_tap_action:"Дія при дотику до заголовку",subtitle_tap_action:"Дія при дотику до підзаголовку"},chips:{alignment:"Вирівнювання"},weather:{show_conditions:"Умови?",show_temperature:"Температура?"},update:{show_buttons_control:"Кнопки керування?"},vacuum:{commands:"Команди",commands_list:{on_off:"Увімкнути/Вимкнути"}},"media-player":{use_media_info:"Використовувати інформацію медіа",use_media_artwork:"Використовувати зображення медіа",show_volume_level:"Показати рівень гучності",media_controls:"Керування медіа",media_controls_list:{on_off:"Увімкнути/Вимкнути",shuffle:"Перемішати",previous:"Попередній трек",play_pause_stop:"Відтворити/пауза/стоп",next:"Наступний трек",repeat:"Режим повторення"},volume_controls:"Елементи керування гучністю",volume_controls_list:{volume_buttons:"Кнопки гучності",volume_set:"Рівень гучності",volume_mute:"Вимк. звук"}},lock:{lock:"Зачинити",unlock:"Відчинити",open:"Відкрити"},humidifier:{show_target_humidity_control:"Керування вологістю?"},climate:{show_temperature_control:"Керування температурою?",hvac_modes:"Режими"},number:{display_mode:"Відображати режим",display_mode_list:{default:"За замовчуванням (повзунок)",slider:"Повзунок",buttons:"Кнопки"}}},chip:{sub_element_editor:{title:"Редактор міні-карток"},conditional:{chip:"Міні-картка"},"chip-picker":{chips:"Міні-картки",add:"Додати міні-картку",edit:"Редагувати",clear:"Очистити",select:"Обрати міні-картку",types:{action:"Дія","alarm-control-panel":"Сигналізація",back:"Назад",conditional:"Умовна",entity:"Сутність",light:"Світло",menu:"Меню",spacer:"Порожнє місце",template:"Вручну",weather:"Погода"}}}},vo={not_found:"Сутність не знайдено"},bo={editor:_o,card:vo},yo={form:{color_picker:{values:{default:"Màu mặc định"}},info_picker:{values:{default:"Thông tin mặc định",name:"Tên",state:"Trạng thái","last-changed":"Lần thay đổi cuối","last-updated":"Lần cập nhật cuối",none:"Không có"}},icon_type_picker:{values:{default:"Kiểu mặc định",icon:"Biểu tượng","entity-picture":"Ảnh thực thể",none:"Không có"}},layout_picker:{values:{default:"Bố cục mặc định",vertical:"Bố cục dọc",horizontal:"Bố cục ngang"}},alignment_picker:{values:{default:"Căn chỉnh mặc định",start:"Căn đầu",end:"Căn cuối",center:"Căn giữa",justify:"Căn hai bên"}}},card:{generic:{icon_color:"Màu biểu tượng",layout:"Bố cục",fill_container:"Làm đầy ô chứa",primary_info:"Thông tin chính",secondary_info:"Thông tin phụ",icon_type:"Kiểu biểu tượng",content_info:"Nội dung",use_entity_picture:"Dùng ảnh của thực thể?",collapsible_controls:"Thu nhỏ điều kiển khi tắt",icon_animation:"Biểu tượng chuyển động khi kích hoạt?"},light:{show_brightness_control:"Điều khiển độ sáng?",use_light_color:"Dùng màu đèn",show_color_temp_control:"Điều khiển nhiệt độ màu?",show_color_control:"Điều khiển màu sắc?",incompatible_controls:"Một số điều khiển sẽ không được hiển thị nếu đèn của bạn không hỗ trợ tính năng đó."},fan:{show_percentage_control:"Điều khiển dạng phần trăm?",show_oscillate_control:"Điều khiển xoay?"},cover:{show_buttons_control:"Điều khiển nút bấm?",show_position_control:"Điều khiển vị trí?",show_tilt_position_control:"Điều khiển độ nghiêng?"},template:{primary:"Thông tin chính",secondary:"Thông tin phụ",multiline_secondary:"Nhiều dòng thông tin phụ?",entity_extra:"Được sử dụng trong bản mẫu và hành động",content:"Nội dung",badge_icon:"Biểu tượng huy hiệu",badge_color:"Màu huy hiệu",picture:"Ảnh (thay cho biểu tượng)"},title:{title:"Tiêu đề",subtitle:"Phụ đề",title_tap_action:"Hành động khi nhấp tiêu đề",subtitle_tap_action:"Hành động khi nhấp phụ đề"},chips:{alignment:"Căn chỉnh"},weather:{show_conditions:"Điều kiện?",show_temperature:"Nhiệt độ?"},update:{show_buttons_control:"Điều khiển nút bấm?"},vacuum:{commands:"Mệnh lệnh",commands_list:{on_off:"Bật/tắt"}},"media-player":{use_media_info:"Dùng thông tin đa phương tiện",use_media_artwork:"Dùng ảnh đa phương tiện",show_volume_level:"Hiện mức âm lượng",media_controls:"Điều khiển đa phương tiện",media_controls_list:{on_off:"Bật/tắt",shuffle:"Xáo trộn",previous:"Bài trước",play_pause_stop:"Phát/tạm dừng/dừng",next:"Bài tiếp theo",repeat:"Chế độ lặp lại"},volume_controls:"Điều khiển âm lượng",volume_controls_list:{volume_buttons:"Nút âm lượng",volume_set:"Mức âm lượng",volume_mute:"Im lặng"}},lock:{lock:"Khóa",unlock:"Mở khóa",open:"Mở"},humidifier:{show_target_humidity_control:"Điều khiển độ ẩm?"},climate:{show_temperature_control:"Điều khiển nhiệt độ?",hvac_modes:"Chế độ điều hòa"},number:{display_mode:"Chế độ hiển thị",display_mode_list:{default:"Mặc định (thanh trượt)",slider:"Thanh trượt",buttons:"Nút"}}},chip:{sub_element_editor:{title:"Trình soạn phỉnh"},conditional:{chip:"Phỉnh"},"chip-picker":{chips:"Phỉnh",add:"Thêm phỉnh",edit:"Chỉnh sửa",clear:"Tẩy trống",select:"Chọn phỉnh",types:{action:"Hành động","alarm-control-panel":"Báo động",back:"Quay về",conditional:"Điều kiện",entity:"Thực thể",light:"Đèn",menu:"Trình đơn",spacer:"Ngăn cách",template:"Mẫu",weather:"Thời tiết"}}}},xo={not_found:"Không tìm thấy thực thể"},wo={editor:yo,card:xo},ko={form:{color_picker:{values:{default:"默认颜色"}},info_picker:{values:{default:"默认信息",name:"名称",state:"状态","last-changed":"变更时间","last-updated":"更新时间",none:"无"}},icon_type_picker:{values:{default:"默认类型",icon:"图标","entity-picture":"实体图片",none:"无"}},layout_picker:{values:{default:"默认布局",vertical:"垂直布局",horizontal:"水平布局"}},alignment_picker:{values:{default:"默认",start:"左对齐",end:"右对齐",center:"居中对齐",justify:"两端对齐"}}},card:{generic:{icon_color:"图标颜色",layout:"布局",fill_container:"填满容器",primary_info:"首要信息",secondary_info:"次要信息",icon_type:"图标类型",content_info:"内容",use_entity_picture:"使用实体图片?",collapsible_controls:"关闭时隐藏控制器",icon_animation:"激活时使用动态图标?"},light:{show_brightness_control:"亮度控制?",use_light_color:"使用灯光颜色",show_color_temp_control:"色温控制?",show_color_control:"颜色控制?",incompatible_controls:"设备不支持的控制器将不会显示。"},fan:{show_percentage_control:"百分比控制?",show_oscillate_control:"摆动控制?"},cover:{show_buttons_control:"按钮控制?",show_position_control:"位置控制?",show_tilt_position_control:"角度控制?"},template:{primary:"首要信息",secondary:"次要信息",multiline_secondary:"多行次要信息?",entity_extra:"用于模板和动作",content:"内容",badge_icon:"徽标图标",badge_color:"徽标颜色",picture:"图片 (将会替代图标)"},title:{title:"标题",subtitle:"子标题",title_tap_action:"标题点击动作",subtitle_tap_action:"子标题点击动作"},chips:{alignment:"对齐"},weather:{show_conditions:"条件?",show_temperature:"温度?"},update:{show_buttons_control:"控制按钮?"},vacuum:{commands:"命令",commands_list:{on_off:"开/关"}},"media-player":{use_media_info:"使用媒体信息",use_media_artwork:"使用媒体插图",show_volume_level:"显示音量大小",media_controls:"媒体控制",media_controls_list:{on_off:"开启/关闭",shuffle:"随机",previous:"上一曲",play_pause_stop:"播放/暂停/停止",next:"下一曲",repeat:"循环模式"},volume_controls:"音量控制",volume_controls_list:{volume_buttons:"音量按钮",volume_set:"音量等级",volume_mute:"静音"}},lock:{lock:"锁定",unlock:"解锁",open:"打开"},humidifier:{show_target_humidity_control:"湿度控制?"},climate:{show_temperature_control:"温度控制?",hvac_modes:"空调模式"},number:{display_mode:"显示模式",display_mode_list:{default:"默认 (滑块)",slider:"滑块",buttons:"按钮"}}},chip:{sub_element_editor:{title:"Chip 编辑"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"添加 chip",edit:"编辑",clear:"清除",select:"选择 chip",types:{action:"动作","alarm-control-panel":"警戒控制台",back:"返回",conditional:"条件显示",entity:"实体",light:"灯光",menu:"菜单",spacer:"占位符",template:"模板",weather:"天气"}}}},Co={not_found:"未找到实体"},$o={editor:ko,card:Co},Eo={form:{color_picker:{values:{default:"預設顏色"}},info_picker:{values:{default:"預設訊息",name:"名稱",state:"狀態","last-changed":"最近變動時間","last-updated":"最近更新時間",none:"無"}},icon_type_picker:{values:{default:"預設樣式",icon:"圖示","entity-picture":"實體圖片",none:"無"}},layout_picker:{values:{default:"預設佈局",vertical:"垂直佈局",horizontal:"水平佈局"}},alignment_picker:{values:{default:"預設對齊",start:"居左對齊",end:"居右對齊",center:"居中對齊",justify:"兩端對齊"}}},card:{generic:{icon_color:"圖示顏色",layout:"佈局",fill_container:"填滿容器",primary_info:"主要訊息",secondary_info:"次要訊息",icon_type:"圖示樣式",content_info:"內容",use_entity_picture:"使用實體圖片?",collapsible_controls:"關閉時隱藏控制項",icon_animation:"啟動時使用動態圖示?"},light:{show_brightness_control:"亮度控制?",use_light_color:"使用燈光顏色",show_color_temp_control:"色溫控制?",show_color_control:"色彩控制?",incompatible_controls:"不會顯示裝置不支援的控制。"},fan:{show_percentage_control:"百分比控制?",show_oscillate_control:"擺頭控制?"},cover:{show_buttons_control:"按鈕控制?",show_position_control:"位置控制?",show_tilt_position_control:"角度控制?"},template:{primary:"主要訊息",secondary:"次要訊息",multiline_secondary:"多行次要訊息?",entity_extra:"用於模板與動作",content:"內容",badge_icon:"角標圖示",badge_color:"角標顏色",picture:"圖片 (將會取代圖示)"},title:{title:"標題",subtitle:"副標題",title_tap_action:"標題點擊動作",subtitle_tap_action:"副標題點擊動作"},chips:{alignment:"對齊"},weather:{show_conditions:"狀況?",show_temperature:"溫度?"},update:{show_buttons_control:"按鈕控制?"},vacuum:{commands:"指令",commands_list:{on_off:"開啟、關閉"}},"media-player":{use_media_info:"使用媒體資訊",use_media_artwork:"使用媒體插圖",show_volume_level:"顯示音量大小",media_controls:"媒體控制",media_controls_list:{on_off:"開啟、關閉",shuffle:"隨機播放",previous:"上一首",play_pause_stop:"播放、暫停、停止",next:"下一首",repeat:"重複播放"},volume_controls:"音量控制",volume_controls_list:{volume_buttons:"音量按鈕",volume_set:"音量等級",volume_mute:"靜音"}},lock:{lock:"上鎖",unlock:"解鎖",open:"打開"},humidifier:{show_target_humidity_control:"溼度控制?"},climate:{show_temperature_control:"溫度控制?",hvac_modes:"空調模式"},number:{display_mode:"顯示模式",display_mode_list:{default:"預設 (滑桿)",slider:"滑桿",buttons:"按鈕"}}},chip:{sub_element_editor:{title:"小卡片編輯器"},conditional:{chip:"小卡片"},"chip-picker":{chips:"小卡片",add:"新增小卡片",edit:"編輯",clear:"清除",select:"選擇小卡片",types:{action:"動作","alarm-control-panel":"警報器控制",back:"返回",conditional:"條件",entity:"實體",light:"燈光",menu:"選單",spacer:"佔位符",template:"模板",weather:"天氣"}}}},Ao={not_found:"未找到實體"},So={editor:Eo,card:Ao};const Io={ar:Object.freeze({__proto__:null,default:li,editor:ai}),bg:Object.freeze({__proto__:null,default:ci,editor:si}),ca:Object.freeze({__proto__:null,card:ui,default:hi,editor:di}),cs:Object.freeze({__proto__:null,card:pi,default:fi,editor:mi}),da:Object.freeze({__proto__:null,default:_i,editor:gi}),de:Object.freeze({__proto__:null,card:bi,default:yi,editor:vi}),el:Object.freeze({__proto__:null,default:wi,editor:xi}),en:Object.freeze({__proto__:null,card:Ci,default:$i,editor:ki}),es:Object.freeze({__proto__:null,default:Ai,editor:Ei}),fi:Object.freeze({__proto__:null,default:Ii,editor:Si}),fr:Object.freeze({__proto__:null,default:Oi,editor:Ti}),he:Object.freeze({__proto__:null,default:Mi,editor:zi}),hu:Object.freeze({__proto__:null,card:Di,default:Li,editor:ji}),id:Object.freeze({__proto__:null,card:Ni,default:Ri,editor:Pi}),it:Object.freeze({__proto__:null,card:Vi,default:Bi,editor:Fi}),"ko-KR":Object.freeze({__proto__:null,default:Hi,editor:Ui}),nb:Object.freeze({__proto__:null,default:Wi,editor:Yi}),nl:Object.freeze({__proto__:null,card:Ki,default:Gi,editor:Xi}),pl:Object.freeze({__proto__:null,default:Zi,editor:qi}),"pt-BR":Object.freeze({__proto__:null,default:Qi,editor:Ji}),"pt-PT":Object.freeze({__proto__:null,default:eo,editor:to}),ro:Object.freeze({__proto__:null,default:oo,editor:io}),ru:Object.freeze({__proto__:null,default:ro,editor:no}),sl:Object.freeze({__proto__:null,card:lo,default:so,editor:ao}),sk:Object.freeze({__proto__:null,card:uo,default:ho,editor:co}),sv:Object.freeze({__proto__:null,default:po,editor:mo}),tr:Object.freeze({__proto__:null,default:go,editor:fo}),uk:Object.freeze({__proto__:null,card:vo,default:bo,editor:_o}),vi:Object.freeze({__proto__:null,card:xo,default:wo,editor:yo}),"zh-Hans":Object.freeze({__proto__:null,card:Co,default:$o,editor:ko}),"zh-Hant":Object.freeze({__proto__:null,card:Ao,default:So,editor:Eo})};function To(t,e){try{return t.split(".").reduce(((t,e)=>t[e]),Io[e])}catch(t){return}}function Oo(t){return function(e){var i;let o=To(e,null!==(i=null==t?void 0:t.locale.language)&&void 0!==i?i:"en");return o||(o=To(e,"en")),null!=o?o:e}} + paper-icon-item.hidden-panel, + paper-icon-item.hidden-panel span, + paper-icon-item.hidden-panel ha-icon[slot="item-icon"] { + color: var(--secondary-text-color); + cursor: pointer; + } +`;var ai={form:{color_picker:{values:{default:"اللون الإفتراضي"}},info_picker:{values:{default:"المعلومات الافتراضية",name:"الإسم",state:"الحالة","last-changed":"آخر تغيير","last-updated":"آخر تحديث",none:"لا شئ"}},icon_type_picker:{values:{default:"النوع افتراضي",icon:"أيقونة","entity-picture":"صورة الكيان",none:"لا شئ"}},layout_picker:{values:{default:"تخطيط افتراضي",vertical:"تخطيط رأسي",horizontal:"تخطيط أفقي"}},alignment_picker:{values:{default:"المحاذاة الافتراضية",start:"بداية",end:"نهاية",center:"توسيط",justify:"مساواة"}}},card:{generic:{icon_color:"لون الأيقونة",layout:"التخطيط",fill_container:"ملئ الحاوية",primary_info:"المعلومات الأساسية",secondary_info:"المعلومات الفرعية",icon_type:"نوع الأيقونة",content_info:"المحتوى",use_entity_picture:"استخدم صورة الكيان؟",collapsible_controls:"تصغير عناصر التحكم عند الإيقاف",icon_animation:"تحريك الرمز عندما يكون نشطًا؟"},light:{show_brightness_control:"التحكم في السطوع؟",use_light_color:"استخدم لون فاتح",show_color_temp_control:"التحكم في حرارة اللون؟",show_color_control:"التحكم في اللون؟",incompatible_controls:"قد لا يتم عرض بعض عناصر التحكم إذا كان الضوء الخاص بك لا يدعم الميزة."},fan:{show_percentage_control:"التحكم في النسبة المئوية؟",show_oscillate_control:"التحكم في التذبذب؟"},cover:{show_buttons_control:"أزرار التحكم؟",show_position_control:"التحكم في الموقع؟"},template:{primary:"المعلومات الأساسية",secondary:"المعلومات الثانوية",multiline_secondary:"متعدد الأسطر الثانوية؟",entity_extra:"تستخدم في القوالب والإجراءات",content:"المحتوى",badge_icon:"أيقونة الشارة",badge_color:"لون الشارة",picture:"صورة (ستحل محل الأيقونة)"},title:{title:"العنوان",subtitle:"العنوان الفرعي"},chips:{alignment:"محاذاة"},weather:{show_conditions:"الأحوال الجوية؟",show_temperature:"الطقس؟"},update:{show_buttons_control:"أزرار التحكم؟"},vacuum:{commands:"الاوامر"},"media-player":{use_media_info:"استخدم معلومات الوسائط",use_media_artwork:"استخدم صورة الوسائط",show_volume_level:"إظهار مستوى الصوت",media_controls:"التحكم في الوسائط",media_controls_list:{on_off:"تشغيل/إيقاف",shuffle:"خلط",previous:"السابق",play_pause_stop:"تشغيل/إيقاف مؤقت/إيقاف",next:"التالي",repeat:"وضع التكرار"},volume_controls:"التحكم في الصوت",volume_controls_list:{volume_buttons:"أزرار الصوت",volume_set:"مستوى الصوت",volume_mute:"كتم"}},lock:{lock:"مقفل",unlock:"إلغاء قفل",open:"مفتوح"},humidifier:{show_target_humidity_control:"التحكم في الرطوبة؟?"},climate:{show_temperature_control:"التحكم في درجة الحرارة؟",hvac_modes:"أوضاع HVAC"}},chip:{sub_element_editor:{title:"محرر الرقاقة"},conditional:{chip:"رقاقة"},"chip-picker":{chips:"رقاقات",add:"أضف رقاقة",edit:"تعديل",clear:"مسح",select:"اختر الرقاقة",types:{action:"إجراء","alarm-control-panel":"تنبيه",back:"رجوع",conditional:"مشروط",entity:"الكيان",light:"Light",menu:"القائمة",template:"قالب",weather:"الطقس"}}}},si={editor:ai},li={form:{color_picker:{values:{default:"Основен цвят"}},info_picker:{values:{default:"Основна информация",name:"Име",state:"Състояние","last-changed":"Последно Променен","last-updated":"Последно Актуализиран",none:"Липсва"}},icon_type_picker:{values:{default:"Основен тип",icon:"Икона","entity-picture":"Картина на обекта",none:"Липсва"}},layout_picker:{values:{default:"Основно оформление",vertical:"Вертикално оформление",horizontal:"Хоризонтално оформление"}},alignment_picker:{values:{default:"Основно подравняване",start:"Старт",end:"Край",center:"Център",justify:"Подравнен"}}},card:{generic:{icon_color:"Цвят на икона",layout:"Оформление",fill_container:"Изпълване на контейнера",primary_info:"Първостепенна информация",secondary_info:"Второстепенна информация",icon_type:"Тип на икона",content_info:"Съдържание",use_entity_picture:"Използвай снимката на обекта?",collapsible_controls:"Свий контролите при изключен",icon_animation:"Анимирай иконата при активен?"},light:{show_brightness_control:"Контрол на яркостта?",use_light_color:"Използвай цвета на светлината",show_color_temp_control:"Контрол на температурата?",show_color_control:"Контрол на цвета?",incompatible_controls:"Някои опции могат да бъдат скрити при условие че осветителното тяло не поддържа фунцията."},fan:{show_percentage_control:"Процентов контрол?",show_oscillate_control:"Контрол на трептенето?"},cover:{show_buttons_control:"Контролни бутони?",show_position_control:"Контрол на позицията?",show_tilt_position_control:"Контрол на наклона?"},template:{primary:"Първостепенна информация",secondary:"Второстепенна информация",multiline_secondary:"Много-редова второстепенна информация?",entity_extra:"Използван в шаблони и действия",content:"Съдържание",badge_icon:"Икона на значка",badge_color:"Цвят на значка",picture:"Картина (ще замени иконата)"},title:{title:"Заглавие",subtitle:"Подзаглавие"},chips:{alignment:"Подравняване"},weather:{show_conditions:"Условия?",show_temperature:"Температура?"},update:{show_buttons_control:"Контролни бутони?"},vacuum:{commands:"Конади",commands_list:{on_off:"Вкл./Изкл."}},"media-player":{use_media_info:"Използвай информация от медията",use_media_artwork:"Използвай визуалните детайли от медията",show_volume_level:"Покажи контрола за звук",media_controls:"Контрол на Медиата",media_controls_list:{on_off:"Вкл./Изкл.",shuffle:"Разбъркано",previous:"Предишен",play_pause_stop:"Пусни/пауза/стоп",next:"Следващ",repeat:"Повтаряне"},volume_controls:"Контрол на звука",volume_controls_list:{volume_buttons:"Бутони за звук",volume_set:"Ниво на звука",volume_mute:"Заглуши"}},lock:{lock:"Заключен",unlock:"Отключен",open:"Отворен"},humidifier:{show_target_humidity_control:"Контрол на влажността?"},climate:{show_temperature_control:"Контрол на температурата?",hvac_modes:"HVAC Режими"}},chip:{sub_element_editor:{title:"Чип редактор"},conditional:{chip:"Чип"},"chip-picker":{chips:"Чипове",add:"Добави чип",edit:"Редактирай",clear:"Изчисти",select:"Избери чип",types:{action:"Действия","alarm-control-panel":"Аларма",back:"Назад",conditional:"Условни",entity:"Обект",light:"Осветление",menu:"Меню",template:"Шаблон",weather:"Време"}}}},ci={editor:li},di={form:{color_picker:{values:{default:"Color per defecte"}},info_picker:{values:{default:"Informació per defecte",name:"Nom",state:"Estat","last-changed":"Últim Canvi","last-updated":"Última Actualització",none:"Cap"}},icon_type_picker:{values:{default:"Tipus per defecte",icon:"Icona","entity-picture":"Entitat d'imatge",none:"Cap"}},layout_picker:{values:{default:"Distribució per defecte",vertical:"Distribució vertical",horizontal:"Distribució horitzontal"}},alignment_picker:{values:{default:"Alineació per defecte",start:"Inici",end:"Final",center:"Centre",justify:"Justifica"}}},card:{generic:{icon_color:"Color d'icona",layout:"Distribució",fill_container:"Emplena el contenidor",primary_info:"Informació primaria",secondary_info:"Informació secundaria",icon_type:"Tipus d'icona",content_info:"Contingut",use_entity_picture:"Fer servir la imatge de l'entitat?",collapsible_controls:"Amaga els controls en desactivar",icon_animation:"Animar icona en activar?"},light:{show_brightness_control:"Control de brillantor?",use_light_color:"Fes servir el color del llum",show_color_temp_control:"Control de la temperatura del color?",show_color_control:"Control de color?",incompatible_controls:"Alguns controls no es mostraran si l'entitat no suporta eixa funció."},fan:{show_percentage_control:"Control de percentatge?",show_oscillate_control:"Control d'oscil·lació?"},cover:{show_buttons_control:"Botons de control?",show_position_control:"Control de posició?",show_tilt_position_control:"Control d'inclinació?"},template:{primary:"Informació primaria",secondary:"Informació secundaria",multiline_secondary:"Secundaria en varies línies?",entity_extra:"Utilitzats en plantilles i accions",content:"Contingut",badge_icon:"Icona de la insígnia",badge_color:"Color de la insígnia",picture:"Imatge (reemplaçarà la icona)"},title:{title:"Títol",subtitle:"Subtítol",title_tap_action:"Acció en tocar el títol",subtitle_tap_action:"Acció en tocar el subtítol"},chips:{alignment:"Alineació"},weather:{show_conditions:"Condicions?",show_temperature:"Temperatura?"},update:{show_buttons_control:"Botons de control?"},vacuum:{commands:"Comandaments",commands_list:{on_off:"Engegar/Apagar"}},"media-player":{use_media_info:"Empra la informació multimèdia",use_media_artwork:"Fes servir l'art multimèdia",show_volume_level:"Mostra el nivell de volum",media_controls:"Controls multimèdia",media_controls_list:{on_off:"Engegar/Apagar",shuffle:"Mesclar",previous:"Pista anterior",play_pause_stop:"Reproduïr/Pausar/Detindre",next:"Pista següent",repeat:"Mode de repetició"},volume_controls:"Controls de volum",volume_controls_list:{volume_buttons:"Botons de volum",volume_set:"Nivell de volum",volume_mute:"Silenci"}},lock:{lock:"Bloqueja",unlock:"Desbloqueja",open:"Obri"},humidifier:{show_target_humidity_control:"Control d'humitat?"},climate:{show_temperature_control:"Control de temperatura?",hvac_modes:"Modes HVAC"},number:{display_mode:"Mode de visualització",display_mode_list:{default:"Per defecte (lliscant)",slider:"Lliscant",buttons:"Botons"}}},chip:{sub_element_editor:{title:"Editor de xips"},conditional:{chip:"Xip"},"chip-picker":{chips:"Xips",add:"Afegir xip",edit:"Editar",clear:"Buidar",select:"Seleccionar chip",types:{action:"Acció","alarm-control-panel":"Alarma",back:"Tornar",conditional:"Condicional",entity:"Entitat",light:"Llum",menu:"Menú",spacer:"Espai",template:"Plantilla",weather:"Oratge"}}}},ui={not_found:"No s'ha trobat l'entitat"},hi={editor:di,card:ui},mi={form:{color_picker:{values:{default:"Výchozí barva"}},info_picker:{values:{default:"Výchozí informace",name:"Název",state:"Stav","last-changed":"Poslední změna","last-updated":"Poslední aktualizace",none:"Nic"}},icon_type_picker:{values:{default:"Výchozí typ",icon:"Ikona","entity-picture":"Ikona entity",none:"Nic"}},layout_picker:{values:{default:"Výchozí rozložení",vertical:"Svislé rozložení",horizontal:"Vodorovné rozložení"}},alignment_picker:{values:{default:"Výchozí zarovnání",start:"Na začátek",end:"Na konec",center:"Na střed",justify:"Do bloku"}}},card:{generic:{icon_color:"Barva ikony",layout:"Rozložení",fill_container:"Vyplnit prostor",primary_info:"Primární informace",secondary_info:"Sekundární informace",icon_type:"Typ ikony",content_info:"Obsah",use_entity_picture:"Použít ikonu entity?",collapsible_controls:"Pokud je vypnuto, skrýt ovládací prvky",icon_animation:"Pokud je aktivní, animovat ikonu?"},light:{show_brightness_control:"Ovládání jasu?",use_light_color:"Ikona podle barvy světla?",show_color_temp_control:"Ovládání teploty světla?",show_color_control:"Ovládání barvy světla?",incompatible_controls:"Některé ovládací prvky se nemusí zobrazit, pokud vaše světlo tuto funkci nepodporuje."},fan:{show_percentage_control:"Ovládání v procentech?",show_oscillate_control:"Ovládání oscilaceM"},cover:{show_buttons_control:"Zobrazit ovládací tlačítka?",show_position_control:"Zobrazit ovládání polohy?",show_tilt_position_control:"Zobrazit ovládání náklonu?"},template:{primary:"Primární informace",secondary:"Sekundární informace",multiline_secondary:"Víceřádková sekundární informace?",entity_extra:"Použito v šablonách a akcích",content:"Obsah",badge_icon:"Ikona odznaku",badge_color:"Barva odznaku",picture:"Obrázek (nahradí ikonu)"},title:{title:"Nadpis",subtitle:"Popis",title_tap_action:"Akce při klepnutí na nadpis",subtitle_tap_action:"Akce při klepnutí na popis"},chips:{alignment:"Zarovnání"},weather:{show_conditions:"Zobrazit podmínky?",show_temperature:"Zobrazit teplotu?"},update:{show_buttons_control:"Zobrazit ovládací tlačítka?"},vacuum:{commands:"Příkazy",commands_list:{on_off:"Zapnout/Vypnout"}},"media-player":{use_media_info:"Použít informace z média",use_media_artwork:"Použít artwork z média",show_volume_level:"Zobrazit úroveň hlasitosti",media_controls:"Ovládání médií",media_controls_list:{on_off:"Zapnout/Vypnout",shuffle:"Zamíchat",previous:"Předchozí stopa",play_pause_stop:"Přehrát/Pauza/Zastavit",next:"Další stopa",repeat:"Režim opakování"},volume_controls:"Ovládání hlasitosti",volume_controls_list:{volume_buttons:"Tlačítka hlasitosti",volume_set:"Úroveň hlasitosti",volume_mute:"Ztlumit"}},lock:{lock:"Zamčeno",unlock:"Odemčeno",open:"Otevřeno"},humidifier:{show_target_humidity_control:"Ovládání vlhkosti?"},climate:{show_temperature_control:"Ovládání teploty?",hvac_modes:"Režimy HVAC"},number:{display_mode:"Režim zobrazení",display_mode_list:{default:"Výchozí (posuvník)",slider:"Posuvník",buttons:"Tlačítka"}}},chip:{sub_element_editor:{title:"Editor tlačítek"},conditional:{chip:"Tlačítko"},"chip-picker":{chips:"Tlačítka",add:"Přidat tlačítko",edit:"Upravit",clear:"Vymazat",select:"Vybrat tlačítko",types:{action:"Akce","alarm-control-panel":"Alarm",back:"Zpět",conditional:"Podmínka",entity:"Entita",light:"Světlo",menu:"Menu",spacer:"Mezera",template:"Šablona",weather:"Počasí"}}}},pi={not_found:"Entita nebyla nalezena"},fi={editor:mi,card:pi},gi={form:{color_picker:{values:{default:"Standard farve"}},info_picker:{values:{default:"Standard information",name:"Navn",state:"Status","last-changed":"Sidst ændret","last-updated":"Sidst opdateret",none:"Ingen"}},icon_type_picker:{values:{default:"Standard type",icon:"Ikon","entity-picture":"Enheds billede",none:"Ingen"}},layout_picker:{values:{default:"Standard layout",vertical:"Vertikal layout",horizontal:"Horisontal layout"}},alignment_picker:{values:{default:"Standard justering",start:"Start",end:"Slut",center:"Centrer",justify:"Lige margener"}}},card:{generic:{icon_color:"Ikon farve",layout:"Layout",fill_container:"Fyld container",primary_info:"Primær information",secondary_info:"Sekundær information",icon_type:"Ikon type",content_info:"Indhold",use_entity_picture:"Brug enheds billede?",collapsible_controls:"Skjul kontroller når slukket",icon_animation:"Animér ikon når aktiv?"},light:{show_brightness_control:"Lysstyrkekontrol?",use_light_color:"Brug lysfarve",show_color_temp_control:"Temperatur farvekontrol?",show_color_control:"Farvekontrol?",incompatible_controls:"Nogle kontroller vises muligvis ikke, hvis dit lys ikke understøtter funktionen."},fan:{show_percentage_control:"Procentvis kontrol?",show_oscillate_control:"Oscillerende kontrol?"},cover:{show_buttons_control:"Betjeningsknapper?",show_position_control:"Positionskontrol?"},template:{primary:"Primær information",secondary:"Sekundær information",multiline_secondary:"Multi-linje skundær?",entity_extra:"Anvendes i skabelober og handlinger",content:"Indhold",badge_icon:"Badge ikon",badge_color:"Badge farve",picture:"Billede (erstatter ikonen)"},title:{title:"Titel",subtitle:"Undertitel"},chips:{alignment:"Justering"},weather:{show_conditions:"Forhold?",show_temperature:"Temperatur?"},update:{show_buttons_control:"Betjeningsknapper?"},vacuum:{commands:"Kommandoer"},"media-player":{use_media_info:"Brug medie info",use_media_artwork:"Brug mediebilleder",show_volume_level:"Vis volumen niveau",media_controls:"Medie kontrol",media_controls_list:{on_off:"Tænd/Sluk",shuffle:"Bland",previous:"Forrige nummer",play_pause_stop:"Afspil/Pause/Stop",next:"Næste nummer",repeat:"Gentagelsestilstand"},volume_controls:"Volumen kontrol",volume_controls_list:{volume_buttons:"Volumen knapper",volume_set:"Volumenniveau",volume_mute:"Lydløs"}},lock:{lock:"Lås",unlock:"Lås op",open:"Åben"},humidifier:{show_target_humidity_control:"Luftfugtigheds kontrol?"},climate:{show_temperature_control:"Temperatur kontrol?",hvac_modes:"HVAC-tilstande"}},chip:{sub_element_editor:{title:"Chip-editor"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Tilføj chip",edit:"Rediger",clear:"Nulstil",select:"Vælg chip",types:{action:"Handling","alarm-control-panel":"Alarm",back:"Tilbage",conditional:"Betinget",entity:"Enhed",light:"Lys",menu:"Menu",template:"Skabelon",weather:"Vejr"}}}},_i={editor:gi},vi={form:{color_picker:{values:{default:"Standardfarbe"}},info_picker:{values:{default:"Standard-Information",name:"Name",state:"Zustand","last-changed":"Letzte Änderung","last-updated":"Letzte Aktualisierung",none:"Keine"}},icon_type_picker:{values:{default:"Standard-Typ",icon:"Icon","entity-picture":"Entitätsbild",none:"Keines"}},layout_picker:{values:{default:"Standard-Layout",vertical:"Vertikales Layout",horizontal:"Horizontales Layout"}},alignment_picker:{values:{default:"Standard",start:"Anfang",end:"Ende",center:"Mitte",justify:"Ausrichten"}}},card:{generic:{icon_color:"Icon-Farbe",layout:"Layout",fill_container:"Container ausfüllen",primary_info:"Primäre Information",secondary_info:"Sekundäre Information",icon_type:"Icon-Typ",content_info:"Inhalt",use_entity_picture:"Entitätsbild verwenden?",collapsible_controls:"Schieberegler einklappen, wenn aus",icon_animation:"Icon animieren, wenn aktiv?"},light:{show_brightness_control:"Helligkeitsregelung?",use_light_color:"Farbsteuerung verwenden",show_color_temp_control:"Farbtemperatursteuerung?",show_color_control:"Farbsteuerung?",incompatible_controls:"Einige Steuerelemente werden möglicherweise nicht angezeigt, wenn Ihr Licht diese Funktion nicht unterstützt."},fan:{show_percentage_control:"Prozentuale Kontrolle?",show_oscillate_control:"Oszillationssteuerung?"},cover:{show_buttons_control:"Schaltflächensteuerung?",show_position_control:"Positionssteuerung?",show_tilt_position_control:"Winkelsteuerung?"},template:{primary:"Primäre Information",secondary:"Sekundäre Information",multiline_secondary:"Mehrzeilig sekundär?",entity_extra:"Wird in Vorlagen und Aktionen verwendet",content:"Inhalt",badge_icon:"Badge-Icon",badge_color:"Badge-Farbe",picture:"Bild (ersetzt das Icon)"},title:{title:"Titel",subtitle:"Untertitel",title_tap_action:"Titel Tipp-Aktion",subtitle_tap_action:"Untertitel Tipp-Aktion"},chips:{alignment:"Ausrichtung"},weather:{show_conditions:"Bedingungen?",show_temperature:"Temperatur?"},update:{show_buttons_control:"Schaltflächensteuerung?"},vacuum:{commands:"Befehle",commands_list:{on_off:"An/Ausschalten"}},"media-player":{use_media_info:"Medieninfos verwenden",use_media_artwork:"Mediengrafik verwenden",show_volume_level:"Lautstärke-Level anzeigen",media_controls:"Mediensteuerung",media_controls_list:{on_off:"Ein/Aus",shuffle:"Zufällige Wiedergabe",previous:"Vorheriger Titel",play_pause_stop:"Play/Pause/Stop",next:"Nächster Titel",repeat:"Wiederholen"},volume_controls:"Lautstärkesteuerung",volume_controls_list:{volume_buttons:"Lautstärke-Buttons",volume_set:"Lautstärke-Level",volume_mute:"Stumm"}},lock:{lock:"Verriegeln",unlock:"Entriegeln",open:"Öffnen"},humidifier:{show_target_humidity_control:"Luftfeuchtigkeitssteuerung?"},climate:{show_temperature_control:"Temperatursteuerung?",hvac_modes:"HVAC-Modi"},number:{display_mode:"Anzeigemodus",display_mode_list:{default:"Standard (Schieberegler)",slider:"Schieberegler",buttons:"Buttons"}}},chip:{sub_element_editor:{title:"Chip Editor"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Chip hinzufügen",edit:"Editieren",clear:"Löschen",select:"Chip auswählen",types:{action:"Aktion","alarm-control-panel":"Alarm",back:"Zurück",conditional:"Bedingung",entity:"Entität",light:"Licht",menu:"Menü",spacer:"Abstand",template:"Vorlage",weather:"Wetter"}}}},bi={not_found:"Entität nicht gefunden"},yi={editor:vi,card:bi},xi={form:{color_picker:{values:{default:"Προεπιλεγμένο χρώμα"}},info_picker:{values:{default:"Προεπιλεγμένες πληροφορίες",name:"Όνομα",state:"Κατάσταση","last-changed":"Τελευταία αλλαγή","last-updated":"Τελευταία ενημέρωση",none:"Τίποτα"}},layout_picker:{values:{default:"Προεπιλεγμένη διάταξη",vertical:"Κάθετη διάταξη",horizontal:"Οριζόντια διάταξη"}},alignment_picker:{values:{default:"Προεπιλεγμένη στοίχιση",start:"Στοίχιση αριστερά",end:"Στοίχιση δεξιά",center:"Στοίχιση στο κέντρο",justify:"Πλήρης στοίχιση"}}},card:{generic:{icon_color:"Χρώμα εικονιδίου",layout:"Διάταξη",primary_info:"Πρωτεύουσες πληροφορίες",secondary_info:"Δευτερεύουσες πληροφορίες",content_info:"Περιεχόμενο",use_entity_picture:"Χρήση εικόνας οντότητας;",icon_animation:"Κίνηση εικονιδίου όταν είναι ενεργό;"},light:{show_brightness_control:"Έλεγχος φωτεινότητας;",use_light_color:"Χρήση χρώματος φωτος",show_color_temp_control:"Έλεγχος χρώματος θερμοκρασίας;",show_color_control:"Έλεγχος χρώματος;",incompatible_controls:"Ορισμένα στοιχεία ελέγχου ενδέχεται να μην εμφανίζονται εάν το φωτιστικό σας δεν υποστηρίζει τη λειτουργία."},fan:{show_percentage_control:"Έλεγχος ποσοστού;",show_oscillate_control:"Έλεγχος ταλάντωσης;"},cover:{show_buttons_control:"Έλεγχος κουμπιών;",show_position_control:"Έλεγχος θέσης;"},template:{primary:"Πρωτεύουσες πληροφορίες",secondary:"Δευτερεύουσες πληροφορίες",multiline_secondary:"Δευτερεύουσες πολλαπλών γραμμών;",entity_extra:"Χρησιμοποιείται σε πρότυπα και ενέργειες",content:"Περιεχόμενο"},title:{title:"Τίτλος",subtitle:"Υπότιτλος"},chips:{alignment:"Ευθυγράμμιση"},weather:{show_conditions:"Συνθήκες;",show_temperature:"Θερμοκρασία;"},update:{show_buttons_control:"Έλεγχος κουμπιών;"},vacuum:{commands:"Εντολές"},"media-player":{use_media_info:"Χρήση πληροφοριών πολυμέσων",use_media_artwork:"Χρήση έργων τέχνης πολυμέσων",media_controls:"Έλεγχος πολυμέσων",media_controls_list:{on_off:"Ενεργοποίηση/απενεργοποίηση",shuffle:"Τυχαία σειρά",previous:"Προηγούμενο κομμάτι",play_pause_stop:"Αναπαραγωγή/παύση/διακοπή",next:"Επόμενο κομμάτι",repeat:"Λειτουργία επανάληψης"},volume_controls:"Χειριστήρια έντασης ήχου",volume_controls_list:{volume_buttons:"Κουμπιά έντασης ήχου",volume_set:"Επίπεδο έντασης ήχου",volume_mute:"Σίγαση"}}},chip:{sub_element_editor:{title:"Επεξεργαστής Chip"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Προσθήκη chip",edit:"Επεξεργασία",clear:"Καθαρισμός",select:"Επιλογή chip",types:{action:"Ενέργεια","alarm-control-panel":"Συναγερμός",back:"Πίσω",conditional:"Υπό προϋποθέσεις",entity:"Οντότητα",light:"Φως",menu:"Μενού",template:"Πρότυπο",weather:"Καιρός"}}}},wi={editor:xi},ki={form:{color_picker:{values:{default:"Default color"}},info_picker:{values:{default:"Default information",name:"Name",state:"State","last-changed":"Last Changed","last-updated":"Last Updated",none:"None"}},icon_type_picker:{values:{default:"Default type",icon:"Icon","entity-picture":"Entity picture",none:"None"}},layout_picker:{values:{default:"Default layout",vertical:"Vertical layout",horizontal:"Horizontal layout"}},alignment_picker:{values:{default:"Default alignment",start:"Start",end:"End",center:"Center",justify:"Justify"}}},card:{generic:{color:"Color",icon_color:"Icon color",layout:"Layout",fill_container:"Fill container",primary_info:"Primary information",secondary_info:"Secondary information",icon_type:"Icon type",content_info:"Content",use_entity_picture:"Use entity picture?",collapsible_controls:"Collapse controls when off",icon_animation:"Animate icon when active?"},light:{show_brightness_control:"Brightness control?",use_light_color:"Use light color",show_color_temp_control:"Temperature color control?",show_color_control:"Color control?",incompatible_controls:"Some controls may not be displayed if your light does not support the feature."},fan:{show_percentage_control:"Percentage control?",show_oscillate_control:"Oscillate control?"},cover:{show_buttons_control:"Control buttons?",show_position_control:"Position control?",show_tilt_position_control:"Tilt control?"},template:{primary:"Primary information",secondary:"Secondary information",multiline_secondary:"Multiline secondary?",entity_extra:"Used in templates and actions",label:"Label",content:"Content",badge_icon:"Badge icon",badge_color:"Badge color",picture:"Picture (will replace the icon)"},title:{title:"Title",subtitle:"Subtitle",title_tap_action:"Title tap action",subtitle_tap_action:"Subtitle tap action"},chips:{alignment:"Alignment"},weather:{show_conditions:"Conditions?",show_temperature:"Temperature?"},update:{show_buttons_control:"Control buttons?"},vacuum:{commands:"Commands",commands_list:{on_off:"Turn on/off"}},"media-player":{use_media_info:"Use media info",use_media_artwork:"Use media artwork",show_volume_level:"Show volume level",media_controls:"Media controls",media_controls_list:{on_off:"Turn on/off",shuffle:"Shuffle",previous:"Previous track",play_pause_stop:"Play/pause/stop",next:"Next track",repeat:"Repeat mode"},volume_controls:"Volume controls",volume_controls_list:{volume_buttons:"Volume buttons",volume_set:"Volume level",volume_mute:"Mute"}},lock:{lock:"Lock",unlock:"Unlock",open:"Open"},humidifier:{show_target_humidity_control:"Humidity control?"},climate:{show_temperature_control:"Temperature control?",hvac_modes:"HVAC Modes"},number:{display_mode:"Display Mode",display_mode_list:{default:"Default (slider)",slider:"Slider",buttons:"Buttons"}}},chip:{sub_element_editor:{title:"Chip editor"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Add chip",edit:"Edit",clear:"Clear",select:"Select chip",types:{action:"Action","alarm-control-panel":"Alarm",back:"Back",conditional:"Conditional",entity:"Entity",light:"Light",menu:"Menu",spacer:"Spacer",template:"Template",weather:"Weather"}}}},Ci={not_found:"Entity not found"},$i={editor:ki,card:Ci},Ei={form:{color_picker:{values:{default:"Color predeterminado"}},info_picker:{values:{default:"Información predeterminada",name:"Nombre",state:"Estado","last-changed":"Último cambio","last-updated":"Última actualización",none:"Ninguno"}},icon_type_picker:{values:{default:"Por defecto",icon:"Icono","entity-picture":"Imagen de entidad",none:"Ninguno"}},layout_picker:{values:{default:"Diseño predeterminado",vertical:"Diseño vertical",horizontal:"Diseño horizontal"}},alignment_picker:{values:{default:"Alineación predeterminada",start:"Inicio",end:"Final",center:"Centrado",justify:"Justificado"}}},card:{generic:{icon_color:"Color de icono",layout:"Diseño",fill_container:"Rellenar",primary_info:"Información primaria",secondary_info:"Información secundaria",icon_type:"Icono",content_info:"Contenido",use_entity_picture:"¿Usar imagen de entidad?",collapsible_controls:"Contraer controles cuando está apagado",icon_animation:"¿Icono animado cuando está activo?"},light:{show_brightness_control:"¿Controlar brillo?",use_light_color:"Usar color de la luz",show_color_temp_control:"¿Controlar temperatura del color?",show_color_control:"¿Controlar color?",incompatible_controls:"Es posible que algunos controles no se muestren si la luz no es compatible con esta función."},fan:{show_percentage_control:"¿Controlar porcentaje?",show_oscillate_control:"¿Controlar oscilación?"},cover:{show_buttons_control:"¿Botones de control?",show_position_control:"¿Control de posición?",show_tilt_position_control:"¿Control de inclinación?"},template:{primary:"Información primaria",secondary:"Información secundaria",multiline_secondary:"¿Secundaria multilínea?",entity_extra:"Utilizado en plantillas y acciones.",content:"Contenido",badge_icon:"Icono del distintivo",badge_color:"Color del distintivo",picture:"Imagen (sustituirá al icono)"},title:{title:"Título",subtitle:"Subtítulo",title_tap_action:"Acción al tocar el título",subtitle_tap_action:"Acción al tocar el subtítulo"},chips:{alignment:"Alineación"},weather:{show_conditions:"¿Condiciones?",show_temperature:"¿Temperatura?"},update:{show_buttons_control:"¿Botones de control?"},vacuum:{commands:"Comandos",commands_list:{on_off:"Activar/desactivar"}},"media-player":{use_media_info:"Usar información multimedia",use_media_artwork:"Usar ilustraciones multimedia",show_volume_level:"Mostrar nivel de volumen",media_controls:"Controles multimedia",media_controls_list:{on_off:"Activar/desactivar",shuffle:"Aleatoria",previous:"Pista anterior",play_pause_stop:"Reproducir/pausa/parar",next:"Pista siguiente",repeat:"Modo de repetición"},volume_controls:"Controles de volumen",volume_controls_list:{volume_buttons:"Botones de volumen",volume_set:"Nivel de volumen",volume_mute:"Silenciar"}},lock:{lock:"Bloquear",unlock:"Desbloquear",open:"Abrir"},humidifier:{show_target_humidity_control:"¿Controlar humedad?"},climate:{show_temperature_control:"¿Control de temperatura?",hvac_modes:"Modos de climatización"}},chip:{sub_element_editor:{title:"Editor de chip"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Añadir chip",edit:"Editar",clear:"Limpiar",select:"Seleccionar chip",types:{action:"Acción","alarm-control-panel":"Alarma",back:"Volver",conditional:"Condicional",entity:"Entidad",light:"Luz",menu:"Menú",template:"Plantilla",weather:"Clima"}}}},Ai={editor:Ei},Si={form:{color_picker:{values:{default:"Oletusväri"}},info_picker:{values:{default:"Oletustiedot",name:"Nimi",state:"Tila","last-changed":"Viimeksi muuttunut","last-updated":"Viimeksi päivittynyt",none:"Ei mitään"}},icon_type_picker:{values:{default:"Oletustyyppi",icon:"Kuvake","entity-picture":"Kohteen kuva",none:"Ei mitään"}},layout_picker:{values:{default:"Oletusasettelu",vertical:"Pystysuuntainen",horizontal:"Vaakasuuntainen"}},alignment_picker:{values:{default:"Keskitys",start:"Alku",end:"Loppu",center:"Keskitä",justify:"Sovita"}}},card:{generic:{icon_color:"Ikonin väri",layout:"Asettelu",fill_container:"Täytä alue",primary_info:"Ensisijaiset tiedot",secondary_info:"Toissijaiset tiedot",icon_type:"Kuvakkeen tyyppi",content_info:"Sisältö",use_entity_picture:"Käytä kohteen kuvaa?",collapsible_controls:"Piilota toiminnot off-tilassa",icon_animation:"Animoi kuvake, kun aktiivinen?"},light:{show_brightness_control:"Kirkkauden säätö?",use_light_color:"Käytä valaisimen väriä",show_color_temp_control:"Värilämpötilan säätö?",show_color_control:"Värin säätö?",incompatible_controls:"Jotkin toiminnot eivät näy, jos valaisimesi ei tue niitä."},fan:{show_percentage_control:"Prosentuaalinen säätö?",show_oscillate_control:"Oskillaation säätö?"},cover:{show_buttons_control:"Toimintopainikkeet?",show_position_control:"Sijainnin hallinta?"},template:{primary:"Ensisijaiset tiedot",secondary:"Toissijaiset tiedot",multiline_secondary:"Monirivinen toissijainen tieto?",entity_extra:"Käytetään malleissa ja toiminnoissa",content:"Sisältö",badge_icon:"Merkin kuvake",badge_color:"Merkin väri",picture:"Kuva (korvaa kuvakkeen)"},title:{title:"Otsikko",subtitle:"Tekstitys"},chips:{alignment:"Asettelu"},weather:{show_conditions:"Ehdot?",show_temperature:"Lämpötila?"},update:{show_buttons_control:"Toimintopainikkeet?"},vacuum:{commands:"Komennot"},"media-player":{use_media_info:"Käytä median tietoja",use_media_artwork:"Käytä median kuvituksia",show_volume_level:"Näytä äänenvoimakkuuden hallinta",media_controls:"Toiminnot",media_controls_list:{on_off:"Päälle/pois",shuffle:"Sekoita",previous:"Edellinen kappale",play_pause_stop:"Toista/keskeytä/pysäytä",next:"Seuraava kappale",repeat:"Jatkuva toisto"},volume_controls:"Äänenvoimakkuuden hallinta",volume_controls_list:{volume_buttons:"Äänenvoimakkuuspainikkeet",volume_set:"Äänenvoimakkuus",volume_mute:"Mykistä"}},lock:{lock:"Lukitse",unlock:"Poista lukitus",open:"Avaa"},humidifier:{show_target_humidity_control:"Kosteudenhallinta?"}},chip:{sub_element_editor:{title:"Merkkieditori"},conditional:{chip:"Merkki"},"chip-picker":{chips:"Merkit",add:"Lisää merkki",edit:"Muokkaa",clear:"Tyhjennä",select:"Valitse merkki",types:{action:"Toiminto","alarm-control-panel":"Hälytys",back:"Takaisin",conditional:"Ehdollinen",entity:"Kohde",light:"Valaisin",menu:"Valikko",template:"Malli",weather:"Sää"}}}},Ii={editor:Si},Ti={form:{color_picker:{values:{default:"Couleur par défaut"}},info_picker:{values:{default:"Information par défaut",name:"Nom",state:"État","last-changed":"Dernière modification","last-updated":"Dernière mise à jour",none:"Aucune"}},icon_type_picker:{values:{default:"Type par défaut",icon:"Icône","entity-picture":"Image de l'entité",none:"Aucune"}},layout_picker:{values:{default:"Disposition par défault",vertical:"Disposition verticale",horizontal:"Disposition horizontale"}},alignment_picker:{values:{default:"Alignement par défaut",start:"Début",end:"Fin",center:"Centré",justify:"Justifié"}}},card:{generic:{icon_color:"Couleur de l'icône",layout:"Disposition",fill_container:"Remplir le conteneur",primary_info:"Information principale",secondary_info:"Information secondaire",icon_type:"Type d'icône",content_info:"Contenu",use_entity_picture:"Utiliser l'image de l'entité ?",collapsible_controls:"Reduire les contrôles quand éteint",icon_animation:"Animation de l'icône ?"},light:{show_brightness_control:"Contrôle de luminosité ?",use_light_color:"Utiliser la couleur de la lumière",show_color_temp_control:"Contrôle de la température ?",show_color_control:"Contrôle de la couleur ?",incompatible_controls:"Certains contrôles peuvent ne pas être affichés si votre lumière ne supporte pas la fonctionnalité."},fan:{show_percentage_control:"Contrôle de la vitesse ?",show_oscillate_control:"Contrôle de l'oscillation ?"},cover:{show_buttons_control:"Contrôle avec boutons ?",show_position_control:"Contrôle de la position ?"},template:{primary:"Information principale",secondary:"Information secondaire",multiline_secondary:"Information secondaire sur plusieurs lignes ?",entity_extra:"Utilisée pour les templates et les actions",content:"Contenu",badge_icon:"Icône du badge",badge_color:"Couleur du badge",picture:"Picture (remplacera l'icône)"},title:{title:"Titre",subtitle:"Sous-titre",title_tap_action:"Appui sur le titre",subtitle_tap_action:"Appui sur le sous-titre"},chips:{alignment:"Alignement"},weather:{show_conditons:"Conditions ?",show_temperature:"Température ?"},update:{show_buttons_control:"Contrôle avec boutons ?"},vacuum:{commands:"Commandes",commands_list:{on_off:"Allumer/Éteindre"}},"media-player":{use_media_info:"Utiliser les informations du media",use_media_artwork:"Utiliser l'illustration du media",show_volume_level:"Afficher le niveau de volume",media_controls:"Contrôles du media",media_controls_list:{on_off:"Allumer/Éteindre",shuffle:"Lecture aléatoire",previous:"Précédent",play_pause_stop:"Lecture/pause/stop",next:"Suivant",repeat:"Mode de répétition"},volume_controls:"Contrôles du volume",volume_controls_list:{volume_buttons:"Bouton de volume",volume_set:"Niveau de volume",volume_mute:"Muet"}},lock:{lock:"Verrouiller",unlock:"Déverrouiller",open:"Ouvrir"},humidifier:{show_target_humidity_control:"Contrôle d'humidité ?"},climate:{show_temperature_control:"Contrôle de la température?",hvac_modes:"Modes du thermostat"},number:{display_mode:"Mode d'affichage",display_mode_list:{default:"Par défaut (Curseur)",slider:"Curseur",buttons:"Boutons"}}},chip:{sub_element_editor:{title:'Éditeur de "chip"'},conditional:{chip:"Chip"},"chip-picker":{chips:'"Chips"',add:'Ajouter une "chip"',edit:"Modifier",clear:"Effacer",select:'Sélectionner une "chip"',types:{action:"Action","alarm-control-panel":"Alarme",back:"Retour",conditional:"Conditionnel",entity:"Entité",light:"Lumière",menu:"Menu",spacer:"Espacement",template:"Template",weather:"Météo"}}}},zi={editor:Ti},Oi={form:{color_picker:{values:{default:"צבע ברירת מחדל"}},info_picker:{values:{default:"מידע ברירת מחדל",name:"שם",state:"מצב","last-changed":"שונה לאחרונה","last-updated":"עודכן לאחרונה",none:"ריק"}},layout_picker:{values:{default:"סידור ברירת מחדל",vertical:"סידור מאונך",horizontal:"סידור מאוזן"}},alignment_picker:{values:{default:"יישור ברירת מחדל",start:"התחלה",end:"סוף",center:"אמצע",justify:"מוצדק"}}},card:{generic:{icon_color:"צבע אייקון",layout:"סידור",fill_container:"מלא גבולות",primary_info:"מידע ראשי",secondary_info:"מידע מישני",content_info:"תוכן",use_entity_picture:"השתמש בתמונת ישות",collapsible_controls:"הסתר שליטה כשאר מכובה",icon_animation:"הנפש אייקון"},light:{show_brightness_control:"שליטה בבהירות?",use_light_color:"השתמש בצבע האור",show_color_temp_control:"הצג פקד גוון תאורה?",show_color_control:"הצג פקד צבע",incompatible_controls:"יתכן וחלק מהכפתורים לא יופיעו אם התאורה אינה תומכת בתכונה."},fan:{show_percentage_control:"שליטה באחוז?",show_oscillate_control:"שליטה בהתנדנדות?"},cover:{show_buttons_control:"הצג כפתורי שליטה",show_position_control:"הצג פקדי מיקום"},template:{primary:"מידע ראשי",secondary:"מידע מישני",multiline_secondary:"מידע מישני רב קווי",entity_extra:"משמש בתבניות ופעולות",content:"תוכן"},title:{title:"כותרת",subtitle:"כתובית"},chips:{alignment:"יישור"},weather:{show_conditions:"הצג תנאים?",show_temperature:"הצג טמפרטורה?"},update:{show_buttons_control:"הצג כפתורי שליטה?"},vacuum:{commands:"פקודות",icon_animation:"הנפשת אייקון"},"media-player":{use_media_info:"השתמש במידע מדיה",use_media_artwork:"השתמש באומנות מדיה",show_volume_level:"הצג שליטת ווליום",media_controls:"שליטה במדיה",media_controls_list:{on_off:"הדלק/כבה",shuffle:"ערבב",previous:"רצועה קודמת",play_pause_stop:"נגן/השהה/הפסק",next:"רצועה הבאה",repeat:"חזרה"},volume_controls:"שליטה בווליום",volume_controls_list:{volume_buttons:"כפתורי ווליום",volume_set:"רמת ווליום",volume_mute:"השתק"}},lock:{lock:"נעל",unlock:"בטל נעילה",open:"פתח"},humidifier:{show_target_humidity_control:"הצג פקדי לחות"}},chip:{sub_element_editor:{title:"עורך שבב"},conditional:{chip:"שבב"},"chip-picker":{chips:"שבבים",add:"הוסף שבב",edit:"ערוך",clear:"נקה",select:"בחר שבב",types:{action:"פעולה","alarm-control-panel":"אזעקה",back:"חזור",conditional:"מותנה",entity:"ישות",light:"אור",menu:"תפריט",template:"תבנית",weather:"מזג אוויר"}}}},Mi={editor:Oi},ji={form:{color_picker:{values:{default:"Alapértelmezett szín"}},info_picker:{values:{default:"Alepértelmezett információ",name:"Név",state:"Állapot","last-changed":"Utoljára módosítva","last-updated":"Utoljára frissítve",none:"Egyik sem"}},icon_type_picker:{values:{default:"Alapértelmezett típus",icon:"Ikon","entity-picture":"Entitás kép",none:"Egyik sem"}},layout_picker:{values:{default:"Alapértelmezet elrendezés",vertical:"Függőleges elrendezés",horizontal:"Vízszintes elrendezés"}},alignment_picker:{values:{default:"Alapértelmezett rendezés",start:"Kezdete",end:"Vége",center:"Közepe",justify:"Sorkizárt"}}},card:{generic:{icon_color:"Ikon szín",layout:"Elrendezés",fill_container:"Tároló kitöltése",primary_info:"Elsődleges információ",secondary_info:"Másodlagos információ",icon_type:"Ikon típus",content_info:"Tartalom",use_entity_picture:"Entitás kép használata",collapsible_controls:"Vezérlők összezárása kikapcsolt állapotban",icon_animation:"Ikon animálása aktív állapotban"},light:{show_brightness_control:"Fényerő vezérlő",use_light_color:"Fény szín használata",show_color_temp_control:"Színhőmérséklet vezérlő",show_color_control:"Szín vezérlő",incompatible_controls:"Azok a vezérlők nem lesznek megjelenítve, amelyeket a fényforrás nem támogat."},fan:{show_percentage_control:"Százalékos vezérlő",show_oscillate_control:"Oszcilláció vezérlő"},cover:{show_buttons_control:"Vezérlő gombok",show_position_control:"Pozíció vezérlő",show_tilt_position_control:"Dőlésszög szabályzó"},template:{primary:"Elsődleges információ",secondary:"Másodlagos információ",multiline_secondary:"Másodlagost több sorba?",entity_extra:"Műveletek és sablonok használatakor",content:"Tartalom",badge_icon:"Jelvény ikon",badge_color:"Jelvény szín",picture:"Kép (lecseréli az ikont)"},title:{title:"Fejléc",subtitle:"Alcím",title_tap_action:"Fejlécre koppintáskor",subtitle_tap_action:"Alcímre koppintáskor"},chips:{alignment:"Rendezés"},weather:{show_conditions:"Állapotok",show_temperature:"Hőmérséklet"},update:{show_buttons_control:"Vezérlő gombok"},vacuum:{commands:"Utasítások",commands_list:{on_off:"Ki/Bekapcsolás"}},"media-player":{use_media_info:"Média infó használata",use_media_artwork:"Média borító használata",show_volume_level:"Hangerő mutatása",media_controls:"Média vezérlők",media_controls_list:{on_off:"Ki/bekapcsolás",shuffle:"Véletlen lejátszás",previous:"Előző szám",play_pause_stop:"Lejátszás/szünet/állj",next:"Következő szám",repeat:"Ismétlés módja"},volume_controls:"Hangerő vezérlők",volume_controls_list:{volume_buttons:"Hangerő gombok",volume_set:"Hangerő szint",volume_mute:"Némítás"}},lock:{lock:"Zár",unlock:"Nyit",open:"Nyitva"},humidifier:{show_target_humidity_control:"Páratartalom vezérlő"},climate:{show_temperature_control:"Hőmérséklet vezérlő",hvac_modes:"HVAC mód"},number:{display_mode:"Megjelenítési mód",display_mode_list:{default:"Alepértelmezett (csúszka)",slider:"Csúszka",buttons:"Gombok"}}},chip:{sub_element_editor:{title:"Chip szerkesztő"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chip-ek",add:"Chip hozzáadása",edit:"Szerkesztés",clear:"Ürítés",select:"Chip kiválasztása",types:{action:"Művelet","alarm-control-panel":"Riasztó",back:"Vissza",conditional:"Feltételes",entity:"Entitás",light:"Fényforrás",menu:"Menü",spacer:"Térköz",template:"Sablon",weather:"Időjárás"}}}},Di={not_found:"Entitás nem található"},Li={editor:ji,card:Di},Pi={form:{color_picker:{values:{default:"Warna bawaan"}},info_picker:{values:{default:"Informasi bawaan",name:"Nama",state:"Status","last-changed":"Terakhir Diubah","last-updated":"Terakhir Diperbarui",none:"Tidak ada"}},icon_type_picker:{values:{default:"Tipe bawaan",icon:"Ikon","entity-picture":"Gambar entitas",none:"Tidak ada"}},layout_picker:{values:{default:"Tata letak bawaan",vertical:"Tata letak vertikal",horizontal:"Tata letak horizontal"}},alignment_picker:{values:{default:"Perataan bawaan",start:"Awal",end:"Akhir",center:"Tengah",justify:"Rata kanan-kiri"}}},card:{generic:{icon_color:"Warna ikon",layout:"Tata letak",fill_container:"Isi kontainer",primary_info:"Informasi primer",secondary_info:"Informasi sekunder",icon_type:"Tipe ikon",content_info:"Konten",use_entity_picture:"Gunakan gambar entitas?",collapsible_controls:"Sembunyikan kontrol saat mati",icon_animation:"Animasikan ikon saat aktif?"},light:{show_brightness_control:"Kontrol kecerahan?",use_light_color:"Gunakan warna lampu",show_color_temp_control:"Kontrol suhu warna?",show_color_control:"Kontrol warna?",incompatible_controls:"Beberapa kontrol mungkin tidak ditampilkan jika lampu Anda tidak mendukung fitur tersebut."},fan:{show_percentage_control:"Kontrol persentase?",show_oscillate_control:"Kontrol osilasi?"},cover:{show_buttons_control:"Tombol kontrol?",show_position_control:"Kontrol posisi?",show_tilt_position_control:"Kontrol kemiringan?"},template:{primary:"Informasi primer",secondary:"Informasi sekunder",multiline_secondary:"Info sekunder multibaris?",entity_extra:"Digunakan dalam templat dan tindakan",content:"Konten",badge_icon:"Ikon lencana",badge_color:"Warna lencana",picture:"Gambar (akan menggantikan ikon)"},title:{title:"Judul",subtitle:"Subjudul",title_tap_action:"Tindakan ketuk judul",subtitle_tap_action:"Tindakan ketuk subjudul"},chips:{alignment:"Perataan"},weather:{show_conditions:"Kondisi?",show_temperature:"Suhu?"},update:{show_buttons_control:"Tombol kontrol?"},vacuum:{commands:"Perintah",commands_list:{on_off:"Nyalakan/Matikan"}},"media-player":{use_media_info:"Gunakan info media",use_media_artwork:"Gunakan gambar seni media",show_volume_level:"Tampilkan level volume",media_controls:"Kontrol media",media_controls_list:{on_off:"Nyalakan/Matikan",shuffle:"Acak",previous:"Lagu sebelumnya",play_pause_stop:"Putar/jeda/stop",next:"Lagu berikutnya",repeat:"Mode pengulangan"},volume_controls:"Kontrol volume",volume_controls_list:{volume_buttons:"Tombol volume",volume_set:"Level volume",volume_mute:"Bisukan"}},lock:{lock:"Kunci",unlock:"Buka kunci",open:"Buka"},humidifier:{show_target_humidity_control:"Kontrol kelembapan?"},climate:{show_temperature_control:"Kontrol suhu?",hvac_modes:"Mode HVAC"},number:{display_mode:"Mode Tampilan",display_mode_list:{default:"Bawaan (geser)",slider:"Geser",buttons:"Tombol"}}},chip:{sub_element_editor:{title:"Editor cip"},conditional:{chip:"Cip"},"chip-picker":{chips:"Cip",add:"Tambah cip",edit:"Edit",clear:"Hapus",select:"Pilih cip",types:{action:"Tindakan","alarm-control-panel":"Alarm",back:"Kembali",conditional:"Kondisional",entity:"Entitas",light:"Lampu",menu:"Menu",spacer:"Pemisah",template:"Templat",weather:"Cuaca"}}}},Ni={not_found:"Entitas tidak ditemukan"},Ri={editor:Pi,card:Ni},Fi={form:{color_picker:{values:{default:"Colore predefinito"}},info_picker:{values:{default:"Informazione predefinita",name:"Nome",state:"Stato","last-changed":"Ultimo cambiamento","last-updated":"Ultimo aggiornamento",none:"Nessuno"}},icon_type_picker:{values:{default:"Tipo predefinito",icon:"Icona","entity-picture":"Immagine dell'entità",none:"Nessuna"}},layout_picker:{values:{default:"Disposizione predefinita",vertical:"Disposizione verticale",horizontal:"Disposizione orizzontale"}},alignment_picker:{values:{default:"Allineamento predefinito",start:"Inizio",end:"Fine",center:"Centro",justify:"Giustificato"}}},card:{generic:{icon_color:"Colore dell'icona",layout:"Disposizione",fill_container:"Riempi il contenitore",primary_info:"Informazione primaria",secondary_info:"Informazione secondaria",icon_type:"Tipo icona",content_info:"Contenuto",use_entity_picture:"Usa l'immagine dell'entità",collapsible_controls:"Nascondi i controlli quando spento",icon_animation:"Anima l'icona quando attiva"},light:{use_light_color:"Usa il colore della luce",show_brightness_control:"Controllo luminosità",show_color_temp_control:"Controllo temperatura",show_color_control:"Controllo colore",incompatible_controls:"Alcuni controlli potrebbero non essere mostrati se la tua luce non li supporta."},fan:{show_percentage_control:"Controllo potenza",show_oscillate_control:"Controllo oscillazione"},cover:{show_buttons_control:"Pulsanti di controllo",show_position_control:"Controllo percentuale apertura",show_tilt_position_control:"Controllo percentuale inclinazione"},template:{primary:"Informazione primaria",secondary:"Informazione secondaria",multiline_secondary:"Abilita frasi multilinea",entity_extra:"Usato in templates ed azioni",content:"Contenuto",badge_icon:"Icona del badge",badge_color:"Colore del badge",picture:"Immagine (sostituirà l'icona)"},title:{title:"Titolo",subtitle:"Sottotitolo",title_tap_action:"Azione di tap sul titolo",subtitle_tap_action:"Azione di tap sul sottotitolo"},chips:{alignment:"Allineamento"},weather:{show_conditions:"Condizioni",show_temperature:"Temperatura"},update:{show_buttons_control:"Pulsanti di controllo"},vacuum:{commands:"Comandi",commands_list:{on_off:"Accendi/Spegni"}},"media-player":{use_media_info:"Mostra le informazioni della sorgente",use_media_artwork:"Usa la copertina della sorgente",show_volume_level:"Mostra volume",media_controls:"Controlli media",media_controls_list:{on_off:"Accendi/Spegni",shuffle:"Riproduzione casuale",previous:"Traccia precedente",play_pause_stop:"Play/Pausa/Stop",next:"Traccia successiva",repeat:"Ciclo continuo"},volume_controls:"Controlli del Volume",volume_controls_list:{volume_buttons:"Bottoni del volume",volume_set:"Livello del volume",volume_mute:"Silenzia"}},lock:{lock:"Blocca",unlock:"Sblocca",open:"Aperto"},humidifier:{show_target_humidity_control:"Controllo umidità"},climate:{show_temperature_control:"Controllo della temperatura?",hvac_modes:"Modalità del termostato"},number:{display_mode:"Modalità di visualizzazione",display_mode_list:{default:"Predefinito (cursore)",slider:"Cursore",buttons:"Pulsanti"}}},chip:{sub_element_editor:{title:"Editor di chip"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Aggiungi chip",edit:"Modifica",clear:"Rimuovi",select:"Seleziona chip",types:{action:"Azione","alarm-control-panel":"Allarme",back:"Pulsante indietro",conditional:"Condizione",entity:"Entità",light:"Luce",menu:"Menù",spacer:"Distanziere",template:"Modello",weather:"Meteo"}}}},Vi={not_found:"Entità non trovata"},Bi={editor:Fi,card:Vi},Ui={form:{color_picker:{values:{default:"기본 색"}},info_picker:{values:{default:"기본 정보",name:"이름",state:"상태","last-changed":"마지막 변경","last-updated":"마지막 업데이트",none:"없음"}},icon_type_picker:{values:{default:"기본 타입",icon:"아이콘","entity-picture":"엔티티 사진",none:"없음"}},layout_picker:{values:{default:"기본 레이아웃",vertical:"수직 레이아웃",horizontal:"수평 레이아웃"}},alignment_picker:{values:{default:"기본 정렬",start:"시작",end:"끝",center:"중앙",justify:"행 정렬"}}},card:{generic:{icon_color:"아이콘 색",layout:"레이아웃",fill_container:"콘테이너 채우기",primary_info:"기본 정보",secondary_info:"보조 정보",icon_type:"아이콘 타입",content_info:"내용 정보",use_entity_picture:"엔티티 사진 사용",collapsible_controls:"꺼져있을 때 컨트롤 접기",icon_animation:"활성화 시 아이콘 애니메이션 사용"},light:{show_brightness_control:"밝기 컨트롤 표시",use_light_color:"조명 색 사용",show_color_temp_control:"색 온도 컨트롤 표시",show_color_control:"색 컨트롤 표시",incompatible_controls:"조명이 기능을 지원하지 않는 경우 일부 컨트롤이 표시되지 않을 수 있습니다."},fan:{show_percentage_control:"퍼센트 컨트롤",show_oscillate_control:"오실레이트 컨트롤"},cover:{show_buttons_control:"컨트롤 버튼 표시",show_position_control:"위치 컨트롤 표시",show_tilt_position_control:"기울기 컨트롤 표시"},template:{primary:"기본 정보",secondary:"보조 정보",multiline_secondary:"Multiline secondary?",entity_extra:"템플릿 및 작업에 사용",content:"내용",badge_icon:"뱃지 아이콘",badge_color:"뱃지 색",picture:"그림 (아이콘 대체)"},title:{title:"제목",subtitle:"부제목",title_tap_action:"제목 탭 액션",subtitle_tap_action:"부제목 탭 액션"},chips:{alignment:"정렬"},weather:{show_conditions:"조건 표시",show_temperature:"온도 표시"},update:{show_buttons_control:"컨트롤 버튼 표시"},vacuum:{commands:"명령어",commands_list:{on_off:"켜기/끄기"}},"media-player":{use_media_info:"미디어 정보 사용",use_media_artwork:"미디어 아트워크 사용",show_volume_level:"볼륨 레벨 표시",media_controls:"미디어 컨트롤",media_controls_list:{on_off:"켜기/끄기",shuffle:"섞기",previous:"이전 트랙",play_pause_stop:"재생/일시 정지/정지",next:"다음 트랙",repeat:"반복 모드"},volume_controls:"볼륨 컨트롤",volume_controls_list:{volume_buttons:"볼륨 버튼",volume_set:"볼륨 레벨",volume_mute:"음소거"}},lock:{lock:"잠금",unlock:"잠금 해제",open:"열기"},humidifier:{show_target_humidity_control:"습도 조절 표시"},climate:{show_temperature_control:"온도 조절 표시",hvac_modes:"HVAC 모드"}},chip:{sub_element_editor:{title:"칩 에디터"},conditional:{chip:"칩"},"chip-picker":{chips:"칩",add:"칩 추가",edit:"수정",clear:"클리어",select:"칩 선택",types:{action:"액션","alarm-control-panel":"알람",back:"이전",conditional:"Conditional",entity:"엔티티",light:"조명",menu:"메뉴",template:"템플릿",weather:"날씨"}}}},Hi={editor:Ui},Yi={form:{color_picker:{values:{default:"Standard farge"}},info_picker:{values:{default:"Standard informasjon",name:"Navn",state:"Tilstand","last-changed":"Sist endret","last-updated":"Sist oppdatert",none:"Ingen"}},layout_picker:{values:{default:"Standardoppsett",vertical:"Vertikalt oppsett",horizontal:"Horisontalt oppsett"}},alignment_picker:{values:{default:"Standard justering",start:"Start",end:"Slutt",center:"Senter",justify:"Bekreft"}}},card:{generic:{icon_color:"Ikon farge",layout:"Oppsett",primary_info:"Primærinformasjon",secondary_info:"Sekundærinformasjon",content_info:"Innhold",use_entity_picture:"Bruk enhetsbilde?",icon_animation:"Animer ikon når aktivt?"},light:{show_brightness_control:"Lysstyrkekontroll?",use_light_color:"Bruk lys farge",show_color_temp_control:"Temperatur fargekontroll?",show_color_control:"Fargekontroll?",incompatible_controls:"Noen kontroller vises kanskje ikke hvis lyset ditt ikke støtter denne funksjonen."},fan:{show_percentage_control:"Prosentvis kontroll?",show_oscillate_control:"Oscillerende kontroll?"},cover:{show_buttons_control:"Kontollere med knapper?",show_position_control:"Posisjonskontroll?"},template:{primary:"Primærinformasjon",secondary:"Sekundærinformasjon",multiline_secondary:"Multiline sekundær?",entity_extra:"Brukes i maler og handlinger",content:"Inhold"},title:{title:"Tittel",subtitle:"Undertekst"},chips:{alignment:"Justering"},weather:{show_conditions:"Forhold?",show_temperature:"Temperatur?"},vacuum:{commands:"Kommandoer"}},chip:{sub_element_editor:{title:"Chip redaktør"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Legg til chip",edit:"Endre",clear:"Klare",select:"Velg chip",types:{action:"Handling","alarm-control-panel":"Alarm",back:"Tilbake",conditional:"Betinget",entity:"Entitet",light:"Lys",menu:"Meny",template:"Mal",weather:"Vær"}}}},Wi={editor:Yi},Xi={form:{color_picker:{values:{default:"Standaard kleur"}},info_picker:{values:{default:"Standaard informatie",name:"Naam",state:"Staat","last-changed":"Laatst gewijzigd","last-updated":"Laatst bijgewerkt",none:"Geen"}},icon_type_picker:{values:{default:"Standaard icoon type",icon:"Icoon","entity-picture":"Entiteit afbeelding",none:"Geen"}},layout_picker:{values:{default:"Standaard lay-out",vertical:"Verticale lay-out",horizontal:"Horizontale lay-out"}},alignment_picker:{values:{default:"Standaard uitlijning",start:"Begin",end:"Einde",center:"Midden",justify:"Uitlijnen "}}},card:{generic:{icon_color:"Icoon kleur",layout:"Lay-out",fill_container:"Vul container",primary_info:"Primaire informatie",secondary_info:"Secundaire informatie",icon_type:"Icoon type",content_info:"Inhoud",use_entity_picture:"Gebruik entiteit afbeelding",collapsible_controls:"Bedieningselementen verbergen wanneer uitgeschakeld",icon_animation:"Pictogram animeren indien actief"},light:{show_brightness_control:"Bediening helderheid",use_light_color:"Gebruik licht kleur",show_color_temp_control:"Bediening kleurtemperatuur",show_color_control:"Bediening kleur",incompatible_controls:"Sommige bedieningselementen worden mogelijk niet weergegeven als uw lamp deze functie niet ondersteunt."},fan:{show_percentage_control:"Bediening middels percentage",show_oscillate_control:"Bediening oscillatie"},cover:{show_buttons_control:"Toon knoppen",show_position_control:"Toon positie bediening",show_tilt_position_control:"Toon tilt control"},template:{primary:"Primaire informatie",secondary:"Secundaire informatie",multiline_secondary:"Secundaire informatie op meerdere lijnen weergeven",entity_extra:"Gebruikt in sjablonen en acties",content:"Inhoud",badge_icon:"Badge icoon",badge_color:"Badge kleur",picture:"Afbeelding (zal het icoon vervangen)"},title:{title:"Titel",subtitle:"Ondertitel",title_tap_action:"Titel tik actie",subtitle_tap_action:"Ondertitel tik actie"},chips:{alignment:"Uitlijning"},weather:{show_conditions:"Weerbeeld",show_temperature:"Temperatuur"},update:{show_buttons_control:"Bedieningsknoppen"},vacuum:{commands:"Commando's",commands_list:{on_off:"Zet aan/uit"}},"media-player":{use_media_info:"Gebruik media informatie",use_media_artwork:"Gebruik media omslag",show_volume_level:"Toon volumeniveau",media_controls:"Mediabediening",media_controls_list:{on_off:"zet aan/uit",shuffle:"Shuffle",previous:"Vorige nummer",play_pause_stop:"Speel/pauze/stop",next:"Volgende nummer",repeat:"Herhalen"},volume_controls:"Volumeregeling",volume_controls_list:{volume_buttons:"Volume knoppen",volume_set:"Volumeniveau",volume_mute:"Dempen"}},lock:{lock:"Vergrendel",unlock:"Ontgrendel",open:"Open"},humidifier:{show_target_humidity_control:"Vochtigheid controle?"},climate:{show_temperature_control:"Temperatuur controle",hvac_modes:"HVAC Modes"},number:{display_mode:"Weergave Modus",display_mode_list:{default:"Standaard (schuifbalk)",slider:"Schuifbalk",buttons:"Knoppen"}}},chip:{sub_element_editor:{title:"Chip editor"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Toevoegen chip",edit:"Bewerk",clear:"Maak leeg",select:"Selecteer chip",types:{action:"Actie","alarm-control-panel":"Alarm",back:"Terug",conditional:"Voorwaardelijk",entity:"Entiteit",light:"Licht",menu:"Menu",spacer:"Afstandhouder",template:"Sjabloon",weather:"Weer"}}}},Ki={not_found:"Entiteit niet gevonden"},Gi={editor:Xi,card:Ki},qi={form:{color_picker:{values:{default:"Domyślny kolor"}},info_picker:{values:{default:"Domyślne informacje",name:"Nazwa",state:"Stan","last-changed":"Ostatnia zmiana","last-updated":"Ostatnia aktualizacja",none:"Brak"}},icon_type_picker:{values:{default:"Domyślny typ",icon:"Ikona","entity-picture":"Obraz encji",none:"Brak"}},layout_picker:{values:{default:"Układ domyślny",vertical:"Układ pionowy",horizontal:"Układ poziomy"}},alignment_picker:{values:{default:"Wyrównanie domyślne",start:"Wyrównanie do lewej",end:"Wyrównanie do prawej",center:"Wyśrodkowanie",justify:"Justowanie"}}},card:{generic:{icon_color:"Kolor ikony",layout:"Układ",fill_container:"Wypełnij zawartością",primary_info:"Informacje główne",secondary_info:"Informacje drugorzędne",icon_type:"Typ ikony",content_info:"Zawartość",use_entity_picture:"Użyć obrazu encji?",collapsible_controls:"Zwiń sterowanie, jeśli wyłączone",icon_animation:"Animować, gdy aktywny?"},light:{show_brightness_control:"Sterowanie jasnością?",use_light_color:"Użyj koloru światła",show_color_temp_control:"Sterowanie temperaturą światła?",show_color_control:"Sterowanie kolorami?",incompatible_controls:"Niektóre funkcje są niewidoczne, jeśli światło ich nie obsługuje."},fan:{show_percentage_control:"Sterowanie procentowe?",show_oscillate_control:"Sterowanie oscylacją?"},cover:{show_buttons_control:"Przyciski sterujące?",show_position_control:"Sterowanie położeniem?",show_tilt_position_control:"Sterowanie poziomem otwarcia?"},template:{primary:"Informacje główne",secondary:"Informacje drugorzędne",multiline_secondary:"Drugorzędne wielowierszowe?",entity_extra:"Używane w szablonach i akcjach",content:"Zawartość",badge_icon:"Ikona odznaki",badge_color:"Kolor odznaki",picture:"Obraz (zamiast ikony)"},title:{title:"Tytuł",subtitle:"Podtytuł"},chips:{alignment:"Wyrównanie"},weather:{show_conditions:"Warunki?",show_temperature:"Temperatura?"},update:{show_buttons_control:"Przyciski sterujące?"},vacuum:{commands:"Polecenia"},"media-player":{use_media_info:"Użyj informacji o multimediach",use_media_artwork:"Użyj okładek multimediów",show_volume_level:"Wyświetl poziom głośności",media_controls:"Sterowanie multimediami",media_controls_list:{on_off:"Włącz/wyłącz",shuffle:"Losowo",previous:"Poprzednie nagranie",play_pause_stop:"Odtwórz/Pauza/Zatrzymaj",next:"Następne nagranie",repeat:"Powtarzanie"},volume_controls:"Sterowanie głośnością",volume_controls_list:{volume_buttons:"Przyciski głośności",volume_set:"Poziom głośności",volume_mute:"Wycisz"}},lock:{lock:"Zablokuj",unlock:"Odblokuj",open:"Otwórz"},humidifier:{show_target_humidity_control:"Sterowanie wilgotnością?"},climate:{show_temperature_control:"Sterowanie temperaturą?",hvac_modes:"Tryby urządzenia"}},chip:{sub_element_editor:{title:"Edytor czipów"},conditional:{chip:"Czip"},"chip-picker":{chips:"Czipy",add:"Dodaj czip",edit:"Edytuj",clear:"Wyczyść",select:"Wybierz czip",types:{action:"Akcja","alarm-control-panel":"Alarm",back:"Wstecz",conditional:"Warunkowy",entity:"Encja",light:"Światło",menu:"Menu",spacer:"Odstęp",template:"Szablon",weather:"Pogoda"}}}},Zi={editor:qi},Ji={form:{color_picker:{values:{default:"Cor padrão"}},info_picker:{values:{default:"Informações padrão",name:"Nome",state:"Estado","last-changed":"Última alteração","last-updated":"Última atualização",none:"Nenhum"}},layout_picker:{values:{default:"Layout padrão",vertical:"Layout vertical",horizontal:"Layout horizontal"}},alignment_picker:{values:{default:"Padrão (inicio)",end:"Final",center:"Centro",justify:"Justificado"}}},card:{generic:{icon_color:"Cor do ícone?",layout:"Layout",primary_info:"Informações primárias",secondary_info:"Informações secundárias",use_entity_picture:"Usar imagem da entidade?",icon_animation:"Animar ícone quando ativo?"},light:{show_brightness_control:"Mostrar controle de brilho?",use_light_color:"Usar cor da luz?",show_color_temp_control:"Mostrar controle de temperatura?",show_color_control:"Mostrar controle de cor?",incompatible_controls:"Alguns controles podem não ser exibidos se sua luz não suportar o recurso."},fan:{show_percentage_control:"Mostrar controle de porcentagem?",show_oscillate_control:"Mostrar controle de oscilação?"},cover:{show_buttons_control:"Mostrar botões?",show_position_control:"Mostrar controle de posição?"},template:{primary:"Informações primárias",secondary:"Informações secundárias",multiline_secondary:"Multilinha secundária?",content:"Conteúdo"},title:{title:"Título",subtitle:"Subtítulo"},chips:{alignment:"Alinhamento"},weather:{show_conditions:"Condições?",show_temperature:"Temperatura?"}},chip:{sub_element_editor:{title:"Editor de fichas"},conditional:{chip:"Ficha"},"chip-picker":{chips:"Fichas",add:"Adicionar ficha",edit:"Editar",clear:"Limpar",select:"Selecionar ficha",types:{action:"Ação","alarm-control-panel":"Alarme",back:"Voltar",conditional:"Condicional",entity:"Entidade",light:"Iluminação",menu:"Menu",template:"Modelo",weather:"Clima"}}}},Qi={editor:Ji},to={form:{color_picker:{values:{default:"Cor padrão"}},info_picker:{values:{default:"Informações padrão",name:"Nome",state:"Estado","last-changed":"Última alteração","last-updated":"Última atualização",none:"Nenhum"}},layout_picker:{values:{default:"Layout padrão",vertical:"Layout vertical",horizontal:"Layout horizontal"}},alignment_picker:{values:{default:"Padrão (inicio)",end:"Fim",center:"Centrado",justify:"Justificado"}}},card:{generic:{icon_color:"Cor do ícone?",layout:"Layout",primary_info:"Informações primárias",secondary_info:"Informações secundárias",use_entity_picture:"Usar imagem da entidade?",icon_animation:"Animar ícone quando ativo?"},light:{show_brightness_control:"Mostrar controle de brilho?",use_light_color:"Usar cor da luz?",show_color_temp_control:"Mostrar controle de temperatura?",show_color_control:"Mostrar controle de cor?",incompatible_controls:"Alguns controles podem não ser exibidos se a luz não suportar o recurso."},fan:{show_percentage_control:"Mostrar controle de porcentagem?",show_oscillate_control:"Mostrar controle de oscilação?"},cover:{show_buttons_control:"Mostrar botões?",show_position_control:"Mostrar controle de posição?"},template:{primary:"Informações primárias",secondary:"Informações secundárias",multiline_secondary:"Multilinha secundária?",content:"Conteúdo"},title:{title:"Título",subtitle:"Subtítulo"},chips:{alignment:"Alinhamento"},weather:{show_conditions:"Condições?",show_temperature:"Temperatura?"}},chip:{sub_element_editor:{title:"Editor de fichas"},conditional:{chip:"Ficha"},"chip-picker":{chips:"Fichas",add:"Adicionar ficha",edit:"Editar",clear:"Limpar",select:"Selecionar ficha",types:{action:"Ação","alarm-control-panel":"Alarme",back:"Voltar",conditional:"Condicional",entity:"Entidade",light:"Iluminação",menu:"Menu",template:"Modelo",weather:"Clima"}}}},eo={editor:to},io={form:{color_picker:{values:{default:"Culoare implicită"}},info_picker:{values:{default:"Informație implicită",name:"Nume",state:"Stare","last-changed":"Ultima modificare","last-updated":"Ultima actulizare",none:"Niciuna"}},icon_type_picker:{values:{default:"Tip implicit",icon:"Pictogramă","entity-picture":"Imagine",none:"Niciuna"}},layout_picker:{values:{default:"Aranjare implicită",vertical:"Verticală",horizontal:"Orizontală"}},alignment_picker:{values:{default:"Aliniere implicită",start:"Stânga",end:"Dreapta",center:"Centrat",justify:"Umplere"}}},card:{generic:{icon_color:"Culoare pictogramă",layout:"Aranjare",fill_container:"Umplere container",primary_info:"Informație principală",secondary_info:"Informație secundară",icon_type:"Tip pictogramă",content_info:"Conținut",use_entity_picture:"Imagine?",collapsible_controls:"Restrângere la dezactivare"},light:{show_brightness_control:"Comandă pentru strălucire?",use_light_color:"Folosește culoarea luminii",show_color_temp_control:"Comandă pentru temperatură de culoare?",show_color_control:"Comandă pentru culoare?",incompatible_controls:"Unele comenzi ar putea să nu fie afișate dacă lumina nu suportă această caracteristică."},fan:{icon_animation:"Animare pictograma la activare?",show_percentage_control:"Comandă procent?",show_oscillate_control:"Comandă oscilație?"},cover:{show_buttons_control:"Comenzi pentru control?",show_position_control:"Comandă pentru poziție?",show_tilt_position_control:"Comandă pentru înclinare?"},template:{primary:"Informație principală",secondary:"Informație secundară",multiline_secondary:"Informație secundară pe mai multe linii?",entity_extra:"Folosită în șabloane și acțiuni",content:"Conținut",badge_icon:"Pictogramă insignă",badge_color:"Culoare insignă",picture:"Imagine (inlocuiește pictograma)"},title:{title:"Titlu",subtitle:"Subtitlu"},chips:{alignment:"Aliniere"},weather:{show_conditions:"Condiții?",show_temperature:"Temperatură?"},update:{show_buttons_control:"Comenzi control?"},vacuum:{commands:"Comenzi"},"media-player":{use_media_info:"Informații media",use_media_artwork:"Grafică media",show_volume_level:"Nivel volum",media_controls:"Comenzi media",media_controls_list:{on_off:"Pornit/Oprit",shuffle:"Amestecare",previous:"Pista anterioară",play_pause_stop:"Redare/Pauză/Stop",next:"Pista următoare",repeat:"Mod repetare"},volume_controls:"Comenzi volum",volume_controls_list:{volume_buttons:"Comenzi volum",volume_set:"Nivel volum",volume_mute:"Dezactivare sunet"}},lock:{lock:"Încuie",unlock:"Descuie",open:"Deschide"},humidifier:{show_target_humidity_control:"Comenzi umiditate?"},climate:{show_temperature_control:"Comenzi temperatură?",hvac_modes:"Moduri HVAC"}},chip:{sub_element_editor:{title:"Editor jeton"},conditional:{chip:"Jeton"},"chip-picker":{chips:"Jetoane",add:"Adaugă jeton",edit:"Modifică",clear:"Șterge",select:"Alege jeton",types:{action:"Acțiune","alarm-control-panel":"Alarmă",back:"Înapoi",conditional:"Condițional",entity:"Entitate",light:"Lumină",menu:"Meniu",template:"Șablon",weather:"Vreme"}}}},oo={editor:io},no={form:{color_picker:{values:{default:"Цвет по умолчанию"}},info_picker:{values:{default:"По умолчанию",name:"Имя",state:"Статус","last-changed":"Последнее изменение","last-updated":"Последнее обновление",none:"Нет"}},icon_type_picker:{values:{default:"По умолчанию",icon:"Иконка","entity-picture":"Изображение",none:"Нет"}},layout_picker:{values:{default:"Расположение по умолчанию",vertical:"Вертикальное расположение",horizontal:"Горизонтальное расположение"}},alignment_picker:{values:{default:"Выравнивание по умолчанию",start:"К началу",end:"К концу",center:"По центру",justify:"На всю ширину"}}},card:{generic:{icon_color:"Цвет иконки",layout:"Расположение",fill_container:"Заполнение",primary_info:"Основная информация",secondary_info:"Второстепенная информация",icon_type:"Тип иконки",content_info:"Содержимое",use_entity_picture:"Использовать изображение объекта?",collapsible_controls:"Сворачивать элементы управления при выключении"},light:{show_brightness_control:"Управлять яркостью?",use_light_color:"Использовать текущий цвет света",show_color_temp_control:"Управлять цветовой температурой?",show_color_control:"Управлять цветом?",incompatible_controls:"Некоторые элементы управления могут не отображаться, если ваш светильник не поддерживает эти функции."},fan:{icon_animation:"Анимировать иконку когда включено?",show_percentage_control:"Управлять процентами?",show_oscillate_control:"Oscillate control?"},cover:{show_buttons_control:"Добавить кнопки управления?",show_position_control:"Управлять позицией?",show_tilt_position_control:"Управлять наклоном?"},template:{primary:"Основная информация",secondary:"Второстепенная информация",multiline_secondary:"Многострочная Второстепенная информация?",entity_extra:"Используется в шаблонах и действиях",content:"Содержимое",badge_icon:"Иконка значка",badge_color:"Цвет значка",picture:"Изображение (заменить иконку)"},title:{title:"Заголовок",subtitle:"Подзаголовок"},chips:{alignment:"Выравнивание"},weather:{show_conditions:"Условия?",show_temperature:"Температура?"},update:{show_buttons_control:"Кнопки управления?"},vacuum:{commands:"Команды"},"media-player":{use_media_info:"Использовать информацию с медиа-устройства",use_media_artwork:"Использовать обложку с медиа-устройства",show_volume_level:"Показать уровень громкости",media_controls:"Управление медиа-устройством",media_controls_list:{on_off:"Включение/выключение",shuffle:"Перемешивание",previous:"Предыдущий трек",play_pause_stop:"Воспроизведение/пауза/остановка",next:"Следующий трек",repeat:"Режим повтора"},volume_controls:"Регулятор громкости",volume_controls_list:{volume_buttons:"Кнопки громкости",volume_set:"Уровень громкости",volume_mute:"Без звука"}},lock:{lock:"Закрыто",unlock:"Разблокировано",open:"Открыто"},humidifier:{show_target_humidity_control:"Управлять целевым уровенем влажности?"},climate:{show_temperature_control:"Управлять целевой температурой?",hvac_modes:"Режимы работы"}},chip:{sub_element_editor:{title:"Редактор мини-карточек"},conditional:{chip:"Мини-карточка"},"chip-picker":{chips:"Мини-карточки",add:"Добавить мини-карточку",edit:"Изменить",clear:"Очистить",select:"Выбрать мини-карточку",types:{action:"Действие","alarm-control-panel":"Тревога",back:"Назад",conditional:"Условия",entity:"Объект",light:"Освещение",menu:"Меню",template:"Шаблон",weather:"Погода"}}}},ro={editor:no},ao={form:{color_picker:{values:{default:"Privzeta barva"}},info_picker:{values:{default:"Privzete informacije",name:"Naziv",state:"Stanje","last-changed":"Zadnja sprememba","last-updated":"Zadnja posodobitev",none:"Brez"}},icon_type_picker:{values:{default:"Privzeta vrsta",icon:"Ikona","entity-picture":"Slika entitete",none:"Brez"}},layout_picker:{values:{default:"Privzeta postavitev",vertical:"Vertikalna postavitev",horizontal:"Horizontalna postavitev"}},alignment_picker:{values:{default:"Privzeta poravnava",start:"Pričetek",end:"Konec",center:"Center",justify:"Poravnava"}}},card:{generic:{icon_color:"Barva ikone",layout:"Postavitev",fill_container:"Zapolnitev prostora",primary_info:"Primarna informacija",secondary_info:"Sekundarna informacija",icon_type:"Vrsta ikone",content_info:"Vsebina",use_entity_picture:"Uporabi sliko entitete?",collapsible_controls:"Strni kontrolnike, ko so izklopljeni",icon_animation:"Animacija ikone, ko je aktivna?"},light:{show_brightness_control:"Nadzor svetlosti?",use_light_color:"Uporabi svetlo barvo",show_color_temp_control:"Nadzor temperature barve?",show_color_control:"Nadzor barv?",incompatible_controls:"Nekateri kontrolniki morda ne bodo prikazani, če vaša luč ne podpira te funkcije."},fan:{show_percentage_control:"Kontrola v odstotkih?",show_oscillate_control:"Kontrola nihanja?"},cover:{show_buttons_control:"Gumbi za upravljanje?",show_position_control:"Nadzor položaja?",show_tilt_position_control:"Nadzor nagiba?"},template:{primary:"Primarna informacija",secondary:"Sekundarna informacija",multiline_secondary:"Večvrstični sekundarni?",entity_extra:"Uporablja se v predlogah in dejanjih",content:"Vsebina",badge_icon:"Ikona značke",badge_color:"Barva značke",picture:"Slika (nadomestila bo ikono)"},title:{title:"Naziv",subtitle:"Podnaslov",title_tap_action:"Dejanje dotika naslova",subtitle_tap_action:"Dejanje dotika podnapisov"},chips:{alignment:"Poravnava"},weather:{show_conditions:"Pogoji?",show_temperature:"Temperatura?"},update:{show_buttons_control:"Gumbi za upravljanje?"},vacuum:{commands:"Ukazi",commands_list:{on_off:"Vklop/izklop"}},"media-player":{use_media_info:"Uporabite informacije o medijih",use_media_artwork:"Uporabite medijsko umetniško delo",show_volume_level:"Pokaži raven glasnosti",media_controls:"Nadzor medijev",media_controls_list:{on_off:"Vklop/izklop",shuffle:"Naključno",previous:"Prejšnja skladba",play_pause_stop:"Predvajaj/pavza/ustavi",next:"Naslednja skladba",repeat:"Ponavljajoči način"},volume_controls:"Kontrole glasnosti",volume_controls_list:{volume_buttons:"Gumbi za glasnost",volume_set:"Raven glasnosti",volume_mute:"Tiho"}},lock:{lock:"Zaklepanje",unlock:"Odkleni",open:"Odprto"},humidifier:{show_target_humidity_control:"Nadzor vlažnosti?"},climate:{show_temperature_control:"Nadzor temperature?",hvac_modes:"HVAC načini"},number:{display_mode:"Način prikaza",display_mode_list:{default:"Privzeto (drsnik)",slider:"Drsnik",buttons:"Gumbi"}}},chip:{sub_element_editor:{title:"Urejevalnik čipov"},conditional:{chip:"Ćiš"},"chip-picker":{chips:"Čipi",add:"Dodaj čip",edit:"Uredi",clear:"Pobriši",select:"Izbira čipa",types:{action:"Dejanje","alarm-control-panel":"Alarm",back:"Nazaj",conditional:"Pogojno",entity:"Entiteta",light:"Svetloba",menu:"Meni",spacer:"Distančnik",template:"Predloga",weather:"Vreme"}}}},so={not_found:"Entiteta ni najdena"},lo={editor:ao,card:so},co={form:{color_picker:{values:{default:"Predvolená farba"}},info_picker:{values:{default:"Predvolené informácie",name:"Názov",state:"Stav","last-changed":"Posledná zmena","last-updated":"Posledná aktualizácia",none:"Žiadna"}},icon_type_picker:{values:{default:"Predvolený typ",icon:"Ikona","entity-picture":"Obrázok entity",none:"Žiadny"}},layout_picker:{values:{default:"Predvolené rozloženie",vertical:"Zvislé rozloženie",horizontal:"Vodorovné rozloženie"}},alignment_picker:{values:{default:"Predvolené zarovnanie",start:"Začiatok",end:"Koniec",center:"Stred",justify:"Vyplniť"}}},card:{generic:{icon_color:"Farba ikony",layout:"Rozloženie",fill_container:"Vyplniť priestor",primary_info:"Základné info",secondary_info:"Doplnkové info",icon_type:"Typ ikony",content_info:"Obsah",use_entity_picture:"Použiť obrázok entity?",collapsible_controls:"Skryť ovládanie v stave VYP.",icon_animation:"Animovaná ikona v stave ZAP?"},light:{show_brightness_control:"Ovládanie jasu?",use_light_color:"Použiť farbu svetla",show_color_temp_control:"Ovládanie teploty?",show_color_control:"Ovládanie farby?",incompatible_controls:"Niektoré ovládacie prvky sa nemusia zobraziť, pokiaľ ich svetlo nepodporuje."},fan:{show_percentage_control:"Ovládanie rýchlosti v percentách?",show_oscillate_control:"Ovládanie oscilácie?"},cover:{show_buttons_control:"Zobraziť ovládacie tlačidlá?",show_position_control:"Ovládanie pozície?",show_tilt_position_control:"Ovládanie natočenia?"},template:{primary:"Základné info",secondary:"Doplnkové info",multiline_secondary:"Viacriadkové doplnkové info?",entity_extra:"Použitá v šablónach a akciách",content:"Obsah",badge_icon:"Ikona odznaku",badge_color:"Farba odznaku",picture:"Obrázok (nahrádza ikonu)"},title:{title:"Nadpis",subtitle:"Podnadpis",title_tap_action:"Akcia klepnutia na názov",subtitle_tap_action:"Akcia klepnutia na titulky"},chips:{alignment:"Zarovnanie"},weather:{show_conditions:"Zobraziť podmienky?",show_temperature:"Zobraziť teplotu?"},update:{show_buttons_control:"Zobraziť ovládacie tlačidlá?"},vacuum:{commands:"Príkazy",commands_list:{on_off:"Zapnúť/Vypnúť"}},"media-player":{use_media_info:"Použiť info o médiu",use_media_artwork:"Použiť obrázok z média",show_volume_level:"Zobraziť úroveň hlasitosti",media_controls:"Ovládanie média",media_controls_list:{on_off:"Zap / Vyp",shuffle:"Premiešať",previous:"Predchádzajúca",play_pause_stop:"Spustiť/pauza/stop",next:"Ďalšia",repeat:"Opakovať"},volume_controls:"Ovládanie hlasitosti",volume_controls_list:{volume_buttons:"Tlačidlá hlasitosti",volume_set:"Úroveň hlasitosti",volume_mute:"Stlmiť"}},lock:{lock:"Zamknuté",unlock:"Odomknuté",open:"Otvorené"},humidifier:{show_target_humidity_control:"Ovládanie vlhkosti?"},climate:{show_temperature_control:"Ovládanie teploty?",hvac_modes:"HVAC mód"},number:{display_mode:"Režim zobrazenia",display_mode_list:{default:"Predvolené (posúvač)",slider:"Posúvač",buttons:"Tlačidlá"}}},chip:{sub_element_editor:{title:"Editor štítkov"},conditional:{chip:"Štítok"},"chip-picker":{chips:"Štítky",add:"Pridať štítok",edit:"Editovať",clear:"Vymazať",select:"Vybrať štítok",types:{action:"Akcia","alarm-control-panel":"Alarm",back:"Späť",conditional:"Podmienené",entity:"Entita",light:"Svetlo",menu:"Menu",spacer:"Medzera",template:"Šablóna",weather:"Počasie"}}}},uo={not_found:"Entita nenájdená"},ho={editor:co,card:uo},mo={form:{color_picker:{values:{default:"Standardfärg"}},info_picker:{values:{default:"Förvald information",name:"Namn",state:"Status","last-changed":"Sist ändrad","last-updated":"Sist uppdaterad",none:"Ingen"}},layout_picker:{values:{default:"Standard",vertical:"Vertikal",horizontal:"Horisontell"}},alignment_picker:{values:{default:"Standard (början)",end:"Slutet",center:"Centrerad",justify:"Anpassa"}}},card:{generic:{icon_color:"Ikonens färg",layout:"Layout",primary_info:"Primär information",secondary_info:"Sekundär information",use_entity_picture:"Använd enheten bild?",icon_animation:"Animera ikonen när fläkten är på?"},light:{show_brightness_control:"Styr ljushet?",use_light_color:"Styr ljusets färg",show_color_temp_control:"Styr färgtemperatur?",show_color_control:"Styr färg?",incompatible_controls:"Kontroller som inte stöds av enheten kommer inte visas."},fan:{show_percentage_control:"Procentuell kontroll?",show_oscillate_control:"Kontroll för oscillera?"},cover:{show_buttons_control:"Visa kontrollknappar?",show_position_control:"Visa positionskontroll?"},template:{primary:"Primär information",secondary:"Sekundär information",multiline_secondary:"Sekundär med flera rader?",content:"Innehåll"},title:{title:"Rubrik",subtitle:"Underrubrik"},chips:{alignment:"Justering"},weather:{show_conditions:"Förhållanden?",show_temperature:"Temperatur?"}},chip:{sub_element_editor:{title:"Chipredigerare"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Lägg till chip",edit:"Redigera",clear:"Rensa",select:"Välj chip",types:{action:"Händelse","alarm-control-panel":"Alarm",back:"Bakåt",conditional:"Villkorad",entity:"Enhet",light:"Ljus",menu:"Meny",template:"Mall",weather:"Väder"}}}},po={editor:mo},fo={form:{color_picker:{values:{default:"Varsayılan renk"}},info_picker:{values:{default:"Varsayılan bilgi",name:"İsim",state:"Durum","last-changed":"Son Değişim","last-updated":"Son Güncelleme",none:"None"}},layout_picker:{values:{default:"Varsayılan düzen",vertical:"Dikey düzen",horizontal:"Yatay düzen"}},alignment_picker:{values:{default:"Varsayılan hizalama",start:"Sola yasla",end:"Sağa yasla",center:"Ortala",justify:"İki yana yasla"}}},card:{generic:{icon_color:"Simge renki",layout:"Düzen",primary_info:"Birinci bilgi",secondary_info:"İkinci bilgi",content_info:"İçerik",use_entity_picture:"Varlık resmi kullanılsın",icon_animation:"Aktif olduğunda simgeyi hareket ettir"},light:{show_brightness_control:"Parlaklık kontrolü",use_light_color:"Işık rengini kullan",show_color_temp_control:"Renk ısısı kontrolü",show_color_control:"Renk kontrolü",incompatible_controls:"Kullandığınız lamba bu özellikleri desteklemiyorsa bazı kontroller görüntülenemeyebilir."},fan:{show_percentage_control:"Yüzde kontrolü",show_oscillate_control:"Salınım kontrolü"},cover:{show_buttons_control:"Düğme kontrolleri",show_position_control:"Pozisyon kontrolü"},template:{primary:"Birinci bilgi",secondary:"İkinci bilgi",multiline_secondary:"İkinci bilgi çok satır olsun",entity_extra:"Şablonlarda ve eylemlerde kullanılsın",content:"İçerik"},title:{title:"Başlık",subtitle:"Altbaşlık"},chips:{alignment:"Hizalama"},weather:{show_conditions:"Hava koşulu",show_temperature:"Sıcaklık"},update:{show_buttons_control:"Düğme kontrolü"},vacuum:{commands:"Komutlar"}},chip:{sub_element_editor:{title:"Chip düzenleyici"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Chip ekle",edit:"Düzenle",clear:"Temizle",select:"Chip seç",types:{action:"Eylem","alarm-control-panel":"Alarm",back:"Geri",conditional:"Koşullu",entity:"Varlık",light:"Işık",menu:"Menü",template:"Şablon",weather:"Hava Durumu"}}}},go={editor:fo},_o={form:{color_picker:{values:{default:"Колір за замовчуванням"}},info_picker:{values:{default:"Інформація за замовчуванням",name:"Назва",state:"Стан","last-changed":"Востаннє змінено","last-updated":"Востаннє оновлено",none:"Нічого"}},icon_type_picker:{values:{default:"За замовчуванням",icon:"Іконка","entity-picture":"Зображення сутності",none:"Нічого"}},layout_picker:{values:{default:"Розташування за замовчуванням",vertical:"Вертикальне розташування",horizontal:"Горизонтальне розташування"}},alignment_picker:{values:{default:"Вирівнювання за замовчуванням",start:"На початку",end:"В кінці",center:"По центру",justify:"Вирівняти"}}},card:{generic:{icon_color:"Колір іконки",layout:"Розташування",fill_container:"Заповнити контейнер",primary_info:"Головна інформація",secondary_info:"Додаткова інформація",icon_type:"Тип іконки",content_info:"Вміст",use_entity_picture:"Використовувати зображення сутності?",collapsible_controls:"Приховувати елементи керування коли вимкнено?",icon_animation:"Анімувати іконку при активації?"},light:{show_brightness_control:"Контроль яскравості?",use_light_color:"Використовувати колір світла",show_color_temp_control:"Керування температурою світла?",show_color_control:"Керування кольором світла?",incompatible_controls:"Деякі елементи керування можуть не відображатись якщо ваш пристрій не підтримує цю функцію."},fan:{show_percentage_control:"Керування швидкістю?",show_oscillate_control:"Керування повротом?"},cover:{show_buttons_control:"Кнопки керування?",show_position_control:"Керування позицією?",show_tilt_position_control:"Керування нахилом?"},template:{primary:"Головна інформація",secondary:"Додаткова інформаіця",multiline_secondary:"Багаторядкова додаткова інформація?",entity_extra:"Використовується в шаблонах та діях",content:"Вміст",badge_icon:"Іконка значка",badge_color:"Колір значка",picture:"Зображення (замінить іконку)"},title:{title:"Заголовок",subtitle:"Підзаголовок",title_tap_action:"Дія при дотику до заголовку",subtitle_tap_action:"Дія при дотику до підзаголовку"},chips:{alignment:"Вирівнювання"},weather:{show_conditions:"Умови?",show_temperature:"Температура?"},update:{show_buttons_control:"Кнопки керування?"},vacuum:{commands:"Команди",commands_list:{on_off:"Увімкнути/Вимкнути"}},"media-player":{use_media_info:"Використовувати інформацію медіа",use_media_artwork:"Використовувати зображення медіа",show_volume_level:"Показати рівень гучності",media_controls:"Керування медіа",media_controls_list:{on_off:"Увімкнути/Вимкнути",shuffle:"Перемішати",previous:"Попередній трек",play_pause_stop:"Відтворити/пауза/стоп",next:"Наступний трек",repeat:"Режим повторення"},volume_controls:"Елементи керування гучністю",volume_controls_list:{volume_buttons:"Кнопки гучності",volume_set:"Рівень гучності",volume_mute:"Вимк. звук"}},lock:{lock:"Зачинити",unlock:"Відчинити",open:"Відкрити"},humidifier:{show_target_humidity_control:"Керування вологістю?"},climate:{show_temperature_control:"Керування температурою?",hvac_modes:"Режими"},number:{display_mode:"Відображати режим",display_mode_list:{default:"За замовчуванням (повзунок)",slider:"Повзунок",buttons:"Кнопки"}}},chip:{sub_element_editor:{title:"Редактор міні-карток"},conditional:{chip:"Міні-картка"},"chip-picker":{chips:"Міні-картки",add:"Додати міні-картку",edit:"Редагувати",clear:"Очистити",select:"Обрати міні-картку",types:{action:"Дія","alarm-control-panel":"Сигналізація",back:"Назад",conditional:"Умовна",entity:"Сутність",light:"Світло",menu:"Меню",spacer:"Порожнє місце",template:"Вручну",weather:"Погода"}}}},vo={not_found:"Сутність не знайдено"},bo={editor:_o,card:vo},yo={form:{color_picker:{values:{default:"Màu mặc định"}},info_picker:{values:{default:"Thông tin mặc định",name:"Tên",state:"Trạng thái","last-changed":"Lần thay đổi cuối","last-updated":"Lần cập nhật cuối",none:"Không có"}},icon_type_picker:{values:{default:"Kiểu mặc định",icon:"Biểu tượng","entity-picture":"Ảnh thực thể",none:"Không có"}},layout_picker:{values:{default:"Bố cục mặc định",vertical:"Bố cục dọc",horizontal:"Bố cục ngang"}},alignment_picker:{values:{default:"Căn chỉnh mặc định",start:"Căn đầu",end:"Căn cuối",center:"Căn giữa",justify:"Căn hai bên"}}},card:{generic:{icon_color:"Màu biểu tượng",layout:"Bố cục",fill_container:"Làm đầy ô chứa",primary_info:"Thông tin chính",secondary_info:"Thông tin phụ",icon_type:"Kiểu biểu tượng",content_info:"Nội dung",use_entity_picture:"Dùng ảnh của thực thể?",collapsible_controls:"Thu nhỏ điều kiển khi tắt",icon_animation:"Biểu tượng chuyển động khi kích hoạt?"},light:{show_brightness_control:"Điều khiển độ sáng?",use_light_color:"Dùng màu đèn",show_color_temp_control:"Điều khiển nhiệt độ màu?",show_color_control:"Điều khiển màu sắc?",incompatible_controls:"Một số điều khiển sẽ không được hiển thị nếu đèn của bạn không hỗ trợ tính năng đó."},fan:{show_percentage_control:"Điều khiển dạng phần trăm?",show_oscillate_control:"Điều khiển xoay?"},cover:{show_buttons_control:"Điều khiển nút bấm?",show_position_control:"Điều khiển vị trí?",show_tilt_position_control:"Điều khiển độ nghiêng?"},template:{primary:"Thông tin chính",secondary:"Thông tin phụ",multiline_secondary:"Nhiều dòng thông tin phụ?",entity_extra:"Được sử dụng trong bản mẫu và hành động",content:"Nội dung",badge_icon:"Biểu tượng huy hiệu",badge_color:"Màu huy hiệu",picture:"Ảnh (thay cho biểu tượng)"},title:{title:"Tiêu đề",subtitle:"Phụ đề",title_tap_action:"Hành động khi nhấp tiêu đề",subtitle_tap_action:"Hành động khi nhấp phụ đề"},chips:{alignment:"Căn chỉnh"},weather:{show_conditions:"Điều kiện?",show_temperature:"Nhiệt độ?"},update:{show_buttons_control:"Điều khiển nút bấm?"},vacuum:{commands:"Mệnh lệnh",commands_list:{on_off:"Bật/tắt"}},"media-player":{use_media_info:"Dùng thông tin đa phương tiện",use_media_artwork:"Dùng ảnh đa phương tiện",show_volume_level:"Hiện mức âm lượng",media_controls:"Điều khiển đa phương tiện",media_controls_list:{on_off:"Bật/tắt",shuffle:"Xáo trộn",previous:"Bài trước",play_pause_stop:"Phát/tạm dừng/dừng",next:"Bài tiếp theo",repeat:"Chế độ lặp lại"},volume_controls:"Điều khiển âm lượng",volume_controls_list:{volume_buttons:"Nút âm lượng",volume_set:"Mức âm lượng",volume_mute:"Im lặng"}},lock:{lock:"Khóa",unlock:"Mở khóa",open:"Mở"},humidifier:{show_target_humidity_control:"Điều khiển độ ẩm?"},climate:{show_temperature_control:"Điều khiển nhiệt độ?",hvac_modes:"Chế độ điều hòa"},number:{display_mode:"Chế độ hiển thị",display_mode_list:{default:"Mặc định (thanh trượt)",slider:"Thanh trượt",buttons:"Nút"}}},chip:{sub_element_editor:{title:"Trình soạn phỉnh"},conditional:{chip:"Phỉnh"},"chip-picker":{chips:"Phỉnh",add:"Thêm phỉnh",edit:"Chỉnh sửa",clear:"Tẩy trống",select:"Chọn phỉnh",types:{action:"Hành động","alarm-control-panel":"Báo động",back:"Quay về",conditional:"Điều kiện",entity:"Thực thể",light:"Đèn",menu:"Trình đơn",spacer:"Ngăn cách",template:"Mẫu",weather:"Thời tiết"}}}},xo={not_found:"Không tìm thấy thực thể"},wo={editor:yo,card:xo},ko={form:{color_picker:{values:{default:"默认颜色"}},info_picker:{values:{default:"默认信息",name:"名称",state:"状态","last-changed":"变更时间","last-updated":"更新时间",none:"无"}},icon_type_picker:{values:{default:"默认类型",icon:"图标","entity-picture":"实体图片",none:"无"}},layout_picker:{values:{default:"默认布局",vertical:"垂直布局",horizontal:"水平布局"}},alignment_picker:{values:{default:"默认",start:"左对齐",end:"右对齐",center:"居中对齐",justify:"两端对齐"}}},card:{generic:{icon_color:"图标颜色",layout:"布局",fill_container:"填满容器",primary_info:"首要信息",secondary_info:"次要信息",icon_type:"图标类型",content_info:"内容",use_entity_picture:"使用实体图片?",collapsible_controls:"关闭时隐藏控制器",icon_animation:"激活时使用动态图标?"},light:{show_brightness_control:"亮度控制?",use_light_color:"使用灯光颜色",show_color_temp_control:"色温控制?",show_color_control:"颜色控制?",incompatible_controls:"设备不支持的控制器将不会显示。"},fan:{show_percentage_control:"百分比控制?",show_oscillate_control:"摆动控制?"},cover:{show_buttons_control:"按钮控制?",show_position_control:"位置控制?",show_tilt_position_control:"角度控制?"},template:{primary:"首要信息",secondary:"次要信息",multiline_secondary:"多行次要信息?",entity_extra:"用于模板和动作",content:"内容",badge_icon:"徽标图标",badge_color:"徽标颜色",picture:"图片 (将会替代图标)"},title:{title:"标题",subtitle:"子标题",title_tap_action:"标题点击动作",subtitle_tap_action:"子标题点击动作"},chips:{alignment:"对齐"},weather:{show_conditions:"条件?",show_temperature:"温度?"},update:{show_buttons_control:"控制按钮?"},vacuum:{commands:"命令",commands_list:{on_off:"开/关"}},"media-player":{use_media_info:"使用媒体信息",use_media_artwork:"使用媒体插图",show_volume_level:"显示音量大小",media_controls:"媒体控制",media_controls_list:{on_off:"开启/关闭",shuffle:"随机",previous:"上一曲",play_pause_stop:"播放/暂停/停止",next:"下一曲",repeat:"循环模式"},volume_controls:"音量控制",volume_controls_list:{volume_buttons:"音量按钮",volume_set:"音量等级",volume_mute:"静音"}},lock:{lock:"锁定",unlock:"解锁",open:"打开"},humidifier:{show_target_humidity_control:"湿度控制?"},climate:{show_temperature_control:"温度控制?",hvac_modes:"空调模式"},number:{display_mode:"显示模式",display_mode_list:{default:"默认 (滑块)",slider:"滑块",buttons:"按钮"}}},chip:{sub_element_editor:{title:"Chip 编辑"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"添加 chip",edit:"编辑",clear:"清除",select:"选择 chip",types:{action:"动作","alarm-control-panel":"警戒控制台",back:"返回",conditional:"条件显示",entity:"实体",light:"灯光",menu:"菜单",spacer:"占位符",template:"模板",weather:"天气"}}}},Co={not_found:"未找到实体"},$o={editor:ko,card:Co},Eo={form:{color_picker:{values:{default:"預設顏色"}},info_picker:{values:{default:"預設訊息",name:"名稱",state:"狀態","last-changed":"最近變動時間","last-updated":"最近更新時間",none:"無"}},icon_type_picker:{values:{default:"預設樣式",icon:"圖示","entity-picture":"實體圖片",none:"無"}},layout_picker:{values:{default:"預設佈局",vertical:"垂直佈局",horizontal:"水平佈局"}},alignment_picker:{values:{default:"預設對齊",start:"居左對齊",end:"居右對齊",center:"居中對齊",justify:"兩端對齊"}}},card:{generic:{icon_color:"圖示顏色",layout:"佈局",fill_container:"填滿容器",primary_info:"主要訊息",secondary_info:"次要訊息",icon_type:"圖示樣式",content_info:"內容",use_entity_picture:"使用實體圖片?",collapsible_controls:"關閉時隱藏控制項",icon_animation:"啟動時使用動態圖示?"},light:{show_brightness_control:"亮度控制?",use_light_color:"使用燈光顏色",show_color_temp_control:"色溫控制?",show_color_control:"色彩控制?",incompatible_controls:"不會顯示裝置不支援的控制。"},fan:{show_percentage_control:"百分比控制?",show_oscillate_control:"擺頭控制?"},cover:{show_buttons_control:"按鈕控制?",show_position_control:"位置控制?",show_tilt_position_control:"角度控制?"},template:{primary:"主要訊息",secondary:"次要訊息",multiline_secondary:"多行次要訊息?",entity_extra:"用於模板與動作",content:"內容",badge_icon:"角標圖示",badge_color:"角標顏色",picture:"圖片 (將會取代圖示)"},title:{title:"標題",subtitle:"副標題",title_tap_action:"標題點擊動作",subtitle_tap_action:"副標題點擊動作"},chips:{alignment:"對齊"},weather:{show_conditions:"狀況?",show_temperature:"溫度?"},update:{show_buttons_control:"按鈕控制?"},vacuum:{commands:"指令",commands_list:{on_off:"開啟、關閉"}},"media-player":{use_media_info:"使用媒體資訊",use_media_artwork:"使用媒體插圖",show_volume_level:"顯示音量大小",media_controls:"媒體控制",media_controls_list:{on_off:"開啟、關閉",shuffle:"隨機播放",previous:"上一首",play_pause_stop:"播放、暫停、停止",next:"下一首",repeat:"重複播放"},volume_controls:"音量控制",volume_controls_list:{volume_buttons:"音量按鈕",volume_set:"音量等級",volume_mute:"靜音"}},lock:{lock:"上鎖",unlock:"解鎖",open:"打開"},humidifier:{show_target_humidity_control:"溼度控制?"},climate:{show_temperature_control:"溫度控制?",hvac_modes:"空調模式"},number:{display_mode:"顯示模式",display_mode_list:{default:"預設 (滑桿)",slider:"滑桿",buttons:"按鈕"}}},chip:{sub_element_editor:{title:"小卡片編輯器"},conditional:{chip:"小卡片"},"chip-picker":{chips:"小卡片",add:"新增小卡片",edit:"編輯",clear:"清除",select:"選擇小卡片",types:{action:"動作","alarm-control-panel":"警報器控制",back:"返回",conditional:"條件",entity:"實體",light:"燈光",menu:"選單",spacer:"佔位符",template:"模板",weather:"天氣"}}}},Ao={not_found:"未找到實體"},So={editor:Eo,card:Ao};const Io={ar:Object.freeze({__proto__:null,default:si,editor:ai}),bg:Object.freeze({__proto__:null,default:ci,editor:li}),ca:Object.freeze({__proto__:null,card:ui,default:hi,editor:di}),cs:Object.freeze({__proto__:null,card:pi,default:fi,editor:mi}),da:Object.freeze({__proto__:null,default:_i,editor:gi}),de:Object.freeze({__proto__:null,card:bi,default:yi,editor:vi}),el:Object.freeze({__proto__:null,default:wi,editor:xi}),en:Object.freeze({__proto__:null,card:Ci,default:$i,editor:ki}),es:Object.freeze({__proto__:null,default:Ai,editor:Ei}),fi:Object.freeze({__proto__:null,default:Ii,editor:Si}),fr:Object.freeze({__proto__:null,default:zi,editor:Ti}),he:Object.freeze({__proto__:null,default:Mi,editor:Oi}),hu:Object.freeze({__proto__:null,card:Di,default:Li,editor:ji}),id:Object.freeze({__proto__:null,card:Ni,default:Ri,editor:Pi}),it:Object.freeze({__proto__:null,card:Vi,default:Bi,editor:Fi}),"ko-KR":Object.freeze({__proto__:null,default:Hi,editor:Ui}),nb:Object.freeze({__proto__:null,default:Wi,editor:Yi}),nl:Object.freeze({__proto__:null,card:Ki,default:Gi,editor:Xi}),pl:Object.freeze({__proto__:null,default:Zi,editor:qi}),"pt-BR":Object.freeze({__proto__:null,default:Qi,editor:Ji}),"pt-PT":Object.freeze({__proto__:null,default:eo,editor:to}),ro:Object.freeze({__proto__:null,default:oo,editor:io}),ru:Object.freeze({__proto__:null,default:ro,editor:no}),sl:Object.freeze({__proto__:null,card:so,default:lo,editor:ao}),sk:Object.freeze({__proto__:null,card:uo,default:ho,editor:co}),sv:Object.freeze({__proto__:null,default:po,editor:mo}),tr:Object.freeze({__proto__:null,default:go,editor:fo}),uk:Object.freeze({__proto__:null,card:vo,default:bo,editor:_o}),vi:Object.freeze({__proto__:null,card:xo,default:wo,editor:yo}),"zh-Hans":Object.freeze({__proto__:null,card:Co,default:$o,editor:ko}),"zh-Hant":Object.freeze({__proto__:null,card:Ao,default:So,editor:Eo})};function To(t,e){try{return t.split(".").reduce(((t,e)=>t[e]),Io[e])}catch(t){return}}function zo(t){return function(e){var i;let o=To(e,null!==(i=null==t?void 0:t.locale.language)&&void 0!==i?i:"en");return o||(o=To(e,"en")),null!=o?o:e}} /** * @license * Copyright 2020 Google Inc. @@ -189,7 +189,7 @@ const pt=t=>e=>"function"==typeof e?((t,e)=>(customElements.define(t,e),e))(t,e) * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. - */var zo="Unknown",Mo="Backspace",jo="Enter",Do="Spacebar",Lo="PageUp",Po="PageDown",No="End",Ro="Home",Fo="ArrowLeft",Vo="ArrowUp",Bo="ArrowRight",Uo="ArrowDown",Ho="Delete",Yo="Escape",Wo="Tab",Xo=new Set;Xo.add(Mo),Xo.add(jo),Xo.add(Do),Xo.add(Lo),Xo.add(Po),Xo.add(No),Xo.add(Ro),Xo.add(Fo),Xo.add(Vo),Xo.add(Bo),Xo.add(Uo),Xo.add(Ho),Xo.add(Yo),Xo.add(Wo);var Ko=8,Go=13,qo=32,Zo=33,Jo=34,Qo=35,tn=36,en=37,on=38,nn=39,rn=40,an=46,ln=27,sn=9,cn=new Map;cn.set(Ko,Mo),cn.set(Go,jo),cn.set(qo,Do),cn.set(Zo,Lo),cn.set(Jo,Po),cn.set(Qo,No),cn.set(tn,Ro),cn.set(en,Fo),cn.set(on,Vo),cn.set(nn,Bo),cn.set(rn,Uo),cn.set(an,Ho),cn.set(ln,Yo),cn.set(sn,Wo);var dn=new Set;function un(t){var e=t.key;if(Xo.has(e))return e;var i=cn.get(t.keyCode);return i||zo} + */var Oo="Unknown",Mo="Backspace",jo="Enter",Do="Spacebar",Lo="PageUp",Po="PageDown",No="End",Ro="Home",Fo="ArrowLeft",Vo="ArrowUp",Bo="ArrowRight",Uo="ArrowDown",Ho="Delete",Yo="Escape",Wo="Tab",Xo=new Set;Xo.add(Mo),Xo.add(jo),Xo.add(Do),Xo.add(Lo),Xo.add(Po),Xo.add(No),Xo.add(Ro),Xo.add(Fo),Xo.add(Vo),Xo.add(Bo),Xo.add(Uo),Xo.add(Ho),Xo.add(Yo),Xo.add(Wo);var Ko=8,Go=13,qo=32,Zo=33,Jo=34,Qo=35,tn=36,en=37,on=38,nn=39,rn=40,an=46,sn=27,ln=9,cn=new Map;cn.set(Ko,Mo),cn.set(Go,jo),cn.set(qo,Do),cn.set(Zo,Lo),cn.set(Jo,Po),cn.set(Qo,No),cn.set(tn,Ro),cn.set(en,Fo),cn.set(on,Vo),cn.set(nn,Bo),cn.set(rn,Uo),cn.set(an,Ho),cn.set(sn,Yo),cn.set(ln,Wo);var dn=new Set;function un(t){var e=t.key;if(Xo.has(e))return e;var i=cn.get(t.keyCode);return i||Oo} /** * @license * Copyright 2020 Google Inc. @@ -211,7 +211,7 @@ const pt=t=>e=>"function"==typeof e?((t,e)=>(customElements.define(t,e),e))(t,e) * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. - */dn.add(Lo),dn.add(Po),dn.add(No),dn.add(Ro),dn.add(Fo),dn.add(Vo),dn.add(Bo),dn.add(Uo);var hn={UNKNOWN:"Unknown",BACKSPACE:"Backspace",ENTER:"Enter",SPACEBAR:"Spacebar",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",END:"End",HOME:"Home",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",DELETE:"Delete",ESCAPE:"Escape",TAB:"Tab"},mn=new Set;mn.add(hn.BACKSPACE),mn.add(hn.ENTER),mn.add(hn.SPACEBAR),mn.add(hn.PAGE_UP),mn.add(hn.PAGE_DOWN),mn.add(hn.END),mn.add(hn.HOME),mn.add(hn.ARROW_LEFT),mn.add(hn.ARROW_UP),mn.add(hn.ARROW_RIGHT),mn.add(hn.ARROW_DOWN),mn.add(hn.DELETE),mn.add(hn.ESCAPE),mn.add(hn.TAB);var pn=8,fn=13,gn=32,_n=33,vn=34,bn=35,yn=36,xn=37,wn=38,kn=39,Cn=40,$n=46,En=27,An=9,Sn=new Map;Sn.set(pn,hn.BACKSPACE),Sn.set(fn,hn.ENTER),Sn.set(gn,hn.SPACEBAR),Sn.set(_n,hn.PAGE_UP),Sn.set(vn,hn.PAGE_DOWN),Sn.set(bn,hn.END),Sn.set(yn,hn.HOME),Sn.set(xn,hn.ARROW_LEFT),Sn.set(wn,hn.ARROW_UP),Sn.set(kn,hn.ARROW_RIGHT),Sn.set(Cn,hn.ARROW_DOWN),Sn.set($n,hn.DELETE),Sn.set(En,hn.ESCAPE),Sn.set(An,hn.TAB);var In,Tn,On=new Set;function zn(t){var e=t.key;if(mn.has(e))return e;var i=Sn.get(t.keyCode);return i||hn.UNKNOWN} + */dn.add(Lo),dn.add(Po),dn.add(No),dn.add(Ro),dn.add(Fo),dn.add(Vo),dn.add(Bo),dn.add(Uo);var hn={UNKNOWN:"Unknown",BACKSPACE:"Backspace",ENTER:"Enter",SPACEBAR:"Spacebar",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",END:"End",HOME:"Home",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",DELETE:"Delete",ESCAPE:"Escape",TAB:"Tab"},mn=new Set;mn.add(hn.BACKSPACE),mn.add(hn.ENTER),mn.add(hn.SPACEBAR),mn.add(hn.PAGE_UP),mn.add(hn.PAGE_DOWN),mn.add(hn.END),mn.add(hn.HOME),mn.add(hn.ARROW_LEFT),mn.add(hn.ARROW_UP),mn.add(hn.ARROW_RIGHT),mn.add(hn.ARROW_DOWN),mn.add(hn.DELETE),mn.add(hn.ESCAPE),mn.add(hn.TAB);var pn=8,fn=13,gn=32,_n=33,vn=34,bn=35,yn=36,xn=37,wn=38,kn=39,Cn=40,$n=46,En=27,An=9,Sn=new Map;Sn.set(pn,hn.BACKSPACE),Sn.set(fn,hn.ENTER),Sn.set(gn,hn.SPACEBAR),Sn.set(_n,hn.PAGE_UP),Sn.set(vn,hn.PAGE_DOWN),Sn.set(bn,hn.END),Sn.set(yn,hn.HOME),Sn.set(xn,hn.ARROW_LEFT),Sn.set(wn,hn.ARROW_UP),Sn.set(kn,hn.ARROW_RIGHT),Sn.set(Cn,hn.ARROW_DOWN),Sn.set($n,hn.DELETE),Sn.set(En,hn.ESCAPE),Sn.set(An,hn.TAB);var In,Tn,zn=new Set;function On(t){var e=t.key;if(mn.has(e))return e;var i=Sn.get(t.keyCode);return i||hn.UNKNOWN} /** * @license * Copyright 2018 Google Inc. @@ -233,7 +233,7 @@ const pt=t=>e=>"function"==typeof e?((t,e)=>(customElements.define(t,e),e))(t,e) * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. - */On.add(hn.PAGE_UP),On.add(hn.PAGE_DOWN),On.add(hn.END),On.add(hn.HOME),On.add(hn.ARROW_LEFT),On.add(hn.ARROW_UP),On.add(hn.ARROW_RIGHT),On.add(hn.ARROW_DOWN);var Mn="mdc-list-item--activated",jn="mdc-list-item",Dn="mdc-list-item--disabled",Ln="mdc-list-item--selected",Pn="mdc-list-item__text",Nn="mdc-list-item__primary-text",Rn="mdc-list";(In={})[""+Mn]="mdc-list-item--activated",In[""+jn]="mdc-list-item",In[""+Dn]="mdc-list-item--disabled",In[""+Ln]="mdc-list-item--selected",In[""+Nn]="mdc-list-item__primary-text",In[""+Rn]="mdc-list";var Fn=((Tn={})[""+Mn]="mdc-deprecated-list-item--activated",Tn[""+jn]="mdc-deprecated-list-item",Tn[""+Dn]="mdc-deprecated-list-item--disabled",Tn[""+Ln]="mdc-deprecated-list-item--selected",Tn[""+Pn]="mdc-deprecated-list-item__text",Tn[""+Nn]="mdc-deprecated-list-item__primary-text",Tn[""+Rn]="mdc-deprecated-list",Tn);Fn[jn],Fn[jn],Fn[jn],Fn[jn],Fn[jn],Fn[jn];var Vn={UNSET_INDEX:-1,TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS:300},Bn=["input","button","textarea","select"],Un=function(t){var e=t.target;if(e){var i=(""+e.tagName).toLowerCase();-1===Bn.indexOf(i)&&t.preventDefault()}}; + */zn.add(hn.PAGE_UP),zn.add(hn.PAGE_DOWN),zn.add(hn.END),zn.add(hn.HOME),zn.add(hn.ARROW_LEFT),zn.add(hn.ARROW_UP),zn.add(hn.ARROW_RIGHT),zn.add(hn.ARROW_DOWN);var Mn="mdc-list-item--activated",jn="mdc-list-item",Dn="mdc-list-item--disabled",Ln="mdc-list-item--selected",Pn="mdc-list-item__text",Nn="mdc-list-item__primary-text",Rn="mdc-list";(In={})[""+Mn]="mdc-list-item--activated",In[""+jn]="mdc-list-item",In[""+Dn]="mdc-list-item--disabled",In[""+Ln]="mdc-list-item--selected",In[""+Nn]="mdc-list-item__primary-text",In[""+Rn]="mdc-list";var Fn=((Tn={})[""+Mn]="mdc-deprecated-list-item--activated",Tn[""+jn]="mdc-deprecated-list-item",Tn[""+Dn]="mdc-deprecated-list-item--disabled",Tn[""+Ln]="mdc-deprecated-list-item--selected",Tn[""+Pn]="mdc-deprecated-list-item__text",Tn[""+Nn]="mdc-deprecated-list-item__primary-text",Tn[""+Rn]="mdc-deprecated-list",Tn);Fn[jn],Fn[jn],Fn[jn],Fn[jn],Fn[jn],Fn[jn];var Vn={UNSET_INDEX:-1,TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS:300},Bn=["input","button","textarea","select"],Un=function(t){var e=t.target;if(e){var i=(""+e.tagName).toLowerCase();-1===Bn.indexOf(i)&&t.preventDefault()}}; /** * @license * Copyright 2020 Google Inc. @@ -255,7 +255,7 @@ const pt=t=>e=>"function"==typeof e?((t,e)=>(customElements.define(t,e),e))(t,e) * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. - */function Hn(t,e){for(var i=new Map,o=0;oe&&!i(r[l].index)){s=l;break}if(-1!==s)return o.sortedIndexCursor=s,r[o.sortedIndexCursor].index;return-1}(r,a,s,e):function(t,e,i){var o=i.typeaheadBuffer[0],n=t.get(o);if(!n)return-1;var r=n[i.sortedIndexCursor];if(0===r.text.lastIndexOf(i.typeaheadBuffer,0)&&!e(r.index))return r.index;var a=(i.sortedIndexCursor+1)%n.length,l=-1;for(;a!==i.sortedIndexCursor;){var s=n[a],c=0===s.text.lastIndexOf(i.typeaheadBuffer,0),d=!e(s.index);if(c&&d){l=a;break}a=(a+1)%n.length}if(-1!==l)return i.sortedIndexCursor=l,n[i.sortedIndexCursor].index;return-1}(r,s,e),-1===i||l||n(i),i}function Wn(t){return t.typeaheadBuffer.length>0}function Xn(t){return{addClass:e=>{t.classList.add(e)},removeClass:e=>{t.classList.remove(e)},hasClass:e=>t.classList.contains(e)}}const Kn=()=>{},Gn={get passive(){return!1}};document.addEventListener("x",Kn,Gn),document.removeEventListener("x",Kn); + */function Hn(t,e){for(var i=new Map,o=0;oe&&!i(r[s].index)){l=s;break}if(-1!==l)return o.sortedIndexCursor=l,r[o.sortedIndexCursor].index;return-1}(r,a,l,e):function(t,e,i){var o=i.typeaheadBuffer[0],n=t.get(o);if(!n)return-1;var r=n[i.sortedIndexCursor];if(0===r.text.lastIndexOf(i.typeaheadBuffer,0)&&!e(r.index))return r.index;var a=(i.sortedIndexCursor+1)%n.length,s=-1;for(;a!==i.sortedIndexCursor;){var l=n[a],c=0===l.text.lastIndexOf(i.typeaheadBuffer,0),d=!e(l.index);if(c&&d){s=a;break}a=(a+1)%n.length}if(-1!==s)return i.sortedIndexCursor=s,n[i.sortedIndexCursor].index;return-1}(r,l,e),-1===i||s||n(i),i}function Wn(t){return t.typeaheadBuffer.length>0}function Xn(t){return{addClass:e=>{t.classList.add(e)},removeClass:e=>{t.classList.remove(e)},hasClass:e=>t.classList.contains(e)}}const Kn=()=>{},Gn={get passive(){return!1}};document.addEventListener("x",Kn,Gn),document.removeEventListener("x",Kn); /** * @license * Copyright 2018 Google LLC @@ -338,7 +338,7 @@ const er=t=>(e,i)=>{if(e.constructor._observers){if(!e.constructor.hasOwnPropert * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. - */var ar=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}(),lr={LINE_RIPPLE_ACTIVE:"mdc-line-ripple--active",LINE_RIPPLE_DEACTIVATING:"mdc-line-ripple--deactivating"},sr=function(t){function e(i){var n=t.call(this,o(o({},e.defaultAdapter),i))||this;return n.transitionEndHandler=function(t){n.handleTransitionEnd(t)},n}return i(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return lr},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerEventHandler("transitionend",this.transitionEndHandler)},e.prototype.destroy=function(){this.adapter.deregisterEventHandler("transitionend",this.transitionEndHandler)},e.prototype.activate=function(){this.adapter.removeClass(lr.LINE_RIPPLE_DEACTIVATING),this.adapter.addClass(lr.LINE_RIPPLE_ACTIVE)},e.prototype.setRippleCenter=function(t){this.adapter.setStyle("transform-origin",t+"px center")},e.prototype.deactivate=function(){this.adapter.addClass(lr.LINE_RIPPLE_DEACTIVATING)},e.prototype.handleTransitionEnd=function(t){var e=this.adapter.hasClass(lr.LINE_RIPPLE_DEACTIVATING);"opacity"===t.propertyName&&e&&(this.adapter.removeClass(lr.LINE_RIPPLE_ACTIVE),this.adapter.removeClass(lr.LINE_RIPPLE_DEACTIVATING))},e}(ar); + */var ar=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}(),sr={LINE_RIPPLE_ACTIVE:"mdc-line-ripple--active",LINE_RIPPLE_DEACTIVATING:"mdc-line-ripple--deactivating"},lr=function(t){function e(i){var n=t.call(this,o(o({},e.defaultAdapter),i))||this;return n.transitionEndHandler=function(t){n.handleTransitionEnd(t)},n}return i(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return sr},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerEventHandler("transitionend",this.transitionEndHandler)},e.prototype.destroy=function(){this.adapter.deregisterEventHandler("transitionend",this.transitionEndHandler)},e.prototype.activate=function(){this.adapter.removeClass(sr.LINE_RIPPLE_DEACTIVATING),this.adapter.addClass(sr.LINE_RIPPLE_ACTIVE)},e.prototype.setRippleCenter=function(t){this.adapter.setStyle("transform-origin",t+"px center")},e.prototype.deactivate=function(){this.adapter.addClass(sr.LINE_RIPPLE_DEACTIVATING)},e.prototype.handleTransitionEnd=function(t){var e=this.adapter.hasClass(sr.LINE_RIPPLE_DEACTIVATING);"opacity"===t.propertyName&&e&&(this.adapter.removeClass(sr.LINE_RIPPLE_ACTIVE),this.adapter.removeClass(sr.LINE_RIPPLE_DEACTIVATING))},e}(ar); /** * @license * Copyright 2018 Google Inc. @@ -360,7 +360,7 @@ const er=t=>(e,i)=>{if(e.constructor._observers){if(!e.constructor.hasOwnPropert * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. - */const cr=He(class extends Ye{constructor(t){switch(super(t),this.previousPart=null,this.foundation=null,t.type){case Ve:case Be:return;default:throw new Error("LineRipple only support attribute and property parts.")}}update(t,e){if(this.previousPart!==t){this.foundation&&this.foundation.destroy(),this.previousPart=t;const e=t.element;e.classList.add("mdc-line-ripple");const i=(t=>({addClass:e=>t.classList.add(e),removeClass:e=>t.classList.remove(e),hasClass:e=>t.classList.contains(e),setStyle:(e,i)=>t.style.setProperty(e,i),registerEventHandler:(e,i)=>{t.addEventListener(e,i)},deregisterEventHandler:(e,i)=>{t.removeEventListener(e,i)}}))(e);this.foundation=new sr(i),this.foundation.init()}return this.render()}render(){return this.foundation}}); + */const cr=He(class extends Ye{constructor(t){switch(super(t),this.previousPart=null,this.foundation=null,t.type){case Ve:case Be:return;default:throw new Error("LineRipple only support attribute and property parts.")}}update(t,e){if(this.previousPart!==t){this.foundation&&this.foundation.destroy(),this.previousPart=t;const e=t.element;e.classList.add("mdc-line-ripple");const i=(t=>({addClass:e=>t.classList.add(e),removeClass:e=>t.classList.remove(e),hasClass:e=>t.classList.contains(e),setStyle:(e,i)=>t.style.setProperty(e,i),registerEventHandler:(e,i)=>{t.addEventListener(e,i)},deregisterEventHandler:(e,i)=>{t.removeEventListener(e,i)}}))(e);this.foundation=new lr(i),this.foundation.init()}return this.render()}render(){return this.foundation}}); /** * @license * Copyright 2016 Google Inc. @@ -404,7 +404,7 @@ const er=t=>(e,i)=>{if(e.constructor._observers){if(!e.constructor.hasOwnPropert * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. - */Er.add(hr),Er.add(mr),Er.add(pr),Er.add(fr),Er.add(gr),Er.add(_r),Er.add(vr),Er.add(br),Er.add(yr),Er.add(xr),Er.add(wr),Er.add(kr),Er.add(Cr),Er.add($r);var Ar=8,Sr=13,Ir=32,Tr=33,Or=34,zr=35,Mr=36,jr=37,Dr=38,Lr=39,Pr=40,Nr=46,Rr=27,Fr=9,Vr=new Map;Vr.set(Ar,hr),Vr.set(Sr,mr),Vr.set(Ir,pr),Vr.set(Tr,fr),Vr.set(Or,gr),Vr.set(zr,_r),Vr.set(Mr,vr),Vr.set(jr,br),Vr.set(Dr,yr),Vr.set(Lr,xr),Vr.set(Pr,wr),Vr.set(Nr,kr),Vr.set(Rr,Cr),Vr.set(Fr,$r);var Br,Ur,Hr=new Set;function Yr(t){var e=t.key;if(Er.has(e))return e;var i=Vr.get(t.keyCode);return i||ur} + */Er.add(hr),Er.add(mr),Er.add(pr),Er.add(fr),Er.add(gr),Er.add(_r),Er.add(vr),Er.add(br),Er.add(yr),Er.add(xr),Er.add(wr),Er.add(kr),Er.add(Cr),Er.add($r);var Ar=8,Sr=13,Ir=32,Tr=33,zr=34,Or=35,Mr=36,jr=37,Dr=38,Lr=39,Pr=40,Nr=46,Rr=27,Fr=9,Vr=new Map;Vr.set(Ar,hr),Vr.set(Sr,mr),Vr.set(Ir,pr),Vr.set(Tr,fr),Vr.set(zr,gr),Vr.set(Or,_r),Vr.set(Mr,vr),Vr.set(jr,br),Vr.set(Dr,yr),Vr.set(Lr,xr),Vr.set(Pr,wr),Vr.set(Nr,kr),Vr.set(Rr,Cr),Vr.set(Fr,$r);var Br,Ur,Hr=new Set;function Yr(t){var e=t.key;if(Er.has(e))return e;var i=Vr.get(t.keyCode);return i||ur} /** * @license * Copyright 2018 Google Inc. @@ -551,7 +551,7 @@ const qr=He(class extends Ye{constructor(t){var e;if(super(t),t.type!==Ve||"clas `}renderHelperText(){if(!this.shouldRenderHelperText)return K;const t=this.validationMessage&&!this.isUiValid;return Y`

${t?this.validationMessage:this.helper}

`}createAdapter(){return Object.assign(Object.assign({},Xn(this.mdcRoot)),{activateBottomLine:()=>{this.lineRippleElement&&this.lineRippleElement.lineRippleFoundation.activate()},deactivateBottomLine:()=>{this.lineRippleElement&&this.lineRippleElement.lineRippleFoundation.deactivate()},hasLabel:()=>!!this.label,floatLabel:t=>{this.labelElement&&this.labelElement.floatingLabelFoundation.float(t)},getLabelWidth:()=>this.labelElement?this.labelElement.floatingLabelFoundation.getWidth():0,setLabelRequired:t=>{this.labelElement&&this.labelElement.floatingLabelFoundation.setRequired(t)},hasOutline:()=>this.outlined,notchOutline:t=>{this.outlineElement&&!this.outlineOpen&&(this.outlineWidth=t,this.outlineOpen=!0)},closeOutline:()=>{this.outlineElement&&(this.outlineOpen=!1)},setRippleCenter:t=>{if(this.lineRippleElement){this.lineRippleElement.lineRippleFoundation.setRippleCenter(t)}},notifyChange:async t=>{if(!this.valueSetDirectly&&t===this.value)return;this.valueSetDirectly=!1,this.value=t,await this.updateComplete;const e=new Event("change",{bubbles:!0});this.dispatchEvent(e)},setSelectedText:t=>this.selectedText=t,isSelectAnchorFocused:()=>{const t=this.anchorElement;if(!t)return!1;return t.getRootNode().activeElement===t},getSelectAnchorAttr:t=>{const e=this.anchorElement;return e?e.getAttribute(t):null},setSelectAnchorAttr:(t,e)=>{const i=this.anchorElement;i&&i.setAttribute(t,e)},removeSelectAnchorAttr:t=>{const e=this.anchorElement;e&&e.removeAttribute(t)},openMenu:()=>{this.menuOpen=!0},closeMenu:()=>{this.menuOpen=!1},addMenuClass:()=>{},removeMenuClass:()=>{},getAnchorElement:()=>this.anchorElement,setMenuAnchorElement:()=>{},setMenuAnchorCorner:()=>{const t=this.menuElement;t&&(t.corner="BOTTOM_START")},setMenuWrapFocus:t=>{const e=this.menuElement;e&&(e.wrapFocus=t)},focusMenuItemAtIndex:t=>{const e=this.menuElement;if(!e)return;const i=e.items[t];i&&i.focus()},getMenuItemCount:()=>{const t=this.menuElement;return t?t.items.length:0},getMenuItemValues:()=>{const t=this.menuElement;if(!t)return[];return t.items.map((t=>t.value))},getMenuItemTextAtIndex:t=>{const e=this.menuElement;if(!e)return"";const i=e.items[t];return i?i.text:""},getSelectedIndex:()=>this.index,setSelectedIndex:()=>{},isTypeaheadInProgress:()=>Wn(this.typeaheadState),typeaheadMatchItem:(t,e)=>{if(!this.menuElement)return-1;const i={focusItemAtIndex:t=>{this.menuElement.focusItemAtIndex(t)},focusedItemIndex:e||this.menuElement.getFocusedItemIndex(),nextChar:t,sortedIndexByFirstChar:this.sortedIndexByFirstChar,skipFocus:!1,isItemAtIndexDisabled:t=>this.items[t].disabled},o=Yn(i,this.typeaheadState);return-1!==o&&this.select(o),o}})}checkValidity(){const t=this._checkValidity(this.value);if(!t){const t=new Event("invalid",{bubbles:!1,cancelable:!0});this.dispatchEvent(t)}return t}reportValidity(){const t=this.checkValidity();return this.isUiValid=t,t}_checkValidity(t){const e=this.formElement.validity;let i=Jr(e);if(this.validityTransform){const e=this.validityTransform(t,i);i=Object.assign(Object.assign({},i),e)}return this._validity=i,this._validity.valid}setCustomValidity(t){this.validationMessage=t,this.formElement.setCustomValidity(t)}async getUpdateComplete(){await this._menuUpdateComplete;return await super.getUpdateComplete()}async firstUpdated(){const t=this.menuElement;if(t&&(this._menuUpdateComplete=t.updateComplete,await this._menuUpdateComplete),super.firstUpdated(),this.mdcFoundation.isValid=()=>!0,this.mdcFoundation.setValid=()=>{},this.mdcFoundation.setDisabled(this.disabled),this.validateOnInitialRender&&this.reportValidity(),!this.selected){!this.items.length&&this.slotElement&&this.slotElement.assignedNodes({flatten:!0}).length&&(await new Promise((t=>requestAnimationFrame(t))),await this.layout());const t=this.items.length&&""===this.items[0].value;if(!this.value&&t)return void this.select(0);this.selectByValue(this.value)}this.sortedIndexByFirstChar=Hn(this.items.length,(t=>this.items[t].text))}onItemsUpdated(){this.sortedIndexByFirstChar=Hn(this.items.length,(t=>this.items[t].text))}select(t){const e=this.menuElement;e&&e.select(t)}selectByValue(t){let e=-1;for(let i=0;i0,n=i&&this.index{this.menuElement.focusItemAtIndex(t)},focusedItemIndex:e,isTargetListItem:!!i&&i.hasAttribute("mwc-list-item"),sortedIndexByFirstChar:this.sortedIndexByFirstChar,isItemAtIndexDisabled:t=>this.items[t].disabled};!function(t,e){var i=t.event,o=t.isTargetListItem,n=t.focusedItemIndex,r=t.focusItemAtIndex,a=t.sortedIndexByFirstChar,l=t.isItemAtIndexDisabled,s="ArrowLeft"===zn(i),c="ArrowUp"===zn(i),d="ArrowRight"===zn(i),u="ArrowDown"===zn(i),h="Home"===zn(i),m="End"===zn(i),p="Enter"===zn(i),f="Spacebar"===zn(i);i.altKey||i.ctrlKey||i.metaKey||s||c||d||u||h||m||p||(f||1!==i.key.length?f&&(o&&Un(i),o&&Wn(e)&&Yn({focusItemAtIndex:r,focusedItemIndex:n,nextChar:" ",sortedIndexByFirstChar:a,skipFocus:!1,isItemAtIndexDisabled:l},e)):(Un(i),Yn({focusItemAtIndex:r,focusedItemIndex:n,nextChar:i.key.toLowerCase(),sortedIndexByFirstChar:a,skipFocus:!1,isItemAtIndexDisabled:l},e)))} + id="helper-text">${t?this.validationMessage:this.helper}

`}createAdapter(){return Object.assign(Object.assign({},Xn(this.mdcRoot)),{activateBottomLine:()=>{this.lineRippleElement&&this.lineRippleElement.lineRippleFoundation.activate()},deactivateBottomLine:()=>{this.lineRippleElement&&this.lineRippleElement.lineRippleFoundation.deactivate()},hasLabel:()=>!!this.label,floatLabel:t=>{this.labelElement&&this.labelElement.floatingLabelFoundation.float(t)},getLabelWidth:()=>this.labelElement?this.labelElement.floatingLabelFoundation.getWidth():0,setLabelRequired:t=>{this.labelElement&&this.labelElement.floatingLabelFoundation.setRequired(t)},hasOutline:()=>this.outlined,notchOutline:t=>{this.outlineElement&&!this.outlineOpen&&(this.outlineWidth=t,this.outlineOpen=!0)},closeOutline:()=>{this.outlineElement&&(this.outlineOpen=!1)},setRippleCenter:t=>{if(this.lineRippleElement){this.lineRippleElement.lineRippleFoundation.setRippleCenter(t)}},notifyChange:async t=>{if(!this.valueSetDirectly&&t===this.value)return;this.valueSetDirectly=!1,this.value=t,await this.updateComplete;const e=new Event("change",{bubbles:!0});this.dispatchEvent(e)},setSelectedText:t=>this.selectedText=t,isSelectAnchorFocused:()=>{const t=this.anchorElement;if(!t)return!1;return t.getRootNode().activeElement===t},getSelectAnchorAttr:t=>{const e=this.anchorElement;return e?e.getAttribute(t):null},setSelectAnchorAttr:(t,e)=>{const i=this.anchorElement;i&&i.setAttribute(t,e)},removeSelectAnchorAttr:t=>{const e=this.anchorElement;e&&e.removeAttribute(t)},openMenu:()=>{this.menuOpen=!0},closeMenu:()=>{this.menuOpen=!1},addMenuClass:()=>{},removeMenuClass:()=>{},getAnchorElement:()=>this.anchorElement,setMenuAnchorElement:()=>{},setMenuAnchorCorner:()=>{const t=this.menuElement;t&&(t.corner="BOTTOM_START")},setMenuWrapFocus:t=>{const e=this.menuElement;e&&(e.wrapFocus=t)},focusMenuItemAtIndex:t=>{const e=this.menuElement;if(!e)return;const i=e.items[t];i&&i.focus()},getMenuItemCount:()=>{const t=this.menuElement;return t?t.items.length:0},getMenuItemValues:()=>{const t=this.menuElement;if(!t)return[];return t.items.map((t=>t.value))},getMenuItemTextAtIndex:t=>{const e=this.menuElement;if(!e)return"";const i=e.items[t];return i?i.text:""},getSelectedIndex:()=>this.index,setSelectedIndex:()=>{},isTypeaheadInProgress:()=>Wn(this.typeaheadState),typeaheadMatchItem:(t,e)=>{if(!this.menuElement)return-1;const i={focusItemAtIndex:t=>{this.menuElement.focusItemAtIndex(t)},focusedItemIndex:e||this.menuElement.getFocusedItemIndex(),nextChar:t,sortedIndexByFirstChar:this.sortedIndexByFirstChar,skipFocus:!1,isItemAtIndexDisabled:t=>this.items[t].disabled},o=Yn(i,this.typeaheadState);return-1!==o&&this.select(o),o}})}checkValidity(){const t=this._checkValidity(this.value);if(!t){const t=new Event("invalid",{bubbles:!1,cancelable:!0});this.dispatchEvent(t)}return t}reportValidity(){const t=this.checkValidity();return this.isUiValid=t,t}_checkValidity(t){const e=this.formElement.validity;let i=Jr(e);if(this.validityTransform){const e=this.validityTransform(t,i);i=Object.assign(Object.assign({},i),e)}return this._validity=i,this._validity.valid}setCustomValidity(t){this.validationMessage=t,this.formElement.setCustomValidity(t)}async getUpdateComplete(){await this._menuUpdateComplete;return await super.getUpdateComplete()}async firstUpdated(){const t=this.menuElement;if(t&&(this._menuUpdateComplete=t.updateComplete,await this._menuUpdateComplete),super.firstUpdated(),this.mdcFoundation.isValid=()=>!0,this.mdcFoundation.setValid=()=>{},this.mdcFoundation.setDisabled(this.disabled),this.validateOnInitialRender&&this.reportValidity(),!this.selected){!this.items.length&&this.slotElement&&this.slotElement.assignedNodes({flatten:!0}).length&&(await new Promise((t=>requestAnimationFrame(t))),await this.layout());const t=this.items.length&&""===this.items[0].value;if(!this.value&&t)return void this.select(0);this.selectByValue(this.value)}this.sortedIndexByFirstChar=Hn(this.items.length,(t=>this.items[t].text))}onItemsUpdated(){this.sortedIndexByFirstChar=Hn(this.items.length,(t=>this.items[t].text))}select(t){const e=this.menuElement;e&&e.select(t)}selectByValue(t){let e=-1;for(let i=0;i0,n=i&&this.index{this.menuElement.focusItemAtIndex(t)},focusedItemIndex:e,isTargetListItem:!!i&&i.hasAttribute("mwc-list-item"),sortedIndexByFirstChar:this.sortedIndexByFirstChar,isItemAtIndexDisabled:t=>this.items[t].disabled};!function(t,e){var i=t.event,o=t.isTargetListItem,n=t.focusedItemIndex,r=t.focusItemAtIndex,a=t.sortedIndexByFirstChar,s=t.isItemAtIndexDisabled,l="ArrowLeft"===On(i),c="ArrowUp"===On(i),d="ArrowRight"===On(i),u="ArrowDown"===On(i),h="Home"===On(i),m="End"===On(i),p="Enter"===On(i),f="Spacebar"===On(i);i.altKey||i.ctrlKey||i.metaKey||l||c||d||u||h||m||p||(f||1!==i.key.length?f&&(o&&Un(i),o&&Wn(e)&&Yn({focusItemAtIndex:r,focusedItemIndex:n,nextChar:" ",sortedIndexByFirstChar:a,skipFocus:!1,isItemAtIndexDisabled:s},e)):(Un(i),Yn({focusItemAtIndex:r,focusedItemIndex:n,nextChar:i.key.toLowerCase(),sortedIndexByFirstChar:a,skipFocus:!1,isItemAtIndexDisabled:s},e)))} /** * @license * Copyright 2018 Google LLC @@ -562,993 +562,1071 @@ const qr=He(class extends Ye{constructor(t){var e;if(super(t),t.type!==Ve||"clas * Copyright 2021 Google LLC * SPDX-LIcense-Identifier: Apache-2.0 */ -const ta=h`.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform;transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);border-bottom-width:2px;opacity:0;z-index:2}.mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(100% / 0.75)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-select{display:inline-flex;position:relative}.mdc-select:not(.mdc-select--disabled) .mdc-select__selected-text{color:rgba(0, 0, 0, 0.87)}.mdc-select.mdc-select--disabled .mdc-select__selected-text{color:rgba(0, 0, 0, 0.38)}.mdc-select:not(.mdc-select--disabled) .mdc-floating-label{color:rgba(0, 0, 0, 0.6)}.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-floating-label{color:rgba(98, 0, 238, 0.87)}.mdc-select.mdc-select--disabled .mdc-floating-label{color:rgba(0, 0, 0, 0.38)}.mdc-select:not(.mdc-select--disabled) .mdc-select__dropdown-icon{fill:rgba(0, 0, 0, 0.54)}.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-select__dropdown-icon{fill:#6200ee;fill:var(--mdc-theme-primary, #6200ee)}.mdc-select.mdc-select--disabled .mdc-select__dropdown-icon{fill:rgba(0, 0, 0, 0.38)}.mdc-select:not(.mdc-select--disabled)+.mdc-select-helper-text{color:rgba(0, 0, 0, 0.6)}.mdc-select.mdc-select--disabled+.mdc-select-helper-text{color:rgba(0, 0, 0, 0.38)}.mdc-select:not(.mdc-select--disabled) .mdc-select__icon{color:rgba(0, 0, 0, 0.54)}.mdc-select.mdc-select--disabled .mdc-select__icon{color:rgba(0, 0, 0, 0.38)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-select.mdc-select--disabled .mdc-select__selected-text{color:GrayText}.mdc-select.mdc-select--disabled .mdc-select__dropdown-icon{fill:red}.mdc-select.mdc-select--disabled .mdc-floating-label{color:GrayText}.mdc-select.mdc-select--disabled .mdc-line-ripple::before{border-bottom-color:GrayText}.mdc-select.mdc-select--disabled .mdc-notched-outline__leading,.mdc-select.mdc-select--disabled .mdc-notched-outline__notch,.mdc-select.mdc-select--disabled .mdc-notched-outline__trailing{border-color:GrayText}.mdc-select.mdc-select--disabled .mdc-select__icon{color:GrayText}.mdc-select.mdc-select--disabled+.mdc-select-helper-text{color:GrayText}}.mdc-select .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-select .mdc-select__anchor{padding-left:16px;padding-right:0}[dir=rtl] .mdc-select .mdc-select__anchor,.mdc-select .mdc-select__anchor[dir=rtl]{padding-left:0;padding-right:16px}.mdc-select.mdc-select--with-leading-icon .mdc-select__anchor{padding-left:0;padding-right:0}[dir=rtl] .mdc-select.mdc-select--with-leading-icon .mdc-select__anchor,.mdc-select.mdc-select--with-leading-icon .mdc-select__anchor[dir=rtl]{padding-left:0;padding-right:0}.mdc-select .mdc-select__icon{width:24px;height:24px;font-size:24px}.mdc-select .mdc-select__dropdown-icon{width:24px;height:24px}.mdc-select .mdc-select__menu .mdc-deprecated-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-select .mdc-select__menu .mdc-deprecated-list-item,.mdc-select .mdc-select__menu .mdc-deprecated-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-select .mdc-select__menu .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:12px}[dir=rtl] .mdc-select .mdc-select__menu .mdc-deprecated-list-item__graphic,.mdc-select .mdc-select__menu .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:12px;margin-right:0}.mdc-select__dropdown-icon{margin-left:12px;margin-right:12px;display:inline-flex;position:relative;align-self:center;align-items:center;justify-content:center;flex-shrink:0;pointer-events:none}.mdc-select__dropdown-icon .mdc-select__dropdown-icon-active,.mdc-select__dropdown-icon .mdc-select__dropdown-icon-inactive{position:absolute;top:0;left:0}.mdc-select__dropdown-icon .mdc-select__dropdown-icon-graphic{width:41.6666666667%;height:20.8333333333%}.mdc-select__dropdown-icon .mdc-select__dropdown-icon-inactive{opacity:1;transition:opacity 75ms linear 75ms}.mdc-select__dropdown-icon .mdc-select__dropdown-icon-active{opacity:0;transition:opacity 75ms linear}[dir=rtl] .mdc-select__dropdown-icon,.mdc-select__dropdown-icon[dir=rtl]{margin-left:12px;margin-right:12px}.mdc-select--activated .mdc-select__dropdown-icon .mdc-select__dropdown-icon-inactive{opacity:0;transition:opacity 49.5ms linear}.mdc-select--activated .mdc-select__dropdown-icon .mdc-select__dropdown-icon-active{opacity:1;transition:opacity 100.5ms linear 49.5ms}.mdc-select__anchor{width:200px;min-width:0;flex:1 1 auto;position:relative;box-sizing:border-box;overflow:hidden;outline:none;cursor:pointer}.mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-select__selected-text-container{display:flex;appearance:none;pointer-events:none;box-sizing:border-box;width:auto;min-width:0;flex-grow:1;height:28px;border:none;outline:none;padding:0;background-color:transparent;color:inherit}.mdc-select__selected-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;width:100%;text-align:left}[dir=rtl] .mdc-select__selected-text,.mdc-select__selected-text[dir=rtl]{text-align:right}.mdc-select--invalid:not(.mdc-select--disabled) .mdc-floating-label{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-floating-label{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--invalid+.mdc-select-helper-text--validation-msg{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled) .mdc-select__dropdown-icon{fill:#b00020;fill:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-select__dropdown-icon{fill:#b00020;fill:var(--mdc-theme-error, #b00020)}.mdc-select--disabled{cursor:default;pointer-events:none}.mdc-select--with-leading-icon .mdc-select__menu .mdc-deprecated-list-item{padding-left:12px;padding-right:12px}[dir=rtl] .mdc-select--with-leading-icon .mdc-select__menu .mdc-deprecated-list-item,.mdc-select--with-leading-icon .mdc-select__menu .mdc-deprecated-list-item[dir=rtl]{padding-left:12px;padding-right:12px}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-select__menu::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}}@media screen and (forced-colors: active)and (forced-colors: active),screen and (-ms-high-contrast: active)and (forced-colors: active){.mdc-select__menu::before{border-color:CanvasText}}.mdc-select__menu .mdc-deprecated-list .mdc-select__icon,.mdc-select__menu .mdc-list .mdc-select__icon{margin-left:0;margin-right:0}[dir=rtl] .mdc-select__menu .mdc-deprecated-list .mdc-select__icon,[dir=rtl] .mdc-select__menu .mdc-list .mdc-select__icon,.mdc-select__menu .mdc-deprecated-list .mdc-select__icon[dir=rtl],.mdc-select__menu .mdc-list .mdc-select__icon[dir=rtl]{margin-left:0;margin-right:0}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--activated,.mdc-select__menu .mdc-list .mdc-deprecated-list-item--selected,.mdc-select__menu .mdc-list .mdc-deprecated-list-item--activated{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-deprecated-list-item__graphic,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--activated .mdc-deprecated-list-item__graphic,.mdc-select__menu .mdc-list .mdc-deprecated-list-item--selected .mdc-deprecated-list-item__graphic,.mdc-select__menu .mdc-list .mdc-deprecated-list-item--activated .mdc-deprecated-list-item__graphic{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-select__menu .mdc-list-item__start{display:inline-flex;align-items:center}.mdc-select__option{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-select__option,.mdc-select__option[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-select__one-line-option.mdc-list-item--with-one-line{height:48px}.mdc-select__two-line-option.mdc-list-item--with-two-lines{height:64px}.mdc-select__two-line-option.mdc-list-item--with-two-lines .mdc-list-item__start{margin-top:20px}.mdc-select__two-line-option.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-select__two-line-option.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-select__two-line-option.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-select__two-line-option.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-select__two-line-option.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:36px;content:"";vertical-align:0}.mdc-select__option-with-leading-content{padding-left:0;padding-right:12px}.mdc-select__option-with-leading-content.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-select__option-with-leading-content.mdc-list-item,.mdc-select__option-with-leading-content.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-select__option-with-leading-content .mdc-list-item__start{margin-left:12px;margin-right:0}[dir=rtl] .mdc-select__option-with-leading-content .mdc-list-item__start,.mdc-select__option-with-leading-content .mdc-list-item__start[dir=rtl]{margin-left:0;margin-right:12px}.mdc-select__option-with-leading-content .mdc-list-item__start{width:36px;height:24px}[dir=rtl] .mdc-select__option-with-leading-content,.mdc-select__option-with-leading-content[dir=rtl]{padding-left:12px;padding-right:0}.mdc-select__option-with-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-select__option-with-meta.mdc-list-item,.mdc-select__option-with-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-select__option-with-meta .mdc-list-item__end{margin-left:12px;margin-right:12px}[dir=rtl] .mdc-select__option-with-meta .mdc-list-item__end,.mdc-select__option-with-meta .mdc-list-item__end[dir=rtl]{margin-left:12px;margin-right:12px}.mdc-select--filled .mdc-select__anchor{height:56px;display:flex;align-items:baseline}.mdc-select--filled .mdc-select__anchor::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-select--filled.mdc-select--no-label .mdc-select__anchor .mdc-select__selected-text::before{content:"​"}.mdc-select--filled.mdc-select--no-label .mdc-select__anchor .mdc-select__selected-text-container{height:100%;display:inline-flex;align-items:center}.mdc-select--filled.mdc-select--no-label .mdc-select__anchor::before{display:none}.mdc-select--filled .mdc-select__anchor{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-select--filled:not(.mdc-select--disabled) .mdc-select__anchor{background-color:whitesmoke}.mdc-select--filled.mdc-select--disabled .mdc-select__anchor{background-color:#fafafa}.mdc-select--filled:not(.mdc-select--disabled) .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.42)}.mdc-select--filled:not(.mdc-select--disabled):hover .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.87)}.mdc-select--filled:not(.mdc-select--disabled) .mdc-line-ripple::after{border-bottom-color:#6200ee;border-bottom-color:var(--mdc-theme-primary, #6200ee)}.mdc-select--filled.mdc-select--disabled .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.06)}.mdc-select--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-select--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-select--filled .mdc-menu-surface--is-open-below{border-top-left-radius:0px;border-top-right-radius:0px}.mdc-select--filled.mdc-select--focused.mdc-line-ripple::after{transform:scale(1, 2);opacity:1}.mdc-select--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-select--filled .mdc-floating-label,.mdc-select--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label{left:48px;right:initial}[dir=rtl] .mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label,.mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-select--invalid:not(.mdc-select--disabled) .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled):hover .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled) .mdc-line-ripple::after{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-select--outlined{border:none}.mdc-select--outlined .mdc-select__anchor{height:56px}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-select-outlined-56px 250ms 1}@keyframes mdc-floating-label-shake-float-above-select-outlined-56px{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px)) * 2)}}.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-select--outlined .mdc-select__anchor{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-select--outlined .mdc-select__anchor,.mdc-select--outlined .mdc-select__anchor[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-select--outlined .mdc-select__anchor,.mdc-select--outlined .mdc-select__anchor[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-select--outlined+.mdc-select-helper-text{margin-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-select--outlined+.mdc-select-helper-text,.mdc-select--outlined+.mdc-select-helper-text[dir=rtl]{margin-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-select--outlined+.mdc-select-helper-text,.mdc-select--outlined+.mdc-select-helper-text[dir=rtl]{margin-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-select--outlined:not(.mdc-select--disabled) .mdc-select__anchor{background-color:transparent}.mdc-select--outlined.mdc-select--disabled .mdc-select__anchor{background-color:transparent}.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.38)}.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.87)}.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:2px}.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-select--outlined.mdc-select--disabled .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--disabled .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--disabled .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.06)}.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-select--outlined .mdc-select__anchor{display:flex;align-items:baseline;overflow:visible}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-select-outlined 250ms 1}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-select--outlined .mdc-select__anchor .mdc-select__selected-text::before{content:"​"}.mdc-select--outlined .mdc-select__anchor .mdc-select__selected-text-container{height:100%;display:inline-flex;align-items:center}.mdc-select--outlined .mdc-select__anchor::before{display:none}.mdc-select--outlined .mdc-select__selected-text-container{display:flex;border:none;z-index:1;background-color:transparent}.mdc-select--outlined .mdc-select__icon{z-index:2}.mdc-select--outlined .mdc-floating-label{line-height:1.15rem;left:4px;right:initial}[dir=rtl] .mdc-select--outlined .mdc-floating-label,.mdc-select--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-select--outlined.mdc-select--focused .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled) .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled) .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:2px}.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label,.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above,.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above{font-size:.75rem}.mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px 250ms 1}@keyframes mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--shake,.mdc-select--outlined.mdc-select--with-leading-icon[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px 250ms 1}@keyframes mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 96px)}.mdc-select--outlined .mdc-menu-surface{margin-bottom:8px}.mdc-select--outlined.mdc-select--no-label .mdc-menu-surface,.mdc-select--outlined .mdc-menu-surface--is-open-below{margin-bottom:0}.mdc-select__anchor{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-select__anchor .mdc-select__ripple::before,.mdc-select__anchor .mdc-select__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-select__anchor .mdc-select__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-select__anchor .mdc-select__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-select__anchor.mdc-ripple-upgraded .mdc-select__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-select__anchor.mdc-ripple-upgraded .mdc-select__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-select__anchor.mdc-ripple-upgraded--unbounded .mdc-select__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-select__anchor.mdc-ripple-upgraded--foreground-activation .mdc-select__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-select__anchor.mdc-ripple-upgraded--foreground-deactivation .mdc-select__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-select__anchor .mdc-select__ripple::before,.mdc-select__anchor .mdc-select__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-select__anchor.mdc-ripple-upgraded .mdc-select__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-select__anchor .mdc-select__ripple::before,.mdc-select__anchor .mdc-select__ripple::after{background-color:rgba(0, 0, 0, 0.87);background-color:var(--mdc-ripple-color, rgba(0, 0, 0, 0.87))}.mdc-select__anchor:hover .mdc-select__ripple::before,.mdc-select__anchor.mdc-ripple-surface--hover .mdc-select__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-select__anchor.mdc-ripple-upgraded--background-focused .mdc-select__ripple::before,.mdc-select__anchor:not(.mdc-ripple-upgraded):focus .mdc-select__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-select__anchor .mdc-select__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-deprecated-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-deprecated-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:hover .mdc-deprecated-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-surface--hover .mdc-deprecated-list-item__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-upgraded--background-focused .mdc-deprecated-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):focus .mdc-deprecated-list-item__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded) .mdc-deprecated-list-item__ripple::after{transition:opacity 150ms linear}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):active .mdc-deprecated-list-item__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:hover .mdc-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-surface--hover .mdc-list-item__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after{transition:opacity 150ms linear}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-select-helper-text{margin:0;margin-left:16px;margin-right:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal}[dir=rtl] .mdc-select-helper-text,.mdc-select-helper-text[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-select-helper-text::before{display:inline-block;width:0;height:16px;content:"";vertical-align:0}.mdc-select-helper-text--validation-msg{opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-select--invalid+.mdc-select-helper-text--validation-msg,.mdc-select-helper-text--validation-msg-persistent{opacity:1}.mdc-select--with-leading-icon .mdc-select__icon{display:inline-block;box-sizing:border-box;border:none;text-decoration:none;cursor:pointer;user-select:none;flex-shrink:0;align-self:center;background-color:transparent;fill:currentColor}.mdc-select--with-leading-icon .mdc-select__icon{margin-left:12px;margin-right:12px}[dir=rtl] .mdc-select--with-leading-icon .mdc-select__icon,.mdc-select--with-leading-icon .mdc-select__icon[dir=rtl]{margin-left:12px;margin-right:12px}.mdc-select__icon:not([tabindex]),.mdc-select__icon[tabindex="-1"]{cursor:default;pointer-events:none}.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}:host{display:inline-block;vertical-align:top;outline:none}.mdc-select{width:100%}[hidden]{display:none}.mdc-select__icon{z-index:2}.mdc-select--with-leading-icon{--mdc-list-item-graphic-margin: calc( 48px - var(--mdc-list-item-graphic-size, 24px) - var(--mdc-list-side-padding, 16px) )}.mdc-select .mdc-select__anchor .mdc-select__selected-text{overflow:hidden}.mdc-select .mdc-select__anchor *{display:inline-flex}.mdc-select .mdc-select__anchor .mdc-floating-label{display:inline-block}mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-select-outlined-idle-border-color, rgba(0, 0, 0, 0.38) );--mdc-notched-outline-notch-offset: 1px}:host(:not([disabled]):hover) .mdc-select:not(.mdc-select--invalid):not(.mdc-select--focused) mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-select-outlined-hover-border-color, rgba(0, 0, 0, 0.87) )}:host(:not([disabled])) .mdc-select:not(.mdc-select--disabled) .mdc-select__selected-text{color:rgba(0, 0, 0, 0.87);color:var(--mdc-select-ink-color, rgba(0, 0, 0, 0.87))}:host(:not([disabled])) .mdc-select:not(.mdc-select--disabled) .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.42);border-bottom-color:var(--mdc-select-idle-line-color, rgba(0, 0, 0, 0.42))}:host(:not([disabled])) .mdc-select:not(.mdc-select--disabled):hover .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.87);border-bottom-color:var(--mdc-select-hover-line-color, rgba(0, 0, 0, 0.87))}:host(:not([disabled])) .mdc-select:not(.mdc-select--outlined):not(.mdc-select--disabled) .mdc-select__anchor{background-color:whitesmoke;background-color:var(--mdc-select-fill-color, whitesmoke)}:host(:not([disabled])) .mdc-select.mdc-select--invalid .mdc-select__dropdown-icon{fill:var(--mdc-select-error-dropdown-icon-color, var(--mdc-select-error-color, var(--mdc-theme-error, #b00020)))}:host(:not([disabled])) .mdc-select.mdc-select--invalid .mdc-floating-label,:host(:not([disabled])) .mdc-select.mdc-select--invalid .mdc-floating-label::after{color:var(--mdc-select-error-color, var(--mdc-theme-error, #b00020))}:host(:not([disabled])) .mdc-select.mdc-select--invalid mwc-notched-outline{--mdc-notched-outline-border-color: var(--mdc-select-error-color, var(--mdc-theme-error, #b00020))}.mdc-select__menu--invalid{--mdc-theme-primary: var(--mdc-select-error-color, var(--mdc-theme-error, #b00020))}:host(:not([disabled])) .mdc-select:not(.mdc-select--invalid):not(.mdc-select--focused) .mdc-floating-label,:host(:not([disabled])) .mdc-select:not(.mdc-select--invalid):not(.mdc-select--focused) .mdc-floating-label::after{color:rgba(0, 0, 0, 0.6);color:var(--mdc-select-label-ink-color, rgba(0, 0, 0, 0.6))}:host(:not([disabled])) .mdc-select:not(.mdc-select--invalid):not(.mdc-select--focused) .mdc-select__dropdown-icon{fill:rgba(0, 0, 0, 0.54);fill:var(--mdc-select-dropdown-icon-color, rgba(0, 0, 0, 0.54))}:host(:not([disabled])) .mdc-select.mdc-select--focused mwc-notched-outline{--mdc-notched-outline-stroke-width: 2px;--mdc-notched-outline-notch-offset: 2px}:host(:not([disabled])) .mdc-select.mdc-select--focused:not(.mdc-select--invalid) mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-select-focused-label-color, var(--mdc-theme-primary, rgba(98, 0, 238, 0.87)) )}:host(:not([disabled])) .mdc-select.mdc-select--focused:not(.mdc-select--invalid) .mdc-select__dropdown-icon{fill:rgba(98,0,238,.87);fill:var(--mdc-select-focused-dropdown-icon-color, var(--mdc-theme-primary, rgba(98, 0, 238, 0.87)))}:host(:not([disabled])) .mdc-select.mdc-select--focused:not(.mdc-select--invalid) .mdc-floating-label{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}:host(:not([disabled])) .mdc-select.mdc-select--focused:not(.mdc-select--invalid) .mdc-floating-label::after{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}:host(:not([disabled])) .mdc-select-helper-text:not(.mdc-select-helper-text--validation-msg){color:var(--mdc-select-label-ink-color, rgba(0, 0, 0, 0.6))}:host([disabled]){pointer-events:none}:host([disabled]) .mdc-select:not(.mdc-select--outlined).mdc-select--disabled .mdc-select__anchor{background-color:#fafafa;background-color:var(--mdc-select-disabled-fill-color, #fafafa)}:host([disabled]) .mdc-select.mdc-select--outlined mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-select-outlined-disabled-border-color, rgba(0, 0, 0, 0.06) )}:host([disabled]) .mdc-select .mdc-select__dropdown-icon{fill:rgba(0, 0, 0, 0.38);fill:var(--mdc-select-disabled-dropdown-icon-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-select:not(.mdc-select--invalid):not(.mdc-select--focused) .mdc-floating-label,:host([disabled]) .mdc-select:not(.mdc-select--invalid):not(.mdc-select--focused) .mdc-floating-label::after{color:rgba(0, 0, 0, 0.38);color:var(--mdc-select-disabled-ink-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-select-helper-text{color:rgba(0, 0, 0, 0.38);color:var(--mdc-select-disabled-ink-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-select__selected-text{color:rgba(0, 0, 0, 0.38);color:var(--mdc-select-disabled-ink-color, rgba(0, 0, 0, 0.38))}`;let ea=class extends Qr{constructor(){super(...arguments),this._translationsUpdated=Te((async()=>{await ze(),this.layoutOptions()}),500)}renderLeadingIcon(){return this.icon?Y``:K}connectedCallback(){super.connectedCallback(),window.addEventListener("translations-updated",this._translationsUpdated)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("translations-updated",this._translationsUpdated)}};ea.styles=[ta,h` - .mdc-select__anchor { - height: var(--select-height, 56px) !important; - } - `],n([_t({type:Boolean})],ea.prototype,"icon",void 0),ea=n([pt("mushroom-select")],ea);const ia=["default","start","center","end","justify"],oa={default:"mdi:format-align-left",start:"mdi:format-align-left",center:"mdi:format-align-center",end:"mdi:format-align-right",justify:"mdi:format-align-justify"};let na=class extends ht{constructor(){super(...arguments),this.label="",this.configValue=""}_selectChanged(t){const e=t.target.value;e&&this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:"default"!==e?e:""}}))}render(){const t=Oo(this.hass),e=this.value||"default";return Y` - t.stopPropagation()} - .value=${this.value||"default"} - fixedMenuPosition - naturalMenuWidth - > - - ${ia.map((e=>Y` - - ${t(`editor.form.alignment_picker.values.${e}`)} - - - `))} - - `}static get styles(){return h` - mushroom-select { - width: 100%; - } - `}};n([_t()],na.prototype,"label",void 0),n([_t()],na.prototype,"value",void 0),n([_t()],na.prototype,"configValue",void 0),n([_t()],na.prototype,"hass",void 0),na=n([pt("mushroom-alignment-picker")],na);let ra=class extends ht{render(){return Y` - - `}_valueChanged(t){Lt(this,"value-changed",{value:t.detail.value||void 0})}};n([_t()],ra.prototype,"hass",void 0),n([_t()],ra.prototype,"selector",void 0),n([_t()],ra.prototype,"value",void 0),n([_t()],ra.prototype,"label",void 0),ra=n([pt("ha-selector-mush_alignment")],ra); +const ta=h`.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform;transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);border-bottom-width:2px;opacity:0;z-index:2}.mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(100% / 0.75)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-select{display:inline-flex;position:relative}.mdc-select:not(.mdc-select--disabled) .mdc-select__selected-text{color:rgba(0, 0, 0, 0.87)}.mdc-select.mdc-select--disabled .mdc-select__selected-text{color:rgba(0, 0, 0, 0.38)}.mdc-select:not(.mdc-select--disabled) .mdc-floating-label{color:rgba(0, 0, 0, 0.6)}.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-floating-label{color:rgba(98, 0, 238, 0.87)}.mdc-select.mdc-select--disabled .mdc-floating-label{color:rgba(0, 0, 0, 0.38)}.mdc-select:not(.mdc-select--disabled) .mdc-select__dropdown-icon{fill:rgba(0, 0, 0, 0.54)}.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-select__dropdown-icon{fill:#6200ee;fill:var(--mdc-theme-primary, #6200ee)}.mdc-select.mdc-select--disabled .mdc-select__dropdown-icon{fill:rgba(0, 0, 0, 0.38)}.mdc-select:not(.mdc-select--disabled)+.mdc-select-helper-text{color:rgba(0, 0, 0, 0.6)}.mdc-select.mdc-select--disabled+.mdc-select-helper-text{color:rgba(0, 0, 0, 0.38)}.mdc-select:not(.mdc-select--disabled) .mdc-select__icon{color:rgba(0, 0, 0, 0.54)}.mdc-select.mdc-select--disabled .mdc-select__icon{color:rgba(0, 0, 0, 0.38)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-select.mdc-select--disabled .mdc-select__selected-text{color:GrayText}.mdc-select.mdc-select--disabled .mdc-select__dropdown-icon{fill:red}.mdc-select.mdc-select--disabled .mdc-floating-label{color:GrayText}.mdc-select.mdc-select--disabled .mdc-line-ripple::before{border-bottom-color:GrayText}.mdc-select.mdc-select--disabled .mdc-notched-outline__leading,.mdc-select.mdc-select--disabled .mdc-notched-outline__notch,.mdc-select.mdc-select--disabled .mdc-notched-outline__trailing{border-color:GrayText}.mdc-select.mdc-select--disabled .mdc-select__icon{color:GrayText}.mdc-select.mdc-select--disabled+.mdc-select-helper-text{color:GrayText}}.mdc-select .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-select .mdc-select__anchor{padding-left:16px;padding-right:0}[dir=rtl] .mdc-select .mdc-select__anchor,.mdc-select .mdc-select__anchor[dir=rtl]{padding-left:0;padding-right:16px}.mdc-select.mdc-select--with-leading-icon .mdc-select__anchor{padding-left:0;padding-right:0}[dir=rtl] .mdc-select.mdc-select--with-leading-icon .mdc-select__anchor,.mdc-select.mdc-select--with-leading-icon .mdc-select__anchor[dir=rtl]{padding-left:0;padding-right:0}.mdc-select .mdc-select__icon{width:24px;height:24px;font-size:24px}.mdc-select .mdc-select__dropdown-icon{width:24px;height:24px}.mdc-select .mdc-select__menu .mdc-deprecated-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-select .mdc-select__menu .mdc-deprecated-list-item,.mdc-select .mdc-select__menu .mdc-deprecated-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-select .mdc-select__menu .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:12px}[dir=rtl] .mdc-select .mdc-select__menu .mdc-deprecated-list-item__graphic,.mdc-select .mdc-select__menu .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:12px;margin-right:0}.mdc-select__dropdown-icon{margin-left:12px;margin-right:12px;display:inline-flex;position:relative;align-self:center;align-items:center;justify-content:center;flex-shrink:0;pointer-events:none}.mdc-select__dropdown-icon .mdc-select__dropdown-icon-active,.mdc-select__dropdown-icon .mdc-select__dropdown-icon-inactive{position:absolute;top:0;left:0}.mdc-select__dropdown-icon .mdc-select__dropdown-icon-graphic{width:41.6666666667%;height:20.8333333333%}.mdc-select__dropdown-icon .mdc-select__dropdown-icon-inactive{opacity:1;transition:opacity 75ms linear 75ms}.mdc-select__dropdown-icon .mdc-select__dropdown-icon-active{opacity:0;transition:opacity 75ms linear}[dir=rtl] .mdc-select__dropdown-icon,.mdc-select__dropdown-icon[dir=rtl]{margin-left:12px;margin-right:12px}.mdc-select--activated .mdc-select__dropdown-icon .mdc-select__dropdown-icon-inactive{opacity:0;transition:opacity 49.5ms linear}.mdc-select--activated .mdc-select__dropdown-icon .mdc-select__dropdown-icon-active{opacity:1;transition:opacity 100.5ms linear 49.5ms}.mdc-select__anchor{width:200px;min-width:0;flex:1 1 auto;position:relative;box-sizing:border-box;overflow:hidden;outline:none;cursor:pointer}.mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-select__selected-text-container{display:flex;appearance:none;pointer-events:none;box-sizing:border-box;width:auto;min-width:0;flex-grow:1;height:28px;border:none;outline:none;padding:0;background-color:transparent;color:inherit}.mdc-select__selected-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;width:100%;text-align:left}[dir=rtl] .mdc-select__selected-text,.mdc-select__selected-text[dir=rtl]{text-align:right}.mdc-select--invalid:not(.mdc-select--disabled) .mdc-floating-label{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-floating-label{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--invalid+.mdc-select-helper-text--validation-msg{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled) .mdc-select__dropdown-icon{fill:#b00020;fill:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-select__dropdown-icon{fill:#b00020;fill:var(--mdc-theme-error, #b00020)}.mdc-select--disabled{cursor:default;pointer-events:none}.mdc-select--with-leading-icon .mdc-select__menu .mdc-deprecated-list-item{padding-left:12px;padding-right:12px}[dir=rtl] .mdc-select--with-leading-icon .mdc-select__menu .mdc-deprecated-list-item,.mdc-select--with-leading-icon .mdc-select__menu .mdc-deprecated-list-item[dir=rtl]{padding-left:12px;padding-right:12px}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-select__menu::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}}@media screen and (forced-colors: active)and (forced-colors: active),screen and (-ms-high-contrast: active)and (forced-colors: active){.mdc-select__menu::before{border-color:CanvasText}}.mdc-select__menu .mdc-deprecated-list .mdc-select__icon,.mdc-select__menu .mdc-list .mdc-select__icon{margin-left:0;margin-right:0}[dir=rtl] .mdc-select__menu .mdc-deprecated-list .mdc-select__icon,[dir=rtl] .mdc-select__menu .mdc-list .mdc-select__icon,.mdc-select__menu .mdc-deprecated-list .mdc-select__icon[dir=rtl],.mdc-select__menu .mdc-list .mdc-select__icon[dir=rtl]{margin-left:0;margin-right:0}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--activated,.mdc-select__menu .mdc-list .mdc-deprecated-list-item--selected,.mdc-select__menu .mdc-list .mdc-deprecated-list-item--activated{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-deprecated-list-item__graphic,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--activated .mdc-deprecated-list-item__graphic,.mdc-select__menu .mdc-list .mdc-deprecated-list-item--selected .mdc-deprecated-list-item__graphic,.mdc-select__menu .mdc-list .mdc-deprecated-list-item--activated .mdc-deprecated-list-item__graphic{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-select__menu .mdc-list-item__start{display:inline-flex;align-items:center}.mdc-select__option{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-select__option,.mdc-select__option[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-select__one-line-option.mdc-list-item--with-one-line{height:48px}.mdc-select__two-line-option.mdc-list-item--with-two-lines{height:64px}.mdc-select__two-line-option.mdc-list-item--with-two-lines .mdc-list-item__start{margin-top:20px}.mdc-select__two-line-option.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-select__two-line-option.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-select__two-line-option.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-select__two-line-option.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-select__two-line-option.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:36px;content:"";vertical-align:0}.mdc-select__option-with-leading-content{padding-left:0;padding-right:12px}.mdc-select__option-with-leading-content.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-select__option-with-leading-content.mdc-list-item,.mdc-select__option-with-leading-content.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-select__option-with-leading-content .mdc-list-item__start{margin-left:12px;margin-right:0}[dir=rtl] .mdc-select__option-with-leading-content .mdc-list-item__start,.mdc-select__option-with-leading-content .mdc-list-item__start[dir=rtl]{margin-left:0;margin-right:12px}.mdc-select__option-with-leading-content .mdc-list-item__start{width:36px;height:24px}[dir=rtl] .mdc-select__option-with-leading-content,.mdc-select__option-with-leading-content[dir=rtl]{padding-left:12px;padding-right:0}.mdc-select__option-with-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-select__option-with-meta.mdc-list-item,.mdc-select__option-with-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-select__option-with-meta .mdc-list-item__end{margin-left:12px;margin-right:12px}[dir=rtl] .mdc-select__option-with-meta .mdc-list-item__end,.mdc-select__option-with-meta .mdc-list-item__end[dir=rtl]{margin-left:12px;margin-right:12px}.mdc-select--filled .mdc-select__anchor{height:56px;display:flex;align-items:baseline}.mdc-select--filled .mdc-select__anchor::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-select--filled.mdc-select--no-label .mdc-select__anchor .mdc-select__selected-text::before{content:"​"}.mdc-select--filled.mdc-select--no-label .mdc-select__anchor .mdc-select__selected-text-container{height:100%;display:inline-flex;align-items:center}.mdc-select--filled.mdc-select--no-label .mdc-select__anchor::before{display:none}.mdc-select--filled .mdc-select__anchor{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-select--filled:not(.mdc-select--disabled) .mdc-select__anchor{background-color:whitesmoke}.mdc-select--filled.mdc-select--disabled .mdc-select__anchor{background-color:#fafafa}.mdc-select--filled:not(.mdc-select--disabled) .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.42)}.mdc-select--filled:not(.mdc-select--disabled):hover .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.87)}.mdc-select--filled:not(.mdc-select--disabled) .mdc-line-ripple::after{border-bottom-color:#6200ee;border-bottom-color:var(--mdc-theme-primary, #6200ee)}.mdc-select--filled.mdc-select--disabled .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.06)}.mdc-select--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-select--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-select--filled .mdc-menu-surface--is-open-below{border-top-left-radius:0px;border-top-right-radius:0px}.mdc-select--filled.mdc-select--focused.mdc-line-ripple::after{transform:scale(1, 2);opacity:1}.mdc-select--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-select--filled .mdc-floating-label,.mdc-select--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label{left:48px;right:initial}[dir=rtl] .mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label,.mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-select--invalid:not(.mdc-select--disabled) .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled):hover .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-select--invalid:not(.mdc-select--disabled) .mdc-line-ripple::after{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-select--outlined{border:none}.mdc-select--outlined .mdc-select__anchor{height:56px}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-select-outlined-56px 250ms 1}@keyframes mdc-floating-label-shake-float-above-select-outlined-56px{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px)) * 2)}}.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-select--outlined .mdc-select__anchor{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-select--outlined .mdc-select__anchor,.mdc-select--outlined .mdc-select__anchor[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-select--outlined .mdc-select__anchor,.mdc-select--outlined .mdc-select__anchor[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-select--outlined+.mdc-select-helper-text{margin-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-select--outlined+.mdc-select-helper-text,.mdc-select--outlined+.mdc-select-helper-text[dir=rtl]{margin-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-select--outlined+.mdc-select-helper-text,.mdc-select--outlined+.mdc-select-helper-text[dir=rtl]{margin-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-select--outlined:not(.mdc-select--disabled) .mdc-select__anchor{background-color:transparent}.mdc-select--outlined.mdc-select--disabled .mdc-select__anchor{background-color:transparent}.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.38)}.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.87)}.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:2px}.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-select--outlined.mdc-select--disabled .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--disabled .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--disabled .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.06)}.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-select--outlined .mdc-select__anchor{display:flex;align-items:baseline;overflow:visible}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-select-outlined 250ms 1}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-select--outlined .mdc-select__anchor .mdc-select__selected-text::before{content:"​"}.mdc-select--outlined .mdc-select__anchor .mdc-select__selected-text-container{height:100%;display:inline-flex;align-items:center}.mdc-select--outlined .mdc-select__anchor::before{display:none}.mdc-select--outlined .mdc-select__selected-text-container{display:flex;border:none;z-index:1;background-color:transparent}.mdc-select--outlined .mdc-select__icon{z-index:2}.mdc-select--outlined .mdc-floating-label{line-height:1.15rem;left:4px;right:initial}[dir=rtl] .mdc-select--outlined .mdc-floating-label,.mdc-select--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-select--outlined.mdc-select--focused .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled) .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled) .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled) .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:2px}.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label,.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above,.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above{font-size:.75rem}.mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px 250ms 1}@keyframes mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--shake,.mdc-select--outlined.mdc-select--with-leading-icon[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px 250ms 1}@keyframes mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mdc-select--outlined.mdc-select--with-leading-icon .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 96px)}.mdc-select--outlined .mdc-menu-surface{margin-bottom:8px}.mdc-select--outlined.mdc-select--no-label .mdc-menu-surface,.mdc-select--outlined .mdc-menu-surface--is-open-below{margin-bottom:0}.mdc-select__anchor{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-select__anchor .mdc-select__ripple::before,.mdc-select__anchor .mdc-select__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-select__anchor .mdc-select__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-select__anchor .mdc-select__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-select__anchor.mdc-ripple-upgraded .mdc-select__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-select__anchor.mdc-ripple-upgraded .mdc-select__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-select__anchor.mdc-ripple-upgraded--unbounded .mdc-select__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-select__anchor.mdc-ripple-upgraded--foreground-activation .mdc-select__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-select__anchor.mdc-ripple-upgraded--foreground-deactivation .mdc-select__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-select__anchor .mdc-select__ripple::before,.mdc-select__anchor .mdc-select__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-select__anchor.mdc-ripple-upgraded .mdc-select__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-select__anchor .mdc-select__ripple::before,.mdc-select__anchor .mdc-select__ripple::after{background-color:rgba(0, 0, 0, 0.87);background-color:var(--mdc-ripple-color, rgba(0, 0, 0, 0.87))}.mdc-select__anchor:hover .mdc-select__ripple::before,.mdc-select__anchor.mdc-ripple-surface--hover .mdc-select__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-select__anchor.mdc-ripple-upgraded--background-focused .mdc-select__ripple::before,.mdc-select__anchor:not(.mdc-ripple-upgraded):focus .mdc-select__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-select__anchor .mdc-select__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-deprecated-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-deprecated-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:hover .mdc-deprecated-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-surface--hover .mdc-deprecated-list-item__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-upgraded--background-focused .mdc-deprecated-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):focus .mdc-deprecated-list-item__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded) .mdc-deprecated-list-item__ripple::after{transition:opacity 150ms linear}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):active .mdc-deprecated-list-item__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected .mdc-list-item__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:hover .mdc-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-surface--hover .mdc-list-item__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before,.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after{transition:opacity 150ms linear}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-select__menu .mdc-deprecated-list .mdc-deprecated-list-item--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-select-helper-text{margin:0;margin-left:16px;margin-right:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal}[dir=rtl] .mdc-select-helper-text,.mdc-select-helper-text[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-select-helper-text::before{display:inline-block;width:0;height:16px;content:"";vertical-align:0}.mdc-select-helper-text--validation-msg{opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-select--invalid+.mdc-select-helper-text--validation-msg,.mdc-select-helper-text--validation-msg-persistent{opacity:1}.mdc-select--with-leading-icon .mdc-select__icon{display:inline-block;box-sizing:border-box;border:none;text-decoration:none;cursor:pointer;user-select:none;flex-shrink:0;align-self:center;background-color:transparent;fill:currentColor}.mdc-select--with-leading-icon .mdc-select__icon{margin-left:12px;margin-right:12px}[dir=rtl] .mdc-select--with-leading-icon .mdc-select__icon,.mdc-select--with-leading-icon .mdc-select__icon[dir=rtl]{margin-left:12px;margin-right:12px}.mdc-select__icon:not([tabindex]),.mdc-select__icon[tabindex="-1"]{cursor:default;pointer-events:none}.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}:host{display:inline-block;vertical-align:top;outline:none}.mdc-select{width:100%}[hidden]{display:none}.mdc-select__icon{z-index:2}.mdc-select--with-leading-icon{--mdc-list-item-graphic-margin: calc( 48px - var(--mdc-list-item-graphic-size, 24px) - var(--mdc-list-side-padding, 16px) )}.mdc-select .mdc-select__anchor .mdc-select__selected-text{overflow:hidden}.mdc-select .mdc-select__anchor *{display:inline-flex}.mdc-select .mdc-select__anchor .mdc-floating-label{display:inline-block}mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-select-outlined-idle-border-color, rgba(0, 0, 0, 0.38) );--mdc-notched-outline-notch-offset: 1px}:host(:not([disabled]):hover) .mdc-select:not(.mdc-select--invalid):not(.mdc-select--focused) mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-select-outlined-hover-border-color, rgba(0, 0, 0, 0.87) )}:host(:not([disabled])) .mdc-select:not(.mdc-select--disabled) .mdc-select__selected-text{color:rgba(0, 0, 0, 0.87);color:var(--mdc-select-ink-color, rgba(0, 0, 0, 0.87))}:host(:not([disabled])) .mdc-select:not(.mdc-select--disabled) .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.42);border-bottom-color:var(--mdc-select-idle-line-color, rgba(0, 0, 0, 0.42))}:host(:not([disabled])) .mdc-select:not(.mdc-select--disabled):hover .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.87);border-bottom-color:var(--mdc-select-hover-line-color, rgba(0, 0, 0, 0.87))}:host(:not([disabled])) .mdc-select:not(.mdc-select--outlined):not(.mdc-select--disabled) .mdc-select__anchor{background-color:whitesmoke;background-color:var(--mdc-select-fill-color, whitesmoke)}:host(:not([disabled])) .mdc-select.mdc-select--invalid .mdc-select__dropdown-icon{fill:var(--mdc-select-error-dropdown-icon-color, var(--mdc-select-error-color, var(--mdc-theme-error, #b00020)))}:host(:not([disabled])) .mdc-select.mdc-select--invalid .mdc-floating-label,:host(:not([disabled])) .mdc-select.mdc-select--invalid .mdc-floating-label::after{color:var(--mdc-select-error-color, var(--mdc-theme-error, #b00020))}:host(:not([disabled])) .mdc-select.mdc-select--invalid mwc-notched-outline{--mdc-notched-outline-border-color: var(--mdc-select-error-color, var(--mdc-theme-error, #b00020))}.mdc-select__menu--invalid{--mdc-theme-primary: var(--mdc-select-error-color, var(--mdc-theme-error, #b00020))}:host(:not([disabled])) .mdc-select:not(.mdc-select--invalid):not(.mdc-select--focused) .mdc-floating-label,:host(:not([disabled])) .mdc-select:not(.mdc-select--invalid):not(.mdc-select--focused) .mdc-floating-label::after{color:rgba(0, 0, 0, 0.6);color:var(--mdc-select-label-ink-color, rgba(0, 0, 0, 0.6))}:host(:not([disabled])) .mdc-select:not(.mdc-select--invalid):not(.mdc-select--focused) .mdc-select__dropdown-icon{fill:rgba(0, 0, 0, 0.54);fill:var(--mdc-select-dropdown-icon-color, rgba(0, 0, 0, 0.54))}:host(:not([disabled])) .mdc-select.mdc-select--focused mwc-notched-outline{--mdc-notched-outline-stroke-width: 2px;--mdc-notched-outline-notch-offset: 2px}:host(:not([disabled])) .mdc-select.mdc-select--focused:not(.mdc-select--invalid) mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-select-focused-label-color, var(--mdc-theme-primary, rgba(98, 0, 238, 0.87)) )}:host(:not([disabled])) .mdc-select.mdc-select--focused:not(.mdc-select--invalid) .mdc-select__dropdown-icon{fill:rgba(98,0,238,.87);fill:var(--mdc-select-focused-dropdown-icon-color, var(--mdc-theme-primary, rgba(98, 0, 238, 0.87)))}:host(:not([disabled])) .mdc-select.mdc-select--focused:not(.mdc-select--invalid) .mdc-floating-label{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}:host(:not([disabled])) .mdc-select.mdc-select--focused:not(.mdc-select--invalid) .mdc-floating-label::after{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}:host(:not([disabled])) .mdc-select-helper-text:not(.mdc-select-helper-text--validation-msg){color:var(--mdc-select-label-ink-color, rgba(0, 0, 0, 0.6))}:host([disabled]){pointer-events:none}:host([disabled]) .mdc-select:not(.mdc-select--outlined).mdc-select--disabled .mdc-select__anchor{background-color:#fafafa;background-color:var(--mdc-select-disabled-fill-color, #fafafa)}:host([disabled]) .mdc-select.mdc-select--outlined mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-select-outlined-disabled-border-color, rgba(0, 0, 0, 0.06) )}:host([disabled]) .mdc-select .mdc-select__dropdown-icon{fill:rgba(0, 0, 0, 0.38);fill:var(--mdc-select-disabled-dropdown-icon-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-select:not(.mdc-select--invalid):not(.mdc-select--focused) .mdc-floating-label,:host([disabled]) .mdc-select:not(.mdc-select--invalid):not(.mdc-select--focused) .mdc-floating-label::after{color:rgba(0, 0, 0, 0.38);color:var(--mdc-select-disabled-ink-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-select-helper-text{color:rgba(0, 0, 0, 0.38);color:var(--mdc-select-disabled-ink-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-select__selected-text{color:rgba(0, 0, 0, 0.38);color:var(--mdc-select-disabled-ink-color, rgba(0, 0, 0, 0.38))}`;let ea=class extends Qr{constructor(){super(...arguments),this._translationsUpdated=Te((async()=>{await Oe(),this.layoutOptions()}),500)}renderLeadingIcon(){return this.icon?Y``:K}connectedCallback(){super.connectedCallback(),window.addEventListener("translations-updated",this._translationsUpdated)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("translations-updated",this._translationsUpdated)}};ea.styles=[ta,h` + .mdc-select__anchor { + height: var(--select-height, 56px) !important; + } + `],n([_t({type:Boolean})],ea.prototype,"icon",void 0),ea=n([pt("mushroom-select")],ea);const ia=["default","start","center","end","justify"],oa={default:"mdi:format-align-left",start:"mdi:format-align-left",center:"mdi:format-align-center",end:"mdi:format-align-right",justify:"mdi:format-align-justify"};let na=class extends ht{constructor(){super(...arguments),this.label="",this.configValue=""}_selectChanged(t){const e=t.target.value;e&&this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:"default"!==e?e:""}}))}render(){const t=zo(this.hass),e=this.value||"default";return Y` + t.stopPropagation()} + .value=${this.value||"default"} + fixedMenuPosition + naturalMenuWidth + > + + ${ia.map((e=>Y` + + ${t(`editor.form.alignment_picker.values.${e}`)} + + + `))} + + `}static get styles(){return h` + mushroom-select { + width: 100%; + } + `}};n([_t()],na.prototype,"label",void 0),n([_t()],na.prototype,"value",void 0),n([_t()],na.prototype,"configValue",void 0),n([_t()],na.prototype,"hass",void 0),na=n([pt("mushroom-alignment-picker")],na);let ra=class extends ht{render(){return Y` + + `}_valueChanged(t){Lt(this,"value-changed",{value:t.detail.value||void 0})}};n([_t()],ra.prototype,"hass",void 0),n([_t()],ra.prototype,"selector",void 0),n([_t()],ra.prototype,"value",void 0),n([_t()],ra.prototype,"label",void 0),ra=n([pt("ha-selector-mush_alignment")],ra); /** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -const aa="important",la=" !"+aa,sa=He(class extends Ye{constructor(t){var e;if(super(t),t.type!==Ve||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,i)=>{const o=t[i];return null==o?e:e+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){const{style:i}=t.element;if(void 0===this.ht){this.ht=new Set;for(const t in e)this.ht.add(t);return this.render(e)}this.ht.forEach((t=>{null==e[t]&&(this.ht.delete(t),t.includes("-")?i.removeProperty(t):i[t]="")}));for(const t in e){const o=e[t];if(null!=o){this.ht.add(t);const e="string"==typeof o&&o.endsWith(la);t.includes("-")||e?i.setProperty(t,e?o.slice(0,-11):o,e?aa:""):i[t]=o}}return X}});var ca={exports:{}},da={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},ua={exports:{}},ha=function(t){return!(!t||"string"==typeof t)&&(t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))},ma=Array.prototype.concat,pa=Array.prototype.slice,fa=ua.exports=function(t){for(var e=[],i=0,o=t.length;i=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},wa.to.keyword=function(t){return ya[t.slice(0,3)]};var $a=ca.exports;const Ea=da,Aa={};for(const t of Object.keys(Ea))Aa[Ea[t]]=t;const Sa={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var Ia=Sa;for(const t of Object.keys(Sa)){if(!("channels"in Sa[t]))throw new Error("missing channels property: "+t);if(!("labels"in Sa[t]))throw new Error("missing channel labels property: "+t);if(Sa[t].labels.length!==Sa[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:i}=Sa[t];delete Sa[t].channels,delete Sa[t].labels,Object.defineProperty(Sa[t],"channels",{value:e}),Object.defineProperty(Sa[t],"labels",{value:i})}function Ta(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}Sa.rgb.hsl=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,n=Math.min(e,i,o),r=Math.max(e,i,o),a=r-n;let l,s;r===n?l=0:e===r?l=(i-o)/a:i===r?l=2+(o-e)/a:o===r&&(l=4+(e-i)/a),l=Math.min(60*l,360),l<0&&(l+=360);const c=(n+r)/2;return s=r===n?0:c<=.5?a/(r+n):a/(2-r-n),[l,100*s,100*c]},Sa.rgb.hsv=function(t){let e,i,o,n,r;const a=t[0]/255,l=t[1]/255,s=t[2]/255,c=Math.max(a,l,s),d=c-Math.min(a,l,s),u=function(t){return(c-t)/6/d+.5};return 0===d?(n=0,r=0):(r=d/c,e=u(a),i=u(l),o=u(s),a===c?n=o-i:l===c?n=1/3+e-o:s===c&&(n=2/3+i-e),n<0?n+=1:n>1&&(n-=1)),[360*n,100*r,100*c]},Sa.rgb.hwb=function(t){const e=t[0],i=t[1];let o=t[2];const n=Sa.rgb.hsl(t)[0],r=1/255*Math.min(e,Math.min(i,o));return o=1-1/255*Math.max(e,Math.max(i,o)),[n,100*r,100*o]},Sa.rgb.cmyk=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,n=Math.min(1-e,1-i,1-o);return[100*((1-e-n)/(1-n)||0),100*((1-i-n)/(1-n)||0),100*((1-o-n)/(1-n)||0),100*n]},Sa.rgb.keyword=function(t){const e=Aa[t];if(e)return e;let i,o=1/0;for(const e of Object.keys(Ea)){const n=Ta(t,Ea[e]);n.04045?((e+.055)/1.055)**2.4:e/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92;return[100*(.4124*e+.3576*i+.1805*o),100*(.2126*e+.7152*i+.0722*o),100*(.0193*e+.1192*i+.9505*o)]},Sa.rgb.lab=function(t){const e=Sa.rgb.xyz(t);let i=e[0],o=e[1],n=e[2];i/=95.047,o/=100,n/=108.883,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;return[116*o-16,500*(i-o),200*(o-n)]},Sa.hsl.rgb=function(t){const e=t[0]/360,i=t[1]/100,o=t[2]/100;let n,r,a;if(0===i)return a=255*o,[a,a,a];n=o<.5?o*(1+i):o+i-o*i;const l=2*o-n,s=[0,0,0];for(let t=0;t<3;t++)r=e+1/3*-(t-1),r<0&&r++,r>1&&r--,a=6*r<1?l+6*(n-l)*r:2*r<1?n:3*r<2?l+(n-l)*(2/3-r)*6:l,s[t]=255*a;return s},Sa.hsl.hsv=function(t){const e=t[0];let i=t[1]/100,o=t[2]/100,n=i;const r=Math.max(o,.01);o*=2,i*=o<=1?o:2-o,n*=r<=1?r:2-r;return[e,100*(0===o?2*n/(r+n):2*i/(o+i)),100*((o+i)/2)]},Sa.hsv.rgb=function(t){const e=t[0]/60,i=t[1]/100;let o=t[2]/100;const n=Math.floor(e)%6,r=e-Math.floor(e),a=255*o*(1-i),l=255*o*(1-i*r),s=255*o*(1-i*(1-r));switch(o*=255,n){case 0:return[o,s,a];case 1:return[l,o,a];case 2:return[a,o,s];case 3:return[a,l,o];case 4:return[s,a,o];case 5:return[o,a,l]}},Sa.hsv.hsl=function(t){const e=t[0],i=t[1]/100,o=t[2]/100,n=Math.max(o,.01);let r,a;a=(2-i)*o;const l=(2-i)*n;return r=i*n,r/=l<=1?l:2-l,r=r||0,a/=2,[e,100*r,100*a]},Sa.hwb.rgb=function(t){const e=t[0]/360;let i=t[1]/100,o=t[2]/100;const n=i+o;let r;n>1&&(i/=n,o/=n);const a=Math.floor(6*e),l=1-o;r=6*e-a,0!=(1&a)&&(r=1-r);const s=i+r*(l-i);let c,d,u;switch(a){default:case 6:case 0:c=l,d=s,u=i;break;case 1:c=s,d=l,u=i;break;case 2:c=i,d=l,u=s;break;case 3:c=i,d=s,u=l;break;case 4:c=s,d=i,u=l;break;case 5:c=l,d=i,u=s}return[255*c,255*d,255*u]},Sa.cmyk.rgb=function(t){const e=t[0]/100,i=t[1]/100,o=t[2]/100,n=t[3]/100;return[255*(1-Math.min(1,e*(1-n)+n)),255*(1-Math.min(1,i*(1-n)+n)),255*(1-Math.min(1,o*(1-n)+n))]},Sa.xyz.rgb=function(t){const e=t[0]/100,i=t[1]/100,o=t[2]/100;let n,r,a;return n=3.2406*e+-1.5372*i+-.4986*o,r=-.9689*e+1.8758*i+.0415*o,a=.0557*e+-.204*i+1.057*o,n=n>.0031308?1.055*n**(1/2.4)-.055:12.92*n,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),a=Math.min(Math.max(0,a),1),[255*n,255*r,255*a]},Sa.xyz.lab=function(t){let e=t[0],i=t[1],o=t[2];e/=95.047,i/=100,o/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;return[116*i-16,500*(e-i),200*(i-o)]},Sa.lab.xyz=function(t){let e,i,o;i=(t[0]+16)/116,e=t[1]/500+i,o=i-t[2]/200;const n=i**3,r=e**3,a=o**3;return i=n>.008856?n:(i-16/116)/7.787,e=r>.008856?r:(e-16/116)/7.787,o=a>.008856?a:(o-16/116)/7.787,e*=95.047,i*=100,o*=108.883,[e,i,o]},Sa.lab.lch=function(t){const e=t[0],i=t[1],o=t[2];let n;n=360*Math.atan2(o,i)/2/Math.PI,n<0&&(n+=360);return[e,Math.sqrt(i*i+o*o),n]},Sa.lch.lab=function(t){const e=t[0],i=t[1],o=t[2]/360*2*Math.PI;return[e,i*Math.cos(o),i*Math.sin(o)]},Sa.rgb.ansi16=function(t,e=null){const[i,o,n]=t;let r=null===e?Sa.rgb.hsv(t)[2]:e;if(r=Math.round(r/50),0===r)return 30;let a=30+(Math.round(n/255)<<2|Math.round(o/255)<<1|Math.round(i/255));return 2===r&&(a+=60),a},Sa.hsv.ansi16=function(t){return Sa.rgb.ansi16(Sa.hsv.rgb(t),t[2])},Sa.rgb.ansi256=function(t){const e=t[0],i=t[1],o=t[2];if(e===i&&i===o)return e<8?16:e>248?231:Math.round((e-8)/247*24)+232;return 16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(o/255*5)},Sa.ansi16.rgb=function(t){let e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const i=.5*(1+~~(t>50));return[(1&e)*i*255,(e>>1&1)*i*255,(e>>2&1)*i*255]},Sa.ansi256.rgb=function(t){if(t>=232){const e=10*(t-232)+8;return[e,e,e]}let e;t-=16;return[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255]},Sa.rgb.hex=function(t){const e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},Sa.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let i=e[0];3===e[0].length&&(i=i.split("").map((t=>t+t)).join(""));const o=parseInt(i,16);return[o>>16&255,o>>8&255,255&o]},Sa.rgb.hcg=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,n=Math.max(Math.max(e,i),o),r=Math.min(Math.min(e,i),o),a=n-r;let l,s;return l=a<1?r/(1-a):0,s=a<=0?0:n===e?(i-o)/a%6:n===i?2+(o-e)/a:4+(e-i)/a,s/=6,s%=1,[360*s,100*a,100*l]},Sa.hsl.hcg=function(t){const e=t[1]/100,i=t[2]/100,o=i<.5?2*e*i:2*e*(1-i);let n=0;return o<1&&(n=(i-.5*o)/(1-o)),[t[0],100*o,100*n]},Sa.hsv.hcg=function(t){const e=t[1]/100,i=t[2]/100,o=e*i;let n=0;return o<1&&(n=(i-o)/(1-o)),[t[0],100*o,100*n]},Sa.hcg.rgb=function(t){const e=t[0]/360,i=t[1]/100,o=t[2]/100;if(0===i)return[255*o,255*o,255*o];const n=[0,0,0],r=e%1*6,a=r%1,l=1-a;let s=0;switch(Math.floor(r)){case 0:n[0]=1,n[1]=a,n[2]=0;break;case 1:n[0]=l,n[1]=1,n[2]=0;break;case 2:n[0]=0,n[1]=1,n[2]=a;break;case 3:n[0]=0,n[1]=l,n[2]=1;break;case 4:n[0]=a,n[1]=0,n[2]=1;break;default:n[0]=1,n[1]=0,n[2]=l}return s=(1-i)*o,[255*(i*n[0]+s),255*(i*n[1]+s),255*(i*n[2]+s)]},Sa.hcg.hsv=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);let o=0;return i>0&&(o=e/i),[t[0],100*o,100*i]},Sa.hcg.hsl=function(t){const e=t[1]/100,i=t[2]/100*(1-e)+.5*e;let o=0;return i>0&&i<.5?o=e/(2*i):i>=.5&&i<1&&(o=e/(2*(1-i))),[t[0],100*o,100*i]},Sa.hcg.hwb=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);return[t[0],100*(i-e),100*(1-i)]},Sa.hwb.hcg=function(t){const e=t[1]/100,i=1-t[2]/100,o=i-e;let n=0;return o<1&&(n=(i-o)/(1-o)),[t[0],100*o,100*n]},Sa.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},Sa.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},Sa.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},Sa.gray.hsl=function(t){return[0,0,t[0]]},Sa.gray.hsv=Sa.gray.hsl,Sa.gray.hwb=function(t){return[0,100,t[0]]},Sa.gray.cmyk=function(t){return[0,0,0,t[0]]},Sa.gray.lab=function(t){return[t[0],0,0]},Sa.gray.hex=function(t){const e=255&Math.round(t[0]/100*255),i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(i.length)+i},Sa.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};const Oa=Ia;function za(t){const e=function(){const t={},e=Object.keys(Oa);for(let i=e.length,o=0;o{Pa[t]={},Object.defineProperty(Pa[t],"channels",{value:Da[t].channels}),Object.defineProperty(Pa[t],"labels",{value:Da[t].labels});const e=La(t);Object.keys(e).forEach((i=>{const o=e[i];Pa[t][i]=function(t){const e=function(...e){const i=e[0];if(null==i)return i;i.length>1&&(e=i);const o=t(e);if("object"==typeof o)for(let t=o.length,e=0;e1&&(e=i),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(o)}))}));const Na=$a,Ra=Pa,Fa=["keyword","gray","hex"],Va={};for(const t of Object.keys(Ra))Va[[...Ra[t].labels].sort().join("")]=t;const Ba={};function Ua(t,e){if(!(this instanceof Ua))return new Ua(t,e);if(e&&e in Fa&&(e=null),e&&!(e in Ra))throw new Error("Unknown model: "+e);let i,o;if(null==t)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof Ua)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if("string"==typeof t){const e=Na.get(t);if(null===e)throw new Error("Unable to parse color from string: "+t);this.model=e.model,o=Ra[this.model].channels,this.color=e.value.slice(0,o),this.valpha="number"==typeof e.value[o]?e.value[o]:1}else if(t.length>0){this.model=e||"rgb",o=Ra[this.model].channels;const i=Array.prototype.slice.call(t,0,o);this.color=Xa(i,o),this.valpha="number"==typeof t[o]?t[o]:1}else if("number"==typeof t)this.model="rgb",this.color=[t>>16&255,t>>8&255,255&t],this.valpha=1;else{this.valpha=1;const e=Object.keys(t);"alpha"in t&&(e.splice(e.indexOf("alpha"),1),this.valpha="number"==typeof t.alpha?t.alpha:0);const o=e.sort().join("");if(!(o in Va))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=Va[o];const{labels:n}=Ra[this.model],r=[];for(i=0;i(t%360+360)%360)),saturationl:Ya("hsl",1,Wa(100)),lightness:Ya("hsl",2,Wa(100)),saturationv:Ya("hsv",1,Wa(100)),value:Ya("hsv",2,Wa(100)),chroma:Ya("hcg",1,Wa(100)),gray:Ya("hcg",2,Wa(100)),white:Ya("hwb",1,Wa(100)),wblack:Ya("hwb",2,Wa(100)),cyan:Ya("cmyk",0,Wa(100)),magenta:Ya("cmyk",1,Wa(100)),yellow:Ya("cmyk",2,Wa(100)),black:Ya("cmyk",3,Wa(100)),x:Ya("xyz",0,Wa(95.047)),y:Ya("xyz",1,Wa(100)),z:Ya("xyz",2,Wa(108.833)),l:Ya("lab",0,Wa(100)),a:Ya("lab",1),b:Ya("lab",2),keyword(t){return void 0!==t?new Ua(t):Ra[this.model].keyword(this.color)},hex(t){return void 0!==t?new Ua(t):Na.to.hex(this.rgb().round().color)},hexa(t){if(void 0!==t)return new Ua(t);const e=this.rgb().round().color;let i=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===i.length&&(i="0"+i),Na.to.hex(e)+i},rgbNumber(){const t=this.rgb().color;return(255&t[0])<<16|(255&t[1])<<8|255&t[2]},luminosity(){const t=this.rgb().color,e=[];for(const[i,o]of t.entries()){const t=o/255;e[i]=t<=.04045?t/12.92:((t+.055)/1.055)**2.4}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(t){const e=this.luminosity(),i=t.luminosity();return e>i?(e+.05)/(i+.05):(i+.05)/(e+.05)},level(t){const e=this.contrast(t);return e>=7?"AAA":e>=4.5?"AA":""},isDark(){const t=this.rgb().color;return(2126*t[0]+7152*t[1]+722*t[2])/1e4<128},isLight(){return!this.isDark()},negate(){const t=this.rgb();for(let e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten(t){const e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken(t){const e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate(t){const e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate(t){const e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten(t){const e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken(t){const e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale(){const t=this.rgb().color,e=.3*t[0]+.59*t[1]+.11*t[2];return Ua.rgb(e,e,e)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){const e=this.hsl();let i=e.color[0];return i=(i+t)%360,i=i<0?360+i:i,e.color[0]=i,e},mix(t,e){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);const i=t.rgb(),o=this.rgb(),n=void 0===e?.5:e,r=2*n-1,a=i.alpha()-o.alpha(),l=((r*a==-1?r:(r+a)/(1+r*a))+1)/2,s=1-l;return Ua.rgb(l*i.red()+s*o.red(),l*i.green()+s*o.green(),l*i.blue()+s*o.blue(),i.alpha()*n+o.alpha()*(1-n))}};for(const t of Object.keys(Ra)){if(Fa.includes(t))continue;const{channels:e}=Ra[t];Ua.prototype[t]=function(...e){return this.model===t?new Ua(this):e.length>0?new Ua(e,t):new Ua([...(i=Ra[this.model][t].raw(this.color),Array.isArray(i)?i:[i]),this.valpha],t);var i},Ua[t]=function(...i){let o=i[0];return"number"==typeof o&&(o=Xa(i,e)),new Ua(o,t)}}function Ha(t){return function(e){return function(t,e){return Number(t.toFixed(e))}(e,t)}}function Ya(t,e,i){t=Array.isArray(t)?t:[t];for(const o of t)(Ba[o]||(Ba[o]=[]))[e]=i;return t=t[0],function(o){let n;return void 0!==o?(i&&(o=i(o)),n=this[t](),n.color[e]=o,n):(n=this[t]().color[e],i&&(n=i(n)),n)}}function Wa(t){return function(e){return Math.max(0,Math.min(t,e))}}function Xa(t,e){for(let i=0;i2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,i)=>{const o=t[i];return null==o?e:e+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){const{style:i}=t.element;if(void 0===this.ht){this.ht=new Set;for(const t in e)this.ht.add(t);return this.render(e)}this.ht.forEach((t=>{null==e[t]&&(this.ht.delete(t),t.includes("-")?i.removeProperty(t):i[t]="")}));for(const t in e){const o=e[t];if(null!=o){this.ht.add(t);const e="string"==typeof o&&o.endsWith(sa);t.includes("-")||e?i.setProperty(t,e?o.slice(0,-11):o,e?aa:""):i[t]=o}}return X}});var ca={exports:{}},da={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},ua={exports:{}},ha=function(t){return!(!t||"string"==typeof t)&&(t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))},ma=Array.prototype.concat,pa=Array.prototype.slice,fa=ua.exports=function(t){for(var e=[],i=0,o=t.length;i=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},wa.to.keyword=function(t){return ya[t.slice(0,3)]};var $a=ca.exports;const Ea=da,Aa={};for(const t of Object.keys(Ea))Aa[Ea[t]]=t;const Sa={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var Ia=Sa;for(const t of Object.keys(Sa)){if(!("channels"in Sa[t]))throw new Error("missing channels property: "+t);if(!("labels"in Sa[t]))throw new Error("missing channel labels property: "+t);if(Sa[t].labels.length!==Sa[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:i}=Sa[t];delete Sa[t].channels,delete Sa[t].labels,Object.defineProperty(Sa[t],"channels",{value:e}),Object.defineProperty(Sa[t],"labels",{value:i})}function Ta(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}Sa.rgb.hsl=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,n=Math.min(e,i,o),r=Math.max(e,i,o),a=r-n;let s,l;r===n?s=0:e===r?s=(i-o)/a:i===r?s=2+(o-e)/a:o===r&&(s=4+(e-i)/a),s=Math.min(60*s,360),s<0&&(s+=360);const c=(n+r)/2;return l=r===n?0:c<=.5?a/(r+n):a/(2-r-n),[s,100*l,100*c]},Sa.rgb.hsv=function(t){let e,i,o,n,r;const a=t[0]/255,s=t[1]/255,l=t[2]/255,c=Math.max(a,s,l),d=c-Math.min(a,s,l),u=function(t){return(c-t)/6/d+.5};return 0===d?(n=0,r=0):(r=d/c,e=u(a),i=u(s),o=u(l),a===c?n=o-i:s===c?n=1/3+e-o:l===c&&(n=2/3+i-e),n<0?n+=1:n>1&&(n-=1)),[360*n,100*r,100*c]},Sa.rgb.hwb=function(t){const e=t[0],i=t[1];let o=t[2];const n=Sa.rgb.hsl(t)[0],r=1/255*Math.min(e,Math.min(i,o));return o=1-1/255*Math.max(e,Math.max(i,o)),[n,100*r,100*o]},Sa.rgb.cmyk=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,n=Math.min(1-e,1-i,1-o);return[100*((1-e-n)/(1-n)||0),100*((1-i-n)/(1-n)||0),100*((1-o-n)/(1-n)||0),100*n]},Sa.rgb.keyword=function(t){const e=Aa[t];if(e)return e;let i,o=1/0;for(const e of Object.keys(Ea)){const n=Ta(t,Ea[e]);n.04045?((e+.055)/1.055)**2.4:e/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92;return[100*(.4124*e+.3576*i+.1805*o),100*(.2126*e+.7152*i+.0722*o),100*(.0193*e+.1192*i+.9505*o)]},Sa.rgb.lab=function(t){const e=Sa.rgb.xyz(t);let i=e[0],o=e[1],n=e[2];i/=95.047,o/=100,n/=108.883,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;return[116*o-16,500*(i-o),200*(o-n)]},Sa.hsl.rgb=function(t){const e=t[0]/360,i=t[1]/100,o=t[2]/100;let n,r,a;if(0===i)return a=255*o,[a,a,a];n=o<.5?o*(1+i):o+i-o*i;const s=2*o-n,l=[0,0,0];for(let t=0;t<3;t++)r=e+1/3*-(t-1),r<0&&r++,r>1&&r--,a=6*r<1?s+6*(n-s)*r:2*r<1?n:3*r<2?s+(n-s)*(2/3-r)*6:s,l[t]=255*a;return l},Sa.hsl.hsv=function(t){const e=t[0];let i=t[1]/100,o=t[2]/100,n=i;const r=Math.max(o,.01);o*=2,i*=o<=1?o:2-o,n*=r<=1?r:2-r;return[e,100*(0===o?2*n/(r+n):2*i/(o+i)),100*((o+i)/2)]},Sa.hsv.rgb=function(t){const e=t[0]/60,i=t[1]/100;let o=t[2]/100;const n=Math.floor(e)%6,r=e-Math.floor(e),a=255*o*(1-i),s=255*o*(1-i*r),l=255*o*(1-i*(1-r));switch(o*=255,n){case 0:return[o,l,a];case 1:return[s,o,a];case 2:return[a,o,l];case 3:return[a,s,o];case 4:return[l,a,o];case 5:return[o,a,s]}},Sa.hsv.hsl=function(t){const e=t[0],i=t[1]/100,o=t[2]/100,n=Math.max(o,.01);let r,a;a=(2-i)*o;const s=(2-i)*n;return r=i*n,r/=s<=1?s:2-s,r=r||0,a/=2,[e,100*r,100*a]},Sa.hwb.rgb=function(t){const e=t[0]/360;let i=t[1]/100,o=t[2]/100;const n=i+o;let r;n>1&&(i/=n,o/=n);const a=Math.floor(6*e),s=1-o;r=6*e-a,0!=(1&a)&&(r=1-r);const l=i+r*(s-i);let c,d,u;switch(a){default:case 6:case 0:c=s,d=l,u=i;break;case 1:c=l,d=s,u=i;break;case 2:c=i,d=s,u=l;break;case 3:c=i,d=l,u=s;break;case 4:c=l,d=i,u=s;break;case 5:c=s,d=i,u=l}return[255*c,255*d,255*u]},Sa.cmyk.rgb=function(t){const e=t[0]/100,i=t[1]/100,o=t[2]/100,n=t[3]/100;return[255*(1-Math.min(1,e*(1-n)+n)),255*(1-Math.min(1,i*(1-n)+n)),255*(1-Math.min(1,o*(1-n)+n))]},Sa.xyz.rgb=function(t){const e=t[0]/100,i=t[1]/100,o=t[2]/100;let n,r,a;return n=3.2406*e+-1.5372*i+-.4986*o,r=-.9689*e+1.8758*i+.0415*o,a=.0557*e+-.204*i+1.057*o,n=n>.0031308?1.055*n**(1/2.4)-.055:12.92*n,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),a=Math.min(Math.max(0,a),1),[255*n,255*r,255*a]},Sa.xyz.lab=function(t){let e=t[0],i=t[1],o=t[2];e/=95.047,i/=100,o/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;return[116*i-16,500*(e-i),200*(i-o)]},Sa.lab.xyz=function(t){let e,i,o;i=(t[0]+16)/116,e=t[1]/500+i,o=i-t[2]/200;const n=i**3,r=e**3,a=o**3;return i=n>.008856?n:(i-16/116)/7.787,e=r>.008856?r:(e-16/116)/7.787,o=a>.008856?a:(o-16/116)/7.787,e*=95.047,i*=100,o*=108.883,[e,i,o]},Sa.lab.lch=function(t){const e=t[0],i=t[1],o=t[2];let n;n=360*Math.atan2(o,i)/2/Math.PI,n<0&&(n+=360);return[e,Math.sqrt(i*i+o*o),n]},Sa.lch.lab=function(t){const e=t[0],i=t[1],o=t[2]/360*2*Math.PI;return[e,i*Math.cos(o),i*Math.sin(o)]},Sa.rgb.ansi16=function(t,e=null){const[i,o,n]=t;let r=null===e?Sa.rgb.hsv(t)[2]:e;if(r=Math.round(r/50),0===r)return 30;let a=30+(Math.round(n/255)<<2|Math.round(o/255)<<1|Math.round(i/255));return 2===r&&(a+=60),a},Sa.hsv.ansi16=function(t){return Sa.rgb.ansi16(Sa.hsv.rgb(t),t[2])},Sa.rgb.ansi256=function(t){const e=t[0],i=t[1],o=t[2];if(e===i&&i===o)return e<8?16:e>248?231:Math.round((e-8)/247*24)+232;return 16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(o/255*5)},Sa.ansi16.rgb=function(t){let e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const i=.5*(1+~~(t>50));return[(1&e)*i*255,(e>>1&1)*i*255,(e>>2&1)*i*255]},Sa.ansi256.rgb=function(t){if(t>=232){const e=10*(t-232)+8;return[e,e,e]}let e;t-=16;return[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255]},Sa.rgb.hex=function(t){const e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},Sa.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let i=e[0];3===e[0].length&&(i=i.split("").map((t=>t+t)).join(""));const o=parseInt(i,16);return[o>>16&255,o>>8&255,255&o]},Sa.rgb.hcg=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,n=Math.max(Math.max(e,i),o),r=Math.min(Math.min(e,i),o),a=n-r;let s,l;return s=a<1?r/(1-a):0,l=a<=0?0:n===e?(i-o)/a%6:n===i?2+(o-e)/a:4+(e-i)/a,l/=6,l%=1,[360*l,100*a,100*s]},Sa.hsl.hcg=function(t){const e=t[1]/100,i=t[2]/100,o=i<.5?2*e*i:2*e*(1-i);let n=0;return o<1&&(n=(i-.5*o)/(1-o)),[t[0],100*o,100*n]},Sa.hsv.hcg=function(t){const e=t[1]/100,i=t[2]/100,o=e*i;let n=0;return o<1&&(n=(i-o)/(1-o)),[t[0],100*o,100*n]},Sa.hcg.rgb=function(t){const e=t[0]/360,i=t[1]/100,o=t[2]/100;if(0===i)return[255*o,255*o,255*o];const n=[0,0,0],r=e%1*6,a=r%1,s=1-a;let l=0;switch(Math.floor(r)){case 0:n[0]=1,n[1]=a,n[2]=0;break;case 1:n[0]=s,n[1]=1,n[2]=0;break;case 2:n[0]=0,n[1]=1,n[2]=a;break;case 3:n[0]=0,n[1]=s,n[2]=1;break;case 4:n[0]=a,n[1]=0,n[2]=1;break;default:n[0]=1,n[1]=0,n[2]=s}return l=(1-i)*o,[255*(i*n[0]+l),255*(i*n[1]+l),255*(i*n[2]+l)]},Sa.hcg.hsv=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);let o=0;return i>0&&(o=e/i),[t[0],100*o,100*i]},Sa.hcg.hsl=function(t){const e=t[1]/100,i=t[2]/100*(1-e)+.5*e;let o=0;return i>0&&i<.5?o=e/(2*i):i>=.5&&i<1&&(o=e/(2*(1-i))),[t[0],100*o,100*i]},Sa.hcg.hwb=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);return[t[0],100*(i-e),100*(1-i)]},Sa.hwb.hcg=function(t){const e=t[1]/100,i=1-t[2]/100,o=i-e;let n=0;return o<1&&(n=(i-o)/(1-o)),[t[0],100*o,100*n]},Sa.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},Sa.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},Sa.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},Sa.gray.hsl=function(t){return[0,0,t[0]]},Sa.gray.hsv=Sa.gray.hsl,Sa.gray.hwb=function(t){return[0,100,t[0]]},Sa.gray.cmyk=function(t){return[0,0,0,t[0]]},Sa.gray.lab=function(t){return[t[0],0,0]},Sa.gray.hex=function(t){const e=255&Math.round(t[0]/100*255),i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(i.length)+i},Sa.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};const za=Ia;function Oa(t){const e=function(){const t={},e=Object.keys(za);for(let i=e.length,o=0;o{Pa[t]={},Object.defineProperty(Pa[t],"channels",{value:Da[t].channels}),Object.defineProperty(Pa[t],"labels",{value:Da[t].labels});const e=La(t);Object.keys(e).forEach((i=>{const o=e[i];Pa[t][i]=function(t){const e=function(...e){const i=e[0];if(null==i)return i;i.length>1&&(e=i);const o=t(e);if("object"==typeof o)for(let t=o.length,e=0;e1&&(e=i),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(o)}))}));const Na=$a,Ra=Pa,Fa=["keyword","gray","hex"],Va={};for(const t of Object.keys(Ra))Va[[...Ra[t].labels].sort().join("")]=t;const Ba={};function Ua(t,e){if(!(this instanceof Ua))return new Ua(t,e);if(e&&e in Fa&&(e=null),e&&!(e in Ra))throw new Error("Unknown model: "+e);let i,o;if(null==t)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof Ua)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if("string"==typeof t){const e=Na.get(t);if(null===e)throw new Error("Unable to parse color from string: "+t);this.model=e.model,o=Ra[this.model].channels,this.color=e.value.slice(0,o),this.valpha="number"==typeof e.value[o]?e.value[o]:1}else if(t.length>0){this.model=e||"rgb",o=Ra[this.model].channels;const i=Array.prototype.slice.call(t,0,o);this.color=Xa(i,o),this.valpha="number"==typeof t[o]?t[o]:1}else if("number"==typeof t)this.model="rgb",this.color=[t>>16&255,t>>8&255,255&t],this.valpha=1;else{this.valpha=1;const e=Object.keys(t);"alpha"in t&&(e.splice(e.indexOf("alpha"),1),this.valpha="number"==typeof t.alpha?t.alpha:0);const o=e.sort().join("");if(!(o in Va))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=Va[o];const{labels:n}=Ra[this.model],r=[];for(i=0;i(t%360+360)%360)),saturationl:Ya("hsl",1,Wa(100)),lightness:Ya("hsl",2,Wa(100)),saturationv:Ya("hsv",1,Wa(100)),value:Ya("hsv",2,Wa(100)),chroma:Ya("hcg",1,Wa(100)),gray:Ya("hcg",2,Wa(100)),white:Ya("hwb",1,Wa(100)),wblack:Ya("hwb",2,Wa(100)),cyan:Ya("cmyk",0,Wa(100)),magenta:Ya("cmyk",1,Wa(100)),yellow:Ya("cmyk",2,Wa(100)),black:Ya("cmyk",3,Wa(100)),x:Ya("xyz",0,Wa(95.047)),y:Ya("xyz",1,Wa(100)),z:Ya("xyz",2,Wa(108.833)),l:Ya("lab",0,Wa(100)),a:Ya("lab",1),b:Ya("lab",2),keyword(t){return void 0!==t?new Ua(t):Ra[this.model].keyword(this.color)},hex(t){return void 0!==t?new Ua(t):Na.to.hex(this.rgb().round().color)},hexa(t){if(void 0!==t)return new Ua(t);const e=this.rgb().round().color;let i=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===i.length&&(i="0"+i),Na.to.hex(e)+i},rgbNumber(){const t=this.rgb().color;return(255&t[0])<<16|(255&t[1])<<8|255&t[2]},luminosity(){const t=this.rgb().color,e=[];for(const[i,o]of t.entries()){const t=o/255;e[i]=t<=.04045?t/12.92:((t+.055)/1.055)**2.4}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(t){const e=this.luminosity(),i=t.luminosity();return e>i?(e+.05)/(i+.05):(i+.05)/(e+.05)},level(t){const e=this.contrast(t);return e>=7?"AAA":e>=4.5?"AA":""},isDark(){const t=this.rgb().color;return(2126*t[0]+7152*t[1]+722*t[2])/1e4<128},isLight(){return!this.isDark()},negate(){const t=this.rgb();for(let e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten(t){const e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken(t){const e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate(t){const e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate(t){const e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten(t){const e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken(t){const e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale(){const t=this.rgb().color,e=.3*t[0]+.59*t[1]+.11*t[2];return Ua.rgb(e,e,e)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){const e=this.hsl();let i=e.color[0];return i=(i+t)%360,i=i<0?360+i:i,e.color[0]=i,e},mix(t,e){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);const i=t.rgb(),o=this.rgb(),n=void 0===e?.5:e,r=2*n-1,a=i.alpha()-o.alpha(),s=((r*a==-1?r:(r+a)/(1+r*a))+1)/2,l=1-s;return Ua.rgb(s*i.red()+l*o.red(),s*i.green()+l*o.green(),s*i.blue()+l*o.blue(),i.alpha()*n+o.alpha()*(1-n))}};for(const t of Object.keys(Ra)){if(Fa.includes(t))continue;const{channels:e}=Ra[t];Ua.prototype[t]=function(...e){return this.model===t?new Ua(this):e.length>0?new Ua(e,t):new Ua([...(i=Ra[this.model][t].raw(this.color),Array.isArray(i)?i:[i]),this.valpha],t);var i},Ua[t]=function(...i){let o=i[0];return"number"==typeof o&&(o=Xa(i,e)),new Ua(o,t)}}function Ha(t){return function(e){return function(t,e){return Number(t.toFixed(e))}(e,t)}}function Ya(t,e,i){t=Array.isArray(t)?t:[t];for(const o of t)(Ba[o]||(Ba[o]=[]))[e]=i;return t=t[0],function(o){let n;return void 0!==o?(i&&(o=i(o)),n=this[t](),n.color[e]=o,n):(n=this[t]().color[e],i&&(n=i(n)),n)}}function Wa(t){return function(e){return Math.max(0,Math.min(t,e))}}function Xa(t,e){for(let i=0;it.stopPropagation()} - .value=${this.value||"default"} - fixedMenuPosition - naturalMenuWidth - > - ${this.renderColorCircle(this.value||"grey")} - - ${t("editor.form.color_picker.values.default")} - - ${Ga.map((t=>Y` - - ${function(t){return t.split("-").map((t=>function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(t))).join(" ")}(t)} - ${this.renderColorCircle(t)} - - `))} - - `}renderColorCircle(t){return Y` - - `}static get styles(){return h` - mushroom-select { - width: 100%; - } - .circle-color { - display: block; - background-color: rgb(var(--main-color)); - border-radius: 10px; - width: 20px; - height: 20px; - } - `}};n([_t()],Qa.prototype,"label",void 0),n([_t()],Qa.prototype,"value",void 0),n([_t()],Qa.prototype,"configValue",void 0),n([_t()],Qa.prototype,"hass",void 0),Qa=n([pt("mushroom-color-picker")],Qa);let tl=class extends ht{render(){return Y` - - `}_valueChanged(t){Lt(this,"value-changed",{value:t.detail.value||void 0})}};n([_t()],tl.prototype,"hass",void 0),n([_t()],tl.prototype,"selector",void 0),n([_t()],tl.prototype,"value",void 0),n([_t()],tl.prototype,"label",void 0),tl=n([pt("ha-selector-mush_color")],tl);const el=["button","input_button","scene"],il=["name","state","last-changed","last-updated","none"],ol=["icon","entity-picture","none"];function nl(t,e,i,o,n){switch(t){case"name":return e;case"state":const t=o.entity_id.split(".")[0];return"timestamp"!==o.attributes.device_class&&!el.includes(t)||!Ut(o)||function(t){return t.state===Rt}(o)?i:Y` - - `;case"last-changed":return Y` - - `;case"last-updated":return Y` - - `;case"none":return}}function rl(t,e){return"entity-picture"===e?Yt(t):void 0}let al=class extends ht{constructor(){super(...arguments),this.label="",this.configValue=""}_selectChanged(t){const e=t.target.value;e&&this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:"default"!==e?e:""}}))}render(){const t=Oo(this.hass);return Y` - t.stopPropagation()} - .value=${this.value||"default"} - fixedMenuPosition - naturalMenuWidth - > - - ${t("editor.form.icon_type_picker.values.default")} - - ${ol.map((e=>Y` - - ${t(`editor.form.icon_type_picker.values.${e}`)||function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(e)} - - `))} - - `}static get styles(){return h` - mushroom-select { - width: 100%; - } - `}};n([_t()],al.prototype,"label",void 0),n([_t()],al.prototype,"value",void 0),n([_t()],al.prototype,"configValue",void 0),n([_t()],al.prototype,"hass",void 0),al=n([pt("mushroom-icon-type-picker")],al);let ll=class extends ht{render(){return Y` - - `}_valueChanged(t){Lt(this,"value-changed",{value:t.detail.value||void 0})}};n([_t()],ll.prototype,"hass",void 0),n([_t()],ll.prototype,"selector",void 0),n([_t()],ll.prototype,"value",void 0),n([_t()],ll.prototype,"label",void 0),ll=n([pt("ha-selector-mush_icon_type")],ll);let sl=class extends ht{constructor(){super(...arguments),this.label="",this.configValue=""}_selectChanged(t){const e=t.target.value;e&&this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:"default"!==e?e:""}}))}render(){var t;const e=Oo(this.hass);return Y` - t.stopPropagation()} - .value=${this.value||"default"} - fixedMenuPosition - naturalMenuWidth - > - - ${e("editor.form.info_picker.values.default")} - - ${(null!==(t=this.infos)&&void 0!==t?t:il).map((t=>Y` - - ${e(`editor.form.info_picker.values.${t}`)||function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(t)} - - `))} - - `}static get styles(){return h` - mushroom-select { - width: 100%; - } - `}};n([_t()],sl.prototype,"label",void 0),n([_t()],sl.prototype,"value",void 0),n([_t()],sl.prototype,"configValue",void 0),n([_t()],sl.prototype,"infos",void 0),n([_t()],sl.prototype,"hass",void 0),sl=n([pt("mushroom-info-picker")],sl);let cl=class extends ht{render(){return Y` - - `}_valueChanged(t){Lt(this,"value-changed",{value:t.detail.value||void 0})}};n([_t()],cl.prototype,"hass",void 0),n([_t()],cl.prototype,"selector",void 0),n([_t()],cl.prototype,"value",void 0),n([_t()],cl.prototype,"label",void 0),cl=n([pt("ha-selector-mush_info")],cl);const dl=["default","horizontal","vertical"],ul={default:"mdi:card-text-outline",vertical:"mdi:focus-field-vertical",horizontal:"mdi:focus-field-horizontal"};let hl=class extends ht{constructor(){super(...arguments),this.label="",this.configValue=""}_selectChanged(t){const e=t.target.value;e&&this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:"default"!==e?e:""}}))}render(){const t=Oo(this.hass),e=this.value||"default";return Y` - t.stopPropagation()} - .value=${e} - fixedMenuPosition - naturalMenuWidth - > - - ${dl.map((e=>Y` - - ${t(`editor.form.layout_picker.values.${e}`)} - - - `))} - - `}static get styles(){return h` - mushroom-select { - width: 100%; - } - `}};n([_t()],hl.prototype,"label",void 0),n([_t()],hl.prototype,"value",void 0),n([_t()],hl.prototype,"configValue",void 0),n([_t()],hl.prototype,"hass",void 0),hl=n([pt("mushroom-layout-picker")],hl);let ml=class extends ht{render(){return Y` - - `}_valueChanged(t){Lt(this,"value-changed",{value:t.detail.value||void 0})}};n([_t()],ml.prototype,"hass",void 0),n([_t()],ml.prototype,"selector",void 0),n([_t()],ml.prototype,"value",void 0),n([_t()],ml.prototype,"label",void 0),ml=n([pt("ha-selector-mush_layout")],ml);Tt((t=>{const e={};for(const i of t)e[i.entity_id]=i;return e})),Tt((t=>{const e={};for(const i of t)e[i.id]=i;return e}));const pl={armed_home:{feature:1,service:"alarm_arm_home",icon:"mdi:home"},armed_away:{feature:2,service:"alarm_arm_away",icon:"mdi:lock"},armed_night:{feature:4,service:"alarm_arm_night",icon:"mdi:moon-waning-crescent"},armed_vacation:{feature:32,service:"alarm_arm_vacation",icon:"mdi:airplane"},armed_custom_bypass:{feature:16,service:"alarm_arm_custom_bypass",icon:"mdi:shield"},disarmed:{service:"alarm_disarm",icon:"mdi:shield-off"}};let fl=class extends ht{constructor(){super(...arguments),this.icon=""}render(){return Y` -
- -
- `}static get styles(){return h` - :host { - --main-color: rgb(var(--rgb-grey)); - --icon-color: rgb(var(--rgb-white)); - } - .badge { - display: flex; - align-items: center; - justify-content: center; - line-height: 0; - width: var(--badge-size); - height: var(--badge-size); - font-size: var(--badge-size); - border-radius: var(--badge-border-radius); - background-color: var(--main-color); - transition: background-color 280ms ease-in-out; - } - .badge ha-icon { - --mdc-icon-size: var(--badge-icon-size); - color: var(--icon-color); - } - `}};n([_t()],fl.prototype,"icon",void 0),fl=n([pt("mushroom-badge-icon")],fl);let gl=class extends ht{constructor(){super(...arguments),this.title="",this.disabled=!1}render(){return Y` - - `}static get styles(){return h` - :host { - --icon-color: var(--primary-text-color); - --icon-color-disabled: rgb(var(--rgb-disabled)); - --bg-color: rgba(var(--rgb-primary-text-color), 0.05); - --bg-color-disabled: rgba(var(--rgb-disabled), 0.2); - height: var(--control-height); - width: calc(var(--control-height) * var(--control-button-ratio)); - flex: none; - } - .button { - cursor: pointer; - display: flex; - align-items: center; - justify-content: center; - width: 100%; - height: 100%; - border-radius: var(--control-border-radius); - border: none; - background-color: var(--bg-color); - transition: background-color 280ms ease-in-out; - font-size: var(--control-height); - margin: 0; - padding: 0; - box-sizing: border-box; - line-height: 0; - } - .button:disabled { - cursor: not-allowed; - background-color: var(--bg-color-disabled); - } - .button ::slotted(*) { - --mdc-icon-size: var(--control-icon-size); - color: var(--icon-color); - pointer-events: none; - } - .button:disabled ::slotted(*) { - color: var(--icon-color-disabled); - } - `}};n([_t()],gl.prototype,"title",void 0),n([_t({type:Boolean})],gl.prototype,"disabled",void 0),gl=n([pt("mushroom-button")],gl);let _l=class extends ht{constructor(){super(...arguments),this.fill=!1,this.rtl=!1}render(){return Y` -
- -
- `}static get styles(){return h` - :host { - display: flex; - flex-direction: row; - width: 100%; - } - .container { - width: 100%; - display: flex; - flex-direction: row; - justify-content: flex-end; - } - .container ::slotted(*:not(:last-child)) { - margin-right: var(--spacing); - } - :host([rtl]) .container ::slotted(*:not(:last-child)) { - margin-right: initial; - margin-left: var(--spacing); - } - .container > ::slotted(mushroom-button) { - width: 0; - flex-grow: 0; - flex-shrink: 1; - flex-basis: calc(var(--control-height) * var(--control-button-ratio)); - } - .container > ::slotted(mushroom-input-number) { - width: 0; - flex-grow: 0; - flex-shrink: 1; - flex-basis: calc(var(--control-height) * var(--control-button-ratio) * 3); - } - .container.fill > ::slotted(mushroom-button), - .container.fill > ::slotted(mushroom-input-number) { - flex-grow: 1; - } - `}};n([_t()],_l.prototype,"fill",void 0),n([_t()],_l.prototype,"rtl",void 0),_l=n([pt("mushroom-button-group")],_l);let vl=class extends ht{render(){var t,e,i,o;return Y` -
- -
- `}static get styles(){return h` - .container { - display: flex; - flex-direction: column; - flex-shrink: 0; - flex-grow: 0; - box-sizing: border-box; - justify-content: space-between; - height: 100%; - } - .container > ::slotted(*:not(:last-child)) { - margin-bottom: var(--spacing); - } - .container.horizontal { - flex-direction: row; - } - .container.horizontal > ::slotted(*) { - flex: 1; - min-width: 0; - } - .container.no-info > ::slotted(mushroom-state-item) { - flex: none; - } - .container.no-info.no-icon > ::slotted(mushroom-state-item) { - margin-right: 0; - margin-left: 0; - margin-bottom: 0; - } - .container.horizontal > ::slotted(*:not(:last-child)) { - margin-right: var(--spacing); - margin-bottom: 0; - } - :host([rtl]) .container.horizontal > ::slotted(*:not(:last-child)) { - margin-right: initial; - margin-left: var(--spacing); - margin-bottom: 0; - } - `}};n([_t()],vl.prototype,"appearance",void 0),vl=n([pt("mushroom-card")],vl);const bl={pulse:"@keyframes pulse {\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }",spin:"@keyframes spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n }",cleaning:"@keyframes cleaning {\n 0% {\n transform: rotate(0) translate(0);\n }\n 5% {\n transform: rotate(0) translate(0, -3px);\n }\n 10% {\n transform: rotate(0) translate(0, 1px);\n }\n 15% {\n transform: rotate(0) translate(0);\n }\n\n 20% {\n transform: rotate(30deg) translate(0);\n }\n 25% {\n transform: rotate(30deg) translate(0, -3px);\n }\n 30% {\n transform: rotate(30deg) translate(0, 1px);\n }\n 35% {\n transform: rotate(30deg) translate(0);\n }\n 40% {\n transform: rotate(0) translate(0);\n }\n\n 45% {\n transform: rotate(-30deg) translate(0);\n }\n 50% {\n transform: rotate(-30deg) translate(0, -3px);\n }\n 55% {\n transform: rotate(-30deg) translate(0, 1px);\n }\n 60% {\n transform: rotate(-30deg) translate(0);\n }\n 70% {\n transform: rotate(0deg) translate(0);\n }\n 100% {\n transform: rotate(0deg);\n }\n }",returning:"@keyframes returning {\n 0% {\n transform: rotate(0);\n }\n 25% {\n transform: rotate(20deg);\n }\n 50% {\n transform: rotate(0);\n }\n 75% {\n transform: rotate(-20deg);\n }\n 100% {\n transform: rotate(0);\n }\n }"},yl=h` - ${u(bl.pulse)} - `,xl=(h` - ${u(bl.spin)} - `,h` - ${u(bl.cleaning)} - `,h` - ${u(bl.returning)} - `,h` - ${u(Object.values(bl).join("\n"))} -`);let wl=class extends ht{render(){return Y` -
- -
- `}static get styles(){return[xl,h` - :host { - --icon-color: var(--primary-text-color); - --icon-color-disabled: rgb(var(--rgb-disabled)); - --shape-color: rgba(var(--rgb-primary-text-color), 0.05); - --shape-color-disabled: rgba(var(--rgb-disabled), 0.2); - --shape-animation: none; - --shape-outline-color: transparent; - flex: none; - } - .shape { - position: relative; - width: var(--icon-size); - height: var(--icon-size); - font-size: var(--icon-size); - border-radius: var(--icon-border-radius); - display: flex; - align-items: center; - justify-content: center; - background-color: var(--shape-color); - transition-property: background-color, box-shadow; - transition-duration: 280ms; - transition-timing-function: ease-out; - animation: var(--shape-animation); - box-shadow: 0 0 0 1px var(--shape-outline-color); - } - - .shape ::slotted(*) { - display: flex; - color: var(--icon-color); - transition: color 280ms ease-in-out; - } - ::slotted(ha-icon), - ::slotted(ha-state-icon) { - display: flex; - line-height: 0; - --mdc-icon-size: var(--icon-symbol-size); - } - .shape.disabled { - background-color: var(--shape-color-disabled); - } - .shape.disabled ::slotted(*) { - color: var(--icon-color-disabled); - } - `]}};n([_t({type:Boolean})],wl.prototype,"disabled",void 0),wl=n([pt("mushroom-shape-icon")],wl);let kl=class extends ht{constructor(){super(...arguments),this.multiline_secondary=!1}render(){var t;return Y` -
- ${null!==(t=this.primary)&&void 0!==t?t:""} - ${this.secondary?Y`${this.secondary}`:K} -
- `}static get styles(){return h` - .container { - min-width: 0; - flex: 1; - display: flex; - flex-direction: column; - } - .primary { - font-weight: var(--card-primary-font-weight); - font-size: var(--card-primary-font-size); - line-height: var(--card-primary-line-height); - color: var(--card-primary-color); - letter-spacing: var(--card-primary-letter-spacing); - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - } - .secondary { - font-weight: var(--card-secondary-font-weight); - font-size: var(--card-secondary-font-size); - line-height: var(--card-secondary-line-height); - color: var(--card-secondary-color); - letter-spacing: var(--card-secondary-letter-spacing); - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - } - .multiline_secondary { - white-space: pre-wrap; - } - `}};n([_t({attribute:!1})],kl.prototype,"primary",void 0),n([_t({attribute:!1})],kl.prototype,"secondary",void 0),n([_t({type:Boolean})],kl.prototype,"multiline_secondary",void 0),kl=n([pt("mushroom-state-info")],kl);let Cl=class extends ht{render(){var t,e,i,o;return Y` -
- ${"none"!==(null===(e=this.appearance)||void 0===e?void 0:e.icon_type)?Y` -
- - -
- `:K} - ${"none"!==(null===(i=this.appearance)||void 0===i?void 0:i.primary_info)||"none"!==(null===(o=this.appearance)||void 0===o?void 0:o.secondary_info)?Y` -
- -
- `:K} -
- `}static get styles(){return h` - .container { - display: flex; - flex-direction: row; - align-items: center; - justify-content: flex-start; - } - .container > *:not(:last-child) { - margin-right: var(--spacing); - } - :host([rtl]) .container > *:not(:last-child) { - margin-right: initial; - margin-left: var(--spacing); - } - .icon { - position: relative; - } - .icon ::slotted(*[slot="badge"]) { - position: absolute; - top: -3px; - right: -3px; - } - :host([rtl]) .icon ::slotted(*[slot="badge"]) { - right: initial; - left: -3px; - } - .info { - min-width: 0; - width: 100%; - display: flex; - flex-direction: column; - } - .container.vertical { - flex-direction: column; - } - .container.vertical > *:not(:last-child) { - margin-bottom: var(--spacing); - margin-right: 0; - margin-left: 0; - } - :host([rtl]) .container.vertical > *:not(:last-child) { - margin-right: initial; - margin-left: initial; - } - .container.vertical .info { - text-align: center; - } - `}};function $l(t){var e,i,o,n,r;return{layout:null!==(e=t.layout)&&void 0!==e?e:El(t),fill_container:null!==(i=t.fill_container)&&void 0!==i&&i,primary_info:null!==(o=t.primary_info)&&void 0!==o?o:Sl(t),secondary_info:null!==(n=t.secondary_info)&&void 0!==n?n:Il(t),icon_type:null!==(r=t.icon_type)&&void 0!==r?r:Al(t)}}function El(t){return t.vertical?"vertical":"default"}function Al(t){return t.hide_icon?"none":t.use_entity_picture||t.use_media_artwork?"entity-picture":"icon"}function Sl(t){return t.hide_name?"none":"name"}function Il(t){return t.hide_state?"none":"state"}n([_t()],Cl.prototype,"appearance",void 0),Cl=n([pt("mushroom-state-item")],Cl);let Tl=class extends ht{constructor(){super(...arguments),this.picture_url=""}render(){return Y` -
- -
- `}static get styles(){return h` - :host { - --main-color: var(--primary-text-color); - --icon-color-disabled: rgb(var(--rgb-disabled)); - --shape-color: rgba(var(--rgb-primary-text-color), 0.05); - --shape-color-disabled: rgba(var(--rgb-disabled), 0.2); - flex: none; - } - .container { - position: relative; - width: var(--icon-size); - height: var(--icon-size); - flex: none; - display: flex; - align-items: center; - justify-content: center; - } - .picture { - width: 100%; - height: 100%; - border-radius: var(--icon-border-radius); - } - `}};n([_t()],Tl.prototype,"picture_url",void 0),Tl=n([pt("mushroom-shape-avatar")],Tl);const Ol=h` - --spacing: var(--mush-spacing, 12px); - - /* Title */ - --title-padding: var(--mush-title-padding, 24px 12px 8px); - --title-spacing: var(--mush-title-spacing, 8px); - --title-font-size: var(--mush-title-font-size, 24px); - --title-font-weight: var(--mush-title-font-weight, normal); - --title-line-height: var(--mush-title-line-height, 32px); - --title-color: var(--mush-title-color, var(--primary-text-color)); - --title-letter-spacing: var(--mush-title-letter-spacing, -0.288px); - --subtitle-font-size: var(--mush-subtitle-font-size, 16px); - --subtitle-font-weight: var(--mush-subtitle-font-weight, normal); - --subtitle-line-height: var(--mush-subtitle-line-height, 24px); - --subtitle-color: var(--mush-subtitle-color, var(--secondary-text-color)); - --subtitle-letter-spacing: var(--mush-subtitle-letter-spacing, 0px); - - /* Card */ - --card-primary-font-size: var(--mush-card-primary-font-size, 14px); - --card-secondary-font-size: var(--mush-card-secondary-font-size, 12px); - --card-primary-font-weight: var(--mush-card-primary-font-weight, 500); - --card-secondary-font-weight: var(--mush-card-secondary-font-weight, 400); - --card-primary-line-height: var(--mush-card-primary-line-height, 20px); - --card-secondary-line-height: var(--mush-card-secondary-line-height, 16px); - --card-primary-color: var(--mush-card-primary-color, var(--primary-text-color)); - --card-secondary-color: var(--mush-card-secondary-color, var(--primary-text-color)); - --card-primary-letter-spacing: var(--mush-card-primary-letter-spacing, 0.1px); - --card-secondary-letter-spacing: var(--mush-card-secondary-letter-spacing, 0.4px); - - /* Chips */ - --chip-spacing: var(--mush-chip-spacing, 8px); - --chip-padding: var(--mush-chip-padding, 0 0.25em); - --chip-height: var(--mush-chip-height, 36px); - --chip-border-radius: var(--mush-chip-border-radius, 19px); - --chip-border-width: var(--mush-chip-border-width, var(--ha-card-border-width, 1px)); - --chip-border-color: var( - --mush-chip-border-color, - var(--ha-card-border-color, var(--divider-color)) - ); - --chip-box-shadow: var(--mush-chip-box-shadow, var(--ha-card-box-shadow, "none")); - --chip-font-size: var(--mush-chip-font-size, 0.3em); - --chip-font-weight: var(--mush-chip-font-weight, bold); - --chip-icon-size: var(--mush-chip-icon-size, 0.5em); - --chip-avatar-padding: var(--mush-chip-avatar-padding, 0.1em); - --chip-avatar-border-radius: var(--mush-chip-avatar-border-radius, 50%); - --chip-background: var( - --mush-chip-background, - var(--ha-card-background, var(--card-background-color, white)) - ); - /* Controls */ - --control-border-radius: var(--mush-control-border-radius, 12px); - --control-height: var(--mush-control-height, 40px); - --control-button-ratio: var(--mush-control-button-ratio, 1); - --control-icon-size: var(--mush-control-icon-size, 0.5em); - - /* Slider */ - --slider-threshold: var(--mush-slider-threshold); - - /* Input Number */ - --input-number-debounce: var(--mush-input-number-debounce); - - /* Layout */ - --layout-align: var(--mush-layout-align, center); - - /* Badge */ - --badge-size: var(--mush-badge-size, 16px); - --badge-icon-size: var(--mush-badge-icon-size, 0.75em); - --badge-border-radius: var(--mush-badge-border-radius, 50%); - - /* Icon */ - --icon-border-radius: var(--mush-icon-border-radius, 50%); - --icon-size: var(--mush-icon-size, 40px); - --icon-symbol-size: var(--mush-icon-symbol-size, 0.6em); -`,zl=h` - /* RGB */ - /* Standard colors */ - --rgb-red: var(--mush-rgb-red, var(--default-red)); - --rgb-pink: var(--mush-rgb-pink, var(--default-pink)); - --rgb-purple: var(--mush-rgb-purple, var(--default-purple)); - --rgb-deep-purple: var(--mush-rgb-deep-purple, var(--default-deep-purple)); - --rgb-indigo: var(--mush-rgb-indigo, var(--default-indigo)); - --rgb-blue: var(--mush-rgb-blue, var(--default-blue)); - --rgb-light-blue: var(--mush-rgb-light-blue, var(--default-light-blue)); - --rgb-cyan: var(--mush-rgb-cyan, var(--default-cyan)); - --rgb-teal: var(--mush-rgb-teal, var(--default-teal)); - --rgb-green: var(--mush-rgb-green, var(--default-green)); - --rgb-light-green: var(--mush-rgb-light-green, var(--default-light-green)); - --rgb-lime: var(--mush-rgb-lime, var(--default-lime)); - --rgb-yellow: var(--mush-rgb-yellow, var(--default-yellow)); - --rgb-amber: var(--mush-rgb-amber, var(--default-amber)); - --rgb-orange: var(--mush-rgb-orange, var(--default-orange)); - --rgb-deep-orange: var(--mush-rgb-deep-orange, var(--default-deep-orange)); - --rgb-brown: var(--mush-rgb-brown, var(--default-brown)); - --rgb-light-grey: var(--mush-rgb-light-grey, var(--default-light-grey)); - --rgb-grey: var(--mush-rgb-grey, var(--default-grey)); - --rgb-dark-grey: var(--mush-rgb-dark-grey, var(--default-dark-grey)); - --rgb-blue-grey: var(--mush-rgb-blue-grey, var(--default-blue-grey)); - --rgb-black: var(--mush-rgb-black, var(--default-black)); - --rgb-white: var(--mush-rgb-white, var(--default-white)); - --rgb-disabled: var(--mush-rgb-disabled, var(--default-disabled)); - - /* Action colors */ - --rgb-info: var(--mush-rgb-info, var(--rgb-blue)); - --rgb-success: var(--mush-rgb-success, var(--rgb-green)); - --rgb-warning: var(--mush-rgb-warning, var(--rgb-orange)); - --rgb-danger: var(--mush-rgb-danger, var(--rgb-red)); - - /* State colors */ - --rgb-state-vacuum: var(--mush-rgb-state-vacuum, var(--rgb-teal)); - --rgb-state-fan: var(--mush-rgb-state-fan, var(--rgb-green)); - --rgb-state-light: var(--mush-rgb-state-light, var(--rgb-orange)); - --rgb-state-entity: var(--mush-rgb-state-entity, var(--rgb-blue)); - --rgb-state-media-player: var(--mush-rgb-state-media-player, var(--rgb-indigo)); - --rgb-state-lock: var(--mush-rgb-state-lock, var(--rgb-blue)); - --rgb-state-number: var(--mush-rgb-state-number, var(--rgb-blue)); - --rgb-state-humidifier: var(--mush-rgb-state-humidifier, var(--rgb-purple)); - - /* State alarm colors */ - --rgb-state-alarm-disarmed: var(--mush-rgb-state-alarm-disarmed, var(--rgb-info)); - --rgb-state-alarm-armed: var(--mush-rgb-state-alarm-armed, var(--rgb-success)); - --rgb-state-alarm-triggered: var(--mush-rgb-state-alarm-triggered, var(--rgb-danger)); - - /* State person colors */ - --rgb-state-person-home: var(--mush-rgb-state-person-home, var(--rgb-success)); - --rgb-state-person-not-home: var(--mush-rgb-state-person-not-home, var(--rgb-danger)); - --rgb-state-person-zone: var(--mush-rgb-state-person-zone, var(--rgb-info)); - --rgb-state-person-unknown: var(--mush-rgb-state-person-unknown, var(--rgb-grey)); - - /* State update colors */ - --rgb-state-update-on: var(--mush-rgb-state-update-on, var(--rgb-orange)); - --rgb-state-update-off: var(--mush-rgb-update-off, var(--rgb-green)); - --rgb-state-update-installing: var(--mush-rgb-update-installing, var(--rgb-blue)); - - /* State lock colors */ - --rgb-state-lock-locked: var(--mush-rgb-state-lock-locked, var(--rgb-green)); - --rgb-state-lock-unlocked: var(--mush-rgb-state-lock-unlocked, var(--rgb-red)); - --rgb-state-lock-pending: var(--mush-rgb-state-lock-pending, var(--rgb-orange)); - - /* State cover colors */ - --rgb-state-cover-open: var(--mush-rgb-state-cover-open, var(--rgb-blue)); - --rgb-state-cover-closed: var(--mush-rgb-state-cover-closed, var(--rgb-disabled)); - - /* State climate colors */ - --rgb-state-climate-auto: var(--mush-rgb-state-climate-auto, var(--rgb-green)); - --rgb-state-climate-cool: var(--mush-rgb-state-climate-cool, var(--rgb-blue)); - --rgb-state-climate-dry: var(--mush-rgb-state-climate-dry, var(--rgb-orange)); - --rgb-state-climate-fan-only: var(--mush-rgb-state-climate-fan-only, var(--rgb-teal)); - --rgb-state-climate-heat: var(--mush-rgb-state-climate-heat, var(--rgb-deep-orange)); - --rgb-state-climate-heat-cool: var(--mush-rgb-state-climate-heat-cool, var(--rgb-green)); - --rgb-state-climate-idle: var(--mush-rgb-state-climate-idle, var(--rgb-disabled)); - --rgb-state-climate-off: var(--mush-rgb-state-climate-off, var(--rgb-disabled)); -`;function Ml(t){return!!t&&t.themes.darkMode}class jl extends ht{updated(t){if(super.updated(t),t.has("hass")&&this.hass){const e=Ml(t.get("hass")),i=Ml(this.hass);e!==i&&this.toggleAttribute("dark-mode",i)}}static get styles(){return[xl,h` - :host { - ${Za} - } - :host([dark-mode]) { - ${Ja} - } - :host { - ${zl} - ${Ol} - } - `]}}n([_t({attribute:!1})],jl.prototype,"hass",void 0);class Dl extends jl{constructor(){super(...arguments),this._inGrid=!1}get _stateObj(){if(!this._config||!this.hass||!this._config.entity)return;const t=this._config.entity;return this.hass.states[t]}get hasControls(){return!1}setConfig(t){this._config=Object.assign({tap_action:{action:"more-info"},hold_action:{action:"more-info"}},t)}getGridSize(){const{grid_columns:t,grid_rows:e}=this.getLayoutOptions();return[t,e]}getCardSize(){var t;let e=1;if(!this._config)return e;const i=$l(this._config);return"vertical"===i.layout&&(e+=1),"horizontal"===(null==i?void 0:i.layout)||!this.hasControls||"collapsible_controls"in this._config&&(null===(t=this._config)||void 0===t?void 0:t.collapsible_controls)||(e+=1),e}getLayoutOptions(){this._inGrid=!0;const t={grid_columns:2,grid_rows:1};if(!this._config)return t;const e=$l(this._config);return"vertical"===e.layout&&(t.grid_rows+=1),"horizontal"===e.layout&&(t.grid_columns=4),"horizontal"!==(null==e?void 0:e.layout)&&this.hasControls&&(t.grid_rows+=1),t}renderPicture(t){return Y` - - `}renderNotFound(t){const e=$l(t),i=Ie(this.hass),o=Oo(this.hass);return Y` - - - - - - - - - - - - `}renderIcon(t,e){const i=Bt(t);return Y` - - - `}renderBadge(t){return!Ut(t)?Y` - - `:K}renderStateInfo(t,e,i,o){const n=this.hass.formatEntityState?this.hass.formatEntityState(t):ne(this.hass.localize,t,this.hass.locale,this.hass.config,this.hass.entities),r=null!=o?o:n,a=nl(e.primary_info,i,r,t,this.hass),l=nl(e.secondary_info,i,r,t,this.hass);return Y` - - `}}n([vt()],Dl.prototype,"_config",void 0),n([_t({reflect:!0,type:String})],Dl.prototype,"layout",void 0),n([_t({attribute:"in-grid",reflect:!0,type:Boolean})],Dl.prototype,"_inGrid",void 0);const Ll=h` - ha-card { - box-sizing: border-box; - padding: var(--spacing); + --default-disabled: 111, 111, 111; +`;let Qa=class extends ht{constructor(){super(...arguments),this.label="",this.configValue=""}_selectChanged(t){const e=t.target.value;e&&this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:"default"!==e?e:""}}))}render(){const t=zo(this.hass);return Y` + t.stopPropagation()} + .value=${this.value||"default"} + fixedMenuPosition + naturalMenuWidth + > + ${this.renderColorCircle(this.value||"grey")} + + ${t("editor.form.color_picker.values.default")} + + ${Ga.map((t=>Y` + + ${function(t){return t.split("-").map((t=>function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(t))).join(" ")}(t)} + ${this.renderColorCircle(t)} + + `))} + + `}renderColorCircle(t){return Y` + + `}static get styles(){return h` + mushroom-select { + width: 100%; + } + .circle-color { + display: block; + background-color: rgb(var(--main-color)); + border-radius: 10px; + width: 20px; + height: 20px; + } + `}};n([_t()],Qa.prototype,"label",void 0),n([_t()],Qa.prototype,"value",void 0),n([_t()],Qa.prototype,"configValue",void 0),n([_t()],Qa.prototype,"hass",void 0),Qa=n([pt("mushroom-color-picker")],Qa);let ts=class extends ht{render(){return Y` + + `}_valueChanged(t){Lt(this,"value-changed",{value:t.detail.value||void 0})}};n([_t()],ts.prototype,"hass",void 0),n([_t()],ts.prototype,"selector",void 0),n([_t()],ts.prototype,"value",void 0),n([_t()],ts.prototype,"label",void 0),ts=n([pt("ha-selector-mush_color")],ts);const es=["button","input_button","scene"],is=["name","state","last-changed","last-updated","none"],os=["icon","entity-picture","none"];function ns(t,e,i,o,n){switch(t){case"name":return e;case"state":const t=o.entity_id.split(".")[0];return"timestamp"!==o.attributes.device_class&&!es.includes(t)||!Ut(o)||function(t){return t.state===Rt}(o)?i:Y` + + `;case"last-changed":return Y` + + `;case"last-updated":return Y` + + `;case"none":return}}function rs(t,e){return"entity-picture"===e?Yt(t):void 0}let as=class extends ht{constructor(){super(...arguments),this.label="",this.configValue=""}_selectChanged(t){const e=t.target.value;e&&this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:"default"!==e?e:""}}))}render(){const t=zo(this.hass);return Y` + t.stopPropagation()} + .value=${this.value||"default"} + fixedMenuPosition + naturalMenuWidth + > + + ${t("editor.form.icon_type_picker.values.default")} + + ${os.map((e=>Y` + + ${t(`editor.form.icon_type_picker.values.${e}`)||function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(e)} + + `))} + + `}static get styles(){return h` + mushroom-select { + width: 100%; + } + `}};n([_t()],as.prototype,"label",void 0),n([_t()],as.prototype,"value",void 0),n([_t()],as.prototype,"configValue",void 0),n([_t()],as.prototype,"hass",void 0),as=n([pt("mushroom-icon-type-picker")],as);let ss=class extends ht{render(){return Y` + + `}_valueChanged(t){Lt(this,"value-changed",{value:t.detail.value||void 0})}};n([_t()],ss.prototype,"hass",void 0),n([_t()],ss.prototype,"selector",void 0),n([_t()],ss.prototype,"value",void 0),n([_t()],ss.prototype,"label",void 0),ss=n([pt("ha-selector-mush_icon_type")],ss);let ls=class extends ht{constructor(){super(...arguments),this.label="",this.configValue=""}_selectChanged(t){const e=t.target.value;e&&this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:"default"!==e?e:""}}))}render(){var t;const e=zo(this.hass);return Y` + t.stopPropagation()} + .value=${this.value||"default"} + fixedMenuPosition + naturalMenuWidth + > + + ${e("editor.form.info_picker.values.default")} + + ${(null!==(t=this.infos)&&void 0!==t?t:is).map((t=>Y` + + ${e(`editor.form.info_picker.values.${t}`)||function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(t)} + + `))} + + `}static get styles(){return h` + mushroom-select { + width: 100%; + } + `}};n([_t()],ls.prototype,"label",void 0),n([_t()],ls.prototype,"value",void 0),n([_t()],ls.prototype,"configValue",void 0),n([_t()],ls.prototype,"infos",void 0),n([_t()],ls.prototype,"hass",void 0),ls=n([pt("mushroom-info-picker")],ls);let cs=class extends ht{render(){return Y` + + `}_valueChanged(t){Lt(this,"value-changed",{value:t.detail.value||void 0})}};n([_t()],cs.prototype,"hass",void 0),n([_t()],cs.prototype,"selector",void 0),n([_t()],cs.prototype,"value",void 0),n([_t()],cs.prototype,"label",void 0),cs=n([pt("ha-selector-mush_info")],cs);const ds=["default","horizontal","vertical"],us={default:"mdi:card-text-outline",vertical:"mdi:focus-field-vertical",horizontal:"mdi:focus-field-horizontal"};let hs=class extends ht{constructor(){super(...arguments),this.label="",this.configValue=""}_selectChanged(t){const e=t.target.value;e&&this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:"default"!==e?e:""}}))}render(){const t=zo(this.hass),e=this.value||"default";return Y` + t.stopPropagation()} + .value=${e} + fixedMenuPosition + naturalMenuWidth + > + + ${ds.map((e=>Y` + + ${t(`editor.form.layout_picker.values.${e}`)} + + + `))} + + `}static get styles(){return h` + mushroom-select { + width: 100%; + } + `}};n([_t()],hs.prototype,"label",void 0),n([_t()],hs.prototype,"value",void 0),n([_t()],hs.prototype,"configValue",void 0),n([_t()],hs.prototype,"hass",void 0),hs=n([pt("mushroom-layout-picker")],hs);let ms=class extends ht{render(){return Y` + + `}_valueChanged(t){Lt(this,"value-changed",{value:t.detail.value||void 0})}};n([_t()],ms.prototype,"hass",void 0),n([_t()],ms.prototype,"selector",void 0),n([_t()],ms.prototype,"value",void 0),n([_t()],ms.prototype,"label",void 0),ms=n([pt("ha-selector-mush_layout")],ms);Tt((t=>{const e={};for(const i of t)e[i.entity_id]=i;return e})),Tt((t=>{const e={};for(const i of t)e[i.id]=i;return e}));const ps={armed_home:{feature:1,service:"alarm_arm_home",icon:"mdi:home"},armed_away:{feature:2,service:"alarm_arm_away",icon:"mdi:lock"},armed_night:{feature:4,service:"alarm_arm_night",icon:"mdi:moon-waning-crescent"},armed_vacation:{feature:32,service:"alarm_arm_vacation",icon:"mdi:airplane"},armed_custom_bypass:{feature:16,service:"alarm_arm_custom_bypass",icon:"mdi:shield"},disarmed:{service:"alarm_disarm",icon:"mdi:shield-off"}};let fs=class extends ht{constructor(){super(...arguments),this.icon=""}render(){return Y` +
+ +
+ `}static get styles(){return h` + :host { + --main-color: rgb(var(--rgb-grey)); + --icon-color: rgb(var(--rgb-white)); + } + .badge { display: flex; - flex-direction: column; - justify-content: var(--layout-align); - height: auto; - } - ha-card.fill-container { + align-items: center; + justify-content: center; + line-height: 0; + width: var(--badge-size); + height: var(--badge-size); + font-size: var(--badge-size); + border-radius: var(--badge-border-radius); + background-color: var(--main-color); + transition: background-color 280ms ease-in-out; + } + .badge ha-icon { + --mdc-icon-size: var(--badge-icon-size); + color: var(--icon-color); + } + `}};n([_t()],fs.prototype,"icon",void 0),fs=n([pt("mushroom-badge-icon")],fs);let gs=class extends ht{constructor(){super(...arguments),this.title="",this.disabled=!1}render(){return Y` + + `}static get styles(){return h` + :host { + --icon-color: var(--primary-text-color); + --icon-color-disabled: rgb(var(--rgb-disabled)); + --bg-color: rgba(var(--rgb-primary-text-color), 0.05); + --bg-color-disabled: rgba(var(--rgb-disabled), 0.2); + height: var(--control-height); + width: calc(var(--control-height) * var(--control-button-ratio)); + flex: none; + } + .button { + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + width: 100%; height: 100%; - } - :host([layout="grid"]) ha-card, - :host([in-grid]) ha-card { - height: 100%; - } - :host([layout="grid"]) ha-card mushroom-card, - :host([in-grid]) ha-card mushroom-card { - height: 100%; - } - .actions { + border-radius: var(--control-border-radius); + border: none; + background-color: var(--bg-color); + transition: background-color 280ms ease-in-out; + font-size: var(--control-height); + margin: 0; + padding: 0; + box-sizing: border-box; + line-height: 0; + } + .button:disabled { + cursor: not-allowed; + background-color: var(--bg-color-disabled); + } + .button ::slotted(*) { + --mdc-icon-size: var(--control-icon-size); + color: var(--icon-color); + pointer-events: none; + } + .button:disabled ::slotted(*) { + color: var(--icon-color-disabled); + } + `}};n([_t()],gs.prototype,"title",void 0),n([_t({type:Boolean})],gs.prototype,"disabled",void 0),gs=n([pt("mushroom-button")],gs);let _s=class extends ht{constructor(){super(...arguments),this.fill=!1,this.rtl=!1}render(){return Y` +
+ +
+ `}static get styles(){return h` + :host { display: flex; flex-direction: row; - align-items: flex-start; - justify-content: flex-start; - overflow-x: auto; - overflow-y: hidden; - scrollbar-width: none; /* Firefox */ - -ms-overflow-style: none; /* IE 10+ */ - } - .actions::-webkit-scrollbar { - background: transparent; /* Chrome/Safari/Webkit */ - height: 0px; - } - .actions *:not(:last-child) { + width: 100%; + } + .container { + width: 100%; + display: flex; + flex-direction: row; + justify-content: flex-end; + } + .container ::slotted(*:not(:last-child)) { margin-right: var(--spacing); - } - .actions[rtl] *:not(:last-child) { + } + :host([rtl]) .container ::slotted(*:not(:last-child)) { margin-right: initial; margin-left: var(--spacing); - } - .unavailable { - --main-color: rgb(var(--rgb-warning)); - } - .not-found { - --main-color: rgb(var(--rgb-danger)); - } - mushroom-state-item[disabled] { - cursor: initial; - } -`;function Pl(e){const i=window;i.customCards=i.customCards||[];const o=e.type.replace("-card","").replace("mushroom-","");i.customCards.push(Object.assign(Object.assign({},e),{preview:!0,documentationURL:`${t}/blob/main/docs/cards/${o}.md`}))}const Nl="mushroom",Rl=`${Nl}-alarm-control-panel-card`,Fl=`${Rl}-editor`,Vl=["alarm_control_panel"],Bl={disarmed:"var(--rgb-state-alarm-disarmed)",armed:"var(--rgb-state-alarm-armed)",triggered:"var(--rgb-state-alarm-triggered)",unavailable:"var(--rgb-warning)"};function Ul(t){var e;return null!==(e=Bl[t.split("_")[0]])&&void 0!==e?e:"var(--rgb-grey)"}function Hl(t){return["arming","triggered","pending",Nt].indexOf(t)>=0}Pl({type:Rl,name:"Mushroom Alarm Control Panel Card",description:"Card for alarm control panel"});let Yl=class extends Dl{static async getConfigElement(){return await Promise.resolve().then((function(){return Wd})),document.createElement(Fl)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>Vl.includes(t.split(".")[0])));return{type:`custom:${Rl}`,entity:e[0],states:["armed_home","armed_away"]}}get hasControls(){var t,e;return Boolean(null===(e=null===(t=this._config)||void 0===t?void 0:t.states)||void 0===e?void 0:e.length)}_onTap(t,e){t.stopPropagation(),(async(t,e,i,o)=>{var n,r;const{service:a}=pl[o];let l;if("disarmed"!==o&&i.attributes.code_arm_required||"disarmed"===o&&i.attributes.code_format){const a=await((t,e)=>t.callWS({type:"config/entity_registry/get",entity_id:e}))(e,i.entity_id).catch((()=>{}));if(!(null===(r=null===(n=null==a?void 0:a.options)||void 0===n?void 0:n.alarm_control_panel)||void 0===r?void 0:r.default_code)){const n="disarmed"===o,r=await window.loadCardHelpers(),a=await r.showEnterCodeDialog(t,{codeFormat:i.attributes.code_format,title:e.localize("ui.card.alarm_control_panel."+(n?"disarm":"arm")),submitText:e.localize("ui.card.alarm_control_panel."+(n?"disarm":"arm"))});if(null==a)throw new Error("Code dialog closed");l=a}}await e.callService("alarm_control_panel",a,{entity_id:i.entity_id,code:l})})(this,this.hass,this._stateObj,e)}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this.hass||!this._config||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$l(this._config),n=rl(t,o.icon_type),r=this._config.states&&this._config.states.length>0?function(t){return"disarmed"===t.state}(t)?this._config.states.map((t=>({mode:t}))):[{mode:"disarmed"}]:[],a=function(t){return Nt!==t.state}(t),l=Ie(this.hass);return Y` - - - - ${n?this.renderPicture(n):this.renderIcon(t,i)} - ${this.renderBadge(t)} - ${this.renderStateInfo(t,o,e)}; - - ${r.length>0?Y` - - ${r.map((t=>Y` - this._onTap(e,t.mode)} - .disabled=${!a} - > - - - - `))} - - `:K} - - - `}renderIcon(t,e){const i=Ul(t.state),o=Hl(t.state);return Y` - - + } + .container > ::slotted(mushroom-button) { + width: 0; + flex-grow: 0; + flex-shrink: 1; + flex-basis: calc(var(--control-height) * var(--control-button-ratio)); + } + .container > ::slotted(mushroom-input-number) { + width: 0; + flex-grow: 0; + flex-shrink: 1; + flex-basis: calc( + var(--control-height) * var(--control-button-ratio) * 3 + ); + } + .container.fill > ::slotted(mushroom-button), + .container.fill > ::slotted(mushroom-input-number) { + flex-grow: 1; + } + `}};n([_t()],_s.prototype,"fill",void 0),n([_t()],_s.prototype,"rtl",void 0),_s=n([pt("mushroom-button-group")],_s);let vs=class extends ht{render(){var t,e,i;return Y` +
+ +
+ `}static get styles(){return h` + :host { + flex: 1; + display: flex; + flex-direction: column; + margin: calc(-1 * var(--ha-card-border-width, 1px)); + } + .container { + display: flex; + flex-direction: column; + flex-shrink: 0; + flex-grow: 0; + box-sizing: border-box; + justify-content: space-between; + height: 100%; + } + .container.horizontal { + flex-direction: row; + } + .container.horizontal > ::slotted(*) { + flex: 1; + min-width: 0; + } + .container.horizontal > ::slotted(*.actions) { + padding-top: 0 !important; + padding-bottom: 0 !important; + padding-left: 0 !important; + --control-spacing: var(--spacing); + --control-height: var(--icon-size); + } + .container > ::slotted(mushroom-state-item) { + flex: 1; + } + .container.no-info > ::slotted(mushroom-state-item) { + flex: none; + } + `}};n([_t()],vs.prototype,"appearance",void 0),vs=n([pt("mushroom-card")],vs);const bs={pulse:"@keyframes pulse {\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }",spin:"@keyframes spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n }",cleaning:"@keyframes cleaning {\n 0% {\n transform: rotate(0) translate(0);\n }\n 5% {\n transform: rotate(0) translate(0, -3px);\n }\n 10% {\n transform: rotate(0) translate(0, 1px);\n }\n 15% {\n transform: rotate(0) translate(0);\n }\n\n 20% {\n transform: rotate(30deg) translate(0);\n }\n 25% {\n transform: rotate(30deg) translate(0, -3px);\n }\n 30% {\n transform: rotate(30deg) translate(0, 1px);\n }\n 35% {\n transform: rotate(30deg) translate(0);\n }\n 40% {\n transform: rotate(0) translate(0);\n }\n\n 45% {\n transform: rotate(-30deg) translate(0);\n }\n 50% {\n transform: rotate(-30deg) translate(0, -3px);\n }\n 55% {\n transform: rotate(-30deg) translate(0, 1px);\n }\n 60% {\n transform: rotate(-30deg) translate(0);\n }\n 70% {\n transform: rotate(0deg) translate(0);\n }\n 100% {\n transform: rotate(0deg);\n }\n }",returning:"@keyframes returning {\n 0% {\n transform: rotate(0);\n }\n 25% {\n transform: rotate(20deg);\n }\n 50% {\n transform: rotate(0);\n }\n 75% {\n transform: rotate(-20deg);\n }\n 100% {\n transform: rotate(0);\n }\n }"},ys=h` + ${u(bs.pulse)} + `,xs=(h` + ${u(bs.spin)} + `,h` + ${u(bs.cleaning)} + `,h` + ${u(bs.returning)} + `,h` + ${u(Object.values(bs).join("\n"))} +`);let ws=class extends ht{render(){return Y` +
+ +
+ `}static get styles(){return[xs,h` + :host { + --icon-color: var(--primary-text-color); + --icon-color-disabled: rgb(var(--rgb-disabled)); + --shape-color: rgba(var(--rgb-primary-text-color), 0.05); + --shape-color-disabled: rgba(var(--rgb-disabled), 0.2); + --shape-animation: none; + --shape-outline-color: transparent; + flex: none; + } + .shape { + position: relative; + width: var(--icon-size); + height: var(--icon-size); + font-size: var(--icon-size); + border-radius: var(--icon-border-radius); + display: flex; + align-items: center; + justify-content: center; + background-color: var(--shape-color); + transition-property: background-color, box-shadow; + transition-duration: 280ms; + transition-timing-function: ease-out; + animation: var(--shape-animation); + box-shadow: 0 0 0 1px var(--shape-outline-color); + } + + .shape ::slotted(*) { + display: flex; + color: var(--icon-color); + transition: color 280ms ease-in-out; + } + ::slotted(ha-icon), + ::slotted(ha-state-icon) { + display: flex; + line-height: 0; + --mdc-icon-size: var(--icon-symbol-size); + } + .shape.disabled { + background-color: var(--shape-color-disabled); + } + .shape.disabled ::slotted(*) { + color: var(--icon-color-disabled); + } + `]}};n([_t({type:Boolean})],ws.prototype,"disabled",void 0),ws=n([pt("mushroom-shape-icon")],ws);let ks=class extends ht{constructor(){super(...arguments),this.multiline_secondary=!1}render(){var t;return Y` +
+ ${null!==(t=this.primary)&&void 0!==t?t:""} + ${this.secondary?Y`${this.secondary}`:K} +
+ `}static get styles(){return h` + .container { + min-width: 0; + flex: 1; + display: flex; + flex-direction: column; + } + .primary { + font-weight: var(--card-primary-font-weight); + font-size: var(--card-primary-font-size); + line-height: var(--card-primary-line-height); + color: var(--card-primary-color); + letter-spacing: var(--card-primary-letter-spacing); + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + } + .secondary { + font-weight: var(--card-secondary-font-weight); + font-size: var(--card-secondary-font-size); + line-height: var(--card-secondary-line-height); + color: var(--card-secondary-color); + letter-spacing: var(--card-secondary-letter-spacing); + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + } + .multiline_secondary { + white-space: pre-wrap; + } + `}};n([_t({attribute:!1})],ks.prototype,"primary",void 0),n([_t({attribute:!1})],ks.prototype,"secondary",void 0),n([_t({type:Boolean})],ks.prototype,"multiline_secondary",void 0),ks=n([pt("mushroom-state-info")],ks);let Cs=class extends ht{render(){var t,e,i,o;return Y` +
+ ${"none"!==(null===(e=this.appearance)||void 0===e?void 0:e.icon_type)?Y` +
+ + +
+ `:K} + ${"none"!==(null===(i=this.appearance)||void 0===i?void 0:i.primary_info)||"none"!==(null===(o=this.appearance)||void 0===o?void 0:o.secondary_info)?Y` +
+ +
+ `:K} +
+ `}static get styles(){return h` + :host { + display: block; + height: 100%; + } + .container { + height: 100%; + display: flex; + flex-direction: row; + align-items: center; + justify-content: center; + box-sizing: border-box; + padding: var(--spacing); + gap: var(--spacing); + } + .icon { + position: relative; + } + .icon ::slotted(*[slot="badge"]) { + position: absolute; + top: -3px; + right: -3px; + } + :host([rtl]) .icon ::slotted(*[slot="badge"]) { + right: initial; + left: -3px; + } + .info { + min-width: 0; + width: 100%; + display: flex; + flex-direction: column; + } + .container.vertical { + flex-direction: column; + } + .container.vertical .info { + text-align: center; + } + `}};function $s(t){var e,i,o,n,r;return{layout:null!==(e=t.layout)&&void 0!==e?e:Es(t),fill_container:null!==(i=t.fill_container)&&void 0!==i&&i,primary_info:null!==(o=t.primary_info)&&void 0!==o?o:Ss(t),secondary_info:null!==(n=t.secondary_info)&&void 0!==n?n:Is(t),icon_type:null!==(r=t.icon_type)&&void 0!==r?r:As(t)}}function Es(t){return t.vertical?"vertical":"default"}function As(t){return t.hide_icon?"none":t.use_entity_picture||t.use_media_artwork?"entity-picture":"icon"}function Ss(t){return t.hide_name?"none":"name"}function Is(t){return t.hide_state?"none":"state"}n([_t()],Cs.prototype,"appearance",void 0),Cs=n([pt("mushroom-state-item")],Cs);let Ts=class extends ht{constructor(){super(...arguments),this.picture_url=""}render(){return Y` +
+ +
+ `}static get styles(){return h` + :host { + --main-color: var(--primary-text-color); + --icon-color-disabled: rgb(var(--rgb-disabled)); + --shape-color: rgba(var(--rgb-primary-text-color), 0.05); + --shape-color-disabled: rgba(var(--rgb-disabled), 0.2); + flex: none; + } + .container { + position: relative; + width: var(--icon-size); + height: var(--icon-size); + flex: none; + display: flex; + align-items: center; + justify-content: center; + } + .picture { + width: 100%; + height: 100%; + border-radius: var(--icon-border-radius); + } + `}};n([_t()],Ts.prototype,"picture_url",void 0),Ts=n([pt("mushroom-shape-avatar")],Ts);const zs=h` + --spacing: var(--mush-spacing, 10px); + + /* Title */ + --title-padding: var(--mush-title-padding, 24px 12px 8px); + --title-spacing: var(--mush-title-spacing, 8px); + --title-font-size: var(--mush-title-font-size, 24px); + --title-font-weight: var(--mush-title-font-weight, normal); + --title-line-height: var(--mush-title-line-height, 32px); + --title-color: var(--mush-title-color, var(--primary-text-color)); + --title-letter-spacing: var(--mush-title-letter-spacing, -0.288px); + --subtitle-font-size: var(--mush-subtitle-font-size, 16px); + --subtitle-font-weight: var(--mush-subtitle-font-weight, normal); + --subtitle-line-height: var(--mush-subtitle-line-height, 24px); + --subtitle-color: var(--mush-subtitle-color, var(--secondary-text-color)); + --subtitle-letter-spacing: var(--mush-subtitle-letter-spacing, 0px); + + /* Card */ + --card-primary-font-size: var(--mush-card-primary-font-size, 14px); + --card-secondary-font-size: var(--mush-card-secondary-font-size, 12px); + --card-primary-font-weight: var(--mush-card-primary-font-weight, 500); + --card-secondary-font-weight: var(--mush-card-secondary-font-weight, 400); + --card-primary-line-height: var(--mush-card-primary-line-height, 20px); + --card-secondary-line-height: var(--mush-card-secondary-line-height, 16px); + --card-primary-color: var( + --mush-card-primary-color, + var(--primary-text-color) + ); + --card-secondary-color: var( + --mush-card-secondary-color, + var(--primary-text-color) + ); + --card-primary-letter-spacing: var(--mush-card-primary-letter-spacing, 0.1px); + --card-secondary-letter-spacing: var( + --mush-card-secondary-letter-spacing, + 0.4px + ); + + /* Chips */ + --chip-spacing: var(--mush-chip-spacing, 8px); + --chip-padding: var(--mush-chip-padding, 0 0.25em); + --chip-height: var(--mush-chip-height, 36px); + --chip-border-radius: var(--mush-chip-border-radius, 19px); + --chip-border-width: var( + --mush-chip-border-width, + var(--ha-card-border-width, 1px) + ); + --chip-border-color: var( + --mush-chip-border-color, + var(--ha-card-border-color, var(--divider-color)) + ); + --chip-box-shadow: var( + --mush-chip-box-shadow, + var(--ha-card-box-shadow, "none") + ); + --chip-font-size: var(--mush-chip-font-size, 0.3em); + --chip-font-weight: var(--mush-chip-font-weight, bold); + --chip-icon-size: var(--mush-chip-icon-size, 0.5em); + --chip-avatar-padding: var(--mush-chip-avatar-padding, 0.1em); + --chip-avatar-border-radius: var(--mush-chip-avatar-border-radius, 50%); + --chip-background: var( + --mush-chip-background, + var(--ha-card-background, var(--card-background-color, white)) + ); + /* Controls */ + --control-border-radius: var(--mush-control-border-radius, 12px); + --control-height: var(--mush-control-height, 42px); + --control-button-ratio: var(--mush-control-button-ratio, 1); + --control-icon-size: var(--mush-control-icon-size, 0.5em); + --control-spacing: var(--mush-control-spacing, 12px); + + /* Slider */ + --slider-threshold: var(--mush-slider-threshold); + + /* Input Number */ + --input-number-debounce: var(--mush-input-number-debounce); + + /* Layout */ + --layout-align: var(--mush-layout-align, center); + + /* Badge */ + --badge-size: var(--mush-badge-size, 16px); + --badge-icon-size: var(--mush-badge-icon-size, 0.75em); + --badge-border-radius: var(--mush-badge-border-radius, 50%); + + /* Icon */ + --icon-border-radius: var(--mush-icon-border-radius, 50%); + --icon-size: var(--mush-icon-size, 36px); + --icon-symbol-size: var(--mush-icon-symbol-size, 0.6em); +`,Os=h` + /* RGB */ + /* Standard colors */ + --rgb-red: var(--mush-rgb-red, var(--default-red)); + --rgb-pink: var(--mush-rgb-pink, var(--default-pink)); + --rgb-purple: var(--mush-rgb-purple, var(--default-purple)); + --rgb-deep-purple: var(--mush-rgb-deep-purple, var(--default-deep-purple)); + --rgb-indigo: var(--mush-rgb-indigo, var(--default-indigo)); + --rgb-blue: var(--mush-rgb-blue, var(--default-blue)); + --rgb-light-blue: var(--mush-rgb-light-blue, var(--default-light-blue)); + --rgb-cyan: var(--mush-rgb-cyan, var(--default-cyan)); + --rgb-teal: var(--mush-rgb-teal, var(--default-teal)); + --rgb-green: var(--mush-rgb-green, var(--default-green)); + --rgb-light-green: var(--mush-rgb-light-green, var(--default-light-green)); + --rgb-lime: var(--mush-rgb-lime, var(--default-lime)); + --rgb-yellow: var(--mush-rgb-yellow, var(--default-yellow)); + --rgb-amber: var(--mush-rgb-amber, var(--default-amber)); + --rgb-orange: var(--mush-rgb-orange, var(--default-orange)); + --rgb-deep-orange: var(--mush-rgb-deep-orange, var(--default-deep-orange)); + --rgb-brown: var(--mush-rgb-brown, var(--default-brown)); + --rgb-light-grey: var(--mush-rgb-light-grey, var(--default-light-grey)); + --rgb-grey: var(--mush-rgb-grey, var(--default-grey)); + --rgb-dark-grey: var(--mush-rgb-dark-grey, var(--default-dark-grey)); + --rgb-blue-grey: var(--mush-rgb-blue-grey, var(--default-blue-grey)); + --rgb-black: var(--mush-rgb-black, var(--default-black)); + --rgb-white: var(--mush-rgb-white, var(--default-white)); + --rgb-disabled: var(--mush-rgb-disabled, var(--default-disabled)); + + /* Action colors */ + --rgb-info: var(--mush-rgb-info, var(--rgb-blue)); + --rgb-success: var(--mush-rgb-success, var(--rgb-green)); + --rgb-warning: var(--mush-rgb-warning, var(--rgb-orange)); + --rgb-danger: var(--mush-rgb-danger, var(--rgb-red)); + + /* State colors */ + --rgb-state-vacuum: var(--mush-rgb-state-vacuum, var(--rgb-teal)); + --rgb-state-fan: var(--mush-rgb-state-fan, var(--rgb-green)); + --rgb-state-light: var(--mush-rgb-state-light, var(--rgb-orange)); + --rgb-state-entity: var(--mush-rgb-state-entity, var(--rgb-blue)); + --rgb-state-media-player: var( + --mush-rgb-state-media-player, + var(--rgb-indigo) + ); + --rgb-state-lock: var(--mush-rgb-state-lock, var(--rgb-blue)); + --rgb-state-number: var(--mush-rgb-state-number, var(--rgb-blue)); + --rgb-state-humidifier: var(--mush-rgb-state-humidifier, var(--rgb-purple)); + + /* State alarm colors */ + --rgb-state-alarm-disarmed: var( + --mush-rgb-state-alarm-disarmed, + var(--rgb-info) + ); + --rgb-state-alarm-armed: var( + --mush-rgb-state-alarm-armed, + var(--rgb-success) + ); + --rgb-state-alarm-triggered: var( + --mush-rgb-state-alarm-triggered, + var(--rgb-danger) + ); + + /* State person colors */ + --rgb-state-person-home: var( + --mush-rgb-state-person-home, + var(--rgb-success) + ); + --rgb-state-person-not-home: var( + --mush-rgb-state-person-not-home, + var(--rgb-danger) + ); + --rgb-state-person-zone: var(--mush-rgb-state-person-zone, var(--rgb-info)); + --rgb-state-person-unknown: var( + --mush-rgb-state-person-unknown, + var(--rgb-grey) + ); + + /* State update colors */ + --rgb-state-update-on: var(--mush-rgb-state-update-on, var(--rgb-orange)); + --rgb-state-update-off: var(--mush-rgb-update-off, var(--rgb-green)); + --rgb-state-update-installing: var( + --mush-rgb-update-installing, + var(--rgb-blue) + ); + + /* State lock colors */ + --rgb-state-lock-locked: var(--mush-rgb-state-lock-locked, var(--rgb-green)); + --rgb-state-lock-unlocked: var( + --mush-rgb-state-lock-unlocked, + var(--rgb-red) + ); + --rgb-state-lock-pending: var( + --mush-rgb-state-lock-pending, + var(--rgb-orange) + ); + + /* State cover colors */ + --rgb-state-cover-open: var(--mush-rgb-state-cover-open, var(--rgb-blue)); + --rgb-state-cover-closed: var( + --mush-rgb-state-cover-closed, + var(--rgb-disabled) + ); + + /* State climate colors */ + --rgb-state-climate-auto: var( + --mush-rgb-state-climate-auto, + var(--rgb-green) + ); + --rgb-state-climate-cool: var(--mush-rgb-state-climate-cool, var(--rgb-blue)); + --rgb-state-climate-dry: var(--mush-rgb-state-climate-dry, var(--rgb-orange)); + --rgb-state-climate-fan-only: var( + --mush-rgb-state-climate-fan-only, + var(--rgb-teal) + ); + --rgb-state-climate-heat: var( + --mush-rgb-state-climate-heat, + var(--rgb-deep-orange) + ); + --rgb-state-climate-heat-cool: var( + --mush-rgb-state-climate-heat-cool, + var(--rgb-green) + ); + --rgb-state-climate-idle: var( + --mush-rgb-state-climate-idle, + var(--rgb-disabled) + ); + --rgb-state-climate-off: var( + --mush-rgb-state-climate-off, + var(--rgb-disabled) + ); +`;function Ms(t){return!!t&&t.themes.darkMode}class js extends ht{firstUpdated(t){this.toggleAttribute("pre-2024-8",!((t,e,i,o)=>{const[n,r,a]=t.split(".",3);return Number(n)>e||Number(n)===e&&Number(r)>=i||void 0!==o})(this.hass.config.version,2024,8))}updated(t){if(super.updated(t),t.has("hass")&&this.hass){const e=Ms(t.get("hass")),i=Ms(this.hass);e!==i&&this.toggleAttribute("dark-mode",i)}}static get styles(){return[xs,h` + :host { + ${Za} + } + :host([dark-mode]) { + ${Ja} + } + :host { + ${Os} + ${zs} + } + :host([pre-2024-8]) { + --spacing: var(--mush-spacing, 12px); + --control-height: var(--mush-control-height, 40px); + --control-spacing: var(--mush-spacing, 12px); + --icon-size: var(--mush-icon-size, 40px); + } + `]}}n([_t({attribute:!1})],js.prototype,"hass",void 0);class Ds extends js{get _stateObj(){if(!this._config||!this.hass||!this._config.entity)return;const t=this._config.entity;return this.hass.states[t]}get hasControls(){return!1}setConfig(t){this._config=Object.assign({tap_action:{action:"more-info"},hold_action:{action:"more-info"}},t)}getCardSize(){var t;let e=1;if(!this._config)return e;const i=$s(this._config);return"vertical"===i.layout&&(e+=1),"horizontal"===(null==i?void 0:i.layout)||!this.hasControls||"collapsible_controls"in this._config&&(null===(t=this._config)||void 0===t?void 0:t.collapsible_controls)||(e+=1),e}getLayoutOptions(){const t={grid_columns:2,grid_rows:1};if(!this._config)return t;const e=$s(this._config);return"vertical"===e.layout&&(t.grid_rows+=1),"horizontal"===e.layout&&(t.grid_columns=4),"horizontal"!==(null==e?void 0:e.layout)&&this.hasControls&&(t.grid_rows+=1),t}renderPicture(t){return Y` + + `}renderNotFound(t){const e=$s(t),i=Ie(this.hass),o=zo(this.hass);return Y` + + + + + - `}static get styles(){return[super.styles,Ll,h` - mushroom-state-item { - cursor: pointer; - } - mushroom-shape-icon.pulse { - --shape-animation: 1s ease 0s infinite normal none running pulse; - } - `]}};Yl=n([pt(Rl)],Yl);let Wl=class extends ht{constructor(){super(...arguments),this.icon="",this.label="",this.avatar="",this.avatarOnly=!1}render(){return Y` - - ${this.avatar?Y` `:K} - ${this.avatarOnly?K:Y` -
- -
- `} -
- `}static get styles(){return[xl,h` - :host { - --icon-color: var(--primary-text-color); - --text-color: var(--primary-text-color); - } - ha-card { - box-sizing: border-box; - height: var(--chip-height); - min-width: var(--chip-height); - font-size: var(--chip-height); - width: auto; - border-radius: var(--chip-border-radius); - display: flex; - flex-direction: row; - align-items: center; - background: var(--chip-background); - border-width: var(--chip-border-width); - border-color: var(--chip-border-color); - box-shadow: var(--chip-box-shadow); - box-sizing: content-box; - } - .avatar { - --avatar-size: calc(var(--chip-height) - 2 * var(--chip-avatar-padding)); - border-radius: var(--chip-avatar-border-radius); - height: var(--avatar-size); - width: var(--avatar-size); - margin-left: var(--chip-avatar-padding); - box-sizing: border-box; - object-fit: cover; - } - :host([rtl]) .avatar { - margin-left: initial; - margin-right: var(--chip-avatar-padding); - } - .content { - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - height: 100%; - padding: var(--chip-padding); - line-height: 0; - } - ::slotted(ha-icon), - ::slotted(ha-state-icon) { - display: flex; - line-height: 0; - --mdc-icon-size: var(--chip-icon-size); - color: var(--icon-color); - } - ::slotted(svg) { - width: var(--chip-icon-size); - height: var(--chip-icon-size); - display: flex; - } - ::slotted(span) { - font-weight: var(--chip-font-weight); - font-size: var(--chip-font-size); - line-height: 1; - color: var(--text-color); - } - ::slotted(*:not(:last-child)) { - margin-right: 0.15em; - } - :host([rtl]) ::slotted(*:not(:last-child)) { - margin-right: initial; - margin-left: 0.15em; - } - `]}};n([_t()],Wl.prototype,"icon",void 0),n([_t()],Wl.prototype,"label",void 0),n([_t()],Wl.prototype,"avatar",void 0),n([_t()],Wl.prototype,"avatarOnly",void 0),Wl=n([pt("mushroom-chip")],Wl);const Xl=t=>{try{const e=Kl(t.type);if(customElements.get(e)){const i=document.createElement(e,t);return i.setConfig(t),i}const i=document.createElement(e);return customElements.whenDefined(e).then((()=>{try{customElements.upgrade(i),i.setConfig(t)}catch(t){}})),i}catch(t){return void console.error(t)}};function Kl(t){return`${Nl}-${t}-chip`}function Gl(t){return`${Nl}-${t}-chip-editor`}let ql=class extends ht{static async getConfigElement(){return await Promise.resolve().then((function(){return Gd})),document.createElement(Gl("entity"))}static async getStubConfig(t){return{type:"entity",entity:Object.keys(t.states)[0]}}setConfig(t){this._config=t}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){var t;if(!this.hass||!this._config||!this._config.entity)return K;const e=this._config.entity,i=this.hass.states[e];if(!i)return K;const o=this._config.name||i.attributes.friendly_name||"",n=this._config.icon,r=this._config.icon_color,a=this._config.use_entity_picture?Yt(i):void 0,l=this.hass.formatEntityState?this.hass.formatEntityState(i):ne(this.hass.localize,i,this.hass.locale,this.hass.config,this.hass.entities),s=Bt(i),c=nl(null!==(t=this._config.content_info)&&void 0!==t?t:"state",o,l,i,this.hass),d=Ie(this.hass);return Y` - - ${a?K:this.renderIcon(i,n,r,s)} - ${c?Y`${c}`:K} - - `}renderIcon(t,e,i,o){const n={};if(i){const t=qa(i);n["--color"]=`rgb(${t})`}return Y` - - `}static get styles(){return h` - mushroom-chip { - cursor: pointer; - } - ha-state-icon.active { - color: var(--color); - } - `}};n([_t({attribute:!1})],ql.prototype,"hass",void 0),n([vt()],ql.prototype,"_config",void 0),ql=n([pt(Kl("entity"))],ql);const Zl=new Set(["partlycloudy","cloudy","fog","windy","windy-variant","hail","rainy","snowy","snowy-rainy","pouring","lightning","lightning-rainy"]),Jl=new Set(["hail","rainy","pouring"]),Ql=new Set(["windy","windy-variant"]),ts=new Set(["snowy","snowy-rainy"]),es=new Set(["lightning","lightning-rainy"]),is=h` - .rain { - fill: var(--weather-icon-rain-color, #30b3ff); - } - .sun { - fill: var(--weather-icon-sun-color, #fdd93c); - } - .moon { - fill: var(--weather-icon-moon-color, #fcf497); - } - .cloud-back { - fill: var(--weather-icon-cloud-back-color, #d4d4d4); - } - .cloud-front { - fill: var(--weather-icon-cloud-front-color, #f9f9f9); - } -`,os=(t,e)=>W` + + +
+
+
+ `}renderIcon(t,e){const i=Bt(t);return Y` + + + `}renderBadge(t){return!Ut(t)?Y` + + `:K}renderStateInfo(t,e,i,o){const n=this.hass.formatEntityState?this.hass.formatEntityState(t):ne(this.hass.localize,t,this.hass.locale,this.hass.config,this.hass.entities),r=null!=o?o:n,a=ns(e.primary_info,i,r,t,this.hass),s=ns(e.secondary_info,i,r,t,this.hass);return Y` + + `}}n([vt()],Ds.prototype,"_config",void 0),n([_t({reflect:!0,type:String})],Ds.prototype,"layout",void 0);const Ls=h` + ha-card { + box-sizing: border-box; + display: flex; + flex-direction: column; + justify-content: var(--layout-align); + height: auto; + display: flex; + flex-direction: column; + } + ha-card.fill-container { + height: 100%; + } + :host([layout="grid"]) ha-card { + height: 100%; + } + .actions { + display: flex; + flex-direction: row; + align-items: center; + justify-content: flex-start; + overflow-x: auto; + overflow-y: hidden; + scrollbar-width: none; /* Firefox */ + -ms-overflow-style: none; /* IE 10+ */ + padding: var(--control-spacing); + padding-top: 0; + box-sizing: border-box; + gap: var(--control-spacing); + } + .actions::-webkit-scrollbar { + background: transparent; /* Chrome/Safari/Webkit */ + height: 0px; + } + .unavailable { + --main-color: rgb(var(--rgb-warning)); + } + .not-found { + --main-color: rgb(var(--rgb-danger)); + } + mushroom-state-item[disabled] { + cursor: initial; + } +`;function Ps(e){const i=window;i.customCards=i.customCards||[];const o=e.type.replace("-card","").replace("mushroom-","");i.customCards.push(Object.assign(Object.assign({},e),{preview:!0,documentationURL:`${t}/blob/main/docs/cards/${o}.md`}))}const Ns="mushroom",Rs=`${Ns}-alarm-control-panel-card`,Fs=`${Rs}-editor`,Vs=["alarm_control_panel"],Bs={disarmed:"var(--rgb-state-alarm-disarmed)",armed:"var(--rgb-state-alarm-armed)",triggered:"var(--rgb-state-alarm-triggered)",unavailable:"var(--rgb-warning)"};function Us(t){var e;return null!==(e=Bs[t.split("_")[0]])&&void 0!==e?e:"var(--rgb-grey)"}function Hs(t){return["arming","triggered","pending",Nt].indexOf(t)>=0}Ps({type:Rs,name:"Mushroom Alarm Control Panel Card",description:"Card for alarm control panel"});let Ys=class extends Ds{static async getConfigElement(){return await Promise.resolve().then((function(){return Zd})),document.createElement(Fs)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>Vs.includes(t.split(".")[0])));return{type:`custom:${Rs}`,entity:e[0],states:["armed_home","armed_away"]}}get hasControls(){var t,e;return Boolean(null===(e=null===(t=this._config)||void 0===t?void 0:t.states)||void 0===e?void 0:e.length)}_onTap(t,e){t.stopPropagation(),(async(t,e,i,o)=>{var n,r;const{service:a}=ps[o];let s;if("disarmed"!==o&&i.attributes.code_arm_required||"disarmed"===o&&i.attributes.code_format){const a=await((t,e)=>t.callWS({type:"config/entity_registry/get",entity_id:e}))(e,i.entity_id).catch((()=>{}));if(!(null===(r=null===(n=null==a?void 0:a.options)||void 0===n?void 0:n.alarm_control_panel)||void 0===r?void 0:r.default_code)){const n="disarmed"===o,r=await window.loadCardHelpers(),a=await r.showEnterCodeDialog(t,{codeFormat:i.attributes.code_format,title:e.localize("ui.card.alarm_control_panel."+(n?"disarm":"arm")),submitText:e.localize("ui.card.alarm_control_panel."+(n?"disarm":"arm"))});if(null==a)throw new Error("Code dialog closed");s=a}}await e.callService("alarm_control_panel",a,{entity_id:i.entity_id,code:s})})(this,this.hass,this._stateObj,e)}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this.hass||!this._config||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$s(this._config),n=rs(t,o.icon_type),r=this._config.states&&this._config.states.length>0?function(t){return"disarmed"===t.state}(t)?this._config.states.map((t=>({mode:t}))):[{mode:"disarmed"}]:[],a=function(t){return Nt!==t.state}(t),s=Ie(this.hass);return Y` + + + + ${n?this.renderPicture(n):this.renderIcon(t,i)} + ${this.renderBadge(t)} + ${this.renderStateInfo(t,o,e)}; + + ${r.length>0?Y` +
+ + ${r.map((t=>Y` + this._onTap(e,t.mode)} + .disabled=${!a} + > + + + + `))} + +
+ `:K} +
+
+ `}renderIcon(t,e){const i=Us(t.state),o=Hs(t.state);return Y` + + + + `}static get styles(){return[super.styles,Ls,h` + mushroom-state-item { + cursor: pointer; + } + mushroom-shape-icon.pulse { + --shape-animation: 1s ease 0s infinite normal none running pulse; + } + `]}};Ys=n([pt(Rs)],Ys);let Ws=class extends ht{constructor(){super(...arguments),this.icon="",this.label="",this.avatar="",this.avatarOnly=!1}render(){return Y` + + ${this.avatar?Y` `:K} + ${this.avatarOnly?K:Y` +
+ +
+ `} +
+ `}static get styles(){return[xs,h` + :host { + --icon-color: var(--primary-text-color); + --text-color: var(--primary-text-color); + } + ha-card { + box-sizing: border-box; + height: var(--chip-height); + min-width: var(--chip-height); + font-size: var(--chip-height); + width: auto; + border-radius: var(--chip-border-radius); + display: flex; + flex-direction: row; + align-items: center; + background: var(--chip-background); + border-width: var(--chip-border-width); + border-color: var(--chip-border-color); + box-shadow: var(--chip-box-shadow); + box-sizing: content-box; + } + .avatar { + --avatar-size: calc( + var(--chip-height) - 2 * var(--chip-avatar-padding) + ); + border-radius: var(--chip-avatar-border-radius); + height: var(--avatar-size); + width: var(--avatar-size); + margin-left: var(--chip-avatar-padding); + box-sizing: border-box; + object-fit: cover; + } + :host([rtl]) .avatar { + margin-left: initial; + margin-right: var(--chip-avatar-padding); + } + .content { + display: flex; + flex-direction: row; + align-items: center; + justify-content: center; + height: 100%; + padding: var(--chip-padding); + line-height: 0; + } + ::slotted(ha-icon), + ::slotted(ha-state-icon) { + display: flex; + line-height: 0; + --mdc-icon-size: var(--chip-icon-size); + color: var(--icon-color); + } + ::slotted(svg) { + width: var(--chip-icon-size); + height: var(--chip-icon-size); + display: flex; + } + ::slotted(span) { + font-weight: var(--chip-font-weight); + font-size: var(--chip-font-size); + line-height: 1; + color: var(--text-color); + } + ::slotted(*:not(:last-child)) { + margin-right: 0.15em; + } + :host([rtl]) ::slotted(*:not(:last-child)) { + margin-right: initial; + margin-left: 0.15em; + } + `]}};n([_t()],Ws.prototype,"icon",void 0),n([_t()],Ws.prototype,"label",void 0),n([_t()],Ws.prototype,"avatar",void 0),n([_t()],Ws.prototype,"avatarOnly",void 0),Ws=n([pt("mushroom-chip")],Ws);const Xs=t=>{try{const e=Ks(t.type);if(customElements.get(e)){const i=document.createElement(e,t);return i.setConfig(t),i}const i=document.createElement(e);return customElements.whenDefined(e).then((()=>{try{customElements.upgrade(i),i.setConfig(t)}catch(t){}})),i}catch(t){return void console.error(t)}};function Ks(t){return`${Ns}-${t}-chip`}function Gs(t){return`${Ns}-${t}-chip-editor`}let qs=class extends ht{static async getConfigElement(){return await Promise.resolve().then((function(){return tu})),document.createElement(Gs("entity"))}static async getStubConfig(t){return{type:"entity",entity:Object.keys(t.states)[0]}}setConfig(t){this._config=t}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){var t;if(!this.hass||!this._config||!this._config.entity)return K;const e=this._config.entity,i=this.hass.states[e];if(!i)return K;const o=this._config.name||i.attributes.friendly_name||"",n=this._config.icon,r=this._config.icon_color,a=this._config.use_entity_picture?Yt(i):void 0,s=this.hass.formatEntityState?this.hass.formatEntityState(i):ne(this.hass.localize,i,this.hass.locale,this.hass.config,this.hass.entities),l=Bt(i),c=ns(null!==(t=this._config.content_info)&&void 0!==t?t:"state",o,s,i,this.hass),d=Ie(this.hass);return Y` + + ${a?K:this.renderIcon(i,n,r,l)} + ${c?Y`${c}`:K} + + `}renderIcon(t,e,i,o){const n={};if(i){const t=qa(i);n["--color"]=`rgb(${t})`}return Y` + + `}static get styles(){return h` + mushroom-chip { + cursor: pointer; + } + ha-state-icon.active { + color: var(--color); + } + `}};n([_t({attribute:!1})],qs.prototype,"hass",void 0),n([vt()],qs.prototype,"_config",void 0),qs=n([pt(Ks("entity"))],qs);const Zs=new Set(["partlycloudy","cloudy","fog","windy","windy-variant","hail","rainy","snowy","snowy-rainy","pouring","lightning","lightning-rainy"]),Js=new Set(["hail","rainy","pouring"]),Qs=new Set(["windy","windy-variant"]),tl=new Set(["snowy","snowy-rainy"]),el=new Set(["lightning","lightning-rainy"]),il=h` + .rain { + fill: var(--weather-icon-rain-color, #30b3ff); + } + .sun { + fill: var(--weather-icon-sun-color, #fdd93c); + } + .moon { + fill: var(--weather-icon-moon-color, #fcf497); + } + .cloud-back { + fill: var(--weather-icon-cloud-back-color, #d4d4d4); + } + .cloud-front { + fill: var(--weather-icon-cloud-front-color, #f9f9f9); + } +`,ol=(t,e)=>W` `:""} - ${Zl.has(t)?W` + ${Zs.has(t)?W` `:""} - ${Jl.has(t)?W` + ${Js.has(t)?W` `:""} - ${Ql.has(t)?W` + ${Qs.has(t)?W` `:""} - ${ts.has(t)?W` + ${tl.has(t)?W` `:""} - ${es.has(t)?W` + ${el.has(t)?W` `:""} - `;let ns=class extends ht{static async getConfigElement(){return await Promise.resolve().then((function(){return Qd})),document.createElement(Gl("weather"))}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>"weather"===t.split(".")[0]));return{type:"weather",entity:e[0]}}setConfig(t){this._config=t}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this.hass||!this._config||!this._config.entity)return K;const t=this._config.entity,e=this.hass.states[t];if(!e)return K;const i=os(e.state,!0),o=[];if(this._config.show_conditions){const t=this.hass.formatEntityState?this.hass.formatEntityState(e):ne(this.hass.localize,e,this.hass.locale,this.hass.config,this.hass.entities);o.push(t)}if(this._config.show_temperature){const t=`${te(e.attributes.temperature,this.hass.locale)} ${this.hass.config.unit_system.temperature}`;o.push(t)}const n=Ie(this.hass);return Y` - - ${i} - ${o.length>0?Y`${o.join(" / ")}`:K} - - `}static get styles(){return[is,h` - mushroom-chip { - cursor: pointer; - } - `]}};n([_t({attribute:!1})],ns.prototype,"hass",void 0),n([vt()],ns.prototype,"_config",void 0),ns=n([pt(Kl("weather"))],ns);const rs="mdi:arrow-left";let as=class extends ht{static async getConfigElement(){return await Promise.resolve().then((function(){return iu})),document.createElement(Gl("back"))}static async getStubConfig(t){return{type:"back"}}setConfig(t){this._config=t}_handleAction(){window.history.back()}render(){if(!this.hass||!this._config)return K;const t=this._config.icon||rs,e=Ie(this.hass);return Y` - - - - `}static get styles(){return h` - mushroom-chip { - cursor: pointer; - } - `}};n([_t({attribute:!1})],as.prototype,"hass",void 0),n([vt()],as.prototype,"_config",void 0),as=n([pt(Kl("back"))],as);const ls="mdi:flash";let ss=class extends ht{static async getConfigElement(){return await Promise.resolve().then((function(){return ru})),document.createElement(Gl("action"))}static async getStubConfig(t){return{type:"action"}}setConfig(t){this._config=t}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this.hass||!this._config)return K;const t=this._config.icon||ls,e=this._config.icon_color,i={};if(e){const t=qa(e);i["--color"]=`rgb(${t})`}const o=Ie(this.hass);return Y` - - - - `}static get styles(){return h` - mushroom-chip { - cursor: pointer; - } - ha-state-icon { - color: var(--color); - } - `}};n([_t({attribute:!1})],ss.prototype,"hass",void 0),n([vt()],ss.prototype,"_config",void 0),ss=n([pt(Kl("action"))],ss);const cs="mdi:menu";let ds=class extends ht{static async getConfigElement(){return await Promise.resolve().then((function(){return su})),document.createElement(Gl("menu"))}static async getStubConfig(t){return{type:"menu"}}setConfig(t){this._config=t}_handleAction(){Lt(this,"hass-toggle-menu")}render(){if(!this.hass||!this._config)return K;const t=this._config.icon||cs,e=Ie(this.hass);return Y` - - - - `}static get styles(){return h` - mushroom-chip { - cursor: pointer; - } - `}};n([_t({attribute:!1})],ds.prototype,"hass",void 0),n([vt()],ds.prototype,"_config",void 0),ds=n([pt(Kl("menu"))],ds);const us=new Set(["clear-night","cloudy","fog","lightning","lightning-rainy","partlycloudy","pouring","rainy","hail","snowy","snowy-rainy","sunny","windy","windy-variant"]),hs=t=>{if(!t||!t.startsWith("weather-"))return;const e=t.replace("weather-","");return us.has(e)?os(e,!0):void 0},ms=["content","icon","icon_color","picture"];let ps=class extends ht{constructor(){super(...arguments),this._templateResults={},this._unsubRenderTemplates=new Map}static async getConfigElement(){return await Promise.resolve().then((function(){return gu})),document.createElement(Gl("template"))}static async getStubConfig(t){return{type:"template"}}setConfig(t){ms.forEach((e=>{var i,o;(null===(i=this._config)||void 0===i?void 0:i[e])===t[e]&&(null===(o=this._config)||void 0===o?void 0:o.entity)==t.entity||this._tryDisconnectKey(e)})),this._config=Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t)}connectedCallback(){super.connectedCallback(),this._tryConnect()}disconnectedCallback(){this._tryDisconnect()}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}isTemplate(t){var e;const i=null===(e=this._config)||void 0===e?void 0:e[t];return null==i?void 0:i.includes("{")}getValue(t){var e,i,o;return this.isTemplate(t)?null===(i=null===(e=this._templateResults[t])||void 0===e?void 0:e.result)||void 0===i?void 0:i.toString():null===(o=this._config)||void 0===o?void 0:o[t]}render(){if(!this.hass||!this._config)return K;const t=this.getValue("icon"),e=this.getValue("icon_color"),i=this.getValue("content"),o=this.getValue("picture"),n=Ie(this.hass),r=hs(t);return Y` - - ${o?K:r||(t?this.renderIcon(t,e):K)} - ${i?this.renderContent(i):K} - - `}renderIcon(t,e){const i={};if(e){const t=qa(e);i["--color"]=`rgb(${t})`}return Y``}renderContent(t){return Y`${t}`}updated(t){super.updated(t),this._config&&this.hass&&this._tryConnect()}async _tryConnect(){ms.forEach((t=>{this._tryConnectKey(t)}))}async _tryConnectKey(t){var e,i;if(void 0===this._unsubRenderTemplates.get(t)&&this.hass&&this._config&&this.isTemplate(t))try{const i=Fe(this.hass.connection,(e=>{this._templateResults=Object.assign(Object.assign({},this._templateResults),{[t]:e})}),{template:null!==(e=this._config[t])&&void 0!==e?e:"",entity_ids:this._config.entity_id,variables:{config:this._config,user:this.hass.user.name,entity:this._config.entity},strict:!0});this._unsubRenderTemplates.set(t,i),await i}catch(e){const o={result:null!==(i=this._config[t])&&void 0!==i?i:"",listeners:{all:!1,domains:[],entities:[],time:!1}};this._templateResults=Object.assign(Object.assign({},this._templateResults),{[t]:o}),this._unsubRenderTemplates.delete(t)}}async _tryDisconnect(){ms.forEach((t=>{this._tryDisconnectKey(t)}))}async _tryDisconnectKey(t){const e=this._unsubRenderTemplates.get(t);if(e)try{(await e)(),this._unsubRenderTemplates.delete(t)}catch(t){if("not_found"!==t.code&&"template_error"!==t.code)throw t}}static get styles(){return h` - mushroom-chip { - cursor: pointer; - } - ha-state-icon { - color: var(--color); - } - ${is} - `}};n([_t({attribute:!1})],ps.prototype,"hass",void 0),n([vt()],ps.prototype,"_config",void 0),n([vt()],ps.prototype,"_templateResults",void 0),n([vt()],ps.prototype,"_unsubRenderTemplates",void 0),ps=n([pt(Kl("template"))],ps);const fs=()=>{var t,e,i;customElements.get("ha-form")||null===(t=customElements.get("hui-button-card"))||void 0===t||t.getConfigElement(),customElements.get("ha-entity-picker")||null===(e=customElements.get("hui-entities-card"))||void 0===e||e.getConfigElement(),customElements.get("ha-card-conditions-editor")||null===(i=customElements.get("hui-conditional-card"))||void 0===i||i.getConfigElement()},gs=Kl("conditional"),_s=async()=>{if(customElements.get(gs))return;if(!customElements.get("hui-conditional-base")){(await window.loadCardHelpers()).createCardElement({type:"conditional",card:{type:"button"},conditions:[]})}const t=await(async t=>{let e=customElements.get(t);return e||(await customElements.whenDefined(t),customElements.get(t))})("hui-conditional-base");class e extends t{static async getConfigElement(){return await Promise.resolve().then((function(){return kp})),document.createElement(Gl("conditional"))}static async getStubConfig(){return{type:"conditional",conditions:[]}}setConfig(t){if(this.validateConfig(t),!t.chip)throw new Error("No chip configured");this._element=Xl(t.chip)}}customElements.get(gs)||customElements.define(gs,e)};function vs(t){return null!=t.attributes.brightness?Math.max(Math.round(100*t.attributes.brightness/255),1):void 0}function bs(t){return null!=t.attributes.rgb_color?t.attributes.rgb_color:void 0}function ys(t){return Ka.rgb(t).l()>96}function xs(t){return Ka.rgb(t).l()>97}function ws(t){return(t=>{var e;return(null===(e=t.attributes.supported_color_modes)||void 0===e?void 0:e.some((t=>De.includes(t))))||!1})(t)}function ks(t){return(t=>{var e;return(null===(e=t.attributes.supported_color_modes)||void 0===e?void 0:e.some((t=>Le.includes(t))))||!1})(t)}let Cs=class extends ht{static async getConfigElement(){return await Promise.resolve().then((function(){return Op})),document.createElement(Gl("light"))}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>"light"===t.split(".")[0]));return{type:"light",entity:e[0]}}setConfig(t){this._config=Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t)}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){var t,e;if(!this.hass||!this._config||!this._config.entity)return K;const i=this._config.entity,o=this.hass.states[i];if(!o)return K;const n=this._config.name||o.attributes.friendly_name||"",r=this._config.icon,a=this.hass.formatEntityState?this.hass.formatEntityState(o):ne(this.hass.localize,o,this.hass.locale,this.hass.config,this.hass.entities),l=Bt(o),s=bs(o),c={};if(s&&(null===(t=this._config)||void 0===t?void 0:t.use_light_color)){const t=s.join(",");c["--color"]=`rgb(${t})`,xs(s)&&(c["--color"]="rgba(var(--rgb-primary-text-color), 0.2)")}const d=nl(null!==(e=this._config.content_info)&&void 0!==e?e:"state",n,a,o,this.hass),u=Ie(this.hass);return Y` - - - ${d?Y`${d}`:K} - - `}static get styles(){return h` - :host { - --color: rgb(var(--rgb-state-light)); - } - mushroom-chip { - cursor: pointer; - } - ha-state-icon.active { - color: var(--color); - } - `}};n([_t({attribute:!1})],Cs.prototype,"hass",void 0),n([vt()],Cs.prototype,"_config",void 0),Cs=n([pt(Kl("light"))],Cs);let $s=class extends ht{static async getConfigElement(){return await Promise.resolve().then((function(){return jp})),document.createElement(Gl("alarm-control-panel"))}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>Vl.includes(t.split(".")[0])));return{type:"alarm-control-panel",entity:e[0]}}setConfig(t){this._config=t}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){var t;if(!this.hass||!this._config||!this._config.entity)return K;const e=this._config.entity,i=this.hass.states[e];if(!i)return K;const o=this._config.name||i.attributes.friendly_name||"",n=this._config.icon,r=Ul(i.state),a=Hl(i.state),l=this.hass.formatEntityState?this.hass.formatEntityState(i):ne(this.hass.localize,i,this.hass.locale,this.hass.config,this.hass.entities),s={};if(r){const t=qa(r);s["--color"]=`rgb(${t})`}const c=nl(null!==(t=this._config.content_info)&&void 0!==t?t:"state",o,l,i,this.hass),d=Ie(this.hass);return Y` - - - ${c?Y`${c}`:K} - - `}static get styles(){return h` - mushroom-chip { - cursor: pointer; - } - ha-state-icon { - color: var(--color); - } - ha-state-icon.pulse { - animation: 1s ease 0s infinite normal none running pulse; - } - ${yl} - `}};n([_t({attribute:!1})],$s.prototype,"hass",void 0),n([vt()],$s.prototype,"_config",void 0),$s=n([pt(Kl("alarm-control-panel"))],$s);let Es=class extends ht{setConfig(){}static get styles(){return h` - :host { - flex-grow: 1; - } - `}};Es=n([pt(Kl("spacer"))],Es);const As=`${Nl}-chips-card`,Ss=`${As}-editor`;Pl({type:As,name:"Mushroom Chips Card",description:"Card with chips to display informations"});let Is=class extends ht{static async getConfigElement(){return await Promise.resolve().then((function(){return Qp})),document.createElement(Ss)}static async getStubConfig(t){const e=await Promise.all([ql.getStubConfig(t)]);return{type:`custom:${As}`,chips:e}}set hass(t){var e;const i=Ml(this._hass),o=Ml(t);i!==o&&this.toggleAttribute("dark-mode",o),this._hass=t,null===(e=this.shadowRoot)||void 0===e||e.querySelectorAll("div > *").forEach((e=>{e.hass=t}))}getCardSize(){return 1}setConfig(t){this._config=t}render(){if(!this._config||!this._hass)return K;let t="";this._config.alignment&&(t=`align-${this._config.alignment}`);const e=Ie(this._hass);return Y` - -
- ${this._config.chips.map((t=>this.renderChip(t)))} + `;let nl=class extends ht{static async getConfigElement(){return await Promise.resolve().then((function(){return nu})),document.createElement(Gs("weather"))}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>"weather"===t.split(".")[0]));return{type:"weather",entity:e[0]}}setConfig(t){this._config=t}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this.hass||!this._config||!this._config.entity)return K;const t=this._config.entity,e=this.hass.states[t];if(!e)return K;const i=ol(e.state,!0),o=[];if(this._config.show_conditions){const t=this.hass.formatEntityState?this.hass.formatEntityState(e):ne(this.hass.localize,e,this.hass.locale,this.hass.config,this.hass.entities);o.push(t)}if(this._config.show_temperature){const t=`${te(e.attributes.temperature,this.hass.locale)} ${this.hass.config.unit_system.temperature}`;o.push(t)}const n=Ie(this.hass);return Y` + + ${i} + ${o.length>0?Y`${o.join(" / ")}`:K} + + `}static get styles(){return[il,h` + mushroom-chip { + cursor: pointer; + } + `]}};n([_t({attribute:!1})],nl.prototype,"hass",void 0),n([vt()],nl.prototype,"_config",void 0),nl=n([pt(Ks("weather"))],nl);const rl="mdi:arrow-left";let al=class extends ht{static async getConfigElement(){return await Promise.resolve().then((function(){return su})),document.createElement(Gs("back"))}static async getStubConfig(t){return{type:"back"}}setConfig(t){this._config=t}_handleAction(){window.history.back()}render(){if(!this.hass||!this._config)return K;const t=this._config.icon||rl,e=Ie(this.hass);return Y` + + + + `}static get styles(){return h` + mushroom-chip { + cursor: pointer; + } + `}};n([_t({attribute:!1})],al.prototype,"hass",void 0),n([vt()],al.prototype,"_config",void 0),al=n([pt(Ks("back"))],al);const sl="mdi:flash";let ll=class extends ht{static async getConfigElement(){return await Promise.resolve().then((function(){return du})),document.createElement(Gs("action"))}static async getStubConfig(t){return{type:"action"}}setConfig(t){this._config=t}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this.hass||!this._config)return K;const t=this._config.icon||sl,e=this._config.icon_color,i={};if(e){const t=qa(e);i["--color"]=`rgb(${t})`}const o=Ie(this.hass);return Y` + + + + `}static get styles(){return h` + mushroom-chip { + cursor: pointer; + } + ha-state-icon { + color: var(--color); + } + `}};n([_t({attribute:!1})],ll.prototype,"hass",void 0),n([vt()],ll.prototype,"_config",void 0),ll=n([pt(Ks("action"))],ll);const cl="mdi:menu";let dl=class extends ht{static async getConfigElement(){return await Promise.resolve().then((function(){return mu})),document.createElement(Gs("menu"))}static async getStubConfig(t){return{type:"menu"}}setConfig(t){this._config=t}_handleAction(){Lt(this,"hass-toggle-menu")}render(){if(!this.hass||!this._config)return K;const t=this._config.icon||cl,e=Ie(this.hass);return Y` + + + + `}static get styles(){return h` + mushroom-chip { + cursor: pointer; + } + `}};n([_t({attribute:!1})],dl.prototype,"hass",void 0),n([vt()],dl.prototype,"_config",void 0),dl=n([pt(Ks("menu"))],dl);const ul=new Set(["clear-night","cloudy","fog","lightning","lightning-rainy","partlycloudy","pouring","rainy","hail","snowy","snowy-rainy","sunny","windy","windy-variant"]),hl=t=>{if(!t||!t.startsWith("weather-"))return;const e=t.replace("weather-","");return ul.has(e)?ol(e,!0):void 0},ml=["content","icon","icon_color","picture"];let pl=class extends ht{constructor(){super(...arguments),this._templateResults={},this._unsubRenderTemplates=new Map}static async getConfigElement(){return await Promise.resolve().then((function(){return xu})),document.createElement(Gs("template"))}static async getStubConfig(t){return{type:"template"}}setConfig(t){ml.forEach((e=>{var i,o;(null===(i=this._config)||void 0===i?void 0:i[e])===t[e]&&(null===(o=this._config)||void 0===o?void 0:o.entity)==t.entity||this._tryDisconnectKey(e)})),this._config=Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t)}connectedCallback(){super.connectedCallback(),this._tryConnect()}disconnectedCallback(){this._tryDisconnect()}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}isTemplate(t){var e;const i=null===(e=this._config)||void 0===e?void 0:e[t];return null==i?void 0:i.includes("{")}getValue(t){var e,i,o;return this.isTemplate(t)?null===(i=null===(e=this._templateResults[t])||void 0===e?void 0:e.result)||void 0===i?void 0:i.toString():null===(o=this._config)||void 0===o?void 0:o[t]}render(){if(!this.hass||!this._config)return K;const t=this.getValue("icon"),e=this.getValue("icon_color"),i=this.getValue("content"),o=this.getValue("picture"),n=Ie(this.hass),r=hl(t);return Y` + + ${o?K:r||(t?this.renderIcon(t,e):K)} + ${i?this.renderContent(i):K} + + `}renderIcon(t,e){const i={};if(e){const t=qa(e);i["--color"]=`rgb(${t})`}return Y``}renderContent(t){return Y`${t}`}updated(t){super.updated(t),this._config&&this.hass&&this._tryConnect()}async _tryConnect(){ml.forEach((t=>{this._tryConnectKey(t)}))}async _tryConnectKey(t){var e,i;if(void 0===this._unsubRenderTemplates.get(t)&&this.hass&&this._config&&this.isTemplate(t))try{const i=Fe(this.hass.connection,(e=>{this._templateResults=Object.assign(Object.assign({},this._templateResults),{[t]:e})}),{template:null!==(e=this._config[t])&&void 0!==e?e:"",entity_ids:this._config.entity_id,variables:{config:this._config,user:this.hass.user.name,entity:this._config.entity},strict:!0});this._unsubRenderTemplates.set(t,i),await i}catch(e){const o={result:null!==(i=this._config[t])&&void 0!==i?i:"",listeners:{all:!1,domains:[],entities:[],time:!1}};this._templateResults=Object.assign(Object.assign({},this._templateResults),{[t]:o}),this._unsubRenderTemplates.delete(t)}}async _tryDisconnect(){ml.forEach((t=>{this._tryDisconnectKey(t)}))}async _tryDisconnectKey(t){const e=this._unsubRenderTemplates.get(t);if(e)try{(await e)(),this._unsubRenderTemplates.delete(t)}catch(t){if("not_found"!==t.code&&"template_error"!==t.code)throw t}}static get styles(){return h` + mushroom-chip { + cursor: pointer; + } + ha-state-icon { + color: var(--color); + } + ${il} + `}};n([_t({attribute:!1})],pl.prototype,"hass",void 0),n([vt()],pl.prototype,"_config",void 0),n([vt()],pl.prototype,"_templateResults",void 0),n([vt()],pl.prototype,"_unsubRenderTemplates",void 0),pl=n([pt(Ks("template"))],pl);const fl=()=>{var t,e,i;customElements.get("ha-form")||null===(t=customElements.get("hui-button-card"))||void 0===t||t.getConfigElement(),customElements.get("ha-entity-picker")||null===(e=customElements.get("hui-entities-card"))||void 0===e||e.getConfigElement(),customElements.get("ha-card-conditions-editor")||null===(i=customElements.get("hui-conditional-card"))||void 0===i||i.getConfigElement()},gl=Ks("conditional"),_l=async()=>{if(customElements.get(gl))return;if(!customElements.get("hui-conditional-base")){(await window.loadCardHelpers()).createCardElement({type:"conditional",card:{type:"button"},conditions:[]})}const t=await(async t=>{let e=customElements.get(t);return e||(await customElements.whenDefined(t),customElements.get(t))})("hui-conditional-base");class e extends t{static async getConfigElement(){return await Promise.resolve().then((function(){return Sp})),document.createElement(Gs("conditional"))}static async getStubConfig(){return{type:"conditional",conditions:[]}}setConfig(t){if(this.validateConfig(t),!t.chip)throw new Error("No chip configured");this._element=Xs(t.chip)}}customElements.get(gl)||customElements.define(gl,e)};function vl(t){return null!=t.attributes.brightness?Math.max(Math.round(100*t.attributes.brightness/255),1):void 0}function bl(t){return null!=t.attributes.rgb_color?t.attributes.rgb_color:void 0}function yl(t){return Ka.rgb(t).l()>96}function xl(t){return Ka.rgb(t).l()>97}function wl(t){return(t=>{var e;return(null===(e=t.attributes.supported_color_modes)||void 0===e?void 0:e.some((t=>De.includes(t))))||!1})(t)}function kl(t){return(t=>{var e;return(null===(e=t.attributes.supported_color_modes)||void 0===e?void 0:e.some((t=>Le.includes(t))))||!1})(t)}let Cl=class extends ht{static async getConfigElement(){return await Promise.resolve().then((function(){return Lp})),document.createElement(Gs("light"))}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>"light"===t.split(".")[0]));return{type:"light",entity:e[0]}}setConfig(t){this._config=Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t)}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){var t,e;if(!this.hass||!this._config||!this._config.entity)return K;const i=this._config.entity,o=this.hass.states[i];if(!o)return K;const n=this._config.name||o.attributes.friendly_name||"",r=this._config.icon,a=this.hass.formatEntityState?this.hass.formatEntityState(o):ne(this.hass.localize,o,this.hass.locale,this.hass.config,this.hass.entities),s=Bt(o),l=bl(o),c={};if(l&&(null===(t=this._config)||void 0===t?void 0:t.use_light_color)){const t=l.join(",");c["--color"]=`rgb(${t})`,xl(l)&&(c["--color"]="rgba(var(--rgb-primary-text-color), 0.2)")}const d=ns(null!==(e=this._config.content_info)&&void 0!==e?e:"state",n,a,o,this.hass),u=Ie(this.hass);return Y` + + + ${d?Y`${d}`:K} + + `}static get styles(){return h` + :host { + --color: rgb(var(--rgb-state-light)); + } + mushroom-chip { + cursor: pointer; + } + ha-state-icon.active { + color: var(--color); + } + `}};n([_t({attribute:!1})],Cl.prototype,"hass",void 0),n([vt()],Cl.prototype,"_config",void 0),Cl=n([pt(Ks("light"))],Cl);let $l=class extends ht{static async getConfigElement(){return await Promise.resolve().then((function(){return Rp})),document.createElement(Gs("alarm-control-panel"))}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>Vs.includes(t.split(".")[0])));return{type:"alarm-control-panel",entity:e[0]}}setConfig(t){this._config=t}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){var t;if(!this.hass||!this._config||!this._config.entity)return K;const e=this._config.entity,i=this.hass.states[e];if(!i)return K;const o=this._config.name||i.attributes.friendly_name||"",n=this._config.icon,r=Us(i.state),a=Hs(i.state),s=this.hass.formatEntityState?this.hass.formatEntityState(i):ne(this.hass.localize,i,this.hass.locale,this.hass.config,this.hass.entities),l={};if(r){const t=qa(r);l["--color"]=`rgb(${t})`}const c=ns(null!==(t=this._config.content_info)&&void 0!==t?t:"state",o,s,i,this.hass),d=Ie(this.hass);return Y` + + + ${c?Y`${c}`:K} + + `}static get styles(){return h` + mushroom-chip { + cursor: pointer; + } + ha-state-icon { + color: var(--color); + } + ha-state-icon.pulse { + animation: 1s ease 0s infinite normal none running pulse; + } + ${ys} + `}};n([_t({attribute:!1})],$l.prototype,"hass",void 0),n([vt()],$l.prototype,"_config",void 0),$l=n([pt(Ks("alarm-control-panel"))],$l);let El=class extends ht{setConfig(){}static get styles(){return h` + :host { + flex-grow: 1; + } + `}};El=n([pt(Ks("spacer"))],El);const Al=`${Ns}-chips-card`,Sl=`${Al}-editor`;Ps({type:Al,name:"Mushroom Chips Card",description:"Card with chips to display informations"});let Il=class extends ht{static async getConfigElement(){return await Promise.resolve().then((function(){return rf})),document.createElement(Sl)}static async getStubConfig(t){const e=await Promise.all([qs.getStubConfig(t)]);return{type:`custom:${Al}`,chips:e}}set hass(t){var e;const i=Ms(this._hass),o=Ms(t);i!==o&&this.toggleAttribute("dark-mode",o),this._hass=t,null===(e=this.shadowRoot)||void 0===e||e.querySelectorAll("div > *").forEach((e=>{e.hass=t}))}getCardSize(){return 1}setConfig(t){this._config=t}render(){if(!this._config||!this._hass)return K;let t="";this._config.alignment&&(t=`align-${this._config.alignment}`);const e=Ie(this._hass);return Y` + +
+ ${this._config.chips.map((t=>this.renderChip(t)))} +
+
+ `}renderChip(t){"conditional"===t.type&&_l();const e=Xs(t);return e?(this._hass&&(e.hass=this._hass),e.editMode=this.editMode||this.preview,e.preview=this.preview||this.editMode,Y`${e}`):K}static get styles(){return[js.styles,h` + ha-card { + background: none; + box-shadow: none; + border-radius: 0; + border: none; + } + .chip-container { + display: flex; + flex-direction: row; + align-items: flex-start; + justify-content: flex-start; + flex-wrap: wrap; + gap: var(--chip-spacing); + } + .chip-container.align-end { + justify-content: flex-end; + } + .chip-container.align-center { + justify-content: center; + } + .chip-container.align-justify { + justify-content: space-between; + } + `]}};n([_t()],Il.prototype,"preview",void 0),n([_t()],Il.prototype,"editMode",void 0),n([vt()],Il.prototype,"_config",void 0),Il=n([pt(Al)],Il);const Tl=`${Ns}-climate-card`,zl=`${Tl}-editor`,Ol=["climate"],Ml={auto:"var(--rgb-state-climate-auto)",cool:"var(--rgb-state-climate-cool)",dry:"var(--rgb-state-climate-dry)",fan_only:"var(--rgb-state-climate-fan-only)",heat:"var(--rgb-state-climate-heat)",heat_cool:"var(--rgb-state-climate-heat-cool)",off:"var(--rgb-state-climate-off)"},jl={cooling:"var(--rgb-state-climate-cool)",drying:"var(--rgb-state-climate-dry)",heating:"var(--rgb-state-climate-heat)",idle:"var(--rgb-state-climate-idle)",off:"var(--rgb-state-climate-off)"},Dl={auto:"mdi:calendar-sync",cool:"mdi:snowflake",dry:"mdi:water-percent",fan_only:"mdi:fan",heat:"mdi:fire",heat_cool:"mdi:autorenew",off:"mdi:power"},Ll={cooling:"mdi:snowflake",drying:"mdi:water-percent",heating:"mdi:fire",idle:"mdi:clock-outline",off:"mdi:power"};function Pl(t){var e;return null!==(e=Ml[t])&&void 0!==e?e:Ml.off}let Nl=class extends ht{constructor(){super(...arguments),this.fill=!1}callService(t){t.stopPropagation();const e=t.target.mode;this.hass.callService("climate","set_hvac_mode",{entity_id:this.entity.entity_id,hvac_mode:e})}render(){const t=Ie(this.hass),e=this.entity.attributes.hvac_modes.filter((t=>{var e;return(null!==(e=this.modes)&&void 0!==e?e:[]).includes(t)})).sort(je);return Y` + + ${e.map((t=>this.renderModeButton(t)))} + + `}renderModeButton(t){const e={},i="off"===t?"var(--rgb-grey)":Pl(t);return t===this.entity.state&&(e["--icon-color"]=`rgb(${i})`,e["--bg-color"]=`rgba(${i}, 0.2)`),Y` + + + + `}};n([_t({attribute:!1})],Nl.prototype,"hass",void 0),n([_t({attribute:!1})],Nl.prototype,"entity",void 0),n([_t({attribute:!1})],Nl.prototype,"modes",void 0),n([_t()],Nl.prototype,"fill",void 0),Nl=n([pt("mushroom-climate-hvac-modes-control")],Nl);let Rl=class extends ht{constructor(){super(...arguments),this.disabled=!1,this.formatOptions={},this.pending=!1,this.dispatchValue=t=>{this.pending=!1,this.dispatchEvent(new CustomEvent("change",{detail:{value:t}}))},this.debounceDispatchValue=this.dispatchValue}get _precision(){return Math.ceil(Math.log10(1/this._step))}get _step(){var t;return null!==(t=this.step)&&void 0!==t?t:1}_incrementValue(t){if(t.stopPropagation(),null==this.value)return;const e=Qt(this.value+this._step,this._precision);this._processNewValue(e)}_decrementValue(t){if(t.stopPropagation(),null==this.value)return;const e=Qt(this.value-this._step,this._precision);this._processNewValue(e)}firstUpdated(t){super.firstUpdated(t);const e=(t=>{const e=window.getComputedStyle(t).getPropertyValue("--input-number-debounce"),i=parseFloat(e);return isNaN(i)?2e3:i})(this.container);e&&(this.debounceDispatchValue=Te(this.dispatchValue,e))}_processNewValue(t){const e=((t,e,i)=>{let o;return o=e?Math.max(t,e):t,o=i?Math.min(o,i):o,o})(t,this.min,this.max);this.value!==e&&(this.value=e,this.pending=!0),this.debounceDispatchValue(e)}render(){const t=null!=this.value?te(this.value,this.locale,this.formatOptions):"-";return Y` +
+ + + ${t} + + +
+ `}static get styles(){return h` + :host { + --text-color: var(--primary-text-color); + --text-color-disabled: rgb(var(--rgb-disabled)); + --icon-color: var(--primary-text-color); + --icon-color-disabled: rgb(var(--rgb-disabled)); + --bg-color: rgba(var(--rgb-primary-text-color), 0.05); + --bg-color-disabled: rgba(var(--rgb-disabled), 0.2); + height: var(--control-height); + width: calc(var(--control-height) * var(--control-button-ratio) * 3); + flex: none; + } + .container { + box-sizing: border-box; + width: 100%; + height: 100%; + padding: 6px; + display: flex; + flex-direction: row; + align-items: center; + justify-content: center; + border-radius: var(--control-border-radius); + border: none; + background-color: var(--bg-color); + transition: background-color 280ms ease-in-out; + height: var(--control-height); + overflow: hidden; + } + .button { + display: flex; + flex-direction: row; + align-items: center; + justify-content: center; + padding: 4px; + border: none; + background: none; + cursor: pointer; + border-radius: var(--control-border-radius); + line-height: 0; + height: 100%; + } + .minus { + padding-right: 0; + } + .plus { + padding-left: 0; + } + .button:disabled { + cursor: not-allowed; + } + .button ha-icon { + font-size: var(--control-height); + --mdc-icon-size: var(--control-icon-size); + color: var(--icon-color); + pointer-events: none; + } + .button:disabled ha-icon { + color: var(--icon-color-disabled); + } + .value { + text-align: center; + flex-grow: 1; + flex-shrink: 0; + flex-basis: 20px; + font-weight: bold; + color: var(--text-color); + } + .value.disabled { + color: var(--text-color-disabled); + } + .value.pending { + opacity: 0.5; + } + `}};n([_t({attribute:!1})],Rl.prototype,"locale",void 0),n([_t({type:Boolean})],Rl.prototype,"disabled",void 0),n([_t({attribute:!1,type:Number,reflect:!0})],Rl.prototype,"value",void 0),n([_t({type:Number})],Rl.prototype,"step",void 0),n([_t({type:Number})],Rl.prototype,"min",void 0),n([_t({type:Number})],Rl.prototype,"max",void 0),n([_t({attribute:"false"})],Rl.prototype,"formatOptions",void 0),n([vt()],Rl.prototype,"pending",void 0),n([xt("#container")],Rl.prototype,"container",void 0),Rl=n([pt("mushroom-input-number")],Rl);let Fl=class extends ht{constructor(){super(...arguments),this.fill=!1}get _stepSize(){return this.entity.attributes.target_temp_step?this.entity.attributes.target_temp_step:"°F"===this.hass.config.unit_system.temperature?1:.5}onValueChange(t){const e=t.detail.value;this.hass.callService("climate","set_temperature",{entity_id:this.entity.entity_id,temperature:e})}onLowValueChange(t){const e=t.detail.value;this.hass.callService("climate","set_temperature",{entity_id:this.entity.entity_id,target_temp_low:e,target_temp_high:this.entity.attributes.target_temp_high})}onHighValueChange(t){const e=t.detail.value;this.hass.callService("climate","set_temperature",{entity_id:this.entity.entity_id,target_temp_low:this.entity.attributes.target_temp_low,target_temp_high:e})}render(){const t=Ie(this.hass),e=Ut(this.entity),i=1===this._stepSize?{maximumFractionDigits:0}:{minimumFractionDigits:1,maximumFractionDigits:1},o=t=>({"--bg-color":`rgba(var(--rgb-state-climate-${t}), 0.05)`,"--icon-color":`rgb(var(--rgb-state-climate-${t}))`,"--text-color":`rgb(var(--rgb-state-climate-${t}))`});return Y` + + ${null!=this.entity.attributes.temperature?Y` + + `:K} + ${null!=this.entity.attributes.target_temp_low&&null!=this.entity.attributes.target_temp_high?Y` + + `:K} + + `}};n([_t({attribute:!1})],Fl.prototype,"hass",void 0),n([_t({attribute:!1})],Fl.prototype,"entity",void 0),n([_t()],Fl.prototype,"fill",void 0),Fl=n([pt("mushroom-climate-temperature-control")],Fl);const Vl={temperature_control:"mdi:thermometer",hvac_mode_control:"mdi:thermostat"};Ps({type:Tl,name:"Mushroom Climate Card",description:"Card for climate entity"});let Bl=class extends Ds{static async getConfigElement(){return await Promise.resolve().then((function(){return uf})),document.createElement(zl)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>Ol.includes(t.split(".")[0])));return{type:`custom:${Tl}`,entity:e[0]}}get _controls(){if(!this._config||!this._stateObj)return[];const t=this._stateObj,e=[];var i;return(null!=(i=t).attributes.temperature||null!=i.attributes.target_temp_low&&null!=i.attributes.target_temp_high)&&this._config.show_temperature_control&&e.push("temperature_control"),((t,e)=>(t.attributes.hvac_modes||[]).some((t=>(null!=e?e:[]).includes(t))))(t,this._config.hvac_modes)&&e.push("hvac_mode_control"),e}get hasControls(){return this._controls.length>0}_onControlTap(t,e){e.stopPropagation(),this._activeControl=t}setConfig(t){super.setConfig(Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t)),this.updateActiveControl()}updated(t){super.updated(t),this.hass&&t.has("hass")&&this.updateActiveControl()}updateActiveControl(){const t=!!this._activeControl&&this._controls.includes(this._activeControl);this._activeControl=t?this._activeControl:this._controls[0]}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this.hass||!this._config||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$s(this._config),n=rs(t,o.icon_type);let r=this.hass.formatEntityState?this.hass.formatEntityState(t):ne(this.hass.localize,t,this.hass.locale,this.hass.config,this.hass.entities);if(null!==t.attributes.current_temperature){r+=` - ${te(t.attributes.current_temperature,this.hass.locale)} ${this.hass.config.unit_system.temperature}`}const a=Ie(this.hass),s=(!this._config.collapsible_controls||Bt(t))&&this._controls.length;return Y` + + + + ${n?this.renderPicture(n):this.renderIcon(t,i)} + ${this.renderBadge(t)} + ${this.renderStateInfo(t,o,e,r)}; + + ${s?Y` +
+ ${this.renderActiveControl(t)} + ${this.renderOtherControls()}
-
- `}renderChip(t){"conditional"===t.type&&_s();const e=Xl(t);return e?(this._hass&&(e.hass=this._hass),e.editMode=this.editMode||this.preview,e.preview=this.preview||this.editMode,Y`${e}`):K}static get styles(){return[jl.styles,h` - ha-card { - background: none; - box-shadow: none; - border-radius: 0; - border: none; - } - .chip-container { - display: flex; - flex-direction: row; - align-items: flex-start; - justify-content: flex-start; - flex-wrap: wrap; - gap: var(--chip-spacing); - } - .chip-container.align-end { - justify-content: flex-end; - } - .chip-container.align-center { - justify-content: center; - } - .chip-container.align-justify { - justify-content: space-between; - } - `]}};n([_t()],Is.prototype,"preview",void 0),n([_t()],Is.prototype,"editMode",void 0),n([vt()],Is.prototype,"_config",void 0),Is=n([pt(As)],Is);const Ts=`${Nl}-climate-card`,Os=`${Ts}-editor`,zs=["climate"],Ms={auto:"var(--rgb-state-climate-auto)",cool:"var(--rgb-state-climate-cool)",dry:"var(--rgb-state-climate-dry)",fan_only:"var(--rgb-state-climate-fan-only)",heat:"var(--rgb-state-climate-heat)",heat_cool:"var(--rgb-state-climate-heat-cool)",off:"var(--rgb-state-climate-off)"},js={cooling:"var(--rgb-state-climate-cool)",drying:"var(--rgb-state-climate-dry)",heating:"var(--rgb-state-climate-heat)",idle:"var(--rgb-state-climate-idle)",off:"var(--rgb-state-climate-off)"},Ds={auto:"mdi:calendar-sync",cool:"mdi:snowflake",dry:"mdi:water-percent",fan_only:"mdi:fan",heat:"mdi:fire",heat_cool:"mdi:autorenew",off:"mdi:power"},Ls={cooling:"mdi:snowflake",drying:"mdi:water-percent",heating:"mdi:fire",idle:"mdi:clock-outline",off:"mdi:power"};function Ps(t){var e;return null!==(e=Ms[t])&&void 0!==e?e:Ms.off}let Ns=class extends ht{constructor(){super(...arguments),this.fill=!1}callService(t){t.stopPropagation();const e=t.target.mode;this.hass.callService("climate","set_hvac_mode",{entity_id:this.entity.entity_id,hvac_mode:e})}render(){const t=Ie(this.hass),e=this.entity.attributes.hvac_modes.filter((t=>{var e;return(null!==(e=this.modes)&&void 0!==e?e:[]).includes(t)})).sort(je);return Y` - - ${e.map((t=>this.renderModeButton(t)))} - - `}renderModeButton(t){const e={},i="off"===t?"var(--rgb-grey)":Ps(t);return t===this.entity.state&&(e["--icon-color"]=`rgb(${i})`,e["--bg-color"]=`rgba(${i}, 0.2)`),Y` - + + `}renderIcon(t,e){const i=Ut(t),o=Pl(t.state),n={};return n["--icon-color"]=`rgb(${o})`,n["--shape-color"]=`rgba(${o}, 0.2)`,Y` + + + + `}renderBadge(t){return!Ut(t)?super.renderBadge(t):this.renderActionBadge(t)}renderActionBadge(t){const e=t.attributes.hvac_action;if(!e||"off"==e)return K;const i=function(t){var e;return null!==(e=jl[t])&&void 0!==e?e:jl.off}(e),o=function(t){var e;return null!==(e=Ll[t])&&void 0!==e?e:""}(e);return o?Y` + + `:K}renderOtherControls(){const t=this._controls.filter((t=>t!=this._activeControl));return Y` + ${t.map((t=>Y` + this._onControlTap(t,e)}> + + + `))} + `}renderActiveControl(t){var e;const i=null!==(e=this._config.hvac_modes)&&void 0!==e?e:[],o=$s(this._config);switch(this._activeControl){case"temperature_control":return Y` + + `;case"hvac_mode_control":return Y` + + `;default:return K}}static get styles(){return[super.styles,Ls,h` + mushroom-state-item { + cursor: pointer; + } + mushroom-climate-temperature-control, + mushroom-climate-hvac-modes-control { + flex: 1; + } + `]}};n([vt()],Bl.prototype,"_activeControl",void 0),Bl=n([pt(Tl)],Bl);const Ul=`${Ns}-cover-card`,Hl=`${Ul}-editor`,Yl=["cover"];let Wl=class extends ht{constructor(){super(...arguments),this.fill=!1}_onOpenTap(t){t.stopPropagation(),this.hass.callService("cover","open_cover",{entity_id:this.entity.entity_id})}_onCloseTap(t){t.stopPropagation(),this.hass.callService("cover","close_cover",{entity_id:this.entity.entity_id})}_onStopTap(t){t.stopPropagation(),this.hass.callService("cover","stop_cover",{entity_id:this.entity.entity_id})}get openDisabled(){const t=!0===this.entity.attributes.assumed_state;return((void 0!==(e=this.entity).attributes.current_position?100===e.attributes.current_position:"open"===e.state)||function(t){return"opening"===t.state}(this.entity))&&!t;var e}get closedDisabled(){const t=!0===this.entity.attributes.assumed_state;return((void 0!==(e=this.entity).attributes.current_position?0===e.attributes.current_position:"closed"===e.state)||function(t){return"closing"===t.state}(this.entity))&&!t;var e}render(){const t=Ie(this.hass);return Y` + + ${Wt(this.entity,1)?Y` + + {switch(t.attributes.device_class){case"awning":case"curtain":case"door":case"gate":return"mdi:arrow-expand-horizontal";default:return"mdi:arrow-up"}})(this.entity)}> + + `:void 0} + ${Wt(this.entity,8)?Y` + - - - `}};n([_t({attribute:!1})],Ns.prototype,"hass",void 0),n([_t({attribute:!1})],Ns.prototype,"entity",void 0),n([_t({attribute:!1})],Ns.prototype,"modes",void 0),n([_t()],Ns.prototype,"fill",void 0),Ns=n([pt("mushroom-climate-hvac-modes-control")],Ns);let Rs=class extends ht{constructor(){super(...arguments),this.disabled=!1,this.formatOptions={},this.pending=!1,this.dispatchValue=t=>{this.pending=!1,this.dispatchEvent(new CustomEvent("change",{detail:{value:t}}))},this.debounceDispatchValue=this.dispatchValue}get _precision(){return Math.ceil(Math.log10(1/this._step))}get _step(){var t;return null!==(t=this.step)&&void 0!==t?t:1}_incrementValue(t){if(t.stopPropagation(),null==this.value)return;const e=Qt(this.value+this._step,this._precision);this._processNewValue(e)}_decrementValue(t){if(t.stopPropagation(),null==this.value)return;const e=Qt(this.value-this._step,this._precision);this._processNewValue(e)}firstUpdated(t){super.firstUpdated(t);const e=(t=>{const e=window.getComputedStyle(t).getPropertyValue("--input-number-debounce"),i=parseFloat(e);return isNaN(i)?2e3:i})(this.container);e&&(this.debounceDispatchValue=Te(this.dispatchValue,e))}_processNewValue(t){const e=((t,e,i)=>{let o;return o=e?Math.max(t,e):t,o=i?Math.min(o,i):o,o})(t,this.min,this.max);this.value!==e&&(this.value=e,this.pending=!0),this.debounceDispatchValue(e)}render(){const t=null!=this.value?te(this.value,this.locale,this.formatOptions):"-";return Y` -
- - - ${t} - - -
- `}static get styles(){return h` - :host { - --text-color: var(--primary-text-color); - --text-color-disabled: rgb(var(--rgb-disabled)); - --icon-color: var(--primary-text-color); - --icon-color-disabled: rgb(var(--rgb-disabled)); - --bg-color: rgba(var(--rgb-primary-text-color), 0.05); - --bg-color-disabled: rgba(var(--rgb-disabled), 0.2); - height: var(--control-height); - width: calc(var(--control-height) * var(--control-button-ratio) * 3); - flex: none; - } - .container { - box-sizing: border-box; - width: 100%; - height: 100%; - padding: 6px; - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - border-radius: var(--control-border-radius); - border: none; - background-color: var(--bg-color); - transition: background-color 280ms ease-in-out; - height: var(--control-height); - overflow: hidden; - } - .button { - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - padding: 4px; - border: none; - background: none; - cursor: pointer; - border-radius: var(--control-border-radius); - line-height: 0; - height: 100%; - } - .minus { - padding-right: 0; - } - .plus { - padding-left: 0; - } - .button:disabled { - cursor: not-allowed; - } - .button ha-icon { - font-size: var(--control-height); - --mdc-icon-size: var(--control-icon-size); - color: var(--icon-color); - pointer-events: none; - } - .button:disabled ha-icon { - color: var(--icon-color-disabled); - } - .value { - text-align: center; - flex-grow: 1; - flex-shrink: 0; - flex-basis: 20px; - font-weight: bold; - color: var(--text-color); - } - .value.disabled { - color: var(--text-color-disabled); - } - .value.pending { - opacity: 0.5; - } - `}};n([_t({attribute:!1})],Rs.prototype,"locale",void 0),n([_t({type:Boolean})],Rs.prototype,"disabled",void 0),n([_t({attribute:!1,type:Number,reflect:!0})],Rs.prototype,"value",void 0),n([_t({type:Number})],Rs.prototype,"step",void 0),n([_t({type:Number})],Rs.prototype,"min",void 0),n([_t({type:Number})],Rs.prototype,"max",void 0),n([_t({attribute:"false"})],Rs.prototype,"formatOptions",void 0),n([vt()],Rs.prototype,"pending",void 0),n([xt("#container")],Rs.prototype,"container",void 0),Rs=n([pt("mushroom-input-number")],Rs);let Fs=class extends ht{constructor(){super(...arguments),this.fill=!1}get _stepSize(){return this.entity.attributes.target_temp_step?this.entity.attributes.target_temp_step:"°F"===this.hass.config.unit_system.temperature?1:.5}onValueChange(t){const e=t.detail.value;this.hass.callService("climate","set_temperature",{entity_id:this.entity.entity_id,temperature:e})}onLowValueChange(t){const e=t.detail.value;this.hass.callService("climate","set_temperature",{entity_id:this.entity.entity_id,target_temp_low:e,target_temp_high:this.entity.attributes.target_temp_high})}onHighValueChange(t){const e=t.detail.value;this.hass.callService("climate","set_temperature",{entity_id:this.entity.entity_id,target_temp_low:this.entity.attributes.target_temp_low,target_temp_high:e})}render(){const t=Ie(this.hass),e=Ut(this.entity),i=1===this._stepSize?{maximumFractionDigits:0}:{minimumFractionDigits:1,maximumFractionDigits:1},o=t=>({"--bg-color":`rgba(var(--rgb-state-climate-${t}), 0.05)`,"--icon-color":`rgb(var(--rgb-state-climate-${t}))`,"--text-color":`rgb(var(--rgb-state-climate-${t}))`});return Y` - - ${null!=this.entity.attributes.temperature?Y` - - `:K} - ${null!=this.entity.attributes.target_temp_low&&null!=this.entity.attributes.target_temp_high?Y` - - `:K} - - `}};n([_t({attribute:!1})],Fs.prototype,"hass",void 0),n([_t({attribute:!1})],Fs.prototype,"entity",void 0),n([_t()],Fs.prototype,"fill",void 0),Fs=n([pt("mushroom-climate-temperature-control")],Fs);const Vs={temperature_control:"mdi:thermometer",hvac_mode_control:"mdi:thermostat"};Pl({type:Ts,name:"Mushroom Climate Card",description:"Card for climate entity"});let Bs=class extends Dl{static async getConfigElement(){return await Promise.resolve().then((function(){return af})),document.createElement(Os)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>zs.includes(t.split(".")[0])));return{type:`custom:${Ts}`,entity:e[0]}}get _controls(){if(!this._config||!this._stateObj)return[];const t=this._stateObj,e=[];var i;return(null!=(i=t).attributes.temperature||null!=i.attributes.target_temp_low&&null!=i.attributes.target_temp_high)&&this._config.show_temperature_control&&e.push("temperature_control"),((t,e)=>(t.attributes.hvac_modes||[]).some((t=>(null!=e?e:[]).includes(t))))(t,this._config.hvac_modes)&&e.push("hvac_mode_control"),e}get hasControls(){return this._controls.length>0}_onControlTap(t,e){e.stopPropagation(),this._activeControl=t}setConfig(t){super.setConfig(Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t)),this.updateActiveControl()}updated(t){super.updated(t),this.hass&&t.has("hass")&&this.updateActiveControl()}updateActiveControl(){const t=!!this._activeControl&&this._controls.includes(this._activeControl);this._activeControl=t?this._activeControl:this._controls[0]}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this.hass||!this._config||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$l(this._config),n=rl(t,o.icon_type);let r=this.hass.formatEntityState?this.hass.formatEntityState(t):ne(this.hass.localize,t,this.hass.locale,this.hass.config,this.hass.entities);if(null!==t.attributes.current_temperature){r+=` - ${te(t.attributes.current_temperature,this.hass.locale)} ${this.hass.config.unit_system.temperature}`}const a=Ie(this.hass),l=(!this._config.collapsible_controls||Bt(t))&&this._controls.length;return Y` - - - - ${n?this.renderPicture(n):this.renderIcon(t,i)} - ${this.renderBadge(t)} - ${this.renderStateInfo(t,o,e,r)}; - - ${l?Y` -
- ${this.renderActiveControl(t)} - ${this.renderOtherControls()} -
- `:K} -
-
- `}renderIcon(t,e){const i=Ut(t),o=Ps(t.state),n={};return n["--icon-color"]=`rgb(${o})`,n["--shape-color"]=`rgba(${o}, 0.2)`,Y` - - - - `}renderBadge(t){return!Ut(t)?super.renderBadge(t):this.renderActionBadge(t)}renderActionBadge(t){const e=t.attributes.hvac_action;if(!e||"off"==e)return K;const i=function(t){var e;return null!==(e=js[t])&&void 0!==e?e:js.off}(e),o=function(t){var e;return null!==(e=Ls[t])&&void 0!==e?e:""}(e);return o?Y` - - `:K}renderOtherControls(){const t=this._controls.filter((t=>t!=this._activeControl));return Y` - ${t.map((t=>Y` - this._onControlTap(t,e)}> - - - `))} - `}renderActiveControl(t){var e;const i=null!==(e=this._config.hvac_modes)&&void 0!==e?e:[],o=$l(this._config);switch(this._activeControl){case"temperature_control":return Y` - - `;case"hvac_mode_control":return Y` - - `;default:return K}}static get styles(){return[super.styles,Ll,h` - mushroom-state-item { - cursor: pointer; - } - mushroom-climate-temperature-control, - mushroom-climate-hvac-modes-control { - flex: 1; - } - `]}};n([vt()],Bs.prototype,"_activeControl",void 0),Bs=n([pt(Ts)],Bs);const Us=`${Nl}-cover-card`,Hs=`${Us}-editor`,Ys=["cover"];let Ws=class extends ht{constructor(){super(...arguments),this.fill=!1}_onOpenTap(t){t.stopPropagation(),this.hass.callService("cover","open_cover",{entity_id:this.entity.entity_id})}_onCloseTap(t){t.stopPropagation(),this.hass.callService("cover","close_cover",{entity_id:this.entity.entity_id})}_onStopTap(t){t.stopPropagation(),this.hass.callService("cover","stop_cover",{entity_id:this.entity.entity_id})}get openDisabled(){const t=!0===this.entity.attributes.assumed_state;return((void 0!==(e=this.entity).attributes.current_position?100===e.attributes.current_position:"open"===e.state)||function(t){return"opening"===t.state}(this.entity))&&!t;var e}get closedDisabled(){const t=!0===this.entity.attributes.assumed_state;return((void 0!==(e=this.entity).attributes.current_position?0===e.attributes.current_position:"closed"===e.state)||function(t){return"closing"===t.state}(this.entity))&&!t;var e}render(){const t=Ie(this.hass);return Y` - - ${Wt(this.entity,1)?Y` - - {switch(t.attributes.device_class){case"awning":case"curtain":case"door":case"gate":return"mdi:arrow-expand-horizontal";default:return"mdi:arrow-up"}})(this.entity)}> - - `:void 0} - ${Wt(this.entity,8)?Y` - - - - `:void 0} - ${Wt(this.entity,2)?Y` - - {switch(t.attributes.device_class){case"awning":case"curtain":case"door":case"gate":return"mdi:arrow-collapse-horizontal";default:return"mdi:arrow-down"}})(this.entity)}> - - `:void 0} - - `}};n([_t({attribute:!1})],Ws.prototype,"hass",void 0),n([_t({attribute:!1})],Ws.prototype,"entity",void 0),n([_t()],Ws.prototype,"fill",void 0),Ws=n([pt("mushroom-cover-buttons-control")],Ws);var Xs; + @click=${this._onStopTap} + > + +
+ `:void 0} + ${Wt(this.entity,2)?Y` + + {switch(t.attributes.device_class){case"awning":case"curtain":case"door":case"gate":return"mdi:arrow-collapse-horizontal";default:return"mdi:arrow-down"}})(this.entity)}> + + `:void 0} + + `}};n([_t({attribute:!1})],Wl.prototype,"hass",void 0),n([_t({attribute:!1})],Wl.prototype,"entity",void 0),n([_t()],Wl.prototype,"fill",void 0),Wl=n([pt("mushroom-cover-buttons-control")],Wl);var Xl; /*! Hammer.JS - v2.0.7 - 2016-04-22 * http://hammerjs.github.io/ * * Copyright (c) 2016 Jorik Tangelder; - * Licensed under the MIT license */Xs={exports:{}},function(t,e,i,o){var n,r=["","webkit","Moz","MS","ms","o"],a=e.createElement("div"),l="function",s=Math.round,c=Math.abs,d=Date.now;function u(t,e,i){return setTimeout(v(t,i),e)}function h(t,e,i){return!!Array.isArray(t)&&(m(t,i[e],i),!0)}function m(t,e,i){var n;if(t)if(t.forEach)t.forEach(e,i);else if(t.length!==o)for(n=0;n\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=t.console&&(t.console.warn||t.console.log);return r&&r.call(t.console,n,o),e.apply(this,arguments)}}n="function"!=typeof Object.assign?function(t){if(t===o||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),i=1;i-1}function $(t){return t.trim().split(/\s+/g)}function E(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);for(var o=0;oi[e]})),o}function I(t,e){for(var i,n,a=e[0].toUpperCase()+e.slice(1),l=0;l1&&!i.firstMultiple?i.firstMultiple=Q(e):1===r&&(i.firstMultiple=!1);var a=i.firstInput,l=i.firstMultiple,s=l?l.center:a.center,u=e.center=tt(n);e.timeStamp=d(),e.deltaTime=e.timeStamp-a.timeStamp,e.angle=nt(s,u),e.distance=ot(s,u),function(t,e){var i=e.center,o=t.offsetDelta||{},n=t.prevDelta||{},r=t.prevInput||{};e.eventType!==N&&r.eventType!==R||(n=t.prevDelta={x:r.deltaX||0,y:r.deltaY||0},o=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=n.x+(i.x-o.x),e.deltaY=n.y+(i.y-o.y)}(i,e),e.offsetDirection=it(e.deltaX,e.deltaY);var h,m,p=et(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=p.x,e.overallVelocityY=p.y,e.overallVelocity=c(p.x)>c(p.y)?p.x:p.y,e.scale=l?(h=l.pointers,ot((m=n)[0],m[1],q)/ot(h[0],h[1],q)):1,e.rotation=l?function(t,e){return nt(e[1],e[0],q)+nt(t[1],t[0],q)}(l.pointers,n):0,e.maxPointers=i.prevInput?e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers:e.pointers.length,function(t,e){var i,n,r,a,l=t.lastInterval||e,s=e.timeStamp-l.timeStamp;if(e.eventType!=F&&(s>P||l.velocity===o)){var d=e.deltaX-l.deltaX,u=e.deltaY-l.deltaY,h=et(s,d,u);n=h.x,r=h.y,i=c(h.x)>c(h.y)?h.x:h.y,a=it(d,u),t.lastInterval=e}else i=l.velocity,n=l.velocityX,r=l.velocityY,a=l.direction;e.velocity=i,e.velocityX=n,e.velocityY=r,e.direction=a}(i,e);var f=t.element;k(e.srcEvent.target,f)&&(f=e.srcEvent.target),e.target=f}(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function Q(t){for(var e=[],i=0;i=c(e)?t<0?B:U:e<0?H:Y}function ot(t,e,i){i||(i=G);var o=e[i[0]]-t[i[0]],n=e[i[1]]-t[i[1]];return Math.sqrt(o*o+n*n)}function nt(t,e,i){i||(i=G);var o=e[i[0]]-t[i[0]],n=e[i[1]]-t[i[1]];return 180*Math.atan2(n,o)/Math.PI}Z.prototype={handler:function(){},init:function(){this.evEl&&x(this.element,this.evEl,this.domHandler),this.evTarget&&x(this.target,this.evTarget,this.domHandler),this.evWin&&x(O(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&w(this.element,this.evEl,this.domHandler),this.evTarget&&w(this.target,this.evTarget,this.domHandler),this.evWin&&w(O(this.element),this.evWin,this.domHandler)}};var rt={mousedown:N,mousemove:2,mouseup:R},at="mousedown",lt="mousemove mouseup";function st(){this.evEl=at,this.evWin=lt,this.pressed=!1,Z.apply(this,arguments)}_(st,Z,{handler:function(t){var e=rt[t.type];e&N&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=R),this.pressed&&(e&R&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:L,srcEvent:t}))}});var ct={pointerdown:N,pointermove:2,pointerup:R,pointercancel:F,pointerout:F},dt={2:D,3:"pen",4:L,5:"kinect"},ut="pointerdown",ht="pointermove pointerup pointercancel";function mt(){this.evEl=ut,this.evWin=ht,Z.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}t.MSPointerEvent&&!t.PointerEvent&&(ut="MSPointerDown",ht="MSPointerMove MSPointerUp MSPointerCancel"),_(mt,Z,{handler:function(t){var e=this.store,i=!1,o=t.type.toLowerCase().replace("ms",""),n=ct[o],r=dt[t.pointerType]||t.pointerType,a=r==D,l=E(e,t.pointerId,"pointerId");n&N&&(0===t.button||a)?l<0&&(e.push(t),l=e.length-1):n&(R|F)&&(i=!0),l<0||(e[l]=t,this.callback(this.manager,n,{pointers:e,changedPointers:[t],pointerType:r,srcEvent:t}),i&&e.splice(l,1))}});var pt={touchstart:N,touchmove:2,touchend:R,touchcancel:F};function ft(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,Z.apply(this,arguments)}function gt(t,e){var i=A(t.touches),o=A(t.changedTouches);return e&(R|F)&&(i=S(i.concat(o),"identifier")),[i,o]}_(ft,Z,{handler:function(t){var e=pt[t.type];if(e===N&&(this.started=!0),this.started){var i=gt.call(this,t,e);e&(R|F)&&i[0].length-i[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:D,srcEvent:t})}}});var _t={touchstart:N,touchmove:2,touchend:R,touchcancel:F},vt="touchstart touchmove touchend touchcancel";function bt(){this.evTarget=vt,this.targetIds={},Z.apply(this,arguments)}function yt(t,e){var i=A(t.touches),o=this.targetIds;if(e&(2|N)&&1===i.length)return o[i[0].identifier]=!0,[i,i];var n,r,a=A(t.changedTouches),l=[],s=this.target;if(r=i.filter((function(t){return k(t.target,s)})),e===N)for(n=0;n-1&&o.splice(t,1)}),xt)}}function $t(t){for(var e=t.srcEvent.clientX,i=t.srcEvent.clientY,o=0;o-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,i=this.state;function o(i){e.manager.emit(i,t)}i<8&&o(e.options.event+Rt(i)),o(e.options.event),t.additionalEvent&&o(t.additionalEvent),i>=8&&o(e.options.event+Rt(i))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=Pt},canEmit:function(){for(var t=0;te.threshold&&n&e.direction},attrTest:function(t){return Bt.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Ft(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),_(Ht,Bt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Ot]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),_(Yt,Nt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[It]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,o=t.distancee.time;if(this._input=t,!o||!i||t.eventType&(R|F)&&!n)this.reset();else if(t.eventType&N)this.reset(),this._timer=u((function(){this.state=8,this.tryEmit()}),e.time,this);else if(t.eventType&R)return 8;return Pt},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&t.eventType&R?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=d(),this.manager.emit(this.options.event,this._input)))}}),_(Wt,Bt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Ot]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),_(Xt,Bt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:W|X,pointers:1},getTouchAction:function(){return Ut.prototype.getTouchAction.call(this)},attrTest:function(t){var e,i=this.options.direction;return i&(W|X)?e=t.overallVelocity:i&W?e=t.overallVelocityX:i&X&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&i&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&c(e)>this.options.velocity&&t.eventType&R},emit:function(t){var e=Ft(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),_(Kt,Nt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Tt]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,o=t.distance{const e=t.center.x,i=t.target.getBoundingClientRect().left,o=t.target.clientWidth;return Math.max(Math.min(1,(e-i)/o),0)};let Gs=class extends ht{constructor(){super(...arguments),this.disabled=!1,this.inactive=!1,this.step=1,this.min=0,this.max=100,this.controlled=!1}valueToPercentage(t){return(t-this.min)/(this.max-this.min)}percentageToValue(t){return(this.max-this.min)*t+this.min}firstUpdated(t){super.firstUpdated(t),this.setupListeners()}connectedCallback(){super.connectedCallback(),this.setupListeners()}disconnectedCallback(){super.disconnectedCallback(),this.destroyListeners()}setupListeners(){if(this.slider&&!this._mc){const t=(t=>{const e=window.getComputedStyle(t).getPropertyValue("--slider-threshold"),i=parseFloat(e);return isNaN(i)?10:i})(this.slider);let e;this._mc=new Hammer.Manager(this.slider,{touchAction:"pan-y"}),this._mc.add(new Hammer.Pan({threshold:t,direction:Hammer.DIRECTION_ALL,enable:!0})),this._mc.add(new Hammer.Tap({event:"singletap"})),this._mc.on("panstart",(()=>{this.disabled||(this.controlled=!0,e=this.value)})),this._mc.on("pancancel",(()=>{this.disabled||(this.controlled=!1,this.value=e)})),this._mc.on("panmove",(t=>{if(this.disabled)return;const e=Ks(t);this.value=this.percentageToValue(e),this.dispatchEvent(new CustomEvent("current-change",{detail:{value:Math.round(this.value/this.step)*this.step}}))})),this._mc.on("panend",(t=>{if(this.disabled)return;this.controlled=!1;const e=Ks(t);this.value=Math.round(this.percentageToValue(e)/this.step)*this.step,this.dispatchEvent(new CustomEvent("current-change",{detail:{value:void 0}})),this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value}}))})),this._mc.on("singletap",(t=>{if(this.disabled)return;const e=Ks(t);this.value=Math.round(this.percentageToValue(e)/this.step)*this.step,this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value}}))}))}}destroyListeners(){this._mc&&(this._mc.destroy(),this._mc=void 0)}render(){var t;return Y` -
-
-
- ${this.showActive?Y`
`:K} - ${this.showIndicator?Y`
`:K} + * Licensed under the MIT license */Xl={exports:{}},function(t,e,i,o){var n,r=["","webkit","Moz","MS","ms","o"],a=e.createElement("div"),s="function",l=Math.round,c=Math.abs,d=Date.now;function u(t,e,i){return setTimeout(v(t,i),e)}function h(t,e,i){return!!Array.isArray(t)&&(m(t,i[e],i),!0)}function m(t,e,i){var n;if(t)if(t.forEach)t.forEach(e,i);else if(t.length!==o)for(n=0;n\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=t.console&&(t.console.warn||t.console.log);return r&&r.call(t.console,n,o),e.apply(this,arguments)}}n="function"!=typeof Object.assign?function(t){if(t===o||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),i=1;i-1}function $(t){return t.trim().split(/\s+/g)}function E(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);for(var o=0;oi[e]})),o}function I(t,e){for(var i,n,a=e[0].toUpperCase()+e.slice(1),s=0;s1&&!i.firstMultiple?i.firstMultiple=Q(e):1===r&&(i.firstMultiple=!1);var a=i.firstInput,s=i.firstMultiple,l=s?s.center:a.center,u=e.center=tt(n);e.timeStamp=d(),e.deltaTime=e.timeStamp-a.timeStamp,e.angle=nt(l,u),e.distance=ot(l,u),function(t,e){var i=e.center,o=t.offsetDelta||{},n=t.prevDelta||{},r=t.prevInput||{};e.eventType!==N&&r.eventType!==R||(n=t.prevDelta={x:r.deltaX||0,y:r.deltaY||0},o=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=n.x+(i.x-o.x),e.deltaY=n.y+(i.y-o.y)}(i,e),e.offsetDirection=it(e.deltaX,e.deltaY);var h,m,p=et(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=p.x,e.overallVelocityY=p.y,e.overallVelocity=c(p.x)>c(p.y)?p.x:p.y,e.scale=s?(h=s.pointers,ot((m=n)[0],m[1],q)/ot(h[0],h[1],q)):1,e.rotation=s?function(t,e){return nt(e[1],e[0],q)+nt(t[1],t[0],q)}(s.pointers,n):0,e.maxPointers=i.prevInput?e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers:e.pointers.length,function(t,e){var i,n,r,a,s=t.lastInterval||e,l=e.timeStamp-s.timeStamp;if(e.eventType!=F&&(l>P||s.velocity===o)){var d=e.deltaX-s.deltaX,u=e.deltaY-s.deltaY,h=et(l,d,u);n=h.x,r=h.y,i=c(h.x)>c(h.y)?h.x:h.y,a=it(d,u),t.lastInterval=e}else i=s.velocity,n=s.velocityX,r=s.velocityY,a=s.direction;e.velocity=i,e.velocityX=n,e.velocityY=r,e.direction=a}(i,e);var f=t.element;k(e.srcEvent.target,f)&&(f=e.srcEvent.target),e.target=f}(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function Q(t){for(var e=[],i=0;i=c(e)?t<0?B:U:e<0?H:Y}function ot(t,e,i){i||(i=G);var o=e[i[0]]-t[i[0]],n=e[i[1]]-t[i[1]];return Math.sqrt(o*o+n*n)}function nt(t,e,i){i||(i=G);var o=e[i[0]]-t[i[0]],n=e[i[1]]-t[i[1]];return 180*Math.atan2(n,o)/Math.PI}Z.prototype={handler:function(){},init:function(){this.evEl&&x(this.element,this.evEl,this.domHandler),this.evTarget&&x(this.target,this.evTarget,this.domHandler),this.evWin&&x(z(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&w(this.element,this.evEl,this.domHandler),this.evTarget&&w(this.target,this.evTarget,this.domHandler),this.evWin&&w(z(this.element),this.evWin,this.domHandler)}};var rt={mousedown:N,mousemove:2,mouseup:R},at="mousedown",st="mousemove mouseup";function lt(){this.evEl=at,this.evWin=st,this.pressed=!1,Z.apply(this,arguments)}_(lt,Z,{handler:function(t){var e=rt[t.type];e&N&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=R),this.pressed&&(e&R&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:L,srcEvent:t}))}});var ct={pointerdown:N,pointermove:2,pointerup:R,pointercancel:F,pointerout:F},dt={2:D,3:"pen",4:L,5:"kinect"},ut="pointerdown",ht="pointermove pointerup pointercancel";function mt(){this.evEl=ut,this.evWin=ht,Z.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}t.MSPointerEvent&&!t.PointerEvent&&(ut="MSPointerDown",ht="MSPointerMove MSPointerUp MSPointerCancel"),_(mt,Z,{handler:function(t){var e=this.store,i=!1,o=t.type.toLowerCase().replace("ms",""),n=ct[o],r=dt[t.pointerType]||t.pointerType,a=r==D,s=E(e,t.pointerId,"pointerId");n&N&&(0===t.button||a)?s<0&&(e.push(t),s=e.length-1):n&(R|F)&&(i=!0),s<0||(e[s]=t,this.callback(this.manager,n,{pointers:e,changedPointers:[t],pointerType:r,srcEvent:t}),i&&e.splice(s,1))}});var pt={touchstart:N,touchmove:2,touchend:R,touchcancel:F};function ft(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,Z.apply(this,arguments)}function gt(t,e){var i=A(t.touches),o=A(t.changedTouches);return e&(R|F)&&(i=S(i.concat(o),"identifier")),[i,o]}_(ft,Z,{handler:function(t){var e=pt[t.type];if(e===N&&(this.started=!0),this.started){var i=gt.call(this,t,e);e&(R|F)&&i[0].length-i[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:D,srcEvent:t})}}});var _t={touchstart:N,touchmove:2,touchend:R,touchcancel:F},vt="touchstart touchmove touchend touchcancel";function bt(){this.evTarget=vt,this.targetIds={},Z.apply(this,arguments)}function yt(t,e){var i=A(t.touches),o=this.targetIds;if(e&(2|N)&&1===i.length)return o[i[0].identifier]=!0,[i,i];var n,r,a=A(t.changedTouches),s=[],l=this.target;if(r=i.filter((function(t){return k(t.target,l)})),e===N)for(n=0;n-1&&o.splice(t,1)}),xt)}}function $t(t){for(var e=t.srcEvent.clientX,i=t.srcEvent.clientY,o=0;o-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,i=this.state;function o(i){e.manager.emit(i,t)}i<8&&o(e.options.event+Rt(i)),o(e.options.event),t.additionalEvent&&o(t.additionalEvent),i>=8&&o(e.options.event+Rt(i))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=Pt},canEmit:function(){for(var t=0;te.threshold&&n&e.direction},attrTest:function(t){return Bt.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Ft(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),_(Ht,Bt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[zt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),_(Yt,Nt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[It]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,o=t.distancee.time;if(this._input=t,!o||!i||t.eventType&(R|F)&&!n)this.reset();else if(t.eventType&N)this.reset(),this._timer=u((function(){this.state=8,this.tryEmit()}),e.time,this);else if(t.eventType&R)return 8;return Pt},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&t.eventType&R?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=d(),this.manager.emit(this.options.event,this._input)))}}),_(Wt,Bt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[zt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),_(Xt,Bt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:W|X,pointers:1},getTouchAction:function(){return Ut.prototype.getTouchAction.call(this)},attrTest:function(t){var e,i=this.options.direction;return i&(W|X)?e=t.overallVelocity:i&W?e=t.overallVelocityX:i&X&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&i&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&c(e)>this.options.velocity&&t.eventType&R},emit:function(t){var e=Ft(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),_(Kt,Nt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Tt]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,o=t.distance{const e=t.center.x,i=t.target.getBoundingClientRect().left,o=t.target.clientWidth;return Math.max(Math.min(1,(e-i)/o),0)};let Gl=class extends ht{constructor(){super(...arguments),this.disabled=!1,this.inactive=!1,this.step=1,this.min=0,this.max=100,this.controlled=!1}valueToPercentage(t){return(t-this.min)/(this.max-this.min)}percentageToValue(t){return(this.max-this.min)*t+this.min}firstUpdated(t){super.firstUpdated(t),this.setupListeners()}connectedCallback(){super.connectedCallback(),this.setupListeners()}disconnectedCallback(){super.disconnectedCallback(),this.destroyListeners()}setupListeners(){if(this.slider&&!this._mc){const t=(t=>{const e=window.getComputedStyle(t).getPropertyValue("--slider-threshold"),i=parseFloat(e);return isNaN(i)?10:i})(this.slider);let e;this._mc=new Hammer.Manager(this.slider,{touchAction:"pan-y"}),this._mc.add(new Hammer.Pan({threshold:t,direction:Hammer.DIRECTION_ALL,enable:!0})),this._mc.add(new Hammer.Tap({event:"singletap"})),this._mc.on("panstart",(()=>{this.disabled||(this.controlled=!0,e=this.value)})),this._mc.on("pancancel",(()=>{this.disabled||(this.controlled=!1,this.value=e)})),this._mc.on("panmove",(t=>{if(this.disabled)return;const e=Kl(t);this.value=this.percentageToValue(e),this.dispatchEvent(new CustomEvent("current-change",{detail:{value:Math.round(this.value/this.step)*this.step}}))})),this._mc.on("panend",(t=>{if(this.disabled)return;this.controlled=!1;const e=Kl(t);this.value=Math.round(this.percentageToValue(e)/this.step)*this.step,this.dispatchEvent(new CustomEvent("current-change",{detail:{value:void 0}})),this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value}}))})),this._mc.on("singletap",(t=>{if(this.disabled)return;const e=Kl(t);this.value=Math.round(this.percentageToValue(e)/this.step)*this.step,this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value}}))}))}}destroyListeners(){this._mc&&(this._mc.destroy(),this._mc=void 0)}render(){var t;return Y` +
+
+
+ ${this.showActive?Y`
`:K} + ${this.showIndicator?Y`
`:K} +
+
+ `}static get styles(){return h` + :host { + --main-color: rgba(var(--rgb-secondary-text-color), 1); + --bg-gradient: none; + --bg-color: rgba(var(--rgb-secondary-text-color), 0.2); + --main-color-inactive: rgb(var(--rgb-disabled)); + --bg-color-inactive: rgba(var(--rgb-disabled), 0.2); + } + .container { + display: flex; + flex-direction: row; + height: var(--control-height); + } + .slider { + position: relative; + height: 100%; + width: 100%; + border-radius: var(--control-border-radius); + transform: translateZ(0); + overflow: hidden; + cursor: pointer; + } + .slider * { + pointer-events: none; + } + .slider .slider-track-background { + position: absolute; + top: 0; + left: 0; + height: 100%; + width: 100%; + background-color: var(--bg-color); + background-image: var(--gradient); + } + .slider .slider-track-active { + position: absolute; + top: 0; + left: 0; + height: 100%; + width: 100%; + transform: scale3d(var(--value, 0), 1, 1); + transform-origin: left; + background-color: var(--main-color); + transition: transform 180ms ease-in-out; + } + .slider .slider-track-indicator { + position: absolute; + top: 0; + bottom: 0; + left: calc(var(--value, 0) * (100% - 10px)); + width: 10px; + border-radius: 3px; + background-color: white; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); + transition: left 180ms ease-in-out; + } + .slider .slider-track-indicator:after { + display: block; + content: ""; + background-color: var(--main-color); + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + margin: auto; + height: 20px; + width: 2px; + border-radius: 1px; + } + .inactive .slider .slider-track-background { + background-color: var(--bg-color-inactive); + background-image: none; + } + .inactive .slider .slider-track-indicator:after { + background-color: var(--main-color-inactive); + } + .inactive .slider .slider-track-active { + background-color: var(--main-color-inactive); + } + .controlled .slider .slider-track-active { + transition: none; + } + .controlled .slider .slider-track-indicator { + transition: none; + } + `}};function ql(t){return null!=t.attributes.current_position?Math.round(t.attributes.current_position):void 0}function Zl(t){const e=t.state;return"open"===e||"opening"===e?"var(--rgb-state-cover-open)":"closed"===e||"closing"===e?"var(--rgb-state-cover-closed)":"var(--rgb-disabled)"}n([_t({type:Boolean})],Gl.prototype,"disabled",void 0),n([_t({type:Boolean})],Gl.prototype,"inactive",void 0),n([_t({type:Boolean,attribute:"show-active"})],Gl.prototype,"showActive",void 0),n([_t({type:Boolean,attribute:"show-indicator"})],Gl.prototype,"showIndicator",void 0),n([_t({attribute:!1,type:Number,reflect:!0})],Gl.prototype,"value",void 0),n([_t({type:Number})],Gl.prototype,"step",void 0),n([_t({type:Number})],Gl.prototype,"min",void 0),n([_t({type:Number})],Gl.prototype,"max",void 0),n([vt()],Gl.prototype,"controlled",void 0),n([xt("#slider")],Gl.prototype,"slider",void 0),Gl=n([pt("mushroom-slider")],Gl);let Jl=class extends ht{onChange(t){const e=t.detail.value;this.hass.callService("cover","set_cover_position",{entity_id:this.entity.entity_id,position:e})}onCurrentChange(t){const e=t.detail.value;this.dispatchEvent(new CustomEvent("current-change",{detail:{value:e}}))}render(){const t=ql(this.entity);return Y` + + `}static get styles(){return h` + mushroom-slider { + --main-color: var(--slider-color); + --bg-color: var(--slider-bg-color); + } + `}};n([_t({attribute:!1})],Jl.prototype,"hass",void 0),n([_t({attribute:!1})],Jl.prototype,"entity",void 0),Jl=n([pt("mushroom-cover-position-control")],Jl);const Ql=function(t=24,e=.2){const i=[];for(let o=0;o + `}static get styles(){const t=Ql.map((([t,e])=>`${e} ${100*t}%`)).join(", ");return h` + mushroom-slider { + --main-color: var(--slider-color); + --bg-color: var(--slider-bg-color); + --gradient: -webkit-linear-gradient(right, ${u(t)}); + } + `}};n([_t({attribute:!1})],tc.prototype,"hass",void 0),n([_t({attribute:!1})],tc.prototype,"entity",void 0),tc=n([pt("mushroom-cover-tilt-position-control")],tc);const ec={buttons_control:"mdi:gesture-tap-button",position_control:"mdi:gesture-swipe-horizontal",tilt_position_control:"mdi:rotate-right"};Ps({type:Ul,name:"Mushroom Cover Card",description:"Card for cover entity"});let ic=class extends Ds{static async getConfigElement(){return await Promise.resolve().then((function(){return gf})),document.createElement(Hl)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>Yl.includes(t.split(".")[0])));return{type:`custom:${Ul}`,entity:e[0]}}get hasControls(){return this._controls.length>0}get _nextControl(){var t;if(this._activeControl)return null!==(t=this._controls[this._controls.indexOf(this._activeControl)+1])&&void 0!==t?t:this._controls[0]}_onNextControlTap(t){t.stopPropagation(),this._activeControl=this._nextControl}getCardSize(){return 1}setConfig(t){super.setConfig(Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t)),this.updateActiveControl(),this.updatePosition()}get _controls(){if(!this._config||!this._stateObj)return[];const t=[];return this._config.show_buttons_control&&t.push("buttons_control"),this._config.show_position_control&&t.push("position_control"),this._config.show_tilt_position_control&&t.push("tilt_position_control"),t}updateActiveControl(){const t=!!this._activeControl&&this._controls.includes(this._activeControl);this._activeControl=t?this._activeControl:this._controls[0]}updated(t){super.updated(t),this.hass&&t.has("hass")&&(this.updatePosition(),this.updateActiveControl())}updatePosition(){this.position=void 0;const t=this._stateObj;t&&(this.position=ql(t))}onCurrentPositionChange(t){null!=t.detail.value&&(this.position=t.detail.value)}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this.hass||!this._config||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$s(this._config),n=rs(t,o.icon_type);let r=this.hass.formatEntityState?this.hass.formatEntityState(t):ne(this.hass.localize,t,this.hass.locale,this.hass.config,this.hass.entities);this.position&&(r+=` - ${this.position}${oe(this.hass.locale)}%`);const a=Ie(this.hass);return Y` + + + + ${n?this.renderPicture(n):this.renderIcon(t,i)} + ${this.renderBadge(t)} + ${this.renderStateInfo(t,o,e,r)}; + + ${this._controls.length>0?Y` +
+ ${this.renderActiveControl(t,o.layout)} + ${this.renderNextControlButton()}
-
- `}static get styles(){return h` - :host { - --main-color: rgba(var(--rgb-secondary-text-color), 1); - --bg-gradient: none; - --bg-color: rgba(var(--rgb-secondary-text-color), 0.2); - --main-color-inactive: rgb(var(--rgb-disabled)); - --bg-color-inactive: rgba(var(--rgb-disabled), 0.2); - } - .container { - display: flex; - flex-direction: row; - height: var(--control-height); - } - .slider { - position: relative; - height: 100%; - width: 100%; - border-radius: var(--control-border-radius); - transform: translateZ(0); - overflow: hidden; - cursor: pointer; - } - .slider * { - pointer-events: none; - } - .slider .slider-track-background { - position: absolute; - top: 0; - left: 0; - height: 100%; - width: 100%; - background-color: var(--bg-color); - background-image: var(--gradient); - } - .slider .slider-track-active { - position: absolute; - top: 0; - left: 0; - height: 100%; - width: 100%; - transform: scale3d(var(--value, 0), 1, 1); - transform-origin: left; - background-color: var(--main-color); - transition: transform 180ms ease-in-out; - } - .slider .slider-track-indicator { - position: absolute; - top: 0; - bottom: 0; - left: calc(var(--value, 0) * (100% - 10px)); - width: 10px; - border-radius: 3px; - background-color: white; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); - transition: left 180ms ease-in-out; - } - .slider .slider-track-indicator:after { - display: block; - content: ""; - background-color: var(--main-color); - position: absolute; - top: 0; - left: 0; - bottom: 0; - right: 0; - margin: auto; - height: 20px; - width: 2px; - border-radius: 1px; - } - .inactive .slider .slider-track-background { - background-color: var(--bg-color-inactive); - background-image: none; - } - .inactive .slider .slider-track-indicator:after { - background-color: var(--main-color-inactive); - } - .inactive .slider .slider-track-active { - background-color: var(--main-color-inactive); - } - .controlled .slider .slider-track-active { - transition: none; - } - .controlled .slider .slider-track-indicator { - transition: none; - } - `}};function qs(t){return null!=t.attributes.current_position?Math.round(t.attributes.current_position):void 0}function Zs(t){const e=t.state;return"open"===e||"opening"===e?"var(--rgb-state-cover-open)":"closed"===e||"closing"===e?"var(--rgb-state-cover-closed)":"var(--rgb-disabled)"}n([_t({type:Boolean})],Gs.prototype,"disabled",void 0),n([_t({type:Boolean})],Gs.prototype,"inactive",void 0),n([_t({type:Boolean,attribute:"show-active"})],Gs.prototype,"showActive",void 0),n([_t({type:Boolean,attribute:"show-indicator"})],Gs.prototype,"showIndicator",void 0),n([_t({attribute:!1,type:Number,reflect:!0})],Gs.prototype,"value",void 0),n([_t({type:Number})],Gs.prototype,"step",void 0),n([_t({type:Number})],Gs.prototype,"min",void 0),n([_t({type:Number})],Gs.prototype,"max",void 0),n([vt()],Gs.prototype,"controlled",void 0),n([xt("#slider")],Gs.prototype,"slider",void 0),Gs=n([pt("mushroom-slider")],Gs);let Js=class extends ht{onChange(t){const e=t.detail.value;this.hass.callService("cover","set_cover_position",{entity_id:this.entity.entity_id,position:e})}onCurrentChange(t){const e=t.detail.value;this.dispatchEvent(new CustomEvent("current-change",{detail:{value:e}}))}render(){const t=qs(this.entity);return Y` - - `}static get styles(){return h` - mushroom-slider { - --main-color: var(--slider-color); - --bg-color: var(--slider-bg-color); - } - `}};n([_t({attribute:!1})],Js.prototype,"hass",void 0),n([_t({attribute:!1})],Js.prototype,"entity",void 0),Js=n([pt("mushroom-cover-position-control")],Js);const Qs=function(t=24,e=.2){const i=[];for(let o=0;o - `}static get styles(){const t=Qs.map((([t,e])=>`${e} ${100*t}%`)).join(", ");return h` - mushroom-slider { - --main-color: var(--slider-color); - --bg-color: var(--slider-bg-color); - --gradient: -webkit-linear-gradient(right, ${u(t)}); - } - `}};n([_t({attribute:!1})],tc.prototype,"hass",void 0),n([_t({attribute:!1})],tc.prototype,"entity",void 0),tc=n([pt("mushroom-cover-tilt-position-control")],tc);const ec={buttons_control:"mdi:gesture-tap-button",position_control:"mdi:gesture-swipe-horizontal",tilt_position_control:"mdi:rotate-right"};Pl({type:Us,name:"Mushroom Cover Card",description:"Card for cover entity"});let ic=class extends Dl{static async getConfigElement(){return await Promise.resolve().then((function(){return uf})),document.createElement(Hs)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>Ys.includes(t.split(".")[0])));return{type:`custom:${Us}`,entity:e[0]}}get hasControls(){return this._controls.length>0}get _nextControl(){var t;if(this._activeControl)return null!==(t=this._controls[this._controls.indexOf(this._activeControl)+1])&&void 0!==t?t:this._controls[0]}_onNextControlTap(t){t.stopPropagation(),this._activeControl=this._nextControl}getCardSize(){return 1}setConfig(t){super.setConfig(Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t)),this.updateActiveControl(),this.updatePosition()}get _controls(){if(!this._config||!this._stateObj)return[];const t=[];return this._config.show_buttons_control&&t.push("buttons_control"),this._config.show_position_control&&t.push("position_control"),this._config.show_tilt_position_control&&t.push("tilt_position_control"),t}updateActiveControl(){const t=!!this._activeControl&&this._controls.includes(this._activeControl);this._activeControl=t?this._activeControl:this._controls[0]}updated(t){super.updated(t),this.hass&&t.has("hass")&&(this.updatePosition(),this.updateActiveControl())}updatePosition(){this.position=void 0;const t=this._stateObj;t&&(this.position=qs(t))}onCurrentPositionChange(t){null!=t.detail.value&&(this.position=t.detail.value)}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this.hass||!this._config||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$l(this._config),n=rl(t,o.icon_type);let r=this.hass.formatEntityState?this.hass.formatEntityState(t):ne(this.hass.localize,t,this.hass.locale,this.hass.config,this.hass.entities);this.position&&(r+=` - ${this.position}${oe(this.hass.locale)}%`);const a=Ie(this.hass);return Y` - - - - ${n?this.renderPicture(n):this.renderIcon(t,i)} - ${this.renderBadge(t)} - ${this.renderStateInfo(t,o,e,r)}; - - ${this._controls.length>0?Y` -
- ${this.renderActiveControl(t,o.layout)} - ${this.renderNextControlButton()} -
- `:K} -
-
- `}renderIcon(t,e){const i={},o=Ut(t),n=Zs(t);return i["--icon-color"]=`rgb(${n})`,i["--shape-color"]=`rgba(${n}, 0.2)`,Y` - - + + `}renderIcon(t,e){const i={},o=Ut(t),n=Zl(t);return i["--icon-color"]=`rgb(${n})`,i["--shape-color"]=`rgba(${n}, 0.2)`,Y` + + + `}renderNextControlButton(){return this._nextControl&&this._nextControl!=this._activeControl?Y` + + + + `:K}renderActiveControl(t,e){switch(this._activeControl){case"buttons_control":return Y` + + `;case"position_control":{const e=Zl(t),i={};return i["--slider-color"]=`rgb(${e})`,i["--slider-bg-color"]=`rgba(${e}, 0.2)`,Y` + + `}case"tilt_position_control":{const e=Zl(t),i={};return i["--slider-color"]=`rgb(${e})`,i["--slider-bg-color"]=`rgba(${e}, 0.2)`,Y` + + `}default:return K}}static get styles(){return[super.styles,Ls,h` + mushroom-state-item { + cursor: pointer; + } + mushroom-shape-icon { + --icon-color: rgb(var(--rgb-state-cover)); + --shape-color: rgba(var(--rgb-state-cover), 0.2); + } + mushroom-cover-buttons-control, + mushroom-cover-position-control { + flex: 1; + } + mushroom-cover-tilt-position-control { + flex: 1; + } + `]}};n([vt()],ic.prototype,"_activeControl",void 0),n([vt()],ic.prototype,"position",void 0),ic=n([pt(Ul)],ic);const oc=`${Ns}-entity-card`,nc=`${oc}-editor`;Ps({type:oc,name:"Mushroom Entity Card",description:"Card for all entities"});let rc=class extends Ds{static async getConfigElement(){return await Promise.resolve().then((function(){return yf})),document.createElement(nc)}static async getStubConfig(t){const e=Object.keys(t.states);return{type:`custom:${oc}`,entity:e[0]}}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this._config||!this.hass||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$s(this._config),n=rs(t,o.icon_type),r=Ie(this.hass);return Y` + + + + ${n?this.renderPicture(n):this.renderIcon(t,i)} + ${this.renderBadge(t)} + ${this.renderStateInfo(t,o,e)}; + + + + `}renderIcon(t,e){var i;const o=Bt(t),n={},r=null===(i=this._config)||void 0===i?void 0:i.icon_color;if(r){const t=qa(r);n["--icon-color"]=`rgb(${t})`,n["--shape-color"]=`rgba(${t}, 0.2)`}return Y` + + + + `}static get styles(){return[super.styles,Ls,h` + mushroom-state-item { + cursor: pointer; + } + mushroom-shape-icon { + --icon-color: rgb(var(--rgb-state-entity)); + --shape-color: rgba(var(--rgb-state-entity), 0.2); + } + `]}};rc=n([pt(oc)],rc);const ac=`${Ns}-fan-card`,sc=`${ac}-editor`,lc=["fan"];function cc(t){return null!=t.attributes.percentage?Math.round(t.attributes.percentage):void 0}function dc(t){return null!=t.attributes.oscillating&&Boolean(t.attributes.oscillating)}let uc=class extends ht{_onTap(t){t.stopPropagation();const e=dc(this.entity);this.hass.callService("fan","oscillate",{entity_id:this.entity.entity_id,oscillating:!e})}render(){const t=dc(this.entity),e=Bt(this.entity);return Y` + + + + `}static get styles(){return h` + :host { + display: flex; + } + mushroom-button.active { + --icon-color: rgb(var(--rgb-state-fan)); + --bg-color: rgba(var(--rgb-state-fan), 0.2); + } + `}};n([_t({attribute:!1})],uc.prototype,"hass",void 0),n([_t({attribute:!1})],uc.prototype,"entity",void 0),uc=n([pt("mushroom-fan-oscillate-control")],uc);let hc=class extends ht{onChange(t){const e=t.detail.value;this.hass.callService("fan","set_percentage",{entity_id:this.entity.entity_id,percentage:e})}onCurrentChange(t){const e=t.detail.value;this.dispatchEvent(new CustomEvent("current-change",{detail:{value:e}}))}render(){const t=cc(this.entity);return Y` + + `;var e}static get styles(){return h` + mushroom-slider { + --main-color: rgb(var(--rgb-state-fan)); + --bg-color: rgba(var(--rgb-state-fan), 0.2); + } + `}};n([_t({attribute:!1})],hc.prototype,"hass",void 0),n([_t({attribute:!1})],hc.prototype,"entity",void 0),hc=n([pt("mushroom-fan-percentage-control")],hc),Ps({type:ac,name:"Mushroom Fan Card",description:"Card for fan entity"});let mc=class extends Ds{static async getConfigElement(){return await Promise.resolve().then((function(){return $f})),document.createElement(sc)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>lc.includes(t.split(".")[0])));return{type:`custom:${ac}`,entity:e[0]}}get hasControls(){var t,e;return Boolean(null===(t=this._config)||void 0===t?void 0:t.show_percentage_control)||Boolean(null===(e=this._config)||void 0===e?void 0:e.show_oscillate_control)}setConfig(t){super.setConfig(Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t)),this.updatePercentage()}updated(t){super.updated(t),this.hass&&t.has("hass")&&this.updatePercentage()}updatePercentage(){this.percentage=void 0;const t=this._stateObj;this._config&&this.hass&&t&&(this.percentage=cc(t))}onCurrentPercentageChange(t){null!=t.detail.value&&(this.percentage=Math.round(t.detail.value))}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this._config||!this.hass||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$s(this._config),n=rs(t,o.icon_type);let r=this.hass.formatEntityState?this.hass.formatEntityState(t):ne(this.hass.localize,t,this.hass.locale,this.hass.config,this.hass.entities);null!=this.percentage&&"on"===t.state&&(r=`${this.percentage}${oe(this.hass.locale)}%`);const a=Ie(this.hass),s=(!this._config.collapsible_controls||Bt(t))&&(this._config.show_percentage_control||this._config.show_oscillate_control);return Y` + + + + ${n?this.renderPicture(n):this.renderIcon(t,i)} + ${this.renderBadge(t)} + ${this.renderStateInfo(t,o,e,r)}; + + ${s?Y` +
+ ${this._config.show_percentage_control?Y` + + `:K} + ${this._config.show_oscillate_control?Y` + + `:K} +
+ `:K} +
+
+ `}renderIcon(t,e){var i;let o={};const n=cc(t),r=Bt(t);if(r)if(n){const t=1.5*(n/100)**.5;o["--animation-duration"]=1/t+"s"}else o["--animation-duration"]="1s";return Y` + + + + `}static get styles(){return[super.styles,Ls,h` + mushroom-state-item { + cursor: pointer; + } + mushroom-shape-icon { + --icon-color: rgb(var(--rgb-state-fan)); + --shape-color: rgba(var(--rgb-state-fan), 0.2); + } + .spin ha-state-icon { + animation: var(--animation-duration) infinite linear spin; + } + mushroom-fan-percentage-control { + flex: 1; + } + `]}};n([vt()],mc.prototype,"percentage",void 0),mc=n([pt(ac)],mc);const pc=`${Ns}-humidifier-card`,fc=`${pc}-editor`,gc=["humidifier"];let _c=class extends ht{onChange(t){const e=t.detail.value;this.hass.callService("humidifier","set_humidity",{entity_id:this.entity.entity_id,humidity:e})}onCurrentChange(t){const e=t.detail.value;this.dispatchEvent(new CustomEvent("current-change",{detail:{value:e}}))}render(){const t=this.entity.attributes.max_humidity||100,e=this.entity.attributes.min_humidity||0;return Y``}static get styles(){return h` + mushroom-slider { + --main-color: rgb(var(--rgb-state-humidifier)); + --bg-color: rgba(var(--rgb-state-humidifier), 0.2); + } + `}};n([_t({attribute:!1})],_c.prototype,"hass",void 0),n([_t({attribute:!1})],_c.prototype,"entity",void 0),n([_t({attribute:!1})],_c.prototype,"color",void 0),_c=n([pt("mushroom-humidifier-humidity-control")],_c),Ps({type:pc,name:"Mushroom Humidifier Card",description:"Card for humidifier entity"});let vc=class extends Ds{static async getConfigElement(){return await Promise.resolve().then((function(){return Tf})),document.createElement(fc)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>gc.includes(t.split(".")[0])));return{type:`custom:${pc}`,entity:e[0]}}get hasControls(){var t;return Boolean(null===(t=this._config)||void 0===t?void 0:t.show_target_humidity_control)}setConfig(t){super.setConfig(Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t))}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}onCurrentHumidityChange(t){null!=t.detail.value&&(this.humidity=t.detail.value)}render(){if(!this._config||!this.hass||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$s(this._config),n=rs(t,o.icon_type);let r=this.hass.formatEntityState?this.hass.formatEntityState(t):ne(this.hass.localize,t,this.hass.locale,this.hass.config,this.hass.entities);this.humidity&&(r=`${this.humidity}${oe(this.hass.locale)}%`);const a=Ie(this.hass),s=(!this._config.collapsible_controls||Bt(t))&&this._config.show_target_humidity_control;return Y` + + + + ${n?this.renderPicture(n):this.renderIcon(t,i)} + ${this.renderBadge(t)} + ${this.renderStateInfo(t,o,e,r)}; + + ${s?Y` +
+ - `}renderNextControlButton(){return this._nextControl&&this._nextControl!=this._activeControl?Y` - - - - `:K}renderActiveControl(t,e){switch(this._activeControl){case"buttons_control":return Y` - - `;case"position_control":{const e=Zs(t),i={};return i["--slider-color"]=`rgb(${e})`,i["--slider-bg-color"]=`rgba(${e}, 0.2)`,Y` - - `}case"tilt_position_control":{const e=Zs(t),i={};return i["--slider-color"]=`rgb(${e})`,i["--slider-bg-color"]=`rgba(${e}, 0.2)`,Y` - - `}default:return K}}static get styles(){return[super.styles,Ll,h` - mushroom-state-item { - cursor: pointer; - } - mushroom-shape-icon { - --icon-color: rgb(var(--rgb-state-cover)); - --shape-color: rgba(var(--rgb-state-cover), 0.2); - } - mushroom-cover-buttons-control, - mushroom-cover-position-control { - flex: 1; - } - mushroom-cover-tilt-position-control { - flex: 1; - } - `]}};n([vt()],ic.prototype,"_activeControl",void 0),n([vt()],ic.prototype,"position",void 0),ic=n([pt(Us)],ic);const oc=`${Nl}-entity-card`,nc=`${oc}-editor`;Pl({type:oc,name:"Mushroom Entity Card",description:"Card for all entities"});let rc=class extends Dl{static async getConfigElement(){return await Promise.resolve().then((function(){return ff})),document.createElement(nc)}static async getStubConfig(t){const e=Object.keys(t.states);return{type:`custom:${oc}`,entity:e[0]}}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this._config||!this.hass||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$l(this._config),n=rl(t,o.icon_type),r=Ie(this.hass);return Y` - - - - ${n?this.renderPicture(n):this.renderIcon(t,i)} - ${this.renderBadge(t)} - ${this.renderStateInfo(t,o,e)}; - - - - `}renderIcon(t,e){var i;const o=Bt(t),n={},r=null===(i=this._config)||void 0===i?void 0:i.icon_color;if(r){const t=qa(r);n["--icon-color"]=`rgb(${t})`,n["--shape-color"]=`rgba(${t}, 0.2)`}return Y` - - - - `}static get styles(){return[super.styles,Ll,h` - mushroom-state-item { - cursor: pointer; - } - mushroom-shape-icon { - --icon-color: rgb(var(--rgb-state-entity)); - --shape-color: rgba(var(--rgb-state-entity), 0.2); - } - `]}};rc=n([pt(oc)],rc);const ac=`${Nl}-fan-card`,lc=`${ac}-editor`,sc=["fan"];function cc(t){return null!=t.attributes.percentage?Math.round(t.attributes.percentage):void 0}function dc(t){return null!=t.attributes.oscillating&&Boolean(t.attributes.oscillating)}let uc=class extends ht{_onTap(t){t.stopPropagation();const e=dc(this.entity);this.hass.callService("fan","oscillate",{entity_id:this.entity.entity_id,oscillating:!e})}render(){const t=dc(this.entity),e=Bt(this.entity);return Y` + .entity=${t} + @current-change=${this.onCurrentHumidityChange} + > +
+ `:K} +
+
+ `}static get styles(){return[super.styles,Ls,h` + mushroom-state-item { + cursor: pointer; + } + mushroom-shape-icon { + --icon-color: rgb(var(--rgb-state-humidifier)); + --shape-color: rgba(var(--rgb-state-humidifier), 0.2); + } + mushroom-humidifier-humidity-control { + flex: 1; + } + `]}};n([vt()],vc.prototype,"humidity",void 0),vc=n([pt(pc)],vc);const bc=`${Ns}-number-card`,yc=`${bc}-editor`,xc=["number","input_number"];let wc=class extends ht{onChange(t){const e=t.detail.value,i=this.entity.entity_id.split(".")[0];this.hass.callService(i,"set_value",{entity_id:this.entity.entity_id,value:e})}onCurrentChange(t){const e=t.detail.value;this.dispatchEvent(new CustomEvent("current-change",{detail:{value:e}}))}render(){var t;const e=Number(this.entity.state),i=null!==(t=ee(this.entity,this.hass.entities[this.entity.entity_id]))&&void 0!==t?t:ie(this.entity.state);return"buttons"===this.displayMode?Y` + + `:Y` + + `}static get styles(){return h` + :host { + --slider-color: rgb(var(--rgb-state-number)); + --slider-outline-color: transparent; + --slider-bg-color: rgba(var(--rgb-state-number), 0.2); + } + mushroom-slider { + --main-color: var(--slider-color); + --bg-color: var(--slider-bg-color); + --main-outline-color: var(--slider-outline-color); + } + `}};n([_t({attribute:!1})],wc.prototype,"hass",void 0),n([_t({attribute:!1})],wc.prototype,"entity",void 0),n([_t({attribute:!1})],wc.prototype,"displayMode",void 0),wc=n([pt("mushroom-number-value-control")],wc),Ps({type:bc,name:"Mushroom Number Card",description:"Card for number and input number entity"});let kc=class extends Ds{static async getConfigElement(){return await Promise.resolve().then((function(){return Lf})),document.createElement(yc)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>xc.includes(t.split(".")[0])));return{type:`custom:${bc}`,entity:e[0]}}get hasControls(){return!0}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}onCurrentValueChange(t){null!=t.detail.value&&(this.value=t.detail.value)}updated(t){super.updated(t),this.hass&&t.has("hass")&&this.updateValue()}updateValue(){this.value=void 0;const t=this._stateObj;t&&!Number.isNaN(t.state)&&(this.value=Number(t.state))}render(){var t,e,i;if(!this._config||!this.hass||!this._config.entity)return K;const o=this._stateObj;if(!o)return this.renderNotFound(this._config);const n=this._config.name||o.attributes.friendly_name||"",r=this._config.icon,a=$s(this._config),s=rs(o,a.icon_type);let l=this.hass.formatEntityState?this.hass.formatEntityState(o):ne(this.hass.localize,o,this.hass.locale,this.hass.config,this.hass.entities);if(void 0!==this.value){l=`${te(this.value,this.hass.locale,null!==(t=ee(o,this.hass.entities[o.entity_id]))&&void 0!==t?t:ie(o.state))} ${null!==(e=o.attributes.unit_of_measurement)&&void 0!==e?e:""}`}const c=Ie(this.hass),d={},u=null===(i=this._config)||void 0===i?void 0:i.icon_color;if(u){const t=qa(u);d["--slider-color"]=`rgb(${t})`,d["--slider-bg-color"]=`rgba(${t}, 0.2)`}return Y` + + + + ${s?this.renderPicture(s):this.renderIcon(o,r)} + ${this.renderBadge(o)} + ${this.renderStateInfo(o,a,n,l)}; + +
+ +
+
+
+ `}renderIcon(t,e){var i;const o=Bt(t),n={},r=null===(i=this._config)||void 0===i?void 0:i.icon_color;if(r){const t=qa(r);n["--icon-color"]=`rgb(${t})`,n["--shape-color"]=`rgba(${t}, 0.2)`}return Y` + + + + `}static get styles(){return[super.styles,Ls,h` + mushroom-state-item { + cursor: pointer; + } + mushroom-shape-icon { + --icon-color: rgb(var(--rgb-state-number)); + --shape-color: rgba(var(--rgb-state-number), 0.2); + } + mushroom-number-value-control { + flex: 1; + } + `]}};n([vt()],kc.prototype,"value",void 0),kc=n([pt(bc)],kc);const Cc=`${Ns}-light-card`,$c=`${Cc}-editor`,Ec=["light"];let Ac=class extends ht{onChange(t){const e=t.detail.value;this.hass.callService("light","turn_on",{entity_id:this.entity.entity_id,brightness_pct:e})}onCurrentChange(t){const e=t.detail.value;this.dispatchEvent(new CustomEvent("current-change",{detail:{value:e}}))}render(){const t=vl(this.entity);return Y` + + `}static get styles(){return h` + :host { + --slider-color: rgb(var(--rgb-state-light)); + --slider-outline-color: transparent; + --slider-bg-color: rgba(var(--rgb-state-light), 0.2); + } + mushroom-slider { + --main-color: var(--slider-color); + --bg-color: var(--slider-bg-color); + --main-outline-color: var(--slider-outline-color); + } + `}};n([_t({attribute:!1})],Ac.prototype,"hass",void 0),n([_t({attribute:!1})],Ac.prototype,"entity",void 0),Ac=n([pt("mushroom-light-brightness-control")],Ac);const Sc=[[0,"#f00"],[.17,"#ff0"],[.33,"#0f0"],[.5,"#0ff"],[.66,"#00f"],[.83,"#f0f"],[1,"#f00"]];let Ic=class extends ht{constructor(){super(...arguments),this._percent=0}_percentToRGB(t){return Ka.hsv(360*t,100,100).rgb().array()}_rgbToPercent(t){return Ka.rgb(t).hsv().hue()/360}onChange(t){const e=t.detail.value;this._percent=e;const i=this._percentToRGB(e/100);3===i.length&&this.hass.callService("light","turn_on",{entity_id:this.entity.entity_id,rgb_color:i})}render(){const t=this._percent||100*this._rgbToPercent(this.entity.attributes.rgb_color);return Y` + + `}static get styles(){const t=Sc.map((([t,e])=>`${e} ${100*t}%`)).join(", ");return h` + mushroom-slider { + --gradient: -webkit-linear-gradient(left, ${u(t)}); + } + `}};n([_t({attribute:!1})],Ic.prototype,"hass",void 0),n([_t({attribute:!1})],Ic.prototype,"entity",void 0),Ic=n([pt("mushroom-light-color-control")],Ic);let Tc=class extends ht{onChange(t){const e=t.detail.value;this.hass.callService("light","turn_on",{entity_id:this.entity.entity_id,color_temp:e})}render(){var t,e;const i=null!=(o=this.entity).attributes.color_temp?Math.round(o.attributes.color_temp):void 0;var o;return Y` + + `}static get styles(){return h` + mushroom-slider { + --gradient: -webkit-linear-gradient( + right, + rgb(255, 160, 0) 0%, + white 100% + ); + } + `}};n([_t({attribute:!1})],Tc.prototype,"hass",void 0),n([_t({attribute:!1})],Tc.prototype,"entity",void 0),Tc=n([pt("mushroom-light-color-temp-control")],Tc);const zc={brightness_control:"mdi:brightness-4",color_temp_control:"mdi:thermometer",color_control:"mdi:palette"};Ps({type:Cc,name:"Mushroom Light Card",description:"Card for light entity"});let Oc=class extends Ds{static async getConfigElement(){return await Promise.resolve().then((function(){return Mp})),document.createElement($c)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>Ec.includes(t.split(".")[0])));return{type:`custom:${Cc}`,entity:e[0]}}get _controls(){if(!this._config||!this._stateObj)return[];const t=this._stateObj,e=[];return this._config.show_brightness_control&&kl(t)&&e.push("brightness_control"),this._config.show_color_temp_control&&function(t){var e,i;return null!==(i=null===(e=t.attributes.supported_color_modes)||void 0===e?void 0:e.some((t=>["color_temp"].includes(t))))&&void 0!==i&&i}(t)&&e.push("color_temp_control"),this._config.show_color_control&&wl(t)&&e.push("color_control"),e}get hasControls(){return this._controls.length>0}setConfig(t){super.setConfig(Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t)),this.updateActiveControl(),this.updateBrightness()}_onControlTap(t,e){e.stopPropagation(),this._activeControl=t}updated(t){super.updated(t),this.hass&&t.has("hass")&&(this.updateActiveControl(),this.updateBrightness())}updateBrightness(){this.brightness=void 0;const t=this._stateObj;t&&(this.brightness=vl(t))}onCurrentBrightnessChange(t){null!=t.detail.value&&(this.brightness=t.detail.value)}updateActiveControl(){const t=!!this._activeControl&&this._controls.includes(this._activeControl);this._activeControl=t?this._activeControl:this._controls[0]}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this._config||!this.hass||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$s(this._config),n=rs(t,o.icon_type);let r=this.hass.formatEntityState?this.hass.formatEntityState(t):ne(this.hass.localize,t,this.hass.locale,this.hass.config,this.hass.entities);null!=this.brightness&&(r=`${this.brightness}${oe(this.hass.locale)}%`);const a=Ie(this.hass),s=(!this._config.collapsible_controls||Bt(t))&&this._controls.length;return Y` + + + + ${n?this.renderPicture(n):this.renderIcon(t,i)} + ${this.renderBadge(t)} + ${this.renderStateInfo(t,o,e,r)}; + + ${s?Y` +
+ ${this.renderActiveControl(t)} + ${this.renderOtherControls()} +
+ `:K} +
+
+ `}renderIcon(t,e){var i,o;const n=bl(t),r=Bt(t),a={},s=null===(i=this._config)||void 0===i?void 0:i.icon_color;if(n&&(null===(o=this._config)||void 0===o?void 0:o.use_light_color)){const t=n.join(",");a["--icon-color"]=`rgb(${t})`,a["--shape-color"]=`rgba(${t}, 0.25)`,yl(n)&&!this.hass.themes.darkMode&&(a["--shape-outline-color"]="rgba(var(--rgb-primary-text-color), 0.05)",xl(n)&&(a["--icon-color"]="rgba(var(--rgb-primary-text-color), 0.2)"))}else if(s){const t=qa(s);a["--icon-color"]=`rgb(${t})`,a["--shape-color"]=`rgba(${t}, 0.2)`}return Y` + + + + `}renderOtherControls(){const t=this._controls.filter((t=>t!=this._activeControl));return Y` + ${t.map((t=>Y` + this._onControlTap(t,e)}> + + + `))} + `}renderActiveControl(t){var e,i;switch(this._activeControl){case"brightness_control":const o=bl(t),n={},r=null===(e=this._config)||void 0===e?void 0:e.icon_color;if(o&&(null===(i=this._config)||void 0===i?void 0:i.use_light_color)){const t=o.join(",");n["--slider-color"]=`rgb(${t})`,n["--slider-bg-color"]=`rgba(${t}, 0.2)`,yl(o)&&!this.hass.themes.darkMode&&(n["--slider-bg-color"]="rgba(var(--rgb-primary-text-color), 0.05)",n["--slider-color"]="rgba(var(--rgb-primary-text-color), 0.15)")}else if(r){const t=qa(r);n["--slider-color"]=`rgb(${t})`,n["--slider-bg-color"]=`rgba(${t}, 0.2)`}return Y` + + `;case"color_temp_control":return Y` + + `;case"color_control":return Y` + + `;default:return K}}static get styles(){return[super.styles,Ls,h` + mushroom-state-item { + cursor: pointer; + } + mushroom-shape-icon { + --icon-color: rgb(var(--rgb-state-light)); + --shape-color: rgba(var(--rgb-state-light), 0.2); + } + mushroom-light-brightness-control, + mushroom-light-color-temp-control, + mushroom-light-color-control { + flex: 1; + } + `]}};n([vt()],Oc.prototype,"_activeControl",void 0),n([vt()],Oc.prototype,"brightness",void 0),Oc=n([pt(Cc)],Oc);const Mc=`${Ns}-lock-card`,jc=`${Mc}-editor`,Dc=["lock"];function Lc(t){return"unlocked"===t.state}function Pc(t){return"locked"===t.state}function Nc(t){switch(t.state){case"locking":case"unlocking":return!0;default:return!1}}const Rc=[{icon:"mdi:lock",title:"lock",serviceName:"lock",isVisible:t=>Lc(t),isDisabled:()=>!1},{icon:"mdi:lock-open",title:"unlock",serviceName:"unlock",isVisible:t=>Pc(t),isDisabled:()=>!1},{icon:"mdi:lock-clock",isVisible:t=>Nc(t),isDisabled:()=>!0},{icon:"mdi:door-open",title:"open",serviceName:"open",isVisible:t=>Wt(t,1)&&Lc(t),isDisabled:t=>Nc(t)}];let Fc=class extends ht{constructor(){super(...arguments),this.fill=!1}callService(t){t.stopPropagation();const e=t.target.entry;this.hass.callService("lock",e.serviceName,{entity_id:this.entity.entity_id})}render(){const t=Ie(this.hass),e=zo(this.hass);return Y` + ${Rc.filter((t=>t.isVisible(this.entity))).map((t=>Y` - + - `}static get styles(){return h` - :host { - display: flex; - } - mushroom-button.active { - --icon-color: rgb(var(--rgb-state-fan)); - --bg-color: rgba(var(--rgb-state-fan), 0.2); - } - `}};n([_t({attribute:!1})],uc.prototype,"hass",void 0),n([_t({attribute:!1})],uc.prototype,"entity",void 0),uc=n([pt("mushroom-fan-oscillate-control")],uc);let hc=class extends ht{onChange(t){const e=t.detail.value;this.hass.callService("fan","set_percentage",{entity_id:this.entity.entity_id,percentage:e})}onCurrentChange(t){const e=t.detail.value;this.dispatchEvent(new CustomEvent("current-change",{detail:{value:e}}))}render(){const t=cc(this.entity);return Y` - - `;var e}static get styles(){return h` - mushroom-slider { - --main-color: rgb(var(--rgb-state-fan)); - --bg-color: rgba(var(--rgb-state-fan), 0.2); - } - `}};n([_t({attribute:!1})],hc.prototype,"hass",void 0),n([_t({attribute:!1})],hc.prototype,"entity",void 0),hc=n([pt("mushroom-fan-percentage-control")],hc),Pl({type:ac,name:"Mushroom Fan Card",description:"Card for fan entity"});let mc=class extends Dl{static async getConfigElement(){return await Promise.resolve().then((function(){return yf})),document.createElement(lc)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>sc.includes(t.split(".")[0])));return{type:`custom:${ac}`,entity:e[0]}}get hasControls(){var t,e;return Boolean(null===(t=this._config)||void 0===t?void 0:t.show_percentage_control)||Boolean(null===(e=this._config)||void 0===e?void 0:e.show_oscillate_control)}setConfig(t){super.setConfig(Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t)),this.updatePercentage()}updated(t){super.updated(t),this.hass&&t.has("hass")&&this.updatePercentage()}updatePercentage(){this.percentage=void 0;const t=this._stateObj;this._config&&this.hass&&t&&(this.percentage=cc(t))}onCurrentPercentageChange(t){null!=t.detail.value&&(this.percentage=Math.round(t.detail.value))}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this._config||!this.hass||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$l(this._config),n=rl(t,o.icon_type);let r=this.hass.formatEntityState?this.hass.formatEntityState(t):ne(this.hass.localize,t,this.hass.locale,this.hass.config,this.hass.entities);null!=this.percentage&&"on"===t.state&&(r=`${this.percentage}${oe(this.hass.locale)}%`);const a=Ie(this.hass),l=(!this._config.collapsible_controls||Bt(t))&&(this._config.show_percentage_control||this._config.show_oscillate_control);return Y` - - - - ${n?this.renderPicture(n):this.renderIcon(t,i)} - ${this.renderBadge(t)} - ${this.renderStateInfo(t,o,e,r)}; - - ${l?Y` -
- ${this._config.show_percentage_control?Y` - - `:K} - ${this._config.show_oscillate_control?Y` - - `:K} -
- `:K} -
-
- `}renderIcon(t,e){var i;let o={};const n=cc(t),r=Bt(t);if(r)if(n){const t=1.5*(n/100)**.5;o["--animation-duration"]=1/t+"s"}else o["--animation-duration"]="1s";return Y` - + `}};n([_t({attribute:!1})],Fc.prototype,"hass",void 0),n([_t({attribute:!1})],Fc.prototype,"entity",void 0),n([_t({type:Boolean})],Fc.prototype,"fill",void 0),Fc=n([pt("mushroom-lock-buttons-control")],Fc),Ps({type:Mc,name:"Mushroom Lock Card",description:"Card for all lock entities"});let Vc=class extends Ds{static async getConfigElement(){return await Promise.resolve().then((function(){return Ff})),document.createElement(jc)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>Dc.includes(t.split(".")[0])));return{type:`custom:${Mc}`,entity:e[0]}}get hasControls(){return!0}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this._config||!this.hass||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$s(this._config),n=rs(t,o.icon_type),r=Ie(this.hass);return Y` + + + + ${n?this.renderPicture(n):this.renderIcon(t,i)} + ${this.renderBadge(t)} + ${this.renderStateInfo(t,o,e)}; + +
+ - - - `}static get styles(){return[super.styles,Ll,h` - mushroom-state-item { - cursor: pointer; - } - mushroom-shape-icon { - --icon-color: rgb(var(--rgb-state-fan)); - --shape-color: rgba(var(--rgb-state-fan), 0.2); - } - .spin ha-state-icon { - animation: var(--animation-duration) infinite linear spin; - } - mushroom-fan-percentage-control { - flex: 1; - } - `]}};n([vt()],mc.prototype,"percentage",void 0),mc=n([pt(ac)],mc);const pc=`${Nl}-humidifier-card`,fc=`${pc}-editor`,gc=["humidifier"];let _c=class extends ht{onChange(t){const e=t.detail.value;this.hass.callService("humidifier","set_humidity",{entity_id:this.entity.entity_id,humidity:e})}onCurrentChange(t){const e=t.detail.value;this.dispatchEvent(new CustomEvent("current-change",{detail:{value:e}}))}render(){const t=this.entity.attributes.max_humidity||100,e=this.entity.attributes.min_humidity||0;return Y``}static get styles(){return h` - mushroom-slider { - --main-color: rgb(var(--rgb-state-humidifier)); - --bg-color: rgba(var(--rgb-state-humidifier), 0.2); - } - `}};n([_t({attribute:!1})],_c.prototype,"hass",void 0),n([_t({attribute:!1})],_c.prototype,"entity",void 0),n([_t({attribute:!1})],_c.prototype,"color",void 0),_c=n([pt("mushroom-humidifier-humidity-control")],_c),Pl({type:pc,name:"Mushroom Humidifier Card",description:"Card for humidifier entity"});let vc=class extends Dl{static async getConfigElement(){return await Promise.resolve().then((function(){return $f})),document.createElement(fc)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>gc.includes(t.split(".")[0])));return{type:`custom:${pc}`,entity:e[0]}}get hasControls(){var t;return Boolean(null===(t=this._config)||void 0===t?void 0:t.show_target_humidity_control)}setConfig(t){super.setConfig(Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t))}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}onCurrentHumidityChange(t){null!=t.detail.value&&(this.humidity=t.detail.value)}render(){if(!this._config||!this.hass||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$l(this._config),n=rl(t,o.icon_type);let r=this.hass.formatEntityState?this.hass.formatEntityState(t):ne(this.hass.localize,t,this.hass.locale,this.hass.config,this.hass.entities);this.humidity&&(r=`${this.humidity}${oe(this.hass.locale)}%`);const a=Ie(this.hass),l=(!this._config.collapsible_controls||Bt(t))&&this._config.show_target_humidity_control;return Y` - - - - ${n?this.renderPicture(n):this.renderIcon(t,i)} - ${this.renderBadge(t)} - ${this.renderStateInfo(t,o,e,r)}; - - ${l?Y` -
- -
- `:K} -
-
- `}static get styles(){return[super.styles,Ll,h` - mushroom-state-item { - cursor: pointer; - } - mushroom-shape-icon { - --icon-color: rgb(var(--rgb-state-humidifier)); - --shape-color: rgba(var(--rgb-state-humidifier), 0.2); - } - mushroom-humidifier-humidity-control { - flex: 1; - } - `]}};n([vt()],vc.prototype,"humidity",void 0),vc=n([pt(pc)],vc);const bc=`${Nl}-number-card`,yc=`${bc}-editor`,xc=["number","input_number"];let wc=class extends ht{onChange(t){const e=t.detail.value,i=this.entity.entity_id.split(".")[0];this.hass.callService(i,"set_value",{entity_id:this.entity.entity_id,value:e})}onCurrentChange(t){const e=t.detail.value;this.dispatchEvent(new CustomEvent("current-change",{detail:{value:e}}))}render(){var t;const e=Number(this.entity.state),i=null!==(t=ee(this.entity,this.hass.entities[this.entity.entity_id]))&&void 0!==t?t:ie(this.entity.state);return"buttons"===this.displayMode?Y` - - `:Y` - - `}static get styles(){return h` - :host { - --slider-color: rgb(var(--rgb-state-number)); - --slider-outline-color: transparent; - --slider-bg-color: rgba(var(--rgb-state-number), 0.2); - } - mushroom-slider { - --main-color: var(--slider-color); - --bg-color: var(--slider-bg-color); - --main-outline-color: var(--slider-outline-color); - } - `}};n([_t({attribute:!1})],wc.prototype,"hass",void 0),n([_t({attribute:!1})],wc.prototype,"entity",void 0),n([_t({attribute:!1})],wc.prototype,"displayMode",void 0),wc=n([pt("mushroom-number-value-control")],wc),Pl({type:bc,name:"Mushroom Number Card",description:"Card for number and input number entity"});let kc=class extends Dl{static async getConfigElement(){return await Promise.resolve().then((function(){return Of})),document.createElement(yc)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>xc.includes(t.split(".")[0])));return{type:`custom:${bc}`,entity:e[0]}}get hasControls(){return!0}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}onCurrentValueChange(t){null!=t.detail.value&&(this.value=t.detail.value)}updated(t){super.updated(t),this.hass&&t.has("hass")&&this.updateValue()}updateValue(){this.value=void 0;const t=this._stateObj;t&&!Number.isNaN(t.state)&&(this.value=Number(t.state))}render(){var t,e,i;if(!this._config||!this.hass||!this._config.entity)return K;const o=this._stateObj;if(!o)return this.renderNotFound(this._config);const n=this._config.name||o.attributes.friendly_name||"",r=this._config.icon,a=$l(this._config),l=rl(o,a.icon_type);let s=this.hass.formatEntityState?this.hass.formatEntityState(o):ne(this.hass.localize,o,this.hass.locale,this.hass.config,this.hass.entities);if(void 0!==this.value){s=`${te(this.value,this.hass.locale,null!==(t=ee(o,this.hass.entities[o.entity_id]))&&void 0!==t?t:ie(o.state))} ${null!==(e=o.attributes.unit_of_measurement)&&void 0!==e?e:""}`}const c=Ie(this.hass),d={},u=null===(i=this._config)||void 0===i?void 0:i.icon_color;if(u){const t=qa(u);d["--slider-color"]=`rgb(${t})`,d["--slider-bg-color"]=`rgba(${t}, 0.2)`}return Y` - - - - ${l?this.renderPicture(l):this.renderIcon(o,r)} - ${this.renderBadge(o)} - ${this.renderStateInfo(o,a,n,s)}; - -
- -
-
-
- `}renderIcon(t,e){var i;const o=Bt(t),n={},r=null===(i=this._config)||void 0===i?void 0:i.icon_color;if(r){const t=qa(r);n["--icon-color"]=`rgb(${t})`,n["--shape-color"]=`rgba(${t}, 0.2)`}return Y` - - - - `}static get styles(){return[super.styles,Ll,h` - mushroom-state-item { - cursor: pointer; - } - mushroom-shape-icon { - --icon-color: rgb(var(--rgb-state-number)); - --shape-color: rgba(var(--rgb-state-number), 0.2); - } - mushroom-number-value-control { - flex: 1; - } - `]}};n([vt()],kc.prototype,"value",void 0),kc=n([pt(bc)],kc);const Cc=`${Nl}-light-card`,$c=`${Cc}-editor`,Ec=["light"];let Ac=class extends ht{onChange(t){const e=t.detail.value;this.hass.callService("light","turn_on",{entity_id:this.entity.entity_id,brightness_pct:e})}onCurrentChange(t){const e=t.detail.value;this.dispatchEvent(new CustomEvent("current-change",{detail:{value:e}}))}render(){const t=vs(this.entity);return Y` - - `}static get styles(){return h` - :host { - --slider-color: rgb(var(--rgb-state-light)); - --slider-outline-color: transparent; - --slider-bg-color: rgba(var(--rgb-state-light), 0.2); - } - mushroom-slider { - --main-color: var(--slider-color); - --bg-color: var(--slider-bg-color); - --main-outline-color: var(--slider-outline-color); - } - `}};n([_t({attribute:!1})],Ac.prototype,"hass",void 0),n([_t({attribute:!1})],Ac.prototype,"entity",void 0),Ac=n([pt("mushroom-light-brightness-control")],Ac);const Sc=[[0,"#f00"],[.17,"#ff0"],[.33,"#0f0"],[.5,"#0ff"],[.66,"#00f"],[.83,"#f0f"],[1,"#f00"]];let Ic=class extends ht{constructor(){super(...arguments),this._percent=0}_percentToRGB(t){return Ka.hsv(360*t,100,100).rgb().array()}_rgbToPercent(t){return Ka.rgb(t).hsv().hue()/360}onChange(t){const e=t.detail.value;this._percent=e;const i=this._percentToRGB(e/100);3===i.length&&this.hass.callService("light","turn_on",{entity_id:this.entity.entity_id,rgb_color:i})}render(){const t=this._percent||100*this._rgbToPercent(this.entity.attributes.rgb_color);return Y` - - `}static get styles(){const t=Sc.map((([t,e])=>`${e} ${100*t}%`)).join(", ");return h` - mushroom-slider { - --gradient: -webkit-linear-gradient(left, ${u(t)}); - } - `}};n([_t({attribute:!1})],Ic.prototype,"hass",void 0),n([_t({attribute:!1})],Ic.prototype,"entity",void 0),Ic=n([pt("mushroom-light-color-control")],Ic);let Tc=class extends ht{onChange(t){const e=t.detail.value;this.hass.callService("light","turn_on",{entity_id:this.entity.entity_id,color_temp:e})}render(){var t,e;const i=null!=(o=this.entity).attributes.color_temp?Math.round(o.attributes.color_temp):void 0;var o;return Y` - - `}static get styles(){return h` - mushroom-slider { - --gradient: -webkit-linear-gradient(right, rgb(255, 160, 0) 0%, white 100%); - } - `}};n([_t({attribute:!1})],Tc.prototype,"hass",void 0),n([_t({attribute:!1})],Tc.prototype,"entity",void 0),Tc=n([pt("mushroom-light-color-temp-control")],Tc);const Oc={brightness_control:"mdi:brightness-4",color_temp_control:"mdi:thermometer",color_control:"mdi:palette"};Pl({type:Cc,name:"Mushroom Light Card",description:"Card for light entity"});let zc=class extends Dl{static async getConfigElement(){return await Promise.resolve().then((function(){return Sp})),document.createElement($c)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>Ec.includes(t.split(".")[0])));return{type:`custom:${Cc}`,entity:e[0]}}get _controls(){if(!this._config||!this._stateObj)return[];const t=this._stateObj,e=[];return this._config.show_brightness_control&&ks(t)&&e.push("brightness_control"),this._config.show_color_temp_control&&function(t){var e,i;return null!==(i=null===(e=t.attributes.supported_color_modes)||void 0===e?void 0:e.some((t=>["color_temp"].includes(t))))&&void 0!==i&&i}(t)&&e.push("color_temp_control"),this._config.show_color_control&&ws(t)&&e.push("color_control"),e}get hasControls(){return this._controls.length>0}setConfig(t){super.setConfig(Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t)),this.updateActiveControl(),this.updateBrightness()}_onControlTap(t,e){e.stopPropagation(),this._activeControl=t}updated(t){super.updated(t),this.hass&&t.has("hass")&&(this.updateActiveControl(),this.updateBrightness())}updateBrightness(){this.brightness=void 0;const t=this._stateObj;t&&(this.brightness=vs(t))}onCurrentBrightnessChange(t){null!=t.detail.value&&(this.brightness=t.detail.value)}updateActiveControl(){const t=!!this._activeControl&&this._controls.includes(this._activeControl);this._activeControl=t?this._activeControl:this._controls[0]}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this._config||!this.hass||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$l(this._config),n=rl(t,o.icon_type);let r=this.hass.formatEntityState?this.hass.formatEntityState(t):ne(this.hass.localize,t,this.hass.locale,this.hass.config,this.hass.entities);null!=this.brightness&&(r=`${this.brightness}${oe(this.hass.locale)}%`);const a=Ie(this.hass),l=(!this._config.collapsible_controls||Bt(t))&&this._controls.length;return Y` - - - - ${n?this.renderPicture(n):this.renderIcon(t,i)} - ${this.renderBadge(t)} - ${this.renderStateInfo(t,o,e,r)}; - - ${l?Y` -
- ${this.renderActiveControl(t)} - ${this.renderOtherControls()} -
- `:K} -
-
- `}renderIcon(t,e){var i,o;const n=bs(t),r=Bt(t),a={},l=null===(i=this._config)||void 0===i?void 0:i.icon_color;if(n&&(null===(o=this._config)||void 0===o?void 0:o.use_light_color)){const t=n.join(",");a["--icon-color"]=`rgb(${t})`,a["--shape-color"]=`rgba(${t}, 0.25)`,ys(n)&&!this.hass.themes.darkMode&&(a["--shape-outline-color"]="rgba(var(--rgb-primary-text-color), 0.05)",xs(n)&&(a["--icon-color"]="rgba(var(--rgb-primary-text-color), 0.2)"))}else if(l){const t=qa(l);a["--icon-color"]=`rgb(${t})`,a["--shape-color"]=`rgba(${t}, 0.2)`}return Y` - - - - `}renderOtherControls(){const t=this._controls.filter((t=>t!=this._activeControl));return Y` - ${t.map((t=>Y` - this._onControlTap(t,e)}> - - - `))} - `}renderActiveControl(t){var e,i;switch(this._activeControl){case"brightness_control":const o=bs(t),n={},r=null===(e=this._config)||void 0===e?void 0:e.icon_color;if(o&&(null===(i=this._config)||void 0===i?void 0:i.use_light_color)){const t=o.join(",");n["--slider-color"]=`rgb(${t})`,n["--slider-bg-color"]=`rgba(${t}, 0.2)`,ys(o)&&!this.hass.themes.darkMode&&(n["--slider-bg-color"]="rgba(var(--rgb-primary-text-color), 0.05)",n["--slider-color"]="rgba(var(--rgb-primary-text-color), 0.15)")}else if(r){const t=qa(r);n["--slider-color"]=`rgb(${t})`,n["--slider-bg-color"]=`rgba(${t}, 0.2)`}return Y` - - `;case"color_temp_control":return Y` - - `;case"color_control":return Y` - - `;default:return K}}static get styles(){return[super.styles,Ll,h` - mushroom-state-item { - cursor: pointer; - } - mushroom-shape-icon { - --icon-color: rgb(var(--rgb-state-light)); - --shape-color: rgba(var(--rgb-state-light), 0.2); - } - mushroom-light-brightness-control, - mushroom-light-color-temp-control, - mushroom-light-color-control { - flex: 1; - } - `]}};n([vt()],zc.prototype,"_activeControl",void 0),n([vt()],zc.prototype,"brightness",void 0),zc=n([pt(Cc)],zc);const Mc=`${Nl}-lock-card`,jc=`${Mc}-editor`,Dc=["lock"];function Lc(t){return"unlocked"===t.state}function Pc(t){return"locked"===t.state}function Nc(t){switch(t.state){case"locking":case"unlocking":return!0;default:return!1}}const Rc=[{icon:"mdi:lock",title:"lock",serviceName:"lock",isVisible:t=>Lc(t),isDisabled:()=>!1},{icon:"mdi:lock-open",title:"unlock",serviceName:"unlock",isVisible:t=>Pc(t),isDisabled:()=>!1},{icon:"mdi:lock-clock",isVisible:t=>Nc(t),isDisabled:()=>!0},{icon:"mdi:door-open",title:"open",serviceName:"open",isVisible:t=>Wt(t,1)&&Lc(t),isDisabled:t=>Nc(t)}];let Fc=class extends ht{constructor(){super(...arguments),this.fill=!1}callService(t){t.stopPropagation();const e=t.target.entry;this.hass.callService("lock",e.serviceName,{entity_id:this.entity.entity_id})}render(){const t=Ie(this.hass),e=Oo(this.hass);return Y` - ${Rc.filter((t=>t.isVisible(this.entity))).map((t=>Y` - - - - `))} +
+
+
+ `}renderIcon(t,e){const i=Ut(t),o={"--icon-color":"rgb(var(--rgb-state-lock))","--shape-color":"rgba(var(--rgb-state-lock), 0.2)"};return Pc(t)?(o["--icon-color"]="rgb(var(--rgb-state-lock-locked))",o["--shape-color"]="rgba(var(--rgb-state-lock-locked), 0.2)"):Lc(t)?(o["--icon-color"]="rgb(var(--rgb-state-lock-unlocked))",o["--shape-color"]="rgba(var(--rgb-state-lock-unlocked), 0.2)"):Nc(t)&&(o["--icon-color"]="rgb(var(--rgb-state-lock-pending))",o["--shape-color"]="rgba(var(--rgb-state-lock-pending), 0.2)"),Y` + + + + `}static get styles(){return[super.styles,Ls,h` + mushroom-state-item { + cursor: pointer; + } + mushroom-lock-buttons-control { + flex: 1; + } + `]}};Vc=n([pt(Mc)],Vc);const Bc=`${Ns}-media-player-card`,Uc=`${Bc}-editor`,Hc=["media_player"];function Yc(t){return null!=t.attributes.volume_level?100*t.attributes.volume_level:void 0}const Wc=(t,e)=>{if(!t)return[];const i=t.state;if("off"===i)return Wt(t,128)&&e.includes("on_off")?[{icon:"mdi:power",action:"turn_on"}]:[];const o=[];Wt(t,256)&&e.includes("on_off")&&o.push({icon:"mdi:power",action:"turn_off"});const n=!0===t.attributes.assumed_state,r=t.attributes;return("playing"===i||"paused"===i||n)&&Wt(t,32768)&&e.includes("shuffle")&&o.push({icon:!0===r.shuffle?"mdi:shuffle":"mdi:shuffle-disabled",action:"shuffle_set"}),("playing"===i||"paused"===i||n)&&Wt(t,16)&&e.includes("previous")&&o.push({icon:"mdi:skip-previous",action:"media_previous_track"}),!n&&("playing"===i&&(Wt(t,1)||Wt(t,4096))||("paused"===i||"idle"===i)&&Wt(t,Pe)||"on"===i&&(Wt(t,Pe)||Wt(t,1)))&&e.includes("play_pause_stop")&&o.push({icon:"on"===i?"mdi:play-pause":"playing"!==i?"mdi:play":Wt(t,1)?"mdi:pause":"mdi:stop",action:"playing"!==i?"media_play":Wt(t,1)?"media_pause":"media_stop"}),n&&Wt(t,Pe)&&e.includes("play_pause_stop")&&o.push({icon:"mdi:play",action:"media_play"}),n&&Wt(t,1)&&e.includes("play_pause_stop")&&o.push({icon:"mdi:pause",action:"media_pause"}),n&&Wt(t,4096)&&e.includes("play_pause_stop")&&o.push({icon:"mdi:stop",action:"media_stop"}),("playing"===i||"paused"===i||n)&&Wt(t,32)&&e.includes("next")&&o.push({icon:"mdi:skip-next",action:"media_next_track"}),("playing"===i||"paused"===i||n)&&Wt(t,262144)&&e.includes("repeat")&&o.push({icon:"all"===r.repeat?"mdi:repeat":"one"===r.repeat?"mdi:repeat-once":"mdi:repeat-off",action:"repeat_set"}),o.length>0?o:[]},Xc=(t,e,i)=>{let o={};"shuffle_set"===i?o={shuffle:!e.attributes.shuffle}:"repeat_set"===i?o={repeat:"all"===e.attributes.repeat?"one":"off"===e.attributes.repeat?"all":"off"}:"volume_mute"===i&&(o={is_volume_muted:!e.attributes.is_volume_muted}),t.callService("media_player",i,Object.assign({entity_id:e.entity_id},o))};let Kc=class extends ht{constructor(){super(...arguments),this.fill=!1}_handleClick(t){t.stopPropagation();const e=t.target.action;Xc(this.hass,this.entity,e)}render(){const t=Ie(this.hass),e=Wc(this.entity,this.controls);return Y` + + ${e.map((t=>Y` + - `}};n([_t({attribute:!1})],Fc.prototype,"hass",void 0),n([_t({attribute:!1})],Fc.prototype,"entity",void 0),n([_t({type:Boolean})],Fc.prototype,"fill",void 0),Fc=n([pt("mushroom-lock-buttons-control")],Fc),Pl({type:Mc,name:"Mushroom Lock Card",description:"Card for all lock entities"});let Vc=class extends Dl{static async getConfigElement(){return await Promise.resolve().then((function(){return Df})),document.createElement(jc)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>Dc.includes(t.split(".")[0])));return{type:`custom:${Mc}`,entity:e[0]}}get hasControls(){return!0}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this._config||!this.hass||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$l(this._config),n=rl(t,o.icon_type),r=Ie(this.hass);return Y` - - - - ${n?this.renderPicture(n):this.renderIcon(t,i)} - ${this.renderBadge(t)} - ${this.renderStateInfo(t,o,e)}; - -
- - -
-
-
- `}renderIcon(t,e){const i=Ut(t),o={"--icon-color":"rgb(var(--rgb-state-lock))","--shape-color":"rgba(var(--rgb-state-lock), 0.2)"};return Pc(t)?(o["--icon-color"]="rgb(var(--rgb-state-lock-locked))",o["--shape-color"]="rgba(var(--rgb-state-lock-locked), 0.2)"):Lc(t)?(o["--icon-color"]="rgb(var(--rgb-state-lock-unlocked))",o["--shape-color"]="rgba(var(--rgb-state-lock-unlocked), 0.2)"):Nc(t)&&(o["--icon-color"]="rgb(var(--rgb-state-lock-pending))",o["--shape-color"]="rgba(var(--rgb-state-lock-pending), 0.2)"),Y` - - +
+ `))} +
+ `}};n([_t({attribute:!1})],Kc.prototype,"hass",void 0),n([_t({attribute:!1})],Kc.prototype,"entity",void 0),n([_t({attribute:!1})],Kc.prototype,"controls",void 0),n([_t({type:Boolean})],Kc.prototype,"fill",void 0),Kc=n([pt("mushroom-media-player-media-control")],Kc);let Gc=class extends ht{constructor(){super(...arguments),this.fill=!1}handleSliderChange(t){const e=t.detail.value;this.hass.callService("media_player","volume_set",{entity_id:this.entity.entity_id,volume_level:e/100})}handleSliderCurrentChange(t){let e=t.detail.value;this.dispatchEvent(new CustomEvent("current-change",{detail:{value:e}}))}handleClick(t){t.stopPropagation();const e=t.target.action;Xc(this.hass,this.entity,e)}render(){var t,e,i;if(!this.entity)return K;const o=Yc(this.entity),n=Ie(this.hass),r=(null===(t=this.controls)||void 0===t?void 0:t.includes("volume_set"))&&Wt(this.entity,4),a=(null===(e=this.controls)||void 0===e?void 0:e.includes("volume_mute"))&&Wt(this.entity,8),s=(null===(i=this.controls)||void 0===i?void 0:i.includes("volume_buttons"))&&Wt(this.entity,1024);return Y` + + ${r?Y` `:K} + ${a?Y` + + + + `:void 0} + ${s?Y` + + + `:void 0} + ${s?Y` + + + `:void 0} + + `}static get styles(){return h` + mushroom-slider { + flex: 1; + --main-color: rgb(var(--rgb-state-media-player)); + --bg-color: rgba(var(--rgb-state-media-player), 0.2); + } + `}};n([_t({attribute:!1})],Gc.prototype,"hass",void 0),n([_t({attribute:!1})],Gc.prototype,"entity",void 0),n([_t({type:Boolean})],Gc.prototype,"fill",void 0),n([_t({attribute:!1})],Gc.prototype,"controls",void 0),Gc=n([pt("mushroom-media-player-volume-control")],Gc);const qc={media_control:"mdi:play-pause",volume_control:"mdi:volume-high"};Ps({type:Bc,name:"Mushroom Media Card",description:"Card for media player entity"});let Zc=class extends Ds{static async getConfigElement(){return await Promise.resolve().then((function(){return Xf})),document.createElement(Uc)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>Hc.includes(t.split(".")[0])));return{type:`custom:${Bc}`,entity:e[0]}}get hasControls(){var t,e,i,o;return Boolean(null===(e=null===(t=this._config)||void 0===t?void 0:t.media_controls)||void 0===e?void 0:e.length)||Boolean(null===(o=null===(i=this._config)||void 0===i?void 0:i.volume_controls)||void 0===o?void 0:o.length)}get _controls(){if(!this._config||!this._stateObj)return[];const t=this._stateObj,e=[];return((t,e)=>Wc(t,null!=e?e:[]).length>0)(t,this._config.media_controls)&&e.push("media_control"),((t,e)=>(null==e?void 0:e.includes("volume_buttons"))&&Wt(t,1024)||(null==e?void 0:e.includes("volume_mute"))&&Wt(t,8)||(null==e?void 0:e.includes("volume_set"))&&Wt(t,4))(t,this._config.volume_controls)&&e.push("volume_control"),e}_onControlTap(t,e){e.stopPropagation(),this._activeControl=t}setConfig(t){super.setConfig(t),this.updateActiveControl(),this.updateVolume()}updated(t){super.updated(t),this.hass&&t.has("hass")&&(this.updateActiveControl(),this.updateVolume())}updateVolume(){this.volume=void 0;const t=this._stateObj;if(!t)return;const e=Yc(t);this.volume=null!=e?Math.round(e):e}onCurrentVolumeChange(t){null!=t.detail.value&&(this.volume=t.detail.value)}updateActiveControl(){const t=!!this._activeControl&&this._controls.includes(this._activeControl);this._activeControl=t?this._activeControl:this._controls[0]}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this._config||!this.hass||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=function(t,e){var i,o=t.icon;if(![Nt,Rt,Ft].includes(e.state)&&t.use_media_info)switch(null===(i=e.attributes.app_name)||void 0===i?void 0:i.toLowerCase()){case"spotify":return"mdi:spotify";case"google podcasts":return"mdi:google-podcast";case"plex":return"mdi:plex";case"soundcloud":return"mdi:soundcloud";case"youtube":return"mdi:youtube";case"oto music":return"mdi:music-circle";case"netflix":return"mdi:netflix";default:return}return o}(this._config,t),i=function(t,e){let i=t.name||e.attributes.friendly_name||"";return![Nt,Rt,Ft].includes(e.state)&&t.use_media_info&&e.attributes.media_title&&(i=e.attributes.media_title),i}(this._config,t),o=function(t,e,i){let o=i.formatEntityState?i.formatEntityState(e):ne(i.localize,e,i.locale,i.config,i.entities);return![Nt,Rt,Ft].includes(e.state)&&t.use_media_info&&(t=>{let e;switch(t.attributes.media_content_type){case"music":case"image":e=t.attributes.media_artist;break;case"playlist":e=t.attributes.media_playlist;break;case"tvshow":e=t.attributes.media_series_title,t.attributes.media_season&&(e+=" S"+t.attributes.media_season,t.attributes.media_episode&&(e+="E"+t.attributes.media_episode));break;default:e=t.attributes.app_name||""}return e})(e)||o}(this._config,t,this.hass),n=$s(this._config),r=rs(t,n.icon_type),a=null!=this.volume&&this._config.show_volume_level?`${o} - ${this.volume}${oe(this.hass.locale)}%`:o,s=Ie(this.hass),l=(!this._config.collapsible_controls||Bt(t))&&this._controls.length;return Y` + + + + ${r?this.renderPicture(r):this.renderIcon(t,e)} + ${this.renderBadge(t)} + ${this.renderStateInfo(t,n,i,a)}; + + ${l?Y` +
+ ${this.renderActiveControl(t,n.layout)} + ${this.renderOtherControls()} +
+ `:K} +
+
+ `}renderOtherControls(){const t=this._controls.filter((t=>t!=this._activeControl));return Y` + ${t.map((t=>Y` + this._onControlTap(t,e)}> + + + `))} + `}renderActiveControl(t,e){var i,o,n,r;const a=null!==(o=null===(i=this._config)||void 0===i?void 0:i.media_controls)&&void 0!==o?o:[],s=null!==(r=null===(n=this._config)||void 0===n?void 0:n.volume_controls)&&void 0!==r?r:[];switch(this._activeControl){case"media_control":return Y` + + + `;case"volume_control":return Y` + + `;default:return K}}static get styles(){return[super.styles,Ls,h` + mushroom-state-item { + cursor: pointer; + } + mushroom-shape-icon { + --icon-color: rgb(var(--rgb-state-media-player)); + --shape-color: rgba(var(--rgb-state-media-player), 0.2); + } + mushroom-media-player-media-control, + mushroom-media-player-volume-control { + flex: 1; + } + `]}};n([vt()],Zc.prototype,"_activeControl",void 0),n([vt()],Zc.prototype,"volume",void 0),Zc=n([pt(Bc)],Zc);const Jc=`${Ns}-person-card`,Qc=`${Jc}-editor`,td=["person","device_tracker"];Ps({type:Jc,name:"Mushroom Person Card",description:"Card for person entity"});let ed=class extends Ds{static async getConfigElement(){return await Promise.resolve().then((function(){return Zf})),document.createElement(Qc)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>td.includes(t.split(".")[0])));return{type:`custom:${Jc}`,entity:e[0]}}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this._config||!this.hass||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$s(this._config),n=rs(t,o.icon_type),r=Ie(this.hass);return Y` + + + + ${n?this.renderPicture(n):this.renderIcon(t,i)} + ${this.renderBadge(t)} + ${this.renderStateInfo(t,o,e)}; + + + + `}renderStateBadge(t){const e=Object.values(this.hass.states).filter((t=>t.entity_id.startsWith("zone."))),i=function(t,e){const i=t.state;if(i===Rt)return"mdi:help";if("not_home"===i)return"mdi:home-export-outline";if("home"===i)return"mdi:home";const o=e.find((t=>i===t.attributes.friendly_name));return o&&o.attributes.icon?o.attributes.icon:"mdi:home"}(t,e),o=function(t,e){const i=t.state;if(i===Rt)return"var(--rgb-state-person-unknown)";if("not_home"===i)return"var(--rgb-state-person-not-home)";if("home"===i)return"var(--rgb-state-person-home)";const o=e.some((t=>i===t.attributes.friendly_name));return o?"var(--rgb-state-person-zone)":"var(--rgb-state-person-home)"}(t,e);return Y` + + `}renderBadge(t){return!Ut(t)?super.renderBadge(t):this.renderStateBadge(t)}static get styles(){return[super.styles,Ls,h` + mushroom-state-item { + cursor: pointer; + } + `]}};ed=n([pt(Jc)],ed);const id=`${Ns}-select-card`,od=`${id}-editor`,nd=["input_select","select"];function rd(t){return null!=t.state?t.state:void 0}let ad=class extends ht{_selectChanged(t){const e=t.target.value,i=rd(this.entity);e&&e!==i&&this._setValue(e)}_setValue(t){const e=this.entity.entity_id.split(".")[0];this.hass.callService(e,"select_option",{entity_id:this.entity.entity_id,option:t})}render(){const t=rd(this.entity),e=this.entity.attributes.options;return Y` + t.stopPropagation()} + .value=${null!=t?t:""} + naturalMenuWidth + fixedMenuPosition + > + ${e.map((t=>Y` + + ${this.hass.formatEntityState?this.hass.formatEntityState(this.entity,t):ne(this.hass.localize,this.entity,this.hass.locale,this.hass.config,this.hass.entities,t)} + + `))} + + `}static get styles(){return h` + :host { + display: flex; + height: 100%; + align-items: center; + } + mushroom-select { + --select-height: var(--control-height); + width: 100%; + } + `}};n([_t()],ad.prototype,"hass",void 0),n([_t({attribute:!1})],ad.prototype,"entity",void 0),ad=n([pt("mushroom-select-option-control")],ad),Ps({type:id,name:"Mushroom Select Card",description:"Card for select and input_select entities"});let sd=class extends Ds{static async getConfigElement(){return await Promise.resolve().then((function(){return eg})),document.createElement(od)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>nd.includes(t.split(".")[0])));return{type:`custom:${id}`,entity:e[0]}}get hasControls(){return!0}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){var t;if(!this._config||!this.hass||!this._config.entity)return K;const e=this._stateObj;if(!e)return this.renderNotFound(this._config);const i=this._config.name||e.attributes.friendly_name||"",o=this._config.icon,n=$s(this._config),r=rs(e,n.icon_type),a=Ie(this.hass),s=null===(t=this._config)||void 0===t?void 0:t.icon_color,l={};if(s){const t=qa(s);l["--mdc-theme-primary"]=`rgb(${t})`}return Y` + + + + ${r?this.renderPicture(r):this.renderIcon(e,o)} + ${this.renderBadge(e)} + ${this.renderStateInfo(e,n,i)}; + +
+ +
+
+
+ `}renderIcon(t,e){var i;const o=Bt(t),n={},r=null===(i=this._config)||void 0===i?void 0:i.icon_color;if(r){const t=qa(r);n["--icon-color"]=`rgb(${t})`,n["--shape-color"]=`rgba(${t}, 0.2)`}return Y` + + + + `}static get styles(){return[super.styles,Ls,h` + .actions { + overflow: visible; + display: block; + } + mushroom-state-item { + cursor: pointer; + } + mushroom-shape-icon { + --icon-color: rgb(var(--rgb-state-entity)); + --shape-color: rgba(var(--rgb-state-entity), 0.2); + } + mushroom-select-option-control { + flex: 1; + --mdc-theme-primary: rgb(var(--rgb-state-entity)); + } + `]}};sd=n([pt(id)],sd);const ld=`${Ns}-template-card`,cd=`${ld}-editor`;Ps({type:ld,name:"Mushroom Template",description:"Build your own mushroom card using templates"});const dd=["icon","icon_color","badge_color","badge_icon","primary","secondary","picture"];let ud=class extends js{constructor(){super(...arguments),this._templateResults={},this._unsubRenderTemplates=new Map}static async getConfigElement(){return await Promise.resolve().then((function(){return vu})),document.createElement(cd)}static async getStubConfig(t){return{type:`custom:${ld}`,primary:"Hello, {{user}}",secondary:"How are you?",icon:"mdi:home"}}getCardSize(){let t=1;if(!this._config)return t;return"vertical"===$s(this._config).layout&&(t+=1),t}getLayoutOptions(){var t;const e={grid_columns:2,grid_rows:1};if(!this._config)return e;const i=$s(this._config);return"vertical"===i.layout&&(e.grid_rows+=1),"horizontal"===i.layout&&(e.grid_columns=4),(null===(t=this._config)||void 0===t?void 0:t.multiline_secondary)&&(e.grid_rows=void 0),e}setConfig(t){dd.forEach((e=>{var i,o;(null===(i=this._config)||void 0===i?void 0:i[e])===t[e]&&(null===(o=this._config)||void 0===o?void 0:o.entity)==t.entity||this._tryDisconnectKey(e)})),this._config=Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t)}connectedCallback(){super.connectedCallback(),this._tryConnect()}disconnectedCallback(){this._tryDisconnect()}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}isTemplate(t){var e;const i=null===(e=this._config)||void 0===e?void 0:e[t];return null==i?void 0:i.includes("{")}getValue(t){var e,i,o;return this.isTemplate(t)?null===(i=null===(e=this._templateResults[t])||void 0===e?void 0:e.result)||void 0===i?void 0:i.toString():null===(o=this._config)||void 0===o?void 0:o[t]}render(){if(!this._config||!this.hass)return K;const t=this.getValue("icon"),e=this.getValue("icon_color"),i=this.getValue("badge_icon"),o=this.getValue("badge_color"),n=this.getValue("primary"),r=this.getValue("secondary"),a=this.getValue("picture"),s=this._config.multiline_secondary,l=Ie(this.hass),c=$s({fill_container:this._config.fill_container,layout:this._config.layout,icon_type:Boolean(a)?"entity-picture":Boolean(t)?"icon":"none",primary_info:Boolean(n)?"name":"none",secondary_info:Boolean(r)?"state":"none"}),d=hl(t);return Y` + + + + ${a?this.renderPicture(a):d?Y`
${d}
`:t?this.renderIcon(t,e):K} + ${(t||a)&&i?this.renderBadgeIcon(i,o):void 0} + +
+
+
+ `}renderPicture(t){return Y` + + `}renderIcon(t,e){const i={};if(e){const t=qa(e);i["--icon-color"]=`rgb(${t})`,i["--shape-color"]=`rgba(${t}, 0.2)`}return Y` + + + + `}renderBadgeIcon(t,e){const i={};if(e){const t=qa(e);i["--main-color"]=`rgba(${t})`}return Y` + + `}updated(t){super.updated(t),this._config&&this.hass&&this._tryConnect()}async _tryConnect(){dd.forEach((t=>{this._tryConnectKey(t)}))}async _tryConnectKey(t){var e,i;if(void 0===this._unsubRenderTemplates.get(t)&&this.hass&&this._config&&this.isTemplate(t))try{const i=Fe(this.hass.connection,(e=>{this._templateResults=Object.assign(Object.assign({},this._templateResults),{[t]:e})}),{template:null!==(e=this._config[t])&&void 0!==e?e:"",entity_ids:this._config.entity_id,variables:{config:this._config,user:this.hass.user.name,entity:this._config.entity},strict:!0});this._unsubRenderTemplates.set(t,i),await i}catch(e){const o={result:null!==(i=this._config[t])&&void 0!==i?i:"",listeners:{all:!1,domains:[],entities:[],time:!1}};this._templateResults=Object.assign(Object.assign({},this._templateResults),{[t]:o}),this._unsubRenderTemplates.delete(t)}}async _tryDisconnect(){dd.forEach((t=>{this._tryDisconnectKey(t)}))}async _tryDisconnectKey(t){const e=this._unsubRenderTemplates.get(t);if(e)try{(await e)(),this._unsubRenderTemplates.delete(t)}catch(t){if("not_found"!==t.code&&"template_error"!==t.code)throw t}}static get styles(){return[super.styles,Ls,h` + mushroom-state-item { + cursor: pointer; + } + mushroom-shape-icon { + --icon-color: rgb(var(--rgb-disabled)); + --shape-color: rgba(var(--rgb-disabled), 0.2); + } + svg { + width: var(--icon-size); + height: var(--icon-size); + display: flex; + } + ${il} + `]}};n([vt()],ud.prototype,"_config",void 0),n([vt()],ud.prototype,"_templateResults",void 0),n([vt()],ud.prototype,"_unsubRenderTemplates",void 0),n([_t({reflect:!0,type:String})],ud.prototype,"layout",void 0),ud=n([pt(ld)],ud);const hd=`${Ns}-title-card`,md=`${hd}-editor`;Ps({type:hd,name:"Mushroom Title Card",description:"Title and subtitle to separate sections"});const pd=["title","subtitle"];let fd=class extends js{constructor(){super(...arguments),this._templateResults={},this._unsubRenderTemplates=new Map}static async getConfigElement(){return await Promise.resolve().then((function(){return sg})),document.createElement(md)}static async getStubConfig(t){return{type:`custom:${hd}`,title:"Hello, {{ user }} !"}}getCardSize(){return 1}setConfig(t){pd.forEach((e=>{var i;(null===(i=this._config)||void 0===i?void 0:i[e])!==t[e]&&this._tryDisconnectKey(e)})),this._config=Object.assign({title_tap_action:{action:"none"},subtitle_tap_action:{action:"none"}},t)}connectedCallback(){super.connectedCallback(),this._tryConnect()}disconnectedCallback(){this._tryDisconnect()}isTemplate(t){var e;const i=null===(e=this._config)||void 0===e?void 0:e[t];return null==i?void 0:i.includes("{")}getValue(t){var e,i,o;return this.isTemplate(t)?null===(i=null===(e=this._templateResults[t])||void 0===e?void 0:e.result)||void 0===i?void 0:i.toString():null===(o=this._config)||void 0===o?void 0:o[t]}_handleTitleAction(t){const e={tap_action:this._config.title_tap_action};Ke(this,this.hass,e,t.detail.action)}_handleSubtitleAction(t){const e={tap_action:this._config.subtitle_tap_action};Ke(this,this.hass,e,t.detail.action)}render(){if(!this._config||!this.hass)return K;const t=this.getValue("title"),e=this.getValue("subtitle");let i="";this._config.alignment&&(i=`align-${this._config.alignment}`);const o=Boolean(this._config.title_tap_action&&"none"!==this._config.title_tap_action.action),n=Boolean(this._config.subtitle_tap_action&&"none"!==this._config.subtitle_tap_action.action),r=Ie(this.hass);return Y` + + ${t?Y` +
+

${t}${this.renderArrow()}

+
+ `:K} + ${e?Y` +
+

${e}${this.renderArrow()}

+
+ `:K} +
+ `}renderArrow(){const t=Ie(this.hass);return Y` `}updated(t){super.updated(t),this._config&&this.hass&&this._tryConnect()}async _tryConnect(){pd.forEach((t=>{this._tryConnectKey(t)}))}async _tryConnectKey(t){var e,i;if(void 0===this._unsubRenderTemplates.get(t)&&this.hass&&this._config&&this.isTemplate(t))try{const i=Fe(this.hass.connection,(e=>{this._templateResults=Object.assign(Object.assign({},this._templateResults),{[t]:e})}),{template:null!==(e=this._config[t])&&void 0!==e?e:"",entity_ids:this._config.entity_id,variables:{config:this._config,user:this.hass.user.name},strict:!0});this._unsubRenderTemplates.set(t,i),await i}catch(e){const o={result:null!==(i=this._config[t])&&void 0!==i?i:"",listeners:{all:!1,domains:[],entities:[],time:!1}};this._templateResults=Object.assign(Object.assign({},this._templateResults),{[t]:o}),this._unsubRenderTemplates.delete(t)}}async _tryDisconnect(){pd.forEach((t=>{this._tryDisconnectKey(t)}))}async _tryDisconnectKey(t){const e=this._unsubRenderTemplates.get(t);if(e)try{(await e)(),this._unsubRenderTemplates.delete(t)}catch(t){if("not_found"!==t.code&&"template_error"!==t.code)throw t}}static get styles(){return[super.styles,Ls,h` + .header { + display: block; + padding: var(--title-padding); + background: none; + border: none; + box-shadow: none; + } + .header div * { + margin: 0; + white-space: pre-wrap; + } + .header div:not(:last-of-type) { + margin-bottom: var(--title-spacing); + } + .actionable { + cursor: pointer; + } + .header ha-icon { + display: none; + } + .actionable ha-icon { + display: inline-block; + margin-left: 4px; + transition: transform 180ms ease-in-out; + } + .actionable:hover ha-icon { + transform: translateX(4px); + } + [rtl] .actionable ha-icon { + margin-left: initial; + margin-right: 4px; + } + [rtl] .actionable:hover ha-icon { + transform: translateX(-4px); + } + .title { + color: var(--title-color); + font-size: var(--title-font-size); + font-weight: var(--title-font-weight); + line-height: var(--title-line-height); + letter-spacing: var(--title-letter-spacing); + --mdc-icon-size: var(--title-font-size); + } + .subtitle { + color: var(--subtitle-color); + font-size: var(--subtitle-font-size); + font-weight: var(--subtitle-font-weight); + line-height: var(--subtitle-line-height); + letter-spacing: var(--subtitle-letter-spacing); + --mdc-icon-size: var(--subtitle-font-size); + } + .align-start { + text-align: start; + } + .align-end { + text-align: end; + } + .align-center { + text-align: center; + } + .align-justify { + text-align: justify; + } + `]}};n([vt()],fd.prototype,"_config",void 0),n([vt()],fd.prototype,"_templateResults",void 0),n([vt()],fd.prototype,"_unsubRenderTemplates",void 0),fd=n([pt(hd)],fd);const gd=`${Ns}-update-card`,_d=`${gd}-editor`,vd=["update"],bd={on:"var(--rgb-state-update-on)",off:"var(--rgb-state-update-off)",installing:"var(--rgb-state-update-installing)"};let yd=class extends ht{constructor(){super(...arguments),this.fill=!1}_handleInstall(){this.hass.callService("update","install",{entity_id:this.entity.entity_id})}_handleSkip(t){t.stopPropagation(),this.hass.callService("update","skip",{entity_id:this.entity.entity_id})}get installDisabled(){if(!Ut(this.entity))return!0;const t=this.entity.attributes.latest_version&&this.entity.attributes.skipped_version===this.entity.attributes.latest_version;return!Bt(this.entity)&&!t||Gt(this.entity)}get skipDisabled(){if(!Ut(this.entity))return!0;return this.entity.attributes.latest_version&&this.entity.attributes.skipped_version===this.entity.attributes.latest_version||!Bt(this.entity)||Gt(this.entity)}render(){const t=Ie(this.hass);return Y` + + + + + + + + + `}};n([_t({attribute:!1})],yd.prototype,"hass",void 0),n([_t({attribute:!1})],yd.prototype,"entity",void 0),n([_t({type:Boolean})],yd.prototype,"fill",void 0),yd=n([pt("mushroom-update-buttons-control")],yd),Ps({type:gd,name:"Mushroom Update Card",description:"Card for update entity"});let xd=class extends Ds{static async getConfigElement(){return await Promise.resolve().then((function(){return hg})),document.createElement(_d)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>vd.includes(t.split(".")[0])));return{type:`custom:${gd}`,entity:e[0]}}get hasControls(){return!(!this._stateObj||!this._config)&&(Boolean(this._config.show_buttons_control)&&Wt(this._stateObj,1))}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this._config||!this.hass||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$s(this._config),n=rs(t,o.icon_type),r=Ie(this.hass),a=(!this._config.collapsible_controls||Bt(t))&&this._config.show_buttons_control&&Wt(t,1);return Y` + + + + ${n?this.renderPicture(n):this.renderIcon(t,i)} + ${this.renderBadge(t)} + ${this.renderStateInfo(t,o,e)}; + + ${a?Y` +
+ - - `}static get styles(){return[super.styles,Ll,h` - mushroom-state-item { - cursor: pointer; - } - mushroom-lock-buttons-control { - flex: 1; - } - `]}};Vc=n([pt(Mc)],Vc);const Bc=`${Nl}-media-player-card`,Uc=`${Bc}-editor`,Hc=["media_player"];function Yc(t){return null!=t.attributes.volume_level?100*t.attributes.volume_level:void 0}const Wc=(t,e)=>{if(!t)return[];const i=t.state;if("off"===i)return Wt(t,128)&&e.includes("on_off")?[{icon:"mdi:power",action:"turn_on"}]:[];const o=[];Wt(t,256)&&e.includes("on_off")&&o.push({icon:"mdi:power",action:"turn_off"});const n=!0===t.attributes.assumed_state,r=t.attributes;return("playing"===i||"paused"===i||n)&&Wt(t,32768)&&e.includes("shuffle")&&o.push({icon:!0===r.shuffle?"mdi:shuffle":"mdi:shuffle-disabled",action:"shuffle_set"}),("playing"===i||"paused"===i||n)&&Wt(t,16)&&e.includes("previous")&&o.push({icon:"mdi:skip-previous",action:"media_previous_track"}),!n&&("playing"===i&&(Wt(t,1)||Wt(t,4096))||("paused"===i||"idle"===i)&&Wt(t,Pe)||"on"===i&&(Wt(t,Pe)||Wt(t,1)))&&e.includes("play_pause_stop")&&o.push({icon:"on"===i?"mdi:play-pause":"playing"!==i?"mdi:play":Wt(t,1)?"mdi:pause":"mdi:stop",action:"playing"!==i?"media_play":Wt(t,1)?"media_pause":"media_stop"}),n&&Wt(t,Pe)&&e.includes("play_pause_stop")&&o.push({icon:"mdi:play",action:"media_play"}),n&&Wt(t,1)&&e.includes("play_pause_stop")&&o.push({icon:"mdi:pause",action:"media_pause"}),n&&Wt(t,4096)&&e.includes("play_pause_stop")&&o.push({icon:"mdi:stop",action:"media_stop"}),("playing"===i||"paused"===i||n)&&Wt(t,32)&&e.includes("next")&&o.push({icon:"mdi:skip-next",action:"media_next_track"}),("playing"===i||"paused"===i||n)&&Wt(t,262144)&&e.includes("repeat")&&o.push({icon:"all"===r.repeat?"mdi:repeat":"one"===r.repeat?"mdi:repeat-once":"mdi:repeat-off",action:"repeat_set"}),o.length>0?o:[]},Xc=(t,e,i)=>{let o={};"shuffle_set"===i?o={shuffle:!e.attributes.shuffle}:"repeat_set"===i?o={repeat:"all"===e.attributes.repeat?"one":"off"===e.attributes.repeat?"all":"off"}:"volume_mute"===i&&(o={is_volume_muted:!e.attributes.is_volume_muted}),t.callService("media_player",i,Object.assign({entity_id:e.entity_id},o))};let Kc=class extends ht{constructor(){super(...arguments),this.fill=!1}_handleClick(t){t.stopPropagation();const e=t.target.action;Xc(this.hass,this.entity,e)}render(){const t=Ie(this.hass),e=Wc(this.entity,this.controls);return Y` - - ${e.map((t=>Y` - - - - `))} - - `}};n([_t({attribute:!1})],Kc.prototype,"hass",void 0),n([_t({attribute:!1})],Kc.prototype,"entity",void 0),n([_t({attribute:!1})],Kc.prototype,"controls",void 0),n([_t({type:Boolean})],Kc.prototype,"fill",void 0),Kc=n([pt("mushroom-media-player-media-control")],Kc);let Gc=class extends ht{constructor(){super(...arguments),this.fill=!1}handleSliderChange(t){const e=t.detail.value;this.hass.callService("media_player","volume_set",{entity_id:this.entity.entity_id,volume_level:e/100})}handleSliderCurrentChange(t){let e=t.detail.value;this.dispatchEvent(new CustomEvent("current-change",{detail:{value:e}}))}handleClick(t){t.stopPropagation();const e=t.target.action;Xc(this.hass,this.entity,e)}render(){var t,e,i;if(!this.entity)return K;const o=Yc(this.entity),n=Ie(this.hass),r=(null===(t=this.controls)||void 0===t?void 0:t.includes("volume_set"))&&Wt(this.entity,4),a=(null===(e=this.controls)||void 0===e?void 0:e.includes("volume_mute"))&&Wt(this.entity,8),l=(null===(i=this.controls)||void 0===i?void 0:i.includes("volume_buttons"))&&Wt(this.entity,1024);return Y` - - ${r?Y` `:K} - ${a?Y` - - - - `:void 0} - ${l?Y` - - - `:void 0} - ${l?Y` - - - `:void 0} - - `}static get styles(){return h` - mushroom-slider { - flex: 1; - --main-color: rgb(var(--rgb-state-media-player)); - --bg-color: rgba(var(--rgb-state-media-player), 0.2); - } - `}};n([_t({attribute:!1})],Gc.prototype,"hass",void 0),n([_t({attribute:!1})],Gc.prototype,"entity",void 0),n([_t({type:Boolean})],Gc.prototype,"fill",void 0),n([_t({attribute:!1})],Gc.prototype,"controls",void 0),Gc=n([pt("mushroom-media-player-volume-control")],Gc);const qc={media_control:"mdi:play-pause",volume_control:"mdi:volume-high"};Pl({type:Bc,name:"Mushroom Media Card",description:"Card for media player entity"});let Zc=class extends Dl{static async getConfigElement(){return await Promise.resolve().then((function(){return Bf})),document.createElement(Uc)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>Hc.includes(t.split(".")[0])));return{type:`custom:${Bc}`,entity:e[0]}}get hasControls(){var t,e,i,o;return Boolean(null===(e=null===(t=this._config)||void 0===t?void 0:t.media_controls)||void 0===e?void 0:e.length)||Boolean(null===(o=null===(i=this._config)||void 0===i?void 0:i.volume_controls)||void 0===o?void 0:o.length)}get _controls(){if(!this._config||!this._stateObj)return[];const t=this._stateObj,e=[];return((t,e)=>Wc(t,null!=e?e:[]).length>0)(t,this._config.media_controls)&&e.push("media_control"),((t,e)=>(null==e?void 0:e.includes("volume_buttons"))&&Wt(t,1024)||(null==e?void 0:e.includes("volume_mute"))&&Wt(t,8)||(null==e?void 0:e.includes("volume_set"))&&Wt(t,4))(t,this._config.volume_controls)&&e.push("volume_control"),e}_onControlTap(t,e){e.stopPropagation(),this._activeControl=t}setConfig(t){super.setConfig(t),this.updateActiveControl(),this.updateVolume()}updated(t){super.updated(t),this.hass&&t.has("hass")&&(this.updateActiveControl(),this.updateVolume())}updateVolume(){this.volume=void 0;const t=this._stateObj;if(!t)return;const e=Yc(t);this.volume=null!=e?Math.round(e):e}onCurrentVolumeChange(t){null!=t.detail.value&&(this.volume=t.detail.value)}updateActiveControl(){const t=!!this._activeControl&&this._controls.includes(this._activeControl);this._activeControl=t?this._activeControl:this._controls[0]}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this._config||!this.hass||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=function(t,e){var i,o=t.icon;if(![Nt,Rt,Ft].includes(e.state)&&t.use_media_info)switch(null===(i=e.attributes.app_name)||void 0===i?void 0:i.toLowerCase()){case"spotify":return"mdi:spotify";case"google podcasts":return"mdi:google-podcast";case"plex":return"mdi:plex";case"soundcloud":return"mdi:soundcloud";case"youtube":return"mdi:youtube";case"oto music":return"mdi:music-circle";case"netflix":return"mdi:netflix";default:return}return o}(this._config,t),i=function(t,e){let i=t.name||e.attributes.friendly_name||"";return![Nt,Rt,Ft].includes(e.state)&&t.use_media_info&&e.attributes.media_title&&(i=e.attributes.media_title),i}(this._config,t),o=function(t,e,i){let o=i.formatEntityState?i.formatEntityState(e):ne(i.localize,e,i.locale,i.config,i.entities);return![Nt,Rt,Ft].includes(e.state)&&t.use_media_info&&(t=>{let e;switch(t.attributes.media_content_type){case"music":case"image":e=t.attributes.media_artist;break;case"playlist":e=t.attributes.media_playlist;break;case"tvshow":e=t.attributes.media_series_title,t.attributes.media_season&&(e+=" S"+t.attributes.media_season,t.attributes.media_episode&&(e+="E"+t.attributes.media_episode));break;default:e=t.attributes.app_name||""}return e})(e)||o}(this._config,t,this.hass),n=$l(this._config),r=rl(t,n.icon_type),a=null!=this.volume&&this._config.show_volume_level?`${o} - ${this.volume}${oe(this.hass.locale)}%`:o,l=Ie(this.hass),s=(!this._config.collapsible_controls||Bt(t))&&this._controls.length;return Y` - +
+ `:K} +
+
+ `}renderIcon(t,e){const i=Gt(t),o=function(t,e){return e?bd.installing:bd[t]||"var(--rgb-grey)"}(t.state,i),n={"--icon-color":`rgb(${o})`,"--shape-color":`rgba(${o}, 0.2)`};return Y` + + + + `}static get styles(){return[super.styles,Ls,h` + mushroom-state-item { + cursor: pointer; + } + mushroom-shape-icon { + --icon-color: rgb(var(--rgb-state-entity)); + --shape-color: rgba(var(--rgb-state-entity), 0.2); + } + mushroom-shape-icon.pulse { + --shape-animation: 1s ease 0s infinite normal none running pulse; + } + mushroom-update-buttons-control { + flex: 1; + } + `]}};xd=n([pt(gd)],xd);const wd=`${Ns}-vacuum-card`,kd=`${wd}-editor`,Cd=["vacuum"];function $d(t){switch(t.state){case"cleaning":case"on":return!0;default:return!1}}function Ed(t){return t.state===Ne}const Ad=(t,e,i)=>Sd(t,e,i)&&(!e.isVisible||e.isVisible(t)),Sd=(t,e,i)=>e.isSupported(t)&&i.includes(e.command),Id=[{icon:"mdi:power",serviceName:"turn_on",command:"on_off",isSupported:t=>Wt(t,1),isVisible:t=>!Bt(t),isDisabled:()=>!1},{icon:"mdi:power",serviceName:"turn_off",command:"on_off",isSupported:t=>Wt(t,2),isVisible:t=>Bt(t),isDisabled:()=>!1},{icon:"mdi:play",serviceName:"start",command:"start_pause",isSupported:t=>Wt(t,Re),isVisible:t=>!$d(t),isDisabled:()=>!1},{icon:"mdi:pause",serviceName:"pause",command:"start_pause",isSupported:t=>Wt(t,Re)&&Wt(t,4),isVisible:t=>$d(t),isDisabled:()=>!1},{icon:"mdi:play-pause",serviceName:"start_pause",command:"start_pause",isSupported:t=>!Wt(t,Re)&&Wt(t,4),isDisabled:()=>!1},{icon:"mdi:stop",serviceName:"stop",command:"stop",isSupported:t=>Wt(t,8),isDisabled:t=>function(t){switch(t.state){case"docked":case"off":case"idle":case Ne:return!0;default:return!1}}(t)},{icon:"mdi:target-variant",serviceName:"clean_spot",command:"clean_spot",isSupported:t=>Wt(t,1024),isDisabled:()=>!1},{icon:"mdi:map-marker",serviceName:"locate",command:"locate",isSupported:t=>Wt(t,512),isDisabled:t=>Ed(t)},{icon:"mdi:home-map-marker",serviceName:"return_to_base",command:"return_home",isSupported:t=>Wt(t,16),isDisabled:()=>!1}];let Td=class extends ht{constructor(){super(...arguments),this.fill=!1}callService(t){t.stopPropagation();const e=t.target.entry;this.hass.callService("vacuum",e.serviceName,{entity_id:this.entity.entity_id})}render(){const t=Ie(this.hass);return Y` + + ${Id.filter((t=>Ad(this.entity,t,this.commands))).map((t=>Y` + - - - ${r?this.renderPicture(r):this.renderIcon(t,e)} - ${this.renderBadge(t)} - ${this.renderStateInfo(t,n,i,a)}; - - ${s?Y` -
- ${this.renderActiveControl(t,n.layout)} - ${this.renderOtherControls()} -
- `:K} -
- - `}renderOtherControls(){const t=this._controls.filter((t=>t!=this._activeControl));return Y` - ${t.map((t=>Y` - this._onControlTap(t,e)}> - - - `))} - `}renderActiveControl(t,e){var i,o,n,r;const a=null!==(o=null===(i=this._config)||void 0===i?void 0:i.media_controls)&&void 0!==o?o:[],l=null!==(r=null===(n=this._config)||void 0===n?void 0:n.volume_controls)&&void 0!==r?r:[];switch(this._activeControl){case"media_control":return Y` - - - `;case"volume_control":return Y` - - `;default:return K}}static get styles(){return[super.styles,Ll,h` - mushroom-state-item { - cursor: pointer; - } - mushroom-shape-icon { - --icon-color: rgb(var(--rgb-state-media-player)); - --shape-color: rgba(var(--rgb-state-media-player), 0.2); - } - mushroom-media-player-media-control, - mushroom-media-player-volume-control { - flex: 1; - } - `]}};n([vt()],Zc.prototype,"_activeControl",void 0),n([vt()],Zc.prototype,"volume",void 0),Zc=n([pt(Bc)],Zc);const Jc=`${Nl}-person-card`,Qc=`${Jc}-editor`,td=["person","device_tracker"];Pl({type:Jc,name:"Mushroom Person Card",description:"Card for person entity"});let ed=class extends Dl{static async getConfigElement(){return await Promise.resolve().then((function(){return Wf})),document.createElement(Qc)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>td.includes(t.split(".")[0])));return{type:`custom:${Jc}`,entity:e[0]}}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this._config||!this.hass||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$l(this._config),n=rl(t,o.icon_type),r=Ie(this.hass);return Y` - - - - ${n?this.renderPicture(n):this.renderIcon(t,i)} - ${this.renderBadge(t)} - ${this.renderStateInfo(t,o,e)}; - - - - `}renderStateBadge(t){const e=Object.values(this.hass.states).filter((t=>t.entity_id.startsWith("zone."))),i=function(t,e){const i=t.state;if(i===Rt)return"mdi:help";if("not_home"===i)return"mdi:home-export-outline";if("home"===i)return"mdi:home";const o=e.find((t=>i===t.attributes.friendly_name));return o&&o.attributes.icon?o.attributes.icon:"mdi:home"}(t,e),o=function(t,e){const i=t.state;if(i===Rt)return"var(--rgb-state-person-unknown)";if("not_home"===i)return"var(--rgb-state-person-not-home)";if("home"===i)return"var(--rgb-state-person-home)";const o=e.some((t=>i===t.attributes.friendly_name));return o?"var(--rgb-state-person-zone)":"var(--rgb-state-person-home)"}(t,e);return Y` - - `}renderBadge(t){return!Ut(t)?super.renderBadge(t):this.renderStateBadge(t)}static get styles(){return[super.styles,Ll,h` - mushroom-state-item { - cursor: pointer; - } - `]}};ed=n([pt(Jc)],ed);const id=`${Nl}-select-card`,od=`${id}-editor`,nd=["input_select","select"];function rd(t){return null!=t.state?t.state:void 0}let ad=class extends ht{_selectChanged(t){const e=t.target.value,i=rd(this.entity);e&&e!==i&&this._setValue(e)}_setValue(t){const e=this.entity.entity_id.split(".")[0];this.hass.callService(e,"select_option",{entity_id:this.entity.entity_id,option:t})}render(){const t=rd(this.entity),e=this.entity.attributes.options;return Y` - t.stopPropagation()} - .value=${null!=t?t:""} - naturalMenuWidth - fixedMenuPosition - > - ${e.map((t=>Y` - - ${this.hass.formatEntityState?this.hass.formatEntityState(this.entity,t):ne(this.hass.localize,this.entity,this.hass.locale,this.hass.config,this.hass.entities,t)} - - `))} - - `}static get styles(){return h` - mushroom-select { - --select-height: 42px; - width: 100%; - } - `}};n([_t()],ad.prototype,"hass",void 0),n([_t({attribute:!1})],ad.prototype,"entity",void 0),ad=n([pt("mushroom-select-option-control")],ad),Pl({type:id,name:"Mushroom Select Card",description:"Card for select and input_select entities"});let ld=class extends Dl{static async getConfigElement(){return await Promise.resolve().then((function(){return qf})),document.createElement(od)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>nd.includes(t.split(".")[0])));return{type:`custom:${id}`,entity:e[0]}}get hasControls(){return!0}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){var t;if(!this._config||!this.hass||!this._config.entity)return K;const e=this._stateObj;if(!e)return this.renderNotFound(this._config);const i=this._config.name||e.attributes.friendly_name||"",o=this._config.icon,n=$l(this._config),r=rl(e,n.icon_type),a=Ie(this.hass),l=null===(t=this._config)||void 0===t?void 0:t.icon_color,s={};if(l){const t=qa(l);s["--mdc-theme-primary"]=`rgb(${t})`}return Y` - - - - ${r?this.renderPicture(r):this.renderIcon(e,o)} - ${this.renderBadge(e)} - ${this.renderStateInfo(e,n,i)}; - -
- -
-
-
- `}renderIcon(t,e){var i;const o=Bt(t),n={},r=null===(i=this._config)||void 0===i?void 0:i.icon_color;if(r){const t=qa(r);n["--icon-color"]=`rgb(${t})`,n["--shape-color"]=`rgba(${t}, 0.2)`}return Y` - - +
+ `))} +
+ `}};n([_t({attribute:!1})],Td.prototype,"hass",void 0),n([_t({attribute:!1})],Td.prototype,"entity",void 0),n([_t({attribute:!1})],Td.prototype,"commands",void 0),n([_t({type:Boolean})],Td.prototype,"fill",void 0),Td=n([pt("mushroom-vacuum-commands-control")],Td),Ps({type:wd,name:"Mushroom Vacuum Card",description:"Card for vacuum entity"});let zd=class extends Ds{static async getConfigElement(){return await Promise.resolve().then((function(){return vg})),document.createElement(kd)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>Cd.includes(t.split(".")[0])));return{type:`custom:${wd}`,entity:e[0]}}get hasControls(){var t,e,i;return!(!this._stateObj||!this._config)&&(e=this._stateObj,i=null!==(t=this._config.commands)&&void 0!==t?t:[],Id.some((t=>Sd(e,t,i))))}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){var t,e;if(!this._config||!this.hass||!this._config.entity)return K;const i=this._stateObj;if(!i)return this.renderNotFound(this._config);const o=this._config.name||i.attributes.friendly_name||"",n=this._config.icon,r=$s(this._config),a=rs(i,r.icon_type),s=Ie(this.hass),l=null!==(e=null===(t=this._config)||void 0===t?void 0:t.commands)&&void 0!==e?e:[];return Y` + + + + ${a?this.renderPicture(a):this.renderIcon(i,n)} + ${this.renderBadge(i)} + ${this.renderStateInfo(i,r,o)}; + + ${((t,e)=>Id.some((i=>Ad(t,i,e))))(i,l)?Y` +
+ - - `}static get styles(){return[super.styles,Ll,h` - .actions { - overflow: visible; - display: block; - } - mushroom-state-item { - cursor: pointer; - } - mushroom-shape-icon { - --icon-color: rgb(var(--rgb-state-entity)); - --shape-color: rgba(var(--rgb-state-entity), 0.2); - } - mushroom-select-option-control { - flex: 1; - --mdc-theme-primary: rgb(var(--rgb-state-entity)); - } - `]}};ld=n([pt(id)],ld);const sd=`${Nl}-template-card`,cd=`${sd}-editor`;Pl({type:sd,name:"Mushroom Template Card",description:"Card for custom rendering with templates"});const dd=["icon","icon_color","badge_color","badge_icon","primary","secondary","picture"];let ud=class extends jl{constructor(){super(...arguments),this._templateResults={},this._unsubRenderTemplates=new Map,this._inGrid=!1}static async getConfigElement(){return await Promise.resolve().then((function(){return mu})),document.createElement(cd)}static async getStubConfig(t){return{type:`custom:${sd}`,primary:"Hello, {{user}}",secondary:"How are you?",icon:"mdi:home"}}getCardSize(){let t=1;if(!this._config)return t;return"vertical"===$l(this._config).layout&&(t+=1),t}getGridSize(){const{grid_columns:t,grid_rows:e}=this.getLayoutOptions();return[t,e]}getLayoutOptions(){var t;this._inGrid=!0;const e={grid_columns:2,grid_rows:1};if(!this._config)return e;const i=$l(this._config);return"vertical"===i.layout&&(e.grid_rows+=1),"horizontal"===i.layout&&(e.grid_columns=4),(null===(t=this._config)||void 0===t?void 0:t.multiline_secondary)&&(e.grid_rows=void 0),e}setConfig(t){dd.forEach((e=>{var i,o;(null===(i=this._config)||void 0===i?void 0:i[e])===t[e]&&(null===(o=this._config)||void 0===o?void 0:o.entity)==t.entity||this._tryDisconnectKey(e)})),this._config=Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t)}connectedCallback(){super.connectedCallback(),this._tryConnect()}disconnectedCallback(){this._tryDisconnect()}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}isTemplate(t){var e;const i=null===(e=this._config)||void 0===e?void 0:e[t];return null==i?void 0:i.includes("{")}getValue(t){var e,i,o;return this.isTemplate(t)?null===(i=null===(e=this._templateResults[t])||void 0===e?void 0:e.result)||void 0===i?void 0:i.toString():null===(o=this._config)||void 0===o?void 0:o[t]}render(){if(!this._config||!this.hass)return K;const t=this.getValue("icon"),e=this.getValue("icon_color"),i=this.getValue("badge_icon"),o=this.getValue("badge_color"),n=this.getValue("primary"),r=this.getValue("secondary"),a=this.getValue("picture"),l=this._config.multiline_secondary,s=Ie(this.hass),c=$l({fill_container:this._config.fill_container,layout:this._config.layout,icon_type:Boolean(a)?"entity-picture":Boolean(t)?"icon":"none",primary_info:Boolean(n)?"name":"none",secondary_info:Boolean(r)?"state":"none"}),d=hs(t);return Y` - - - - ${a?this.renderPicture(a):d?Y`
${d}
`:t?this.renderIcon(t,e):K} - ${(t||a)&&i?this.renderBadgeIcon(i,o):void 0} - -
-
-
- `}renderPicture(t){return Y` - - `}renderIcon(t,e){const i={};if(e){const t=qa(e);i["--icon-color"]=`rgb(${t})`,i["--shape-color"]=`rgba(${t}, 0.2)`}return Y` - - - - `}renderBadgeIcon(t,e){const i={};if(e){const t=qa(e);i["--main-color"]=`rgba(${t})`}return Y` - - `}updated(t){super.updated(t),this._config&&this.hass&&this._tryConnect()}async _tryConnect(){dd.forEach((t=>{this._tryConnectKey(t)}))}async _tryConnectKey(t){var e,i;if(void 0===this._unsubRenderTemplates.get(t)&&this.hass&&this._config&&this.isTemplate(t))try{const i=Fe(this.hass.connection,(e=>{this._templateResults=Object.assign(Object.assign({},this._templateResults),{[t]:e})}),{template:null!==(e=this._config[t])&&void 0!==e?e:"",entity_ids:this._config.entity_id,variables:{config:this._config,user:this.hass.user.name,entity:this._config.entity},strict:!0});this._unsubRenderTemplates.set(t,i),await i}catch(e){const o={result:null!==(i=this._config[t])&&void 0!==i?i:"",listeners:{all:!1,domains:[],entities:[],time:!1}};this._templateResults=Object.assign(Object.assign({},this._templateResults),{[t]:o}),this._unsubRenderTemplates.delete(t)}}async _tryDisconnect(){dd.forEach((t=>{this._tryDisconnectKey(t)}))}async _tryDisconnectKey(t){const e=this._unsubRenderTemplates.get(t);if(e)try{(await e)(),this._unsubRenderTemplates.delete(t)}catch(t){if("not_found"!==t.code&&"template_error"!==t.code)throw t}}static get styles(){return[super.styles,Ll,h` - mushroom-state-item { - cursor: pointer; - } - mushroom-shape-icon { - --icon-color: rgb(var(--rgb-disabled)); - --shape-color: rgba(var(--rgb-disabled), 0.2); - } - svg { - width: var(--icon-size); - height: var(--icon-size); - display: flex; - } - ${is} - `]}};n([vt()],ud.prototype,"_config",void 0),n([vt()],ud.prototype,"_templateResults",void 0),n([vt()],ud.prototype,"_unsubRenderTemplates",void 0),n([_t({reflect:!0,type:String})],ud.prototype,"layout",void 0),n([_t({attribute:"in-grid",reflect:!0,type:Boolean})],ud.prototype,"_inGrid",void 0),ud=n([pt(sd)],ud);const hd=`${Nl}-title-card`,md=`${hd}-editor`;Pl({type:hd,name:"Mushroom Title Card",description:"Title and subtitle to separate sections"});const pd=["title","subtitle"];let fd=class extends jl{constructor(){super(...arguments),this._templateResults={},this._unsubRenderTemplates=new Map}static async getConfigElement(){return await Promise.resolve().then((function(){return ig})),document.createElement(md)}static async getStubConfig(t){return{type:`custom:${hd}`,title:"Hello, {{ user }} !"}}getCardSize(){return 1}setConfig(t){pd.forEach((e=>{var i;(null===(i=this._config)||void 0===i?void 0:i[e])!==t[e]&&this._tryDisconnectKey(e)})),this._config=Object.assign({title_tap_action:{action:"none"},subtitle_tap_action:{action:"none"}},t)}connectedCallback(){super.connectedCallback(),this._tryConnect()}disconnectedCallback(){this._tryDisconnect()}isTemplate(t){var e;const i=null===(e=this._config)||void 0===e?void 0:e[t];return null==i?void 0:i.includes("{")}getValue(t){var e,i,o;return this.isTemplate(t)?null===(i=null===(e=this._templateResults[t])||void 0===e?void 0:e.result)||void 0===i?void 0:i.toString():null===(o=this._config)||void 0===o?void 0:o[t]}_handleTitleAction(t){const e={tap_action:this._config.title_tap_action};Ke(this,this.hass,e,t.detail.action)}_handleSubtitleAction(t){const e={tap_action:this._config.subtitle_tap_action};Ke(this,this.hass,e,t.detail.action)}render(){if(!this._config||!this.hass)return K;const t=this.getValue("title"),e=this.getValue("subtitle");let i="";this._config.alignment&&(i=`align-${this._config.alignment}`);const o=Boolean(this._config.title_tap_action&&"none"!==this._config.title_tap_action.action),n=Boolean(this._config.subtitle_tap_action&&"none"!==this._config.subtitle_tap_action.action),r=Ie(this.hass);return Y` - - ${t?Y` -
-

${t}${this.renderArrow()}

-
- `:K} - ${e?Y` -
-

${e}${this.renderArrow()}

-
- `:K} -
- `}renderArrow(){const t=Ie(this.hass);return Y` `}updated(t){super.updated(t),this._config&&this.hass&&this._tryConnect()}async _tryConnect(){pd.forEach((t=>{this._tryConnectKey(t)}))}async _tryConnectKey(t){var e,i;if(void 0===this._unsubRenderTemplates.get(t)&&this.hass&&this._config&&this.isTemplate(t))try{const i=Fe(this.hass.connection,(e=>{this._templateResults=Object.assign(Object.assign({},this._templateResults),{[t]:e})}),{template:null!==(e=this._config[t])&&void 0!==e?e:"",entity_ids:this._config.entity_id,variables:{config:this._config,user:this.hass.user.name},strict:!0});this._unsubRenderTemplates.set(t,i),await i}catch(e){const o={result:null!==(i=this._config[t])&&void 0!==i?i:"",listeners:{all:!1,domains:[],entities:[],time:!1}};this._templateResults=Object.assign(Object.assign({},this._templateResults),{[t]:o}),this._unsubRenderTemplates.delete(t)}}async _tryDisconnect(){pd.forEach((t=>{this._tryDisconnectKey(t)}))}async _tryDisconnectKey(t){const e=this._unsubRenderTemplates.get(t);if(e)try{(await e)(),this._unsubRenderTemplates.delete(t)}catch(t){if("not_found"!==t.code&&"template_error"!==t.code)throw t}}static get styles(){return[super.styles,Ll,h` - .header { - display: block; - padding: var(--title-padding); - background: none; - border: none; - box-shadow: none; - } - .header div * { - margin: 0; - white-space: pre-wrap; - } - .header div:not(:last-of-type) { - margin-bottom: var(--title-spacing); - } - .actionable { - cursor: pointer; - } - .header ha-icon { - display: none; - } - .actionable ha-icon { - display: inline-block; - margin-left: 4px; - transition: transform 180ms ease-in-out; - } - .actionable:hover ha-icon { - transform: translateX(4px); - } - [rtl] .actionable ha-icon { - margin-left: initial; - margin-right: 4px; - } - [rtl] .actionable:hover ha-icon { - transform: translateX(-4px); - } - .title { - color: var(--title-color); - font-size: var(--title-font-size); - font-weight: var(--title-font-weight); - line-height: var(--title-line-height); - letter-spacing: var(--title-letter-spacing); - --mdc-icon-size: var(--title-font-size); - } - .subtitle { - color: var(--subtitle-color); - font-size: var(--subtitle-font-size); - font-weight: var(--subtitle-font-weight); - line-height: var(--subtitle-line-height); - letter-spacing: var(--subtitle-letter-spacing); - --mdc-icon-size: var(--subtitle-font-size); - } - .align-start { - text-align: start; - } - .align-end { - text-align: end; - } - .align-center { - text-align: center; - } - .align-justify { - text-align: justify; - } - `]}};n([vt()],fd.prototype,"_config",void 0),n([vt()],fd.prototype,"_templateResults",void 0),n([vt()],fd.prototype,"_unsubRenderTemplates",void 0),fd=n([pt(hd)],fd);const gd=`${Nl}-update-card`,_d=`${gd}-editor`,vd=["update"],bd={on:"var(--rgb-state-update-on)",off:"var(--rgb-state-update-off)",installing:"var(--rgb-state-update-installing)"};let yd=class extends ht{constructor(){super(...arguments),this.fill=!1}_handleInstall(){this.hass.callService("update","install",{entity_id:this.entity.entity_id})}_handleSkip(t){t.stopPropagation(),this.hass.callService("update","skip",{entity_id:this.entity.entity_id})}get installDisabled(){if(!Ut(this.entity))return!0;const t=this.entity.attributes.latest_version&&this.entity.attributes.skipped_version===this.entity.attributes.latest_version;return!Bt(this.entity)&&!t||Gt(this.entity)}get skipDisabled(){if(!Ut(this.entity))return!0;return this.entity.attributes.latest_version&&this.entity.attributes.skipped_version===this.entity.attributes.latest_version||!Bt(this.entity)||Gt(this.entity)}render(){const t=Ie(this.hass);return Y` - - - - - - - - - `}};n([_t({attribute:!1})],yd.prototype,"hass",void 0),n([_t({attribute:!1})],yd.prototype,"entity",void 0),n([_t({type:Boolean})],yd.prototype,"fill",void 0),yd=n([pt("mushroom-update-buttons-control")],yd),Pl({type:gd,name:"Mushroom Update Card",description:"Card for update entity"});let xd=class extends Dl{static async getConfigElement(){return await Promise.resolve().then((function(){return lg})),document.createElement(_d)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>vd.includes(t.split(".")[0])));return{type:`custom:${gd}`,entity:e[0]}}get hasControls(){return!(!this._stateObj||!this._config)&&(Boolean(this._config.show_buttons_control)&&Wt(this._stateObj,1))}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){if(!this._config||!this.hass||!this._config.entity)return K;const t=this._stateObj;if(!t)return this.renderNotFound(this._config);const e=this._config.name||t.attributes.friendly_name||"",i=this._config.icon,o=$l(this._config),n=rl(t,o.icon_type),r=Ie(this.hass),a=(!this._config.collapsible_controls||Bt(t))&&this._config.show_buttons_control&&Wt(t,1);return Y` - - - - ${n?this.renderPicture(n):this.renderIcon(t,i)} - ${this.renderBadge(t)} - ${this.renderStateInfo(t,o,e)}; - - ${a?Y` -
- -
- `:K} -
-
- `}renderIcon(t,e){const i=Gt(t),o=function(t,e){return e?bd.installing:bd[t]||"var(--rgb-grey)"}(t.state,i),n={"--icon-color":`rgb(${o})`,"--shape-color":`rgba(${o}, 0.2)`};return Y` - - +
+
+ `:K} +
+
+ `}renderIcon(t,e){var i,o;return Y` + + + `}static get styles(){return[super.styles,Ls,h` + mushroom-state-item { + cursor: pointer; + } + mushroom-shape-icon { + --icon-color: rgb(var(--rgb-state-vacuum)); + --shape-color: rgba(var(--rgb-state-vacuum), 0.2); + } + .cleaning ha-state-icon { + animation: 5s infinite linear cleaning; + } + .cleaning ha-state-icon { + animation: 2s infinite linear returning; + } + mushroom-vacuum-commands-control { + flex: 1; + } + `]}};zd=n([pt(wd)],zd);const Od=new Set(["primary","accent","disabled","red","pink","purple","deep-purple","indigo","blue","light-blue","cyan","teal","green","light-green","lime","yellow","amber","orange","deep-orange","brown","light-grey","grey","dark-grey","blue-grey","black","white"]);const Md=`${Ns}-template-badge`,jd=`${Md}-editor`;!function(e){const i=window;i.customBadges=i.customBadges||[];const o=e.type.replace("-badge","").replace("mushroom-","");i.customBadges.push(Object.assign(Object.assign({},e),{preview:!0,documentationURL:`${t}/blob/main/docs/badges/${o}.md`}))}({type:Md,name:"Mushroom Template",description:"Build your own badge using templates"});const Dd=["icon","color","label","content","picture"];let Ld=class extends ht{constructor(){super(...arguments),this._templateResults={},this._unsubRenderTemplates=new Map}static async getConfigElement(){return await Promise.resolve().then((function(){return kg})),document.createElement(jd)}static async getStubConfig(t){return{type:`custom:${Md}`,content:"Hello",icon:"mdi:mushroom",color:"red"}}connectedCallback(){super.connectedCallback(),this._tryConnect()}disconnectedCallback(){this._tryDisconnect()}updated(t){super.updated(t),this._config&&this.hass&&this._tryConnect()}async _tryConnect(){Dd.forEach((t=>{this._tryConnectKey(t)}))}async _tryConnectKey(t){var e,i;if(void 0===this._unsubRenderTemplates.get(t)&&this.hass&&this._config&&this.isTemplate(t))try{const i=Fe(this.hass.connection,(e=>{this._templateResults=Object.assign(Object.assign({},this._templateResults),{[t]:e})}),{template:null!==(e=this._config[t])&&void 0!==e?e:"",entity_ids:this._config.entity_id,variables:{config:this._config,user:this.hass.user.name,entity:this._config.entity},strict:!0});this._unsubRenderTemplates.set(t,i),await i}catch(e){const o={result:null!==(i=this._config[t])&&void 0!==i?i:"",listeners:{all:!1,domains:[],entities:[],time:!1}};this._templateResults=Object.assign(Object.assign({},this._templateResults),{[t]:o}),this._unsubRenderTemplates.delete(t)}}async _tryDisconnect(){Dd.forEach((t=>{this._tryDisconnectKey(t)}))}async _tryDisconnectKey(t){const e=this._unsubRenderTemplates.get(t);if(e)try{(await e)(),this._unsubRenderTemplates.delete(t)}catch(t){if("not_found"!==t.code&&"template_error"!==t.code)throw t}}setConfig(t){Dd.forEach((e=>{var i,o;(null===(i=this._config)||void 0===i?void 0:i[e])===t[e]&&(null===(o=this._config)||void 0===o?void 0:o.entity)==t.entity||this._tryDisconnectKey(e)})),this._config=Object.assign({tap_action:{action:"none"}},t)}get hasAction(){var t,e,i,o;return!(null===(t=this._config)||void 0===t?void 0:t.tap_action)||Ge(null===(e=this._config)||void 0===e?void 0:e.tap_action)||Ge(null===(i=this._config)||void 0===i?void 0:i.hold_action)||Ge(null===(o=this._config)||void 0===o?void 0:o.double_tap_action)}render(){var t,e;if(!this._config||!this.hass)return K;const i=this.getValue("icon"),o=this.getValue("color"),n=this.getValue("content"),r=this.getValue("label"),a=this.getValue("picture"),s=!!n,l=!!i||!!a,c={};o&&(c["--badge-color"]=function(t){return Od.has(t)?`var(--${t}-color)`:t}(o));const d=hl(i);return Y` +
+ + ${a?Y``:d||(i?Y` + - - `}static get styles(){return[super.styles,Ll,h` - mushroom-state-item { - cursor: pointer; - } - mushroom-shape-icon { - --icon-color: rgb(var(--rgb-state-entity)); - --shape-color: rgba(var(--rgb-state-entity), 0.2); - } - mushroom-shape-icon.pulse { - --shape-animation: 1s ease 0s infinite normal none running pulse; - } - mushroom-update-buttons-control { - flex: 1; - } - `]}};xd=n([pt(gd)],xd);const wd=`${Nl}-vacuum-card`,kd=`${wd}-editor`,Cd=["vacuum"];function $d(t){switch(t.state){case"cleaning":case"on":return!0;default:return!1}}function Ed(t){return t.state===Ne}const Ad=(t,e,i)=>Sd(t,e,i)&&(!e.isVisible||e.isVisible(t)),Sd=(t,e,i)=>e.isSupported(t)&&i.includes(e.command),Id=[{icon:"mdi:power",serviceName:"turn_on",command:"on_off",isSupported:t=>Wt(t,1),isVisible:t=>!Bt(t),isDisabled:()=>!1},{icon:"mdi:power",serviceName:"turn_off",command:"on_off",isSupported:t=>Wt(t,2),isVisible:t=>Bt(t),isDisabled:()=>!1},{icon:"mdi:play",serviceName:"start",command:"start_pause",isSupported:t=>Wt(t,Re),isVisible:t=>!$d(t),isDisabled:()=>!1},{icon:"mdi:pause",serviceName:"pause",command:"start_pause",isSupported:t=>Wt(t,Re)&&Wt(t,4),isVisible:t=>$d(t),isDisabled:()=>!1},{icon:"mdi:play-pause",serviceName:"start_pause",command:"start_pause",isSupported:t=>!Wt(t,Re)&&Wt(t,4),isDisabled:()=>!1},{icon:"mdi:stop",serviceName:"stop",command:"stop",isSupported:t=>Wt(t,8),isDisabled:t=>function(t){switch(t.state){case"docked":case"off":case"idle":case Ne:return!0;default:return!1}}(t)},{icon:"mdi:target-variant",serviceName:"clean_spot",command:"clean_spot",isSupported:t=>Wt(t,1024),isDisabled:()=>!1},{icon:"mdi:map-marker",serviceName:"locate",command:"locate",isSupported:t=>Wt(t,512),isDisabled:t=>Ed(t)},{icon:"mdi:home-map-marker",serviceName:"return_to_base",command:"return_home",isSupported:t=>Wt(t,16),isDisabled:()=>!1}];let Td=class extends ht{constructor(){super(...arguments),this.fill=!1}callService(t){t.stopPropagation();const e=t.target.entry;this.hass.callService("vacuum",e.serviceName,{entity_id:this.entity.entity_id})}render(){const t=Ie(this.hass);return Y` - - ${Id.filter((t=>Ad(this.entity,t,this.commands))).map((t=>Y` - - - - `))} - - `}};n([_t({attribute:!1})],Td.prototype,"hass",void 0),n([_t({attribute:!1})],Td.prototype,"entity",void 0),n([_t({attribute:!1})],Td.prototype,"commands",void 0),n([_t({type:Boolean})],Td.prototype,"fill",void 0),Td=n([pt("mushroom-vacuum-commands-control")],Td),Pl({type:wd,name:"Mushroom Vacuum Card",description:"Card for vacuum entity"});let Od=class extends Dl{static async getConfigElement(){return await Promise.resolve().then((function(){return mg})),document.createElement(kd)}static async getStubConfig(t){const e=Object.keys(t.states).filter((t=>Cd.includes(t.split(".")[0])));return{type:`custom:${wd}`,entity:e[0]}}get hasControls(){var t,e,i;return!(!this._stateObj||!this._config)&&(e=this._stateObj,i=null!==(t=this._config.commands)&&void 0!==t?t:[],Id.some((t=>Sd(e,t,i))))}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}render(){var t,e;if(!this._config||!this.hass||!this._config.entity)return K;const i=this._stateObj;if(!i)return this.renderNotFound(this._config);const o=this._config.name||i.attributes.friendly_name||"",n=this._config.icon,r=$l(this._config),a=rl(i,r.icon_type),l=Ie(this.hass),s=null!==(e=null===(t=this._config)||void 0===t?void 0:t.commands)&&void 0!==e?e:[];return Y` - - - - ${a?this.renderPicture(a):this.renderIcon(i,n)} - ${this.renderBadge(i)} - ${this.renderStateInfo(i,r,o)}; - - ${((t,e)=>Id.some((i=>Ad(t,i,e))))(i,s)?Y` -
- - -
- `:K} -
-
- `}renderIcon(t,e){var i,o;return Y` - - - `}static get styles(){return[super.styles,Ll,h` - mushroom-state-item { - cursor: pointer; - } - mushroom-shape-icon { - --icon-color: rgb(var(--rgb-state-vacuum)); - --shape-color: rgba(var(--rgb-state-vacuum), 0.2); - } - .cleaning ha-state-icon { - animation: 5s infinite linear cleaning; - } - .cleaning ha-state-icon { - animation: 2s infinite linear returning; - } - mushroom-vacuum-commands-control { - flex: 1; - } - `]}};Od=n([pt(wd)],Od),console.info("%c🍄 Mushroom 🍄 - 3.6.4","color: #ef5350; font-weight: 700;");const zd=Ce({tap_action:$e(ni),hold_action:$e(ni),double_tap_action:$e(ni)}),Md=t=>[{name:"tap_action",selector:{"ui-action":{actions:t}}},{name:"hold_action",selector:{"ui-action":{actions:t}}},{name:"double_tap_action",selector:{"ui-action":{actions:t}}}],jd=Ce({layout:$e(Se([we("horizontal"),we("vertical"),we("default")])),fill_container:$e(ye()),primary_info:$e(xe(il)),secondary_info:$e(xe(il)),icon_type:$e(xe(ol))}),Dd=[{type:"grid",name:"",schema:[{name:"layout",selector:{mush_layout:{}}},{name:"fill_container",selector:{boolean:{}}}]},{type:"grid",name:"",schema:[{name:"primary_info",selector:{mush_info:{}}},{name:"secondary_info",selector:{mush_info:{}}},{name:"icon_type",selector:{mush_icon_type:{}}}]}],Ld=["icon_color","layout","fill_container","primary_info","secondary_info","icon_type","content_info","use_entity_picture","collapsible_controls","icon_animation"],Pd=Ce({entity:$e(Ee()),name:$e(Ee()),icon:$e(Ee())}),Nd=Ce({index:$e(ke()),view_index:$e(ke()),view_layout:ve(),type:Ee(),layout_options:ve(),visibility:ve()}),Rd=fe(Nd,fe(Pd,jd,zd),Ce({states:$e(be()),show_keypad:(Fd=$e(ye()),Vd=(t,e)=>{console.warn(`🍄 "${e.path}" option is deprecated and no longer available. Remove it from your YAML configuration or use the built-in Home Assistant alarm panel card if you want keypad.`)},new he({...Fd,refiner:(t,e)=>void 0===t||Fd.refiner(t,e),validator:(t,e)=>void 0===t||(Vd(t,e),Fd.validator(t,e))}))}));var Fd,Vd;const Bd=["more-info","navigate","url","call-service","assist","none"],Ud=["armed_home","armed_away","armed_night","armed_vacation","armed_custom_bypass"],Hd=Tt((t=>[{name:"entity",selector:{entity:{domain:Vl}}},{name:"name",selector:{text:{}}},{name:"icon",selector:{icon:{}},context:{icon_entity:"entity"}},...Dd,{type:"multi_select",name:"states",options:Ud.map((e=>[e,t(`ui.card.alarm_control_panel.${e.replace("armed","arm")}`)]))},...Md(Bd)]));let Yd=class extends jl{constructor(){super(...arguments),this._computeLabel=t=>{const e=Oo(this.hass);return Ld.includes(t.name)?e(`editor.card.generic.${t.name}`):"states"===t.name?this.hass.localize("ui.panel.lovelace.editor.card.alarm-panel.available_states"):this.hass.localize(`ui.panel.lovelace.editor.card.generic.${t.name}`)}}connectedCallback(){super.connectedCallback(),fs()}setConfig(t){me(t,Rd),this._config=t}render(){if(!this.hass||!this._config)return K;const t=Hd(this.hass.localize);return Y` - - `}_valueChanged(t){Lt(this,"config-changed",{config:t.detail.value})}};n([vt()],Yd.prototype,"_config",void 0),Yd=n([pt(Fl)],Yd);var Wd=Object.freeze({__proto__:null,get SwitchCardEditor(){return Yd}});const Xd=[{name:"entity",selector:{entity:{}}},{type:"grid",name:"",schema:[{name:"name",selector:{text:{}}},{name:"content_info",selector:{mush_info:{}}}]},{type:"grid",name:"",schema:[{name:"icon",selector:{icon:{}},context:{icon_entity:"entity"}},{name:"icon_color",selector:{mush_color:{}}}]},{name:"use_entity_picture",selector:{boolean:{}}},...Md()];let Kd=class extends ht{constructor(){super(...arguments),this._computeLabel=t=>{const e=Oo(this.hass);return Ld.includes(t.name)?e(`editor.card.generic.${t.name}`):this.hass.localize(`ui.panel.lovelace.editor.card.generic.${t.name}`)}}setConfig(t){this._config=t}render(){return this.hass&&this._config?Y` - - `:K}_valueChanged(t){Lt(this,"config-changed",{config:t.detail.value})}};n([_t({attribute:!1})],Kd.prototype,"hass",void 0),n([vt()],Kd.prototype,"_config",void 0),Kd=n([pt(Gl("entity"))],Kd);var Gd=Object.freeze({__proto__:null,get EntityChipEditor(){return Kd}});const qd=["show_conditions","show_temperature"],Zd=[{name:"entity",selector:{entity:{domain:["weather"]}}},{type:"grid",name:"",schema:[{name:"show_conditions",selector:{boolean:{}}},{name:"show_temperature",selector:{boolean:{}}}]},...Md(["more-info","navigate","url","call-service","assist","none"])];let Jd=class extends ht{constructor(){super(...arguments),this._computeLabel=t=>{const e=Oo(this.hass);return Ld.includes(t.name)?e(`editor.card.generic.${t.name}`):qd.includes(t.name)?e(`editor.card.weather.${t.name}`):this.hass.localize(`ui.panel.lovelace.editor.card.generic.${t.name}`)}}setConfig(t){this._config=t}render(){return this.hass&&this._config?Y` - - `:K}_valueChanged(t){Lt(this,"config-changed",{config:t.detail.value})}};n([_t({attribute:!1})],Jd.prototype,"hass",void 0),n([vt()],Jd.prototype,"_config",void 0),Jd=n([pt(Gl("weather"))],Jd);var Qd=Object.freeze({__proto__:null,get WeatherChipEditor(){return Jd}});const tu=[{name:"icon",selector:{icon:{placeholder:rs}}}];let eu=class extends ht{constructor(){super(...arguments),this._computeLabel=t=>this.hass.localize(`ui.panel.lovelace.editor.card.generic.${t.name}`)}setConfig(t){this._config=t}render(){return this.hass&&this._config?Y` - - `:K}_valueChanged(t){Lt(this,"config-changed",{config:t.detail.value})}};n([_t({attribute:!1})],eu.prototype,"hass",void 0),n([vt()],eu.prototype,"_config",void 0),eu=n([pt(Gl("back"))],eu);var iu=Object.freeze({__proto__:null,get BackChipEditor(){return eu}});const ou=[{type:"grid",name:"",schema:[{name:"icon",selector:{icon:{placeholder:ls}}},{name:"icon_color",selector:{mush_color:{}}}]},...Md(["navigate","url","call-service","assist","none"])];let nu=class extends ht{constructor(){super(...arguments),this._computeLabel=t=>{const e=Oo(this.hass);return Ld.includes(t.name)?e(`editor.card.generic.${t.name}`):this.hass.localize(`ui.panel.lovelace.editor.card.generic.${t.name}`)}}setConfig(t){this._config=t}render(){return this.hass&&this._config?Y` - - `:K}_valueChanged(t){Lt(this,"config-changed",{config:t.detail.value})}};n([_t({attribute:!1})],nu.prototype,"hass",void 0),n([vt()],nu.prototype,"_config",void 0),nu=n([pt(Gl("action"))],nu);var ru=Object.freeze({__proto__:null,get EntityChipEditor(){return nu}});const au=[{name:"icon",selector:{icon:{placeholder:cs}}}];let lu=class extends ht{constructor(){super(...arguments),this._computeLabel=t=>this.hass.localize(`ui.panel.lovelace.editor.card.generic.${t.name}`)}setConfig(t){this._config=t}render(){return this.hass&&this._config?Y` - - `:K}_valueChanged(t){Lt(this,"config-changed",{config:t.detail.value})}};n([_t({attribute:!1})],lu.prototype,"hass",void 0),n([vt()],lu.prototype,"_config",void 0),lu=n([pt(Gl("menu"))],lu);var su=Object.freeze({__proto__:null,get MenuChipEditor(){return lu}});const cu=fe(Nd,fe(jd,zd),Ce({entity:$e(Ee()),icon:$e(Ee()),icon_color:$e(Ee()),primary:$e(Ee()),secondary:$e(Ee()),badge_icon:$e(Ee()),badge_color:$e(Ee()),picture:$e(Ee()),multiline_secondary:$e(ye()),entity_id:$e(Se([Ee(),be(Ee())]))})),du=["badge_icon","badge_color","content","primary","secondary","multiline_secondary","picture"],uu=[{name:"entity",selector:{entity:{}}},{name:"icon",selector:{template:{}}},{name:"icon_color",selector:{template:{}}},{name:"primary",selector:{template:{}}},{name:"secondary",selector:{template:{}}},{name:"badge_icon",selector:{template:{}}},{name:"badge_color",selector:{template:{}}},{name:"picture",selector:{template:{}}},{type:"grid",name:"",schema:[{name:"layout",selector:{mush_layout:{}}},{name:"fill_container",selector:{boolean:{}}},{name:"multiline_secondary",selector:{boolean:{}}}]},...Md()];let hu=class extends jl{constructor(){super(...arguments),this._computeLabel=t=>{const e=Oo(this.hass);return"entity"===t.name?`${this.hass.localize("ui.panel.lovelace.editor.card.generic.entity")} (${e("editor.card.template.entity_extra")})`:Ld.includes(t.name)?e(`editor.card.generic.${t.name}`):du.includes(t.name)?e(`editor.card.template.${t.name}`):this.hass.localize(`ui.panel.lovelace.editor.card.generic.${t.name}`)}}connectedCallback(){super.connectedCallback(),fs()}setConfig(t){me(t,cu),this._config=t}render(){return this.hass&&this._config?Y` - - `:K}_valueChanged(t){Lt(this,"config-changed",{config:t.detail.value})}};n([vt()],hu.prototype,"_config",void 0),hu=n([pt(cd)],hu);var mu=Object.freeze({__proto__:null,TEMPLATE_LABELS:du,get TemplateCardEditor(){return hu}});const pu=[{name:"entity",selector:{entity:{}}},{name:"icon",selector:{template:{}}},{name:"icon_color",selector:{template:{}}},{name:"picture",selector:{template:{}}},{name:"content",selector:{template:{}}},...Md()];let fu=class extends ht{constructor(){super(...arguments),this._computeLabel=t=>{const e=Oo(this.hass);return"entity"===t.name?`${this.hass.localize("ui.panel.lovelace.editor.card.generic.entity")} (${e("editor.card.template.entity_extra")})`:Ld.includes(t.name)?e(`editor.card.generic.${t.name}`):du.includes(t.name)?e(`editor.card.template.${t.name}`):this.hass.localize(`ui.panel.lovelace.editor.card.generic.${t.name}`)}}setConfig(t){this._config=t}render(){return this.hass&&this._config?Y` - - `:K}_valueChanged(t){Lt(this,"config-changed",{config:t.detail.value})}};n([_t({attribute:!1})],fu.prototype,"hass",void 0),n([vt()],fu.prototype,"_config",void 0),fu=n([pt(Gl("template"))],fu);var gu=Object.freeze({__proto__:null,get EntityChipEditor(){return fu}}); + .icon=${i} + > + `:K)} + ${n?Y` + + ${r?Y`${r}`:K} + ${n} + + `:K} +
+ `}_handleAction(t){Ke(this,this.hass,this._config,t.detail.action)}isTemplate(t){var e;const i=null===(e=this._config)||void 0===e?void 0:e[t];return null==i?void 0:i.includes("{")}getValue(t){var e,i,o;return this.isTemplate(t)?null===(i=null===(e=this._templateResults[t])||void 0===e?void 0:e.result)||void 0===i?void 0:i.toString():null===(o=this._config)||void 0===o?void 0:o[t]}static get styles(){return h` + :host { + -webkit-tap-highlight-color: transparent; + } + .badge { + position: relative; + --ha-ripple-color: var(--badge-color); + --ha-ripple-hover-opacity: 0.04; + --ha-ripple-pressed-opacity: 0.12; + transition: + box-shadow 180ms ease-in-out, + border-color 180ms ease-in-out; + display: flex; + flex-direction: row; + align-items: center; + justify-content: center; + gap: 8px; + height: 36px; + min-width: 36px; + padding: 0px 8px; + box-sizing: border-box; + width: auto; + border-radius: 18px; + background-color: var(--card-background-color, white); + border-width: var(--ha-card-border-width, 1px); + border-style: solid; + border-color: var( + --ha-card-border-color, + var(--divider-color, #e0e0e0) + ); + --mdc-icon-size: 18px; + text-align: center; + font-family: Roboto; + } + .badge:focus-visible { + --shadow-default: var(--ha-card-box-shadow, 0 0 0 0 transparent); + --shadow-focus: 0 0 0 1px var(--badge-color); + border-color: var(--badge-color); + box-shadow: var(--shadow-default), var(--shadow-focus); + } + button, + [role="button"] { + cursor: pointer; + } + button:focus, + [role="button"]:focus { + outline: none; + } + .content { + display: flex; + flex-direction: column; + align-items: flex-start; + padding-right: 4px; + padding-inline-end: 4px; + padding-inline-start: initial; + } + .name { + font-size: 10px; + font-style: normal; + font-weight: 500; + line-height: 10px; + letter-spacing: 0.1px; + color: var(--secondary-text-color); + } + .state { + font-size: 12px; + font-style: normal; + font-weight: 500; + line-height: 16px; + letter-spacing: 0.1px; + color: var(--primary-text-color); + } + svg { + width: var(--mdc-icon-size); + height: var(--mdc-icon-size); + display: flex; + } + ha-state-icon { + color: var(--badge-color); + line-height: 0; + } + img { + width: 30px; + height: 30px; + border-radius: 50%; + object-fit: cover; + overflow: hidden; + } + .badge.icon-only { + padding: 0; + } + .badge:not(.icon-only) img { + margin-left: -6px; + margin-inline-start: -6px; + margin-inline-end: initial; + } + .badge.content-only .content { + padding-right: 4px; + padding-left: 4px; + padding-inline-end: 4px; + padding-inline-start: 4px; + } + ${il} + `}};n([_t({attribute:!1})],Ld.prototype,"hass",void 0),n([vt()],Ld.prototype,"_config",void 0),n([vt()],Ld.prototype,"_templateResults",void 0),n([vt()],Ld.prototype,"_unsubRenderTemplates",void 0),Ld=n([pt(Md)],Ld),console.info("%c🍄 Mushroom 🍄 - 4.0.0","color: #ef5350; font-weight: 700;");const Pd=Ce({tap_action:$e(ni),hold_action:$e(ni),double_tap_action:$e(ni)}),Nd=t=>[{name:"tap_action",selector:{"ui-action":{actions:t}}},{name:"hold_action",selector:{"ui-action":{actions:t}}},{name:"double_tap_action",selector:{"ui-action":{actions:t}}}],Rd=Ce({layout:$e(Se([we("horizontal"),we("vertical"),we("default")])),fill_container:$e(ye()),primary_info:$e(xe(is)),secondary_info:$e(xe(is)),icon_type:$e(xe(os))}),Fd=[{type:"grid",name:"",schema:[{name:"layout",selector:{mush_layout:{}}},{name:"fill_container",selector:{boolean:{}}}]},{type:"grid",name:"",schema:[{name:"primary_info",selector:{mush_info:{}}},{name:"secondary_info",selector:{mush_info:{}}},{name:"icon_type",selector:{mush_icon_type:{}}}]}],Vd=["color","icon_color","layout","fill_container","primary_info","secondary_info","icon_type","content_info","use_entity_picture","collapsible_controls","icon_animation"],Bd=Ce({entity:$e(Ee()),name:$e(Ee()),icon:$e(Ee())}),Ud=Ce({index:$e(ke()),view_index:$e(ke()),view_layout:ve(),type:Ee(),layout_options:ve(),visibility:ve()}),Hd=fe(Ud,fe(Bd,Rd,Pd),Ce({states:$e(be()),show_keypad:(Yd=$e(ye()),Wd=(t,e)=>{console.warn(`🍄 "${e.path}" option is deprecated and no longer available. Remove it from your YAML configuration or use the built-in Home Assistant alarm panel card if you want keypad.`)},new he({...Yd,refiner:(t,e)=>void 0===t||Yd.refiner(t,e),validator:(t,e)=>void 0===t||(Wd(t,e),Yd.validator(t,e))}))}));var Yd,Wd;const Xd=["more-info","navigate","url","call-service","assist","none"],Kd=["armed_home","armed_away","armed_night","armed_vacation","armed_custom_bypass"],Gd=Tt((t=>[{name:"entity",selector:{entity:{domain:Vs}}},{name:"name",selector:{text:{}}},{name:"icon",selector:{icon:{}},context:{icon_entity:"entity"}},...Fd,{type:"multi_select",name:"states",options:Kd.map((e=>[e,t(`ui.card.alarm_control_panel.${e.replace("armed","arm")}`)]))},...Nd(Xd)]));let qd=class extends js{constructor(){super(...arguments),this._computeLabel=t=>{const e=zo(this.hass);return Vd.includes(t.name)?e(`editor.card.generic.${t.name}`):"states"===t.name?this.hass.localize("ui.panel.lovelace.editor.card.alarm-panel.available_states"):this.hass.localize(`ui.panel.lovelace.editor.card.generic.${t.name}`)}}connectedCallback(){super.connectedCallback(),fl()}setConfig(t){me(t,Hd),this._config=t}render(){if(!this.hass||!this._config)return K;const t=Gd(this.hass.localize);return Y` + + `}_valueChanged(t){Lt(this,"config-changed",{config:t.detail.value})}};n([vt()],qd.prototype,"_config",void 0),qd=n([pt(Fs)],qd);var Zd=Object.freeze({__proto__:null,get SwitchCardEditor(){return qd}});const Jd=[{name:"entity",selector:{entity:{}}},{type:"grid",name:"",schema:[{name:"name",selector:{text:{}}},{name:"content_info",selector:{mush_info:{}}}]},{type:"grid",name:"",schema:[{name:"icon",selector:{icon:{}},context:{icon_entity:"entity"}},{name:"icon_color",selector:{mush_color:{}}}]},{name:"use_entity_picture",selector:{boolean:{}}},...Nd()];let Qd=class extends ht{constructor(){super(...arguments),this._computeLabel=t=>{const e=zo(this.hass);return Vd.includes(t.name)?e(`editor.card.generic.${t.name}`):this.hass.localize(`ui.panel.lovelace.editor.card.generic.${t.name}`)}}setConfig(t){this._config=t}render(){return this.hass&&this._config?Y` + + `:K}_valueChanged(t){Lt(this,"config-changed",{config:t.detail.value})}};n([_t({attribute:!1})],Qd.prototype,"hass",void 0),n([vt()],Qd.prototype,"_config",void 0),Qd=n([pt(Gs("entity"))],Qd);var tu=Object.freeze({__proto__:null,get EntityChipEditor(){return Qd}});const eu=["show_conditions","show_temperature"],iu=[{name:"entity",selector:{entity:{domain:["weather"]}}},{type:"grid",name:"",schema:[{name:"show_conditions",selector:{boolean:{}}},{name:"show_temperature",selector:{boolean:{}}}]},...Nd(["more-info","navigate","url","call-service","assist","none"])];let ou=class extends ht{constructor(){super(...arguments),this._computeLabel=t=>{const e=zo(this.hass);return Vd.includes(t.name)?e(`editor.card.generic.${t.name}`):eu.includes(t.name)?e(`editor.card.weather.${t.name}`):this.hass.localize(`ui.panel.lovelace.editor.card.generic.${t.name}`)}}setConfig(t){this._config=t}render(){return this.hass&&this._config?Y` + + `:K}_valueChanged(t){Lt(this,"config-changed",{config:t.detail.value})}};n([_t({attribute:!1})],ou.prototype,"hass",void 0),n([vt()],ou.prototype,"_config",void 0),ou=n([pt(Gs("weather"))],ou);var nu=Object.freeze({__proto__:null,get WeatherChipEditor(){return ou}});const ru=[{name:"icon",selector:{icon:{placeholder:rl}}}];let au=class extends ht{constructor(){super(...arguments),this._computeLabel=t=>this.hass.localize(`ui.panel.lovelace.editor.card.generic.${t.name}`)}setConfig(t){this._config=t}render(){return this.hass&&this._config?Y` + + `:K}_valueChanged(t){Lt(this,"config-changed",{config:t.detail.value})}};n([_t({attribute:!1})],au.prototype,"hass",void 0),n([vt()],au.prototype,"_config",void 0),au=n([pt(Gs("back"))],au);var su=Object.freeze({__proto__:null,get BackChipEditor(){return au}});const lu=[{type:"grid",name:"",schema:[{name:"icon",selector:{icon:{placeholder:sl}}},{name:"icon_color",selector:{mush_color:{}}}]},...Nd(["navigate","url","call-service","assist","none"])];let cu=class extends ht{constructor(){super(...arguments),this._computeLabel=t=>{const e=zo(this.hass);return Vd.includes(t.name)?e(`editor.card.generic.${t.name}`):this.hass.localize(`ui.panel.lovelace.editor.card.generic.${t.name}`)}}setConfig(t){this._config=t}render(){return this.hass&&this._config?Y` + + `:K}_valueChanged(t){Lt(this,"config-changed",{config:t.detail.value})}};n([_t({attribute:!1})],cu.prototype,"hass",void 0),n([vt()],cu.prototype,"_config",void 0),cu=n([pt(Gs("action"))],cu);var du=Object.freeze({__proto__:null,get EntityChipEditor(){return cu}});const uu=[{name:"icon",selector:{icon:{placeholder:cl}}}];let hu=class extends ht{constructor(){super(...arguments),this._computeLabel=t=>this.hass.localize(`ui.panel.lovelace.editor.card.generic.${t.name}`)}setConfig(t){this._config=t}render(){return this.hass&&this._config?Y` + + `:K}_valueChanged(t){Lt(this,"config-changed",{config:t.detail.value})}};n([_t({attribute:!1})],hu.prototype,"hass",void 0),n([vt()],hu.prototype,"_config",void 0),hu=n([pt(Gs("menu"))],hu);var mu=Object.freeze({__proto__:null,get MenuChipEditor(){return hu}});const pu=fe(Ud,fe(Rd,Pd),Ce({entity:$e(Ee()),icon:$e(Ee()),icon_color:$e(Ee()),primary:$e(Ee()),secondary:$e(Ee()),badge_icon:$e(Ee()),badge_color:$e(Ee()),picture:$e(Ee()),multiline_secondary:$e(ye()),entity_id:$e(Se([Ee(),be(Ee())]))})),fu=["badge_icon","badge_color","content","primary","secondary","multiline_secondary","picture"],gu=[{name:"entity",selector:{entity:{}}},{name:"icon",selector:{template:{}}},{name:"icon_color",selector:{template:{}}},{name:"primary",selector:{template:{}}},{name:"secondary",selector:{template:{}}},{name:"badge_icon",selector:{template:{}}},{name:"badge_color",selector:{template:{}}},{name:"picture",selector:{template:{}}},{type:"grid",name:"",schema:[{name:"layout",selector:{mush_layout:{}}},{name:"fill_container",selector:{boolean:{}}},{name:"multiline_secondary",selector:{boolean:{}}}]},...Nd()];let _u=class extends js{constructor(){super(...arguments),this._computeLabel=t=>{const e=zo(this.hass);return"entity"===t.name?`${this.hass.localize("ui.panel.lovelace.editor.card.generic.entity")} (${e("editor.card.template.entity_extra")})`:Vd.includes(t.name)?e(`editor.card.generic.${t.name}`):fu.includes(t.name)?e(`editor.card.template.${t.name}`):this.hass.localize(`ui.panel.lovelace.editor.card.generic.${t.name}`)}}connectedCallback(){super.connectedCallback(),fl()}setConfig(t){me(t,pu),this._config=t}render(){return this.hass&&this._config?Y` + + `:K}_valueChanged(t){Lt(this,"config-changed",{config:t.detail.value})}};n([vt()],_u.prototype,"_config",void 0),_u=n([pt(cd)],_u);var vu=Object.freeze({__proto__:null,TEMPLATE_LABELS:fu,get TemplateCardEditor(){return _u}});const bu=[{name:"entity",selector:{entity:{}}},{name:"icon",selector:{template:{}}},{name:"icon_color",selector:{template:{}}},{name:"picture",selector:{template:{}}},{name:"content",selector:{template:{}}},...Nd()];let yu=class extends ht{constructor(){super(...arguments),this._computeLabel=t=>{const e=zo(this.hass);return"entity"===t.name?`${this.hass.localize("ui.panel.lovelace.editor.card.generic.entity")} (${e("editor.card.template.entity_extra")})`:Vd.includes(t.name)?e(`editor.card.generic.${t.name}`):fu.includes(t.name)?e(`editor.card.template.${t.name}`):this.hass.localize(`ui.panel.lovelace.editor.card.generic.${t.name}`)}}setConfig(t){this._config=t}render(){return this.hass&&this._config?Y` + + `:K}_valueChanged(t){Lt(this,"config-changed",{config:t.detail.value})}};n([_t({attribute:!1})],yu.prototype,"hass",void 0),n([vt()],yu.prototype,"_config",void 0),yu=n([pt(Gs("template"))],yu);var xu=Object.freeze({__proto__:null,get EntityChipEditor(){return yu}}); /** * @license * Copyright 2021 Google LLC * SPDX-LIcense-Identifier: Apache-2.0 - */const _u=h`.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform;transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);border-bottom-width:2px;opacity:0;z-index:2}.mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(100% / 0.75)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-text-field--filled{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-text-field--filled .mdc-text-field__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-text-field--filled .mdc-text-field__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-text-field--filled.mdc-ripple-upgraded--unbounded .mdc-text-field__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-text-field--filled.mdc-ripple-upgraded--foreground-activation .mdc-text-field__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-text-field--filled.mdc-ripple-upgraded--foreground-deactivation .mdc-text-field__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-text-field__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input{color:rgba(0, 0, 0, 0.87)}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:rgba(0, 0, 0, 0.54)}}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:rgba(0, 0, 0, 0.54)}}.mdc-text-field .mdc-text-field__input{caret-color:#6200ee;caret-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--leading{color:rgba(0, 0, 0, 0.54)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:rgba(0, 0, 0, 0.54)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--prefix{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--suffix{color:rgba(0, 0, 0, 0.6)}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);height:28px;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}}.mdc-text-field__affix{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);height:28px;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{background-color:rgba(0, 0, 0, 0.87);background-color:var(--mdc-ripple-color, rgba(0, 0, 0, 0.87))}.mdc-text-field--filled:hover .mdc-text-field__ripple::before,.mdc-text-field--filled.mdc-ripple-surface--hover .mdc-text-field__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:whitesmoke}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.42)}.mdc-text-field--filled:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.87)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-color:#6200ee;border-bottom-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.38)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.87)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px)) * 2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-text-field__ripple::before,.mdc-text-field--outlined .mdc-text-field__ripple::after{background-color:transparent;background-color:var(--mdc-ripple-color, transparent)}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:transparent}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0;transition:none}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px;line-height:1.5rem}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:rgba(98, 0, 238, 0.87)}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid .mdc-text-field__input{caret-color:#b00020;caret-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}.mdc-text-field--disabled .mdc-text-field__input{color:rgba(0, 0, 0, 0.38)}@media all{.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:rgba(0, 0, 0, 0.38)}}@media all{.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:rgba(0, 0, 0, 0.38)}}.mdc-text-field--disabled .mdc-floating-label{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field__icon--leading{color:rgba(0, 0, 0, 0.3)}.mdc-text-field--disabled .mdc-text-field__icon--trailing{color:rgba(0, 0, 0, 0.3)}.mdc-text-field--disabled .mdc-text-field__affix--prefix{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.06)}.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.06)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-floating-label{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__icon--leading{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__icon--trailing{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__affix--prefix{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:GrayText}}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled{background-color:#fafafa}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-text-field-helper-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin:0;opacity:0;will-change:opacity;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-text-field-helper-text::before{display:inline-block;width:0;height:16px;content:"";vertical-align:0}.mdc-text-field-helper-text--persistent{transition:none;opacity:1;will-change:initial}.mdc-text-field-character-counter{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin-left:auto;margin-right:0;padding-left:16px;padding-right:0;white-space:nowrap}.mdc-text-field-character-counter::before{display:inline-block;width:0;height:16px;content:"";vertical-align:0}[dir=rtl] .mdc-text-field-character-counter,.mdc-text-field-character-counter[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-text-field-character-counter,.mdc-text-field-character-counter[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field__icon{align-self:center;cursor:pointer}.mdc-text-field__icon:not([tabindex]),.mdc-text-field__icon[tabindex="-1"]{cursor:default;pointer-events:none}.mdc-text-field__icon svg{display:block}.mdc-text-field__icon--leading{margin-left:16px;margin-right:8px}[dir=rtl] .mdc-text-field__icon--leading,.mdc-text-field__icon--leading[dir=rtl]{margin-left:8px;margin-right:16px}.mdc-text-field__icon--trailing{padding:12px;margin-left:0px;margin-right:0px}[dir=rtl] .mdc-text-field__icon--trailing,.mdc-text-field__icon--trailing[dir=rtl]{margin-left:0px;margin-right:0px}.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}:host{display:inline-flex;flex-direction:column;outline:none}.mdc-text-field{width:100%}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.42);border-bottom-color:var(--mdc-text-field-idle-line-color, rgba(0, 0, 0, 0.42))}.mdc-text-field:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.87);border-bottom-color:var(--mdc-text-field-hover-line-color, rgba(0, 0, 0, 0.87))}.mdc-text-field.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.06);border-bottom-color:var(--mdc-text-field-disabled-line-color, rgba(0, 0, 0, 0.06))}.mdc-text-field.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field__input{direction:inherit}mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-outlined-idle-border-color, rgba(0, 0, 0, 0.38) )}:host(:not([disabled]):hover) :not(.mdc-text-field--invalid):not(.mdc-text-field--focused) mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-outlined-hover-border-color, rgba(0, 0, 0, 0.87) )}:host(:not([disabled])) .mdc-text-field:not(.mdc-text-field--outlined){background-color:var(--mdc-text-field-fill-color, whitesmoke)}:host(:not([disabled])) .mdc-text-field.mdc-text-field--invalid mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-error-color, var(--mdc-theme-error, #b00020) )}:host(:not([disabled])) .mdc-text-field.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-character-counter,:host(:not([disabled])) .mdc-text-field.mdc-text-field--invalid .mdc-text-field__icon{color:var(--mdc-text-field-error-color, var(--mdc-theme-error, #b00020))}:host(:not([disabled])) .mdc-text-field:not(.mdc-text-field--invalid):not(.mdc-text-field--focused) .mdc-floating-label,:host(:not([disabled])) .mdc-text-field:not(.mdc-text-field--invalid):not(.mdc-text-field--focused) .mdc-floating-label::after{color:var(--mdc-text-field-label-ink-color, rgba(0, 0, 0, 0.6))}:host(:not([disabled])) .mdc-text-field.mdc-text-field--focused mwc-notched-outline{--mdc-notched-outline-stroke-width: 2px}:host(:not([disabled])) .mdc-text-field.mdc-text-field--focused:not(.mdc-text-field--invalid) mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-focused-label-color, var(--mdc-theme-primary, rgba(98, 0, 238, 0.87)) )}:host(:not([disabled])) .mdc-text-field.mdc-text-field--focused:not(.mdc-text-field--invalid) .mdc-floating-label{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}:host(:not([disabled])) .mdc-text-field .mdc-text-field__input{color:var(--mdc-text-field-ink-color, rgba(0, 0, 0, 0.87))}:host(:not([disabled])) .mdc-text-field .mdc-text-field__input::placeholder{color:var(--mdc-text-field-label-ink-color, rgba(0, 0, 0, 0.6))}:host(:not([disabled])) .mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg),:host(:not([disabled])) .mdc-text-field-helper-line:not(.mdc-text-field--invalid) .mdc-text-field-character-counter{color:var(--mdc-text-field-label-ink-color, rgba(0, 0, 0, 0.6))}:host([disabled]) .mdc-text-field:not(.mdc-text-field--outlined){background-color:var(--mdc-text-field-disabled-fill-color, #fafafa)}:host([disabled]) .mdc-text-field.mdc-text-field--outlined mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-outlined-disabled-border-color, rgba(0, 0, 0, 0.06) )}:host([disabled]) .mdc-text-field:not(.mdc-text-field--invalid):not(.mdc-text-field--focused) .mdc-floating-label,:host([disabled]) .mdc-text-field:not(.mdc-text-field--invalid):not(.mdc-text-field--focused) .mdc-floating-label::after{color:var(--mdc-text-field-disabled-ink-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-text-field .mdc-text-field__input,:host([disabled]) .mdc-text-field .mdc-text-field__input::placeholder{color:var(--mdc-text-field-disabled-ink-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-text-field-helper-line .mdc-text-field-helper-text,:host([disabled]) .mdc-text-field-helper-line .mdc-text-field-character-counter{color:var(--mdc-text-field-disabled-ink-color, rgba(0, 0, 0, 0.38))}` + */const wu=h`.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform;transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);border-bottom-width:2px;opacity:0;z-index:2}.mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(100% / 0.75)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-text-field--filled{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-text-field--filled .mdc-text-field__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-text-field--filled .mdc-text-field__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-text-field--filled.mdc-ripple-upgraded--unbounded .mdc-text-field__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-text-field--filled.mdc-ripple-upgraded--foreground-activation .mdc-text-field__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-text-field--filled.mdc-ripple-upgraded--foreground-deactivation .mdc-text-field__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-text-field__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input{color:rgba(0, 0, 0, 0.87)}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:rgba(0, 0, 0, 0.54)}}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:rgba(0, 0, 0, 0.54)}}.mdc-text-field .mdc-text-field__input{caret-color:#6200ee;caret-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--leading{color:rgba(0, 0, 0, 0.54)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:rgba(0, 0, 0, 0.54)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--prefix{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--suffix{color:rgba(0, 0, 0, 0.6)}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);height:28px;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}}.mdc-text-field__affix{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);height:28px;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{background-color:rgba(0, 0, 0, 0.87);background-color:var(--mdc-ripple-color, rgba(0, 0, 0, 0.87))}.mdc-text-field--filled:hover .mdc-text-field__ripple::before,.mdc-text-field--filled.mdc-ripple-surface--hover .mdc-text-field__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:whitesmoke}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.42)}.mdc-text-field--filled:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.87)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-color:#6200ee;border-bottom-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.38)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.87)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px)) * 2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-text-field__ripple::before,.mdc-text-field--outlined .mdc-text-field__ripple::after{background-color:transparent;background-color:var(--mdc-ripple-color, transparent)}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:transparent}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0;transition:none}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px;line-height:1.5rem}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:rgba(98, 0, 238, 0.87)}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid .mdc-text-field__input{caret-color:#b00020;caret-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}.mdc-text-field--disabled .mdc-text-field__input{color:rgba(0, 0, 0, 0.38)}@media all{.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:rgba(0, 0, 0, 0.38)}}@media all{.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:rgba(0, 0, 0, 0.38)}}.mdc-text-field--disabled .mdc-floating-label{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field__icon--leading{color:rgba(0, 0, 0, 0.3)}.mdc-text-field--disabled .mdc-text-field__icon--trailing{color:rgba(0, 0, 0, 0.3)}.mdc-text-field--disabled .mdc-text-field__affix--prefix{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.06)}.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.06)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-floating-label{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__icon--leading{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__icon--trailing{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__affix--prefix{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:GrayText}}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled{background-color:#fafafa}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-text-field-helper-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin:0;opacity:0;will-change:opacity;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-text-field-helper-text::before{display:inline-block;width:0;height:16px;content:"";vertical-align:0}.mdc-text-field-helper-text--persistent{transition:none;opacity:1;will-change:initial}.mdc-text-field-character-counter{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin-left:auto;margin-right:0;padding-left:16px;padding-right:0;white-space:nowrap}.mdc-text-field-character-counter::before{display:inline-block;width:0;height:16px;content:"";vertical-align:0}[dir=rtl] .mdc-text-field-character-counter,.mdc-text-field-character-counter[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-text-field-character-counter,.mdc-text-field-character-counter[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field__icon{align-self:center;cursor:pointer}.mdc-text-field__icon:not([tabindex]),.mdc-text-field__icon[tabindex="-1"]{cursor:default;pointer-events:none}.mdc-text-field__icon svg{display:block}.mdc-text-field__icon--leading{margin-left:16px;margin-right:8px}[dir=rtl] .mdc-text-field__icon--leading,.mdc-text-field__icon--leading[dir=rtl]{margin-left:8px;margin-right:16px}.mdc-text-field__icon--trailing{padding:12px;margin-left:0px;margin-right:0px}[dir=rtl] .mdc-text-field__icon--trailing,.mdc-text-field__icon--trailing[dir=rtl]{margin-left:0px;margin-right:0px}.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}:host{display:inline-flex;flex-direction:column;outline:none}.mdc-text-field{width:100%}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.42);border-bottom-color:var(--mdc-text-field-idle-line-color, rgba(0, 0, 0, 0.42))}.mdc-text-field:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.87);border-bottom-color:var(--mdc-text-field-hover-line-color, rgba(0, 0, 0, 0.87))}.mdc-text-field.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.06);border-bottom-color:var(--mdc-text-field-disabled-line-color, rgba(0, 0, 0, 0.06))}.mdc-text-field.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field__input{direction:inherit}mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-outlined-idle-border-color, rgba(0, 0, 0, 0.38) )}:host(:not([disabled]):hover) :not(.mdc-text-field--invalid):not(.mdc-text-field--focused) mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-outlined-hover-border-color, rgba(0, 0, 0, 0.87) )}:host(:not([disabled])) .mdc-text-field:not(.mdc-text-field--outlined){background-color:var(--mdc-text-field-fill-color, whitesmoke)}:host(:not([disabled])) .mdc-text-field.mdc-text-field--invalid mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-error-color, var(--mdc-theme-error, #b00020) )}:host(:not([disabled])) .mdc-text-field.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-character-counter,:host(:not([disabled])) .mdc-text-field.mdc-text-field--invalid .mdc-text-field__icon{color:var(--mdc-text-field-error-color, var(--mdc-theme-error, #b00020))}:host(:not([disabled])) .mdc-text-field:not(.mdc-text-field--invalid):not(.mdc-text-field--focused) .mdc-floating-label,:host(:not([disabled])) .mdc-text-field:not(.mdc-text-field--invalid):not(.mdc-text-field--focused) .mdc-floating-label::after{color:var(--mdc-text-field-label-ink-color, rgba(0, 0, 0, 0.6))}:host(:not([disabled])) .mdc-text-field.mdc-text-field--focused mwc-notched-outline{--mdc-notched-outline-stroke-width: 2px}:host(:not([disabled])) .mdc-text-field.mdc-text-field--focused:not(.mdc-text-field--invalid) mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-focused-label-color, var(--mdc-theme-primary, rgba(98, 0, 238, 0.87)) )}:host(:not([disabled])) .mdc-text-field.mdc-text-field--focused:not(.mdc-text-field--invalid) .mdc-floating-label{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}:host(:not([disabled])) .mdc-text-field .mdc-text-field__input{color:var(--mdc-text-field-ink-color, rgba(0, 0, 0, 0.87))}:host(:not([disabled])) .mdc-text-field .mdc-text-field__input::placeholder{color:var(--mdc-text-field-label-ink-color, rgba(0, 0, 0, 0.6))}:host(:not([disabled])) .mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg),:host(:not([disabled])) .mdc-text-field-helper-line:not(.mdc-text-field--invalid) .mdc-text-field-character-counter{color:var(--mdc-text-field-label-ink-color, rgba(0, 0, 0, 0.6))}:host([disabled]) .mdc-text-field:not(.mdc-text-field--outlined){background-color:var(--mdc-text-field-disabled-fill-color, #fafafa)}:host([disabled]) .mdc-text-field.mdc-text-field--outlined mwc-notched-outline{--mdc-notched-outline-border-color: var( --mdc-text-field-outlined-disabled-border-color, rgba(0, 0, 0, 0.06) )}:host([disabled]) .mdc-text-field:not(.mdc-text-field--invalid):not(.mdc-text-field--focused) .mdc-floating-label,:host([disabled]) .mdc-text-field:not(.mdc-text-field--invalid):not(.mdc-text-field--focused) .mdc-floating-label::after{color:var(--mdc-text-field-disabled-ink-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-text-field .mdc-text-field__input,:host([disabled]) .mdc-text-field .mdc-text-field__input::placeholder{color:var(--mdc-text-field-disabled-ink-color, rgba(0, 0, 0, 0.38))}:host([disabled]) .mdc-text-field-helper-line .mdc-text-field-helper-text,:host([disabled]) .mdc-text-field-helper-line .mdc-text-field-character-counter{color:var(--mdc-text-field-disabled-ink-color, rgba(0, 0, 0, 0.38))}` /** * @license * Copyright 2016 Google Inc. @@ -3210,7 +3494,7 @@ const aa="important",la=" !"+aa,sa=He(class extends Ye{constructor(t){var e;if(s * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. - */;var vu=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}(),bu={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",INPUT_SELECTOR:".mdc-text-field__input",LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-text-field__icon--leading",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",OUTLINE_SELECTOR:".mdc-notched-outline",PREFIX_SELECTOR:".mdc-text-field__affix--prefix",SUFFIX_SELECTOR:".mdc-text-field__affix--suffix",TRAILING_ICON_SELECTOR:".mdc-text-field__icon--trailing"},yu={DISABLED:"mdc-text-field--disabled",FOCUSED:"mdc-text-field--focused",HELPER_LINE:"mdc-text-field-helper-line",INVALID:"mdc-text-field--invalid",LABEL_FLOATING:"mdc-text-field--label-floating",NO_LABEL:"mdc-text-field--no-label",OUTLINED:"mdc-text-field--outlined",ROOT:"mdc-text-field",TEXTAREA:"mdc-text-field--textarea",WITH_LEADING_ICON:"mdc-text-field--with-leading-icon",WITH_TRAILING_ICON:"mdc-text-field--with-trailing-icon",WITH_INTERNAL_COUNTER:"mdc-text-field--with-internal-counter"},xu={LABEL_SCALE:.75},wu=["pattern","min","max","required","step","minlength","maxlength"],ku=["color","date","datetime-local","month","range","time","week"],Cu=["mousedown","touchstart"],$u=["click","keydown"],Eu=function(t){function e(i,n){void 0===n&&(n={});var r=t.call(this,o(o({},e.defaultAdapter),i))||this;return r.isFocused=!1,r.receivedUserInput=!1,r.valid=!0,r.useNativeValidation=!0,r.validateOnValueChange=!0,r.helperText=n.helperText,r.characterCounter=n.characterCounter,r.leadingIcon=n.leadingIcon,r.trailingIcon=n.trailingIcon,r.inputFocusHandler=function(){r.activateFocus()},r.inputBlurHandler=function(){r.deactivateFocus()},r.inputInputHandler=function(){r.handleInput()},r.setPointerXOffset=function(t){r.setTransformOrigin(t)},r.textFieldInteractionHandler=function(){r.handleTextFieldInteraction()},r.validationAttributeChangeHandler=function(t){r.handleValidationAttributeChange(t)},r}return i(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return yu},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return bu},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return xu},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldAlwaysFloat",{get:function(){var t=this.getNativeInput().type;return ku.indexOf(t)>=0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldFloat",{get:function(){return this.shouldAlwaysFloat||this.isFocused||!!this.getValue()||this.isBadInput()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldShake",{get:function(){return!this.isFocused&&!this.isValid()&&!!this.getValue()},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},setInputAttr:function(){},removeInputAttr:function(){},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){},registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){return new MutationObserver((function(){}))},deregisterValidationAttributeChangeHandler:function(){},getNativeInput:function(){return null},isFocused:function(){return!1},activateLineRipple:function(){},deactivateLineRipple:function(){},setLineRippleTransformOrigin:function(){},shakeLabel:function(){},floatLabel:function(){},setLabelRequired:function(){},hasLabel:function(){return!1},getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t,e,i,o;this.adapter.hasLabel()&&this.getNativeInput().required&&this.adapter.setLabelRequired(!0),this.adapter.isFocused()?this.inputFocusHandler():this.adapter.hasLabel()&&this.shouldFloat&&(this.notchOutline(!0),this.adapter.floatLabel(!0),this.styleFloating(!0)),this.adapter.registerInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.registerInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.registerInputInteractionHandler("input",this.inputInputHandler);try{for(var n=r(Cu),a=n.next();!a.done;a=n.next()){var l=a.value;this.adapter.registerInputInteractionHandler(l,this.setPointerXOffset)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}try{for(var s=r($u),c=s.next();!c.done;c=s.next()){l=c.value;this.adapter.registerTextFieldInteractionHandler(l,this.textFieldInteractionHandler)}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}this.validationObserver=this.adapter.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler),this.setcharacterCounter(this.getValue().length)},e.prototype.destroy=function(){var t,e,i,o;this.adapter.deregisterInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.deregisterInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.deregisterInputInteractionHandler("input",this.inputInputHandler);try{for(var n=r(Cu),a=n.next();!a.done;a=n.next()){var l=a.value;this.adapter.deregisterInputInteractionHandler(l,this.setPointerXOffset)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}try{for(var s=r($u),c=s.next();!c.done;c=s.next()){l=c.value;this.adapter.deregisterTextFieldInteractionHandler(l,this.textFieldInteractionHandler)}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}this.adapter.deregisterValidationAttributeChangeHandler(this.validationObserver)},e.prototype.handleTextFieldInteraction=function(){var t=this.adapter.getNativeInput();t&&t.disabled||(this.receivedUserInput=!0)},e.prototype.handleValidationAttributeChange=function(t){var e=this;t.some((function(t){return wu.indexOf(t)>-1&&(e.styleValidity(!0),e.adapter.setLabelRequired(e.getNativeInput().required),!0)})),t.indexOf("maxlength")>-1&&this.setcharacterCounter(this.getValue().length)},e.prototype.notchOutline=function(t){if(this.adapter.hasOutline()&&this.adapter.hasLabel())if(t){var e=this.adapter.getLabelWidth()*xu.LABEL_SCALE;this.adapter.notchOutline(e)}else this.adapter.closeOutline()},e.prototype.activateFocus=function(){this.isFocused=!0,this.styleFocused(this.isFocused),this.adapter.activateLineRipple(),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),!this.helperText||!this.helperText.isPersistent()&&this.helperText.isValidation()&&this.valid||this.helperText.showToScreenReader()},e.prototype.setTransformOrigin=function(t){if(!this.isDisabled()&&!this.adapter.hasOutline()){var e=t.touches,i=e?e[0]:t,o=i.target.getBoundingClientRect(),n=i.clientX-o.left;this.adapter.setLineRippleTransformOrigin(n)}},e.prototype.handleInput=function(){this.autoCompleteFocus(),this.setcharacterCounter(this.getValue().length)},e.prototype.autoCompleteFocus=function(){this.receivedUserInput||this.activateFocus()},e.prototype.deactivateFocus=function(){this.isFocused=!1,this.adapter.deactivateLineRipple();var t=this.isValid();this.styleValidity(t),this.styleFocused(this.isFocused),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),this.shouldFloat||(this.receivedUserInput=!1)},e.prototype.getValue=function(){return this.getNativeInput().value},e.prototype.setValue=function(t){if(this.getValue()!==t&&(this.getNativeInput().value=t),this.setcharacterCounter(t.length),this.validateOnValueChange){var e=this.isValid();this.styleValidity(e)}this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.validateOnValueChange&&this.adapter.shakeLabel(this.shouldShake))},e.prototype.isValid=function(){return this.useNativeValidation?this.isNativeInputValid():this.valid},e.prototype.setValid=function(t){this.valid=t,this.styleValidity(t);var e=!t&&!this.isFocused&&!!this.getValue();this.adapter.hasLabel()&&this.adapter.shakeLabel(e)},e.prototype.setValidateOnValueChange=function(t){this.validateOnValueChange=t},e.prototype.getValidateOnValueChange=function(){return this.validateOnValueChange},e.prototype.setUseNativeValidation=function(t){this.useNativeValidation=t},e.prototype.isDisabled=function(){return this.getNativeInput().disabled},e.prototype.setDisabled=function(t){this.getNativeInput().disabled=t,this.styleDisabled(t)},e.prototype.setHelperTextContent=function(t){this.helperText&&this.helperText.setContent(t)},e.prototype.setLeadingIconAriaLabel=function(t){this.leadingIcon&&this.leadingIcon.setAriaLabel(t)},e.prototype.setLeadingIconContent=function(t){this.leadingIcon&&this.leadingIcon.setContent(t)},e.prototype.setTrailingIconAriaLabel=function(t){this.trailingIcon&&this.trailingIcon.setAriaLabel(t)},e.prototype.setTrailingIconContent=function(t){this.trailingIcon&&this.trailingIcon.setContent(t)},e.prototype.setcharacterCounter=function(t){if(this.characterCounter){var e=this.getNativeInput().maxLength;if(-1===e)throw new Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");this.characterCounter.setCounterValue(t,e)}},e.prototype.isBadInput=function(){return this.getNativeInput().validity.badInput||!1},e.prototype.isNativeInputValid=function(){return this.getNativeInput().validity.valid},e.prototype.styleValidity=function(t){var i=e.cssClasses.INVALID;if(t?this.adapter.removeClass(i):this.adapter.addClass(i),this.helperText){if(this.helperText.setValidity(t),!this.helperText.isValidation())return;var o=this.helperText.isVisible(),n=this.helperText.getId();o&&n?this.adapter.setInputAttr(bu.ARIA_DESCRIBEDBY,n):this.adapter.removeInputAttr(bu.ARIA_DESCRIBEDBY)}},e.prototype.styleFocused=function(t){var i=e.cssClasses.FOCUSED;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.styleDisabled=function(t){var i=e.cssClasses,o=i.DISABLED,n=i.INVALID;t?(this.adapter.addClass(o),this.adapter.removeClass(n)):this.adapter.removeClass(o),this.leadingIcon&&this.leadingIcon.setDisabled(t),this.trailingIcon&&this.trailingIcon.setDisabled(t)},e.prototype.styleFloating=function(t){var i=e.cssClasses.LABEL_FLOATING;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.getNativeInput=function(){return(this.adapter?this.adapter.getNativeInput():null)||{disabled:!1,maxLength:-1,required:!1,type:"input",validity:{badInput:!1,valid:!0},value:""}},e}(vu); + */;var ku=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}(),Cu={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",INPUT_SELECTOR:".mdc-text-field__input",LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-text-field__icon--leading",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",OUTLINE_SELECTOR:".mdc-notched-outline",PREFIX_SELECTOR:".mdc-text-field__affix--prefix",SUFFIX_SELECTOR:".mdc-text-field__affix--suffix",TRAILING_ICON_SELECTOR:".mdc-text-field__icon--trailing"},$u={DISABLED:"mdc-text-field--disabled",FOCUSED:"mdc-text-field--focused",HELPER_LINE:"mdc-text-field-helper-line",INVALID:"mdc-text-field--invalid",LABEL_FLOATING:"mdc-text-field--label-floating",NO_LABEL:"mdc-text-field--no-label",OUTLINED:"mdc-text-field--outlined",ROOT:"mdc-text-field",TEXTAREA:"mdc-text-field--textarea",WITH_LEADING_ICON:"mdc-text-field--with-leading-icon",WITH_TRAILING_ICON:"mdc-text-field--with-trailing-icon",WITH_INTERNAL_COUNTER:"mdc-text-field--with-internal-counter"},Eu={LABEL_SCALE:.75},Au=["pattern","min","max","required","step","minlength","maxlength"],Su=["color","date","datetime-local","month","range","time","week"],Iu=["mousedown","touchstart"],Tu=["click","keydown"],zu=function(t){function e(i,n){void 0===n&&(n={});var r=t.call(this,o(o({},e.defaultAdapter),i))||this;return r.isFocused=!1,r.receivedUserInput=!1,r.valid=!0,r.useNativeValidation=!0,r.validateOnValueChange=!0,r.helperText=n.helperText,r.characterCounter=n.characterCounter,r.leadingIcon=n.leadingIcon,r.trailingIcon=n.trailingIcon,r.inputFocusHandler=function(){r.activateFocus()},r.inputBlurHandler=function(){r.deactivateFocus()},r.inputInputHandler=function(){r.handleInput()},r.setPointerXOffset=function(t){r.setTransformOrigin(t)},r.textFieldInteractionHandler=function(){r.handleTextFieldInteraction()},r.validationAttributeChangeHandler=function(t){r.handleValidationAttributeChange(t)},r}return i(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return $u},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return Cu},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return Eu},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldAlwaysFloat",{get:function(){var t=this.getNativeInput().type;return Su.indexOf(t)>=0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldFloat",{get:function(){return this.shouldAlwaysFloat||this.isFocused||!!this.getValue()||this.isBadInput()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldShake",{get:function(){return!this.isFocused&&!this.isValid()&&!!this.getValue()},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},setInputAttr:function(){},removeInputAttr:function(){},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){},registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){return new MutationObserver((function(){}))},deregisterValidationAttributeChangeHandler:function(){},getNativeInput:function(){return null},isFocused:function(){return!1},activateLineRipple:function(){},deactivateLineRipple:function(){},setLineRippleTransformOrigin:function(){},shakeLabel:function(){},floatLabel:function(){},setLabelRequired:function(){},hasLabel:function(){return!1},getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t,e,i,o;this.adapter.hasLabel()&&this.getNativeInput().required&&this.adapter.setLabelRequired(!0),this.adapter.isFocused()?this.inputFocusHandler():this.adapter.hasLabel()&&this.shouldFloat&&(this.notchOutline(!0),this.adapter.floatLabel(!0),this.styleFloating(!0)),this.adapter.registerInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.registerInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.registerInputInteractionHandler("input",this.inputInputHandler);try{for(var n=r(Iu),a=n.next();!a.done;a=n.next()){var s=a.value;this.adapter.registerInputInteractionHandler(s,this.setPointerXOffset)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}try{for(var l=r(Tu),c=l.next();!c.done;c=l.next()){s=c.value;this.adapter.registerTextFieldInteractionHandler(s,this.textFieldInteractionHandler)}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}this.validationObserver=this.adapter.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler),this.setcharacterCounter(this.getValue().length)},e.prototype.destroy=function(){var t,e,i,o;this.adapter.deregisterInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.deregisterInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.deregisterInputInteractionHandler("input",this.inputInputHandler);try{for(var n=r(Iu),a=n.next();!a.done;a=n.next()){var s=a.value;this.adapter.deregisterInputInteractionHandler(s,this.setPointerXOffset)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}try{for(var l=r(Tu),c=l.next();!c.done;c=l.next()){s=c.value;this.adapter.deregisterTextFieldInteractionHandler(s,this.textFieldInteractionHandler)}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}this.adapter.deregisterValidationAttributeChangeHandler(this.validationObserver)},e.prototype.handleTextFieldInteraction=function(){var t=this.adapter.getNativeInput();t&&t.disabled||(this.receivedUserInput=!0)},e.prototype.handleValidationAttributeChange=function(t){var e=this;t.some((function(t){return Au.indexOf(t)>-1&&(e.styleValidity(!0),e.adapter.setLabelRequired(e.getNativeInput().required),!0)})),t.indexOf("maxlength")>-1&&this.setcharacterCounter(this.getValue().length)},e.prototype.notchOutline=function(t){if(this.adapter.hasOutline()&&this.adapter.hasLabel())if(t){var e=this.adapter.getLabelWidth()*Eu.LABEL_SCALE;this.adapter.notchOutline(e)}else this.adapter.closeOutline()},e.prototype.activateFocus=function(){this.isFocused=!0,this.styleFocused(this.isFocused),this.adapter.activateLineRipple(),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),!this.helperText||!this.helperText.isPersistent()&&this.helperText.isValidation()&&this.valid||this.helperText.showToScreenReader()},e.prototype.setTransformOrigin=function(t){if(!this.isDisabled()&&!this.adapter.hasOutline()){var e=t.touches,i=e?e[0]:t,o=i.target.getBoundingClientRect(),n=i.clientX-o.left;this.adapter.setLineRippleTransformOrigin(n)}},e.prototype.handleInput=function(){this.autoCompleteFocus(),this.setcharacterCounter(this.getValue().length)},e.prototype.autoCompleteFocus=function(){this.receivedUserInput||this.activateFocus()},e.prototype.deactivateFocus=function(){this.isFocused=!1,this.adapter.deactivateLineRipple();var t=this.isValid();this.styleValidity(t),this.styleFocused(this.isFocused),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),this.shouldFloat||(this.receivedUserInput=!1)},e.prototype.getValue=function(){return this.getNativeInput().value},e.prototype.setValue=function(t){if(this.getValue()!==t&&(this.getNativeInput().value=t),this.setcharacterCounter(t.length),this.validateOnValueChange){var e=this.isValid();this.styleValidity(e)}this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.validateOnValueChange&&this.adapter.shakeLabel(this.shouldShake))},e.prototype.isValid=function(){return this.useNativeValidation?this.isNativeInputValid():this.valid},e.prototype.setValid=function(t){this.valid=t,this.styleValidity(t);var e=!t&&!this.isFocused&&!!this.getValue();this.adapter.hasLabel()&&this.adapter.shakeLabel(e)},e.prototype.setValidateOnValueChange=function(t){this.validateOnValueChange=t},e.prototype.getValidateOnValueChange=function(){return this.validateOnValueChange},e.prototype.setUseNativeValidation=function(t){this.useNativeValidation=t},e.prototype.isDisabled=function(){return this.getNativeInput().disabled},e.prototype.setDisabled=function(t){this.getNativeInput().disabled=t,this.styleDisabled(t)},e.prototype.setHelperTextContent=function(t){this.helperText&&this.helperText.setContent(t)},e.prototype.setLeadingIconAriaLabel=function(t){this.leadingIcon&&this.leadingIcon.setAriaLabel(t)},e.prototype.setLeadingIconContent=function(t){this.leadingIcon&&this.leadingIcon.setContent(t)},e.prototype.setTrailingIconAriaLabel=function(t){this.trailingIcon&&this.trailingIcon.setAriaLabel(t)},e.prototype.setTrailingIconContent=function(t){this.trailingIcon&&this.trailingIcon.setContent(t)},e.prototype.setcharacterCounter=function(t){if(this.characterCounter){var e=this.getNativeInput().maxLength;if(-1===e)throw new Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");this.characterCounter.setCounterValue(t,e)}},e.prototype.isBadInput=function(){return this.getNativeInput().validity.badInput||!1},e.prototype.isNativeInputValid=function(){return this.getNativeInput().validity.valid},e.prototype.styleValidity=function(t){var i=e.cssClasses.INVALID;if(t?this.adapter.removeClass(i):this.adapter.addClass(i),this.helperText){if(this.helperText.setValidity(t),!this.helperText.isValidation())return;var o=this.helperText.isVisible(),n=this.helperText.getId();o&&n?this.adapter.setInputAttr(Cu.ARIA_DESCRIBEDBY,n):this.adapter.removeInputAttr(Cu.ARIA_DESCRIBEDBY)}},e.prototype.styleFocused=function(t){var i=e.cssClasses.FOCUSED;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.styleDisabled=function(t){var i=e.cssClasses,o=i.DISABLED,n=i.INVALID;t?(this.adapter.addClass(o),this.adapter.removeClass(n)):this.adapter.removeClass(o),this.leadingIcon&&this.leadingIcon.setDisabled(t),this.trailingIcon&&this.trailingIcon.setDisabled(t)},e.prototype.styleFloating=function(t){var i=e.cssClasses.LABEL_FLOATING;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.getNativeInput=function(){return(this.adapter?this.adapter.getNativeInput():null)||{disabled:!1,maxLength:-1,required:!1,type:"input",validity:{badInput:!1,valid:!0},value:""}},e}(ku); /** * @license * Copyright 2016 Google Inc. @@ -3238,12 +3522,12 @@ const aa="important",la=" !"+aa,sa=He(class extends Ye{constructor(t){var e;if(s * Copyright 2020 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -const Au={},Su=He(class extends Ye{constructor(t){if(super(t),t.type!==Be&&t.type!==Ve&&t.type!==Ue)throw Error("The `live` directive is not allowed on child or event bindings");if(!(t=>void 0===t.strings)(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===X||e===K)return e;const i=t.element,o=t.name;if(t.type===Be){if(e===i[o])return X}else if(t.type===Ue){if(!!e===i.hasAttribute(o))return X}else if(t.type===Ve&&i.getAttribute(o)===e+"")return X;return((t,e=Au)=>{t._$AH=e; +const Ou={},Mu=He(class extends Ye{constructor(t){if(super(t),t.type!==Be&&t.type!==Ve&&t.type!==Ue)throw Error("The `live` directive is not allowed on child or event bindings");if(!(t=>void 0===t.strings)(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===X||e===K)return e;const i=t.element,o=t.name;if(t.type===Be){if(e===i[o])return X}else if(t.type===Ue){if(!!e===i.hasAttribute(o))return X}else if(t.type===Ve&&i.getAttribute(o)===e+"")return X;return((t,e=Ou)=>{t._$AH=e; /** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */})(t),e}}),Iu=["touchstart","touchmove","scroll","mousewheel"],Tu=(t={})=>{const e={};for(const i in t)e[i]=t[i];return Object.assign({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1},e)};class Ou extends tr{constructor(){super(...arguments),this.mdcFoundationClass=Eu,this.value="",this.type="text",this.placeholder="",this.label="",this.icon="",this.iconTrailing="",this.disabled=!1,this.required=!1,this.minLength=-1,this.maxLength=-1,this.outlined=!1,this.helper="",this.validateOnInitialRender=!1,this.validationMessage="",this.autoValidate=!1,this.pattern="",this.min="",this.max="",this.step=null,this.size=null,this.helperPersistent=!1,this.charCounter=!1,this.endAligned=!1,this.prefix="",this.suffix="",this.name="",this.readOnly=!1,this.autocapitalize="",this.outlineOpen=!1,this.outlineWidth=0,this.isUiValid=!0,this.focused=!1,this._validity=Tu(),this.validityTransform=null}get validity(){return this._checkValidity(this.value),this._validity}get willValidate(){return this.formElement.willValidate}get selectionStart(){return this.formElement.selectionStart}get selectionEnd(){return this.formElement.selectionEnd}focus(){const t=new CustomEvent("focus");this.formElement.dispatchEvent(t),this.formElement.focus()}blur(){const t=new CustomEvent("blur");this.formElement.dispatchEvent(t),this.formElement.blur()}select(){this.formElement.select()}setSelectionRange(t,e,i){this.formElement.setSelectionRange(t,e,i)}update(t){t.has("autoValidate")&&this.mdcFoundation&&this.mdcFoundation.setValidateOnValueChange(this.autoValidate),t.has("value")&&"string"!=typeof this.value&&(this.value=`${this.value}`),super.update(t)}setFormData(t){this.name&&t.append(this.name,this.value)}render(){const t=this.charCounter&&-1!==this.maxLength,e=!!this.helper||!!this.validationMessage||t,i={"mdc-text-field--disabled":this.disabled,"mdc-text-field--no-label":!this.label,"mdc-text-field--filled":!this.outlined,"mdc-text-field--outlined":this.outlined,"mdc-text-field--with-leading-icon":this.icon,"mdc-text-field--with-trailing-icon":this.iconTrailing,"mdc-text-field--end-aligned":this.endAligned};return Y` + */})(t),e}}),ju=["touchstart","touchmove","scroll","mousewheel"],Du=(t={})=>{const e={};for(const i in t)e[i]=t[i];return Object.assign({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1},e)};class Lu extends tr{constructor(){super(...arguments),this.mdcFoundationClass=zu,this.value="",this.type="text",this.placeholder="",this.label="",this.icon="",this.iconTrailing="",this.disabled=!1,this.required=!1,this.minLength=-1,this.maxLength=-1,this.outlined=!1,this.helper="",this.validateOnInitialRender=!1,this.validationMessage="",this.autoValidate=!1,this.pattern="",this.min="",this.max="",this.step=null,this.size=null,this.helperPersistent=!1,this.charCounter=!1,this.endAligned=!1,this.prefix="",this.suffix="",this.name="",this.readOnly=!1,this.autocapitalize="",this.outlineOpen=!1,this.outlineWidth=0,this.isUiValid=!0,this.focused=!1,this._validity=Du(),this.validityTransform=null}get validity(){return this._checkValidity(this.value),this._validity}get willValidate(){return this.formElement.willValidate}get selectionStart(){return this.formElement.selectionStart}get selectionEnd(){return this.formElement.selectionEnd}focus(){const t=new CustomEvent("focus");this.formElement.dispatchEvent(t),this.formElement.focus()}blur(){const t=new CustomEvent("blur");this.formElement.dispatchEvent(t),this.formElement.blur()}select(){this.formElement.select()}setSelectionRange(t,e,i){this.formElement.setSelectionRange(t,e,i)}update(t){t.has("autoValidate")&&this.mdcFoundation&&this.mdcFoundation.setValidateOnValueChange(this.autoValidate),t.has("value")&&"string"!=typeof this.value&&(this.value=`${this.value}`),super.update(t)}setFormData(t){this.name&&t.append(this.name,this.value)}render(){const t=this.charCounter&&-1!==this.maxLength,e=!!this.helper||!!this.validationMessage||t,i={"mdc-text-field--disabled":this.disabled,"mdc-text-field--no-label":!this.label,"mdc-text-field--filled":!this.outlined,"mdc-text-field--outlined":this.outlined,"mdc-text-field--with-leading-icon":this.icon,"mdc-text-field--with-trailing-icon":this.iconTrailing,"mdc-text-field--end-aligned":this.endAligned};return Y`