iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
5 lines • 24.3 kB
JavaScript
/*! For license information please see 67341.9ebcb16c091bcb09.js.LICENSE.txt */
;(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[67341],{97577:function(e,t,i){i.d(t,{A:function(){return x}});i(27495),i(62953);var a=i(5124),o=i(67576),r=i(6412),s=i(63672),n=i(34514),l=i(40991),d=i(92070),c=i(49546),h=i(9395),p=i(62676),u=i(15477),v=i(31896);i(38625);let m;var b=(0,a.AH)(m||(m=(e=>e)`:host{--checked-icon-color:var(--wa-color-brand-on-loud);--checked-icon-scale:0.8;display:inline-flex;color:var(--wa-form-control-value-color);font-family:inherit;font-weight:var(--wa-form-control-value-font-weight);line-height:var(--wa-form-control-value-line-height);user-select:none;-webkit-user-select:none}[part~=control]{display:inline-flex;flex:0 0 auto;position:relative;align-items:center;justify-content:center;width:var(--wa-form-control-toggle-size);height:var(--wa-form-control-toggle-size);border-color:var(--wa-form-control-border-color);border-radius:min(calc(var(--wa-form-control-toggle-size) * .375),var(--wa-border-radius-s));border-style:var(--wa-border-style);border-width:var(--wa-form-control-border-width);background-color:var(--wa-form-control-background-color);transition:background var(--wa-transition-normal),border-color var(--wa-transition-fast),box-shadow var(--wa-transition-fast),color var(--wa-transition-fast);transition-timing-function:var(--wa-transition-easing);margin-inline-end:.5em}[part~=base]{display:flex;align-items:flex-start;position:relative;color:currentColor;vertical-align:middle;cursor:pointer}[part~=label]{display:inline}[part~=control]:has(:checked,:indeterminate){color:var(--checked-icon-color);border-color:var(--wa-form-control-activated-color);background-color:var(--wa-form-control-activated-color)}[part~=control]:has(> input:focus-visible:not(:disabled)){outline:var(--wa-focus-ring);outline-offset:var(--wa-focus-ring-offset)}:host [part~=base]:has(input:disabled){opacity:.5;cursor:not-allowed}input{position:absolute;padding:0;margin:0;height:100%;width:100%;opacity:0;pointer-events:none}[part~=icon]{display:flex;scale:var(--checked-icon-scale)}[part~=icon]::part(svg){translate:0.0009765625em}input:not(:checked,:indeterminate)+[part~=icon]{visibility:hidden}:host([required]) [part~=label]::after{content:var(--wa-form-control-required-content);color:var(--wa-form-control-required-content-color);margin-inline-start:var(--wa-form-control-required-content-offset)}`));let f,y,g,w=e=>e;var k=Object.defineProperty,C=Object.getOwnPropertyDescriptor,_=(e,t,i,a)=>{for(var o,r=a>1?void 0:a?C(t,i):t,s=e.length-1;s>=0;s--)(o=e[s])&&(r=(a?o(t,i,r):o(r))||r);return a&&r&&k(t,i,r),r};let x=class extends p.q{static get validators(){const e=a.S$?[]:[(0,c.Y)({validationProperty:"checked",validationElement:Object.assign(document.createElement("input"),{type:"checkbox",required:!0})})];return[...super.validators,...e]}get value(){var e;return null!==(e=this._value)&&void 0!==e?e:"on"}set value(e){this._value=e}handleSizeChange(){(0,l.b)(this.localName,this.size)}get checked(){var e;return this.valueHasChanged?Boolean(this._checked):null!==(e=this._checked)&&void 0!==e?e:this.defaultChecked}set checked(e){this._checked=Boolean(e),this.valueHasChanged=!0}handleClick(){this.hasInteracted=!0,this.checked=!this.checked,this.indeterminate=!1,this.updateComplete.then(()=>{this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))})}connectedCallback(){super.connectedCallback(),this.handleDefaultCheckedChange()}handleDefaultCheckedChange(){this.handleValueOrCheckedChange()}handleValueOrCheckedChange(){this.setValue(this.checked?this.value:null,this._value),this.updateValidity()}handleStateChange(){this.hasUpdated&&(this.input.checked=this.checked,this.input.indeterminate=this.indeterminate),this.customStates.set("checked",this.checked),this.customStates.set("indeterminate",this.indeterminate),this.updateValidity()}handleDisabledChange(){this.customStates.set("disabled",this.disabled)}willUpdate(e){super.willUpdate(e),(e.has("value")||e.has("checked")||e.has("defaultChecked"))&&this.handleValueOrCheckedChange()}formResetCallback(){this._checked=null,super.formResetCallback(),this.handleValueOrCheckedChange()}click(){this.input.click()}focus(e){this.input.focus(e)}blur(){this.input.blur()}render(){const e=!!a.S$||this.hasSlotController.test("hint"),t=!!this.hint||!!e,i=!this.checked&&this.indeterminate,o=i?"indeterminate":"check",l=i?"indeterminate":"check";return(0,a.qy)(f||(f=w` <label part="base"> <span part="control"> <input class="input" type="checkbox" title="${0}" name="${0}" value="${0}" .indeterminate="${0}" .checked="${0}" .disabled="${0}" .required="${0}" aria-checked="${0}" aria-describedby="hint" @click="${0}"> <wa-icon part="${0}-icon icon" library="system" name="${0}"></wa-icon> </span> <slot part="label"></slot> </label> <slot id="hint" part="hint" name="hint" aria-hidden="${0}" class="${0}"> ${0} </slot> `),this.title,(0,s.J)(this.name),(0,s.J)(this._value),(0,n.V)(this.indeterminate),(0,n.V)(this.checked),this.disabled,this.required,this.indeterminate?"mixed":this.checked?"true":"false",this.handleClick,l,o,t?"false":"true",(0,r.H)({"has-slotted":t}),this.hint)}constructor(){var e;super(...arguments),this.hasSlotController=new d.X(this,"hint"),this.title="",this.name=null,this._value=null!==(e=this.getAttribute("value"))&&void 0!==e?e:null,this.size="m",this.disabled=!1,this.indeterminate=!1,this._checked=null,this.defaultChecked=this.hasAttribute("checked"),this.required=!1,this.hint=""}};x.css=[u.A,v.A,b],x.shadowRootOptions=Object.assign(Object.assign({},p.q.shadowRootOptions),{},{delegatesFocus:!0}),_([(0,o.P)('input[type="checkbox"]')],x.prototype,"input",2),_([(0,o.MZ)()],x.prototype,"title",2),_([(0,o.MZ)({reflect:!0})],x.prototype,"name",2),_([(0,o.MZ)({reflect:!0})],x.prototype,"value",1),_([(0,o.MZ)({reflect:!0})],x.prototype,"size",2),_([(0,h.w)("size")],x.prototype,"handleSizeChange",1),_([(0,o.MZ)({type:Boolean})],x.prototype,"disabled",2),_([(0,o.MZ)({type:Boolean,reflect:!0})],x.prototype,"indeterminate",2),_([(0,o.MZ)({type:Boolean,attribute:!1})],x.prototype,"checked",1),_([(0,o.MZ)({type:Boolean,reflect:!0,attribute:"checked"})],x.prototype,"defaultChecked",2),_([(0,o.MZ)({type:Boolean,reflect:!0})],x.prototype,"required",2),_([(0,o.MZ)()],x.prototype,"hint",2),_([(0,h.w)(["checked","defaultChecked"])],x.prototype,"handleDefaultCheckedChange",1),_([(0,h.w)(["checked","indeterminate"])],x.prototype,"handleStateChange",1),_([(0,h.w)("disabled")],x.prototype,"handleDisabledChange",1),x=_([(0,o.EM)("wa-checkbox")],x),null===(y=(g=x).disableWarning)||void 0===y||y.call(g,"change-in-update")},68825:function(e,t,i){i(62953);var a=i(67576),o=i(9395),r=i(717);let s;var n=(0,i(5124).AH)(s||(s=(e=>e)`:host{--color:var(--wa-color-surface-border);--width:var(--wa-border-width-s);--spacing:var(--wa-space-m)}:host(:not([orientation=vertical])){display:block;border-top:solid var(--width) var(--color);margin:var(--spacing) 0}:host([orientation=vertical]){display:inline-block;height:100%;border-inline-start:solid var(--width) var(--color);margin:0 var(--spacing);min-block-size:1lh}`)),l=Object.defineProperty,d=Object.getOwnPropertyDescriptor,c=(e,t,i,a)=>{for(var o,r=a>1?void 0:a?d(t,i):t,s=e.length-1;s>=0;s--)(o=e[s])&&(r=(a?o(t,i,r):o(r))||r);return a&&r&&l(t,i,r),r};let h=class extends r.A{connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}handleVerticalChange(){this.setAttribute("aria-orientation",this.orientation)}constructor(){super(...arguments),this.orientation="horizontal"}};h.css=n,c([(0,a.MZ)({reflect:!0})],h.prototype,"orientation",2),c([(0,o.w)("orientation")],h.prototype,"handleVerticalChange",1),h=c([(0,a.EM)("wa-divider")],h)},52630:function(e,t,i){i.a(e,async function(e,a){try{i.d(t,{A:function(){return A}});i(74423),i(44114),i(18111),i(22489),i(3362),i(27495),i(62953);var o=i(5124),r=i(67576),s=i(6412),n=i(17051),l=i(42462),d=i(28438),c=i(98779),h=i(27259),p=i(25877),u=i(984),v=i(95010),m=i(9395),b=i(717),f=i(40158),y=i(51920),g=e([f]);f=(g.then?(await g)():g)[0];let _,x=e=>e;var w=Object.defineProperty,k=Object.getOwnPropertyDescriptor,C=(e,t,i,a)=>{for(var o,r=a>1?void 0:a?k(t,i):t,s=e.length-1;s>=0;s--)(o=e[s])&&(r=(a?o(t,i,r):o(r))||r);return a&&r&&w(t,i,r),r};let A=class extends b.A{connectedCallback(){super.connectedCallback(),this.eventController.signal.aborted&&(this.eventController=new AbortController),this.addEventListener("mouseout",this.handleMouseOut),this.open&&(this.open=!1,this.updateComplete.then(()=>{this.open=!0})),this.id||(this.id=(0,v.N)("wa-tooltip-")),this.for&&this.anchor?(this.anchor=null,this.handleForChange()):this.for&&this.handleForChange()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleDocumentKeyDown),(0,p.Fw)(this),this.eventController.abort(),this.anchor&&this.removeFromAriaLabelledBy(this.anchor,this.id)}firstUpdated(){this.body.hidden=!this.open,this.open&&(this.popup.active=!0,this.popup.reposition())}hasTrigger(e){return this.trigger.split(" ").includes(e)}addToAriaLabelledBy(e,t){const i=(e.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean);i.includes(t)||(i.push(t),e.setAttribute("aria-labelledby",i.join(" ")))}removeFromAriaLabelledBy(e,t){const i=(e.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).filter(e=>e!==t);i.length>0?e.setAttribute("aria-labelledby",i.join(" ")):e.removeAttribute("aria-labelledby")}async handleOpenChange(){if(this.open){if(this.disabled)return;const e=new c.k;if(this.dispatchEvent(e),e.defaultPrevented)return void(this.open=!1);document.addEventListener("keydown",this.handleDocumentKeyDown,{signal:this.eventController.signal}),(0,p.AZ)(this),this.body.hidden=!1,this.popup.active=!0,await(0,h.Ud)(this.popup.popup,"show-with-scale"),this.popup.reposition(),this.dispatchEvent(new l.q)}else{const e=new d.L;if(this.dispatchEvent(e),e.defaultPrevented)return void(this.open=!1);document.removeEventListener("keydown",this.handleDocumentKeyDown),(0,p.Fw)(this),await(0,h.Ud)(this.popup.popup,"hide-with-scale"),this.popup.active=!1,this.body.hidden=!0,this.dispatchEvent(new n.Z)}}handleForChange(){const e=this.getRootNode();if(!e)return;const t=this.for?e.getElementById(this.for):null,i=this.anchor;if(t===i)return;const{signal:a}=this.eventController;t&&(this.addToAriaLabelledBy(t,this.id),t.addEventListener("blur",this.handleBlur,{capture:!0,signal:a}),t.addEventListener("focus",this.handleFocus,{capture:!0,signal:a}),t.addEventListener("click",this.handleClick,{signal:a}),t.addEventListener("mouseover",this.handleMouseOver,{signal:a}),t.addEventListener("mouseout",this.handleMouseOut,{signal:a})),i&&(this.removeFromAriaLabelledBy(i,this.id),i.removeEventListener("blur",this.handleBlur,{capture:!0}),i.removeEventListener("focus",this.handleFocus,{capture:!0}),i.removeEventListener("click",this.handleClick),i.removeEventListener("mouseover",this.handleMouseOver),i.removeEventListener("mouseout",this.handleMouseOut)),this.anchor=t}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,(0,u.l)(this,"wa-after-show")}async hide(){if(this.open)return this.open=!1,(0,u.l)(this,"wa-after-hide")}render(){return(0,o.qy)(_||(_=x` <wa-popup part="base" exportparts="
popup:base__popup,
arrow:base__arrow
" class="${0}" placement="${0}" distance="${0}" skidding="${0}" flip shift ?arrow="${0}" hover-bridge .anchor="${0}"> <div part="body" class="body"> <slot></slot> </div> </wa-popup> `),(0,s.H)({tooltip:!0,"tooltip-open":this.open}),this.placement,this.distance,this.skidding,!this.withoutArrow,this.anchor)}constructor(){super(...arguments),this.placement="top",this.disabled=!1,this.distance=8,this.open=!1,this.skidding=0,this.showDelay=150,this.hideDelay=0,this.trigger="hover focus",this.withoutArrow=!1,this.for=null,this.anchor=null,this.eventController=new AbortController,this.handleBlur=()=>{this.hasTrigger("focus")&&this.hide()},this.handleClick=()=>{this.hasTrigger("click")&&(this.open?this.hide():this.show())},this.handleFocus=()=>{this.hasTrigger("focus")&&this.show()},this.handleDocumentKeyDown=e=>{"Escape"===e.key&&this.open&&(0,p.a0)(this)&&(e.preventDefault(),e.stopPropagation(),this.hide())},this.handleMouseOver=()=>{this.hasTrigger("hover")&&(clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),this.showDelay))},this.handleMouseOut=()=>{if(this.hasTrigger("hover")){var e;const t=Boolean(null===(e=this.anchor)||void 0===e?void 0:e.matches(":hover")),i=this.matches(":hover");if(t||i)return;clearTimeout(this.hoverTimeout),t||i||(this.hoverTimeout=window.setTimeout(()=>{this.hide()},this.hideDelay))}}}};A.css=y.A,A.dependencies={"wa-popup":f.A},C([(0,r.P)("slot:not([name])")],A.prototype,"defaultSlot",2),C([(0,r.P)(".body")],A.prototype,"body",2),C([(0,r.P)("wa-popup")],A.prototype,"popup",2),C([(0,r.MZ)()],A.prototype,"placement",2),C([(0,r.MZ)({type:Boolean,reflect:!0})],A.prototype,"disabled",2),C([(0,r.MZ)({type:Number})],A.prototype,"distance",2),C([(0,r.MZ)({type:Boolean,reflect:!0})],A.prototype,"open",2),C([(0,r.MZ)({type:Number})],A.prototype,"skidding",2),C([(0,r.MZ)({attribute:"show-delay",type:Number})],A.prototype,"showDelay",2),C([(0,r.MZ)({attribute:"hide-delay",type:Number})],A.prototype,"hideDelay",2),C([(0,r.MZ)()],A.prototype,"trigger",2),C([(0,r.MZ)({attribute:"without-arrow",type:Boolean,reflect:!0})],A.prototype,"withoutArrow",2),C([(0,r.MZ)()],A.prototype,"for",2),C([(0,r.wk)()],A.prototype,"anchor",2),C([(0,m.w)("open",{waitUntilFirstUpdate:!0})],A.prototype,"handleOpenChange",1),C([(0,m.w)("for")],A.prototype,"handleForChange",1),C([(0,m.w)(["distance","placement","skidding"])],A.prototype,"handleOptionsChange",1),C([(0,m.w)("disabled")],A.prototype,"handleDisabledChange",1),A=C([(0,r.EM)("wa-tooltip")],A),a()}catch(_){a(_)}})},51920:function(e,t,i){i.d(t,{A:function(){return o}});let a;var o=(0,i(5124).AH)(a||(a=(e=>e)`:host{--max-width:30ch;display:inline-block;position:absolute;color:var(--wa-tooltip-content-color);font-size:var(--wa-tooltip-font-size);line-height:var(--wa-tooltip-line-height);text-align:start;white-space:normal}.tooltip{--arrow-size:var(--wa-tooltip-arrow-size);--arrow-color:var(--wa-tooltip-background-color)}.tooltip::part(popup){z-index:1000}.tooltip[placement^=top]::part(popup){transform-origin:bottom}.tooltip[placement^=bottom]::part(popup){transform-origin:top}.tooltip[placement^=left]::part(popup){transform-origin:right}.tooltip[placement^=right]::part(popup){transform-origin:left}.body{display:block;width:max-content;max-width:var(--max-width);border-radius:var(--wa-tooltip-border-radius);background-color:var(--wa-tooltip-background-color);border:var(--wa-tooltip-border-width) var(--wa-tooltip-border-style) var(--wa-tooltip-border-color);padding:.25em .5em;user-select:none;-webkit-user-select:none}.tooltip{--popup-border-width:var(--wa-tooltip-border-width)}.tooltip::part(arrow){border-bottom:var(--wa-tooltip-border-width) var(--wa-tooltip-border-style) var(--wa-tooltip-border-color);border-right:var(--wa-tooltip-border-width) var(--wa-tooltip-border-style) var(--wa-tooltip-border-color)}`))},984:function(e,t,i){i.d(t,{l:function(){return a}});i(3362);function a(e,t){return new Promise(i=>{e.addEventListener(t,function a(o){o.target===e&&(e.removeEventListener(t,a),i())})})}},31247:function(e,t,i){i.d(t,{v:function(){return a}});i(18111),i(22489),i(61701),i(42762);function a(e){return e.split(" ").map(e=>e.trim()).filter(e=>""!==e)}},49546:function(e,t,i){i.d(t,{Y:function(){return a}});i(44114);const a=(e={})=>{let{validationElement:t,validationProperty:i}=e;t||(t=Object.assign(document.createElement("input"),{required:!0})),i||(i="value");const a={observedAttributes:["required"],message:t.validationMessage,checkValidity(e){var t;const o={message:"",isValid:!0,invalidKeys:[]};if(!(null!==(t=e.required)&&void 0!==t?t:e.hasAttribute("required")))return o;return!e[i]&&(o.message="function"==typeof a.message?a.message(e):a.message||"",o.isValid=!1,o.invalidKeys.push("valueMissing")),o}};return a}},15477:function(e,t,i){i.d(t,{A:function(){return o}});let a;var o=(0,i(5124).AH)(a||(a=(e=>e)`:host{display:flex;flex-direction:column}[part~=form-control]{display:contents}:is([part~=form-control-label],[part~=label]).has-label,:is([part~=form-control-label],[part~=label]):has(:not(:empty)){display:inline-flex;color:var(--wa-form-control-label-color);font-weight:var(--wa-form-control-label-font-weight);line-height:var(--wa-form-control-label-line-height);margin-block-end:0.5em}:host([required]) :is([part~=form-control-label],[part~=label])::after{content:var(--wa-form-control-required-content);margin-inline-start:var(--wa-form-control-required-content-offset);color:var(--wa-form-control-required-content-color)}[part~=hint]{display:block;color:var(--wa-form-control-hint-color);font-weight:var(--wa-form-control-hint-font-weight);line-height:var(--wa-form-control-hint-line-height);margin-block-start:0.5em;font-size:var(--wa-font-size-smaller)}[part~=hint]:not(.has-slotted,.has-hint){display:none}`))},96229:function(e,t,i){i.d(t,{k:function(){return h}});i(62953);var a=i(40445),o=(i(73535),i(5124)),r=i(67576),s=i(99591);let n,l,d,c=e=>e;class h extends s.v{get primaryId(){return this.href?"link":"button"}get rippleDisabled(){return!this.href&&(this.disabled||this.softDisabled)}getContainerClasses(){return Object.assign(Object.assign({},super.getContainerClasses()),{},{disabled:!this.href&&(this.disabled||this.softDisabled),elevated:this.elevated,link:!!this.href})}renderPrimaryAction(e){const{ariaLabel:t}=this;return this.href?(0,o.qy)(n||(n=c` <a class="primary action" id="link" aria-label="${0}" href="${0}" download="${0}" target="${0}">${0}</a> `),t||o.s6,this.href,this.download||o.s6,this.target||o.s6,e):(0,o.qy)(l||(l=c` <button class="primary action" id="button" aria-label="${0}" aria-disabled="${0}" ?disabled="${0}" type="button">${0}</button> `),t||o.s6,this.softDisabled||o.s6,this.disabled&&!this.alwaysFocusable,e)}renderOutline(){return this.elevated?(0,o.qy)(d||(d=c`<md-elevation part="elevation"></md-elevation>`)):super.renderOutline()}constructor(){super(...arguments),this.elevated=!1,this.href="",this.download="",this.target=""}}(0,a.Cg)([(0,r.MZ)({type:Boolean})],h.prototype,"elevated",void 0),(0,a.Cg)([(0,r.MZ)()],h.prototype,"href",void 0),(0,a.Cg)([(0,r.MZ)()],h.prototype,"download",void 0),(0,a.Cg)([(0,r.MZ)()],h.prototype,"target",void 0)},26069:function(e,t,i){i.d(t,{R:function(){return o}});let a;const o=(0,i(5124).AH)(a||(a=(e=>e)`:host{--_container-height:var(--md-assist-chip-container-height, 32px);--_disabled-label-text-color:var(--md-assist-chip-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity:var(--md-assist-chip-disabled-label-text-opacity, 0.38);--_elevated-container-color:var(--md-assist-chip-elevated-container-color, var(--md-sys-color-surface-container-low, #f7f2fa));--_elevated-container-elevation:var(--md-assist-chip-elevated-container-elevation, 1);--_elevated-container-shadow-color:var(--md-assist-chip-elevated-container-shadow-color, var(--md-sys-color-shadow, #000));--_elevated-disabled-container-color:var(--md-assist-chip-elevated-disabled-container-color, var(--md-sys-color-on-surface, #1d1b20));--_elevated-disabled-container-elevation:var(--md-assist-chip-elevated-disabled-container-elevation, 0);--_elevated-disabled-container-opacity:var(--md-assist-chip-elevated-disabled-container-opacity, 0.12);--_elevated-focus-container-elevation:var(--md-assist-chip-elevated-focus-container-elevation, 1);--_elevated-hover-container-elevation:var(--md-assist-chip-elevated-hover-container-elevation, 2);--_elevated-pressed-container-elevation:var(--md-assist-chip-elevated-pressed-container-elevation, 1);--_focus-label-text-color:var(--md-assist-chip-focus-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-label-text-color:var(--md-assist-chip-hover-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-state-layer-color:var(--md-assist-chip-hover-state-layer-color, var(--md-sys-color-on-surface, #1d1b20));--_hover-state-layer-opacity:var(--md-assist-chip-hover-state-layer-opacity, 0.08);--_label-text-color:var(--md-assist-chip-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_label-text-font:var(--md-assist-chip-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height:var(--md-assist-chip-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size:var(--md-assist-chip-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight:var(--md-assist-chip-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_pressed-label-text-color:var(--md-assist-chip-pressed-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_pressed-state-layer-color:var(--md-assist-chip-pressed-state-layer-color, var(--md-sys-color-on-surface, #1d1b20));--_pressed-state-layer-opacity:var(--md-assist-chip-pressed-state-layer-opacity, 0.12);--_disabled-outline-color:var(--md-assist-chip-disabled-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-outline-opacity:var(--md-assist-chip-disabled-outline-opacity, 0.12);--_focus-outline-color:var(--md-assist-chip-focus-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_outline-color:var(--md-assist-chip-outline-color, var(--md-sys-color-outline, #79747e));--_outline-width:var(--md-assist-chip-outline-width, 1px);--_disabled-leading-icon-color:var(--md-assist-chip-disabled-leading-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-leading-icon-opacity:var(--md-assist-chip-disabled-leading-icon-opacity, 0.38);--_focus-leading-icon-color:var(--md-assist-chip-focus-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_hover-leading-icon-color:var(--md-assist-chip-hover-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_leading-icon-color:var(--md-assist-chip-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-size:var(--md-assist-chip-icon-size, 18px);--_pressed-leading-icon-color:var(--md-assist-chip-pressed-leading-icon-color, var(--md-sys-color-primary, #6750a4));--_container-shape-start-start:var(--md-assist-chip-container-shape-start-start, var(--md-assist-chip-container-shape, var(--md-sys-shape-corner-small, 8px)));--_container-shape-start-end:var(--md-assist-chip-container-shape-start-end, var(--md-assist-chip-container-shape, var(--md-sys-shape-corner-small, 8px)));--_container-shape-end-end:var(--md-assist-chip-container-shape-end-end, var(--md-assist-chip-container-shape, var(--md-sys-shape-corner-small, 8px)));--_container-shape-end-start:var(--md-assist-chip-container-shape-end-start, var(--md-assist-chip-container-shape, var(--md-sys-shape-corner-small, 8px)));--_leading-space:var(--md-assist-chip-leading-space, 16px);--_trailing-space:var(--md-assist-chip-trailing-space, 16px);--_icon-label-space:var(--md-assist-chip-icon-label-space, 8px);--_with-leading-icon-leading-space:var(--md-assist-chip-with-leading-icon-leading-space, 8px)}@media(forced-colors:active){.link .outline{border-color:ActiveText}}`))},34514:function(e,t,i){i.d(t,{V:function(){return s}});i(16280),i(62953);var a=i(5055),o=i(42017),r=i(63937);const s=(0,o.u$)(class extends o.WL{render(e){return e}update(e,[t]){if(t===a.c0||t===a.s6)return t;const i=e.element,s=e.name;if(e.type===o.OA.PROPERTY){if(t===i[s])return a.c0}else if(e.type===o.OA.BOOLEAN_ATTRIBUTE){if(!!t===i.hasAttribute(s))return a.c0}else if(e.type===o.OA.ATTRIBUTE&&i.getAttribute(s)===t+"")return a.c0;return(0,r.mY)(e),t}constructor(e){if(super(e),e.type!==o.OA.PROPERTY&&e.type!==o.OA.ATTRIBUTE&&e.type!==o.OA.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!(0,r.Rt)(e))throw Error("`live` bindings can only contain a single expression")}})}}]);