@flarehr/apollo-super-campaign 0.1.1180 → 0.1.1181

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 bu=Object.defineProperty,vu=Object.defineProperties;var _u=Object.getOwnPropertyDescriptors;var Er=Object.getOwnPropertySymbols;var No=Object.prototype.hasOwnProperty,Oo=Object.prototype.propertyIsEnumerable;var Bn=(e,t,r)=>t in e?bu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,I=(e,t)=>{for(var r in t||(t={}))No.call(t,r)&&Bn(e,r,t[r]);if(Er)for(var r of Er(t))Oo.call(t,r)&&Bn(e,r,t[r]);return e},$=(e,t)=>vu(e,_u(t));var at=(e,t)=>{var r={};for(var n in e)No.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Er)for(var n of Er(e))t.indexOf(n)<0&&Oo.call(e,n)&&(r[n]=e[n]);return r};var Nn=(e,t,r)=>(Bn(e,typeof t!="symbol"?t+"":t,r),r);var ge=(e,t,r)=>new Promise((n,i)=>{var o=u=>{try{s(r.next(u))}catch(p){i(p)}},a=u=>{try{s(r.throw(u))}catch(p){i(p)}},s=u=>u.done?n(u.value):Promise.resolve(u.value).then(o,a);s((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 ri(){return ri=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},ri.apply(this,arguments)}var pr,D,es,ut,Lo,ts,ni,rs,Zt={},ns=[],Su=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,on=Array.isArray;function Je(e,t){for(var r in t)e[r]=t[r];return e}function is(e){var t=e.parentNode;t&&t.removeChild(e)}function ee(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?pr.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 Vt(e,a,n,i,null)}function Vt(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?++es:i,__i:-1,__u:0};return i==null&&D.vnode!=null&&D.vnode(o),o}function an(){return{current:null}}function Ce(e){return e.children}function Me(e,t){this.props=e,this.context=t}function At(e,t){if(t==null)return e.__?At(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"?At(e):null}function os(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 os(e)}}function ii(e){(!e.__d&&(e.__d=!0)&&ut.push(e)&&!Hr.__r++||Lo!==D.debounceRendering)&&((Lo=D.debounceRendering)||ts)(Hr)}function Hr(){var e,t,r,n,i,o,a,s,u;for(ut.sort(ni);e=ut.shift();)e.__d&&(t=ut.length,n=void 0,o=(i=(r=e).__v).__e,s=[],u=[],(a=r.__P)&&((n=Je({},i)).__v=i.__v+1,D.vnode&&D.vnode(n),zi(a,n,i,r.__n,a.ownerSVGElement!==void 0,32&i.__u?[o]:null,s,o==null?At(i):o,!!(32&i.__u),u),n.__.__k[n.__i]=n,cs(s,n,u),n.__e!=o&&os(n)),ut.length>t&&ut.sort(ni));Hr.__r=0}function as(e,t,r,n,i,o,a,s,u,p,g){var m,d,c,f,l,h=n&&n.__k||ns,b=t.length;for(r.__d=u,Cu(r,t,h),u=r.__d,m=0;m<b;m++)(c=r.__k[m])!=null&&typeof c!="boolean"&&typeof c!="function"&&(d=c.__i===-1?Zt:h[c.__i]||Zt,c.__i=m,zi(e,c,d,i,o,a,s,u,p,g),f=c.__e,c.ref&&d.ref!=c.ref&&(d.ref&&ji(d.ref,null,c),g.push(c.ref,c.__c||f,c)),l==null&&f!=null&&(l=f),65536&c.__u||d.__k===c.__k?u=ss(c,u,e):typeof c.type=="function"&&c.__d!==void 0?u=c.__d:f&&(u=f.nextSibling),c.__d=void 0,c.__u&=-196609);r.__d=u,r.__e=l}function Cu(e,t,r){var n,i,o,a,s,u=t.length,p=r.length,g=p,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?Vt(null,i,null,null,i):on(i)?Vt(Ce,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?Vt(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)!=null?(i.__=e,i.__b=e.__b+1,s=ku(i,r,a=n+m,g),i.__i=s,o=null,s!==-1&&(g--,(o=r[s])&&(o.__u|=131072)),o==null||o.__v===null?(s==-1&&m--,typeof i.type!="function"&&(i.__u|=65536)):s!==a&&(s===a+1?m++:s>a?g>u-a?m+=s-a:m--:m=s<a&&s==a-1?s-a:0,s!==n+m&&(i.__u|=65536))):(o=r[n])&&o.key==null&&o.__e&&(o.__e==e.__d&&(e.__d=At(o)),oi(o,o,!1),r[n]=null,g--);if(g)for(n=0;n<p;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=At(o)),oi(o,o))}function ss(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=ss(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"||(on(e)?e.some(function(r){Ke(r,t)}):t.push(e)),t}function ku(e,t,r,n){var i=e.key,o=e.type,a=r-1,s=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(;a>=0||s<t.length;){if(a>=0){if((u=t[a])&&!(131072&u.__u)&&i==u.key&&o===u.type)return a;a--}if(s<t.length){if((u=t[s])&&!(131072&u.__u)&&i==u.key&&o===u.type)return s;s++}}return-1}function $o(e,t,r){t[0]==="-"?e.setProperty(t,r==null?"":r):e[t]=r==null?"":typeof r!="number"||Su.test(t)?r:r+"px"}function Tr(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||$o(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||$o(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?zo:Uo,o)):e.removeEventListener(t,o?zo:Uo,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 Uo(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(D.event?D.event(e):e)}function zo(e){return this.l[e.type+!0](D.event?D.event(e):e)}function zi(e,t,r,n,i,o,a,s,u,p){var g,m,d,c,f,l,h,b,_,y,v,S,k,C,x,A=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(u=!!(32&r.__u),o=[s=t.__e=r.__e]),(g=D.__b)&&g(t);e:if(typeof A=="function")try{if(b=t.props,_=(g=A.contextType)&&n[g.__c],y=g?_?_.props.value:g.__:n,r.__c?h=(m=t.__c=r.__c).__=m.__E:("prototype"in A&&A.prototype.render?t.__c=m=new A(b,y):(t.__c=m=new Me(b,y),m.constructor=A,m.render=Au),_&&_.sub(m),m.props=b,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),A.getDerivedStateFromProps!=null&&(m.__s==m.state&&(m.__s=Je({},m.__s)),Je(m.__s,A.getDerivedStateFromProps(b,m.__s))),c=m.props,f=m.state,m.__v=t,d)A.getDerivedStateFromProps==null&&m.componentWillMount!=null&&m.componentWillMount(),m.componentDidMount!=null&&m.__h.push(m.componentDidMount);else{if(A.getDerivedStateFromProps==null&&b!==c&&m.componentWillReceiveProps!=null&&m.componentWillReceiveProps(b,y),!m.__e&&(m.shouldComponentUpdate!=null&&m.shouldComponentUpdate(b,m.__s,y)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(m.props=b,m.state=m.__s,m.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(E){E&&(E.__=t)}),v=0;v<m._sb.length;v++)m.__h.push(m._sb[v]);m._sb=[],m.__h.length&&a.push(m);break e}m.componentWillUpdate!=null&&m.componentWillUpdate(b,m.__s,y),m.componentDidUpdate!=null&&m.__h.push(function(){m.componentDidUpdate(c,f,l)})}if(m.context=y,m.props=b,m.__P=e,m.__e=!1,S=D.__r,k=0,"prototype"in A&&A.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=Je(Je({},n),m.getChildContext())),d||m.getSnapshotBeforeUpdate==null||(l=m.getSnapshotBeforeUpdate(c,f)),as(e,on(x=g!=null&&g.type===Ce&&g.key==null?g.props.children:g)?x:[x],t,r,n,i,o,a,s,u,p),m.base=t.__e,t.__u&=-161,m.__h.length&&a.push(m),h&&(m.__E=m.__=null)}catch(E){t.__v=null,u||o!=null?(t.__e=s,t.__u|=u?160:32,o[o.indexOf(s)]=null):(t.__e=r.__e,t.__k=r.__k),D.__e(E,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=xu(r.__e,t,r,n,i,o,a,u,p);(g=D.diffed)&&g(t)}function cs(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)ji(r[n],r[++n],r[++n]);D.__c&&D.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){D.__e(o,i.__v)}})}function xu(e,t,r,n,i,o,a,s,u){var p,g,m,d,c,f,l,h=r.props,b=t.props,_=t.type;if(_==="svg"&&(i=!0),o!=null){for(p=0;p<o.length;p++)if((c=o[p])&&"setAttribute"in c==!!_&&(_?c.localName===_:c.nodeType===3)){e=c,o[p]=null;break}}if(e==null){if(_===null)return document.createTextNode(b);e=i?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,b.is&&b),o=null,s=!1}if(_===null)h===b||s&&e.data===b||(e.data=b);else{if(o=o&&pr.call(e.childNodes),h=r.props||Zt,!s&&o!=null)for(h={},p=0;p<e.attributes.length;p++)h[(c=e.attributes[p]).name]=c.value;for(p in h)c=h[p],p=="children"||(p=="dangerouslySetInnerHTML"?m=c:p==="key"||p in b||Tr(e,p,null,c,i));for(p in b)c=b[p],p=="children"?d=c:p=="dangerouslySetInnerHTML"?g=c:p=="value"?f=c:p=="checked"?l=c:p==="key"||s&&typeof c!="function"||h[p]===c||Tr(e,p,c,h[p],i);if(g)s||m&&(g.__html===m.__html||g.__html===e.innerHTML)||(e.innerHTML=g.__html),t.__k=[];else if(m&&(e.innerHTML=""),as(e,on(d)?d:[d],t,r,n,i&&_!=="foreignObject",o,a,o?o[0]:r.__k&&At(r,0),s,u),o!=null)for(p=o.length;p--;)o[p]!=null&&is(o[p]);s||(p="value",f!==void 0&&(f!==e[p]||_==="progress"&&!f||_==="option"&&f!==h[p])&&Tr(e,p,f,h[p],!1),p="checked",l!==void 0&&l!==e[p]&&Tr(e,p,l,h[p],!1))}return e}function ji(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){D.__e(n,r)}}function oi(e,t,r){var n,i;if(D.unmount&&D.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||ji(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){D.__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]&&oi(n[i],t,r||typeof e.type!="function");r||e.__e==null||is(e.__e),e.__=e.__e=e.__d=void 0}function Au(e,t,r){return this.constructor(e,r)}function tt(e,t,r){var n,i,o,a;D.__&&D.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],a=[],zi(t,e=(!n&&r||t).__k=ee(Ce,null,[e]),i||Zt,Zt,t.ownerSVGElement!==void 0,!n&&r?[r]:i?null:t.firstChild?pr.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,a),cs(o,e,a)}function Wi(e,t){tt(e,t,Wi)}function Hi(e,t,r){var n,i,o,a,s=Je({},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]:s[o]=t[o]===void 0&&a!==void 0?a[o]:t[o];return arguments.length>2&&(s.children=arguments.length>3?pr.call(arguments,2):r),Vt(e.type,s,n||e.key,i||e.ref,null)}function sn(e,t){var r={__c:t="__cC"+rs++,__: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(s){s.__e=!0,ii(s)})},this.sub=function(a){i.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){i.splice(i.indexOf(a),1),s&&s.call(a)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}pr=ns.slice,D={__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(s){e=s}throw e}},es=0,Me.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Je({},this.state),typeof e=="function"&&(e=e(Je({},r),this.props)),e&&Je(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),ii(this))},Me.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ii(this))},Me.prototype.render=Ce,ut=[],ts=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ni=function(e,t){return e.__v.__b-t.__v.__b},Hr.__r=0,rs=0;var Ye,J,On,jo,Et=0,us=[],Lr=[],Wo=D.__b,Ho=D.__r,qo=D.diffed,Vo=D.__c,Qo=D.unmount;function mt(e,t){D.__h&&D.__h(J,e,Et||t),Et=0;var r=J.__H||(J.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:Lr}),r.__[e]}function me(e){return Et=1,qi(fs,e)}function qi(e,t,r){var n=mt(Ye++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):fs(void 0,t),function(s){var u=n.__N?n.__N[0]:n.__[0],p=n.t(u,s);u!==p&&(n.__N=[p,n.__[1]],n.__c.setState({}))}],n.__c=J,!J.u)){var i=function(s,u,p){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,s,u,p);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===s)&&(!o||o.call(this,s,u,p))};J.u=!0;var o=J.shouldComponentUpdate,a=J.componentWillUpdate;J.componentWillUpdate=function(s,u,p){if(this.__e){var g=o;o=void 0,i(s,u,p),o=g}a&&a.call(this,s,u,p)},J.shouldComponentUpdate=i}return n.__N||n.__}function Z(e,t){var r=mt(Ye++,3);!D.__s&&Vi(r.__H,t)&&(r.__=e,r.i=t,J.__H.__h.push(r))}function gt(e,t){var r=mt(Ye++,4);!D.__s&&Vi(r.__H,t)&&(r.__=e,r.i=t,J.__h.push(r))}function Ee(e){return Et=5,de(function(){return{current:e}},[])}function ds(e,t,r){Et=6,gt(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 de(e,t){var r=mt(Ye++,7);return Vi(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function vt(e,t){return Et=8,de(function(){return e},t)}function Bt(e){var t=J.context[e.__c],r=mt(Ye++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(J)),t.props.value):e.__}function qr(e,t){D.useDebugValue&&D.useDebugValue(t?t(e):e)}function Eu(e){var t=mt(Ye++,10),r=me();return t.__=e,J.componentDidCatch||(J.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function ls(){var e=mt(Ye++,11);if(!e.__){for(var t=J.__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 Tu(){for(var e;e=us.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach($r),e.__H.__h.forEach(ai),e.__H.__h=[]}catch(t){e.__H.__h=[],D.__e(t,e.__v)}}D.__b=function(e){J=null,Wo&&Wo(e)},D.__r=function(e){Ho&&Ho(e),Ye=0;var t=(J=e.__c).__H;t&&(On===J?(t.__h=[],J.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=Lr,r.__N=r.i=void 0})):(t.__h.forEach($r),t.__h.forEach(ai),t.__h=[],Ye=0)),On=J},D.diffed=function(e){qo&&qo(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(us.push(t)!==1&&jo===D.requestAnimationFrame||((jo=D.requestAnimationFrame)||Ru)(Tu)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==Lr&&(r.__=r.__V),r.i=void 0,r.__V=Lr})),On=J=null},D.__c=function(e,t){t.some(function(r){try{r.__h.forEach($r),r.__h=r.__h.filter(function(n){return!n.__||ai(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],D.__e(n,r.__v)}}),Vo&&Vo(e,t)},D.unmount=function(e){Qo&&Qo(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{$r(n)}catch(i){t=i}}),r.__H=void 0,t&&D.__e(t,r.__v))};var Go=typeof requestAnimationFrame=="function";function Ru(e){var t,r=function(){clearTimeout(n),Go&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);Go&&(t=requestAnimationFrame(r))}function $r(e){var t=J,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),J=t}function ai(e){var t=J;e.__c=e.__(),J=t}function Vi(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function fs(e,t){return typeof t=="function"?t(e):t}function ps(e,t){for(var r in t)e[r]=t[r];return e}function si(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 Vr(e){this.props=e}function hs(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:si(this.props,i)}function n(i){return this.shouldComponentUpdate=r,ee(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(Vr.prototype=new Me).isPureReactComponent=!0,Vr.prototype.shouldComponentUpdate=function(e,t){return si(this.props,e)||si(this.state,t)};var Jo=D.__b;D.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Jo&&Jo(e)};var Pu=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Qi(e){function t(r){var n=ps({},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 Ko=function(e,t){return e==null?null:Ke(Ke(e).map(t))},ms={map:Ko,forEach:Ko,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},Iu=D.__e;D.__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)}Iu(e,t,r,n)};var Yo=D.unmount;function gs(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=ps({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return gs(n,t,r)})),e}function ys(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return ys(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 Qt(){this.__u=0,this.t=null,this.__b=null}function ws(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function bs(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 ee(r,o)}return i.displayName="Lazy",i.__f=!0,i}function _t(){this.u=null,this.o=null}D.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Yo&&Yo(e)},(Qt.prototype=new Me).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=ws(n.__v),o=!1,a=function(){o||(o=!0,r.__R=null,i?i(s):s())};r.__R=a;var s=function(){if(!--n.__u){if(n.state.__a){var u=n.state.__a;n.__v.__k[0]=ys(u,u.__c.__P,u.__c.__O)}var p;for(n.setState({__a:n.__b=null});p=n.t.pop();)p.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},Qt.prototype.componentWillUnmount=function(){this.t=[]},Qt.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]=gs(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&ee(Ce,null,e.fallback);return i&&(i.__u&=-33),[ee(Ce,null,t.__a?null:e.children),i]};var Xo=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 Fu(e){return this.getChildContext=function(){return e.context},e.children}function Mu(e){var t=this,r=e.i;t.componentWillUnmount=function(){tt(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)}}),tt(ee(Fu,{context:t.context},e.__v),t.l)}function vs(e,t){var r=ee(Mu,{__v:e,i:t});return r.containerInfo=t,r}(_t.prototype=new Me).__a=function(e){var t=this,r=ws(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),Xo(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){Xo(e,r,t)})};var _s=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Du=/^(?: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]/,Bu=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Nu=/[A-Z0-9]/g,Ou=typeof document!="undefined",Lu=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Ss(e,t,r){return t.__k==null&&(t.textContent=""),tt(e,t),typeof r=="function"&&r(),e?e.__c:null}function Cs(e,t,r){return Wi(e,t),typeof r=="function"&&r(),e?e.__c:null}Me.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Me.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Zo=D.event;function $u(){}function Uu(){return this.cancelBubble}function zu(){return this.defaultPrevented}D.event=function(e){return Zo&&(e=Zo(e)),e.persist=$u,e.isPropagationStopped=Uu,e.isDefaultPrevented=zu,e.nativeEvent=e};var Gi,ju={enumerable:!1,configurable:!0,get:function(){return this.class}},ea=D.vnode;D.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||Ou&&o==="children"&&n==="noscript"||o==="class"||o==="className")){var s=o.toLowerCase();o==="defaultValue"&&"value"in r&&r.value==null?o="value":o==="download"&&a===!0?a="":s==="ondoubleclick"?o="ondblclick":s!=="onchange"||n!=="input"&&n!=="textarea"||Lu(r.type)?s==="onfocus"?o="onfocusin":s==="onblur"?o="onfocusout":Bu.test(o)?o=s:n.indexOf("-")===-1&&Du.test(o)?o=o.replace(Nu,"-$&").toLowerCase():a===null&&(a=void 0):s=o="oninput",s==="oninput"&&i[o=s]&&(o="oninputCapture"),i[o]=a}}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",ju)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=_s,ea&&ea(e)};var ta=D.__r;D.__r=function(e){ta&&ta(e),Gi=e.__c};var ra=D.diffed;D.diffed=function(e){ra&&ra(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),Gi=null};var ks={ReactCurrentDispatcher:{current:{readContext:function(e){return Gi.__n[e.__c].props.value}}}},Wu="17.0.2";function xs(e){return ee.bind(null,e)}function hr(e){return!!e&&e.$$typeof===_s}function As(e){return hr(e)&&e.type===Ce}function Es(e){return hr(e)?Hi.apply(null,arguments):e}function Ts(e){return!!e.__k&&(tt(null,e),!0)}function Rs(e){return e&&(e.base||e.nodeType===1&&e)||null}var Ps=function(e,t){return e(t)},Is=function(e,t){return e(t)},Fs=Ce;function Ji(e){e()}function Ms(e){return e}function Ds(){return[!1,Ji]}var Bs=gt,Ns=hr;function Os(e,t){var r=t(),n=me({h:{__:r,v:t}}),i=n[0].h,o=n[1];return gt(function(){i.__=r,i.v=t,Ln(i)&&o({h:i})},[e,r,t]),Z(function(){return Ln(i)&&o({h:i}),e(function(){Ln(i)&&o({h:i})})},[e]),r}function Ln(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 Ls={useState:me,useId:ls,useReducer:qi,useEffect:Z,useLayoutEffect:gt,useInsertionEffect:Bs,useTransition:Ds,useDeferredValue:Ms,useSyncExternalStore:Os,startTransition:Ji,useRef:Ee,useImperativeHandle:ds,useMemo:de,useCallback:vt,useContext:Bt,useDebugValue:qr,version:"17.0.2",Children:ms,render:Ss,hydrate:Cs,unmountComponentAtNode:Ts,createPortal:vs,createElement:ee,createContext:sn,createFactory:xs,cloneElement:Es,createRef:an,Fragment:Ce,isValidElement:hr,isElement:Ns,isFragment:As,findDOMNode:Rs,Component:Me,PureComponent:Vr,memo:hs,forwardRef:Qi,flushSync:Is,unstable_batchedUpdates:Ps,StrictMode:Fs,Suspense:Qt,SuspenseList:_t,lazy:bs,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ks};const er=Object.freeze(Object.defineProperty({__proto__:null,Children:ms,Component:Me,Fragment:Ce,PureComponent:Vr,StrictMode:Fs,Suspense:Qt,SuspenseList:_t,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ks,cloneElement:Es,createContext:sn,createElement:ee,createFactory:xs,createPortal:vs,createRef:an,default:Ls,findDOMNode:Rs,flushSync:Is,forwardRef:Qi,hydrate:Cs,isElement:Ns,isFragment:As,isValidElement:hr,lazy:bs,memo:hs,render:Ss,startTransition:Ji,unmountComponentAtNode:Ts,unstable_batchedUpdates:Ps,useCallback:vt,useContext:Bt,useDebugValue:qr,useDeferredValue:Ms,useEffect:Z,useErrorBoundary:Eu,useId:ls,useImperativeHandle:ds,useInsertionEffect:Bs,useLayoutEffect:gt,useMemo:de,useReducer:qi,useRef:Ee,useState:me,useSyncExternalStore:Os,useTransition:Ds,version:Wu},Symbol.toStringTag,{value:"Module"}));function $s(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Hu=/^((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)-.*))$/,qu=$s(function(e){return Hu.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Vu(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 Qu(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 Gu=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(Qu(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Vu(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}(),he="-ms-",Qr="-moz-",H="-webkit-",Us="comm",Ki="rule",Yi="decl",Ju="@import",zs="@keyframes",Ku="@layer",Yu=Math.abs,cn=String.fromCharCode,Xu=Object.assign;function Zu(e,t){return le(e,0)^45?(((t<<2^le(e,0))<<2^le(e,1))<<2^le(e,2))<<2^le(e,3):0}function js(e){return e.trim()}function ed(e,t){return(e=t.exec(e))?e[0]:e}function q(e,t,r){return e.replace(t,r)}function ci(e,t){return e.indexOf(t)}function le(e,t){return e.charCodeAt(t)|0}function tr(e,t,r){return e.slice(t,r)}function Le(e){return e.length}function Xi(e){return e.length}function Rr(e,t){return t.push(e),e}function td(e,t){return e.map(t).join("")}var un=1,Tt=1,Ws=0,we=0,re=0,Nt="";function dn(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:un,column:Tt,length:a,return:""}}function Ut(e,t){return Xu(dn("",null,null,"",null,null,0),e,{length:-e.length},t)}function rd(){return re}function nd(){return re=we>0?le(Nt,--we):0,Tt--,re===10&&(Tt=1,un--),re}function Se(){return re=we<Ws?le(Nt,we++):0,Tt++,re===10&&(Tt=1,un++),re}function Ue(){return le(Nt,we)}function Ur(){return we}function mr(e,t){return tr(Nt,e,t)}function rr(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 Hs(e){return un=Tt=1,Ws=Le(Nt=e),we=0,[]}function qs(e){return Nt="",e}function zr(e){return js(mr(we-1,ui(e===91?e+2:e===40?e+1:e)))}function id(e){for(;(re=Ue())&&re<33;)Se();return rr(e)>2||rr(re)>3?"":" "}function od(e,t){for(;--t&&Se()&&!(re<48||re>102||re>57&&re<65||re>70&&re<97););return mr(e,Ur()+(t<6&&Ue()==32&&Se()==32))}function ui(e){for(;Se();)switch(re){case e:return we;case 34:case 39:e!==34&&e!==39&&ui(re);break;case 40:e===41&&ui(e);break;case 92:Se();break}return we}function ad(e,t){for(;Se()&&e+re!==57;)if(e+re===84&&Ue()===47)break;return"/*"+mr(t,we-1)+"*"+cn(e===47?e:Se())}function sd(e){for(;!rr(Ue());)Se();return mr(e,we)}function cd(e){return qs(jr("",null,null,null,[""],e=Hs(e),0,[0],e))}function jr(e,t,r,n,i,o,a,s,u){for(var p=0,g=0,m=a,d=0,c=0,f=0,l=1,h=1,b=1,_=0,y="",v=i,S=o,k=n,C=y;h;)switch(f=_,_=Se()){case 40:if(f!=108&&le(C,m-1)==58){ci(C+=q(zr(_),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:C+=zr(_);break;case 9:case 10:case 13:case 32:C+=id(f);break;case 92:C+=od(Ur()-1,7);continue;case 47:switch(Ue()){case 42:case 47:Rr(ud(ad(Se(),Ur()),t,r),u);break;default:C+="/"}break;case 123*l:s[p++]=Le(C)*b;case 125*l:case 59:case 0:switch(_){case 0:case 125:h=0;case 59+g:b==-1&&(C=q(C,/\f/g,"")),c>0&&Le(C)-m&&Rr(c>32?ia(C+";",n,r,m-1):ia(q(C," ","")+";",n,r,m-2),u);break;case 59:C+=";";default:if(Rr(k=na(C,t,r,p,g,i,s,y,v=[],S=[],m),o),_===123)if(g===0)jr(C,t,k,k,v,o,m,s,S);else switch(d===99&&le(C,3)===110?100:d){case 100:case 108:case 109:case 115:jr(e,k,k,n&&Rr(na(e,k,k,0,0,i,s,y,i,v=[],m),S),i,S,m,s,n?v:S);break;default:jr(C,k,k,k,[""],S,0,s,S)}}p=g=c=0,l=b=1,y=C="",m=a;break;case 58:m=1+Le(C),c=f;default:if(l<1){if(_==123)--l;else if(_==125&&l++==0&&nd()==125)continue}switch(C+=cn(_),_*l){case 38:b=g>0?1:(C+="\f",-1);break;case 44:s[p++]=(Le(C)-1)*b,b=1;break;case 64:Ue()===45&&(C+=zr(Se())),d=Ue(),g=m=Le(y=C+=sd(Ur())),_++;break;case 45:f===45&&Le(C)==2&&(l=0)}}return o}function na(e,t,r,n,i,o,a,s,u,p,g){for(var m=i-1,d=i===0?o:[""],c=Xi(d),f=0,l=0,h=0;f<n;++f)for(var b=0,_=tr(e,m+1,m=Yu(l=a[f])),y=e;b<c;++b)(y=js(l>0?d[b]+" "+_:q(_,/&\f/g,d[b])))&&(u[h++]=y);return dn(e,t,r,i===0?Ki:s,u,p,g)}function ud(e,t,r){return dn(e,t,r,Us,cn(rd()),tr(e,2,-2),0)}function ia(e,t,r,n){return dn(e,t,r,Yi,tr(e,0,n),tr(e,n+1,-1),n)}function Ct(e,t){for(var r="",n=Xi(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function dd(e,t,r,n){switch(e.type){case Ku:if(e.children.length)break;case Ju:case Yi:return e.return=e.return||e.value;case Us:return"";case zs:return e.return=e.value+"{"+Ct(e.children,n)+"}";case Ki:e.value=e.props.join(",")}return Le(r=Ct(e.children,n))?e.return=e.value+"{"+r+"}":""}function ld(e){var t=Xi(e);return function(r,n,i,o){for(var a="",s=0;s<t;s++)a+=e[s](r,n,i,o)||"";return a}}function fd(e){return function(t){t.root||(t=t.return)&&e(t)}}var pd=function(t,r,n){for(var i=0,o=0;i=o,o=Ue(),i===38&&o===12&&(r[n]=1),!rr(o);)Se();return mr(t,we)},hd=function(t,r){var n=-1,i=44;do switch(rr(i)){case 0:i===38&&Ue()===12&&(r[n]=1),t[n]+=pd(we-1,r,n);break;case 2:t[n]+=zr(i);break;case 4:if(i===44){t[++n]=Ue()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=cn(i)}while(i=Se());return t},md=function(t,r){return qs(hd(Hs(t),r))},oa=new WeakMap,gd=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&&!oa.get(n))&&!i){oa.set(t,!0);for(var o=[],a=md(r,o),s=n.props,u=0,p=0;u<a.length;u++)for(var g=0;g<s.length;g++,p++)t.props[p]=o[u]?a[u].replace(/&\f/g,s[g]):s[g]+" "+a[u]}}},yd=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Vs(e,t){switch(Zu(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+Qr+e+he+e+e;case 6828:case 4268:return H+e+he+e+e;case 6165:return H+e+he+"flex-"+e+e;case 5187:return H+e+q(e,/(\w+).+(:[^]+)/,H+"box-$1$2"+he+"flex-$1$2")+e;case 5443:return H+e+he+"flex-item-"+q(e,/flex-|-self/,"")+e;case 4675:return H+e+he+"flex-line-pack"+q(e,/align-content|flex-|-self/,"")+e;case 5548:return H+e+he+q(e,"shrink","negative")+e;case 5292:return H+e+he+q(e,"basis","preferred-size")+e;case 6060:return H+"box-"+q(e,"-grow","")+H+e+he+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"+he+"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(Le(e)-1-t>6)switch(le(e,t+1)){case 109:if(le(e,t+4)!==45)break;case 102:return q(e,/(.+:)(.+)-([^]+)/,"$1"+H+"$2-$3$1"+Qr+(le(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ci(e,"stretch")?Vs(q(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(le(e,t+1)!==115)break;case 6444:switch(le(e,Le(e)-3-(~ci(e,"!important")&&10))){case 107:return q(e,":",":"+H)+e;case 101:return q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+H+(le(e,14)===45?"inline-":"")+"box$3$1"+H+"$2$3$1"+he+"$2box$3")+e}break;case 5936:switch(le(e,t+11)){case 114:return H+e+he+q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return H+e+he+q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return H+e+he+q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return H+e+he+e+e}return e}var wd=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case Yi:t.return=Vs(t.value,t.length);break;case zs:return Ct([Ut(t,{value:q(t.value,"@","@"+H)})],i);case Ki:if(t.length)return td(t.props,function(o){switch(ed(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ct([Ut(t,{props:[q(o,/:(read-\w+)/,":"+Qr+"$1")]})],i);case"::placeholder":return Ct([Ut(t,{props:[q(o,/:(plac\w+)/,":"+H+"input-$1")]}),Ut(t,{props:[q(o,/:(plac\w+)/,":"+Qr+"$1")]}),Ut(t,{props:[q(o,/:(plac\w+)/,he+"input-$1")]})],i)}return""})}},bd=[wd],Qs=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(l){var h=l.getAttribute("data-emotion");h.indexOf(" ")!==-1&&(document.head.appendChild(l),l.setAttribute("data-s",""))})}var i=t.stylisPlugins||bd,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(l){for(var h=l.getAttribute("data-emotion").split(" "),b=1;b<h.length;b++)o[h[b]]=!0;s.push(l)});var u,p=[gd,yd];{var g,m=[dd,fd(function(l){g.insert(l)})],d=ld(p.concat(i,m)),c=function(h){return Ct(cd(h),d)};u=function(h,b,_,y){g=_,c(h?h+"{"+b.styles+"}":b.styles),y&&(f.inserted[b.name]=!0)}}var f={key:r,sheet:new Gu({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:u};return f.sheet.hydrate(s),f},vd=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function _d(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 Gs={exports:{}},G={};/** @license React v16.13.1
1
+ var uu=Object.defineProperty,lu=Object.defineProperties;var du=Object.getOwnPropertyDescriptors;var Sr=Object.getOwnPropertySymbols;var wo=Object.prototype.hasOwnProperty,bo=Object.prototype.propertyIsEnumerable;var Dn=(e,t,r)=>t in e?uu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,D=(e,t)=>{for(var r in t||(t={}))wo.call(t,r)&&Dn(e,r,t[r]);if(Sr)for(var r of Sr(t))bo.call(t,r)&&Dn(e,r,t[r]);return e},G=(e,t)=>lu(e,du(t));var ot=(e,t)=>{var r={};for(var n in e)wo.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Sr)for(var n of Sr(e))t.indexOf(n)<0&&bo.call(e,n)&&(r[n]=e[n]);return r};var Bn=(e,t,r)=>(Dn(e,typeof t!="symbol"?t+"":t,r),r);var he=(e,t,r)=>new Promise((n,i)=>{var o=u=>{try{a(r.next(u))}catch(m){i(m)}},s=u=>{try{a(r.throw(u))}catch(m){i(m)}},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 ei(){return ei=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},ei.apply(this,arguments)}var ur,F,Ns,ct,vo,Os,ti,Ls,Gt={},$s=[],fu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,tn=Array.isArray;function We(e,t){for(var r in t)e[r]=t[r];return e}function Us(e){var t=e.parentNode;t&&t.removeChild(e)}function Z(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?ur.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 qt(e,s,n,i,null)}function qt(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?++Ns:i,__i:-1,__u:0};return i==null&&F.vnode!=null&&F.vnode(o),o}function rn(){return{current:null}}function _e(e){return e.children}function Pe(e,t){this.props=e,this.context=t}function xt(e,t){if(t==null)return e.__?xt(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"?xt(e):null}function zs(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 zs(e)}}function ri(e){(!e.__d&&(e.__d=!0)&&ct.push(e)&&!zr.__r++||vo!==F.debounceRendering)&&((vo=F.debounceRendering)||Os)(zr)}function zr(){var e,t,r,n,i,o,s,a,u;for(ct.sort(ti);e=ct.shift();)e.__d&&(t=ct.length,n=void 0,o=(i=(r=e).__v).__e,a=[],u=[],(s=r.__P)&&((n=We({},i)).__v=i.__v+1,F.vnode&&F.vnode(n),Ai(s,n,i,r.__n,s.ownerSVGElement!==void 0,32&i.__u?[o]:null,a,o==null?xt(i):o,!!(32&i.__u),u),n.__.__k[n.__i]=n,qs(a,n,u),n.__e!=o&&zs(n)),ct.length>t&&ct.sort(ti));zr.__r=0}function js(e,t,r,n,i,o,s,a,u,m,y){var h,d,c,l,f,p=n&&n.__k||$s,w=t.length;for(r.__d=u,pu(r,t,p),u=r.__d,h=0;h<w;h++)(c=r.__k[h])!=null&&typeof c!="boolean"&&typeof c!="function"&&(d=c.__i===-1?Gt:p[c.__i]||Gt,c.__i=h,Ai(e,c,d,i,o,s,a,u,m,y),l=c.__e,c.ref&&d.ref!=c.ref&&(d.ref&&Ti(d.ref,null,c),y.push(c.ref,c.__c||l,c)),f==null&&l!=null&&(f=l),65536&c.__u||d.__k===c.__k?u=Hs(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 pu(e,t,r){var n,i,o,s,a,u=t.length,m=r.length,y=m,h=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?qt(null,i,null,null,i):tn(i)?qt(_e,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?qt(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)!=null?(i.__=e,i.__b=e.__b+1,a=hu(i,r,s=n+h,y),i.__i=a,o=null,a!==-1&&(y--,(o=r[a])&&(o.__u|=131072)),o==null||o.__v===null?(a==-1&&h--,typeof i.type!="function"&&(i.__u|=65536)):a!==s&&(a===s+1?h++:a>s?y>u-s?h+=a-s:h--:h=a<s&&a==s-1?a-s:0,a!==n+h&&(i.__u|=65536))):(o=r[n])&&o.key==null&&o.__e&&(o.__e==e.__d&&(e.__d=xt(o)),ni(o,o,!1),r[n]=null,y--);if(y)for(n=0;n<m;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=xt(o)),ni(o,o))}function Hs(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=Hs(n[i],t,r));return t}return e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function Ve(e,t){return t=t||[],e==null||typeof e=="boolean"||(tn(e)?e.some(function(r){Ve(r,t)}):t.push(e)),t}function hu(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 _o(e,t,r){t[0]==="-"?e.setProperty(t,r==null?"":r):e[t]=r==null?"":typeof r!="number"||fu.test(t)?r:r+"px"}function Cr(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||_o(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||_o(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?Co:So,o)):e.removeEventListener(t,o?Co:So,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 So(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(F.event?F.event(e):e)}function Co(e){return this.l[e.type+!0](F.event?F.event(e):e)}function Ai(e,t,r,n,i,o,s,a,u,m){var y,h,d,c,l,f,p,w,_,g,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]),(y=F.__b)&&y(t);e:if(typeof E=="function")try{if(w=t.props,_=(y=E.contextType)&&n[y.__c],g=y?_?_.props.value:y.__:n,r.__c?p=(h=t.__c=r.__c).__=h.__E:("prototype"in E&&E.prototype.render?t.__c=h=new E(w,g):(t.__c=h=new Pe(w,g),h.constructor=E,h.render=gu),_&&_.sub(h),h.props=w,h.state||(h.state={}),h.context=g,h.__n=n,d=h.__d=!0,h.__h=[],h._sb=[]),h.__s==null&&(h.__s=h.state),E.getDerivedStateFromProps!=null&&(h.__s==h.state&&(h.__s=We({},h.__s)),We(h.__s,E.getDerivedStateFromProps(w,h.__s))),c=h.props,l=h.state,h.__v=t,d)E.getDerivedStateFromProps==null&&h.componentWillMount!=null&&h.componentWillMount(),h.componentDidMount!=null&&h.__h.push(h.componentDidMount);else{if(E.getDerivedStateFromProps==null&&w!==c&&h.componentWillReceiveProps!=null&&h.componentWillReceiveProps(w,g),!h.__e&&(h.shouldComponentUpdate!=null&&h.shouldComponentUpdate(w,h.__s,g)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(h.props=w,h.state=h.__s,h.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(A){A&&(A.__=t)}),v=0;v<h._sb.length;v++)h.__h.push(h._sb[v]);h._sb=[],h.__h.length&&s.push(h);break e}h.componentWillUpdate!=null&&h.componentWillUpdate(w,h.__s,g),h.componentDidUpdate!=null&&h.__h.push(function(){h.componentDidUpdate(c,l,f)})}if(h.context=g,h.props=w,h.__P=e,h.__e=!1,S=F.__r,k=0,"prototype"in E&&E.prototype.render){for(h.state=h.__s,h.__d=!1,S&&S(t),y=h.render(h.props,h.state,h.context),C=0;C<h._sb.length;C++)h.__h.push(h._sb[C]);h._sb=[]}else do h.__d=!1,S&&S(t),y=h.render(h.props,h.state,h.context),h.state=h.__s;while(h.__d&&++k<25);h.state=h.__s,h.getChildContext!=null&&(n=We(We({},n),h.getChildContext())),d||h.getSnapshotBeforeUpdate==null||(f=h.getSnapshotBeforeUpdate(c,l)),js(e,tn(x=y!=null&&y.type===_e&&y.key==null?y.props.children:y)?x:[x],t,r,n,i,o,s,a,u,m),h.base=t.__e,t.__u&=-161,h.__h.length&&s.push(h),p&&(h.__E=h.__=null)}catch(A){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),F.__e(A,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=mu(r.__e,t,r,n,i,o,s,u,m);(y=F.diffed)&&y(t)}function qs(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)Ti(r[n],r[++n],r[++n]);F.__c&&F.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){F.__e(o,i.__v)}})}function mu(e,t,r,n,i,o,s,a,u){var m,y,h,d,c,l,f,p=r.props,w=t.props,_=t.type;if(_==="svg"&&(i=!0),o!=null){for(m=0;m<o.length;m++)if((c=o[m])&&"setAttribute"in c==!!_&&(_?c.localName===_:c.nodeType===3)){e=c,o[m]=null;break}}if(e==null){if(_===null)return document.createTextNode(w);e=i?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,w.is&&w),o=null,a=!1}if(_===null)p===w||a&&e.data===w||(e.data=w);else{if(o=o&&ur.call(e.childNodes),p=r.props||Gt,!a&&o!=null)for(p={},m=0;m<e.attributes.length;m++)p[(c=e.attributes[m]).name]=c.value;for(m in p)c=p[m],m=="children"||(m=="dangerouslySetInnerHTML"?h=c:m==="key"||m in w||Cr(e,m,null,c,i));for(m in w)c=w[m],m=="children"?d=c:m=="dangerouslySetInnerHTML"?y=c:m=="value"?l=c:m=="checked"?f=c:m==="key"||a&&typeof c!="function"||p[m]===c||Cr(e,m,c,p[m],i);if(y)a||h&&(y.__html===h.__html||y.__html===e.innerHTML)||(e.innerHTML=y.__html),t.__k=[];else if(h&&(e.innerHTML=""),js(e,tn(d)?d:[d],t,r,n,i&&_!=="foreignObject",o,s,o?o[0]:r.__k&&xt(r,0),a,u),o!=null)for(m=o.length;m--;)o[m]!=null&&Us(o[m]);a||(m="value",l!==void 0&&(l!==e[m]||_==="progress"&&!l||_==="option"&&l!==p[m])&&Cr(e,m,l,p[m],!1),m="checked",f!==void 0&&f!==e[m]&&Cr(e,m,f,p[m],!1))}return e}function Ti(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){F.__e(n,r)}}function ni(e,t,r){var n,i;if(F.unmount&&F.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||Ti(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){F.__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]&&ni(n[i],t,r||typeof e.type!="function");r||e.__e==null||Us(e.__e),e.__=e.__e=e.__d=void 0}function gu(e,t,r){return this.constructor(e,r)}function et(e,t,r){var n,i,o,s;F.__&&F.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],s=[],Ai(t,e=(!n&&r||t).__k=Z(_e,null,[e]),i||Gt,Gt,t.ownerSVGElement!==void 0,!n&&r?[r]:i?null:t.firstChild?ur.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,s),qs(o,e,s)}function Ri(e,t){et(e,t,Ri)}function Pi(e,t,r){var n,i,o,s,a=We({},e.props);for(o in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)o=="key"?n=t[o]:o=="ref"?i=t[o]:a[o]=t[o]===void 0&&s!==void 0?s[o]:t[o];return arguments.length>2&&(a.children=arguments.length>3?ur.call(arguments,2):r),qt(e.type,a,n||e.key,i||e.ref,null)}function nn(e,t){var r={__c:t="__cC"+Ls++,__: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,ri(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}ur=$s.slice,F={__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}},Ns=0,Pe.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),ri(this))},Pe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ri(this))},Pe.prototype.render=_e,ct=[],Os=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ti=function(e,t){return e.__v.__b-t.__v.__b},zr.__r=0,Ls=0;var Ke,J,Nn,ko,Et=0,Ws=[],Fr=[],xo=F.__b,Eo=F.__r,Ao=F.diffed,To=F.__c,Ro=F.unmount;function ht(e,t){F.__h&&F.__h(J,e,Et||t),Et=0;var r=J.__H||(J.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:Fr}),r.__[e]}function pe(e){return Et=1,Ii(Js,e)}function Ii(e,t,r){var n=ht(Ke++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):Js(void 0,t),function(a){var u=n.__N?n.__N[0]:n.__[0],m=n.t(u,a);u!==m&&(n.__N=[m,n.__[1]],n.__c.setState({}))}],n.__c=J,!J.u)){var i=function(a,u,m){if(!n.__c.__H)return!0;var y=n.__c.__H.__.filter(function(d){return d.__c});if(y.every(function(d){return!d.__N}))return!o||o.call(this,a,u,m);var h=!1;return y.forEach(function(d){if(d.__N){var c=d.__[0];d.__=d.__N,d.__N=void 0,c!==d.__[0]&&(h=!0)}}),!(!h&&n.__c.props===a)&&(!o||o.call(this,a,u,m))};J.u=!0;var o=J.shouldComponentUpdate,s=J.componentWillUpdate;J.componentWillUpdate=function(a,u,m){if(this.__e){var y=o;o=void 0,i(a,u,m),o=y}s&&s.call(this,a,u,m)},J.shouldComponentUpdate=i}return n.__N||n.__}function X(e,t){var r=ht(Ke++,3);!F.__s&&Mi(r.__H,t)&&(r.__=e,r.i=t,J.__H.__h.push(r))}function mt(e,t){var r=ht(Ke++,4);!F.__s&&Mi(r.__H,t)&&(r.__=e,r.i=t,J.__h.push(r))}function Ee(e){return Et=5,ce(function(){return{current:e}},[])}function Vs(e,t,r){Et=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 ce(e,t){var r=ht(Ke++,7);return Mi(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function bt(e,t){return Et=8,ce(function(){return e},t)}function Ft(e){var t=J.context[e.__c],r=ht(Ke++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(J)),t.props.value):e.__}function jr(e,t){F.useDebugValue&&F.useDebugValue(t?t(e):e)}function yu(e){var t=ht(Ke++,10),r=pe();return t.__=e,J.componentDidCatch||(J.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function Qs(){var e=ht(Ke++,11);if(!e.__){for(var t=J.__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 wu(){for(var e;e=Ws.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Dr),e.__H.__h.forEach(ii),e.__H.__h=[]}catch(t){e.__H.__h=[],F.__e(t,e.__v)}}F.__b=function(e){J=null,xo&&xo(e)},F.__r=function(e){Eo&&Eo(e),Ke=0;var t=(J=e.__c).__H;t&&(Nn===J?(t.__h=[],J.__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(ii),t.__h=[],Ke=0)),Nn=J},F.diffed=function(e){Ao&&Ao(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ws.push(t)!==1&&ko===F.requestAnimationFrame||((ko=F.requestAnimationFrame)||bu)(wu)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==Fr&&(r.__=r.__V),r.i=void 0,r.__V=Fr})),Nn=J=null},F.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Dr),r.__h=r.__h.filter(function(n){return!n.__||ii(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],F.__e(n,r.__v)}}),To&&To(e,t)},F.unmount=function(e){Ro&&Ro(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&&F.__e(t,r.__v))};var Po=typeof requestAnimationFrame=="function";function bu(e){var t,r=function(){clearTimeout(n),Po&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);Po&&(t=requestAnimationFrame(r))}function Dr(e){var t=J,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),J=t}function ii(e){var t=J;e.__c=e.__(),J=t}function Mi(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function Js(e,t){return typeof t=="function"?t(e):t}function Ks(e,t){for(var r in t)e[r]=t[r];return e}function oi(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 Hr(e){this.props=e}function Gs(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:oi(this.props,i)}function n(i){return this.shouldComponentUpdate=r,Z(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(Hr.prototype=new Pe).isPureReactComponent=!0,Hr.prototype.shouldComponentUpdate=function(e,t){return oi(this.props,e)||oi(this.state,t)};var Io=F.__b;F.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Io&&Io(e)};var vu=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Fi(e){function t(r){var n=Ks({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=vu,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Mo=function(e,t){return e==null?null:Ve(Ve(e).map(t))},Ys={map:Mo,forEach:Mo,count:function(e){return e?Ve(e).length:0},only:function(e){var t=Ve(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Ve},_u=F.__e;F.__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)}_u(e,t,r,n)};var Fo=F.unmount;function Xs(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=Ks({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Xs(n,t,r)})),e}function Zs(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Zs(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 Wt(){this.__u=0,this.t=null,this.__b=null}function ea(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ta(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 Z(r,o)}return i.displayName="Lazy",i.__f=!0,i}function vt(){this.u=null,this.o=null}F.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Fo&&Fo(e)},(Wt.prototype=new Pe).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=ea(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]=Zs(u,u.__c.__P,u.__c.__O)}var m;for(n.setState({__a:n.__b=null});m=n.t.pop();)m.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(s,s)},Wt.prototype.componentWillUnmount=function(){this.t=[]},Wt.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]=Xs(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&Z(_e,null,e.fallback);return i&&(i.__u&=-33),[Z(_e,null,t.__a?null:e.children),i]};var Do=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 Su(e){return this.getChildContext=function(){return e.context},e.children}function Cu(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(Z(Su,{context:t.context},e.__v),t.l)}function ra(e,t){var r=Z(Cu,{__v:e,i:t});return r.containerInfo=t,r}(vt.prototype=new Pe).__a=function(e){var t=this,r=ea(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),Do(t,e,n)):i()};r?r(o):o()}},vt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Ve(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},vt.prototype.componentDidUpdate=vt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){Do(e,r,t)})};var na=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,ku=/^(?: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]/,xu=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Eu=/[A-Z0-9]/g,Au=typeof document!="undefined",Tu=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function ia(e,t,r){return t.__k==null&&(t.textContent=""),et(e,t),typeof r=="function"&&r(),e?e.__c:null}function oa(e,t,r){return Ri(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 Bo=F.event;function Ru(){}function Pu(){return this.cancelBubble}function Iu(){return this.defaultPrevented}F.event=function(e){return Bo&&(e=Bo(e)),e.persist=Ru,e.isPropagationStopped=Pu,e.isDefaultPrevented=Iu,e.nativeEvent=e};var Di,Mu={enumerable:!1,configurable:!0,get:function(){return this.class}},No=F.vnode;F.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||Au&&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"||Tu(r.type)?a==="onfocus"?o="onfocusin":a==="onblur"?o="onfocusout":xu.test(o)?o=a:n.indexOf("-")===-1&&ku.test(o)?o=o.replace(Eu,"-$&").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=Ve(r.children).forEach(function(u){u.props.selected=i.value.indexOf(u.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=Ve(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",Mu)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=na,No&&No(e)};var Oo=F.__r;F.__r=function(e){Oo&&Oo(e),Di=e.__c};var Lo=F.diffed;F.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),Di=null};var sa={ReactCurrentDispatcher:{current:{readContext:function(e){return Di.__n[e.__c].props.value}}}},Fu="17.0.2";function aa(e){return Z.bind(null,e)}function lr(e){return!!e&&e.$$typeof===na}function ca(e){return lr(e)&&e.type===_e}function ua(e){return lr(e)?Pi.apply(null,arguments):e}function la(e){return!!e.__k&&(et(null,e),!0)}function da(e){return e&&(e.base||e.nodeType===1&&e)||null}var fa=function(e,t){return e(t)},pa=function(e,t){return e(t)},ha=_e;function Bi(e){e()}function ma(e){return e}function ga(){return[!1,Bi]}var ya=mt,wa=lr;function ba(e,t){var r=t(),n=pe({h:{__:r,v:t}}),i=n[0].h,o=n[1];return mt(function(){i.__=r,i.v=t,On(i)&&o({h:i})},[e,r,t]),X(function(){return On(i)&&o({h:i}),e(function(){On(i)&&o({h:i})})},[e]),r}function On(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 va={useState:pe,useId:Qs,useReducer:Ii,useEffect:X,useLayoutEffect:mt,useInsertionEffect:ya,useTransition:ga,useDeferredValue:ma,useSyncExternalStore:ba,startTransition:Bi,useRef:Ee,useImperativeHandle:Vs,useMemo:ce,useCallback:bt,useContext:Ft,useDebugValue:jr,version:"17.0.2",Children:Ys,render:ia,hydrate:oa,unmountComponentAtNode:la,createPortal:ra,createElement:Z,createContext:nn,createFactory:aa,cloneElement:ua,createRef:rn,Fragment:_e,isValidElement:lr,isElement:wa,isFragment:ca,findDOMNode:da,Component:Pe,PureComponent:Hr,memo:Gs,forwardRef:Fi,flushSync:pa,unstable_batchedUpdates:fa,StrictMode:ha,Suspense:Wt,SuspenseList:vt,lazy:ta,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:sa};const Yt=Object.freeze(Object.defineProperty({__proto__:null,Children:Ys,Component:Pe,Fragment:_e,PureComponent:Hr,StrictMode:ha,Suspense:Wt,SuspenseList:vt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:sa,cloneElement:ua,createContext:nn,createElement:Z,createFactory:aa,createPortal:ra,createRef:rn,default:va,findDOMNode:da,flushSync:pa,forwardRef:Fi,hydrate:oa,isElement:wa,isFragment:ca,isValidElement:lr,lazy:ta,memo:Gs,render:ia,startTransition:Bi,unmountComponentAtNode:la,unstable_batchedUpdates:fa,useCallback:bt,useContext:Ft,useDebugValue:jr,useDeferredValue:ma,useEffect:X,useErrorBoundary:yu,useId:Qs,useImperativeHandle:Vs,useInsertionEffect:ya,useLayoutEffect:mt,useMemo:ce,useReducer:Ii,useRef:Ee,useState:pe,useSyncExternalStore:ba,useTransition:ga,version:Fu},Symbol.toStringTag,{value:"Module"}));function _a(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Du=/^((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)-.*))$/,Bu=_a(function(e){return Du.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Nu(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 Ou(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 Lu=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(Ou(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Nu(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}(),fe="-ms-",qr="-moz-",H="-webkit-",Sa="comm",Ni="rule",Oi="decl",$u="@import",Ca="@keyframes",Uu="@layer",zu=Math.abs,on=String.fromCharCode,ju=Object.assign;function Hu(e,t){return ue(e,0)^45?(((t<<2^ue(e,0))<<2^ue(e,1))<<2^ue(e,2))<<2^ue(e,3):0}function ka(e){return e.trim()}function qu(e,t){return(e=t.exec(e))?e[0]:e}function q(e,t,r){return e.replace(t,r)}function si(e,t){return e.indexOf(t)}function ue(e,t){return e.charCodeAt(t)|0}function Xt(e,t,r){return e.slice(t,r)}function Be(e){return e.length}function Li(e){return e.length}function kr(e,t){return t.push(e),e}function Wu(e,t){return e.map(t).join("")}var sn=1,At=1,xa=0,ge=0,te=0,Dt="";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 Lt(e,t){return ju(an("",null,null,"",null,null,0),e,{length:-e.length},t)}function Vu(){return te}function Qu(){return te=ge>0?ue(Dt,--ge):0,At--,te===10&&(At=1,sn--),te}function ve(){return te=ge<xa?ue(Dt,ge++):0,At++,te===10&&(At=1,sn++),te}function Oe(){return ue(Dt,ge)}function Br(){return ge}function dr(e,t){return Xt(Dt,e,t)}function Zt(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 Ea(e){return sn=At=1,xa=Be(Dt=e),ge=0,[]}function Aa(e){return Dt="",e}function Nr(e){return ka(dr(ge-1,ai(e===91?e+2:e===40?e+1:e)))}function Ju(e){for(;(te=Oe())&&te<33;)ve();return Zt(e)>2||Zt(te)>3?"":" "}function Ku(e,t){for(;--t&&ve()&&!(te<48||te>102||te>57&&te<65||te>70&&te<97););return dr(e,Br()+(t<6&&Oe()==32&&ve()==32))}function ai(e){for(;ve();)switch(te){case e:return ge;case 34:case 39:e!==34&&e!==39&&ai(te);break;case 40:e===41&&ai(e);break;case 92:ve();break}return ge}function Gu(e,t){for(;ve()&&e+te!==57;)if(e+te===84&&Oe()===47)break;return"/*"+dr(t,ge-1)+"*"+on(e===47?e:ve())}function Yu(e){for(;!Zt(Oe());)ve();return dr(e,ge)}function Xu(e){return Aa(Or("",null,null,null,[""],e=Ea(e),0,[0],e))}function Or(e,t,r,n,i,o,s,a,u){for(var m=0,y=0,h=s,d=0,c=0,l=0,f=1,p=1,w=1,_=0,g="",v=i,S=o,k=n,C=g;p;)switch(l=_,_=ve()){case 40:if(l!=108&&ue(C,h-1)==58){si(C+=q(Nr(_),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:C+=Nr(_);break;case 9:case 10:case 13:case 32:C+=Ju(l);break;case 92:C+=Ku(Br()-1,7);continue;case 47:switch(Oe()){case 42:case 47:kr(Zu(Gu(ve(),Br()),t,r),u);break;default:C+="/"}break;case 123*f:a[m++]=Be(C)*w;case 125*f:case 59:case 0:switch(_){case 0:case 125:p=0;case 59+y:w==-1&&(C=q(C,/\f/g,"")),c>0&&Be(C)-h&&kr(c>32?Uo(C+";",n,r,h-1):Uo(q(C," ","")+";",n,r,h-2),u);break;case 59:C+=";";default:if(kr(k=$o(C,t,r,m,y,i,a,g,v=[],S=[],h),o),_===123)if(y===0)Or(C,t,k,k,v,o,h,a,S);else switch(d===99&&ue(C,3)===110?100:d){case 100:case 108:case 109:case 115:Or(e,k,k,n&&kr($o(e,k,k,0,0,i,a,g,i,v=[],h),S),i,S,h,a,n?v:S);break;default:Or(C,k,k,k,[""],S,0,a,S)}}m=y=c=0,f=w=1,g=C="",h=s;break;case 58:h=1+Be(C),c=l;default:if(f<1){if(_==123)--f;else if(_==125&&f++==0&&Qu()==125)continue}switch(C+=on(_),_*f){case 38:w=y>0?1:(C+="\f",-1);break;case 44:a[m++]=(Be(C)-1)*w,w=1;break;case 64:Oe()===45&&(C+=Nr(ve())),d=Oe(),y=h=Be(g=C+=Yu(Br())),_++;break;case 45:l===45&&Be(C)==2&&(f=0)}}return o}function $o(e,t,r,n,i,o,s,a,u,m,y){for(var h=i-1,d=i===0?o:[""],c=Li(d),l=0,f=0,p=0;l<n;++l)for(var w=0,_=Xt(e,h+1,h=zu(f=s[l])),g=e;w<c;++w)(g=ka(f>0?d[w]+" "+_:q(_,/&\f/g,d[w])))&&(u[p++]=g);return an(e,t,r,i===0?Ni:a,u,m,y)}function Zu(e,t,r){return an(e,t,r,Sa,on(Vu()),Xt(e,2,-2),0)}function Uo(e,t,r,n){return an(e,t,r,Oi,Xt(e,0,n),Xt(e,n+1,-1),n)}function St(e,t){for(var r="",n=Li(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function el(e,t,r,n){switch(e.type){case Uu:if(e.children.length)break;case $u:case Oi:return e.return=e.return||e.value;case Sa:return"";case Ca:return e.return=e.value+"{"+St(e.children,n)+"}";case Ni:e.value=e.props.join(",")}return Be(r=St(e.children,n))?e.return=e.value+"{"+r+"}":""}function tl(e){var t=Li(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 rl(e){return function(t){t.root||(t=t.return)&&e(t)}}var nl=function(t,r,n){for(var i=0,o=0;i=o,o=Oe(),i===38&&o===12&&(r[n]=1),!Zt(o);)ve();return dr(t,ge)},il=function(t,r){var n=-1,i=44;do switch(Zt(i)){case 0:i===38&&Oe()===12&&(r[n]=1),t[n]+=nl(ge-1,r,n);break;case 2:t[n]+=Nr(i);break;case 4:if(i===44){t[++n]=Oe()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=on(i)}while(i=ve());return t},ol=function(t,r){return Aa(il(Ea(t),r))},zo=new WeakMap,sl=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&&!zo.get(n))&&!i){zo.set(t,!0);for(var o=[],s=ol(r,o),a=n.props,u=0,m=0;u<s.length;u++)for(var y=0;y<a.length;y++,m++)t.props[m]=o[u]?s[u].replace(/&\f/g,a[y]):a[y]+" "+s[u]}}},al=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Ta(e,t){switch(Hu(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+qr+e+fe+e+e;case 6828:case 4268:return H+e+fe+e+e;case 6165:return H+e+fe+"flex-"+e+e;case 5187:return H+e+q(e,/(\w+).+(:[^]+)/,H+"box-$1$2"+fe+"flex-$1$2")+e;case 5443:return H+e+fe+"flex-item-"+q(e,/flex-|-self/,"")+e;case 4675:return H+e+fe+"flex-line-pack"+q(e,/align-content|flex-|-self/,"")+e;case 5548:return H+e+fe+q(e,"shrink","negative")+e;case 5292:return H+e+fe+q(e,"basis","preferred-size")+e;case 6060:return H+"box-"+q(e,"-grow","")+H+e+fe+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"+fe+"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(Be(e)-1-t>6)switch(ue(e,t+1)){case 109:if(ue(e,t+4)!==45)break;case 102:return q(e,/(.+:)(.+)-([^]+)/,"$1"+H+"$2-$3$1"+qr+(ue(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~si(e,"stretch")?Ta(q(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ue(e,t+1)!==115)break;case 6444:switch(ue(e,Be(e)-3-(~si(e,"!important")&&10))){case 107:return q(e,":",":"+H)+e;case 101:return q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+H+(ue(e,14)===45?"inline-":"")+"box$3$1"+H+"$2$3$1"+fe+"$2box$3")+e}break;case 5936:switch(ue(e,t+11)){case 114:return H+e+fe+q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return H+e+fe+q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return H+e+fe+q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return H+e+fe+e+e}return e}var cl=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case Oi:t.return=Ta(t.value,t.length);break;case Ca:return St([Lt(t,{value:q(t.value,"@","@"+H)})],i);case Ni:if(t.length)return Wu(t.props,function(o){switch(qu(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return St([Lt(t,{props:[q(o,/:(read-\w+)/,":"+qr+"$1")]})],i);case"::placeholder":return St([Lt(t,{props:[q(o,/:(plac\w+)/,":"+H+"input-$1")]}),Lt(t,{props:[q(o,/:(plac\w+)/,":"+qr+"$1")]}),Lt(t,{props:[q(o,/:(plac\w+)/,fe+"input-$1")]})],i)}return""})}},ul=[cl],Ra=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||ul,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,m=[sl,al];{var y,h=[el,rl(function(f){y.insert(f)})],d=tl(m.concat(i,h)),c=function(p){return St(Xu(p),d)};u=function(p,w,_,g){y=_,c(p?p+"{"+w.styles+"}":w.styles),g&&(l.inserted[w.name]=!0)}}var l={key:r,sheet:new Lu({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},ll=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function dl(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 Pa={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 se=typeof Symbol=="function"&&Symbol.for,Zi=se?Symbol.for("react.element"):60103,eo=se?Symbol.for("react.portal"):60106,ln=se?Symbol.for("react.fragment"):60107,fn=se?Symbol.for("react.strict_mode"):60108,pn=se?Symbol.for("react.profiler"):60114,hn=se?Symbol.for("react.provider"):60109,mn=se?Symbol.for("react.context"):60110,to=se?Symbol.for("react.async_mode"):60111,gn=se?Symbol.for("react.concurrent_mode"):60111,yn=se?Symbol.for("react.forward_ref"):60112,wn=se?Symbol.for("react.suspense"):60113,Sd=se?Symbol.for("react.suspense_list"):60120,bn=se?Symbol.for("react.memo"):60115,vn=se?Symbol.for("react.lazy"):60116,Cd=se?Symbol.for("react.block"):60121,kd=se?Symbol.for("react.fundamental"):60117,xd=se?Symbol.for("react.responder"):60118,Ad=se?Symbol.for("react.scope"):60119;function xe(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Zi:switch(e=e.type,e){case to:case gn:case ln:case pn:case fn:case wn:return e;default:switch(e=e&&e.$$typeof,e){case mn:case yn:case vn:case bn:case hn:return e;default:return t}}case eo:return t}}}function Js(e){return xe(e)===gn}G.AsyncMode=to;G.ConcurrentMode=gn;G.ContextConsumer=mn;G.ContextProvider=hn;G.Element=Zi;G.ForwardRef=yn;G.Fragment=ln;G.Lazy=vn;G.Memo=bn;G.Portal=eo;G.Profiler=pn;G.StrictMode=fn;G.Suspense=wn;G.isAsyncMode=function(e){return Js(e)||xe(e)===to};G.isConcurrentMode=Js;G.isContextConsumer=function(e){return xe(e)===mn};G.isContextProvider=function(e){return xe(e)===hn};G.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Zi};G.isForwardRef=function(e){return xe(e)===yn};G.isFragment=function(e){return xe(e)===ln};G.isLazy=function(e){return xe(e)===vn};G.isMemo=function(e){return xe(e)===bn};G.isPortal=function(e){return xe(e)===eo};G.isProfiler=function(e){return xe(e)===pn};G.isStrictMode=function(e){return xe(e)===fn};G.isSuspense=function(e){return xe(e)===wn};G.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ln||e===gn||e===pn||e===fn||e===wn||e===Sd||typeof e=="object"&&e!==null&&(e.$$typeof===vn||e.$$typeof===bn||e.$$typeof===hn||e.$$typeof===mn||e.$$typeof===yn||e.$$typeof===kd||e.$$typeof===xd||e.$$typeof===Ad||e.$$typeof===Cd)};G.typeOf=xe;Gs.exports=G;var Ed=Gs.exports,Ks=Ed,Td={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Rd={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ys={};Ys[Ks.ForwardRef]=Td;Ys[Ks.Memo]=Rd;var Pd=!0;function Xs(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var ro=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||Pd===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},no=function(t,r,n){ro(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 Id(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 Fd={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},Md=/[A-Z]|^ms/g,Dd=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Zs=function(t){return t.charCodeAt(1)===45},aa=function(t){return t!=null&&typeof t!="boolean"},$n=$s(function(e){return Zs(e)?e:e.replace(Md,"-$&").toLowerCase()}),sa=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Dd,function(n,i,o){return $e={name:i,styles:o,next:$e},i})}return Fd[t]!==1&&!Zs(t)&&typeof r=="number"&&r!==0?r+"px":r};function nr(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 $e={name:r.name,styles:r.styles,next:$e},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)$e={name:n.name,styles:n.styles,next:$e},n=n.next;var i=r.styles+";";return i}return Bd(e,t,r)}case"function":{if(e!==void 0){var o=$e,a=r(e);return $e=o,nr(e,t,a)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function Bd(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=nr(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]+"}":aa(a)&&(n+=$n(o)+":"+sa(o,a)+";");else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var s=0;s<a.length;s++)aa(a[s])&&(n+=$n(o)+":"+sa(o,a[s])+";");else{var u=nr(e,t,a);switch(o){case"animation":case"animationName":{n+=$n(o)+":"+u+";";break}default:n+=o+"{"+u+"}"}}}return n}var ca=/label:\s*([^\s;\n{]+)\s*(;|$)/g,$e,_n=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="";$e=void 0;var a=t[0];a==null||a.raw===void 0?(i=!1,o+=nr(n,r,a)):o+=a[0];for(var s=1;s<t.length;s++)o+=nr(n,r,t[s]),i&&(o+=a[s]);ca.lastIndex=0;for(var u="",p;(p=ca.exec(o))!==null;)u+="-"+p[1];var g=Id(o)+u;return{name:g,styles:o,next:$e}},Nd=function(t){return t()},ec=er.useInsertionEffect?er.useInsertionEffect:!1,tc=ec||Nd,ua=ec||gt,Sn={}.hasOwnProperty,rc=sn(typeof HTMLElement!="undefined"?Qs({key:"css"}):null),Od=rc.Provider,io=function(t){return Qi(function(r,n){var i=Bt(rc);return t(r,i,n)})},oo=sn({}),di="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",nc=function(t,r){var n={};for(var i in r)Sn.call(r,i)&&(n[i]=r[i]);return n[di]=t,n},Ld=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return ro(r,n,i),tc(function(){return no(r,n,i)}),null},$d=io(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[di],o=[n],a="";typeof e.className=="string"?a=Xs(t.registered,o,e.className):e.className!=null&&(a=e.className+" ");var s=_n(o,void 0,Bt(oo));a+=t.key+"-"+s.name;var u={};for(var p in e)Sn.call(e,p)&&p!=="css"&&p!==di&&(u[p]=e[p]);return u.ref=r,u.className=a,ee(Ce,null,ee(Ld,{cache:t,serialized:s,isStringTag:typeof i=="string"}),ee(i,u))}),ic=$d,Ud=io(function(e,t){var r=e.styles,n=_n([r],void 0,Bt(oo)),i=Ee();return ua(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}),s=!1,u=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),u!==null&&(s=!0,u.setAttribute("data-emotion",o),a.hydrate([u])),i.current=[a,s],function(){a.flush()}},[t]),ua(function(){var o=i.current,a=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&no(t,n.next,!0),a.tags.length){var u=a.tags[a.tags.length-1].nextElementSibling;a.before=u,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});function zd(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return _n(t)}var jd=qu,Wd=function(t){return t!=="theme"},da=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?jd:Wd},la=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},Hd=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return ro(r,n,i),tc(function(){return no(r,n,i)}),null},qd=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 s=la(t,r,n),u=s||da(i),p=!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 f=io(function(l,h,b){var _=p&&l.as||i,y="",v=[],S=l;if(l.theme==null){S={};for(var k in l)S[k]=l[k];S.theme=Bt(oo)}typeof l.className=="string"?y=Xs(h.registered,v,l.className):l.className!=null&&(y=l.className+" ");var C=_n(m.concat(v),h.registered,S);y+=h.key+"-"+C.name,a!==void 0&&(y+=" "+a);var x=p&&s===void 0?da(_):u,A={};for(var E in l)p&&E==="as"||x(E)&&(A[E]=l[E]);return A.className=y,A.ref=b,ee(Ce,null,ee(Hd,{cache:h,serialized:C,isStringTag:typeof _=="string"}),ee(_,A))});return f.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",f.defaultProps=t.defaultProps,f.__emotion_real=f,f.__emotion_base=i,f.__emotion_styles=m,f.__emotion_forwardProp=s,Object.defineProperty(f,"toString",{value:function(){return"."+a}}),f.withComponent=function(l,h){return e(l,ri({},r,h,{shouldForwardProp:la(f,h,!0)})).apply(void 0,m)},f}},Vd=["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"],W=qd.bind();Vd.forEach(function(e){W[e]=W(e)});function ue(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 Qd=typeof Symbol=="function"&&Symbol.observable||"@@observable",fa=Qd,Un=()=>Math.random().toString(36).substring(7).split("").join("."),Gd={INIT:`@@redux/INIT${Un()}`,REPLACE:`@@redux/REPLACE${Un()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Un()}`},Gr=Gd;function He(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 oc(e,t,r){if(typeof e!="function")throw new Error(ue(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ue(0));if(typeof t=="function"&&typeof r=="undefined"&&(r=t,t=void 0),typeof r!="undefined"){if(typeof r!="function")throw new Error(ue(1));return r(oc)(e,t)}let n=e,i=t,o=new Map,a=o,s=0,u=!1;function p(){a===o&&(a=new Map,o.forEach((h,b)=>{a.set(b,h)}))}function g(){if(u)throw new Error(ue(3));return i}function m(h){if(typeof h!="function")throw new Error(ue(4));if(u)throw new Error(ue(5));let b=!0;p();const _=s++;return a.set(_,h),function(){if(b){if(u)throw new Error(ue(6));b=!1,p(),a.delete(_),o=null}}}function d(h){if(!He(h))throw new Error(ue(7));if(typeof h.type=="undefined")throw new Error(ue(8));if(typeof h.type!="string")throw new Error(ue(17));if(u)throw new Error(ue(9));try{u=!0,i=n(i,h)}finally{u=!1}return(o=a).forEach(_=>{_()}),h}function c(h){if(typeof h!="function")throw new Error(ue(10));n=h,d({type:Gr.REPLACE})}function f(){const h=m;return{subscribe(b){if(typeof b!="object"||b===null)throw new Error(ue(11));function _(){const v=b;v.next&&v.next(g())}return _(),{unsubscribe:h(_)}},[fa](){return this}}}return d({type:Gr.INIT}),{dispatch:d,subscribe:m,getState:g,replaceReducer:c,[fa]:f}}function Jd(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:Gr.INIT})=="undefined")throw new Error(ue(12));if(typeof r(void 0,{type:Gr.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(ue(13))})}function ac(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{Jd(r)}catch(o){i=o}return function(a={},s){if(i)throw i;let u=!1;const p={};for(let g=0;g<n.length;g++){const m=n[g],d=r[m],c=a[m],f=d(c,s);if(typeof f=="undefined")throw s&&s.type,new Error(ue(14));p[m]=f,u=u||f!==c}return u=u||n.length!==Object.keys(a).length,u?p:a}}function Jr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function Kd(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(ue(15))};const a={getState:i.getState,dispatch:(u,...p)=>o(u,...p)},s=e.map(u=>u(a));return o=Jr(...s)(i.dispatch),$(I({},i),{dispatch:o})}}function sc(e){return He(e)&&"type"in e&&typeof e.type=="string"}var ao=Symbol.for("immer-nothing"),Gt=Symbol.for("immer-draftable"),be=Symbol.for("immer-state");function fe(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var ft=Object.getPrototypeOf;function De(e){return!!e&&!!e[be]}function Be(e){var t;return e?cc(e)||Array.isArray(e)||!!e[Gt]||!!((t=e.constructor)!=null&&t[Gt])||gr(e)||yr(e):!1}var Yd=Object.prototype.constructor.toString();function cc(e){if(!e||typeof e!="object")return!1;const t=ft(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)===Yd}function Xd(e){return De(e)||fe(15,e),e[be].base_}function ir(e,t){pt(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function pt(e){const t=e[be];return t?t.type_:Array.isArray(e)?1:gr(e)?2:yr(e)?3:0}function or(e,t){return pt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function zn(e,t){return pt(e)===2?e.get(t):e[t]}function uc(e,t,r){const n=pt(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Zd(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function gr(e){return e instanceof Map}function yr(e){return e instanceof Set}function ct(e){return e.copy_||e.base_}function li(e,t){if(gr(e))return new Map(e);if(yr(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&cc(e))return ft(e)?I({},e):Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[be];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(ft(e),r)}function so(e,t=!1){return Cn(e)||De(e)||!Be(e)||(pt(e)>1&&(e.set=e.add=e.clear=e.delete=el),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>so(n,!0))),e}function el(){fe(2)}function Cn(e){return Object.isFrozen(e)}var fi={};function ht(e){const t=fi[e];return t||fe(0,e),t}function tl(e,t){fi[e]||(fi[e]=t)}var ar;function dc(){return ar}function rl(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function pa(e,t){t&&(ht("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function pi(e){hi(e),e.drafts_.forEach(nl),e.drafts_=null}function hi(e){e===ar&&(ar=e.parent_)}function ha(e){return ar=rl(ar,e)}function nl(e){const t=e[be];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function ma(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[be].modified_&&(pi(t),fe(4)),Be(e)&&(e=Kr(t,e),t.parent_||Yr(t,e)),t.patches_&&ht("Patches").generateReplacementPatches_(r[be].base_,e,t.patches_,t.inversePatches_)):e=Kr(t,r,[]),pi(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==ao?e:void 0}function Kr(e,t,r){if(Cn(t))return t;const n=t[be];if(!n)return ir(t,(i,o)=>ga(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return Yr(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),ir(o,(s,u)=>ga(e,n,i,s,u,r,a)),Yr(e,i,!1),r&&e.patches_&&ht("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function ga(e,t,r,n,i,o,a){if(De(i)){const s=o&&t&&t.type_!==3&&!or(t.assigned_,n)?o.concat(n):void 0,u=Kr(e,i,s);if(uc(r,n,u),De(u))e.canAutoFreeze_=!1;else return}else a&&r.add(i);if(Be(i)&&!Cn(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)&&Yr(e,i)}}function Yr(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&so(t,r)}function il(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:dc(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=co;r&&(i=[n],o=sr);const{revoke:a,proxy:s}=Proxy.revocable(i,o);return n.draft_=s,n.revoke_=a,s}var co={get(e,t){if(t===be)return e;const r=ct(e);if(!or(r,t))return ol(e,r,t);const n=r[t];return e.finalized_||!Be(n)?n:n===jn(e.base_,t)?(Wn(e),e.copy_[t]=gi(n,e)):n},has(e,t){return t in ct(e)},ownKeys(e){return Reflect.ownKeys(ct(e))},set(e,t,r){const n=lc(ct(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=jn(ct(e),t),o=i==null?void 0:i[be];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(Zd(r,i)&&(r!==void 0||or(e.base_,t)))return!0;Wn(e),mi(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 jn(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Wn(e),mi(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=ct(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){fe(11)},getPrototypeOf(e){return ft(e.base_)},setPrototypeOf(){fe(12)}},sr={};ir(co,(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 co.set.call(this,e[0],t,r,e[0])};function jn(e,t){const r=e[be];return(r?ct(r):e)[t]}function ol(e,t,r){var i;const n=lc(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function lc(e,t){if(!(t in e))return;let r=ft(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=ft(r)}}function mi(e){e.modified_||(e.modified_=!0,e.parent_&&mi(e.parent_))}function Wn(e){e.copy_||(e.copy_=li(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var al=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(u=o,...p){return a.produce(u,g=>r.call(this,g,...p))}}typeof r!="function"&&fe(6),n!==void 0&&typeof n!="function"&&fe(7);let i;if(Be(t)){const o=ha(this),a=gi(t,void 0);let s=!0;try{i=r(a),s=!1}finally{s?pi(o):hi(o)}return pa(o,n),ma(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===ao&&(i=void 0),this.autoFreeze_&&so(i,!0),n){const o=[],a=[];ht("Patches").generateReplacementPatches_(t,i,o,a),n(o,a)}return i}else fe(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(a,...s)=>this.produceWithPatches(a,u=>t(u,...s));let n,i;return[this.produce(t,r,(a,s)=>{n=a,i=s}),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){Be(e)||fe(8),De(e)&&(e=fc(e));const t=ha(this),r=gi(e,void 0);return r[be].isManual_=!0,hi(t),r}finishDraft(e,t){const r=e&&e[be];(!r||!r.isManual_)&&fe(9);const{scope_:n}=r;return pa(n,t),ma(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=ht("Patches").applyPatches_;return De(e)?n(e,t):this.produce(e,i=>n(i,t))}};function gi(e,t){const r=gr(e)?ht("MapSet").proxyMap_(e,t):yr(e)?ht("MapSet").proxySet_(e,t):il(e,t);return(t?t.scope_:dc()).drafts_.push(r),r}function fc(e){return De(e)||fe(10,e),pc(e)}function pc(e){if(!Be(e)||Cn(e))return e;const t=e[be];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=li(e,t.scope_.immer_.useStrictShallowCopy_)}else r=li(e,!0);return ir(r,(n,i)=>{uc(r,n,pc(i))}),t&&(t.finalized_=!1),r}function sl(){const t="replace",r="add",n="remove";function i(d,c,f,l){switch(d.type_){case 0:case 2:return a(d,c,f,l);case 1:return o(d,c,f,l);case 3:return s(d,c,f,l)}}function o(d,c,f,l){let{base_:h,assigned_:b}=d,_=d.copy_;_.length<h.length&&([h,_]=[_,h],[f,l]=[l,f]);for(let y=0;y<h.length;y++)if(b[y]&&_[y]!==h[y]){const v=c.concat([y]);f.push({op:t,path:v,value:m(_[y])}),l.push({op:t,path:v,value:m(h[y])})}for(let y=h.length;y<_.length;y++){const v=c.concat([y]);f.push({op:r,path:v,value:m(_[y])})}for(let y=_.length-1;h.length<=y;--y){const v=c.concat([y]);l.push({op:n,path:v})}}function a(d,c,f,l){const{base_:h,copy_:b}=d;ir(d.assigned_,(_,y)=>{const v=zn(h,_),S=zn(b,_),k=y?or(h,_)?t:r:n;if(v===S&&k===t)return;const C=c.concat(_);f.push(k===n?{op:k,path:C}:{op:k,path:C,value:S}),l.push(k===r?{op:n,path:C}:k===n?{op:r,path:C,value:m(v)}:{op:t,path:C,value:m(v)})})}function s(d,c,f,l){let{base_:h,copy_:b}=d,_=0;h.forEach(y=>{if(!b.has(y)){const v=c.concat([_]);f.push({op:n,path:v,value:y}),l.unshift({op:r,path:v,value:y})}_++}),_=0,b.forEach(y=>{if(!h.has(y)){const v=c.concat([_]);f.push({op:r,path:v,value:y}),l.unshift({op:n,path:v,value:y})}_++})}function u(d,c,f,l){f.push({op:t,path:[],value:c===ao?void 0:c}),l.push({op:t,path:[],value:d})}function p(d,c){return c.forEach(f=>{const{path:l,op:h}=f;let b=d;for(let S=0;S<l.length-1;S++){const k=pt(b);let C=l[S];typeof C!="string"&&typeof C!="number"&&(C=""+C),(k===0||k===1)&&(C==="__proto__"||C==="constructor")&&fe(19),typeof b=="function"&&C==="prototype"&&fe(19),b=zn(b,C),typeof b!="object"&&fe(18,l.join("/"))}const _=pt(b),y=g(f.value),v=l[l.length-1];switch(h){case t:switch(_){case 2:return b.set(v,y);case 3:fe(16);default:return b[v]=y}case r:switch(_){case 1:return v==="-"?b.push(y):b.splice(v,0,y);case 2:return b.set(v,y);case 3:return b.add(y);default:return b[v]=y}case n:switch(_){case 1:return b.splice(v,1);case 2:return b.delete(v);case 3:return b.delete(f.value);default:return delete b[v]}default:fe(17,h)}}),d}function g(d){if(!Be(d))return d;if(Array.isArray(d))return d.map(g);if(gr(d))return new Map(Array.from(d.entries()).map(([f,l])=>[f,g(l)]));if(yr(d))return new Set(Array.from(d).map(g));const c=Object.create(ft(d));for(const f in d)c[f]=g(d[f]);return or(d,Gt)&&(c[Gt]=d[Gt]),c}function m(d){return De(d)?g(d):d}tl("Patches",{applyPatches_:p,generatePatches_:i,generateReplacementPatches_:u})}var ke=new al,wr=ke.produce,hc=ke.produceWithPatches.bind(ke);ke.setAutoFreeze.bind(ke);ke.setUseStrictShallowCopy.bind(ke);var ya=ke.applyPatches.bind(ke);ke.createDraft.bind(ke);ke.finishDraft.bind(ke);function cl(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function ul(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function dl(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 wa=e=>Array.isArray(e)?e:[e];function ll(e){const t=Array.isArray(e[0])?e[0]:e;return dl(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function fl(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var pl=class{constructor(e){this.value=e}deref(){return this.value}},hl=typeof WeakRef!="undefined"?WeakRef:pl,ml=0,ba=1;function Pr(){return{s:ml,v:void 0,o:null,p:null}}function cr(e,t={}){let r=Pr();const{resultEqualityCheck:n}=t;let i,o=0;function a(){var m,d;let s=r;const{length:u}=arguments;for(let c=0,f=u;c<f;c++){const l=arguments[c];if(typeof l=="function"||typeof l=="object"&&l!==null){let h=s.o;h===null&&(s.o=h=new WeakMap);const b=h.get(l);b===void 0?(s=Pr(),h.set(l,s)):s=b}else{let h=s.p;h===null&&(s.p=h=new Map);const b=h.get(l);b===void 0?(s=Pr(),h.set(l,s)):s=b}}const p=s;let g;if(s.s===ba?g=s.v:(g=e.apply(null,arguments),o++),p.s=ba,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 hl(g):g}return p.v=g,g}return a.clearCache=()=>{r=Pr(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function mc(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let o=0,a=0,s,u={},p=i.pop();typeof p=="object"&&(u=p,p=i.pop()),cl(p,`createSelector expects an output function after the inputs, but received: [${typeof p}]`);const g=I(I({},r),u),{memoize:m,memoizeOptions:d=[],argsMemoize:c=cr,argsMemoizeOptions:f=[],devModeChecks:l={}}=g,h=wa(d),b=wa(f),_=ll(i),y=m(function(){return o++,p.apply(null,arguments)},...h),v=c(function(){a++;const k=fl(_,arguments);return s=y.apply(null,k),s},...b);return Object.assign(v,{resultFunc:p,memoizedResultFunc:y,dependencies:_,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>s,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:m,argsMemoize:c})};return Object.assign(n,{withTypes:()=>n}),n}var kt=mc(cr),gl=Object.assign((e,t=kt)=>{ul(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,s,u)=>(a[r[u]]=s,a),{}))},{withTypes:()=>gl});function gc(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var yl=gc(),wl=gc,bl=(...e)=>{const t=mc(...e);return(...r)=>{const n=t(...r),i=(o,...a)=>n(De(o)?fc(o):o,...a);return Object.assign(i,n),i}};bl(cr);var vl=typeof window!="undefined"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Jr:Jr.apply(null,arguments)},_l=e=>e&&typeof e.match=="function";function ye(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=>sc(n)&&n.type===e,r}var yc=class Wt extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Wt.prototype)}static get[Symbol.species](){return Wt}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Wt(...t[0].concat(this)):new Wt(...t.concat(this))}};function va(e){return Be(e)?wr(e,()=>{}):e}function _a(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 Sl(e){return typeof e=="boolean"}var Cl=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t!=null?t:{};let a=new yc;return r&&(Sl(r)?a.push(yl):a.push(wl(r.extraArgument))),a},St="RTK_autoBatch",zt=()=>e=>({payload:e,meta:{[St]:!0}}),wc=e=>t=>{setTimeout(t,e)},kl=typeof window!="undefined"&&window.requestAnimationFrame?window.requestAnimationFrame:wc(10),xl=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let i=!0,o=!1,a=!1;const s=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?kl:e.type==="callback"?e.queueNotification:wc(e.timeout),p=()=>{a=!1,o&&(o=!1,s.forEach(g=>g()))};return Object.assign({},n,{subscribe(g){const m=()=>i&&g(),d=n.subscribe(m);return s.add(g),()=>{d(),s.delete(g)}},dispatch(g){var m;try{return i=!((m=g==null?void 0:g.meta)!=null&&m[St]),o=!i,o&&(a||(a=!0,u(p))),n.dispatch(g)}finally{i=!0}}})},Al=e=>function(r){const{autoBatch:n=!0}=r!=null?r:{};let i=new yc(e);return n&&i.push(xl(typeof n=="object"?n:void 0)),i},El=!0;function Tl(e){const t=Cl(),{reducer:r=void 0,middleware:n,devTools:i=!0,preloadedState:o=void 0,enhancers:a=void 0}=e||{};let s;if(typeof r=="function")s=r;else if(He(r))s=ac(r);else throw new Error(Te(1));let u;typeof n=="function"?u=n(t):u=t();let p=Jr;i&&(p=vl(I({trace:!El},typeof i=="object"&&i)));const g=Kd(...u),m=Al(g);let d=typeof a=="function"?a(m):m();const c=p(...d);return oc(s,o,c)}function bc(e){const t={},r=[];let n;const i={addCase(o,a){const s=typeof o=="string"?o:o.type;if(!s)throw new Error(Te(28));if(s in t)throw new Error(Te(29));return t[s]=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 Rl(e){return typeof e=="function"}function Pl(e,t){let[r,n,i]=bc(t),o;if(Rl(e))o=()=>va(e());else{const s=va(e);o=()=>s}function a(s=o(),u){let p=[r[u.type],...n.filter(({matcher:g})=>g(u)).map(({reducer:g})=>g)];return p.filter(g=>!!g).length===0&&(p=[i]),p.reduce((g,m)=>{if(m)if(De(g)){const c=m(g,u);return c===void 0?g:c}else{if(Be(g))return wr(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},s)}return a.getInitialState=o,a}var Il="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",vc=(e=21)=>{let t="",r=e;for(;r--;)t+=Il[Math.random()*64|0];return t},_c=(e,t)=>_l(e)?e.match(t):e(t);function rt(...e){return t=>e.some(r=>_c(r,t))}function Jt(...e){return t=>e.every(r=>_c(r,t))}function kn(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 br(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function uo(...e){return e.length===0?t=>kn(t,["pending"]):br(e)?t=>{const r=e.map(i=>i.pending);return rt(...r)(t)}:uo()(e[0])}function Rt(...e){return e.length===0?t=>kn(t,["rejected"]):br(e)?t=>{const r=e.map(i=>i.rejected);return rt(...r)(t)}:Rt()(e[0])}function xn(...e){const t=r=>r&&r.meta&&r.meta.rejectedWithValue;return e.length===0?r=>Jt(Rt(...e),t)(r):br(e)?r=>Jt(Rt(...e),t)(r):xn()(e[0])}function nt(...e){return e.length===0?t=>kn(t,["fulfilled"]):br(e)?t=>{const r=e.map(i=>i.fulfilled);return rt(...r)(t)}:nt()(e[0])}function yi(...e){return e.length===0?t=>kn(t,["pending","fulfilled","rejected"]):br(e)?t=>{const r=[];for(const i of e)r.push(i.pending,i.rejected,i.fulfilled);return rt(...r)(t)}:yi()(e[0])}var Fl=["name","message","stack","code"],Hn=class{constructor(e,t){Nn(this,"_type");this.payload=e,this.meta=t}},Sa=class{constructor(e,t){Nn(this,"_type");this.payload=e,this.meta=t}},Ml=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of Fl)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},Ca=(()=>{function e(t,r,n){const i=ye(t+"/fulfilled",(u,p,g,m)=>({payload:u,meta:$(I({},m||{}),{arg:g,requestId:p,requestStatus:"fulfilled"})})),o=ye(t+"/pending",(u,p,g)=>({payload:void 0,meta:$(I({},g||{}),{arg:p,requestId:u,requestStatus:"pending"})})),a=ye(t+"/rejected",(u,p,g,m,d)=>({payload:m,error:(n&&n.serializeError||Ml)(u||"Rejected"),meta:$(I({},d||{}),{arg:g,requestId:p,rejectedWithValue:!!m,requestStatus:"rejected",aborted:(u==null?void 0:u.name)==="AbortError",condition:(u==null?void 0:u.name)==="ConditionError"})}));function s(u){return(p,g,m)=>{const d=n!=null&&n.idGenerator?n.idGenerator(u):vc(),c=new AbortController;let f;function l(b){f=b,c.abort()}const h=function(){return ge(this,null,function*(){var y,v;let b;try{let S=(y=n==null?void 0:n.condition)==null?void 0:y.call(n,u,{getState:g,extra:m});if(Bl(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:f||"Aborted"})));p(o(d,u,(v=n==null?void 0:n.getPendingMeta)==null?void 0:v.call(n,{requestId:d,arg:u},{getState:g,extra:m}))),b=yield Promise.race([k,Promise.resolve(r(u,{dispatch:p,getState:g,extra:m,requestId:d,signal:c.signal,abort:l,rejectWithValue:(C,x)=>new Hn(C,x),fulfillWithValue:(C,x)=>new Sa(C,x)})).then(C=>{if(C instanceof Hn)throw C;return C instanceof Sa?i(C.payload,d,u,C.meta):i(C,d,u)})])}catch(S){b=S instanceof Hn?a(null,d,u,S.payload,S.meta):a(S,d,u)}return n&&!n.dispatchConditionRejection&&a.match(b)&&b.meta.condition||p(b),b})}();return Object.assign(h,{abort:l,requestId:d,arg:u,unwrap(){return h.then(Dl)}})}}return Object.assign(s,{pending:o,rejected:a,fulfilled:i,settled:rt(a,i),typePrefix:t})}return e.withTypes=()=>e,e})();function Dl(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 Nl=Symbol.for("rtk-slice-createasyncthunk");function Ol(e,t){return`${e}/${t}`}function Ll({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[Nl];return function(i){const{name:o,reducerPath:a=o}=i;if(!o)throw new Error(Te(11));const s=(typeof i.reducers=="function"?i.reducers(Ul()):i.reducers)||{},u=Object.keys(s),p={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},g={addCase(h,b){const _=typeof h=="string"?h:h.type;if(!_)throw new Error(Te(12));if(_ in p.sliceCaseReducersByType)throw new Error(Te(13));return p.sliceCaseReducersByType[_]=b,g},addMatcher(h,b){return p.sliceMatchers.push({matcher:h,reducer:b}),g},exposeAction(h,b){return p.actionCreators[h]=b,g},exposeCaseReducer(h,b){return p.sliceCaseReducersByName[h]=b,g}};u.forEach(h=>{const b=s[h],_={reducerName:h,type:Ol(o,h),createNotation:typeof i.reducers=="function"};jl(b)?Hl(_,b,g,t):zl(_,b,g)});function m(){const[h={},b=[],_=void 0]=typeof i.extraReducers=="function"?bc(i.extraReducers):[i.extraReducers],y=I(I({},h),p.sliceCaseReducersByType);return Pl(i.initialState,v=>{for(let S in y)v.addCase(S,y[S]);for(let S of p.sliceMatchers)v.addMatcher(S.matcher,S.reducer);for(let S of b)v.addMatcher(S.matcher,S.reducer);_&&v.addDefaultCase(_)})}const d=h=>h,c=new WeakMap;let f;const l={name:o,reducerPath:a,reducer(h,b){return f||(f=m()),f(h,b)},actions:p.actionCreators,caseReducers:p.sliceCaseReducersByName,getInitialState(){return f||(f=m()),f.getInitialState()},getSelectors(h=d){const b=_a(c,this,{insert:()=>new WeakMap});return _a(b,h,{insert:()=>{var y;const _={};for(const[v,S]of Object.entries((y=i.selectors)!=null?y:{}))_[v]=$l(this,S,h,this!==l);return _}})},selectSlice(h){let b=h[this.reducerPath];return typeof b=="undefined"&&this!==l&&(b=this.getInitialState()),b},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(h,y={}){var v=y,{reducerPath:b}=v,_=at(v,["reducerPath"]);const S=b!=null?b:this.reducerPath;return h.inject({reducerPath:S,reducer:this.reducer},_),$(I({},this),{reducerPath:S})}};return l}}function $l(e,t,r,n){function i(o,...a){let s=r.call(e,o);return typeof s=="undefined"&&n&&(s=e.getInitialState()),t(s,...a)}return i.unwrapped=t,i}var Ge=Ll();function Ul(){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 zl({type:e,reducerName:t,createNotation:r},n,i){let o,a;if("reducer"in n){if(r&&!Wl(n))throw new Error(Te(17));o=n.reducer,a=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,a?ye(e,a):ye(e))}function jl(e){return e._reducerDefinitionType==="asyncThunk"}function Wl(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Hl({type:e,reducerName:t},r,n,i){if(!i)throw new Error(Te(18));const{payloadCreator:o,fulfilled:a,pending:s,rejected:u,settled:p,options:g}=r,m=i(e,o,g);n.exposeAction(t,m),a&&n.addCase(m.fulfilled,a),s&&n.addCase(m.pending,s),u&&n.addCase(m.rejected,u),p&&n.addMatcher(m.settled,p),n.exposeCaseReducer(t,{fulfilled:a||Ir,pending:s||Ir,rejected:u||Ir,settled:p||Ir})}function Ir(){}var lo="listenerMiddleware";ye(`${lo}/add`);ye(`${lo}/removeAll`);ye(`${lo}/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 Sc=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(Sc||{});function ql(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Vl(e){return new RegExp("(^|:)//").test(e)}var Ql=e=>e.replace(/\/$/,""),Gl=e=>e.replace(/^\//,"");function Jl(e,t){if(!e)return t;if(!t)return e;if(Vl(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=Ql(e),t=Gl(t),`${e}${r}${t}`}var ka=e=>[].concat(...e);function Kl(){return typeof navigator=="undefined"||navigator.onLine===void 0?!0:navigator.onLine}function Yl(){return typeof document=="undefined"?!0:document.visibilityState!=="hidden"}var xa=He;function Cc(e,t){if(e===t||!(xa(e)&&xa(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]=Cc(e[a],t[a]),i&&(i=e[a]===o[a]);return i?e:o}var Aa=(...e)=>fetch(...e),Xl=e=>e.status>=200&&e.status<=299,Zl=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function Ea(e){if(!He(e))return e;const t=I({},e);for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function ef(m={}){var d=m,{baseUrl:e,prepareHeaders:t=c=>c,fetchFn:r=Aa,paramsSerializer:n,isJsonContentType:i=Zl,jsonContentType:o="application/json",jsonReplacer:a,timeout:s,responseHandler:u,validateStatus:p}=d,g=at(d,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return typeof fetch=="undefined"&&r===Aa&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),(f,l)=>ge(this,null,function*(){const{signal:h,getState:b,extra:_,endpoint:y,forced:v,type:S}=l;let k,Ot=typeof f=="string"?{url:f}:f,{url:C,headers:x=new Headers(g.headers),params:A=void 0,responseHandler:E=u!=null?u:"json",validateStatus:R=p!=null?p:Xl,timeout:M=s}=Ot,P=at(Ot,["url","headers","params","responseHandler","validateStatus","timeout"]),F=I($(I({},g),{signal:h}),P);x=new Headers(Ea(x)),F.headers=(yield t(x,{getState:b,extra:_,endpoint:y,forced:v,type:S}))||x;const U=oe=>typeof oe=="object"&&(He(oe)||Array.isArray(oe)||typeof oe.toJSON=="function");if(!F.headers.has("content-type")&&U(F.body)&&F.headers.set("content-type",o),U(F.body)&&i(F.headers)&&(F.body=JSON.stringify(F.body,a)),A){const oe=~C.indexOf("?")?"&":"?",Ie=n?n(A):new URLSearchParams(Ea(A));C+=oe+Ie}C=Jl(e,C);const X=new Request(C,F);k={request:new Request(C,F)};let L,ne=!1,te=M&&setTimeout(()=>{ne=!0,l.abort()},M);try{L=yield r(X)}catch(oe){return{error:{status:ne?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(oe)},meta:k}}finally{te&&clearTimeout(te)}const pe=L.clone();k.response=pe;let Ve,ie="";try{let oe;if(yield Promise.all([c(L,E).then(Ie=>Ve=Ie,Ie=>oe=Ie),pe.text().then(Ie=>ie=Ie,()=>{})]),oe)throw oe}catch(oe){return{error:{status:"PARSING_ERROR",originalStatus:L.status,data:ie,error:String(oe)},meta:k}}return R(L,Ve)?{data:Ve,meta:k}:{error:{status:L.status,data:Ve},meta:k}});function c(f,l){return ge(this,null,function*(){if(typeof l=="function")return l(f);if(l==="content-type"&&(l=i(f.headers)?"json":"text"),l==="json"){const h=yield f.text();return h.length?JSON.parse(h):null}return f.text()})}}var Ta=class{constructor(e,t=void 0){this.value=e,this.meta=t}},fo=ye("__rtkq/focused"),kc=ye("__rtkq/unfocused"),po=ye("__rtkq/online"),xc=ye("__rtkq/offline");function Ac(e){return e.type==="query"}function tf(e){return e.type==="mutation"}function ho(e,t,r,n,i,o){return rf(e)?e(t,r,n,i).map(wi).map(o):Array.isArray(e)?e.map(wi).map(o):[]}function rf(e){return typeof e=="function"}function wi(e){return typeof e=="string"?{type:e}:e}function Ra(e){return e!=null}function xt(e){let t=0;for(const r in e)t++;return t}var ur=Symbol("forceQueryFn"),bi=e=>typeof e[ur]=="function";function nf({serializeQueryArgs:e,queryThunk:t,mutationThunk:r,api:n,context:i}){const o=new Map,a=new Map,{unsubscribeQueryResult:s,removeMutationResult:u,updateSubscriptionOptions:p}=n.internalActions;return{buildInitiateQuery:f,buildInitiateMutation:l,getRunningQueryThunk:g,getRunningMutationThunk:m,getRunningQueriesThunk:d,getRunningMutationsThunk:c};function g(h,b){return _=>{var S;const y=i.endpointDefinitions[h],v=e({queryArgs:b,endpointDefinition:y,endpointName:h});return(S=o.get(_))==null?void 0:S[v]}}function m(h,b){return _=>{var y;return(y=a.get(_))==null?void 0:y[b]}}function d(){return h=>Object.values(o.get(h)||{}).filter(Ra)}function c(){return h=>Object.values(a.get(h)||{}).filter(Ra)}function f(h,b){const _=(y,{subscribe:v=!0,forceRefetch:S,subscriptionOptions:k,[ur]:C}={})=>(x,A)=>{var pe;const E=e({queryArgs:y,endpointDefinition:b,endpointName:h}),R=t({type:"query",subscribe:v,forceRefetch:S,subscriptionOptions:k,endpointName:h,originalArgs:y,queryCacheKey:E,[ur]:C}),M=n.endpoints[h].select(y),P=x(R),F=M(A()),{requestId:U,abort:X}=P,j=F.requestId!==U,L=(pe=o.get(x))==null?void 0:pe[E],ne=()=>M(A()),te=Object.assign(C?P.then(ne):j&&!L?Promise.resolve(F):Promise.all([L,P]).then(ne),{arg:y,requestId:U,subscriptionOptions:k,queryCacheKey:E,abort:X,unwrap(){return ge(this,null,function*(){const ie=yield te;if(ie.isError)throw ie.error;return ie.data})},refetch:()=>x(_(y,{subscribe:!1,forceRefetch:!0})),unsubscribe(){v&&x(s({queryCacheKey:E,requestId:U}))},updateSubscriptionOptions(ie){te.subscriptionOptions=ie,x(p({endpointName:h,requestId:U,queryCacheKey:E,options:ie}))}});if(!L&&!j&&!C){const ie=o.get(x)||{};ie[E]=te,o.set(x,ie),te.then(()=>{delete ie[E],xt(ie)||o.delete(x)})}return te};return _}function l(h){return(b,{track:_=!0,fixedCacheKey:y}={})=>(v,S)=>{const k=r({type:"mutation",endpointName:h,originalArgs:b,track:_,fixedCacheKey:y}),C=v(k),{requestId:x,abort:A,unwrap:E}=C,R=C.unwrap().then(U=>({data:U})).catch(U=>({error:U})),M=()=>{v(u({requestId:x,fixedCacheKey:y}))},P=Object.assign(R,{arg:C.arg,requestId:x,abort:A,unwrap:E,reset:M}),F=a.get(v)||{};return a.set(v,F),F[x]=P,P.then(()=>{delete F[x],xt(F)||a.delete(v)}),y&&(F[y]=P,P.then(()=>{F[y]===P&&(delete F[y],xt(F)||a.delete(v))})),P}}}function Pa(e){return e}function of({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const a=(_,y,v,S)=>(k,C)=>{const x=r[_],A=n({queryArgs:y,endpointDefinition:x,endpointName:_});if(k(i.internalActions.queryResultPatched({queryCacheKey:A,patches:v})),!S)return;const E=i.endpoints[_].select(y)(C()),R=ho(x.providesTags,E.data,void 0,y,{},o);k(i.internalActions.updateProvidedBy({queryCacheKey:A,providedTags:R}))},s=(_,y,v,S=!0)=>(k,C)=>{const A=i.endpoints[_].select(y)(C());let E={patches:[],inversePatches:[],undo:()=>k(i.util.patchQueryData(_,y,E.inversePatches,S))};if(A.status==="uninitialized")return E;let R;if("data"in A)if(Be(A.data)){const[M,P,F]=hc(A.data,v);E.patches.push(...P),E.inversePatches.push(...F),R=M}else R=v(A.data),E.patches.push({op:"replace",path:[],value:R}),E.inversePatches.push({op:"replace",path:[],value:A.data});return k(i.util.patchQueryData(_,y,E.patches,S)),E},u=(_,y,v)=>S=>S(i.endpoints[_].initiate(y,{subscribe:!1,forceRefetch:!0,[ur]:()=>({data:v})})),p=(E,R)=>ge(this,[E,R],function*(_,{signal:y,abort:v,rejectWithValue:S,fulfillWithValue:k,dispatch:C,getState:x,extra:A}){const M=r[_.endpointName];try{let P=Pa,F;const U={signal:y,abort:v,dispatch:C,getState:x,extra:A,endpoint:_.endpointName,type:_.type,forced:_.type==="query"?g(_,x()):void 0},X=_.type==="query"?_[ur]:void 0;if(X?F=X():M.query?(F=yield t(M.query(_.originalArgs),U,M.extraOptions),M.transformResponse&&(P=M.transformResponse)):F=yield M.queryFn(_.originalArgs,U,M.extraOptions,j=>t(j,U,M.extraOptions)),F.error)throw new Ta(F.error,F.meta);return k(yield P(F.data,F.meta,_.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:F.meta,[St]:!0})}catch(P){let F=P;if(F instanceof Ta){let U=Pa;M.query&&M.transformErrorResponse&&(U=M.transformErrorResponse);try{return S(yield U(F.value,F.meta,_.originalArgs),{baseQueryMeta:F.meta,[St]:!0})}catch(X){F=X}}throw console.error(F),F}});function g(_,y){var x,A,E,R;const v=(A=(x=y[e])==null?void 0:x.queries)==null?void 0:A[_.queryCacheKey],S=(E=y[e])==null?void 0:E.config.refetchOnMountOrArgChange,k=v==null?void 0:v.fulfilledTimeStamp,C=(R=_.forceRefetch)!=null?R:_.subscribe&&S;return C?C===!0||(Number(new Date)-Number(k))/1e3>=C:!1}const m=Ca(`${e}/executeQuery`,p,{getPendingMeta(){return{startedTimeStamp:Date.now(),[St]:!0}},condition(_,{getState:y}){var E,R,M;const v=y(),S=(R=(E=v[e])==null?void 0:E.queries)==null?void 0:R[_.queryCacheKey],k=S==null?void 0:S.fulfilledTimeStamp,C=_.originalArgs,x=S==null?void 0:S.originalArgs,A=r[_.endpointName];return bi(_)?!0:(S==null?void 0:S.status)==="pending"?!1:g(_,v)||Ac(A)&&((M=A==null?void 0:A.forceRefetch)!=null&&M.call(A,{currentArg:C,previousArg:x,endpointState:S,state:v}))?!0:!k},dispatchConditionRejection:!0}),d=Ca(`${e}/executeMutation`,p,{getPendingMeta(){return{startedTimeStamp:Date.now(),[St]:!0}}}),c=_=>"force"in _,f=_=>"ifOlderThan"in _,l=(_,y,v)=>(S,k)=>{const C=c(v)&&v.force,x=f(v)&&v.ifOlderThan,A=(R=!0)=>i.endpoints[_].initiate(y,{forceRefetch:R}),E=i.endpoints[_].select(y)(k());if(C)S(A());else if(x){const R=E==null?void 0:E.fulfilledTimeStamp;if(!R){S(A());return}(Number(new Date)-Number(new Date(R)))/1e3>=x&&S(A())}else S(A(!1))};function h(_){return y=>{var v,S;return((S=(v=y==null?void 0:y.meta)==null?void 0:v.arg)==null?void 0:S.endpointName)===_}}function b(_,y){return{matchPending:Jt(uo(_),h(y)),matchFulfilled:Jt(nt(_),h(y)),matchRejected:Jt(Rt(_),h(y))}}return{queryThunk:m,mutationThunk:d,prefetch:l,updateQueryData:s,upsertQueryData:u,patchQueryData:a,buildMatchThunkActions:b}}function Ec(e,t,r,n){return ho(r[e.meta.arg.endpointName][t],nt(e)?e.payload:void 0,xn(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function Fr(e,t,r){const n=e[t];n&&r(n)}function dr(e){var t;return(t="arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)!=null?t:e.requestId}function Ia(e,t,r){const n=e[dr(t)];n&&r(n)}var jt={};function af({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:o,hasRehydrationInfo:a},assertTagType:s,config:u}){const p=ye(`${e}/resetApiState`),g=Ge({name:`${e}/queries`,initialState:jt,reducers:{removeQueryResult:{reducer(y,{payload:{queryCacheKey:v}}){delete y[v]},prepare:zt()},queryResultPatched:{reducer(y,{payload:{queryCacheKey:v,patches:S}}){Fr(y,v,k=>{k.data=ya(k.data,S.concat())})},prepare:zt()}},extraReducers(y){y.addCase(t.pending,(v,{meta:S,meta:{arg:k}})=>{var x,A;const C=bi(k);(A=v[x=k.queryCacheKey])!=null||(v[x]={status:"uninitialized",endpointName:k.endpointName}),Fr(v,k.queryCacheKey,E=>{E.status="pending",E.requestId=C&&E.requestId?E.requestId:S.requestId,k.originalArgs!==void 0&&(E.originalArgs=k.originalArgs),E.startedTimeStamp=S.startedTimeStamp})}).addCase(t.fulfilled,(v,{meta:S,payload:k})=>{Fr(v,S.arg.queryCacheKey,C=>{var A;if(C.requestId!==S.requestId&&!bi(S.arg))return;const{merge:x}=n[S.arg.endpointName];if(C.status="fulfilled",x)if(C.data!==void 0){const{fulfilledTimeStamp:E,arg:R,baseQueryMeta:M,requestId:P}=S;let F=wr(C.data,U=>x(U,k,{arg:R.originalArgs,baseQueryMeta:M,fulfilledTimeStamp:E,requestId:P}));C.data=F}else C.data=k;else C.data=(A=n[S.arg.endpointName].structuralSharing)==null||A?Cc(De(C.data)?Xd(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:A})=>{Fr(v,k.queryCacheKey,E=>{if(!S){if(E.requestId!==C)return;E.status="rejected",E.error=A!=null?A:x}})}).addMatcher(a,(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=Ge({name:`${e}/mutations`,initialState:jt,reducers:{removeMutationResult:{reducer(y,{payload:v}){const S=dr(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[dr(S)]={requestId:k,status:"pending",endpointName:C.endpointName,startedTimeStamp:x})}).addCase(r.fulfilled,(v,{payload:S,meta:k})=>{k.arg.track&&Ia(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&&Ia(v,C,x=>{x.requestId===C.requestId&&(x.status="rejected",x.error=S!=null?S:k)})}).addMatcher(a,(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=Ge({name:`${e}/invalidation`,initialState:jt,reducers:{updateProvidedBy:{reducer(y,v){var C,x,A,E;const{queryCacheKey:S,providedTags:k}=v.payload;for(const R of Object.values(y))for(const M of Object.values(R)){const P=M.indexOf(S);P!==-1&&M.splice(P,1)}for(const{type:R,id:M}of k){const P=(E=(x=(C=y[R])!=null?C:y[R]={})[A=M||"__internal_without_id"])!=null?E:x[A]=[];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(a,(v,S)=>{var C,x,A,E;const{provided:k}=o(S);for(const[R,M]of Object.entries(k))for(const[P,F]of Object.entries(M)){const U=(E=(x=(C=v[R])!=null?C:v[R]={})[A=P||"__internal_without_id"])!=null?E:x[A]=[];for(const X of F)U.includes(X)||U.push(X)}}).addMatcher(rt(nt(t),xn(t)),(v,S)=>{const k=Ec(S,"providesTags",n,s),{queryCacheKey:C}=S.meta.arg;d.caseReducers.updateProvidedBy(v,d.actions.updateProvidedBy({queryCacheKey:C,providedTags:k}))})}}),c=Ge({name:`${e}/subscriptions`,initialState:jt,reducers:{updateSubscriptionOptions(y,v){},unsubscribeQueryResult(y,v){},internal_getRTKQSubscriptions(){}}}),f=Ge({name:`${e}/internalSubscriptions`,initialState:jt,reducers:{subscriptionsUpdated:{reducer(y,v){return ya(y,v.payload)},prepare:zt()}}}),l=Ge({name:`${e}/config`,initialState:I({online:Kl(),focused:Yl(),middlewareRegistered:!1},u),reducers:{middlewareRegistered(y,{payload:v}){y.middlewareRegistered=y.middlewareRegistered==="conflict"||i!==v?"conflict":!0}},extraReducers:y=>{y.addCase(po,v=>{v.online=!0}).addCase(xc,v=>{v.online=!1}).addCase(fo,v=>{v.focused=!0}).addCase(kc,v=>{v.focused=!1}).addMatcher(a,v=>I({},v))}}),h=ac({queries:g.reducer,mutations:m.reducer,provided:d.reducer,subscriptions:f.reducer,config:l.reducer}),b=(y,v)=>h(p.match(v)?void 0:y,v),_=$(I(I(I(I(I(I({},l.actions),g.actions),c.actions),f.actions),m.actions),d.actions),{resetApiState:p});return{reducer:b,actions:_}}var dt=Symbol.for("RTKQ/skipToken"),Tc={status:"uninitialized"},Fa=wr(Tc,()=>{}),Ma=wr(Tc,()=>{});function sf({serializeQueryArgs:e,reducerPath:t}){const r=g=>Fa,n=g=>Ma;return{buildQuerySelector:a,buildMutationSelector:s,selectInvalidatedBy:u,selectCachedArgsForQuery:p};function i(g){return I(I({},g),ql(g.status))}function o(g){return g[t]}function a(g,m){return d=>{const c=e({queryArgs:d,endpointDefinition:m,endpointName:g});return kt(d===dt?r:h=>{var b,_,y;return(y=(_=(b=o(h))==null?void 0:b.queries)==null?void 0:_[c])!=null?y:Fa},i)}}function s(){return g=>{var f;let m;return typeof g=="object"?m=(f=dr(g))!=null?f:dt:m=g,kt(m===dt?n:l=>{var h,b,_;return(_=(b=(h=o(l))==null?void 0:h.mutations)==null?void 0:b[m])!=null?_:Ma},i)}}function u(g,m){var f;const d=g[t],c=new Set;for(const l of m.map(wi)){const h=d.provided[l.type];if(!h)continue;let b=(f=l.id!==void 0?h[l.id]:ka(Object.values(h)))!=null?f:[];for(const _ of b)c.add(_)}return ka(Array.from(c.values()).map(l=>{const h=d.queries[l];return h?[{queryCacheKey:l,endpointName:h.endpointName,originalArgs:h.originalArgs}]:[]}))}function p(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,Da=({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,a)=>He(a)?Object.keys(a).sort().reduce((s,u)=>(s[u]=a[u],s),{}):a);He(t)&&(wt==null||wt.set(t,i)),r=i}return`${e}(${r})`};function cf(...e){return function(r){const n=cr(p=>{var g,m;return(m=r.extractRehydrationInfo)==null?void 0:m.call(r,p,{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(p){let g=Da;if("serializeQueryArgs"in p.endpointDefinition){const m=p.endpointDefinition.serializeQueryArgs;g=d=>{const c=m(d);return typeof c=="string"?c:Da($(I({},d),{queryArgs:c}))}}else r.serializeQueryArgs&&(g=r.serializeQueryArgs);return g(p)},tagTypes:[...r.tagTypes||[]]}),o={endpointDefinitions:{},batch(p){p()},apiUid:vc(),extractRehydrationInfo:n,hasRehydrationInfo:cr(p=>n(p)!=null)},a={injectEndpoints:u,enhanceEndpoints({addTagTypes:p,endpoints:g}){if(p)for(const m of p)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 a}},s=e.map(p=>p.init(a,i,o));function u(p){const g=p.endpoints({query:m=>$(I({},m),{type:"query"}),mutation:m=>$(I({},m),{type:"mutation"})});for(const[m,d]of Object.entries(g))if(!(!p.overrideExisting&&m in o.endpointDefinitions)){o.endpointDefinitions[m]=d;for(const c of s)c.injectEndpoint(m,d)}return a}return a.injectEndpoints({endpoints:r.endpoints})}}function uf(e){for(let t in e)return!1;return!0}var df=2147483647/1e3-1,lf=({reducerPath:e,api:t,context:r,internalState:n})=>{const{removeQueryResult:i,unsubscribeQueryResult:o}=t.internalActions;function a(g){const m=n.currentSubscriptions[g];return!!m&&!uf(m)}const s={},u=(g,m,d)=>{var c;if(o.match(g)){const f=m.getState()[e],{queryCacheKey:l}=g.payload;p(l,(c=f.queries[l])==null?void 0:c.endpointName,m,f.config)}if(t.util.resetApiState.match(g))for(const[f,l]of Object.entries(s))l&&clearTimeout(l),delete s[f];if(r.hasRehydrationInfo(g)){const f=m.getState()[e],{queries:l}=r.extractRehydrationInfo(g);for(const[h,b]of Object.entries(l))p(h,b==null?void 0:b.endpointName,m,f.config)}};function p(g,m,d,c){var b;const f=r.endpointDefinitions[m],l=(b=f==null?void 0:f.keepUnusedDataFor)!=null?b:c.keepUnusedDataFor;if(l===1/0)return;const h=Math.max(0,Math.min(l,df));if(!a(g)){const _=s[g];_&&clearTimeout(_),s[g]=setTimeout(()=>{a(g)||d.dispatch(i({queryCacheKey:g})),delete s[g]},h*1e3)}}return u},ff=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:n,queryThunk:i,api:o,assertTagType:a,refetchQuery:s,internalState:u})=>{const{removeQueryResult:p}=o.internalActions,g=rt(nt(n),xn(n)),m=rt(nt(n,i),Rt(n,i));let d=[];const c=(h,b)=>{g(h)?l(Ec(h,"invalidatesTags",r,a),b):m(h)?l([],b):o.util.invalidateTags.match(h)&&l(ho(h.payload,void 0,void 0,void 0,void 0,a),b)};function f(h){var b,_;for(const y in h.queries)if(((b=h.queries[y])==null?void 0:b.status)==="pending")return!0;for(const y in h.mutations)if(((_=h.mutations[y])==null?void 0:_.status)==="pending")return!0;return!1}function l(h,b){const _=b.getState(),y=_[e];if(d.push(...h),y.config.invalidationBehavior==="delayed"&&f(y))return;const v=d;if(d=[],v.length===0)return;const S=o.util.selectInvalidatedBy(_,v);t.batch(()=>{var C;const k=Array.from(S.values());for(const{queryCacheKey:x}of k){const A=y.queries[x],E=(C=u.currentSubscriptions[x])!=null?C:{};A&&(xt(E)===0?b.dispatch(p({queryCacheKey:x})):A.status!=="uninitialized"&&b.dispatch(s(A,x)))}})}return c},pf=({reducerPath:e,queryThunk:t,api:r,refetchQuery:n,internalState:i})=>{const o={},a=(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)&&s(d.meta.arg,c),r.util.resetApiState.match(d)&&g()};function s({queryCacheKey:d},c){const l=c.getState()[e].queries[d],h=i.currentSubscriptions[d];if(!l||l.status==="uninitialized")return;const b=m(h);if(!Number.isFinite(b))return;const _=o[d];_!=null&&_.timeout&&(clearTimeout(_.timeout),_.timeout=void 0);const y=Date.now()+b,v=o[d]={nextPollTimestamp:y,pollingInterval:b,timeout:setTimeout(()=>{v.timeout=void 0,c.dispatch(n(l,d))},b)}}function u({queryCacheKey:d},c){const l=c.getState()[e].queries[d],h=i.currentSubscriptions[d];if(!l||l.status==="uninitialized")return;const b=m(h);if(!Number.isFinite(b)){p(d);return}const _=o[d],y=Date.now()+b;(!_||y<_.nextPollTimestamp)&&s({queryCacheKey:d},c)}function p(d){const c=o[d];c!=null&&c.timeout&&clearTimeout(c.timeout),delete o[d]}function g(){for(const d of Object.keys(o))p(d)}function m(d={}){let c=Number.POSITIVE_INFINITY;for(let f in d)d[f].pollingInterval&&(c=Math.min(d[f].pollingInterval,c));return c}return a},hf=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,a=(u,p)=>{fo.match(u)&&s(p,"refetchOnFocus"),po.match(u)&&s(p,"refetchOnReconnect")};function s(u,p){const g=u.getState()[e],m=g.queries,d=i.currentSubscriptions;t.batch(()=>{for(const c of Object.keys(d)){const f=m[c],l=d[c];if(!l||!f)continue;(Object.values(l).some(b=>b[p]===!0)||Object.values(l).every(b=>b[p]===void 0)&&g.config[p])&&(xt(l)===0?u.dispatch(o({queryCacheKey:c})):f.status!=="uninitialized"&&u.dispatch(n(f,c)))}})}return a},Ba=new Error("Promise never resolved before cacheEntryRemoved."),mf=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const a=yi(n),s=yi(i),u=nt(n,i),p={},g=(c,f,l)=>{const h=m(c);if(n.pending.match(c)){const b=l[t].queries[h],_=f.getState()[t].queries[h];!b&&_&&d(c.meta.arg.endpointName,c.meta.arg.originalArgs,h,f,c.meta.requestId)}else if(i.pending.match(c))f.getState()[t].mutations[h]&&d(c.meta.arg.endpointName,c.meta.arg.originalArgs,h,f,c.meta.requestId);else if(u(c)){const b=p[h];b!=null&&b.valueResolved&&(b.valueResolved({data:c.payload,meta:c.meta.baseQueryMeta}),delete b.valueResolved)}else if(e.internalActions.removeQueryResult.match(c)||e.internalActions.removeMutationResult.match(c)){const b=p[h];b&&(delete p[h],b.cacheEntryRemoved())}else if(e.util.resetApiState.match(c))for(const[b,_]of Object.entries(p))delete p[b],_.cacheEntryRemoved()};function m(c){return a(c)?c.meta.arg.queryCacheKey:s(c)?c.meta.requestId:e.internalActions.removeQueryResult.match(c)?c.payload.queryCacheKey:e.internalActions.removeMutationResult.match(c)?dr(c.payload):""}function d(c,f,l,h,b){const _=r.endpointDefinitions[c],y=_==null?void 0:_.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 Ba})]);k.catch(()=>{}),p[l]=v;const C=e.endpoints[c].select(_.type==="query"?f:l),x=h.dispatch((R,M,P)=>P),A=$(I({},h),{getCacheEntry:()=>C(h.getState()),requestId:b,extra:x,updateCachedData:_.type==="query"?R=>h.dispatch(e.util.updateQueryData(c,f,R)):void 0,cacheDataLoaded:k,cacheEntryRemoved:S}),E=y(f,A);Promise.resolve(E).catch(R=>{if(R!==Ba)throw R})}return g},gf=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=uo(r,n),o=Rt(r,n),a=nt(r,n),s={};return(p,g)=>{var m,d,c;if(i(p)){const{requestId:f,arg:{endpointName:l,originalArgs:h}}=p.meta,b=t.endpointDefinitions[l],_=b==null?void 0:b.onQueryStarted;if(_){const y={},v=new Promise((x,A)=>{y.resolve=x,y.reject=A});v.catch(()=>{}),s[f]=y;const S=e.endpoints[l].select(b.type==="query"?h:f),k=g.dispatch((x,A,E)=>E),C=$(I({},g),{getCacheEntry:()=>S(g.getState()),requestId:f,extra:k,updateCachedData:b.type==="query"?x=>g.dispatch(e.util.updateQueryData(l,h,x)):void 0,queryFulfilled:v});_(h,C)}}else if(a(p)){const{requestId:f,baseQueryMeta:l}=p.meta;(m=s[f])==null||m.resolve({data:p.payload,meta:l}),delete s[f]}else if(o(p)){const{requestId:f,rejectedWithValue:l,baseQueryMeta:h}=p.meta;(c=s[f])==null||c.reject({error:(d=p.payload)!=null?d:p.error,isUnhandledError:!l,meta:h}),delete s[f]}}},yf=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t))},wf=({api:e,queryThunk:t,internalState:r})=>{const n=`${e.reducerPath}/subscriptions`;let i=null,o=null;const{updateSubscriptionOptions:a,unsubscribeQueryResult:s}=e.internalActions,u=(c,f)=>{var h,b,_,y,v,S,k,C,x;if(a.match(f)){const{queryCacheKey:A,requestId:E,options:R}=f.payload;return(h=c==null?void 0:c[A])!=null&&h[E]&&(c[A][E]=R),!0}if(s.match(f)){const{queryCacheKey:A,requestId:E}=f.payload;return c[A]&&delete c[A][E],!0}if(e.internalActions.removeQueryResult.match(f))return delete c[f.payload.queryCacheKey],!0;if(t.pending.match(f)){const{meta:{arg:A,requestId:E}}=f,R=(_=c[b=A.queryCacheKey])!=null?_:c[b]={};return R[`${E}_running`]={},A.subscribe&&(R[E]=(v=(y=A.subscriptionOptions)!=null?y:R[E])!=null?v:{}),!0}let l=!1;if(t.fulfilled.match(f)||t.rejected.match(f)){const A=c[f.meta.arg.queryCacheKey]||{},E=`${f.meta.requestId}_running`;l||(l=!!A[E]),delete A[E]}if(t.rejected.match(f)){const{meta:{condition:A,arg:E,requestId:R}}=f;if(A&&E.subscribe){const M=(k=c[S=E.queryCacheKey])!=null?k:c[S]={};M[R]=(x=(C=E.subscriptionOptions)!=null?C:M[R])!=null?x:{},l=!0}}return l},p=()=>r.currentSubscriptions,d={getSubscriptions:p,getSubscriptionCount:c=>{var h;const l=(h=p()[c])!=null?h:{};return xt(l)},isRequestSubscribed:(c,f)=>{var h;const l=p();return!!((h=l==null?void 0:l[c])!=null&&h[f])}};return(c,f)=>{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 l=u(r.currentSubscriptions,c);let h=!0;if(l){o||(o=setTimeout(()=>{const y=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,v]=hc(i,()=>y);f.next(e.internalActions.subscriptionsUpdated(v)),i=y,o=null},500));const b=typeof c.type=="string"&&!!c.type.startsWith(n),_=t.rejected.match(c)&&c.meta.condition&&!!c.meta.arg.subscribe;h=!b&&!_}return[h,!1]}};function bf(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:o}=i,a={invalidateTags:ye(`${t}/invalidateTags`)},s=m=>m.type.startsWith(`${t}/`),u=[yf,lf,ff,pf,mf,gf];return{middleware:m=>{let d=!1,c={currentSubscriptions:{}};const f=$(I({},e),{internalState:c,refetchQuery:g,isThisApiSliceAction:s}),l=u.map(_=>_(f)),h=wf(f),b=hf(f);return _=>y=>{if(!sc(y))return _(y);d||(d=!0,m.dispatch(n.internalActions.middlewareRegistered(o)));const v=$(I({},m),{next:_}),S=m.getState(),[k,C]=h(y,v,S);let x;if(k?x=_(y):x=C,m.getState()[t]&&(b(y,v,S),s(y)||i.hasRehydrationInfo(y)))for(let A of l)A(y,v,S);return x}},actions:a};function g(m,d,c={}){return r(I({type:"query",endpointName:m.endpointName,originalArgs:m.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:d},c))}}function Ze(e,...t){return Object.assign(e,...t)}var Na=Symbol(),vf=()=>({name:Na,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:a,refetchOnFocus:s,refetchOnReconnect:u,invalidationBehavior:p},g){sl();const m=j=>j;Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:po,onOffline:xc,onFocus:fo,onFocusLost:kc},util:{}});const{queryThunk:d,mutationThunk:c,patchQueryData:f,updateQueryData:l,upsertQueryData:h,prefetch:b,buildMatchThunkActions:_}=of({baseQuery:t,reducerPath:n,context:g,api:e,serializeQueryArgs:i,assertTagType:m}),{reducer:y,actions:v}=af({context:g,queryThunk:d,mutationThunk:c,reducerPath:n,assertTagType:m,config:{refetchOnFocus:s,refetchOnReconnect:u,refetchOnMountOrArgChange:a,keepUnusedDataFor:o,reducerPath:n,invalidationBehavior:p}});Ze(e.util,{patchQueryData:f,updateQueryData:l,upsertQueryData:h,prefetch:b,resetApiState:v.resetApiState}),Ze(e.internalActions,v);const{middleware:S,actions:k}=bf({reducerPath:n,context:g,queryThunk:d,mutationThunk:c,api:e,assertTagType:m});Ze(e.util,k),Ze(e,{reducer:y,middleware:S});const{buildQuerySelector:C,buildMutationSelector:x,selectInvalidatedBy:A,selectCachedArgsForQuery:E}=sf({serializeQueryArgs:i,reducerPath:n});Ze(e.util,{selectInvalidatedBy:A,selectCachedArgsForQuery:E});const{buildInitiateQuery:R,buildInitiateMutation:M,getRunningMutationThunk:P,getRunningMutationsThunk:F,getRunningQueriesThunk:U,getRunningQueryThunk:X}=nf({queryThunk:d,mutationThunk:c,api:e,serializeQueryArgs:i,context:g});return Ze(e.util,{getRunningMutationThunk:P,getRunningMutationsThunk:F,getRunningQueryThunk:X,getRunningQueriesThunk:U}),{name:Na,injectEndpoint(j,L){var te,pe;const ne=e;(pe=(te=ne.endpoints)[j])!=null||(te[j]={}),Ac(L)?Ze(ne.endpoints[j],{name:j,select:C(j,L),initiate:R(j,L)},_(d,j)):tf(L)&&Ze(ne.endpoints[j],{name:j,select:x(),initiate:M(j)},_(c,j))}}}}),Rc={exports:{}},Pc={};const _f=_d(er);/**
8
+ */var se=typeof Symbol=="function"&&Symbol.for,$i=se?Symbol.for("react.element"):60103,Ui=se?Symbol.for("react.portal"):60106,cn=se?Symbol.for("react.fragment"):60107,un=se?Symbol.for("react.strict_mode"):60108,ln=se?Symbol.for("react.profiler"):60114,dn=se?Symbol.for("react.provider"):60109,fn=se?Symbol.for("react.context"):60110,zi=se?Symbol.for("react.async_mode"):60111,pn=se?Symbol.for("react.concurrent_mode"):60111,hn=se?Symbol.for("react.forward_ref"):60112,mn=se?Symbol.for("react.suspense"):60113,fl=se?Symbol.for("react.suspense_list"):60120,gn=se?Symbol.for("react.memo"):60115,yn=se?Symbol.for("react.lazy"):60116,pl=se?Symbol.for("react.block"):60121,hl=se?Symbol.for("react.fundamental"):60117,ml=se?Symbol.for("react.responder"):60118,gl=se?Symbol.for("react.scope"):60119;function Ce(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case $i:switch(e=e.type,e){case zi: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 Ui:return t}}}function Ia(e){return Ce(e)===pn}Q.AsyncMode=zi;Q.ConcurrentMode=pn;Q.ContextConsumer=fn;Q.ContextProvider=dn;Q.Element=$i;Q.ForwardRef=hn;Q.Fragment=cn;Q.Lazy=yn;Q.Memo=gn;Q.Portal=Ui;Q.Profiler=ln;Q.StrictMode=un;Q.Suspense=mn;Q.isAsyncMode=function(e){return Ia(e)||Ce(e)===zi};Q.isConcurrentMode=Ia;Q.isContextConsumer=function(e){return Ce(e)===fn};Q.isContextProvider=function(e){return Ce(e)===dn};Q.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===$i};Q.isForwardRef=function(e){return Ce(e)===hn};Q.isFragment=function(e){return Ce(e)===cn};Q.isLazy=function(e){return Ce(e)===yn};Q.isMemo=function(e){return Ce(e)===gn};Q.isPortal=function(e){return Ce(e)===Ui};Q.isProfiler=function(e){return Ce(e)===ln};Q.isStrictMode=function(e){return Ce(e)===un};Q.isSuspense=function(e){return Ce(e)===mn};Q.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===cn||e===pn||e===ln||e===un||e===mn||e===fl||typeof e=="object"&&e!==null&&(e.$$typeof===yn||e.$$typeof===gn||e.$$typeof===dn||e.$$typeof===fn||e.$$typeof===hn||e.$$typeof===hl||e.$$typeof===ml||e.$$typeof===gl||e.$$typeof===pl)};Q.typeOf=Ce;Pa.exports=Q;var yl=Pa.exports,Ma=yl,wl={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},bl={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Fa={};Fa[Ma.ForwardRef]=wl;Fa[Ma.Memo]=bl;var vl=!0;function Da(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||vl===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Hi=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 _l(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 Sl={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},Cl=/[A-Z]|^ms/g,kl=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ba=function(t){return t.charCodeAt(1)===45},jo=function(t){return t!=null&&typeof t!="boolean"},Ln=_a(function(e){return Ba(e)?e:e.replace(Cl,"-$&").toLowerCase()}),Ho=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(kl,function(n,i,o){return Ne={name:i,styles:o,next:Ne},i})}return Sl[t]!==1&&!Ba(t)&&typeof r=="number"&&r!==0?r+"px":r};function er(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 xl(e,t,r)}case"function":{if(e!==void 0){var o=Ne,s=r(e);return Ne=o,er(e,t,s)}break}}if(t==null)return r;var a=t[r];return a!==void 0?a:r}function xl(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=er(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+=Ln(o)+":"+Ho(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+=Ln(o)+":"+Ho(o,s[a])+";");else{var u=er(e,t,s);switch(o){case"animation":case"animationName":{n+=Ln(o)+":"+u+";";break}default:n+=o+"{"+u+"}"}}}return n}var qo=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Ne,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="";Ne=void 0;var s=t[0];s==null||s.raw===void 0?(i=!1,o+=er(n,r,s)):o+=s[0];for(var a=1;a<t.length;a++)o+=er(n,r,t[a]),i&&(o+=s[a]);qo.lastIndex=0;for(var u="",m;(m=qo.exec(o))!==null;)u+="-"+m[1];var y=_l(o)+u;return{name:y,styles:o,next:Ne}},El=function(t){return t()},Na=Yt.useInsertionEffect?Yt.useInsertionEffect:!1,Oa=Na||El,Wo=Na||mt,bn={}.hasOwnProperty,La=nn(typeof HTMLElement!="undefined"?Ra({key:"css"}):null),Al=La.Provider,qi=function(t){return Fi(function(r,n){var i=Ft(La);return t(r,i,n)})},Wi=nn({}),ci="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",$a=function(t,r){var n={};for(var i in r)bn.call(r,i)&&(n[i]=r[i]);return n[ci]=t,n},Tl=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return ji(r,n,i),Oa(function(){return Hi(r,n,i)}),null},Rl=qi(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[ci],o=[n],s="";typeof e.className=="string"?s=Da(t.registered,o,e.className):e.className!=null&&(s=e.className+" ");var a=wn(o,void 0,Ft(Wi));s+=t.key+"-"+a.name;var u={};for(var m in e)bn.call(e,m)&&m!=="css"&&m!==ci&&(u[m]=e[m]);return u.ref=r,u.className=s,Z(_e,null,Z(Tl,{cache:t,serialized:a,isStringTag:typeof i=="string"}),Z(i,u))}),Ua=Rl,Pl=qi(function(e,t){var r=e.styles,n=wn([r],void 0,Ft(Wi)),i=Ee();return Wo(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]),Wo(function(){var o=i.current,s=o[0],a=o[1];if(a){o[1]=!1;return}if(n.next!==void 0&&Hi(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 Il(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return wn(t)}var Ml=Bu,Fl=function(t){return t!=="theme"},Vo=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Ml:Fl},Qo=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},Dl=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return ji(r,n,i),Oa(function(){return Hi(r,n,i)}),null},Bl=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=Qo(t,r,n),u=a||Vo(i),m=!u("as");return function(){var y=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&h.push("label:"+o+";"),y[0]==null||y[0].raw===void 0)h.push.apply(h,y);else{h.push(y[0][0]);for(var d=y.length,c=1;c<d;c++)h.push(y[c],y[0][c])}var l=qi(function(f,p,w){var _=m&&f.as||i,g="",v=[],S=f;if(f.theme==null){S={};for(var k in f)S[k]=f[k];S.theme=Ft(Wi)}typeof f.className=="string"?g=Da(p.registered,v,f.className):f.className!=null&&(g=f.className+" ");var C=wn(h.concat(v),p.registered,S);g+=p.key+"-"+C.name,s!==void 0&&(g+=" "+s);var x=m&&a===void 0?Vo(_):u,E={};for(var A in f)m&&A==="as"||x(A)&&(E[A]=f[A]);return E.className=g,E.ref=w,Z(_e,null,Z(Dl,{cache:p,serialized:C,isStringTag:typeof _=="string"}),Z(_,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=h,l.__emotion_forwardProp=a,Object.defineProperty(l,"toString",{value:function(){return"."+s}}),l.withComponent=function(f,p){return e(f,ei({},r,p,{shouldForwardProp:Qo(l,p,!0)})).apply(void 0,h)},l}},Nl=["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"],j=Bl.bind();Nl.forEach(function(e){j[e]=j(e)});function ae(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 Ol=typeof Symbol=="function"&&Symbol.observable||"@@observable",Jo=Ol,$n=()=>Math.random().toString(36).substring(7).split("").join("."),Ll={INIT:`@@redux/INIT${$n()}`,REPLACE:`@@redux/REPLACE${$n()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${$n()}`},Wr=Ll;function $e(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 za(e,t,r){if(typeof e!="function")throw new Error(ae(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ae(0));if(typeof t=="function"&&typeof r=="undefined"&&(r=t,t=void 0),typeof r!="undefined"){if(typeof r!="function")throw new Error(ae(1));return r(za)(e,t)}let n=e,i=t,o=new Map,s=o,a=0,u=!1;function m(){s===o&&(s=new Map,o.forEach((p,w)=>{s.set(w,p)}))}function y(){if(u)throw new Error(ae(3));return i}function h(p){if(typeof p!="function")throw new Error(ae(4));if(u)throw new Error(ae(5));let w=!0;m();const _=a++;return s.set(_,p),function(){if(w){if(u)throw new Error(ae(6));w=!1,m(),s.delete(_),o=null}}}function d(p){if(!$e(p))throw new Error(ae(7));if(typeof p.type=="undefined")throw new Error(ae(8));if(typeof p.type!="string")throw new Error(ae(17));if(u)throw new Error(ae(9));try{u=!0,i=n(i,p)}finally{u=!1}return(o=s).forEach(_=>{_()}),p}function c(p){if(typeof p!="function")throw new Error(ae(10));n=p,d({type:Wr.REPLACE})}function l(){const p=h;return{subscribe(w){if(typeof w!="object"||w===null)throw new Error(ae(11));function _(){const v=w;v.next&&v.next(y())}return _(),{unsubscribe:p(_)}},[Jo](){return this}}}return d({type:Wr.INIT}),{dispatch:d,subscribe:h,getState:y,replaceReducer:c,[Jo]:l}}function $l(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:Wr.INIT})=="undefined")throw new Error(ae(12));if(typeof r(void 0,{type:Wr.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(ae(13))})}function ja(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{$l(r)}catch(o){i=o}return function(s={},a){if(i)throw i;let u=!1;const m={};for(let y=0;y<n.length;y++){const h=n[y],d=r[h],c=s[h],l=d(c,a);if(typeof l=="undefined")throw a&&a.type,new Error(ae(14));m[h]=l,u=u||l!==c}return u=u||n.length!==Object.keys(s).length,u?m:s}}function Vr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function Ul(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(ae(15))};const s={getState:i.getState,dispatch:(u,...m)=>o(u,...m)},a=e.map(u=>u(s));return o=Vr(...a)(i.dispatch),G(D({},i),{dispatch:o})}}function Ha(e){return $e(e)&&"type"in e&&typeof e.type=="string"}var Vi=Symbol.for("immer-nothing"),Vt=Symbol.for("immer-draftable"),ye=Symbol.for("immer-state");function le(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var dt=Object.getPrototypeOf;function Ie(e){return!!e&&!!e[ye]}function Me(e){var t;return e?qa(e)||Array.isArray(e)||!!e[Vt]||!!((t=e.constructor)!=null&&t[Vt])||fr(e)||pr(e):!1}var zl=Object.prototype.constructor.toString();function qa(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)===zl}function jl(e){return Ie(e)||le(15,e),e[ye].base_}function tr(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[ye];return t?t.type_:Array.isArray(e)?1:fr(e)?2:pr(e)?3:0}function rr(e,t){return ft(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Un(e,t){return ft(e)===2?e.get(t):e[t]}function Wa(e,t,r){const n=ft(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Hl(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function fr(e){return e instanceof Map}function pr(e){return e instanceof Set}function at(e){return e.copy_||e.base_}function ui(e,t){if(fr(e))return new Map(e);if(pr(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&qa(e))return dt(e)?D({},e):Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[ye];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 Qi(e,t=!1){return vn(e)||Ie(e)||!Me(e)||(ft(e)>1&&(e.set=e.add=e.clear=e.delete=ql),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>Qi(n,!0))),e}function ql(){le(2)}function vn(e){return Object.isFrozen(e)}var li={};function pt(e){const t=li[e];return t||le(0,e),t}function Wl(e,t){li[e]||(li[e]=t)}var nr;function Va(){return nr}function Vl(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Ko(e,t){t&&(pt("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function di(e){fi(e),e.drafts_.forEach(Ql),e.drafts_=null}function fi(e){e===nr&&(nr=e.parent_)}function Go(e){return nr=Vl(nr,e)}function Ql(e){const t=e[ye];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Yo(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[ye].modified_&&(di(t),le(4)),Me(e)&&(e=Qr(t,e),t.parent_||Jr(t,e)),t.patches_&&pt("Patches").generateReplacementPatches_(r[ye].base_,e,t.patches_,t.inversePatches_)):e=Qr(t,r,[]),di(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Vi?e:void 0}function Qr(e,t,r){if(vn(t))return t;const n=t[ye];if(!n)return tr(t,(i,o)=>Xo(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),tr(o,(a,u)=>Xo(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 Xo(e,t,r,n,i,o,s){if(Ie(i)){const a=o&&t&&t.type_!==3&&!rr(t.assigned_,n)?o.concat(n):void 0,u=Qr(e,i,a);if(Wa(r,n,u),Ie(u))e.canAutoFreeze_=!1;else return}else s&&r.add(i);if(Me(i)&&!vn(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Qr(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_&&Qi(t,r)}function Jl(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:Va(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=Ji;r&&(i=[n],o=ir);const{revoke:s,proxy:a}=Proxy.revocable(i,o);return n.draft_=a,n.revoke_=s,a}var Ji={get(e,t){if(t===ye)return e;const r=at(e);if(!rr(r,t))return Kl(e,r,t);const n=r[t];return e.finalized_||!Me(n)?n:n===zn(e.base_,t)?(jn(e),e.copy_[t]=hi(n,e)):n},has(e,t){return t in at(e)},ownKeys(e){return Reflect.ownKeys(at(e))},set(e,t,r){const n=Qa(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[ye];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(Hl(r,i)&&(r!==void 0||rr(e.base_,t)))return!0;jn(e),pi(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,jn(e),pi(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(){le(11)},getPrototypeOf(e){return dt(e.base_)},setPrototypeOf(){le(12)}},ir={};tr(Ji,(e,t)=>{ir[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});ir.deleteProperty=function(e,t){return ir.set.call(this,e,t,void 0)};ir.set=function(e,t,r){return Ji.set.call(this,e[0],t,r,e[0])};function zn(e,t){const r=e[ye];return(r?at(r):e)[t]}function Kl(e,t,r){var i;const n=Qa(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function Qa(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 pi(e){e.modified_||(e.modified_=!0,e.parent_&&pi(e.parent_))}function jn(e){e.copy_||(e.copy_=ui(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Gl=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,...m){return s.produce(u,y=>r.call(this,y,...m))}}typeof r!="function"&&le(6),n!==void 0&&typeof n!="function"&&le(7);let i;if(Me(t)){const o=Go(this),s=hi(t,void 0);let a=!0;try{i=r(s),a=!1}finally{a?di(o):fi(o)}return Ko(o,n),Yo(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===Vi&&(i=void 0),this.autoFreeze_&&Qi(i,!0),n){const o=[],s=[];pt("Patches").generateReplacementPatches_(t,i,o,s),n(o,s)}return i}else le(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){Me(e)||le(8),Ie(e)&&(e=Ja(e));const t=Go(this),r=hi(e,void 0);return r[ye].isManual_=!0,fi(t),r}finishDraft(e,t){const r=e&&e[ye];(!r||!r.isManual_)&&le(9);const{scope_:n}=r;return Ko(n,t),Yo(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 Ie(e)?n(e,t):this.produce(e,i=>n(i,t))}};function hi(e,t){const r=fr(e)?pt("MapSet").proxyMap_(e,t):pr(e)?pt("MapSet").proxySet_(e,t):Jl(e,t);return(t?t.scope_:Va()).drafts_.push(r),r}function Ja(e){return Ie(e)||le(10,e),Ka(e)}function Ka(e){if(!Me(e)||vn(e))return e;const t=e[ye];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=ui(e,t.scope_.immer_.useStrictShallowCopy_)}else r=ui(e,!0);return tr(r,(n,i)=>{Wa(r,n,Ka(i))}),t&&(t.finalized_=!1),r}function Yl(){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,_=d.copy_;_.length<p.length&&([p,_]=[_,p],[l,f]=[f,l]);for(let g=0;g<p.length;g++)if(w[g]&&_[g]!==p[g]){const v=c.concat([g]);l.push({op:t,path:v,value:h(_[g])}),f.push({op:t,path:v,value:h(p[g])})}for(let g=p.length;g<_.length;g++){const v=c.concat([g]);l.push({op:r,path:v,value:h(_[g])})}for(let g=_.length-1;p.length<=g;--g){const v=c.concat([g]);f.push({op:n,path:v})}}function s(d,c,l,f){const{base_:p,copy_:w}=d;tr(d.assigned_,(_,g)=>{const v=Un(p,_),S=Un(w,_),k=g?rr(p,_)?t:r:n;if(v===S&&k===t)return;const C=c.concat(_);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:h(v)}:{op:t,path:C,value:h(v)})})}function a(d,c,l,f){let{base_:p,copy_:w}=d,_=0;p.forEach(g=>{if(!w.has(g)){const v=c.concat([_]);l.push({op:n,path:v,value:g}),f.unshift({op:r,path:v,value:g})}_++}),_=0,w.forEach(g=>{if(!p.has(g)){const v=c.concat([_]);l.push({op:r,path:v,value:g}),f.unshift({op:n,path:v,value:g})}_++})}function u(d,c,l,f){l.push({op:t,path:[],value:c===Vi?void 0:c}),f.push({op:t,path:[],value:d})}function m(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")&&le(19),typeof w=="function"&&C==="prototype"&&le(19),w=Un(w,C),typeof w!="object"&&le(18,f.join("/"))}const _=ft(w),g=y(l.value),v=f[f.length-1];switch(p){case t:switch(_){case 2:return w.set(v,g);case 3:le(16);default:return w[v]=g}case r:switch(_){case 1:return v==="-"?w.push(g):w.splice(v,0,g);case 2:return w.set(v,g);case 3:return w.add(g);default:return w[v]=g}case n:switch(_){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:le(17,p)}}),d}function y(d){if(!Me(d))return d;if(Array.isArray(d))return d.map(y);if(fr(d))return new Map(Array.from(d.entries()).map(([l,f])=>[l,y(f)]));if(pr(d))return new Set(Array.from(d).map(y));const c=Object.create(dt(d));for(const l in d)c[l]=y(d[l]);return rr(d,Vt)&&(c[Vt]=d[Vt]),c}function h(d){return Ie(d)?y(d):d}Wl("Patches",{applyPatches_:m,generatePatches_:i,generateReplacementPatches_:u})}var Se=new Gl,hr=Se.produce,Ga=Se.produceWithPatches.bind(Se);Se.setAutoFreeze.bind(Se);Se.setUseStrictShallowCopy.bind(Se);var Zo=Se.applyPatches.bind(Se);Se.createDraft.bind(Se);Se.finishDraft.bind(Se);function Xl(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function Zl(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function ed(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 es=e=>Array.isArray(e)?e:[e];function td(e){const t=Array.isArray(e[0])?e[0]:e;return ed(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function rd(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var nd=class{constructor(e){this.value=e}deref(){return this.value}},id=typeof WeakRef!="undefined"?WeakRef:nd,od=0,ts=1;function xr(){return{s:od,v:void 0,o:null,p:null}}function or(e,t={}){let r=xr();const{resultEqualityCheck:n}=t;let i,o=0;function s(){var h,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=xr(),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=xr(),p.set(f,a)):a=w}}const m=a;let y;if(a.s===ts?y=a.v:(y=e.apply(null,arguments),o++),m.s=ts,n){const c=(d=(h=i==null?void 0:i.deref)==null?void 0:h.call(i))!=null?d:i;c!=null&&n(c,y)&&(y=c,o!==0&&o--),i=typeof y=="object"&&y!==null||typeof y=="function"?new id(y):y}return m.v=y,y}return s.clearCache=()=>{r=xr(),s.resetResultsCount()},s.resultsCount=()=>o,s.resetResultsCount=()=>{o=0},s}function Ya(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let o=0,s=0,a,u={},m=i.pop();typeof m=="object"&&(u=m,m=i.pop()),Xl(m,`createSelector expects an output function after the inputs, but received: [${typeof m}]`);const y=D(D({},r),u),{memoize:h,memoizeOptions:d=[],argsMemoize:c=or,argsMemoizeOptions:l=[],devModeChecks:f={}}=y,p=es(d),w=es(l),_=td(i),g=h(function(){return o++,m.apply(null,arguments)},...p),v=c(function(){s++;const k=rd(_,arguments);return a=g.apply(null,k),a},...w);return Object.assign(v,{resultFunc:m,memoizedResultFunc:g,dependencies:_,dependencyRecomputations:()=>s,resetDependencyRecomputations:()=>{s=0},lastResult:()=>a,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:h,argsMemoize:c})};return Object.assign(n,{withTypes:()=>n}),n}var Ct=Ya(or),sd=Object.assign((e,t=Ct)=>{Zl(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:()=>sd});function Xa(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var ad=Xa(),cd=Xa,ud=(...e)=>{const t=Ya(...e);return(...r)=>{const n=t(...r),i=(o,...s)=>n(Ie(o)?Ja(o):o,...s);return Object.assign(i,n),i}};ud(or);var ld=typeof window!="undefined"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Vr:Vr.apply(null,arguments)},dd=e=>e&&typeof e.match=="function";function me(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(Ae(0));return D(D({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=>Ha(n)&&n.type===e,r}var Za=class zt extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,zt.prototype)}static get[Symbol.species](){return zt}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new zt(...t[0].concat(this)):new zt(...t.concat(this))}};function rs(e){return Me(e)?hr(e,()=>{}):e}function ns(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(Ae(10));const n=r.insert(t,e);return e.set(t,n),n}function fd(e){return typeof e=="boolean"}var pd=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t!=null?t:{};let s=new Za;return r&&(fd(r)?s.push(ad):s.push(cd(r.extraArgument))),s},_t="RTK_autoBatch",$t=()=>e=>({payload:e,meta:{[_t]:!0}}),ec=e=>t=>{setTimeout(t,e)},hd=typeof window!="undefined"&&window.requestAnimationFrame?window.requestAnimationFrame:ec(10),md=(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"?hd:e.type==="callback"?e.queueNotification:ec(e.timeout),m=()=>{s=!1,o&&(o=!1,a.forEach(y=>y()))};return Object.assign({},n,{subscribe(y){const h=()=>i&&y(),d=n.subscribe(h);return a.add(y),()=>{d(),a.delete(y)}},dispatch(y){var h;try{return i=!((h=y==null?void 0:y.meta)!=null&&h[_t]),o=!i,o&&(s||(s=!0,u(m))),n.dispatch(y)}finally{i=!0}}})},gd=e=>function(r){const{autoBatch:n=!0}=r!=null?r:{};let i=new Za(e);return n&&i.push(md(typeof n=="object"?n:void 0)),i},yd=!0;function wd(e){const t=pd(),{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($e(r))a=ja(r);else throw new Error(Ae(1));let u;typeof n=="function"?u=n(t):u=t();let m=Vr;i&&(m=ld(D({trace:!yd},typeof i=="object"&&i)));const y=Ul(...u),h=gd(y);let d=typeof s=="function"?s(h):h();const c=m(...d);return za(a,o,c)}function tc(e){const t={},r=[];let n;const i={addCase(o,s){const a=typeof o=="string"?o:o.type;if(!a)throw new Error(Ae(28));if(a in t)throw new Error(Ae(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 bd(e){return typeof e=="function"}function vd(e,t){let[r,n,i]=tc(t),o;if(bd(e))o=()=>rs(e());else{const a=rs(e);o=()=>a}function s(a=o(),u){let m=[r[u.type],...n.filter(({matcher:y})=>y(u)).map(({reducer:y})=>y)];return m.filter(y=>!!y).length===0&&(m=[i]),m.reduce((y,h)=>{if(h)if(Ie(y)){const c=h(y,u);return c===void 0?y:c}else{if(Me(y))return hr(y,d=>h(d,u));{const d=h(y,u);if(d===void 0){if(y===null)return y;throw new Error(Ae(9))}return d}}return y},a)}return s.getInitialState=o,s}var _d="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",rc=(e=21)=>{let t="",r=e;for(;r--;)t+=_d[Math.random()*64|0];return t},nc=(e,t)=>dd(e)?e.match(t):e(t);function tt(...e){return t=>e.some(r=>nc(r,t))}function Qt(...e){return t=>e.every(r=>nc(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 mr(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function Ki(...e){return e.length===0?t=>_n(t,["pending"]):mr(e)?t=>{const r=e.map(i=>i.pending);return tt(...r)(t)}:Ki()(e[0])}function Tt(...e){return e.length===0?t=>_n(t,["rejected"]):mr(e)?t=>{const r=e.map(i=>i.rejected);return tt(...r)(t)}:Tt()(e[0])}function Sn(...e){const t=r=>r&&r.meta&&r.meta.rejectedWithValue;return e.length===0?r=>Qt(Tt(...e),t)(r):mr(e)?r=>Qt(Tt(...e),t)(r):Sn()(e[0])}function rt(...e){return e.length===0?t=>_n(t,["fulfilled"]):mr(e)?t=>{const r=e.map(i=>i.fulfilled);return tt(...r)(t)}:rt()(e[0])}function mi(...e){return e.length===0?t=>_n(t,["pending","fulfilled","rejected"]):mr(e)?t=>{const r=[];for(const i of e)r.push(i.pending,i.rejected,i.fulfilled);return tt(...r)(t)}:mi()(e[0])}var Sd=["name","message","stack","code"],Hn=class{constructor(e,t){Bn(this,"_type");this.payload=e,this.meta=t}},is=class{constructor(e,t){Bn(this,"_type");this.payload=e,this.meta=t}},Cd=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of Sd)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},os=(()=>{function e(t,r,n){const i=me(t+"/fulfilled",(u,m,y,h)=>({payload:u,meta:G(D({},h||{}),{arg:y,requestId:m,requestStatus:"fulfilled"})})),o=me(t+"/pending",(u,m,y)=>({payload:void 0,meta:G(D({},y||{}),{arg:m,requestId:u,requestStatus:"pending"})})),s=me(t+"/rejected",(u,m,y,h,d)=>({payload:h,error:(n&&n.serializeError||Cd)(u||"Rejected"),meta:G(D({},d||{}),{arg:y,requestId:m,rejectedWithValue:!!h,requestStatus:"rejected",aborted:(u==null?void 0:u.name)==="AbortError",condition:(u==null?void 0:u.name)==="ConditionError"})}));function a(u){return(m,y,h)=>{const d=n!=null&&n.idGenerator?n.idGenerator(u):rc(),c=new AbortController;let l;function f(w){l=w,c.abort()}const p=function(){return he(this,null,function*(){var g,v;let w;try{let S=(g=n==null?void 0:n.condition)==null?void 0:g.call(n,u,{getState:y,extra:h});if(xd(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"})));m(o(d,u,(v=n==null?void 0:n.getPendingMeta)==null?void 0:v.call(n,{requestId:d,arg:u},{getState:y,extra:h}))),w=yield Promise.race([k,Promise.resolve(r(u,{dispatch:m,getState:y,extra:h,requestId:d,signal:c.signal,abort:f,rejectWithValue:(C,x)=>new Hn(C,x),fulfillWithValue:(C,x)=>new is(C,x)})).then(C=>{if(C instanceof Hn)throw C;return C instanceof is?i(C.payload,d,u,C.meta):i(C,d,u)})])}catch(S){w=S instanceof Hn?s(null,d,u,S.payload,S.meta):s(S,d,u)}return n&&!n.dispatchConditionRejection&&s.match(w)&&w.meta.condition||m(w),w})}();return Object.assign(p,{abort:f,requestId:d,arg:u,unwrap(){return p.then(kd)}})}}return Object.assign(a,{pending:o,rejected:s,fulfilled:i,settled:tt(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function kd(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function xd(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Ed=Symbol.for("rtk-slice-createasyncthunk");function Ad(e,t){return`${e}/${t}`}function Td({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[Ed];return function(i){const{name:o,reducerPath:s=o}=i;if(!o)throw new Error(Ae(11));const a=(typeof i.reducers=="function"?i.reducers(Pd()):i.reducers)||{},u=Object.keys(a),m={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},y={addCase(p,w){const _=typeof p=="string"?p:p.type;if(!_)throw new Error(Ae(12));if(_ in m.sliceCaseReducersByType)throw new Error(Ae(13));return m.sliceCaseReducersByType[_]=w,y},addMatcher(p,w){return m.sliceMatchers.push({matcher:p,reducer:w}),y},exposeAction(p,w){return m.actionCreators[p]=w,y},exposeCaseReducer(p,w){return m.sliceCaseReducersByName[p]=w,y}};u.forEach(p=>{const w=a[p],_={reducerName:p,type:Ad(o,p),createNotation:typeof i.reducers=="function"};Md(w)?Dd(_,w,y,t):Id(_,w,y)});function h(){const[p={},w=[],_=void 0]=typeof i.extraReducers=="function"?tc(i.extraReducers):[i.extraReducers],g=D(D({},p),m.sliceCaseReducersByType);return vd(i.initialState,v=>{for(let S in g)v.addCase(S,g[S]);for(let S of m.sliceMatchers)v.addMatcher(S.matcher,S.reducer);for(let S of w)v.addMatcher(S.matcher,S.reducer);_&&v.addDefaultCase(_)})}const d=p=>p,c=new WeakMap;let l;const f={name:o,reducerPath:s,reducer(p,w){return l||(l=h()),l(p,w)},actions:m.actionCreators,caseReducers:m.sliceCaseReducersByName,getInitialState(){return l||(l=h()),l.getInitialState()},getSelectors(p=d){const w=ns(c,this,{insert:()=>new WeakMap});return ns(w,p,{insert:()=>{var g;const _={};for(const[v,S]of Object.entries((g=i.selectors)!=null?g:{}))_[v]=Rd(this,S,p,this!==f);return _}})},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,g={}){var v=g,{reducerPath:w}=v,_=ot(v,["reducerPath"]);const S=w!=null?w:this.reducerPath;return p.inject({reducerPath:S,reducer:this.reducer},_),G(D({},this),{reducerPath:S})}};return f}}function Rd(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 qe=Td();function Pd(){function e(t,r){return D({_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 Id({type:e,reducerName:t,createNotation:r},n,i){let o,s;if("reducer"in n){if(r&&!Fd(n))throw new Error(Ae(17));o=n.reducer,s=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,s?me(e,s):me(e))}function Md(e){return e._reducerDefinitionType==="asyncThunk"}function Fd(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Dd({type:e,reducerName:t},r,n,i){if(!i)throw new Error(Ae(18));const{payloadCreator:o,fulfilled:s,pending:a,rejected:u,settled:m,options:y}=r,h=i(e,o,y);n.exposeAction(t,h),s&&n.addCase(h.fulfilled,s),a&&n.addCase(h.pending,a),u&&n.addCase(h.rejected,u),m&&n.addMatcher(h.settled,m),n.exposeCaseReducer(t,{fulfilled:s||Er,pending:a||Er,rejected:u||Er,settled:m||Er})}function Er(){}var Gi="listenerMiddleware";me(`${Gi}/add`);me(`${Gi}/removeAll`);me(`${Gi}/remove`);function Ae(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 ic=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(ic||{});function Bd(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Nd(e){return new RegExp("(^|:)//").test(e)}var Od=e=>e.replace(/\/$/,""),Ld=e=>e.replace(/^\//,"");function $d(e,t){if(!e)return t;if(!t)return e;if(Nd(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=Od(e),t=Ld(t),`${e}${r}${t}`}var ss=e=>[].concat(...e);function Ud(){return typeof navigator=="undefined"||navigator.onLine===void 0?!0:navigator.onLine}function zd(){return typeof document=="undefined"?!0:document.visibilityState!=="hidden"}var as=$e;function oc(e,t){if(e===t||!(as(e)&&as(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]=oc(e[s],t[s]),i&&(i=e[s]===o[s]);return i?e:o}var cs=(...e)=>fetch(...e),jd=e=>e.status>=200&&e.status<=299,Hd=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function us(e){if(!$e(e))return e;const t=D({},e);for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function qd(h={}){var d=h,{baseUrl:e,prepareHeaders:t=c=>c,fetchFn:r=cs,paramsSerializer:n,isJsonContentType:i=Hd,jsonContentType:o="application/json",jsonReplacer:s,timeout:a,responseHandler:u,validateStatus:m}=d,y=ot(d,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return typeof fetch=="undefined"&&r===cs&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),(l,f)=>he(this,null,function*(){const{signal:p,getState:w,extra:_,endpoint:g,forced:v,type:S}=f;let k,Bt=typeof l=="string"?{url:l}:l,{url:C,headers:x=new Headers(y.headers),params:E=void 0,responseHandler:A=u!=null?u:"json",validateStatus:R=m!=null?m:jd,timeout:M=a}=Bt,P=ot(Bt,["url","headers","params","responseHandler","validateStatus","timeout"]),I=D(G(D({},y),{signal:p}),P);x=new Headers(us(x)),I.headers=(yield t(x,{getState:w,extra:_,endpoint:g,forced:v,type:S}))||x;const $=ie=>typeof ie=="object"&&($e(ie)||Array.isArray(ie)||typeof ie.toJSON=="function");if(!I.headers.has("content-type")&&$(I.body)&&I.headers.set("content-type",o),$(I.body)&&i(I.headers)&&(I.body=JSON.stringify(I.body,s)),E){const ie=~C.indexOf("?")?"&":"?",Te=n?n(E):new URLSearchParams(us(E));C+=ie+Te}C=$d(e,C);const Y=new Request(C,I);k={request:new Request(C,I)};let L,re=!1,ee=M&&setTimeout(()=>{re=!0,f.abort()},M);try{L=yield r(Y)}catch(ie){return{error:{status:re?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(ie)},meta:k}}finally{ee&&clearTimeout(ee)}const de=L.clone();k.response=de;let je,ne="";try{let ie;if(yield Promise.all([c(L,A).then(Te=>je=Te,Te=>ie=Te),de.text().then(Te=>ne=Te,()=>{})]),ie)throw ie}catch(ie){return{error:{status:"PARSING_ERROR",originalStatus:L.status,data:ne,error:String(ie)},meta:k}}return R(L,je)?{data:je,meta:k}:{error:{status:L.status,data:je},meta:k}});function c(l,f){return he(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 ls=class{constructor(e,t=void 0){this.value=e,this.meta=t}},Yi=me("__rtkq/focused"),sc=me("__rtkq/unfocused"),Xi=me("__rtkq/online"),ac=me("__rtkq/offline");function cc(e){return e.type==="query"}function Wd(e){return e.type==="mutation"}function Zi(e,t,r,n,i,o){return Vd(e)?e(t,r,n,i).map(gi).map(o):Array.isArray(e)?e.map(gi).map(o):[]}function Vd(e){return typeof e=="function"}function gi(e){return typeof e=="string"?{type:e}:e}function ds(e){return e!=null}function kt(e){let t=0;for(const r in e)t++;return t}var sr=Symbol("forceQueryFn"),yi=e=>typeof e[sr]=="function";function Qd({serializeQueryArgs:e,queryThunk:t,mutationThunk:r,api:n,context:i}){const o=new Map,s=new Map,{unsubscribeQueryResult:a,removeMutationResult:u,updateSubscriptionOptions:m}=n.internalActions;return{buildInitiateQuery:l,buildInitiateMutation:f,getRunningQueryThunk:y,getRunningMutationThunk:h,getRunningQueriesThunk:d,getRunningMutationsThunk:c};function y(p,w){return _=>{var S;const g=i.endpointDefinitions[p],v=e({queryArgs:w,endpointDefinition:g,endpointName:p});return(S=o.get(_))==null?void 0:S[v]}}function h(p,w){return _=>{var g;return(g=s.get(_))==null?void 0:g[w]}}function d(){return p=>Object.values(o.get(p)||{}).filter(ds)}function c(){return p=>Object.values(s.get(p)||{}).filter(ds)}function l(p,w){const _=(g,{subscribe:v=!0,forceRefetch:S,subscriptionOptions:k,[sr]:C}={})=>(x,E)=>{var de;const A=e({queryArgs:g,endpointDefinition:w,endpointName:p}),R=t({type:"query",subscribe:v,forceRefetch:S,subscriptionOptions:k,endpointName:p,originalArgs:g,queryCacheKey:A,[sr]:C}),M=n.endpoints[p].select(g),P=x(R),I=M(E()),{requestId:$,abort:Y}=P,z=I.requestId!==$,L=(de=o.get(x))==null?void 0:de[A],re=()=>M(E()),ee=Object.assign(C?P.then(re):z&&!L?Promise.resolve(I):Promise.all([L,P]).then(re),{arg:g,requestId:$,subscriptionOptions:k,queryCacheKey:A,abort:Y,unwrap(){return he(this,null,function*(){const ne=yield ee;if(ne.isError)throw ne.error;return ne.data})},refetch:()=>x(_(g,{subscribe:!1,forceRefetch:!0})),unsubscribe(){v&&x(a({queryCacheKey:A,requestId:$}))},updateSubscriptionOptions(ne){ee.subscriptionOptions=ne,x(m({endpointName:p,requestId:$,queryCacheKey:A,options:ne}))}});if(!L&&!z&&!C){const ne=o.get(x)||{};ne[A]=ee,o.set(x,ne),ee.then(()=>{delete ne[A],kt(ne)||o.delete(x)})}return ee};return _}function f(p){return(w,{track:_=!0,fixedCacheKey:g}={})=>(v,S)=>{const k=r({type:"mutation",endpointName:p,originalArgs:w,track:_,fixedCacheKey:g}),C=v(k),{requestId:x,abort:E,unwrap:A}=C,R=C.unwrap().then($=>({data:$})).catch($=>({error:$})),M=()=>{v(u({requestId:x,fixedCacheKey:g}))},P=Object.assign(R,{arg:C.arg,requestId:x,abort:E,unwrap:A,reset:M}),I=s.get(v)||{};return s.set(v,I),I[x]=P,P.then(()=>{delete I[x],kt(I)||s.delete(v)}),g&&(I[g]=P,P.then(()=>{I[g]===P&&(delete I[g],kt(I)||s.delete(v))})),P}}}function fs(e){return e}function Jd({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const s=(_,g,v,S)=>(k,C)=>{const x=r[_],E=n({queryArgs:g,endpointDefinition:x,endpointName:_});if(k(i.internalActions.queryResultPatched({queryCacheKey:E,patches:v})),!S)return;const A=i.endpoints[_].select(g)(C()),R=Zi(x.providesTags,A.data,void 0,g,{},o);k(i.internalActions.updateProvidedBy({queryCacheKey:E,providedTags:R}))},a=(_,g,v,S=!0)=>(k,C)=>{const E=i.endpoints[_].select(g)(C());let A={patches:[],inversePatches:[],undo:()=>k(i.util.patchQueryData(_,g,A.inversePatches,S))};if(E.status==="uninitialized")return A;let R;if("data"in E)if(Me(E.data)){const[M,P,I]=Ga(E.data,v);A.patches.push(...P),A.inversePatches.push(...I),R=M}else R=v(E.data),A.patches.push({op:"replace",path:[],value:R}),A.inversePatches.push({op:"replace",path:[],value:E.data});return k(i.util.patchQueryData(_,g,A.patches,S)),A},u=(_,g,v)=>S=>S(i.endpoints[_].initiate(g,{subscribe:!1,forceRefetch:!0,[sr]:()=>({data:v})})),m=(A,R)=>he(this,[A,R],function*(_,{signal:g,abort:v,rejectWithValue:S,fulfillWithValue:k,dispatch:C,getState:x,extra:E}){const M=r[_.endpointName];try{let P=fs,I;const $={signal:g,abort:v,dispatch:C,getState:x,extra:E,endpoint:_.endpointName,type:_.type,forced:_.type==="query"?y(_,x()):void 0},Y=_.type==="query"?_[sr]:void 0;if(Y?I=Y():M.query?(I=yield t(M.query(_.originalArgs),$,M.extraOptions),M.transformResponse&&(P=M.transformResponse)):I=yield M.queryFn(_.originalArgs,$,M.extraOptions,z=>t(z,$,M.extraOptions)),I.error)throw new ls(I.error,I.meta);return k(yield P(I.data,I.meta,_.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:I.meta,[_t]:!0})}catch(P){let I=P;if(I instanceof ls){let $=fs;M.query&&M.transformErrorResponse&&($=M.transformErrorResponse);try{return S(yield $(I.value,I.meta,_.originalArgs),{baseQueryMeta:I.meta,[_t]:!0})}catch(Y){I=Y}}throw console.error(I),I}});function y(_,g){var x,E,A,R;const v=(E=(x=g[e])==null?void 0:x.queries)==null?void 0:E[_.queryCacheKey],S=(A=g[e])==null?void 0:A.config.refetchOnMountOrArgChange,k=v==null?void 0:v.fulfilledTimeStamp,C=(R=_.forceRefetch)!=null?R:_.subscribe&&S;return C?C===!0||(Number(new Date)-Number(k))/1e3>=C:!1}const h=os(`${e}/executeQuery`,m,{getPendingMeta(){return{startedTimeStamp:Date.now(),[_t]:!0}},condition(_,{getState:g}){var A,R,M;const v=g(),S=(R=(A=v[e])==null?void 0:A.queries)==null?void 0:R[_.queryCacheKey],k=S==null?void 0:S.fulfilledTimeStamp,C=_.originalArgs,x=S==null?void 0:S.originalArgs,E=r[_.endpointName];return yi(_)?!0:(S==null?void 0:S.status)==="pending"?!1:y(_,v)||cc(E)&&((M=E==null?void 0:E.forceRefetch)!=null&&M.call(E,{currentArg:C,previousArg:x,endpointState:S,state:v}))?!0:!k},dispatchConditionRejection:!0}),d=os(`${e}/executeMutation`,m,{getPendingMeta(){return{startedTimeStamp:Date.now(),[_t]:!0}}}),c=_=>"force"in _,l=_=>"ifOlderThan"in _,f=(_,g,v)=>(S,k)=>{const C=c(v)&&v.force,x=l(v)&&v.ifOlderThan,E=(R=!0)=>i.endpoints[_].initiate(g,{forceRefetch:R}),A=i.endpoints[_].select(g)(k());if(C)S(E());else if(x){const R=A==null?void 0:A.fulfilledTimeStamp;if(!R){S(E());return}(Number(new Date)-Number(new Date(R)))/1e3>=x&&S(E())}else S(E(!1))};function p(_){return g=>{var v,S;return((S=(v=g==null?void 0:g.meta)==null?void 0:v.arg)==null?void 0:S.endpointName)===_}}function w(_,g){return{matchPending:Qt(Ki(_),p(g)),matchFulfilled:Qt(rt(_),p(g)),matchRejected:Qt(Tt(_),p(g))}}return{queryThunk:h,mutationThunk:d,prefetch:f,updateQueryData:a,upsertQueryData:u,patchQueryData:s,buildMatchThunkActions:w}}function uc(e,t,r,n){return Zi(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 Ar(e,t,r){const n=e[t];n&&r(n)}function ar(e){var t;return(t="arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)!=null?t:e.requestId}function ps(e,t,r){const n=e[ar(t)];n&&r(n)}var Ut={};function Kd({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:o,hasRehydrationInfo:s},assertTagType:a,config:u}){const m=me(`${e}/resetApiState`),y=qe({name:`${e}/queries`,initialState:Ut,reducers:{removeQueryResult:{reducer(g,{payload:{queryCacheKey:v}}){delete g[v]},prepare:$t()},queryResultPatched:{reducer(g,{payload:{queryCacheKey:v,patches:S}}){Ar(g,v,k=>{k.data=Zo(k.data,S.concat())})},prepare:$t()}},extraReducers(g){g.addCase(t.pending,(v,{meta:S,meta:{arg:k}})=>{var x,E;const C=yi(k);(E=v[x=k.queryCacheKey])!=null||(v[x]={status:"uninitialized",endpointName:k.endpointName}),Ar(v,k.queryCacheKey,A=>{A.status="pending",A.requestId=C&&A.requestId?A.requestId:S.requestId,k.originalArgs!==void 0&&(A.originalArgs=k.originalArgs),A.startedTimeStamp=S.startedTimeStamp})}).addCase(t.fulfilled,(v,{meta:S,payload:k})=>{Ar(v,S.arg.queryCacheKey,C=>{var E;if(C.requestId!==S.requestId&&!yi(S.arg))return;const{merge:x}=n[S.arg.endpointName];if(C.status="fulfilled",x)if(C.data!==void 0){const{fulfilledTimeStamp:A,arg:R,baseQueryMeta:M,requestId:P}=S;let I=hr(C.data,$=>x($,k,{arg:R.originalArgs,baseQueryMeta:M,fulfilledTimeStamp:A,requestId:P}));C.data=I}else C.data=k;else C.data=(E=n[S.arg.endpointName].structuralSharing)==null||E?oc(Ie(C.data)?jl(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})=>{Ar(v,k.queryCacheKey,A=>{if(!S){if(A.requestId!==C)return;A.status="rejected",A.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)})}}),h=qe({name:`${e}/mutations`,initialState:Ut,reducers:{removeMutationResult:{reducer(g,{payload:v}){const S=ar(v);S in g&&delete g[S]},prepare:$t()}},extraReducers(g){g.addCase(r.pending,(v,{meta:S,meta:{requestId:k,arg:C,startedTimeStamp:x}})=>{C.track&&(v[ar(S)]={requestId:k,status:"pending",endpointName:C.endpointName,startedTimeStamp:x})}).addCase(r.fulfilled,(v,{payload:S,meta:k})=>{k.arg.track&&ps(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&&ps(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=qe({name:`${e}/invalidation`,initialState:Ut,reducers:{updateProvidedBy:{reducer(g,v){var C,x,E,A;const{queryCacheKey:S,providedTags:k}=v.payload;for(const R of Object.values(g))for(const M of Object.values(R)){const P=M.indexOf(S);P!==-1&&M.splice(P,1)}for(const{type:R,id:M}of k){const P=(A=(x=(C=g[R])!=null?C:g[R]={})[E=M||"__internal_without_id"])!=null?A:x[E]=[];P.includes(S)||P.push(S)}},prepare:$t()}},extraReducers(g){g.addCase(y.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,A;const{provided:k}=o(S);for(const[R,M]of Object.entries(k))for(const[P,I]of Object.entries(M)){const $=(A=(x=(C=v[R])!=null?C:v[R]={})[E=P||"__internal_without_id"])!=null?A:x[E]=[];for(const Y of I)$.includes(Y)||$.push(Y)}}).addMatcher(tt(rt(t),Sn(t)),(v,S)=>{const k=uc(S,"providesTags",n,a),{queryCacheKey:C}=S.meta.arg;d.caseReducers.updateProvidedBy(v,d.actions.updateProvidedBy({queryCacheKey:C,providedTags:k}))})}}),c=qe({name:`${e}/subscriptions`,initialState:Ut,reducers:{updateSubscriptionOptions(g,v){},unsubscribeQueryResult(g,v){},internal_getRTKQSubscriptions(){}}}),l=qe({name:`${e}/internalSubscriptions`,initialState:Ut,reducers:{subscriptionsUpdated:{reducer(g,v){return Zo(g,v.payload)},prepare:$t()}}}),f=qe({name:`${e}/config`,initialState:D({online:Ud(),focused:zd(),middlewareRegistered:!1},u),reducers:{middlewareRegistered(g,{payload:v}){g.middlewareRegistered=g.middlewareRegistered==="conflict"||i!==v?"conflict":!0}},extraReducers:g=>{g.addCase(Xi,v=>{v.online=!0}).addCase(ac,v=>{v.online=!1}).addCase(Yi,v=>{v.focused=!0}).addCase(sc,v=>{v.focused=!1}).addMatcher(s,v=>D({},v))}}),p=ja({queries:y.reducer,mutations:h.reducer,provided:d.reducer,subscriptions:l.reducer,config:f.reducer}),w=(g,v)=>p(m.match(v)?void 0:g,v),_=G(D(D(D(D(D(D({},f.actions),y.actions),c.actions),l.actions),h.actions),d.actions),{resetApiState:m});return{reducer:w,actions:_}}var ut=Symbol.for("RTKQ/skipToken"),lc={status:"uninitialized"},hs=hr(lc,()=>{}),ms=hr(lc,()=>{});function Gd({serializeQueryArgs:e,reducerPath:t}){const r=y=>hs,n=y=>ms;return{buildQuerySelector:s,buildMutationSelector:a,selectInvalidatedBy:u,selectCachedArgsForQuery:m};function i(y){return D(D({},y),Bd(y.status))}function o(y){return y[t]}function s(y,h){return d=>{const c=e({queryArgs:d,endpointDefinition:h,endpointName:y});return Ct(d===ut?r:p=>{var w,_,g;return(g=(_=(w=o(p))==null?void 0:w.queries)==null?void 0:_[c])!=null?g:hs},i)}}function a(){return y=>{var l;let h;return typeof y=="object"?h=(l=ar(y))!=null?l:ut:h=y,Ct(h===ut?n:f=>{var p,w,_;return(_=(w=(p=o(f))==null?void 0:p.mutations)==null?void 0:w[h])!=null?_:ms},i)}}function u(y,h){var l;const d=y[t],c=new Set;for(const f of h.map(gi)){const p=d.provided[f.type];if(!p)continue;let w=(l=f.id!==void 0?p[f.id]:ss(Object.values(p)))!=null?l:[];for(const _ of w)c.add(_)}return ss(Array.from(c.values()).map(f=>{const p=d.queries[f];return p?[{queryCacheKey:f,endpointName:p.endpointName,originalArgs:p.originalArgs}]:[]}))}function m(y,h){return Object.values(y[t].queries).filter(d=>(d==null?void 0:d.endpointName)===h&&d.status!=="uninitialized").map(d=>d.originalArgs)}}var yt=WeakMap?new WeakMap:void 0,gs=({endpointName:e,queryArgs:t})=>{let r="";const n=yt==null?void 0:yt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,s)=>$e(s)?Object.keys(s).sort().reduce((a,u)=>(a[u]=s[u],a),{}):s);$e(t)&&(yt==null||yt.set(t,i)),r=i}return`${e}(${r})`};function Yd(...e){return function(r){const n=or(m=>{var y,h;return(h=r.extractRehydrationInfo)==null?void 0:h.call(r,m,{reducerPath:(y=r.reducerPath)!=null?y:"api"})}),i=G(D({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed"},r),{extractRehydrationInfo:n,serializeQueryArgs(m){let y=gs;if("serializeQueryArgs"in m.endpointDefinition){const h=m.endpointDefinition.serializeQueryArgs;y=d=>{const c=h(d);return typeof c=="string"?c:gs(G(D({},d),{queryArgs:c}))}}else r.serializeQueryArgs&&(y=r.serializeQueryArgs);return y(m)},tagTypes:[...r.tagTypes||[]]}),o={endpointDefinitions:{},batch(m){m()},apiUid:rc(),extractRehydrationInfo:n,hasRehydrationInfo:or(m=>n(m)!=null)},s={injectEndpoints:u,enhanceEndpoints({addTagTypes:m,endpoints:y}){if(m)for(const h of m)i.tagTypes.includes(h)||i.tagTypes.push(h);if(y)for(const[h,d]of Object.entries(y))typeof d=="function"?d(o.endpointDefinitions[h]):Object.assign(o.endpointDefinitions[h]||{},d);return s}},a=e.map(m=>m.init(s,i,o));function u(m){const y=m.endpoints({query:h=>G(D({},h),{type:"query"}),mutation:h=>G(D({},h),{type:"mutation"})});for(const[h,d]of Object.entries(y))if(!(!m.overrideExisting&&h in o.endpointDefinitions)){o.endpointDefinitions[h]=d;for(const c of a)c.injectEndpoint(h,d)}return s}return s.injectEndpoints({endpoints:r.endpoints})}}function Xd(e){for(let t in e)return!1;return!0}var Zd=2147483647/1e3-1,ef=({reducerPath:e,api:t,context:r,internalState:n})=>{const{removeQueryResult:i,unsubscribeQueryResult:o}=t.internalActions;function s(y){const h=n.currentSubscriptions[y];return!!h&&!Xd(h)}const a={},u=(y,h,d)=>{var c;if(o.match(y)){const l=h.getState()[e],{queryCacheKey:f}=y.payload;m(f,(c=l.queries[f])==null?void 0:c.endpointName,h,l.config)}if(t.util.resetApiState.match(y))for(const[l,f]of Object.entries(a))f&&clearTimeout(f),delete a[l];if(r.hasRehydrationInfo(y)){const l=h.getState()[e],{queries:f}=r.extractRehydrationInfo(y);for(const[p,w]of Object.entries(f))m(p,w==null?void 0:w.endpointName,h,l.config)}};function m(y,h,d,c){var w;const l=r.endpointDefinitions[h],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,Zd));if(!s(y)){const _=a[y];_&&clearTimeout(_),a[y]=setTimeout(()=>{s(y)||d.dispatch(i({queryCacheKey:y})),delete a[y]},p*1e3)}}return u},tf=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:n,queryThunk:i,api:o,assertTagType:s,refetchQuery:a,internalState:u})=>{const{removeQueryResult:m}=o.internalActions,y=tt(rt(n),Sn(n)),h=tt(rt(n,i),Tt(n,i));let d=[];const c=(p,w)=>{y(p)?f(uc(p,"invalidatesTags",r,s),w):h(p)?f([],w):o.util.invalidateTags.match(p)&&f(Zi(p.payload,void 0,void 0,void 0,void 0,s),w)};function l(p){var w,_;for(const g in p.queries)if(((w=p.queries[g])==null?void 0:w.status)==="pending")return!0;for(const g in p.mutations)if(((_=p.mutations[g])==null?void 0:_.status)==="pending")return!0;return!1}function f(p,w){const _=w.getState(),g=_[e];if(d.push(...p),g.config.invalidationBehavior==="delayed"&&l(g))return;const v=d;if(d=[],v.length===0)return;const S=o.util.selectInvalidatedBy(_,v);t.batch(()=>{var C;const k=Array.from(S.values());for(const{queryCacheKey:x}of k){const E=g.queries[x],A=(C=u.currentSubscriptions[x])!=null?C:{};E&&(kt(A)===0?w.dispatch(m({queryCacheKey:x})):E.status!=="uninitialized"&&w.dispatch(a(E,x)))}})}return c},rf=({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)&&y()};function a({queryCacheKey:d},c){const f=c.getState()[e].queries[d],p=i.currentSubscriptions[d];if(!f||f.status==="uninitialized")return;const w=h(p);if(!Number.isFinite(w))return;const _=o[d];_!=null&&_.timeout&&(clearTimeout(_.timeout),_.timeout=void 0);const g=Date.now()+w,v=o[d]={nextPollTimestamp:g,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=h(p);if(!Number.isFinite(w)){m(d);return}const _=o[d],g=Date.now()+w;(!_||g<_.nextPollTimestamp)&&a({queryCacheKey:d},c)}function m(d){const c=o[d];c!=null&&c.timeout&&clearTimeout(c.timeout),delete o[d]}function y(){for(const d of Object.keys(o))m(d)}function h(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},nf=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,s=(u,m)=>{Yi.match(u)&&a(m,"refetchOnFocus"),Xi.match(u)&&a(m,"refetchOnReconnect")};function a(u,m){const y=u.getState()[e],h=y.queries,d=i.currentSubscriptions;t.batch(()=>{for(const c of Object.keys(d)){const l=h[c],f=d[c];if(!f||!l)continue;(Object.values(f).some(w=>w[m]===!0)||Object.values(f).every(w=>w[m]===void 0)&&y.config[m])&&(kt(f)===0?u.dispatch(o({queryCacheKey:c})):l.status!=="uninitialized"&&u.dispatch(n(l,c)))}})}return s},ys=new Error("Promise never resolved before cacheEntryRemoved."),of=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const s=mi(n),a=mi(i),u=rt(n,i),m={},y=(c,l,f)=>{const p=h(c);if(n.pending.match(c)){const w=f[t].queries[p],_=l.getState()[t].queries[p];!w&&_&&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=m[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=m[p];w&&(delete m[p],w.cacheEntryRemoved())}else if(e.util.resetApiState.match(c))for(const[w,_]of Object.entries(m))delete m[w],_.cacheEntryRemoved()};function h(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)?ar(c.payload):""}function d(c,l,f,p,w){const _=r.endpointDefinitions[c],g=_==null?void 0:_.onCacheEntryAdded;if(!g)return;let v={};const S=new Promise(R=>{v.cacheEntryRemoved=R}),k=Promise.race([new Promise(R=>{v.valueResolved=R}),S.then(()=>{throw ys})]);k.catch(()=>{}),m[f]=v;const C=e.endpoints[c].select(_.type==="query"?l:f),x=p.dispatch((R,M,P)=>P),E=G(D({},p),{getCacheEntry:()=>C(p.getState()),requestId:w,extra:x,updateCachedData:_.type==="query"?R=>p.dispatch(e.util.updateQueryData(c,l,R)):void 0,cacheDataLoaded:k,cacheEntryRemoved:S}),A=g(l,E);Promise.resolve(A).catch(R=>{if(R!==ys)throw R})}return y},sf=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=Ki(r,n),o=Tt(r,n),s=rt(r,n),a={};return(m,y)=>{var h,d,c;if(i(m)){const{requestId:l,arg:{endpointName:f,originalArgs:p}}=m.meta,w=t.endpointDefinitions[f],_=w==null?void 0:w.onQueryStarted;if(_){const g={},v=new Promise((x,E)=>{g.resolve=x,g.reject=E});v.catch(()=>{}),a[l]=g;const S=e.endpoints[f].select(w.type==="query"?p:l),k=y.dispatch((x,E,A)=>A),C=G(D({},y),{getCacheEntry:()=>S(y.getState()),requestId:l,extra:k,updateCachedData:w.type==="query"?x=>y.dispatch(e.util.updateQueryData(f,p,x)):void 0,queryFulfilled:v});_(p,C)}}else if(s(m)){const{requestId:l,baseQueryMeta:f}=m.meta;(h=a[l])==null||h.resolve({data:m.payload,meta:f}),delete a[l]}else if(o(m)){const{requestId:l,rejectedWithValue:f,baseQueryMeta:p}=m.meta;(c=a[l])==null||c.reject({error:(d=m.payload)!=null?d:m.error,isUnhandledError:!f,meta:p}),delete a[l]}}},af=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t))},cf=({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,_,g,v,S,k,C,x;if(s.match(l)){const{queryCacheKey:E,requestId:A,options:R}=l.payload;return(p=c==null?void 0:c[E])!=null&&p[A]&&(c[E][A]=R),!0}if(a.match(l)){const{queryCacheKey:E,requestId:A}=l.payload;return c[E]&&delete c[E][A],!0}if(e.internalActions.removeQueryResult.match(l))return delete c[l.payload.queryCacheKey],!0;if(t.pending.match(l)){const{meta:{arg:E,requestId:A}}=l,R=(_=c[w=E.queryCacheKey])!=null?_:c[w]={};return R[`${A}_running`]={},E.subscribe&&(R[A]=(v=(g=E.subscriptionOptions)!=null?g:R[A])!=null?v:{}),!0}let f=!1;if(t.fulfilled.match(l)||t.rejected.match(l)){const E=c[l.meta.arg.queryCacheKey]||{},A=`${l.meta.requestId}_running`;f||(f=!!E[A]),delete E[A]}if(t.rejected.match(l)){const{meta:{condition:E,arg:A,requestId:R}}=l;if(E&&A.subscribe){const M=(k=c[S=A.queryCacheKey])!=null?k:c[S]={};M[R]=(x=(C=A.subscriptionOptions)!=null?C:M[R])!=null?x:{},f=!0}}return f},m=()=>r.currentSubscriptions,d={getSubscriptions:m,getSubscriptionCount:c=>{var p;const f=(p=m()[c])!=null?p:{};return kt(f)},isRequestSubscribed:(c,l)=>{var p;const f=m();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 g=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,v]=Ga(i,()=>g);l.next(e.internalActions.subscriptionsUpdated(v)),i=g,o=null},500));const w=typeof c.type=="string"&&!!c.type.startsWith(n),_=t.rejected.match(c)&&c.meta.condition&&!!c.meta.arg.subscribe;p=!w&&!_}return[p,!1]}};function uf(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:o}=i,s={invalidateTags:me(`${t}/invalidateTags`)},a=h=>h.type.startsWith(`${t}/`),u=[af,ef,tf,rf,of,sf];return{middleware:h=>{let d=!1,c={currentSubscriptions:{}};const l=G(D({},e),{internalState:c,refetchQuery:y,isThisApiSliceAction:a}),f=u.map(_=>_(l)),p=cf(l),w=nf(l);return _=>g=>{if(!Ha(g))return _(g);d||(d=!0,h.dispatch(n.internalActions.middlewareRegistered(o)));const v=G(D({},h),{next:_}),S=h.getState(),[k,C]=p(g,v,S);let x;if(k?x=_(g):x=C,h.getState()[t]&&(w(g,v,S),a(g)||i.hasRehydrationInfo(g)))for(let E of f)E(g,v,S);return x}},actions:s};function y(h,d,c={}){return r(D({type:"query",endpointName:h.endpointName,originalArgs:h.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:d},c))}}function Xe(e,...t){return Object.assign(e,...t)}var ws=Symbol(),lf=()=>({name:ws,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:s,refetchOnFocus:a,refetchOnReconnect:u,invalidationBehavior:m},y){Yl();const h=z=>z;Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:Xi,onOffline:ac,onFocus:Yi,onFocusLost:sc},util:{}});const{queryThunk:d,mutationThunk:c,patchQueryData:l,updateQueryData:f,upsertQueryData:p,prefetch:w,buildMatchThunkActions:_}=Jd({baseQuery:t,reducerPath:n,context:y,api:e,serializeQueryArgs:i,assertTagType:h}),{reducer:g,actions:v}=Kd({context:y,queryThunk:d,mutationThunk:c,reducerPath:n,assertTagType:h,config:{refetchOnFocus:a,refetchOnReconnect:u,refetchOnMountOrArgChange:s,keepUnusedDataFor:o,reducerPath:n,invalidationBehavior:m}});Xe(e.util,{patchQueryData:l,updateQueryData:f,upsertQueryData:p,prefetch:w,resetApiState:v.resetApiState}),Xe(e.internalActions,v);const{middleware:S,actions:k}=uf({reducerPath:n,context:y,queryThunk:d,mutationThunk:c,api:e,assertTagType:h});Xe(e.util,k),Xe(e,{reducer:g,middleware:S});const{buildQuerySelector:C,buildMutationSelector:x,selectInvalidatedBy:E,selectCachedArgsForQuery:A}=Gd({serializeQueryArgs:i,reducerPath:n});Xe(e.util,{selectInvalidatedBy:E,selectCachedArgsForQuery:A});const{buildInitiateQuery:R,buildInitiateMutation:M,getRunningMutationThunk:P,getRunningMutationsThunk:I,getRunningQueriesThunk:$,getRunningQueryThunk:Y}=Qd({queryThunk:d,mutationThunk:c,api:e,serializeQueryArgs:i,context:y});return Xe(e.util,{getRunningMutationThunk:P,getRunningMutationsThunk:I,getRunningQueryThunk:Y,getRunningQueriesThunk:$}),{name:ws,injectEndpoint(z,L){var ee,de;const re=e;(de=(ee=re.endpoints)[z])!=null||(ee[z]={}),cc(L)?Xe(re.endpoints[z],{name:z,select:C(z,L),initiate:R(z,L)},_(d,z)):Wd(L)&&Xe(re.endpoints[z],{name:z,select:x(),initiate:M(z)},_(c,z))}}}}),dc={exports:{}},fc={};const df=dl(Yt);/**
9
9
  * @license React
10
10
  * use-sync-external-store-with-selector.production.min.js
11
11
  *
@@ -13,14 +13,14 @@ var bu=Object.defineProperty,vu=Object.defineProperties;var _u=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 vr=_f;function Sf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Cf=typeof Object.is=="function"?Object.is:Sf,kf=vr.useSyncExternalStore,xf=vr.useRef,Af=vr.useEffect,Ef=vr.useMemo,Tf=vr.useDebugValue;Pc.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=xf(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=Ef(function(){function u(c){if(!p){if(p=!0,g=c,c=n(c),i!==void 0&&a.hasValue){var f=a.value;if(i(f,c))return m=f}return m=c}if(f=m,Cf(g,c))return f;var l=n(c);return i!==void 0&&i(f,l)?f:(g=c,m=l)}var p=!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 s=kf(e,o[0],o[1]);return Af(function(){a.hasValue=!0,a.value=s},[s]),Tf(s),s};Rc.exports=Pc;var Rf=Rc.exports,_e="default"in er?Ls:er,Oa=Symbol.for("react-redux-context"),La=typeof globalThis!="undefined"?globalThis:{};function Pf(){var r;if(!_e.createContext)return{};const e=(r=La[Oa])!=null?r:La[Oa]=new Map;let t=e.get(_e.createContext);return t||(t=_e.createContext(null),e.set(_e.createContext,t)),t}var it=Pf(),If=()=>{throw new Error("uSES not initialized!")};function mo(e=it){return function(){return _e.useContext(e)}}var Ic=mo(),Fc=If,Ff=e=>{Fc=e},Mf=(e,t)=>e===t;function Df(e=it){const t=e===it?Ic:mo(e);return function(n,i={}){const{equalityFn:o=Mf,devModeChecks:a={}}=typeof i=="function"?{equalityFn:i}:i,{store:s,subscription:u,getServerState:p,stabilityCheck:g,identityFunctionCheck:m}=t();_e.useRef(!0);const d=_e.useCallback({[n.name](f){return n(f)}}[n.name],[n,g,a.stabilityCheck]),c=Fc(u.addNestedSub,s.getState,p||s.getState,d,o);return _e.useDebugValue(c),c}}var Mc=Df();function Dc(e){e()}function Bf(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Dc(()=>{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 $a={notify(){},get:()=>[]};function Nf(e,t){let r,n=$a,i=0,o=!1;function a(l){g();const h=n.subscribe(l);let b=!1;return()=>{b||(b=!0,h(),m())}}function s(){n.notify()}function u(){f.onStateChange&&f.onStateChange()}function p(){return o}function g(){i++,r||(r=t?t.addNestedSub(u):e.subscribe(u),n=Bf())}function m(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=$a)}function d(){o||(o=!0,g())}function c(){o&&(o=!1,m())}const f={addNestedSub:a,notifyNestedSubs:s,handleChangeWrapper:u,isSubscribed:p,trySubscribe:d,tryUnsubscribe:c,getListeners:()=>n};return f}var Of=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Lf=Of?_e.useLayoutEffect:_e.useEffect;function Ua(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Xr(e,t){if(Ua(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])||!Ua(e[r[i]],t[r[i]]))return!1;return!0}function $f({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=_e.useMemo(()=>{const p=Nf(e);return{store:e,subscription:p,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,n,i,o]),s=_e.useMemo(()=>e.getState(),[e]);Lf(()=>{const{subscription:p}=a;return p.onStateChange=p.notifyNestedSubs,p.trySubscribe(),s!==e.getState()&&p.notifyNestedSubs(),()=>{p.tryUnsubscribe(),p.onStateChange=void 0}},[a,s]);const u=t||it;return _e.createElement(u.Provider,{value:a},r)}var Uf=$f;function Bc(e=it){const t=e===it?Ic:mo(e);return function(){const{store:n}=t();return n}}var Nc=Bc();function zf(e=it){const t=e===it?Nc:Bc(e);return function(){return t().dispatch}}var Oc=zf(),jf=Dc;Ff(Rf.useSyncExternalStoreWithSelector);function za(e,t,r,n){const i=de(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),o=Ee(i);return Z(()=>{o.current.serialized!==i.serialized&&(o.current=i)},[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var qn=Symbol();function Vn(e){const t=Ee(e);return Z(()=>{Xr(t.current,e)||(t.current=e)},[e]),Xr(t.current,e)?t.current:e}var bt=WeakMap?new WeakMap:void 0,Wf=({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,a)=>He(a)?Object.keys(a).sort().reduce((s,u)=>(s[u]=a[u],s),{}):a);He(t)&&(bt==null||bt.set(t,i)),r=i}return`${e}(${r})`},Hf=typeof window!="undefined"&&window.document&&window.document.createElement?gt:Z,qf=e=>e.isUninitialized?$(I({},e),{isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:Sc.pending}):e;function Vf({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:o},serializeQueryArgs:a,context:s}){const u=o?c=>c():Z;return{buildQueryHooks:m,buildMutationHook:d,usePrefetch:g};function p(c,f,l){if(f!=null&&f.endpointName&&c.isUninitialized){const{endpointName:S}=f,k=s.endpointDefinitions[S];a({queryArgs:f.originalArgs,endpointDefinition:k,endpointName:S})===a({queryArgs:l,endpointDefinition:k,endpointName:S})&&(f=void 0)}let h=c.isSuccess?c.data:f==null?void 0:f.data;h===void 0&&(h=c.data);const b=h!==void 0,_=c.isLoading,y=!b&&_,v=c.isSuccess||_&&b;return $(I({},c),{data:h,currentData:c.data,isFetching:_,isLoading:y,isSuccess:v})}function g(c,f){const l=r(),h=Vn(f);return vt((b,_)=>l(e.util.prefetch(c,b,I(I({},h),_))),[c,l,h])}function m(c){const f=(b,{refetchOnReconnect:_,refetchOnFocus:y,refetchOnMountOrArgChange:v,skip:S=!1,pollingInterval:k=0}={})=>{const{initiate:C}=e.endpoints[c],x=r(),A=Ee();if(!A.current){const L=x(e.internalActions.internal_getRTKQSubscriptions());A.current=L}const E=za(S?dt:b,Wf,s.endpointDefinitions[c],c),R=Vn({refetchOnReconnect:_,refetchOnFocus:y,pollingInterval:k}),M=Ee(!1),P=Ee();let{queryCacheKey:F,requestId:U}=P.current||{},X=!1;F&&U&&(X=A.current.isRequestSubscribed(F,U));const j=!X&&M.current;return u(()=>{M.current=X}),u(()=>{j&&(P.current=void 0)},[j]),u(()=>{var te;const L=P.current;if(E===dt){L==null||L.unsubscribe(),P.current=void 0;return}const ne=(te=P.current)==null?void 0:te.subscriptionOptions;if(!L||L.arg!==E){L==null||L.unsubscribe();const pe=x(C(E,{subscriptionOptions:R,forceRefetch:v}));P.current=pe}else R!==ne&&L.updateSubscriptionOptions(R)},[x,C,v,E,R,j]),Z(()=>()=>{var L;(L=P.current)==null||L.unsubscribe(),P.current=void 0},[]),de(()=>({refetch:()=>{var L;if(!P.current)throw new Error(Te(38));return(L=P.current)==null?void 0:L.refetch()}}),[])},l=({refetchOnReconnect:b,refetchOnFocus:_,pollingInterval:y=0}={})=>{const{initiate:v}=e.endpoints[c],S=r(),[k,C]=me(qn),x=Ee(),A=Vn({refetchOnReconnect:b,refetchOnFocus:_,pollingInterval:y});u(()=>{var P,F;const M=(P=x.current)==null?void 0:P.subscriptionOptions;A!==M&&((F=x.current)==null||F.updateSubscriptionOptions(A))},[A]);const E=Ee(A);u(()=>{E.current=A},[A]);const R=vt(function(M,P=!1){let F;return t(()=>{var U;(U=x.current)==null||U.unsubscribe(),x.current=F=S(v(M,{subscriptionOptions:E.current,forceRefetch:!P})),C(M)}),F},[S,v]);return Z(()=>()=>{var M;(M=x==null?void 0:x.current)==null||M.unsubscribe()},[]),Z(()=>{k!==qn&&!x.current&&R(k,!0)},[k,R]),de(()=>[R,k],[R,k])},h=(b,{skip:_=!1,selectFromResult:y}={})=>{const{select:v}=e.endpoints[c],S=za(_?dt:b,a,s.endpointDefinitions[c],c),k=Ee(),C=de(()=>kt([v(S),(M,P)=>P,M=>S],p),[v,S]),x=de(()=>y?kt([C],y,{devModeChecks:{identityFunctionCheck:"never"}}):C,[C,y]),A=n(M=>x(M,k.current),Xr),E=i(),R=C(E.getState(),k.current);return Hf(()=>{k.current=R},[R]),A};return{useQueryState:h,useQuerySubscription:f,useLazyQuerySubscription:l,useLazyQuery(b){const[_,y]=l(b),v=h(y,$(I({},b),{skip:y===qn})),S=de(()=>({lastArg:y}),[y]);return de(()=>[_,v,S],[_,v,S])},useQuery(b,_){const y=f(b,_),v=h(b,I({selectFromResult:b===dt||_!=null&&_.skip?void 0:qf},_)),{data:S,status:k,isLoading:C,isSuccess:x,isError:A,error:E}=v;return qr({data:S,status:k,isLoading:C,isSuccess:x,isError:A,error:E}),de(()=>I(I({},v),y),[v,y])}}}function d(c){return({selectFromResult:f,fixedCacheKey:l}={})=>{const{select:h,initiate:b}=e.endpoints[c],_=r(),[y,v]=me();Z(()=>()=>{y!=null&&y.arg.fixedCacheKey||y==null||y.reset()},[y]);const S=vt(function(te){const pe=_(b(te,{fixedCacheKey:l}));return v(pe),pe},[_,b,l]),{requestId:k}=y||{},C=de(()=>h({fixedCacheKey:l,requestId:y==null?void 0:y.requestId}),[l,y,h]),x=de(()=>f?kt([C],f):C,[f,C]),A=n(x,Xr),E=l==null?y==null?void 0:y.arg.originalArgs:void 0,R=vt(()=>{t(()=>{y&&v(void 0),l&&_(e.internalActions.removeMutationResult({requestId:k,fixedCacheKey:l}))})},[_,l,y,k]),{endpointName:M,data:P,status:F,isLoading:U,isSuccess:X,isError:j,error:L}=A;qr({endpointName:M,data:P,status:F,isLoading:U,isSuccess:X,isError:j,error:L});const ne=de(()=>$(I({},A),{originalArgs:E,reset:R}),[A,E,R]);return de(()=>[S,ne],[S,ne])}}}function Qf(e){return e.type==="query"}function Gf(e){return e.type==="mutation"}function Qn(e){return e.replace(e[0],e[0].toUpperCase())}function Mr(e,...t){return Object.assign(e,...t)}var Jf=Symbol(),Kf=(i={})=>{var o=i,{batch:e=jf,hooks:t={useDispatch:Oc,useSelector:Mc,useStore:Nc},unstable__sideEffectsInRender:r=!1}=o,n=at(o,["batch","hooks","unstable__sideEffectsInRender"]);return{name:Jf,init(a,{serializeQueryArgs:s},u){const p=a,{buildQueryHooks:g,buildMutationHook:m,usePrefetch:d}=Vf({api:a,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:s,context:u});return Mr(p,{usePrefetch:d}),Mr(u,{batch:e}),{injectEndpoint(c,f){if(Qf(f)){const{useQuery:l,useLazyQuery:h,useLazyQuerySubscription:b,useQueryState:_,useQuerySubscription:y}=g(c);Mr(p.endpoints[c],{useQuery:l,useLazyQuery:h,useLazyQuerySubscription:b,useQueryState:_,useQuerySubscription:y}),a[`use${Qn(c)}Query`]=l,a[`useLazy${Qn(c)}Query`]=h}else if(Gf(f)){const l=m(c);Mr(p.endpoints[c],{useMutation:l}),a[`use${Qn(c)}Mutation`]=l}}}}}},Lc=cf(vf(),Kf());const $c=(e,t,r)=>ge(void 0,null,function*(){const n=t.getState().session.backendUrl;return ef({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)}),ze=Lc({baseQuery:$c,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:Yf,useCampaignConnectQuery:Xf,useByofCampaignConnectQuery:Uc,useAppLoadedMutation:Zf,useErrorLogsMutation:ag}=ze;var vi={exports:{}};(function(e,t){(function(r,n){var i="1.0.37",o="",a="?",s="function",u="undefined",p="object",g="string",m="major",d="model",c="name",f="type",l="vendor",h="version",b="architecture",_="console",y="mobile",v="tablet",S="smarttv",k="wearable",C="embedded",x=500,A="Amazon",E="Apple",R="ASUS",M="BlackBerry",P="Browser",F="Chrome",U="Edge",X="Firefox",j="Google",L="Huawei",ne="LG",te="Microsoft",pe="Motorola",Ve="Opera",ie="Samsung",Ot="Sharp",oe="Sony",Ie="Xiaomi",In="Zebra",Ro="Facebook",Po="Chromium OS",Io="Mac OS",gu=function(z,Q){var O={};for(var K in z)Q[K]&&Q[K].length%2===0?O[K]=Q[K].concat(z[K]):O[K]=z[K];return O},xr=function(z){for(var Q={},O=0;O<z.length;O++)Q[z[O].toUpperCase()]=z[O];return Q},Fo=function(z,Q){return typeof z===g?Lt(Q).indexOf(Lt(z))!==-1:!1},Lt=function(z){return z.toLowerCase()},yu=function(z){return typeof z===g?z.replace(/[^\d\.]/g,o).split(".")[0]:n},Fn=function(z,Q){if(typeof z===g)return z=z.replace(/^\s\s*/,o),typeof Q===u?z:z.substring(0,x)},$t=function(z,Q){for(var O=0,K,Xe,Ne,V,B,Oe;O<Q.length&&!B;){var Dn=Q[O],Bo=Q[O+1];for(K=Xe=0;K<Dn.length&&!B&&Dn[K];)if(B=Dn[K++].exec(z),B)for(Ne=0;Ne<Bo.length;Ne++)Oe=B[++Xe],V=Bo[Ne],typeof V===p&&V.length>0?V.length===2?typeof V[1]==s?this[V[0]]=V[1].call(this,Oe):this[V[0]]=V[1]:V.length===3?typeof V[1]===s&&!(V[1].exec&&V[1].test)?this[V[0]]=Oe?V[1].call(this,Oe,V[2]):n:this[V[0]]=Oe?Oe.replace(V[1],V[2]):n:V.length===4&&(this[V[0]]=Oe?V[3].call(this,Oe.replace(V[1],V[2])):n):this[V]=Oe||n;O+=2}},Mn=function(z,Q){for(var O in Q)if(typeof Q[O]===p&&Q[O].length>0){for(var K=0;K<Q[O].length;K++)if(Fo(Q[O][K],z))return O===a?n:O}else if(Fo(Q[O],z))return O===a?n:O;return z},wu={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Mo={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"},Do={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,h],[/opios[\/ ]+([\w\.]+)/i],[h,[c,Ve+" Mini"]],[/\bopr\/([\w\.]+)/i],[h,[c,Ve]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[h,[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,h],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[c,"UC"+P]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[h,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[c,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[h,[c,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[h,[c,"Smart Lenovo "+P]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure "+P],h],[/\bfocus\/([\w\.]+)/i],[h,[c,X+" Focus"]],[/\bopt\/([\w\.]+)/i],[h,[c,Ve+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[c,Ve+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[c,"MIUI "+P]],[/fxios\/([-\w\.]+)/i],[h,[c,X]],[/\bqihu|(qi?ho?o?|360)browser/i],[[c,"360 "+P]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1 "+P],h],[/samsungbrowser\/([\w\.]+)/i],[h,[c,ie+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[c,/_/g," "],h],[/metasr[\/ ]?([\d\.]+)/i],[h,[c,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[c,"Sogou Mobile"],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[c,h],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,Ro],h],[/(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,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[c,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[h,[c,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[c,F+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,F+" WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[c,"Android "+P]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[c,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[h,Mn,wu]],[/(webkit|khtml)\/([\w\.]+)/i],[c,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[c,X+" 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,h],[/(cobalt)\/([\w\.]+)/i],[c,[h,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[b,"amd64"]],[/(ia32(?=;))/i],[[b,Lt]],[/((?: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,Lt]],[/(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,Lt]]],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,[l,ie],[f,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[l,ie],[f,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[l,E],[f,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[l,E],[f,v]],[/(macintosh);/i],[d,[l,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[l,Ot],[f,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[l,L],[f,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[l,L],[f,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," "],[l,Ie],[f,y]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[l,Ie],[f,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,[l,"OPPO"],[f,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[l,"Vivo"],[f,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[l,"Realme"],[f,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,[l,pe],[f,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[l,pe],[f,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[l,ne],[f,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[l,ne],[f,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[l,"Lenovo"],[f,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[l,"Nokia"],[f,y]],[/(pixel c)\b/i],[d,[l,j],[f,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[l,j],[f,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,[l,oe],[f,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[l,oe],[f,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[l,"OnePlus"],[f,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[l,A],[f,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[l,A],[f,y]],[/(playbook);[-\w\),; ]+(rim)/i],[d,l,[f,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[l,M],[f,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[l,R],[f,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[l,R],[f,y]],[/(nexus 9)/i],[d,[l,"HTC"],[f,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[l,[d,/_/g," "],[f,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[l,"Acer"],[f,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[l,"Meizu"],[f,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[l,"Ulefone"],[f,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],[l,d,[f,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],[l,d,[f,v]],[/(surface duo)/i],[d,[l,te],[f,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[l,"Fairphone"],[f,y]],[/(u304aa)/i],[d,[l,"AT&T"],[f,y]],[/\bsie-(\w*)/i],[d,[l,"Siemens"],[f,y]],[/\b(rct\w+) b/i],[d,[l,"RCA"],[f,v]],[/\b(venue[\d ]{2,7}) b/i],[d,[l,"Dell"],[f,v]],[/\b(q(?:mv|ta)\w+) b/i],[d,[l,"Verizon"],[f,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[l,"Barnes & Noble"],[f,v]],[/\b(tm\d{3}\w+) b/i],[d,[l,"NuVision"],[f,v]],[/\b(k88) b/i],[d,[l,"ZTE"],[f,v]],[/\b(nx\d{3}j) b/i],[d,[l,"ZTE"],[f,y]],[/\b(gen\d{3}) b.+49h/i],[d,[l,"Swiss"],[f,y]],[/\b(zur\d{3}) b/i],[d,[l,"Swiss"],[f,v]],[/\b((zeki)?tb.*\b) b/i],[d,[l,"Zeki"],[f,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[l,"Dragon Touch"],d,[f,v]],[/\b(ns-?\w{0,9}) b/i],[d,[l,"Insignia"],[f,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[l,"NextBook"],[f,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[l,"Voice"],d,[f,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[l,"LvTel"],d,[f,y]],[/\b(ph-1) /i],[d,[l,"Essential"],[f,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[l,"Envizen"],[f,v]],[/\b(trio[-\w\. ]+) b/i],[d,[l,"MachSpeed"],[f,v]],[/\btu_(1491) b/i],[d,[l,"Rotor"],[f,v]],[/(shield[\w ]+) b/i],[d,[l,"Nvidia"],[f,v]],[/(sprint) (\w+)/i],[l,d,[f,y]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[l,te],[f,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[l,In],[f,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[l,In],[f,y]],[/smart-tv.+(samsung)/i],[l,[f,S]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[l,ie],[f,S]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[l,ne],[f,S]],[/(apple) ?tv/i],[l,[d,E+" TV"],[f,S]],[/crkey/i],[[d,F+"cast"],[l,j],[f,S]],[/droid.+aft(\w+)( bui|\))/i],[d,[l,A],[f,S]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[l,Ot],[f,S]],[/(bravia[\w ]+)( bui|\))/i],[d,[l,oe],[f,S]],[/(mitv-\w{5}) bui/i],[d,[l,Ie],[f,S]],[/Hbbtv.*(technisat) (.*);/i],[l,d,[f,S]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[l,Fn],[d,Fn],[f,S]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,S]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[l,d,[f,_]],[/droid.+; (shield) bui/i],[d,[l,"Nvidia"],[f,_]],[/(playstation [345portablevi]+)/i],[d,[l,oe],[f,_]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[l,te],[f,_]],[/((pebble))app/i],[l,d,[f,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[l,E],[f,k]],[/droid.+; (glass) \d/i],[d,[l,j],[f,k]],[/droid.+; (wt63?0{2,3})\)/i],[d,[l,In],[f,k]],[/(quest( 2| pro)?)/i],[d,[l,Ro],[f,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[l,[f,C]],[/(aeobc)\b/i],[d,[l,A],[f,C]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[f,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[f,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,y]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[l,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[c,U+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[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,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,h],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[c,[h,Mn,Mo]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,Mn,Mo],[c,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,Io],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,c],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[c,h],[/\(bb(10);/i],[h,[c,M]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[h,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[c,X+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[c,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[h,[c,"watchOS"]],[/crkey\/([\d\.]+)/i],[h,[c,F+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[c,Po],h],[/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,h],[/(sunos) ?([\w\.\d]*)/i],[[c,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[c,h]]},Fe=function(z,Q){if(typeof z===p&&(Q=z,z=n),!(this instanceof Fe))return new Fe(z,Q).getResult();var O=typeof r!==u&&r.navigator?r.navigator:n,K=z||(O&&O.userAgent?O.userAgent:o),Xe=O&&O.userAgentData?O.userAgentData:n,Ne=Q?gu(Do,Q):Do,V=O&&O.userAgent==K;return this.getBrowser=function(){var B={};return B[c]=n,B[h]=n,$t.call(B,K,Ne.browser),B[m]=yu(B[h]),V&&O&&O.brave&&typeof O.brave.isBrave==s&&(B[c]="Brave"),B},this.getCPU=function(){var B={};return B[b]=n,$t.call(B,K,Ne.cpu),B},this.getDevice=function(){var B={};return B[l]=n,B[d]=n,B[f]=n,$t.call(B,K,Ne.device),V&&!B[f]&&Xe&&Xe.mobile&&(B[f]=y),V&&B[d]=="Macintosh"&&O&&typeof O.standalone!==u&&O.maxTouchPoints&&O.maxTouchPoints>2&&(B[d]="iPad",B[f]=v),B},this.getEngine=function(){var B={};return B[c]=n,B[h]=n,$t.call(B,K,Ne.engine),B},this.getOS=function(){var B={};return B[c]=n,B[h]=n,$t.call(B,K,Ne.os),V&&!B[c]&&Xe&&Xe.platform!="Unknown"&&(B[c]=Xe.platform.replace(/chrome os/i,Po).replace(/macos/i,Io)),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 K},this.setUA=function(B){return K=typeof B===g&&B.length>x?Fn(B,x):B,this},this.setUA(K),this};Fe.VERSION=i,Fe.BROWSER=xr([c,h,m]),Fe.CPU=xr([b]),Fe.DEVICE=xr([d,l,f,_,y,S,v,k,C]),Fe.ENGINE=Fe.OS=xr([c,h]),e.exports&&(t=e.exports=Fe),t.UAParser=Fe;var yt=typeof r!==u&&(r.jQuery||r.Zepto);if(yt&&!yt.ua){var Ar=new Fe;yt.ua=Ar.getResult(),yt.ua.get=function(){return Ar.getUA()},yt.ua.set=function(z){Ar.setUA(z);var Q=Ar.getResult();for(var O in Q)yt.ua[O]=Q[O]}}})(typeof window=="object"?window:vd)})(vi,vi.exports);var ep=vi.exports;const Gn=new ep.UAParser,zc=()=>/iPad|iPhone|iPod/.test(navigator.userAgent),jc=()=>/Android/.test(navigator.userAgent),je=()=>jc()||zc(),Wc=()=>({deviceType:jc()||zc()?"Mobile":"Desktop",platform:Gn.getOS().name,Browser:Gn.getBrowser().name,"Browser Version":Gn.getBrowser().version}),Kt=Lc({baseQuery:$c,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),Wc())}})}),segmentPage:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/p",method:"POST",body:{event:t,properties:r}})})})}),{useSegmentIdentifyMutation:tp,useSegmentTrackMutation:rp,useSegmentPageMutation:sg}=Kt,np={selectedVariants:{}},_i=Ge({name:"experimentsData",initialState:np,reducers:{setExperiment:(e,t)=>{const{experimentName:r,selectedVariant:n}=t.payload;return e.selectedVariants[r]||(e.selectedVariants[r]=n),e}}}),{setExperiment:ip}=_i.actions,Si=Ge({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:op}=Si.actions,Ci=Ge({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:ap,setSelectedFund:go,clearSelectedFund:Qe}=Ci.actions,lt=Tl({reducer:{[Si.name]:Si.reducer,[ze.reducerPath]:ze.reducer,[Kt.reducerPath]:Kt.reducer,[Ci.reducerPath]:Ci.reducer,[_i.reducerPath]:_i.reducer},middleware:e=>e().concat(ze.middleware,Kt.middleware)}),_r=()=>Oc(),Pe=Mc,yo="32367272075001",wo="slate",ce=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},sp=()=>{ce({sender:"byof-engagement",type:"continue",reason:"No content to display"})},cp=()=>{ce({sender:"byof-engagement",type:"continue",reason:"Continue button was clicked"})},up=()=>{ce({sender:"byof-engagement",type:"continue",reason:"Timeout, or a backend error has occurred"})},dp=()=>{const[e]=rp();return()=>{ce({sender:"super-campaign",type:"choose-another-fund-requested"}),e({event:"FeaturedFunds Skipped",properties:{method:"button"}})}},lp=e=>{ce({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.fundType}))})},fp=e=>{ce({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.fundType,fundName:e.name,fundUsi:e.fundId===wo?yo:void 0})},ae=e=>{ce({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:e.fundId===wo?yo:void 0})},pp=()=>{ce({sender:"super-campaign",type:"disclaimer-accepted"})},hp=()=>{ce({sender:"super-campaign",type:"disclaimer-viewed"})},Ht=(e,t)=>{ce({sender:e,type:"promoted-fund-joined",fundJoinInfo:t})},mp=()=>{ce({sender:"super-campaign",type:"super-campaign-loaded"})},gp=e=>{ce({sender:"super-campaign",type:"super-campaign-load-failed",reason:e})},yp=e=>{ce({sender:"super-campaign",type:"super-campaign-failed",reason:e})},wp=()=>{ce({sender:"featured-funds",type:"back-clicked"})},bp=e=>{ce({sender:"featured-funds",type:"feature-fund-panel-shown",fundIds:e})},vp=e=>{ce({sender:"featured-funds",type:"selected",fundId:e})},_p=e=>{ce({sender:"featured-funds",type:"continue-clicked",fundId:e})},Hc=()=>{ce({sender:"featured-funds",type:"cancel-clicked"})};var Sp=0;function Zr(e,t,r,n,i,o){var a,s,u={};for(s in t)s=="ref"?a=t[s]:u[s]=t[s];var p={type:e,props:u,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Sp,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)u[s]===void 0&&(u[s]=a[s]);return D.vnode&&D.vnode(p),p}var Re=Ce;function w(e,t,r){return Sn.call(t,"css")?Zr(ic,nc(e,t),r):Zr(e,t,r)}function T(e,t,r){return Sn.call(t,"css")?Zr(ic,nc(e,t),r):Zr(e,t,r)}const Cp=W.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),kp="_extnav=true",N=i=>{var o=i,{link:e,onClick:t,children:r}=o,n=at(o,["link","onClick","children"]);const a=e.indexOf("?")===-1?"?":"&",s=`${e}${a}${kp}`;return w(Cp,$(I({target:"_blank",href:s,onClick:t},n),{children:r}))},xp=""+new URL("assets/logo-australian-D0VAGS6p.svg",import.meta.url).href,Ap="AustralianSuper",Ep="https://www.australiansuper.com/tools-and-advice/learn/product-disclosure-statements?utm_medium=digital&utm_source=pds_choose&utm_campaign=new_channels_flare|join|fy25|q1|august",Tp="https://www.australiansuper.com/tools-and-advice/learn/target-market-determinations?utm_medium=digital&utm_source=tmd&utm_campaign=new_channels_flare|join|fy25|q1|august",en={fundId:"australian-super-default",name:Ap,logo:xp,iframeType:"PromotedFundJoinV2",features:[T("p",{children:["One in seven working Australians are with AustralianSuper",w("sup",{css:{fontSize:"0.625rem"},children:"1"}),"."]}),w("p",{children:"Digital tools and resources for super management and future planning."}),w("p",{children:"Access to a wide range of investment options."})],featureSubText:void 0,extraBadge: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"}),disclaimer:T("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:"1. Source: Australian Bureau of Statistics (Labour force) December 2023 and AustralianSuper Member Data."}),T("p",{children:["You should consider the"," ",w(N,{onClick:()=>ae(en),link:Ep,children:"Product Disclosure Statement"})," ","and"," ",w(N,{onClick:()=>ae(en),link:Tp,children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the Fund."]}),w("p",{children:"Sponsored by AustralianSuper Pty Ltd. AustralianSuper Pty Ltd ABN 94 006 457 987 AFSL 233788, Trustee of AustralianSuper ABN 65 714 394 898."})]})},Rp=""+new URL("assets/logo-aware-DYvmVUZ1.svg",import.meta.url).href,Pp="Aware Super",ki={fundId:"aware-super",name:Pp,logo:Rp,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:T("div",{children:[T("p",{children:["Consider if we’re right for you and read the"," ",w(N,{onClick:()=>ae(ki),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(N,{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)."})]})},Ip=""+new URL("assets/logo-brighter-cKB6xH2M.svg",import.meta.url).href,Fp="https://www.brightersuper.com.au/-/media/public/files/pds-and-guides/accumulation-account-pds.pdf",Mp="https://www.brightersuper.com.au/-/media/public/files/target-market-determination/tmd-brighter-super-accumulation-account.pdf",Dp="https://www.brightersuper.com.au/news/double-digit-returns-in-2023-and-some-of-the-lowest-fees-in-australia",Bp="https://www.brightersuper.com.au/about-us/awards",Np="Brighter Super",xi={fundId:"brightersuper",name:Np,logo:Ip,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^"}),T("p",{children:["Platinum rated by SuperRatings for 16 years in a row",w("sup",{css:{fontSize:"0.625rem"},children:"+"})]})],disclaimer:T("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:[T("p",{children:["^Past performance is not an indicator of future performance."," ",w(N,{link:Dp,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(N,{link:Bp,children:"View our ratings and awards."})]}),T("p",{children:["Consider the"," ",w(N,{link:Fp,onClick:()=>ae(xi),children:"PDS"})," ","& ",w(N,{link:Mp,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."})]})},Op=""+new URL("assets/logo-first-CusDmGWL.svg",import.meta.url).href,Lp="First Super",Ai={fundId:"first-super",name:Lp,logo:Op,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:T("div",{children:[T("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(N,{onClick:()=>ae(Ai),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."})]})},$p=""+new URL("assets/logo-hesta-NL7xF41R.svg",import.meta.url).href,Up="HESTA",Ei={fundId:"hesta-default",name:Up,logo:$p,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:T("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:[T("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(N,{link:"https://www.hesta.com.au/ratings",children:"hesta.com.au/ratings"})," ","for more information."]}),T("p",{children:["Consider whether this product is appropriate for you by reading the Product Disclosure Statement and Target Market Determination at"," ",w(N,{onClick:()=>ae(Ei),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"})]})},zp=""+new URL("assets/logo-legalsuper-xG2DgGHY.svg",import.meta.url).href,jp="legalsuper",Yt={fundId:"legalsuper",name:jp,logo:zp,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:T("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:[T("p",{children:["This information is of a general nature. Please refer to the legalsuper"," ",w(N,{link:"https://www.legalsuper.com.au/super-pds",onClick:()=>ae(Yt),children:"Product Disclosure Statement (PDS)"})," ","and"," ",w(N,{link:"https://www.legalsuper.com.au/super-tmd",onClick:()=>ae(Yt),children:"Target Market Determination (TMD)"})," ","available at"," ",w(N,{link:"https://www.legalsuper.com.au/",onClick:()=>ae(Yt),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."})]})},Wp=""+new URL("assets/coverImage-BkXL9zfW.png",import.meta.url).href,Hp=""+new URL("assets/logo-mercer-mychoice-BB6VztRp.svg",import.meta.url).href,qp=["35225A44-1235-4774-A292-69461DCF16E4","42EC210A-07EB-4252-82C5-F10FBE6884D6","5EF1A2B7-4AED-46BA-9455-E118664DFA16","A7E3600B-40B3-4B48-9BC1-D78C91CAA365"],Vp="Mercer MyChoice",tn={fundId:"mercermychoice",name:Vp,logo:Hp,coverImage:Wp,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:T("div",{children:[T("p",{children:["You should consider the"," ",w(N,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>ae(tn),children:"Product Disclosure Statement"})," ","and"," ",w(N,{link:"https://www.mercersuper.com.au/documents/target-market-determinations",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),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 n,i;const t=ze.endpoints.campaignConnect.select()(e).data,r=(n=t==null?void 0:t.userProfile.accountId)!=null?n:"";return!!(qp.includes(r)&&(t!=null&&t.promotedFunds.find(o=>o.fundId==="mercermychoice"))&&(!je()||((i=t==null?void 0:t.promotedFunds)==null?void 0:i[0].fundId)==="mercermychoice")&&!(t!=null&&t.promotedFunds.find(o=>o.fundId==="virgin")))},variants:[{variantName:"control",percentage:50},{variantName:"badge",percentage:50}]}}},Qp=""+new URL("assets/logo-mine-7mxPtjsF.svg",import.meta.url).href,Gp="Mine Super",Ti={fundId:"mine",name:Gp,logo:Qp,iframeType:"PromotedFundJoinV2",features:[T("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:T("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(N,{link:"https://www.mine.com.au/super/about-my-super/super-pds",onClick:()=>ae(Ti),children:"PDS"})," ","and ",w(N,{link:"https://www.mine.com.au/tmd",children:"TMDs"})," on our website at ",w(N,{link:"https://www.mine.com.au/",children:"mine.com.au"})," when considering if our financial products are right for you."]})})},Jp=""+new URL("assets/logo-reisuper-aM5iDbpN.svg",import.meta.url).href,Kp="REI Super",Ri={fundId:"reisuper",name:Kp,logo:Jp,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:T("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."}),T("p",{children:["You should consider the"," ",w(N,{link:"https://www.reisuper.com.au/docs/default-source/super/rei-super-pds.pdf?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=pds",onClick:()=>ae(Ri),children:"Product Disclosure Statement"})," ","and"," ",w(N,{link:"https://www.reisuper.com.au/publications-and-forms/target-market-determination?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=tmd",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]})]}),abnInfo:"REI Superannuation Fund Pty Ltd",abn:"68 056 044 770"},Yp=""+new URL("assets/logo-slate-CowODvPX.png",import.meta.url).href,Xp="Slate Super",lr={fundId:wo,name:Xp,logo:Yp,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:T("p",{children:["You should consider the"," ",w(N,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>ae(lr),children:"Product Disclosure Statement"})," ","and"," ",w(N,{link:"https://slate.co/forms-and-documents/target-market-determination/",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),abnInfo:"Diversa Trustees Limited",abn:"49 006 421 638"},Zp=""+new URL("assets/logo-spirit-CAaRIHR7.svg",import.meta.url).href,eh="Spirit Super",Pi={fundId:"spirit",name:eh,logo:Zp,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Industry SuperFund - profit to members"}),T("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"})]}),T("p",{children:["Best customer experience",w("sup",{css:{fontSize:"0.625rem"},children:"3"})]})],featureSubText:w("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:T("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(N,{link:"https://www.spiritsuper.com.au/News/Best-in-customer-service-again",children:"CSBA Sense CX Benchmark ratings 2022/23/24"})})})]})}),disclaimer:T("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(N,{link:"https://www.spiritsuper.com.au",onClick:()=>ae(Pi),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)."]})},th=""+new URL("assets/logo-superhero-DEVv355I.svg",import.meta.url).href,rh="Superhero Super",Ii={fundId:"superhero",name:rh,logo:th,iframeType:"PromotedFundJoinV2",features:[w("p",{children:"Primed for performance - Our range of investments are designed to deliver"}),w("p",{children:"Low fees - Means more super to build the future you want"}),w("p",{children:"Award winning^ - A direct investment option to build your portfolio your way"})],featureSubText:["^ Awarded Winner: Excellent Rates and Fees, Winner: Best for Direct Investments in the WeMoney Superannuation Awards 2024"],disclaimer:T("div",{children:[T("p",{children:["Superhero Super is a sub-plan of OneSuper (ABN 43 905 581 638), which is issued by Diversa Trustees Limited (ABN 49 006 421 638) as trustee. You should consider the"," ",w(N,{onClick:()=>ae(Ii),link:"https://superhe.ro/ext/superhero-super-pds.pdf",children:"Product Disclosure Statement"})," ","and"," ",w(N,{link:"https://cdn.trusteecloud.com/01cd640f-c204-4591-9c2b-c7e4ca5df769/superhero-transition-to-retirement-target-market-determination",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),w("br",{}),w("p",{children:"Superhero Super"}),w("p",{children:"USI: 43 905 581 638 018"})]})},nh=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,ih="Unisuper",oh="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",ah="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Fi={fundId:"unisuper",name:ih,logo:nh,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.*"}),T("p",{children:["We’re consistently awarded as one of Australia’s best-performing funds.",w("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],disclaimer:T("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:[T("p",{children:["^Read more about our fees and how we compare"," ",w(N,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),T("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",w(N,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),T("p",{children:[w("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",w(N,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),T("p",{children:["Remember to consider the"," ",w(N,{link:oh,onClick:()=>ae(Fi),children:"Product Disclosure Statement"})," ","and ",w(N,{link:ah,children:"Target Market Determination"})," that is relevant to you."]}),w("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},sh=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,ch=""+new URL("assets/unisuper-default-badge1-CC2-KRH2.svg",import.meta.url).href,uh=""+new URL("assets/unisuper-default-badge2-CqUa_Zky.svg",import.meta.url).href,dh=""+new URL("assets/unisuper-default-badge3-B7j1-pyZ.svg",import.meta.url).href,Dr="Unisuper",lh="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",fh="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Mi={fundId:"unisuper-default-v2",name:Dr,logo:sh,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.*"}),T("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",w("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],customContent:T("div",{css:{marginTop:"1.5rem",display:"flex",gap:"0.75rem"},children:[w("div",{children:w("img",{alt:Dr,src:ch})}),w("div",{children:w("img",{alt:Dr,src:uh})}),w("div",{children:w("img",{alt:Dr,src:dh})})]}),disclaimer:T("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:[T("p",{children:["^Read more about our fees and how we compare"," ",w(N,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),T("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",w(N,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),T("p",{children:[w("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",w(N,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),T("p",{children:["Remember to consider the"," ",w(N,{link:lh,onClick:()=>ae(Mi),children:"Product Disclosure Statement"})," ","and ",w(N,{link:fh,children:"Target Market Determination"})," that is relevant to you."]}),w("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},ph=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,ja=["04D04CB7-AE67-4D1C-8A1E-68451E64A659","06151553-3055-4B83-BC3C-9EC1CA642F88","0723654D-A9AF-453A-B376-54A2EF5E50F5","0E09CFC5-2DF2-432A-BBEC-25B84E65F21A","0E306866-97B3-4BE4-B97A-4BA1B1CEE95C","1EC966EE-C6D4-4BB8-ABF5-0A6FD8FC9882","25949BFA-334E-4DFC-9278-5018E093F1F8","3B13774E-E528-422E-9152-0B24EA2E5C2A","4C5BD86C-1496-431F-A649-A0E92858008A","5E169341-47A2-4D69-BA8C-A5A0F108CACD","6D23F9F0-D1C8-4121-A03A-6B9C3F0097EB","7B555D55-DDBB-44CE-8D6D-9553A419FE5A","8F8965D6-7B50-4D88-BC60-8D3B5EDDDE41","9B6747FE-DB3F-4F03-AA7C-21DF0C81955E","A10F82EC-7AFB-4E1C-914C-C0717ECE05DD","AAA060B4-EEC1-4ADC-A8B3-3D3A077A8829","B60D57B8-015C-44BB-A425-D7D78B29AC3F","BB0A686A-6ADC-4E03-9789-62F135D75A0A","D1A8905E-C28C-4F09-94D6-208063A76DB3","D9E0FC54-70B3-43C0-A347-A85CE496F3EF","DDCDC552-E5D6-4E95-9B71-9FD25F75AF35","E0FE92D8-6E61-42BE-AD6F-7E6FAEEB8D06","E57FFD69-0B30-480D-BCB2-CA3C65D6B58C","E7C4CE53-5CDE-4F0D-A2D4-ED8FF90D6138","F89A21D7-4FD0-41D2-A7A5-602E4462BC93","FA2F7EDC-2F5C-43E2-90D3-1125BDE3E602","FA650343-6D1D-4EF1-95E7-666D86C405EC"],hh=["35225A44-1235-4774-A292-69461DCF16E4","42EC210A-07EB-4252-82C5-F10FBE6884D6","5EF1A2B7-4AED-46BA-9455-E118664DFA16","A7E3600B-40B3-4B48-9BC1-D78C91CAA365"],mh="Virgin Money Super",Di={fundId:"virgin",name:mh,logo:ph,iframeType:"PromotedFundJoinV2",features:[T("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"}),T("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:T("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(N,{css:{fontWeight:"400"},link:"https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents",children:"Eligibility and T&Cs apply"})})})]})}),disclaimer:T("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(N,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>ae(Di),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 n,i;const t=ze.endpoints.campaignConnect.select()(e).data,r=(n=t==null?void 0:t.userProfile.accountId)!=null?n:"";return!!(ja.includes(r)&&(t!=null&&t.promotedFunds.find(o=>o.fundId==="virgin"))&&(!je()||((i=t==null?void 0:t.promotedFunds)==null?void 0:i[0].fundId)==="virgin")&&!(t!=null&&t.promotedFunds.find(o=>o.fundId==="mercermychoice")))},variants:[{variantName:"control",percentage:50},{variantName:"badge",percentage:50}]},"social-validation-popular-virgin":{splitType:"percentage",rotations:0,shouldRun:e=>{var i,o;const t=hh.concat(ja),r=ze.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"))&&(!je()||((o=r==null?void 0:r.promotedFunds)==null?void 0:o[0].fundId)==="virgin")&&!(r!=null&&r.promotedFunds.find(a=>a.fundId==="mercermychoice")))},variants:[{variantName:"control",percentage:5},{variantName:"badge",percentage:95}]}}},gh=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,yh="Virgin Money Super",Bi={fundId:"virgin-default",name:yh,logo:gh,iframeType:"PromotedFundJoinV2",features:[T("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"}),T("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:T("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(N,{css:{fontWeight:"400"},link:"https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents",children:"Eligibility and T&Cs apply"})})})]})}),disclaimer:T("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(N,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>ae(Bi),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"},wh=5*1e3;let Wr=[];const ve=(e,t)=>{Wr.push({log:e,params:I(I({},t),Wc())})},bh=()=>setInterval(()=>ge(void 0,null,function*(){Wr.length>0&&"data"in(yield lt.dispatch(ze.endpoints.errorLogs.initiate({logs:Wr})))&&(Wr=[])}),wh),bo=e=>{switch(e.fundId){case ki.fundId:return $(I({},ki),{fundType:e.type});case xi.fundId:return $(I({},xi),{fundType:e.type});case Ai.fundId:return $(I({},Ai),{fundType:e.type});case Ei.fundId:return $(I({},Ei),{fundType:e.type});case Yt.fundId:return $(I({},Yt),{fundType:e.type});case tn.fundId:return $(I({},tn),{fundType:e.type});case Ti.fundId:return $(I({},Ti),{fundType:e.type});case Ri.fundId:return $(I({},Ri),{fundType:e.type});case lr.fundId:return $(I({},lr),{fundType:e.type});case Pi.fundId:return $(I({},Pi),{fundType:e.type});case Fi.fundId:return $(I({},Fi),{fundType:e.type});case Mi.fundId:return $(I({},Mi),{fundType:e.type});case Di.fundId:return $(I({},Di),{fundType:e.type});case Bi.fundId:return $(I({},Bi),{fundType:e.type});case en.fundId:return $(I({},en),{fundType:e.type});case Ii.fundId:return $(I({},Ii),{fundType:e.type})}return null},vh=e=>{const t=[];for(const n of e){const i=bo(n);i?t.push(i):ve(`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=tn;return ve(`No fund IDs were mapped, returning "${r.fundId}"`,{funds:e}),[$(I({},r),{fundType:"promoted"})]},_h=e=>e==="unisuper-db"?"UniSuper":(ve('No defined-benefits fund IDs were mapped."',{fundId:e}),""),vo=()=>{const{selectedFund:e}=Pe(r=>r.state);let t="Powered by Flare";if(e){const r=bo({fundId:e==null?void 0:e.fundId,type:"promoted"});r!=null&&r.footnoteTextOverride&&(t=r.footnoteTextOverride)}return T("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}),T("p",{css:{display:"block",color:"transparent"},children:["v","0.1.1180"]})]})},Sh=W.div({display:"flex",height:"100%",flexDirection:"column",alignItems:"center",justifyContent:"center"}),Ch=W.div({display:"inline-block","@keyframes spin":{to:{transform:"rotate(360deg)"}},animation:"spin 1s linear infinite"}),kh=W.div({marginTop:"0.75rem",textAlign:"center",fontSize:"1.875rem",lineHeight:"2.25rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))"}),xh=W.div({marginTop:"2rem",textAlign:"center",fontSize:"1.125rem",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))"}),We=({size:e=48,isComputingPanelFunds:t=!1})=>{const[r,n]=me(!1);return Z(()=>{let i;return t&&(i=setTimeout(()=>{n(!0)},3e3)),()=>clearTimeout(i)},[t]),T(Sh,{children:[w(Ch,{children:T("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)"}})]})}),t&&T(Re,{children:[w(kh,{children:"Setting up your super choices"}),r&&w(xh,{children:"This may take a few seconds, please don't close this window"})]})]})},Pt=({fillWidth:e=!1,fillWidthOnMobile:t=!1,disabled:r=!1,onClick:n=void 0,children:i,variant:o="primary"})=>{const[a,s]=me(0);return T("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))"}},o==="primary"&&{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)"}},o==="secondary"&&{"--tw-border-opacity":"1",borderColor:"rgb(209 213 219 / var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(55 65 81 / var(--tw-text-opacity))",":hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(249 250 251 / var(--tw-bg-opacity))"}},(e||t)&&{width:"100%"},t&&{"@media (min-width: 640px)":{width:"auto"}}],disabled:r,onClick:()=>ge(void 0,null,function*(){if(!(!n||a===1))try{s(1),yield n(),s(0)}catch(p){throw s(2),p}}),children:[a===1&&w(We,{size:16}),w("div",{css:[a===1&&{display:"none"}],children:i})]})},Ah=W.div({width:"fit-content",borderRadius:"0.5rem",borderWidth:"1px"}),Eh=W.div({display:"flex",justifyContent:"flex-end",paddingRight:"0.5rem",paddingTop:"0.5rem"}),Th=W.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))"}),Rh=W.div({padding:"0.75rem","@media (min-width: 640px)":{paddingLeft:"3.5rem",paddingRight:"3.5rem",paddingBottom:"2rem"}}),Ph=({pillContent:e,children:t})=>T(Ah,{children:[e&&w(Eh,{children:w(Th,{children:e})}),w(Rh,{children:t})]});class qt extends Error{}qt.prototype.name="InvalidTokenError";function Ih(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 Fh(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 Ih(t)}catch(r){return atob(t)}}function qc(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=Fh(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 Mh=e=>qc(e),Dh=()=>{const{superBackendUrl:e,accessToken:t,fundUsi:r}=Pe(a=>a.session),{data:n}=Uc(r||""),i=`${e}/activity-tracker/track`;return{createTrackedLink:(a,s)=>{var f,l;if(!t)throw new Error("No access token found");const{sub:u,session_id:p}=Mh(t);(!n||n.engagements.length===0)&&ve("No engagements found when attempting to create tracked link");const{accountId:g,partnerId:m,engagements:d}=n!=null?n:{accountId:"",partnerId:"",engagements:[]};a=encodeURIComponent(a);let c=`${i}?url=${a}&id=${u}&sId=${p}&usi=${r}&fId=${(l=(f=d[0])==null?void 0:f.fundId)!=null?l:""}&aId=${g}&pId=${m}&ft=manual`;if(s.eventType){const h=encodeURIComponent(s.eventType);c+=`&et=${h}`}return s.type&&(c+=`&type=${s.type}`),s.engagementId&&(c+=`&eId=${s.engagementId}`),c}}};function Bh(e){const t=document.documentElement;for(const r in e.colors)t.style.setProperty(`--${r}`,e.colors[r])}var Sr={},Nh=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Vc={},Ae={};let _o;const Oh=[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];Ae.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};Ae.getSymbolTotalCodewords=function(t){return Oh[t]};Ae.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};Ae.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');_o=t};Ae.isKanjiModeEnabled=function(){return typeof _o!="undefined"};Ae.toSJIS=function(t){return _o(t)};var An={};(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}}})(An);function Qc(){this.buffer=[],this.length=0}Qc.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 Lh=Qc;function Cr(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)}Cr.prototype.set=function(e,t,r,n){const i=e*this.size+t;this.data[i]=r,n&&(this.reservedBit[i]=!0)};Cr.prototype.get=function(e,t){return this.data[e*this.size+t]};Cr.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r};Cr.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var $h=Cr,Gc={};(function(e){const t=Ae.getSymbolSize;e.getRowColCoords=function(n){if(n===1)return[];const i=Math.floor(n/7)+2,o=t(n),a=o===145?26:Math.ceil((o-13)/(2*i-2))*2,s=[o-7];for(let u=1;u<i-1;u++)s[u]=s[u-1]-a;return s.push(6),s.reverse()},e.getPositions=function(n){const i=[],o=e.getRowColCoords(n),a=o.length;for(let s=0;s<a;s++)for(let u=0;u<a;u++)s===0&&u===0||s===0&&u===a-1||s===a-1&&u===0||i.push([o[s],o[u]]);return i}})(Gc);var Jc={};const Uh=Ae.getSymbolSize,Wa=7;Jc.getPositions=function(t){const r=Uh(t);return[[0,0],[r-Wa,0],[0,r-Wa]]};var Kc={};(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 a=0,s=0,u=0,p=null,g=null;for(let m=0;m<o;m++){s=u=0,p=g=null;for(let d=0;d<o;d++){let c=i.get(m,d);c===p?s++:(s>=5&&(a+=t.N1+(s-5)),p=c,s=1),c=i.get(d,m),c===g?u++:(u>=5&&(a+=t.N1+(u-5)),g=c,u=1)}s>=5&&(a+=t.N1+(s-5)),u>=5&&(a+=t.N1+(u-5))}return a},e.getPenaltyN2=function(i){const o=i.size;let a=0;for(let s=0;s<o-1;s++)for(let u=0;u<o-1;u++){const p=i.get(s,u)+i.get(s,u+1)+i.get(s+1,u)+i.get(s+1,u+1);(p===4||p===0)&&a++}return a*t.N2},e.getPenaltyN3=function(i){const o=i.size;let a=0,s=0,u=0;for(let p=0;p<o;p++){s=u=0;for(let g=0;g<o;g++)s=s<<1&2047|i.get(p,g),g>=10&&(s===1488||s===93)&&a++,u=u<<1&2047|i.get(g,p),g>=10&&(u===1488||u===93)&&a++}return a*t.N3},e.getPenaltyN4=function(i){let o=0;const a=i.data.length;for(let u=0;u<a;u++)o+=i.data[u];return Math.abs(Math.ceil(o*100/a/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 a=o.size;for(let s=0;s<a;s++)for(let u=0;u<a;u++)o.isReserved(u,s)||o.xor(u,s,r(i,u,s))},e.getBestMask=function(i,o){const a=Object.keys(e.Patterns).length;let s=0,u=1/0;for(let p=0;p<a;p++){o(p),e.applyMask(p,i);const g=e.getPenaltyN1(i)+e.getPenaltyN2(i)+e.getPenaltyN3(i)+e.getPenaltyN4(i);e.applyMask(p,i),g<u&&(u=g,s=p)}return s}})(Kc);var En={};const et=An,Br=[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],Nr=[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 et.L:return Br[(t-1)*4+0];case et.M:return Br[(t-1)*4+1];case et.Q:return Br[(t-1)*4+2];case et.H:return Br[(t-1)*4+3];default:return}};En.getTotalCodewordsCount=function(t,r){switch(r){case et.L:return Nr[(t-1)*4+0];case et.M:return Nr[(t-1)*4+1];case et.Q:return Nr[(t-1)*4+2];case et.H:return Nr[(t-1)*4+3];default:return}};var Yc={},Tn={};const Xt=new Uint8Array(512),rn=new Uint8Array(256);(function(){let t=1;for(let r=0;r<255;r++)Xt[r]=t,rn[t]=r,t<<=1,t&256&&(t^=285);for(let r=255;r<512;r++)Xt[r]=Xt[r-255]})();Tn.log=function(t){if(t<1)throw new Error("log("+t+")");return rn[t]};Tn.exp=function(t){return Xt[t]};Tn.mul=function(t,r){return t===0||r===0?0:Xt[rn[t]+rn[r]]};(function(e){const t=Tn;e.mul=function(n,i){const o=new Uint8Array(n.length+i.length-1);for(let a=0;a<n.length;a++)for(let s=0;s<i.length;s++)o[a+s]^=t.mul(n[a],i[s]);return o},e.mod=function(n,i){let o=new Uint8Array(n);for(;o.length-i.length>=0;){const a=o[0];for(let u=0;u<i.length;u++)o[u]^=t.mul(i[u],a);let s=0;for(;s<o.length&&o[s]===0;)s++;o=o.slice(s)}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}})(Yc);const Xc=Yc;function So(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}So.prototype.initialize=function(t){this.degree=t,this.genPoly=Xc.generateECPolynomial(this.degree)};So.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=Xc.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 zh=So,Zc={},ot={},Co={};Co.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var qe={};const eu="[0-9]+",jh="[A-Z $%*+\\-./:]+";let fr="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";fr=fr.replace(/u/g,"\\u");const Wh="(?:(?![A-Z0-9 $%*+\\-./:]|"+fr+`)(?:.|[\r
17
- ]))+`;qe.KANJI=new RegExp(fr,"g");qe.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");qe.BYTE=new RegExp(Wh,"g");qe.NUMERIC=new RegExp(eu,"g");qe.ALPHANUMERIC=new RegExp(jh,"g");const Hh=new RegExp("^"+fr+"$"),qh=new RegExp("^"+eu+"$"),Vh=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");qe.testKanji=function(t){return Hh.test(t)};qe.testNumeric=function(t){return qh.test(t)};qe.testAlphanumeric=function(t){return Vh.test(t)};(function(e){const t=Co,r=qe;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,a){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?o.ccBits[0]:a<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,a){if(e.isValid(o))return o;try{return n(o)}catch(s){return a}}})(ot);(function(e){const t=Ae,r=En,n=An,i=ot,o=Co,a=7973,s=t.getBCHDigit(a);function u(d,c,f){for(let l=1;l<=40;l++)if(c<=e.getCapacity(l,f,d))return l}function p(d,c){return i.getCharCountIndicator(d,c)+4}function g(d,c){let f=0;return d.forEach(function(l){const h=p(l.mode,c);f+=h+l.getBitsLength()}),f}function m(d,c){for(let f=1;f<=40;f++)if(g(d,f)<=e.getCapacity(f,c,i.MIXED))return f}e.from=function(c,f){return o.isValid(c)?parseInt(c,10):f},e.getCapacity=function(c,f,l){if(!o.isValid(c))throw new Error("Invalid QR Code version");typeof l=="undefined"&&(l=i.BYTE);const h=t.getSymbolTotalCodewords(c),b=r.getTotalCodewordsCount(c,f),_=(h-b)*8;if(l===i.MIXED)return _;const y=_-p(l,c);switch(l){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,f){let l;const h=n.from(f,n.M);if(Array.isArray(c)){if(c.length>1)return m(c,h);if(c.length===0)return 1;l=c[0]}else l=c;return u(l.mode,l.getLength(),h)},e.getEncodedBits=function(c){if(!o.isValid(c)||c<7)throw new Error("Invalid QR Code version");let f=c<<12;for(;t.getBCHDigit(f)-s>=0;)f^=a<<t.getBCHDigit(f)-s;return c<<12|f}})(Zc);var tu={};const Ni=Ae,ru=1335,Qh=21522,Ha=Ni.getBCHDigit(ru);tu.getEncodedBits=function(t,r){const n=t.bit<<3|r;let i=n<<10;for(;Ni.getBCHDigit(i)-Ha>=0;)i^=ru<<Ni.getBCHDigit(i)-Ha;return(n<<10|i)^Qh};var nu={};const Gh=ot;function It(e){this.mode=Gh.NUMERIC,this.data=e.toString()}It.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};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,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 Jh=It;const Kh=ot,Jn=["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 Ft(e){this.mode=Kh.ALPHANUMERIC,this.data=e}Ft.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};Ft.prototype.getLength=function(){return this.data.length};Ft.prototype.getBitsLength=function(){return Ft.getBitsLength(this.data.length)};Ft.prototype.write=function(t){let r;for(r=0;r+2<=this.data.length;r+=2){let n=Jn.indexOf(this.data[r])*45;n+=Jn.indexOf(this.data[r+1]),t.put(n,11)}this.data.length%2&&t.put(Jn.indexOf(this.data[r]),6)};var Yh=Ft,Xh=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 a=t.charCodeAt(i+1);a>=56320&&a<=57343&&(o=(o-55296)*1024+a-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 Zh=Xh,em=ot;function Mt(e){this.mode=em.BYTE,typeof e=="string"&&(e=Zh(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 tm=Mt;const rm=ot,nm=Ae;function Dt(e){this.mode=rm.KANJI,this.data=e}Dt.getBitsLength=function(t){return t*13};Dt.prototype.getLength=function(){return this.data.length};Dt.prototype.getBitsLength=function(){return Dt.getBitsLength(this.data.length)};Dt.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let r=nm.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 im=Dt,iu={exports:{}};(function(e){var t={single_source_shortest_paths:function(r,n,i){var o={},a={};a[n]=0;var s=t.PriorityQueue.make();s.push(n,0);for(var u,p,g,m,d,c,f,l,h;!s.empty();){u=s.pop(),p=u.value,m=u.cost,d=r[p]||{};for(g in d)d.hasOwnProperty(g)&&(c=d[g],f=m+c,l=a[g],h=typeof a[g]=="undefined",(h||l>f)&&(a[g]=f,s.push(g,f),o[g]=p))}if(typeof i!="undefined"&&typeof a[i]=="undefined"){var b=["Could not find a path from ",n," to ",i,"."].join("");throw new Error(b)}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})(iu);var om=iu.exports;(function(e){const t=ot,r=Jh,n=Yh,i=tm,o=im,a=qe,s=Ae,u=om;function p(b){return unescape(encodeURIComponent(b)).length}function g(b,_,y){const v=[];let S;for(;(S=b.exec(y))!==null;)v.push({data:S[0],index:S.index,mode:_,length:S[0].length});return v}function m(b){const _=g(a.NUMERIC,t.NUMERIC,b),y=g(a.ALPHANUMERIC,t.ALPHANUMERIC,b);let v,S;return s.isKanjiModeEnabled()?(v=g(a.BYTE,t.BYTE,b),S=g(a.KANJI,t.KANJI,b)):(v=g(a.BYTE_KANJI,t.BYTE,b),S=[]),_.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(b,_){switch(_){case t.NUMERIC:return r.getBitsLength(b);case t.ALPHANUMERIC:return n.getBitsLength(b);case t.KANJI:return o.getBitsLength(b);case t.BYTE:return i.getBitsLength(b)}}function c(b){return b.reduce(function(_,y){const v=_.length-1>=0?_[_.length-1]:null;return v&&v.mode===y.mode?(_[_.length-1].data+=y.data,_):(_.push(y),_)},[])}function f(b){const _=[];for(let y=0;y<b.length;y++){const v=b[y];switch(v.mode){case t.NUMERIC:_.push([v,{data:v.data,mode:t.ALPHANUMERIC,length:v.length},{data:v.data,mode:t.BYTE,length:v.length}]);break;case t.ALPHANUMERIC:_.push([v,{data:v.data,mode:t.BYTE,length:v.length}]);break;case t.KANJI:_.push([v,{data:v.data,mode:t.BYTE,length:p(v.data)}]);break;case t.BYTE:_.push([{data:v.data,mode:t.BYTE,length:p(v.data)}])}}return _}function l(b,_){const y={},v={start:{}};let S=["start"];for(let k=0;k<b.length;k++){const C=b[k],x=[];for(let A=0;A<C.length;A++){const E=C[A],R=""+k+A;x.push(R),y[R]={node:E,lastCount:0},v[R]={};for(let M=0;M<S.length;M++){const P=S[M];y[P]&&y[P].node.mode===E.mode?(v[P][R]=d(y[P].lastCount+E.length,E.mode)-d(y[P].lastCount,E.mode),y[P].lastCount+=E.length):(y[P]&&(y[P].lastCount=E.length),v[P][R]=d(E.length,E.mode)+4+t.getCharCountIndicator(E.mode,_))}}S=x}for(let k=0;k<S.length;k++)v[S[k]].end=0;return{map:v,table:y}}function h(b,_){let y;const v=t.getBestModeForData(b);if(y=t.from(_,v),y!==t.BYTE&&y.bit<v.bit)throw new Error('"'+b+'" cannot be encoded with mode '+t.toString(y)+`.
19
- Suggested mode is: `+t.toString(v));switch(y===t.KANJI&&!s.isKanjiModeEnabled()&&(y=t.BYTE),y){case t.NUMERIC:return new r(b);case t.ALPHANUMERIC:return new n(b);case t.KANJI:return new o(b);case t.BYTE:return new i(b)}}e.fromArray=function(_){return _.reduce(function(y,v){return typeof v=="string"?y.push(h(v,null)):v.data&&y.push(h(v.data,v.mode)),y},[])},e.fromString=function(_,y){const v=m(_,s.isKanjiModeEnabled()),S=f(v),k=l(S,y),C=u.find_path(k.map,"start","end"),x=[];for(let A=1;A<C.length-1;A++)x.push(k.table[C[A]].node);return e.fromArray(c(x))},e.rawSplit=function(_){return e.fromArray(m(_,s.isKanjiModeEnabled()))}})(nu);const Rn=Ae,Kn=An,am=Lh,sm=$h,cm=Gc,um=Jc,Oi=Kc,Li=En,dm=zh,nn=Zc,lm=tu,fm=ot,Yn=nu;function pm(e,t){const r=e.size,n=um.getPositions(t);for(let i=0;i<n.length;i++){const o=n[i][0],a=n[i][1];for(let s=-1;s<=7;s++)if(!(o+s<=-1||r<=o+s))for(let u=-1;u<=7;u++)a+u<=-1||r<=a+u||(s>=0&&s<=6&&(u===0||u===6)||u>=0&&u<=6&&(s===0||s===6)||s>=2&&s<=4&&u>=2&&u<=4?e.set(o+s,a+u,!0,!0):e.set(o+s,a+u,!1,!0))}}function hm(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 mm(e,t){const r=cm.getPositions(t);for(let n=0;n<r.length;n++){const i=r[n][0],o=r[n][1];for(let a=-2;a<=2;a++)for(let s=-2;s<=2;s++)a===-2||a===2||s===-2||s===2||a===0&&s===0?e.set(i+a,o+s,!0,!0):e.set(i+a,o+s,!1,!0)}}function gm(e,t){const r=e.size,n=nn.getEncodedBits(t);let i,o,a;for(let s=0;s<18;s++)i=Math.floor(s/3),o=s%3+r-8-3,a=(n>>s&1)===1,e.set(i,o,a,!0),e.set(o,i,a,!0)}function Xn(e,t,r){const n=e.size,i=lm.getEncodedBits(t,r);let o,a;for(o=0;o<15;o++)a=(i>>o&1)===1,o<6?e.set(o,8,a,!0):o<8?e.set(o+1,8,a,!0):e.set(n-15+o,8,a,!0),o<8?e.set(8,n-o-1,a,!0):o<9?e.set(8,15-o-1+1,a,!0):e.set(8,15-o-1,a,!0);e.set(n-8,8,1,!0)}function ym(e,t){const r=e.size;let n=-1,i=r-1,o=7,a=0;for(let s=r-1;s>0;s-=2)for(s===6&&s--;;){for(let u=0;u<2;u++)if(!e.isReserved(i,s-u)){let p=!1;a<t.length&&(p=(t[a]>>>o&1)===1),e.set(i,s-u,p),o--,o===-1&&(a++,o=7)}if(i+=n,i<0||r<=i){i-=n,n=-n;break}}}function wm(e,t,r){const n=new am;r.forEach(function(u){n.put(u.mode.bit,4),n.put(u.getLength(),fm.getCharCountIndicator(u.mode,e)),u.write(n)});const i=Rn.getSymbolTotalCodewords(e),o=Li.getTotalCodewordsCount(e,t),a=(i-o)*8;for(n.getLengthInBits()+4<=a&&n.put(0,4);n.getLengthInBits()%8!==0;)n.putBit(0);const s=(a-n.getLengthInBits())/8;for(let u=0;u<s;u++)n.put(u%2?17:236,8);return bm(n,e,t)}function bm(e,t,r){const n=Rn.getSymbolTotalCodewords(t),i=Li.getTotalCodewordsCount(t,r),o=n-i,a=Li.getBlocksCount(t,r),s=n%a,u=a-s,p=Math.floor(n/a),g=Math.floor(o/a),m=g+1,d=p-g,c=new dm(d);let f=0;const l=new Array(a),h=new Array(a);let b=0;const _=new Uint8Array(e.buffer);for(let C=0;C<a;C++){const x=C<u?g:m;l[C]=_.slice(f,f+x),h[C]=c.encode(l[C]),f+=x,b=Math.max(b,x)}const y=new Uint8Array(n);let v=0,S,k;for(S=0;S<b;S++)for(k=0;k<a;k++)S<l[k].length&&(y[v++]=l[k][S]);for(S=0;S<d;S++)for(k=0;k<a;k++)y[v++]=h[k][S];return y}function vm(e,t,r,n){let i;if(Array.isArray(e))i=Yn.fromArray(e);else if(typeof e=="string"){let p=t;if(!p){const g=Yn.rawSplit(e);p=nn.getBestVersionForData(g,r)}i=Yn.fromString(e,p||40)}else throw new Error("Invalid data");const o=nn.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(`
16
+ */var gr=df;function ff(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var pf=typeof Object.is=="function"?Object.is:ff,hf=gr.useSyncExternalStore,mf=gr.useRef,gf=gr.useEffect,yf=gr.useMemo,wf=gr.useDebugValue;fc.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=mf(null);if(o.current===null){var s={hasValue:!1,value:null};o.current=s}else s=o.current;o=yf(function(){function u(c){if(!m){if(m=!0,y=c,c=n(c),i!==void 0&&s.hasValue){var l=s.value;if(i(l,c))return h=l}return h=c}if(l=h,pf(y,c))return l;var f=n(c);return i!==void 0&&i(l,f)?l:(y=c,h=f)}var m=!1,y,h,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=hf(e,o[0],o[1]);return gf(function(){s.hasValue=!0,s.value=a},[a]),wf(a),a};dc.exports=fc;var bf=dc.exports,be="default"in Yt?va:Yt,bs=Symbol.for("react-redux-context"),vs=typeof globalThis!="undefined"?globalThis:{};function vf(){var r;if(!be.createContext)return{};const e=(r=vs[bs])!=null?r:vs[bs]=new Map;let t=e.get(be.createContext);return t||(t=be.createContext(null),e.set(be.createContext,t)),t}var nt=vf(),_f=()=>{throw new Error("uSES not initialized!")};function eo(e=nt){return function(){return be.useContext(e)}}var pc=eo(),hc=_f,Sf=e=>{hc=e},Cf=(e,t)=>e===t;function kf(e=nt){const t=e===nt?pc:eo(e);return function(n,i={}){const{equalityFn:o=Cf,devModeChecks:s={}}=typeof i=="function"?{equalityFn:i}:i,{store:a,subscription:u,getServerState:m,stabilityCheck:y,identityFunctionCheck:h}=t();be.useRef(!0);const d=be.useCallback({[n.name](l){return n(l)}}[n.name],[n,y,s.stabilityCheck]),c=hc(u.addNestedSub,a.getState,m||a.getState,d,o);return be.useDebugValue(c),c}}var mc=kf();function gc(e){e()}function xf(){let e=null,t=null;return{clear(){e=null,t=null},notify(){gc(()=>{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 _s={notify(){},get:()=>[]};function Ef(e,t){let r,n=_s,i=0,o=!1;function s(f){y();const p=n.subscribe(f);let w=!1;return()=>{w||(w=!0,p(),h())}}function a(){n.notify()}function u(){l.onStateChange&&l.onStateChange()}function m(){return o}function y(){i++,r||(r=t?t.addNestedSub(u):e.subscribe(u),n=xf())}function h(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=_s)}function d(){o||(o=!0,y())}function c(){o&&(o=!1,h())}const l={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:u,isSubscribed:m,trySubscribe:d,tryUnsubscribe:c,getListeners:()=>n};return l}var Af=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Tf=Af?be.useLayoutEffect:be.useEffect;function Ss(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Kr(e,t){if(Ss(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])||!Ss(e[r[i]],t[r[i]]))return!1;return!0}function Rf({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const s=be.useMemo(()=>{const m=Ef(e);return{store:e,subscription:m,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,n,i,o]),a=be.useMemo(()=>e.getState(),[e]);Tf(()=>{const{subscription:m}=s;return m.onStateChange=m.notifyNestedSubs,m.trySubscribe(),a!==e.getState()&&m.notifyNestedSubs(),()=>{m.tryUnsubscribe(),m.onStateChange=void 0}},[s,a]);const u=t||nt;return be.createElement(u.Provider,{value:s},r)}var Pf=Rf;function yc(e=nt){const t=e===nt?pc:eo(e);return function(){const{store:n}=t();return n}}var wc=yc();function If(e=nt){const t=e===nt?wc:yc(e);return function(){return t().dispatch}}var bc=If(),Mf=gc;Sf(bf.useSyncExternalStoreWithSelector);function Cs(e,t,r,n){const i=ce(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),o=Ee(i);return X(()=>{o.current.serialized!==i.serialized&&(o.current=i)},[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var qn=Symbol();function Wn(e){const t=Ee(e);return X(()=>{Kr(t.current,e)||(t.current=e)},[e]),Kr(t.current,e)?t.current:e}var wt=WeakMap?new WeakMap:void 0,Ff=({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)=>$e(s)?Object.keys(s).sort().reduce((a,u)=>(a[u]=s[u],a),{}):s);$e(t)&&(wt==null||wt.set(t,i)),r=i}return`${e}(${r})`},Df=typeof window!="undefined"&&window.document&&window.document.createElement?mt:X,Bf=e=>e.isUninitialized?G(D({},e),{isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:ic.pending}):e;function Nf({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:o},serializeQueryArgs:s,context:a}){const u=o?c=>c():X;return{buildQueryHooks:h,buildMutationHook:d,usePrefetch:y};function m(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,_=c.isLoading,g=!w&&_,v=c.isSuccess||_&&w;return G(D({},c),{data:p,currentData:c.data,isFetching:_,isLoading:g,isSuccess:v})}function y(c,l){const f=r(),p=Wn(l);return bt((w,_)=>f(e.util.prefetch(c,w,D(D({},p),_))),[c,f,p])}function h(c){const l=(w,{refetchOnReconnect:_,refetchOnFocus:g,refetchOnMountOrArgChange:v,skip:S=!1,pollingInterval:k=0}={})=>{const{initiate:C}=e.endpoints[c],x=r(),E=Ee();if(!E.current){const L=x(e.internalActions.internal_getRTKQSubscriptions());E.current=L}const A=Cs(S?ut:w,Ff,a.endpointDefinitions[c],c),R=Wn({refetchOnReconnect:_,refetchOnFocus:g,pollingInterval:k}),M=Ee(!1),P=Ee();let{queryCacheKey:I,requestId:$}=P.current||{},Y=!1;I&&$&&(Y=E.current.isRequestSubscribed(I,$));const z=!Y&&M.current;return u(()=>{M.current=Y}),u(()=>{z&&(P.current=void 0)},[z]),u(()=>{var ee;const L=P.current;if(A===ut){L==null||L.unsubscribe(),P.current=void 0;return}const re=(ee=P.current)==null?void 0:ee.subscriptionOptions;if(!L||L.arg!==A){L==null||L.unsubscribe();const de=x(C(A,{subscriptionOptions:R,forceRefetch:v}));P.current=de}else R!==re&&L.updateSubscriptionOptions(R)},[x,C,v,A,R,z]),X(()=>()=>{var L;(L=P.current)==null||L.unsubscribe(),P.current=void 0},[]),ce(()=>({refetch:()=>{var L;if(!P.current)throw new Error(Ae(38));return(L=P.current)==null?void 0:L.refetch()}}),[])},f=({refetchOnReconnect:w,refetchOnFocus:_,pollingInterval:g=0}={})=>{const{initiate:v}=e.endpoints[c],S=r(),[k,C]=pe(qn),x=Ee(),E=Wn({refetchOnReconnect:w,refetchOnFocus:_,pollingInterval:g});u(()=>{var P,I;const M=(P=x.current)==null?void 0:P.subscriptionOptions;E!==M&&((I=x.current)==null||I.updateSubscriptionOptions(E))},[E]);const A=Ee(E);u(()=>{A.current=E},[E]);const R=bt(function(M,P=!1){let I;return t(()=>{var $;($=x.current)==null||$.unsubscribe(),x.current=I=S(v(M,{subscriptionOptions:A.current,forceRefetch:!P})),C(M)}),I},[S,v]);return X(()=>()=>{var M;(M=x==null?void 0:x.current)==null||M.unsubscribe()},[]),X(()=>{k!==qn&&!x.current&&R(k,!0)},[k,R]),ce(()=>[R,k],[R,k])},p=(w,{skip:_=!1,selectFromResult:g}={})=>{const{select:v}=e.endpoints[c],S=Cs(_?ut:w,s,a.endpointDefinitions[c],c),k=Ee(),C=ce(()=>Ct([v(S),(M,P)=>P,M=>S],m),[v,S]),x=ce(()=>g?Ct([C],g,{devModeChecks:{identityFunctionCheck:"never"}}):C,[C,g]),E=n(M=>x(M,k.current),Kr),A=i(),R=C(A.getState(),k.current);return Df(()=>{k.current=R},[R]),E};return{useQueryState:p,useQuerySubscription:l,useLazyQuerySubscription:f,useLazyQuery(w){const[_,g]=f(w),v=p(g,G(D({},w),{skip:g===qn})),S=ce(()=>({lastArg:g}),[g]);return ce(()=>[_,v,S],[_,v,S])},useQuery(w,_){const g=l(w,_),v=p(w,D({selectFromResult:w===ut||_!=null&&_.skip?void 0:Bf},_)),{data:S,status:k,isLoading:C,isSuccess:x,isError:E,error:A}=v;return jr({data:S,status:k,isLoading:C,isSuccess:x,isError:E,error:A}),ce(()=>D(D({},v),g),[v,g])}}}function d(c){return({selectFromResult:l,fixedCacheKey:f}={})=>{const{select:p,initiate:w}=e.endpoints[c],_=r(),[g,v]=pe();X(()=>()=>{g!=null&&g.arg.fixedCacheKey||g==null||g.reset()},[g]);const S=bt(function(ee){const de=_(w(ee,{fixedCacheKey:f}));return v(de),de},[_,w,f]),{requestId:k}=g||{},C=ce(()=>p({fixedCacheKey:f,requestId:g==null?void 0:g.requestId}),[f,g,p]),x=ce(()=>l?Ct([C],l):C,[l,C]),E=n(x,Kr),A=f==null?g==null?void 0:g.arg.originalArgs:void 0,R=bt(()=>{t(()=>{g&&v(void 0),f&&_(e.internalActions.removeMutationResult({requestId:k,fixedCacheKey:f}))})},[_,f,g,k]),{endpointName:M,data:P,status:I,isLoading:$,isSuccess:Y,isError:z,error:L}=E;jr({endpointName:M,data:P,status:I,isLoading:$,isSuccess:Y,isError:z,error:L});const re=ce(()=>G(D({},E),{originalArgs:A,reset:R}),[E,A,R]);return ce(()=>[S,re],[S,re])}}}function Of(e){return e.type==="query"}function Lf(e){return e.type==="mutation"}function Vn(e){return e.replace(e[0],e[0].toUpperCase())}function Tr(e,...t){return Object.assign(e,...t)}var $f=Symbol(),Uf=(i={})=>{var o=i,{batch:e=Mf,hooks:t={useDispatch:bc,useSelector:mc,useStore:wc},unstable__sideEffectsInRender:r=!1}=o,n=ot(o,["batch","hooks","unstable__sideEffectsInRender"]);return{name:$f,init(s,{serializeQueryArgs:a},u){const m=s,{buildQueryHooks:y,buildMutationHook:h,usePrefetch:d}=Nf({api:s,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:a,context:u});return Tr(m,{usePrefetch:d}),Tr(u,{batch:e}),{injectEndpoint(c,l){if(Of(l)){const{useQuery:f,useLazyQuery:p,useLazyQuerySubscription:w,useQueryState:_,useQuerySubscription:g}=y(c);Tr(m.endpoints[c],{useQuery:f,useLazyQuery:p,useLazyQuerySubscription:w,useQueryState:_,useQuerySubscription:g}),s[`use${Vn(c)}Query`]=f,s[`useLazy${Vn(c)}Query`]=p}else if(Lf(l)){const f=h(c);Tr(m.endpoints[c],{useMutation:f}),s[`use${Vn(c)}Mutation`]=f}}}}}},vc=Yd(lf(),Uf());const _c=(e,t,r)=>he(void 0,null,function*(){const n=t.getState().session.backendUrl;return qd({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)}),Le=vc({baseQuery:_c,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:zf,useByofCampaignConnectQuery:Sc,useAppLoadedMutation:jf,useErrorLogsMutation:Mg}=Le;var wi={exports:{}};(function(e,t){(function(r,n){var i="1.0.37",o="",s="?",a="function",u="undefined",m="object",y="string",h="major",d="model",c="name",l="type",f="vendor",p="version",w="architecture",_="console",g="mobile",v="tablet",S="smarttv",k="wearable",C="embedded",x=500,E="Amazon",A="Apple",R="ASUS",M="BlackBerry",P="Browser",I="Chrome",$="Edge",Y="Firefox",z="Google",L="Huawei",re="LG",ee="Microsoft",de="Motorola",je="Opera",ne="Samsung",Bt="Sharp",ie="Sony",Te="Xiaomi",Pn="Zebra",lo="Facebook",fo="Chromium OS",po="Mac OS",su=function(U,V){var O={};for(var K in U)V[K]&&V[K].length%2===0?O[K]=V[K].concat(U[K]):O[K]=U[K];return O},vr=function(U){for(var V={},O=0;O<U.length;O++)V[U[O].toUpperCase()]=U[O];return V},ho=function(U,V){return typeof U===y?Nt(V).indexOf(Nt(U))!==-1:!1},Nt=function(U){return U.toLowerCase()},au=function(U){return typeof U===y?U.replace(/[^\d\.]/g,o).split(".")[0]:n},In=function(U,V){if(typeof U===y)return U=U.replace(/^\s\s*/,o),typeof V===u?U:U.substring(0,x)},Ot=function(U,V){for(var O=0,K,Ye,Fe,W,B,De;O<V.length&&!B;){var Fn=V[O],yo=V[O+1];for(K=Ye=0;K<Fn.length&&!B&&Fn[K];)if(B=Fn[K++].exec(U),B)for(Fe=0;Fe<yo.length;Fe++)De=B[++Ye],W=yo[Fe],typeof W===m&&W.length>0?W.length===2?typeof W[1]==a?this[W[0]]=W[1].call(this,De):this[W[0]]=W[1]:W.length===3?typeof W[1]===a&&!(W[1].exec&&W[1].test)?this[W[0]]=De?W[1].call(this,De,W[2]):n:this[W[0]]=De?De.replace(W[1],W[2]):n:W.length===4&&(this[W[0]]=De?W[3].call(this,De.replace(W[1],W[2])):n):this[W]=De||n;O+=2}},Mn=function(U,V){for(var O in V)if(typeof V[O]===m&&V[O].length>0){for(var K=0;K<V[O].length;K++)if(ho(V[O][K],U))return O===s?n:O}else if(ho(V[O],U))return O===s?n:O;return U},cu={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},mo={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"},go={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,je+" Mini"]],[/\bopr\/([\w\.]+)/i],[p,[c,je]],[/\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,je+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[c,je+" 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,lo],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,I+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,I+" 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,Mn,cu]],[/(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,Nt]],[/((?: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,Nt]],[/(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,Nt]]],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,g]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[f,A],[l,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[f,A],[l,v]],[/(macintosh);/i],[d,[f,A]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[f,Bt],[l,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[f,L],[l,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[f,L],[l,g]],[/\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,Te],[l,g]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[f,Te],[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,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[f,"Vivo"],[l,g]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[f,"Realme"],[l,g]],[/\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,de],[l,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[f,de],[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,g]],[/(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,g]],[/(pixel c)\b/i],[d,[f,z],[l,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[f,z],[l,g]],[/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,g]],[/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,g]],[/(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,g]],[/(playbook);[-\w\),; ]+(rim)/i],[d,f,[l,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[f,M],[l,g]],[/(?:\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,g]],[/(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,g]],[/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,g]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[f,"Ulefone"],[l,g]],[/(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,g]],[/(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,ee],[l,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[f,"Fairphone"],[l,g]],[/(u304aa)/i],[d,[f,"AT&T"],[l,g]],[/\bsie-(\w*)/i],[d,[f,"Siemens"],[l,g]],[/\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,g]],[/\b(gen\d{3}) b.+49h/i],[d,[f,"Swiss"],[l,g]],[/\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,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[f,"LvTel"],d,[l,g]],[/\b(ph-1) /i],[d,[f,"Essential"],[l,g]],[/\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,g]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[f,ee],[l,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[f,Pn],[l,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[f,Pn],[l,g]],[/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,A+" TV"],[l,S]],[/crkey/i],[[d,I+"cast"],[f,z],[l,S]],[/droid.+aft(\w+)( bui|\))/i],[d,[f,E],[l,S]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[f,Bt],[l,S]],[/(bravia[\w ]+)( bui|\))/i],[d,[f,ie],[l,S]],[/(mitv-\w{5}) bui/i],[d,[f,Te],[l,S]],[/Hbbtv.*(technisat) (.*);/i],[f,d,[l,S]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[f,In],[d,In],[l,S]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[l,S]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,d,[l,_]],[/droid.+; (shield) bui/i],[d,[f,"Nvidia"],[l,_]],[/(playstation [345portablevi]+)/i],[d,[f,ie],[l,_]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[f,ee],[l,_]],[/((pebble))app/i],[f,d,[l,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[f,A],[l,k]],[/droid.+; (glass) \d/i],[d,[f,z],[l,k]],[/droid.+; (wt63?0{2,3})\)/i],[d,[f,Pn],[l,k]],[/(quest( 2| pro)?)/i],[d,[f,lo],[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,g]],[/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,g]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[f,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[c,$+"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,Mn,mo]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,Mn,mo],[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,po],[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,M]],[/(?: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,I+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[c,fo],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===m&&(V=U,U=n),!(this instanceof Re))return new Re(U,V).getResult();var O=typeof r!==u&&r.navigator?r.navigator:n,K=U||(O&&O.userAgent?O.userAgent:o),Ye=O&&O.userAgentData?O.userAgentData:n,Fe=V?su(go,V):go,W=O&&O.userAgent==K;return this.getBrowser=function(){var B={};return B[c]=n,B[p]=n,Ot.call(B,K,Fe.browser),B[h]=au(B[p]),W&&O&&O.brave&&typeof O.brave.isBrave==a&&(B[c]="Brave"),B},this.getCPU=function(){var B={};return B[w]=n,Ot.call(B,K,Fe.cpu),B},this.getDevice=function(){var B={};return B[f]=n,B[d]=n,B[l]=n,Ot.call(B,K,Fe.device),W&&!B[l]&&Ye&&Ye.mobile&&(B[l]=g),W&&B[d]=="Macintosh"&&O&&typeof O.standalone!==u&&O.maxTouchPoints&&O.maxTouchPoints>2&&(B[d]="iPad",B[l]=v),B},this.getEngine=function(){var B={};return B[c]=n,B[p]=n,Ot.call(B,K,Fe.engine),B},this.getOS=function(){var B={};return B[c]=n,B[p]=n,Ot.call(B,K,Fe.os),W&&!B[c]&&Ye&&Ye.platform!="Unknown"&&(B[c]=Ye.platform.replace(/chrome os/i,fo).replace(/macos/i,po)),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 K},this.setUA=function(B){return K=typeof B===y&&B.length>x?In(B,x):B,this},this.setUA(K),this};Re.VERSION=i,Re.BROWSER=vr([c,p,h]),Re.CPU=vr([w]),Re.DEVICE=vr([d,f,l,_,g,S,v,k,C]),Re.ENGINE=Re.OS=vr([c,p]),e.exports&&(t=e.exports=Re),t.UAParser=Re;var gt=typeof r!==u&&(r.jQuery||r.Zepto);if(gt&&!gt.ua){var _r=new Re;gt.ua=_r.getResult(),gt.ua.get=function(){return _r.getUA()},gt.ua.set=function(U){_r.setUA(U);var V=_r.getResult();for(var O in V)gt.ua[O]=V[O]}}})(typeof window=="object"?window:ll)})(wi,wi.exports);var Hf=wi.exports;const Qn=new Hf.UAParser,Cc=()=>/iPad|iPhone|iPod/.test(navigator.userAgent),kc=()=>/Android/.test(navigator.userAgent),Ge=()=>kc()||Cc(),xc=()=>({deviceType:kc()||Cc()?"Mobile":"Desktop",platform:Qn.getOS().name,Browser:Qn.getBrowser().name,"Browser Version":Qn.getBrowser().version}),Jt=vc({baseQuery:_c,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:D(D({},r),xc())}})}),segmentPage:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/p",method:"POST",body:{event:t,properties:r}})})})}),{useSegmentIdentifyMutation:qf,useSegmentTrackMutation:Wf,useSegmentPageMutation:Fg}=Jt,Vf={selectedVariants:{}},bi=qe({name:"experimentsData",initialState:Vf,reducers:{setExperiment:(e,t)=>{const{experimentName:r,selectedVariant:n}=t.payload;return e.selectedVariants[r]||(e.selectedVariants[r]=n),e}}}),{setExperiment:Qf}=bi.actions,vi=qe({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:Jf}=vi.actions,_i=qe({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:Kf,setSelectedFund:Ec,clearSelectedFund:He}=_i.actions,lt=wd({reducer:{[vi.name]:vi.reducer,[Le.reducerPath]:Le.reducer,[Jt.reducerPath]:Jt.reducer,[_i.reducerPath]:_i.reducer,[bi.reducerPath]:bi.reducer},middleware:e=>e().concat(Le.middleware,Jt.middleware)}),Cn=()=>bc(),Ue=mc,to="32367272075001",ro="slate",ke=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},Gf=()=>{ke({sender:"byof-engagement",type:"continue",reason:"No content to display"})},Yf=()=>{ke({sender:"byof-engagement",type:"continue",reason:"Continue button was clicked"})},Xf=()=>{ke({sender:"byof-engagement",type:"continue",reason:"Timeout, or a backend error has occurred"})},Zf=()=>{const[e]=Wf();return()=>{ke({sender:"super-campaign",type:"choose-another-fund-requested"}),e({event:"FeaturedFunds Skipped",properties:{method:"button"}})}},ep=e=>{ke({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.fundType}))})},tp=e=>{ke({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.fundType,fundName:e.name,fundUsi:e.fundId===ro?to:void 0})},oe=e=>{ke({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:e.fundId===ro?to:void 0})},rp=()=>{ke({sender:"super-campaign",type:"disclaimer-accepted"})},np=()=>{ke({sender:"super-campaign",type:"disclaimer-viewed"})},jt=e=>{ke({sender:"super-campaign",type:"promoted-fund-joined",fundJoinInfo:e})},ip=()=>{ke({sender:"super-campaign",type:"super-campaign-loaded"})},op=e=>{ke({sender:"super-campaign",type:"super-campaign-load-failed",reason:e})},sp=e=>{ke({sender:"super-campaign",type:"super-campaign-failed",reason:e})};var ap=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 m={type:e,props:u,key:r,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--ap,__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 F.vnode&&F.vnode(m),m}var Qe=_e;function b(e,t,r){return bn.call(t,"css")?Gr(Ua,$a(e,t),r):Gr(e,t,r)}function T(e,t,r){return bn.call(t,"css")?Gr(Ua,$a(e,t),r):Gr(e,t,r)}const cp=j.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),up="_extnav=true",N=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}${up}`;return b(cp,G(D({target:"_blank",href:a,onClick:t},n),{children:r}))},lp=""+new URL("assets/logo-australian-D0VAGS6p.svg",import.meta.url).href,dp="AustralianSuper",fp="https://www.australiansuper.com/tools-and-advice/learn/product-disclosure-statements?utm_medium=digital&utm_source=pds_choose&utm_campaign=new_channels_flare|join|fy25|q1|august",pp="https://www.australiansuper.com/tools-and-advice/learn/target-market-determinations?utm_medium=digital&utm_source=tmd&utm_campaign=new_channels_flare|join|fy25|q1|august",Si={fundId:"australian-super-default",name:dp,logo:lp,iframeType:"PromotedFundJoinV2",features:[T("p",{children:["One in seven working Australians are with AustralianSuper",b("sup",{css:{fontSize:"0.625rem"},children:"1"}),"."]}),b("p",{children:"Digital tools and resources for super management and future planning."}),b("p",{children:"Access to a wide range of investment options."})],featureSubText:void 0,extraBadge:b("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},children:"Employer Default"}),disclaimer:T("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[b("p",{children:"1. Source: Australian Bureau of Statistics (Labour force) December 2023 and AustralianSuper Member Data."}),T("p",{children:["You should consider the"," ",b(N,{onClick:()=>oe(Si),link:fp,children:"Product Disclosure Statement"})," ","and"," ",b(N,{onClick:()=>oe(Si),link:pp,children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the Fund."]}),b("p",{children:"Sponsored by AustralianSuper Pty Ltd. AustralianSuper Pty Ltd ABN 94 006 457 987 AFSL 233788, Trustee of AustralianSuper ABN 65 714 394 898."})]})},hp=""+new URL("assets/logo-aware-DYvmVUZ1.svg",import.meta.url).href,mp="Aware Super",Ac={fundId:"aware-super",name:mp,logo:hp,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Multi-award winning fund named Retirement Offering of the Year 2024.^"}),b("p",{children:"Members get a 45-minute Super Helpful check-in with an advisor."}),b("p",{children:"8.97% p.a.* returns over 10 years to 31 March 2024 (High Growth option)"})],disclaimer:T("div",{children:[T("p",{children:["Consider if we’re right for you and read the"," ",b(N,{onClick:()=>oe(Ac),link:"https://aware.com.au/member/contact-aware-super/forms-and-documents/",children:"PDS and TMD"}),".",b("br",{}),"^Awards are just one factor to consider when deciding on a product."," ",b(N,{link:"https://aware.com.au/member/about-us/awards/",children:"Learn about our awards"}),".",b("br",{}),"*SuperRatings Fund Crediting Rate Survey, March 2024. Based on SR50 Growth (77-90) Index. Past performance does not indicate future performance."]}),b("br",{}),b("p",{children:"Aware Super Pty Ltd (ABN 11 118 202 672, AFSL 293340), trustee of Aware Super (ABN 53 226 460 365)."})]})},gp=""+new URL("assets/logo-brighter-cKB6xH2M.svg",import.meta.url).href,yp="https://www.brightersuper.com.au/-/media/public/files/pds-and-guides/accumulation-account-pds.pdf",wp="https://www.brightersuper.com.au/-/media/public/files/target-market-determination/tmd-brighter-super-accumulation-account.pdf",bp="https://www.brightersuper.com.au/news/double-digit-returns-in-2023-and-some-of-the-lowest-fees-in-australia",vp="https://www.brightersuper.com.au/about-us/awards",_p="Brighter Super",Tc={fundId:"brightersuper",name:_p,logo:gp,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Double-digit returns for our MySuper option in 2023^"}),b("p",{children:"Top 3 industry fund for lowest MySuper fees in Australia^"}),T("p",{children:["Platinum rated by SuperRatings for 16 years in a row",b("sup",{css:{fontSize:"0.625rem"},children:"+"})]})],disclaimer:T("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:[T("p",{children:["^Past performance is not an indicator of future performance."," ",b(N,{link:bp,children:"Find out more about our MySuper fees and returns."}),b("sup",{css:{fontSize:"0.625rem"},children:"+"}),"Ratings are only one factor to consider."," ",b(N,{link:vp,children:"View our ratings and awards."})]}),T("p",{children:["Consider the"," ",b(N,{link:yp,onClick:()=>oe(Tc),children:"PDS"})," ","& ",b(N,{link:wp,children:"TMD"})," before deciding to join."]}),b("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."})]})},Sp=""+new URL("assets/logo-first-CusDmGWL.svg",import.meta.url).href,Cp="First Super",Rc={fundId:"first-super",name:Cp,logo:Sp,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Industry SuperFund that offers five investment options and default insurance"}),b("p",{children:"Strong long-term investment returns and superior customer service - members first"}),b("p",{children:"Established super fund – anyone can join including KiwiSaver members"})],disclaimer:T("div",{children:[T("p",{children:["General advice only which has been prepared without taking into account your objectives, financial situation or needs. Consider whether the advice is appropriate for you and read the Product Disclosure Statement (PDS) before making any investment decisions. PDS and Target Market Determination are available at our"," ",b(N,{onClick:()=>oe(Rc),link:"https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/",children:"website"}),". Past performance is not a reliable indicator of future performance."]}),b("br",{}),b("p",{children:"Issued by First Super Pty Ltd ABN 42 053 498 472, AFSL 223988 (Trustee) as Trustee of First Super ABN 56 286 625 181."})]})},kp=""+new URL("assets/logo-hesta-NL7xF41R.svg",import.meta.url).href,xp="HESTA",Pc={fundId:"hesta-default",name:xp,logo:kp,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"A top-performing super fund* working for real-world impact"}),b("p",{children:"1+ million members"}),b("p",{children:"Expert help whenever you need it to help you face the future with confidence"})],featureSubText:void 0,disclaimer:T("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:[T("p",{css:{fontStyle:"italic"},children:["* SuperRatings 10 Year Platinum Performance 2014-2024 (MySuper). Investment performance contributes to but is not the only factor in determining this product rating. Product ratings and awards are only one factor to be considered. See"," ",b(N,{link:"https://www.hesta.com.au/ratings",children:"hesta.com.au/ratings"})," ","for more information."]}),T("p",{children:["Consider whether this product is appropriate for you by reading the Product Disclosure Statement and Target Market Determination at"," ",b(N,{onClick:()=>oe(Pc),link:"https://www.hesta.com.au/pds",children:"hesta.com.au/pds"})," ","In considering your own circumstances about the suitability of HESTA products, you may wish to consult an adviser or use the ATO YourSuper comparison tool. Please also consider the relevant risks."]}),b("p",{children:"Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"})]})},Ep=""+new URL("assets/logo-legalsuper-xG2DgGHY.svg",import.meta.url).href,Ap="legalsuper",Lr={fundId:"legalsuper",name:Ap,logo:Ep,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Strong performance - our investment options are designed to deliver steady returns."}),b("p",{children:"Personalised support - so you can access advice, knowledge and assistance when you need it."}),b("p",{children:"Tailored insurance - various cover options that adapt to life’s milestones and career changes."})],disclaimer:T("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:[T("p",{children:["This information is of a general nature. Please refer to the legalsuper"," ",b(N,{link:"https://www.legalsuper.com.au/super-pds",onClick:()=>oe(Lr),children:"Product Disclosure Statement (PDS)"})," ","and"," ",b(N,{link:"https://www.legalsuper.com.au/super-tmd",onClick:()=>oe(Lr),children:"Target Market Determination (TMD)"})," ","available at"," ",b(N,{link:"https://www.legalsuper.com.au/",onClick:()=>oe(Lr),children:"www.legalsuper.com.au"})," ","before making any decision. Past performance is not a guide to future performance."]}),b("p",{children:"Legal Super Pty Ltd ABN 37 004 455 789 AFSL 246315 as the Trustee for legalsuper ABN 60 346 078 879."})]})},Tp=""+new URL("assets/coverImage-BkXL9zfW.png",import.meta.url).href,Rp=""+new URL("assets/logo-mercer-mychoice-BB6VztRp.svg",import.meta.url).href,Pp=["35225A44-1235-4774-A292-69461DCF16E4","42EC210A-07EB-4252-82C5-F10FBE6884D6","5EF1A2B7-4AED-46BA-9455-E118664DFA16","A7E3600B-40B3-4B48-9BC1-D78C91CAA365"],Ip="Mercer MyChoice",Yr={fundId:"mercermychoice",name:Ip,logo:Rp,coverImage:Tp,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Save more super with our low fees"}),b("p",{children:"Take control with 6 MyChoice investment options"}),b("p",{children:"Join 850,000 Australians who trust our global expertise"})],disclaimer:T("div",{children:[T("p",{children:["You should consider the"," ",b(N,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>oe(Yr),children:"Product Disclosure Statement"})," ","and"," ",b(N,{link:"https://www.mercersuper.com.au/documents/target-market-determinations",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),b("br",{}),b("p",{children:"Issued by Mercer Superannuation (Australia) Limited (‘Mercer Super’) ABN: 79 004 717 533"})]}),extraBadge:b("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"}),footnoteTextOverride:"Powered by Flare FS",experiments:{"social-validation-business-mercermychoice":{splitType:"percentage",rotations:0,shouldRun:e=>{var n,i;const t=Le.endpoints.campaignConnect.select()(e).data,r=(n=t==null?void 0:t.userProfile.accountId)!=null?n:"";return!!(Pp.includes(r)&&(!Ge()||((i=t==null?void 0:t.promotedFunds)==null?void 0:i[0].fundId)===Yr.fundId)&&!(t!=null&&t.promotedFunds.find(o=>o.fundId==="virgin")))},variants:[{variantName:"control",percentage:50},{variantName:"badge",percentage:50}]}}},Mp=""+new URL("assets/logo-mine-7mxPtjsF.svg",import.meta.url).href,Fp="Mine Super",Ic={fundId:"mine",name:Fp,logo:Mp,iframeType:"PromotedFundJoinV2",features:[T("p",{children:[b("i",{children:"Money"})," magazine’s Best of the Best Awards for Best Value Superannuation Fund for Young People 2024."]}),b("p",{children:"Insurance cover^ that’s got your back if you’re unable to work due to sickness or injury."}),b("p",{children:"One of the lowest fixed admin fees ($0.75 per week)."})],featureSubText:["^Subject to meeting eligibility criteria."],disclaimer:b("div",{children:T("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"," ",b(N,{link:"https://www.mine.com.au/super/about-my-super/super-pds",onClick:()=>oe(Ic),children:"PDS"})," ","and ",b(N,{link:"https://www.mine.com.au/tmd",children:"TMDs"})," on our website at ",b(N,{link:"https://www.mine.com.au/",children:"mine.com.au"})," when considering if our financial products are right for you."]})})},Dp=""+new URL("assets/logo-reisuper-aM5iDbpN.svg",import.meta.url).href,Bp="REI Super",Mc={fundId:"reisuper",name:Bp,logo:Dp,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Built by and for the real estate industry"}),b("p",{children:"Consistent long-term performance with competitive fees*"}),b("p",{children:"All profits to members, not shareholders"})],disclaimer:T("div",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[b("p",{children:"*Balanced Option net investment return of 9.45% for year ending 30 June 2023."}),T("p",{children:["You should consider the"," ",b(N,{link:"https://www.reisuper.com.au/docs/default-source/super/rei-super-pds.pdf?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=pds",onClick:()=>oe(Mc),children:"Product Disclosure Statement"})," ","and"," ",b(N,{link:"https://www.reisuper.com.au/publications-and-forms/target-market-determination?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=tmd",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]})]}),abnInfo:"REI Superannuation Fund Pty Ltd",abn:"68 056 044 770"},Np=""+new URL("assets/logo-slate-CowODvPX.png",import.meta.url).href,Op="Slate Super",Xr={fundId:ro,name:Op,logo:Np,iframeType:"SlateJoin",features:[b("p",{children:"A lifestage investment strategy that evolves with you"}),b("p",{children:"Advanced mobile app with retirement forecast and smart features"}),b("p",{children:"Member advocates at Slate to assist with your account"})],disclaimer:T("p",{children:["You should consider the"," ",b(N,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>oe(Xr),children:"Product Disclosure Statement"})," ","and"," ",b(N,{link:"https://slate.co/forms-and-documents/target-market-determination/",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),abnInfo:"Diversa Trustees Limited",abn:"49 006 421 638"},Lp=""+new URL("assets/logo-spirit-CAaRIHR7.svg",import.meta.url).href,$p="Spirit Super",Fc={fundId:"spirit",name:$p,logo:Lp,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Industry SuperFund - profit to members"}),T("p",{children:["Low fees",b("sup",{css:{fontSize:"0.625rem"},children:"1"})," and a history of strong returns",b("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),T("p",{children:["Best customer experience",b("sup",{css:{fontSize:"0.625rem"},children:"3"})]})],featureSubText:b("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:T("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[b("li",{children:b("span",{children:"$67.60 + 0.15% of account balance pa in admin fees, capped at $517.60"})}),b("li",{children:b("span",{children:"Past performance isn't a reliable indicator of future performance"})}),b("li",{children:b("span",{children:b(N,{link:"https://www.spiritsuper.com.au/News/Best-in-customer-service-again",children:"CSBA Sense CX Benchmark ratings 2022/23/24"})})})]})}),disclaimer:T("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"," ",b(N,{link:"https://www.spiritsuper.com.au",onClick:()=>oe(Fc),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)."]})},Up=""+new URL("assets/logo-superhero-DEVv355I.svg",import.meta.url).href,zp="Superhero Super",Dc={fundId:"superhero",name:zp,logo:Up,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Primed for performance - Our range of investments are designed to deliver"}),b("p",{children:"Low fees - Means more super to build the future you want"}),b("p",{children:"Award winning^ - A direct investment option to build your portfolio your way"})],featureSubText:["^ Awarded Winner: Excellent Rates and Fees, Winner: Best for Direct Investments in the WeMoney Superannuation Awards 2024"],disclaimer:T("div",{children:[T("p",{children:["Superhero Super is a sub-plan of OneSuper (ABN 43 905 581 638), which is issued by Diversa Trustees Limited (ABN 49 006 421 638) as trustee. You should consider the"," ",b(N,{onClick:()=>oe(Dc),link:"https://superhe.ro/ext/superhero-super-pds.pdf",children:"Product Disclosure Statement"})," ","and"," ",b(N,{link:"https://cdn.trusteecloud.com/01cd640f-c204-4591-9c2b-c7e4ca5df769/superhero-transition-to-retirement-target-market-determination",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),b("br",{}),b("p",{children:"Superhero Super"}),b("p",{children:"USI: 43 905 581 638 018"})]})},jp=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,Hp="Unisuper",qp="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",Wp="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Bc={fundId:"unisuper",name:Hp,logo:jp,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Our fees are among the lowest in the industry.^"}),b("p",{children:"Our strong, long-term performance regularly exceeds industry averages.*"}),T("p",{children:["We’re consistently awarded as one of Australia’s best-performing funds.",b("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],disclaimer:T("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:[T("p",{children:["^Read more about our fees and how we compare"," ",b(N,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),T("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",b(N,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),T("p",{children:[b("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",b(N,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),T("p",{children:["Remember to consider the"," ",b(N,{link:qp,onClick:()=>oe(Bc),children:"Product Disclosure Statement"})," ","and ",b(N,{link:Wp,children:"Target Market Determination"})," that is relevant to you."]}),b("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},Vp=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,Qp=""+new URL("assets/unisuper-default-badge1-CC2-KRH2.svg",import.meta.url).href,Jp=""+new URL("assets/unisuper-default-badge2-CqUa_Zky.svg",import.meta.url).href,Kp=""+new URL("assets/unisuper-default-badge3-B7j1-pyZ.svg",import.meta.url).href,Rr="Unisuper",Gp="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",Yp="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Nc={fundId:"unisuper-default-v2",name:Rr,logo:Vp,iframeType:"PromotedFundJoinV2",features:[b("p",{children:"Low fees, better value – Our fees are among the lowest in the industry.^"}),b("p",{children:"Strong, long-term performance – We regularly exceed industry averages.*"}),T("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",b("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],customContent:T("div",{css:{marginTop:"1.5rem",display:"flex",gap:"0.75rem"},children:[b("div",{children:b("img",{alt:Rr,src:Qp})}),b("div",{children:b("img",{alt:Rr,src:Jp})}),b("div",{children:b("img",{alt:Rr,src:Kp})})]}),disclaimer:T("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:[T("p",{children:["^Read more about our fees and how we compare"," ",b(N,{link:"https://www.unisuper.com.au/super/products-and-fees",children:"here"}),"."]}),T("p",{children:["*Past performance is not an indicator of future performance. Read more about our performance and how we compare"," ",b(N,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),T("p",{children:[b("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",b(N,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),T("p",{children:["Remember to consider the"," ",b(N,{link:Gp,onClick:()=>oe(Nc),children:"Product Disclosure Statement"})," ","and ",b(N,{link:Yp,children:"Target Market Determination"})," that is relevant to you."]}),b("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},Xp=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,ks=["04D04CB7-AE67-4D1C-8A1E-68451E64A659","06151553-3055-4B83-BC3C-9EC1CA642F88","0723654D-A9AF-453A-B376-54A2EF5E50F5","0E09CFC5-2DF2-432A-BBEC-25B84E65F21A","0E306866-97B3-4BE4-B97A-4BA1B1CEE95C","1EC966EE-C6D4-4BB8-ABF5-0A6FD8FC9882","25949BFA-334E-4DFC-9278-5018E093F1F8","3B13774E-E528-422E-9152-0B24EA2E5C2A","4C5BD86C-1496-431F-A649-A0E92858008A","5E169341-47A2-4D69-BA8C-A5A0F108CACD","6D23F9F0-D1C8-4121-A03A-6B9C3F0097EB","7B555D55-DDBB-44CE-8D6D-9553A419FE5A","8F8965D6-7B50-4D88-BC60-8D3B5EDDDE41","9B6747FE-DB3F-4F03-AA7C-21DF0C81955E","A10F82EC-7AFB-4E1C-914C-C0717ECE05DD","AAA060B4-EEC1-4ADC-A8B3-3D3A077A8829","B60D57B8-015C-44BB-A425-D7D78B29AC3F","BB0A686A-6ADC-4E03-9789-62F135D75A0A","D1A8905E-C28C-4F09-94D6-208063A76DB3","D9E0FC54-70B3-43C0-A347-A85CE496F3EF","DDCDC552-E5D6-4E95-9B71-9FD25F75AF35","E0FE92D8-6E61-42BE-AD6F-7E6FAEEB8D06","E57FFD69-0B30-480D-BCB2-CA3C65D6B58C","E7C4CE53-5CDE-4F0D-A2D4-ED8FF90D6138","F89A21D7-4FD0-41D2-A7A5-602E4462BC93","FA2F7EDC-2F5C-43E2-90D3-1125BDE3E602","FA650343-6D1D-4EF1-95E7-666D86C405EC"],Zp=["35225A44-1235-4774-A292-69461DCF16E4","42EC210A-07EB-4252-82C5-F10FBE6884D6","5EF1A2B7-4AED-46BA-9455-E118664DFA16","A7E3600B-40B3-4B48-9BC1-D78C91CAA365"],eh="Virgin Money Super",$r={fundId:"virgin",name:eh,logo:Xp,iframeType:"PromotedFundJoinV2",features:[T("p",{children:["Returns above industry and retail super fund medians over the past 5 years",b("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),b("p",{children:"One of the lowest fees in the market"}),T("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",b("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:b("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:T("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[b("li",{children:b("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),b("li",{children:b("span",{children:b(N,{css:{fontWeight:"400"},link:"https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents",children:"Eligibility and T&Cs apply"})})})]})}),disclaimer:T("p",{children:["Prepared by Virgin Money Financial Services Pty Ltd ABN 51 113 285 395 AFSL 286869 (‘Virgin Money’). Virgin Money Super is a plan in the Mercer Super Trust ABN 19 905 422 981. Virgin Money Super is issued by Mercer Superannuation (Australia) Limited (MSAL) ABN 79 004 717 533 AFSL 235906 as trustee of the Mercer Super Trust. Consider the PDS and TMD at"," ",b(N,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>oe($r),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:b("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"}),footnoteTextOverride:"Powered by Flare FS",experiments:{"social-validation-business-virgin":{splitType:"percentage",rotations:0,shouldRun:e=>{var n,i;const t=Le.endpoints.campaignConnect.select()(e).data,r=(n=t==null?void 0:t.userProfile.accountId)!=null?n:"";return!!(ks.includes(r)&&(!Ge()||((i=t==null?void 0:t.promotedFunds)==null?void 0:i[0].fundId)===$r.fundId)&&!(t!=null&&t.promotedFunds.find(o=>o.fundId==="mercermychoice")))},variants:[{variantName:"control",percentage:50},{variantName:"badge",percentage:50}]},"social-validation-popular-virgin":{splitType:"percentage",rotations:0,shouldRun:e=>{var i,o;const t=Zp.concat(ks),r=Le.endpoints.campaignConnect.select()(e).data,n=(i=r==null?void 0:r.userProfile.accountId)!=null?i:"";return!t.includes(n)&&(!Ge()||((o=r==null?void 0:r.promotedFunds)==null?void 0:o[0].fundId)===$r.fundId)&&!(r!=null&&r.promotedFunds.find(s=>s.fundId==="mercermychoice"))},variants:[{variantName:"control",percentage:50},{variantName:"num-badge",percentage:475},{variantName:"pop-badge",percentage:475}]}}},th=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,rh="Virgin Money Super",Oc={fundId:"virgin-default",name:rh,logo:th,iframeType:"PromotedFundJoinV2",features:[T("p",{children:["Returns above industry and retail super fund medians over the past 5 years",b("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),b("p",{children:"One of the lowest fees in the market"}),T("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",b("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:b("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children:T("ol",{css:{listStyleType:"decimal","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"}},children:[b("li",{children:b("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),b("li",{children:b("span",{children:b(N,{css:{fontWeight:"400"},link:"https://virginmoney.com.au/superannuation/forms-and-key-information/key-documents",children:"Eligibility and T&Cs apply"})})})]})}),disclaimer:T("p",{children:["Prepared by Virgin Money Financial Services Pty Ltd ABN 51 113 285 395 AFSL 286869 (‘Virgin Money’). Virgin Money Super is a plan in the Mercer Super Trust ABN 19 905 422 981. Virgin Money Super is issued by Mercer Superannuation (Australia) Limited (MSAL) ABN 79 004 717 533 AFSL 235906 as trustee of the Mercer Super Trust. Consider the PDS and TMD at"," ",b(N,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>oe(Oc),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:b("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"}),footnoteTextOverride:"Powered by Flare FS"},nh=5*1e3;let Ur=[];const we=(e,t)=>{Ur.push({log:e,params:D(D({},t),xc())})},ih=()=>setInterval(()=>he(void 0,null,function*(){Ur.length>0&&"data"in(yield lt.dispatch(Le.endpoints.errorLogs.initiate({logs:Ur})))&&(Ur=[])}),nh),oh=[Ac,Tc,Rc,Pc,Lr,Yr,Ic,Mc,Xr,Fc,Bc,Nc,$r,Oc,Si,Dc],no=e=>{const t=oh.find(r=>r.fundId===e.fundId);if(t)return G(D({},t),{fundType:e.type,recentJoinerCount:e.recentJoinerCount})},sh=e=>{const t=[];for(const n of e){const i=no(n);i?t.push(i):we(`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=Yr;return we(`No fund IDs were mapped, returning "${r.fundId}"`,{funds:e}),[G(D({},r),{fundType:"promoted"})]},ah=e=>e==="unisuper-db"?"UniSuper":(we('No defined-benefits fund IDs were mapped."',{fundId:e}),""),Lc=()=>{const{selectedFund:e}=Ue(r=>r.state);let t="Powered by Flare";if(e){const r=no({fundId:e==null?void 0:e.fundId,type:"promoted"});r!=null&&r.footnoteTextOverride&&(t=r.footnoteTextOverride)}return T("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:[b("span",{children:t}),T("p",{css:{display:"block",color:"transparent"},children:["v","0.1.1181"]})]})},ch=j.div({display:"flex",height:"100%",flexDirection:"column",alignItems:"center",justifyContent:"center"}),uh=j.div({display:"inline-block","@keyframes spin":{to:{transform:"rotate(360deg)"}},animation:"spin 1s linear infinite"}),lh=j.div({marginTop:"0.75rem",textAlign:"center",fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}}),dh=j.div({marginTop:"2rem",textAlign:"center",fontSize:"1.125rem",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))"}),Je=({size:e=48,isComputingPanelFunds:t=!1})=>{const[r,n]=pe(!1);return X(()=>{let i;return t&&(i=setTimeout(()=>{n(!0)},3e3)),()=>clearTimeout(i)},[t]),T(ch,{children:[b(uh,{children:T("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[b("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM1.99743 8C1.99743 11.3151 4.68487 14.0026 8 14.0026C11.3151 14.0026 14.0026 11.3151 14.0026 8C14.0026 4.68487 11.3151 1.99743 8 1.99743C4.68487 1.99743 1.99743 4.68487 1.99743 8Z",fill:"white","fill-opacity":"0.3"}),b("path",{d:"M8 1C8 0.447715 8.44943 -0.00643769 8.99741 0.0624193C9.70527 0.151368 10.3996 0.334798 11.0615 0.608964C12.0321 1.011 12.914 1.60028 13.6569 2.34315C14.3997 3.08602 14.989 3.96793 15.391 4.93853C15.6652 5.60043 15.8486 6.29473 15.9376 7.0026C16.0064 7.55057 15.5523 8 15 8C14.4477 8 14.0085 7.54925 13.9169 7.00462C13.842 6.55939 13.7169 6.12298 13.5433 5.7039C13.2417 4.97595 12.7998 4.31451 12.2426 3.75736C11.6855 3.20021 11.0241 2.75825 10.2961 2.45672C9.87702 2.28313 9.44061 2.15804 8.99538 2.08314C8.45075 1.99152 8 1.55228 8 1Z",css:{fill:"var(--fl-color-primary)"}})]})}),t&&T(Qe,{children:[b(lh,{children:"Setting up your super choices"}),r&&b(dh,{children:"This may take a few seconds, please don't close this window"})]})]})},kn=({fillWidth:e=!1,fillWidthOnMobile:t=!1,disabled:r=!1,onClick:n=void 0,children:i})=>{const[o,s]=pe(0);return T("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{s(1),yield n(),s(0)}catch(u){throw s(2),u}}),children:[o===1&&b(Je,{size:16}),b("div",{css:[o===1&&{display:"none"}],children:i})]})},fh=j.div({width:"fit-content",borderRadius:"0.5rem",borderWidth:"1px"}),ph=j.div({display:"flex",justifyContent:"flex-end",paddingRight:"0.5rem",paddingTop:"0.5rem"}),hh=j.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))"}),mh=j.div({padding:"0.75rem","@media (min-width: 640px)":{paddingLeft:"3.5rem",paddingRight:"3.5rem",paddingBottom:"2rem"}}),gh=({pillContent:e,children:t})=>T(fh,{children:[e&&b(ph,{children:b(hh,{children:e})}),b(mh,{children:t})]});class Ht extends Error{}Ht.prototype.name="InvalidTokenError";function yh(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 wh(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 yh(t)}catch(r){return atob(t)}}function $c(e,t){if(typeof e!="string")throw new Ht("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 Ht(`Invalid token specified: missing part #${r+1}`);let i;try{i=wh(n)}catch(o){throw new Ht(`Invalid token specified: invalid base64 for part #${r+1} (${o.message})`)}try{return JSON.parse(i)}catch(o){throw new Ht(`Invalid token specified: invalid json for part #${r+1} (${o.message})`)}}const bh=e=>$c(e),vh=()=>{const{superBackendUrl:e,accessToken:t,fundUsi:r}=Ue(s=>s.session),{data:n}=Sc(r||""),i=`${e}/activity-tracker/track`;return{createTrackedLink:(s,a)=>{var l,f;if(!t)throw new Error("No access token found");const{sub:u,session_id:m}=bh(t);(!n||n.engagements.length===0)&&we("No engagements found when attempting to create tracked link");const{accountId:y,partnerId:h,engagements:d}=n!=null?n:{accountId:"",partnerId:"",engagements:[]};s=encodeURIComponent(s);let c=`${i}?url=${s}&id=${u}&sId=${m}&usi=${r}&fId=${(f=(l=d[0])==null?void 0:l.fundId)!=null?f:""}&aId=${y}&pId=${h}&ft=manual`;if(a.eventType){const p=encodeURIComponent(a.eventType);c+=`&et=${p}`}return a.type&&(c+=`&type=${a.type}`),a.engagementId&&(c+=`&eId=${a.engagementId}`),c}}};function _h(e){const t=document.documentElement;for(const r in e.colors)t.style.setProperty(`--${r}`,e.colors[r])}var yr={},Sh=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Uc={},xe={};let io;const Ch=[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];xe.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};xe.getSymbolTotalCodewords=function(t){return Ch[t]};xe.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};xe.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');io=t};xe.isKanjiModeEnabled=function(){return typeof io!="undefined"};xe.toSJIS=function(t){return io(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 zc(){this.buffer=[],this.length=0}zc.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 kh=zc;function wr(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)}wr.prototype.set=function(e,t,r,n){const i=e*this.size+t;this.data[i]=r,n&&(this.reservedBit[i]=!0)};wr.prototype.get=function(e,t){return this.data[e*this.size+t]};wr.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r};wr.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var xh=wr,jc={};(function(e){const t=xe.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}})(jc);var Hc={};const Eh=xe.getSymbolSize,xs=7;Hc.getPositions=function(t){const r=Eh(t);return[[0,0],[r-xs,0],[0,r-xs]]};var qc={};(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,m=null,y=null;for(let h=0;h<o;h++){a=u=0,m=y=null;for(let d=0;d<o;d++){let c=i.get(h,d);c===m?a++:(a>=5&&(s+=t.N1+(a-5)),m=c,a=1),c=i.get(d,h),c===y?u++:(u>=5&&(s+=t.N1+(u-5)),y=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 m=i.get(a,u)+i.get(a,u+1)+i.get(a+1,u)+i.get(a+1,u+1);(m===4||m===0)&&s++}return s*t.N2},e.getPenaltyN3=function(i){const o=i.size;let s=0,a=0,u=0;for(let m=0;m<o;m++){a=u=0;for(let y=0;y<o;y++)a=a<<1&2047|i.get(m,y),y>=10&&(a===1488||a===93)&&s++,u=u<<1&2047|i.get(y,m),y>=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 m=0;m<s;m++){o(m),e.applyMask(m,i);const y=e.getPenaltyN1(i)+e.getPenaltyN2(i)+e.getPenaltyN3(i)+e.getPenaltyN4(i);e.applyMask(m,i),y<u&&(u=y,a=m)}return a}})(qc);var En={};const Ze=xn,Pr=[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],Ir=[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 Pr[(t-1)*4+0];case Ze.M:return Pr[(t-1)*4+1];case Ze.Q:return Pr[(t-1)*4+2];case Ze.H:return Pr[(t-1)*4+3];default:return}};En.getTotalCodewordsCount=function(t,r){switch(r){case Ze.L:return Ir[(t-1)*4+0];case Ze.M:return Ir[(t-1)*4+1];case Ze.Q:return Ir[(t-1)*4+2];case Ze.H:return Ir[(t-1)*4+3];default:return}};var Wc={},An={};const Kt=new Uint8Array(512),Zr=new Uint8Array(256);(function(){let t=1;for(let r=0;r<255;r++)Kt[r]=t,Zr[t]=r,t<<=1,t&256&&(t^=285);for(let r=255;r<512;r++)Kt[r]=Kt[r-255]})();An.log=function(t){if(t<1)throw new Error("log("+t+")");return Zr[t]};An.exp=function(t){return Kt[t]};An.mul=function(t,r){return t===0||r===0?0:Kt[Zr[t]+Zr[r]]};(function(e){const t=An;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}})(Wc);const Vc=Wc;function oo(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}oo.prototype.initialize=function(t){this.degree=t,this.genPoly=Vc.generateECPolynomial(this.degree)};oo.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=Vc.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 Ah=oo,Qc={},it={},so={};so.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var ze={};const Jc="[0-9]+",Th="[A-Z $%*+\\-./:]+";let cr="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";cr=cr.replace(/u/g,"\\u");const Rh="(?:(?![A-Z0-9 $%*+\\-./:]|"+cr+`)(?:.|[\r
17
+ ]))+`;ze.KANJI=new RegExp(cr,"g");ze.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");ze.BYTE=new RegExp(Rh,"g");ze.NUMERIC=new RegExp(Jc,"g");ze.ALPHANUMERIC=new RegExp(Th,"g");const Ph=new RegExp("^"+cr+"$"),Ih=new RegExp("^"+Jc+"$"),Mh=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");ze.testKanji=function(t){return Ph.test(t)};ze.testNumeric=function(t){return Ih.test(t)};ze.testAlphanumeric=function(t){return Mh.test(t)};(function(e){const t=so,r=ze;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=xe,r=En,n=xn,i=it,o=so,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 m(d,c){return i.getCharCountIndicator(d,c)+4}function y(d,c){let l=0;return d.forEach(function(f){const p=m(f.mode,c);l+=p+f.getBitsLength()}),l}function h(d,c){for(let l=1;l<=40;l++)if(y(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),_=(p-w)*8;if(f===i.MIXED)return _;const g=_-m(f,c);switch(f){case i.NUMERIC:return Math.floor(g/10*3);case i.ALPHANUMERIC:return Math.floor(g/11*2);case i.KANJI:return Math.floor(g/13);case i.BYTE:default:return Math.floor(g/8)}},e.getBestVersionForData=function(c,l){let f;const p=n.from(l,n.M);if(Array.isArray(c)){if(c.length>1)return h(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}})(Qc);var Kc={};const Ci=xe,Gc=1335,Fh=21522,Es=Ci.getBCHDigit(Gc);Kc.getEncodedBits=function(t,r){const n=t.bit<<3|r;let i=n<<10;for(;Ci.getBCHDigit(i)-Es>=0;)i^=Gc<<Ci.getBCHDigit(i)-Es;return(n<<10|i)^Fh};var Yc={};const Dh=it;function Rt(e){this.mode=Dh.NUMERIC,this.data=e.toString()}Rt.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};Rt.prototype.getLength=function(){return this.data.length};Rt.prototype.getBitsLength=function(){return Rt.getBitsLength(this.data.length)};Rt.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 Bh=Rt;const Nh=it,Jn=["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 Pt(e){this.mode=Nh.ALPHANUMERIC,this.data=e}Pt.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};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;for(r=0;r+2<=this.data.length;r+=2){let n=Jn.indexOf(this.data[r])*45;n+=Jn.indexOf(this.data[r+1]),t.put(n,11)}this.data.length%2&&t.put(Jn.indexOf(this.data[r]),6)};var Oh=Pt,Lh=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 $h=Lh,Uh=it;function It(e){this.mode=Uh.BYTE,typeof e=="string"&&(e=$h(e)),this.data=new Uint8Array(e)}It.getBitsLength=function(t){return t*8};It.prototype.getLength=function(){return this.data.length};It.prototype.getBitsLength=function(){return It.getBitsLength(this.data.length)};It.prototype.write=function(e){for(let t=0,r=this.data.length;t<r;t++)e.put(this.data[t],8)};var zh=It;const jh=it,Hh=xe;function Mt(e){this.mode=jh.KANJI,this.data=e}Mt.getBitsLength=function(t){return t*13};Mt.prototype.getLength=function(){return this.data.length};Mt.prototype.getBitsLength=function(){return Mt.getBitsLength(this.data.length)};Mt.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let r=Hh.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 qh=Mt,Xc={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,m,y,h,d,c,l,f,p;!a.empty();){u=a.pop(),m=u.value,h=u.cost,d=r[m]||{};for(y in d)d.hasOwnProperty(y)&&(c=d[y],l=h+c,f=s[y],p=typeof s[y]=="undefined",(p||f>l)&&(s[y]=l,a.push(y,l),o[y]=m))}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})(Xc);var Wh=Xc.exports;(function(e){const t=it,r=Bh,n=Oh,i=zh,o=qh,s=ze,a=xe,u=Wh;function m(w){return unescape(encodeURIComponent(w)).length}function y(w,_,g){const v=[];let S;for(;(S=w.exec(g))!==null;)v.push({data:S[0],index:S.index,mode:_,length:S[0].length});return v}function h(w){const _=y(s.NUMERIC,t.NUMERIC,w),g=y(s.ALPHANUMERIC,t.ALPHANUMERIC,w);let v,S;return a.isKanjiModeEnabled()?(v=y(s.BYTE,t.BYTE,w),S=y(s.KANJI,t.KANJI,w)):(v=y(s.BYTE_KANJI,t.BYTE,w),S=[]),_.concat(g,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,_){switch(_){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(_,g){const v=_.length-1>=0?_[_.length-1]:null;return v&&v.mode===g.mode?(_[_.length-1].data+=g.data,_):(_.push(g),_)},[])}function l(w){const _=[];for(let g=0;g<w.length;g++){const v=w[g];switch(v.mode){case t.NUMERIC:_.push([v,{data:v.data,mode:t.ALPHANUMERIC,length:v.length},{data:v.data,mode:t.BYTE,length:v.length}]);break;case t.ALPHANUMERIC:_.push([v,{data:v.data,mode:t.BYTE,length:v.length}]);break;case t.KANJI:_.push([v,{data:v.data,mode:t.BYTE,length:m(v.data)}]);break;case t.BYTE:_.push([{data:v.data,mode:t.BYTE,length:m(v.data)}])}}return _}function f(w,_){const g={},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 A=C[E],R=""+k+E;x.push(R),g[R]={node:A,lastCount:0},v[R]={};for(let M=0;M<S.length;M++){const P=S[M];g[P]&&g[P].node.mode===A.mode?(v[P][R]=d(g[P].lastCount+A.length,A.mode)-d(g[P].lastCount,A.mode),g[P].lastCount+=A.length):(g[P]&&(g[P].lastCount=A.length),v[P][R]=d(A.length,A.mode)+4+t.getCharCountIndicator(A.mode,_))}}S=x}for(let k=0;k<S.length;k++)v[S[k]].end=0;return{map:v,table:g}}function p(w,_){let g;const v=t.getBestModeForData(w);if(g=t.from(_,v),g!==t.BYTE&&g.bit<v.bit)throw new Error('"'+w+'" cannot be encoded with mode '+t.toString(g)+`.
19
+ Suggested mode is: `+t.toString(v));switch(g===t.KANJI&&!a.isKanjiModeEnabled()&&(g=t.BYTE),g){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(_){return _.reduce(function(g,v){return typeof v=="string"?g.push(p(v,null)):v.data&&g.push(p(v.data,v.mode)),g},[])},e.fromString=function(_,g){const v=h(_,a.isKanjiModeEnabled()),S=l(v),k=f(S,g),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(_){return e.fromArray(h(_,a.isKanjiModeEnabled()))}})(Yc);const Tn=xe,Kn=xn,Vh=kh,Qh=xh,Jh=jc,Kh=Hc,ki=qc,xi=En,Gh=Ah,en=Qc,Yh=Kc,Xh=it,Gn=Yc;function Zh(e,t){const r=e.size,n=Kh.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 em(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 tm(e,t){const r=Jh.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 rm(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=Yh.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 nm(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 m=!1;s<t.length&&(m=(t[s]>>>o&1)===1),e.set(i,a-u,m),o--,o===-1&&(s++,o=7)}if(i+=n,i<0||r<=i){i-=n,n=-n;break}}}function im(e,t,r){const n=new Vh;r.forEach(function(u){n.put(u.mode.bit,4),n.put(u.getLength(),Xh.getCharCountIndicator(u.mode,e)),u.write(n)});const i=Tn.getSymbolTotalCodewords(e),o=xi.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 om(n,e,t)}function om(e,t,r){const n=Tn.getSymbolTotalCodewords(t),i=xi.getTotalCodewordsCount(t,r),o=n-i,s=xi.getBlocksCount(t,r),a=n%s,u=s-a,m=Math.floor(n/s),y=Math.floor(o/s),h=y+1,d=m-y,c=new Gh(d);let l=0;const f=new Array(s),p=new Array(s);let w=0;const _=new Uint8Array(e.buffer);for(let C=0;C<s;C++){const x=C<u?y:h;f[C]=_.slice(l,l+x),p[C]=c.encode(f[C]),l+=x,w=Math.max(w,x)}const g=new Uint8Array(n);let v=0,S,k;for(S=0;S<w;S++)for(k=0;k<s;k++)S<f[k].length&&(g[v++]=f[k][S]);for(S=0;S<d;S++)for(k=0;k<s;k++)g[v++]=p[k][S];return g}function sm(e,t,r,n){let i;if(Array.isArray(e))i=Gn.fromArray(e);else if(typeof e=="string"){let m=t;if(!m){const y=Gn.rawSplit(e);m=en.getBestVersionForData(y,r)}i=Gn.fromString(e,m||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
20
  The chosen QR Code version cannot contain this amount of data.
21
21
  Minimum version required to store current data is: `+o+`.
22
- `);const a=wm(t,r,i),s=Rn.getSymbolSize(t),u=new sm(s);return pm(u,t),hm(u),mm(u,t),Xn(u,r,0),t>=7&&gm(u,t),ym(u,a),isNaN(n)&&(n=Oi.getBestMask(u,Xn.bind(null,u,r))),Oi.applyMask(n,u),Xn(u,r,n),{modules:u,version:t,errorCorrectionLevel:r,maskPattern:n,segments:i}}Vc.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=nn.from(r.version),o=Oi.from(r.maskPattern),r.toSJISFunc&&Rn.setToSJISFunction(r.toSJISFunc)),vm(t,i,n,o)};var ou={},ko={};(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,a=n.scale||4;return{width:o,scale:o?4:a,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 a=i.modules.size,s=i.modules.data,u=e.getScale(a,o),p=Math.floor((a+o.margin*2)*u),g=o.margin*u,m=[o.color.light,o.color.dark];for(let d=0;d<p;d++)for(let c=0;c<p;c++){let f=(d*p+c)*4,l=o.color.light;if(d>=g&&c>=g&&d<p-g&&c<p-g){const h=Math.floor((d-g)/u),b=Math.floor((c-g)/u);l=m[s[h*a+b]?1:0]}n[f++]=l.r,n[f++]=l.g,n[f++]=l.b,n[f]=l.a}}})(ko);(function(e){const t=ko;function r(i,o,a){i.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=a,o.width=a,o.style.height=a+"px",o.style.width=a+"px"}function n(){try{return document.createElement("canvas")}catch(i){throw new Error("You need to specify a canvas element")}}e.render=function(o,a,s){let u=s,p=a;typeof u=="undefined"&&(!a||!a.getContext)&&(u=a,a=void 0),a||(p=n()),u=t.getOptions(u);const g=t.getImageWidth(o.modules.size,u),m=p.getContext("2d"),d=m.createImageData(g,g);return t.qrToImageData(d.data,o,u),r(m,p,g),m.putImageData(d,0,0),p},e.renderToDataURL=function(o,a,s){let u=s;typeof u=="undefined"&&(!a||!a.getContext)&&(u=a,a=void 0),u||(u={});const p=e.render(o,a,u),g=u.type||"image/png",m=u.rendererOpts||{};return p.toDataURL(g,m.quality)}})(ou);var au={};const _m=ko;function qa(e,t){const r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function Zn(e,t,r){let n=e+t;return typeof r!="undefined"&&(n+=" "+r),n}function Sm(e,t,r){let n="",i=0,o=!1,a=0;for(let s=0;s<e.length;s++){const u=Math.floor(s%t),p=Math.floor(s/t);!u&&!o&&(o=!0),e[s]?(a++,s>0&&u>0&&e[s-1]||(n+=o?Zn("M",u+r,.5+p+r):Zn("m",i,0),i=0,o=!1),u+1<t&&e[s+1]||(n+=Zn("h",a),a=0)):i++}return n}au.render=function(t,r,n){const i=_m.getOptions(r),o=t.modules.size,a=t.modules.data,s=o+i.margin*2,u=i.color.light.a?"<path "+qa(i.color.light,"fill")+' d="M0 0h'+s+"v"+s+'H0z"/>':"",p="<path "+qa(i.color.dark,"stroke")+' d="'+Sm(a,o,i.margin)+'"/>',g='viewBox="0 0 '+s+" "+s+'"',d='<svg xmlns="http://www.w3.org/2000/svg" '+(i.width?'width="'+i.width+'" height="'+i.width+'" ':"")+g+' shape-rendering="crispEdges">'+u+p+`</svg>
23
- `;return typeof n=="function"&&n(null,d),d};const Cm=Nh,$i=Vc,su=ou,km=au;function xo(e,t,r,n,i){const o=[].slice.call(arguments,1),a=o.length,s=typeof o[a-1]=="function";if(!s&&!Cm())throw new Error("Callback required as last argument");if(s){if(a<2)throw new Error("Too few arguments provided");a===2?(i=r,r=t,t=n=void 0):a===3&&(t.getContext&&typeof i=="undefined"?(i=n,n=void 0):(i=n,n=r,r=t,t=void 0))}else{if(a<1)throw new Error("Too few arguments provided");return a===1?(r=t,t=n=void 0):a===2&&!t.getContext&&(n=r,r=t,t=void 0),new Promise(function(u,p){try{const g=$i.create(r,n);u(e(g,t,n))}catch(g){p(g)}})}try{const u=$i.create(r,n);i(null,e(u,t,n))}catch(u){i(u)}}Sr.create=$i.create;Sr.toCanvas=xo.bind(null,su.render);Sr.toDataURL=xo.bind(null,su.renderToDataURL);Sr.toString=xo.bind(null,function(e,t,r){return km.render(e,r)});const xm=""+new URL("assets/android-badge-CJfxIs_L.svg",import.meta.url).href,Am=""+new URL("assets/apple-badge-9Sgpxn4d.svg",import.meta.url).href,Em=W.div({display:"flex",width:"848px",justifyContent:"space-between"}),Tm=W.div({display:"flex",width:"100%",flexDirection:"column",justifyContent:"space-between"}),Rm=W.div({marginBottom:"0.75rem",textAlign:"center",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700",color:"var(--theme-600)","@media (min-width: 640px)":{textAlign:"left",fontSize:"1.125rem",lineHeight:"1.75rem"}}),Pm=W.div({textAlign:"center",fontSize:"1.25rem",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))","@media (min-width: 640px)":{textAlign:"left",fontSize:"1.875rem",lineHeight:"2.25rem"}}),Im=W.div({display:"flex",width:"420px",flexDirection:"column",justifyContent:"center"}),Fm=W.div({marginTop:"1.5rem",marginBottom:"1.5rem",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"space-evenly",borderRadius:"0.5rem",borderWidth:"1px",padding:"0.75rem","@media (min-width: 640px)":{marginTop:"2rem",marginBottom:"2rem",flexDirection:"row",justifyContent:"space-between",padding:"0.75rem",paddingRight:"1.5rem"}}),Mm=W.div({display:"flex",width:"100%",flexDirection:"column"}),Dm=W.div({marginBottom:"1rem",textAlign:"center",fontSize:"1.125rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))","@media (min-width: 640px)":{textAlign:"left",fontSize:"1.125rem",lineHeight:"1.75rem"}}),Bm=W.div({marginRight:"1.5rem",flex:"none"}),Nm=W.img({height:"120px",width:"120px"}),Om=W.div({display:"flex",justifyContent:"space-evenly","@media (min-width: 640px)":{justifyContent:"space-between"}}),Lm=W.img({height:"40px",width:"100%","@media (min-width: 640px)":{height:"34px"}}),$m=W.img({height:"40px",width:"100%","@media (min-width: 640px)":{height:"34px"}}),Um=W.div({fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"400","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"}),zm=W.div({marginTop:"1.25rem",display:"flex",width:"100%",justifyContent:"center","@media (min-width: 640px)":{marginRight:"1rem",width:"400px"}}),jm=W.img({width:"240px","@media (min-width: 640px)":{width:"400px"}}),Wm=W.div({marginTop:"2rem",width:"320px","@media (min-width: 640px)":{marginTop:"3rem"}}),ei=W.div({display:"none","@media (min-width: 640px)":{display:"block"}}),Va=W.div({display:"block","@media (min-width: 640px)":{display:"none"}}),Pn=({fundName:e,engagementId:t,theme:r,iOsDownloadUrl:n,androidDownloadUrl:i,qrCodeUrl:o,title:a,subHeading:s,disclaimer:u,appMockupsImage:p})=>{const[g,m]=me(""),[d,c]=me(""),[f,l]=me(""),{createTrackedLink:h}=Dh(),b=`Thanks for staying with ${e}`,_=`Get the ${e} app to access your account and track your super 24/7!`;if(Z(()=>{const C="ByofEngagementApp Downloaded",x=h(o,{eventType:C,type:"QR",engagementId:t});c(h(n,{eventType:C,type:"apple",engagementId:t})),l(h(i,{eventType:C,type:"android",engagementId:t}));const A={margin:0,errorCorrectionLevel:"L",color:{dark:r.colors["theme-600"]}};ge(void 0,null,function*(){const R=yield Sr.toDataURL(x,A);m(R)})},[]),Bh(r),!g||!d||!f)return w(We,{});const y=()=>T(Re,{children:[w(Rm,{children:a!=null?a:b}),w(Pm,{children:s!=null?s:_})]}),v=()=>T(Fm,{children:[w(Bm,{children:w(ei,{children:w(Nm,{alt:`${e} app download`,src:g})})}),T(Mm,{children:[T(Dm,{children:[w(Va,{children:"Download the app now"}),w(ei,{children:"Scan to download the app"})]}),T(Om,{children:[w("a",{href:d,children:w(Lm,{alt:"Apple badge",src:Am})}),w("a",{href:f,children:w($m,{alt:"Android badge",src:xm})})]})]})]}),S=()=>w(Um,{children:u}),k=()=>w(zm,{children:w(jm,{alt:`${e} app`,src:p})});return T(Re,{children:[T(Ph,{pillContent:"Partner advertisement",children:[w(Va,{children:T(Tm,{children:[w(y,{}),w(k,{}),w(v,{}),u&&w(S,{})]})}),w(ei,{children:T(Em,{children:[T(Im,{children:[w(y,{}),w(v,{}),u&&w(S,{})]}),w(k,{})]})})]}),w(Wm,{children:w(Pt,{onClick:cp,fillWidth:!0,children:"Continue"})})]})},Hm=""+new URL("assets/app-mockups-CsPJDZFr.png",import.meta.url).href,qm={colors:{"theme-50":"#F1E0FF","theme-100":"#D1F5EF","theme-200":"#AC82CE","theme-300":"#804EA9","theme-400":"#5F298B","theme-500":"#401069","theme-600":"#260046","theme-700":"#19002F","theme-800":"#0D0017","theme-900":"#000000"}},Vm=()=>w(Pn,{fundName:"Australian Super",engagementId:"australian",theme:qm,iOsDownloadUrl:"https://apps.apple.com/au/app/australiansuper/id1020067456",androidDownloadUrl:"https://play.google.com/store/apps/details?id=com.australiansuper.android.australiansuper&hl=en_AU",qrCodeUrl:"https://www.google.com/search?q=TODO",title:"Make the most out of your super",subHeading:"Manage your super anytime, anywhere with the AustralianSuper app.",disclaimer:"Disclaimer: Apple and the Apple logo are trademarks of Apple Inc., registered in the U.S. and other countries. App Store is a service mark of Apple Inc. Google Play and the Google Play logo are trademarks of Google Inc.",appMockupsImage:Hm}),Qm=""+new URL("assets/app-mockups-BoH89R6-.png",import.meta.url).href,Gm={colors:{"theme-50":"#FFF2FA","theme-100":"#FFDFF5","theme-200":"#FFC2EB","theme-300":"#FF98DA","theme-400":"#FF64C3","theme-500":"#FA2EA7","theme-600":"#EC008C","theme-700":"#C00D77","theme-800":"#921961","theme-900":"#661F49"}},Jm=()=>w(Pn,{fundName:"Aware Super",engagementId:"aware-super",theme:Gm,iOsDownloadUrl:"https://apps.apple.com/au/app/aware-super/id1461702710",androidDownloadUrl:"https://play.google.com/store/apps/details?id=au.com.fss&hl=en_AU",qrCodeUrl:"https://www.google.com/search?q=TODO",appMockupsImage:Qm}),Km=""+new URL("assets/app-mockups-vh7MArzz.png",import.meta.url).href,Ym={colors:{"theme-50":"#F0E5FF","theme-100":"#E0CEFA","theme-200":"#CFB5F5","theme-300":"#BA95F0","theme-400":"#A26FEA","theme-500":"#8948E5","theme-600":"#7226E0","theme-700":"#5C1CB6","theme-800":"#49188D","theme-900":"#361663"}},Xm=()=>w(Pn,{fundName:"Hesta Super",engagementId:"hesta",theme:Ym,iOsDownloadUrl:"https://apps.apple.com/au/app/hesta/id1663706652",androidDownloadUrl:"https://play.google.com/store/apps/details?id=app.hesta.com.au&hl=en_AU",qrCodeUrl:"https://www.google.com/search?q=TODO",appMockupsImage:Km}),Zm=""+new URL("assets/app-mockups-Cr1XEjQA.png",import.meta.url).href,e0={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"}},t0=()=>w(Pn,{fundName:"Spirit Super",engagementId:"spirit",theme:e0,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:Zm}),Qa={australian:w(Vm,{}),spirit:w(t0,{}),hesta:w(Xm,{}),"aware-super":w(Jm,{})},r0=()=>{var a;const e=Pe(s=>s.session),{data:t,isLoading:r,isError:n,error:i}=Uc(e.fundUsi||""),o=t&&((a=t.engagements)==null?void 0:a.length)>0;if(r)return w(We,{});if(!r&&(!t||n))return ve("Error when calling campaign connect to compute BYOF engagements",{fundUsi:e.fundUsi,data:t,error:i}),up(),w(We,{});if(o){const{engagementId:s}=t.engagements[0];if(s in Qa)return Qa[s]}return!r&&!o&&sp(),w(We,{})},n0=W.div({display:"flex",flexDirection:"column",alignItems:"center"}),i0=()=>T(n0,{children:[w(r0,{}),w(vo,{})]}),o0=()=>w(i0,{}),a0=(e,t)=>{window.parent.postMessage(e,t===void 0?"*":t)},s0=e=>{a0({type:"pageNavigated",url:e,sender:"flare"})},c0=()=>{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-"}},u0=`https://${c0()}api.simplefinancialchoices.com/promoted-funds/embed`,Or=e=>e.replace(/ /g,""),st=e=>!(typeof e=="string"&&e.trim().length>0),d0=({app:e})=>{var u,p,g,m,d,c;const t=Pe(f=>f.state.selectedFund),r=Pe(f=>f.session.accessToken),n=_r(),i=ze.endpoints.campaignConnect.useQueryState().data;if(!t||!r||!i)return ve("PfjIFrame was in an inconsistent state and the user was redirected to the three panel.",{fund:t,data:i?"Not null":"Null",authToken:r?"Not null":"Null"}),n(Qe()),w(We,{});const o={authToken:r,employerDefault:t.fundType==="promoted-default",fundId:t.fundId,accountId:i.userProfile.accountId,partnerId:i.userProfile.partnerId,title:(u=i.userProfile.title)!=null?u:"",firstName:i.userProfile.firstName,middleName:i.userProfile.middleName,lastName:i.userProfile.lastName,dateOfBirth:(p=i.userProfile.dateOfBirth)!=null?p:"",mobilePhone:(g=i.userProfile.mobilePhone)!=null?g:"",email:i.userProfile.email,gender:(m=i.userProfile.gender)!=null?m:"",taxFileNumber:(d=i.userProfile.tfn)!=null?d:"",addressLine1:i.userProfile.address.addressLine1,addressLine2:(c=i.userProfile.address.addressLine2)!=null?c:"",city:i.userProfile.address.city,state:i.userProfile.address.state,postCode:i.userProfile.address.postcode},a=an();Z(()=>{var l;const f=(l=a.current)==null?void 0:l.contentDocument;if(f){f.open();const h=f.createElement("form");h.method="POST",h.target="_self",h.action=u0;let b;for(b in o){const _=o[b];if(_!==void 0){const y=document.createElement("input");y.name=b,y.type="hidden",typeof _=="boolean"?y.value=_?"true":"false":y.value=_,h.append(y)}}f.appendChild(h),f.close(),h.submit()}},[a]);const s=f=>ge(void 0,null,function*(){const{data:l}=f;if(l.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",s),l.type){case"cancel":e==="featured-funds"&&Hc(),n(Qe());break;case"success-promoted":{if(st(l.memberNumber)||st(l.usi)){ve("Bad response from PFJ",{type:l.type,memberNumber:l.memberNumber,usi:l.usi}),n(Qe());break}Ht(e,{fundType:"Promoted",fundId:t.fundId,usi:Or(l.usi),memberNumber:l.memberNumber,memberFirstName:l.memberFirstName,memberFamilyName:l.memberFamilyName,fundName:t.fundName});break}case"success-promoted-default":{if(st(l.usi)){ve("Bad response from PFJ",{type:l.type,usi:l.usi}),n(Qe());break}Ht(e,{fundType:"PromotedDefault",fundId:l.fundId,usi:Or(l.usi),fundName:t.fundName});break}case"success-promoted-default-with-join":{if(st(l.memberNumber)||st(l.usi)){ve("Bad response from PFJ",{type:l.type,memberNumber:l.memberNumber,usi:l.usi}),n(Qe());break}Ht(e,{fundType:"PromotedDefaultWithJoin",fundId:t.fundId,usi:Or(l.usi),memberNumber:l.memberNumber,memberFirstName:l.memberFirstName,memberFamilyName:l.memberFamilyName,fundName:t.fundName});break}case"success-defined-benefits":{if(st(l.memberNumber)||st(l.usi)){ve("Bad response from PFJ",{type:l.type,memberNumber:l.memberNumber,usi:l.usi}),n(Qe());break}Ht(e,{fundType:"DefinedBenefits",fundId:l.fundId,usi:Or(l.usi),memberNumber:l.memberNumber,memberElectContributionRatePreTax:l.memberElectContributionRatePreTax,memberElectContributionRatePostTax:l.memberElectContributionRatePostTax,fundName:t.fundName});break}}n(Qe())}if(l.sender==="promoted-fund-join"){const h=a.current;if(!h)return;switch(l.type){case"contentResized":h.height=l.height>0?String(l.height):h.height,h.width=l.width>0?String(l.width):h.width;break;case"pageNavigated":window.scroll(h.offsetLeft,h.offsetTop),s0(window.location.href);break}}});return window.addEventListener("message",s),w("div",{css:{width:"100vw"},children:w("iframe",{ref:a,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},l0="interop-mode",f0="react-native",Ga=()=>window.location.search.includes(`${l0}=${f0}`),cu=()=>{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-"}},Ja=`https://${cu()}join.slatesuper.com.au/confirm`,Ka=`https://${cu()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,p0=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},h0=({app:e})=>{var u,p,g,m;const t=Pe(d=>d.session.accessToken),r=_r(),n=ze.endpoints.campaignConnect.useQueryState().data;if(!n)return ve("SlateIFrame was in an inconsistent state and the user was redirected to the three panel.",{data:n?"Not null":"Null"}),r(Qe()),w(We,{});const o={authToken:!Ja.match(/autodev|sandbox/)?t:void 0,successRedirectUrl:Ka,cancelRedirectUrl:Ka,skipConsolidation:Ga()?"true":"false",skipInsurance:Ga()?"true":"false",firstName:n.userProfile.firstName,middleName:n.userProfile.middleName,lastName:n.userProfile.lastName,dateOfBirth:(u=n.userProfile.dateOfBirth)!=null?u:"",mobilePhone:(p=n.userProfile.mobilePhone)!=null?p:"",email:n.userProfile.email,gender:p0(n.userProfile.gender),taxFileNumber:(g=n.userProfile.tfn)!=null?g:"",addressLine1:n.userProfile.address.addressLine1,addressLine2:(m=n.userProfile.address.addressLine2)!=null?m:"",city:n.userProfile.address.city,state:n.userProfile.address.state,postCode:n.userProfile.address.postcode},a=an();Z(()=>{var c;const d=(c=a.current)==null?void 0:c.contentDocument;if(d){d.open();const f=d.createElement("form");f.method="POST",f.target="_self",f.action=Ja;let l;for(l in o){const h=o[l];if(h!==void 0){const b=document.createElement("input");b.type="hidden",b.name=l,b.value=h,f.append(b)}}d.appendChild(f),d.close(),f.submit()}},[a]);const s=d=>ge(void 0,null,function*(){const{data:c}=d;if(c.sender==="slate-redirect"){switch(window.removeEventListener("message",s),c.type){case"success":{Ht(e,{fundType:"Promoted",fundId:lr.fundId,usi:yo,memberNumber:c.memberNumber,fundName:lr.name});break}default:r(Qe()),e==="featured-funds"&&Hc();break}return}if(c.sender==="flare")switch(c.type){case"contentResized":{const f=a.current;if(!f)return;f.height=c.height>0?String(c.height):f.height,f.width=c.width>0?String(c.width):f.width;break}}});return window.addEventListener("message",s),w("div",{css:{width:"100vw"},children:w("iframe",{ref:a,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},uu=({app:e})=>{const{selectedFund:t}=Pe(n=>n.state);return w(Re,{children:(()=>{if(t){if(t.iframeType==="PromotedFundJoinV2")return w(d0,{app:e});if(t.iframeType==="SlateJoin")return w(h0,{app:e})}return w(Re,{})})()})},m0=e=>window.playwrightRunning?"00000000-0000-0000-0000-000000000000":qc(e).sub,g0=(e,t)=>{let r=0;for(const n of t)if(r+=n.percentage,e<r)return n.variantName;return t[0].variantName},y0=(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)},w0=(e,t)=>{if(t.splitType==="percentage"){const r=y0(e.replace(/[^A-F0-9]/gi,""),t.rotations),n=parseInt(r,16),i=t.variants.reduce((s,u)=>s+u.percentage,0),o=n%i;return g0(o,t.variants)}return t.variants[0].variantName},du=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=m0(lt.getState().session.accessToken||""),o=w0(i,n);o&&(lt.dispatch(ip({experimentName:r,selectedVariant:o})),lt.dispatch(Kt.endpoints.segmentTrack.initiate({event:"$experiment_started",properties:{"Experiment name":r,"Variant name":o}})))}}}},b0=()=>{const[e]=Yf(),[t,r]=me(!0),[n,i]=me(!1),o=_r(),[a]=Zf();if(Z(()=>{ge(void 0,null,function*(){const p=yield a();"data"in p?(mp(),hp(),r(!1)):(ve("App-loaded service call failed.",{error:p.error}),gp(`App-loaded service call failed: ${JSON.stringify(p.error)}`))})},[]),t||n)return w(We,{isComputingPanelFunds:n});const s=()=>ge(void 0,null,function*(){i(!0),pp();const{data:u,isSuccess:p,status:g}=yield e();if(!p){ve("Backend service call failed.",{status:g}),yp(`Backend service call failed: ${g}`);return}const m=u==null?void 0:u.promotedFunds.filter(d=>d.type==="defined-benefits");if(u.hasDefinedBenefitsEligibility&&(m==null?void 0:m.length)>0){const d=_h(m[0].fundId);o(go({fundId:m[0].fundId,fundType:"defined-benefits",iframeType:"PromotedFundJoinV2",fundName:d}));return}o(ap(u.promotedFunds)),u.promotedFunds.forEach(d=>{const c=bo(d);c!=null&&c.experiments&&du(c.experiments)})});return T("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:T("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:"}),T("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."}),T("li",{children:["Your personal data that is provided to us will be subject to our"," ",w(N,{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(Pt,{fillWidth:!0,onClick:()=>s(),children:"Continue"})]})})]})},v0=({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:T("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"]})}),kr=()=>{const{funds:e}=Pe(({state:t})=>t);return(e==null?void 0:e.length)===1&&e[0].fundId==="mercermychoice"},_0=()=>w("div",{css:{display:"flex",justifyContent:"center"},children:w("div",{css:{maxWidth:"800px",textAlign:"center"},children:w("h3",{css:{fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Nominate a super fund"})})}),Ya=({fund:e,isMultiFund:t})=>{const r=_r(),n=kr();return T("div",{css:{display:"flex",height:"100%",flexDirection:"column",justifyContent:"space-between",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem",paddingBottom:"1.5rem"},children:[T("div",{children:[w("div",{css:[{"@media (min-width: 768px)":{maxWidth:"240px"}},t&&{"@media (min-width: 1024px)":{maxWidth:"100%"}},n&&je()&&{"@media (min-width: 768px)":{maxWidth:"100%"}}],children:w(Pt,{fillWidth:!0,onClick:()=>{fp(e),r(go({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&&T("div",{css:{marginTop:"0.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:[T("p",{children:["Issued by ",e.abnInfo,"."]}),T("p",{children:["ABN: ",e.abn]})]})]})},S0=r=>{var n=r,{size:e}=n,t=at(n,["size"]);return w("svg",$(I({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"})}))},Ui={Check:S0},C0=({name:e,logo:t,coverImage:r,extraBadge:n,isPromotedDefault:i,isMultiFund:o})=>{const a=kr(),s=T(Re,{children:[T("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"})]}),T("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})})]})]}),u=T(Re,{children:[T("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}),T("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(Re,{children:a&&je()?u:s})},k0=({features:e,featureSubText:t,customContent:r,name:n})=>{const i=kr(),o=T(Re,{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(s=>T("div",{css:{display:"flex"},children:[w("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:w(Ui.Check,{alt:"checked"})}),w("div",{css:{lineHeight:"1.25rem"},children:s})]}))}),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=T(Re,{children:[T("div",{css:{padding:"1.5rem",paddingBottom:"0px"},children:[w("div",{css:[{fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"700"}],children:n}),e.map(s=>T("div",{css:{marginTop:"0.5rem",display:"flex"},children:[w("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:w(Ui.Check,{alt:"checked"})}),w("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"400"},children:s})]}))]}),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(Re,{children:i&&je()?a:o})},x0=({name:e,logo:t,coverImage:r,features:n,featureSubText:i,isMultiFund:o,isPromotedDefault:a,extraBadge:s,customContent:u})=>{const p=kr();return T("div",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem"},p&&je()&&{padding:"0px"}],children:[w(C0,{name:e,logo:t,coverImage:r,isMultiFund:o,extraBadge:s,isPromotedDefault:a}),w(k0,{name:e,features:n,customContent:u,featureSubText:i})]})},A0="https://my.gov.au",E0="www.my.gov.au",T0="https://www.apra.gov.au/register-of-superannuation-institutions",R0="www.apra.gov.au",P0=(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"},I0=()=>{const e=Pe(a=>a.state.funds),t=Pe(a=>a.experimentsData),r=kr(),n=de(()=>vh(e!=null?e:[]),[e]),i=dp();Z(()=>{lp(n)},[n]);const o=n.length>1;return T("div",{children:[w(_0,{}),w("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center"},children:w("div",{children:T("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,s)=>{const u=P0(a.fundId,t);return T("div",{children:[(!je()||s===0)&&w("div",{css:[{visibility:"hidden"},u&&{visibility:"visible"}],children:w(v0,{type:u})}),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"}},s!==0&&{borderTopWidth:"0px","@media (min-width: 1024px)":{borderLeftWidth:"0px",borderTopWidth:"1px"}},s===0&&{borderTopLeftRadius:"0.5rem",borderTopRightRadius:"0.5rem"},s===0&&s!==n.length-1&&{"@media (min-width: 1024px)":{borderTopRightRadius:"0px"}},s===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:T("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&&je()&&{"@media (min-width: 768px)":{display:"none"}}],children:w("img",{css:{height:"4rem",width:"100%",maxWidth:"96px",objectFit:"contain"},alt:a.name,src:a.logo})}),T("div",{css:[{width:"100%"},r&&je()&&{minWidth:"286px",maxWidth:"480px"}],children:[w(x0,{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(Ya,{fund:a,isMultiFund:o})})]})]})})]})}),n.map((a,s)=>w("div",{css:[{display:"none",borderBottomWidth:"1px",borderRightWidth:"1px"},o&&{"@media (min-width: 1024px)":{display:"block"}},s===0&&{borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem",borderLeftWidth:"1px"},s===0&&s!==n.length-1&&{"@media (min-width: 1024px)":{borderBottomRightRadius:"0px"}},s===n.length-1&&{borderBottomRightRadius:"0.5rem"}],children:w(Ya,{fund:a,isMultiFund:o})}))]})})}),w("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:T("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:"}),T("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."}),T("li",{children:["If you are unsure of your current super fund details, you can find out at"," ",w(N,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:A0,children:E0})]}),T("li",{children:["A full list of super funds can be viewed at"," ",w(N,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:T0,children:R0})]})]}),w(Pt,{fillWidthOnMobile:!0,onClick:()=>i(),children:"Choose another super fund"})]})}),w("div",{css:{display:"flex",justifyContent:"center"},children:T("div",{css:{maxWidth:"720px",paddingTop:"2rem","@media (min-width: 640px)":{paddingTop:"3rem"}},children:[w("h5",{css:{fontWeight:"600"},children:"IMPORTANT INFORMATION:"}),T("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."})]})]})})]})},F0=W.div({display:"flex",flexDirection:"column",alignItems:"center"}),M0=()=>{const{funds:e,selectedFund:t}=Pe(i=>i.state),[r]=tp();return Z(()=>{r()},[]),T(F0,{children:[w("div",{children:t?w(uu,{app:"super-campaign"}):e?w(I0,{}):w(b0,{})}),w("div",{children:w(vo,{})})]})},D0=()=>w(M0,{}),B0={},N0=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 Ao(){return(Ao=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 O0=["context","children"];function L0(e){this.getChildContext=function(){return e.context};var t=e.children,r=function(n,i){if(n==null)return{};var o,a,s={},u=Object.keys(n);for(a=0;a<u.length;a++)i.indexOf(o=u[a])>=0||(s[o]=n[o]);return s}(e,O0);return Hi(t,r)}function $0(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=ee(L0,Ao({},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,s=r.attributes,u=r.childNodes;for(a=s.length;a--;)s[a].name!=="slot"&&(o[s[a].name]=s[a].value,o[lu(s[a].name)]=s[a].value);for(a=u.length;a--;){var p=t(u[a],null),g=u[a].slot;g?o[g]=ee(Xa,{name:g},p):i[a]=p}var m=n?ee(Xa,null,i):i;return ee(n||r.nodeName.toLowerCase(),o,m)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Wi:tt)(this._vdom,this._root)}function lu(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function U0(e,t,r){if(this._vdom){var n={};n[e]=r=r==null?void 0:r,n[lu(e)]=r,this._vdom=Hi(this._vdom,n),tt(this._vdom,this._root)}}function z0(){tt(this._vdom=null,this._root)}function Xa(e,t){var r=this;return ee("slot",Ao({},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 j0(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=$0,i.prototype.attributeChangedCallback=U0,i.prototype.disconnectedCallback=z0,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 s=typeof a;a!=null&&s!=="string"&&s!=="boolean"&&s!=="number"||this.setAttribute(o,a)}})}),customElements.define(t||e.tagName||e.displayName||e.name,i)}const W0=()=>w(Ud,{styles:zd`*, ::before, ::after {
22
+ `);const s=im(t,r,i),a=Tn.getSymbolSize(t),u=new Qh(a);return Zh(u,t),em(u),tm(u,t),Yn(u,r,0),t>=7&&rm(u,t),nm(u,s),isNaN(n)&&(n=ki.getBestMask(u,Yn.bind(null,u,r))),ki.applyMask(n,u),Yn(u,r,n),{modules:u,version:t,errorCorrectionLevel:r,maskPattern:n,segments:i}}Uc.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=ki.from(r.maskPattern),r.toSJISFunc&&Tn.setToSJISFunction(r.toSJISFunc)),sm(t,i,n,o)};var Zc={},ao={};(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),m=Math.floor((s+o.margin*2)*u),y=o.margin*u,h=[o.color.light,o.color.dark];for(let d=0;d<m;d++)for(let c=0;c<m;c++){let l=(d*m+c)*4,f=o.color.light;if(d>=y&&c>=y&&d<m-y&&c<m-y){const p=Math.floor((d-y)/u),w=Math.floor((c-y)/u);f=h[a[p*s+w]?1:0]}n[l++]=f.r,n[l++]=f.g,n[l++]=f.b,n[l]=f.a}}})(ao);(function(e){const t=ao;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,m=s;typeof u=="undefined"&&(!s||!s.getContext)&&(u=s,s=void 0),s||(m=n()),u=t.getOptions(u);const y=t.getImageWidth(o.modules.size,u),h=m.getContext("2d"),d=h.createImageData(y,y);return t.qrToImageData(d.data,o,u),r(h,m,y),h.putImageData(d,0,0),m},e.renderToDataURL=function(o,s,a){let u=a;typeof u=="undefined"&&(!s||!s.getContext)&&(u=s,s=void 0),u||(u={});const m=e.render(o,s,u),y=u.type||"image/png",h=u.rendererOpts||{};return m.toDataURL(y,h.quality)}})(Zc);var eu={};const am=ao;function As(e,t){const r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function Xn(e,t,r){let n=e+t;return typeof r!="undefined"&&(n+=" "+r),n}function cm(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),m=Math.floor(a/t);!u&&!o&&(o=!0),e[a]?(s++,a>0&&u>0&&e[a-1]||(n+=o?Xn("M",u+r,.5+m+r):Xn("m",i,0),i=0,o=!1),u+1<t&&e[a+1]||(n+=Xn("h",s),s=0)):i++}return n}eu.render=function(t,r,n){const i=am.getOptions(r),o=t.modules.size,s=t.modules.data,a=o+i.margin*2,u=i.color.light.a?"<path "+As(i.color.light,"fill")+' d="M0 0h'+a+"v"+a+'H0z"/>':"",m="<path "+As(i.color.dark,"stroke")+' d="'+cm(s,o,i.margin)+'"/>',y='viewBox="0 0 '+a+" "+a+'"',d='<svg xmlns="http://www.w3.org/2000/svg" '+(i.width?'width="'+i.width+'" height="'+i.width+'" ':"")+y+' shape-rendering="crispEdges">'+u+m+`</svg>
23
+ `;return typeof n=="function"&&n(null,d),d};const um=Sh,Ei=Uc,tu=Zc,lm=eu;function co(e,t,r,n,i){const o=[].slice.call(arguments,1),s=o.length,a=typeof o[s-1]=="function";if(!a&&!um())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,m){try{const y=Ei.create(r,n);u(e(y,t,n))}catch(y){m(y)}})}try{const u=Ei.create(r,n);i(null,e(u,t,n))}catch(u){i(u)}}yr.create=Ei.create;yr.toCanvas=co.bind(null,tu.render);yr.toDataURL=co.bind(null,tu.renderToDataURL);yr.toString=co.bind(null,function(e,t,r){return lm.render(e,r)});const dm=""+new URL("assets/android-badge-CJfxIs_L.svg",import.meta.url).href,fm=""+new URL("assets/apple-badge-9Sgpxn4d.svg",import.meta.url).href,pm=j.div({display:"flex",width:"848px",justifyContent:"space-between"}),hm=j.div({display:"flex",width:"100%",flexDirection:"column",justifyContent:"space-between"}),mm=j.div({marginBottom:"0.75rem",textAlign:"center",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700",color:"var(--theme-600)","@media (min-width: 640px)":{textAlign:"left",fontSize:"1.125rem",lineHeight:"1.75rem"}}),gm=j.div({textAlign:"center",fontSize:"1.25rem",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))","@media (min-width: 640px)":{textAlign:"left",fontSize:"1.875rem",lineHeight:"2.25rem"}}),ym=j.div({display:"flex",width:"420px",flexDirection:"column",justifyContent:"center"}),wm=j.div({marginTop:"1.5rem",marginBottom:"1.5rem",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"space-evenly",borderRadius:"0.5rem",borderWidth:"1px",padding:"0.75rem","@media (min-width: 640px)":{marginTop:"2rem",marginBottom:"2rem",flexDirection:"row",justifyContent:"space-between",padding:"0.75rem",paddingRight:"1.5rem"}}),bm=j.div({display:"flex",width:"100%",flexDirection:"column"}),vm=j.div({marginBottom:"1rem",textAlign:"center",fontSize:"1.125rem",lineHeight:"1.5rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))","@media (min-width: 640px)":{textAlign:"left",fontSize:"1.125rem",lineHeight:"1.75rem"}}),_m=j.div({marginRight:"1.5rem",flex:"none"}),Sm=j.img({height:"120px",width:"120px"}),Cm=j.div({display:"flex",justifyContent:"space-evenly","@media (min-width: 640px)":{justifyContent:"space-between"}}),km=j.img({height:"40px",width:"100%","@media (min-width: 640px)":{height:"34px"}}),xm=j.img({height:"40px",width:"100%","@media (min-width: 640px)":{height:"34px"}}),Em=j.div({fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"400","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"}),Am=j.div({marginTop:"1.25rem",display:"flex",width:"100%",justifyContent:"center","@media (min-width: 640px)":{marginRight:"1rem",width:"400px"}}),Tm=j.img({width:"240px","@media (min-width: 640px)":{width:"400px"}}),Rm=j.div({marginTop:"2rem",width:"320px","@media (min-width: 640px)":{marginTop:"3rem"}}),Zn=j.div({display:"none","@media (min-width: 640px)":{display:"block"}}),Ts=j.div({display:"block","@media (min-width: 640px)":{display:"none"}}),Rn=({fundName:e,engagementId:t,theme:r,iOsDownloadUrl:n,androidDownloadUrl:i,qrCodeUrl:o,title:s,subHeading:a,disclaimer:u,appMockupsImage:m})=>{const[y,h]=pe(""),[d,c]=pe(""),[l,f]=pe(""),{createTrackedLink:p}=vh(),w=`Thanks for staying with ${e}`,_=`Get the ${e} app to access your account and track your super 24/7!`;if(X(()=>{const C="ByofEngagementApp Downloaded",x=p(o,{eventType:C,type:"QR",engagementId:t});c(p(n,{eventType:C,type:"apple",engagementId:t})),f(p(i,{eventType:C,type:"android",engagementId:t}));const E={margin:0,errorCorrectionLevel:"L",color:{dark:r.colors["theme-600"]}};he(void 0,null,function*(){const R=yield yr.toDataURL(x,E);h(R)})},[]),_h(r),!y||!d||!l)return b(Je,{});const g=()=>T(Qe,{children:[b(mm,{children:s!=null?s:w}),b(gm,{children:a!=null?a:_})]}),v=()=>T(wm,{children:[b(_m,{children:b(Zn,{children:b(Sm,{alt:`${e} app download`,src:y})})}),T(bm,{children:[T(vm,{children:[b(Ts,{children:"Download the app now"}),b(Zn,{children:"Scan to download the app"})]}),T(Cm,{children:[b("a",{href:d,children:b(km,{alt:"Apple badge",src:fm})}),b("a",{href:l,children:b(xm,{alt:"Android badge",src:dm})})]})]})]}),S=()=>b(Em,{children:u}),k=()=>b(Am,{children:b(Tm,{alt:`${e} app`,src:m})});return T(Qe,{children:[T(gh,{pillContent:"Partner advertisement",children:[b(Ts,{children:T(hm,{children:[b(g,{}),b(k,{}),b(v,{}),u&&b(S,{})]})}),b(Zn,{children:T(pm,{children:[T(ym,{children:[b(g,{}),b(v,{}),u&&b(S,{})]}),b(k,{})]})})]}),b(Rm,{children:b(kn,{onClick:Yf,fillWidth:!0,children:"Continue"})})]})},Pm=""+new URL("assets/app-mockups-CsPJDZFr.png",import.meta.url).href,Im={colors:{"theme-50":"#F1E0FF","theme-100":"#D1F5EF","theme-200":"#AC82CE","theme-300":"#804EA9","theme-400":"#5F298B","theme-500":"#401069","theme-600":"#260046","theme-700":"#19002F","theme-800":"#0D0017","theme-900":"#000000"}},Mm=()=>b(Rn,{fundName:"Australian Super",engagementId:"australian",theme:Im,iOsDownloadUrl:"https://apps.apple.com/au/app/australiansuper/id1020067456",androidDownloadUrl:"https://play.google.com/store/apps/details?id=com.australiansuper.android.australiansuper&hl=en_AU",qrCodeUrl:"https://www.google.com/search?q=TODO",title:"Make the most out of your super",subHeading:"Manage your super anytime, anywhere with the AustralianSuper app.",disclaimer:"Disclaimer: Apple and the Apple logo are trademarks of Apple Inc., registered in the U.S. and other countries. App Store is a service mark of Apple Inc. Google Play and the Google Play logo are trademarks of Google Inc.",appMockupsImage:Pm}),Fm=""+new URL("assets/app-mockups-BoH89R6-.png",import.meta.url).href,Dm={colors:{"theme-50":"#FFF2FA","theme-100":"#FFDFF5","theme-200":"#FFC2EB","theme-300":"#FF98DA","theme-400":"#FF64C3","theme-500":"#FA2EA7","theme-600":"#EC008C","theme-700":"#C00D77","theme-800":"#921961","theme-900":"#661F49"}},Bm=()=>b(Rn,{fundName:"Aware Super",engagementId:"aware-super",theme:Dm,iOsDownloadUrl:"https://apps.apple.com/au/app/aware-super/id1461702710",androidDownloadUrl:"https://play.google.com/store/apps/details?id=au.com.fss&hl=en_AU",qrCodeUrl:"https://www.google.com/search?q=TODO",appMockupsImage:Fm}),Nm=""+new URL("assets/app-mockups-vh7MArzz.png",import.meta.url).href,Om={colors:{"theme-50":"#F0E5FF","theme-100":"#E0CEFA","theme-200":"#CFB5F5","theme-300":"#BA95F0","theme-400":"#A26FEA","theme-500":"#8948E5","theme-600":"#7226E0","theme-700":"#5C1CB6","theme-800":"#49188D","theme-900":"#361663"}},Lm=()=>b(Rn,{fundName:"Hesta Super",engagementId:"hesta",theme:Om,iOsDownloadUrl:"https://apps.apple.com/au/app/hesta/id1663706652",androidDownloadUrl:"https://play.google.com/store/apps/details?id=app.hesta.com.au&hl=en_AU",qrCodeUrl:"https://www.google.com/search?q=TODO",appMockupsImage:Nm}),$m=""+new URL("assets/app-mockups-Cr1XEjQA.png",import.meta.url).href,Um={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"}},zm=()=>b(Rn,{fundName:"Spirit Super",engagementId:"spirit",theme:Um,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:$m}),Rs={australian:b(Mm,{}),spirit:b(zm,{}),hesta:b(Lm,{}),"aware-super":b(Bm,{})},jm=()=>{var s;const e=Ue(a=>a.session),{data:t,isLoading:r,isError:n,error:i}=Sc(e.fundUsi||""),o=t&&((s=t.engagements)==null?void 0:s.length)>0;if(r)return b(Je,{});if(!r&&(!t||n))return we("Error when calling campaign connect to compute BYOF engagements",{fundUsi:e.fundUsi,data:t,error:i}),Xf(),b(Je,{});if(o){const{engagementId:a}=t.engagements[0];if(a in Rs)return Rs[a]}return!r&&!o&&Gf(),b(Je,{})},Hm=j.div({display:"flex",flexDirection:"column",alignItems:"center"}),qm=()=>T(Hm,{children:[b(jm,{}),b(Lc,{})]}),Wm=()=>b(qm,{}),Vm=e=>window.playwrightRunning?"00000000-0000-0000-0000-000000000000":$c(e).sub,Qm=(e,t)=>{let r=0;for(const n of t)if(r+=n.percentage,e<r)return n.variantName;return t[0].variantName},Jm=(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)},Km=(e,t)=>{if(t.splitType==="percentage"){const r=Jm(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 Qm(o,t.variants)}return t.variants[0].variantName},ru=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=Vm(lt.getState().session.accessToken||""),o=Km(i,n);o&&(lt.dispatch(Qf({experimentName:r,selectedVariant:o})),lt.dispatch(Jt.endpoints.segmentTrack.initiate({event:"$experiment_started",properties:{"Experiment name":r,"Variant name":o}})))}}}},Gm=()=>{const[e]=zf(),[t,r]=pe(!0),[n,i]=pe(!1),o=Cn(),[s]=jf();if(X(()=>{he(void 0,null,function*(){const m=yield s();"data"in m?(ip(),np(),r(!1)):(we("App-loaded service call failed.",{error:m.error}),op(`App-loaded service call failed: ${JSON.stringify(m.error)}`))})},[]),t||n)return b(Je,{isComputingPanelFunds:n});const a=()=>he(void 0,null,function*(){i(!0),rp();const{data:u,isSuccess:m,status:y}=yield e();if(!m){we("Backend service call failed.",{status:y}),sp(`Backend service call failed: ${y}`);return}const h=u==null?void 0:u.promotedFunds.filter(d=>d.type==="defined-benefits");if(u.hasDefinedBenefitsEligibility&&(h==null?void 0:h.length)>0){const d=ah(h[0].fundId);o(Ec({fundId:h[0].fundId,fundType:"defined-benefits",iframeType:"PromotedFundJoinV2",fundName:d}));return}o(Kf(u.promotedFunds)),u.promotedFunds.forEach(d=>{const c=no(d);c!=null&&c.experiments&&ru(c.experiments)})});return T("div",{children:[b("div",{css:{textAlign:"center",fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Important information about super"}),b("div",{css:{marginTop:"0.75rem",maxWidth:"800px",textAlign:"center",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))","@media (min-width: 640px)":{marginTop:"1rem",fontSize:"1.125rem",lineHeight:"2rem"}},children:"The choice of superannuation fund is an important personal financial decision. Next, you’ll be asked to nominate a super fund to receive your employer contributions."}),b("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:T("div",{css:{maxWidth:"560px",borderRadius:"0.5rem",borderWidth:"1px",padding:"1rem",paddingBottom:"1.5rem","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)","@media (min-width: 640px)":{padding:"1.5rem",paddingBottom:"2rem"}},children:[b("div",{css:{fontWeight:"700",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"By clicking “Continue” you acknowledge that:"}),T("ul",{css:{marginBottom:"1.5rem",marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem"},children:[b("li",{children:"Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"}),b("li",{children:"all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"}),b("li",{children:"in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"}),b("li",{children:"Trustees of the featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform;"}),b("li",{children:"in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."}),T("li",{children:["Your personal data that is provided to us will be subject to our"," ",b(N,{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"}),"."]})]}),b(kn,{fillWidth:!0,onClick:()=>a(),children:"Continue"})]})})]})},Ym=(e,t)=>{window.parent.postMessage(e,t===void 0?"*":t)},Xm=e=>{Ym({type:"pageNavigated",url:e,sender:"flare"})},Zm=()=>{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-"}},eg=`https://${Zm()}api.simplefinancialchoices.com/promoted-funds/embed`,Mr=e=>e.replace(/ /g,""),st=e=>!(typeof e=="string"&&e.trim().length>0),tg=()=>{var a,u,m,y,h,d;const e=Ue(c=>c.state.selectedFund),t=Ue(c=>c.session.accessToken),r=Cn(),n=Le.endpoints.campaignConnect.useQueryState().data;if(!e||!t||!n)return we("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(He()),b(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:(m=n.userProfile.mobilePhone)!=null?m:"",email:n.userProfile.email,gender:(y=n.userProfile.gender)!=null?y:"",taxFileNumber:(h=n.userProfile.tfn)!=null?h:"",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();X(()=>{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=eg;let p;for(p in i){const w=i[p];if(w!==void 0){const _=document.createElement("input");_.name=p,_.type="hidden",typeof w=="boolean"?_.value=w?"true":"false":_.value=w,f.append(_)}}c.appendChild(f),c.close(),f.submit()}},[o]);const s=c=>he(void 0,null,function*(){const{data:l}=c;if(l.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",s),l.type){case"cancel":r(He());break;case"success-promoted":{if(st(l.memberNumber)||st(l.usi)){we("Bad response from PFJ",{type:l.type,memberNumber:l.memberNumber,usi:l.usi}),r(He());break}jt({fundType:"Promoted",fundId:e.fundId,usi:Mr(l.usi),memberNumber:l.memberNumber,memberFirstName:l.memberFirstName,memberFamilyName:l.memberFamilyName,fundName:e.fundName});break}case"success-promoted-default":{if(st(l.usi)){we("Bad response from PFJ",{type:l.type,usi:l.usi}),r(He());break}jt({fundType:"PromotedDefault",fundId:l.fundId,usi:Mr(l.usi),fundName:e.fundName});break}case"success-promoted-default-with-join":{if(st(l.memberNumber)||st(l.usi)){we("Bad response from PFJ",{type:l.type,memberNumber:l.memberNumber,usi:l.usi}),r(He());break}jt({fundType:"PromotedDefaultWithJoin",fundId:e.fundId,usi:Mr(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)){we("Bad response from PFJ",{type:l.type,memberNumber:l.memberNumber,usi:l.usi}),r(He());break}jt({fundType:"DefinedBenefits",fundId:l.fundId,usi:Mr(l.usi),memberNumber:l.memberNumber,memberElectContributionRatePreTax:l.memberElectContributionRatePreTax,memberElectContributionRatePostTax:l.memberElectContributionRatePostTax,fundName:e.fundName});break}}r(He())}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),Xm(window.location.href);break}}});return window.addEventListener("message",s),b("div",{css:{width:"100vw"},children:b("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},rg="interop-mode",ng="react-native",Ps=()=>window.location.search.includes(`${rg}=${ng}`),nu=()=>{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-"}},Is=`https://${nu()}join.slatesuper.com.au/confirm`,Ms=`https://${nu()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,ig=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},og=()=>{var a,u,m,y;const e=Ue(h=>h.session.accessToken),t=Cn(),r=Le.endpoints.campaignConnect.useQueryState().data;if(!r)return we("SlateIFrame was in an inconsistent state and the user was redirected to the three panel.",{data:r?"Not null":"Null"}),t(He()),b(Je,{});const i={authToken:!Is.match(/autodev|sandbox/)?e:void 0,successRedirectUrl:Ms,cancelRedirectUrl:Ms,skipConsolidation:Ps()?"true":"false",skipInsurance:Ps()?"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:ig(r.userProfile.gender),taxFileNumber:(m=r.userProfile.tfn)!=null?m:"",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=rn();X(()=>{var d;const h=(d=o.current)==null?void 0:d.contentDocument;if(h){h.open();const c=h.createElement("form");c.method="POST",c.target="_self",c.action=Is;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)}}h.appendChild(c),h.close(),c.submit()}},[o]);const s=h=>he(void 0,null,function*(){const{data:d}=h;if(d.sender==="slate-redirect"){switch(window.removeEventListener("message",s),d.type){case"success":{jt({fundType:"Promoted",fundId:Xr.fundId,usi:to,memberNumber:d.memberNumber,fundName:Xr.name});break}default:t(He());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),b("div",{css:{width:"100vw"},children:b("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},sg=({badgeType:e})=>b("div",{css:[!e&&{visibility:"hidden"},{height:"2.25rem",borderTopLeftRadius:"0.375rem",borderTopRightRadius:"0.375rem",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.375rem",paddingBottom:"0.375rem",textAlign:"center"},(e==null?void 0:e.color)==="green"&&{"--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==null?void 0:e.color)==="blue"&&{"--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==null?void 0:e.color)==="purple"&&{"--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==null?void 0:e.color)==="yellow"&&{"--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:T("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500"},children:[(e==null?void 0:e.boldText)&&b("span",{css:{fontWeight:"700"},children:e==null?void 0:e.boldText}),e==null?void 0:e.text]})}),ag=r=>{var n=r,{size:e}=n,t=ot(n,["size"]);return b("svg",G(D({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#22c55e",width:e?e*4:"100%"},t),{children:b("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"})}))},Fs={Check:ag},br=()=>{const{funds:e}=Ue(({state:t})=>t);return(e==null?void 0:e.length)===1&&e[0].fundId==="mercermychoice"},cg=({name:e,logo:t,coverImage:r,extraBadge:n,isPromotedDefault:i,isMultiFund:o})=>{const s=br(),a=T(Qe,{children:[T("div",{css:{marginRight:"-0.5rem",marginTop:"-1.25rem",textAlign:"right"},children:[n,i&&b("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},children:"Employer Default"}),b("span",{css:{marginRight:"0.125rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(31 41 55 / var(--tw-text-opacity))"},children:"Featured"})]}),T("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:[b("img",{css:[{height:"3rem",width:"80px",objectFit:"contain","@media (min-width: 768px)":{display:"none",height:"3.5rem",width:"96px"},"@media (min-width: 1024px)":{height:"4rem",width:"140px",objectPosition:"left"}},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:t}),b("div",{css:{display:"grid",alignContent:"center"},children:b("p",{css:[{marginLeft:"1rem",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","@media (min-width: 768px)":{marginBottom:"0px",marginLeft:"0px",fontSize:"1.125rem",lineHeight:"1.75rem"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:e})})]})]}),u=T(Qe,{children:[T("div",{css:{marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"4rem",alignItems:"center",justifyContent:"space-between"},children:[b("img",{css:[{width:"100px"}],alt:e,src:t}),T("div",{children:[n,i&&b("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},children:"Employer Default"}),b("span",{css:{marginRight:"0.125rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(31 41 55 / var(--tw-text-opacity))"},children:"Featured"})]})]}),b("img",{css:[{width:"100%"},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:r})]});return b(Qe,{children:s&&Ge()?u:a})},ug=({features:e,featureSubText:t,customContent:r,name:n})=>{const i=br(),o=T(Qe,{children:[b("div",{css:{marginTop:"1rem","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.25rem","@media (min-width: 640px)":{marginTop:"0.5rem"}},children:e.map(a=>T("div",{css:{display:"flex"},children:[b("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:b(Fs.Check,{alt:"checked"})}),b("div",{css:{lineHeight:"1.25rem"},children:a})]}))}),t&&b("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:t}),r]}),s=T(Qe,{children:[T("div",{css:{padding:"1.5rem",paddingBottom:"0px"},children:[b("div",{css:[{fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"700"}],children:n}),e.map(a=>T("div",{css:{marginTop:"0.5rem",display:"flex"},children:[b("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:b(Fs.Check,{alt:"checked"})}),b("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"400"},children:a})]}))]}),t&&b("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:t}),r]});return b(Qe,{children:i&&Ge()?s:o})},lg=({name:e,logo:t,coverImage:r,features:n,featureSubText:i,isMultiFund:o,isPromotedDefault:s,extraBadge:a,customContent:u})=>{const m=br();return T("div",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem"},m&&Ge()&&{padding:"0px"}],children:[b(cg,{name:e,logo:t,coverImage:r,isMultiFund:o,extraBadge:a,isPromotedDefault:s}),b(ug,{name:e,features:n,customContent:u,featureSubText:i})]})},dg=()=>b("div",{css:{display:"flex",justifyContent:"center"},children:b("div",{css:{maxWidth:"800px",textAlign:"center"},children:b("h3",{css:{fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Nominate a super fund"})})}),Ds=({fund:e,isMultiFund:t})=>{const r=Cn(),n=br();return T("div",{css:{display:"flex",height:"100%",flexDirection:"column",justifyContent:"space-between",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem",paddingBottom:"1.5rem"},children:[T("div",{children:[b("div",{css:[{"@media (min-width: 768px)":{maxWidth:"240px"}},t&&{"@media (min-width: 1024px)":{maxWidth:"100%"}},n&&Ge()&&{"@media (min-width: 768px)":{maxWidth:"100%"}}],children:b(kn,{fillWidth:!0,onClick:()=>{tp(e),r(Ec({fundId:e.fundId,fundType:e.fundType,iframeType:e.iframeType,fundName:e.name}))},children:"Choose this fund"})}),b("div",{css:{marginTop:"1.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:e.disclaimer})]}),e.abnInfo&&e.abn&&T("div",{css:{marginTop:"0.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:[T("p",{children:["Issued by ",e.abnInfo,"."]}),T("p",{children:["ABN: ",e.abn]})]})]})},fg="https://my.gov.au",pg="www.my.gov.au",hg="https://www.apra.gov.au/register-of-superannuation-institutions",mg="www.apra.gov.au",gg=(e,t)=>{if(e.fundId==="virgin"){const r=t.selectedVariants["social-validation-popular-virgin"];if(r==="num-badge")return{color:"green",text:`${e.recentJoinerCount} people joined this week`,boldText:"Popular: "};if(r==="pop-badge")return{color:"green",text:"Popular"}}if(t.selectedVariants["social-validation-business-virgin"]==="badge"&&e.fundId==="virgin"||t.selectedVariants["social-validation-business-mercermychoice"]==="badge"&&e.fundId==="mercermychoice")return{color:"yellow",text:"Popular in your business"}},yg=()=>{const e=Ue(a=>a.state.funds),t=Ue(a=>a.experimentsData),r=br(),n=ce(()=>sh(e!=null?e:[]).map(a=>G(D({},a),{badgeType:gg(a,t)})),[e,t]),i=Zf();X(()=>{ep(n)},[n]);const o=n.length>1,s=n.some(a=>a.badgeType);return T("div",{children:[b(dg,{}),b("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center"},children:b("div",{children:T("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)=>T("div",{children:[s&&b(sg,{badgeType:a.badgeType}),b("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"}},a.badgeType&&{borderTopLeftRadius:"0px",borderTopRightRadius:"0px","@media (min-width: 1024px)":{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"}}],children:T("div",{css:[{display:"flex"}],children:[b("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&&Ge()&&{"@media (min-width: 768px)":{display:"none"}}],children:b("img",{css:{height:"4rem",width:"100%",maxWidth:"96px",objectFit:"contain"},alt:a.name,src:a.logo})}),T("div",{css:[{width:"100%"},r&&Ge()&&{minWidth:"286px",maxWidth:"480px"}],children:[b(lg,{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}),b("div",{css:[o&&{"@media (min-width: 1024px)":{display:"none"}}],children:b(Ds,{fund:a,isMultiFund:o})})]})]})})]})),n.map((a,u)=>b("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:b(Ds,{fund:a,isMultiFund:o})}))]})})}),b("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children:T("div",{css:{maxWidth:"720px",borderBottomWidth:"1px",paddingBottom:"2rem","@media (min-width: 640px)":{paddingBottom:"3rem"}},children:[b("h5",{css:{fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.125rem",lineHeight:"1.75rem"}},children:"Or, choose another super fund:"}),T("ul",{css:{marginBottom:"1.5rem",marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem","@media (min-width: 640px)":{fontSize:"1rem",lineHeight:"1.5rem"}},children:[b("li",{children:"Select this option if you'd like to use your current account with another super fund, your self-managed super fund, or your employer's default fund."}),T("li",{children:["If you are unsure of your current super fund details, you can find out at"," ",b(N,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:fg,children:pg})]}),T("li",{children:["A full list of super funds can be viewed at"," ",b(N,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:hg,children:mg})]})]}),b(kn,{fillWidthOnMobile:!0,onClick:()=>i(),children:"Choose another super fund"})]})}),b("div",{css:{display:"flex",justifyContent:"center"},children:T("div",{css:{maxWidth:"720px",paddingTop:"2rem","@media (min-width: 640px)":{paddingTop:"3rem"}},children:[b("h5",{css:{fontWeight:"600"},children:"IMPORTANT INFORMATION:"}),T("ul",{css:{marginLeft:"1.5rem",marginTop:"0.75rem",listStylePosition:"outside",listStyleType:"disc","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.5rem"},children:[b("li",{children:"The superannuation funds featured above are for your information only. The order, position and placement of content should not be interpreted as an opinion or recommendation (actual or implied) by Flare as to the suitability or appropriateness of any superannuation fund for you. In featuring these superannuation funds, Flare has not taken into account your objectives, financial situation or needs."}),b("li",{children:"This is not a comparison service. This page contains factual information only and does not constitute either general or personal advice about any financial products. We do not take into account your objectives, financial situation or needs. If you have questions or need help making a decision about your superannuation fund, you should speak to a licensed financial product advice provider."}),b("li",{children:"Flare, the technology partner you are accessing Flare via and your employer do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the featured superannuation funds. Flare does not endorse or accept responsibility for any of the content shown about any of the featured superannuation funds."}),b("li",{children:"You should consider the relevant superannuation fund’s PDS and TMD (if applicable) in deciding whether to apply to join the superannuation fund. Each of the superannuation funds featured above include a link to their PDS and TMD (if applicable) for your convenience. If you are considering joining another superannuation fund, you can typically find the PDS and TMD (if applicable) on that fund’s website."}),b("li",{children:"You should be aware that the trustees of featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform."})]})]})})]})},wg=j.div({display:"flex",flexDirection:"column",alignItems:"center"}),bg=()=>{const{funds:e,selectedFund:t}=Ue(i=>i.state),[r]=qf();return X(()=>{r()},[]),T(wg,{children:[b("div",{children:(()=>{if(t){if(t.iframeType==="PromotedFundJoinV2")return b(tg,{});if(t.iframeType==="SlateJoin")return b(og,{})}else if(e)return b(yg,{});return b(Gm,{})})()}),b("div",{children:b(Lc,{})})]})},vg=()=>b(bg,{}),_g={},Sg=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 uo(){return(uo=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 Cg=["context","children"];function kg(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,Cg);return Pi(t,r)}function xg(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=Z(kg,uo({},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[iu(a[s].name)]=a[s].value);for(s=u.length;s--;){var m=t(u[s],null),y=u[s].slot;y?o[y]=Z(Bs,{name:y},m):i[s]=m}var h=n?Z(Bs,null,i):i;return Z(n||r.nodeName.toLowerCase(),o,h)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Ri:et)(this._vdom,this._root)}function iu(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function Eg(e,t,r){if(this._vdom){var n={};n[e]=r=r==null?void 0:r,n[iu(e)]=r,this._vdom=Pi(this._vdom,n),et(this._vdom,this._root)}}function Ag(){et(this._vdom=null,this._root)}function Bs(e,t){var r=this;return Z("slot",uo({},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 Tg(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=xg,i.prototype.attributeChangedCallback=Eg,i.prototype.disconnectedCallback=Ag,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 Rg=()=>b(Pl,{styles:Il`*, ::before, ::after {
24
24
  box-sizing: border-box;
25
25
  border-width: 0;
26
26
  border-style: solid;
@@ -270,4 +270,4 @@ img, video {
270
270
  --tw-backdrop-opacity: var(--tw-empty,/*!*/ /*!*/);
271
271
  --tw-backdrop-saturate: var(--tw-empty,/*!*/ /*!*/);
272
272
  --tw-backdrop-sepia: var(--tw-empty,/*!*/ /*!*/);
273
- }`}),H0=(e,t)=>r=>{const{"access-token":n,"backend-url":i,"fund-usi":o}=r,a=N0(i),[s,u]=me(!1);Z(()=>{const d=bh();return()=>{clearInterval(d)}},[]),Z(()=>{lt.dispatch(op({accessToken:n,backendUrl:i,superBackendUrl:a,fundUsi:o})),du(B0),u(!0)},[n,i,a,o]);const p=Ee(null),[g,m]=me(void 0);return Z(()=>{var d;m((d=p.current)!=null?d:void 0)},[p]),w("div",{ref:p,children:w(Od,{value:Qs({key:t,container:g,prepend:!0}),children:T(Uf,{store:lt,children:[w(W0,{}),w("div",{css:{fontFamily:"Inter, sans-serif"},children:s?e({}):w(We,{})})]})})})},Eo=(e,t,r)=>{j0(H0(e,t),t,r,{shadow:!0})},q0=""+new URL("assets/logo-aware-DYvmVUZ1.svg",import.meta.url).href,V0="Aware Super",Q0={fundId:"aware-super",name:V0,logo:q0,iframeType:"PromotedFundJoinV2"},G0=""+new URL("assets/logo-first-CusDmGWL.svg",import.meta.url).href,J0="First Super",K0={fundId:"first-super",name:J0,logo:G0,iframeType:"PromotedFundJoinV2"},Y0=[Q0,K0],fu=e=>Y0.find(r=>r.fundId===e);var pu={},hu={},To={exports:{}},Y=String,mu=function(){return{isColorSupported:!1,reset:Y,bold:Y,dim:Y,italic:Y,underline:Y,inverse:Y,hidden:Y,strikethrough:Y,black:Y,red:Y,green:Y,yellow:Y,blue:Y,magenta:Y,cyan:Y,white:Y,gray:Y,bgBlack:Y,bgRed:Y,bgGreen:Y,bgYellow:Y,bgBlue:Y,bgMagenta:Y,bgCyan:Y,bgWhite:Y}};To.exports=mu();To.exports.createColors=mu;var X0=To.exports;(function(e){var t={};Object.defineProperty(e,"__esModule",{value:!0});function r(p,g){for(var m in g)Object.defineProperty(p,m,{enumerable:!0,get:g[m]})}r(e,{dim:function(){return s},default:function(){return u}});const n=i(X0);function i(p){return p&&p.__esModule?p:{default:p}}let o=new Set;function a(p,g,m){typeof process!="undefined"&&t.JEST_WORKER_ID||m&&o.has(m)||(m&&o.add(m),console.warn(""),g.forEach(d=>console.warn(p,"-",d)))}function s(p){return n.default.dim(p)}const u={info(p,g){a(n.default.bold(n.default.cyan("info")),...Array.isArray(p)?[p]:[g,p])},warn(p,g){a(n.default.bold(n.default.yellow("warn")),...Array.isArray(p)?[p]:[g,p])},risk(p,g){a(n.default.bold(n.default.magenta("risk")),...Array.isArray(p)?[p]:[g,p])}}})(hu);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i}});const t=r(hu);function r(o){return o&&o.__esModule?o:{default:o}}function n({version:o,from:a,to:s}){t.default.warn(`${a}-color-renamed`,[`As of Tailwind CSS ${o}, \`${a}\` has been renamed to \`${s}\`.`,"Update your configuration file to silence this warning."])}const i={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return n({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return n({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return n({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return n({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return n({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}})(pu);let ti=pu;var Z0=(ti.__esModule?ti:{default:ti}).default;const eg=({fundId:e,isSelected:t})=>{const r=fu(e);return r?T("div",{css:[{cursor:"pointer",borderRadius:"0.5rem",borderWidth:"1px",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem"},{display:"flex",flexDirection:"row"},t&&{margin:"-1px",borderWidth:"2px","--tw-border-opacity":"1",borderColor:"rgb(59 130 246 / var(--tw-border-opacity))"}],children:[T("div",{css:[{display:"flex",flexGrow:"1",alignItems:"center",gap:"1rem"}],children:[w("img",{css:{height:"3rem",width:"80px",objectFit:"contain"},alt:r.name,src:r.logo}),w("p",{css:{verticalAlign:"middle",fontWeight:"700"},children:r.name})]}),t&&w(Ui.Check,{size:5,fill:Z0.blue[500],css:{justifySelf:"end"}})]}):w(Re,{})},Za=["aware-super","first-super"],tg=()=>{const e=_r(),[t,r]=me(void 0);Z(()=>{bp(Za)},[]);const n=a=>{const s=fu(a);r(s),vp(a)},i=()=>{t&&(e(go({fundId:t.fundId,fundName:t.name,fundType:"promoted",iframeType:t.iframeType})),_p(t.fundId))},o=()=>{wp()};return T("div",{css:{display:"flex",width:"100%",flexDirection:"column",alignItems:"center",gap:"2rem"},children:[T("div",{css:{display:"flex",width:"100%",flexDirection:"column",gap:"1.5rem",borderRadius:"0.5rem",borderWidth:"1px",padding:"1.5rem",paddingBottom:"2rem"},children:[w("div",{css:{fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"700"},children:"Join a featured super fund"}),w("div",{css:{display:"flex",flexDirection:"column",gap:"0.5rem"},children:Za.map((a,s)=>w("div",{onClick:()=>n(a),children:w(eg,{fundId:a,isSelected:(t==null?void 0:t.fundId)===a},s)}))})]}),T("div",{css:{display:"flex",width:"20rem",flexDirection:"column",gap:"1rem"},children:[w(Pt,{fillWidth:!0,disabled:!t,onClick:i,children:"Continue"}),w(Pt,{variant:"secondary",fillWidth:!0,onClick:o,children:"Back"})]})]})},rg=W.div({display:"flex",flexDirection:"column",alignItems:"center"}),ng=()=>{const{selectedFund:e}=Pe(n=>n.state),{isLoading:t}=Xf();return T(rg,{children:[t?w(We,{}):e?w(uu,{app:"featured-funds"}):w(tg,{}),w(vo,{})]})},ig=()=>w(ng,{});Eo(D0,"apollo-super-campaign");Eo(o0,"apollo-super-byof-engagement",["fund-usi"]);Eo(ig,"apollo-super-campaign-featured-funds");
273
+ }`}),Pg=(e,t)=>r=>{const{"access-token":n,"backend-url":i,"fund-usi":o}=r,s=Sg(i),[a,u]=pe(!1);X(()=>{const d=ih();return()=>{clearInterval(d)}},[]),X(()=>{lt.dispatch(Jf({accessToken:n,backendUrl:i,superBackendUrl:s,fundUsi:o})),ru(_g),u(!0)},[n,i,s,o]);const m=Ee(null),[y,h]=pe(void 0);return X(()=>{var d;h((d=m.current)!=null?d:void 0)},[m]),b("div",{ref:m,children:b(Al,{value:Ra({key:t,container:y,prepend:!0}),children:T(Pf,{store:lt,children:[b(Rg,{}),b("div",{css:{fontFamily:"Inter, sans-serif"},children:a?e({}):b(Je,{})})]})})})},ou=(e,t,r)=>{Tg(Pg(e,t),t,r,{shadow:!0})};ou(vg,"apollo-super-campaign");ou(Wm,"apollo-super-byof-engagement",["fund-usi"]);