From 478e946d35895cb36075dd9fdf64c4a1786d4194 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Thu, 23 Jan 2025 18:24:32 +0000 Subject: [PATCH] Remove config/www/community from tracking --- .../www/community/Bubble-Card/bubble-card.js | 1392 -------------- .../community/Bubble-Card/bubble-card.js.gz | Bin 40732 -> 0 bytes .../Bubble-Card/bubble-pop-up-fix.js | 1 - .../Bubble-Card/bubble-pop-up-fix.js.gz | Bin 394 -> 0 bytes .../www/community/button-card/button-card.js | 559 ------ .../community/button-card/button-card.js.gz | Bin 27994 -> 0 bytes .../clock-weather-card/clock-weather-card.js | 251 --- .../clock-weather-card.js.gz | Bin 55009 -> 0 bytes .../lovelace-auto-entities/auto-entities.js | 172 -- .../auto-entities.js.gz | Bin 13819 -> 0 bytes .../lovelace-auto-entities/rollup.config.js | 24 - .../rollup.config.js.gz | Bin 323 -> 0 bytes .../community/lovelace-card-mod/card-mod.js | 1 - .../lovelace-card-mod/card-mod.js.gz | Bin 19195 -> 0 bytes .../lovelace-card-tools/card-tools.js | 90 - .../lovelace-card-tools/card-tools.js.gz | Bin 6619 -> 0 bytes .../lovelace-card-tools/webpack.config.js | 10 - .../lovelace-card-tools/webpack.config.js.gz | Bin 173 -> 0 bytes .../community/lovelace-mushroom/mushroom.js | 391 ---- .../lovelace-mushroom/mushroom.js.gz | Bin 191714 -> 0 bytes .../xiaomi-vacuum-map-card.js | 1698 ----------------- .../xiaomi-vacuum-map-card.js.gz | Bin 95312 -> 0 bytes .../www/community/search-card/search-card.js | 231 --- .../community/search-card/search-card.js.gz | Bin 2040 -> 0 bytes .../www/community/vacuum-card/vacuum-card.js | 4 - .../community/vacuum-card/vacuum-card.js.gz | Bin 33769 -> 0 bytes 26 files changed, 4824 deletions(-) delete mode 100644 config/www/community/Bubble-Card/bubble-card.js delete mode 100644 config/www/community/Bubble-Card/bubble-card.js.gz delete mode 100644 config/www/community/Bubble-Card/bubble-pop-up-fix.js delete mode 100644 config/www/community/Bubble-Card/bubble-pop-up-fix.js.gz delete mode 100755 config/www/community/button-card/button-card.js delete mode 100755 config/www/community/button-card/button-card.js.gz delete mode 100644 config/www/community/clock-weather-card/clock-weather-card.js delete mode 100644 config/www/community/clock-weather-card/clock-weather-card.js.gz delete mode 100644 config/www/community/lovelace-auto-entities/auto-entities.js delete mode 100644 config/www/community/lovelace-auto-entities/auto-entities.js.gz delete mode 100644 config/www/community/lovelace-auto-entities/rollup.config.js delete mode 100644 config/www/community/lovelace-auto-entities/rollup.config.js.gz delete mode 100644 config/www/community/lovelace-card-mod/card-mod.js delete mode 100644 config/www/community/lovelace-card-mod/card-mod.js.gz delete mode 100755 config/www/community/lovelace-card-tools/card-tools.js delete mode 100755 config/www/community/lovelace-card-tools/card-tools.js.gz delete mode 100755 config/www/community/lovelace-card-tools/webpack.config.js delete mode 100755 config/www/community/lovelace-card-tools/webpack.config.js.gz delete mode 100644 config/www/community/lovelace-mushroom/mushroom.js delete mode 100644 config/www/community/lovelace-mushroom/mushroom.js.gz delete mode 100644 config/www/community/lovelace-xiaomi-vacuum-map-card/xiaomi-vacuum-map-card.js delete mode 100644 config/www/community/lovelace-xiaomi-vacuum-map-card/xiaomi-vacuum-map-card.js.gz delete mode 100644 config/www/community/search-card/search-card.js delete mode 100644 config/www/community/search-card/search-card.js.gz delete mode 100755 config/www/community/vacuum-card/vacuum-card.js delete mode 100755 config/www/community/vacuum-card/vacuum-card.js.gz diff --git a/config/www/community/Bubble-Card/bubble-card.js b/config/www/community/Bubble-Card/bubble-card.js deleted file mode 100644 index 5484d5ed..00000000 --- a/config/www/community/Bubble-Card/bubble-card.js +++ /dev/null @@ -1,1392 +0,0 @@ -(()=>{"use strict";var __webpack_modules__={946:(e,t,n)=>{function o(e,t=40){if(Array.isArray(e)&&3===e.length){for(let t=0;t<3;t++)if(e[t]<0||e[t]>255)return;return e.every((e=>Math.abs(e-255)<=t))}}let a;function i(e,t,n=1){if(e.startsWith("#"))if(4===e.length){let o=Math.min(255,parseInt(e.charAt(1).repeat(2),16)*n),i=Math.min(255,parseInt(e.charAt(2).repeat(2),16)*n),r=Math.min(255,parseInt(e.charAt(3).repeat(2),16)*n);a="rgba("+o+", "+i+", "+r+", "+t+")"}else{let o=Math.min(255,parseInt(e.slice(1,3),16)*n),i=Math.min(255,parseInt(e.slice(3,5),16)*n),r=Math.min(255,parseInt(e.slice(5,7),16)*n);a="rgba("+o+", "+i+", "+r+", "+t+")"}else if(e.startsWith("rgb")){let o=e.match(/\d+/g);a="rgba("+Math.min(255,o[0]*n)+", "+Math.min(255,o[1]*n)+", "+Math.min(255,o[2]*n)+", "+t+")"}else if(e.startsWith("var(--")){let o=e.slice(4,-1),r=window.getComputedStyle(document.documentElement).getPropertyValue(o);(r.startsWith("#")||r.startsWith("rgb"))&&(a=i(r,t,n))}return a}n.d(t,{_k:()=>i,wW:()=>o})},191:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{BX:()=>fireEvent,GP:()=>applyScrollingEffect,IL:()=>getAttribute,Jn:()=>tapFeedback,OC:()=>isEntityType,P2:()=>throttle,Vv:()=>isColorLight,X:()=>getWeatherIcon,az:()=>createElement,gJ:()=>getImage,jk:()=>forwardHaptic,jx:()=>setLayout,mk:()=>getIconColor,o0:()=>formatDateTime,oY:()=>getName,pr:()=>isStateOn,q7:()=>getIcon,y0:()=>getState});var _style_ts__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(946);const fireEvent=(e,t,n,o)=>{o=o||{},n=null==n?{}:n;const a=new Event(t,{bubbles:void 0===o.bubbles||o.bubbles,cancelable:Boolean(o.cancelable),composed:void 0===o.composed||o.composed});return a.detail=n,e.dispatchEvent(a),a},forwardHaptic=e=>{fireEvent(window,"haptic",e)},navigate=(e,t,n=!1)=>{n?history.replaceState(null,"",t):history.pushState(null,"",t),fireEvent(window,"location-changed",{replace:n})};function tapFeedback(e){void 0!==e&&(e.style.display="",e.style.animation="tap-feedback .3s",setTimeout((()=>{e.style.animation="none",e.style.display="none"}),500))}function getIcon(e,t=e.config.entity,n=e.config.icon){const o=t?.split(".")[0],a=getAttribute(e,"device_class",t),i=getAttribute(e,"icon",t),r=n,s=getState(e,t),l={alarm_control_panel:"mdi:shield",alert:"mdi:alert",automation:"mdi:playlist-play",binary_sensor:function(){const n="off"===s;switch(getAttribute(e,"device_class",t)){case"battery":return n?"mdi:battery":"mdi:battery-outline";case"battery_charging":return n?"mdi:battery":"mdi:battery-charging";case"cold":return n?"mdi:thermometer":"mdi:snowflake";case"connectivity":return n?"mdi:server-network-off":"mdi:server-network";case"door":return n?"mdi:door-closed":"mdi:door-open";case"garage_door":return n?"mdi:garage":"mdi:garage-open";case"heat":return n?"mdi:thermometer":"mdi:fire";case"light":return n?"mdi:brightness-5":"mdi:brightness-7";case"lock":return n?"mdi:lock":"mdi:lock-open";case"moisture":return n?"mdi:water-off":"mdi:water";case"motion":return n?"mdi:motion-sensor-off":"mdi:motion-sensor";case"occupancy":case"presence":return n?"mdi:home-outline":"mdi:home";case"opening":return n?"mdi:square":"mdi:square-outline";case"plug":case"power":return n?"mdi:power-plug-off":"mdi:power-plug";case"running":return n?"mdi:stop":"mdi:play";case"safety":case"tamper":return n?"mdi:check-circle":"mdi:alert-circle";case"smoke":return n?"mdi:check-circle":"mdi:smoke";case"sound":return n?"mdi:music-note-off":"mdi:music-note";case"update":return n?"mdi:package":"mdi:package-up";case"vibration":return n?"mdi:crop-portrait":"mdi:vibrate";case"window":return n?"mdi:window-closed":"mdi:window-open";default:return n?"mdi:radiobox-blank":"mdi:checkbox-marked-circle"}}(),calendar:"mdi:calendar",camera:"mdi:video",climate:"mdi:thermostat",configurator:"mdi:settings",conversation:"mdi:text-to-speech",cover:function(){const n="closed"!==s;switch(getAttribute(e,"device_class",t)){case"awning":return n?"mdi:awning-outline":"mdi:awning";case"blind":return n?"mdi:blinds-open":"mdi:blinds";case"curtain":return n?"mdi:curtains-open":"mdi:curtains";case"damper":case"shutter":default:return n?"mdi:window-shutter-open":"mdi:window-shutter";case"door":return n?"mdi:door-open":"mdi:door-closed";case"garage":return n?"mdi:garage-open":"mdi:garage";case"gate":return n?"mdi:gate-open":"mdi:gate";case"shade":return n?"mdi:roller-shade":"mdi:roller-shade-closed";case"window":return n?"mdi:window-open":"mdi:window-closed"}}(),device_tracker:"mdi:account",fan:"mdi:fan",group:"mdi:google-circles-communities",history_graph:"mdi:chart-line",homeassistant:"mdi:home-assistant",homekit:"mdi:home-automation",image_processing:"mdi:image-filter-frames",input_boolean:"mdi:drawing",input_datetime:"mdi:calendar-clock",input_number:"mdi:ray-vertex",input_select:"mdi:format-list-bulleted",input_text:"mdi:textbox",light:"mdi:lightbulb",lock:"mdi:lock",mailbox:"mdi:mailbox",media_player:"mdi:speaker",mower:"mdi:robot-mower",notify:"mdi:comment-alert",person:"mdi:account",plant:"mdi:flower",proximity:"mdi:apple-safari",remote:"mdi:remote",scene:"mdi:palette",script:"mdi:file-document",sensor:function(){switch(getAttribute(e,"device_class",t)){case"battery":return 100==s?"mdi:battery":s>=90?"mdi:battery-90":s>=80?"mdi:battery-80":s>=70?"mdi:battery-70":s>=60?"mdi:battery-60":s>=50?"mdi:battery-50":s>=40?"mdi:battery-40":s>=30?"mdi:battery-30":s>=20?"mdi:battery-20":s>=10?"mdi:battery-10":"mdi:battery-alert";case"humidity":return"mdi:water-percent";case"illuminance":return"mdi:brightness-5";case"temperature":return"mdi:thermometer";case"pressure":return"mdi:gauge";case"power":return"mdi:flash";case"signal_strength":return"mdi:wifi";case"energy":return"mdi:lightning-bolt";default:return"mdi:eye"}}(),simple_alarm:"mdi:bell",sun:"mdi:white-balance-sunny",switch:"mdi:flash",timer:"mdi:timer",updater:"mdi:cloud-upload",vacuum:"mdi:robot-vacuum",water_heater:"mdi:thermometer",weather:function(n=getState(e,t)){switch(n){case"cloudy":default:return"mdi:weather-cloudy";case"partlycloudy":return"mdi:weather-partly-cloudy";case"rainy":return"mdi:weather-rainy";case"snowy":return"mdi:weather-snowy";case"sunny":return"mdi:weather-sunny";case"clear-night":return"mdi:weather-night";case"fog":return"mdi:weather-fog";case"hail":return"mdi:weather-hail";case"lightning":return"mdi:weather-lightning";case"lightning-rainy":return"mdi:weather-lightning-rainy";case"pouring":return"mdi:weather-pouring";case"windy":return"mdi:weather-windy";case"windy-variant":return"mdi:weather-windy-variant";case"exceptional":return"mdi:alert-circle-outline"}}(),weblink:"mdi:open-in-new"};return r||i||(l[o]?l[o]:l[a]?l[a]:"")}function getWeatherIcon(e){switch(e){case"cloudy":default:return"mdi:weather-cloudy";case"partlycloudy":return"mdi:weather-partly-cloudy";case"rainy":return"mdi:weather-rainy";case"snowy":return"mdi:weather-snowy";case"sunny":return"mdi:weather-sunny";case"clear-night":return"mdi:weather-night";case"fog":return"mdi:weather-fog";case"hail":return"mdi:weather-hail";case"lightning":return"mdi:weather-lightning";case"lightning-rainy":return"mdi:weather-lightning-rainy";case"pouring":return"mdi:weather-pouring";case"windy":return"mdi:weather-windy";case"windy-variant":return"mdi:weather-windy-variant";case"exceptional":return"mdi:alert-circle-outline"}}const colorCache=new Map;function resolveCssVariable(e){let t=e;const n=getComputedStyle(document.body);for(;t&&t.startsWith("var(");){const e=t.match(/var\((--[^,]+),?\s*(.*)?\)/);if(!e)break;const[,o,a]=e;t=n.getPropertyValue(o).trim()||a&&a.trim()||""}return t}function hexToRgb(e){const t=e.match(/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i);return t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:null}function rgbStringToRgb(e){const t=e.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)/i);return t?[parseInt(t[1],10),parseInt(t[2],10),parseInt(t[3],10)]:null}function calculateLuminance(e,t,n){return(.2126*e+.7152*t+.0722*n)/255}function isColorLight(e){const t=resolveCssVariable(e);if(!t)return!1;if(colorCache.has(t))return colorCache.get(t);let n=hexToRgb(t)||rgbStringToRgb(t);if(!n)return colorCache.set(t,!1),!1;const o=calculateLuminance(...n)>.5;return colorCache.set(t,o),o}function adjustColor(e,t){return e.map((e=>Math.min(255,Math.round(e*t))))}function getIconColor(e,t=e.config.entity,n=1){const{card_type:o,use_accent_color:a}=e.config,i="var(--bubble-accent-color, var(--accent-color))",r=getAttribute(e,"rgb_color",t),s=isColorLight("var(--bubble-button-icon-background-color, var(--bubble-icon-background-color, var(--bubble-secondary-background-color, var(--card-background-color, var(--ha-card-background)))))")?n-.2:n;if(!t)return i;if(isEntityType(e,"light")&&!a?"button"===o?e.card.classList.add("is-light"):"pop-up"===o&&e.elements.headerContainer.classList.add("is-light"):"button"===o?e.card.classList.remove("is-light"):"pop-up"===o&&e.elements.headerContainer.classList.remove("is-light"),!t.startsWith("light.")||a)return i;const l=adjustColor([225,225,210],s);if(!r)return`var(--bubble-light-color, rgba(${l.join(", ")}))`;const c=adjustColor(r,s);return(0,_style_ts__WEBPACK_IMPORTED_MODULE_0__.wW)(r)?`var(--bubble-light-color, rgba(${l.join(", ")}))`:`var(--bubble-light-color, rgba(${c.join(", ")}))`}function getImage(e,t=e.config.entity){if(e.config.force_icon)return"";const n=getAttribute(e,"entity_picture_local",t)||getAttribute(e,"entity_picture",t);return n?e._hass.hassUrl(n):""}function getName(e){const t=e.config.name,n=getAttribute(e,"friendly_name");return e.name||t||n||""}function getState(e,t=e.config.entity){return e._hass.states[t]?.state??""}function getAttribute(context,attribute,entity=context.config.entity){return attribute?eval(`context._hass.states['${entity}']?.attributes.${attribute}`)??"":""}function isEntityType(e,t){return e.config.entity?.startsWith(t+".")??!1}function isStateOn(e,t=e.config.entity){const n=getState(e,t).toLowerCase(),o=Number(n);return!!(["on","open","opening","closing","cleaning","true","idle","home","playing","paused","locked","occupied","available","running","active","connected","online","mowing","starting","heat","cool","dry","heat_cool","fan_only","auto","alarm"].includes(n)||o>0)}function createElement(e,t=""){const n=document.createElement(e);return""!==t&&t.split(" ").forEach((e=>{n.classList.add(e)})),n}function debounce(e,t){let n;return function(...o){clearTimeout(n),n=setTimeout((()=>e.apply(this,o)),t)}}function applyScrollingEffect(e,t,n){const o=e.config.scrolling_effect??!0;if(!o)return void applyNonScrollingStyle(t,n);if(t.previousText===n)return;const a=t.className.split(" ").find((e=>e.startsWith("bubble-")));function i(){t.innerHTML=`
${n}
`,t.style="";const e=t.scrollWidth,i=t.parentNode?.offsetWidth||0;o&&e>i?(function(e,t,n){const o=' | ',a=`${t+o+t+o}`;e.innerHTML=`
${a}
`;const i=function(e){return`\n .${e} .scrolling-container {\n width: 100%;\n white-space: nowrap;\n mask-image: linear-gradient(to right, transparent, black calc(0% + 8px), black calc(100% - 8px), transparent);\n mask-image: linear-gradient(to left, transparent, black calc(0% + 8px), black calc(100% - 8px), transparent);\n }\n .${e} .scrolling-container span {\n display: inline-block;\n animation: scroll 14s linear infinite;\n }\n\n .bubble-scroll-separator {\n opacity: .3;\n margin: 0 6px 0 8px;\n }\n\n @keyframes scroll {\n from { transform: translateX(0%); }\n to { transform: translateX(-50%); }\n }\n `}(n);e.styleElement=document.createElement("style"),e.appendChild(e.styleElement),e.styleElement.innerHTML=i}(t,n,a),t.previousText=n):t.previousText=n}requestAnimationFrame(i),t.eventAdded||(window.addEventListener("resize",debounce(i,300)),t.eventAdded=!0)}function applyNonScrollingStyle(e,t){e.innerHTML=t,e.previousText=t,e.style.whiteSpace="normal",e.style.display="-webkit-box",e.style.webkitLineClamp="2",e.style.webkitBoxOrient="vertical",e.style.textOverflow="ellipsis"}function formatDateTime(e,t){if(!e)return"";const n=new Date(e),o=new Date;let a,i,r=Math.floor((o-n)/1e3);return isNaN(r)?"":(r<60?(a="second",i=r+1):r<3600?(a="minute",i=Math.floor(r/60)):r<86400?(a="hour",i=Math.floor(r/3600)):(a="day",i=Math.floor(r/86400)),new Intl.RelativeTimeFormat(t,{numeric:"auto"}).format(-i,a))}function setLayout(e){const t=e.config.card_layout,n="large"===t||"large-2-rows"===t,o="large-2-rows"===t;n!==e.content.classList.contains("large")&&e.content.classList.toggle("large",n),o!==e.content.classList.contains("rows-2")&&e.content.classList.toggle("rows-2",o)}function throttle(e,t=300){let n;return(...o)=>{void 0===n&&(e(...o),n=setTimeout((()=>{n=void 0}),t))}}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](n,n.exports,__webpack_require__),n.exports}__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var __webpack_exports__={};(()=>{let e="v2.3.4";var t=__webpack_require__(946),n=__webpack_require__(191);function o(e,t,n){setTimeout((()=>{const o=new Event("hass-action",{bubbles:!0,composed:!0}),a={...t};!a.entity_id&&this?.config?.entity&&(a.entity_id=this.config.entity),"tap"===n||"double_tap"===n||"hold"===n?o.detail={config:a,action:n}:(e.modifiedConfig={...a,tap_action:{...a[n]}},delete e.modifiedConfig[n],o.detail={config:e.modifiedConfig,action:"tap"}),e.dispatchEvent(o)}),10)}function a(e,t,n,o){e.classList.add("bubble-action"),e.dataset.entity=t?.entity||n,e.dataset.tapAction=JSON.stringify(t?.tap_action||o?.tap_action||{action:"more-info"}),e.dataset.doubleTapAction=JSON.stringify(t?.double_tap_action||o?.double_tap_action||{action:"toggle"}),e.dataset.holdAction=JSON.stringify(t?.hold_action||o?.hold_action||{action:"toggle"});const a=JSON.parse(e.dataset.tapAction),i=JSON.parse(e.dataset.doubleTapAction),r=JSON.parse(e.dataset.holdAction);e.style.cursor="none"===a.action&&"none"===i.action&&"none"===r.action?"":"pointer"}window.isScrolling=!1,document.addEventListener("scroll",(function(){window.isScrolling=!0,setTimeout((()=>{window.isScrolling=!1}),150)}),{passive:!0}),document.body.addEventListener("pointerdown",(e=>{if(window.isScrolling)return;const t=e.composedPath();let n=null;for(const e of t)if(e.classList&&e.classList.contains("bubble-action")){n=e;break}if(n){const t={tap_action:JSON.parse(n.dataset.tapAction),double_tap_action:JSON.parse(n.dataset.doubleTapAction),hold_action:JSON.parse(n.dataset.holdAction),entity:n.dataset.entity};n.actionHandler||(n.actionHandler=new i(n,t,r)),n.actionHandler.handleStart(e),n.addEventListener("pointerup",n.actionHandler.handleEnd.bind(n.actionHandler),{once:!0}),document.addEventListener("scroll",n.actionHandler.handleScroll.bind(n.actionHandler),{once:!0})}}),{passive:!0});class i{constructor(e,t,n){this.element=e,this.config=t,this.sendActionEvent=n,this.tapTimeout=null,this.holdTimeout=null,this.startX=0,this.startY=0,this.holdFired=!1,this.pointerMoveListener=this.detectScrollLikeMove.bind(this)}handleStart(e){window.isScrolling||this.isDisconnected||(this.startX=e.clientX,this.startY=e.clientY,this.holdFired=!1,document.addEventListener("pointermove",this.pointerMoveListener),this.holdTimeout=setTimeout((()=>{"none"===(this.config.hold_action||{action:"none"}).action||window.isScrolling||(this.sendActionEvent(this.element,this.config,"hold"),this.holdFired=!0)}),400))}detectScrollLikeMove(e){const t=Math.abs(e.clientX-this.startX),n=Math.abs(e.clientY-this.startY);(t>5||n>5)&&(clearTimeout(this.holdTimeout),this.holdTimeout=null,document.removeEventListener("pointermove",this.pointerMoveListener))}handleEnd(e){if(window.isScrolling||this.isDisconnected)return;if(clearTimeout(this.holdTimeout),this.holdTimeout=null,document.removeEventListener("pointermove",this.pointerMoveListener),this.holdFired)return;const t=Date.now(),n=this.config.double_tap_action||{action:"none"},o=this.config.tap_action||{action:"none"};this.lastTap&&t-this.lastTap<200&&"none"!==n.action?(clearTimeout(this.tapTimeout),this.sendActionEvent(this.element,this.config,"double_tap")):"none"!==o.action&&(this.tapTimeout=setTimeout((()=>{this.sendActionEvent(this.element,this.config,"tap")}),200)),this.lastTap=t}handleScroll(){clearTimeout(this.holdTimeout),this.holdTimeout=null,document.removeEventListener("pointermove",this.pointerMoveListener)}}function r(e,t,n){const a=t.tap_action||{action:"more-info"},i=t.double_tap_action||{action:"toggle"},r=t.hold_action||{action:"toggle"},s=t.entity||this.config?.entity,l=e=>e.service&&"entity"===e.target?.entity_id&&s?{...e,target:{...e.target,entity_id:s}}:e,c=l(a),d=l(i),u=l(r);let b;switch(n){case"tap":default:b=c;break;case"double_tap":b=d;break;case"hold":b=u}o(e,{entity:s,tap_action:c,double_tap_action:d,hold_action:u},n)}function s(e,t){e.addEventListener("click",(()=>{(0,n.jk)("selection"),(0,n.Jn)(t)}))}let l=!1;function c(){!l&&location.hash&&setTimeout((()=>{const e=window.location.href.split("#")[0];history.replaceState(null,"",e),window.dispatchEvent(new Event("location-changed"))}),50)}function d(e){const t=e.startsWith("#")?window.location.href.split("#")[0]+e:e;history.pushState(null,"",t),window.dispatchEvent(new Event("location-changed"))}function u(e,t){e.editor||(e.hideContentTimeout=setTimeout((()=>{const{sectionRow:t,sectionRowContainer:n}=e;"hui-card"===t?.tagName.toLowerCase()&&(t.hidden=!0,t.style.display="none",n?.classList.contains("card")&&(n.style.display="none"))}),t))}function b(e,t){const{showBackdrop:n,hideBackdrop:o}=L(e);t?n():o()}function p(e,t){e.config.background_update||(t?requestAnimationFrame((()=>{e.verticalStack.appendChild(e.popUp)})):requestAnimationFrame((()=>{e.verticalStack.removeChild(e.popUp)})))}function h(e,t){requestAnimationFrame((()=>{e.classList.toggle("is-popup-opened",t),e.classList.toggle("is-popup-closed",!t)}))}function m(e,t){e.boundClickOutside||(e.boundClickOutside=t=>function(e,t){(t.config.close_by_clicking_outside??1)&&(e.composedPath().find((e=>e.classList?.contains("bubble-pop-up")||["HA-DIALOG","HA-MORE-INFO-DIALOG","HA-DIALOG-DATE-PICKER"].includes(e.nodeName)))||c())}(t,e)),e.resetCloseTimeout||(e.resetCloseTimeout=()=>{!function(e){e.config.auto_close&&e.closeTimeout&&(clearTimeout(e.closeTimeout),e.closeTimeout=setTimeout(c,e.config.auto_close))}(e)}),t?(e.listenersAdded||(e.config.auto_close&&(e.popUp.addEventListener("touchstart",e.resetCloseTimeout,{passive:!0}),e.popUp.addEventListener("click",e.resetCloseTimeout,{passive:!0})),e.listenersAdded=!0),e.clickOutsideListenerAdded||(window.addEventListener("click",e.boundClickOutside,{passive:!0}),e.clickOutsideListenerAdded=!0)):(e.listenersAdded&&(e.config.auto_close&&(e.popUp.removeEventListener("touchstart",e.resetCloseTimeout),e.popUp.removeEventListener("click",e.resetCloseTimeout)),e.listenersAdded=!1),e.clickOutsideListenerAdded&&(window.removeEventListener("click",e.boundClickOutside),e.clickOutsideListenerAdded=!1))}function g(e){document.body.style.overflow=e}function f(e){["hideContentTimeout","removeDomTimeout","closeTimeout"].forEach((t=>clearTimeout(e[t])))}const _="\n .bubble-backdrop {\n position: fixed;\n background-color: var(--bubble-backdrop-background-color);\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 4;\n opacity: 0;\n transition: opacity 0.3s;\n transition-delay: .1s;\n display: flex;\n backdrop-filter: var(--custom-backdrop-filter);\n -webkit-backdrop-filter: var(--custom-backdrop-filter);\n transform: translate3d(0, 0, 0);\n }\n\n .bubble-backdrop.is-visible {\n opacity: 1;\n }\n\n .bubble-backdrop.is-hidden {\n opacity: 0;\n pointer-events: none;\n }\n";let y,v,w,x,k=!1;const C=window.matchMedia("(prefers-color-scheme: dark)"),$=(0,n.az)("style");function S(){x=getComputedStyle(document.body).getPropertyValue("--ha-card-background")||getComputedStyle(document.body).getPropertyValue("--card-background-color"),document.body.style.setProperty("--bubble-backdrop-background-color",(0,t._k)(x,.8,.6))}function L(e){const t=e.config.hide_backdrop??!1;if(y)return y;$.innerHTML=_,document.head.appendChild($);const o=(0,n.az)("style");document.head.appendChild(o);const a=(0,n.az)("div","bubble-backdrop backdrop is-hidden");return t&&(a.style.display="none",a.style.pointerEvents="none"),document.body.appendChild(a),a.style.setProperty("--custom-backdrop-filter",`blur(${e.config.backdrop_blur??0}px)`),y={hideBackdrop:function(){a.classList.add("is-hidden"),a.classList.remove("is-visible")},showBackdrop:function(){requestAnimationFrame((()=>{a.classList.add("is-visible"),a.classList.remove("is-hidden")}))},backdropElement:a,backdropCustomStyle:o},y}function T(e,t,n,o){let a;switch(n){case"hvac_modes":a=document.createElement("ha-icon"),a.slot="graphic",a.icon=function(e){switch(e){case"auto":return"mdi:thermostat-auto";case"cool":return"mdi:snowflake";case"heat":return"mdi:fire";case"heat_cool":return"mdi:sun-snowflake-variant";case"dry":return"mdi:water-percent";case"fan_only":default:return"mdi:fan";case"off":return"mdi:power"}}(o);break;case"fan_modes":if(!t.attributes.fan_modes)return null;a=document.createElement("ha-attribute-icon"),a.slot="graphic",a.attribute="fan_mode",a.attributeValue=o,a.hass=e._hass,a.stateObj=t;break;case"swing_modes":a=document.createElement("ha-attribute-icon"),a.slot="graphic",a.attribute="swing_mode",a.attributeValue=o,a.hass=e._hass,a.stateObj=t;break;case"preset_modes":a=document.createElement("ha-attribute-icon"),a.slot="graphic",a.attribute="preset_mode",a.attributeValue=o,a.hass=e._hass,a.stateObj=t;break;default:a=!1}return a}C.addEventListener("change",S),S();const O="\n * {\n -webkit-tap-highlight-color: transparent !important;\n }\n ha-card {\n margin-top: 0;\n background: none;\n opacity: 1;\n }\n mwc-list-item {\n border-radius: var(--bubble-select-list-border-radius, var(--bubble-border-radius, 24px));\n margin: 0 8px;\n }\n mwc-list-item[selected] {\n color: var(--primary-text-color) !important;\n background-color: var(--bubble-select-list-item-accent-color, var(--bubble-list-item-accent-color, var(--bubble-accent-color, var(--accent-color)))); /* Added the missing 'select' in the first var without removing the previous one for compatibilty */ \n }\n ha-select {\n --mdc-shape-medium: var(--bubble-select-list-border-radius, var(--bubble-border-radius, 32px));\n --mdc-theme-surface: var(--bubble-select-list-background-color, var(--bubble-select-main-background-color, var(--bubble-main-background-color, var(--card-background-color, var(--secondary-background-color)))));\n --mdc-shape-large: 32px;\n --mdc-shape-small: 64px;\n --mdc-menu-max-width: min-content;\n --mdc-menu-min-width: var(--bubble-select-list-width, 200px);\n --mdc-select-max-width: min-content;\n --mdc-select-outlined-hover-border-color: transparent;\n --mdc-select-outlined-idle-border-color: transparent;\n --mdc-theme-primary: transparent;\n --right-value: calc(var(--mdc-menu-min-width) - 154px);\n }\n .mdc-select {\n color: transparent !important;\n width: 150px !important;\n position: absolute !important;\n pointer-events: none;\n right: var(--right-value, 46px);\n top: -28px;\n }\n .mdc-menu, mwc-list, .mdc-list-item {\n pointer-events: auto;\n }\n .mdc-select__dropdown-icon {\n display: none !important;\n }\n .mdc-select__selected-text {\n color: transparent !important;\n }\n .mdc-select__anchor {\n width: 100%;\n pointer-events: none;\n }\n .bubble-dropdown-container {\n display: flex !important;\n width: auto;\n height: 100%;\n align-items: center;\n }\n .bubble-dropdown-arrow {\n display: flex;\n position: absolute;\n background: var(--bubble-select-arrow-background-color, var(--bubble-icon-background-color, var(--bubble-secondary-background-color, var(--card-background-color, var(--ha-card-background)))));\n height: 36px;\n width: 36px;\n right: 6px;\n pointer-events: none;\n border-radius: var(--bubble-select-button-border-radius, var(--bubble-border-radius, 20px));\n align-items: center;\n justify-content: center;\n transition: background 0.2s, transform 0.2s;\n pointer-events: none;\n }\n .bubble-dropdown-select {\n position: relative;\n width: 42px;\n }\n .is-unavailable {\n opacity: 0.5;\n }\n .bubble-select-card-container {\n position: relative;\n width: 100%;\n height: 50px;\n background-color: var(--bubble-select-main-background-color, var(--bubble-main-background-color, var(--background-color-2, var(--secondary-background-color))));\n border-radius: var(--bubble-select-border-radius, var(--bubble-border-radius, 32px));\n box-shadow: var(--bubble-select-box-shadow, var(--bubble-box-shadow, none));\n touch-action: pan-y;\n box-sizing: border-box;\n border: solid 2px transparent;\n transition: all 0.15s;\n cursor: pointer;\n }\n .bubble-select-card,\n .bubble-select-background {\n display: flex;\n position: absolute;\n justify-content: space-between;\n align-items: center;\n height: 100%;\n width: 100%;\n transition: background-color 1.5s;\n }\n .bubble-select-background {\n background-color: var(--bubble-select-background-color);\n opacity: .5;\n overflow: hidden !important;\n border-radius: var(--bubble-select-border-radius, var(--bubble-border-radius, 32px));\n }\n .is-unavailable .bubble-select-card {\n cursor: not-allowed;\n }\n .bubble-icon-container {\n display: flex;\n flex-wrap: wrap;\n align-content: center;\n justify-content: center;\n min-width: 38px;\n min-height: 38px;\n margin: 6px;\n border-radius: var(--bubble-select-icon-border-radius, var(--bubble-icon-border-radius, var(--bubble-border-radius, 50%)));\n background-color: var(--bubble-select-icon-background-color, var(--bubble-icon-background-color, var(--bubble-secondary-background-color, var(--card-background-color, var(--ha-card-background)))));\n overflow: hidden;\n position: relative;\n cursor: pointer;\n }\n .bubble-icon-container::after {\n content: '';\n background-color: currentColor;\n position: absolute;\n display: block;\n width: 100%;\n height: 100%;\n transition: all 1s;\n left: 0;\n right: 0;\n opacity: 0;\n pointer-events: none;\n }\n\n .bubble-icon {\n display: flex;\n opacity: 0.6;\n }\n\n .bubble-entity-picture {\n background-size: cover;\n background-position: center;\n height: 100%;\n width: 100%;\n position: absolute;\n }\n\n .bubble-name,\n .bubble-state {\n display: flex;\n position: relative;\n white-space: nowrap;\n }\n\n .bubble-name-container {\n display: flex;\n line-height: 18px;\n flex-direction: column;\n justify-content: center;\n flex-grow: 1;\n margin: 0 16px 0 4px;\n pointer-events: none;\n position: relative;\n overflow: hidden;\n }\n\n .bubble-name {\n font-weight: 600;\n }\n\n .bubble-state {\n font-size: 12px;\n font-weight: normal;\n opacity: 0.7;\n }\n\n .bubble-feedback-element {\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0;\n width: 100%;\n height: 100%;\n background-color: rgb(0,0,0);\n pointer-events: none;\n }\n\n @keyframes tap-feedback {\n 0% {transform: translateX(-100%); opacity: 0;}\n 64% {transform: translateX(0); opacity: 0.1;}\n 100% {transform: translateX(100%); opacity: 0;}\n }\n\n .large .bubble-select-card-container {\n height: 56px;\n border-radius: var(--bubble-select-border-radius, var(--bubble-border-radius, 32px));\n }\n\n .large .bubble-icon-container {\n --mdc-icon-size: 24px;\n min-width: 42px !important;\n min-height: 42px !important;\n margin-left: 6px;\n }\n\n .rows-2 .bubble-sub-button-container {\n flex-direction: column;\n gap: 4px !important;\n display: grid !important;\n grid-template-columns: repeat(2, min-content);\n grid-template-rows: repeat(2, 1fr);\n grid-auto-flow: column;\n width: auto;\n }\n\n .rows-2 .bubble-sub-button {\n height: 20px !important;\n }\n";function z(e,t=e.elements,o){t.dropdownContainer=(0,n.az)("div","bubble-dropdown-container"),t.dropdownSelect=(0,n.az)("ha-select","bubble-dropdown-select"),t.dropdownSelect.setAttribute("outlined",""),t.dropdownArrow=(0,n.az)("ha-icon","bubble-dropdown-arrow"),t.dropdownArrow.setAttribute("icon","mdi:chevron-down"),t.dropdownContainer.appendChild(t.dropdownArrow),t.dropdownStyleElement=(0,n.az)("style"),t.dropdownCustomStyleElement=(0,n.az)("style"),t.dropdownStyleElement.textContent=O,t.dropdownSelect.updateComplete.then((()=>{!function(){if(t.dropdownSelect.shadowRoot)if(t!==e.elements){t.dropdownSelectStyleElement=(0,n.az)("style"),t.dropdownSelectStyleElement.textContent=O,t.dropdownSelect.shadowRoot.appendChild(t.dropdownSelectStyleElement),t.dropdownContainer.appendChild(t.dropdownStyleElement),o&&(t.dropdownContainer.style.width="24px"),t.dropdownArrow.style.height="20px",t.dropdownArrow.style.width="20px",t.mainContainer=t.parentElement.parentElement.parentElement;let e=t.dropdownSelect.shadowRoot.querySelector("mwc-menu");e&&(e.style.position="relative",e.style.right="138px")}else t.dropdownSelect.shadowRoot.appendChild(t.dropdownStyleElement),t.dropdownSelect.shadowRoot.appendChild(t.dropdownCustomStyleElement)}()})),t===e.elements?t.selectCard.appendChild(t.dropdownContainer):t.appendChild(t.dropdownContainer)}function E(e,t=e.elements,n=e.config.entity,o=e.config){const{dropdownArrow:a,dropdownSelect:i,selectCardContainer:r,selectBackground:s}=t,l=t===e.elements?r:t,c=t===e.elements?s:t;t!==e.elements&&(l.style.border="solid 2px rgba(0,0,0,0)");let d=!0;c.addEventListener("click",(e=>{if("mwc-list-item"===e.target.tagName.toLowerCase())return;const n=i.shadowRoot.querySelector("mwc-menu"),o=()=>{a.style.transform="rotate(180deg)",t.dropdownArrow.style.background="var(--accent-color)",l.style.border="var(--bubble-select-border, solid 2px var(--accent-color))",t.mainContainer&&(t.mainContainer.style.overflow="visible")};d?(d=!1,a.style.transition="none",n.setAttribute("open",""),requestAnimationFrame((()=>{n.removeAttribute("open"),setTimeout((()=>{a.style.transition="",o()}),140)}))):(n.hasAttribute("open")||(n.removeAttribute("mdc-menu-surface--is-open-below"),n.setAttribute("mdc-menu-surface--is-open-above",""),n.setAttribute("open","")),o())})),i.addEventListener("closed",(e=>{e.stopPropagation(),e.preventDefault(),a.style.transform="rotate(0deg)",l.style.border="solid 2px rgba(0,0,0,0)",t.dropdownArrow.style.background="",t.mainContainer&&(t.mainContainer.style.overflow="")})),t.dropdownSelect.addEventListener("click",(t=>{const a=t.target.value;!function(e,t,n,o){const a=t?.split(".")[0];switch(a){case"input_select":e._hass.callService("input_select","select_option",{entity_id:t,option:n});break;case"select":e._hass.callService("select","select_option",{entity_id:t,option:n});break;case"climate":switch(o.select_attribute){case"hvac_modes":e._hass.callService("climate","set_hvac_mode",{entity_id:t,hvac_mode:n});break;case"fan_modes":e._hass.callService("climate","set_fan_mode",{entity_id:t,fan_mode:n});break;case"swing_modes":e._hass.callService("climate","set_swing_mode",{entity_id:t,swing_mode:n});break;case"preset_modes":e._hass.callService("climate","set_preset_mode",{entity_id:t,preset_mode:n})}break;case"fan":"preset_modes"===o.select_attribute&&e._hass.callService("fan","set_preset_mode",{entity_id:t,preset_mode:n});break;case"light":"effect_list"===o.select_attribute&&e._hass.callService("light","turn_on",{entity_id:t,effect:n});break;case"media_player":switch(o.select_attribute){case"source_list":e._hass.callService("media_player","select_source",{entity_id:t,source:n});break;case"sound_mode_list":e._hass.callService("media_player","select_sound_mode",{entity_id:t,sound_mode:n})}break;default:console.warn(`Unsupported entity type: ${a}`)}}(e,n,a,o)}))}function B(e,t=e.elements,n=e.config.entity,o){if(t.currentState=e._hass.states[n]?.state,!t.currentState)return;if(t.currentList=n?.startsWith("input_select")||n?.startsWith("select")?e._hass.states[n].attributes.options:e._hass.states[n].attributes[o.select_attribute],t.previousList===t.currentList&&t.previousState===t.currentState)return;let a=t.currentList;for(t.currentState;t.dropdownSelect.firstChild;)t.dropdownSelect.removeChild(t.dropdownSelect.firstChild);a.forEach((a=>{const i=document.createElement("mwc-list-item");i.value=a;const r=T(e,e._hass.states[n],o.select_attribute,a);r&&(i.graphic="icon",i.appendChild(r));const s=function(e,t,n,o){function a(e){const t=e.replace(/_/g," ");return t.charAt(0).toUpperCase()+t.slice(1)}switch(n){case"fan_modes":return e._hass.formatEntityAttributeValue(t,"fan_mode",o);case"hvac_modes":return e._hass.formatEntityState(t,o);case"swing_modes":return e._hass.formatEntityAttributeValue(t,"swing_mode",o);case"preset_modes":return e._hass.formatEntityAttributeValue(t,"preset_mode",o);default:return a(e._hass.formatEntityState(t,o))??a(o)}}(e,e._hass.states[n],o.select_attribute,a);i.appendChild(document.createTextNode(s)),a===function(e,t){switch(t){case"fan_modes":return e.attributes.fan_mode||null;case"swing_modes":return e.attributes.swing_mode||null;case"preset_modes":return e.attributes.preset_mode||null;case"effect_list":return e.attributes.effect||null;case"source_list":return e.attributes.source||null;case"sound_mode_list":return e.attributes.sound_mode||null;default:return e.state}}(e._hass.states[n],o.select_attribute)&&i.setAttribute("selected",""),t.dropdownSelect.appendChild(i),t.previousList=t.currentList,t.previousState=t.currentState})),t.dropdownContainer.appendChild(t.dropdownSelect)}function A(e,t){try{if(e.states[t])return e.states[t]?.state}catch{}}function I(e,t){const n=e.entity&&t.states[e.entity]?t.states[e.entity].state:"unavailable";let o=e.state??e.state_not;if(Array.isArray(o)){const e=o.map((e=>A(t,e))).filter((e=>void 0!==e));o=[...o,...e]}else if("string"==typeof o){const e=A(t,o);o=[o],e&&o.push(e)}return null!=e.state?P(o).includes(n):!P(o).includes(n)}function P(e){return void 0===e||Array.isArray(e)?e:[e]}function V(e,t){return e.every((e=>{if("condition"in e)switch(e.condition){case"screen":return!!(n=e).media_query&&matchMedia(n.media_query).matches;case"user":return function(e,t){return!(!e.users||!t.user?.id)&&e.users.includes(t.user.id)}(e,t);case"numeric_state":return function(e,t){const n=(e.entity?t.states[e.entity]:void 0)?.state;let o=e.above,a=e.below;"string"==typeof o&&(o=A(t,o)??o),"string"==typeof a&&(a=A(t,a)??a);const i=Number(n),r=Number(o),s=Number(a);return!isNaN(i)&&(null==e.above||isNaN(r)||ri)}(e,t);case"and":return function(e,t){return!e.conditions||V(e.conditions,t)}(e,t);case"or":return function(e,t){return!e.conditions||e.conditions.some((e=>V([e],t)))}(e,t);default:return I(e,t)}var n;return I(e,t)}))}function D(e){return null!=e.entity&&(null!=e.state||null!=e.state_not)}function H(e){return e.every((e=>{if("condition"in e)switch(e.condition){case"screen":return null!=e.media_query;case"user":return null!=e.users;case"numeric_state":return function(e){return null!=e.entity&&(null!=e.above||null!=e.below)}(e);case"and":case"or":return function(e){return null!=e.conditions}(e);default:return D(e)}return D(e)}))}function U(e){if(e.config.styles?.includes("card.querySelector('.bubble-state').innerText"))return;const t=e._hass.states[e.config.entity],o=(0,n.IL)(e,e.config.attribute,e.config.entity),a=t?.last_changed,i="state"===e.config.button_type,r=e.config.show_name??!0,s=e.config.show_icon??!0,l=e.config.show_state??i,c=e.config.show_attribute??i,d=e.config.show_last_changed??e.config.show_last_updated??!1,u=e.config.scrolling_effect??!0,b=e.previousConfig||{};if(e.previousState===t&&e.previousAttribute===o&&e.previousLastChanged===a&&b.showName===r&&b.showIcon===s&&b.showState===l&&b.showAttribute===c&&b.showLastChanged===d&&b.scrollingEffect===u)return;let p=t&&l?e._hass.formatEntityState(t):"",h="",m="",g="";var f;c&&o&&(h=t?e._hass.formatEntityAttributeValue(t,e.config.attribute)??o:""),d&&t&&(m=t?(f=(0,n.o0)(a,e._hass.locale.language)).charAt(0).toUpperCase()+f.slice(1):""),e.elements.stateStyles||(e.elements.stateStyles=(0,n.az)("style"),e.elements.stateStyles.textContent=M,e.content.appendChild(e.elements.stateStyles),"pop-up"===e.config.card_type&&e.elements.buttonContainer.appendChild(e.elements.stateStyles)),g=[p,h,m].filter(Boolean).join(" • "),e.elements.name.classList.toggle("hidden",!r),e.elements.iconContainer.classList.toggle("hidden",!s),e.elements.nameContainer.classList.toggle("name-without-icon",!s),e.elements.state.classList.toggle("state-without-name",(l||d||c)&&!r),e.elements.state.classList.toggle("display-state",l||d||c),e.elements.state.classList.toggle("hidden",!(l||d||c)),(0,n.GP)(e,e.elements.state,g),e.previousState=t,e.previousAttribute=o,e.previousConfig={showName:r,showIcon:s,showState:l,showAttribute:c,showLastChanged:d,scrollingEffect:u}}const M="\n .hidden {\n display: none !important;\n }\n\n .state-without-name {\n opacity: 1;\n font-size: 14px;\n }\n\n .name-without-icon {\n margin-left: 16px;\n }\n\n .display-state {\n display: flex;\n }\n";function N(e,t=e.content,o=t.firstChild.firstChild,i=!1){const r=e.config.sub_button;if(!r)return;e.previousValues=e.previousValues||{};const l=[...e.previousValues.subButtons||[]];e.elements=e.elements||{};let c=e.elements.subButtonContainer;if(!c){c=(0,n.az)("div","bubble-sub-button-container");const t=(0,n.az)("style");t.textContent=j,c.appendChild(t),i?o.prepend(c):o.appendChild(c),e.elements.subButtonContainer=c}if(Array.isArray(r)){r.forEach(((t,o)=>{if(!t)return;const i=o+1,r=t.entity??e.config.entity,l=e._hass.states[r],d=t.name??(0,n.IL)(e,"friendly_name",r)??"",u=t.attribute??"",b=(0,n.IL)(e,u,r),p=(0,n.pr)(e,r);if("fan_modes"===u&&null==b)return void(e.elements[i]||(0,n.az)("div","bubble-sub-button bubble-sub-button-"+i)).classList.add("hidden");const h=t.show_name??!1,m=t.show_state??!1,g=t.show_attribute??!1,f=(t.show_last_changed||t.show_last_updated)??!1,_=t.show_icon??!0,y=t.show_background??!0,v=t.state_background??!0,w=t.light_background??!0,x=t.show_arrow??!0,k=r?.startsWith("input_select")||r?.startsWith("select")||t.select_attribute,C=(0,n.q7)(e,t.entity,t.icon??"");let $=e.elements[i];if(!$||k&&!$.dropdownContainer){let o=-1;$&&(o=Array.prototype.indexOf.call(c.children,$)),$&&k&&!$.dropdownContainer&&c.contains($)&&(c.removeChild($),$=null),$=(0,n.az)("div","bubble-sub-button bubble-sub-button-"+i),$.nameContainer=(0,n.az)("div","bubble-sub-button-name-container"),$.feedbackContainer=(0,n.az)("div","bubble-feedback-container"),$.feedback=(0,n.az)("div","bubble-feedback-element feedback-element"),$.appendChild($.feedbackContainer),$.feedbackContainer.appendChild($.feedback),k&&(z(e,$,x),$.dropdownContainer.style.display="none",E(e,$,r,t)),$.appendChild($.nameContainer),o>=0&&oe.hasAttribute("selected")))?.value;if(_&&C){let o=$.icon;if(o||(o=(0,n.az)("ha-icon","bubble-sub-button-icon"),o.classList.add("show-icon"),$.appendChild(o),$.icon=o),S){const n=T(e,l,t.select_attribute,S);n&&!t.icon?(o.tagName!==n.tagName||o.icon!==n.icon||o.attribute!==n.attribute||o.attributeValue!==n.attributeValue)&&($.replaceChild(n,o),$.icon=n,o=n):o.icon!==C&&o.setAttribute("icon",C)}else o.icon!==C&&o.setAttribute("icon",C);o.classList.remove("hidden"),o.classList.add("bubble-sub-button-icon","show-icon")}else $.icon&&($.icon.classList.remove("show-icon"),$.icon.classList.add("hidden"));if(y){const t=(0,n.Vv)("var(--bubble-button-icon-background-color, var(--bubble-icon-background-color, var(--bubble-secondary-background-color, var(--card-background-color, var(--ha-card-background)))))");p&&v?(w&&$.style.setProperty("--bubble-sub-button-light-background-color",(0,n.mk)(e,r,t?1:.8)),$.classList.add("background-on"),$.classList.remove("background-off")):($.classList.add("background-off"),$.classList.remove("background-on"))}else $.classList.remove("background-on","background-off");"none"===t.tap_action?.action&&"none"===t.double_tap_action?.action&&"none"===t.hold_action?.action||$.actionAdded||(a($,k?"":t,r,{tap_action:{action:k?"none":"more-info"},double_tap_action:{action:"none"},hold_action:{action:"none"}}),s($,$.feedback),k&&($.style.pointerEvents="auto",$.style.cursor="pointer"),$.actionAdded=!0);let L="";const O=l&&m?e._hass.formatEntityState(l):"",A=l&&""!==b&&g?e._hass.formatEntityAttributeValue(l,u)??b:"",I=l&&f?(0,n.o0)(l.last_changed,e._hass.locale.language):"";h&&""!==d&&(L+=d),""!==O&&(L+=(L?" · ":"")+O),""!==I&&(L+=(L?" · ":"")+I),""!==A&&(L+=(L?" · ":"")+A),L=L.charAt(0).toUpperCase()+L.slice(1),L||_||k?($.classList.remove("hidden"),$.nameContainer.textContent!==L&&($.nameContainer.textContent=L),_&&$.icon&&($.icon.classList.toggle("icon-with-state",!!L),$.icon.classList.toggle("icon-without-state",!L)),L||_||!k?k&&($.dropdownContainer.classList.remove("no-icon-select-container"),$.dropdownArrow.classList.remove("no-icon-select-arrow")):($.dropdownContainer.classList.add("no-icon-select-container"),$.dropdownArrow.classList.add("no-icon-select-arrow"))):($.classList.add("hidden"),$.dropdownContainer&&($.dropdownContainer.classList.remove("no-icon-select-container"),$.dropdownArrow.classList.remove("no-icon-select-arrow")));const D=t.visibility;if(null!=D){const t=P(D);if(H(t)){const n=V(t,e._hass);$.classList.toggle("hidden",!n)}}})),e.previousValues.subButtons=r.slice();for(let t=l.length;t>0;t--)if(t>r.length){const n=e.elements[t];n&&(c.removeChild(n),delete e.elements[t])}}}const j="\n .bubble-sub-button-container {\n position: relative;\n display: flex;\n justify-content: end;\n right: 8px;\n align-content: center;\n gap: 8px;\n align-items: center;\n }\n .bubble-sub-button {\n display: flex;\n flex-wrap: nowrap;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: center;\n position: relative;\n right: 0;\n box-sizing: border-box;\n width: min-content;\n min-width: 36px;\n height: 36px;\n vertical-align: middle;\n font-size: 12px;\n border-radius: var(--bubble-sub-button-border-radius, var(--bubble-border-radius, 32px));\n padding: 0 8px;\n white-space: nowrap;\n transition: all 0.5s ease-in-out;\n color: var(--primary-text-color);\n }\n .bubble-feedback-container {\n display: flex;\n width: 100%;\n height: 100%;\n position: absolute;\n border-radius: var(--bubble-sub-button-border-radius, var(--bubble-border-radius, 32px));\n overflow: hidden;\n pointer-events: none;\n }\n .bubble-sub-button-name-container {\n display: flex;\n }\n .show-icon {\n display: flex;\n --mdc-icon-size: 16px;\n }\n .background-on {\n background-color: var(--bubble-sub-button-light-background-color, var(--accent-color));\n }\n .background-off {\n background-color: var(--bubble-sub-button-background-color, var(--bubble-icon-background-color, var(--bubble-secondary-background-color, var(--card-background-color, var(--ha-card-background)))));\n }\n .hidden {\n display: none;\n }\n .icon-with-state {\n margin-right: 4px;\n --mdc-icon-size: 16px;\n }\n .icon-without-state {\n margin-right: 0;\n --mdc-icon-size: 20px;\n }\n .no-icon-select-arrow {\n width: 28px !important;\n height: 28px !important;\n right: 2px !important; \n }\n .no-icon-select-container {\n width: 16px !important;\n }\n .bubble-dropdown-arrow {\n background: var(--bubble-select-arrow-background-color) !important;\n }\n";function q(e){Array.isArray(e.subButtonIcon)||(e.subButtonIcon=[]),"pop-up"===e.config.card_type?e.popUp.querySelectorAll(".bubble-sub-button-icon").forEach(((t,n)=>{e.subButtonIcon[n]=t})):e.content.querySelectorAll(".bubble-sub-button-icon").forEach(((t,n)=>{e.subButtonIcon[n]=t}))}function F(e){let t=e.config.button_type;return"custom"===t&&(console.error('Buttons "custom" have been removed. Use either "switch", "slider", "state" or "name"'),t=""),e.config.entity?t||"switch":t||"name"}function X(e,t){const o=e._hass.states[e.config.entity];if((0,n.OC)(e,"light"))e._hass.callService("light","turn_on",{entity_id:e.config.entity,brightness:Math.round(255*t/100)});else if((0,n.OC)(e,"media_player"))e._hass.callService("media_player","volume_set",{entity_id:e.config.entity,volume_level:(t/100).toFixed(2)});else if((0,n.OC)(e,"cover"))e._hass.callService("cover","set_cover_position",{entity_id:e.config.entity,position:Math.round(t)});else if((0,n.OC)(e,"input_number")){const a=o.attributes.min??0,i=o.attributes.max??100,r=(0,n.IL)(e,"step")??1;let s=(i-a)*t/100+a,l=Math.round(s/r)*r;e._hass.callService("input_number","set_value",{entity_id:e.config.entity,value:l})}else if((0,n.OC)(e,"fan")){const n=o.attributes.percentage_step??1;let a=Math.round(t/n)*n;e._hass.callService("fan","set_percentage",{entity_id:e.config.entity,percentage:a})}else if((0,n.OC)(e,"climate")){const n=o.attributes.min_temp??0,a=o.attributes.max_temp??1e4,i="°C"===e._hass.config.unit_system.temperature,r=o.attributes.target_temp_step?o.attributes.target_temp_step:i?.5:1;let s=(a-n)*t/100+n,l=Math.round(s/r)*r;l=parseFloat(l.toFixed(1)),e._hass.callService("climate","set_temperature",{entity_id:e.config.entity,temperature:l})}else if((0,n.OC)(e,"number")){const n=o.attributes.min??0,a=o.attributes.max??100,i=o.attributes.step??1;let r=(a-n)*t/100+n,s=Math.round(r/i)*i;e._hass.callService("number","set_value",{entity_id:e.config.entity,value:s})}}function W(e,t){const n=e.elements.rangeSlider.getBoundingClientRect(),o=100*(t-n.left)/n.width,a=Math.min(100,Math.max(0,o));return e.elements.rangeFill.style.transform=`translateX(${a}%)`,a}const R="\n * {\n -webkit-tap-highlight-color: transparent !important;\n -ms-overflow-style: none; /* for Internet Explorer, Edge */\n scrollbar-width: none; /* for Firefox */\n }\n *::-webkit-scrollbar {\n display: none; /* for Chrome, Safari, and Opera */\n }\n ha-card {\n margin-top: 0;\n background: none;\n opacity: 1;\n }\n .is-unavailable {\n opacity: 0.5;\n }\n\n .bubble-button-card-container {\n position: relative;\n width: 100%;\n height: 50px;\n background-color: var(--bubble-button-main-background-color, var(--bubble-main-background-color, var(--background-color-2, var(--secondary-background-color))));\n border-radius: var(--bubble-button-border-radius, var(--bubble-border-radius, 32px));\n box-shadow: var(--bubble-button-box-shadow, var(--bubble-box-shadow, none));\n overflow: scroll;\n touch-action: pan-y;\n }\n\n .bubble-button-card,\n .bubble-range-slider,\n .bubble-button-background {\n display: flex;\n position: absolute;\n justify-content: space-between;\n align-items: center;\n height: 100%;\n width: 100%;\n transition: background-color 1.5s;\n }\n .bubble-button-background {\n background-color: var(--bubble-button-background-color);\n opacity: .5;\n border-radius: var(--bubble-button-border-radius, var(--bubble-border-radius, 32px));\n }\n .bubble-range-fill {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n left: -100%;\n transition: all .3s;\n z-index: 0;\n }\n .is-dragging .bubble-range-fill {\n transition: none;\n }\n .is-light .bubble-range-fill {\n opacity: 0.5;\n }\n .is-unavailable .bubble-button-card,\n .is-unavailable .bubble-range-slider {\n cursor: not-allowed;\n }\n .bubble-range-slider {\n cursor: ew-resize;\n border-radius: var(--bubble-button-border-radius, var(--bubble-border-radius, 32px));\n overflow: hidden;\n mask-image: radial-gradient(white, black);\n -webkit-mask-image: -webkit-radial-gradient(white, black);\n }\n .bubble-icon-container {\n display: flex;\n flex-wrap: wrap;\n align-content: center;\n justify-content: center;\n min-width: 38px;\n min-height: 38px;\n margin: 6px;\n border-radius: var(--bubble-button-icon-border-radius, var(--bubble-icon-border-radius, var(--bubble-border-radius, 50%)));\n background-color: var(--bubble-button-icon-background-color, var(--bubble-icon-background-color, var(--bubble-secondary-background-color, var(--card-background-color, var(--ha-card-background)))));\n overflow: hidden;\n position: relative;\n cursor: pointer;\n }\n\n .bubble-icon {\n display: flex;\n opacity: 0.6;\n }\n\n .is-on .bubble-icon {\n filter: brightness(1.1);\n opacity: 1;\n }\n\n .bubble-entity-picture {\n background-size: cover;\n background-position: center;\n height: 100%;\n width: 100%;\n position: absolute;\n }\n\n .bubble-name,\n .bubble-state {\n display: flex;\n position: relative;\n white-space: nowrap;\n }\n\n .bubble-name-container {\n display: flex;\n line-height: 18px;\n flex-direction: column;\n justify-content: center;\n flex-grow: 1;\n margin: 0 16px 0 4px;\n pointer-events: none;\n position: relative;\n overflow: hidden;\n }\n\n .bubble-name {\n font-size: 13px;\n font-weight: 600;\n }\n\n .bubble-state {\n font-size: 12px;\n font-weight: normal;\n opacity: 0.7;\n }\n\n .bubble-feedback-element {\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0;\n width: 100%;\n height: 100%;\n background-color: rgb(0,0,0);\n pointer-events: none;\n }\n\n @keyframes tap-feedback {\n 0% {transform: translateX(-100%); opacity: 0;}\n 64% {transform: translateX(0); opacity: 0.1;}\n 100% {transform: translateX(100%); opacity: 0;}\n }\n\n .large .bubble-button-card-container {\n height: 56px;\n border-radius: var(--bubble-button-border-radius, var(--bubble-border-radius, 32px));\n }\n\n .large .bubble-icon-container {\n --mdc-icon-size: 24px;\n min-width: 42px !important;\n min-height: 42px !important;\n margin-left: 8px;\n }\n\n .rows-2 .bubble-sub-button-container {\n flex-direction: column;\n gap: 4px !important;\n display: grid !important;\n grid-template-columns: repeat(2, min-content);\n grid-template-rows: repeat(2, 1fr);\n grid-auto-flow: column;\n width: auto;\n padding-right: 14px;\n }\n\n .rows-2 .bubble-sub-button {\n height: 20px !important;\n }\n";function Y(e,t=e.content,o=t){const i=F(e);e.cardType!==`button-${i}`&&e.buttonType!==i&&(function(e,t=e.content,o=t){const a=F(e);e.dragging=!1,e.elements||(e.elements={}),e.elements.buttonCardContainer=(0,n.az)("div","bubble-button-card-container button-container"),e.elements.buttonCard=(0,n.az)("div","bubble-button-card switch-button"),e.elements.buttonBackground=(0,n.az)("div","bubble-button-background"),e.elements.nameContainer=(0,n.az)("div","bubble-name-container name-container"),e.elements.iconContainer=(0,n.az)("div","bubble-icon-container icon-container"),e.elements.name=(0,n.az)("div","bubble-name name"),e.elements.state=(0,n.az)("div","bubble-state state"),e.elements.feedback=(0,n.az)("div","bubble-feedback-element feedback-element"),e.elements.icon=(0,n.az)("ha-icon","bubble-icon icon"),e.elements.image=(0,n.az)("div","bubble-entity-picture entity-picture"),e.elements.style=(0,n.az)("style"),e.elements.customStyle=(0,n.az)("style"),e.elements.feedback.style.display="none",e.elements.style.innerText=R,e.elements.iconContainer.appendChild(e.elements.icon),e.elements.iconContainer.appendChild(e.elements.image),e.elements.nameContainer.appendChild(e.elements.name),"name"!==a&&e.elements.nameContainer.appendChild(e.elements.state),e.elements.buttonCard.appendChild(e.elements.buttonBackground),e.elements.buttonCard.appendChild(e.elements.iconContainer),e.elements.buttonCard.appendChild(e.elements.nameContainer),e.elements.buttonCard.appendChild(e.elements.feedback),e.elements.buttonCardContainer.appendChild(e.elements.buttonCard),t.innerHTML="",o===t&&t.appendChild(e.elements.buttonCardContainer),t.appendChild(e.elements.style),t.appendChild(e.elements.customStyle),o!==t?(o.innerHTML="",e.elements.buttonCardContainer.appendChild(t),o.appendChild(e.elements.buttonCardContainer),e.buttonType=a):e.cardType=`button-${a}`}(e,t,o),"switch"===i?function(e){a(e.elements.iconContainer,e.config),a(e.elements.buttonBackground,e.config.button_action,e.config.entity,{tap_action:{action:"toggle"},double_tap_action:{action:"toggle"},hold_action:{action:"more-info"}}),s(e.elements.buttonBackground,e.elements.feedback)}(e):"slider"===i?function(e){a(e.elements.iconContainer,e.config);let t=0,o=null;e.elements.rangeFill=(0,n.az)("div","bubble-range-fill range-fill"),e.elements.rangeSlider=(0,n.az)("div","bubble-range-slider range-slider"),e.elements.rangeSlider.appendChild(e.elements.rangeFill),e.elements.buttonCardContainer.appendChild(e.elements.rangeSlider),e.elements.buttonCardContainer.insertBefore(e.elements.rangeSlider,e.elements.buttonCard),e.elements.buttonCard.style.cursor="ew-resize",e.elements.buttonCardContainer.addEventListener("pointercancel",(function(){clearTimeout(o),e.dragging=!1,e.elements.buttonCardContainer.classList.remove("is-dragging"),e.elements.buttonCardContainer.removeEventListener("pointermove",r),window.removeEventListener("pointerup",s)})),e.elements.buttonCardContainer.addEventListener("pointerdown",(n=>{n.target.closest(".bubble-action")||(e.elements.buttonCardContainer.setPointerCapture(n.pointerId),e.card.classList.contains("is-unavailable")||(e.dragging=!0,t=n.pageX||(n.touches?n.touches[0].pageX:0),e.elements.buttonCardContainer.classList.add("is-dragging"),e.elements.buttonCardContainer.addEventListener("pointermove",r),window.addEventListener("pointerup",s)))}));const i=(0,n.P2)(X,200);function r(t){if(t.stopPropagation(),t.target.closest(".bubble-action"))return;const n=t.pageX||(t.touches?t.touches[0].pageX:0),o=W(e,n);e.config.slider_live_update&&i(e,o)}function s(t){t.stopPropagation(),clearTimeout(o),o=setTimeout((()=>{e.dragging=!1}),1400);const a=t.pageX||(t.touches?t.touches[0].pageX:0),i=W(e,a);e.config.slider_live_update||X(e,i),(0,n.jk)("selection"),e.elements.buttonCardContainer.classList.remove("is-dragging"),e.elements.buttonCardContainer.removeEventListener("pointermove",r),window.removeEventListener("pointerup",s)}}(e):"state"===i?function(e){a(e.elements.buttonCardContainer,e.config),a(e.elements.buttonBackground,e.config.button_action,e.config.entity,{tap_action:{action:"more-info"},double_tap_action:{action:"more-info"},hold_action:{action:"more-info"}}),s(e.elements.buttonBackground,e.elements.feedback)}(e):"name"===i&&function(e){const t={tap_action:{action:"none"},double_tap_action:{action:"none"},hold_action:{action:"none"}};a(e.elements.iconContainer,e.config,e.config.entity,t),a(e.elements.buttonBackground,e.config.button_action,e.config.entity,t),s(e.elements.buttonBackground,e.elements.feedback)}(e)),"name"!==i&&(function(e){const t=(0,n.y0)(e),o=e.config.card_type;"unavailable"===t?"button"===o?e.card.classList.add("is-unavailable"):"pop-up"===o&&e.elements.headerContainer.classList.add("is-unavailable"):"button"===o?e.card.classList.remove("is-unavailable"):"pop-up"===o&&e.elements.headerContainer.classList.remove("is-unavailable"),(0,n.pr)(e)?"button"===o?e.card.classList.add("is-on"):"pop-up"===o&&e.elements.headerContainer.classList.add("is-on"):"button"===o?e.card.classList.remove("is-on"):"pop-up"===o&&e.elements.headerContainer.classList.remove("is-on")}(e),function(e){const t=e.config.card_type,o=F(e),a=(0,n.OC)(e,"light"),i=(0,n.pr)(e),r=(0,n.mk)(e),s="button"===t?e.card.style.getPropertyValue("--bubble-button-background-color"):e.popUp.style.getPropertyValue("--bubble-button-background-color"),l=e.elements.buttonBackground.style.opacity;let c="",d="";if("switch"===o&&i){const t=e.config.use_accent_color;r&&a&&!t?(c=(0,n.mk)(e),d=".5"):(c="var(--bubble-button-accent-color, var(--bubble-accent-color, var(--accent-color)))",d="1")}else c="rgba(0, 0, 0, 0)",d=".5";s!==c&&("button"===t?e.card.style.setProperty("--bubble-button-background-color",c):"pop-up"===t&&e.popUp.style.setProperty("--bubble-button-background-color",c)),l!==d&&(e.elements.buttonBackground.style.opacity=d)}(e),function(e){if("slider"===F(e)){if(e.elements.rangeFill.style.backgroundColor=(0,n.mk)(e),e.dragging)return;let t=0;if((0,n.OC)(e,"light"))t=100*(0,n.IL)(e,"brightness")/255;else if((0,n.OC)(e,"media_player"))t=(0,n.pr)(e)?100*(0,n.IL)(e,"volume_level"):0;else if((0,n.OC)(e,"cover"))t=(0,n.IL)(e,"current_position");else if((0,n.OC)(e,"input_number")){const o=(0,n.IL)(e,"min"),a=(0,n.IL)(e,"max");t=100*((0,n.y0)(e)-o)/(a-o)}else if((0,n.OC)(e,"fan"))t=(0,n.pr)(e)?(0,n.IL)(e,"percentage"):0;else if((0,n.OC)(e,"climate")){const o=(0,n.IL)(e,"min_temp"),a=(0,n.IL)(e,"max_temp");t=100*((0,n.IL)(e,"temperature")-o)/(a-o)}else if((0,n.OC)(e,"number")){const o=(0,n.IL)(e,"min"),a=(0,n.IL)(e,"max");t=100*((0,n.y0)(e)-o)/(a-o)}e.elements.rangeFill.style.transform=`translateX(${t}%)`}}(e)),function(e){const t=F(e),o="name"!==t&&(0,n.pr)(e),a="name"!==t?(0,n.q7)(e):e.config.icon,i="name"!==t?(0,n.gJ)(e):"",r="name"!==t&&(0,n.OC)(e,"light"),s=e.elements.iconContainer.style.color,l=e.elements.image.style.backgroundImage,c=e.elements.icon.icon,d=e.elements.icon.style.display,u=e.elements.image.style.display;if(r&&o){const t=`var(--bubble-icon-background-color, ${(0,n.mk)(e)})`;s!==t&&(e.elements.iconContainer.style.color=t)}else""!==s&&(e.elements.iconContainer.style.color="");if(""!==i){const t="url("+i+")";l!==t&&(e.elements.image.style.backgroundImage=t),"none"!==d&&(e.elements.icon.style.display="none"),""!==u&&(e.elements.image.style.display="")}else if(""!==a){c!==a&&(e.elements.icon.icon=a);const i=o&&"state"!==t?(0,n.mk)(e):"inherit";e.elements.icon.style.color!==i&&(e.elements.icon.style.color=i),""!==d&&(e.elements.icon.style.display=""),"none"!==u&&(e.elements.image.style.display="none")}else"none"!==d&&(e.elements.icon.style.display="none"),"none"!==u&&(e.elements.image.style.display="none")}(e),function(e){if(e.config.styles?.includes("card.querySelector('.bubble-name').innerText"))return;const t="name"!==F(e)?(0,n.oY)(e):e.config.name;t!==e.elements.previousName&&((0,n.GP)(e,e.elements.name,t),e.elements.previousName=t)}(e),U(e),N(e,t,e.elements.buttonCard),"pop-up"!==e.cardType&&function(e){if(q(e),(0,n.jx)(e),!e.config.styles)return;const t=(0,n.y0)(e);let o="";try{o=e.config.styles?Function("hass","entity","state","icon","subButtonIcon","getWeatherIcon","card","name",`return \`${e.config.styles}\`;`)(e._hass,e.config.entity,t,e.elements.icon,e.subButtonIcon,n.X,e.card,e.card.name):""}catch(e){throw new Error(`Error in generating button custom templates: ${e.message}`)}e.elements.customStyle&&(e.elements.customStyle.innerText=o)}(e)}async function J(e){if("pop-up"!==e.cardType){if(e.getRootNode()instanceof ShadowRoot==0)return;!function(e){try{e.cardType="pop-up",e.verticalStack=e.getRootNode(),e.sectionRow=e.verticalStack.host.parentElement,e.sectionRowContainer=e.sectionRow?.parentElement,e.popUp=e.verticalStack.querySelector("#root"),e.popUp.classList.add("bubble-pop-up","pop-up","is-popup-closed"),e.cardTitle=e.verticalStack.querySelector(".card-header"),e.editor||e.config.background_update||e.verticalStack.removeChild(e.popUp),e.elements={},L(e),e.cardTitle&&(e.cardTitle.style.display="none"),k=k||(e.config.hide_backdrop??!0),e.popUp.style.setProperty("--custom-height-offset-desktop",e.config.margin_top_desktop??"0px"),e.popUp.style.setProperty("--custom-height-offset-mobile",e.config.margin_top_mobile??"0px"),e.popUp.style.setProperty("--custom-margin",`-${e.config.margin??"7px"}`),e.popUp.style.setProperty("--custom-popup-filter",e.config.backdrop_blur&&"0"!==e.config.backdrop_blur?"none":`blur(${e.config.bg_blur??10}px)`),e.popUp.style.setProperty("--custom-shadow-opacity",(e.config.shadow_opacity??0)/100);const t=function(e){return()=>{e.config.hash===location.hash?(l=!0,setTimeout((()=>{l=!1}),100),function(e){e.popUp.classList.contains("is-popup-opened")||(f(e),p(e,!0),requestAnimationFrame((()=>{b(e,!0),h(e.popUp,!0),function(e){const{sectionRow:t,sectionRowContainer:n,popUp:o}=e;o.style.transform="","hui-card"===t?.tagName.toLowerCase()&&(t.hidden=!1,t.style.display="",n?.classList.contains("card")&&(n.style.display=""))}(e)})),m(e,!0),e.config.auto_close>0&&(e.closeTimeout=setTimeout(c,e.config.auto_close)),g("hidden"),e.config.open_action&&o(e.popUp,e.config,"open_action"))}(e)):function(e){e.popUp.classList.contains("is-popup-opened")&&(f(e),h(e.popUp,!1),b(e,!1),e.removeDomTimeout=setTimeout((()=>{p(e,!1),u(e,0)}),300),m(e,!1),g(""),e.config.close_action&&o(e,e.config,"close_action"))}(e)}}(e);window.addEventListener("location-changed",t),window.addEventListener("popstate",t)}catch(e){console.error(e)}}(e),function(e){e.elements={closeIcon:(0,n.az)("ha-icon","bubble-close-icon"),closeButton:(0,n.az)("button","bubble-close-button close-pop-up"),buttonContainer:(0,n.az)("div","bubble-button-container"),header:(0,n.az)("div","bubble-header")},e.elements.closeIcon.icon="mdi:close",e.elements.closeButton.appendChild(e.elements.closeIcon),e.elements.closeButton.addEventListener("click",(()=>{c(),(0,n.jk)("selection")}));const t=e.popUp.querySelector(".bubble-header-container");t?Object.assign(e.elements,{headerContainer:t,closeIcon:t.querySelector(".bubble-close-icon"),closeButton:t.querySelector(".bubble-close-button"),buttonContainer:t.querySelector(".bubble-button-container"),header:t.querySelector(".bubble-header")}):(e.elements.headerContainer=(0,n.az)("div","bubble-header-container"),e.elements.headerContainer.setAttribute("id","header-container"),e.elements.headerContainer.appendChild(e.elements.header),e.elements.headerContainer.appendChild(e.elements.closeButton),e.elements.header.appendChild(e.elements.buttonContainer)),e.popUp.addEventListener("touchstart",(e=>{v=e.touches[0].clientY}),{passive:!0}),e.elements.header.addEventListener("touchmove",(t=>{const n=t.touches[0].clientY-v;n>0&&(e.popUp.style.transform=`translateY(${n}px)`)}),{passive:!0}),e.elements.header.addEventListener("touchend",(t=>{const n=t.changedTouches[0].clientY-v;n>50?(e.popUp.style.transform=`translateY(calc(${n}px + (100% - ${n}px)))`,c()):e.popUp.style.transform=""}),{passive:!0})}(e),function(e){try{e.elements.style=(0,n.az)("style"),e.elements.style.innerText="\n .bubble-pop-up-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n margin-top: -50px;\n max-width: 100%;\n padding-top: 40px;\n padding-bottom: 80px;\n grid-gap: var(--bubble-pop-up-gap, 14px);\n gap: var(--bubble-pop-up-gap, 14px);\n column-gap: var(--bubble-pop-up-gap, 14px);\n --grid-gap: var(--bubble-pop-up-gap, 14px);\n --vertical-stack-card-gap: var(--bubble-pop-up-gap, 14px);\n --horizontal-stack-card-gap: var(--bubble-pop-up-gap, 14px);\n --stack-card-gap: var(--bubble-pop-up-gap, 14px);\n -ms-overflow-style: none; /* for Internet Explorer, Edge */\n scrollbar-width: none; /* for Firefox */\n overflow-y: auto; \n overflow-x: hidden; \n grid-auto-rows: min-content;\n mask-image: linear-gradient(to bottom, transparent 0px, black 24px, black calc(100% - 40px), transparent 100%);\n -webkit-mask-image: linear-gradient(to bottom, transparent 0px, black 24px, black calc(100% - 40px), transparent 100%);\n padding: 18px 18px calc(140px + var(--custom-height-offset-mobile)) 18px;\n }\n .bubble-pop-up-container > * {\n flex-shrink: 0 !important;\n }\n .bubble-pop-up.card-content {\n width: 100% !important;\n padding: 0 !important;\n }\n .bubble-pop-up {\n transition: transform 0.3s ease;\n position: fixed;\n width: 100%;\n max-width: 100%;\n border-radius: var(--bubble-pop-up-border-radius, var(--bubble-border-radius, 42px)) var(--bubble-pop-up-border-radius, var(--bubble-border-radius, 42px)) 0 0;\n box-sizing: border-box;\n margin-left: var(--custom-margin);\n left: 7px;\n z-index: 5 !important;\n bottom: calc(-56px - var(--custom-height-offset-mobile));\n }\n .bubble-pop-up-background {\n width: 100%;\n height: 100%;\n display: flex;\n top: 0;\n left: 0;\n position: absolute;\n background-color: var(--bubble-pop-up-main-background-color, var(--bubble-pop-up-background-color, var(--bubble-secondary-background-color, var(--background-color, var(--secondary-background-color)))));\n border-radius: var(--bubble-pop-up-border-radius, var(--bubble-border-radius, 42px)) var(--bubble-pop-up-border-radius, var(--bubble-border-radius, 42px)) 0 0;\n backdrop-filter: var(--custom-popup-filter);\n -webkit-backdrop-filter: var(--custom-popup-filter);\n }\n .bubble-pop-up-container::-webkit-scrollbar {\n display: none; /* for Chrome, Safari, and Opera */\n }\n .is-popup-opened {\n box-shadow: 0px 0px 50px rgba(0, 0, 0, var(--custom-shadow-opacity));\n }\n .is-popup-closed { \n transform: translateY(100%);\n box-shadow: none !important;\n }\n\n @media only screen and (min-width: 600px) {\n .bubble-pop-up {\n margin-left: 0 !important;\n min-width: var(--desktop-width, 540px);\n max-width: var(--desktop-width, 540px);\n left: calc(50% - (var(--desktop-width, 540px) / 2));\n }\n .bubble-pop-up-container {\n padding: 18px 18px calc(140px + var(--custom-height-offset-desktop)) 18px;\n }\n }\n @media only screen and (min-width: 768px) {\n .bubble-pop-up {\n bottom: calc(-56px - var(--custom-height-offset-desktop));\n left: calc(var(--mdc-drawer-width, 0px) / 2 + 50% - (var(--desktop-width, 540px) / 2));\n }\n }\n .bubble-pop-up.editor {\n transition: none !important;\n position: relative !important;\n top: 0;\n left: 0;\n width: 100% !important;\n backdrop-filter: none !important;\n display: flex !important;\n transform: none !important;\n height: auto !important;\n min-width: auto;\n z-index: 0 !important;\n }\n .bubble-header-container {\n display: inline-flex;\n height: 50px;\n margin: 0;\n padding: 0;\n z-index: 3;\n padding: 18px 18px 22px;\n position: sticky;\n top: 0;\n background: none !important;\n overflow: visible;\n }\n .bubble-header {\n display: inline-flex;\n flex-grow: 1;\n margin-right: 14px;\n color: var(--primary-text-color);\n }\n .bubble-name {\n font-size: 14px;\n font-weight: heavy;\n }\n .bubble-close-button {\n height: 50px;\n width: 50px;\n border: none;\n border-radius: var(--bubble-pop-up-border-radius, var(--bubble-border-radius, 42px));\n z-index: 1;\n background: var(--bubble-pop-up-main-background-color, var(--bubble-secondary-background-color, var(--background-color, var(--secondary-background-color))));\n color: var(--primary-text-color);\n flex-shrink: 0;\n cursor: pointer;\n }\n .bubble-button-card-container {\n background: var(--bubble-pop-up-main-background-color, var(--bubble-secondary-background-color, var(--background-color, var(--secondary-background-color))));\n }\n .bubble-pop-up-container.editor-cropped {\n height: 122px !important;\n mask-image: linear-gradient(to bottom, transparent 0px, black 40px, black calc(100% - 40px), transparent 100%) !important;\n -webkit-mask-image: linear-gradient(to bottom, transparent 0px, black 40px, black calc(100% - 40px), transparent 100%) !important; \n }\n .bubble-pop-up.editor > .bubble-pop-up-container {\n padding-bottom: 18px !important;\n mask-image: none;\n -webkit-mask-image: none; \n overflow: hidden; \n }\n .editor .bubble-pop-up-background {\n width: 100%;\n height: 100%;\n left: 0px;\n top: 0px;\n z-index: -1;\n display: flex;\n position: absolute;\n background-color: var(--bubble-pop-up-main-background-color, var(--bubble-pop-up-background-color, var(--bubble-secondary-background-color, var(--background-color, var(--secondary-background-color)))));\n border-radius: var(--bubble-pop-up-border-radius, var(--bubble-border-radius, 42px)) var(--bubble-pop-up-border-radius, var(--bubble-border-radius, 42px)) !important;\n backdrop-filter: none;\n -webkit-backdrop-filter: none;\n }\n\n .no-header .bubble-header-container {\n visibility: hidden !important;\n height: 0px !important;\n }\n .no-header .bubble-pop-up-container {\n padding-top: 4px !important;\n mask-image: linear-gradient(to bottom, transparent 0px, black 24px, black calc(100% - 24px), transparent 100%) !important;\n -webkit-mask-image: linear-gradient(to bottom, transparent 0px, black 24px, black calc(100% - 24px), transparent 100%) !important;\n }\n\n .large .bubble-button-card-container {\n height: 56px;\n border-radius: var(--bubble-button-border-radius, var(--bubble-border-radius, 36px));\n }\n .large .bubble-pop-up-container {\n margin-top: -36px;\n }\n .large .bubble-icon-container {\n --mdc-icon-size: 24px;\n min-width: 42px !important;\n min-height: 42px !important;\n margin-left: 8px;\n }\n .large .bubble-close-button {\n height: 56px;\n width: 56px;\n border: none;\n border-radius: var(--bubble-pop-up-border-radius, var(--bubble-border-radius, 42px));\n z-index: 1;\n --mdc-icon-size: 28px !important;\n }\n\n .rows-2 .bubble-sub-button-container {\n flex-direction: column;\n gap: 4px !important;\n display: grid !important;\n grid-template-columns: repeat(2, min-content);\n grid-template-rows: repeat(2, 1fr);\n grid-auto-flow: column;\n width: auto;\n padding-right: 14px;\n }\n .rows-2 .bubble-sub-button {\n height: 20px !important;\n }\n";let o,a=e.popUp.querySelector("style");e.stylesAdded&&a?e.elements.customStyle=a:(e.elements.customStyle=(0,n.az)("style"),e.popUp.appendChild(e.elements.customStyle),e.popUp.appendChild(e.elements.style),e.stylesAdded=!0);const i=e.config.bg_opacity??88;function r(){o=getComputedStyle(document.body).getPropertyValue("--ha-card-background")||getComputedStyle(document.body).getPropertyValue("--card-background-color");const n=e.config.bg_color?e.config.bg_color:o,a=(0,t._k)(n,i/100,1.02);e.popUp.style.setProperty("--bubble-pop-up-background-color",a)}C.addEventListener("change",(()=>{r()}),{passive:!0}),r(),e.popUp.style.setProperty("--desktop-width",e.config.width_desktop??"540px"),e.config.close_on_click&&e.popUp.addEventListener("click",c,{passive:!0}),window.addEventListener("keydown",(t=>{"Escape"===t.key&&e.config.hash===location.hash&&c()}),{passive:!0});let s=e.config.slide_to_close_distance??400;e.popUp.addEventListener("touchmove",(e=>{e.touches[0].clientY-v>s&&e.touches[0].clientY>w&&c(),w=e.touches[0].clientY}),{passive:!0});const l=e.popUp.querySelector(".bubble-pop-up-container");if(null===l){e.elements.popUpContainer=(0,n.az)("div"),e.elements.popUpContainer.classList.add("bubble-pop-up-container");let d=e.popUp.firstChild;for(;d;)e.elements.popUpContainer.appendChild(d),d=e.popUp.firstChild}else e.elements.popUpContainer=l;e.popUpBackground=(0,n.az)("div","bubble-pop-up-background"),e.popUp.appendChild(e.popUpBackground),e.popUp.appendChild(e.elements.headerContainer),e.popUp.appendChild(e.elements.popUpContainer),e.config.hash!==location.hash&&u(e,0),window.dispatchEvent(new Event("location-changed"))}catch(b){console.error(b)}}(e)}else e.popUp&&e.elements&&(e.config.hash!==location.hash&&e.config===e.previousConfig||((e.config.entity||e.config.name)&&Y(e,e.elements.buttonContainer,e.elements.header),requestAnimationFrame((()=>{!function(e){q(e);const t=e.config.card_layout,o="large"===t||"large-2-rows"===t,a="large-2-rows"===t;o!==e.popUp.classList.contains("large")&&e.popUp.classList.toggle("large",o),a!==e.popUp.classList.contains("rows-2")&&e.popUp.classList.toggle("rows-2",a);const i=e.config.show_header??!0;if(e.popUp.classList.contains("no-header")===i&&e.popUp.classList.toggle("no-header",!i),!e.config.styles)return;const r=(0,n.y0)(e),{backdropCustomStyle:s}=L(e);let l="";try{l=e.config.styles?Function("hass","entity","state","icon","subButtonIcon","getWeatherIcon","card",`return \`${e.config.styles}\`;`)(e._hass,e.config.entity,r,e.elements.icon,e.subButtonIcon,n.X,e.popUp):""}catch(e){throw new Error(`Error in generating pop-up custom templates: ${e.message}`)}e.elements.customStyle&&(e.elements.customStyle.innerText=l),s.innerText=l}(e)})),e.previousConfig=e.config),e.editor||function(e){const t=e.config.trigger;if(t){const n=!e.hasPageLoaded;e.hasPageLoaded=!0;const o=P(t);if(H(o)){const t=V(o,e._hass);if(t===e.previousTrigger)return;e.config.hash===location.hash?t||n||c():t&&d(e.config.hash),e.previousTrigger=t}}else{let t=e.config.trigger_entity??"";if(""===t)return;let n=e.config.trigger_state??"",o=e.config.trigger_close??!1,a=e._hass.states[t]?.state;if(!t)return;if(!n)return;if(e.oldTriggerEntityState===a)return;const i=!e.hasPageLoaded;e.hasPageLoaded=!0,e.config.hash===location.hash?o&&n!==a&&(i||c()):a===n&&d(e.config.hash),e.oldTriggerEntityState=a}}(e),function(e){if(!e.verticalStack)return;const{host:t}=e.verticalStack,{popUp:n,sectionRow:o,sectionRowContainer:a,elements:i}=e,r=e._cachedDetectedEditor??=t?.closest("hui-card-preview")||t?.closest("hui-card[preview][class]")||t?.getRootNode().host?.closest("hui-section[preview][class]"),s=n?.classList.contains("is-popup-opened"),l="hui-card"===o?.tagName.toLowerCase();if(e.previousEditorState??=null,e.previousDetectedEditor??=null,!s&&l){const{editor:t,editorAccess:n}=e;t||!n||r||o?.hasAttribute("hidden")?a?.classList.contains("card")&&t&&"none"===a.style.display&&(a.style.display=""):(o.setAttribute("hidden",""),o.style.display="none")}const c=n?.classList;if(e.editor||r){c?.contains("editor")||(document.body.style.overflow="",c?.remove("is-popup-opened"),c?.add("is-popup-closed","editor")),e.editorAccess=!0;const t=null===r;i?.popUpContainer?.classList.contains("editor-cropped")!==t&&i.popUpContainer.classList.toggle("editor-cropped",t)}else c?.contains("editor")&&c.remove("editor"),i?.popUpContainer?.classList.remove("editor-cropped");e.editor===e.previousEditorState&&r===e.previousDetectedEditor||(function(e){const{hideBackdrop:t}=L(e),n=e.verticalStack.host,o=n?.closest("hui-card-preview");(e.editor||o)&&(t(),clearTimeout(e.removeDomTimeout),o||e.verticalStack.contains(e.popUp)||e.verticalStack.appendChild(e.popUp))}(e),e.previousEditorState=e.editor,e.previousDetectedEditor=r)}(e))}let G=!1;function K(e,t){const o=e.config[`${t}_name`]??"",a=e.config[`${t}_icon`]??"",i=e.config[`${t}_pir_sensor`],r=e.config[`${t}_link`],s=e.config[`${t}_entity`];G=G||location.hash===r;const l=(0,n.az)("ha-icon","bubble-icon icon");l.icon=a;const u=(0,n.az)("div","bubble-name name");u.innerText=o;const b=(0,n.az)("div","bubble-background-color background-color"),p=(0,n.az)("div","bubble-background background"),h=(0,n.az)("div",`bubble-button bubble-button-${t} button ${r.substring(1)}`);let m=localStorage.getItem(`bubbleButtonWidth-${r}`);return h.style.width=`${m}px`,h.appendChild(l),h.appendChild(u),h.appendChild(b),h.appendChild(p),h.addEventListener("click",(()=>{location.hash!==r&&(G=!1),G?c():d(r),G=!G,(0,n.jk)("light")})),h.icon=l,h.name=u,h.backgroundColor=b,h.background=p,h.pirSensor=i,h.lightEntity=s,h.link=r,h.index=t,window.addEventListener("location-changed",(function(){e.config.highlight_current_view&&(location.pathname===r||location.hash===r?h.classList.add("highlight"):h.classList.remove("highlight"))})),e.elements.buttons.push(h),h}const Z=1,Q=2,ee=8;function te(e,t){return function(e,t){return!(!e||void 0===e.supported_features)&&0!=(e.supported_features&t)}(e.attributes,t)}function ne(e,t){(0,n.OC)(e,"media_player")&&e._hass.callService("media_player","volume_set",{entity_id:e.config.entity,volume_level:(t/100).toFixed(2)})}function oe(e,t,n=!1){const o=e.elements.rangeSlider.getBoundingClientRect(),a=100*(t-o.left)/o.width,i=Math.round(Math.min(100,Math.max(0,a)));if(e.elements.rangeFill.style.transform=`translateX(${i}%)`,n){if(e.dragging)return;ne(e,i)}else ne(e,i)}(0,n.P2)(ne);const ae="\n * {\n -webkit-tap-highlight-color: transparent !important;\n }\n\n ha-card {\n margin-top: 0;\n background: none;\n opacity: 1;\n overflow: visible !important;\n }\n .is-unavailable {\n opacity: 0.5;\n }\n\n .bubble-media-player-container {\n position: relative;\n width: 100%;\n height: 50px;\n background-color: var(--bubble-media-player-main-background-color, var(--bubble-main-background-color, var(--background-color-2, var(--secondary-background-color))));\n touch-action: pan-y;\n border-radius: var(--bubble-media-player-border-radius, var(--bubble-border-radius, 32px));\n box-shadow: var(--bubble-media-player-box-shadow, var(--bubble-box-shadow, none));\n }\n\n .bubble-media-player {\n display: flex;\n position: absolute;\n justify-content: space-between;\n align-items: center;\n height: 100%;\n width: 100%;\n transition: background-color 1.5s;\n border-radius: var(--bubble-media-player-border-radius, var(--bubble-border-radius, 32px));\n background-color: rgba(0,0,0,0);\n }\n\n .bubble-button-container {\n display: inline-grid;\n grid-auto-flow: column;\n gap: 10px;\n align-self: center;\n margin-right: 8px;\n }\n\n .bubble-play-pause-button,\n .bubble-previous-button,\n .bubble-next-button,\n .bubble-volume-button,\n .bubble-power-button {\n background: none;\n border: none;\n cursor: pointer;\n border-radius: var(--bubble-media-player-buttons-border-radius, var(--bubble-border-radius, 32px));\n padding: 6px;\n height: 24px;\n width: 24px;\n transition: background 0.3s ease;\n align-self: center;\n }\n\n .bubble-play-pause-button {\n background-color: var(--bubble-accent-color, var(--accent-color));\n }\n\n .bubble-volume-slider {\n position: absolute;\n width: calc(100% - 150px);\n height: 38px;\n left: 50px;\n overflow: hidden;\n border-radius: var(--bubble-media-player-border-radius, var(--bubble-border-radius, 32px));\n z-index: 1;\n background-color: var(--bubble-media-player-slider-background-color, var(--bubble-icon-background-color, var(--bubble-secondary-background-color, var(--card-background-color, var(--ha-card-background)))));\n opacity: 1;\n transition: opacity .2s, transform .2s;\n transform: translateX(0);\n }\n\n .bubble-range-value {\n display: flex;\n justify-content: flex-end;\n height: 38px;\n align-items: center;\n padding-right: 14px;\n font-size: 12px;\n opacity: 0.8;\n }\n\n .bubble-mute-button {\n opacity: 1;\n transition: opacity .2s, transform .2s;\n transform: translateX(0);\n }\n\n .is-hidden {\n opacity: 0 !important;\n pointer-events: none;\n transform: translateX(14px);\n }\n\n .bubble-range-fill {\n z-index: -1;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n left: -100%;\n transition: all .3s;\n background-color: var(--accent-color);\n }\n\n .is-dragging .bubble-range-fill {\n transition: none;\n }\n\n .is-light .bubble-range-fill {\n opacity: 0.5;\n }\n\n .is-unavailable .bubble-button-card {\n cursor: not-allowed;\n }\n\n .bubble-range-slider {\n cursor: ew-resize;\n }\n .is-unavailable .bubble-range-slider {\n cursor: not-allowed;\n }\n\n .bubble-icon-container {\n display: flex;\n flex-wrap: wrap;\n width: 38px;\n height: 38px;\n min-width: 38px;\n min-height: 38px;\n align-items: center;\n justify-content: center;\n margin: 6px;\n border-radius: var(--bubble-media-player-icon-border-radius, var(--bubble-icon-border-radius, var(--bubble-border-radius, 50%)));\n background-color: var(--bubble-media-player-icon-background-color, var(--bubble-icon-background-color, var(--bubble-secondary-background-color, var(--card-background-color, var(--ha-card-background)))));;\n overflow: hidden;\n position: relative;\n cursor: pointer;\n pointer-events: auto;\n }\n\n .bubble-icon {\n opacity: 0.6;\n }\n\n .is-on .bubble-icon {\n filter: brightness(1.1);\n opacity: 1;\n }\n\n .bubble-icon,\n .bubble-mute-button {\n display: flex;\n position: absolute;\n height: 38px;\n width: 38px;\n justify-content: center;\n align-items: center;\n }\n\n .bubble-entity-picture {\n background-size: cover;\n background-position: center;\n height: 100%;\n width: 100%;\n position: absolute;\n }\n\n .bubble-media-info-container {\n display: flex;\n line-height: 14px;\n font-size: 12px;\n flex-direction: column;\n justify-content: center;\n flex-grow: 1;\n margin-left: 4px;\n pointer-events: none;\n position: relative;\n overflow: hidden;\n }\n\n .bubble-title,\n .bubble-name,\n .bubble-state,\n .bubble-artist {\n display: flex;\n margin: 2px 0;\n position: relative;\n white-space: nowrap;\n }\n\n .bubble-title {\n font-weight: 600;\n }\n\n .bubble-name-container {\n display: flex;\n line-height: 1em;\n flex-direction: column;\n justify-content: center;\n flex-grow: 1;\n font-weight: 600;\n margin-left: 4px;\n pointer-events: none;\n position: relative;\n overflow: hidden;\n }\n\n .bubble-name {\n font-size: 13px;\n margin: 2px 0;\n }\n\n .bubble-state {\n font-size: 12px;\n opacity: 0.7;\n margin: 2px 0;\n font-weight: normal;\n }\n\n .bubble-sub-button-container {\n right: 0 !important;\n }\n\n .bubble-background-container {\n display: flex;\n position: absolute;\n height: 100%;\n width: 100%;\n border-radius: inherit;\n overflow: hidden;\n }\n\n .bubble-cover-background {\n display: flex;\n position: absolute;\n height: 100%;\n width: 100%;\n background-size: cover;\n background-position: 50%;\n filter: blur(50px);\n opacity: 0.5;\n }\n\n @media screen and (max-width: 250px) {\n .bubble-previous-button {\n display: none;\n }\n }\n\n @media screen and (max-width: 206px) {\n .bubble-next-button {\n display: none;\n }\n }\n\n @media screen and (max-width: 160px) {\n .bubble-volume-button {\n display: none;\n }\n }\n\n @keyframes tap-feedback {\n 0% {transform: translateX(-100%); opacity: 0;}\n 64% {transform: translateX(0); opacity: 0.1;}\n 100% {transform: translateX(100%); opacity: 0;}\n }\n\n .large .bubble-media-player-container {\n height: 56px;\n border-radius: var(--bubble-media-player-border-radius, var(--bubble-border-radius, 32px));\n }\n\n .large .bubble-icon-container {\n --mdc-icon-size: 24px;\n min-width: 42px !important;\n min-height: 42px !important;\n margin-left: 8px;\n }\n \n .large .bubble-play-pause-button {\n display: flex;\n height: 42px;\n width: 42px;\n padding: 0;\n align-items: center;\n justify-content: center;\n }\n\n .large .bubble-volume-slider {\n height: 42px;\n border-radius: var(--bubble-media-player-border-radius, var(--bubble-border-radius, 32px));\n left: 60px;\n width: calc(100% - 168px);\n }\n\n .large .bubble-range-value {\n place-items: center;\n height: 42px;\n }\n\n .large .bubble-button-container {\n align-items: center;\n }\n\n .rows-2 .bubble-sub-button-container {\n flex-direction: column;\n gap: 4px !important;\n display: grid !important;\n grid-template-columns: repeat(2, 1fr);\n grid-template-rows: repeat(2, minmax(auto, max-content));\n grid-auto-flow: column;\n width: auto;\n }\n\n .rows-2 .bubble-sub-button {\n height: 20px !important;\n }\n";let ie;function re(e){"media-player"!==e.cardType&&function(e){e.dragging=!1,e.elements={},e.elements.mediaPlayerContainer=(0,n.az)("div","bubble-media-player-container"),e.elements.mediaPlayerCard=(0,n.az)("div","bubble-media-player"),e.elements.mediaInfoContainer=(0,n.az)("div","bubble-media-info-container"),e.elements.nameContainer=(0,n.az)("div","bubble-name-container"),e.elements.buttonContainer=(0,n.az)("div","bubble-button-container"),e.elements.iconContainer=(0,n.az)("div","bubble-icon-container"),e.elements.backgroundContainer=(0,n.az)("div","bubble-background-container"),e.elements.coverBackground=(0,n.az)("div","bubble-cover-background"),e.elements.playPauseButton=(0,n.az)("ha-icon","bubble-play-pause-button"),e.elements.previousButton=(0,n.az)("ha-icon","bubble-previous-button"),e.elements.previousButton.setAttribute("icon","mdi:skip-previous"),e.elements.nextButton=(0,n.az)("ha-icon","bubble-next-button"),e.elements.nextButton.setAttribute("icon","mdi:skip-next"),e.elements.volumeButton=(0,n.az)("ha-icon","bubble-volume-button"),e.elements.volumeButton.setAttribute("icon","mdi:volume-high"),e.elements.powerButton=(0,n.az)("ha-icon","bubble-power-button"),e.elements.powerButton.setAttribute("icon","mdi:power-standby"),e.elements.muteButton=(0,n.az)("ha-icon","bubble-mute-button is-hidden"),e.elements.muteButton.setAttribute("icon","mdi:volume-off"),e.elements.title=(0,n.az)("div","bubble-title"),e.elements.artist=(0,n.az)("div","bubble-artist"),e.elements.name=(0,n.az)("div","bubble-name"),e.elements.state=(0,n.az)("div","bubble-state"),e.elements.icon=(0,n.az)("ha-icon","bubble-icon"),e.elements.image=(0,n.az)("div","bubble-entity-picture"),e.elements.style=(0,n.az)("style"),e.elements.customStyle=(0,n.az)("style"),e.elements.style.innerText=ae,e.elements.iconContainer.appendChild(e.elements.icon),e.elements.iconContainer.appendChild(e.elements.image),e.elements.iconContainer.appendChild(e.elements.muteButton),e.elements.nameContainer.appendChild(e.elements.name),e.elements.nameContainer.appendChild(e.elements.state),e.elements.mediaInfoContainer.appendChild(e.elements.title),e.elements.mediaInfoContainer.appendChild(e.elements.artist),e.elements.buttonContainer.appendChild(e.elements.powerButton),e.elements.buttonContainer.appendChild(e.elements.previousButton),e.elements.buttonContainer.appendChild(e.elements.nextButton),e.elements.buttonContainer.appendChild(e.elements.volumeButton),e.elements.buttonContainer.appendChild(e.elements.playPauseButton),e.elements.mediaPlayerCard.appendChild(e.elements.iconContainer),e.elements.mediaPlayerCard.appendChild(e.elements.mediaInfoContainer),e.elements.mediaPlayerCard.appendChild(e.elements.nameContainer),e.elements.mediaPlayerCard.appendChild(e.elements.buttonContainer),e.elements.backgroundContainer.appendChild(e.elements.coverBackground),e.elements.mediaPlayerContainer.appendChild(e.elements.backgroundContainer),e.content.innerHTML="",e.content.appendChild(e.elements.mediaPlayerContainer),e.content.appendChild(e.elements.style),e.content.appendChild(e.elements.customStyle),e.elements.mediaPlayerContainer.appendChild(e.elements.mediaPlayerCard),a(e.elements.icon,e.config,e.config.entity),a(e.elements.image,e.config,e.config.entity),e.elements.volumeSliderContainer=(0,n.az)("div","bubble-volume-slider is-hidden"),function(e,t){let o=0;function a(t){t.stopPropagation();const n=t.pageX||(t.touches?t.touches[0].pageX:0);Math.abs(o-n)>10&&oe(e,n,!0);const a=e.elements.rangeSlider.getBoundingClientRect(),i=100*(n-a.left)/a.width,r=Math.min(100,Math.max(0,i));e.elements.rangeValue.innerText=Math.round(r)+"%"}function i(n){n.stopPropagation(),e.dragging=!1;const o=n.pageX||(n.touches?n.touches[0].pageX:0);oe(e,o),t.classList.remove("is-dragging"),t.removeEventListener("pointermove",a),t.removeEventListener("pointerup",i);const r=e.elements.rangeSlider.getBoundingClientRect(),s=100*(o-r.left)/r.width,l=Math.min(100,Math.max(0,s));e.elements.rangeValue.innerText=Math.round(l)+"%"}ie=Math.round(100*(0,n.IL)(e,"volume_level"))+"%",e.elements.rangeFill=(0,n.az)("div","bubble-range-fill range-fill"),e.elements.rangeSlider=(0,n.az)("div","bubble-range-slider range-slider"),e.elements.rangeValue=(0,n.az)("div","bubble-range-value"),e.elements.rangeSlider.appendChild(e.elements.rangeValue),e.elements.rangeSlider.appendChild(e.elements.rangeFill),t.appendChild(e.elements.rangeSlider),t.addEventListener("pointercancel",(function(){e.dragging=!1,t.classList.remove("is-dragging"),t.removeEventListener("pointermove",a),t.removeEventListener("pointerup",i)})),t.addEventListener("pointerdown",(n=>{t.setPointerCapture(n.pointerId),e.card.classList.contains("is-unavailable")||(e.dragging=!0,o=n.pageX||(n.touches?n.touches[0].pageX:0),t.classList.add("is-dragging"),t.addEventListener("pointermove",a),t.addEventListener("pointerup",i))})),e.elements.rangeValue.innerText=ie}(e,e.elements.volumeSliderContainer),e.elements.mediaPlayerCard.appendChild(e.elements.volumeSliderContainer),e.elements.volumeButton.addEventListener("click",(()=>{e.elements.volumeSliderContainer.classList.toggle("is-hidden"),e.elements.muteButton.classList.toggle("is-hidden"),e.elements.icon.classList.toggle("is-hidden"),e.elements.image.classList.toggle("is-hidden"),function(e){const t=e.elements.volumeButton.isHidden,n=t?"1":"0",o=t?"mdi:volume-high":"mdi:close";e.elements.volumeButton.setAttribute("icon",o),e.elements.mediaInfoContainer.style.opacity=n,e.elements.nameContainer.style.opacity=n,e.elements.subButtonContainer&&(e.elements.subButtonContainer.style.opacity=n),e.elements.previousButton.style.opacity=n,e.elements.nextButton.style.opacity=n,e.elements.powerButton.style.opacity=n,e.elements.volumeButton.isHidden=!t}(e),ie=Math.round(100*(0,n.IL)(e,"volume_level"))+"%"})),e.elements.powerButton.addEventListener("click",(()=>{const t=(0,n.pr)(e);e._hass.callService("media_player",t?"turn_off":"turn_on",{entity_id:e.config.entity})})),e.elements.muteButton.addEventListener("click",(()=>{const t=!0===(0,n.IL)(e,"is_volume_muted");e._hass.callService("media_player","volume_mute",{entity_id:e.config.entity,is_volume_muted:!t}),e.elements.muteButton.clicked=!0})),e.elements.previousButton.addEventListener("click",(()=>{e._hass.callService("media_player","media_previous_track",{entity_id:e.config.entity})})),e.elements.nextButton.addEventListener("click",(()=>{e._hass.callService("media_player","media_next_track",{entity_id:e.config.entity})})),e.elements.playPauseButton.addEventListener("click",(()=>{e._hass.callService("media_player","media_play_pause",{entity_id:e.config.entity}),e.elements.playPauseButton.clicked=!0})),e.elements.mediaPlayerContainer.addEventListener("click",(()=>(0,n.jk)("selection"))),e.cardType="media-player"}(e),function(e){"unavailable"===(0,n.y0)(e)?e.card.classList.add("is-unavailable"):e.card.classList.remove("is-unavailable"),(0,n.pr)(e)?e.card.classList.add("is-on"):e.card.classList.remove("is-on")}(e),function(e){if(e.config.styles?.includes("card.querySelector('.bubble-name').innerText"))return;const t=(0,n.oY)(e);t!==e.previousName&&(e.elements.name.innerText=t,e.previousName=t,(0,n.GP)(e,e.elements.name,t))}(e),function(e){const t=(0,n.IL)(e,"media_title"),o=(0,n.IL)(e,"media_artist"),a=t+o;a!==e.previousMediaState&&(e.elements.artist.style.display=""===o?"none":"flex",e.previousMediaState=a,(0,n.GP)(e,e.elements.title,t),(0,n.GP)(e,e.elements.artist,o))}(e),function(e){(0,n.IL)(e,"media_title");const t=""===(0,n.IL)(e,"media_artist");e.elements.mediaInfoContainer.style.display=t?"none":"",e.elements.nameContainer.style.display=t?"":"none"}(e),function(e){const t=(0,n.pr)(e),o=(0,n.q7)(e),a=(0,n.gJ)(e),i=e.elements.image.style.backgroundImage,r=e.elements.icon.icon,s=e.elements.icon.style.color;if(""!==a){const t="url("+a+")";i!==t&&(e.elements.image.style.backgroundImage=t),"none"!==e.elements.icon.style.display&&(e.elements.icon.style.display="none"),""!==e.elements.image.style.display&&(e.elements.image.style.display="")}else if(""!==o){r!==o&&(e.elements.icon.icon=o);const n=t?"var(--accent-color)":"inherit";s!==n&&(e.elements.icon.style.color=n),""!==e.elements.icon.style.display&&(e.elements.icon.style.display=""),"none"!==e.elements.image.style.display&&(e.elements.image.style.display="none")}else"none"!==e.elements.icon.style.display&&(e.elements.icon.style.display="none"),"none"!==e.elements.image.style.display&&(e.elements.image.style.display="none")}(e),function(e){const t=(0,n.pr)(e),o=(0,n.gJ)(e),a=e.config.cover_background,i=e.elements.coverBackground.style.backgroundImage;if(a&&t&&o){const t="url("+o+")";i!==t&&(e.elements.coverBackground.style.backgroundImage=t)}else""!==i&&(e.elements.coverBackground.style.backgroundImage="")}(e),U(e),function(e){if((0,n.OC)(e,"media_player")&&!1===e.dragging&&e.elements.rangeFill){const t=100*(0,n.IL)(e,"volume_level");e.elements.rangeFill.style.transform=`translateX(${t}%)`}}(e),function(e){const t="playing"===(0,n.y0)(e),o=e.elements.playPauseButton.clicked;t?e.elements.playPauseButton.setAttribute("icon",o?"mdi:play":"mdi:pause"):e.elements.playPauseButton.setAttribute("icon",o?"mdi:pause":"mdi:play"),e.elements.playPauseButton.clicked=!1}(e),function(e){const t=!0===(0,n.IL)(e,"is_volume_muted"),o=e.elements.muteButton.clicked;e.elements.muteButton.style.color=t?o?"":"var(--accent-color)":o?"var(--accent-color)":"",e.elements.muteButton.clicked=!1}(e),function(e){const t=(0,n.pr)(e);e.elements.powerButton.style.color=t?"var(--accent-color)":""}(e),N(e,e.content,e.elements.buttonContainer,!0),function(e){q(e),(0,n.jx)(e);const t=(0,n.y0)(e),o="off"!==t&&"unknown"!==t;if(e.config.hide?.power_button&&"none"!==e.elements.powerButton.style.display?e.elements.powerButton.style.display="none":e.config.hide?.power_button||"none"!==e.elements.powerButton.style.display||(e.elements.powerButton.style.display=""),!e.config.hide?.previous_button&&(e.editor||o)||"none"===e.elements.previousButton.style.display?e.config.hide?.previous_button||!e.editor&&!o||"none"!==e.elements.previousButton.style.display||(e.elements.previousButton.style.display=""):e.elements.previousButton.style.display="none",!e.config.hide?.next_button&&(e.editor||o)||"none"===e.elements.nextButton.style.display?e.config.hide?.next_button||!e.editor&&!o||"none"!==e.elements.nextButton.style.display||(e.elements.nextButton.style.display=""):e.elements.nextButton.style.display="none",!e.config.hide?.volume_button&&(e.editor||o)||"none"===e.elements.volumeButton.style.display?e.config.hide?.volume_button||!e.editor&&!o||"none"!==e.elements.volumeButton.style.display||(e.elements.volumeButton.style.display=""):e.elements.volumeButton.style.display="none",!e.config.hide?.play_pause_button&&(e.editor||o)||"none"===e.elements.playPauseButton.style.display?e.config.hide?.play_pause_button||!e.editor&&!o||"none"!==e.elements.playPauseButton.style.display||(e.elements.playPauseButton.style.display=""):e.elements.playPauseButton.style.display="none",!e.config.styles)return;let a="";try{a=e.config.styles?Function("hass","entity","state","icon","subButtonIcon","getWeatherIcon","card",`return \`${e.config.styles}\`;`)(e._hass,e.config.entity,t,e.elements.icon,e.subButtonIcon,n.X,e.card):""}catch(e){throw new Error(`Error in generating media player custom templates: ${e.message}`)}e.elements.customStyle&&(e.elements.customStyle.innerText=a)}(e)}function se(e){let t="";const n=e._hass.states[e.config.entity],o=(n.attributes.current_temperature,n.attributes.hvac_action),a=n.state,i="heating"===o||"heat"===a&&e.config.state_color,r="cooling"===o||"cool"===a&&e.config.state_color,s="off"!==a&&"unknown"!==a;switch(a){case"fan_only":t="var(--bubble-state-climate-fan-only-color, var(--state-climate-fan-only-color, var(--state-climate-active-color, var(--state-active-color))))";break;case"dry":t="var(--bubble-state-climate-dry-color, var(--state-climate-dry-color, var(--state-climate-active-color, var(--state-active-color))))";break;default:t=r?"var(--bubble-state-climate-cool-color, var(--state-climate-cool-color, var(--state-climate-active-color, var(--state-active-color))))":i?"var(--bubble-state-climate-heat-color, var(--state-climate-heat-color, var(--state-climate-active-color, var(--state-active-color))))":s&&e.config.state_color?"auto"===a?"var(--bubble-state-climate-auto-color, var(--state-climate-auto-color, var(--state-climate-active-color, var(--state-active-color))))":"heat_cool"===a?"var(--bubble-state-climate-heat-cool-color, var(--state-climate-heat-cool-color, var(--state-climate-active-color, var(--state-active-color))))":"var(--bubble-climate-accent-color, var(--bubble-accent-color, var(--accent-color)))":""}return t}let le,ce,de;class ue extends HTMLElement{editor=!1;isConnected=!1;connectedCallback(){this.isConnected=!0,this._hass&&this.updateBubbleCard()}disconnectedCallback(){this.isConnected=!1}set editMode(e){this.editor!==e&&(this.editor=e,this._hass&&this.updateBubbleCard())}set hass(e){!function(e){if(!e.content){let t=e.shadowRoot||e.attachShadow({mode:"open"}),n=document.createElement("ha-card");n.style.cssText="background: none; border: none; box-shadow: none; border-radius: 16px;";let o=document.createElement("div");o.className="card-content",o.style.padding="0",n.appendChild(o),t.appendChild(n),e.card=n,e.content=o}}(this),this._hass=e,this.editor||(this.isConnected||"pop-up"===this.config.card_type)&&this.updateBubbleCard()}updateBubbleCard(){switch(this.config.card_type){case"pop-up":J(this);break;case"button":Y(this);break;case"separator":"separator"!==(e=this).cardType&&function(e){e.elements={},e.elements.separatorCard=(0,n.az)("div","bubble-separator separator-container"),e.elements.icon=(0,n.az)("ha-icon","bubble-icon"),e.elements.name=(0,n.az)("h4","bubble-name"),e.elements.line=(0,n.az)("div","bubble-line"),e.elements.style=(0,n.az)("style"),e.elements.style.innerText="\n .bubble-separator {\n display: flex;\n width: 100%;\n \n align-items: center;\n z-index: 1;\n }\n .bubble-icon {\n display: inline-flex;\n height: auto;\n width: auto;\n margin: 0 22px 0 8px;\n }\n .bubble-name {\n margin: 0 30px 0 0;\n font-size: 16px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n .bubble-name:empty {\n display: none;\n }\n .bubble-line {\n border-radius: 6px;\n opacity: 0.5;\n flex-grow: 1;\n height: 6px;\n background-color: var(--bubble-line-background-color, var(--background-color, var(--secondary-background-color)));\n margin-right: 14px;\n }\n .bubble-sub-button-container {\n margin: 0 8px;\n right: 0 !important;\n }\n\n .large .bubble-separator {\n height: 56px;\n }\n\n .rows-2 .bubble-sub-button-container {\n flex-direction: column;\n gap: 4px !important;\n display: grid !important;\n grid-template-columns: repeat(2, min-content);\n grid-template-rows: repeat(2, 1fr);\n grid-auto-flow: column;\n width: auto;\n }\n\n .rows-2 .bubble-sub-button {\n height: 20px !important;\n }\n",e.elements.customStyle=(0,n.az)("style"),e.elements.separatorCard.appendChild(e.elements.icon),e.elements.separatorCard.appendChild(e.elements.name),e.elements.separatorCard.appendChild(e.elements.line),e.content.innerHTML="",e.content.appendChild(e.elements.separatorCard),e.content.appendChild(e.elements.style),e.content.appendChild(e.elements.customStyle),e.cardType="separator"}(e),function(e){e.elements.icon.icon=(0,n.q7)(e),""===e.elements.icon.icon&&""===e.elements.icon.style.margin?(e.elements.icon.style.margin="0px 8px",e.elements.icon.style.width="0px"):""!==e.elements.icon.icon&&"0px 8px"===e.elements.icon.style.margin&&(e.elements.icon.style.margin="",e.elements.icon.style.width="")}(e),function(e){if(e.config.styles?.includes("card.querySelector('.bubble-name').innerText"))return;const t=(0,n.oY)(e);t!==e.elements.name.innerText&&(e.elements.name.innerText=t)}(e),N(e,e.content,e.elements.separatorCard),function(e){q(e),(0,n.jx)(e);const t=(0,n.y0)(e);let o="";try{o=e.config.styles?Function("hass","entity","state","icon","subButtonIcon","getWeatherIcon","card",`return \`${e.config.styles}\`;`)(e._hass,e.config.entity,t,e.elements.icon,e.subButtonIcon,n.X,e.card):""}catch(e){throw new Error(`Error in generating separator custom templates: ${e.message}`)}e.elements.customStyle&&(e.elements.customStyle.innerText=o)}(e);break;case"cover":!function(e){"cover"!==e.cardType&&function(e){e.elements={},e.elements.coverCardContainer=(0,n.az)("div","bubble-cover-card-container cover-container"),e.elements.headerContainer=(0,n.az)("div","bubble-header header-container"),e.elements.buttonsContainer=(0,n.az)("div","bubble-buttons buttons-container"),e.elements.iconContainer=(0,n.az)("div","bubble-icon-container icon-container"),e.elements.icon=(0,n.az)("ha-icon","bubble-icon"),e.elements.nameContainer=(0,n.az)("div","bubble-name-container name-container"),e.elements.name=(0,n.az)("div","bubble-name name"),e.elements.state=(0,n.az)("div","bubble-state state"),e.elements.buttonOpen=(0,n.az)("div","bubble-button bubble-open button open"),e.elements.buttonStop=(0,n.az)("div","bubble-button bubble-stop button stop"),e.elements.buttonClose=(0,n.az)("div","bubble-button bubble-close button close"),e.elements.iconOpen=(0,n.az)("ha-icon","bubble-icon bubble-icon-open"),e.elements.iconStop=(0,n.az)("ha-icon","bubble-icon bubble-icon-stop"),e.elements.iconStop.icon="mdi:stop",e.elements.iconClose=(0,n.az)("ha-icon","bubble-icon bubble-icon-close"),e.elements.style=(0,n.az)("style"),e.elements.style.innerText="\n * {\n -webkit-tap-highlight-color: transparent !important;\n }\n ha-card {\n margin-top: 0 !important;\n background: none !important;\n }\n\n .bubble-cover-card-container {\n display: grid;\n gap: 10px;\n overflow: hidden;\n }\n\n .bubble-header {\n display: flex;\n align-items: center;\n }\n\n .bubble-icon-container {\n display: flex;\n flex-wrap: wrap;\n align-content: center;\n justify-content: center;\n min-width: 38px;\n min-height: 38px;\n border-radius: var(--bubble-cover-icon-border-radius, var(--bubble-icon-border-radius, var(--bubble-border-radius, 50%)));\n background-color: var(--bubble-cover-icon-background-color, var(--bubble-icon-background-color, var(--bubble-secondary-background-color, var(--card-background-color, var(--ha-card-background)))));\n border: 6px solid var(--bubble-cover-main-background-color, var(--bubble-main-background-color, var(--background-color-2, var(--secondary-background-color))));\n cursor: pointer;\n }\n\n .bubble-name-container {\n display: flex;\n line-height: 1em;\n flex-direction: column;\n justify-content: center;\n flex-grow: 1;\n font-weight: 600;\n margin-left: 4px;\n margin-right: 16px;\n pointer-events: none;\n position: relative;\n overflow: hidden;\n }\n\n .bubble-name {\n font-size: 13px;\n margin: 2px 0;\n white-space: nowrap;\n display: flex;\n position: relative;\n overflow: hidden;\n }\n\n .bubble-state {\n font-size: 12px;\n opacity: 0.7;\n margin: 2px 0;\n font-weight: normal;\n white-space: nowrap;\n display: flex;\n position: relative;\n overflow: hidden;\n }\n\n .bubble-buttons {\n display: grid;\n align-self: center;\n grid-auto-flow: column;\n grid-gap: 18px;\n }\n\n .bubble-icon {\n display: flex; \n height: 24px; \n width: 24px; \n color: var(--primary-text-color);\n }\n\n .bubble-button.disabled {\n opacity: 0.3 !important;\n pointer-events: none !important;\n cursor: none !important;\n }\n\n .bubble-button {\n display: flex;\n background: var(--bubble-cover-main-background-color, var(--bubble-main-background-color, var(--background-color-2, var(--secondary-background-color))));\n height: 42px;\n border-radius: var(--bubble-cover-border-radius, var(--bubble-border-radius, 32px));\n box-shadow: var(--bubble-cover-box-shadow, var(--bubble-button-box-shadow, var(--bubble-box-shadow, none)));\n align-items: center;\n justify-content: center;\n cursor: pointer;\n border: none;\n }\n\n .large .bubble-cover-card-container {\n height: 56px;\n display: flex;\n background: var(--bubble-cover-main-background-color, var(--bubble-main-background-color, var(--background-color-2, var(--secondary-background-color))));\n border-radius: var(--bubble-cover-border-radius, var(--bubble-border-radius, 32px));\n box-shadow: var(--bubble-cover-box-shadow, var(--bubble-button-box-shadow, var(--bubble-box-shadow, none)));\n }\n\n .large .bubble-buttons .bubble-icon {\n color: var(--primary-text-color) !important;\n opacity: 1;\n }\n\n .large .bubble-header-container {\n height: 56px;\n }\n\n .large .bubble-header {\n width: 100%;\n }\n\n .large .bubble-icon-container {\n --mdc-icon-size: 24px;\n min-width: 42px !important;\n min-height: 42px !important;\n align-content: center;\n border: none;\n margin: 8px 6px 8px 8px;\n }\n\n .large .bubble-icon {\n align-items: center;\n }\n\n .large .bubble-buttons {\n display: flex;\n position: relative;\n right: 18px;\n align-self: center;\n grid-gap: 18px;\n }\n\n .large .bubble-button,\n .large .bubble-sub-button {\n box-shadow: none;\n }\n\n .large .bubble-sub-button-container {\n margin-right: 14px;\n }\n\n .rows-2 .bubble-sub-button-container {\n flex-direction: column;\n gap: 4px !important;\n display: grid !important;\n grid-template-columns: repeat(2, min-content);\n grid-template-rows: repeat(2, 1fr);\n grid-auto-flow: column;\n width: auto;\n padding-right: 14px;\n }\n\n .rows-2 .bubble-sub-button {\n height: 20px !important;\n }\n",e.elements.customStyle=(0,n.az)("style"),e.elements.iconContainer.appendChild(e.elements.icon),e.elements.headerContainer.appendChild(e.elements.iconContainer),e.elements.headerContainer.appendChild(e.elements.nameContainer),e.elements.nameContainer.appendChild(e.elements.name),e.elements.nameContainer.appendChild(e.elements.state),e.elements.buttonsContainer.appendChild(e.elements.buttonOpen),e.elements.buttonsContainer.appendChild(e.elements.buttonStop),e.elements.buttonsContainer.appendChild(e.elements.buttonClose),e.elements.buttonOpen.appendChild(e.elements.iconOpen),e.elements.buttonOpen.addEventListener("click",(()=>{const t=e.config.open_service??"cover.open_cover",[n,o]=t.split(".");e._hass.callService(n,o,{entity_id:e.config.entity})})),e.elements.buttonStop.appendChild(e.elements.iconStop),e.elements.buttonStop.addEventListener("click",(()=>{const t=e.config.stop_service??"cover.stop_cover",[n,o]=t.split(".");e._hass.callService(n,o,{entity_id:e.config.entity})})),e.elements.buttonClose.appendChild(e.elements.iconClose),e.elements.buttonClose.addEventListener("click",(()=>{const t=e.config.close_service??"cover.close_cover",[n,o]=t.split(".");e._hass.callService(n,o,{entity_id:e.config.entity})})),a(e.elements.iconContainer,e.config),e.content.innerHTML="",e.content.appendChild(e.elements.coverCardContainer),e.content.appendChild(e.elements.style),e.content.appendChild(e.elements.customStyle),e.elements.coverCardContainer.appendChild(e.elements.headerContainer),e.elements.coverCardContainer.appendChild(e.elements.buttonsContainer),e.elements.coverCardContainer.addEventListener("click",(()=>(0,n.jk)("selection"))),e.cardType="cover"}(e),function(e){const t=e._hass.states[e.config.entity],{current_position:o,assumed_state:a}=t.attributes,i=te(t,Z),r=te(t,Q),s=te(t,ee),l=function(e){return void 0!==e.attributes.current_position?100===e.attributes.current_position:"open"===e.state}(t),c=function(e){return void 0!==e.attributes.current_position?0===e.attributes.current_position:"closed"===e.state}(t),d="curtain"===(0,n.IL)(e,"device_class");e.elements.icon.icon=l?(0,n.q7)(e,e.config.entity,e.config.icon_open):(0,n.q7)(e,e.config.entity,e.config.icon_close),e.elements.iconOpen.icon=e.config.icon_up||(d?"mdi:arrow-expand-horizontal":"mdi:arrow-up"),e.elements.iconClose.icon=e.config.icon_down||(d?"mdi:arrow-collapse-horizontal":"mdi:arrow-down"),void 0!==o?(l?e.elements.buttonOpen.classList.add("disabled"):i&&e.elements.buttonOpen.classList.remove("disabled"),c?e.elements.buttonClose.classList.add("disabled"):r&&e.elements.buttonClose.classList.remove("disabled")):(e.elements.buttonOpen.classList.remove("disabled"),e.elements.buttonClose.classList.remove("disabled")),e.elements.buttonStop.style.display=s?"":"none"}(e),function(e){if(e.config.styles?.includes("card.querySelector('.bubble-name').innerText"))return;const t=(0,n.oY)(e);t!==e.elements.previousName&&(e.elements.name.innerText=t,(0,n.GP)(e,e.elements.name,t),e.elements.previousName=t)}(e),U(e),N(e,e.content,e.elements.headerContainer),function(e){if(q(e),(0,n.jx)(e),!e.config.styles)return;const t=(0,n.y0)(e);let o="";try{o=e.config.styles?Function("hass","entity","state","icon","subButtonIcon","getWeatherIcon","card",`return \`${e.config.styles}\`;`)(e._hass,e.config.entity,t,e.elements.icon,e.subButtonIcon,n.X,e.card):""}catch(e){throw new Error(`Error in generating cover custom templates: ${e.message}`)}e.elements.customStyle&&(e.elements.customStyle.innerText=o)}(e)}(this);break;case"empty-column":!function(e){"empty-column"!==e.cardType&&function(e){e.elements={},e.elements.emptyColumnCard=(0,n.az)("div","bubble-empty-column empty-column"),e.elements.style=(0,n.az)("style"),e.elements.style.innerText="\n .empty-column {\n display: flex;\n width: 100%;\n }\n",e.elements.customStyle=(0,n.az)("style"),e.content.innerHTML="",e.content.appendChild(e.elements.emptyColumnCard),e.content.appendChild(e.elements.style),e.content.appendChild(e.elements.customStyle),e.cardType="empty-column"}(e)}(this);break;case"horizontal-buttons-stack":!function(e){"horizontal-buttons-stack"!==e.cardType&&function(e){e.elements={},e.elements.buttons=[],e.elements.cardContainer=(0,n.az)("div","bubble-horizontal-buttons-stack-card-container horizontal-buttons-stack-container");let t=1;for(;e.config[t+"_link"];)e.elements.cardContainer.appendChild(K(e,t)),t++;e.elements.style=(0,n.az)("style"),e.elements.style.innerText="\n @keyframes from-bottom {\n 0% { transform: translate(-50%, 100px); }\n 26% { transform: translate(-50%, -8px); }\n 46% { transform: translate(-50%, 1px); }\n 62% { transform: translate(-50%, -2px); }\n 70% { transform: translate(-50%, 0); }\n 100% { transform: translate(-50%, 0); }\n }\n @keyframes pulse {\n 0% { filter: brightness(0.7); }\n 100% { filter: brightness(1.3); }\n }\n ha-card {\n border-radius: 0;\n }\n .horizontal-buttons-stack-card {\n bottom: 16px;\n height: 51px;\n margin-top: 0;\n position: fixed;\n width: calc(100% - var(--mdc-drawer-width, 0px) - 8px);\n left: calc(var(--mdc-drawer-width, 0px) + 4px);\n z-index: 6; /* Higher value hide the more-info panel */\n }\n @media only screen and (max-width: 870px) {\n .horizontal-buttons-stack-card {\n width: calc(100% - 16px);\n left: 8px;\n }\n\n .horizontal-buttons-stack-card::before {\n left: -10px;\n }\n }\n .horizontal-buttons-stack-card::before {\n content: '';\n position: absolute;\n top: -32px;\n display: none;\n background: linear-gradient(0deg, var(--bubble-horizontal-buttons-stack-background-color, var(--bubble-secondary-background-color, var(--background-color, var(--secondary-background-color)))) 50%, transparent);\n width: 200%;\n height: 100px;\n pointer-events: none;\n }\n .has-gradient.horizontal-buttons-stack-card::before {\n display: block;\n }\n\n .card-content {\n width: calc(100% + 36px);\n padding: 0 !important;\n max-width: calc(var(--desktop-width) - 8px);\n box-sizing: border-box;\n overflow: scroll;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n -ms-overflow-style: none;\n scrollbar-width: none;\n -webkit-mask-image: linear-gradient(\n 90deg,\n #000000 0%,\n #000000 calc(0% + 28px),\n #000000 calc(100% - 28px),\n transparent 100%\n );\n }\n .is-scrollable.card-content {\n padding: 0 !important;\n width: 100%;\n }\n .is-scrolled.card-content {\n padding: 0 !important;\n width: 100%;\n -webkit-mask-image: linear-gradient(\n 90deg,\n transparent 0%,\n #000000 calc(0% + 28px),\n #000000 calc(100% - 28px),\n transparent 100%\n );\n }\n .is-maxed-scroll.card-content {\n -webkit-mask-image: linear-gradient(\n 90deg,\n transparent 0%,\n #000000 calc(0% + 28px),\n #000000 calc(100% - 28px),\n #000000 100%\n );\n }\n .card-content::-webkit-scrollbar {\n display: none;\n }\n\n .bubble-horizontal-buttons-stack-card-container {\n height: 51px;\n position: relative;\n margin: auto;\n }\n\n .bubble-button {\n align-items: center;\n border-radius: var(--bubble-horizontal-buttons-stack-border-radius, var(--bubble-border-radius, 32px));\n color: var(--primary-text-color);\n cursor: pointer;\n display: inline-flex;\n height: 50px;\n left: 0;\n padding: 0 16px;\n position: absolute;\n white-space: nowrap;\n z-index: 1;\n transition: transform 1s;\n box-sizing: border-box;\n }\n .bubble-button.highlight {\n animation: pulse 1.4s infinite alternate;\n }\n .bubble-background-color {\n border: 1px solid var(--primary-text-color);\n border-radius: var(--bubble-horizontal-buttons-stack-border-radius, var(--bubble-border-radius, 32px));\n box-sizing: border-box;\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n transition: background-color 1s;\n width: 100%;\n z-index: -1;\n }\n .bubble-background {\n opacity: 0.8;\n border-radius: var(--bubble-horizontal-buttons-stack-border-radius, var(--bubble-border-radius, 32px));\n width: 100%;\n height: 100%;\n box-sizing: border-box !important;\n position: absolute;\n left: 0;\n z-index: -2;\n background-color: var(--bubble-horizontal-buttons-stack-background-color, var(--bubble-secondary-background-color, var(--background-color, var(--secondary-background-color))));\n }\n .bubble-icon {\n height: 24px;\n width: 24px;\n }\n .bubble-icon + .bubble-name {\n margin-left: 8px;\n }\n\n\n .horizontal-buttons-stack-card.editor {\n position: relative;\n width: 100%;\n left: 0;\n bottom: 0;\n }\n .horizontal-buttons-stack-card.editor::before {\n background: none;\n }\n\n",e.elements.customStyle=(0,n.az)("style"),e.card.classList.add("horizontal-buttons-stack-card"),e.card.style.marginLeft=e.config.margin??"",e.config.hide_gradient||e.card.classList.add("has-gradient"),e.card.style.setProperty("--desktop-width",e.config.width_desktop??"500px"),e.elements.cardContainer.appendChild(e.elements.style),e.elements.cardContainer.appendChild(e.elements.customStyle),e.content.appendChild(e.elements.cardContainer),e.content.addEventListener("scroll",(()=>{e.content.scrollLeft>0?e.content.classList.add("is-scrolled"):e.content.classList.remove("is-scrolled"),e.content.scrollWidth-12{e.content.style.animation="none"}),1500));let o=e.card.parentNode.host;o&&!e.editor&&"hui-card"!==o.parentElement.tagName.toLowerCase()?o.style.padding="0 0 80px":o.parentElement&&!e.editor&&"hui-card"===o.parentElement.tagName.toLowerCase()&&(o.parentElement.style.padding="0 0 80px"),e.cardType="horizontal-buttons-stack"}(e),function(e){if(!e.config.styles)return;let t="";try{t=e.config.styles?Function("hass","card",`return \`${e.config.styles}\`;`)(e._hass,e.card):""}catch(e){throw new Error(`Error in generating horizontal buttons stack custom templates: ${e.message}`)}e.elements.customStyle&&(e.elements.customStyle.innerText=t)}(e),function(e){if(!e.config.auto_order)return;const t=e._hass.states;e.elements.buttons.sort(((e,n)=>{if(!t[e.pirSensor])return 1;if(!t[n.pirSensor])return-1;const o=t[e.pirSensor]?.last_updated,a=t[n.pirSensor]?.last_updated;return"on"===t[e.pirSensor]?.state&&"on"===t[n.pirSensor]?.state?o>a?-1:o===a?0:1:"on"===t[e.pirSensor]?.state?-1:"on"===t[n.pirSensor]?.state?1:o>a?-1:o===a?0:1}))}(e),function(e){e.elements.buttons.forEach((t=>{const n=t.index,o=e.config[`${n}_name`]??"",a=e.config[`${n}_icon`]??"",i=e.config[`${n}_pir_sensor`],r=e.config[`${n}_link`],s=e.config[`${n}_entity`];t.pirSensor=i,t.lightEntity=s,t.link=r,o?(t.name.innerText=o,t.name.style.display=""):t.name.style.display="none",a?(t.icon.icon=a,t.icon.style.display=""):t.icon.style.display="none",void 0===r&&(t.remove(),e.elements.buttons=e.elements.buttons.filter((e=>e!==t)),e.elements.buttons.forEach(((e,t)=>{e.index=t+1})))}));let t=e.elements.buttons.length+1;for(;void 0!==e.config[`${t}_link`];){if(!e.elements.buttons.find((e=>e.index===t))){const n=K(e,t);e.elements.buttons.push(n)}t++}}(e),function(e){const t=e.shadowRoot.host.closest("hui-card-preview, hui-card-options");e.editor||null!==t?(e.elements.cardContainer.classList.add("editor"),e.card.classList.add("editor")):(e.elements.cardContainer.classList.remove("editor"),e.card.classList.remove("editor"))}(e),function(e){let t=0;for(let n=0;n0&&(o=a,localStorage.setItem(`bubbleButtonWidth-${e.elements.buttons[n].link}`,`${a}`)),null!==o&&(e.elements.buttons[n].style.transform=`translateX(${t}px)`,e.elements.buttons[n].style.width="",t+=+o+12)}e.elements.cardContainer.style.width=`${t}px`}(e),function(e){e.elements.buttons.forEach((n=>{const o=e._hass.states[n.lightEntity],a=o?.attributes.rgb_color,i=o?.state;if(a){const e=(0,t.wW)(a)?"rgba(255, 220, 200, 0.5)":`rgba(${a}, 0.5)`;n.backgroundColor.style.backgroundColor=e,n.backgroundColor.style.borderColor="rgba(0, 0, 0, 0)"}else"on"==i?(n.backgroundColor.style.backgroundColor="rgba(255, 255, 255, 0.5)",n.backgroundColor.style.borderColor="rgba(0, 0, 0, 0)"):(n.backgroundColor.style.backgroundColor="rgba(0, 0, 0, 0)",n.backgroundColor.style.borderColor="var(--primary-text-color)")}))}(e),function(e){e.content.scrollWidth>=e.content.offsetWidth?e.content.classList.add("is-scrollable"):e.content.classList.remove("is-scrollable")}(e)}(this);break;case"media-player":re(this);break;case"select":!function(e){e.cardType,"select"!==e.cardType&&(function(e){e.elements||(e.elements={});let t=e.content;e.elements.selectCardContainer=(0,n.az)("div","bubble-select-card-container"),e.elements.selectCard=(0,n.az)("div","bubble-select-card"),e.elements.selectBackground=(0,n.az)("div","bubble-select-background"),e.elements.nameContainer=(0,n.az)("div","bubble-name-container"),e.elements.iconContainer=(0,n.az)("div","bubble-icon-container"),e.elements.name=(0,n.az)("div","bubble-name"),e.elements.state=(0,n.az)("div","bubble-state"),e.elements.feedback=(0,n.az)("div","bubble-feedback-element"),e.elements.icon=(0,n.az)("ha-icon","bubble-icon"),e.elements.image=(0,n.az)("div","bubble-entity-picture"),e.elements.style=(0,n.az)("style"),e.elements.customStyle=(0,n.az)("style"),e.elements.feedback.style.display="none",e.elements.style.innerText=O,s(e.elements.selectBackground,e.elements.feedback),a(e.elements.iconContainer,e.config,e.config.entity),e.elements.iconContainer.appendChild(e.elements.icon),e.elements.iconContainer.appendChild(e.elements.image),e.elements.nameContainer.appendChild(e.elements.name),e.elements.nameContainer.appendChild(e.elements.state),e.elements.selectCard.appendChild(e.elements.selectBackground),e.elements.selectCard.appendChild(e.elements.iconContainer),e.elements.selectCard.appendChild(e.elements.nameContainer),e.elements.selectCardContainer.appendChild(e.elements.selectCard),e.elements.selectBackground.appendChild(e.elements.feedback),t.innerHTML="",t.appendChild(e.elements.selectCardContainer),t.appendChild(e.elements.style),t.appendChild(e.elements.customStyle),e.cardType="select"}(e),z(e),E(e)),B(e,e.elements,e.config.entity,e.config),function(e){"unavailable"===(0,n.y0)(e)?e.card.classList.add("is-unavailable"):e.card.classList.remove("is-unavailable")}(e),function(e){const t=(0,n.q7)(e),o=(0,n.gJ)(e);""!==o?(e.elements.image.style.backgroundImage="url("+o+")",e.elements.icon.style.display="none",e.elements.image.style.display=""):""!==t?(e.elements.icon.icon=t,e.elements.icon.style.color="inherit",e.elements.icon.style.display="",e.elements.image.style.display="none"):(e.elements.icon.style.display="none",e.elements.image.style.display="none")}(e),function(e){if(e.config.styles?.includes("card.querySelector('.bubble-name').innerText"))return;const t=(0,n.oY)(e);t!==e.elements.previousName&&((0,n.GP)(e,e.elements.name,t),e.elements.previousName=t)}(e),U(e),N(e,e.content,e.elements.dropdownContainer,!0),function(e){q(e),(0,n.jx)(e);const t=(0,n.y0)(e);let o="";try{o=e.config.styles?Function("hass","entity","state","icon","subButtonIcon","getWeatherIcon","card",`return \`${e.config.styles}\`;`)(e._hass,e.config.entity,t,e.elements.icon,e.subButtonIcon,n.X,e.card):""}catch(e){throw new Error(`Error in generating select custom templates: ${e.message}`)}e.elements.customStyle&&(e.elements.customStyle.innerText=o,e.elements.dropdownCustomStyleElement.innerText=o)}(e)}(this);break;case"climate":!function(e){"climate"!==e.cardType&&function(e){e.dragging=!1,e.elements={};const t=e.config.entity,o=e._hass.states[t],i="°C"===e._hass.config.unit_system.temperature,r=o.attributes.target_temp_step?o.attributes.target_temp_step:i?.5:1;function l(t,o,a){const i=(0,n.az)("div","bubble-climate-minus-button"),r=(0,n.az)("div","bubble-climate-plus-button"),l=(0,n.az)("ha-icon","bubble-climate-minus-button-icon");l.setAttribute("icon","mdi:minus"),i.appendChild(l),s(i);const c=(0,n.az)("ha-icon","bubble-climate-plus-button-icon");let d,u;c.setAttribute("icon","mdi:plus"),r.appendChild(c),s(r),"temperature"===o?(e.elements.tempDisplay=(0,n.az)("div","bubble-temperature-display"),d=e.elements.tempDisplay):"target_temp_low"===o?(e.elements.lowTempDisplay=(0,n.az)("div","bubble-low-temperature-display"),d=e.elements.lowTempDisplay):"target_temp_high"===o&&(e.elements.highTempDisplay=(0,n.az)("div","bubble-high-temperature-display"),d=e.elements.highTempDisplay),t.appendChild(i),t.appendChild(d),t.appendChild(r);let b=parseFloat((0,n.IL)(e,o))||0,p=b;function h(t){"temperature"===o?e.elements.tempDisplay.innerText=t.toFixed(1):"target_temp_low"===o?e.elements.lowTempDisplay.innerText=t.toFixed(1):"target_temp_high"===o&&(e.elements.highTempDisplay.innerText=t.toFixed(1))}function m(){const t=parseFloat((0,n.IL)(e,o))||0;t!==p&&(b=t,p=t)}function g(){m();const t={entity_id:e.config.entity};"target_temp_low"===o?(t.target_temp_low=b,t.target_temp_high=(0,n.IL)(e,"target_temp_high")):"target_temp_high"===o?(t.target_temp_high=b,t.target_temp_low=(0,n.IL)(e,"target_temp_low")):t[o]=b,e._hass.callService("climate","set_temperature",t)}i.addEventListener("click",(()=>{m(),b=parseFloat((b-a).toFixed(1)),h(b),clearTimeout(u),u=setTimeout(g,700)})),r.addEventListener("click",(()=>{m(),b=parseFloat((b+a).toFixed(1)),h(b),clearTimeout(u),u=setTimeout(g,700)}))}e.elements.climateContainer=(0,n.az)("div","bubble-climate-container"),e.elements.climateCard=(0,n.az)("div","bubble-climate"),e.elements.buttonContainer=(0,n.az)("div","bubble-button-container"),e.elements.nameContainer=(0,n.az)("div","bubble-name-container"),e.elements.iconContainer=(0,n.az)("div","bubble-icon-container"),e.elements.name=(0,n.az)("div","bubble-name"),e.elements.state=(0,n.az)("div","bubble-state"),e.elements.icon=(0,n.az)("ha-icon","bubble-icon"),e.elements.image=(0,n.az)("div","bubble-entity-picture entity-picture"),e.elements.colorBackground=(0,n.az)("div","bubble-color-background"),e.elements.style=(0,n.az)("style"),e.elements.customStyle=(0,n.az)("style"),e.elements.style.innerText="\n * {\n -webkit-tap-highlight-color: transparent !important;\n }\n\n ha-card {\n margin-top: 0;\n background: none;\n opacity: 1;\n }\n .is-unavailable {\n opacity: 0.5;\n }\n\n .bubble-climate-container {\n position: relative;\n width: 100%;\n height: 50px;\n background-color: var(--bubble-climate-main-background-color, var(--bubble-main-background-color, var(--background-color-2, var(--secondary-background-color))));\n border-radius: var(--bubble-climate-border-radius, var(--bubble-border-radius, 32px));\n box-shadow: var(--bubble-climate-box-shadow, var(--bubble-box-shadow, none));\n overflow: visible;\n touch-action: pan-y;\n }\n\n .bubble-climate {\n display: flex;\n position: absolute;\n justify-content: space-between;\n align-items: center;\n height: 100%;\n width: 100%;\n transition: background-color 1.5s;\n background-color: rgba(0,0,0,0);\n }\n\n .bubble-button-container {\n display: inline-grid;\n grid-auto-flow: column;\n gap: 10px;\n align-self: center;\n align-items: center;\n margin-right: 8px;\n }\n\n .bubble-temperature-container, .bubble-low-temp-container, .bubble-high-temp-container {\n display: inline-flex;\n position: relative;\n font-size: 12px;\n white-space: nowrap;\n justify-content: center;\n align-items: center;\n width: auto;\n height: 100%;\n border-radius: var(--bubble-sub-button-border-radius, var(--bubble-border-radius, 32px));\n background-color: var(--bubble-climate-button-background-color, var(--bubble-secondary-background-color, var(--card-background-color, var(--ha-card-background))));\n }\n\n .bubble-low-temp-container {\n color: var(--state-climate-heat-color, var(--state-climate-active-color, var(--state-active-color)));\n }\n\n .bubble-high-temp-container {\n color: var(--state-climate-cool-color, var(--state-climate-active-color, var(--state-active-color)));\n }\n\n .bubble-target-temperature-container {\n display: flex;\n gap: 10px;\n }\n\n .bubble-climate-minus-button,\n .bubble-climate-plus-button {\n display: flex;\n position: relative;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 36px;\n height: 36px;\n vertical-align: middle;\n font-size: 18px;\n color: var(--primary-text-color);\n cursor: pointer;\n }\n\n .bubble-climate-minus-button-icon,\n .bubble-climate-plus-button-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n --mdc-icon-size: 16px;\n }\n\n .bubble-feedback-container {\n display: flex;\n width: 100%;\n height: 100%;\n position: absolute;\n border-radius: var(--bubble-sub-button-border-radius, var(--bubble-border-radius, 32px));\n overflow: hidden;\n pointer-events: none;\n }\n\n .bubble-feedback-element {\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0;\n width: 100%;\n height: 100%;\n background-color: rgb(0,0,0);\n pointer-events: none;\n }\n\n .bubble-color-background {\n display: flex;\n width: 100%;\n height: 100%;\n position: absolute;\n border-radius: var(--bubble-climate-border-radius, var(--bubble-border-radius, 32px));\n opacity: 0.7;\n transition: background-color 2s ease;\n }\n\n .is-unavailable .bubble-climate {\n cursor: not-allowed;\n }\n\n .bubble-icon-container {\n display: flex;\n flex-wrap: wrap;\n width: 38px;\n height: 38px;\n min-width: 38px;\n min-height: 38px;\n align-items: center;\n justify-content: center;\n margin: 6px;\n border-radius: var(--bubble-climate-icon-border-radius, var(--bubble-icon-border-radius, var(--bubble-border-radius, 50%)));\n background-color: var(--bubble-climate-icon-background-color, var(--bubble-icon-background-color, var(--bubble-secondary-background-color, var(--card-background-color, var(--ha-card-background)))));\n overflow: hidden;\n position: relative;\n cursor: pointer;\n pointer-events: auto;\n }\n\n .bubble-icon {\n opacity: 0.6;\n }\n\n .is-on .bubble-icon {\n filter: brightness(1.1);\n opacity: 1;\n }\n\n .bubble-icon {\n display: flex;\n position: absolute;\n height: 38px;\n width: 38px;\n justify-content: center;\n align-items: center;\n transition: all 2s;\n }\n\n .bubble-entity-picture {\n background-size: cover;\n background-position: center;\n height: 100%;\n width: 100%;\n position: absolute;\n }\n\n .bubble-name,\n .bubble-state {\n display: flex;\n margin: 2px 0;\n position: relative;\n white-space: nowrap;\n }\n\n .bubble-name-container {\n display: flex;\n line-height: 1em;\n flex-direction: column;\n justify-content: center;\n flex-grow: 1;\n font-weight: 600;\n margin-left: 4px;\n pointer-events: none;\n position: relative;\n overflow: hidden;\n }\n\n .bubble-name {\n font-size: 13px;\n margin: 2px 0;\n }\n\n .bubble-state {\n font-size: 12px;\n opacity: 0.7;\n margin: 2px 0;\n font-weight: normal;\n }\n\n .bubble-sub-button-container {\n right: 0 !important;\n }\n\n .hidden {\n display: none !important;\n }\n\n @keyframes tap-feedback {\n 0% {transform: translateX(-100%); opacity: 0;}\n 64% {transform: translateX(0); opacity: 0.1;}\n 100% {transform: translateX(100%); opacity: 0;}\n }\n\n .large .bubble-climate-container {\n height: 56px;\n border-radius: var(--bubble-climate-border-radius, var(--bubble-border-radius, 32px));\n }\n\n .large .bubble-icon-container {\n --mdc-icon-size: 24px;\n min-width: 42px !important;\n min-height: 42px !important;\n margin-left: 8px;\n }\n\n .rows-2 .bubble-sub-button-container {\n flex-direction: column;\n gap: 4px !important;\n display: grid !important;\n grid-template-columns: repeat(2, min-content);\n grid-template-rows: repeat(2, 1fr);\n grid-auto-flow: column;\n width: auto;\n }\n\n .rows-2 .bubble-sub-button {\n height: 20px !important;\n }\n",e.elements.iconContainer.appendChild(e.elements.icon),e.elements.iconContainer.appendChild(e.elements.image),e.elements.nameContainer.appendChild(e.elements.name),e.elements.nameContainer.appendChild(e.elements.state);const c=void 0!==o?.attributes?.target_temp_low,d=void 0!==o?.attributes?.target_temp_high;void 0!==o?.attributes?.temperature&&(e.elements.temperatureContainer=(0,n.az)("div","bubble-temperature-container"),l(e.elements.temperatureContainer,"temperature",r),e.elements.buttonContainer.appendChild(e.elements.temperatureContainer)),(c||d)&&(e.elements.targetTemperatureContainer=(0,n.az)("div","bubble-target-temperature-container"),c&&(e.elements.lowTempContainer=(0,n.az)("div","bubble-low-temp-container"),l(e.elements.lowTempContainer,"target_temp_low",r),e.elements.targetTemperatureContainer.appendChild(e.elements.lowTempContainer)),d&&(e.elements.highTempContainer=(0,n.az)("div","bubble-high-temp-container"),l(e.elements.highTempContainer,"target_temp_high",r),e.elements.targetTemperatureContainer.appendChild(e.elements.highTempContainer)),e.elements.buttonContainer.appendChild(e.elements.targetTemperatureContainer)),e.elements.climateCard.appendChild(e.elements.iconContainer),e.elements.climateCard.appendChild(e.elements.nameContainer),e.elements.climateCard.appendChild(e.elements.buttonContainer),e.elements.climateContainer.appendChild(e.elements.colorBackground),e.elements.climateContainer.appendChild(e.elements.climateCard),e.content.innerHTML="",e.content.appendChild(e.elements.climateContainer),e.content.appendChild(e.elements.style),e.content.appendChild(e.elements.customStyle),a(e.elements.iconContainer,e.config),e.cardType="climate"}(e),function(e){"unavailable"===(0,n.y0)(e)?e.card.classList.add("is-unavailable"):e.card.classList.remove("is-unavailable"),(0,n.pr)(e)?e.card.classList.add("is-on"):e.card.classList.remove("is-on")}(e),function(e){if(e.config.styles?.includes("card.querySelector('.bubble-name').innerText"))return;const t=(0,n.oY)(e);t!==e.previousName&&e.elements.name&&(e.elements.name.innerText=t,e.previousName=t,(0,n.GP)(e,e.elements.name,t))}(e),function(e){const t=(0,n.pr)(e),o=(0,n.q7)(e),a=(0,n.gJ)(e),i=e.elements.image.style.backgroundImage,r=e.elements.icon.icon,s=e.elements.icon.style.color;if(""!==a){const t="url("+a+")";i!==t&&(e.elements.image.style.backgroundImage=t),"none"!==e.elements.icon.style.display&&(e.elements.icon.style.display="none"),""!==e.elements.image.style.display&&(e.elements.image.style.display="")}else if(""!==o){r!==o&&(e.elements.icon.icon=o);const n=t?`var(--bubble-icon-background-color, ${se(e)})`:"inherit";s!==n&&(e.elements.icon.style.color=n),""!==e.elements.icon.style.display&&(e.elements.icon.style.display=""),"none"!==e.elements.image.style.display&&(e.elements.image.style.display="none")}else"none"!==e.elements.icon.style.display&&(e.elements.icon.style.display="none"),"none"!==e.elements.image.style.display&&(e.elements.image.style.display="none")}(e),U(e),function(e){const t=(0,n.IL)(e,"temperature");""===t?e.elements.temperatureContainer?.classList.add("hidden"):e.elements.temperatureContainer?.classList.remove("hidden"),t!==e.previousTemp&&(e.previousTemp=t,e.elements.tempDisplay&&(e.elements.tempDisplay.innerText=parseFloat(t).toFixed(1)))}(e),function(e){const t=(0,n.IL)(e,"target_temp_low"),o=e.config.hide_target_temp_low;""===t?e.elements.targetTemperatureContainer?.classList.add("hidden"):e.elements.targetTemperatureContainer?.classList.remove("hidden"),o?e.elements.lowTempContainer?.classList.add("hidden"):e.elements.lowTempContainer?.classList.remove("hidden"),t!==e.previousTargetTempLow&&(e.previousTargetTempLow=t,e.elements.lowTempDisplay&&(e.elements.lowTempDisplay.innerText=parseFloat(t).toFixed(1)))}(e),function(e){const t=(0,n.IL)(e,"target_temp_high");e.config.hide_target_temp_high?e.elements.highTempContainer?.classList.add("hidden"):e.elements.highTempContainer?.classList.remove("hidden"),t!==e.previousTargetTempHigh&&(e.previousTargetTempHigh=t,e.elements.highTempDisplay&&(e.elements.highTempDisplay.innerText=parseFloat(t).toFixed(1)))}(e),N(e,e.content,e.elements.buttonContainer,!0),function(e){q(e),(0,n.jx)(e);const t=(0,n.y0)(e);if(e.previousState!==t&&(e.previousState=t,e.elements.colorBackground.style.backgroundColor=`var(--bubble-climate-background-color, ${se(e)})`),e.config.card_layout,e.elements.hvacModeDropdown,!e.config.styles)return;let o="";try{o=e.config.styles?Function("hass","entity","state","icon","subButtonIcon","getWeatherIcon","card",`return \`${e.config.styles}\`;`)(e._hass,e.config.entity,t,e.elements.icon,e.subButtonIcon,n.X,e.card):""}catch(e){throw new Error(`Error in generating climate custom templates: ${e.message}`)}e.elements.customStyle&&(e.elements.customStyle.innerText=o)}(e)}(this)}var e}setConfig(e){if(e.error)throw new Error(e.error);if("pop-up"===e.card_type){if(!e.hash)throw new Error("You need to define an hash. Please note that this card must be placed inside a vertical_stack to work as a pop-up.")}else if("horizontal-buttons-stack"===e.card_type){var t={};for(var n in e)if(n.match(/^\d+_icon$/)){var o=n.replace("_icon","_link");if(void 0===e[o])throw new Error("You need to define "+o);if(t[e[o]])throw new Error("You can't use "+e[o]+" twice");t[e[o]]=!0}}else if(["button","cover","climate","select","media-player"].includes(e.card_type)&&!e.entity&&"name"!==e.button_type)throw new Error("You need to define an entity");if("select"===e.card_type&&e.entity&&!e.select_attribute&&!e.entity?.startsWith("input_select")&&!e.entity?.startsWith("select"))throw new Error('"Select menu (from attributes)" missing');if(window.entityError)throw new Error("You need to define a valid entity");if("button"===e.card_type){const t={...e},n=t.button_type||"switch";t.tap_action=t.tap_action??{action:"more-info"},t.double_tap_action=t.double_tap_action??{action:"state"===n?"more-info":"toggle"},t.hold_action=t.hold_action??{action:"state"===n?"more-info":"toggle"},this.config=t}else this.config=e;this._hass&&this.updateBubbleCard()}getCardSize(){switch(this.config.card_type){case"pop-up":return-1e5;case"button":case"separator":case"empty-column":case"media-player":case"select":case"climate":return 1;case"cover":return 2;case"horizontal-buttons-stack":return 0}}static getConfigElement(){return function(){if(!le)try{le=Object.getPrototypeOf(customElements.get("ha-panel-lovelace")),ce=le.prototype?.html,de=le.prototype?.css}catch(e){return void console.error(e.message)}customElements.get("bubble-card-editor")||customElements.define("bubble-card-editor",class extends le{setConfig(e){this._config={...e}}static get properties(){return{hass:{},_config:{}}}get _card_type(){return this._config?.card_type||""}get _button_type(){return this._config?.button_type||("pop-up"===this._config?.card_type?"":"switch")}get _entity(){return this._config?.entity||""}get _name(){return this._config?.name||""}get _icon(){return this._config?.icon||""}get _state(){return this._config?.state||""}get _text(){return this._config?.text||""}get _hash(){return this._config?.hash||"#pop-up-name"}get _trigger_entity(){return this._config?.trigger_entity||""}get _trigger_state(){return this._config?.trigger_state||""}get _trigger_close(){return this._config?.trigger_close||!1}get _margin(){return this._config?.margin||"7px"}get _margin_top_mobile(){return this._config?.margin_top_mobile||"0px"}get _margin_top_desktop(){return this._config?.margin_top_desktop||"0px"}get _width_desktop(){return this._config?.width_desktop||"540px"}get _bg_color(){return this._config?.bg_color||""}get _bg_opacity(){return void 0!==this._config?.bg_opacity?this._config?.bg_opacity:"88"}get _bg_blur(){return void 0!==this._config?.bg_blur?this._config?.bg_blur:"10"}get _backdrop_blur(){return void 0!==this._config?.backdrop_blur?this._config?.backdrop_blur:"0"}get _shadow_opacity(){return void 0!==this._config?.shadow_opacity?this._config?.shadow_opacity:"0"}get _rise_animation(){return void 0===this._config?.rise_animation||this._config?.rise_animation}get _auto_close(){return this._config?.auto_close||""}get _close_on_click(){return this._config?.close_on_click||!1}get _close_by_clicking_outside(){return this._config?.close_by_clicking_outside??!0}get _background_update(){return this._config?.background_update||!1}get _icon_open(){return this._config?.icon_open||""}get _icon_close(){return this._config?.icon_close||""}get _icon_down(){return this._config?.icon_down||""}get _icon_up(){return this._config?.icon_up||""}get _open_service(){return this._config?.open_service||"cover.open_cover"}get _close_service(){return this._config?.close_service||"cover.close_cover"}get _stop_service(){return this._config?.stop_service||"cover.stop_cover"}get _auto_order(){return this._config?.auto_order||!1}get _highlight_current_view(){return this._config?.highlight_current_view||!1}get _show_state(){const e="state"===this._config?.card_type;return this._config?.show_state||e}get _show_attribute(){const e="state"===this._config.card_type;return this._config.show_attribute||e}get _show_last_changed(){const e="state"===this._config.card_type;return this._config.show_last_changed||this._config.show_last_updated||e}get _attribute(){return this._config.attribute||!1}get _hide_backdrop(){return this._config.hide_backdrop??!1}get _hide_gradient(){return this._config.hide_gradient||!1}get _hide_play_pause_button(){return this._config.hide?.play_pause_button||!1}get _hide_next_button(){return this._config.hide?.next_button||!1}get _hide_previous_button(){return this._config.hide?.previous_button||!1}get _hide_volume_button(){return this._config.hide?.volume_button||!1}get _hide_power_button(){return this._config.hide?.power_button||!1}get _sub_button(){return this._config.sub_button||""}get _button_action(){return this._config.button_action||""}get _open_action(){return this._config.open_action||""}get _close_action(){return this._config.close_action||""}get _show_header(){return this._config.show_header??!0}get _slide_to_close_distance(){return this._config.slide_to_close_distance??400}get _slider_live_update(){return this._config.slider_live_update??!1}get _cover_background(){return this._config.cover_background??!1}get _tap_action(){return{action:this._config.tap_action?.action||"more-info",navigation_path:this._config.tap_action?.navigation_path||"",url_path:this._config.tap_action?.url_path||"",service:this._config.tap_action?.service||"",target_entity:this._config.tap_action?.target?.entity_id||"",data:this._config.tap_action?.data||""}}get _double_tap_action(){return{action:this._config.double_tap_action?.action||"toggle",navigation_path:this._config.double_tap_action?.navigation_path||"",url_path:this._config.double_tap_action?.url_path||"",service:this._config.double_tap_action?.service||"",target_entity:this._config.double_tap_action?.target?.entity_id||"",data:this._config.double_tap_action?.data||""}}get _hold_action(){return{action:this._config.hold_action?.action||"toggle",navigation_path:this._config.hold_action?.navigation_path||"",url_path:this._config.hold_action?.url_path||"",service:this._config.hold_action?.service||"",target_entity:this._config.hold_action?.target?.entity_id||"",data:this._config.hold_action?.data||""}}get _selectable_attributes(){return["source_list","sound_mode_list","hvac_modes","fan_modes","swing_modes","preset_modes","effect_list"]}render(){if(!this.hass)return ce``;const t=document.querySelector("body > home-assistant").shadowRoot.querySelector("hui-dialog-edit-card").shadowRoot.querySelector("ha-dialog > div.content > div.element-preview");if("sticky"!==t.style.position&&(t.style.position="sticky",t.style.top="0"),!this.listsUpdated){const s=e=>({label:e,value:e});this.allEntitiesList=Object.keys(this.hass.states).map(s),this.lightList=Object.keys(this.hass.states).filter((e=>"light"===e.substr(0,e.indexOf(".")))).map(s),this.sensorList=Object.keys(this.hass.states).filter((e=>"sensor"===e.substr(0,e.indexOf(".")))).map(s),this.binarySensorList=Object.keys(this.hass.states).filter((e=>"binary_sensor"===e.substr(0,e.indexOf(".")))).map(s),this.coverList=Object.keys(this.hass.states).filter((e=>"cover"===e.substr(0,e.indexOf(".")))).map(s),this.mediaPlayerList=Object.keys(this.hass.states).filter((e=>"media_player"===e.substr(0,e.indexOf(".")))).map(s),this.climateList=Object.keys(this.hass.states).filter((e=>"climate"===e.substr(0,e.indexOf(".")))).map(s),this.inputSelectList=Object.keys(this.hass.states).filter((e=>{const t=this.hass.states[e],n=e.substr(0,e.indexOf(".")),o="input_select"===n||"select"===n,a=this._selectable_attributes.some((e=>t.attributes?.[e]));return o||a})).map(s),this.attributeList=Object.keys(this.hass.states[this._entity]?.attributes||{}).map((e=>{let t=this.hass.states[this._entity];return{label:this.hass.formatEntityAttributeName(t,e),value:e}})),this.cardTypeList=[{label:"Button (Switch, slider, ...)",value:"button"},{label:"Cover",value:"cover"},{label:"Climate",value:"climate"},{label:"Empty column",value:"empty-column"},{label:"Horizontal buttons stack",value:"horizontal-buttons-stack"},{label:"Media player",value:"media-player"},{label:"Pop-up",value:"pop-up"},{label:"Select",value:"select"},{label:"Separator",value:"separator"}],this.buttonTypeList=[{label:"Switch",value:"switch"},{label:"Slider",value:"slider"},{label:"State",value:"state"},{label:"Name / Text",value:"name"}],this.tapActionTypeList=[{label:"More info",value:"more-info"},{label:"Toggle",value:"toggle"},{label:"Navigate",value:"navigate"},{label:"URL",value:"url"},{label:"Call service",value:"call-service"},{label:"Assist",value:"assist"},{label:"No action",value:"none"}],this.listsUpdated=!0}const n=this.allEntitiesList,o=(this.lightList,this.sensorList,this.coverList),a=this.cardTypeList,i=this.buttonTypeList,r="name"===this._config?.button_type;if("pop-up"===this._config?.card_type){const l=this._config?.trigger??[];return ce` -
- ${this.makeDropdown("Card type","card_type",a)} - - -

- - Header settings -

-
- - -
- -
-
- You can completely hide the pop-up header, including the close button. To close it when hidden, either make a long swipe within the pop-up or click outside of it. -
-
- ${this.makeDropdown("Button type","button_type",i)} - ${this.makeDropdown("Optional - Entity","entity",n,r)} - - ${this.makeDropdown("Optional - Icon","icon")} - ${this.makeShowState()} -
- -

- - Tap action on icon -

-
- ${this.makeActionPanel("Tap action")} - ${this.makeActionPanel("Double tap action")} - ${this.makeActionPanel("Hold action")} -
-
- -

- - Tap action on button -

-
- ${this.makeActionPanel("Tap action",this._button_action,"name"!==this._config.button_type?"state"===this._config.button_type?"more-info":"toggle":"none","button_action")} - ${this.makeActionPanel("Double tap action",this._button_action,"name"!==this._config.button_type?"state"===this._config.button_type?"more-info":"toggle":"none","button_action")} - ${this.makeActionPanel("Hold action",this._button_action,"name"!==this._config.button_type?"more-info":"none","button_action")} -
-
- ${this.makeSubButtonPanel()} -
-
-
- -

- - Pop-up settings -

-
- - - - -
- -
-
- - -
- -
-
- - -
- -
-
- Background updates are only recommended if you encounter issues with certain cards within your pop-up. -
-
- -

- - Pop-up trigger -

-
- this._conditionChanged(e)} - > - - - The pop-up will be opened when ALL conditions are fulfilled. For example you can open a "Security" pop-up with a camera when a person is in front of your house. You can also create a toggle helper (input_boolean) and trigger its opening/closing in an automation. - -
-
- -

- - Pop-up open/close action -

-
- ${this.makeActionPanel("Open action",this._config,"none")} - ${this.makeActionPanel("Close action",this._config,"none")} - This allows you to trigger an action on pop-up open/close. -
-
- -

- - Styling options -

-
- ${this.makeLayoutOptions()} - -

- - Pop-up styling -

-
- - - - - - - - - - - -
- -
-
- Set this toggle to true on the first pop-up of your main dashboard to hide the darker backdrop behind all pop-ups. You can add a blurred effect to it by changing Optional - Backdrop blur just below, but be aware that this can slow down your dashboard when opening pop-ups. It is now set to 0 for that reason. -
-
- ${this.makeStyleEditor()} -
-
- - This card allows you to convert any vertical stack into a pop-up. Each pop-up is hidden by default and can be opened by targeting its link (e.g., '#pop-up-name'), with any card that supports the navigate action, or with the horizontal buttons stack that is included. -

Important: This card must be placed within a vertical stack card at the topmost position to function properly. To avoid misalignment with your view, place vertical stacks/pop-ups after all other dashboard cards. It should be called from the same view to work. -

You can also watch this video that explains how to create your first pop-up. -
- Since v1.7.0, the optimized mode has been removed to ensure stability and to simplify updates for everyone. However, if your pop-up content still appears on the screen during page loading, you can install this similar fix. - ${this.makeVersion()} -
- `}if("button"===this._config?.card_type)return ce` -
- ${this.makeDropdown("Card type","card_type",a)} - ${this.makeDropdown("Button type","button_type",i)} - ${this.makeDropdown("slider"!==this._button_type?"Entity (toggle)":"Entity (light, media_player, cover or input_number)","entity",n,r)} - -

- - Button settings -

-
- - ${this.makeDropdown("Optional - Icon","icon")} - ${this.makeShowState()} - - -
- -
-
- By default, sliders are updated only on release. You can toggle this option to enable live updates while sliding. -
-
- -

- - Tap action on icon -

-
- ${this.makeActionPanel("Tap action")} - ${this.makeActionPanel("Double tap action")} - ${this.makeActionPanel("Hold action")} -
-
- -

- - Tap action on button -

-
- ${this.makeActionPanel("Tap action",this._button_action,"name"!==this._config.button_type?"state"===this._config.button_type?"more-info":"toggle":"none","button_action")} - ${this.makeActionPanel("Double tap action",this._button_action,"name"!==this._config.button_type?"state"===this._config.button_type?"more-info":"toggle":"none","button_action")} - ${this.makeActionPanel("Hold action",this._button_action,"name"!==this._config.button_type?"more-info":"none","button_action")} -
-
- -

- - Styling options -

-
- ${this.makeLayoutOptions()} - ${this.makeStyleEditor()} -
-
- ${this.makeSubButtonPanel()} - This card allows you to control your entities. ${"slider"===this._config.button_type?"Supported entities: Light (brightness), media player (volume), cover (position), fan (percentage), climate (temperature), input number and number (value). To access color / control of an entity, simply tap on the icon.":""} - ${this.makeVersion()} -
- `;if("separator"===this._config?.card_type)return ce` -
- ${this.makeDropdown("Card type","card_type",a)} - - ${this.makeDropdown("Icon","icon")} - -

- - Styling options -

-
- ${this.makeLayoutOptions()} - ${this.makeStyleEditor()} -
-
- ${this.makeSubButtonPanel()} - This card is a simple separator for dividing your pop-up into categories / sections. e.g. Lights, Devices, Covers, Settings, Automations... - ${this.makeVersion()} -
- `;if("horizontal-buttons-stack"===this._config?.card_type){if(!this.buttonAdded)for(this.buttonAdded=!0,this.buttonIndex=0;this._config[this.buttonIndex+1+"_link"];)this.buttonIndex++;function c(){this.buttonIndex++,this.requestUpdate()}return ce` -
- ${this.makeDropdown("Card type","card_type",a)} -
- ${this.makeButton()} -
- - - -
- -
-
- -

- - Styling options -

-
- -

- - Horizontal buttons stack styling -

-
- - - - -
- -
-
- - -
- -
-
- - -
- -
-
-
-
- ${this.makeStyleEditor()} -
-
- This card is the companion to the pop-up card, allowing you to open the corresponding pop-ups. It also allows you to open any page of your dashboard. In addition, you can add your motion sensors so that the order of the buttons adapts according to the room you just entered. This card is scrollable, remains visible and acts as a footer. - ${this.makeVersion()} -
- `}if("cover"===this._config?.card_type)return ce` -
- ${this.makeDropdown("Card type","card_type",a)} - ${this.makeDropdown("Entity","entity",o)} - -

- - Cover settings -

-
- - ${this.makeDropdown("Optional - Open icon","icon_open")} - ${this.makeDropdown("Optional - Closed icon","icon_close")} - ${this.makeShowState()} -
-
- -

- - Custom services -

-
- - - -
-
- -

- - Tap action on icon -

-
- ${this.makeActionPanel("Tap action")} - ${this.makeActionPanel("Double tap action")} - ${this.makeActionPanel("Hold action")} -
-
- -

- - Styling options -

-
- ${this.makeLayoutOptions()} - -

- - Cover styling -

-
- ${this.makeDropdown("Optional - Arrow down icon","icon_down")} - ${this.makeDropdown("Optional - Arrow up icon","icon_up")} -
-
- ${this.makeStyleEditor()} -
-
- ${this.makeSubButtonPanel()} - This card allows you to control your covers. - ${this.makeVersion()} -
- `;if("media-player"===this._config?.card_type)return ce` -
- ${this.makeDropdown("Card type","card_type",a)} - ${this.makeDropdown("Entity","entity",this.mediaPlayerList)} - -

- - Media player settings -

-
- - ${this.makeDropdown("Optional - Icon","icon")} - ${this.makeShowState()} -
-
- -

- - Display/hide buttons -

-
- - -
- -
-
- - -
- -
-
- - -
- -
-
- - -
- -
-
- - -
- -
-
-
-
- -

- - Tap action on icon -

-
- ${this.makeActionPanel("Tap action")} - ${this.makeActionPanel("Double tap action")} - ${this.makeActionPanel("Hold action")} -
-
- -

- - Styling options -

-
- ${this.makeLayoutOptions()} - -

- - Media player styling -

-
- - -
- -
-
-
-
- ${this.makeStyleEditor()} -
-
- ${this.makeSubButtonPanel()} - This card allows you to control a media player. You can tap on the icon to get more control. - ${this.makeVersion()} -
- `;if("empty-column"===this._config?.card_type)return ce` -
- ${this.makeDropdown("Card type","card_type",a)} - -

- - Styling options -

-
- ${this.makeLayoutOptions()} -
-
- Just an empty card to fill any empty column. - ${this.makeVersion()} -
- `;if("select"===this._config?.card_type){const d=this._config.entity,u=(d?.startsWith("input_select")||d?.startsWith("select")||this._config.select_attribute,this.hass.states[d]?.attributes),b=this._selectable_attributes.some((e=>u?.[e])),p=Object.keys(this.hass.states[d]?.attributes||{}).map((e=>{let t=this.hass.states[d];return{label:this.hass.formatEntityAttributeName(t,e),value:e}})).filter((e=>this._selectable_attributes.includes(e.value)));return ce` -
- ${this.makeDropdown("Card type","card_type",a)} - ${this.makeDropdown("Entity","entity",this.inputSelectList)} - ${b?ce` -
- -
- `:""} - -

- - Button settings -

-
- - ${this.makeDropdown("Optional - Icon","icon")} - ${this.makeShowState()} -
-
- -

- - Tap action on icon -

-
- ${this.makeActionPanel("Tap action")} - ${this.makeActionPanel("Double tap action")} - ${this.makeActionPanel("Hold action")} -
-
- -

- - Styling options -

-
- ${this.makeLayoutOptions()} - ${this.makeStyleEditor()} -
-
- ${this.makeSubButtonPanel()} - - This card allows you to have a select menu for your - input_select, select entities, and - any other entities that have attribute lists like - source_list, sound_mode_list, - hvac_modes, fan_modes, - swing_modes, preset_modes, or - effect_list. - - ${this.makeVersion()} -
- `}if("climate"===this._config?.card_type){if("climate"===this._config.card_type&&!this.climateSubButtonsAdded&&this._config.entity){const h=this.hass.states[this._config.entity]?.attributes?.hvac_modes;this._config.sub_button&&0!==this._config.sub_button.length||(this._config.sub_button=[h?{name:"HVAC modes menu",select_attribute:"hvac_modes",state_background:!1,show_arrow:!1}:null].filter(Boolean)),this.climateSubButtonsAdded=!0}return ce` -
- ${this.makeDropdown("Card type","card_type",a)} - ${this.makeDropdown("Entity","entity",this.climateList)} - -

- - Climate settings -

-
- - ${this.makeDropdown("Optional - Icon","icon")} - ${this.makeShowState()} - ${this.hass.states[this._config.entity]?.attributes?.target_temp_low?ce` - - -
- -
-
- `:""} - ${this.hass.states[this._config.entity]?.attributes?.target_temp_high?ce` - - -
- -
-
- `:""} - - -
- -
-
-
-
- -

- - Tap action on icon -

-
- ${this.makeActionPanel("Tap action")} - ${this.makeActionPanel("Double tap action")} - ${this.makeActionPanel("Hold action")} -
-
- -

- - Styling options -

-
- ${this.makeLayoutOptions()} - ${this.makeStyleEditor()} -
-
- ${this.makeSubButtonPanel()} - This card allows you to control your climate entities. You can also add a sub-button that display a select menu for your climate modes (check if you have "Select menu" available when you create a new sub-button). - ${this.makeVersion()} -
- `}return this._config?.card_type?void 0:ce` -
- ${this.makeDropdown("Card type","card_type",a)} - You need to add a card type first. Please note that in some cases, a page refresh might be needed after exiting the editor. - -

The Bubble Card ${e} changelog is available here.

-
-

If you have an issue or a question you can find more details in the GitHub documentation. You can also find useful resources and help in these links.

-
- - - - -
-
-

I dedicate most of my spare time to making this project the best it can be. So if you appreciate my work, any donation would be a great way to show your support.

-
- - -
-

Looking for more advanced examples? Check out my Patreon for exclusive custom styles and templates!

- -

Thank you! 🍻

- ${this.makeVersion()} -
- `}makeLayoutOptions(){return ce` - - -

- - Layout options for sections -

-
- - -
-
- `}makeShowState(e=this._config,t="",n=!1,o){const a=e?.entity??this._config.entity??"",i="name"===this._config.button_type,r=a?.startsWith("input_select")||a?.startsWith("select")||e.select_attribute,s=Object.keys(this.hass.states[a]?.attributes||{}).map((e=>{let t=this.hass.states[a];return{label:this.hass.formatEntityAttributeName(t,e),value:e}}));return ce` - ${"sub_button"!==n?ce` - - -
- -
-
- `:""} - ${"sub_button"===n?ce` - - -
- -
-
- `:""} - ${"sub_button"===n&&(e?.show_background??1)?ce` - - -
- -
-
- `:""} - ${"sub_button"===n&&(e?.state_background??1)&&a.startsWith("light")?ce` - - -
- -
-
- `:""} - ${"sub_button"!==n&&a.startsWith("light")?ce` - - -
- -
-
- `:""} - - -
- -
-
- ${"sub_button"!==n?ce` - - -
- -
-
- `:""} - - -
- -
-
- - -
- -
-
- - -
- -
-
- - -
- -
-
- ${e?.show_attribute?ce` -
- -
- `:""} - ${"sub_button"===n&&r?ce` - - -
- -
-
- `:""} - `}makeDropdown(e,t,n,o){return e.includes("icon")||e.includes("Icon")?ce` -
- -
- `:ce` -
- -
- `}makeActionPanel(e,t=this._config,n,o,a=this._config){const i="Tap action"===e?"mdi:gesture-tap":"Double tap action"===e?"mdi:gesture-double-tap":"Hold action"===e?"mdi:gesture-tap-hold":"mdi:gesture-tap",r="Tap action"===e?"tap_action":"Double tap action"===e?"double_tap_action":"Hold action"===e?"hold_action":"Open action"===e?"open_action":"close_action",s=t===this._config;return n||(n=s&&"Tap action"===e?"name"!==this._config.button_type?"more-info":"none":s?"name"!==this._config.button_type?"toggle":"none":""),ce` - -

- - ${e} -

-
- this._ActionChanged(e,o,a)} - > -
-
- `}makeSubButtonPanel(){const e=this._config?.sub_button?.map(((e,t)=>{if(!e)return;const n="sub_button."+t+".",o=e.entity??this._config.entity,a=o?.startsWith("input_select")||o?.startsWith("select")||e.select_attribute,i=this.hass.states[o]?.attributes,r=this._selectable_attributes.some((e=>i?.[e])),s=Object.keys(this.hass.states[o]?.attributes||{}).map((e=>{let t=this.hass.states[o];return{label:this.hass.formatEntityAttributeName(t,e),value:e}})).filter((e=>this._selectable_attributes.includes(e.value))),l=e.visibility??[];return ce` - -

- - ${this._config.sub_button[t]?"Button "+(t+1)+(e.name?" - "+e.name:""):"New button"} - - ${t>0?ce``:""} - ${t - - `:""} -

-
- -

- - Button settings -

-
-
- -
- ${r?ce` -
- -
- `:""} -
- -
-
- -
- ${this.makeShowState(e,n,"sub_button",t)} -
-
- -

- - Tap action on button -

-
- ${this.makeActionPanel("Tap action",e,"more-info","sub_button",t)} - ${this.makeActionPanel("Double tap action",e,"none","sub_button",t)} - ${this.makeActionPanel("Hold action",e,"none","sub_button",t)} -
-
- -

- - Visibility -

-
- this._conditionChanged(e,t,"sub_button")} - > - - - The sub-button will be shown when ALL conditions are fulfilled. If no conditions are set, the sub-button will always be shown. - -
-
-
-
- `}));return ce` - -

- - Sub-buttons editor -

-
- ${e} - - - Add new customized buttons fixed to the right. - These buttons can also display a select menu for your - input_select, select entities, and - any other entities that have attribute lists like - source_list, sound_mode_list, - hvac_modes, fan_modes, - swing_modes, preset_modes, or - effect_list. - -
-
- `}makeButton(){let e=[];for(let t=1;t<=this.buttonIndex;t++)e.push(ce` -
- -

- - Button ${t} ${this._config[t+"_name"]?"- "+this._config[t+"_name"]:""} - -

-
- - - - - - In fact you can also get the auto order with any entity type, for example you can add light groups to these fields and the order will change based on the last changed states. -
-
-
- `);return e}makeVersion(){return ce` -

- Bubble Card - - ${e} - -

- `}removeButton(e){delete this._config[e+"_name"],delete this._config[e+"_icon"],delete this._config[e+"_link"],delete this._config[e+"_entity"],delete this._config[e+"_pir_sensor"];for(let t=e;t -

- - Custom styles / Templates -

-
-
- -
- - For advanced users, you can edit the CSS style of this card in this editor. More information here. You don't need to add styles: |, it will be added automatically. You can also add templates. -

Looking for more advanced examples? Check out my Patreon for exclusive custom styles and advanced templates, this is also the best way to show your support to my project! -
-
- - `}_valueChanged(e){const t=e.target,o=e.detail;let a;if("HA-SWITCH"===t.tagName?a=t.checked:void 0!==t.value&&(a="string"==typeof t.value?t.value.replace(",","."):t.value),"string"==typeof a&&(a.endsWith(".")||"-"===a))return;const{configValue:i,checked:r}=t;if(i){const n=i.split(".");let r=this._config;for(let e=0;ethis._arrayValueChange(e,t,o)),10);this._config[o]=this._config[o]||[];let a=[...this._config[o]];a[e]=a[e]||{},a[e]={...a[e],...t},this._config[o]=a,(0,n.BX)(this,"config-changed",{config:this._config}),this.requestUpdate()}_ActionChanged(e,t,o){if(e.stopPropagation(),"button_action"===t){var a=!!this._config[t],i=null!=e.detail.value[e.currentTarget.__schema[0].name];(a||i)&&(this._config[t]=e.detail.value)}else if(t){this._config[t]=this._config[t]||[];let n=[...this._config[t]];n[o]=e.detail.value,this._config[t]=n}else this._config=e.detail.value;(0,n.BX)(this,"config-changed",{config:this._config})}_computeLabelCallback=e=>{switch(e.name){case"theme":return"Theme";case"hold_action":return"Hold Action";case"double_tap_action":return"Double tap action";case"open_action":return"Open action";case"close_action":return"Close action";default:return"Tap action"}};_conditionChanged(e,t,o){if(e.stopPropagation(),o){this._config[o]=this._config[o]||[];let n=[...this._config[o]];n[t]=n[t]||{};const a=e.detail.value;n[t]={...n[t],visibility:a},this._config[o]=n}else if("pop-up"===this._config.card_type){const t=e.detail.value;this._config={...this._config,trigger:t}}(0,n.BX)(this,"config-changed",{config:this._config}),this.requestUpdate()}static get styles(){return de` - div { - display: grid; - grid-gap: 12px; - } - - ha-combo-box[label="Card type"]::after { - content: ""; - position: relative; - background-color: var(--background-color, var(--secondary-background-color)); - display: block; - width: 100%; - height: 1px; - top: 12px; - margin-bottom: 12px !important; - opacity: 0.6; - } - - #add-button { - margin: 0 0 14px 0; - color: var(--text-primary-color); - width: 100%; - height: 32px; - border-radius: 16px; - border: none; - background-color: var(--accent-color); - cursor: pointer; - } - - p { - margin-bottom: 4px; - } - - ha-icon, a, p, button, h4 { - color: var(--primary-text-color) !important; - } - - hr { - display: inline-block; - width: 100%; - border: 1px solid var(--background-color, var(--secondary-background-color)); - opacity: 0.6; - margin: 8px 0 0 0; - } - - code { - background: var(--accent-color); - background-blend-mode: darken; - padding: 2px 4px; - border-radius: 6px; - } - - .button-header { - height: auto; - width: 100%; - display: inline-flex; - align-items: center; - margin: 0 8px; - } - - .button-number { - display: inline-flex; - width: auto; - } - - .remove-button { - display: inline-flex; - border-radius: 50%; - width: 24px; - height: 24px; - text-align: center; - line-height: 24px; - vertical-align: middle; - cursor: pointer; - } - - .content { - margin: 12px 4px 14px 4px; - } - - h4 > ha-icon { - margin: 8px; - } - - ha-textfield { - width: 100%; - } - - h3 { - margin: 4px 0; - } - - .code-editor { - overflow: scroll; - } - - .icon-button { - background: var(--accent-color); - border: none; - cursor: pointer; - padding: 8px; - margin: 0; - border-radius: 32px; - font-weight: bold; - } - - .icon-button.header { - background: none; - float: right; - padding: 0; - margin: 0 8px; - } - - ha-card-conditions-editor { - margin-top: -12px; - } - `}})}(),document.createElement("bubble-card-editor")}getLayoutOptions(){let e=1;"pop-up"===this.config.card_type?e=0:"horizontal-buttons-stack"===this.config.card_type?e=1:["cover"].includes(this.config.card_type)&&(e=2);let t=4;return"pop-up"===this.config.card_type?t=0:"horizontal-buttons-stack"===this.config.card_type&&(t=4),{grid_columns:this.config.columns??t,grid_rows:this.config.rows??e}}}customElements.define("bubble-card",ue),window.customCards=window.customCards||[],window.customCards.push({type:"bubble-card",name:"Bubble Card",preview:!1,description:"A minimalist card collection with a nice pop-up touch.",documentationURL:"https://github.com/Clooos/Bubble-Card/"}),console.info(`%c Bubble Card %c ${e} `,"background-color: #555;color: #fff;padding: 3px 2px 3px 3px;border-radius: 14px 0 0 14px;font-family: DejaVu Sans,Verdana,Geneva,sans-serif;text-shadow: 0 1px 0 rgba(1, 1, 1, 0.3)","background-color: #506eac;color: #fff;padding: 3px 3px 3px 2px;border-radius: 0 14px 14px 0;font-family: DejaVu Sans,Verdana,Geneva,sans-serif;text-shadow: 0 1px 0 rgba(1, 1, 1, 0.3)")})()})(); \ No newline at end of file diff --git a/config/www/community/Bubble-Card/bubble-card.js.gz b/config/www/community/Bubble-Card/bubble-card.js.gz deleted file mode 100644 index cdb80db5776586bde5296535f21247877479c0dc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 40732 zcmV(uK+<-E(cK;XeR_CwrELiUzInj*jr|c%~hP1L-FJJD#kxP7X3cY)^T3m{3Tj# zVlVTjUaphs-Cb@#%>KR?g^8EbV)VCsnMB)kxb({4c78d*b)5v)KhlqE>u-bcZ^sjF zKHsFU*q7S+4(bITzg=h0+I%jh#*L`2LU;yU4S$gwg!v4KMR7TV?r+B1^pX;1=_EiZbUZ%l6K9eB@HzV;$1-3rp&;^p$9P#|)^RK@D z^4Y)7zy0p}mw)=<`PcLBUVi=O7tiM-VA_Vs@_>)~Q-EBQPBk+jW0*mPGn|Fl-QDdL z_-DFVt->&!-EJo-uM&l6eC<#rB(>Ac=_%|FlQ&tibVk5avmsBqyQ_W%izr>hs|bEi zzRI#y9Hm}1tP}lU0gEOBx|HFFGz27m!{`OE50`NnC95zE;^8tW*2p4Qw<14?wt+HV zVT@ar7_G-vYv5i`rW?etKGNt-at;XQs0jDQh>LV~krZW?-ylO?MT?jw!9&CZt{as8 zMC7kG#f6?3G@D#yiwO6q0kHb?JYKrNEr&cwVVTx@m_+ojk=`=I?7^l5iywItOh1i# z72Sl;m`IA!jqrwe!=~;3~C4y%*|{`$9!g0irj4FPIWdhXEmfolg*C@*^e<}Twmz+UHz zRa6v&$)r&PVNzBOG*EUmX4fgLmDwa%j)`19OUnPu^M>_e`30sOvuytsIIg%$204b1+lRgtw zv&E%elciNZ<*r?2KyMppSgUdkq@7E6r0=Q@(xG01r4AUiN;Q>q4k24CHn2h#Fpu=T z&SS`5G^g2tCnXNBlr)YykweKh zsj>MoTf6mo=7o#sEH1@x%jjy|Y;|!F!`v*Ae6bR}Cq5yPIH0TSGVW28mE(1?P1;y+ zSDPYP4AQKO<;kiNdDYE&2{Ye75U}`~;Q7~Jv*wlFB&T^~q7jh6)&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GF4xyy)lFvVC@BK z7qH^^y5%iInI$Q*VtcXW_Fmloz_PANJDM!}RTNAo~YhxX-)hzX6rNzf>GW3vOzo zk44=MyC-lJg#DtOMk&oQ8>50n_MfvR((k`e?j@yD^VgahYIFK8n))@~0kIt3VrF~Y zL{ok?82CE1ah=O#1AH(T$mMd$>T;yx2&W?CRn{3!or{J9YC z4cpWIlTxpc93Hk4pvq?w@fgW0<0qN=S<{P~;*(B1An8*o+itleK^NI0vMLx@iSBqTP87KaT*@X4-WBM&nuOABk8F7YSFgF5mJ7yT=- z<#$51Vkmr9c8?*`3%q~Rx3t)FZ7c37A=eKH<=J`@D*i#S^ZQxZr!p%m*Kc92^URDr zFfRE7>gO(o>~*bz3$bVKyRI7^&&HTx2Cc2%^=vyI*h#7Fv4$x`jj@iPZB9MgoEE(; zYds7mc&ZKTty_Bb8GpcaW|w6od5uwn2l*8}-hfO+s}n|R2Eqf?={xA~yI*7OUA5&!@I diff --git a/config/www/community/button-card/button-card.js b/config/www/community/button-card/button-card.js deleted file mode 100755 index 50b17e47..00000000 --- a/config/www/community/button-card/button-card.js +++ /dev/null @@ -1,559 +0,0 @@ -function t(t,e,i,n){var r,s=arguments.length,a=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(a=(s<3?r(a):s>3?r(e,i,a):r(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a}const e=window,i=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),r=new WeakMap;class s{constructor(t,e,i){if(this._$cssResult$=!0,i!==n)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(i&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&r.set(e,t))}return t}toString(){return this.cssText}}const a=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new s("string"==typeof t?t:t+"",void 0,n))(e)})(t):t;var o;const l=window,c=l.trustedTypes,h=c?c.emptyScript:"",u=l.reactiveElementPolyfillSupport,d={toAttribute(t,e){switch(e){case Boolean:t=t?h: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}},f=(t,e)=>e!==t&&(e==e||t==t),m={attribute:!0,type:String,converter:d,reflect:!1,hasChanged:f},p="finalized";class g 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 n=this._$Ep(i,e);void 0!==n&&(this._$Ev.set(n,i),t.push(n))})),t}static createProperty(t,e=m){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,n=this.getPropertyDescriptor(t,i,e);void 0!==n&&Object.defineProperty(this.prototype,t,n)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(n){const r=this[t];this[e]=n,this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||m}static finalize(){if(this.hasOwnProperty(p))return!1;this[p]=!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(a(t))}else void 0!==t&&e.push(a(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 n=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,n)=>{i?t.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((i=>{const n=document.createElement("style"),r=e.litNonce;void 0!==r&&n.setAttribute("nonce",r),n.textContent=i.cssText,t.appendChild(n)}))})(n,this.constructor.elementStyles),n}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=m){var n;const r=this.constructor._$Ep(t,i);if(void 0!==r&&!0===i.reflect){const s=(void 0!==(null===(n=i.converter)||void 0===n?void 0:n.toAttribute)?i.converter:d).toAttribute(e,i.type);this._$El=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$El=null}}_$AK(t,e){var i;const n=this.constructor,r=n._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=n.getPropertyOptions(r),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:d;this._$El=r,this[r]=s.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let n=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||f)(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))):n=!1),!this.isUpdatePending&&n&&(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 _;g[p]=!0,g.elementProperties=new Map,g.elementStyles=[],g.shadowRootOptions={mode:"open"},null==u||u({ReactiveElement:g}),(null!==(o=l.reactiveElementVersions)&&void 0!==o?o:l.reactiveElementVersions=[]).push("1.6.2");const v=window,b=v.trustedTypes,y=b?b.createPolicy("lit-html",{createHTML:t=>t}):void 0,w="$lit$",$=`lit$${(Math.random()+"").slice(9)}$`,A="?"+$,x=`<${A}>`,k=document,S=()=>k.createComment(""),E=t=>null===t||"object"!=typeof t&&"function"!=typeof t,O=Array.isArray,T="[ \t\n\f\r]",C=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,M=/-->/g,j=/>/g,H=RegExp(`>|${T}(?:([^\\s"'>=/]+)(${T}*=${T}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),D=/'/g,R=/"/g,N=/^(?:script|style|textarea|title)$/i,P=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),z=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),L=new WeakMap,F=k.createTreeWalker(k,129,null,!1);function V(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==y?y.createHTML(e):e}const U=(t,e)=>{const i=t.length-1,n=[];let r,s=2===e?"":"",a=C;for(let o=0;o"===l[0]?(a=null!=r?r:C,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,i=l[1],a=void 0===l[3]?H:'"'===l[3]?R:D):a===R||a===D?a=H:a===M||a===j?a=C:(a=H,r=void 0);const u=a===H&&t[o+1].startsWith("/>")?" ":"";s+=a===C?e+x:c>=0?(n.push(i),e.slice(0,c)+w+e.slice(c)+$+u):e+$+(-2===c?(n.push(void 0),o):u)}return[V(t,s+(t[i]||"")+(2===e?"":"")),n]};class B{constructor({strings:t,_$litType$:e},i){let n;this.parts=[];let r=0,s=0;const a=t.length-1,o=this.parts,[l,c]=U(t,e);if(this.el=B.createElement(l,i),F.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(n=F.nextNode())&&o.length0){n.textContent=b?b.emptyScript:"";for(let i=0;iO(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!==I&&E(this._$AH)?this._$AA.nextSibling.data=t:this.$(k.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:n}=t,r="number"==typeof n?this._$AC(t):(void 0===n.el&&(n.el=B.createElement(V(n.h,n.h[0]),this.options)),n);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(i);else{const t=new q(r,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=L.get(t.strings);return void 0===e&&L.set(t.strings,e=new B(t)),e}T(t){O(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,n=0;for(const r of t)n===e.length?e.push(i=new Z(this.k(S()),this.k(S()),this,this.options)):i=e[n],i._$AI(r),n++;n2||""!==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(t,e=this,i,n){const r=this.strings;let s=!1;if(void 0===r)t=W(this,t,e,0),s=!E(t)||t!==this._$AH&&t!==z,s&&(this._$AH=t);else{const n=t;let a,o;for(t=r[0],a=0;a{var n,r;const s=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:e;let a=s._$litPart$;if(void 0===a){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;s._$litPart$=a=new Z(e.insertBefore(S(),t),t,void 0,null!=i?i:{})}return a._$AI(t),a})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return z}}nt.finalized=!0,nt._$litElement$=!0,null===(et=globalThis.litElementHydrateSupport)||void 0===et||et.call(globalThis,{LitElement:nt});const rt=globalThis.litElementPolyfillSupport;null==rt||rt({LitElement:nt}),(null!==(it=globalThis.litElementVersions)&&void 0!==it?it:globalThis.litElementVersions=[]).push("3.3.2");const st=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function at(t){return(e,i)=>void 0!==i?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,i):st(t,e)}const ot=({finisher:t,descriptor:e})=>(i,n)=>{var r;if(void 0===n){const n=null!==(r=i.originalKey)&&void 0!==r?r:i.key,s=null!=e?{kind:"method",placement:"prototype",key:n,descriptor:e(i.key)}:{...i,key:n};return null!=t&&(s.finisher=function(e){t(e,n)}),s}{const r=i.constructor;void 0!==e&&Object.defineProperty(i,n,e(n)),null==t||t(r,n)}};var lt;null===(lt=window.HTMLSlotElement)||void 0===lt||lt.prototype.assignedElements;class ct{constructor(t){this.startPress=e=>{t().then((t=>{t&&t.startPress(e)}))},this.endPress=()=>{t().then((t=>{t&&t.endPress()}))},this.startFocus=()=>{t().then((t=>{t&&t.startFocus()}))},this.endFocus=()=>{t().then((t=>{t&&t.endFocus()}))},this.startHover=()=>{t().then((t=>{t&&t.startHover()}))},this.endHover=()=>{t().then((t=>{t&&t.endHover()}))}}}const ht=1,ut=2,dt=t=>(...e)=>({_$litDirective$:t,values:e});class ft{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 mt="important",pt=" !"+mt,gt=dt(class extends ft{constructor(t){var e;if(super(t),t.type!==ht||"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 n=t[i];return null==n?e:e+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`}),"")}update(t,[e]){const{style:i}=t.element;if(void 0===this.ut){this.ut=new Set;for(const t in e)this.ut.add(t);return this.render(e)}this.ut.forEach((t=>{null==e[t]&&(this.ut.delete(t),t.includes("-")?i.removeProperty(t):i[t]="")}));for(const n in e){const t=e[n];if(null!=t){this.ut.add(n);const e="string"==typeof t&&t.endsWith(pt);n.includes("-")||e?i.setProperty(n,e?t.slice(0,-11):t,e?mt:""):i[n]=t}}return z}});class _t extends ft{constructor(t){if(super(t),this.et=I,t.type!==ut)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===I||null==t)return this.ft=void 0,this.et=t;if(t===z)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}_t.directiveName="unsafeHTML",_t.resultType=1;const vt=dt(_t),bt=dt(class extends ft{constructor(t){var e;if(super(t),t.type!==ht||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,n;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.nt)||void 0===i?void 0:i.has(t))&&this.it.add(t);return this.render(e)}const r=t.element.classList;this.it.forEach((t=>{t in e||(r.remove(t),this.it.delete(t))}));for(const s in e){const t=!!e[s];t===this.it.has(s)||(null===(n=this.nt)||void 0===n?void 0:n.has(s))||(t?(r.add(s),this.it.add(s)):(r.remove(s),this.it.delete(s)))}return z}}),yt=(t,e,i,n)=>{n=n||{},i=null==i?{}:i;const r=new Event(e,{bubbles:void 0===n.bubbles||n.bubbles,cancelable:Boolean(n.cancelable),composed:void 0===n.composed||n.composed});return r.detail=i,t.dispatchEvent(r),r},wt=(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,n;if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(i=n;0!=i--;)if(!wt(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(!wt(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(n=t.length,n!==e.length)return!1;for(i=n;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 r=Object.keys(t);if(n=r.length,n!==Object.keys(e).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=n;0!=i--;){const n=r[i];if(!wt(t[n],e[n]))return!1}return!0}return t!=t&&e!=e},$t="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;class At extends HTMLElement{constructor(){super(),this.holdTime=500,this.held=!1,this.cancelled=!1,this.isRepeating=!1,this.repeatCount=0,this.ripple=document.createElement("mwc-ripple")}connectedCallback(){Object.assign(this.style,{position:"fixed",width:$t?"100px":"50px",height:$t?"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((t=>{document.addEventListener(t,(()=>{this.cancelled=!0,this.timer&&(this.stopAnimation(),clearTimeout(this.timer),this.timer=void 0,this.isRepeating&&this.repeatTimeout&&(clearInterval(this.repeatTimeout),this.isRepeating=!1))}),{passive:!0})}))}bind(t,e){t.actionHandler&&wt(e,t.actionHandler.options)||(t.actionHandler?(t.removeEventListener("touchstart",t.actionHandler.start),t.removeEventListener("touchend",t.actionHandler.end),t.removeEventListener("touchcancel",t.actionHandler.end),t.removeEventListener("mousedown",t.actionHandler.start),t.removeEventListener("click",t.actionHandler.end),t.removeEventListener("keyup",t.actionHandler.handleEnter)):t.addEventListener("contextmenu",(t=>{const e=t||window.event;return e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0,e.returnValue=!1,!1})),t.actionHandler={options:e},e.disabled||(t.actionHandler.start=i=>{let n,r;this.cancelled=!1,i.touches?(n=i.touches[0].clientX,r=i.touches[0].clientY):(n=i.clientX,r=i.clientY),e.hasHold&&(this.held=!1,this.timer=window.setTimeout((()=>{this.startAnimation(n,r),this.held=!0,e.repeat&&!this.isRepeating&&(this.repeatCount=0,this.isRepeating=!0,this.repeatTimeout=setInterval((()=>{yt(t,"action",{action:"hold"}),this.repeatCount++,this.repeatTimeout&&e.repeatLimit&&this.repeatCount>=e.repeatLimit&&(clearInterval(this.repeatTimeout),this.isRepeating=!1)}),e.repeat))}),this.holdTime))},t.actionHandler.end=t=>{if(["touchend","touchcancel"].includes(t.type)&&this.cancelled)return void(this.isRepeating&&this.repeatTimeout&&(clearInterval(this.repeatTimeout),this.isRepeating=!1));const i=t.target;t.cancelable&&t.preventDefault(),e.hasHold&&(clearTimeout(this.timer),this.isRepeating&&this.repeatTimeout&&clearInterval(this.repeatTimeout),this.isRepeating=!1,this.stopAnimation(),this.timer=void 0),e.hasHold&&this.held?e.repeat||yt(i,"action",{action:"hold"}):e.hasDoubleClick?"click"===t.type&&t.detail<2||!this.dblClickTimeout?this.dblClickTimeout=window.setTimeout((()=>{this.dblClickTimeout=void 0,yt(i,"action",{action:"tap"})}),250):(clearTimeout(this.dblClickTimeout),this.dblClickTimeout=void 0,yt(i,"action",{action:"double_tap"})):yt(i,"action",{action:"tap"})},t.actionHandler.handleEnter=t=>{13===t.keyCode&&t.currentTarget.actionHandler.end(t)},t.addEventListener("touchstart",t.actionHandler.start,{passive:!0}),t.addEventListener("touchend",t.actionHandler.end),t.addEventListener("touchcancel",t.actionHandler.end),t.addEventListener("mousedown",t.actionHandler.start,{passive:!0}),t.addEventListener("click",t.actionHandler.end),t.addEventListener("keyup",t.actionHandler.handleEnter)))}startAnimation(t,e){Object.assign(this.style,{left:`${t}px`,top:`${e}px`,display:null}),this.ripple.disabled=!1,this.ripple.startPress(),this.ripple.unbounded=!0}stopAnimation(){this.ripple.endPress(),this.ripple.disabled=!0,this.style.display="none"}}customElements.define("button-card-action-handler",At);const xt=(t,e)=>{const i=(()=>{const t=document.body;if(t.querySelector("button-card-action-handler"))return t.querySelector("button-card-action-handler");const e=document.createElement("button-card-action-handler");return t.appendChild(e),e})();i&&i.bind(t,e)},kt=dt(class extends ft{update(t,[e]){return xt(t.element,e),z}render(t){}});function St(t,e){(function(t){return"string"==typeof t&&-1!==t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var i=function(t){return"string"==typeof t&&-1!==t.indexOf("%")}(t);return t=360===e?t:Math.min(e,Math.max(0,parseFloat(t))),i&&(t=parseInt(String(t*e),10)/100),Math.abs(t-e)<1e-6?1:t=360===e?(t<0?t%e+e:t%e)/parseFloat(String(e)):t%e/parseFloat(String(e))}function Et(t){return Math.min(1,Math.max(0,t))}function Ot(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function Tt(t){return t<=1?"".concat(100*Number(t),"%"):t}function Ct(t){return 1===t.length?"0"+t:String(t)}function Mt(t,e,i){t=St(t,255),e=St(e,255),i=St(i,255);var n=Math.max(t,e,i),r=Math.min(t,e,i),s=0,a=0,o=(n+r)/2;if(n===r)a=0,s=0;else{var l=n-r;switch(a=o>.5?l/(2-n-r):l/(n+r),n){case t:s=(e-i)/l+(e1&&(i-=1),i<1/6?t+6*i*(e-t):i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function Ht(t,e,i){t=St(t,255),e=St(e,255),i=St(i,255);var n=Math.max(t,e,i),r=Math.min(t,e,i),s=0,a=n,o=n-r,l=0===n?0:o/n;if(n===r)s=0;else{switch(n){case t:s=(e-i)/o+(e>16,g:(65280&t)>>8,b:255&t}}(e)),this.originalInput=e;var r=It(e);this.originalInput=e,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(n=i.format)&&void 0!==n?n:r.format,this.gradientType=i.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},t.prototype.getLuminance=function(){var t=this.toRgb(),e=t.r/255,i=t.g/255,n=t.b/255;return.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(t){return this.a=Ot(t),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){return 0===this.toHsl().s},t.prototype.toHsv=function(){var t=Ht(this.r,this.g,this.b);return{h:360*t.h,s:t.s,v:t.v,a:this.a}},t.prototype.toHsvString=function(){var t=Ht(this.r,this.g,this.b),e=Math.round(360*t.h),i=Math.round(100*t.s),n=Math.round(100*t.v);return 1===this.a?"hsv(".concat(e,", ").concat(i,"%, ").concat(n,"%)"):"hsva(".concat(e,", ").concat(i,"%, ").concat(n,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var t=Mt(this.r,this.g,this.b);return{h:360*t.h,s:t.s,l:t.l,a:this.a}},t.prototype.toHslString=function(){var t=Mt(this.r,this.g,this.b),e=Math.round(360*t.h),i=Math.round(100*t.s),n=Math.round(100*t.l);return 1===this.a?"hsl(".concat(e,", ").concat(i,"%, ").concat(n,"%)"):"hsla(".concat(e,", ").concat(i,"%, ").concat(n,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(t){return void 0===t&&(t=!1),Dt(this.r,this.g,this.b,t)},t.prototype.toHexString=function(t){return void 0===t&&(t=!1),"#"+this.toHex(t)},t.prototype.toHex8=function(t){return void 0===t&&(t=!1),function(t,e,i,n,r){var s=[Ct(Math.round(t).toString(16)),Ct(Math.round(e).toString(16)),Ct(Math.round(i).toString(16)),Ct(Rt(n))];return r&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))&&s[3].startsWith(s[3].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("")}(this.r,this.g,this.b,this.a,t)},t.prototype.toHex8String=function(t){return void 0===t&&(t=!1),"#"+this.toHex8(t)},t.prototype.toHexShortString=function(t){return void 0===t&&(t=!1),1===this.a?this.toHexString(t):this.toHex8String(t)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var t=Math.round(this.r),e=Math.round(this.g),i=Math.round(this.b);return 1===this.a?"rgb(".concat(t,", ").concat(e,", ").concat(i,")"):"rgba(".concat(t,", ").concat(e,", ").concat(i,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var t=function(t){return"".concat(Math.round(100*St(t,255)),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var t=function(t){return Math.round(100*St(t,255))};return 1===this.a?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var t="#"+Dt(this.r,this.g,this.b,!1),e=0,i=Object.entries(zt);e=0;return e||!n||!t.startsWith("hex")&&"name"!==t?("rgb"===t&&(i=this.toRgbString()),"prgb"===t&&(i=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(i=this.toHexString()),"hex3"===t&&(i=this.toHexString(!0)),"hex4"===t&&(i=this.toHex8String(!0)),"hex8"===t&&(i=this.toHex8String()),"name"===t&&(i=this.toName()),"hsl"===t&&(i=this.toHslString()),"hsv"===t&&(i=this.toHsvString()),i||this.toHexString()):"name"===t&&0===this.a?this.toName():this.toRgbString()},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(e){void 0===e&&(e=10);var i=this.toHsl();return i.l+=e/100,i.l=Et(i.l),new t(i)},t.prototype.brighten=function(e){void 0===e&&(e=10);var i=this.toRgb();return i.r=Math.max(0,Math.min(255,i.r-Math.round(-e/100*255))),i.g=Math.max(0,Math.min(255,i.g-Math.round(-e/100*255))),i.b=Math.max(0,Math.min(255,i.b-Math.round(-e/100*255))),new t(i)},t.prototype.darken=function(e){void 0===e&&(e=10);var i=this.toHsl();return i.l-=e/100,i.l=Et(i.l),new t(i)},t.prototype.tint=function(t){return void 0===t&&(t=10),this.mix("white",t)},t.prototype.shade=function(t){return void 0===t&&(t=10),this.mix("black",t)},t.prototype.desaturate=function(e){void 0===e&&(e=10);var i=this.toHsl();return i.s-=e/100,i.s=Et(i.s),new t(i)},t.prototype.saturate=function(e){void 0===e&&(e=10);var i=this.toHsl();return i.s+=e/100,i.s=Et(i.s),new t(i)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(e){var i=this.toHsl(),n=(i.h+e)%360;return i.h=n<0?360+n:n,new t(i)},t.prototype.mix=function(e,i){void 0===i&&(i=50);var n=this.toRgb(),r=new t(e).toRgb(),s=i/100;return new t({r:(r.r-n.r)*s+n.r,g:(r.g-n.g)*s+n.g,b:(r.b-n.b)*s+n.b,a:(r.a-n.a)*s+n.a})},t.prototype.analogous=function(e,i){void 0===e&&(e=6),void 0===i&&(i=30);var n=this.toHsl(),r=360/i,s=[this];for(n.h=(n.h-(r*e>>1)+720)%360;--e;)n.h=(n.h+r)%360,s.push(new t(n));return s},t.prototype.complement=function(){var e=this.toHsl();return e.h=(e.h+180)%360,new t(e)},t.prototype.monochromatic=function(e){void 0===e&&(e=6);for(var i=this.toHsv(),n=i.h,r=i.s,s=i.v,a=[],o=1/e;e--;)a.push(new t({h:n,s:r,v:s})),s=(s+o)%1;return a},t.prototype.splitcomplement=function(){var e=this.toHsl(),i=e.h;return[this,new t({h:(i+72)%360,s:e.s,l:e.l}),new t({h:(i+216)%360,s:e.s,l:e.l})]},t.prototype.onBackground=function(e){var i=this.toRgb(),n=new t(e).toRgb(),r=i.a+n.a*(1-i.a);return new t({r:(i.r*i.a+n.r*n.a*(1-i.a))/r,g:(i.g*i.a+n.g*n.a*(1-i.a))/r,b:(i.b*i.a+n.b*n.a*(1-i.a))/r,a:r})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(e){for(var i=this.toHsl(),n=i.h,r=[this],s=360/e,a=1;aYt.includes(t,e));var Yt;const Kt=new Set(["fan","input_boolean","light","switch","group","automation","humidifier"]),Jt=["auto","auto-no-temperature"],Xt=["card","label-card"],Qt=["--ha-card-background","--card-background-color"],te="var(--primary-text-color)";function ee(t){return t.substr(0,t.indexOf("."))}function ie(t,e){const i=[];let n=e;return"var"===e.trim().substring(0,3)&&(e.split(",").forEach((t=>{const e=t.match(/var\(\s*([a-zA-Z0-9-]*)/);e&&i.push(e[1])})),i.some((e=>{const i=window.getComputedStyle(t).getPropertyValue(e);return!!i&&(n=i,!0)}))),n}function ne(...t){const e=t=>t&&"object"==typeof t;return t.reduce(((t,i)=>(Object.keys(i).forEach((n=>{const r=t[n],s=i[n];Array.isArray(r)&&Array.isArray(s)?t[n]=r.concat(...s):e(r)&&e(s)?t[n]=ne(r,s):t[n]=s})),t)),{})}function re(t,e){let i=[];return t&&t.forEach((t=>{let n=t;e&&e.forEach((e=>{e.id&&t.id&&e.id==t.id&&(n=ne(n,e))})),i.push(n)})),e&&(i=i.concat(e.filter((e=>!t||!t.find((t=>!(!t.id||!e.id)&&t.id==e.id)))))),i}function se(t,e){if(void 0===t)return!1;const i=ee(t.entity_id),n=void 0!==e?e:null==t?void 0:t.state;if(["button","event","input_button","scene"].includes(i))return n!==Zt;if(Gt(n))return!1;if("off"===n&&"alert"!==i)return!1;switch(i){case"alarm_control_panel":return"disarmed"!==n;case"alert":return"idle"!==n;case"cover":return"closed"!==n;case"device_tracker":case"person":return"not_home"!==n;case"lock":return"locked"!==n;case"media_player":return"standby"!==n;case"vacuum":return!["idle","docked","paused"].includes(n);case"plant":return"problem"===n;case"group":return["on","home","open","locked","problem"].includes(n);case"timer":return"active"===n;case"camera":return"streaming"===n}return!0}function ae(t){return Array.isArray(t)?t.reverse().reduce(((t,e)=>`var(${e}${t?`, ${t}`:""})`),void 0):`var(${t})`}function oe(t){const e=t.split(":").map(Number);return 3600*e[0]+60*e[1]+e[2]}const le=t=>t<10?`0${t}`:t;const ce=new Set(["call-service","divider","section","weblink","cast","select"]),he={alert:"toggle",automation:"toggle",climate:"climate",cover:"cover",fan:"toggle",group:"group",input_boolean:"toggle",input_number:"input-number",input_select:"input-select",input_text:"input-text",light:"toggle",lock:"lock",media_player:"media-player",remote:"toggle",scene:"scene",script:"script",sensor:"sensor",timer:"timer",switch:"toggle",vacuum:"toggle",water_heater:"climate",input_datetime:"input-datetime"},ue=((t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,n)=>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[n+1]),t[0]);return new s(i,t,n)})` - :host { - position: relative; - display: block; - --state-inactive-color: var(--paper-item-icon-color); - } - ha-card { - cursor: pointer; - overflow: hidden; - box-sizing: border-box; - position: relative; - display: flex; - justify-content: center; - align-items: center; - line-height: normal; - - -webkit-touch-callout: none; /* iOS Safari */ - -webkit-user-select: none; /* Safari */ - -khtml-user-select: none; /* Konqueror HTML */ - -moz-user-select: none; /* Old versions of Firefox */ - -ms-user-select: none; /* Internet Explorer/Edge */ - user-select: none; /* Non-prefixed version, currently - supported by Chrome, Opera and Firefox */ - } - ha-card.disabled { - pointer-events: none; - cursor: default; - } - :host(.tooltip) .tooltiptext { - pointer-events: none; - opacity: 0; - text-align: center; - padding: 4px; - border-radius: var(--ha-card-border-radius, 4px); - box-shadow: var( - --ha-card-box-shadow, - 0px 2px 1px -1px rgba(0, 0, 0, 0.2), - 0px 1px 1px 0px rgba(0, 0, 0, 0.14), - 0px 1px 3px 0px rgba(0, 0, 0, 0.12) - ); - background: var(--ha-card-background, var(--card-background-color, white)); - border: 1px solid var(--primary-text-color); - color: var(--primary-text-color); - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - } - :host(.tooltip:hover) span.tooltiptext { - opacity: 1; - transition-delay: 1.5s; - } - :not(ha-state-icon) ha-icon, - ha-state-icon { - display: inline-block; - margin: auto; - --mdc-icon-size: 100%; - --iron-icon-width: 100%; - --iron-icon-height: 100%; - } - ha-card.button-card-main { - padding: 4% 0px; - text-transform: none; - font-weight: 400; - font-size: 1.2rem; - align-items: center; - text-align: center; - letter-spacing: normal; - width: 100%; - } - .ellipsis { - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; - } - - #overlay { - align-items: flex-start; - justify-content: flex-end; - padding: 8px 7px; - opacity: 0.5; - /* DO NOT override items below */ - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - display: flex; - } - #lock { - -webkit-animation-fill-mode: both; - animation-fill-mode: both; - margin: unset; - width: 24px; - } - .invalid { - animation: blink 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite; - } - .hidden { - visibility: hidden; - opacity: 0; - transition: visibility 0s 1s, opacity 1s linear; - } - @keyframes blink { - 0% { - opacity: 0; - } - 50% { - opacity: 1; - } - 100% { - opacity: 0; - } - } - @-webkit-keyframes rotating /* Safari and Chrome */ { - from { - -webkit-transform: rotate(0deg); - -o-transform: rotate(0deg); - transform: rotate(0deg); - } - to { - -webkit-transform: rotate(360deg); - -o-transform: rotate(360deg); - transform: rotate(360deg); - } - } - @keyframes rotating { - from { - -ms-transform: rotate(0deg); - -moz-transform: rotate(0deg); - -webkit-transform: rotate(0deg); - -o-transform: rotate(0deg); - transform: rotate(0deg); - } - to { - -ms-transform: rotate(360deg); - -moz-transform: rotate(360deg); - -webkit-transform: rotate(360deg); - -o-transform: rotate(360deg); - transform: rotate(360deg); - } - } - [rotating] { - -webkit-animation: rotating 2s linear infinite; - -moz-animation: rotating 2s linear infinite; - -ms-animation: rotating 2s linear infinite; - -o-animation: rotating 2s linear infinite; - animation: rotating 2s linear infinite; - } - - #container { - display: grid; - width: 100%; - height: 100%; - text-align: center; - align-items: center; - } - #img-cell { - display: flex; - grid-area: i; - height: 100%; - width: 100%; - max-width: 100%; - max-height: 100%; - align-self: center; - justify-self: center; - overflow: hidden; - justify-content: center; - align-items: center; - position: relative; - } - - ha-state-icon#icon { - height: 100%; - width: 100%; - max-height: 100%; - position: absolute; - } - img#icon { - display: block; - height: auto; - width: 100%; - position: absolute; - } - #name { - grid-area: n; - max-width: 100%; - align-self: center; - justify-self: center; - /* margin: auto; */ - } - #state { - grid-area: s; - max-width: 100%; - align-self: center; - justify-self: center; - /* margin: auto; */ - } - - #label { - grid-area: l; - max-width: 100%; - align-self: center; - justify-self: center; - } - - #container.vertical { - grid-template-areas: 'i' 'n' 's' 'l'; - grid-template-columns: 1fr; - grid-template-rows: 1fr min-content min-content min-content; - } - /* Vertical No Icon */ - #container.vertical.no-icon { - grid-template-areas: 'n' 's' 'l'; - grid-template-columns: 1fr; - grid-template-rows: 1fr min-content 1fr; - } - #container.vertical.no-icon #state { - align-self: center; - } - #container.vertical.no-icon #name { - align-self: end; - } - #container.vertical.no-icon #label { - align-self: start; - } - - /* Vertical No Icon No Name */ - #container.vertical.no-icon.no-name { - grid-template-areas: 's' 'l'; - grid-template-columns: 1fr; - grid-template-rows: 1fr 1fr; - } - #container.vertical.no-icon.no-name #state { - align-self: end; - } - #container.vertical.no-icon.no-name #label { - align-self: start; - } - - /* Vertical No Icon No State */ - #container.vertical.no-icon.no-state { - grid-template-areas: 'n' 'l'; - grid-template-columns: 1fr; - grid-template-rows: 1fr 1fr; - } - #container.vertical.no-icon.no-state #name { - align-self: end; - } - #container.vertical.no-icon.no-state #label { - align-self: start; - } - - /* Vertical No Icon No Label */ - #container.vertical.no-icon.no-label { - grid-template-areas: 'n' 's'; - grid-template-columns: 1fr; - grid-template-rows: 1fr 1fr; - } - #container.vertical.no-icon.no-label #name { - align-self: end; - } - #container.vertical.no-icon.no-label #state { - align-self: start; - } - - /* Vertical No Icon No Label No Name */ - #container.vertical.no-icon.no-label.no-name { - grid-template-areas: 's'; - grid-template-columns: 1fr; - grid-template-rows: 1fr; - } - #container.vertical.no-icon.no-label.no-name #state { - align-self: center; - } - /* Vertical No Icon No Label No State */ - #container.vertical.no-icon.no-label.no-state { - grid-template-areas: 'n'; - grid-template-columns: 1fr; - grid-template-rows: 1fr; - } - #container.vertical.no-icon.no-label.no-state #name { - align-self: center; - } - - /* Vertical No Icon No Name No State */ - #container.vertical.no-icon.no-name.no-state { - grid-template-areas: 'l'; - grid-template-columns: 1fr; - grid-template-rows: 1fr; - } - #container.vertical.no-icon.no-name.no-state #label { - align-self: center; - } - - #container.icon_name_state { - grid-template-areas: 'i n' 'l l'; - grid-template-columns: 40% 1fr; - grid-template-rows: 1fr min-content; - } - - #container.icon_name { - grid-template-areas: 'i n' 's s' 'l l'; - grid-template-columns: 40% 1fr; - grid-template-rows: 1fr min-content min-content; - } - - #container.icon_state { - grid-template-areas: 'i s' 'n n' 'l l'; - grid-template-columns: 40% 1fr; - grid-template-rows: 1fr min-content min-content; - } - - #container.name_state { - grid-template-areas: 'i' 'n' 'l'; - grid-template-columns: 1fr; - grid-template-rows: 1fr min-content min-content; - } - #container.name_state.no-icon { - grid-template-areas: 'n' 'l'; - grid-template-columns: 1fr; - grid-template-rows: 1fr 1fr; - } - #container.name_state.no-icon #name { - align-self: end; - } - #container.name_state.no-icon #label { - align-self: start; - } - - #container.name_state.no-icon.no-label { - grid-template-areas: 'n'; - grid-template-columns: 1fr; - grid-template-rows: 1fr; - } - #container.name_state.no-icon.no-label #name { - align-self: center; - } - - /* icon_name_state2nd default */ - #container.icon_name_state2nd { - grid-template-areas: 'i n' 'i s' 'i l'; - grid-template-columns: 40% 1fr; - grid-template-rows: 1fr min-content 1fr; - } - #container.icon_name_state2nd #name { - align-self: end; - } - #container.icon_name_state2nd #state { - align-self: center; - } - #container.icon_name_state2nd #label { - align-self: start; - } - - /* icon_name_state2nd No Label */ - #container.icon_name_state2nd.no-label { - grid-template-areas: 'i n' 'i s'; - grid-template-columns: 40% 1fr; - grid-template-rows: 1fr 1fr; - } - #container.icon_name_state2nd #name { - align-self: end; - } - #container.icon_name_state2nd #state { - align-self: start; - } - - /* icon_state_name2nd Default */ - #container.icon_state_name2nd { - grid-template-areas: 'i s' 'i n' 'i l'; - grid-template-columns: 40% 1fr; - grid-template-rows: 1fr min-content 1fr; - } - #container.icon_state_name2nd #state { - align-self: end; - } - #container.icon_state_name2nd #name { - align-self: center; - } - #container.icon_state_name2nd #label { - align-self: start; - } - - /* icon_state_name2nd No Label */ - #container.icon_state_name2nd.no-label { - grid-template-areas: 'i s' 'i n'; - grid-template-columns: 40% 1fr; - grid-template-rows: 1fr 1fr; - } - #container.icon_state_name2nd #state { - align-self: end; - } - #container.icon_state_name2nd #name { - align-self: start; - } - - #container.icon_label { - grid-template-areas: 'i l' 'n n' 's s'; - grid-template-columns: 40% 1fr; - grid-template-rows: 1fr min-content min-content; - } - - [style*='--aspect-ratio'] > :first-child { - width: 100%; - } - [style*='--aspect-ratio'] > img { - height: auto; - } - @supports (--custom: property) { - [style*='--aspect-ratio'] { - position: relative; - } - [style*='--aspect-ratio']::before { - content: ''; - display: block; - padding-bottom: calc(100% / (var(--aspect-ratio))); - } - [style*='--aspect-ratio'] > :first-child { - position: absolute; - top: 0; - left: 0; - height: 100%; - } - } -`;var de,fe,me,pe,ge;!function(t){t.language="language",t.system="system",t.comma_decimal="comma_decimal",t.decimal_comma="decimal_comma",t.space_comma="space_comma",t.none="none"}(de||(de={})),function(t){t.language="language",t.system="system",t.am_pm="12",t.twenty_four="24"}(fe||(fe={})),function(t){t.local="local",t.server="server"}(me||(me={})),function(t){t.language="language",t.system="system",t.DMY="DMY",t.MDY="MDY",t.YMD="YMD"}(pe||(pe={})),function(t){t.language="language",t.monday="monday",t.tuesday="tuesday",t.wednesday="wednesday",t.thursday="thursday",t.friday="friday",t.saturday="saturday",t.sunday="sunday"}(ge||(ge={}));const _e=(t,e,i)=>{const n=e?(t=>{switch(t.number_format){case de.comma_decimal:return["en-US","en"];case de.decimal_comma:return["de","es","it"];case de.space_comma:return["fr","sv","cs"];case de.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)!==de.none&&!Number.isNaN(Number(t))&&Intl)try{return new Intl.NumberFormat(n,be(t,i)).format(Number(t))}catch(r){return console.error(r),new Intl.NumberFormat(void 0,be(t,i)).format(Number(t))}return"string"==typeof t?t:`${((t,e=2)=>Math.round(t*10**e)/10**e)(t,null==i?void 0:i.maximumFractionDigits).toString()}${"currency"===(null==i?void 0:i.style)?` ${i.currency}`:""}`},ve=(t,e,i)=>{var n;let r=null==i?void 0:i.display_precision;return void 0!==e&&(r=e),null!=r?{maximumFractionDigits:r,minimumFractionDigits:r}:Number.isInteger(Number(null===(n=t.attributes)||void 0===n?void 0:n.step))&&Number.isInteger(Number(t.state))?{maximumFractionDigits:0}:null!=t.attributes.step?{maximumFractionDigits:Math.ceil(Math.log10(1/t.attributes.step))}:void 0},be=(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};var ye,we,$e,Ae,xe;!function(t){t.language="language",t.system="system",t.comma_decimal="comma_decimal",t.decimal_comma="decimal_comma",t.space_comma="space_comma",t.none="none"}(ye||(ye={})),function(t){t.language="language",t.system="system",t.am_pm="12",t.twenty_four="24"}(we||(we={})),function(t){t.local="local",t.server="server"}($e||($e={})),function(t){t.language="language",t.system="system",t.DMY="DMY",t.MDY="MDY",t.YMD="YMD"}(Ae||(Ae={})),function(t){t.language="language",t.monday="monday",t.tuesday="tuesday",t.wednesday="wednesday",t.thursday="thursday",t.friday="friday",t.saturday="saturday",t.sunday="sunday"}(xe||(xe={}));const ke=(t,e=2)=>{let i=""+t;for(let n=1;nfunction(t){const e=Math.floor(t/1e3/3600),i=Math.floor(t/1e3%3600/60),n=Math.floor(t/1e3%3600%60),r=Math.floor(t%1e3);return e>0?`${e}:${ke(i)}:${ke(n)}`:i>0?`${i}:${ke(n)}`:n>0||r>0?`${n}${r>0?`.${ke(r,3)}`:""}`:null}(parseFloat(t)*Se[e])||"0";var Oe=Number.isNaN||function(t){return"number"==typeof t&&t!=t};function Te(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}))),je=(t,e,i)=>He(e,i.time_zone).format(t),He=Ce(((t,e)=>new Intl.DateTimeFormat(t.language,{year:"numeric",month:"long",day:"numeric",timeZone:"server"===t.time_zone?e:void 0}))),De=(t,e,i)=>{var n,r,s,a;const o=Re(e,i.time_zone);if(e.date_format===pe.language||e.date_format===pe.system)return o.format(t);const l=o.formatToParts(t),c=null===(n=l.find((t=>"literal"===t.type)))||void 0===n?void 0:n.value,h=null===(r=l.find((t=>"day"===t.type)))||void 0===r?void 0:r.value,u=null===(s=l.find((t=>"month"===t.type)))||void 0===s?void 0:s.value,d=null===(a=l.find((t=>"year"===t.type)))||void 0===a?void 0:a.value,f=l[l.length-1];let m="literal"===(null==f?void 0:f.type)?null==f?void 0:f.value:"";"bg"===e.language&&e.date_format===pe.YMD&&(m="");return{[pe.DMY]:`${h}${c}${u}${c}${d}${m}`,[pe.MDY]:`${u}${c}${h}${c}${d}${m}`,[pe.YMD]:`${d}${c}${u}${c}${h}${m}`}[e.date_format]},Re=Ce(((t,e)=>{const i=t.date_format===pe.system?void 0:t.language;return t.date_format===pe.language||(t.date_format,pe.system),new Intl.DateTimeFormat(i,{year:"numeric",month:"numeric",day:"numeric",timeZone:"server"===t.time_zone?e:void 0})})),Ne=Ce(((t,e)=>new Intl.DateTimeFormat(t.language,{day:"numeric",month:"short",timeZone:"server"===t.time_zone?e:void 0}))),Pe=Ce(((t,e)=>new Intl.DateTimeFormat(t.language,{month:"long",year:"numeric",timeZone:"server"===t.time_zone?e:void 0}))),ze=Ce(((t,e)=>new Intl.DateTimeFormat(t.language,{month:"long",timeZone:"server"===t.time_zone?e:void 0}))),Ie=Ce(((t,e)=>new Intl.DateTimeFormat(t.language,{year:"numeric",timeZone:"server"===t.time_zone?e:void 0}))),Le=Ce(((t,e)=>new Intl.DateTimeFormat(t.language,{weekday:"long",timeZone:"server"===t.time_zone?e:void 0}))),Fe=Ce(((t,e)=>new Intl.DateTimeFormat(t.language,{weekday:"short",timeZone:"server"===t.time_zone?e:void 0}))),Ve=Ce((t=>{if(t.time_format===fe.language||t.time_format===fe.system){const e=t.time_format===fe.language?t.language:void 0,i=(new Date).toLocaleString(e);return i.includes("AM")||i.includes("PM")}return t.time_format===fe.am_pm})),Ue=(t,e,i)=>Be(e,i.time_zone).format(t),Be=Ce(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||Ve(t)?t.language:"en-u-hc-h23",{hour:"numeric",minute:"2-digit",hour12:Ve(t),timeZone:"server"===t.time_zone?e:void 0}))),We=Ce(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||Ve(t)?t.language:"en-u-hc-h23",{hour:Ve(t)?"numeric":"2-digit",minute:"2-digit",second:"2-digit",hour12:Ve(t),timeZone:"server"===t.time_zone?e:void 0}))),qe=Ce(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||Ve(t)?t.language:"en-u-hc-h23",{weekday:"long",hour:Ve(t)?"numeric":"2-digit",minute:"2-digit",hour12:Ve(t),timeZone:"server"===t.time_zone?e:void 0}))),Ze=Ce(((t,e)=>new Intl.DateTimeFormat("en-GB",{hour:"numeric",minute:"2-digit",hour12:!1,timeZone:"server"===t.time_zone?e:void 0}))),Ge=(t,e,i)=>Ye(e,i.time_zone).format(t),Ye=Ce(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||Ve(t)?t.language:"en-u-hc-h23",{year:"numeric",month:"long",day:"numeric",hour:Ve(t)?"numeric":"2-digit",minute:"2-digit",hour12:Ve(t),timeZone:"server"===t.time_zone?e:void 0}))),Ke=Ce(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||Ve(t)?t.language:"en-u-hc-h23",{year:"numeric",month:"short",day:"numeric",hour:Ve(t)?"numeric":"2-digit",minute:"2-digit",hour12:Ve(t),timeZone:"server"===t.time_zone?e:void 0}))),Je=Ce(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||Ve(t)?t.language:"en-u-hc-h23",{month:"short",day:"numeric",hour:Ve(t)?"numeric":"2-digit",minute:"2-digit",hour12:Ve(t),timeZone:"server"===t.time_zone?e:void 0}))),Xe=Ce(((t,e)=>new Intl.DateTimeFormat("en"!==t.language||Ve(t)?t.language:"en-u-hc-h23",{year:"numeric",month:"long",day:"numeric",hour:Ve(t)?"numeric":"2-digit",minute:"2-digit",second:"2-digit",hour12:Ve(t),timeZone:"server"===t.time_zone?e:void 0}))),Qe=(t,e)=>0!=(t.supported_features&e),ti=t=>(t=>Qe(t,4)&&"number"==typeof t.in_progress)(t)||!!t.in_progress,ei=(t,e,i,n,r,s,a)=>{const o=r[e.entity_id];return ii(t,i,n,o,e.entity_id,e.attributes,s,void 0!==a?a:e.state)},ii=(t,e,i,n,r,s,a,o)=>{var l;if("unknown"===o||"unavailable"===o)return t(`state.default.${o}`);if(function(t){return!!t.unit_of_measurement||!!t.state_class}(s)){if("duration"===s.device_class&&s.unit_of_measurement&&Se[s.unit_of_measurement])try{return Ee(o,s.unit_of_measurement)}catch(h){}if("monetary"===s.device_class)try{return _e(o,e,Object.assign({style:"currency",currency:(null==a?void 0:a.units)||s.unit_of_measurement,minimumFractionDigits:2},ve({state:o,attributes:s},null==a?void 0:a.numeric_precision,n)))}catch(h){}const t=(null==a?void 0:a.show_units)?(null==a?void 0:a.units)?null==a?void 0:a.units:s.unit_of_measurement:void 0,i=t?"%"===t?(t=>{switch(t.language){case"cz":case"de":case"fi":case"fr":case"sk":case"sv":return" ";default:return""}})(e)+"%":` ${t}`:"";return`${_e(o,e,ve({state:o,attributes:s},null==a?void 0:a.numeric_precision,n))}${i}`}const c=ee(r);if("datetime"===c){const t=new Date(o);return Ge(t,e,i)}if(["date","input_datetime","time"].includes(c))try{const t=o.split(" ");if(2===t.length)return Ge(new Date(t.join("T")),Object.assign(Object.assign({},e),{time_zone:$e.local}),i);if(1===t.length){if(o.includes("-"))return je(new Date(`${o}T00:00`),Object.assign(Object.assign({},e),{time_zone:$e.local}),i);if(o.includes(":")){const t=new Date;return Ue(new Date(`${t.toISOString().split("T")[0]}T${o}`),Object.assign(Object.assign({},e),{time_zone:$e.local}),i)}}return o}catch(u){return o}if("counter"===c||"number"===c||"input_number"===c)return _e(o,e,ve({state:o,attributes:s},null==a?void 0:a.numeric_precision,n));if(["button","event","input_button","scene","stt","tts"].includes(c)||"sensor"===c&&"timestamp"===s.device_class)try{return Ge(new Date(o),e,i)}catch(h){return o}return"update"===c?"on"===o?ti(s)?Qe(s,4)&&"number"==typeof s.in_progress?t("ui.card.update.installing_with_progress",{progress:s.in_progress}):t("ui.card.update.installing"):s.latest_version:s.skipped_version===s.latest_version?null!==(l=s.latest_version)&&void 0!==l?l:t("state.default.unavailable"):t("ui.card.update.up_to_date"):(null==n?void 0:n.translation_key)&&t(`component.${n.platform}.entity.${c}.${n.translation_key}.state.${o}`)||s.device_class&&t(`component.${c}.entity_component.${s.device_class}.state.${o}`)||t(`component.${c}.entity_component._.state.${o}`)||o};var ni=Function.prototype.toString,ri=Object.create,si=Object.defineProperty,ai=Object.getOwnPropertyDescriptor,oi=Object.getOwnPropertyNames,li=Object.getOwnPropertySymbols,ci=Object.getPrototypeOf,hi=Object.prototype,ui=hi.hasOwnProperty,di=hi.propertyIsEnumerable,fi="function"==typeof li,mi="function"==typeof WeakMap,pi=function(){if(mi)return function(){return new WeakMap};var t=function(){function t(){this._keys=[],this._values=[]}return t.prototype.has=function(t){return!!~this._keys.indexOf(t)},t.prototype.get=function(t){return this._values[this._keys.indexOf(t)]},t.prototype.set=function(t,e){this._keys.push(t),this._values.push(e)},t}();return function(){return new t}}(),gi=function(t,e){var i=t.__proto__||ci(t);if(!i)return ri(null);var n=i.constructor;if(n===e.Object)return i===e.Object.prototype?{}:ri(i);if(~ni.call(n).indexOf("[native code]"))try{return new n}catch(hi){}return ri(i)},_i=function(t,e,i,n){var r=gi(t,e);for(var s in n.set(t,r),t)ui.call(t,s)&&(r[s]=i(t[s],n));if(fi)for(var a=li(t),o=0,l=a.length,c=void 0;o{if((void 0!==e?e:null==t?void 0:t.state)===Zt)return"var(--state-unavailable-color)";const n=Si(t,e,i);return n?ae(n):void 0},ki=(t,e,i,n)=>{const r=void 0!==i?i:e.state,s=se(e,i),a=[],o=function(t,e="_"){const i="àáäâãåăæąçćčđďèéěėëêęğǵḧìíïîįłḿǹńňñòóöôœøṕŕřßşśšșťțùúüûǘůűūųẃẍÿýźžż·/_,:;",n=`aaaaaaaaacccddeeeeeeegghiiiiilmnnnnooooooprrsssssttuuuuuuuuuwxyyzzz${e}${e}${e}${e}${e}${e}`,r=new RegExp(i.split("").join("|"),"g");return t.toString().toLowerCase().replace(/\s+/g,e).replace(r,(t=>n.charAt(i.indexOf(t)))).replace(/&/g,`${e}and${e}`).replace(/[^\w-]+/g,"").replace(/-/g,e).replace(new RegExp(`(${e})\\1+`,"g"),"$1").replace(new RegExp(`^${e}+`),"").replace(new RegExp(`${e}+$`),"")}(r,"_"),l=s?"active":"inactive";if(n&&Xt.includes(n)&&"inactive"==l)return Qt;const c=e.attributes.device_class;return c&&a.push(`--state-${t}-${c}-${o}-color`),a.push(`--state-${t}-${o}-color`,`--state-${t}-${l}-color`,`--state-${l}-color`),a},Si=(t,e,i)=>{const n=void 0!==e?e:null==t?void 0:t.state,r=ee(t.entity_id),s=t.attributes.device_class;if("sensor"===r&&"battery"===s){const t=(t=>{const e=Number(t);if(!isNaN(e))return e>=70?"--state-sensor-battery-high-color":e>=30?"--state-sensor-battery-medium-color":"--state-sensor-battery-low-color"})(n);if(t)return[t]}if("group"===r){const n=(t=>{const e=t.attributes.entity_id||[],i=[...new Set(e.map((t=>ee(t))))];return 1===i.length?i[0]:void 0})(t);if(n&&Ai.has(n))return ki(n,t,e,i)}return Ai.has(r)?ki(r,t,e,i):i&&Xt.includes(i)?Qt:void 0};let Ei=window.cardHelpers;const Oi=new Promise((async t=>{Ei&&t(),window.loadCardHelpers&&(Ei=await window.loadCardHelpers(),window.cardHelpers=Ei,t())}));console.info("%c BUTTON-CARD \n%c Version 4.1.2 ","color: orange; font-weight: bold; background: black","color: white; font-weight: bold; background: dimgray"),window.customCards=window.customCards||[],window.customCards.push({type:"button-card",name:"Button-Card",preview:!1,description:"A massively customizable custom button card"});let Ti=class extends nt{constructor(){super(...arguments),this._cards={},this._cardsConfig={},this._entities=[],this._initialSetupComplete=!1,this._rippleHandlers=new ct((()=>this._ripple))}get _doIHaveEverything(){return!!this._hass&&!!this._config&&this.isConnected}set hass(t){this._hass=t,Object.keys(this._cards).forEach((t=>{this._cards[t].hass=this._hass})),this._initialSetupComplete||this._finishSetup()}disconnectedCallback(){super.disconnectedCallback(),this._clearInterval()}connectedCallback(){super.connectedCallback(),this._initialSetupComplete?this._startTimerCountdown():this._finishSetup()}_evaluateVariablesSkipError(t){var e;if(this._evaledVariables={},null===(e=this._config)||void 0===e?void 0:e.variables){Object.keys(this._config.variables).sort().forEach((e=>{try{this._evaledVariables[e]=this._objectEvalTemplate(t,this._config.variables[e])}catch(_t){}}))}}_finishSetup(){if(!this._initialSetupComplete&&this._doIHaveEverything){if(this._evaluateVariablesSkipError(),this._config.entity){const t=this._getTemplateOrValue(void 0,this._config.entity);this._config.entity=t,this._stateObj=this._hass.states[t]}this._evaluateVariablesSkipError(this._stateObj),this._config.entity&&Kt.has(ee(this._config.entity))?this._config=Object.assign({tap_action:{action:"toggle"}},this._config):this._config.entity?this._config=Object.assign({tap_action:{action:"more-info"}},this._config):this._config=Object.assign({tap_action:{action:"none"}},this._config);const t=JSON.stringify(this._config);if(this._entities=[],Array.isArray(this._config.triggers_update))this._config.triggers_update.forEach((t=>{try{const e=this._getTemplateOrValue(this._stateObj,t);null==e||this._entities.includes(e)||this._entities.push(e)}catch(_t){}}));else if("string"==typeof this._config.triggers_update){const t=this._getTemplateOrValue(this._stateObj,this._config.triggers_update);t&&"all"!==t?this._entities.push(t):this._config.triggers_update=t}if("all"!==this._config.triggers_update){const e=new RegExp(/states\[\s*('|\\")([a-zA-Z0-9_]+\.[a-zA-Z0-9_]+)\1\s*\]/,"gm"),i=new RegExp(/states\[\s*('|\\")([a-zA-Z0-9_]+\.[a-zA-Z0-9_]+)\1\s*\]/,"m"),n=t.match(e);null==n||n.forEach((t=>{const e=t.match(i);e&&!this._entities.includes(e[2])&&this._entities.push(e[2])}))}this._config.entity&&!this._entities.includes(this._config.entity)&&this._entities.push(this._config.entity),this._expandTriggerGroups();const e=new RegExp("\\[\\[\\[.*\\]\\]\\]","m");this._hasTemplate=!("all"!==this._config.triggers_update||!t.match(e)),this._startTimerCountdown(),this._initialSetupComplete=!0}}_startTimerCountdown(){if(this._config&&this._config.entity&&"timer"===ee(this._config.entity)){const t=this._hass.states[this._config.entity];this._startInterval(t)}}_createCard(t){if(Ei)return Ei.createCardElement(t);{const e=((t,e=!1)=>{const i=(t,e)=>n("hui-error-card",{type:"error",error:t,config:e}),n=(t,e)=>{const n=window.document.createElement(t);try{if(!n.setConfig)return;n.setConfig(e)}catch(r){return console.error(t,r),i(r.message,e)}return n};if(!t||"object"!=typeof t||!e&&!t.type)return i("No type defined",t);let r=t.type;if(r&&r.startsWith("custom:"))r=r.substr(7);else if(e)if(ce.has(r))r=`hui-${r}-row`;else{if(!t.entity)return i("Invalid config given.",t);const e=t.entity.split(".",1)[0];r=`hui-${he[e]||"text"}-entity-row`}else r=`hui-${r}-card`;if(customElements.get(r))return n(r,t);const s=i(`Custom element doesn't exist: ${t.type}.`,t);s.style.display="None";const a=setTimeout((()=>{s.style.display=""}),2e3);return customElements.whenDefined(t.type).then((()=>{clearTimeout(a),yt(s,"ll-rebuild",{},s)})),s})(t);return Oi.then((()=>{yt(e,"ll-rebuild",{})})),e}}static get styles(){return ue}render(){var t;if(!this._config||!this._hass)return P``;this._stateObj=this._config.entity?this._hass.states[this._config.entity]:void 0;try{if(this._evaledVariables={},null===(t=this._config)||void 0===t?void 0:t.variables){Object.keys(this._config.variables).sort().forEach((t=>{this._evaledVariables[t]=this._objectEvalTemplate(this._stateObj,this._config.variables[t])}))}return this._cardHtml()}catch(_t){_t.stack?console.error(_t.stack):console.error(_t);const e=document.createElement("hui-error-card");return e.setConfig({type:"error",error:_t.toString(),origConfig:this._config}),P` ${e} `}}shouldUpdate(t){return!(!this._hasTemplate&&!t.has("_timeRemaining")&&!function(t,e){if(e.has("_config"))return!0;const i=e.get("_hass");if(i)return t._entities.some((function(e){return(null==i?void 0:i.states[e])!==t._hass.states[e]}));return!1}(this,t))&&(this._expandTriggerGroups(),!0)}updated(t){if(super.updated(t),this._config&&this._config.entity&&"timer"===ee(this._config.entity)&&t.has("_hass")){const e=this._hass.states[this._config.entity],i=t.get("_hass");(i?i.states[this._config.entity]:void 0)!==e?this._startInterval(e):e||this._clearInterval()}}_clearInterval(){this._interval&&(window.clearInterval(this._interval),this._interval=void 0)}_startInterval(t){this._clearInterval(),this._calculateRemaining(t),"active"===t.state&&(this._interval=window.setInterval((()=>this._calculateRemaining(t)),1e3))}_calculateRemaining(t){t.attributes.remaining&&(this._timeRemaining=(t=>{if(!t.attributes.remaining)return;let e=oe(t.attributes.remaining);if("active"===t.state){const i=(new Date).getTime(),n=new Date(t.last_changed).getTime();e=Math.max(e-(i-n)/1e3,0)}return e})(t))}_computeTimeDisplay(t){if(t)return function(t){const e=Math.floor(t/3600),i=Math.floor(t%3600/60),n=Math.floor(t%3600%60);return e>0?`${e}:${le(i)}:${le(n)}`:i>0?`${i}:${le(n)}`:n>0?""+n:null}(this._timeRemaining||oe(t.attributes.duration))}_getMatchingConfigState(t){if(!this._config.state)return;const e=this._config.state.find((t=>"template"===t.operator));if(!t&&!e)return;let i;const n=this._config.state.find((e=>{if(!e.operator)return t&&this._getTemplateOrValue(t,e.value)==t.state;switch(e.operator){case"==":return t&&t.state==this._getTemplateOrValue(t,e.value);case"<=":return t&&t.state<=this._getTemplateOrValue(t,e.value);case"<":return t&&t.state=":return t&&t.state>=this._getTemplateOrValue(t,e.value);case">":return t&&t.state>this._getTemplateOrValue(t,e.value);case"!=":return t&&t.state!=this._getTemplateOrValue(t,e.value);case"regex":return!(!t||!t.state.match(this._getTemplateOrValue(t,e.value)));case"template":return this._getTemplateOrValue(t,e.value);case"default":return i=e,!1;default:return!1}}));return!n&&i?i:n}_localize(t,e,i,n=!0,r){var s;return ei(this._hass.localize,t,this._hass.locale,this._hass.config,this._hass.entities,{numeric_precision:"card"===i?null===(s=this._config)||void 0===s?void 0:s.numeric_precision:i,show_units:n,units:r},e)}_relativeTime(t,e=!1){return t?P` - - `:""}_getTemplateHelpers(){return{localize:this._localize.bind(this),formatDateTime:t=>Ge(new Date(t),this._hass.locale,this._hass.config),formatShortDateTimeWithYear:t=>{return e=new Date(t),i=this._hass.locale,n=this._hass.config,Ke(i,n.time_zone).format(e);var e,i,n},formatShortDateTime:t=>{return e=new Date(t),i=this._hass.locale,n=this._hass.config,Je(i,n.time_zone).format(e);var e,i,n},formatDateTimeWithSeconds:t=>{return e=new Date(t),i=this._hass.locale,n=this._hass.config,Xe(i,n.time_zone).format(e);var e,i,n},formatDateTimeNumeric:t=>{return e=new Date(t),i=this._hass.locale,n=this._hass.config,`${De(e,i,n)}, ${Ue(e,i,n)}`;var e,i,n},relativeTime:this._relativeTime.bind(this),formatTime:t=>Ue(new Date(t),this._hass.locale,this._hass.config),formatTimeWithSeconds:t=>{return e=new Date(t),i=this._hass.locale,n=this._hass.config,We(i,n.time_zone).format(e);var e,i,n},formatTimeWeekday:t=>{return e=new Date(t),i=this._hass.locale,n=this._hass.config,qe(i,n.time_zone).format(e);var e,i,n},formatTime24h:t=>{return e=new Date(t),i=this._hass.locale,n=this._hass.config,Ze(i,n.time_zone).format(e);var e,i,n},formatDateWeekdayDay:t=>{return e=new Date(t),i=this._hass.locale,n=this._hass.config,Me(i,n.time_zone).format(e);var e,i,n},formatDate:t=>je(new Date(t),this._hass.locale,this._hass.config),formatDateNumeric:t=>De(new Date(t),this._hass.locale,this._hass.config),formatDateShort:t=>{return e=new Date(t),i=this._hass.locale,n=this._hass.config,Ne(i,n.time_zone).format(e);var e,i,n},formatDateMonthYear:t=>{return e=new Date(t),i=this._hass.locale,n=this._hass.config,Pe(i,n.time_zone).format(e);var e,i,n},formatDateMonth:t=>{return e=new Date(t),i=this._hass.locale,n=this._hass.config,ze(i,n.time_zone).format(e);var e,i,n},formatDateYear:t=>{return e=new Date(t),i=this._hass.locale,n=this._hass.config,Ie(i,n.time_zone).format(e);var e,i,n},formatDateWeekday:t=>{return e=new Date(t),i=this._hass.locale,n=this._hass.config,Le(i,n.time_zone).format(e);var e,i,n},formatDateWeekdayShort:t=>{return e=new Date(t),i=this._hass.locale,n=this._hass.config,Fe(i,n.time_zone).format(e);var e,i,n}}}_evalTemplate(t,e){try{return new Function("states","entity","user","hass","variables","html","helpers",`'use strict'; ${e}`).call(this,this._hass.states,t,this._hass.user,this._hass,this._evaledVariables,P,this._getTemplateHelpers())}catch(_t){const i=e.length<=100?e.trim():`${e.trim().substring(0,98)}...`;throw _t.message=`${_t.name}: ${_t.message} in '${i}'`,_t.name="ButtonCardJSTemplateError",_t}}_objectEvalTemplate(t,e){const i=$i(e);return this._getTemplateOrValue(t,i)}_getTemplateOrValue(t,e){if(["number","boolean"].includes(typeof e))return e;if(!e)return e;if("object"==typeof e)return Object.keys(e).forEach((i=>{e[i]=this._getTemplateOrValue(t,e[i])})),e;const i=e.trim();return"[[["===i.substring(0,3)&&"]]]"===i.slice(-3)?this._evalTemplate(t,i.slice(3,-3)):e}_getColorForLightEntity(t,e,i){let n=te;return Xt.includes(n)&&(n=ae(Qt)),t&&(se(t)?(n=t.attributes.rgb_color?`rgb(${t.attributes.rgb_color.join(",")})`:e&&t.attributes.color_temp&&t.attributes.min_mireds&&t.attributes.max_mireds?function(t,e,i){const n=new Wt("rgb(255, 160, 0)"),r=new Wt("rgb(166, 209, 255)"),s=new Wt("white"),a=(t-e)/(i-e)*100;return a<50?qt(r).mix(s,2*a).toRgbString():qt(s).mix(n,2*(a-50)).toRgbString()}(t.attributes.color_temp,t.attributes.min_mireds,t.attributes.max_mireds):xi(t,t.state,i)||te,t.attributes.brightness&&(n=function(t,e,i){const n=new Wt(ie(t,e));if(n.isValid){const t=n.mix("black",100-i).toString();if(t)return t}return e}(this,n,(t.attributes.brightness+245)/5))):n=xi(t,t.state,i)||te),n}_buildCssColorAttribute(t,e){var i,n;let r,s="";return(null==e?void 0:e.color)?s=e.color:this._config.color&&(s=this._config.color),Jt.includes(s)&&(!t||t&&"light"!==ee(t.entity_id))&&(s=""),r=Jt.includes(s)?this._getColorForLightEntity(t,"auto-no-temperature"!==s,null===(i=this._config)||void 0===i?void 0:i.color_type):s||(t&&xi(t,t.state,null===(n=this._config)||void 0===n?void 0:n.color_type)||te),r}_buildIcon(t,e){if(!this._config.show_icon)return;let i;if(null==e?void 0:e.icon)i=e.icon;else{if(!this._config.icon)return;i=this._config.icon}return this._getTemplateOrValue(t,i)}_buildEntityPicture(t,e){if(!this._config.show_entity_picture||!t&&!e&&!this._config.entity_picture)return;let i;return(null==e?void 0:e.entity_picture)?i=e.entity_picture:this._config.entity_picture?i=this._config.entity_picture:t&&(i=t.attributes&&t.attributes.entity_picture?t.attributes.entity_picture:void 0),this._getTemplateOrValue(t,i)}_buildStyleGeneric(t,e,i){var n,r;let s={};if((null===(n=this._config.styles)||void 0===n?void 0:n[i])&&(s=Object.assign(s,...this._config.styles[i])),null===(r=null==e?void 0:e.styles)||void 0===r?void 0:r[i]){let t={};t=Object.assign(t,...e.styles[i]),s=Object.assign(Object.assign({},s),t)}return Object.keys(s).forEach((e=>{s[e]=this._getTemplateOrValue(t,s[e])})),s}_buildCustomStyleGeneric(t,e,i){var n,r,s,a;let o={};if((null===(r=null===(n=this._config.styles)||void 0===n?void 0:n.custom_fields)||void 0===r?void 0:r[i])&&(o=Object.assign(o,...this._config.styles.custom_fields[i])),null===(a=null===(s=null==e?void 0:e.styles)||void 0===s?void 0:s.custom_fields)||void 0===a?void 0:a[i]){let t={};t=Object.assign(t,...e.styles.custom_fields[i]),o=Object.assign(Object.assign({},o),t)}return Object.keys(o).forEach((e=>{o[e]=this._getTemplateOrValue(t,o[e])})),o}_buildName(t,e){if(!1===this._config.show_name)return;let i;var n;return(null==e?void 0:e.name)?i=e.name:this._config.name?i=this._config.name:t&&(i=t.attributes&&t.attributes.friendly_name?t.attributes.friendly_name:(n=t.entity_id).substr(n.indexOf(".")+1)),this._getTemplateOrValue(t,i)}_buildStateString(t){let e;return this._config.show_state&&t&&t.state&&("timer"===ee(t.entity_id)?"idle"===t.state||0===this._timeRemaining?e=ei(this._hass.localize,t,this._hass.locale,this._hass.config,this._hass.entities,this._config):(e=this._computeTimeDisplay(t),"paused"===t.state&&(e+=` (${ei(this._hass.localize,t,this._hass.locale,this._hass.config,this._hass.entities,this._config)})`)):e=ei(this._hass.localize,t,this._hass.locale,this._hass.config,this._hass.entities,this._config)),e}_buildLastChanged(t,e){return this._config.show_last_changed&&t?P` - - `:void 0}_buildLabel(t,e){if(!this._config.show_label)return;let i;return i=(null==e?void 0:e.label)?e.label:this._config.label,this._getTemplateOrValue(t,i)}_buildCustomFields(t,e){let i=P``;const n={},r={};return this._config.custom_fields&&Object.keys(this._config.custom_fields).forEach((e=>{const i=this._config.custom_fields[e];i.card?i.do_not_eval?r[e]=$i(i.card):r[e]=this._objectEvalTemplate(t,i.card):n[e]=this._getTemplateOrValue(t,i)})),(null==e?void 0:e.custom_fields)&&Object.keys(e.custom_fields).forEach((i=>{const s=e.custom_fields[i];s.card?s.do_not_eval?r[i]=$i(s.card):r[i]=this._objectEvalTemplate(t,s.card):n[i]=this._getTemplateOrValue(t,s)})),Object.keys(n).forEach((r=>{if(null!=n[r]){const s=Object.assign(Object.assign({},this._buildCustomStyleGeneric(t,e,r)),{"grid-area":r});i=P` - ${i} -
${this._unsafeHTMLorNot(n[r])}
- `}})),Object.keys(r).forEach((n=>{if(null!=r[n]){const s=Object.assign(Object.assign({},this._buildCustomStyleGeneric(t,e,n)),{"grid-area":n});let a;wt(this._cardsConfig[n],r[n])?a=this._cards[n]:(a=this._createCard(r[n]),this._cards[n]=a,this._cardsConfig[n]=$i(r[n])),a.hass=this._hass,i=P` - ${i} -
- ${a} -
- `}})),i}_hasChildCards(t){return!!t&&Object.keys(t).some((e=>!!t[e].card))}_isClickable(t,e){const i=this._getTemplateOrValue(t,this._config.tap_action.action),n=this._getTemplateOrValue(t,this._config.hold_action.action),r=this._getTemplateOrValue(t,this._config.double_tap_action.action),s=this._hasChildCards(this._config.custom_fields)||!(!e||!this._hasChildCards(e.custom_fields));return"none"!=i||"none"!=n||"none"!=r||s}_rotate(t){return!!(null==t?void 0:t.spin)}_blankCardColoredHtml(t){const e=Object.assign({background:"none","box-shadow":"none","border-style":"none"},t);return P` - -
-
- `}_cardHtml(){var t,e,i,n;const r=this._getMatchingConfigState(this._stateObj);let s="var(--state-inactive-color)";(null==r?void 0:r.color)&&!Jt.includes(r.color)?s=r.color:(null===(t=this._config)||void 0===t?void 0:t.color)&&!Jt.includes(this._config.color)?this._stateObj?se(this._stateObj)&&(s=(null===(e=this._config)||void 0===e?void 0:e.color)||s):s=this._config.color:s=this._buildCssColorAttribute(this._stateObj,r);let a=s,o={},l={};const c={},h=this._buildStyleGeneric(this._stateObj,r,"lock"),u=this._buildStyleGeneric(this._stateObj,r,"card"),d=this._buildStyleGeneric(this._stateObj,r,"tooltip"),f={"button-card-main":!0,disabled:!this._isClickable(this._stateObj,r)};switch((null===(i=this._config)||void 0===i?void 0:i.tooltip)&&this.classList.add("tooltip"),u.width&&(this.style.setProperty("flex","0 0 auto"),this.style.setProperty("max-width","fit-content")),this._config.color_type){case"blank-card":return this._blankCardColoredHtml(u);case"card":case"label-card":{const t=function(t,e){const i=new Wt(ie(t,e)).getLuminance(),n=new Wt({r:225,g:225,b:225}),r=n.getLuminance(),s=new Wt({r:28,g:28,b:28}),a=s.getLuminance();return 0===i||(Math.max(i,r)+.05)/Math.min(i,r+.05)>(Math.max(i,a)+.05)/Math.min(i,a+.05)?n.toRgbString():s.toRgbString()}(this,s);o.color=t,l.color=t,o["background-color"]=s,o=Object.assign(Object.assign({},o),u),a="inherit";break}default:o=u}this._config.aspect_ratio?(c["--aspect-ratio"]=this._config.aspect_ratio,o.position="absolute"):c.display="inline",this.style.setProperty("--button-card-light-color",this._getColorForLightEntity(this._stateObj,!0)),this.style.setProperty("--button-card-light-color-no-temperature",this._getColorForLightEntity(this._stateObj,!1)),l=Object.assign(Object.assign({},l),h);const m=this._config.extra_styles?P` - - `:P``;return P` - ${m} -
- - ${this._buttonContent(this._stateObj,r,a)} - - - ${this._getLock(l)} -
- ${(null===(n=this._config)||void 0===n?void 0:n.tooltip)?P` - - ${this._getTemplateOrValue(this._stateObj,this._config.tooltip)} - - `:""} - `}_getLock(t){return this._config.lock&&this._getTemplateOrValue(this._stateObj,this._config.lock.enabled)?P` -
- -
- `:P``}_buttonContent(t,e,i){const n=this._buildName(t,e),r=(null==e?void 0:e.state_display)||this._config.state_display||void 0,s=this._config.show_state&&r?this._getTemplateOrValue(t,r):void 0,a=s||this._buildStateString(t),o=function(t,e){if(!t&&!e)return;let i;return i=e?t?`${t}: ${e}`:e:t,i}(n,a);switch(this._config.layout){case"icon_name_state":case"name_state":return this._gridHtml(t,e,this._config.layout,i,o,void 0);default:return this._gridHtml(t,e,this._config.layout,i,n,a)}}_unsafeHTMLorNot(t){return t.strings||t.values?t:vt(`${t}`)}_gridHtml(t,e,i,n,r,s){const a=this._getIconHtml(t,e,n),o=[i],l=this._buildLabel(t,e),c=this._buildStyleGeneric(t,e,"name"),h=this._buildStyleGeneric(t,e,"state"),u=this._buildStyleGeneric(t,e,"label"),d=this._buildLastChanged(t,u),f=this._buildStyleGeneric(t,e,"grid");return a||o.push("no-icon"),r||o.push("no-name"),s||o.push("no-state"),l||d||o.push("no-label"),P` -
- ${a||""} - ${r?P` -
- ${this._unsafeHTMLorNot(r)} -
- `:""} - ${s?P` -
- ${this._unsafeHTMLorNot(s)} -
- `:""} - ${l&&!d?P` -
- ${this._unsafeHTMLorNot(l)} -
- `:""} - ${d||""} ${this._buildCustomFields(t,e)} -
- `}_getIconHtml(t,e,i){const n=this._buildIcon(t,e),r=this._buildEntityPicture(t,e),s=this._buildStyleGeneric(t,e,"entity_picture"),a=this._buildStyleGeneric(t,e,"icon"),o=this._buildStyleGeneric(t,e,"img_cell"),l=this._buildStyleGeneric(t,e,"card"),c=Object.assign({color:i,width:this._config.size,"--ha-icon-display":l.height?"inline":void 0,position:this._config.aspect_ratio||l.height?"absolute":"relative"},a),h=Object.assign(Object.assign({},c),s),u=this._buildLiveStream(h),d=this._config.show_icon&&(n||t);if(d||r){let i;return t&&(i=ee(t.entity_id)),P` -
- ${!d||r||u?"":P` - null!=t?t:I)(null==t?void 0:t.state)} - style=${gt(c)} - .icon="${n}" - id="icon" - ?rotating=${this._rotate(e)} - > - `} - ${u||""} - ${r&&!u?P` - - `:""} -
- `}}_buildLiveStream(t){return this._config.show_live_stream&&this._config.entity&&"camera"===ee(this._config.entity)?P` - - `:void 0}_configFromLLTemplates(t,e){const i=e.template;if(!i)return e;let n,r={};const s=i&&Array.isArray(i)?i:[i];return null==s||s.forEach((e=>{var i;if(!(null===(i=t.config.button_card_templates)||void 0===i?void 0:i[e]))throw new Error(`Button-card template '${e}' is missing!`);const s=this._configFromLLTemplates(t,t.config.button_card_templates[e]);r=ne(r,s),n=re(n,s.state)})),r=ne(r,e),r.state=re(n,e.state),r}setConfig(t){if(!t)throw new Error("Invalid configuration");this._initialSetupComplete&&(this._initialSetupComplete=!1),this._cards={},this._cardsConfig={};const e=function(){let t=document.querySelector("home-assistant");if(t=t&&t.shadowRoot,t=t&&t.querySelector("home-assistant-main"),t=t&&t.shadowRoot,t=t&&t.querySelector("app-drawer-layout partial-panel-resolver, ha-drawer partial-panel-resolver"),t=t&&t.shadowRoot||t,t=t&&t.querySelector("ha-panel-lovelace"),t=t&&t.shadowRoot,t=t&&t.querySelector("hui-root"),t){const e=t.lovelace;return e.current_view=t.___curView,e}return null}()||function(){let t=document.querySelector("hc-main");if(t=t&&t.shadowRoot,t=t&&t.querySelector("hc-lovelace"),t=t&&t.shadowRoot,t=t&&(t.querySelector("hui-view")||t.querySelector("hui-panel-view")),t){const e=t.lovelace;return e.current_view=t.___curView,e}return null}();let i=$i(t);i=this._configFromLLTemplates(e,i),this._config=Object.assign(Object.assign({type:"custom:button-card",group_expand:!1,hold_action:{action:"none"},double_tap_action:{action:"none"},layout:"vertical",size:"40%",color_type:"icon",show_name:!0,show_state:!1,show_icon:!0,show_units:!0,show_label:!1,show_entity_picture:!1,show_live_stream:!1,card_size:3},i),{lock:Object.assign({enabled:!1,duration:5,unlock:"tap"},i.lock)}),this._initialSetupComplete||this._finishSetup()}_loopGroup(t){t&&t.forEach((t=>{var e,i;(null===(e=this._hass)||void 0===e?void 0:e.states[t])&&((null===(i=this._hass.states[t].attributes)||void 0===i?void 0:i.entity_id)?this._loopGroup(this._hass.states[t].attributes.entity_id):this._entities.includes(t)||this._entities.push(t))}))}_expandTriggerGroups(){var t;this._hass&&(null===(t=this._config)||void 0===t?void 0:t.group_expand)&&this._entities&&this._entities.forEach((t=>{var e,i,n,r,s;(null===(n=null===(i=null===(e=this._hass)||void 0===e?void 0:e.states[t])||void 0===i?void 0:i.attributes)||void 0===n?void 0:n.entity_id)&&this._loopGroup(null===(s=null===(r=this._hass)||void 0===r?void 0:r.states[t].attributes)||void 0===s?void 0:s.entity_id)}))}getCardSize(){var t;return(null===(t=this._config)||void 0===t?void 0:t.card_size)||3}_evalActions(t,e){var i,n,r,s,a;const o=$i(t),l=t=>t?(Object.keys(t).forEach((e=>{"object"==typeof t[e]?t[e]=l(t[e]):t[e]=this._getTemplateOrValue(this._stateObj,t[e])})),t):t;return"entity"===(null===(n=null===(i=o[e])||void 0===i?void 0:i.service_data)||void 0===n?void 0:n.entity_id)&&(o[e].service_data.entity_id=t.entity),"entity"===(null===(s=null===(r=o[e])||void 0===r?void 0:r.data)||void 0===s?void 0:s.entity_id)&&(o[e].data.entity_id=t.entity),o[e]=l(o[e]),!o[e].confirmation&&o.confirmation&&(o[e].confirmation=l(o.confirmation)),(null===(a=o[e])||void 0===a?void 0:a.entity)&&(o.entity=o[e].entity),o}handleRippleActivate(t){this._ripple.then((e=>e&&"function"==typeof e.startPress&&this._rippleHandlers.startPress(t)))}handleRippleDeactivate(){this._ripple.then((t=>t&&"function"==typeof t.endPress&&this._rippleHandlers.endPress()))}handleRippleFocus(){this._ripple.then((t=>t&&"function"==typeof t.startFocus&&this._rippleHandlers.startFocus()))}handleRippleBlur(){this._ripple.then((t=>t&&"function"==typeof t.endFocus&&this._rippleHandlers.endFocus()))}_handleAction(t){var e;if(null===(e=t.detail)||void 0===e?void 0:e.action)switch(t.detail.action){case"tap":case"hold":case"double_tap":const e=this._config;if(!e)return;const i=t.detail.action,n=this._evalActions(e,`${i}_action`);(async(t,e,i,n)=>{yt(t,"hass-action",{config:i,action:n})})(this,this._hass,n,i)}}_handleUnlockType(t){const e=this._config;e&&e.lock.unlock===t.detail.action&&this._handleLock()}_handleLock(){var t;const e=this.shadowRoot.getElementById("lock");if(!e)return;if(this._config.lock.exemptions){if(!(null===(t=this._hass.user)||void 0===t?void 0:t.name)||!this._hass.user.id)return;let i=!1;if(this._config.lock.exemptions.forEach((t=>{var e,n;(!i&&t.user===(null===(e=this._hass.user)||void 0===e?void 0:e.id)||t.username===(null===(n=this._hass.user)||void 0===n?void 0:n.name))&&(i=!0)})),!i)return e.classList.add("invalid"),void window.setTimeout((()=>{e&&e.classList.remove("invalid")}),3e3)}const i=this.shadowRoot.getElementById("overlay");if(i.style.setProperty("pointer-events","none"),e){const t=document.createAttribute("icon");t.value="mdi:lock-open-outline",e.attributes.setNamedItem(t),e.classList.add("hidden")}window.setTimeout((()=>{if(i.style.setProperty("pointer-events",""),e){e.classList.remove("hidden");const t=document.createAttribute("icon");t.value="mdi:lock-outline",e.attributes.setNamedItem(t)}}),1e3*this._config.lock.duration)}_stopPropagation(t){t.stopPropagation()}};t([at()],Ti.prototype,"_hass",void 0),t([at()],Ti.prototype,"_config",void 0),t([at()],Ti.prototype,"_timeRemaining",void 0),t([function(t){return ot({descriptor:e=>({async get(){var e;return await this.updateComplete,null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t)},enumerable:!0,configurable:!0})})}("mwc-ripple")],Ti.prototype,"_ripple",void 0),t([function(t){return ot({finisher:(e,i)=>{Object.assign(e.prototype[i],t)}})}({passive:!0})],Ti.prototype,"handleRippleActivate",null),Ti=t([(t=>e=>"function"==typeof e?((t,e)=>(customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:i,elements:n}=e;return{kind:i,elements:n,finisher(e){customElements.define(t,e)}}})(t,e))("button-card")],Ti); diff --git a/config/www/community/button-card/button-card.js.gz b/config/www/community/button-card/button-card.js.gz deleted file mode 100755 index 7faf3d2342a116889c12a727dfb03dda435c848b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 27994 zcmV(!K;^$5iwFq#`srl?|6+A?bZ>4gV_|Y+E^2cC)V*tS97&QO_WgcEAqNd+va$+Q zAOV6|NY=7R_K-8p$28bI4-f-nRYg@rGb^(?GYcRH)P2xNCVe@R$z*5J+J0D_q|-?{ zNo#kf$L`*p&P<%Py}z;lMD8AsjC>RxBztzRXS$IUPY(|dcMlH_kMSZJW;~7>nVq@J z`8A2^$;MSOQVWYmeA4PJ)a% zfnQG2@b*}kvc?!XL%?G{li;?xz4(FO>BX&owtKxuC+e!(beAQ)r z=(lNE5)ZJp96-y`u`|cZdbGME(nCe-LqBZ8WW!93UPB|PJN1YCVVlk7+1WlZ0T0?+ zK&gZULnQMjAww#D6^CbI9)|mi`8-ZCcjTXE@xu%t8Z5-(cFxmNo(-n}!uc=&D*7^x zLl#7Unyf!1Ce#~1t8aUhE7qt--w%@{ID>M6QQ@$DvH$W#Ta1^F&tO3L#JJ-mo|Sq=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+HP%E2fcn zv0uDum!acwXUTAbKxy>CTjD>9GQ|JEW}S9qc1#y4oCQ(5l|Pz{%cq^;*&!4Hp|~Kj*(UF6pX~^8j2Dcke3*0T@SAF*?xO;Mm7*iuv^$eAfS4Z>*b7s z{98>C%D(g^MgdCk)A{Ydp|@Y$+1`F}k+Z2@)$7phl1%j%_ePVTs#CL+Z96@p!T(#P zH`SebO`TaD3szPUgDTImyiJR8geFVZRb|(ah1FxW=^)!@I}X|O_@`kGOnhjF7HWgW zQ*b)aKD#F2%LSo4N+}EOf1GH^%$)ZXO>~6+5p$_P93&=rA*58cML=d3)R}p&W!f@ISBO9 zYWxVqn%0c3qXX8XF-%6d55)~yh|^Sh1~ksJ4Z9!*(8CV_qz3)1<}u)bPy6 z@{Fz^Sb_jdEdDalguy*%h7oCR5ds*9sG%)!T_+2^yTfIP>i4j+HX=D~iM}ePt9;0f z+8`J|&!1E3q28r^;(IHrK0_z_{LXe2Vco|0145h!f-fAAFp_sT2-LmTtuz?SrD4-F zk?-=Ywv!7hjUV)mhVJZbo1DCqhtSl#4d1107`+#N7Jd48ApxC*4#^)WC1JKtma~z&&Eh6PuiWWX z8y-}yw5m>ksfPznUWZuIift&fF6F7CwP18?b*FPPQZbS}Zt0QpYwHeRokdRgns~*; ztE|?M@!v?VyD;dTl!D>3<%=`s%Qw%wPC}Xc(Z1>CeY0qyr%lj>haIPoqtUpX`^2Vz z7A1m`3m6I|G+ey$iA&2+rpa)VD{!_6HWdP?q8~|U<F7O(s}qfVC~u=Ni5f hYUT*BKHgc^b=+ALS}FHv+R^;Ue*sJ62;A&;0RV<{n_B=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"),V=/'/g,G=/"/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]?G:V):n===G||n===V?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.get("action-handler-clock-weather")||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}),Ve={"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"},Ge={1:"Dl.",2:"Dt.",3:"Dc.",4:"Dj.",5:"Dv.",6:"Ds.",7:"Dg."},Ee={aqi:"AQI",humidity:"humitat","feels-like":"Sensació tèrmica"},De={weather:Ve,day:Ge,misc:Ee},je=Object.freeze({__proto__:null,day:Ge,default:De,misc:Ee,weather:Ve}),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":"Sensación térmica"},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":"Ressentie"},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":"מרגיש כמו"},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:"Petir","lightning-rainy":"Hujan petir",partlycloudy:"Cerah berawan",pouring:"Hujan deras",rainy:"Hujan",snowy:"Salju","snowy-rainy":"Hujan salju",sunny:"Cerah",windy:"Berangin","windy-variant":"Berangin kencang",exceptional:"Badai"},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"},Vt={1:"Lun",2:"Mar",3:"Mer",4:"Gio",5:"Ven",6:"Sab",7:"Dom"},Gt={aqi:"AQI",humidity:"umidità","feels-like":"Percepita"},Et={weather:Ut,day:Vt,misc:Gt},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":"kloer",cloudy:"bedeckt",fog:"Niwwel",hail:"Knëppelsteng",lightning:"Donnerwieder","lightning-rainy":"Donnerwieder",partlycloudy:"deels bedeckt",pouring:"staarke Reen",rainy:"Reen",snowy:"Schnéi","snowy-rainy":"Schnéireen",sunny:"Sonn",windy:"lëfteg","windy-variant":"staarke Wand",exceptional:"Onwieder"},Ft={1:"Mé",2:"Dë",3:"Më",4:"Do",5:"Fr",6:"Sa",7:"So"},Pt={aqi:"AQI",humidity:"Loftfiichtegkeet","feels-like":"Gefillt"},Ht={weather:Lt,day:Ft,misc:Pt},Wt={"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"},qt={1:"Pr",2:"An",3:"Tr",4:"Kt",5:"Pn",6:"Št",7:"Sk"},Rt={aqi:"AQI",humidity:"drėgmė","feels-like":"Feels like"},Yt={weather:Wt,day:qt,misc:Rt},Jt={"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"},Kt={aqi:"AQI",humidity:"fuktighet","feels-like":"Feels like"},Xt={weather:Jt,day:Qt,misc:Kt},ei={"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"},ti={1:"Ma",2:"Di",3:"Wo",4:"Do",5:"Vr",6:"Za",7:"Zo"},ii={aqi:"AQI",humidity:"Vochtigheid","feels-like":"Gevoelstemperatuur"},ri={weather:ei,day:ti,misc:ii},si={"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"},ai={1:"pon.",2:"wt.",3:"śr.",4:"czw.",5:"pt.",6:"sob.",7:"niedz."},ni={aqi:"AQI",humidity:"wilgotność","feels-like":"Odczuwalne"},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:"umidade","feels-like":"Feels like"},ui={weather:li,day:ci,misc:di},hi={"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"},mi={1:"Seg",2:"Ter",3:"Qua",4:"Qui",5:"Sex",6:"Sáb",7:"Dom"},fi={aqi:"AQI",humidity:"humidade","feels-like":"Sensação térmica"},pi={weather:hi,day:mi,misc:fi},yi={"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"},bi={1:"Lun",2:"Mar",3:"Mie",4:"Joi",5:"Vin",6:"Sam",7:"Dum"},gi={aqi:"AQI",humidity:"umiditate","feels-like":"Feels like"},wi={weather:yi,day:bi,misc:gi},vi={"clear-night":"Ясно",cloudy:"Облачно",fog:"Туман",hail:"Град",lightning:"Гроза","lightning-rainy":"Дождь с грозой",partlycloudy:"Переменная облачность",pouring:"Проливной дождь",rainy:"Дождь",snowy:"Снег","snowy-rainy":"Мокрый снег",sunny:"Солнечно",windy:"Ветер","windy-variant":"Сильный ветер",exceptional:"Буря"},ki={1:"Пн",2:"Вт",3:"Ср",4:"Чт",5:"Пт",6:"Сб",7:"Вс"},xi={aqi:"AQI",humidity:"влажность","feels-like":"Ощущается как"},Ti={weather:vi,day:ki,misc:xi},Mi={"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)"},Si={1:"Pon",2:"Uto",3:"Str",4:"Štv",5:"Pia",6:"Sob",7:"Ned"},_i={aqi:"AQI",humidity:"vlhkosť","feels-like":"pocitová teplota"},Ni={weather:Mi,day:Si,misc:_i},Oi={"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"},Ai={1:"Pon",2:"Tor",3:"Sre",4:"Čet",5:"Pet",6:"Sob",7:"Ned"},$i={aqi:"AQI",humidity:"vlažnost","feels-like":"Feels like"},Zi={weather:Oi,day:Ai,misc:$i},Ci={"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:"Нед"},Ui={aqi:"AQI",humidity:"Влажност","feels-like":"Feels like"},Vi={weather:Ci,day:Bi,misc:Ui},Gi={"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"},Ei={1:"Pon",2:"Uto",3:"Sre",4:"Čet",5:"Pet",6:"Sub",7:"Ned"},Di={aqi:"AQI",humidity:"Vlažnost","feels-like":"Feels like"},ji={weather:Gi,day:Ei,misc:Di},Ii={"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"},zi={1:"Mån",2:"Tis",3:"Ons",4:"Tor",5:"Fre",6:"Lör",7:"Sön"},Li={aqi:"AQI",humidity:"fuktighet","feels-like":"Känns som"},Fi={weather:Ii,day:zi,misc:Li},Pi={"clear-night":"ท้องฟ้าแจ่มใส",cloudy:"มีเมฆเป็นส่วนมาก",fog:"หมอก",hail:"ลูกเห็บ",lightning:"พายุฝนฟ้าคะนอง","lightning-rainy":"ฝนฟ้าคะนอง",partlycloudy:"มีเมฆบางส่วน",pouring:"ฝนตกหนัก",rainy:"ฝนตก",snowy:"หิมะตก","snowy-rainy":"ฝนตกเป็นลูกเห็บ",sunny:"แดดจัด",windy:"มีลมจัด","windy-variant":"ลมแรง",exceptional:"Exceptional"},Hi={1:"จ.",2:"อ.",3:"พ.",4:"พฤ.",5:"ศ.",6:"ส.",7:"อา."},Wi={aqi:"AQI",humidity:"ความชื้น","feels-like":"Feels like"},qi={weather:Pi,day:Hi,misc:Wi},Ri={"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"},Yi={1:"Pzt",2:"Sal",3:"Çrş",4:"Prş",5:"Cum",6:"Cts",7:"Pzr"},Ji={aqi:"AQI",humidity:"nem","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":"صاف",cloudy:"ابر آلود",fog:"دھند",hail:"اولے",lightning:"گرج چمک","lightning-rainy":"گرج چمک کے ساتھ بارش",partlycloudy:"جزوی طور پر ابر آلود",pouring:"موسلا دھار بارش",rainy:"بارش",snowy:"برفانی","snowy-rainy":"ژالہ باری",sunny:"دھوپ",windy:"آندھی","windy-variant":"تیز آندھی",exceptional:"غیر معمولی"},rr={1:"پیر",2:"منگل",3:"بدھ",4:"جمعرات",5:"جمعہ",6:"ہفتہ",7:"اتوار"},sr={aqi:"AQI",humidity:"نمی","feels-like":"Feels like"},ar={weather:ir,day:rr,misc:sr},nr={"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"},or={1:"T2",2:"T3",3:"T4",4:"T5",5:"T6",6:"T7",7:"CN"},lr={aqi:"AQI",humidity:"độ ẩm","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},fr={"clear-night":"晴朗夜晚",cloudy:"多雲",fog:"有霧",hail:"冰雹",lightning:"閃電","lightning-rainy":"雷雨",partlycloudy:"局部多雲",pouring:"大雨",rainy:"下雨",snowy:"下雪","snowy-rainy":"雪雨",sunny:"晴天",windy:"有風","windy-variant":"強風",exceptional:"極端天氣"},pr={1:"週一",2:"週二",3:"週三",4:"週四",5:"週五",6:"週六",7:"週日"},yr={aqi:"空氣品質",humidity:"濕度","feels-like":"體感溫度"},br={weather:fr,day:pr,misc:yr};const gr={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:Vt,default:Et,misc:Gt,weather:Ut}),ko:Object.freeze({__proto__:null,day:jt,default:zt,misc:It,weather:Dt}),lb:Object.freeze({__proto__:null,day:Ft,default:Ht,misc:Pt,weather:Lt}),lt:Object.freeze({__proto__:null,day:qt,default:Yt,misc:Rt,weather:Wt}),nb:Object.freeze({__proto__:null,day:Qt,default:Xt,misc:Kt,weather:Jt}),nl:Object.freeze({__proto__:null,day:ti,default:ri,misc:ii,weather:ei}),pl:Object.freeze({__proto__:null,day:ai,default:oi,misc:ni,weather:si}),ptbr:Object.freeze({__proto__:null,day:ci,default:ui,misc:di,weather:li}),pt:Object.freeze({__proto__:null,day:mi,default:pi,misc:fi,weather:hi}),ro:Object.freeze({__proto__:null,day:bi,default:wi,misc:gi,weather:yi}),ru:Object.freeze({__proto__:null,day:ki,default:Ti,misc:xi,weather:vi}),sk:Object.freeze({__proto__:null,day:Si,default:Ni,misc:_i,weather:Mi}),sl:Object.freeze({__proto__:null,day:Ai,default:Zi,misc:$i,weather:Oi}),sr:Object.freeze({__proto__:null,day:Bi,default:Vi,misc:Ui,weather:Ci}),srlatn:Object.freeze({__proto__:null,day:Ei,default:ji,misc:Di,weather:Gi}),sv:Object.freeze({__proto__:null,day:zi,default:Fi,misc:Li,weather:Ii}),th:Object.freeze({__proto__:null,day:Hi,default:qi,misc:Wi,weather:Pi}),tr:Object.freeze({__proto__:null,day:Yi,default:Qi,misc:Ji,weather:Ri}),uk:Object.freeze({__proto__:null,day:Xi,default:tr,misc:er,weather:Ki}),ur:Object.freeze({__proto__:null,day:rr,default:ar,misc:sr,weather:ir}),vi:Object.freeze({__proto__:null,day:or,default:cr,misc:lr,weather:nr}),zhcn:Object.freeze({__proto__:null,day:ur,default:mr,misc:hr,weather:dr}),zhtw:Object.freeze({__proto__:null,day:pr,default:br,misc:yr,weather:fr})};function wr(e){return Math.max(...e)}function vr(e){return Math.min(...e)}function kr(e,t=0){return t<=0?Math.round(e):Math.ceil((e-t/2)/t)*t}function xr(e,t=0){return t<=0?Math.ceil(e):Math.ceil(e/t)*t}function Tr(e){return null===e?null:Math.round(e)}var 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='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",Sr="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",_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='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",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 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",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='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",Ar="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",Zr="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",Cr="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",Br="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",Ur="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",Vr="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 Gr={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:Nr,night:Sr},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:Nr,night:Sr},windy:Ar,"windy-exceptional":Ar,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:_r,night:Mr},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:_r,night:Mr},windy:Or,"windy-exceptional":Or,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"}},Er={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:Br,night:Zr},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:Br,night:Zr},windy:Vr,"windy-exceptional":Vr,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:Cr,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:Cr,night:$r},windy:Ur,"windy-exceptional":Ur,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 Dr(e){try{return e()}catch(e){return console.error("clock-weather-card - Error while rendering clock-weather-card component:",e),D``}}class jr extends Error{}class Ir extends jr{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class zr extends jr{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class Lr extends jr{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class Fr extends jr{}class Pr extends jr{constructor(e){super(`Invalid unit ${e}`)}}class Hr extends jr{}class Wr extends jr{constructor(){super("Zone is an abstract class")}}const qr="numeric",Rr="short",Yr="long",Jr={year:qr,month:qr,day:qr},Qr={year:qr,month:Rr,day:qr},Kr={year:qr,month:Rr,day:qr,weekday:Rr},Xr={year:qr,month:Yr,day:qr},es={year:qr,month:Yr,day:qr,weekday:Yr},ts={hour:qr,minute:qr},is={hour:qr,minute:qr,second:qr},rs={hour:qr,minute:qr,second:qr,timeZoneName:Rr},ss={hour:qr,minute:qr,second:qr,timeZoneName:Yr},as={hour:qr,minute:qr,hourCycle:"h23"},ns={hour:qr,minute:qr,second:qr,hourCycle:"h23"},os={hour:qr,minute:qr,second:qr,hourCycle:"h23",timeZoneName:Rr},ls={hour:qr,minute:qr,second:qr,hourCycle:"h23",timeZoneName:Yr},cs={year:qr,month:qr,day:qr,hour:qr,minute:qr},ds={year:qr,month:qr,day:qr,hour:qr,minute:qr,second:qr},us={year:qr,month:Rr,day:qr,hour:qr,minute:qr},hs={year:qr,month:Rr,day:qr,hour:qr,minute:qr,second:qr},ms={year:qr,month:Rr,day:qr,weekday:Rr,hour:qr,minute:qr},fs={year:qr,month:Yr,day:qr,hour:qr,minute:qr,timeZoneName:Rr},ps={year:qr,month:Yr,day:qr,hour:qr,minute:qr,second:qr,timeZoneName:Rr},ys={year:qr,month:Yr,day:qr,weekday:Yr,hour:qr,minute:qr,timeZoneName:Yr},bs={year:qr,month:Yr,day:qr,weekday:Yr,hour:qr,minute:qr,second:qr,timeZoneName:Yr};class gs{get type(){throw new Wr}get name(){throw new Wr}get ianaName(){return this.name}get isUniversal(){throw new Wr}offsetName(e,t){throw new Wr}formatOffset(e,t){throw new Wr}offset(e){throw new Wr}equals(e){throw new Wr}get isValid(){throw new Wr}}let ws=null;class vs extends gs{static get instance(){return null===ws&&(ws=new vs),ws}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:i}){return Da(e,t,i)}formatOffset(e,t){return La(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return"system"===e.type}get isValid(){return!0}}let ks={};const xs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ts={};class Ms extends gs{static create(e){return Ts[e]||(Ts[e]=new Ms(e)),Ts[e]}static resetCache(){Ts={},ks={}}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=Ms.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:i}){return Da(e,t,i,this.name)}formatOffset(e,t){return La(this.offset(e),t)}offset(e){const t=new Date(e);if(isNaN(t))return NaN;const i=(r=this.name,ks[r]||(ks[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"})),ks[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,(Ua({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 Ss={};let _s={};function Ns(e,t={}){const i=JSON.stringify([e,t]);let r=_s[i];return r||(r=new Intl.DateTimeFormat(e,t),_s[i]=r),r}let Os={};let As={};let $s=null;let Zs={};function Cs(e,t,i,r){const s=e.listingMode();return"error"===s?null:"en"===s?i(t):r(t)}class Bs{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=Os[i];return r||(r=new Intl.NumberFormat(e,t),Os[i]=r),r}(e,t)}}format(e){if(this.inf){const t=this.floor?Math.floor(e):e;return this.inf.format(t)}return _a(this.floor?Math.floor(e):$a(e,3),this.padTo)}}class Us{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&&Ms.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=Ns(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 Vs{constructor(e,t,i){this.opts={style:"long",...i},!t&&va()&&(this.rtf=function(e,t={}){const{base:i,...r}=t,s=JSON.stringify([e,r]);let a=As[s];return a||(a=new Intl.RelativeTimeFormat(e,t),As[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 Gs={firstDay:1,minimalDays:4,weekend:[6,7]};class Es{static fromOpts(e){return Es.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,i,r,s=!1){const a=e||ta.defaultLocale,n=a||(s?"en-US":$s||($s=(new Intl.DateTimeFormat).resolvedOptions().locale,$s)),o=t||ta.defaultNumberingSystem,l=i||ta.defaultOutputCalendar,c=Ma(r)||ta.defaultWeekSettings;return new Es(n,o,l,c,a)}static resetCache(){$s=null,_s={},Os={},As={}}static fromObject({locale:e,numberingSystem:t,outputCalendar:i,weekSettings:r}={}){return Es.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=Ns(e).resolvedOptions(),r=e}catch(s){const a=e.substring(0,i);t=Ns(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?Es.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,Ma(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 Cs(this,e,qa,(()=>{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=Ko.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 Cs(this,e,Qa,(()=>{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=Ko.utc(2016,11,13+i);t.push(e(r))}return t}((e=>this.extract(e,i,"weekday")))),this.weekdaysCache[r][e]}))}meridiems(){return Cs(this,void 0,(()=>Ka),(()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Ko.utc(2016,11,13,9),Ko.utc(2016,11,13,19)].map((t=>this.extract(t,e,"dayperiod")))}return this.meridiemCache}))}eras(e){return Cs(this,e,rn,(()=>{const t={era:e};return this.eraCache[e]||(this.eraCache[e]=[Ko.utc(-40,1,1),Ko.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 Bs(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new Us(e,this.intl,t)}relFormatter(e={}){return new Vs(this.intl,this.isEnglish(),e)}listFormatter(e={}){return function(e,t={}){const i=JSON.stringify([e,t]);let r=Ss[i];return r||(r=new Intl.ListFormat(e,t),Ss[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:ka()?function(e){let t=Zs[e];if(!t){const i=new Intl.Locale(e);t="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Zs[e]=t}return t}(this.locale):Gs}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}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Ds=null;class js extends gs{static get utcInstance(){return null===Ds&&(Ds=new js(0)),Ds}static instance(e){return 0===e?js.utcInstance:new js(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new js(ja(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${La(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${La(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return La(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 Is extends gs{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 zs(e,t){if(ba(e)||null===e)return t;if(e instanceof gs)return e;if(function(e){return"string"==typeof e}(e)){const i=e.toLowerCase();return"default"===i?t:"local"===i||"system"===i?vs.instance:"utc"===i||"gmt"===i?js.utcInstance:js.parseSpecifier(i)||Ms.create(e)}return ga(e)?js.instance(e):"object"==typeof e&&"offset"in e&&"function"==typeof e.offset?e:new Is(e)}const Ls={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Fs={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]},Ps=Ls.hanidec.replace(/[\[|\]]/g,"").split("");let Hs={};function Ws({numberingSystem:e},t=""){const i=e||"latn";return Hs[i]||(Hs[i]={}),Hs[i][t]||(Hs[i][t]=new RegExp(`${Ls[i]}${t}`)),Hs[i][t]}let qs,Rs=()=>Date.now(),Ys="system",Js=null,Qs=null,Ks=null,Xs=60,ea=null;class ta{static get now(){return Rs}static set now(e){Rs=e}static set defaultZone(e){Ys=e}static get defaultZone(){return zs(Ys,vs.instance)}static get defaultLocale(){return Js}static set defaultLocale(e){Js=e}static get defaultNumberingSystem(){return Qs}static set defaultNumberingSystem(e){Qs=e}static get defaultOutputCalendar(){return Ks}static set defaultOutputCalendar(e){Ks=e}static get defaultWeekSettings(){return ea}static set defaultWeekSettings(e){ea=Ma(e)}static get twoDigitCutoffYear(){return Xs}static set twoDigitCutoffYear(e){Xs=e%100}static get throwOnInvalid(){return qs}static set throwOnInvalid(e){qs=e}static resetCaches(){Es.resetCache(),Ms.resetCache(),Ko.resetCache(),Hs={}}}class ia{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ra=[0,31,59,90,120,151,181,212,243,273,304,334],sa=[0,31,60,91,121,152,182,213,244,274,305,335];function aa(e,t){return new ia("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function na(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 oa(e,t,i){return i+(Za(e)?sa:ra)[t-1]}function la(e,t){const i=Za(e)?sa:ra,r=i.findIndex((e=>eGa(r,t,i)?(l=r+1,c=1):l=r,{weekYear:l,weekNumber:c,weekday:o,...Fa(e)}}function ua(e,t=4,i=1){const{weekYear:r,weekNumber:s,weekday:a}=e,n=ca(na(r,1,t),i),o=Ca(r);let l,c=7*s+a-n-7+t;c<1?(l=r-1,c+=Ca(l)):c>o?(l=r+1,c-=Ca(r)):l=r;const{month:d,day:u}=la(l,c);return{year:l,month:d,day:u,...Fa(e)}}function ha(e){const{year:t,month:i,day:r}=e;return{year:t,ordinal:oa(t,i,r),...Fa(e)}}function ma(e){const{year:t,ordinal:i}=e,{month:r,day:s}=la(t,i);return{year:t,month:r,day:s,...Fa(e)}}function fa(e,t){if(!ba(e.localWeekday)||!ba(e.localWeekNumber)||!ba(e.localWeekYear)){if(!ba(e.weekday)||!ba(e.weekNumber)||!ba(e.weekYear))throw new Fr("Cannot mix locale-based week fields with ISO-based week fields");return ba(e.localWeekday)||(e.weekday=e.localWeekday),ba(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),ba(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 pa(e){const t=wa(e.year),i=Sa(e.month,1,12),r=Sa(e.day,1,Ba(e.year,e.month));return t?i?!r&&aa("day",e.day):aa("month",e.month):aa("year",e.year)}function ya(e){const{hour:t,minute:i,second:r,millisecond:s}=e,a=Sa(t,0,23)||24===t&&0===i&&0===r&&0===s,n=Sa(i,0,59),o=Sa(r,0,59),l=Sa(s,0,999);return a?n?o?!l&&aa("millisecond",s):aa("second",r):aa("minute",i):aa("hour",t)}function ba(e){return void 0===e}function ga(e){return"number"==typeof e}function wa(e){return"number"==typeof e&&e%1==0}function va(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function ka(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function xa(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 Ta(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ma(e){if(null==e)return null;if("object"!=typeof e)throw new Hr("Week settings must be an object");if(!Sa(e.firstDay,1,7)||!Sa(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some((e=>!Sa(e,1,7))))throw new Hr("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function Sa(e,t,i){return wa(e)&&e>=t&&e<=i}function _a(e,t=2){let i;return i=e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0"),i}function Na(e){return ba(e)||null===e||""===e?void 0:parseInt(e,10)}function Oa(e){return ba(e)||null===e||""===e?void 0:parseFloat(e)}function Aa(e){if(!ba(e)&&null!==e&&""!==e){const t=1e3*parseFloat("0."+e);return Math.floor(t)}}function $a(e,t,i=!1){const r=10**t;return(i?Math.trunc:Math.round)(e*r)/r}function Za(e){return e%4==0&&(e%100!=0||e%400==0)}function Ca(e){return Za(e)?366:365}function Ba(e,t){const i=function(e,t){return e-t*Math.floor(e/t)}(t-1,12)+1;return 2===i?Za(e+(t-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ua(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 Va(e,t,i){return-ca(na(e,1,t),i)+t-1}function Ga(e,t=4,i=1){const r=Va(e,t,i),s=Va(e+1,t,i);return(Ca(e)-r+s)/7}function Ea(e){return e>99?e:e>ta.twoDigitCutoffYear?1900+e:2e3+e}function Da(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 ja(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 Ia(e){const t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new Hr(`Invalid unit value ${e}`);return t}function za(e,t){const i={};for(const r in e)if(Ta(e,r)){const s=e[r];if(null==s)continue;i[t(r)]=Ia(s)}return i}function La(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}${_a(i,2)}:${_a(r,2)}`;case"narrow":return`${s}${i}${r>0?`:${r}`:""}`;case"techie":return`${s}${_a(i,2)}${_a(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function Fa(e){return function(e,t){return t.reduce(((t,i)=>(t[i]=e[i],t)),{})}(e,["hour","minute","second","millisecond"])}const Pa=["January","February","March","April","May","June","July","August","September","October","November","December"],Ha=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Wa=["J","F","M","A","M","J","J","A","S","O","N","D"];function qa(e){switch(e){case"narrow":return[...Wa];case"short":return[...Ha];case"long":return[...Pa];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 Ra=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Ya=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Ja=["M","T","W","T","F","S","S"];function Qa(e){switch(e){case"narrow":return[...Ja];case"short":return[...Ya];case"long":return[...Ra];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ka=["AM","PM"],Xa=["Before Christ","Anno Domini"],en=["BC","AD"],tn=["B","A"];function rn(e){switch(e){case"narrow":return[...tn];case"short":return[...en];case"long":return[...Xa];default:return null}}function sn(e,t){let i="";for(const r of e)r.literal?i+=r.val:i+=t(r.val);return i}const an={D:Jr,DD:Qr,DDD:Xr,DDDD:es,t:ts,tt:is,ttt:rs,tttt:ss,T:as,TT:ns,TTT:os,TTTT:ls,f:cs,ff:us,fff:fs,ffff:ys,F:ds,FF:hs,FFF:ps,FFFF:bs};class nn{static create(e,t={}){return new nn(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 an[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 _a(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 Ka[e.hour<12?0:1]}(e):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),o=(t,r)=>i?function(e,t){return qa(t)[e.month-1]}(e,t):s(r?{month:t}:{month:t,day:"numeric"},"month"),l=(t,r)=>i?function(e,t){return Qa(t)[e.weekday-1]}(e,t):s(r?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),c=t=>{const i=nn.macroTokenToFormatOpts(t);return i?this.formatWithSystemDefault(e,i):t},d=t=>i?function(e,t){return rn(t)[e.year<0?0:1]}(e,t):s({era:t},"era");return sn(nn.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=nn.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 sn(r,(e=>t=>{const r=i(t);return r?this.num(e.get(r),t.length):t})(a))}}const on=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function ln(...e){const t=e.reduce(((e,t)=>e+t.source),"");return RegExp(`^${t}$`)}function cn(...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 dn(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 un(...e){return(t,i)=>{const r={};let s;for(s=0;svoid 0!==e&&(t||e&&d)?-e:e;return[{years:h(Oa(i)),months:h(Oa(r)),weeks:h(Oa(s)),days:h(Oa(a)),hours:h(Oa(n)),minutes:h(Oa(o)),seconds:h(Oa(l),"-0"===l),milliseconds:h(Aa(c),u)}]}const Nn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function On(e,t,i,r,s,a,n){const o={year:2===t.length?Ea(Na(t)):Na(t),month:Ha.indexOf(i)+1,day:Na(r),hour:Na(s),minute:Na(a)};return n&&(o.second=Na(n)),e&&(o.weekday=e.length>3?Ra.indexOf(e)+1:Ya.indexOf(e)+1),o}const An=/^(?:(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 $n(e){const[,t,i,r,s,a,n,o,l,c,d,u]=e,h=On(t,s,r,i,a,n,o);let m;return m=l?Nn[l]:c?0:ja(d,u),[h,new js(m)]}const Zn=/^(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$/,Cn=/^(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$/,Bn=/^(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 Un(e){const[,t,i,r,s,a,n,o]=e;return[On(t,s,r,i,a,n,o),js.utcInstance]}function Vn(e){const[,t,i,r,s,a,n,o]=e;return[On(t,o,i,r,s,a,n),js.utcInstance]}const Gn=ln(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,pn),En=ln(/(\d{4})-?W(\d\d)(?:-?(\d))?/,pn),Dn=ln(/(\d{4})-?(\d{3})/,pn),jn=ln(fn),In=cn((function(e,t){return[{year:vn(e,t),month:vn(e,t+1,1),day:vn(e,t+2,1)},null,t+3]}),kn,xn,Tn),zn=cn(yn,kn,xn,Tn),Ln=cn(bn,kn,xn,Tn),Fn=cn(kn,xn,Tn);const Pn=cn(kn);const Hn=ln(/(\d{4})-(\d\d)-(\d\d)/,wn),Wn=ln(gn),qn=cn(kn,xn,Tn);const Rn="Invalid Duration",Yn={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}},Jn={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},...Yn},Qn=365.2425,Kn=30.436875,Xn={years:{quarters:4,months:12,weeks:52.1775,days:Qn,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:Kn,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Yn},eo=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],to=eo.slice(0).reverse();function io(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 ao(r)}function ro(e,t){let i=t.milliseconds??0;for(const r of to.slice(1))t[r]&&(i+=t[r]*e[r].milliseconds);return i}function so(e,t){const i=ro(e,t)<0?-1:1;eo.reduceRight(((r,s)=>{if(ba(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),eo.reduce(((i,r)=>{if(ba(t[r]))return i;if(i){const s=t[i]%1;t[i]-=s,t[r]+=s*e[i][r]}return r}),null)}class ao{constructor(e){const t="longterm"===e.conversionAccuracy||!1;let i=t?Xn:Jn;e.matrix&&(i=e.matrix),this.values=e.values,this.loc=e.loc||Es.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(e,t){return ao.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(null==e||"object"!=typeof e)throw new Hr("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new ao({values:za(e,ao.normalizeUnit),loc:Es.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(ga(e))return ao.fromMillis(e);if(ao.isDuration(e))return e;if("object"==typeof e)return ao.fromObject(e);throw new Hr(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){const[i]=function(e){return dn(e,[Sn,_n])}(e);return i?ao.fromObject(i,t):ao.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){const[i]=function(e){return dn(e,[Mn,Pn])}(e);return i?ao.fromObject(i,t):ao.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new Hr("need to specify a reason the Duration is invalid");const i=e instanceof ia?e:new ia(e,t);if(ta.throwOnInvalid)throw new Lr(i);return new ao({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 Pr(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?nn.create(this.loc,i).formatDurationFromString(this,e):Rn}toHuman(e={}){if(!this.isValid)return Rn;const t=eo.map((t=>{const i=this.values[t];return ba(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+=$a(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 Ko.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?ro(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=ao.fromDurationLike(e),i={};for(const e of eo)(Ta(t.values,e)||Ta(this.values,e))&&(i[e]=t.get(e)+this.get(e));return io(this,{values:i},!0)}minus(e){if(!this.isValid)return this;const t=ao.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]=Ia(e(this.values[i],i));return io(this,{values:t},!0)}get(e){return this[ao.normalizeUnit(e)]}set(e){if(!this.isValid)return this;return io(this,{values:{...this.values,...za(e,ao.normalizeUnit)}})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:i,matrix:r}={}){return io(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 so(this.matrix,e),io(this,{values:e},!0)}rescale(){if(!this.isValid)return this;return io(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=>ao.normalizeUnit(e)));const t={},i={},r=this.toObject();let s;for(const a of eo)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;ga(r[a])&&(e+=r[a]);const n=Math.trunc(e);t[a]=n,i[a]=(1e3*e-1e3*n)/1e3}else ga(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 so(this.matrix,t),io(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 io(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 eo)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 no="Invalid Interval";class oo{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 Hr("need to specify a reason the Interval is invalid");const i=e instanceof ia?e:new ia(e,t);if(ta.throwOnInvalid)throw new zr(i);return new oo({invalid:i})}static fromDateTimes(e,t){const i=Xo(e),r=Xo(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?oo.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];const t=e.map(Xo).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(oo.fromDateTimes(r,a)),r=a,s+=1}return i}splitBy(e){const t=ao.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(oo.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:oo.fromDateTimes(t,i)}union(e){if(!this.isValid)return this;const t=this.se.e?this.e:e.e;return oo.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(oo.fromDateTimes(t,e.time)),t=null);return oo.merge(r)}difference(...e){return oo.xor([this].concat(e)).map((e=>this.intersection(e))).filter((e=>e&&!e.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:no}[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=Jr,t={}){return this.isValid?nn.create(this.s.loc.clone(t),e).formatInterval(this):no}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:no}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:no}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:no}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:no}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):ao.invalid(this.invalidReason)}mapEndpoints(e){return oo.fromDateTimes(e(this.s),e(this.e))}}class lo{static hasDST(e=ta.defaultZone){const t=Ko.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return Ms.isValidZone(e)}static normalizeZone(e){return zs(e,ta.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||Es.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||Es.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||Es.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:i=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||Es.create(t,i,s)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:i=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||Es.create(t,i,s)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:i=null,locObj:r=null}={}){return(r||Es.create(t,i,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:i=null,locObj:r=null}={}){return(r||Es.create(t,i,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Es.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return Es.create(t,null,"gregory").eras(e)}static features(){return{relative:va(),localeWeek:ka()}}}function co(e,t){const i=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=i(t)-i(e);return Math.floor(ao.fromMillis(r).as("days"))}function uo(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=co(e,t);return(i-i%7)/7}],["days",co]],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?ao.fromMillis(l,r).shiftTo(...c).plus(d):d}function ho(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 mo=`[ ${String.fromCharCode(160)}]`,fo=new RegExp(mo,"g");function po(e){return e.replace(/\./g,"\\.?").replace(fo,mo)}function yo(e){return e.replace(/\./g,"").replace(fo," ").toLowerCase()}function bo(e,t){return null===e?null:{regex:RegExp(e.map(po).join("|")),deser:([i])=>e.findIndex((e=>yo(i)===yo(e)))+t}}function go(e,t){return{regex:e,deser:([,e,t])=>ja(e,t),groups:t}}function wo(e){return{regex:e,deser:([e])=>e}}const vo={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 ko=null;function xo(e,t){return Array.prototype.concat(...e.map((e=>function(e,t){if(e.literal)return e;const i=So(nn.macroTokenToFormatOpts(e.val),t);return null==i||i.includes(void 0)?e:i}(e,t))))}class To{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=xo(nn.parseFormat(t),e),this.units=this.tokens.map((t=>function(e,t){const i=Ws(t),r=Ws(t,"{2}"),s=Ws(t,"{3}"),a=Ws(t,"{4}"),n=Ws(t,"{6}"),o=Ws(t,"{1,2}"),l=Ws(t,"{1,3}"),c=Ws(t,"{1,6}"),d=Ws(t,"{1,9}"),u=Ws(t,"{2,4}"),h=Ws(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 bo(t.eras("short"),0);case"GG":return bo(t.eras("long"),0);case"y":return ho(c);case"yy":case"kk":return ho(u,Ea);case"yyyy":case"kkkk":return ho(a);case"yyyyy":return ho(h);case"yyyyyy":return ho(n);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return ho(o);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return ho(r);case"MMM":return bo(t.months("short",!0),1);case"MMMM":return bo(t.months("long",!0),1);case"LLL":return bo(t.months("short",!1),1);case"LLLL":return bo(t.months("long",!1),1);case"o":case"S":return ho(l);case"ooo":case"SSS":return ho(s);case"u":return wo(d);case"uu":return wo(o);case"uuu":case"E":case"c":return ho(i);case"a":return bo(t.meridiems(),0);case"EEE":return bo(t.weekdays("short",!1),1);case"EEEE":return bo(t.weekdays("long",!1),1);case"ccc":return bo(t.weekdays("short",!0),1);case"cccc":return bo(t.weekdays("long",!0),1);case"Z":case"ZZ":return go(new RegExp(`([+-]${o.source})(?::(${r.source}))?`),2);case"ZZZ":return go(new RegExp(`([+-]${o.source})(${r.source})?`),2);case"z":return wo(/[a-z_+-/]{1,256}?/i);case" ":return wo(/[^\S\n\r]/);default:return m(f)}})(e)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return f.token=e,f}(t,e))),this.disqualifyingUnit=this.units.find((e=>e.invalidReason)),!this.disqualifyingUnit){const[e,t]=function(e){const t=e.map((e=>e.regex)).reduce(((e,t)=>`${e}(${t.source})`),"");return[`^${t}$`,e]}(this.units);this.regex=RegExp(e,"i"),this.handlers=t}}explainFromTokens(e){if(this.isValid){const[t,i]=function(e,t,i){const r=e.match(t);if(r){const e={};let t=1;for(const s in i)if(Ta(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,{}]}(e,this.regex,this.handlers),[r,s,a]=i?function(e){let t,i=null;ba(e.z)||(i=Ms.create(e.z)),ba(e.Z)||(i||(i=new js(e.Z)),t=e.Z),ba(e.q)||(e.M=3*(e.q-1)+1),ba(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),ba(e.u)||(e.S=Aa(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]}(i):[null,null,void 0];if(Ta(i,"a")&&Ta(i,"H"))throw new Fr("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:i,result:r,zone:s,specificOffset:a}}return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Mo(e,t,i){return new To(e,i).explainFromTokens(t)}function So(e,t){if(!e)return null;const i=nn.create(t,e).dtFormatter((ko||(ko=Ko.fromMillis(1555555555555)),ko)),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=vo[n];if("object"==typeof o&&(o=o[a]),o)return{literal:!1,val:o}}(t,e,s)))}const _o="Invalid DateTime",No=864e13;function Oo(e){return new ia("unsupported zone",`the zone "${e.name}" is not supported`)}function Ao(e){return null===e.weekData&&(e.weekData=da(e.c)),e.weekData}function $o(e){return null===e.localWeekData&&(e.localWeekData=da(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function Zo(e,t){const i={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Ko({...i,...t,old:i})}function Co(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 Bo(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 Uo(e,t,i){return Co(Ua(e),t,i)}function Vo(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,Ba(r,s))+Math.trunc(t.days)+7*Math.trunc(t.weeks)},n=ao.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=Ua(a);let[l,c]=Co(o,i,e.zone);return 0!==n&&(l+=n,c=e.zone.offset(l)),{ts:l,o:c}}function Go(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=Ko.fromObject(e,{...i,zone:r,specificOffset:a});return n?s:s.setZone(o)}return Ko.invalid(new ia("unparsable",`the input "${s}" can't be parsed as ${r}`))}function Eo(e,t,i=!0){return e.isValid?nn.create(Es.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Do(e,t){const i=e.c.year>9999||e.c.year<0;let r="";return i&&e.c.year>=0&&(r+="+"),r+=_a(e.c.year,i?6:4),t?(r+="-",r+=_a(e.c.month),r+="-",r+=_a(e.c.day)):(r+=_a(e.c.month),r+=_a(e.c.day)),r}function jo(e,t,i,r,s,a){let n=_a(e.c.hour);return t?(n+=":",n+=_a(e.c.minute),0===e.c.millisecond&&0===e.c.second&&i||(n+=":")):n+=_a(e.c.minute),0===e.c.millisecond&&0===e.c.second&&i||(n+=_a(e.c.second),0===e.c.millisecond&&r||(n+=".",n+=_a(e.c.millisecond,3))),s&&(e.isOffsetFixed&&0===e.offset&&!a?n+="Z":e.o<0?(n+="-",n+=_a(Math.trunc(-e.o/60)),n+=":",n+=_a(Math.trunc(-e.o%60))):(n+="+",n+=_a(Math.trunc(e.o/60)),n+=":",n+=_a(Math.trunc(e.o%60)))),a&&(n+="["+e.zone.ianaName+"]"),n}const Io={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},zo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Lo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Fo=["year","month","day","hour","minute","second","millisecond"],Po=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Ho=["year","ordinal","hour","minute","second","millisecond"];function Wo(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 Pr(e);return t}(e)}}function qo(e,t){const i=zs(t.zone,ta.defaultZone);if(!i.isValid)return Ko.invalid(Oo(i));const r=Es.fromObject(t);let s,a;if(ba(e.year))s=ta.now();else{for(const t of Fo)ba(e[t])&&(e[t]=Io[t]);const t=pa(e)||ya(e);if(t)return Ko.invalid(t);const r=function(e){return Qo[e]||(void 0===Jo&&(Jo=ta.now()),Qo[e]=e.offset(Jo)),Qo[e]}(i);[s,a]=Uo(e,r,i)}return new Ko({ts:s,zone:i,loc:r,o:a})}function Ro(e,t,i){const r=!!ba(i.round)||i.round,s=(e,s)=>{e=$a(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 Yo(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]}let Jo,Qo={};class Ko{constructor(e){const t=e.zone||ta.defaultZone;let i=e.invalid||(Number.isNaN(e.ts)?new ia("invalid input"):null)||(t.isValid?null:Oo(t));this.ts=ba(e.ts)?ta.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 a=ga(e.o)&&!e.old?e.o:t.offset(this.ts);r=Bo(this.ts,a),i=Number.isNaN(r.year)?new ia("invalid input"):null,r=i?null:r,s=i?null:a}}this._zone=t,this.loc=e.loc||Es.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=r,this.o=s,this.isLuxonDateTime=!0}static now(){return new Ko({})}static local(){const[e,t]=Yo(arguments),[i,r,s,a,n,o,l]=t;return qo({year:i,month:r,day:s,hour:a,minute:n,second:o,millisecond:l},e)}static utc(){const[e,t]=Yo(arguments),[i,r,s,a,n,o,l]=t;return e.zone=js.utcInstance,qo({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 Ko.invalid("invalid input");const r=zs(t.zone,ta.defaultZone);return r.isValid?new Ko({ts:i,zone:r,loc:Es.fromObject(t)}):Ko.invalid(Oo(r))}static fromMillis(e,t={}){if(ga(e))return e<-No||e>No?Ko.invalid("Timestamp out of range"):new Ko({ts:e,zone:zs(t.zone,ta.defaultZone),loc:Es.fromObject(t)});throw new Hr(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(ga(e))return new Ko({ts:1e3*e,zone:zs(t.zone,ta.defaultZone),loc:Es.fromObject(t)});throw new Hr("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const i=zs(t.zone,ta.defaultZone);if(!i.isValid)return Ko.invalid(Oo(i));const r=Es.fromObject(t),s=za(e,Wo),{minDaysInFirstWeek:a,startOfWeek:n}=fa(s,r),o=ta.now(),l=ba(t.specificOffset)?i.offset(o):t.specificOffset,c=!ba(s.ordinal),d=!ba(s.year),u=!ba(s.month)||!ba(s.day),h=d||u,m=s.weekYear||s.weekNumber;if((h||c)&&m)throw new Fr("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&c)throw new Fr("Can't mix ordinal dates with month/day");const f=m||s.weekday&&!h;let p,y,b=Bo(o,l);f?(p=Po,y=zo,b=da(b,a,n)):c?(p=Ho,y=Lo,b=ha(b)):(p=Fo,y=Io);let g=!1;for(const e of p){ba(s[e])?s[e]=g?y[e]:b[e]:g=!0}const w=f?function(e,t=4,i=1){const r=wa(e.weekYear),s=Sa(e.weekNumber,1,Ga(e.weekYear,t,i)),a=Sa(e.weekday,1,7);return r?s?!a&&aa("weekday",e.weekday):aa("week",e.weekNumber):aa("weekYear",e.weekYear)}(s,a,n):c?function(e){const t=wa(e.year),i=Sa(e.ordinal,1,Ca(e.year));return t?!i&&aa("ordinal",e.ordinal):aa("year",e.year)}(s):pa(s),v=w||ya(s);if(v)return Ko.invalid(v);const k=f?ua(s,a,n):c?ma(s):s,[x,T]=Uo(k,l,i),M=new Ko({ts:x,zone:i,o:T,loc:r});return s.weekday&&h&&e.weekday!==M.weekday?Ko.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${M.toISO()}`):M.isValid?M:Ko.invalid(M.invalid)}static fromISO(e,t={}){const[i,r]=function(e){return dn(e,[Gn,In],[En,zn],[Dn,Ln],[jn,Fn])}(e);return Go(i,r,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[i,r]=function(e){return dn(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[An,$n])}(e);return Go(i,r,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[i,r]=function(e){return dn(e,[Zn,Un],[Cn,Un],[Bn,Vn])}(e);return Go(i,r,t,"HTTP",t)}static fromFormat(e,t,i={}){if(ba(e)||ba(t))throw new Hr("fromFormat requires an input string and a format");const{locale:r=null,numberingSystem:s=null}=i,a=Es.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),[n,o,l,c]=function(e,t,i){const{result:r,zone:s,specificOffset:a,invalidReason:n}=Mo(e,t,i);return[r,s,a,n]}(a,e,t);return c?Ko.invalid(c):Go(n,o,i,`format ${t}`,e,l)}static fromString(e,t,i={}){return Ko.fromFormat(e,t,i)}static fromSQL(e,t={}){const[i,r]=function(e){return dn(e,[Hn,In],[Wn,qn])}(e);return Go(i,r,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new Hr("need to specify a reason the DateTime is invalid");const i=e instanceof ia?e:new ia(e,t);if(ta.throwOnInvalid)throw new Ir(i);return new Ko({invalid:i})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){const i=So(e,Es.fromObject(t));return i?i.map((e=>e?e.val:null)).join(""):null}static expandFormat(e,t={}){return xo(nn.parseFormat(e),Es.fromObject(t)).map((e=>e.val)).join("")}static resetCache(){Jo=void 0,Qo={}}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?Ao(this).weekYear:NaN}get weekNumber(){return this.isValid?Ao(this).weekNumber:NaN}get weekday(){return this.isValid?Ao(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?$o(this).weekday:NaN}get localWeekNumber(){return this.isValid?$o(this).weekNumber:NaN}get localWeekYear(){return this.isValid?$o(this).weekYear:NaN}get ordinal(){return this.isValid?ha(this.c).ordinal:NaN}get monthShort(){return this.isValid?lo.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?lo.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?lo.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?lo.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=Ua(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=Bo(o,a),d=Bo(l,n);return c.hour===d.hour&&c.minute===d.minute&&c.second===d.second&&c.millisecond===d.millisecond?[Zo(this,{ts:o}),Zo(this,{ts:l})]:[this]}get isInLeapYear(){return Za(this.year)}get daysInMonth(){return Ba(this.year,this.month)}get daysInYear(){return this.isValid?Ca(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ga(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ga(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:i,calendar:r}=nn.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:i,outputCalendar:r}}toUTC(e=0,t={}){return this.setZone(js.instance(e),t)}toLocal(){return this.setZone(ta.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:i=!1}={}){if((e=zs(e,ta.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]=Uo(i,t,e)}return Zo(this,{ts:r,zone:e})}return Ko.invalid(Oo(e))}reconfigure({locale:e,numberingSystem:t,outputCalendar:i}={}){return Zo(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=za(e,Wo),{minDaysInFirstWeek:i,startOfWeek:r}=fa(t,this.loc),s=!ba(t.weekYear)||!ba(t.weekNumber)||!ba(t.weekday),a=!ba(t.ordinal),n=!ba(t.year),o=!ba(t.month)||!ba(t.day),l=n||o,c=t.weekYear||t.weekNumber;if((l||a)&&c)throw new Fr("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(o&&a)throw new Fr("Can't mix ordinal dates with month/day");let d;s?d=ua({...da(this.c,i,r),...t},i,r):ba(t.ordinal)?(d={...this.toObject(),...t},ba(t.day)&&(d.day=Math.min(Ba(d.year,d.month),d.day))):d=ma({...ha(this.c),...t});const[u,h]=Uo(d,this.o,this.zone);return Zo(this,{ts:u,o:h})}plus(e){if(!this.isValid)return this;return Zo(this,Vo(this,ao.fromDurationLike(e)))}minus(e){if(!this.isValid)return this;return Zo(this,Vo(this,ao.fromDurationLike(e).negate()))}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;const i={},r=ao.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=uo(a?this:e,a?e:this,s,r);var o;return a?n.negate():n}diffNow(e="milliseconds",t={}){return this.diff(Ko.now(),e,t)}until(e){return this.isValid?oo.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||Ko.fromObject({},{zone:this.zone}),i=e.padding?thise.valueOf()),Math.min)}static max(...e){if(!e.every(Ko.isDateTime))throw new Hr("max requires all arguments be DateTimes");return xa(e,(e=>e.valueOf()),Math.max)}static fromFormatExplain(e,t,i={}){const{locale:r=null,numberingSystem:s=null}=i;return Mo(Es.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),e,t)}static fromStringExplain(e,t,i={}){return Ko.fromFormatExplain(e,t,i)}static buildFormatParser(e,t={}){const{locale:i=null,numberingSystem:r=null}=t,s=Es.fromOpts({locale:i,numberingSystem:r,defaultToEN:!0});return new To(s,e)}static fromFormatParser(e,t,i={}){if(ba(e)||ba(t))throw new Hr("fromFormatParser requires an input string and a format parser");const{locale:r=null,numberingSystem:s=null}=i,a=Es.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0});if(!a.equals(t.locale))throw new Hr(`fromFormatParser called with a locale of ${a}, but the format parser was created for ${t.locale}`);const{result:n,zone:o,specificOffset:l,invalidReason:c}=t.explainFromTokens(e);return c?Ko.invalid(c):Go(n,o,i,`format ${t.format}`,e,l)}static get DATE_SHORT(){return Jr}static get DATE_MED(){return Qr}static get DATE_MED_WITH_WEEKDAY(){return Kr}static get DATE_FULL(){return Xr}static get DATE_HUGE(){return es}static get TIME_SIMPLE(){return ts}static get TIME_WITH_SECONDS(){return is}static get TIME_WITH_SHORT_OFFSET(){return rs}static get TIME_WITH_LONG_OFFSET(){return ss}static get TIME_24_SIMPLE(){return as}static get TIME_24_WITH_SECONDS(){return ns}static get TIME_24_WITH_SHORT_OFFSET(){return os}static get TIME_24_WITH_LONG_OFFSET(){return ls}static get DATETIME_SHORT(){return cs}static get DATETIME_SHORT_WITH_SECONDS(){return ds}static get DATETIME_MED(){return us}static get DATETIME_MED_WITH_SECONDS(){return hs}static get DATETIME_MED_WITH_WEEKDAY(){return ms}static get DATETIME_FULL(){return fs}static get DATETIME_FULL_WITH_SECONDS(){return ps}static get DATETIME_HUGE(){return ys}static get DATETIME_HUGE_WITH_SECONDS(){return bs}}function Xo(e){if(Ko.isDateTime(e))return e;if(e&&e.valueOf&&ga(e.valueOf()))return Ko.fromJSDate(e);if(e&&"object"==typeof e)return Ko.fromObject(e);throw new Hr(`Unknown datetime argument: ${e}, of type ${typeof e}`)}console.info("%c CLOCK-WEATHER-CARD \n%c Version: 2.8.7","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 el=(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 tl=class extends se{constructor(){super(),this.forecastSubscriberLock=!1,this.currentDate=Ko.now();const e=1e3-this.currentDate.millisecond;setTimeout((()=>setInterval((()=>{this.currentDate=Ko.now()}),1e3)),e),setTimeout((()=>{this.currentDate=Ko.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+xr(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` - - ${Dr((()=>this.renderToday()))} - `:""} - ${t?D` - - ${Dr((()=>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():Tr(this.getCurrentTemperature()),r=e.attributes.temperature_unit,s=this.config.show_decimal?this.getApparentTemperature():Tr(this.getApparentTemperature()),a=this.getAqi(),n=this.getAqiColor(a),o=Tr(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=Tr(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(vr(n)),c=Math.round(wr(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?wr(u.map((e=>e.length))):0;return a.map(((e,i)=>Dr((()=>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?Ko.now().hour===e.datetime.hour:Ko.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),vr([...el.keys()])),n=Math.min(xr(s,10),wr([...el.keys()]));return Array.from(el.keys()).filter((e=>e>=a&&e<=n)).map((e=>el.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 kr(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?Gr:Er)[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]),gr[r])}catch(t){i=e.split(".").reduce(((e,t)=>e[t]),gr.en)}return void 0===i&&(i=e.split(".").reduce(((e,t)=>e[t]),gr.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=vr(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=wr(r),a=e.map((e=>{var t;return null!==(t=e.precipitation_probability)&&void 0!==t?t:0})),n=wr(a),o=e.map((e=>{var t;return null!==(t=e.precipitation)&&void 0!==t?t:0})),l=wr(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=Ko.fromISO(e);return t.isValid?t:Ko.fromJSDate(new Date(e))}};e([le({attribute:!1})],tl.prototype,"hass",void 0),e([ce()],tl.prototype,"config",void 0),e([ce()],tl.prototype,"currentDate",void 0),e([ce()],tl.prototype,"forecasts",void 0),e([ce()],tl.prototype,"error",void 0),tl=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")],tl);export{tl 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 deleted file mode 100644 index 51ebf40676f1833def8cd00c31b550c39a894398..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 55009 zcmV)DK*7HsiwFqb_hx4T|6^=#V{0vUWnpw^WpXWJVRB?HYI6YWz3H19)s-;*J%2@6 zkAtPSB&({lH*!yV0UNt*$88(1<1r=aN?qUL z(M&@iNg_I;CR(ZGdDRkZQLU<0tJ@}qV`p??w47PdsH*oWlTO9x>Uy>Z> zAO_xL8l-MoszXvnwf~U^?*!3pA~c~h1l+6=4sKeSFn3q86J|P{O4?O&#yp$4=bofd zP2wo*q>-wqyYT{>fg5^}O0BFIsR@fXUCR*Q{XO>>_uRur*&t2LAnqu6J<;g7@C%NQ zMBaiy7LwY^N>ZyrwYFxHR4SQt%O?TLsb#OWktC^Q$68$0lUBwc7ofFNs#jN?`YgUt z;ZM)+%M6xwW-W7JWN{szA%dIZi$gJL^IXXlS!*;Wz`N=@y}H_^t?c?r-GpHZT6IA)8s>s%Rkh5_tO}RM zO%r%BId5tWAq!m2o-gj5nORx!uQP_~X!C?s0k%rOZ^t2x8D~+4r-V3mLNkPYW}Qx< zOvf@E6Ne2&Ez;4|I>GnQl3&9wB-+)P#dgiqlPQ>oNP!25IybF$CUoKmMzyZ1w!KV; zV0G&_&n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eV9*`^q8tk4OU^P z3QN-y>b-T;4J#~{2~HOJ>ZTtTNAIqgd^8zRcpq$Jv_OBdC7ro3C>EfHC)3f#7^Xen z&>cNY+aae%+}(HzP~CeH{Z58VWty;X)Dj5I0VAE;np)+B(VAO+>cEK$bHCSIrbGzrG8YZ_wQbK{yK@ z&=wNUGZ?rbwJ-|YG38k@I(H9%^>cPdEzs>_ zPA+t3KLzO;-wzMaFWWP8Yvffu(gkyA3RXAGU39bboW*8qB( zfmQauSp5N_(3+iY4d0rIa|4$ls%YSy)$invkVI8|RVdWE)m7`ANh zoj-U?(97=eS%6n#ZhexzSlQT%#FC1T0jifk#YwTI_zh}JWu!cXg?@lzCsq@|3ry0m zskw$N$(^bJ9pE2~tX`%YQNbo@8B$A7-TVhQbfnD_tD6&>jjI&x&MvFxCuXjjx6 zUU8*D_%9GDBYmb7j;^25JOL4lOBf9EuL!bR#-P2l!sU;#z)yD8z~)3hg1)WXqYnnD h^minr*E$=;)rhX}N?ODVyv^*Z{{XIKfEfat1OUddS4jW> diff --git a/config/www/community/lovelace-auto-entities/auto-entities.js b/config/www/community/lovelace-auto-entities/auto-entities.js deleted file mode 100644 index 84a74b4b..00000000 --- a/config/www/community/lovelace-auto-entities/auto-entities.js +++ /dev/null @@ -1,172 +0,0 @@ -function t(t,e,i,n){var s,o=arguments.length,r=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(o<3?s(r):o>3?s(e,i,r):s(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r}const e=window,i=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),s=new WeakMap;let o=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==n)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(i&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=s.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&s.set(e,t))}return t}toString(){return this.cssText}};const r=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,n)=>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[n+1]),t[0]);return new o(i,t,n)},a=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new o("string"==typeof t?t:t+"",void 0,n))(e)})(t):t;var l;const d=window,c=d.trustedTypes,h=c?c.emptyScript:"",u=d.reactiveElementPolyfillSupport,v={toAttribute(t,e){switch(e){case Boolean:t=t?h: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}},f=(t,e)=>e!==t&&(e==e||t==t),p={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:f};let g=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 n=this._$Ep(i,e);void 0!==n&&(this._$Ev.set(n,i),t.push(n))})),t}static createProperty(t,e=p){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,n=this.getPropertyDescriptor(t,i,e);void 0!==n&&Object.defineProperty(this.prototype,t,n)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(n){const s=this[t];this[e]=n,this.requestUpdate(t,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||p}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!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(a(t))}else void 0!==t&&e.push(a(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 n=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,n)=>{i?t.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((i=>{const n=document.createElement("style"),s=e.litNonce;void 0!==s&&n.setAttribute("nonce",s),n.textContent=i.cssText,t.appendChild(n)}))})(n,this.constructor.elementStyles),n}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=p){var n;const s=this.constructor._$Ep(t,i);if(void 0!==s&&!0===i.reflect){const o=(void 0!==(null===(n=i.converter)||void 0===n?void 0:n.toAttribute)?i.converter:v).toAttribute(e,i.type);this._$El=t,null==o?this.removeAttribute(s):this.setAttribute(s,o),this._$El=null}}_$AK(t,e){var i;const n=this.constructor,s=n._$Ev.get(t);if(void 0!==s&&this._$El!==s){const t=n.getPropertyOptions(s),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:v;this._$El=s,this[s]=o.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let n=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||f)(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))):n=!1),!this.isUpdatePending&&n&&(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 _;g.finalized=!0,g.elementProperties=new Map,g.elementStyles=[],g.shadowRootOptions={mode:"open"},null==u||u({ReactiveElement:g}),(null!==(l=d.reactiveElementVersions)&&void 0!==l?l:d.reactiveElementVersions=[]).push("1.5.0");const m=window,y=m.trustedTypes,b=y?y.createPolicy("lit-html",{createHTML:t=>t}):void 0,$=`lit$${(Math.random()+"").slice(9)}$`,w="?"+$,E=`<${w}>`,A=document,C=(t="")=>A.createComment(t),S=t=>null===t||"object"!=typeof t&&"function"!=typeof t,O=Array.isArray,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,k=/-->/g,x=/>/g,T=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),U=/'/g,P=/"/g,M=/^(?:script|style|textarea|title)$/i,N=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),I=Symbol.for("lit-noChange"),R=Symbol.for("lit-nothing"),H=new WeakMap,D=A.createTreeWalker(A,129,null,!1),F=(t,e)=>{const i=t.length-1,n=[];let s,o=2===e?"":"",r=j;for(let e=0;e"===l[0]?(r=null!=s?s:j,d=-1):void 0===l[1]?d=-2:(d=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?T:'"'===l[3]?P:U):r===P||r===U?r=T:r===k||r===x?r=j:(r=T,s=void 0);const h=r===T&&t[e+1].startsWith("/>")?" ":"";o+=r===j?i+E:d>=0?(n.push(a),i.slice(0,d)+"$lit$"+i.slice(d)+$+h):i+$+(-2===d?(n.push(void 0),e):h)}const a=o+(t[i]||"")+(2===e?"":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==b?b.createHTML(a):a,n]};class L{constructor({strings:t,_$litType$:e},i){let n;this.parts=[];let s=0,o=0;const r=t.length-1,a=this.parts,[l,d]=F(t,e);if(this.el=L.createElement(l,i),D.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(n=D.nextNode())&&a.length0){n.textContent=y?y.emptyScript:"";for(let i=0;iO(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==R&&S(this._$AH)?this._$AA.nextSibling.data=t:this.T(A.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:n}=t,s="number"==typeof n?this._$AC(t):(void 0===n.el&&(n.el=L.createElement(n.h,this.options)),n);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.p(i);else{const t=new G(s,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=H.get(t.strings);return void 0===e&&H.set(t.strings,e=new L(t)),e}k(t){O(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,n=0;for(const s of t)n===e.length?e.push(i=new z(this.O(C()),this.O(C()),this,this.options)):i=e[n],i._$AI(s),n++;n2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=R}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,n){const s=this.strings;let o=!1;if(void 0===s)t=W(this,t,e,0),o=!S(t)||t!==this._$AH&&t!==I,o&&(this._$AH=t);else{const n=t;let r,a;for(t=s[0],r=0;r{var n,s;const o=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:e;let r=o._$litPart$;if(void 0===r){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;o._$litPart$=r=new z(e.insertBefore(C(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return I}}tt.finalized=!0,tt._$litElement$=!0,null===(Q=globalThis.litElementHydrateSupport)||void 0===Q||Q.call(globalThis,{LitElement:tt});const et=globalThis.litElementPolyfillSupport;null==et||et({LitElement:tt}),(null!==(X=globalThis.litElementVersions)&&void 0!==X?X:globalThis.litElementVersions=[]).push("3.2.2");const it=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function nt(t){return(e,i)=>void 0!==i?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,i):it(t,e)}function st(t){return nt({...t,state:!0})}var ot;function rt(){return document.querySelector("hc-main")?document.querySelector("hc-main").hass:document.querySelector("home-assistant")?document.querySelector("home-assistant").hass:void 0}null===(ot=window.HTMLSlotElement)||void 0===ot||ot.prototype.assignedElements;const at="lovelace-player-device-id";function lt(){if(!localStorage[at]){const t=()=>Math.floor(1e5*(1+Math.random())).toString(16).substring(1);window.fully&&"function"==typeof fully.getDeviceId?localStorage[at]=fully.getDeviceId():localStorage[at]=`${t()}${t()}-${t()}${t()}`}return localStorage[at]}let dt=lt();const ct=new URLSearchParams(window.location.search);var ht;function ut(t){return!!String(t).includes("{%")||(!!String(t).includes("{{")||void 0)}ct.get("deviceID")&&null!==(ht=ct.get("deviceID"))&&("clear"===ht?localStorage.removeItem(at):localStorage[at]=ht,dt=lt()),window.cardMod_template_cache=window.cardMod_template_cache||{};const vt=window.cardMod_template_cache;async function ft(t,e,i){const n=rt().connection,s=JSON.stringify([e,i]);let o=vt[s];o?(o.callbacks.has(t)||pt(t),t(o.value),o.callbacks.add(t)):(pt(t),t(""),i=Object.assign({user:rt().user.name,browser:dt,hash:location.hash.substr(1)||""},i),vt[s]=o={template:e,variables:i,value:"",callbacks:new Set([t]),unsubscribe:n.subscribeMessage((t=>function(t,e){const i=vt[t];i&&(i.value=e.result,i.callbacks.forEach((t=>t(e.result))))}(s,t)),{type:"render_template",template:e,variables:i})})}async function pt(t){let e;for(const[i,n]of Object.entries(vt))if(n.callbacks.has(t)){n.callbacks.delete(t),0==n.callbacks.size&&(e=n.unsubscribe,delete vt[i]);break}e&&await(await e)()}var gt;const _t=(t,e)=>{if(t===e)return!0;if(typeof t!=typeof e)return!1;if(!(t instanceof Object&&e instanceof Object))return!1;for(const i in t)if(t.hasOwnProperty(i)){if(!e.hasOwnProperty(i))return!1;if(t[i]!==e[i]){if("object"!=typeof t[i])return!1;if(!_t(t[i],e[i]))return!1}}for(const i in e)if(e.hasOwnProperty(i)&&!t.hasOwnProperty(i))return!1;return!0};window.autoEntities_cache=null!==(gt=window.autoEntities_cache)&&void 0!==gt?gt:{};const mt=window.autoEntities_cache;async function yt(t){var e;return mt.areas=null!==(e=mt.areas)&&void 0!==e?e:await t.callWS({type:"config/area_registry/list"}),mt.areas}function bt(){return mt.areas}async function $t(t){var e;return mt.devices=null!==(e=mt.devices)&&void 0!==e?e:await t.callWS({type:"config/device_registry/list"}),mt.devices}function wt(){return mt.devices}async function Et(t){var e;return mt.entities=null!==(e=mt.entities)&&void 0!==e?e:await t.callWS({type:"config/entity_registry/list"}),mt.entities}function At(){return mt.entities}const Ct=/([mhd])\s+ago\s*$/i,St="m ago";function Ot(t,e){if("string"==typeof t&&t.startsWith("$$")&&(t=t.substring(2),e=JSON.stringify(e)),"string"==typeof e&&"string"==typeof t&&(t.startsWith("/")&&t.endsWith("/")||-1!==t.indexOf("*"))){return t.startsWith("/")||(t=`/^${t=t.replace(/\./g,".").replace(/\*/g,".*")}$/`),new RegExp(t.slice(1,-1)).test(e)}if("string"==typeof t){const i=Ct.exec(t);if(i){t=t.replace(i[0],"");e=((new Date).getTime()-new Date(e).getTime())/6e4;const n=i[1];"h"===n?e/=60:"d"===n&&(e=e/60/24)}}if("string"==typeof t){if(t.startsWith("<="))return parseFloat(e)<=parseFloat(t.substring(2));if(t.startsWith(">="))return parseFloat(e)>=parseFloat(t.substring(2));if(t.startsWith("<"))return parseFloat(e)"))return parseFloat(e)>parseFloat(t.substring(1));if(t.startsWith("!"))return parseFloat(e)!=parseFloat(t.substring(1));if(t.startsWith("="))return parseFloat(e)==parseFloat(t.substring(1))}return t===e}const jt={options:async()=>!0,sort:async()=>!0,domain:async(t,e,i)=>Ot(e,i.entity_id.split(".")[0]),entity_id:async(t,e,i)=>Ot(e,i.entity_id),state:async(t,e,i)=>Ot(e,i.state),name:async(t,e,i)=>{var n;return Ot(e,null===(n=i.attributes)||void 0===n?void 0:n.friendly_name)},group:async(t,e,i)=>{var n,s,o;return null===(o=null===(s=null===(n=t.states[e])||void 0===n?void 0:n.attributes)||void 0===s?void 0:s.entity_id)||void 0===o?void 0:o.includes(i.entity_id)},attributes:async(t,e,i)=>{for(const[t,n]of Object.entries(e)){let e=t.split(" ")[0],s=i.attributes;for(const t of e.split(":"))s=s?s[t]:void 0;if(void 0===s||!Ot(n,s))return!1}return!0},not:async(t,e,i)=>!await kt(t,e,i.entity_id),and:async(t,e,i)=>{for(const n of e)if(!await kt(t,n,i.entity_id))return!1;return!0},or:async(t,e,i)=>{for(const n of e)if(await kt(t,n,i.entity_id))return!0;return!1},device:async(t,e,i)=>{const n=(await Et(t)).find((t=>t.entity_id===i.entity_id));if(!n)return!1;const s=(await $t(t)).find((t=>t.id===n.device_id));return!!s&&(Ot(e,s.name_by_user)||Ot(e,s.name))},device_manufacturer:async(t,e,i)=>{const n=(await Et(t)).find((t=>t.entity_id===i.entity_id));if(!n)return!1;const s=(await $t(t)).find((t=>t.id===n.device_id));return!!s&&Ot(e,s.manufacturer)},device_model:async(t,e,i)=>{const n=(await Et(t)).find((t=>t.entity_id===i.entity_id));if(!n)return!1;const s=(await $t(t)).find((t=>t.id===n.device_id));return!!s&&Ot(e,s.model)},area:async(t,e,i)=>{const n=(await Et(t)).find((t=>t.entity_id===i.entity_id));if(!n)return!1;let s=(await yt(t)).find((t=>t.area_id===n.area_id));if(s)return Ot(e,s.name)||Ot(e,s.area_id);const o=(await $t(t)).find((t=>t.id===n.device_id));return!!o&&(s=(await yt(t)).find((t=>t.area_id===o.area_id)),!!s&&(Ot(e,s.name)||Ot(e,s.area_id)))},entity_category:async(t,e,i)=>{const n=(await Et(t)).find((t=>t.entity_id===i.entity_id));return!!n&&Ot(e,n.entity_category)},last_changed:async(t,e,i)=>(Ct.test(e)||(e+=St),Ot(e,i.last_changed)),last_updated:async(t,e,i)=>(Ct.test(e)||(e+=St),Ot(e,i.last_updated)),last_triggered:async(t,e,i)=>null!=i.attributes.last_triggered&&(Ct.test(e)||(e+=St),Ot(e,i.attributes.last_triggered)),integration:async(t,e,i)=>{const n=(await Et(t)).find((t=>t.entity_id===i.entity_id));return!!n&&Ot(e,n.platform)},hidden_by:async(t,e,i)=>{const n=(await Et(t)).find((t=>t.entity_id===i.entity_id));return!!n&&Ot(e,n.hidden_by)},label:async(t,e,i)=>{const n=(await Et(t)).find((t=>t.entity_id===i.entity_id)),s=await async function(t){var e;return mt.labels=null!==(e=mt.labels)&&void 0!==e?e:await t.callWS({type:"config/label_registry/list"}),mt.labels}(t),o=(t,e)=>{if(Ot(t,e))return!0;const i=s.find((t=>t.label_id===e));if(!i)return!1;return Ot(t,i.name)};if(!n)return!1;if(!n.labels)return!1;const r=n.labels.some((t=>o(e,t)));if(r)return r;const a=(await $t(t)).find((t=>t.id===n.device_id));if(!a)return!1;return a.labels.some((t=>o(e,t)))}};async function kt(t,e,i){var n;if(!t.states[i])return!1;for(let[s,o]of Object.entries(e))if(s=s.trim().split(" ")[0].trim(),!await(null===(n=jt[s])||void 0===n?void 0:n.call(jt,t,o,t.states[i])))return!1;return!0}function xt(t,e,i){var n,s,o,r;const[a,l]=i.reverse?[-1,1]:[1,-1];return i.ignore_case&&(t=null!==(s=null===(n=null==t?void 0:t.toLowerCase)||void 0===n?void 0:n.call(t))&&void 0!==s?s:t,e=null!==(r=null===(o=null==e?void 0:e.toLowerCase)||void 0===o?void 0:o.call(e))&&void 0!==r?r:e),i.numeric&&(isNaN(parseFloat(t))&&isNaN(parseFloat(e))||(t=isNaN(parseFloat(t))?void 0:parseFloat(t),e=isNaN(parseFloat(e))?void 0:parseFloat(e))),void 0===t&&void 0===e?0:void 0===t?a:void 0===e?l:i.numeric?t===e?0:(i.reverse?-1:1)*(t0,domain:(t,e,i)=>{var n,s;return xt(null===(n=null==t?void 0:t.entity_id)||void 0===n?void 0:n.split(".")[0],null===(s=null==e?void 0:e.entity_id)||void 0===s?void 0:s.split(".")[0],i)},entity_id:(t,e,i)=>xt(null==t?void 0:t.entity_id,null==e?void 0:e.entity_id,i),friendly_name:(t,e,i)=>{var n,s,o,r;return xt((null===(n=null==t?void 0:t.attributes)||void 0===n?void 0:n.friendly_name)||(null===(s=null==t?void 0:t.entity_id)||void 0===s?void 0:s.split(".")[1]),(null===(o=null==e?void 0:e.attributes)||void 0===o?void 0:o.friendly_name)||(null===(r=null==e?void 0:e.entity_id)||void 0===r?void 0:r.split(".")[1]),i)},name:(t,e,i)=>{var n,s,o,r;return xt((null===(n=null==t?void 0:t.attributes)||void 0===n?void 0:n.friendly_name)||(null===(s=null==t?void 0:t.entity_id)||void 0===s?void 0:s.split(".")[1]),(null===(o=null==e?void 0:e.attributes)||void 0===o?void 0:o.friendly_name)||(null===(r=null==e?void 0:e.entity_id)||void 0===r?void 0:r.split(".")[1]),i)},device:(t,e,i)=>{var n,s;const o=At().find((e=>e.entity_id===t.entity_id)),r=At().find((t=>t.entity_id===e.entity_id));if(!o||!r)return 0;const a=wt().find((t=>t.id===o.device_id)),l=wt().find((t=>t.id===r.device_id));return a&&l?xt(null!==(n=a.name_by_user)&&void 0!==n?n:a.name,null!==(s=l.name_by_user)&&void 0!==s?s:l.name,i):0},area:(t,e,i)=>{const n=At().find((e=>e.entity_id===t.entity_id)),s=At().find((t=>t.entity_id===e.entity_id));if(!n||!s)return 0;const o=wt().find((t=>t.id===n.device_id)),r=wt().find((t=>t.id===s.device_id));if(!o||!r)return 0;const a=bt().find((t=>t.area_id===o.area_id)),l=bt().find((t=>t.area_id===r.area_id));return a&&l?xt(a.name,l.name,i):0},state:(t,e,i)=>xt(null==t?void 0:t.state,null==e?void 0:e.state,i),attribute:(t,e,i)=>{var n;const[s,o]=(null==i?void 0:i.reverse)?[-1,1]:[1,-1];let r=null==t?void 0:t.attributes,a=null==e?void 0:e.attributes;for(const t of null===(n=null==i?void 0:i.attribute)||void 0===n?void 0:n.split(":")){if(void 0===r&&void 0===a)return 0;if(void 0===r)return s;if(void 0===a)return o;[r,a]=[r[t],a[t]]}return xt(r,a,i)},last_changed:(t,e,i)=>{const[n,s]=(null==i?void 0:i.reverse)?[-1,1]:[1,-1];return null==(null==t?void 0:t.last_changed)&&null==(null==e?void 0:e.last_changed)?0:null==(null==t?void 0:t.last_changed)?n:null==(null==e?void 0:e.last_changed)?s:(i.numeric=!0,xt(new Date(null==t?void 0:t.last_changed).getTime(),new Date(null==e?void 0:e.last_changed).getTime(),i))},last_updated:(t,e,i)=>{const[n,s]=(null==i?void 0:i.reverse)?[-1,1]:[1,-1];return null==(null==t?void 0:t.last_updated)&&null==(null==e?void 0:e.last_updated)?0:null==(null==t?void 0:t.last_updated)?n:null==(null==e?void 0:e.last_updated)?s:(i.numeric=!0,xt(new Date(null==t?void 0:t.last_updated).getTime(),new Date(null==e?void 0:e.last_updated).getTime(),i))},last_triggered:(t,e,i)=>{var n,s,o,r,a,l;const[d,c]=(null==i?void 0:i.reverse)?[-1,1]:[1,-1];return null==(null===(n=null==t?void 0:t.attributes)||void 0===n?void 0:n.last_triggered)&&null==(null===(s=null==e?void 0:e.attributes)||void 0===s?void 0:s.last_triggered)?0:null==(null===(o=null==t?void 0:t.attributes)||void 0===o?void 0:o.last_triggered)?d:null==(null===(r=null==e?void 0:e.attributes)||void 0===r?void 0:r.last_triggered)?c:(i.numeric=!0,xt(new Date(null===(a=null==t?void 0:t.attributes)||void 0===a?void 0:a.last_triggered).getTime(),new Date(null===(l=null==e?void 0:e.attributes)||void 0===l?void 0:l.last_triggered).getTime(),i))}};function Ut(t,e){return function(i,n){var s,o;return null!==(o=null===(s=Tt[e.method])||void 0===s?void 0:s.call(Tt,t.states[i.entity],t.states[n.entity],e))&&void 0!==o?o:0}}var Pt="1.13.0";const Mt=["none","domain","entity_id","state","name","group","area","device","device_manufacturer","device_model","attributes","last_changed","last_updated","last_triggered","entity_category","integration","hidden_by","label"],Nt={type:"select",options:[["domain","Entity Domain"],["entity_id","Entity ID"],["state","Entity State"],["name","Friendly Name"],["group","Member of Group"],["area","In area"],["device","Device"],["label","Label"],["device_manufacturer","Device Manufacturer"],["device_model","Device Model"],["attributes","Attribute"],["last_changed","Last Change"],["last_updated","Last Update"],["last_triggered","Last Trigger"],["entity_category","Entity Category"],["integration","Governing integration"],["hidden_by","Hidden by"]]},It=([t,e],i)=>{var n;return Mt.includes(t)?{type:"grid",name:"",schema:[Object.assign(Object.assign({},Nt),{name:`key_${i}`,label:"Property"}),{name:`value_${i}`,selector:null!==(n={attributes:{object:{}}}[t])&&void 0!==n?n:{text:{}},label:"Value"}]}:{type:"Constant",name:"Some filters are not shown",value:"Please switch to the CODE EDITOR to access all options."}},Rt=[{name:"options",selector:{object:{}}}],Ht=[{name:"data",selector:{object:{}}}],Dt=[{name:"method",label:"Sort method",type:"select",options:[["domain","Entity Domain"],["entity_id","Entity ID"],["friendly_name","Friendly Name"],["state","Entity State"],["last_changed","Last Change"],["last_updated","Last Update"],["last_triggered","Last Trigger"]]},{type:"constant",name:"Sorting options:",value:""},{type:"grid",name:"",schema:[{name:"reverse",type:"boolean",label:"Reverse"},{name:"ignore_case",type:"boolean",label:"Ignore case"},{name:"numeric",type:"boolean",label:"Numeric sort"},{name:"ip",type:"boolean",label:"IP address short"}]}],Ft=[{type:"grid",name:"",schema:[{name:"show_empty",type:"boolean",label:"Show if empty"},{name:"card_param",type:"string",label:"Parameter to populate"}]}];class Lt extends tt{constructor(){super(...arguments),this._selectedTab=0,this._cardGUIMode=!0,this._cardGUIModeAvailable=!0}setConfig(t){this._config=t}connectedCallback(){super.connectedCallback(),(async()=>{var t,e;if(customElements.get("ha-form"))return;const i=await(null===(e=(t=window).loadCardHelpers)||void 0===e?void 0:e.call(t));if(!i)return;const n=await i.createCardElement({type:"entity"});n&&await n.getConfigElement()})()}_handleSwitchTab(t){this._selectedTab=parseInt(t.detail.index,10)}_addFilterGroup(){var t;if(!this._config)return;const e=[...null===(t=this._config.filter)||void 0===t?void 0:t.include];e.push({});const i=Object.assign(Object.assign({},this._config.filter),{include:e});this._config=Object.assign(Object.assign({},this._config),{filter:i}),this.dispatchEvent(new CustomEvent("config-changed",{detail:{config:this._config}}))}_deleteFilterGroup(t){var e;if(!this._config)return;const i=[...null===(e=this._config.filter)||void 0===e?void 0:e.include];i.splice(t,1);const n=Object.assign(Object.assign({},this._config.filter),{include:i});this._config=Object.assign(Object.assign({},this._config),{filter:n}),this.dispatchEvent(new CustomEvent("config-changed",{detail:{config:this._config}}))}_moveFilterGroup(t,e){var i;if(!this._config)return;const n=[...null===(i=this._config.filter)||void 0===i?void 0:i.include];[n[t],n[t+e]]=[n[t+e],n[t]];const s=Object.assign(Object.assign({},this._config.filter),{include:n});this._config=Object.assign(Object.assign({},this._config),{filter:s}),this.dispatchEvent(new CustomEvent("config-changed",{detail:{config:this._config}}))}_addSpecialEntry(){var t;if(!this._config)return;const e=[...null===(t=this._config.filter)||void 0===t?void 0:t.include];e.push({type:""});const i=Object.assign(Object.assign({},this._config.filter),{include:e});this._config=Object.assign(Object.assign({},this._config),{filter:i}),this.dispatchEvent(new CustomEvent("config-changed",{detail:{config:this._config}}))}async _changeSpecialEntry(t,e){var i,n,s,o;if(!this._config)return;const r=null!==(n=Object.assign({},null===(i=e.detail.value)||void 0===i?void 0:i.data))&&void 0!==n?n:{type:""};r.type=null!==(s=r.type)&&void 0!==s?s:"";const a=[...null===(o=this._config.filter)||void 0===o?void 0:o.include];a[t]=r;const l=Object.assign(Object.assign({},this._config.filter),{include:a});this._config=Object.assign(Object.assign({},this._config),{filter:l}),this.dispatchEvent(new CustomEvent("config-changed",{detail:{config:this._config}}))}async _changeGroupOptions(t,e){var i;if(!this._config)return;const n=e.detail.value,s=[...null===(i=this._config.filter)||void 0===i?void 0:i.include];s[t]=Object.assign({},n);const o=Object.assign(Object.assign({},this._config.filter),{include:s});this._config=Object.assign(Object.assign({},this._config),{filter:o}),this.dispatchEvent(new CustomEvent("config-changed",{detail:{config:this._config}}))}_changeFilter(t,e){var i;if(!this._config)return;const n=((t,e)=>{var i;const n={};for(let s=0;s<=t.filter.include.length+1;s++)void 0!==e[`key_${s}`]&&(n[e[`key_${s}`]]=null!==(i=e[`value_${s}`])&&void 0!==i?i:"");return void 0!==e.key_new&&(n[e.key_new]=""),n})(this._config,e.detail.value),s=[...null===(i=this._config.filter)||void 0===i?void 0:i.include];s[t]=Object.assign(Object.assign({},n),{options:s[t].options}),this._config.filter=Object.assign(Object.assign({},this._config.filter),{include:s}),this.dispatchEvent(new CustomEvent("config-changed",{detail:{config:this._config}}))}_changeSortOptions(t){if(!this._config)return;const e=t.detail.value;this._config=Object.assign(Object.assign({},this._config),{sort:e}),this.dispatchEvent(new CustomEvent("config-changed",{detail:{config:this._config}}))}_changeCardOptions(t){if(!this._config)return;const e=t.detail.value;this._config=Object.assign(Object.assign({},this._config),e),this.dispatchEvent(new CustomEvent("config-changed",{detail:{config:this._config}}))}_showEmptyToggle(){if(!this._config)return;const t=!1===this._config.show_empty;this._config=Object.assign(Object.assign({},this._config),{show_empty:t}),this.dispatchEvent(new CustomEvent("config-changed",{detail:{config:this._config}}))}_changeCardParam(t){if(!this._config)return;const e=""===t.target.value||"entities"===t.target.value?void 0:t.target.value;this._config=Object.assign(Object.assign({},this._config),{card_param:e}),this.dispatchEvent(new CustomEvent("config-changed",{detail:{config:this._config}}))}_getCardConfig(){const t=Object.assign({},this._config.card);return t[this._config.card_param||"entities"]=[],t}_handleCardConfigChanged(t){if(t.stopPropagation(),!this._config)return;const e=Object.assign({},t.detail.config);delete e[this._config.card_param||"entities"],this._config=Object.assign(Object.assign({},this._config),{card:e}),this._cardGUIModeAvailable=t.detail.guiModeAvailable,this.dispatchEvent(new CustomEvent("config-changed",{detail:{config:this._config}}))}_deleteCard(t){this._config&&(this._config=Object.assign({},this._config),delete this._config.card,this.dispatchEvent(new CustomEvent("config-changed",{detail:{config:this._config}})))}_toggleCardMode(t){var e;null===(e=this._cardEditorEl)||void 0===e||e.toggleMode()}_cardGUIModeChanged(t){t.stopPropagation(),this._cardGUIMode=t.detail.guiMode,this._cardGUIModeAvailable=t.detail.guiModeAvailable}render(){return this.hass&&this._config?N` -

-
- - - - - - -
-
- ${[this._renderFilterEditor,this._renderSortEditor,this._renderCardEditor,this._renderHelp][this._selectedTab].bind(this)()} -
-
- `:N``}_renderHelp(){return N` -
-

Auto entities

-

- See - - auto-entities on github - - for usage instructions. -

-

Not all options are available in the GUI editor.

-
- `}_renderFilterEditor(){var t;return(null===(t=this._config.filter)||void 0===t?void 0:t.template)||this._config.entities?N` -
-

- Your filter method is not handled by the GUI editor. -

-

Please switch to the CODE EDITOR to access all options.

-
- `:N` - ${this._config.filter.include.map(((t,e)=>N` -
-
- this._moveFilterGroup(e,-1)} - > - - - this._moveFilterGroup(e,1)} - > - - - this._deleteFilterGroup(e)} - > - - -
- ${void 0===t.type?N` - {const e=Object.assign({},t);return delete e.options,[...Object.entries(e).map(It),Object.assign(Object.assign({},Nt),{name:"key_new",label:"Select property"})]})(t)} - .data=${(t=>{const e=Object.assign({},t);return delete e.options,Object.assign({},...Object.entries(e).map((([t,e],i)=>({[`key_${i}`]:t,[`value_${i}`]:e}))))})(t)} - .computeLabel=${t=>{var e;return null!==(e=t.label)&&void 0!==e?e:t.name}} - @value-changed=${t=>this._changeFilter(e,t)} - > -

Options:

- this._changeGroupOptions(e,t)} - > - `:N` - this._changeSpecialEntry(e,t)} - > - `} -
- `))} - - Add filter group - - - Add non-filter entry - - `}_renderSortEditor(){var t;const e=null!==(t=this._config.sort)&&void 0!==t?t:{method:"none"};return N` -
- {var e;return null!==(e=t.label)&&void 0!==e?e:t.name}} - @value-changed=${this._changeSortOptions} - > -
- `}_renderCardEditor(){var t;const e=Object.assign({},this._config);return e.show_empty=null===(t=e.show_empty)||void 0===t||t,N` -
- {var e;return null!==(e=t.label)&&void 0!==e?e:t.name}} - .data=${e} - @value-changed=${this._changeCardOptions} - > - ${this._config.card?N` -
- - ${!this._cardEditorEl||this._cardGUIMode?"Show code editor":"Show Visual Editor"} - - - Change card type - -
- - `:N` - - `} -
- `}static get styles(){return[r` - mwc-tab-bar { - border-bottom: 1px solid var(--divider-color); - } - - .box { - margin-top: 8px; - border: 1px solid var(--divider-color); - padding: 12px; - } - .option { - display: flex; - align-items: center; - gap: 8px; - } - - .box .toolbar { - display: flex; - justify-content: flex-end; - width: 100%; - gap: 8px; - } - .gui-mode-button { - margin-right: auto; - } - a { - color: var(--primary-color); - } - `]}}t([st()],Lt.prototype,"_config",void 0),t([nt()],Lt.prototype,"lovelace",void 0),t([nt()],Lt.prototype,"hass",void 0),t([st()],Lt.prototype,"_selectedTab",void 0),t([st()],Lt.prototype,"_cardGUIMode",void 0),t([st()],Lt.prototype,"_cardGUIModeAvailable",void 0),t([function(t,e){return(({finisher:t,descriptor:e})=>(i,n)=>{var s;if(void 0===n){const n=null!==(s=i.originalKey)&&void 0!==s?s:i.key,o=null!=e?{kind:"method",placement:"prototype",key:n,descriptor:e(i.key)}:{...i,key:n};return null!=t&&(o.finisher=function(e){t(e,n)}),o}{const s=i.constructor;void 0!==e&&Object.defineProperty(i,n,e(n)),null==t||t(s,n)}})({descriptor:i=>{const n={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;n.get=function(){var i,n;return void 0===this[e]&&(this[e]=null!==(n=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==n?n:null),this[e]}}return n}})}("hui-card-element-editor")],Lt.prototype,"_cardEditorEl",void 0),customElements.define("auto-entities-editor",Lt),window.customCards=window.customCards||[],window.customCards.push({type:"auto-entities",name:"Auto Entities",preview:!1,description:"Entity Filter on Steroids. Auto Entities allows you to fill other cards with entities automatically, based on a number of attributes."}),window.queueMicrotask=window.queueMicrotask||(t=>window.setTimeout(t,1));const Wt=["section","divider"];class Gt extends tt{constructor(){super(...arguments),this.empty=!1,this._updateCooldown={timer:void 0,rerun:!1},this._renderer=t=>{this._template="string"==typeof t?t.split(/[\s,]+/):t}}static getConfigElement(){return document.createElement("auto-entities-editor")}static getStubConfig(){return{card:{type:"entities"},filter:{include:[],exclude:[]}}}setConfig(t){var e,i;if(!t)throw new Error("No configuration.");if(!(null===(e=t.card)||void 0===e?void 0:e.type))throw new Error("No card type specified.");if(!t.filter&&!t.entities)throw new Error("No filters specified.");t=JSON.parse(JSON.stringify(t)),this._config=t,(null===(i=this._config.filter)||void 0===i?void 0:i.template)&&ut(this._config.filter.template)&&ft(this._renderer,this._config.filter.template,{config:t}),this._cardBuilt=new Promise((t=>this._cardBuiltResolve=t)),queueMicrotask((()=>this.build_else())),queueMicrotask((()=>this.update_all()))}connectedCallback(){var t,e;super.connectedCallback(),(null===(e=null===(t=this._config)||void 0===t?void 0:t.filter)||void 0===e?void 0:e.template)&&ut(this._config.filter.template)&&ft(this._renderer,this._config.filter.template,{config:this._config})}disconnectedCallback(){super.disconnectedCallback(),pt(this._renderer)}async update_all(){if(this.card&&(this.card.hass=this.hass),this.else&&(this.else.hass=this.hass),this._updateCooldown.timer)return void(this._updateCooldown.rerun=!0);this._updateCooldown.rerun=!1,this._updateCooldown.timer=window.setTimeout((()=>{this._updateCooldown.timer=void 0,this._updateCooldown.rerun&&this.update_all()}),500);const t=await this.update_entities();this.update_card(t)}async build_else(){if(void 0===this._config.else)return;const t=await window.loadCardHelpers();this.else=await t.createCardElement(this._config.else),this.else.hass=this.hass}async update_card(t){var e,i,n,s,o,r,a,l,d,c,h,u;if(this._entities&&_t(t,this._entities)&&_t(this._cardConfig,this._config.card))return;const v=(null===(e=this._cardConfig)||void 0===e?void 0:e.type)!==this._config.card.type;this._entities=t,this._cardConfig=JSON.parse(JSON.stringify(this._config.card));const f=Object.assign({[this._config.card_param||"entities"]:t},this._config.card);if(!this.card||v){const t=await window.loadCardHelpers();console.oldError=console.oldError||[];const e=console.error;console.oldError.push(e),console.error=(...t)=>{var i,n,s,o,r,a;3===t.length&&t[2].message&&((null===(n=(i=t[2].message).startsWith)||void 0===n?void 0:n.call(i,"Entities"))||(null===(o=(s=t[2].message).startsWith)||void 0===o?void 0:o.call(s,"Either entities"))||(null===(a=(r=t[2].message).endsWith)||void 0===a?void 0:a.call(r,"entity")))||e(...t)};try{if(this.card=await t.createCardElement(f),"hui-error-card"===this.card.localName){const t=this.card;await customElements.whenDefined("hui-error-card");let e=10;for(;!t._config&&e;)await new Promise((t=>window.setTimeout(t,100))),e--;if((null===(s=null===(n=null===(i=t._config)||void 0===i?void 0:i.error)||void 0===n?void 0:n.startsWith)||void 0===s?void 0:s.call(n,"Entities"))||(null===(a=null===(r=null===(o=t._config)||void 0===o?void 0:o.error)||void 0===r?void 0:r.startsWith)||void 0===a?void 0:a.call(r,"Either entities"))||(null===(c=null===(d=null===(l=t._config)||void 0===l?void 0:l.error)||void 0===d?void 0:d.endsWith)||void 0===c?void 0:c.call(d,"entity")))return this.card=void 0,this._entities=void 0,this._cardConfig=void 0,void(null===(h=this._cardBuiltResolve)||void 0===h||h.call(this))}}finally{console.error=console.oldError.pop()}}else this.card.setConfig(f);null===(u=this._cardBuiltResolve)||void 0===u||u.call(this),this.card.hass=this.hass,this.empty=0===t.length||t.every((t=>Wt.includes(t.type)));const p=this.empty&&!1===this._config.show_empty&&void 0===this._config.else;this.style.display=p?"none":null,this.style.margin=p?"0":null,this.card.requestUpdate&&(await this.updateComplete,this.card.requestUpdate())}async update_entities(){var t,e,i,n,s,o,r,a;const l=t=>t?"string"==typeof t?{entity:t.trim()}:t:null;let d=[...(null===(e=null===(t=this._config)||void 0===t?void 0:t.entities)||void 0===e?void 0:e.map(l))||[]];if(!this.hass)return d;if(this._template&&(d=d.concat(this._template.map(l))),d=d.filter(Boolean),null===(i=this._config.filter)||void 0===i?void 0:i.include){const t=Object.keys(this.hass.states).map(l);for(const e of this._config.filter.include){if(e.type){d.push(e);continue}let i=[];for(const n of t)await kt(this.hass,e,n.entity)&&i.push(JSON.parse(JSON.stringify(Object.assign(Object.assign({},n),e.options)).replace(/this.entity_id/g,n.entity)));if(e.sort&&(await Et(this.hass),await $t(this.hass),await yt(this.hass),i=i.sort(Ut(this.hass,e.sort)),null!==(n=e.sort.count)&&void 0!==n?n:e.sort.first)){const t=null!==(s=e.sort.first)&&void 0!==s?s:0;i=i.slice(t,t+(null!==(o=e.sort.count)&&void 0!==o?o:1/0))}d=d.concat(i)}}if(null===(r=this._config.filter)||void 0===r?void 0:r.exclude)for(const t of this._config.filter.exclude){const e=[];for(const i of d)void 0!==i.entity&&await kt(this.hass,t,i.entity)||e.push(i);d=e}if(this._config.sort&&(d=d.sort(Ut(this.hass,this._config.sort)),this._config.sort.count)){const t=null!==(a=this._config.sort.first)&&void 0!==a?a:0;d=d.slice(t,t+this._config.sort.count)}if(this._config.unique){let t=[];for(const e of d)"entity"===this._config.unique&&e.entity&&t.some((t=>t.entity===e.entity))||t.some((t=>_t(t,e)))||t.push(e);d=t}return d}async updated(t){(t.has("_template")||t.has("hass")&&this.hass)&&queueMicrotask((()=>this.update_all()))}createRenderRoot(){return this}render(){return N`${this.empty&&(!1===this._config.show_empty||this._config.else)?this.else:this.card}`}async getCardSize(){var t,e;let i=0;return await this._cardBuilt,this.card&&this.card.getCardSize&&(i=await this.card.getCardSize()),1===i&&(null===(t=this._entities)||void 0===t?void 0:t.length)&&(i=this._entities.length),0===i&&(null===(e=this._config.filter)||void 0===e?void 0:e.include)&&(i=Object.keys(this._config.filter.include).length),i||5}}t([nt()],Gt.prototype,"_config",void 0),t([nt()],Gt.prototype,"hass",void 0),t([nt()],Gt.prototype,"card",void 0),t([nt()],Gt.prototype,"else",void 0),t([nt()],Gt.prototype,"_template",void 0),t([st()],Gt.prototype,"empty",void 0),customElements.get("auto-entities")||(customElements.define("auto-entities",Gt),console.groupCollapsed(`%cAUTO-ENTITIES ${Pt} IS INSTALLED`,"color: green; font-weight: bold"),console.log("Readme:","https://github.com/thomasloven/lovelace-auto-entities"),console.groupEnd()); diff --git a/config/www/community/lovelace-auto-entities/auto-entities.js.gz b/config/www/community/lovelace-auto-entities/auto-entities.js.gz deleted file mode 100644 index 7a2c7667c33ffd239a26d3b98eaee99a5045df2f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13819 zcmVZ!KkRbZK;HWpgfSa{%pqYj@kmwdnW!3J6P8fCz#l zr_DVFG{h>h61(-QlH9bV83`gsBy131fuU@L#D70~&wBunlI^(ntaWc!Y7z6?vuDqK z&7PT?MLwcwkvr6*0SVF|_m{Ux=~O`xC*@=@BRQ?YjN}tK4a&H9{C%H9`6A2WIL`Zd z{ObB08PRY;=&KL;>#~@WlHN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6OrLkQtUzpQu_3Z3C*!{!w;WOpnw@);+jyb)&5}VLMT6&v= zY4Z#L+QNNh3r9-0)mLJ?B5vS3{f!u2D9!*6)Q!zrT59zoFnldqXd3O|8xp2Fp_z}b zQR7hX;o_!%>ylyS9k5Ir@mUXc1(_8bG+O?QJ9l{dE!ne1rl_9N)#^`df0b{C{`|oG z)t@(Sn|2jq=FNSDaN_SRWIXoV+E8sY$L};-vlGN_<+Ar^&;oeKevu0uX=9v)VV)FO zmdqKzo{xfuwui{0{@$uj5|90053;xEKHc diff --git a/config/www/community/lovelace-auto-entities/rollup.config.js b/config/www/community/lovelace-auto-entities/rollup.config.js deleted file mode 100644 index b067baed..00000000 --- a/config/www/community/lovelace-auto-entities/rollup.config.js +++ /dev/null @@ -1,24 +0,0 @@ -import nodeResolve from "@rollup/plugin-node-resolve"; -import json from "@rollup/plugin-json"; -import typescript from "rollup-plugin-typescript2"; -import terser from "@rollup/plugin-terser"; -import babel from "@rollup/plugin-babel"; - -const dev = process.env.ROLLUP_WATCH; - -export default { - input: "src/main.ts", - output: { - file: "auto-entities.js", - format: "es", - }, - plugins: [ - nodeResolve(), - json(), - typescript(), - babel({ - exclude: "node_modules/**", - }), - !dev && terser({ format: { comments: false } }), - ], -}; diff --git a/config/www/community/lovelace-auto-entities/rollup.config.js.gz b/config/www/community/lovelace-auto-entities/rollup.config.js.gz deleted file mode 100644 index 30059a82c6d3ff4d07b32930d2a16ff003bcdea6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 323 zcmV-J0lfYniwFpSYbIs_|8j3^Y;|xhV{dL|X=g5Ka{z6TF>Avx5QTUDimQi^hS-6Q z34xX_9Re+(r9&yfvCl<8(g~duQiA_`CCjNZWD(}x_fF4GLK(6SG&Q(ICV50?Eh)$! zElKIk!btxkbP<8VCL&*DBH0d1`Zgbxk#oNWxwgW%flhESz@z+d z%G+o!1v0Bivx5eYum)qPM&=UrvE06HHXm=h&!_k2mw@4^-`HSVdFkMs0SIlpTSCsZ zUZ_gw(s4cybMmeiA_LG0i2@BE(q+>B+caGdfTvpeCT56>c8VG=kr%Vs5TP4fcd>)XWGHxg{?B%Xnv@FJL!!2l VjL;3H?|Ig(vOh;>ruZxZ001!&n0NpH diff --git a/config/www/community/lovelace-card-mod/card-mod.js b/config/www/community/lovelace-card-mod/card-mod.js deleted file mode 100644 index 85cc6ab5..00000000 --- a/config/www/community/lovelace-card-mod/card-mod.js +++ /dev/null @@ -1 +0,0 @@ -var t,e,n,r,i,o,a,s;function u(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;e=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}function y(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function m(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){y(o,r,i,a,s,"next",t)}function s(t){y(o,r,i,a,s,"throw",t)}a(void 0)}))}}function g(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&$(t,e)}function b(t){var e=x();return function(){var n,r=E(t);if(e){var i=E(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===M(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _(t)}(this,n)}}function _(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w(t){var e="function"==typeof Map?new Map:void 0;return w=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return k(t,arguments,E(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),$(n,t)},w(t)}function k(t,e,n){return k=x()?Reflect.construct.bind():function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&$(i,n.prototype),i},k.apply(null,arguments)}function x(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function $(t,e){return $=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},$(t,e)}function E(t){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},E(t)}function A(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=S(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function S(t,e){if(t){if("string"==typeof t)return O(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?O(t,e):void 0}}function O(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}"function"==typeof SuppressedError&&SuppressedError;var R=globalThis,L=R.ShadowRoot&&(void 0===R.ShadyCSS||R.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,U=Symbol(),D=new WeakMap,H=function(){function t(e,n,r){if(P(this,t),this._$cssResult$=!0,r!==U)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=n}return j(t,[{key:"styleSheet",get:function(){var t=this.o,e=this.t;if(L&&void 0===t){var n=void 0!==e&&1===e.length;n&&(t=D.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&D.set(e,t))}return t}},{key:"toString",value:function(){return this.cssText}}]),t}(),I=L?function(t){return t}:function(t){return t instanceof CSSStyleSheet?function(t){var e,n="",r=A(t.cssRules);try{for(r.s();!(e=r.n()).done;){n+=e.value.cssText}}catch(t){r.e(t)}finally{r.f()}return function(t){return new H("string"==typeof t?t:t+"",void 0,U)}(n)}(t):t},z=Object.is,q=Object.defineProperty,B=Object.getOwnPropertyDescriptor,V=Object.getOwnPropertyNames,J=Object.getOwnPropertySymbols,W=Object.getPrototypeOf,G=globalThis,F=G.trustedTypes,Y=F?F.emptyScript:"",K=G.reactiveElementPolyfillSupport,Z=function(t,e){return t},Q={toAttribute:function(t,e){switch(e){case Boolean:t=t?Y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){var n=t;switch(e){case Boolean:n=null!==t;break;case Number:n=null===t?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch(t){n=null}}return n}},X=function(t,e){return!z(t,e)},tt={attribute:!0,type:String,converter:Q,reflect:!1,hasChanged:X};null!==(t=Symbol.metadata)&&void 0!==t||(Symbol.metadata=Symbol("metadata")),null!==(e=G.litPropertyMetadata)&&void 0!==e||(G.litPropertyMetadata=new WeakMap);var et=function(t){g(r,w(HTMLElement));var e,n=b(r);function r(){var t;return P(this,r),(t=n.call(this))._$Ep=void 0,t.isUpdatePending=!1,t.hasUpdated=!1,t._$Em=null,t._$Ev(),t}return j(r,[{key:"_$Ev",value:function(){var t,e=this;this._$Eg=new Promise((function(t){return e.enableUpdating=t})),this._$AL=new Map,this._$ES(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((function(t){return t(e)}))}},{key:"addController",value:function(t){var e,n;(null!==(e=this._$E_)&&void 0!==e?e:this._$E_=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&(null===(n=t.hostConnected)||void 0===n||n.call(t))}},{key:"removeController",value:function(t){var e;null===(e=this._$E_)||void 0===e||e.delete(t)}},{key:"_$ES",value:function(){var t,e=new Map,n=A(this.constructor.elementProperties.keys());try{for(n.s();!(t=n.n()).done;){var r=t.value;this.hasOwnProperty(r)&&(e.set(r,this[r]),delete this[r])}}catch(t){n.e(t)}finally{n.f()}e.size>0&&(this._$Ep=e)}},{key:"createRenderRoot",value:function(){var t,e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return function(t,e){if(L)t.adoptedStyleSheets=e.map((function(t){return t instanceof CSSStyleSheet?t:t.styleSheet}));else{var n,r=A(e);try{for(r.s();!(n=r.n()).done;){var i=n.value,o=document.createElement("style"),a=R.litNonce;void 0!==a&&o.setAttribute("nonce",a),o.textContent=i.cssText,t.appendChild(o)}}catch(t){r.e(t)}finally{r.f()}}}(e,this.constructor.elementStyles),e}},{key:"connectedCallback",value:function(){var t,e;null!==(t=this.renderRoot)&&void 0!==t||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$E_)||void 0===e||e.forEach((function(t){var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}},{key:"enableUpdating",value:function(t){}},{key:"disconnectedCallback",value:function(){var t;null===(t=this._$E_)||void 0===t||t.forEach((function(t){var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}},{key:"attributeChangedCallback",value:function(t,e,n){this._$AK(t,n)}},{key:"_$EO",value:function(t,e){var n=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,n);if(void 0!==r&&!0===n.reflect){var i,o=(void 0!==(null===(i=n.converter)||void 0===i?void 0:i.toAttribute)?n.converter:Q).toAttribute(e,n.type);this._$Em=t,null==o?this.removeAttribute(r):this.setAttribute(r,o),this._$Em=null}}},{key:"_$AK",value:function(t,e){var n=this.constructor,r=n._$Eh.get(t);if(void 0!==r&&this._$Em!==r){var i,o=n.getPropertyOptions(r),a="function"==typeof o.converter?{fromAttribute:o.converter}:void 0!==(null===(i=o.converter)||void 0===i?void 0:i.fromAttribute)?o.converter:Q;this._$Em=r,this[r]=a.fromAttribute(e,o.type),this._$Em=null}}},{key:"requestUpdate",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;if(void 0!==t){var o,a;if(null!==(o=n)&&void 0!==o||(n=this.constructor.getPropertyOptions(t)),!(null!==(a=n.hasChanged)&&void 0!==a?a:X)(r?i:this[t],e))return;this.C(t,e,n)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}},{key:"C",value:function(t,e,n){var r;this._$AL.has(t)||this._$AL.set(t,e),!0===n.reflect&&this._$Em!==t&&(null!==(r=this._$Ej)&&void 0!==r?r:this._$Ej=new Set).add(t)}},{key:"_$EP",value:(e=m(p().mark((function t(){var e;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.isUpdatePending=!0,t.prev=1,t.next=4,this._$Eg;case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(1),Promise.reject(t.t0);case 9:if(e=this.scheduleUpdate(),t.t1=null!=e,!t.t1){t.next=14;break}return t.next=14,e;case 14:return t.abrupt("return",!this.isUpdatePending);case 15:case"end":return t.stop()}}),t,this,[[1,6]])}))),function(){return e.apply(this,arguments)})},{key:"scheduleUpdate",value:function(){return this.performUpdate()}},{key:"performUpdate",value:function(){if(this.isUpdatePending){if(!this.hasUpdated){var t;if(null!==(t=this.renderRoot)&&void 0!==t||(this.renderRoot=this.createRenderRoot()),this._$Ep){var e,n=A(this._$Ep);try{for(n.s();!(e=n.n()).done;){var r=v(e.value,2),i=r[0],o=r[1];this[i]=o}}catch(t){n.e(t)}finally{n.f()}this._$Ep=void 0}var a=this.constructor.elementProperties;if(a.size>0){var s,u=A(a);try{for(u.s();!(s=u.n()).done;){var c=v(s.value,2),l=c[0],d=c[1];!0!==d.wrapped||this._$AL.has(l)||void 0===this[l]||this.C(l,this[l],d)}}catch(t){u.e(t)}finally{u.f()}}}var h=!1,f=this._$AL;try{var p;(h=this.shouldUpdate(f))?(this.willUpdate(f),null!==(p=this._$E_)&&void 0!==p&&p.forEach((function(t){var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(f)):this._$ET()}catch(f){throw h=!1,this._$ET(),f}h&&this._$AE(f)}}},{key:"willUpdate",value:function(t){}},{key:"_$AE",value:function(t){var e;null!==(e=this._$E_)&&void 0!==e&&e.forEach((function(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)}},{key:"_$ET",value:function(){this._$AL=new Map,this.isUpdatePending=!1}},{key:"updateComplete",get:function(){return this.getUpdateComplete()}},{key:"getUpdateComplete",value:function(){return this._$Eg}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var e=this;this._$Ej&&(this._$Ej=this._$Ej.forEach((function(t){return e._$EO(t,e[t])}))),this._$ET()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}}],[{key:"addInitializer",value:function(t){var e;this._$Ei(),(null!==(e=this.l)&&void 0!==e?e:this.l=[]).push(t)}},{key:"observedAttributes",get:function(){return this.finalize(),this._$Eh&&f(this._$Eh.keys())}},{key:"createProperty",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tt;if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){var n=Symbol(),r=this.getPropertyDescriptor(t,n,e);void 0!==r&&q(this.prototype,t,r)}}},{key:"getPropertyDescriptor",value:function(t,e,n){var r,i=null!==(r=B(this.prototype,t))&&void 0!==r?r:{get:function(){return this[e]},set:function(t){this[e]=t}},o=i.get,a=i.set;return{get:function(){return null==o?void 0:o.call(this)},set:function(e){var r=null==o?void 0:o.call(this);a.call(this,e),this.requestUpdate(t,r,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){var e;return null!==(e=this.elementProperties.get(t))&&void 0!==e?e:tt}},{key:"_$Ei",value:function(){if(!this.hasOwnProperty(Z("elementProperties"))){var t=W(this);t.finalize(),void 0!==t.l&&(this.l=f(t.l)),this.elementProperties=new Map(t.elementProperties)}}},{key:"finalize",value:function(){if(!this.hasOwnProperty(Z("finalized"))){if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Z("properties"))){var t,e=this.properties,n=A([].concat(f(V(e)),f(J(e))));try{for(n.s();!(t=n.n()).done;){var r=t.value;this.createProperty(r,e[r])}}catch(t){n.e(t)}finally{n.f()}}var i=this[Symbol.metadata];if(null!==i){var o=litPropertyMetadata.get(i);if(void 0!==o){var a,s=A(o);try{for(s.s();!(a=s.n()).done;){var u=v(a.value,2),c=u[0],l=u[1];this.elementProperties.set(c,l)}}catch(t){s.e(t)}finally{s.f()}}}this._$Eh=new Map;var d,h=A(this.elementProperties);try{for(h.s();!(d=h.n()).done;){var p=v(d.value,2),y=p[0],m=p[1],g=this._$Eu(y,m);void 0!==g&&this._$Eh.set(g,y)}}catch(t){h.e(t)}finally{h.f()}this.elementStyles=this.finalizeStyles(this.styles)}}},{key:"finalizeStyles",value:function(t){var e=[];if(Array.isArray(t)){var n,r=A(new Set(t.flat(1/0).reverse()));try{for(r.s();!(n=r.n()).done;){var i=n.value;e.unshift(I(i))}}catch(t){r.e(t)}finally{r.f()}}else void 0!==t&&e.push(I(t));return e}},{key:"_$Eu",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}}]),r}();et.elementStyles=[],et.shadowRootOptions={mode:"open"},et[Z("elementProperties")]=new Map,et[Z("finalized")]=new Map,null!=K&&K({ReactiveElement:et}),(null!==(n=G.reactiveElementVersions)&&void 0!==n?n:G.reactiveElementVersions=[]).push("2.0.2");var nt=globalThis,rt=nt.trustedTypes,it=rt?rt.createPolicy("lit-html",{createHTML:function(t){return t}}):void 0,ot="$lit$",at="lit$".concat((Math.random()+"").slice(9),"$"),st="?"+at,ut="<".concat(st,">"),ct=document,lt=function(){return ct.createComment("")},dt=function(t){return null===t||"object"!=M(t)&&"function"!=typeof t},ht=Array.isArray,ft="[ \t\n\f\r]",vt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,pt=/-->/g,yt=/>/g,mt=RegExp(">|".concat(ft,"(?:([^\\s\"'>=/]+)(").concat(ft,"*=").concat(ft,"*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),gt=/'/g,bt=/"/g,_t=/^(?:script|style|textarea|title)$/i,wt=function(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i":"",a=vt,s=0;s"===l[0]?(a=null!==(f=n)&&void 0!==f?f:vt,d=-1):void 0===l[1]?d=-2:(d=a.lastIndex-l[2].length,c=l[1],a=void 0===l[3]?mt:'"'===l[3]?bt:gt):a===bt||a===gt?a=mt:a===pt||a===yt?a=vt:(a=mt,n=void 0)}var v=a===mt&&t[s+1].startsWith("/>")?" ":"";o+=a===vt?u+ut:d>=0?(i.push(c),u.slice(0,d)+ot+u.slice(d)+at+v):u+at+(-2===d?s:v)}return[At(t,o+(t[r]||"")+(2===e?"":"")),i]},Ot=function(){function t(e,n){var r,i=e.strings,o=e._$litType$;P(this,t),this.parts=[];var a=0,s=0,u=i.length-1,c=this.parts,l=v(St(i,o),2),d=l[0],h=l[1];if(this.el=t.createElement(d,n),Et.currentNode=this.el.content,2===o){var p=this.el.content.firstChild;p.replaceWith.apply(p,f(p.childNodes))}for(;null!==(r=Et.nextNode())&&c.length0){r.textContent=rt?rt.emptyScript:"";for(var $=0;$2&&void 0!==arguments[2]?arguments[2]:t,u=arguments.length>3?arguments[3]:void 0;if(e===kt)return e;var c=void 0!==u?null===(n=s._$Co)||void 0===n?void 0:n[u]:s._$Cl,l=dt(e)?void 0:e._$litDirective$;return(null===(r=c)||void 0===r?void 0:r.constructor)!==l&&(null!==(i=c)&&void 0!==i&&null!==(o=i._$AO)&&void 0!==o&&o.call(i,!1),void 0===l?c=void 0:(c=new l(t))._$AT(t,s,u),void 0!==u?(null!==(a=s._$Co)&&void 0!==a?a:s._$Co=[])[u]=c:s._$Cl=c),void 0!==c&&(e=Pt(t,c._$AS(t,e.values),c,u)),e}var Ct=function(){function t(e,n){P(this,t),this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=n}return j(t,[{key:"parentNode",get:function(){return this._$AM.parentNode}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"u",value:function(t){var e,n=this._$AD,r=n.el.content,i=n.parts,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:ct).importNode(r,!0);Et.currentNode=o;for(var a=Et.nextNode(),s=0,u=0,c=i[0];void 0!==c;){var l;if(s===c.index){var d=void 0;2===c.type?d=new jt(a,a.nextSibling,this,t):1===c.type?d=new c.ctor(a,c.name,c.strings,this,t):6===c.type&&(d=new Lt(a,this,t)),this._$AV.push(d),c=i[++u]}s!==(null===(l=c)||void 0===l?void 0:l.index)&&(a=Et.nextNode(),s++)}return Et.currentNode=ct,o}},{key:"p",value:function(t){var e,n=0,r=A(this._$AV);try{for(r.s();!(e=r.n()).done;){var i=e.value;void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,n),n+=i.strings.length-2):i._$AI(t[n])),n++}}catch(t){r.e(t)}finally{r.f()}}}]),t}(),jt=function(){function t(e,n,r,i){var o;P(this,t),this.type=2,this._$AH=xt,this._$AN=void 0,this._$AA=e,this._$AB=n,this._$AM=r,this.options=i,this._$Cv=null===(o=null==i?void 0:i.isConnected)||void 0===o||o}return j(t,[{key:"_$AU",get:function(){var t,e;return null!==(t=null===(e=this._$AM)||void 0===e?void 0:e._$AU)&&void 0!==t?t:this._$Cv}},{key:"parentNode",get:function(){var t,e=this._$AA.parentNode,n=this._$AM;return void 0!==n&&11===(null===(t=e)||void 0===t?void 0:t.nodeType)&&(e=n.parentNode),e}},{key:"startNode",get:function(){return this._$AA}},{key:"endNode",get:function(){return this._$AB}},{key:"_$AI",value:function(t){t=Pt(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),dt(t)?t===xt||null==t||""===t?(this._$AH!==xt&&this._$AR(),this._$AH=xt):t!==this._$AH&&t!==kt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):function(t){return ht(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator])}(t)?this.T(t):this._(t)}},{key:"k",value:function(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}},{key:"$",value:function(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}},{key:"_",value:function(t){this._$AH!==xt&&dt(this._$AH)?this._$AA.nextSibling.data=t:this.$(ct.createTextNode(t)),this._$AH=t}},{key:"g",value:function(t){var e,n=t.values,r=t._$litType$,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=Ot.createElement(At(r.h,r.h[0]),this.options)),r);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===i)this._$AH.p(n);else{var o=new Ct(i,this),a=o.u(this.options);o.p(n),this.$(a),this._$AH=o}}},{key:"_$AC",value:function(t){var e=$t.get(t.strings);return void 0===e&&$t.set(t.strings,e=new Ot(t)),e}},{key:"T",value:function(e){ht(this._$AH)||(this._$AH=[],this._$AR());var n,r,i=this._$AH,o=0,a=A(e);try{for(a.s();!(r=a.n()).done;){var s=r.value;o===i.length?i.push(n=new t(this.k(lt()),this.k(lt()),this,this.options)):n=i[o],n._$AI(s),o++}}catch(t){a.e(t)}finally{a.f()}o0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,e=arguments.length>1?arguments[1]:void 0;for(null===(n=this._$AP)||void 0===n||n.call(this,!1,!0,e);t&&t!==this._$AB;){var n,r=t.nextSibling;t.remove(),t=r}}},{key:"setConnected",value:function(t){var e;void 0===this._$AM&&(this._$Cv=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}]),t}(),Tt=function(){function t(e,n,r,i,o){P(this,t),this.type=1,this._$AH=xt,this._$AN=void 0,this.element=e,this.name=n,this._$AM=i,this.options=o,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=xt}return j(t,[{key:"tagName",get:function(){return this.element.tagName}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=this.strings,o=!1;if(void 0===i)t=Pt(this,t,e,0),(o=!dt(t)||t!==this._$AH&&t!==kt)&&(this._$AH=t);else{var a,s,u=t;for(t=i[0],a=0;a1&&void 0!==arguments[1]?arguments[1]:this,0))&&void 0!==e?e:xt)!==kt){var n=this._$AH,r=t===xt&&n!==xt||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==xt&&(n===xt||r);r&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}}},{key:"handleEvent",value:function(t){var e,n;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(n=this.options)||void 0===n?void 0:n.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}]),n}(),Lt=function(){function t(e,n,r){P(this,t),this.element=e,this.type=6,this._$AN=void 0,this._$AM=n,this.options=r}return j(t,[{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){Pt(this,t)}}]),t}(),Ut=nt.litHtmlPolyfillSupport;null!=Ut&&Ut(Ot,jt),(null!==(r=nt.litHtmlVersions)&&void 0!==r?r:nt.litHtmlVersions=[]).push("3.1.0");var Dt=function(t){g(n,et);var e=b(n);function n(){var t;return P(this,n),(t=e.apply(this,arguments)).renderOptions={host:_(t)},t._$Do=void 0,t}return j(n,[{key:"createRenderRoot",value:function(){var t,e,r=h(E(n.prototype),"createRenderRoot",this).call(this);return null!==(e=(t=this.renderOptions).renderBefore)&&void 0!==e||(t.renderBefore=r.firstChild),r}},{key:"update",value:function(t){var e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),h(E(n.prototype),"update",this).call(this,t),this._$Do=function(t,e,n){var r,i=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:e,o=i._$litPart$;if(void 0===o){var a,s=null!==(a=null==n?void 0:n.renderBefore)&&void 0!==a?a:null;i._$litPart$=o=new jt(e.insertBefore(lt(),s),s,void 0,null!=n?n:{})}return o._$AI(t),o}(e,this.renderRoot,this.renderOptions)}},{key:"connectedCallback",value:function(){var t;h(E(n.prototype),"connectedCallback",this).call(this),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}},{key:"disconnectedCallback",value:function(){var t;h(E(n.prototype),"disconnectedCallback",this).call(this),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}},{key:"render",value:function(){return kt}}]),n}();Dt._$litElement$=!0,Dt.finalized=!0,null===(i=globalThis.litElementHydrateSupport)||void 0===i||i.call(globalThis,{LitElement:Dt});var Ht=globalThis.litElementPolyfillSupport;null==Ht||Ht({LitElement:Dt}),(null!==(o=globalThis.litElementVersions)&&void 0!==o?o:globalThis.litElementVersions=[]).push("4.0.2");var It={attribute:!0,type:String,converter:Q,reflect:!1,hasChanged:X},zt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:It,e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=n.kind,i=n.metadata,o=globalThis.litPropertyMetadata.get(i);if(void 0===o&&globalThis.litPropertyMetadata.set(i,o=new Map),o.set(n.name,t),"accessor"===r){var a=n.name;return{set:function(n){var r=e.get.call(this);e.set.call(this,n),this.requestUpdate(a,r,t)},init:function(e){return void 0!==e&&this.C(a,void 0,t),e}}}if("setter"===r){var s=n.name;return function(n){var r=this[s];e.call(this,n),this.requestUpdate(s,r,t)}}throw Error("Unsupported decorator location: "+r)};function qt(t){return function(e,n){return"object"==M(n)?zt(t,e,n):function(t,e,n){var r=e.hasOwnProperty(n);return e.constructor.createProperty(n,r?l(l({},t),{},{wrapped:!0}):t),r?Object.getOwnPropertyDescriptor(e,n):void 0}(t,e,n)}}function Bt(){return Vt.apply(this,arguments)}function Vt(){return Vt=m(p().mark((function t(){var e;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.race([customElements.whenDefined("home-assistant"),customElements.whenDefined("hc-main")]);case 2:e=customElements.get("home-assistant")?"home-assistant":"hc-main";case 3:if(document.querySelector(e)){t.next=8;break}return t.next=6,new Promise((function(t){return window.setTimeout(t,100)}));case 6:t.next=3;break;case 8:return t.abrupt("return",document.querySelector(e));case 9:case"end":return t.stop()}}),t)}))),Vt.apply(this,arguments)}function Jt(){return Wt.apply(this,arguments)}function Wt(){return Wt=m(p().mark((function t(){var e;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Bt();case 2:e=t.sent;case 3:if(e.hass){t.next=8;break}return t.next=6,new Promise((function(t){return window.setTimeout(t,100)}));case 6:t.next=3;break;case 8:return t.abrupt("return",e.hass);case 9:case"end":return t.stop()}}),t)}))),Wt.apply(this,arguments)}var Gt="browser_mod-browser-id";window.cardMod_template_cache=window.cardMod_template_cache||{};var Ft=window.cardMod_template_cache;function Yt(t,e){var n=Ft[t];n&&(n.value=e.result,n.callbacks.forEach((function(t){return t(e.result)})))}function Kt(t,e,n){return Zt.apply(this,arguments)}function Zt(){return(Zt=m(p().mark((function t(e,n,r){var i,o,a,s;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Jt();case 2:i=t.sent,o=i.connection,a=JSON.stringify([n,r]),(s=Ft[a])?(s.callbacks.has(e)||Qt(e),e(s.value),s.callbacks.add(e)):(Qt(e),e(""),r=Object.assign({user:i.user.name,browser:document.querySelector("hc-main")?"CAST":localStorage[Gt]?localStorage[Gt]:"",hash:location.hash.substr(1)||""},r),Ft[a]=s={template:n,variables:r,value:"",callbacks:new Set([e]),unsubscribe:o.subscribeMessage((function(t){return Yt(a,t)}),{type:"render_template",template:n,variables:r})});case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Qt(t){return Xt.apply(this,arguments)}function Xt(){return(Xt=m(p().mark((function t(e){var n,r,i,o,a,s;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=0,i=Object.entries(Ft);case 1:if(!(r1&&void 0!==o[1]&&o[1],!(null===(r=e.localName)||void 0===r?void 0:r.includes("-"))){t.next=4;break}return t.next=4,customElements.whenDefined(e.localName);case 4:if(!e.updateComplete){t.next=7;break}return t.next=7,e.updateComplete;case 7:if(!n){t.next=18;break}if(!e.pageRendered){t.next=11;break}return t.next=11,e.pageRendered;case 11:if(!e._panelState){t.next=18;break}i=0;case 13:if(!("loaded"!==e._panelState&&i++<5)){t.next=18;break}return t.next=16,new Promise((function(t){return setTimeout(t,100)}));case 16:t.next=13;break;case 18:case"end":return t.stop()}}),t)}))),se.apply(this,arguments)}function ue(t,e){return ce.apply(this,arguments)}function ce(){return ce=m(p().mark((function t(e,n){var r,i,o,a,s,u,c,l=arguments;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(r=l.length>2&&void 0!==l[2]&&l[2],i=[e],"string"==typeof n&&(n=n.split(/(\$| )/));""===n[n.length-1];)n.pop();o=A(n.entries()),t.prev=5,o.s();case 7:if((a=o.n()).done){t.next=21;break}if(s=v(a.value,2),s[0],"$"!==(u=s[1])){t.next=12;break}return i=f(i).map((function(t){return t.shadowRoot})),t.abrupt("continue",19);case 12:if(c=i[0]){t.next=15;break}return t.abrupt("return",null);case 15:if(u.trim().length){t.next=17;break}return t.abrupt("continue",19);case 17:ae(c),i=c.querySelectorAll(u);case 19:t.next=7;break;case 21:t.next=26;break;case 23:t.prev=23,t.t0=t.catch(5),o.e(t.t0);case 26:return t.prev=26,o.f(),t.finish(26);case 29:return t.abrupt("return",r?i:i[0]);case 30:case"end":return t.stop()}}),t,null,[[5,23,26,29]])}))),ce.apply(this,arguments)}function le(t,e){return de.apply(this,arguments)}function de(){return de=m(p().mark((function t(e,n){var r,i,o=arguments;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=o.length>2&&void 0!==o[2]&&o[2],i=o.length>3&&void 0!==o[3]?o[3]:1e4,t.abrupt("return",Promise.race([ue(e,n,r),new Promise((function(t,e){return setTimeout((function(){return e(new Error(oe))}),i)}))]).catch((function(t){if(!t.message||t.message!==oe)throw t;return null})));case 3:case"end":return t.stop()}}),t)}))),de.apply(this,arguments)}var he=function(t){g(n,Dt);var e=b(n);function n(){var t;return P(this,n),(t=e.apply(this,arguments))._cardMod=[],t}return j(n,[{key:"setConfig",value:function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i1?n-1:0),i=1;i3&&void 0!==l[3]?l[3]:{},o=!(l.length>4&&void 0!==l[4])||l[4],c=!1,void 0!==(a=l.length>5&&void 0!==l[5]?l[5]:void 0)&&"string"!=typeof a&&(c=!0,o=a,a=void 0),"boolean"!=typeof o&&(o=!0,c=!0),"string"==typeof(r=l.length>2&&void 0!==l[2]?l[2]:void 0)&&(r={style:r},c=!0),r&&0!==Object.keys(r).length&&void 0===(null!==(u=null!==(s=null==r?void 0:r.style)&&void 0!==s?s:null==r?void 0:r.class)&&void 0!==u?u:null==r?void 0:r.debug)&&(r={style:r},c=!0),c&&!window.cm_compatibility_warning&&(window.cm_compatibility_warning=!0,console.groupCollapsed("Card-mod warning"),console.info("You are using a custom card which relies on card-mod, and uses an outdated signature for applyToElement."),console.info("The outdated signature will be removed at some point in the future. Hopefully the developer of your card will have updated their card by then."),console.info("The card used card-mod to apply styles here:",e),console.groupEnd()),t.abrupt("return",pe(e,n,r,i,o,a));case 11:case"end":return t.stop()}}),t)}))),ve.apply(this,arguments)}function pe(t,e){return ye.apply(this,arguments)}function ye(){return ye=m(p().mark((function t(e,n){var r,i,o,a,s,u,c,l,d,h,v,y,g,b,_,w=arguments;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=w.length>3&&void 0!==w[3]?w[3]:{},a=!(w.length>4&&void 0!==w[4])||w[4],s=w.length>5&&void 0!==w[5]?w[5]:void 0,g=(null==(i=w.length>2&&void 0!==w[2]?w[2]:void 0)?void 0:i.debug)?function(){for(var t,e=arguments.length,n=new Array(e),r=0;r2&&void 0!==s[2]?s[2]:0,i=this.parentElement||this.parentNode,t.next=4,le(i,e,!0);case 4:if((o=t.sent)&&o.length){t.next=11;break}if(!(r>5)){t.next=8;break}throw new Error("NoElements");case 8:return t.next=10,new Promise((function(t){return setTimeout(t,100*r)}));case 10:return t.abrupt("return",this._style_child(e,n,r+1));case 11:return t.abrupt("return",f(o).map(function(){var t=m(p().mark((function t(e){var r;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,pe(e,"".concat(a.type,"-child"),{style:n,debug:a.debug},a.variables,!1);case 2:return(r=t.sent)&&(r.card_mod_parent=a),t.abrupt("return",r);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 12:case"end":return t.stop()}}),t,this)}))),function(t,e){return r.apply(this,arguments)})},{key:"_connect",value:(n=m(p().mark((function t(){var e,n,r,i,o,a,s,u,c,l,d,h,f,y=this;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:o=null!==(e=this._fixed_styles)&&void 0!==e?e:{},a={},s="",u=!1,this.parentElement||this.parentNode,this._debug("(Re)connecting",this),c=p().mark((function t(){var e,n,r;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=v(d[l],2),n=e[0],r=e[1],"."===n?"string"==typeof r?s=r:y._debug("Style of '.' must be a string: ",r):(u=!0,a[n]=y._style_child(n,r).catch((function(t){if("NoElements"!=t.message)throw t;y.debug&&(console.groupCollapsed("card-mod found no elements"),console.info("Looked for ".concat(n)),console.info(y),console.groupEnd())})));case 2:case"end":return t.stop()}}),t)})),l=0,d=Object.entries(o);case 8:if(!(l\n ","\n \n "])),this._rendered_styles)}}],[{key:"applyToElement",get:function(){return fe}}]),s}();N([qt({attribute:"card-mod-type",reflect:!0})],be.prototype,"type",void 0),N([qt()],be.prototype,"_rendered_styles",void 0),customElements.get("card-mod")||(customElements.define("card-mod",be),console.info("%cCARD-MOD ".concat(te," IS INSTALLED"),"color: green; font-weight: bold")),m(p().mark((function t(){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0!==customElements.get("home-assistant")){t.next=5;break}return t.next=3,new Promise((function(t){return window.setTimeout(t,100)}));case 3:t.next=0;break;case 5:customElements.get("card-mod")||customElements.define("card-mod",be);case 6:case"end":return t.stop()}}),t)})))();var _e=function(t,e,n){if("constructor"!==e){var r=t[e];if(!(null==r?void 0:r.cm_patched)){var i=function(){for(var t=arguments.length,e=new Array(t),i=0;i1?e-1:0),r=1;r1?e-1:0),r=1;r2?i-2:0),a=2;a1?i-1:0),a=1;a1?r-1:0),o=1;o1?e-1:0),r=1;r1?e-1:0),r=1;r1?r-1:0),o=1;o1&&void 0!==s[1]?s[1]:0,r=new Set,10!=n){t.next=4;break}return t.abrupt("return",r);case 4:if(e){t.next=6;break}return t.abrupt("return",r);case 6:if(!e.updateComplete){t.next=9;break}return t.next=9,e.updateComplete;case 9:if(e._cardMod){i=A(e._cardMod);try{for(i.s();!(o=i.n()).done;)(a=o.value).styles&&r.add(a)}catch(t){i.e(t)}finally{i.f()}}if(!e.parentElement){t.next=19;break}return t.t0=Ne,t.t1=r,t.next=15,Re(e.parentElement,n+1);case 15:t.t2=t.sent,(0,t.t0)(t.t1,t.t2),t.next=26;break;case 19:if(!e.parentNode){t.next=26;break}return t.t3=Ne,t.t4=r,t.next=24,Re(e.parentNode,n+1);case 24:t.t5=t.sent,(0,t.t3)(t.t4,t.t5);case 26:if(!e.host){t.next=33;break}return t.t6=Ne,t.t7=r,t.next=31,Re(e.host,n+1);case 31:t.t8=t.sent,(0,t.t6)(t.t7,t.t8);case 33:return t.abrupt("return",r);case 34:case"end":return t.stop()}}),t)}))),Le.apply(this,arguments)}Me=N([xe("ha-svg-icon")],Me);var Ue=function(t){g(n,he);var e=b(n);function n(){return P(this,n),e.apply(this,arguments)}return j(n,[{key:"updated",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r1?e-1:0),r=1;r2?r-2:0),o=2;o1?e-1:0),r=1;r2?f-2:0),y=2;y1?n-1:0),i=1;i2?i-2:0),a=2;a1?a-1:0),u=1;u "," "])),this.card)}},{key:"getCardSize",value:function(){if(this._config.report_size)return this._config.report_size;var t=this.shadowRoot;return t&&(t=t.querySelector("ha-card card-maker")),t&&(t=t.getCardSize),t&&(t=t()),t||1}}]),r}();function We(){document.dispatchEvent(new Event("cm_update"))}N([qt()],Je.prototype,"card",void 0),customElements.get("mod-card")||customElements.define("mod-card",Je),m(p().mark((function t(){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0!==customElements.get("home-assistant")){t.next=5;break}return t.next=3,new Promise((function(t){return window.setTimeout(t,100)}));case 3:t.next=0;break;case 5:customElements.get("mod-card")||customElements.define("mod-card",Je);case 6:case"end":return t.stop()}}),t)})))();var Ge,Fe,Ye,Ke=[customElements.whenDefined("home-assistant"),customElements.whenDefined("hc-main")];Promise.race(Ke).then((function(){window.setTimeout(m(p().mark((function t(){var e,n,r;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Jt();case 2:r=t.sent;case 3:if(r){t.next=8;break}return t.next=6,new Promise((function(t){return window.setTimeout(t,500)}));case 6:t.next=3;break;case 8:r.connection.subscribeEvents((function(){window.setTimeout(We,500)}),"themes_updated"),null===(e=document.querySelector("home-assistant"))||void 0===e||e.addEventListener("settheme",We),null===(n=document.querySelector("hc-main"))||void 0===n||n.addEventListener("settheme",We);case 11:case"end":return t.stop()}}),t)}))),1e3)}));var Ze,Qe=[],Xe=A(document.querySelectorAll("script"));try{for(Xe.s();!(Ze=Xe.n()).done;){var tn=Ze.value;if(null===(Fe=null===(Ge=null==tn?void 0:tn.innerText)||void 0===Ge?void 0:Ge.trim())||void 0===Fe?void 0:Fe.startsWith("import(")){var en,nn=null===(Ye=tn.innerText.split("\n"))||void 0===Ye?void 0:Ye.map((function(t){return t.trim()})),rn=A(nn);try{for(rn.s();!(en=rn.n()).done;){var on=en.value;Qe.push(on.replace(/^import\(\"/,"").replace(/\"\);/,""))}}catch(t){rn.e(t)}finally{rn.f()}}}}catch(t){Xe.e(t)}finally{Xe.f()}Qe.some((function(t){return t.includes("/card-mod.js")}))||console.info("You may not be getting optimal performance out of card-mod.\nSee https://github.com/thomasloven/lovelace-card-mod#performance-improvements"); diff --git a/config/www/community/lovelace-card-mod/card-mod.js.gz b/config/www/community/lovelace-card-mod/card-mod.js.gz deleted file mode 100644 index 76a4c00712d4ee6a16632a64b4acaae9dc0ce7bb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 19195 zcmV(zK<2+6iwFoJ>3e4a|6^ftWG!uPWG-rR0PTJ2f7>>)==b|q$UHtSxrPn%eh`p1XTQ-g>z)^s z{!V>)HKFH8Mt>~wIW1U1OX%aKh_Aw%%Q#)o(0zvn%ViKO^%uwDi(rf4> z=qKmu6Bm@dxys}xu1~IKXL(wRw~A<08|;Se?D$1gbkCEN(ZcuDw|z6y#x9=Ga$F>H zmKS`CU79Usw204A3Nr{u)}1fPX*ZtF(`z4~87yUInVDS*-@iGB4sfJ2>hknN57Y z%J5nM!wuKWupG26=DJs57(r-_sbxS-AGqd&TnGIOppTPK0A>cja+Yc#0bSq0w}J#3 z4cb2_F%$aLOB!zNlX0G%Cl?ESeN`k({$2(l15id8u|7WaH3Cf|Z;^>FO}wp$UC(KL z-g!&UQy9X|j{JdB99X}*XGu2kgHVG>PDbFheOF*ne@o73UgRvtk94PTX#uS}j?ahZ78y9ljUxLu^A2ucj7LQgUw4y||HYZ8Jqy2KCc*7(<%On|5ad7sg$>1Z zHvxhW!~90Kx9W-aU;m}hEA#I2@0xpW!0RM)oVBZAw z3cL{~#X_iEpm5<$^;vO^qs=29zAup;=uSpIF|r>;5#^K76bZILCTG%z zPI^n4mb4>wl)s38JLIAhBwmv|!|mgjoWA>oK;nQX?B2rev77y%zZ}O5=p4XqjAKh8 zpbkj}Jzd|(A#N=c(q&yS0_Zx{7rx@DevG4x6~J{j(8V|qsFf@g0W6nd3v(>we?J2c zC$wb6VhkP9|2|}#!+__JHF_m_Ec=&2P>F7qL`w#m?vVmO=+Zu-shCUgU93g&Dk!-m zP9%>!)xe8foE?Ziz;{UuD59owdut;t;AY;9%j<0X!hY`D@c?)8F3V3?kz^O|;tSry zy7v06L}XZ6=YH83!O1TXImbRs%Y*f>aJUL7wfi~1mX2H_L`bnq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7!>Qp#e`k;i|h)C)IhETWTaA^BTpR|>s???)Zs z@U7gEKT(XBQUPc@)(ER#VLgRxg3(aGo%zlD)1JU3=VmdXg>{1!aaJax4y?Sn^vGZT zL?*d1$Vb$nx9RW-S(wR?j4Y~SxJ!jw&|Fphci!PQ`xY)|(N8q2A5g>Z?`B~(^t#?? zApY=M{8y-Nkj5dY;^f&`rH@>9^IMsm% zI$2!5r*4QNIL*K|EGNFYwAWghW~JhS{V2X34szte_q854z|day=$!A|j@^xV`NeL0MDLpV8r}<-GQS3A&Ugth&zh z|ErVfFNyYw?0%g+(w;f4n?UFPn}Xk#f`3;)-aQ5XdrH2en=hVfo z(Y`3l!l4|lPGaX9wp;_qpQ-!=@xA;;3En zGc}*c+CQNXrB<6}P2YDq^`wWqOA6M%Qt~&7`R0G8(UIRgE}kAE${yG$F@LAhjQA^! z;CI!K$g=2HYHCBP$$v++K=Qr%$+VQgGLc2{4sp|h!S`BF`JSp+ZR_!O`tf%t^2Y@$ ze+EYHd&vx$j_*kmE6qq|1fpL+BC@_G526H3%!U6iy7OP?iUS|Ts4&L0$k2|PSy4ur zgcQvp_+5omo<&rJ8vTum!yWR>2tEH0v-seD@E%~Qjd}9H`w;Z`JtsCPs{|)y%3`XU zz{window.addEventListener("connection-status",t=>{console.log(t),e()},{once:!0})}),t.hass=o()),t.panel={config:{mode:null}},t._fetchConfig(),!0}r.d(t,"a",(function(){return o})),r.d(t,"e",(function(){return n})),r.d(t,"c",(function(){return s})),r.d(t,"d",(function(){return a})),r.d(t,"b",(function(){return i}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));let o=function(){if(window.fully&&"function"==typeof fully.getDeviceId)return fully.getDeviceId();if(!localStorage["lovelace-player-device-id"]){const e=()=>Math.floor(1e5*(1+Math.random())).toString(16).substring(1);localStorage["lovelace-player-device-id"]=`${e()}${e()}-${e()}${e()}`}return localStorage["lovelace-player-device-id"]}()},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return hasOldTemplate})),__webpack_require__.d(__webpack_exports__,"b",(function(){return parseOldTemplate}));var _hass_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),_deviceID_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1);function hasOldTemplate(e){return/\[\[\s+.*\s+\]\]/.test(e)}function parseTemplateString(str,specialData={}){if("string"!=typeof str)return text;const FUNCTION=/^[a-zA-Z0-9_]+\(.*\)$/,EXPR=/([^=<>!]+)\s*(==|!=|<|>|<=|>=)\s*([^=<>!]+)/,SPECIAL=/^\{.+\}$/,STRING=/^"[^"]*"|'[^']*'$/;"string"==typeof specialData&&(specialData={}),specialData=Object.assign({user:Object(_hass_js__WEBPACK_IMPORTED_MODULE_0__.a)().user.name,browser:_deviceID_js__WEBPACK_IMPORTED_MODULE_1__.a,hash:location.hash.substr(1)||" "},specialData);const _parse_function=e=>{let t=[e.substr(0,e.indexOf("(")).trim()];for(e=e.substr(e.indexOf("(")+1);e;){let r=0,o=0,n=!1;for(;e[r];){let t=e[r++];if(t===n&&r>1&&"\\"!==e[r-2]?n=!1:"\"'".includes(t)&&(n=t),!n){if("("===t)o+=1;else if(")"===t){o-=1;continue}if(!(o>0)&&",)".includes(t))break}}t.push(e.substr(0,r-1).trim()),e=e.substr(r)}return t},_parse_special=e=>(e=e.substr(1,e.length-2),specialData[e]||`{${e}}`),_parse_entity=e=>{let t;if((e=e.split("."))[0].match(SPECIAL))t=_parse_special(e.shift()),t=Object(_hass_js__WEBPACK_IMPORTED_MODULE_0__.a)().states[t]||t;else if(t=Object(_hass_js__WEBPACK_IMPORTED_MODULE_0__.a)().states[`${e.shift()}.${e.shift()}`],!e.length)return t.state;return e.forEach(e=>t=t[e]),t},_eval_expr=str=>{if(str=EXPR.exec(str),null===str)return!1;const lhs=parseTemplateString(str[1]),rhs=parseTemplateString(str[3]);var expr="";return expr=parseFloat(lhs)!=lhs?`"${lhs}" ${str[2]} "${rhs}"`:`${parseFloat(lhs)} ${str[2]} ${parseFloat(rhs)}`,eval(expr)},_eval_function=e=>{if("if"===e[0])return _eval_expr(e[1])?parseTemplateString(e[2]):parseTemplateString(e[3])};try{return str=str.trim(),str.match(STRING)?str.substr(1,str.length-2):str.match(SPECIAL)?_parse_special(str):str.match(FUNCTION)?_eval_function(_parse_function(str)):str.includes(".")?_parse_entity(str):str}catch(e){return`[[ Template matching failed: ${str} ]]`}}function parseOldTemplate(e,t={}){if("string"!=typeof e)return e;return e=e.replace(/\[\[\s(.*?)\s\]\]/g,(e,r,o,n)=>parseTemplateString(r,t))}},function(e){e.exports=JSON.parse('{"name":"card-tools","private":true,"version":"2.1.2","description":"Lovelace Card Tools","scripts":{"build":"webpack","watch":"webpack --watch --mode=development"},"repository":{"type":"git","url":"github.com:thomasloven/card-tools"},"author":"Thomas Lovén","license":"MIT","devDependencies":{"webpack":"^4.44.1","webpack-cli":"^3.3.12"}}')},function(e,t,r){"use strict";r.r(t);const o=customElements.get("home-assistant-main")?Object.getPrototypeOf(customElements.get("home-assistant-main")):Object.getPrototypeOf(customElements.get("hui-view")),n=o.prototype.html,s=o.prototype.css;var a=r(0);function i(e,t,r=null){if((e=new Event(e,{bubbles:!0,cancelable:!1,composed:!0})).detail=t||{},r)r.dispatchEvent(e);else{var o=Object(a.d)();o&&o.dispatchEvent(e)}}let c=window.cardHelpers;const l=new Promise(async(e,t)=>{c&&e();const r=async()=>{c=await window.loadCardHelpers(),window.cardHelpers=c,e()};window.loadCardHelpers?r():window.addEventListener("load",async()=>{Object(a.b)(),window.loadCardHelpers&&r()})});function u(e,t){const r={type:"error",error:e,origConfig:t},o=document.createElement("hui-error-card");return customElements.whenDefined("hui-error-card").then(()=>{const e=document.createElement("hui-error-card");e.setConfig(r),o.parentElement&&o.parentElement.replaceChild(e,o)}),l.then(()=>{i("ll-rebuild",{},o)}),o}function d(e,t){if(!t||"object"!=typeof t||!t.type)return u(`No ${e} type configured`,t);let r=t.type;if(r=r.startsWith("custom:")?r.substr("custom:".length):`hui-${r}-${e}`,customElements.get(r))return function(e,t){let r=document.createElement(e);try{r.setConfig(JSON.parse(JSON.stringify(t)))}catch(e){r=u(e,t)}return l.then(()=>{i("ll-rebuild",{},r)}),r}(r,t);const o=u(`Custom element doesn't exist: ${r}.`,t);o.style.display="None";const n=setTimeout(()=>{o.style.display=""},2e3);return customElements.whenDefined(r).then(()=>{clearTimeout(n),i("ll-rebuild",{},o)}),o}function p(e){return c?c.createCardElement(e):d("card",e)}function m(e){return c?c.createHuiElement(e):d("element",e)}function h(e){if(c)return c.createRowElement(e);const t=new Set(["call-service","cast","conditional","divider","section","select","weblink"]),r={alert:"toggle",automation:"toggle",climate:"climate",cover:"cover",fan:"toggle",group:"group",input_boolean:"toggle",input_number:"input-number",input_select:"input-select",input_text:"input-text",light:"toggle",lock:"lock",media_player:"media-player",remote:"toggle",scene:"scene",script:"script",sensor:"sensor",timer:"timer",switch:"toggle",vacuum:"toggle",water_heater:"climate",input_datetime:"input-datetime",none:void 0};if(!e)return u("Invalid configuration given.",e);if("string"==typeof e&&(e={entity:e}),"object"!=typeof e||!e.entity&&!e.type)return u("Invalid configuration given.",e);const o=e.type||"default";if(t.has(o)||o.startsWith("custom:"))return d("row",e);return d("entity-row",{type:r[e.entity?e.entity.split(".",1)[0]:"none"]||"text",...e})}class f extends o{static get version(){return 2}static get properties(){return{noHass:{type:Boolean}}}setConfig(e){this._config=e,this.el?this.el.setConfig(e):(this.el=this.create(e),this._hass&&(this.el.hass=this._hass),this.noHass&&Object(a.e)(this))}set config(e){this.setConfig(e)}set hass(e){this._hass=e,this.el&&(this.el.hass=e)}createRenderRoot(){return this}render(){return n`${this.el}`}}const g=function(e,t){const r=Object.getOwnPropertyDescriptors(t.prototype);for(const[t,o]of Object.entries(r))"constructor"!==t&&Object.defineProperty(e.prototype,t,o);const o=Object.getOwnPropertyDescriptors(t);for(const[t,r]of Object.entries(o))"prototype"!==t&&Object.defineProperty(e,t,r);const n=Object.getPrototypeOf(t),s=Object.getOwnPropertyDescriptors(n.prototype);for(const[t,r]of Object.entries(s))"constructor"!==t&&Object.defineProperty(Object.getPrototypeOf(e).prototype,t,r);const a=Object.getOwnPropertyDescriptors(n);for(const[t,r]of Object.entries(a))"prototype"!==t&&Object.defineProperty(Object.getPrototypeOf(e),t,r)},_=customElements.get("card-maker");if(!_||!_.version||_.version<2){class e extends f{create(e){return p(e)}getCardSize(){return this.firstElementChild&&this.firstElementChild.getCardSize?this.firstElementChild.getCardSize():1}}_?g(_,e):customElements.define("card-maker",e)}const w=customElements.get("element-maker");if(!w||!w.version||w.version<2){class e extends f{create(e){return m(e)}}w?g(w,e):customElements.define("element-maker",e)}const y=customElements.get("entity-row-maker");if(!y||!y.version||y.version<2){class e extends f{create(e){return h(e)}}y?g(y,e):customElements.define("entity-row-maker",e)}var v=r(1);function b(e,t={}){return customElements.whenDefined("long-press").then(()=>{document.body.querySelector("long-press").bind(e)}),customElements.whenDefined("action-handler").then(()=>{document.body.querySelector("action-handler").bind(e,t)}),e}async function E(e,t,r=!1){let o=e;"string"==typeof t&&(t=t.split(/(\$| )/));for(const[e,n]of t.entries())if(n.trim().length){if(!o)return null;o.localName&&o.localName.includes("-")&&await customElements.whenDefined(o.localName),o.updateComplete&&await o.updateComplete,o="$"===n?r&&e==t.length-1?[o.shadowRoot]:o.shadowRoot:r&&e==t.length-1?o.querySelectorAll(n):o.querySelector(n)}return o}async function O(e,t,r=!1,o=1e4){return Promise.race([E(e,t,r),new Promise((e,t)=>setTimeout(()=>t(new Error("timeout")),o))]).catch(e=>{if(!e.message||"timeout"!==e.message)throw e;return null})}async function S(e,t=!1){const r=document.querySelector("hc-main")||document.querySelector("home-assistant");i("hass-more-info",{entityId:e},r);const o=await O(r,"$ ha-more-info-dialog");return o.large=t,o}async function C(){const e=document.querySelector("home-assistant")||document.querySelector("hc-root");i("hass-more-info",{entityId:"."},e);const t=await O(e,"$ card-tools-popup");t&&t.closeDialog()}async function x(e,t,r=!1,o={},n=!1){if(!customElements.get("card-tools-popup")){const e=customElements.get("home-assistant-main")?Object.getPrototypeOf(customElements.get("home-assistant-main")):Object.getPrototypeOf(customElements.get("hui-view")),t=e.prototype.html,r=e.prototype.css;class o extends e{static get properties(){return{open:{},large:{reflect:!0,type:Boolean},hass:{}}}updated(e){e.has("hass")&&this.card&&(this.card.hass=this.hass)}closeDialog(){this.open=!1}async _makeCard(){const e=await window.loadCardHelpers();this.card=await e.createCardElement(this._card),this.card.hass=this.hass,this.requestUpdate()}async _applyStyles(){let e=await O(this,"$ ha-dialog");customElements.whenDefined("card-mod").then(async()=>{if(!e)return;customElements.get("card-mod").applyToElement(e,"more-info",this._style,{config:this._card},[],!1)})}async showDialog(e,t,r=!1,o={},n=!1){this.title=e,this._card=t,this.large=r,this._style=o,this.fullscreen=!!n,this._makeCard(),await this.updateComplete,this.open=!0,await this._applyStyles()}_enlarge(){this.large=!this.large}render(){return this.open?t` - - ${this.fullscreen?t`
`:t` - - - - -
- ${this.title} -
-
- `} -
- ${this.card} -
-
- `:t``}static get styles(){return r` - ha-dialog { - --mdc-dialog-min-width: 400px; - --mdc-dialog-max-width: 600px; - --mdc-dialog-heading-ink-color: var(--primary-text-color); - --mdc-dialog-content-ink-color: var(--primary-text-color); - --justify-action-buttons: space-between; - } - @media all and (max-width: 450px), all and (max-height: 500px) { - ha-dialog { - --mdc-dialog-min-width: 100vw; - --mdc-dialog-max-width: 100vw; - --mdc-dialog-min-height: 100%; - --mdc-dialog-max-height: 100%; - --mdc-shape-medium: 0px; - --vertial-align-dialog: flex-end; - } - } - - app-toolbar { - flex-shrink: 0; - color: var(--primary-text-color); - background-color: var(--secondary-background-color); - } - - .main-title { - margin-left: 16px; - line-height: 1.3em; - max-height: 2.6em; - overflow: hidden; - display: -webkit-box; - -webkit-line-clamp: 2; - -webkit-box-orient: vertical; - text-overflow: ellipsis; - } - .content { - margin: -20px -24px; - } - - @media all and (max-width: 450px), all and (max-height: 500px) { - app-toolbar { - background-color: var(--app-header-background-color); - color: var(--app-header-text-color, white); - } - } - - @media all and (min-width: 451px) and (min-height: 501px) { - ha-dialog { - --mdc-dialog-max-width: 90vw; - } - - .content { - width: 400px; - } - :host([large]) .content { - width: calc(90vw - 48px); - } - - :host([large]) app-toolbar { - max-width: calc(90vw - 32px); - } - } - `}}customElements.define("card-tools-popup",o)}const s=document.querySelector("home-assistant")||document.querySelector("hc-root");if(!s)return;let i=await O(s,"$ card-tools-popup");if(i||(i=document.createElement("card-tools-popup"),s.shadowRoot.appendChild(i),Object(a.e)(i)),!window._moreInfoDialogListener){const e=async e=>{if(e.state&&"cardToolsPopup"in e.state)if(e.state.cardToolsPopup){const{title:t,card:r,large:o,style:n,fullscreen:s}=e.state.params;x(t,r,o,n,s)}else i.closeDialog()};window.addEventListener("popstate",e),window._moreInfoDialogListener=!0}history.replaceState({cardToolsPopup:!1},""),history.pushState({cardToolsPopup:!0,params:{title:e,card:t,large:r,style:o,fullscreen:n}},""),i.showDialog(e,t,r,o,n)}function D(e,t,r){e||(e=Object(a.a)().connection);let o={user:Object(a.a)().user.name,browser:v.a,hash:location.hash.substr(1)||" ",...r.variables},n=r.template,s=r.entity_ids;return e.subscribeMessage(e=>{let r=e.result;r=r.replace(/_\([^)]*\)/g,e=>Object(a.a)().localize(e.substring(2,e.length-1))||e),t(r)},{type:"render_template",template:n,variables:o,entity_ids:s})}var j=r(2);const T=Object(a.a)().callWS({type:"config/area_registry/list"}),P=Object(a.a)().callWS({type:"config/device_registry/list"}),k=Object(a.a)().callWS({type:"config/entity_registry/list"});async function q(){return window.cardToolsData=window.cardToolsData||{areas:await T,devices:await P,entities:await k},window.cardToolsData}function $(e){const t=window.cardToolsData;for(const r of t.areas)if(r.name.toLowerCase()===e.toLowerCase())return r;return null}function R(e){const t=window.cardToolsData;let r=[];if(!e)return r;for(const o of t.devices)o.area_id===e.area_id&&r.push(o);return r}function I(e){const t=window.cardToolsData;for(const r of t.devices)if(r.name.toLowerCase()===e.toLowerCase())return r;return null}function L(e){const t=window.cardToolsData;let r=[];if(!e)return r;for(const o of t.entities)o.device_id===e.id&&r.push(o.entity_id);return r}function M(e,t){window._registerCard||(window._customCardButtons=[],window._registerCard=(e,t)=>{window._customCardButtons.push({el:e,name:t})},customElements.whenDefined("hui-card-picker").then(()=>{customElements.get("hui-card-picker").prototype.firstUpdated=function(){this._customCardButtons=document.createElement("div"),this._customCardButtons.classList.add("cards-container"),this._customCardButtons.id="custom",this._customCardButtons.style.borderTop="1px solid var(--primary-color)",window._customCardButtons.forEach,this.shadowRoot.appendChild(this._customCardButtons),window._customCardButtons.forEach(e=>{const t=document.createElement("mwc-button");t.type="custom:"+e.el,t.innerHTML=e.name,t.addEventListener("click",this._cardPicked),this._customCardButtons.appendChild(t)})}})),window._registerCard(e,t)}q();const B=async e=>{await(async()=>{if(customElements.get("developer-tools-event"))return;await customElements.whenDefined("partial-panel-resolver");const e=document.createElement("partial-panel-resolver");e.hass={panels:[{url_path:"tmp",component_name:"developer-tools"}]},e._updateRoutes(),await e.routerOptions.routes.tmp.load(),await customElements.whenDefined("developer-tools-router");const t=document.createElement("developer-tools-router");await t.routerOptions.routes.event.load()})();return document.createElement("developer-tools-event")._computeParsedEventData(e)};class N{static checkVersion(e){}static args(){}static logger(){}static get localize(){return Object(a.a)().localize}static get deviceID(){return v.a}static get fireEvent(){return i}static get hass(){return Object(a.a)()}static get lovelace(){return Object(a.c)()}static get lovelace_view(){return a.d}static get provideHass(){return a.e}static get LitElement(){return o}static get LitHtml(){return n}static get LitCSS(){return s}static get longpress(){return b}static get createCard(){return p}static get createElement(){return m}static get createEntityRow(){return h}static get moreInfo(){return S}static get popUp(){return x}static get closePopUp(){return C}static get hasTemplate(){return e=>{return t=e,!!String(t).includes("{%")||!!String(t).includes("{{")||void 0||Object(j.a)(e);var t}}static parseTemplate(e,t,r={}){return"string"==typeof e?Object(j.b)(e,t):async function(e,t,r={}){for(var o in e||(e=e()),r={},r=Object.assign({user:e.user.name,browser:v.a,hash:location.hash.substr(1)||" "},r)){var n=new RegExp(`\\{${o}\\}`,"g");t=t.replace(n,r[o])}return e.callApi("POST","template",{template:t})}(e,t,r)}static get subscribeRenderTemplate(){return D}static get getData(){return q}static get areaByName(){return $}static get areaDevices(){return R}static get deviceByName(){return I}static get deviceEntities(){return L}static get registerCard(){return M}static get yaml2json(){return B}static get selectTree(){return O}}const A=r(3);customElements.get("card-tools")||(customElements.define("card-tools",N),window.cardTools=customElements.get("card-tools"),console.info(`%cCARD-TOOLS ${A.version} IS INSTALLED\n %cDeviceID: ${customElements.get("card-tools").deviceID}`,"color: green; font-weight: bold",""))}]); \ No newline at end of file diff --git a/config/www/community/lovelace-card-tools/card-tools.js.gz b/config/www/community/lovelace-card-tools/card-tools.js.gz deleted file mode 100755 index 6440f6303dd6daa326419fbd7e6db7eae268b7c5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6619 zcmV<186@T(iwFp#5-eW=|6^ftWG!@WZ)|feYI6Y1JZ*d1Hj>}(SJ1pvAsdQ*N!n+Z z3gb=f?ACWl>?d}&_nfTClmttxDMAGy%UX#)=zhojv75mQ2~w2gbbHU;HfxE%0GJsJ z<_$v~+|Sb?k7?=vp5~!MB`R#+lrg895?Vj$1Km@a3D;S-UHUPvKk5ayCz8avM z_L0UT>nJZ!7hCfO;tp(nj7Q{0SPN$UU!bD4K%Jh#Ik#pJ<8hR}S17O8w zJ$#eD{XVq(9UhRms8h;~jr7Joe_KgNPGLd$Pbi)Wrletl3T1oYfilG029wv=DY+#< zf&!Br|Gq+K_9C}MX!ec!Dxo12p&^ZUGz!ggSgVBQ8Ng8+v6kqn5jBv1m75^C?qinm z4+%j=pH1RqltD?5E~)QJ{R%&i*qVnWh$>A^Vm zHV$@%G|jjv($dVUS#}Hr^n@YH!jOML;B5m1_*q=NVi8`$LxIg!by%!di#)J7wKJ7{D}!zL^K94jLERw5e) z7m8WZ2=>*JiarF-Nwk5dB{5FP!U9`9jWYrV=-p}o?g(A@(P;GH5vKnL@=sC%A^>Ql zL~L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8-cdd&C1X765 z)`75nsxHai3M1BUngG1@5+uruAP%qWUrMCDtThMU#Pb=)s zzW1atZ6@;=c)KI&x5A<{>lN`y;&DF)8_RyY`ScM)TUb%v^eQwa(QG3XeTCaU+Rp3> zm6-R&mq43@THYrAR#brhU^s3<{Z_N}O){z8Zor60xRnHPFG|n;Pu{lw+E?vsB>a;j>In7>0%?LE7`Hh+Skf@L}u)huQI!0a#Y7LAv|Hvu;An>N4*WBr91%$S%^I;JYS zuPdCQv!7;V-&17)jODJX0B5!BE#6)$f1C=Gn!Y6qiFa_IUO3~fQL?i727~o2eJkvf zHO2Z@)SO>YXo!4&lII$U%8PC4*0HQo+AJ+TEoK|ILP-Zz*V~vv{{R>jKL92IIds)T zug4l+=qA56Y{S|N`MW-;D5U>F#vh($&fV?p>cxuYx3~G7XXAx178&U%EcF=v{#{;# zaTs#EpT&-Sb$N}isFktQstBggcT&-5BQi)g zjF`$vmjb_s$n&+^*znrE@N+QW@%?GYI6WJj?oIkAPhy{{ffNV!e-xF z_ANy;V-9OvjAdi=-)Dur1d@ABxQL~_E#Z_<^KSBmAOyD bSSao|tg8=vDq|xKbu8)!p84V{wg3PCr`<`$ diff --git a/config/www/community/lovelace-mushroom/mushroom.js b/config/www/community/lovelace-mushroom/mushroom.js deleted file mode 100644 index fc82f891..00000000 --- a/config/www/community/lovelace-mushroom/mushroom.js +++ /dev/null @@ -1,391 +0,0 @@ -var t,e,n,i,o,r,a,l,s,c,d,u,h,p,f,m,v,g,_,y,b,k,x,w,C,E,A,S,O,T,I,z,$,M,j,P,L,D,N,R,V,U,B,F,H,W,Y,K,X,q,G,Z,J,Q,tt,et,nt,it,ot,rt,at,lt,st,ct,dt,ut,ht,pt,ft,mt,vt,gt,_t,yt,bt,kt,xt,wt,Ct,Et,At,St,Ot,Tt,It,zt,$t,Mt,jt,Pt,Lt,Dt,Nt,Rt,Vt,Ut,Bt,Ft,Ht,Wt,Yt,Kt,Xt,qt,Gt,Zt,Jt,Qt,te,ee,ne,ie,oe,re,ae,le,se,ce,de,ue,he,pe,fe,me,ve,ge,_e,ye,be,ke,xe,we,Ce,Ee,Ae,Se,Oe,Te,Ie,ze,$e,Me,je,Pe,Le,De,Ne,Re,Ve,Ue,Be,Fe,He,We,Ye,Ke,Xe,qe,Ge,Ze,Je,Qe,tn,en,nn,on,rn,an,ln,sn,cn,dn,un,hn,pn,fn,mn,vn,gn,_n,yn,bn,kn,xn,wn,Cn,En,An,Sn,On,Tn,In,zn,$n,Mn,jn,Pn,Ln,Dn,Nn,Rn,Vn,Un,Bn,Fn,Hn,Wn,Yn,Kn,Xn,qn,Gn,Zn,Jn,Qn,ti,ei,ni,ii,oi,ri,ai,li,si,ci,di,ui,hi,pi,fi,mi,vi,gi,_i,yi,bi,ki,xi,wi,Ci,Ei,Ai,Si,Oi,Ti,Ii,zi,$i,Mi,ji,Pi,Li,Di,Ni,Ri,Vi,Ui,Bi,Fi,Hi,Wi,Yi,Ki,Xi,qi,Gi,Zi,Ji,Qi,to,eo,no,io,oo,ro,ao,lo,so,co,uo,ho,po,fo,mo,vo,go,_o,yo,bo,ko,xo,wo,Co,Eo,Ao,So,Oo,To,Io,zo,$o,Mo,jo,Po,Lo,Do,No,Ro,Vo,Uo,Bo,Fo,Ho,Wo,Yo,Ko,Xo,qo,Go,Zo,Jo,Qo,tr,er,nr,ir=["message","explanation"];function or(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function rr(t){return vr(t)||pr(t)||Tr(t)||mr()}var ar=gr().mark(yl);function lr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function sr(t){for(var e=1;e=0;--r){var a=this.tryEntries[r],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var o=i.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:z(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),v}},e}function _r(t,e,n,i,o,r,a){try{var l=t[r](a),s=l.value}catch(t){return void n(t)}l.done?e(s):Promise.resolve(s).then(i,o)}function yr(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var r=t.apply(e,n);function a(t){_r(r,i,o,a,l,"next",t)}function l(t){_r(r,i,o,a,l,"throw",t)}a(void 0)}))}}function br(t,e,n){return e=Sr(e),kr(t,Er()?Reflect.construct(e,n||[],Sr(t).constructor):e.apply(t,n))}function kr(t,e){if(e&&("object"==Pr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return xr(t)}function xr(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wr(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ar(t,e)}function Cr(t){var e="function"==typeof Map?new Map:void 0;return Cr=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return function(t,e,n){if(Er())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,e);var o=new(t.bind.apply(t,i));return n&&Ar(o,n.prototype),o}(t,arguments,Sr(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Ar(n,t)},Cr(t)}function Er(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Er=function(){return!!t})()}function Ar(t,e){return Ar=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ar(t,e)}function Sr(t){return Sr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Sr(t)}function Or(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=Tr(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){l=!0,r=t},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw r}}}}function Tr(t,e){if(t){if("string"==typeof t)return Ir(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ir(t,e):void 0}}function Ir(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n=0;l--)(o=t[l])&&(a=(r<3?o(a):r>3?o(e,n,a):o(e,n))||a);return r>3&&a&&Object.defineProperty(e,n,a),a}function Ur(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],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 - */var Br=globalThis,Fr=Br.ShadowRoot&&(void 0===Br.ShadyCSS||Br.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Hr=Symbol(),Wr=new WeakMap,Yr=function(){return Mr((function t(e,n,i){if(zr(this,t),this._$cssResult$=!0,i!==Hr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=n}),[{key:"styleSheet",get:function(){var t=this.o,e=this.t;if(Fr&&void 0===t){var n=void 0!==e&&1===e.length;n&&(t=Wr.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Wr.set(e,t))}return t}},{key:"toString",value:function(){return this.cssText}}])}(),Kr=function(t){return new Yr("string"==typeof t?t:t+"",void 0,Hr)},Xr=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i0&&(this._$Ep=e)}},{key:"createRenderRoot",value:function(){var t,e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return function(t,e){if(Fr)t.adoptedStyleSheets=e.map((function(t){return t instanceof CSSStyleSheet?t:t.styleSheet}));else{var n,i=Or(e);try{for(i.s();!(n=i.n()).done;){var o=n.value,r=document.createElement("style"),a=Br.litNonce;void 0!==a&&r.setAttribute("nonce",a),r.textContent=o.cssText,t.appendChild(r)}}catch(t){i.e(t)}finally{i.f()}}}(e,this.constructor.elementStyles),e}},{key:"connectedCallback",value:function(){var t,e;null!==(t=this.renderRoot)&&void 0!==t||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$EO)||void 0===e||e.forEach((function(t){var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}},{key:"enableUpdating",value:function(t){}},{key:"disconnectedCallback",value:function(){var t;null===(t=this._$EO)||void 0===t||t.forEach((function(t){var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}},{key:"attributeChangedCallback",value:function(t,e,n){this._$AK(t,n)}},{key:"_$EC",value:function(t,e){var n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(void 0!==i&&!0===n.reflect){var o,r=(void 0!==(null===(o=n.converter)||void 0===o?void 0:o.toAttribute)?n.converter:la).toAttribute(e,n.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}},{key:"_$AK",value:function(t,e){var n=this.constructor,i=n._$Eh.get(t);if(void 0!==i&&this._$Em!==i){var o,r=n.getPropertyOptions(i),a="function"==typeof r.converter?{fromAttribute:r.converter}:void 0!==(null===(o=r.converter)||void 0===o?void 0:o.fromAttribute)?r.converter:la;this._$Em=i,this[i]=a.fromAttribute(e,r.type),this._$Em=null}}},{key:"requestUpdate",value:function(t,e,n){if(void 0!==t){var i,o;if(null!==(i=n)&&void 0!==i||(n=this.constructor.getPropertyOptions(t)),!(null!==(o=n.hasChanged)&&void 0!==o?o:sa)(this[t],e))return;this.P(t,e,n)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}},{key:"P",value:function(t,e,n){var i;this._$AL.has(t)||this._$AL.set(t,e),!0===n.reflect&&this._$Em!==t&&(null!==(i=this._$Ej)&&void 0!==i?i:this._$Ej=new Set).add(t)}},{key:"_$ET",value:(n=yr(gr().mark((function t(){var e;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.isUpdatePending=!0,t.prev=1,t.next=4,this._$ES;case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(1),Promise.reject(t.t0);case 9:if(e=this.scheduleUpdate(),t.t1=null!=e,!t.t1){t.next=14;break}return t.next=14,e;case 14:return t.abrupt("return",!this.isUpdatePending);case 15:case"end":return t.stop()}}),t,this,[[1,6]])}))),function(){return n.apply(this,arguments)})},{key:"scheduleUpdate",value:function(){return this.performUpdate()}},{key:"performUpdate",value:function(){if(this.isUpdatePending){if(!this.hasUpdated){var t;if(null!==(t=this.renderRoot)&&void 0!==t||(this.renderRoot=this.createRenderRoot()),this._$Ep){var e,n=Or(this._$Ep);try{for(n.s();!(e=n.n()).done;){var i=fr(e.value,2),o=i[0],r=i[1];this[o]=r}}catch(t){n.e(t)}finally{n.f()}this._$Ep=void 0}var a=this.constructor.elementProperties;if(a.size>0){var l,s=Or(a);try{for(s.s();!(l=s.n()).done;){var c=fr(l.value,2),d=c[0],u=c[1];!0!==u.wrapped||this._$AL.has(d)||void 0===this[d]||this.P(d,this[d],u)}}catch(t){s.e(t)}finally{s.f()}}}var h=!1,p=this._$AL;try{var f;(h=this.shouldUpdate(p))?(this.willUpdate(p),null!==(f=this._$EO)&&void 0!==f&&f.forEach((function(t){var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(p)):this._$EU()}catch(p){throw h=!1,this._$EU(),p}h&&this._$AE(p)}}},{key:"willUpdate",value:function(t){}},{key:"_$AE",value:function(t){var e;null!==(e=this._$EO)&&void 0!==e&&e.forEach((function(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)}},{key:"_$EU",value:function(){this._$AL=new Map,this.isUpdatePending=!1}},{key:"updateComplete",get:function(){return this.getUpdateComplete()}},{key:"getUpdateComplete",value:function(){return this._$ES}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var e=this;this._$Ej&&(this._$Ej=this._$Ej.forEach((function(t){return e._$EC(t,e[t])}))),this._$EU()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}}],[{key:"addInitializer",value:function(t){var e;this._$Ei(),(null!==(e=this.l)&&void 0!==e?e:this.l=[]).push(t)}},{key:"observedAttributes",get:function(){return this.finalize(),this._$Eh&&hr(this._$Eh.keys())}},{key:"createProperty",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ca;if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){var n=Symbol(),i=this.getPropertyDescriptor(t,n,e);void 0!==i&&Zr(this.prototype,t,i)}}},{key:"getPropertyDescriptor",value:function(t,e,n){var i,o=null!==(i=Jr(this.prototype,t))&&void 0!==i?i:{get:function(){return this[e]},set:function(t){this[e]=t}},r=o.get,a=o.set;return{get:function(){return null==r?void 0:r.call(this)},set:function(e){var i=null==r?void 0:r.call(this);a.call(this,e),this.requestUpdate(t,i,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){var e;return null!==(e=this.elementProperties.get(t))&&void 0!==e?e:ca}},{key:"_$Ei",value:function(){if(!this.hasOwnProperty(aa("elementProperties"))){var t=ea(this);t.finalize(),void 0!==t.l&&(this.l=hr(t.l)),this.elementProperties=new Map(t.elementProperties)}}},{key:"finalize",value:function(){if(!this.hasOwnProperty(aa("finalized"))){if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(aa("properties"))){var t,e=this.properties,n=Or([].concat(hr(Qr(e)),hr(ta(e))));try{for(n.s();!(t=n.n()).done;){var i=t.value;this.createProperty(i,e[i])}}catch(t){n.e(t)}finally{n.f()}}var o=this[Symbol.metadata];if(null!==o){var r=litPropertyMetadata.get(o);if(void 0!==r){var a,l=Or(r);try{for(l.s();!(a=l.n()).done;){var s=fr(a.value,2),c=s[0],d=s[1];this.elementProperties.set(c,d)}}catch(t){l.e(t)}finally{l.f()}}}this._$Eh=new Map;var u,h=Or(this.elementProperties);try{for(h.s();!(u=h.n()).done;){var p=fr(u.value,2),f=p[0],m=p[1],v=this._$Eu(f,m);void 0!==v&&this._$Eh.set(v,f)}}catch(t){h.e(t)}finally{h.f()}this.elementStyles=this.finalizeStyles(this.styles)}}},{key:"finalizeStyles",value:function(t){var e=[];if(Array.isArray(t)){var n,i=Or(new Set(t.flat(1/0).reverse()));try{for(i.s();!(n=i.n()).done;){var o=n.value;e.unshift(qr(o))}}catch(t){i.e(t)}finally{i.f()}}else void 0!==t&&e.push(qr(t));return e}},{key:"_$Eu",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}}]);var n}();da.elementStyles=[],da.shadowRootOptions={mode:"open"},da[aa("elementProperties")]=new Map,da[aa("finalized")]=new Map,null!=ra&&ra({ReactiveElement:da}),(null!==(n=na.reactiveElementVersions)&&void 0!==n?n:na.reactiveElementVersions=[]).push("2.0.4"); -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -var ua=globalThis,ha=ua.trustedTypes,pa=ha?ha.createPolicy("lit-html",{createHTML:function(t){return t}}):void 0,fa="$lit$",ma="lit$".concat(Math.random().toFixed(9).slice(2),"$"),va="?"+ma,ga="<".concat(va,">"),_a=document,ya=function(){return _a.createComment("")},ba=function(t){return null===t||"object"!=Pr(t)&&"function"!=typeof t},ka=Array.isArray,xa="[ \t\n\f\r]",wa=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ca=/-->/g,Ea=/>/g,Aa=RegExp(">|".concat(xa,"(?:([^\\s\"'>=/]+)(").concat(xa,"*=").concat(xa,"*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),Sa=/'/g,Oa=/"/g,Ta=/^(?:script|style|textarea|title)$/i,Ia=function(t){return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o":3===e?"":"",a=wa,l=0;l"===d[0]?(a=null!==(p=n)&&void 0!==p?p:wa,u=-1):void 0===d[1]?u=-2:(u=a.lastIndex-d[2].length,c=d[1],a=void 0===d[3]?Aa:'"'===d[3]?Oa:Sa):a===Oa||a===Sa?a=Aa:a===Ca||a===Ea?a=wa:(a=Aa,n=void 0)}var f=a===Aa&&t[l+1].startsWith("/>")?" ":"";r+=a===wa?s+ga:u>=0?(o.push(c),s.slice(0,u)+fa+s.slice(u)+ma+f):s+ma+(-2===u?l:f)}return[Da(t,r+(t[i]||"")+(2===e?"":3===e?"":"")),o]}(o,r),u=fr(d,2),h=u[0],p=u[1];if(this.el=t.createElement(h,n),La.currentNode=this.el.content,2===r||3===r){var f=this.el.content.firstChild;f.replaceWith.apply(f,hr(f.childNodes))}for(;null!==(i=La.nextNode())&&c.length0){i.textContent=ha?ha.emptyScript:"";for(var w=0;w2&&void 0!==arguments[2]?arguments[2]:t,s=arguments.length>3?arguments[3]:void 0;if(e===Ma)return e;var c=void 0!==s?null===(n=l._$Co)||void 0===n?void 0:n[s]:l._$Cl,d=ba(e)?void 0:e._$litDirective$;return(null===(i=c)||void 0===i?void 0:i.constructor)!==d&&(null!==(o=c)&&void 0!==o&&null!==(r=o._$AO)&&void 0!==r&&r.call(o,!1),void 0===d?c=void 0:(c=new d(t))._$AT(t,l,s),void 0!==s?(null!==(a=l._$Co)&&void 0!==a?a:l._$Co=[])[s]=c:l._$Cl=c),void 0!==c&&(e=Ra(t,c._$AS(t,e.values),c,s)),e}var Va=function(){return Mr((function t(e,n){zr(this,t),this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=n}),[{key:"parentNode",get:function(){return this._$AM.parentNode}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"u",value:function(t){var e,n=this._$AD,i=n.el.content,o=n.parts,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:_a).importNode(i,!0);La.currentNode=r;for(var a=La.nextNode(),l=0,s=0,c=o[0];void 0!==c;){var d;if(l===c.index){var u=void 0;2===c.type?u=new Ua(a,a.nextSibling,this,t):1===c.type?u=new c.ctor(a,c.name,c.strings,this,t):6===c.type&&(u=new Ya(a,this,t)),this._$AV.push(u),c=o[++s]}l!==(null===(d=c)||void 0===d?void 0:d.index)&&(a=La.nextNode(),l++)}return La.currentNode=_a,r}},{key:"p",value:function(t){var e,n=0,i=Or(this._$AV);try{for(i.s();!(e=i.n()).done;){var o=e.value;void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,n),n+=o.strings.length-2):o._$AI(t[n])),n++}}catch(t){i.e(t)}finally{i.f()}}}])}(),Ua=function(){function t(e,n,i,o){var r;zr(this,t),this.type=2,this._$AH=ja,this._$AN=void 0,this._$AA=e,this._$AB=n,this._$AM=i,this.options=o,this._$Cv=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}return Mr(t,[{key:"_$AU",get:function(){var t,e;return null!==(t=null===(e=this._$AM)||void 0===e?void 0:e._$AU)&&void 0!==t?t:this._$Cv}},{key:"parentNode",get:function(){var t,e=this._$AA.parentNode,n=this._$AM;return void 0!==n&&11===(null===(t=e)||void 0===t?void 0:t.nodeType)&&(e=n.parentNode),e}},{key:"startNode",get:function(){return this._$AA}},{key:"endNode",get:function(){return this._$AB}},{key:"_$AI",value:function(t){t=Ra(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),ba(t)?t===ja||null==t||""===t?(this._$AH!==ja&&this._$AR(),this._$AH=ja):t!==this._$AH&&t!==Ma&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):function(t){return ka(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator])}(t)?this.k(t):this._(t)}},{key:"O",value:function(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}},{key:"T",value:function(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}},{key:"_",value:function(t){this._$AH!==ja&&ba(this._$AH)?this._$AA.nextSibling.data=t:this.T(_a.createTextNode(t)),this._$AH=t}},{key:"$",value:function(t){var e,n=t.values,i=t._$litType$,o="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=Na.createElement(Da(i.h,i.h[0]),this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.p(n);else{var r=new Va(o,this),a=r.u(this.options);r.p(n),this.T(a),this._$AH=r}}},{key:"_$AC",value:function(t){var e=Pa.get(t.strings);return void 0===e&&Pa.set(t.strings,e=new Na(t)),e}},{key:"k",value:function(e){ka(this._$AH)||(this._$AH=[],this._$AR());var n,i,o=this._$AH,r=0,a=Or(e);try{for(a.s();!(i=a.n()).done;){var l=i.value;r===o.length?o.push(n=new t(this.O(ya()),this.O(ya()),this,this.options)):n=o[r],n._$AI(l),r++}}catch(t){a.e(t)}finally{a.f()}r0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,e=arguments.length>1?arguments[1]:void 0;for(null===(n=this._$AP)||void 0===n||n.call(this,!1,!0,e);t&&t!==this._$AB;){var n,i=t.nextSibling;t.remove(),t=i}}},{key:"setConnected",value:function(t){var e;void 0===this._$AM&&(this._$Cv=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}])}(),Ba=function(){return Mr((function t(e,n,i,o,r){zr(this,t),this.type=1,this._$AH=ja,this._$AN=void 0,this.element=e,this.name=n,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=ja}),[{key:"tagName",get:function(){return this.element.tagName}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=this.strings,r=!1;if(void 0===o)t=Ra(this,t,e,0),(r=!ba(t)||t!==this._$AH&&t!==Ma)&&(this._$AH=t);else{var a,l,s=t;for(t=o[0],a=0;a1&&void 0!==arguments[1]?arguments[1]:this,0))&&void 0!==e?e:ja)!==Ma){var n=this._$AH,i=t===ja&&n!==ja||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,o=t!==ja&&(n===ja||i);i&&this.element.removeEventListener(this.name,this,n),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}}},{key:"handleEvent",value:function(t){var e,n;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(n=this.options)||void 0===n?void 0:n.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}])}(),Ya=function(){return Mr((function t(e,n,i){zr(this,t),this.element=e,this.type=6,this._$AN=void 0,this._$AM=n,this.options=i}),[{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){Ra(this,t)}}])}(),Ka=ua.litHtmlPolyfillSupport;null!=Ka&&Ka(Na,Ua),(null!==(i=ua.litHtmlVersions)&&void 0!==i?i:ua.litHtmlVersions=[]).push("3.2.1");var Xa=function(t){function e(){var t;return zr(this,e),(t=br(this,e,arguments)).renderOptions={host:xr(t)},t._$Do=void 0,t}return wr(e,da),Mr(e,[{key:"createRenderRoot",value:function(){var t,n,i=dr(e,"createRenderRoot",this,3)([]);return null!==(n=(t=this.renderOptions).renderBefore)&&void 0!==n||(t.renderBefore=i.firstChild),i}},{key:"update",value:function(t){var n=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),dr(e,"update",this,3)([t]),this._$Do=function(t,e,n){var i,o=null!==(i=null==n?void 0:n.renderBefore)&&void 0!==i?i:e,r=o._$litPart$;if(void 0===r){var a,l=null!==(a=null==n?void 0:n.renderBefore)&&void 0!==a?a:null;o._$litPart$=r=new Ua(e.insertBefore(ya(),l),l,void 0,null!=n?n:{})}return r._$AI(t),r}(n,this.renderRoot,this.renderOptions)}},{key:"connectedCallback",value:function(){var t;dr(e,"connectedCallback",this,3)([]),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}},{key:"disconnectedCallback",value:function(){var t;dr(e,"disconnectedCallback",this,3)([]),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}},{key:"render",value:function(){return Ma}}])}(); -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */Xa._$litElement$=!0,Xa.finalized=!0,null===(o=globalThis.litElementHydrateSupport)||void 0===o||o.call(globalThis,{LitElement:Xa});var qa=globalThis.litElementPolyfillSupport;null==qa||qa({LitElement:Xa}),(null!==(r=globalThis.litElementVersions)&&void 0!==r?r:globalThis.litElementVersions=[]).push("4.1.1"); -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -var Ga=function(t){return function(e,n){void 0!==n?n.addInitializer((function(){customElements.define(t,e)})):customElements.define(t,e)}},Za={attribute:!0,type:String,converter:la,reflect:!1,hasChanged:sa},Ja=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Za,e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=n.kind,o=n.metadata,r=globalThis.litPropertyMetadata.get(o);if(void 0===r&&globalThis.litPropertyMetadata.set(o,r=new Map),r.set(n.name,t),"accessor"===i){var a=n.name;return{set:function(n){var i=e.get.call(this);e.set.call(this,n),this.requestUpdate(a,i,t)},init:function(e){return void 0!==e&&this.P(a,void 0,t),e}}}if("setter"===i){var l=n.name;return function(n){var i=this[l];e.call(this,n),this.requestUpdate(l,i,t)}}throw Error("Unsupported decorator location: "+i)}; -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */function Qa(t){return function(e,n){return"object"==Pr(n)?Ja(t,e,n):function(t,e,n){var i=e.hasOwnProperty(n);return e.constructor.createProperty(n,i?sr(sr({},t),{},{wrapped:!0}):t),i?Object.getOwnPropertyDescriptor(e,n):void 0}(t,e,n)}} -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */function tl(t){return Qa(sr(sr({},t),{},{state:!0,attribute:!1}))} -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -function el(t,e){return function(e,n,i){return function(t,e,n){return n.configurable=!0,n.enumerable=!0,Reflect.decorate&&"object"!=Pr(e)&&Object.defineProperty(t,e,n),n}(e,n,{get:function(){return function(e){var n,i;return null!==(n=null===(i=e.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==n?n:null}(this)}})}}var nl,il,ol,rl,al,ll=function(t,e,n,i){i=i||{},n=null==n?{}:n;var o=new Event(e,{bubbles:void 0===i.bubbles||i.bubbles,cancelable:Boolean(i.cancelable),composed:void 0===i.composed||i.composed});return o.detail=n,t.dispatchEvent(o),o},sl=function(t,e){return cl(t.attributes,e)},cl=function(t,e){return 0!=(t.supported_features&e)};!function(t){t.language="language",t.system="system",t.comma_decimal="comma_decimal",t.decimal_comma="decimal_comma",t.space_comma="space_comma",t.none="none"}(nl||(nl={})),function(t){t.language="language",t.system="system",t.am_pm="12",t.twenty_four="24"}(il||(il={})),function(t){t.local="local",t.server="server"}(ol||(ol={})),function(t){t.language="language",t.system="system",t.DMY="DMY",t.MDY="MDY",t.YMD="YMD"}(rl||(rl={})),function(t){t.language="language",t.monday="monday",t.tuesday="tuesday",t.wednesday="wednesday",t.thursday="thursday",t.friday="friday",t.saturday="saturday",t.sunday="sunday"}(al||(al={}));var dl=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return Math.round(t*Math.pow(10,e))/Math.pow(10,e)},ul=function(t,e,n){var i=e?function(t){switch(t.number_format){case nl.comma_decimal:return["en-US","en"];case nl.decimal_comma:return["de","es","it"];case nl.space_comma:return["fr","sv","cs"];case nl.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)!==nl.none&&!Number.isNaN(Number(t))&&Intl)try{return new Intl.NumberFormat(i,hl(t,n)).format(Number(t))}catch(e){return console.error(e),new Intl.NumberFormat(void 0,hl(t,n)).format(Number(t))}return"string"==typeof t?t:"".concat(dl(t,null==n?void 0:n.maximumFractionDigits).toString()).concat("currency"===(null==n?void 0:n.style)?" ".concat(n.currency):"")},hl=function(t,e){var n=Object.assign({maximumFractionDigits:2},e);if("string"!=typeof t)return n;if(!e||void 0===e.minimumFractionDigits&&void 0===e.maximumFractionDigits){var i=t.indexOf(".")>-1?t.split(".")[1].length:0;n.minimumFractionDigits=i,n.maximumFractionDigits=i}return n},pl=function(t){function e(t,n){var i,o;zr(this,e);var r=t.message,a=t.explanation,l=function(t,e){if(null==t)return{};var n,i,o=function(t,e){if(null==t)return{};var n={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(e.includes(i))continue;n[i]=t[i]}return n}(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(i=0;i2&&void 0!==arguments[2]?arguments[2]:{};return gr().mark((function i(){var o,r,a,l,s,c,d,u,h,p,f,m,v,g,_,y,b,k,x,w,C,E,A,S,O,T;return gr().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:o=n.path,r=void 0===o?[]:o,a=n.branch,l=void 0===a?[t]:a,s=n.coerce,c=void 0!==s&&s,d=n.mask,h={path:r,branch:l,mask:u=void 0!==d&&d},c&&(t=e.coercer(t,h)),p="valid",f=Or(e.validator(t,h)),i.prev=5,f.s();case 7:if((m=f.n()).done){i.next=15;break}return(v=m.value).explanation=n.message,p="not_valid",i.next=13,[v,void 0];case 13:i.next=7;break;case 15:i.next=20;break;case 17:i.prev=17,i.t0=i.catch(5),f.e(i.t0);case 20:return i.prev=20,f.f(),i.finish(20);case 23:g=Or(e.entries(t,h)),i.prev=24,g.s();case 26:if((_=g.n()).done){i.next=53;break}y=fr(_.value,3),b=y[0],k=y[1],x=y[2],w=bl(k,x,{path:void 0===b?r:[].concat(hr(r),[b]),branch:void 0===b?l:[].concat(hr(l),[k]),coerce:c,mask:u,message:n.message}),C=Or(w),i.prev=30,C.s();case 32:if((E=C.n()).done){i.next=43;break}if(!(A=E.value)[0]){i.next=40;break}return p=null!=A[0].refinement?"not_refined":"not_valid",i.next=38,[A[0],void 0];case 38:i.next=41;break;case 40:c&&(k=A[1],void 0===b?t=k:t instanceof Map?t.set(b,k):t instanceof Set?t.add(k):ml(t)&&(void 0!==k||b in t)&&(t[b]=k));case 41:i.next=32;break;case 43:i.next=48;break;case 45:i.prev=45,i.t1=i.catch(30),C.e(i.t1);case 48:return i.prev=48,C.f(),i.finish(48);case 51:i.next=26;break;case 53:i.next=58;break;case 55:i.prev=55,i.t2=i.catch(24),g.e(i.t2);case 58:return i.prev=58,g.f(),i.finish(58);case 61:if("not_valid"===p){i.next=81;break}S=Or(e.refiner(t,h)),i.prev=63,S.s();case 65:if((O=S.n()).done){i.next=73;break}return(T=O.value).explanation=n.message,p="not_refined",i.next=71,[T,void 0];case 71:i.next=65;break;case 73:i.next=78;break;case 75:i.prev=75,i.t3=i.catch(63),S.e(i.t3);case 78:return i.prev=78,S.f(),i.finish(78);case 81:if("valid"!==p){i.next=84;break}return i.next=84,[void 0,t];case 84:case"end":return i.stop()}}),i,null,[[5,17,20,23],[24,55,58,61],[30,45,48,51],[63,75,78,81]])}))()}var kl=function(){return Mr((function t(e){var n=this;zr(this,t);var i=e.type,o=e.schema,r=e.validator,a=e.refiner,l=e.coercer,s=void 0===l?function(t){return t}:l,c=e.entries,d=void 0===c?gr().mark((function t(){return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})):c;this.type=i,this.schema=o,this.entries=d,this.coercer=s,this.validator=r?function(t,e){return yl(r(t,e),e,n,t)}:function(){return[]},this.refiner=a?function(t,e){return yl(a(t,e),e,n,t)}:function(){return[]}}),[{key:"assert",value:function(t,e){return xl(t,this,e)}},{key:"create",value:function(t,e){return function(t,e,n){var i=wl(t,e,{coerce:!0,message:n});if(i[0])throw i[0];return i[1]}(t,this,e)}},{key:"is",value:function(t){return function(t,e){var n=wl(t,e);return!n[0]}(t,this)}},{key:"mask",value:function(t,e){return function(t,e,n){var i=wl(t,e,{coerce:!0,mask:!0,message:n});if(i[0])throw i[0];return i[1]}(t,this,e)}},{key:"validate",value:function(t){return wl(t,this,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}}])}();function xl(t,e,n){var i=wl(t,e,{message:n});if(i[0])throw i[0]}function wl(t,e){var n=bl(t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}),i=function(t){var e=t.next(),n=e.done,i=e.value;return n?void 0:i}(n);return i[0]?[new pl(i[0],gr().mark((function t(){var e,i,o;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=Or(n),t.prev=1,e.s();case 3:if((i=e.n()).done){t.next=10;break}if(!(o=i.value)[0]){t.next=8;break}return t.next=8,o[0];case 8:t.next=3;break;case 10:t.next=15;break;case 12:t.prev=12,t.t0=t.catch(1),e.e(t.t0);case 15:return t.prev=15,e.f(),t.finish(15);case 18:case"end":return t.stop()}}),t,null,[[1,12,15,18]])}))),void 0]:[void 0,i[1]]}function Cl(){for(var t=arguments.length,e=new Array(t),n=0;n2&&void 0!==arguments[2]&&arguments[2],o=function(){for(var o=arguments.length,r=new Array(o),a=0;ae||Number(r)===e&&Number(a)>=n||void 0!==i},Os={card:{chips:{alignment:"محاذاة"},climate:{hvac_modes:"أوضاع HVAC",show_temperature_control:"التحكم في درجة الحرارة؟"},cover:{show_buttons_control:"أزرار التحكم؟",show_position_control:"التحكم في الموقع؟"},fan:{show_oscillate_control:"التحكم في التذبذب؟",show_percentage_control:"التحكم في النسبة المئوية؟"},generic:{collapsible_controls:"تصغير عناصر التحكم عند الإيقاف",content_info:"المحتوى",fill_container:"ملئ الحاوية",icon_animation:"تحريك الرمز عندما يكون نشطًا؟",icon_color:"لون الأيقونة",icon_type:"نوع الأيقونة",layout:"التخطيط",primary_info:"المعلومات الأساسية",secondary_info:"المعلومات الفرعية",use_entity_picture:"استخدم صورة الكيان؟"},humidifier:{show_target_humidity_control:"التحكم في الرطوبة؟?"},light:{incompatible_controls:"قد لا يتم عرض بعض عناصر التحكم إذا كان الضوء الخاص بك لا يدعم الميزة.",show_brightness_control:"التحكم في السطوع؟",show_color_control:"التحكم في اللون؟",show_color_temp_control:"التحكم في حرارة اللون؟",use_light_color:"استخدم لون فاتح"},lock:{lock:"مقفل",open:"مفتوح",unlock:"إلغاء قفل"},"media-player":{media_controls:"التحكم في الوسائط",media_controls_list:{next:"التالي",on_off:"تشغيل/إيقاف",play_pause_stop:"تشغيل/إيقاف مؤقت/إيقاف",previous:"السابق",repeat:"وضع التكرار",shuffle:"خلط"},show_volume_level:"إظهار مستوى الصوت",use_media_artwork:"استخدم صورة الوسائط",use_media_info:"استخدم معلومات الوسائط",volume_controls:"التحكم في الصوت",volume_controls_list:{volume_buttons:"أزرار الصوت",volume_mute:"كتم",volume_set:"مستوى الصوت"}},template:{badge_color:"لون الشارة",badge_icon:"أيقونة الشارة",content:"المحتوى",entity_extra:"تستخدم في القوالب والإجراءات",multiline_secondary:"متعدد الأسطر الثانوية؟",picture:"صورة (ستحل محل الأيقونة)",primary:"المعلومات الأساسية",secondary:"المعلومات الثانوية"},title:{subtitle:"العنوان الفرعي",title:"العنوان"},update:{show_buttons_control:"أزرار التحكم؟"},vacuum:{commands:"الاوامر"},weather:{show_conditions:"الأحوال الجوية؟",show_temperature:"الطقس؟"}},chip:{"chip-picker":{add:"أضف رقاقة",chips:"رقاقات",clear:"مسح",edit:"تعديل",select:"اختر الرقاقة",types:{action:"إجراء","alarm-control-panel":"تنبيه",back:"رجوع",conditional:"مشروط",entity:"الكيان",light:"Light",menu:"القائمة",template:"قالب",weather:"الطقس"}},conditional:{chip:"رقاقة"},sub_element_editor:{title:"محرر الرقاقة"}},form:{alignment_picker:{values:{center:"توسيط",default:"المحاذاة الافتراضية",end:"نهاية",justify:"مساواة",start:"بداية"}},color_picker:{values:{default:"اللون الإفتراضي"}},icon_type_picker:{values:{default:"النوع افتراضي","entity-picture":"صورة الكيان",icon:"أيقونة",none:"لا شئ"}},info_picker:{values:{default:"المعلومات الافتراضية","last-changed":"آخر تغيير","last-updated":"آخر تحديث",name:"الإسم",none:"لا شئ",state:"الحالة"}},layout_picker:{values:{default:"تخطيط افتراضي",horizontal:"تخطيط أفقي",vertical:"تخطيط رأسي"}}}},Ts={editor:Os},Is={card:{chips:{alignment:"Подравняване"},climate:{hvac_modes:"HVAC Режими",show_temperature_control:"Контрол на температурата?"},cover:{show_buttons_control:"Контролни бутони?",show_position_control:"Контрол на позицията?",show_tilt_position_control:"Контрол на наклона?"},fan:{show_oscillate_control:"Контрол на трептенето?",show_percentage_control:"Процентов контрол?"},generic:{collapsible_controls:"Свий контролите при изключен",content_info:"Съдържание",fill_container:"Изпълване на контейнера",icon_animation:"Анимирай иконата при активен?",icon_color:"Цвят на икона",icon_type:"Тип на икона",layout:"Оформление",primary_info:"Първостепенна информация",secondary_info:"Второстепенна информация",use_entity_picture:"Използвай снимката на обекта?"},humidifier:{show_target_humidity_control:"Контрол на влажността?"},light:{incompatible_controls:"Някои опции могат да бъдат скрити при условие че осветителното тяло не поддържа фунцията.",show_brightness_control:"Контрол на яркостта?",show_color_control:"Контрол на цвета?",show_color_temp_control:"Контрол на температурата?",use_light_color:"Използвай цвета на светлината"},lock:{lock:"Заключен",open:"Отворен",unlock:"Отключен"},"media-player":{media_controls:"Контрол на Медиата",media_controls_list:{next:"Следващ",on_off:"Вкл./Изкл.",play_pause_stop:"Пусни/пауза/стоп",previous:"Предишен",repeat:"Повтаряне",shuffle:"Разбъркано"},show_volume_level:"Покажи контрола за звук",use_media_artwork:"Използвай визуалните детайли от медията",use_media_info:"Използвай информация от медията",volume_controls:"Контрол на звука",volume_controls_list:{volume_buttons:"Бутони за звук",volume_mute:"Заглуши",volume_set:"Ниво на звука"}},template:{badge_color:"Цвят на значка",badge_icon:"Икона на значка",content:"Съдържание",entity_extra:"Използван в шаблони и действия",multiline_secondary:"Много-редова второстепенна информация?",picture:"Картина (ще замени иконата)",primary:"Първостепенна информация",secondary:"Второстепенна информация"},title:{subtitle:"Подзаглавие",title:"Заглавие"},update:{show_buttons_control:"Контролни бутони?"},vacuum:{commands:"Конади",commands_list:{on_off:"Вкл./Изкл."}},weather:{show_conditions:"Условия?",show_temperature:"Температура?"}},chip:{"chip-picker":{add:"Добави чип",chips:"Чипове",clear:"Изчисти",edit:"Редактирай",select:"Избери чип",types:{action:"Действия","alarm-control-panel":"Аларма",back:"Назад",conditional:"Условни",entity:"Обект",light:"Осветление",menu:"Меню",template:"Шаблон",weather:"Време"}},conditional:{chip:"Чип"},sub_element_editor:{title:"Чип редактор"}},form:{alignment_picker:{values:{center:"Център",default:"Основно подравняване",end:"Край",justify:"Подравнен",start:"Старт"}},color_picker:{values:{default:"Основен цвят"}},icon_type_picker:{values:{default:"Основен тип","entity-picture":"Картина на обекта",icon:"Икона",none:"Липсва"}},info_picker:{values:{default:"Основна информация","last-changed":"Последно Променен","last-updated":"Последно Актуализиран",name:"Име",none:"Липсва",state:"Състояние"}},layout_picker:{values:{default:"Основно оформление",horizontal:"Хоризонтално оформление",vertical:"Вертикално оформление"}}}},zs={editor:Is},$s={not_found:"No s'ha trobat l'entitat"},Ms={card:{chips:{alignment:"Alineació"},climate:{hvac_modes:"Modes HVAC",show_temperature_control:"Control de temperatura?"},cover:{show_buttons_control:"Botons de control?",show_position_control:"Control de posició?",show_tilt_position_control:"Control d'inclinació?"},fan:{show_oscillate_control:"Control d'oscil·lació?",show_percentage_control:"Control de percentatge?"},generic:{collapsible_controls:"Amaga els controls en desactivar",content_info:"Contingut",fill_container:"Emplena el contenidor",icon_animation:"Animar icona en activar?",icon_color:"Color d'icona",icon_type:"Tipus d'icona",layout:"Distribució",primary_info:"Informació primaria",secondary_info:"Informació secundaria",use_entity_picture:"Fer servir la imatge de l'entitat?"},humidifier:{show_target_humidity_control:"Control d'humitat?"},light:{incompatible_controls:"Alguns controls no es mostraran si l'entitat no suporta eixa funció.",show_brightness_control:"Control de brillantor?",show_color_control:"Control de color?",show_color_temp_control:"Control de la temperatura del color?",use_light_color:"Fes servir el color del llum"},lock:{lock:"Bloqueja",open:"Obri",unlock:"Desbloqueja"},"media-player":{media_controls:"Controls multimèdia",media_controls_list:{next:"Pista següent",on_off:"Engegar/Apagar",play_pause_stop:"Reproduïr/Pausar/Detindre",previous:"Pista anterior",repeat:"Mode de repetició",shuffle:"Mesclar"},show_volume_level:"Mostra el nivell de volum",use_media_artwork:"Fes servir l'art multimèdia",use_media_info:"Empra la informació multimèdia",volume_controls:"Controls de volum",volume_controls_list:{volume_buttons:"Botons de volum",volume_mute:"Silenci",volume_set:"Nivell de volum"}},number:{display_mode:"Mode de visualització",display_mode_list:{buttons:"Botons",default:"Per defecte (lliscant)",slider:"Lliscant"}},template:{badge_color:"Color de la insígnia",badge_icon:"Icona de la insígnia",content:"Contingut",entity_extra:"Utilitzats en plantilles i accions",multiline_secondary:"Secundaria en varies línies?",picture:"Imatge (reemplaçarà la icona)",primary:"Informació primaria",secondary:"Informació secundaria"},title:{subtitle:"Subtítol",subtitle_tap_action:"Acció en tocar el subtítol",title:"Títol",title_tap_action:"Acció en tocar el títol"},update:{show_buttons_control:"Botons de control?"},vacuum:{commands:"Comandaments",commands_list:{on_off:"Engegar/Apagar"}},weather:{show_conditions:"Condicions?",show_temperature:"Temperatura?"}},chip:{"chip-picker":{add:"Afegir xip",chips:"Xips",clear:"Buidar",edit:"Editar",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"}},conditional:{chip:"Xip"},sub_element_editor:{title:"Editor de xips"}},form:{alignment_picker:{values:{center:"Centre",default:"Alineació per defecte",end:"Final",justify:"Justifica",start:"Inici"}},color_picker:{values:{default:"Color per defecte"}},icon_type_picker:{values:{default:"Tipus per defecte","entity-picture":"Entitat d'imatge",icon:"Icona",none:"Cap"}},info_picker:{values:{default:"Informació per defecte","last-changed":"Últim Canvi","last-updated":"Última Actualització",name:"Nom",none:"Cap",state:"Estat"}},layout_picker:{values:{default:"Distribució per defecte",horizontal:"Distribució horitzontal",vertical:"Distribució vertical"}}}},js={card:$s,editor:Ms},Ps={not_found:"Entita nebyla nalezena"},Ls={card:{chips:{alignment:"Zarovnání"},climate:{hvac_modes:"Režimy HVAC",show_temperature_control:"Ovládání teploty?"},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?"},fan:{show_oscillate_control:"Ovládání oscilaceM",show_percentage_control:"Ovládání v procentech?"},generic:{collapsible_controls:"Pokud je vypnuto, skrýt ovládací prvky",content_info:"Obsah",fill_container:"Vyplnit prostor",icon_animation:"Pokud je aktivní, animovat ikonu?",icon_color:"Barva ikony",icon_type:"Typ ikony",layout:"Rozložení",primary_info:"Primární informace",secondary_info:"Sekundární informace",use_entity_picture:"Použít ikonu entity?"},humidifier:{show_target_humidity_control:"Ovládání vlhkosti?"},light:{incompatible_controls:"Některé ovládací prvky se nemusí zobrazit, pokud vaše světlo tuto funkci nepodporuje.",show_brightness_control:"Ovládání jasu?",show_color_control:"Ovládání barvy světla?",show_color_temp_control:"Ovládání teploty světla?",use_light_color:"Ikona podle barvy světla?"},lock:{lock:"Zamčeno",open:"Otevřeno",unlock:"Odemčeno"},"media-player":{media_controls:"Ovládání médií",media_controls_list:{next:"Další stopa",on_off:"Zapnout/Vypnout",play_pause_stop:"Přehrát/Pauza/Zastavit",previous:"Předchozí stopa",repeat:"Režim opakování",shuffle:"Zamíchat"},show_volume_level:"Zobrazit úroveň hlasitosti",use_media_artwork:"Použít artwork z média",use_media_info:"Použít informace z média",volume_controls:"Ovládání hlasitosti",volume_controls_list:{volume_buttons:"Tlačítka hlasitosti",volume_mute:"Ztlumit",volume_set:"Úroveň hlasitosti"}},number:{display_mode:"Režim zobrazení",display_mode_list:{buttons:"Tlačítka",default:"Výchozí (posuvník)",slider:"Posuvník"}},template:{badge_color:"Barva odznaku",badge_icon:"Ikona odznaku",content:"Obsah",entity_extra:"Použito v šablonách a akcích",multiline_secondary:"Víceřádková sekundární informace?",picture:"Obrázek (nahradí ikonu)",primary:"Primární informace",secondary:"Sekundární informace"},title:{subtitle:"Popis",subtitle_tap_action:"Akce při klepnutí na popis",title:"Nadpis",title_tap_action:"Akce při klepnutí na nadpis"},update:{show_buttons_control:"Zobrazit ovládací tlačítka?"},vacuum:{commands:"Příkazy",commands_list:{on_off:"Zapnout/Vypnout"}},weather:{show_conditions:"Zobrazit podmínky?",show_temperature:"Zobrazit teplotu?"}},chip:{"chip-picker":{add:"Přidat tlačítko",chips:"Tlačítka",clear:"Vymazat",edit:"Upravit",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í"}},conditional:{chip:"Tlačítko"},sub_element_editor:{title:"Editor tlačítek"}},form:{alignment_picker:{values:{center:"Na střed",default:"Výchozí zarovnání",end:"Na konec",justify:"Do bloku",start:"Na začátek"}},color_picker:{values:{default:"Výchozí barva"}},icon_type_picker:{values:{default:"Výchozí typ","entity-picture":"Ikona entity",icon:"Ikona",none:"Nic"}},info_picker:{values:{default:"Výchozí informace","last-changed":"Poslední změna","last-updated":"Poslední aktualizace",name:"Název",none:"Nic",state:"Stav"}},layout_picker:{values:{default:"Výchozí rozložení",horizontal:"Vodorovné rozložení",vertical:"Svislé rozložení"}}}},Ds={card:Ps,editor:Ls},Ns={not_found:"Enhed ikke fundet"},Rs={card:{chips:{alignment:"Justering"},climate:{hvac_modes:"HVAC-tilstande",show_temperature_control:"Temperaturkontrol?"},cover:{show_buttons_control:"Betjeningsknapper?",show_position_control:"Positionskontrol?",show_tilt_position_control:"Tiltkontrol?"},fan:{show_oscillate_control:"Oscillationskontrol?",show_percentage_control:"Procentkontrol?"},generic:{collapsible_controls:"Skjul kontroller når slukket",color:"Farve",content_info:"Indhold",fill_container:"Fyld container",icon_animation:"Animér ikon når aktiv?",icon_color:"Ikon farve",icon_type:"Ikon type",layout:"Layout",primary_info:"Primær information",secondary_info:"Sekundær information",use_entity_picture:"Brug enhedsbillede?"},humidifier:{show_target_humidity_control:"Luftfugtighedskontrol?"},light:{incompatible_controls:"Nogle kontroller vises muligvis ikke, hvis dit lys ikke understøtter funktionen.",show_brightness_control:"Lysstyrkekontrol?",show_color_control:"Farvekontrol?",show_color_temp_control:"Temperaturfarvekontrol?",use_light_color:"Brug lysfarve"},lock:{lock:"Lås",open:"Åben",unlock:"Lås op"},"media-player":{media_controls:"Mediekontrol",media_controls_list:{next:"Næste nummer",on_off:"Tænd/Sluk",play_pause_stop:"Afspil/Pause/Stop",previous:"Forrige nummer",repeat:"Gentagelsestilstand",shuffle:"Bland"},show_volume_level:"Vis lydstyrke",use_media_artwork:"Brug mediebilleder",use_media_info:"Brug medieinformation",volume_controls:"Lydstyrkekontrol",volume_controls_list:{volume_buttons:"Lydstyrkeknapper",volume_mute:"Lydløs",volume_set:"Lydstyrke"}},number:{display_mode:"Visningstilstand",display_mode_list:{buttons:"Knapper",default:"Standard (slider)",slider:"Slider"}},template:{badge_color:"Badge farve",badge_icon:"Badge ikon",content:"Indhold",entity_extra:"Anvendes i skabeloner og handlinger",label:"Label",multiline_secondary:"Multi-linje sekundær?",picture:"Billede (erstatter ikonet)",primary:"Primær information",secondary:"Sekundær information"},title:{subtitle:"Undertitel",subtitle_tap_action:"Undertitel tryk handling",title:"Titel",title_tap_action:"Title tryk handling"},update:{show_buttons_control:"Betjeningsknapper?"},vacuum:{commands:"Kommandoer",commands_list:{on_off:"Slå til/fra"}},weather:{show_conditions:"Vejrforhold?",show_temperature:"Temperatur?"}},chip:{"chip-picker":{add:"Tilføj chip",chips:"Chips",clear:"Nulstil",edit:"Rediger",select:"Vælg chip",types:{action:"Handling","alarm-control-panel":"Alarm",back:"Tilbage",conditional:"Betinget",entity:"Enhed",light:"Lys",menu:"Menu",spacer:"Afstand",template:"Skabelon",weather:"Vejr"}},conditional:{chip:"Chip"},sub_element_editor:{title:"Chip-editor"}},form:{alignment_picker:{values:{center:"Centrer",default:"Standard justering",end:"Slut",justify:"Lige margener",start:"Start"}},color_picker:{values:{default:"Standardfarve"}},icon_type_picker:{values:{default:"Standard type","entity-picture":"Enhedsbillede",icon:"Ikon",none:"Ingen"}},info_picker:{values:{default:"Standard information","last-changed":"Sidst ændret","last-updated":"Sidst opdateret",name:"Navn",none:"Ingen",state:"Status"}},layout_picker:{values:{default:"Standard layout",horizontal:"Horisontal layout",vertical:"Vertikal layout"}}}},Vs={card:Ns,editor:Rs},Us={not_found:"Entität nicht gefunden"},Bs={card:{chips:{alignment:"Ausrichtung"},climate:{hvac_modes:"HVAC-Modi",show_temperature_control:"Temperatursteuerung?"},cover:{show_buttons_control:"Schaltflächensteuerung?",show_position_control:"Positionssteuerung?",show_tilt_position_control:"Winkelsteuerung?"},fan:{show_oscillate_control:"Oszillationssteuerung?",show_percentage_control:"Prozentuale Kontrolle?"},generic:{collapsible_controls:"Schieberegler einklappen, wenn aus",color:"Farbe",content_info:"Inhalt",fill_container:"Container ausfüllen",icon_animation:"Icon animieren, wenn aktiv?",icon_color:"Icon-Farbe",icon_type:"Icon-Typ",layout:"Layout",primary_info:"Primäre Information",secondary_info:"Sekundäre Information",use_entity_picture:"Entitätsbild verwenden?"},humidifier:{show_target_humidity_control:"Luftfeuchtigkeitssteuerung?"},light:{incompatible_controls:"Einige Steuerelemente werden möglicherweise nicht angezeigt, wenn Ihr Licht diese Funktion nicht unterstützt.",show_brightness_control:"Helligkeitsregelung?",show_color_control:"Farbsteuerung?",show_color_temp_control:"Farbtemperatursteuerung?",use_light_color:"Farbsteuerung verwenden"},lock:{lock:"Verriegeln",open:"Öffnen",unlock:"Entriegeln"},"media-player":{media_controls:"Mediensteuerung",media_controls_list:{next:"Nächster Titel",on_off:"Ein/Aus",play_pause_stop:"Play/Pause/Stop",previous:"Vorheriger Titel",repeat:"Wiederholen",shuffle:"Zufällige Wiedergabe"},show_volume_level:"Lautstärke-Level anzeigen",use_media_artwork:"Mediengrafik verwenden",use_media_info:"Medieninfos verwenden",volume_controls:"Lautstärkesteuerung",volume_controls_list:{volume_buttons:"Lautstärke-Buttons",volume_mute:"Stumm",volume_set:"Lautstärke-Level"}},number:{display_mode:"Anzeigemodus",display_mode_list:{buttons:"Buttons",default:"Standard (Schieberegler)",slider:"Schieberegler"}},template:{badge_color:"Badge-Farbe",badge_icon:"Badge-Icon",content:"Inhalt",entity_extra:"Wird in Vorlagen und Aktionen verwendet",label:"Beschriftung",multiline_secondary:"Mehrzeilig sekundär?",picture:"Bild (ersetzt das Icon)",primary:"Primäre Information",secondary:"Sekundäre Information"},title:{subtitle:"Untertitel",subtitle_tap_action:"Untertitel Tipp-Aktion",title:"Titel",title_tap_action:"Titel Tipp-Aktion"},update:{show_buttons_control:"Schaltflächensteuerung?"},vacuum:{commands:"Befehle",commands_list:{on_off:"An/Ausschalten"}},weather:{show_conditions:"Bedingungen?",show_temperature:"Temperatur?"}},chip:{"chip-picker":{add:"Chip hinzufügen",chips:"Chips",clear:"Löschen",edit:"Editieren",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"}},conditional:{chip:"Chip"},sub_element_editor:{title:"Chip Editor"}},form:{alignment_picker:{values:{center:"Mitte",default:"Standard",end:"Ende",justify:"Ausrichten",start:"Anfang"}},color_picker:{values:{default:"Standardfarbe"}},icon_type_picker:{values:{default:"Standard-Typ","entity-picture":"Entitätsbild",icon:"Icon",none:"Keines"}},info_picker:{values:{default:"Standard-Information","last-changed":"Letzte Änderung","last-updated":"Letzte Aktualisierung",name:"Name",none:"Keine",state:"Zustand"}},layout_picker:{values:{default:"Standard-Layout",horizontal:"Horizontales Layout",vertical:"Vertikales Layout"}}}},Fs={card:Us,editor:Bs},Hs={card:{chips:{alignment:"Ευθυγράμμιση"},cover:{show_buttons_control:"Έλεγχος κουμπιών;",show_position_control:"Έλεγχος θέσης;"},fan:{show_oscillate_control:"Έλεγχος ταλάντωσης;",show_percentage_control:"Έλεγχος ποσοστού;"},generic:{content_info:"Περιεχόμενο",icon_animation:"Κίνηση εικονιδίου όταν είναι ενεργό;",icon_color:"Χρώμα εικονιδίου",layout:"Διάταξη",primary_info:"Πρωτεύουσες πληροφορίες",secondary_info:"Δευτερεύουσες πληροφορίες",use_entity_picture:"Χρήση εικόνας οντότητας;"},light:{incompatible_controls:"Ορισμένα στοιχεία ελέγχου ενδέχεται να μην εμφανίζονται εάν το φωτιστικό σας δεν υποστηρίζει τη λειτουργία.",show_brightness_control:"Έλεγχος φωτεινότητας;",show_color_control:"Έλεγχος χρώματος;",show_color_temp_control:"Έλεγχος χρώματος θερμοκρασίας;",use_light_color:"Χρήση χρώματος φωτος"},"media-player":{media_controls:"Έλεγχος πολυμέσων",media_controls_list:{next:"Επόμενο κομμάτι",on_off:"Ενεργοποίηση/απενεργοποίηση",play_pause_stop:"Αναπαραγωγή/παύση/διακοπή",previous:"Προηγούμενο κομμάτι",repeat:"Λειτουργία επανάληψης",shuffle:"Τυχαία σειρά"},use_media_artwork:"Χρήση έργων τέχνης πολυμέσων",use_media_info:"Χρήση πληροφοριών πολυμέσων",volume_controls:"Χειριστήρια έντασης ήχου",volume_controls_list:{volume_buttons:"Κουμπιά έντασης ήχου",volume_mute:"Σίγαση",volume_set:"Επίπεδο έντασης ήχου"}},template:{content:"Περιεχόμενο",entity_extra:"Χρησιμοποιείται σε πρότυπα και ενέργειες",multiline_secondary:"Δευτερεύουσες πολλαπλών γραμμών;",primary:"Πρωτεύουσες πληροφορίες",secondary:"Δευτερεύουσες πληροφορίες"},title:{subtitle:"Υπότιτλος",title:"Τίτλος"},update:{show_buttons_control:"Έλεγχος κουμπιών;"},vacuum:{commands:"Εντολές"},weather:{show_conditions:"Συνθήκες;",show_temperature:"Θερμοκρασία;"}},chip:{"chip-picker":{add:"Προσθήκη chip",chips:"Chips",clear:"Καθαρισμός",edit:"Επεξεργασία",select:"Επιλογή chip",types:{action:"Ενέργεια","alarm-control-panel":"Συναγερμός",back:"Πίσω",conditional:"Υπό προϋποθέσεις",entity:"Οντότητα",light:"Φως",menu:"Μενού",template:"Πρότυπο",weather:"Καιρός"}},conditional:{chip:"Chip"},sub_element_editor:{title:"Επεξεργαστής Chip"}},form:{alignment_picker:{values:{center:"Στοίχιση στο κέντρο",default:"Προεπιλεγμένη στοίχιση",end:"Στοίχιση δεξιά",justify:"Πλήρης στοίχιση",start:"Στοίχιση αριστερά"}},color_picker:{values:{default:"Προεπιλεγμένο χρώμα"}},info_picker:{values:{default:"Προεπιλεγμένες πληροφορίες","last-changed":"Τελευταία αλλαγή","last-updated":"Τελευταία ενημέρωση",name:"Όνομα",none:"Τίποτα",state:"Κατάσταση"}},layout_picker:{values:{default:"Προεπιλεγμένη διάταξη",horizontal:"Οριζόντια διάταξη",vertical:"Κάθετη διάταξη"}}}},Ws={editor:Hs},Ys={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"}}}},Ks={not_found:"Entity not found"},Xs={editor:Ys,card:Ks},qs={not_found:"Entidad no encontrada"},Gs={card:{chips:{alignment:"Alineación"},climate:{hvac_modes:"Modos de climatización",show_temperature_control:"¿Control de temperatura?"},cover:{show_buttons_control:"¿Botones de control?",show_position_control:"¿Control de posición?",show_tilt_position_control:"¿Control de inclinación?"},fan:{show_oscillate_control:"¿Controlar oscilación?",show_percentage_control:"¿Controlar porcentaje?"},generic:{collapsible_controls:"Contraer controles cuando está apagado",color:"Color",content_info:"Contenido",fill_container:"Rellenar",icon_animation:"¿Icono animado cuando está activo?",icon_color:"Color de icono",icon_type:"Tipo de icono",layout:"Diseño",primary_info:"Información primaria",secondary_info:"Información secundaria",use_entity_picture:"¿Usar imagen de entidad?"},humidifier:{show_target_humidity_control:"¿Controlar humedad?"},light:{incompatible_controls:"Es posible que algunos controles no se muestren si la luz no es compatible con esta función.",show_brightness_control:"¿Controlar brillo?",show_color_control:"¿Controlar color?",show_color_temp_control:"¿Controlar temperatura del color?",use_light_color:"Usar color de la luz"},lock:{lock:"Bloquear",open:"Abrir",unlock:"Desbloquear"},"media-player":{media_controls:"Controles multimedia",media_controls_list:{next:"Pista siguiente",on_off:"Activar/desactivar",play_pause_stop:"Reproducir/pausa/parar",previous:"Pista anterior",repeat:"Modo de repetición",shuffle:"Aleatoria"},show_volume_level:"Mostrar nivel de volumen",use_media_artwork:"Usar ilustraciones multimedia",use_media_info:"Usar información multimedia",volume_controls:"Controles de volumen",volume_controls_list:{volume_buttons:"Botones de volumen",volume_mute:"Silenciar",volume_set:"Nivel de volumen"}},number:{display_mode:"Modo de visualización",display_mode_list:{buttons:"Botones",default:"Por defecto (deslizante)",slider:"Control deslizante"}},template:{badge_color:"Color del distintivo",badge_icon:"Icono del distintivo",content:"Contenido",entity_extra:"Utilizado en plantillas y acciones",label:"Etiqueta",multiline_secondary:"¿Secundaria multilínea?",picture:"Imagen (sustituirá al icono)",primary:"Información primaria",secondary:"Información secundaria"},title:{subtitle:"Subtítulo",subtitle_tap_action:"Acción al tocar el subtítulo",title:"Título",title_tap_action:"Acción al tocar el título"},update:{show_buttons_control:"¿Botones de control?"},vacuum:{commands:"Comandos",commands_list:{on_off:"Activar/desactivar"}},weather:{show_conditions:"¿Condiciones?",show_temperature:"¿Temperatura?"}},chip:{"chip-picker":{add:"Añadir chip",chips:"Chips",clear:"Limpiar",edit:"Editar",select:"Seleccionar chip",types:{action:"Acción","alarm-control-panel":"Alarma",back:"Volver",conditional:"Condicional",entity:"Entidad",light:"Luz",menu:"Menú",spacer:"Espaciador",template:"Plantilla",weather:"Clima"}},conditional:{chip:"Chip"},sub_element_editor:{title:"Editor de chip"}},form:{alignment_picker:{values:{center:"Centrado",default:"Alineación predeterminada",end:"Final",justify:"Justificado",start:"Inicio"}},color_picker:{values:{default:"Color predeterminado"}},icon_type_picker:{values:{default:"Por defecto","entity-picture":"Imagen de entidad",icon:"Icono",none:"Ninguno"}},info_picker:{values:{default:"Información predeterminada","last-changed":"Último cambio","last-updated":"Última actualización",name:"Nombre",none:"Ninguno",state:"Estado"}},layout_picker:{values:{default:"Diseño predeterminado",horizontal:"Diseño horizontal",vertical:"Diseño vertical"}}}},Zs={card:qs,editor:Gs},Js={card:{chips:{alignment:"Asettelu"},cover:{show_buttons_control:"Toimintopainikkeet?",show_position_control:"Sijainnin hallinta?"},fan:{show_oscillate_control:"Oskillaation säätö?",show_percentage_control:"Prosentuaalinen säätö?"},generic:{collapsible_controls:"Piilota toiminnot off-tilassa",content_info:"Sisältö",fill_container:"Täytä alue",icon_animation:"Animoi kuvake, kun aktiivinen?",icon_color:"Ikonin väri",icon_type:"Kuvakkeen tyyppi",layout:"Asettelu",primary_info:"Ensisijaiset tiedot",secondary_info:"Toissijaiset tiedot",use_entity_picture:"Käytä kohteen kuvaa?"},humidifier:{show_target_humidity_control:"Kosteudenhallinta?"},light:{incompatible_controls:"Jotkin toiminnot eivät näy, jos valaisimesi ei tue niitä.",show_brightness_control:"Kirkkauden säätö?",show_color_control:"Värin säätö?",show_color_temp_control:"Värilämpötilan säätö?",use_light_color:"Käytä valaisimen väriä"},lock:{lock:"Lukitse",open:"Avaa",unlock:"Poista lukitus"},"media-player":{media_controls:"Toiminnot",media_controls_list:{next:"Seuraava kappale",on_off:"Päälle/pois",play_pause_stop:"Toista/keskeytä/pysäytä",previous:"Edellinen kappale",repeat:"Jatkuva toisto",shuffle:"Sekoita"},show_volume_level:"Näytä äänenvoimakkuuden hallinta",use_media_artwork:"Käytä median kuvituksia",use_media_info:"Käytä median tietoja",volume_controls:"Äänenvoimakkuuden hallinta",volume_controls_list:{volume_buttons:"Äänenvoimakkuuspainikkeet",volume_mute:"Mykistä",volume_set:"Äänenvoimakkuus"}},template:{badge_color:"Merkin väri",badge_icon:"Merkin kuvake",content:"Sisältö",entity_extra:"Käytetään malleissa ja toiminnoissa",multiline_secondary:"Monirivinen toissijainen tieto?",picture:"Kuva (korvaa kuvakkeen)",primary:"Ensisijaiset tiedot",secondary:"Toissijaiset tiedot"},title:{subtitle:"Tekstitys",title:"Otsikko"},update:{show_buttons_control:"Toimintopainikkeet?"},vacuum:{commands:"Komennot"},weather:{show_conditions:"Ehdot?",show_temperature:"Lämpötila?"}},chip:{"chip-picker":{add:"Lisää merkki",chips:"Merkit",clear:"Tyhjennä",edit:"Muokkaa",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ää"}},conditional:{chip:"Merkki"},sub_element_editor:{title:"Merkkieditori"}},form:{alignment_picker:{values:{center:"Keskitä",default:"Keskitys",end:"Loppu",justify:"Sovita",start:"Alku"}},color_picker:{values:{default:"Oletusväri"}},icon_type_picker:{values:{default:"Oletustyyppi","entity-picture":"Kohteen kuva",icon:"Kuvake",none:"Ei mitään"}},info_picker:{values:{default:"Oletustiedot","last-changed":"Viimeksi muuttunut","last-updated":"Viimeksi päivittynyt",name:"Nimi",none:"Ei mitään",state:"Tila"}},layout_picker:{values:{default:"Oletusasettelu",horizontal:"Vaakasuuntainen",vertical:"Pystysuuntainen"}}}},Qs={editor:Js},tc={not_found:"Entité inconnue"},ec={card:{chips:{alignment:"Alignement"},climate:{hvac_modes:"Modes du thermostat",show_temperature_control:"Contrôle de la température ?"},cover:{show_buttons_control:"Contrôle avec boutons ?",show_position_control:"Contrôle de la position ?",show_tilt_position_control:"Contrôle de l'inclinaison ?"},fan:{show_oscillate_control:"Contrôle de l'oscillation ?",show_percentage_control:"Contrôle de la vitesse ?"},generic:{collapsible_controls:"Reduire les contrôles quand éteint",color:"Couleur",content_info:"Contenu",fill_container:"Remplir le conteneur",icon_animation:"Animation de l'icône ?",icon_color:"Couleur de l'icône",icon_type:"Type d'icône",layout:"Disposition",primary_info:"Information principale",secondary_info:"Information secondaire",use_entity_picture:"Utiliser l'image de l'entité ?"},humidifier:{show_target_humidity_control:"Contrôle d'humidité ?"},light:{incompatible_controls:"Certains contrôles peuvent ne pas être affichés si votre lumière ne supporte pas la fonctionnalité.",show_brightness_control:"Contrôle de luminosité ?",show_color_control:"Contrôle de la couleur ?",show_color_temp_control:"Contrôle de la température ?",use_light_color:"Utiliser la couleur de la lumière"},lock:{lock:"Verrouiller",open:"Ouvrir",unlock:"Déverrouiller"},"media-player":{media_controls:"Contrôles du media",media_controls_list:{next:"Suivant",on_off:"Allumer/Éteindre",play_pause_stop:"Lecture/pause/stop",previous:"Précédent",repeat:"Mode de répétition",shuffle:"Lecture aléatoire"},show_volume_level:"Afficher le niveau de volume",use_media_artwork:"Utiliser l'illustration du media",use_media_info:"Utiliser les informations du media",volume_controls:"Contrôles du volume",volume_controls_list:{volume_buttons:"Bouton de volume",volume_mute:"Muet",volume_set:"Niveau de volume"}},number:{display_mode:"Mode d'affichage",display_mode_list:{buttons:"Boutons",default:"Par défaut (Curseur)",slider:"Curseur"}},template:{badge_color:"Couleur du badge",badge_icon:"Icône du badge",content:"Contenu",entity_extra:"Utilisée pour les modèles et les actions",label:"Libellé",multiline_secondary:"Information secondaire sur plusieurs lignes ?",picture:"Image (remplacera l'icône)",primary:"Information principale",secondary:"Information secondaire"},title:{subtitle:"Sous-titre",subtitle_tap_action:"Appui sur le sous-titre",title:"Titre",title_tap_action:"Appui sur le titre"},update:{show_buttons_control:"Contrôle avec boutons ?"},vacuum:{commands:"Commandes",commands_list:{on_off:"Allumer/Éteindre"}},weather:{show_conditions:"Conditions ?",show_conditons:"Conditions ?",show_temperature:"Température ?"}},chip:{"chip-picker":{add:'Ajouter une "chip"',chips:'"Chips"',clear:"Effacer",edit:"Modifier",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:"Modèle",weather:"Météo"}},conditional:{chip:"Chip"},sub_element_editor:{title:'Éditeur de "chip"'}},form:{alignment_picker:{values:{center:"Centré",default:"Alignement par défaut",end:"Fin",justify:"Justifié",start:"Début"}},color_picker:{values:{default:"Couleur par défaut"}},icon_type_picker:{values:{default:"Type par défaut","entity-picture":"Image de l'entité",icon:"Icône",none:"Aucune"}},info_picker:{values:{default:"Information par défaut","last-changed":"Dernière modification","last-updated":"Dernière mise à jour",name:"Nom",none:"Aucune",state:"État"}},layout_picker:{values:{default:"Disposition par défault",horizontal:"Disposition horizontale",vertical:"Disposition verticale"}}}},nc={card:tc,editor:ec},ic={card:{chips:{alignment:"יישור"},cover:{show_buttons_control:"הצג כפתורי שליטה",show_position_control:"הצג פקדי מיקום"},fan:{show_oscillate_control:"שליטה בהתנדנדות?",show_percentage_control:"שליטה באחוז?"},generic:{collapsible_controls:"הסתר שליטה כשאר מכובה",content_info:"תוכן",fill_container:"מלא גבולות",icon_animation:"הנפש אייקון",icon_color:"צבע אייקון",layout:"סידור",primary_info:"מידע ראשי",secondary_info:"מידע מישני",use_entity_picture:"השתמש בתמונת ישות"},humidifier:{show_target_humidity_control:"הצג פקדי לחות"},light:{incompatible_controls:"יתכן וחלק מהכפתורים לא יופיעו אם התאורה אינה תומכת בתכונה.",show_brightness_control:"שליטה בבהירות?",show_color_control:"הצג פקד צבע",show_color_temp_control:"הצג פקד גוון תאורה?",use_light_color:"השתמש בצבע האור"},lock:{lock:"נעל",open:"פתח",unlock:"בטל נעילה"},"media-player":{media_controls:"שליטה במדיה",media_controls_list:{next:"רצועה הבאה",on_off:"הדלק/כבה",play_pause_stop:"נגן/השהה/הפסק",previous:"רצועה קודמת",repeat:"חזרה",shuffle:"ערבב"},show_volume_level:"הצג שליטת ווליום",use_media_artwork:"השתמש באומנות מדיה",use_media_info:"השתמש במידע מדיה",volume_controls:"שליטה בווליום",volume_controls_list:{volume_buttons:"כפתורי ווליום",volume_mute:"השתק",volume_set:"רמת ווליום"}},template:{content:"תוכן",entity_extra:"משמש בתבניות ופעולות",multiline_secondary:"מידע מישני רב קווי",primary:"מידע ראשי",secondary:"מידע מישני"},title:{subtitle:"כתובית",title:"כותרת"},update:{show_buttons_control:"הצג כפתורי שליטה?"},vacuum:{commands:"פקודות",icon_animation:"הנפשת אייקון"},weather:{show_conditions:"הצג תנאים?",show_temperature:"הצג טמפרטורה?"}},chip:{"chip-picker":{add:"הוסף שבב",chips:"שבבים",clear:"נקה",edit:"ערוך",select:"בחר שבב",types:{action:"פעולה","alarm-control-panel":"אזעקה",back:"חזור",conditional:"מותנה",entity:"ישות",light:"אור",menu:"תפריט",template:"תבנית",weather:"מזג אוויר"}},conditional:{chip:"שבב"},sub_element_editor:{title:"עורך שבב"}},form:{alignment_picker:{values:{center:"אמצע",default:"יישור ברירת מחדל",end:"סוף",justify:"מוצדק",start:"התחלה"}},color_picker:{values:{default:"צבע ברירת מחדל"}},info_picker:{values:{default:"מידע ברירת מחדל","last-changed":"שונה לאחרונה","last-updated":"עודכן לאחרונה",name:"שם",none:"ריק",state:"מצב"}},layout_picker:{values:{default:"סידור ברירת מחדל",horizontal:"סידור מאוזן",vertical:"סידור מאונך"}}}},oc={editor:ic},rc={not_found:"Entitás nem található"},ac={card:{chips:{alignment:"Rendezés"},climate:{hvac_modes:"HVAC mód",show_temperature_control:"Hőmérséklet 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ó"},fan:{show_oscillate_control:"Oszcilláció vezérlő",show_percentage_control:"Százalékos vezérlő"},generic:{collapsible_controls:"Vezérlők összezárása kikapcsolt állapotban",content_info:"Tartalom",fill_container:"Tároló kitöltése",icon_animation:"Ikon animálása aktív állapotban",icon_color:"Ikon szín",icon_type:"Ikon típus",layout:"Elrendezés",primary_info:"Elsődleges információ",secondary_info:"Másodlagos információ",use_entity_picture:"Entitás kép használata"},humidifier:{show_target_humidity_control:"Páratartalom vezérlő"},light:{incompatible_controls:"Azok a vezérlők nem lesznek megjelenítve, amelyeket a fényforrás nem támogat.",show_brightness_control:"Fényerő vezérlő",show_color_control:"Szín vezérlő",show_color_temp_control:"Színhőmérséklet vezérlő",use_light_color:"Fény szín használata"},lock:{lock:"Zár",open:"Nyitva",unlock:"Nyit"},"media-player":{media_controls:"Média vezérlők",media_controls_list:{next:"Következő szám",on_off:"Ki/bekapcsolás",play_pause_stop:"Lejátszás/szünet/állj",previous:"Előző szám",repeat:"Ismétlés módja",shuffle:"Véletlen lejátszás"},show_volume_level:"Hangerő mutatása",use_media_artwork:"Média borító használata",use_media_info:"Média infó használata",volume_controls:"Hangerő vezérlők",volume_controls_list:{volume_buttons:"Hangerő gombok",volume_mute:"Némítás",volume_set:"Hangerő szint"}},number:{display_mode:"Megjelenítési mód",display_mode_list:{buttons:"Gombok",default:"Alepértelmezett (csúszka)",slider:"Csúszka"}},template:{badge_color:"Jelvény szín",badge_icon:"Jelvény ikon",content:"Tartalom",entity_extra:"Műveletek és sablonok használatakor",multiline_secondary:"Másodlagost több sorba?",picture:"Kép (lecseréli az ikont)",primary:"Elsődleges információ",secondary:"Másodlagos információ"},title:{subtitle:"Alcím",subtitle_tap_action:"Alcímre koppintáskor",title:"Fejléc",title_tap_action:"Fejlécre koppintáskor"},update:{show_buttons_control:"Vezérlő gombok"},vacuum:{commands:"Utasítások",commands_list:{on_off:"Ki/Bekapcsolás"}},weather:{show_conditions:"Állapotok",show_temperature:"Hőmérséklet"}},chip:{"chip-picker":{add:"Chip hozzáadása",chips:"Chip-ek",clear:"Ürítés",edit:"Szerkeszté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"}},conditional:{chip:"Chip"},sub_element_editor:{title:"Chip szerkesztő"}},form:{alignment_picker:{values:{center:"Közepe",default:"Alapértelmezett rendezés",end:"Vége",justify:"Sorkizárt",start:"Kezdete"}},color_picker:{values:{default:"Alapértelmezett szín"}},icon_type_picker:{values:{default:"Alapértelmezett típus","entity-picture":"Entitás kép",icon:"Ikon",none:"Egyik sem"}},info_picker:{values:{default:"Alepértelmezett információ","last-changed":"Utoljára módosítva","last-updated":"Utoljára frissítve",name:"Név",none:"Egyik sem",state:"Állapot"}},layout_picker:{values:{default:"Alapértelmezet elrendezés",horizontal:"Vízszintes elrendezés",vertical:"Függőleges elrendezés"}}}},lc={card:rc,editor:ac},sc={not_found:"Entitas tidak ditemukan"},cc={card:{chips:{alignment:"Perataan"},climate:{hvac_modes:"Mode HVAC",show_temperature_control:"Kontrol suhu?"},cover:{show_buttons_control:"Tombol kontrol?",show_position_control:"Kontrol posisi?",show_tilt_position_control:"Kontrol kemiringan?"},fan:{show_oscillate_control:"Kontrol osilasi?",show_percentage_control:"Kontrol persentase?"},generic:{collapsible_controls:"Sembunyikan kontrol saat mati",content_info:"Konten",fill_container:"Isi kontainer",icon_animation:"Animasikan ikon saat aktif?",icon_color:"Warna ikon",icon_type:"Tipe ikon",layout:"Tata letak",primary_info:"Informasi primer",secondary_info:"Informasi sekunder",use_entity_picture:"Gunakan gambar entitas?"},humidifier:{show_target_humidity_control:"Kontrol kelembapan?"},light:{incompatible_controls:"Beberapa kontrol mungkin tidak ditampilkan jika lampu Anda tidak mendukung fitur tersebut.",show_brightness_control:"Kontrol kecerahan?",show_color_control:"Kontrol warna?",show_color_temp_control:"Kontrol suhu warna?",use_light_color:"Gunakan warna lampu"},lock:{lock:"Kunci",open:"Buka",unlock:"Buka kunci"},"media-player":{media_controls:"Kontrol media",media_controls_list:{next:"Lagu berikutnya",on_off:"Nyalakan/Matikan",play_pause_stop:"Putar/jeda/stop",previous:"Lagu sebelumnya",repeat:"Mode pengulangan",shuffle:"Acak"},show_volume_level:"Tampilkan level volume",use_media_artwork:"Gunakan gambar seni media",use_media_info:"Gunakan info media",volume_controls:"Kontrol volume",volume_controls_list:{volume_buttons:"Tombol volume",volume_mute:"Bisukan",volume_set:"Level volume"}},number:{display_mode:"Mode Tampilan",display_mode_list:{buttons:"Tombol",default:"Bawaan (geser)",slider:"Geser"}},template:{badge_color:"Warna lencana",badge_icon:"Ikon lencana",content:"Konten",entity_extra:"Digunakan dalam templat dan tindakan",multiline_secondary:"Info sekunder multibaris?",picture:"Gambar (akan menggantikan ikon)",primary:"Informasi primer",secondary:"Informasi sekunder"},title:{subtitle:"Subjudul",subtitle_tap_action:"Tindakan ketuk subjudul",title:"Judul",title_tap_action:"Tindakan ketuk judul"},update:{show_buttons_control:"Tombol kontrol?"},vacuum:{commands:"Perintah",commands_list:{on_off:"Nyalakan/Matikan"}},weather:{show_conditions:"Kondisi?",show_temperature:"Suhu?"}},chip:{"chip-picker":{add:"Tambah cip",chips:"Cip",clear:"Hapus",edit:"Edit",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"}},conditional:{chip:"Cip"},sub_element_editor:{title:"Editor cip"}},form:{alignment_picker:{values:{center:"Tengah",default:"Perataan bawaan",end:"Akhir",justify:"Rata kanan-kiri",start:"Awal"}},color_picker:{values:{default:"Warna bawaan"}},icon_type_picker:{values:{default:"Tipe bawaan","entity-picture":"Gambar entitas",icon:"Ikon",none:"Tidak ada"}},info_picker:{values:{default:"Informasi bawaan","last-changed":"Terakhir Diubah","last-updated":"Terakhir Diperbarui",name:"Nama",none:"Tidak ada",state:"Status"}},layout_picker:{values:{default:"Tata letak bawaan",horizontal:"Tata letak horizontal",vertical:"Tata letak vertikal"}}}},dc={card:sc,editor:cc},uc={not_found:"Entità non trovata"},hc={card:{chips:{alignment:"Allineamento"},climate:{hvac_modes:"Modalità del termostato",show_temperature_control:"Controllo della temperatura?"},cover:{show_buttons_control:"Pulsanti di controllo",show_position_control:"Controllo percentuale apertura",show_tilt_position_control:"Controllo percentuale inclinazione"},fan:{show_oscillate_control:"Controllo oscillazione",show_percentage_control:"Controllo potenza"},generic:{collapsible_controls:"Nascondi i controlli quando spento",content_info:"Contenuto",fill_container:"Riempi il contenitore",icon_animation:"Anima l'icona quando attiva",icon_color:"Colore dell'icona",icon_type:"Tipo icona",layout:"Disposizione",primary_info:"Informazione primaria",secondary_info:"Informazione secondaria",use_entity_picture:"Usa l'immagine dell'entità"},humidifier:{show_target_humidity_control:"Controllo umidità"},light:{incompatible_controls:"Alcuni controlli potrebbero non essere mostrati se la tua luce non li supporta.",show_brightness_control:"Controllo luminosità",show_color_control:"Controllo colore",show_color_temp_control:"Controllo temperatura",use_light_color:"Usa il colore della luce"},lock:{lock:"Blocca",open:"Aperto",unlock:"Sblocca"},"media-player":{media_controls:"Controlli media",media_controls_list:{next:"Traccia successiva",on_off:"Accendi/Spegni",play_pause_stop:"Play/Pausa/Stop",previous:"Traccia precedente",repeat:"Ciclo continuo",shuffle:"Riproduzione casuale"},show_volume_level:"Mostra volume",use_media_artwork:"Usa la copertina della sorgente",use_media_info:"Mostra le informazioni della sorgente",volume_controls:"Controlli del Volume",volume_controls_list:{volume_buttons:"Bottoni del volume",volume_mute:"Silenzia",volume_set:"Livello del volume"}},number:{display_mode:"Modalità di visualizzazione",display_mode_list:{buttons:"Pulsanti",default:"Predefinito (cursore)",slider:"Cursore"}},template:{badge_color:"Colore del badge",badge_icon:"Icona del badge",content:"Contenuto",entity_extra:"Usato in templates ed azioni",multiline_secondary:"Abilita frasi multilinea",picture:"Immagine (sostituirà l'icona)",primary:"Informazione primaria",secondary:"Informazione secondaria"},title:{subtitle:"Sottotitolo",subtitle_tap_action:"Azione di tap sul sottotitolo",title:"Titolo",title_tap_action:"Azione di tap sul titolo"},update:{show_buttons_control:"Pulsanti di controllo"},vacuum:{commands:"Comandi",commands_list:{on_off:"Accendi/Spegni"}},weather:{show_conditions:"Condizioni",show_temperature:"Temperatura"}},chip:{"chip-picker":{add:"Aggiungi chip",chips:"Chips",clear:"Rimuovi",edit:"Modifica",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"}},conditional:{chip:"Chip"},sub_element_editor:{title:"Editor di chip"}},form:{alignment_picker:{values:{center:"Centro",default:"Allineamento predefinito",end:"Fine",justify:"Giustificato",start:"Inizio"}},color_picker:{values:{default:"Colore predefinito"}},icon_type_picker:{values:{default:"Tipo predefinito","entity-picture":"Immagine dell'entità",icon:"Icona",none:"Nessuna"}},info_picker:{values:{default:"Informazione predefinita","last-changed":"Ultimo cambiamento","last-updated":"Ultimo aggiornamento",name:"Nome",none:"Nessuno",state:"Stato"}},layout_picker:{values:{default:"Disposizione predefinita",horizontal:"Disposizione orizzontale",vertical:"Disposizione verticale"}}}},pc={card:uc,editor:hc},fc={card:{chips:{alignment:"정렬"},climate:{hvac_modes:"HVAC 모드",show_temperature_control:"온도 조절 표시"},cover:{show_buttons_control:"컨트롤 버튼 표시",show_position_control:"위치 컨트롤 표시",show_tilt_position_control:"기울기 컨트롤 표시"},fan:{show_oscillate_control:"오실레이트 컨트롤",show_percentage_control:"퍼센트 컨트롤"},generic:{collapsible_controls:"꺼져있을 때 컨트롤 접기",content_info:"내용 정보",fill_container:"콘테이너 채우기",icon_animation:"활성화 시 아이콘 애니메이션 사용",icon_color:"아이콘 색",icon_type:"아이콘 타입",layout:"레이아웃",primary_info:"기본 정보",secondary_info:"보조 정보",use_entity_picture:"엔티티 사진 사용"},humidifier:{show_target_humidity_control:"습도 조절 표시"},light:{incompatible_controls:"조명이 기능을 지원하지 않는 경우 일부 컨트롤이 표시되지 않을 수 있습니다.",show_brightness_control:"밝기 컨트롤 표시",show_color_control:"색 컨트롤 표시",show_color_temp_control:"색 온도 컨트롤 표시",use_light_color:"조명 색 사용"},lock:{lock:"잠금",open:"열기",unlock:"잠금 해제"},"media-player":{media_controls:"미디어 컨트롤",media_controls_list:{next:"다음 트랙",on_off:"켜기/끄기",play_pause_stop:"재생/일시 정지/정지",previous:"이전 트랙",repeat:"반복 모드",shuffle:"섞기"},show_volume_level:"볼륨 레벨 표시",use_media_artwork:"미디어 아트워크 사용",use_media_info:"미디어 정보 사용",volume_controls:"볼륨 컨트롤",volume_controls_list:{volume_buttons:"볼륨 버튼",volume_mute:"음소거",volume_set:"볼륨 레벨"}},template:{badge_color:"뱃지 색",badge_icon:"뱃지 아이콘",content:"내용",entity_extra:"템플릿 및 작업에 사용",multiline_secondary:"Multiline secondary?",picture:"그림 (아이콘 대체)",primary:"기본 정보",secondary:"보조 정보"},title:{subtitle:"부제목",subtitle_tap_action:"부제목 탭 액션",title:"제목",title_tap_action:"제목 탭 액션"},update:{show_buttons_control:"컨트롤 버튼 표시"},vacuum:{commands:"명령어",commands_list:{on_off:"켜기/끄기"}},weather:{show_conditions:"조건 표시",show_temperature:"온도 표시"}},chip:{"chip-picker":{add:"칩 추가",chips:"칩",clear:"클리어",edit:"수정",select:"칩 선택",types:{action:"액션","alarm-control-panel":"알람",back:"이전",conditional:"Conditional",entity:"엔티티",light:"조명",menu:"메뉴",template:"템플릿",weather:"날씨"}},conditional:{chip:"칩"},sub_element_editor:{title:"칩 에디터"}},form:{alignment_picker:{values:{center:"중앙",default:"기본 정렬",end:"끝",justify:"행 정렬",start:"시작"}},color_picker:{values:{default:"기본 색"}},icon_type_picker:{values:{default:"기본 타입","entity-picture":"엔티티 사진",icon:"아이콘",none:"없음"}},info_picker:{values:{default:"기본 정보","last-changed":"마지막 변경","last-updated":"마지막 업데이트",name:"이름",none:"없음",state:"상태"}},layout_picker:{values:{default:"기본 레이아웃",horizontal:"수평 레이아웃",vertical:"수직 레이아웃"}}}},mc={editor:fc},vc={not_found:"Enhet ikke funnet"},gc={card:{chips:{alignment:"Justering"},climate:{hvac_modes:"HVAC-moduser",show_temperature_control:"Temperaturkontroll?"},cover:{show_buttons_control:"Kontrollere med knapper?",show_position_control:"Posisjonskontroll?",show_tilt_position_control:"Vippe kontroll?"},fan:{show_oscillate_control:"Oscillerende kontroll?",show_percentage_control:"Prosentvis kontroll?"},generic:{collapsible_controls:"Skjul kontroller når av",color:"Farge",content_info:"Innhold",fill_container:"Fyll beholder",icon_animation:"Animer ikon når aktivt?",icon_color:"Ikon farge",icon_type:"Ikontype",layout:"Oppsett",primary_info:"Primærinformasjon",secondary_info:"Sekundærinformasjon",use_entity_picture:"Bruk enhetsbilde?"},humidifier:{show_target_humidity_control:"Fuktighetskontroll?"},light:{incompatible_controls:"Noen kontroller vises kanskje ikke hvis lyset ditt ikke støtter denne funksjonen.",show_brightness_control:"Lysstyrkekontroll?",show_color_control:"Fargekontroll?",show_color_temp_control:"Temperatur fargekontroll?",use_light_color:"Bruk lys farge"},lock:{lock:"Lås",open:"Åpne",unlock:"Lås opp"},"media-player":{media_controls:"Media kontroller",media_controls_list:{next:"Neste spor",on_off:"Slå på/av",play_pause_stop:"Spill/pause/stopp",previous:"Forrige spor",repeat:"Gjenta",shuffle:"Bland"},show_volume_level:"Vis volumnivå",use_media_artwork:"Bruk mediabilde",use_media_info:"Bruk mediainformasjon",volume_controls:"Volumkontroller",volume_controls_list:{volume_buttons:"Volumknapper",volume_mute:"Demp",volume_set:"Volumnivå"}},number:{display_mode:"Visningsmodus",display_mode_list:{buttons:"Knapper",default:"Standard (skyveknapp)",slider:"Skyveknapp"}},template:{badge_color:"Badge farge",badge_icon:"Badge ikon",content:"Innhold",entity_extra:"Brukes i maler og handlinger",label:"Etikett",multiline_secondary:"Multilinje sekundær?",picture:"Bilde (erstatter ikonet)",primary:"Primærinformasjon",secondary:"Sekundærinformasjon"},title:{subtitle:"Undertekst",subtitle_tap_action:"Undertekst tap action",title:"Tittel",title_tap_action:"Tittel tap action"},update:{show_buttons_control:"Kontroller knapper?"},vacuum:{commands:"Kommandoer",commands_list:{on_off:"Slå på/av"}},weather:{show_conditions:"Forhold?",show_temperature:"Temperatur?"}},chip:{"chip-picker":{add:"Legg til chip",chips:"Chips",clear:"Klare",edit:"Endre",select:"Velg chip",types:{action:"Handling","alarm-control-panel":"Alarm",back:"Tilbake",conditional:"Betinget",entity:"Entitet",light:"Lys",menu:"Meny",spacer:"Mellomrom",template:"Mal",weather:"Vær"}},conditional:{chip:"Chip"},sub_element_editor:{title:"Chip redaktør"}},form:{alignment_picker:{values:{center:"Senter",default:"Standard justering",end:"Slutt",justify:"Blokkjuster",start:"Start"}},color_picker:{values:{default:"Standard farge"}},icon_type_picker:{values:{default:"Standard type","entity-picture":"Enhetsbilde",icon:"Ikon",none:"Ingen"}},info_picker:{values:{default:"Standard informasjon","last-changed":"Sist endret","last-updated":"Sist oppdatert",name:"Navn",none:"Ingen",state:"Tilstand"}},layout_picker:{values:{default:"Standardoppsett",horizontal:"Horisontalt oppsett",vertical:"Vertikalt oppsett"}}}},_c={card:vc,editor:gc},yc={not_found:"Entiteit niet gevonden"},bc={card:{chips:{alignment:"Uitlijning"},climate:{hvac_modes:"HVAC Modes",show_temperature_control:"Temperatuur controle"},cover:{show_buttons_control:"Toon knoppen",show_position_control:"Toon positie bediening",show_tilt_position_control:"Toon tilt control"},fan:{show_oscillate_control:"Bediening oscillatie",show_percentage_control:"Bediening middels percentage"},generic:{collapsible_controls:"Bedieningselementen verbergen wanneer uitgeschakeld",color:"Kleur",content_info:"Inhoud",fill_container:"Vul container",icon_animation:"Pictogram animeren indien actief",icon_color:"Icoon kleur",icon_type:"Icoon type",layout:"Lay-out",primary_info:"Primaire informatie",secondary_info:"Secundaire informatie",use_entity_picture:"Gebruik entiteit afbeelding"},humidifier:{show_target_humidity_control:"Vochtigheid controle?"},light:{incompatible_controls:"Sommige bedieningselementen worden mogelijk niet weergegeven als uw lamp deze functie niet ondersteunt.",show_brightness_control:"Bediening helderheid",show_color_control:"Bediening kleur",show_color_temp_control:"Bediening kleurtemperatuur",use_light_color:"Gebruik licht kleur"},lock:{lock:"Vergrendel",open:"Open",unlock:"Ontgrendel"},"media-player":{media_controls:"Mediabediening",media_controls_list:{next:"Volgende nummer",on_off:"zet aan/uit",play_pause_stop:"Speel/pauze/stop",previous:"Vorige nummer",repeat:"Herhalen",shuffle:"Shuffle"},show_volume_level:"Toon volumeniveau",use_media_artwork:"Gebruik media omslag",use_media_info:"Gebruik media informatie",volume_controls:"Volumeregeling",volume_controls_list:{volume_buttons:"Volume knoppen",volume_mute:"Dempen",volume_set:"Volumeniveau"}},number:{display_mode:"Weergave Modus",display_mode_list:{buttons:"Knoppen",default:"Standaard (schuifbalk)",slider:"Schuifbalk"}},template:{badge_color:"Badge kleur",badge_icon:"Badge icoon",content:"Inhoud",entity_extra:"Gebruikt in sjablonen en acties",label:"Label",multiline_secondary:"Secundaire informatie op meerdere lijnen weergeven",picture:"Afbeelding (zal het icoon vervangen)",primary:"Primaire informatie",secondary:"Secundaire informatie"},title:{subtitle:"Ondertitel",subtitle_tap_action:"Ondertitel tik actie",title:"Titel",title_tap_action:"Titel tik actie"},update:{show_buttons_control:"Bedieningsknoppen"},vacuum:{commands:"Commando's",commands_list:{on_off:"Zet aan/uit"}},weather:{show_conditions:"Weerbeeld",show_temperature:"Temperatuur"}},chip:{"chip-picker":{add:"Toevoegen chip",chips:"Chips",clear:"Maak leeg",edit:"Bewerk",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"}},conditional:{chip:"Chip"},sub_element_editor:{title:"Chip editor"}},form:{alignment_picker:{values:{center:"Midden",default:"Standaard uitlijning",end:"Einde",justify:"Uitlijnen",start:"Begin"}},color_picker:{values:{default:"Standaard kleur"}},icon_type_picker:{values:{default:"Standaard icoon type","entity-picture":"Entiteit afbeelding",icon:"Icoon",none:"Geen"}},info_picker:{values:{default:"Standaard informatie","last-changed":"Laatst gewijzigd","last-updated":"Laatst bijgewerkt",name:"Naam",none:"Geen",state:"Staat"}},layout_picker:{values:{default:"Standaard lay-out",horizontal:"Horizontale lay-out",vertical:"Verticale lay-out"}}}},kc={card:yc,editor:bc},xc={not_found:"Nie znaleziono encji"},wc={card:{chips:{alignment:"Wyrównanie"},climate:{hvac_modes:"Tryby urządzenia",show_temperature_control:"Sterowanie temperaturą?"},cover:{show_buttons_control:"Przyciski sterujące?",show_position_control:"Sterowanie położeniem?",show_tilt_position_control:"Sterowanie poziomem otwarcia?"},fan:{show_oscillate_control:"Sterowanie oscylacją?",show_percentage_control:"Sterowanie procentowe?"},generic:{collapsible_controls:"Zwiń sterowanie, jeśli wyłączone",color:"Kolor",content_info:"Zawartość",fill_container:"Wypełnij zawartością",icon_animation:"Animować, gdy aktywny?",icon_color:"Kolor ikony",icon_type:"Typ ikony",layout:"Układ",primary_info:"Informacje główne",secondary_info:"Informacje drugorzędne",use_entity_picture:"Użyć obrazu encji?"},humidifier:{show_target_humidity_control:"Sterowanie wilgotnością?"},light:{incompatible_controls:"Niektóre funkcje są niewidoczne, jeśli światło ich nie obsługuje.",show_brightness_control:"Sterowanie jasnością?",show_color_control:"Sterowanie kolorami?",show_color_temp_control:"Sterowanie temperaturą światła?",use_light_color:"Użyj koloru światła"},lock:{lock:"Zablokuj",open:"Otwórz",unlock:"Odblokuj"},"media-player":{media_controls:"Sterowanie multimediami",media_controls_list:{next:"Następne nagranie",on_off:"Włącz/wyłącz",play_pause_stop:"Odtwórz/Pauza/Zatrzymaj",previous:"Poprzednie nagranie",repeat:"Powtarzanie",shuffle:"Losowo"},show_volume_level:"Wyświetl poziom głośności",use_media_artwork:"Użyj okładek multimediów",use_media_info:"Użyj informacji o multimediach",volume_controls:"Sterowanie głośnością",volume_controls_list:{volume_buttons:"Przyciski głośności",volume_mute:"Wycisz",volume_set:"Poziom głośności"}},number:{display_mode:"Sposób wyświetlania",display_mode_list:{buttons:"Przyciski",default:"Domyślnie (suwak)",slider:"Suwak"}},template:{badge_color:"Kolor odznaki",badge_icon:"Ikona odznaki",content:"Zawartość",entity_extra:"Używane w szablonach i akcjach",label:"Etykieta",multiline_secondary:"Drugorzędne wielowierszowe?",picture:"Obraz (zamiast ikony)",primary:"Informacje główne",secondary:"Informacje drugorzędne"},title:{subtitle:"Podtytuł",subtitle_tap_action:"Akcja na podtytule",title:"Tytuł",title_tap_action:"Akcja na tytule"},update:{show_buttons_control:"Przyciski sterujące?"},vacuum:{commands:"Polecenia",commands_list:{on_off:"Włącz/Wyłącz"}},weather:{show_conditions:"Warunki?",show_temperature:"Temperatura?"}},chip:{"chip-picker":{add:"Dodaj czip",chips:"Czipy",clear:"Wyczyść",edit:"Edytuj",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"}},conditional:{chip:"Czip"},sub_element_editor:{title:"Edytor czipów"}},form:{alignment_picker:{values:{center:"Wyśrodkowanie",default:"Wyrównanie domyślne",end:"Wyrównanie do prawej",justify:"Justowanie",start:"Wyrównanie do lewej"}},color_picker:{values:{default:"Domyślny kolor"}},icon_type_picker:{values:{default:"Domyślny typ","entity-picture":"Obraz encji",icon:"Ikona",none:"Brak"}},info_picker:{values:{default:"Domyślne informacje","last-changed":"Ostatnia zmiana","last-updated":"Ostatnia aktualizacja",name:"Nazwa",none:"Brak",state:"Stan"}},layout_picker:{values:{default:"Układ domyślny",horizontal:"Układ poziomy",vertical:"Układ pionowy"}}}},Cc={card:xc,editor:wc},Ec={not_found:"Entidade não encontrada"},Ac={card:{chips:{alignment:"Alinhamento"},climate:{hvac_modes:"Modos do HVAC",show_temperature_control:"Controle de temperatura?"},cover:{show_buttons_control:"Botões de controle?",show_position_control:"Controle de posição?",show_tilt_position_control:"Controle de inclinação?"},fan:{show_oscillate_control:"Controle de oscilação?",show_percentage_control:"Controle de porcentagem?"},generic:{collapsible_controls:"Recolher controles quando desligado",color:"Cor",content_info:"Conteúdo",fill_container:"Prencher",icon_animation:"Animar ícone quando ativo?",icon_color:"Cor do ícone",icon_type:"Tipo do ícone",layout:"Layout",primary_info:"Informação primária",secondary_info:"Informação secundária",use_entity_picture:"Usar imagem da entidade?"},humidifier:{show_target_humidity_control:"Controle de umidade?"},light:{incompatible_controls:"Alguns controles podem não ser exibidos se sua luz não suportar o recurso.",show_brightness_control:"Controle de brilho?",show_color_control:"Controle de cor?",show_color_temp_control:"Controle de temperatura de cor?",use_light_color:"Usar cor da luz"},lock:{lock:"Bloquear",open:"Abrir",unlock:"Desbloquear"},"media-player":{media_controls:"Controles de mídia",media_controls_list:{next:"Próxima faixa",on_off:"Ligar/Desligar",play_pause_stop:"Reproduzir/pausar/parar",previous:"Faixa anterior",repeat:"Modo repetição",shuffle:"Embaralhar"},show_volume_level:"Mostrar nível de volume",use_media_artwork:"Usar arte da mídia",use_media_info:"Usar informação da mídia",volume_controls:"Controles de volume",volume_controls_list:{volume_buttons:"Botões de volume",volume_mute:"Mudo",volume_set:"Nível de volume"}},number:{display_mode:"Modo de exibição",display_mode_list:{buttons:"Botões",default:"Padrão (deslizante)",slider:"Deslizante"}},template:{badge_color:"Cor do badge",badge_icon:"Ícone do badge",content:"Conteúdo",entity_extra:"Usado em modelos e ações",label:"Label",multiline_secondary:"Multilinha secundária?",picture:"Imagem (irá substituir o ícone)",primary:"Informação primária",secondary:"Informação secundária"},title:{subtitle:"Legenda",subtitle_tap_action:"Ação de toque na legenda",title:"Título",title_tap_action:"Ação de toque no título"},update:{show_buttons_control:"Botões de controle?"},vacuum:{commands:"Comandos",commands_list:{on_off:"Ligar/Desligar"}},weather:{show_conditions:"Condições?",show_temperature:"Temperatura?"}},chip:{"chip-picker":{add:"Adicionar chip",chips:"Chips",clear:"Limpar",edit:"Editar",select:"Selecionar chip",types:{action:"Ação","alarm-control-panel":"Alarme",back:"Voltar",conditional:"Condicional",entity:"Entidade",light:"Luz",menu:"Menu",spacer:"Espaçador",template:"Template",weather:"Clima"}},conditional:{chip:"Chip"},sub_element_editor:{title:"Editor de chip"}},form:{alignment_picker:{values:{center:"Centro",default:"Alinhamento padrão",end:"Fim",justify:"Justificado",start:"Início"}},color_picker:{values:{default:"Cor padrão"}},icon_type_picker:{values:{default:"Tipo padrão","entity-picture":"Imagem da entidade",icon:"Ícone",none:"Nenhum"}},info_picker:{values:{default:"Informação padrão","last-changed":"Última alteração","last-updated":"Última atualização",name:"Nome",none:"Nenhum",state:"Estado"}},layout_picker:{values:{default:"Layout padrão",horizontal:"Layout horizontal",vertical:"Layout vertical"}}}},Sc={card:Ec,editor:Ac},Oc={card:{chips:{alignment:"Alinhamento"},cover:{show_buttons_control:"Mostrar botões?",show_position_control:"Mostrar controle de posição?"},fan:{show_oscillate_control:"Mostrar controle de oscilação?",show_percentage_control:"Mostrar controle de porcentagem?"},generic:{icon_animation:"Animar ícone quando ativo?",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?"},light:{incompatible_controls:"Alguns controles podem não ser exibidos se a luz não suportar o recurso.",show_brightness_control:"Mostrar controle de brilho?",show_color_control:"Mostrar controle de cor?",show_color_temp_control:"Mostrar controle de temperatura?",use_light_color:"Usar cor da luz?"},template:{content:"Conteúdo",multiline_secondary:"Multilinha secundária?",primary:"Informações primárias",secondary:"Informações secundárias"},title:{subtitle:"Subtítulo",title:"Título"},weather:{show_conditions:"Condições?",show_temperature:"Temperatura?"}},chip:{"chip-picker":{add:"Adicionar ficha",chips:"Fichas",clear:"Limpar",edit:"Editar",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"}},conditional:{chip:"Ficha"},sub_element_editor:{title:"Editor de fichas"}},form:{alignment_picker:{values:{center:"Centrado",default:"Padrão (inicio)",end:"Fim",justify:"Justificado"}},color_picker:{values:{default:"Cor padrão"}},info_picker:{values:{default:"Informações padrão","last-changed":"Última alteração","last-updated":"Última atualização",name:"Nome",none:"Nenhum",state:"Estado"}},layout_picker:{values:{default:"Layout padrão",horizontal:"Layout horizontal",vertical:"Layout vertical"}}}},Tc={editor:Oc},Ic={card:{chips:{alignment:"Aliniere"},climate:{hvac_modes:"Moduri HVAC",show_temperature_control:"Comenzi temperatură?"},cover:{show_buttons_control:"Comenzi pentru control?",show_position_control:"Comandă pentru poziție?",show_tilt_position_control:"Comandă pentru înclinare?"},fan:{icon_animation:"Animare pictograma la activare?",show_oscillate_control:"Comandă oscilație?",show_percentage_control:"Comandă procent?"},generic:{collapsible_controls:"Restrângere la dezactivare",content_info:"Conținut",fill_container:"Umplere container",icon_color:"Culoare pictogramă",icon_type:"Tip pictogramă",layout:"Aranjare",primary_info:"Informație principală",secondary_info:"Informație secundară",use_entity_picture:"Imagine?"},humidifier:{show_target_humidity_control:"Comenzi umiditate?"},light:{incompatible_controls:"Unele comenzi ar putea să nu fie afișate dacă lumina nu suportă această caracteristică.",show_brightness_control:"Comandă pentru strălucire?",show_color_control:"Comandă pentru culoare?",show_color_temp_control:"Comandă pentru temperatură de culoare?",use_light_color:"Folosește culoarea luminii"},lock:{lock:"Încuie",open:"Deschide",unlock:"Descuie"},"media-player":{media_controls:"Comenzi media",media_controls_list:{next:"Pista următoare",on_off:"Pornit/Oprit",play_pause_stop:"Redare/Pauză/Stop",previous:"Pista anterioară",repeat:"Mod repetare",shuffle:"Amestecare"},show_volume_level:"Nivel volum",use_media_artwork:"Grafică media",use_media_info:"Informații media",volume_controls:"Comenzi volum",volume_controls_list:{volume_buttons:"Comenzi volum",volume_mute:"Dezactivare sunet",volume_set:"Nivel volum"}},template:{badge_color:"Culoare insignă",badge_icon:"Pictogramă insignă",content:"Conținut",entity_extra:"Folosită în șabloane și acțiuni",multiline_secondary:"Informație secundară pe mai multe linii?",picture:"Imagine (inlocuiește pictograma)",primary:"Informație principală",secondary:"Informație secundară"},title:{subtitle:"Subtitlu",title:"Titlu"},update:{show_buttons_control:"Comenzi control?"},vacuum:{commands:"Comenzi"},weather:{show_conditions:"Condiții?",show_temperature:"Temperatură?"}},chip:{"chip-picker":{add:"Adaugă jeton",chips:"Jetoane",clear:"Șterge",edit:"Modifică",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"}},conditional:{chip:"Jeton"},sub_element_editor:{title:"Editor jeton"}},form:{alignment_picker:{values:{center:"Centrat",default:"Aliniere implicită",end:"Dreapta",justify:"Umplere",start:"Stânga"}},color_picker:{values:{default:"Culoare implicită"}},icon_type_picker:{values:{default:"Tip implicit","entity-picture":"Imagine",icon:"Pictogramă",none:"Niciuna"}},info_picker:{values:{default:"Informație implicită","last-changed":"Ultima modificare","last-updated":"Ultima actulizare",name:"Nume",none:"Niciuna",state:"Stare"}},layout_picker:{values:{default:"Aranjare implicită",horizontal:"Orizontală",vertical:"Verticală"}}}},zc={editor:Ic},$c={card:{chips:{alignment:"Выравнивание"},climate:{hvac_modes:"Режимы работы",show_temperature_control:"Управлять целевой температурой?"},cover:{show_buttons_control:"Добавить кнопки управления?",show_position_control:"Управлять позицией?",show_tilt_position_control:"Управлять наклоном?"},fan:{icon_animation:"Анимировать иконку когда включено?",show_oscillate_control:"Oscillate control?",show_percentage_control:"Управлять процентами?"},generic:{collapsible_controls:"Сворачивать элементы управления при выключении",content_info:"Содержимое",fill_container:"Заполнение",icon_color:"Цвет иконки",icon_type:"Тип иконки",layout:"Расположение",primary_info:"Основная информация",secondary_info:"Второстепенная информация",use_entity_picture:"Использовать изображение объекта?"},humidifier:{show_target_humidity_control:"Управлять целевым уровенем влажности?"},light:{incompatible_controls:"Некоторые элементы управления могут не отображаться, если ваш светильник не поддерживает эти функции.",show_brightness_control:"Управлять яркостью?",show_color_control:"Управлять цветом?",show_color_temp_control:"Управлять цветовой температурой?",use_light_color:"Использовать текущий цвет света"},lock:{lock:"Закрыто",open:"Открыто",unlock:"Разблокировано"},"media-player":{media_controls:"Управление медиа-устройством",media_controls_list:{next:"Следующий трек",on_off:"Включение/выключение",play_pause_stop:"Воспроизведение/пауза/остановка",previous:"Предыдущий трек",repeat:"Режим повтора",shuffle:"Перемешивание"},show_volume_level:"Показать уровень громкости",use_media_artwork:"Использовать обложку с медиа-устройства",use_media_info:"Использовать информацию с медиа-устройства",volume_controls:"Регулятор громкости",volume_controls_list:{volume_buttons:"Кнопки громкости",volume_mute:"Без звука",volume_set:"Уровень громкости"}},template:{badge_color:"Цвет значка",badge_icon:"Иконка значка",content:"Содержимое",entity_extra:"Используется в шаблонах и действиях",multiline_secondary:"Многострочная Второстепенная информация?",picture:"Изображение (заменить иконку)",primary:"Основная информация",secondary:"Второстепенная информация"},title:{subtitle:"Подзаголовок",title:"Заголовок"},update:{show_buttons_control:"Кнопки управления?"},vacuum:{commands:"Команды"},weather:{show_conditions:"Условия?",show_temperature:"Температура?"}},chip:{"chip-picker":{add:"Добавить мини-карточку",chips:"Мини-карточки",clear:"Очистить",edit:"Изменить",select:"Выбрать мини-карточку",types:{action:"Действие","alarm-control-panel":"Тревога",back:"Назад",conditional:"Условия",entity:"Объект",light:"Освещение",menu:"Меню",template:"Шаблон",weather:"Погода"}},conditional:{chip:"Мини-карточка"},sub_element_editor:{title:"Редактор мини-карточек"}},form:{alignment_picker:{values:{center:"По центру",default:"Выравнивание по умолчанию",end:"К концу",justify:"На всю ширину",start:"К началу"}},color_picker:{values:{default:"Цвет по умолчанию"}},icon_type_picker:{values:{default:"По умолчанию","entity-picture":"Изображение",icon:"Иконка",none:"Нет"}},info_picker:{values:{default:"По умолчанию","last-changed":"Последнее изменение","last-updated":"Последнее обновление",name:"Имя",none:"Нет",state:"Статус"}},layout_picker:{values:{default:"Расположение по умолчанию",horizontal:"Горизонтальное расположение",vertical:"Вертикальное расположение"}}}},Mc={editor:$c},jc={not_found:"Entiteta ni najdena"},Pc={card:{chips:{alignment:"Poravnava"},climate:{hvac_modes:"HVAC načini",show_temperature_control:"Nadzor temperature?"},cover:{show_buttons_control:"Gumbi za upravljanje?",show_position_control:"Nadzor položaja?",show_tilt_position_control:"Nadzor nagiba?"},fan:{show_oscillate_control:"Kontrola nihanja?",show_percentage_control:"Kontrola v odstotkih?"},generic:{collapsible_controls:"Strni kontrolnike, ko so izklopljeni",content_info:"Vsebina",fill_container:"Zapolnitev prostora",icon_animation:"Animacija ikone, ko je aktivna?",icon_color:"Barva ikone",icon_type:"Vrsta ikone",layout:"Postavitev",primary_info:"Primarna informacija",secondary_info:"Sekundarna informacija",use_entity_picture:"Uporabi sliko entitete?"},humidifier:{show_target_humidity_control:"Nadzor vlažnosti?"},light:{incompatible_controls:"Nekateri kontrolniki morda ne bodo prikazani, če vaša luč ne podpira te funkcije.",show_brightness_control:"Nadzor svetlosti?",show_color_control:"Nadzor barv?",show_color_temp_control:"Nadzor temperature barve?",use_light_color:"Uporabi svetlo barvo"},lock:{lock:"Zaklepanje",open:"Odprto",unlock:"Odkleni"},"media-player":{media_controls:"Nadzor medijev",media_controls_list:{next:"Naslednja skladba",on_off:"Vklop/izklop",play_pause_stop:"Predvajaj/pavza/ustavi",previous:"Prejšnja skladba",repeat:"Ponavljajoči način",shuffle:"Naključno"},show_volume_level:"Pokaži raven glasnosti",use_media_artwork:"Uporabite medijsko umetniško delo",use_media_info:"Uporabite informacije o medijih",volume_controls:"Kontrole glasnosti",volume_controls_list:{volume_buttons:"Gumbi za glasnost",volume_mute:"Tiho",volume_set:"Raven glasnosti"}},number:{display_mode:"Način prikaza",display_mode_list:{buttons:"Gumbi",default:"Privzeto (drsnik)",slider:"Drsnik"}},template:{badge_color:"Barva značke",badge_icon:"Ikona značke",content:"Vsebina",entity_extra:"Uporablja se v predlogah in dejanjih",multiline_secondary:"Večvrstični sekundarni?",picture:"Slika (nadomestila bo ikono)",primary:"Primarna informacija",secondary:"Sekundarna informacija"},title:{subtitle:"Podnaslov",subtitle_tap_action:"Dejanje dotika podnapisov",title:"Naziv",title_tap_action:"Dejanje dotika naslova"},update:{show_buttons_control:"Gumbi za upravljanje?"},vacuum:{commands:"Ukazi",commands_list:{on_off:"Vklop/izklop"}},weather:{show_conditions:"Pogoji?",show_temperature:"Temperatura?"}},chip:{"chip-picker":{add:"Dodaj čip",chips:"Čipi",clear:"Pobriši",edit:"Uredi",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"}},conditional:{chip:"Ćiš"},sub_element_editor:{title:"Urejevalnik čipov"}},form:{alignment_picker:{values:{center:"Center",default:"Privzeta poravnava",end:"Konec",justify:"Poravnava",start:"Pričetek"}},color_picker:{values:{default:"Privzeta barva"}},icon_type_picker:{values:{default:"Privzeta vrsta","entity-picture":"Slika entitete",icon:"Ikona",none:"Brez"}},info_picker:{values:{default:"Privzete informacije","last-changed":"Zadnja sprememba","last-updated":"Zadnja posodobitev",name:"Naziv",none:"Brez",state:"Stanje"}},layout_picker:{values:{default:"Privzeta postavitev",horizontal:"Horizontalna postavitev",vertical:"Vertikalna postavitev"}}}},Lc={card:jc,editor:Pc},Dc={not_found:"Entita nenájdená"},Nc={card:{chips:{alignment:"Zarovnanie"},climate:{hvac_modes:"HVAC mód",show_temperature_control:"Ovládanie teploty?"},cover:{show_buttons_control:"Zobraziť ovládacie tlačidlá?",show_position_control:"Ovládanie pozície?",show_tilt_position_control:"Ovládanie natočenia?"},fan:{show_oscillate_control:"Ovládanie oscilácie?",show_percentage_control:"Ovládanie rýchlosti v percentách?"},generic:{collapsible_controls:"Skryť ovládanie v stave VYP.",color:"Farba",content_info:"Obsah",fill_container:"Vyplniť priestor",icon_animation:"Animovaná ikona v stave ZAP?",icon_color:"Farba ikony",icon_type:"Typ ikony",layout:"Rozloženie",primary_info:"Základné info",secondary_info:"Doplnkové info",use_entity_picture:"Použiť obrázok entity?"},humidifier:{show_target_humidity_control:"Ovládanie vlhkosti?"},light:{incompatible_controls:"Niektoré ovládacie prvky sa nemusia zobraziť, pokiaľ ich svetlo nepodporuje.",show_brightness_control:"Ovládanie jasu?",show_color_control:"Ovládanie farby?",show_color_temp_control:"Ovládanie teploty?",use_light_color:"Použiť farbu svetla"},lock:{lock:"Zamknuté",open:"Otvorené",unlock:"Odomknuté"},"media-player":{media_controls:"Ovládanie média",media_controls_list:{next:"Ďalšia",on_off:"Zap / Vyp",play_pause_stop:"Spustiť/pauza/stop",previous:"Predchádzajúca",repeat:"Opakovať",shuffle:"Premiešať"},show_volume_level:"Zobraziť úroveň hlasitosti",use_media_artwork:"Použiť obrázok z média",use_media_info:"Použiť info o médiu",volume_controls:"Ovládanie hlasitosti",volume_controls_list:{volume_buttons:"Tlačidlá hlasitosti",volume_mute:"Stlmiť",volume_set:"Úroveň hlasitosti"}},number:{display_mode:"Režim zobrazenia",display_mode_list:{buttons:"Tlačidlá",default:"Predvolené (posúvač)",slider:"Posúvač"}},template:{badge_color:"Farba odznaku",badge_icon:"Ikona odznaku",content:"Obsah",entity_extra:"Použitá v šablónach a akciách",label:"Štítok",multiline_secondary:"Viacriadkové doplnkové info?",picture:"Obrázok (nahrádza ikonu)",primary:"Základné info",secondary:"Doplnkové info"},title:{subtitle:"Podnadpis",subtitle_tap_action:"Akcia klepnutia na titulky",title:"Nadpis",title_tap_action:"Akcia klepnutia na názov"},update:{show_buttons_control:"Zobraziť ovládacie tlačidlá?"},vacuum:{commands:"Príkazy",commands_list:{on_off:"Zapnúť/Vypnúť"}},weather:{show_conditions:"Zobraziť podmienky?",show_temperature:"Zobraziť teplotu?"}},chip:{"chip-picker":{add:"Pridať štítok",chips:"Štítky",clear:"Vymazať",edit:"Editovať",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"}},conditional:{chip:"Štítok"},sub_element_editor:{title:"Editor štítkov"}},form:{alignment_picker:{values:{center:"Stred",default:"Predvolené zarovnanie",end:"Koniec",justify:"Vyplniť",start:"Začiatok"}},color_picker:{values:{default:"Predvolená farba"}},icon_type_picker:{values:{default:"Predvolený typ","entity-picture":"Obrázok entity",icon:"Ikona",none:"Žiadny"}},info_picker:{values:{default:"Predvolené informácie","last-changed":"Posledná zmena","last-updated":"Posledná aktualizácia",name:"Názov",none:"Žiadna",state:"Stav"}},layout_picker:{values:{default:"Predvolené rozloženie",horizontal:"Vodorovné rozloženie",vertical:"Zvislé rozloženie"}}}},Rc={card:Dc,editor:Nc},Vc={card:{chips:{alignment:"Justering"},climate:{hvac_modes:"HVAC-lägen",show_temperature_control:"Temperaturkontroll?"},cover:{show_buttons_control:"Visa kontrollknappar?",show_position_control:"Visa positionskontroll?",show_tilt_position_control:"Visa lutningskontroll?"},fan:{show_oscillate_control:"Kontroll för oscillera?",show_percentage_control:"Procentuell kontroll?"},generic:{collapsible_controls:"Dölj kontroller när enehten är av",color:"Färg",icon_animation:"Animera ikonen när enheten är på?",icon_color:"Ikonens färg",icon_type:"Ikontyp",layout:"Layout",primary_info:"Primär information",secondary_info:"Sekundär information",use_entity_picture:"Använd enhetens bild?"},light:{incompatible_controls:"Kontroller som inte stöds av enheten kommer inte visas.",show_brightness_control:"Styr ljushet?",show_color_control:"Styr färg?",show_color_temp_control:"Styr färgtemperatur?",use_light_color:"Styr ljusets färg"},lock:{lock:"Lås",open:"Öppna",unlock:"Lås upp"},"media-player":{media_controls:"Mediakontroller",media_controls_list:{next:"Nästa spår",on_off:"Slå på/av",play_pause_stop:"Spela/pausa/stoppa",previous:"Föregående spår",repeat:"Upprepa"},show_volume_level:"Volymkontroll",use_media_artwork:"Visa mediaomslag",volume_controls:"Volymkontroller",volume_controls_list:{volume_buttons:"Volymknappar",volume_mute:"Ljud av",volume_set:"Volymnivå"}},template:{content:"Innehåll",multiline_secondary:"Sekundär med flera rader?",picture:"Bild (ersätter ikonen)",primary:"Primär information",secondary:"Sekundär information"},title:{subtitle:"Underrubrik",title:"Rubrik"},update:{show_buttons_control:"Visa kontrollknappar?"},vacuum:{commands:"Kommandon"},weather:{show_conditions:"Förhållanden?",show_temperature:"Temperatur?"}},chip:{"chip-picker":{add:"Lägg till chip",chips:"Chips",clear:"Rensa",edit:"Redigera",select:"Välj chip",types:{action:"Åtgärd","alarm-control-panel":"Alarm",back:"Bakåt",conditional:"Villkorad",entity:"Enhet",light:"Ljus",menu:"Meny",template:"Mall",weather:"Väder"}},conditional:{chip:"Chip"},sub_element_editor:{title:"Chipredigerare"}},form:{alignment_picker:{values:{center:"Centrerad",default:"Standard (början)",end:"Slutet",justify:"Anpassa"}},color_picker:{values:{default:"Standardfärg"}},info_picker:{values:{default:"Förvald information","last-changed":"Sist ändrad","last-updated":"Sist uppdaterad",name:"Namn",none:"Ingen",state:"Status"}},layout_picker:{values:{default:"Standard",horizontal:"Horisontell",vertical:"Vertikal"}}}},Uc={editor:Vc},Bc={card:{chips:{alignment:"Hizalama"},cover:{show_buttons_control:"Düğme kontrolleri",show_position_control:"Pozisyon kontrolü"},fan:{show_oscillate_control:"Salınım kontrolü",show_percentage_control:"Yüzde kontrolü"},generic:{content_info:"İçerik",icon_animation:"Aktif olduğunda simgeyi hareket ettir",icon_color:"Simge renki",layout:"Düzen",primary_info:"Birinci bilgi",secondary_info:"İkinci bilgi",use_entity_picture:"Varlık resmi kullanılsın"},light:{incompatible_controls:"Kullandığınız lamba bu özellikleri desteklemiyorsa bazı kontroller görüntülenemeyebilir.",show_brightness_control:"Parlaklık kontrolü",show_color_control:"Renk kontrolü",show_color_temp_control:"Renk ısısı kontrolü",use_light_color:"Işık rengini kullan"},template:{content:"İçerik",entity_extra:"Şablonlarda ve eylemlerde kullanılsın",multiline_secondary:"İkinci bilgi çok satır olsun",primary:"Birinci bilgi",secondary:"İkinci bilgi"},title:{subtitle:"Altbaşlık",title:"Başlık"},update:{show_buttons_control:"Düğme kontrolü"},vacuum:{commands:"Komutlar"},weather:{show_conditions:"Hava koşulu",show_temperature:"Sıcaklık"}},chip:{"chip-picker":{add:"Chip ekle",chips:"Chips",clear:"Temizle",edit:"Düzenle",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"}},conditional:{chip:"Chip"},sub_element_editor:{title:"Chip düzenleyici"}},form:{alignment_picker:{values:{center:"Ortala",default:"Varsayılan hizalama",end:"Sağa yasla",justify:"İki yana yasla",start:"Sola yasla"}},color_picker:{values:{default:"Varsayılan renk"}},info_picker:{values:{default:"Varsayılan bilgi","last-changed":"Son Değişim","last-updated":"Son Güncelleme",name:"İsim",none:"None",state:"Durum"}},layout_picker:{values:{default:"Varsayılan düzen",horizontal:"Yatay düzen",vertical:"Dikey düzen"}}}},Fc={editor:Bc},Hc={not_found:"Сутність не знайдено"},Wc={card:{chips:{alignment:"Вирівнювання"},climate:{hvac_modes:"Режими",show_temperature_control:"Керування температурою?"},cover:{show_buttons_control:"Кнопки керування?",show_position_control:"Керування позицією?",show_tilt_position_control:"Керування нахилом?"},fan:{show_oscillate_control:"Керування повротом?",show_percentage_control:"Керування швидкістю?"},generic:{collapsible_controls:"Приховувати елементи керування коли вимкнено?",content_info:"Вміст",fill_container:"Заповнити контейнер",icon_animation:"Анімувати іконку при активації?",icon_color:"Колір іконки",icon_type:"Тип іконки",layout:"Розташування",primary_info:"Головна інформація",secondary_info:"Додаткова інформація",use_entity_picture:"Використовувати зображення сутності?"},humidifier:{show_target_humidity_control:"Керування вологістю?"},light:{incompatible_controls:"Деякі елементи керування можуть не відображатись якщо ваш пристрій не підтримує цю функцію.",show_brightness_control:"Контроль яскравості?",show_color_control:"Керування кольором світла?",show_color_temp_control:"Керування температурою світла?",use_light_color:"Використовувати колір світла"},lock:{lock:"Зачинити",open:"Відкрити",unlock:"Відчинити"},"media-player":{media_controls:"Керування медіа",media_controls_list:{next:"Наступний трек",on_off:"Увімкнути/Вимкнути",play_pause_stop:"Відтворити/пауза/стоп",previous:"Попередній трек",repeat:"Режим повторення",shuffle:"Перемішати"},show_volume_level:"Показати рівень гучності",use_media_artwork:"Використовувати зображення медіа",use_media_info:"Використовувати інформацію медіа",volume_controls:"Елементи керування гучністю",volume_controls_list:{volume_buttons:"Кнопки гучності",volume_mute:"Вимк. звук",volume_set:"Рівень гучності"}},number:{display_mode:"Відображати режим",display_mode_list:{buttons:"Кнопки",default:"За замовчуванням (повзунок)",slider:"Повзунок"}},template:{badge_color:"Колір значка",badge_icon:"Іконка значка",content:"Вміст",entity_extra:"Використовується в шаблонах та діях",multiline_secondary:"Багаторядкова додаткова інформація?",picture:"Зображення (замінить іконку)",primary:"Головна інформація",secondary:"Додаткова інформація"},title:{subtitle:"Підзаголовок",subtitle_tap_action:"Дія при дотику до підзаголовку",title:"Заголовок",title_tap_action:"Дія при дотику до заголовку"},update:{show_buttons_control:"Кнопки керування?"},vacuum:{commands:"Команди",commands_list:{on_off:"Увімкнути/Вимкнути"}},weather:{show_conditions:"Умови?",show_temperature:"Температура?"}},chip:{"chip-picker":{add:"Додати міні-картку",chips:"Міні-картки",clear:"Очистити",edit:"Редагувати",select:"Обрати міні-картку",types:{action:"Дія","alarm-control-panel":"Сигналізація",back:"Назад",conditional:"Умовна",entity:"Сутність",light:"Світло",menu:"Меню",spacer:"Порожнє місце",template:"Вручну",weather:"Погода"}},conditional:{chip:"Міні-картка"},sub_element_editor:{title:"Редактор міні-карток"}},form:{alignment_picker:{values:{center:"По центру",default:"Вирівнювання за замовчуванням",end:"В кінці",justify:"Вирівняти",start:"На початку"}},color_picker:{values:{default:"Колір за замовчуванням"}},icon_type_picker:{values:{default:"За замовчуванням","entity-picture":"Зображення сутності",icon:"Іконка",none:"Нічого"}},info_picker:{values:{default:"Інформація за замовчуванням","last-changed":"Востаннє змінено","last-updated":"Востаннє оновлено",name:"Назва",none:"Нічого",state:"Стан"}},layout_picker:{values:{default:"Розташування за замовчуванням",horizontal:"Горизонтальне розташування",vertical:"Вертикальне розташування"}}}},Yc={card:Hc,editor:Wc},Kc={not_found:"Không tìm thấy thực thể"},Xc={card:{chips:{alignment:"Căn chỉnh"},climate:{hvac_modes:"Chế độ điều hòa",show_temperature_control:"Điều khiển nhiệt độ?"},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?"},fan:{show_oscillate_control:"Điều khiển xoay?",show_percentage_control:"Điều khiển dạng phần trăm?"},generic:{collapsible_controls:"Thu nhỏ điều kiển khi tắt",content_info:"Nội dung",fill_container:"Làm đầy ô chứa",icon_animation:"Biểu tượng chuyển động khi kích hoạt?",icon_color:"Màu biểu tượng",icon_type:"Kiểu biểu tượng",layout:"Bố cục",primary_info:"Thông tin chính",secondary_info:"Thông tin phụ",use_entity_picture:"Dùng ảnh của thực thể?"},humidifier:{show_target_humidity_control:"Điều khiển độ ẩm?"},light:{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 đó.",show_brightness_control:"Điều khiển độ sáng?",show_color_control:"Điều khiển màu sắc?",show_color_temp_control:"Điều khiển nhiệt độ màu?",use_light_color:"Dùng màu đèn"},lock:{lock:"Khóa",open:"Mở",unlock:"Mở khóa"},"media-player":{media_controls:"Điều khiển đa phương tiện",media_controls_list:{next:"Bài tiếp theo",on_off:"Bật/tắt",play_pause_stop:"Phát/tạm dừng/dừng",previous:"Bài trước",repeat:"Chế độ lặp lại",shuffle:"Xáo trộn"},show_volume_level:"Hiện mức âm lượng",use_media_artwork:"Dùng ảnh đa phương tiện",use_media_info:"Dùng thông tin đa phương tiện",volume_controls:"Điều khiển âm lượng",volume_controls_list:{volume_buttons:"Nút âm lượng",volume_mute:"Im lặng",volume_set:"Mức âm lượng"}},number:{display_mode:"Chế độ hiển thị",display_mode_list:{buttons:"Nút",default:"Mặc định (thanh trượt)",slider:"Thanh trượt"}},template:{badge_color:"Màu huy hiệu",badge_icon:"Biểu tượng huy hiệu",content:"Nội dung",entity_extra:"Được sử dụng trong bản mẫu và hành động",multiline_secondary:"Nhiều dòng thông tin phụ?",picture:"Ảnh (thay cho biểu tượng)",primary:"Thông tin chính",secondary:"Thông tin phụ"},title:{subtitle:"Phụ đề",subtitle_tap_action:"Hành động khi nhấp phụ đề",title:"Tiêu đề",title_tap_action:"Hành động khi nhấp tiêu đề"},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"}},weather:{show_conditions:"Điều kiện?",show_temperature:"Nhiệt độ?"}},chip:{"chip-picker":{add:"Thêm phỉnh",chips:"Phỉnh",clear:"Tẩy trống",edit:"Chỉnh sửa",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"}},conditional:{chip:"Phỉnh"},sub_element_editor:{title:"Trình soạn phỉnh"}},form:{alignment_picker:{values:{center:"Căn giữa",default:"Căn chỉnh mặc định",end:"Căn cuối",justify:"Căn hai bên",start:"Căn đầu"}},color_picker:{values:{default:"Màu mặc định"}},icon_type_picker:{values:{default:"Kiểu mặc định","entity-picture":"Ảnh thực thể",icon:"Biểu tượng",none:"Không có"}},info_picker:{values:{default:"Thông tin mặc định","last-changed":"Lần thay đổi cuối","last-updated":"Lần cập nhật cuối",name:"Tên",none:"Không có",state:"Trạng thái"}},layout_picker:{values:{default:"Bố cục mặc định",horizontal:"Bố cục ngang",vertical:"Bố cục dọc"}}}},qc={card:Kc,editor:Xc},Gc={not_found:"未找到实体"},Zc={card:{chips:{alignment:"对齐"},climate:{hvac_modes:"空调模式",show_temperature_control:"温度控制?"},cover:{show_buttons_control:"按钮控制?",show_position_control:"位置控制?",show_tilt_position_control:"角度控制?"},fan:{show_oscillate_control:"摆动控制?",show_percentage_control:"百分比控制?"},generic:{collapsible_controls:"关闭时隐藏控制器",content_info:"内容",fill_container:"填满容器",icon_animation:"激活时使用动态图标?",icon_color:"图标颜色",icon_type:"图标类型",layout:"布局",primary_info:"首要信息",secondary_info:"次要信息",use_entity_picture:"使用实体图片?"},humidifier:{show_target_humidity_control:"湿度控制?"},light:{incompatible_controls:"设备不支持的控制器将不会显示。",show_brightness_control:"亮度控制?",show_color_control:"颜色控制?",show_color_temp_control:"色温控制?",use_light_color:"使用灯光颜色"},lock:{lock:"锁定",open:"打开",unlock:"解锁"},"media-player":{media_controls:"媒体控制",media_controls_list:{next:"下一曲",on_off:"开启/关闭",play_pause_stop:"播放/暂停/停止",previous:"上一曲",repeat:"循环模式",shuffle:"随机"},show_volume_level:"显示音量大小",use_media_artwork:"使用媒体插图",use_media_info:"使用媒体信息",volume_controls:"音量控制",volume_controls_list:{volume_buttons:"音量按钮",volume_mute:"静音",volume_set:"音量等级"}},number:{display_mode:"显示模式",display_mode_list:{buttons:"按钮",default:"默认 (滑块)",slider:"滑块"}},template:{badge_color:"徽标颜色",badge_icon:"徽标图标",content:"内容",entity_extra:"用于模板和动作",multiline_secondary:"多行次要信息?",picture:"图片 (将会替代图标)",primary:"首要信息",secondary:"次要信息"},title:{subtitle:"子标题",subtitle_tap_action:"子标题点击动作",title:"标题",title_tap_action:"标题点击动作"},update:{show_buttons_control:"控制按钮?"},vacuum:{commands:"命令",commands_list:{on_off:"开/关"}},weather:{show_conditions:"条件?",show_temperature:"温度?"}},chip:{"chip-picker":{add:"添加 chip",chips:"Chips",clear:"清除",edit:"编辑",select:"选择 chip",types:{action:"动作","alarm-control-panel":"警戒控制台",back:"返回",conditional:"条件显示",entity:"实体",light:"灯光",menu:"菜单",spacer:"占位符",template:"模板",weather:"天气"}},conditional:{chip:"Chip"},sub_element_editor:{title:"Chip 编辑"}},form:{alignment_picker:{values:{center:"居中对齐",default:"默认",end:"右对齐",justify:"两端对齐",start:"左对齐"}},color_picker:{values:{default:"默认颜色"}},icon_type_picker:{values:{default:"默认类型","entity-picture":"实体图片",icon:"图标",none:"无"}},info_picker:{values:{default:"默认信息","last-changed":"变更时间","last-updated":"更新时间",name:"名称",none:"无",state:"状态"}},layout_picker:{values:{default:"默认布局",horizontal:"水平布局",vertical:"垂直布局"}}}},Jc={card:Gc,editor:Zc},Qc={not_found:"未找到實體"},td={card:{chips:{alignment:"對齊"},climate:{hvac_modes:"空調模式",show_temperature_control:"溫度控制?"},cover:{show_buttons_control:"按鈕控制?",show_position_control:"位置控制?",show_tilt_position_control:"角度控制?"},fan:{show_oscillate_control:"擺頭控制?",show_percentage_control:"百分比控制?"},generic:{collapsible_controls:"關閉時隱藏控制項",color:"顏色",content_info:"內容",fill_container:"填滿容器",icon_animation:"啟動時使用動態圖示?",icon_color:"圖示顏色",icon_type:"圖示樣式",layout:"佈局",primary_info:"主要訊息",secondary_info:"次要訊息",use_entity_picture:"使用實體圖片?"},humidifier:{show_target_humidity_control:"溼度控制?"},light:{incompatible_controls:"不會顯示裝置不支援的控制。",show_brightness_control:"亮度控制?",show_color_control:"色彩控制?",show_color_temp_control:"色溫控制?",use_light_color:"使用燈光顏色"},lock:{lock:"上鎖",open:"打開",unlock:"解鎖"},"media-player":{media_controls:"媒體控制",media_controls_list:{next:"下一首",on_off:"開啟、關閉",play_pause_stop:"播放、暫停、停止",previous:"上一首",repeat:"重複播放",shuffle:"隨機播放"},show_volume_level:"顯示音量大小",use_media_artwork:"使用媒體插圖",use_media_info:"使用媒體資訊",volume_controls:"音量控制",volume_controls_list:{volume_buttons:"音量按鈕",volume_mute:"靜音",volume_set:"音量等級"}},number:{display_mode:"顯示模式",display_mode_list:{buttons:"按鈕",default:"預設 (滑桿)",slider:"滑桿"}},template:{badge_color:"角標顏色",badge_icon:"角標圖示",content:"內容",entity_extra:"用於模板與動作",label:"標籤",multiline_secondary:"多行次要訊息?",picture:"圖片 (將會取代圖示)",primary:"主要訊息",secondary:"次要訊息"},title:{subtitle:"副標題",subtitle_tap_action:"副標題點擊動作",title:"標題",title_tap_action:"標題點擊動作"},update:{show_buttons_control:"按鈕控制?"},vacuum:{commands:"指令",commands_list:{on_off:"開啟、關閉"}},weather:{show_conditions:"狀況?",show_temperature:"溫度?"}},chip:{"chip-picker":{add:"新增小卡片",chips:"小卡片",clear:"清除",edit:"編輯",select:"選擇小卡片",types:{action:"動作","alarm-control-panel":"警報器控制",back:"返回",conditional:"條件",entity:"實體",light:"燈光",menu:"選單",spacer:"佔位符",template:"模板",weather:"天氣"}},conditional:{chip:"小卡片"},sub_element_editor:{title:"小卡片編輯器"}},form:{alignment_picker:{values:{center:"居中對齊",default:"預設對齊",end:"居右對齊",justify:"兩端對齊",start:"居左對齊"}},color_picker:{values:{default:"預設顏色"}},icon_type_picker:{values:{default:"預設樣式","entity-picture":"實體圖片",icon:"圖示",none:"無"}},info_picker:{values:{default:"預設訊息","last-changed":"最近變動時間","last-updated":"最近更新時間",name:"名稱",none:"無",state:"狀態"}},layout_picker:{values:{default:"預設佈局",horizontal:"水平佈局",vertical:"垂直佈局"}}}},ed={card:Qc,editor:td},nd={ar:Object.freeze({__proto__:null,default:Ts,editor:Os}),bg:Object.freeze({__proto__:null,default:zs,editor:Is}),ca:Object.freeze({__proto__:null,card:$s,default:js,editor:Ms}),cs:Object.freeze({__proto__:null,card:Ps,default:Ds,editor:Ls}),da:Object.freeze({__proto__:null,card:Ns,default:Vs,editor:Rs}),de:Object.freeze({__proto__:null,card:Us,default:Fs,editor:Bs}),el:Object.freeze({__proto__:null,default:Ws,editor:Hs}),en:Object.freeze({__proto__:null,card:Ks,default:Xs,editor:Ys}),es:Object.freeze({__proto__:null,card:qs,default:Zs,editor:Gs}),fi:Object.freeze({__proto__:null,default:Qs,editor:Js}),fr:Object.freeze({__proto__:null,card:tc,default:nc,editor:ec}),he:Object.freeze({__proto__:null,default:oc,editor:ic}),hu:Object.freeze({__proto__:null,card:rc,default:lc,editor:ac}),id:Object.freeze({__proto__:null,card:sc,default:dc,editor:cc}),it:Object.freeze({__proto__:null,card:uc,default:pc,editor:hc}),"ko-KR":Object.freeze({__proto__:null,default:mc,editor:fc}),nb:Object.freeze({__proto__:null,card:vc,default:_c,editor:gc}),nl:Object.freeze({__proto__:null,card:yc,default:kc,editor:bc}),pl:Object.freeze({__proto__:null,card:xc,default:Cc,editor:wc}),"pt-BR":Object.freeze({__proto__:null,card:Ec,default:Sc,editor:Ac}),"pt-PT":Object.freeze({__proto__:null,default:Tc,editor:Oc}),ro:Object.freeze({__proto__:null,default:zc,editor:Ic}),ru:Object.freeze({__proto__:null,default:Mc,editor:$c}),sl:Object.freeze({__proto__:null,card:jc,default:Lc,editor:Pc}),sk:Object.freeze({__proto__:null,card:Dc,default:Rc,editor:Nc}),sv:Object.freeze({__proto__:null,default:Uc,editor:Vc}),tr:Object.freeze({__proto__:null,default:Fc,editor:Bc}),uk:Object.freeze({__proto__:null,card:Hc,default:Yc,editor:Wc}),vi:Object.freeze({__proto__:null,card:Kc,default:qc,editor:Xc}),"zh-Hans":Object.freeze({__proto__:null,card:Gc,default:Jc,editor:Zc}),"zh-Hant":Object.freeze({__proto__:null,card:Qc,default:ed,editor:td})};function id(t,e){try{return t.split(".").reduce((function(t,e){return t[e]}),nd[e])}catch(t){return}}function od(t){return function(e){var n,i=id(e,null!==(n=null==t?void 0:t.locale.language)&&void 0!==n?n:"en");return i||(i=id(e,"en")),null!=i?i:e}} -/** - * @license - * Copyright 2020 Google Inc. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * 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 rd="Unknown",ad="Backspace",ld="Enter",sd="Spacebar",cd="PageUp",dd="PageDown",ud="End",hd="Home",pd="ArrowLeft",fd="ArrowUp",md="ArrowRight",vd="ArrowDown",gd="Delete",_d="Escape",yd="Tab",bd=new Set;bd.add(ad),bd.add(ld),bd.add(sd),bd.add(cd),bd.add(dd),bd.add(ud),bd.add(hd),bd.add(pd),bd.add(fd),bd.add(md),bd.add(vd),bd.add(gd),bd.add(_d),bd.add(yd);var kd=8,xd=13,wd=32,Cd=33,Ed=34,Ad=35,Sd=36,Od=37,Td=38,Id=39,zd=40,$d=46,Md=27,jd=9,Pd=new Map;Pd.set(kd,ad),Pd.set(xd,ld),Pd.set(wd,sd),Pd.set(Cd,cd),Pd.set(Ed,dd),Pd.set(Ad,ud),Pd.set(Sd,hd),Pd.set(Od,pd),Pd.set(Td,fd),Pd.set(Id,md),Pd.set(zd,vd),Pd.set($d,gd),Pd.set(Md,_d),Pd.set(jd,yd);var Ld=new Set;function Dd(t){var e=t.key;if(bd.has(e))return e;var n=Pd.get(t.keyCode);return n||rd} -/** - * @license - * Copyright 2020 Google Inc. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * 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. - */Ld.add(cd),Ld.add(dd),Ld.add(ud),Ld.add(hd),Ld.add(pd),Ld.add(fd),Ld.add(md),Ld.add(vd);var Nd={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"},Rd=new Set;Rd.add(Nd.BACKSPACE),Rd.add(Nd.ENTER),Rd.add(Nd.SPACEBAR),Rd.add(Nd.PAGE_UP),Rd.add(Nd.PAGE_DOWN),Rd.add(Nd.END),Rd.add(Nd.HOME),Rd.add(Nd.ARROW_LEFT),Rd.add(Nd.ARROW_UP),Rd.add(Nd.ARROW_RIGHT),Rd.add(Nd.ARROW_DOWN),Rd.add(Nd.DELETE),Rd.add(Nd.ESCAPE),Rd.add(Nd.TAB);var Vd=8,Ud=13,Bd=32,Fd=33,Hd=34,Wd=35,Yd=36,Kd=37,Xd=38,qd=39,Gd=40,Zd=46,Jd=27,Qd=9,tu=new Map;tu.set(Vd,Nd.BACKSPACE),tu.set(Ud,Nd.ENTER),tu.set(Bd,Nd.SPACEBAR),tu.set(Fd,Nd.PAGE_UP),tu.set(Hd,Nd.PAGE_DOWN),tu.set(Wd,Nd.END),tu.set(Yd,Nd.HOME),tu.set(Kd,Nd.ARROW_LEFT),tu.set(Xd,Nd.ARROW_UP),tu.set(qd,Nd.ARROW_RIGHT),tu.set(Gd,Nd.ARROW_DOWN),tu.set(Zd,Nd.DELETE),tu.set(Jd,Nd.ESCAPE),tu.set(Qd,Nd.TAB);var eu,nu,iu=new Set;function ou(t){var e=t.key;if(Rd.has(e))return e;var n=tu.get(t.keyCode);return n||Nd.UNKNOWN} -/** - * @license - * Copyright 2018 Google Inc. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * 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. - */iu.add(Nd.PAGE_UP),iu.add(Nd.PAGE_DOWN),iu.add(Nd.END),iu.add(Nd.HOME),iu.add(Nd.ARROW_LEFT),iu.add(Nd.ARROW_UP),iu.add(Nd.ARROW_RIGHT),iu.add(Nd.ARROW_DOWN);var ru="mdc-list-item--activated",au="mdc-list-item",lu="mdc-list-item--disabled",su="mdc-list-item--selected",cu="mdc-list-item__text",du="mdc-list-item__primary-text",uu="mdc-list";(eu={})[""+ru]="mdc-list-item--activated",eu[""+au]="mdc-list-item",eu[""+lu]="mdc-list-item--disabled",eu[""+su]="mdc-list-item--selected",eu[""+du]="mdc-list-item__primary-text",eu[""+uu]="mdc-list";var hu=((nu={})[""+ru]="mdc-deprecated-list-item--activated",nu[""+au]="mdc-deprecated-list-item",nu[""+lu]="mdc-deprecated-list-item--disabled",nu[""+su]="mdc-deprecated-list-item--selected",nu[""+cu]="mdc-deprecated-list-item__text",nu[""+du]="mdc-deprecated-list-item__primary-text",nu[""+uu]="mdc-deprecated-list",nu);hu[au],hu[au],hu[au],hu[au],hu[au],hu[au];var pu={UNSET_INDEX:-1,TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS:300},fu=["input","button","textarea","select"],mu=function(t){var e=t.target;if(e){var n=(""+e.tagName).toLowerCase();-1===fu.indexOf(n)&&t.preventDefault()}}; -/** - * @license - * Copyright 2020 Google Inc. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * 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 vu(t,e){for(var n=new Map,i=0;ie&&!n(r[l].index)){s=l;break}if(-1!==s)return i.sortedIndexCursor=s,r[i.sortedIndexCursor].index;return-1}(r,a,s,e):function(t,e,n){var i=n.typeaheadBuffer[0],o=t.get(i);if(!o)return-1;var r=o[n.sortedIndexCursor];if(0===r.text.lastIndexOf(n.typeaheadBuffer,0)&&!e(r.index))return r.index;var a=(n.sortedIndexCursor+1)%o.length,l=-1;for(;a!==n.sortedIndexCursor;){var s=o[a],c=0===s.text.lastIndexOf(n.typeaheadBuffer,0),d=!e(s.index);if(c&&d){l=a;break}a=(a+1)%o.length}if(-1!==l)return n.sortedIndexCursor=l,o[n.sortedIndexCursor].index;return-1}(r,s,e),-1===n||l||o(n),n}function _u(t){return t.typeaheadBuffer.length>0} -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -var yu;null===(yu=window.HTMLSlotElement)||void 0===yu||yu.prototype.assignedElements; -/** - * @license - * Copyright 2019 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -var bu,ku,xu=window,wu=xu.ShadowRoot&&(void 0===xu.ShadyCSS||xu.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Cu=Symbol(),Eu=new WeakMap,Au=function(){return Mr((function t(e,n,i){if(zr(this,t),this._$cssResult$=!0,i!==Cu)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=n}),[{key:"styleSheet",get:function(){var t=this.o,e=this.t;if(wu&&void 0===t){var n=void 0!==e&&1===e.length;n&&(t=Eu.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Eu.set(e,t))}return t}},{key:"toString",value:function(){return this.cssText}}])}(),Su=wu?function(t){return t}:function(t){return t instanceof CSSStyleSheet?function(t){var e,n="",i=Or(t.cssRules);try{for(i.s();!(e=i.n()).done;){n+=e.value.cssText}}catch(t){i.e(t)}finally{i.f()}return function(t){return new Au("string"==typeof t?t:t+"",void 0,Cu)}(n)}(t):t},Ou=window,Tu=Ou.trustedTypes,Iu=Tu?Tu.emptyScript:"",zu=Ou.reactiveElementPolyfillSupport,$u={toAttribute:function(t,e){switch(e){case Boolean:t=t?Iu:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){var n=t;switch(e){case Boolean:n=null!==t;break;case Number:n=null===t?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch(t){n=null}}return n}},Mu=function(t,e){return e!==t&&(e==e||t==t)},ju={attribute:!0,type:String,converter:$u,reflect:!1,hasChanged:Mu},Pu="finalized",Lu=function(t){function e(){var t;return zr(this,e),(t=br(this,e))._$Ei=new Map,t.isUpdatePending=!1,t.hasUpdated=!1,t._$El=null,t._$Eu(),t}return wr(e,Cr(HTMLElement)),Mr(e,[{key:"_$Eu",value:function(){var t,e=this;this._$E_=new Promise((function(t){return e.enableUpdating=t})),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((function(t){return t(e)}))}},{key:"addController",value:function(t){var e,n;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(n=t.hostConnected)||void 0===n||n.call(t))}},{key:"removeController",value:function(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}},{key:"_$Eg",value:function(){var t=this;this.constructor.elementProperties.forEach((function(e,n){t.hasOwnProperty(n)&&(t._$Ei.set(n,t[n]),delete t[n])}))}},{key:"createRenderRoot",value:function(){var t,e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return function(t,e){wu?t.adoptedStyleSheets=e.map((function(t){return t instanceof CSSStyleSheet?t:t.styleSheet})):e.forEach((function(e){var n=document.createElement("style"),i=xu.litNonce;void 0!==i&&n.setAttribute("nonce",i),n.textContent=e.cssText,t.appendChild(n)}))}(e,this.constructor.elementStyles),e}},{key:"connectedCallback",value:function(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((function(t){var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}},{key:"enableUpdating",value:function(t){}},{key:"disconnectedCallback",value:function(){var t;null===(t=this._$ES)||void 0===t||t.forEach((function(t){var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}},{key:"attributeChangedCallback",value:function(t,e,n){this._$AK(t,n)}},{key:"_$EO",value:function(t,e){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ju,o=this.constructor._$Ep(t,i);if(void 0!==o&&!0===i.reflect){var r=(void 0!==(null===(n=i.converter)||void 0===n?void 0:n.toAttribute)?i.converter:$u).toAttribute(e,i.type);this._$El=t,null==r?this.removeAttribute(o):this.setAttribute(o,r),this._$El=null}}},{key:"_$AK",value:function(t,e){var n,i=this.constructor,o=i._$Ev.get(t);if(void 0!==o&&this._$El!==o){var r=i.getPropertyOptions(o),a="function"==typeof r.converter?{fromAttribute:r.converter}:void 0!==(null===(n=r.converter)||void 0===n?void 0:n.fromAttribute)?r.converter:$u;this._$El=o,this[o]=a.fromAttribute(e,r.type),this._$El=null}}},{key:"requestUpdate",value:function(t,e,n){var i=!0;void 0!==t&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||Mu)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===n.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}},{key:"_$Ej",value:(n=yr(gr().mark((function t(){var e;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.isUpdatePending=!0,t.prev=1,t.next=4,this._$E_;case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(1),Promise.reject(t.t0);case 9:if(e=this.scheduleUpdate(),t.t1=null!=e,!t.t1){t.next=14;break}return t.next=14,e;case 14:return t.abrupt("return",!this.isUpdatePending);case 15:case"end":return t.stop()}}),t,this,[[1,6]])}))),function(){return n.apply(this,arguments)})},{key:"scheduleUpdate",value:function(){return this.performUpdate()}},{key:"performUpdate",value:function(){var t,e=this;if(this.isUpdatePending){this.hasUpdated,this._$Ei&&(this._$Ei.forEach((function(t,n){return e[n]=t})),this._$Ei=void 0);var n=!1,i=this._$AL;try{(n=this.shouldUpdate(i))?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((function(t){var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw n=!1,this._$Ek(),t}n&&this._$AE(i)}}},{key:"willUpdate",value:function(t){}},{key:"_$AE",value:function(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((function(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)}},{key:"_$Ek",value:function(){this._$AL=new Map,this.isUpdatePending=!1}},{key:"updateComplete",get:function(){return this.getUpdateComplete()}},{key:"getUpdateComplete",value:function(){return this._$E_}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var e=this;void 0!==this._$EC&&(this._$EC.forEach((function(t,n){return e._$EO(n,e[n],t)})),this._$EC=void 0),this._$Ek()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}}],[{key:"addInitializer",value:function(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}},{key:"observedAttributes",get:function(){var t=this;this.finalize();var e=[];return this.elementProperties.forEach((function(n,i){var o=t._$Ep(i,n);void 0!==o&&(t._$Ev.set(o,i),e.push(o))})),e}},{key:"createProperty",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ju;if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var n="symbol"==Pr(t)?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}},{key:"getPropertyDescriptor",value:function(t,e,n){return{get:function(){return this[e]},set:function(i){var o=this[t];this[e]=i,this.requestUpdate(t,o,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return this.elementProperties.get(t)||ju}},{key:"finalize",value:function(){if(this.hasOwnProperty(Pu))return!1;this[Pu]=!0;var t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=hr(t.h)),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){var e,n=this.properties,i=Or([].concat(hr(Object.getOwnPropertyNames(n)),hr(Object.getOwnPropertySymbols(n))));try{for(i.s();!(e=i.n()).done;){var o=e.value;this.createProperty(o,n[o])}}catch(t){i.e(t)}finally{i.f()}}return this.elementStyles=this.finalizeStyles(this.styles),!0}},{key:"finalizeStyles",value:function(t){var e=[];if(Array.isArray(t)){var n,i=Or(new Set(t.flat(1/0).reverse()));try{for(i.s();!(n=i.n()).done;){var o=n.value;e.unshift(Su(o))}}catch(t){i.e(t)}finally{i.f()}}else void 0!==t&&e.push(Su(t));return e}},{key:"_$Ep",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}}]);var n}();Lu[Pu]=!0,Lu.elementProperties=new Map,Lu.elementStyles=[],Lu.shadowRootOptions={mode:"open"},null==zu||zu({ReactiveElement:Lu}),(null!==(bu=Ou.reactiveElementVersions)&&void 0!==bu?bu:Ou.reactiveElementVersions=[]).push("1.6.3");var Du=window,Nu=Du.trustedTypes,Ru=Nu?Nu.createPolicy("lit-html",{createHTML:function(t){return t}}):void 0,Vu="$lit$",Uu="lit$".concat((Math.random()+"").slice(9),"$"),Bu="?"+Uu,Fu="<".concat(Bu,">"),Hu=document,Wu=function(){return Hu.createComment("")},Yu=function(t){return null===t||"object"!=Pr(t)&&"function"!=typeof t},Ku=Array.isArray,Xu="[ \t\n\f\r]",qu=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Gu=/-->/g,Zu=/>/g,Ju=RegExp(">|".concat(Xu,"(?:([^\\s\"'>=/]+)(").concat(Xu,"*=").concat(Xu,"*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),Qu=/'/g,th=/"/g,eh=/^(?:script|style|textarea|title)$/i,nh=Symbol.for("lit-noChange"),ih=Symbol.for("lit-nothing"),oh=new WeakMap,rh=Hu.createTreeWalker(Hu,129,null,!1);function ah(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ru?Ru.createHTML(e):e}var lh=function(){return Mr((function t(e,n){var i,o=e.strings,r=e._$litType$;zr(this,t),this.parts=[];var a=0,l=0,s=o.length-1,c=this.parts,d=function(t,e){for(var n,i=t.length-1,o=[],r=2===e?"":"",a=qu,l=0;l"===d[0]?(a=null!=n?n:qu,u=-1):void 0===d[1]?u=-2:(u=a.lastIndex-d[2].length,c=d[1],a=void 0===d[3]?Ju:'"'===d[3]?th:Qu):a===th||a===Qu?a=Ju:a===Gu||a===Zu?a=qu:(a=Ju,n=void 0);var p=a===Ju&&t[l+1].startsWith("/>")?" ":"";r+=a===qu?s+Fu:u>=0?(o.push(c),s.slice(0,u)+Vu+s.slice(u)+Uu+p):s+Uu+(-2===u?(o.push(void 0),l):p)}return[ah(t,r+(t[i]||"")+(2===e?"":"")),o]}(o,r),u=fr(d,2),h=u[0],p=u[1];if(this.el=t.createElement(h,n),rh.currentNode=this.el.content,2===r){var f=this.el.content,m=f.firstChild;m.remove(),f.append.apply(f,hr(m.childNodes))}for(;null!==(i=rh.nextNode())&&c.length0){i.textContent=Nu?Nu.emptyScript:"";for(var O=0;O2&&void 0!==arguments[2]?arguments[2]:t,l=arguments.length>3?arguments[3]:void 0;if(e===nh)return e;var s=void 0!==l?null===(n=a._$Co)||void 0===n?void 0:n[l]:a._$Cl,c=Yu(e)?void 0:e._$litDirective$;return(null==s?void 0:s.constructor)!==c&&(null===(i=null==s?void 0:s._$AO)||void 0===i||i.call(s,!1),void 0===c?s=void 0:(s=new c(t))._$AT(t,a,l),void 0!==l?(null!==(o=(r=a)._$Co)&&void 0!==o?o:r._$Co=[])[l]=s:a._$Cl=s),void 0!==s&&(e=sh(t,s._$AS(t,e.values),s,l)),e}var ch=function(){return Mr((function t(e,n){zr(this,t),this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=n}),[{key:"parentNode",get:function(){return this._$AM.parentNode}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"u",value:function(t){var e,n=this._$AD,i=n.el.content,o=n.parts,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:Hu).importNode(i,!0);rh.currentNode=r;for(var a=rh.nextNode(),l=0,s=0,c=o[0];void 0!==c;){if(l===c.index){var d=void 0;2===c.type?d=new dh(a,a.nextSibling,this,t):1===c.type?d=new c.ctor(a,c.name,c.strings,this,t):6===c.type&&(d=new vh(a,this,t)),this._$AV.push(d),c=o[++s]}l!==(null==c?void 0:c.index)&&(a=rh.nextNode(),l++)}return rh.currentNode=Hu,r}},{key:"v",value:function(t){var e,n=0,i=Or(this._$AV);try{for(i.s();!(e=i.n()).done;){var o=e.value;void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,n),n+=o.strings.length-2):o._$AI(t[n])),n++}}catch(t){i.e(t)}finally{i.f()}}}])}(),dh=function(){function t(e,n,i,o){var r;zr(this,t),this.type=2,this._$AH=ih,this._$AN=void 0,this._$AA=e,this._$AB=n,this._$AM=i,this.options=o,this._$Cp=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}return Mr(t,[{key:"_$AU",get:function(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}},{key:"parentNode",get:function(){var t=this._$AA.parentNode,e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}},{key:"startNode",get:function(){return this._$AA}},{key:"endNode",get:function(){return this._$AB}},{key:"_$AI",value:function(t){t=sh(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),Yu(t)?t===ih||null==t||""===t?(this._$AH!==ih&&this._$AR(),this._$AH=ih):t!==this._$AH&&t!==nh&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):function(t){return Ku(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator])}(t)?this.T(t):this._(t)}},{key:"k",value:function(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}},{key:"$",value:function(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}},{key:"_",value:function(t){this._$AH!==ih&&Yu(this._$AH)?this._$AA.nextSibling.data=t:this.$(Hu.createTextNode(t)),this._$AH=t}},{key:"g",value:function(t){var e,n=t.values,i=t._$litType$,o="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=lh.createElement(ah(i.h,i.h[0]),this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.v(n);else{var r=new ch(o,this),a=r.u(this.options);r.v(n),this.$(a),this._$AH=r}}},{key:"_$AC",value:function(t){var e=oh.get(t.strings);return void 0===e&&oh.set(t.strings,e=new lh(t)),e}},{key:"T",value:function(e){Ku(this._$AH)||(this._$AH=[],this._$AR());var n,i,o=this._$AH,r=0,a=Or(e);try{for(a.s();!(i=a.n()).done;){var l=i.value;r===o.length?o.push(n=new t(this.k(Wu()),this.k(Wu()),this,this.options)):n=o[r],n._$AI(l),r++}}catch(t){a.e(t)}finally{a.f()}r0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,n=arguments.length>1?arguments[1]:void 0;for(null===(t=this._$AP)||void 0===t||t.call(this,!1,!0,n);e&&e!==this._$AB;){var i=e.nextSibling;e.remove(),e=i}}},{key:"setConnected",value:function(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}])}(),uh=function(){return Mr((function t(e,n,i,o,r){zr(this,t),this.type=1,this._$AH=ih,this._$AN=void 0,this.element=e,this.name=n,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=ih}),[{key:"tagName",get:function(){return this.element.tagName}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=this.strings,r=!1;if(void 0===o)t=sh(this,t,e,0),(r=!Yu(t)||t!==this._$AH&&t!==nh)&&(this._$AH=t);else{var a,l,s=t;for(t=o[0],a=0;a1&&void 0!==arguments[1]?arguments[1]:this,0))&&void 0!==e?e:ih)!==nh){var n=this._$AH,i=t===ih&&n!==ih||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,o=t!==ih&&(n===ih||i);i&&this.element.removeEventListener(this.name,this,n),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}}},{key:"handleEvent",value:function(t){var e,n;"function"==typeof this._$AH?this._$AH.call(null!==(n=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==n?n:this.element,t):this._$AH.handleEvent(t)}}])}(),vh=function(){return Mr((function t(e,n,i){zr(this,t),this.element=e,this.type=6,this._$AN=void 0,this._$AM=n,this.options=i}),[{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){sh(this,t)}}])}(),gh=Du.litHtmlPolyfillSupport;null==gh||gh(lh,dh),(null!==(ku=Du.litHtmlVersions)&&void 0!==ku?ku:Du.litHtmlVersions=[]).push("2.8.0");var _h,yh,bh=function(t){function e(){var t;return zr(this,e),(t=br(this,e,arguments)).renderOptions={host:xr(t)},t._$Do=void 0,t}return wr(e,Lu),Mr(e,[{key:"createRenderRoot",value:function(){var t,n,i=dr(e,"createRenderRoot",this,3)([]);return null!==(t=(n=this.renderOptions).renderBefore)&&void 0!==t||(n.renderBefore=i.firstChild),i}},{key:"update",value:function(t){var n=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),dr(e,"update",this,3)([t]),this._$Do=function(t,e,n){var i,o,r=null!==(i=null==n?void 0:n.renderBefore)&&void 0!==i?i:e,a=r._$litPart$;if(void 0===a){var l=null!==(o=null==n?void 0:n.renderBefore)&&void 0!==o?o:null;r._$litPart$=a=new dh(e.insertBefore(Wu(),l),l,void 0,null!=n?n:{})}return a._$AI(t),a}(n,this.renderRoot,this.renderOptions)}},{key:"connectedCallback",value:function(){var t;dr(e,"connectedCallback",this,3)([]),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}},{key:"disconnectedCallback",value:function(){var t;dr(e,"disconnectedCallback",this,3)([]),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}},{key:"render",value:function(){return nh}}])}(); -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */bh.finalized=!0,bh._$litElement$=!0,null===(_h=globalThis.litElementHydrateSupport)||void 0===_h||_h.call(globalThis,{LitElement:bh});var kh=globalThis.litElementPolyfillSupport;null==kh||kh({LitElement:bh}),(null!==(yh=globalThis.litElementVersions)&&void 0!==yh?yh:globalThis.litElementVersions=[]).push("3.3.3");function xh(t){return{addClass:function(e){t.classList.add(e)},removeClass:function(e){t.classList.remove(e)},hasClass:function(e){return t.classList.contains(e)}}}var wh=function(){},Ch={get passive(){return!1}};document.addEventListener("x",wh,Ch),document.removeEventListener("x",wh); -/** - * @license - * Copyright 2018 Google LLC - * SPDX-License-Identifier: Apache-2.0 - */var Eh,Ah,Sh=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,bh),Mr(e,[{key:"click",value:function(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();dr(e,"click",this,3)([])}},{key:"createFoundation",value:function(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}},{key:"firstUpdated",value:function(){this.createFoundation()}}])}(),Oh=null!==(Ah=null===(Eh=window.ShadyDOM)||void 0===Eh?void 0:Eh.inUse)&&void 0!==Ah&&Ah,Th=function(t){function e(){var t;return zr(this,e),(t=br(this,e,arguments)).disabled=!1,t.containingForm=null,t.formDataListener=function(e){t.disabled||t.setFormData(e.formData)},t}return wr(e,Sh),Mr(e,[{key:"findFormElement",value:function(){if(!this.shadowRoot||Oh)return null;for(var t=this.getRootNode().querySelectorAll("form"),e=0,n=Array.from(t);e=this.adapter.getMenuItemCount()||(t===zp.UNSET_INDEX?this.adapter.setSelectedText(""):this.adapter.setSelectedText(this.adapter.getMenuItemTextAtIndex(t).trim()),this.adapter.setSelectedIndex(t),e&&this.adapter.closeMenu(),n||this.lastSelectedIndex===t||this.handleChange(),this.lastSelectedIndex=t)},e.prototype.setValue=function(t,e){void 0===e&&(e=!1);var n=this.adapter.getMenuItemValues().indexOf(t);this.setSelectedIndex(n,!1,e)},e.prototype.getValue=function(){var t=this.adapter.getSelectedIndex(),e=this.adapter.getMenuItemValues();return t!==zp.UNSET_INDEX?e[t]:""},e.prototype.getDisabled=function(){return this.disabled},e.prototype.setDisabled=function(t){this.disabled=t,this.disabled?(this.adapter.addClass(Tp.DISABLED),this.adapter.closeMenu()):this.adapter.removeClass(Tp.DISABLED),this.leadingIcon&&this.leadingIcon.setDisabled(this.disabled),this.disabled?this.adapter.removeSelectAnchorAttr("tabindex"):this.adapter.setSelectAnchorAttr("tabindex","0"),this.adapter.setSelectAnchorAttr("aria-disabled",this.disabled.toString())},e.prototype.openMenu=function(){this.adapter.addClass(Tp.ACTIVATED),this.adapter.openMenu(),this.isMenuOpen=!0,this.adapter.setSelectAnchorAttr("aria-expanded","true")},e.prototype.setHelperTextContent=function(t){this.helperText&&this.helperText.setContent(t)},e.prototype.layout=function(){if(this.adapter.hasLabel()){var t=this.getValue().length>0,e=this.adapter.hasClass(Tp.FOCUSED),n=t||e,i=this.adapter.hasClass(Tp.REQUIRED);this.notchOutline(n),this.adapter.floatLabel(n),this.adapter.setLabelRequired(i)}},e.prototype.layoutOptions=function(){var t=this.adapter.getMenuItemValues().indexOf(this.getValue());this.setSelectedIndex(t,!1,!0)},e.prototype.handleMenuOpened=function(){if(0!==this.adapter.getMenuItemValues().length){var t=this.getSelectedIndex(),e=t>=0?t:0;this.adapter.focusMenuItemAtIndex(e)}},e.prototype.handleMenuClosing=function(){this.adapter.setSelectAnchorAttr("aria-expanded","false")},e.prototype.handleMenuClosed=function(){this.adapter.removeClass(Tp.ACTIVATED),this.isMenuOpen=!1,this.adapter.isSelectAnchorFocused()||this.blur()},e.prototype.handleChange=function(){this.layout(),this.adapter.notifyChange(this.getValue()),this.adapter.hasClass(Tp.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},e.prototype.handleMenuItemAction=function(t){this.setSelectedIndex(t,!0)},e.prototype.handleFocus=function(){this.adapter.addClass(Tp.FOCUSED),this.layout(),this.adapter.activateBottomLine()},e.prototype.handleBlur=function(){this.isMenuOpen||this.blur()},e.prototype.handleClick=function(t){this.disabled||this.recentlyClicked||(this.setClickDebounceTimeout(),this.isMenuOpen?this.adapter.closeMenu():(this.adapter.setRippleCenter(t),this.openMenu()))},e.prototype.handleKeydown=function(t){if(!this.isMenuOpen&&this.adapter.hasClass(Tp.FOCUSED)){var e=Ap(t)===Xh,n=Ap(t)===qh,i=Ap(t)===ep,o=Ap(t)===ip;if(!(t.ctrlKey||t.metaKey)&&(!n&&t.key&&1===t.key.length||n&&this.adapter.isTypeaheadInProgress())){var r=n?" ":t.key,a=this.adapter.typeaheadMatchItem(r,this.getSelectedIndex());return a>=0&&this.setSelectedIndex(a),void t.preventDefault()}(e||n||i||o)&&(this.openMenu(),t.preventDefault())}},e.prototype.notchOutline=function(t){if(this.adapter.hasOutline()){var e=this.adapter.hasClass(Tp.FOCUSED);if(t){var n=zp.LABEL_SCALE,i=this.adapter.getLabelWidth()*n;this.adapter.notchOutline(i)}else e||this.adapter.closeOutline()}},e.prototype.setLeadingIconAriaLabel=function(t){this.leadingIcon&&this.leadingIcon.setAriaLabel(t)},e.prototype.setLeadingIconContent=function(t){this.leadingIcon&&this.leadingIcon.setContent(t)},e.prototype.getUseDefaultValidation=function(){return this.useDefaultValidation},e.prototype.setUseDefaultValidation=function(t){this.useDefaultValidation=t},e.prototype.setValid=function(t){this.useDefaultValidation||(this.customValidity=t),this.adapter.setSelectAnchorAttr("aria-invalid",(!t).toString()),t?(this.adapter.removeClass(Tp.INVALID),this.adapter.removeMenuClass(Tp.MENU_INVALID)):(this.adapter.addClass(Tp.INVALID),this.adapter.addMenuClass(Tp.MENU_INVALID)),this.syncHelperTextValidity(t)},e.prototype.isValid=function(){return this.useDefaultValidation&&this.adapter.hasClass(Tp.REQUIRED)&&!this.adapter.hasClass(Tp.DISABLED)?this.getSelectedIndex()!==zp.UNSET_INDEX&&(0!==this.getSelectedIndex()||Boolean(this.getValue())):this.customValidity},e.prototype.setRequired=function(t){t?this.adapter.addClass(Tp.REQUIRED):this.adapter.removeClass(Tp.REQUIRED),this.adapter.setSelectAnchorAttr("aria-required",t.toString()),this.adapter.setLabelRequired(t)},e.prototype.getRequired=function(){return"true"===this.adapter.getSelectAnchorAttr("aria-required")},e.prototype.init=function(){var t=this.adapter.getAnchorElement();t&&(this.adapter.setMenuAnchorElement(t),this.adapter.setMenuAnchorCorner(Cp.BOTTOM_START)),this.adapter.setMenuWrapFocus(!1),this.setDisabled(this.adapter.hasClass(Tp.DISABLED)),this.syncHelperTextValidity(!this.adapter.hasClass(Tp.INVALID)),this.layout(),this.layoutOptions()},e.prototype.blur=function(){this.adapter.removeClass(Tp.FOCUSED),this.layout(),this.adapter.deactivateBottomLine(),this.adapter.hasClass(Tp.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},e.prototype.syncHelperTextValidity=function(t){if(this.helperText){this.helperText.setValidity(t);var e=this.helperText.isVisible(),n=this.helperText.getId();e&&n?this.adapter.setSelectAnchorAttr(Ip.ARIA_DESCRIBEDBY,n):this.adapter.removeSelectAnchorAttr(Ip.ARIA_DESCRIBEDBY)}},e.prototype.setClickDebounceTimeout=function(){var t=this;clearTimeout(this.clickDebounceTimeout),this.clickDebounceTimeout=setTimeout((function(){t.recentlyClicked=!1}),zp.CLICK_DEBOUNCE_TIMEOUT_MS),this.recentlyClicked=!0},e}(Wh),Mp=window,jp=Mp.ShadowRoot&&(void 0===Mp.ShadyCSS||Mp.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Pp=Symbol(),Lp=new WeakMap,Dp=function(){return Mr((function t(e,n,i){if(zr(this,t),this._$cssResult$=!0,i!==Pp)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=n}),[{key:"styleSheet",get:function(){var t=this.o,e=this.t;if(jp&&void 0===t){var n=void 0!==e&&1===e.length;n&&(t=Lp.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Lp.set(e,t))}return t}},{key:"toString",value:function(){return this.cssText}}])}(),Np=jp?function(t){return t}:function(t){return t instanceof CSSStyleSheet?function(t){var e,n="",i=Or(t.cssRules);try{for(i.s();!(e=i.n()).done;){n+=e.value.cssText}}catch(t){i.e(t)}finally{i.f()}return function(t){return new Dp("string"==typeof t?t:t+"",void 0,Pp)}(n)}(t):t},Rp=window,Vp=Rp.trustedTypes,Up=Vp?Vp.emptyScript:"",Bp=Rp.reactiveElementPolyfillSupport,Fp={toAttribute:function(t,e){switch(e){case Boolean:t=t?Up:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){var n=t;switch(e){case Boolean:n=null!==t;break;case Number:n=null===t?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch(t){n=null}}return n}},Hp=function(t,e){return e!==t&&(e==e||t==t)},Wp={attribute:!0,type:String,converter:Fp,reflect:!1,hasChanged:Hp},Yp="finalized",Kp=function(t){function e(){var t;return zr(this,e),(t=br(this,e))._$Ei=new Map,t.isUpdatePending=!1,t.hasUpdated=!1,t._$El=null,t._$Eu(),t}return wr(e,Cr(HTMLElement)),Mr(e,[{key:"_$Eu",value:function(){var t,e=this;this._$E_=new Promise((function(t){return e.enableUpdating=t})),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((function(t){return t(e)}))}},{key:"addController",value:function(t){var e,n;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(n=t.hostConnected)||void 0===n||n.call(t))}},{key:"removeController",value:function(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}},{key:"_$Eg",value:function(){var t=this;this.constructor.elementProperties.forEach((function(e,n){t.hasOwnProperty(n)&&(t._$Ei.set(n,t[n]),delete t[n])}))}},{key:"createRenderRoot",value:function(){var t,e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return function(t,e){jp?t.adoptedStyleSheets=e.map((function(t){return t instanceof CSSStyleSheet?t:t.styleSheet})):e.forEach((function(e){var n=document.createElement("style"),i=Mp.litNonce;void 0!==i&&n.setAttribute("nonce",i),n.textContent=e.cssText,t.appendChild(n)}))}(e,this.constructor.elementStyles),e}},{key:"connectedCallback",value:function(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((function(t){var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}},{key:"enableUpdating",value:function(t){}},{key:"disconnectedCallback",value:function(){var t;null===(t=this._$ES)||void 0===t||t.forEach((function(t){var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}},{key:"attributeChangedCallback",value:function(t,e,n){this._$AK(t,n)}},{key:"_$EO",value:function(t,e){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Wp,o=this.constructor._$Ep(t,i);if(void 0!==o&&!0===i.reflect){var r=(void 0!==(null===(n=i.converter)||void 0===n?void 0:n.toAttribute)?i.converter:Fp).toAttribute(e,i.type);this._$El=t,null==r?this.removeAttribute(o):this.setAttribute(o,r),this._$El=null}}},{key:"_$AK",value:function(t,e){var n,i=this.constructor,o=i._$Ev.get(t);if(void 0!==o&&this._$El!==o){var r=i.getPropertyOptions(o),a="function"==typeof r.converter?{fromAttribute:r.converter}:void 0!==(null===(n=r.converter)||void 0===n?void 0:n.fromAttribute)?r.converter:Fp;this._$El=o,this[o]=a.fromAttribute(e,r.type),this._$El=null}}},{key:"requestUpdate",value:function(t,e,n){var i=!0;void 0!==t&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||Hp)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===n.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}},{key:"_$Ej",value:(n=yr(gr().mark((function t(){var e;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.isUpdatePending=!0,t.prev=1,t.next=4,this._$E_;case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(1),Promise.reject(t.t0);case 9:if(e=this.scheduleUpdate(),t.t1=null!=e,!t.t1){t.next=14;break}return t.next=14,e;case 14:return t.abrupt("return",!this.isUpdatePending);case 15:case"end":return t.stop()}}),t,this,[[1,6]])}))),function(){return n.apply(this,arguments)})},{key:"scheduleUpdate",value:function(){return this.performUpdate()}},{key:"performUpdate",value:function(){var t,e=this;if(this.isUpdatePending){this.hasUpdated,this._$Ei&&(this._$Ei.forEach((function(t,n){return e[n]=t})),this._$Ei=void 0);var n=!1,i=this._$AL;try{(n=this.shouldUpdate(i))?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((function(t){var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw n=!1,this._$Ek(),t}n&&this._$AE(i)}}},{key:"willUpdate",value:function(t){}},{key:"_$AE",value:function(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((function(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)}},{key:"_$Ek",value:function(){this._$AL=new Map,this.isUpdatePending=!1}},{key:"updateComplete",get:function(){return this.getUpdateComplete()}},{key:"getUpdateComplete",value:function(){return this._$E_}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var e=this;void 0!==this._$EC&&(this._$EC.forEach((function(t,n){return e._$EO(n,e[n],t)})),this._$EC=void 0),this._$Ek()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}}],[{key:"addInitializer",value:function(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}},{key:"observedAttributes",get:function(){var t=this;this.finalize();var e=[];return this.elementProperties.forEach((function(n,i){var o=t._$Ep(i,n);void 0!==o&&(t._$Ev.set(o,i),e.push(o))})),e}},{key:"createProperty",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Wp;if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var n="symbol"==Pr(t)?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}},{key:"getPropertyDescriptor",value:function(t,e,n){return{get:function(){return this[e]},set:function(i){var o=this[t];this[e]=i,this.requestUpdate(t,o,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return this.elementProperties.get(t)||Wp}},{key:"finalize",value:function(){if(this.hasOwnProperty(Yp))return!1;this[Yp]=!0;var t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=hr(t.h)),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){var e,n=this.properties,i=Or([].concat(hr(Object.getOwnPropertyNames(n)),hr(Object.getOwnPropertySymbols(n))));try{for(i.s();!(e=i.n()).done;){var o=e.value;this.createProperty(o,n[o])}}catch(t){i.e(t)}finally{i.f()}}return this.elementStyles=this.finalizeStyles(this.styles),!0}},{key:"finalizeStyles",value:function(t){var e=[];if(Array.isArray(t)){var n,i=Or(new Set(t.flat(1/0).reverse()));try{for(i.s();!(n=i.n()).done;){var o=n.value;e.unshift(Np(o))}}catch(t){i.e(t)}finally{i.f()}}else void 0!==t&&e.push(Np(t));return e}},{key:"_$Ep",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}}]);var n}();Kp[Yp]=!0,Kp.elementProperties=new Map,Kp.elementStyles=[],Kp.shadowRootOptions={mode:"open"},null==Bp||Bp({ReactiveElement:Kp}),(null!==(Sp=Rp.reactiveElementVersions)&&void 0!==Sp?Sp:Rp.reactiveElementVersions=[]).push("1.6.3");var Xp=window,qp=Xp.trustedTypes,Gp=qp?qp.createPolicy("lit-html",{createHTML:function(t){return t}}):void 0,Zp="$lit$",Jp="lit$".concat((Math.random()+"").slice(9),"$"),Qp="?"+Jp,tf="<".concat(Qp,">"),ef=document,nf=function(){return ef.createComment("")},of=function(t){return null===t||"object"!=Pr(t)&&"function"!=typeof t},rf=Array.isArray,af="[ \t\n\f\r]",lf=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,sf=/-->/g,cf=/>/g,df=RegExp(">|".concat(af,"(?:([^\\s\"'>=/]+)(").concat(af,"*=").concat(af,"*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),uf=/'/g,hf=/"/g,pf=/^(?:script|style|textarea|title)$/i,ff=function(t){return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o":"",a=lf,l=0;l"===d[0]?(a=null!=n?n:lf,u=-1):void 0===d[1]?u=-2:(u=a.lastIndex-d[2].length,c=d[1],a=void 0===d[3]?df:'"'===d[3]?hf:uf):a===hf||a===uf?a=df:a===sf||a===cf?a=lf:(a=df,n=void 0);var p=a===df&&t[l+1].startsWith("/>")?" ":"";r+=a===lf?s+tf:u>=0?(o.push(c),s.slice(0,u)+Zp+s.slice(u)+Jp+p):s+Jp+(-2===u?(o.push(void 0),l):p)}return[yf(t,r+(t[i]||"")+(2===e?"":"")),o]}(o,r),u=fr(d,2),h=u[0],p=u[1];if(this.el=t.createElement(h,n),_f.currentNode=this.el.content,2===r){var f=this.el.content,m=f.firstChild;m.remove(),f.append.apply(f,hr(m.childNodes))}for(;null!==(i=_f.nextNode())&&c.length0){i.textContent=qp?qp.emptyScript:"";for(var O=0;O2&&void 0!==arguments[2]?arguments[2]:t,l=arguments.length>3?arguments[3]:void 0;if(e===mf)return e;var s=void 0!==l?null===(n=a._$Co)||void 0===n?void 0:n[l]:a._$Cl,c=of(e)?void 0:e._$litDirective$;return(null==s?void 0:s.constructor)!==c&&(null===(i=null==s?void 0:s._$AO)||void 0===i||i.call(s,!1),void 0===c?s=void 0:(s=new c(t))._$AT(t,a,l),void 0!==l?(null!==(o=(r=a)._$Co)&&void 0!==o?o:r._$Co=[])[l]=s:a._$Cl=s),void 0!==s&&(e=kf(t,s._$AS(t,e.values),s,l)),e}var xf=function(){return Mr((function t(e,n){zr(this,t),this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=n}),[{key:"parentNode",get:function(){return this._$AM.parentNode}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"u",value:function(t){var e,n=this._$AD,i=n.el.content,o=n.parts,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:ef).importNode(i,!0);_f.currentNode=r;for(var a=_f.nextNode(),l=0,s=0,c=o[0];void 0!==c;){if(l===c.index){var d=void 0;2===c.type?d=new wf(a,a.nextSibling,this,t):1===c.type?d=new c.ctor(a,c.name,c.strings,this,t):6===c.type&&(d=new Tf(a,this,t)),this._$AV.push(d),c=o[++s]}l!==(null==c?void 0:c.index)&&(a=_f.nextNode(),l++)}return _f.currentNode=ef,r}},{key:"v",value:function(t){var e,n=0,i=Or(this._$AV);try{for(i.s();!(e=i.n()).done;){var o=e.value;void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,n),n+=o.strings.length-2):o._$AI(t[n])),n++}}catch(t){i.e(t)}finally{i.f()}}}])}(),wf=function(){function t(e,n,i,o){var r;zr(this,t),this.type=2,this._$AH=vf,this._$AN=void 0,this._$AA=e,this._$AB=n,this._$AM=i,this.options=o,this._$Cp=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}return Mr(t,[{key:"_$AU",get:function(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}},{key:"parentNode",get:function(){var t=this._$AA.parentNode,e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}},{key:"startNode",get:function(){return this._$AA}},{key:"endNode",get:function(){return this._$AB}},{key:"_$AI",value:function(t){t=kf(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),of(t)?t===vf||null==t||""===t?(this._$AH!==vf&&this._$AR(),this._$AH=vf):t!==this._$AH&&t!==mf&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):function(t){return rf(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator])}(t)?this.T(t):this._(t)}},{key:"k",value:function(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}},{key:"$",value:function(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}},{key:"_",value:function(t){this._$AH!==vf&&of(this._$AH)?this._$AA.nextSibling.data=t:this.$(ef.createTextNode(t)),this._$AH=t}},{key:"g",value:function(t){var e,n=t.values,i=t._$litType$,o="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=bf.createElement(yf(i.h,i.h[0]),this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.v(n);else{var r=new xf(o,this),a=r.u(this.options);r.v(n),this.$(a),this._$AH=r}}},{key:"_$AC",value:function(t){var e=gf.get(t.strings);return void 0===e&&gf.set(t.strings,e=new bf(t)),e}},{key:"T",value:function(e){rf(this._$AH)||(this._$AH=[],this._$AR());var n,i,o=this._$AH,r=0,a=Or(e);try{for(a.s();!(i=a.n()).done;){var l=i.value;r===o.length?o.push(n=new t(this.k(nf()),this.k(nf()),this,this.options)):n=o[r],n._$AI(l),r++}}catch(t){a.e(t)}finally{a.f()}r0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,n=arguments.length>1?arguments[1]:void 0;for(null===(t=this._$AP)||void 0===t||t.call(this,!1,!0,n);e&&e!==this._$AB;){var i=e.nextSibling;e.remove(),e=i}}},{key:"setConnected",value:function(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}])}(),Cf=function(){return Mr((function t(e,n,i,o,r){zr(this,t),this.type=1,this._$AH=vf,this._$AN=void 0,this.element=e,this.name=n,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=vf}),[{key:"tagName",get:function(){return this.element.tagName}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=this.strings,r=!1;if(void 0===o)t=kf(this,t,e,0),(r=!of(t)||t!==this._$AH&&t!==mf)&&(this._$AH=t);else{var a,l,s=t;for(t=o[0],a=0;a1&&void 0!==arguments[1]?arguments[1]:this,0))&&void 0!==e?e:vf)!==mf){var n=this._$AH,i=t===vf&&n!==vf||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,o=t!==vf&&(n===vf||i);i&&this.element.removeEventListener(this.name,this,n),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}}},{key:"handleEvent",value:function(t){var e,n;"function"==typeof this._$AH?this._$AH.call(null!==(n=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==n?n:this.element,t):this._$AH.handleEvent(t)}}])}(),Tf=function(){return Mr((function t(e,n,i){zr(this,t),this.element=e,this.type=6,this._$AN=void 0,this._$AM=n,this.options=i}),[{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){kf(this,t)}}])}(),If=Xp.litHtmlPolyfillSupport;null==If||If(bf,wf),(null!==(Op=Xp.litHtmlVersions)&&void 0!==Op?Op:Xp.litHtmlVersions=[]).push("2.8.0");var zf,$f,Mf=function(t){function e(){var t;return zr(this,e),(t=br(this,e,arguments)).renderOptions={host:xr(t)},t._$Do=void 0,t}return wr(e,Kp),Mr(e,[{key:"createRenderRoot",value:function(){var t,n,i=dr(e,"createRenderRoot",this,3)([]);return null!==(t=(n=this.renderOptions).renderBefore)&&void 0!==t||(n.renderBefore=i.firstChild),i}},{key:"update",value:function(t){var n=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),dr(e,"update",this,3)([t]),this._$Do=function(t,e,n){var i,o,r=null!==(i=null==n?void 0:n.renderBefore)&&void 0!==i?i:e,a=r._$litPart$;if(void 0===a){var l=null!==(o=null==n?void 0:n.renderBefore)&&void 0!==o?o:null;r._$litPart$=a=new wf(e.insertBefore(nf(),l),l,void 0,null!=n?n:{})}return a._$AI(t),a}(n,this.renderRoot,this.renderOptions)}},{key:"connectedCallback",value:function(){var t;dr(e,"connectedCallback",this,3)([]),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}},{key:"disconnectedCallback",value:function(){var t;dr(e,"disconnectedCallback",this,3)([]),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}},{key:"render",value:function(){return mf}}])}(); -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */Mf.finalized=!0,Mf._$litElement$=!0,null===(zf=globalThis.litElementHydrateSupport)||void 0===zf||zf.call(globalThis,{LitElement:Mf});var jf=globalThis.litElementPolyfillSupport;null==jf||jf({LitElement:Mf}),(null!==($f=globalThis.litElementVersions)&&void 0!==$f?$f:globalThis.litElementVersions=[]).push("3.3.3"); -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -var Pf=function(t,e){return"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?sr(sr({},e),{},{finisher:function(n){n.createProperty(e.key,t)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer:function(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher:function(n){n.createProperty(e.key,t)}}},Lf=function(t,e,n){e.constructor.createProperty(n,t)};function Df(t){return function(e,n){return void 0!==n?Lf(t,e,n):Pf(t,e)}} -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */function Nf(t){return Df(sr(sr({},t),{},{state:!0}))} -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */var Rf,Vf=function(t){var e=t.finisher,n=t.descriptor;return function(t,i){var o;if(void 0===i){var r=null!==(o=t.originalKey)&&void 0!==o?o:t.key,a=null!=n?{kind:"method",placement:"prototype",key:r,descriptor:n(t.key)}:sr(sr({},t),{},{key:r});return null!=e&&(a.finisher=function(t){e(t,r)}),a}var l=t.constructor;void 0!==n&&Object.defineProperty(t,i,n(i)),null==e||e(l,i)}}; -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -function Uf(t,e){return Vf({descriptor:function(e){var n={get:function(){var e,n;return null!==(n=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==n?n:null},enumerable:!0,configurable:!0};return n}})} -/** - * @license - * Copyright 2021 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */null===(Rf=window.HTMLSlotElement)||void 0===Rf||Rf.prototype.assignedElements; -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -var Bf=1,Ff=function(){return Mr((function t(e){zr(this,t)}),[{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AT",value:function(t,e,n){this._$Ct=t,this._$AM=e,this._$Ci=n}},{key:"_$AS",value:function(t,e){return this.update(t,e)}},{key:"update",value:function(t,e){return this.render.apply(this,hr(e))}}])}(),Hf=function(t){return function(){for(var e=arguments.length,n=new Array(e),i=0;i2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");return n}return wr(e,Ff),Mr(e,[{key:"render",value:function(t){return" "+Object.keys(t).filter((function(e){return t[e]})).join(" ")+" "}},{key:"update",value:function(t,e){var n,i,o=this,r=fr(e,1)[0];if(void 0===this.it){for(var a in this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((function(t){return""!==t})))),r)r[a]&&!(null===(n=this.nt)||void 0===n?void 0:n.has(a))&&this.it.add(a);return this.render(r)}var l=t.element.classList;for(var s in this.it.forEach((function(t){t in r||(l.remove(t),o.it.delete(t))})),r){var c=!!r[s];c===this.it.has(s)||(null===(i=this.nt)||void 0===i?void 0:i.has(s))||(c?(l.add(s),this.it.add(s)):(l.remove(s),this.it.delete(s)))}return mf}}])}()),Wf=function(t){return null!=t?t:vf},Yf=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={};for(var n in t)e[n]=t[n];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)},Kf=function(t){function e(){var t;return zr(this,e),(t=br(this,e,arguments)).mdcFoundationClass=$p,t.disabled=!1,t.outlined=!1,t.label="",t.outlineOpen=!1,t.outlineWidth=0,t.value="",t.name="",t.selectedText="",t.icon="",t.menuOpen=!1,t.helper="",t.validateOnInitialRender=!1,t.validationMessage="",t.required=!1,t.naturalMenuWidth=!1,t.isUiValid=!0,t.fixedMenuPosition=!1,t.typeaheadState={bufferClearTimeout:0,currentFirstChar:"",sortedIndexCursor:0,typeaheadBuffer:""},t.sortedIndexByFirstChar=new Map,t.menuElement_=null,t.listeners=[],t.onBodyClickBound=function(){},t._menuUpdateComplete=null,t.valueSetDirectly=!1,t.validityTransform=null,t._validity=Yf(),t}return wr(e,Th),Mr(e,[{key:"items",get:function(){return this.menuElement_||(this.menuElement_=this.menuElement),this.menuElement_?this.menuElement_.items:[]}},{key:"selected",get:function(){var t=this.menuElement;return t?t.selected:null}},{key:"index",get:function(){var t=this.menuElement;return t?t.index:-1}},{key:"shouldRenderHelperText",get:function(){return!!this.helper||!!this.validationMessage}},{key:"validity",get:function(){return this._checkValidity(this.value),this._validity}},{key:"render",value:function(){var t={"mdc-select--disabled":this.disabled,"mdc-select--no-label":!this.label,"mdc-select--filled":!this.outlined,"mdc-select--outlined":this.outlined,"mdc-select--with-leading-icon":!!this.icon,"mdc-select--required":this.required,"mdc-select--invalid":!this.isUiValid},e=this.label?"label":void 0,n=this.shouldRenderHelperText?"helper-text":void 0;return ff(l||(l=or(['\n \n \n \x3c!-- @ts-ignore --\x3e\n
\n ','\n \n \n \n \n \n \n \n \n \n ',"\n
\n ","\n \n ",""])),Hf(t),this.name,this.value,this.disabled,this.required,this.menuOpen,!this.isUiValid,Wf(e),this.required,Wf(n),this.onClick,this.onFocus,this.onBlur,this.onKeydown,this.renderRipple(),this.outlined?this.renderOutline():this.renderLabel(),this.renderLeadingIcon(),this.selectedText,this.renderLineRipple(),this.renderMenu(),this.renderHelperText())}},{key:"renderMenu",value:function(){var t=this.getMenuClasses();return ff(s||(s=or(['\n \n '])))}},{key:"renderOutline",value:function(){return this.outlined?ff(u||(u=or(["\n \n ',"\n "])),this.outlineWidth,this.outlineOpen,this.renderLabel()):vf}},{key:"renderLabel",value:function(){return this.label?ff(h||(h=or(["\n ',"\n "])),Dh(this.label),this.label):vf}},{key:"renderLeadingIcon",value:function(){return this.icon?ff(p||(p=or(['
',"
"])),this.icon):vf}},{key:"renderLineRipple",value:function(){return this.outlined?vf:ff(f||(f=or(["\n \n "])),Hh())}},{key:"renderHelperText",value:function(){if(!this.shouldRenderHelperText)return vf;var t=this.validationMessage&&!this.isUiValid,e={"mdc-select-helper-text--validation-msg":t};return ff(m||(m=or(['\n ',"

"])),Hf(e),t?this.validationMessage:this.helper)}},{key:"createAdapter",value:function(){var t,e=this;return Object.assign(Object.assign({},xh(this.mdcRoot)),{activateBottomLine:function(){e.lineRippleElement&&e.lineRippleElement.lineRippleFoundation.activate()},deactivateBottomLine:function(){e.lineRippleElement&&e.lineRippleElement.lineRippleFoundation.deactivate()},hasLabel:function(){return!!e.label},floatLabel:function(t){e.labelElement&&e.labelElement.floatingLabelFoundation.float(t)},getLabelWidth:function(){return e.labelElement?e.labelElement.floatingLabelFoundation.getWidth():0},setLabelRequired:function(t){e.labelElement&&e.labelElement.floatingLabelFoundation.setRequired(t)},hasOutline:function(){return e.outlined},notchOutline:function(t){e.outlineElement&&!e.outlineOpen&&(e.outlineWidth=t,e.outlineOpen=!0)},closeOutline:function(){e.outlineElement&&(e.outlineOpen=!1)},setRippleCenter:function(t){e.lineRippleElement&&e.lineRippleElement.lineRippleFoundation.setRippleCenter(t)},notifyChange:(t=yr(gr().mark((function t(n){var i;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.valueSetDirectly||n!==e.value){t.next=2;break}return t.abrupt("return");case 2:return e.valueSetDirectly=!1,e.value=n,t.next=6,e.updateComplete;case 6:i=new Event("change",{bubbles:!0}),e.dispatchEvent(i);case 8:case"end":return t.stop()}}),t)}))),function(e){return t.apply(this,arguments)}),setSelectedText:function(t){return e.selectedText=t},isSelectAnchorFocused:function(){var t=e.anchorElement;return!!t&&t.getRootNode().activeElement===t},getSelectAnchorAttr:function(t){var n=e.anchorElement;return n?n.getAttribute(t):null},setSelectAnchorAttr:function(t,n){var i=e.anchorElement;i&&i.setAttribute(t,n)},removeSelectAnchorAttr:function(t){var n=e.anchorElement;n&&n.removeAttribute(t)},openMenu:function(){e.menuOpen=!0},closeMenu:function(){e.menuOpen=!1},addMenuClass:function(){},removeMenuClass:function(){},getAnchorElement:function(){return e.anchorElement},setMenuAnchorElement:function(){},setMenuAnchorCorner:function(){var t=e.menuElement;t&&(t.corner="BOTTOM_START")},setMenuWrapFocus:function(t){var n=e.menuElement;n&&(n.wrapFocus=t)},focusMenuItemAtIndex:function(t){var n=e.menuElement;if(n){var i=n.items[t];i&&i.focus()}},getMenuItemCount:function(){var t=e.menuElement;return t?t.items.length:0},getMenuItemValues:function(){var t=e.menuElement;return t?t.items.map((function(t){return t.value})):[]},getMenuItemTextAtIndex:function(t){var n=e.menuElement;if(!n)return"";var i=n.items[t];return i?i.text:""},getSelectedIndex:function(){return e.index},setSelectedIndex:function(){},isTypeaheadInProgress:function(){return _u(e.typeaheadState)},typeaheadMatchItem:function(t,n){if(!e.menuElement)return-1;var i={focusItemAtIndex:function(t){e.menuElement.focusItemAtIndex(t)},focusedItemIndex:n||e.menuElement.getFocusedItemIndex(),nextChar:t,sortedIndexByFirstChar:e.sortedIndexByFirstChar,skipFocus:!1,isItemAtIndexDisabled:function(t){return e.items[t].disabled}},o=gu(i,e.typeaheadState);return-1!==o&&e.select(o),o}})}},{key:"checkValidity",value:function(){var t=this._checkValidity(this.value);if(!t){var e=new Event("invalid",{bubbles:!1,cancelable:!0});this.dispatchEvent(e)}return t}},{key:"reportValidity",value:function(){var t=this.checkValidity();return this.isUiValid=t,t}},{key:"_checkValidity",value:function(t){var e=this.formElement.validity,n=Yf(e);if(this.validityTransform){var i=this.validityTransform(t,n);n=Object.assign(Object.assign({},n),i)}return this._validity=n,this._validity.valid}},{key:"setCustomValidity",value:function(t){this.validationMessage=t,this.formElement.setCustomValidity(t)}},{key:"getUpdateComplete",value:(a=yr(gr().mark((function t(){var n;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._menuUpdateComplete;case 2:return t.next=4,dr(e,"getUpdateComplete",this,3)([]);case 4:return n=t.sent,t.abrupt("return",n);case 6:case"end":return t.stop()}}),t,this)}))),function(){return a.apply(this,arguments)})},{key:"firstUpdated",value:(r=yr(gr().mark((function t(){var n,i,o=this;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(n=this.menuElement)){t.next=5;break}return this._menuUpdateComplete=n.updateComplete,t.next=5,this._menuUpdateComplete;case 5:if(dr(e,"firstUpdated",this,3)([]),this.mdcFoundation.isValid=function(){return!0},this.mdcFoundation.setValid=function(){},this.mdcFoundation.setDisabled(this.disabled),this.validateOnInitialRender&&this.reportValidity(),this.selected){t.next=21;break}if(this.items.length||!this.slotElement||!this.slotElement.assignedNodes({flatten:!0}).length){t.next=16;break}return t.next=14,new Promise((function(t){return requestAnimationFrame(t)}));case 14:return t.next=16,this.layout();case 16:if(i=this.items.length&&""===this.items[0].value,this.value||!i){t.next=20;break}return this.select(0),t.abrupt("return");case 20:this.selectByValue(this.value);case 21:this.sortedIndexByFirstChar=vu(this.items.length,(function(t){return o.items[t].text}));case 22:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})},{key:"onItemsUpdated",value:function(){var t=this;this.sortedIndexByFirstChar=vu(this.items.length,(function(e){return t.items[e].text}))}},{key:"select",value:function(t){var e=this.menuElement;e&&e.select(t)}},{key:"selectByValue",value:function(t){for(var e=-1,n=0;n0,o=n&&this.index0&&void 0!==a[0])||a[0],this.mdcFoundation&&this.mdcFoundation.layout(),t.next=4,this.updateComplete;case 4:if((n=this.menuElement)&&n.layout(e),i=this.labelElement){t.next=10;break}return this.outlineOpen=!1,t.abrupt("return");case 10:if(o=!!this.label&&!!this.value,i.floatingLabelFoundation.float(o),this.outlined){t.next=14;break}return t.abrupt("return");case 14:return this.outlineOpen=o,t.next=17,this.updateComplete;case 17:r=i.floatingLabelFoundation.getWidth(),this.outlineOpen&&(this.outlineWidth=r);case 19:case"end":return t.stop()}}),t,this)}))),function(){return i.apply(this,arguments)})},{key:"layoutOptions",value:(n=yr(gr().mark((function t(){return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.mdcFoundation){t.next=2;break}return t.abrupt("return");case 2:this.mdcFoundation.layoutOptions();case 3:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})}]);var n,i,o,r,a}();Vr([Uf(".mdc-select")],Kf.prototype,"mdcRoot",void 0),Vr([Uf(".formElement")],Kf.prototype,"formElement",void 0),Vr([Uf("slot")],Kf.prototype,"slotElement",void 0),Vr([Uf("select")],Kf.prototype,"nativeSelectElement",void 0),Vr([Uf("input")],Kf.prototype,"nativeInputElement",void 0),Vr([Uf(".mdc-line-ripple")],Kf.prototype,"lineRippleElement",void 0),Vr([Uf(".mdc-floating-label")],Kf.prototype,"labelElement",void 0),Vr([Uf("mwc-notched-outline")],Kf.prototype,"outlineElement",void 0),Vr([Uf(".mdc-menu")],Kf.prototype,"menuElement",void 0),Vr([Uf(".mdc-select__anchor")],Kf.prototype,"anchorElement",void 0),Vr([Df({type:Boolean,attribute:"disabled",reflect:!0}),Ih((function(t){this.mdcFoundation&&this.mdcFoundation.setDisabled(t)}))],Kf.prototype,"disabled",void 0),Vr([Df({type:Boolean}),Ih((function(t,e){void 0!==e&&this.outlined!==e&&this.layout(!1)}))],Kf.prototype,"outlined",void 0),Vr([Df({type:String}),Ih((function(t,e){void 0!==e&&this.label!==e&&this.layout(!1)}))],Kf.prototype,"label",void 0),Vr([Nf()],Kf.prototype,"outlineOpen",void 0),Vr([Nf()],Kf.prototype,"outlineWidth",void 0),Vr([Df({type:String}),Ih((function(t){if(this.mdcFoundation){var e=null===this.selected&&!!t,n=this.selected&&this.selected.value!==t;(e||n)&&this.selectByValue(t),this.reportValidity()}}))],Kf.prototype,"value",void 0),Vr([Df()],Kf.prototype,"name",void 0),Vr([Nf()],Kf.prototype,"selectedText",void 0),Vr([Df({type:String})],Kf.prototype,"icon",void 0),Vr([Nf()],Kf.prototype,"menuOpen",void 0),Vr([Df({type:String})],Kf.prototype,"helper",void 0),Vr([Df({type:Boolean})],Kf.prototype,"validateOnInitialRender",void 0),Vr([Df({type:String})],Kf.prototype,"validationMessage",void 0),Vr([Df({type:Boolean})],Kf.prototype,"required",void 0),Vr([Df({type:Boolean})],Kf.prototype,"naturalMenuWidth",void 0),Vr([Nf()],Kf.prototype,"isUiValid",void 0),Vr([Df({type:Boolean})],Kf.prototype,"fixedMenuPosition",void 0),Vr([function(t){return Vf({finisher:function(e,n){Object.assign(e.prototype[n],t)}})}({capture:!0})],Kf.prototype,"handleTypeahead",null); -/** - * @license - * Copyright 2021 Google LLC - * SPDX-LIcense-Identifier: Apache-2.0 - */ -var Xf=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i']))):ja}},{key:"connectedCallback",value:function(){dr(e,"connectedCallback",this,3)([]),window.addEventListener("translations-updated",this._translationsUpdated)}},{key:"disconnectedCallback",value:function(){dr(e,"disconnectedCallback",this,3)([]),window.removeEventListener("translations-updated",this._translationsUpdated)}}])}();qf.styles=[Xf,Xr(_||(_=or(["\n .mdc-select__anchor {\n height: var(--select-height, 56px) !important;\n }\n "])))],Vr([Qa({type:Boolean})],qf.prototype,"icon",void 0),qf=Vr([Ga("mushroom-select")],qf);var Gf=["default","start","center","end","justify"],Zf={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"},Jf=function(t){function e(){var t;return zr(this,e),(t=br(this,e,arguments)).label="",t.configValue="",t}return wr(e,Xa),Mr(e,[{key:"_selectChanged",value:function(t){var e=t.target.value;e&&this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:"default"!==e?e:""}}))}},{key:"render",value:function(){var t=od(this.hass),e=this.value||"default";return za(y||(y=or(["\n \n ','\n 0?new s(i,t):new s([].concat(hr((r=e[this.model][t].raw(this.color),Array.isArray(r)?r:[r])),[this.valpha]),t);var r},s[t]=function(){for(var e=arguments.length,n=new Array(e),o=0;o','\n \n ',"\n \n ","\n \n "])),Boolean(this.value),this.label,this.configValue,this._selectChanged,(function(t){return t.stopPropagation()}),this.value||"default",this.renderColorCircle(this.value||"grey"),e("editor.form.color_picker.values.default"),Sm.map((function(e){return za(A||(A=or(["\n \n ','\n ',"\n \n "])),e,function(t){return t.split("-").map((function(t){return function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(t)})).join(" ")}(e),t.renderColorCircle(e))})))}},{key:"renderColorCircle",value:function(t){return za(S||(S=or(['\n \n \n ',"\n \n ","\n \n "])),this.label,this.configValue,this._selectChanged,(function(t){return t.stopPropagation()}),this.value||"default",t("editor.form.icon_type_picker.values.default"),Pm.map((function(e){return za(j||(j=or(["\n \n ","\n \n "])),e,t("editor.form.icon_type_picker.values.".concat(e))||function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(e))})))}}],[{key:"styles",get:function(){return Xr(P||(P=or(["\n mushroom-select {\n width: 100%;\n }\n "])))}}])}();Vr([Qa()],Nm.prototype,"label",void 0),Vr([Qa()],Nm.prototype,"value",void 0),Vr([Qa()],Nm.prototype,"configValue",void 0),Vr([Qa()],Nm.prototype,"hass",void 0),Nm=Vr([Ga("mushroom-icon-type-picker")],Nm);var Rm=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,Xa),Mr(e,[{key:"render",value:function(){return za(L||(L=or(["\n \n "])),this.hass,this.label,this.value,this._valueChanged)}},{key:"_valueChanged",value:function(t){ll(this,"value-changed",{value:t.detail.value||void 0})}}])}();Vr([Qa()],Rm.prototype,"hass",void 0),Vr([Qa()],Rm.prototype,"selector",void 0),Vr([Qa()],Rm.prototype,"value",void 0),Vr([Qa()],Rm.prototype,"label",void 0),Rm=Vr([Ga("ha-selector-mush_icon_type")],Rm);var Vm=function(t){function e(){var t;return zr(this,e),(t=br(this,e,arguments)).label="",t.configValue="",t}return wr(e,Xa),Mr(e,[{key:"_selectChanged",value:function(t){var e=t.target.value;e&&this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:"default"!==e?e:""}}))}},{key:"render",value:function(){var t,e=od(this.hass);return za(D||(D=or(["\n \n ',"\n \n ","\n \n "])),this.label,this.configValue,this._selectChanged,(function(t){return t.stopPropagation()}),this.value||"default",e("editor.form.info_picker.values.default"),(null!==(t=this.infos)&&void 0!==t?t:jm).map((function(t){return za(N||(N=or(["\n \n ","\n \n "])),t,e("editor.form.info_picker.values.".concat(t))||function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(t))})))}}],[{key:"styles",get:function(){return Xr(R||(R=or(["\n mushroom-select {\n width: 100%;\n }\n "])))}}])}();Vr([Qa()],Vm.prototype,"label",void 0),Vr([Qa()],Vm.prototype,"value",void 0),Vr([Qa()],Vm.prototype,"configValue",void 0),Vr([Qa()],Vm.prototype,"infos",void 0),Vr([Qa()],Vm.prototype,"hass",void 0),Vm=Vr([Ga("mushroom-info-picker")],Vm);var Um=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,Xa),Mr(e,[{key:"render",value:function(){return za(V||(V=or(["\n \n "])),this.hass,this.selector.mush_info.infos,this.label,this.value,this._valueChanged)}},{key:"_valueChanged",value:function(t){ll(this,"value-changed",{value:t.detail.value||void 0})}}])}();Vr([Qa()],Um.prototype,"hass",void 0),Vr([Qa()],Um.prototype,"selector",void 0),Vr([Qa()],Um.prototype,"value",void 0),Vr([Qa()],Um.prototype,"label",void 0),Um=Vr([Ga("ha-selector-mush_info")],Um);var Bm=["default","horizontal","vertical"],Fm={default:"mdi:card-text-outline",vertical:"mdi:focus-field-vertical",horizontal:"mdi:focus-field-horizontal"},Hm=function(t){function e(){var t;return zr(this,e),(t=br(this,e,arguments)).label="",t.configValue="",t}return wr(e,Xa),Mr(e,[{key:"_selectChanged",value:function(t){var e=t.target.value;e&&this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:"default"!==e?e:""}}))}},{key:"render",value:function(){var t=od(this.hass),e=this.value||"default";return za(U||(U=or(["\n \n ','\n \n \n ',"\n ","\n \n "])),null!==(t=this.primary)&&void 0!==t?t:"",this.secondary?za(lt||(lt=or(['',""])),this.multiline_secondary?" multiline_secondary":"",this.secondary):ja)}}],[{key:"styles",get:function(){return Xr(st||(st=or(["\n .container {\n min-width: 0;\n flex: 1;\n display: flex;\n flex-direction: column;\n }\n .primary {\n font-weight: var(--card-primary-font-weight);\n font-size: var(--card-primary-font-size);\n line-height: var(--card-primary-line-height);\n color: var(--card-primary-color);\n letter-spacing: var(--card-primary-letter-spacing);\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n .secondary {\n font-weight: var(--card-secondary-font-weight);\n font-size: var(--card-secondary-font-size);\n line-height: var(--card-secondary-line-height);\n color: var(--card-secondary-color);\n letter-spacing: var(--card-secondary-letter-spacing);\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n .multiline_secondary {\n white-space: pre-wrap;\n }\n "])))}}])}();Vr([Qa({attribute:!1})],ov.prototype,"primary",void 0),Vr([Qa({attribute:!1})],ov.prototype,"secondary",void 0),Vr([Qa({type:Boolean})],ov.prototype,"multiline_secondary",void 0),ov=Vr([Ga("mushroom-state-info")],ov);var rv=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,Xa),Mr(e,[{key:"render",value:function(){var t,e,n,i;return za(ct||(ct=or(["\n \n ","\n ","\n \n "])),Ym({container:!0,vertical:"vertical"===(null===(t=this.appearance)||void 0===t?void 0:t.layout)}),"none"!==(null===(e=this.appearance)||void 0===e?void 0:e.icon_type)?za(dt||(dt=or(['\n
\n \n \n
\n ']))):ja,"none"!==(null===(n=this.appearance)||void 0===n?void 0:n.primary_info)||"none"!==(null===(i=this.appearance)||void 0===i?void 0:i.secondary_info)?za(ut||(ut=or(['\n
\n \n
\n ']))):ja)}}],[{key:"styles",get:function(){return Xr(ht||(ht=or(['\n :host {\n display: block;\n height: 100%;\n }\n .container {\n height: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n padding: var(--spacing);\n gap: var(--spacing);\n }\n .icon {\n position: relative;\n }\n .icon ::slotted(*[slot="badge"]) {\n position: absolute;\n top: -3px;\n right: -3px;\n }\n :host([rtl]) .icon ::slotted(*[slot="badge"]) {\n right: initial;\n left: -3px;\n }\n .info {\n min-width: 0;\n width: 100%;\n display: flex;\n flex-direction: column;\n }\n .container.vertical {\n flex-direction: column;\n }\n .container.vertical .info {\n text-align: center;\n }\n '])))}}])}();function av(t){var e,n,i,o,r;return{layout:null!==(e=t.layout)&&void 0!==e?e:lv(t),fill_container:null!==(n=t.fill_container)&&void 0!==n&&n,primary_info:null!==(i=t.primary_info)&&void 0!==i?i:cv(t),secondary_info:null!==(o=t.secondary_info)&&void 0!==o?o:dv(t),icon_type:null!==(r=t.icon_type)&&void 0!==r?r:sv(t)}}function lv(t){return t.vertical?"vertical":"default"}function sv(t){return t.hide_icon?"none":t.use_entity_picture||t.use_media_artwork?"entity-picture":"icon"}function cv(t){return t.hide_name?"none":"name"}function dv(t){return t.hide_state?"none":"state"}Vr([Qa()],rv.prototype,"appearance",void 0),rv=Vr([Ga("mushroom-state-item")],rv);var uv=function(t){function e(){var t;return zr(this,e),(t=br(this,e,arguments)).picture_url="",t}return wr(e,Xa),Mr(e,[{key:"render",value:function(){return za(pt||(pt=or(["\n
\n \n \n \n \n \n ']))):ja}},{key:"renderStateInfo",value:function(t,e,n,i){var o=this.hass.formatEntityState(t),r=null!=i?i:o,a=Lm(e.primary_info,n,r,t,this.hass),l=Lm(e.secondary_info,n,r,t,this.hass);return za(xt||(xt=or(['\n =0}_v({type:bv,name:"Mushroom Alarm Control Panel Card",description:"Card for alarm control panel"});var Av=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,vv),Mr(e,[{key:"hasControls",get:function(){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)}},{key:"_onTap",value:function(t,e){t.stopPropagation(),qm(this,this.hass,this._stateObj,e)}},{key:"_handleAction",value:function(t){ms(this,this.hass,this._config,t.detail.action)}},{key:"render",value:function(){var t=this;if(!this.hass||!this._config||!this._config.entity)return ja;var e=this._stateObj;if(!e)return this.renderNotFound(this._config);var n=this._config.name||e.attributes.friendly_name||"",i=this._config.icon,o=av(this._config),r=Dm(e,o.icon_type),a=this._config.states&&this._config.states.length>0?function(t){return"disarmed"===t.state}(e)?this._config.states.map((function(t){return{mode:t}})):[{mode:"disarmed"}]:[],l=function(t){return Wl!==t.state}(e),s=Rl(this.hass);return za(Ct||(Ct=or(["\n \n \n \n ","\n ","\n ",";\n \n ","\n \n \n "])),Ym({"fill-container":o.fill_container}),o,s,s,o,this._handleAction,fs({hasHold:vs(this._config.hold_action),hasDoubleClick:vs(this._config.double_tap_action)}),r?this.renderPicture(r):this.renderIcon(e,i),this.renderBadge(e),this.renderStateInfo(e,o,n),a.length>0?za(Et||(Et=or(['\n
\n \n \n
\n ']))))}}],[{key:"styles",get:function(){return[nv,Xr($t||($t=or(["\n :host {\n --icon-color: var(--primary-text-color);\n --text-color: var(--primary-text-color);\n }\n ha-card {\n box-sizing: border-box;\n height: var(--chip-height);\n min-width: var(--chip-height);\n font-size: var(--chip-height);\n width: auto;\n border-radius: var(--chip-border-radius);\n display: flex;\n flex-direction: row;\n align-items: center;\n background: var(--chip-background);\n border-width: var(--chip-border-width);\n border-color: var(--chip-border-color);\n box-shadow: var(--chip-box-shadow);\n box-sizing: content-box;\n }\n .avatar {\n --avatar-size: calc(\n var(--chip-height) - 2 * var(--chip-avatar-padding)\n );\n border-radius: var(--chip-avatar-border-radius);\n height: var(--avatar-size);\n width: var(--avatar-size);\n margin-left: var(--chip-avatar-padding);\n box-sizing: border-box;\n object-fit: cover;\n }\n :host([rtl]) .avatar {\n margin-left: initial;\n margin-right: var(--chip-avatar-padding);\n }\n .content {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n height: 100%;\n padding: var(--chip-padding);\n line-height: 0;\n }\n ::slotted(ha-icon),\n ::slotted(ha-state-icon) {\n display: flex;\n line-height: 0;\n --mdc-icon-size: var(--chip-icon-size);\n color: var(--icon-color);\n }\n ::slotted(svg) {\n width: var(--chip-icon-size);\n height: var(--chip-icon-size);\n display: flex;\n }\n ::slotted(span) {\n font-weight: var(--chip-font-weight);\n font-size: var(--chip-font-size);\n line-height: 1;\n color: var(--text-color);\n }\n ::slotted(*:not(:last-child)) {\n margin-right: 0.15em;\n }\n :host([rtl]) ::slotted(*:not(:last-child)) {\n margin-right: initial;\n margin-left: 0.15em;\n }\n "])))]}}])}();Vr([Qa()],Sv.prototype,"icon",void 0),Vr([Qa()],Sv.prototype,"label",void 0),Vr([Qa()],Sv.prototype,"avatar",void 0),Vr([Qa()],Sv.prototype,"avatarOnly",void 0),Sv=Vr([Ga("mushroom-chip")],Sv);var Ov=function(t){try{var e=Tv(t.type);if(customElements.get(e)){var n=document.createElement(e,t);return n.setConfig(t),n}var i=document.createElement(e);return customElements.whenDefined(e).then((function(){try{customElements.upgrade(i),i.setConfig(t)}catch(t){}})),i}catch(t){return void console.error(t)}};function Tv(t){return"".concat(yv,"-").concat(t,"-chip")}function Iv(t){return"".concat(yv,"-").concat(t,"-chip-editor")}var zv=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,Xa),Mr(e,[{key:"setConfig",value:function(t){this._config=t}},{key:"_handleAction",value:function(t){ms(this,this.hass,this._config,t.detail.action)}},{key:"render",value:function(){var t;if(!this.hass||!this._config||!this._config.entity)return ja;var e=this._config.entity,n=this.hass.states[e];if(!n)return ja;var i=this._config.name||n.attributes.friendly_name||"",o=this._config.icon,r=this._config.icon_color,a=this._config.use_entity_picture?Jl(n):void 0,l=this.hass.formatEntityState(n),s=ql(n),c=Lm(null!==(t=this._config.content_info)&&void 0!==t?t:"state",i,l,n,this.hass),d=Rl(this.hass);return za(Mt||(Mt=or(["\n \n ","\n ","\n \n "])),d,this._handleAction,fs({hasHold:vs(this._config.hold_action),hasDoubleClick:vs(this._config.double_tap_action)}),a?this.hass.hassUrl(a):void 0,a&&!c,a?ja:this.renderIcon(n,o,r,s),c?za(jt||(jt=or(["",""])),c):ja)}},{key:"renderIcon",value:function(t,e,n,i){var o={};if(n){var r=Om(n);o["--color"]="rgb(".concat(r,")")}return za(Pt||(Pt=or(["\n \n "])),this.hass,t,e,om(o),Ym({active:i}))}}],[{key:"getConfigElement",value:(i=yr(gr().mark((function t(){return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.resolve().then((function(){return Dy}));case 2:return t.abrupt("return",document.createElement(Iv("entity")));case 3:case"end":return t.stop()}}),t)}))),function(){return i.apply(this,arguments)})},{key:"getStubConfig",value:(n=yr(gr().mark((function t(e){var n;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=Object.keys(e.states),t.abrupt("return",{type:"entity",entity:n[0]});case 2:case"end":return t.stop()}}),t)}))),function(t){return n.apply(this,arguments)})},{key:"styles",get:function(){return Xr(Lt||(Lt=or(["\n mushroom-chip {\n cursor: pointer;\n }\n ha-state-icon.active {\n color: var(--color);\n }\n "])))}}]);var n,i}();Vr([Qa({attribute:!1})],zv.prototype,"hass",void 0),Vr([tl()],zv.prototype,"_config",void 0),zv=Vr([Ga(Tv("entity"))],zv);var $v=new Set(["partlycloudy","cloudy","fog","windy","windy-variant","hail","rainy","snowy","snowy-rainy","pouring","lightning","lightning-rainy"]),Mv=new Set(["hail","rainy","pouring"]),jv=new Set(["windy","windy-variant"]),Pv=new Set(["snowy","snowy-rainy"]),Lv=new Set(["lightning","lightning-rainy"]),Dv=Xr(Dt||(Dt=or(["\n .rain {\n fill: var(--weather-icon-rain-color, #30b3ff);\n }\n .sun {\n fill: var(--weather-icon-sun-color, #fdd93c);\n }\n .moon {\n fill: var(--weather-icon-moon-color, #fcf497);\n }\n .cloud-back {\n fill: var(--weather-icon-cloud-back-color, #d4d4d4);\n }\n .cloud-front {\n fill: var(--weather-icon-cloud-front-color, #f9f9f9);\n }\n"]))),Nv=function(t,e){return $a(Nt||(Nt=or(['\n \n ',"\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n "])),"sunny"===t?$a(Rt||(Rt=or(['\n \n ']))):"","clear-night"===t?$a(Vt||(Vt=or(['\n \n ']))):"","partlycloudy"===t&&e?$a(Ut||(Ut=or(['\n \n ']))):"partlycloudy"===t?$a(Bt||(Bt=or(['\n \n ']))):"",$v.has(t)?$a(Ft||(Ft=or(['\n \n \n ']))):"",Mv.has(t)?$a(Ht||(Ht=or(['\n \n \n \n \n ']))):"","pouring"===t?$a(Wt||(Wt=or(['\n \n \n ']))):"",jv.has(t)?$a(Yt||(Yt=or(['\n \n \n ']))):"",Pv.has(t)?$a(Kt||(Kt=or(['\n \n \n \n ']))):"",Lv.has(t)?$a(Xt||(Xt=or(['\n \n ']))):"")},Rv=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,Xa),Mr(e,[{key:"setConfig",value:function(t){this._config=t}},{key:"_handleAction",value:function(t){ms(this,this.hass,this._config,t.detail.action)}},{key:"render",value:function(){if(!this.hass||!this._config||!this._config.entity)return ja;var t=this._config.entity,e=this.hass.states[t];if(!e)return ja;var n=Nv(e.state,!0),i=[];if(this._config.show_conditions){var o=this.hass.formatEntityState(e);i.push(o)}if(this._config.show_temperature){var r=this.hass.formatEntityAttributeValue(e,"temperature");i.push(r)}var a=Rl(this.hass);return za(qt||(qt=or(["\n \n ","\n ","\n \n "])),a,this._handleAction,fs({hasHold:vs(this._config.hold_action),hasDoubleClick:vs(this._config.double_tap_action)}),n,i.length>0?za(Gt||(Gt=or(["",""])),i.join(" ⸱ ")):ja)}}],[{key:"getConfigElement",value:(i=yr(gr().mark((function t(){return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.resolve().then((function(){return Fy}));case 2:return t.abrupt("return",document.createElement(Iv("weather")));case 3:case"end":return t.stop()}}),t)}))),function(){return i.apply(this,arguments)})},{key:"getStubConfig",value:(n=yr(gr().mark((function t(e){var n,i;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=Object.keys(e.states),i=n.filter((function(t){return"weather"===t.split(".")[0]})),t.abrupt("return",{type:"weather",entity:i[0]});case 3:case"end":return t.stop()}}),t)}))),function(t){return n.apply(this,arguments)})},{key:"styles",get:function(){return[Dv,Xr(Zt||(Zt=or(["\n mushroom-chip {\n cursor: pointer;\n }\n "])))]}}]);var n,i}();Vr([Qa({attribute:!1})],Rv.prototype,"hass",void 0),Vr([tl()],Rv.prototype,"_config",void 0),Rv=Vr([Ga(Tv("weather"))],Rv);var Vv="mdi:arrow-left",Uv=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,Xa),Mr(e,[{key:"setConfig",value:function(t){this._config=t}},{key:"_handleAction",value:function(){window.history.back()}},{key:"render",value:function(){if(!this.hass||!this._config)return ja;var t=this._config.icon||Vv,e=Rl(this.hass);return za(Jt||(Jt=or(["\n \n \n \n "])),e,this._handleAction,fs(),this.hass,t)}}],[{key:"getConfigElement",value:(i=yr(gr().mark((function t(){return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.resolve().then((function(){return Yy}));case 2:return t.abrupt("return",document.createElement(Iv("back")));case 3:case"end":return t.stop()}}),t)}))),function(){return i.apply(this,arguments)})},{key:"getStubConfig",value:(n=yr(gr().mark((function t(e){return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{type:"back"});case 1:case"end":return t.stop()}}),t)}))),function(t){return n.apply(this,arguments)})},{key:"styles",get:function(){return Xr(Qt||(Qt=or(["\n mushroom-chip {\n cursor: pointer;\n }\n "])))}}]);var n,i}();Vr([Qa({attribute:!1})],Uv.prototype,"hass",void 0),Vr([tl()],Uv.prototype,"_config",void 0),Uv=Vr([Ga(Tv("back"))],Uv);var Bv="mdi:flash",Fv=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,Xa),Mr(e,[{key:"setConfig",value:function(t){this._config=t}},{key:"_handleAction",value:function(t){ms(this,this.hass,this._config,t.detail.action)}},{key:"render",value:function(){if(!this.hass||!this._config)return ja;var t=this._config.icon||Bv,e=this._config.icon_color,n={};if(e){var i=Om(e);n["--color"]="rgb(".concat(i,")")}var o=Rl(this.hass);return za(te||(te=or(["\n \n \n \n "])),o,this._handleAction,fs({hasHold:vs(this._config.hold_action),hasDoubleClick:vs(this._config.double_tap_action)}),this.hass,t,om(n))}}],[{key:"getConfigElement",value:(i=yr(gr().mark((function t(){return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.resolve().then((function(){return Gy}));case 2:return t.abrupt("return",document.createElement(Iv("action")));case 3:case"end":return t.stop()}}),t)}))),function(){return i.apply(this,arguments)})},{key:"getStubConfig",value:(n=yr(gr().mark((function t(e){return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{type:"action"});case 1:case"end":return t.stop()}}),t)}))),function(t){return n.apply(this,arguments)})},{key:"styles",get:function(){return Xr(ee||(ee=or(["\n mushroom-chip {\n cursor: pointer;\n }\n ha-state-icon {\n color: var(--color);\n }\n "])))}}]);var n,i}();Vr([Qa({attribute:!1})],Fv.prototype,"hass",void 0),Vr([tl()],Fv.prototype,"_config",void 0),Fv=Vr([Ga(Tv("action"))],Fv);var Hv="mdi:menu",Wv=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,Xa),Mr(e,[{key:"setConfig",value:function(t){this._config=t}},{key:"_handleAction",value:function(){ll(this,"hass-toggle-menu")}},{key:"render",value:function(){if(!this.hass||!this._config)return ja;var t=this._config.icon||Hv,e=Rl(this.hass);return za(ne||(ne=or(["\n \n \n \n "])),e,this._handleAction,fs(),this.hass,t)}}],[{key:"getConfigElement",value:(i=yr(gr().mark((function t(){return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.resolve().then((function(){return Qy}));case 2:return t.abrupt("return",document.createElement(Iv("menu")));case 3:case"end":return t.stop()}}),t)}))),function(){return i.apply(this,arguments)})},{key:"getStubConfig",value:(n=yr(gr().mark((function t(e){return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{type:"menu"});case 1:case"end":return t.stop()}}),t)}))),function(t){return n.apply(this,arguments)})},{key:"styles",get:function(){return Xr(ie||(ie=or(["\n mushroom-chip {\n cursor: pointer;\n }\n "])))}}]);var n,i}();Vr([Qa({attribute:!1})],Wv.prototype,"hass",void 0),Vr([tl()],Wv.prototype,"_config",void 0),Wv=Vr([Ga(Tv("menu"))],Wv);var Yv=new Set(["clear-night","cloudy","fog","lightning","lightning-rainy","partlycloudy","pouring","rainy","hail","snowy","snowy-rainy","sunny","windy","windy-variant"]),Kv=function(t){if(t&&t.startsWith("weather-")){var e=t.replace("weather-","");if(Yv.has(e))return Nv(e,!0)}},Xv=["content","icon","icon_color","picture"],qv=function(t){function e(){var t;return zr(this,e),(t=br(this,e,arguments))._templateResults={},t._unsubRenderTemplates=new Map,t}return wr(e,Xa),Mr(e,[{key:"setConfig",value:function(t){var e=this;Xv.forEach((function(n){var i,o;(null===(i=e._config)||void 0===i?void 0:i[n])===t[n]&&(null===(o=e._config)||void 0===o?void 0:o.entity)==t.entity||e._tryDisconnectKey(n)})),this._config=Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t)}},{key:"connectedCallback",value:function(){dr(e,"connectedCallback",this,3)([]),this._tryConnect()}},{key:"disconnectedCallback",value:function(){this._tryDisconnect()}},{key:"_handleAction",value:function(t){ms(this,this.hass,this._config,t.detail.action)}},{key:"isTemplate",value:function(t){var e,n=null===(e=this._config)||void 0===e?void 0:e[t];return null==n?void 0:n.includes("{")}},{key:"getValue",value:function(t){var e,n,i;return this.isTemplate(t)?null===(n=null===(e=this._templateResults[t])||void 0===e?void 0:e.result)||void 0===n?void 0:n.toString():null===(i=this._config)||void 0===i?void 0:i[t]}},{key:"render",value:function(){if(!this.hass||!this._config)return ja;var t=this.getValue("icon"),e=this.getValue("icon_color"),n=this.getValue("content"),i=this.getValue("picture"),o=Rl(this.hass),r=Kv(t);return za(oe||(oe=or(["\n \n ","\n ","\n \n "])),o,this._handleAction,fs({hasHold:vs(this._config.hold_action),hasDoubleClick:vs(this._config.double_tap_action)}),i?this.hass.hassUrl(i):void 0,i&&!n,i?ja:r||(t?this.renderIcon(t,e):ja),n?this.renderContent(n):ja)}},{key:"renderIcon",value:function(t,e){var n={};if(e){var i=Om(e);n["--color"]="rgb(".concat(i,")")}return za(re||(re=or([""])),this.hass,t,om(n))}},{key:"renderContent",value:function(t){return za(ae||(ae=or(["",""])),t)}},{key:"updated",value:function(t){dr(e,"updated",this,3)([t]),this._config&&this.hass&&this._tryConnect()}},{key:"_tryConnect",value:(l=yr(gr().mark((function t(){var e=this;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:Xv.forEach((function(t){e._tryConnectKey(t)}));case 1:case"end":return t.stop()}}),t)}))),function(){return l.apply(this,arguments)})},{key:"_tryConnectKey",value:(a=yr(gr().mark((function t(e){var n,i,o,r,a=this;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===this._unsubRenderTemplates.get(e)&&this.hass&&this._config&&this.isTemplate(e)){t.next=2;break}return t.abrupt("return");case 2:return t.prev=2,o=cs(this.hass.connection,(function(t){a._templateResults=Object.assign(Object.assign({},a._templateResults),cr({},e,t))}),{template:null!==(n=this._config[e])&&void 0!==n?n:"",entity_ids:this._config.entity_id,variables:{config:this._config,user:this.hass.user.name,entity:this._config.entity},strict:!0}),this._unsubRenderTemplates.set(e,o),t.next=7,o;case 7:t.next=14;break;case 9:t.prev=9,t.t0=t.catch(2),r={result:null!==(i=this._config[e])&&void 0!==i?i:"",listeners:{all:!1,domains:[],entities:[],time:!1}},this._templateResults=Object.assign(Object.assign({},this._templateResults),cr({},e,r)),this._unsubRenderTemplates.delete(e);case 14:case"end":return t.stop()}}),t,this,[[2,9]])}))),function(t){return a.apply(this,arguments)})},{key:"_tryDisconnect",value:(r=yr(gr().mark((function t(){var e=this;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:Xv.forEach((function(t){e._tryDisconnectKey(t)}));case 1:case"end":return t.stop()}}),t)}))),function(){return r.apply(this,arguments)})},{key:"_tryDisconnectKey",value:(o=yr(gr().mark((function t(e){var n;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this._unsubRenderTemplates.get(e)){t.next=3;break}return t.abrupt("return");case 3:return t.prev=3,t.next=6,n;case 6:(0,t.sent)(),this._unsubRenderTemplates.delete(e),t.next=18;break;case 11:if(t.prev=11,t.t0=t.catch(3),"not_found"!==t.t0.code&&"template_error"!==t.t0.code){t.next=17;break}t.next=18;break;case 17:throw t.t0;case 18:case"end":return t.stop()}}),t,this,[[3,11]])}))),function(t){return o.apply(this,arguments)})}],[{key:"getConfigElement",value:(i=yr(gr().mark((function t(){return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.resolve().then((function(){return cb}));case 2:return t.abrupt("return",document.createElement(Iv("template")));case 3:case"end":return t.stop()}}),t)}))),function(){return i.apply(this,arguments)})},{key:"getStubConfig",value:(n=yr(gr().mark((function t(e){return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{type:"template"});case 1:case"end":return t.stop()}}),t)}))),function(t){return n.apply(this,arguments)})},{key:"styles",get:function(){return Xr(le||(le=or(["\n mushroom-chip {\n cursor: pointer;\n }\n ha-state-icon {\n color: var(--color);\n }\n ","\n "])),Dv)}}]);var n,i,o,r,a,l}();Vr([Qa({attribute:!1})],qv.prototype,"hass",void 0),Vr([tl()],qv.prototype,"_config",void 0),Vr([tl()],qv.prototype,"_templateResults",void 0),Vr([tl()],qv.prototype,"_unsubRenderTemplates",void 0),qv=Vr([Ga(Tv("template"))],qv);var Gv=function(){var t,e,n;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===(n=customElements.get("hui-conditional-card"))||void 0===n||n.getConfigElement()},Zv=function(){var t=yr(gr().mark((function t(e){var n;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(n=customElements.get(e))){t.next=3;break}return t.abrupt("return",n);case 3:return t.next=5,customElements.whenDefined(e);case 5:return t.abrupt("return",customElements.get(e));case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Jv=Tv("conditional"),Qv=function(){var t=yr(gr().mark((function t(){var e,n;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!customElements.get(Jv)){t.next=2;break}return t.abrupt("return");case 2:if(customElements.get("hui-conditional-base")){t.next=7;break}return t.next=5,window.loadCardHelpers();case 5:t.sent.createCardElement({type:"conditional",card:{type:"button"},conditions:[]});case 7:return t.next=9,Zv("hui-conditional-base");case 9:e=t.sent,n=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,t),Mr(e,[{key:"setConfig",value:function(t){if(this.validateConfig(t),!t.chip)throw new Error("No chip configured");this._element=Ov(t.chip)}}],[{key:"getConfigElement",value:(i=yr(gr().mark((function t(){return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.resolve().then((function(){return $C}));case 2:return t.abrupt("return",document.createElement(Iv("conditional")));case 3:case"end":return t.stop()}}),t)}))),function(){return i.apply(this,arguments)})},{key:"getStubConfig",value:(n=yr(gr().mark((function t(){return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{type:"conditional",conditions:[]});case 1:case"end":return t.stop()}}),t)}))),function(){return n.apply(this,arguments)})}]);var n,i}(e),customElements.get(Jv)||customElements.define(Jv,n);case 12:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();function tg(t){return null!=t.attributes.rgb_color?t.attributes.rgb_color:void 0}function eg(t){return Am.rgb(t).l()>96}function ng(t){return Am.rgb(t).l()>97}function ig(t){return function(t){var e;return(null===(e=t.attributes.supported_color_modes)||void 0===e?void 0:e.some((function(t){return Ql.includes(t)})))||!1}(t)}function og(t){return function(t){var e;return(null===(e=t.attributes.supported_color_modes)||void 0===e?void 0:e.some((function(t){return ts.includes(t)})))||!1}(t)}var rg=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,Xa),Mr(e,[{key:"setConfig",value:function(t){this._config=Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t)}},{key:"_handleAction",value:function(t){ms(this,this.hass,this._config,t.detail.action)}},{key:"render",value:function(){var t,e;if(!this.hass||!this._config||!this._config.entity)return ja;var n=this._config.entity,i=this.hass.states[n];if(!i)return ja;var o=this._config.name||i.attributes.friendly_name||"",r=this._config.icon,a=this.hass.formatEntityState(i),l=ql(i),s=tg(i),c={};if(s&&(null===(t=this._config)||void 0===t?void 0:t.use_light_color)){var d=s.join(",");c["--color"]="rgb(".concat(d,")"),ng(s)&&(c["--color"]="rgba(var(--rgb-primary-text-color), 0.2)")}var u=Lm(null!==(e=this._config.content_info)&&void 0!==e?e:"state",o,a,i,this.hass),h=Rl(this.hass);return za(se||(se=or(["\n \n \n ","\n \n "])),h,this._handleAction,fs({hasHold:vs(this._config.hold_action),hasDoubleClick:vs(this._config.double_tap_action)}),this.hass,i,r,om(c),Ym({active:l}),u?za(ce||(ce=or(["",""])),u):ja)}}],[{key:"getConfigElement",value:(i=yr(gr().mark((function t(){return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.resolve().then((function(){return VC}));case 2:return t.abrupt("return",document.createElement(Iv("light")));case 3:case"end":return t.stop()}}),t)}))),function(){return i.apply(this,arguments)})},{key:"getStubConfig",value:(n=yr(gr().mark((function t(e){var n,i;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=Object.keys(e.states),i=n.filter((function(t){return"light"===t.split(".")[0]})),t.abrupt("return",{type:"light",entity:i[0]});case 3:case"end":return t.stop()}}),t)}))),function(t){return n.apply(this,arguments)})},{key:"styles",get:function(){return Xr(de||(de=or(["\n :host {\n --color: rgb(var(--rgb-state-light));\n }\n mushroom-chip {\n cursor: pointer;\n }\n ha-state-icon.active {\n color: var(--color);\n }\n "])))}}]);var n,i}();Vr([Qa({attribute:!1})],rg.prototype,"hass",void 0),Vr([tl()],rg.prototype,"_config",void 0),rg=Vr([Ga(Tv("light"))],rg);var ag=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,Xa),Mr(e,[{key:"setConfig",value:function(t){this._config=t}},{key:"_handleAction",value:function(t){ms(this,this.hass,this._config,t.detail.action)}},{key:"render",value:function(){var t;if(!this.hass||!this._config||!this._config.entity)return ja;var e=this._config.entity,n=this.hass.states[e];if(!n)return ja;var i=this._config.name||n.attributes.friendly_name||"",o=this._config.icon,r=Cv(n.state),a=Ev(n.state),l=this.hass.formatEntityState(n),s={};if(r){var c=Om(r);s["--color"]="rgb(".concat(c,")")}var d=Lm(null!==(t=this._config.content_info)&&void 0!==t?t:"state",i,l,n,this.hass),u=Rl(this.hass);return za(ue||(ue=or(["\n \n \n ","\n \n "])),u,this._handleAction,fs({hasHold:vs(this._config.hold_action),hasDoubleClick:vs(this._config.double_tap_action)}),this.hass,n,o,om(s),Ym({pulse:a}),d?za(he||(he=or(["",""])),d):ja)}}],[{key:"getConfigElement",value:(i=yr(gr().mark((function t(){return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.resolve().then((function(){return HC}));case 2:return t.abrupt("return",document.createElement(Iv("alarm-control-panel")));case 3:case"end":return t.stop()}}),t)}))),function(){return i.apply(this,arguments)})},{key:"getStubConfig",value:(n=yr(gr().mark((function t(e){var n,i;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=Object.keys(e.states),i=n.filter((function(t){return xv.includes(t.split(".")[0])})),t.abrupt("return",{type:"alarm-control-panel",entity:i[0]});case 3:case"end":return t.stop()}}),t)}))),function(t){return n.apply(this,arguments)})},{key:"styles",get:function(){return Xr(pe||(pe=or(["\n mushroom-chip {\n cursor: pointer;\n }\n ha-state-icon {\n color: var(--color);\n }\n ha-state-icon.pulse {\n animation: 1s ease 0s infinite normal none running pulse;\n }\n ","\n "])),ev.pulse)}}]);var n,i}();Vr([Qa({attribute:!1})],ag.prototype,"hass",void 0),Vr([tl()],ag.prototype,"_config",void 0),ag=Vr([Ga(Tv("alarm-control-panel"))],ag);var lg=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,Xa),Mr(e,[{key:"setConfig",value:function(){}}],[{key:"styles",get:function(){return Xr(fe||(fe=or(["\n :host {\n flex-grow: 1;\n }\n "])))}}])}();lg=Vr([Ga(Tv("spacer"))],lg);var sg="".concat(yv,"-chips-card"),cg="".concat(sg,"-editor");_v({type:sg,name:"Mushroom Chips Card",description:"Card with chips to display informations"});var dg=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,Xa),Mr(e,[{key:"hass",set:function(t){var e,n=fv(this._hass),i=fv(t);n!==i&&this.toggleAttribute("dark-mode",i),this._hass=t,null===(e=this.shadowRoot)||void 0===e||e.querySelectorAll("div > *").forEach((function(e){e.hass=t}))}},{key:"getCardSize",value:function(){return 1}},{key:"setConfig",value:function(t){this._config=t}},{key:"render",value:function(){var t=this;if(!this._config||!this._hass)return ja;var e="";this._config.alignment&&(e="align-".concat(this._config.alignment));var n=Rl(this._hass);return za(me||(me=or(['\n \n
\n \n \n \n \n \n \n \n
\n '])),this._decrementValue,this.disabled,Ym({value:!0,pending:this.pending,disabled:this.disabled}),t,this._incrementValue,this.disabled)}}],[{key:"styles",get:function(){return Xr(ke||(ke=or(["\n :host {\n --text-color: var(--primary-text-color);\n --text-color-disabled: rgb(var(--rgb-disabled));\n --icon-color: var(--primary-text-color);\n --icon-color-disabled: rgb(var(--rgb-disabled));\n --bg-color: rgba(var(--rgb-primary-text-color), 0.05);\n --bg-color-disabled: rgba(var(--rgb-disabled), 0.2);\n height: var(--control-height);\n width: calc(var(--control-height) * var(--control-button-ratio) * 3);\n flex: none;\n }\n .container {\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n padding: 6px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border-radius: var(--control-border-radius);\n border: none;\n background-color: var(--bg-color);\n transition: background-color 280ms ease-in-out;\n height: var(--control-height);\n overflow: hidden;\n }\n .button {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n padding: 4px;\n border: none;\n background: none;\n cursor: pointer;\n border-radius: var(--control-border-radius);\n line-height: 0;\n height: 100%;\n }\n .minus {\n padding-right: 0;\n }\n .plus {\n padding-left: 0;\n }\n .button:disabled {\n cursor: not-allowed;\n }\n .button ha-icon {\n font-size: var(--control-height);\n --mdc-icon-size: var(--control-icon-size);\n color: var(--icon-color);\n pointer-events: none;\n }\n .button:disabled ha-icon {\n color: var(--icon-color-disabled);\n }\n .value {\n text-align: center;\n flex-grow: 1;\n flex-shrink: 0;\n flex-basis: 20px;\n font-weight: bold;\n color: var(--text-color);\n }\n .value.disabled {\n color: var(--text-color-disabled);\n }\n .value.pending {\n opacity: 0.5;\n }\n "])))}}])}();Vr([Qa({attribute:!1})],bg.prototype,"locale",void 0),Vr([Qa({type:Boolean})],bg.prototype,"disabled",void 0),Vr([Qa({attribute:!1,type:Number,reflect:!0})],bg.prototype,"value",void 0),Vr([Qa({type:Number})],bg.prototype,"step",void 0),Vr([Qa({type:Number})],bg.prototype,"min",void 0),Vr([Qa({type:Number})],bg.prototype,"max",void 0),Vr([Qa({attribute:!1})],bg.prototype,"formatOptions",void 0),Vr([tl()],bg.prototype,"pending",void 0),Vr([el("#container")],bg.prototype,"container",void 0),bg=Vr([Ga("mushroom-input-number")],bg);var kg=function(t){function e(){var t;return zr(this,e),(t=br(this,e,arguments)).fill=!1,t}return wr(e,Xa),Mr(e,[{key:"_stepSize",get:function(){return this.entity.attributes.target_temp_step?this.entity.attributes.target_temp_step:"°F"===this.hass.config.unit_system.temperature?1:.5}},{key:"onValueChange",value:function(t){var e=t.detail.value;this.hass.callService("climate","set_temperature",{entity_id:this.entity.entity_id,temperature:e})}},{key:"onLowValueChange",value:function(t){var 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})}},{key:"onHighValueChange",value:function(t){var 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})}},{key:"render",value:function(){var t=Rl(this.hass),e=Gl(this.entity),n=1===this._stepSize?{maximumFractionDigits:0}:{minimumFractionDigits:1,maximumFractionDigits:1},i=function(t){return{"--bg-color":"rgba(var(--rgb-state-climate-".concat(t,"), 0.05)"),"--icon-color":"rgb(var(--rgb-state-climate-".concat(t,"))"),"--text-color":"rgb(var(--rgb-state-climate-".concat(t,"))")}};return za(xe||(xe=or(["\n \n ","\n ","\n \n "])),this.fill,t,null!=this.entity.attributes.temperature?za(we||(we=or(["\n \n "])),this.hass.locale,this.entity.attributes.temperature,this._stepSize,this.entity.attributes.min_temp,this.entity.attributes.max_temp,!e,n,this.onValueChange):ja,null!=this.entity.attributes.target_temp_low&&null!=this.entity.attributes.target_temp_high?za(Ce||(Ce=or(["\n \n "])),om(i("heat")),this.hass.locale,this.entity.attributes.target_temp_low,this._stepSize,this.entity.attributes.min_temp,this.entity.attributes.max_temp,!e,n,this.onLowValueChange,om(i("cool")),this.hass.locale,this.entity.attributes.target_temp_high,this._stepSize,this.entity.attributes.min_temp,this.entity.attributes.max_temp,!e,n,this.onHighValueChange):ja)}}])}();Vr([Qa({attribute:!1})],kg.prototype,"hass",void 0),Vr([Qa({attribute:!1})],kg.prototype,"entity",void 0),Vr([Qa()],kg.prototype,"fill",void 0),kg=Vr([Ga("mushroom-climate-temperature-control")],kg);var xg={temperature_control:"mdi:thermometer",hvac_mode_control:"mdi:thermostat"};_v({type:ug,name:"Mushroom Climate Card",description:"Card for climate entity"});var wg=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,vv),Mr(e,[{key:"_controls",get:function(){if(!this._config||!this._stateObj)return[];var t,e=this._stateObj,n=[];return(null!=(t=e).attributes.temperature||null!=t.attributes.target_temp_low&&null!=t.attributes.target_temp_high)&&this._config.show_temperature_control&&n.push("temperature_control"),function(t,e){return(t.attributes.hvac_modes||[]).some((function(t){return(null!=e?e:[]).includes(t)}))}(e,this._config.hvac_modes)&&n.push("hvac_mode_control"),n}},{key:"hasControls",get:function(){return this._controls.length>0}},{key:"_onControlTap",value:function(t,e){e.stopPropagation(),this._activeControl=t}},{key:"setConfig",value:function(t){dr(e,"setConfig",this,3)([Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t)]),this.updateActiveControl()}},{key:"updated",value:function(t){dr(e,"updated",this,3)([t]),this.hass&&t.has("hass")&&this.updateActiveControl()}},{key:"updateActiveControl",value:function(){var t=!!this._activeControl&&this._controls.includes(this._activeControl);this._activeControl=t?this._activeControl:this._controls[0]}},{key:"_handleAction",value:function(t){ms(this,this.hass,this._config,t.detail.action)}},{key:"render",value:function(){if(!this.hass||!this._config||!this._config.entity)return ja;var t=this._stateObj;if(!t)return this.renderNotFound(this._config);var e=this._config.name||t.attributes.friendly_name||"",n=this._config.icon,i=av(this._config),o=Dm(t,i.icon_type),r=this.hass.formatEntityState(t);if(null!==t.attributes.current_temperature){var a=this.hass.formatEntityAttributeValue(t,"current_temperature");r+=" ⸱ ".concat(a)}var l=Rl(this.hass),s=(!this._config.collapsible_controls||ql(t))&&this._controls.length;return za(Ee||(Ee=or(["\n \n \n \n ","\n ","\n ",";\n \n ","\n \n
\n "])),Ym({"fill-container":i.fill_container}),i,l,l,i,this._handleAction,fs({hasHold:vs(this._config.hold_action),hasDoubleClick:vs(this._config.double_tap_action)}),o?this.renderPicture(o):this.renderIcon(t,n),this.renderBadge(t),this.renderStateInfo(t,i,e,r),s?za(Ae||(Ae=or(['\n
\n \n \n '])),!Gl(this.entity),this._onStopTap):void 0,sl(this.entity,2)?za(De||(De=or(["\n \n \n \n "])),!Gl(this.entity)||this.closedDisabled,this._onCloseTap,function(t){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)}}])}();Vr([Qa({attribute:!1})],Sg.prototype,"hass",void 0),Vr([Qa({attribute:!1})],Sg.prototype,"entity",void 0),Vr([Qa()],Sg.prototype,"fill",void 0),Sg=Vr([Ga("mushroom-cover-buttons-control")],Sg);var Og,Tg,Ig={exports:{}}; -/*! Hammer.JS - v2.0.7 - 2016-04-22 - * http://hammerjs.github.io/ - * - * Copyright (c) 2016 Jorik Tangelder; - * Licensed under the MIT license */Og||(Og=1,Tg=Ig,function(t,e,n,i){var o,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,n){return setTimeout(_(t,n),e)}function h(t,e,n){return!!Array.isArray(t)&&(p(t,n[e],n),!0)}function p(t,e,n){var o;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==i)for(o=0;o\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=t.console&&(t.console.warn||t.console.log);return r&&r.call(t.console,o,i),e.apply(this,arguments)}}o="function"!=typeof Object.assign?function(t){if(t===i||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n-1}function E(t){return t.trim().split(/\s+/g)}function A(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;in[e]})),i}function T(t,e){for(var n,o,a=e[0].toUpperCase()+e.slice(1),l=0;l1&&!n.firstMultiple?n.firstMultiple=Q(e):1===r&&(n.firstMultiple=!1);var a=n.firstInput,l=n.firstMultiple,s=l?l.center:a.center,u=e.center=tt(o);e.timeStamp=d(),e.deltaTime=e.timeStamp-a.timeStamp,e.angle=ot(s,u),e.distance=it(s,u),function(t,e){var n=e.center,i=t.offsetDelta||{},o=t.prevDelta||{},r=t.prevInput||{};e.eventType!==N&&r.eventType!==R||(o=t.prevDelta={x:r.deltaX||0,y:r.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=o.x+(n.x-i.x),e.deltaY=o.y+(n.y-i.y)}(n,e),e.offsetDirection=nt(e.deltaX,e.deltaY);var h,p,f=et(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=f.x,e.overallVelocityY=f.y,e.overallVelocity=c(f.x)>c(f.y)?f.x:f.y,e.scale=l?(h=l.pointers,it((p=o)[0],p[1],G)/it(h[0],h[1],G)):1,e.rotation=l?function(t,e){return ot(e[1],e[0],G)+ot(t[1],t[0],G)}(l.pointers,o):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,o,r,a,l=t.lastInterval||e,s=e.timeStamp-l.timeStamp;if(e.eventType!=V&&(s>D||l.velocity===i)){var d=e.deltaX-l.deltaX,u=e.deltaY-l.deltaY,h=et(s,d,u);o=h.x,r=h.y,n=c(h.x)>c(h.y)?h.x:h.y,a=nt(d,u),t.lastInterval=e}else n=l.velocity,o=l.velocityX,r=l.velocityY,a=l.direction;e.velocity=n,e.velocityX=o,e.velocityY=r,e.direction=a}(n,e);var m=t.element;w(e.srcEvent.target,m)&&(m=e.srcEvent.target),e.target=m}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function Q(t){for(var e=[],n=0;n=c(e)?t<0?B:F:e<0?H:W}function it(t,e,n){n||(n=q);var i=e[n[0]]-t[n[0]],o=e[n[1]]-t[n[1]];return Math.sqrt(i*i+o*o)}function ot(t,e,n){n||(n=q);var i=e[n[0]]-t[n[0]],o=e[n[1]]-t[n[1]];return 180*Math.atan2(o,i)/Math.PI}Z.prototype={handler:function(){},init:function(){this.evEl&&k(this.element,this.evEl,this.domHandler),this.evTarget&&k(this.target,this.evTarget,this.domHandler),this.evWin&&k(z(this.element),this.evWin,this.domHandler)},destroy: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)}};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)}g(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:V,pointerout:V},dt={2:P,3:"pen",4:L,5:"kinect"},ut="pointerdown",ht="pointermove pointerup pointercancel";function pt(){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"),g(pt,Z,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),o=ct[i],r=dt[t.pointerType]||t.pointerType,a=r==P,l=A(e,t.pointerId,"pointerId");o&N&&(0===t.button||a)?l<0&&(e.push(t),l=e.length-1):o&(R|V)&&(n=!0),l<0||(e[l]=t,this.callback(this.manager,o,{pointers:e,changedPointers:[t],pointerType:r,srcEvent:t}),n&&e.splice(l,1))}});var ft={touchstart:N,touchmove:2,touchend:R,touchcancel:V};function mt(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,Z.apply(this,arguments)}function vt(t,e){var n=S(t.touches),i=S(t.changedTouches);return e&(R|V)&&(n=O(n.concat(i),"identifier")),[n,i]}g(mt,Z,{handler:function(t){var e=ft[t.type];if(e===N&&(this.started=!0),this.started){var n=vt.call(this,t,e);e&(R|V)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:P,srcEvent:t})}}});var gt={touchstart:N,touchmove:2,touchend:R,touchcancel:V},_t="touchstart touchmove touchend touchcancel";function yt(){this.evTarget=_t,this.targetIds={},Z.apply(this,arguments)}function bt(t,e){var n=S(t.touches),i=this.targetIds;if(e&(2|N)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var o,r,a=S(t.changedTouches),l=[],s=this.target;if(r=n.filter((function(t){return w(t.target,s)})),e===N)for(o=0;o-1&&i.splice(t,1)}),kt)}}function Et(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i-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,n=this.state;function i(n){e.manager.emit(n,t)}n<8&&i(e.options.event+Rt(n)),i(e.options.event),t.additionalEvent&&i(t.additionalEvent),n>=8&&i(e.options.event+Rt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=Dt},canEmit:function(){for(var t=0;te.threshold&&o&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=Vt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),g(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)}}),g(Wt,Nt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Tt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distancee.time;if(this._input=t,!i||!n||t.eventType&(R|V)&&!o)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 Dt},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)))}}),g(Yt,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)}}),g(Kt,Bt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Y|K,pointers:1},getTouchAction:function(){return Ft.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(Y|K)?e=t.overallVelocity:n&Y?e=t.overallVelocityX:n&K&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&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=Vt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),g(Xt,Nt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[It]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance\n
\n ',"\n ","\n
\n
\n "])),Ym({container:!0,inactive:this.inactive||this.disabled,controlled:this.controlled}),om({"--value":"".concat(this.valueToPercentage(null!==(t=this.value)&&void 0!==t?t:0))}),this.showActive?za(Re||(Re=or(['
']))):ja,this.showIndicator?za(Ve||(Ve=or(['
']))):ja)}}],[{key:"styles",get:function(){return Xr(Ue||(Ue=or(['\n :host {\n --main-color: rgba(var(--rgb-secondary-text-color), 1);\n --bg-gradient: none;\n --bg-color: rgba(var(--rgb-secondary-text-color), 0.2);\n --main-color-inactive: rgb(var(--rgb-disabled));\n --bg-color-inactive: rgba(var(--rgb-disabled), 0.2);\n }\n .container {\n display: flex;\n flex-direction: row;\n height: var(--control-height);\n }\n .slider {\n position: relative;\n height: 100%;\n width: 100%;\n border-radius: var(--control-border-radius);\n transform: translateZ(0);\n overflow: hidden;\n cursor: pointer;\n }\n .slider * {\n pointer-events: none;\n }\n .slider .slider-track-background {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n background-color: var(--bg-color);\n background-image: var(--gradient);\n }\n .slider .slider-track-active {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n transform: scale3d(var(--value, 0), 1, 1);\n transform-origin: left;\n background-color: var(--main-color);\n transition: transform 180ms ease-in-out;\n }\n .slider .slider-track-indicator {\n position: absolute;\n top: 0;\n bottom: 0;\n left: calc(var(--value, 0) * (100% - 10px));\n width: 10px;\n border-radius: 3px;\n background-color: white;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);\n transition: left 180ms ease-in-out;\n }\n .slider .slider-track-indicator:after {\n display: block;\n content: "";\n background-color: var(--main-color);\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n margin: auto;\n height: 20px;\n width: 2px;\n border-radius: 1px;\n }\n .inactive .slider .slider-track-background {\n background-color: var(--bg-color-inactive);\n background-image: none;\n }\n .inactive .slider .slider-track-indicator:after {\n background-color: var(--main-color-inactive);\n }\n .inactive .slider .slider-track-active {\n background-color: var(--main-color-inactive);\n }\n .controlled .slider .slider-track-active {\n transition: none;\n }\n .controlled .slider .slider-track-indicator {\n transition: none;\n }\n '])))}}])}();function Mg(t){return null!=t.attributes.current_position?Math.round(t.attributes.current_position):void 0}function jg(t){var 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)"}Vr([Qa({type:Boolean})],$g.prototype,"disabled",void 0),Vr([Qa({type:Boolean})],$g.prototype,"inactive",void 0),Vr([Qa({type:Boolean,attribute:"show-active"})],$g.prototype,"showActive",void 0),Vr([Qa({type:Boolean,attribute:"show-indicator"})],$g.prototype,"showIndicator",void 0),Vr([Qa({attribute:!1,type:Number,reflect:!0})],$g.prototype,"value",void 0),Vr([Qa({type:Number})],$g.prototype,"step",void 0),Vr([Qa({type:Number})],$g.prototype,"min",void 0),Vr([Qa({type:Number})],$g.prototype,"max",void 0),Vr([tl()],$g.prototype,"controlled",void 0),Vr([el("#slider")],$g.prototype,"slider",void 0),$g=Vr([Ga("mushroom-slider")],$g);var Pg=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,Xa),Mr(e,[{key:"onChange",value:function(t){var e=t.detail.value;this.hass.callService("cover","set_cover_position",{entity_id:this.entity.entity_id,position:e})}},{key:"onCurrentChange",value:function(t){var e=t.detail.value;this.dispatchEvent(new CustomEvent("current-change",{detail:{value:e}}))}},{key:"render",value:function(){var t=Mg(this.entity);return za(Be||(Be=or(["\n \n "])),t,!Gl(this.entity),!0,this.onChange,this.onCurrentChange)}}],[{key:"styles",get:function(){return Xr(Fe||(Fe=or(["\n mushroom-slider {\n --main-color: var(--slider-color);\n --bg-color: var(--slider-bg-color);\n }\n "])))}}])}();Vr([Qa({attribute:!1})],Pg.prototype,"hass",void 0),Vr([Qa({attribute:!1})],Pg.prototype,"entity",void 0),Pg=Vr([Ga("mushroom-cover-position-control")],Pg);var Lg=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:24,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.2,n=[],i=0;i\n "])),e,!Gl(this.entity),!0,this.onChange,this.onCurrentChange)}}],[{key:"styles",get:function(){var t=Lg.map((function(t){var e=fr(t,2),n=e[0],i=e[1];return"".concat(i," ").concat(100*n,"%")})).join(", ");return Xr(We||(We=or(["\n mushroom-slider {\n --main-color: var(--slider-color);\n --bg-color: var(--slider-bg-color);\n --gradient: -webkit-linear-gradient(right, ",");\n }\n "])),Kr(t))}}])}();Vr([Qa({attribute:!1})],Dg.prototype,"hass",void 0),Vr([Qa({attribute:!1})],Dg.prototype,"entity",void 0),Dg=Vr([Ga("mushroom-cover-tilt-position-control")],Dg);var Ng={buttons_control:"mdi:gesture-tap-button",position_control:"mdi:gesture-swipe-horizontal",tilt_position_control:"mdi:rotate-right"};_v({type:Cg,name:"Mushroom Cover Card",description:"Card for cover entity"});var Rg=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,vv),Mr(e,[{key:"hasControls",get:function(){return this._controls.length>0}},{key:"_nextControl",get:function(){var t;if(this._activeControl)return null!==(t=this._controls[this._controls.indexOf(this._activeControl)+1])&&void 0!==t?t:this._controls[0]}},{key:"_onNextControlTap",value:function(t){t.stopPropagation(),this._activeControl=this._nextControl}},{key:"getCardSize",value:function(){return 1}},{key:"setConfig",value:function(t){dr(e,"setConfig",this,3)([Object.assign({tap_action:{action:"toggle"},hold_action:{action:"more-info"}},t)]),this.updateActiveControl(),this.updatePosition()}},{key:"_controls",get:function(){if(!this._config||!this._stateObj)return[];var 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}},{key:"updateActiveControl",value:function(){var t=!!this._activeControl&&this._controls.includes(this._activeControl);this._activeControl=t?this._activeControl:this._controls[0]}},{key:"updated",value:function(t){dr(e,"updated",this,3)([t]),this.hass&&t.has("hass")&&(this.updatePosition(),this.updateActiveControl())}},{key:"updatePosition",value:function(){this.position=void 0;var t=this._stateObj;t&&(this.position=Mg(t))}},{key:"onCurrentPositionChange",value:function(t){null!=t.detail.value&&(this.position=t.detail.value)}},{key:"_handleAction",value:function(t){ms(this,this.hass,this._config,t.detail.action)}},{key:"render",value:function(){if(!this.hass||!this._config||!this._config.entity)return ja;var t=this._stateObj;if(!t)return this.renderNotFound(this._config);var e=this._config.name||t.attributes.friendly_name||"",n=this._config.icon,i=av(this._config),o=Dm(t,i.icon_type),r=this.hass.formatEntityState(t);if(this.position){var a=this.hass.formatEntityAttributeValue(t,"current_position",this.position);r+=" ⸱ ".concat(a)}var l=Rl(this.hass);return za(Ye||(Ye=or(["\n \n \n \n ","\n ","\n ",";\n \n ","\n \n \n "])),Ym({"fill-container":i.fill_container}),i,l,l,i,this._handleAction,fs({hasHold:vs(this._config.hold_action),hasDoubleClick:vs(this._config.double_tap_action)}),o?this.renderPicture(o):this.renderIcon(t,n),this.renderBadge(t),this.renderStateInfo(t,i,e,r),this._controls.length>0?za(Ke||(Ke=or(['\n
\n
\n
\n \n '])),"volume_down",!Gl(this.entity)||Zl(this.entity),this.handleClick):void 0,s?za(Zn||(Zn=or(["\n \n '])),"volume_up",!Gl(this.entity)||Zl(this.entity),this.handleClick):void 0)}}],[{key:"styles",get:function(){return Xr(Jn||(Jn=or(["\n mushroom-slider {\n flex: 1;\n --main-color: rgb(var(--rgb-state-media-player));\n --bg-color: rgba(var(--rgb-state-media-player), 0.2);\n }\n "])))}}])}();Vr([Qa({attribute:!1})],z_.prototype,"hass",void 0),Vr([Qa({attribute:!1})],z_.prototype,"entity",void 0),Vr([Qa({type:Boolean})],z_.prototype,"fill",void 0),Vr([Qa({attribute:!1})],z_.prototype,"controls",void 0),z_=Vr([Ga("mushroom-media-player-volume-control")],z_);var $_={media_control:"mdi:play-pause",volume_control:"mdi:volume-high"};_v({type:E_,name:"Mushroom Media Card",description:"Card for media player entity"});var M_=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,vv),Mr(e,[{key:"hasControls",get:function(){var t,e,n,i;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===(i=null===(n=this._config)||void 0===n?void 0:n.volume_controls)||void 0===i?void 0:i.length)}},{key:"_controls",get:function(){if(!this._config||!this._stateObj)return[];var t=this._stateObj,e=[];return function(t,e){return O_(t,null!=e?e:[]).length>0}(t,this._config.media_controls)&&e.push("media_control"),function(t,e){return(null==e?void 0:e.includes("volume_buttons"))&&sl(t,1024)||(null==e?void 0:e.includes("volume_mute"))&&sl(t,8)||(null==e?void 0:e.includes("volume_set"))&&sl(t,4)}(t,this._config.volume_controls)&&e.push("volume_control"),e}},{key:"_onControlTap",value:function(t,e){e.stopPropagation(),this._activeControl=t}},{key:"setConfig",value:function(t){dr(e,"setConfig",this,3)([t]),this.updateActiveControl(),this.updateVolume()}},{key:"updated",value:function(t){dr(e,"updated",this,3)([t]),this.hass&&t.has("hass")&&(this.updateActiveControl(),this.updateVolume())}},{key:"updateVolume",value:function(){this.volume=void 0;var t=this._stateObj;t&&(this.volume=t.attributes.volume_level)}},{key:"onCurrentVolumeChange",value:function(t){null!=t.detail.value&&(this.volume=t.detail.value/100)}},{key:"updateActiveControl",value:function(){var t=!!this._activeControl&&this._controls.includes(this._activeControl);this._activeControl=t?this._activeControl:this._controls[0]}},{key:"_handleAction",value:function(t){ms(this,this.hass,this._config,t.detail.action)}},{key:"render",value:function(){if(!this._config||!this.hass||!this._config.entity)return ja;var t=this._stateObj;if(!t)return this.renderNotFound(this._config);var e,n,i,o=function(t,e){var n,i=t.icon;if(![Wl,Yl,Kl].includes(e.state)&&t.use_media_info)switch(null===(n=e.attributes.app_name)||void 0===n?void 0:n.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 i}(this._config,t),r=(e=this._config,n=t,i=e.name||n.attributes.friendly_name||"",![Wl,Yl,Kl].includes(n.state)&&e.use_media_info&&n.attributes.media_title&&(i=n.attributes.media_title),i),a=av(this._config),l=Dm(t,a.icon_type),s=function(t,e,n){var i=n.formatEntityState(e);return![Wl,Yl,Kl].includes(e.state)&&t.use_media_info&&function(t){var 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)||i}(this._config,t,this.hass);if(null!=this.volume&&this._config.show_volume_level){var c=this.hass.formatEntityAttributeValue(t,"volume_level",this.volume);s+=" ⸱ ".concat(c)}var d=Rl(this.hass),u=(!this._config.collapsible_controls||ql(t))&&this._controls.length;return za(Qn||(Qn=or(["\n \n \n \n ","\n ","\n ",";\n \n ","\n \n \n "])),Ym({"fill-container":a.fill_container}),a,d,d,a,this._handleAction,fs({hasHold:vs(this._config.hold_action),hasDoubleClick:vs(this._config.double_tap_action)}),l?this.renderPicture(l):this.renderIcon(t,o),this.renderBadge(t),this.renderStateInfo(t,a,r,s),u?za(ti||(ti=or(['\n
\n
',"
"])),d):t?this.renderIcon(t,e):ja,(t||a)&&n?this.renderBadgeIcon(n,i):void 0,o,r,l)}},{key:"renderPicture",value:function(t){return za(gi||(gi=or(['\n \n \n

',"","

\n
\n "])),X_(i?"button":void 0),X_(i?"0":void 0),Ym({actionable:i}),this._handleTitleAction,fs(),t,this.renderArrow()):ja,e?za(wi||(wi=or(["\n ',"","\n
\n "])),X_(o?"button":void 0),X_(o?"0":void 0),Ym({actionable:o}),this._handleSubtitleAction,fs(),e,this.renderArrow()):ja)}},{key:"renderArrow",value:function(){var t=Rl(this.hass);return za(Ci||(Ci=or([" "])),t?"mdi:chevron-left":"mdi:chevron-right")}},{key:"updated",value:function(t){dr(e,"updated",this,3)([t]),this._config&&this.hass&&this._tryConnect()}},{key:"_tryConnect",value:(l=yr(gr().mark((function t(){var e=this;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:Z_.forEach((function(t){e._tryConnectKey(t)}));case 1:case"end":return t.stop()}}),t)}))),function(){return l.apply(this,arguments)})},{key:"_tryConnectKey",value:(a=yr(gr().mark((function t(e){var n,i,o,r,a=this;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===this._unsubRenderTemplates.get(e)&&this.hass&&this._config&&this.isTemplate(e)){t.next=2;break}return t.abrupt("return");case 2:return t.prev=2,o=cs(this.hass.connection,(function(t){a._templateResults=Object.assign(Object.assign({},a._templateResults),cr({},e,t))}),{template:null!==(n=this._config[e])&&void 0!==n?n:"",entity_ids:this._config.entity_id,variables:{config:this._config,user:this.hass.user.name},strict:!0}),this._unsubRenderTemplates.set(e,o),t.next=7,o;case 7:t.next=14;break;case 9:t.prev=9,t.t0=t.catch(2),r={result:null!==(i=this._config[e])&&void 0!==i?i:"",listeners:{all:!1,domains:[],entities:[],time:!1}},this._templateResults=Object.assign(Object.assign({},this._templateResults),cr({},e,r)),this._unsubRenderTemplates.delete(e);case 14:case"end":return t.stop()}}),t,this,[[2,9]])}))),function(t){return a.apply(this,arguments)})},{key:"_tryDisconnect",value:(r=yr(gr().mark((function t(){var e=this;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:Z_.forEach((function(t){e._tryDisconnectKey(t)}));case 1:case"end":return t.stop()}}),t)}))),function(){return r.apply(this,arguments)})},{key:"_tryDisconnectKey",value:(o=yr(gr().mark((function t(e){var n;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this._unsubRenderTemplates.get(e)){t.next=3;break}return t.abrupt("return");case 3:return t.prev=3,t.next=6,n;case 6:(0,t.sent)(),this._unsubRenderTemplates.delete(e),t.next=18;break;case 11:if(t.prev=11,t.t0=t.catch(3),"not_found"!==t.t0.code&&"template_error"!==t.t0.code){t.next=17;break}t.next=18;break;case 17:throw t.t0;case 18:case"end":return t.stop()}}),t,this,[[3,11]])}))),function(t){return o.apply(this,arguments)})}],[{key:"getConfigElement",value:(i=yr(gr().mark((function t(){return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.resolve().then((function(){return pA}));case 2:return t.abrupt("return",document.createElement(G_));case 3:case"end":return t.stop()}}),t)}))),function(){return i.apply(this,arguments)})},{key:"getStubConfig",value:(n=yr(gr().mark((function t(e){return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{type:"custom:".concat(q_),title:"Hello, {{ user }} !"});case 1:case"end":return t.stop()}}),t)}))),function(t){return n.apply(this,arguments)})},{key:"styles",get:function(){return[dr(e,"styles",this),gv,Xr(Ei||(Ei=or(["\n .header {\n display: block;\n padding: var(--title-padding);\n background: none;\n border: none;\n box-shadow: none;\n }\n .header div * {\n margin: 0;\n white-space: pre-wrap;\n }\n .header div:not(:last-of-type) {\n margin-bottom: var(--title-spacing);\n }\n .actionable {\n cursor: pointer;\n }\n .header ha-icon {\n display: none;\n }\n .actionable ha-icon {\n display: inline-block;\n margin-left: 4px;\n transition: transform 180ms ease-in-out;\n }\n .actionable:hover ha-icon {\n transform: translateX(4px);\n }\n [rtl] .actionable ha-icon {\n margin-left: initial;\n margin-right: 4px;\n }\n [rtl] .actionable:hover ha-icon {\n transform: translateX(-4px);\n }\n .title {\n color: var(--title-color);\n font-size: var(--title-font-size);\n font-weight: var(--title-font-weight);\n line-height: var(--title-line-height);\n letter-spacing: var(--title-letter-spacing);\n --mdc-icon-size: var(--title-font-size);\n }\n .subtitle {\n color: var(--subtitle-color);\n font-size: var(--subtitle-font-size);\n font-weight: var(--subtitle-font-weight);\n line-height: var(--subtitle-line-height);\n letter-spacing: var(--subtitle-letter-spacing);\n --mdc-icon-size: var(--subtitle-font-size);\n }\n .align-start {\n text-align: start;\n }\n .align-end {\n text-align: end;\n }\n .align-center {\n text-align: center;\n }\n .align-justify {\n text-align: justify;\n }\n "])))]}}]);var n,i,o,r,a,l}();Vr([tl()],J_.prototype,"_config",void 0),Vr([tl()],J_.prototype,"_templateResults",void 0),Vr([tl()],J_.prototype,"_unsubRenderTemplates",void 0),J_=Vr([Ga(q_)],J_);var Q_="".concat(yv,"-update-card"),ty="".concat(Q_,"-editor"),ey=["update"],ny={on:"var(--rgb-state-update-on)",off:"var(--rgb-state-update-off)",installing:"var(--rgb-state-update-installing)"},iy=function(t){function e(){var t;return zr(this,e),(t=br(this,e,arguments)).fill=!1,t}return wr(e,Xa),Mr(e,[{key:"_handleInstall",value:function(){this.hass.callService("update","install",{entity_id:this.entity.entity_id})}},{key:"_handleSkip",value:function(t){t.stopPropagation(),this.hass.callService("update","skip",{entity_id:this.entity.entity_id})}},{key:"installDisabled",get:function(){if(!Gl(this.entity))return!0;var t=this.entity.attributes.latest_version&&this.entity.attributes.skipped_version===this.entity.attributes.latest_version;return!ql(this.entity)&&!t||as(this.entity)}},{key:"skipDisabled",get:function(){return!Gl(this.entity)||(this.entity.attributes.latest_version&&this.entity.attributes.skipped_version===this.entity.attributes.latest_version||!ql(this.entity)||as(this.entity))}},{key:"render",value:function(){var t=Rl(this.hass);return za(Ai||(Ai=or(["\n \n \n \n \n \n \n \n '])),this.fill,t,this.skipDisabled,this._handleSkip,this.installDisabled,this._handleInstall)}}])}();Vr([Qa({attribute:!1})],iy.prototype,"hass",void 0),Vr([Qa({attribute:!1})],iy.prototype,"entity",void 0),Vr([Qa({type:Boolean})],iy.prototype,"fill",void 0),iy=Vr([Ga("mushroom-update-buttons-control")],iy),_v({type:Q_,name:"Mushroom Update Card",description:"Card for update entity"});var oy=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,vv),Mr(e,[{key:"hasControls",get:function(){return!(!this._stateObj||!this._config)&&(Boolean(this._config.show_buttons_control)&&sl(this._stateObj,1))}},{key:"_handleAction",value:function(t){ms(this,this.hass,this._config,t.detail.action)}},{key:"render",value:function(){if(!this._config||!this.hass||!this._config.entity)return ja;var t=this._stateObj;if(!t)return this.renderNotFound(this._config);var e=this._config.name||t.attributes.friendly_name||"",n=this._config.icon,i=av(this._config),o=Dm(t,i.icon_type),r=Rl(this.hass),a=(!this._config.collapsible_controls||ql(t))&&this._config.show_buttons_control&&sl(t,1);return za(Si||(Si=or(["\n \n \n \n ","\n ","\n ",";\n \n ","\n \n \n "])),Ym({"fill-container":i.fill_container}),i,r,r,i,this._handleAction,fs({hasHold:vs(this._config.hold_action),hasDoubleClick:vs(this._config.double_tap_action)}),o?this.renderPicture(o):this.renderIcon(t,n),this.renderBadge(t),this.renderStateInfo(t,i,e),a?za(Oi||(Oi=or(['\n