@flarehr/apollo-super-campaign 1.11.7 → 1.13.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
|
|
1
|
-
var Vs=Object.defineProperty;var Ks=(e,t,r)=>t in e?Vs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Sr=(e,t,r)=>(Ks(e,typeof t!="symbol"?t+"":t,r),r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}})();var xt,O,no,Me,Qn,io,Dr,oo,ft={},so=[],Js=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,rr=Array.isArray;function be(e,t){for(var r in t)e[r]=t[r];return e}function ao(e){var t=e.parentNode;t&&t.removeChild(e)}function U(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?xt.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 at(e,s,n,i,null)}function at(e,t,r,n,i){var o={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i??++no,__i:-1,__u:0};return i==null&&O.vnode!=null&&O.vnode(o),o}function kt(){return{current:null}}function ae(e){return e.children}function fe(e,t){this.props=e,this.context=t}function Ge(e,t){if(t==null)return e.__?Ge(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"?Ge(e):null}function co(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return co(e)}}function Fr(e){(!e.__d&&(e.__d=!0)&&Me.push(e)&&!Ht.__r++||Qn!==O.debounceRendering)&&((Qn=O.debounceRendering)||io)(Ht)}function Ht(){var e,t,r,n,i,o,s,a,l;for(Me.sort(Dr);e=Me.shift();)e.__d&&(t=Me.length,n=void 0,o=(i=(r=e).__v).__e,a=[],l=[],(s=r.__P)&&((n=be({},i)).__v=i.__v+1,O.vnode&&O.vnode(n),hn(s,n,i,r.__n,s.ownerSVGElement!==void 0,32&i.__u?[o]:null,a,o??Ge(i),!!(32&i.__u),l),n.__.__k[n.__i]=n,fo(a,n,l),n.__e!=o&&co(n)),Me.length>t&&Me.sort(Dr));Ht.__r=0}function uo(e,t,r,n,i,o,s,a,l,d,f){var c,p,u,g,w,_=n&&n.__k||so,m=t.length;for(r.__d=l,Gs(r,t,_),l=r.__d,c=0;c<m;c++)(u=r.__k[c])!=null&&typeof u!="boolean"&&typeof u!="function"&&(p=u.__i===-1?ft:_[u.__i]||ft,u.__i=c,hn(e,u,p,i,o,s,a,l,d,f),g=u.__e,u.ref&&p.ref!=u.ref&&(p.ref&&mn(p.ref,null,u),f.push(u.ref,u.__c||g,u)),w==null&&g!=null&&(w=g),65536&u.__u||p.__k===u.__k?l=lo(u,l,e):typeof u.type=="function"&&u.__d!==void 0?l=u.__d:g&&(l=g.nextSibling),u.__d=void 0,u.__u&=-196609);r.__d=l,r.__e=w}function Gs(e,t,r){var n,i,o,s,a,l=t.length,d=r.length,f=d,c=0;for(e.__k=[],n=0;n<l;n++)(i=e.__k[n]=(i=t[n])==null||typeof i=="boolean"||typeof i=="function"?null:typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?at(null,i,null,null,i):rr(i)?at(ae,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?at(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)!=null?(i.__=e,i.__b=e.__b+1,a=Ys(i,r,s=n+c,f),i.__i=a,o=null,a!==-1&&(f--,(o=r[a])&&(o.__u|=131072)),o==null||o.__v===null?(a==-1&&c--,typeof i.type!="function"&&(i.__u|=65536)):a!==s&&(a===s+1?c++:a>s?f>l-s?c+=a-s:c--:c=a<s&&a==s-1?a-s:0,a!==n+c&&(i.__u|=65536))):(o=r[n])&&o.key==null&&o.__e&&(o.__e==e.__d&&(e.__d=Ge(o)),Nr(o,o,!1),r[n]=null,f--);if(f)for(n=0;n<d;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=Ge(o)),Nr(o,o))}function lo(e,t,r){var n,i;if(typeof e.type=="function"){for(n=e.__k,i=0;n&&i<n.length;i++)n[i]&&(n[i].__=e,t=lo(n[i],t,r));return t}return e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function Se(e,t){return t=t||[],e==null||typeof e=="boolean"||(rr(e)?e.some(function(r){Se(r,t)}):t.push(e)),t}function Ys(e,t,r,n){var i=e.key,o=e.type,s=r-1,a=r+1,l=t[r];if(l===null||l&&i==l.key&&o===l.type)return r;if(n>(l!=null&&!(131072&l.__u)?1:0))for(;s>=0||a<t.length;){if(s>=0){if((l=t[s])&&!(131072&l.__u)&&i==l.key&&o===l.type)return s;s--}if(a<t.length){if((l=t[a])&&!(131072&l.__u)&&i==l.key&&o===l.type)return a;a++}}return-1}function Vn(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||Js.test(t)?r:r+"px"}function It(e,t,r,n,i){var o;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||Vn(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Vn(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")o=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?n?r.u=n.u:(r.u=Date.now(),e.addEventListener(t,o?Jn:Kn,o)):e.removeEventListener(t,o?Jn:Kn,o);else{if(i)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 in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,r))}}function Kn(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(O.event?O.event(e):e)}function Jn(e){return this.l[e.type+!0](O.event?O.event(e):e)}function hn(e,t,r,n,i,o,s,a,l,d){var f,c,p,u,g,w,_,m,y,h,v,S,k,x,C,P=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(l=!!(32&r.__u),o=[a=t.__e=r.__e]),(f=O.__b)&&f(t);e:if(typeof P=="function")try{if(m=t.props,y=(f=P.contextType)&&n[f.__c],h=f?y?y.props.value:f.__:n,r.__c?_=(c=t.__c=r.__c).__=c.__E:("prototype"in P&&P.prototype.render?t.__c=c=new P(m,h):(t.__c=c=new fe(m,h),c.constructor=P,c.render=Zs),y&&y.sub(c),c.props=m,c.state||(c.state={}),c.context=h,c.__n=n,p=c.__d=!0,c.__h=[],c._sb=[]),c.__s==null&&(c.__s=c.state),P.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=be({},c.__s)),be(c.__s,P.getDerivedStateFromProps(m,c.__s))),u=c.props,g=c.state,c.__v=t,p)P.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(P.getDerivedStateFromProps==null&&m!==u&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(m,h),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(m,c.__s,h)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(c.props=m,c.state=c.__s,c.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(R){R&&(R.__=t)}),v=0;v<c._sb.length;v++)c.__h.push(c._sb[v]);c._sb=[],c.__h.length&&s.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(m,c.__s,h),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(u,g,w)})}if(c.context=h,c.props=m,c.__P=e,c.__e=!1,S=O.__r,k=0,"prototype"in P&&P.prototype.render){for(c.state=c.__s,c.__d=!1,S&&S(t),f=c.render(c.props,c.state,c.context),x=0;x<c._sb.length;x++)c.__h.push(c._sb[x]);c._sb=[]}else do c.__d=!1,S&&S(t),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++k<25);c.state=c.__s,c.getChildContext!=null&&(n=be(be({},n),c.getChildContext())),p||c.getSnapshotBeforeUpdate==null||(w=c.getSnapshotBeforeUpdate(u,g)),uo(e,rr(C=f!=null&&f.type===ae&&f.key==null?f.props.children:f)?C:[C],t,r,n,i,o,s,a,l,d),c.base=t.__e,t.__u&=-161,c.__h.length&&s.push(c),_&&(c.__E=c.__=null)}catch(R){t.__v=null,l||o!=null?(t.__e=a,t.__u|=l?160:32,o[o.indexOf(a)]=null):(t.__e=r.__e,t.__k=r.__k),O.__e(R,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=Xs(r.__e,t,r,n,i,o,s,l,d);(f=O.diffed)&&f(t)}function fo(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)mn(r[n],r[++n],r[++n]);O.__c&&O.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){O.__e(o,i.__v)}})}function Xs(e,t,r,n,i,o,s,a,l){var d,f,c,p,u,g,w,_=r.props,m=t.props,y=t.type;if(y==="svg"&&(i=!0),o!=null){for(d=0;d<o.length;d++)if((u=o[d])&&"setAttribute"in u==!!y&&(y?u.localName===y:u.nodeType===3)){e=u,o[d]=null;break}}if(e==null){if(y===null)return document.createTextNode(m);e=i?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,m.is&&m),o=null,a=!1}if(y===null)_===m||a&&e.data===m||(e.data=m);else{if(o=o&&xt.call(e.childNodes),_=r.props||ft,!a&&o!=null)for(_={},d=0;d<e.attributes.length;d++)_[(u=e.attributes[d]).name]=u.value;for(d in _)u=_[d],d=="children"||(d=="dangerouslySetInnerHTML"?c=u:d==="key"||d in m||It(e,d,null,u,i));for(d in m)u=m[d],d=="children"?p=u:d=="dangerouslySetInnerHTML"?f=u:d=="value"?g=u:d=="checked"?w=u:d==="key"||a&&typeof u!="function"||_[d]===u||It(e,d,u,_[d],i);if(f)a||c&&(f.__html===c.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(c&&(e.innerHTML=""),uo(e,rr(p)?p:[p],t,r,n,i&&y!=="foreignObject",o,s,o?o[0]:r.__k&&Ge(r,0),a,l),o!=null)for(d=o.length;d--;)o[d]!=null&&ao(o[d]);a||(d="value",g!==void 0&&(g!==e[d]||y==="progress"&&!g||y==="option"&&g!==_[d])&&It(e,d,g,_[d],!1),d="checked",w!==void 0&&w!==e[d]&&It(e,d,w,_[d],!1))}return e}function mn(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){O.__e(n,r)}}function Nr(e,t,r){var n,i;if(O.unmount&&O.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||mn(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){O.__e(o,t)}n.base=n.__P=null,e.__c=void 0}if(n=e.__k)for(i=0;i<n.length;i++)n[i]&&Nr(n[i],t,r||typeof e.type!="function");r||e.__e==null||ao(e.__e),e.__=e.__e=e.__d=void 0}function Zs(e,t,r){return this.constructor(e,r)}function Pe(e,t,r){var n,i,o,s;O.__&&O.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],s=[],hn(t,e=(!n&&r||t).__k=U(ae,null,[e]),i||ft,ft,t.ownerSVGElement!==void 0,!n&&r?[r]:i?null:t.firstChild?xt.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,s),fo(o,e,s)}function yn(e,t){Pe(e,t,yn)}function gn(e,t,r){var n,i,o,s,a=be({},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]:a[o]=t[o]===void 0&&s!==void 0?s[o]:t[o];return arguments.length>2&&(a.children=arguments.length>3?xt.call(arguments,2):r),at(e.type,a,n||e.key,i||e.ref,null)}function nr(e,t){var r={__c:t="__cC"+oo++,__:e,Consumer:function(n,i){return n.children(i)},Provider:function(n){var i,o;return this.getChildContext||(i=[],(o={})[t]=this,this.getChildContext=function(){return o},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&i.some(function(a){a.__e=!0,Fr(a)})},this.sub=function(s){i.push(s);var a=s.componentWillUnmount;s.componentWillUnmount=function(){i.splice(i.indexOf(s),1),a&&a.call(s)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}xt=so.slice,O={__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(a){e=a}throw e}},no=0,fe.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=be({},this.state),typeof e=="function"&&(e=e(be({},r),this.props)),e&&be(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),Fr(this))},fe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Fr(this))},fe.prototype.render=ae,Me=[],io=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Dr=function(e,t){return e.__v.__b-t.__v.__b},Ht.__r=0,oo=0;function _n(){return(_n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var ea=["context","children"];function ta(e){this.getChildContext=function(){return e.context};var t=e.children,r=function(n,i){if(n==null)return{};var o,s,a={},l=Object.keys(n);for(s=0;s<l.length;s++)i.indexOf(o=l[s])>=0||(a[o]=n[o]);return a}(e,ea);return gn(t,r)}function ra(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=U(ta,_n({},this._props,{context:e.detail.context}),function t(r,n){if(r.nodeType===3)return r.data;if(r.nodeType!==1)return null;var i=[],o={},s=0,a=r.attributes,l=r.childNodes;for(s=a.length;s--;)a[s].name!=="slot"&&(o[a[s].name]=a[s].value,o[po(a[s].name)]=a[s].value);for(s=l.length;s--;){var d=t(l[s],null),f=l[s].slot;f?o[f]=U(Gn,{name:f},d):i[s]=d}var c=n?U(Gn,null,i):i;return U(n||r.nodeName.toLowerCase(),o,c)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?yn:Pe)(this._vdom,this._root)}function po(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function na(e,t,r){if(this._vdom){var n={};n[e]=r=r??void 0,n[po(e)]=r,this._vdom=gn(this._vdom,n),Pe(this._vdom,this._root)}}function ia(){Pe(this._vdom=null,this._root)}function Gn(e,t){var r=this;return U("slot",_n({},e,{ref:function(n){n?(r.ref=n,r._listener||(r._listener=function(i){i.stopPropagation(),i.detail.context=t},n.addEventListener("_preact",r._listener))):r.ref.removeEventListener("_preact",r._listener)}}))}function oa(e,t,r,n){function i(){var o=Reflect.construct(HTMLElement,[],i);return o._vdomComponent=e,o._root=n&&n.shadow?o.attachShadow({mode:n.mode||"open"}):o,o}return(i.prototype=Object.create(HTMLElement.prototype)).constructor=i,i.prototype.connectedCallback=ra,i.prototype.attributeChangedCallback=na,i.prototype.disconnectedCallback=ia,r=r||e.observedAttributes||Object.keys(e.propTypes||{}),i.observedAttributes=r,r.forEach(function(o){Object.defineProperty(i.prototype,o,{get:function(){return this._vdom.props[o]},set:function(s){this._vdom?this.attributeChangedCallback(o,null,s):(this._props||(this._props={}),this._props[o]=s,this.connectedCallback());var a=typeof s;s!=null&&a!=="string"&&a!=="boolean"&&a!=="number"||this.setAttribute(o,s)}})}),customElements.define(t||e.tagName||e.displayName||e.name,i)}var xe,z,xr,Yn,Ye=0,ho=[],zt=[],Xn=O.__b,Zn=O.__r,ei=O.diffed,ti=O.__c,ri=O.unmount;function je(e,t){O.__h&&O.__h(z,e,Ye||t),Ye=0;var r=z.__H||(z.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:zt}),r.__[e]}function ve(e){return Ye=1,vn(go,e)}function vn(e,t,r){var n=je(xe++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):go(void 0,t),function(a){var l=n.__N?n.__N[0]:n.__[0],d=n.t(l,a);l!==d&&(n.__N=[d,n.__[1]],n.__c.setState({}))}],n.__c=z,!z.u)){var i=function(a,l,d){if(!n.__c.__H)return!0;var f=n.__c.__H.__.filter(function(p){return p.__c});if(f.every(function(p){return!p.__N}))return!o||o.call(this,a,l,d);var c=!1;return f.forEach(function(p){if(p.__N){var u=p.__[0];p.__=p.__N,p.__N=void 0,u!==p.__[0]&&(c=!0)}}),!(!c&&n.__c.props===a)&&(!o||o.call(this,a,l,d))};z.u=!0;var o=z.shouldComponentUpdate,s=z.componentWillUpdate;z.componentWillUpdate=function(a,l,d){if(this.__e){var f=o;o=void 0,i(a,l,d),o=f}s&&s.call(this,a,l,d)},z.shouldComponentUpdate=i}return n.__N||n.__}function Q(e,t){var r=je(xe++,3);!O.__s&&wn(r.__H,t)&&(r.__=e,r.i=t,z.__H.__h.push(r))}function ze(e,t){var r=je(xe++,4);!O.__s&&wn(r.__H,t)&&(r.__=e,r.i=t,z.__h.push(r))}function le(e){return Ye=5,Z(function(){return{current:e}},[])}function mo(e,t,r){Ye=6,ze(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r==null?r:r.concat(e))}function Z(e,t){var r=je(xe++,7);return wn(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function qe(e,t){return Ye=8,Z(function(){return e},t)}function tt(e){var t=z.context[e.__c],r=je(xe++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(z)),t.props.value):e.__}function Qt(e,t){O.useDebugValue&&O.useDebugValue(t?t(e):e)}function sa(e){var t=je(xe++,10),r=ve();return t.__=e,z.componentDidCatch||(z.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function yo(){var e=je(xe++,11);if(!e.__){for(var t=z.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function aa(){for(var e;e=ho.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Bt),e.__H.__h.forEach(Lr),e.__H.__h=[]}catch(t){e.__H.__h=[],O.__e(t,e.__v)}}O.__b=function(e){z=null,Xn&&Xn(e)},O.__r=function(e){Zn&&Zn(e),xe=0;var t=(z=e.__c).__H;t&&(xr===z?(t.__h=[],z.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=zt,r.__N=r.i=void 0})):(t.__h.forEach(Bt),t.__h.forEach(Lr),t.__h=[],xe=0)),xr=z},O.diffed=function(e){ei&&ei(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ho.push(t)!==1&&Yn===O.requestAnimationFrame||((Yn=O.requestAnimationFrame)||ca)(aa)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==zt&&(r.__=r.__V),r.i=void 0,r.__V=zt})),xr=z=null},O.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Bt),r.__h=r.__h.filter(function(n){return!n.__||Lr(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],O.__e(n,r.__v)}}),ti&&ti(e,t)},O.unmount=function(e){ri&&ri(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Bt(n)}catch(i){t=i}}),r.__H=void 0,t&&O.__e(t,r.__v))};var ni=typeof requestAnimationFrame=="function";function ca(e){var t,r=function(){clearTimeout(n),ni&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);ni&&(t=requestAnimationFrame(r))}function Bt(e){var t=z,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),z=t}function Lr(e){var t=z;e.__c=e.__(),z=t}function wn(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function go(e,t){return typeof t=="function"?t(e):t}function _o(e,t){for(var r in t)e[r]=t[r];return e}function jr(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function Vt(e){this.props=e}function vo(e,t){function r(i){var o=this.props.ref,s=o==i.ref;return!s&&o&&(o.call?o(null):o.current=null),t?!t(this.props,i)||!s:jr(this.props,i)}function n(i){return this.shouldComponentUpdate=r,U(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(Vt.prototype=new fe).isPureReactComponent=!0,Vt.prototype.shouldComponentUpdate=function(e,t){return jr(this.props,e)||jr(this.state,t)};var ii=O.__b;O.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ii&&ii(e)};var ua=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function bn(e){function t(r){var n=_o({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=ua,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var oi=function(e,t){return e==null?null:Se(Se(e).map(t))},wo={map:oi,forEach:oi,count:function(e){return e?Se(e).length:0},only:function(e){var t=Se(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Se},la=O.__e;O.__e=function(e,t,r,n){if(e.then){for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),i.__c(e,t)}la(e,t,r,n)};var si=O.unmount;function bo(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=_o({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return bo(n,t,r)})),e}function So(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return So(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function ct(){this.__u=0,this.t=null,this.__b=null}function xo(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ko(e){var t,r,n;function i(o){if(t||(t=e()).then(function(s){r=s.default||s},function(s){n=s}),n)throw n;if(!r)throw t;return U(r,o)}return i.displayName="Lazy",i.__f=!0,i}function He(){this.u=null,this.o=null}O.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),si&&si(e)},(ct.prototype=new fe).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=xo(n.__v),o=!1,s=function(){o||(o=!0,r.__R=null,i?i(a):a())};r.__R=s;var a=function(){if(!--n.__u){if(n.state.__a){var l=n.state.__a;n.__v.__k[0]=So(l,l.__c.__P,l.__c.__O)}var d;for(n.setState({__a:n.__b=null});d=n.t.pop();)d.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(s,s)},ct.prototype.componentWillUnmount=function(){this.t=[]},ct.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=bo(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&U(ae,null,e.fallback);return i&&(i.__u&=-33),[U(ae,null,t.__a?null:e.children),i]};var ai=function(e,t,r){if(++r[1]===r[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(r=e.u;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.u=r=r[2]}};function da(e){return this.getChildContext=function(){return e.context},e.children}function fa(e){var t=this,r=e.i;t.componentWillUnmount=function(){Pe(null,t.l),t.l=null,t.i=null},t.i&&t.i!==r&&t.componentWillUnmount(),t.l||(t.i=r,t.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),t.i.appendChild(n)},insertBefore:function(n,i){this.childNodes.push(n),t.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.i.removeChild(n)}}),Pe(U(da,{context:t.context},e.__v),t.l)}function Co(e,t){var r=U(fa,{__v:e,i:t});return r.containerInfo=t,r}(He.prototype=new fe).__a=function(e){var t=this,r=xo(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),ai(t,e,n)):i()};r?r(o):o()}},He.prototype.render=function(e){this.u=null,this.o=new Map;var t=Se(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},He.prototype.componentDidUpdate=He.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){ai(e,r,t)})};var Po=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,pa=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,ha=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ma=/[A-Z0-9]/g,ya=typeof document<"u",ga=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Ro(e,t,r){return t.__k==null&&(t.textContent=""),Pe(e,t),typeof r=="function"&&r(),e?e.__c:null}function Eo(e,t,r){return yn(e,t),typeof r=="function"&&r(),e?e.__c:null}fe.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(fe.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var ci=O.event;function _a(){}function va(){return this.cancelBubble}function wa(){return this.defaultPrevented}O.event=function(e){return ci&&(e=ci(e)),e.persist=_a,e.isPropagationStopped=va,e.isDefaultPrevented=wa,e.nativeEvent=e};var Sn,ba={enumerable:!1,configurable:!0,get:function(){return this.class}},ui=O.vnode;O.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,n=t.type,i={};for(var o in r){var s=r[o];if(!(o==="value"&&"defaultValue"in r&&s==null||ya&&o==="children"&&n==="noscript"||o==="class"||o==="className")){var a=o.toLowerCase();o==="defaultValue"&&"value"in r&&r.value==null?o="value":o==="download"&&s===!0?s="":a==="ondoubleclick"?o="ondblclick":a!=="onchange"||n!=="input"&&n!=="textarea"||ga(r.type)?a==="onfocus"?o="onfocusin":a==="onblur"?o="onfocusout":ha.test(o)?o=a:n.indexOf("-")===-1&&pa.test(o)?o=o.replace(ma,"-$&").toLowerCase():s===null&&(s=void 0):a=o="oninput",a==="oninput"&&i[o=a]&&(o="oninputCapture"),i[o]=s}}n=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=Se(r.children).forEach(function(l){l.props.selected=i.value.indexOf(l.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=Se(r.children).forEach(function(l){l.props.selected=i.multiple?i.defaultValue.indexOf(l.props.value)!=-1:i.defaultValue==l.props.value})),r.class&&!r.className?(i.class=r.class,Object.defineProperty(i,"className",ba)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=Po,ui&&ui(e)};var li=O.__r;O.__r=function(e){li&&li(e),Sn=e.__c};var di=O.diffed;O.diffed=function(e){di&&di(e);var t=e.props,r=e.__e;r!=null&&e.type==="textarea"&&"value"in t&&t.value!==r.value&&(r.value=t.value==null?"":t.value),Sn=null};var To={ReactCurrentDispatcher:{current:{readContext:function(e){return Sn.__n[e.__c].props.value}}}},Sa="17.0.2";function Ao(e){return U.bind(null,e)}function Ct(e){return!!e&&e.$$typeof===Po}function Oo(e){return Ct(e)&&e.type===ae}function Mo(e){return Ct(e)?gn.apply(null,arguments):e}function $o(e){return!!e.__k&&(Pe(null,e),!0)}function Io(e){return e&&(e.base||e.nodeType===1&&e)||null}var Do=function(e,t){return e(t)},Fo=function(e,t){return e(t)},No=ae;function xn(e){e()}function Lo(e){return e}function jo(){return[!1,xn]}var zo=ze,Bo=Ct;function Wo(e,t){var r=t(),n=ve({h:{__:r,v:t}}),i=n[0].h,o=n[1];return ze(function(){i.__=r,i.v=t,kr(i)&&o({h:i})},[e,r,t]),Q(function(){return kr(i)&&o({h:i}),e(function(){kr(i)&&o({h:i})})},[e]),r}function kr(e){var t,r,n=e.v,i=e.__;try{var o=n();return!((t=i)===(r=o)&&(t!==0||1/t==1/r)||t!=t&&r!=r)}catch{return!0}}var Uo={useState:ve,useId:yo,useReducer:vn,useEffect:Q,useLayoutEffect:ze,useInsertionEffect:zo,useTransition:jo,useDeferredValue:Lo,useSyncExternalStore:Wo,startTransition:xn,useRef:le,useImperativeHandle:mo,useMemo:Z,useCallback:qe,useContext:tt,useDebugValue:Qt,version:"17.0.2",Children:wo,render:Ro,hydrate:Eo,unmountComponentAtNode:$o,createPortal:Co,createElement:U,createContext:nr,createFactory:Ao,cloneElement:Mo,createRef:kt,Fragment:ae,isValidElement:Ct,isElement:Bo,isFragment:Oo,findDOMNode:Io,Component:fe,PureComponent:Vt,memo:vo,forwardRef:bn,flushSync:Fo,unstable_batchedUpdates:Do,StrictMode:No,Suspense:ct,SuspenseList:He,lazy:ko,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:To};const pt=Object.freeze(Object.defineProperty({__proto__:null,Children:wo,Component:fe,Fragment:ae,PureComponent:Vt,StrictMode:No,Suspense:ct,SuspenseList:He,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:To,cloneElement:Mo,createContext:nr,createElement:U,createFactory:Ao,createPortal:Co,createRef:kt,default:Uo,findDOMNode:Io,flushSync:Fo,forwardRef:bn,hydrate:Eo,isElement:Bo,isFragment:Oo,isValidElement:Ct,lazy:ko,memo:vo,render:Ro,startTransition:xn,unmountComponentAtNode:$o,unstable_batchedUpdates:Do,useCallback:qe,useContext:tt,useDebugValue:Qt,useDeferredValue:Lo,useEffect:Q,useErrorBoundary:sa,useId:yo,useImperativeHandle:mo,useInsertionEffect:zo,useLayoutEffect:ze,useMemo:Z,useReducer:vn,useRef:le,useState:ve,useSyncExternalStore:Wo,useTransition:jo,version:Sa},Symbol.toStringTag,{value:"Module"}));function xa(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function ka(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Ca=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(ka(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=xa(i);try{o.insertRule(n,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0},e}(),X="-ms-",Kt="-moz-",D="-webkit-",qo="comm",kn="rule",Cn="decl",Pa="@import",Ho="@keyframes",Ra="@layer",Ea=Math.abs,ir=String.fromCharCode,Ta=Object.assign;function Aa(e,t){return G(e,0)^45?(((t<<2^G(e,0))<<2^G(e,1))<<2^G(e,2))<<2^G(e,3):0}function Qo(e){return e.trim()}function Oa(e,t){return(e=t.exec(e))?e[0]:e}function F(e,t,r){return e.replace(t,r)}function zr(e,t){return e.indexOf(t)}function G(e,t){return e.charCodeAt(t)|0}function ht(e,t,r){return e.slice(t,r)}function ye(e){return e.length}function Pn(e){return e.length}function Dt(e,t){return t.push(e),e}function Ma(e,t){return e.map(t).join("")}var or=1,Xe=1,Vo=0,ne=0,q=0,rt="";function sr(e,t,r,n,i,o,s){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:or,column:Xe,length:s,return:""}}function nt(e,t){return Ta(sr("",null,null,"",null,null,0),e,{length:-e.length},t)}function $a(){return q}function Ia(){return q=ne>0?G(rt,--ne):0,Xe--,q===10&&(Xe=1,or--),q}function se(){return q=ne<Vo?G(rt,ne++):0,Xe++,q===10&&(Xe=1,or++),q}function _e(){return G(rt,ne)}function Wt(){return ne}function Pt(e,t){return ht(rt,e,t)}function mt(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ko(e){return or=Xe=1,Vo=ye(rt=e),ne=0,[]}function Jo(e){return rt="",e}function Ut(e){return Qo(Pt(ne-1,Br(e===91?e+2:e===40?e+1:e)))}function Da(e){for(;(q=_e())&&q<33;)se();return mt(e)>2||mt(q)>3?"":" "}function Fa(e,t){for(;--t&&se()&&!(q<48||q>102||q>57&&q<65||q>70&&q<97););return Pt(e,Wt()+(t<6&&_e()==32&&se()==32))}function Br(e){for(;se();)switch(q){case e:return ne;case 34:case 39:e!==34&&e!==39&&Br(q);break;case 40:e===41&&Br(e);break;case 92:se();break}return ne}function Na(e,t){for(;se()&&e+q!==57;)if(e+q===84&&_e()===47)break;return"/*"+Pt(t,ne-1)+"*"+ir(e===47?e:se())}function La(e){for(;!mt(_e());)se();return Pt(e,ne)}function ja(e){return Jo(qt("",null,null,null,[""],e=Ko(e),0,[0],e))}function qt(e,t,r,n,i,o,s,a,l){for(var d=0,f=0,c=s,p=0,u=0,g=0,w=1,_=1,m=1,y=0,h="",v=i,S=o,k=n,x=h;_;)switch(g=y,y=se()){case 40:if(g!=108&&G(x,c-1)==58){zr(x+=F(Ut(y),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:x+=Ut(y);break;case 9:case 10:case 13:case 32:x+=Da(g);break;case 92:x+=Fa(Wt()-1,7);continue;case 47:switch(_e()){case 42:case 47:Dt(za(Na(se(),Wt()),t,r),l);break;default:x+="/"}break;case 123*w:a[d++]=ye(x)*m;case 125*w:case 59:case 0:switch(y){case 0:case 125:_=0;case 59+f:m==-1&&(x=F(x,/\f/g,"")),u>0&&ye(x)-c&&Dt(u>32?pi(x+";",n,r,c-1):pi(F(x," ","")+";",n,r,c-2),l);break;case 59:x+=";";default:if(Dt(k=fi(x,t,r,d,f,i,a,h,v=[],S=[],c),o),y===123)if(f===0)qt(x,t,k,k,v,o,c,a,S);else switch(p===99&&G(x,3)===110?100:p){case 100:case 108:case 109:case 115:qt(e,k,k,n&&Dt(fi(e,k,k,0,0,i,a,h,i,v=[],c),S),i,S,c,a,n?v:S);break;default:qt(x,k,k,k,[""],S,0,a,S)}}d=f=u=0,w=m=1,h=x="",c=s;break;case 58:c=1+ye(x),u=g;default:if(w<1){if(y==123)--w;else if(y==125&&w++==0&&Ia()==125)continue}switch(x+=ir(y),y*w){case 38:m=f>0?1:(x+="\f",-1);break;case 44:a[d++]=(ye(x)-1)*m,m=1;break;case 64:_e()===45&&(x+=Ut(se())),p=_e(),f=c=ye(h=x+=La(Wt())),y++;break;case 45:g===45&&ye(x)==2&&(w=0)}}return o}function fi(e,t,r,n,i,o,s,a,l,d,f){for(var c=i-1,p=i===0?o:[""],u=Pn(p),g=0,w=0,_=0;g<n;++g)for(var m=0,y=ht(e,c+1,c=Ea(w=s[g])),h=e;m<u;++m)(h=Qo(w>0?p[m]+" "+y:F(y,/&\f/g,p[m])))&&(l[_++]=h);return sr(e,t,r,i===0?kn:a,l,d,f)}function za(e,t,r){return sr(e,t,r,qo,ir($a()),ht(e,2,-2),0)}function pi(e,t,r,n){return sr(e,t,r,Cn,ht(e,0,n),ht(e,n+1,-1),n)}function Ve(e,t){for(var r="",n=Pn(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function Ba(e,t,r,n){switch(e.type){case Ra:if(e.children.length)break;case Pa:case Cn:return e.return=e.return||e.value;case qo:return"";case Ho:return e.return=e.value+"{"+Ve(e.children,n)+"}";case kn:e.value=e.props.join(",")}return ye(r=Ve(e.children,n))?e.return=e.value+"{"+r+"}":""}function Wa(e){var t=Pn(e);return function(r,n,i,o){for(var s="",a=0;a<t;a++)s+=e[a](r,n,i,o)||"";return s}}function Ua(e){return function(t){t.root||(t=t.return)&&e(t)}}function Go(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var qa=function(t,r,n){for(var i=0,o=0;i=o,o=_e(),i===38&&o===12&&(r[n]=1),!mt(o);)se();return Pt(t,ne)},Ha=function(t,r){var n=-1,i=44;do switch(mt(i)){case 0:i===38&&_e()===12&&(r[n]=1),t[n]+=qa(ne-1,r,n);break;case 2:t[n]+=Ut(i);break;case 4:if(i===44){t[++n]=_e()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=ir(i)}while(i=se());return t},Qa=function(t,r){return Jo(Ha(Ko(t),r))},hi=new WeakMap,Va=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!hi.get(n))&&!i){hi.set(t,!0);for(var o=[],s=Qa(r,o),a=n.props,l=0,d=0;l<s.length;l++)for(var f=0;f<a.length;f++,d++)t.props[d]=o[l]?s[l].replace(/&\f/g,a[f]):a[f]+" "+s[l]}}},Ka=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Yo(e,t){switch(Aa(e,t)){case 5103:return D+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return D+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return D+e+Kt+e+X+e+e;case 6828:case 4268:return D+e+X+e+e;case 6165:return D+e+X+"flex-"+e+e;case 5187:return D+e+F(e,/(\w+).+(:[^]+)/,D+"box-$1$2"+X+"flex-$1$2")+e;case 5443:return D+e+X+"flex-item-"+F(e,/flex-|-self/,"")+e;case 4675:return D+e+X+"flex-line-pack"+F(e,/align-content|flex-|-self/,"")+e;case 5548:return D+e+X+F(e,"shrink","negative")+e;case 5292:return D+e+X+F(e,"basis","preferred-size")+e;case 6060:return D+"box-"+F(e,"-grow","")+D+e+X+F(e,"grow","positive")+e;case 4554:return D+F(e,/([^-])(transform)/g,"$1"+D+"$2")+e;case 6187:return F(F(F(e,/(zoom-|grab)/,D+"$1"),/(image-set)/,D+"$1"),e,"")+e;case 5495:case 3959:return F(e,/(image-set\([^]*)/,D+"$1$`$1");case 4968:return F(F(e,/(.+:)(flex-)?(.*)/,D+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+D+e+e;case 4095:case 3583:case 4068:case 2532:return F(e,/(.+)-inline(.+)/,D+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ye(e)-1-t>6)switch(G(e,t+1)){case 109:if(G(e,t+4)!==45)break;case 102:return F(e,/(.+:)(.+)-([^]+)/,"$1"+D+"$2-$3$1"+Kt+(G(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~zr(e,"stretch")?Yo(F(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(G(e,t+1)!==115)break;case 6444:switch(G(e,ye(e)-3-(~zr(e,"!important")&&10))){case 107:return F(e,":",":"+D)+e;case 101:return F(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+D+(G(e,14)===45?"inline-":"")+"box$3$1"+D+"$2$3$1"+X+"$2box$3")+e}break;case 5936:switch(G(e,t+11)){case 114:return D+e+X+F(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return D+e+X+F(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return D+e+X+F(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return D+e+X+e+e}return e}var Ja=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case Cn:t.return=Yo(t.value,t.length);break;case Ho:return Ve([nt(t,{value:F(t.value,"@","@"+D)})],i);case kn:if(t.length)return Ma(t.props,function(o){switch(Oa(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ve([nt(t,{props:[F(o,/:(read-\w+)/,":"+Kt+"$1")]})],i);case"::placeholder":return Ve([nt(t,{props:[F(o,/:(plac\w+)/,":"+D+"input-$1")]}),nt(t,{props:[F(o,/:(plac\w+)/,":"+Kt+"$1")]}),nt(t,{props:[F(o,/:(plac\w+)/,X+"input-$1")]})],i)}return""})}},Ga=[Ja],Xo=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(w){var _=w.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(w),w.setAttribute("data-s",""))})}var i=t.stylisPlugins||Ga,o={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(w){for(var _=w.getAttribute("data-emotion").split(" "),m=1;m<_.length;m++)o[_[m]]=!0;a.push(w)});var l,d=[Va,Ka];{var f,c=[Ba,Ua(function(w){f.insert(w)})],p=Wa(d.concat(i,c)),u=function(_){return Ve(ja(_),p)};l=function(_,m,y,h){f=y,u(_?_+"{"+m.styles+"}":m.styles),h&&(g.inserted[m.name]=!0)}}var g={key:r,sheet:new Ca({key:r,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:l};return g.sheet.hydrate(a),g};function Wr(){return Wr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Wr.apply(this,arguments)}function Ya(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var Zo={exports:{}},L={};/** @license React v16.13.1
|
1
|
+
var Js=Object.defineProperty;var Gs=(e,t,r)=>t in e?Js(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Pr=(e,t,r)=>(Gs(e,typeof t!="symbol"?t+"":t,r),r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}})();var Tt,O,so,$e,Jn,ao,zr,co,mt={},uo=[],Ys=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,ar=Array.isArray;function we(e,t){for(var r in t)e[r]=t[r];return e}function lo(e){var t=e.parentNode;t&&t.removeChild(e)}function U(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?Tt.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 lt(e,s,n,i,null)}function lt(e,t,r,n,i){var o={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i??++so,__i:-1,__u:0};return i==null&&O.vnode!=null&&O.vnode(o),o}function Pt(){return{current:null}}function ae(e){return e.children}function fe(e,t){this.props=e,this.context=t}function Ze(e,t){if(t==null)return e.__?Ze(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"?Ze(e):null}function fo(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return fo(e)}}function Br(e){(!e.__d&&(e.__d=!0)&&$e.push(e)&&!Jt.__r++||Jn!==O.debounceRendering)&&((Jn=O.debounceRendering)||ao)(Jt)}function Jt(){var e,t,r,n,i,o,s,a,c;for($e.sort(zr);e=$e.shift();)e.__d&&(t=$e.length,n=void 0,o=(i=(r=e).__v).__e,a=[],c=[],(s=r.__P)&&((n=we({},i)).__v=i.__v+1,O.vnode&&O.vnode(n),_n(s,n,i,r.__n,s.ownerSVGElement!==void 0,32&i.__u?[o]:null,a,o??Ze(i),!!(32&i.__u),c),n.__.__k[n.__i]=n,mo(a,n,c),n.__e!=o&&fo(n)),$e.length>t&&$e.sort(zr));Jt.__r=0}function po(e,t,r,n,i,o,s,a,c,d,f){var u,p,l,g,b,_=n&&n.__k||uo,m=t.length;for(r.__d=c,Xs(r,t,_),c=r.__d,u=0;u<m;u++)(l=r.__k[u])!=null&&typeof l!="boolean"&&typeof l!="function"&&(p=l.__i===-1?mt:_[l.__i]||mt,l.__i=u,_n(e,l,p,i,o,s,a,c,d,f),g=l.__e,l.ref&&p.ref!=l.ref&&(p.ref&&vn(p.ref,null,l),f.push(l.ref,l.__c||g,l)),b==null&&g!=null&&(b=g),65536&l.__u||p.__k===l.__k?c=ho(l,c,e):typeof l.type=="function"&&l.__d!==void 0?c=l.__d:g&&(c=g.nextSibling),l.__d=void 0,l.__u&=-196609);r.__d=c,r.__e=b}function Xs(e,t,r){var n,i,o,s,a,c=t.length,d=r.length,f=d,u=0;for(e.__k=[],n=0;n<c;n++)(i=e.__k[n]=(i=t[n])==null||typeof i=="boolean"||typeof i=="function"?null:typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?lt(null,i,null,null,i):ar(i)?lt(ae,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?lt(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)!=null?(i.__=e,i.__b=e.__b+1,a=Zs(i,r,s=n+u,f),i.__i=a,o=null,a!==-1&&(f--,(o=r[a])&&(o.__u|=131072)),o==null||o.__v===null?(a==-1&&u--,typeof i.type!="function"&&(i.__u|=65536)):a!==s&&(a===s+1?u++:a>s?f>c-s?u+=a-s:u--:u=a<s&&a==s-1?a-s:0,a!==n+u&&(i.__u|=65536))):(o=r[n])&&o.key==null&&o.__e&&(o.__e==e.__d&&(e.__d=Ze(o)),Wr(o,o,!1),r[n]=null,f--);if(f)for(n=0;n<d;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=Ze(o)),Wr(o,o))}function ho(e,t,r){var n,i;if(typeof e.type=="function"){for(n=e.__k,i=0;n&&i<n.length;i++)n[i]&&(n[i].__=e,t=ho(n[i],t,r));return t}return e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function Se(e,t){return t=t||[],e==null||typeof e=="boolean"||(ar(e)?e.some(function(r){Se(r,t)}):t.push(e)),t}function Zs(e,t,r,n){var i=e.key,o=e.type,s=r-1,a=r+1,c=t[r];if(c===null||c&&i==c.key&&o===c.type)return r;if(n>(c!=null&&!(131072&c.__u)?1:0))for(;s>=0||a<t.length;){if(s>=0){if((c=t[s])&&!(131072&c.__u)&&i==c.key&&o===c.type)return s;s--}if(a<t.length){if((c=t[a])&&!(131072&c.__u)&&i==c.key&&o===c.type)return a;a++}}return-1}function Gn(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||Ys.test(t)?r:r+"px"}function Dt(e,t,r,n,i){var o;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||Gn(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Gn(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")o=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?n?r.u=n.u:(r.u=Date.now(),e.addEventListener(t,o?Xn:Yn,o)):e.removeEventListener(t,o?Xn:Yn,o);else{if(i)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 in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,r))}}function Yn(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(O.event?O.event(e):e)}function Xn(e){return this.l[e.type+!0](O.event?O.event(e):e)}function _n(e,t,r,n,i,o,s,a,c,d){var f,u,p,l,g,b,_,m,y,h,v,S,k,x,C,T=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(c=!!(32&r.__u),o=[a=t.__e=r.__e]),(f=O.__b)&&f(t);e:if(typeof T=="function")try{if(m=t.props,y=(f=T.contextType)&&n[f.__c],h=f?y?y.props.value:f.__:n,r.__c?_=(u=t.__c=r.__c).__=u.__E:("prototype"in T&&T.prototype.render?t.__c=u=new T(m,h):(t.__c=u=new fe(m,h),u.constructor=T,u.render=ta),y&&y.sub(u),u.props=m,u.state||(u.state={}),u.context=h,u.__n=n,p=u.__d=!0,u.__h=[],u._sb=[]),u.__s==null&&(u.__s=u.state),T.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=we({},u.__s)),we(u.__s,T.getDerivedStateFromProps(m,u.__s))),l=u.props,g=u.state,u.__v=t,p)T.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(T.getDerivedStateFromProps==null&&m!==l&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(m,h),!u.__e&&(u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(m,u.__s,h)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(u.props=m,u.state=u.__s,u.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(P){P&&(P.__=t)}),v=0;v<u._sb.length;v++)u.__h.push(u._sb[v]);u._sb=[],u.__h.length&&s.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(m,u.__s,h),u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(l,g,b)})}if(u.context=h,u.props=m,u.__P=e,u.__e=!1,S=O.__r,k=0,"prototype"in T&&T.prototype.render){for(u.state=u.__s,u.__d=!1,S&&S(t),f=u.render(u.props,u.state,u.context),x=0;x<u._sb.length;x++)u.__h.push(u._sb[x]);u._sb=[]}else do u.__d=!1,S&&S(t),f=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++k<25);u.state=u.__s,u.getChildContext!=null&&(n=we(we({},n),u.getChildContext())),p||u.getSnapshotBeforeUpdate==null||(b=u.getSnapshotBeforeUpdate(l,g)),po(e,ar(C=f!=null&&f.type===ae&&f.key==null?f.props.children:f)?C:[C],t,r,n,i,o,s,a,c,d),u.base=t.__e,t.__u&=-161,u.__h.length&&s.push(u),_&&(u.__E=u.__=null)}catch(P){t.__v=null,c||o!=null?(t.__e=a,t.__u|=c?160:32,o[o.indexOf(a)]=null):(t.__e=r.__e,t.__k=r.__k),O.__e(P,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=ea(r.__e,t,r,n,i,o,s,c,d);(f=O.diffed)&&f(t)}function mo(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)vn(r[n],r[++n],r[++n]);O.__c&&O.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){O.__e(o,i.__v)}})}function ea(e,t,r,n,i,o,s,a,c){var d,f,u,p,l,g,b,_=r.props,m=t.props,y=t.type;if(y==="svg"&&(i=!0),o!=null){for(d=0;d<o.length;d++)if((l=o[d])&&"setAttribute"in l==!!y&&(y?l.localName===y:l.nodeType===3)){e=l,o[d]=null;break}}if(e==null){if(y===null)return document.createTextNode(m);e=i?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,m.is&&m),o=null,a=!1}if(y===null)_===m||a&&e.data===m||(e.data=m);else{if(o=o&&Tt.call(e.childNodes),_=r.props||mt,!a&&o!=null)for(_={},d=0;d<e.attributes.length;d++)_[(l=e.attributes[d]).name]=l.value;for(d in _)l=_[d],d=="children"||(d=="dangerouslySetInnerHTML"?u=l:d==="key"||d in m||Dt(e,d,null,l,i));for(d in m)l=m[d],d=="children"?p=l:d=="dangerouslySetInnerHTML"?f=l:d=="value"?g=l:d=="checked"?b=l:d==="key"||a&&typeof l!="function"||_[d]===l||Dt(e,d,l,_[d],i);if(f)a||u&&(f.__html===u.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(u&&(e.innerHTML=""),po(e,ar(p)?p:[p],t,r,n,i&&y!=="foreignObject",o,s,o?o[0]:r.__k&&Ze(r,0),a,c),o!=null)for(d=o.length;d--;)o[d]!=null&&lo(o[d]);a||(d="value",g!==void 0&&(g!==e[d]||y==="progress"&&!g||y==="option"&&g!==_[d])&&Dt(e,d,g,_[d],!1),d="checked",b!==void 0&&b!==e[d]&&Dt(e,d,b,_[d],!1))}return e}function vn(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){O.__e(n,r)}}function Wr(e,t,r){var n,i;if(O.unmount&&O.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||vn(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){O.__e(o,t)}n.base=n.__P=null,e.__c=void 0}if(n=e.__k)for(i=0;i<n.length;i++)n[i]&&Wr(n[i],t,r||typeof e.type!="function");r||e.__e==null||lo(e.__e),e.__=e.__e=e.__d=void 0}function ta(e,t,r){return this.constructor(e,r)}function Pe(e,t,r){var n,i,o,s;O.__&&O.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],s=[],_n(t,e=(!n&&r||t).__k=U(ae,null,[e]),i||mt,mt,t.ownerSVGElement!==void 0,!n&&r?[r]:i?null:t.firstChild?Tt.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,s),mo(o,e,s)}function bn(e,t){Pe(e,t,bn)}function wn(e,t,r){var n,i,o,s,a=we({},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]:a[o]=t[o]===void 0&&s!==void 0?s[o]:t[o];return arguments.length>2&&(a.children=arguments.length>3?Tt.call(arguments,2):r),lt(e.type,a,n||e.key,i||e.ref,null)}function cr(e,t){var r={__c:t="__cC"+co++,__:e,Consumer:function(n,i){return n.children(i)},Provider:function(n){var i,o;return this.getChildContext||(i=[],(o={})[t]=this,this.getChildContext=function(){return o},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&i.some(function(a){a.__e=!0,Br(a)})},this.sub=function(s){i.push(s);var a=s.componentWillUnmount;s.componentWillUnmount=function(){i.splice(i.indexOf(s),1),a&&a.call(s)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}Tt=uo.slice,O={__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(a){e=a}throw e}},so=0,fe.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=we({},this.state),typeof e=="function"&&(e=e(we({},r),this.props)),e&&we(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),Br(this))},fe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Br(this))},fe.prototype.render=ae,$e=[],ao=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,zr=function(e,t){return e.__v.__b-t.__v.__b},Jt.__r=0,co=0;function Sn(){return(Sn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var ra=["context","children"];function na(e){this.getChildContext=function(){return e.context};var t=e.children,r=function(n,i){if(n==null)return{};var o,s,a={},c=Object.keys(n);for(s=0;s<c.length;s++)i.indexOf(o=c[s])>=0||(a[o]=n[o]);return a}(e,ra);return wn(t,r)}function ia(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=U(na,Sn({},this._props,{context:e.detail.context}),function t(r,n){if(r.nodeType===3)return r.data;if(r.nodeType!==1)return null;var i=[],o={},s=0,a=r.attributes,c=r.childNodes;for(s=a.length;s--;)a[s].name!=="slot"&&(o[a[s].name]=a[s].value,o[yo(a[s].name)]=a[s].value);for(s=c.length;s--;){var d=t(c[s],null),f=c[s].slot;f?o[f]=U(Zn,{name:f},d):i[s]=d}var u=n?U(Zn,null,i):i;return U(n||r.nodeName.toLowerCase(),o,u)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?bn:Pe)(this._vdom,this._root)}function yo(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function oa(e,t,r){if(this._vdom){var n={};n[e]=r=r??void 0,n[yo(e)]=r,this._vdom=wn(this._vdom,n),Pe(this._vdom,this._root)}}function sa(){Pe(this._vdom=null,this._root)}function Zn(e,t){var r=this;return U("slot",Sn({},e,{ref:function(n){n?(r.ref=n,r._listener||(r._listener=function(i){i.stopPropagation(),i.detail.context=t},n.addEventListener("_preact",r._listener))):r.ref.removeEventListener("_preact",r._listener)}}))}function aa(e,t,r,n){function i(){var o=Reflect.construct(HTMLElement,[],i);return o._vdomComponent=e,o._root=n&&n.shadow?o.attachShadow({mode:n.mode||"open"}):o,o}return(i.prototype=Object.create(HTMLElement.prototype)).constructor=i,i.prototype.connectedCallback=ia,i.prototype.attributeChangedCallback=oa,i.prototype.disconnectedCallback=sa,r=r||e.observedAttributes||Object.keys(e.propTypes||{}),i.observedAttributes=r,r.forEach(function(o){Object.defineProperty(i.prototype,o,{get:function(){return this._vdom.props[o]},set:function(s){this._vdom?this.attributeChangedCallback(o,null,s):(this._props||(this._props={}),this._props[o]=s,this.connectedCallback());var a=typeof s;s!=null&&a!=="string"&&a!=="boolean"&&a!=="number"||this.setAttribute(o,s)}})}),customElements.define(t||e.tagName||e.displayName||e.name,i)}var xe,z,Rr,ei,et=0,go=[],qt=[],ti=O.__b,ri=O.__r,ni=O.diffed,ii=O.__c,oi=O.unmount;function Be(e,t){O.__h&&O.__h(z,e,et||t),et=0;var r=z.__H||(z.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:qt}),r.__[e]}function ve(e){return et=1,xn(bo,e)}function xn(e,t,r){var n=Be(xe++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):bo(void 0,t),function(a){var c=n.__N?n.__N[0]:n.__[0],d=n.t(c,a);c!==d&&(n.__N=[d,n.__[1]],n.__c.setState({}))}],n.__c=z,!z.u)){var i=function(a,c,d){if(!n.__c.__H)return!0;var f=n.__c.__H.__.filter(function(p){return p.__c});if(f.every(function(p){return!p.__N}))return!o||o.call(this,a,c,d);var u=!1;return f.forEach(function(p){if(p.__N){var l=p.__[0];p.__=p.__N,p.__N=void 0,l!==p.__[0]&&(u=!0)}}),!(!u&&n.__c.props===a)&&(!o||o.call(this,a,c,d))};z.u=!0;var o=z.shouldComponentUpdate,s=z.componentWillUpdate;z.componentWillUpdate=function(a,c,d){if(this.__e){var f=o;o=void 0,i(a,c,d),o=f}s&&s.call(this,a,c,d)},z.shouldComponentUpdate=i}return n.__N||n.__}function Q(e,t){var r=Be(xe++,3);!O.__s&&kn(r.__H,t)&&(r.__=e,r.i=t,z.__H.__h.push(r))}function We(e,t){var r=Be(xe++,4);!O.__s&&kn(r.__H,t)&&(r.__=e,r.i=t,z.__h.push(r))}function le(e){return et=5,Z(function(){return{current:e}},[])}function _o(e,t,r){et=6,We(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r==null?r:r.concat(e))}function Z(e,t){var r=Be(xe++,7);return kn(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function Qe(e,t){return et=8,Z(function(){return e},t)}function it(e){var t=z.context[e.__c],r=Be(xe++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(z)),t.props.value):e.__}function Gt(e,t){O.useDebugValue&&O.useDebugValue(t?t(e):e)}function ca(e){var t=Be(xe++,10),r=ve();return t.__=e,z.componentDidCatch||(z.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function vo(){var e=Be(xe++,11);if(!e.__){for(var t=z.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function ua(){for(var e;e=go.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Ht),e.__H.__h.forEach(Ur),e.__H.__h=[]}catch(t){e.__H.__h=[],O.__e(t,e.__v)}}O.__b=function(e){z=null,ti&&ti(e)},O.__r=function(e){ri&&ri(e),xe=0;var t=(z=e.__c).__H;t&&(Rr===z?(t.__h=[],z.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=qt,r.__N=r.i=void 0})):(t.__h.forEach(Ht),t.__h.forEach(Ur),t.__h=[],xe=0)),Rr=z},O.diffed=function(e){ni&&ni(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(go.push(t)!==1&&ei===O.requestAnimationFrame||((ei=O.requestAnimationFrame)||la)(ua)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==qt&&(r.__=r.__V),r.i=void 0,r.__V=qt})),Rr=z=null},O.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Ht),r.__h=r.__h.filter(function(n){return!n.__||Ur(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],O.__e(n,r.__v)}}),ii&&ii(e,t)},O.unmount=function(e){oi&&oi(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Ht(n)}catch(i){t=i}}),r.__H=void 0,t&&O.__e(t,r.__v))};var si=typeof requestAnimationFrame=="function";function la(e){var t,r=function(){clearTimeout(n),si&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);si&&(t=requestAnimationFrame(r))}function Ht(e){var t=z,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),z=t}function Ur(e){var t=z;e.__c=e.__(),z=t}function kn(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function bo(e,t){return typeof t=="function"?t(e):t}function wo(e,t){for(var r in t)e[r]=t[r];return e}function qr(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function Yt(e){this.props=e}function So(e,t){function r(i){var o=this.props.ref,s=o==i.ref;return!s&&o&&(o.call?o(null):o.current=null),t?!t(this.props,i)||!s:qr(this.props,i)}function n(i){return this.shouldComponentUpdate=r,U(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(Yt.prototype=new fe).isPureReactComponent=!0,Yt.prototype.shouldComponentUpdate=function(e,t){return qr(this.props,e)||qr(this.state,t)};var ai=O.__b;O.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ai&&ai(e)};var da=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Cn(e){function t(r){var n=wo({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=da,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ci=function(e,t){return e==null?null:Se(Se(e).map(t))},xo={map:ci,forEach:ci,count:function(e){return e?Se(e).length:0},only:function(e){var t=Se(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Se},fa=O.__e;O.__e=function(e,t,r,n){if(e.then){for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),i.__c(e,t)}fa(e,t,r,n)};var ui=O.unmount;function ko(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=wo({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return ko(n,t,r)})),e}function Co(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Co(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function dt(){this.__u=0,this.t=null,this.__b=null}function To(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Po(e){var t,r,n;function i(o){if(t||(t=e()).then(function(s){r=s.default||s},function(s){n=s}),n)throw n;if(!r)throw t;return U(r,o)}return i.displayName="Lazy",i.__f=!0,i}function Ve(){this.u=null,this.o=null}O.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),ui&&ui(e)},(dt.prototype=new fe).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=To(n.__v),o=!1,s=function(){o||(o=!0,r.__R=null,i?i(a):a())};r.__R=s;var a=function(){if(!--n.__u){if(n.state.__a){var c=n.state.__a;n.__v.__k[0]=Co(c,c.__c.__P,c.__c.__O)}var d;for(n.setState({__a:n.__b=null});d=n.t.pop();)d.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(s,s)},dt.prototype.componentWillUnmount=function(){this.t=[]},dt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=ko(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&U(ae,null,e.fallback);return i&&(i.__u&=-33),[U(ae,null,t.__a?null:e.children),i]};var li=function(e,t,r){if(++r[1]===r[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(r=e.u;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.u=r=r[2]}};function pa(e){return this.getChildContext=function(){return e.context},e.children}function ha(e){var t=this,r=e.i;t.componentWillUnmount=function(){Pe(null,t.l),t.l=null,t.i=null},t.i&&t.i!==r&&t.componentWillUnmount(),t.l||(t.i=r,t.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),t.i.appendChild(n)},insertBefore:function(n,i){this.childNodes.push(n),t.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.i.removeChild(n)}}),Pe(U(pa,{context:t.context},e.__v),t.l)}function Ro(e,t){var r=U(ha,{__v:e,i:t});return r.containerInfo=t,r}(Ve.prototype=new fe).__a=function(e){var t=this,r=To(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),li(t,e,n)):i()};r?r(o):o()}},Ve.prototype.render=function(e){this.u=null,this.o=new Map;var t=Se(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},Ve.prototype.componentDidUpdate=Ve.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){li(e,r,t)})};var Eo=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,ma=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,ya=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ga=/[A-Z0-9]/g,_a=typeof document<"u",va=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Ao(e,t,r){return t.__k==null&&(t.textContent=""),Pe(e,t),typeof r=="function"&&r(),e?e.__c:null}function Oo(e,t,r){return bn(e,t),typeof r=="function"&&r(),e?e.__c:null}fe.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(fe.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var di=O.event;function ba(){}function wa(){return this.cancelBubble}function Sa(){return this.defaultPrevented}O.event=function(e){return di&&(e=di(e)),e.persist=ba,e.isPropagationStopped=wa,e.isDefaultPrevented=Sa,e.nativeEvent=e};var Tn,xa={enumerable:!1,configurable:!0,get:function(){return this.class}},fi=O.vnode;O.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,n=t.type,i={};for(var o in r){var s=r[o];if(!(o==="value"&&"defaultValue"in r&&s==null||_a&&o==="children"&&n==="noscript"||o==="class"||o==="className")){var a=o.toLowerCase();o==="defaultValue"&&"value"in r&&r.value==null?o="value":o==="download"&&s===!0?s="":a==="ondoubleclick"?o="ondblclick":a!=="onchange"||n!=="input"&&n!=="textarea"||va(r.type)?a==="onfocus"?o="onfocusin":a==="onblur"?o="onfocusout":ya.test(o)?o=a:n.indexOf("-")===-1&&ma.test(o)?o=o.replace(ga,"-$&").toLowerCase():s===null&&(s=void 0):a=o="oninput",a==="oninput"&&i[o=a]&&(o="oninputCapture"),i[o]=s}}n=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=Se(r.children).forEach(function(c){c.props.selected=i.value.indexOf(c.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=Se(r.children).forEach(function(c){c.props.selected=i.multiple?i.defaultValue.indexOf(c.props.value)!=-1:i.defaultValue==c.props.value})),r.class&&!r.className?(i.class=r.class,Object.defineProperty(i,"className",xa)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=Eo,fi&&fi(e)};var pi=O.__r;O.__r=function(e){pi&&pi(e),Tn=e.__c};var hi=O.diffed;O.diffed=function(e){hi&&hi(e);var t=e.props,r=e.__e;r!=null&&e.type==="textarea"&&"value"in t&&t.value!==r.value&&(r.value=t.value==null?"":t.value),Tn=null};var Io={ReactCurrentDispatcher:{current:{readContext:function(e){return Tn.__n[e.__c].props.value}}}},ka="17.0.2";function Mo(e){return U.bind(null,e)}function Rt(e){return!!e&&e.$$typeof===Eo}function $o(e){return Rt(e)&&e.type===ae}function No(e){return Rt(e)?wn.apply(null,arguments):e}function Fo(e){return!!e.__k&&(Pe(null,e),!0)}function Do(e){return e&&(e.base||e.nodeType===1&&e)||null}var Lo=function(e,t){return e(t)},jo=function(e,t){return e(t)},zo=ae;function Pn(e){e()}function Bo(e){return e}function Wo(){return[!1,Pn]}var Uo=We,qo=Rt;function Ho(e,t){var r=t(),n=ve({h:{__:r,v:t}}),i=n[0].h,o=n[1];return We(function(){i.__=r,i.v=t,Er(i)&&o({h:i})},[e,r,t]),Q(function(){return Er(i)&&o({h:i}),e(function(){Er(i)&&o({h:i})})},[e]),r}function Er(e){var t,r,n=e.v,i=e.__;try{var o=n();return!((t=i)===(r=o)&&(t!==0||1/t==1/r)||t!=t&&r!=r)}catch{return!0}}var Qo={useState:ve,useId:vo,useReducer:xn,useEffect:Q,useLayoutEffect:We,useInsertionEffect:Uo,useTransition:Wo,useDeferredValue:Bo,useSyncExternalStore:Ho,startTransition:Pn,useRef:le,useImperativeHandle:_o,useMemo:Z,useCallback:Qe,useContext:it,useDebugValue:Gt,version:"17.0.2",Children:xo,render:Ao,hydrate:Oo,unmountComponentAtNode:Fo,createPortal:Ro,createElement:U,createContext:cr,createFactory:Mo,cloneElement:No,createRef:Pt,Fragment:ae,isValidElement:Rt,isElement:qo,isFragment:$o,findDOMNode:Do,Component:fe,PureComponent:Yt,memo:So,forwardRef:Cn,flushSync:jo,unstable_batchedUpdates:Lo,StrictMode:zo,Suspense:dt,SuspenseList:Ve,lazy:Po,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Io};const yt=Object.freeze(Object.defineProperty({__proto__:null,Children:xo,Component:fe,Fragment:ae,PureComponent:Yt,StrictMode:zo,Suspense:dt,SuspenseList:Ve,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Io,cloneElement:No,createContext:cr,createElement:U,createFactory:Mo,createPortal:Ro,createRef:Pt,default:Qo,findDOMNode:Do,flushSync:jo,forwardRef:Cn,hydrate:Oo,isElement:qo,isFragment:$o,isValidElement:Rt,lazy:Po,memo:So,render:Ao,startTransition:Pn,unmountComponentAtNode:Fo,unstable_batchedUpdates:Lo,useCallback:Qe,useContext:it,useDebugValue:Gt,useDeferredValue:Bo,useEffect:Q,useErrorBoundary:ca,useId:vo,useImperativeHandle:_o,useInsertionEffect:Uo,useLayoutEffect:We,useMemo:Z,useReducer:xn,useRef:le,useState:ve,useSyncExternalStore:Ho,useTransition:Wo,version:ka},Symbol.toStringTag,{value:"Module"}));function Ca(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Ta(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Pa=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ta(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Ca(i);try{o.insertRule(n,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0},e}(),X="-ms-",Xt="-moz-",N="-webkit-",Vo="comm",Rn="rule",En="decl",Ra="@import",Ko="@keyframes",Ea="@layer",Aa=Math.abs,ur=String.fromCharCode,Oa=Object.assign;function Ia(e,t){return G(e,0)^45?(((t<<2^G(e,0))<<2^G(e,1))<<2^G(e,2))<<2^G(e,3):0}function Jo(e){return e.trim()}function Ma(e,t){return(e=t.exec(e))?e[0]:e}function F(e,t,r){return e.replace(t,r)}function Hr(e,t){return e.indexOf(t)}function G(e,t){return e.charCodeAt(t)|0}function gt(e,t,r){return e.slice(t,r)}function ye(e){return e.length}function An(e){return e.length}function Lt(e,t){return t.push(e),e}function $a(e,t){return e.map(t).join("")}var lr=1,tt=1,Go=0,ne=0,q=0,ot="";function dr(e,t,r,n,i,o,s){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:lr,column:tt,length:s,return:""}}function st(e,t){return Oa(dr("",null,null,"",null,null,0),e,{length:-e.length},t)}function Na(){return q}function Fa(){return q=ne>0?G(ot,--ne):0,tt--,q===10&&(tt=1,lr--),q}function se(){return q=ne<Go?G(ot,ne++):0,tt++,q===10&&(tt=1,lr++),q}function _e(){return G(ot,ne)}function Qt(){return ne}function Et(e,t){return gt(ot,e,t)}function _t(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Yo(e){return lr=tt=1,Go=ye(ot=e),ne=0,[]}function Xo(e){return ot="",e}function Vt(e){return Jo(Et(ne-1,Qr(e===91?e+2:e===40?e+1:e)))}function Da(e){for(;(q=_e())&&q<33;)se();return _t(e)>2||_t(q)>3?"":" "}function La(e,t){for(;--t&&se()&&!(q<48||q>102||q>57&&q<65||q>70&&q<97););return Et(e,Qt()+(t<6&&_e()==32&&se()==32))}function Qr(e){for(;se();)switch(q){case e:return ne;case 34:case 39:e!==34&&e!==39&&Qr(q);break;case 40:e===41&&Qr(e);break;case 92:se();break}return ne}function ja(e,t){for(;se()&&e+q!==57;)if(e+q===84&&_e()===47)break;return"/*"+Et(t,ne-1)+"*"+ur(e===47?e:se())}function za(e){for(;!_t(_e());)se();return Et(e,ne)}function Ba(e){return Xo(Kt("",null,null,null,[""],e=Yo(e),0,[0],e))}function Kt(e,t,r,n,i,o,s,a,c){for(var d=0,f=0,u=s,p=0,l=0,g=0,b=1,_=1,m=1,y=0,h="",v=i,S=o,k=n,x=h;_;)switch(g=y,y=se()){case 40:if(g!=108&&G(x,u-1)==58){Hr(x+=F(Vt(y),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:x+=Vt(y);break;case 9:case 10:case 13:case 32:x+=Da(g);break;case 92:x+=La(Qt()-1,7);continue;case 47:switch(_e()){case 42:case 47:Lt(Wa(ja(se(),Qt()),t,r),c);break;default:x+="/"}break;case 123*b:a[d++]=ye(x)*m;case 125*b:case 59:case 0:switch(y){case 0:case 125:_=0;case 59+f:m==-1&&(x=F(x,/\f/g,"")),l>0&&ye(x)-u&&Lt(l>32?yi(x+";",n,r,u-1):yi(F(x," ","")+";",n,r,u-2),c);break;case 59:x+=";";default:if(Lt(k=mi(x,t,r,d,f,i,a,h,v=[],S=[],u),o),y===123)if(f===0)Kt(x,t,k,k,v,o,u,a,S);else switch(p===99&&G(x,3)===110?100:p){case 100:case 108:case 109:case 115:Kt(e,k,k,n&&Lt(mi(e,k,k,0,0,i,a,h,i,v=[],u),S),i,S,u,a,n?v:S);break;default:Kt(x,k,k,k,[""],S,0,a,S)}}d=f=l=0,b=m=1,h=x="",u=s;break;case 58:u=1+ye(x),l=g;default:if(b<1){if(y==123)--b;else if(y==125&&b++==0&&Fa()==125)continue}switch(x+=ur(y),y*b){case 38:m=f>0?1:(x+="\f",-1);break;case 44:a[d++]=(ye(x)-1)*m,m=1;break;case 64:_e()===45&&(x+=Vt(se())),p=_e(),f=u=ye(h=x+=za(Qt())),y++;break;case 45:g===45&&ye(x)==2&&(b=0)}}return o}function mi(e,t,r,n,i,o,s,a,c,d,f){for(var u=i-1,p=i===0?o:[""],l=An(p),g=0,b=0,_=0;g<n;++g)for(var m=0,y=gt(e,u+1,u=Aa(b=s[g])),h=e;m<l;++m)(h=Jo(b>0?p[m]+" "+y:F(y,/&\f/g,p[m])))&&(c[_++]=h);return dr(e,t,r,i===0?Rn:a,c,d,f)}function Wa(e,t,r){return dr(e,t,r,Vo,ur(Na()),gt(e,2,-2),0)}function yi(e,t,r,n){return dr(e,t,r,En,gt(e,0,n),gt(e,n+1,-1),n)}function Ge(e,t){for(var r="",n=An(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function Ua(e,t,r,n){switch(e.type){case Ea:if(e.children.length)break;case Ra:case En:return e.return=e.return||e.value;case Vo:return"";case Ko:return e.return=e.value+"{"+Ge(e.children,n)+"}";case Rn:e.value=e.props.join(",")}return ye(r=Ge(e.children,n))?e.return=e.value+"{"+r+"}":""}function qa(e){var t=An(e);return function(r,n,i,o){for(var s="",a=0;a<t;a++)s+=e[a](r,n,i,o)||"";return s}}function Ha(e){return function(t){t.root||(t=t.return)&&e(t)}}function Zo(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Qa=function(t,r,n){for(var i=0,o=0;i=o,o=_e(),i===38&&o===12&&(r[n]=1),!_t(o);)se();return Et(t,ne)},Va=function(t,r){var n=-1,i=44;do switch(_t(i)){case 0:i===38&&_e()===12&&(r[n]=1),t[n]+=Qa(ne-1,r,n);break;case 2:t[n]+=Vt(i);break;case 4:if(i===44){t[++n]=_e()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=ur(i)}while(i=se());return t},Ka=function(t,r){return Xo(Va(Yo(t),r))},gi=new WeakMap,Ja=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!gi.get(n))&&!i){gi.set(t,!0);for(var o=[],s=Ka(r,o),a=n.props,c=0,d=0;c<s.length;c++)for(var f=0;f<a.length;f++,d++)t.props[d]=o[c]?s[c].replace(/&\f/g,a[f]):a[f]+" "+s[c]}}},Ga=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function es(e,t){switch(Ia(e,t)){case 5103:return N+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return N+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return N+e+Xt+e+X+e+e;case 6828:case 4268:return N+e+X+e+e;case 6165:return N+e+X+"flex-"+e+e;case 5187:return N+e+F(e,/(\w+).+(:[^]+)/,N+"box-$1$2"+X+"flex-$1$2")+e;case 5443:return N+e+X+"flex-item-"+F(e,/flex-|-self/,"")+e;case 4675:return N+e+X+"flex-line-pack"+F(e,/align-content|flex-|-self/,"")+e;case 5548:return N+e+X+F(e,"shrink","negative")+e;case 5292:return N+e+X+F(e,"basis","preferred-size")+e;case 6060:return N+"box-"+F(e,"-grow","")+N+e+X+F(e,"grow","positive")+e;case 4554:return N+F(e,/([^-])(transform)/g,"$1"+N+"$2")+e;case 6187:return F(F(F(e,/(zoom-|grab)/,N+"$1"),/(image-set)/,N+"$1"),e,"")+e;case 5495:case 3959:return F(e,/(image-set\([^]*)/,N+"$1$`$1");case 4968:return F(F(e,/(.+:)(flex-)?(.*)/,N+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+N+e+e;case 4095:case 3583:case 4068:case 2532:return F(e,/(.+)-inline(.+)/,N+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ye(e)-1-t>6)switch(G(e,t+1)){case 109:if(G(e,t+4)!==45)break;case 102:return F(e,/(.+:)(.+)-([^]+)/,"$1"+N+"$2-$3$1"+Xt+(G(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Hr(e,"stretch")?es(F(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(G(e,t+1)!==115)break;case 6444:switch(G(e,ye(e)-3-(~Hr(e,"!important")&&10))){case 107:return F(e,":",":"+N)+e;case 101:return F(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+N+(G(e,14)===45?"inline-":"")+"box$3$1"+N+"$2$3$1"+X+"$2box$3")+e}break;case 5936:switch(G(e,t+11)){case 114:return N+e+X+F(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return N+e+X+F(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return N+e+X+F(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return N+e+X+e+e}return e}var Ya=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case En:t.return=es(t.value,t.length);break;case Ko:return Ge([st(t,{value:F(t.value,"@","@"+N)})],i);case Rn:if(t.length)return $a(t.props,function(o){switch(Ma(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ge([st(t,{props:[F(o,/:(read-\w+)/,":"+Xt+"$1")]})],i);case"::placeholder":return Ge([st(t,{props:[F(o,/:(plac\w+)/,":"+N+"input-$1")]}),st(t,{props:[F(o,/:(plac\w+)/,":"+Xt+"$1")]}),st(t,{props:[F(o,/:(plac\w+)/,X+"input-$1")]})],i)}return""})}},Xa=[Ya],ts=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(b){var _=b.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var i=t.stylisPlugins||Xa,o={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(b){for(var _=b.getAttribute("data-emotion").split(" "),m=1;m<_.length;m++)o[_[m]]=!0;a.push(b)});var c,d=[Ja,Ga];{var f,u=[Ua,Ha(function(b){f.insert(b)})],p=qa(d.concat(i,u)),l=function(_){return Ge(Ba(_),p)};c=function(_,m,y,h){f=y,l(_?_+"{"+m.styles+"}":m.styles),h&&(g.inserted[m.name]=!0)}}var g={key:r,sheet:new Pa({key:r,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:c};return g.sheet.hydrate(a),g};function Vr(){return Vr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Vr.apply(this,arguments)}function Za(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var rs={exports:{}},L={};/** @license React v16.13.1
|
2
2
|
* react-is.production.min.js
|
3
3
|
*
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
5
5
|
*
|
6
6
|
* This source code is licensed under the MIT license found in the
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
8
|
-
*/var V=typeof Symbol=="function"&&Symbol.for,Rn=V?Symbol.for("react.element"):60103,En=V?Symbol.for("react.portal"):60106,ar=V?Symbol.for("react.fragment"):60107,cr=V?Symbol.for("react.strict_mode"):60108,ur=V?Symbol.for("react.profiler"):60114,lr=V?Symbol.for("react.provider"):60109,dr=V?Symbol.for("react.context"):60110,Tn=V?Symbol.for("react.async_mode"):60111,fr=V?Symbol.for("react.concurrent_mode"):60111,pr=V?Symbol.for("react.forward_ref"):60112,hr=V?Symbol.for("react.suspense"):60113,Xa=V?Symbol.for("react.suspense_list"):60120,mr=V?Symbol.for("react.memo"):60115,yr=V?Symbol.for("react.lazy"):60116,Za=V?Symbol.for("react.block"):60121,ec=V?Symbol.for("react.fundamental"):60117,tc=V?Symbol.for("react.responder"):60118,rc=V?Symbol.for("react.scope"):60119;function ue(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Rn:switch(e=e.type,e){case Tn:case fr:case ar:case ur:case cr:case hr:return e;default:switch(e=e&&e.$$typeof,e){case dr:case pr:case yr:case mr:case lr:return e;default:return t}}case En:return t}}}function es(e){return ue(e)===fr}L.AsyncMode=Tn;L.ConcurrentMode=fr;L.ContextConsumer=dr;L.ContextProvider=lr;L.Element=Rn;L.ForwardRef=pr;L.Fragment=ar;L.Lazy=yr;L.Memo=mr;L.Portal=En;L.Profiler=ur;L.StrictMode=cr;L.Suspense=hr;L.isAsyncMode=function(e){return es(e)||ue(e)===Tn};L.isConcurrentMode=es;L.isContextConsumer=function(e){return ue(e)===dr};L.isContextProvider=function(e){return ue(e)===lr};L.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Rn};L.isForwardRef=function(e){return ue(e)===pr};L.isFragment=function(e){return ue(e)===ar};L.isLazy=function(e){return ue(e)===yr};L.isMemo=function(e){return ue(e)===mr};L.isPortal=function(e){return ue(e)===En};L.isProfiler=function(e){return ue(e)===ur};L.isStrictMode=function(e){return ue(e)===cr};L.isSuspense=function(e){return ue(e)===hr};L.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ar||e===fr||e===ur||e===cr||e===hr||e===Xa||typeof e=="object"&&e!==null&&(e.$$typeof===yr||e.$$typeof===mr||e.$$typeof===lr||e.$$typeof===dr||e.$$typeof===pr||e.$$typeof===ec||e.$$typeof===tc||e.$$typeof===rc||e.$$typeof===Za)};L.typeOf=ue;Zo.exports=L;var nc=Zo.exports,ts=nc,ic={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},oc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},rs={};rs[ts.ForwardRef]=ic;rs[ts.Memo]=oc;var sc=!0;function ns(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var An=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||sc===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},On=function(t,r,n){An(t,r,n);var i=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var o=r;do t.insert(r===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function ac(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var cc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},uc=/[A-Z]|^ms/g,lc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,is=function(t){return t.charCodeAt(1)===45},mi=function(t){return t!=null&&typeof t!="boolean"},Cr=Go(function(e){return is(e)?e:e.replace(uc,"-$&").toLowerCase()}),yi=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(lc,function(n,i,o){return ge={name:i,styles:o,next:ge},i})}return cc[t]!==1&&!is(t)&&typeof r=="number"&&r!==0?r+"px":r};function yt(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return ge={name:r.name,styles:r.styles,next:ge},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)ge={name:n.name,styles:n.styles,next:ge},n=n.next;var i=r.styles+";";return i}return dc(e,t,r)}case"function":{if(e!==void 0){var o=ge,s=r(e);return ge=o,yt(e,t,s)}break}}if(t==null)return r;var a=t[r];return a!==void 0?a:r}function dc(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=yt(e,t,r[i])+";";else for(var o in r){var s=r[o];if(typeof s!="object")t!=null&&t[s]!==void 0?n+=o+"{"+t[s]+"}":mi(s)&&(n+=Cr(o)+":"+yi(o,s)+";");else if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var a=0;a<s.length;a++)mi(s[a])&&(n+=Cr(o)+":"+yi(o,s[a])+";");else{var l=yt(e,t,s);switch(o){case"animation":case"animationName":{n+=Cr(o)+":"+l+";";break}default:n+=o+"{"+l+"}"}}}return n}var gi=/label:\s*([^\s;\n{]+)\s*(;|$)/g,ge,gr=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,o="";ge=void 0;var s=t[0];s==null||s.raw===void 0?(i=!1,o+=yt(n,r,s)):o+=s[0];for(var a=1;a<t.length;a++)o+=yt(n,r,t[a]),i&&(o+=s[a]);gi.lastIndex=0;for(var l="",d;(d=gi.exec(o))!==null;)l+="-"+d[1];var f=ac(o)+l;return{name:f,styles:o,next:ge}},fc=function(t){return t()},os=pt.useInsertionEffect?pt.useInsertionEffect:!1,ss=os||fc,_i=os||ze,_r={}.hasOwnProperty,as=nr(typeof HTMLElement<"u"?Xo({key:"css"}):null),pc=as.Provider,Mn=function(t){return bn(function(r,n){var i=tt(as);return t(r,i,n)})},$n=nr({}),Ur="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",cs=function(t,r){var n={};for(var i in r)_r.call(r,i)&&(n[i]=r[i]);return n[Ur]=t,n},hc=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return An(r,n,i),ss(function(){return On(r,n,i)}),null},mc=Mn(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[Ur],o=[n],s="";typeof e.className=="string"?s=ns(t.registered,o,e.className):e.className!=null&&(s=e.className+" ");var a=gr(o,void 0,tt($n));s+=t.key+"-"+a.name;var l={};for(var d in e)_r.call(e,d)&&d!=="css"&&d!==Ur&&(l[d]=e[d]);return l.ref=r,l.className=s,U(ae,null,U(hc,{cache:t,serialized:a,isStringTag:typeof i=="string"}),U(i,l))}),us=mc,yc=Mn(function(e,t){var r=e.styles,n=gr([r],void 0,tt($n)),i=le();return _i(function(){var o=t.key+"-global",s=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,l=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),l!==null&&(a=!0,l.setAttribute("data-emotion",o),s.hydrate([l])),i.current=[s,a],function(){s.flush()}},[t]),_i(function(){var o=i.current,s=o[0],a=o[1];if(a){o[1]=!1;return}if(n.next!==void 0&&On(t,n.next,!0),s.tags.length){var l=s.tags[s.tags.length-1].nextElementSibling;s.before=l,s.flush()}t.insert("",n,s,!1)},[t,n.name]),null});function gc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return gr(t)}var _c=0;function Jt(e,t,r,n,i,o){var s,a,l={};for(a in t)a=="ref"?s=t[a]:l[a]=t[a];var d={type:e,props:l,key:r,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--_c,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(s=e.defaultProps))for(a in s)l[a]===void 0&&(l[a]=s[a]);return O.vnode&&O.vnode(d),d}var Rt=ae;function b(e,t,r){return _r.call(t,"css")?Jt(us,cs(e,t),r):Jt(e,t,r)}function E(e,t,r){return _r.call(t,"css")?Jt(us,cs(e,t),r):Jt(e,t,r)}const In=({size:e=48})=>b("div",{css:{display:"inline-block","@keyframes spin":{to:{transform:"rotate(360deg)"}},animation:"spin 1s linear infinite"},children:E("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[b("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM1.99743 8C1.99743 11.3151 4.68487 14.0026 8 14.0026C11.3151 14.0026 14.0026 11.3151 14.0026 8C14.0026 4.68487 11.3151 1.99743 8 1.99743C4.68487 1.99743 1.99743 4.68487 1.99743 8Z",fill:"white","fill-opacity":"0.3"}),b("path",{d:"M8 1C8 0.447715 8.44943 -0.00643769 8.99741 0.0624193C9.70527 0.151368 10.3996 0.334798 11.0615 0.608964C12.0321 1.011 12.914 1.60028 13.6569 2.34315C14.3997 3.08602 14.989 3.96793 15.391 4.93853C15.6652 5.60043 15.8486 6.29473 15.9376 7.0026C16.0064 7.55057 15.5523 8 15 8C14.4477 8 14.0085 7.54925 13.9169 7.00462C13.842 6.55939 13.7169 6.12298 13.5433 5.7039C13.2417 4.97595 12.7998 4.31451 12.2426 3.75736C11.6855 3.20021 11.0241 2.75825 10.2961 2.45672C9.87702 2.28313 9.44061 2.15804 8.99538 2.08314C8.45075 1.99152 8 1.55228 8 1Z",css:{fill:"var(--fl-color-primary)"}})]})});var vc=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,wc=Go(function(e){return vc.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),bc=wc,Sc=function(t){return t!=="theme"},vi=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?bc:Sc},wi=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(s){return t.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},xc=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return An(r,n,i),ss(function(){return On(r,n,i)}),null},kc=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,s;r!==void 0&&(o=r.label,s=r.target);var a=wi(t,r,n),l=a||vi(i),d=!l("as");return function(){var f=arguments,c=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&c.push("label:"+o+";"),f[0]==null||f[0].raw===void 0)c.push.apply(c,f);else{c.push(f[0][0]);for(var p=f.length,u=1;u<p;u++)c.push(f[u],f[0][u])}var g=Mn(function(w,_,m){var y=d&&w.as||i,h="",v=[],S=w;if(w.theme==null){S={};for(var k in w)S[k]=w[k];S.theme=tt($n)}typeof w.className=="string"?h=ns(_.registered,v,w.className):w.className!=null&&(h=w.className+" ");var x=gr(c.concat(v),_.registered,S);h+=_.key+"-"+x.name,s!==void 0&&(h+=" "+s);var C=d&&a===void 0?vi(y):l,P={};for(var R in w)d&&R==="as"||C(R)&&(P[R]=w[R]);return P.className=h,P.ref=m,U(ae,null,U(xc,{cache:_,serialized:x,isStringTag:typeof y=="string"}),U(y,P))});return g.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=i,g.__emotion_styles=c,g.__emotion_forwardProp=a,Object.defineProperty(g,"toString",{value:function(){return"."+s}}),g.withComponent=function(w,_){return e(w,Wr({},r,_,{shouldForwardProp:wi(g,_,!0)})).apply(void 0,c)},g}},Cc=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Gt=kc.bind();Cc.forEach(function(e){Gt[e]=Gt(e)});function J(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Pc=typeof Symbol=="function"&&Symbol.observable||"@@observable",bi=Pc,Pr=()=>Math.random().toString(36).substring(7).split("").join("."),Rc={INIT:`@@redux/INIT${Pr()}`,REPLACE:`@@redux/REPLACE${Pr()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Pr()}`},Yt=Rc;function we(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function ls(e,t,r){if(typeof e!="function")throw new Error(J(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(J(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(J(1));return r(ls)(e,t)}let n=e,i=t,o=new Map,s=o,a=0,l=!1;function d(){s===o&&(s=new Map,o.forEach((_,m)=>{s.set(m,_)}))}function f(){if(l)throw new Error(J(3));return i}function c(_){if(typeof _!="function")throw new Error(J(4));if(l)throw new Error(J(5));let m=!0;d();const y=a++;return s.set(y,_),function(){if(m){if(l)throw new Error(J(6));m=!1,d(),s.delete(y),o=null}}}function p(_){if(!we(_))throw new Error(J(7));if(typeof _.type>"u")throw new Error(J(8));if(typeof _.type!="string")throw new Error(J(17));if(l)throw new Error(J(9));try{l=!0,i=n(i,_)}finally{l=!1}return(o=s).forEach(y=>{y()}),_}function u(_){if(typeof _!="function")throw new Error(J(10));n=_,p({type:Yt.REPLACE})}function g(){const _=c;return{subscribe(m){if(typeof m!="object"||m===null)throw new Error(J(11));function y(){const v=m;v.next&&v.next(f())}return y(),{unsubscribe:_(y)}},[bi](){return this}}}return p({type:Yt.INIT}),{dispatch:p,subscribe:c,getState:f,replaceReducer:u,[bi]:g}}function Ec(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:Yt.INIT})>"u")throw new Error(J(12));if(typeof r(void 0,{type:Yt.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(J(13))})}function ds(e){const t=Object.keys(e),r={};for(let o=0;o<t.length;o++){const s=t[o];typeof e[s]=="function"&&(r[s]=e[s])}const n=Object.keys(r);let i;try{Ec(r)}catch(o){i=o}return function(s={},a){if(i)throw i;let l=!1;const d={};for(let f=0;f<n.length;f++){const c=n[f],p=r[c],u=s[c],g=p(u,a);if(typeof g>"u")throw a&&a.type,new Error(J(14));d[c]=g,l=l||g!==u}return l=l||n.length!==Object.keys(s).length,l?d:s}}function Xt(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function Tc(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(J(15))};const s={getState:i.getState,dispatch:(l,...d)=>o(l,...d)},a=e.map(l=>l(s));return o=Xt(...a)(i.dispatch),{...i,dispatch:o}}}function fs(e){return we(e)&&"type"in e&&typeof e.type=="string"}var Dn=Symbol.for("immer-nothing"),ut=Symbol.for("immer-draftable"),ie=Symbol.for("immer-state");function Y(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var De=Object.getPrototypeOf;function pe(e){return!!e&&!!e[ie]}function he(e){var t;return e?ps(e)||Array.isArray(e)||!!e[ut]||!!((t=e.constructor)!=null&&t[ut])||Et(e)||Tt(e):!1}var Ac=Object.prototype.constructor.toString();function ps(e){if(!e||typeof e!="object")return!1;const t=De(e);if(t===null)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object?!0:typeof r=="function"&&Function.toString.call(r)===Ac}function Oc(e){return pe(e)||Y(15,e),e[ie].base_}function Ze(e,t){Fe(e)===0?Object.entries(e).forEach(([r,n])=>{t(r,n,e)}):e.forEach((r,n)=>t(n,r,e))}function Fe(e){const t=e[ie];return t?t.type_:Array.isArray(e)?1:Et(e)?2:Tt(e)?3:0}function gt(e,t){return Fe(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Rr(e,t){return Fe(e)===2?e.get(t):e[t]}function hs(e,t,r){const n=Fe(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Mc(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Et(e){return e instanceof Map}function Tt(e){return e instanceof Set}function Oe(e){return e.copy_||e.base_}function qr(e,t){if(Et(e))return new Map(e);if(Tt(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&ps(e))return De(e)?{...e}:Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[ie];let n=Reflect.ownKeys(r);for(let i=0;i<n.length;i++){const o=n[i],s=r[o];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(r[o]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[o]})}return Object.create(De(e),r)}function Fn(e,t=!1){return vr(e)||pe(e)||!he(e)||(Fe(e)>1&&(e.set=e.add=e.clear=e.delete=$c),Object.freeze(e),t&&Ze(e,(r,n)=>Fn(n,!0))),e}function $c(){Y(2)}function vr(e){return Object.isFrozen(e)}var Hr={};function Ne(e){const t=Hr[e];return t||Y(0,e),t}function Ic(e,t){Hr[e]||(Hr[e]=t)}var _t;function ms(){return _t}function Dc(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Si(e,t){t&&(Ne("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Qr(e){Vr(e),e.drafts_.forEach(Fc),e.drafts_=null}function Vr(e){e===_t&&(_t=e.parent_)}function xi(e){return _t=Dc(_t,e)}function Fc(e){const t=e[ie];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function ki(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[ie].modified_&&(Qr(t),Y(4)),he(e)&&(e=Zt(t,e),t.parent_||er(t,e)),t.patches_&&Ne("Patches").generateReplacementPatches_(r[ie].base_,e,t.patches_,t.inversePatches_)):e=Zt(t,r,[]),Qr(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Dn?e:void 0}function Zt(e,t,r){if(vr(t))return t;const n=t[ie];if(!n)return Ze(t,(i,o)=>Ci(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return er(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const i=n.copy_;let o=i,s=!1;n.type_===3&&(o=new Set(i),i.clear(),s=!0),Ze(o,(a,l)=>Ci(e,n,i,a,l,r,s)),er(e,i,!1),r&&e.patches_&&Ne("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function Ci(e,t,r,n,i,o,s){if(pe(i)){const a=o&&t&&t.type_!==3&&!gt(t.assigned_,n)?o.concat(n):void 0,l=Zt(e,i,a);if(hs(r,n,l),pe(l))e.canAutoFreeze_=!1;else return}else s&&r.add(i);if(he(i)&&!vr(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Zt(e,i),(!t||!t.scope_.parent_)&&er(e,i)}}function er(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Fn(t,r)}function Nc(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:ms(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=Nn;r&&(i=[n],o=vt);const{revoke:s,proxy:a}=Proxy.revocable(i,o);return n.draft_=a,n.revoke_=s,a}var Nn={get(e,t){if(t===ie)return e;const r=Oe(e);if(!gt(r,t))return Lc(e,r,t);const n=r[t];return e.finalized_||!he(n)?n:n===Er(e.base_,t)?(Tr(e),e.copy_[t]=Jr(n,e)):n},has(e,t){return t in Oe(e)},ownKeys(e){return Reflect.ownKeys(Oe(e))},set(e,t,r){const n=ys(Oe(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=Er(Oe(e),t),o=i==null?void 0:i[ie];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(Mc(r,i)&&(r!==void 0||gt(e.base_,t)))return!0;Tr(e),Kr(e)}return e.copy_[t]===r&&(r!==void 0||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty(e,t){return Er(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Tr(e),Kr(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=Oe(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){Y(11)},getPrototypeOf(e){return De(e.base_)},setPrototypeOf(){Y(12)}},vt={};Ze(Nn,(e,t)=>{vt[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});vt.deleteProperty=function(e,t){return vt.set.call(this,e,t,void 0)};vt.set=function(e,t,r){return Nn.set.call(this,e[0],t,r,e[0])};function Er(e,t){const r=e[ie];return(r?Oe(r):e)[t]}function Lc(e,t,r){var i;const n=ys(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function ys(e,t){if(!(t in e))return;let r=De(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=De(r)}}function Kr(e){e.modified_||(e.modified_=!0,e.parent_&&Kr(e.parent_))}function Tr(e){e.copy_||(e.copy_=qr(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var jc=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const o=r;r=t;const s=this;return function(l=o,...d){return s.produce(l,f=>r.call(this,f,...d))}}typeof r!="function"&&Y(6),n!==void 0&&typeof n!="function"&&Y(7);let i;if(he(t)){const o=xi(this),s=Jr(t,void 0);let a=!0;try{i=r(s),a=!1}finally{a?Qr(o):Vr(o)}return Si(o,n),ki(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===Dn&&(i=void 0),this.autoFreeze_&&Fn(i,!0),n){const o=[],s=[];Ne("Patches").generateReplacementPatches_(t,i,o,s),n(o,s)}return i}else Y(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(s,...a)=>this.produceWithPatches(s,l=>t(l,...a));let n,i;return[this.produce(t,r,(s,a)=>{n=s,i=a}),n,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){he(e)||Y(8),pe(e)&&(e=gs(e));const t=xi(this),r=Jr(e,void 0);return r[ie].isManual_=!0,Vr(t),r}finishDraft(e,t){const r=e&&e[ie];(!r||!r.isManual_)&&Y(9);const{scope_:n}=r;return Si(n,t),ki(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const i=t[r];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}r>-1&&(t=t.slice(r+1));const n=Ne("Patches").applyPatches_;return pe(e)?n(e,t):this.produce(e,i=>n(i,t))}};function Jr(e,t){const r=Et(e)?Ne("MapSet").proxyMap_(e,t):Tt(e)?Ne("MapSet").proxySet_(e,t):Nc(e,t);return(t?t.scope_:ms()).drafts_.push(r),r}function gs(e){return pe(e)||Y(10,e),_s(e)}function _s(e){if(!he(e)||vr(e))return e;const t=e[ie];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=qr(e,t.scope_.immer_.useStrictShallowCopy_)}else r=qr(e,!0);return Ze(r,(n,i)=>{hs(r,n,_s(i))}),t&&(t.finalized_=!1),r}function zc(){const t="replace",r="add",n="remove";function i(p,u,g,w){switch(p.type_){case 0:case 2:return s(p,u,g,w);case 1:return o(p,u,g,w);case 3:return a(p,u,g,w)}}function o(p,u,g,w){let{base_:_,assigned_:m}=p,y=p.copy_;y.length<_.length&&([_,y]=[y,_],[g,w]=[w,g]);for(let h=0;h<_.length;h++)if(m[h]&&y[h]!==_[h]){const v=u.concat([h]);g.push({op:t,path:v,value:c(y[h])}),w.push({op:t,path:v,value:c(_[h])})}for(let h=_.length;h<y.length;h++){const v=u.concat([h]);g.push({op:r,path:v,value:c(y[h])})}for(let h=y.length-1;_.length<=h;--h){const v=u.concat([h]);w.push({op:n,path:v})}}function s(p,u,g,w){const{base_:_,copy_:m}=p;Ze(p.assigned_,(y,h)=>{const v=Rr(_,y),S=Rr(m,y),k=h?gt(_,y)?t:r:n;if(v===S&&k===t)return;const x=u.concat(y);g.push(k===n?{op:k,path:x}:{op:k,path:x,value:S}),w.push(k===r?{op:n,path:x}:k===n?{op:r,path:x,value:c(v)}:{op:t,path:x,value:c(v)})})}function a(p,u,g,w){let{base_:_,copy_:m}=p,y=0;_.forEach(h=>{if(!m.has(h)){const v=u.concat([y]);g.push({op:n,path:v,value:h}),w.unshift({op:r,path:v,value:h})}y++}),y=0,m.forEach(h=>{if(!_.has(h)){const v=u.concat([y]);g.push({op:r,path:v,value:h}),w.unshift({op:n,path:v,value:h})}y++})}function l(p,u,g,w){g.push({op:t,path:[],value:u===Dn?void 0:u}),w.push({op:t,path:[],value:p})}function d(p,u){return u.forEach(g=>{const{path:w,op:_}=g;let m=p;for(let S=0;S<w.length-1;S++){const k=Fe(m);let x=w[S];typeof x!="string"&&typeof x!="number"&&(x=""+x),(k===0||k===1)&&(x==="__proto__"||x==="constructor")&&Y(19),typeof m=="function"&&x==="prototype"&&Y(19),m=Rr(m,x),typeof m!="object"&&Y(18,w.join("/"))}const y=Fe(m),h=f(g.value),v=w[w.length-1];switch(_){case t:switch(y){case 2:return m.set(v,h);case 3:Y(16);default:return m[v]=h}case r:switch(y){case 1:return v==="-"?m.push(h):m.splice(v,0,h);case 2:return m.set(v,h);case 3:return m.add(h);default:return m[v]=h}case n:switch(y){case 1:return m.splice(v,1);case 2:return m.delete(v);case 3:return m.delete(g.value);default:return delete m[v]}default:Y(17,_)}}),p}function f(p){if(!he(p))return p;if(Array.isArray(p))return p.map(f);if(Et(p))return new Map(Array.from(p.entries()).map(([g,w])=>[g,f(w)]));if(Tt(p))return new Set(Array.from(p).map(f));const u=Object.create(De(p));for(const g in p)u[g]=f(p[g]);return gt(p,ut)&&(u[ut]=p[ut]),u}function c(p){return pe(p)?f(p):p}Ic("Patches",{applyPatches_:d,generatePatches_:i,generateReplacementPatches_:l})}var ce=new jc,At=ce.produce,vs=ce.produceWithPatches.bind(ce);ce.setAutoFreeze.bind(ce);ce.setUseStrictShallowCopy.bind(ce);var Pi=ce.applyPatches.bind(ce);ce.createDraft.bind(ce);ce.finishDraft.bind(ce);function Bc(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function Wc(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function Uc(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(r=>typeof r=="function")){const r=e.map(n=>typeof n=="function"?`function ${n.name||"unnamed"}()`:typeof n).join(", ");throw new TypeError(`${t}[${r}]`)}}var Ri=e=>Array.isArray(e)?e:[e];function qc(e){const t=Array.isArray(e[0])?e[0]:e;return Uc(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function Hc(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var Qc=class{constructor(e){this.value=e}deref(){return this.value}},Vc=typeof WeakRef<"u"?WeakRef:Qc,Kc=0,Ei=1;function Ft(){return{s:Kc,v:void 0,o:null,p:null}}function wt(e,t={}){let r=Ft();const{resultEqualityCheck:n}=t;let i,o=0;function s(){var c;let a=r;const{length:l}=arguments;for(let p=0,u=l;p<u;p++){const g=arguments[p];if(typeof g=="function"||typeof g=="object"&&g!==null){let w=a.o;w===null&&(a.o=w=new WeakMap);const _=w.get(g);_===void 0?(a=Ft(),w.set(g,a)):a=_}else{let w=a.p;w===null&&(a.p=w=new Map);const _=w.get(g);_===void 0?(a=Ft(),w.set(g,a)):a=_}}const d=a;let f;if(a.s===Ei?f=a.v:(f=e.apply(null,arguments),o++),d.s=Ei,n){const p=((c=i==null?void 0:i.deref)==null?void 0:c.call(i))??i;p!=null&&n(p,f)&&(f=p,o!==0&&o--),i=typeof f=="object"&&f!==null||typeof f=="function"?new Vc(f):f}return d.v=f,f}return s.clearCache=()=>{r=Ft(),s.resetResultsCount()},s.resultsCount=()=>o,s.resetResultsCount=()=>{o=0},s}function ws(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let o=0,s=0,a,l={},d=i.pop();typeof d=="object"&&(l=d,d=i.pop()),Bc(d,`createSelector expects an output function after the inputs, but received: [${typeof d}]`);const f={...r,...l},{memoize:c,memoizeOptions:p=[],argsMemoize:u=wt,argsMemoizeOptions:g=[],devModeChecks:w={}}=f,_=Ri(p),m=Ri(g),y=qc(i),h=c(function(){return o++,d.apply(null,arguments)},..._),v=u(function(){s++;const k=Hc(y,arguments);return a=h.apply(null,k),a},...m);return Object.assign(v,{resultFunc:d,memoizedResultFunc:h,dependencies:y,dependencyRecomputations:()=>s,resetDependencyRecomputations:()=>{s=0},lastResult:()=>a,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:c,argsMemoize:u})};return Object.assign(n,{withTypes:()=>n}),n}var Ke=ws(wt),Jc=Object.assign((e,t=Ke)=>{Wc(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const r=Object.keys(e),n=r.map(o=>e[o]);return t(n,(...o)=>o.reduce((s,a,l)=>(s[r[l]]=a,s),{}))},{withTypes:()=>Jc});function bs(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var Gc=bs(),Yc=bs,Xc=(...e)=>{const t=ws(...e);return(...r)=>{const n=t(...r),i=(o,...s)=>n(pe(o)?gs(o):o,...s);return Object.assign(i,n),i}};Xc(wt);var Zc=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Xt:Xt.apply(null,arguments)},eu=e=>e&&typeof e.match=="function";function te(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(de(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>fs(n)&&n.type===e,r}var Ss=class st extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,st.prototype)}static get[Symbol.species](){return st}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new st(...t[0].concat(this)):new st(...t.concat(this))}};function Ti(e){return he(e)?At(e,()=>{}):e}function Ai(e,t,r){if(e.has(t)){let i=e.get(t);return r.update&&(i=r.update(i,t,e),e.set(t,i)),i}if(!r.insert)throw new Error(de(10));const n=r.insert(t,e);return e.set(t,n),n}function tu(e){return typeof e=="boolean"}var ru=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let s=new Ss;return r&&(tu(r)?s.push(Gc):s.push(Yc(r.extraArgument))),s},Qe="RTK_autoBatch",it=()=>e=>({payload:e,meta:{[Qe]:!0}}),xs=e=>t=>{setTimeout(t,e)},nu=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:xs(10),iu=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let i=!0,o=!1,s=!1;const a=new Set,l=e.type==="tick"?queueMicrotask:e.type==="raf"?nu:e.type==="callback"?e.queueNotification:xs(e.timeout),d=()=>{s=!1,o&&(o=!1,a.forEach(f=>f()))};return Object.assign({},n,{subscribe(f){const c=()=>i&&f(),p=n.subscribe(c);return a.add(f),()=>{p(),a.delete(f)}},dispatch(f){var c;try{return i=!((c=f==null?void 0:f.meta)!=null&&c[Qe]),o=!i,o&&(s||(s=!0,l(d))),n.dispatch(f)}finally{i=!0}}})},ou=e=>function(r){const{autoBatch:n=!0}=r??{};let i=new Ss(e);return n&&i.push(iu(typeof n=="object"?n:void 0)),i},su=!0;function au(e){const t=ru(),{reducer:r=void 0,middleware:n,devTools:i=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{};let a;if(typeof r=="function")a=r;else if(we(r))a=ds(r);else throw new Error(de(1));let l;typeof n=="function"?l=n(t):l=t();let d=Xt;i&&(d=Zc({trace:!su,...typeof i=="object"&&i}));const f=Tc(...l),c=ou(f);let p=typeof s=="function"?s(c):c();const u=d(...p);return ls(a,o,u)}function ks(e){const t={},r=[];let n;const i={addCase(o,s){const a=typeof o=="string"?o:o.type;if(!a)throw new Error(de(28));if(a in t)throw new Error(de(29));return t[a]=s,i},addMatcher(o,s){return r.push({matcher:o,reducer:s}),i},addDefaultCase(o){return n=o,i}};return e(i),[t,r,n]}function cu(e){return typeof e=="function"}function uu(e,t){let[r,n,i]=ks(t),o;if(cu(e))o=()=>Ti(e());else{const a=Ti(e);o=()=>a}function s(a=o(),l){let d=[r[l.type],...n.filter(({matcher:f})=>f(l)).map(({reducer:f})=>f)];return d.filter(f=>!!f).length===0&&(d=[i]),d.reduce((f,c)=>{if(c)if(pe(f)){const u=c(f,l);return u===void 0?f:u}else{if(he(f))return At(f,p=>c(p,l));{const p=c(f,l);if(p===void 0){if(f===null)return f;throw new Error(de(9))}return p}}return f},a)}return s.getInitialState=o,s}var lu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Cs=(e=21)=>{let t="",r=e;for(;r--;)t+=lu[Math.random()*64|0];return t},Ps=(e,t)=>eu(e)?e.match(t):e(t);function Re(...e){return t=>e.some(r=>Ps(r,t))}function lt(...e){return t=>e.every(r=>Ps(r,t))}function wr(e,t){if(!e||!e.meta)return!1;const r=typeof e.meta.requestId=="string",n=t.indexOf(e.meta.requestStatus)>-1;return r&&n}function Ot(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function Ln(...e){return e.length===0?t=>wr(t,["pending"]):Ot(e)?t=>{const r=e.map(i=>i.pending);return Re(...r)(t)}:Ln()(e[0])}function et(...e){return e.length===0?t=>wr(t,["rejected"]):Ot(e)?t=>{const r=e.map(i=>i.rejected);return Re(...r)(t)}:et()(e[0])}function br(...e){const t=r=>r&&r.meta&&r.meta.rejectedWithValue;return e.length===0?r=>lt(et(...e),t)(r):Ot(e)?r=>lt(et(...e),t)(r):br()(e[0])}function Ee(...e){return e.length===0?t=>wr(t,["fulfilled"]):Ot(e)?t=>{const r=e.map(i=>i.fulfilled);return Re(...r)(t)}:Ee()(e[0])}function Gr(...e){return e.length===0?t=>wr(t,["pending","fulfilled","rejected"]):Ot(e)?t=>{const r=[];for(const i of e)r.push(i.pending,i.rejected,i.fulfilled);return Re(...r)(t)}:Gr()(e[0])}var du=["name","message","stack","code"],Ar=class{constructor(e,t){Sr(this,"_type");this.payload=e,this.meta=t}},Oi=class{constructor(e,t){Sr(this,"_type");this.payload=e,this.meta=t}},fu=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of du)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},Mi=(()=>{function e(t,r,n){const i=te(t+"/fulfilled",(l,d,f,c)=>({payload:l,meta:{...c||{},arg:f,requestId:d,requestStatus:"fulfilled"}})),o=te(t+"/pending",(l,d,f)=>({payload:void 0,meta:{...f||{},arg:d,requestId:l,requestStatus:"pending"}})),s=te(t+"/rejected",(l,d,f,c,p)=>({payload:c,error:(n&&n.serializeError||fu)(l||"Rejected"),meta:{...p||{},arg:f,requestId:d,rejectedWithValue:!!c,requestStatus:"rejected",aborted:(l==null?void 0:l.name)==="AbortError",condition:(l==null?void 0:l.name)==="ConditionError"}}));function a(l){return(d,f,c)=>{const p=n!=null&&n.idGenerator?n.idGenerator(l):Cs(),u=new AbortController;let g;function w(m){g=m,u.abort()}const _=async function(){var h,v;let m;try{let S=(h=n==null?void 0:n.condition)==null?void 0:h.call(n,l,{getState:f,extra:c});if(hu(S)&&(S=await S),S===!1||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const k=new Promise((x,C)=>u.signal.addEventListener("abort",()=>C({name:"AbortError",message:g||"Aborted"})));d(o(p,l,(v=n==null?void 0:n.getPendingMeta)==null?void 0:v.call(n,{requestId:p,arg:l},{getState:f,extra:c}))),m=await Promise.race([k,Promise.resolve(r(l,{dispatch:d,getState:f,extra:c,requestId:p,signal:u.signal,abort:w,rejectWithValue:(x,C)=>new Ar(x,C),fulfillWithValue:(x,C)=>new Oi(x,C)})).then(x=>{if(x instanceof Ar)throw x;return x instanceof Oi?i(x.payload,p,l,x.meta):i(x,p,l)})])}catch(S){m=S instanceof Ar?s(null,p,l,S.payload,S.meta):s(S,p,l)}return n&&!n.dispatchConditionRejection&&s.match(m)&&m.meta.condition||d(m),m}();return Object.assign(_,{abort:w,requestId:p,arg:l,unwrap(){return _.then(pu)}})}}return Object.assign(a,{pending:o,rejected:s,fulfilled:i,settled:Re(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function pu(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function hu(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var mu=Symbol.for("rtk-slice-createasyncthunk");function yu(e,t){return`${e}/${t}`}function gu({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[mu];return function(i){const{name:o,reducerPath:s=o}=i;if(!o)throw new Error(de(11));typeof process<"u";const a=(typeof i.reducers=="function"?i.reducers(vu()):i.reducers)||{},l=Object.keys(a),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},f={addCase(_,m){const y=typeof _=="string"?_:_.type;if(!y)throw new Error(de(12));if(y in d.sliceCaseReducersByType)throw new Error(de(13));return d.sliceCaseReducersByType[y]=m,f},addMatcher(_,m){return d.sliceMatchers.push({matcher:_,reducer:m}),f},exposeAction(_,m){return d.actionCreators[_]=m,f},exposeCaseReducer(_,m){return d.sliceCaseReducersByName[_]=m,f}};l.forEach(_=>{const m=a[_],y={reducerName:_,type:yu(o,_),createNotation:typeof i.reducers=="function"};bu(m)?xu(y,m,f,t):wu(y,m,f)});function c(){const[_={},m=[],y=void 0]=typeof i.extraReducers=="function"?ks(i.extraReducers):[i.extraReducers],h={..._,...d.sliceCaseReducersByType};return uu(i.initialState,v=>{for(let S in h)v.addCase(S,h[S]);for(let S of d.sliceMatchers)v.addMatcher(S.matcher,S.reducer);for(let S of m)v.addMatcher(S.matcher,S.reducer);y&&v.addDefaultCase(y)})}const p=_=>_,u=new WeakMap;let g;const w={name:o,reducerPath:s,reducer(_,m){return g||(g=c()),g(_,m)},actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState(){return g||(g=c()),g.getInitialState()},getSelectors(_=p){const m=Ai(u,this,{insert:()=>new WeakMap});return Ai(m,_,{insert:()=>{const y={};for(const[h,v]of Object.entries(i.selectors??{}))y[h]=_u(this,v,_,this!==w);return y}})},selectSlice(_){let m=_[this.reducerPath];return typeof m>"u"&&this!==w&&(m=this.getInitialState()),m},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(_,{reducerPath:m,...y}={}){const h=m??this.reducerPath;return _.inject({reducerPath:h,reducer:this.reducer},y),{...this,reducerPath:h}}};return w}}function _u(e,t,r,n){function i(o,...s){let a=r.call(e,o);return typeof a>"u"&&n&&(a=e.getInitialState()),t(a,...s)}return i.unwrapped=t,i}var Ce=gu();function vu(){function e(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...r){return t(...r)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}},asyncThunk:e}}function wu({type:e,reducerName:t,createNotation:r},n,i){let o,s;if("reducer"in n){if(r&&!Su(n))throw new Error(de(17));o=n.reducer,s=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,s?te(e,s):te(e))}function bu(e){return e._reducerDefinitionType==="asyncThunk"}function Su(e){return e._reducerDefinitionType==="reducerWithPrepare"}function xu({type:e,reducerName:t},r,n,i){if(!i)throw new Error(de(18));const{payloadCreator:o,fulfilled:s,pending:a,rejected:l,settled:d,options:f}=r,c=i(e,o,f);n.exposeAction(t,c),s&&n.addCase(c.fulfilled,s),a&&n.addCase(c.pending,a),l&&n.addCase(c.rejected,l),d&&n.addMatcher(c.settled,d),n.exposeCaseReducer(t,{fulfilled:s||Nt,pending:a||Nt,rejected:l||Nt,settled:d||Nt})}function Nt(){}var jn="listenerMiddleware";te(`${jn}/add`);te(`${jn}/removeAll`);te(`${jn}/remove`);function de(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Rs=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(Rs||{});function ku(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Cu(e){return new RegExp("(^|:)//").test(e)}var Pu=e=>e.replace(/\/$/,""),Ru=e=>e.replace(/^\//,"");function Eu(e,t){if(!e)return t;if(!t)return e;if(Cu(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=Pu(e),t=Ru(t),`${e}${r}${t}`}var $i=e=>[].concat(...e);function Tu(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function Au(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var Ii=we;function Es(e,t){if(e===t||!(Ii(e)&&Ii(t)||Array.isArray(e)&&Array.isArray(t)))return t;const r=Object.keys(t),n=Object.keys(e);let i=r.length===n.length;const o=Array.isArray(t)?[]:{};for(const s of r)o[s]=Es(e[s],t[s]),i&&(i=e[s]===o[s]);return i?e:o}var Di=(...e)=>fetch(...e),Ou=e=>e.status>=200&&e.status<=299,Mu=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function Fi(e){if(!we(e))return e;const t={...e};for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function $u({baseUrl:e,prepareHeaders:t=c=>c,fetchFn:r=Di,paramsSerializer:n,isJsonContentType:i=Mu,jsonContentType:o="application/json",jsonReplacer:s,timeout:a,responseHandler:l,validateStatus:d,...f}={}){return typeof fetch>"u"&&r===Di&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),async(p,u)=>{const{signal:g,getState:w,extra:_,endpoint:m,forced:y,type:h}=u;let v,{url:S,headers:k=new Headers(f.headers),params:x=void 0,responseHandler:C=l??"json",validateStatus:P=d??Ou,timeout:R=a,...A}=typeof p=="string"?{url:p}:p,T={...f,signal:g,...A};k=new Headers(Fi(k)),T.headers=await t(k,{getState:w,extra:_,endpoint:m,forced:y,type:h})||k;const M=B=>typeof B=="object"&&(we(B)||Array.isArray(B)||typeof B.toJSON=="function");if(!T.headers.has("content-type")&&M(T.body)&&T.headers.set("content-type",o),M(T.body)&&i(T.headers)&&(T.body=JSON.stringify(T.body,s)),x){const B=~S.indexOf("?")?"&":"?",Ae=n?n(x):new URLSearchParams(Fi(x));S+=B+Ae}S=Eu(e,S);const $=new Request(S,T);v={request:new Request(S,T)};let K,j=!1,I=R&&setTimeout(()=>{j=!0,u.abort()},R);try{K=await r($)}catch(B){return{error:{status:j?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(B)},meta:v}}finally{I&&clearTimeout(I)}const ee=K.clone();v.response=ee;let H,me="";try{let B;if(await Promise.all([c(K,C).then(Ae=>H=Ae,Ae=>B=Ae),ee.text().then(Ae=>me=Ae,()=>{})]),B)throw B}catch(B){return{error:{status:"PARSING_ERROR",originalStatus:K.status,data:me,error:String(B)},meta:v}}return P(K,H)?{data:H,meta:v}:{error:{status:K.status,data:H},meta:v}};async function c(p,u){if(typeof u=="function")return u(p);if(u==="content-type"&&(u=i(p.headers)?"json":"text"),u==="json"){const g=await p.text();return g.length?JSON.parse(g):null}return p.text()}}var Ni=class{constructor(e,t=void 0){this.value=e,this.meta=t}},zn=te("__rtkq/focused"),Ts=te("__rtkq/unfocused"),Bn=te("__rtkq/online"),As=te("__rtkq/offline");function Os(e){return e.type==="query"}function Iu(e){return e.type==="mutation"}function Wn(e,t,r,n,i,o){return Du(e)?e(t,r,n,i).map(Yr).map(o):Array.isArray(e)?e.map(Yr).map(o):[]}function Du(e){return typeof e=="function"}function Yr(e){return typeof e=="string"?{type:e}:e}function Li(e){return e!=null}function Je(e){let t=0;for(const r in e)t++;return t}var bt=Symbol("forceQueryFn"),Xr=e=>typeof e[bt]=="function";function Fu({serializeQueryArgs:e,queryThunk:t,mutationThunk:r,api:n,context:i}){const o=new Map,s=new Map,{unsubscribeQueryResult:a,removeMutationResult:l,updateSubscriptionOptions:d}=n.internalActions;return{buildInitiateQuery:g,buildInitiateMutation:w,getRunningQueryThunk:f,getRunningMutationThunk:c,getRunningQueriesThunk:p,getRunningMutationsThunk:u};function f(_,m){return y=>{var S;const h=i.endpointDefinitions[_],v=e({queryArgs:m,endpointDefinition:h,endpointName:_});return(S=o.get(y))==null?void 0:S[v]}}function c(_,m){return y=>{var h;return(h=s.get(y))==null?void 0:h[m]}}function p(){return _=>Object.values(o.get(_)||{}).filter(Li)}function u(){return _=>Object.values(s.get(_)||{}).filter(Li)}function g(_,m){const y=(h,{subscribe:v=!0,forceRefetch:S,subscriptionOptions:k,[bt]:x}={})=>(C,P)=>{var me;const R=e({queryArgs:h,endpointDefinition:m,endpointName:_}),A=t({type:"query",subscribe:v,forceRefetch:S,subscriptionOptions:k,endpointName:_,originalArgs:h,queryCacheKey:R,[bt]:x}),T=n.endpoints[_].select(h),M=C(A),$=T(P()),{requestId:W,abort:K}=M,j=$.requestId!==W,I=(me=o.get(C))==null?void 0:me[R],ee=()=>T(P()),H=Object.assign(x?M.then(ee):j&&!I?Promise.resolve($):Promise.all([I,M]).then(ee),{arg:h,requestId:W,subscriptionOptions:k,queryCacheKey:R,abort:K,async unwrap(){const B=await H;if(B.isError)throw B.error;return B.data},refetch:()=>C(y(h,{subscribe:!1,forceRefetch:!0})),unsubscribe(){v&&C(a({queryCacheKey:R,requestId:W}))},updateSubscriptionOptions(B){H.subscriptionOptions=B,C(d({endpointName:_,requestId:W,queryCacheKey:R,options:B}))}});if(!I&&!j&&!x){const B=o.get(C)||{};B[R]=H,o.set(C,B),H.then(()=>{delete B[R],Je(B)||o.delete(C)})}return H};return y}function w(_){return(m,{track:y=!0,fixedCacheKey:h}={})=>(v,S)=>{const k=r({type:"mutation",endpointName:_,originalArgs:m,track:y,fixedCacheKey:h}),x=v(k),{requestId:C,abort:P,unwrap:R}=x,A=x.unwrap().then(W=>({data:W})).catch(W=>({error:W})),T=()=>{v(l({requestId:C,fixedCacheKey:h}))},M=Object.assign(A,{arg:x.arg,requestId:C,abort:P,unwrap:R,reset:T}),$=s.get(v)||{};return s.set(v,$),$[C]=M,M.then(()=>{delete $[C],Je($)||s.delete(v)}),h&&($[h]=M,M.then(()=>{$[h]===M&&(delete $[h],Je($)||s.delete(v))})),M}}}function ji(e){return e}function Nu({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const s=(y,h,v,S)=>(k,x)=>{const C=r[y],P=n({queryArgs:h,endpointDefinition:C,endpointName:y});if(k(i.internalActions.queryResultPatched({queryCacheKey:P,patches:v})),!S)return;const R=i.endpoints[y].select(h)(x()),A=Wn(C.providesTags,R.data,void 0,h,{},o);k(i.internalActions.updateProvidedBy({queryCacheKey:P,providedTags:A}))},a=(y,h,v,S=!0)=>(k,x)=>{const P=i.endpoints[y].select(h)(x());let R={patches:[],inversePatches:[],undo:()=>k(i.util.patchQueryData(y,h,R.inversePatches,S))};if(P.status==="uninitialized")return R;let A;if("data"in P)if(he(P.data)){const[T,M,$]=vs(P.data,v);R.patches.push(...M),R.inversePatches.push(...$),A=T}else A=v(P.data),R.patches.push({op:"replace",path:[],value:A}),R.inversePatches.push({op:"replace",path:[],value:P.data});return k(i.util.patchQueryData(y,h,R.patches,S)),R},l=(y,h,v)=>S=>S(i.endpoints[y].initiate(h,{subscribe:!1,forceRefetch:!0,[bt]:()=>({data:v})})),d=async(y,{signal:h,abort:v,rejectWithValue:S,fulfillWithValue:k,dispatch:x,getState:C,extra:P})=>{const R=r[y.endpointName];try{let A=ji,T;const M={signal:h,abort:v,dispatch:x,getState:C,extra:P,endpoint:y.endpointName,type:y.type,forced:y.type==="query"?f(y,C()):void 0},$=y.type==="query"?y[bt]:void 0;if($?T=$():R.query?(T=await t(R.query(y.originalArgs),M,R.extraOptions),R.transformResponse&&(A=R.transformResponse)):T=await R.queryFn(y.originalArgs,M,R.extraOptions,W=>t(W,M,R.extraOptions)),typeof process<"u",T.error)throw new Ni(T.error,T.meta);return k(await A(T.data,T.meta,y.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:T.meta,[Qe]:!0})}catch(A){let T=A;if(T instanceof Ni){let M=ji;R.query&&R.transformErrorResponse&&(M=R.transformErrorResponse);try{return S(await M(T.value,T.meta,y.originalArgs),{baseQueryMeta:T.meta,[Qe]:!0})}catch($){T=$}}throw typeof process<"u",console.error(T),T}};function f(y,h){var C,P,R;const v=(P=(C=h[e])==null?void 0:C.queries)==null?void 0:P[y.queryCacheKey],S=(R=h[e])==null?void 0:R.config.refetchOnMountOrArgChange,k=v==null?void 0:v.fulfilledTimeStamp,x=y.forceRefetch??(y.subscribe&&S);return x?x===!0||(Number(new Date)-Number(k))/1e3>=x:!1}const c=Mi(`${e}/executeQuery`,d,{getPendingMeta(){return{startedTimeStamp:Date.now(),[Qe]:!0}},condition(y,{getState:h}){var R,A,T;const v=h(),S=(A=(R=v[e])==null?void 0:R.queries)==null?void 0:A[y.queryCacheKey],k=S==null?void 0:S.fulfilledTimeStamp,x=y.originalArgs,C=S==null?void 0:S.originalArgs,P=r[y.endpointName];return Xr(y)?!0:(S==null?void 0:S.status)==="pending"?!1:f(y,v)||Os(P)&&((T=P==null?void 0:P.forceRefetch)!=null&&T.call(P,{currentArg:x,previousArg:C,endpointState:S,state:v}))?!0:!k},dispatchConditionRejection:!0}),p=Mi(`${e}/executeMutation`,d,{getPendingMeta(){return{startedTimeStamp:Date.now(),[Qe]:!0}}}),u=y=>"force"in y,g=y=>"ifOlderThan"in y,w=(y,h,v)=>(S,k)=>{const x=u(v)&&v.force,C=g(v)&&v.ifOlderThan,P=(A=!0)=>i.endpoints[y].initiate(h,{forceRefetch:A}),R=i.endpoints[y].select(h)(k());if(x)S(P());else if(C){const A=R==null?void 0:R.fulfilledTimeStamp;if(!A){S(P());return}(Number(new Date)-Number(new Date(A)))/1e3>=C&&S(P())}else S(P(!1))};function _(y){return h=>{var v,S;return((S=(v=h==null?void 0:h.meta)==null?void 0:v.arg)==null?void 0:S.endpointName)===y}}function m(y,h){return{matchPending:lt(Ln(y),_(h)),matchFulfilled:lt(Ee(y),_(h)),matchRejected:lt(et(y),_(h))}}return{queryThunk:c,mutationThunk:p,prefetch:w,updateQueryData:a,upsertQueryData:l,patchQueryData:s,buildMatchThunkActions:m}}function Ms(e,t,r,n){return Wn(r[e.meta.arg.endpointName][t],Ee(e)?e.payload:void 0,br(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function Lt(e,t,r){const n=e[t];n&&r(n)}function St(e){return("arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)??e.requestId}function zi(e,t,r){const n=e[St(t)];n&&r(n)}var ot={};function Lu({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:o,hasRehydrationInfo:s},assertTagType:a,config:l}){const d=te(`${e}/resetApiState`),f=Ce({name:`${e}/queries`,initialState:ot,reducers:{removeQueryResult:{reducer(h,{payload:{queryCacheKey:v}}){delete h[v]},prepare:it()},queryResultPatched:{reducer(h,{payload:{queryCacheKey:v,patches:S}}){Lt(h,v,k=>{k.data=Pi(k.data,S.concat())})},prepare:it()}},extraReducers(h){h.addCase(t.pending,(v,{meta:S,meta:{arg:k}})=>{var C;const x=Xr(k);v[C=k.queryCacheKey]??(v[C]={status:"uninitialized",endpointName:k.endpointName}),Lt(v,k.queryCacheKey,P=>{P.status="pending",P.requestId=x&&P.requestId?P.requestId:S.requestId,k.originalArgs!==void 0&&(P.originalArgs=k.originalArgs),P.startedTimeStamp=S.startedTimeStamp})}).addCase(t.fulfilled,(v,{meta:S,payload:k})=>{Lt(v,S.arg.queryCacheKey,x=>{if(x.requestId!==S.requestId&&!Xr(S.arg))return;const{merge:C}=n[S.arg.endpointName];if(x.status="fulfilled",C)if(x.data!==void 0){const{fulfilledTimeStamp:P,arg:R,baseQueryMeta:A,requestId:T}=S;let M=At(x.data,$=>C($,k,{arg:R.originalArgs,baseQueryMeta:A,fulfilledTimeStamp:P,requestId:T}));x.data=M}else x.data=k;else x.data=n[S.arg.endpointName].structuralSharing??!0?Es(pe(x.data)?Oc(x.data):x.data,k):k;delete x.error,x.fulfilledTimeStamp=S.fulfilledTimeStamp})}).addCase(t.rejected,(v,{meta:{condition:S,arg:k,requestId:x},error:C,payload:P})=>{Lt(v,k.queryCacheKey,R=>{if(!S){if(R.requestId!==x)return;R.status="rejected",R.error=P??C}})}).addMatcher(s,(v,S)=>{const{queries:k}=o(S);for(const[x,C]of Object.entries(k))((C==null?void 0:C.status)==="fulfilled"||(C==null?void 0:C.status)==="rejected")&&(v[x]=C)})}}),c=Ce({name:`${e}/mutations`,initialState:ot,reducers:{removeMutationResult:{reducer(h,{payload:v}){const S=St(v);S in h&&delete h[S]},prepare:it()}},extraReducers(h){h.addCase(r.pending,(v,{meta:S,meta:{requestId:k,arg:x,startedTimeStamp:C}})=>{x.track&&(v[St(S)]={requestId:k,status:"pending",endpointName:x.endpointName,startedTimeStamp:C})}).addCase(r.fulfilled,(v,{payload:S,meta:k})=>{k.arg.track&&zi(v,k,x=>{x.requestId===k.requestId&&(x.status="fulfilled",x.data=S,x.fulfilledTimeStamp=k.fulfilledTimeStamp)})}).addCase(r.rejected,(v,{payload:S,error:k,meta:x})=>{x.arg.track&&zi(v,x,C=>{C.requestId===x.requestId&&(C.status="rejected",C.error=S??k)})}).addMatcher(s,(v,S)=>{const{mutations:k}=o(S);for(const[x,C]of Object.entries(k))((C==null?void 0:C.status)==="fulfilled"||(C==null?void 0:C.status)==="rejected")&&x!==(C==null?void 0:C.requestId)&&(v[x]=C)})}}),p=Ce({name:`${e}/invalidation`,initialState:ot,reducers:{updateProvidedBy:{reducer(h,v){var x,C;const{queryCacheKey:S,providedTags:k}=v.payload;for(const P of Object.values(h))for(const R of Object.values(P)){const A=R.indexOf(S);A!==-1&&R.splice(A,1)}for(const{type:P,id:R}of k){const A=(x=h[P]??(h[P]={}))[C=R||"__internal_without_id"]??(x[C]=[]);A.includes(S)||A.push(S)}},prepare:it()}},extraReducers(h){h.addCase(f.actions.removeQueryResult,(v,{payload:{queryCacheKey:S}})=>{for(const k of Object.values(v))for(const x of Object.values(k)){const C=x.indexOf(S);C!==-1&&x.splice(C,1)}}).addMatcher(s,(v,S)=>{var x,C;const{provided:k}=o(S);for(const[P,R]of Object.entries(k))for(const[A,T]of Object.entries(R)){const M=(x=v[P]??(v[P]={}))[C=A||"__internal_without_id"]??(x[C]=[]);for(const $ of T)M.includes($)||M.push($)}}).addMatcher(Re(Ee(t),br(t)),(v,S)=>{const k=Ms(S,"providesTags",n,a),{queryCacheKey:x}=S.meta.arg;p.caseReducers.updateProvidedBy(v,p.actions.updateProvidedBy({queryCacheKey:x,providedTags:k}))})}}),u=Ce({name:`${e}/subscriptions`,initialState:ot,reducers:{updateSubscriptionOptions(h,v){},unsubscribeQueryResult(h,v){},internal_getRTKQSubscriptions(){}}}),g=Ce({name:`${e}/internalSubscriptions`,initialState:ot,reducers:{subscriptionsUpdated:{reducer(h,v){return Pi(h,v.payload)},prepare:it()}}}),w=Ce({name:`${e}/config`,initialState:{online:Tu(),focused:Au(),middlewareRegistered:!1,...l},reducers:{middlewareRegistered(h,{payload:v}){h.middlewareRegistered=h.middlewareRegistered==="conflict"||i!==v?"conflict":!0}},extraReducers:h=>{h.addCase(Bn,v=>{v.online=!0}).addCase(As,v=>{v.online=!1}).addCase(zn,v=>{v.focused=!0}).addCase(Ts,v=>{v.focused=!1}).addMatcher(s,v=>({...v}))}}),_=ds({queries:f.reducer,mutations:c.reducer,provided:p.reducer,subscriptions:g.reducer,config:w.reducer}),m=(h,v)=>_(d.match(v)?void 0:h,v),y={...w.actions,...f.actions,...u.actions,...g.actions,...c.actions,...p.actions,resetApiState:d};return{reducer:m,actions:y}}var $e=Symbol.for("RTKQ/skipToken"),$s={status:"uninitialized"},Bi=At($s,()=>{}),Wi=At($s,()=>{});function ju({serializeQueryArgs:e,reducerPath:t}){const r=f=>Bi,n=f=>Wi;return{buildQuerySelector:s,buildMutationSelector:a,selectInvalidatedBy:l,selectCachedArgsForQuery:d};function i(f){return{...f,...ku(f.status)}}function o(f){return f[t]}function s(f,c){return p=>{const u=e({queryArgs:p,endpointDefinition:c,endpointName:f});return Ke(p===$e?r:_=>{var m,y;return((y=(m=o(_))==null?void 0:m.queries)==null?void 0:y[u])??Bi},i)}}function a(){return f=>{let c;return typeof f=="object"?c=St(f)??$e:c=f,Ke(c===$e?n:g=>{var w,_;return((_=(w=o(g))==null?void 0:w.mutations)==null?void 0:_[c])??Wi},i)}}function l(f,c){const p=f[t],u=new Set;for(const g of c.map(Yr)){const w=p.provided[g.type];if(!w)continue;let _=(g.id!==void 0?w[g.id]:$i(Object.values(w)))??[];for(const m of _)u.add(m)}return $i(Array.from(u.values()).map(g=>{const w=p.queries[g];return w?[{queryCacheKey:g,endpointName:w.endpointName,originalArgs:w.originalArgs}]:[]}))}function d(f,c){return Object.values(f[t].queries).filter(p=>(p==null?void 0:p.endpointName)===c&&p.status!=="uninitialized").map(p=>p.originalArgs)}}var We=WeakMap?new WeakMap:void 0,Ui=({endpointName:e,queryArgs:t})=>{let r="";const n=We==null?void 0:We.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,s)=>we(s)?Object.keys(s).sort().reduce((a,l)=>(a[l]=s[l],a),{}):s);we(t)&&(We==null||We.set(t,i)),r=i}return`${e}(${r})`};function zu(...e){return function(r){const n=wt(d=>{var f;return(f=r.extractRehydrationInfo)==null?void 0:f.call(r,d,{reducerPath:r.reducerPath??"api"})}),i={reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed",...r,extractRehydrationInfo:n,serializeQueryArgs(d){let f=Ui;if("serializeQueryArgs"in d.endpointDefinition){const c=d.endpointDefinition.serializeQueryArgs;f=p=>{const u=c(p);return typeof u=="string"?u:Ui({...p,queryArgs:u})}}else r.serializeQueryArgs&&(f=r.serializeQueryArgs);return f(d)},tagTypes:[...r.tagTypes||[]]},o={endpointDefinitions:{},batch(d){d()},apiUid:Cs(),extractRehydrationInfo:n,hasRehydrationInfo:wt(d=>n(d)!=null)},s={injectEndpoints:l,enhanceEndpoints({addTagTypes:d,endpoints:f}){if(d)for(const c of d)i.tagTypes.includes(c)||i.tagTypes.push(c);if(f)for(const[c,p]of Object.entries(f))typeof p=="function"?p(o.endpointDefinitions[c]):Object.assign(o.endpointDefinitions[c]||{},p);return s}},a=e.map(d=>d.init(s,i,o));function l(d){const f=d.endpoints({query:c=>({...c,type:"query"}),mutation:c=>({...c,type:"mutation"})});for(const[c,p]of Object.entries(f)){if(!d.overrideExisting&&c in o.endpointDefinitions){typeof process<"u";continue}o.endpointDefinitions[c]=p;for(const u of a)u.injectEndpoint(c,p)}return s}return s.injectEndpoints({endpoints:r.endpoints})}}function Bu(e){for(let t in e)return!1;return!0}var Wu=2147483647/1e3-1,Uu=({reducerPath:e,api:t,context:r,internalState:n})=>{const{removeQueryResult:i,unsubscribeQueryResult:o}=t.internalActions;function s(f){const c=n.currentSubscriptions[f];return!!c&&!Bu(c)}const a={},l=(f,c,p)=>{var u;if(o.match(f)){const g=c.getState()[e],{queryCacheKey:w}=f.payload;d(w,(u=g.queries[w])==null?void 0:u.endpointName,c,g.config)}if(t.util.resetApiState.match(f))for(const[g,w]of Object.entries(a))w&&clearTimeout(w),delete a[g];if(r.hasRehydrationInfo(f)){const g=c.getState()[e],{queries:w}=r.extractRehydrationInfo(f);for(const[_,m]of Object.entries(w))d(_,m==null?void 0:m.endpointName,c,g.config)}};function d(f,c,p,u){const g=r.endpointDefinitions[c],w=(g==null?void 0:g.keepUnusedDataFor)??u.keepUnusedDataFor;if(w===1/0)return;const _=Math.max(0,Math.min(w,Wu));if(!s(f)){const m=a[f];m&&clearTimeout(m),a[f]=setTimeout(()=>{s(f)||p.dispatch(i({queryCacheKey:f})),delete a[f]},_*1e3)}}return l},qu=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:n,queryThunk:i,api:o,assertTagType:s,refetchQuery:a,internalState:l})=>{const{removeQueryResult:d}=o.internalActions,f=Re(Ee(n),br(n)),c=Re(Ee(n,i),et(n,i));let p=[];const u=(_,m)=>{f(_)?w(Ms(_,"invalidatesTags",r,s),m):c(_)?w([],m):o.util.invalidateTags.match(_)&&w(Wn(_.payload,void 0,void 0,void 0,void 0,s),m)};function g(_){var m,y;for(const h in _.queries)if(((m=_.queries[h])==null?void 0:m.status)==="pending")return!0;for(const h in _.mutations)if(((y=_.mutations[h])==null?void 0:y.status)==="pending")return!0;return!1}function w(_,m){const y=m.getState(),h=y[e];if(p.push(..._),h.config.invalidationBehavior==="delayed"&&g(h))return;const v=p;if(p=[],v.length===0)return;const S=o.util.selectInvalidatedBy(y,v);t.batch(()=>{const k=Array.from(S.values());for(const{queryCacheKey:x}of k){const C=h.queries[x],P=l.currentSubscriptions[x]??{};C&&(Je(P)===0?m.dispatch(d({queryCacheKey:x})):C.status!=="uninitialized"&&m.dispatch(a(C,x)))}})}return u},Hu=({reducerPath:e,queryThunk:t,api:r,refetchQuery:n,internalState:i})=>{const o={},s=(p,u)=>{(r.internalActions.updateSubscriptionOptions.match(p)||r.internalActions.unsubscribeQueryResult.match(p))&&l(p.payload,u),(t.pending.match(p)||t.rejected.match(p)&&p.meta.condition)&&l(p.meta.arg,u),(t.fulfilled.match(p)||t.rejected.match(p)&&!p.meta.condition)&&a(p.meta.arg,u),r.util.resetApiState.match(p)&&f()};function a({queryCacheKey:p},u){const w=u.getState()[e].queries[p],_=i.currentSubscriptions[p];if(!w||w.status==="uninitialized")return;const m=c(_);if(!Number.isFinite(m))return;const y=o[p];y!=null&&y.timeout&&(clearTimeout(y.timeout),y.timeout=void 0);const h=Date.now()+m,v=o[p]={nextPollTimestamp:h,pollingInterval:m,timeout:setTimeout(()=>{v.timeout=void 0,u.dispatch(n(w,p))},m)}}function l({queryCacheKey:p},u){const w=u.getState()[e].queries[p],_=i.currentSubscriptions[p];if(!w||w.status==="uninitialized")return;const m=c(_);if(!Number.isFinite(m)){d(p);return}const y=o[p],h=Date.now()+m;(!y||h<y.nextPollTimestamp)&&a({queryCacheKey:p},u)}function d(p){const u=o[p];u!=null&&u.timeout&&clearTimeout(u.timeout),delete o[p]}function f(){for(const p of Object.keys(o))d(p)}function c(p={}){let u=Number.POSITIVE_INFINITY;for(let g in p)p[g].pollingInterval&&(u=Math.min(p[g].pollingInterval,u));return u}return s},Qu=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,s=(l,d)=>{zn.match(l)&&a(d,"refetchOnFocus"),Bn.match(l)&&a(d,"refetchOnReconnect")};function a(l,d){const f=l.getState()[e],c=f.queries,p=i.currentSubscriptions;t.batch(()=>{for(const u of Object.keys(p)){const g=c[u],w=p[u];if(!w||!g)continue;(Object.values(w).some(m=>m[d]===!0)||Object.values(w).every(m=>m[d]===void 0)&&f.config[d])&&(Je(w)===0?l.dispatch(o({queryCacheKey:u})):g.status!=="uninitialized"&&l.dispatch(n(g,u)))}})}return s},qi=new Error("Promise never resolved before cacheEntryRemoved."),Vu=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const s=Gr(n),a=Gr(i),l=Ee(n,i),d={},f=(u,g,w)=>{const _=c(u);if(n.pending.match(u)){const m=w[t].queries[_],y=g.getState()[t].queries[_];!m&&y&&p(u.meta.arg.endpointName,u.meta.arg.originalArgs,_,g,u.meta.requestId)}else if(i.pending.match(u))g.getState()[t].mutations[_]&&p(u.meta.arg.endpointName,u.meta.arg.originalArgs,_,g,u.meta.requestId);else if(l(u)){const m=d[_];m!=null&&m.valueResolved&&(m.valueResolved({data:u.payload,meta:u.meta.baseQueryMeta}),delete m.valueResolved)}else if(e.internalActions.removeQueryResult.match(u)||e.internalActions.removeMutationResult.match(u)){const m=d[_];m&&(delete d[_],m.cacheEntryRemoved())}else if(e.util.resetApiState.match(u))for(const[m,y]of Object.entries(d))delete d[m],y.cacheEntryRemoved()};function c(u){return s(u)?u.meta.arg.queryCacheKey:a(u)?u.meta.requestId:e.internalActions.removeQueryResult.match(u)?u.payload.queryCacheKey:e.internalActions.removeMutationResult.match(u)?St(u.payload):""}function p(u,g,w,_,m){const y=r.endpointDefinitions[u],h=y==null?void 0:y.onCacheEntryAdded;if(!h)return;let v={};const S=new Promise(A=>{v.cacheEntryRemoved=A}),k=Promise.race([new Promise(A=>{v.valueResolved=A}),S.then(()=>{throw qi})]);k.catch(()=>{}),d[w]=v;const x=e.endpoints[u].select(y.type==="query"?g:w),C=_.dispatch((A,T,M)=>M),P={..._,getCacheEntry:()=>x(_.getState()),requestId:m,extra:C,updateCachedData:y.type==="query"?A=>_.dispatch(e.util.updateQueryData(u,g,A)):void 0,cacheDataLoaded:k,cacheEntryRemoved:S},R=h(g,P);Promise.resolve(R).catch(A=>{if(A!==qi)throw A})}return f},Ku=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=Ln(r,n),o=et(r,n),s=Ee(r,n),a={};return(d,f)=>{var c,p;if(i(d)){const{requestId:u,arg:{endpointName:g,originalArgs:w}}=d.meta,_=t.endpointDefinitions[g],m=_==null?void 0:_.onQueryStarted;if(m){const y={},h=new Promise((x,C)=>{y.resolve=x,y.reject=C});h.catch(()=>{}),a[u]=y;const v=e.endpoints[g].select(_.type==="query"?w:u),S=f.dispatch((x,C,P)=>P),k={...f,getCacheEntry:()=>v(f.getState()),requestId:u,extra:S,updateCachedData:_.type==="query"?x=>f.dispatch(e.util.updateQueryData(g,w,x)):void 0,queryFulfilled:h};m(w,k)}}else if(s(d)){const{requestId:u,baseQueryMeta:g}=d.meta;(c=a[u])==null||c.resolve({data:d.payload,meta:g}),delete a[u]}else if(o(d)){const{requestId:u,rejectedWithValue:g,baseQueryMeta:w}=d.meta;(p=a[u])==null||p.reject({error:d.payload??d.error,isUnhandledError:!g,meta:w}),delete a[u]}}},Ju=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t)),typeof process<"u"},Gu=({api:e,queryThunk:t,internalState:r})=>{const n=`${e.reducerPath}/subscriptions`;let i=null,o=null;const{updateSubscriptionOptions:s,unsubscribeQueryResult:a}=e.internalActions,l=(u,g)=>{var _,m,y;if(s.match(g)){const{queryCacheKey:h,requestId:v,options:S}=g.payload;return(_=u==null?void 0:u[h])!=null&&_[v]&&(u[h][v]=S),!0}if(a.match(g)){const{queryCacheKey:h,requestId:v}=g.payload;return u[h]&&delete u[h][v],!0}if(e.internalActions.removeQueryResult.match(g))return delete u[g.payload.queryCacheKey],!0;if(t.pending.match(g)){const{meta:{arg:h,requestId:v}}=g,S=u[m=h.queryCacheKey]??(u[m]={});return S[`${v}_running`]={},h.subscribe&&(S[v]=h.subscriptionOptions??S[v]??{}),!0}let w=!1;if(t.fulfilled.match(g)||t.rejected.match(g)){const h=u[g.meta.arg.queryCacheKey]||{},v=`${g.meta.requestId}_running`;w||(w=!!h[v]),delete h[v]}if(t.rejected.match(g)){const{meta:{condition:h,arg:v,requestId:S}}=g;if(h&&v.subscribe){const k=u[y=v.queryCacheKey]??(u[y]={});k[S]=v.subscriptionOptions??k[S]??{},w=!0}}return w},d=()=>r.currentSubscriptions,p={getSubscriptions:d,getSubscriptionCount:u=>{const w=d()[u]??{};return Je(w)},isRequestSubscribed:(u,g)=>{var _;const w=d();return!!((_=w==null?void 0:w[u])!=null&&_[g])}};return(u,g)=>{if(i||(i=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(u))return i=r.currentSubscriptions={},o=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(u))return[!1,p];const w=l(r.currentSubscriptions,u);let _=!0;if(w){o||(o=setTimeout(()=>{const h=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,v]=vs(i,()=>h);g.next(e.internalActions.subscriptionsUpdated(v)),i=h,o=null},500));const m=typeof u.type=="string"&&!!u.type.startsWith(n),y=t.rejected.match(u)&&u.meta.condition&&!!u.meta.arg.subscribe;_=!m&&!y}return[_,!1]}};function Yu(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:o}=i,s={invalidateTags:te(`${t}/invalidateTags`)},a=c=>c.type.startsWith(`${t}/`),l=[Ju,Uu,qu,Hu,Vu,Ku];return{middleware:c=>{let p=!1;const g={...e,internalState:{currentSubscriptions:{}},refetchQuery:f,isThisApiSliceAction:a},w=l.map(y=>y(g)),_=Gu(g),m=Qu(g);return y=>h=>{if(!fs(h))return y(h);p||(p=!0,c.dispatch(n.internalActions.middlewareRegistered(o)));const v={...c,next:y},S=c.getState(),[k,x]=_(h,v,S);let C;if(k?C=y(h):C=x,c.getState()[t]&&(m(h,v,S),a(h)||i.hasRehydrationInfo(h)))for(let P of w)P(h,v,S);return C}},actions:s};function f(c,p,u={}){return r({type:"query",endpointName:c.endpointName,originalArgs:c.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:p,...u})}}function ke(e,...t){return Object.assign(e,...t)}var Hi=Symbol(),Xu=()=>({name:Hi,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:s,refetchOnFocus:a,refetchOnReconnect:l,invalidationBehavior:d},f){zc();const c=j=>(typeof process<"u",j);Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:Bn,onOffline:As,onFocus:zn,onFocusLost:Ts},util:{}});const{queryThunk:p,mutationThunk:u,patchQueryData:g,updateQueryData:w,upsertQueryData:_,prefetch:m,buildMatchThunkActions:y}=Nu({baseQuery:t,reducerPath:n,context:f,api:e,serializeQueryArgs:i,assertTagType:c}),{reducer:h,actions:v}=Lu({context:f,queryThunk:p,mutationThunk:u,reducerPath:n,assertTagType:c,config:{refetchOnFocus:a,refetchOnReconnect:l,refetchOnMountOrArgChange:s,keepUnusedDataFor:o,reducerPath:n,invalidationBehavior:d}});ke(e.util,{patchQueryData:g,updateQueryData:w,upsertQueryData:_,prefetch:m,resetApiState:v.resetApiState}),ke(e.internalActions,v);const{middleware:S,actions:k}=Yu({reducerPath:n,context:f,queryThunk:p,mutationThunk:u,api:e,assertTagType:c});ke(e.util,k),ke(e,{reducer:h,middleware:S});const{buildQuerySelector:x,buildMutationSelector:C,selectInvalidatedBy:P,selectCachedArgsForQuery:R}=ju({serializeQueryArgs:i,reducerPath:n});ke(e.util,{selectInvalidatedBy:P,selectCachedArgsForQuery:R});const{buildInitiateQuery:A,buildInitiateMutation:T,getRunningMutationThunk:M,getRunningMutationsThunk:$,getRunningQueriesThunk:W,getRunningQueryThunk:K}=Fu({queryThunk:p,mutationThunk:u,api:e,serializeQueryArgs:i,context:f});return ke(e.util,{getRunningMutationThunk:M,getRunningMutationsThunk:$,getRunningQueryThunk:K,getRunningQueriesThunk:W}),{name:Hi,injectEndpoint(j,I){var H;const ee=e;(H=ee.endpoints)[j]??(H[j]={}),Os(I)?ke(ee.endpoints[j],{name:j,select:x(j,I),initiate:A(j,I)},y(p,j)):Iu(I)&&ke(ee.endpoints[j],{name:j,select:C(),initiate:T(j)},y(u,j))}}}}),Is={exports:{}},Ds={};const Zu=Ya(pt);/**
|
8
|
+
*/var V=typeof Symbol=="function"&&Symbol.for,On=V?Symbol.for("react.element"):60103,In=V?Symbol.for("react.portal"):60106,fr=V?Symbol.for("react.fragment"):60107,pr=V?Symbol.for("react.strict_mode"):60108,hr=V?Symbol.for("react.profiler"):60114,mr=V?Symbol.for("react.provider"):60109,yr=V?Symbol.for("react.context"):60110,Mn=V?Symbol.for("react.async_mode"):60111,gr=V?Symbol.for("react.concurrent_mode"):60111,_r=V?Symbol.for("react.forward_ref"):60112,vr=V?Symbol.for("react.suspense"):60113,ec=V?Symbol.for("react.suspense_list"):60120,br=V?Symbol.for("react.memo"):60115,wr=V?Symbol.for("react.lazy"):60116,tc=V?Symbol.for("react.block"):60121,rc=V?Symbol.for("react.fundamental"):60117,nc=V?Symbol.for("react.responder"):60118,ic=V?Symbol.for("react.scope"):60119;function ue(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case On:switch(e=e.type,e){case Mn:case gr:case fr:case hr:case pr:case vr:return e;default:switch(e=e&&e.$$typeof,e){case yr:case _r:case wr:case br:case mr:return e;default:return t}}case In:return t}}}function ns(e){return ue(e)===gr}L.AsyncMode=Mn;L.ConcurrentMode=gr;L.ContextConsumer=yr;L.ContextProvider=mr;L.Element=On;L.ForwardRef=_r;L.Fragment=fr;L.Lazy=wr;L.Memo=br;L.Portal=In;L.Profiler=hr;L.StrictMode=pr;L.Suspense=vr;L.isAsyncMode=function(e){return ns(e)||ue(e)===Mn};L.isConcurrentMode=ns;L.isContextConsumer=function(e){return ue(e)===yr};L.isContextProvider=function(e){return ue(e)===mr};L.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===On};L.isForwardRef=function(e){return ue(e)===_r};L.isFragment=function(e){return ue(e)===fr};L.isLazy=function(e){return ue(e)===wr};L.isMemo=function(e){return ue(e)===br};L.isPortal=function(e){return ue(e)===In};L.isProfiler=function(e){return ue(e)===hr};L.isStrictMode=function(e){return ue(e)===pr};L.isSuspense=function(e){return ue(e)===vr};L.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===fr||e===gr||e===hr||e===pr||e===vr||e===ec||typeof e=="object"&&e!==null&&(e.$$typeof===wr||e.$$typeof===br||e.$$typeof===mr||e.$$typeof===yr||e.$$typeof===_r||e.$$typeof===rc||e.$$typeof===nc||e.$$typeof===ic||e.$$typeof===tc)};L.typeOf=ue;rs.exports=L;var oc=rs.exports,is=oc,sc={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ac={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},os={};os[is.ForwardRef]=sc;os[is.Memo]=ac;var cc=!0;function ss(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var $n=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||cc===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Nn=function(t,r,n){$n(t,r,n);var i=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var o=r;do t.insert(r===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function uc(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var lc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},dc=/[A-Z]|^ms/g,fc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,as=function(t){return t.charCodeAt(1)===45},_i=function(t){return t!=null&&typeof t!="boolean"},Ar=Zo(function(e){return as(e)?e:e.replace(dc,"-$&").toLowerCase()}),vi=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(fc,function(n,i,o){return ge={name:i,styles:o,next:ge},i})}return lc[t]!==1&&!as(t)&&typeof r=="number"&&r!==0?r+"px":r};function vt(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return ge={name:r.name,styles:r.styles,next:ge},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)ge={name:n.name,styles:n.styles,next:ge},n=n.next;var i=r.styles+";";return i}return pc(e,t,r)}case"function":{if(e!==void 0){var o=ge,s=r(e);return ge=o,vt(e,t,s)}break}}if(t==null)return r;var a=t[r];return a!==void 0?a:r}function pc(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=vt(e,t,r[i])+";";else for(var o in r){var s=r[o];if(typeof s!="object")t!=null&&t[s]!==void 0?n+=o+"{"+t[s]+"}":_i(s)&&(n+=Ar(o)+":"+vi(o,s)+";");else if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var a=0;a<s.length;a++)_i(s[a])&&(n+=Ar(o)+":"+vi(o,s[a])+";");else{var c=vt(e,t,s);switch(o){case"animation":case"animationName":{n+=Ar(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}return n}var bi=/label:\s*([^\s;\n{]+)\s*(;|$)/g,ge,Sr=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,o="";ge=void 0;var s=t[0];s==null||s.raw===void 0?(i=!1,o+=vt(n,r,s)):o+=s[0];for(var a=1;a<t.length;a++)o+=vt(n,r,t[a]),i&&(o+=s[a]);bi.lastIndex=0;for(var c="",d;(d=bi.exec(o))!==null;)c+="-"+d[1];var f=uc(o)+c;return{name:f,styles:o,next:ge}},hc=function(t){return t()},cs=yt.useInsertionEffect?yt.useInsertionEffect:!1,us=cs||hc,wi=cs||We,xr={}.hasOwnProperty,ls=cr(typeof HTMLElement<"u"?ts({key:"css"}):null),mc=ls.Provider,Fn=function(t){return Cn(function(r,n){var i=it(ls);return t(r,i,n)})},Dn=cr({}),Kr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ds=function(t,r){var n={};for(var i in r)xr.call(r,i)&&(n[i]=r[i]);return n[Kr]=t,n},yc=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return $n(r,n,i),us(function(){return Nn(r,n,i)}),null},gc=Fn(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[Kr],o=[n],s="";typeof e.className=="string"?s=ss(t.registered,o,e.className):e.className!=null&&(s=e.className+" ");var a=Sr(o,void 0,it(Dn));s+=t.key+"-"+a.name;var c={};for(var d in e)xr.call(e,d)&&d!=="css"&&d!==Kr&&(c[d]=e[d]);return c.ref=r,c.className=s,U(ae,null,U(yc,{cache:t,serialized:a,isStringTag:typeof i=="string"}),U(i,c))}),fs=gc,_c=Fn(function(e,t){var r=e.styles,n=Sr([r],void 0,it(Dn)),i=le();return wi(function(){var o=t.key+"-global",s=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,c=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),c!==null&&(a=!0,c.setAttribute("data-emotion",o),s.hydrate([c])),i.current=[s,a],function(){s.flush()}},[t]),wi(function(){var o=i.current,s=o[0],a=o[1];if(a){o[1]=!1;return}if(n.next!==void 0&&Nn(t,n.next,!0),s.tags.length){var c=s.tags[s.tags.length-1].nextElementSibling;s.before=c,s.flush()}t.insert("",n,s,!1)},[t,n.name]),null});function vc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Sr(t)}var bc=0;function Zt(e,t,r,n,i,o){var s,a,c={};for(a in t)a=="ref"?s=t[a]:c[a]=t[a];var d={type:e,props:c,key:r,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--bc,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(s=e.defaultProps))for(a in s)c[a]===void 0&&(c[a]=s[a]);return O.vnode&&O.vnode(d),d}var At=ae;function w(e,t,r){return xr.call(t,"css")?Zt(fs,ds(e,t),r):Zt(e,t,r)}function R(e,t,r){return xr.call(t,"css")?Zt(fs,ds(e,t),r):Zt(e,t,r)}const Ln=({size:e=48})=>w("div",{css:{display:"inline-block","@keyframes spin":{to:{transform:"rotate(360deg)"}},animation:"spin 1s linear infinite"},children:R("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM1.99743 8C1.99743 11.3151 4.68487 14.0026 8 14.0026C11.3151 14.0026 14.0026 11.3151 14.0026 8C14.0026 4.68487 11.3151 1.99743 8 1.99743C4.68487 1.99743 1.99743 4.68487 1.99743 8Z",fill:"white","fill-opacity":"0.3"}),w("path",{d:"M8 1C8 0.447715 8.44943 -0.00643769 8.99741 0.0624193C9.70527 0.151368 10.3996 0.334798 11.0615 0.608964C12.0321 1.011 12.914 1.60028 13.6569 2.34315C14.3997 3.08602 14.989 3.96793 15.391 4.93853C15.6652 5.60043 15.8486 6.29473 15.9376 7.0026C16.0064 7.55057 15.5523 8 15 8C14.4477 8 14.0085 7.54925 13.9169 7.00462C13.842 6.55939 13.7169 6.12298 13.5433 5.7039C13.2417 4.97595 12.7998 4.31451 12.2426 3.75736C11.6855 3.20021 11.0241 2.75825 10.2961 2.45672C9.87702 2.28313 9.44061 2.15804 8.99538 2.08314C8.45075 1.99152 8 1.55228 8 1Z",css:{fill:"var(--fl-color-primary)"}})]})});var wc=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Sc=Zo(function(e){return wc.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),xc=Sc,kc=function(t){return t!=="theme"},Si=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?xc:kc},xi=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(s){return t.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},Cc=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return $n(r,n,i),us(function(){return Nn(r,n,i)}),null},Tc=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,s;r!==void 0&&(o=r.label,s=r.target);var a=xi(t,r,n),c=a||Si(i),d=!c("as");return function(){var f=arguments,u=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&u.push("label:"+o+";"),f[0]==null||f[0].raw===void 0)u.push.apply(u,f);else{u.push(f[0][0]);for(var p=f.length,l=1;l<p;l++)u.push(f[l],f[0][l])}var g=Fn(function(b,_,m){var y=d&&b.as||i,h="",v=[],S=b;if(b.theme==null){S={};for(var k in b)S[k]=b[k];S.theme=it(Dn)}typeof b.className=="string"?h=ss(_.registered,v,b.className):b.className!=null&&(h=b.className+" ");var x=Sr(u.concat(v),_.registered,S);h+=_.key+"-"+x.name,s!==void 0&&(h+=" "+s);var C=d&&a===void 0?Si(y):c,T={};for(var P in b)d&&P==="as"||C(P)&&(T[P]=b[P]);return T.className=h,T.ref=m,U(ae,null,U(Cc,{cache:_,serialized:x,isStringTag:typeof y=="string"}),U(y,T))});return g.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=i,g.__emotion_styles=u,g.__emotion_forwardProp=a,Object.defineProperty(g,"toString",{value:function(){return"."+s}}),g.withComponent=function(b,_){return e(b,Vr({},r,_,{shouldForwardProp:xi(g,_,!0)})).apply(void 0,u)},g}},Pc=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],er=Tc.bind();Pc.forEach(function(e){er[e]=er(e)});function J(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Rc=typeof Symbol=="function"&&Symbol.observable||"@@observable",ki=Rc,Or=()=>Math.random().toString(36).substring(7).split("").join("."),Ec={INIT:`@@redux/INIT${Or()}`,REPLACE:`@@redux/REPLACE${Or()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Or()}`},tr=Ec;function be(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function ps(e,t,r){if(typeof e!="function")throw new Error(J(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(J(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(J(1));return r(ps)(e,t)}let n=e,i=t,o=new Map,s=o,a=0,c=!1;function d(){s===o&&(s=new Map,o.forEach((_,m)=>{s.set(m,_)}))}function f(){if(c)throw new Error(J(3));return i}function u(_){if(typeof _!="function")throw new Error(J(4));if(c)throw new Error(J(5));let m=!0;d();const y=a++;return s.set(y,_),function(){if(m){if(c)throw new Error(J(6));m=!1,d(),s.delete(y),o=null}}}function p(_){if(!be(_))throw new Error(J(7));if(typeof _.type>"u")throw new Error(J(8));if(typeof _.type!="string")throw new Error(J(17));if(c)throw new Error(J(9));try{c=!0,i=n(i,_)}finally{c=!1}return(o=s).forEach(y=>{y()}),_}function l(_){if(typeof _!="function")throw new Error(J(10));n=_,p({type:tr.REPLACE})}function g(){const _=u;return{subscribe(m){if(typeof m!="object"||m===null)throw new Error(J(11));function y(){const v=m;v.next&&v.next(f())}return y(),{unsubscribe:_(y)}},[ki](){return this}}}return p({type:tr.INIT}),{dispatch:p,subscribe:u,getState:f,replaceReducer:l,[ki]:g}}function Ac(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:tr.INIT})>"u")throw new Error(J(12));if(typeof r(void 0,{type:tr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(J(13))})}function hs(e){const t=Object.keys(e),r={};for(let o=0;o<t.length;o++){const s=t[o];typeof e[s]=="function"&&(r[s]=e[s])}const n=Object.keys(r);let i;try{Ac(r)}catch(o){i=o}return function(s={},a){if(i)throw i;let c=!1;const d={};for(let f=0;f<n.length;f++){const u=n[f],p=r[u],l=s[u],g=p(l,a);if(typeof g>"u")throw a&&a.type,new Error(J(14));d[u]=g,c=c||g!==l}return c=c||n.length!==Object.keys(s).length,c?d:s}}function rr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function Oc(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(J(15))};const s={getState:i.getState,dispatch:(c,...d)=>o(c,...d)},a=e.map(c=>c(s));return o=rr(...a)(i.dispatch),{...i,dispatch:o}}}function ms(e){return be(e)&&"type"in e&&typeof e.type=="string"}var jn=Symbol.for("immer-nothing"),ft=Symbol.for("immer-draftable"),ie=Symbol.for("immer-state");function Y(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var De=Object.getPrototypeOf;function pe(e){return!!e&&!!e[ie]}function he(e){var t;return e?ys(e)||Array.isArray(e)||!!e[ft]||!!((t=e.constructor)!=null&&t[ft])||Ot(e)||It(e):!1}var Ic=Object.prototype.constructor.toString();function ys(e){if(!e||typeof e!="object")return!1;const t=De(e);if(t===null)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object?!0:typeof r=="function"&&Function.toString.call(r)===Ic}function Mc(e){return pe(e)||Y(15,e),e[ie].base_}function rt(e,t){Le(e)===0?Object.entries(e).forEach(([r,n])=>{t(r,n,e)}):e.forEach((r,n)=>t(n,r,e))}function Le(e){const t=e[ie];return t?t.type_:Array.isArray(e)?1:Ot(e)?2:It(e)?3:0}function bt(e,t){return Le(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Ir(e,t){return Le(e)===2?e.get(t):e[t]}function gs(e,t,r){const n=Le(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function $c(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Ot(e){return e instanceof Map}function It(e){return e instanceof Set}function Me(e){return e.copy_||e.base_}function Jr(e,t){if(Ot(e))return new Map(e);if(It(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&ys(e))return De(e)?{...e}:Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[ie];let n=Reflect.ownKeys(r);for(let i=0;i<n.length;i++){const o=n[i],s=r[o];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(r[o]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[o]})}return Object.create(De(e),r)}function zn(e,t=!1){return kr(e)||pe(e)||!he(e)||(Le(e)>1&&(e.set=e.add=e.clear=e.delete=Nc),Object.freeze(e),t&&rt(e,(r,n)=>zn(n,!0))),e}function Nc(){Y(2)}function kr(e){return Object.isFrozen(e)}var Gr={};function je(e){const t=Gr[e];return t||Y(0,e),t}function Fc(e,t){Gr[e]||(Gr[e]=t)}var wt;function _s(){return wt}function Dc(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Ci(e,t){t&&(je("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Yr(e){Xr(e),e.drafts_.forEach(Lc),e.drafts_=null}function Xr(e){e===wt&&(wt=e.parent_)}function Ti(e){return wt=Dc(wt,e)}function Lc(e){const t=e[ie];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Pi(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[ie].modified_&&(Yr(t),Y(4)),he(e)&&(e=nr(t,e),t.parent_||ir(t,e)),t.patches_&&je("Patches").generateReplacementPatches_(r[ie].base_,e,t.patches_,t.inversePatches_)):e=nr(t,r,[]),Yr(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==jn?e:void 0}function nr(e,t,r){if(kr(t))return t;const n=t[ie];if(!n)return rt(t,(i,o)=>Ri(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return ir(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const i=n.copy_;let o=i,s=!1;n.type_===3&&(o=new Set(i),i.clear(),s=!0),rt(o,(a,c)=>Ri(e,n,i,a,c,r,s)),ir(e,i,!1),r&&e.patches_&&je("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function Ri(e,t,r,n,i,o,s){if(pe(i)){const a=o&&t&&t.type_!==3&&!bt(t.assigned_,n)?o.concat(n):void 0,c=nr(e,i,a);if(gs(r,n,c),pe(c))e.canAutoFreeze_=!1;else return}else s&&r.add(i);if(he(i)&&!kr(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;nr(e,i),(!t||!t.scope_.parent_)&&ir(e,i)}}function ir(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&zn(t,r)}function jc(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:_s(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=Bn;r&&(i=[n],o=St);const{revoke:s,proxy:a}=Proxy.revocable(i,o);return n.draft_=a,n.revoke_=s,a}var Bn={get(e,t){if(t===ie)return e;const r=Me(e);if(!bt(r,t))return zc(e,r,t);const n=r[t];return e.finalized_||!he(n)?n:n===Mr(e.base_,t)?($r(e),e.copy_[t]=en(n,e)):n},has(e,t){return t in Me(e)},ownKeys(e){return Reflect.ownKeys(Me(e))},set(e,t,r){const n=vs(Me(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=Mr(Me(e),t),o=i==null?void 0:i[ie];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if($c(r,i)&&(r!==void 0||bt(e.base_,t)))return!0;$r(e),Zr(e)}return e.copy_[t]===r&&(r!==void 0||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty(e,t){return Mr(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,$r(e),Zr(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=Me(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){Y(11)},getPrototypeOf(e){return De(e.base_)},setPrototypeOf(){Y(12)}},St={};rt(Bn,(e,t)=>{St[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});St.deleteProperty=function(e,t){return St.set.call(this,e,t,void 0)};St.set=function(e,t,r){return Bn.set.call(this,e[0],t,r,e[0])};function Mr(e,t){const r=e[ie];return(r?Me(r):e)[t]}function zc(e,t,r){var i;const n=vs(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function vs(e,t){if(!(t in e))return;let r=De(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=De(r)}}function Zr(e){e.modified_||(e.modified_=!0,e.parent_&&Zr(e.parent_))}function $r(e){e.copy_||(e.copy_=Jr(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Bc=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const o=r;r=t;const s=this;return function(c=o,...d){return s.produce(c,f=>r.call(this,f,...d))}}typeof r!="function"&&Y(6),n!==void 0&&typeof n!="function"&&Y(7);let i;if(he(t)){const o=Ti(this),s=en(t,void 0);let a=!0;try{i=r(s),a=!1}finally{a?Yr(o):Xr(o)}return Ci(o,n),Pi(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===jn&&(i=void 0),this.autoFreeze_&&zn(i,!0),n){const o=[],s=[];je("Patches").generateReplacementPatches_(t,i,o,s),n(o,s)}return i}else Y(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(s,...a)=>this.produceWithPatches(s,c=>t(c,...a));let n,i;return[this.produce(t,r,(s,a)=>{n=s,i=a}),n,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){he(e)||Y(8),pe(e)&&(e=bs(e));const t=Ti(this),r=en(e,void 0);return r[ie].isManual_=!0,Xr(t),r}finishDraft(e,t){const r=e&&e[ie];(!r||!r.isManual_)&&Y(9);const{scope_:n}=r;return Ci(n,t),Pi(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const i=t[r];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}r>-1&&(t=t.slice(r+1));const n=je("Patches").applyPatches_;return pe(e)?n(e,t):this.produce(e,i=>n(i,t))}};function en(e,t){const r=Ot(e)?je("MapSet").proxyMap_(e,t):It(e)?je("MapSet").proxySet_(e,t):jc(e,t);return(t?t.scope_:_s()).drafts_.push(r),r}function bs(e){return pe(e)||Y(10,e),ws(e)}function ws(e){if(!he(e)||kr(e))return e;const t=e[ie];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Jr(e,t.scope_.immer_.useStrictShallowCopy_)}else r=Jr(e,!0);return rt(r,(n,i)=>{gs(r,n,ws(i))}),t&&(t.finalized_=!1),r}function Wc(){const t="replace",r="add",n="remove";function i(p,l,g,b){switch(p.type_){case 0:case 2:return s(p,l,g,b);case 1:return o(p,l,g,b);case 3:return a(p,l,g,b)}}function o(p,l,g,b){let{base_:_,assigned_:m}=p,y=p.copy_;y.length<_.length&&([_,y]=[y,_],[g,b]=[b,g]);for(let h=0;h<_.length;h++)if(m[h]&&y[h]!==_[h]){const v=l.concat([h]);g.push({op:t,path:v,value:u(y[h])}),b.push({op:t,path:v,value:u(_[h])})}for(let h=_.length;h<y.length;h++){const v=l.concat([h]);g.push({op:r,path:v,value:u(y[h])})}for(let h=y.length-1;_.length<=h;--h){const v=l.concat([h]);b.push({op:n,path:v})}}function s(p,l,g,b){const{base_:_,copy_:m}=p;rt(p.assigned_,(y,h)=>{const v=Ir(_,y),S=Ir(m,y),k=h?bt(_,y)?t:r:n;if(v===S&&k===t)return;const x=l.concat(y);g.push(k===n?{op:k,path:x}:{op:k,path:x,value:S}),b.push(k===r?{op:n,path:x}:k===n?{op:r,path:x,value:u(v)}:{op:t,path:x,value:u(v)})})}function a(p,l,g,b){let{base_:_,copy_:m}=p,y=0;_.forEach(h=>{if(!m.has(h)){const v=l.concat([y]);g.push({op:n,path:v,value:h}),b.unshift({op:r,path:v,value:h})}y++}),y=0,m.forEach(h=>{if(!_.has(h)){const v=l.concat([y]);g.push({op:r,path:v,value:h}),b.unshift({op:n,path:v,value:h})}y++})}function c(p,l,g,b){g.push({op:t,path:[],value:l===jn?void 0:l}),b.push({op:t,path:[],value:p})}function d(p,l){return l.forEach(g=>{const{path:b,op:_}=g;let m=p;for(let S=0;S<b.length-1;S++){const k=Le(m);let x=b[S];typeof x!="string"&&typeof x!="number"&&(x=""+x),(k===0||k===1)&&(x==="__proto__"||x==="constructor")&&Y(19),typeof m=="function"&&x==="prototype"&&Y(19),m=Ir(m,x),typeof m!="object"&&Y(18,b.join("/"))}const y=Le(m),h=f(g.value),v=b[b.length-1];switch(_){case t:switch(y){case 2:return m.set(v,h);case 3:Y(16);default:return m[v]=h}case r:switch(y){case 1:return v==="-"?m.push(h):m.splice(v,0,h);case 2:return m.set(v,h);case 3:return m.add(h);default:return m[v]=h}case n:switch(y){case 1:return m.splice(v,1);case 2:return m.delete(v);case 3:return m.delete(g.value);default:return delete m[v]}default:Y(17,_)}}),p}function f(p){if(!he(p))return p;if(Array.isArray(p))return p.map(f);if(Ot(p))return new Map(Array.from(p.entries()).map(([g,b])=>[g,f(b)]));if(It(p))return new Set(Array.from(p).map(f));const l=Object.create(De(p));for(const g in p)l[g]=f(p[g]);return bt(p,ft)&&(l[ft]=p[ft]),l}function u(p){return pe(p)?f(p):p}Fc("Patches",{applyPatches_:d,generatePatches_:i,generateReplacementPatches_:c})}var ce=new Bc,Mt=ce.produce,Ss=ce.produceWithPatches.bind(ce);ce.setAutoFreeze.bind(ce);ce.setUseStrictShallowCopy.bind(ce);var Ei=ce.applyPatches.bind(ce);ce.createDraft.bind(ce);ce.finishDraft.bind(ce);function Uc(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function qc(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function Hc(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(r=>typeof r=="function")){const r=e.map(n=>typeof n=="function"?`function ${n.name||"unnamed"}()`:typeof n).join(", ");throw new TypeError(`${t}[${r}]`)}}var Ai=e=>Array.isArray(e)?e:[e];function Qc(e){const t=Array.isArray(e[0])?e[0]:e;return Hc(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function Vc(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var Kc=class{constructor(e){this.value=e}deref(){return this.value}},Jc=typeof WeakRef<"u"?WeakRef:Kc,Gc=0,Oi=1;function jt(){return{s:Gc,v:void 0,o:null,p:null}}function xt(e,t={}){let r=jt();const{resultEqualityCheck:n}=t;let i,o=0;function s(){var u;let a=r;const{length:c}=arguments;for(let p=0,l=c;p<l;p++){const g=arguments[p];if(typeof g=="function"||typeof g=="object"&&g!==null){let b=a.o;b===null&&(a.o=b=new WeakMap);const _=b.get(g);_===void 0?(a=jt(),b.set(g,a)):a=_}else{let b=a.p;b===null&&(a.p=b=new Map);const _=b.get(g);_===void 0?(a=jt(),b.set(g,a)):a=_}}const d=a;let f;if(a.s===Oi?f=a.v:(f=e.apply(null,arguments),o++),d.s=Oi,n){const p=((u=i==null?void 0:i.deref)==null?void 0:u.call(i))??i;p!=null&&n(p,f)&&(f=p,o!==0&&o--),i=typeof f=="object"&&f!==null||typeof f=="function"?new Jc(f):f}return d.v=f,f}return s.clearCache=()=>{r=jt(),s.resetResultsCount()},s.resultsCount=()=>o,s.resetResultsCount=()=>{o=0},s}function xs(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let o=0,s=0,a,c={},d=i.pop();typeof d=="object"&&(c=d,d=i.pop()),Uc(d,`createSelector expects an output function after the inputs, but received: [${typeof d}]`);const f={...r,...c},{memoize:u,memoizeOptions:p=[],argsMemoize:l=xt,argsMemoizeOptions:g=[],devModeChecks:b={}}=f,_=Ai(p),m=Ai(g),y=Qc(i),h=u(function(){return o++,d.apply(null,arguments)},..._),v=l(function(){s++;const k=Vc(y,arguments);return a=h.apply(null,k),a},...m);return Object.assign(v,{resultFunc:d,memoizedResultFunc:h,dependencies:y,dependencyRecomputations:()=>s,resetDependencyRecomputations:()=>{s=0},lastResult:()=>a,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:u,argsMemoize:l})};return Object.assign(n,{withTypes:()=>n}),n}var Ye=xs(xt),Yc=Object.assign((e,t=Ye)=>{qc(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const r=Object.keys(e),n=r.map(o=>e[o]);return t(n,(...o)=>o.reduce((s,a,c)=>(s[r[c]]=a,s),{}))},{withTypes:()=>Yc});function ks(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var Xc=ks(),Zc=ks,eu=(...e)=>{const t=xs(...e);return(...r)=>{const n=t(...r),i=(o,...s)=>n(pe(o)?bs(o):o,...s);return Object.assign(i,n),i}};eu(xt);var tu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?rr:rr.apply(null,arguments)},ru=e=>e&&typeof e.match=="function";function te(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(de(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>ms(n)&&n.type===e,r}var Cs=class ut extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,ut.prototype)}static get[Symbol.species](){return ut}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new ut(...t[0].concat(this)):new ut(...t.concat(this))}};function Ii(e){return he(e)?Mt(e,()=>{}):e}function Mi(e,t,r){if(e.has(t)){let i=e.get(t);return r.update&&(i=r.update(i,t,e),e.set(t,i)),i}if(!r.insert)throw new Error(de(10));const n=r.insert(t,e);return e.set(t,n),n}function nu(e){return typeof e=="boolean"}var iu=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let s=new Cs;return r&&(nu(r)?s.push(Xc):s.push(Zc(r.extraArgument))),s},Ke="RTK_autoBatch",at=()=>e=>({payload:e,meta:{[Ke]:!0}}),Ts=e=>t=>{setTimeout(t,e)},ou=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Ts(10),su=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let i=!0,o=!1,s=!1;const a=new Set,c=e.type==="tick"?queueMicrotask:e.type==="raf"?ou:e.type==="callback"?e.queueNotification:Ts(e.timeout),d=()=>{s=!1,o&&(o=!1,a.forEach(f=>f()))};return Object.assign({},n,{subscribe(f){const u=()=>i&&f(),p=n.subscribe(u);return a.add(f),()=>{p(),a.delete(f)}},dispatch(f){var u;try{return i=!((u=f==null?void 0:f.meta)!=null&&u[Ke]),o=!i,o&&(s||(s=!0,c(d))),n.dispatch(f)}finally{i=!0}}})},au=e=>function(r){const{autoBatch:n=!0}=r??{};let i=new Cs(e);return n&&i.push(su(typeof n=="object"?n:void 0)),i},cu=!0;function uu(e){const t=iu(),{reducer:r=void 0,middleware:n,devTools:i=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{};let a;if(typeof r=="function")a=r;else if(be(r))a=hs(r);else throw new Error(de(1));let c;typeof n=="function"?c=n(t):c=t();let d=rr;i&&(d=tu({trace:!cu,...typeof i=="object"&&i}));const f=Oc(...c),u=au(f);let p=typeof s=="function"?s(u):u();const l=d(...p);return ps(a,o,l)}function Ps(e){const t={},r=[];let n;const i={addCase(o,s){const a=typeof o=="string"?o:o.type;if(!a)throw new Error(de(28));if(a in t)throw new Error(de(29));return t[a]=s,i},addMatcher(o,s){return r.push({matcher:o,reducer:s}),i},addDefaultCase(o){return n=o,i}};return e(i),[t,r,n]}function lu(e){return typeof e=="function"}function du(e,t){let[r,n,i]=Ps(t),o;if(lu(e))o=()=>Ii(e());else{const a=Ii(e);o=()=>a}function s(a=o(),c){let d=[r[c.type],...n.filter(({matcher:f})=>f(c)).map(({reducer:f})=>f)];return d.filter(f=>!!f).length===0&&(d=[i]),d.reduce((f,u)=>{if(u)if(pe(f)){const l=u(f,c);return l===void 0?f:l}else{if(he(f))return Mt(f,p=>u(p,c));{const p=u(f,c);if(p===void 0){if(f===null)return f;throw new Error(de(9))}return p}}return f},a)}return s.getInitialState=o,s}var fu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Rs=(e=21)=>{let t="",r=e;for(;r--;)t+=fu[Math.random()*64|0];return t},Es=(e,t)=>ru(e)?e.match(t):e(t);function Re(...e){return t=>e.some(r=>Es(r,t))}function pt(...e){return t=>e.every(r=>Es(r,t))}function Cr(e,t){if(!e||!e.meta)return!1;const r=typeof e.meta.requestId=="string",n=t.indexOf(e.meta.requestStatus)>-1;return r&&n}function $t(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function Wn(...e){return e.length===0?t=>Cr(t,["pending"]):$t(e)?t=>{const r=e.map(i=>i.pending);return Re(...r)(t)}:Wn()(e[0])}function nt(...e){return e.length===0?t=>Cr(t,["rejected"]):$t(e)?t=>{const r=e.map(i=>i.rejected);return Re(...r)(t)}:nt()(e[0])}function Tr(...e){const t=r=>r&&r.meta&&r.meta.rejectedWithValue;return e.length===0?r=>pt(nt(...e),t)(r):$t(e)?r=>pt(nt(...e),t)(r):Tr()(e[0])}function Ee(...e){return e.length===0?t=>Cr(t,["fulfilled"]):$t(e)?t=>{const r=e.map(i=>i.fulfilled);return Re(...r)(t)}:Ee()(e[0])}function tn(...e){return e.length===0?t=>Cr(t,["pending","fulfilled","rejected"]):$t(e)?t=>{const r=[];for(const i of e)r.push(i.pending,i.rejected,i.fulfilled);return Re(...r)(t)}:tn()(e[0])}var pu=["name","message","stack","code"],Nr=class{constructor(e,t){Pr(this,"_type");this.payload=e,this.meta=t}},$i=class{constructor(e,t){Pr(this,"_type");this.payload=e,this.meta=t}},hu=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of pu)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},Ni=(()=>{function e(t,r,n){const i=te(t+"/fulfilled",(c,d,f,u)=>({payload:c,meta:{...u||{},arg:f,requestId:d,requestStatus:"fulfilled"}})),o=te(t+"/pending",(c,d,f)=>({payload:void 0,meta:{...f||{},arg:d,requestId:c,requestStatus:"pending"}})),s=te(t+"/rejected",(c,d,f,u,p)=>({payload:u,error:(n&&n.serializeError||hu)(c||"Rejected"),meta:{...p||{},arg:f,requestId:d,rejectedWithValue:!!u,requestStatus:"rejected",aborted:(c==null?void 0:c.name)==="AbortError",condition:(c==null?void 0:c.name)==="ConditionError"}}));function a(c){return(d,f,u)=>{const p=n!=null&&n.idGenerator?n.idGenerator(c):Rs(),l=new AbortController;let g;function b(m){g=m,l.abort()}const _=async function(){var h,v;let m;try{let S=(h=n==null?void 0:n.condition)==null?void 0:h.call(n,c,{getState:f,extra:u});if(yu(S)&&(S=await S),S===!1||l.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const k=new Promise((x,C)=>l.signal.addEventListener("abort",()=>C({name:"AbortError",message:g||"Aborted"})));d(o(p,c,(v=n==null?void 0:n.getPendingMeta)==null?void 0:v.call(n,{requestId:p,arg:c},{getState:f,extra:u}))),m=await Promise.race([k,Promise.resolve(r(c,{dispatch:d,getState:f,extra:u,requestId:p,signal:l.signal,abort:b,rejectWithValue:(x,C)=>new Nr(x,C),fulfillWithValue:(x,C)=>new $i(x,C)})).then(x=>{if(x instanceof Nr)throw x;return x instanceof $i?i(x.payload,p,c,x.meta):i(x,p,c)})])}catch(S){m=S instanceof Nr?s(null,p,c,S.payload,S.meta):s(S,p,c)}return n&&!n.dispatchConditionRejection&&s.match(m)&&m.meta.condition||d(m),m}();return Object.assign(_,{abort:b,requestId:p,arg:c,unwrap(){return _.then(mu)}})}}return Object.assign(a,{pending:o,rejected:s,fulfilled:i,settled:Re(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function mu(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function yu(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var gu=Symbol.for("rtk-slice-createasyncthunk");function _u(e,t){return`${e}/${t}`}function vu({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[gu];return function(i){const{name:o,reducerPath:s=o}=i;if(!o)throw new Error(de(11));typeof process<"u";const a=(typeof i.reducers=="function"?i.reducers(wu()):i.reducers)||{},c=Object.keys(a),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},f={addCase(_,m){const y=typeof _=="string"?_:_.type;if(!y)throw new Error(de(12));if(y in d.sliceCaseReducersByType)throw new Error(de(13));return d.sliceCaseReducersByType[y]=m,f},addMatcher(_,m){return d.sliceMatchers.push({matcher:_,reducer:m}),f},exposeAction(_,m){return d.actionCreators[_]=m,f},exposeCaseReducer(_,m){return d.sliceCaseReducersByName[_]=m,f}};c.forEach(_=>{const m=a[_],y={reducerName:_,type:_u(o,_),createNotation:typeof i.reducers=="function"};xu(m)?Cu(y,m,f,t):Su(y,m,f)});function u(){const[_={},m=[],y=void 0]=typeof i.extraReducers=="function"?Ps(i.extraReducers):[i.extraReducers],h={..._,...d.sliceCaseReducersByType};return du(i.initialState,v=>{for(let S in h)v.addCase(S,h[S]);for(let S of d.sliceMatchers)v.addMatcher(S.matcher,S.reducer);for(let S of m)v.addMatcher(S.matcher,S.reducer);y&&v.addDefaultCase(y)})}const p=_=>_,l=new WeakMap;let g;const b={name:o,reducerPath:s,reducer(_,m){return g||(g=u()),g(_,m)},actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState(){return g||(g=u()),g.getInitialState()},getSelectors(_=p){const m=Mi(l,this,{insert:()=>new WeakMap});return Mi(m,_,{insert:()=>{const y={};for(const[h,v]of Object.entries(i.selectors??{}))y[h]=bu(this,v,_,this!==b);return y}})},selectSlice(_){let m=_[this.reducerPath];return typeof m>"u"&&this!==b&&(m=this.getInitialState()),m},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(_,{reducerPath:m,...y}={}){const h=m??this.reducerPath;return _.inject({reducerPath:h,reducer:this.reducer},y),{...this,reducerPath:h}}};return b}}function bu(e,t,r,n){function i(o,...s){let a=r.call(e,o);return typeof a>"u"&&n&&(a=e.getInitialState()),t(a,...s)}return i.unwrapped=t,i}var Ce=vu();function wu(){function e(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...r){return t(...r)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}},asyncThunk:e}}function Su({type:e,reducerName:t,createNotation:r},n,i){let o,s;if("reducer"in n){if(r&&!ku(n))throw new Error(de(17));o=n.reducer,s=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,s?te(e,s):te(e))}function xu(e){return e._reducerDefinitionType==="asyncThunk"}function ku(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Cu({type:e,reducerName:t},r,n,i){if(!i)throw new Error(de(18));const{payloadCreator:o,fulfilled:s,pending:a,rejected:c,settled:d,options:f}=r,u=i(e,o,f);n.exposeAction(t,u),s&&n.addCase(u.fulfilled,s),a&&n.addCase(u.pending,a),c&&n.addCase(u.rejected,c),d&&n.addMatcher(u.settled,d),n.exposeCaseReducer(t,{fulfilled:s||zt,pending:a||zt,rejected:c||zt,settled:d||zt})}function zt(){}var Un="listenerMiddleware";te(`${Un}/add`);te(`${Un}/removeAll`);te(`${Un}/remove`);function de(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var As=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(As||{});function Tu(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Pu(e){return new RegExp("(^|:)//").test(e)}var Ru=e=>e.replace(/\/$/,""),Eu=e=>e.replace(/^\//,"");function Au(e,t){if(!e)return t;if(!t)return e;if(Pu(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=Ru(e),t=Eu(t),`${e}${r}${t}`}var Fi=e=>[].concat(...e);function Ou(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function Iu(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var Di=be;function Os(e,t){if(e===t||!(Di(e)&&Di(t)||Array.isArray(e)&&Array.isArray(t)))return t;const r=Object.keys(t),n=Object.keys(e);let i=r.length===n.length;const o=Array.isArray(t)?[]:{};for(const s of r)o[s]=Os(e[s],t[s]),i&&(i=e[s]===o[s]);return i?e:o}var Li=(...e)=>fetch(...e),Mu=e=>e.status>=200&&e.status<=299,$u=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function ji(e){if(!be(e))return e;const t={...e};for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function Nu({baseUrl:e,prepareHeaders:t=u=>u,fetchFn:r=Li,paramsSerializer:n,isJsonContentType:i=$u,jsonContentType:o="application/json",jsonReplacer:s,timeout:a,responseHandler:c,validateStatus:d,...f}={}){return typeof fetch>"u"&&r===Li&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),async(p,l)=>{const{signal:g,getState:b,extra:_,endpoint:m,forced:y,type:h}=l;let v,{url:S,headers:k=new Headers(f.headers),params:x=void 0,responseHandler:C=c??"json",validateStatus:T=d??Mu,timeout:P=a,...A}=typeof p=="string"?{url:p}:p,E={...f,signal:g,...A};k=new Headers(ji(k)),E.headers=await t(k,{getState:b,extra:_,endpoint:m,forced:y,type:h})||k;const I=B=>typeof B=="object"&&(be(B)||Array.isArray(B)||typeof B.toJSON=="function");if(!E.headers.has("content-type")&&I(E.body)&&E.headers.set("content-type",o),I(E.body)&&i(E.headers)&&(E.body=JSON.stringify(E.body,s)),x){const B=~S.indexOf("?")?"&":"?",Oe=n?n(x):new URLSearchParams(ji(x));S+=B+Oe}S=Au(e,S);const M=new Request(S,E);v={request:new Request(S,E)};let K,j=!1,$=P&&setTimeout(()=>{j=!0,l.abort()},P);try{K=await r(M)}catch(B){return{error:{status:j?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(B)},meta:v}}finally{$&&clearTimeout($)}const ee=K.clone();v.response=ee;let H,me="";try{let B;if(await Promise.all([u(K,C).then(Oe=>H=Oe,Oe=>B=Oe),ee.text().then(Oe=>me=Oe,()=>{})]),B)throw B}catch(B){return{error:{status:"PARSING_ERROR",originalStatus:K.status,data:me,error:String(B)},meta:v}}return T(K,H)?{data:H,meta:v}:{error:{status:K.status,data:H},meta:v}};async function u(p,l){if(typeof l=="function")return l(p);if(l==="content-type"&&(l=i(p.headers)?"json":"text"),l==="json"){const g=await p.text();return g.length?JSON.parse(g):null}return p.text()}}var zi=class{constructor(e,t=void 0){this.value=e,this.meta=t}},qn=te("__rtkq/focused"),Is=te("__rtkq/unfocused"),Hn=te("__rtkq/online"),Ms=te("__rtkq/offline");function $s(e){return e.type==="query"}function Fu(e){return e.type==="mutation"}function Qn(e,t,r,n,i,o){return Du(e)?e(t,r,n,i).map(rn).map(o):Array.isArray(e)?e.map(rn).map(o):[]}function Du(e){return typeof e=="function"}function rn(e){return typeof e=="string"?{type:e}:e}function Bi(e){return e!=null}function Xe(e){let t=0;for(const r in e)t++;return t}var kt=Symbol("forceQueryFn"),nn=e=>typeof e[kt]=="function";function Lu({serializeQueryArgs:e,queryThunk:t,mutationThunk:r,api:n,context:i}){const o=new Map,s=new Map,{unsubscribeQueryResult:a,removeMutationResult:c,updateSubscriptionOptions:d}=n.internalActions;return{buildInitiateQuery:g,buildInitiateMutation:b,getRunningQueryThunk:f,getRunningMutationThunk:u,getRunningQueriesThunk:p,getRunningMutationsThunk:l};function f(_,m){return y=>{var S;const h=i.endpointDefinitions[_],v=e({queryArgs:m,endpointDefinition:h,endpointName:_});return(S=o.get(y))==null?void 0:S[v]}}function u(_,m){return y=>{var h;return(h=s.get(y))==null?void 0:h[m]}}function p(){return _=>Object.values(o.get(_)||{}).filter(Bi)}function l(){return _=>Object.values(s.get(_)||{}).filter(Bi)}function g(_,m){const y=(h,{subscribe:v=!0,forceRefetch:S,subscriptionOptions:k,[kt]:x}={})=>(C,T)=>{var me;const P=e({queryArgs:h,endpointDefinition:m,endpointName:_}),A=t({type:"query",subscribe:v,forceRefetch:S,subscriptionOptions:k,endpointName:_,originalArgs:h,queryCacheKey:P,[kt]:x}),E=n.endpoints[_].select(h),I=C(A),M=E(T()),{requestId:W,abort:K}=I,j=M.requestId!==W,$=(me=o.get(C))==null?void 0:me[P],ee=()=>E(T()),H=Object.assign(x?I.then(ee):j&&!$?Promise.resolve(M):Promise.all([$,I]).then(ee),{arg:h,requestId:W,subscriptionOptions:k,queryCacheKey:P,abort:K,async unwrap(){const B=await H;if(B.isError)throw B.error;return B.data},refetch:()=>C(y(h,{subscribe:!1,forceRefetch:!0})),unsubscribe(){v&&C(a({queryCacheKey:P,requestId:W}))},updateSubscriptionOptions(B){H.subscriptionOptions=B,C(d({endpointName:_,requestId:W,queryCacheKey:P,options:B}))}});if(!$&&!j&&!x){const B=o.get(C)||{};B[P]=H,o.set(C,B),H.then(()=>{delete B[P],Xe(B)||o.delete(C)})}return H};return y}function b(_){return(m,{track:y=!0,fixedCacheKey:h}={})=>(v,S)=>{const k=r({type:"mutation",endpointName:_,originalArgs:m,track:y,fixedCacheKey:h}),x=v(k),{requestId:C,abort:T,unwrap:P}=x,A=x.unwrap().then(W=>({data:W})).catch(W=>({error:W})),E=()=>{v(c({requestId:C,fixedCacheKey:h}))},I=Object.assign(A,{arg:x.arg,requestId:C,abort:T,unwrap:P,reset:E}),M=s.get(v)||{};return s.set(v,M),M[C]=I,I.then(()=>{delete M[C],Xe(M)||s.delete(v)}),h&&(M[h]=I,I.then(()=>{M[h]===I&&(delete M[h],Xe(M)||s.delete(v))})),I}}}function Wi(e){return e}function ju({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const s=(y,h,v,S)=>(k,x)=>{const C=r[y],T=n({queryArgs:h,endpointDefinition:C,endpointName:y});if(k(i.internalActions.queryResultPatched({queryCacheKey:T,patches:v})),!S)return;const P=i.endpoints[y].select(h)(x()),A=Qn(C.providesTags,P.data,void 0,h,{},o);k(i.internalActions.updateProvidedBy({queryCacheKey:T,providedTags:A}))},a=(y,h,v,S=!0)=>(k,x)=>{const T=i.endpoints[y].select(h)(x());let P={patches:[],inversePatches:[],undo:()=>k(i.util.patchQueryData(y,h,P.inversePatches,S))};if(T.status==="uninitialized")return P;let A;if("data"in T)if(he(T.data)){const[E,I,M]=Ss(T.data,v);P.patches.push(...I),P.inversePatches.push(...M),A=E}else A=v(T.data),P.patches.push({op:"replace",path:[],value:A}),P.inversePatches.push({op:"replace",path:[],value:T.data});return k(i.util.patchQueryData(y,h,P.patches,S)),P},c=(y,h,v)=>S=>S(i.endpoints[y].initiate(h,{subscribe:!1,forceRefetch:!0,[kt]:()=>({data:v})})),d=async(y,{signal:h,abort:v,rejectWithValue:S,fulfillWithValue:k,dispatch:x,getState:C,extra:T})=>{const P=r[y.endpointName];try{let A=Wi,E;const I={signal:h,abort:v,dispatch:x,getState:C,extra:T,endpoint:y.endpointName,type:y.type,forced:y.type==="query"?f(y,C()):void 0},M=y.type==="query"?y[kt]:void 0;if(M?E=M():P.query?(E=await t(P.query(y.originalArgs),I,P.extraOptions),P.transformResponse&&(A=P.transformResponse)):E=await P.queryFn(y.originalArgs,I,P.extraOptions,W=>t(W,I,P.extraOptions)),typeof process<"u",E.error)throw new zi(E.error,E.meta);return k(await A(E.data,E.meta,y.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:E.meta,[Ke]:!0})}catch(A){let E=A;if(E instanceof zi){let I=Wi;P.query&&P.transformErrorResponse&&(I=P.transformErrorResponse);try{return S(await I(E.value,E.meta,y.originalArgs),{baseQueryMeta:E.meta,[Ke]:!0})}catch(M){E=M}}throw typeof process<"u",console.error(E),E}};function f(y,h){var C,T,P;const v=(T=(C=h[e])==null?void 0:C.queries)==null?void 0:T[y.queryCacheKey],S=(P=h[e])==null?void 0:P.config.refetchOnMountOrArgChange,k=v==null?void 0:v.fulfilledTimeStamp,x=y.forceRefetch??(y.subscribe&&S);return x?x===!0||(Number(new Date)-Number(k))/1e3>=x:!1}const u=Ni(`${e}/executeQuery`,d,{getPendingMeta(){return{startedTimeStamp:Date.now(),[Ke]:!0}},condition(y,{getState:h}){var P,A,E;const v=h(),S=(A=(P=v[e])==null?void 0:P.queries)==null?void 0:A[y.queryCacheKey],k=S==null?void 0:S.fulfilledTimeStamp,x=y.originalArgs,C=S==null?void 0:S.originalArgs,T=r[y.endpointName];return nn(y)?!0:(S==null?void 0:S.status)==="pending"?!1:f(y,v)||$s(T)&&((E=T==null?void 0:T.forceRefetch)!=null&&E.call(T,{currentArg:x,previousArg:C,endpointState:S,state:v}))?!0:!k},dispatchConditionRejection:!0}),p=Ni(`${e}/executeMutation`,d,{getPendingMeta(){return{startedTimeStamp:Date.now(),[Ke]:!0}}}),l=y=>"force"in y,g=y=>"ifOlderThan"in y,b=(y,h,v)=>(S,k)=>{const x=l(v)&&v.force,C=g(v)&&v.ifOlderThan,T=(A=!0)=>i.endpoints[y].initiate(h,{forceRefetch:A}),P=i.endpoints[y].select(h)(k());if(x)S(T());else if(C){const A=P==null?void 0:P.fulfilledTimeStamp;if(!A){S(T());return}(Number(new Date)-Number(new Date(A)))/1e3>=C&&S(T())}else S(T(!1))};function _(y){return h=>{var v,S;return((S=(v=h==null?void 0:h.meta)==null?void 0:v.arg)==null?void 0:S.endpointName)===y}}function m(y,h){return{matchPending:pt(Wn(y),_(h)),matchFulfilled:pt(Ee(y),_(h)),matchRejected:pt(nt(y),_(h))}}return{queryThunk:u,mutationThunk:p,prefetch:b,updateQueryData:a,upsertQueryData:c,patchQueryData:s,buildMatchThunkActions:m}}function Ns(e,t,r,n){return Qn(r[e.meta.arg.endpointName][t],Ee(e)?e.payload:void 0,Tr(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function Bt(e,t,r){const n=e[t];n&&r(n)}function Ct(e){return("arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)??e.requestId}function Ui(e,t,r){const n=e[Ct(t)];n&&r(n)}var ct={};function zu({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:o,hasRehydrationInfo:s},assertTagType:a,config:c}){const d=te(`${e}/resetApiState`),f=Ce({name:`${e}/queries`,initialState:ct,reducers:{removeQueryResult:{reducer(h,{payload:{queryCacheKey:v}}){delete h[v]},prepare:at()},queryResultPatched:{reducer(h,{payload:{queryCacheKey:v,patches:S}}){Bt(h,v,k=>{k.data=Ei(k.data,S.concat())})},prepare:at()}},extraReducers(h){h.addCase(t.pending,(v,{meta:S,meta:{arg:k}})=>{var C;const x=nn(k);v[C=k.queryCacheKey]??(v[C]={status:"uninitialized",endpointName:k.endpointName}),Bt(v,k.queryCacheKey,T=>{T.status="pending",T.requestId=x&&T.requestId?T.requestId:S.requestId,k.originalArgs!==void 0&&(T.originalArgs=k.originalArgs),T.startedTimeStamp=S.startedTimeStamp})}).addCase(t.fulfilled,(v,{meta:S,payload:k})=>{Bt(v,S.arg.queryCacheKey,x=>{if(x.requestId!==S.requestId&&!nn(S.arg))return;const{merge:C}=n[S.arg.endpointName];if(x.status="fulfilled",C)if(x.data!==void 0){const{fulfilledTimeStamp:T,arg:P,baseQueryMeta:A,requestId:E}=S;let I=Mt(x.data,M=>C(M,k,{arg:P.originalArgs,baseQueryMeta:A,fulfilledTimeStamp:T,requestId:E}));x.data=I}else x.data=k;else x.data=n[S.arg.endpointName].structuralSharing??!0?Os(pe(x.data)?Mc(x.data):x.data,k):k;delete x.error,x.fulfilledTimeStamp=S.fulfilledTimeStamp})}).addCase(t.rejected,(v,{meta:{condition:S,arg:k,requestId:x},error:C,payload:T})=>{Bt(v,k.queryCacheKey,P=>{if(!S){if(P.requestId!==x)return;P.status="rejected",P.error=T??C}})}).addMatcher(s,(v,S)=>{const{queries:k}=o(S);for(const[x,C]of Object.entries(k))((C==null?void 0:C.status)==="fulfilled"||(C==null?void 0:C.status)==="rejected")&&(v[x]=C)})}}),u=Ce({name:`${e}/mutations`,initialState:ct,reducers:{removeMutationResult:{reducer(h,{payload:v}){const S=Ct(v);S in h&&delete h[S]},prepare:at()}},extraReducers(h){h.addCase(r.pending,(v,{meta:S,meta:{requestId:k,arg:x,startedTimeStamp:C}})=>{x.track&&(v[Ct(S)]={requestId:k,status:"pending",endpointName:x.endpointName,startedTimeStamp:C})}).addCase(r.fulfilled,(v,{payload:S,meta:k})=>{k.arg.track&&Ui(v,k,x=>{x.requestId===k.requestId&&(x.status="fulfilled",x.data=S,x.fulfilledTimeStamp=k.fulfilledTimeStamp)})}).addCase(r.rejected,(v,{payload:S,error:k,meta:x})=>{x.arg.track&&Ui(v,x,C=>{C.requestId===x.requestId&&(C.status="rejected",C.error=S??k)})}).addMatcher(s,(v,S)=>{const{mutations:k}=o(S);for(const[x,C]of Object.entries(k))((C==null?void 0:C.status)==="fulfilled"||(C==null?void 0:C.status)==="rejected")&&x!==(C==null?void 0:C.requestId)&&(v[x]=C)})}}),p=Ce({name:`${e}/invalidation`,initialState:ct,reducers:{updateProvidedBy:{reducer(h,v){var x,C;const{queryCacheKey:S,providedTags:k}=v.payload;for(const T of Object.values(h))for(const P of Object.values(T)){const A=P.indexOf(S);A!==-1&&P.splice(A,1)}for(const{type:T,id:P}of k){const A=(x=h[T]??(h[T]={}))[C=P||"__internal_without_id"]??(x[C]=[]);A.includes(S)||A.push(S)}},prepare:at()}},extraReducers(h){h.addCase(f.actions.removeQueryResult,(v,{payload:{queryCacheKey:S}})=>{for(const k of Object.values(v))for(const x of Object.values(k)){const C=x.indexOf(S);C!==-1&&x.splice(C,1)}}).addMatcher(s,(v,S)=>{var x,C;const{provided:k}=o(S);for(const[T,P]of Object.entries(k))for(const[A,E]of Object.entries(P)){const I=(x=v[T]??(v[T]={}))[C=A||"__internal_without_id"]??(x[C]=[]);for(const M of E)I.includes(M)||I.push(M)}}).addMatcher(Re(Ee(t),Tr(t)),(v,S)=>{const k=Ns(S,"providesTags",n,a),{queryCacheKey:x}=S.meta.arg;p.caseReducers.updateProvidedBy(v,p.actions.updateProvidedBy({queryCacheKey:x,providedTags:k}))})}}),l=Ce({name:`${e}/subscriptions`,initialState:ct,reducers:{updateSubscriptionOptions(h,v){},unsubscribeQueryResult(h,v){},internal_getRTKQSubscriptions(){}}}),g=Ce({name:`${e}/internalSubscriptions`,initialState:ct,reducers:{subscriptionsUpdated:{reducer(h,v){return Ei(h,v.payload)},prepare:at()}}}),b=Ce({name:`${e}/config`,initialState:{online:Ou(),focused:Iu(),middlewareRegistered:!1,...c},reducers:{middlewareRegistered(h,{payload:v}){h.middlewareRegistered=h.middlewareRegistered==="conflict"||i!==v?"conflict":!0}},extraReducers:h=>{h.addCase(Hn,v=>{v.online=!0}).addCase(Ms,v=>{v.online=!1}).addCase(qn,v=>{v.focused=!0}).addCase(Is,v=>{v.focused=!1}).addMatcher(s,v=>({...v}))}}),_=hs({queries:f.reducer,mutations:u.reducer,provided:p.reducer,subscriptions:g.reducer,config:b.reducer}),m=(h,v)=>_(d.match(v)?void 0:h,v),y={...b.actions,...f.actions,...l.actions,...g.actions,...u.actions,...p.actions,resetApiState:d};return{reducer:m,actions:y}}var Ne=Symbol.for("RTKQ/skipToken"),Fs={status:"uninitialized"},qi=Mt(Fs,()=>{}),Hi=Mt(Fs,()=>{});function Bu({serializeQueryArgs:e,reducerPath:t}){const r=f=>qi,n=f=>Hi;return{buildQuerySelector:s,buildMutationSelector:a,selectInvalidatedBy:c,selectCachedArgsForQuery:d};function i(f){return{...f,...Tu(f.status)}}function o(f){return f[t]}function s(f,u){return p=>{const l=e({queryArgs:p,endpointDefinition:u,endpointName:f});return Ye(p===Ne?r:_=>{var m,y;return((y=(m=o(_))==null?void 0:m.queries)==null?void 0:y[l])??qi},i)}}function a(){return f=>{let u;return typeof f=="object"?u=Ct(f)??Ne:u=f,Ye(u===Ne?n:g=>{var b,_;return((_=(b=o(g))==null?void 0:b.mutations)==null?void 0:_[u])??Hi},i)}}function c(f,u){const p=f[t],l=new Set;for(const g of u.map(rn)){const b=p.provided[g.type];if(!b)continue;let _=(g.id!==void 0?b[g.id]:Fi(Object.values(b)))??[];for(const m of _)l.add(m)}return Fi(Array.from(l.values()).map(g=>{const b=p.queries[g];return b?[{queryCacheKey:g,endpointName:b.endpointName,originalArgs:b.originalArgs}]:[]}))}function d(f,u){return Object.values(f[t].queries).filter(p=>(p==null?void 0:p.endpointName)===u&&p.status!=="uninitialized").map(p=>p.originalArgs)}}var qe=WeakMap?new WeakMap:void 0,Qi=({endpointName:e,queryArgs:t})=>{let r="";const n=qe==null?void 0:qe.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,s)=>be(s)?Object.keys(s).sort().reduce((a,c)=>(a[c]=s[c],a),{}):s);be(t)&&(qe==null||qe.set(t,i)),r=i}return`${e}(${r})`};function Wu(...e){return function(r){const n=xt(d=>{var f;return(f=r.extractRehydrationInfo)==null?void 0:f.call(r,d,{reducerPath:r.reducerPath??"api"})}),i={reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed",...r,extractRehydrationInfo:n,serializeQueryArgs(d){let f=Qi;if("serializeQueryArgs"in d.endpointDefinition){const u=d.endpointDefinition.serializeQueryArgs;f=p=>{const l=u(p);return typeof l=="string"?l:Qi({...p,queryArgs:l})}}else r.serializeQueryArgs&&(f=r.serializeQueryArgs);return f(d)},tagTypes:[...r.tagTypes||[]]},o={endpointDefinitions:{},batch(d){d()},apiUid:Rs(),extractRehydrationInfo:n,hasRehydrationInfo:xt(d=>n(d)!=null)},s={injectEndpoints:c,enhanceEndpoints({addTagTypes:d,endpoints:f}){if(d)for(const u of d)i.tagTypes.includes(u)||i.tagTypes.push(u);if(f)for(const[u,p]of Object.entries(f))typeof p=="function"?p(o.endpointDefinitions[u]):Object.assign(o.endpointDefinitions[u]||{},p);return s}},a=e.map(d=>d.init(s,i,o));function c(d){const f=d.endpoints({query:u=>({...u,type:"query"}),mutation:u=>({...u,type:"mutation"})});for(const[u,p]of Object.entries(f)){if(!d.overrideExisting&&u in o.endpointDefinitions){typeof process<"u";continue}o.endpointDefinitions[u]=p;for(const l of a)l.injectEndpoint(u,p)}return s}return s.injectEndpoints({endpoints:r.endpoints})}}function Uu(e){for(let t in e)return!1;return!0}var qu=2147483647/1e3-1,Hu=({reducerPath:e,api:t,context:r,internalState:n})=>{const{removeQueryResult:i,unsubscribeQueryResult:o}=t.internalActions;function s(f){const u=n.currentSubscriptions[f];return!!u&&!Uu(u)}const a={},c=(f,u,p)=>{var l;if(o.match(f)){const g=u.getState()[e],{queryCacheKey:b}=f.payload;d(b,(l=g.queries[b])==null?void 0:l.endpointName,u,g.config)}if(t.util.resetApiState.match(f))for(const[g,b]of Object.entries(a))b&&clearTimeout(b),delete a[g];if(r.hasRehydrationInfo(f)){const g=u.getState()[e],{queries:b}=r.extractRehydrationInfo(f);for(const[_,m]of Object.entries(b))d(_,m==null?void 0:m.endpointName,u,g.config)}};function d(f,u,p,l){const g=r.endpointDefinitions[u],b=(g==null?void 0:g.keepUnusedDataFor)??l.keepUnusedDataFor;if(b===1/0)return;const _=Math.max(0,Math.min(b,qu));if(!s(f)){const m=a[f];m&&clearTimeout(m),a[f]=setTimeout(()=>{s(f)||p.dispatch(i({queryCacheKey:f})),delete a[f]},_*1e3)}}return c},Qu=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:n,queryThunk:i,api:o,assertTagType:s,refetchQuery:a,internalState:c})=>{const{removeQueryResult:d}=o.internalActions,f=Re(Ee(n),Tr(n)),u=Re(Ee(n,i),nt(n,i));let p=[];const l=(_,m)=>{f(_)?b(Ns(_,"invalidatesTags",r,s),m):u(_)?b([],m):o.util.invalidateTags.match(_)&&b(Qn(_.payload,void 0,void 0,void 0,void 0,s),m)};function g(_){var m,y;for(const h in _.queries)if(((m=_.queries[h])==null?void 0:m.status)==="pending")return!0;for(const h in _.mutations)if(((y=_.mutations[h])==null?void 0:y.status)==="pending")return!0;return!1}function b(_,m){const y=m.getState(),h=y[e];if(p.push(..._),h.config.invalidationBehavior==="delayed"&&g(h))return;const v=p;if(p=[],v.length===0)return;const S=o.util.selectInvalidatedBy(y,v);t.batch(()=>{const k=Array.from(S.values());for(const{queryCacheKey:x}of k){const C=h.queries[x],T=c.currentSubscriptions[x]??{};C&&(Xe(T)===0?m.dispatch(d({queryCacheKey:x})):C.status!=="uninitialized"&&m.dispatch(a(C,x)))}})}return l},Vu=({reducerPath:e,queryThunk:t,api:r,refetchQuery:n,internalState:i})=>{const o={},s=(p,l)=>{(r.internalActions.updateSubscriptionOptions.match(p)||r.internalActions.unsubscribeQueryResult.match(p))&&c(p.payload,l),(t.pending.match(p)||t.rejected.match(p)&&p.meta.condition)&&c(p.meta.arg,l),(t.fulfilled.match(p)||t.rejected.match(p)&&!p.meta.condition)&&a(p.meta.arg,l),r.util.resetApiState.match(p)&&f()};function a({queryCacheKey:p},l){const b=l.getState()[e].queries[p],_=i.currentSubscriptions[p];if(!b||b.status==="uninitialized")return;const m=u(_);if(!Number.isFinite(m))return;const y=o[p];y!=null&&y.timeout&&(clearTimeout(y.timeout),y.timeout=void 0);const h=Date.now()+m,v=o[p]={nextPollTimestamp:h,pollingInterval:m,timeout:setTimeout(()=>{v.timeout=void 0,l.dispatch(n(b,p))},m)}}function c({queryCacheKey:p},l){const b=l.getState()[e].queries[p],_=i.currentSubscriptions[p];if(!b||b.status==="uninitialized")return;const m=u(_);if(!Number.isFinite(m)){d(p);return}const y=o[p],h=Date.now()+m;(!y||h<y.nextPollTimestamp)&&a({queryCacheKey:p},l)}function d(p){const l=o[p];l!=null&&l.timeout&&clearTimeout(l.timeout),delete o[p]}function f(){for(const p of Object.keys(o))d(p)}function u(p={}){let l=Number.POSITIVE_INFINITY;for(let g in p)p[g].pollingInterval&&(l=Math.min(p[g].pollingInterval,l));return l}return s},Ku=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,s=(c,d)=>{qn.match(c)&&a(d,"refetchOnFocus"),Hn.match(c)&&a(d,"refetchOnReconnect")};function a(c,d){const f=c.getState()[e],u=f.queries,p=i.currentSubscriptions;t.batch(()=>{for(const l of Object.keys(p)){const g=u[l],b=p[l];if(!b||!g)continue;(Object.values(b).some(m=>m[d]===!0)||Object.values(b).every(m=>m[d]===void 0)&&f.config[d])&&(Xe(b)===0?c.dispatch(o({queryCacheKey:l})):g.status!=="uninitialized"&&c.dispatch(n(g,l)))}})}return s},Vi=new Error("Promise never resolved before cacheEntryRemoved."),Ju=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const s=tn(n),a=tn(i),c=Ee(n,i),d={},f=(l,g,b)=>{const _=u(l);if(n.pending.match(l)){const m=b[t].queries[_],y=g.getState()[t].queries[_];!m&&y&&p(l.meta.arg.endpointName,l.meta.arg.originalArgs,_,g,l.meta.requestId)}else if(i.pending.match(l))g.getState()[t].mutations[_]&&p(l.meta.arg.endpointName,l.meta.arg.originalArgs,_,g,l.meta.requestId);else if(c(l)){const m=d[_];m!=null&&m.valueResolved&&(m.valueResolved({data:l.payload,meta:l.meta.baseQueryMeta}),delete m.valueResolved)}else if(e.internalActions.removeQueryResult.match(l)||e.internalActions.removeMutationResult.match(l)){const m=d[_];m&&(delete d[_],m.cacheEntryRemoved())}else if(e.util.resetApiState.match(l))for(const[m,y]of Object.entries(d))delete d[m],y.cacheEntryRemoved()};function u(l){return s(l)?l.meta.arg.queryCacheKey:a(l)?l.meta.requestId:e.internalActions.removeQueryResult.match(l)?l.payload.queryCacheKey:e.internalActions.removeMutationResult.match(l)?Ct(l.payload):""}function p(l,g,b,_,m){const y=r.endpointDefinitions[l],h=y==null?void 0:y.onCacheEntryAdded;if(!h)return;let v={};const S=new Promise(A=>{v.cacheEntryRemoved=A}),k=Promise.race([new Promise(A=>{v.valueResolved=A}),S.then(()=>{throw Vi})]);k.catch(()=>{}),d[b]=v;const x=e.endpoints[l].select(y.type==="query"?g:b),C=_.dispatch((A,E,I)=>I),T={..._,getCacheEntry:()=>x(_.getState()),requestId:m,extra:C,updateCachedData:y.type==="query"?A=>_.dispatch(e.util.updateQueryData(l,g,A)):void 0,cacheDataLoaded:k,cacheEntryRemoved:S},P=h(g,T);Promise.resolve(P).catch(A=>{if(A!==Vi)throw A})}return f},Gu=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=Wn(r,n),o=nt(r,n),s=Ee(r,n),a={};return(d,f)=>{var u,p;if(i(d)){const{requestId:l,arg:{endpointName:g,originalArgs:b}}=d.meta,_=t.endpointDefinitions[g],m=_==null?void 0:_.onQueryStarted;if(m){const y={},h=new Promise((x,C)=>{y.resolve=x,y.reject=C});h.catch(()=>{}),a[l]=y;const v=e.endpoints[g].select(_.type==="query"?b:l),S=f.dispatch((x,C,T)=>T),k={...f,getCacheEntry:()=>v(f.getState()),requestId:l,extra:S,updateCachedData:_.type==="query"?x=>f.dispatch(e.util.updateQueryData(g,b,x)):void 0,queryFulfilled:h};m(b,k)}}else if(s(d)){const{requestId:l,baseQueryMeta:g}=d.meta;(u=a[l])==null||u.resolve({data:d.payload,meta:g}),delete a[l]}else if(o(d)){const{requestId:l,rejectedWithValue:g,baseQueryMeta:b}=d.meta;(p=a[l])==null||p.reject({error:d.payload??d.error,isUnhandledError:!g,meta:b}),delete a[l]}}},Yu=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t)),typeof process<"u"},Xu=({api:e,queryThunk:t,internalState:r})=>{const n=`${e.reducerPath}/subscriptions`;let i=null,o=null;const{updateSubscriptionOptions:s,unsubscribeQueryResult:a}=e.internalActions,c=(l,g)=>{var _,m,y;if(s.match(g)){const{queryCacheKey:h,requestId:v,options:S}=g.payload;return(_=l==null?void 0:l[h])!=null&&_[v]&&(l[h][v]=S),!0}if(a.match(g)){const{queryCacheKey:h,requestId:v}=g.payload;return l[h]&&delete l[h][v],!0}if(e.internalActions.removeQueryResult.match(g))return delete l[g.payload.queryCacheKey],!0;if(t.pending.match(g)){const{meta:{arg:h,requestId:v}}=g,S=l[m=h.queryCacheKey]??(l[m]={});return S[`${v}_running`]={},h.subscribe&&(S[v]=h.subscriptionOptions??S[v]??{}),!0}let b=!1;if(t.fulfilled.match(g)||t.rejected.match(g)){const h=l[g.meta.arg.queryCacheKey]||{},v=`${g.meta.requestId}_running`;b||(b=!!h[v]),delete h[v]}if(t.rejected.match(g)){const{meta:{condition:h,arg:v,requestId:S}}=g;if(h&&v.subscribe){const k=l[y=v.queryCacheKey]??(l[y]={});k[S]=v.subscriptionOptions??k[S]??{},b=!0}}return b},d=()=>r.currentSubscriptions,p={getSubscriptions:d,getSubscriptionCount:l=>{const b=d()[l]??{};return Xe(b)},isRequestSubscribed:(l,g)=>{var _;const b=d();return!!((_=b==null?void 0:b[l])!=null&&_[g])}};return(l,g)=>{if(i||(i=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(l))return i=r.currentSubscriptions={},o=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(l))return[!1,p];const b=c(r.currentSubscriptions,l);let _=!0;if(b){o||(o=setTimeout(()=>{const h=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,v]=Ss(i,()=>h);g.next(e.internalActions.subscriptionsUpdated(v)),i=h,o=null},500));const m=typeof l.type=="string"&&!!l.type.startsWith(n),y=t.rejected.match(l)&&l.meta.condition&&!!l.meta.arg.subscribe;_=!m&&!y}return[_,!1]}};function Zu(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:o}=i,s={invalidateTags:te(`${t}/invalidateTags`)},a=u=>u.type.startsWith(`${t}/`),c=[Yu,Hu,Qu,Vu,Ju,Gu];return{middleware:u=>{let p=!1;const g={...e,internalState:{currentSubscriptions:{}},refetchQuery:f,isThisApiSliceAction:a},b=c.map(y=>y(g)),_=Xu(g),m=Ku(g);return y=>h=>{if(!ms(h))return y(h);p||(p=!0,u.dispatch(n.internalActions.middlewareRegistered(o)));const v={...u,next:y},S=u.getState(),[k,x]=_(h,v,S);let C;if(k?C=y(h):C=x,u.getState()[t]&&(m(h,v,S),a(h)||i.hasRehydrationInfo(h)))for(let T of b)T(h,v,S);return C}},actions:s};function f(u,p,l={}){return r({type:"query",endpointName:u.endpointName,originalArgs:u.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:p,...l})}}function ke(e,...t){return Object.assign(e,...t)}var Ki=Symbol(),el=()=>({name:Ki,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:s,refetchOnFocus:a,refetchOnReconnect:c,invalidationBehavior:d},f){Wc();const u=j=>(typeof process<"u",j);Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:Hn,onOffline:Ms,onFocus:qn,onFocusLost:Is},util:{}});const{queryThunk:p,mutationThunk:l,patchQueryData:g,updateQueryData:b,upsertQueryData:_,prefetch:m,buildMatchThunkActions:y}=ju({baseQuery:t,reducerPath:n,context:f,api:e,serializeQueryArgs:i,assertTagType:u}),{reducer:h,actions:v}=zu({context:f,queryThunk:p,mutationThunk:l,reducerPath:n,assertTagType:u,config:{refetchOnFocus:a,refetchOnReconnect:c,refetchOnMountOrArgChange:s,keepUnusedDataFor:o,reducerPath:n,invalidationBehavior:d}});ke(e.util,{patchQueryData:g,updateQueryData:b,upsertQueryData:_,prefetch:m,resetApiState:v.resetApiState}),ke(e.internalActions,v);const{middleware:S,actions:k}=Zu({reducerPath:n,context:f,queryThunk:p,mutationThunk:l,api:e,assertTagType:u});ke(e.util,k),ke(e,{reducer:h,middleware:S});const{buildQuerySelector:x,buildMutationSelector:C,selectInvalidatedBy:T,selectCachedArgsForQuery:P}=Bu({serializeQueryArgs:i,reducerPath:n});ke(e.util,{selectInvalidatedBy:T,selectCachedArgsForQuery:P});const{buildInitiateQuery:A,buildInitiateMutation:E,getRunningMutationThunk:I,getRunningMutationsThunk:M,getRunningQueriesThunk:W,getRunningQueryThunk:K}=Lu({queryThunk:p,mutationThunk:l,api:e,serializeQueryArgs:i,context:f});return ke(e.util,{getRunningMutationThunk:I,getRunningMutationsThunk:M,getRunningQueryThunk:K,getRunningQueriesThunk:W}),{name:Ki,injectEndpoint(j,$){var H;const ee=e;(H=ee.endpoints)[j]??(H[j]={}),$s($)?ke(ee.endpoints[j],{name:j,select:x(j,$),initiate:A(j,$)},y(p,j)):Fu($)&&ke(ee.endpoints[j],{name:j,select:C(),initiate:E(j)},y(l,j))}}}}),Ds={exports:{}},Ls={};const tl=Za(yt);/**
|
9
9
|
* @license React
|
10
10
|
* use-sync-external-store-with-selector.production.min.js
|
11
11
|
*
|
@@ -13,7 +13,7 @@ var Vs=Object.defineProperty;var Ks=(e,t,r)=>t in e?Vs(e,t,{enumerable:!0,config
|
|
13
13
|
*
|
14
14
|
* This source code is licensed under the MIT license found in the
|
15
15
|
* LICENSE file in the root directory of this source tree.
|
16
|
-
*/var Mt=Zu;function el(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var tl=typeof Object.is=="function"?Object.is:el,rl=Mt.useSyncExternalStore,nl=Mt.useRef,il=Mt.useEffect,ol=Mt.useMemo,sl=Mt.useDebugValue;Ds.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=nl(null);if(o.current===null){var s={hasValue:!1,value:null};o.current=s}else s=o.current;o=ol(function(){function l(u){if(!d){if(d=!0,f=u,u=n(u),i!==void 0&&s.hasValue){var g=s.value;if(i(g,u))return c=g}return c=u}if(g=c,tl(f,u))return g;var w=n(u);return i!==void 0&&i(g,w)?g:(f=u,c=w)}var d=!1,f,c,p=r===void 0?null:r;return[function(){return l(t())},p===null?void 0:function(){return l(p())}]},[t,r,n,i]);var a=rl(e,o[0],o[1]);return il(function(){s.hasValue=!0,s.value=a},[a]),sl(a),a};Is.exports=Ds;var al=Is.exports,oe="default"in pt?Uo:pt,Qi=Symbol.for("react-redux-context"),Vi=typeof globalThis<"u"?globalThis:{};function cl(){if(!oe.createContext)return{};const e=Vi[Qi]??(Vi[Qi]=new Map);let t=e.get(oe.createContext);return t||(t=oe.createContext(null),e.set(oe.createContext,t)),t}var Te=cl(),ul=()=>{throw new Error("uSES not initialized!")};function Un(e=Te){return function(){return oe.useContext(e)}}var Fs=Un(),Ns=ul,ll=e=>{Ns=e},dl=(e,t)=>e===t;function fl(e=Te){const t=e===Te?Fs:Un(e);return function(n,i={}){const{equalityFn:o=dl,devModeChecks:s={}}=typeof i=="function"?{equalityFn:i}:i,{store:a,subscription:l,getServerState:d,stabilityCheck:f,identityFunctionCheck:c}=t();oe.useRef(!0);const p=oe.useCallback({[n.name](g){return n(g)}}[n.name],[n,f,s.stabilityCheck]),u=Ns(l.addNestedSub,a.getState,d||a.getState,p,o);return oe.useDebugValue(u),u}}var Ls=fl();function js(e){e()}function pl(){let e=null,t=null;return{clear(){e=null,t=null},notify(){js(()=>{let r=e;for(;r;)r.callback(),r=r.next})},get(){let r=[],n=e;for(;n;)r.push(n),n=n.next;return r},subscribe(r){let n=!0,i=t={callback:r,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!n||e===null||(n=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var Ki={notify(){},get:()=>[]};function hl(e,t){let r,n=Ki,i=0,o=!1;function s(w){f();const _=n.subscribe(w);let m=!1;return()=>{m||(m=!0,_(),c())}}function a(){n.notify()}function l(){g.onStateChange&&g.onStateChange()}function d(){return o}function f(){i++,r||(r=t?t.addNestedSub(l):e.subscribe(l),n=pl())}function c(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=Ki)}function p(){o||(o=!0,f())}function u(){o&&(o=!1,c())}const g={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:l,isSubscribed:d,trySubscribe:p,tryUnsubscribe:u,getListeners:()=>n};return g}var ml=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",yl=ml?oe.useLayoutEffect:oe.useEffect;function Ji(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function tr(e,t){if(Ji(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let i=0;i<r.length;i++)if(!Object.prototype.hasOwnProperty.call(t,r[i])||!Ji(e[r[i]],t[r[i]]))return!1;return!0}function gl({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const s=oe.useMemo(()=>{const d=hl(e);return{store:e,subscription:d,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,n,i,o]),a=oe.useMemo(()=>e.getState(),[e]);yl(()=>{const{subscription:d}=s;return d.onStateChange=d.notifyNestedSubs,d.trySubscribe(),a!==e.getState()&&d.notifyNestedSubs(),()=>{d.tryUnsubscribe(),d.onStateChange=void 0}},[s,a]);const l=t||Te;return oe.createElement(l.Provider,{value:s},r)}var _l=gl;function zs(e=Te){const t=e===Te?Fs:Un(e);return function(){const{store:n}=t();return n}}var Bs=zs();function vl(e=Te){const t=e===Te?Bs:zs(e);return function(){return t().dispatch}}var Ws=vl(),wl=js;ll(al.useSyncExternalStoreWithSelector);function Gi(e,t,r,n){const i=Z(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),o=le(i);return Q(()=>{o.current.serialized!==i.serialized&&(o.current=i)},[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var Or=Symbol();function Mr(e){const t=le(e);return Q(()=>{tr(t.current,e)||(t.current=e)},[e]),tr(t.current,e)?t.current:e}var Ue=WeakMap?new WeakMap:void 0,bl=({endpointName:e,queryArgs:t})=>{let r="";const n=Ue==null?void 0:Ue.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,s)=>we(s)?Object.keys(s).sort().reduce((a,l)=>(a[l]=s[l],a),{}):s);we(t)&&(Ue==null||Ue.set(t,i)),r=i}return`${e}(${r})`},Sl=typeof window<"u"&&window.document&&window.document.createElement?ze:Q,xl=e=>e.isUninitialized?{...e,isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:Rs.pending}:e;function kl({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:o},serializeQueryArgs:s,context:a}){const l=o?u=>u():Q;return{buildQueryHooks:c,buildMutationHook:p,usePrefetch:f};function d(u,g,w){if(g!=null&&g.endpointName&&u.isUninitialized){const{endpointName:S}=g,k=a.endpointDefinitions[S];s({queryArgs:g.originalArgs,endpointDefinition:k,endpointName:S})===s({queryArgs:w,endpointDefinition:k,endpointName:S})&&(g=void 0)}let _=u.isSuccess?u.data:g==null?void 0:g.data;_===void 0&&(_=u.data);const m=_!==void 0,y=u.isLoading,h=!m&&y,v=u.isSuccess||y&&m;return{...u,data:_,currentData:u.data,isFetching:y,isLoading:h,isSuccess:v}}function f(u,g){const w=r(),_=Mr(g);return qe((m,y)=>w(e.util.prefetch(u,m,{..._,...y})),[u,w,_])}function c(u){const g=(m,{refetchOnReconnect:y,refetchOnFocus:h,refetchOnMountOrArgChange:v,skip:S=!1,pollingInterval:k=0}={})=>{const{initiate:x}=e.endpoints[u],C=r(),P=le();if(!P.current){const I=C(e.internalActions.internal_getRTKQSubscriptions());P.current=I}const R=Gi(S?$e:m,bl,a.endpointDefinitions[u],u),A=Mr({refetchOnReconnect:y,refetchOnFocus:h,pollingInterval:k}),T=le(!1),M=le();let{queryCacheKey:$,requestId:W}=M.current||{},K=!1;$&&W&&(K=P.current.isRequestSubscribed($,W));const j=!K&&T.current;return l(()=>{T.current=K}),l(()=>{j&&(M.current=void 0)},[j]),l(()=>{var H;const I=M.current;if(typeof process<"u",R===$e){I==null||I.unsubscribe(),M.current=void 0;return}const ee=(H=M.current)==null?void 0:H.subscriptionOptions;if(!I||I.arg!==R){I==null||I.unsubscribe();const me=C(x(R,{subscriptionOptions:A,forceRefetch:v}));M.current=me}else A!==ee&&I.updateSubscriptionOptions(A)},[C,x,v,R,A,j]),Q(()=>()=>{var I;(I=M.current)==null||I.unsubscribe(),M.current=void 0},[]),Z(()=>({refetch:()=>{var I;if(!M.current)throw new Error(de(38));return(I=M.current)==null?void 0:I.refetch()}}),[])},w=({refetchOnReconnect:m,refetchOnFocus:y,pollingInterval:h=0}={})=>{const{initiate:v}=e.endpoints[u],S=r(),[k,x]=ve(Or),C=le(),P=Mr({refetchOnReconnect:m,refetchOnFocus:y,pollingInterval:h});l(()=>{var M,$;const T=(M=C.current)==null?void 0:M.subscriptionOptions;P!==T&&(($=C.current)==null||$.updateSubscriptionOptions(P))},[P]);const R=le(P);l(()=>{R.current=P},[P]);const A=qe(function(T,M=!1){let $;return t(()=>{var W;(W=C.current)==null||W.unsubscribe(),C.current=$=S(v(T,{subscriptionOptions:R.current,forceRefetch:!M})),x(T)}),$},[S,v]);return Q(()=>()=>{var T;(T=C==null?void 0:C.current)==null||T.unsubscribe()},[]),Q(()=>{k!==Or&&!C.current&&A(k,!0)},[k,A]),Z(()=>[A,k],[A,k])},_=(m,{skip:y=!1,selectFromResult:h}={})=>{const{select:v}=e.endpoints[u],S=Gi(y?$e:m,s,a.endpointDefinitions[u],u),k=le(),x=Z(()=>Ke([v(S),(T,M)=>M,T=>S],d),[v,S]),C=Z(()=>h?Ke([x],h,{devModeChecks:{identityFunctionCheck:"never"}}):x,[x,h]),P=n(T=>C(T,k.current),tr),R=i(),A=x(R.getState(),k.current);return Sl(()=>{k.current=A},[A]),P};return{useQueryState:_,useQuerySubscription:g,useLazyQuerySubscription:w,useLazyQuery(m){const[y,h]=w(m),v=_(h,{...m,skip:h===Or}),S=Z(()=>({lastArg:h}),[h]);return Z(()=>[y,v,S],[y,v,S])},useQuery(m,y){const h=g(m,y),v=_(m,{selectFromResult:m===$e||y!=null&&y.skip?void 0:xl,...y}),{data:S,status:k,isLoading:x,isSuccess:C,isError:P,error:R}=v;return Qt({data:S,status:k,isLoading:x,isSuccess:C,isError:P,error:R}),Z(()=>({...v,...h}),[v,h])}}}function p(u){return({selectFromResult:g,fixedCacheKey:w}={})=>{const{select:_,initiate:m}=e.endpoints[u],y=r(),[h,v]=ve();Q(()=>()=>{h!=null&&h.arg.fixedCacheKey||h==null||h.reset()},[h]);const S=qe(function(H){const me=y(m(H,{fixedCacheKey:w}));return v(me),me},[y,m,w]),{requestId:k}=h||{},x=Z(()=>_({fixedCacheKey:w,requestId:h==null?void 0:h.requestId}),[w,h,_]),C=Z(()=>g?Ke([x],g):x,[g,x]),P=n(C,tr),R=w==null?h==null?void 0:h.arg.originalArgs:void 0,A=qe(()=>{t(()=>{h&&v(void 0),w&&y(e.internalActions.removeMutationResult({requestId:k,fixedCacheKey:w}))})},[y,w,h,k]),{endpointName:T,data:M,status:$,isLoading:W,isSuccess:K,isError:j,error:I}=P;Qt({endpointName:T,data:M,status:$,isLoading:W,isSuccess:K,isError:j,error:I});const ee=Z(()=>({...P,originalArgs:R,reset:A}),[P,R,A]);return Z(()=>[S,ee],[S,ee])}}}function Cl(e){return e.type==="query"}function Pl(e){return e.type==="mutation"}function $r(e){return e.replace(e[0],e[0].toUpperCase())}function jt(e,...t){return Object.assign(e,...t)}var Rl=Symbol(),El=({batch:e=wl,hooks:t={useDispatch:Ws,useSelector:Ls,useStore:Bs},unstable__sideEffectsInRender:r=!1,...n}={})=>({name:Rl,init(i,{serializeQueryArgs:o},s){const a=i,{buildQueryHooks:l,buildMutationHook:d,usePrefetch:f}=kl({api:i,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:o,context:s});return jt(a,{usePrefetch:f}),jt(s,{batch:e}),{injectEndpoint(c,p){if(Cl(p)){const{useQuery:u,useLazyQuery:g,useLazyQuerySubscription:w,useQueryState:_,useQuerySubscription:m}=l(c);jt(a.endpoints[c],{useQuery:u,useLazyQuery:g,useLazyQuerySubscription:w,useQueryState:_,useQuerySubscription:m}),i[`use${$r(c)}Query`]=u,i[`useLazy${$r(c)}Query`]=g}else if(Pl(p)){const u=d(c);jt(a.endpoints[c],{useMutation:u}),i[`use${$r(c)}Mutation`]=u}}}}}),Tl=zu(Xu(),El());const Al=async(e,t,r)=>{const n=t.getState().session.backendUrl;return $u({baseUrl:n,prepareHeaders:(i,{getState:o})=>{const{session:s}=o();return i.set("Accept","application/json"),i.set("Authorization",`Bearer ${s.accessToken}`),i}})(e,t,r)},Ie=Tl({baseQuery:Al,reducerPath:"backendApi",endpoints:e=>({campaignConnect:e.query({query:()=>({url:"super-campaign/backend/campaign-connect",method:"GET"}),keepUnusedDataFor:Number.MAX_SAFE_INTEGER})})}),{useLazyCampaignConnectQuery:Ol}=Ie,Zr=Ce({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:Ml}=Zr.actions,en=Ce({name:"state",initialState:{},reducers:{setFunds:(e,t)=>{e.funds=t.payload},setSelectedFund:(e,t)=>{e.selectedFund={fundId:t.payload.fundId,isPromotedDefault:t.payload.isPromotedDefault??!1,type:t.payload.type}},clearSelectedFund:e=>{e.selectedFund=void 0}}}),{setFunds:$l,setSelectedFund:Us,clearSelectedFund:qn}=en.actions,Yi=au({reducer:{[Zr.name]:Zr.reducer,[Ie.reducerPath]:Ie.reducer,[en.reducerPath]:en.reducer},middleware:e=>e().concat(Ie.middleware)}),$t=()=>Ws(),Le=Ls,Hn=({fillWidth:e=!1,fillWidthOnMobile:t=!1,disabled:r=!1,onClick:n=void 0,children:i})=>{const[o,s]=ve(0);return E("button",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"1rem",lineHeight:"1.5rem"},{display:"inline-flex",alignItems:"center",justifyContent:"center",borderWidth:"1px",fontWeight:"500"},{borderRadius:"0.375rem","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":focus":{outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"}},{pointerEvents:"auto",":focus":{"--tw-ring-color":"var(--fl-color-primary-focus)","--tw-ring-offset-width":"2px"}},{":disabled":{pointerEvents:"none","--tw-border-opacity":"1",borderColor:"rgb(209 213 219 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))"}},{borderColor:"transparent",backgroundColor:"var(--fl-color-primary)","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",":hover":{backgroundColor:"var(--fl-color-primary-hover)"}},(e||t)&&{width:"100%"},t&&{"@media (min-width: 640px)":{width:"auto"}}],disabled:r,onClick:async()=>{if(!(!n||o===1))try{s(1),await n(),s(0)}catch(l){throw s(2),l}},children:[o===1&&b(In,{size:16}),b("div",{css:[o===1&&{display:"none"}],children:i})]})},Be=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},tn=()=>{Be({sender:"super-campaign",type:"choose-another-fund-requested"})},Il=e=>{Be({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.isPromotedDefault?"PromotedDefault":"Promoted"}))})},Dl=e=>{Be({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.isPromotedDefault?"PromotedDefault":"Promoted",fundName:e.name,fundUsi:void 0})},re=e=>{Be({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:void 0})},Fl=()=>{Be({sender:"super-campaign",type:"disclaimer-accepted"})},Nl=()=>{Be({sender:"super-campaign",type:"disclaimer-viewed"})},qs=e=>{Be({...e,sender:"super-campaign"})},Ll=Gt.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),jl="_extnav=true",N=({link:e,onClick:t,children:r,...n})=>{const i=e.indexOf("?")===-1?"?":"&",o=`${e}${i}${jl}`;return b(Ll,{target:"_blank",href:o,onClick:t,...n,children:r})},zl=""+new URL("assets/logo-active-QBFsxdGu.svg",import.meta.url).href,Bl="Active Super",rn={fundId:"active",name:Bl,logo:zl,type:"PromotedFundJoinV1",features:[b("p",{children:"Winner of Canstar's 2023 Outstanding Value – Superannuation Award considering investment performance, fees and product features*"}),b("p",{children:"Recognised as a leader in responsible investment"}),b("p",{children:"Calls answered in 20 seconds (average over 5 years)"})],featureSubText:b("span",{children:"*Based on a comparison of the Active Super Accumulation Scheme held by those aged 20-69 years and balances between $30,000 and $1.5 million."}),disclaimer:E("p",{children:["Issued by LGSS Pty Limited as trustee for Local Government Super (Active Super ABN:28 901 371 321). Consider the PDS and TMD at"," ",b(N,{onClick:()=>re(rn),link:"https://www.activesuper.com.au/pds",children:"activesuper.com.au"})," ","before making a decision."]})},Wl=""+new URL("assets/logo-aus-eth-BVvU7g2H.svg",import.meta.url).href,Ul="Australian Ethical",Ir="https://www.australianethical.com.au/super/pds-forms/",dt={fundId:"australian-ethical",name:Ul,logo:Wl,type:"PromotedFundJoinV2",features:[E("p",{children:["Fastest growing super fund in Australia",b("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),E("p",{children:["Nil investments in fossil fuel companies",b("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),b("p",{children:"Competitive returns"})],featureSubText:E("ol",{css:{marginLeft:"0.75rem",listStylePosition:"outside",listStyleType:"decimal"},children:[b("li",{children:"Source: KPMG Super Insights Report 2022."}),b("li",{children:"All our options go through positive and negative ethical screening in accordance with the Australian Ethical Charter (in place since 1986)."})]}),disclaimer:E("p",{children:["Issued by Australian Ethical Superannuation Pty Ltd (ABN 43 079 259 733, RSE L0001441, AFSL 526055). Please consider the"," ",b(N,{link:"https://www.australianethical.com.au/globalassets/pdf-files/forms--pds/superpension/important-information/ae-financial-services-guide_sec.pdf",children:"Financial Services Guide"}),", the"," ",b(N,{link:Ir,onClick:()=>re(dt),children:"Product Disclosure Statement"})," ","and"," ",b(N,{link:Ir,onClick:()=>re(dt),children:"Target Market Determination"})," ","available on our"," ",b(N,{link:Ir,onClick:()=>re(dt),children:"website"}),"."]})},ql=""+new URL("assets/logo-art-OnjDdwzt.svg",import.meta.url).href,Xi="Australian Retirement Trust",nn={fundId:"australian-retirement-trust",name:Xi,logo:ql,type:"PromotedFundJoinV1",features:[b("p",{children:"$200 billion in retirement savings"}),b("p",{children:"2+ million members"}),b("p",{children:"A focus on delivering strong, long‑term returns"})],featureSubText:b("span",{children:"QSuper is now part of Australian Retirement Trust. If you have an existing QSuper account, you will continue to hold that account by selecting this option."}),disclaimer:E("p",{children:["You should consider the"," ",b(N,{link:"https://www.australianretirementtrust.com.au/library/media/pdfs/pds/super-savings-product-disclosure-statement-and-membership-form.pdf",onClick:()=>re(nn),children:"Product Disclosure Statement"})," ","and"," ",b(N,{link:"https://www.australianretirementtrust.com.au/tmd",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of this fund."]}),abnInfo:Xi,abn:"60 905 115 063"},Hl=""+new URL("assets/logo-aware-27z0JfJC.svg",import.meta.url).href,Ql="Aware Super",on={fundId:"aware",name:Ql,logo:Hl,type:"PromotedFundJoinV1",features:[b("p",{children:"Awarded Canstar’s Outstanding Value Super^ in 2022 and 2023."}),E("p",{children:["Over 1 million",b("sup",{css:{fontSize:"0.625rem"},children:"‡"})," Australians trust us with their super."]}),b("p",{children:"Our super helpful app helps you stay in control of your super."})],featureSubText:E("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.125rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.125rem * var(--tw-space-y-reverse))"}},children:[E("p",{children:["^ See"," ",b(N,{link:"https://aware.com.au/awards",children:"aware.com.au/awards"})," for more information"]}),E("p",{children:[b("sup",{css:{fontSize:"0.625rem"},children:"‡"})," Member numbers as of December 2023"]})]}),disclaimer:E("p",{children:["You should consider the"," ",b(N,{link:"https://aware.com.au/member/campaign/flare-documents?cid=par-aq-no-su-Flare-PDSTMD-Direct-ImpDocs-",onClick:()=>re(on),children:"Product Disclosure Statement and Target Market Determination"})," ","before deciding to invest in or apply to become a member of this fund."]}),abnInfo:"Aware Super Pty Ltd",abn:"53 226 460 365"},Vl=""+new URL("assets/logo-first-rrA5hli9.svg",import.meta.url).href,Kl="First Super",sn={fundId:"first-super",name:Kl,logo:Vl,type:"PromotedFundJoinV2",features:[b("p",{children:"Industry SuperFund that offers five investment options and default insurance"}),b("p",{children:"Strong long-term investment returns and superior customer service - members first"}),b("p",{children:"Established super fund – anyone can join including KiwiSaver members"})],disclaimer:E("div",{children:[E("p",{children:["General advice only which has been prepared without taking into account your objectives, financial situation or needs. Consider whether the advice is appropriate for you and read the Product Disclosure Statement (PDS) before making any investment decisions. PDS and Target Market Determination are available at our"," ",b(N,{onClick:()=>re(sn),link:"https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/",children:"website"}),". Past performance is not a reliable indicator of future performance."]}),b("br",{}),b("p",{children:"Issued by First Super Pty Ltd ABN 42 053 498 472, AFSL 223988 (Trustee) as Trustee of First Super ABN 56 286 625 181."})]})},Jl=""+new URL("assets/logo-hesta-DS-8ReNU.svg",import.meta.url).href,Gl="HESTA",an={fundId:"hesta-default",name:Gl,logo:Jl,type:"PromotedFundJoinV2",features:[b("p",{children:"A top-performing super fund* working for real-world impact"}),b("p",{children:"1+ million members"}),b("p",{children:"Expert help whenever you need it to help you face the future with confidence"})],featureSubText:void 0,disclaimer:E("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[E("p",{css:{fontStyle:"italic"},children:["* SuperRatings 10 Year Platinum Performance 2014-2024 (MySuper). Investment performance contributes to but is not the only factor in determining this product rating. Product ratings and awards are only one factor to be considered. See"," ",b(N,{css:{textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}},link:"https://www.hesta.com.au/ratings",children:"hesta.com.au/ratings"})," ","for more information."]}),E("p",{children:["Consider whether this product is appropriate for you by reading the Product Disclosure Statement and Target Market Determination at"," ",b(N,{onClick:()=>re(an),link:"https://www.hesta.com.au/pds",children:"hesta.com.au/pds"})," ","In considering your own circumstances about the suitability of HESTA products, you may wish to consult an adviser or use the ATO YourSuper comparison tool. Please also consider the relevant risks."]}),b("p",{children:"Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"})]}),isPromotedDefault:!0},Yl=""+new URL("assets/logo-mercer-mychoice-AQelc7Ua.svg",import.meta.url).href,Xl="Mercer MyChoice",cn={fundId:"mercermychoice",name:Xl,logo:Yl,type:"PromotedFundJoinV2",features:[b("p",{children:"Save more super with our low fees"}),b("p",{children:"Take control with 6 MyChoice investment options"}),b("p",{children:"Join 850,000 Australians who trust our global expertise"})],disclaimer:E("div",{children:[E("p",{children:["You should consider the"," ",b(N,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>re(cn),children:"Product Disclosure Statement"})," ","and"," ",b(N,{link:"https://www.mercersuper.com.au/documents/target-market-determinations",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),b("br",{}),b("p",{children:"Issued by Mercer Superannuation (Australia) Limited (‘Mercer Super’) ABN: 79 004 717 533"})]}),extraBadge:b("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"})},Zl=""+new URL("assets/logo-reisuper-GjOYg26T.svg",import.meta.url).href,ed="REI Super",un={fundId:"reisuper",name:ed,logo:Zl,type:"PromotedFundJoinV2",features:[b("p",{children:"Built by and for the real estate industry"}),b("p",{children:"Consistent long-term performance with competitive fees*"}),b("p",{children:"All profits to members, not shareholders"})],disclaimer:E("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[b("p",{children:"*Balanced Option net investment return of 9.45% for year ending 30 June 2023."}),E("p",{children:["You should consider the"," ",b(N,{link:"https://www.reisuper.com.au/docs/default-source/super/rei-super-pds.pdf?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=pds",onClick:()=>re(un),children:"Product Disclosure Statement"})," ","and"," ",b(N,{link:"https://www.reisuper.com.au/publications-and-forms/target-market-determination?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=tmd",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]})]}),abnInfo:"REI Superannuation Fund Pty Ltd",abn:"68 056 044 770"},td=""+new URL("assets/logo-slate-qMDg7z1_.png",import.meta.url).href,rd="Slate Super",ln={fundId:"slate",name:rd,logo:td,type:"SlateJoin",features:[b("p",{children:"A lifestage investment strategy that evolves with you"}),b("p",{children:"Advanced mobile app with retirement forecast and smart features"}),b("p",{children:"Member advocates at Slate to assist with your account"})],disclaimer:E("p",{children:["You should consider the"," ",b(N,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>re(ln),children:"Product Disclosure Statement"})," ","and"," ",b(N,{link:"https://slate.co/forms-and-documents/target-market-determination/",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),abnInfo:"Diversa Trustees Limited",abn:"49 006 421 638"},nd=""+new URL("assets/logo-spirit-gGkSB0e4.svg",import.meta.url).href,id="Spirit Super",dn={fundId:"spirit",name:id,logo:nd,type:"PromotedFundJoinV2",features:[b("p",{children:"Proud Industry SuperFund - all profits go back to members"}),E("p",{children:["Best customer experience in super",b("sup",{css:{fontSize:"0.625rem"},children:"1"})," and best for value",b("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),E("p",{children:["Low fees",b("sup",{css:{fontSize:"0.625rem"},children:"3"})," with a focus on strong returns and investing with impact in communities",b("sup",{css:{fontSize:"0.625rem"},children:"4"})]})],featureSubText:b("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:E("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[b("li",{children:b("span",{children:"CSBA SenseCX Benchmark 2021-22"})}),b("li",{children:b("span",{children:"Awarded Best for Value in the WeMoney Superannuation Awards 2022"})}),b("li",{children:b("span",{children:"Just $67.60 + 0.15% pa admin fees, capped at $517.60"})}),b("li",{children:b("span",{children:"Rainmaker ESG Leader Rating 2022"})})]})}),disclaimer:E("p",{children:["Past performance isn’t a reliable indicator of future performance. Consider the PDS and TMD at"," ",b(N,{link:"https://www.spiritsuper.com.au/pds",onClick:()=>re(dn),children:"www.spiritsuper.com.au/pds"})," ","before making a decision. Issuer is Motor Trades Association of Australia Superannuation Fund Pty Ltd (AFSL 238 718, ABN 14 008 650 628), the trustee of Spirit Super (ABN 74 559 365 913). Advice is provided by Quadrant First Pty Ltd (ABN 78 102 167 877, AFSL 284443)."]})},od=""+new URL("assets/logo-unisuper-1d8aWLNy.svg",import.meta.url).href,sd="Unisuper",ad="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",cd="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",fn={fundId:"unisuper-default",name:sd,logo:od,type:"PromotedFundJoinV2",features:[b("p",{children:"Low fees, better value – Our fees are among the lowest in the industry.^"}),b("p",{children:"Strong, long-term performance – We regularly exceed industry averages.*"}),E("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",b("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],disclaimer:E("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[E("p",{children:["^Read more about our fees and how we compare"," ",b(N,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),E("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",b(N,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),E("p",{children:[b("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",b(N,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),E("p",{children:["Remember to consider the"," ",b(N,{link:ad,onClick:()=>re(fn),children:"Product Disclosure Statement"})," ","and ",b(N,{link:cd,children:"Target Market Determination"})," that is relevant to you."]}),b("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]}),isPromotedDefault:!0},ud=""+new URL("assets/logo-virgin-4NJx4nb0.svg",import.meta.url).href,ld="Virgin Money Super",pn={fundId:"virgin",name:ld,logo:ud,type:"PromotedFundJoinV2",features:[E("p",{children:["Returns above industry and retail super fund medians over the past 5 years",b("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),b("p",{children:"One of the lowest fees in the market"}),E("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",b("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:b("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:E("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[b("li",{children:b("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),b("li",{children:b("span",{children:b(N,{css:{fontWeight:"400"},link:"https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents",children:"Eligibility and T&Cs apply"})})})]})}),disclaimer:E("p",{children:["Prepared by Virgin Money Financial Services Pty Ltd ABN 51 113 285 395 AFSL 286869 (‘Virgin Money’). Virgin Money Super is a plan in the Mercer Super Trust ABN 19 905 422 981. Virgin Money Super is issued by Mercer Superannuation (Australia) Limited (MSAL) ABN 79 004 717 533 AFSL 235906 as trustee of the Mercer Super Trust. Consider the PDS and TMD at"," ",b(N,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>re(pn),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:b("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"})},Hs=e=>{switch(e){case rn.fundId:return rn;case dt.fundId:return dt;case nn.fundId:return nn;case on.fundId:return on;case sn.fundId:return sn;case an.fundId:return an;case cn.fundId:return cn;case un.fundId:return un;case ln.fundId:return ln;case dn.fundId:return dn;case fn.fundId:return fn;case pn.fundId:return pn}return null},dd=e=>e==null?void 0:e.flatMap(t=>Hs(t)??[]),fd=()=>{const[e]=Ol(),[t,r]=ve(!1),n=$t();if(Q(()=>{Nl()},[]),t)return b(In,{});const i=async()=>{r(!0),Fl();const{data:o}=await e();if(!o)return;const s=o==null?void 0:o.promotedFunds.filter(a=>a.type==="defined-benefits");if(o.hasDefinedBenefitsEligibility&&s){const a=Hs(s[0].fundId);a&&n(Us({fundId:a.fundId,type:a.type,isPromotedDefault:a.isPromotedDefault}));return}n($l(o.promotedFunds))};return E("div",{children:[b("div",{css:{textAlign:"center",fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Important information about super"}),b("div",{css:{marginTop:"0.75rem",maxWidth:"800px",textAlign:"center",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))","@media (min-width: 640px)":{marginTop:"1rem",fontSize:"1.125rem",lineHeight:"2rem"}},children:"The choice of superannuation fund is an important personal financial decision. Next, you’ll be asked to nominate a super fund to receive your employer contributions."}),b("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:E("div",{css:{maxWidth:"560px",borderRadius:"0.5rem",borderWidth:"1px",padding:"1rem",paddingBottom:"1.5rem","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)","@media (min-width: 640px)":{padding:"1.5rem",paddingBottom:"2rem"}},children:[b("div",{css:{fontWeight:"700",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"By clicking “Continue” you acknowledge that:"}),E("ul",{css:{marginBottom:"1.5rem",marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem"},children:[b("li",{children:"Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"}),b("li",{children:"all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"}),b("li",{children:"in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"}),b("li",{children:"Trustees of the featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform;"}),b("li",{children:"in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."}),E("li",{children:["Your personal data that is provided to us will be subject to our"," ",b(N,{css:{fontWeight:"500","--tw-text-opacity":"1",color:"rgb(37 99 235 / var(--tw-text-opacity))",":hover":{"--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"}},link:"https://www.flarehr.com/privacy-policy",children:"Privacy Policy"}),"."]})]}),b(Hn,{fillWidth:!0,onClick:()=>i(),children:"Continue"})]})})]})},pd=()=>{const e=window.location.hostname.toLowerCase().split(".")[0];switch(e){case"autodev-partner":case"test-partner":case"partner":case"sandbox-partner":return e.replace("partner","");default:return"autodev-"}},hd=`https://${pd()}api.simplefinancialchoices.com/promoted-funds/embed`,md=()=>{const e=Le(a=>a.state.selectedFund),t=Le(a=>a.session.accessToken),r=$t(),n=Ie.endpoints.campaignConnect.useQueryState().data;if(!e||!t||!n)return b(Rt,{children:"Error!"});const i={authToken:t,employerDefault:e.isPromotedDefault??!1,fundId:e.fundId,accountId:n.userProfile.accountId,partnerId:n.partnerId,title:n.userProfile.title??"",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:n.userProfile.dateOfBirth??"",mobilePhone:n.userProfile.mobilePhone??"",email:n.userProfile.email,gender:n.userProfile.gender??"",taxFileNumber:n.userProfile.tfn??"",addressLine1:n.userProfile.address.addressLine1,addressLine2:n.userProfile.address.addressLine2??"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},o=kt();Q(()=>{var l;const a=(l=o.current)==null?void 0:l.contentDocument;if(a){a.open();const d=a.createElement("form");d.method="POST",d.target="_self",d.action=hd;let f;for(f in i){const c=i[f];if(c!==void 0){const p=document.createElement("input");p.name=f,p.type="hidden",typeof c=="boolean"?p.value=c?"true":"false":p.value=c,d.append(p)}}a.appendChild(d),a.close(),d.submit()}},[o]);const s=async a=>{const{data:l}=a,d=o.current;if(d){if(l.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",s),l.type){case"cancel":r(qn());break;default:qs(l)}return}if(l.sender==="promoted-fund-join")switch(l.type){case"contentResized":d.height=l.height>0?String(l.height):d.height,d.width=l.width>0?String(l.width):d.width;break;case"pageNavigated":window.scroll(d.offsetLeft,d.offsetTop);break}}};return window.addEventListener("message",s),b("div",{css:{width:"100vw"},children:b("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},yd=()=>window.location.origin.includes("localhost")?"autodev-partner":window.location.hostname.toLowerCase().split(".")[0],gd=`https://${yd()}.flarehr.com/promoted-fund-join/embed/v1.0/web`,_d=()=>{const e=Le(a=>a.session.accessToken),t=Le(a=>a.state.selectedFund),r=$t(),n=Ie.endpoints.campaignConnect.useQueryState().data;if(!n||!t)return b(Rt,{children:"Error!"});const i={authToken:e??"",fundId:t.fundId,partnerId:n.partnerId,accountId:n.userProfile.accountId,title:n.userProfile.title??"",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:n.userProfile.dateOfBirth??"",mobilePhone:n.userProfile.mobilePhone??"",email:n.userProfile.email,gender:n.userProfile.gender??"",taxFileNumber:n.userProfile.tfn??"",addressLine1:n.userProfile.address.addressLine1,addressLine2:n.userProfile.address.addressLine2??"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},o=kt();Q(()=>{var l;const a=(l=o.current)==null?void 0:l.contentDocument;if(a){a.open();const d=a.createElement("form");d.method="POST",d.target="_self",d.action=gd;let f;for(f in i){const c=i[f];if(c!==void 0){const p=document.createElement("input");p.type="hidden",p.name=f,p.value=c,d.append(p)}}a.appendChild(d),a.close(),d.submit()}},[o]);const s=async a=>{const{data:l}=a,d=o.current;if(d){if(l.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",s),l.type){case"success":{l.memberNumber;break}default:r(qn());break}return}if(l.sender==="promoted-fund-join")switch(l.type){case"contentResized":d.height=l.height>0?String(l.height):d.height,d.width=l.width>0?String(l.width):d.width;break;case"pageNavigated":window.scroll(d.offsetLeft,d.offsetTop);break}}};return window.addEventListener("message",s),b("div",{css:{width:"100vw"},children:b("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Qs=()=>{const e=window.location.hostname.toLowerCase().split(".")[0];switch(e){case"autodev-partner":case"test-partner":case"partner":return e.replace("partner","");default:return"autodev-"}},Zi=`https://${Qs()}join.slatesuper.com.au/confirm`,eo=`https://${Qs()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,vd=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},wd=()=>{const e=Le(a=>a.session.accessToken),t=$t(),r=Ie.endpoints.campaignConnect.useQueryState().data;if(!r)return b(Rt,{children:"Error!"});const i={authToken:!Zi.match(/autodev|sandbox/)?e:void 0,successRedirectUrl:eo,cancelRedirectUrl:eo,skipConsolidation:"false",skipInsurance:"false",firstName:r.userProfile.firstName,middleName:r.userProfile.middleName,lastName:r.userProfile.lastName,dateOfBirth:r.userProfile.dateOfBirth??"",mobilePhone:r.userProfile.mobilePhone??"",email:r.userProfile.email,gender:vd(r.userProfile.gender),taxFileNumber:r.userProfile.tfn??"",addressLine1:r.userProfile.address.addressLine1,addressLine2:r.userProfile.address.addressLine2??"",city:r.userProfile.address.city,state:r.userProfile.address.state,postCode:r.userProfile.address.postcode},o=kt();Q(()=>{var l;const a=(l=o.current)==null?void 0:l.contentDocument;if(a){a.open();const d=a.createElement("form");d.method="POST",d.target="_self",d.action=Zi;let f;for(f in i){const c=i[f];if(c!==void 0){const p=document.createElement("input");p.type="hidden",p.name=f,p.value=c,d.append(p)}}a.appendChild(d),a.close(),d.submit()}},[o]);const s=async a=>{const{data:l}=a,d=o.current;if(d){if(l.sender==="slate-redirect"){switch(window.removeEventListener("message",s),l.type){case"success":{qs(l);break}default:t(qn());break}return}if(l.sender==="flare")switch(l.type){case"contentResized":d.height=l.height>0?String(l.height):d.height,d.width=l.width>0?String(l.width):d.width;break}}};return window.addEventListener("message",s),b("div",{css:{width:"100vw"},children:b("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},to=({isActive:e,children:t,onClick:r})=>b("div",{css:[{display:"block",height:"100%",width:"auto",borderRadius:"0.375rem",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500","--tw-ring-offset-width":"1px",":focus":{zIndex:"10",outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-color":"var(--fl-color-primary-focus)"},"@media (min-width: 640px)":{paddingLeft:"2rem",paddingRight:"2rem"}},e&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",color:"var(--fl-color-primary)","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},!e&&"hover:bg-primary-hover text-white",{cursor:"pointer"}],onClick:r,children:t}),bd=()=>b("div",{css:{display:"flex",justifyContent:"center"},children:E("div",{css:{maxWidth:"800px",textAlign:"center"},children:[b("h3",{css:{marginBottom:"0.75rem",fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{marginBottom:"1rem",fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Nominate a super fund"}),E(Rt,{children:[b("div",{css:{lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"2rem"}},children:"You can choose any super fund, including your current fund/SMSF, your employer’s default fund, or alternatively, you can select from one of the featured funds."}),E("div",{css:{marginTop:"2rem",display:"inline-flex",whiteSpace:"normal",borderRadius:"0.5rem",backgroundColor:"var(--fl-color-primary)",padding:"0.125rem","@media (min-width: 640px)":{marginTop:"3rem"}},children:[b(to,{isActive:!0,children:"Featured super funds"}),b(to,{onClick:()=>tn(),children:"Choose another fund"})]})]})]})}),ro=({fund:e,isMultiFund:t})=>{const r=$t();return E("div",{css:{display:"flex",height:"100%",flexDirection:"column",justifyContent:"space-between",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem",paddingBottom:"1.5rem"},children:[E("div",{children:[b("div",{css:[{"@media (min-width: 768px)":{maxWidth:"240px"}},t&&{"@media (min-width: 1024px)":{maxWidth:"100%"}}],children:b(Hn,{fillWidth:!0,onClick:()=>{Dl(e),r(Us({fundId:e.fundId,isPromotedDefault:e.isPromotedDefault,type:e.type}))},children:"Choose this fund"})}),b("div",{css:{marginTop:"1.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:e.disclaimer})]}),e.abnInfo&&e.abn&&E("div",{css:{marginTop:"0.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:[E("p",{children:["Issued by ",e.abnInfo,"."]}),E("p",{children:["ABN: ",e.abn]})]})]})},Sd=({size:e,...t})=>b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#22c55e",width:e?e*4:"100%",...t,children:b("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"})}),xd={Check:Sd},kd=({name:e,logo:t,features:r,featureSubText:n,isMultiFund:i,isPromotedDefault:o,extraBadge:s})=>E("div",{css:{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem"},children:[E("div",{css:{marginRight:"-0.5rem",marginTop:"-1.25rem",textAlign:"right"},children:[s,o&&b("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},children:"Employer Default"}),b("span",{css:{marginRight:"0.125rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(31 41 55 / var(--tw-text-opacity))"},children:"Featured"})]}),E("div",{css:[{marginTop:"0.5rem",display:"flex","@media (min-width: 768px)":{marginTop:"0px"},"@media (min-width: 1024px)":{display:"block"}},i&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:[b("img",{css:[{height:"3rem",width:"80px",objectFit:"contain","@media (min-width: 768px)":{display:"none",height:"3.5rem",width:"96px"},"@media (min-width: 1024px)":{height:"4rem",width:"140px",objectPosition:"left"}},i&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:t}),b("div",{css:{display:"grid",alignContent:"center"},children:b("p",{css:[{marginLeft:"1rem",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","@media (min-width: 768px)":{marginBottom:"0px",marginLeft:"0px",fontSize:"1.125rem",lineHeight:"1.75rem"}},i&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:e})})]}),b("div",{css:{marginTop:"1rem","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.25rem","@media (min-width: 640px)":{marginTop:"0.5rem"}},children:r.map(a=>E("div",{css:{display:"flex"},children:[b("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:b(xd.Check,{alt:"checked"})}),b("div",{css:{lineHeight:"1.25rem"},children:a})]}))}),n&&b("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:n})]}),Cd="https://my.gov.au",Pd="www.my.gov.au",Rd="https://www.apra.gov.au/register-of-superannuation-institutions",Ed="www.apra.gov.au",Td=()=>{const e=Le(n=>n.state.funds),t=dd((e==null?void 0:e.map(n=>n.fundId))??[]);if(Q(()=>{t&&Il(t)},[t]),!t)return b(Rt,{children:"Error!"});const r=t.length>1;return E("div",{children:[b(bd,{}),E("div",{css:{marginTop:"2rem",textAlign:"center",fontSize:"0.875rem",lineHeight:"1.5rem"},children:[b("p",{css:{lineHeight:"1.5rem"},children:"Not ready to join a new fund, or want to nominate another super fund?"}),b("div",{onClick:()=>tn(),children:E("span",{css:{marginTop:"0.75rem",display:"inline-block",cursor:"pointer",fontWeight:"500",color:"var(--fl-color-primary)"},children:["Skip Featured Funds ",b("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",css:{display:"inline",height:"1.25rem",width:"1.25rem",fill:"var(--fl-color-primary)",".group:hover &":{fill:"#fff"}},children:b("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3"})})]})})]}),b("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center"},children:E("div",{css:[{borderRadius:"0.5rem",borderLeftWidth:"1px",borderTopWidth:"1px","@media (min-width: 1024px)":{display:"grid",borderBottomWidth:"1px"}},t.length===1&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(1, minmax(0, 1fr))"}},t.length===2&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(2, minmax(0, 1fr))"}},t.length===3&&{maxWidth:"960px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(3, minmax(0, 1fr))"}}],children:[t.map((n,i)=>b("div",{css:[{borderRightWidth:"1px"},i===0&&{borderTopRightRadius:"0.5rem"},i===0&&i!==t.length-1&&{"@media (min-width: 1024px)":{borderTopRightRadius:"0px"}},i===t.length-1&&{borderBottomRightRadius:"0.5rem","@media (min-width: 1024px)":{borderBottomRightRadius:"0px",borderTopRightRadius:"0.5rem"}}],children:E("div",{css:[{display:"flex",borderBottomWidth:"1px","@media (min-width: 1024px)":{borderBottomWidth:"0px"}},i===t.length-1&&{borderBottomRightRadius:"0.5rem",borderBottomLeftRadius:"0.5rem"}],children:[b("div",{css:[{display:"none",width:"9rem",justifyContent:"center",paddingLeft:"1.5rem",paddingTop:"1.5rem","@media (min-width: 768px)":{display:"flex"}},r&&{"@media (min-width: 1024px)":{display:"none"}}],children:b("img",{css:{height:"4rem",width:"100%",maxWidth:"96px",objectFit:"contain"},alt:n.name,src:n.logo})}),E("div",{css:{width:"100%"},children:[b(kd,{logo:n.logo,name:n.name,features:n.features,featureSubText:n.featureSubText,isMultiFund:r,isPromotedDefault:n.isPromotedDefault,extraBadge:n.extraBadge}),b("div",{css:[r&&{"@media (min-width: 1024px)":{display:"none"}}],children:b(ro,{fund:n,isMultiFund:r})})]})]})})),t.map((n,i)=>b("div",{css:[{display:"none",borderRightWidth:"1px"},r&&{"@media (min-width: 1024px)":{display:"block"}},i===t.length-1&&{borderBottomRightRadius:"0.5rem"}],children:b(ro,{fund:n,isMultiFund:r})}))]})}),b("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:E("div",{css:{maxWidth:"720px",borderBottomWidth:"1px",paddingBottom:"2rem","@media (min-width: 640px)":{paddingBottom:"3rem"}},children:[b("h5",{css:{fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"Or, choose another super fund:"}),E("ul",{css:{marginBottom:"1.5rem",marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1rem",lineHeight:"1.5rem"}},children:[b("li",{children:"Select this option if you'd like to use your current account with another super fund, your self-managed super fund, or your employer's default fund."}),E("li",{children:["If you are unsure of your current super fund details, you can find out at"," ",b(N,{css:{fontWeight:"500",color:"var(--fl-color-primary)",":hover":{color:"var(--fl-color-primary-hover)"}},link:Cd,children:Pd})]}),E("li",{children:["A full list of super funds can be viewed at"," ",b(N,{css:{fontWeight:"500",color:"var(--fl-color-primary)",":hover":{color:"var(--fl-color-primary-hover)"}},link:Rd,children:Ed})]})]}),b(Hn,{fillWidthOnMobile:!0,onClick:()=>tn(),children:"Choose another super fund"})]})}),b("div",{css:{display:"flex",justifyContent:"center"},children:E("div",{css:{maxWidth:"720px",paddingTop:"2rem","@media (min-width: 640px)":{paddingTop:"3rem"}},children:[b("h5",{css:{fontWeight:"600"},children:"IMPORTANT INFORMATION:"}),E("ul",{css:{marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem"},children:[b("li",{children:"The superannuation funds featured above are for your information only. The order, position and placement of content should not be interpreted as an opinion or recommendation (actual or implied) by Flare as to the suitability or appropriateness of any superannuation fund for you. In featuring these superannuation funds, Flare has not taken into account your objectives, financial situation or needs."}),b("li",{children:"This is not a comparison service. This page contains factual information only and does not constitute either general or personal advice about any financial products. We do not take into account your objectives, financial situation or needs. If you have questions or need help making a decision about your superannuation fund, you should speak to a licensed financial product advice provider."}),b("li",{children:"Flare, the technology partner you are accessing Flare via and your employer do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the featured superannuation funds. Flare does not endorse or accept responsibility for any of the content shown about any of the featured superannuation funds."}),b("li",{children:"You should consider the relevant superannuation fund’s PDS and TMD (if applicable) in deciding whether to apply to join the superannuation fund. Each of the superannuation funds featured above include a link to their PDS and TMD (if applicable) for your convenience. If you are considering joining another superannuation fund, you can typically find the PDS and TMD (if applicable) on that fund’s website."}),b("li",{children:"You should be aware that the trustees of featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform."})]})]})})]})},Ad=Gt.div({display:"flex",justifyContent:"center"}),Od=()=>{const{funds:e,selectedFund:t}=Le(n=>n.state);return b(Ad,{children:(()=>{if(t){if(t.type==="PromotedFundJoinV2")return b(md,{});if(t.type==="SlateJoin")return b(wd,{});if(t.type==="PromotedFundJoinV1")return b(_d,{})}else if(e)return b(Td,{});return b(fd,{})})()})},Md=()=>b(yc,{styles:gc`*, ::before, ::after {
|
16
|
+
*/var Nt=tl;function rl(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var nl=typeof Object.is=="function"?Object.is:rl,il=Nt.useSyncExternalStore,ol=Nt.useRef,sl=Nt.useEffect,al=Nt.useMemo,cl=Nt.useDebugValue;Ls.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=ol(null);if(o.current===null){var s={hasValue:!1,value:null};o.current=s}else s=o.current;o=al(function(){function c(l){if(!d){if(d=!0,f=l,l=n(l),i!==void 0&&s.hasValue){var g=s.value;if(i(g,l))return u=g}return u=l}if(g=u,nl(f,l))return g;var b=n(l);return i!==void 0&&i(g,b)?g:(f=l,u=b)}var d=!1,f,u,p=r===void 0?null:r;return[function(){return c(t())},p===null?void 0:function(){return c(p())}]},[t,r,n,i]);var a=il(e,o[0],o[1]);return sl(function(){s.hasValue=!0,s.value=a},[a]),cl(a),a};Ds.exports=Ls;var ul=Ds.exports,oe="default"in yt?Qo:yt,Ji=Symbol.for("react-redux-context"),Gi=typeof globalThis<"u"?globalThis:{};function ll(){if(!oe.createContext)return{};const e=Gi[Ji]??(Gi[Ji]=new Map);let t=e.get(oe.createContext);return t||(t=oe.createContext(null),e.set(oe.createContext,t)),t}var Ae=ll(),dl=()=>{throw new Error("uSES not initialized!")};function Vn(e=Ae){return function(){return oe.useContext(e)}}var js=Vn(),zs=dl,fl=e=>{zs=e},pl=(e,t)=>e===t;function hl(e=Ae){const t=e===Ae?js:Vn(e);return function(n,i={}){const{equalityFn:o=pl,devModeChecks:s={}}=typeof i=="function"?{equalityFn:i}:i,{store:a,subscription:c,getServerState:d,stabilityCheck:f,identityFunctionCheck:u}=t();oe.useRef(!0);const p=oe.useCallback({[n.name](g){return n(g)}}[n.name],[n,f,s.stabilityCheck]),l=zs(c.addNestedSub,a.getState,d||a.getState,p,o);return oe.useDebugValue(l),l}}var Bs=hl();function Ws(e){e()}function ml(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Ws(()=>{let r=e;for(;r;)r.callback(),r=r.next})},get(){let r=[],n=e;for(;n;)r.push(n),n=n.next;return r},subscribe(r){let n=!0,i=t={callback:r,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!n||e===null||(n=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var Yi={notify(){},get:()=>[]};function yl(e,t){let r,n=Yi,i=0,o=!1;function s(b){f();const _=n.subscribe(b);let m=!1;return()=>{m||(m=!0,_(),u())}}function a(){n.notify()}function c(){g.onStateChange&&g.onStateChange()}function d(){return o}function f(){i++,r||(r=t?t.addNestedSub(c):e.subscribe(c),n=ml())}function u(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=Yi)}function p(){o||(o=!0,f())}function l(){o&&(o=!1,u())}const g={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:c,isSubscribed:d,trySubscribe:p,tryUnsubscribe:l,getListeners:()=>n};return g}var gl=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",_l=gl?oe.useLayoutEffect:oe.useEffect;function Xi(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function or(e,t){if(Xi(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let i=0;i<r.length;i++)if(!Object.prototype.hasOwnProperty.call(t,r[i])||!Xi(e[r[i]],t[r[i]]))return!1;return!0}function vl({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const s=oe.useMemo(()=>{const d=yl(e);return{store:e,subscription:d,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,n,i,o]),a=oe.useMemo(()=>e.getState(),[e]);_l(()=>{const{subscription:d}=s;return d.onStateChange=d.notifyNestedSubs,d.trySubscribe(),a!==e.getState()&&d.notifyNestedSubs(),()=>{d.tryUnsubscribe(),d.onStateChange=void 0}},[s,a]);const c=t||Ae;return oe.createElement(c.Provider,{value:s},r)}var bl=vl;function Us(e=Ae){const t=e===Ae?js:Vn(e);return function(){const{store:n}=t();return n}}var qs=Us();function wl(e=Ae){const t=e===Ae?qs:Us(e);return function(){return t().dispatch}}var Hs=wl(),Sl=Ws;fl(ul.useSyncExternalStoreWithSelector);function Zi(e,t,r,n){const i=Z(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),o=le(i);return Q(()=>{o.current.serialized!==i.serialized&&(o.current=i)},[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var Fr=Symbol();function Dr(e){const t=le(e);return Q(()=>{or(t.current,e)||(t.current=e)},[e]),or(t.current,e)?t.current:e}var He=WeakMap?new WeakMap:void 0,xl=({endpointName:e,queryArgs:t})=>{let r="";const n=He==null?void 0:He.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,s)=>be(s)?Object.keys(s).sort().reduce((a,c)=>(a[c]=s[c],a),{}):s);be(t)&&(He==null||He.set(t,i)),r=i}return`${e}(${r})`},kl=typeof window<"u"&&window.document&&window.document.createElement?We:Q,Cl=e=>e.isUninitialized?{...e,isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:As.pending}:e;function Tl({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:o},serializeQueryArgs:s,context:a}){const c=o?l=>l():Q;return{buildQueryHooks:u,buildMutationHook:p,usePrefetch:f};function d(l,g,b){if(g!=null&&g.endpointName&&l.isUninitialized){const{endpointName:S}=g,k=a.endpointDefinitions[S];s({queryArgs:g.originalArgs,endpointDefinition:k,endpointName:S})===s({queryArgs:b,endpointDefinition:k,endpointName:S})&&(g=void 0)}let _=l.isSuccess?l.data:g==null?void 0:g.data;_===void 0&&(_=l.data);const m=_!==void 0,y=l.isLoading,h=!m&&y,v=l.isSuccess||y&&m;return{...l,data:_,currentData:l.data,isFetching:y,isLoading:h,isSuccess:v}}function f(l,g){const b=r(),_=Dr(g);return Qe((m,y)=>b(e.util.prefetch(l,m,{..._,...y})),[l,b,_])}function u(l){const g=(m,{refetchOnReconnect:y,refetchOnFocus:h,refetchOnMountOrArgChange:v,skip:S=!1,pollingInterval:k=0}={})=>{const{initiate:x}=e.endpoints[l],C=r(),T=le();if(!T.current){const $=C(e.internalActions.internal_getRTKQSubscriptions());T.current=$}const P=Zi(S?Ne:m,xl,a.endpointDefinitions[l],l),A=Dr({refetchOnReconnect:y,refetchOnFocus:h,pollingInterval:k}),E=le(!1),I=le();let{queryCacheKey:M,requestId:W}=I.current||{},K=!1;M&&W&&(K=T.current.isRequestSubscribed(M,W));const j=!K&&E.current;return c(()=>{E.current=K}),c(()=>{j&&(I.current=void 0)},[j]),c(()=>{var H;const $=I.current;if(typeof process<"u",P===Ne){$==null||$.unsubscribe(),I.current=void 0;return}const ee=(H=I.current)==null?void 0:H.subscriptionOptions;if(!$||$.arg!==P){$==null||$.unsubscribe();const me=C(x(P,{subscriptionOptions:A,forceRefetch:v}));I.current=me}else A!==ee&&$.updateSubscriptionOptions(A)},[C,x,v,P,A,j]),Q(()=>()=>{var $;($=I.current)==null||$.unsubscribe(),I.current=void 0},[]),Z(()=>({refetch:()=>{var $;if(!I.current)throw new Error(de(38));return($=I.current)==null?void 0:$.refetch()}}),[])},b=({refetchOnReconnect:m,refetchOnFocus:y,pollingInterval:h=0}={})=>{const{initiate:v}=e.endpoints[l],S=r(),[k,x]=ve(Fr),C=le(),T=Dr({refetchOnReconnect:m,refetchOnFocus:y,pollingInterval:h});c(()=>{var I,M;const E=(I=C.current)==null?void 0:I.subscriptionOptions;T!==E&&((M=C.current)==null||M.updateSubscriptionOptions(T))},[T]);const P=le(T);c(()=>{P.current=T},[T]);const A=Qe(function(E,I=!1){let M;return t(()=>{var W;(W=C.current)==null||W.unsubscribe(),C.current=M=S(v(E,{subscriptionOptions:P.current,forceRefetch:!I})),x(E)}),M},[S,v]);return Q(()=>()=>{var E;(E=C==null?void 0:C.current)==null||E.unsubscribe()},[]),Q(()=>{k!==Fr&&!C.current&&A(k,!0)},[k,A]),Z(()=>[A,k],[A,k])},_=(m,{skip:y=!1,selectFromResult:h}={})=>{const{select:v}=e.endpoints[l],S=Zi(y?Ne:m,s,a.endpointDefinitions[l],l),k=le(),x=Z(()=>Ye([v(S),(E,I)=>I,E=>S],d),[v,S]),C=Z(()=>h?Ye([x],h,{devModeChecks:{identityFunctionCheck:"never"}}):x,[x,h]),T=n(E=>C(E,k.current),or),P=i(),A=x(P.getState(),k.current);return kl(()=>{k.current=A},[A]),T};return{useQueryState:_,useQuerySubscription:g,useLazyQuerySubscription:b,useLazyQuery(m){const[y,h]=b(m),v=_(h,{...m,skip:h===Fr}),S=Z(()=>({lastArg:h}),[h]);return Z(()=>[y,v,S],[y,v,S])},useQuery(m,y){const h=g(m,y),v=_(m,{selectFromResult:m===Ne||y!=null&&y.skip?void 0:Cl,...y}),{data:S,status:k,isLoading:x,isSuccess:C,isError:T,error:P}=v;return Gt({data:S,status:k,isLoading:x,isSuccess:C,isError:T,error:P}),Z(()=>({...v,...h}),[v,h])}}}function p(l){return({selectFromResult:g,fixedCacheKey:b}={})=>{const{select:_,initiate:m}=e.endpoints[l],y=r(),[h,v]=ve();Q(()=>()=>{h!=null&&h.arg.fixedCacheKey||h==null||h.reset()},[h]);const S=Qe(function(H){const me=y(m(H,{fixedCacheKey:b}));return v(me),me},[y,m,b]),{requestId:k}=h||{},x=Z(()=>_({fixedCacheKey:b,requestId:h==null?void 0:h.requestId}),[b,h,_]),C=Z(()=>g?Ye([x],g):x,[g,x]),T=n(C,or),P=b==null?h==null?void 0:h.arg.originalArgs:void 0,A=Qe(()=>{t(()=>{h&&v(void 0),b&&y(e.internalActions.removeMutationResult({requestId:k,fixedCacheKey:b}))})},[y,b,h,k]),{endpointName:E,data:I,status:M,isLoading:W,isSuccess:K,isError:j,error:$}=T;Gt({endpointName:E,data:I,status:M,isLoading:W,isSuccess:K,isError:j,error:$});const ee=Z(()=>({...T,originalArgs:P,reset:A}),[T,P,A]);return Z(()=>[S,ee],[S,ee])}}}function Pl(e){return e.type==="query"}function Rl(e){return e.type==="mutation"}function Lr(e){return e.replace(e[0],e[0].toUpperCase())}function Wt(e,...t){return Object.assign(e,...t)}var El=Symbol(),Al=({batch:e=Sl,hooks:t={useDispatch:Hs,useSelector:Bs,useStore:qs},unstable__sideEffectsInRender:r=!1,...n}={})=>({name:El,init(i,{serializeQueryArgs:o},s){const a=i,{buildQueryHooks:c,buildMutationHook:d,usePrefetch:f}=Tl({api:i,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:o,context:s});return Wt(a,{usePrefetch:f}),Wt(s,{batch:e}),{injectEndpoint(u,p){if(Pl(p)){const{useQuery:l,useLazyQuery:g,useLazyQuerySubscription:b,useQueryState:_,useQuerySubscription:m}=c(u);Wt(a.endpoints[u],{useQuery:l,useLazyQuery:g,useLazyQuerySubscription:b,useQueryState:_,useQuerySubscription:m}),i[`use${Lr(u)}Query`]=l,i[`useLazy${Lr(u)}Query`]=g}else if(Rl(p)){const l=d(u);Wt(a.endpoints[u],{useMutation:l}),i[`use${Lr(u)}Mutation`]=l}}}}}),Ol=Wu(el(),Al());const Il=async(e,t,r)=>{const n=t.getState().session.backendUrl;return Nu({baseUrl:n,prepareHeaders:(i,{getState:o})=>{const{session:s}=o();return i.set("Accept","application/json"),i.set("Authorization",`Bearer ${s.accessToken}`),i}})(e,t,r)},Fe=Ol({baseQuery:Il,reducerPath:"backendApi",endpoints:e=>({campaignConnect:e.query({query:()=>({url:"super-campaign/backend/campaign-connect",method:"GET"}),keepUnusedDataFor:Number.MAX_SAFE_INTEGER})})}),{useLazyCampaignConnectQuery:Ml}=Fe,on=Ce({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:$l}=on.actions,sn=Ce({name:"state",initialState:{},reducers:{setFunds:(e,t)=>{e.funds=t.payload},setSelectedFund:(e,t)=>{e.selectedFund={fundId:t.payload.fundId,iframeType:t.payload.iframeType,fundType:t.payload.fundType}},clearSelectedFund:e=>{e.selectedFund=void 0}}}),{setFunds:Nl,setSelectedFund:Qs,clearSelectedFund:Te}=sn.actions,eo=uu({reducer:{[on.name]:on.reducer,[Fe.reducerPath]:Fe.reducer,[sn.reducerPath]:sn.reducer},middleware:e=>e().concat(Fe.middleware)}),Ft=()=>Hs(),ze=Bs,Kn=({fillWidth:e=!1,fillWidthOnMobile:t=!1,disabled:r=!1,onClick:n=void 0,children:i})=>{const[o,s]=ve(0);return R("button",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"1rem",lineHeight:"1.5rem"},{display:"inline-flex",alignItems:"center",justifyContent:"center",borderWidth:"1px",fontWeight:"500"},{borderRadius:"0.375rem","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":focus":{outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)"}},{pointerEvents:"auto",":focus":{"--tw-ring-color":"var(--fl-color-primary-focus)","--tw-ring-offset-width":"2px"}},{":disabled":{pointerEvents:"none","--tw-border-opacity":"1",borderColor:"rgb(209 213 219 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(156 163 175 / var(--tw-text-opacity))"}},{borderColor:"transparent",backgroundColor:"var(--fl-color-primary)","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))",":hover":{backgroundColor:"var(--fl-color-primary-hover)"}},(e||t)&&{width:"100%"},t&&{"@media (min-width: 640px)":{width:"auto"}}],disabled:r,onClick:async()=>{if(!(!n||o===1))try{s(1),await n(),s(0)}catch(c){throw s(2),c}},children:[o===1&&w(Ln,{size:16}),w("div",{css:[o===1&&{display:"none"}],children:i})]})},Ue=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},an=()=>{Ue({sender:"super-campaign",type:"choose-another-fund-requested"})},Fl=e=>{Ue({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.fundType}))})},Dl=e=>{Ue({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.fundType,fundName:e.name,fundUsi:void 0})},re=e=>{Ue({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:void 0})},Ll=()=>{Ue({sender:"super-campaign",type:"disclaimer-accepted"})},jl=()=>{Ue({sender:"super-campaign",type:"disclaimer-viewed"})},Je=e=>{Ue({sender:"super-campaign",type:"promoted-fund-joined",fundJoinInfo:e})},zl=er.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),Bl="_extnav=true",D=({link:e,onClick:t,children:r,...n})=>{const i=e.indexOf("?")===-1?"?":"&",o=`${e}${i}${Bl}`;return w(zl,{target:"_blank",href:o,onClick:t,...n,children:r})},Wl=""+new URL("assets/logo-active-QBFsxdGu.svg",import.meta.url).href,Ul="Active Super",cn={fundId:"active",name:Ul,logo:Wl,iframeType:"PromotedFundJoinV1",features:[w("p",{children:"Winner of Canstar's 2023 Outstanding Value – Superannuation Award considering investment performance, fees and product features*"}),w("p",{children:"Recognised as a leader in responsible investment"}),w("p",{children:"Calls answered in 20 seconds (average over 5 years)"})],featureSubText:w("span",{children:"*Based on a comparison of the Active Super Accumulation Scheme held by those aged 20-69 years and balances between $30,000 and $1.5 million."}),disclaimer:R("p",{children:["Issued by LGSS Pty Limited as trustee for Local Government Super (Active Super ABN:28 901 371 321). Consider the PDS and TMD at"," ",w(D,{onClick:()=>re(cn),link:"https://www.activesuper.com.au/pds",children:"activesuper.com.au"})," ","before making a decision."]})},ql=""+new URL("assets/logo-aus-eth-BVvU7g2H.svg",import.meta.url).href,Hl="Australian Ethical",jr="https://www.australianethical.com.au/super/pds-forms/",ht={fundId:"australian-ethical",name:Hl,logo:ql,iframeType:"PromotedFundJoinV2",features:[R("p",{children:["Fastest growing super fund in Australia",w("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),R("p",{children:["Nil investments in fossil fuel companies",w("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),w("p",{children:"Competitive returns"})],featureSubText:R("ol",{css:{marginLeft:"0.75rem",listStylePosition:"outside",listStyleType:"decimal"},children:[w("li",{children:"Source: KPMG Super Insights Report 2022."}),w("li",{children:"All our options go through positive and negative ethical screening in accordance with the Australian Ethical Charter (in place since 1986)."})]}),disclaimer:R("p",{children:["Issued by Australian Ethical Superannuation Pty Ltd (ABN 43 079 259 733, RSE L0001441, AFSL 526055). Please consider the"," ",w(D,{link:"https://www.australianethical.com.au/globalassets/pdf-files/forms--pds/superpension/important-information/ae-financial-services-guide_sec.pdf",children:"Financial Services Guide"}),", the"," ",w(D,{link:jr,onClick:()=>re(ht),children:"Product Disclosure Statement"})," ","and"," ",w(D,{link:jr,onClick:()=>re(ht),children:"Target Market Determination"})," ","available on our"," ",w(D,{link:jr,onClick:()=>re(ht),children:"website"}),"."]})},Ql=""+new URL("assets/logo-art-OnjDdwzt.svg",import.meta.url).href,to="Australian Retirement Trust",un={fundId:"australian-retirement-trust",name:to,logo:Ql,iframeType:"PromotedFundJoinV1",features:[w("p",{children:"$200 billion in retirement savings"}),w("p",{children:"2+ million members"}),w("p",{children:"A focus on delivering strong, long‑term returns"})],featureSubText:w("span",{children:"QSuper is now part of Australian Retirement Trust. If you have an existing QSuper account, you will continue to hold that account by selecting this option."}),disclaimer:R("p",{children:["You should consider the"," ",w(D,{link:"https://www.australianretirementtrust.com.au/library/media/pdfs/pds/super-savings-product-disclosure-statement-and-membership-form.pdf",onClick:()=>re(un),children:"Product Disclosure Statement"})," ","and"," ",w(D,{link:"https://www.australianretirementtrust.com.au/tmd",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of this fund."]}),abnInfo:to,abn:"60 905 115 063"},Vl=""+new URL("assets/logo-aware-27z0JfJC.svg",import.meta.url).href,Kl="Aware Super",ln={fundId:"aware",name:Kl,logo:Vl,iframeType:"PromotedFundJoinV1",features:[w("p",{children:"Awarded Canstar’s Outstanding Value Super^ in 2022 and 2023."}),R("p",{children:["Over 1 million",w("sup",{css:{fontSize:"0.625rem"},children:"‡"})," Australians trust us with their super."]}),w("p",{children:"Our super helpful app helps you stay in control of your super."})],featureSubText:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.125rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.125rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["^ See"," ",w(D,{link:"https://aware.com.au/awards",children:"aware.com.au/awards"})," for more information"]}),R("p",{children:[w("sup",{css:{fontSize:"0.625rem"},children:"‡"})," Member numbers as of December 2023"]})]}),disclaimer:R("p",{children:["You should consider the"," ",w(D,{link:"https://aware.com.au/member/campaign/flare-documents?cid=par-aq-no-su-Flare-PDSTMD-Direct-ImpDocs-",onClick:()=>re(ln),children:"Product Disclosure Statement and Target Market Determination"})," ","before deciding to invest in or apply to become a member of this fund."]}),abnInfo:"Aware Super Pty Ltd",abn:"53 226 460 365"},Jl=""+new URL("assets/logo-first-rrA5hli9.svg",import.meta.url).href,Gl="First Super",dn={fundId:"first-super",name:Gl,logo:Jl,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Industry SuperFund that offers five investment options and default insurance"}),w("p",{children:"Strong long-term investment returns and superior customer service - members first"}),w("p",{children:"Established super fund – anyone can join including KiwiSaver members"})],disclaimer:R("div",{children:[R("p",{children:["General advice only which has been prepared without taking into account your objectives, financial situation or needs. Consider whether the advice is appropriate for you and read the Product Disclosure Statement (PDS) before making any investment decisions. PDS and Target Market Determination are available at our"," ",w(D,{onClick:()=>re(dn),link:"https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/",children:"website"}),". Past performance is not a reliable indicator of future performance."]}),w("br",{}),w("p",{children:"Issued by First Super Pty Ltd ABN 42 053 498 472, AFSL 223988 (Trustee) as Trustee of First Super ABN 56 286 625 181."})]})},Yl=""+new URL("assets/logo-hesta-DS-8ReNU.svg",import.meta.url).href,Xl="HESTA",fn={fundId:"hesta-default",name:Xl,logo:Yl,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"A top-performing super fund* working for real-world impact"}),w("p",{children:"1+ million members"}),w("p",{children:"Expert help whenever you need it to help you face the future with confidence"})],featureSubText:void 0,disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{css:{fontStyle:"italic"},children:["* SuperRatings 10 Year Platinum Performance 2014-2024 (MySuper). Investment performance contributes to but is not the only factor in determining this product rating. Product ratings and awards are only one factor to be considered. See"," ",w(D,{css:{textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}},link:"https://www.hesta.com.au/ratings",children:"hesta.com.au/ratings"})," ","for more information."]}),R("p",{children:["Consider whether this product is appropriate for you by reading the Product Disclosure Statement and Target Market Determination at"," ",w(D,{onClick:()=>re(fn),link:"https://www.hesta.com.au/pds",children:"hesta.com.au/pds"})," ","In considering your own circumstances about the suitability of HESTA products, you may wish to consult an adviser or use the ATO YourSuper comparison tool. Please also consider the relevant risks."]}),w("p",{children:"Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"})]})},Zl=""+new URL("assets/logo-mercer-mychoice-AQelc7Ua.svg",import.meta.url).href,ed="Mercer MyChoice",pn={fundId:"mercermychoice",name:ed,logo:Zl,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Save more super with our low fees"}),w("p",{children:"Take control with 6 MyChoice investment options"}),w("p",{children:"Join 850,000 Australians who trust our global expertise"})],disclaimer:R("div",{children:[R("p",{children:["You should consider the"," ",w(D,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>re(pn),children:"Product Disclosure Statement"})," ","and"," ",w(D,{link:"https://www.mercersuper.com.au/documents/target-market-determinations",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),w("br",{}),w("p",{children:"Issued by Mercer Superannuation (Australia) Limited (‘Mercer Super’) ABN: 79 004 717 533"})]}),extraBadge:w("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"})},td=""+new URL("assets/logo-reisuper-GjOYg26T.svg",import.meta.url).href,rd="REI Super",hn={fundId:"reisuper",name:rd,logo:td,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Built by and for the real estate industry"}),w("p",{children:"Consistent long-term performance with competitive fees*"}),w("p",{children:"All profits to members, not shareholders"})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[w("p",{children:"*Balanced Option net investment return of 9.45% for year ending 30 June 2023."}),R("p",{children:["You should consider the"," ",w(D,{link:"https://www.reisuper.com.au/docs/default-source/super/rei-super-pds.pdf?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=pds",onClick:()=>re(hn),children:"Product Disclosure Statement"})," ","and"," ",w(D,{link:"https://www.reisuper.com.au/publications-and-forms/target-market-determination?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=tmd",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]})]}),abnInfo:"REI Superannuation Fund Pty Ltd",abn:"68 056 044 770"},nd=""+new URL("assets/logo-slate-qMDg7z1_.png",import.meta.url).href,id="Slate Super",od="32367272075001",sr={fundId:"slate",name:id,logo:nd,iframeType:"SlateJoin",features:[w("p",{children:"A lifestage investment strategy that evolves with you"}),w("p",{children:"Advanced mobile app with retirement forecast and smart features"}),w("p",{children:"Member advocates at Slate to assist with your account"})],disclaimer:R("p",{children:["You should consider the"," ",w(D,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>re(sr),children:"Product Disclosure Statement"})," ","and"," ",w(D,{link:"https://slate.co/forms-and-documents/target-market-determination/",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),abnInfo:"Diversa Trustees Limited",abn:"49 006 421 638"},sd=""+new URL("assets/logo-spirit-gGkSB0e4.svg",import.meta.url).href,ad="Spirit Super",mn={fundId:"spirit",name:ad,logo:sd,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Proud Industry SuperFund - all profits go back to members"}),R("p",{children:["Best customer experience in super",w("sup",{css:{fontSize:"0.625rem"},children:"1"})," and best for value",w("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),R("p",{children:["Low fees",w("sup",{css:{fontSize:"0.625rem"},children:"3"})," with a focus on strong returns and investing with impact in communities",w("sup",{css:{fontSize:"0.625rem"},children:"4"})]})],featureSubText:w("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:R("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[w("li",{children:w("span",{children:"CSBA SenseCX Benchmark 2021-22"})}),w("li",{children:w("span",{children:"Awarded Best for Value in the WeMoney Superannuation Awards 2022"})}),w("li",{children:w("span",{children:"Just $67.60 + 0.15% pa admin fees, capped at $517.60"})}),w("li",{children:w("span",{children:"Rainmaker ESG Leader Rating 2022"})})]})}),disclaimer:R("p",{children:["Past performance isn’t a reliable indicator of future performance. Consider the PDS and TMD at"," ",w(D,{link:"https://www.spiritsuper.com.au/pds",onClick:()=>re(mn),children:"www.spiritsuper.com.au/pds"})," ","before making a decision. Issuer is Motor Trades Association of Australia Superannuation Fund Pty Ltd (AFSL 238 718, ABN 14 008 650 628), the trustee of Spirit Super (ABN 74 559 365 913). Advice is provided by Quadrant First Pty Ltd (ABN 78 102 167 877, AFSL 284443)."]})},cd=""+new URL("assets/logo-unisuper-1d8aWLNy.svg",import.meta.url).href,ud="Unisuper",ld="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",dd="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",yn={fundId:"unisuper-default",name:ud,logo:cd,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Low fees, better value – Our fees are among the lowest in the industry.^"}),w("p",{children:"Strong, long-term performance – We regularly exceed industry averages.*"}),R("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",w("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],disclaimer:R("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[R("p",{children:["^Read more about our fees and how we compare"," ",w(D,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),R("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",w(D,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),R("p",{children:[w("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",w(D,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),R("p",{children:["Remember to consider the"," ",w(D,{link:ld,onClick:()=>re(yn),children:"Product Disclosure Statement"})," ","and ",w(D,{link:dd,children:"Target Market Determination"})," that is relevant to you."]}),w("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},fd=""+new URL("assets/logo-virgin-4NJx4nb0.svg",import.meta.url).href,pd="Virgin Money Super",gn={fundId:"virgin",name:pd,logo:fd,iframeType:"PromotedFundJoinV2",features:[R("p",{children:["Returns above industry and retail super fund medians over the past 5 years",w("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),w("p",{children:"One of the lowest fees in the market"}),R("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",w("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:w("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:R("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[w("li",{children:w("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),w("li",{children:w("span",{children:w(D,{css:{fontWeight:"400"},link:"https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents",children:"Eligibility and T&Cs apply"})})})]})}),disclaimer:R("p",{children:["Prepared by Virgin Money Financial Services Pty Ltd ABN 51 113 285 395 AFSL 286869 (‘Virgin Money’). Virgin Money Super is a plan in the Mercer Super Trust ABN 19 905 422 981. Virgin Money Super is issued by Mercer Superannuation (Australia) Limited (MSAL) ABN 79 004 717 533 AFSL 235906 as trustee of the Mercer Super Trust. Consider the PDS and TMD at"," ",w(D,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>re(gn),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:w("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"})},Vs=e=>{switch(e.fundId){case cn.fundId:return{...cn,fundType:e.type};case ht.fundId:return{...ht,fundType:e.type};case un.fundId:return{...un,fundType:e.type};case ln.fundId:return{...ln,fundType:e.type};case dn.fundId:return{...dn,fundType:e.type};case fn.fundId:return{...fn,fundType:e.type};case pn.fundId:return{...pn,fundType:e.type};case hn.fundId:return{...hn,fundType:e.type};case sr.fundId:return{...sr,fundType:e.type};case mn.fundId:return{...mn,fundType:e.type};case yn.fundId:return{...yn,fundType:e.type};case gn.fundId:return{...gn,fundType:e.type}}return null},hd=e=>(e==null?void 0:e.flatMap(t=>Vs(t)??[]))??[],md=()=>{const[e]=Ml(),[t,r]=ve(!1),n=Ft();if(Q(()=>{jl()},[]),t)return w(Ln,{});const i=async()=>{r(!0),Ll();const{data:o}=await e();if(!o)return;const s=o==null?void 0:o.promotedFunds.filter(a=>a.type==="defined-benefits");if(o.hasDefinedBenefitsEligibility&&s){const a=Vs(s[0]);a&&n(Qs({fundId:a.fundId,fundType:a.fundType,iframeType:a.iframeType}));return}n(Nl(o.promotedFunds))};return R("div",{children:[w("div",{css:{textAlign:"center",fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Important information about super"}),w("div",{css:{marginTop:"0.75rem",maxWidth:"800px",textAlign:"center",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))","@media (min-width: 640px)":{marginTop:"1rem",fontSize:"1.125rem",lineHeight:"2rem"}},children:"The choice of superannuation fund is an important personal financial decision. Next, you’ll be asked to nominate a super fund to receive your employer contributions."}),w("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:R("div",{css:{maxWidth:"560px",borderRadius:"0.5rem",borderWidth:"1px",padding:"1rem",paddingBottom:"1.5rem","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)","@media (min-width: 640px)":{padding:"1.5rem",paddingBottom:"2rem"}},children:[w("div",{css:{fontWeight:"700",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"By clicking “Continue” you acknowledge that:"}),R("ul",{css:{marginBottom:"1.5rem",marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem"},children:[w("li",{children:"Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"}),w("li",{children:"all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"}),w("li",{children:"in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"}),w("li",{children:"Trustees of the featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform;"}),w("li",{children:"in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."}),R("li",{children:["Your personal data that is provided to us will be subject to our"," ",w(D,{css:{fontWeight:"500","--tw-text-opacity":"1",color:"rgb(37 99 235 / var(--tw-text-opacity))",":hover":{"--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"}},link:"https://www.flarehr.com/privacy-policy",children:"Privacy Policy"}),"."]})]}),w(Kn,{fillWidth:!0,onClick:()=>i(),children:"Continue"})]})})]})},yd=()=>{const e=window.location.hostname.toLowerCase().split(".")[0];switch(e){case"autodev-partner":case"test-partner":case"partner":case"sandbox-partner":return e.replace("partner","");default:return"autodev-"}},gd=`https://${yd()}api.simplefinancialchoices.com/promoted-funds/embed`,Ut=e=>e.replace(/ /g,""),Ie=e=>!(typeof e=="string"&&e.trim().length>0),_d=()=>{const e=ze(a=>a.state.selectedFund),t=ze(a=>a.session.accessToken),r=Ft(),n=Fe.endpoints.campaignConnect.useQueryState().data;if(!e||!t||!n)return w(At,{children:"Error!"});const i={authToken:t,employerDefault:e.fundType==="promoted-default",fundId:e.fundId,accountId:n.userProfile.accountId,partnerId:n.userProfile.partnerId,title:n.userProfile.title??"",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:n.userProfile.dateOfBirth??"",mobilePhone:n.userProfile.mobilePhone??"",email:n.userProfile.email,gender:n.userProfile.gender??"",taxFileNumber:n.userProfile.tfn??"",addressLine1:n.userProfile.address.addressLine1,addressLine2:n.userProfile.address.addressLine2??"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},o=Pt();Q(()=>{var c;const a=(c=o.current)==null?void 0:c.contentDocument;if(a){a.open();const d=a.createElement("form");d.method="POST",d.target="_self",d.action=gd;let f;for(f in i){const u=i[f];if(u!==void 0){const p=document.createElement("input");p.name=f,p.type="hidden",typeof u=="boolean"?p.value=u?"true":"false":p.value=u,d.append(p)}}a.appendChild(d),a.close(),d.submit()}},[o]);const s=async a=>{const{data:c}=a,d=o.current;if(d){if(c.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",s),c.type){case"cancel":r(Te());break;case"success-promoted":{if(Ie(c.memberNumber)||Ie(c.usi)){r(Te());break}Je({fundType:"Promoted",fundId:e.fundId,usi:Ut(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName});break}case"success-promoted-default":{if(Ie(c.usi)){r(Te());break}Je({fundType:"PromotedDefault",fundId:c.fundId,usi:Ut(c.usi)});break}case"success-promoted-default-with-join":{if(Ie(c.memberNumber)||Ie(c.usi)){r(Te());break}Je({fundType:"PromotedDefaultWithJoin",fundId:e.fundId,usi:Ut(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName});break}case"success-defined-benefits":{if(Ie(c.memberNumber)||Ie(c.usi)){r(Te());break}Je({fundType:"DefinedBenefits",fundId:c.fundId,usi:Ut(c.usi),memberNumber:c.memberNumber,memberElectContributionRatePreTax:c.memberElectContributionRatePreTax,memberElectContributionRatePostTax:c.memberElectContributionRatePostTax});break}}r(Te())}if(c.sender==="promoted-fund-join")switch(c.type){case"contentResized":d.height=c.height>0?String(c.height):d.height,d.width=c.width>0?String(c.width):d.width;break;case"pageNavigated":window.scroll(d.offsetLeft,d.offsetTop);break}}};return window.addEventListener("message",s),w("div",{css:{width:"100vw"},children:w("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},vd=()=>window.location.origin.includes("localhost")?"autodev-partner":window.location.hostname.toLowerCase().split(".")[0],bd=`https://${vd()}.flarehr.com/promoted-fund-join/embed/v1.0/web`,wd=()=>{const e=ze(a=>a.session.accessToken),t=ze(a=>a.state.selectedFund),r=Ft(),n=Fe.endpoints.campaignConnect.useQueryState().data;if(!n||!t)return w(At,{children:"Error!"});const i={authToken:e??"",fundId:t.fundId,partnerId:n.userProfile.partnerId,accountId:n.userProfile.accountId,title:n.userProfile.title??"",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:n.userProfile.dateOfBirth??"",mobilePhone:n.userProfile.mobilePhone??"",email:n.userProfile.email,gender:n.userProfile.gender??"",taxFileNumber:n.userProfile.tfn??"",addressLine1:n.userProfile.address.addressLine1,addressLine2:n.userProfile.address.addressLine2??"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},o=Pt();Q(()=>{var c;const a=(c=o.current)==null?void 0:c.contentDocument;if(a){a.open();const d=a.createElement("form");d.method="POST",d.target="_self",d.action=bd;let f;for(f in i){const u=i[f];if(u!==void 0){const p=document.createElement("input");p.type="hidden",p.name=f,p.value=u,d.append(p)}}a.appendChild(d),a.close(),d.submit()}},[o]);const s=async a=>{const{data:c}=a,d=o.current;if(d){if(c.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",s),c.type){case"success":{c.memberNumber&&Je({fundType:"Promoted",fundId:t.fundId,usi:c.usi.replace(/ /g,""),memberNumber:c.memberNumber});break}default:r(Te());break}return}if(c.sender==="promoted-fund-join")switch(c.type){case"contentResized":d.height=c.height>0?String(c.height):d.height,d.width=c.width>0?String(c.width):d.width;break;case"pageNavigated":window.scroll(d.offsetLeft,d.offsetTop);break}}};return window.addEventListener("message",s),w("div",{css:{width:"100vw"},children:w("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Ks=()=>{const e=window.location.hostname.toLowerCase().split(".")[0];switch(e){case"autodev-partner":case"test-partner":case"partner":return e.replace("partner","");default:return"autodev-"}},ro=`https://${Ks()}join.slatesuper.com.au/confirm`,no=`https://${Ks()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,Sd=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},xd=()=>{const e=ze(a=>a.session.accessToken),t=Ft(),r=Fe.endpoints.campaignConnect.useQueryState().data;if(!r)return w(At,{children:"Error!"});const i={authToken:!ro.match(/autodev|sandbox/)?e:void 0,successRedirectUrl:no,cancelRedirectUrl:no,skipConsolidation:"false",skipInsurance:"false",firstName:r.userProfile.firstName,middleName:r.userProfile.middleName,lastName:r.userProfile.lastName,dateOfBirth:r.userProfile.dateOfBirth??"",mobilePhone:r.userProfile.mobilePhone??"",email:r.userProfile.email,gender:Sd(r.userProfile.gender),taxFileNumber:r.userProfile.tfn??"",addressLine1:r.userProfile.address.addressLine1,addressLine2:r.userProfile.address.addressLine2??"",city:r.userProfile.address.city,state:r.userProfile.address.state,postCode:r.userProfile.address.postcode},o=Pt();Q(()=>{var c;const a=(c=o.current)==null?void 0:c.contentDocument;if(a){a.open();const d=a.createElement("form");d.method="POST",d.target="_self",d.action=ro;let f;for(f in i){const u=i[f];if(u!==void 0){const p=document.createElement("input");p.type="hidden",p.name=f,p.value=u,d.append(p)}}a.appendChild(d),a.close(),d.submit()}},[o]);const s=async a=>{const{data:c}=a,d=o.current;if(d){if(c.sender==="slate-redirect"){switch(window.removeEventListener("message",s),c.type){case"success":{Je({fundType:"Promoted",fundId:sr.fundId,usi:od,memberNumber:c.memberNumber});break}default:t(Te());break}return}if(c.sender==="flare")switch(c.type){case"contentResized":d.height=c.height>0?String(c.height):d.height,d.width=c.width>0?String(c.width):d.width;break}}};return window.addEventListener("message",s),w("div",{css:{width:"100vw"},children:w("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},io=({isActive:e,children:t,onClick:r})=>w("div",{css:[{display:"block",height:"100%",width:"auto",borderRadius:"0.375rem",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500","--tw-ring-offset-width":"1px",":focus":{zIndex:"10",outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-color":"var(--fl-color-primary-focus)"},"@media (min-width: 640px)":{paddingLeft:"2rem",paddingRight:"2rem"}},e&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))",color:"var(--fl-color-primary)","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},!e&&"hover:bg-primary-hover text-white",{cursor:"pointer"}],onClick:r,children:t}),kd=()=>w("div",{css:{display:"flex",justifyContent:"center"},children:R("div",{css:{maxWidth:"800px",textAlign:"center"},children:[w("h3",{css:{marginBottom:"0.75rem",fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{marginBottom:"1rem",fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Nominate a super fund"}),R(At,{children:[w("div",{css:{lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"2rem"}},children:"You can choose any super fund, including your current fund/SMSF, your employer’s default fund, or alternatively, you can select from one of the featured funds."}),R("div",{css:{marginTop:"2rem",display:"inline-flex",whiteSpace:"normal",borderRadius:"0.5rem",backgroundColor:"var(--fl-color-primary)",padding:"0.125rem","@media (min-width: 640px)":{marginTop:"3rem"}},children:[w(io,{isActive:!0,children:"Featured super funds"}),w(io,{onClick:()=>an(),children:"Choose another fund"})]})]})]})}),oo=({fund:e,isMultiFund:t})=>{const r=Ft();return R("div",{css:{display:"flex",height:"100%",flexDirection:"column",justifyContent:"space-between",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem",paddingBottom:"1.5rem"},children:[R("div",{children:[w("div",{css:[{"@media (min-width: 768px)":{maxWidth:"240px"}},t&&{"@media (min-width: 1024px)":{maxWidth:"100%"}}],children:w(Kn,{fillWidth:!0,onClick:()=>{Dl(e),r(Qs({fundId:e.fundId,fundType:e.fundType,iframeType:e.iframeType}))},children:"Choose this fund"})}),w("div",{css:{marginTop:"1.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:e.disclaimer})]}),e.abnInfo&&e.abn&&R("div",{css:{marginTop:"0.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:[R("p",{children:["Issued by ",e.abnInfo,"."]}),R("p",{children:["ABN: ",e.abn]})]})]})},Cd=({size:e,...t})=>w("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#22c55e",width:e?e*4:"100%",...t,children:w("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"})}),Td={Check:Cd},Pd=({name:e,logo:t,features:r,featureSubText:n,isMultiFund:i,isPromotedDefault:o,extraBadge:s})=>R("div",{css:{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem"},children:[R("div",{css:{marginRight:"-0.5rem",marginTop:"-1.25rem",textAlign:"right"},children:[s,o&&w("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},children:"Employer Default"}),w("span",{css:{marginRight:"0.125rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(31 41 55 / var(--tw-text-opacity))"},children:"Featured"})]}),R("div",{css:[{marginTop:"0.5rem",display:"flex","@media (min-width: 768px)":{marginTop:"0px"},"@media (min-width: 1024px)":{display:"block"}},i&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:[w("img",{css:[{height:"3rem",width:"80px",objectFit:"contain","@media (min-width: 768px)":{display:"none",height:"3.5rem",width:"96px"},"@media (min-width: 1024px)":{height:"4rem",width:"140px",objectPosition:"left"}},i&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:t}),w("div",{css:{display:"grid",alignContent:"center"},children:w("p",{css:[{marginLeft:"1rem",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","@media (min-width: 768px)":{marginBottom:"0px",marginLeft:"0px",fontSize:"1.125rem",lineHeight:"1.75rem"}},i&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:e})})]}),w("div",{css:{marginTop:"1rem","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.25rem","@media (min-width: 640px)":{marginTop:"0.5rem"}},children:r.map(a=>R("div",{css:{display:"flex"},children:[w("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:w(Td.Check,{alt:"checked"})}),w("div",{css:{lineHeight:"1.25rem"},children:a})]}))}),n&&w("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:n})]}),Rd="https://my.gov.au",Ed="www.my.gov.au",Ad="https://www.apra.gov.au/register-of-superannuation-institutions",Od="www.apra.gov.au",Id=()=>{const e=ze(n=>n.state.funds),t=hd(e??[]);if(Q(()=>{t&&Fl(t)},[t]),!t)return w(At,{children:"Error!"});const r=t.length>1;return R("div",{children:[w(kd,{}),R("div",{css:{marginTop:"2rem",textAlign:"center",fontSize:"0.875rem",lineHeight:"1.5rem"},children:[w("p",{css:{lineHeight:"1.5rem"},children:"Not ready to join a new fund, or want to nominate another super fund?"}),w("div",{onClick:()=>an(),children:R("span",{css:{marginTop:"0.75rem",display:"inline-block",cursor:"pointer",fontWeight:"500",color:"var(--fl-color-primary)"},children:["Skip Featured Funds ",w("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",css:{display:"inline",height:"1.25rem",width:"1.25rem",fill:"var(--fl-color-primary)",".group:hover &":{fill:"#fff"}},children:w("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3"})})]})})]}),w("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center"},children:R("div",{css:[{borderRadius:"0.5rem",borderLeftWidth:"1px",borderTopWidth:"1px","@media (min-width: 1024px)":{display:"grid",borderBottomWidth:"1px"}},t.length===1&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(1, minmax(0, 1fr))"}},t.length===2&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(2, minmax(0, 1fr))"}},t.length===3&&{maxWidth:"960px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(3, minmax(0, 1fr))"}}],children:[t.map((n,i)=>w("div",{css:[{borderRightWidth:"1px"},i===0&&{borderTopRightRadius:"0.5rem"},i===0&&i!==t.length-1&&{"@media (min-width: 1024px)":{borderTopRightRadius:"0px"}},i===t.length-1&&{borderBottomRightRadius:"0.5rem","@media (min-width: 1024px)":{borderBottomRightRadius:"0px",borderTopRightRadius:"0.5rem"}}],children:R("div",{css:[{display:"flex",borderBottomWidth:"1px","@media (min-width: 1024px)":{borderBottomWidth:"0px"}},i===t.length-1&&{borderBottomRightRadius:"0.5rem",borderBottomLeftRadius:"0.5rem"}],children:[w("div",{css:[{display:"none",width:"9rem",justifyContent:"center",paddingLeft:"1.5rem",paddingTop:"1.5rem","@media (min-width: 768px)":{display:"flex"}},r&&{"@media (min-width: 1024px)":{display:"none"}}],children:w("img",{css:{height:"4rem",width:"100%",maxWidth:"96px",objectFit:"contain"},alt:n.name,src:n.logo})}),R("div",{css:{width:"100%"},children:[w(Pd,{logo:n.logo,name:n.name,features:n.features,featureSubText:n.featureSubText,isMultiFund:r,isPromotedDefault:n.fundType==="promoted-default",extraBadge:n.extraBadge}),w("div",{css:[r&&{"@media (min-width: 1024px)":{display:"none"}}],children:w(oo,{fund:n,isMultiFund:r})})]})]})})),t.map((n,i)=>w("div",{css:[{display:"none",borderRightWidth:"1px"},r&&{"@media (min-width: 1024px)":{display:"block"}},i===t.length-1&&{borderBottomRightRadius:"0.5rem"}],children:w(oo,{fund:n,isMultiFund:r})}))]})}),w("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:R("div",{css:{maxWidth:"720px",borderBottomWidth:"1px",paddingBottom:"2rem","@media (min-width: 640px)":{paddingBottom:"3rem"}},children:[w("h5",{css:{fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"Or, choose another super fund:"}),R("ul",{css:{marginBottom:"1.5rem",marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1rem",lineHeight:"1.5rem"}},children:[w("li",{children:"Select this option if you'd like to use your current account with another super fund, your self-managed super fund, or your employer's default fund."}),R("li",{children:["If you are unsure of your current super fund details, you can find out at"," ",w(D,{css:{fontWeight:"500",color:"var(--fl-color-primary)",":hover":{color:"var(--fl-color-primary-hover)"}},link:Rd,children:Ed})]}),R("li",{children:["A full list of super funds can be viewed at"," ",w(D,{css:{fontWeight:"500",color:"var(--fl-color-primary)",":hover":{color:"var(--fl-color-primary-hover)"}},link:Ad,children:Od})]})]}),w(Kn,{fillWidthOnMobile:!0,onClick:()=>an(),children:"Choose another super fund"})]})}),w("div",{css:{display:"flex",justifyContent:"center"},children:R("div",{css:{maxWidth:"720px",paddingTop:"2rem","@media (min-width: 640px)":{paddingTop:"3rem"}},children:[w("h5",{css:{fontWeight:"600"},children:"IMPORTANT INFORMATION:"}),R("ul",{css:{marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem"},children:[w("li",{children:"The superannuation funds featured above are for your information only. The order, position and placement of content should not be interpreted as an opinion or recommendation (actual or implied) by Flare as to the suitability or appropriateness of any superannuation fund for you. In featuring these superannuation funds, Flare has not taken into account your objectives, financial situation or needs."}),w("li",{children:"This is not a comparison service. This page contains factual information only and does not constitute either general or personal advice about any financial products. We do not take into account your objectives, financial situation or needs. If you have questions or need help making a decision about your superannuation fund, you should speak to a licensed financial product advice provider."}),w("li",{children:"Flare, the technology partner you are accessing Flare via and your employer do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the featured superannuation funds. Flare does not endorse or accept responsibility for any of the content shown about any of the featured superannuation funds."}),w("li",{children:"You should consider the relevant superannuation fund’s PDS and TMD (if applicable) in deciding whether to apply to join the superannuation fund. Each of the superannuation funds featured above include a link to their PDS and TMD (if applicable) for your convenience. If you are considering joining another superannuation fund, you can typically find the PDS and TMD (if applicable) on that fund’s website."}),w("li",{children:"You should be aware that the trustees of featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform."})]})]})})]})},Md=er.div({display:"flex",justifyContent:"center"}),$d=()=>{const{funds:e,selectedFund:t}=ze(n=>n.state);return w(Md,{children:(()=>{if(t){if(t.iframeType==="PromotedFundJoinV2")return w(_d,{});if(t.iframeType==="SlateJoin")return w(xd,{});if(t.iframeType==="PromotedFundJoinV1")return w(wd,{})}else if(e)return w(Id,{});return w(md,{})})()})},Nd=()=>w(_c,{styles:vc`*, ::before, ::after {
|
17
17
|
box-sizing: border-box;
|
18
18
|
border-width: 0;
|
19
19
|
border-style: solid;
|
@@ -263,4 +263,4 @@ img, video {
|
|
263
263
|
--tw-backdrop-opacity: var(--tw-empty,/*!*/ /*!*/);
|
264
264
|
--tw-backdrop-saturate: var(--tw-empty,/*!*/ /*!*/);
|
265
265
|
--tw-backdrop-sepia: var(--tw-empty,/*!*/ /*!*/);
|
266
|
-
}`})
|
266
|
+
}`}),Fd=e=>{const{"access-token":t,"backend-url":r}=e,[n,i]=ve(!1);Q(()=>{eo.dispatch($l({accessToken:t,backendUrl:r})),i(!0)},[t,r]);const o=le(null),[s,a]=ve(void 0);return Q(()=>{a(o.current??void 0)},[o]),w("div",{ref:o,children:w(mc,{value:ts({key:"ascui",container:s,prepend:!0}),children:R(bl,{store:eo,children:[w(Nd,{}),n?w($d,{}):w(Ln,{})]})})})},Dd="apollo-super-campaign";aa(Fd,Dd,[],{shadow:!0});
|