UNPKG

iobroker.lovelace

Version:

With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI

30 lines 22.1 kB
/*! For license information please see 41983.809775fd307aaf65.js.LICENSE.txt */ "use strict";(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[41983],{39826:function(t,e,o){o.r(e),o.d(e,{HaIconButtonGroup:function(){return d}});var a=o(40445),i=o(5124),r=o(67576);let n,s,c=t=>t;class d extends i.WF{render(){return(0,i.qy)(n||(n=c`<slot></slot>`))}}d.styles=(0,i.AH)(s||(s=c`:host{position:relative;display:flex;flex-direction:row;align-items:center;height:48px;border-radius:var(--ha-border-radius-4xl);background-color:rgba(139,145,151,.1);box-sizing:border-box;width:auto;padding:0}::slotted(.separator){background-color:rgba(var(--rgb-primary-text-color),.15);width:1px;margin:0 1px;height:40px}`)),d=(0,a.Cg)([(0,r.EM)("ha-icon-button-group")],d)},9882:function(t,e,o){o.a(t,async function(t,a){try{o.r(e),o.d(e,{HaIconButtonToolbar:function(){return b}});o(18111),o(22489),o(61701),o(62953);var i=o(40445),r=o(5124),n=o(67576),s=(o(47680),o(26300)),c=(o(39826),o(34127)),d=t([s,c]);[s,c]=d.then?(await d)():d;let l,h,p,u,f=t=>t;class b extends r.WF{findToolbarButtons(t=""){var e;const o=null===(e=this._buttons)||void 0===e?void 0:e.filter(t=>t.classList.contains("icon-toolbar-button"));if(!o||!o.length)return;if(!t.length)return o;const a=o.filter(e=>e.querySelector(t));return a.length?a:void 0}findToolbarButtonById(t){var e;const o=null===(e=this.shadowRoot)||void 0===e?void 0:e.getElementById(t);if(o&&"ha-icon-button"===o.localName)return o}render(){return(0,r.qy)(l||(l=f` <ha-icon-button-group class="icon-toolbar-buttongroup"> ${0} </ha-icon-button-group> `),this.items.map(t=>{var e,o,a,i;return"string"==typeof t?(0,r.qy)(h||(h=f`<div class="icon-toolbar-divider" role="separator"></div>`)):(0,r.qy)(p||(p=f`<ha-tooltip .disabled="${0}" .for="${0}">${0}</ha-tooltip> <ha-icon-button class="icon-toolbar-button" .id="${0}" @click="${0}" .label="${0}" .path="${0}" .disabled="${0}"></ha-icon-button>`),!t.tooltip,null!==(e=t.id)&&void 0!==e?e:"icon-button-"+t.label,null!==(o=t.tooltip)&&void 0!==o?o:"",null!==(a=t.id)&&void 0!==a?a:"icon-button-"+t.label,t.action,t.label,t.path,null!==(i=t.disabled)&&void 0!==i&&i)}))}constructor(...t){super(...t),this.items=[]}}b.styles=(0,r.AH)(u||(u=f`:host{position:absolute;top:0px;width:100%;display:flex;flex-direction:row-reverse;background-color:var(--icon-button-toolbar-color,var(--secondary-background-color,#f5f5f5));--icon-button-toolbar-height:32px;--icon-button-toolbar-button:calc( var(--icon-button-toolbar-height) - 4px );--icon-button-toolbar-icon:calc( var(--icon-button-toolbar-height) - 10px )}.icon-toolbar-divider{height:var(--icon-button-toolbar-icon);margin:0px 4px;border:.5px solid var(--divider-color,var(--secondary-text-color,transparent))}.icon-toolbar-buttongroup{background-color:transparent;padding-right:4px;height:var(--icon-button-toolbar-height);gap:var(--ha-space-2)}.icon-toolbar-button{color:var(--secondary-text-color);--ha-icon-button-size:var(--icon-button-toolbar-button);--mdc-icon-size:var(--icon-button-toolbar-icon);cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}`)),(0,i.Cg)([(0,n.MZ)({attribute:!1})],b.prototype,"items",void 0),(0,i.Cg)([(0,n.YG)("ha-icon-button")],b.prototype,"_buttons",void 0),b=(0,i.Cg)([(0,n.EM)("ha-icon-button-toolbar")],b),a()}catch(l){a(l)}})},47680:function(t,e,o){o.r(e),o.d(e,{HaIcon:function(){return E}});o(74423),o(3362),o(62953);var a=o(40445),i=o(5124),r=o(67576),n=o(1087),s=o(9899),c=o(700),d=(o(44114),o(18111),o(7588),o(96167),o(95192)),l=o(7553);const h=JSON.parse('{"version":"7.4.47","parts":[{"file":"7a7139d465f1f41cb26ab851a17caa21a9331234"},{"start":"account-supervisor-circle-","file":"9561286c4c1021d46b9006596812178190a7cc1c"},{"start":"alpha-r-c","file":"eb466b7087fb2b4d23376ea9bc86693c45c500fa"},{"start":"arrow-decision-o","file":"4b3c01b7e0723b702940c5ac46fb9e555646972b"},{"start":"baby-f","file":"2611401d85450b95ab448ad1d02c1a432b409ed2"},{"start":"battery-hi","file":"89bcd31855b34cd9d31ac693fb073277e74f1f6a"},{"start":"blur-r","file":"373709cd5d7e688c2addc9a6c5d26c2d57c02c48"},{"start":"briefcase-account-","file":"a75956cf812ee90ee4f656274426aafac81e1053"},{"start":"calendar-question-","file":"3253f2529b5ebdd110b411917bacfacb5b7063e6"},{"start":"car-lig","file":"74566af3501ad6ae58ad13a8b6921b3cc2ef879d"},{"start":"cellphone-co","file":"7677f1cfb2dd4f5562a2aa6d3ae43a2e6997b21a"},{"start":"circle-slice-2","file":"70d08c50ec4522dd75d11338db57846588263ee2"},{"start":"cloud-co","file":"141d2bfa55ca4c83f4bae2812a5da59a84fec4ff"},{"start":"cog-s","file":"5a640365f8e47c609005d5e098e0e8104286d120"},{"start":"cookie-l","file":"dd85b8eb8581b176d3acf75d1bd82e61ca1ba2fc"},{"start":"currency-eur-","file":"15362279f4ebfc3620ae55f79d2830ad86d5213e"},{"start":"delete-o","file":"239434ab8df61237277d7599ebe066c55806c274"},{"start":"draw-","file":"5605918a592070803ba2ad05a5aba06263da0d70"},{"start":"emoticon-po","file":"a838cfcec34323946237a9f18e66945f55260f78"},{"start":"fan","file":"effd56103b37a8c7f332e22de8e4d67a69b70db7"},{"start":"file-question-","file":"b2424b50bd465ae192593f1c3d086c5eec893af8"},{"start":"flask-off-","file":"3b76295cde006a18f0301dd98eed8c57e1d5a425"},{"start":"food-s","file":"1c6941474cbeb1755faaaf5771440577f4f1f9c6"},{"start":"gamepad-u","file":"c6efe18db6bc9654ae3540c7dee83218a5450263"},{"start":"google-f","file":"df341afe6ad4437457cf188499cb8d2df8ac7b9e"},{"start":"head-c","file":"282121c9e45ed67f033edcc1eafd279334c00f46"},{"start":"home-pl","file":"27e8e38fc7adcacf2a210802f27d841b49c8c508"},{"start":"inbox-","file":"0f0316ec7b1b7f7ce3eaabce26c9ef619b5a1694"},{"start":"key-v","file":"ea33462be7b953ff1eafc5dac2d166b210685a60"},{"start":"leaf-circle-","file":"33db9bbd66ce48a2db3e987fdbd37fb0482145a4"},{"start":"lock-p","file":"b89e27ed39e9d10c44259362a4b57f3c579d3ec8"},{"start":"message-s","file":"7b5ab5a5cadbe06e3113ec148f044aa701eac53a"},{"start":"moti","file":"01024d78c248d36805b565e343dd98033cc3bcaf"},{"start":"newspaper-variant-o","file":"22a6ec4a4fdd0a7c0acaf805f6127b38723c9189"},{"start":"on","file":"c73d55b412f394e64632e2011a59aa05e5a1f50d"},{"start":"paw-ou","file":"3f669bf26d16752dc4a9ea349492df93a13dcfbf"},{"start":"pigg","file":"0c24edb27eb1c90b6e33fc05f34ef3118fa94256"},{"start":"printer-pos-sy","file":"41a55cda866f90b99a64395c3bb18c14983dcf0a"},{"start":"read","file":"c7ed91552a3a64c9be88c85e807404cf705b7edf"},{"start":"robot-vacuum-variant-o","file":"917d2a35d7268c0ea9ad9ecab2778060e19d90e0"},{"start":"sees","file":"6e82d9861d8fac30102bafa212021b819f303bdb"},{"start":"shoe-f","file":"e2fe7ce02b5472301418cc90a0e631f187b9f238"},{"start":"snowflake-m","file":"a28ba9f5309090c8b49a27ca20ff582a944f6e71"},{"start":"st","file":"7e92d03f095ec27e137b708b879dfd273bd735ab"},{"start":"su","file":"61c74913720f9de59a379bdca37f1d2f0dc1f9db"},{"start":"tag-plus-","file":"8f3184156a4f38549cf4c4fffba73a6a941166ae"},{"start":"timer-a","file":"baab470d11cfb3a3cd3b063ee6503a77d12a80d0"},{"start":"transit-d","file":"8561c0d9b1ac03fab360fd8fe9729c96e8693239"},{"start":"vector-arrange-b","file":"c9a3439257d4bab33d3355f1f2e11842e8171141"},{"start":"water-ou","file":"02dbccfb8ca35f39b99f5a085b095fc1275005a0"},{"start":"webc","file":"57bafd4b97341f4f2ac20a609d023719f23a619c"},{"start":"zip","file":"65ae094e8263236fa50486584a08c03497a38d93"}]}');let p;const u=()=>(p||(p=f().catch(t=>{throw p=void 0,t})),p),f=async()=>{const t=(0,d.y$)("hass-icon-db","mdi-icon-store"),e=await(0,d.Jt)("_version",t);return e?e!==h.version&&(await(0,d.IU)(t),(0,d.hZ)("_version",h.version,t)):(0,d.hZ)("_version",h.version,t),t},b=["mdi","hass","hassio","hademo"];let v=[];o(67094);let w,y,g,m=t=>t;const k={},x={},C=(0,s.s)(()=>(async t=>{const e=Object.keys(t),o=await Promise.allSettled(Object.values(t));(await u())("readwrite",a=>{o.forEach((o,i)=>{"fulfilled"===o.status&&Object.entries(o.value).forEach(([t,e])=>{a.put(e,t)}),delete t[e[i]]})})})(x),2e3),_={},A={"home-assistant":()=>o.e(58781).then(o.bind(o,53580)).then(t=>t.mdiHomeAssistant),"music-assistant":()=>o.e(56009).then(o.bind(o,10576)).then(t=>t.mdiMusicAssistant),esphome:()=>o.e(88800).then(o.bind(o,45091)).then(t=>t.mdiEsphomeLogo)};class E extends i.WF{willUpdate(t){super.willUpdate(t),t.has("icon")&&(this._path=void 0,this._secondaryPath=void 0,this._viewBox=void 0,this._loadIcon())}render(){return this.icon?this._legacy?(0,i.qy)(w||(w=m` <iron-icon .icon="${0}"></iron-icon>`),this.icon):(0,i.qy)(y||(y=m`<ha-svg-icon .path="${0}" .secondaryPath="${0}" .viewBox="${0}"></ha-svg-icon>`),this._path,this._secondaryPath,this._viewBox):i.s6}async _loadIcon(){if(!this.icon)return;const t=this.icon,[e,o]=this.icon.split(":",2);let a,i=o;if(!e||!i)return;if(!b.includes(e)){const o=c.y[e];return o?void(o&&"function"==typeof o.getIcon&&this._setCustomPath(o.getIcon(i),t)):void(this._legacy=!0)}if(this._legacy=!1,i in k){const t=k[i];let o;t.newName?(o=`Icon ${e}:${i} was renamed to ${e}:${t.newName}, please change your config, it will be removed in version ${t.removeIn}.`,i=t.newName):o=`Icon ${e}:${i} was removed from MDI, please replace this icon with an other icon in your config, it will be removed in version ${t.removeIn}.`,console.warn(o),(0,n.r)(this,"write_log",{level:"warning",message:o})}if(i in _)return void(this._path=_[i]);if(i in A){const e=await A[i]();return this.icon===t&&(this._path=e),void(_[i]=e)}try{a=await(t=>new Promise((e,o)=>{if(v.push([t,e,o]),v.length>1)return;const a=u();(0,l.h)(1e3,(async()=>{(await a)("readonly",t=>{for(const[e,o,a]of v)(0,d.Yd)(t.get(e)).then(t=>o(t)).catch(t=>a(t));v=[]})})()).catch(t=>{for(const[,,e]of v)e(t);v=[]})}))(i)}catch(p){a=void 0}if(a)return this.icon===t&&(this._path=a),void(_[i]=a);const r=(t=>{let e;for(const o of h.parts){if(void 0!==o.start&&t<o.start)break;e=o}return e.file})(i);if(r in x)return void this._setPath(x[r],i,t);const s=fetch(`/static/mdi/${r}.json`).then(t=>t.json());x[r]=s,this._setPath(s,i,t),s.catch(()=>{delete x[r]}),C()}async _setCustomPath(t,e){const o=await t;this.icon===e&&(this._path=o.path,this._secondaryPath=o.secondaryPath,this._viewBox=o.viewBox)}async _setPath(t,e,o){try{const a=await t;this.icon===o&&(this._path=a[e]),_[e]=a[e]}catch(a){}}constructor(...t){super(...t),this._legacy=!1}}E.styles=(0,i.AH)(g||(g=m`:host{fill:currentcolor}`)),(0,a.Cg)([(0,r.MZ)()],E.prototype,"icon",void 0),(0,a.Cg)([(0,r.wk)()],E.prototype,"_path",void 0),(0,a.Cg)([(0,r.wk)()],E.prototype,"_secondaryPath",void 0),(0,a.Cg)([(0,r.wk)()],E.prototype,"_viewBox",void 0),(0,a.Cg)([(0,r.wk)()],E.prototype,"_legacy",void 0),E=(0,a.Cg)([(0,r.EM)("ha-icon")],E)},34127:function(t,e,o){o.a(t,async function(t,e){try{o(62953);var a=o(40445),i=o(52630),r=o(5124),n=o(67576),s=t([i]);i=(s.then?(await s)():s)[0];let c,d=t=>t;class l extends i.A{static get styles(){return[i.A.styles,(0,r.AH)(c||(c=d`:host{--wa-tooltip-background-color:var( --ha-tooltip-background-color, var(--ha-color-surface-default) );--wa-tooltip-content-color:var( --ha-tooltip-text-color, var(--primary-text-color) );--wa-tooltip-font-family:var( --ha-tooltip-font-family, var(--ha-font-family-body) );--wa-tooltip-font-size:var( --ha-tooltip-font-size, var(--ha-font-size-m) );--wa-tooltip-font-weight:var( --ha-tooltip-font-weight, var(--ha-font-weight-medium) );--wa-tooltip-line-height:var( --ha-tooltip-line-height, var(--ha-line-height-condensed) );--wa-tooltip-padding:var(--ha-tooltip-padding, var(--ha-space-2));--wa-tooltip-border-radius:var( --ha-tooltip-border-radius, var(--ha-border-radius-md) );--wa-tooltip-arrow-size:var(--ha-tooltip-arrow-size, 0px);--wa-tooltip-border-width:0px;--wa-z-index-tooltip:1000}.tooltip::part(popup){animation-duration:var(--ha-tooltip-animation-duration, 0)}.body{box-shadow:var(--ha-tooltip-box-shadow,var(--ha-box-shadow-m))}`))]}constructor(...t){super(...t),this.showDelay=350,this.hideDelay=150}}(0,a.Cg)([(0,n.MZ)({attribute:"show-delay",type:Number})],l.prototype,"showDelay",void 0),(0,a.Cg)([(0,n.MZ)({attribute:"hide-delay",type:Number})],l.prototype,"hideDelay",void 0),l=(0,a.Cg)([(0,n.EM)("ha-tooltip")],l),e()}catch(c){e(c)}})},700:function(t,e,o){o.d(e,{y:function(){return n}});const a=window;"customIconsets"in a||(a.customIconsets={});const i=a.customIconsets,r=window;"customIcons"in r||(r.customIcons={});const n=new Proxy(r.customIcons,{get:(t,e)=>{var o;return null!==(o=t[e])&&void 0!==o?o:i[e]?{getIcon:i[e]}:void 0}})},69235:function(t,e,o){o.a(t,async function(t,e){try{o(3362),o(62953);"function"!=typeof window.ResizeObserver&&(window.ResizeObserver=(await o.e(71055).then(o.bind(o,52370))).default),e()}catch(a){e(a)}},1)},52630:function(t,e,o){o.a(t,async function(t,a){try{o.d(e,{A:function(){return A}});o(74423),o(44114),o(18111),o(22489),o(3362),o(27495),o(62953);var i=o(5124),r=o(67576),n=o(6412),s=o(17051),c=o(42462),d=o(28438),l=o(98779),h=o(27259),p=o(25877),u=o(984),f=o(95010),b=o(9395),v=o(717),w=o(40158),y=o(51920),g=t([w]);w=(g.then?(await g)():g)[0];let C,_=t=>t;var m=Object.defineProperty,k=Object.getOwnPropertyDescriptor,x=(t,e,o,a)=>{for(var i,r=a>1?void 0:a?k(e,o):e,n=t.length-1;n>=0;n--)(i=t[n])&&(r=(a?i(e,o,r):i(r))||r);return a&&r&&m(e,o,r),r};let A=class extends v.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,f.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(t){return this.trigger.split(" ").includes(t)}addToAriaLabelledBy(t,e){const o=(t.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean);o.includes(e)||(o.push(e),t.setAttribute("aria-labelledby",o.join(" ")))}removeFromAriaLabelledBy(t,e){const o=(t.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).filter(t=>t!==e);o.length>0?t.setAttribute("aria-labelledby",o.join(" ")):t.removeAttribute("aria-labelledby")}async handleOpenChange(){if(this.open){if(this.disabled)return;const t=new l.k;if(this.dispatchEvent(t),t.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 c.q)}else{const t=new d.L;if(this.dispatchEvent(t),t.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 s.Z)}}handleForChange(){const t=this.getRootNode();if(!t)return;const e=this.for?t.getElementById(this.for):null,o=this.anchor;if(e===o)return;const{signal:a}=this.eventController;e&&(this.addToAriaLabelledBy(e,this.id),e.addEventListener("blur",this.handleBlur,{capture:!0,signal:a}),e.addEventListener("focus",this.handleFocus,{capture:!0,signal:a}),e.addEventListener("click",this.handleClick,{signal:a}),e.addEventListener("mouseover",this.handleMouseOver,{signal:a}),e.addEventListener("mouseout",this.handleMouseOut,{signal:a})),o&&(this.removeFromAriaLabelledBy(o,this.id),o.removeEventListener("blur",this.handleBlur,{capture:!0}),o.removeEventListener("focus",this.handleFocus,{capture:!0}),o.removeEventListener("click",this.handleClick),o.removeEventListener("mouseover",this.handleMouseOver),o.removeEventListener("mouseout",this.handleMouseOut)),this.anchor=e}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,i.qy)(C||(C=_` <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,n.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=t=>{"Escape"===t.key&&this.open&&(0,p.a0)(this)&&(t.preventDefault(),t.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 t;const e=Boolean(null===(t=this.anchor)||void 0===t?void 0:t.matches(":hover")),o=this.matches(":hover");if(e||o)return;clearTimeout(this.hoverTimeout),e||o||(this.hoverTimeout=window.setTimeout(()=>{this.hide()},this.hideDelay))}}}};A.css=y.A,A.dependencies={"wa-popup":w.A},x([(0,r.P)("slot:not([name])")],A.prototype,"defaultSlot",2),x([(0,r.P)(".body")],A.prototype,"body",2),x([(0,r.P)("wa-popup")],A.prototype,"popup",2),x([(0,r.MZ)()],A.prototype,"placement",2),x([(0,r.MZ)({type:Boolean,reflect:!0})],A.prototype,"disabled",2),x([(0,r.MZ)({type:Number})],A.prototype,"distance",2),x([(0,r.MZ)({type:Boolean,reflect:!0})],A.prototype,"open",2),x([(0,r.MZ)({type:Number})],A.prototype,"skidding",2),x([(0,r.MZ)({attribute:"show-delay",type:Number})],A.prototype,"showDelay",2),x([(0,r.MZ)({attribute:"hide-delay",type:Number})],A.prototype,"hideDelay",2),x([(0,r.MZ)()],A.prototype,"trigger",2),x([(0,r.MZ)({attribute:"without-arrow",type:Boolean,reflect:!0})],A.prototype,"withoutArrow",2),x([(0,r.MZ)()],A.prototype,"for",2),x([(0,r.wk)()],A.prototype,"anchor",2),x([(0,b.w)("open",{waitUntilFirstUpdate:!0})],A.prototype,"handleOpenChange",1),x([(0,b.w)("for")],A.prototype,"handleForChange",1),x([(0,b.w)(["distance","placement","skidding"])],A.prototype,"handleOptionsChange",1),x([(0,b.w)("disabled")],A.prototype,"handleDisabledChange",1),A=x([(0,r.EM)("wa-tooltip")],A),a()}catch(C){a(C)}})},51920:function(t,e,o){o.d(e,{A:function(){return i}});let a;var i=(0,o(5124).AH)(a||(a=(t=>t)`: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(t,e,o){o.d(e,{l:function(){return a}});o(3362);function a(t,e){return new Promise(o=>{t.addEventListener(e,function a(i){i.target===t&&(t.removeEventListener(e,a),o())})})}},95010:function(t,e,o){o.d(e,{q:function(){return i},N:function(){return r}});o(54743),o(11745),o(16573),o(78100),o(77936),o(21489),o(48140),o(75044),o(21903),o(91134),o(28845),o(373),o(37467),o(44732),o(79577),o(16632),o(34226),o(9486),o(20456);let a=(t=21)=>{let e="",o=crypto.getRandomValues(new Uint8Array(t|=0));for(;t--;)e+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&o[t]];return e};function i(t,e,o){const a=t=>Object.is(t,-0)?0:t;return a(t<e?e:t>o?o:t)}function r(t=""){return`${t}${a()}`}},95192:function(t,e,o){o.d(e,{IU:function(){return d},Jt:function(){return s},Yd:function(){return a},hZ:function(){return c},y$:function(){return i}});o(44114),o(18111),o(7588),o(61701),o(3362),o(62953);function a(t){return new Promise((e,o)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>o(t.error)})}function i(t,e){let o;return(i,r)=>(()=>{if(o)return o;const i=indexedDB.open(t);return i.onupgradeneeded=()=>i.result.createObjectStore(e),o=a(i),o.then(t=>{t.onclose=()=>o=void 0},()=>{}),o})().then(t=>r(t.transaction(e,i).objectStore(e)))}let r;function n(){return r||(r=i("keyval-store","keyval")),r}function s(t,e=n()){return e("readonly",e=>a(e.get(t)))}function c(t,e,o=n()){return o("readwrite",o=>(o.put(e,t),a(o.transaction)))}function d(t=n()){return t("readwrite",t=>(t.clear(),a(t.transaction)))}}}]);