@flarehr/apollo-super-campaign 0.1.890 → 0.1.893

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 rc=Object.defineProperty,nc=Object.defineProperties;var ic=Object.getOwnPropertyDescriptors;var pr=Object.getOwnPropertySymbols;var qi=Object.prototype.hasOwnProperty,Hi=Object.prototype.propertyIsEnumerable;var pn=(e,t,r)=>t in e?rc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,P=(e,t)=>{for(var r in t||(t={}))qi.call(t,r)&&pn(e,r,t[r]);if(pr)for(var r of pr(t))Hi.call(t,r)&&pn(e,r,t[r]);return e},B=(e,t)=>nc(e,ic(t));var et=(e,t)=>{var r={};for(var n in e)qi.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&pr)for(var n of pr(e))t.indexOf(n)<0&&Hi.call(e,n)&&(r[n]=e[n]);return r};var mn=(e,t,r)=>(pn(e,typeof t!="symbol"?t+"":t,r),r);var he=(e,t,r)=>new Promise((n,i)=>{var o=m=>{try{u(r.next(m))}catch(g){i(g)}},a=m=>{try{u(r.throw(m))}catch(g){i(g)}},u=m=>m.done?n(m.value):Promise.resolve(m.value).then(o,a);u((r=r.apply(e,t)).next())});(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 a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).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)}})();function En(){return En=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},En.apply(this,arguments)}var rr,M,ia,nt,Vi,oa,An,aa,Ut={},sa=[],oc=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Br=Array.isArray;function We(e,t){for(var r in t)e[r]=t[r];return e}function ca(e){var t=e.parentNode;t&&t.removeChild(e)}function Y(e,t,r){var n,i,o,a={};for(o in t)o=="key"?n=t[o]:o=="ref"?i=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?rr.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)a[o]===void 0&&(a[o]=e.defaultProps[o]);return $t(e,a,n,i,null)}function $t(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==null?++ia:i,__i:-1,__u:0};return i==null&&M.vnode!=null&&M.vnode(o),o}function zr(){return{current:null}}function be(e){return e.children}function Ee(e,t){this.props=e,this.context=t}function _t(e,t){if(t==null)return e.__?_t(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"?_t(e):null}function ua(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 ua(e)}}function Rn(e){(!e.__d&&(e.__d=!0)&&nt.push(e)&&!Ar.__r++||Vi!==M.debounceRendering)&&((Vi=M.debounceRendering)||oa)(Ar)}function Ar(){var e,t,r,n,i,o,a,u,m;for(nt.sort(An);e=nt.shift();)e.__d&&(t=nt.length,n=void 0,o=(i=(r=e).__v).__e,u=[],m=[],(a=r.__P)&&((n=We({},i)).__v=i.__v+1,M.vnode&&M.vnode(n),oi(a,n,i,r.__n,a.ownerSVGElement!==void 0,32&i.__u?[o]:null,u,o==null?_t(i):o,!!(32&i.__u),m),n.__.__k[n.__i]=n,fa(u,n,m),n.__e!=o&&ua(n)),nt.length>t&&nt.sort(An));Ar.__r=0}function la(e,t,r,n,i,o,a,u,m,g,y){var p,l,s,c,f,d=n&&n.__k||sa,b=t.length;for(r.__d=m,ac(r,t,d),m=r.__d,p=0;p<b;p++)(s=r.__k[p])!=null&&typeof s!="boolean"&&typeof s!="function"&&(l=s.__i===-1?Ut:d[s.__i]||Ut,s.__i=p,oi(e,s,l,i,o,a,u,m,g,y),c=s.__e,s.ref&&l.ref!=s.ref&&(l.ref&&ai(l.ref,null,s),y.push(s.ref,s.__c||c,s)),f==null&&c!=null&&(f=c),65536&s.__u||l.__k===s.__k?m=da(s,m,e):typeof s.type=="function"&&s.__d!==void 0?m=s.__d:c&&(m=c.nextSibling),s.__d=void 0,s.__u&=-196609);r.__d=m,r.__e=f}function ac(e,t,r){var n,i,o,a,u,m=t.length,g=r.length,y=g,p=0;for(e.__k=[],n=0;n<m;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?$t(null,i,null,null,i):Br(i)?$t(be,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?$t(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)!=null?(i.__=e,i.__b=e.__b+1,u=sc(i,r,a=n+p,y),i.__i=u,o=null,u!==-1&&(y--,(o=r[u])&&(o.__u|=131072)),o==null||o.__v===null?(u==-1&&p--,typeof i.type!="function"&&(i.__u|=65536)):u!==a&&(u===a+1?p++:u>a?y>m-a?p+=u-a:p--:p=u<a&&u==a-1?u-a:0,u!==n+p&&(i.__u|=65536))):(o=r[n])&&o.key==null&&o.__e&&(o.__e==e.__d&&(e.__d=_t(o)),Pn(o,o,!1),r[n]=null,y--);if(y)for(n=0;n<g;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=_t(o)),Pn(o,o))}function da(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=da(n[i],t,r));return t}return e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function qe(e,t){return t=t||[],e==null||typeof e=="boolean"||(Br(e)?e.some(function(r){qe(r,t)}):t.push(e)),t}function sc(e,t,r,n){var i=e.key,o=e.type,a=r-1,u=r+1,m=t[r];if(m===null||m&&i==m.key&&o===m.type)return r;if(n>(m!=null&&!(131072&m.__u)?1:0))for(;a>=0||u<t.length;){if(a>=0){if((m=t[a])&&!(131072&m.__u)&&i==m.key&&o===m.type)return a;a--}if(u<t.length){if((m=t[u])&&!(131072&m.__u)&&i==m.key&&o===m.type)return u;u++}}return-1}function Qi(e,t,r){t[0]==="-"?e.setProperty(t,r==null?"":r):e[t]=r==null?"":typeof r!="number"||oc.test(t)?r:r+"px"}function mr(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||Qi(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Qi(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?Gi:Ki,o)):e.removeEventListener(t,o?Gi:Ki,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==null?"":r;break e}catch(a){}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,r))}}function Ki(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(M.event?M.event(e):e)}function Gi(e){return this.l[e.type+!0](M.event?M.event(e):e)}function oi(e,t,r,n,i,o,a,u,m,g){var y,p,l,s,c,f,d,b,v,h,_,S,k,x,C,T=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(m=!!(32&r.__u),o=[u=t.__e=r.__e]),(y=M.__b)&&y(t);e:if(typeof T=="function")try{if(b=t.props,v=(y=T.contextType)&&n[y.__c],h=y?v?v.props.value:y.__:n,r.__c?d=(p=t.__c=r.__c).__=p.__E:("prototype"in T&&T.prototype.render?t.__c=p=new T(b,h):(t.__c=p=new Ee(b,h),p.constructor=T,p.render=uc),v&&v.sub(p),p.props=b,p.state||(p.state={}),p.context=h,p.__n=n,l=p.__d=!0,p.__h=[],p._sb=[]),p.__s==null&&(p.__s=p.state),T.getDerivedStateFromProps!=null&&(p.__s==p.state&&(p.__s=We({},p.__s)),We(p.__s,T.getDerivedStateFromProps(b,p.__s))),s=p.props,c=p.state,p.__v=t,l)T.getDerivedStateFromProps==null&&p.componentWillMount!=null&&p.componentWillMount(),p.componentDidMount!=null&&p.__h.push(p.componentDidMount);else{if(T.getDerivedStateFromProps==null&&b!==s&&p.componentWillReceiveProps!=null&&p.componentWillReceiveProps(b,h),!p.__e&&(p.shouldComponentUpdate!=null&&p.shouldComponentUpdate(b,p.__s,h)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(p.props=b,p.state=p.__s,p.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(E){E&&(E.__=t)}),_=0;_<p._sb.length;_++)p.__h.push(p._sb[_]);p._sb=[],p.__h.length&&a.push(p);break e}p.componentWillUpdate!=null&&p.componentWillUpdate(b,p.__s,h),p.componentDidUpdate!=null&&p.__h.push(function(){p.componentDidUpdate(s,c,f)})}if(p.context=h,p.props=b,p.__P=e,p.__e=!1,S=M.__r,k=0,"prototype"in T&&T.prototype.render){for(p.state=p.__s,p.__d=!1,S&&S(t),y=p.render(p.props,p.state,p.context),x=0;x<p._sb.length;x++)p.__h.push(p._sb[x]);p._sb=[]}else do p.__d=!1,S&&S(t),y=p.render(p.props,p.state,p.context),p.state=p.__s;while(p.__d&&++k<25);p.state=p.__s,p.getChildContext!=null&&(n=We(We({},n),p.getChildContext())),l||p.getSnapshotBeforeUpdate==null||(f=p.getSnapshotBeforeUpdate(s,c)),la(e,Br(C=y!=null&&y.type===be&&y.key==null?y.props.children:y)?C:[C],t,r,n,i,o,a,u,m,g),p.base=t.__e,t.__u&=-161,p.__h.length&&a.push(p),d&&(p.__E=p.__=null)}catch(E){t.__v=null,m||o!=null?(t.__e=u,t.__u|=m?160:32,o[o.indexOf(u)]=null):(t.__e=r.__e,t.__k=r.__k),M.__e(E,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=cc(r.__e,t,r,n,i,o,a,m,g);(y=M.diffed)&&y(t)}function fa(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)ai(r[n],r[++n],r[++n]);M.__c&&M.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){M.__e(o,i.__v)}})}function cc(e,t,r,n,i,o,a,u,m){var g,y,p,l,s,c,f,d=r.props,b=t.props,v=t.type;if(v==="svg"&&(i=!0),o!=null){for(g=0;g<o.length;g++)if((s=o[g])&&"setAttribute"in s==!!v&&(v?s.localName===v:s.nodeType===3)){e=s,o[g]=null;break}}if(e==null){if(v===null)return document.createTextNode(b);e=i?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,b.is&&b),o=null,u=!1}if(v===null)d===b||u&&e.data===b||(e.data=b);else{if(o=o&&rr.call(e.childNodes),d=r.props||Ut,!u&&o!=null)for(d={},g=0;g<e.attributes.length;g++)d[(s=e.attributes[g]).name]=s.value;for(g in d)s=d[g],g=="children"||(g=="dangerouslySetInnerHTML"?p=s:g==="key"||g in b||mr(e,g,null,s,i));for(g in b)s=b[g],g=="children"?l=s:g=="dangerouslySetInnerHTML"?y=s:g=="value"?c=s:g=="checked"?f=s:g==="key"||u&&typeof s!="function"||d[g]===s||mr(e,g,s,d[g],i);if(y)u||p&&(y.__html===p.__html||y.__html===e.innerHTML)||(e.innerHTML=y.__html),t.__k=[];else if(p&&(e.innerHTML=""),la(e,Br(l)?l:[l],t,r,n,i&&v!=="foreignObject",o,a,o?o[0]:r.__k&&_t(r,0),u,m),o!=null)for(g=o.length;g--;)o[g]!=null&&ca(o[g]);u||(g="value",c!==void 0&&(c!==e[g]||v==="progress"&&!c||v==="option"&&c!==d[g])&&mr(e,g,c,d[g],!1),g="checked",f!==void 0&&f!==e[g]&&mr(e,g,f,d[g],!1))}return e}function ai(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){M.__e(n,r)}}function Pn(e,t,r){var n,i;if(M.unmount&&M.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||ai(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){M.__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]&&Pn(n[i],t,r||typeof e.type!="function");r||e.__e==null||ca(e.__e),e.__=e.__e=e.__d=void 0}function uc(e,t,r){return this.constructor(e,r)}function Je(e,t,r){var n,i,o,a;M.__&&M.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],a=[],oi(t,e=(!n&&r||t).__k=Y(be,null,[e]),i||Ut,Ut,t.ownerSVGElement!==void 0,!n&&r?[r]:i?null:t.firstChild?rr.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,a),fa(o,e,a)}function si(e,t){Je(e,t,si)}function ci(e,t,r){var n,i,o,a,u=We({},e.props);for(o in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)o=="key"?n=t[o]:o=="ref"?i=t[o]:u[o]=t[o]===void 0&&a!==void 0?a[o]:t[o];return arguments.length>2&&(u.children=arguments.length>3?rr.call(arguments,2):r),$t(e.type,u,n||e.key,i||e.ref,null)}function jr(e,t){var r={__c:t="__cC"+aa++,__: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(a){this.props.value!==a.value&&i.some(function(u){u.__e=!0,Rn(u)})},this.sub=function(a){i.push(a);var u=a.componentWillUnmount;a.componentWillUnmount=function(){i.splice(i.indexOf(a),1),u&&u.call(a)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}rr=sa.slice,M={__e:function(e,t,r,n){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,n||{}),a=i.__d),a)return i.__E=i}catch(u){e=u}throw e}},ia=0,Ee.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),Rn(this))},Ee.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Rn(this))},Ee.prototype.render=be,nt=[],oa=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,An=function(e,t){return e.__v.__b-t.__v.__b},Ar.__r=0,aa=0;var He,K,hn,Ji,St=0,pa=[],Sr=[],Yi=M.__b,Xi=M.__r,Zi=M.diffed,eo=M.__c,to=M.unmount;function ut(e,t){M.__h&&M.__h(K,e,St||t),St=0;var r=K.__H||(K.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:Sr}),r.__[e]}function Le(e){return St=1,ui(ga,e)}function ui(e,t,r){var n=ut(He++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):ga(void 0,t),function(u){var m=n.__N?n.__N[0]:n.__[0],g=n.t(m,u);m!==g&&(n.__N=[g,n.__[1]],n.__c.setState({}))}],n.__c=K,!K.u)){var i=function(u,m,g){if(!n.__c.__H)return!0;var y=n.__c.__H.__.filter(function(l){return l.__c});if(y.every(function(l){return!l.__N}))return!o||o.call(this,u,m,g);var p=!1;return y.forEach(function(l){if(l.__N){var s=l.__[0];l.__=l.__N,l.__N=void 0,s!==l.__[0]&&(p=!0)}}),!(!p&&n.__c.props===u)&&(!o||o.call(this,u,m,g))};K.u=!0;var o=K.shouldComponentUpdate,a=K.componentWillUpdate;K.componentWillUpdate=function(u,m,g){if(this.__e){var y=o;o=void 0,i(u,m,g),o=y}a&&a.call(this,u,m,g)},K.shouldComponentUpdate=i}return n.__N||n.__}function ne(e,t){var r=ut(He++,3);!M.__s&&li(r.__H,t)&&(r.__=e,r.i=t,K.__H.__h.push(r))}function lt(e,t){var r=ut(He++,4);!M.__s&&li(r.__H,t)&&(r.__=e,r.i=t,K.__h.push(r))}function Se(e){return St=5,ae(function(){return{current:e}},[])}function ma(e,t,r){St=6,lt(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 ae(e,t){var r=ut(He++,7);return li(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function ht(e,t){return St=8,ae(function(){return e},t)}function Ct(e){var t=K.context[e.__c],r=ut(He++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(K)),t.props.value):e.__}function Rr(e,t){M.useDebugValue&&M.useDebugValue(t?t(e):e)}function lc(e){var t=ut(He++,10),r=Le();return t.__=e,K.componentDidCatch||(K.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function ha(){var e=ut(He++,11);if(!e.__){for(var t=K.__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 dc(){for(var e;e=pa.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(xr),e.__H.__h.forEach(In),e.__H.__h=[]}catch(t){e.__H.__h=[],M.__e(t,e.__v)}}M.__b=function(e){K=null,Yi&&Yi(e)},M.__r=function(e){Xi&&Xi(e),He=0;var t=(K=e.__c).__H;t&&(hn===K?(t.__h=[],K.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=Sr,r.__N=r.i=void 0})):(t.__h.forEach(xr),t.__h.forEach(In),t.__h=[],He=0)),hn=K},M.diffed=function(e){Zi&&Zi(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(pa.push(t)!==1&&Ji===M.requestAnimationFrame||((Ji=M.requestAnimationFrame)||fc)(dc)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==Sr&&(r.__=r.__V),r.i=void 0,r.__V=Sr})),hn=K=null},M.__c=function(e,t){t.some(function(r){try{r.__h.forEach(xr),r.__h=r.__h.filter(function(n){return!n.__||In(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],M.__e(n,r.__v)}}),eo&&eo(e,t)},M.unmount=function(e){to&&to(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{xr(n)}catch(i){t=i}}),r.__H=void 0,t&&M.__e(t,r.__v))};var ro=typeof requestAnimationFrame=="function";function fc(e){var t,r=function(){clearTimeout(n),ro&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);ro&&(t=requestAnimationFrame(r))}function xr(e){var t=K,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),K=t}function In(e){var t=K;e.__c=e.__(),K=t}function li(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function ga(e,t){return typeof t=="function"?t(e):t}function ya(e,t){for(var r in t)e[r]=t[r];return e}function On(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 Pr(e){this.props=e}function ba(e,t){function r(i){var o=this.props.ref,a=o==i.ref;return!a&&o&&(o.call?o(null):o.current=null),t?!t(this.props,i)||!a:On(this.props,i)}function n(i){return this.shouldComponentUpdate=r,Y(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(Pr.prototype=new Ee).isPureReactComponent=!0,Pr.prototype.shouldComponentUpdate=function(e,t){return On(this.props,e)||On(this.state,t)};var no=M.__b;M.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),no&&no(e)};var pc=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function di(e){function t(r){var n=ya({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=pc,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var io=function(e,t){return e==null?null:qe(qe(e).map(t))},va={map:io,forEach:io,count:function(e){return e?qe(e).length:0},only:function(e){var t=qe(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:qe},mc=M.__e;M.__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)}mc(e,t,r,n)};var oo=M.unmount;function wa(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=ya({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return wa(n,t,r)})),e}function _a(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return _a(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 Sa(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function xa(e){var t,r,n;function i(o){if(t||(t=e()).then(function(a){r=a.default||a},function(a){n=a}),n)throw n;if(!r)throw t;return Y(r,o)}return i.displayName="Lazy",i.__f=!0,i}function gt(){this.u=null,this.o=null}M.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),oo&&oo(e)},(Dt.prototype=new Ee).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=Sa(n.__v),o=!1,a=function(){o||(o=!0,r.__R=null,i?i(u):u())};r.__R=a;var u=function(){if(!--n.__u){if(n.state.__a){var m=n.state.__a;n.__v.__k[0]=_a(m,m.__c.__P,m.__c.__O)}var g;for(n.setState({__a:n.__b=null});g=n.t.pop();)g.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},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]=wa(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&Y(be,null,e.fallback);return i&&(i.__u&=-33),[Y(be,null,t.__a?null:e.children),i]};var ao=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 hc(e){return this.getChildContext=function(){return e.context},e.children}function gc(e){var t=this,r=e.i;t.componentWillUnmount=function(){Je(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)}}),Je(Y(hc,{context:t.context},e.__v),t.l)}function ka(e,t){var r=Y(gc,{__v:e,i:t});return r.containerInfo=t,r}(gt.prototype=new Ee).__a=function(e){var t=this,r=Sa(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),ao(t,e,n)):i()};r?r(o):o()}},gt.prototype.render=function(e){this.u=null,this.o=new Map;var t=qe(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},gt.prototype.componentDidUpdate=gt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){ao(e,r,t)})};var Ca=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,yc=/^(?: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]/,bc=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,vc=/[A-Z0-9]/g,wc=typeof document!="undefined",_c=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Ta(e,t,r){return t.__k==null&&(t.textContent=""),Je(e,t),typeof r=="function"&&r(),e?e.__c:null}function Ea(e,t,r){return si(e,t),typeof r=="function"&&r(),e?e.__c:null}Ee.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Ee.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var so=M.event;function Sc(){}function xc(){return this.cancelBubble}function kc(){return this.defaultPrevented}M.event=function(e){return so&&(e=so(e)),e.persist=Sc,e.isPropagationStopped=xc,e.isDefaultPrevented=kc,e.nativeEvent=e};var fi,Cc={enumerable:!1,configurable:!0,get:function(){return this.class}},co=M.vnode;M.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,n=t.type,i={};for(var o in r){var a=r[o];if(!(o==="value"&&"defaultValue"in r&&a==null||wc&&o==="children"&&n==="noscript"||o==="class"||o==="className")){var u=o.toLowerCase();o==="defaultValue"&&"value"in r&&r.value==null?o="value":o==="download"&&a===!0?a="":u==="ondoubleclick"?o="ondblclick":u!=="onchange"||n!=="input"&&n!=="textarea"||_c(r.type)?u==="onfocus"?o="onfocusin":u==="onblur"?o="onfocusout":bc.test(o)?o=u:n.indexOf("-")===-1&&yc.test(o)?o=o.replace(vc,"-$&").toLowerCase():a===null&&(a=void 0):u=o="oninput",u==="oninput"&&i[o=u]&&(o="oninputCapture"),i[o]=a}}n=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=qe(r.children).forEach(function(m){m.props.selected=i.value.indexOf(m.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=qe(r.children).forEach(function(m){m.props.selected=i.multiple?i.defaultValue.indexOf(m.props.value)!=-1:i.defaultValue==m.props.value})),r.class&&!r.className?(i.class=r.class,Object.defineProperty(i,"className",Cc)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=Ca,co&&co(e)};var uo=M.__r;M.__r=function(e){uo&&uo(e),fi=e.__c};var lo=M.diffed;M.diffed=function(e){lo&&lo(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),fi=null};var Aa={ReactCurrentDispatcher:{current:{readContext:function(e){return fi.__n[e.__c].props.value}}}},Tc="17.0.2";function Ra(e){return Y.bind(null,e)}function nr(e){return!!e&&e.$$typeof===Ca}function Pa(e){return nr(e)&&e.type===be}function Ia(e){return nr(e)?ci.apply(null,arguments):e}function Oa(e){return!!e.__k&&(Je(null,e),!0)}function Ma(e){return e&&(e.base||e.nodeType===1&&e)||null}var Na=function(e,t){return e(t)},Fa=function(e,t){return e(t)},$a=be;function pi(e){e()}function Da(e){return e}function La(){return[!1,pi]}var Ba=lt,za=nr;function ja(e,t){var r=t(),n=Le({h:{__:r,v:t}}),i=n[0].h,o=n[1];return lt(function(){i.__=r,i.v=t,gn(i)&&o({h:i})},[e,r,t]),ne(function(){return gn(i)&&o({h:i}),e(function(){gn(i)&&o({h:i})})},[e]),r}function gn(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(a){return!0}}var Ua={useState:Le,useId:ha,useReducer:ui,useEffect:ne,useLayoutEffect:lt,useInsertionEffect:Ba,useTransition:La,useDeferredValue:Da,useSyncExternalStore:ja,startTransition:pi,useRef:Se,useImperativeHandle:ma,useMemo:ae,useCallback:ht,useContext:Ct,useDebugValue:Rr,version:"17.0.2",Children:va,render:Ta,hydrate:Ea,unmountComponentAtNode:Oa,createPortal:ka,createElement:Y,createContext:jr,createFactory:Ra,cloneElement:Ia,createRef:zr,Fragment:be,isValidElement:nr,isElement:za,isFragment:Pa,findDOMNode:Ma,Component:Ee,PureComponent:Pr,memo:ba,forwardRef:di,flushSync:Fa,unstable_batchedUpdates:Na,StrictMode:$a,Suspense:Dt,SuspenseList:gt,lazy:xa,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Aa};const Wt=Object.freeze(Object.defineProperty({__proto__:null,Children:va,Component:Ee,Fragment:be,PureComponent:Pr,StrictMode:$a,Suspense:Dt,SuspenseList:gt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Aa,cloneElement:Ia,createContext:jr,createElement:Y,createFactory:Ra,createPortal:ka,createRef:zr,default:Ua,findDOMNode:Ma,flushSync:Fa,forwardRef:di,hydrate:Ea,isElement:za,isFragment:Pa,isValidElement:nr,lazy:xa,memo:ba,render:Ta,startTransition:pi,unmountComponentAtNode:Oa,unstable_batchedUpdates:Na,useCallback:ht,useContext:Ct,useDebugValue:Rr,useDeferredValue:Da,useEffect:ne,useErrorBoundary:lc,useId:ha,useImperativeHandle:ma,useInsertionEffect:Ba,useLayoutEffect:lt,useMemo:ae,useReducer:ui,useRef:Se,useState:Le,useSyncExternalStore:ja,useTransition:La,version:Tc},Symbol.toStringTag,{value:"Module"}));function Wa(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ec=/^((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|disableRemotePlayback|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)-.*))$/,Ac=Wa(function(e){return Ec.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Rc(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 Pc(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 Ic=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(Pc(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Rc(i);try{o.insertRule(n,o.cssRules.length)}catch(a){}}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}(),le="-ms-",Ir="-moz-",W="-webkit-",qa="comm",mi="rule",hi="decl",Oc="@import",Ha="@keyframes",Mc="@layer",Nc=Math.abs,Ur=String.fromCharCode,Fc=Object.assign;function $c(e,t){return se(e,0)^45?(((t<<2^se(e,0))<<2^se(e,1))<<2^se(e,2))<<2^se(e,3):0}function Va(e){return e.trim()}function Dc(e,t){return(e=t.exec(e))?e[0]:e}function q(e,t,r){return e.replace(t,r)}function Mn(e,t){return e.indexOf(t)}function se(e,t){return e.charCodeAt(t)|0}function qt(e,t,r){return e.slice(t,r)}function Me(e){return e.length}function gi(e){return e.length}function hr(e,t){return t.push(e),e}function Lc(e,t){return e.map(t).join("")}var Wr=1,xt=1,Qa=0,pe=0,Z=0,Tt="";function qr(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:Wr,column:xt,length:a,return:""}}function Pt(e,t){return Fc(qr("",null,null,"",null,null,0),e,{length:-e.length},t)}function Bc(){return Z}function zc(){return Z=pe>0?se(Tt,--pe):0,xt--,Z===10&&(xt=1,Wr--),Z}function ye(){return Z=pe<Qa?se(Tt,pe++):0,xt++,Z===10&&(xt=1,Wr++),Z}function Fe(){return se(Tt,pe)}function kr(){return pe}function ir(e,t){return qt(Tt,e,t)}function Ht(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 Ka(e){return Wr=xt=1,Qa=Me(Tt=e),pe=0,[]}function Ga(e){return Tt="",e}function Cr(e){return Va(ir(pe-1,Nn(e===91?e+2:e===40?e+1:e)))}function jc(e){for(;(Z=Fe())&&Z<33;)ye();return Ht(e)>2||Ht(Z)>3?"":" "}function Uc(e,t){for(;--t&&ye()&&!(Z<48||Z>102||Z>57&&Z<65||Z>70&&Z<97););return ir(e,kr()+(t<6&&Fe()==32&&ye()==32))}function Nn(e){for(;ye();)switch(Z){case e:return pe;case 34:case 39:e!==34&&e!==39&&Nn(Z);break;case 40:e===41&&Nn(e);break;case 92:ye();break}return pe}function Wc(e,t){for(;ye()&&e+Z!==57;)if(e+Z===84&&Fe()===47)break;return"/*"+ir(t,pe-1)+"*"+Ur(e===47?e:ye())}function qc(e){for(;!Ht(Fe());)ye();return ir(e,pe)}function Hc(e){return Ga(Tr("",null,null,null,[""],e=Ka(e),0,[0],e))}function Tr(e,t,r,n,i,o,a,u,m){for(var g=0,y=0,p=a,l=0,s=0,c=0,f=1,d=1,b=1,v=0,h="",_=i,S=o,k=n,x=h;d;)switch(c=v,v=ye()){case 40:if(c!=108&&se(x,p-1)==58){Mn(x+=q(Cr(v),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:x+=Cr(v);break;case 9:case 10:case 13:case 32:x+=jc(c);break;case 92:x+=Uc(kr()-1,7);continue;case 47:switch(Fe()){case 42:case 47:hr(Vc(Wc(ye(),kr()),t,r),m);break;default:x+="/"}break;case 123*f:u[g++]=Me(x)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:d=0;case 59+y:b==-1&&(x=q(x,/\f/g,"")),s>0&&Me(x)-p&&hr(s>32?po(x+";",n,r,p-1):po(q(x," ","")+";",n,r,p-2),m);break;case 59:x+=";";default:if(hr(k=fo(x,t,r,g,y,i,u,h,_=[],S=[],p),o),v===123)if(y===0)Tr(x,t,k,k,_,o,p,u,S);else switch(l===99&&se(x,3)===110?100:l){case 100:case 108:case 109:case 115:Tr(e,k,k,n&&hr(fo(e,k,k,0,0,i,u,h,i,_=[],p),S),i,S,p,u,n?_:S);break;default:Tr(x,k,k,k,[""],S,0,u,S)}}g=y=s=0,f=b=1,h=x="",p=a;break;case 58:p=1+Me(x),s=c;default:if(f<1){if(v==123)--f;else if(v==125&&f++==0&&zc()==125)continue}switch(x+=Ur(v),v*f){case 38:b=y>0?1:(x+="\f",-1);break;case 44:u[g++]=(Me(x)-1)*b,b=1;break;case 64:Fe()===45&&(x+=Cr(ye())),l=Fe(),y=p=Me(h=x+=qc(kr())),v++;break;case 45:c===45&&Me(x)==2&&(f=0)}}return o}function fo(e,t,r,n,i,o,a,u,m,g,y){for(var p=i-1,l=i===0?o:[""],s=gi(l),c=0,f=0,d=0;c<n;++c)for(var b=0,v=qt(e,p+1,p=Nc(f=a[c])),h=e;b<s;++b)(h=Va(f>0?l[b]+" "+v:q(v,/&\f/g,l[b])))&&(m[d++]=h);return qr(e,t,r,i===0?mi:u,m,g,y)}function Vc(e,t,r){return qr(e,t,r,qa,Ur(Bc()),qt(e,2,-2),0)}function po(e,t,r,n){return qr(e,t,r,hi,qt(e,0,n),qt(e,n+1,-1),n)}function bt(e,t){for(var r="",n=gi(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function Qc(e,t,r,n){switch(e.type){case Mc:if(e.children.length)break;case Oc:case hi:return e.return=e.return||e.value;case qa:return"";case Ha:return e.return=e.value+"{"+bt(e.children,n)+"}";case mi:e.value=e.props.join(",")}return Me(r=bt(e.children,n))?e.return=e.value+"{"+r+"}":""}function Kc(e){var t=gi(e);return function(r,n,i,o){for(var a="",u=0;u<t;u++)a+=e[u](r,n,i,o)||"";return a}}function Gc(e){return function(t){t.root||(t=t.return)&&e(t)}}var Jc=function(t,r,n){for(var i=0,o=0;i=o,o=Fe(),i===38&&o===12&&(r[n]=1),!Ht(o);)ye();return ir(t,pe)},Yc=function(t,r){var n=-1,i=44;do switch(Ht(i)){case 0:i===38&&Fe()===12&&(r[n]=1),t[n]+=Jc(pe-1,r,n);break;case 2:t[n]+=Cr(i);break;case 4:if(i===44){t[++n]=Fe()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Ur(i)}while(i=ye());return t},Xc=function(t,r){return Ga(Yc(Ka(t),r))},mo=new WeakMap,Zc=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&&!mo.get(n))&&!i){mo.set(t,!0);for(var o=[],a=Xc(r,o),u=n.props,m=0,g=0;m<a.length;m++)for(var y=0;y<u.length;y++,g++)t.props[g]=o[m]?a[m].replace(/&\f/g,u[y]):u[y]+" "+a[m]}}},eu=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Ja(e,t){switch($c(e,t)){case 5103:return W+"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 W+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return W+e+Ir+e+le+e+e;case 6828:case 4268:return W+e+le+e+e;case 6165:return W+e+le+"flex-"+e+e;case 5187:return W+e+q(e,/(\w+).+(:[^]+)/,W+"box-$1$2"+le+"flex-$1$2")+e;case 5443:return W+e+le+"flex-item-"+q(e,/flex-|-self/,"")+e;case 4675:return W+e+le+"flex-line-pack"+q(e,/align-content|flex-|-self/,"")+e;case 5548:return W+e+le+q(e,"shrink","negative")+e;case 5292:return W+e+le+q(e,"basis","preferred-size")+e;case 6060:return W+"box-"+q(e,"-grow","")+W+e+le+q(e,"grow","positive")+e;case 4554:return W+q(e,/([^-])(transform)/g,"$1"+W+"$2")+e;case 6187:return q(q(q(e,/(zoom-|grab)/,W+"$1"),/(image-set)/,W+"$1"),e,"")+e;case 5495:case 3959:return q(e,/(image-set\([^]*)/,W+"$1$`$1");case 4968:return q(q(e,/(.+:)(flex-)?(.*)/,W+"box-pack:$3"+le+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+W+e+e;case 4095:case 3583:case 4068:case 2532:return q(e,/(.+)-inline(.+)/,W+"$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(Me(e)-1-t>6)switch(se(e,t+1)){case 109:if(se(e,t+4)!==45)break;case 102:return q(e,/(.+:)(.+)-([^]+)/,"$1"+W+"$2-$3$1"+Ir+(se(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Mn(e,"stretch")?Ja(q(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(se(e,t+1)!==115)break;case 6444:switch(se(e,Me(e)-3-(~Mn(e,"!important")&&10))){case 107:return q(e,":",":"+W)+e;case 101:return q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+W+(se(e,14)===45?"inline-":"")+"box$3$1"+W+"$2$3$1"+le+"$2box$3")+e}break;case 5936:switch(se(e,t+11)){case 114:return W+e+le+q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return W+e+le+q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return W+e+le+q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return W+e+le+e+e}return e}var tu=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case hi:t.return=Ja(t.value,t.length);break;case Ha:return bt([Pt(t,{value:q(t.value,"@","@"+W)})],i);case mi:if(t.length)return Lc(t.props,function(o){switch(Dc(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return bt([Pt(t,{props:[q(o,/:(read-\w+)/,":"+Ir+"$1")]})],i);case"::placeholder":return bt([Pt(t,{props:[q(o,/:(plac\w+)/,":"+W+"input-$1")]}),Pt(t,{props:[q(o,/:(plac\w+)/,":"+Ir+"$1")]}),Pt(t,{props:[q(o,/:(plac\w+)/,le+"input-$1")]})],i)}return""})}},ru=[tu],Ya=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(f){var d=f.getAttribute("data-emotion");d.indexOf(" ")!==-1&&(document.head.appendChild(f),f.setAttribute("data-s",""))})}var i=t.stylisPlugins||ru,o={},a,u=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(f){for(var d=f.getAttribute("data-emotion").split(" "),b=1;b<d.length;b++)o[d[b]]=!0;u.push(f)});var m,g=[Zc,eu];{var y,p=[Qc,Gc(function(f){y.insert(f)})],l=Kc(g.concat(i,p)),s=function(d){return bt(Hc(d),l)};m=function(d,b,v,h){y=v,s(d?d+"{"+b.styles+"}":b.styles),h&&(c.inserted[b.name]=!0)}}var c={key:r,sheet:new Ic({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:m};return c.sheet.hydrate(u),c},nu=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function iu(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 Xa={exports:{}},Q={};/** @license React v16.13.1
1
+ var ru=Object.defineProperty,nu=Object.defineProperties;var iu=Object.getOwnPropertyDescriptors;var xr=Object.getOwnPropertySymbols;var xo=Object.prototype.hasOwnProperty,Eo=Object.prototype.propertyIsEnumerable;var Nn=(e,t,r)=>t in e?ru(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,I=(e,t)=>{for(var r in t||(t={}))xo.call(t,r)&&Nn(e,r,t[r]);if(xr)for(var r of xr(t))Eo.call(t,r)&&Nn(e,r,t[r]);return e},$=(e,t)=>nu(e,iu(t));var ot=(e,t)=>{var r={};for(var n in e)xo.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&xr)for(var n of xr(e))t.indexOf(n)<0&&Eo.call(e,n)&&(r[n]=e[n]);return r};var On=(e,t,r)=>(Nn(e,typeof t!="symbol"?t+"":t,r),r);var pe=(e,t,r)=>new Promise((n,i)=>{var o=u=>{try{a(r.next(u))}catch(h){i(h)}},s=u=>{try{a(r.throw(u))}catch(h){i(h)}},a=u=>u.done?n(u.value):Promise.resolve(u.value).then(o,s);a((r=r.apply(e,t)).next())});(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)}})();function Xn(){return Xn=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},Xn.apply(this,arguments)}var fr,O,Us,ct,To,js,Zn,Hs,Xt={},qs=[],ou=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,tn=Array.isArray;function Qe(e,t){for(var r in t)e[r]=t[r];return e}function Ws(e){var t=e.parentNode;t&&t.removeChild(e)}function X(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?fr.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 Wt(e,s,n,i,null)}function Wt(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==null?++Us:i,__i:-1,__u:0};return i==null&&O.vnode!=null&&O.vnode(o),o}function rn(){return{current:null}}function ve(e){return e.children}function Pe(e,t){this.props=e,this.context=t}function Et(e,t){if(t==null)return e.__?Et(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"?Et(e):null}function Vs(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 Vs(e)}}function ei(e){(!e.__d&&(e.__d=!0)&&ct.push(e)&&!jr.__r++||To!==O.debounceRendering)&&((To=O.debounceRendering)||js)(jr)}function jr(){var e,t,r,n,i,o,s,a,u;for(ct.sort(Zn);e=ct.shift();)e.__d&&(t=ct.length,n=void 0,o=(i=(r=e).__v).__e,a=[],u=[],(s=r.__P)&&((n=Qe({},i)).__v=i.__v+1,O.vnode&&O.vnode(n),Oi(s,n,i,r.__n,s.ownerSVGElement!==void 0,32&i.__u?[o]:null,a,o==null?Et(i):o,!!(32&i.__u),u),n.__.__k[n.__i]=n,Js(a,n,u),n.__e!=o&&Vs(n)),ct.length>t&&ct.sort(Zn));jr.__r=0}function Qs(e,t,r,n,i,o,s,a,u,h,g){var m,d,c,l,f,p=n&&n.__k||qs,w=t.length;for(r.__d=u,su(r,t,p),u=r.__d,m=0;m<w;m++)(c=r.__k[m])!=null&&typeof c!="boolean"&&typeof c!="function"&&(d=c.__i===-1?Xt:p[c.__i]||Xt,c.__i=m,Oi(e,c,d,i,o,s,a,u,h,g),l=c.__e,c.ref&&d.ref!=c.ref&&(d.ref&&Bi(d.ref,null,c),g.push(c.ref,c.__c||l,c)),f==null&&l!=null&&(f=l),65536&c.__u||d.__k===c.__k?u=Ks(c,u,e):typeof c.type=="function"&&c.__d!==void 0?u=c.__d:l&&(u=l.nextSibling),c.__d=void 0,c.__u&=-196609);r.__d=u,r.__e=f}function su(e,t,r){var n,i,o,s,a,u=t.length,h=r.length,g=h,m=0;for(e.__k=[],n=0;n<u;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?Wt(null,i,null,null,i):tn(i)?Wt(ve,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?Wt(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)!=null?(i.__=e,i.__b=e.__b+1,a=au(i,r,s=n+m,g),i.__i=a,o=null,a!==-1&&(g--,(o=r[a])&&(o.__u|=131072)),o==null||o.__v===null?(a==-1&&m--,typeof i.type!="function"&&(i.__u|=65536)):a!==s&&(a===s+1?m++:a>s?g>u-s?m+=a-s:m--:m=a<s&&a==s-1?a-s:0,a!==n+m&&(i.__u|=65536))):(o=r[n])&&o.key==null&&o.__e&&(o.__e==e.__d&&(e.__d=Et(o)),ti(o,o,!1),r[n]=null,g--);if(g)for(n=0;n<h;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=Et(o)),ti(o,o))}function Ks(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=Ks(n[i],t,r));return t}return e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function Ke(e,t){return t=t||[],e==null||typeof e=="boolean"||(tn(e)?e.some(function(r){Ke(r,t)}):t.push(e)),t}function au(e,t,r,n){var i=e.key,o=e.type,s=r-1,a=r+1,u=t[r];if(u===null||u&&i==u.key&&o===u.type)return r;if(n>(u!=null&&!(131072&u.__u)?1:0))for(;s>=0||a<t.length;){if(s>=0){if((u=t[s])&&!(131072&u.__u)&&i==u.key&&o===u.type)return s;s--}if(a<t.length){if((u=t[a])&&!(131072&u.__u)&&i==u.key&&o===u.type)return a;a++}}return-1}function Ao(e,t,r){t[0]==="-"?e.setProperty(t,r==null?"":r):e[t]=r==null?"":typeof r!="number"||ou.test(t)?r:r+"px"}function Er(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||Ao(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Ao(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?Po:Ro,o)):e.removeEventListener(t,o?Po:Ro,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==null?"":r;break e}catch(s){}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,r))}}function Ro(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 Po(e){return this.l[e.type+!0](O.event?O.event(e):e)}function Oi(e,t,r,n,i,o,s,a,u,h){var g,m,d,c,l,f,p,w,b,y,v,S,k,C,x,E=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(u=!!(32&r.__u),o=[a=t.__e=r.__e]),(g=O.__b)&&g(t);e:if(typeof E=="function")try{if(w=t.props,b=(g=E.contextType)&&n[g.__c],y=g?b?b.props.value:g.__:n,r.__c?p=(m=t.__c=r.__c).__=m.__E:("prototype"in E&&E.prototype.render?t.__c=m=new E(w,y):(t.__c=m=new Pe(w,y),m.constructor=E,m.render=uu),b&&b.sub(m),m.props=w,m.state||(m.state={}),m.context=y,m.__n=n,d=m.__d=!0,m.__h=[],m._sb=[]),m.__s==null&&(m.__s=m.state),E.getDerivedStateFromProps!=null&&(m.__s==m.state&&(m.__s=Qe({},m.__s)),Qe(m.__s,E.getDerivedStateFromProps(w,m.__s))),c=m.props,l=m.state,m.__v=t,d)E.getDerivedStateFromProps==null&&m.componentWillMount!=null&&m.componentWillMount(),m.componentDidMount!=null&&m.__h.push(m.componentDidMount);else{if(E.getDerivedStateFromProps==null&&w!==c&&m.componentWillReceiveProps!=null&&m.componentWillReceiveProps(w,y),!m.__e&&(m.shouldComponentUpdate!=null&&m.shouldComponentUpdate(w,m.__s,y)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(m.props=w,m.state=m.__s,m.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(T){T&&(T.__=t)}),v=0;v<m._sb.length;v++)m.__h.push(m._sb[v]);m._sb=[],m.__h.length&&s.push(m);break e}m.componentWillUpdate!=null&&m.componentWillUpdate(w,m.__s,y),m.componentDidUpdate!=null&&m.__h.push(function(){m.componentDidUpdate(c,l,f)})}if(m.context=y,m.props=w,m.__P=e,m.__e=!1,S=O.__r,k=0,"prototype"in E&&E.prototype.render){for(m.state=m.__s,m.__d=!1,S&&S(t),g=m.render(m.props,m.state,m.context),C=0;C<m._sb.length;C++)m.__h.push(m._sb[C]);m._sb=[]}else do m.__d=!1,S&&S(t),g=m.render(m.props,m.state,m.context),m.state=m.__s;while(m.__d&&++k<25);m.state=m.__s,m.getChildContext!=null&&(n=Qe(Qe({},n),m.getChildContext())),d||m.getSnapshotBeforeUpdate==null||(f=m.getSnapshotBeforeUpdate(c,l)),Qs(e,tn(x=g!=null&&g.type===ve&&g.key==null?g.props.children:g)?x:[x],t,r,n,i,o,s,a,u,h),m.base=t.__e,t.__u&=-161,m.__h.length&&s.push(m),p&&(m.__E=m.__=null)}catch(T){t.__v=null,u||o!=null?(t.__e=a,t.__u|=u?160:32,o[o.indexOf(a)]=null):(t.__e=r.__e,t.__k=r.__k),O.__e(T,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=cu(r.__e,t,r,n,i,o,s,u,h);(g=O.diffed)&&g(t)}function Js(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)Bi(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 cu(e,t,r,n,i,o,s,a,u){var h,g,m,d,c,l,f,p=r.props,w=t.props,b=t.type;if(b==="svg"&&(i=!0),o!=null){for(h=0;h<o.length;h++)if((c=o[h])&&"setAttribute"in c==!!b&&(b?c.localName===b:c.nodeType===3)){e=c,o[h]=null;break}}if(e==null){if(b===null)return document.createTextNode(w);e=i?document.createElementNS("http://www.w3.org/2000/svg",b):document.createElement(b,w.is&&w),o=null,a=!1}if(b===null)p===w||a&&e.data===w||(e.data=w);else{if(o=o&&fr.call(e.childNodes),p=r.props||Xt,!a&&o!=null)for(p={},h=0;h<e.attributes.length;h++)p[(c=e.attributes[h]).name]=c.value;for(h in p)c=p[h],h=="children"||(h=="dangerouslySetInnerHTML"?m=c:h==="key"||h in w||Er(e,h,null,c,i));for(h in w)c=w[h],h=="children"?d=c:h=="dangerouslySetInnerHTML"?g=c:h=="value"?l=c:h=="checked"?f=c:h==="key"||a&&typeof c!="function"||p[h]===c||Er(e,h,c,p[h],i);if(g)a||m&&(g.__html===m.__html||g.__html===e.innerHTML)||(e.innerHTML=g.__html),t.__k=[];else if(m&&(e.innerHTML=""),Qs(e,tn(d)?d:[d],t,r,n,i&&b!=="foreignObject",o,s,o?o[0]:r.__k&&Et(r,0),a,u),o!=null)for(h=o.length;h--;)o[h]!=null&&Ws(o[h]);a||(h="value",l!==void 0&&(l!==e[h]||b==="progress"&&!l||b==="option"&&l!==p[h])&&Er(e,h,l,p[h],!1),h="checked",f!==void 0&&f!==e[h]&&Er(e,h,f,p[h],!1))}return e}function Bi(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){O.__e(n,r)}}function ti(e,t,r){var n,i;if(O.unmount&&O.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||Bi(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]&&ti(n[i],t,r||typeof e.type!="function");r||e.__e==null||Ws(e.__e),e.__=e.__e=e.__d=void 0}function uu(e,t,r){return this.constructor(e,r)}function et(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=[],Oi(t,e=(!n&&r||t).__k=X(ve,null,[e]),i||Xt,Xt,t.ownerSVGElement!==void 0,!n&&r?[r]:i?null:t.firstChild?fr.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,s),Js(o,e,s)}function Fi(e,t){et(e,t,Fi)}function Di(e,t,r){var n,i,o,s,a=Qe({},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?fr.call(arguments,2):r),Wt(e.type,a,n||e.key,i||e.ref,null)}function nn(e,t){var r={__c:t="__cC"+Hs++,__: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,ei(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}fr=qs.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}},Us=0,Pe.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Qe({},this.state),typeof e=="function"&&(e=e(Qe({},r),this.props)),e&&Qe(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),ei(this))},Pe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ei(this))},Pe.prototype.render=ve,ct=[],js=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Zn=function(e,t){return e.__v.__b-t.__v.__b},jr.__r=0,Hs=0;var Ye,K,Bn,Io,Tt=0,Ys=[],Fr=[],Mo=O.__b,No=O.__r,Oo=O.diffed,Bo=O.__c,Fo=O.unmount;function ht(e,t){O.__h&&O.__h(K,e,Tt||t),Tt=0;var r=K.__H||(K.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:Fr}),r.__[e]}function we(e){return Tt=1,Li(Zs,e)}function Li(e,t,r){var n=ht(Ye++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):Zs(void 0,t),function(a){var u=n.__N?n.__N[0]:n.__[0],h=n.t(u,a);u!==h&&(n.__N=[h,n.__[1]],n.__c.setState({}))}],n.__c=K,!K.u)){var i=function(a,u,h){if(!n.__c.__H)return!0;var g=n.__c.__H.__.filter(function(d){return d.__c});if(g.every(function(d){return!d.__N}))return!o||o.call(this,a,u,h);var m=!1;return g.forEach(function(d){if(d.__N){var c=d.__[0];d.__=d.__N,d.__N=void 0,c!==d.__[0]&&(m=!0)}}),!(!m&&n.__c.props===a)&&(!o||o.call(this,a,u,h))};K.u=!0;var o=K.shouldComponentUpdate,s=K.componentWillUpdate;K.componentWillUpdate=function(a,u,h){if(this.__e){var g=o;o=void 0,i(a,u,h),o=g}s&&s.call(this,a,u,h)},K.shouldComponentUpdate=i}return n.__N||n.__}function te(e,t){var r=ht(Ye++,3);!O.__s&&$i(r.__H,t)&&(r.__=e,r.i=t,K.__H.__h.push(r))}function mt(e,t){var r=ht(Ye++,4);!O.__s&&$i(r.__H,t)&&(r.__=e,r.i=t,K.__h.push(r))}function xe(e){return Tt=5,ae(function(){return{current:e}},[])}function Gs(e,t,r){Tt=6,mt(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 ae(e,t){var r=ht(Ye++,7);return $i(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function vt(e,t){return Tt=8,ae(function(){return e},t)}function Ot(e){var t=K.context[e.__c],r=ht(Ye++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(K)),t.props.value):e.__}function Hr(e,t){O.useDebugValue&&O.useDebugValue(t?t(e):e)}function lu(e){var t=ht(Ye++,10),r=we();return t.__=e,K.componentDidCatch||(K.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function Xs(){var e=ht(Ye++,11);if(!e.__){for(var t=K.__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 du(){for(var e;e=Ys.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Dr),e.__H.__h.forEach(ri),e.__H.__h=[]}catch(t){e.__H.__h=[],O.__e(t,e.__v)}}O.__b=function(e){K=null,Mo&&Mo(e)},O.__r=function(e){No&&No(e),Ye=0;var t=(K=e.__c).__H;t&&(Bn===K?(t.__h=[],K.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=Fr,r.__N=r.i=void 0})):(t.__h.forEach(Dr),t.__h.forEach(ri),t.__h=[],Ye=0)),Bn=K},O.diffed=function(e){Oo&&Oo(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ys.push(t)!==1&&Io===O.requestAnimationFrame||((Io=O.requestAnimationFrame)||fu)(du)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==Fr&&(r.__=r.__V),r.i=void 0,r.__V=Fr})),Bn=K=null},O.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Dr),r.__h=r.__h.filter(function(n){return!n.__||ri(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],O.__e(n,r.__v)}}),Bo&&Bo(e,t)},O.unmount=function(e){Fo&&Fo(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Dr(n)}catch(i){t=i}}),r.__H=void 0,t&&O.__e(t,r.__v))};var Do=typeof requestAnimationFrame=="function";function fu(e){var t,r=function(){clearTimeout(n),Do&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);Do&&(t=requestAnimationFrame(r))}function Dr(e){var t=K,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),K=t}function ri(e){var t=K;e.__c=e.__(),K=t}function $i(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function Zs(e,t){return typeof t=="function"?t(e):t}function ea(e,t){for(var r in t)e[r]=t[r];return e}function ni(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 qr(e){this.props=e}function ta(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:ni(this.props,i)}function n(i){return this.shouldComponentUpdate=r,X(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(qr.prototype=new Pe).isPureReactComponent=!0,qr.prototype.shouldComponentUpdate=function(e,t){return ni(this.props,e)||ni(this.state,t)};var Lo=O.__b;O.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Lo&&Lo(e)};var pu=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function zi(e){function t(r){var n=ea({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=pu,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var $o=function(e,t){return e==null?null:Ke(Ke(e).map(t))},ra={map:$o,forEach:$o,count:function(e){return e?Ke(e).length:0},only:function(e){var t=Ke(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Ke},hu=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)}hu(e,t,r,n)};var zo=O.unmount;function na(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=ea({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return na(n,t,r)})),e}function ia(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return ia(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 Vt(){this.__u=0,this.t=null,this.__b=null}function oa(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function sa(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 X(r,o)}return i.displayName="Lazy",i.__f=!0,i}function _t(){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),zo&&zo(e)},(Vt.prototype=new Pe).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=oa(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 u=n.state.__a;n.__v.__k[0]=ia(u,u.__c.__P,u.__c.__O)}var h;for(n.setState({__a:n.__b=null});h=n.t.pop();)h.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(s,s)},Vt.prototype.componentWillUnmount=function(){this.t=[]},Vt.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]=na(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&X(ve,null,e.fallback);return i&&(i.__u&=-33),[X(ve,null,t.__a?null:e.children),i]};var Uo=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 mu(e){return this.getChildContext=function(){return e.context},e.children}function gu(e){var t=this,r=e.i;t.componentWillUnmount=function(){et(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)}}),et(X(mu,{context:t.context},e.__v),t.l)}function aa(e,t){var r=X(gu,{__v:e,i:t});return r.containerInfo=t,r}(_t.prototype=new Pe).__a=function(e){var t=this,r=oa(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),Uo(t,e,n)):i()};r?r(o):o()}},_t.prototype.render=function(e){this.u=null,this.o=new Map;var t=Ke(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},_t.prototype.componentDidUpdate=_t.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){Uo(e,r,t)})};var ca=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,yu=/^(?: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]/,wu=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,bu=/[A-Z0-9]/g,vu=typeof document!="undefined",_u=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function ua(e,t,r){return t.__k==null&&(t.textContent=""),et(e,t),typeof r=="function"&&r(),e?e.__c:null}function la(e,t,r){return Fi(e,t),typeof r=="function"&&r(),e?e.__c:null}Pe.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Pe.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var jo=O.event;function Su(){}function Cu(){return this.cancelBubble}function ku(){return this.defaultPrevented}O.event=function(e){return jo&&(e=jo(e)),e.persist=Su,e.isPropagationStopped=Cu,e.isDefaultPrevented=ku,e.nativeEvent=e};var Ui,xu={enumerable:!1,configurable:!0,get:function(){return this.class}},Ho=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||vu&&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"||_u(r.type)?a==="onfocus"?o="onfocusin":a==="onblur"?o="onfocusout":wu.test(o)?o=a:n.indexOf("-")===-1&&yu.test(o)?o=o.replace(bu,"-$&").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=Ke(r.children).forEach(function(u){u.props.selected=i.value.indexOf(u.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=Ke(r.children).forEach(function(u){u.props.selected=i.multiple?i.defaultValue.indexOf(u.props.value)!=-1:i.defaultValue==u.props.value})),r.class&&!r.className?(i.class=r.class,Object.defineProperty(i,"className",xu)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=ca,Ho&&Ho(e)};var qo=O.__r;O.__r=function(e){qo&&qo(e),Ui=e.__c};var Wo=O.diffed;O.diffed=function(e){Wo&&Wo(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),Ui=null};var da={ReactCurrentDispatcher:{current:{readContext:function(e){return Ui.__n[e.__c].props.value}}}},Eu="17.0.2";function fa(e){return X.bind(null,e)}function pr(e){return!!e&&e.$$typeof===ca}function pa(e){return pr(e)&&e.type===ve}function ha(e){return pr(e)?Di.apply(null,arguments):e}function ma(e){return!!e.__k&&(et(null,e),!0)}function ga(e){return e&&(e.base||e.nodeType===1&&e)||null}var ya=function(e,t){return e(t)},wa=function(e,t){return e(t)},ba=ve;function ji(e){e()}function va(e){return e}function _a(){return[!1,ji]}var Sa=mt,Ca=pr;function ka(e,t){var r=t(),n=we({h:{__:r,v:t}}),i=n[0].h,o=n[1];return mt(function(){i.__=r,i.v=t,Fn(i)&&o({h:i})},[e,r,t]),te(function(){return Fn(i)&&o({h:i}),e(function(){Fn(i)&&o({h:i})})},[e]),r}function Fn(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(s){return!0}}var xa={useState:we,useId:Xs,useReducer:Li,useEffect:te,useLayoutEffect:mt,useInsertionEffect:Sa,useTransition:_a,useDeferredValue:va,useSyncExternalStore:ka,startTransition:ji,useRef:xe,useImperativeHandle:Gs,useMemo:ae,useCallback:vt,useContext:Ot,useDebugValue:Hr,version:"17.0.2",Children:ra,render:ua,hydrate:la,unmountComponentAtNode:ma,createPortal:aa,createElement:X,createContext:nn,createFactory:fa,cloneElement:ha,createRef:rn,Fragment:ve,isValidElement:pr,isElement:Ca,isFragment:pa,findDOMNode:ga,Component:Pe,PureComponent:qr,memo:ta,forwardRef:zi,flushSync:wa,unstable_batchedUpdates:ya,StrictMode:ba,Suspense:Vt,SuspenseList:_t,lazy:sa,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:da};const Zt=Object.freeze(Object.defineProperty({__proto__:null,Children:ra,Component:Pe,Fragment:ve,PureComponent:qr,StrictMode:ba,Suspense:Vt,SuspenseList:_t,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:da,cloneElement:ha,createContext:nn,createElement:X,createFactory:fa,createPortal:aa,createRef:rn,default:xa,findDOMNode:ga,flushSync:wa,forwardRef:zi,hydrate:la,isElement:Ca,isFragment:pa,isValidElement:pr,lazy:sa,memo:ta,render:ua,startTransition:ji,unmountComponentAtNode:ma,unstable_batchedUpdates:ya,useCallback:vt,useContext:Ot,useDebugValue:Hr,useDeferredValue:va,useEffect:te,useErrorBoundary:lu,useId:Xs,useImperativeHandle:Gs,useInsertionEffect:Sa,useLayoutEffect:mt,useMemo:ae,useReducer:Li,useRef:xe,useState:we,useSyncExternalStore:ka,useTransition:_a,version:Eu},Symbol.toStringTag,{value:"Module"}));function Ea(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Tu=/^((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|disableRemotePlayback|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)-.*))$/,Au=Ea(function(e){return Tu.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Ru(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 Pu(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 Iu=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(Pu(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Ru(i);try{o.insertRule(n,o.cssRules.length)}catch(s){}}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}(),de="-ms-",Wr="-moz-",H="-webkit-",Ta="comm",Hi="rule",qi="decl",Mu="@import",Aa="@keyframes",Nu="@layer",Ou=Math.abs,on=String.fromCharCode,Bu=Object.assign;function Fu(e,t){return ce(e,0)^45?(((t<<2^ce(e,0))<<2^ce(e,1))<<2^ce(e,2))<<2^ce(e,3):0}function Ra(e){return e.trim()}function Du(e,t){return(e=t.exec(e))?e[0]:e}function q(e,t,r){return e.replace(t,r)}function ii(e,t){return e.indexOf(t)}function ce(e,t){return e.charCodeAt(t)|0}function er(e,t,r){return e.slice(t,r)}function Fe(e){return e.length}function Wi(e){return e.length}function Tr(e,t){return t.push(e),e}function Lu(e,t){return e.map(t).join("")}var sn=1,At=1,Pa=0,me=0,ee=0,Bt="";function an(e,t,r,n,i,o,s){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:sn,column:At,length:s,return:""}}function $t(e,t){return Bu(an("",null,null,"",null,null,0),e,{length:-e.length},t)}function $u(){return ee}function zu(){return ee=me>0?ce(Bt,--me):0,At--,ee===10&&(At=1,sn--),ee}function be(){return ee=me<Pa?ce(Bt,me++):0,At++,ee===10&&(At=1,sn++),ee}function Le(){return ce(Bt,me)}function Lr(){return me}function hr(e,t){return er(Bt,e,t)}function tr(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 Ia(e){return sn=At=1,Pa=Fe(Bt=e),me=0,[]}function Ma(e){return Bt="",e}function $r(e){return Ra(hr(me-1,oi(e===91?e+2:e===40?e+1:e)))}function Uu(e){for(;(ee=Le())&&ee<33;)be();return tr(e)>2||tr(ee)>3?"":" "}function ju(e,t){for(;--t&&be()&&!(ee<48||ee>102||ee>57&&ee<65||ee>70&&ee<97););return hr(e,Lr()+(t<6&&Le()==32&&be()==32))}function oi(e){for(;be();)switch(ee){case e:return me;case 34:case 39:e!==34&&e!==39&&oi(ee);break;case 40:e===41&&oi(e);break;case 92:be();break}return me}function Hu(e,t){for(;be()&&e+ee!==57;)if(e+ee===84&&Le()===47)break;return"/*"+hr(t,me-1)+"*"+on(e===47?e:be())}function qu(e){for(;!tr(Le());)be();return hr(e,me)}function Wu(e){return Ma(zr("",null,null,null,[""],e=Ia(e),0,[0],e))}function zr(e,t,r,n,i,o,s,a,u){for(var h=0,g=0,m=s,d=0,c=0,l=0,f=1,p=1,w=1,b=0,y="",v=i,S=o,k=n,C=y;p;)switch(l=b,b=be()){case 40:if(l!=108&&ce(C,m-1)==58){ii(C+=q($r(b),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:C+=$r(b);break;case 9:case 10:case 13:case 32:C+=Uu(l);break;case 92:C+=ju(Lr()-1,7);continue;case 47:switch(Le()){case 42:case 47:Tr(Vu(Hu(be(),Lr()),t,r),u);break;default:C+="/"}break;case 123*f:a[h++]=Fe(C)*w;case 125*f:case 59:case 0:switch(b){case 0:case 125:p=0;case 59+g:w==-1&&(C=q(C,/\f/g,"")),c>0&&Fe(C)-m&&Tr(c>32?Qo(C+";",n,r,m-1):Qo(q(C," ","")+";",n,r,m-2),u);break;case 59:C+=";";default:if(Tr(k=Vo(C,t,r,h,g,i,a,y,v=[],S=[],m),o),b===123)if(g===0)zr(C,t,k,k,v,o,m,a,S);else switch(d===99&&ce(C,3)===110?100:d){case 100:case 108:case 109:case 115:zr(e,k,k,n&&Tr(Vo(e,k,k,0,0,i,a,y,i,v=[],m),S),i,S,m,a,n?v:S);break;default:zr(C,k,k,k,[""],S,0,a,S)}}h=g=c=0,f=w=1,y=C="",m=s;break;case 58:m=1+Fe(C),c=l;default:if(f<1){if(b==123)--f;else if(b==125&&f++==0&&zu()==125)continue}switch(C+=on(b),b*f){case 38:w=g>0?1:(C+="\f",-1);break;case 44:a[h++]=(Fe(C)-1)*w,w=1;break;case 64:Le()===45&&(C+=$r(be())),d=Le(),g=m=Fe(y=C+=qu(Lr())),b++;break;case 45:l===45&&Fe(C)==2&&(f=0)}}return o}function Vo(e,t,r,n,i,o,s,a,u,h,g){for(var m=i-1,d=i===0?o:[""],c=Wi(d),l=0,f=0,p=0;l<n;++l)for(var w=0,b=er(e,m+1,m=Ou(f=s[l])),y=e;w<c;++w)(y=Ra(f>0?d[w]+" "+b:q(b,/&\f/g,d[w])))&&(u[p++]=y);return an(e,t,r,i===0?Hi:a,u,h,g)}function Vu(e,t,r){return an(e,t,r,Ta,on($u()),er(e,2,-2),0)}function Qo(e,t,r,n){return an(e,t,r,qi,er(e,0,n),er(e,n+1,-1),n)}function Ct(e,t){for(var r="",n=Wi(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function Qu(e,t,r,n){switch(e.type){case Nu:if(e.children.length)break;case Mu:case qi:return e.return=e.return||e.value;case Ta:return"";case Aa:return e.return=e.value+"{"+Ct(e.children,n)+"}";case Hi:e.value=e.props.join(",")}return Fe(r=Ct(e.children,n))?e.return=e.value+"{"+r+"}":""}function Ku(e){var t=Wi(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 Ju(e){return function(t){t.root||(t=t.return)&&e(t)}}var Yu=function(t,r,n){for(var i=0,o=0;i=o,o=Le(),i===38&&o===12&&(r[n]=1),!tr(o);)be();return hr(t,me)},Gu=function(t,r){var n=-1,i=44;do switch(tr(i)){case 0:i===38&&Le()===12&&(r[n]=1),t[n]+=Yu(me-1,r,n);break;case 2:t[n]+=$r(i);break;case 4:if(i===44){t[++n]=Le()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=on(i)}while(i=be());return t},Xu=function(t,r){return Ma(Gu(Ia(t),r))},Ko=new WeakMap,Zu=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&&!Ko.get(n))&&!i){Ko.set(t,!0);for(var o=[],s=Xu(r,o),a=n.props,u=0,h=0;u<s.length;u++)for(var g=0;g<a.length;g++,h++)t.props[h]=o[u]?s[u].replace(/&\f/g,a[g]):a[g]+" "+s[u]}}},el=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Na(e,t){switch(Fu(e,t)){case 5103:return H+"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 H+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return H+e+Wr+e+de+e+e;case 6828:case 4268:return H+e+de+e+e;case 6165:return H+e+de+"flex-"+e+e;case 5187:return H+e+q(e,/(\w+).+(:[^]+)/,H+"box-$1$2"+de+"flex-$1$2")+e;case 5443:return H+e+de+"flex-item-"+q(e,/flex-|-self/,"")+e;case 4675:return H+e+de+"flex-line-pack"+q(e,/align-content|flex-|-self/,"")+e;case 5548:return H+e+de+q(e,"shrink","negative")+e;case 5292:return H+e+de+q(e,"basis","preferred-size")+e;case 6060:return H+"box-"+q(e,"-grow","")+H+e+de+q(e,"grow","positive")+e;case 4554:return H+q(e,/([^-])(transform)/g,"$1"+H+"$2")+e;case 6187:return q(q(q(e,/(zoom-|grab)/,H+"$1"),/(image-set)/,H+"$1"),e,"")+e;case 5495:case 3959:return q(e,/(image-set\([^]*)/,H+"$1$`$1");case 4968:return q(q(e,/(.+:)(flex-)?(.*)/,H+"box-pack:$3"+de+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+H+e+e;case 4095:case 3583:case 4068:case 2532:return q(e,/(.+)-inline(.+)/,H+"$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(Fe(e)-1-t>6)switch(ce(e,t+1)){case 109:if(ce(e,t+4)!==45)break;case 102:return q(e,/(.+:)(.+)-([^]+)/,"$1"+H+"$2-$3$1"+Wr+(ce(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ii(e,"stretch")?Na(q(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ce(e,t+1)!==115)break;case 6444:switch(ce(e,Fe(e)-3-(~ii(e,"!important")&&10))){case 107:return q(e,":",":"+H)+e;case 101:return q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+H+(ce(e,14)===45?"inline-":"")+"box$3$1"+H+"$2$3$1"+de+"$2box$3")+e}break;case 5936:switch(ce(e,t+11)){case 114:return H+e+de+q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return H+e+de+q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return H+e+de+q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return H+e+de+e+e}return e}var tl=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case qi:t.return=Na(t.value,t.length);break;case Aa:return Ct([$t(t,{value:q(t.value,"@","@"+H)})],i);case Hi:if(t.length)return Lu(t.props,function(o){switch(Du(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ct([$t(t,{props:[q(o,/:(read-\w+)/,":"+Wr+"$1")]})],i);case"::placeholder":return Ct([$t(t,{props:[q(o,/:(plac\w+)/,":"+H+"input-$1")]}),$t(t,{props:[q(o,/:(plac\w+)/,":"+Wr+"$1")]}),$t(t,{props:[q(o,/:(plac\w+)/,de+"input-$1")]})],i)}return""})}},rl=[tl],Oa=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(f){var p=f.getAttribute("data-emotion");p.indexOf(" ")!==-1&&(document.head.appendChild(f),f.setAttribute("data-s",""))})}var i=t.stylisPlugins||rl,o={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(f){for(var p=f.getAttribute("data-emotion").split(" "),w=1;w<p.length;w++)o[p[w]]=!0;a.push(f)});var u,h=[Zu,el];{var g,m=[Qu,Ju(function(f){g.insert(f)})],d=Ku(h.concat(i,m)),c=function(p){return Ct(Wu(p),d)};u=function(p,w,b,y){g=b,c(p?p+"{"+w.styles+"}":w.styles),y&&(l.inserted[w.name]=!0)}}var l={key:r,sheet:new Iu({key:r,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:u};return l.sheet.hydrate(a),l},nl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function il(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 Ba={exports:{}},Q={};/** @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 ie=typeof Symbol=="function"&&Symbol.for,yi=ie?Symbol.for("react.element"):60103,bi=ie?Symbol.for("react.portal"):60106,Hr=ie?Symbol.for("react.fragment"):60107,Vr=ie?Symbol.for("react.strict_mode"):60108,Qr=ie?Symbol.for("react.profiler"):60114,Kr=ie?Symbol.for("react.provider"):60109,Gr=ie?Symbol.for("react.context"):60110,vi=ie?Symbol.for("react.async_mode"):60111,Jr=ie?Symbol.for("react.concurrent_mode"):60111,Yr=ie?Symbol.for("react.forward_ref"):60112,Xr=ie?Symbol.for("react.suspense"):60113,ou=ie?Symbol.for("react.suspense_list"):60120,Zr=ie?Symbol.for("react.memo"):60115,en=ie?Symbol.for("react.lazy"):60116,au=ie?Symbol.for("react.block"):60121,su=ie?Symbol.for("react.fundamental"):60117,cu=ie?Symbol.for("react.responder"):60118,uu=ie?Symbol.for("react.scope"):60119;function we(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case yi:switch(e=e.type,e){case vi:case Jr:case Hr:case Qr:case Vr:case Xr:return e;default:switch(e=e&&e.$$typeof,e){case Gr:case Yr:case en:case Zr:case Kr:return e;default:return t}}case bi:return t}}}function Za(e){return we(e)===Jr}Q.AsyncMode=vi;Q.ConcurrentMode=Jr;Q.ContextConsumer=Gr;Q.ContextProvider=Kr;Q.Element=yi;Q.ForwardRef=Yr;Q.Fragment=Hr;Q.Lazy=en;Q.Memo=Zr;Q.Portal=bi;Q.Profiler=Qr;Q.StrictMode=Vr;Q.Suspense=Xr;Q.isAsyncMode=function(e){return Za(e)||we(e)===vi};Q.isConcurrentMode=Za;Q.isContextConsumer=function(e){return we(e)===Gr};Q.isContextProvider=function(e){return we(e)===Kr};Q.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===yi};Q.isForwardRef=function(e){return we(e)===Yr};Q.isFragment=function(e){return we(e)===Hr};Q.isLazy=function(e){return we(e)===en};Q.isMemo=function(e){return we(e)===Zr};Q.isPortal=function(e){return we(e)===bi};Q.isProfiler=function(e){return we(e)===Qr};Q.isStrictMode=function(e){return we(e)===Vr};Q.isSuspense=function(e){return we(e)===Xr};Q.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Hr||e===Jr||e===Qr||e===Vr||e===Xr||e===ou||typeof e=="object"&&e!==null&&(e.$$typeof===en||e.$$typeof===Zr||e.$$typeof===Kr||e.$$typeof===Gr||e.$$typeof===Yr||e.$$typeof===su||e.$$typeof===cu||e.$$typeof===uu||e.$$typeof===au)};Q.typeOf=we;Xa.exports=Q;var lu=Xa.exports,es=lu,du={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},fu={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ts={};ts[es.ForwardRef]=du;ts[es.Memo]=fu;var pu=!0;function rs(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var wi=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||pu===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},_i=function(t,r,n){wi(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 mu(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 hu={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},gu=/[A-Z]|^ms/g,yu=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ns=function(t){return t.charCodeAt(1)===45},ho=function(t){return t!=null&&typeof t!="boolean"},yn=Wa(function(e){return ns(e)?e:e.replace(gu,"-$&").toLowerCase()}),go=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(yu,function(n,i,o){return Ne={name:i,styles:o,next:Ne},i})}return hu[t]!==1&&!ns(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 Ne={name:r.name,styles:r.styles,next:Ne},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Ne={name:n.name,styles:n.styles,next:Ne},n=n.next;var i=r.styles+";";return i}return bu(e,t,r)}case"function":{if(e!==void 0){var o=Ne,a=r(e);return Ne=o,Vt(e,t,a)}break}}if(t==null)return r;var u=t[r];return u!==void 0?u:r}function bu(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 a=r[o];if(typeof a!="object")t!=null&&t[a]!==void 0?n+=o+"{"+t[a]+"}":ho(a)&&(n+=yn(o)+":"+go(o,a)+";");else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var u=0;u<a.length;u++)ho(a[u])&&(n+=yn(o)+":"+go(o,a[u])+";");else{var m=Vt(e,t,a);switch(o){case"animation":case"animationName":{n+=yn(o)+":"+m+";";break}default:n+=o+"{"+m+"}"}}}return n}var yo=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Ne,tn=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="";Ne=void 0;var a=t[0];a==null||a.raw===void 0?(i=!1,o+=Vt(n,r,a)):o+=a[0];for(var u=1;u<t.length;u++)o+=Vt(n,r,t[u]),i&&(o+=a[u]);yo.lastIndex=0;for(var m="",g;(g=yo.exec(o))!==null;)m+="-"+g[1];var y=mu(o)+m;return{name:y,styles:o,next:Ne}},vu=function(t){return t()},is=Wt.useInsertionEffect?Wt.useInsertionEffect:!1,os=is||vu,bo=is||lt,rn={}.hasOwnProperty,as=jr(typeof HTMLElement!="undefined"?Ya({key:"css"}):null),wu=as.Provider,Si=function(t){return di(function(r,n){var i=Ct(as);return t(r,i,n)})},xi=jr({}),Fn="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ss=function(t,r){var n={};for(var i in r)rn.call(r,i)&&(n[i]=r[i]);return n[Fn]=t,n},_u=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return wi(r,n,i),os(function(){return _i(r,n,i)}),null},Su=Si(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[Fn],o=[n],a="";typeof e.className=="string"?a=rs(t.registered,o,e.className):e.className!=null&&(a=e.className+" ");var u=tn(o,void 0,Ct(xi));a+=t.key+"-"+u.name;var m={};for(var g in e)rn.call(e,g)&&g!=="css"&&g!==Fn&&(m[g]=e[g]);return m.ref=r,m.className=a,Y(be,null,Y(_u,{cache:t,serialized:u,isStringTag:typeof i=="string"}),Y(i,m))}),cs=Su,xu=Si(function(e,t){var r=e.styles,n=tn([r],void 0,Ct(xi)),i=Se();return bo(function(){var o=t.key+"-global",a=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),u=!1,m=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),m!==null&&(u=!0,m.setAttribute("data-emotion",o),a.hydrate([m])),i.current=[a,u],function(){a.flush()}},[t]),bo(function(){var o=i.current,a=o[0],u=o[1];if(u){o[1]=!1;return}if(n.next!==void 0&&_i(t,n.next,!0),a.tags.length){var m=a.tags[a.tags.length-1].nextElementSibling;a.before=m,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});function ku(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return tn(t)}var Cu=Ac,Tu=function(t){return t!=="theme"},vo=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Cu:Tu},wo=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},Eu=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return wi(r,n,i),os(function(){return _i(r,n,i)}),null},Au=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,a;r!==void 0&&(o=r.label,a=r.target);var u=wo(t,r,n),m=u||vo(i),g=!m("as");return function(){var y=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&p.push("label:"+o+";"),y[0]==null||y[0].raw===void 0)p.push.apply(p,y);else{p.push(y[0][0]);for(var l=y.length,s=1;s<l;s++)p.push(y[s],y[0][s])}var c=Si(function(f,d,b){var v=g&&f.as||i,h="",_=[],S=f;if(f.theme==null){S={};for(var k in f)S[k]=f[k];S.theme=Ct(xi)}typeof f.className=="string"?h=rs(d.registered,_,f.className):f.className!=null&&(h=f.className+" ");var x=tn(p.concat(_),d.registered,S);h+=d.key+"-"+x.name,a!==void 0&&(h+=" "+a);var C=g&&u===void 0?vo(v):m,T={};for(var E in f)g&&E==="as"||C(E)&&(T[E]=f[E]);return T.className=h,T.ref=b,Y(be,null,Y(Eu,{cache:d,serialized:x,isStringTag:typeof v=="string"}),Y(v,T))});return c.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",c.defaultProps=t.defaultProps,c.__emotion_real=c,c.__emotion_base=i,c.__emotion_styles=p,c.__emotion_forwardProp=u,Object.defineProperty(c,"toString",{value:function(){return"."+a}}),c.withComponent=function(f,d){return e(f,En({},r,d,{shouldForwardProp:wo(c,d,!0)})).apply(void 0,p)},c}},Ru=["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"],Qt=Au.bind();Ru.forEach(function(e){Qt[e]=Qt(e)});function oe(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 Pu=typeof Symbol=="function"&&Symbol.observable||"@@observable",_o=Pu,bn=()=>Math.random().toString(36).substring(7).split("").join("."),Iu={INIT:`@@redux/INIT${bn()}`,REPLACE:`@@redux/REPLACE${bn()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${bn()}`},Or=Iu;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 us(e,t,r){if(typeof e!="function")throw new Error(oe(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(oe(0));if(typeof t=="function"&&typeof r=="undefined"&&(r=t,t=void 0),typeof r!="undefined"){if(typeof r!="function")throw new Error(oe(1));return r(us)(e,t)}let n=e,i=t,o=new Map,a=o,u=0,m=!1;function g(){a===o&&(a=new Map,o.forEach((d,b)=>{a.set(b,d)}))}function y(){if(m)throw new Error(oe(3));return i}function p(d){if(typeof d!="function")throw new Error(oe(4));if(m)throw new Error(oe(5));let b=!0;g();const v=u++;return a.set(v,d),function(){if(b){if(m)throw new Error(oe(6));b=!1,g(),a.delete(v),o=null}}}function l(d){if(!Be(d))throw new Error(oe(7));if(typeof d.type=="undefined")throw new Error(oe(8));if(typeof d.type!="string")throw new Error(oe(17));if(m)throw new Error(oe(9));try{m=!0,i=n(i,d)}finally{m=!1}return(o=a).forEach(v=>{v()}),d}function s(d){if(typeof d!="function")throw new Error(oe(10));n=d,l({type:Or.REPLACE})}function c(){const d=p;return{subscribe(b){if(typeof b!="object"||b===null)throw new Error(oe(11));function v(){const _=b;_.next&&_.next(y())}return v(),{unsubscribe:d(v)}},[_o](){return this}}}return l({type:Or.INIT}),{dispatch:l,subscribe:p,getState:y,replaceReducer:s,[_o]:c}}function Ou(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:Or.INIT})=="undefined")throw new Error(oe(12));if(typeof r(void 0,{type:Or.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(oe(13))})}function ls(e){const t=Object.keys(e),r={};for(let o=0;o<t.length;o++){const a=t[o];typeof e[a]=="function"&&(r[a]=e[a])}const n=Object.keys(r);let i;try{Ou(r)}catch(o){i=o}return function(a={},u){if(i)throw i;let m=!1;const g={};for(let y=0;y<n.length;y++){const p=n[y],l=r[p],s=a[p],c=l(s,u);if(typeof c=="undefined")throw u&&u.type,new Error(oe(14));g[p]=c,m=m||c!==s}return m=m||n.length!==Object.keys(a).length,m?g:a}}function Mr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function Mu(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(oe(15))};const a={getState:i.getState,dispatch:(m,...g)=>o(m,...g)},u=e.map(m=>m(a));return o=Mr(...u)(i.dispatch),B(P({},i),{dispatch:o})}}function ds(e){return Be(e)&&"type"in e&&typeof e.type=="string"}var ki=Symbol.for("immer-nothing"),Lt=Symbol.for("immer-draftable"),me=Symbol.for("immer-state");function ce(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var at=Object.getPrototypeOf;function Re(e){return!!e&&!!e[me]}function Pe(e){var t;return e?fs(e)||Array.isArray(e)||!!e[Lt]||!!((t=e.constructor)!=null&&t[Lt])||or(e)||ar(e):!1}var Nu=Object.prototype.constructor.toString();function fs(e){if(!e||typeof e!="object")return!1;const t=at(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)===Nu}function Fu(e){return Re(e)||ce(15,e),e[me].base_}function Kt(e,t){st(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function st(e){const t=e[me];return t?t.type_:Array.isArray(e)?1:or(e)?2:ar(e)?3:0}function Gt(e,t){return st(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function vn(e,t){return st(e)===2?e.get(t):e[t]}function ps(e,t,r){const n=st(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function $u(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function or(e){return e instanceof Map}function ar(e){return e instanceof Set}function rt(e){return e.copy_||e.base_}function $n(e,t){if(or(e))return new Map(e);if(ar(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&fs(e))return at(e)?P({},e):Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[me];let n=Reflect.ownKeys(r);for(let i=0;i<n.length;i++){const o=n[i],a=r[o];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(r[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[o]})}return Object.create(at(e),r)}function Ci(e,t=!1){return nn(e)||Re(e)||!Pe(e)||(st(e)>1&&(e.set=e.add=e.clear=e.delete=Du),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>Ci(n,!0))),e}function Du(){ce(2)}function nn(e){return Object.isFrozen(e)}var Dn={};function ct(e){const t=Dn[e];return t||ce(0,e),t}function Lu(e,t){Dn[e]||(Dn[e]=t)}var Jt;function ms(){return Jt}function Bu(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function So(e,t){t&&(ct("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Ln(e){Bn(e),e.drafts_.forEach(zu),e.drafts_=null}function Bn(e){e===Jt&&(Jt=e.parent_)}function xo(e){return Jt=Bu(Jt,e)}function zu(e){const t=e[me];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function ko(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[me].modified_&&(Ln(t),ce(4)),Pe(e)&&(e=Nr(t,e),t.parent_||Fr(t,e)),t.patches_&&ct("Patches").generateReplacementPatches_(r[me].base_,e,t.patches_,t.inversePatches_)):e=Nr(t,r,[]),Ln(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==ki?e:void 0}function Nr(e,t,r){if(nn(t))return t;const n=t[me];if(!n)return Kt(t,(i,o)=>Co(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return Fr(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const i=n.copy_;let o=i,a=!1;n.type_===3&&(o=new Set(i),i.clear(),a=!0),Kt(o,(u,m)=>Co(e,n,i,u,m,r,a)),Fr(e,i,!1),r&&e.patches_&&ct("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function Co(e,t,r,n,i,o,a){if(Re(i)){const u=o&&t&&t.type_!==3&&!Gt(t.assigned_,n)?o.concat(n):void 0,m=Nr(e,i,u);if(ps(r,n,m),Re(m))e.canAutoFreeze_=!1;else return}else a&&r.add(i);if(Pe(i)&&!nn(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Nr(e,i),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&Object.prototype.propertyIsEnumerable.call(r,n)&&Fr(e,i)}}function Fr(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Ci(t,r)}function ju(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:ms(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=Ti;r&&(i=[n],o=Yt);const{revoke:a,proxy:u}=Proxy.revocable(i,o);return n.draft_=u,n.revoke_=a,u}var Ti={get(e,t){if(t===me)return e;const r=rt(e);if(!Gt(r,t))return Uu(e,r,t);const n=r[t];return e.finalized_||!Pe(n)?n:n===wn(e.base_,t)?(_n(e),e.copy_[t]=jn(n,e)):n},has(e,t){return t in rt(e)},ownKeys(e){return Reflect.ownKeys(rt(e))},set(e,t,r){const n=hs(rt(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=wn(rt(e),t),o=i==null?void 0:i[me];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if($u(r,i)&&(r!==void 0||Gt(e.base_,t)))return!0;_n(e),zn(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 wn(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,_n(e),zn(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=rt(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){ce(11)},getPrototypeOf(e){return at(e.base_)},setPrototypeOf(){ce(12)}},Yt={};Kt(Ti,(e,t)=>{Yt[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Yt.deleteProperty=function(e,t){return Yt.set.call(this,e,t,void 0)};Yt.set=function(e,t,r){return Ti.set.call(this,e[0],t,r,e[0])};function wn(e,t){const r=e[me];return(r?rt(r):e)[t]}function Uu(e,t,r){var i;const n=hs(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function hs(e,t){if(!(t in e))return;let r=at(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=at(r)}}function zn(e){e.modified_||(e.modified_=!0,e.parent_&&zn(e.parent_))}function _n(e){e.copy_||(e.copy_=$n(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Wu=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 a=this;return function(m=o,...g){return a.produce(m,y=>r.call(this,y,...g))}}typeof r!="function"&&ce(6),n!==void 0&&typeof n!="function"&&ce(7);let i;if(Pe(t)){const o=xo(this),a=jn(t,void 0);let u=!0;try{i=r(a),u=!1}finally{u?Ln(o):Bn(o)}return So(o,n),ko(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===ki&&(i=void 0),this.autoFreeze_&&Ci(i,!0),n){const o=[],a=[];ct("Patches").generateReplacementPatches_(t,i,o,a),n(o,a)}return i}else ce(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(a,...u)=>this.produceWithPatches(a,m=>t(m,...u));let n,i;return[this.produce(t,r,(a,u)=>{n=a,i=u}),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){Pe(e)||ce(8),Re(e)&&(e=gs(e));const t=xo(this),r=jn(e,void 0);return r[me].isManual_=!0,Bn(t),r}finishDraft(e,t){const r=e&&e[me];(!r||!r.isManual_)&&ce(9);const{scope_:n}=r;return So(n,t),ko(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=ct("Patches").applyPatches_;return Re(e)?n(e,t):this.produce(e,i=>n(i,t))}};function jn(e,t){const r=or(e)?ct("MapSet").proxyMap_(e,t):ar(e)?ct("MapSet").proxySet_(e,t):ju(e,t);return(t?t.scope_:ms()).drafts_.push(r),r}function gs(e){return Re(e)||ce(10,e),ys(e)}function ys(e){if(!Pe(e)||nn(e))return e;const t=e[me];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=$n(e,t.scope_.immer_.useStrictShallowCopy_)}else r=$n(e,!0);return Kt(r,(n,i)=>{ps(r,n,ys(i))}),t&&(t.finalized_=!1),r}function qu(){const t="replace",r="add",n="remove";function i(l,s,c,f){switch(l.type_){case 0:case 2:return a(l,s,c,f);case 1:return o(l,s,c,f);case 3:return u(l,s,c,f)}}function o(l,s,c,f){let{base_:d,assigned_:b}=l,v=l.copy_;v.length<d.length&&([d,v]=[v,d],[c,f]=[f,c]);for(let h=0;h<d.length;h++)if(b[h]&&v[h]!==d[h]){const _=s.concat([h]);c.push({op:t,path:_,value:p(v[h])}),f.push({op:t,path:_,value:p(d[h])})}for(let h=d.length;h<v.length;h++){const _=s.concat([h]);c.push({op:r,path:_,value:p(v[h])})}for(let h=v.length-1;d.length<=h;--h){const _=s.concat([h]);f.push({op:n,path:_})}}function a(l,s,c,f){const{base_:d,copy_:b}=l;Kt(l.assigned_,(v,h)=>{const _=vn(d,v),S=vn(b,v),k=h?Gt(d,v)?t:r:n;if(_===S&&k===t)return;const x=s.concat(v);c.push(k===n?{op:k,path:x}:{op:k,path:x,value:S}),f.push(k===r?{op:n,path:x}:k===n?{op:r,path:x,value:p(_)}:{op:t,path:x,value:p(_)})})}function u(l,s,c,f){let{base_:d,copy_:b}=l,v=0;d.forEach(h=>{if(!b.has(h)){const _=s.concat([v]);c.push({op:n,path:_,value:h}),f.unshift({op:r,path:_,value:h})}v++}),v=0,b.forEach(h=>{if(!d.has(h)){const _=s.concat([v]);c.push({op:r,path:_,value:h}),f.unshift({op:n,path:_,value:h})}v++})}function m(l,s,c,f){c.push({op:t,path:[],value:s===ki?void 0:s}),f.push({op:t,path:[],value:l})}function g(l,s){return s.forEach(c=>{const{path:f,op:d}=c;let b=l;for(let S=0;S<f.length-1;S++){const k=st(b);let x=f[S];typeof x!="string"&&typeof x!="number"&&(x=""+x),(k===0||k===1)&&(x==="__proto__"||x==="constructor")&&ce(19),typeof b=="function"&&x==="prototype"&&ce(19),b=vn(b,x),typeof b!="object"&&ce(18,f.join("/"))}const v=st(b),h=y(c.value),_=f[f.length-1];switch(d){case t:switch(v){case 2:return b.set(_,h);case 3:ce(16);default:return b[_]=h}case r:switch(v){case 1:return _==="-"?b.push(h):b.splice(_,0,h);case 2:return b.set(_,h);case 3:return b.add(h);default:return b[_]=h}case n:switch(v){case 1:return b.splice(_,1);case 2:return b.delete(_);case 3:return b.delete(c.value);default:return delete b[_]}default:ce(17,d)}}),l}function y(l){if(!Pe(l))return l;if(Array.isArray(l))return l.map(y);if(or(l))return new Map(Array.from(l.entries()).map(([c,f])=>[c,y(f)]));if(ar(l))return new Set(Array.from(l).map(y));const s=Object.create(at(l));for(const c in l)s[c]=y(l[c]);return Gt(l,Lt)&&(s[Lt]=l[Lt]),s}function p(l){return Re(l)?y(l):l}Lu("Patches",{applyPatches_:g,generatePatches_:i,generateReplacementPatches_:m})}var ve=new Wu,sr=ve.produce,bs=ve.produceWithPatches.bind(ve);ve.setAutoFreeze.bind(ve);ve.setUseStrictShallowCopy.bind(ve);var To=ve.applyPatches.bind(ve);ve.createDraft.bind(ve);ve.finishDraft.bind(ve);function Hu(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function Vu(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function Qu(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 Eo=e=>Array.isArray(e)?e:[e];function Ku(e){const t=Array.isArray(e[0])?e[0]:e;return Qu(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function Gu(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var Ju=class{constructor(e){this.value=e}deref(){return this.value}},Yu=typeof WeakRef!="undefined"?WeakRef:Ju,Xu=0,Ao=1;function gr(){return{s:Xu,v:void 0,o:null,p:null}}function Xt(e,t={}){let r=gr();const{resultEqualityCheck:n}=t;let i,o=0;function a(){var p,l;let u=r;const{length:m}=arguments;for(let s=0,c=m;s<c;s++){const f=arguments[s];if(typeof f=="function"||typeof f=="object"&&f!==null){let d=u.o;d===null&&(u.o=d=new WeakMap);const b=d.get(f);b===void 0?(u=gr(),d.set(f,u)):u=b}else{let d=u.p;d===null&&(u.p=d=new Map);const b=d.get(f);b===void 0?(u=gr(),d.set(f,u)):u=b}}const g=u;let y;if(u.s===Ao?y=u.v:(y=e.apply(null,arguments),o++),g.s=Ao,n){const s=(l=(p=i==null?void 0:i.deref)==null?void 0:p.call(i))!=null?l:i;s!=null&&n(s,y)&&(y=s,o!==0&&o--),i=typeof y=="object"&&y!==null||typeof y=="function"?new Yu(y):y}return g.v=y,y}return a.clearCache=()=>{r=gr(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function vs(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let o=0,a=0,u,m={},g=i.pop();typeof g=="object"&&(m=g,g=i.pop()),Hu(g,`createSelector expects an output function after the inputs, but received: [${typeof g}]`);const y=P(P({},r),m),{memoize:p,memoizeOptions:l=[],argsMemoize:s=Xt,argsMemoizeOptions:c=[],devModeChecks:f={}}=y,d=Eo(l),b=Eo(c),v=Ku(i),h=p(function(){return o++,g.apply(null,arguments)},...d),_=s(function(){a++;const k=Gu(v,arguments);return u=h.apply(null,k),u},...b);return Object.assign(_,{resultFunc:g,memoizedResultFunc:h,dependencies:v,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>u,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:p,argsMemoize:s})};return Object.assign(n,{withTypes:()=>n}),n}var vt=vs(Xt),Zu=Object.assign((e,t=vt)=>{Vu(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((a,u,m)=>(a[r[m]]=u,a),{}))},{withTypes:()=>Zu});function ws(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var el=ws(),tl=ws,rl=(...e)=>{const t=vs(...e);return(...r)=>{const n=t(...r),i=(o,...a)=>n(Re(o)?gs(o):o,...a);return Object.assign(i,n),i}};rl(Xt);var nl=typeof window!="undefined"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Mr:Mr.apply(null,arguments)},il=e=>e&&typeof e.match=="function";function fe(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(ke(0));return P(P({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=>ds(n)&&n.type===e,r}var _s=class Mt extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Mt.prototype)}static get[Symbol.species](){return Mt}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Mt(...t[0].concat(this)):new Mt(...t.concat(this))}};function Ro(e){return Pe(e)?sr(e,()=>{}):e}function Po(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(ke(10));const n=r.insert(t,e);return e.set(t,n),n}function ol(e){return typeof e=="boolean"}var al=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t!=null?t:{};let a=new _s;return r&&(ol(r)?a.push(el):a.push(tl(r.extraArgument))),a},yt="RTK_autoBatch",It=()=>e=>({payload:e,meta:{[yt]:!0}}),Ss=e=>t=>{setTimeout(t,e)},sl=typeof window!="undefined"&&window.requestAnimationFrame?window.requestAnimationFrame:Ss(10),cl=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let i=!0,o=!1,a=!1;const u=new Set,m=e.type==="tick"?queueMicrotask:e.type==="raf"?sl:e.type==="callback"?e.queueNotification:Ss(e.timeout),g=()=>{a=!1,o&&(o=!1,u.forEach(y=>y()))};return Object.assign({},n,{subscribe(y){const p=()=>i&&y(),l=n.subscribe(p);return u.add(y),()=>{l(),u.delete(y)}},dispatch(y){var p;try{return i=!((p=y==null?void 0:y.meta)!=null&&p[yt]),o=!i,o&&(a||(a=!0,m(g))),n.dispatch(y)}finally{i=!0}}})},ul=e=>function(r){const{autoBatch:n=!0}=r!=null?r:{};let i=new _s(e);return n&&i.push(cl(typeof n=="object"?n:void 0)),i},ll=!0;function dl(e){const t=al(),{reducer:r=void 0,middleware:n,devTools:i=!0,preloadedState:o=void 0,enhancers:a=void 0}=e||{};let u;if(typeof r=="function")u=r;else if(Be(r))u=ls(r);else throw new Error(ke(1));let m;typeof n=="function"?m=n(t):m=t();let g=Mr;i&&(g=nl(P({trace:!ll},typeof i=="object"&&i)));const y=Mu(...m),p=ul(y);let l=typeof a=="function"?a(p):p();const s=g(...l);return us(u,o,s)}function xs(e){const t={},r=[];let n;const i={addCase(o,a){const u=typeof o=="string"?o:o.type;if(!u)throw new Error(ke(28));if(u in t)throw new Error(ke(29));return t[u]=a,i},addMatcher(o,a){return r.push({matcher:o,reducer:a}),i},addDefaultCase(o){return n=o,i}};return e(i),[t,r,n]}function fl(e){return typeof e=="function"}function pl(e,t){let[r,n,i]=xs(t),o;if(fl(e))o=()=>Ro(e());else{const u=Ro(e);o=()=>u}function a(u=o(),m){let g=[r[m.type],...n.filter(({matcher:y})=>y(m)).map(({reducer:y})=>y)];return g.filter(y=>!!y).length===0&&(g=[i]),g.reduce((y,p)=>{if(p)if(Re(y)){const s=p(y,m);return s===void 0?y:s}else{if(Pe(y))return sr(y,l=>p(l,m));{const l=p(y,m);if(l===void 0){if(y===null)return y;throw new Error(ke(9))}return l}}return y},u)}return a.getInitialState=o,a}var ml="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ks=(e=21)=>{let t="",r=e;for(;r--;)t+=ml[Math.random()*64|0];return t},Cs=(e,t)=>il(e)?e.match(t):e(t);function Ye(...e){return t=>e.some(r=>Cs(r,t))}function Bt(...e){return t=>e.every(r=>Cs(r,t))}function on(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 cr(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function Ei(...e){return e.length===0?t=>on(t,["pending"]):cr(e)?t=>{const r=e.map(i=>i.pending);return Ye(...r)(t)}:Ei()(e[0])}function kt(...e){return e.length===0?t=>on(t,["rejected"]):cr(e)?t=>{const r=e.map(i=>i.rejected);return Ye(...r)(t)}:kt()(e[0])}function an(...e){const t=r=>r&&r.meta&&r.meta.rejectedWithValue;return e.length===0?r=>Bt(kt(...e),t)(r):cr(e)?r=>Bt(kt(...e),t)(r):an()(e[0])}function Xe(...e){return e.length===0?t=>on(t,["fulfilled"]):cr(e)?t=>{const r=e.map(i=>i.fulfilled);return Ye(...r)(t)}:Xe()(e[0])}function Un(...e){return e.length===0?t=>on(t,["pending","fulfilled","rejected"]):cr(e)?t=>{const r=[];for(const i of e)r.push(i.pending,i.rejected,i.fulfilled);return Ye(...r)(t)}:Un()(e[0])}var hl=["name","message","stack","code"],Sn=class{constructor(e,t){mn(this,"_type");this.payload=e,this.meta=t}},Io=class{constructor(e,t){mn(this,"_type");this.payload=e,this.meta=t}},gl=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of hl)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},Oo=(()=>{function e(t,r,n){const i=fe(t+"/fulfilled",(m,g,y,p)=>({payload:m,meta:B(P({},p||{}),{arg:y,requestId:g,requestStatus:"fulfilled"})})),o=fe(t+"/pending",(m,g,y)=>({payload:void 0,meta:B(P({},y||{}),{arg:g,requestId:m,requestStatus:"pending"})})),a=fe(t+"/rejected",(m,g,y,p,l)=>({payload:p,error:(n&&n.serializeError||gl)(m||"Rejected"),meta:B(P({},l||{}),{arg:y,requestId:g,rejectedWithValue:!!p,requestStatus:"rejected",aborted:(m==null?void 0:m.name)==="AbortError",condition:(m==null?void 0:m.name)==="ConditionError"})}));function u(m){return(g,y,p)=>{const l=n!=null&&n.idGenerator?n.idGenerator(m):ks(),s=new AbortController;let c;function f(b){c=b,s.abort()}const d=function(){return he(this,null,function*(){var h,_;let b;try{let S=(h=n==null?void 0:n.condition)==null?void 0:h.call(n,m,{getState:y,extra:p});if(bl(S)&&(S=yield S),S===!1||s.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const k=new Promise((x,C)=>s.signal.addEventListener("abort",()=>C({name:"AbortError",message:c||"Aborted"})));g(o(l,m,(_=n==null?void 0:n.getPendingMeta)==null?void 0:_.call(n,{requestId:l,arg:m},{getState:y,extra:p}))),b=yield Promise.race([k,Promise.resolve(r(m,{dispatch:g,getState:y,extra:p,requestId:l,signal:s.signal,abort:f,rejectWithValue:(x,C)=>new Sn(x,C),fulfillWithValue:(x,C)=>new Io(x,C)})).then(x=>{if(x instanceof Sn)throw x;return x instanceof Io?i(x.payload,l,m,x.meta):i(x,l,m)})])}catch(S){b=S instanceof Sn?a(null,l,m,S.payload,S.meta):a(S,l,m)}return n&&!n.dispatchConditionRejection&&a.match(b)&&b.meta.condition||g(b),b})}();return Object.assign(d,{abort:f,requestId:l,arg:m,unwrap(){return d.then(yl)}})}}return Object.assign(u,{pending:o,rejected:a,fulfilled:i,settled:Ye(a,i),typePrefix:t})}return e.withTypes=()=>e,e})();function yl(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function bl(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var vl=Symbol.for("rtk-slice-createasyncthunk");function wl(e,t){return`${e}/${t}`}function _l({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[vl];return function(i){const{name:o,reducerPath:a=o}=i;if(!o)throw new Error(ke(11));const u=(typeof i.reducers=="function"?i.reducers(xl()):i.reducers)||{},m=Object.keys(u),g={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},y={addCase(d,b){const v=typeof d=="string"?d:d.type;if(!v)throw new Error(ke(12));if(v in g.sliceCaseReducersByType)throw new Error(ke(13));return g.sliceCaseReducersByType[v]=b,y},addMatcher(d,b){return g.sliceMatchers.push({matcher:d,reducer:b}),y},exposeAction(d,b){return g.actionCreators[d]=b,y},exposeCaseReducer(d,b){return g.sliceCaseReducersByName[d]=b,y}};m.forEach(d=>{const b=u[d],v={reducerName:d,type:wl(o,d),createNotation:typeof i.reducers=="function"};Cl(b)?El(v,b,y,t):kl(v,b,y)});function p(){const[d={},b=[],v=void 0]=typeof i.extraReducers=="function"?xs(i.extraReducers):[i.extraReducers],h=P(P({},d),g.sliceCaseReducersByType);return pl(i.initialState,_=>{for(let S in h)_.addCase(S,h[S]);for(let S of g.sliceMatchers)_.addMatcher(S.matcher,S.reducer);for(let S of b)_.addMatcher(S.matcher,S.reducer);v&&_.addDefaultCase(v)})}const l=d=>d,s=new WeakMap;let c;const f={name:o,reducerPath:a,reducer(d,b){return c||(c=p()),c(d,b)},actions:g.actionCreators,caseReducers:g.sliceCaseReducersByName,getInitialState(){return c||(c=p()),c.getInitialState()},getSelectors(d=l){const b=Po(s,this,{insert:()=>new WeakMap});return Po(b,d,{insert:()=>{var h;const v={};for(const[_,S]of Object.entries((h=i.selectors)!=null?h:{}))v[_]=Sl(this,S,d,this!==f);return v}})},selectSlice(d){let b=d[this.reducerPath];return typeof b=="undefined"&&this!==f&&(b=this.getInitialState()),b},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(d,h={}){var _=h,{reducerPath:b}=_,v=et(_,["reducerPath"]);const S=b!=null?b:this.reducerPath;return d.inject({reducerPath:S,reducer:this.reducer},v),B(P({},this),{reducerPath:S})}};return f}}function Sl(e,t,r,n){function i(o,...a){let u=r.call(e,o);return typeof u=="undefined"&&n&&(u=e.getInitialState()),t(u,...a)}return i.unwrapped=t,i}var Ue=_l();function xl(){function e(t,r){return P({_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 kl({type:e,reducerName:t,createNotation:r},n,i){let o,a;if("reducer"in n){if(r&&!Tl(n))throw new Error(ke(17));o=n.reducer,a=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,a?fe(e,a):fe(e))}function Cl(e){return e._reducerDefinitionType==="asyncThunk"}function Tl(e){return e._reducerDefinitionType==="reducerWithPrepare"}function El({type:e,reducerName:t},r,n,i){if(!i)throw new Error(ke(18));const{payloadCreator:o,fulfilled:a,pending:u,rejected:m,settled:g,options:y}=r,p=i(e,o,y);n.exposeAction(t,p),a&&n.addCase(p.fulfilled,a),u&&n.addCase(p.pending,u),m&&n.addCase(p.rejected,m),g&&n.addMatcher(p.settled,g),n.exposeCaseReducer(t,{fulfilled:a||yr,pending:u||yr,rejected:m||yr,settled:g||yr})}function yr(){}var Ai="listenerMiddleware";fe(`${Ai}/add`);fe(`${Ai}/removeAll`);fe(`${Ai}/remove`);function ke(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 Ts=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(Ts||{});function Al(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Rl(e){return new RegExp("(^|:)//").test(e)}var Pl=e=>e.replace(/\/$/,""),Il=e=>e.replace(/^\//,"");function Ol(e,t){if(!e)return t;if(!t)return e;if(Rl(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=Pl(e),t=Il(t),`${e}${r}${t}`}var Mo=e=>[].concat(...e);function Ml(){return typeof navigator=="undefined"||navigator.onLine===void 0?!0:navigator.onLine}function Nl(){return typeof document=="undefined"?!0:document.visibilityState!=="hidden"}var No=Be;function Es(e,t){if(e===t||!(No(e)&&No(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 a of r)o[a]=Es(e[a],t[a]),i&&(i=e[a]===o[a]);return i?e:o}var Fo=(...e)=>fetch(...e),Fl=e=>e.status>=200&&e.status<=299,$l=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function $o(e){if(!Be(e))return e;const t=P({},e);for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function Dl(p={}){var l=p,{baseUrl:e,prepareHeaders:t=s=>s,fetchFn:r=Fo,paramsSerializer:n,isJsonContentType:i=$l,jsonContentType:o="application/json",jsonReplacer:a,timeout:u,responseHandler:m,validateStatus:g}=l,y=et(l,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return typeof fetch=="undefined"&&r===Fo&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),(c,f)=>he(this,null,function*(){const{signal:d,getState:b,extra:v,endpoint:h,forced:_,type:S}=f;let k,Et=typeof c=="string"?{url:c}:c,{url:x,headers:C=new Headers(y.headers),params:T=void 0,responseHandler:E=m!=null?m:"json",validateStatus:R=g!=null?g:Fl,timeout:N=u}=Et,O=et(Et,["url","headers","params","responseHandler","validateStatus","timeout"]),I=P(B(P({},y),{signal:d}),O);C=new Headers($o(C)),I.headers=(yield t(C,{getState:b,extra:v,endpoint:h,forced:_,type:S}))||C;const z=re=>typeof re=="object"&&(Be(re)||Array.isArray(re)||typeof re.toJSON=="function");if(!I.headers.has("content-type")&&z(I.body)&&I.headers.set("content-type",o),z(I.body)&&i(I.headers)&&(I.body=JSON.stringify(I.body,a)),T){const re=~x.indexOf("?")?"&":"?",Ce=n?n(T):new URLSearchParams($o(T));x+=re+Ce}x=Ol(e,x);const J=new Request(x,I);k={request:new Request(x,I)};let D,ee=!1,X=N&&setTimeout(()=>{ee=!0,f.abort()},N);try{D=yield r(J)}catch(re){return{error:{status:ee?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(re)},meta:k}}finally{X&&clearTimeout(X)}const ue=D.clone();k.response=ue;let ze,te="";try{let re;if(yield Promise.all([s(D,E).then(Ce=>ze=Ce,Ce=>re=Ce),ue.text().then(Ce=>te=Ce,()=>{})]),re)throw re}catch(re){return{error:{status:"PARSING_ERROR",originalStatus:D.status,data:te,error:String(re)},meta:k}}return R(D,ze)?{data:ze,meta:k}:{error:{status:D.status,data:ze},meta:k}});function s(c,f){return he(this,null,function*(){if(typeof f=="function")return f(c);if(f==="content-type"&&(f=i(c.headers)?"json":"text"),f==="json"){const d=yield c.text();return d.length?JSON.parse(d):null}return c.text()})}}var Do=class{constructor(e,t=void 0){this.value=e,this.meta=t}},Ri=fe("__rtkq/focused"),As=fe("__rtkq/unfocused"),Pi=fe("__rtkq/online"),Rs=fe("__rtkq/offline");function Ps(e){return e.type==="query"}function Ll(e){return e.type==="mutation"}function Ii(e,t,r,n,i,o){return Bl(e)?e(t,r,n,i).map(Wn).map(o):Array.isArray(e)?e.map(Wn).map(o):[]}function Bl(e){return typeof e=="function"}function Wn(e){return typeof e=="string"?{type:e}:e}function Lo(e){return e!=null}function wt(e){let t=0;for(const r in e)t++;return t}var Zt=Symbol("forceQueryFn"),qn=e=>typeof e[Zt]=="function";function zl({serializeQueryArgs:e,queryThunk:t,mutationThunk:r,api:n,context:i}){const o=new Map,a=new Map,{unsubscribeQueryResult:u,removeMutationResult:m,updateSubscriptionOptions:g}=n.internalActions;return{buildInitiateQuery:c,buildInitiateMutation:f,getRunningQueryThunk:y,getRunningMutationThunk:p,getRunningQueriesThunk:l,getRunningMutationsThunk:s};function y(d,b){return v=>{var S;const h=i.endpointDefinitions[d],_=e({queryArgs:b,endpointDefinition:h,endpointName:d});return(S=o.get(v))==null?void 0:S[_]}}function p(d,b){return v=>{var h;return(h=a.get(v))==null?void 0:h[b]}}function l(){return d=>Object.values(o.get(d)||{}).filter(Lo)}function s(){return d=>Object.values(a.get(d)||{}).filter(Lo)}function c(d,b){const v=(h,{subscribe:_=!0,forceRefetch:S,subscriptionOptions:k,[Zt]:x}={})=>(C,T)=>{var ue;const E=e({queryArgs:h,endpointDefinition:b,endpointName:d}),R=t({type:"query",subscribe:_,forceRefetch:S,subscriptionOptions:k,endpointName:d,originalArgs:h,queryCacheKey:E,[Zt]:x}),N=n.endpoints[d].select(h),O=C(R),I=N(T()),{requestId:z,abort:J}=O,U=I.requestId!==z,D=(ue=o.get(C))==null?void 0:ue[E],ee=()=>N(T()),X=Object.assign(x?O.then(ee):U&&!D?Promise.resolve(I):Promise.all([D,O]).then(ee),{arg:h,requestId:z,subscriptionOptions:k,queryCacheKey:E,abort:J,unwrap(){return he(this,null,function*(){const te=yield X;if(te.isError)throw te.error;return te.data})},refetch:()=>C(v(h,{subscribe:!1,forceRefetch:!0})),unsubscribe(){_&&C(u({queryCacheKey:E,requestId:z}))},updateSubscriptionOptions(te){X.subscriptionOptions=te,C(g({endpointName:d,requestId:z,queryCacheKey:E,options:te}))}});if(!D&&!U&&!x){const te=o.get(C)||{};te[E]=X,o.set(C,te),X.then(()=>{delete te[E],wt(te)||o.delete(C)})}return X};return v}function f(d){return(b,{track:v=!0,fixedCacheKey:h}={})=>(_,S)=>{const k=r({type:"mutation",endpointName:d,originalArgs:b,track:v,fixedCacheKey:h}),x=_(k),{requestId:C,abort:T,unwrap:E}=x,R=x.unwrap().then(z=>({data:z})).catch(z=>({error:z})),N=()=>{_(m({requestId:C,fixedCacheKey:h}))},O=Object.assign(R,{arg:x.arg,requestId:C,abort:T,unwrap:E,reset:N}),I=a.get(_)||{};return a.set(_,I),I[C]=O,O.then(()=>{delete I[C],wt(I)||a.delete(_)}),h&&(I[h]=O,O.then(()=>{I[h]===O&&(delete I[h],wt(I)||a.delete(_))})),O}}}function Bo(e){return e}function jl({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const a=(v,h,_,S)=>(k,x)=>{const C=r[v],T=n({queryArgs:h,endpointDefinition:C,endpointName:v});if(k(i.internalActions.queryResultPatched({queryCacheKey:T,patches:_})),!S)return;const E=i.endpoints[v].select(h)(x()),R=Ii(C.providesTags,E.data,void 0,h,{},o);k(i.internalActions.updateProvidedBy({queryCacheKey:T,providedTags:R}))},u=(v,h,_,S=!0)=>(k,x)=>{const T=i.endpoints[v].select(h)(x());let E={patches:[],inversePatches:[],undo:()=>k(i.util.patchQueryData(v,h,E.inversePatches,S))};if(T.status==="uninitialized")return E;let R;if("data"in T)if(Pe(T.data)){const[N,O,I]=bs(T.data,_);E.patches.push(...O),E.inversePatches.push(...I),R=N}else R=_(T.data),E.patches.push({op:"replace",path:[],value:R}),E.inversePatches.push({op:"replace",path:[],value:T.data});return k(i.util.patchQueryData(v,h,E.patches,S)),E},m=(v,h,_)=>S=>S(i.endpoints[v].initiate(h,{subscribe:!1,forceRefetch:!0,[Zt]:()=>({data:_})})),g=(E,R)=>he(this,[E,R],function*(v,{signal:h,abort:_,rejectWithValue:S,fulfillWithValue:k,dispatch:x,getState:C,extra:T}){const N=r[v.endpointName];try{let O=Bo,I;const z={signal:h,abort:_,dispatch:x,getState:C,extra:T,endpoint:v.endpointName,type:v.type,forced:v.type==="query"?y(v,C()):void 0},J=v.type==="query"?v[Zt]:void 0;if(J?I=J():N.query?(I=yield t(N.query(v.originalArgs),z,N.extraOptions),N.transformResponse&&(O=N.transformResponse)):I=yield N.queryFn(v.originalArgs,z,N.extraOptions,U=>t(U,z,N.extraOptions)),I.error)throw new Do(I.error,I.meta);return k(yield O(I.data,I.meta,v.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:I.meta,[yt]:!0})}catch(O){let I=O;if(I instanceof Do){let z=Bo;N.query&&N.transformErrorResponse&&(z=N.transformErrorResponse);try{return S(yield z(I.value,I.meta,v.originalArgs),{baseQueryMeta:I.meta,[yt]:!0})}catch(J){I=J}}throw console.error(I),I}});function y(v,h){var C,T,E,R;const _=(T=(C=h[e])==null?void 0:C.queries)==null?void 0:T[v.queryCacheKey],S=(E=h[e])==null?void 0:E.config.refetchOnMountOrArgChange,k=_==null?void 0:_.fulfilledTimeStamp,x=(R=v.forceRefetch)!=null?R:v.subscribe&&S;return x?x===!0||(Number(new Date)-Number(k))/1e3>=x:!1}const p=Oo(`${e}/executeQuery`,g,{getPendingMeta(){return{startedTimeStamp:Date.now(),[yt]:!0}},condition(v,{getState:h}){var E,R,N;const _=h(),S=(R=(E=_[e])==null?void 0:E.queries)==null?void 0:R[v.queryCacheKey],k=S==null?void 0:S.fulfilledTimeStamp,x=v.originalArgs,C=S==null?void 0:S.originalArgs,T=r[v.endpointName];return qn(v)?!0:(S==null?void 0:S.status)==="pending"?!1:y(v,_)||Ps(T)&&((N=T==null?void 0:T.forceRefetch)!=null&&N.call(T,{currentArg:x,previousArg:C,endpointState:S,state:_}))?!0:!k},dispatchConditionRejection:!0}),l=Oo(`${e}/executeMutation`,g,{getPendingMeta(){return{startedTimeStamp:Date.now(),[yt]:!0}}}),s=v=>"force"in v,c=v=>"ifOlderThan"in v,f=(v,h,_)=>(S,k)=>{const x=s(_)&&_.force,C=c(_)&&_.ifOlderThan,T=(R=!0)=>i.endpoints[v].initiate(h,{forceRefetch:R}),E=i.endpoints[v].select(h)(k());if(x)S(T());else if(C){const R=E==null?void 0:E.fulfilledTimeStamp;if(!R){S(T());return}(Number(new Date)-Number(new Date(R)))/1e3>=C&&S(T())}else S(T(!1))};function d(v){return h=>{var _,S;return((S=(_=h==null?void 0:h.meta)==null?void 0:_.arg)==null?void 0:S.endpointName)===v}}function b(v,h){return{matchPending:Bt(Ei(v),d(h)),matchFulfilled:Bt(Xe(v),d(h)),matchRejected:Bt(kt(v),d(h))}}return{queryThunk:p,mutationThunk:l,prefetch:f,updateQueryData:u,upsertQueryData:m,patchQueryData:a,buildMatchThunkActions:b}}function Is(e,t,r,n){return Ii(r[e.meta.arg.endpointName][t],Xe(e)?e.payload:void 0,an(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function br(e,t,r){const n=e[t];n&&r(n)}function er(e){var t;return(t="arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)!=null?t:e.requestId}function zo(e,t,r){const n=e[er(t)];n&&r(n)}var Ot={};function Ul({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:o,hasRehydrationInfo:a},assertTagType:u,config:m}){const g=fe(`${e}/resetApiState`),y=Ue({name:`${e}/queries`,initialState:Ot,reducers:{removeQueryResult:{reducer(h,{payload:{queryCacheKey:_}}){delete h[_]},prepare:It()},queryResultPatched:{reducer(h,{payload:{queryCacheKey:_,patches:S}}){br(h,_,k=>{k.data=To(k.data,S.concat())})},prepare:It()}},extraReducers(h){h.addCase(t.pending,(_,{meta:S,meta:{arg:k}})=>{var C,T;const x=qn(k);(T=_[C=k.queryCacheKey])!=null||(_[C]={status:"uninitialized",endpointName:k.endpointName}),br(_,k.queryCacheKey,E=>{E.status="pending",E.requestId=x&&E.requestId?E.requestId:S.requestId,k.originalArgs!==void 0&&(E.originalArgs=k.originalArgs),E.startedTimeStamp=S.startedTimeStamp})}).addCase(t.fulfilled,(_,{meta:S,payload:k})=>{br(_,S.arg.queryCacheKey,x=>{var T;if(x.requestId!==S.requestId&&!qn(S.arg))return;const{merge:C}=n[S.arg.endpointName];if(x.status="fulfilled",C)if(x.data!==void 0){const{fulfilledTimeStamp:E,arg:R,baseQueryMeta:N,requestId:O}=S;let I=sr(x.data,z=>C(z,k,{arg:R.originalArgs,baseQueryMeta:N,fulfilledTimeStamp:E,requestId:O}));x.data=I}else x.data=k;else x.data=(T=n[S.arg.endpointName].structuralSharing)==null||T?Es(Re(x.data)?Fu(x.data):x.data,k):k;delete x.error,x.fulfilledTimeStamp=S.fulfilledTimeStamp})}).addCase(t.rejected,(_,{meta:{condition:S,arg:k,requestId:x},error:C,payload:T})=>{br(_,k.queryCacheKey,E=>{if(!S){if(E.requestId!==x)return;E.status="rejected",E.error=T!=null?T:C}})}).addMatcher(a,(_,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")&&(_[x]=C)})}}),p=Ue({name:`${e}/mutations`,initialState:Ot,reducers:{removeMutationResult:{reducer(h,{payload:_}){const S=er(_);S in h&&delete h[S]},prepare:It()}},extraReducers(h){h.addCase(r.pending,(_,{meta:S,meta:{requestId:k,arg:x,startedTimeStamp:C}})=>{x.track&&(_[er(S)]={requestId:k,status:"pending",endpointName:x.endpointName,startedTimeStamp:C})}).addCase(r.fulfilled,(_,{payload:S,meta:k})=>{k.arg.track&&zo(_,k,x=>{x.requestId===k.requestId&&(x.status="fulfilled",x.data=S,x.fulfilledTimeStamp=k.fulfilledTimeStamp)})}).addCase(r.rejected,(_,{payload:S,error:k,meta:x})=>{x.arg.track&&zo(_,x,C=>{C.requestId===x.requestId&&(C.status="rejected",C.error=S!=null?S:k)})}).addMatcher(a,(_,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)&&(_[x]=C)})}}),l=Ue({name:`${e}/invalidation`,initialState:Ot,reducers:{updateProvidedBy:{reducer(h,_){var x,C,T,E;const{queryCacheKey:S,providedTags:k}=_.payload;for(const R of Object.values(h))for(const N of Object.values(R)){const O=N.indexOf(S);O!==-1&&N.splice(O,1)}for(const{type:R,id:N}of k){const O=(E=(C=(x=h[R])!=null?x:h[R]={})[T=N||"__internal_without_id"])!=null?E:C[T]=[];O.includes(S)||O.push(S)}},prepare:It()}},extraReducers(h){h.addCase(y.actions.removeQueryResult,(_,{payload:{queryCacheKey:S}})=>{for(const k of Object.values(_))for(const x of Object.values(k)){const C=x.indexOf(S);C!==-1&&x.splice(C,1)}}).addMatcher(a,(_,S)=>{var x,C,T,E;const{provided:k}=o(S);for(const[R,N]of Object.entries(k))for(const[O,I]of Object.entries(N)){const z=(E=(C=(x=_[R])!=null?x:_[R]={})[T=O||"__internal_without_id"])!=null?E:C[T]=[];for(const J of I)z.includes(J)||z.push(J)}}).addMatcher(Ye(Xe(t),an(t)),(_,S)=>{const k=Is(S,"providesTags",n,u),{queryCacheKey:x}=S.meta.arg;l.caseReducers.updateProvidedBy(_,l.actions.updateProvidedBy({queryCacheKey:x,providedTags:k}))})}}),s=Ue({name:`${e}/subscriptions`,initialState:Ot,reducers:{updateSubscriptionOptions(h,_){},unsubscribeQueryResult(h,_){},internal_getRTKQSubscriptions(){}}}),c=Ue({name:`${e}/internalSubscriptions`,initialState:Ot,reducers:{subscriptionsUpdated:{reducer(h,_){return To(h,_.payload)},prepare:It()}}}),f=Ue({name:`${e}/config`,initialState:P({online:Ml(),focused:Nl(),middlewareRegistered:!1},m),reducers:{middlewareRegistered(h,{payload:_}){h.middlewareRegistered=h.middlewareRegistered==="conflict"||i!==_?"conflict":!0}},extraReducers:h=>{h.addCase(Pi,_=>{_.online=!0}).addCase(Rs,_=>{_.online=!1}).addCase(Ri,_=>{_.focused=!0}).addCase(As,_=>{_.focused=!1}).addMatcher(a,_=>P({},_))}}),d=ls({queries:y.reducer,mutations:p.reducer,provided:l.reducer,subscriptions:c.reducer,config:f.reducer}),b=(h,_)=>d(g.match(_)?void 0:h,_),v=B(P(P(P(P(P(P({},f.actions),y.actions),s.actions),c.actions),p.actions),l.actions),{resetApiState:g});return{reducer:b,actions:v}}var it=Symbol.for("RTKQ/skipToken"),Os={status:"uninitialized"},jo=sr(Os,()=>{}),Uo=sr(Os,()=>{});function Wl({serializeQueryArgs:e,reducerPath:t}){const r=y=>jo,n=y=>Uo;return{buildQuerySelector:a,buildMutationSelector:u,selectInvalidatedBy:m,selectCachedArgsForQuery:g};function i(y){return P(P({},y),Al(y.status))}function o(y){return y[t]}function a(y,p){return l=>{const s=e({queryArgs:l,endpointDefinition:p,endpointName:y});return vt(l===it?r:d=>{var b,v,h;return(h=(v=(b=o(d))==null?void 0:b.queries)==null?void 0:v[s])!=null?h:jo},i)}}function u(){return y=>{var c;let p;return typeof y=="object"?p=(c=er(y))!=null?c:it:p=y,vt(p===it?n:f=>{var d,b,v;return(v=(b=(d=o(f))==null?void 0:d.mutations)==null?void 0:b[p])!=null?v:Uo},i)}}function m(y,p){var c;const l=y[t],s=new Set;for(const f of p.map(Wn)){const d=l.provided[f.type];if(!d)continue;let b=(c=f.id!==void 0?d[f.id]:Mo(Object.values(d)))!=null?c:[];for(const v of b)s.add(v)}return Mo(Array.from(s.values()).map(f=>{const d=l.queries[f];return d?[{queryCacheKey:f,endpointName:d.endpointName,originalArgs:d.originalArgs}]:[]}))}function g(y,p){return Object.values(y[t].queries).filter(l=>(l==null?void 0:l.endpointName)===p&&l.status!=="uninitialized").map(l=>l.originalArgs)}}var pt=WeakMap?new WeakMap:void 0,Wo=({endpointName:e,queryArgs:t})=>{let r="";const n=pt==null?void 0:pt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,a)=>Be(a)?Object.keys(a).sort().reduce((u,m)=>(u[m]=a[m],u),{}):a);Be(t)&&(pt==null||pt.set(t,i)),r=i}return`${e}(${r})`};function ql(...e){return function(r){const n=Xt(g=>{var y,p;return(p=r.extractRehydrationInfo)==null?void 0:p.call(r,g,{reducerPath:(y=r.reducerPath)!=null?y:"api"})}),i=B(P({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed"},r),{extractRehydrationInfo:n,serializeQueryArgs(g){let y=Wo;if("serializeQueryArgs"in g.endpointDefinition){const p=g.endpointDefinition.serializeQueryArgs;y=l=>{const s=p(l);return typeof s=="string"?s:Wo(B(P({},l),{queryArgs:s}))}}else r.serializeQueryArgs&&(y=r.serializeQueryArgs);return y(g)},tagTypes:[...r.tagTypes||[]]}),o={endpointDefinitions:{},batch(g){g()},apiUid:ks(),extractRehydrationInfo:n,hasRehydrationInfo:Xt(g=>n(g)!=null)},a={injectEndpoints:m,enhanceEndpoints({addTagTypes:g,endpoints:y}){if(g)for(const p of g)i.tagTypes.includes(p)||i.tagTypes.push(p);if(y)for(const[p,l]of Object.entries(y))typeof l=="function"?l(o.endpointDefinitions[p]):Object.assign(o.endpointDefinitions[p]||{},l);return a}},u=e.map(g=>g.init(a,i,o));function m(g){const y=g.endpoints({query:p=>B(P({},p),{type:"query"}),mutation:p=>B(P({},p),{type:"mutation"})});for(const[p,l]of Object.entries(y))if(!(!g.overrideExisting&&p in o.endpointDefinitions)){o.endpointDefinitions[p]=l;for(const s of u)s.injectEndpoint(p,l)}return a}return a.injectEndpoints({endpoints:r.endpoints})}}function Hl(e){for(let t in e)return!1;return!0}var Vl=2147483647/1e3-1,Ql=({reducerPath:e,api:t,context:r,internalState:n})=>{const{removeQueryResult:i,unsubscribeQueryResult:o}=t.internalActions;function a(y){const p=n.currentSubscriptions[y];return!!p&&!Hl(p)}const u={},m=(y,p,l)=>{var s;if(o.match(y)){const c=p.getState()[e],{queryCacheKey:f}=y.payload;g(f,(s=c.queries[f])==null?void 0:s.endpointName,p,c.config)}if(t.util.resetApiState.match(y))for(const[c,f]of Object.entries(u))f&&clearTimeout(f),delete u[c];if(r.hasRehydrationInfo(y)){const c=p.getState()[e],{queries:f}=r.extractRehydrationInfo(y);for(const[d,b]of Object.entries(f))g(d,b==null?void 0:b.endpointName,p,c.config)}};function g(y,p,l,s){var b;const c=r.endpointDefinitions[p],f=(b=c==null?void 0:c.keepUnusedDataFor)!=null?b:s.keepUnusedDataFor;if(f===1/0)return;const d=Math.max(0,Math.min(f,Vl));if(!a(y)){const v=u[y];v&&clearTimeout(v),u[y]=setTimeout(()=>{a(y)||l.dispatch(i({queryCacheKey:y})),delete u[y]},d*1e3)}}return m},Kl=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:n,queryThunk:i,api:o,assertTagType:a,refetchQuery:u,internalState:m})=>{const{removeQueryResult:g}=o.internalActions,y=Ye(Xe(n),an(n)),p=Ye(Xe(n,i),kt(n,i));let l=[];const s=(d,b)=>{y(d)?f(Is(d,"invalidatesTags",r,a),b):p(d)?f([],b):o.util.invalidateTags.match(d)&&f(Ii(d.payload,void 0,void 0,void 0,void 0,a),b)};function c(d){var b,v;for(const h in d.queries)if(((b=d.queries[h])==null?void 0:b.status)==="pending")return!0;for(const h in d.mutations)if(((v=d.mutations[h])==null?void 0:v.status)==="pending")return!0;return!1}function f(d,b){const v=b.getState(),h=v[e];if(l.push(...d),h.config.invalidationBehavior==="delayed"&&c(h))return;const _=l;if(l=[],_.length===0)return;const S=o.util.selectInvalidatedBy(v,_);t.batch(()=>{var x;const k=Array.from(S.values());for(const{queryCacheKey:C}of k){const T=h.queries[C],E=(x=m.currentSubscriptions[C])!=null?x:{};T&&(wt(E)===0?b.dispatch(g({queryCacheKey:C})):T.status!=="uninitialized"&&b.dispatch(u(T,C)))}})}return s},Gl=({reducerPath:e,queryThunk:t,api:r,refetchQuery:n,internalState:i})=>{const o={},a=(l,s)=>{(r.internalActions.updateSubscriptionOptions.match(l)||r.internalActions.unsubscribeQueryResult.match(l))&&m(l.payload,s),(t.pending.match(l)||t.rejected.match(l)&&l.meta.condition)&&m(l.meta.arg,s),(t.fulfilled.match(l)||t.rejected.match(l)&&!l.meta.condition)&&u(l.meta.arg,s),r.util.resetApiState.match(l)&&y()};function u({queryCacheKey:l},s){const f=s.getState()[e].queries[l],d=i.currentSubscriptions[l];if(!f||f.status==="uninitialized")return;const b=p(d);if(!Number.isFinite(b))return;const v=o[l];v!=null&&v.timeout&&(clearTimeout(v.timeout),v.timeout=void 0);const h=Date.now()+b,_=o[l]={nextPollTimestamp:h,pollingInterval:b,timeout:setTimeout(()=>{_.timeout=void 0,s.dispatch(n(f,l))},b)}}function m({queryCacheKey:l},s){const f=s.getState()[e].queries[l],d=i.currentSubscriptions[l];if(!f||f.status==="uninitialized")return;const b=p(d);if(!Number.isFinite(b)){g(l);return}const v=o[l],h=Date.now()+b;(!v||h<v.nextPollTimestamp)&&u({queryCacheKey:l},s)}function g(l){const s=o[l];s!=null&&s.timeout&&clearTimeout(s.timeout),delete o[l]}function y(){for(const l of Object.keys(o))g(l)}function p(l={}){let s=Number.POSITIVE_INFINITY;for(let c in l)l[c].pollingInterval&&(s=Math.min(l[c].pollingInterval,s));return s}return a},Jl=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,a=(m,g)=>{Ri.match(m)&&u(g,"refetchOnFocus"),Pi.match(m)&&u(g,"refetchOnReconnect")};function u(m,g){const y=m.getState()[e],p=y.queries,l=i.currentSubscriptions;t.batch(()=>{for(const s of Object.keys(l)){const c=p[s],f=l[s];if(!f||!c)continue;(Object.values(f).some(b=>b[g]===!0)||Object.values(f).every(b=>b[g]===void 0)&&y.config[g])&&(wt(f)===0?m.dispatch(o({queryCacheKey:s})):c.status!=="uninitialized"&&m.dispatch(n(c,s)))}})}return a},qo=new Error("Promise never resolved before cacheEntryRemoved."),Yl=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const a=Un(n),u=Un(i),m=Xe(n,i),g={},y=(s,c,f)=>{const d=p(s);if(n.pending.match(s)){const b=f[t].queries[d],v=c.getState()[t].queries[d];!b&&v&&l(s.meta.arg.endpointName,s.meta.arg.originalArgs,d,c,s.meta.requestId)}else if(i.pending.match(s))c.getState()[t].mutations[d]&&l(s.meta.arg.endpointName,s.meta.arg.originalArgs,d,c,s.meta.requestId);else if(m(s)){const b=g[d];b!=null&&b.valueResolved&&(b.valueResolved({data:s.payload,meta:s.meta.baseQueryMeta}),delete b.valueResolved)}else if(e.internalActions.removeQueryResult.match(s)||e.internalActions.removeMutationResult.match(s)){const b=g[d];b&&(delete g[d],b.cacheEntryRemoved())}else if(e.util.resetApiState.match(s))for(const[b,v]of Object.entries(g))delete g[b],v.cacheEntryRemoved()};function p(s){return a(s)?s.meta.arg.queryCacheKey:u(s)?s.meta.requestId:e.internalActions.removeQueryResult.match(s)?s.payload.queryCacheKey:e.internalActions.removeMutationResult.match(s)?er(s.payload):""}function l(s,c,f,d,b){const v=r.endpointDefinitions[s],h=v==null?void 0:v.onCacheEntryAdded;if(!h)return;let _={};const S=new Promise(R=>{_.cacheEntryRemoved=R}),k=Promise.race([new Promise(R=>{_.valueResolved=R}),S.then(()=>{throw qo})]);k.catch(()=>{}),g[f]=_;const x=e.endpoints[s].select(v.type==="query"?c:f),C=d.dispatch((R,N,O)=>O),T=B(P({},d),{getCacheEntry:()=>x(d.getState()),requestId:b,extra:C,updateCachedData:v.type==="query"?R=>d.dispatch(e.util.updateQueryData(s,c,R)):void 0,cacheDataLoaded:k,cacheEntryRemoved:S}),E=h(c,T);Promise.resolve(E).catch(R=>{if(R!==qo)throw R})}return y},Xl=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=Ei(r,n),o=kt(r,n),a=Xe(r,n),u={};return(g,y)=>{var p,l,s;if(i(g)){const{requestId:c,arg:{endpointName:f,originalArgs:d}}=g.meta,b=t.endpointDefinitions[f],v=b==null?void 0:b.onQueryStarted;if(v){const h={},_=new Promise((C,T)=>{h.resolve=C,h.reject=T});_.catch(()=>{}),u[c]=h;const S=e.endpoints[f].select(b.type==="query"?d:c),k=y.dispatch((C,T,E)=>E),x=B(P({},y),{getCacheEntry:()=>S(y.getState()),requestId:c,extra:k,updateCachedData:b.type==="query"?C=>y.dispatch(e.util.updateQueryData(f,d,C)):void 0,queryFulfilled:_});v(d,x)}}else if(a(g)){const{requestId:c,baseQueryMeta:f}=g.meta;(p=u[c])==null||p.resolve({data:g.payload,meta:f}),delete u[c]}else if(o(g)){const{requestId:c,rejectedWithValue:f,baseQueryMeta:d}=g.meta;(s=u[c])==null||s.reject({error:(l=g.payload)!=null?l:g.error,isUnhandledError:!f,meta:d}),delete u[c]}}},Zl=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t))},ed=({api:e,queryThunk:t,internalState:r})=>{const n=`${e.reducerPath}/subscriptions`;let i=null,o=null;const{updateSubscriptionOptions:a,unsubscribeQueryResult:u}=e.internalActions,m=(s,c)=>{var d,b,v,h,_,S,k,x,C;if(a.match(c)){const{queryCacheKey:T,requestId:E,options:R}=c.payload;return(d=s==null?void 0:s[T])!=null&&d[E]&&(s[T][E]=R),!0}if(u.match(c)){const{queryCacheKey:T,requestId:E}=c.payload;return s[T]&&delete s[T][E],!0}if(e.internalActions.removeQueryResult.match(c))return delete s[c.payload.queryCacheKey],!0;if(t.pending.match(c)){const{meta:{arg:T,requestId:E}}=c,R=(v=s[b=T.queryCacheKey])!=null?v:s[b]={};return R[`${E}_running`]={},T.subscribe&&(R[E]=(_=(h=T.subscriptionOptions)!=null?h:R[E])!=null?_:{}),!0}let f=!1;if(t.fulfilled.match(c)||t.rejected.match(c)){const T=s[c.meta.arg.queryCacheKey]||{},E=`${c.meta.requestId}_running`;f||(f=!!T[E]),delete T[E]}if(t.rejected.match(c)){const{meta:{condition:T,arg:E,requestId:R}}=c;if(T&&E.subscribe){const N=(k=s[S=E.queryCacheKey])!=null?k:s[S]={};N[R]=(C=(x=E.subscriptionOptions)!=null?x:N[R])!=null?C:{},f=!0}}return f},g=()=>r.currentSubscriptions,l={getSubscriptions:g,getSubscriptionCount:s=>{var d;const f=(d=g()[s])!=null?d:{};return wt(f)},isRequestSubscribed:(s,c)=>{var d;const f=g();return!!((d=f==null?void 0:f[s])!=null&&d[c])}};return(s,c)=>{if(i||(i=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(s))return i=r.currentSubscriptions={},o=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(s))return[!1,l];const f=m(r.currentSubscriptions,s);let d=!0;if(f){o||(o=setTimeout(()=>{const h=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,_]=bs(i,()=>h);c.next(e.internalActions.subscriptionsUpdated(_)),i=h,o=null},500));const b=typeof s.type=="string"&&!!s.type.startsWith(n),v=t.rejected.match(s)&&s.meta.condition&&!!s.meta.arg.subscribe;d=!b&&!v}return[d,!1]}};function td(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:o}=i,a={invalidateTags:fe(`${t}/invalidateTags`)},u=p=>p.type.startsWith(`${t}/`),m=[Zl,Ql,Kl,Gl,Yl,Xl];return{middleware:p=>{let l=!1,s={currentSubscriptions:{}};const c=B(P({},e),{internalState:s,refetchQuery:y,isThisApiSliceAction:u}),f=m.map(v=>v(c)),d=ed(c),b=Jl(c);return v=>h=>{if(!ds(h))return v(h);l||(l=!0,p.dispatch(n.internalActions.middlewareRegistered(o)));const _=B(P({},p),{next:v}),S=p.getState(),[k,x]=d(h,_,S);let C;if(k?C=v(h):C=x,p.getState()[t]&&(b(h,_,S),u(h)||i.hasRehydrationInfo(h)))for(let T of f)T(h,_,S);return C}},actions:a};function y(p,l,s={}){return r(P({type:"query",endpointName:p.endpointName,originalArgs:p.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:l},s))}}function Ke(e,...t){return Object.assign(e,...t)}var Ho=Symbol(),rd=()=>({name:Ho,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:a,refetchOnFocus:u,refetchOnReconnect:m,invalidationBehavior:g},y){qu();const p=U=>U;Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:Pi,onOffline:Rs,onFocus:Ri,onFocusLost:As},util:{}});const{queryThunk:l,mutationThunk:s,patchQueryData:c,updateQueryData:f,upsertQueryData:d,prefetch:b,buildMatchThunkActions:v}=jl({baseQuery:t,reducerPath:n,context:y,api:e,serializeQueryArgs:i,assertTagType:p}),{reducer:h,actions:_}=Ul({context:y,queryThunk:l,mutationThunk:s,reducerPath:n,assertTagType:p,config:{refetchOnFocus:u,refetchOnReconnect:m,refetchOnMountOrArgChange:a,keepUnusedDataFor:o,reducerPath:n,invalidationBehavior:g}});Ke(e.util,{patchQueryData:c,updateQueryData:f,upsertQueryData:d,prefetch:b,resetApiState:_.resetApiState}),Ke(e.internalActions,_);const{middleware:S,actions:k}=td({reducerPath:n,context:y,queryThunk:l,mutationThunk:s,api:e,assertTagType:p});Ke(e.util,k),Ke(e,{reducer:h,middleware:S});const{buildQuerySelector:x,buildMutationSelector:C,selectInvalidatedBy:T,selectCachedArgsForQuery:E}=Wl({serializeQueryArgs:i,reducerPath:n});Ke(e.util,{selectInvalidatedBy:T,selectCachedArgsForQuery:E});const{buildInitiateQuery:R,buildInitiateMutation:N,getRunningMutationThunk:O,getRunningMutationsThunk:I,getRunningQueriesThunk:z,getRunningQueryThunk:J}=zl({queryThunk:l,mutationThunk:s,api:e,serializeQueryArgs:i,context:y});return Ke(e.util,{getRunningMutationThunk:O,getRunningMutationsThunk:I,getRunningQueryThunk:J,getRunningQueriesThunk:z}),{name:Ho,injectEndpoint(U,D){var X,ue;const ee=e;(ue=(X=ee.endpoints)[U])!=null||(X[U]={}),Ps(D)?Ke(ee.endpoints[U],{name:U,select:x(U,D),initiate:R(U,D)},v(l,U)):Ll(D)&&Ke(ee.endpoints[U],{name:U,select:C(),initiate:N(U)},v(s,U))}}}}),Ms={exports:{}},Ns={};const nd=iu(Wt);/**
8
+ */var oe=typeof Symbol=="function"&&Symbol.for,Vi=oe?Symbol.for("react.element"):60103,Qi=oe?Symbol.for("react.portal"):60106,cn=oe?Symbol.for("react.fragment"):60107,un=oe?Symbol.for("react.strict_mode"):60108,ln=oe?Symbol.for("react.profiler"):60114,dn=oe?Symbol.for("react.provider"):60109,fn=oe?Symbol.for("react.context"):60110,Ki=oe?Symbol.for("react.async_mode"):60111,pn=oe?Symbol.for("react.concurrent_mode"):60111,hn=oe?Symbol.for("react.forward_ref"):60112,mn=oe?Symbol.for("react.suspense"):60113,ol=oe?Symbol.for("react.suspense_list"):60120,gn=oe?Symbol.for("react.memo"):60115,yn=oe?Symbol.for("react.lazy"):60116,sl=oe?Symbol.for("react.block"):60121,al=oe?Symbol.for("react.fundamental"):60117,cl=oe?Symbol.for("react.responder"):60118,ul=oe?Symbol.for("react.scope"):60119;function Se(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Vi:switch(e=e.type,e){case Ki:case pn:case cn:case ln:case un:case mn:return e;default:switch(e=e&&e.$$typeof,e){case fn:case hn:case yn:case gn:case dn:return e;default:return t}}case Qi:return t}}}function Fa(e){return Se(e)===pn}Q.AsyncMode=Ki;Q.ConcurrentMode=pn;Q.ContextConsumer=fn;Q.ContextProvider=dn;Q.Element=Vi;Q.ForwardRef=hn;Q.Fragment=cn;Q.Lazy=yn;Q.Memo=gn;Q.Portal=Qi;Q.Profiler=ln;Q.StrictMode=un;Q.Suspense=mn;Q.isAsyncMode=function(e){return Fa(e)||Se(e)===Ki};Q.isConcurrentMode=Fa;Q.isContextConsumer=function(e){return Se(e)===fn};Q.isContextProvider=function(e){return Se(e)===dn};Q.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Vi};Q.isForwardRef=function(e){return Se(e)===hn};Q.isFragment=function(e){return Se(e)===cn};Q.isLazy=function(e){return Se(e)===yn};Q.isMemo=function(e){return Se(e)===gn};Q.isPortal=function(e){return Se(e)===Qi};Q.isProfiler=function(e){return Se(e)===ln};Q.isStrictMode=function(e){return Se(e)===un};Q.isSuspense=function(e){return Se(e)===mn};Q.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===cn||e===pn||e===ln||e===un||e===mn||e===ol||typeof e=="object"&&e!==null&&(e.$$typeof===yn||e.$$typeof===gn||e.$$typeof===dn||e.$$typeof===fn||e.$$typeof===hn||e.$$typeof===al||e.$$typeof===cl||e.$$typeof===ul||e.$$typeof===sl)};Q.typeOf=Se;Ba.exports=Q;var ll=Ba.exports,Da=ll,dl={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},fl={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},La={};La[Da.ForwardRef]=dl;La[Da.Memo]=fl;var pl=!0;function $a(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var Ji=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||pl===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Yi=function(t,r,n){Ji(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 hl(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 ml={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},gl=/[A-Z]|^ms/g,yl=/_EMO_([^_]+?)_([^]*?)_EMO_/g,za=function(t){return t.charCodeAt(1)===45},Jo=function(t){return t!=null&&typeof t!="boolean"},Dn=Ea(function(e){return za(e)?e:e.replace(gl,"-$&").toLowerCase()}),Yo=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(yl,function(n,i,o){return De={name:i,styles:o,next:De},i})}return ml[t]!==1&&!za(t)&&typeof r=="number"&&r!==0?r+"px":r};function rr(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 De={name:r.name,styles:r.styles,next:De},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)De={name:n.name,styles:n.styles,next:De},n=n.next;var i=r.styles+";";return i}return wl(e,t,r)}case"function":{if(e!==void 0){var o=De,s=r(e);return De=o,rr(e,t,s)}break}}if(t==null)return r;var a=t[r];return a!==void 0?a:r}function wl(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=rr(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]+"}":Jo(s)&&(n+=Dn(o)+":"+Yo(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++)Jo(s[a])&&(n+=Dn(o)+":"+Yo(o,s[a])+";");else{var u=rr(e,t,s);switch(o){case"animation":case"animationName":{n+=Dn(o)+":"+u+";";break}default:n+=o+"{"+u+"}"}}}return n}var Go=/label:\s*([^\s;\n{]+)\s*(;|$)/g,De,wn=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="";De=void 0;var s=t[0];s==null||s.raw===void 0?(i=!1,o+=rr(n,r,s)):o+=s[0];for(var a=1;a<t.length;a++)o+=rr(n,r,t[a]),i&&(o+=s[a]);Go.lastIndex=0;for(var u="",h;(h=Go.exec(o))!==null;)u+="-"+h[1];var g=hl(o)+u;return{name:g,styles:o,next:De}},bl=function(t){return t()},Ua=Zt.useInsertionEffect?Zt.useInsertionEffect:!1,ja=Ua||bl,Xo=Ua||mt,bn={}.hasOwnProperty,Ha=nn(typeof HTMLElement!="undefined"?Oa({key:"css"}):null),vl=Ha.Provider,Gi=function(t){return zi(function(r,n){var i=Ot(Ha);return t(r,i,n)})},Xi=nn({}),si="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",qa=function(t,r){var n={};for(var i in r)bn.call(r,i)&&(n[i]=r[i]);return n[si]=t,n},_l=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Ji(r,n,i),ja(function(){return Yi(r,n,i)}),null},Sl=Gi(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[si],o=[n],s="";typeof e.className=="string"?s=$a(t.registered,o,e.className):e.className!=null&&(s=e.className+" ");var a=wn(o,void 0,Ot(Xi));s+=t.key+"-"+a.name;var u={};for(var h in e)bn.call(e,h)&&h!=="css"&&h!==si&&(u[h]=e[h]);return u.ref=r,u.className=s,X(ve,null,X(_l,{cache:t,serialized:a,isStringTag:typeof i=="string"}),X(i,u))}),Wa=Sl,Cl=Gi(function(e,t){var r=e.styles,n=wn([r],void 0,Ot(Xi)),i=xe();return Xo(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,u=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),u!==null&&(a=!0,u.setAttribute("data-emotion",o),s.hydrate([u])),i.current=[s,a],function(){s.flush()}},[t]),Xo(function(){var o=i.current,s=o[0],a=o[1];if(a){o[1]=!1;return}if(n.next!==void 0&&Yi(t,n.next,!0),s.tags.length){var u=s.tags[s.tags.length-1].nextElementSibling;s.before=u,s.flush()}t.insert("",n,s,!1)},[t,n.name]),null});function kl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return wn(t)}var xl=Au,El=function(t){return t!=="theme"},Zo=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?xl:El},es=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},Tl=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Ji(r,n,i),ja(function(){return Yi(r,n,i)}),null},Al=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=es(t,r,n),u=a||Zo(i),h=!u("as");return function(){var g=arguments,m=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&m.push("label:"+o+";"),g[0]==null||g[0].raw===void 0)m.push.apply(m,g);else{m.push(g[0][0]);for(var d=g.length,c=1;c<d;c++)m.push(g[c],g[0][c])}var l=Gi(function(f,p,w){var b=h&&f.as||i,y="",v=[],S=f;if(f.theme==null){S={};for(var k in f)S[k]=f[k];S.theme=Ot(Xi)}typeof f.className=="string"?y=$a(p.registered,v,f.className):f.className!=null&&(y=f.className+" ");var C=wn(m.concat(v),p.registered,S);y+=p.key+"-"+C.name,s!==void 0&&(y+=" "+s);var x=h&&a===void 0?Zo(b):u,E={};for(var T in f)h&&T==="as"||x(T)&&(E[T]=f[T]);return E.className=y,E.ref=w,X(ve,null,X(Tl,{cache:p,serialized:C,isStringTag:typeof b=="string"}),X(b,E))});return l.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",l.defaultProps=t.defaultProps,l.__emotion_real=l,l.__emotion_base=i,l.__emotion_styles=m,l.__emotion_forwardProp=a,Object.defineProperty(l,"toString",{value:function(){return"."+s}}),l.withComponent=function(f,p){return e(f,Xn({},r,p,{shouldForwardProp:es(l,p,!0)})).apply(void 0,m)},l}},Rl=["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"],G=Al.bind();Rl.forEach(function(e){G[e]=G(e)});function se(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 Pl=typeof Symbol=="function"&&Symbol.observable||"@@observable",ts=Pl,Ln=()=>Math.random().toString(36).substring(7).split("").join("."),Il={INIT:`@@redux/INIT${Ln()}`,REPLACE:`@@redux/REPLACE${Ln()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Ln()}`},Vr=Il;function Ue(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 Va(e,t,r){if(typeof e!="function")throw new Error(se(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(se(0));if(typeof t=="function"&&typeof r=="undefined"&&(r=t,t=void 0),typeof r!="undefined"){if(typeof r!="function")throw new Error(se(1));return r(Va)(e,t)}let n=e,i=t,o=new Map,s=o,a=0,u=!1;function h(){s===o&&(s=new Map,o.forEach((p,w)=>{s.set(w,p)}))}function g(){if(u)throw new Error(se(3));return i}function m(p){if(typeof p!="function")throw new Error(se(4));if(u)throw new Error(se(5));let w=!0;h();const b=a++;return s.set(b,p),function(){if(w){if(u)throw new Error(se(6));w=!1,h(),s.delete(b),o=null}}}function d(p){if(!Ue(p))throw new Error(se(7));if(typeof p.type=="undefined")throw new Error(se(8));if(typeof p.type!="string")throw new Error(se(17));if(u)throw new Error(se(9));try{u=!0,i=n(i,p)}finally{u=!1}return(o=s).forEach(b=>{b()}),p}function c(p){if(typeof p!="function")throw new Error(se(10));n=p,d({type:Vr.REPLACE})}function l(){const p=m;return{subscribe(w){if(typeof w!="object"||w===null)throw new Error(se(11));function b(){const v=w;v.next&&v.next(g())}return b(),{unsubscribe:p(b)}},[ts](){return this}}}return d({type:Vr.INIT}),{dispatch:d,subscribe:m,getState:g,replaceReducer:c,[ts]:l}}function Ml(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:Vr.INIT})=="undefined")throw new Error(se(12));if(typeof r(void 0,{type:Vr.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(se(13))})}function Qa(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{Ml(r)}catch(o){i=o}return function(s={},a){if(i)throw i;let u=!1;const h={};for(let g=0;g<n.length;g++){const m=n[g],d=r[m],c=s[m],l=d(c,a);if(typeof l=="undefined")throw a&&a.type,new Error(se(14));h[m]=l,u=u||l!==c}return u=u||n.length!==Object.keys(s).length,u?h:s}}function Qr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function Nl(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(se(15))};const s={getState:i.getState,dispatch:(u,...h)=>o(u,...h)},a=e.map(u=>u(s));return o=Qr(...a)(i.dispatch),$(I({},i),{dispatch:o})}}function Ka(e){return Ue(e)&&"type"in e&&typeof e.type=="string"}var Zi=Symbol.for("immer-nothing"),Qt=Symbol.for("immer-draftable"),ge=Symbol.for("immer-state");function ue(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var dt=Object.getPrototypeOf;function Me(e){return!!e&&!!e[ge]}function Ne(e){var t;return e?Ja(e)||Array.isArray(e)||!!e[Qt]||!!((t=e.constructor)!=null&&t[Qt])||mr(e)||gr(e):!1}var Ol=Object.prototype.constructor.toString();function Ja(e){if(!e||typeof e!="object")return!1;const t=dt(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)===Ol}function Bl(e){return Me(e)||ue(15,e),e[ge].base_}function nr(e,t){ft(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function ft(e){const t=e[ge];return t?t.type_:Array.isArray(e)?1:mr(e)?2:gr(e)?3:0}function ir(e,t){return ft(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function $n(e,t){return ft(e)===2?e.get(t):e[t]}function Ya(e,t,r){const n=ft(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Fl(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function mr(e){return e instanceof Map}function gr(e){return e instanceof Set}function at(e){return e.copy_||e.base_}function ai(e,t){if(mr(e))return new Map(e);if(gr(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&Ja(e))return dt(e)?I({},e):Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[ge];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(dt(e),r)}function eo(e,t=!1){return vn(e)||Me(e)||!Ne(e)||(ft(e)>1&&(e.set=e.add=e.clear=e.delete=Dl),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>eo(n,!0))),e}function Dl(){ue(2)}function vn(e){return Object.isFrozen(e)}var ci={};function pt(e){const t=ci[e];return t||ue(0,e),t}function Ll(e,t){ci[e]||(ci[e]=t)}var or;function Ga(){return or}function $l(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function rs(e,t){t&&(pt("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function ui(e){li(e),e.drafts_.forEach(zl),e.drafts_=null}function li(e){e===or&&(or=e.parent_)}function ns(e){return or=$l(or,e)}function zl(e){const t=e[ge];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function is(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[ge].modified_&&(ui(t),ue(4)),Ne(e)&&(e=Kr(t,e),t.parent_||Jr(t,e)),t.patches_&&pt("Patches").generateReplacementPatches_(r[ge].base_,e,t.patches_,t.inversePatches_)):e=Kr(t,r,[]),ui(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Zi?e:void 0}function Kr(e,t,r){if(vn(t))return t;const n=t[ge];if(!n)return nr(t,(i,o)=>os(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return Jr(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),nr(o,(a,u)=>os(e,n,i,a,u,r,s)),Jr(e,i,!1),r&&e.patches_&&pt("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function os(e,t,r,n,i,o,s){if(Me(i)){const a=o&&t&&t.type_!==3&&!ir(t.assigned_,n)?o.concat(n):void 0,u=Kr(e,i,a);if(Ya(r,n,u),Me(u))e.canAutoFreeze_=!1;else return}else s&&r.add(i);if(Ne(i)&&!vn(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Kr(e,i),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&Object.prototype.propertyIsEnumerable.call(r,n)&&Jr(e,i)}}function Jr(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&eo(t,r)}function Ul(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:Ga(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=to;r&&(i=[n],o=sr);const{revoke:s,proxy:a}=Proxy.revocable(i,o);return n.draft_=a,n.revoke_=s,a}var to={get(e,t){if(t===ge)return e;const r=at(e);if(!ir(r,t))return jl(e,r,t);const n=r[t];return e.finalized_||!Ne(n)?n:n===zn(e.base_,t)?(Un(e),e.copy_[t]=fi(n,e)):n},has(e,t){return t in at(e)},ownKeys(e){return Reflect.ownKeys(at(e))},set(e,t,r){const n=Xa(at(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=zn(at(e),t),o=i==null?void 0:i[ge];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(Fl(r,i)&&(r!==void 0||ir(e.base_,t)))return!0;Un(e),di(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 zn(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Un(e),di(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=at(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){ue(11)},getPrototypeOf(e){return dt(e.base_)},setPrototypeOf(){ue(12)}},sr={};nr(to,(e,t)=>{sr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});sr.deleteProperty=function(e,t){return sr.set.call(this,e,t,void 0)};sr.set=function(e,t,r){return to.set.call(this,e[0],t,r,e[0])};function zn(e,t){const r=e[ge];return(r?at(r):e)[t]}function jl(e,t,r){var i;const n=Xa(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function Xa(e,t){if(!(t in e))return;let r=dt(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=dt(r)}}function di(e){e.modified_||(e.modified_=!0,e.parent_&&di(e.parent_))}function Un(e){e.copy_||(e.copy_=ai(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Hl=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(u=o,...h){return s.produce(u,g=>r.call(this,g,...h))}}typeof r!="function"&&ue(6),n!==void 0&&typeof n!="function"&&ue(7);let i;if(Ne(t)){const o=ns(this),s=fi(t,void 0);let a=!0;try{i=r(s),a=!1}finally{a?ui(o):li(o)}return rs(o,n),is(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===Zi&&(i=void 0),this.autoFreeze_&&eo(i,!0),n){const o=[],s=[];pt("Patches").generateReplacementPatches_(t,i,o,s),n(o,s)}return i}else ue(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(s,...a)=>this.produceWithPatches(s,u=>t(u,...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){Ne(e)||ue(8),Me(e)&&(e=Za(e));const t=ns(this),r=fi(e,void 0);return r[ge].isManual_=!0,li(t),r}finishDraft(e,t){const r=e&&e[ge];(!r||!r.isManual_)&&ue(9);const{scope_:n}=r;return rs(n,t),is(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=pt("Patches").applyPatches_;return Me(e)?n(e,t):this.produce(e,i=>n(i,t))}};function fi(e,t){const r=mr(e)?pt("MapSet").proxyMap_(e,t):gr(e)?pt("MapSet").proxySet_(e,t):Ul(e,t);return(t?t.scope_:Ga()).drafts_.push(r),r}function Za(e){return Me(e)||ue(10,e),ec(e)}function ec(e){if(!Ne(e)||vn(e))return e;const t=e[ge];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=ai(e,t.scope_.immer_.useStrictShallowCopy_)}else r=ai(e,!0);return nr(r,(n,i)=>{Ya(r,n,ec(i))}),t&&(t.finalized_=!1),r}function ql(){const t="replace",r="add",n="remove";function i(d,c,l,f){switch(d.type_){case 0:case 2:return s(d,c,l,f);case 1:return o(d,c,l,f);case 3:return a(d,c,l,f)}}function o(d,c,l,f){let{base_:p,assigned_:w}=d,b=d.copy_;b.length<p.length&&([p,b]=[b,p],[l,f]=[f,l]);for(let y=0;y<p.length;y++)if(w[y]&&b[y]!==p[y]){const v=c.concat([y]);l.push({op:t,path:v,value:m(b[y])}),f.push({op:t,path:v,value:m(p[y])})}for(let y=p.length;y<b.length;y++){const v=c.concat([y]);l.push({op:r,path:v,value:m(b[y])})}for(let y=b.length-1;p.length<=y;--y){const v=c.concat([y]);f.push({op:n,path:v})}}function s(d,c,l,f){const{base_:p,copy_:w}=d;nr(d.assigned_,(b,y)=>{const v=$n(p,b),S=$n(w,b),k=y?ir(p,b)?t:r:n;if(v===S&&k===t)return;const C=c.concat(b);l.push(k===n?{op:k,path:C}:{op:k,path:C,value:S}),f.push(k===r?{op:n,path:C}:k===n?{op:r,path:C,value:m(v)}:{op:t,path:C,value:m(v)})})}function a(d,c,l,f){let{base_:p,copy_:w}=d,b=0;p.forEach(y=>{if(!w.has(y)){const v=c.concat([b]);l.push({op:n,path:v,value:y}),f.unshift({op:r,path:v,value:y})}b++}),b=0,w.forEach(y=>{if(!p.has(y)){const v=c.concat([b]);l.push({op:r,path:v,value:y}),f.unshift({op:n,path:v,value:y})}b++})}function u(d,c,l,f){l.push({op:t,path:[],value:c===Zi?void 0:c}),f.push({op:t,path:[],value:d})}function h(d,c){return c.forEach(l=>{const{path:f,op:p}=l;let w=d;for(let S=0;S<f.length-1;S++){const k=ft(w);let C=f[S];typeof C!="string"&&typeof C!="number"&&(C=""+C),(k===0||k===1)&&(C==="__proto__"||C==="constructor")&&ue(19),typeof w=="function"&&C==="prototype"&&ue(19),w=$n(w,C),typeof w!="object"&&ue(18,f.join("/"))}const b=ft(w),y=g(l.value),v=f[f.length-1];switch(p){case t:switch(b){case 2:return w.set(v,y);case 3:ue(16);default:return w[v]=y}case r:switch(b){case 1:return v==="-"?w.push(y):w.splice(v,0,y);case 2:return w.set(v,y);case 3:return w.add(y);default:return w[v]=y}case n:switch(b){case 1:return w.splice(v,1);case 2:return w.delete(v);case 3:return w.delete(l.value);default:return delete w[v]}default:ue(17,p)}}),d}function g(d){if(!Ne(d))return d;if(Array.isArray(d))return d.map(g);if(mr(d))return new Map(Array.from(d.entries()).map(([l,f])=>[l,g(f)]));if(gr(d))return new Set(Array.from(d).map(g));const c=Object.create(dt(d));for(const l in d)c[l]=g(d[l]);return ir(d,Qt)&&(c[Qt]=d[Qt]),c}function m(d){return Me(d)?g(d):d}Ll("Patches",{applyPatches_:h,generatePatches_:i,generateReplacementPatches_:u})}var _e=new Hl,yr=_e.produce,tc=_e.produceWithPatches.bind(_e);_e.setAutoFreeze.bind(_e);_e.setUseStrictShallowCopy.bind(_e);var ss=_e.applyPatches.bind(_e);_e.createDraft.bind(_e);_e.finishDraft.bind(_e);function Wl(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function Vl(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function Ql(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 as=e=>Array.isArray(e)?e:[e];function Kl(e){const t=Array.isArray(e[0])?e[0]:e;return Ql(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function Jl(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var Yl=class{constructor(e){this.value=e}deref(){return this.value}},Gl=typeof WeakRef!="undefined"?WeakRef:Yl,Xl=0,cs=1;function Ar(){return{s:Xl,v:void 0,o:null,p:null}}function ar(e,t={}){let r=Ar();const{resultEqualityCheck:n}=t;let i,o=0;function s(){var m,d;let a=r;const{length:u}=arguments;for(let c=0,l=u;c<l;c++){const f=arguments[c];if(typeof f=="function"||typeof f=="object"&&f!==null){let p=a.o;p===null&&(a.o=p=new WeakMap);const w=p.get(f);w===void 0?(a=Ar(),p.set(f,a)):a=w}else{let p=a.p;p===null&&(a.p=p=new Map);const w=p.get(f);w===void 0?(a=Ar(),p.set(f,a)):a=w}}const h=a;let g;if(a.s===cs?g=a.v:(g=e.apply(null,arguments),o++),h.s=cs,n){const c=(d=(m=i==null?void 0:i.deref)==null?void 0:m.call(i))!=null?d:i;c!=null&&n(c,g)&&(g=c,o!==0&&o--),i=typeof g=="object"&&g!==null||typeof g=="function"?new Gl(g):g}return h.v=g,g}return s.clearCache=()=>{r=Ar(),s.resetResultsCount()},s.resultsCount=()=>o,s.resetResultsCount=()=>{o=0},s}function rc(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let o=0,s=0,a,u={},h=i.pop();typeof h=="object"&&(u=h,h=i.pop()),Wl(h,`createSelector expects an output function after the inputs, but received: [${typeof h}]`);const g=I(I({},r),u),{memoize:m,memoizeOptions:d=[],argsMemoize:c=ar,argsMemoizeOptions:l=[],devModeChecks:f={}}=g,p=as(d),w=as(l),b=Kl(i),y=m(function(){return o++,h.apply(null,arguments)},...p),v=c(function(){s++;const k=Jl(b,arguments);return a=y.apply(null,k),a},...w);return Object.assign(v,{resultFunc:h,memoizedResultFunc:y,dependencies:b,dependencyRecomputations:()=>s,resetDependencyRecomputations:()=>{s=0},lastResult:()=>a,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:m,argsMemoize:c})};return Object.assign(n,{withTypes:()=>n}),n}var kt=rc(ar),Zl=Object.assign((e,t=kt)=>{Vl(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,u)=>(s[r[u]]=a,s),{}))},{withTypes:()=>Zl});function nc(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var ed=nc(),td=nc,rd=(...e)=>{const t=rc(...e);return(...r)=>{const n=t(...r),i=(o,...s)=>n(Me(o)?Za(o):o,...s);return Object.assign(i,n),i}};rd(ar);var nd=typeof window!="undefined"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Qr:Qr.apply(null,arguments)},id=e=>e&&typeof e.match=="function";function he(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(Te(0));return I(I({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=>Ka(n)&&n.type===e,r}var ic=class jt extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,jt.prototype)}static get[Symbol.species](){return jt}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new jt(...t[0].concat(this)):new jt(...t.concat(this))}};function us(e){return Ne(e)?yr(e,()=>{}):e}function ls(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(Te(10));const n=r.insert(t,e);return e.set(t,n),n}function od(e){return typeof e=="boolean"}var sd=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t!=null?t:{};let s=new ic;return r&&(od(r)?s.push(ed):s.push(td(r.extraArgument))),s},St="RTK_autoBatch",zt=()=>e=>({payload:e,meta:{[St]:!0}}),oc=e=>t=>{setTimeout(t,e)},ad=typeof window!="undefined"&&window.requestAnimationFrame?window.requestAnimationFrame:oc(10),cd=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let i=!0,o=!1,s=!1;const a=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?ad:e.type==="callback"?e.queueNotification:oc(e.timeout),h=()=>{s=!1,o&&(o=!1,a.forEach(g=>g()))};return Object.assign({},n,{subscribe(g){const m=()=>i&&g(),d=n.subscribe(m);return a.add(g),()=>{d(),a.delete(g)}},dispatch(g){var m;try{return i=!((m=g==null?void 0:g.meta)!=null&&m[St]),o=!i,o&&(s||(s=!0,u(h))),n.dispatch(g)}finally{i=!0}}})},ud=e=>function(r){const{autoBatch:n=!0}=r!=null?r:{};let i=new ic(e);return n&&i.push(cd(typeof n=="object"?n:void 0)),i},ld=!0;function dd(e){const t=sd(),{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(Ue(r))a=Qa(r);else throw new Error(Te(1));let u;typeof n=="function"?u=n(t):u=t();let h=Qr;i&&(h=nd(I({trace:!ld},typeof i=="object"&&i)));const g=Nl(...u),m=ud(g);let d=typeof s=="function"?s(m):m();const c=h(...d);return Va(a,o,c)}function sc(e){const t={},r=[];let n;const i={addCase(o,s){const a=typeof o=="string"?o:o.type;if(!a)throw new Error(Te(28));if(a in t)throw new Error(Te(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 fd(e){return typeof e=="function"}function pd(e,t){let[r,n,i]=sc(t),o;if(fd(e))o=()=>us(e());else{const a=us(e);o=()=>a}function s(a=o(),u){let h=[r[u.type],...n.filter(({matcher:g})=>g(u)).map(({reducer:g})=>g)];return h.filter(g=>!!g).length===0&&(h=[i]),h.reduce((g,m)=>{if(m)if(Me(g)){const c=m(g,u);return c===void 0?g:c}else{if(Ne(g))return yr(g,d=>m(d,u));{const d=m(g,u);if(d===void 0){if(g===null)return g;throw new Error(Te(9))}return d}}return g},a)}return s.getInitialState=o,s}var hd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ac=(e=21)=>{let t="",r=e;for(;r--;)t+=hd[Math.random()*64|0];return t},cc=(e,t)=>id(e)?e.match(t):e(t);function tt(...e){return t=>e.some(r=>cc(r,t))}function Kt(...e){return t=>e.every(r=>cc(r,t))}function _n(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 wr(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function ro(...e){return e.length===0?t=>_n(t,["pending"]):wr(e)?t=>{const r=e.map(i=>i.pending);return tt(...r)(t)}:ro()(e[0])}function Rt(...e){return e.length===0?t=>_n(t,["rejected"]):wr(e)?t=>{const r=e.map(i=>i.rejected);return tt(...r)(t)}:Rt()(e[0])}function Sn(...e){const t=r=>r&&r.meta&&r.meta.rejectedWithValue;return e.length===0?r=>Kt(Rt(...e),t)(r):wr(e)?r=>Kt(Rt(...e),t)(r):Sn()(e[0])}function rt(...e){return e.length===0?t=>_n(t,["fulfilled"]):wr(e)?t=>{const r=e.map(i=>i.fulfilled);return tt(...r)(t)}:rt()(e[0])}function pi(...e){return e.length===0?t=>_n(t,["pending","fulfilled","rejected"]):wr(e)?t=>{const r=[];for(const i of e)r.push(i.pending,i.rejected,i.fulfilled);return tt(...r)(t)}:pi()(e[0])}var md=["name","message","stack","code"],jn=class{constructor(e,t){On(this,"_type");this.payload=e,this.meta=t}},ds=class{constructor(e,t){On(this,"_type");this.payload=e,this.meta=t}},gd=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of md)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},fs=(()=>{function e(t,r,n){const i=he(t+"/fulfilled",(u,h,g,m)=>({payload:u,meta:$(I({},m||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})})),o=he(t+"/pending",(u,h,g)=>({payload:void 0,meta:$(I({},g||{}),{arg:h,requestId:u,requestStatus:"pending"})})),s=he(t+"/rejected",(u,h,g,m,d)=>({payload:m,error:(n&&n.serializeError||gd)(u||"Rejected"),meta:$(I({},d||{}),{arg:g,requestId:h,rejectedWithValue:!!m,requestStatus:"rejected",aborted:(u==null?void 0:u.name)==="AbortError",condition:(u==null?void 0:u.name)==="ConditionError"})}));function a(u){return(h,g,m)=>{const d=n!=null&&n.idGenerator?n.idGenerator(u):ac(),c=new AbortController;let l;function f(w){l=w,c.abort()}const p=function(){return pe(this,null,function*(){var y,v;let w;try{let S=(y=n==null?void 0:n.condition)==null?void 0:y.call(n,u,{getState:g,extra:m});if(wd(S)&&(S=yield S),S===!1||c.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const k=new Promise((C,x)=>c.signal.addEventListener("abort",()=>x({name:"AbortError",message:l||"Aborted"})));h(o(d,u,(v=n==null?void 0:n.getPendingMeta)==null?void 0:v.call(n,{requestId:d,arg:u},{getState:g,extra:m}))),w=yield Promise.race([k,Promise.resolve(r(u,{dispatch:h,getState:g,extra:m,requestId:d,signal:c.signal,abort:f,rejectWithValue:(C,x)=>new jn(C,x),fulfillWithValue:(C,x)=>new ds(C,x)})).then(C=>{if(C instanceof jn)throw C;return C instanceof ds?i(C.payload,d,u,C.meta):i(C,d,u)})])}catch(S){w=S instanceof jn?s(null,d,u,S.payload,S.meta):s(S,d,u)}return n&&!n.dispatchConditionRejection&&s.match(w)&&w.meta.condition||h(w),w})}();return Object.assign(p,{abort:f,requestId:d,arg:u,unwrap(){return p.then(yd)}})}}return Object.assign(a,{pending:o,rejected:s,fulfilled:i,settled:tt(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function yd(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function wd(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var bd=Symbol.for("rtk-slice-createasyncthunk");function vd(e,t){return`${e}/${t}`}function _d({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[bd];return function(i){const{name:o,reducerPath:s=o}=i;if(!o)throw new Error(Te(11));const a=(typeof i.reducers=="function"?i.reducers(Cd()):i.reducers)||{},u=Object.keys(a),h={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},g={addCase(p,w){const b=typeof p=="string"?p:p.type;if(!b)throw new Error(Te(12));if(b in h.sliceCaseReducersByType)throw new Error(Te(13));return h.sliceCaseReducersByType[b]=w,g},addMatcher(p,w){return h.sliceMatchers.push({matcher:p,reducer:w}),g},exposeAction(p,w){return h.actionCreators[p]=w,g},exposeCaseReducer(p,w){return h.sliceCaseReducersByName[p]=w,g}};u.forEach(p=>{const w=a[p],b={reducerName:p,type:vd(o,p),createNotation:typeof i.reducers=="function"};xd(w)?Td(b,w,g,t):kd(b,w,g)});function m(){const[p={},w=[],b=void 0]=typeof i.extraReducers=="function"?sc(i.extraReducers):[i.extraReducers],y=I(I({},p),h.sliceCaseReducersByType);return pd(i.initialState,v=>{for(let S in y)v.addCase(S,y[S]);for(let S of h.sliceMatchers)v.addMatcher(S.matcher,S.reducer);for(let S of w)v.addMatcher(S.matcher,S.reducer);b&&v.addDefaultCase(b)})}const d=p=>p,c=new WeakMap;let l;const f={name:o,reducerPath:s,reducer(p,w){return l||(l=m()),l(p,w)},actions:h.actionCreators,caseReducers:h.sliceCaseReducersByName,getInitialState(){return l||(l=m()),l.getInitialState()},getSelectors(p=d){const w=ls(c,this,{insert:()=>new WeakMap});return ls(w,p,{insert:()=>{var y;const b={};for(const[v,S]of Object.entries((y=i.selectors)!=null?y:{}))b[v]=Sd(this,S,p,this!==f);return b}})},selectSlice(p){let w=p[this.reducerPath];return typeof w=="undefined"&&this!==f&&(w=this.getInitialState()),w},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(p,y={}){var v=y,{reducerPath:w}=v,b=ot(v,["reducerPath"]);const S=w!=null?w:this.reducerPath;return p.inject({reducerPath:S,reducer:this.reducer},b),$(I({},this),{reducerPath:S})}};return f}}function Sd(e,t,r,n){function i(o,...s){let a=r.call(e,o);return typeof a=="undefined"&&n&&(a=e.getInitialState()),t(a,...s)}return i.unwrapped=t,i}var Ve=_d();function Cd(){function e(t,r){return I({_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 kd({type:e,reducerName:t,createNotation:r},n,i){let o,s;if("reducer"in n){if(r&&!Ed(n))throw new Error(Te(17));o=n.reducer,s=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,s?he(e,s):he(e))}function xd(e){return e._reducerDefinitionType==="asyncThunk"}function Ed(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Td({type:e,reducerName:t},r,n,i){if(!i)throw new Error(Te(18));const{payloadCreator:o,fulfilled:s,pending:a,rejected:u,settled:h,options:g}=r,m=i(e,o,g);n.exposeAction(t,m),s&&n.addCase(m.fulfilled,s),a&&n.addCase(m.pending,a),u&&n.addCase(m.rejected,u),h&&n.addMatcher(m.settled,h),n.exposeCaseReducer(t,{fulfilled:s||Rr,pending:a||Rr,rejected:u||Rr,settled:h||Rr})}function Rr(){}var no="listenerMiddleware";he(`${no}/add`);he(`${no}/removeAll`);he(`${no}/remove`);function Te(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 uc=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(uc||{});function Ad(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Rd(e){return new RegExp("(^|:)//").test(e)}var Pd=e=>e.replace(/\/$/,""),Id=e=>e.replace(/^\//,"");function Md(e,t){if(!e)return t;if(!t)return e;if(Rd(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=Pd(e),t=Id(t),`${e}${r}${t}`}var ps=e=>[].concat(...e);function Nd(){return typeof navigator=="undefined"||navigator.onLine===void 0?!0:navigator.onLine}function Od(){return typeof document=="undefined"?!0:document.visibilityState!=="hidden"}var hs=Ue;function lc(e,t){if(e===t||!(hs(e)&&hs(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]=lc(e[s],t[s]),i&&(i=e[s]===o[s]);return i?e:o}var ms=(...e)=>fetch(...e),Bd=e=>e.status>=200&&e.status<=299,Fd=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function gs(e){if(!Ue(e))return e;const t=I({},e);for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function Dd(m={}){var d=m,{baseUrl:e,prepareHeaders:t=c=>c,fetchFn:r=ms,paramsSerializer:n,isJsonContentType:i=Fd,jsonContentType:o="application/json",jsonReplacer:s,timeout:a,responseHandler:u,validateStatus:h}=d,g=ot(d,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return typeof fetch=="undefined"&&r===ms&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),(l,f)=>pe(this,null,function*(){const{signal:p,getState:w,extra:b,endpoint:y,forced:v,type:S}=f;let k,Ft=typeof l=="string"?{url:l}:l,{url:C,headers:x=new Headers(g.headers),params:E=void 0,responseHandler:T=u!=null?u:"json",validateStatus:R=h!=null?h:Bd,timeout:N=a}=Ft,P=ot(Ft,["url","headers","params","responseHandler","validateStatus","timeout"]),M=I($(I({},g),{signal:p}),P);x=new Headers(gs(x)),M.headers=(yield t(x,{getState:w,extra:b,endpoint:y,forced:v,type:S}))||x;const z=ie=>typeof ie=="object"&&(Ue(ie)||Array.isArray(ie)||typeof ie.toJSON=="function");if(!M.headers.has("content-type")&&z(M.body)&&M.headers.set("content-type",o),z(M.body)&&i(M.headers)&&(M.body=JSON.stringify(M.body,s)),E){const ie=~C.indexOf("?")?"&":"?",Ae=n?n(E):new URLSearchParams(gs(E));C+=ie+Ae}C=Md(e,C);const Y=new Request(C,M);k={request:new Request(C,M)};let D,re=!1,Z=N&&setTimeout(()=>{re=!0,f.abort()},N);try{D=yield r(Y)}catch(ie){return{error:{status:re?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(ie)},meta:k}}finally{Z&&clearTimeout(Z)}const le=D.clone();k.response=le;let qe,ne="";try{let ie;if(yield Promise.all([c(D,T).then(Ae=>qe=Ae,Ae=>ie=Ae),le.text().then(Ae=>ne=Ae,()=>{})]),ie)throw ie}catch(ie){return{error:{status:"PARSING_ERROR",originalStatus:D.status,data:ne,error:String(ie)},meta:k}}return R(D,qe)?{data:qe,meta:k}:{error:{status:D.status,data:qe},meta:k}});function c(l,f){return pe(this,null,function*(){if(typeof f=="function")return f(l);if(f==="content-type"&&(f=i(l.headers)?"json":"text"),f==="json"){const p=yield l.text();return p.length?JSON.parse(p):null}return l.text()})}}var ys=class{constructor(e,t=void 0){this.value=e,this.meta=t}},io=he("__rtkq/focused"),dc=he("__rtkq/unfocused"),oo=he("__rtkq/online"),fc=he("__rtkq/offline");function pc(e){return e.type==="query"}function Ld(e){return e.type==="mutation"}function so(e,t,r,n,i,o){return $d(e)?e(t,r,n,i).map(hi).map(o):Array.isArray(e)?e.map(hi).map(o):[]}function $d(e){return typeof e=="function"}function hi(e){return typeof e=="string"?{type:e}:e}function ws(e){return e!=null}function xt(e){let t=0;for(const r in e)t++;return t}var cr=Symbol("forceQueryFn"),mi=e=>typeof e[cr]=="function";function zd({serializeQueryArgs:e,queryThunk:t,mutationThunk:r,api:n,context:i}){const o=new Map,s=new Map,{unsubscribeQueryResult:a,removeMutationResult:u,updateSubscriptionOptions:h}=n.internalActions;return{buildInitiateQuery:l,buildInitiateMutation:f,getRunningQueryThunk:g,getRunningMutationThunk:m,getRunningQueriesThunk:d,getRunningMutationsThunk:c};function g(p,w){return b=>{var S;const y=i.endpointDefinitions[p],v=e({queryArgs:w,endpointDefinition:y,endpointName:p});return(S=o.get(b))==null?void 0:S[v]}}function m(p,w){return b=>{var y;return(y=s.get(b))==null?void 0:y[w]}}function d(){return p=>Object.values(o.get(p)||{}).filter(ws)}function c(){return p=>Object.values(s.get(p)||{}).filter(ws)}function l(p,w){const b=(y,{subscribe:v=!0,forceRefetch:S,subscriptionOptions:k,[cr]:C}={})=>(x,E)=>{var le;const T=e({queryArgs:y,endpointDefinition:w,endpointName:p}),R=t({type:"query",subscribe:v,forceRefetch:S,subscriptionOptions:k,endpointName:p,originalArgs:y,queryCacheKey:T,[cr]:C}),N=n.endpoints[p].select(y),P=x(R),M=N(E()),{requestId:z,abort:Y}=P,j=M.requestId!==z,D=(le=o.get(x))==null?void 0:le[T],re=()=>N(E()),Z=Object.assign(C?P.then(re):j&&!D?Promise.resolve(M):Promise.all([D,P]).then(re),{arg:y,requestId:z,subscriptionOptions:k,queryCacheKey:T,abort:Y,unwrap(){return pe(this,null,function*(){const ne=yield Z;if(ne.isError)throw ne.error;return ne.data})},refetch:()=>x(b(y,{subscribe:!1,forceRefetch:!0})),unsubscribe(){v&&x(a({queryCacheKey:T,requestId:z}))},updateSubscriptionOptions(ne){Z.subscriptionOptions=ne,x(h({endpointName:p,requestId:z,queryCacheKey:T,options:ne}))}});if(!D&&!j&&!C){const ne=o.get(x)||{};ne[T]=Z,o.set(x,ne),Z.then(()=>{delete ne[T],xt(ne)||o.delete(x)})}return Z};return b}function f(p){return(w,{track:b=!0,fixedCacheKey:y}={})=>(v,S)=>{const k=r({type:"mutation",endpointName:p,originalArgs:w,track:b,fixedCacheKey:y}),C=v(k),{requestId:x,abort:E,unwrap:T}=C,R=C.unwrap().then(z=>({data:z})).catch(z=>({error:z})),N=()=>{v(u({requestId:x,fixedCacheKey:y}))},P=Object.assign(R,{arg:C.arg,requestId:x,abort:E,unwrap:T,reset:N}),M=s.get(v)||{};return s.set(v,M),M[x]=P,P.then(()=>{delete M[x],xt(M)||s.delete(v)}),y&&(M[y]=P,P.then(()=>{M[y]===P&&(delete M[y],xt(M)||s.delete(v))})),P}}}function bs(e){return e}function Ud({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const s=(b,y,v,S)=>(k,C)=>{const x=r[b],E=n({queryArgs:y,endpointDefinition:x,endpointName:b});if(k(i.internalActions.queryResultPatched({queryCacheKey:E,patches:v})),!S)return;const T=i.endpoints[b].select(y)(C()),R=so(x.providesTags,T.data,void 0,y,{},o);k(i.internalActions.updateProvidedBy({queryCacheKey:E,providedTags:R}))},a=(b,y,v,S=!0)=>(k,C)=>{const E=i.endpoints[b].select(y)(C());let T={patches:[],inversePatches:[],undo:()=>k(i.util.patchQueryData(b,y,T.inversePatches,S))};if(E.status==="uninitialized")return T;let R;if("data"in E)if(Ne(E.data)){const[N,P,M]=tc(E.data,v);T.patches.push(...P),T.inversePatches.push(...M),R=N}else R=v(E.data),T.patches.push({op:"replace",path:[],value:R}),T.inversePatches.push({op:"replace",path:[],value:E.data});return k(i.util.patchQueryData(b,y,T.patches,S)),T},u=(b,y,v)=>S=>S(i.endpoints[b].initiate(y,{subscribe:!1,forceRefetch:!0,[cr]:()=>({data:v})})),h=(T,R)=>pe(this,[T,R],function*(b,{signal:y,abort:v,rejectWithValue:S,fulfillWithValue:k,dispatch:C,getState:x,extra:E}){const N=r[b.endpointName];try{let P=bs,M;const z={signal:y,abort:v,dispatch:C,getState:x,extra:E,endpoint:b.endpointName,type:b.type,forced:b.type==="query"?g(b,x()):void 0},Y=b.type==="query"?b[cr]:void 0;if(Y?M=Y():N.query?(M=yield t(N.query(b.originalArgs),z,N.extraOptions),N.transformResponse&&(P=N.transformResponse)):M=yield N.queryFn(b.originalArgs,z,N.extraOptions,j=>t(j,z,N.extraOptions)),M.error)throw new ys(M.error,M.meta);return k(yield P(M.data,M.meta,b.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:M.meta,[St]:!0})}catch(P){let M=P;if(M instanceof ys){let z=bs;N.query&&N.transformErrorResponse&&(z=N.transformErrorResponse);try{return S(yield z(M.value,M.meta,b.originalArgs),{baseQueryMeta:M.meta,[St]:!0})}catch(Y){M=Y}}throw console.error(M),M}});function g(b,y){var x,E,T,R;const v=(E=(x=y[e])==null?void 0:x.queries)==null?void 0:E[b.queryCacheKey],S=(T=y[e])==null?void 0:T.config.refetchOnMountOrArgChange,k=v==null?void 0:v.fulfilledTimeStamp,C=(R=b.forceRefetch)!=null?R:b.subscribe&&S;return C?C===!0||(Number(new Date)-Number(k))/1e3>=C:!1}const m=fs(`${e}/executeQuery`,h,{getPendingMeta(){return{startedTimeStamp:Date.now(),[St]:!0}},condition(b,{getState:y}){var T,R,N;const v=y(),S=(R=(T=v[e])==null?void 0:T.queries)==null?void 0:R[b.queryCacheKey],k=S==null?void 0:S.fulfilledTimeStamp,C=b.originalArgs,x=S==null?void 0:S.originalArgs,E=r[b.endpointName];return mi(b)?!0:(S==null?void 0:S.status)==="pending"?!1:g(b,v)||pc(E)&&((N=E==null?void 0:E.forceRefetch)!=null&&N.call(E,{currentArg:C,previousArg:x,endpointState:S,state:v}))?!0:!k},dispatchConditionRejection:!0}),d=fs(`${e}/executeMutation`,h,{getPendingMeta(){return{startedTimeStamp:Date.now(),[St]:!0}}}),c=b=>"force"in b,l=b=>"ifOlderThan"in b,f=(b,y,v)=>(S,k)=>{const C=c(v)&&v.force,x=l(v)&&v.ifOlderThan,E=(R=!0)=>i.endpoints[b].initiate(y,{forceRefetch:R}),T=i.endpoints[b].select(y)(k());if(C)S(E());else if(x){const R=T==null?void 0:T.fulfilledTimeStamp;if(!R){S(E());return}(Number(new Date)-Number(new Date(R)))/1e3>=x&&S(E())}else S(E(!1))};function p(b){return y=>{var v,S;return((S=(v=y==null?void 0:y.meta)==null?void 0:v.arg)==null?void 0:S.endpointName)===b}}function w(b,y){return{matchPending:Kt(ro(b),p(y)),matchFulfilled:Kt(rt(b),p(y)),matchRejected:Kt(Rt(b),p(y))}}return{queryThunk:m,mutationThunk:d,prefetch:f,updateQueryData:a,upsertQueryData:u,patchQueryData:s,buildMatchThunkActions:w}}function hc(e,t,r,n){return so(r[e.meta.arg.endpointName][t],rt(e)?e.payload:void 0,Sn(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function Pr(e,t,r){const n=e[t];n&&r(n)}function ur(e){var t;return(t="arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)!=null?t:e.requestId}function vs(e,t,r){const n=e[ur(t)];n&&r(n)}var Ut={};function jd({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:o,hasRehydrationInfo:s},assertTagType:a,config:u}){const h=he(`${e}/resetApiState`),g=Ve({name:`${e}/queries`,initialState:Ut,reducers:{removeQueryResult:{reducer(y,{payload:{queryCacheKey:v}}){delete y[v]},prepare:zt()},queryResultPatched:{reducer(y,{payload:{queryCacheKey:v,patches:S}}){Pr(y,v,k=>{k.data=ss(k.data,S.concat())})},prepare:zt()}},extraReducers(y){y.addCase(t.pending,(v,{meta:S,meta:{arg:k}})=>{var x,E;const C=mi(k);(E=v[x=k.queryCacheKey])!=null||(v[x]={status:"uninitialized",endpointName:k.endpointName}),Pr(v,k.queryCacheKey,T=>{T.status="pending",T.requestId=C&&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})=>{Pr(v,S.arg.queryCacheKey,C=>{var E;if(C.requestId!==S.requestId&&!mi(S.arg))return;const{merge:x}=n[S.arg.endpointName];if(C.status="fulfilled",x)if(C.data!==void 0){const{fulfilledTimeStamp:T,arg:R,baseQueryMeta:N,requestId:P}=S;let M=yr(C.data,z=>x(z,k,{arg:R.originalArgs,baseQueryMeta:N,fulfilledTimeStamp:T,requestId:P}));C.data=M}else C.data=k;else C.data=(E=n[S.arg.endpointName].structuralSharing)==null||E?lc(Me(C.data)?Bl(C.data):C.data,k):k;delete C.error,C.fulfilledTimeStamp=S.fulfilledTimeStamp})}).addCase(t.rejected,(v,{meta:{condition:S,arg:k,requestId:C},error:x,payload:E})=>{Pr(v,k.queryCacheKey,T=>{if(!S){if(T.requestId!==C)return;T.status="rejected",T.error=E!=null?E:x}})}).addMatcher(s,(v,S)=>{const{queries:k}=o(S);for(const[C,x]of Object.entries(k))((x==null?void 0:x.status)==="fulfilled"||(x==null?void 0:x.status)==="rejected")&&(v[C]=x)})}}),m=Ve({name:`${e}/mutations`,initialState:Ut,reducers:{removeMutationResult:{reducer(y,{payload:v}){const S=ur(v);S in y&&delete y[S]},prepare:zt()}},extraReducers(y){y.addCase(r.pending,(v,{meta:S,meta:{requestId:k,arg:C,startedTimeStamp:x}})=>{C.track&&(v[ur(S)]={requestId:k,status:"pending",endpointName:C.endpointName,startedTimeStamp:x})}).addCase(r.fulfilled,(v,{payload:S,meta:k})=>{k.arg.track&&vs(v,k,C=>{C.requestId===k.requestId&&(C.status="fulfilled",C.data=S,C.fulfilledTimeStamp=k.fulfilledTimeStamp)})}).addCase(r.rejected,(v,{payload:S,error:k,meta:C})=>{C.arg.track&&vs(v,C,x=>{x.requestId===C.requestId&&(x.status="rejected",x.error=S!=null?S:k)})}).addMatcher(s,(v,S)=>{const{mutations:k}=o(S);for(const[C,x]of Object.entries(k))((x==null?void 0:x.status)==="fulfilled"||(x==null?void 0:x.status)==="rejected")&&C!==(x==null?void 0:x.requestId)&&(v[C]=x)})}}),d=Ve({name:`${e}/invalidation`,initialState:Ut,reducers:{updateProvidedBy:{reducer(y,v){var C,x,E,T;const{queryCacheKey:S,providedTags:k}=v.payload;for(const R of Object.values(y))for(const N of Object.values(R)){const P=N.indexOf(S);P!==-1&&N.splice(P,1)}for(const{type:R,id:N}of k){const P=(T=(x=(C=y[R])!=null?C:y[R]={})[E=N||"__internal_without_id"])!=null?T:x[E]=[];P.includes(S)||P.push(S)}},prepare:zt()}},extraReducers(y){y.addCase(g.actions.removeQueryResult,(v,{payload:{queryCacheKey:S}})=>{for(const k of Object.values(v))for(const C of Object.values(k)){const x=C.indexOf(S);x!==-1&&C.splice(x,1)}}).addMatcher(s,(v,S)=>{var C,x,E,T;const{provided:k}=o(S);for(const[R,N]of Object.entries(k))for(const[P,M]of Object.entries(N)){const z=(T=(x=(C=v[R])!=null?C:v[R]={})[E=P||"__internal_without_id"])!=null?T:x[E]=[];for(const Y of M)z.includes(Y)||z.push(Y)}}).addMatcher(tt(rt(t),Sn(t)),(v,S)=>{const k=hc(S,"providesTags",n,a),{queryCacheKey:C}=S.meta.arg;d.caseReducers.updateProvidedBy(v,d.actions.updateProvidedBy({queryCacheKey:C,providedTags:k}))})}}),c=Ve({name:`${e}/subscriptions`,initialState:Ut,reducers:{updateSubscriptionOptions(y,v){},unsubscribeQueryResult(y,v){},internal_getRTKQSubscriptions(){}}}),l=Ve({name:`${e}/internalSubscriptions`,initialState:Ut,reducers:{subscriptionsUpdated:{reducer(y,v){return ss(y,v.payload)},prepare:zt()}}}),f=Ve({name:`${e}/config`,initialState:I({online:Nd(),focused:Od(),middlewareRegistered:!1},u),reducers:{middlewareRegistered(y,{payload:v}){y.middlewareRegistered=y.middlewareRegistered==="conflict"||i!==v?"conflict":!0}},extraReducers:y=>{y.addCase(oo,v=>{v.online=!0}).addCase(fc,v=>{v.online=!1}).addCase(io,v=>{v.focused=!0}).addCase(dc,v=>{v.focused=!1}).addMatcher(s,v=>I({},v))}}),p=Qa({queries:g.reducer,mutations:m.reducer,provided:d.reducer,subscriptions:l.reducer,config:f.reducer}),w=(y,v)=>p(h.match(v)?void 0:y,v),b=$(I(I(I(I(I(I({},f.actions),g.actions),c.actions),l.actions),m.actions),d.actions),{resetApiState:h});return{reducer:w,actions:b}}var ut=Symbol.for("RTKQ/skipToken"),mc={status:"uninitialized"},_s=yr(mc,()=>{}),Ss=yr(mc,()=>{});function Hd({serializeQueryArgs:e,reducerPath:t}){const r=g=>_s,n=g=>Ss;return{buildQuerySelector:s,buildMutationSelector:a,selectInvalidatedBy:u,selectCachedArgsForQuery:h};function i(g){return I(I({},g),Ad(g.status))}function o(g){return g[t]}function s(g,m){return d=>{const c=e({queryArgs:d,endpointDefinition:m,endpointName:g});return kt(d===ut?r:p=>{var w,b,y;return(y=(b=(w=o(p))==null?void 0:w.queries)==null?void 0:b[c])!=null?y:_s},i)}}function a(){return g=>{var l;let m;return typeof g=="object"?m=(l=ur(g))!=null?l:ut:m=g,kt(m===ut?n:f=>{var p,w,b;return(b=(w=(p=o(f))==null?void 0:p.mutations)==null?void 0:w[m])!=null?b:Ss},i)}}function u(g,m){var l;const d=g[t],c=new Set;for(const f of m.map(hi)){const p=d.provided[f.type];if(!p)continue;let w=(l=f.id!==void 0?p[f.id]:ps(Object.values(p)))!=null?l:[];for(const b of w)c.add(b)}return ps(Array.from(c.values()).map(f=>{const p=d.queries[f];return p?[{queryCacheKey:f,endpointName:p.endpointName,originalArgs:p.originalArgs}]:[]}))}function h(g,m){return Object.values(g[t].queries).filter(d=>(d==null?void 0:d.endpointName)===m&&d.status!=="uninitialized").map(d=>d.originalArgs)}}var wt=WeakMap?new WeakMap:void 0,Cs=({endpointName:e,queryArgs:t})=>{let r="";const n=wt==null?void 0:wt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,s)=>Ue(s)?Object.keys(s).sort().reduce((a,u)=>(a[u]=s[u],a),{}):s);Ue(t)&&(wt==null||wt.set(t,i)),r=i}return`${e}(${r})`};function qd(...e){return function(r){const n=ar(h=>{var g,m;return(m=r.extractRehydrationInfo)==null?void 0:m.call(r,h,{reducerPath:(g=r.reducerPath)!=null?g:"api"})}),i=$(I({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed"},r),{extractRehydrationInfo:n,serializeQueryArgs(h){let g=Cs;if("serializeQueryArgs"in h.endpointDefinition){const m=h.endpointDefinition.serializeQueryArgs;g=d=>{const c=m(d);return typeof c=="string"?c:Cs($(I({},d),{queryArgs:c}))}}else r.serializeQueryArgs&&(g=r.serializeQueryArgs);return g(h)},tagTypes:[...r.tagTypes||[]]}),o={endpointDefinitions:{},batch(h){h()},apiUid:ac(),extractRehydrationInfo:n,hasRehydrationInfo:ar(h=>n(h)!=null)},s={injectEndpoints:u,enhanceEndpoints({addTagTypes:h,endpoints:g}){if(h)for(const m of h)i.tagTypes.includes(m)||i.tagTypes.push(m);if(g)for(const[m,d]of Object.entries(g))typeof d=="function"?d(o.endpointDefinitions[m]):Object.assign(o.endpointDefinitions[m]||{},d);return s}},a=e.map(h=>h.init(s,i,o));function u(h){const g=h.endpoints({query:m=>$(I({},m),{type:"query"}),mutation:m=>$(I({},m),{type:"mutation"})});for(const[m,d]of Object.entries(g))if(!(!h.overrideExisting&&m in o.endpointDefinitions)){o.endpointDefinitions[m]=d;for(const c of a)c.injectEndpoint(m,d)}return s}return s.injectEndpoints({endpoints:r.endpoints})}}function Wd(e){for(let t in e)return!1;return!0}var Vd=2147483647/1e3-1,Qd=({reducerPath:e,api:t,context:r,internalState:n})=>{const{removeQueryResult:i,unsubscribeQueryResult:o}=t.internalActions;function s(g){const m=n.currentSubscriptions[g];return!!m&&!Wd(m)}const a={},u=(g,m,d)=>{var c;if(o.match(g)){const l=m.getState()[e],{queryCacheKey:f}=g.payload;h(f,(c=l.queries[f])==null?void 0:c.endpointName,m,l.config)}if(t.util.resetApiState.match(g))for(const[l,f]of Object.entries(a))f&&clearTimeout(f),delete a[l];if(r.hasRehydrationInfo(g)){const l=m.getState()[e],{queries:f}=r.extractRehydrationInfo(g);for(const[p,w]of Object.entries(f))h(p,w==null?void 0:w.endpointName,m,l.config)}};function h(g,m,d,c){var w;const l=r.endpointDefinitions[m],f=(w=l==null?void 0:l.keepUnusedDataFor)!=null?w:c.keepUnusedDataFor;if(f===1/0)return;const p=Math.max(0,Math.min(f,Vd));if(!s(g)){const b=a[g];b&&clearTimeout(b),a[g]=setTimeout(()=>{s(g)||d.dispatch(i({queryCacheKey:g})),delete a[g]},p*1e3)}}return u},Kd=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:n,queryThunk:i,api:o,assertTagType:s,refetchQuery:a,internalState:u})=>{const{removeQueryResult:h}=o.internalActions,g=tt(rt(n),Sn(n)),m=tt(rt(n,i),Rt(n,i));let d=[];const c=(p,w)=>{g(p)?f(hc(p,"invalidatesTags",r,s),w):m(p)?f([],w):o.util.invalidateTags.match(p)&&f(so(p.payload,void 0,void 0,void 0,void 0,s),w)};function l(p){var w,b;for(const y in p.queries)if(((w=p.queries[y])==null?void 0:w.status)==="pending")return!0;for(const y in p.mutations)if(((b=p.mutations[y])==null?void 0:b.status)==="pending")return!0;return!1}function f(p,w){const b=w.getState(),y=b[e];if(d.push(...p),y.config.invalidationBehavior==="delayed"&&l(y))return;const v=d;if(d=[],v.length===0)return;const S=o.util.selectInvalidatedBy(b,v);t.batch(()=>{var C;const k=Array.from(S.values());for(const{queryCacheKey:x}of k){const E=y.queries[x],T=(C=u.currentSubscriptions[x])!=null?C:{};E&&(xt(T)===0?w.dispatch(h({queryCacheKey:x})):E.status!=="uninitialized"&&w.dispatch(a(E,x)))}})}return c},Jd=({reducerPath:e,queryThunk:t,api:r,refetchQuery:n,internalState:i})=>{const o={},s=(d,c)=>{(r.internalActions.updateSubscriptionOptions.match(d)||r.internalActions.unsubscribeQueryResult.match(d))&&u(d.payload,c),(t.pending.match(d)||t.rejected.match(d)&&d.meta.condition)&&u(d.meta.arg,c),(t.fulfilled.match(d)||t.rejected.match(d)&&!d.meta.condition)&&a(d.meta.arg,c),r.util.resetApiState.match(d)&&g()};function a({queryCacheKey:d},c){const f=c.getState()[e].queries[d],p=i.currentSubscriptions[d];if(!f||f.status==="uninitialized")return;const w=m(p);if(!Number.isFinite(w))return;const b=o[d];b!=null&&b.timeout&&(clearTimeout(b.timeout),b.timeout=void 0);const y=Date.now()+w,v=o[d]={nextPollTimestamp:y,pollingInterval:w,timeout:setTimeout(()=>{v.timeout=void 0,c.dispatch(n(f,d))},w)}}function u({queryCacheKey:d},c){const f=c.getState()[e].queries[d],p=i.currentSubscriptions[d];if(!f||f.status==="uninitialized")return;const w=m(p);if(!Number.isFinite(w)){h(d);return}const b=o[d],y=Date.now()+w;(!b||y<b.nextPollTimestamp)&&a({queryCacheKey:d},c)}function h(d){const c=o[d];c!=null&&c.timeout&&clearTimeout(c.timeout),delete o[d]}function g(){for(const d of Object.keys(o))h(d)}function m(d={}){let c=Number.POSITIVE_INFINITY;for(let l in d)d[l].pollingInterval&&(c=Math.min(d[l].pollingInterval,c));return c}return s},Yd=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,s=(u,h)=>{io.match(u)&&a(h,"refetchOnFocus"),oo.match(u)&&a(h,"refetchOnReconnect")};function a(u,h){const g=u.getState()[e],m=g.queries,d=i.currentSubscriptions;t.batch(()=>{for(const c of Object.keys(d)){const l=m[c],f=d[c];if(!f||!l)continue;(Object.values(f).some(w=>w[h]===!0)||Object.values(f).every(w=>w[h]===void 0)&&g.config[h])&&(xt(f)===0?u.dispatch(o({queryCacheKey:c})):l.status!=="uninitialized"&&u.dispatch(n(l,c)))}})}return s},ks=new Error("Promise never resolved before cacheEntryRemoved."),Gd=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const s=pi(n),a=pi(i),u=rt(n,i),h={},g=(c,l,f)=>{const p=m(c);if(n.pending.match(c)){const w=f[t].queries[p],b=l.getState()[t].queries[p];!w&&b&&d(c.meta.arg.endpointName,c.meta.arg.originalArgs,p,l,c.meta.requestId)}else if(i.pending.match(c))l.getState()[t].mutations[p]&&d(c.meta.arg.endpointName,c.meta.arg.originalArgs,p,l,c.meta.requestId);else if(u(c)){const w=h[p];w!=null&&w.valueResolved&&(w.valueResolved({data:c.payload,meta:c.meta.baseQueryMeta}),delete w.valueResolved)}else if(e.internalActions.removeQueryResult.match(c)||e.internalActions.removeMutationResult.match(c)){const w=h[p];w&&(delete h[p],w.cacheEntryRemoved())}else if(e.util.resetApiState.match(c))for(const[w,b]of Object.entries(h))delete h[w],b.cacheEntryRemoved()};function m(c){return s(c)?c.meta.arg.queryCacheKey:a(c)?c.meta.requestId:e.internalActions.removeQueryResult.match(c)?c.payload.queryCacheKey:e.internalActions.removeMutationResult.match(c)?ur(c.payload):""}function d(c,l,f,p,w){const b=r.endpointDefinitions[c],y=b==null?void 0:b.onCacheEntryAdded;if(!y)return;let v={};const S=new Promise(R=>{v.cacheEntryRemoved=R}),k=Promise.race([new Promise(R=>{v.valueResolved=R}),S.then(()=>{throw ks})]);k.catch(()=>{}),h[f]=v;const C=e.endpoints[c].select(b.type==="query"?l:f),x=p.dispatch((R,N,P)=>P),E=$(I({},p),{getCacheEntry:()=>C(p.getState()),requestId:w,extra:x,updateCachedData:b.type==="query"?R=>p.dispatch(e.util.updateQueryData(c,l,R)):void 0,cacheDataLoaded:k,cacheEntryRemoved:S}),T=y(l,E);Promise.resolve(T).catch(R=>{if(R!==ks)throw R})}return g},Xd=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=ro(r,n),o=Rt(r,n),s=rt(r,n),a={};return(h,g)=>{var m,d,c;if(i(h)){const{requestId:l,arg:{endpointName:f,originalArgs:p}}=h.meta,w=t.endpointDefinitions[f],b=w==null?void 0:w.onQueryStarted;if(b){const y={},v=new Promise((x,E)=>{y.resolve=x,y.reject=E});v.catch(()=>{}),a[l]=y;const S=e.endpoints[f].select(w.type==="query"?p:l),k=g.dispatch((x,E,T)=>T),C=$(I({},g),{getCacheEntry:()=>S(g.getState()),requestId:l,extra:k,updateCachedData:w.type==="query"?x=>g.dispatch(e.util.updateQueryData(f,p,x)):void 0,queryFulfilled:v});b(p,C)}}else if(s(h)){const{requestId:l,baseQueryMeta:f}=h.meta;(m=a[l])==null||m.resolve({data:h.payload,meta:f}),delete a[l]}else if(o(h)){const{requestId:l,rejectedWithValue:f,baseQueryMeta:p}=h.meta;(c=a[l])==null||c.reject({error:(d=h.payload)!=null?d:h.error,isUnhandledError:!f,meta:p}),delete a[l]}}},Zd=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t))},ef=({api:e,queryThunk:t,internalState:r})=>{const n=`${e.reducerPath}/subscriptions`;let i=null,o=null;const{updateSubscriptionOptions:s,unsubscribeQueryResult:a}=e.internalActions,u=(c,l)=>{var p,w,b,y,v,S,k,C,x;if(s.match(l)){const{queryCacheKey:E,requestId:T,options:R}=l.payload;return(p=c==null?void 0:c[E])!=null&&p[T]&&(c[E][T]=R),!0}if(a.match(l)){const{queryCacheKey:E,requestId:T}=l.payload;return c[E]&&delete c[E][T],!0}if(e.internalActions.removeQueryResult.match(l))return delete c[l.payload.queryCacheKey],!0;if(t.pending.match(l)){const{meta:{arg:E,requestId:T}}=l,R=(b=c[w=E.queryCacheKey])!=null?b:c[w]={};return R[`${T}_running`]={},E.subscribe&&(R[T]=(v=(y=E.subscriptionOptions)!=null?y:R[T])!=null?v:{}),!0}let f=!1;if(t.fulfilled.match(l)||t.rejected.match(l)){const E=c[l.meta.arg.queryCacheKey]||{},T=`${l.meta.requestId}_running`;f||(f=!!E[T]),delete E[T]}if(t.rejected.match(l)){const{meta:{condition:E,arg:T,requestId:R}}=l;if(E&&T.subscribe){const N=(k=c[S=T.queryCacheKey])!=null?k:c[S]={};N[R]=(x=(C=T.subscriptionOptions)!=null?C:N[R])!=null?x:{},f=!0}}return f},h=()=>r.currentSubscriptions,d={getSubscriptions:h,getSubscriptionCount:c=>{var p;const f=(p=h()[c])!=null?p:{};return xt(f)},isRequestSubscribed:(c,l)=>{var p;const f=h();return!!((p=f==null?void 0:f[c])!=null&&p[l])}};return(c,l)=>{if(i||(i=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(c))return i=r.currentSubscriptions={},o=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(c))return[!1,d];const f=u(r.currentSubscriptions,c);let p=!0;if(f){o||(o=setTimeout(()=>{const y=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,v]=tc(i,()=>y);l.next(e.internalActions.subscriptionsUpdated(v)),i=y,o=null},500));const w=typeof c.type=="string"&&!!c.type.startsWith(n),b=t.rejected.match(c)&&c.meta.condition&&!!c.meta.arg.subscribe;p=!w&&!b}return[p,!1]}};function tf(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:o}=i,s={invalidateTags:he(`${t}/invalidateTags`)},a=m=>m.type.startsWith(`${t}/`),u=[Zd,Qd,Kd,Jd,Gd,Xd];return{middleware:m=>{let d=!1,c={currentSubscriptions:{}};const l=$(I({},e),{internalState:c,refetchQuery:g,isThisApiSliceAction:a}),f=u.map(b=>b(l)),p=ef(l),w=Yd(l);return b=>y=>{if(!Ka(y))return b(y);d||(d=!0,m.dispatch(n.internalActions.middlewareRegistered(o)));const v=$(I({},m),{next:b}),S=m.getState(),[k,C]=p(y,v,S);let x;if(k?x=b(y):x=C,m.getState()[t]&&(w(y,v,S),a(y)||i.hasRehydrationInfo(y)))for(let E of f)E(y,v,S);return x}},actions:s};function g(m,d,c={}){return r(I({type:"query",endpointName:m.endpointName,originalArgs:m.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:d},c))}}function Xe(e,...t){return Object.assign(e,...t)}var xs=Symbol(),rf=()=>({name:xs,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:s,refetchOnFocus:a,refetchOnReconnect:u,invalidationBehavior:h},g){ql();const m=j=>j;Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:oo,onOffline:fc,onFocus:io,onFocusLost:dc},util:{}});const{queryThunk:d,mutationThunk:c,patchQueryData:l,updateQueryData:f,upsertQueryData:p,prefetch:w,buildMatchThunkActions:b}=Ud({baseQuery:t,reducerPath:n,context:g,api:e,serializeQueryArgs:i,assertTagType:m}),{reducer:y,actions:v}=jd({context:g,queryThunk:d,mutationThunk:c,reducerPath:n,assertTagType:m,config:{refetchOnFocus:a,refetchOnReconnect:u,refetchOnMountOrArgChange:s,keepUnusedDataFor:o,reducerPath:n,invalidationBehavior:h}});Xe(e.util,{patchQueryData:l,updateQueryData:f,upsertQueryData:p,prefetch:w,resetApiState:v.resetApiState}),Xe(e.internalActions,v);const{middleware:S,actions:k}=tf({reducerPath:n,context:g,queryThunk:d,mutationThunk:c,api:e,assertTagType:m});Xe(e.util,k),Xe(e,{reducer:y,middleware:S});const{buildQuerySelector:C,buildMutationSelector:x,selectInvalidatedBy:E,selectCachedArgsForQuery:T}=Hd({serializeQueryArgs:i,reducerPath:n});Xe(e.util,{selectInvalidatedBy:E,selectCachedArgsForQuery:T});const{buildInitiateQuery:R,buildInitiateMutation:N,getRunningMutationThunk:P,getRunningMutationsThunk:M,getRunningQueriesThunk:z,getRunningQueryThunk:Y}=zd({queryThunk:d,mutationThunk:c,api:e,serializeQueryArgs:i,context:g});return Xe(e.util,{getRunningMutationThunk:P,getRunningMutationsThunk:M,getRunningQueryThunk:Y,getRunningQueriesThunk:z}),{name:xs,injectEndpoint(j,D){var Z,le;const re=e;(le=(Z=re.endpoints)[j])!=null||(Z[j]={}),pc(D)?Xe(re.endpoints[j],{name:j,select:C(j,D),initiate:R(j,D)},b(d,j)):Ld(D)&&Xe(re.endpoints[j],{name:j,select:x(),initiate:N(j)},b(c,j))}}}}),gc={exports:{}},yc={};const nf=il(Zt);/**
9
9
  * @license React
10
10
  * use-sync-external-store-with-selector.production.min.js
11
11
  *
@@ -13,7 +13,14 @@ var rc=Object.defineProperty,nc=Object.defineProperties;var ic=Object.getOwnProp
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 ur=nd;function id(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var od=typeof Object.is=="function"?Object.is:id,ad=ur.useSyncExternalStore,sd=ur.useRef,cd=ur.useEffect,ud=ur.useMemo,ld=ur.useDebugValue;Ns.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=sd(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=ud(function(){function m(s){if(!g){if(g=!0,y=s,s=n(s),i!==void 0&&a.hasValue){var c=a.value;if(i(c,s))return p=c}return p=s}if(c=p,od(y,s))return c;var f=n(s);return i!==void 0&&i(c,f)?c:(y=s,p=f)}var g=!1,y,p,l=r===void 0?null:r;return[function(){return m(t())},l===null?void 0:function(){return m(l())}]},[t,r,n,i]);var u=ad(e,o[0],o[1]);return cd(function(){a.hasValue=!0,a.value=u},[u]),ld(u),u};Ms.exports=Ns;var dd=Ms.exports,ge="default"in Wt?Ua:Wt,Vo=Symbol.for("react-redux-context"),Qo=typeof globalThis!="undefined"?globalThis:{};function fd(){var r;if(!ge.createContext)return{};const e=(r=Qo[Vo])!=null?r:Qo[Vo]=new Map;let t=e.get(ge.createContext);return t||(t=ge.createContext(null),e.set(ge.createContext,t)),t}var Ze=fd(),pd=()=>{throw new Error("uSES not initialized!")};function Oi(e=Ze){return function(){return ge.useContext(e)}}var Fs=Oi(),$s=pd,md=e=>{$s=e},hd=(e,t)=>e===t;function gd(e=Ze){const t=e===Ze?Fs:Oi(e);return function(n,i={}){const{equalityFn:o=hd,devModeChecks:a={}}=typeof i=="function"?{equalityFn:i}:i,{store:u,subscription:m,getServerState:g,stabilityCheck:y,identityFunctionCheck:p}=t();ge.useRef(!0);const l=ge.useCallback({[n.name](c){return n(c)}}[n.name],[n,y,a.stabilityCheck]),s=$s(m.addNestedSub,u.getState,g||u.getState,l,o);return ge.useDebugValue(s),s}}var Ds=gd();function Ls(e){e()}function yd(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Ls(()=>{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 Ko={notify(){},get:()=>[]};function bd(e,t){let r,n=Ko,i=0,o=!1;function a(f){y();const d=n.subscribe(f);let b=!1;return()=>{b||(b=!0,d(),p())}}function u(){n.notify()}function m(){c.onStateChange&&c.onStateChange()}function g(){return o}function y(){i++,r||(r=t?t.addNestedSub(m):e.subscribe(m),n=yd())}function p(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=Ko)}function l(){o||(o=!0,y())}function s(){o&&(o=!1,p())}const c={addNestedSub:a,notifyNestedSubs:u,handleChangeWrapper:m,isSubscribed:g,trySubscribe:l,tryUnsubscribe:s,getListeners:()=>n};return c}var vd=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",wd=vd?ge.useLayoutEffect:ge.useEffect;function Go(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function $r(e,t){if(Go(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])||!Go(e[r[i]],t[r[i]]))return!1;return!0}function _d({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=ge.useMemo(()=>{const g=bd(e);return{store:e,subscription:g,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,n,i,o]),u=ge.useMemo(()=>e.getState(),[e]);wd(()=>{const{subscription:g}=a;return g.onStateChange=g.notifyNestedSubs,g.trySubscribe(),u!==e.getState()&&g.notifyNestedSubs(),()=>{g.tryUnsubscribe(),g.onStateChange=void 0}},[a,u]);const m=t||Ze;return ge.createElement(m.Provider,{value:a},r)}var Sd=_d;function Bs(e=Ze){const t=e===Ze?Fs:Oi(e);return function(){const{store:n}=t();return n}}var zs=Bs();function xd(e=Ze){const t=e===Ze?zs:Bs(e);return function(){return t().dispatch}}var js=xd(),kd=Ls;md(dd.useSyncExternalStoreWithSelector);function Jo(e,t,r,n){const i=ae(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),o=Se(i);return ne(()=>{o.current.serialized!==i.serialized&&(o.current=i)},[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var xn=Symbol();function kn(e){const t=Se(e);return ne(()=>{$r(t.current,e)||(t.current=e)},[e]),$r(t.current,e)?t.current:e}var mt=WeakMap?new WeakMap:void 0,Cd=({endpointName:e,queryArgs:t})=>{let r="";const n=mt==null?void 0:mt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,a)=>Be(a)?Object.keys(a).sort().reduce((u,m)=>(u[m]=a[m],u),{}):a);Be(t)&&(mt==null||mt.set(t,i)),r=i}return`${e}(${r})`},Td=typeof window!="undefined"&&window.document&&window.document.createElement?lt:ne,Ed=e=>e.isUninitialized?B(P({},e),{isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:Ts.pending}):e;function Ad({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:o},serializeQueryArgs:a,context:u}){const m=o?s=>s():ne;return{buildQueryHooks:p,buildMutationHook:l,usePrefetch:y};function g(s,c,f){if(c!=null&&c.endpointName&&s.isUninitialized){const{endpointName:S}=c,k=u.endpointDefinitions[S];a({queryArgs:c.originalArgs,endpointDefinition:k,endpointName:S})===a({queryArgs:f,endpointDefinition:k,endpointName:S})&&(c=void 0)}let d=s.isSuccess?s.data:c==null?void 0:c.data;d===void 0&&(d=s.data);const b=d!==void 0,v=s.isLoading,h=!b&&v,_=s.isSuccess||v&&b;return B(P({},s),{data:d,currentData:s.data,isFetching:v,isLoading:h,isSuccess:_})}function y(s,c){const f=r(),d=kn(c);return ht((b,v)=>f(e.util.prefetch(s,b,P(P({},d),v))),[s,f,d])}function p(s){const c=(b,{refetchOnReconnect:v,refetchOnFocus:h,refetchOnMountOrArgChange:_,skip:S=!1,pollingInterval:k=0}={})=>{const{initiate:x}=e.endpoints[s],C=r(),T=Se();if(!T.current){const D=C(e.internalActions.internal_getRTKQSubscriptions());T.current=D}const E=Jo(S?it:b,Cd,u.endpointDefinitions[s],s),R=kn({refetchOnReconnect:v,refetchOnFocus:h,pollingInterval:k}),N=Se(!1),O=Se();let{queryCacheKey:I,requestId:z}=O.current||{},J=!1;I&&z&&(J=T.current.isRequestSubscribed(I,z));const U=!J&&N.current;return m(()=>{N.current=J}),m(()=>{U&&(O.current=void 0)},[U]),m(()=>{var X;const D=O.current;if(E===it){D==null||D.unsubscribe(),O.current=void 0;return}const ee=(X=O.current)==null?void 0:X.subscriptionOptions;if(!D||D.arg!==E){D==null||D.unsubscribe();const ue=C(x(E,{subscriptionOptions:R,forceRefetch:_}));O.current=ue}else R!==ee&&D.updateSubscriptionOptions(R)},[C,x,_,E,R,U]),ne(()=>()=>{var D;(D=O.current)==null||D.unsubscribe(),O.current=void 0},[]),ae(()=>({refetch:()=>{var D;if(!O.current)throw new Error(ke(38));return(D=O.current)==null?void 0:D.refetch()}}),[])},f=({refetchOnReconnect:b,refetchOnFocus:v,pollingInterval:h=0}={})=>{const{initiate:_}=e.endpoints[s],S=r(),[k,x]=Le(xn),C=Se(),T=kn({refetchOnReconnect:b,refetchOnFocus:v,pollingInterval:h});m(()=>{var O,I;const N=(O=C.current)==null?void 0:O.subscriptionOptions;T!==N&&((I=C.current)==null||I.updateSubscriptionOptions(T))},[T]);const E=Se(T);m(()=>{E.current=T},[T]);const R=ht(function(N,O=!1){let I;return t(()=>{var z;(z=C.current)==null||z.unsubscribe(),C.current=I=S(_(N,{subscriptionOptions:E.current,forceRefetch:!O})),x(N)}),I},[S,_]);return ne(()=>()=>{var N;(N=C==null?void 0:C.current)==null||N.unsubscribe()},[]),ne(()=>{k!==xn&&!C.current&&R(k,!0)},[k,R]),ae(()=>[R,k],[R,k])},d=(b,{skip:v=!1,selectFromResult:h}={})=>{const{select:_}=e.endpoints[s],S=Jo(v?it:b,a,u.endpointDefinitions[s],s),k=Se(),x=ae(()=>vt([_(S),(N,O)=>O,N=>S],g),[_,S]),C=ae(()=>h?vt([x],h,{devModeChecks:{identityFunctionCheck:"never"}}):x,[x,h]),T=n(N=>C(N,k.current),$r),E=i(),R=x(E.getState(),k.current);return Td(()=>{k.current=R},[R]),T};return{useQueryState:d,useQuerySubscription:c,useLazyQuerySubscription:f,useLazyQuery(b){const[v,h]=f(b),_=d(h,B(P({},b),{skip:h===xn})),S=ae(()=>({lastArg:h}),[h]);return ae(()=>[v,_,S],[v,_,S])},useQuery(b,v){const h=c(b,v),_=d(b,P({selectFromResult:b===it||v!=null&&v.skip?void 0:Ed},v)),{data:S,status:k,isLoading:x,isSuccess:C,isError:T,error:E}=_;return Rr({data:S,status:k,isLoading:x,isSuccess:C,isError:T,error:E}),ae(()=>P(P({},_),h),[_,h])}}}function l(s){return({selectFromResult:c,fixedCacheKey:f}={})=>{const{select:d,initiate:b}=e.endpoints[s],v=r(),[h,_]=Le();ne(()=>()=>{h!=null&&h.arg.fixedCacheKey||h==null||h.reset()},[h]);const S=ht(function(X){const ue=v(b(X,{fixedCacheKey:f}));return _(ue),ue},[v,b,f]),{requestId:k}=h||{},x=ae(()=>d({fixedCacheKey:f,requestId:h==null?void 0:h.requestId}),[f,h,d]),C=ae(()=>c?vt([x],c):x,[c,x]),T=n(C,$r),E=f==null?h==null?void 0:h.arg.originalArgs:void 0,R=ht(()=>{t(()=>{h&&_(void 0),f&&v(e.internalActions.removeMutationResult({requestId:k,fixedCacheKey:f}))})},[v,f,h,k]),{endpointName:N,data:O,status:I,isLoading:z,isSuccess:J,isError:U,error:D}=T;Rr({endpointName:N,data:O,status:I,isLoading:z,isSuccess:J,isError:U,error:D});const ee=ae(()=>B(P({},T),{originalArgs:E,reset:R}),[T,E,R]);return ae(()=>[S,ee],[S,ee])}}}function Rd(e){return e.type==="query"}function Pd(e){return e.type==="mutation"}function Cn(e){return e.replace(e[0],e[0].toUpperCase())}function vr(e,...t){return Object.assign(e,...t)}var Id=Symbol(),Od=(i={})=>{var o=i,{batch:e=kd,hooks:t={useDispatch:js,useSelector:Ds,useStore:zs},unstable__sideEffectsInRender:r=!1}=o,n=et(o,["batch","hooks","unstable__sideEffectsInRender"]);return{name:Id,init(a,{serializeQueryArgs:u},m){const g=a,{buildQueryHooks:y,buildMutationHook:p,usePrefetch:l}=Ad({api:a,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:u,context:m});return vr(g,{usePrefetch:l}),vr(m,{batch:e}),{injectEndpoint(s,c){if(Rd(c)){const{useQuery:f,useLazyQuery:d,useLazyQuerySubscription:b,useQueryState:v,useQuerySubscription:h}=y(s);vr(g.endpoints[s],{useQuery:f,useLazyQuery:d,useLazyQuerySubscription:b,useQueryState:v,useQuerySubscription:h}),a[`use${Cn(s)}Query`]=f,a[`useLazy${Cn(s)}Query`]=d}else if(Pd(c)){const f=p(s);vr(g.endpoints[s],{useMutation:f}),a[`use${Cn(s)}Mutation`]=f}}}}}},Us=ql(rd(),Od());const Ws=(e,t,r)=>he(void 0,null,function*(){const n=t.getState().session.backendUrl;return Dl({baseUrl:n,prepareHeaders:(i,{getState:o})=>{const{session:a}=o();return i.set("Accept","application/json"),i.set("Authorization",`Bearer ${a.accessToken}`),i}})(e,t,r)}),$e=Us({baseQuery:Ws,reducerPath:"backendApi",endpoints:e=>({campaignConnect:e.query({query:()=>({url:"super-campaign/backend/campaign-connect",method:"GET"}),keepUnusedDataFor:Number.MAX_SAFE_INTEGER}),byofCampaignConnect:e.query({query:t=>({url:`super-campaign/backend/byof-campaign-connect/${t}`,method:"GET"})}),appLoaded:e.mutation({query:()=>({url:"super-campaign/backend/app-loaded",method:"POST"})}),errorLogs:e.mutation({query:t=>({url:"super-campaign/backend/error-logs",method:"POST",body:t})})})}),{useLazyCampaignConnectQuery:Md,useByofCampaignConnectQuery:Nd,useAppLoadedMutation:Fd,useErrorLogsMutation:zp}=$e;var Hn={exports:{}};(function(e,t){(function(r,n){var i="1.0.37",o="",a="?",u="function",m="undefined",g="object",y="string",p="major",l="model",s="name",c="type",f="vendor",d="version",b="architecture",v="console",h="mobile",_="tablet",S="smarttv",k="wearable",x="embedded",C=500,T="Amazon",E="Apple",R="ASUS",N="BlackBerry",O="Browser",I="Chrome",z="Edge",J="Firefox",U="Google",D="Huawei",ee="LG",X="Microsoft",ue="Motorola",ze="Opera",te="Samsung",Et="Sharp",re="Sony",Ce="Xiaomi",un="Zebra",Di="Facebook",Li="Chromium OS",Bi="Mac OS",Zs=function(j,V){var $={};for(var G in j)V[G]&&V[G].length%2===0?$[G]=V[G].concat(j[G]):$[G]=j[G];return $},dr=function(j){for(var V={},$=0;$<j.length;$++)V[j[$].toUpperCase()]=j[$];return V},zi=function(j,V){return typeof j===y?At(V).indexOf(At(j))!==-1:!1},At=function(j){return j.toLowerCase()},ec=function(j){return typeof j===y?j.replace(/[^\d\.]/g,o).split(".")[0]:n},ln=function(j,V){if(typeof j===y)return j=j.replace(/^\s\s*/,o),typeof V===m?j:j.substring(0,C)},Rt=function(j,V){for(var $=0,G,Qe,Ie,H,F,Oe;$<V.length&&!F;){var fn=V[$],Wi=V[$+1];for(G=Qe=0;G<fn.length&&!F&&fn[G];)if(F=fn[G++].exec(j),F)for(Ie=0;Ie<Wi.length;Ie++)Oe=F[++Qe],H=Wi[Ie],typeof H===g&&H.length>0?H.length===2?typeof H[1]==u?this[H[0]]=H[1].call(this,Oe):this[H[0]]=H[1]:H.length===3?typeof H[1]===u&&!(H[1].exec&&H[1].test)?this[H[0]]=Oe?H[1].call(this,Oe,H[2]):n:this[H[0]]=Oe?Oe.replace(H[1],H[2]):n:H.length===4&&(this[H[0]]=Oe?H[3].call(this,Oe.replace(H[1],H[2])):n):this[H]=Oe||n;$+=2}},dn=function(j,V){for(var $ in V)if(typeof V[$]===g&&V[$].length>0){for(var G=0;G<V[$].length;G++)if(zi(V[$][G],j))return $===a?n:$}else if(zi(V[$],j))return $===a?n:$;return j},tc={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},ji={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Ui={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[d,[s,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[d,[s,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[s,d],[/opios[\/ ]+([\w\.]+)/i],[d,[s,ze+" Mini"]],[/\bopr\/([\w\.]+)/i],[d,[s,ze]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[d,[s,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[s,d],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[d,[s,"UC"+O]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[d,[s,"WeChat"]],[/konqueror\/([\w\.]+)/i],[d,[s,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[d,[s,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[d,[s,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[d,[s,"Smart Lenovo "+O]],[/(avast|avg)\/([\w\.]+)/i],[[s,/(.+)/,"$1 Secure "+O],d],[/\bfocus\/([\w\.]+)/i],[d,[s,J+" Focus"]],[/\bopt\/([\w\.]+)/i],[d,[s,ze+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[d,[s,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[d,[s,"Dolphin"]],[/coast\/([\w\.]+)/i],[d,[s,ze+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[d,[s,"MIUI "+O]],[/fxios\/([-\w\.]+)/i],[d,[s,J]],[/\bqihu|(qi?ho?o?|360)browser/i],[[s,"360 "+O]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[s,/(.+)/,"$1 "+O],d],[/samsungbrowser\/([\w\.]+)/i],[d,[s,te+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[s,/_/g," "],d],[/metasr[\/ ]?([\d\.]+)/i],[d,[s,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[s,"Sogou Mobile"],d],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[s,d],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[s],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[s,Di],d],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[s,d],[/\bgsa\/([\w\.]+) .*safari\//i],[d,[s,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[d,[s,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[d,[s,I+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[s,I+" WebView"],d],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[d,[s,"Android "+O]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[s,d],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[d,[s,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[d,s],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[s,[d,dn,tc]],[/(webkit|khtml)\/([\w\.]+)/i],[s,d],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[s,"Netscape"],d],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[d,[s,J+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[s,d],[/(cobalt)\/([\w\.]+)/i],[s,[d,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[b,"amd64"]],[/(ia32(?=;))/i],[[b,At]],[/((?:i[346]|x)86)[;\)]/i],[[b,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[b,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[b,"armhf"]],[/windows (ce|mobile); ppc;/i],[[b,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[b,/ower/,o,At]],[/(sun4\w)[;\)]/i],[[b,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[b,At]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[f,te],[c,_]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[f,te],[c,h]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[l,[f,E],[c,h]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[f,E],[c,_]],[/(macintosh);/i],[l,[f,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[f,Et],[c,h]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[f,D],[c,_]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[l,[f,D],[c,h]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[f,Ce],[c,h]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[f,Ce],[c,_]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[f,"OPPO"],[c,h]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[f,"Vivo"],[c,h]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[l,[f,"Realme"],[c,h]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[f,ue],[c,h]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[f,ue],[c,_]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[f,ee],[c,_]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[f,ee],[c,h]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[f,"Lenovo"],[c,_]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[f,"Nokia"],[c,h]],[/(pixel c)\b/i],[l,[f,U],[c,_]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[f,U],[c,h]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[f,re],[c,h]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[f,re],[c,_]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[f,"OnePlus"],[c,h]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[f,T],[c,_]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[f,T],[c,h]],[/(playbook);[-\w\),; ]+(rim)/i],[l,f,[c,_]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[f,N],[c,h]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[f,R],[c,_]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[f,R],[c,h]],[/(nexus 9)/i],[l,[f,"HTC"],[c,_]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[f,[l,/_/g," "],[c,h]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[f,"Acer"],[c,_]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[f,"Meizu"],[c,h]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[l,[f,"Ulefone"],[c,h]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[f,l,[c,h]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[f,l,[c,_]],[/(surface duo)/i],[l,[f,X],[c,_]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[f,"Fairphone"],[c,h]],[/(u304aa)/i],[l,[f,"AT&T"],[c,h]],[/\bsie-(\w*)/i],[l,[f,"Siemens"],[c,h]],[/\b(rct\w+) b/i],[l,[f,"RCA"],[c,_]],[/\b(venue[\d ]{2,7}) b/i],[l,[f,"Dell"],[c,_]],[/\b(q(?:mv|ta)\w+) b/i],[l,[f,"Verizon"],[c,_]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[f,"Barnes & Noble"],[c,_]],[/\b(tm\d{3}\w+) b/i],[l,[f,"NuVision"],[c,_]],[/\b(k88) b/i],[l,[f,"ZTE"],[c,_]],[/\b(nx\d{3}j) b/i],[l,[f,"ZTE"],[c,h]],[/\b(gen\d{3}) b.+49h/i],[l,[f,"Swiss"],[c,h]],[/\b(zur\d{3}) b/i],[l,[f,"Swiss"],[c,_]],[/\b((zeki)?tb.*\b) b/i],[l,[f,"Zeki"],[c,_]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[f,"Dragon Touch"],l,[c,_]],[/\b(ns-?\w{0,9}) b/i],[l,[f,"Insignia"],[c,_]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[f,"NextBook"],[c,_]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],l,[c,h]],[/\b(lvtel\-)?(v1[12]) b/i],[[f,"LvTel"],l,[c,h]],[/\b(ph-1) /i],[l,[f,"Essential"],[c,h]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[f,"Envizen"],[c,_]],[/\b(trio[-\w\. ]+) b/i],[l,[f,"MachSpeed"],[c,_]],[/\btu_(1491) b/i],[l,[f,"Rotor"],[c,_]],[/(shield[\w ]+) b/i],[l,[f,"Nvidia"],[c,_]],[/(sprint) (\w+)/i],[f,l,[c,h]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[f,X],[c,h]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[f,un],[c,_]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[f,un],[c,h]],[/smart-tv.+(samsung)/i],[f,[c,S]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[f,te],[c,S]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[f,ee],[c,S]],[/(apple) ?tv/i],[f,[l,E+" TV"],[c,S]],[/crkey/i],[[l,I+"cast"],[f,U],[c,S]],[/droid.+aft(\w+)( bui|\))/i],[l,[f,T],[c,S]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[l,[f,Et],[c,S]],[/(bravia[\w ]+)( bui|\))/i],[l,[f,re],[c,S]],[/(mitv-\w{5}) bui/i],[l,[f,Ce],[c,S]],[/Hbbtv.*(technisat) (.*);/i],[f,l,[c,S]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[f,ln],[l,ln],[c,S]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,S]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,l,[c,v]],[/droid.+; (shield) bui/i],[l,[f,"Nvidia"],[c,v]],[/(playstation [345portablevi]+)/i],[l,[f,re],[c,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[f,X],[c,v]],[/((pebble))app/i],[f,l,[c,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[l,[f,E],[c,k]],[/droid.+; (glass) \d/i],[l,[f,U],[c,k]],[/droid.+; (wt63?0{2,3})\)/i],[l,[f,un],[c,k]],[/(quest( 2| pro)?)/i],[l,[f,Di],[c,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[f,[c,x]],[/(aeobc)\b/i],[l,[f,T],[c,x]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[l,[c,h]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[c,_]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,_]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[c,h]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[f,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[d,[s,z+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[d,[s,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[s,d],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[d,s]],os:[[/microsoft (windows) (vista|xp)/i],[s,d],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[s,[d,dn,ji]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[d,dn,ji],[s,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[d,/_/g,"."],[s,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[s,Bi],[d,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[d,s],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[s,d],[/\(bb(10);/i],[d,[s,N]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[d,[s,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[d,[s,J+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[d,[s,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[d,[s,"watchOS"]],[/crkey\/([\d\.]+)/i],[d,[s,I+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[s,Li],d],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[s,d],[/(sunos) ?([\w\.\d]*)/i],[[s,"Solaris"],d],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[s,d]]},Te=function(j,V){if(typeof j===g&&(V=j,j=n),!(this instanceof Te))return new Te(j,V).getResult();var $=typeof r!==m&&r.navigator?r.navigator:n,G=j||($&&$.userAgent?$.userAgent:o),Qe=$&&$.userAgentData?$.userAgentData:n,Ie=V?Zs(Ui,V):Ui,H=$&&$.userAgent==G;return this.getBrowser=function(){var F={};return F[s]=n,F[d]=n,Rt.call(F,G,Ie.browser),F[p]=ec(F[d]),H&&$&&$.brave&&typeof $.brave.isBrave==u&&(F[s]="Brave"),F},this.getCPU=function(){var F={};return F[b]=n,Rt.call(F,G,Ie.cpu),F},this.getDevice=function(){var F={};return F[f]=n,F[l]=n,F[c]=n,Rt.call(F,G,Ie.device),H&&!F[c]&&Qe&&Qe.mobile&&(F[c]=h),H&&F[l]=="Macintosh"&&$&&typeof $.standalone!==m&&$.maxTouchPoints&&$.maxTouchPoints>2&&(F[l]="iPad",F[c]=_),F},this.getEngine=function(){var F={};return F[s]=n,F[d]=n,Rt.call(F,G,Ie.engine),F},this.getOS=function(){var F={};return F[s]=n,F[d]=n,Rt.call(F,G,Ie.os),H&&!F[s]&&Qe&&Qe.platform!="Unknown"&&(F[s]=Qe.platform.replace(/chrome os/i,Li).replace(/macos/i,Bi)),F},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return G},this.setUA=function(F){return G=typeof F===y&&F.length>C?ln(F,C):F,this},this.setUA(G),this};Te.VERSION=i,Te.BROWSER=dr([s,d,p]),Te.CPU=dr([b]),Te.DEVICE=dr([l,f,c,v,h,S,_,k,x]),Te.ENGINE=Te.OS=dr([s,d]),e.exports&&(t=e.exports=Te),t.UAParser=Te;var ft=typeof r!==m&&(r.jQuery||r.Zepto);if(ft&&!ft.ua){var fr=new Te;ft.ua=fr.getResult(),ft.ua.get=function(){return fr.getUA()},ft.ua.set=function(j){fr.setUA(j);var V=fr.getResult();for(var $ in V)ft.ua[$]=V[$]}}})(typeof window=="object"?window:nu)})(Hn,Hn.exports);var $d=Hn.exports;const Tn=new $d.UAParser,qs=()=>/iPad|iPhone|iPod/.test(navigator.userAgent),Hs=()=>/Android/.test(navigator.userAgent),De=()=>Hs()||qs(),Vs=()=>({deviceType:Hs()||qs()?"Mobile":"Desktop",platform:Tn.getOS().name,Browser:Tn.getBrowser().name,"Browser Version":Tn.getBrowser().version}),zt=Us({baseQuery:Ws,reducerPath:"segmentApi",endpoints:e=>({segmentIdentify:e.mutation({query:()=>({url:"super-campaign/backend/segment/identify",method:"POST"})}),segmentTrack:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/t",method:"POST",body:{event:t,properties:P(P({},r),Vs())}})}),segmentPage:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/p",method:"POST",body:{event:t,properties:r}})})})}),{useSegmentIdentifyMutation:Dd,useSegmentTrackMutation:Ld,useSegmentPageMutation:jp}=zt,Bd={selectedVariants:{}},Vn=Ue({name:"experimentsData",initialState:Bd,reducers:{setExperiment:(e,t)=>{const{experimentName:r,selectedVariant:n}=t.payload;return e.selectedVariants[r]||(e.selectedVariants[r]=n),e}}}),{setExperiment:zd}=Vn.actions,Qn=Ue({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:jd}=Qn.actions,Kn=Ue({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,fundName:t.payload.fundName}},clearSelectedFund:e=>{e.selectedFund=void 0}}}),{setFunds:Ud,setSelectedFund:Qs,clearSelectedFund:je}=Kn.actions,ot=dl({reducer:{[Qn.name]:Qn.reducer,[$e.reducerPath]:$e.reducer,[zt.reducerPath]:zt.reducer,[Kn.reducerPath]:Kn.reducer,[Vn.reducerPath]:Vn.reducer},middleware:e=>e().concat($e.middleware,zt.middleware)}),sn=()=>js(),Ve=Ds,Mi="32367272075001",Ni="slate",_e=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},Wd=()=>{_e({sender:"byof-engagement",type:"continue",reason:"No content to display"})},cn=()=>{_e({sender:"byof-engagement",type:"continue",reason:"Continue button was clicked"})},qd=()=>{_e({sender:"byof-engagement",type:"continue",reason:"Timeout, or a backend error has occurred"})},Hd=()=>{const[e]=Ld();return t=>{_e({sender:"super-campaign",type:"choose-another-fund-requested"}),e({event:"FeaturedFunds Skipped",properties:{method:t}})}},Vd=e=>{_e({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.fundType}))})},Qd=e=>{_e({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.fundType,fundName:e.name,fundUsi:e.fundId===Ni?Mi:void 0})},de=e=>{_e({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:e.fundId===Ni?Mi:void 0})},Kd=()=>{_e({sender:"super-campaign",type:"disclaimer-accepted"})},Gd=()=>{_e({sender:"super-campaign",type:"disclaimer-viewed"})},Nt=e=>{_e({sender:"super-campaign",type:"promoted-fund-joined",fundJoinInfo:e})},Jd=()=>{_e({sender:"super-campaign",type:"super-campaign-loaded"})},Yd=e=>{_e({sender:"super-campaign",type:"super-campaign-load-failed",reason:e})},Xd=e=>{_e({sender:"super-campaign",type:"super-campaign-failed",reason:e})};var Zd=0;function Dr(e,t,r,n,i,o){var a,u,m={};for(u in t)u=="ref"?a=t[u]:m[u]=t[u];var g={type:e,props:m,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Zd,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(a=e.defaultProps))for(u in a)m[u]===void 0&&(m[u]=a[u]);return M.vnode&&M.vnode(g),g}var Ae=be;function w(e,t,r){return rn.call(t,"css")?Dr(cs,ss(e,t),r):Dr(e,t,r)}function A(e,t,r){return rn.call(t,"css")?Dr(cs,ss(e,t),r):Dr(e,t,r)}const ef=Qt.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),tf="_extnav=true",L=i=>{var o=i,{link:e,onClick:t,children:r}=o,n=et(o,["link","onClick","children"]);const a=e.indexOf("?")===-1?"?":"&",u=`${e}${a}${tf}`;return w(ef,B(P({target:"_blank",href:u,onClick:t},n),{children:r}))},rf=""+new URL("assets/logo-aware-DYvmVUZ1.svg",import.meta.url).href,nf="Aware Super",Gn={fundId:"aware-super",name:nf,logo:rf,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Multi-award winning fund named Retirement Offering of the Year 2024.^"}),w("p",{children:"Members get a 45-minute Super Helpful check-in with an advisor."}),w("p",{children:"8.97% p.a.* returns over 10 years to 31 March 2024 (High Growth option)"})],disclaimer:A("div",{children:[A("p",{children:["Consider if we’re right for you and read the"," ",w(L,{onClick:()=>de(Gn),link:"https://aware.com.au/member/contact-aware-super/forms-and-documents/",children:"PDS and TMD"}),".",w("br",{}),"^Awards are just one factor to consider when deciding on a product."," ",w(L,{link:"https://aware.com.au/member/about-us/awards/",children:"Learn about our awards"}),".",w("br",{}),"*SuperRatings Fund Crediting Rate Survey, March 2024. Based on SR50 Growth (77-90) Index. Past performance does not indicate future performance."]}),w("br",{}),w("p",{children:"Aware Super Pty Ltd (ABN 11 118 202 672, AFSL 293340), trustee of Aware Super (ABN 53 226 460 365)."})]})},of=""+new URL("assets/logo-brighter-cKB6xH2M.svg",import.meta.url).href,af="https://www.brightersuper.com.au/-/media/public/files/pds-and-guides/accumulation-account-pds.pdf",sf="https://www.brightersuper.com.au/-/media/public/files/target-market-determination/tmd-brighter-super-accumulation-account.pdf",cf="https://www.brightersuper.com.au/news/double-digit-returns-in-2023-and-some-of-the-lowest-fees-in-australia",uf="https://www.brightersuper.com.au/about-us/awards",lf="Brighter Super",Jn={fundId:"brightersuper",name:lf,logo:of,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Double-digit returns for our MySuper option in 2023^"}),w("p",{children:"Top 3 industry fund for lowest MySuper fees in Australia^"}),A("p",{children:["Platinum rated by SuperRatings for 16 years in a row",w("sup",{css:{fontSize:"0.625rem"},children:"+"})]})],disclaimer:A("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:[A("p",{children:["^Past performance is not an indicator of future performance."," ",w(L,{link:cf,children:"Find out more about our MySuper fees and returns."}),w("sup",{css:{fontSize:"0.625rem"},children:"+"}),"Ratings are only one factor to consider."," ",w(L,{link:uf,children:"View our ratings and awards."})]}),A("p",{children:["Consider the"," ",w(L,{link:af,onClick:()=>de(Jn),children:"PDS"})," ","& ",w(L,{link:sf,children:"TMD"})," before deciding to join."]}),w("p",{children:"Issued by LGIAsuper Trustee (ABN 94 085 088 484, AFSL 230511) as trustee for LGIAsuper (ABN 23 053 121 584), t/a Brighter Super."})]})},df=""+new URL("assets/logo-first-CusDmGWL.svg",import.meta.url).href,ff="First Super",Yn={fundId:"first-super",name:ff,logo:df,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:A("div",{children:[A("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(L,{onClick:()=>de(Yn),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."})]})},pf=""+new URL("assets/logo-hesta-NL7xF41R.svg",import.meta.url).href,mf="HESTA",Xn={fundId:"hesta-default",name:mf,logo:pf,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:A("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:[A("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(L,{link:"https://www.hesta.com.au/ratings",children:"hesta.com.au/ratings"})," ","for more information."]}),A("p",{children:["Consider whether this product is appropriate for you by reading the Product Disclosure Statement and Target Market Determination at"," ",w(L,{onClick:()=>de(Xn),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"})]})},hf=""+new URL("assets/logo-legalsuper-xG2DgGHY.svg",import.meta.url).href,gf="legalsuper",jt={fundId:"legalsuper",name:gf,logo:hf,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Strong performance - our investment options are designed to deliver steady returns."}),w("p",{children:"Personalised support - so you can access advice, knowledge and assistance when you need it."}),w("p",{children:"Tailored insurance - various cover options that adapt to life’s milestones and career changes."})],disclaimer:A("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:[A("p",{children:["This information is of a general nature. Please refer to the legalsuper"," ",w(L,{link:"https://www.legalsuper.com.au/super-pds",onClick:()=>de(jt),children:"Product Disclosure Statement (PDS)"})," ","and"," ",w(L,{link:"https://www.legalsuper.com.au/super-tmd",onClick:()=>de(jt),children:"Target Market Determination (TMD)"})," ","available at"," ",w(L,{link:"https://www.legalsuper.com.au/",onClick:()=>de(jt),children:"www.legalsuper.com.au"})," ","before making any decision. Past performance is not a guide to future performance."]}),w("p",{children:"Legal Super Pty Ltd ABN 37 004 455 789 AFSL 246315 as the Trustee for legalsuper ABN 60 346 078 879."})]})},yf=""+new URL("assets/coverImage-BkXL9zfW.png",import.meta.url).href,bf=""+new URL("assets/logo-mercer-mychoice-BB6VztRp.svg",import.meta.url).href,vf="Mercer MyChoice",Lr={fundId:"mercermychoice",name:vf,logo:bf,coverImage:yf,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:A("div",{children:[A("p",{children:["You should consider the"," ",w(L,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>de(Lr),children:"Product Disclosure Statement"})," ","and"," ",w(L,{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"}),footnoteTextOverride:"Powered by Flare FS",experiments:{"social-validation-business-mercermychoice":{splitType:"percentage",rotations:0,shouldRun:e=>{var i,o;const t=["35225A44-1235-4774-A292-69461DCF16E4","42EC210A-07EB-4252-82C5-F10FBE6884D6","5EF1A2B7-4AED-46BA-9455-E118664DFA16","A7E3600B-40B3-4B48-9BC1-D78C91CAA365"],r=$e.endpoints.campaignConnect.select()(e).data,n=(i=r==null?void 0:r.userProfile.accountId)!=null?i:"";return!!(t.includes(n)&&(r!=null&&r.promotedFunds.find(a=>a.fundId==="mercermychoice"))&&(!De()||((o=r==null?void 0:r.promotedFunds)==null?void 0:o[0].fundId)==="mercermychoice"))},variants:[{variantName:"control",percentage:50},{variantName:"badge",percentage:50}]}}},wf=""+new URL("assets/logo-mine-7mxPtjsF.svg",import.meta.url).href,_f="Mine Super",Zn={fundId:"mine",name:_f,logo:wf,iframeType:"PromotedFundJoinV2",features:[A("p",{children:[w("i",{children:"Money"})," magazine’s Best of the Best Awards for Best Value Superannuation Fund for Young People 2024."]}),w("p",{children:"Insurance cover^ that’s got your back if you’re unable to work due to sickness or injury."}),w("p",{children:"One of the lowest fixed admin fees ($0.75 per week)."})],featureSubText:["^Subject to meeting eligibility criteria."],disclaimer:w("div",{children:A("p",{children:["Mine Super products are issued by AUSCOAL Superannuation Pty Ltd ABN 70 003 566 989 AFS licence 246864 Trustee for the Mine Superannuation Fund ABN 16 457 520 308. Refer to the"," ",w(L,{link:"https://www.mine.com.au/super/about-my-super/super-pds",onClick:()=>de(Zn),children:"PDS"})," ","and ",w(L,{link:"https://www.mine.com.au/tmd",children:"TMDs"})," on our website at ",w(L,{link:"https://www.mine.com.au/",children:"mine.com.au"})," when considering if our financial products are right for you."]})})},Sf=""+new URL("assets/logo-reisuper-aM5iDbpN.svg",import.meta.url).href,xf="REI Super",ei={fundId:"reisuper",name:xf,logo:Sf,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:A("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."}),A("p",{children:["You should consider the"," ",w(L,{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:()=>de(ei),children:"Product Disclosure Statement"})," ","and"," ",w(L,{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"},kf=""+new URL("assets/logo-slate-CowODvPX.png",import.meta.url).href,Cf="Slate Super",tr={fundId:Ni,name:Cf,logo:kf,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:A("p",{children:["You should consider the"," ",w(L,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>de(tr),children:"Product Disclosure Statement"})," ","and"," ",w(L,{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"},Tf=""+new URL("assets/logo-spirit-CAaRIHR7.svg",import.meta.url).href,Ef="Spirit Super",ti={fundId:"spirit",name:Ef,logo:Tf,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Industry SuperFund - profit to members"}),A("p",{children:["Low fees",w("sup",{css:{fontSize:"0.625rem"},children:"1"})," and a history of strong returns",w("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),A("p",{children:["Best customer experience",w("sup",{css:{fontSize:"0.625rem"},children:"3"})]})],featureSubText:w("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:A("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:"$67.60 + 0.15% of account balance pa in admin fees, capped at $517.60"})}),w("li",{children:w("span",{children:"Past performance isn't a reliable indicator of future performance"})}),w("li",{children:w("span",{children:w(L,{link:"https://www.spiritsuper.com.au/News/Best-in-customer-service-again",children:"CSBA Sense CX Benchmark ratings 2022/23/24"})})})]})}),disclaimer:A("p",{children:["Awards and ratings are only one factor to consider when investing in super. Spirit Super has a commercial agreement with Customer Service Benchmarking Australia Pty Ltd. Read the award information, PDS and TMD at"," ",w(L,{link:"https://www.spiritsuper.com.au",onClick:()=>de(ti),children:"spiritsuper.com.au"})," ","and consider your personal circumstances before deciding. Issuer is Motor Trades Association of Australia Superannuation Fund Pty Ltd (AFSL 238 718, ABN 14 008 650 628). Advice by Quadrant First Pty Ltd (AFSL 284 443, ABN 78 102 167 877)."]})},Af=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,Rf="Unisuper",Pf="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",If="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",ri={fundId:"unisuper",name:Rf,logo:Af,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Our fees are among the lowest in the industry.^"}),w("p",{children:"Our strong, long-term performance regularly exceeds industry averages.*"}),A("p",{children:["We’re consistently awarded as one of Australia’s best-performing funds.",w("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],disclaimer:A("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:[A("p",{children:["^Read more about our fees and how we compare"," ",w(L,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),A("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",w(L,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),A("p",{children:[w("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",w(L,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),A("p",{children:["Remember to consider the"," ",w(L,{link:Pf,onClick:()=>de(ri),children:"Product Disclosure Statement"})," ","and ",w(L,{link:If,children:"Target Market Determination"})," that is relevant to you."]}),w("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},Of=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,Mf=""+new URL("assets/unisuper-default-badge1-CC2-KRH2.svg",import.meta.url).href,Nf=""+new URL("assets/unisuper-default-badge2-CqUa_Zky.svg",import.meta.url).href,Ff=""+new URL("assets/unisuper-default-badge3-B7j1-pyZ.svg",import.meta.url).href,wr="Unisuper",$f="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",Df="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",ni={fundId:"unisuper-default-v2",name:wr,logo:Of,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.*"}),A("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",w("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],customContent:A("div",{css:{marginTop:"1.5rem",display:"flex",gap:"0.75rem"},children:[w("div",{children:w("img",{alt:wr,src:Mf})}),w("div",{children:w("img",{alt:wr,src:Nf})}),w("div",{children:w("img",{alt:wr,src:Ff})})]}),disclaimer:A("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:[A("p",{children:["^Read more about our fees and how we compare"," ",w(L,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),A("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",w(L,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),A("p",{children:[w("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",w(L,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),A("p",{children:["Remember to consider the"," ",w(L,{link:$f,onClick:()=>de(ni),children:"Product Disclosure Statement"})," ","and ",w(L,{link:Df,children:"Target Market Determination"})," that is relevant to you."]}),w("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},Lf=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,Bf="Virgin Money Super",ii={fundId:"virgin",name:Bf,logo:Lf,iframeType:"PromotedFundJoinV2",features:[A("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"}),A("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:A("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(L,{css:{fontWeight:"400"},link:"https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents",children:"Eligibility and T&Cs apply"})})})]})}),disclaimer:A("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(L,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>de(ii),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"}),footnoteTextOverride:"Powered by Flare FS",experiments:{"social-validation-business-virgin":{splitType:"percentage",rotations:0,shouldRun:e=>{var i,o;const t=["0E09CFC5-2DF2-432A-BBEC-25B84E65F21A","7B555D55-DDBB-44CE-8D6D-9553A419FE5A"],r=$e.endpoints.campaignConnect.select()(e).data,n=(i=r==null?void 0:r.userProfile.accountId)!=null?i:"";return!!(t.includes(n)&&(r!=null&&r.promotedFunds.find(a=>a.fundId==="virgin"))&&(!De()||((o=r==null?void 0:r.promotedFunds)==null?void 0:o[0].fundId)==="virgin"))},variants:[{variantName:"control",percentage:50},{variantName:"badge",percentage:50}]},"social-validation-popular-virgin":{splitType:"percentage",rotations:0,shouldRun:e=>{var i,o;const t=["0E09CFC5-2DF2-432A-BBEC-25B84E65F21A","7B555D55-DDBB-44CE-8D6D-9553A419FE5A","35225A44-1235-4774-A292-69461DCF16E4","42EC210A-07EB-4252-82C5-F10FBE6884D6","5EF1A2B7-4AED-46BA-9455-E118664DFA16","A7E3600B-40B3-4B48-9BC1-D78C91CAA365"],r=$e.endpoints.campaignConnect.select()(e).data,n=(i=r==null?void 0:r.userProfile.accountId)!=null?i:"";return!!(!t.includes(n)&&(r!=null&&r.promotedFunds.find(a=>a.fundId==="virgin"))&&(!De()||((o=r==null?void 0:r.promotedFunds)==null?void 0:o[0].fundId)==="virgin"))},variants:[{variantName:"control",percentage:20},{variantName:"badge",percentage:80}]}}},zf=5*1e3;let Er=[];const xe=(e,t)=>{Er.push({log:e,params:P(P({},t),Vs())})},jf=()=>setInterval(()=>he(void 0,null,function*(){Er.length>0&&"data"in(yield ot.dispatch($e.endpoints.errorLogs.initiate({logs:Er})))&&(Er=[])}),zf),Fi=e=>{switch(e.fundId){case Gn.fundId:return B(P({},Gn),{fundType:e.type});case Jn.fundId:return B(P({},Jn),{fundType:e.type});case Yn.fundId:return B(P({},Yn),{fundType:e.type});case Xn.fundId:return B(P({},Xn),{fundType:e.type});case jt.fundId:return B(P({},jt),{fundType:e.type});case Lr.fundId:return B(P({},Lr),{fundType:e.type});case Zn.fundId:return B(P({},Zn),{fundType:e.type});case ei.fundId:return B(P({},ei),{fundType:e.type});case tr.fundId:return B(P({},tr),{fundType:e.type});case ti.fundId:return B(P({},ti),{fundType:e.type});case ri.fundId:return B(P({},ri),{fundType:e.type});case ni.fundId:return B(P({},ni),{fundType:e.type});case ii.fundId:return B(P({},ii),{fundType:e.type})}return null},Uf=e=>{const t=[];for(const n of e){const i=Fi(n);i?t.push(i):xe(`Fund ID "${n.fundId}" was not mapped from the Campaign Connect response.`,{fund:n})}if(t.length>0)return t.slice(0,3);const r=Lr;return xe(`No fund IDs were mapped, returning "${r.fundId}"`,{funds:e}),[B(P({},r),{fundType:"promoted"})]},Wf=e=>e==="unisuper-db"?"UniSuper":(xe('No defined-benefits fund IDs were mapped."',{fundId:e}),""),Ks=()=>{const{selectedFund:e}=Ve(r=>r.state);let t="Powered by Flare";if(e){const r=Fi({fundId:e==null?void 0:e.fundId,type:"promoted"});r!=null&&r.footnoteTextOverride&&(t=r.footnoteTextOverride)}return A("div",{css:{marginLeft:"auto",marginRight:"auto",marginTop:"2rem",width:"100%",maxWidth:"960px",textAlign:"center",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))","@media (min-width: 640px)":{marginTop:"5rem"}},children:[w("span",{children:t}),A("p",{css:{display:"block",color:"transparent"},children:["v","0.1.890"]})]})},Ge=({size:e=48})=>w("div",{css:{display:"inline-block","@keyframes spin":{to:{transform:"rotate(360deg)"}},animation:"spin 1s linear infinite"},children:A("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)"}})]})}),dt=({fillWidth:e=!1,fillWidthOnMobile:t=!1,disabled:r=!1,onClick:n=void 0,children:i})=>{const[o,a]=Le(0);return A("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:()=>he(void 0,null,function*(){if(!(!n||o===1))try{a(1),yield n(),a(0)}catch(m){throw a(2),m}}),children:[o===1&&w(Ge,{size:16}),w("div",{css:[o===1&&{display:"none"}],children:i})]})},qf=()=>A(Ae,{children:[w("div",{children:"Australian Super"}),w(dt,{onClick:cn,children:"Continue"})]}),Hf=()=>A(Ae,{children:[w("div",{children:"Aware Super"}),w(dt,{onClick:cn,children:"Continue"})]}),Vf=()=>A(Ae,{children:[w("div",{children:"Hesta"}),w(dt,{onClick:cn,children:"Continue"})]}),Qf=()=>A(Ae,{children:[w("div",{children:"Spirit Super"}),w(dt,{onClick:cn,children:"Continue"})]}),Yo={australian:w(qf,{}),spirit:w(Qf,{}),hesta:w(Vf,{}),"aware-super":w(Hf,{})},Kf=()=>{const{fundUsi:e}=Ve(a=>a.session),{data:t,isLoading:r,isError:n,error:i}=Nd(e||"");if(r)return w(Ge,{});if(!t||n)return xe("Error when calling campaign connect to compute BYOF engagements",{fundUsi:e,data:t,error:i}),qd(),w(Ge,{});const o=t.engagementIds[0];return o in Yo?Yo[o]:(Wd(),w(Ge,{}))},Gf=Qt.div({display:"flex",flexDirection:"column",alignItems:"center"}),Jf=()=>A(Gf,{children:[w(Kf,{}),w(Ks,{})]}),Yf=()=>w(Jf,{});class Ft extends Error{}Ft.prototype.name="InvalidTokenError";function Xf(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,r)=>{let n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function Zf(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return Xf(t)}catch(r){return atob(t)}}function ep(e,t){if(typeof e!="string")throw new Ft("Invalid token specified: must be a string");t||(t={});const r=t.header===!0?0:1,n=e.split(".")[r];if(typeof n!="string")throw new Ft(`Invalid token specified: missing part #${r+1}`);let i;try{i=Zf(n)}catch(o){throw new Ft(`Invalid token specified: invalid base64 for part #${r+1} (${o.message})`)}try{return JSON.parse(i)}catch(o){throw new Ft(`Invalid token specified: invalid json for part #${r+1} (${o.message})`)}}const tp=e=>window.playwrightRunning?"00000000-0000-0000-0000-000000000000":ep(e).sub,rp=(e,t)=>{let r=0;for(const n of t)if(r+=n.percentage,e<r)return n.variantName;return t[0].variantName},np=(e,t)=>{if(e.length===0||t===0)return e;const r=e.length;return t=(t%r+r)%r,e.slice(-t)+e.slice(0,-t)},ip=(e,t)=>{if(t.splitType==="percentage"){const r=np(e.replace(/[^A-F0-9]/gi,""),t.rotations),n=parseInt(r,16),i=t.variants.reduce((u,m)=>u+m.percentage,0),o=n%i;return rp(o,t.variants)}return t.variants[0].variantName},Gs=e=>{if(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const r=t,n=e[r];if(!n.shouldRun||n.shouldRun(ot.getState())){const i=tp(ot.getState().session.accessToken||""),o=ip(i,n);o&&(ot.dispatch(zd({experimentName:r,selectedVariant:o})),ot.dispatch(zt.endpoints.segmentTrack.initiate({event:"$experiment_started",properties:{"Experiment name":r,"Variant name":o}})))}}}},op=()=>{const[e]=Md(),[t,r]=Le(!0),n=sn(),[i]=Fd();if(ne(()=>{he(void 0,null,function*(){const u=yield i();"data"in u?(Jd(),Gd(),r(!1)):(xe("App-loaded service call failed.",{error:u.error}),Yd(`App-loaded service call failed: ${JSON.stringify(u.error)}`))})},[]),t)return w(Ge,{});const o=()=>he(void 0,null,function*(){r(!0),Kd();const{data:a,isSuccess:u,status:m}=yield e();if(!u){xe("Backend service call failed.",{status:m}),Xd(`Backend service call failed: ${m}`);return}const g=a==null?void 0:a.promotedFunds.filter(y=>y.type==="defined-benefits");if(a.hasDefinedBenefitsEligibility&&(g==null?void 0:g.length)>0){const y=Wf(g[0].fundId);n(Qs({fundId:g[0].fundId,fundType:"defined-benefits",iframeType:"PromotedFundJoinV2",fundName:y}));return}n(Ud(a.promotedFunds)),a.promotedFunds.forEach(y=>{const p=Fi(y);p!=null&&p.experiments&&Gs(p.experiments)})});return A("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:A("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:"}),A("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."}),A("li",{children:["Your personal data that is provided to us will be subject to our"," ",w(L,{css:{"--tw-text-opacity":"1",color:"rgb(37 99 235 / var(--tw-text-opacity))",textDecorationLine:"none",":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(dt,{fillWidth:!0,onClick:()=>o(),children:"Continue"})]})})]})},ap=(e,t)=>{window.parent.postMessage(e,t===void 0?"*":t)},sp=e=>{ap({type:"pageNavigated",url:e,sender:"flare"})},cp=()=>{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-"}},up=`https://${cp()}api.simplefinancialchoices.com/promoted-funds/embed`,_r=e=>e.replace(/ /g,""),tt=e=>!(typeof e=="string"&&e.trim().length>0),lp=()=>{var u,m,g,y,p,l;const e=Ve(s=>s.state.selectedFund),t=Ve(s=>s.session.accessToken),r=sn(),n=$e.endpoints.campaignConnect.useQueryState().data;if(!e||!t||!n)return xe("PfjIFrame was in an inconsistent state and the user was redirected to the three panel.",{fund:e,data:n?"Not null":"Null",authToken:t?"Not null":"Null"}),r(je()),w(Ge,{});const i={authToken:t,employerDefault:e.fundType==="promoted-default",fundId:e.fundId,accountId:n.userProfile.accountId,partnerId:n.userProfile.partnerId,title:(u=n.userProfile.title)!=null?u:"",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:(m=n.userProfile.dateOfBirth)!=null?m:"",mobilePhone:(g=n.userProfile.mobilePhone)!=null?g:"",email:n.userProfile.email,gender:(y=n.userProfile.gender)!=null?y:"",taxFileNumber:(p=n.userProfile.tfn)!=null?p:"",addressLine1:n.userProfile.address.addressLine1,addressLine2:(l=n.userProfile.address.addressLine2)!=null?l:"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},o=zr();ne(()=>{var c;const s=(c=o.current)==null?void 0:c.contentDocument;if(s){s.open();const f=s.createElement("form");f.method="POST",f.target="_self",f.action=up;let d;for(d in i){const b=i[d];if(b!==void 0){const v=document.createElement("input");v.name=d,v.type="hidden",typeof b=="boolean"?v.value=b?"true":"false":v.value=b,f.append(v)}}s.appendChild(f),s.close(),f.submit()}},[o]);const a=s=>he(void 0,null,function*(){const{data:c}=s;if(c.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",a),c.type){case"cancel":r(je());break;case"success-promoted":{if(tt(c.memberNumber)||tt(c.usi)){xe("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(je());break}Nt({fundType:"Promoted",fundId:e.fundId,usi:_r(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName,fundName:e.fundName});break}case"success-promoted-default":{if(tt(c.usi)){xe("Bad response from PFJ",{type:c.type,usi:c.usi}),r(je());break}Nt({fundType:"PromotedDefault",fundId:c.fundId,usi:_r(c.usi),fundName:e.fundName});break}case"success-promoted-default-with-join":{if(tt(c.memberNumber)||tt(c.usi)){xe("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(je());break}Nt({fundType:"PromotedDefaultWithJoin",fundId:e.fundId,usi:_r(c.usi),memberNumber:c.memberNumber,memberFirstName:c.memberFirstName,memberFamilyName:c.memberFamilyName,fundName:e.fundName});break}case"success-defined-benefits":{if(tt(c.memberNumber)||tt(c.usi)){xe("Bad response from PFJ",{type:c.type,memberNumber:c.memberNumber,usi:c.usi}),r(je());break}Nt({fundType:"DefinedBenefits",fundId:c.fundId,usi:_r(c.usi),memberNumber:c.memberNumber,memberElectContributionRatePreTax:c.memberElectContributionRatePreTax,memberElectContributionRatePostTax:c.memberElectContributionRatePostTax,fundName:e.fundName});break}}r(je())}if(c.sender==="promoted-fund-join"){const f=o.current;if(!f)return;switch(c.type){case"contentResized":f.height=c.height>0?String(c.height):f.height,f.width=c.width>0?String(c.width):f.width;break;case"pageNavigated":window.scroll(f.offsetLeft,f.offsetTop),sp(window.location.href);break}}});return window.addEventListener("message",a),w("div",{css:{width:"100vw"},children:w("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},dp="interop-mode",fp="react-native",Xo=()=>window.location.search.includes(`${dp}=${fp}`),Js=()=>{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-"}},Zo=`https://${Js()}join.slatesuper.com.au/confirm`,ea=`https://${Js()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,pp=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},mp=()=>{var u,m,g,y;const e=Ve(p=>p.session.accessToken),t=sn(),r=$e.endpoints.campaignConnect.useQueryState().data;if(!r)return xe("SlateIFrame was in an inconsistent state and the user was redirected to the three panel.",{data:r?"Not null":"Null"}),t(je()),w(Ge,{});const i={authToken:!Zo.match(/autodev|sandbox/)?e:void 0,successRedirectUrl:ea,cancelRedirectUrl:ea,skipConsolidation:Xo()?"true":"false",skipInsurance:Xo()?"true":"false",firstName:r.userProfile.firstName,middleName:r.userProfile.middleName,lastName:r.userProfile.lastName,dateOfBirth:(u=r.userProfile.dateOfBirth)!=null?u:"",mobilePhone:(m=r.userProfile.mobilePhone)!=null?m:"",email:r.userProfile.email,gender:pp(r.userProfile.gender),taxFileNumber:(g=r.userProfile.tfn)!=null?g:"",addressLine1:r.userProfile.address.addressLine1,addressLine2:(y=r.userProfile.address.addressLine2)!=null?y:"",city:r.userProfile.address.city,state:r.userProfile.address.state,postCode:r.userProfile.address.postcode},o=zr();ne(()=>{var l;const p=(l=o.current)==null?void 0:l.contentDocument;if(p){p.open();const s=p.createElement("form");s.method="POST",s.target="_self",s.action=Zo;let c;for(c in i){const f=i[c];if(f!==void 0){const d=document.createElement("input");d.type="hidden",d.name=c,d.value=f,s.append(d)}}p.appendChild(s),p.close(),s.submit()}},[o]);const a=p=>he(void 0,null,function*(){const{data:l}=p;if(l.sender==="slate-redirect"){switch(window.removeEventListener("message",a),l.type){case"success":{Nt({fundType:"Promoted",fundId:tr.fundId,usi:Mi,memberNumber:l.memberNumber,fundName:tr.name});break}default:t(je());break}return}if(l.sender==="flare")switch(l.type){case"contentResized":{const s=o.current;if(!s)return;s.height=l.height>0?String(l.height):s.height,s.width=l.width>0?String(l.width):s.width;break}}});return window.addEventListener("message",a),w("div",{css:{width:"100vw"},children:w("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},hp=({type:e})=>w("div",{css:[{height:"2.25rem",borderTopLeftRadius:"0.375rem",borderTopRightRadius:"0.375rem",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.375rem",paddingBottom:"0.375rem",textAlign:"center"},e==="popular"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},e==="industry"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},e==="workspace"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(243 232 255 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(107 33 168 / var(--tw-text-opacity))"},e==="business"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(254 249 195 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(133 77 14 / var(--tw-text-opacity))"}],children:A("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500"},children:[e==="popular"&&"Popular",e==="industry"&&"Popular in your industry",e==="workspace"&&"Popular in your workplace",e==="business"&&"Popular in your business"]})}),gp=r=>{var n=r,{size:e}=n,t=et(n,["size"]);return w("svg",B(P({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"})}))},ta={Check:gp},lr=()=>{const{funds:e}=Ve(({state:t})=>t);return(e==null?void 0:e.length)===1&&e[0].fundId==="mercermychoice"},yp=({name:e,logo:t,coverImage:r,extraBadge:n,isPromotedDefault:i,isMultiFund:o})=>{const a=lr(),u=A(Ae,{children:[A("div",{css:{marginRight:"-0.5rem",marginTop:"-1.25rem",textAlign:"right"},children:[n,i&&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"})]}),A("div",{css:[{marginTop:"0.5rem",display:"flex","@media (min-width: 768px)":{marginTop:"0px"},"@media (min-width: 1024px)":{display:"block"}},o&&{"@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"}},o&&{"@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"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:e})})]})]}),m=A(Ae,{children:[A("div",{css:{marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"4rem",alignItems:"center",justifyContent:"space-between"},children:[w("img",{css:[{width:"100px"}],alt:e,src:t}),A("div",{children:[n,i&&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"})]})]}),w("img",{css:[{width:"100%"},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:r})]});return w(Ae,{children:a&&De()?m:u})},bp=({features:e,featureSubText:t,customContent:r,name:n})=>{const i=lr(),o=A(Ae,{children:[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:e.map(u=>A("div",{css:{display:"flex"},children:[w("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:w(ta.Check,{alt:"checked"})}),w("div",{css:{lineHeight:"1.25rem"},children:u})]}))}),t&&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:t}),r]}),a=A(Ae,{children:[A("div",{css:{padding:"1.5rem",paddingBottom:"0px"},children:[w("div",{css:[{fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"700"}],children:n}),e.map(u=>A("div",{css:{marginTop:"0.5rem",display:"flex"},children:[w("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:w(ta.Check,{alt:"checked"})}),w("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"400"},children:u})]}))]}),t&&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:t}),r]});return w(Ae,{children:i&&De()?a:o})},vp=({name:e,logo:t,coverImage:r,features:n,featureSubText:i,isMultiFund:o,isPromotedDefault:a,extraBadge:u,customContent:m})=>{const g=lr();return A("div",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem"},g&&De()&&{padding:"0px"}],children:[w(yp,{name:e,logo:t,coverImage:r,isMultiFund:o,extraBadge:u,isPromotedDefault:a}),w(bp,{name:e,features:n,customContent:m,featureSubText:i})]})},wp=()=>w("div",{css:{display:"flex",justifyContent:"center"},children:A("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"}),w(Ae,{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."})})]})}),ra=({fund:e,isMultiFund:t})=>{const r=sn(),n=lr();return A("div",{css:{display:"flex",height:"100%",flexDirection:"column",justifyContent:"space-between",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem",paddingBottom:"1.5rem"},children:[A("div",{children:[w("div",{css:[{"@media (min-width: 768px)":{maxWidth:"240px"}},t&&{"@media (min-width: 1024px)":{maxWidth:"100%"}},n&&De()&&{"@media (min-width: 768px)":{maxWidth:"100%"}}],children:w(dt,{fillWidth:!0,onClick:()=>{Qd(e),r(Qs({fundId:e.fundId,fundType:e.fundType,iframeType:e.iframeType,fundName:e.name}))},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&&A("div",{css:{marginTop:"0.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:[A("p",{children:["Issued by ",e.abnInfo,"."]}),A("p",{children:["ABN: ",e.abn]})]})]})},_p="https://my.gov.au",Sp="www.my.gov.au",xp="https://www.apra.gov.au/register-of-superannuation-institutions",kp="www.apra.gov.au",Cp=(e,t)=>{if(t.selectedVariants["social-validation-popular-virgin"]==="badge"&&e==="virgin")return"popular";if(t.selectedVariants["social-validation-business-virgin"]==="badge"&&e==="virgin"||t.selectedVariants["social-validation-business-mercermychoice"]==="badge"&&e==="mercermychoice")return"business"},Tp=()=>{const e=Ve(a=>a.state.funds),t=Ve(a=>a.experimentsData),r=lr(),n=ae(()=>Uf(e!=null?e:[]),[e]),i=Hd();ne(()=>{Vd(n)},[]);const o=n.length>1;return A("div",{children:[w(wp,{}),A("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",{css:{marginLeft:"auto",marginRight:"auto",width:"fit-content",cursor:"pointer"},onClick:()=>i("skipCopy"),children:A("span",{css:{marginTop:"0.75rem",display:"inline-block",fontWeight:"500",color:"var(--fl-color-primary)"},children:["Choose another fund ",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:w("div",{children:A("div",{css:[{"@media (min-width: 1024px)":{display:"grid"}},n.length===1&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(1, minmax(0, 1fr))"}},n.length===2&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(2, minmax(0, 1fr))"}},n.length===3&&{maxWidth:"960px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(3, minmax(0, 1fr))"}}],children:[n.map((a,u)=>{const m=Cp(a.fundId,t);return A("div",{children:[(!De()||u===0)&&w("div",{css:[{visibility:"hidden"},m&&{visibility:"visible"}],children:w(hp,{type:m})}),w("div",{css:[n.length===1&&{maxWidth:"720px"},n.length===2&&{maxWidth:"720px"},n.length===3&&{maxWidth:"960px"},{height:"100%",borderBottomWidth:"1px",borderLeftWidth:"1px",borderRightWidth:"1px",borderTopWidth:"1px","@media (min-width: 1024px)":{borderBottomWidth:"0px"}},u!==0&&{borderTopWidth:"0px","@media (min-width: 1024px)":{borderLeftWidth:"0px",borderTopWidth:"1px"}},u===0&&{borderTopLeftRadius:"0.5rem",borderTopRightRadius:"0.5rem"},u===0&&u!==n.length-1&&{"@media (min-width: 1024px)":{borderTopRightRadius:"0px"}},u===n.length-1&&{borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem","@media (min-width: 1024px)":{borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderTopRightRadius:"0.5rem"}},!o&&{"@media (min-width: 1024px)":{borderBottomRightRadius:"0.5rem",borderBottomLeftRadius:"0.5rem",borderBottomWidth:"1px"}},m&&{borderTopLeftRadius:"0px",borderTopRightRadius:"0px","@media (min-width: 1024px)":{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"}}],children:A("div",{css:[{display:"flex"}],children:[w("div",{css:[{display:"none",width:"9rem",justifyContent:"center",paddingLeft:"1.5rem",paddingTop:"1.5rem","@media (min-width: 768px)":{display:"flex"}},o&&{"@media (min-width: 1024px)":{display:"none"}},r&&De()&&{"@media (min-width: 768px)":{display:"none"}}],children:w("img",{css:{height:"4rem",width:"100%",maxWidth:"96px",objectFit:"contain"},alt:a.name,src:a.logo})}),A("div",{css:[{width:"100%"},r&&De()&&{minWidth:"286px",maxWidth:"480px"}],children:[w(vp,{logo:a.logo,name:a.name,coverImage:a.coverImage,features:a.features,featureSubText:a.featureSubText,isMultiFund:o,isPromotedDefault:a.fundType==="promoted-default",extraBadge:a.extraBadge,customContent:a.customContent}),w("div",{css:[o&&{"@media (min-width: 1024px)":{display:"none"}}],children:w(ra,{fund:a,isMultiFund:o})})]})]})})]})}),n.map((a,u)=>w("div",{css:[{display:"none",borderBottomWidth:"1px",borderRightWidth:"1px"},o&&{"@media (min-width: 1024px)":{display:"block"}},u===0&&{borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem",borderLeftWidth:"1px"},u===0&&u!==n.length-1&&{"@media (min-width: 1024px)":{borderBottomRightRadius:"0px"}},u===n.length-1&&{borderBottomRightRadius:"0.5rem"}],children:w(ra,{fund:a,isMultiFund:o})}))]})})}),w("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:A("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:"}),A("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."}),A("li",{children:["If you are unsure of your current super fund details, you can find out at"," ",w(L,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:_p,children:Sp})]}),A("li",{children:["A full list of super funds can be viewed at"," ",w(L,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:xp,children:kp})]})]}),w(dt,{fillWidthOnMobile:!0,onClick:()=>i("button"),children:"Choose another super fund"})]})}),w("div",{css:{display:"flex",justifyContent:"center"},children:A("div",{css:{maxWidth:"720px",paddingTop:"2rem","@media (min-width: 640px)":{paddingTop:"3rem"}},children:[w("h5",{css:{fontWeight:"600"},children:"IMPORTANT INFORMATION:"}),A("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."})]})]})})]})},Ep=Qt.div({display:"flex",flexDirection:"column",alignItems:"center"}),Ap=()=>{const{funds:e,selectedFund:t}=Ve(i=>i.state),[r]=Dd();return ne(()=>{r()},[]),A(Ep,{children:[w("div",{children:(()=>{if(t){if(t.iframeType==="PromotedFundJoinV2")return w(lp,{});if(t.iframeType==="SlateJoin")return w(mp,{})}else if(e)return w(Tp,{});return w(op,{})})()}),w("div",{children:w(Ks,{})})]})},Rp=()=>w(Ap,{}),Pp={};function $i(){return($i=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 Ip=["context","children"];function Op(e){this.getChildContext=function(){return e.context};var t=e.children,r=function(n,i){if(n==null)return{};var o,a,u={},m=Object.keys(n);for(a=0;a<m.length;a++)i.indexOf(o=m[a])>=0||(u[o]=n[o]);return u}(e,Ip);return ci(t,r)}function Mp(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=Y(Op,$i({},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={},a=0,u=r.attributes,m=r.childNodes;for(a=u.length;a--;)u[a].name!=="slot"&&(o[u[a].name]=u[a].value,o[Ys(u[a].name)]=u[a].value);for(a=m.length;a--;){var g=t(m[a],null),y=m[a].slot;y?o[y]=Y(na,{name:y},g):i[a]=g}var p=n?Y(na,null,i):i;return Y(n||r.nodeName.toLowerCase(),o,p)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?si:Je)(this._vdom,this._root)}function Ys(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function Np(e,t,r){if(this._vdom){var n={};n[e]=r=r==null?void 0:r,n[Ys(e)]=r,this._vdom=ci(this._vdom,n),Je(this._vdom,this._root)}}function Fp(){Je(this._vdom=null,this._root)}function na(e,t){var r=this;return Y("slot",$i({},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 $p(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=Mp,i.prototype.attributeChangedCallback=Np,i.prototype.disconnectedCallback=Fp,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(a){this._vdom?this.attributeChangedCallback(o,null,a):(this._props||(this._props={}),this._props[o]=a,this.connectedCallback());var u=typeof a;a!=null&&u!=="string"&&u!=="boolean"&&u!=="number"||this.setAttribute(o,a)}})}),customElements.define(t||e.tagName||e.displayName||e.name,i)}const Dp=()=>w(xu,{styles:ku`*, ::before, ::after {
16
+ */var br=nf;function of(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var sf=typeof Object.is=="function"?Object.is:of,af=br.useSyncExternalStore,cf=br.useRef,uf=br.useEffect,lf=br.useMemo,df=br.useDebugValue;yc.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=cf(null);if(o.current===null){var s={hasValue:!1,value:null};o.current=s}else s=o.current;o=lf(function(){function u(c){if(!h){if(h=!0,g=c,c=n(c),i!==void 0&&s.hasValue){var l=s.value;if(i(l,c))return m=l}return m=c}if(l=m,sf(g,c))return l;var f=n(c);return i!==void 0&&i(l,f)?l:(g=c,m=f)}var h=!1,g,m,d=r===void 0?null:r;return[function(){return u(t())},d===null?void 0:function(){return u(d())}]},[t,r,n,i]);var a=af(e,o[0],o[1]);return uf(function(){s.hasValue=!0,s.value=a},[a]),df(a),a};gc.exports=yc;var ff=gc.exports,ye="default"in Zt?xa:Zt,Es=Symbol.for("react-redux-context"),Ts=typeof globalThis!="undefined"?globalThis:{};function pf(){var r;if(!ye.createContext)return{};const e=(r=Ts[Es])!=null?r:Ts[Es]=new Map;let t=e.get(ye.createContext);return t||(t=ye.createContext(null),e.set(ye.createContext,t)),t}var nt=pf(),hf=()=>{throw new Error("uSES not initialized!")};function ao(e=nt){return function(){return ye.useContext(e)}}var wc=ao(),bc=hf,mf=e=>{bc=e},gf=(e,t)=>e===t;function yf(e=nt){const t=e===nt?wc:ao(e);return function(n,i={}){const{equalityFn:o=gf,devModeChecks:s={}}=typeof i=="function"?{equalityFn:i}:i,{store:a,subscription:u,getServerState:h,stabilityCheck:g,identityFunctionCheck:m}=t();ye.useRef(!0);const d=ye.useCallback({[n.name](l){return n(l)}}[n.name],[n,g,s.stabilityCheck]),c=bc(u.addNestedSub,a.getState,h||a.getState,d,o);return ye.useDebugValue(c),c}}var vc=yf();function _c(e){e()}function wf(){let e=null,t=null;return{clear(){e=null,t=null},notify(){_c(()=>{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 As={notify(){},get:()=>[]};function bf(e,t){let r,n=As,i=0,o=!1;function s(f){g();const p=n.subscribe(f);let w=!1;return()=>{w||(w=!0,p(),m())}}function a(){n.notify()}function u(){l.onStateChange&&l.onStateChange()}function h(){return o}function g(){i++,r||(r=t?t.addNestedSub(u):e.subscribe(u),n=wf())}function m(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=As)}function d(){o||(o=!0,g())}function c(){o&&(o=!1,m())}const l={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:u,isSubscribed:h,trySubscribe:d,tryUnsubscribe:c,getListeners:()=>n};return l}var vf=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",_f=vf?ye.useLayoutEffect:ye.useEffect;function Rs(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Yr(e,t){if(Rs(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])||!Rs(e[r[i]],t[r[i]]))return!1;return!0}function Sf({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const s=ye.useMemo(()=>{const h=bf(e);return{store:e,subscription:h,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,n,i,o]),a=ye.useMemo(()=>e.getState(),[e]);_f(()=>{const{subscription:h}=s;return h.onStateChange=h.notifyNestedSubs,h.trySubscribe(),a!==e.getState()&&h.notifyNestedSubs(),()=>{h.tryUnsubscribe(),h.onStateChange=void 0}},[s,a]);const u=t||nt;return ye.createElement(u.Provider,{value:s},r)}var Cf=Sf;function Sc(e=nt){const t=e===nt?wc:ao(e);return function(){const{store:n}=t();return n}}var Cc=Sc();function kf(e=nt){const t=e===nt?Cc:Sc(e);return function(){return t().dispatch}}var kc=kf(),xf=_c;mf(ff.useSyncExternalStoreWithSelector);function Ps(e,t,r,n){const i=ae(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),o=xe(i);return te(()=>{o.current.serialized!==i.serialized&&(o.current=i)},[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var Hn=Symbol();function qn(e){const t=xe(e);return te(()=>{Yr(t.current,e)||(t.current=e)},[e]),Yr(t.current,e)?t.current:e}var bt=WeakMap?new WeakMap:void 0,Ef=({endpointName:e,queryArgs:t})=>{let r="";const n=bt==null?void 0:bt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,s)=>Ue(s)?Object.keys(s).sort().reduce((a,u)=>(a[u]=s[u],a),{}):s);Ue(t)&&(bt==null||bt.set(t,i)),r=i}return`${e}(${r})`},Tf=typeof window!="undefined"&&window.document&&window.document.createElement?mt:te,Af=e=>e.isUninitialized?$(I({},e),{isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:uc.pending}):e;function Rf({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:o},serializeQueryArgs:s,context:a}){const u=o?c=>c():te;return{buildQueryHooks:m,buildMutationHook:d,usePrefetch:g};function h(c,l,f){if(l!=null&&l.endpointName&&c.isUninitialized){const{endpointName:S}=l,k=a.endpointDefinitions[S];s({queryArgs:l.originalArgs,endpointDefinition:k,endpointName:S})===s({queryArgs:f,endpointDefinition:k,endpointName:S})&&(l=void 0)}let p=c.isSuccess?c.data:l==null?void 0:l.data;p===void 0&&(p=c.data);const w=p!==void 0,b=c.isLoading,y=!w&&b,v=c.isSuccess||b&&w;return $(I({},c),{data:p,currentData:c.data,isFetching:b,isLoading:y,isSuccess:v})}function g(c,l){const f=r(),p=qn(l);return vt((w,b)=>f(e.util.prefetch(c,w,I(I({},p),b))),[c,f,p])}function m(c){const l=(w,{refetchOnReconnect:b,refetchOnFocus:y,refetchOnMountOrArgChange:v,skip:S=!1,pollingInterval:k=0}={})=>{const{initiate:C}=e.endpoints[c],x=r(),E=xe();if(!E.current){const D=x(e.internalActions.internal_getRTKQSubscriptions());E.current=D}const T=Ps(S?ut:w,Ef,a.endpointDefinitions[c],c),R=qn({refetchOnReconnect:b,refetchOnFocus:y,pollingInterval:k}),N=xe(!1),P=xe();let{queryCacheKey:M,requestId:z}=P.current||{},Y=!1;M&&z&&(Y=E.current.isRequestSubscribed(M,z));const j=!Y&&N.current;return u(()=>{N.current=Y}),u(()=>{j&&(P.current=void 0)},[j]),u(()=>{var Z;const D=P.current;if(T===ut){D==null||D.unsubscribe(),P.current=void 0;return}const re=(Z=P.current)==null?void 0:Z.subscriptionOptions;if(!D||D.arg!==T){D==null||D.unsubscribe();const le=x(C(T,{subscriptionOptions:R,forceRefetch:v}));P.current=le}else R!==re&&D.updateSubscriptionOptions(R)},[x,C,v,T,R,j]),te(()=>()=>{var D;(D=P.current)==null||D.unsubscribe(),P.current=void 0},[]),ae(()=>({refetch:()=>{var D;if(!P.current)throw new Error(Te(38));return(D=P.current)==null?void 0:D.refetch()}}),[])},f=({refetchOnReconnect:w,refetchOnFocus:b,pollingInterval:y=0}={})=>{const{initiate:v}=e.endpoints[c],S=r(),[k,C]=we(Hn),x=xe(),E=qn({refetchOnReconnect:w,refetchOnFocus:b,pollingInterval:y});u(()=>{var P,M;const N=(P=x.current)==null?void 0:P.subscriptionOptions;E!==N&&((M=x.current)==null||M.updateSubscriptionOptions(E))},[E]);const T=xe(E);u(()=>{T.current=E},[E]);const R=vt(function(N,P=!1){let M;return t(()=>{var z;(z=x.current)==null||z.unsubscribe(),x.current=M=S(v(N,{subscriptionOptions:T.current,forceRefetch:!P})),C(N)}),M},[S,v]);return te(()=>()=>{var N;(N=x==null?void 0:x.current)==null||N.unsubscribe()},[]),te(()=>{k!==Hn&&!x.current&&R(k,!0)},[k,R]),ae(()=>[R,k],[R,k])},p=(w,{skip:b=!1,selectFromResult:y}={})=>{const{select:v}=e.endpoints[c],S=Ps(b?ut:w,s,a.endpointDefinitions[c],c),k=xe(),C=ae(()=>kt([v(S),(N,P)=>P,N=>S],h),[v,S]),x=ae(()=>y?kt([C],y,{devModeChecks:{identityFunctionCheck:"never"}}):C,[C,y]),E=n(N=>x(N,k.current),Yr),T=i(),R=C(T.getState(),k.current);return Tf(()=>{k.current=R},[R]),E};return{useQueryState:p,useQuerySubscription:l,useLazyQuerySubscription:f,useLazyQuery(w){const[b,y]=f(w),v=p(y,$(I({},w),{skip:y===Hn})),S=ae(()=>({lastArg:y}),[y]);return ae(()=>[b,v,S],[b,v,S])},useQuery(w,b){const y=l(w,b),v=p(w,I({selectFromResult:w===ut||b!=null&&b.skip?void 0:Af},b)),{data:S,status:k,isLoading:C,isSuccess:x,isError:E,error:T}=v;return Hr({data:S,status:k,isLoading:C,isSuccess:x,isError:E,error:T}),ae(()=>I(I({},v),y),[v,y])}}}function d(c){return({selectFromResult:l,fixedCacheKey:f}={})=>{const{select:p,initiate:w}=e.endpoints[c],b=r(),[y,v]=we();te(()=>()=>{y!=null&&y.arg.fixedCacheKey||y==null||y.reset()},[y]);const S=vt(function(Z){const le=b(w(Z,{fixedCacheKey:f}));return v(le),le},[b,w,f]),{requestId:k}=y||{},C=ae(()=>p({fixedCacheKey:f,requestId:y==null?void 0:y.requestId}),[f,y,p]),x=ae(()=>l?kt([C],l):C,[l,C]),E=n(x,Yr),T=f==null?y==null?void 0:y.arg.originalArgs:void 0,R=vt(()=>{t(()=>{y&&v(void 0),f&&b(e.internalActions.removeMutationResult({requestId:k,fixedCacheKey:f}))})},[b,f,y,k]),{endpointName:N,data:P,status:M,isLoading:z,isSuccess:Y,isError:j,error:D}=E;Hr({endpointName:N,data:P,status:M,isLoading:z,isSuccess:Y,isError:j,error:D});const re=ae(()=>$(I({},E),{originalArgs:T,reset:R}),[E,T,R]);return ae(()=>[S,re],[S,re])}}}function Pf(e){return e.type==="query"}function If(e){return e.type==="mutation"}function Wn(e){return e.replace(e[0],e[0].toUpperCase())}function Ir(e,...t){return Object.assign(e,...t)}var Mf=Symbol(),Nf=(i={})=>{var o=i,{batch:e=xf,hooks:t={useDispatch:kc,useSelector:vc,useStore:Cc},unstable__sideEffectsInRender:r=!1}=o,n=ot(o,["batch","hooks","unstable__sideEffectsInRender"]);return{name:Mf,init(s,{serializeQueryArgs:a},u){const h=s,{buildQueryHooks:g,buildMutationHook:m,usePrefetch:d}=Rf({api:s,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:a,context:u});return Ir(h,{usePrefetch:d}),Ir(u,{batch:e}),{injectEndpoint(c,l){if(Pf(l)){const{useQuery:f,useLazyQuery:p,useLazyQuerySubscription:w,useQueryState:b,useQuerySubscription:y}=g(c);Ir(h.endpoints[c],{useQuery:f,useLazyQuery:p,useLazyQuerySubscription:w,useQueryState:b,useQuerySubscription:y}),s[`use${Wn(c)}Query`]=f,s[`useLazy${Wn(c)}Query`]=p}else if(If(l)){const f=m(c);Ir(h.endpoints[c],{useMutation:f}),s[`use${Wn(c)}Mutation`]=f}}}}}},xc=qd(rf(),Nf());const Ec=(e,t,r)=>pe(void 0,null,function*(){const n=t.getState().session.backendUrl;return Dd({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)}),$e=xc({baseQuery:Ec,reducerPath:"backendApi",endpoints:e=>({campaignConnect:e.query({query:()=>({url:"super-campaign/backend/campaign-connect",method:"GET"}),keepUnusedDataFor:Number.MAX_SAFE_INTEGER}),byofCampaignConnect:e.query({query:t=>({url:`super-campaign/backend/byof-campaign-connect/${t}`,method:"GET"})}),appLoaded:e.mutation({query:()=>({url:"super-campaign/backend/app-loaded",method:"POST"})}),errorLogs:e.mutation({query:t=>({url:"super-campaign/backend/error-logs",method:"POST",body:t})})})}),{useLazyCampaignConnectQuery:Of,useByofCampaignConnectQuery:Bf,useAppLoadedMutation:Ff,useErrorLogsMutation:rg}=$e;var gi={exports:{}};(function(e,t){(function(r,n){var i="1.0.37",o="",s="?",a="function",u="undefined",h="object",g="string",m="major",d="model",c="name",l="type",f="vendor",p="version",w="architecture",b="console",y="mobile",v="tablet",S="smarttv",k="wearable",C="embedded",x=500,E="Amazon",T="Apple",R="ASUS",N="BlackBerry",P="Browser",M="Chrome",z="Edge",Y="Firefox",j="Google",D="Huawei",re="LG",Z="Microsoft",le="Motorola",qe="Opera",ne="Samsung",Ft="Sharp",ie="Sony",Ae="Xiaomi",Rn="Zebra",wo="Facebook",bo="Chromium OS",vo="Mac OS",Zc=function(U,V){var F={};for(var J in U)V[J]&&V[J].length%2===0?F[J]=V[J].concat(U[J]):F[J]=U[J];return F},Cr=function(U){for(var V={},F=0;F<U.length;F++)V[U[F].toUpperCase()]=U[F];return V},_o=function(U,V){return typeof U===g?Dt(V).indexOf(Dt(U))!==-1:!1},Dt=function(U){return U.toLowerCase()},eu=function(U){return typeof U===g?U.replace(/[^\d\.]/g,o).split(".")[0]:n},Pn=function(U,V){if(typeof U===g)return U=U.replace(/^\s\s*/,o),typeof V===u?U:U.substring(0,x)},Lt=function(U,V){for(var F=0,J,Ge,Oe,W,B,Be;F<V.length&&!B;){var Mn=V[F],ko=V[F+1];for(J=Ge=0;J<Mn.length&&!B&&Mn[J];)if(B=Mn[J++].exec(U),B)for(Oe=0;Oe<ko.length;Oe++)Be=B[++Ge],W=ko[Oe],typeof W===h&&W.length>0?W.length===2?typeof W[1]==a?this[W[0]]=W[1].call(this,Be):this[W[0]]=W[1]:W.length===3?typeof W[1]===a&&!(W[1].exec&&W[1].test)?this[W[0]]=Be?W[1].call(this,Be,W[2]):n:this[W[0]]=Be?Be.replace(W[1],W[2]):n:W.length===4&&(this[W[0]]=Be?W[3].call(this,Be.replace(W[1],W[2])):n):this[W]=Be||n;F+=2}},In=function(U,V){for(var F in V)if(typeof V[F]===h&&V[F].length>0){for(var J=0;J<V[F].length;J++)if(_o(V[F][J],U))return F===s?n:F}else if(_o(V[F],U))return F===s?n:F;return U},tu={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},So={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Co={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,p],[/opios[\/ ]+([\w\.]+)/i],[p,[c,qe+" Mini"]],[/\bopr\/([\w\.]+)/i],[p,[c,qe]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[p,[c,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[c,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[c,"UC"+P]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[p,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[c,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[p,[c,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[p,[c,"Smart Lenovo "+P]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure "+P],p],[/\bfocus\/([\w\.]+)/i],[p,[c,Y+" Focus"]],[/\bopt\/([\w\.]+)/i],[p,[c,qe+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[c,qe+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[c,"MIUI "+P]],[/fxios\/([-\w\.]+)/i],[p,[c,Y]],[/\bqihu|(qi?ho?o?|360)browser/i],[[c,"360 "+P]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1 "+P],p],[/samsungbrowser\/([\w\.]+)/i],[p,[c,ne+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[c,/_/g," "],p],[/metasr[\/ ]?([\d\.]+)/i],[p,[c,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[c,"Sogou Mobile"],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[c,p],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,wo],p],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[c,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[c,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[p,[c,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[c,M+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,M+" WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[c,"Android "+P]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,p],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[p,[c,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[p,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[p,In,tu]],[/(webkit|khtml)\/([\w\.]+)/i],[c,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[c,Y+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[c,p],[/(cobalt)\/([\w\.]+)/i],[c,[p,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[w,"amd64"]],[/(ia32(?=;))/i],[[w,Dt]],[/((?:i[346]|x)86)[;\)]/i],[[w,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[w,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[w,"armhf"]],[/windows (ce|mobile); ppc;/i],[[w,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[w,/ower/,o,Dt]],[/(sun4\w)[;\)]/i],[[w,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[w,Dt]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[f,ne],[l,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[f,ne],[l,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[f,T],[l,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[f,T],[l,v]],[/(macintosh);/i],[d,[f,T]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[f,Ft],[l,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[f,D],[l,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[f,D],[l,y]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[f,Ae],[l,y]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[f,Ae],[l,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[f,"OPPO"],[l,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[f,"Vivo"],[l,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[f,"Realme"],[l,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[f,le],[l,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[f,le],[l,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[f,re],[l,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[f,re],[l,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[f,"Lenovo"],[l,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[f,"Nokia"],[l,y]],[/(pixel c)\b/i],[d,[f,j],[l,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[f,j],[l,y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[f,ie],[l,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[f,ie],[l,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[f,"OnePlus"],[l,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[f,E],[l,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[f,E],[l,y]],[/(playbook);[-\w\),; ]+(rim)/i],[d,f,[l,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[f,N],[l,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[f,R],[l,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[f,R],[l,y]],[/(nexus 9)/i],[d,[f,"HTC"],[l,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[f,[d,/_/g," "],[l,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[f,"Acer"],[l,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[f,"Meizu"],[l,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[f,"Ulefone"],[l,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[f,d,[l,y]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[f,d,[l,v]],[/(surface duo)/i],[d,[f,Z],[l,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[f,"Fairphone"],[l,y]],[/(u304aa)/i],[d,[f,"AT&T"],[l,y]],[/\bsie-(\w*)/i],[d,[f,"Siemens"],[l,y]],[/\b(rct\w+) b/i],[d,[f,"RCA"],[l,v]],[/\b(venue[\d ]{2,7}) b/i],[d,[f,"Dell"],[l,v]],[/\b(q(?:mv|ta)\w+) b/i],[d,[f,"Verizon"],[l,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[f,"Barnes & Noble"],[l,v]],[/\b(tm\d{3}\w+) b/i],[d,[f,"NuVision"],[l,v]],[/\b(k88) b/i],[d,[f,"ZTE"],[l,v]],[/\b(nx\d{3}j) b/i],[d,[f,"ZTE"],[l,y]],[/\b(gen\d{3}) b.+49h/i],[d,[f,"Swiss"],[l,y]],[/\b(zur\d{3}) b/i],[d,[f,"Swiss"],[l,v]],[/\b((zeki)?tb.*\b) b/i],[d,[f,"Zeki"],[l,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[f,"Dragon Touch"],d,[l,v]],[/\b(ns-?\w{0,9}) b/i],[d,[f,"Insignia"],[l,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[f,"NextBook"],[l,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],d,[l,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[f,"LvTel"],d,[l,y]],[/\b(ph-1) /i],[d,[f,"Essential"],[l,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[f,"Envizen"],[l,v]],[/\b(trio[-\w\. ]+) b/i],[d,[f,"MachSpeed"],[l,v]],[/\btu_(1491) b/i],[d,[f,"Rotor"],[l,v]],[/(shield[\w ]+) b/i],[d,[f,"Nvidia"],[l,v]],[/(sprint) (\w+)/i],[f,d,[l,y]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[f,Z],[l,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[f,Rn],[l,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[f,Rn],[l,y]],[/smart-tv.+(samsung)/i],[f,[l,S]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[f,ne],[l,S]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[f,re],[l,S]],[/(apple) ?tv/i],[f,[d,T+" TV"],[l,S]],[/crkey/i],[[d,M+"cast"],[f,j],[l,S]],[/droid.+aft(\w+)( bui|\))/i],[d,[f,E],[l,S]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[f,Ft],[l,S]],[/(bravia[\w ]+)( bui|\))/i],[d,[f,ie],[l,S]],[/(mitv-\w{5}) bui/i],[d,[f,Ae],[l,S]],[/Hbbtv.*(technisat) (.*);/i],[f,d,[l,S]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[f,Pn],[d,Pn],[l,S]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[l,S]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,d,[l,b]],[/droid.+; (shield) bui/i],[d,[f,"Nvidia"],[l,b]],[/(playstation [345portablevi]+)/i],[d,[f,ie],[l,b]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[f,Z],[l,b]],[/((pebble))app/i],[f,d,[l,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[f,T],[l,k]],[/droid.+; (glass) \d/i],[d,[f,j],[l,k]],[/droid.+; (wt63?0{2,3})\)/i],[d,[f,Rn],[l,k]],[/(quest( 2| pro)?)/i],[d,[f,wo],[l,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[f,[l,C]],[/(aeobc)\b/i],[d,[f,E],[l,C]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[l,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[l,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[l,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[l,y]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[f,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[c,z+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[c,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[c,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,p],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[c,[p,In,So]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,In,So],[c,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,vo],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[p,c],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[c,p],[/\(bb(10);/i],[p,[c,N]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[c,Y+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[c,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[p,[c,"watchOS"]],[/crkey\/([\d\.]+)/i],[p,[c,M+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[c,bo],p],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[c,p],[/(sunos) ?([\w\.\d]*)/i],[[c,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[c,p]]},Re=function(U,V){if(typeof U===h&&(V=U,U=n),!(this instanceof Re))return new Re(U,V).getResult();var F=typeof r!==u&&r.navigator?r.navigator:n,J=U||(F&&F.userAgent?F.userAgent:o),Ge=F&&F.userAgentData?F.userAgentData:n,Oe=V?Zc(Co,V):Co,W=F&&F.userAgent==J;return this.getBrowser=function(){var B={};return B[c]=n,B[p]=n,Lt.call(B,J,Oe.browser),B[m]=eu(B[p]),W&&F&&F.brave&&typeof F.brave.isBrave==a&&(B[c]="Brave"),B},this.getCPU=function(){var B={};return B[w]=n,Lt.call(B,J,Oe.cpu),B},this.getDevice=function(){var B={};return B[f]=n,B[d]=n,B[l]=n,Lt.call(B,J,Oe.device),W&&!B[l]&&Ge&&Ge.mobile&&(B[l]=y),W&&B[d]=="Macintosh"&&F&&typeof F.standalone!==u&&F.maxTouchPoints&&F.maxTouchPoints>2&&(B[d]="iPad",B[l]=v),B},this.getEngine=function(){var B={};return B[c]=n,B[p]=n,Lt.call(B,J,Oe.engine),B},this.getOS=function(){var B={};return B[c]=n,B[p]=n,Lt.call(B,J,Oe.os),W&&!B[c]&&Ge&&Ge.platform!="Unknown"&&(B[c]=Ge.platform.replace(/chrome os/i,bo).replace(/macos/i,vo)),B},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return J},this.setUA=function(B){return J=typeof B===g&&B.length>x?Pn(B,x):B,this},this.setUA(J),this};Re.VERSION=i,Re.BROWSER=Cr([c,p,m]),Re.CPU=Cr([w]),Re.DEVICE=Cr([d,f,l,b,y,S,v,k,C]),Re.ENGINE=Re.OS=Cr([c,p]),e.exports&&(t=e.exports=Re),t.UAParser=Re;var yt=typeof r!==u&&(r.jQuery||r.Zepto);if(yt&&!yt.ua){var kr=new Re;yt.ua=kr.getResult(),yt.ua.get=function(){return kr.getUA()},yt.ua.set=function(U){kr.setUA(U);var V=kr.getResult();for(var F in V)yt.ua[F]=V[F]}}})(typeof window=="object"?window:nl)})(gi,gi.exports);var Df=gi.exports;const Vn=new Df.UAParser,Tc=()=>/iPad|iPhone|iPod/.test(navigator.userAgent),Ac=()=>/Android/.test(navigator.userAgent),ze=()=>Ac()||Tc(),Rc=()=>({deviceType:Ac()||Tc()?"Mobile":"Desktop",platform:Vn.getOS().name,Browser:Vn.getBrowser().name,"Browser Version":Vn.getBrowser().version}),Jt=xc({baseQuery:Ec,reducerPath:"segmentApi",endpoints:e=>({segmentIdentify:e.mutation({query:()=>({url:"super-campaign/backend/segment/identify",method:"POST"})}),segmentTrack:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/t",method:"POST",body:{event:t,properties:I(I({},r),Rc())}})}),segmentPage:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/p",method:"POST",body:{event:t,properties:r}})})})}),{useSegmentIdentifyMutation:Lf,useSegmentTrackMutation:$f,useSegmentPageMutation:ng}=Jt,zf={selectedVariants:{}},yi=Ve({name:"experimentsData",initialState:zf,reducers:{setExperiment:(e,t)=>{const{experimentName:r,selectedVariant:n}=t.payload;return e.selectedVariants[r]||(e.selectedVariants[r]=n),e}}}),{setExperiment:Uf}=yi.actions,wi=Ve({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:jf}=wi.actions,bi=Ve({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,fundName:t.payload.fundName}},clearSelectedFund:e=>{e.selectedFund=void 0}}}),{setFunds:Hf,setSelectedFund:Pc,clearSelectedFund:We}=bi.actions,lt=dd({reducer:{[wi.name]:wi.reducer,[$e.reducerPath]:$e.reducer,[Jt.reducerPath]:Jt.reducer,[bi.reducerPath]:bi.reducer,[yi.reducerPath]:yi.reducer},middleware:e=>e().concat($e.middleware,Jt.middleware)}),Cn=()=>kc(),je=vc,co="32367272075001",uo="slate",Ce=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},qf=()=>{Ce({sender:"byof-engagement",type:"continue",reason:"No content to display"})},kn=()=>{Ce({sender:"byof-engagement",type:"continue",reason:"Continue button was clicked"})},Wf=()=>{Ce({sender:"byof-engagement",type:"continue",reason:"Timeout, or a backend error has occurred"})},Vf=()=>{const[e]=$f();return t=>{Ce({sender:"super-campaign",type:"choose-another-fund-requested"}),e({event:"FeaturedFunds Skipped",properties:{method:t}})}},Qf=e=>{Ce({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.fundType}))})},Kf=e=>{Ce({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.fundType,fundName:e.name,fundUsi:e.fundId===uo?co:void 0})},fe=e=>{Ce({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:e.fundId===uo?co:void 0})},Jf=()=>{Ce({sender:"super-campaign",type:"disclaimer-accepted"})},Yf=()=>{Ce({sender:"super-campaign",type:"disclaimer-viewed"})},Ht=e=>{Ce({sender:"super-campaign",type:"promoted-fund-joined",fundJoinInfo:e})},Gf=()=>{Ce({sender:"super-campaign",type:"super-campaign-loaded"})},Xf=e=>{Ce({sender:"super-campaign",type:"super-campaign-load-failed",reason:e})},Zf=e=>{Ce({sender:"super-campaign",type:"super-campaign-failed",reason:e})};var ep=0;function Gr(e,t,r,n,i,o){var s,a,u={};for(a in t)a=="ref"?s=t[a]:u[a]=t[a];var h={type:e,props:u,key:r,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--ep,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(s=e.defaultProps))for(a in s)u[a]===void 0&&(u[a]=s[a]);return O.vnode&&O.vnode(h),h}var Ie=ve;function _(e,t,r){return bn.call(t,"css")?Gr(Wa,qa(e,t),r):Gr(e,t,r)}function A(e,t,r){return bn.call(t,"css")?Gr(Wa,qa(e,t),r):Gr(e,t,r)}const tp=G.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),rp="_extnav=true",L=i=>{var o=i,{link:e,onClick:t,children:r}=o,n=ot(o,["link","onClick","children"]);const s=e.indexOf("?")===-1?"?":"&",a=`${e}${s}${rp}`;return _(tp,$(I({target:"_blank",href:a,onClick:t},n),{children:r}))},np=""+new URL("assets/logo-aware-DYvmVUZ1.svg",import.meta.url).href,ip="Aware Super",vi={fundId:"aware-super",name:ip,logo:np,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Multi-award winning fund named Retirement Offering of the Year 2024.^"}),_("p",{children:"Members get a 45-minute Super Helpful check-in with an advisor."}),_("p",{children:"8.97% p.a.* returns over 10 years to 31 March 2024 (High Growth option)"})],disclaimer:A("div",{children:[A("p",{children:["Consider if we’re right for you and read the"," ",_(L,{onClick:()=>fe(vi),link:"https://aware.com.au/member/contact-aware-super/forms-and-documents/",children:"PDS and TMD"}),".",_("br",{}),"^Awards are just one factor to consider when deciding on a product."," ",_(L,{link:"https://aware.com.au/member/about-us/awards/",children:"Learn about our awards"}),".",_("br",{}),"*SuperRatings Fund Crediting Rate Survey, March 2024. Based on SR50 Growth (77-90) Index. Past performance does not indicate future performance."]}),_("br",{}),_("p",{children:"Aware Super Pty Ltd (ABN 11 118 202 672, AFSL 293340), trustee of Aware Super (ABN 53 226 460 365)."})]})},op=""+new URL("assets/logo-brighter-cKB6xH2M.svg",import.meta.url).href,sp="https://www.brightersuper.com.au/-/media/public/files/pds-and-guides/accumulation-account-pds.pdf",ap="https://www.brightersuper.com.au/-/media/public/files/target-market-determination/tmd-brighter-super-accumulation-account.pdf",cp="https://www.brightersuper.com.au/news/double-digit-returns-in-2023-and-some-of-the-lowest-fees-in-australia",up="https://www.brightersuper.com.au/about-us/awards",lp="Brighter Super",_i={fundId:"brightersuper",name:lp,logo:op,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Double-digit returns for our MySuper option in 2023^"}),_("p",{children:"Top 3 industry fund for lowest MySuper fees in Australia^"}),A("p",{children:["Platinum rated by SuperRatings for 16 years in a row",_("sup",{css:{fontSize:"0.625rem"},children:"+"})]})],disclaimer:A("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:[A("p",{children:["^Past performance is not an indicator of future performance."," ",_(L,{link:cp,children:"Find out more about our MySuper fees and returns."}),_("sup",{css:{fontSize:"0.625rem"},children:"+"}),"Ratings are only one factor to consider."," ",_(L,{link:up,children:"View our ratings and awards."})]}),A("p",{children:["Consider the"," ",_(L,{link:sp,onClick:()=>fe(_i),children:"PDS"})," ","& ",_(L,{link:ap,children:"TMD"})," before deciding to join."]}),_("p",{children:"Issued by LGIAsuper Trustee (ABN 94 085 088 484, AFSL 230511) as trustee for LGIAsuper (ABN 23 053 121 584), t/a Brighter Super."})]})},dp=""+new URL("assets/logo-first-CusDmGWL.svg",import.meta.url).href,fp="First Super",Si={fundId:"first-super",name:fp,logo:dp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Industry SuperFund that offers five investment options and default insurance"}),_("p",{children:"Strong long-term investment returns and superior customer service - members first"}),_("p",{children:"Established super fund – anyone can join including KiwiSaver members"})],disclaimer:A("div",{children:[A("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"," ",_(L,{onClick:()=>fe(Si),link:"https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/",children:"website"}),". Past performance is not a reliable indicator of future performance."]}),_("br",{}),_("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."})]})},pp=""+new URL("assets/logo-hesta-NL7xF41R.svg",import.meta.url).href,hp="HESTA",Ci={fundId:"hesta-default",name:hp,logo:pp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"A top-performing super fund* working for real-world impact"}),_("p",{children:"1+ million members"}),_("p",{children:"Expert help whenever you need it to help you face the future with confidence"})],featureSubText:void 0,disclaimer:A("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:[A("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"," ",_(L,{link:"https://www.hesta.com.au/ratings",children:"hesta.com.au/ratings"})," ","for more information."]}),A("p",{children:["Consider whether this product is appropriate for you by reading the Product Disclosure Statement and Target Market Determination at"," ",_(L,{onClick:()=>fe(Ci),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."]}),_("p",{children:"Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"})]})},mp=""+new URL("assets/logo-legalsuper-xG2DgGHY.svg",import.meta.url).href,gp="legalsuper",Yt={fundId:"legalsuper",name:gp,logo:mp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Strong performance - our investment options are designed to deliver steady returns."}),_("p",{children:"Personalised support - so you can access advice, knowledge and assistance when you need it."}),_("p",{children:"Tailored insurance - various cover options that adapt to life’s milestones and career changes."})],disclaimer:A("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:[A("p",{children:["This information is of a general nature. Please refer to the legalsuper"," ",_(L,{link:"https://www.legalsuper.com.au/super-pds",onClick:()=>fe(Yt),children:"Product Disclosure Statement (PDS)"})," ","and"," ",_(L,{link:"https://www.legalsuper.com.au/super-tmd",onClick:()=>fe(Yt),children:"Target Market Determination (TMD)"})," ","available at"," ",_(L,{link:"https://www.legalsuper.com.au/",onClick:()=>fe(Yt),children:"www.legalsuper.com.au"})," ","before making any decision. Past performance is not a guide to future performance."]}),_("p",{children:"Legal Super Pty Ltd ABN 37 004 455 789 AFSL 246315 as the Trustee for legalsuper ABN 60 346 078 879."})]})},yp=""+new URL("assets/coverImage-BkXL9zfW.png",import.meta.url).href,wp=""+new URL("assets/logo-mercer-mychoice-BB6VztRp.svg",import.meta.url).href,bp="Mercer MyChoice",Xr={fundId:"mercermychoice",name:bp,logo:wp,coverImage:yp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Save more super with our low fees"}),_("p",{children:"Take control with 6 MyChoice investment options"}),_("p",{children:"Join 850,000 Australians who trust our global expertise"})],disclaimer:A("div",{children:[A("p",{children:["You should consider the"," ",_(L,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>fe(Xr),children:"Product Disclosure Statement"})," ","and"," ",_(L,{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."]}),_("br",{}),_("p",{children:"Issued by Mercer Superannuation (Australia) Limited (‘Mercer Super’) ABN: 79 004 717 533"})]}),extraBadge:_("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"}),footnoteTextOverride:"Powered by Flare FS",experiments:{"social-validation-business-mercermychoice":{splitType:"percentage",rotations:0,shouldRun:e=>{var i,o;const t=["35225A44-1235-4774-A292-69461DCF16E4","42EC210A-07EB-4252-82C5-F10FBE6884D6","5EF1A2B7-4AED-46BA-9455-E118664DFA16","A7E3600B-40B3-4B48-9BC1-D78C91CAA365"],r=$e.endpoints.campaignConnect.select()(e).data,n=(i=r==null?void 0:r.userProfile.accountId)!=null?i:"";return!!(t.includes(n)&&(r!=null&&r.promotedFunds.find(s=>s.fundId==="mercermychoice"))&&(!ze()||((o=r==null?void 0:r.promotedFunds)==null?void 0:o[0].fundId)==="mercermychoice"))},variants:[{variantName:"control",percentage:50},{variantName:"badge",percentage:50}]}}},vp=""+new URL("assets/logo-mine-7mxPtjsF.svg",import.meta.url).href,_p="Mine Super",ki={fundId:"mine",name:_p,logo:vp,iframeType:"PromotedFundJoinV2",features:[A("p",{children:[_("i",{children:"Money"})," magazine’s Best of the Best Awards for Best Value Superannuation Fund for Young People 2024."]}),_("p",{children:"Insurance cover^ that’s got your back if you’re unable to work due to sickness or injury."}),_("p",{children:"One of the lowest fixed admin fees ($0.75 per week)."})],featureSubText:["^Subject to meeting eligibility criteria."],disclaimer:_("div",{children:A("p",{children:["Mine Super products are issued by AUSCOAL Superannuation Pty Ltd ABN 70 003 566 989 AFS licence 246864 Trustee for the Mine Superannuation Fund ABN 16 457 520 308. Refer to the"," ",_(L,{link:"https://www.mine.com.au/super/about-my-super/super-pds",onClick:()=>fe(ki),children:"PDS"})," ","and ",_(L,{link:"https://www.mine.com.au/tmd",children:"TMDs"})," on our website at ",_(L,{link:"https://www.mine.com.au/",children:"mine.com.au"})," when considering if our financial products are right for you."]})})},Sp=""+new URL("assets/logo-reisuper-aM5iDbpN.svg",import.meta.url).href,Cp="REI Super",xi={fundId:"reisuper",name:Cp,logo:Sp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Built by and for the real estate industry"}),_("p",{children:"Consistent long-term performance with competitive fees*"}),_("p",{children:"All profits to members, not shareholders"})],disclaimer:A("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:[_("p",{children:"*Balanced Option net investment return of 9.45% for year ending 30 June 2023."}),A("p",{children:["You should consider the"," ",_(L,{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:()=>fe(xi),children:"Product Disclosure Statement"})," ","and"," ",_(L,{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"},kp=""+new URL("assets/logo-slate-CowODvPX.png",import.meta.url).href,xp="Slate Super",lr={fundId:uo,name:xp,logo:kp,iframeType:"SlateJoin",features:[_("p",{children:"A lifestage investment strategy that evolves with you"}),_("p",{children:"Advanced mobile app with retirement forecast and smart features"}),_("p",{children:"Member advocates at Slate to assist with your account"})],disclaimer:A("p",{children:["You should consider the"," ",_(L,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>fe(lr),children:"Product Disclosure Statement"})," ","and"," ",_(L,{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"},Ep=""+new URL("assets/logo-spirit-CAaRIHR7.svg",import.meta.url).href,Tp="Spirit Super",Ei={fundId:"spirit",name:Tp,logo:Ep,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Industry SuperFund - profit to members"}),A("p",{children:["Low fees",_("sup",{css:{fontSize:"0.625rem"},children:"1"})," and a history of strong returns",_("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),A("p",{children:["Best customer experience",_("sup",{css:{fontSize:"0.625rem"},children:"3"})]})],featureSubText:_("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:A("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:[_("li",{children:_("span",{children:"$67.60 + 0.15% of account balance pa in admin fees, capped at $517.60"})}),_("li",{children:_("span",{children:"Past performance isn't a reliable indicator of future performance"})}),_("li",{children:_("span",{children:_(L,{link:"https://www.spiritsuper.com.au/News/Best-in-customer-service-again",children:"CSBA Sense CX Benchmark ratings 2022/23/24"})})})]})}),disclaimer:A("p",{children:["Awards and ratings are only one factor to consider when investing in super. Spirit Super has a commercial agreement with Customer Service Benchmarking Australia Pty Ltd. Read the award information, PDS and TMD at"," ",_(L,{link:"https://www.spiritsuper.com.au",onClick:()=>fe(Ei),children:"spiritsuper.com.au"})," ","and consider your personal circumstances before deciding. Issuer is Motor Trades Association of Australia Superannuation Fund Pty Ltd (AFSL 238 718, ABN 14 008 650 628). Advice by Quadrant First Pty Ltd (AFSL 284 443, ABN 78 102 167 877)."]})},Ap=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,Rp="Unisuper",Pp="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",Ip="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Ti={fundId:"unisuper",name:Rp,logo:Ap,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Our fees are among the lowest in the industry.^"}),_("p",{children:"Our strong, long-term performance regularly exceeds industry averages.*"}),A("p",{children:["We’re consistently awarded as one of Australia’s best-performing funds.",_("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],disclaimer:A("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:[A("p",{children:["^Read more about our fees and how we compare"," ",_(L,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),A("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",_(L,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),A("p",{children:[_("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",_(L,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),A("p",{children:["Remember to consider the"," ",_(L,{link:Pp,onClick:()=>fe(Ti),children:"Product Disclosure Statement"})," ","and ",_(L,{link:Ip,children:"Target Market Determination"})," that is relevant to you."]}),_("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},Mp=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,Np=""+new URL("assets/unisuper-default-badge1-CC2-KRH2.svg",import.meta.url).href,Op=""+new URL("assets/unisuper-default-badge2-CqUa_Zky.svg",import.meta.url).href,Bp=""+new URL("assets/unisuper-default-badge3-B7j1-pyZ.svg",import.meta.url).href,Mr="Unisuper",Fp="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",Dp="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Ai={fundId:"unisuper-default-v2",name:Mr,logo:Mp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Low fees, better value – Our fees are among the lowest in the industry.^"}),_("p",{children:"Strong, long-term performance – We regularly exceed industry averages.*"}),A("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",_("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],customContent:A("div",{css:{marginTop:"1.5rem",display:"flex",gap:"0.75rem"},children:[_("div",{children:_("img",{alt:Mr,src:Np})}),_("div",{children:_("img",{alt:Mr,src:Op})}),_("div",{children:_("img",{alt:Mr,src:Bp})})]}),disclaimer:A("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:[A("p",{children:["^Read more about our fees and how we compare"," ",_(L,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),A("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",_(L,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),A("p",{children:[_("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",_(L,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),A("p",{children:["Remember to consider the"," ",_(L,{link:Fp,onClick:()=>fe(Ai),children:"Product Disclosure Statement"})," ","and ",_(L,{link:Dp,children:"Target Market Determination"})," that is relevant to you."]}),_("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},Lp=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,$p="Virgin Money Super",Ri={fundId:"virgin",name:$p,logo:Lp,iframeType:"PromotedFundJoinV2",features:[A("p",{children:["Returns above industry and retail super fund medians over the past 5 years",_("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),_("p",{children:"One of the lowest fees in the market"}),A("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",_("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:_("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:A("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:[_("li",{children:_("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),_("li",{children:_("span",{children:_(L,{css:{fontWeight:"400"},link:"https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents",children:"Eligibility and T&Cs apply"})})})]})}),disclaimer:A("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"," ",_(L,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>fe(Ri),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:_("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"}),footnoteTextOverride:"Powered by Flare FS",experiments:{"social-validation-business-virgin":{splitType:"percentage",rotations:0,shouldRun:e=>{var i,o;const t=["0E09CFC5-2DF2-432A-BBEC-25B84E65F21A","7B555D55-DDBB-44CE-8D6D-9553A419FE5A"],r=$e.endpoints.campaignConnect.select()(e).data,n=(i=r==null?void 0:r.userProfile.accountId)!=null?i:"";return!!(t.includes(n)&&(r!=null&&r.promotedFunds.find(s=>s.fundId==="virgin"))&&(!ze()||((o=r==null?void 0:r.promotedFunds)==null?void 0:o[0].fundId)==="virgin"))},variants:[{variantName:"control",percentage:50},{variantName:"badge",percentage:50}]},"social-validation-popular-virgin":{splitType:"percentage",rotations:0,shouldRun:e=>{var i,o;const t=["0E09CFC5-2DF2-432A-BBEC-25B84E65F21A","7B555D55-DDBB-44CE-8D6D-9553A419FE5A","35225A44-1235-4774-A292-69461DCF16E4","42EC210A-07EB-4252-82C5-F10FBE6884D6","5EF1A2B7-4AED-46BA-9455-E118664DFA16","A7E3600B-40B3-4B48-9BC1-D78C91CAA365"],r=$e.endpoints.campaignConnect.select()(e).data,n=(i=r==null?void 0:r.userProfile.accountId)!=null?i:"";return!!(!t.includes(n)&&(r!=null&&r.promotedFunds.find(s=>s.fundId==="virgin"))&&(!ze()||((o=r==null?void 0:r.promotedFunds)==null?void 0:o[0].fundId)==="virgin"))},variants:[{variantName:"control",percentage:20},{variantName:"badge",percentage:80}]}}},zp=5*1e3;let Ur=[];const Ee=(e,t)=>{Ur.push({log:e,params:I(I({},t),Rc())})},Up=()=>setInterval(()=>pe(void 0,null,function*(){Ur.length>0&&"data"in(yield lt.dispatch($e.endpoints.errorLogs.initiate({logs:Ur})))&&(Ur=[])}),zp),lo=e=>{switch(e.fundId){case vi.fundId:return $(I({},vi),{fundType:e.type});case _i.fundId:return $(I({},_i),{fundType:e.type});case Si.fundId:return $(I({},Si),{fundType:e.type});case Ci.fundId:return $(I({},Ci),{fundType:e.type});case Yt.fundId:return $(I({},Yt),{fundType:e.type});case Xr.fundId:return $(I({},Xr),{fundType:e.type});case ki.fundId:return $(I({},ki),{fundType:e.type});case xi.fundId:return $(I({},xi),{fundType:e.type});case lr.fundId:return $(I({},lr),{fundType:e.type});case Ei.fundId:return $(I({},Ei),{fundType:e.type});case Ti.fundId:return $(I({},Ti),{fundType:e.type});case Ai.fundId:return $(I({},Ai),{fundType:e.type});case Ri.fundId:return $(I({},Ri),{fundType:e.type})}return null},jp=e=>{const t=[];for(const n of e){const i=lo(n);i?t.push(i):Ee(`Fund ID "${n.fundId}" was not mapped from the Campaign Connect response.`,{fund:n})}if(t.length>0)return t.slice(0,3);const r=Xr;return Ee(`No fund IDs were mapped, returning "${r.fundId}"`,{funds:e}),[$(I({},r),{fundType:"promoted"})]},Hp=e=>e==="unisuper-db"?"UniSuper":(Ee('No defined-benefits fund IDs were mapped."',{fundId:e}),""),Ic=()=>{const{selectedFund:e}=je(r=>r.state);let t="Powered by Flare";if(e){const r=lo({fundId:e==null?void 0:e.fundId,type:"promoted"});r!=null&&r.footnoteTextOverride&&(t=r.footnoteTextOverride)}return A("div",{css:{marginLeft:"auto",marginRight:"auto",marginTop:"2rem",width:"100%",maxWidth:"960px",textAlign:"center",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))","@media (min-width: 640px)":{marginTop:"5rem"}},children:[_("span",{children:t}),A("p",{css:{display:"block",color:"transparent"},children:["v","0.1.893"]})]})},Je=({size:e=48})=>_("div",{css:{display:"inline-block","@keyframes spin":{to:{transform:"rotate(360deg)"}},animation:"spin 1s linear infinite"},children:A("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_("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"}),_("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)"}})]})}),gt=({fillWidth:e=!1,fillWidthOnMobile:t=!1,disabled:r=!1,onClick:n=void 0,children:i})=>{const[o,s]=we(0);return A("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:()=>pe(void 0,null,function*(){if(!(!n||o===1))try{s(1),yield n(),s(0)}catch(u){throw s(2),u}}),children:[o===1&&_(Je,{size:16}),_("div",{css:[o===1&&{display:"none"}],children:i})]})},qp=()=>A(Ie,{children:[_("div",{children:"Australian Super"}),_(gt,{onClick:kn,children:"Continue"})]}),Wp=()=>A(Ie,{children:[_("div",{children:"Aware Super"}),_(gt,{onClick:kn,children:"Continue"})]}),Vp=()=>A(Ie,{children:[_("div",{children:"Hesta"}),_(gt,{onClick:kn,children:"Continue"})]}),Qp=G.div({marginBottom:"3rem",borderRadius:"0.5rem",borderWidth:"1px"}),Kp=G.div({display:"flex",justifyContent:"flex-end",paddingRight:"0.5rem",paddingTop:"0.5rem"}),Jp=G.div({marginRight:"0.25rem",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))"}),Yp=G.div({paddingLeft:"3.5rem",paddingRight:"3.5rem",paddingBottom:"2rem"}),Gp=({pillContent:e,children:t})=>A(Qp,{children:[e&&_(Kp,{children:_(Jp,{children:e})}),_(Yp,{children:t})]});class qt extends Error{}qt.prototype.name="InvalidTokenError";function Xp(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,r)=>{let n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function Zp(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return Xp(t)}catch(r){return atob(t)}}function Mc(e,t){if(typeof e!="string")throw new qt("Invalid token specified: must be a string");t||(t={});const r=t.header===!0?0:1,n=e.split(".")[r];if(typeof n!="string")throw new qt(`Invalid token specified: missing part #${r+1}`);let i;try{i=Zp(n)}catch(o){throw new qt(`Invalid token specified: invalid base64 for part #${r+1} (${o.message})`)}try{return JSON.parse(i)}catch(o){throw new qt(`Invalid token specified: invalid json for part #${r+1} (${o.message})`)}}const eh=e=>Mc(e),th=()=>{const{superBackendUrl:e,accessToken:t}=je(i=>i.session),r=`${e}/activity-tracker/track`;return{createTrackedLink:(i,o)=>{if(!t)throw new Error("No access token found");const{sub:s,session_id:a}=eh(t);i=encodeURIComponent(i);let u=`${r}?url=${i}&id=${s}&sId=${a}`;if(o.eventType){const h=encodeURIComponent(o.eventType);u+=`&et=${h}`}return o.type&&(u+=`&type=${o.type}`),o.engagementId&&(u+=`&eId=${o.engagementId}`),u}}};function rh(e){const t=document.documentElement;for(const r in e.colors)t.style.setProperty(`--${r}`,e.colors[r])}var vr={},nh=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Nc={},ke={};let fo;const ih=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];ke.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};ke.getSymbolTotalCodewords=function(t){return ih[t]};ke.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};ke.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');fo=t};ke.isKanjiModeEnabled=function(){return typeof fo!="undefined"};ke.toSJIS=function(t){return fo(t)};var xn={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+r)}}e.isValid=function(n){return n&&typeof n.bit!="undefined"&&n.bit>=0&&n.bit<4},e.from=function(n,i){if(e.isValid(n))return n;try{return t(n)}catch(o){return i}}})(xn);function Oc(){this.buffer=[],this.length=0}Oc.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let r=0;r<t;r++)this.putBit((e>>>t-r-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var oh=Oc;function _r(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}_r.prototype.set=function(e,t,r,n){const i=e*this.size+t;this.data[i]=r,n&&(this.reservedBit[i]=!0)};_r.prototype.get=function(e,t){return this.data[e*this.size+t]};_r.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r};_r.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var sh=_r,Bc={};(function(e){const t=ke.getSymbolSize;e.getRowColCoords=function(n){if(n===1)return[];const i=Math.floor(n/7)+2,o=t(n),s=o===145?26:Math.ceil((o-13)/(2*i-2))*2,a=[o-7];for(let u=1;u<i-1;u++)a[u]=a[u-1]-s;return a.push(6),a.reverse()},e.getPositions=function(n){const i=[],o=e.getRowColCoords(n),s=o.length;for(let a=0;a<s;a++)for(let u=0;u<s;u++)a===0&&u===0||a===0&&u===s-1||a===s-1&&u===0||i.push([o[a],o[u]]);return i}})(Bc);var Fc={};const ah=ke.getSymbolSize,Is=7;Fc.getPositions=function(t){const r=ah(t);return[[0,0],[r-Is,0],[0,r-Is]]};var Dc={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(i){return i!=null&&i!==""&&!isNaN(i)&&i>=0&&i<=7},e.from=function(i){return e.isValid(i)?parseInt(i,10):void 0},e.getPenaltyN1=function(i){const o=i.size;let s=0,a=0,u=0,h=null,g=null;for(let m=0;m<o;m++){a=u=0,h=g=null;for(let d=0;d<o;d++){let c=i.get(m,d);c===h?a++:(a>=5&&(s+=t.N1+(a-5)),h=c,a=1),c=i.get(d,m),c===g?u++:(u>=5&&(s+=t.N1+(u-5)),g=c,u=1)}a>=5&&(s+=t.N1+(a-5)),u>=5&&(s+=t.N1+(u-5))}return s},e.getPenaltyN2=function(i){const o=i.size;let s=0;for(let a=0;a<o-1;a++)for(let u=0;u<o-1;u++){const h=i.get(a,u)+i.get(a,u+1)+i.get(a+1,u)+i.get(a+1,u+1);(h===4||h===0)&&s++}return s*t.N2},e.getPenaltyN3=function(i){const o=i.size;let s=0,a=0,u=0;for(let h=0;h<o;h++){a=u=0;for(let g=0;g<o;g++)a=a<<1&2047|i.get(h,g),g>=10&&(a===1488||a===93)&&s++,u=u<<1&2047|i.get(g,h),g>=10&&(u===1488||u===93)&&s++}return s*t.N3},e.getPenaltyN4=function(i){let o=0;const s=i.data.length;for(let u=0;u<s;u++)o+=i.data[u];return Math.abs(Math.ceil(o*100/s/5)-10)*t.N4};function r(n,i,o){switch(n){case e.Patterns.PATTERN000:return(i+o)%2===0;case e.Patterns.PATTERN001:return i%2===0;case e.Patterns.PATTERN010:return o%3===0;case e.Patterns.PATTERN011:return(i+o)%3===0;case e.Patterns.PATTERN100:return(Math.floor(i/2)+Math.floor(o/3))%2===0;case e.Patterns.PATTERN101:return i*o%2+i*o%3===0;case e.Patterns.PATTERN110:return(i*o%2+i*o%3)%2===0;case e.Patterns.PATTERN111:return(i*o%3+(i+o)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}e.applyMask=function(i,o){const s=o.size;for(let a=0;a<s;a++)for(let u=0;u<s;u++)o.isReserved(u,a)||o.xor(u,a,r(i,u,a))},e.getBestMask=function(i,o){const s=Object.keys(e.Patterns).length;let a=0,u=1/0;for(let h=0;h<s;h++){o(h),e.applyMask(h,i);const g=e.getPenaltyN1(i)+e.getPenaltyN2(i)+e.getPenaltyN3(i)+e.getPenaltyN4(i);e.applyMask(h,i),g<u&&(u=g,a=h)}return a}})(Dc);var En={};const Ze=xn,Nr=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Or=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];En.getBlocksCount=function(t,r){switch(r){case Ze.L:return Nr[(t-1)*4+0];case Ze.M:return Nr[(t-1)*4+1];case Ze.Q:return Nr[(t-1)*4+2];case Ze.H:return Nr[(t-1)*4+3];default:return}};En.getTotalCodewordsCount=function(t,r){switch(r){case Ze.L:return Or[(t-1)*4+0];case Ze.M:return Or[(t-1)*4+1];case Ze.Q:return Or[(t-1)*4+2];case Ze.H:return Or[(t-1)*4+3];default:return}};var Lc={},Tn={};const Gt=new Uint8Array(512),Zr=new Uint8Array(256);(function(){let t=1;for(let r=0;r<255;r++)Gt[r]=t,Zr[t]=r,t<<=1,t&256&&(t^=285);for(let r=255;r<512;r++)Gt[r]=Gt[r-255]})();Tn.log=function(t){if(t<1)throw new Error("log("+t+")");return Zr[t]};Tn.exp=function(t){return Gt[t]};Tn.mul=function(t,r){return t===0||r===0?0:Gt[Zr[t]+Zr[r]]};(function(e){const t=Tn;e.mul=function(n,i){const o=new Uint8Array(n.length+i.length-1);for(let s=0;s<n.length;s++)for(let a=0;a<i.length;a++)o[s+a]^=t.mul(n[s],i[a]);return o},e.mod=function(n,i){let o=new Uint8Array(n);for(;o.length-i.length>=0;){const s=o[0];for(let u=0;u<i.length;u++)o[u]^=t.mul(i[u],s);let a=0;for(;a<o.length&&o[a]===0;)a++;o=o.slice(a)}return o},e.generateECPolynomial=function(n){let i=new Uint8Array([1]);for(let o=0;o<n;o++)i=e.mul(i,new Uint8Array([1,t.exp(o)]));return i}})(Lc);const $c=Lc;function po(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}po.prototype.initialize=function(t){this.degree=t,this.genPoly=$c.generateECPolynomial(this.degree)};po.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const r=new Uint8Array(t.length+this.degree);r.set(t);const n=$c.mod(r,this.genPoly),i=this.degree-n.length;if(i>0){const o=new Uint8Array(this.degree);return o.set(n,i),o}return n};var ch=po,zc={},it={},ho={};ho.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var He={};const Uc="[0-9]+",uh="[A-Z $%*+\\-./:]+";let dr="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";dr=dr.replace(/u/g,"\\u");const lh="(?:(?![A-Z0-9 $%*+\\-./:]|"+dr+`)(?:.|[\r
17
+ ]))+`;He.KANJI=new RegExp(dr,"g");He.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");He.BYTE=new RegExp(lh,"g");He.NUMERIC=new RegExp(Uc,"g");He.ALPHANUMERIC=new RegExp(uh,"g");const dh=new RegExp("^"+dr+"$"),fh=new RegExp("^"+Uc+"$"),ph=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");He.testKanji=function(t){return dh.test(t)};He.testNumeric=function(t){return fh.test(t)};He.testAlphanumeric=function(t){return ph.test(t)};(function(e){const t=ho,r=He;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(o,s){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?o.ccBits[0]:s<27?o.ccBits[1]:o.ccBits[2]},e.getBestModeForData=function(o){return r.testNumeric(o)?e.NUMERIC:r.testAlphanumeric(o)?e.ALPHANUMERIC:r.testKanji(o)?e.KANJI:e.BYTE},e.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},e.isValid=function(o){return o&&o.bit&&o.ccBits};function n(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+i)}}e.from=function(o,s){if(e.isValid(o))return o;try{return n(o)}catch(a){return s}}})(it);(function(e){const t=ke,r=En,n=xn,i=it,o=ho,s=7973,a=t.getBCHDigit(s);function u(d,c,l){for(let f=1;f<=40;f++)if(c<=e.getCapacity(f,l,d))return f}function h(d,c){return i.getCharCountIndicator(d,c)+4}function g(d,c){let l=0;return d.forEach(function(f){const p=h(f.mode,c);l+=p+f.getBitsLength()}),l}function m(d,c){for(let l=1;l<=40;l++)if(g(d,l)<=e.getCapacity(l,c,i.MIXED))return l}e.from=function(c,l){return o.isValid(c)?parseInt(c,10):l},e.getCapacity=function(c,l,f){if(!o.isValid(c))throw new Error("Invalid QR Code version");typeof f=="undefined"&&(f=i.BYTE);const p=t.getSymbolTotalCodewords(c),w=r.getTotalCodewordsCount(c,l),b=(p-w)*8;if(f===i.MIXED)return b;const y=b-h(f,c);switch(f){case i.NUMERIC:return Math.floor(y/10*3);case i.ALPHANUMERIC:return Math.floor(y/11*2);case i.KANJI:return Math.floor(y/13);case i.BYTE:default:return Math.floor(y/8)}},e.getBestVersionForData=function(c,l){let f;const p=n.from(l,n.M);if(Array.isArray(c)){if(c.length>1)return m(c,p);if(c.length===0)return 1;f=c[0]}else f=c;return u(f.mode,f.getLength(),p)},e.getEncodedBits=function(c){if(!o.isValid(c)||c<7)throw new Error("Invalid QR Code version");let l=c<<12;for(;t.getBCHDigit(l)-a>=0;)l^=s<<t.getBCHDigit(l)-a;return c<<12|l}})(zc);var jc={};const Pi=ke,Hc=1335,hh=21522,Ms=Pi.getBCHDigit(Hc);jc.getEncodedBits=function(t,r){const n=t.bit<<3|r;let i=n<<10;for(;Pi.getBCHDigit(i)-Ms>=0;)i^=Hc<<Pi.getBCHDigit(i)-Ms;return(n<<10|i)^hh};var qc={};const mh=it;function Pt(e){this.mode=mh.NUMERIC,this.data=e.toString()}Pt.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};Pt.prototype.getLength=function(){return this.data.length};Pt.prototype.getBitsLength=function(){return Pt.getBitsLength(this.data.length)};Pt.prototype.write=function(t){let r,n,i;for(r=0;r+3<=this.data.length;r+=3)n=this.data.substr(r,3),i=parseInt(n,10),t.put(i,10);const o=this.data.length-r;o>0&&(n=this.data.substr(r),i=parseInt(n,10),t.put(i,o*3+1))};var gh=Pt;const yh=it,Qn=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function It(e){this.mode=yh.ALPHANUMERIC,this.data=e}It.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};It.prototype.getLength=function(){return this.data.length};It.prototype.getBitsLength=function(){return It.getBitsLength(this.data.length)};It.prototype.write=function(t){let r;for(r=0;r+2<=this.data.length;r+=2){let n=Qn.indexOf(this.data[r])*45;n+=Qn.indexOf(this.data[r+1]),t.put(n,11)}this.data.length%2&&t.put(Qn.indexOf(this.data[r]),6)};var wh=It,bh=function(t){for(var r=[],n=t.length,i=0;i<n;i++){var o=t.charCodeAt(i);if(o>=55296&&o<=56319&&n>i+1){var s=t.charCodeAt(i+1);s>=56320&&s<=57343&&(o=(o-55296)*1024+s-56320+65536,i+=1)}if(o<128){r.push(o);continue}if(o<2048){r.push(o>>6|192),r.push(o&63|128);continue}if(o<55296||o>=57344&&o<65536){r.push(o>>12|224),r.push(o>>6&63|128),r.push(o&63|128);continue}if(o>=65536&&o<=1114111){r.push(o>>18|240),r.push(o>>12&63|128),r.push(o>>6&63|128),r.push(o&63|128);continue}r.push(239,191,189)}return new Uint8Array(r).buffer};const vh=bh,_h=it;function Mt(e){this.mode=_h.BYTE,typeof e=="string"&&(e=vh(e)),this.data=new Uint8Array(e)}Mt.getBitsLength=function(t){return t*8};Mt.prototype.getLength=function(){return this.data.length};Mt.prototype.getBitsLength=function(){return Mt.getBitsLength(this.data.length)};Mt.prototype.write=function(e){for(let t=0,r=this.data.length;t<r;t++)e.put(this.data[t],8)};var Sh=Mt;const Ch=it,kh=ke;function Nt(e){this.mode=Ch.KANJI,this.data=e}Nt.getBitsLength=function(t){return t*13};Nt.prototype.getLength=function(){return this.data.length};Nt.prototype.getBitsLength=function(){return Nt.getBitsLength(this.data.length)};Nt.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let r=kh.toSJIS(this.data[t]);if(r>=33088&&r<=40956)r-=33088;else if(r>=57408&&r<=60351)r-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
18
+ Make sure your charset is UTF-8`);r=(r>>>8&255)*192+(r&255),e.put(r,13)}};var xh=Nt,Wc={exports:{}};(function(e){var t={single_source_shortest_paths:function(r,n,i){var o={},s={};s[n]=0;var a=t.PriorityQueue.make();a.push(n,0);for(var u,h,g,m,d,c,l,f,p;!a.empty();){u=a.pop(),h=u.value,m=u.cost,d=r[h]||{};for(g in d)d.hasOwnProperty(g)&&(c=d[g],l=m+c,f=s[g],p=typeof s[g]=="undefined",(p||f>l)&&(s[g]=l,a.push(g,l),o[g]=h))}if(typeof i!="undefined"&&typeof s[i]=="undefined"){var w=["Could not find a path from ",n," to ",i,"."].join("");throw new Error(w)}return o},extract_shortest_path_from_predecessor_list:function(r,n){for(var i=[],o=n;o;)i.push(o),r[o],o=r[o];return i.reverse(),i},find_path:function(r,n,i){var o=t.single_source_shortest_paths(r,n,i);return t.extract_shortest_path_from_predecessor_list(o,i)},PriorityQueue:{make:function(r){var n=t.PriorityQueue,i={},o;r=r||{};for(o in n)n.hasOwnProperty(o)&&(i[o]=n[o]);return i.queue=[],i.sorter=r.sorter||n.default_sorter,i},default_sorter:function(r,n){return r.cost-n.cost},push:function(r,n){var i={value:r,cost:n};this.queue.push(i),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(Wc);var Eh=Wc.exports;(function(e){const t=it,r=gh,n=wh,i=Sh,o=xh,s=He,a=ke,u=Eh;function h(w){return unescape(encodeURIComponent(w)).length}function g(w,b,y){const v=[];let S;for(;(S=w.exec(y))!==null;)v.push({data:S[0],index:S.index,mode:b,length:S[0].length});return v}function m(w){const b=g(s.NUMERIC,t.NUMERIC,w),y=g(s.ALPHANUMERIC,t.ALPHANUMERIC,w);let v,S;return a.isKanjiModeEnabled()?(v=g(s.BYTE,t.BYTE,w),S=g(s.KANJI,t.KANJI,w)):(v=g(s.BYTE_KANJI,t.BYTE,w),S=[]),b.concat(y,v,S).sort(function(C,x){return C.index-x.index}).map(function(C){return{data:C.data,mode:C.mode,length:C.length}})}function d(w,b){switch(b){case t.NUMERIC:return r.getBitsLength(w);case t.ALPHANUMERIC:return n.getBitsLength(w);case t.KANJI:return o.getBitsLength(w);case t.BYTE:return i.getBitsLength(w)}}function c(w){return w.reduce(function(b,y){const v=b.length-1>=0?b[b.length-1]:null;return v&&v.mode===y.mode?(b[b.length-1].data+=y.data,b):(b.push(y),b)},[])}function l(w){const b=[];for(let y=0;y<w.length;y++){const v=w[y];switch(v.mode){case t.NUMERIC:b.push([v,{data:v.data,mode:t.ALPHANUMERIC,length:v.length},{data:v.data,mode:t.BYTE,length:v.length}]);break;case t.ALPHANUMERIC:b.push([v,{data:v.data,mode:t.BYTE,length:v.length}]);break;case t.KANJI:b.push([v,{data:v.data,mode:t.BYTE,length:h(v.data)}]);break;case t.BYTE:b.push([{data:v.data,mode:t.BYTE,length:h(v.data)}])}}return b}function f(w,b){const y={},v={start:{}};let S=["start"];for(let k=0;k<w.length;k++){const C=w[k],x=[];for(let E=0;E<C.length;E++){const T=C[E],R=""+k+E;x.push(R),y[R]={node:T,lastCount:0},v[R]={};for(let N=0;N<S.length;N++){const P=S[N];y[P]&&y[P].node.mode===T.mode?(v[P][R]=d(y[P].lastCount+T.length,T.mode)-d(y[P].lastCount,T.mode),y[P].lastCount+=T.length):(y[P]&&(y[P].lastCount=T.length),v[P][R]=d(T.length,T.mode)+4+t.getCharCountIndicator(T.mode,b))}}S=x}for(let k=0;k<S.length;k++)v[S[k]].end=0;return{map:v,table:y}}function p(w,b){let y;const v=t.getBestModeForData(w);if(y=t.from(b,v),y!==t.BYTE&&y.bit<v.bit)throw new Error('"'+w+'" cannot be encoded with mode '+t.toString(y)+`.
19
+ Suggested mode is: `+t.toString(v));switch(y===t.KANJI&&!a.isKanjiModeEnabled()&&(y=t.BYTE),y){case t.NUMERIC:return new r(w);case t.ALPHANUMERIC:return new n(w);case t.KANJI:return new o(w);case t.BYTE:return new i(w)}}e.fromArray=function(b){return b.reduce(function(y,v){return typeof v=="string"?y.push(p(v,null)):v.data&&y.push(p(v.data,v.mode)),y},[])},e.fromString=function(b,y){const v=m(b,a.isKanjiModeEnabled()),S=l(v),k=f(S,y),C=u.find_path(k.map,"start","end"),x=[];for(let E=1;E<C.length-1;E++)x.push(k.table[C[E]].node);return e.fromArray(c(x))},e.rawSplit=function(b){return e.fromArray(m(b,a.isKanjiModeEnabled()))}})(qc);const An=ke,Kn=xn,Th=oh,Ah=sh,Rh=Bc,Ph=Fc,Ii=Dc,Mi=En,Ih=ch,en=zc,Mh=jc,Nh=it,Jn=qc;function Oh(e,t){const r=e.size,n=Ph.getPositions(t);for(let i=0;i<n.length;i++){const o=n[i][0],s=n[i][1];for(let a=-1;a<=7;a++)if(!(o+a<=-1||r<=o+a))for(let u=-1;u<=7;u++)s+u<=-1||r<=s+u||(a>=0&&a<=6&&(u===0||u===6)||u>=0&&u<=6&&(a===0||a===6)||a>=2&&a<=4&&u>=2&&u<=4?e.set(o+a,s+u,!0,!0):e.set(o+a,s+u,!1,!0))}}function Bh(e){const t=e.size;for(let r=8;r<t-8;r++){const n=r%2===0;e.set(r,6,n,!0),e.set(6,r,n,!0)}}function Fh(e,t){const r=Rh.getPositions(t);for(let n=0;n<r.length;n++){const i=r[n][0],o=r[n][1];for(let s=-2;s<=2;s++)for(let a=-2;a<=2;a++)s===-2||s===2||a===-2||a===2||s===0&&a===0?e.set(i+s,o+a,!0,!0):e.set(i+s,o+a,!1,!0)}}function Dh(e,t){const r=e.size,n=en.getEncodedBits(t);let i,o,s;for(let a=0;a<18;a++)i=Math.floor(a/3),o=a%3+r-8-3,s=(n>>a&1)===1,e.set(i,o,s,!0),e.set(o,i,s,!0)}function Yn(e,t,r){const n=e.size,i=Mh.getEncodedBits(t,r);let o,s;for(o=0;o<15;o++)s=(i>>o&1)===1,o<6?e.set(o,8,s,!0):o<8?e.set(o+1,8,s,!0):e.set(n-15+o,8,s,!0),o<8?e.set(8,n-o-1,s,!0):o<9?e.set(8,15-o-1+1,s,!0):e.set(8,15-o-1,s,!0);e.set(n-8,8,1,!0)}function Lh(e,t){const r=e.size;let n=-1,i=r-1,o=7,s=0;for(let a=r-1;a>0;a-=2)for(a===6&&a--;;){for(let u=0;u<2;u++)if(!e.isReserved(i,a-u)){let h=!1;s<t.length&&(h=(t[s]>>>o&1)===1),e.set(i,a-u,h),o--,o===-1&&(s++,o=7)}if(i+=n,i<0||r<=i){i-=n,n=-n;break}}}function $h(e,t,r){const n=new Th;r.forEach(function(u){n.put(u.mode.bit,4),n.put(u.getLength(),Nh.getCharCountIndicator(u.mode,e)),u.write(n)});const i=An.getSymbolTotalCodewords(e),o=Mi.getTotalCodewordsCount(e,t),s=(i-o)*8;for(n.getLengthInBits()+4<=s&&n.put(0,4);n.getLengthInBits()%8!==0;)n.putBit(0);const a=(s-n.getLengthInBits())/8;for(let u=0;u<a;u++)n.put(u%2?17:236,8);return zh(n,e,t)}function zh(e,t,r){const n=An.getSymbolTotalCodewords(t),i=Mi.getTotalCodewordsCount(t,r),o=n-i,s=Mi.getBlocksCount(t,r),a=n%s,u=s-a,h=Math.floor(n/s),g=Math.floor(o/s),m=g+1,d=h-g,c=new Ih(d);let l=0;const f=new Array(s),p=new Array(s);let w=0;const b=new Uint8Array(e.buffer);for(let C=0;C<s;C++){const x=C<u?g:m;f[C]=b.slice(l,l+x),p[C]=c.encode(f[C]),l+=x,w=Math.max(w,x)}const y=new Uint8Array(n);let v=0,S,k;for(S=0;S<w;S++)for(k=0;k<s;k++)S<f[k].length&&(y[v++]=f[k][S]);for(S=0;S<d;S++)for(k=0;k<s;k++)y[v++]=p[k][S];return y}function Uh(e,t,r,n){let i;if(Array.isArray(e))i=Jn.fromArray(e);else if(typeof e=="string"){let h=t;if(!h){const g=Jn.rawSplit(e);h=en.getBestVersionForData(g,r)}i=Jn.fromString(e,h||40)}else throw new Error("Invalid data");const o=en.getBestVersionForData(i,r);if(!o)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=o;else if(t<o)throw new Error(`
20
+ The chosen QR Code version cannot contain this amount of data.
21
+ Minimum version required to store current data is: `+o+`.
22
+ `);const s=$h(t,r,i),a=An.getSymbolSize(t),u=new Ah(a);return Oh(u,t),Bh(u),Fh(u,t),Yn(u,r,0),t>=7&&Dh(u,t),Lh(u,s),isNaN(n)&&(n=Ii.getBestMask(u,Yn.bind(null,u,r))),Ii.applyMask(n,u),Yn(u,r,n),{modules:u,version:t,errorCorrectionLevel:r,maskPattern:n,segments:i}}Nc.create=function(t,r){if(typeof t=="undefined"||t==="")throw new Error("No input text");let n=Kn.M,i,o;return typeof r!="undefined"&&(n=Kn.from(r.errorCorrectionLevel,Kn.M),i=en.from(r.version),o=Ii.from(r.maskPattern),r.toSJISFunc&&An.setToSJISFunction(r.toSJISFunc)),Uh(t,i,n,o)};var Vc={},mo={};(function(e){function t(r){if(typeof r=="number"&&(r=r.toString()),typeof r!="string")throw new Error("Color should be defined as hex string");let n=r.slice().replace("#","").split("");if(n.length<3||n.length===5||n.length>8)throw new Error("Invalid hex color: "+r);(n.length===3||n.length===4)&&(n=Array.prototype.concat.apply([],n.map(function(o){return[o,o]}))),n.length===6&&n.push("F","F");const i=parseInt(n.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:i&255,hex:"#"+n.slice(0,6).join("")}}e.getOptions=function(n){n||(n={}),n.color||(n.color={});const i=typeof n.margin=="undefined"||n.margin===null||n.margin<0?4:n.margin,o=n.width&&n.width>=21?n.width:void 0,s=n.scale||4;return{width:o,scale:o?4:s,margin:i,color:{dark:t(n.color.dark||"#000000ff"),light:t(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},e.getScale=function(n,i){return i.width&&i.width>=n+i.margin*2?i.width/(n+i.margin*2):i.scale},e.getImageWidth=function(n,i){const o=e.getScale(n,i);return Math.floor((n+i.margin*2)*o)},e.qrToImageData=function(n,i,o){const s=i.modules.size,a=i.modules.data,u=e.getScale(s,o),h=Math.floor((s+o.margin*2)*u),g=o.margin*u,m=[o.color.light,o.color.dark];for(let d=0;d<h;d++)for(let c=0;c<h;c++){let l=(d*h+c)*4,f=o.color.light;if(d>=g&&c>=g&&d<h-g&&c<h-g){const p=Math.floor((d-g)/u),w=Math.floor((c-g)/u);f=m[a[p*s+w]?1:0]}n[l++]=f.r,n[l++]=f.g,n[l++]=f.b,n[l]=f.a}}})(mo);(function(e){const t=mo;function r(i,o,s){i.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=s,o.width=s,o.style.height=s+"px",o.style.width=s+"px"}function n(){try{return document.createElement("canvas")}catch(i){throw new Error("You need to specify a canvas element")}}e.render=function(o,s,a){let u=a,h=s;typeof u=="undefined"&&(!s||!s.getContext)&&(u=s,s=void 0),s||(h=n()),u=t.getOptions(u);const g=t.getImageWidth(o.modules.size,u),m=h.getContext("2d"),d=m.createImageData(g,g);return t.qrToImageData(d.data,o,u),r(m,h,g),m.putImageData(d,0,0),h},e.renderToDataURL=function(o,s,a){let u=a;typeof u=="undefined"&&(!s||!s.getContext)&&(u=s,s=void 0),u||(u={});const h=e.render(o,s,u),g=u.type||"image/png",m=u.rendererOpts||{};return h.toDataURL(g,m.quality)}})(Vc);var Qc={};const jh=mo;function Ns(e,t){const r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function Gn(e,t,r){let n=e+t;return typeof r!="undefined"&&(n+=" "+r),n}function Hh(e,t,r){let n="",i=0,o=!1,s=0;for(let a=0;a<e.length;a++){const u=Math.floor(a%t),h=Math.floor(a/t);!u&&!o&&(o=!0),e[a]?(s++,a>0&&u>0&&e[a-1]||(n+=o?Gn("M",u+r,.5+h+r):Gn("m",i,0),i=0,o=!1),u+1<t&&e[a+1]||(n+=Gn("h",s),s=0)):i++}return n}Qc.render=function(t,r,n){const i=jh.getOptions(r),o=t.modules.size,s=t.modules.data,a=o+i.margin*2,u=i.color.light.a?"<path "+Ns(i.color.light,"fill")+' d="M0 0h'+a+"v"+a+'H0z"/>':"",h="<path "+Ns(i.color.dark,"stroke")+' d="'+Hh(s,o,i.margin)+'"/>',g='viewBox="0 0 '+a+" "+a+'"',d='<svg xmlns="http://www.w3.org/2000/svg" '+(i.width?'width="'+i.width+'" height="'+i.width+'" ':"")+g+' shape-rendering="crispEdges">'+u+h+`</svg>
23
+ `;return typeof n=="function"&&n(null,d),d};const qh=nh,Ni=Nc,Kc=Vc,Wh=Qc;function go(e,t,r,n,i){const o=[].slice.call(arguments,1),s=o.length,a=typeof o[s-1]=="function";if(!a&&!qh())throw new Error("Callback required as last argument");if(a){if(s<2)throw new Error("Too few arguments provided");s===2?(i=r,r=t,t=n=void 0):s===3&&(t.getContext&&typeof i=="undefined"?(i=n,n=void 0):(i=n,n=r,r=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(r=t,t=n=void 0):s===2&&!t.getContext&&(n=r,r=t,t=void 0),new Promise(function(u,h){try{const g=Ni.create(r,n);u(e(g,t,n))}catch(g){h(g)}})}try{const u=Ni.create(r,n);i(null,e(u,t,n))}catch(u){i(u)}}vr.create=Ni.create;vr.toCanvas=go.bind(null,Kc.render);vr.toDataURL=go.bind(null,Kc.renderToDataURL);vr.toString=go.bind(null,function(e,t,r){return Wh.render(e,r)});const Vh=""+new URL("assets/android-badge-CJfxIs_L.svg",import.meta.url).href,Qh=""+new URL("assets/apple-badge-9Sgpxn4d.svg",import.meta.url).href,Kh=G.div({display:"flex",width:"848px",alignItems:"center",justifyContent:"space-between"}),Jh=G.div({width:"400px"}),Yh=G.div({paddingTop:"1rem"}),Gh=G.div({marginBottom:"0.75rem",fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"800",color:"var(--theme-600)"}),Xh=G.div({fontSize:"1.875rem",lineHeight:"2.25rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))"}),Zh=G.div({marginTop:"2rem",display:"flex",alignItems:"center",justifyContent:"space-between",borderRadius:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",padding:"1.5rem"}),em=G.div({display:"flex",flexDirection:"column"}),tm=G.div({marginBottom:"1rem",fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))"}),rm=G.img({height:"100px",width:"100px"}),nm=G.div({display:"flex",justifyContent:"space-between"}),im=G.img({height:"34px",width:"100%"}),om=G.img({height:"34px",width:"100%"}),sm=G.img({marginRight:"1rem",height:"490px",width:"100%"}),am=G.div({width:"320px"}),cm=({fundName:e,engagementId:t,theme:r,iOsDownloadUrl:n,androidDownloadUrl:i,qrCodeUrl:o,appMockupsImage:s})=>{const[a,u]=we(""),[h,g]=we(""),[m,d]=we(""),{createTrackedLink:c}=th();return te(()=>{const l="ByofEngagementApp Downloaded",f=c(o,{eventType:l,type:"QR",engagementId:t});g(c(n,{eventType:l,type:"iOSDownloadBadge",engagementId:t})),d(c(i,{eventType:l,type:"AndroidDownloadBadge",engagementId:t}));const p={color:{dark:r.colors["theme-600"]}};pe(void 0,null,function*(){const b=yield vr.toDataURL(f,p);u(b)})},[]),rh(r),!a||!h||!m?_(Je,{}):A(Ie,{children:[_(Gp,{pillContent:"Partner advertisement",children:A(Kh,{children:[A(Jh,{children:[A(Gh,{children:["Thanks for staying with ",e]}),A(Xh,{children:["Get the ",e," app to access your account and track your super 24/7!"]}),A(Zh,{children:[_(rm,{alt:`${e} app download`,src:a}),A(em,{children:[_(tm,{children:"Scan to download the app"}),A(nm,{children:[_("a",{href:h,children:_(im,{alt:"Apple badge",src:Qh})}),_("a",{href:m,children:_(om,{alt:"Android badge",src:Vh})})]})]})]})]}),_(Yh,{children:_(sm,{alt:`${e} app`,src:s})})]})}),_(am,{children:_(gt,{onClick:kn,fillWidth:!0,children:"Continue"})})]})},um=""+new URL("assets/app-mockups-Cr1XEjQA.png",import.meta.url).href,lm={colors:{"theme-50":"#EBFFFB","theme-100":"#D1F5EF","theme-200":"#9DDED3","theme-300":"#76CDBC","theme-400":"#57B3A3","theme-500":"#339E8B","theme-600":"#1C8270","theme-700":"#0E6858","theme-800":"#044D40","theme-900":"#00332A"}},dm=()=>_(cm,{fundName:"Spirit Super",engagementId:"spirit",theme:lm,iOsDownloadUrl:"https://apps.apple.com/au/app/spirit-super/id1409544432",androidDownloadUrl:"https://play.google.com/store/apps/details?id=com.mtaa.membercentre.app&hl=en",qrCodeUrl:"https://www.google.com/search?q=TODO",appMockupsImage:um}),Os={australian:_(qp,{}),spirit:_(dm,{}),hesta:_(Vp,{}),"aware-super":_(Wp,{})},fm=()=>{const{fundUsi:e}=je(s=>s.session),{data:t,isLoading:r,isError:n,error:i}=Bf(e||"");if(r)return _(Je,{});if(!t||n)return Ee("Error when calling campaign connect to compute BYOF engagements",{fundUsi:e,data:t,error:i}),Wf(),_(Je,{});const o=t.engagementIds[0];return o in Os?Os[o]:(qf(),_(Je,{}))},pm=G.div({display:"flex",flexDirection:"column",alignItems:"center"}),hm=()=>A(pm,{children:[_(fm,{}),_(Ic,{})]}),mm=()=>_(hm,{}),gm=e=>window.playwrightRunning?"00000000-0000-0000-0000-000000000000":Mc(e).sub,ym=(e,t)=>{let r=0;for(const n of t)if(r+=n.percentage,e<r)return n.variantName;return t[0].variantName},wm=(e,t)=>{if(e.length===0||t===0)return e;const r=e.length;return t=(t%r+r)%r,e.slice(-t)+e.slice(0,-t)},bm=(e,t)=>{if(t.splitType==="percentage"){const r=wm(e.replace(/[^A-F0-9]/gi,""),t.rotations),n=parseInt(r,16),i=t.variants.reduce((a,u)=>a+u.percentage,0),o=n%i;return ym(o,t.variants)}return t.variants[0].variantName},Jc=e=>{if(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const r=t,n=e[r];if(!n.shouldRun||n.shouldRun(lt.getState())){const i=gm(lt.getState().session.accessToken||""),o=bm(i,n);o&&(lt.dispatch(Uf({experimentName:r,selectedVariant:o})),lt.dispatch(Jt.endpoints.segmentTrack.initiate({event:"$experiment_started",properties:{"Experiment name":r,"Variant name":o}})))}}}},vm=()=>{const[e]=Of(),[t,r]=we(!0),n=Cn(),[i]=Ff();if(te(()=>{pe(void 0,null,function*(){const a=yield i();"data"in a?(Gf(),Yf(),r(!1)):(Ee("App-loaded service call failed.",{error:a.error}),Xf(`App-loaded service call failed: ${JSON.stringify(a.error)}`))})},[]),t)return _(Je,{});const o=()=>pe(void 0,null,function*(){r(!0),Jf();const{data:s,isSuccess:a,status:u}=yield e();if(!a){Ee("Backend service call failed.",{status:u}),Zf(`Backend service call failed: ${u}`);return}const h=s==null?void 0:s.promotedFunds.filter(g=>g.type==="defined-benefits");if(s.hasDefinedBenefitsEligibility&&(h==null?void 0:h.length)>0){const g=Hp(h[0].fundId);n(Pc({fundId:h[0].fundId,fundType:"defined-benefits",iframeType:"PromotedFundJoinV2",fundName:g}));return}n(Hf(s.promotedFunds)),s.promotedFunds.forEach(g=>{const m=lo(g);m!=null&&m.experiments&&Jc(m.experiments)})});return A("div",{children:[_("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"}),_("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."}),_("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:A("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:[_("div",{css:{fontWeight:"700",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"By clicking “Continue” you acknowledge that:"}),A("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:[_("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;"}),_("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;"}),_("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;"}),_("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;"}),_("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."}),A("li",{children:["Your personal data that is provided to us will be subject to our"," ",_(L,{css:{"--tw-text-opacity":"1",color:"rgb(37 99 235 / var(--tw-text-opacity))",textDecorationLine:"none",":hover":{"--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"}},link:"https://www.flarehr.com/privacy-policy",children:"Privacy Policy"}),"."]})]}),_(gt,{fillWidth:!0,onClick:()=>o(),children:"Continue"})]})})]})},_m=(e,t)=>{window.parent.postMessage(e,t===void 0?"*":t)},Sm=e=>{_m({type:"pageNavigated",url:e,sender:"flare"})},Cm=()=>{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-"}},km=`https://${Cm()}api.simplefinancialchoices.com/promoted-funds/embed`,Br=e=>e.replace(/ /g,""),st=e=>!(typeof e=="string"&&e.trim().length>0),xm=()=>{var a,u,h,g,m,d;const e=je(c=>c.state.selectedFund),t=je(c=>c.session.accessToken),r=Cn(),n=$e.endpoints.campaignConnect.useQueryState().data;if(!e||!t||!n)return Ee("PfjIFrame was in an inconsistent state and the user was redirected to the three panel.",{fund:e,data:n?"Not null":"Null",authToken:t?"Not null":"Null"}),r(We()),_(Je,{});const i={authToken:t,employerDefault:e.fundType==="promoted-default",fundId:e.fundId,accountId:n.userProfile.accountId,partnerId:n.userProfile.partnerId,title:(a=n.userProfile.title)!=null?a:"",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:(u=n.userProfile.dateOfBirth)!=null?u:"",mobilePhone:(h=n.userProfile.mobilePhone)!=null?h:"",email:n.userProfile.email,gender:(g=n.userProfile.gender)!=null?g:"",taxFileNumber:(m=n.userProfile.tfn)!=null?m:"",addressLine1:n.userProfile.address.addressLine1,addressLine2:(d=n.userProfile.address.addressLine2)!=null?d:"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},o=rn();te(()=>{var l;const c=(l=o.current)==null?void 0:l.contentDocument;if(c){c.open();const f=c.createElement("form");f.method="POST",f.target="_self",f.action=km;let p;for(p in i){const w=i[p];if(w!==void 0){const b=document.createElement("input");b.name=p,b.type="hidden",typeof w=="boolean"?b.value=w?"true":"false":b.value=w,f.append(b)}}c.appendChild(f),c.close(),f.submit()}},[o]);const s=c=>pe(void 0,null,function*(){const{data:l}=c;if(l.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",s),l.type){case"cancel":r(We());break;case"success-promoted":{if(st(l.memberNumber)||st(l.usi)){Ee("Bad response from PFJ",{type:l.type,memberNumber:l.memberNumber,usi:l.usi}),r(We());break}Ht({fundType:"Promoted",fundId:e.fundId,usi:Br(l.usi),memberNumber:l.memberNumber,memberFirstName:l.memberFirstName,memberFamilyName:l.memberFamilyName,fundName:e.fundName});break}case"success-promoted-default":{if(st(l.usi)){Ee("Bad response from PFJ",{type:l.type,usi:l.usi}),r(We());break}Ht({fundType:"PromotedDefault",fundId:l.fundId,usi:Br(l.usi),fundName:e.fundName});break}case"success-promoted-default-with-join":{if(st(l.memberNumber)||st(l.usi)){Ee("Bad response from PFJ",{type:l.type,memberNumber:l.memberNumber,usi:l.usi}),r(We());break}Ht({fundType:"PromotedDefaultWithJoin",fundId:e.fundId,usi:Br(l.usi),memberNumber:l.memberNumber,memberFirstName:l.memberFirstName,memberFamilyName:l.memberFamilyName,fundName:e.fundName});break}case"success-defined-benefits":{if(st(l.memberNumber)||st(l.usi)){Ee("Bad response from PFJ",{type:l.type,memberNumber:l.memberNumber,usi:l.usi}),r(We());break}Ht({fundType:"DefinedBenefits",fundId:l.fundId,usi:Br(l.usi),memberNumber:l.memberNumber,memberElectContributionRatePreTax:l.memberElectContributionRatePreTax,memberElectContributionRatePostTax:l.memberElectContributionRatePostTax,fundName:e.fundName});break}}r(We())}if(l.sender==="promoted-fund-join"){const f=o.current;if(!f)return;switch(l.type){case"contentResized":f.height=l.height>0?String(l.height):f.height,f.width=l.width>0?String(l.width):f.width;break;case"pageNavigated":window.scroll(f.offsetLeft,f.offsetTop),Sm(window.location.href);break}}});return window.addEventListener("message",s),_("div",{css:{width:"100vw"},children:_("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Em="interop-mode",Tm="react-native",Bs=()=>window.location.search.includes(`${Em}=${Tm}`),Yc=()=>{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-"}},Fs=`https://${Yc()}join.slatesuper.com.au/confirm`,Ds=`https://${Yc()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,Am=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},Rm=()=>{var a,u,h,g;const e=je(m=>m.session.accessToken),t=Cn(),r=$e.endpoints.campaignConnect.useQueryState().data;if(!r)return Ee("SlateIFrame was in an inconsistent state and the user was redirected to the three panel.",{data:r?"Not null":"Null"}),t(We()),_(Je,{});const i={authToken:!Fs.match(/autodev|sandbox/)?e:void 0,successRedirectUrl:Ds,cancelRedirectUrl:Ds,skipConsolidation:Bs()?"true":"false",skipInsurance:Bs()?"true":"false",firstName:r.userProfile.firstName,middleName:r.userProfile.middleName,lastName:r.userProfile.lastName,dateOfBirth:(a=r.userProfile.dateOfBirth)!=null?a:"",mobilePhone:(u=r.userProfile.mobilePhone)!=null?u:"",email:r.userProfile.email,gender:Am(r.userProfile.gender),taxFileNumber:(h=r.userProfile.tfn)!=null?h:"",addressLine1:r.userProfile.address.addressLine1,addressLine2:(g=r.userProfile.address.addressLine2)!=null?g:"",city:r.userProfile.address.city,state:r.userProfile.address.state,postCode:r.userProfile.address.postcode},o=rn();te(()=>{var d;const m=(d=o.current)==null?void 0:d.contentDocument;if(m){m.open();const c=m.createElement("form");c.method="POST",c.target="_self",c.action=Fs;let l;for(l in i){const f=i[l];if(f!==void 0){const p=document.createElement("input");p.type="hidden",p.name=l,p.value=f,c.append(p)}}m.appendChild(c),m.close(),c.submit()}},[o]);const s=m=>pe(void 0,null,function*(){const{data:d}=m;if(d.sender==="slate-redirect"){switch(window.removeEventListener("message",s),d.type){case"success":{Ht({fundType:"Promoted",fundId:lr.fundId,usi:co,memberNumber:d.memberNumber,fundName:lr.name});break}default:t(We());break}return}if(d.sender==="flare")switch(d.type){case"contentResized":{const c=o.current;if(!c)return;c.height=d.height>0?String(d.height):c.height,c.width=d.width>0?String(d.width):c.width;break}}});return window.addEventListener("message",s),_("div",{css:{width:"100vw"},children:_("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Pm=({type:e})=>_("div",{css:[{height:"2.25rem",borderTopLeftRadius:"0.375rem",borderTopRightRadius:"0.375rem",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.375rem",paddingBottom:"0.375rem",textAlign:"center"},e==="popular"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},e==="industry"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},e==="workspace"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(243 232 255 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(107 33 168 / var(--tw-text-opacity))"},e==="business"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(254 249 195 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(133 77 14 / var(--tw-text-opacity))"}],children:A("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500"},children:[e==="popular"&&"Popular",e==="industry"&&"Popular in your industry",e==="workspace"&&"Popular in your workplace",e==="business"&&"Popular in your business"]})}),Im=r=>{var n=r,{size:e}=n,t=ot(n,["size"]);return _("svg",$(I({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#22c55e",width:e?e*4:"100%"},t),{children:_("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"})}))},Ls={Check:Im},Sr=()=>{const{funds:e}=je(({state:t})=>t);return(e==null?void 0:e.length)===1&&e[0].fundId==="mercermychoice"},Mm=({name:e,logo:t,coverImage:r,extraBadge:n,isPromotedDefault:i,isMultiFund:o})=>{const s=Sr(),a=A(Ie,{children:[A("div",{css:{marginRight:"-0.5rem",marginTop:"-1.25rem",textAlign:"right"},children:[n,i&&_("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"}),_("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"})]}),A("div",{css:[{marginTop:"0.5rem",display:"flex","@media (min-width: 768px)":{marginTop:"0px"},"@media (min-width: 1024px)":{display:"block"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:[_("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"}},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:t}),_("div",{css:{display:"grid",alignContent:"center"},children:_("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"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:e})})]})]}),u=A(Ie,{children:[A("div",{css:{marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"4rem",alignItems:"center",justifyContent:"space-between"},children:[_("img",{css:[{width:"100px"}],alt:e,src:t}),A("div",{children:[n,i&&_("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"}),_("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"})]})]}),_("img",{css:[{width:"100%"},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:r})]});return _(Ie,{children:s&&ze()?u:a})},Nm=({features:e,featureSubText:t,customContent:r,name:n})=>{const i=Sr(),o=A(Ie,{children:[_("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:e.map(a=>A("div",{css:{display:"flex"},children:[_("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:_(Ls.Check,{alt:"checked"})}),_("div",{css:{lineHeight:"1.25rem"},children:a})]}))}),t&&_("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:t}),r]}),s=A(Ie,{children:[A("div",{css:{padding:"1.5rem",paddingBottom:"0px"},children:[_("div",{css:[{fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"700"}],children:n}),e.map(a=>A("div",{css:{marginTop:"0.5rem",display:"flex"},children:[_("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:_(Ls.Check,{alt:"checked"})}),_("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"400"},children:a})]}))]}),t&&_("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:t}),r]});return _(Ie,{children:i&&ze()?s:o})},Om=({name:e,logo:t,coverImage:r,features:n,featureSubText:i,isMultiFund:o,isPromotedDefault:s,extraBadge:a,customContent:u})=>{const h=Sr();return A("div",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem"},h&&ze()&&{padding:"0px"}],children:[_(Mm,{name:e,logo:t,coverImage:r,isMultiFund:o,extraBadge:a,isPromotedDefault:s}),_(Nm,{name:e,features:n,customContent:u,featureSubText:i})]})},Bm=()=>_("div",{css:{display:"flex",justifyContent:"center"},children:A("div",{css:{maxWidth:"800px",textAlign:"center"},children:[_("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"}),_(Ie,{children:_("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."})})]})}),$s=({fund:e,isMultiFund:t})=>{const r=Cn(),n=Sr();return A("div",{css:{display:"flex",height:"100%",flexDirection:"column",justifyContent:"space-between",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem",paddingBottom:"1.5rem"},children:[A("div",{children:[_("div",{css:[{"@media (min-width: 768px)":{maxWidth:"240px"}},t&&{"@media (min-width: 1024px)":{maxWidth:"100%"}},n&&ze()&&{"@media (min-width: 768px)":{maxWidth:"100%"}}],children:_(gt,{fillWidth:!0,onClick:()=>{Kf(e),r(Pc({fundId:e.fundId,fundType:e.fundType,iframeType:e.iframeType,fundName:e.name}))},children:"Choose this fund"})}),_("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&&A("div",{css:{marginTop:"0.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:[A("p",{children:["Issued by ",e.abnInfo,"."]}),A("p",{children:["ABN: ",e.abn]})]})]})},Fm="https://my.gov.au",Dm="www.my.gov.au",Lm="https://www.apra.gov.au/register-of-superannuation-institutions",$m="www.apra.gov.au",zm=(e,t)=>{if(t.selectedVariants["social-validation-popular-virgin"]==="badge"&&e==="virgin")return"popular";if(t.selectedVariants["social-validation-business-virgin"]==="badge"&&e==="virgin"||t.selectedVariants["social-validation-business-mercermychoice"]==="badge"&&e==="mercermychoice")return"business"},Um=()=>{const e=je(s=>s.state.funds),t=je(s=>s.experimentsData),r=Sr(),n=ae(()=>jp(e!=null?e:[]),[e]),i=Vf();te(()=>{Qf(n)},[]);const o=n.length>1;return A("div",{children:[_(Bm,{}),A("div",{css:{marginTop:"2rem",textAlign:"center",fontSize:"0.875rem",lineHeight:"1.5rem"},children:[_("p",{css:{lineHeight:"1.5rem"},children:"Not ready to join a new fund, or want to nominate another super fund?"}),_("div",{css:{marginLeft:"auto",marginRight:"auto",width:"fit-content",cursor:"pointer"},onClick:()=>i("skipCopy"),children:A("span",{css:{marginTop:"0.75rem",display:"inline-block",fontWeight:"500",color:"var(--fl-color-primary)"},children:["Choose another fund ",_("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:_("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3"})})]})})]}),_("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center"},children:_("div",{children:A("div",{css:[{"@media (min-width: 1024px)":{display:"grid"}},n.length===1&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(1, minmax(0, 1fr))"}},n.length===2&&{maxWidth:"720px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(2, minmax(0, 1fr))"}},n.length===3&&{maxWidth:"960px","@media (min-width: 1024px)":{gridTemplateColumns:"repeat(3, minmax(0, 1fr))"}}],children:[n.map((s,a)=>{const u=zm(s.fundId,t);return A("div",{children:[(!ze()||a===0)&&_("div",{css:[{visibility:"hidden"},u&&{visibility:"visible"}],children:_(Pm,{type:u})}),_("div",{css:[n.length===1&&{maxWidth:"720px"},n.length===2&&{maxWidth:"720px"},n.length===3&&{maxWidth:"960px"},{height:"100%",borderBottomWidth:"1px",borderLeftWidth:"1px",borderRightWidth:"1px",borderTopWidth:"1px","@media (min-width: 1024px)":{borderBottomWidth:"0px"}},a!==0&&{borderTopWidth:"0px","@media (min-width: 1024px)":{borderLeftWidth:"0px",borderTopWidth:"1px"}},a===0&&{borderTopLeftRadius:"0.5rem",borderTopRightRadius:"0.5rem"},a===0&&a!==n.length-1&&{"@media (min-width: 1024px)":{borderTopRightRadius:"0px"}},a===n.length-1&&{borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem","@media (min-width: 1024px)":{borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderTopRightRadius:"0.5rem"}},!o&&{"@media (min-width: 1024px)":{borderBottomRightRadius:"0.5rem",borderBottomLeftRadius:"0.5rem",borderBottomWidth:"1px"}},u&&{borderTopLeftRadius:"0px",borderTopRightRadius:"0px","@media (min-width: 1024px)":{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"}}],children:A("div",{css:[{display:"flex"}],children:[_("div",{css:[{display:"none",width:"9rem",justifyContent:"center",paddingLeft:"1.5rem",paddingTop:"1.5rem","@media (min-width: 768px)":{display:"flex"}},o&&{"@media (min-width: 1024px)":{display:"none"}},r&&ze()&&{"@media (min-width: 768px)":{display:"none"}}],children:_("img",{css:{height:"4rem",width:"100%",maxWidth:"96px",objectFit:"contain"},alt:s.name,src:s.logo})}),A("div",{css:[{width:"100%"},r&&ze()&&{minWidth:"286px",maxWidth:"480px"}],children:[_(Om,{logo:s.logo,name:s.name,coverImage:s.coverImage,features:s.features,featureSubText:s.featureSubText,isMultiFund:o,isPromotedDefault:s.fundType==="promoted-default",extraBadge:s.extraBadge,customContent:s.customContent}),_("div",{css:[o&&{"@media (min-width: 1024px)":{display:"none"}}],children:_($s,{fund:s,isMultiFund:o})})]})]})})]})}),n.map((s,a)=>_("div",{css:[{display:"none",borderBottomWidth:"1px",borderRightWidth:"1px"},o&&{"@media (min-width: 1024px)":{display:"block"}},a===0&&{borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem",borderLeftWidth:"1px"},a===0&&a!==n.length-1&&{"@media (min-width: 1024px)":{borderBottomRightRadius:"0px"}},a===n.length-1&&{borderBottomRightRadius:"0.5rem"}],children:_($s,{fund:s,isMultiFund:o})}))]})})}),_("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:A("div",{css:{maxWidth:"720px",borderBottomWidth:"1px",paddingBottom:"2rem","@media (min-width: 640px)":{paddingBottom:"3rem"}},children:[_("h5",{css:{fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"Or, choose another super fund:"}),A("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:[_("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."}),A("li",{children:["If you are unsure of your current super fund details, you can find out at"," ",_(L,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:Fm,children:Dm})]}),A("li",{children:["A full list of super funds can be viewed at"," ",_(L,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:Lm,children:$m})]})]}),_(gt,{fillWidthOnMobile:!0,onClick:()=>i("button"),children:"Choose another super fund"})]})}),_("div",{css:{display:"flex",justifyContent:"center"},children:A("div",{css:{maxWidth:"720px",paddingTop:"2rem","@media (min-width: 640px)":{paddingTop:"3rem"}},children:[_("h5",{css:{fontWeight:"600"},children:"IMPORTANT INFORMATION:"}),A("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:[_("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."}),_("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."}),_("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."}),_("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."}),_("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."})]})]})})]})},jm=G.div({display:"flex",flexDirection:"column",alignItems:"center"}),Hm=()=>{const{funds:e,selectedFund:t}=je(i=>i.state),[r]=Lf();return te(()=>{r()},[]),A(jm,{children:[_("div",{children:(()=>{if(t){if(t.iframeType==="PromotedFundJoinV2")return _(xm,{});if(t.iframeType==="SlateJoin")return _(Rm,{})}else if(e)return _(Um,{});return _(vm,{})})()}),_("div",{children:_(Ic,{})})]})},qm=()=>_(Hm,{}),Wm={},Vm=e=>{const t="api.simplefinancialchoices.com",r="https://",n=/https:\/\/(.*?)-partner/,i=e.match(n);if(!i)return`${r}${t}`;const o=i[1];return`${r}${o}-${t}`};function yo(){return(yo=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 Qm=["context","children"];function Km(e){this.getChildContext=function(){return e.context};var t=e.children,r=function(n,i){if(n==null)return{};var o,s,a={},u=Object.keys(n);for(s=0;s<u.length;s++)i.indexOf(o=u[s])>=0||(a[o]=n[o]);return a}(e,Qm);return Di(t,r)}function Jm(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=X(Km,yo({},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,u=r.childNodes;for(s=a.length;s--;)a[s].name!=="slot"&&(o[a[s].name]=a[s].value,o[Gc(a[s].name)]=a[s].value);for(s=u.length;s--;){var h=t(u[s],null),g=u[s].slot;g?o[g]=X(zs,{name:g},h):i[s]=h}var m=n?X(zs,null,i):i;return X(n||r.nodeName.toLowerCase(),o,m)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Fi:et)(this._vdom,this._root)}function Gc(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function Ym(e,t,r){if(this._vdom){var n={};n[e]=r=r==null?void 0:r,n[Gc(e)]=r,this._vdom=Di(this._vdom,n),et(this._vdom,this._root)}}function Gm(){et(this._vdom=null,this._root)}function zs(e,t){var r=this;return X("slot",yo({},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 Xm(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=Jm,i.prototype.attributeChangedCallback=Ym,i.prototype.disconnectedCallback=Gm,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)}const Zm=()=>_(Cl,{styles:kl`*, ::before, ::after {
17
24
  box-sizing: border-box;
18
25
  border-width: 0;
19
26
  border-style: solid;
@@ -263,4 +270,4 @@ img, video {
263
270
  --tw-backdrop-opacity: var(--tw-empty,/*!*/ /*!*/);
264
271
  --tw-backdrop-saturate: var(--tw-empty,/*!*/ /*!*/);
265
272
  --tw-backdrop-sepia: var(--tw-empty,/*!*/ /*!*/);
266
- }`}),Lp=(e,t)=>r=>{const{"access-token":n,"backend-url":i,"fund-usi":o}=r,[a,u]=Le(!1);ne(()=>{const p=jf();return()=>{clearInterval(p)}},[]),ne(()=>{ot.dispatch(jd({accessToken:n,backendUrl:i,fundUsi:o})),Gs(Pp),u(!0)},[n,i,o]);const m=Se(null),[g,y]=Le(void 0);return ne(()=>{var p;y((p=m.current)!=null?p:void 0)},[m]),w("div",{ref:m,children:w(wu,{value:Ya({key:t,container:g,prepend:!0}),children:A(Sd,{store:ot,children:[w(Dp,{}),w("div",{css:{fontFamily:"Inter, sans-serif"},children:a?e({}):w(Ge,{})})]})})})},Xs=(e,t,r)=>{$p(Lp(e,t),t,r,{shadow:!0})};Xs(Rp,"apollo-super-campaign");Xs(Yf,"apollo-super-byof-engagement",["fund-usi"]);
273
+ }`}),eg=(e,t)=>r=>{const{"access-token":n,"backend-url":i,"fund-usi":o}=r,s=Vm(i),[a,u]=we(!1);te(()=>{const d=Up();return()=>{clearInterval(d)}},[]),te(()=>{lt.dispatch(jf({accessToken:n,backendUrl:i,superBackendUrl:s,fundUsi:o})),Jc(Wm),u(!0)},[n,i,o]);const h=xe(null),[g,m]=we(void 0);return te(()=>{var d;m((d=h.current)!=null?d:void 0)},[h]),_("div",{ref:h,children:_(vl,{value:Oa({key:t,container:g,prepend:!0}),children:A(Cf,{store:lt,children:[_(Zm,{}),_("div",{css:{fontFamily:"Inter, sans-serif"},children:a?e({}):_(Je,{})})]})})})},Xc=(e,t,r)=>{Xm(eg(e,t),t,r,{shadow:!0})};Xc(qm,"apollo-super-campaign");Xc(mm,"apollo-super-byof-engagement",["fund-usi"]);