diff --git a/www/mushroom.js b/www/mushroom.js index 6294747..8d579ee 100644 --- a/www/mushroom.js +++ b/www/mushroom.js @@ -1,15 +1,15 @@ -var t,e,n,i,o,r,a,l,s,c,d,u,h,p,m,f,v,g,_,y,b,k,x,w,C,E,A,S,O,T,I,z,$,M,j,P,L,D,N,R,U,V,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,mt,ft,vt,gt,_t,yt,bt,kt,xt,wt,Ct,Et,At,St,Ot,Tt,It,zt,$t,Mt,jt,Pt,Lt,Dt,Nt,Rt,Ut,Vt,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,me,fe,ve,ge,_e,ye,be,ke,xe,we,Ce,Ee,Ae,Se,Oe,Te,Ie,ze,$e,Me,je,Pe,Le,De,Ne,Re,Ue,Ve,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,mn,fn,vn,gn,_n,yn,bn,kn,xn,wn,Cn,En,An,Sn,On,Tn,In,zn,$n,Mn,jn,Pn,Ln,Dn,Nn,Rn,Un,Vn,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,mi,fi,vi,gi,_i,yi,bi,ki,xi,wi,Ci,Ei,Ai,Si,Oi,Ti,Ii,zi,$i,Mi,ji,Pi,Li,Di,Ni,Ri,Ui,Vi,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,mo,fo,vo,go,_o,yo,bo,ko,xo,wo,Co,Eo,Ao,So,Oo,To,Io,zo,$o,Mo,jo,Po,Lo,Do,No,Ro,Uo,Vo,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)||fr()}var ar=gr().mark(Wl);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 Vr(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.")} +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=mr(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=mr(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 m;(h=this.shouldUpdate(p))?(this.willUpdate(p),null!==(m=this._$EO)&&void 0!==m&&m.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=mr(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=mr(u.value,2),m=p[0],f=p[1],v=this._$Eu(m,f);void 0!==v&&this._$Eh.set(v,m)}}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"); + */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,ma="$lit$",fa="lit$".concat(Math.random().toFixed(9).slice(2),"$"),va="?"+fa,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 m=a===Aa&&t[l+1].startsWith("/>")?" ":"";r+=a===wa?s+ga:u>=0?(o.push(c),s.slice(0,u)+ma+s.slice(u)+fa+m):s+fa+(-2===u?l:m)}return[Da(t,r+(t[i]||"")+(2===e?"":3===e?"":"")),o]}(o,r),u=mr(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 m=this.el.content.firstChild;m.replaceWith.apply(m,hr(m.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 Ua=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 Va(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()}}}])}(),Va=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 Ua(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,Va),(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 Va(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}}])}(); +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 @@ -41,7 +41,7 @@ var Ga=function(t){return function(e,n){void 0!==n?n.addInitializer((function(){ * 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=Number.isNaN||function(t){return"number"==typeof t&&t!=t};function sl(t,e){if(t.length!==e.length)return!1;for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:2,n=""+t,i=1;i0?"".concat(e,":").concat(Tl(n),":").concat(Tl(i)):n>0?"".concat(n,":").concat(Tl(i)):i>0||o>0?"".concat(i).concat(o>0?".".concat(Tl(o,3)):""):null}(parseFloat(t)*Il[e])||"0"},$l=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)},Ml=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,Pl(t,n)).format(Number(t))}catch(e){return console.error(e),new Intl.NumberFormat(void 0,Pl(t,n)).format(Number(t))}return"string"==typeof t?t:"".concat($l(t,null==n?void 0:n.maximumFractionDigits).toString()).concat("currency"===(null==n?void 0:n.style)?" ".concat(n.currency):"")},jl=function(t,e){var n,i=null==e?void 0:e.display_precision;return null!=i?{maximumFractionDigits:i,minimumFractionDigits:i}: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},Pl=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},Ll=function(t){switch(t.language){case"cz":case"de":case"fi":case"fr":case"sk":case"sv":return" ";default:return""}},Dl=function(t,e,n,i,o,r){var a=o[e.entity_id];return Nl(t,n,i,a,e.entity_id,e.attributes,void 0!==r?r:e.state)},Nl=function(t,e,n,i,o,r,a){var l;if(a===_l||a===gl)return t("state.default.".concat(a));if(function(t){return!!t.unit_of_measurement||!!t.state_class}(r)){if("duration"===r.device_class&&r.unit_of_measurement&&Il[r.unit_of_measurement])try{return zl(a,r.unit_of_measurement)}catch(t){}if("monetary"===r.device_class)try{return Ml(a,e,Object.assign({style:"currency",currency:r.unit_of_measurement,minimumFractionDigits:2},jl({state:a,attributes:r},i)))}catch(t){}var s=r.unit_of_measurement?"%"===r.unit_of_measurement?Ll(e)+"%":" ".concat(r.unit_of_measurement):"";return"".concat(Ml(a,e,jl({state:a,attributes:r},i))).concat(s)}var c=vl(o);if("datetime"===c){var d=new Date(a);return pl(d,e,n)}if(["date","input_datetime","time"].includes(c))try{var u=a.split(" ");if(2===u.length)return pl(new Date(u.join("T")),Object.assign(Object.assign({},e),{time_zone:ol.local}),n);if(1===u.length){if(a.includes("-"))return function(t,e,n){return dl(e,n.time_zone).format(t)}(new Date("".concat(a,"T00:00")),Object.assign(Object.assign({},e),{time_zone:ol.local}),n);if(a.includes(":")){var h=new Date;return function(t,e,n){return hl(e,n.time_zone).format(t)}(new Date("".concat(h.toISOString().split("T")[0],"T").concat(a)),Object.assign(Object.assign({},e),{time_zone:ol.local}),n)}}return a}catch(t){return a}if("counter"===c||"number"===c||"input_number"===c)return Ml(a,e,jl({state:a,attributes:r},i));if(["button","event","input_button","scene","stt","tts"].includes(c)||"sensor"===c&&"timestamp"===r.device_class)try{return pl(new Date(a),e,n)}catch(t){return a}return"update"===c?"on"===a?function(t){return Sl(t)||!!t.in_progress}(r)?Al(r,4)&&"number"==typeof r.in_progress?t("ui.card.update.installing_with_progress",{progress:r.in_progress}):t("ui.card.update.installing"):r.latest_version:r.skipped_version===r.latest_version?null!==(l=r.latest_version)&&void 0!==l?l:t("state.default.unavailable"):t("ui.card.update.up_to_date"):(null==i?void 0:i.translation_key)&&t("component.".concat(i.platform,".entity.").concat(c,".").concat(i.translation_key,".state.").concat(a))||r.device_class&&t("component.".concat(c,".entity_component.").concat(r.device_class,".state.").concat(a))||t("component.".concat(c,".entity_component._.state.").concat(a))||a},Rl=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,m,f,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",m=Or(e.validator(t,h)),i.prev=5,m.s();case 7:if((f=m.n()).done){i.next=15;break}return(v=f.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),m.e(i.t0);case 20:return i.prev=20,m.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=mr(_.value,3),b=y[0],k=y[1],x=y[2],w=Yl(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):Vl(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 Wl(r(t,e),e,n,t)}:function(){return[]},this.refiner=a?function(t,e){return Wl(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=ql(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=ql(t,e);return!n[0]}(t,this)}},{key:"mask",value:function(t,e){return function(t,e,n){var i=ql(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 ql(t,this,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}}])}();function Xl(t,e,n){var i=ql(t,e,{message:n});if(i[0])throw i[0]}function ql(t,e){var n=Yl(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 Rl(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 Gl(){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},Vs={form:{color_picker:{values:{default:"اللون الإفتراضي"}},info_picker:{values:{default:"المعلومات الافتراضية",name:"الإسم",state:"الحالة","last-changed":"آخر تغيير","last-updated":"آخر تحديث",none:"لا شئ"}},icon_type_picker:{values:{default:"النوع افتراضي",icon:"أيقونة","entity-picture":"صورة الكيان",none:"لا شئ"}},layout_picker:{values:{default:"تخطيط افتراضي",vertical:"تخطيط رأسي",horizontal:"تخطيط أفقي"}},alignment_picker:{values:{default:"المحاذاة الافتراضية",start:"بداية",end:"نهاية",center:"توسيط",justify:"مساواة"}}},card:{generic:{icon_color:"لون الأيقونة",layout:"التخطيط",fill_container:"ملئ الحاوية",primary_info:"المعلومات الأساسية",secondary_info:"المعلومات الفرعية",icon_type:"نوع الأيقونة",content_info:"المحتوى",use_entity_picture:"استخدم صورة الكيان؟",collapsible_controls:"تصغير عناصر التحكم عند الإيقاف",icon_animation:"تحريك الرمز عندما يكون نشطًا؟"},light:{show_brightness_control:"التحكم في السطوع؟",use_light_color:"استخدم لون فاتح",show_color_temp_control:"التحكم في حرارة اللون؟",show_color_control:"التحكم في اللون؟",incompatible_controls:"قد لا يتم عرض بعض عناصر التحكم إذا كان الضوء الخاص بك لا يدعم الميزة."},fan:{show_percentage_control:"التحكم في النسبة المئوية؟",show_oscillate_control:"التحكم في التذبذب؟"},cover:{show_buttons_control:"أزرار التحكم؟",show_position_control:"التحكم في الموقع؟"},template:{primary:"المعلومات الأساسية",secondary:"المعلومات الثانوية",multiline_secondary:"متعدد الأسطر الثانوية؟",entity_extra:"تستخدم في القوالب والإجراءات",content:"المحتوى",badge_icon:"أيقونة الشارة",badge_color:"لون الشارة",picture:"صورة (ستحل محل الأيقونة)"},title:{title:"العنوان",subtitle:"العنوان الفرعي"},chips:{alignment:"محاذاة"},weather:{show_conditions:"الأحوال الجوية؟",show_temperature:"الطقس؟"},update:{show_buttons_control:"أزرار التحكم؟"},vacuum:{commands:"الاوامر"},"media-player":{use_media_info:"استخدم معلومات الوسائط",use_media_artwork:"استخدم صورة الوسائط",show_volume_level:"إظهار مستوى الصوت",media_controls:"التحكم في الوسائط",media_controls_list:{on_off:"تشغيل/إيقاف",shuffle:"خلط",previous:"السابق",play_pause_stop:"تشغيل/إيقاف مؤقت/إيقاف",next:"التالي",repeat:"وضع التكرار"},volume_controls:"التحكم في الصوت",volume_controls_list:{volume_buttons:"أزرار الصوت",volume_set:"مستوى الصوت",volume_mute:"كتم"}},lock:{lock:"مقفل",unlock:"إلغاء قفل",open:"مفتوح"},humidifier:{show_target_humidity_control:"التحكم في الرطوبة؟?"},climate:{show_temperature_control:"التحكم في درجة الحرارة؟",hvac_modes:"أوضاع HVAC"}},chip:{sub_element_editor:{title:"محرر الرقاقة"},conditional:{chip:"رقاقة"},"chip-picker":{chips:"رقاقات",add:"أضف رقاقة",edit:"تعديل",clear:"مسح",select:"اختر الرقاقة",types:{action:"إجراء","alarm-control-panel":"تنبيه",back:"رجوع",conditional:"مشروط",entity:"الكيان",light:"Light",menu:"القائمة",template:"قالب",weather:"الطقس"}}}},Bs={editor:Vs},Fs={form:{color_picker:{values:{default:"Основен цвят"}},info_picker:{values:{default:"Основна информация",name:"Име",state:"Състояние","last-changed":"Последно Променен","last-updated":"Последно Актуализиран",none:"Липсва"}},icon_type_picker:{values:{default:"Основен тип",icon:"Икона","entity-picture":"Картина на обекта",none:"Липсва"}},layout_picker:{values:{default:"Основно оформление",vertical:"Вертикално оформление",horizontal:"Хоризонтално оформление"}},alignment_picker:{values:{default:"Основно подравняване",start:"Старт",end:"Край",center:"Център",justify:"Подравнен"}}},card:{generic:{icon_color:"Цвят на икона",layout:"Оформление",fill_container:"Изпълване на контейнера",primary_info:"Първостепенна информация",secondary_info:"Второстепенна информация",icon_type:"Тип на икона",content_info:"Съдържание",use_entity_picture:"Използвай снимката на обекта?",collapsible_controls:"Свий контролите при изключен",icon_animation:"Анимирай иконата при активен?"},light:{show_brightness_control:"Контрол на яркостта?",use_light_color:"Използвай цвета на светлината",show_color_temp_control:"Контрол на температурата?",show_color_control:"Контрол на цвета?",incompatible_controls:"Някои опции могат да бъдат скрити при условие че осветителното тяло не поддържа фунцията."},fan:{show_percentage_control:"Процентов контрол?",show_oscillate_control:"Контрол на трептенето?"},cover:{show_buttons_control:"Контролни бутони?",show_position_control:"Контрол на позицията?",show_tilt_position_control:"Контрол на наклона?"},template:{primary:"Първостепенна информация",secondary:"Второстепенна информация",multiline_secondary:"Много-редова второстепенна информация?",entity_extra:"Използван в шаблони и действия",content:"Съдържание",badge_icon:"Икона на значка",badge_color:"Цвят на значка",picture:"Картина (ще замени иконата)"},title:{title:"Заглавие",subtitle:"Подзаглавие"},chips:{alignment:"Подравняване"},weather:{show_conditions:"Условия?",show_temperature:"Температура?"},update:{show_buttons_control:"Контролни бутони?"},vacuum:{commands:"Конади",commands_list:{on_off:"Вкл./Изкл."}},"media-player":{use_media_info:"Използвай информация от медията",use_media_artwork:"Използвай визуалните детайли от медията",show_volume_level:"Покажи контрола за звук",media_controls:"Контрол на Медиата",media_controls_list:{on_off:"Вкл./Изкл.",shuffle:"Разбъркано",previous:"Предишен",play_pause_stop:"Пусни/пауза/стоп",next:"Следващ",repeat:"Повтаряне"},volume_controls:"Контрол на звука",volume_controls_list:{volume_buttons:"Бутони за звук",volume_set:"Ниво на звука",volume_mute:"Заглуши"}},lock:{lock:"Заключен",unlock:"Отключен",open:"Отворен"},humidifier:{show_target_humidity_control:"Контрол на влажността?"},climate:{show_temperature_control:"Контрол на температурата?",hvac_modes:"HVAC Режими"}},chip:{sub_element_editor:{title:"Чип редактор"},conditional:{chip:"Чип"},"chip-picker":{chips:"Чипове",add:"Добави чип",edit:"Редактирай",clear:"Изчисти",select:"Избери чип",types:{action:"Действия","alarm-control-panel":"Аларма",back:"Назад",conditional:"Условни",entity:"Обект",light:"Осветление",menu:"Меню",template:"Шаблон",weather:"Време"}}}},Hs={editor:Fs},Ws={form:{color_picker:{values:{default:"Color per defecte"}},info_picker:{values:{default:"Informació per defecte",name:"Nom",state:"Estat","last-changed":"Últim Canvi","last-updated":"Última Actualització",none:"Cap"}},icon_type_picker:{values:{default:"Tipus per defecte",icon:"Icona","entity-picture":"Entitat d'imatge",none:"Cap"}},layout_picker:{values:{default:"Distribució per defecte",vertical:"Distribució vertical",horizontal:"Distribució horitzontal"}},alignment_picker:{values:{default:"Alineació per defecte",start:"Inici",end:"Final",center:"Centre",justify:"Justifica"}}},card:{generic:{icon_color:"Color d'icona",layout:"Distribució",fill_container:"Emplena el contenidor",primary_info:"Informació primaria",secondary_info:"Informació secundaria",icon_type:"Tipus d'icona",content_info:"Contingut",use_entity_picture:"Fer servir la imatge de l'entitat?",collapsible_controls:"Amaga els controls en desactivar",icon_animation:"Animar icona en activar?"},light:{show_brightness_control:"Control de brillantor?",use_light_color:"Fes servir el color del llum",show_color_temp_control:"Control de la temperatura del color?",show_color_control:"Control de color?",incompatible_controls:"Alguns controls no es mostraran si l'entitat no suporta eixa funció."},fan:{show_percentage_control:"Control de percentatge?",show_oscillate_control:"Control d'oscil·lació?"},cover:{show_buttons_control:"Botons de control?",show_position_control:"Control de posició?",show_tilt_position_control:"Control d'inclinació?"},template:{primary:"Informació primaria",secondary:"Informació secundaria",multiline_secondary:"Secundaria en varies línies?",entity_extra:"Utilitzats en plantilles i accions",content:"Contingut",badge_icon:"Icona de la insígnia",badge_color:"Color de la insígnia",picture:"Imatge (reemplaçarà la icona)"},title:{title:"Títol",subtitle:"Subtítol",title_tap_action:"Acció en tocar el títol",subtitle_tap_action:"Acció en tocar el subtítol"},chips:{alignment:"Alineació"},weather:{show_conditions:"Condicions?",show_temperature:"Temperatura?"},update:{show_buttons_control:"Botons de control?"},vacuum:{commands:"Comandaments",commands_list:{on_off:"Engegar/Apagar"}},"media-player":{use_media_info:"Empra la informació multimèdia",use_media_artwork:"Fes servir l'art multimèdia",show_volume_level:"Mostra el nivell de volum",media_controls:"Controls multimèdia",media_controls_list:{on_off:"Engegar/Apagar",shuffle:"Mesclar",previous:"Pista anterior",play_pause_stop:"Reproduïr/Pausar/Detindre",next:"Pista següent",repeat:"Mode de repetició"},volume_controls:"Controls de volum",volume_controls_list:{volume_buttons:"Botons de volum",volume_set:"Nivell de volum",volume_mute:"Silenci"}},lock:{lock:"Bloqueja",unlock:"Desbloqueja",open:"Obri"},humidifier:{show_target_humidity_control:"Control d'humitat?"},climate:{show_temperature_control:"Control de temperatura?",hvac_modes:"Modes HVAC"},number:{display_mode:"Mode de visualització",display_mode_list:{default:"Per defecte (lliscant)",slider:"Lliscant",buttons:"Botons"}}},chip:{sub_element_editor:{title:"Editor de xips"},conditional:{chip:"Xip"},"chip-picker":{chips:"Xips",add:"Afegir xip",edit:"Editar",clear:"Buidar",select:"Seleccionar chip",types:{action:"Acció","alarm-control-panel":"Alarma",back:"Tornar",conditional:"Condicional",entity:"Entitat",light:"Llum",menu:"Menú",spacer:"Espai",template:"Plantilla",weather:"Oratge"}}}},Ys={not_found:"No s'ha trobat l'entitat"},Ks={editor:Ws,card:Ys},Xs={form:{color_picker:{values:{default:"Výchozí barva"}},info_picker:{values:{default:"Výchozí informace",name:"Název",state:"Stav","last-changed":"Poslední změna","last-updated":"Poslední aktualizace",none:"Nic"}},icon_type_picker:{values:{default:"Výchozí typ",icon:"Ikona","entity-picture":"Ikona entity",none:"Nic"}},layout_picker:{values:{default:"Výchozí rozložení",vertical:"Svislé rozložení",horizontal:"Vodorovné rozložení"}},alignment_picker:{values:{default:"Výchozí zarovnání",start:"Na začátek",end:"Na konec",center:"Na střed",justify:"Do bloku"}}},card:{generic:{icon_color:"Barva ikony",layout:"Rozložení",fill_container:"Vyplnit prostor",primary_info:"Primární informace",secondary_info:"Sekundární informace",icon_type:"Typ ikony",content_info:"Obsah",use_entity_picture:"Použít ikonu entity?",collapsible_controls:"Pokud je vypnuto, skrýt ovládací prvky",icon_animation:"Pokud je aktivní, animovat ikonu?"},light:{show_brightness_control:"Ovládání jasu?",use_light_color:"Ikona podle barvy světla?",show_color_temp_control:"Ovládání teploty světla?",show_color_control:"Ovládání barvy světla?",incompatible_controls:"Některé ovládací prvky se nemusí zobrazit, pokud vaše světlo tuto funkci nepodporuje."},fan:{show_percentage_control:"Ovládání v procentech?",show_oscillate_control:"Ovládání oscilaceM"},cover:{show_buttons_control:"Zobrazit ovládací tlačítka?",show_position_control:"Zobrazit ovládání polohy?",show_tilt_position_control:"Zobrazit ovládání náklonu?"},template:{primary:"Primární informace",secondary:"Sekundární informace",multiline_secondary:"Víceřádková sekundární informace?",entity_extra:"Použito v šablonách a akcích",content:"Obsah",badge_icon:"Ikona odznaku",badge_color:"Barva odznaku",picture:"Obrázek (nahradí ikonu)"},title:{title:"Nadpis",subtitle:"Popis",title_tap_action:"Akce při klepnutí na nadpis",subtitle_tap_action:"Akce při klepnutí na popis"},chips:{alignment:"Zarovnání"},weather:{show_conditions:"Zobrazit podmínky?",show_temperature:"Zobrazit teplotu?"},update:{show_buttons_control:"Zobrazit ovládací tlačítka?"},vacuum:{commands:"Příkazy",commands_list:{on_off:"Zapnout/Vypnout"}},"media-player":{use_media_info:"Použít informace z média",use_media_artwork:"Použít artwork z média",show_volume_level:"Zobrazit úroveň hlasitosti",media_controls:"Ovládání médií",media_controls_list:{on_off:"Zapnout/Vypnout",shuffle:"Zamíchat",previous:"Předchozí stopa",play_pause_stop:"Přehrát/Pauza/Zastavit",next:"Další stopa",repeat:"Režim opakování"},volume_controls:"Ovládání hlasitosti",volume_controls_list:{volume_buttons:"Tlačítka hlasitosti",volume_set:"Úroveň hlasitosti",volume_mute:"Ztlumit"}},lock:{lock:"Zamčeno",unlock:"Odemčeno",open:"Otevřeno"},humidifier:{show_target_humidity_control:"Ovládání vlhkosti?"},climate:{show_temperature_control:"Ovládání teploty?",hvac_modes:"Režimy HVAC"},number:{display_mode:"Režim zobrazení",display_mode_list:{default:"Výchozí (posuvník)",slider:"Posuvník",buttons:"Tlačítka"}}},chip:{sub_element_editor:{title:"Editor tlačítek"},conditional:{chip:"Tlačítko"},"chip-picker":{chips:"Tlačítka",add:"Přidat tlačítko",edit:"Upravit",clear:"Vymazat",select:"Vybrat tlačítko",types:{action:"Akce","alarm-control-panel":"Alarm",back:"Zpět",conditional:"Podmínka",entity:"Entita",light:"Světlo",menu:"Menu",spacer:"Mezera",template:"Šablona",weather:"Počasí"}}}},qs={not_found:"Entita nebyla nalezena"},Gs={editor:Xs,card:qs},Zs={form:{color_picker:{values:{default:"Standardfarve"}},info_picker:{values:{default:"Standard information",name:"Navn",state:"Status","last-changed":"Sidst ændret","last-updated":"Sidst opdateret",none:"Ingen"}},icon_type_picker:{values:{default:"Standard type",icon:"Ikon","entity-picture":"Enhedsbillede",none:"Ingen"}},layout_picker:{values:{default:"Standard layout",vertical:"Vertikal layout",horizontal:"Horisontal layout"}},alignment_picker:{values:{default:"Standard justering",start:"Start",end:"Slut",center:"Centrer",justify:"Lige margener"}}},card:{generic:{color:"Farve",icon_color:"Ikon farve",layout:"Layout",fill_container:"Fyld container",primary_info:"Primær information",secondary_info:"Sekundær information",icon_type:"Ikon type",content_info:"Indhold",use_entity_picture:"Brug enhedsbillede?",collapsible_controls:"Skjul kontroller når slukket",icon_animation:"Animér ikon når aktiv?"},light:{show_brightness_control:"Lysstyrkekontrol?",use_light_color:"Brug lysfarve",show_color_temp_control:"Temperaturfarvekontrol?",show_color_control:"Farvekontrol?",incompatible_controls:"Nogle kontroller vises muligvis ikke, hvis dit lys ikke understøtter funktionen."},fan:{show_percentage_control:"Procentkontrol?",show_oscillate_control:"Oscillationskontrol?"},cover:{show_buttons_control:"Betjeningsknapper?",show_position_control:"Positionskontrol?",show_tilt_position_control:"Tiltkontrol?"},template:{primary:"Primær information",secondary:"Sekundær information",multiline_secondary:"Multi-linje sekundær?",entity_extra:"Anvendes i skabeloner og handlinger",label:"Label",content:"Indhold",badge_icon:"Badge ikon",badge_color:"Badge farve",picture:"Billede (erstatter ikonet)"},title:{title:"Titel",subtitle:"Undertitel",title_tap_action:"Title tryk handling",subtitle_tap_action:"Undertitel tryk handling"},chips:{alignment:"Justering"},weather:{show_conditions:"Vejrforhold?",show_temperature:"Temperatur?"},update:{show_buttons_control:"Betjeningsknapper?"},vacuum:{commands:"Kommandoer",commands_list:{on_off:"Slå til/fra"}},"media-player":{use_media_info:"Brug medieinformation",use_media_artwork:"Brug mediebilleder",show_volume_level:"Vis lydstyrke",media_controls:"Mediekontrol",media_controls_list:{on_off:"Tænd/Sluk",shuffle:"Bland",previous:"Forrige nummer",play_pause_stop:"Afspil/Pause/Stop",next:"Næste nummer",repeat:"Gentagelsestilstand"},volume_controls:"Lydstyrkekontrol",volume_controls_list:{volume_buttons:"Lydstyrkeknapper",volume_set:"Lydstyrke",volume_mute:"Lydløs"}},lock:{lock:"Lås",unlock:"Lås op",open:"Åben"},humidifier:{show_target_humidity_control:"Luftfugtighedskontrol?"},climate:{show_temperature_control:"Temperaturkontrol?",hvac_modes:"HVAC-tilstande"},number:{display_mode:"Visningstilstand",display_mode_list:{default:"Standard (slider)",slider:"Slider",buttons:"Knapper"}}},chip:{sub_element_editor:{title:"Chip-editor"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Tilføj chip",edit:"Rediger",clear:"Nulstil",select:"Vælg chip",types:{action:"Handling","alarm-control-panel":"Alarm",back:"Tilbage",conditional:"Betinget",entity:"Enhed",light:"Lys",menu:"Menu",spacer:"Afstand",template:"Skabelon",weather:"Vejr"}}}},Js={not_found:"Enhed ikke fundet"},Qs={editor:Zs,card:Js},tc={form:{color_picker:{values:{default:"Standardfarbe"}},info_picker:{values:{default:"Standard-Information",name:"Name",state:"Zustand","last-changed":"Letzte Änderung","last-updated":"Letzte Aktualisierung",none:"Keine"}},icon_type_picker:{values:{default:"Standard-Typ",icon:"Icon","entity-picture":"Entitätsbild",none:"Keines"}},layout_picker:{values:{default:"Standard-Layout",vertical:"Vertikales Layout",horizontal:"Horizontales Layout"}},alignment_picker:{values:{default:"Standard",start:"Anfang",end:"Ende",center:"Mitte",justify:"Ausrichten"}}},card:{generic:{icon_color:"Icon-Farbe",layout:"Layout",fill_container:"Container ausfüllen",primary_info:"Primäre Information",secondary_info:"Sekundäre Information",icon_type:"Icon-Typ",content_info:"Inhalt",use_entity_picture:"Entitätsbild verwenden?",collapsible_controls:"Schieberegler einklappen, wenn aus",icon_animation:"Icon animieren, wenn aktiv?"},light:{show_brightness_control:"Helligkeitsregelung?",use_light_color:"Farbsteuerung verwenden",show_color_temp_control:"Farbtemperatursteuerung?",show_color_control:"Farbsteuerung?",incompatible_controls:"Einige Steuerelemente werden möglicherweise nicht angezeigt, wenn Ihr Licht diese Funktion nicht unterstützt."},fan:{show_percentage_control:"Prozentuale Kontrolle?",show_oscillate_control:"Oszillationssteuerung?"},cover:{show_buttons_control:"Schaltflächensteuerung?",show_position_control:"Positionssteuerung?",show_tilt_position_control:"Winkelsteuerung?"},template:{primary:"Primäre Information",secondary:"Sekundäre Information",multiline_secondary:"Mehrzeilig sekundär?",entity_extra:"Wird in Vorlagen und Aktionen verwendet",content:"Inhalt",badge_icon:"Badge-Icon",badge_color:"Badge-Farbe",picture:"Bild (ersetzt das Icon)"},title:{title:"Titel",subtitle:"Untertitel",title_tap_action:"Titel Tipp-Aktion",subtitle_tap_action:"Untertitel Tipp-Aktion"},chips:{alignment:"Ausrichtung"},weather:{show_conditions:"Bedingungen?",show_temperature:"Temperatur?"},update:{show_buttons_control:"Schaltflächensteuerung?"},vacuum:{commands:"Befehle",commands_list:{on_off:"An/Ausschalten"}},"media-player":{use_media_info:"Medieninfos verwenden",use_media_artwork:"Mediengrafik verwenden",show_volume_level:"Lautstärke-Level anzeigen",media_controls:"Mediensteuerung",media_controls_list:{on_off:"Ein/Aus",shuffle:"Zufällige Wiedergabe",previous:"Vorheriger Titel",play_pause_stop:"Play/Pause/Stop",next:"Nächster Titel",repeat:"Wiederholen"},volume_controls:"Lautstärkesteuerung",volume_controls_list:{volume_buttons:"Lautstärke-Buttons",volume_set:"Lautstärke-Level",volume_mute:"Stumm"}},lock:{lock:"Verriegeln",unlock:"Entriegeln",open:"Öffnen"},humidifier:{show_target_humidity_control:"Luftfeuchtigkeitssteuerung?"},climate:{show_temperature_control:"Temperatursteuerung?",hvac_modes:"HVAC-Modi"},number:{display_mode:"Anzeigemodus",display_mode_list:{default:"Standard (Schieberegler)",slider:"Schieberegler",buttons:"Buttons"}}},chip:{sub_element_editor:{title:"Chip Editor"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Chip hinzufügen",edit:"Editieren",clear:"Löschen",select:"Chip auswählen",types:{action:"Aktion","alarm-control-panel":"Alarm",back:"Zurück",conditional:"Bedingung",entity:"Entität",light:"Licht",menu:"Menü",spacer:"Abstand",template:"Vorlage",weather:"Wetter"}}}},ec={not_found:"Entität nicht gefunden"},nc={editor:tc,card:ec},ic={form:{color_picker:{values:{default:"Προεπιλεγμένο χρώμα"}},info_picker:{values:{default:"Προεπιλεγμένες πληροφορίες",name:"Όνομα",state:"Κατάσταση","last-changed":"Τελευταία αλλαγή","last-updated":"Τελευταία ενημέρωση",none:"Τίποτα"}},layout_picker:{values:{default:"Προεπιλεγμένη διάταξη",vertical:"Κάθετη διάταξη",horizontal:"Οριζόντια διάταξη"}},alignment_picker:{values:{default:"Προεπιλεγμένη στοίχιση",start:"Στοίχιση αριστερά",end:"Στοίχιση δεξιά",center:"Στοίχιση στο κέντρο",justify:"Πλήρης στοίχιση"}}},card:{generic:{icon_color:"Χρώμα εικονιδίου",layout:"Διάταξη",primary_info:"Πρωτεύουσες πληροφορίες",secondary_info:"Δευτερεύουσες πληροφορίες",content_info:"Περιεχόμενο",use_entity_picture:"Χρήση εικόνας οντότητας;",icon_animation:"Κίνηση εικονιδίου όταν είναι ενεργό;"},light:{show_brightness_control:"Έλεγχος φωτεινότητας;",use_light_color:"Χρήση χρώματος φωτος",show_color_temp_control:"Έλεγχος χρώματος θερμοκρασίας;",show_color_control:"Έλεγχος χρώματος;",incompatible_controls:"Ορισμένα στοιχεία ελέγχου ενδέχεται να μην εμφανίζονται εάν το φωτιστικό σας δεν υποστηρίζει τη λειτουργία."},fan:{show_percentage_control:"Έλεγχος ποσοστού;",show_oscillate_control:"Έλεγχος ταλάντωσης;"},cover:{show_buttons_control:"Έλεγχος κουμπιών;",show_position_control:"Έλεγχος θέσης;"},template:{primary:"Πρωτεύουσες πληροφορίες",secondary:"Δευτερεύουσες πληροφορίες",multiline_secondary:"Δευτερεύουσες πολλαπλών γραμμών;",entity_extra:"Χρησιμοποιείται σε πρότυπα και ενέργειες",content:"Περιεχόμενο"},title:{title:"Τίτλος",subtitle:"Υπότιτλος"},chips:{alignment:"Ευθυγράμμιση"},weather:{show_conditions:"Συνθήκες;",show_temperature:"Θερμοκρασία;"},update:{show_buttons_control:"Έλεγχος κουμπιών;"},vacuum:{commands:"Εντολές"},"media-player":{use_media_info:"Χρήση πληροφοριών πολυμέσων",use_media_artwork:"Χρήση έργων τέχνης πολυμέσων",media_controls:"Έλεγχος πολυμέσων",media_controls_list:{on_off:"Ενεργοποίηση/απενεργοποίηση",shuffle:"Τυχαία σειρά",previous:"Προηγούμενο κομμάτι",play_pause_stop:"Αναπαραγωγή/παύση/διακοπή",next:"Επόμενο κομμάτι",repeat:"Λειτουργία επανάληψης"},volume_controls:"Χειριστήρια έντασης ήχου",volume_controls_list:{volume_buttons:"Κουμπιά έντασης ήχου",volume_set:"Επίπεδο έντασης ήχου",volume_mute:"Σίγαση"}}},chip:{sub_element_editor:{title:"Επεξεργαστής Chip"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Προσθήκη chip",edit:"Επεξεργασία",clear:"Καθαρισμός",select:"Επιλογή chip",types:{action:"Ενέργεια","alarm-control-panel":"Συναγερμός",back:"Πίσω",conditional:"Υπό προϋποθέσεις",entity:"Οντότητα",light:"Φως",menu:"Μενού",template:"Πρότυπο",weather:"Καιρός"}}}},oc={editor:ic},rc={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"}}}},ac={not_found:"Entity not found"},lc={editor:rc,card:ac},sc={form:{color_picker:{values:{default:"Color predeterminado"}},info_picker:{values:{default:"Información predeterminada",name:"Nombre",state:"Estado","last-changed":"Último cambio","last-updated":"Última actualización",none:"Ninguno"}},icon_type_picker:{values:{default:"Por defecto",icon:"Icono","entity-picture":"Imagen de entidad",none:"Ninguno"}},layout_picker:{values:{default:"Diseño predeterminado",vertical:"Diseño vertical",horizontal:"Diseño horizontal"}},alignment_picker:{values:{default:"Alineación predeterminada",start:"Inicio",end:"Final",center:"Centrado",justify:"Justificado"}}},card:{generic:{icon_color:"Color de icono",layout:"Diseño",fill_container:"Rellenar",primary_info:"Información primaria",secondary_info:"Información secundaria",icon_type:"Icono",content_info:"Contenido",use_entity_picture:"¿Usar imagen de entidad?",collapsible_controls:"Contraer controles cuando está apagado",icon_animation:"¿Icono animado cuando está activo?"},light:{show_brightness_control:"¿Controlar brillo?",use_light_color:"Usar color de la luz",show_color_temp_control:"¿Controlar temperatura del color?",show_color_control:"¿Controlar color?",incompatible_controls:"Es posible que algunos controles no se muestren si la luz no es compatible con esta función."},fan:{show_percentage_control:"¿Controlar porcentaje?",show_oscillate_control:"¿Controlar oscilación?"},cover:{show_buttons_control:"¿Botones de control?",show_position_control:"¿Control de posición?",show_tilt_position_control:"¿Control de inclinación?"},template:{primary:"Información primaria",secondary:"Información secundaria",multiline_secondary:"¿Secundaria multilínea?",entity_extra:"Utilizado en plantillas y acciones.",content:"Contenido",badge_icon:"Icono del distintivo",badge_color:"Color del distintivo",picture:"Imagen (sustituirá al icono)"},title:{title:"Título",subtitle:"Subtítulo",title_tap_action:"Acción al tocar el título",subtitle_tap_action:"Acción al tocar el subtítulo"},chips:{alignment:"Alineación"},weather:{show_conditions:"¿Condiciones?",show_temperature:"¿Temperatura?"},update:{show_buttons_control:"¿Botones de control?"},vacuum:{commands:"Comandos",commands_list:{on_off:"Activar/desactivar"}},"media-player":{use_media_info:"Usar información multimedia",use_media_artwork:"Usar ilustraciones multimedia",show_volume_level:"Mostrar nivel de volumen",media_controls:"Controles multimedia",media_controls_list:{on_off:"Activar/desactivar",shuffle:"Aleatoria",previous:"Pista anterior",play_pause_stop:"Reproducir/pausa/parar",next:"Pista siguiente",repeat:"Modo de repetición"},volume_controls:"Controles de volumen",volume_controls_list:{volume_buttons:"Botones de volumen",volume_set:"Nivel de volumen",volume_mute:"Silenciar"}},lock:{lock:"Bloquear",unlock:"Desbloquear",open:"Abrir"},humidifier:{show_target_humidity_control:"¿Controlar humedad?"},climate:{show_temperature_control:"¿Control de temperatura?",hvac_modes:"Modos de climatización"}},chip:{sub_element_editor:{title:"Editor de chip"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Añadir chip",edit:"Editar",clear:"Limpiar",select:"Seleccionar chip",types:{action:"Acción","alarm-control-panel":"Alarma",back:"Volver",conditional:"Condicional",entity:"Entidad",light:"Luz",menu:"Menú",template:"Plantilla",weather:"Clima"}}}},cc={editor:sc},dc={form:{color_picker:{values:{default:"Oletusväri"}},info_picker:{values:{default:"Oletustiedot",name:"Nimi",state:"Tila","last-changed":"Viimeksi muuttunut","last-updated":"Viimeksi päivittynyt",none:"Ei mitään"}},icon_type_picker:{values:{default:"Oletustyyppi",icon:"Kuvake","entity-picture":"Kohteen kuva",none:"Ei mitään"}},layout_picker:{values:{default:"Oletusasettelu",vertical:"Pystysuuntainen",horizontal:"Vaakasuuntainen"}},alignment_picker:{values:{default:"Keskitys",start:"Alku",end:"Loppu",center:"Keskitä",justify:"Sovita"}}},card:{generic:{icon_color:"Ikonin väri",layout:"Asettelu",fill_container:"Täytä alue",primary_info:"Ensisijaiset tiedot",secondary_info:"Toissijaiset tiedot",icon_type:"Kuvakkeen tyyppi",content_info:"Sisältö",use_entity_picture:"Käytä kohteen kuvaa?",collapsible_controls:"Piilota toiminnot off-tilassa",icon_animation:"Animoi kuvake, kun aktiivinen?"},light:{show_brightness_control:"Kirkkauden säätö?",use_light_color:"Käytä valaisimen väriä",show_color_temp_control:"Värilämpötilan säätö?",show_color_control:"Värin säätö?",incompatible_controls:"Jotkin toiminnot eivät näy, jos valaisimesi ei tue niitä."},fan:{show_percentage_control:"Prosentuaalinen säätö?",show_oscillate_control:"Oskillaation säätö?"},cover:{show_buttons_control:"Toimintopainikkeet?",show_position_control:"Sijainnin hallinta?"},template:{primary:"Ensisijaiset tiedot",secondary:"Toissijaiset tiedot",multiline_secondary:"Monirivinen toissijainen tieto?",entity_extra:"Käytetään malleissa ja toiminnoissa",content:"Sisältö",badge_icon:"Merkin kuvake",badge_color:"Merkin väri",picture:"Kuva (korvaa kuvakkeen)"},title:{title:"Otsikko",subtitle:"Tekstitys"},chips:{alignment:"Asettelu"},weather:{show_conditions:"Ehdot?",show_temperature:"Lämpötila?"},update:{show_buttons_control:"Toimintopainikkeet?"},vacuum:{commands:"Komennot"},"media-player":{use_media_info:"Käytä median tietoja",use_media_artwork:"Käytä median kuvituksia",show_volume_level:"Näytä äänenvoimakkuuden hallinta",media_controls:"Toiminnot",media_controls_list:{on_off:"Päälle/pois",shuffle:"Sekoita",previous:"Edellinen kappale",play_pause_stop:"Toista/keskeytä/pysäytä",next:"Seuraava kappale",repeat:"Jatkuva toisto"},volume_controls:"Äänenvoimakkuuden hallinta",volume_controls_list:{volume_buttons:"Äänenvoimakkuuspainikkeet",volume_set:"Äänenvoimakkuus",volume_mute:"Mykistä"}},lock:{lock:"Lukitse",unlock:"Poista lukitus",open:"Avaa"},humidifier:{show_target_humidity_control:"Kosteudenhallinta?"}},chip:{sub_element_editor:{title:"Merkkieditori"},conditional:{chip:"Merkki"},"chip-picker":{chips:"Merkit",add:"Lisää merkki",edit:"Muokkaa",clear:"Tyhjennä",select:"Valitse merkki",types:{action:"Toiminto","alarm-control-panel":"Hälytys",back:"Takaisin",conditional:"Ehdollinen",entity:"Kohde",light:"Valaisin",menu:"Valikko",template:"Malli",weather:"Sää"}}}},uc={editor:dc},hc={form:{color_picker:{values:{default:"Couleur par défaut"}},info_picker:{values:{default:"Information par défaut",name:"Nom",state:"État","last-changed":"Dernière modification","last-updated":"Dernière mise à jour",none:"Aucune"}},icon_type_picker:{values:{default:"Type par défaut",icon:"Icône","entity-picture":"Image de l'entité",none:"Aucune"}},layout_picker:{values:{default:"Disposition par défault",vertical:"Disposition verticale",horizontal:"Disposition horizontale"}},alignment_picker:{values:{default:"Alignement par défaut",start:"Début",end:"Fin",center:"Centré",justify:"Justifié"}}},card:{generic:{color:"Couleur",icon_color:"Couleur de l'icône",layout:"Disposition",fill_container:"Remplir le conteneur",primary_info:"Information principale",secondary_info:"Information secondaire",icon_type:"Type d'icône",content_info:"Contenu",use_entity_picture:"Utiliser l'image de l'entité ?",collapsible_controls:"Reduire les contrôles quand éteint",icon_animation:"Animation de l'icône ?"},light:{show_brightness_control:"Contrôle de luminosité ?",use_light_color:"Utiliser la couleur de la lumière",show_color_temp_control:"Contrôle de la température ?",show_color_control:"Contrôle de la couleur ?",incompatible_controls:"Certains contrôles peuvent ne pas être affichés si votre lumière ne supporte pas la fonctionnalité."},fan:{show_percentage_control:"Contrôle de la vitesse ?",show_oscillate_control:"Contrôle de l'oscillation ?"},cover:{show_buttons_control:"Contrôle avec boutons ?",show_position_control:"Contrôle de la position ?",show_tilt_position_control:"Contrôle de l'inclinaison ?"},template:{primary:"Information principale",secondary:"Information secondaire",multiline_secondary:"Information secondaire sur plusieurs lignes ?",entity_extra:"Utilisée pour les modèles et les actions",label:"Libellé",content:"Contenu",badge_icon:"Icône du badge",badge_color:"Couleur du badge",picture:"Image (remplacera l'icône)"},title:{title:"Titre",subtitle:"Sous-titre",title_tap_action:"Appui sur le titre",subtitle_tap_action:"Appui sur le sous-titre"},chips:{alignment:"Alignement"},weather:{show_conditons:"Conditions ?",show_temperature:"Température ?"},update:{show_buttons_control:"Contrôle avec boutons ?"},vacuum:{commands:"Commandes",commands_list:{on_off:"Allumer/Éteindre"}},"media-player":{use_media_info:"Utiliser les informations du media",use_media_artwork:"Utiliser l'illustration du media",show_volume_level:"Afficher le niveau de volume",media_controls:"Contrôles du media",media_controls_list:{on_off:"Allumer/Éteindre",shuffle:"Lecture aléatoire",previous:"Précédent",play_pause_stop:"Lecture/pause/stop",next:"Suivant",repeat:"Mode de répétition"},volume_controls:"Contrôles du volume",volume_controls_list:{volume_buttons:"Bouton de volume",volume_set:"Niveau de volume",volume_mute:"Muet"}},lock:{lock:"Verrouiller",unlock:"Déverrouiller",open:"Ouvrir"},humidifier:{show_target_humidity_control:"Contrôle d'humidité ?"},climate:{show_temperature_control:"Contrôle de la température?",hvac_modes:"Modes du thermostat"},number:{display_mode:"Mode d'affichage",display_mode_list:{default:"Par défaut (Curseur)",slider:"Curseur",buttons:"Boutons"}}},chip:{sub_element_editor:{title:'Éditeur de "chip"'},conditional:{chip:"Chip"},"chip-picker":{chips:'"Chips"',add:'Ajouter une "chip"',edit:"Modifier",clear:"Effacer",select:'Sélectionner une "chip"',types:{action:"Action","alarm-control-panel":"Alarme",back:"Retour",conditional:"Conditionnel",entity:"Entité",light:"Lumière",menu:"Menu",spacer:"Espacement",template:"Modèle",weather:"Météo"}}}},pc={not_found:"Entité inconnue"},mc={editor:hc,card:pc},fc={form:{color_picker:{values:{default:"צבע ברירת מחדל"}},info_picker:{values:{default:"מידע ברירת מחדל",name:"שם",state:"מצב","last-changed":"שונה לאחרונה","last-updated":"עודכן לאחרונה",none:"ריק"}},layout_picker:{values:{default:"סידור ברירת מחדל",vertical:"סידור מאונך",horizontal:"סידור מאוזן"}},alignment_picker:{values:{default:"יישור ברירת מחדל",start:"התחלה",end:"סוף",center:"אמצע",justify:"מוצדק"}}},card:{generic:{icon_color:"צבע אייקון",layout:"סידור",fill_container:"מלא גבולות",primary_info:"מידע ראשי",secondary_info:"מידע מישני",content_info:"תוכן",use_entity_picture:"השתמש בתמונת ישות",collapsible_controls:"הסתר שליטה כשאר מכובה",icon_animation:"הנפש אייקון"},light:{show_brightness_control:"שליטה בבהירות?",use_light_color:"השתמש בצבע האור",show_color_temp_control:"הצג פקד גוון תאורה?",show_color_control:"הצג פקד צבע",incompatible_controls:"יתכן וחלק מהכפתורים לא יופיעו אם התאורה אינה תומכת בתכונה."},fan:{show_percentage_control:"שליטה באחוז?",show_oscillate_control:"שליטה בהתנדנדות?"},cover:{show_buttons_control:"הצג כפתורי שליטה",show_position_control:"הצג פקדי מיקום"},template:{primary:"מידע ראשי",secondary:"מידע מישני",multiline_secondary:"מידע מישני רב קווי",entity_extra:"משמש בתבניות ופעולות",content:"תוכן"},title:{title:"כותרת",subtitle:"כתובית"},chips:{alignment:"יישור"},weather:{show_conditions:"הצג תנאים?",show_temperature:"הצג טמפרטורה?"},update:{show_buttons_control:"הצג כפתורי שליטה?"},vacuum:{commands:"פקודות",icon_animation:"הנפשת אייקון"},"media-player":{use_media_info:"השתמש במידע מדיה",use_media_artwork:"השתמש באומנות מדיה",show_volume_level:"הצג שליטת ווליום",media_controls:"שליטה במדיה",media_controls_list:{on_off:"הדלק/כבה",shuffle:"ערבב",previous:"רצועה קודמת",play_pause_stop:"נגן/השהה/הפסק",next:"רצועה הבאה",repeat:"חזרה"},volume_controls:"שליטה בווליום",volume_controls_list:{volume_buttons:"כפתורי ווליום",volume_set:"רמת ווליום",volume_mute:"השתק"}},lock:{lock:"נעל",unlock:"בטל נעילה",open:"פתח"},humidifier:{show_target_humidity_control:"הצג פקדי לחות"}},chip:{sub_element_editor:{title:"עורך שבב"},conditional:{chip:"שבב"},"chip-picker":{chips:"שבבים",add:"הוסף שבב",edit:"ערוך",clear:"נקה",select:"בחר שבב",types:{action:"פעולה","alarm-control-panel":"אזעקה",back:"חזור",conditional:"מותנה",entity:"ישות",light:"אור",menu:"תפריט",template:"תבנית",weather:"מזג אוויר"}}}},vc={editor:fc},gc={form:{color_picker:{values:{default:"Alapértelmezett szín"}},info_picker:{values:{default:"Alepértelmezett információ",name:"Név",state:"Állapot","last-changed":"Utoljára módosítva","last-updated":"Utoljára frissítve",none:"Egyik sem"}},icon_type_picker:{values:{default:"Alapértelmezett típus",icon:"Ikon","entity-picture":"Entitás kép",none:"Egyik sem"}},layout_picker:{values:{default:"Alapértelmezet elrendezés",vertical:"Függőleges elrendezés",horizontal:"Vízszintes elrendezés"}},alignment_picker:{values:{default:"Alapértelmezett rendezés",start:"Kezdete",end:"Vége",center:"Közepe",justify:"Sorkizárt"}}},card:{generic:{icon_color:"Ikon szín",layout:"Elrendezés",fill_container:"Tároló kitöltése",primary_info:"Elsődleges információ",secondary_info:"Másodlagos információ",icon_type:"Ikon típus",content_info:"Tartalom",use_entity_picture:"Entitás kép használata",collapsible_controls:"Vezérlők összezárása kikapcsolt állapotban",icon_animation:"Ikon animálása aktív állapotban"},light:{show_brightness_control:"Fényerő vezérlő",use_light_color:"Fény szín használata",show_color_temp_control:"Színhőmérséklet vezérlő",show_color_control:"Szín vezérlő",incompatible_controls:"Azok a vezérlők nem lesznek megjelenítve, amelyeket a fényforrás nem támogat."},fan:{show_percentage_control:"Százalékos vezérlő",show_oscillate_control:"Oszcilláció vezérlő"},cover:{show_buttons_control:"Vezérlő gombok",show_position_control:"Pozíció vezérlő",show_tilt_position_control:"Dőlésszög szabályzó"},template:{primary:"Elsődleges információ",secondary:"Másodlagos információ",multiline_secondary:"Másodlagost több sorba?",entity_extra:"Műveletek és sablonok használatakor",content:"Tartalom",badge_icon:"Jelvény ikon",badge_color:"Jelvény szín",picture:"Kép (lecseréli az ikont)"},title:{title:"Fejléc",subtitle:"Alcím",title_tap_action:"Fejlécre koppintáskor",subtitle_tap_action:"Alcímre koppintáskor"},chips:{alignment:"Rendezés"},weather:{show_conditions:"Állapotok",show_temperature:"Hőmérséklet"},update:{show_buttons_control:"Vezérlő gombok"},vacuum:{commands:"Utasítások",commands_list:{on_off:"Ki/Bekapcsolás"}},"media-player":{use_media_info:"Média infó használata",use_media_artwork:"Média borító használata",show_volume_level:"Hangerő mutatása",media_controls:"Média vezérlők",media_controls_list:{on_off:"Ki/bekapcsolás",shuffle:"Véletlen lejátszás",previous:"Előző szám",play_pause_stop:"Lejátszás/szünet/állj",next:"Következő szám",repeat:"Ismétlés módja"},volume_controls:"Hangerő vezérlők",volume_controls_list:{volume_buttons:"Hangerő gombok",volume_set:"Hangerő szint",volume_mute:"Némítás"}},lock:{lock:"Zár",unlock:"Nyit",open:"Nyitva"},humidifier:{show_target_humidity_control:"Páratartalom vezérlő"},climate:{show_temperature_control:"Hőmérséklet vezérlő",hvac_modes:"HVAC mód"},number:{display_mode:"Megjelenítési mód",display_mode_list:{default:"Alepértelmezett (csúszka)",slider:"Csúszka",buttons:"Gombok"}}},chip:{sub_element_editor:{title:"Chip szerkesztő"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chip-ek",add:"Chip hozzáadása",edit:"Szerkesztés",clear:"Ürítés",select:"Chip kiválasztása",types:{action:"Művelet","alarm-control-panel":"Riasztó",back:"Vissza",conditional:"Feltételes",entity:"Entitás",light:"Fényforrás",menu:"Menü",spacer:"Térköz",template:"Sablon",weather:"Időjárás"}}}},_c={not_found:"Entitás nem található"},yc={editor:gc,card:_c},bc={form:{color_picker:{values:{default:"Warna bawaan"}},info_picker:{values:{default:"Informasi bawaan",name:"Nama",state:"Status","last-changed":"Terakhir Diubah","last-updated":"Terakhir Diperbarui",none:"Tidak ada"}},icon_type_picker:{values:{default:"Tipe bawaan",icon:"Ikon","entity-picture":"Gambar entitas",none:"Tidak ada"}},layout_picker:{values:{default:"Tata letak bawaan",vertical:"Tata letak vertikal",horizontal:"Tata letak horizontal"}},alignment_picker:{values:{default:"Perataan bawaan",start:"Awal",end:"Akhir",center:"Tengah",justify:"Rata kanan-kiri"}}},card:{generic:{icon_color:"Warna ikon",layout:"Tata letak",fill_container:"Isi kontainer",primary_info:"Informasi primer",secondary_info:"Informasi sekunder",icon_type:"Tipe ikon",content_info:"Konten",use_entity_picture:"Gunakan gambar entitas?",collapsible_controls:"Sembunyikan kontrol saat mati",icon_animation:"Animasikan ikon saat aktif?"},light:{show_brightness_control:"Kontrol kecerahan?",use_light_color:"Gunakan warna lampu",show_color_temp_control:"Kontrol suhu warna?",show_color_control:"Kontrol warna?",incompatible_controls:"Beberapa kontrol mungkin tidak ditampilkan jika lampu Anda tidak mendukung fitur tersebut."},fan:{show_percentage_control:"Kontrol persentase?",show_oscillate_control:"Kontrol osilasi?"},cover:{show_buttons_control:"Tombol kontrol?",show_position_control:"Kontrol posisi?",show_tilt_position_control:"Kontrol kemiringan?"},template:{primary:"Informasi primer",secondary:"Informasi sekunder",multiline_secondary:"Info sekunder multibaris?",entity_extra:"Digunakan dalam templat dan tindakan",content:"Konten",badge_icon:"Ikon lencana",badge_color:"Warna lencana",picture:"Gambar (akan menggantikan ikon)"},title:{title:"Judul",subtitle:"Subjudul",title_tap_action:"Tindakan ketuk judul",subtitle_tap_action:"Tindakan ketuk subjudul"},chips:{alignment:"Perataan"},weather:{show_conditions:"Kondisi?",show_temperature:"Suhu?"},update:{show_buttons_control:"Tombol kontrol?"},vacuum:{commands:"Perintah",commands_list:{on_off:"Nyalakan/Matikan"}},"media-player":{use_media_info:"Gunakan info media",use_media_artwork:"Gunakan gambar seni media",show_volume_level:"Tampilkan level volume",media_controls:"Kontrol media",media_controls_list:{on_off:"Nyalakan/Matikan",shuffle:"Acak",previous:"Lagu sebelumnya",play_pause_stop:"Putar/jeda/stop",next:"Lagu berikutnya",repeat:"Mode pengulangan"},volume_controls:"Kontrol volume",volume_controls_list:{volume_buttons:"Tombol volume",volume_set:"Level volume",volume_mute:"Bisukan"}},lock:{lock:"Kunci",unlock:"Buka kunci",open:"Buka"},humidifier:{show_target_humidity_control:"Kontrol kelembapan?"},climate:{show_temperature_control:"Kontrol suhu?",hvac_modes:"Mode HVAC"},number:{display_mode:"Mode Tampilan",display_mode_list:{default:"Bawaan (geser)",slider:"Geser",buttons:"Tombol"}}},chip:{sub_element_editor:{title:"Editor cip"},conditional:{chip:"Cip"},"chip-picker":{chips:"Cip",add:"Tambah cip",edit:"Edit",clear:"Hapus",select:"Pilih cip",types:{action:"Tindakan","alarm-control-panel":"Alarm",back:"Kembali",conditional:"Kondisional",entity:"Entitas",light:"Lampu",menu:"Menu",spacer:"Pemisah",template:"Templat",weather:"Cuaca"}}}},kc={not_found:"Entitas tidak ditemukan"},xc={editor:bc,card:kc},wc={form:{color_picker:{values:{default:"Colore predefinito"}},info_picker:{values:{default:"Informazione predefinita",name:"Nome",state:"Stato","last-changed":"Ultimo cambiamento","last-updated":"Ultimo aggiornamento",none:"Nessuno"}},icon_type_picker:{values:{default:"Tipo predefinito",icon:"Icona","entity-picture":"Immagine dell'entità",none:"Nessuna"}},layout_picker:{values:{default:"Disposizione predefinita",vertical:"Disposizione verticale",horizontal:"Disposizione orizzontale"}},alignment_picker:{values:{default:"Allineamento predefinito",start:"Inizio",end:"Fine",center:"Centro",justify:"Giustificato"}}},card:{generic:{icon_color:"Colore dell'icona",layout:"Disposizione",fill_container:"Riempi il contenitore",primary_info:"Informazione primaria",secondary_info:"Informazione secondaria",icon_type:"Tipo icona",content_info:"Contenuto",use_entity_picture:"Usa l'immagine dell'entità",collapsible_controls:"Nascondi i controlli quando spento",icon_animation:"Anima l'icona quando attiva"},light:{use_light_color:"Usa il colore della luce",show_brightness_control:"Controllo luminosità",show_color_temp_control:"Controllo temperatura",show_color_control:"Controllo colore",incompatible_controls:"Alcuni controlli potrebbero non essere mostrati se la tua luce non li supporta."},fan:{show_percentage_control:"Controllo potenza",show_oscillate_control:"Controllo oscillazione"},cover:{show_buttons_control:"Pulsanti di controllo",show_position_control:"Controllo percentuale apertura",show_tilt_position_control:"Controllo percentuale inclinazione"},template:{primary:"Informazione primaria",secondary:"Informazione secondaria",multiline_secondary:"Abilita frasi multilinea",entity_extra:"Usato in templates ed azioni",content:"Contenuto",badge_icon:"Icona del badge",badge_color:"Colore del badge",picture:"Immagine (sostituirà l'icona)"},title:{title:"Titolo",subtitle:"Sottotitolo",title_tap_action:"Azione di tap sul titolo",subtitle_tap_action:"Azione di tap sul sottotitolo"},chips:{alignment:"Allineamento"},weather:{show_conditions:"Condizioni",show_temperature:"Temperatura"},update:{show_buttons_control:"Pulsanti di controllo"},vacuum:{commands:"Comandi",commands_list:{on_off:"Accendi/Spegni"}},"media-player":{use_media_info:"Mostra le informazioni della sorgente",use_media_artwork:"Usa la copertina della sorgente",show_volume_level:"Mostra volume",media_controls:"Controlli media",media_controls_list:{on_off:"Accendi/Spegni",shuffle:"Riproduzione casuale",previous:"Traccia precedente",play_pause_stop:"Play/Pausa/Stop",next:"Traccia successiva",repeat:"Ciclo continuo"},volume_controls:"Controlli del Volume",volume_controls_list:{volume_buttons:"Bottoni del volume",volume_set:"Livello del volume",volume_mute:"Silenzia"}},lock:{lock:"Blocca",unlock:"Sblocca",open:"Aperto"},humidifier:{show_target_humidity_control:"Controllo umidità"},climate:{show_temperature_control:"Controllo della temperatura?",hvac_modes:"Modalità del termostato"},number:{display_mode:"Modalità di visualizzazione",display_mode_list:{default:"Predefinito (cursore)",slider:"Cursore",buttons:"Pulsanti"}}},chip:{sub_element_editor:{title:"Editor di chip"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Aggiungi chip",edit:"Modifica",clear:"Rimuovi",select:"Seleziona chip",types:{action:"Azione","alarm-control-panel":"Allarme",back:"Pulsante indietro",conditional:"Condizione",entity:"Entità",light:"Luce",menu:"Menù",spacer:"Distanziere",template:"Modello",weather:"Meteo"}}}},Cc={not_found:"Entità non trovata"},Ec={editor:wc,card:Cc},Ac={form:{color_picker:{values:{default:"기본 색"}},info_picker:{values:{default:"기본 정보",name:"이름",state:"상태","last-changed":"마지막 변경","last-updated":"마지막 업데이트",none:"없음"}},icon_type_picker:{values:{default:"기본 타입",icon:"아이콘","entity-picture":"엔티티 사진",none:"없음"}},layout_picker:{values:{default:"기본 레이아웃",vertical:"수직 레이아웃",horizontal:"수평 레이아웃"}},alignment_picker:{values:{default:"기본 정렬",start:"시작",end:"끝",center:"중앙",justify:"행 정렬"}}},card:{generic:{icon_color:"아이콘 색",layout:"레이아웃",fill_container:"콘테이너 채우기",primary_info:"기본 정보",secondary_info:"보조 정보",icon_type:"아이콘 타입",content_info:"내용 정보",use_entity_picture:"엔티티 사진 사용",collapsible_controls:"꺼져있을 때 컨트롤 접기",icon_animation:"활성화 시 아이콘 애니메이션 사용"},light:{show_brightness_control:"밝기 컨트롤 표시",use_light_color:"조명 색 사용",show_color_temp_control:"색 온도 컨트롤 표시",show_color_control:"색 컨트롤 표시",incompatible_controls:"조명이 기능을 지원하지 않는 경우 일부 컨트롤이 표시되지 않을 수 있습니다."},fan:{show_percentage_control:"퍼센트 컨트롤",show_oscillate_control:"오실레이트 컨트롤"},cover:{show_buttons_control:"컨트롤 버튼 표시",show_position_control:"위치 컨트롤 표시",show_tilt_position_control:"기울기 컨트롤 표시"},template:{primary:"기본 정보",secondary:"보조 정보",multiline_secondary:"Multiline secondary?",entity_extra:"템플릿 및 작업에 사용",content:"내용",badge_icon:"뱃지 아이콘",badge_color:"뱃지 색",picture:"그림 (아이콘 대체)"},title:{title:"제목",subtitle:"부제목",title_tap_action:"제목 탭 액션",subtitle_tap_action:"부제목 탭 액션"},chips:{alignment:"정렬"},weather:{show_conditions:"조건 표시",show_temperature:"온도 표시"},update:{show_buttons_control:"컨트롤 버튼 표시"},vacuum:{commands:"명령어",commands_list:{on_off:"켜기/끄기"}},"media-player":{use_media_info:"미디어 정보 사용",use_media_artwork:"미디어 아트워크 사용",show_volume_level:"볼륨 레벨 표시",media_controls:"미디어 컨트롤",media_controls_list:{on_off:"켜기/끄기",shuffle:"섞기",previous:"이전 트랙",play_pause_stop:"재생/일시 정지/정지",next:"다음 트랙",repeat:"반복 모드"},volume_controls:"볼륨 컨트롤",volume_controls_list:{volume_buttons:"볼륨 버튼",volume_set:"볼륨 레벨",volume_mute:"음소거"}},lock:{lock:"잠금",unlock:"잠금 해제",open:"열기"},humidifier:{show_target_humidity_control:"습도 조절 표시"},climate:{show_temperature_control:"온도 조절 표시",hvac_modes:"HVAC 모드"}},chip:{sub_element_editor:{title:"칩 에디터"},conditional:{chip:"칩"},"chip-picker":{chips:"칩",add:"칩 추가",edit:"수정",clear:"클리어",select:"칩 선택",types:{action:"액션","alarm-control-panel":"알람",back:"이전",conditional:"Conditional",entity:"엔티티",light:"조명",menu:"메뉴",template:"템플릿",weather:"날씨"}}}},Sc={editor:Ac},Oc={form:{color_picker:{values:{default:"Standard farge"}},info_picker:{values:{default:"Standard informasjon",name:"Navn",state:"Tilstand","last-changed":"Sist endret","last-updated":"Sist oppdatert",none:"Ingen"}},icon_type_picker:{values:{default:"Standard type",icon:"Ikon","entity-picture":"Enhetsbilde",none:"Ingen"}},layout_picker:{values:{default:"Standardoppsett",vertical:"Vertikalt oppsett",horizontal:"Horisontalt oppsett"}},alignment_picker:{values:{default:"Standard justering",start:"Start",end:"Slutt",center:"Senter",justify:"Blokkjuster"}}},card:{generic:{icon_color:"Ikon farge",layout:"Oppsett",primary_info:"Primærinformasjon",secondary_info:"Sekundærinformasjon",content_info:"Innhold",use_entity_picture:"Bruk enhetsbilde?",icon_animation:"Animer ikon når aktivt?",color:"Farge",fill_container:"Fyll beholder",icon_type:"Ikontype",collapsible_controls:"Skjul kontroller når av"},light:{show_brightness_control:"Lysstyrkekontroll?",use_light_color:"Bruk lys farge",show_color_temp_control:"Temperatur fargekontroll?",show_color_control:"Fargekontroll?",incompatible_controls:"Noen kontroller vises kanskje ikke hvis lyset ditt ikke støtter denne funksjonen."},fan:{show_percentage_control:"Prosentvis kontroll?",show_oscillate_control:"Oscillerende kontroll?"},cover:{show_buttons_control:"Kontrollere med knapper?",show_position_control:"Posisjonskontroll?",show_tilt_position_control:"Vippe kontroll?"},template:{primary:"Primærinformasjon",secondary:"Sekundærinformasjon",multiline_secondary:"Multilinje sekundær?",entity_extra:"Brukes i maler og handlinger",content:"Innhold",label:"Etikett",badge_icon:"Badge ikon",badge_color:"Badge farge",picture:"Bilde (erstatter ikonet)"},title:{title:"Tittel",subtitle:"Undertekst",title_tap_action:"Tittel tap action",subtitle_tap_action:"Undertekst tap action"},chips:{alignment:"Justering"},weather:{show_conditions:"Forhold?",show_temperature:"Temperatur?"},update:{show_buttons_control:"Kontroller knapper?"},vacuum:{commands:"Kommandoer",commands_list:{on_off:"Slå på/av"}},"media-player":{use_media_info:"Bruk mediainformasjon",use_media_artwork:"Bruk mediabilde",show_volume_level:"Vis volumnivå",media_controls:"Media kontroller",media_controls_list:{on_off:"Slå på/av",shuffle:"Bland",previous:"Forrige spor",play_pause_stop:"Spill/pause/stopp",next:"Neste spor",repeat:"Gjenta"},volume_controls:"Volumkontroller",volume_controls_list:{volume_buttons:"Volumknapper",volume_set:"Volumnivå",volume_mute:"Demp"}},lock:{lock:"Lås",unlock:"Lås opp",open:"Åpne"},humidifier:{show_target_humidity_control:"Fuktighetskontroll?"},climate:{show_temperature_control:"Temperaturkontroll?",hvac_modes:"HVAC-moduser"},number:{display_mode:"Visningsmodus",display_mode_list:{default:"Standard (skyveknapp)",slider:"Skyveknapp",buttons:"Knapper"}}},chip:{sub_element_editor:{title:"Chip redaktør"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Legg til chip",edit:"Endre",clear:"Klare",select:"Velg chip",types:{action:"Handling","alarm-control-panel":"Alarm",back:"Tilbake",conditional:"Betinget",entity:"Entitet",light:"Lys",menu:"Meny",spacer:"Mellomrom",template:"Mal",weather:"Vær"}}}},Tc={not_found:"Enhet ikke funnet"},Ic={editor:Oc,card:Tc},zc={form:{color_picker:{values:{default:"Standaard kleur"}},info_picker:{values:{default:"Standaard informatie",name:"Naam",state:"Staat","last-changed":"Laatst gewijzigd","last-updated":"Laatst bijgewerkt",none:"Geen"}},icon_type_picker:{values:{default:"Standaard icoon type",icon:"Icoon","entity-picture":"Entiteit afbeelding",none:"Geen"}},layout_picker:{values:{default:"Standaard lay-out",vertical:"Verticale lay-out",horizontal:"Horizontale lay-out"}},alignment_picker:{values:{default:"Standaard uitlijning",start:"Begin",end:"Einde",center:"Midden",justify:"Uitlijnen "}}},card:{generic:{icon_color:"Icoon kleur",layout:"Lay-out",fill_container:"Vul container",primary_info:"Primaire informatie",secondary_info:"Secundaire informatie",icon_type:"Icoon type",content_info:"Inhoud",use_entity_picture:"Gebruik entiteit afbeelding",collapsible_controls:"Bedieningselementen verbergen wanneer uitgeschakeld",icon_animation:"Pictogram animeren indien actief"},light:{show_brightness_control:"Bediening helderheid",use_light_color:"Gebruik licht kleur",show_color_temp_control:"Bediening kleurtemperatuur",show_color_control:"Bediening kleur",incompatible_controls:"Sommige bedieningselementen worden mogelijk niet weergegeven als uw lamp deze functie niet ondersteunt."},fan:{show_percentage_control:"Bediening middels percentage",show_oscillate_control:"Bediening oscillatie"},cover:{show_buttons_control:"Toon knoppen",show_position_control:"Toon positie bediening",show_tilt_position_control:"Toon tilt control"},template:{primary:"Primaire informatie",secondary:"Secundaire informatie",multiline_secondary:"Secundaire informatie op meerdere lijnen weergeven",entity_extra:"Gebruikt in sjablonen en acties",content:"Inhoud",badge_icon:"Badge icoon",badge_color:"Badge kleur",picture:"Afbeelding (zal het icoon vervangen)"},title:{title:"Titel",subtitle:"Ondertitel",title_tap_action:"Titel tik actie",subtitle_tap_action:"Ondertitel tik actie"},chips:{alignment:"Uitlijning"},weather:{show_conditions:"Weerbeeld",show_temperature:"Temperatuur"},update:{show_buttons_control:"Bedieningsknoppen"},vacuum:{commands:"Commando's",commands_list:{on_off:"Zet aan/uit"}},"media-player":{use_media_info:"Gebruik media informatie",use_media_artwork:"Gebruik media omslag",show_volume_level:"Toon volumeniveau",media_controls:"Mediabediening",media_controls_list:{on_off:"zet aan/uit",shuffle:"Shuffle",previous:"Vorige nummer",play_pause_stop:"Speel/pauze/stop",next:"Volgende nummer",repeat:"Herhalen"},volume_controls:"Volumeregeling",volume_controls_list:{volume_buttons:"Volume knoppen",volume_set:"Volumeniveau",volume_mute:"Dempen"}},lock:{lock:"Vergrendel",unlock:"Ontgrendel",open:"Open"},humidifier:{show_target_humidity_control:"Vochtigheid controle?"},climate:{show_temperature_control:"Temperatuur controle",hvac_modes:"HVAC Modes"},number:{display_mode:"Weergave Modus",display_mode_list:{default:"Standaard (schuifbalk)",slider:"Schuifbalk",buttons:"Knoppen"}}},chip:{sub_element_editor:{title:"Chip editor"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Toevoegen chip",edit:"Bewerk",clear:"Maak leeg",select:"Selecteer chip",types:{action:"Actie","alarm-control-panel":"Alarm",back:"Terug",conditional:"Voorwaardelijk",entity:"Entiteit",light:"Licht",menu:"Menu",spacer:"Afstandhouder",template:"Sjabloon",weather:"Weer"}}}},$c={not_found:"Entiteit niet gevonden"},Mc={editor:zc,card:$c},jc={form:{color_picker:{values:{default:"Domyślny kolor"}},info_picker:{values:{default:"Domyślne informacje",name:"Nazwa",state:"Stan","last-changed":"Ostatnia zmiana","last-updated":"Ostatnia aktualizacja",none:"Brak"}},icon_type_picker:{values:{default:"Domyślny typ",icon:"Ikona","entity-picture":"Obraz encji",none:"Brak"}},layout_picker:{values:{default:"Układ domyślny",vertical:"Układ pionowy",horizontal:"Układ poziomy"}},alignment_picker:{values:{default:"Wyrównanie domyślne",start:"Wyrównanie do lewej",end:"Wyrównanie do prawej",center:"Wyśrodkowanie",justify:"Justowanie"}}},card:{generic:{icon_color:"Kolor ikony",layout:"Układ",fill_container:"Wypełnij zawartością",primary_info:"Informacje główne",secondary_info:"Informacje drugorzędne",icon_type:"Typ ikony",content_info:"Zawartość",use_entity_picture:"Użyć obrazu encji?",collapsible_controls:"Zwiń sterowanie, jeśli wyłączone",icon_animation:"Animować, gdy aktywny?"},light:{show_brightness_control:"Sterowanie jasnością?",use_light_color:"Użyj koloru światła",show_color_temp_control:"Sterowanie temperaturą światła?",show_color_control:"Sterowanie kolorami?",incompatible_controls:"Niektóre funkcje są niewidoczne, jeśli światło ich nie obsługuje."},fan:{show_percentage_control:"Sterowanie procentowe?",show_oscillate_control:"Sterowanie oscylacją?"},cover:{show_buttons_control:"Przyciski sterujące?",show_position_control:"Sterowanie położeniem?",show_tilt_position_control:"Sterowanie poziomem otwarcia?"},template:{primary:"Informacje główne",secondary:"Informacje drugorzędne",multiline_secondary:"Drugorzędne wielowierszowe?",entity_extra:"Używane w szablonach i akcjach",content:"Zawartość",badge_icon:"Ikona odznaki",badge_color:"Kolor odznaki",picture:"Obraz (zamiast ikony)"},title:{title:"Tytuł",subtitle:"Podtytuł"},chips:{alignment:"Wyrównanie"},weather:{show_conditions:"Warunki?",show_temperature:"Temperatura?"},update:{show_buttons_control:"Przyciski sterujące?"},vacuum:{commands:"Polecenia"},"media-player":{use_media_info:"Użyj informacji o multimediach",use_media_artwork:"Użyj okładek multimediów",show_volume_level:"Wyświetl poziom głośności",media_controls:"Sterowanie multimediami",media_controls_list:{on_off:"Włącz/wyłącz",shuffle:"Losowo",previous:"Poprzednie nagranie",play_pause_stop:"Odtwórz/Pauza/Zatrzymaj",next:"Następne nagranie",repeat:"Powtarzanie"},volume_controls:"Sterowanie głośnością",volume_controls_list:{volume_buttons:"Przyciski głośności",volume_set:"Poziom głośności",volume_mute:"Wycisz"}},lock:{lock:"Zablokuj",unlock:"Odblokuj",open:"Otwórz"},humidifier:{show_target_humidity_control:"Sterowanie wilgotnością?"},climate:{show_temperature_control:"Sterowanie temperaturą?",hvac_modes:"Tryby urządzenia"}},chip:{sub_element_editor:{title:"Edytor czipów"},conditional:{chip:"Czip"},"chip-picker":{chips:"Czipy",add:"Dodaj czip",edit:"Edytuj",clear:"Wyczyść",select:"Wybierz czip",types:{action:"Akcja","alarm-control-panel":"Alarm",back:"Wstecz",conditional:"Warunkowy",entity:"Encja",light:"Światło",menu:"Menu",spacer:"Odstęp",template:"Szablon",weather:"Pogoda"}}}},Pc={editor:jc},Lc={form:{color_picker:{values:{default:"Cor padrão"}},info_picker:{values:{default:"Informação padrão",name:"Nome",state:"Estado","last-changed":"Última alteração","last-updated":"Última atualização",none:"Nenhum"}},icon_type_picker:{values:{default:"Tipo padrão",icon:"Ícone","entity-picture":"Imagem da entidade",none:"Nenhum"}},layout_picker:{values:{default:"Layout padrão",vertical:"Layout vertical",horizontal:"Layout horizontal"}},alignment_picker:{values:{default:"Alinhamento padrão",start:"Início",end:"Fim",center:"Centro",justify:"Justificado"}}},card:{generic:{color:"Cor",icon_color:"Cor do ícone",layout:"Layout",fill_container:"Prencher",primary_info:"Informação primária",secondary_info:"Informação secundária",icon_type:"Tipo do ícone",content_info:"Conteúdo",use_entity_picture:"Usar imagem da entidade?",collapsible_controls:"Recolher controles quando desligado",icon_animation:"Animar ícone quando ativo?"},light:{show_brightness_control:"Controle de brilho?",use_light_color:"Usar cor da luz",show_color_temp_control:"Controle de temperatura de cor?",show_color_control:"Controle de cor?",incompatible_controls:"Alguns controles podem não ser exibidos se sua luz não suportar o recurso."},fan:{show_percentage_control:"Controle de porcentagem?",show_oscillate_control:"Controle de oscilação?"},cover:{show_buttons_control:"Botões de controle?",show_position_control:"Controle de posição?",show_tilt_position_control:"Controle de inclinação?"},template:{primary:"Informação primária",secondary:"Informação secundária",multiline_secondary:"Multilinha secundária?",entity_extra:"Usado em modelos e ações",label:"Label",content:"Conteúdo",badge_icon:"Ícone do badge",badge_color:"Cor do badge",picture:"Imagem (irá substituir o ícone)"},title:{title:"Título",subtitle:"Legenda",title_tap_action:"Ação de toque no título",subtitle_tap_action:"Ação de toque na legenda"},chips:{alignment:"Alinhamento"},weather:{show_conditions:"Condições?",show_temperature:"Temperatura?"},update:{show_buttons_control:"Botões de controle?"},vacuum:{commands:"Comandos",commands_list:{on_off:"Ligar/Desligar"}},"media-player":{use_media_info:"Usar informação da mídia",use_media_artwork:"Usar arte da mídia",show_volume_level:"Mostrar nível de volume",media_controls:"Controles de mídia",media_controls_list:{on_off:"Ligar/Desligar",shuffle:"Embaralhar",previous:"Faixa anterior",play_pause_stop:"Reproduzir/pausar/parar",next:"Próxima faixa",repeat:"Modo repetição"},volume_controls:"Controles de volume",volume_controls_list:{volume_buttons:"Botões de volume",volume_set:"Nível de volume",volume_mute:"Mudo"}},lock:{lock:"Bloquear",unlock:"Desbloquear",open:"Abrir"},humidifier:{show_target_humidity_control:"Controle de umidade?"},climate:{show_temperature_control:"Controle de temperatura?",hvac_modes:"Modos do HVAC"},number:{display_mode:"Modo de exibição",display_mode_list:{default:"Padrão (deslizante)",slider:"Deslizante",buttons:"Botões"}}},chip:{sub_element_editor:{title:"Editor de chip"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Adicionar chip",edit:"Editar",clear:"Limpar",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"}}}},Dc={not_found:"Entidade não encontrada"},Nc={editor:Lc,card:Dc},Rc={form:{color_picker:{values:{default:"Cor padrão"}},info_picker:{values:{default:"Informações padrão",name:"Nome",state:"Estado","last-changed":"Última alteração","last-updated":"Última atualização",none:"Nenhum"}},layout_picker:{values:{default:"Layout padrão",vertical:"Layout vertical",horizontal:"Layout horizontal"}},alignment_picker:{values:{default:"Padrão (inicio)",end:"Fim",center:"Centrado",justify:"Justificado"}}},card:{generic:{icon_color:"Cor do ícone?",layout:"Layout",primary_info:"Informações primárias",secondary_info:"Informações secundárias",use_entity_picture:"Usar imagem da entidade?",icon_animation:"Animar ícone quando ativo?"},light:{show_brightness_control:"Mostrar controle de brilho?",use_light_color:"Usar cor da luz?",show_color_temp_control:"Mostrar controle de temperatura?",show_color_control:"Mostrar controle de cor?",incompatible_controls:"Alguns controles podem não ser exibidos se a luz não suportar o recurso."},fan:{show_percentage_control:"Mostrar controle de porcentagem?",show_oscillate_control:"Mostrar controle de oscilação?"},cover:{show_buttons_control:"Mostrar botões?",show_position_control:"Mostrar controle de posição?"},template:{primary:"Informações primárias",secondary:"Informações secundárias",multiline_secondary:"Multilinha secundária?",content:"Conteúdo"},title:{title:"Título",subtitle:"Subtítulo"},chips:{alignment:"Alinhamento"},weather:{show_conditions:"Condições?",show_temperature:"Temperatura?"}},chip:{sub_element_editor:{title:"Editor de fichas"},conditional:{chip:"Ficha"},"chip-picker":{chips:"Fichas",add:"Adicionar ficha",edit:"Editar",clear:"Limpar",select:"Selecionar ficha",types:{action:"Ação","alarm-control-panel":"Alarme",back:"Voltar",conditional:"Condicional",entity:"Entidade",light:"Iluminação",menu:"Menu",template:"Modelo",weather:"Clima"}}}},Uc={editor:Rc},Vc={form:{color_picker:{values:{default:"Culoare implicită"}},info_picker:{values:{default:"Informație implicită",name:"Nume",state:"Stare","last-changed":"Ultima modificare","last-updated":"Ultima actulizare",none:"Niciuna"}},icon_type_picker:{values:{default:"Tip implicit",icon:"Pictogramă","entity-picture":"Imagine",none:"Niciuna"}},layout_picker:{values:{default:"Aranjare implicită",vertical:"Verticală",horizontal:"Orizontală"}},alignment_picker:{values:{default:"Aliniere implicită",start:"Stânga",end:"Dreapta",center:"Centrat",justify:"Umplere"}}},card:{generic:{icon_color:"Culoare pictogramă",layout:"Aranjare",fill_container:"Umplere container",primary_info:"Informație principală",secondary_info:"Informație secundară",icon_type:"Tip pictogramă",content_info:"Conținut",use_entity_picture:"Imagine?",collapsible_controls:"Restrângere la dezactivare"},light:{show_brightness_control:"Comandă pentru strălucire?",use_light_color:"Folosește culoarea luminii",show_color_temp_control:"Comandă pentru temperatură de culoare?",show_color_control:"Comandă pentru culoare?",incompatible_controls:"Unele comenzi ar putea să nu fie afișate dacă lumina nu suportă această caracteristică."},fan:{icon_animation:"Animare pictograma la activare?",show_percentage_control:"Comandă procent?",show_oscillate_control:"Comandă oscilație?"},cover:{show_buttons_control:"Comenzi pentru control?",show_position_control:"Comandă pentru poziție?",show_tilt_position_control:"Comandă pentru înclinare?"},template:{primary:"Informație principală",secondary:"Informație secundară",multiline_secondary:"Informație secundară pe mai multe linii?",entity_extra:"Folosită în șabloane și acțiuni",content:"Conținut",badge_icon:"Pictogramă insignă",badge_color:"Culoare insignă",picture:"Imagine (inlocuiește pictograma)"},title:{title:"Titlu",subtitle:"Subtitlu"},chips:{alignment:"Aliniere"},weather:{show_conditions:"Condiții?",show_temperature:"Temperatură?"},update:{show_buttons_control:"Comenzi control?"},vacuum:{commands:"Comenzi"},"media-player":{use_media_info:"Informații media",use_media_artwork:"Grafică media",show_volume_level:"Nivel volum",media_controls:"Comenzi media",media_controls_list:{on_off:"Pornit/Oprit",shuffle:"Amestecare",previous:"Pista anterioară",play_pause_stop:"Redare/Pauză/Stop",next:"Pista următoare",repeat:"Mod repetare"},volume_controls:"Comenzi volum",volume_controls_list:{volume_buttons:"Comenzi volum",volume_set:"Nivel volum",volume_mute:"Dezactivare sunet"}},lock:{lock:"Încuie",unlock:"Descuie",open:"Deschide"},humidifier:{show_target_humidity_control:"Comenzi umiditate?"},climate:{show_temperature_control:"Comenzi temperatură?",hvac_modes:"Moduri HVAC"}},chip:{sub_element_editor:{title:"Editor jeton"},conditional:{chip:"Jeton"},"chip-picker":{chips:"Jetoane",add:"Adaugă jeton",edit:"Modifică",clear:"Șterge",select:"Alege jeton",types:{action:"Acțiune","alarm-control-panel":"Alarmă",back:"Înapoi",conditional:"Condițional",entity:"Entitate",light:"Lumină",menu:"Meniu",template:"Șablon",weather:"Vreme"}}}},Bc={editor:Vc},Fc={form:{color_picker:{values:{default:"Цвет по умолчанию"}},info_picker:{values:{default:"По умолчанию",name:"Имя",state:"Статус","last-changed":"Последнее изменение","last-updated":"Последнее обновление",none:"Нет"}},icon_type_picker:{values:{default:"По умолчанию",icon:"Иконка","entity-picture":"Изображение",none:"Нет"}},layout_picker:{values:{default:"Расположение по умолчанию",vertical:"Вертикальное расположение",horizontal:"Горизонтальное расположение"}},alignment_picker:{values:{default:"Выравнивание по умолчанию",start:"К началу",end:"К концу",center:"По центру",justify:"На всю ширину"}}},card:{generic:{icon_color:"Цвет иконки",layout:"Расположение",fill_container:"Заполнение",primary_info:"Основная информация",secondary_info:"Второстепенная информация",icon_type:"Тип иконки",content_info:"Содержимое",use_entity_picture:"Использовать изображение объекта?",collapsible_controls:"Сворачивать элементы управления при выключении"},light:{show_brightness_control:"Управлять яркостью?",use_light_color:"Использовать текущий цвет света",show_color_temp_control:"Управлять цветовой температурой?",show_color_control:"Управлять цветом?",incompatible_controls:"Некоторые элементы управления могут не отображаться, если ваш светильник не поддерживает эти функции."},fan:{icon_animation:"Анимировать иконку когда включено?",show_percentage_control:"Управлять процентами?",show_oscillate_control:"Oscillate control?"},cover:{show_buttons_control:"Добавить кнопки управления?",show_position_control:"Управлять позицией?",show_tilt_position_control:"Управлять наклоном?"},template:{primary:"Основная информация",secondary:"Второстепенная информация",multiline_secondary:"Многострочная Второстепенная информация?",entity_extra:"Используется в шаблонах и действиях",content:"Содержимое",badge_icon:"Иконка значка",badge_color:"Цвет значка",picture:"Изображение (заменить иконку)"},title:{title:"Заголовок",subtitle:"Подзаголовок"},chips:{alignment:"Выравнивание"},weather:{show_conditions:"Условия?",show_temperature:"Температура?"},update:{show_buttons_control:"Кнопки управления?"},vacuum:{commands:"Команды"},"media-player":{use_media_info:"Использовать информацию с медиа-устройства",use_media_artwork:"Использовать обложку с медиа-устройства",show_volume_level:"Показать уровень громкости",media_controls:"Управление медиа-устройством",media_controls_list:{on_off:"Включение/выключение",shuffle:"Перемешивание",previous:"Предыдущий трек",play_pause_stop:"Воспроизведение/пауза/остановка",next:"Следующий трек",repeat:"Режим повтора"},volume_controls:"Регулятор громкости",volume_controls_list:{volume_buttons:"Кнопки громкости",volume_set:"Уровень громкости",volume_mute:"Без звука"}},lock:{lock:"Закрыто",unlock:"Разблокировано",open:"Открыто"},humidifier:{show_target_humidity_control:"Управлять целевым уровенем влажности?"},climate:{show_temperature_control:"Управлять целевой температурой?",hvac_modes:"Режимы работы"}},chip:{sub_element_editor:{title:"Редактор мини-карточек"},conditional:{chip:"Мини-карточка"},"chip-picker":{chips:"Мини-карточки",add:"Добавить мини-карточку",edit:"Изменить",clear:"Очистить",select:"Выбрать мини-карточку",types:{action:"Действие","alarm-control-panel":"Тревога",back:"Назад",conditional:"Условия",entity:"Объект",light:"Освещение",menu:"Меню",template:"Шаблон",weather:"Погода"}}}},Hc={editor:Fc},Wc={form:{color_picker:{values:{default:"Privzeta barva"}},info_picker:{values:{default:"Privzete informacije",name:"Naziv",state:"Stanje","last-changed":"Zadnja sprememba","last-updated":"Zadnja posodobitev",none:"Brez"}},icon_type_picker:{values:{default:"Privzeta vrsta",icon:"Ikona","entity-picture":"Slika entitete",none:"Brez"}},layout_picker:{values:{default:"Privzeta postavitev",vertical:"Vertikalna postavitev",horizontal:"Horizontalna postavitev"}},alignment_picker:{values:{default:"Privzeta poravnava",start:"Pričetek",end:"Konec",center:"Center",justify:"Poravnava"}}},card:{generic:{icon_color:"Barva ikone",layout:"Postavitev",fill_container:"Zapolnitev prostora",primary_info:"Primarna informacija",secondary_info:"Sekundarna informacija",icon_type:"Vrsta ikone",content_info:"Vsebina",use_entity_picture:"Uporabi sliko entitete?",collapsible_controls:"Strni kontrolnike, ko so izklopljeni",icon_animation:"Animacija ikone, ko je aktivna?"},light:{show_brightness_control:"Nadzor svetlosti?",use_light_color:"Uporabi svetlo barvo",show_color_temp_control:"Nadzor temperature barve?",show_color_control:"Nadzor barv?",incompatible_controls:"Nekateri kontrolniki morda ne bodo prikazani, če vaša luč ne podpira te funkcije."},fan:{show_percentage_control:"Kontrola v odstotkih?",show_oscillate_control:"Kontrola nihanja?"},cover:{show_buttons_control:"Gumbi za upravljanje?",show_position_control:"Nadzor položaja?",show_tilt_position_control:"Nadzor nagiba?"},template:{primary:"Primarna informacija",secondary:"Sekundarna informacija",multiline_secondary:"Večvrstični sekundarni?",entity_extra:"Uporablja se v predlogah in dejanjih",content:"Vsebina",badge_icon:"Ikona značke",badge_color:"Barva značke",picture:"Slika (nadomestila bo ikono)"},title:{title:"Naziv",subtitle:"Podnaslov",title_tap_action:"Dejanje dotika naslova",subtitle_tap_action:"Dejanje dotika podnapisov"},chips:{alignment:"Poravnava"},weather:{show_conditions:"Pogoji?",show_temperature:"Temperatura?"},update:{show_buttons_control:"Gumbi za upravljanje?"},vacuum:{commands:"Ukazi",commands_list:{on_off:"Vklop/izklop"}},"media-player":{use_media_info:"Uporabite informacije o medijih",use_media_artwork:"Uporabite medijsko umetniško delo",show_volume_level:"Pokaži raven glasnosti",media_controls:"Nadzor medijev",media_controls_list:{on_off:"Vklop/izklop",shuffle:"Naključno",previous:"Prejšnja skladba",play_pause_stop:"Predvajaj/pavza/ustavi",next:"Naslednja skladba",repeat:"Ponavljajoči način"},volume_controls:"Kontrole glasnosti",volume_controls_list:{volume_buttons:"Gumbi za glasnost",volume_set:"Raven glasnosti",volume_mute:"Tiho"}},lock:{lock:"Zaklepanje",unlock:"Odkleni",open:"Odprto"},humidifier:{show_target_humidity_control:"Nadzor vlažnosti?"},climate:{show_temperature_control:"Nadzor temperature?",hvac_modes:"HVAC načini"},number:{display_mode:"Način prikaza",display_mode_list:{default:"Privzeto (drsnik)",slider:"Drsnik",buttons:"Gumbi"}}},chip:{sub_element_editor:{title:"Urejevalnik čipov"},conditional:{chip:"Ćiš"},"chip-picker":{chips:"Čipi",add:"Dodaj čip",edit:"Uredi",clear:"Pobriši",select:"Izbira čipa",types:{action:"Dejanje","alarm-control-panel":"Alarm",back:"Nazaj",conditional:"Pogojno",entity:"Entiteta",light:"Svetloba",menu:"Meni",spacer:"Distančnik",template:"Predloga",weather:"Vreme"}}}},Yc={not_found:"Entiteta ni najdena"},Kc={editor:Wc,card:Yc},Xc={form:{color_picker:{values:{default:"Predvolená farba"}},info_picker:{values:{default:"Predvolené informácie",name:"Názov",state:"Stav","last-changed":"Posledná zmena","last-updated":"Posledná aktualizácia",none:"Žiadna"}},icon_type_picker:{values:{default:"Predvolený typ",icon:"Ikona","entity-picture":"Obrázok entity",none:"Žiadny"}},layout_picker:{values:{default:"Predvolené rozloženie",vertical:"Zvislé rozloženie",horizontal:"Vodorovné rozloženie"}},alignment_picker:{values:{default:"Predvolené zarovnanie",start:"Začiatok",end:"Koniec",center:"Stred",justify:"Vyplniť"}}},card:{generic:{color:"Farba",icon_color:"Farba ikony",layout:"Rozloženie",fill_container:"Vyplniť priestor",primary_info:"Základné info",secondary_info:"Doplnkové info",icon_type:"Typ ikony",content_info:"Obsah",use_entity_picture:"Použiť obrázok entity?",collapsible_controls:"Skryť ovládanie v stave VYP.",icon_animation:"Animovaná ikona v stave ZAP?"},light:{show_brightness_control:"Ovládanie jasu?",use_light_color:"Použiť farbu svetla",show_color_temp_control:"Ovládanie teploty?",show_color_control:"Ovládanie farby?",incompatible_controls:"Niektoré ovládacie prvky sa nemusia zobraziť, pokiaľ ich svetlo nepodporuje."},fan:{show_percentage_control:"Ovládanie rýchlosti v percentách?",show_oscillate_control:"Ovládanie oscilácie?"},cover:{show_buttons_control:"Zobraziť ovládacie tlačidlá?",show_position_control:"Ovládanie pozície?",show_tilt_position_control:"Ovládanie natočenia?"},template:{primary:"Základné info",secondary:"Doplnkové info",multiline_secondary:"Viacriadkové doplnkové info?",entity_extra:"Použitá v šablónach a akciách",label:"Štítok",content:"Obsah",badge_icon:"Ikona odznaku",badge_color:"Farba odznaku",picture:"Obrázok (nahrádza ikonu)"},title:{title:"Nadpis",subtitle:"Podnadpis",title_tap_action:"Akcia klepnutia na názov",subtitle_tap_action:"Akcia klepnutia na titulky"},chips:{alignment:"Zarovnanie"},weather:{show_conditions:"Zobraziť podmienky?",show_temperature:"Zobraziť teplotu?"},update:{show_buttons_control:"Zobraziť ovládacie tlačidlá?"},vacuum:{commands:"Príkazy",commands_list:{on_off:"Zapnúť/Vypnúť"}},"media-player":{use_media_info:"Použiť info o médiu",use_media_artwork:"Použiť obrázok z média",show_volume_level:"Zobraziť úroveň hlasitosti",media_controls:"Ovládanie média",media_controls_list:{on_off:"Zap / Vyp",shuffle:"Premiešať",previous:"Predchádzajúca",play_pause_stop:"Spustiť/pauza/stop",next:"Ďalšia",repeat:"Opakovať"},volume_controls:"Ovládanie hlasitosti",volume_controls_list:{volume_buttons:"Tlačidlá hlasitosti",volume_set:"Úroveň hlasitosti",volume_mute:"Stlmiť"}},lock:{lock:"Zamknuté",unlock:"Odomknuté",open:"Otvorené"},humidifier:{show_target_humidity_control:"Ovládanie vlhkosti?"},climate:{show_temperature_control:"Ovládanie teploty?",hvac_modes:"HVAC mód"},number:{display_mode:"Režim zobrazenia",display_mode_list:{default:"Predvolené (posúvač)",slider:"Posúvač",buttons:"Tlačidlá"}}},chip:{sub_element_editor:{title:"Editor štítkov"},conditional:{chip:"Štítok"},"chip-picker":{chips:"Štítky",add:"Pridať štítok",edit:"Editovať",clear:"Vymazať",select:"Vybrať štítok",types:{action:"Akcia","alarm-control-panel":"Alarm",back:"Späť",conditional:"Podmienené",entity:"Entita",light:"Svetlo",menu:"Menu",spacer:"Medzera",template:"Šablóna",weather:"Počasie"}}}},qc={not_found:"Entita nenájdená"},Gc={editor:Xc,card:qc},Zc={form:{color_picker:{values:{default:"Standardfärg"}},info_picker:{values:{default:"Förvald information",name:"Namn",state:"Status","last-changed":"Sist ändrad","last-updated":"Sist uppdaterad",none:"Ingen"}},layout_picker:{values:{default:"Standard",vertical:"Vertikal",horizontal:"Horisontell"}},alignment_picker:{values:{default:"Standard (början)",end:"Slutet",center:"Centrerad",justify:"Anpassa"}}},card:{generic:{color:"Färg",icon_color:"Ikonens färg",layout:"Layout",icon_type:"Ikontyp",primary_info:"Primär information",secondary_info:"Sekundär information",use_entity_picture:"Använd enhetens bild?",collapsible_controls:"Dölj kontroller när enehten är av",icon_animation:"Animera ikonen när enheten är på?"},light:{show_brightness_control:"Styr ljushet?",use_light_color:"Styr ljusets färg",show_color_temp_control:"Styr färgtemperatur?",show_color_control:"Styr färg?",incompatible_controls:"Kontroller som inte stöds av enheten kommer inte visas"},fan:{show_percentage_control:"Procentuell kontroll?",show_oscillate_control:"Kontroll för oscillera?"},cover:{show_buttons_control:"Visa kontrollknappar?",show_position_control:"Visa positionskontroll?",show_tilt_position_control:"Visa lutningskontroll?"},template:{primary:"Primär information",secondary:"Sekundär information",multiline_secondary:"Sekundär med flera rader?",content:"Innehåll",picture:"Bild (ersätter ikonen)"},title:{title:"Rubrik",subtitle:"Underrubrik"},chips:{alignment:"Justering"},weather:{show_conditions:"Förhållanden?",show_temperature:"Temperatur?"},update:{show_buttons_control:"Visa kontrollknappar?"},vacuum:{commands:"Kommandon"},climate:{show_temperature_control:"Temperaturkontroll?",hvac_modes:"HVAC-lägen"},"media-player":{use_media_artwork:"Visa mediaomslag",show_volume_level:"Volymkontroll",media_controls:"Mediakontroller",media_controls_list:{on_off:"Slå på/av",previous:"Föregående spår",play_pause_stop:"Spela/pausa/stoppa",next:"Nästa spår",repeat:"Upprepa"},volume_controls:"Volymkontroller",volume_controls_list:{volume_buttons:"Volymknappar",volume_set:"Volymnivå",volume_mute:"Ljud av"}},lock:{lock:"Lås",unlock:"Lås upp",open:"Öppna"}},chip:{sub_element_editor:{title:"Chipredigerare"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Lägg till chip",edit:"Redigera",clear:"Rensa",select:"Välj chip",types:{action:"Åtgärd","alarm-control-panel":"Alarm",back:"Bakåt",conditional:"Villkorad",entity:"Enhet",light:"Ljus",menu:"Meny",template:"Mall",weather:"Väder"}}}},Jc={editor:Zc},Qc={form:{color_picker:{values:{default:"Varsayılan renk"}},info_picker:{values:{default:"Varsayılan bilgi",name:"İsim",state:"Durum","last-changed":"Son Değişim","last-updated":"Son Güncelleme",none:"None"}},layout_picker:{values:{default:"Varsayılan düzen",vertical:"Dikey düzen",horizontal:"Yatay düzen"}},alignment_picker:{values:{default:"Varsayılan hizalama",start:"Sola yasla",end:"Sağa yasla",center:"Ortala",justify:"İki yana yasla"}}},card:{generic:{icon_color:"Simge renki",layout:"Düzen",primary_info:"Birinci bilgi",secondary_info:"İkinci bilgi",content_info:"İçerik",use_entity_picture:"Varlık resmi kullanılsın",icon_animation:"Aktif olduğunda simgeyi hareket ettir"},light:{show_brightness_control:"Parlaklık kontrolü",use_light_color:"Işık rengini kullan",show_color_temp_control:"Renk ısısı kontrolü",show_color_control:"Renk kontrolü",incompatible_controls:"Kullandığınız lamba bu özellikleri desteklemiyorsa bazı kontroller görüntülenemeyebilir."},fan:{show_percentage_control:"Yüzde kontrolü",show_oscillate_control:"Salınım kontrolü"},cover:{show_buttons_control:"Düğme kontrolleri",show_position_control:"Pozisyon kontrolü"},template:{primary:"Birinci bilgi",secondary:"İkinci bilgi",multiline_secondary:"İkinci bilgi çok satır olsun",entity_extra:"Şablonlarda ve eylemlerde kullanılsın",content:"İçerik"},title:{title:"Başlık",subtitle:"Altbaşlık"},chips:{alignment:"Hizalama"},weather:{show_conditions:"Hava koşulu",show_temperature:"Sıcaklık"},update:{show_buttons_control:"Düğme kontrolü"},vacuum:{commands:"Komutlar"}},chip:{sub_element_editor:{title:"Chip düzenleyici"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"Chip ekle",edit:"Düzenle",clear:"Temizle",select:"Chip seç",types:{action:"Eylem","alarm-control-panel":"Alarm",back:"Geri",conditional:"Koşullu",entity:"Varlık",light:"Işık",menu:"Menü",template:"Şablon",weather:"Hava Durumu"}}}},td={editor:Qc},ed={form:{color_picker:{values:{default:"Колір за замовчуванням"}},info_picker:{values:{default:"Інформація за замовчуванням",name:"Назва",state:"Стан","last-changed":"Востаннє змінено","last-updated":"Востаннє оновлено",none:"Нічого"}},icon_type_picker:{values:{default:"За замовчуванням",icon:"Іконка","entity-picture":"Зображення сутності",none:"Нічого"}},layout_picker:{values:{default:"Розташування за замовчуванням",vertical:"Вертикальне розташування",horizontal:"Горизонтальне розташування"}},alignment_picker:{values:{default:"Вирівнювання за замовчуванням",start:"На початку",end:"В кінці",center:"По центру",justify:"Вирівняти"}}},card:{generic:{icon_color:"Колір іконки",layout:"Розташування",fill_container:"Заповнити контейнер",primary_info:"Головна інформація",secondary_info:"Додаткова інформація",icon_type:"Тип іконки",content_info:"Вміст",use_entity_picture:"Використовувати зображення сутності?",collapsible_controls:"Приховувати елементи керування коли вимкнено?",icon_animation:"Анімувати іконку при активації?"},light:{show_brightness_control:"Контроль яскравості?",use_light_color:"Використовувати колір світла",show_color_temp_control:"Керування температурою світла?",show_color_control:"Керування кольором світла?",incompatible_controls:"Деякі елементи керування можуть не відображатись якщо ваш пристрій не підтримує цю функцію."},fan:{show_percentage_control:"Керування швидкістю?",show_oscillate_control:"Керування повротом?"},cover:{show_buttons_control:"Кнопки керування?",show_position_control:"Керування позицією?",show_tilt_position_control:"Керування нахилом?"},template:{primary:"Головна інформація",secondary:"Додаткова інформація",multiline_secondary:"Багаторядкова додаткова інформація?",entity_extra:"Використовується в шаблонах та діях",content:"Вміст",badge_icon:"Іконка значка",badge_color:"Колір значка",picture:"Зображення (замінить іконку)"},title:{title:"Заголовок",subtitle:"Підзаголовок",title_tap_action:"Дія при дотику до заголовку",subtitle_tap_action:"Дія при дотику до підзаголовку"},chips:{alignment:"Вирівнювання"},weather:{show_conditions:"Умови?",show_temperature:"Температура?"},update:{show_buttons_control:"Кнопки керування?"},vacuum:{commands:"Команди",commands_list:{on_off:"Увімкнути/Вимкнути"}},"media-player":{use_media_info:"Використовувати інформацію медіа",use_media_artwork:"Використовувати зображення медіа",show_volume_level:"Показати рівень гучності",media_controls:"Керування медіа",media_controls_list:{on_off:"Увімкнути/Вимкнути",shuffle:"Перемішати",previous:"Попередній трек",play_pause_stop:"Відтворити/пауза/стоп",next:"Наступний трек",repeat:"Режим повторення"},volume_controls:"Елементи керування гучністю",volume_controls_list:{volume_buttons:"Кнопки гучності",volume_set:"Рівень гучності",volume_mute:"Вимк. звук"}},lock:{lock:"Зачинити",unlock:"Відчинити",open:"Відкрити"},humidifier:{show_target_humidity_control:"Керування вологістю?"},climate:{show_temperature_control:"Керування температурою?",hvac_modes:"Режими"},number:{display_mode:"Відображати режим",display_mode_list:{default:"За замовчуванням (повзунок)",slider:"Повзунок",buttons:"Кнопки"}}},chip:{sub_element_editor:{title:"Редактор міні-карток"},conditional:{chip:"Міні-картка"},"chip-picker":{chips:"Міні-картки",add:"Додати міні-картку",edit:"Редагувати",clear:"Очистити",select:"Обрати міні-картку",types:{action:"Дія","alarm-control-panel":"Сигналізація",back:"Назад",conditional:"Умовна",entity:"Сутність",light:"Світло",menu:"Меню",spacer:"Порожнє місце",template:"Вручну",weather:"Погода"}}}},nd={not_found:"Сутність не знайдено"},id={editor:ed,card:nd},od={form:{color_picker:{values:{default:"Màu mặc định"}},info_picker:{values:{default:"Thông tin mặc định",name:"Tên",state:"Trạng thái","last-changed":"Lần thay đổi cuối","last-updated":"Lần cập nhật cuối",none:"Không có"}},icon_type_picker:{values:{default:"Kiểu mặc định",icon:"Biểu tượng","entity-picture":"Ảnh thực thể",none:"Không có"}},layout_picker:{values:{default:"Bố cục mặc định",vertical:"Bố cục dọc",horizontal:"Bố cục ngang"}},alignment_picker:{values:{default:"Căn chỉnh mặc định",start:"Căn đầu",end:"Căn cuối",center:"Căn giữa",justify:"Căn hai bên"}}},card:{generic:{icon_color:"Màu biểu tượng",layout:"Bố cục",fill_container:"Làm đầy ô chứa",primary_info:"Thông tin chính",secondary_info:"Thông tin phụ",icon_type:"Kiểu biểu tượng",content_info:"Nội dung",use_entity_picture:"Dùng ảnh của thực thể?",collapsible_controls:"Thu nhỏ điều kiển khi tắt",icon_animation:"Biểu tượng chuyển động khi kích hoạt?"},light:{show_brightness_control:"Điều khiển độ sáng?",use_light_color:"Dùng màu đèn",show_color_temp_control:"Điều khiển nhiệt độ màu?",show_color_control:"Điều khiển màu sắc?",incompatible_controls:"Một số điều khiển sẽ không được hiển thị nếu đèn của bạn không hỗ trợ tính năng đó."},fan:{show_percentage_control:"Điều khiển dạng phần trăm?",show_oscillate_control:"Điều khiển xoay?"},cover:{show_buttons_control:"Điều khiển nút bấm?",show_position_control:"Điều khiển vị trí?",show_tilt_position_control:"Điều khiển độ nghiêng?"},template:{primary:"Thông tin chính",secondary:"Thông tin phụ",multiline_secondary:"Nhiều dòng thông tin phụ?",entity_extra:"Được sử dụng trong bản mẫu và hành động",content:"Nội dung",badge_icon:"Biểu tượng huy hiệu",badge_color:"Màu huy hiệu",picture:"Ảnh (thay cho biểu tượng)"},title:{title:"Tiêu đề",subtitle:"Phụ đề",title_tap_action:"Hành động khi nhấp tiêu đề",subtitle_tap_action:"Hành động khi nhấp phụ đề"},chips:{alignment:"Căn chỉnh"},weather:{show_conditions:"Điều kiện?",show_temperature:"Nhiệt độ?"},update:{show_buttons_control:"Điều khiển nút bấm?"},vacuum:{commands:"Mệnh lệnh",commands_list:{on_off:"Bật/tắt"}},"media-player":{use_media_info:"Dùng thông tin đa phương tiện",use_media_artwork:"Dùng ảnh đa phương tiện",show_volume_level:"Hiện mức âm lượng",media_controls:"Điều khiển đa phương tiện",media_controls_list:{on_off:"Bật/tắt",shuffle:"Xáo trộn",previous:"Bài trước",play_pause_stop:"Phát/tạm dừng/dừng",next:"Bài tiếp theo",repeat:"Chế độ lặp lại"},volume_controls:"Điều khiển âm lượng",volume_controls_list:{volume_buttons:"Nút âm lượng",volume_set:"Mức âm lượng",volume_mute:"Im lặng"}},lock:{lock:"Khóa",unlock:"Mở khóa",open:"Mở"},humidifier:{show_target_humidity_control:"Điều khiển độ ẩm?"},climate:{show_temperature_control:"Điều khiển nhiệt độ?",hvac_modes:"Chế độ điều hòa"},number:{display_mode:"Chế độ hiển thị",display_mode_list:{default:"Mặc định (thanh trượt)",slider:"Thanh trượt",buttons:"Nút"}}},chip:{sub_element_editor:{title:"Trình soạn phỉnh"},conditional:{chip:"Phỉnh"},"chip-picker":{chips:"Phỉnh",add:"Thêm phỉnh",edit:"Chỉnh sửa",clear:"Tẩy trống",select:"Chọn phỉnh",types:{action:"Hành động","alarm-control-panel":"Báo động",back:"Quay về",conditional:"Điều kiện",entity:"Thực thể",light:"Đèn",menu:"Trình đơn",spacer:"Ngăn cách",template:"Mẫu",weather:"Thời tiết"}}}},rd={not_found:"Không tìm thấy thực thể"},ad={editor:od,card:rd},ld={form:{color_picker:{values:{default:"默认颜色"}},info_picker:{values:{default:"默认信息",name:"名称",state:"状态","last-changed":"变更时间","last-updated":"更新时间",none:"无"}},icon_type_picker:{values:{default:"默认类型",icon:"图标","entity-picture":"实体图片",none:"无"}},layout_picker:{values:{default:"默认布局",vertical:"垂直布局",horizontal:"水平布局"}},alignment_picker:{values:{default:"默认",start:"左对齐",end:"右对齐",center:"居中对齐",justify:"两端对齐"}}},card:{generic:{icon_color:"图标颜色",layout:"布局",fill_container:"填满容器",primary_info:"首要信息",secondary_info:"次要信息",icon_type:"图标类型",content_info:"内容",use_entity_picture:"使用实体图片?",collapsible_controls:"关闭时隐藏控制器",icon_animation:"激活时使用动态图标?"},light:{show_brightness_control:"亮度控制?",use_light_color:"使用灯光颜色",show_color_temp_control:"色温控制?",show_color_control:"颜色控制?",incompatible_controls:"设备不支持的控制器将不会显示。"},fan:{show_percentage_control:"百分比控制?",show_oscillate_control:"摆动控制?"},cover:{show_buttons_control:"按钮控制?",show_position_control:"位置控制?",show_tilt_position_control:"角度控制?"},template:{primary:"首要信息",secondary:"次要信息",multiline_secondary:"多行次要信息?",entity_extra:"用于模板和动作",content:"内容",badge_icon:"徽标图标",badge_color:"徽标颜色",picture:"图片 (将会替代图标)"},title:{title:"标题",subtitle:"子标题",title_tap_action:"标题点击动作",subtitle_tap_action:"子标题点击动作"},chips:{alignment:"对齐"},weather:{show_conditions:"条件?",show_temperature:"温度?"},update:{show_buttons_control:"控制按钮?"},vacuum:{commands:"命令",commands_list:{on_off:"开/关"}},"media-player":{use_media_info:"使用媒体信息",use_media_artwork:"使用媒体插图",show_volume_level:"显示音量大小",media_controls:"媒体控制",media_controls_list:{on_off:"开启/关闭",shuffle:"随机",previous:"上一曲",play_pause_stop:"播放/暂停/停止",next:"下一曲",repeat:"循环模式"},volume_controls:"音量控制",volume_controls_list:{volume_buttons:"音量按钮",volume_set:"音量等级",volume_mute:"静音"}},lock:{lock:"锁定",unlock:"解锁",open:"打开"},humidifier:{show_target_humidity_control:"湿度控制?"},climate:{show_temperature_control:"温度控制?",hvac_modes:"空调模式"},number:{display_mode:"显示模式",display_mode_list:{default:"默认 (滑块)",slider:"滑块",buttons:"按钮"}}},chip:{sub_element_editor:{title:"Chip 编辑"},conditional:{chip:"Chip"},"chip-picker":{chips:"Chips",add:"添加 chip",edit:"编辑",clear:"清除",select:"选择 chip",types:{action:"动作","alarm-control-panel":"警戒控制台",back:"返回",conditional:"条件显示",entity:"实体",light:"灯光",menu:"菜单",spacer:"占位符",template:"模板",weather:"天气"}}}},sd={not_found:"未找到实体"},cd={editor:ld,card:sd},dd={form:{color_picker:{values:{default:"預設顏色"}},info_picker:{values:{default:"預設訊息",name:"名稱",state:"狀態","last-changed":"最近變動時間","last-updated":"最近更新時間",none:"無"}},icon_type_picker:{values:{default:"預設樣式",icon:"圖示","entity-picture":"實體圖片",none:"無"}},layout_picker:{values:{default:"預設佈局",vertical:"垂直佈局",horizontal:"水平佈局"}},alignment_picker:{values:{default:"預設對齊",start:"居左對齊",end:"居右對齊",center:"居中對齊",justify:"兩端對齊"}}},card:{generic:{color:"顏色",icon_color:"圖示顏色",layout:"佈局",fill_container:"填滿容器",primary_info:"主要訊息",secondary_info:"次要訊息",icon_type:"圖示樣式",content_info:"內容",use_entity_picture:"使用實體圖片?",collapsible_controls:"關閉時隱藏控制項",icon_animation:"啟動時使用動態圖示?"},light:{show_brightness_control:"亮度控制?",use_light_color:"使用燈光顏色",show_color_temp_control:"色溫控制?",show_color_control:"色彩控制?",incompatible_controls:"不會顯示裝置不支援的控制。"},fan:{show_percentage_control:"百分比控制?",show_oscillate_control:"擺頭控制?"},cover:{show_buttons_control:"按鈕控制?",show_position_control:"位置控制?",show_tilt_position_control:"角度控制?"},template:{primary:"主要訊息",secondary:"次要訊息",multiline_secondary:"多行次要訊息?",entity_extra:"用於模板與動作",label:"標籤",content:"內容",badge_icon:"角標圖示",badge_color:"角標顏色",picture:"圖片 (將會取代圖示)"},title:{title:"標題",subtitle:"副標題",title_tap_action:"標題點擊動作",subtitle_tap_action:"副標題點擊動作"},chips:{alignment:"對齊"},weather:{show_conditions:"狀況?",show_temperature:"溫度?"},update:{show_buttons_control:"按鈕控制?"},vacuum:{commands:"指令",commands_list:{on_off:"開啟、關閉"}},"media-player":{use_media_info:"使用媒體資訊",use_media_artwork:"使用媒體插圖",show_volume_level:"顯示音量大小",media_controls:"媒體控制",media_controls_list:{on_off:"開啟、關閉",shuffle:"隨機播放",previous:"上一首",play_pause_stop:"播放、暫停、停止",next:"下一首",repeat:"重複播放"},volume_controls:"音量控制",volume_controls_list:{volume_buttons:"音量按鈕",volume_set:"音量等級",volume_mute:"靜音"}},lock:{lock:"上鎖",unlock:"解鎖",open:"打開"},humidifier:{show_target_humidity_control:"溼度控制?"},climate:{show_temperature_control:"溫度控制?",hvac_modes:"空調模式"},number:{display_mode:"顯示模式",display_mode_list:{default:"預設 (滑桿)",slider:"滑桿",buttons:"按鈕"}}},chip:{sub_element_editor:{title:"小卡片編輯器"},conditional:{chip:"小卡片"},"chip-picker":{chips:"小卡片",add:"新增小卡片",edit:"編輯",clear:"清除",select:"選擇小卡片",types:{action:"動作","alarm-control-panel":"警報器控制",back:"返回",conditional:"條件",entity:"實體",light:"燈光",menu:"選單",spacer:"佔位符",template:"模板",weather:"天氣"}}}},ud={not_found:"未找到實體"},hd={editor:dd,card:ud},pd={ar:Object.freeze({__proto__:null,default:Bs,editor:Vs}),bg:Object.freeze({__proto__:null,default:Hs,editor:Fs}),ca:Object.freeze({__proto__:null,card:Ys,default:Ks,editor:Ws}),cs:Object.freeze({__proto__:null,card:qs,default:Gs,editor:Xs}),da:Object.freeze({__proto__:null,card:Js,default:Qs,editor:Zs}),de:Object.freeze({__proto__:null,card:ec,default:nc,editor:tc}),el:Object.freeze({__proto__:null,default:oc,editor:ic}),en:Object.freeze({__proto__:null,card:ac,default:lc,editor:rc}),es:Object.freeze({__proto__:null,default:cc,editor:sc}),fi:Object.freeze({__proto__:null,default:uc,editor:dc}),fr:Object.freeze({__proto__:null,card:pc,default:mc,editor:hc}),he:Object.freeze({__proto__:null,default:vc,editor:fc}),hu:Object.freeze({__proto__:null,card:_c,default:yc,editor:gc}),id:Object.freeze({__proto__:null,card:kc,default:xc,editor:bc}),it:Object.freeze({__proto__:null,card:Cc,default:Ec,editor:wc}),"ko-KR":Object.freeze({__proto__:null,default:Sc,editor:Ac}),nb:Object.freeze({__proto__:null,card:Tc,default:Ic,editor:Oc}),nl:Object.freeze({__proto__:null,card:$c,default:Mc,editor:zc}),pl:Object.freeze({__proto__:null,default:Pc,editor:jc}),"pt-BR":Object.freeze({__proto__:null,card:Dc,default:Nc,editor:Lc}),"pt-PT":Object.freeze({__proto__:null,default:Uc,editor:Rc}),ro:Object.freeze({__proto__:null,default:Bc,editor:Vc}),ru:Object.freeze({__proto__:null,default:Hc,editor:Fc}),sl:Object.freeze({__proto__:null,card:Yc,default:Kc,editor:Wc}),sk:Object.freeze({__proto__:null,card:qc,default:Gc,editor:Xc}),sv:Object.freeze({__proto__:null,default:Jc,editor:Zc}),tr:Object.freeze({__proto__:null,default:td,editor:Qc}),uk:Object.freeze({__proto__:null,card:nd,default:id,editor:ed}),vi:Object.freeze({__proto__:null,card:rd,default:ad,editor:od}),"zh-Hans":Object.freeze({__proto__:null,card:sd,default:cd,editor:ld}),"zh-Hant":Object.freeze({__proto__:null,card:ud,default:hd,editor:dd})};function md(t,e){try{return t.split(".").reduce((function(t,e){return t[e]}),pd[e])}catch(t){return}}function fd(t){return function(e){var n,i=md(e,null!==(n=null==t?void 0:t.locale.language)&&void 0!==n?n:"en");return i||(i=md(e,"en")),null!=i?i:e}} +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",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",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",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",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={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",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"}},template:{badge_color:"Kolor odznaki",badge_icon:"Ikona odznaki",content:"Zawartość",entity_extra:"Używane w szablonach i akcjach",multiline_secondary:"Drugorzędne wielowierszowe?",picture:"Obraz (zamiast ikony)",primary:"Informacje główne",secondary:"Informacje drugorzędne"},title:{subtitle:"Podtytuł",title:"Tytuł"},update:{show_buttons_control:"Przyciski sterujące?"},vacuum:{commands:"Polecenia"},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"}}}},wc={editor:xc},Cc={not_found:"Entidade não encontrada"},Ec={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"}}}},Ac={card:Cc,editor:Ec},Sc={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"}}}},Oc={editor:Sc},Tc={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ă"}}}},Ic={editor:Tc},zc={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:"Вертикальное расположение"}}}},$c={editor:zc},Mc={not_found:"Entiteta ni najdena"},jc={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"}}}},Pc={card:Mc,editor:jc},Lc={not_found:"Entita nenájdená"},Dc={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"}}}},Nc={card:Lc,editor:Dc},Rc={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"}}}},Vc={editor:Rc},Uc={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"}}}},Bc={editor:Uc},Fc={not_found:"Сутність не знайдено"},Hc={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:"Вертикальне розташування"}}}},Wc={card:Fc,editor:Hc},Yc={not_found:"Không tìm thấy thực thể"},Kc={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"}}}},Xc={card:Yc,editor:Kc},qc={not_found:"未找到实体"},Gc={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:"垂直布局"}}}},Zc={card:qc,editor:Gc},Jc={not_found:"未找到實體"},Qc={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:"垂直佈局"}}}},td={card:Jc,editor:Qc},ed={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,default:wc,editor:xc}),"pt-BR":Object.freeze({__proto__:null,card:Cc,default:Ac,editor:Ec}),"pt-PT":Object.freeze({__proto__:null,default:Oc,editor:Sc}),ro:Object.freeze({__proto__:null,default:Ic,editor:Tc}),ru:Object.freeze({__proto__:null,default:$c,editor:zc}),sl:Object.freeze({__proto__:null,card:Mc,default:Pc,editor:jc}),sk:Object.freeze({__proto__:null,card:Lc,default:Nc,editor:Dc}),sv:Object.freeze({__proto__:null,default:Vc,editor:Rc}),tr:Object.freeze({__proto__:null,default:Bc,editor:Uc}),uk:Object.freeze({__proto__:null,card:Fc,default:Wc,editor:Hc}),vi:Object.freeze({__proto__:null,card:Yc,default:Xc,editor:Kc}),"zh-Hans":Object.freeze({__proto__:null,card:qc,default:Zc,editor:Gc}),"zh-Hant":Object.freeze({__proto__:null,card:Jc,default:td,editor:Qc})};function nd(t,e){try{return t.split(".").reduce((function(t,e){return t[e]}),ed[e])}catch(t){return}}function id(t){return function(e){var n,i=nd(e,null!==(n=null==t?void 0:t.locale.language)&&void 0!==n?n:"en");return i||(i=nd(e,"en")),null!=i?i:e}} /** * @license * Copyright 2020 Google Inc. @@ -63,7 +63,7 @@ function el(t,e){return function(e,n,i){return function(t,e,n){return n.configur * 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 vd="Unknown",gd="Backspace",_d="Enter",yd="Spacebar",bd="PageUp",kd="PageDown",xd="End",wd="Home",Cd="ArrowLeft",Ed="ArrowUp",Ad="ArrowRight",Sd="ArrowDown",Od="Delete",Td="Escape",Id="Tab",zd=new Set;zd.add(gd),zd.add(_d),zd.add(yd),zd.add(bd),zd.add(kd),zd.add(xd),zd.add(wd),zd.add(Cd),zd.add(Ed),zd.add(Ad),zd.add(Sd),zd.add(Od),zd.add(Td),zd.add(Id);var $d=8,Md=13,jd=32,Pd=33,Ld=34,Dd=35,Nd=36,Rd=37,Ud=38,Vd=39,Bd=40,Fd=46,Hd=27,Wd=9,Yd=new Map;Yd.set($d,gd),Yd.set(Md,_d),Yd.set(jd,yd),Yd.set(Pd,bd),Yd.set(Ld,kd),Yd.set(Dd,xd),Yd.set(Nd,wd),Yd.set(Rd,Cd),Yd.set(Ud,Ed),Yd.set(Vd,Ad),Yd.set(Bd,Sd),Yd.set(Fd,Od),Yd.set(Hd,Td),Yd.set(Wd,Id);var Kd=new Set;function Xd(t){var e=t.key;if(zd.has(e))return e;var n=Yd.get(t.keyCode);return n||vd} + */var od="Unknown",rd="Backspace",ad="Enter",ld="Spacebar",sd="PageUp",cd="PageDown",dd="End",ud="Home",hd="ArrowLeft",pd="ArrowUp",fd="ArrowRight",md="ArrowDown",vd="Delete",gd="Escape",_d="Tab",yd=new Set;yd.add(rd),yd.add(ad),yd.add(ld),yd.add(sd),yd.add(cd),yd.add(dd),yd.add(ud),yd.add(hd),yd.add(pd),yd.add(fd),yd.add(md),yd.add(vd),yd.add(gd),yd.add(_d);var bd=8,kd=13,xd=32,wd=33,Cd=34,Ed=35,Ad=36,Sd=37,Od=38,Td=39,Id=40,zd=46,$d=27,Md=9,jd=new Map;jd.set(bd,rd),jd.set(kd,ad),jd.set(xd,ld),jd.set(wd,sd),jd.set(Cd,cd),jd.set(Ed,dd),jd.set(Ad,ud),jd.set(Sd,hd),jd.set(Od,pd),jd.set(Td,fd),jd.set(Id,md),jd.set(zd,vd),jd.set($d,gd),jd.set(Md,_d);var Pd=new Set;function Ld(t){var e=t.key;if(yd.has(e))return e;var n=jd.get(t.keyCode);return n||od} /** * @license * Copyright 2020 Google Inc. @@ -85,7 +85,7 @@ function el(t,e){return function(e,n,i){return function(t,e,n){return n.configur * 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. - */Kd.add(bd),Kd.add(kd),Kd.add(xd),Kd.add(wd),Kd.add(Cd),Kd.add(Ed),Kd.add(Ad),Kd.add(Sd);var qd={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"},Gd=new Set;Gd.add(qd.BACKSPACE),Gd.add(qd.ENTER),Gd.add(qd.SPACEBAR),Gd.add(qd.PAGE_UP),Gd.add(qd.PAGE_DOWN),Gd.add(qd.END),Gd.add(qd.HOME),Gd.add(qd.ARROW_LEFT),Gd.add(qd.ARROW_UP),Gd.add(qd.ARROW_RIGHT),Gd.add(qd.ARROW_DOWN),Gd.add(qd.DELETE),Gd.add(qd.ESCAPE),Gd.add(qd.TAB);var Zd=8,Jd=13,Qd=32,tu=33,eu=34,nu=35,iu=36,ou=37,ru=38,au=39,lu=40,su=46,cu=27,du=9,uu=new Map;uu.set(Zd,qd.BACKSPACE),uu.set(Jd,qd.ENTER),uu.set(Qd,qd.SPACEBAR),uu.set(tu,qd.PAGE_UP),uu.set(eu,qd.PAGE_DOWN),uu.set(nu,qd.END),uu.set(iu,qd.HOME),uu.set(ou,qd.ARROW_LEFT),uu.set(ru,qd.ARROW_UP),uu.set(au,qd.ARROW_RIGHT),uu.set(lu,qd.ARROW_DOWN),uu.set(su,qd.DELETE),uu.set(cu,qd.ESCAPE),uu.set(du,qd.TAB);var hu,pu,mu=new Set;function fu(t){var e=t.key;if(Gd.has(e))return e;var n=uu.get(t.keyCode);return n||qd.UNKNOWN} + */Pd.add(sd),Pd.add(cd),Pd.add(dd),Pd.add(ud),Pd.add(hd),Pd.add(pd),Pd.add(fd),Pd.add(md);var Dd={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"},Nd=new Set;Nd.add(Dd.BACKSPACE),Nd.add(Dd.ENTER),Nd.add(Dd.SPACEBAR),Nd.add(Dd.PAGE_UP),Nd.add(Dd.PAGE_DOWN),Nd.add(Dd.END),Nd.add(Dd.HOME),Nd.add(Dd.ARROW_LEFT),Nd.add(Dd.ARROW_UP),Nd.add(Dd.ARROW_RIGHT),Nd.add(Dd.ARROW_DOWN),Nd.add(Dd.DELETE),Nd.add(Dd.ESCAPE),Nd.add(Dd.TAB);var Rd=8,Vd=13,Ud=32,Bd=33,Fd=34,Hd=35,Wd=36,Yd=37,Kd=38,Xd=39,qd=40,Gd=46,Zd=27,Jd=9,Qd=new Map;Qd.set(Rd,Dd.BACKSPACE),Qd.set(Vd,Dd.ENTER),Qd.set(Ud,Dd.SPACEBAR),Qd.set(Bd,Dd.PAGE_UP),Qd.set(Fd,Dd.PAGE_DOWN),Qd.set(Hd,Dd.END),Qd.set(Wd,Dd.HOME),Qd.set(Yd,Dd.ARROW_LEFT),Qd.set(Kd,Dd.ARROW_UP),Qd.set(Xd,Dd.ARROW_RIGHT),Qd.set(qd,Dd.ARROW_DOWN),Qd.set(Gd,Dd.DELETE),Qd.set(Zd,Dd.ESCAPE),Qd.set(Jd,Dd.TAB);var tu,eu,nu=new Set;function iu(t){var e=t.key;if(Nd.has(e))return e;var n=Qd.get(t.keyCode);return n||Dd.UNKNOWN} /** * @license * Copyright 2018 Google Inc. @@ -107,7 +107,7 @@ function el(t,e){return function(e,n,i){return function(t,e,n){return n.configur * 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. - */mu.add(qd.PAGE_UP),mu.add(qd.PAGE_DOWN),mu.add(qd.END),mu.add(qd.HOME),mu.add(qd.ARROW_LEFT),mu.add(qd.ARROW_UP),mu.add(qd.ARROW_RIGHT),mu.add(qd.ARROW_DOWN);var vu="mdc-list-item--activated",gu="mdc-list-item",_u="mdc-list-item--disabled",yu="mdc-list-item--selected",bu="mdc-list-item__text",ku="mdc-list-item__primary-text",xu="mdc-list";(hu={})[""+vu]="mdc-list-item--activated",hu[""+gu]="mdc-list-item",hu[""+_u]="mdc-list-item--disabled",hu[""+yu]="mdc-list-item--selected",hu[""+ku]="mdc-list-item__primary-text",hu[""+xu]="mdc-list";var wu=((pu={})[""+vu]="mdc-deprecated-list-item--activated",pu[""+gu]="mdc-deprecated-list-item",pu[""+_u]="mdc-deprecated-list-item--disabled",pu[""+yu]="mdc-deprecated-list-item--selected",pu[""+bu]="mdc-deprecated-list-item__text",pu[""+ku]="mdc-deprecated-list-item__primary-text",pu[""+xu]="mdc-deprecated-list",pu);wu[gu],wu[gu],wu[gu],wu[gu],wu[gu],wu[gu];var Cu={UNSET_INDEX:-1,TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS:300},Eu=["input","button","textarea","select"],Au=function(t){var e=t.target;if(e){var n=(""+e.tagName).toLowerCase();-1===Eu.indexOf(n)&&t.preventDefault()}}; + */nu.add(Dd.PAGE_UP),nu.add(Dd.PAGE_DOWN),nu.add(Dd.END),nu.add(Dd.HOME),nu.add(Dd.ARROW_LEFT),nu.add(Dd.ARROW_UP),nu.add(Dd.ARROW_RIGHT),nu.add(Dd.ARROW_DOWN);var ou="mdc-list-item--activated",ru="mdc-list-item",au="mdc-list-item--disabled",lu="mdc-list-item--selected",su="mdc-list-item__text",cu="mdc-list-item__primary-text",du="mdc-list";(tu={})[""+ou]="mdc-list-item--activated",tu[""+ru]="mdc-list-item",tu[""+au]="mdc-list-item--disabled",tu[""+lu]="mdc-list-item--selected",tu[""+cu]="mdc-list-item__primary-text",tu[""+du]="mdc-list";var uu=((eu={})[""+ou]="mdc-deprecated-list-item--activated",eu[""+ru]="mdc-deprecated-list-item",eu[""+au]="mdc-deprecated-list-item--disabled",eu[""+lu]="mdc-deprecated-list-item--selected",eu[""+su]="mdc-deprecated-list-item__text",eu[""+cu]="mdc-deprecated-list-item__primary-text",eu[""+du]="mdc-deprecated-list",eu);uu[ru],uu[ru],uu[ru],uu[ru],uu[ru],uu[ru];var hu={UNSET_INDEX:-1,TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS:300},pu=["input","button","textarea","select"],fu=function(t){var e=t.target;if(e){var n=(""+e.tagName).toLowerCase();-1===pu.indexOf(n)&&t.preventDefault()}}; /** * @license * Copyright 2020 Google Inc. @@ -129,45 +129,45 @@ function el(t,e){return function(e,n,i){return function(t,e,n){return n.configur * 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 Su(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 Tu(t){return t.typeaheadBuffer.length>0} + */function mu(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 gu(t){return t.typeaheadBuffer.length>0} /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -var Iu;null===(Iu=window.HTMLSlotElement)||void 0===Iu||Iu.prototype.assignedElements; +var _u;null===(_u=window.HTMLSlotElement)||void 0===_u||_u.prototype.assignedElements; /** * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -var zu,$u,Mu=window,ju=Mu.ShadowRoot&&(void 0===Mu.ShadyCSS||Mu.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Pu=Symbol(),Lu=new WeakMap,Du=function(){return Mr((function t(e,n,i){if(zr(this,t),this._$cssResult$=!0,i!==Pu)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(ju&&void 0===t){var n=void 0!==e&&1===e.length;n&&(t=Lu.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Lu.set(e,t))}return t}},{key:"toString",value:function(){return this.cssText}}])}(),Nu=ju?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 Du("string"==typeof t?t:t+"",void 0,Pu)}(n)}(t):t},Ru=window,Uu=Ru.trustedTypes,Vu=Uu?Uu.emptyScript:"",Bu=Ru.reactiveElementPolyfillSupport,Fu={toAttribute:function(t,e){switch(e){case Boolean:t=t?Vu: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}},Hu=function(t,e){return e!==t&&(e==e||t==t)},Wu={attribute:!0,type:String,converter:Fu,reflect:!1,hasChanged:Hu},Yu="finalized",Ku=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){ju?t.adoptedStyleSheets=e.map((function(t){return t instanceof CSSStyleSheet?t:t.styleSheet})):e.forEach((function(e){var n=document.createElement("style"),i=Mu.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]:Wu,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:Fu).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:Fu;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||Hu)(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]:Wu;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)||Wu}},{key:"finalize",value:function(){if(this.hasOwnProperty(Yu))return!1;this[Yu]=!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(Nu(o))}}catch(t){i.e(t)}finally{i.f()}}else void 0!==t&&e.push(Nu(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}();Ku[Yu]=!0,Ku.elementProperties=new Map,Ku.elementStyles=[],Ku.shadowRootOptions={mode:"open"},null==Bu||Bu({ReactiveElement:Ku}),(null!==(zu=Ru.reactiveElementVersions)&&void 0!==zu?zu:Ru.reactiveElementVersions=[]).push("1.6.3");var Xu=window,qu=Xu.trustedTypes,Gu=qu?qu.createPolicy("lit-html",{createHTML:function(t){return t}}):void 0,Zu="$lit$",Ju="lit$".concat((Math.random()+"").slice(9),"$"),Qu="?"+Ju,th="<".concat(Qu,">"),eh=document,nh=function(){return eh.createComment("")},ih=function(t){return null===t||"object"!=Pr(t)&&"function"!=typeof t},oh=Array.isArray,rh="[ \t\n\f\r]",ah=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,lh=/-->/g,sh=/>/g,ch=RegExp(">|".concat(rh,"(?:([^\\s\"'>=/]+)(").concat(rh,"*=").concat(rh,"*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),dh=/'/g,uh=/"/g,hh=/^(?:script|style|textarea|title)$/i,ph=Symbol.for("lit-noChange"),mh=Symbol.for("lit-nothing"),fh=new WeakMap,vh=eh.createTreeWalker(eh,129,null,!1);function gh(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Gu?Gu.createHTML(e):e}var _h=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=ah,l=0;l"===d[0]?(a=null!=n?n:ah,u=-1):void 0===d[1]?u=-2:(u=a.lastIndex-d[2].length,c=d[1],a=void 0===d[3]?ch:'"'===d[3]?uh:dh):a===uh||a===dh?a=ch:a===lh||a===sh?a=ah:(a=ch,n=void 0);var p=a===ch&&t[l+1].startsWith("/>")?" ":"";r+=a===ah?s+th:u>=0?(o.push(c),s.slice(0,u)+Zu+s.slice(u)+Ju+p):s+Ju+(-2===u?(o.push(void 0),l):p)}return[gh(t,r+(t[i]||"")+(2===e?"":"")),o]}(o,r),u=mr(d,2),h=u[0],p=u[1];if(this.el=t.createElement(h,n),vh.currentNode=this.el.content,2===r){var m=this.el.content,f=m.firstChild;f.remove(),m.append.apply(m,hr(f.childNodes))}for(;null!==(i=vh.nextNode())&&c.length0){i.textContent=qu?qu.emptyScript:"";for(var O=0;O2&&void 0!==arguments[2]?arguments[2]:t,l=arguments.length>3?arguments[3]:void 0;if(e===ph)return e;var s=void 0!==l?null===(n=a._$Co)||void 0===n?void 0:n[l]:a._$Cl,c=ih(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=yh(t,s._$AS(t,e.values),s,l)),e}var bh=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:eh).importNode(i,!0);vh.currentNode=r;for(var a=vh.nextNode(),l=0,s=0,c=o[0];void 0!==c;){if(l===c.index){var d=void 0;2===c.type?d=new kh(a,a.nextSibling,this,t):1===c.type?d=new c.ctor(a,c.name,c.strings,this,t):6===c.type&&(d=new Sh(a,this,t)),this._$AV.push(d),c=o[++s]}l!==(null==c?void 0:c.index)&&(a=vh.nextNode(),l++)}return vh.currentNode=eh,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()}}}])}(),kh=function(){function t(e,n,i,o){var r;zr(this,t),this.type=2,this._$AH=mh,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=yh(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),ih(t)?t===mh||null==t||""===t?(this._$AH!==mh&&this._$AR(),this._$AH=mh):t!==this._$AH&&t!==ph&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):function(t){return oh(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!==mh&&ih(this._$AH)?this._$AA.nextSibling.data=t:this.$(eh.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=_h.createElement(gh(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 bh(o,this),a=r.u(this.options);r.v(n),this.$(a),this._$AH=r}}},{key:"_$AC",value:function(t){var e=fh.get(t.strings);return void 0===e&&fh.set(t.strings,e=new _h(t)),e}},{key:"T",value:function(e){oh(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(nh()),this.k(nh()),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))}}])}(),xh=function(){return Mr((function t(e,n,i,o,r){zr(this,t),this.type=1,this._$AH=mh,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=mh}),[{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=yh(this,t,e,0),(r=!ih(t)||t!==this._$AH&&t!==ph)&&(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:mh)!==ph){var n=this._$AH,i=t===mh&&n!==mh||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,o=t!==mh&&(n===mh||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)}}])}(),Sh=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){yh(this,t)}}])}(),Oh=Xu.litHtmlPolyfillSupport;null==Oh||Oh(_h,kh),(null!==($u=Xu.litHtmlVersions)&&void 0!==$u?$u:Xu.litHtmlVersions=[]).push("2.8.0");var Th,Ih,zh=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,Ku),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 kh(e.insertBefore(nh(),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 ph}}])}(); +var yu,bu,ku=window,xu=ku.ShadowRoot&&(void 0===ku.ShadyCSS||ku.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,wu=Symbol(),Cu=new WeakMap,Eu=function(){return Mr((function t(e,n,i){if(zr(this,t),this._$cssResult$=!0,i!==wu)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(xu&&void 0===t){var n=void 0!==e&&1===e.length;n&&(t=Cu.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Cu.set(e,t))}return t}},{key:"toString",value:function(){return this.cssText}}])}(),Au=xu?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 Eu("string"==typeof t?t:t+"",void 0,wu)}(n)}(t):t},Su=window,Ou=Su.trustedTypes,Tu=Ou?Ou.emptyScript:"",Iu=Su.reactiveElementPolyfillSupport,zu={toAttribute:function(t,e){switch(e){case Boolean:t=t?Tu: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}},$u=function(t,e){return e!==t&&(e==e||t==t)},Mu={attribute:!0,type:String,converter:zu,reflect:!1,hasChanged:$u},ju="finalized",Pu=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){xu?t.adoptedStyleSheets=e.map((function(t){return t instanceof CSSStyleSheet?t:t.styleSheet})):e.forEach((function(e){var n=document.createElement("style"),i=ku.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]:Mu,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:zu).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:zu;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||$u)(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]:Mu;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)||Mu}},{key:"finalize",value:function(){if(this.hasOwnProperty(ju))return!1;this[ju]=!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(Au(o))}}catch(t){i.e(t)}finally{i.f()}}else void 0!==t&&e.push(Au(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}();Pu[ju]=!0,Pu.elementProperties=new Map,Pu.elementStyles=[],Pu.shadowRootOptions={mode:"open"},null==Iu||Iu({ReactiveElement:Pu}),(null!==(yu=Su.reactiveElementVersions)&&void 0!==yu?yu:Su.reactiveElementVersions=[]).push("1.6.3");var Lu=window,Du=Lu.trustedTypes,Nu=Du?Du.createPolicy("lit-html",{createHTML:function(t){return t}}):void 0,Ru="$lit$",Vu="lit$".concat((Math.random()+"").slice(9),"$"),Uu="?"+Vu,Bu="<".concat(Uu,">"),Fu=document,Hu=function(){return Fu.createComment("")},Wu=function(t){return null===t||"object"!=Pr(t)&&"function"!=typeof t},Yu=Array.isArray,Ku="[ \t\n\f\r]",Xu=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,qu=/-->/g,Gu=/>/g,Zu=RegExp(">|".concat(Ku,"(?:([^\\s\"'>=/]+)(").concat(Ku,"*=").concat(Ku,"*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),Ju=/'/g,Qu=/"/g,th=/^(?:script|style|textarea|title)$/i,eh=Symbol.for("lit-noChange"),nh=Symbol.for("lit-nothing"),ih=new WeakMap,oh=Fu.createTreeWalker(Fu,129,null,!1);function rh(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Nu?Nu.createHTML(e):e}var ah=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=Xu,l=0;l"===d[0]?(a=null!=n?n:Xu,u=-1):void 0===d[1]?u=-2:(u=a.lastIndex-d[2].length,c=d[1],a=void 0===d[3]?Zu:'"'===d[3]?Qu:Ju):a===Qu||a===Ju?a=Zu:a===qu||a===Gu?a=Xu:(a=Zu,n=void 0);var p=a===Zu&&t[l+1].startsWith("/>")?" ":"";r+=a===Xu?s+Bu:u>=0?(o.push(c),s.slice(0,u)+Ru+s.slice(u)+Vu+p):s+Vu+(-2===u?(o.push(void 0),l):p)}return[rh(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),oh.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=oh.nextNode())&&c.length0){i.textContent=Du?Du.emptyScript:"";for(var O=0;O2&&void 0!==arguments[2]?arguments[2]:t,l=arguments.length>3?arguments[3]:void 0;if(e===eh)return e;var s=void 0!==l?null===(n=a._$Co)||void 0===n?void 0:n[l]:a._$Cl,c=Wu(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=lh(t,s._$AS(t,e.values),s,l)),e}var sh=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:Fu).importNode(i,!0);oh.currentNode=r;for(var a=oh.nextNode(),l=0,s=0,c=o[0];void 0!==c;){if(l===c.index){var d=void 0;2===c.type?d=new ch(a,a.nextSibling,this,t):1===c.type?d=new c.ctor(a,c.name,c.strings,this,t):6===c.type&&(d=new mh(a,this,t)),this._$AV.push(d),c=o[++s]}l!==(null==c?void 0:c.index)&&(a=oh.nextNode(),l++)}return oh.currentNode=Fu,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()}}}])}(),ch=function(){function t(e,n,i,o){var r;zr(this,t),this.type=2,this._$AH=nh,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=lh(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),Wu(t)?t===nh||null==t||""===t?(this._$AH!==nh&&this._$AR(),this._$AH=nh):t!==this._$AH&&t!==eh&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):function(t){return Yu(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!==nh&&Wu(this._$AH)?this._$AA.nextSibling.data=t:this.$(Fu.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=ah.createElement(rh(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 sh(o,this),a=r.u(this.options);r.v(n),this.$(a),this._$AH=r}}},{key:"_$AC",value:function(t){var e=ih.get(t.strings);return void 0===e&&ih.set(t.strings,e=new ah(t)),e}},{key:"T",value:function(e){Yu(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(Hu()),this.k(Hu()),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))}}])}(),dh=function(){return Mr((function t(e,n,i,o,r){zr(this,t),this.type=1,this._$AH=nh,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=nh}),[{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=lh(this,t,e,0),(r=!Wu(t)||t!==this._$AH&&t!==eh)&&(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:nh)!==eh){var n=this._$AH,i=t===nh&&n!==nh||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,o=t!==nh&&(n===nh||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)}}])}(),mh=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){lh(this,t)}}])}(),vh=Lu.litHtmlPolyfillSupport;null==vh||vh(ah,ch),(null!==(bu=Lu.litHtmlVersions)&&void 0!==bu?bu:Lu.litHtmlVersions=[]).push("2.8.0");var gh,_h,yh=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,Pu),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 ch(e.insertBefore(Hu(),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 eh}}])}(); /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */zh.finalized=!0,zh._$litElement$=!0,null===(Th=globalThis.litElementHydrateSupport)||void 0===Th||Th.call(globalThis,{LitElement:zh});var $h=globalThis.litElementPolyfillSupport;null==$h||$h({LitElement:zh}),(null!==(Ih=globalThis.litElementVersions)&&void 0!==Ih?Ih:globalThis.litElementVersions=[]).push("3.3.3");function Mh(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 jh=function(){},Ph={get passive(){return!1}};document.addEventListener("x",jh,Ph),document.removeEventListener("x",jh); + */yh.finalized=!0,yh._$litElement$=!0,null===(gh=globalThis.litElementHydrateSupport)||void 0===gh||gh.call(globalThis,{LitElement:yh});var bh=globalThis.litElementPolyfillSupport;null==bh||bh({LitElement:yh}),(null!==(_h=globalThis.litElementVersions)&&void 0!==_h?_h:globalThis.litElementVersions=[]).push("3.3.3");function kh(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 xh=function(){},wh={get passive(){return!1}};document.addEventListener("x",xh,wh),document.removeEventListener("x",xh); /** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: Apache-2.0 - */var Lh,Dh,Nh=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,zh),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()}}])}(),Rh=null!==(Dh=null===(Lh=window.ShadyDOM)||void 0===Lh?void 0:Lh.inUse)&&void 0!==Dh&&Dh,Uh=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,Nh),Mr(e,[{key:"findFormElement",value:function(){if(!this.shadowRoot||Rh)return null;for(var t=this.getRootNode().querySelectorAll("form"),e=0,n=Array.from(t);e=this.adapter.getMenuItemCount()||(t===Bp.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!==Bp.UNSET_INDEX?e[t]:""},e.prototype.getDisabled=function(){return this.disabled},e.prototype.setDisabled=function(t){this.disabled=t,this.disabled?(this.adapter.addClass(Up.DISABLED),this.adapter.closeMenu()):this.adapter.removeClass(Up.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(Up.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(Up.FOCUSED),n=t||e,i=this.adapter.hasClass(Up.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(Up.ACTIVATED),this.isMenuOpen=!1,this.adapter.isSelectAnchorFocused()||this.blur()},e.prototype.handleChange=function(){this.layout(),this.adapter.notifyChange(this.getValue()),this.adapter.hasClass(Up.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},e.prototype.handleMenuItemAction=function(t){this.setSelectedIndex(t,!0)},e.prototype.handleFocus=function(){this.adapter.addClass(Up.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(Up.FOCUSED)){var e=Dp(t)===rp,n=Dp(t)===ap,i=Dp(t)===hp,o=Dp(t)===mp;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(Up.FOCUSED);if(t){var n=Bp.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(Up.INVALID),this.adapter.removeMenuClass(Up.MENU_INVALID)):(this.adapter.addClass(Up.INVALID),this.adapter.addMenuClass(Up.MENU_INVALID)),this.syncHelperTextValidity(t)},e.prototype.isValid=function(){return this.useDefaultValidation&&this.adapter.hasClass(Up.REQUIRED)&&!this.adapter.hasClass(Up.DISABLED)?this.getSelectedIndex()!==Bp.UNSET_INDEX&&(0!==this.getSelectedIndex()||Boolean(this.getValue())):this.customValidity},e.prototype.setRequired=function(t){t?this.adapter.addClass(Up.REQUIRED):this.adapter.removeClass(Up.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(Pp.BOTTOM_START)),this.adapter.setMenuWrapFocus(!1),this.setDisabled(this.adapter.hasClass(Up.DISABLED)),this.syncHelperTextValidity(!this.adapter.hasClass(Up.INVALID)),this.layout(),this.layoutOptions()},e.prototype.blur=function(){this.adapter.removeClass(Up.FOCUSED),this.layout(),this.adapter.deactivateBottomLine(),this.adapter.hasClass(Up.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(Vp.ARIA_DESCRIBEDBY,n):this.adapter.removeSelectAnchorAttr(Vp.ARIA_DESCRIBEDBY)}},e.prototype.setClickDebounceTimeout=function(){var t=this;clearTimeout(this.clickDebounceTimeout),this.clickDebounceTimeout=setTimeout((function(){t.recentlyClicked=!1}),Bp.CLICK_DEBOUNCE_TIMEOUT_MS),this.recentlyClicked=!0},e}(np),Hp=window,Wp=Hp.ShadowRoot&&(void 0===Hp.ShadyCSS||Hp.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Yp=Symbol(),Kp=new WeakMap,Xp=function(){return Mr((function t(e,n,i){if(zr(this,t),this._$cssResult$=!0,i!==Yp)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(Wp&&void 0===t){var n=void 0!==e&&1===e.length;n&&(t=Kp.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Kp.set(e,t))}return t}},{key:"toString",value:function(){return this.cssText}}])}(),qp=Wp?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 Xp("string"==typeof t?t:t+"",void 0,Yp)}(n)}(t):t},Gp=window,Zp=Gp.trustedTypes,Jp=Zp?Zp.emptyScript:"",Qp=Gp.reactiveElementPolyfillSupport,tm={toAttribute:function(t,e){switch(e){case Boolean:t=t?Jp: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}},em=function(t,e){return e!==t&&(e==e||t==t)},nm={attribute:!0,type:String,converter:tm,reflect:!1,hasChanged:em},im="finalized",om=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){Wp?t.adoptedStyleSheets=e.map((function(t){return t instanceof CSSStyleSheet?t:t.styleSheet})):e.forEach((function(e){var n=document.createElement("style"),i=Hp.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]:nm,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:tm).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:tm;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||em)(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]:nm;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)||nm}},{key:"finalize",value:function(){if(this.hasOwnProperty(im))return!1;this[im]=!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(qp(o))}}catch(t){i.e(t)}finally{i.f()}}else void 0!==t&&e.push(qp(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}();om[im]=!0,om.elementProperties=new Map,om.elementStyles=[],om.shadowRootOptions={mode:"open"},null==Qp||Qp({ReactiveElement:om}),(null!==(Np=Gp.reactiveElementVersions)&&void 0!==Np?Np:Gp.reactiveElementVersions=[]).push("1.6.3");var rm=window,am=rm.trustedTypes,lm=am?am.createPolicy("lit-html",{createHTML:function(t){return t}}):void 0,sm="$lit$",cm="lit$".concat((Math.random()+"").slice(9),"$"),dm="?"+cm,um="<".concat(dm,">"),hm=document,pm=function(){return hm.createComment("")},mm=function(t){return null===t||"object"!=Pr(t)&&"function"!=typeof t},fm=Array.isArray,vm="[ \t\n\f\r]",gm=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_m=/-->/g,ym=/>/g,bm=RegExp(">|".concat(vm,"(?:([^\\s\"'>=/]+)(").concat(vm,"*=").concat(vm,"*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),km=/'/g,xm=/"/g,wm=/^(?:script|style|textarea|title)$/i,Cm=function(t){return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o":"",a=gm,l=0;l"===d[0]?(a=null!=n?n:gm,u=-1):void 0===d[1]?u=-2:(u=a.lastIndex-d[2].length,c=d[1],a=void 0===d[3]?bm:'"'===d[3]?xm:km):a===xm||a===km?a=bm:a===_m||a===ym?a=gm:(a=bm,n=void 0);var p=a===bm&&t[l+1].startsWith("/>")?" ":"";r+=a===gm?s+um:u>=0?(o.push(c),s.slice(0,u)+sm+s.slice(u)+cm+p):s+cm+(-2===u?(o.push(void 0),l):p)}return[Tm(t,r+(t[i]||"")+(2===e?"":"")),o]}(o,r),u=mr(d,2),h=u[0],p=u[1];if(this.el=t.createElement(h,n),Om.currentNode=this.el.content,2===r){var m=this.el.content,f=m.firstChild;f.remove(),m.append.apply(m,hr(f.childNodes))}for(;null!==(i=Om.nextNode())&&c.length0){i.textContent=am?am.emptyScript:"";for(var O=0;O2&&void 0!==arguments[2]?arguments[2]:t,l=arguments.length>3?arguments[3]:void 0;if(e===Em)return e;var s=void 0!==l?null===(n=a._$Co)||void 0===n?void 0:n[l]:a._$Cl,c=mm(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=zm(t,s._$AS(t,e.values),s,l)),e}var $m=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:hm).importNode(i,!0);Om.currentNode=r;for(var a=Om.nextNode(),l=0,s=0,c=o[0];void 0!==c;){if(l===c.index){var d=void 0;2===c.type?d=new Mm(a,a.nextSibling,this,t):1===c.type?d=new c.ctor(a,c.name,c.strings,this,t):6===c.type&&(d=new Rm(a,this,t)),this._$AV.push(d),c=o[++s]}l!==(null==c?void 0:c.index)&&(a=Om.nextNode(),l++)}return Om.currentNode=hm,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()}}}])}(),Mm=function(){function t(e,n,i,o){var r;zr(this,t),this.type=2,this._$AH=Am,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=zm(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),mm(t)?t===Am||null==t||""===t?(this._$AH!==Am&&this._$AR(),this._$AH=Am):t!==this._$AH&&t!==Em&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):function(t){return fm(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!==Am&&mm(this._$AH)?this._$AA.nextSibling.data=t:this.$(hm.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=Im.createElement(Tm(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 $m(o,this),a=r.u(this.options);r.v(n),this.$(a),this._$AH=r}}},{key:"_$AC",value:function(t){var e=Sm.get(t.strings);return void 0===e&&Sm.set(t.strings,e=new Im(t)),e}},{key:"T",value:function(e){fm(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(pm()),this.k(pm()),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))}}])}(),jm=function(){return Mr((function t(e,n,i,o,r){zr(this,t),this.type=1,this._$AH=Am,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=Am}),[{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=zm(this,t,e,0),(r=!mm(t)||t!==this._$AH&&t!==Em)&&(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:Am)!==Em){var n=this._$AH,i=t===Am&&n!==Am||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,o=t!==Am&&(n===Am||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)}}])}(),Rm=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){zm(this,t)}}])}(),Um=rm.litHtmlPolyfillSupport;null==Um||Um(Im,Mm),(null!==(Rp=rm.litHtmlVersions)&&void 0!==Rp?Rp:rm.litHtmlVersions=[]).push("2.8.0");var Vm,Bm,Fm=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,om),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 Mm(e.insertBefore(pm(),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 Em}}])}(); +var Ap,Sp,Op={ACTIVATED:"mdc-select--activated",DISABLED:"mdc-select--disabled",FOCUSED:"mdc-select--focused",INVALID:"mdc-select--invalid",MENU_INVALID:"mdc-select__menu--invalid",OUTLINED:"mdc-select--outlined",REQUIRED:"mdc-select--required",ROOT:"mdc-select",WITH_LEADING_ICON:"mdc-select--with-leading-icon"},Tp={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",ARIA_SELECTED_ATTR:"aria-selected",CHANGE_EVENT:"MDCSelect:change",HIDDEN_INPUT_SELECTOR:'input[type="hidden"]',LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-select__icon",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",MENU_SELECTOR:".mdc-select__menu",OUTLINE_SELECTOR:".mdc-notched-outline",SELECTED_TEXT_SELECTOR:".mdc-select__selected-text",SELECT_ANCHOR_SELECTOR:".mdc-select__anchor",VALUE_ATTR:"data-value"},Ip={LABEL_SCALE:.75,UNSET_INDEX:-1,CLICK_DEBOUNCE_TIMEOUT_MS:330},zp=function(t){function e(n,i){void 0===i&&(i={});var o=t.call(this,Rr(Rr({},e.defaultAdapter),n))||this;return o.disabled=!1,o.isMenuOpen=!1,o.useDefaultValidation=!0,o.customValidity=!0,o.lastSelectedIndex=Ip.UNSET_INDEX,o.clickDebounceTimeout=0,o.recentlyClicked=!1,o.leadingIcon=i.leadingIcon,o.helperText=i.helperText,o}return Nr(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return Op},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return Ip},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return Tp},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},activateBottomLine:function(){},deactivateBottomLine:function(){},getSelectedIndex:function(){return-1},setSelectedIndex:function(){},hasLabel:function(){return!1},floatLabel:function(){},getLabelWidth:function(){return 0},setLabelRequired:function(){},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){},setRippleCenter:function(){},notifyChange:function(){},setSelectedText:function(){},isSelectAnchorFocused:function(){return!1},getSelectAnchorAttr:function(){return""},setSelectAnchorAttr:function(){},removeSelectAnchorAttr:function(){},addMenuClass:function(){},removeMenuClass:function(){},openMenu:function(){},closeMenu:function(){},getAnchorElement:function(){return null},setMenuAnchorElement:function(){},setMenuAnchorCorner:function(){},setMenuWrapFocus:function(){},focusMenuItemAtIndex:function(){},getMenuItemCount:function(){return 0},getMenuItemValues:function(){return[]},getMenuItemTextAtIndex:function(){return""},isTypeaheadInProgress:function(){return!1},typeaheadMatchItem:function(){return-1}}},enumerable:!1,configurable:!0}),e.prototype.getSelectedIndex=function(){return this.adapter.getSelectedIndex()},e.prototype.setSelectedIndex=function(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1),t>=this.adapter.getMenuItemCount()||(t===Ip.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!==Ip.UNSET_INDEX?e[t]:""},e.prototype.getDisabled=function(){return this.disabled},e.prototype.setDisabled=function(t){this.disabled=t,this.disabled?(this.adapter.addClass(Op.DISABLED),this.adapter.closeMenu()):this.adapter.removeClass(Op.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(Op.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(Op.FOCUSED),n=t||e,i=this.adapter.hasClass(Op.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(Op.ACTIVATED),this.isMenuOpen=!1,this.adapter.isSelectAnchorFocused()||this.blur()},e.prototype.handleChange=function(){this.layout(),this.adapter.notifyChange(this.getValue()),this.adapter.hasClass(Op.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},e.prototype.handleMenuItemAction=function(t){this.setSelectedIndex(t,!0)},e.prototype.handleFocus=function(){this.adapter.addClass(Op.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(Op.FOCUSED)){var e=Ep(t)===Kh,n=Ep(t)===Xh,i=Ep(t)===tp,o=Ep(t)===np;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(Op.FOCUSED);if(t){var n=Ip.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(Op.INVALID),this.adapter.removeMenuClass(Op.MENU_INVALID)):(this.adapter.addClass(Op.INVALID),this.adapter.addMenuClass(Op.MENU_INVALID)),this.syncHelperTextValidity(t)},e.prototype.isValid=function(){return this.useDefaultValidation&&this.adapter.hasClass(Op.REQUIRED)&&!this.adapter.hasClass(Op.DISABLED)?this.getSelectedIndex()!==Ip.UNSET_INDEX&&(0!==this.getSelectedIndex()||Boolean(this.getValue())):this.customValidity},e.prototype.setRequired=function(t){t?this.adapter.addClass(Op.REQUIRED):this.adapter.removeClass(Op.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(wp.BOTTOM_START)),this.adapter.setMenuWrapFocus(!1),this.setDisabled(this.adapter.hasClass(Op.DISABLED)),this.syncHelperTextValidity(!this.adapter.hasClass(Op.INVALID)),this.layout(),this.layoutOptions()},e.prototype.blur=function(){this.adapter.removeClass(Op.FOCUSED),this.layout(),this.adapter.deactivateBottomLine(),this.adapter.hasClass(Op.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(Tp.ARIA_DESCRIBEDBY,n):this.adapter.removeSelectAnchorAttr(Tp.ARIA_DESCRIBEDBY)}},e.prototype.setClickDebounceTimeout=function(){var t=this;clearTimeout(this.clickDebounceTimeout),this.clickDebounceTimeout=setTimeout((function(){t.recentlyClicked=!1}),Ip.CLICK_DEBOUNCE_TIMEOUT_MS),this.recentlyClicked=!0},e}(Hh),$p=window,Mp=$p.ShadowRoot&&(void 0===$p.ShadyCSS||$p.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,jp=Symbol(),Pp=new WeakMap,Lp=function(){return Mr((function t(e,n,i){if(zr(this,t),this._$cssResult$=!0,i!==jp)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(Mp&&void 0===t){var n=void 0!==e&&1===e.length;n&&(t=Pp.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Pp.set(e,t))}return t}},{key:"toString",value:function(){return this.cssText}}])}(),Dp=Mp?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 Lp("string"==typeof t?t:t+"",void 0,jp)}(n)}(t):t},Np=window,Rp=Np.trustedTypes,Vp=Rp?Rp.emptyScript:"",Up=Np.reactiveElementPolyfillSupport,Bp={toAttribute:function(t,e){switch(e){case Boolean:t=t?Vp: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}},Fp=function(t,e){return e!==t&&(e==e||t==t)},Hp={attribute:!0,type:String,converter:Bp,reflect:!1,hasChanged:Fp},Wp="finalized",Yp=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){Mp?t.adoptedStyleSheets=e.map((function(t){return t instanceof CSSStyleSheet?t:t.styleSheet})):e.forEach((function(e){var n=document.createElement("style"),i=$p.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]:Hp,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:Bp).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:Bp;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||Fp)(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]:Hp;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)||Hp}},{key:"finalize",value:function(){if(this.hasOwnProperty(Wp))return!1;this[Wp]=!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(Dp(o))}}catch(t){i.e(t)}finally{i.f()}}else void 0!==t&&e.push(Dp(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}();Yp[Wp]=!0,Yp.elementProperties=new Map,Yp.elementStyles=[],Yp.shadowRootOptions={mode:"open"},null==Up||Up({ReactiveElement:Yp}),(null!==(Ap=Np.reactiveElementVersions)&&void 0!==Ap?Ap:Np.reactiveElementVersions=[]).push("1.6.3");var Kp=window,Xp=Kp.trustedTypes,qp=Xp?Xp.createPolicy("lit-html",{createHTML:function(t){return t}}):void 0,Gp="$lit$",Zp="lit$".concat((Math.random()+"").slice(9),"$"),Jp="?"+Zp,Qp="<".concat(Jp,">"),tf=document,ef=function(){return tf.createComment("")},nf=function(t){return null===t||"object"!=Pr(t)&&"function"!=typeof t},of=Array.isArray,rf="[ \t\n\f\r]",af=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,lf=/-->/g,sf=/>/g,cf=RegExp(">|".concat(rf,"(?:([^\\s\"'>=/]+)(").concat(rf,"*=").concat(rf,"*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),df=/'/g,uf=/"/g,hf=/^(?:script|style|textarea|title)$/i,pf=function(t){return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o":"",a=af,l=0;l"===d[0]?(a=null!=n?n:af,u=-1):void 0===d[1]?u=-2:(u=a.lastIndex-d[2].length,c=d[1],a=void 0===d[3]?cf:'"'===d[3]?uf:df):a===uf||a===df?a=cf:a===lf||a===sf?a=af:(a=cf,n=void 0);var p=a===cf&&t[l+1].startsWith("/>")?" ":"";r+=a===af?s+Qp:u>=0?(o.push(c),s.slice(0,u)+Gp+s.slice(u)+Zp+p):s+Zp+(-2===u?(o.push(void 0),l):p)}return[_f(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),gf.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=gf.nextNode())&&c.length0){i.textContent=Xp?Xp.emptyScript:"";for(var O=0;O2&&void 0!==arguments[2]?arguments[2]:t,l=arguments.length>3?arguments[3]:void 0;if(e===ff)return e;var s=void 0!==l?null===(n=a._$Co)||void 0===n?void 0:n[l]:a._$Cl,c=nf(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=bf(t,s._$AS(t,e.values),s,l)),e}var kf=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:tf).importNode(i,!0);gf.currentNode=r;for(var a=gf.nextNode(),l=0,s=0,c=o[0];void 0!==c;){if(l===c.index){var d=void 0;2===c.type?d=new xf(a,a.nextSibling,this,t):1===c.type?d=new c.ctor(a,c.name,c.strings,this,t):6===c.type&&(d=new Of(a,this,t)),this._$AV.push(d),c=o[++s]}l!==(null==c?void 0:c.index)&&(a=gf.nextNode(),l++)}return gf.currentNode=tf,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()}}}])}(),xf=function(){function t(e,n,i,o){var r;zr(this,t),this.type=2,this._$AH=mf,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=bf(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),nf(t)?t===mf||null==t||""===t?(this._$AH!==mf&&this._$AR(),this._$AH=mf):t!==this._$AH&&t!==ff&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):function(t){return of(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!==mf&&nf(this._$AH)?this._$AA.nextSibling.data=t:this.$(tf.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=yf.createElement(_f(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 kf(o,this),a=r.u(this.options);r.v(n),this.$(a),this._$AH=r}}},{key:"_$AC",value:function(t){var e=vf.get(t.strings);return void 0===e&&vf.set(t.strings,e=new yf(t)),e}},{key:"T",value:function(e){of(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(ef()),this.k(ef()),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))}}])}(),wf=function(){return Mr((function t(e,n,i,o,r){zr(this,t),this.type=1,this._$AH=mf,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=mf}),[{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=bf(this,t,e,0),(r=!nf(t)||t!==this._$AH&&t!==ff)&&(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:mf)!==ff){var n=this._$AH,i=t===mf&&n!==mf||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,o=t!==mf&&(n===mf||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)}}])}(),Of=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){bf(this,t)}}])}(),Tf=Kp.litHtmlPolyfillSupport;null==Tf||Tf(yf,xf),(null!==(Sp=Kp.litHtmlVersions)&&void 0!==Sp?Sp:Kp.litHtmlVersions=[]).push("2.8.0");var If,zf,$f=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,Yp),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 xf(e.insertBefore(ef(),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 ff}}])}(); /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */Fm.finalized=!0,Fm._$litElement$=!0,null===(Vm=globalThis.litElementHydrateSupport)||void 0===Vm||Vm.call(globalThis,{LitElement:Fm});var Hm=globalThis.litElementPolyfillSupport;null==Hm||Hm({LitElement:Fm}),(null!==(Bm=globalThis.litElementVersions)&&void 0!==Bm?Bm:globalThis.litElementVersions=[]).push("3.3.3"); + */$f.finalized=!0,$f._$litElement$=!0,null===(If=globalThis.litElementHydrateSupport)||void 0===If||If.call(globalThis,{LitElement:$f});var Mf=globalThis.litElementPolyfillSupport;null==Mf||Mf({LitElement:$f}),(null!==(zf=globalThis.litElementVersions)&&void 0!==zf?zf:globalThis.litElementVersions=[]).push("3.3.3"); /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -var Wm=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)}}},Ym=function(t,e,n){e.constructor.createProperty(n,t)};function Km(t){return function(e,n){return void 0!==n?Ym(t,e,n):Wm(t,e)}} +var jf=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)}}},Pf=function(t,e,n){e.constructor.createProperty(n,t)};function Lf(t){return function(e,n){return void 0!==n?Pf(t,e,n):jf(t,e)}} /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */function Xm(t){return Km(sr(sr({},t),{},{state:!0}))} + */function Df(t){return Lf(sr(sr({},t),{},{state:!0}))} /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var qm,Gm=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)}}; + */var Nf,Rf=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 @@ -266,63 +266,63 @@ var Wm=function(t,e){return"method"===e.kind&&e.descriptor&&!("value"in e.descri * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -function Zm(t,e){return Gm({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}})} +function Vf(t,e){return Rf({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===(qm=window.HTMLSlotElement)||void 0===qm||qm.prototype.assignedElements; + */null===(Nf=window.HTMLSlotElement)||void 0===Nf||Nf.prototype.assignedElements; /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -var Jm=1,Qm=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))}}])}(),tf=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,Qm),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=mr(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 Em}}])}()),ef=function(t){return null!=t?t:Am},nf=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)},of=function(t){function e(){var t;return zr(this,e),(t=br(this,e,arguments)).mdcFoundationClass=Fp,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=nf(),t}return wr(e,Uh),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 Cm(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 ",""])),tf(t),this.name,this.value,this.disabled,this.required,this.menuOpen,!this.isUiValid,ef(e),this.required,ef(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 Cm(s||(s=or(['\n \n '])))}},{key:"renderOutline",value:function(){return this.outlined?Cm(u||(u=or(["\n \n ',"\n "])),this.outlineWidth,this.outlineOpen,this.renderLabel()):Am}},{key:"renderLabel",value:function(){return this.label?Cm(h||(h=or(["\n ',"\n "])),Xh(this.label),this.label):Am}},{key:"renderLeadingIcon",value:function(){return this.icon?Cm(p||(p=or(['
',"
"])),this.icon):Am}},{key:"renderLineRipple",value:function(){return this.outlined?Am:Cm(m||(m=or(["\n \n "])),ep())}},{key:"renderHelperText",value:function(){if(!this.shouldRenderHelperText)return Am;var t=this.validationMessage&&!this.isUiValid,e={"mdc-select-helper-text--validation-msg":t};return Cm(f||(f=or(['\n ',"

"])),tf(e),t?this.validationMessage:this.helper)}},{key:"createAdapter",value:function(){var t,e=this;return Object.assign(Object.assign({},Mh(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 Tu(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=Ou(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=nf(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=Su(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=Su(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}();Ur([Zm(".mdc-select")],of.prototype,"mdcRoot",void 0),Ur([Zm(".formElement")],of.prototype,"formElement",void 0),Ur([Zm("slot")],of.prototype,"slotElement",void 0),Ur([Zm("select")],of.prototype,"nativeSelectElement",void 0),Ur([Zm("input")],of.prototype,"nativeInputElement",void 0),Ur([Zm(".mdc-line-ripple")],of.prototype,"lineRippleElement",void 0),Ur([Zm(".mdc-floating-label")],of.prototype,"labelElement",void 0),Ur([Zm("mwc-notched-outline")],of.prototype,"outlineElement",void 0),Ur([Zm(".mdc-menu")],of.prototype,"menuElement",void 0),Ur([Zm(".mdc-select__anchor")],of.prototype,"anchorElement",void 0),Ur([Km({type:Boolean,attribute:"disabled",reflect:!0}),Vh((function(t){this.mdcFoundation&&this.mdcFoundation.setDisabled(t)}))],of.prototype,"disabled",void 0),Ur([Km({type:Boolean}),Vh((function(t,e){void 0!==e&&this.outlined!==e&&this.layout(!1)}))],of.prototype,"outlined",void 0),Ur([Km({type:String}),Vh((function(t,e){void 0!==e&&this.label!==e&&this.layout(!1)}))],of.prototype,"label",void 0),Ur([Xm()],of.prototype,"outlineOpen",void 0),Ur([Xm()],of.prototype,"outlineWidth",void 0),Ur([Km({type:String}),Vh((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()}}))],of.prototype,"value",void 0),Ur([Km()],of.prototype,"name",void 0),Ur([Xm()],of.prototype,"selectedText",void 0),Ur([Km({type:String})],of.prototype,"icon",void 0),Ur([Xm()],of.prototype,"menuOpen",void 0),Ur([Km({type:String})],of.prototype,"helper",void 0),Ur([Km({type:Boolean})],of.prototype,"validateOnInitialRender",void 0),Ur([Km({type:String})],of.prototype,"validationMessage",void 0),Ur([Km({type:Boolean})],of.prototype,"required",void 0),Ur([Km({type:Boolean})],of.prototype,"naturalMenuWidth",void 0),Ur([Xm()],of.prototype,"isUiValid",void 0),Ur([Km({type:Boolean})],of.prototype,"fixedMenuPosition",void 0),Ur([function(t){return Gm({finisher:function(e,n){Object.assign(e.prototype[n],t)}})}({capture:!0})],of.prototype,"handleTypeahead",null); +var Uf=1,Bf=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))}}])}(),Ff=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,Bf),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 ff}}])}()),Hf=function(t){return null!=t?t:mf},Wf=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)},Yf=function(t){function e(){var t;return zr(this,e),(t=br(this,e,arguments)).mdcFoundationClass=zp,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=Wf(),t}return wr(e,Oh),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 pf(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 ",""])),Ff(t),this.name,this.value,this.disabled,this.required,this.menuOpen,!this.isUiValid,Hf(e),this.required,Hf(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 pf(s||(s=or(['\n \n '])))}},{key:"renderOutline",value:function(){return this.outlined?pf(u||(u=or(["\n \n ',"\n "])),this.outlineWidth,this.outlineOpen,this.renderLabel()):mf}},{key:"renderLabel",value:function(){return this.label?pf(h||(h=or(["\n ',"\n "])),Lh(this.label),this.label):mf}},{key:"renderLeadingIcon",value:function(){return this.icon?pf(p||(p=or(['
',"
"])),this.icon):mf}},{key:"renderLineRipple",value:function(){return this.outlined?mf:pf(f||(f=or(["\n \n "])),Fh())}},{key:"renderHelperText",value:function(){if(!this.shouldRenderHelperText)return mf;var t=this.validationMessage&&!this.isUiValid,e={"mdc-select-helper-text--validation-msg":t};return pf(m||(m=or(['\n ',"

"])),Ff(e),t?this.validationMessage:this.helper)}},{key:"createAdapter",value:function(){var t,e=this;return Object.assign(Object.assign({},kh(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 gu(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=vu(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=Wf(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=mu(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=mu(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([Vf(".mdc-select")],Yf.prototype,"mdcRoot",void 0),Vr([Vf(".formElement")],Yf.prototype,"formElement",void 0),Vr([Vf("slot")],Yf.prototype,"slotElement",void 0),Vr([Vf("select")],Yf.prototype,"nativeSelectElement",void 0),Vr([Vf("input")],Yf.prototype,"nativeInputElement",void 0),Vr([Vf(".mdc-line-ripple")],Yf.prototype,"lineRippleElement",void 0),Vr([Vf(".mdc-floating-label")],Yf.prototype,"labelElement",void 0),Vr([Vf("mwc-notched-outline")],Yf.prototype,"outlineElement",void 0),Vr([Vf(".mdc-menu")],Yf.prototype,"menuElement",void 0),Vr([Vf(".mdc-select__anchor")],Yf.prototype,"anchorElement",void 0),Vr([Lf({type:Boolean,attribute:"disabled",reflect:!0}),Th((function(t){this.mdcFoundation&&this.mdcFoundation.setDisabled(t)}))],Yf.prototype,"disabled",void 0),Vr([Lf({type:Boolean}),Th((function(t,e){void 0!==e&&this.outlined!==e&&this.layout(!1)}))],Yf.prototype,"outlined",void 0),Vr([Lf({type:String}),Th((function(t,e){void 0!==e&&this.label!==e&&this.layout(!1)}))],Yf.prototype,"label",void 0),Vr([Df()],Yf.prototype,"outlineOpen",void 0),Vr([Df()],Yf.prototype,"outlineWidth",void 0),Vr([Lf({type:String}),Th((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()}}))],Yf.prototype,"value",void 0),Vr([Lf()],Yf.prototype,"name",void 0),Vr([Df()],Yf.prototype,"selectedText",void 0),Vr([Lf({type:String})],Yf.prototype,"icon",void 0),Vr([Df()],Yf.prototype,"menuOpen",void 0),Vr([Lf({type:String})],Yf.prototype,"helper",void 0),Vr([Lf({type:Boolean})],Yf.prototype,"validateOnInitialRender",void 0),Vr([Lf({type:String})],Yf.prototype,"validationMessage",void 0),Vr([Lf({type:Boolean})],Yf.prototype,"required",void 0),Vr([Lf({type:Boolean})],Yf.prototype,"naturalMenuWidth",void 0),Vr([Df()],Yf.prototype,"isUiValid",void 0),Vr([Lf({type:Boolean})],Yf.prototype,"fixedMenuPosition",void 0),Vr([function(t){return Rf({finisher:function(e,n){Object.assign(e.prototype[n],t)}})}({capture:!0})],Yf.prototype,"handleTypeahead",null); /** * @license * Copyright 2021 Google LLC * SPDX-LIcense-Identifier: Apache-2.0 */ -var rf=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)}}])}();af.styles=[rf,Xr(_||(_=or(["\n .mdc-select__anchor {\n height: var(--select-height, 56px) !important;\n }\n "])))],Ur([Qa({type:Boolean})],af.prototype,"icon",void 0),af=Ur([Ga("mushroom-select")],af);var lf=["default","start","center","end","justify"],sf={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"},cf=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=fd(this.hass),e=this.value||"default";return za(y||(y=or(["\n \n ','\n ']))):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)}}])}();Xf.styles=[Kf,Xr(_||(_=or(["\n .mdc-select__anchor {\n height: var(--select-height, 56px) !important;\n }\n "])))],Vr([Qa({type:Boolean})],Xf.prototype,"icon",void 0),Xf=Vr([Ga("mushroom-select")],Xf);var qf=["default","start","center","end","justify"],Gf={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"},Zf=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=id(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"),Nf.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"),Yf.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 "])))}}])}();Ur([Qa()],qf.prototype,"label",void 0),Ur([Qa()],qf.prototype,"value",void 0),Ur([Qa()],qf.prototype,"configValue",void 0),Ur([Qa()],qf.prototype,"hass",void 0),qf=Ur([Ga("mushroom-icon-type-picker")],qf);var Gf=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){fl(this,"value-changed",{value:t.detail.value||void 0})}}])}();Ur([Qa()],Gf.prototype,"hass",void 0),Ur([Qa()],Gf.prototype,"selector",void 0),Ur([Qa()],Gf.prototype,"value",void 0),Ur([Qa()],Gf.prototype,"label",void 0),Gf=Ur([Ga("ha-selector-mush_icon_type")],Gf);var Zf=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=fd(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:Wf).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 "])))}}])}();Ur([Qa()],Zf.prototype,"label",void 0),Ur([Qa()],Zf.prototype,"value",void 0),Ur([Qa()],Zf.prototype,"configValue",void 0),Ur([Qa()],Zf.prototype,"infos",void 0),Ur([Qa()],Zf.prototype,"hass",void 0),Zf=Ur([Ga("mushroom-info-picker")],Zf);var Jf=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,Xa),Mr(e,[{key:"render",value:function(){return za(U||(U=or(["\n \n "])),this.hass,this.selector.mush_info.infos,this.label,this.value,this._valueChanged)}},{key:"_valueChanged",value:function(t){fl(this,"value-changed",{value:t.detail.value||void 0})}}])}();Ur([Qa()],Jf.prototype,"hass",void 0),Ur([Qa()],Jf.prototype,"selector",void 0),Ur([Qa()],Jf.prototype,"value",void 0),Ur([Qa()],Jf.prototype,"label",void 0),Jf=Ur([Ga("ha-selector-mush_info")],Jf);var Qf=["default","horizontal","vertical"],tv={default:"mdi:card-text-outline",vertical:"mdi:focus-field-vertical",horizontal:"mdi:focus-field-horizontal"},ev=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=fd(this.hass),e=this.value||"default";return za(V||(V=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"),Am.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"),jm.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()],Dm.prototype,"label",void 0),Vr([Qa()],Dm.prototype,"value",void 0),Vr([Qa()],Dm.prototype,"configValue",void 0),Vr([Qa()],Dm.prototype,"hass",void 0),Dm=Vr([Ga("mushroom-icon-type-picker")],Dm);var Nm=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()],Nm.prototype,"hass",void 0),Vr([Qa()],Nm.prototype,"selector",void 0),Vr([Qa()],Nm.prototype,"value",void 0),Vr([Qa()],Nm.prototype,"label",void 0),Nm=Vr([Ga("ha-selector-mush_icon_type")],Nm);var Rm=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=id(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:Mm).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()],Rm.prototype,"label",void 0),Vr([Qa()],Rm.prototype,"value",void 0),Vr([Qa()],Rm.prototype,"configValue",void 0),Vr([Qa()],Rm.prototype,"infos",void 0),Vr([Qa()],Rm.prototype,"hass",void 0),Rm=Vr([Ga("mushroom-info-picker")],Rm);var Vm=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()],Vm.prototype,"hass",void 0),Vr([Qa()],Vm.prototype,"selector",void 0),Vr([Qa()],Vm.prototype,"value",void 0),Vr([Qa()],Vm.prototype,"label",void 0),Vm=Vr([Ga("ha-selector-mush_info")],Vm);var Um=["default","horizontal","vertical"],Bm={default:"mdi:card-text-outline",vertical:"mdi:focus-field-vertical",horizontal:"mdi:focus-field-horizontal"},Fm=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=id(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 "])))}}])}();Ur([Qa({attribute:!1})],fv.prototype,"primary",void 0),Ur([Qa({attribute:!1})],fv.prototype,"secondary",void 0),Ur([Qa({type:Boolean})],fv.prototype,"multiline_secondary",void 0),fv=Ur([Ga("mushroom-state-info")],fv);var vv=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 "])),iv({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 gv(t){var e,n,i,o,r;return{layout:null!==(e=t.layout)&&void 0!==e?e:_v(t),fill_container:null!==(n=t.fill_container)&&void 0!==n&&n,primary_info:null!==(i=t.primary_info)&&void 0!==i?i:bv(t),secondary_info:null!==(o=t.secondary_info)&&void 0!==o?o:kv(t),icon_type:null!==(r=t.icon_type)&&void 0!==r?r:yv(t)}}function _v(t){return t.vertical?"vertical":"default"}function yv(t){return t.hide_icon?"none":t.use_entity_picture||t.use_media_artwork?"entity-picture":"icon"}function bv(t){return t.hide_name?"none":"name"}function kv(t){return t.hide_state?"none":"state"}Ur([Qa()],vv.prototype,"appearance",void 0),vv=Ur([Ga("mushroom-state-item")],vv);var xv=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?this.hass.formatEntityState(t):Dl(this.hass.localize,t,this.hass.locale,this.hass.config,this.hass.entities),r=null!=i?i:o,a=Kf(e.primary_info,n,r,t,this.hass),l=Kf(e.secondary_info,n,r,t,this.hass);return za(xt||(xt=or(['\n =0}Tv({type:zv,name:"Mushroom Alarm Control Panel Card",description:"Card for alarm control panel"});var Dv=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,Sv),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(),av(this,this.hass,this._stateObj,e)}},{key:"_handleAction",value:function(t){Os(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=gv(this._config),r=Xf(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 gl!==t.state}(e),s=us(this.hass);return za(Ct||(Ct=or(["\n \n \n \n ","\n ","\n ",";\n \n ","\n \n \n "])),iv({"fill-container":o.fill_container}),o,s,s,o,this._handleAction,Ss({hasHold:Ts(this._config.hold_action),hasDoubleClick:Ts(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[pv,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 "])))]}}])}();Ur([Qa()],Nv.prototype,"icon",void 0),Ur([Qa()],Nv.prototype,"label",void 0),Ur([Qa()],Nv.prototype,"avatar",void 0),Ur([Qa()],Nv.prototype,"avatarOnly",void 0),Nv=Ur([Ga("mushroom-chip")],Nv);var Rv=function(t){try{var e=Uv(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 Uv(t){return"".concat(Iv,"-").concat(t,"-chip")}function Vv(t){return"".concat(Iv,"-").concat(t,"-chip-editor")}var Bv=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){Os(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?Cl(n):void 0,l=this.hass.formatEntityState?this.hass.formatEntityState(n):Dl(this.hass.localize,n,this.hass.locale,this.hass.config,this.hass.entities),s=kl(n),c=Kf(null!==(t=this._config.content_info)&&void 0!==t?t:"state",i,l,n,this.hass),d=us(this.hass);return za(Mt||(Mt=or(["\n \n ","\n ","\n \n "])),d,this._handleAction,Ss({hasHold:Ts(this._config.hold_action),hasDoubleClick:Ts(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=Rf(n);o["--color"]="rgb(".concat(r,")")}return za(Pt||(Pt=or(["\n \n "])),this.hass,t,e,ff(o),iv({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 Gy}));case 2:return t.abrupt("return",document.createElement(Vv("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}();Ur([Qa({attribute:!1})],Bv.prototype,"hass",void 0),Ur([tl()],Bv.prototype,"_config",void 0),Bv=Ur([Ga(Uv("entity"))],Bv);var Fv=new Set(["partlycloudy","cloudy","fog","windy","windy-variant","hail","rainy","snowy","snowy-rainy","pouring","lightning","lightning-rainy"]),Hv=new Set(["hail","rainy","pouring"]),Wv=new Set(["windy","windy-variant"]),Yv=new Set(["snowy","snowy-rainy"]),Kv=new Set(["lightning","lightning-rainy"]),Xv=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"]))),qv=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(Ut||(Ut=or(['\n \n ']))):"","partlycloudy"===t&&e?$a(Vt||(Vt=or(['\n \n ']))):"partlycloudy"===t?$a(Bt||(Bt=or(['\n \n ']))):"",Fv.has(t)?$a(Ft||(Ft=or(['\n \n \n ']))):"",Hv.has(t)?$a(Ht||(Ht=or(['\n \n \n \n \n ']))):"","pouring"===t?$a(Wt||(Wt=or(['\n \n \n ']))):"",Wv.has(t)?$a(Yt||(Yt=or(['\n \n \n ']))):"",Yv.has(t)?$a(Kt||(Kt=or(['\n \n \n \n ']))):"",Kv.has(t)?$a(Xt||(Xt=or(['\n \n ']))):"")},Gv=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){Os(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=qv(e.state,!0),i=[];if(this._config.show_conditions){var o=this.hass.formatEntityState?this.hass.formatEntityState(e):Dl(this.hass.localize,e,this.hass.locale,this.hass.config,this.hass.entities);i.push(o)}if(this._config.show_temperature){var r="".concat(Ml(e.attributes.temperature,this.hass.locale)," ").concat(this.hass.config.unit_system.temperature);i.push(r)}var a=us(this.hass);return za(qt||(qt=or(["\n \n ","\n ","\n \n "])),a,this._handleAction,Ss({hasHold:Ts(this._config.hold_action),hasDoubleClick:Ts(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 nb}));case 2:return t.abrupt("return",document.createElement(Vv("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[Xv,Xr(Zt||(Zt=or(["\n mushroom-chip {\n cursor: pointer;\n }\n "])))]}}]);var n,i}();Ur([Qa({attribute:!1})],Gv.prototype,"hass",void 0),Ur([tl()],Gv.prototype,"_config",void 0),Gv=Ur([Ga(Uv("weather"))],Gv);var Zv="mdi:arrow-left",Jv=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||Zv,e=us(this.hass);return za(Jt||(Jt=or(["\n \n \n \n "])),e,this._handleAction,Ss(),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 rb}));case 2:return t.abrupt("return",document.createElement(Vv("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}();Ur([Qa({attribute:!1})],Jv.prototype,"hass",void 0),Ur([tl()],Jv.prototype,"_config",void 0),Jv=Ur([Ga(Uv("back"))],Jv);var Qv="mdi:flash",tg=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){Os(this,this.hass,this._config,t.detail.action)}},{key:"render",value:function(){if(!this.hass||!this._config)return ja;var t=this._config.icon||Qv,e=this._config.icon_color,n={};if(e){var i=Rf(e);n["--color"]="rgb(".concat(i,")")}var o=us(this.hass);return za(te||(te=or(["\n \n \n \n "])),o,this._handleAction,Ss({hasHold:Ts(this._config.hold_action),hasDoubleClick:Ts(this._config.double_tap_action)}),this.hass,t,ff(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 cb}));case 2:return t.abrupt("return",document.createElement(Vv("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}();Ur([Qa({attribute:!1})],tg.prototype,"hass",void 0),Ur([tl()],tg.prototype,"_config",void 0),tg=Ur([Ga(Uv("action"))],tg);var eg="mdi:menu",ng=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(){fl(this,"hass-toggle-menu")}},{key:"render",value:function(){if(!this.hass||!this._config)return ja;var t=this._config.icon||eg,e=us(this.hass);return za(ne||(ne=or(["\n \n \n \n "])),e,this._handleAction,Ss(),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 hb}));case 2:return t.abrupt("return",document.createElement(Vv("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}();Ur([Qa({attribute:!1})],ng.prototype,"hass",void 0),Ur([tl()],ng.prototype,"_config",void 0),ng=Ur([Ga(Uv("menu"))],ng);var ig=new Set(["clear-night","cloudy","fog","lightning","lightning-rainy","partlycloudy","pouring","rainy","hail","snowy","snowy-rainy","sunny","windy","windy-variant"]),og=function(t){if(t&&t.startsWith("weather-")){var e=t.replace("weather-","");if(ig.has(e))return qv(e,!0)}},rg=["content","icon","icon_color","picture"],ag=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;rg.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){Os(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=us(this.hass),r=og(t);return za(oe||(oe=or(["\n \n ","\n ","\n \n "])),o,this._handleAction,Ss({hasHold:Ts(this._config.hold_action),hasDoubleClick:Ts(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=Rf(e);n["--color"]="rgb(".concat(i,")")}return za(re||(re=or([""])),this.hass,t,ff(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:rg.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=xs(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:rg.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 xb}));case 2:return t.abrupt("return",document.createElement(Vv("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 "])),Xv)}}]);var n,i,o,r,a,l}();Ur([Qa({attribute:!1})],ag.prototype,"hass",void 0),Ur([tl()],ag.prototype,"_config",void 0),Ur([tl()],ag.prototype,"_templateResults",void 0),Ur([tl()],ag.prototype,"_unsubRenderTemplates",void 0),ag=Ur([Ga(Uv("template"))],ag);var lg=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()},sg=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)}}(),cg=Uv("conditional"),dg=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(cg)){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,sg("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=Rv(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 WC}));case 2:return t.abrupt("return",document.createElement(Vv("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(cg)||customElements.define(cg,n);case 12:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();function ug(t){return null!=t.attributes.brightness?Math.max(Math.round(100*t.attributes.brightness/255),1):void 0}function hg(t){return null!=t.attributes.rgb_color?t.attributes.rgb_color:void 0}function pg(t){return Df.rgb(t).l()>96}function mg(t){return Df.rgb(t).l()>97}function fg(t){return function(t){var e;return(null===(e=t.attributes.supported_color_modes)||void 0===e?void 0:e.some((function(t){return gs.includes(t)})))||!1}(t)}function vg(t){return function(t){var e;return(null===(e=t.attributes.supported_color_modes)||void 0===e?void 0:e.some((function(t){return _s.includes(t)})))||!1}(t)}var gg=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){Os(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?this.hass.formatEntityState(i):Dl(this.hass.localize,i,this.hass.locale,this.hass.config,this.hass.entities),l=kl(i),s=hg(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,")"),mg(s)&&(c["--color"]="rgba(var(--rgb-primary-text-color), 0.2)")}var u=Kf(null!==(e=this._config.content_info)&&void 0!==e?e:"state",o,a,i,this.hass),h=us(this.hass);return za(se||(se=or(["\n \n \n ","\n \n "])),h,this._handleAction,Ss({hasHold:Ts(this._config.hold_action),hasDoubleClick:Ts(this._config.double_tap_action)}),this.hass,i,r,ff(c),iv({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 QC}));case 2:return t.abrupt("return",document.createElement(Vv("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}();Ur([Qa({attribute:!1})],gg.prototype,"hass",void 0),Ur([tl()],gg.prototype,"_config",void 0),gg=Ur([Ga(Uv("light"))],gg);var _g=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){Os(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=Pv(n.state),a=Lv(n.state),l=this.hass.formatEntityState?this.hass.formatEntityState(n):Dl(this.hass.localize,n,this.hass.locale,this.hass.config,this.hass.entities),s={};if(r){var c=Rf(r);s["--color"]="rgb(".concat(c,")")}var d=Kf(null!==(t=this._config.content_info)&&void 0!==t?t:"state",i,l,n,this.hass),u=us(this.hass);return za(ue||(ue=or(["\n \n \n ","\n \n "])),u,this._handleAction,Ss({hasHold:Ts(this._config.hold_action),hasDoubleClick:Ts(this._config.double_tap_action)}),this.hass,n,o,ff(s),iv({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 iE}));case 2:return t.abrupt("return",document.createElement(Vv("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 Mv.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 "])),hv.pulse)}}]);var n,i}();Ur([Qa({attribute:!1})],_g.prototype,"hass",void 0),Ur([tl()],_g.prototype,"_config",void 0),_g=Ur([Ga(Uv("alarm-control-panel"))],_g);var yg=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(me||(me=or(["\n :host {\n flex-grow: 1;\n }\n "])))}}])}();yg=Ur([Ga(Uv("spacer"))],yg);var bg="".concat(Iv,"-chips-card"),kg="".concat(bg,"-editor");Tv({type:bg,name:"Mushroom Chips Card",description:"Card with chips to display informations"});var xg=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=Ev(this._hass),i=Ev(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=us(this._hass);return za(fe||(fe=or(['\n \n
\n \n \n \n \n \n \n \n
\n '])),this._decrementValue,this.disabled,iv({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 "])))}}])}();Ur([Qa({attribute:!1})],$g.prototype,"locale",void 0),Ur([Qa({type:Boolean})],$g.prototype,"disabled",void 0),Ur([Qa({attribute:!1,type:Number,reflect:!0})],$g.prototype,"value",void 0),Ur([Qa({type:Number})],$g.prototype,"step",void 0),Ur([Qa({type:Number})],$g.prototype,"min",void 0),Ur([Qa({type:Number})],$g.prototype,"max",void 0),Ur([Qa({attribute:"false"})],$g.prototype,"formatOptions",void 0),Ur([tl()],$g.prototype,"pending",void 0),Ur([el("#container")],$g.prototype,"container",void 0),$g=Ur([Ga("mushroom-input-number")],$g);var Mg=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=us(this.hass),e=xl(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 "])),ff(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,ff(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)}}])}();Ur([Qa({attribute:!1})],Mg.prototype,"hass",void 0),Ur([Qa({attribute:!1})],Mg.prototype,"entity",void 0),Ur([Qa()],Mg.prototype,"fill",void 0),Mg=Ur([Ga("mushroom-climate-temperature-control")],Mg);var jg={temperature_control:"mdi:thermometer",hvac_mode_control:"mdi:thermostat"};Tv({type:wg,name:"Mushroom Climate Card",description:"Card for climate entity"});var Pg=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,Sv),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){Os(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=gv(this._config),o=Xf(t,i.icon_type),r=this.hass.formatEntityState?this.hass.formatEntityState(t):Dl(this.hass.localize,t,this.hass.locale,this.hass.config,this.hass.entities);if(null!==t.attributes.current_temperature){var a=Ml(t.attributes.current_temperature,this.hass.locale),l=this.hass.config.unit_system.temperature;r+=" - ".concat(a," ").concat(l)}var s=us(this.hass),c=(!this._config.collapsible_controls||kl(t))&&this._controls.length;return za(Ee||(Ee=or(["\n \n \n \n ","\n ","\n ",";\n \n ","\n \n
\n "])),iv({"fill-container":i.fill_container}),i,s,s,i,this._handleAction,Ss({hasHold:Ts(this._config.hold_action),hasDoubleClick:Ts(this._config.double_tap_action)}),o?this.renderPicture(o):this.renderIcon(t,n),this.renderBadge(t),this.renderStateInfo(t,i,e,r),c?za(Ae||(Ae=or(['\n
\n \n \n '])),!xl(this.entity),this._onStopTap):void 0,El(this.entity,2)?za(De||(De=or(["\n \n \n \n "])),!xl(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)}}])}();Ur([Qa({attribute:!1})],Rg.prototype,"hass",void 0),Ur([Qa({attribute:!1})],Rg.prototype,"entity",void 0),Ur([Qa()],Rg.prototype,"fill",void 0),Rg=Ur([Ga("mushroom-cover-buttons-control")],Rg);var Ug,Vg,Bg={exports:{}}; +var Wm=us(function(t){function e(t){var n,i;if(zr(this,e),i=br(this,e,[t]),t.type!==ds||"class"!==t.name||(null===(n=t.strings)||void 0===n?void 0:n.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");return i}return wr(e,hs),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=fr(e,1)[0];if(void 0===this.st){for(var i in this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((function(t){return""!==t})))),n){var o;n[i]&&(null===(o=this.nt)||void 0===o||!o.has(i))&&this.st.add(i)}return this.render(n)}var r,a=t.element.classList,l=Or(this.st);try{for(l.s();!(r=l.n()).done;){var s=r.value;s in n||(a.remove(s),this.st.delete(s))}}catch(t){l.e(t)}finally{l.f()}for(var c in n){var d,u=!!n[c];u===this.st.has(c)||(null===(d=this.nt)||void 0===d?void 0:d.has(c))||(u?(a.add(c),this.st.add(c)):(a.remove(c),this.st.delete(c)))}return Ma}}])}()),Ym=function(t,e){return t.callWS({type:"config/entity_registry/get",entity_id:e})};os((function(t){var e,n={},i=Or(t);try{for(i.s();!(e=i.n()).done;){var o=e.value;n[o.entity_id]=o}}catch(t){i.e(t)}finally{i.f()}return n})),os((function(t){var e,n={},i=Or(t);try{for(i.s();!(e=i.n()).done;){var o=e.value;n[o.id]=o}}catch(t){i.e(t)}finally{i.f()}return n}));var Km={armed_home:{feature:1,service:"alarm_arm_home",icon:"mdi:home"},armed_away:{feature:2,service:"alarm_arm_away",icon:"mdi:lock"},armed_night:{feature:4,service:"alarm_arm_night",icon:"mdi:moon-waning-crescent"},armed_vacation:{feature:32,service:"alarm_arm_vacation",icon:"mdi:airplane"},armed_custom_bypass:{feature:16,service:"alarm_arm_custom_bypass",icon:"mdi:shield"},disarmed:{service:"alarm_disarm",icon:"mdi:shield-off"}},Xm=function(){var t=yr(gr().mark((function t(e,n,i,o){var r,a,l,s,c,d,u,h;return gr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(l=Km[o].service,!("disarmed"!==o&&i.attributes.code_arm_required||"disarmed"===o&&i.attributes.code_format)){t.next=17;break}return t.next=4,Ym(n,i.entity_id).catch((function(){}));case 4:if(c=t.sent,null===(a=null===(r=null==c?void 0:c.options)||void 0===r?void 0:r.alarm_control_panel)||void 0===a?void 0:a.default_code){t.next=17;break}return d="disarmed"===o,t.next=10,window.loadCardHelpers();case 10:return u=t.sent,t.next=13,u.showEnterCodeDialog(e,{codeFormat:i.attributes.code_format,title:n.localize("ui.card.alarm_control_panel.".concat(d?"disarm":"arm")),submitText:n.localize("ui.card.alarm_control_panel.".concat(d?"disarm":"arm"))});case 13:if(null!=(h=t.sent)){t.next=16;break}throw new Error("Code dialog closed");case 16:s=h;case 17:return t.next=19,n.callService("alarm_control_panel",l,{entity_id:i.entity_id,code:s});case 19:case"end":return t.stop()}}),t)})));return function(e,n,i,o){return t.apply(this,arguments)}}(),qm=function(t){function e(){var t;return zr(this,e),(t=br(this,e,arguments)).icon="",t}return wr(e,Xa),Mr(e,[{key:"render",value:function(){return za(W||(W=or(['\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})],iv.prototype,"primary",void 0),Vr([Qa({attribute:!1})],iv.prototype,"secondary",void 0),Vr([Qa({type:Boolean})],iv.prototype,"multiline_secondary",void 0),iv=Vr([Ga("mushroom-state-info")],iv);var ov=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 "])),Wm({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 rv(t){var e,n,i,o,r;return{layout:null!==(e=t.layout)&&void 0!==e?e:av(t),fill_container:null!==(n=t.fill_container)&&void 0!==n&&n,primary_info:null!==(i=t.primary_info)&&void 0!==i?i:sv(t),secondary_info:null!==(o=t.secondary_info)&&void 0!==o?o:cv(t),icon_type:null!==(r=t.icon_type)&&void 0!==r?r:lv(t)}}function av(t){return t.vertical?"vertical":"default"}function lv(t){return t.hide_icon?"none":t.use_entity_picture||t.use_media_artwork?"entity-picture":"icon"}function sv(t){return t.hide_name?"none":"name"}function cv(t){return t.hide_state?"none":"state"}Vr([Qa()],ov.prototype,"appearance",void 0),ov=Vr([Ga("mushroom-state-item")],ov);var dv=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=Pm(e.primary_info,n,r,t,this.hass),l=Pm(e.secondary_info,n,r,t,this.hass);return za(xt||(xt=or(['\n =0}gv({type:yv,name:"Mushroom Alarm Control Panel Card",description:"Card for alarm control panel"});var Ev=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,mv),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(),Xm(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=rv(this._config),r=Lm(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 "])),Wm({"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[ev,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()],Av.prototype,"icon",void 0),Vr([Qa()],Av.prototype,"label",void 0),Vr([Qa()],Av.prototype,"avatar",void 0),Vr([Qa()],Av.prototype,"avatarOnly",void 0),Av=Vr([Ga("mushroom-chip")],Av);var Sv=function(t){try{var e=Ov(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 Ov(t){return"".concat(_v,"-").concat(t,"-chip")}function Tv(t){return"".concat(_v,"-").concat(t,"-chip-editor")}var Iv=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=Pm(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=Sm(n);o["--color"]="rgb(".concat(r,")")}return za(Pt||(Pt=or(["\n \n "])),this.hass,t,e,im(o),Wm({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 Ly}));case 2:return t.abrupt("return",document.createElement(Tv("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})],Iv.prototype,"hass",void 0),Vr([tl()],Iv.prototype,"_config",void 0),Iv=Vr([Ga(Ov("entity"))],Iv);var zv=new Set(["partlycloudy","cloudy","fog","windy","windy-variant","hail","rainy","snowy","snowy-rainy","pouring","lightning","lightning-rainy"]),$v=new Set(["hail","rainy","pouring"]),Mv=new Set(["windy","windy-variant"]),jv=new Set(["snowy","snowy-rainy"]),Pv=new Set(["lightning","lightning-rainy"]),Lv=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"]))),Dv=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 ']))):"",zv.has(t)?$a(Ft||(Ft=or(['\n \n \n ']))):"",$v.has(t)?$a(Ht||(Ht=or(['\n \n \n \n \n ']))):"","pouring"===t?$a(Wt||(Wt=or(['\n \n \n ']))):"",Mv.has(t)?$a(Yt||(Yt=or(['\n \n \n ']))):"",jv.has(t)?$a(Kt||(Kt=or(['\n \n \n \n ']))):"",Pv.has(t)?$a(Xt||(Xt=or(['\n \n ']))):"")},Nv=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=Dv(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 By}));case 2:return t.abrupt("return",document.createElement(Tv("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[Lv,Xr(Zt||(Zt=or(["\n mushroom-chip {\n cursor: pointer;\n }\n "])))]}}]);var n,i}();Vr([Qa({attribute:!1})],Nv.prototype,"hass",void 0),Vr([tl()],Nv.prototype,"_config",void 0),Nv=Vr([Ga(Ov("weather"))],Nv);var Rv="mdi:arrow-left",Vv=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||Rv,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 Wy}));case 2:return t.abrupt("return",document.createElement(Tv("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})],Vv.prototype,"hass",void 0),Vr([tl()],Vv.prototype,"_config",void 0),Vv=Vr([Ga(Ov("back"))],Vv);var Uv="mdi:flash",Bv=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||Uv,e=this._config.icon_color,n={};if(e){var i=Sm(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,im(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 qy}));case 2:return t.abrupt("return",document.createElement(Tv("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})],Bv.prototype,"hass",void 0),Vr([tl()],Bv.prototype,"_config",void 0),Bv=Vr([Ga(Ov("action"))],Bv);var Fv="mdi:menu",Hv=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||Fv,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 Jy}));case 2:return t.abrupt("return",document.createElement(Tv("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})],Hv.prototype,"hass",void 0),Vr([tl()],Hv.prototype,"_config",void 0),Hv=Vr([Ga(Ov("menu"))],Hv);var Wv=new Set(["clear-night","cloudy","fog","lightning","lightning-rainy","partlycloudy","pouring","rainy","hail","snowy","snowy-rainy","sunny","windy","windy-variant"]),Yv=function(t){if(t&&t.startsWith("weather-")){var e=t.replace("weather-","");if(Wv.has(e))return Dv(e,!0)}},Kv=["content","icon","icon_color","picture"],Xv=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;Kv.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=Yv(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=Sm(e);n["--color"]="rgb(".concat(i,")")}return za(re||(re=or([""])),this.hass,t,im(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:Kv.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:Kv.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 sb}));case 2:return t.abrupt("return",document.createElement(Tv("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 "])),Lv)}}]);var n,i,o,r,a,l}();Vr([Qa({attribute:!1})],Xv.prototype,"hass",void 0),Vr([tl()],Xv.prototype,"_config",void 0),Vr([tl()],Xv.prototype,"_templateResults",void 0),Vr([tl()],Xv.prototype,"_unsubRenderTemplates",void 0),Xv=Vr([Ga(Ov("template"))],Xv);var qv=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()},Gv=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)}}(),Zv=Ov("conditional"),Jv=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(Zv)){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,Gv("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=Sv(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 zC}));case 2:return t.abrupt("return",document.createElement(Tv("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(Zv)||customElements.define(Zv,n);case 12:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();function Qv(t){return null!=t.attributes.rgb_color?t.attributes.rgb_color:void 0}function tg(t){return Em.rgb(t).l()>96}function eg(t){return Em.rgb(t).l()>97}function ng(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 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 ts.includes(t)})))||!1}(t)}var og=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=Qv(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,")"),eg(s)&&(c["--color"]="rgba(var(--rgb-primary-text-color), 0.2)")}var u=Pm(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,im(c),Wm({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 RC}));case 2:return t.abrupt("return",document.createElement(Tv("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})],og.prototype,"hass",void 0),Vr([tl()],og.prototype,"_config",void 0),og=Vr([Ga(Ov("light"))],og);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=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=wv(n.state),a=Cv(n.state),l=this.hass.formatEntityState(n),s={};if(r){var c=Sm(r);s["--color"]="rgb(".concat(c,")")}var d=Pm(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,im(s),Wm({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 FC}));case 2:return t.abrupt("return",document.createElement(Tv("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 kv.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 "])),tv.pulse)}}]);var n,i}();Vr([Qa({attribute:!1})],rg.prototype,"hass",void 0),Vr([tl()],rg.prototype,"_config",void 0),rg=Vr([Ga(Ov("alarm-control-panel"))],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(){}}],[{key:"styles",get:function(){return Xr(fe||(fe=or(["\n :host {\n flex-grow: 1;\n }\n "])))}}])}();ag=Vr([Ga(Ov("spacer"))],ag);var lg="".concat(_v,"-chips-card"),sg="".concat(lg,"-editor");gv({type:lg,name:"Mushroom Chips Card",description:"Card with chips to display informations"});var cg=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=pv(this._hass),i=pv(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,Wm({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})],yg.prototype,"locale",void 0),Vr([Qa({type:Boolean})],yg.prototype,"disabled",void 0),Vr([Qa({attribute:!1,type:Number,reflect:!0})],yg.prototype,"value",void 0),Vr([Qa({type:Number})],yg.prototype,"step",void 0),Vr([Qa({type:Number})],yg.prototype,"min",void 0),Vr([Qa({type:Number})],yg.prototype,"max",void 0),Vr([Qa({attribute:!1})],yg.prototype,"formatOptions",void 0),Vr([tl()],yg.prototype,"pending",void 0),Vr([el("#container")],yg.prototype,"container",void 0),yg=Vr([Ga("mushroom-input-number")],yg);var bg=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 "])),im(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,im(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})],bg.prototype,"hass",void 0),Vr([Qa({attribute:!1})],bg.prototype,"entity",void 0),Vr([Qa()],bg.prototype,"fill",void 0),bg=Vr([Ga("mushroom-climate-temperature-control")],bg);var kg={temperature_control:"mdi:thermometer",hvac_mode_control:"mdi:thermostat"};gv({type:dg,name:"Mushroom Climate Card",description:"Card for climate entity"});var xg=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,mv),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=rv(this._config),o=Lm(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 "])),Wm({"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})],Ag.prototype,"hass",void 0),Vr([Qa({attribute:!1})],Ag.prototype,"entity",void 0),Vr([Qa()],Ag.prototype,"fill",void 0),Ag=Vr([Ga("mushroom-cover-buttons-control")],Ag);var Sg,Og,Tg={exports:{}}; /*! Hammer.JS - v2.0.7 - 2016-04-22 * http://hammerjs.github.io/ * * Copyright (c) 2016 Jorik Tangelder; - * Licensed under the MIT license */Ug||(Ug=1,Vg=Bg,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,m=et(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=m.x,e.overallVelocityY=m.y,e.overallVelocity=c(m.x)>c(m.y)?m.x:m.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!=U&&(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 f=t.element;w(e.srcEvent.target,f)&&(f=e.srcEvent.target),e.target=f}(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:U,pointerout:U},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|U)&&(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 mt={touchstart:N,touchmove:2,touchend:R,touchcancel:U};function ft(){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|U)&&(n=O(n.concat(i),"identifier")),[n,i]}g(ft,Z,{handler:function(t){var e=mt[t.type];if(e===N&&(this.started=!0),this.started){var n=vt.call(this,t,e);e&(R|U)&&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:U},_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=Ut(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|U)&&!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=Ut(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 "])),iv({container:!0,inactive:this.inactive||this.disabled,controlled:this.controlled}),ff({"--value":"".concat(this.valueToPercentage(null!==(t=this.value)&&void 0!==t?t:0))}),this.showActive?za(Re||(Re=or(['
']))):ja,this.showIndicator?za(Ue||(Ue=or(['
']))):ja)}}],[{key:"styles",get:function(){return Xr(Ve||(Ve=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 Wg(t){return null!=t.attributes.current_position?Math.round(t.attributes.current_position):void 0}function Yg(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)"}Ur([Qa({type:Boolean})],Hg.prototype,"disabled",void 0),Ur([Qa({type:Boolean})],Hg.prototype,"inactive",void 0),Ur([Qa({type:Boolean,attribute:"show-active"})],Hg.prototype,"showActive",void 0),Ur([Qa({type:Boolean,attribute:"show-indicator"})],Hg.prototype,"showIndicator",void 0),Ur([Qa({attribute:!1,type:Number,reflect:!0})],Hg.prototype,"value",void 0),Ur([Qa({type:Number})],Hg.prototype,"step",void 0),Ur([Qa({type:Number})],Hg.prototype,"min",void 0),Ur([Qa({type:Number})],Hg.prototype,"max",void 0),Ur([tl()],Hg.prototype,"controlled",void 0),Ur([el("#slider")],Hg.prototype,"slider",void 0),Hg=Ur([Ga("mushroom-slider")],Hg);var Kg=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=Wg(this.entity);return za(Be||(Be=or(["\n \n "])),t,!xl(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 "])))}}])}();Ur([Qa({attribute:!1})],Kg.prototype,"hass",void 0),Ur([Qa({attribute:!1})],Kg.prototype,"entity",void 0),Kg=Ur([Ga("mushroom-cover-position-control")],Kg);var Xg=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,!xl(this.entity),!0,this.onChange,this.onCurrentChange)}}],[{key:"styles",get:function(){var t=Xg.map((function(t){var e=mr(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))}}])}();Ur([Qa({attribute:!1})],qg.prototype,"hass",void 0),Ur([Qa({attribute:!1})],qg.prototype,"entity",void 0),qg=Ur([Ga("mushroom-cover-tilt-position-control")],qg);var Gg={buttons_control:"mdi:gesture-tap-button",position_control:"mdi:gesture-swipe-horizontal",tilt_position_control:"mdi:rotate-right"};Tv({type:Lg,name:"Mushroom Cover Card",description:"Card for cover entity"});var Zg=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,Sv),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=Wg(t))}},{key:"onCurrentPositionChange",value:function(t){null!=t.detail.value&&(this.position=t.detail.value)}},{key:"_handleAction",value:function(t){Os(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=gv(this._config),o=Xf(t,i.icon_type),r=this.hass.formatEntityState?this.hass.formatEntityState(t):Dl(this.hass.localize,t,this.hass.locale,this.hass.config,this.hass.entities);this.position&&(r+=" - ".concat(this.position).concat(Ll(this.hass.locale),"%"));var a=us(this.hass);return za(Ye||(Ye=or(["\n \n \n \n ","\n ","\n ",";\n \n ","\n \n \n "])),iv({"fill-container":i.fill_container}),i,a,a,i,this._handleAction,Ss({hasHold:Ts(this._config.hold_action),hasDoubleClick:Ts(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",!xl(this.entity)||wl(this.entity),this.handleClick):void 0,l?za(Zn||(Zn=or(["\n \n '])),"volume_up",!xl(this.entity)||wl(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 "])))}}])}();Ur([Qa({attribute:!1})],H_.prototype,"hass",void 0),Ur([Qa({attribute:!1})],H_.prototype,"entity",void 0),Ur([Qa({type:Boolean})],H_.prototype,"fill",void 0),Ur([Qa({attribute:!1})],H_.prototype,"controls",void 0),H_=Ur([Ga("mushroom-media-player-volume-control")],H_);var W_={media_control:"mdi:play-pause",volume_control:"mdi:volume-high"};Tv({type:D_,name:"Mushroom Media Card",description:"Card for media player entity"});var Y_=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,Sv),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 V_(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"))&&El(t,1024)||(null==e?void 0:e.includes("volume_mute"))&&El(t,8)||(null==e?void 0:e.includes("volume_set"))&&El(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;if(t){var e=U_(t);this.volume=null!=e?Math.round(e):e}}},{key:"onCurrentVolumeChange",value:function(t){null!=t.detail.value&&(this.volume=t.detail.value)}},{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){Os(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(![gl,_l,yl].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||"",![gl,_l,yl].includes(n.state)&&e.use_media_info&&n.attributes.media_title&&(i=n.attributes.media_title),i),a=function(t,e,n){var i=n.formatEntityState?n.formatEntityState(e):Dl(n.localize,e,n.locale,n.config,n.entities);return![gl,_l,yl].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),l=gv(this._config),s=Xf(t,l.icon_type),c=null!=this.volume&&this._config.show_volume_level?"".concat(a," - ").concat(this.volume).concat(Ll(this.hass.locale),"%"):a,d=us(this.hass),u=(!this._config.collapsible_controls||kl(t))&&this._controls.length;return za(Qn||(Qn=or(["\n \n \n \n ","\n ","\n ",";\n \n ","\n \n \n "])),iv({"fill-container":l.fill_container}),l,d,d,l,this._handleAction,Ss({hasHold:Ts(this._config.hold_action),hasDoubleClick:Ts(this._config.double_tap_action)}),s?this.renderPicture(s):this.renderIcon(t,o),this.renderBadge(t),this.renderStateInfo(t,l,r,c),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 ',"\n ","\n
\n
\n "])),Wm({container:!0,inactive:this.inactive||this.disabled,controlled:this.controlled}),im({"--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 $g(t){return null!=t.attributes.current_position?Math.round(t.attributes.current_position):void 0}function Mg(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})],zg.prototype,"disabled",void 0),Vr([Qa({type:Boolean})],zg.prototype,"inactive",void 0),Vr([Qa({type:Boolean,attribute:"show-active"})],zg.prototype,"showActive",void 0),Vr([Qa({type:Boolean,attribute:"show-indicator"})],zg.prototype,"showIndicator",void 0),Vr([Qa({attribute:!1,type:Number,reflect:!0})],zg.prototype,"value",void 0),Vr([Qa({type:Number})],zg.prototype,"step",void 0),Vr([Qa({type:Number})],zg.prototype,"min",void 0),Vr([Qa({type:Number})],zg.prototype,"max",void 0),Vr([tl()],zg.prototype,"controlled",void 0),Vr([el("#slider")],zg.prototype,"slider",void 0),zg=Vr([Ga("mushroom-slider")],zg);var jg=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=$g(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})],jg.prototype,"hass",void 0),Vr([Qa({attribute:!1})],jg.prototype,"entity",void 0),jg=Vr([Ga("mushroom-cover-position-control")],jg);var Pg=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=Pg.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})],Lg.prototype,"hass",void 0),Vr([Qa({attribute:!1})],Lg.prototype,"entity",void 0),Lg=Vr([Ga("mushroom-cover-tilt-position-control")],Lg);var Dg={buttons_control:"mdi:gesture-tap-button",position_control:"mdi:gesture-swipe-horizontal",tilt_position_control:"mdi:rotate-right"};gv({type:wg,name:"Mushroom Cover Card",description:"Card for cover entity"});var Ng=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,mv),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=$g(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=rv(this._config),o=Lm(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 "])),Wm({"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})],I_.prototype,"hass",void 0),Vr([Qa({attribute:!1})],I_.prototype,"entity",void 0),Vr([Qa({type:Boolean})],I_.prototype,"fill",void 0),Vr([Qa({attribute:!1})],I_.prototype,"controls",void 0),I_=Vr([Ga("mushroom-media-player-volume-control")],I_);var z_={media_control:"mdi:play-pause",volume_control:"mdi:volume-high"};gv({type:C_,name:"Mushroom Media Card",description:"Card for media player entity"});var $_=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,mv),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 S_(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=rv(this._config),l=Lm(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 "])),Wm({"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 "])),ly(i?"button":void 0),ly(i?"0":void 0),iv({actionable:i}),this._handleTitleAction,Ss(),t,this.renderArrow()):ja,e?za(wi||(wi=or(["\n ',"","\n
\n "])),ly(o?"button":void 0),ly(o?"0":void 0),iv({actionable:o}),this._handleSubtitleAction,Ss(),e,this.renderArrow()):ja)}},{key:"renderArrow",value:function(){var t=us(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:dy.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=xs(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:dy.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 AA}));case 2:return t.abrupt("return",document.createElement(cy));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(sy),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),Ov,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}();Ur([tl()],uy.prototype,"_config",void 0),Ur([tl()],uy.prototype,"_templateResults",void 0),Ur([tl()],uy.prototype,"_unsubRenderTemplates",void 0),uy=Ur([Ga(sy)],uy);var hy="".concat(Iv,"-update-card"),py="".concat(hy,"-editor"),my=["update"],fy={on:"var(--rgb-state-update-on)",off:"var(--rgb-state-update-off)",installing:"var(--rgb-state-update-installing)"},vy=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(!xl(this.entity))return!0;var t=this.entity.attributes.latest_version&&this.entity.attributes.skipped_version===this.entity.attributes.latest_version;return!kl(this.entity)&&!t||Ol(this.entity)}},{key:"skipDisabled",get:function(){return!xl(this.entity)||(this.entity.attributes.latest_version&&this.entity.attributes.skipped_version===this.entity.attributes.latest_version||!kl(this.entity)||Ol(this.entity))}},{key:"render",value:function(){var t=us(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)}}])}();Ur([Qa({attribute:!1})],vy.prototype,"hass",void 0),Ur([Qa({attribute:!1})],vy.prototype,"entity",void 0),Ur([Qa({type:Boolean})],vy.prototype,"fill",void 0),vy=Ur([Ga("mushroom-update-buttons-control")],vy),Tv({type:hy,name:"Mushroom Update Card",description:"Card for update entity"});var gy=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,Sv),Mr(e,[{key:"hasControls",get:function(){return!(!this._stateObj||!this._config)&&(Boolean(this._config.show_buttons_control)&&El(this._stateObj,1))}},{key:"_handleAction",value:function(t){Os(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=gv(this._config),o=Xf(t,i.icon_type),r=us(this.hass),a=(!this._config.collapsible_controls||kl(t))&&this._config.show_buttons_control&&El(t,1);return za(Si||(Si=or(["\n \n \n \n ","\n ","\n ",";\n \n ","\n \n \n "])),iv({"fill-container":i.fill_container}),i,r,r,i,this._handleAction,Ss({hasHold:Ts(this._config.hold_action),hasDoubleClick:Ts(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 \n "])),K_(i?"button":void 0),K_(i?"0":void 0),Wm({actionable:i}),this._handleTitleAction,fs(),t,this.renderArrow()):ja,e?za(wi||(wi=or(["\n ',"","\n
\n "])),K_(o?"button":void 0),K_(o?"0":void 0),Wm({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:G_.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:G_.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 hA}));case 2:return t.abrupt("return",document.createElement(q_));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(X_),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),vv,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()],Z_.prototype,"_config",void 0),Vr([tl()],Z_.prototype,"_templateResults",void 0),Vr([tl()],Z_.prototype,"_unsubRenderTemplates",void 0),Z_=Vr([Ga(X_)],Z_);var J_="".concat(_v,"-update-card"),Q_="".concat(J_,"-editor"),ty=["update"],ey={on:"var(--rgb-state-update-on)",off:"var(--rgb-state-update-off)",installing:"var(--rgb-state-update-installing)"},ny=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})],ny.prototype,"hass",void 0),Vr([Qa({attribute:!1})],ny.prototype,"entity",void 0),Vr([Qa({type:Boolean})],ny.prototype,"fill",void 0),ny=Vr([Ga("mushroom-update-buttons-control")],ny),gv({type:J_,name:"Mushroom Update Card",description:"Card for update entity"});var iy=function(t){function e(){return zr(this,e),br(this,e,arguments)}return wr(e,mv),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=rv(this._config),o=Lm(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 "])),Wm({"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