var e={622:(e,t,n)=>{n.d(t,{Ob:()=>B,Qv:()=>V,XX:()=>I,fF:()=>o,h:()=>b,q6:()=>z,uA:()=>k,zO:()=>s});var r,o,i,s,u,_,c,l,a,f,p,h,d={},v=[],y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,g=Array.isArray;function m(e,t){for(var n in t)e[n]=t[n];return e}function w(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function b(e,t,n){var o,i,s,u={};for(s in t)"key"==s?o=t[s]:"ref"==s?i=t[s]:u[s]=t[s];if(arguments.length>2&&(u.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(s in e.defaultProps)void 0===u[s]&&(u[s]=e.defaultProps[s]);return x(e,u,o,i,null)}function x(e,t,n,r,s){var u={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==s?++i:s,__i:-1,__u:0};return null==s&&null!=o.vnode&&o.vnode(u),u}function S(e){return e.children}function k(e,t){this.props=e,this.context=t}function E(e,t){if(null==t)return e.__?E(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?E(e):null}function P(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return P(e)}}function C(e){(!e.__d&&(e.__d=!0)&&u.push(e)&&!O.__r++||_!==o.debounceRendering)&&((_=o.debounceRendering)||c)(O)}function O(){var e,t,n,r,i,s,_,c;for(u.sort(l);e=u.shift();)e.__d&&(t=u.length,r=void 0,s=(i=(n=e).__v).__e,_=[],c=[],n.__P&&((r=m({},i)).__v=i.__v+1,o.vnode&&o.vnode(r),W(n.__P,r,i,n.__n,n.__P.namespaceURI,32&i.__u?[s]:null,_,null==s?E(i):s,!!(32&i.__u),c),r.__v=i.__v,r.__.__k[r.__i]=r,F(_,r,c),r.__e!=s&&P(r)),u.length>t&&u.sort(l));O.__r=0}function T(e,t,n,r,o,i,s,u,_,c,l){var a,f,p,h,y,g=r&&r.__k||v,m=t.length;for(n.__d=_,$(n,t,g),_=n.__d,a=0;a<m;a++)null!=(p=n.__k[a])&&(f=-1===p.__i?d:g[p.__i]||d,p.__i=a,W(e,p,f,o,i,s,u,_,c,l),h=p.__e,p.ref&&f.ref!=p.ref&&(f.ref&&L(f.ref,null,p),l.push(p.ref,p.__c||h,p)),null==y&&null!=h&&(y=h),65536&p.__u||f.__k===p.__k?_=M(p,_,e):"function"==typeof p.type&&void 0!==p.__d?_=p.__d:h&&(_=h.nextSibling),p.__d=void 0,p.__u&=-196609);n.__d=_,n.__e=y}function $(e,t,n){var r,o,i,s,u,_=t.length,c=n.length,l=c,a=0;for(e.__k=[],r=0;r<_;r++)null!=(o=t[r])&&"boolean"!=typeof o&&"function"!=typeof o?(s=r+a,(o=e.__k[r]="string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?x(null,o,null,null,null):g(o)?x(S,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?x(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=e,o.__b=e.__b+1,i=null,-1!==(u=o.__i=N(o,n,s,l))&&(l--,(i=n[u])&&(i.__u|=131072)),null==i||null===i.__v?(-1==u&&a--,"function"!=typeof o.type&&(o.__u|=65536)):u!==s&&(u==s-1?a--:u==s+1?a++:(u>s?a--:a++,o.__u|=65536))):o=e.__k[r]=null;if(l)for(r=0;r<c;r++)null!=(i=n[r])&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=E(i)),D(i,i))}function M(e,t,n){var r,o;if("function"==typeof e.type){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=M(r[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=E(e)),n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function N(e,t,n,r){var o=e.key,i=e.type,s=n-1,u=n+1,_=t[n];if(null===_||_&&o==_.key&&i===_.type&&!(131072&_.__u))return n;if(r>(null==_||131072&_.__u?0:1))for(;s>=0||u<t.length;){if(s>=0){if((_=t[s])&&!(131072&_.__u)&&o==_.key&&i===_.type)return s;s--}if(u<t.length){if((_=t[u])&&!(131072&_.__u)&&o==_.key&&i===_.type)return u;u++}}return-1}function j(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||y.test(t)?n:n+"px"}function H(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||j(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||j(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||"onFocusOut"===t||"onFocusIn"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=a,e.addEventListener(t,i?p:f,i)):e.removeEventListener(t,i?p:f,i);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function U(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=a++;else if(t.t<n.u)return;return n(o.event?o.event(t):t)}}}function W(e,t,n,r,i,s,u,_,c,l){var a,f,p,h,d,v,y,w,b,x,E,P,C,O,$,M,N=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(c=!!(32&n.__u),s=[_=t.__e=n.__e]),(a=o.__b)&&a(t);e:if("function"==typeof N)try{if(w=t.props,b="prototype"in N&&N.prototype.render,x=(a=N.contextType)&&r[a.__c],E=a?x?x.props.value:a.__:r,n.__c?y=(f=t.__c=n.__c).__=f.__E:(b?t.__c=f=new N(w,E):(t.__c=f=new k(w,E),f.constructor=N,f.render=R),x&&x.sub(f),f.props=w,f.state||(f.state={}),f.context=E,f.__n=r,p=f.__d=!0,f.__h=[],f._sb=[]),b&&null==f.__s&&(f.__s=f.state),b&&null!=N.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=m({},f.__s)),m(f.__s,N.getDerivedStateFromProps(w,f.__s))),h=f.props,d=f.state,f.__v=t,p)b&&null==N.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),b&&null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(b&&null==N.getDerivedStateFromProps&&w!==h&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(w,E),!f.__e&&(null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(w,f.__s,E)||t.__v===n.__v)){for(t.__v!==n.__v&&(f.props=w,f.state=f.__s,f.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some((function(e){e&&(e.__=t)})),P=0;P<f._sb.length;P++)f.__h.push(f._sb[P]);f._sb=[],f.__h.length&&u.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(w,f.__s,E),b&&null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(h,d,v)}))}if(f.context=E,f.props=w,f.__P=e,f.__e=!1,C=o.__r,O=0,b){for(f.state=f.__s,f.__d=!1,C&&C(t),a=f.render(f.props,f.state,f.context),$=0;$<f._sb.length;$++)f.__h.push(f._sb[$]);f._sb=[]}else do{f.__d=!1,C&&C(t),a=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++O<25);f.state=f.__s,null!=f.getChildContext&&(r=m(m({},r),f.getChildContext())),b&&!p&&null!=f.getSnapshotBeforeUpdate&&(v=f.getSnapshotBeforeUpdate(h,d)),T(e,g(M=null!=a&&a.type===S&&null==a.key?a.props.children:a)?M:[M],t,n,r,i,s,u,_,c,l),f.base=t.__e,t.__u&=-161,f.__h.length&&u.push(f),y&&(f.__E=f.__=null)}catch(e){if(t.__v=null,c||null!=s){for(t.__u|=c?160:32;_&&8===_.nodeType&&_.nextSibling;)_=_.nextSibling;s[s.indexOf(_)]=null,t.__e=_}else t.__e=n.__e,t.__k=n.__k;o.__e(e,t,n)}else null==s&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=A(n.__e,t,n,r,i,s,u,c,l);(a=o.diffed)&&a(t)}function F(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)L(n[r],n[++r],n[++r]);o.__c&&o.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){o.__e(e,t.__v)}}))}function A(e,t,n,i,s,u,_,c,l){var a,f,p,h,v,y,m,b=n.props,x=t.props,S=t.type;if("svg"===S?s="http://www.w3.org/2000/svg":"math"===S?s="http://www.w3.org/1998/Math/MathML":s||(s="http://www.w3.org/1999/xhtml"),null!=u)for(a=0;a<u.length;a++)if((v=u[a])&&"setAttribute"in v==!!S&&(S?v.localName===S:3===v.nodeType)){e=v,u[a]=null;break}if(null==e){if(null===S)return document.createTextNode(x);e=document.createElementNS(s,S,x.is&&x),c&&(o.__m&&o.__m(t,u),c=!1),u=null}if(null===S)b===x||c&&e.data===x||(e.data=x);else{if(u=u&&r.call(e.childNodes),b=n.props||d,!c&&null!=u)for(b={},a=0;a<e.attributes.length;a++)b[(v=e.attributes[a]).name]=v.value;for(a in b)if(v=b[a],"children"==a);else if("dangerouslySetInnerHTML"==a)p=v;else if(!(a in x)){if("value"==a&&"defaultValue"in x||"checked"==a&&"defaultChecked"in x)continue;H(e,a,null,v,s)}for(a in x)v=x[a],"children"==a?h=v:"dangerouslySetInnerHTML"==a?f=v:"value"==a?y=v:"checked"==a?m=v:c&&"function"!=typeof v||b[a]===v||H(e,a,v,b[a],s);if(f)c||p&&(f.__html===p.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(p&&(e.innerHTML=""),T(e,g(h)?h:[h],t,n,i,"foreignObject"===S?"http://www.w3.org/1999/xhtml":s,u,_,u?u[0]:n.__k&&E(n,0),c,l),null!=u)for(a=u.length;a--;)w(u[a]);c||(a="value","progress"===S&&null==y?e.removeAttribute("value"):void 0!==y&&(y!==e[a]||"progress"===S&&!y||"option"===S&&y!==b[a])&&H(e,a,y,b[a],s),a="checked",void 0!==m&&m!==e[a]&&H(e,a,m,b[a],s))}return e}function L(e,t,n){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(e){o.__e(e,n)}}function D(e,t,n){var r,i;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||L(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&D(r[i],t,n||"function"!=typeof e.type);n||w(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function R(e,t,n){return this.constructor(e,n)}function I(e,t,n){var i,s,u,_;o.__&&o.__(e,t),s=(i="function"==typeof n)?null:n&&n.__k||t.__k,u=[],_=[],W(t,e=(!i&&n||t).__k=b(S,null,[e]),s||d,d,t.namespaceURI,!i&&n?[n]:s?null:t.firstChild?r.call(t.childNodes):null,u,!i&&n?n:s?s.__e:t.firstChild,i,_),F(u,e,_)}function V(e,t){I(e,t,V)}function B(e,t,n){var o,i,s,u,_=m({},e.props);for(s in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)"key"==s?o=t[s]:"ref"==s?i=t[s]:_[s]=void 0===t[s]&&void 0!==u?u[s]:t[s];return arguments.length>2&&(_.children=arguments.length>3?r.call(arguments,2):n),x(e.type,_,o||e.key,i||e.ref,null)}function z(e,t){var n={__c:t="__cC"+h++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,C(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r=v.slice,o={__e:function(e,t,n,r){for(var o,i,s;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),s=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),s=o.__d),s)return o.__E=o}catch(t){e=t}throw e}},i=0,s=function(e){return null!=e&&null==e.constructor},k.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=m({},this.state),"function"==typeof e&&(e=e(m({},n),this.props)),e&&m(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),C(this))},k.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),C(this))},k.prototype.render=S,u=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,l=function(e,t){return e.__v.__b-t.__v.__b},O.__r=0,a=0,f=U(!1),p=U(!0),h=0}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var r={};n.d(r,{zj:()=>ct,SD:()=>ve,V6:()=>ye,$K:()=>ge,vT:()=>lt,jb:()=>Vt,yT:()=>we,M_:()=>ft,hb:()=>Pe,vJ:()=>ke,ip:()=>Se,Nf:()=>Ee,Kr:()=>Ce,li:()=>b,J0:()=>m,FH:()=>xe,v4:()=>be});var o,i,s,u,_=n(622),c=0,l=[],a=_.fF,f=a.__b,p=a.__r,h=a.diffed,d=a.__c,v=a.unmount,y=a.__;function g(e,t){a.__h&&a.__h(i,e,c||t),c=0;var n=i.__H||(i.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function m(e){return c=1,function(e,t){var n=g(o++,2);if(n.t=e,!n.__c&&(n.__=[M(void 0,t),function(e){var t=n.__N?n.__N[0]:n.__[0],r=n.t(t,e);t!==r&&(n.__N=[r,n.__[1]],n.__c.setState({}))}],n.__c=i,!i.u)){var r=function(e,t,r){if(!n.__c.__H)return!0;var o=n.__c.__H.__.filter((function(e){return!!e.__c}));if(o.every((function(e){return!e.__N})))return!s||s.call(this,e,t,r);var i=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}})),!(!i&&n.__c.props===e)&&(!s||s.call(this,e,t,r))};i.u=!0;var s=i.shouldComponentUpdate,u=i.componentWillUpdate;i.componentWillUpdate=function(e,t,n){if(this.__e){var o=s;s=void 0,r(e,t,n),s=o}u&&u.call(this,e,t,n)},i.shouldComponentUpdate=r}return n.__N||n.__}(M,e)}function w(e,t){var n=g(o++,3);!a.__s&&$(n.__H,t)&&(n.__=e,n.i=t,i.__H.__h.push(n))}function b(e){return c=5,x((function(){return{current:e}}),[])}function x(e,t){var n=g(o++,7);return $(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function S(e,t){return c=8,x((function(){return e}),t)}function k(e){var t=i.context[e.__c],n=g(o++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(i)),t.props.value):e.__}function E(){for(var e;e=l.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(O),e.__H.__h.forEach(T),e.__H.__h=[]}catch(t){e.__H.__h=[],a.__e(t,e.__v)}}a.__b=function(e){i=null,f&&f(e)},a.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),y&&y(e,t)},a.__r=function(e){p&&p(e),o=0;var t=(i=e.__c).__H;t&&(s===i?(t.__h=[],i.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(O),t.__h.forEach(T),t.__h=[],o=0)),s=i},a.diffed=function(e){h&&h(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==l.push(t)&&u===a.requestAnimationFrame||((u=a.requestAnimationFrame)||C)(E)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),s=i=null},a.__c=function(e,t){t.some((function(e){try{e.__h.forEach(O),e.__h=e.__h.filter((function(e){return!e.__||T(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],a.__e(n,e.__v)}})),d&&d(e,t)},a.unmount=function(e){v&&v(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{O(e)}catch(e){t=e}})),n.__H=void 0,t&&a.__e(t,n.__v))};var P="function"==typeof requestAnimationFrame;function C(e){var t,n=function(){clearTimeout(r),P&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);P&&(t=requestAnimationFrame(n))}function O(e){var t=i,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),i=t}function T(e){var t=i;e.__c=e.__(),i=t}function $(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function M(e,t){return"function"==typeof t?t(e):t}var N=Symbol.for("preact-signals");function j(){if(A>1)A--;else{for(var e,t=!1;void 0!==F;){var n=F;for(F=void 0,L++;void 0!==n;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&B(n))try{n.c()}catch(n){t||(e=n,t=!0)}n=r}}if(L=0,A--,t)throw e}}function H(e){if(A>0)return e();A++;try{return e()}finally{j()}}var U,W=void 0,F=void 0,A=0,L=0,D=0;function R(e){if(void 0!==W){var t=e.n;if(void 0===t||t.t!==W)return t={i:0,S:e,p:W.s,n:void 0,t:W,e:void 0,x:void 0,r:t},void 0!==W.s&&(W.s.n=t),W.s=t,e.n=t,32&W.f&&e.S(t),t;if(-1===t.i)return t.i=0,void 0!==t.n&&(t.n.p=t.p,void 0!==t.p&&(t.p.n=t.n),t.p=W.s,t.n=void 0,W.s.n=t,W.s=t),t}}function I(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}function V(e){return new I(e)}function B(e){for(var t=e.s;void 0!==t;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function z(e){for(var t=e.s;void 0!==t;t=t.n){var n=t.S.n;if(void 0!==n&&(t.r=n),t.S.n=t,t.i=-1,void 0===t.n){e.s=t;break}}}function q(e){for(var t=e.s,n=void 0;void 0!==t;){var r=t.p;-1===t.i?(t.S.U(t),void 0!==r&&(r.n=t.n),void 0!==t.n&&(t.n.p=r)):n=t,t.S.n=t.r,void 0!==t.r&&(t.r=void 0),t=r}e.s=n}function J(e){I.call(this,void 0),this.x=e,this.s=void 0,this.g=D-1,this.f=4}function K(e){return new J(e)}function G(e){var t=e.u;if(e.u=void 0,"function"==typeof t){A++;var n=W;W=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,X(e),t}finally{W=n,j()}}}function X(e){for(var t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,G(e)}function Q(e){if(W!==this)throw new Error("Out-of-order effect");q(this),W=e,this.f&=-2,8&this.f&&X(this),j()}function Y(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}function Z(e){var t=new Y(e);try{t.c()}catch(e){throw t.d(),e}return t.d.bind(t)}function ee(e,t){_.fF[e]=t.bind(null,_.fF[e]||function(){})}function te(e){U&&U(),U=e&&e.S()}function ne(e){var t=this,n=e.data,r=function(e){return x((function(){return V(e)}),[])}(n);r.value=n;var o=x((function(){for(var e=t.__v;e=e.__;)if(e.__c){e.__c.__$f|=4;break}return t.__$u.c=function(){var e;(0,_.zO)(o.peek())||3!==(null==(e=t.base)?void 0:e.nodeType)?(t.__$f|=1,t.setState({})):t.base.data=o.peek()},K((function(){var e=r.value.value;return 0===e?0:!0===e?"":e||""}))}),[]);return o.value}function re(e,t,n,r){var o=t in e&&void 0===e.ownerSVGElement,i=V(n);return{o:function(e,t){i.value=e,r=t},d:Z((function(){var n=i.value.value;r[t]!==n&&(r[t]=n,o?e[t]=n:n?e.setAttribute(t,n):e.removeAttribute(t))}))}}I.prototype.brand=N,I.prototype.h=function(){return!0},I.prototype.S=function(e){this.t!==e&&void 0===e.e&&(e.x=this.t,void 0!==this.t&&(this.t.e=e),this.t=e)},I.prototype.U=function(e){if(void 0!==this.t){var t=e.e,n=e.x;void 0!==t&&(t.x=n,e.e=void 0),void 0!==n&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n)}},I.prototype.subscribe=function(e){var t=this;return Z((function(){var n=t.value,r=W;W=void 0;try{e(n)}finally{W=r}}))},I.prototype.valueOf=function(){return this.value},I.prototype.toString=function(){return this.value+""},I.prototype.toJSON=function(){return this.value},I.prototype.peek=function(){var e=W;W=void 0;try{return this.value}finally{W=e}},Object.defineProperty(I.prototype,"value",{get:function(){var e=R(this);return void 0!==e&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(L>100)throw new Error("Cycle detected");this.v=e,this.i++,D++,A++;try{for(var t=this.t;void 0!==t;t=t.x)t.t.N()}finally{j()}}}}),(J.prototype=new I).h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f))return!0;if(this.f&=-5,this.g===D)return!0;if(this.g=D,this.f|=1,this.i>0&&!B(this))return this.f&=-2,!0;var e=W;try{z(this),W=this;var t=this.x();(16&this.f||this.v!==t||0===this.i)&&(this.v=t,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return W=e,q(this),this.f&=-2,!0},J.prototype.S=function(e){if(void 0===this.t){this.f|=36;for(var t=this.s;void 0!==t;t=t.n)t.S.S(t)}I.prototype.S.call(this,e)},J.prototype.U=function(e){if(void 0!==this.t&&(I.prototype.U.call(this,e),void 0===this.t)){this.f&=-33;for(var t=this.s;void 0!==t;t=t.n)t.S.U(t)}},J.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;void 0!==e;e=e.x)e.t.N()}},Object.defineProperty(J.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=R(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),Y.prototype.c=function(){var e=this.S();try{if(8&this.f)return;if(void 0===this.x)return;var t=this.x();"function"==typeof t&&(this.u=t)}finally{e()}},Y.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,G(this),z(this),A++;var e=W;return W=this,Q.bind(this,e)},Y.prototype.N=function(){2&this.f||(this.f|=2,this.o=F,F=this)},Y.prototype.d=function(){this.f|=8,1&this.f||X(this)},ne.displayName="_st",Object.defineProperties(I.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:ne},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),ee("__b",(function(e,t){if("string"==typeof t.type){var n,r=t.props;for(var o in r)if("children"!==o){var i=r[o];i instanceof I&&(n||(t.__np=n={}),n[o]=i,r[o]=i.peek())}}e(t)})),ee("__r",(function(e,t){te();var n,r=t.__c;r&&(r.__$f&=-2,void 0===(n=r.__$u)&&(r.__$u=n=function(){var e;return Z((function(){e=this})),e.c=function(){r.__$f|=1,r.setState({})},e}())),te(n),e(t)})),ee("__e",(function(e,t,n,r){te(),e(t,n,r)})),ee("diffed",(function(e,t){var n;if(te(),"string"==typeof t.type&&(n=t.__e)){var r=t.__np,o=t.props;if(r){var i=n.U;if(i)for(var s in i){var u=i[s];void 0===u||s in r||(u.d(),i[s]=void 0)}else n.U=i={};for(var _ in r){var c=i[_],l=r[_];void 0===c?(c=re(n,_,l,o),i[_]=c):c.o(l,o)}}}e(t)})),ee("unmount",(function(e,t){if("string"==typeof t.type){var n=t.__e;if(n){var r=n.U;if(r)for(var o in n.U=void 0,r){var i=r[o];i&&i.d()}}}else{var s=t.__c;if(s){var u=s.__$u;u&&(s.__$u=void 0,u.d())}}e(t)})),ee("__h",(function(e,t,n,r){(r<3||9===r)&&(t.__$f|=2),e(t,n,r)})),_.uA.prototype.shouldComponentUpdate=function(e,t){var n=this.__$u;if(!(n&&void 0!==n.s||4&this.__$f))return!0;if(3&this.__$f)return!0;for(var r in t)return!0;for(var o in e)if("__source"!==o&&e[o]!==this.props[o])return!0;for(var i in this.props)if(!(i in e))return!0;return!1};const oe=[],ie=()=>oe.slice(-1)[0],se=e=>{oe.push(e)},ue=()=>{oe.pop()},_e=[],ce=()=>_e.slice(-1)[0],le=e=>{_e.push(e)},ae=()=>{_e.pop()},fe=new WeakMap,pe=()=>{throw new Error("Please use `data-wp-bind` to modify the attributes of an element.")},he={get(e,t,n){const r=Reflect.get(e,t,n);return r&&"object"==typeof r?de(r):r},set:pe,deleteProperty:pe},de=e=>(fe.has(e)||fe.set(e,new Proxy(e,he)),fe.get(e)),ve=e=>ce().context[e||ie()],ye=()=>{const e=ce(),{ref:t,attributes:n}=e;return Object.freeze({ref:t.current,attributes:de(n)})},ge=e=>ce().serverContext[e||ie()],me=e=>new Promise((t=>{const n=()=>{clearTimeout(r),window.cancelAnimationFrame(o),setTimeout((()=>{e(),t()}))},r=setTimeout(n,100),o=window.requestAnimationFrame(n)})),we="function"==typeof window.scheduler?.yield?window.scheduler.yield.bind(window.scheduler):()=>new Promise((e=>{setTimeout(e,0)}));function be(e){const t=ce(),n=ie();return"GeneratorFunction"===e?.constructor?.name?async(...r)=>{const o=e(...r);let i,s;for(;;){se(n),le(t);try{s=o.next(i)}finally{ae(),ue()}try{i=await s.value}catch(e){se(n),le(t),o.throw(e)}finally{ae(),ue()}if(s.done)break}return i}:(...r)=>{se(n),le(t);try{return e(...r)}finally{ue(),ae()}}}function xe(e){!function(e){w((()=>{let t=null,n=!1;return t=function(e,t){let n=()=>{};const r=Z((function(){return n=this.c.bind(this),this.x=e,this.c=t,e()}));return{flush:n,dispose:r}}(e,(async()=>{t&&!n&&(n=!0,await me(t.flush),n=!1)})),t.dispose}),[])}(be(e))}function Se(e){w(be(e),[])}function ke(e,t){w(be(e),t)}function Ee(e,t){!function(e,t){var n=g(o++,4);!a.__s&&$(n.__H,t)&&(n.__=e,n.i=t,i.__h.push(n))}(be(e),t)}function Pe(e,t){return S(be(e),t)}function Ce(e,t){return x(be(e),t)}new Set;const Oe=e=>Boolean(e&&"object"==typeof e&&e.constructor===Object),Te=new WeakMap,$e=new WeakMap,Me=new WeakMap,Ne=new Set([Object,Array]),je=(e,t,n)=>{if(!We(t))throw Error("This object cannot be proxified.");if(!Te.has(t)){const r=new Proxy(t,n);Te.set(t,r),$e.set(r,t),Me.set(r,e)}return Te.get(t)},He=e=>Te.get(e),Ue=e=>Me.get(e),We=e=>"object"==typeof e&&null!==e&&!Me.has(e)&&Ne.has(e.constructor),Fe={};class Ae{constructor(e){this.owner=e,this.computedsByScope=new WeakMap}setValue(e){this.update({value:e})}setGetter(e){this.update({get:e})}getComputed(){const e=ce()||Fe;if(this.valueSignal||this.getterSignal||this.update({}),!this.computedsByScope.has(e)){const t=()=>{const e=this.getterSignal?.value;return e?e.call(this.owner):this.valueSignal?.value};se(Ue(this.owner)),this.computedsByScope.set(e,K(be(t))),ue()}return this.computedsByScope.get(e)}update({get:e,value:t}){this.valueSignal?t===this.valueSignal.peek()&&e===this.getterSignal.peek()||H((()=>{this.valueSignal.value=t,this.getterSignal.value=e})):(this.valueSignal=V(t),this.getterSignal=V(e))}}const Le=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter((e=>"symbol"==typeof e))),De=new WeakMap,Re=(e,t)=>De.has(e)&&De.get(e).has(t),Ie=new WeakSet,Ve=(e,t,n)=>{De.has(e)||De.set(e,new Map),t="number"==typeof t?`${t}`:t;const r=De.get(e);if(!r.has(t)){const o=Ue(e),i=new Ae(e);if(r.set(t,i),n){const{get:t,value:r}=n;if(t)i.setGetter(t);else{const t=Ie.has(e);i.setValue(We(r)?qe(o,r,{readOnly:t}):r)}}}return r.get(t)},Be=new WeakMap;const ze={get(e,t,n){if(!e.hasOwnProperty(t)&&t in e||"symbol"==typeof t&&Le.has(t))return Reflect.get(e,t,n);const r=Object.getOwnPropertyDescriptor(e,t),o=Ve(n,t,r).getComputed().value;if("function"==typeof o){const e=Ue(n);return(...t)=>{se(e);try{return o.call(n,...t)}finally{ue()}}}return o},set(e,t,n,r){if(Ie.has(r))return!1;se(Ue(r));try{return Reflect.set(e,t,n,r)}finally{ue()}},defineProperty(e,t,n){if(Ie.has(He(e)))return!1;const r=!(t in e),o=Reflect.defineProperty(e,t,n);if(o){const o=He(e),i=Ve(o,t),{get:s,value:u}=n;if(s)i.setGetter(s);else{const e=Ue(o);i.setValue(We(u)?qe(e,u):u)}r&&Be.has(e)&&Be.get(e).value++,Array.isArray(e)&&De.get(o)?.has("length")&&Ve(o,"length").setValue(e.length)}return o},deleteProperty(e,t){if(Ie.has(He(e)))return!1;const n=Reflect.deleteProperty(e,t);return n&&(Ve(He(e),t).setValue(void 0),Be.has(e)&&Be.get(e).value++),n},ownKeys:e=>(Be.has(e)||Be.set(e,V(0)),Be._=Be.get(e).value,Reflect.ownKeys(e))},qe=(e,t,n)=>{const r=je(e,t,ze);return n?.readOnly&&Ie.add(r),r},Je=(e,t,n=!0)=>{if(!Oe(e)||!Oe(t))return;let r=!1;for(const o in t){const i=!(o in e);r=r||i;const s=Object.getOwnPropertyDescriptor(t,o),u=He(e),_=!!u&&Re(u,o)&&Ve(u,o);if("function"==typeof s.get||"function"==typeof s.set)(n||i)&&(Object.defineProperty(e,o,{...s,configurable:!0,enumerable:!0}),s.get&&_&&_.setGetter(s.get));else if(Oe(t[o])){if((i||n&&!Oe(e[o]))&&(e[o]={},_)){const t=Ue(u);_.setValue(qe(t,e[o]))}Oe(e[o])&&Je(e[o],t[o],n)}else if((n||i)&&(Object.defineProperty(e,o,s),_)){const{value:e}=s,t=Ue(u);_.setValue(We(e)?qe(t,e):e)}}r&&Be.has(e)&&Be.get(e).value++},Ke=(e,t,n=!0)=>H((()=>{return Je((r=e,$e.get(r)||e),t,n);var r})),Ge=new WeakSet,Xe={get:(e,t,n)=>{const r=Reflect.get(e,t),o=Ue(n);if(void 0===r&&Ge.has(n)){const n={};return Reflect.set(e,t,n),Qe(o,n,!1)}if("function"==typeof r){se(o);const e=be(r);return ue(),e}return Oe(r)&&We(r)?Qe(o,r,!1):r}},Qe=(e,t,n=!0)=>{const r=je(e,t,Xe);return r&&n&&Ge.add(r),r},Ye=new WeakMap,Ze=new WeakMap,et=new WeakSet,tt=Reflect.getOwnPropertyDescriptor,nt={get:(e,t)=>{const n=Ze.get(e),r=e[t];return t in e?r:n[t]},set:(e,t,n)=>{const r=Ze.get(e);return(t in e||!(t in r)?e:r)[t]=n,!0},ownKeys:e=>[...new Set([...Object.keys(Ze.get(e)),...Object.keys(e)])],getOwnPropertyDescriptor:(e,t)=>tt(e,t)||tt(Ze.get(e),t)},rt=(e,t={})=>{if(et.has(e))throw Error("This object cannot be proxified.");if(Ze.set(e,t),!Ye.has(e)){const t=new Proxy(e,nt);Ye.set(e,t),et.add(t)}return Ye.get(e)},ot=new Map,it=new Map,st=new Map,ut=new Map,_t=new Map,ct=e=>ut.get(e||ie())||{},lt=e=>{const t=e||ie();return _t.has(t)||_t.set(t,qe(t,{},{readOnly:!0})),_t.get(t)},at="I acknowledge that using a private store means my plugin will inevitably break on the next store release.";function ft(e,{state:t={},...n}={},{lock:r=!1}={}){if(ot.has(e)){if(r===at||st.has(e)){const t=st.get(e);if(r!==at&&(!0===r||r!==t))throw t?Error("Cannot unlock a private store with an invalid lock code"):Error("Cannot lock a public store")}else st.set(e,r);const o=it.get(e);Ke(o,n),Ke(o.state,t)}else{r!==at&&st.set(e,r);const o={state:qe(e,Oe(t)?t:{}),...n},i=Qe(e,o);it.set(e,o),ot.set(e,i)}return ot.get(e)}const pt=(e=document)=>{var t;const n=null!==(t=e.getElementById("wp-script-module-data-@wordpress/interactivity"))&&void 0!==t?t:e.getElementById("wp-interactivity-data");if(n?.textContent)try{return JSON.parse(n.textContent)}catch{}return{}},ht=e=>{Oe(e?.state)&&Object.entries(e.state).forEach((([e,t])=>{const n=ft(e,{},{lock:at});Ke(n.state,t,!1),Ke(lt(e),t)})),Oe(e?.config)&&Object.entries(e.config).forEach((([e,t])=>{ut.set(e,t)}))},dt=pt();function vt(e){return null!==e.suffix}function yt(e){return null===e.suffix}ht(dt);const gt=(0,_.q6)({client:{},server:{}}),mt={},wt={},bt=(e,t,{priority:n=10}={})=>{mt[e]=t,wt[e]=n},xt=({scope:e})=>(t,...n)=>{let{value:r,namespace:o}=t;if("string"!=typeof r)throw new Error("The `value` prop should be a string path");const i="!"===r[0]&&!!(r=r.slice(1));le(e);const s=((e,t)=>{if(!t)return;let n=ot.get(t);void 0===n&&(n=ft(t,{},{lock:at}));const r={...n,context:ce().context[t]};try{return e.split(".").reduce(((e,t)=>e[t]),r)}catch(e){}})(r,o),u="function"==typeof s?s(...n):s;return ae(),i?!u:u},St=({directives:e,priorityLevels:[t,...n],element:r,originalProps:o,previousScope:i})=>{const s=b({}).current;s.evaluate=S(xt({scope:s}),[]);const{client:u,server:c}=k(gt);s.context=u,s.serverContext=c,s.ref=i?.ref||b(null),r=(0,_.Ob)(r,{ref:s.ref}),s.attributes=r.props;const l=n.length>0?(0,_.h)(St,{directives:e,priorityLevels:n,element:r,originalProps:o,previousScope:s}):r,a={...o,children:l},f={directives:e,props:a,element:r,context:gt,evaluate:s.evaluate};le(s);for(const e of t){const t=mt[e]?.(f);void 0!==t&&(a.children=t)}return ae(),a.children},kt=_.fF.vnode;function Et(e){return Oe(e)?Object.fromEntries(Object.entries(e).map((([e,t])=>[e,Et(t)]))):Array.isArray(e)?e.map((e=>Et(e))):e}_.fF.vnode=e=>{if(e.props.__directives){const t=e.props,n=t.__directives;n.key&&(e.key=n.key.find(yt).value),delete t.__directives;const r=(e=>{const t=Object.keys(e).reduce(((e,t)=>{if(mt[t]){const n=wt[t];(e[n]=e[n]||[]).push(t)}return e}),{});return Object.entries(t).sort((([e],[t])=>parseInt(e)-parseInt(t))).map((([,e])=>e))})(n);r.length>0&&(e.props={directives:n,priorityLevels:r,originalProps:t,type:e.type,element:(0,_.h)(e.type,t),top:!0},e.type=St)}kt&&kt(e)};const Pt=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Ct=/\/\*[^]*?\*\/|  +/g,Ot=/\n+/g,Tt=e=>({directives:t,evaluate:n})=>{t[`on-${e}`].filter(vt).forEach((t=>{const r=t.suffix.split("--",1)[0];Se((()=>{const o=e=>n(t,e),i="window"===e?window:document;return i.addEventListener(r,o),()=>i.removeEventListener(r,o)}))}))},$t=e=>({directives:t,evaluate:n})=>{t[`on-async-${e}`].filter(vt).forEach((t=>{const r=t.suffix.split("--",1)[0];Se((()=>{const o=async e=>{await we(),n(t,e)},i="window"===e?window:document;return i.addEventListener(r,o,{passive:!0}),()=>i.removeEventListener(r,o)}))}))},Mt="wp",Nt=`data-${Mt}-ignore`,jt=`data-${Mt}-interactive`,Ht=`data-${Mt}-`,Ut=[],Wt=new RegExp(`^data-${Mt}-([a-z0-9]+(?:-[a-z0-9]+)*)(?:--([a-z0-9_-]+))?$`,"i"),Ft=/^([\w_\/-]+)::(.+)$/,At=new WeakSet;function Lt(e){const t=document.createTreeWalker(e,205);return function e(n){const{nodeType:r}=n;if(3===r)return[n.data];if(4===r){var o;const e=t.nextSibling();return n.replaceWith(new window.Text(null!==(o=n.nodeValue)&&void 0!==o?o:"")),[n.nodeValue,e]}if(8===r||7===r){const e=t.nextSibling();return n.remove(),[null,e]}const i=n,{attributes:s}=i,u=i.localName,c={},l=[],a=[];let f=!1,p=!1;for(let e=0;e<s.length;e++){const t=s[e].name,n=s[e].value;if(t[Ht.length]&&t.slice(0,Ht.length)===Ht)if(t===Nt)f=!0;else{var h,d;const e=Ft.exec(n),r=null!==(h=e?.[1])&&void 0!==h?h:null;let o=null!==(d=e?.[2])&&void 0!==d?d:n;try{const e=JSON.parse(o);v=e,o=Boolean(v&&"object"==typeof v&&v.constructor===Object)?e:o}catch{}if(t===jt){p=!0;const e="string"==typeof o?o:"string"==typeof o?.namespace?o.namespace:null;Ut.push(e)}else a.push([t,r,o])}else if("ref"===t)continue;c[t]=n}var v;if(f&&!p)return[(0,_.h)(u,{...c,innerHTML:i.innerHTML,__directives:{ignore:!0}})];if(p&&At.add(i),a.length&&(c.__directives=a.reduce(((e,[t,n,r])=>{const o=Wt.exec(t);if(null===o)return e;const i=o[1]||"",s=o[2]||null;var u;return e[i]=e[i]||[],e[i].push({namespace:null!=n?n:null!==(u=Ut[Ut.length-1])&&void 0!==u?u:null,value:r,suffix:s}),e}),{})),"template"===u)c.content=[...i.content.childNodes].map((e=>Lt(e)));else{let n=t.firstChild();if(n){for(;n;){const[r,o]=e(n);r&&l.push(r),n=o||t.nextSibling()}t.parentNode()}}return p&&Ut.pop(),[(0,_.h)(u,c,l)]}(t.currentNode)}const Dt=new WeakMap,Rt=e=>{if(!e.parentElement)throw Error("The passed region should be an element with a parent.");return Dt.has(e)||Dt.set(e,((e,t)=>{const n=(t=[].concat(t))[t.length-1].nextSibling;function r(t,r){e.insertBefore(t,r||n)}return e.__k={nodeType:1,parentNode:e,firstChild:t[0],childNodes:t,insertBefore:r,appendChild:r,removeChild(t){e.removeChild(t)}}})(e.parentElement,e)),Dt.get(e)},It=new WeakMap,Vt=e=>{if("I acknowledge that using private APIs means my theme or plugin will inevitably break in the next version of WordPress."===e)return{directivePrefix:Mt,getRegionRootFragment:Rt,initialVdom:It,toVdom:Lt,directive:bt,getNamespace:ie,h:_.h,cloneElement:_.Ob,render:_.XX,proxifyState:qe,parseServerData:pt,populateServerData:ht,batch:H};throw new Error("Forbidden access.")};bt("context",(({directives:{context:e},props:{children:t},context:n})=>{const{Provider:r}=n,o=e.find(yt),{client:i,server:s}=k(n),u=o.namespace,c=b(qe(u,{})),l=b(qe(u,{},{readOnly:!0})),a=x((()=>{const e={client:{...i},server:{...s}};if(o){const{namespace:t,value:n}=o;Oe(n),Ke(c.current,Et(n),!1),Ke(l.current,Et(n)),e.client[t]=rt(c.current,i[t]),e.server[t]=rt(l.current,s[t])}return e}),[o,i,s]);return(0,_.h)(r,{value:a},t)}),{priority:5}),bt("watch",(({directives:{watch:e},evaluate:t})=>{e.forEach((e=>{xe((()=>t(e)))}))})),bt("init",(({directives:{init:e},evaluate:t})=>{e.forEach((e=>{Se((()=>t(e)))}))})),bt("on",(({directives:{on:e},element:t,evaluate:n})=>{const r=new Map;e.filter(vt).forEach((e=>{const t=e.suffix.split("--")[0];r.has(t)||r.set(t,new Set),r.get(t).add(e)})),r.forEach(((e,r)=>{const o=t.props[`on${r}`];t.props[`on${r}`]=t=>{e.forEach((e=>{o&&o(t),n(e,t)}))}}))})),bt("on-async",(({directives:{"on-async":e},element:t,evaluate:n})=>{const r=new Map;e.filter(vt).forEach((e=>{const t=e.suffix.split("--")[0];r.has(t)||r.set(t,new Set),r.get(t).add(e)})),r.forEach(((e,r)=>{const o=t.props[`on${r}`];t.props[`on${r}`]=t=>{o&&o(t),e.forEach((async e=>{await we(),n(e,t)}))}}))})),bt("on-window",Tt("window")),bt("on-document",Tt("document")),bt("on-async-window",$t("window")),bt("on-async-document",$t("document")),bt("class",(({directives:{class:e},element:t,evaluate:n})=>{e.filter(vt).forEach((e=>{const r=e.suffix,o=n(e),i=t.props.class||"",s=new RegExp(`(^|\\s)${r}(\\s|$)`,"g");o?s.test(i)||(t.props.class=i?`${i} ${r}`:r):t.props.class=i.replace(s," ").trim(),Se((()=>{o?t.ref.current.classList.add(r):t.ref.current.classList.remove(r)}))}))})),bt("style",(({directives:{style:e},element:t,evaluate:n})=>{e.filter(vt).forEach((e=>{const r=e.suffix,o=n(e);t.props.style=t.props.style||{},"string"==typeof t.props.style&&(t.props.style=(e=>{const t=[{}];let n,r;for(;n=Pt.exec(e.replace(Ct,""));)n[4]?t.shift():n[3]?(r=n[3].replace(Ot," ").trim(),t.unshift(t[0][r]=t[0][r]||{})):t[0][n[1]]=n[2].replace(Ot," ").trim();return t[0]})(t.props.style)),o?t.props.style[r]=o:delete t.props.style[r],Se((()=>{o?t.ref.current.style[r]=o:t.ref.current.style.removeProperty(r)}))}))})),bt("bind",(({directives:{bind:e},element:t,evaluate:n})=>{e.filter(vt).forEach((e=>{const r=e.suffix,o=n(e);t.props[r]=o,Se((()=>{const e=t.ref.current;if("style"!==r){if("width"!==r&&"height"!==r&&"href"!==r&&"list"!==r&&"form"!==r&&"tabIndex"!==r&&"download"!==r&&"rowSpan"!==r&&"colSpan"!==r&&"role"!==r&&r in e)try{return void(e[r]=null==o?"":o)}catch(e){}null==o||!1===o&&"-"!==r[4]?e.removeAttribute(r):e.setAttribute(r,o)}else"string"==typeof o&&(e.style.cssText=o)}))}))})),bt("ignore",(({element:{type:e,props:{innerHTML:t,...n}}})=>{const r=x((()=>t),[]);return(0,_.h)(e,{dangerouslySetInnerHTML:{__html:r},...n})})),bt("text",(({directives:{text:e},element:t,evaluate:n})=>{const r=e.find(yt);if(r)try{const e=n(r);t.props.children="object"==typeof e?null:e.toString()}catch(e){t.props.children=null}else t.props.children=null})),bt("run",(({directives:{run:e},evaluate:t})=>{e.forEach((e=>t(e)))})),bt("each",(({directives:{each:e,"each-key":t},context:n,element:r,evaluate:o})=>{if("template"!==r.type)return;const{Provider:i}=n,s=k(n),[u]=e,{namespace:c}=u,l=o(u),a=vt(u)?u.suffix.replace(/^-+|-+$/g,"").toLowerCase().replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()})):"item";return l.map((e=>{const n=rt(qe(c,{}),s.client[c]),o={client:{...s.client,[c]:n},server:{...s.server}};o.client[c][a]=e;const u={...ce(),context:o.client,serverContext:o.server},l=t?xt({scope:u})(t[0]):e;return(0,_.h)(i,{value:o,key:l},r.props.content)}))}),{priority:20}),bt("each-child",(()=>null),{priority:1}),(async()=>{const e=document.querySelectorAll(`[data-${Mt}-interactive]`);for(const t of e)if(!At.has(t)){await we();const e=Rt(t),n=Lt(t);It.set(t,n),await we(),(0,_.Qv)(n,e)}})();var Bt=r.zj,zt=r.SD,qt=r.V6,Jt=r.$K,Kt=r.vT,Gt=r.jb,Xt=r.yT,Qt=r.M_,Yt=r.hb,Zt=r.vJ,en=r.ip,tn=r.Nf,nn=r.Kr,rn=r.li,on=r.J0,sn=r.FH,un=r.v4;export{Bt as getConfig,zt as getContext,qt as getElement,Jt as getServerContext,Kt as getServerState,Gt as privateApis,Xt as splitTask,Qt as store,Yt as useCallback,Zt as useEffect,en as useInit,tn as useLayoutEffect,nn as useMemo,rn as useRef,on as useState,sn as useWatch,un as withScope};
//# sourceMappingURL=index.min.js.map