- md5
- e8db862c3620a426bb982e14482c5e66
- sha1
- d0588299198b3bc8ef85c97879fc508396f6b9fd
- sha256
- ffeb0a9f349abf4db2351247078ab4cb9309dcf75f8ffa9df11d95f9f1de224c
var Te,m,ar,ht,ee,or,cr,ur,ft,qe,Se,fr,vt,lt,pt,lr,We={},Fe=[],mn=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Ve=Array.isArray;function A(e,t){for(var r in t)e[r]=t[r];return e}function mt(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function j(e,t,r){var n,i,o,s={};for(o in t)o=="key"?n=t[o]:o=="ref"?i=t[o]:s[o]=t[o];if(arguments.length>2&&(s.children=arguments.length>3?Te.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)s[o]===void 0&&(s[o]=e.defaultProps[o]);return xe(e,s,n,i,null)}function xe(e,t,r,n,i){var o={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:i??++ar,__i:-1,__u:0};return i==null&&m.vnode!=null&&m.vnode(o),o}function Ke(e){return e.children}function pe(e,t){this.props=e,this.context=t}function _e(e,t){if(t==null)return e.__?_e(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?_e(e):null}function yn(e){if(e.__P&&e.__d){var t=e.__v,r=t.__e,n=[],i=[],o=A({},t);o.__v=t.__v+1,m.vnode&&m.vnode(o),yt(e.__P,o,t,e.__n,e.__P.namespaceURI,32&t.__u?[r]:null,n,r??_e(t),!!(32&t.__u),i),o.__v=t.__v,o.__.__k[o.__i]=o,hr(n,o,i),t.__e=t.__=null,o.__e!=r&&pr(o)}}function pr(e){if((e=e.__)!=null&&e.__c!=null)return e.__e=e.__c.base=null,e.__k.some(function(t){if(t!=null&&t.__e!=null)return e.__e=e.__c.base=t.__e}),pr(e)}function _t(e){(!e.__d&&(e.__d=!0)&&ee.push(e)&&!Ae.__r++||or!=m.debounceRendering)&&((or=m.debounceRendering)||cr)(Ae)}function Ae(){try{for(var e,t=1;ee.length;)ee.length>t&&ee.sort(ur),e=ee.shift(),t=ee.length,yn(e)}finally{ee.length=Ae.__r=0}}function _r(e,t,r,n,i,o,s,c,f,u,l){var a,p,_,g,x,h,d,v=n&&n.__k||Fe,w=t.length;for(f=gn(r,t,v,f,w),a=0;a<w;a++)(_=r.__k[a])!=null&&(p=_.__i!=-1&&v[_.__i]||We,_.__i=a,h=yt(e,_,p,i,o,s,c,f,u,l),g=_.__e,_.ref&&p.ref!=_.ref&&(p.ref&>(p.ref,null,_),l.push(_.ref,_.__c||g,_)),x==null&&g!=null&&(x=g),(d=!!(4&_.__u))||p.__k===_.__k?(f=dr(_,f,e,d),d&&p.__e&&(p.__e=null)):typeof _.type=="function"&&h!==void 0?f=h:g&&(f=g.nextSibling),_.__u&=-7);return r.__e=x,f}function gn(e,t,r,n,i){var o,s,c,f,u,l=r.length,a=l,p=0;for(e.__k=new Array(i),o=0;o<i;o++)(s=t[o])!=null&&typeof s!="boolean"&&typeof s!="function"?(typeof s=="string"||typeof s=="number"||typeof s=="bigint"||s.constructor==String?s=e.__k[o]=xe(null,s,null,null,null):Ve(s)?s=e.__k[o]=xe(Ke,{children:s},null,null,null):s.constructor===void 0&&s.__b>0?s=e.__k[o]=xe(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):e.__k[o]=s,f=o+p,s.__=e,s.__b=e.__b+1,c=null,(u=s.__i=wn(s,r,f,a))!=-1&&(a--,(c=r[u])&&(c.__u|=2)),c==null||c.__v==null?(u==-1&&(i>l?p--:i<l&&p++),typeof s.type!="function"&&(s.__u|=4)):u!=f&&(u==f-1?p--:u==f+1?p++:(u>f?p--:p++,s.__u|=4))):e.__k[o]=null;if(a)for(o=0;o<l;o++)(c=r[o])!=null&&(2&c.__u)==0&&(c.__e==n&&(n=_e(c)),mr(c,c));return n}function dr(e,t,r,n){var i,o;if(typeof e.type=="function"){for(i=e.__k,o=0;i&&o<i.length;o++)i[o]&&(i[o].__=e,t=dr(i[o],t,r,n));return t}e.__e!=t&&(n&&(t&&e.type&&!t.parentNode&&(t=_e(e)),r.insertBefore(e.__e,t||null)),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function wn(e,t,r,n){var i,o,s,c=e.key,f=e.type,u=t[r],l=u!=null&&(2&u.__u)==0;if(u===null&&c==null||l&&c==u.key&&f==u.type)return r;if(n>(l?1:0)){for(i=r-1,o=r+1;i>=0||o<t.length;)if((u=t[s=i>=0?i--:o++])!=null&&(2&u.__u)==0&&c==u.key&&f==u.type)return s}return-1}function ir(e,t,r){t[0]=="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||mn.test(t)?r:r+"px"}function Le(e,t,r,n,i){var o,s;e:if(t=="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||ir(e.style,t,"");if(r)for(t in r)n&&r[t]==n[t]||ir(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")o=t!=(t=t.replace(fr,"$1")),s=t.toLowerCase(),t=s in e||t=="onFocusOut"||t=="onFocusIn"?s.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?n?r[Se]=n[Se]:(r[Se]=vt,e.addEventListener(t,o?pt:lt,o)):e.removeEventListener(t,o?pt:lt,o);else{if(i=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function sr(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t[qe]==null)t[qe]=vt++;else if(t[qe]<r[Se])return;return r(m.event?m.event(t):t)}}}function yt(e,t,r,n,i,o,s,c,f,u){var l,a,p,_,g,x,h,d,v,w,P,D,X,$,F,O=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(f=!!(32&r.__u),o=[c=t.__e=r.__e]),(l=m.__b)&&l(t);e:if(typeof O=="function")try{if(d=t.props,v=O.prototype&&O.prototype.render,w=(l=O.contextType)&&n[l.__c],P=l?w?w.props.value:l.__:n,r.__c?h=(a=t.__c=r.__c).__=a.__E:(v?t.__c=a=new O(d,P):(t.__c=a=new pe(d,P),a.constructor=O,a.render=Sn),w&&w.sub(a),a.state||(a.state={}),a.__n=n,p=a.__d=!0,a.__h=[],a._sb=[]),v&&a.__s==null&&(a.__s=a.state),v&&O.getDerivedStateFromProps!=null&&(a.__s==a.state&&(a.__s=A({},a.__s)),A(a.__s,O.getDerivedStateFromProps(d,a.__s))),_=a.props,g=a.state,a.__v=t,p)v&&O.getDerivedStateFromProps==null&&a.componentWillMount!=null&&a.componentWillMount(),v&&a.componentDidMount!=null&&a.__h.push(a.componentDidMount);else{if(v&&O.getDerivedStateFromProps==null&&d!==_&&a.componentWillReceiveProps!=null&&a.componentWillReceiveProps(d,P),t.__v==r.__v||!a.__e&&a.shouldComponentUpdate!=null&&a.shouldComponentUpdate(d,a.__s,P)===!1){t.__v!=r.__v&&(a.props=d,a.state=a.__s,a.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(U){U&&(U.__=t)}),Fe.push.apply(a.__h,a._sb),a._sb=[],a.__h.length&&s.push(a);break e}a.componentWillUpdate!=null&&a.componentWillUpdate(d,a.__s,P),v&&a.componentDidUpdate!=null&&a.__h.push(function(){a.componentDidUpdate(_,g,x)})}if(a.context=P,a.props=d,a.__P=e,a.__e=!1,D=m.__r,X=0,v)a.state=a.__s,a.__d=!1,D&&D(t),l=a.render(a.props,a.state,a.context),Fe.push.apply(a.__h,a._sb),a._sb=[];else do a.__d=!1,D&&D(t),l=a.render(a.props,a.state,a.context),a.state=a.__s;while(a.__d&&++X<25);a.state=a.__s,a.getChildContext!=null&&(n=A(A({},n),a.getChildContext())),v&&!p&&a.getSnapshotBeforeUpdate!=null&&(x=a.getSnapshotBeforeUpdate(_,g)),$=l!=null&&l.type===Ke&&l.key==null?vr(l.props.children):l,c=_r(e,Ve($)?$:[$],t,r,n,i,o,s,c,f,u),a.base=t.__e,t.__u&=-161,a.__h.length&&s.push(a),h&&(a.__E=a.__=null)}catch(U){if(t.__v=null,f||o!=null)if(U.then){for(t.__u|=f?160:128;c&&c.nodeType==8&&c.nextSibling;)c=c.nextSibling;o[o.indexOf(c)]=null,t.__e=c}else{for(F=o.length;F--;)mt(o[F]);dt(t)}else t.__e=r.__e,t.__k=r.__k,U.then||dt(t);m.__e(U,t,r)}else o==null&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):c=t.__e=bn(r.__e,t,r,n,i,o,s,f,u);return(l=m.diffed)&&l(t),128&t.__u?void 0:c}function dt(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(dt))}function hr(e,t,r){for(var n=0;n<r.length;n++)gt(r[n],r[++n],r[++n]);m.__c&&m.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){m.__e(o,i.__v)}})}function vr(e){return typeof e!="object"||e==null||e.__b>0?e:Ve(e)?e.map(vr):A({},e)}function bn(e,t,r,n,i,o,s,c,f){var u,l,a,p,_,g,x,h=r.props||We,d=t.props,v=t.type;if(v=="svg"?i="http://www.w3.org/2000/svg":v=="math"?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),o!=null){for(u=0;u<o.length;u++)if((_=o[u])&&"setAttribute"in _==!!v&&(v?_.localName==v:_.nodeType==3)){e=_,o[u]=null;break}}if(e==null){if(v==null)return document.createTextNode(d);e=document.createElementNS(i,v,d.is&&d),c&&(m.__m&&m.__m(t,o),c=!1),o=null}if(v==null)h===d||c&&e.data==d||(e.data=d);else{if(o=o&&Te.call(e.childNodes),!c&&o!=null)for(h={},u=0;u<e.attributes.length;u++)h[(_=e.attributes[u]).name]=_.value;for(u in h)_=h[u],u=="dangerouslySetInnerHTML"?a=_:u=="children"||u in d||u=="value"&&"defaultValue"in d||u=="checked"&&"defaultChecked"in d||Le(e,u,null,_,i);for(u in d)_=d[u],u=="children"?p=_:u=="dangerouslySetInnerHTML"?l=_:u=="value"?g=_:u=="checked"?x=_:c&&typeof _!="function"||h[u]===_||Le(e,u,_,h[u],i);if(l)c||a&&(l.__html==a.__html||l.__html==e.innerHTML)||(e.innerHTML=l.__html),t.__k=[];else if(a&&(e.innerHTML=""),_r(t.type=="template"?e.content:e,Ve(p)?p:[p],t,r,n,v=="foreignObject"?"http://www.w3.org/1999/xhtml":i,o,s,o?o[0]:r.__k&&_e(r,0),c,f),o!=null)for(u=o.length;u--;)mt(o[u]);c||(u="value",v=="progress"&&g==null?e.removeAttribute("value"):g!=null&&(g!==e[u]||v=="progress"&&!g||v=="option"&&g!=h[u])&&Le(e,u,g,h[u],i),u="checked",x!=null&&x!=e[u]&&Le(e,u,x,h[u],i))}return e}function gt(e,t,r){try{if(typeof e=="function"){var n=typeof e.__u=="function";n&&e.__u(),n&&t==null||(e.__u=e(t))}else e.current=t}catch(i){m.__e(i,r)}}function mr(e,t,r){var n,i;if(m.unmount&&m.unmount(e),(n=e.ref)&&(n.current&&n.current!=e.__e||gt(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){m.__e(o,t)}n.base=n.__P=null}if(n=e.__k)for(i=0;i<n.length;i++)n[i]&&mr(n[i],t,r||typeof e.type!="function");r||mt(e.__e),e.__c=e.__=e.__e=void 0}function Sn(e,t,r){return this.constructor(e,r)}function wt(e,t,r){var n,i,o,s;t==document&&(t=document.documentElement),m.__&&m.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],s=[],yt(t,e=(!n&&r||t).__k=j(Ke,null,[e]),i||We,We,t.namespaceURI,!n&&r?[r]:i?null:t.firstChild?Te.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,s),hr(o,e,s)}function bt(e,t){wt(e,t,bt)}function de(e,t,r){var n,i,o,s,c=A({},e.props);for(o in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)o=="key"?n=t[o]:o=="ref"?i=t[o]:c[o]=t[o]===void 0&&s!=null?s[o]:t[o];return arguments.length>2&&(c.children=arguments.length>3?Te.call(arguments,2):r),xe(e.type,c,n||e.key,i||e.ref,null)}function yr(e){function t(r){var n,i;return this.getChildContext||(n=new Set,(i={})[t.__c]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(o){this.props.value!=o.value&&n.forEach(function(s){s.__e=!0,_t(s)})},this.sub=function(o){n.add(o);var s=o.componentWillUnmount;o.componentWillUnmount=function(){n&&n.delete(o),s&&s.call(o)}}),r.children}return t.__c="__cC"+lr++,t.__=e,t.Provider=t.__l=(t.Consumer=function(r,n){return r.children(n)}).contextType=t,t}Te=Fe.slice,m={__e:function(e,t,r,n){for(var i,o,s;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(e)),s=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,n||{}),s=i.__d),s)return i.__E=i}catch(c){e=c}throw e}},ar=0,ht=function(e){return e!=null&&e.constructor===void 0},pe.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=A({},this.state),typeof e=="function"&&(e=e(A({},r),this.props)),e&&A(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),_t(this))},pe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),_t(this))},pe.prototype.render=Ke,ee=[],cr=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ur=function(e,t){return e.__v.__b-t.__v.__b},Ae.__r=0,ft=Math.random().toString(8),qe="__d"+ft,Se="__a"+ft,fr=/(PointerCapture)$|Capture$/i,vt=0,lt=sr(!1),pt=sr(!0),lr=0;var ie,S,St,gr,Ee=0,Ir=[],T=m,wr=T.__b,br=T.__r,Sr=T.diffed,xr=T.__c,Tr=T.unmount,Er=T.__;function Pe(e,t){T.__h&&T.__h(S,e,Ee||t),Ee=0;var r=S.__H||(S.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function xn(e){return Ee=1,Tn(Cr,e)}function Tn(e,t,r){var n=Pe(ie++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):Cr(void 0,t),function(c){var f=n.__N?n.__N[0]:n.__[0],u=n.t(f,c);f!==u&&(n.__N=[u,n.__[1]],n.__c.setState({}))}],n.__c=S,!S.__f)){var i=function(c,f,u){if(!n.__c.__H)return!0;var l=n.__c.__H.__.filter(function(p){return p.__c});if(l.every(function(p){return!p.__N}))return!o||o.call(this,c,f,u);var a=n.__c.props!==c;return l.some(function(p){if(p.__N){var _=p.__[0];p.__=p.__N,p.__N=void 0,_!==p.__[0]&&(a=!0)}}),o&&o.call(this,c,f,u)||a};S.__f=!0;var o=S.shouldComponentUpdate,s=S.componentWillUpdate;S.componentWillUpdate=function(c,f,u){if(this.__e){var l=o;o=void 0,i(c,f,u),o=l}s&&s.call(this,c,f,u)},S.shouldComponentUpdate=i}return n.__N||n.__}function Ie(e,t){var r=Pe(ie++,3);!T.__s&&Tt(r.__H,t)&&(r.__=e,r.u=t,S.__H.__h.push(r))}function Je(e,t){var r=Pe(ie++,4);!T.__s&&Tt(r.__H,t)&&(r.__=e,r.u=t,S.__h.push(r))}function N(e){return Ee=5,se(function(){return{current:e}},[])}function se(e,t){var r=Pe(ie++,7);return Tt(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function Qe(e,t){return Ee=8,se(function(){return e},t)}function he(e){var t=S.context[e.__c],r=Pe(ie++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(S)),t.props.value):e.__}function En(){for(var e;e=Ir.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(ze),t.__h.some(xt),t.__h=[]}catch(r){t.__h=[],T.__e(r,e.__v)}}}T.__b=function(e){S=null,wr&&wr(e)},T.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Er&&Er(e,t)},T.__r=function(e){br&&br(e),ie=0;var t=(S=e.__c).__H;t&&(St===S?(t.__h=[],S.__h=[],t.__.some(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.some(ze),t.__h.some(xt),t.__h=[],ie=0)),St=S},T.diffed=function(e){Sr&&Sr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ir.push(t)!==1&&gr===T.requestAnimationFrame||((gr=T.requestAnimationFrame)||Pn)(En)),t.__H.__.some(function(r){r.u&&(r.__H=r.u),r.u=void 0})),St=S=null},T.__c=function(e,t){t.some(function(r){try{r.__h.some(ze),r.__h=r.__h.filter(function(n){return!n.__||xt(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],T.__e(n,r.__v)}}),xr&&xr(e,t)},T.unmount=function(e){Tr&&Tr(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.some(function(n){try{ze(n)}catch(i){t=i}}),r.__H=void 0,t&&T.__e(t,r.__v))};var Pr=typeof requestAnimationFrame=="function";function Pn(e){var t,r=function(){clearTimeout(n),Pr&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,35);Pr&&(t=requestAnimationFrame(r))}function ze(e){var t=S,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),S=t}function xt(e){var t=S;e.__c=e.__(),S=t}function Tt(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function Cr(e,t){return typeof t=="function"?t(e):t}var In=Symbol.for("preact-signals");function Ye(){if(te>1)te--;else{for(var e,t=!1;Ce!==void 0;){var r=Ce;for(Ce=void 0,Et++;r!==void 0;){var n=r.o;if(r.o=void 0,r.f&=-3,!(8&r.f)&&Dr(r))try{r.c()}catch(i){t||(e=i,t=!0)}r=n}}if(Et=0,te--,t)throw e}}function ae(e){if(te>0)return e();te++;try{return e()}finally{Ye()}}var b=void 0;var Ce=void 0,te=0,Et=0,Xe=0;function Nr(e){if(b!==void 0){var t=e.n;if(t===void 0||t.t!==b)return t={i:0,S:e,p:b.s,n:void 0,t:b,e:void 0,x:void 0,r:t},b.s!==void 0&&(b.s.n=t),b.s=t,e.n=t,32&b.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=b.s,t.n=void 0,b.s.n=t,b.s=t),t}}function I(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}I.prototype.brand=In;I.prototype.h=function(){return!0};I.prototype.S=function(e){this.t!==e&&e.e===void 0&&(e.x=this.t,this.t!==void 0&&(this.t.e=e),this.t=e)};I.prototype.U=function(e){if(this.t!==void 0){var t=e.e,r=e.x;t!==void 0&&(t.x=r,e.e=void 0),r!==void 0&&(r.e=t,e.x=void 0),e===this.t&&(this.t=r)}};I.prototype.subscribe=function(e){var t=this;return re(function(){var r=t.value,n=b;b=void 0;try{e(r)}finally{b=n}})};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=b;b=void 0;try{return this.value}finally{b=e}};Object.defineProperty(I.prototype,"value",{get:function(){var e=Nr(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(Et>100)throw new Error("Cycle detected");this.v=e,this.i++,Xe++,te++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{Ye()}}}});function k(e){return new I(e)}function Dr(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function kr(e){for(var t=e.s;t!==void 0;t=t.n){var r=t.S.n;if(r!==void 0&&(t.r=r),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function Rr(e){for(var t=e.s,r=void 0;t!==void 0;){var n=t.p;t.i===-1?(t.S.U(t),n!==void 0&&(n.n=t.n),t.n!==void 0&&(t.n.p=n)):r=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=n}e.s=r}function ve(e){I.call(this,void 0),this.x=e,this.s=void 0,this.g=Xe-1,this.f=4}(ve.prototype=new I).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Xe))return!0;if(this.g=Xe,this.f|=1,this.i>0&&!Dr(this))return this.f&=-2,!0;var e=b;try{kr(this),b=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(r){this.v=r,this.f|=16,this.i++}return b=e,Rr(this),this.f&=-2,!0};ve.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}I.prototype.S.call(this,e)};ve.prototype.U=function(e){if(this.t!==void 0&&(I.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}};ve.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}};Object.defineProperty(ve.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=Nr(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function Ne(e){return new ve(e)}function Or(e){var t=e.u;if(e.u=void 0,typeof t=="function"){te++;var r=b;b=void 0;try{t()}catch(n){throw e.f&=-2,e.f|=8,Pt(e),n}finally{b=r,Ye()}}}function Pt(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Or(e)}function Cn(e){if(b!==this)throw new Error("Out-of-order effect");Rr(this),b=e,this.f&=-2,8&this.f&&Pt(this),Ye()}function De(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}De.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.u=t)}finally{e()}};De.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Or(this),kr(this),te++;var e=b;return b=this,Cn.bind(this,e)};De.prototype.N=function(){2&this.f||(this.f|=2,this.o=Ce,Ce=this)};De.prototype.d=function(){this.f|=8,1&this.f||Pt(this)};function re(e){var t=new De(e);try{t.c()}catch(r){throw t.d(),r}return t.d.bind(t)}var Ct,It;function me(e,t){m[e]=t.bind(null,m[e]||function(){})}function Ze(e){It&&It(),It=e&&e.S()}function Ur(e){var t=this,r=e.data,n=Dn(r);n.value=r;var i=se(function(){for(var o=t.__v;o=o.__;)if(o.__c){o.__c.__$f|=4;break}return t.__$u.c=function(){var s;!ht(i.peek())&&((s=t.base)==null?void 0:s.nodeType)===3?t.base.data=i.peek():(t.__$f|=1,t.setState({}))},Ne(function(){var s=n.value.value;return s===0?0:s===!0?"":s||""})},[]);return i.value}Ur.displayName="_st";Object.defineProperties(I.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Ur},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});me("__b",function(e,t){if(typeof t.type=="string"){var r,n=t.props;for(var i in n)if(i!=="children"){var o=n[i];o instanceof I&&(r||(t.__np=r={}),r[i]=o,n[i]=o.peek())}}e(t)});me("__r",function(e,t){Ze();var r,n=t.__c;n&&(n.__$f&=-2,(r=n.__$u)===void 0&&(n.__$u=r=(function(i){var o;return re(function(){o=this}),o.c=function(){n.__$f|=1,n.setState({})},o})())),Ct=n,Ze(r),e(t)});me("__e",function(e,t,r,n){Ze(),Ct=void 0,e(t,r,n)});me("diffed",function(e,t){Ze(),Ct=void 0;var r;if(typeof t.type=="string"&&(r=t.__e)){var n=t.__np,i=t.props;if(n){var o=r.U;if(o)for(var s in o){var c=o[s];c!==void 0&&!(s in n)&&(c.d(),o[s]=void 0)}else r.U=o={};for(var f in n){var u=o[f],l=n[f];u===void 0?(u=Nn(r,f,l,i),o[f]=u):u.o(l,i)}}}e(t)});function Nn(e,t,r,n){var i=t in e&&e.ownerSVGElement===void 0,o=k(r);return{o:function(s,c){o.value=s,n=c},d:re(function(){var s=o.value.value;n[t]!==s&&(n[t]=s,i?e[t]=s:s?e.setAttribute(t,s):e.removeAttribute(t))})}}me("unmount",function(e,t){if(typeof t.type=="string"){var r=t.__e;if(r){var n=r.U;if(n){r.U=void 0;for(var i in n){var o=n[i];o&&o.d()}}}}else{var s=t.__c;if(s){var c=s.__$u;c&&(s.__$u=void 0,c.d())}}e(t)});me("__h",function(e,t,r,n){(n<3||n===9)&&(t.__$f|=2),e(t,r,n)});pe.prototype.shouldComponentUpdate=function(e,t){var r=this.__$u;if(!(r&&r.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var n in t)return!0;for(var i in e)if(i!=="__source"&&e[i]!==this.props[i])return!0;for(var o in this.props)if(!(o in e))return!0;return!1};function Dn(e){return se(function(){return k(e)},[])}var et=new WeakMap,Gr=new WeakMap,Nt=new WeakMap,kn=new Set([Object,Array]),tt=(e,t,r)=>{if(!ce(t))throw Error("This object cannot be proxified.");if(!et.has(t)){let n=new Proxy(t,r);et.set(t,n),Gr.set(n,t),Nt.set(n,e)}return et.get(t)},rt=e=>et.get(e),B=e=>Nt.get(e),ce=e=>typeof e!="object"||e===null?!1:!Nt.has(e)&&kn.has(e.constructor),nt=e=>Gr.get(e);var Dt=[],V=()=>Dt.slice(-1)[0],K=e=>{Dt.push(e)},z=()=>{Dt.pop()};var Re=e=>new Promise(t=>{let r=()=>{clearTimeout(n),window.cancelAnimationFrame(i),setTimeout(()=>{e(),t()})},n=setTimeout(r,100),i=window.requestAnimationFrame(r)}),ue=typeof window.scheduler?.yield=="function"?window.scheduler.yield.bind(window.scheduler):()=>new Promise(e=>{setTimeout(e,0)}),jr=e=>{let[t]=performance.getEntriesByType("navigation");t.domContentLoadedEventStart>0?e():document.addEventListener("DOMContentLoaded",e)},Rn=e=>re(()=>ke(()=>{let t=e();return typeof t=="function"?()=>ke(t):t}));function On(e,t){let r=()=>{},n=re(function(){return r=this.c.bind(this),this.x=e,this.c=t,e()});return{flush:r,dispose:n}}function Un(e){Ie(()=>{let t=null,r=!1;return t=On(e,async()=>{t&&!r&&(r=!0,await Re(t.flush),r=!1)}),t.dispose},[])}function H(e){let t=R(),r=V(),n;if(e?.constructor?.name==="GeneratorFunction"?n=async(...o)=>{let s=e(...o),c,f,u;for(;;){K(r),oe(t);try{f=u?s.throw(u):s.next(c),u=void 0}catch(l){throw l}finally{J(),z()}try{c=await f.value}catch(l){u=l}if(f.done){if(u)throw u;break}}return c}:n=(...o)=>{K(r),oe(t);try{return e(...o)}finally{z(),J()}},e.sync){let o=n;return o.sync=!0,o}return n}function Rt(e){Un(H(e))}function M(e){Ie(H(e),[])}function Gn(e,t){Ie(H(e),t)}function Ot(e,t){Je(H(e),t)}function jn(e,t){return Qe(H(e),t)}function Mn(e,t){return se(H(e),t)}var Mr=(e,t)=>{t=[].concat(t);let r=t[t.length-1].nextSibling;function n(i,o){e.insertBefore(i,o||r)}return e.__k={nodeType:1,parentNode:e,firstChild:t[0],childNodes:t,insertBefore:n,appendChild:n,removeChild(i){e.removeChild(i)},contains(i){e.contains(i)}}};function $r(e){return e.replace(/^-+|-+$/g,"").toLowerCase().replace(/-([a-z])/g,function(t,r){return r.toUpperCase()})}var Y=e=>{},L=e=>e==="__proto__"||e==="constructor"||e==="prototype",Z=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0,ot=(e,t)=>e==="__proto__"?void 0:t,C=e=>!!(e&&typeof e=="object"&&e.constructor===Object);function $n(e){let t=e;return t.sync=!0,t}var kt=new WeakMap,Bn=e=>{let t=()=>!1;return{get(r,n){let i=r[n];return i&&typeof i=="object"?Oe(i,{errorMessage:e}):i},set:t,deleteProperty:t,defineProperty:t}};function Oe(e,t){let r=t?.errorMessage??"Cannot modify read-only object";if(!kt.has(e)){let n=Bn(r);kt.set(e,new Proxy(e,n))}return kt.get(e)}var it=k(0),st=Math.random().toString(36).slice(2);function ne(e){return C(e)?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,ne(r)])):Array.isArray(e)?e.map(t=>ne(t)):e}var Ut=[],R=()=>Ut.slice(-1)[0],oe=e=>{Ut.push(e)},J=()=>{Ut.pop()},ke=e=>{oe();try{return e()}finally{J()}};var Hn=e=>R().context[e||V()],Ln=()=>{let e=R(),t={},{ref:r,attributes:n}=e;return Object.freeze({ref:r.current,attributes:Oe(n,t)})},at=k(0);function Gt(e){let t=R();return Gt.subscribe=at.value,ne(t.serverContext[e||V()])}Gt.subscribe=0;var qn={},Br=class{owner;computedsByScope;valueSignal;getterSignal;pendingGetter;constructor(e){this.owner=e,this.computedsByScope=new WeakMap}setValue(e){this.update({value:e})}setGetter(e){this.update({get:e})}setPendingGetter(e){this.pendingGetter=e,queueMicrotask(()=>this.consolidateGetter())}consolidateGetter(){let e=this.pendingGetter;e&&(this.pendingGetter=void 0,this.update({get:e}))}getComputed(){let e=R()||qn;if(!this.valueSignal&&!this.getterSignal&&this.update({}),this.pendingGetter&&this.consolidateGetter(),!this.computedsByScope.has(e)){let t=()=>{let r=this.getterSignal?.value;return r?r.call(this.owner):this.valueSignal?.value};K(B(this.owner)),this.computedsByScope.set(e,Ne(H(t))),z()}return this.computedsByScope.get(e)}update({get:e,value:t}){this.valueSignal?(t!==this.valueSignal.peek()||e!==this.getterSignal.peek())&&ae(()=>{this.valueSignal.value=t,this.getterSignal.value=e}):(this.valueSignal=k(t),this.getterSignal=k(e))}};var Wn=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(e=>typeof e=="symbol")),ye=new WeakMap,Fn=(e,t)=>ye.has(e)&&ye.get(e).has(t),Ue=(e,t,r)=>{ye.has(e)||ye.set(e,new Map),t=typeof t=="number"?`${t}`:t;let n=ye.get(e);if(!n.has(t)){let i=B(e),o=new Br(e);if(n.set(t,o),r){let{get:s,value:c}=r;s?o.setGetter(s):o.setValue(ce(c)?G(i,c):c)}}return n.get(t)},Q=new WeakMap,jt=!1,E=Symbol("PENDING_GETTER"),An={get(e,t,r){if(jt||!Object.prototype.hasOwnProperty.call(e,t)&&t in e||typeof t=="symbol"&&Wn.has(t))return Reflect.get(e,t,r);let n=Object.getOwnPropertyDescriptor(e,t),o=Ue(r,t,n).getComputed().value;if(o===E)throw E;if(typeof o=="function"){let s=B(r);return(...c)=>{K(s);try{return o.call(r,...c)}finally{z()}}}return o},set(e,t,r,n){K(B(n));try{return Reflect.set(e,t,r,n)}finally{z()}},defineProperty(e,t,r){let n=!(t in e),i=Reflect.defineProperty(e,t,r);if(i){let o=rt(e),s=Ue(o,t),{get:c,value:f}=r;if(c)s.setGetter(c);else{let u=B(o);s.setValue(ce(f)?G(u,f):f)}n&&Q.has(e)&&Q.get(e).value++,Array.isArray(e)&&ye.get(o)?.has("length")&&Ue(o,"length").setValue(e.length)}return i},deleteProperty(e,t){let r=Reflect.deleteProperty(e,t);return r&&(Ue(rt(e),t).setValue(void 0),Q.has(e)&&Q.get(e).value++),r},ownKeys(e){return Q.has(e)||Q.set(e,k(0)),Q._=Q.get(e).value,Reflect.ownKeys(e)}},G=(e,t)=>tt(e,t,An),$t=(e,t)=>{jt=!0;try{return e[t]}finally{jt=!1}},Mt=(e,t,r=!0)=>{if(!(C(e)&&C(t)))return;let n=!1;for(let i in t){if(L(i))continue;let o=!(i in e);n=n||o;let s=Object.getOwnPropertyDescriptor(t,i),c=rt(e),f=!!c&&Fn(c,i)&&Ue(c,i);if(typeof s.get=="function"||typeof s.set=="function")(r||o)&&(Object.defineProperty(e,i,{...s,configurable:!0,enumerable:!0}),s.get&&f&&f.setPendingGetter(s.get));else if(C(t[i])){let u=Object.getOwnPropertyDescriptor(e,i)?.value;if(o||r&&!C(u)){if(e[i]={},f){let l=B(c);f.setValue(G(l,e[i]))}Mt(e[i],t[i],r)}else C(u)&&Mt(e[i],t[i],r)}else if((r||o)&&(Object.defineProperty(e,i,s),f)){let{value:u}=s,l=B(c);f.setValue(ce(u)?G(l,u):u)}}n&&Q.has(e)&&Q.get(e).value++},fe=(e,t,r=!0)=>ae(()=>Mt(nt(e)||e,t,r));var Hr=new WeakSet,Vn={get:(e,t,r)=>{let n=Reflect.get(e,t),i=B(r);if(typeof n>"u"&&Hr.has(r)){let o={};return Reflect.set(e,t,o),Ge(i,o,!1)}if(typeof n=="function"){K(i);let o=H(n);return z(),o}return C(n)&&ce(n)?Ge(i,n,!1):n}},Ge=(e,t,r=!0)=>{let n=tt(e,t,Vn);return n&&r&&Hr.add(n),n};var Bt=new WeakMap,ge=new WeakMap,Lr=new WeakSet,qr=Reflect.getOwnPropertyDescriptor,Kn={get:(e,t)=>{let r=ge.get(e),n=e[t];return t in e?n:r[t]},set:(e,t,r)=>{let n=ge.get(e),i=t in e||!(t in n)?e:n;return i[t]=r,!0},ownKeys:e=>[...new Set([...Object.keys(ge.get(e)),...Object.keys(e)])],getOwnPropertyDescriptor:(e,t)=>qr(e,t)||qr(ge.get(e),t),has:(e,t)=>Reflect.has(e,t)||Reflect.has(ge.get(e),t)},we=(e,t={})=>{if(Lr.has(e))throw Error("This object cannot be proxified.");if(ge.set(e,t),!Bt.has(e)){let r=new Proxy(e,Kn);Bt.set(e,r),Lr.add(r)}return Bt.get(e)};var je=new Map,Wr=new Map,ct=new Map,Ht=new Map,Me=new Map,zn=e=>Ht.get(e||V())||{};function Lt(e){let t=e||V();return Me.has(t)||Me.set(t,{}),Lt.subscribe=it.value,ne(Me.get(t))}Lt.subscribe=0;var le="I acknowledge that using a private store means my plugin will inevitably break on the next store release.";function $e(e,{state:t={},...r}={},{lock:n=!1}={}){if(je.has(e)){if(n!==le&&!ct.has(e))ct.set(e,n);else{let o=ct.get(e);if(!(n===le||n!==!0&&n===o))throw Error(o?"Cannot unlock a private store with an invalid lock code":"Cannot lock a public store")}let i=Wr.get(e);fe(i,r),fe(i.state,t)}else{n!==le&&ct.set(e,n);let i={state:G(e,C(t)?t:{}),...r},o=Ge(e,i);Wr.set(e,i),je.set(e,o)}return je.get(e)}var qt=(e=document)=>{let t=e.querySelector('script[id="wp-script-module-data-@wordpress/interactivity"]')??e.querySelector('script[id="wp-interactivity-data"]');if(t instanceof HTMLScriptElement)try{return JSON.parse(t.text,ot)}catch{}return{}},Wt=e=>{Me.clear(),Ht.clear(),C(e?.state)&&Object.entries(e.state).forEach(([t,r])=>{let n=$e(t,{},{lock:le});fe(n.state,r,!1),Me.set(t,r)}),C(e?.config)&&Object.entries(e.config).forEach(([t,r])=>{Ht.set(t,r)}),C(e?.derivedStateClosures)&&Object.entries(e.derivedStateClosures).forEach(([t,r])=>{let n=$e(t,{},{lock:le});r.forEach(i=>{let o=i.split("."),s=o.splice(-1,1)[0],c=o.reduce((u,l)=>$t(u,l),n),f=Object.getOwnPropertyDescriptor(c,s);C(f?.value)&&(c[s]=E)})})};var zt=new WeakMap,Ar=new WeakSet,Ft=0,At="data-wp-",be=[],Jn=()=>be[be.length-1]??null,Qn=e=>!!(e&&typeof e=="object"&&e.constructor===Object),Xn=/[^a-z0-9-_]/i,Vt=e=>L(e.replace(/^-+|-+$/g,"").toLowerCase());function Jt(e){let t=Yn(e);return t&&(Vt(t.prefix)||t.suffix!==null&&t.suffix.split("--").some(Vt)||t.uniqueId!==null&&Vt(t.uniqueId))?null:t}function Yn(e){let t=e.substring(8);if(Xn.test(t))return null;let r=t.indexOf("--");if(r===0||t[0]==="-")return null;if(r===-1)return{prefix:t,suffix:null,uniqueId:null};let n=t.substring(0,r),i=t.substring(r);if(i.startsWith("---")&&i[3]!=="-")return{prefix:n,suffix:null,uniqueId:i.substring(3)||null};let o=i.substring(2),s=o.indexOf("---");if(s!==-1&&o.substring(s)[3]!=="-"){let c=o.substring(s+3)||null;return o=o.substring(0,s)||null,{prefix:n,suffix:o,uniqueId:c}}return{prefix:n,suffix:o||null,uniqueId:null}}var Zn=/^([\w_\/-]+)::(.+)$/;function Kt(e,t){for(let r of Array.from(e.childNodes)){if(r.nodeType===1&&r.localName==="script")continue;let n=t.ownerDocument.importNode(r,!1);t.appendChild(n),r.nodeType===1&&r.namespaceURI==="http://www.w3.org/1999/xhtml"&&r.localName==="template"?Kt(r.content,n.content):Kt(r,n)}}function eo(){return document.createElement("template").content.ownerDocument}function Vr(e){let t=e.props.dangerouslySetInnerHTML;return t&&zt.get(t)}function Kr(e){let t=e.props.dangerouslySetInnerHTML;return t&&Ar.has(t)?zt.get(t):void 0}function Qt(e){let t=Zn.exec(e),r=t?.[1]??null,n=t?.[2]??e,i=n;if(/^\s*\{/.test(n))try{let o=JSON.parse(n,ot);Qn(o)&&(i=o)}catch{}return{namespace:r,value:i}}var zr=new WeakSet,Jr=e=>typeof e=="object"&&e!==null&&zr.has(e),Xt=e=>{let t=typeof e=="string"?e:typeof e?.namespace=="string"?e.namespace:null;return L(t)?null:t};function Be(e,t){if(t===void 0)return Fr(e);be.push(t);try{return Fr(e)}finally{be.pop()}}function Fr(e){let t=new Set,r=new Set,n=document.createTreeWalker(e,205);function i(s){let{nodeType:c}=s;if(c===3)return s.data;if(c===4)return r.add(s),s.data;if(c===8||c===7)return t.add(s),null;let f=s,u=f.localName,l={},a=[],p=[],_=!1,g=f.getAttributeNames();for(let h=0;h<g.length;h++){let d=g[h],v=f.getAttribute(d)??"";if(d[At.length]&&d.slice(0,At.length)===At){let{namespace:w,value:P}=Qt(v);d==="data-wp-interactive"?(_=!0,be.push(Xt(P))):L(w)||p.push([d,w,P]),l[d]=v;continue}else if(d==="ref")continue;v===""&&f[d]===!0?l[d]=!0:l[d]=v}if(p.length){l.__directives=p.reduce((h,[d,v,w])=>{let P=Jt(d);if(P===null)return h;let{prefix:D,suffix:X,uniqueId:$}=P;return h[D]=h[D]||[],h[D].push({namespace:v??Jn(),value:w,suffix:X,uniqueId:$}),h},Object.create(null)),zr.add(l.__directives);for(let h in l.__directives)l.__directives[h].sort((d,v)=>{let w=d.suffix??"",P=v.suffix??"";if(w!==P)return w<P?-1:1;let D=d.uniqueId??"",X=v.uniqueId??"";return+(D>X)-+(D<X)})}if(l.__directives?.html){let h=["text","each","router-region"].filter(d=>d in l.__directives);h.length&&(Y(`The data-wp-html directive was ignored because it conflicts with ${h.map(d=>`data-wp-${d}`).join(", ")}.`),delete l.__directives.html)}let x=l.__directives?.html?.some(({suffix:h})=>h===null);if(l.__directives?.["each-child"]||x){let h={__html:f.innerHTML};if(l.dangerouslySetInnerHTML=h,x){let d=eo().createDocumentFragment();Kt(f,d),zt.set(h,d),Ft||Ar.add(h)}}else if(u==="template"){Ft++;try{l.content=[...f.content.childNodes].map(h=>Be(h))}finally{Ft--}}else{let h=n.firstChild();if(h){for(;h;){let d=i(h);d&&a.push(d),h=n.nextSibling()}n.parentNode()}}return _&&be.pop(),j(u,l,a)}let o=i(n.currentNode);return t.forEach(s=>s.remove()),r.forEach(s=>s.replaceWith(new window.Text(s.data))),o}function q(e){return e.suffix!==null}function W(e){return e.suffix===null}var Qr=yr({client:Object.create(null),server:Object.create(null)}),Yt=Object.create(null),Yr=Object.create(null),y=(e,t,{priority:r=10}={})=>{Yt[e]=t,Yr[e]=r},to=(e,t,r)=>{if(typeof r!="function"||e===null||e===void 0)return!1;let n=Object(e),i=nt(n);if(i&&Object.prototype.hasOwnProperty.call(i,t))return!1;for(let o=Object.getPrototypeOf(i??n);o!==null;o=Object.getPrototypeOf(o)){let s=Object.getOwnPropertyDescriptor(o,t);if(s)return i?typeof s.value=="function":s.value===r}return!1},ro=(e,t)=>{if(!t){Y(`Namespace missing for "${e}". The value for that path won't be resolved.`);return}let r=e.split(".");if(L(t)||r.some(L))return;let n=je.get(t);typeof n>"u"&&(n=$e(t,{},{lock:le}));let i={...n,context:Z(R().context,t)};try{let o,s=i;for(let c of r)o=s,s=s[c];return to(o,r[r.length-1],s)?void 0:s}catch(o){if(o===E)return E}},Zt=({scope:e})=>t=>{let{value:r,namespace:n}=t;if(typeof r!="string")throw new Error("The `value` prop should be a string path");let i=r[0]==="!"&&!!(r=r.slice(1));oe(e);let o=ro(r,n);if(typeof o=="function"){if(i){Y(`The value of "${r}" is a function and cannot be negated. Please use derived state instead.`),J();return}J();let c=(...f)=>{oe(e);try{return o(...f)}finally{J()}};if(o.sync){let f=c;f.sync=!0}return c}let s=o;return J(),i&&o!==E?!s:s},no=e=>{let t=Object.keys(e).reduce((r,n)=>{if(Yt[n]){let i=Yr[n];(r[i]=r[i]||[]).push(n)}return r},{});return Object.entries(t).sort(([r],[n])=>parseInt(r)-parseInt(n)).map(([,r])=>r)},Zr=({directives:e,priorityLevels:[t,...r],element:n,originalProps:i,previousScope:o})=>{let s=N({}).current;s.evaluate=Qe(Zt({scope:s}),[]);let{client:c,server:f}=he(Qr);s.context=c,s.serverContext=f,s.ref=o?.ref||N(null),n=de(n,{ref:s.ref}),s.attributes=n.props;let u=r.length>0?j(Zr,{directives:e,priorityLevels:r,element:n,originalProps:i,previousScope:s}):n,l={...i,children:u},a={directives:e,props:l,element:n,context:Qr,evaluate:s.evaluate};oe(s);try{for(let p of t){let _=Yt[p]?.(a);_!==void 0&&(l.children=_)}}finally{J()}return l.children},Xr=m.vnode;m.vnode=e=>{if(e.props.__directives&&!Jr(e.props.__directives)&&delete e.props.__directives,e.props.__directives){let t=e.props,r=t.__directives;r.key&&(e.key=r.key.find(W).value),delete t.__directives;let n=no(r);n.length>0&&(e.props={directives:r,priorityLevels:n,originalProps:t,type:e.type,element:j(e.type,t),top:!0},e.type=Zr)}Xr&&Xr(e)};var oo=new Set(["class","dir","height","hidden","id","lang","role","style","tabindex","title","width"]),en=(e,t)=>{if(typeof e!="string"||e.toLowerCase()!=="object")return!0;let r=t.toLowerCase();return oo.has(r)||r.startsWith("aria-")||r.startsWith("data-")&&!r.startsWith("data-wp-")};var tn=new Set(["action","archive","background","cite","classid","codebase","data","formaction","href","icon","longdesc","manifest","poster","profile","src","usemap","xlink:href","xlinkhref","xmlns"]),io=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i;function rn(e){if(e==null||typeof e=="boolean")return e;try{let t=String(e);return io.test(t)?null:t}catch{return null}}var so=new Set(["__directives","children","dangerouslysetinnerhtml"]);y("bind",({directives:{bind:e},element:t,evaluate:r})=>{e.filter(q).forEach(n=>{if(n.uniqueId)return;let i=n.suffix,o=i.toLowerCase();if(so.has(o)||o==="content"&&t.type==="template"||L(i)||/^on/i.test(i)||!en(t.type,i))return;if(i==="protocol"&&(t.type==="a"||t.type==="area")){delete t.props[i];return}let s=r(n);s!==E&&(typeof s=="function"&&(s=s()),tn.has(i.toLowerCase())&&(s=rn(s)),t.props[i]=s,M(()=>{let c=t.ref.current;if(i==="style"){typeof s=="string"&&(c.style.cssText=s);return}else if(i!=="width"&&i!=="height"&&i!=="href"&&i!=="list"&&i!=="form"&&i!=="tabIndex"&&i!=="download"&&i!=="rowSpan"&&i!=="colSpan"&&i!=="role"&&i!=="popover"&&i in c)try{c[i]=s??"";return}catch{}s!=null&&(s!==!1||i[4]==="-")?c.setAttribute(i,i==="popover"&&s===!0?"":s):c.removeAttribute(i)}))})});y("class",({directives:{class:e},element:t,evaluate:r})=>{e.filter(q).forEach(n=>{let i=n.uniqueId?`${n.suffix}---${n.uniqueId}`:n.suffix,o=r(n);if(o===E)return;typeof o=="function"&&(o=o());let s=typeof t.props.class=="string"?t.props.class:"",c=new RegExp(`(^|\\s)${i}(\\s|$)`,"g");o?c.test(s)||(t.props.class=s?`${s} ${i}`:i):t.props.class=s.replace(c," ").trim(),M(()=>{o?t.ref.current.classList.add(i):t.ref.current.classList.remove(i)})})});y("context",({directives:{context:e},props:{children:t},context:r})=>{let n=e.filter(W).reverse();if(!n.length)return;let{Provider:i}=r,{client:o,server:s}=he(r),c=N(Object.create(null)),f=Object.create(null),u={client:Object.assign(Object.create(null),o),server:Object.assign(Object.create(null),s)},l=new Set;return n.forEach(({value:a,namespace:p,uniqueId:_})=>{C(a)&&(Z(c.current,p)||(c.current[p]=G(p,{})),fe(c.current[p],ne(a),!1),f[p]=a,l.add(p))}),l.forEach(a=>{u.client[a]=we(c.current[a],Z(o,a)),u.server[a]=we(f[a],Z(s,a))}),j(i,{value:u},t)},{priority:5});var ao=(e,t,r,n,i)=>{let o=Object.assign(Object.create(null),e.client,{[t]:{...Z(e.client,t),[n]:r}}),s={...R(),context:o,serverContext:e.server};return i?Zt({scope:s})(i):r},co=function*(e,t,r,n,i){let{current:o}=N(new Map);for(let s of r){let c=ao(e,t,s,n,i);o.has(c)||o.set(c,we(G(t,{[n]:void 0}),Z(e.client,t))),yield[s,o.get(c),c]}};y("each",({directives:{each:e,"each-key":t},context:r,element:n,evaluate:i})=>{if(n.type!=="template")return;let{Provider:o}=r,s=he(r),[c]=e,{namespace:f,suffix:u,uniqueId:l}=c;if(e.length>1||l)return;let a=i(c);if(a===E||(typeof a=="function"&&(a=a()),typeof a?.[Symbol.iterator]!="function"))return;let p=u?$r(u):"item",_=[],g=co(s,f,a,p,t?.[0]);for(let[x,h,d]of g){let v={client:Object.assign(Object.create(null),s.client,{[f]:h}),server:Object.assign(Object.create(null),s.server)};v.client[f][p]=x,_.push(j(o,{value:v,key:d},n.props.content))}return _},{priority:20});y("each-child",({directives:{"each-child":e},element:t,evaluate:r})=>{let n=e.find(W);return n?r(n)===E?t:null:void 0},{priority:1});var ut=globalThis.trustedTypes?.emptyHTML??"",er=new WeakMap;function uo(e){let{trustedTypes:t}=globalThis;if(typeof e!="string"&&!t?.isHTML(e))throw new TypeError("asDangerousHTML() expects a string or a native TrustedHTML value.");let r=Object.freeze(Object.create(null));return er.set(r,e),r}function nn(e){return typeof e=="object"&&e!==null&&er.has(e)}function on(e){return er.get(e)}var fo=e=>C(e)&&e.wpServerHtml===!0,sn=e=>Array.from(e.querySelectorAll("template")).filter(t=>t.namespaceURI==="http://www.w3.org/1999/xhtml"),an=(e,t)=>{if(!e.isEqualNode(t))return!1;let r=sn(t);return sn(e).every((n,i)=>an(n.content,r[i].content))};y("html",({directives:{html:e},element:t,evaluate:r})=>{let n=e.find(W),i=N(void 0),o=N(null),s=N(null),c=N(void 0),f=N(void 0),u=N(void 0),l=N(),a;if(n){if(!n.uniqueId)try{a=r(n),typeof a=="function"&&(a=a())}catch{a=void 0}}let p=!!n&&!n.uniqueId,_=fo(a),g=a===E||_,x=nn(a),h=x?on(a):ut,d=Vr(t),v=Kr(t);Ot(()=>{let w=t.ref.current,P=o.current!==w,D=[a,p,g,_,x,h,t.ref],X=s.current===null||D.some((nr,vn)=>nr!==s.current[vn]);if(s.current=D,P?(o.current=w,i.current=void 0,f.current=void 0,u.current=g?v:void 0,p&&g&&!w.hasChildNodes()&&d?.hasChildNodes()&&w.append(w.ownerDocument.importNode(d,!0))):v!==c.current&&(f.current=v,queueMicrotask(()=>{Re(()=>{f.current===v&&(f.current=void 0)})})),c.current=v,!p)return;let $=f.current;if(g&&$){f.current=void 0,(!u.current||!an(u.current,$))&&w.replaceChildren(w.ownerDocument.importNode($,!0)),u.current=$,i.current=void 0;return}if(!P&&!X)return;if(g){_&&(i.current=void 0);return}u.current=void 0,!x&&a!==null&&a!==void 0&&Y("data-wp-html: the value is not trusted HTML. Use asDangerousHTML() to explicitly trust the markup.");let F=String(h),O=typeof h=="string",U=i.current;if(!(U&&("rejected"in U?U.rejected===F&&U.plainString===O:U.applied===F))){if(!U&&w.innerHTML===F){i.current={applied:F};return}try{w.innerHTML=h,i.current={applied:F}}catch{w.innerHTML=ut,i.current={rejected:F,plainString:O}}}},[a,p,g,_,x,h,d,v,t.ref,t]),p&&(l.current??={__html:ut},t.props.dangerouslySetInnerHTML=l.current,t.props.children=void 0)});y("init",({directives:{init:e},evaluate:t})=>{e.forEach(r=>{r.suffix===null&&M(()=>{let n,i=t(r);return typeof i=="function"&&(i=i()),i})})});function cn(e){let t={get(r,n,i){let o=r[n];switch(n){case"currentTarget":break;case"preventDefault":case"stopImmediatePropagation":case"stopPropagation":break}return o instanceof Function?function(...s){return o.apply(this===i?r:this,s)}:o}};return new Proxy(e,t)}var un=e=>({directives:t,evaluate:r})=>{t[`on-${e}`].filter(q).forEach(n=>{let i=n.suffix;M(()=>{let o=c=>{let f=r(n);typeof f=="function"&&(f?.sync||(c=cn(c)),f(c))},s=e==="window"?window:document;return s.addEventListener(i,o),()=>s.removeEventListener(i,o)})})},fn=e=>({directives:t,evaluate:r})=>{t[`on-async-${e}`].filter(q).forEach(n=>{let i=n.suffix.split("--",1)[0];M(()=>{let o=async c=>{await ue();let f=r(n);typeof f=="function"&&f(c)},s=e==="window"?window:document;return s.addEventListener(i,o,{passive:!0}),()=>s.removeEventListener(i,o)})})};y("on",({directives:{on:e},element:t,evaluate:r})=>{let n=new Map;e.filter(q).forEach(i=>{let o=i.suffix;n.has(o)||n.set(o,new Set),n.get(o).add(i)}),n.forEach((i,o)=>{let s=t.props[`on${o}`];t.props[`on${o}`]=c=>{s&&s(c),i.forEach(f=>{let u,l=r(f);typeof l=="function"&&(l?.sync||(c=cn(c)),l(c))})}})});y("on-async",({directives:{"on-async":e},element:t,evaluate:r})=>{let n=new Map;e.filter(q).forEach(i=>{let o=i.suffix.split("--",1)[0];n.has(o)||n.set(o,new Set),n.get(o).add(i)}),n.forEach((i,o)=>{let s=t.props[`on${o}`];t.props[`on${o}`]=c=>{s&&s(c),i.forEach(async f=>{await ue();let u=r(f);typeof u=="function"&&u(c)})}})});y("on-window",un("window"));y("on-document",un("document"));y("on-async-window",fn("window"));y("on-async-document",fn("document"));var He=new Map;y("router-region",({directives:{"router-region":e}})=>{let t=e.find(W);if(!t||t.suffix||t.uniqueId)return;let r=typeof t.value=="string"?t.value:t.value.id;He.has(r)||He.set(r,k());let n=He.get(r).value;if(Je(()=>{n&&typeof n.type!="string"&&(at.value=at.peek()+1)},[n]),n&&typeof n.type!="string"){let i=R();return de(n,{previousScope:i})}return n},{priority:1});y("run",({directives:{run:e},evaluate:t})=>{e.forEach(r=>{if(r.suffix!==null)return;let n=t(r);return typeof n=="function"&&(n=n()),n})});var ln=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,lo=/\/\*[^]*?\*\/| +/g,po=/\n+/g,_o=" ",ho=e=>{let t=Object.create(null),r=e.replace(lo,""),n=0,i;for(ln.lastIndex=0;i=ln.exec(r);)i[4]!==void 0?n=Math.max(0,n-1):i[3]!==void 0?n++:n===0&&(t[i[1]]=i[2].replace(po,_o).trim());return t},vo=e=>{if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null},mo=e=>{let t=Object.create(null);for(let[r,n]of Object.entries(Object.getOwnPropertyDescriptors(e)))n.enumerable&&"value"in n&&(t[r]=n.value);return t};y("style",({directives:{style:e},element:t,evaluate:r})=>{e.filter(q).forEach(n=>{if(n.uniqueId)return;let i=n.suffix,o=r(n);o!==E&&(typeof o=="function"&&(o=o()),typeof t.props.style=="string"?t.props.style=ho(t.props.style):vo(t.props.style)?t.props.style=mo(t.props.style):t.props.style=Object.create(null),o?t.props.style[i]=o:delete t.props.style[i],M(()=>{o?t.ref.current.style.setProperty(i,o):t.ref.current.style.removeProperty(i)}))})});y("text",({directives:{text:e},element:t,evaluate:r})=>{let n=e.filter(W);n.length&&n.forEach(i=>{if(!i.uniqueId)try{let o=r(i);if(o===E)return;typeof o=="function"&&(o=o()),t.props.children=typeof o=="object"?null:o.toString()}catch{t.props.children=null}})});y("watch",({directives:{watch:e},evaluate:t})=>{e.forEach(r=>{r.suffix===null&&Rt(()=>{let n,i=t(r);return typeof i=="function"&&(i=i()),i})})});var tr=new WeakMap,rr=e=>{let t=Array.isArray(e)?e[0]:e;if(!t.parentElement)throw Error("The passed region should be an element with a parent.");return tr.has(t)||tr.set(t,Mr(t.parentElement,e)),tr.get(t)},pn=new WeakMap,_n,dn=new Promise(e=>{_n=e}),hn=async()=>{let e=[...document.querySelectorAll("[data-wp-interactive]")].filter(t=>!t.parentElement?.closest("[data-wp-interactive]"));for(let t of e){await ue();let r=rr(t),n=Be(t);pn.set(t,n),await ue(),bt(n,r)}_n(pn)};var yo="I acknowledge that using private APIs means my theme or plugin will inevitably break in the next version of WordPress.",Da=e=>{if(e===yo)return{getRegionRootFragment:rr,initialVdomPromise:dn,toVdom:Be,parseDirectiveName:Jt,parseDirectiveValue:Qt,getInteractiveNamespace:Xt,directive:y,getNamespace:V,h:j,cloneElement:de,render:wt,proxifyState:G,parseServerData:qt,populateServerData:Wt,batch:ae,routerRegions:He,deepReadOnly:Oe,navigationSignal:it,sessionId:st,warn:Y,afterNextFrame:Re,getScope:R,runWithoutScope:ke};throw new Error("Forbidden access.")};Wt(qt());jr(hn);window.history.replaceState({...window.history.state,wpInteractivityId:st},"");window.addEventListener("popstate",e=>{e.state!==null&&e.state?.wpInteractivityId!==st&&window.location.reload()});export{uo as asDangerousHTML,zn as getConfig,Hn as getContext,Ln as getElement,Gt as getServerContext,Lt as getServerState,Da as privateApis,ue as splitTask,$e as store,jn as useCallback,Gn as useEffect,M as useInit,Ot as useLayoutEffect,Mn as useMemo,N as useRef,xn as useState,Rt as useWatch,Rn as watch,H as withScope,$n as withSyncEvent};
The same content is in 2 releases, WordPress 7.2-RC1 to 7.2-RC2. See them all, or every version of this file.