"use strict";(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[4686],{71658:function(e,n,r){var t=r(46518),i=r(6469),u=r(96837),s=r(26198),o=r(35610),a=r(25397),c=r(91291),f=r(97040),l=Array,h=Math.max,v=Math.min;t({target:"Array",proto:!0},{toSpliced:function(e,n){var r,t,i,d,_=a(this),y=s(_),p=o(e,y),A=arguments.length,k=0;for(0===A?r=t=0:1===A?(r=0,t=y-p):(r=A-2,t=v(h(c(n),0),y-p)),i=u(y+r-t),d=l(i);k<p;k++)f(d,k,_[k]);for(;k<p+r;k++)f(d,k,arguments[k-p+2]);for(;k<i;k++)f(d,k,_[k+t-r]);return d}}),i("toSpliced")},4889:function(e,n,r){r(52675),r(89463),r(66412),r(2259),r(16280),r(23792),r(26099),r(3362),r(47764),r(62953);function t(e){var n,r,t,u=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,t=Symbol.iterator);u--;){if(r&&null!=(n=e[r]))return n.call(e);if(t&&null!=(n=e[t]))return new i(n.call(e));r="@@asyncIterator",t="@@iterator"}throw new TypeError("Object is not async iterable")}function i(e){function n(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var n=e.done;return Promise.resolve(e.value).then(function(e){return{value:e,done:n}})}return i=function(e){this.s=e,this.n=e.next},i.prototype={s:null,n:null,next:function(){return n(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):n(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):n(r.apply(this.s,arguments))}},new i(e)}r.d(n,{A:function(){return t}})},13305:function(e,n,r){r.a(e,async function(e,t){try{r(64023);var i=r(4314),u=r(89171),s=r(37648),o=r(12191),a=r(92609),c=r(86207),f=e([i,u,s,o,a,c]);[i,u,s,o,a,c]=f.then?(await f)():f,r.d(n,{BB:function(){return i.B}}),t()}catch(l){t(l)}})},79129:function(e,n,r){r.d(n,{a:function(){return h}});var t=r(95497),i=r(57567),u=r(25979),s=r(12463),o=r(16472),a=(r(23418),r(18111),r(81148),r(26099),r(47764),r(5343)),c=r(47777),f={},l=function(e){function n(){var e;return(0,i.A)(this,n),(e=(0,o.A)(this,n,arguments))._previousValue=f,e}return(0,s.A)(n,e),(0,u.A)(n,[{key:"render",value:function(e,n){return n()}},{key:"update",value:function(e,n){var r=this,i=(0,t.A)(n,2),u=i[0],s=i[1];if(Array.isArray(u)){if(Array.isArray(this._previousValue)&&this._previousValue.length===u.length&&u.every(function(e,n){return e===r._previousValue[n]}))return a.c0}else if(this._previousValue===u)return a.c0;return this._previousValue=Array.isArray(u)?Array.from(u):u,this.render(u,s)}}])}(c.WL),h=(0,c.u$)(l)},88730:function(e,n,r){r.d(n,{T:function(){return p}});var t=r(36854),i=r(98117),u=r(57567),s=r(25979),o=r(12463),a=r(16472),c=(r(50113),r(25276),r(26099),r(3362),r(5343)),f=r(27201),l=r(66788),h=(r(4889),function(){return(0,s.A)(function e(n){(0,u.A)(this,e),this._ref=n},[{key:"disconnect",value:function(){this._ref=void 0}},{key:"reconnect",value:function(e){this._ref=e}},{key:"deref",value:function(){return this._ref}}])}()),v=function(){return(0,s.A)(function e(){(0,u.A)(this,e),this._promise=void 0,this._resolve=void 0},[{key:"get",value:function(){return this._promise}},{key:"pause",value:function(){var e,n=this;null!==(e=this._promise)&&void 0!==e||(this._promise=new Promise(function(e){return n._resolve=e}))}},{key:"resume",value:function(){var e;null===(e=this._resolve)||void 0===e||e.call(this),this._promise=this._resolve=void 0}}])}(),d=function(e){return!(0,f.sO)(e)&&"function"==typeof e.then},_=1073741823,y=function(e){function n(){var e;return(0,u.A)(this,n),(e=(0,a.A)(this,n,arguments)).__lastRenderedIndex=_,e.__values=[],e.__weakThis=new h(e),e.__pauser=new v,e}return(0,o.A)(n,e),(0,s.A)(n,[{key:"render",value:function(){for(var e,n=arguments.length,r=new Array(n),t=0;t<n;t++)r[t]=arguments[t];return null!==(e=r.find(function(e){return!d(e)}))&&void 0!==e?e:c.c0}},{key:"update",value:function(e,n){var r=this,u=this.__values,s=u.length;this.__values=n;var o=this.__weakThis,a=this.__pauser;this.isConnected||this.disconnected();for(var f,l=function(){if(h>r.__lastRenderedIndex)return 0;var e=n[h];return d(e)?h<s&&e===u[h]?1:(r.__lastRenderedIndex=_,s=0,void Promise.resolve(e).then(function(){var n=(0,i.A)((0,t.A)().m(function n(r){var i,u;return(0,t.A)().w(function(n){for(;;)switch(n.n){case 0:if(!a.get()){n.n=2;break}return n.n=1,a.get();case 1:n.n=0;break;case 2:void 0!==(i=o.deref())&&(u=i.__values.indexOf(e))>-1&&u<i.__lastRenderedIndex&&(i.__lastRenderedIndex=u,i.setValue(r));case 3:return n.a(2)}},n)}));return function(e){return n.apply(this,arguments)}}())):(r.__lastRenderedIndex=h,{v:e})},h=0;h<n.length&&0!==(f=l());h++)if(1!==f&&f)return f.v;return c.c0}},{key:"disconnected",value:function(){this.__weakThis.disconnect(),this.__pauser.pause()}},{key:"reconnected",value:function(){this.__weakThis.reconnect(this),this.__pauser.resume()}}])}(l.Kq),p=(0,l.u$)(y)}}]);
//# sourceMappingURL=4686.3cb83c7956a90c68.js.map