@flarehr/apollo-super-campaign 0.1.331 → 0.1.333

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 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
1
+ var Ys=Object.defineProperty;var Xs=(e,t,r)=>t in e?Ys(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Rr=(e,t,r)=>(Xs(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,co,$e,Yn,uo,Br,lo,mt={},fo=[],Zs=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,cr=Array.isArray;function we(e,t){for(var r in t)e[r]=t[r];return e}function po(e){var t=e.parentNode;t&&t.removeChild(e)}function W(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??++co,__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 ho(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 ho(e)}}function Ur(e){(!e.__d&&(e.__d=!0)&&$e.push(e)&&!Gt.__r++||Yn!==O.debounceRendering)&&((Yn=O.debounceRendering)||uo)(Gt)}function Gt(){var e,t,r,n,i,o,s,a,c;for($e.sort(Br);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),bn(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,go(a,n,c),n.__e!=o&&ho(n)),$e.length>t&&$e.sort(Br));Gt.__r=0}function mo(e,t,r,n,i,o,s,a,c,d,f){var u,p,l,g,w,_=n&&n.__k||fo,m=t.length;for(r.__d=c,ea(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,bn(e,l,p,i,o,s,a,c,d,f),g=l.__e,l.ref&&p.ref!=l.ref&&(p.ref&&wn(p.ref,null,l),f.push(l.ref,l.__c||g,l)),w==null&&g!=null&&(w=g),65536&l.__u||p.__k===l.__k?c=yo(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=w}function ea(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):cr(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=ta(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 yo(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=yo(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"||(cr(e)?e.some(function(r){Se(r,t)}):t.push(e)),t}function ta(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 Xn(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||Zs.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||Xn(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Xn(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?ei:Zn,o)):e.removeEventListener(t,o?ei:Zn,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 Zn(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 ei(e){return this.l[e.type+!0](O.event?O.event(e):e)}function bn(e,t,r,n,i,o,s,a,c,d){var f,u,p,l,g,w,_,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=na),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,w)})}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||(w=u.getSnapshotBeforeUpdate(l,g)),mo(e,cr(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=ra(r.__e,t,r,n,i,o,s,c,d);(f=O.diffed)&&f(t)}function go(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)wn(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 ra(e,t,r,n,i,o,s,a,c){var d,f,u,p,l,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((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"?w=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=""),mo(e,cr(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&&po(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",w!==void 0&&w!==e[d]&&Dt(e,d,w,_[d],!1))}return e}function wn(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||wn(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||po(e.__e),e.__=e.__e=e.__d=void 0}function na(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=[],bn(t,e=(!n&&r||t).__k=W(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),go(o,e,s)}function Sn(e,t){Pe(e,t,Sn)}function xn(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 ur(e,t){var r={__c:t="__cC"+lo++,__: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,Ur(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=fo.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}},co=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),Ur(this))},fe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Ur(this))},fe.prototype.render=ae,$e=[],uo=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Br=function(e,t){return e.__v.__b-t.__v.__b},Gt.__r=0,lo=0;function kn(){return(kn=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 ia=["context","children"];function oa(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,ia);return xn(t,r)}function sa(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=W(oa,kn({},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[_o(a[s].name)]=a[s].value);for(s=c.length;s--;){var d=t(c[s],null),f=c[s].slot;f?o[f]=W(ti,{name:f},d):i[s]=d}var u=n?W(ti,null,i):i;return W(n||r.nodeName.toLowerCase(),o,u)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Sn:Pe)(this._vdom,this._root)}function _o(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function aa(e,t,r){if(this._vdom){var n={};n[e]=r=r??void 0,n[_o(e)]=r,this._vdom=xn(this._vdom,n),Pe(this._vdom,this._root)}}function ca(){Pe(this._vdom=null,this._root)}function ti(e,t){var r=this;return W("slot",kn({},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 ua(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=sa,i.prototype.attributeChangedCallback=aa,i.prototype.disconnectedCallback=ca,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,Er,ri,et=0,vo=[],Ht=[],ni=O.__b,ii=O.__r,oi=O.diffed,si=O.__c,ai=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:Ht}),r.__[e]}function ve(e){return et=1,Cn(So,e)}function Cn(e,t,r){var n=Be(xe++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):So(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&&Tn(r.__H,t)&&(r.__=e,r.i=t,z.__H.__h.push(r))}function Ue(e,t){var r=Be(xe++,4);!O.__s&&Tn(r.__H,t)&&(r.__=e,r.i=t,z.__h.push(r))}function le(e){return et=5,Z(function(){return{current:e}},[])}function bo(e,t,r){et=6,Ue(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 Tn(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 Yt(e,t){O.useDebugValue&&O.useDebugValue(t?t(e):e)}function la(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 wo(){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 da(){for(var e;e=vo.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Qt),e.__H.__h.forEach(qr),e.__H.__h=[]}catch(t){e.__H.__h=[],O.__e(t,e.__v)}}O.__b=function(e){z=null,ni&&ni(e)},O.__r=function(e){ii&&ii(e),xe=0;var t=(z=e.__c).__H;t&&(Er===z?(t.__h=[],z.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=Ht,r.__N=r.i=void 0})):(t.__h.forEach(Qt),t.__h.forEach(qr),t.__h=[],xe=0)),Er=z},O.diffed=function(e){oi&&oi(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(vo.push(t)!==1&&ri===O.requestAnimationFrame||((ri=O.requestAnimationFrame)||fa)(da)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==Ht&&(r.__=r.__V),r.i=void 0,r.__V=Ht})),Er=z=null},O.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Qt),r.__h=r.__h.filter(function(n){return!n.__||qr(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],O.__e(n,r.__v)}}),si&&si(e,t)},O.unmount=function(e){ai&&ai(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Qt(n)}catch(i){t=i}}),r.__H=void 0,t&&O.__e(t,r.__v))};var ci=typeof requestAnimationFrame=="function";function fa(e){var t,r=function(){clearTimeout(n),ci&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);ci&&(t=requestAnimationFrame(r))}function Qt(e){var t=z,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),z=t}function qr(e){var t=z;e.__c=e.__(),z=t}function Tn(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function So(e,t){return typeof t=="function"?t(e):t}function xo(e,t){for(var r in t)e[r]=t[r];return e}function Hr(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 Xt(e){this.props=e}function ko(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:Hr(this.props,i)}function n(i){return this.shouldComponentUpdate=r,W(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(Xt.prototype=new fe).isPureReactComponent=!0,Xt.prototype.shouldComponentUpdate=function(e,t){return Hr(this.props,e)||Hr(this.state,t)};var ui=O.__b;O.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ui&&ui(e)};var pa=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Pn(e){function t(r){var n=xo({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=pa,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var li=function(e,t){return e==null?null:Se(Se(e).map(t))},Co={map:li,forEach:li,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},ha=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)}ha(e,t,r,n)};var di=O.unmount;function To(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=xo({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return To(n,t,r)})),e}function Po(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Po(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 Ro(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Eo(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 W(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),di&&di(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=Ro(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]=Po(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]=To(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&W(ae,null,e.fallback);return i&&(i.__u&=-33),[W(ae,null,t.__a?null:e.children),i]};var fi=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 ma(e){return this.getChildContext=function(){return e.context},e.children}function ya(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(W(ma,{context:t.context},e.__v),t.l)}function Ao(e,t){var r=W(ya,{__v:e,i:t});return r.containerInfo=t,r}(Ve.prototype=new fe).__a=function(e){var t=this,r=Ro(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),fi(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){fi(e,r,t)})};var Oo=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,ga=/^(?: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]/,_a=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,va=/[A-Z0-9]/g,ba=typeof document<"u",wa=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Io(e,t,r){return t.__k==null&&(t.textContent=""),Pe(e,t),typeof r=="function"&&r(),e?e.__c:null}function Mo(e,t,r){return Sn(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 pi=O.event;function Sa(){}function xa(){return this.cancelBubble}function ka(){return this.defaultPrevented}O.event=function(e){return pi&&(e=pi(e)),e.persist=Sa,e.isPropagationStopped=xa,e.isDefaultPrevented=ka,e.nativeEvent=e};var Rn,Ca={enumerable:!1,configurable:!0,get:function(){return this.class}},hi=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||ba&&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"||wa(r.type)?a==="onfocus"?o="onfocusin":a==="onblur"?o="onfocusout":_a.test(o)?o=a:n.indexOf("-")===-1&&ga.test(o)?o=o.replace(va,"-$&").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",Ca)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=Oo,hi&&hi(e)};var mi=O.__r;O.__r=function(e){mi&&mi(e),Rn=e.__c};var yi=O.diffed;O.diffed=function(e){yi&&yi(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),Rn=null};var $o={ReactCurrentDispatcher:{current:{readContext:function(e){return Rn.__n[e.__c].props.value}}}},Ta="17.0.2";function Fo(e){return W.bind(null,e)}function Rt(e){return!!e&&e.$$typeof===Oo}function No(e){return Rt(e)&&e.type===ae}function Do(e){return Rt(e)?xn.apply(null,arguments):e}function Lo(e){return!!e.__k&&(Pe(null,e),!0)}function jo(e){return e&&(e.base||e.nodeType===1&&e)||null}var zo=function(e,t){return e(t)},Bo=function(e,t){return e(t)},Uo=ae;function En(e){e()}function Wo(e){return e}function qo(){return[!1,En]}var Ho=Ue,Qo=Rt;function Vo(e,t){var r=t(),n=ve({h:{__:r,v:t}}),i=n[0].h,o=n[1];return Ue(function(){i.__=r,i.v=t,Ar(i)&&o({h:i})},[e,r,t]),Q(function(){return Ar(i)&&o({h:i}),e(function(){Ar(i)&&o({h:i})})},[e]),r}function Ar(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 Ko={useState:ve,useId:wo,useReducer:Cn,useEffect:Q,useLayoutEffect:Ue,useInsertionEffect:Ho,useTransition:qo,useDeferredValue:Wo,useSyncExternalStore:Vo,startTransition:En,useRef:le,useImperativeHandle:bo,useMemo:Z,useCallback:Qe,useContext:it,useDebugValue:Yt,version:"17.0.2",Children:Co,render:Io,hydrate:Mo,unmountComponentAtNode:Lo,createPortal:Ao,createElement:W,createContext:ur,createFactory:Fo,cloneElement:Do,createRef:Pt,Fragment:ae,isValidElement:Rt,isElement:Qo,isFragment:No,findDOMNode:jo,Component:fe,PureComponent:Xt,memo:ko,forwardRef:Pn,flushSync:Bo,unstable_batchedUpdates:zo,StrictMode:Uo,Suspense:dt,SuspenseList:Ve,lazy:Eo,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:$o};const yt=Object.freeze(Object.defineProperty({__proto__:null,Children:Co,Component:fe,Fragment:ae,PureComponent:Xt,StrictMode:Uo,Suspense:dt,SuspenseList:Ve,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:$o,cloneElement:Do,createContext:ur,createElement:W,createFactory:Fo,createPortal:Ao,createRef:Pt,default:Ko,findDOMNode:jo,flushSync:Bo,forwardRef:Pn,hydrate:Mo,isElement:Qo,isFragment:No,isValidElement:Rt,lazy:Eo,memo:ko,render:Io,startTransition:En,unmountComponentAtNode:Lo,unstable_batchedUpdates:zo,useCallback:Qe,useContext:it,useDebugValue:Yt,useDeferredValue:Wo,useEffect:Q,useErrorBoundary:la,useId:wo,useImperativeHandle:bo,useInsertionEffect:Ho,useLayoutEffect:Ue,useMemo:Z,useReducer:Cn,useRef:le,useState:ve,useSyncExternalStore:Vo,useTransition:qo,version:Ta},Symbol.toStringTag,{value:"Module"}));function Pa(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 Ra(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 Ea=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(Ra(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Pa(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-",Zt="-moz-",N="-webkit-",Jo="comm",An="rule",On="decl",Aa="@import",Go="@keyframes",Oa="@layer",Ia=Math.abs,lr=String.fromCharCode,Ma=Object.assign;function $a(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 Yo(e){return e.trim()}function Fa(e,t){return(e=t.exec(e))?e[0]:e}function D(e,t,r){return e.replace(t,r)}function Qr(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 In(e){return e.length}function Lt(e,t){return t.push(e),e}function Na(e,t){return e.map(t).join("")}var dr=1,tt=1,Xo=0,ne=0,q=0,ot="";function fr(e,t,r,n,i,o,s){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:dr,column:tt,length:s,return:""}}function st(e,t){return Ma(fr("",null,null,"",null,null,0),e,{length:-e.length},t)}function Da(){return q}function La(){return q=ne>0?G(ot,--ne):0,tt--,q===10&&(tt=1,dr--),q}function se(){return q=ne<Xo?G(ot,ne++):0,tt++,q===10&&(tt=1,dr++),q}function _e(){return G(ot,ne)}function Vt(){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 Zo(e){return dr=tt=1,Xo=ye(ot=e),ne=0,[]}function es(e){return ot="",e}function Kt(e){return Yo(Et(ne-1,Vr(e===91?e+2:e===40?e+1:e)))}function ja(e){for(;(q=_e())&&q<33;)se();return _t(e)>2||_t(q)>3?"":" "}function za(e,t){for(;--t&&se()&&!(q<48||q>102||q>57&&q<65||q>70&&q<97););return Et(e,Vt()+(t<6&&_e()==32&&se()==32))}function Vr(e){for(;se();)switch(q){case e:return ne;case 34:case 39:e!==34&&e!==39&&Vr(q);break;case 40:e===41&&Vr(e);break;case 92:se();break}return ne}function Ba(e,t){for(;se()&&e+q!==57;)if(e+q===84&&_e()===47)break;return"/*"+Et(t,ne-1)+"*"+lr(e===47?e:se())}function Ua(e){for(;!_t(_e());)se();return Et(e,ne)}function Wa(e){return es(Jt("",null,null,null,[""],e=Zo(e),0,[0],e))}function Jt(e,t,r,n,i,o,s,a,c){for(var d=0,f=0,u=s,p=0,l=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,u-1)==58){Qr(x+=D(Kt(y),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:x+=Kt(y);break;case 9:case 10:case 13:case 32:x+=ja(g);break;case 92:x+=za(Vt()-1,7);continue;case 47:switch(_e()){case 42:case 47:Lt(qa(Ba(se(),Vt()),t,r),c);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=D(x,/\f/g,"")),l>0&&ye(x)-u&&Lt(l>32?_i(x+";",n,r,u-1):_i(D(x," ","")+";",n,r,u-2),c);break;case 59:x+=";";default:if(Lt(k=gi(x,t,r,d,f,i,a,h,v=[],S=[],u),o),y===123)if(f===0)Jt(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:Jt(e,k,k,n&&Lt(gi(e,k,k,0,0,i,a,h,i,v=[],u),S),i,S,u,a,n?v:S);break;default:Jt(x,k,k,k,[""],S,0,a,S)}}d=f=l=0,w=m=1,h=x="",u=s;break;case 58:u=1+ye(x),l=g;default:if(w<1){if(y==123)--w;else if(y==125&&w++==0&&La()==125)continue}switch(x+=lr(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+=Kt(se())),p=_e(),f=u=ye(h=x+=Ua(Vt())),y++;break;case 45:g===45&&ye(x)==2&&(w=0)}}return o}function gi(e,t,r,n,i,o,s,a,c,d,f){for(var u=i-1,p=i===0?o:[""],l=In(p),g=0,w=0,_=0;g<n;++g)for(var m=0,y=gt(e,u+1,u=Ia(w=s[g])),h=e;m<l;++m)(h=Yo(w>0?p[m]+" "+y:D(y,/&\f/g,p[m])))&&(c[_++]=h);return fr(e,t,r,i===0?An:a,c,d,f)}function qa(e,t,r){return fr(e,t,r,Jo,lr(Da()),gt(e,2,-2),0)}function _i(e,t,r,n){return fr(e,t,r,On,gt(e,0,n),gt(e,n+1,-1),n)}function Ge(e,t){for(var r="",n=In(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function Ha(e,t,r,n){switch(e.type){case Oa:if(e.children.length)break;case Aa:case On:return e.return=e.return||e.value;case Jo:return"";case Go:return e.return=e.value+"{"+Ge(e.children,n)+"}";case An:e.value=e.props.join(",")}return ye(r=Ge(e.children,n))?e.return=e.value+"{"+r+"}":""}function Qa(e){var t=In(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 Va(e){return function(t){t.root||(t=t.return)&&e(t)}}function ts(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ka=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)},Ja=function(t,r){var n=-1,i=44;do switch(_t(i)){case 0:i===38&&_e()===12&&(r[n]=1),t[n]+=Ka(ne-1,r,n);break;case 2:t[n]+=Kt(i);break;case 4:if(i===44){t[++n]=_e()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=lr(i)}while(i=se());return t},Ga=function(t,r){return es(Ja(Zo(t),r))},vi=new WeakMap,Ya=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&&!vi.get(n))&&!i){vi.set(t,!0);for(var o=[],s=Ga(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]}}},Xa=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function rs(e,t){switch($a(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+Zt+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+D(e,/(\w+).+(:[^]+)/,N+"box-$1$2"+X+"flex-$1$2")+e;case 5443:return N+e+X+"flex-item-"+D(e,/flex-|-self/,"")+e;case 4675:return N+e+X+"flex-line-pack"+D(e,/align-content|flex-|-self/,"")+e;case 5548:return N+e+X+D(e,"shrink","negative")+e;case 5292:return N+e+X+D(e,"basis","preferred-size")+e;case 6060:return N+"box-"+D(e,"-grow","")+N+e+X+D(e,"grow","positive")+e;case 4554:return N+D(e,/([^-])(transform)/g,"$1"+N+"$2")+e;case 6187:return D(D(D(e,/(zoom-|grab)/,N+"$1"),/(image-set)/,N+"$1"),e,"")+e;case 5495:case 3959:return D(e,/(image-set\([^]*)/,N+"$1$`$1");case 4968:return D(D(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 D(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 D(e,/(.+:)(.+)-([^]+)/,"$1"+N+"$2-$3$1"+Zt+(G(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Qr(e,"stretch")?rs(D(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-(~Qr(e,"!important")&&10))){case 107:return D(e,":",":"+N)+e;case 101:return D(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+D(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return N+e+X+D(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return N+e+X+D(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return N+e+X+e+e}return e}var Za=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case On:t.return=rs(t.value,t.length);break;case Go:return Ge([st(t,{value:D(t.value,"@","@"+N)})],i);case An:if(t.length)return Na(t.props,function(o){switch(Fa(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ge([st(t,{props:[D(o,/:(read-\w+)/,":"+Zt+"$1")]})],i);case"::placeholder":return Ge([st(t,{props:[D(o,/:(plac\w+)/,":"+N+"input-$1")]}),st(t,{props:[D(o,/:(plac\w+)/,":"+Zt+"$1")]}),st(t,{props:[D(o,/:(plac\w+)/,X+"input-$1")]})],i)}return""})}},ec=[Za],ns=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||ec,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 c,d=[Ya,Xa];{var f,u=[Ha,Va(function(w){f.insert(w)})],p=Qa(d.concat(i,u)),l=function(_){return Ge(Wa(_),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 Ea({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 Kr(){return Kr=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},Kr.apply(this,arguments)}function tc(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 is={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,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);/**
8
+ */var V=typeof Symbol=="function"&&Symbol.for,Mn=V?Symbol.for("react.element"):60103,$n=V?Symbol.for("react.portal"):60106,pr=V?Symbol.for("react.fragment"):60107,hr=V?Symbol.for("react.strict_mode"):60108,mr=V?Symbol.for("react.profiler"):60114,yr=V?Symbol.for("react.provider"):60109,gr=V?Symbol.for("react.context"):60110,Fn=V?Symbol.for("react.async_mode"):60111,_r=V?Symbol.for("react.concurrent_mode"):60111,vr=V?Symbol.for("react.forward_ref"):60112,br=V?Symbol.for("react.suspense"):60113,rc=V?Symbol.for("react.suspense_list"):60120,wr=V?Symbol.for("react.memo"):60115,Sr=V?Symbol.for("react.lazy"):60116,nc=V?Symbol.for("react.block"):60121,ic=V?Symbol.for("react.fundamental"):60117,oc=V?Symbol.for("react.responder"):60118,sc=V?Symbol.for("react.scope"):60119;function ue(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Mn:switch(e=e.type,e){case Fn:case _r:case pr:case mr:case hr:case br:return e;default:switch(e=e&&e.$$typeof,e){case gr:case vr:case Sr:case wr:case yr:return e;default:return t}}case $n:return t}}}function os(e){return ue(e)===_r}L.AsyncMode=Fn;L.ConcurrentMode=_r;L.ContextConsumer=gr;L.ContextProvider=yr;L.Element=Mn;L.ForwardRef=vr;L.Fragment=pr;L.Lazy=Sr;L.Memo=wr;L.Portal=$n;L.Profiler=mr;L.StrictMode=hr;L.Suspense=br;L.isAsyncMode=function(e){return os(e)||ue(e)===Fn};L.isConcurrentMode=os;L.isContextConsumer=function(e){return ue(e)===gr};L.isContextProvider=function(e){return ue(e)===yr};L.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Mn};L.isForwardRef=function(e){return ue(e)===vr};L.isFragment=function(e){return ue(e)===pr};L.isLazy=function(e){return ue(e)===Sr};L.isMemo=function(e){return ue(e)===wr};L.isPortal=function(e){return ue(e)===$n};L.isProfiler=function(e){return ue(e)===mr};L.isStrictMode=function(e){return ue(e)===hr};L.isSuspense=function(e){return ue(e)===br};L.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===pr||e===_r||e===mr||e===hr||e===br||e===rc||typeof e=="object"&&e!==null&&(e.$$typeof===Sr||e.$$typeof===wr||e.$$typeof===yr||e.$$typeof===gr||e.$$typeof===vr||e.$$typeof===ic||e.$$typeof===oc||e.$$typeof===sc||e.$$typeof===nc)};L.typeOf=ue;is.exports=L;var ac=is.exports,ss=ac,cc={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},uc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},as={};as[ss.ForwardRef]=cc;as[ss.Memo]=uc;var lc=!0;function cs(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var Nn=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||lc===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Dn=function(t,r,n){Nn(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 dc(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 fc={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},pc=/[A-Z]|^ms/g,hc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,us=function(t){return t.charCodeAt(1)===45},bi=function(t){return t!=null&&typeof t!="boolean"},Or=ts(function(e){return us(e)?e:e.replace(pc,"-$&").toLowerCase()}),wi=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(hc,function(n,i,o){return ge={name:i,styles:o,next:ge},i})}return fc[t]!==1&&!us(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 mc(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 mc(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]+"}":bi(s)&&(n+=Or(o)+":"+wi(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++)bi(s[a])&&(n+=Or(o)+":"+wi(o,s[a])+";");else{var c=vt(e,t,s);switch(o){case"animation":case"animationName":{n+=Or(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}return n}var Si=/label:\s*([^\s;\n{]+)\s*(;|$)/g,ge,xr=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]);Si.lastIndex=0;for(var c="",d;(d=Si.exec(o))!==null;)c+="-"+d[1];var f=dc(o)+c;return{name:f,styles:o,next:ge}},yc=function(t){return t()},ls=yt.useInsertionEffect?yt.useInsertionEffect:!1,ds=ls||yc,xi=ls||Ue,kr={}.hasOwnProperty,fs=ur(typeof HTMLElement<"u"?ns({key:"css"}):null),gc=fs.Provider,Ln=function(t){return Pn(function(r,n){var i=it(fs);return t(r,i,n)})},jn=ur({}),Jr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ps=function(t,r){var n={};for(var i in r)kr.call(r,i)&&(n[i]=r[i]);return n[Jr]=t,n},_c=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Nn(r,n,i),ds(function(){return Dn(r,n,i)}),null},vc=Ln(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[Jr],o=[n],s="";typeof e.className=="string"?s=cs(t.registered,o,e.className):e.className!=null&&(s=e.className+" ");var a=xr(o,void 0,it(jn));s+=t.key+"-"+a.name;var c={};for(var d in e)kr.call(e,d)&&d!=="css"&&d!==Jr&&(c[d]=e[d]);return c.ref=r,c.className=s,W(ae,null,W(_c,{cache:t,serialized:a,isStringTag:typeof i=="string"}),W(i,c))}),hs=vc,bc=Ln(function(e,t){var r=e.styles,n=xr([r],void 0,it(jn)),i=le();return xi(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]),xi(function(){var o=i.current,s=o[0],a=o[1];if(a){o[1]=!1;return}if(n.next!==void 0&&Dn(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 wc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return xr(t)}var Sc=0;function er(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:--Sc,__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 b(e,t,r){return kr.call(t,"css")?er(hs,ps(e,t),r):er(e,t,r)}function R(e,t,r){return kr.call(t,"css")?er(hs,ps(e,t),r):er(e,t,r)}const zn=({size:e=48})=>b("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:[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 xc=/^((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)-.*))$/,kc=ts(function(e){return xc.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Cc=kc,Tc=function(t){return t!=="theme"},ki=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Cc:Tc},Ci=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},Pc=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Nn(r,n,i),ds(function(){return Dn(r,n,i)}),null},Rc=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=Ci(t,r,n),c=a||ki(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=Ln(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=it(jn)}typeof w.className=="string"?h=cs(_.registered,v,w.className):w.className!=null&&(h=w.className+" ");var x=xr(u.concat(v),_.registered,S);h+=_.key+"-"+x.name,s!==void 0&&(h+=" "+s);var C=d&&a===void 0?ki(y):c,T={};for(var P in w)d&&P==="as"||C(P)&&(T[P]=w[P]);return T.className=h,T.ref=m,W(ae,null,W(Pc,{cache:_,serialized:x,isStringTag:typeof y=="string"}),W(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(w,_){return e(w,Kr({},r,_,{shouldForwardProp:Ci(g,_,!0)})).apply(void 0,u)},g}},Ec=["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"],tr=Rc.bind();Ec.forEach(function(e){tr[e]=tr(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 Ac=typeof Symbol=="function"&&Symbol.observable||"@@observable",Ti=Ac,Ir=()=>Math.random().toString(36).substring(7).split("").join("."),Oc={INIT:`@@redux/INIT${Ir()}`,REPLACE:`@@redux/REPLACE${Ir()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Ir()}`},rr=Oc;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 ms(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(ms)(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:rr.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)}},[Ti](){return this}}}return p({type:rr.INIT}),{dispatch:p,subscribe:u,getState:f,replaceReducer:l,[Ti]:g}}function Ic(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:rr.INIT})>"u")throw new Error(J(12));if(typeof r(void 0,{type:rr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(J(13))})}function ys(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{Ic(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 nr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function Mc(...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=nr(...a)(i.dispatch),{...i,dispatch:o}}}function gs(e){return be(e)&&"type"in e&&typeof e.type=="string"}var Bn=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?_s(e)||Array.isArray(e)||!!e[ft]||!!((t=e.constructor)!=null&&t[ft])||Ot(e)||It(e):!1}var $c=Object.prototype.constructor.toString();function _s(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)===$c}function Fc(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 Mr(e,t){return Le(e)===2?e.get(t):e[t]}function vs(e,t,r){const n=Le(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Nc(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 Gr(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&&_s(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 Un(e,t=!1){return Cr(e)||pe(e)||!he(e)||(Le(e)>1&&(e.set=e.add=e.clear=e.delete=Dc),Object.freeze(e),t&&rt(e,(r,n)=>Un(n,!0))),e}function Dc(){Y(2)}function Cr(e){return Object.isFrozen(e)}var Yr={};function je(e){const t=Yr[e];return t||Y(0,e),t}function Lc(e,t){Yr[e]||(Yr[e]=t)}var wt;function bs(){return wt}function jc(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Pi(e,t){t&&(je("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Xr(e){Zr(e),e.drafts_.forEach(zc),e.drafts_=null}function Zr(e){e===wt&&(wt=e.parent_)}function Ri(e){return wt=jc(wt,e)}function zc(e){const t=e[ie];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Ei(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[ie].modified_&&(Xr(t),Y(4)),he(e)&&(e=ir(t,e),t.parent_||or(t,e)),t.patches_&&je("Patches").generateReplacementPatches_(r[ie].base_,e,t.patches_,t.inversePatches_)):e=ir(t,r,[]),Xr(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Bn?e:void 0}function ir(e,t,r){if(Cr(t))return t;const n=t[ie];if(!n)return rt(t,(i,o)=>Ai(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return or(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)=>Ai(e,n,i,a,c,r,s)),or(e,i,!1),r&&e.patches_&&je("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function Ai(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=ir(e,i,a);if(vs(r,n,c),pe(c))e.canAutoFreeze_=!1;else return}else s&&r.add(i);if(he(i)&&!Cr(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;ir(e,i),(!t||!t.scope_.parent_)&&or(e,i)}}function or(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Un(t,r)}function Bc(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:bs(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=Wn;r&&(i=[n],o=St);const{revoke:s,proxy:a}=Proxy.revocable(i,o);return n.draft_=a,n.revoke_=s,a}var Wn={get(e,t){if(t===ie)return e;const r=Me(e);if(!bt(r,t))return Uc(e,r,t);const n=r[t];return e.finalized_||!he(n)?n:n===$r(e.base_,t)?(Fr(e),e.copy_[t]=tn(n,e)):n},has(e,t){return t in Me(e)},ownKeys(e){return Reflect.ownKeys(Me(e))},set(e,t,r){const n=ws(Me(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=$r(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(Nc(r,i)&&(r!==void 0||bt(e.base_,t)))return!0;Fr(e),en(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 $r(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Fr(e),en(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(Wn,(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 Wn.set.call(this,e[0],t,r,e[0])};function $r(e,t){const r=e[ie];return(r?Me(r):e)[t]}function Uc(e,t,r){var i;const n=ws(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function ws(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 en(e){e.modified_||(e.modified_=!0,e.parent_&&en(e.parent_))}function Fr(e){e.copy_||(e.copy_=Gr(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Wc=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=Ri(this),s=tn(t,void 0);let a=!0;try{i=r(s),a=!1}finally{a?Xr(o):Zr(o)}return Pi(o,n),Ei(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===Bn&&(i=void 0),this.autoFreeze_&&Un(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=Ss(e));const t=Ri(this),r=tn(e,void 0);return r[ie].isManual_=!0,Zr(t),r}finishDraft(e,t){const r=e&&e[ie];(!r||!r.isManual_)&&Y(9);const{scope_:n}=r;return Pi(n,t),Ei(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 tn(e,t){const r=Ot(e)?je("MapSet").proxyMap_(e,t):It(e)?je("MapSet").proxySet_(e,t):Bc(e,t);return(t?t.scope_:bs()).drafts_.push(r),r}function Ss(e){return pe(e)||Y(10,e),xs(e)}function xs(e){if(!he(e)||Cr(e))return e;const t=e[ie];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Gr(e,t.scope_.immer_.useStrictShallowCopy_)}else r=Gr(e,!0);return rt(r,(n,i)=>{vs(r,n,xs(i))}),t&&(t.finalized_=!1),r}function qc(){const t="replace",r="add",n="remove";function i(p,l,g,w){switch(p.type_){case 0:case 2:return s(p,l,g,w);case 1:return o(p,l,g,w);case 3:return a(p,l,g,w)}}function o(p,l,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=l.concat([h]);g.push({op:t,path:v,value:u(y[h])}),w.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]);w.push({op:n,path:v})}}function s(p,l,g,w){const{base_:_,copy_:m}=p;rt(p.assigned_,(y,h)=>{const v=Mr(_,y),S=Mr(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}),w.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,w){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}),w.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}),w.unshift({op:n,path:v,value:h})}y++})}function c(p,l,g,w){g.push({op:t,path:[],value:l===Bn?void 0:l}),w.push({op:t,path:[],value:p})}function d(p,l){return l.forEach(g=>{const{path:w,op:_}=g;let m=p;for(let S=0;S<w.length-1;S++){const k=Le(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=Mr(m,x),typeof m!="object"&&Y(18,w.join("/"))}const y=Le(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(Ot(p))return new Map(Array.from(p.entries()).map(([g,w])=>[g,f(w)]));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}Lc("Patches",{applyPatches_:d,generatePatches_:i,generateReplacementPatches_:c})}var ce=new Wc,Mt=ce.produce,ks=ce.produceWithPatches.bind(ce);ce.setAutoFreeze.bind(ce);ce.setUseStrictShallowCopy.bind(ce);var Oi=ce.applyPatches.bind(ce);ce.createDraft.bind(ce);ce.finishDraft.bind(ce);function Hc(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 Vc(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 Ii=e=>Array.isArray(e)?e:[e];function Kc(e){const t=Array.isArray(e[0])?e[0]:e;return Vc(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function Jc(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var Gc=class{constructor(e){this.value=e}deref(){return this.value}},Yc=typeof WeakRef<"u"?WeakRef:Gc,Xc=0,Mi=1;function jt(){return{s:Xc,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 w=a.o;w===null&&(a.o=w=new WeakMap);const _=w.get(g);_===void 0?(a=jt(),w.set(g,a)):a=_}else{let w=a.p;w===null&&(a.p=w=new Map);const _=w.get(g);_===void 0?(a=jt(),w.set(g,a)):a=_}}const d=a;let f;if(a.s===Mi?f=a.v:(f=e.apply(null,arguments),o++),d.s=Mi,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 Yc(f):f}return d.v=f,f}return s.clearCache=()=>{r=jt(),s.resetResultsCount()},s.resultsCount=()=>o,s.resetResultsCount=()=>{o=0},s}function Cs(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()),Hc(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:w={}}=f,_=Ii(p),m=Ii(g),y=Kc(i),h=u(function(){return o++,d.apply(null,arguments)},..._),v=l(function(){s++;const k=Jc(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=Cs(xt),Zc=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:()=>Zc});function Ts(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var eu=Ts(),tu=Ts,ru=(...e)=>{const t=Cs(...e);return(...r)=>{const n=t(...r),i=(o,...s)=>n(pe(o)?Ss(o):o,...s);return Object.assign(i,n),i}};ru(xt);var nu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?nr:nr.apply(null,arguments)},iu=e=>e&&typeof e.match=="function";function re(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=>gs(n)&&n.type===e,r}var Ps=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 $i(e){return he(e)?Mt(e,()=>{}):e}function Fi(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 ou(e){return typeof e=="boolean"}var su=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let s=new Ps;return r&&(ou(r)?s.push(eu):s.push(tu(r.extraArgument))),s},Ke="RTK_autoBatch",at=()=>e=>({payload:e,meta:{[Ke]:!0}}),Rs=e=>t=>{setTimeout(t,e)},au=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Rs(10),cu=(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"?au:e.type==="callback"?e.queueNotification:Rs(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}}})},uu=e=>function(r){const{autoBatch:n=!0}=r??{};let i=new Ps(e);return n&&i.push(cu(typeof n=="object"?n:void 0)),i},lu=!0;function du(e){const t=su(),{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=ys(r);else throw new Error(de(1));let c;typeof n=="function"?c=n(t):c=t();let d=nr;i&&(d=nu({trace:!lu,...typeof i=="object"&&i}));const f=Mc(...c),u=uu(f);let p=typeof s=="function"?s(u):u();const l=d(...p);return ms(a,o,l)}function Es(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 fu(e){return typeof e=="function"}function pu(e,t){let[r,n,i]=Es(t),o;if(fu(e))o=()=>$i(e());else{const a=$i(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 hu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",As=(e=21)=>{let t="",r=e;for(;r--;)t+=hu[Math.random()*64|0];return t},Os=(e,t)=>iu(e)?e.match(t):e(t);function Re(...e){return t=>e.some(r=>Os(r,t))}function pt(...e){return t=>e.every(r=>Os(r,t))}function Tr(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 qn(...e){return e.length===0?t=>Tr(t,["pending"]):$t(e)?t=>{const r=e.map(i=>i.pending);return Re(...r)(t)}:qn()(e[0])}function nt(...e){return e.length===0?t=>Tr(t,["rejected"]):$t(e)?t=>{const r=e.map(i=>i.rejected);return Re(...r)(t)}:nt()(e[0])}function Pr(...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):Pr()(e[0])}function Ee(...e){return e.length===0?t=>Tr(t,["fulfilled"]):$t(e)?t=>{const r=e.map(i=>i.fulfilled);return Re(...r)(t)}:Ee()(e[0])}function rn(...e){return e.length===0?t=>Tr(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)}:rn()(e[0])}var mu=["name","message","stack","code"],Nr=class{constructor(e,t){Rr(this,"_type");this.payload=e,this.meta=t}},Ni=class{constructor(e,t){Rr(this,"_type");this.payload=e,this.meta=t}},yu=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of mu)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},Di=(()=>{function e(t,r,n){const i=re(t+"/fulfilled",(c,d,f,u)=>({payload:c,meta:{...u||{},arg:f,requestId:d,requestStatus:"fulfilled"}})),o=re(t+"/pending",(c,d,f)=>({payload:void 0,meta:{...f||{},arg:d,requestId:c,requestStatus:"pending"}})),s=re(t+"/rejected",(c,d,f,u,p)=>({payload:u,error:(n&&n.serializeError||yu)(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):As(),l=new AbortController;let g;function w(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(_u(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:w,rejectWithValue:(x,C)=>new Nr(x,C),fulfillWithValue:(x,C)=>new Ni(x,C)})).then(x=>{if(x instanceof Nr)throw x;return x instanceof Ni?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:w,requestId:p,arg:c,unwrap(){return _.then(gu)}})}}return Object.assign(a,{pending:o,rejected:s,fulfilled:i,settled:Re(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function gu(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function _u(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var vu=Symbol.for("rtk-slice-createasyncthunk");function bu(e,t){return`${e}/${t}`}function wu({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[vu];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(xu()):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:bu(o,_),createNotation:typeof i.reducers=="function"};Cu(m)?Pu(y,m,f,t):ku(y,m,f)});function u(){const[_={},m=[],y=void 0]=typeof i.extraReducers=="function"?Es(i.extraReducers):[i.extraReducers],h={..._,...d.sliceCaseReducersByType};return pu(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 w={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=Fi(l,this,{insert:()=>new WeakMap});return Fi(m,_,{insert:()=>{const y={};for(const[h,v]of Object.entries(i.selectors??{}))y[h]=Su(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 Su(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=wu();function xu(){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 ku({type:e,reducerName:t,createNotation:r},n,i){let o,s;if("reducer"in n){if(r&&!Tu(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?re(e,s):re(e))}function Cu(e){return e._reducerDefinitionType==="asyncThunk"}function Tu(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Pu({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 Hn="listenerMiddleware";re(`${Hn}/add`);re(`${Hn}/removeAll`);re(`${Hn}/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 Is=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(Is||{});function Ru(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Eu(e){return new RegExp("(^|:)//").test(e)}var Au=e=>e.replace(/\/$/,""),Ou=e=>e.replace(/^\//,"");function Iu(e,t){if(!e)return t;if(!t)return e;if(Eu(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=Au(e),t=Ou(t),`${e}${r}${t}`}var Li=e=>[].concat(...e);function Mu(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function $u(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var ji=be;function Ms(e,t){if(e===t||!(ji(e)&&ji(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]=Ms(e[s],t[s]),i&&(i=e[s]===o[s]);return i?e:o}var zi=(...e)=>fetch(...e),Fu=e=>e.status>=200&&e.status<=299,Nu=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function Bi(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 Du({baseUrl:e,prepareHeaders:t=u=>u,fetchFn:r=zi,paramsSerializer:n,isJsonContentType:i=Nu,jsonContentType:o="application/json",jsonReplacer:s,timeout:a,responseHandler:c,validateStatus:d,...f}={}){return typeof fetch>"u"&&r===zi&&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:w,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??Fu,timeout:P=a,...A}=typeof p=="string"?{url:p}:p,E={...f,signal:g,...A};k=new Headers(Bi(k)),E.headers=await t(k,{getState:w,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(Bi(x));S+=B+Oe}S=Iu(e,S);const M=new Request(S,E);v={request:new Request(S,E)};let K,j=!1,F=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{F&&clearTimeout(F)}const te=K.clone();v.response=te;let H,me="";try{let B;if(await Promise.all([u(K,C).then(Oe=>H=Oe,Oe=>B=Oe),te.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 Ui=class{constructor(e,t=void 0){this.value=e,this.meta=t}},Qn=re("__rtkq/focused"),$s=re("__rtkq/unfocused"),Vn=re("__rtkq/online"),Fs=re("__rtkq/offline");function Ns(e){return e.type==="query"}function Lu(e){return e.type==="mutation"}function Kn(e,t,r,n,i,o){return ju(e)?e(t,r,n,i).map(nn).map(o):Array.isArray(e)?e.map(nn).map(o):[]}function ju(e){return typeof e=="function"}function nn(e){return typeof e=="string"?{type:e}:e}function Wi(e){return e!=null}function Xe(e){let t=0;for(const r in e)t++;return t}var kt=Symbol("forceQueryFn"),on=e=>typeof e[kt]=="function";function zu({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:w,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(Wi)}function l(){return _=>Object.values(s.get(_)||{}).filter(Wi)}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:U,abort:K}=I,j=M.requestId!==U,F=(me=o.get(C))==null?void 0:me[P],te=()=>E(T()),H=Object.assign(x?I.then(te):j&&!F?Promise.resolve(M):Promise.all([F,I]).then(te),{arg:h,requestId:U,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:U}))},updateSubscriptionOptions(B){H.subscriptionOptions=B,C(d({endpointName:_,requestId:U,queryCacheKey:P,options:B}))}});if(!F&&!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 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:T,unwrap:P}=x,A=x.unwrap().then(U=>({data:U})).catch(U=>({error:U})),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 qi(e){return e}function Bu({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=Kn(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]=ks(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=qi,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,U=>t(U,I,P.extraOptions)),typeof process<"u",E.error)throw new Ui(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 Ui){let I=qi;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=Di(`${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 on(y)?!0:(S==null?void 0:S.status)==="pending"?!1:f(y,v)||Ns(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=Di(`${e}/executeMutation`,d,{getPendingMeta(){return{startedTimeStamp:Date.now(),[Ke]:!0}}}),l=y=>"force"in y,g=y=>"ifOlderThan"in y,w=(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(qn(y),_(h)),matchFulfilled:pt(Ee(y),_(h)),matchRejected:pt(nt(y),_(h))}}return{queryThunk:u,mutationThunk:p,prefetch:w,updateQueryData:a,upsertQueryData:c,patchQueryData:s,buildMatchThunkActions:m}}function Ds(e,t,r,n){return Kn(r[e.meta.arg.endpointName][t],Ee(e)?e.payload:void 0,Pr(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 Hi(e,t,r){const n=e[Ct(t)];n&&r(n)}var ct={};function Uu({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:o,hasRehydrationInfo:s},assertTagType:a,config:c}){const d=re(`${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=Oi(k.data,S.concat())})},prepare:at()}},extraReducers(h){h.addCase(t.pending,(v,{meta:S,meta:{arg:k}})=>{var C;const x=on(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&&!on(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?Ms(pe(x.data)?Fc(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&&Hi(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&&Hi(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),Pr(t)),(v,S)=>{const k=Ds(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 Oi(h,v.payload)},prepare:at()}}}),w=Ce({name:`${e}/config`,initialState:{online:Mu(),focused:$u(),middlewareRegistered:!1,...c},reducers:{middlewareRegistered(h,{payload:v}){h.middlewareRegistered=h.middlewareRegistered==="conflict"||i!==v?"conflict":!0}},extraReducers:h=>{h.addCase(Vn,v=>{v.online=!0}).addCase(Fs,v=>{v.online=!1}).addCase(Qn,v=>{v.focused=!0}).addCase($s,v=>{v.focused=!1}).addMatcher(s,v=>({...v}))}}),_=ys({queries:f.reducer,mutations:u.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,...l.actions,...g.actions,...u.actions,...p.actions,resetApiState:d};return{reducer:m,actions:y}}var Fe=Symbol.for("RTKQ/skipToken"),Ls={status:"uninitialized"},Qi=Mt(Ls,()=>{}),Vi=Mt(Ls,()=>{});function Wu({serializeQueryArgs:e,reducerPath:t}){const r=f=>Qi,n=f=>Vi;return{buildQuerySelector:s,buildMutationSelector:a,selectInvalidatedBy:c,selectCachedArgsForQuery:d};function i(f){return{...f,...Ru(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===Fe?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)??Fe:u=f,Ye(u===Fe?n:g=>{var w,_;return((_=(w=o(g))==null?void 0:w.mutations)==null?void 0:_[u])??Vi},i)}}function c(f,u){const p=f[t],l=new Set;for(const g of u.map(nn)){const w=p.provided[g.type];if(!w)continue;let _=(g.id!==void 0?w[g.id]:Li(Object.values(w)))??[];for(const m of _)l.add(m)}return Li(Array.from(l.values()).map(g=>{const w=p.queries[g];return w?[{queryCacheKey:g,endpointName:w.endpointName,originalArgs:w.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,Ki=({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 qu(...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=Ki;if("serializeQueryArgs"in d.endpointDefinition){const u=d.endpointDefinition.serializeQueryArgs;f=p=>{const l=u(p);return typeof l=="string"?l:Ki({...p,queryArgs:l})}}else r.serializeQueryArgs&&(f=r.serializeQueryArgs);return f(d)},tagTypes:[...r.tagTypes||[]]},o={endpointDefinitions:{},batch(d){d()},apiUid:As(),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 Hu(e){for(let t in e)return!1;return!0}var Qu=2147483647/1e3-1,Vu=({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&&!Hu(u)}const a={},c=(f,u,p)=>{var l;if(o.match(f)){const g=u.getState()[e],{queryCacheKey:w}=f.payload;d(w,(l=g.queries[w])==null?void 0:l.endpointName,u,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=u.getState()[e],{queries:w}=r.extractRehydrationInfo(f);for(const[_,m]of Object.entries(w))d(_,m==null?void 0:m.endpointName,u,g.config)}};function d(f,u,p,l){const g=r.endpointDefinitions[u],w=(g==null?void 0:g.keepUnusedDataFor)??l.keepUnusedDataFor;if(w===1/0)return;const _=Math.max(0,Math.min(w,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},Ku=({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),Pr(n)),u=Re(Ee(n,i),nt(n,i));let p=[];const l=(_,m)=>{f(_)?w(Ds(_,"invalidatesTags",r,s),m):u(_)?w([],m):o.util.invalidateTags.match(_)&&w(Kn(_.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],T=c.currentSubscriptions[x]??{};C&&(Xe(T)===0?m.dispatch(d({queryCacheKey:x})):C.status!=="uninitialized"&&m.dispatch(a(C,x)))}})}return l},Ju=({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 w=l.getState()[e].queries[p],_=i.currentSubscriptions[p];if(!w||w.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(w,p))},m)}}function c({queryCacheKey:p},l){const w=l.getState()[e].queries[p],_=i.currentSubscriptions[p];if(!w||w.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},Gu=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,s=(c,d)=>{Qn.match(c)&&a(d,"refetchOnFocus"),Vn.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],w=p[l];if(!w||!g)continue;(Object.values(w).some(m=>m[d]===!0)||Object.values(w).every(m=>m[d]===void 0)&&f.config[d])&&(Xe(w)===0?c.dispatch(o({queryCacheKey:l})):g.status!=="uninitialized"&&c.dispatch(n(g,l)))}})}return s},Ji=new Error("Promise never resolved before cacheEntryRemoved."),Yu=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const s=rn(n),a=rn(i),c=Ee(n,i),d={},f=(l,g,w)=>{const _=u(l);if(n.pending.match(l)){const m=w[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,w,_,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 Ji})]);k.catch(()=>{}),d[w]=v;const x=e.endpoints[l].select(y.type==="query"?g:w),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!==Ji)throw A})}return f},Xu=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=qn(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: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[l]=y;const v=e.endpoints[g].select(_.type==="query"?w: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,w,x)):void 0,queryFulfilled:h};m(w,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:w}=d.meta;(p=a[l])==null||p.reject({error:d.payload??d.error,isUnhandledError:!g,meta:w}),delete a[l]}}},Zu=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t)),typeof process<"u"},el=({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 w=!1;if(t.fulfilled.match(g)||t.rejected.match(g)){const h=l[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=l[y=v.queryCacheKey]??(l[y]={});k[S]=v.subscriptionOptions??k[S]??{},w=!0}}return w},d=()=>r.currentSubscriptions,p={getSubscriptions:d,getSubscriptionCount:l=>{const w=d()[l]??{};return Xe(w)},isRequestSubscribed:(l,g)=>{var _;const w=d();return!!((_=w==null?void 0:w[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 w=c(r.currentSubscriptions,l);let _=!0;if(w){o||(o=setTimeout(()=>{const h=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,v]=ks(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 tl(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:o}=i,s={invalidateTags:re(`${t}/invalidateTags`)},a=u=>u.type.startsWith(`${t}/`),c=[Zu,Vu,Ku,Ju,Yu,Xu];return{middleware:u=>{let p=!1;const g={...e,internalState:{currentSubscriptions:{}},refetchQuery:f,isThisApiSliceAction:a},w=c.map(y=>y(g)),_=el(g),m=Gu(g);return y=>h=>{if(!gs(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 w)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 Gi=Symbol(),rl=()=>({name:Gi,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:s,refetchOnFocus:a,refetchOnReconnect:c,invalidationBehavior:d},f){qc();const u=j=>(typeof process<"u",j);Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:Vn,onOffline:Fs,onFocus:Qn,onFocusLost:$s},util:{}});const{queryThunk:p,mutationThunk:l,patchQueryData:g,updateQueryData:w,upsertQueryData:_,prefetch:m,buildMatchThunkActions:y}=Bu({baseQuery:t,reducerPath:n,context:f,api:e,serializeQueryArgs:i,assertTagType:u}),{reducer:h,actions:v}=Uu({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:w,upsertQueryData:_,prefetch:m,resetApiState:v.resetApiState}),ke(e.internalActions,v);const{middleware:S,actions:k}=tl({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}=Wu({serializeQueryArgs:i,reducerPath:n});ke(e.util,{selectInvalidatedBy:T,selectCachedArgsForQuery:P});const{buildInitiateQuery:A,buildInitiateMutation:E,getRunningMutationThunk:I,getRunningMutationsThunk:M,getRunningQueriesThunk:U,getRunningQueryThunk:K}=zu({queryThunk:p,mutationThunk:l,api:e,serializeQueryArgs:i,context:f});return ke(e.util,{getRunningMutationThunk:I,getRunningMutationsThunk:M,getRunningQueryThunk:K,getRunningQueriesThunk:U}),{name:Gi,injectEndpoint(j,F){var H;const te=e;(H=te.endpoints)[j]??(H[j]={}),Ns(F)?ke(te.endpoints[j],{name:j,select:x(j,F),initiate:A(j,F)},y(p,j)):Lu(F)&&ke(te.endpoints[j],{name:j,select:C(),initiate:E(j)},y(l,j))}}}}),js={exports:{}},zs={};const nl=tc(yt);/**
9
9
  * @license React
10
10
  * use-sync-external-store-with-selector.production.min.js
11
11
  *
@@ -13,7 +13,7 @@ var Js=Object.defineProperty;var Gs=(e,t,r)=>t in e?Js(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 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 {
16
+ */var Ft=nl;function il(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ol=typeof Object.is=="function"?Object.is:il,sl=Ft.useSyncExternalStore,al=Ft.useRef,cl=Ft.useEffect,ul=Ft.useMemo,ll=Ft.useDebugValue;zs.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=al(null);if(o.current===null){var s={hasValue:!1,value:null};o.current=s}else s=o.current;o=ul(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,ol(f,l))return g;var w=n(l);return i!==void 0&&i(g,w)?g:(f=l,u=w)}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=sl(e,o[0],o[1]);return cl(function(){s.hasValue=!0,s.value=a},[a]),ll(a),a};js.exports=zs;var dl=js.exports,oe="default"in yt?Ko:yt,Yi=Symbol.for("react-redux-context"),Xi=typeof globalThis<"u"?globalThis:{};function fl(){if(!oe.createContext)return{};const e=Xi[Yi]??(Xi[Yi]=new Map);let t=e.get(oe.createContext);return t||(t=oe.createContext(null),e.set(oe.createContext,t)),t}var Ae=fl(),pl=()=>{throw new Error("uSES not initialized!")};function Jn(e=Ae){return function(){return oe.useContext(e)}}var Bs=Jn(),Us=pl,hl=e=>{Us=e},ml=(e,t)=>e===t;function yl(e=Ae){const t=e===Ae?Bs:Jn(e);return function(n,i={}){const{equalityFn:o=ml,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=Us(c.addNestedSub,a.getState,d||a.getState,p,o);return oe.useDebugValue(l),l}}var Ws=yl();function qs(e){e()}function gl(){let e=null,t=null;return{clear(){e=null,t=null},notify(){qs(()=>{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 Zi={notify(){},get:()=>[]};function _l(e,t){let r,n=Zi,i=0,o=!1;function s(w){f();const _=n.subscribe(w);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=gl())}function u(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=Zi)}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 vl=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",bl=vl?oe.useLayoutEffect:oe.useEffect;function eo(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function sr(e,t){if(eo(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])||!eo(e[r[i]],t[r[i]]))return!1;return!0}function wl({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const s=oe.useMemo(()=>{const d=_l(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]);bl(()=>{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 Sl=wl;function Hs(e=Ae){const t=e===Ae?Bs:Jn(e);return function(){const{store:n}=t();return n}}var Qs=Hs();function xl(e=Ae){const t=e===Ae?Qs:Hs(e);return function(){return t().dispatch}}var Vs=xl(),kl=qs;hl(dl.useSyncExternalStoreWithSelector);function to(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 Dr=Symbol();function Lr(e){const t=le(e);return Q(()=>{sr(t.current,e)||(t.current=e)},[e]),sr(t.current,e)?t.current:e}var He=WeakMap?new WeakMap:void 0,Cl=({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})`},Tl=typeof window<"u"&&window.document&&window.document.createElement?Ue:Q,Pl=e=>e.isUninitialized?{...e,isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:Is.pending}:e;function Rl({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,w){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:w,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 w=r(),_=Lr(g);return Qe((m,y)=>w(e.util.prefetch(l,m,{..._,...y})),[l,w,_])}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 F=C(e.internalActions.internal_getRTKQSubscriptions());T.current=F}const P=to(S?Fe:m,Cl,a.endpointDefinitions[l],l),A=Lr({refetchOnReconnect:y,refetchOnFocus:h,pollingInterval:k}),E=le(!1),I=le();let{queryCacheKey:M,requestId:U}=I.current||{},K=!1;M&&U&&(K=T.current.isRequestSubscribed(M,U));const j=!K&&E.current;return c(()=>{E.current=K}),c(()=>{j&&(I.current=void 0)},[j]),c(()=>{var H;const F=I.current;if(typeof process<"u",P===Fe){F==null||F.unsubscribe(),I.current=void 0;return}const te=(H=I.current)==null?void 0:H.subscriptionOptions;if(!F||F.arg!==P){F==null||F.unsubscribe();const me=C(x(P,{subscriptionOptions:A,forceRefetch:v}));I.current=me}else A!==te&&F.updateSubscriptionOptions(A)},[C,x,v,P,A,j]),Q(()=>()=>{var F;(F=I.current)==null||F.unsubscribe(),I.current=void 0},[]),Z(()=>({refetch:()=>{var F;if(!I.current)throw new Error(de(38));return(F=I.current)==null?void 0:F.refetch()}}),[])},w=({refetchOnReconnect:m,refetchOnFocus:y,pollingInterval:h=0}={})=>{const{initiate:v}=e.endpoints[l],S=r(),[k,x]=ve(Dr),C=le(),T=Lr({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 U;(U=C.current)==null||U.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!==Dr&&!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=to(y?Fe: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),sr),P=i(),A=x(P.getState(),k.current);return Tl(()=>{k.current=A},[A]),T};return{useQueryState:_,useQuerySubscription:g,useLazyQuerySubscription:w,useLazyQuery(m){const[y,h]=w(m),v=_(h,{...m,skip:h===Dr}),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===Fe||y!=null&&y.skip?void 0:Pl,...y}),{data:S,status:k,isLoading:x,isSuccess:C,isError:T,error:P}=v;return Yt({data:S,status:k,isLoading:x,isSuccess:C,isError:T,error:P}),Z(()=>({...v,...h}),[v,h])}}}function p(l){return({selectFromResult:g,fixedCacheKey:w}={})=>{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: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?Ye([x],g):x,[g,x]),T=n(C,sr),P=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:E,data:I,status:M,isLoading:U,isSuccess:K,isError:j,error:F}=T;Yt({endpointName:E,data:I,status:M,isLoading:U,isSuccess:K,isError:j,error:F});const te=Z(()=>({...T,originalArgs:P,reset:A}),[T,P,A]);return Z(()=>[S,te],[S,te])}}}function El(e){return e.type==="query"}function Al(e){return e.type==="mutation"}function jr(e){return e.replace(e[0],e[0].toUpperCase())}function Ut(e,...t){return Object.assign(e,...t)}var Ol=Symbol(),Il=({batch:e=kl,hooks:t={useDispatch:Vs,useSelector:Ws,useStore:Qs},unstable__sideEffectsInRender:r=!1,...n}={})=>({name:Ol,init(i,{serializeQueryArgs:o},s){const a=i,{buildQueryHooks:c,buildMutationHook:d,usePrefetch:f}=Rl({api:i,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:o,context:s});return Ut(a,{usePrefetch:f}),Ut(s,{batch:e}),{injectEndpoint(u,p){if(El(p)){const{useQuery:l,useLazyQuery:g,useLazyQuerySubscription:w,useQueryState:_,useQuerySubscription:m}=c(u);Ut(a.endpoints[u],{useQuery:l,useLazyQuery:g,useLazyQuerySubscription:w,useQueryState:_,useQuerySubscription:m}),i[`use${jr(u)}Query`]=l,i[`useLazy${jr(u)}Query`]=g}else if(Al(p)){const l=d(u);Ut(a.endpoints[u],{useMutation:l}),i[`use${jr(u)}Mutation`]=l}}}}}),Ml=qu(rl(),Il());const $l=async(e,t,r)=>{const n=t.getState().session.backendUrl;return Du({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)},Ne=Ml({baseQuery:$l,reducerPath:"backendApi",endpoints:e=>({campaignConnect:e.query({query:()=>({url:"super-campaign/backend/campaign-connect",method:"GET"}),keepUnusedDataFor:Number.MAX_SAFE_INTEGER})})}),{useLazyCampaignConnectQuery:Fl}=Ne,sn=Ce({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:Nl}=sn.actions,an=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:Dl,setSelectedFund:Ks,clearSelectedFund:Te}=an.actions,ro=du({reducer:{[sn.name]:sn.reducer,[Ne.reducerPath]:Ne.reducer,[an.reducerPath]:an.reducer},middleware:e=>e().concat(Ne.middleware)}),Nt=()=>Vs(),ze=Ws,Gn=({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&&b(zn,{size:16}),b("div",{css:[o===1&&{display:"none"}],children:i})]})},We=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},cn=()=>{We({sender:"super-campaign",type:"choose-another-fund-requested"})},Ll=e=>{We({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.fundType}))})},jl=e=>{We({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.fundType,fundName:e.name,fundUsi:void 0})},ee=e=>{We({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:void 0})},zl=()=>{We({sender:"super-campaign",type:"disclaimer-accepted"})},Bl=()=>{We({sender:"super-campaign",type:"disclaimer-viewed"})},Je=e=>{We({sender:"super-campaign",type:"promoted-fund-joined",fundJoinInfo:e})},Ul=tr.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),Wl="_extnav=true",$=({link:e,onClick:t,children:r,...n})=>{const i=e.indexOf("?")===-1?"?":"&",o=`${e}${i}${Wl}`;return b(Ul,{target:"_blank",href:o,onClick:t,...n,children:r})},ql=""+new URL("assets/logo-active-QBFsxdGu.svg",import.meta.url).href,Hl="Active Super",un={fundId:"active",name:Hl,logo:ql,iframeType:"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: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"," ",b($,{onClick:()=>ee(un),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,Vl="Australian Ethical",zr="https://www.australianethical.com.au/super/pds-forms/",ht={fundId:"australian-ethical",name:Vl,logo:Ql,iframeType:"PromotedFundJoinV2",features:[R("p",{children:["Fastest growing super fund in Australia",b("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),R("p",{children:["Nil investments in fossil fuel companies",b("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),b("p",{children:"Competitive returns"})],featureSubText:R("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:R("p",{children:["Issued by Australian Ethical Superannuation Pty Ltd (ABN 43 079 259 733, RSE L0001441, AFSL 526055). Please consider the"," ",b($,{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($,{link:zr,onClick:()=>ee(ht),children:"Product Disclosure Statement"})," ","and"," ",b($,{link:zr,onClick:()=>ee(ht),children:"Target Market Determination"})," ","available on our"," ",b($,{link:zr,onClick:()=>ee(ht),children:"website"}),"."]})},Kl=""+new URL("assets/logo-art-OnjDdwzt.svg",import.meta.url).href,no="Australian Retirement Trust",ln={fundId:"australian-retirement-trust",name:no,logo:Kl,iframeType:"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:R("p",{children:["You should consider the"," ",b($,{link:"https://www.australianretirementtrust.com.au/library/media/pdfs/pds/super-savings-product-disclosure-statement-and-membership-form.pdf",onClick:()=>ee(ln),children:"Product Disclosure Statement"})," ","and"," ",b($,{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:no,abn:"60 905 115 063"},Jl=""+new URL("assets/logo-aware-27z0JfJC.svg",import.meta.url).href,Gl="Aware Super",dn={fundId:"aware",name:Gl,logo:Jl,iframeType:"PromotedFundJoinV1",features:[b("p",{children:"Awarded Canstar’s Outstanding Value Super^ in 2022 and 2023."}),R("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: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"," ",b($,{link:"https://aware.com.au/awards",children:"aware.com.au/awards"})," for more information"]}),R("p",{children:[b("sup",{css:{fontSize:"0.625rem"},children:"‡"})," Member numbers as of December 2023"]})]}),disclaimer:R("p",{children:["You should consider the"," ",b($,{link:"https://aware.com.au/member/campaign/flare-documents?cid=par-aq-no-su-Flare-PDSTMD-Direct-ImpDocs-",onClick:()=>ee(dn),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"},Yl=""+new URL("assets/logo-first-rrA5hli9.svg",import.meta.url).href,Xl="First Super",fn={fundId:"first-super",name:Xl,logo:Yl,iframeType:"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: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"," ",b($,{onClick:()=>ee(fn),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."})]})},Zl=""+new URL("assets/logo-hesta-DS-8ReNU.svg",import.meta.url).href,ed="HESTA",pn={fundId:"hesta-default",name:ed,logo:Zl,iframeType:"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: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"," ",b($,{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"," ",b($,{onClick:()=>ee(pn),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"})]})},td=""+new URL("assets/logo-mercer-mychoice-AQelc7Ua.svg",import.meta.url).href,rd="Mercer MyChoice",hn={fundId:"mercermychoice",name:rd,logo:td,iframeType:"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:R("div",{children:[R("p",{children:["You should consider the"," ",b($,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>ee(hn),children:"Product Disclosure Statement"})," ","and"," ",b($,{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"})},nd=""+new URL("assets/logo-reisuper-GjOYg26T.svg",import.meta.url).href,id="REI Super",mn={fundId:"reisuper",name:id,logo:nd,iframeType:"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: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:[b("p",{children:"*Balanced Option net investment return of 9.45% for year ending 30 June 2023."}),R("p",{children:["You should consider the"," ",b($,{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:()=>ee(mn),children:"Product Disclosure Statement"})," ","and"," ",b($,{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"},od=""+new URL("assets/logo-slate-qMDg7z1_.png",import.meta.url).href,sd="Slate Super",ad="32367272075001",ar={fundId:"slate",name:sd,logo:od,iframeType:"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:R("p",{children:["You should consider the"," ",b($,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>ee(ar),children:"Product Disclosure Statement"})," ","and"," ",b($,{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"},cd=""+new URL("assets/logo-spirit-gGkSB0e4.svg",import.meta.url).href,ud="Spirit Super",yn={fundId:"spirit",name:ud,logo:cd,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Proud Industry SuperFund - all profits go back to members"}),R("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"})]}),R("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: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:[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:R("p",{children:["Past performance isn’t a reliable indicator of future performance. Consider the PDS and TMD at"," ",b($,{link:"https://www.spiritsuper.com.au/pds",onClick:()=>ee(yn),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)."]})},ld=""+new URL("assets/logo-unisuper-1d8aWLNy.svg",import.meta.url).href,dd="Unisuper",fd="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",pd="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",gn={fundId:"unisuper-default",name:dd,logo:ld,iframeType:"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.*"}),R("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",b("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"," ",b($,{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"," ",b($,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),R("p",{children:[b("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",b($,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),R("p",{children:["Remember to consider the"," ",b($,{link:fd,onClick:()=>ee(gn),children:"Product Disclosure Statement"})," ","and ",b($,{link:pd,children:"Target Market Determination"})," that is relevant to you."]}),b("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},hd=""+new URL("assets/logo-unisuper-1d8aWLNy.svg",import.meta.url).href,md=""+new URL("assets/unisuper-default-badge1-gtvikR9g.svg",import.meta.url).href,yd=""+new URL("assets/unisuper-default-badge2-qlGv2ZMr.svg",import.meta.url).href,gd=""+new URL("assets/unisuper-default-badge3-e49fqcmc.svg",import.meta.url).href,Wt="Unisuper",_d="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",vd="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",_n={fundId:"unisuper-default-v2",name:Wt,logo:hd,iframeType:"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.*"}),R("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",b("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],customContent:R("div",{css:{marginTop:"1.5rem",display:"flex",gap:"0.75rem"},children:[b("div",{children:b("img",{alt:Wt,src:md})}),b("div",{children:b("img",{alt:Wt,src:yd})}),b("div",{children:b("img",{alt:Wt,src:gd})})]}),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"," ",b($,{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"," ",b($,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),R("p",{children:[b("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",b($,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),R("p",{children:["Remember to consider the"," ",b($,{link:_d,onClick:()=>ee(_n),children:"Product Disclosure Statement"})," ","and ",b($,{link:vd,children:"Target Market Determination"})," that is relevant to you."]}),b("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},bd=""+new URL("assets/logo-virgin-4NJx4nb0.svg",import.meta.url).href,wd="Virgin Money Super",vn={fundId:"virgin",name:wd,logo:bd,iframeType:"PromotedFundJoinV2",features:[R("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"}),R("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: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:[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($,{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"," ",b($,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>ee(vn),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"})},Js=e=>{switch(e.fundId){case un.fundId:return{...un,fundType:e.type};case ht.fundId:return{...ht,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 mn.fundId:return{...mn,fundType:e.type};case ar.fundId:return{...ar,fundType:e.type};case yn.fundId:return{...yn,fundType:e.type};case gn.fundId:return{...gn,fundType:e.type};case _n.fundId:return{..._n,fundType:e.type};case vn.fundId:return{...vn,fundType:e.type}}return null},Sd=e=>(e==null?void 0:e.flatMap(t=>Js(t)??[]))??[],xd=()=>{const[e]=Fl(),[t,r]=ve(!1),n=Nt();if(Q(()=>{Bl()},[]),t)return b(zn,{});const i=async()=>{r(!0),zl();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=Js(s[0]);a&&n(Ks({fundId:a.fundId,fundType:a.fundType,iframeType:a.iframeType}));return}n(Dl(o.promotedFunds))};return R("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: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:[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:"}),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:[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."}),R("li",{children:["Your personal data that is provided to us will be subject to our"," ",b($,{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(Gn,{fillWidth:!0,onClick:()=>i(),children:"Continue"})]})})]})},kd=()=>{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-"}},Cd=`https://${kd()}api.simplefinancialchoices.com/promoted-funds/embed`,qt=e=>e.replace(/ /g,""),Ie=e=>!(typeof e=="string"&&e.trim().length>0),Td=()=>{const e=ze(a=>a.state.selectedFund),t=ze(a=>a.session.accessToken),r=Nt(),n=Ne.endpoints.campaignConnect.useQueryState().data;if(!e||!t||!n)return b(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=Cd;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:qt(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:qt(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:qt(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:qt(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),b("div",{css:{width:"100vw"},children:b("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Pd=()=>window.location.origin.includes("localhost")?"autodev-partner":window.location.hostname.toLowerCase().split(".")[0],Rd=`https://${Pd()}.flarehr.com/promoted-fund-join/embed/v1.0/web`,Ed=()=>{const e=ze(a=>a.session.accessToken),t=ze(a=>a.state.selectedFund),r=Nt(),n=Ne.endpoints.campaignConnect.useQueryState().data;if(!n||!t)return b(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=Rd;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),b("div",{css:{width:"100vw"},children:b("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Gs=()=>{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-"}},io=`https://${Gs()}join.slatesuper.com.au/confirm`,oo=`https://${Gs()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,Ad=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},Od=()=>{const e=ze(a=>a.session.accessToken),t=Nt(),r=Ne.endpoints.campaignConnect.useQueryState().data;if(!r)return b(At,{children:"Error!"});const i={authToken:!io.match(/autodev|sandbox/)?e:void 0,successRedirectUrl:oo,cancelRedirectUrl:oo,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:Ad(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=io;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:ar.fundId,usi:ad,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),b("div",{css:{width:"100vw"},children:b("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},so=({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}),Id=()=>b("div",{css:{display:"flex",justifyContent:"center"},children:R("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"}),R(At,{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."}),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:[b(so,{isActive:!0,children:"Featured super funds"}),b(so,{onClick:()=>cn(),children:"Choose another fund"})]})]})]})}),ao=({fund:e,isMultiFund:t})=>{const r=Nt();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:[b("div",{css:[{"@media (min-width: 768px)":{maxWidth:"240px"}},t&&{"@media (min-width: 1024px)":{maxWidth:"100%"}}],children:b(Gn,{fillWidth:!0,onClick:()=>{jl(e),r(Ks({fundId:e.fundId,fundType:e.fundType,iframeType:e.iframeType}))},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&&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]})]})]})},Md=({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"})}),$d={Check:Md},Fd=({name:e,logo:t,features:r,featureSubText:n,isMultiFund:i,isPromotedDefault:o,extraBadge:s,customContent:a})=>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&&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"})]}),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:[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(c=>R("div",{css:{display:"flex"},children:[b("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:b($d.Check,{alt:"checked"})}),b("div",{css:{lineHeight:"1.25rem"},children:c})]}))}),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}),a]}),Nd="https://my.gov.au",Dd="www.my.gov.au",Ld="https://www.apra.gov.au/register-of-superannuation-institutions",jd="www.apra.gov.au",zd=()=>{const e=ze(n=>n.state.funds),t=Sd(e??[]);if(Q(()=>{t&&Ll(t)},[t]),!t)return b(At,{children:"Error!"});const r=t.length>1;return R("div",{children:[b(Id,{}),R("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:()=>cn(),children:R("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: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)=>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:R("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})}),R("div",{css:{width:"100%"},children:[b(Fd,{logo:n.logo,name:n.name,features:n.features,featureSubText:n.featureSubText,isMultiFund:r,isPromotedDefault:n.fundType==="promoted-default",extraBadge:n.extraBadge,customContent:n.customContent}),b("div",{css:[r&&{"@media (min-width: 1024px)":{display:"none"}}],children:b(ao,{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(ao,{fund:n,isMultiFund:r})}))]})}),b("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:[b("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:[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."}),R("li",{children:["If you are unsure of your current super fund details, you can find out at"," ",b($,{css:{fontWeight:"500",color:"var(--fl-color-primary)",":hover":{color:"var(--fl-color-primary-hover)"}},link:Nd,children:Dd})]}),R("li",{children:["A full list of super funds can be viewed at"," ",b($,{css:{fontWeight:"500",color:"var(--fl-color-primary)",":hover":{color:"var(--fl-color-primary-hover)"}},link:Ld,children:jd})]})]}),b(Gn,{fillWidthOnMobile:!0,onClick:()=>cn(),children:"Choose another super fund"})]})}),b("div",{css:{display:"flex",justifyContent:"center"},children:R("div",{css:{maxWidth:"720px",paddingTop:"2rem","@media (min-width: 640px)":{paddingTop:"3rem"}},children:[b("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:[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."})]})]})})]})},Bd=tr.div({display:"flex",justifyContent:"center"}),Ud=()=>{const{funds:e,selectedFund:t}=ze(n=>n.state);return b(Bd,{children:(()=>{if(t){if(t.iframeType==="PromotedFundJoinV2")return b(Td,{});if(t.iframeType==="SlateJoin")return b(Od,{});if(t.iframeType==="PromotedFundJoinV1")return b(Ed,{})}else if(e)return b(zd,{});return b(xd,{})})()})},Wd=()=>b(bc,{styles:wc`*, ::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
- }`}),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});
266
+ }`}),qd=e=>{const{"access-token":t,"backend-url":r}=e,[n,i]=ve(!1);Q(()=>{ro.dispatch(Nl({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]),b("div",{ref:o,children:b(gc,{value:ns({key:"ascui",container:s,prepend:!0}),children:R(Sl,{store:ro,children:[b(Wd,{}),n?b(Ud,{}):b(zn,{})]})})})},Hd="apollo-super-campaign";ua(qd,Hd,[],{shadow:!0});