@flarehr/apollo-super-campaign 1.43.43 → 1.44.44

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 au=Object.defineProperty,cu=Object.defineProperties;var uu=Object.getOwnPropertyDescriptors;var kr=Object.getOwnPropertySymbols;var Ao=Object.prototype.hasOwnProperty,To=Object.prototype.propertyIsEnumerable;var Fn=(e,t,r)=>t in e?au(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,I=(e,t)=>{for(var r in t||(t={}))Ao.call(t,r)&&Fn(e,r,t[r]);if(kr)for(var r of kr(t))To.call(t,r)&&Fn(e,r,t[r]);return e},$=(e,t)=>cu(e,uu(t));var ot=(e,t)=>{var r={};for(var n in e)Ao.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&kr)for(var n of kr(e))t.indexOf(n)<0&&To.call(e,n)&&(r[n]=e[n]);return r};var Nn=(e,t,r)=>(Fn(e,typeof t!="symbol"?t+"":t,r),r);var pe=(e,t,r)=>new Promise((n,i)=>{var o=u=>{try{a(r.next(u))}catch(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 Zn(){return Zn=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},Zn.apply(this,arguments)}var dr,N,Ws,ct,Ro,Vs,ei,Qs,Gt={},Ks=[],lu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,en=Array.isArray;function Ve(e,t){for(var r in t)e[r]=t[r];return e}function Js(e){var t=e.parentNode;t&&t.removeChild(e)}function X(e,t,r){var n,i,o,s={};for(o in t)o=="key"?n=t[o]:o=="ref"?i=t[o]:s[o]=t[o];if(arguments.length>2&&(s.children=arguments.length>3?dr.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?++Ws:i,__i:-1,__u:0};return i==null&&N.vnode!=null&&N.vnode(o),o}function tn(){return{current:null}}function _e(e){return e.children}function Pe(e,t){this.props=e,this.context=t}function Et(e,t){if(t==null)return e.__?Et(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?Et(e):null}function Ys(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 Ys(e)}}function ti(e){(!e.__d&&(e.__d=!0)&&ct.push(e)&&!zr.__r++||Ro!==N.debounceRendering)&&((Ro=N.debounceRendering)||Vs)(zr)}function zr(){var e,t,r,n,i,o,s,a,u;for(ct.sort(ei);e=ct.shift();)e.__d&&(t=ct.length,n=void 0,o=(i=(r=e).__v).__e,a=[],u=[],(s=r.__P)&&((n=Ve({},i)).__v=i.__v+1,N.vnode&&N.vnode(n),Di(s,n,i,r.__n,s.ownerSVGElement!==void 0,32&i.__u?[o]:null,a,o==null?Et(i):o,!!(32&i.__u),u),n.__.__k[n.__i]=n,Zs(a,n,u),n.__e!=o&&Ys(n)),ct.length>t&&ct.sort(ei));zr.__r=0}function Gs(e,t,r,n,i,o,s,a,u,m,g){var h,d,c,l,f,p=n&&n.__k||Ks,w=t.length;for(r.__d=u,du(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,Di(e,c,d,i,o,s,a,u,m,g),l=c.__e,c.ref&&d.ref!=c.ref&&(d.ref&&Oi(d.ref,null,c),g.push(c.ref,c.__c||l,c)),f==null&&l!=null&&(f=l),65536&c.__u||d.__k===c.__k?u=Xs(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 du(e,t,r){var n,i,o,s,a,u=t.length,m=r.length,g=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):en(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=fu(i,r,s=n+h,g),i.__i=a,o=null,a!==-1&&(g--,(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?g>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=Et(o)),ri(o,o,!1),r[n]=null,g--);if(g)for(n=0;n<m;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=Et(o)),ri(o,o))}function Xs(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=Xs(n[i],t,r));return t}return e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function Qe(e,t){return t=t||[],e==null||typeof e=="boolean"||(en(e)?e.some(function(r){Qe(r,t)}):t.push(e)),t}function fu(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 Po(e,t,r){t[0]==="-"?e.setProperty(t,r==null?"":r):e[t]=r==null?"":typeof r!="number"||lu.test(t)?r:r+"px"}function Er(e,t,r,n,i){var o;e:if(t==="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||Po(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Po(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?Mo:Io,o)):e.removeEventListener(t,o?Mo:Io,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 Io(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(N.event?N.event(e):e)}function Mo(e){return this.l[e.type+!0](N.event?N.event(e):e)}function Di(e,t,r,n,i,o,s,a,u,m){var g,h,d,c,l,f,p,w,v,y,b,S,k,C,E,x=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(u=!!(32&r.__u),o=[a=t.__e=r.__e]),(g=N.__b)&&g(t);e:if(typeof x=="function")try{if(w=t.props,v=(g=x.contextType)&&n[g.__c],y=g?v?v.props.value:g.__:n,r.__c?p=(h=t.__c=r.__c).__=h.__E:("prototype"in x&&x.prototype.render?t.__c=h=new x(w,y):(t.__c=h=new Pe(w,y),h.constructor=x,h.render=hu),v&&v.sub(h),h.props=w,h.state||(h.state={}),h.context=y,h.__n=n,d=h.__d=!0,h.__h=[],h._sb=[]),h.__s==null&&(h.__s=h.state),x.getDerivedStateFromProps!=null&&(h.__s==h.state&&(h.__s=Ve({},h.__s)),Ve(h.__s,x.getDerivedStateFromProps(w,h.__s))),c=h.props,l=h.state,h.__v=t,d)x.getDerivedStateFromProps==null&&h.componentWillMount!=null&&h.componentWillMount(),h.componentDidMount!=null&&h.__h.push(h.componentDidMount);else{if(x.getDerivedStateFromProps==null&&w!==c&&h.componentWillReceiveProps!=null&&h.componentWillReceiveProps(w,y),!h.__e&&(h.shouldComponentUpdate!=null&&h.shouldComponentUpdate(w,h.__s,y)===!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)}),b=0;b<h._sb.length;b++)h.__h.push(h._sb[b]);h._sb=[],h.__h.length&&s.push(h);break e}h.componentWillUpdate!=null&&h.componentWillUpdate(w,h.__s,y),h.componentDidUpdate!=null&&h.__h.push(function(){h.componentDidUpdate(c,l,f)})}if(h.context=y,h.props=w,h.__P=e,h.__e=!1,S=N.__r,k=0,"prototype"in x&&x.prototype.render){for(h.state=h.__s,h.__d=!1,S&&S(t),g=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),g=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=Ve(Ve({},n),h.getChildContext())),d||h.getSnapshotBeforeUpdate==null||(f=h.getSnapshotBeforeUpdate(c,l)),Gs(e,en(E=g!=null&&g.type===_e&&g.key==null?g.props.children:g)?E:[E],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),N.__e(A,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=pu(r.__e,t,r,n,i,o,s,u,m);(g=N.diffed)&&g(t)}function Zs(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)Oi(r[n],r[++n],r[++n]);N.__c&&N.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){N.__e(o,i.__v)}})}function pu(e,t,r,n,i,o,s,a,u){var m,g,h,d,c,l,f,p=r.props,w=t.props,v=t.type;if(v==="svg"&&(i=!0),o!=null){for(m=0;m<o.length;m++)if((c=o[m])&&"setAttribute"in c==!!v&&(v?c.localName===v:c.nodeType===3)){e=c,o[m]=null;break}}if(e==null){if(v===null)return document.createTextNode(w);e=i?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,w.is&&w),o=null,a=!1}if(v===null)p===w||a&&e.data===w||(e.data=w);else{if(o=o&&dr.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||Er(e,m,null,c,i));for(m in w)c=w[m],m=="children"?d=c:m=="dangerouslySetInnerHTML"?g=c:m=="value"?l=c:m=="checked"?f=c:m==="key"||a&&typeof c!="function"||p[m]===c||Er(e,m,c,p[m],i);if(g)a||h&&(g.__html===h.__html||g.__html===e.innerHTML)||(e.innerHTML=g.__html),t.__k=[];else if(h&&(e.innerHTML=""),Gs(e,en(d)?d:[d],t,r,n,i&&v!=="foreignObject",o,s,o?o[0]:r.__k&&Et(r,0),a,u),o!=null)for(m=o.length;m--;)o[m]!=null&&Js(o[m]);a||(m="value",l!==void 0&&(l!==e[m]||v==="progress"&&!l||v==="option"&&l!==p[m])&&Er(e,m,l,p[m],!1),m="checked",f!==void 0&&f!==e[m]&&Er(e,m,f,p[m],!1))}return e}function Oi(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){N.__e(n,r)}}function ri(e,t,r){var n,i;if(N.unmount&&N.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||Oi(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){N.__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]&&ri(n[i],t,r||typeof e.type!="function");r||e.__e==null||Js(e.__e),e.__=e.__e=e.__d=void 0}function hu(e,t,r){return this.constructor(e,r)}function et(e,t,r){var n,i,o,s;N.__&&N.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],s=[],Di(t,e=(!n&&r||t).__k=X(_e,null,[e]),i||Gt,Gt,t.ownerSVGElement!==void 0,!n&&r?[r]:i?null:t.firstChild?dr.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,s),Zs(o,e,s)}function Li(e,t){et(e,t,Li)}function $i(e,t,r){var n,i,o,s,a=Ve({},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?dr.call(arguments,2):r),qt(e.type,a,n||e.key,i||e.ref,null)}function rn(e,t){var r={__c:t="__cC"+Qs++,__: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,ti(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}dr=Ks.slice,N={__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}},Ws=0,Pe.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ve({},this.state),typeof e=="function"&&(e=e(Ve({},r),this.props)),e&&Ve(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),ti(this))},Pe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ti(this))},Pe.prototype.render=_e,ct=[],Vs=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ei=function(e,t){return e.__v.__b-t.__v.__b},zr.__r=0,Qs=0;var Je,K,Bn,Fo,xt=0,ea=[],Br=[],No=N.__b,Bo=N.__r,Do=N.diffed,Oo=N.__c,Lo=N.unmount;function ht(e,t){N.__h&&N.__h(K,e,xt||t),xt=0;var r=K.__H||(K.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:Br}),r.__[e]}function be(e){return xt=1,Ui(na,e)}function Ui(e,t,r){var n=ht(Je++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):na(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=K,!K.u)){var i=function(a,u,m){if(!n.__c.__H)return!0;var g=n.__c.__H.__.filter(function(d){return d.__c});if(g.every(function(d){return!d.__N}))return!o||o.call(this,a,u,m);var h=!1;return g.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))};K.u=!0;var o=K.shouldComponentUpdate,s=K.componentWillUpdate;K.componentWillUpdate=function(a,u,m){if(this.__e){var g=o;o=void 0,i(a,u,m),o=g}s&&s.call(this,a,u,m)},K.shouldComponentUpdate=i}return n.__N||n.__}function te(e,t){var r=ht(Je++,3);!N.__s&&zi(r.__H,t)&&(r.__=e,r.i=t,K.__H.__h.push(r))}function mt(e,t){var r=ht(Je++,4);!N.__s&&zi(r.__H,t)&&(r.__=e,r.i=t,K.__h.push(r))}function xe(e){return xt=5,ae(function(){return{current:e}},[])}function ta(e,t,r){xt=6,mt(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r==null?r:r.concat(e))}function ae(e,t){var r=ht(Je++,7);return zi(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function bt(e,t){return xt=8,ae(function(){return e},t)}function Ft(e){var t=K.context[e.__c],r=ht(Je++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(K)),t.props.value):e.__}function jr(e,t){N.useDebugValue&&N.useDebugValue(t?t(e):e)}function mu(e){var t=ht(Je++,10),r=be();return t.__=e,K.componentDidCatch||(K.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function ra(){var e=ht(Je++,11);if(!e.__){for(var t=K.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function gu(){for(var e;e=ea.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Dr),e.__H.__h.forEach(ni),e.__H.__h=[]}catch(t){e.__H.__h=[],N.__e(t,e.__v)}}N.__b=function(e){K=null,No&&No(e)},N.__r=function(e){Bo&&Bo(e),Je=0;var t=(K=e.__c).__H;t&&(Bn===K?(t.__h=[],K.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=Br,r.__N=r.i=void 0})):(t.__h.forEach(Dr),t.__h.forEach(ni),t.__h=[],Je=0)),Bn=K},N.diffed=function(e){Do&&Do(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ea.push(t)!==1&&Fo===N.requestAnimationFrame||((Fo=N.requestAnimationFrame)||yu)(gu)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==Br&&(r.__=r.__V),r.i=void 0,r.__V=Br})),Bn=K=null},N.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Dr),r.__h=r.__h.filter(function(n){return!n.__||ni(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],N.__e(n,r.__v)}}),Oo&&Oo(e,t)},N.unmount=function(e){Lo&&Lo(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&&N.__e(t,r.__v))};var $o=typeof requestAnimationFrame=="function";function yu(e){var t,r=function(){clearTimeout(n),$o&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);$o&&(t=requestAnimationFrame(r))}function Dr(e){var t=K,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),K=t}function ni(e){var t=K;e.__c=e.__(),K=t}function zi(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function na(e,t){return typeof t=="function"?t(e):t}function ia(e,t){for(var r in t)e[r]=t[r];return e}function ii(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 oa(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:ii(this.props,i)}function n(i){return this.shouldComponentUpdate=r,X(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(Hr.prototype=new Pe).isPureReactComponent=!0,Hr.prototype.shouldComponentUpdate=function(e,t){return ii(this.props,e)||ii(this.state,t)};var Uo=N.__b;N.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Uo&&Uo(e)};var wu=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ji(e){function t(r){var n=ia({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=wu,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var zo=function(e,t){return e==null?null:Qe(Qe(e).map(t))},sa={map:zo,forEach:zo,count:function(e){return e?Qe(e).length:0},only:function(e){var t=Qe(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Qe},bu=N.__e;N.__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)}bu(e,t,r,n)};var jo=N.unmount;function aa(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=ia({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return aa(n,t,r)})),e}function ca(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return ca(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 ua(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function la(e){var t,r,n;function i(o){if(t||(t=e()).then(function(s){r=s.default||s},function(s){n=s}),n)throw n;if(!r)throw t;return X(r,o)}return i.displayName="Lazy",i.__f=!0,i}function vt(){this.u=null,this.o=null}N.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),jo&&jo(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=ua(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]=ca(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]=aa(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&X(_e,null,e.fallback);return i&&(i.__u&=-33),[X(_e,null,t.__a?null:e.children),i]};var Ho=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 vu(e){return this.getChildContext=function(){return e.context},e.children}function _u(e){var t=this,r=e.i;t.componentWillUnmount=function(){et(null,t.l),t.l=null,t.i=null},t.i&&t.i!==r&&t.componentWillUnmount(),t.l||(t.i=r,t.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),t.i.appendChild(n)},insertBefore:function(n,i){this.childNodes.push(n),t.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.i.removeChild(n)}}),et(X(vu,{context:t.context},e.__v),t.l)}function da(e,t){var r=X(_u,{__v:e,i:t});return r.containerInfo=t,r}(vt.prototype=new Pe).__a=function(e){var t=this,r=ua(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),Ho(t,e,n)):i()};r?r(o):o()}},vt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Qe(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},vt.prototype.componentDidUpdate=vt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){Ho(e,r,t)})};var fa=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Su=/^(?: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]/,Cu=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ku=/[A-Z0-9]/g,Eu=typeof document!="undefined",xu=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function pa(e,t,r){return t.__k==null&&(t.textContent=""),et(e,t),typeof r=="function"&&r(),e?e.__c:null}function ha(e,t,r){return Li(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 qo=N.event;function Au(){}function Tu(){return this.cancelBubble}function Ru(){return this.defaultPrevented}N.event=function(e){return qo&&(e=qo(e)),e.persist=Au,e.isPropagationStopped=Tu,e.isDefaultPrevented=Ru,e.nativeEvent=e};var Hi,Pu={enumerable:!1,configurable:!0,get:function(){return this.class}},Wo=N.vnode;N.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||Eu&&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"||xu(r.type)?a==="onfocus"?o="onfocusin":a==="onblur"?o="onfocusout":Cu.test(o)?o=a:n.indexOf("-")===-1&&Su.test(o)?o=o.replace(ku,"-$&").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=Qe(r.children).forEach(function(u){u.props.selected=i.value.indexOf(u.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=Qe(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",Pu)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=fa,Wo&&Wo(e)};var Vo=N.__r;N.__r=function(e){Vo&&Vo(e),Hi=e.__c};var Qo=N.diffed;N.diffed=function(e){Qo&&Qo(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),Hi=null};var ma={ReactCurrentDispatcher:{current:{readContext:function(e){return Hi.__n[e.__c].props.value}}}},Iu="17.0.2";function ga(e){return X.bind(null,e)}function fr(e){return!!e&&e.$$typeof===fa}function ya(e){return fr(e)&&e.type===_e}function wa(e){return fr(e)?$i.apply(null,arguments):e}function ba(e){return!!e.__k&&(et(null,e),!0)}function va(e){return e&&(e.base||e.nodeType===1&&e)||null}var _a=function(e,t){return e(t)},Sa=function(e,t){return e(t)},Ca=_e;function qi(e){e()}function ka(e){return e}function Ea(){return[!1,qi]}var xa=mt,Aa=fr;function Ta(e,t){var r=t(),n=be({h:{__:r,v:t}}),i=n[0].h,o=n[1];return mt(function(){i.__=r,i.v=t,Dn(i)&&o({h:i})},[e,r,t]),te(function(){return Dn(i)&&o({h:i}),e(function(){Dn(i)&&o({h:i})})},[e]),r}function Dn(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 Ra={useState:be,useId:ra,useReducer:Ui,useEffect:te,useLayoutEffect:mt,useInsertionEffect:xa,useTransition:Ea,useDeferredValue:ka,useSyncExternalStore:Ta,startTransition:qi,useRef:xe,useImperativeHandle:ta,useMemo:ae,useCallback:bt,useContext:Ft,useDebugValue:jr,version:"17.0.2",Children:sa,render:pa,hydrate:ha,unmountComponentAtNode:ba,createPortal:da,createElement:X,createContext:rn,createFactory:ga,cloneElement:wa,createRef:tn,Fragment:_e,isValidElement:fr,isElement:Aa,isFragment:ya,findDOMNode:va,Component:Pe,PureComponent:Hr,memo:oa,forwardRef:ji,flushSync:Sa,unstable_batchedUpdates:_a,StrictMode:Ca,Suspense:Wt,SuspenseList:vt,lazy:la,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ma};const Xt=Object.freeze(Object.defineProperty({__proto__:null,Children:sa,Component:Pe,Fragment:_e,PureComponent:Hr,StrictMode:Ca,Suspense:Wt,SuspenseList:vt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ma,cloneElement:wa,createContext:rn,createElement:X,createFactory:ga,createPortal:da,createRef:tn,default:Ra,findDOMNode:va,flushSync:Sa,forwardRef:ji,hydrate:ha,isElement:Aa,isFragment:ya,isValidElement:fr,lazy:la,memo:oa,render:pa,startTransition:qi,unmountComponentAtNode:ba,unstable_batchedUpdates:_a,useCallback:bt,useContext:Ft,useDebugValue:jr,useDeferredValue:ka,useEffect:te,useErrorBoundary:mu,useId:ra,useImperativeHandle:ta,useInsertionEffect:xa,useLayoutEffect:mt,useMemo:ae,useReducer:Ui,useRef:xe,useState:be,useSyncExternalStore:Ta,useTransition:Ea,version:Iu},Symbol.toStringTag,{value:"Module"}));function Pa(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Mu=/^((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)-.*))$/,Fu=Pa(function(e){return Mu.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 Bu(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 Du=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(Bu(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}(),de="-ms-",qr="-moz-",H="-webkit-",Ia="comm",Wi="rule",Vi="decl",Ou="@import",Ma="@keyframes",Lu="@layer",$u=Math.abs,nn=String.fromCharCode,Uu=Object.assign;function zu(e,t){return ce(e,0)^45?(((t<<2^ce(e,0))<<2^ce(e,1))<<2^ce(e,2))<<2^ce(e,3):0}function Fa(e){return e.trim()}function ju(e,t){return(e=t.exec(e))?e[0]:e}function q(e,t,r){return e.replace(t,r)}function oi(e,t){return e.indexOf(t)}function ce(e,t){return e.charCodeAt(t)|0}function Zt(e,t,r){return e.slice(t,r)}function Be(e){return e.length}function Qi(e){return e.length}function xr(e,t){return t.push(e),e}function Hu(e,t){return e.map(t).join("")}var on=1,At=1,Na=0,me=0,ee=0,Nt="";function sn(e,t,r,n,i,o,s){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:on,column:At,length:s,return:""}}function Lt(e,t){return Uu(sn("",null,null,"",null,null,0),e,{length:-e.length},t)}function qu(){return ee}function Wu(){return ee=me>0?ce(Nt,--me):0,At--,ee===10&&(At=1,on--),ee}function ve(){return ee=me<Na?ce(Nt,me++):0,At++,ee===10&&(At=1,on++),ee}function Oe(){return ce(Nt,me)}function Or(){return me}function pr(e,t){return Zt(Nt,e,t)}function er(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 Ba(e){return on=At=1,Na=Be(Nt=e),me=0,[]}function Da(e){return Nt="",e}function Lr(e){return Fa(pr(me-1,si(e===91?e+2:e===40?e+1:e)))}function Vu(e){for(;(ee=Oe())&&ee<33;)ve();return er(e)>2||er(ee)>3?"":" "}function Qu(e,t){for(;--t&&ve()&&!(ee<48||ee>102||ee>57&&ee<65||ee>70&&ee<97););return pr(e,Or()+(t<6&&Oe()==32&&ve()==32))}function si(e){for(;ve();)switch(ee){case e:return me;case 34:case 39:e!==34&&e!==39&&si(ee);break;case 40:e===41&&si(e);break;case 92:ve();break}return me}function Ku(e,t){for(;ve()&&e+ee!==57;)if(e+ee===84&&Oe()===47)break;return"/*"+pr(t,me-1)+"*"+nn(e===47?e:ve())}function Ju(e){for(;!er(Oe());)ve();return pr(e,me)}function Yu(e){return Da($r("",null,null,null,[""],e=Ba(e),0,[0],e))}function $r(e,t,r,n,i,o,s,a,u){for(var m=0,g=0,h=s,d=0,c=0,l=0,f=1,p=1,w=1,v=0,y="",b=i,S=o,k=n,C=y;p;)switch(l=v,v=ve()){case 40:if(l!=108&&ce(C,h-1)==58){oi(C+=q(Lr(v),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:C+=Lr(v);break;case 9:case 10:case 13:case 32:C+=Vu(l);break;case 92:C+=Qu(Or()-1,7);continue;case 47:switch(Oe()){case 42:case 47:xr(Gu(Ku(ve(),Or()),t,r),u);break;default:C+="/"}break;case 123*f:a[m++]=Be(C)*w;case 125*f:case 59:case 0:switch(v){case 0:case 125:p=0;case 59+g:w==-1&&(C=q(C,/\f/g,"")),c>0&&Be(C)-h&&xr(c>32?Jo(C+";",n,r,h-1):Jo(q(C," ","")+";",n,r,h-2),u);break;case 59:C+=";";default:if(xr(k=Ko(C,t,r,m,g,i,a,y,b=[],S=[],h),o),v===123)if(g===0)$r(C,t,k,k,b,o,h,a,S);else switch(d===99&&ce(C,3)===110?100:d){case 100:case 108:case 109:case 115:$r(e,k,k,n&&xr(Ko(e,k,k,0,0,i,a,y,i,b=[],h),S),i,S,h,a,n?b:S);break;default:$r(C,k,k,k,[""],S,0,a,S)}}m=g=c=0,f=w=1,y=C="",h=s;break;case 58:h=1+Be(C),c=l;default:if(f<1){if(v==123)--f;else if(v==125&&f++==0&&Wu()==125)continue}switch(C+=nn(v),v*f){case 38:w=g>0?1:(C+="\f",-1);break;case 44:a[m++]=(Be(C)-1)*w,w=1;break;case 64:Oe()===45&&(C+=Lr(ve())),d=Oe(),g=h=Be(y=C+=Ju(Or())),v++;break;case 45:l===45&&Be(C)==2&&(f=0)}}return o}function Ko(e,t,r,n,i,o,s,a,u,m,g){for(var h=i-1,d=i===0?o:[""],c=Qi(d),l=0,f=0,p=0;l<n;++l)for(var w=0,v=Zt(e,h+1,h=$u(f=s[l])),y=e;w<c;++w)(y=Fa(f>0?d[w]+" "+v:q(v,/&\f/g,d[w])))&&(u[p++]=y);return sn(e,t,r,i===0?Wi:a,u,m,g)}function Gu(e,t,r){return sn(e,t,r,Ia,nn(qu()),Zt(e,2,-2),0)}function Jo(e,t,r,n){return sn(e,t,r,Vi,Zt(e,0,n),Zt(e,n+1,-1),n)}function St(e,t){for(var r="",n=Qi(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function Xu(e,t,r,n){switch(e.type){case Lu:if(e.children.length)break;case Ou:case Vi:return e.return=e.return||e.value;case Ia:return"";case Ma:return e.return=e.value+"{"+St(e.children,n)+"}";case Wi:e.value=e.props.join(",")}return Be(r=St(e.children,n))?e.return=e.value+"{"+r+"}":""}function Zu(e){var t=Qi(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 el(e){return function(t){t.root||(t=t.return)&&e(t)}}var tl=function(t,r,n){for(var i=0,o=0;i=o,o=Oe(),i===38&&o===12&&(r[n]=1),!er(o);)ve();return pr(t,me)},rl=function(t,r){var n=-1,i=44;do switch(er(i)){case 0:i===38&&Oe()===12&&(r[n]=1),t[n]+=tl(me-1,r,n);break;case 2:t[n]+=Lr(i);break;case 4:if(i===44){t[++n]=Oe()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=nn(i)}while(i=ve());return t},nl=function(t,r){return Da(rl(Ba(t),r))},Yo=new WeakMap,il=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&&!Yo.get(n))&&!i){Yo.set(t,!0);for(var o=[],s=nl(r,o),a=n.props,u=0,m=0;u<s.length;u++)for(var g=0;g<a.length;g++,m++)t.props[m]=o[u]?s[u].replace(/&\f/g,a[g]):a[g]+" "+s[u]}}},ol=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Oa(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+de+e+e;case 6828:case 4268:return H+e+de+e+e;case 6165:return H+e+de+"flex-"+e+e;case 5187:return H+e+q(e,/(\w+).+(:[^]+)/,H+"box-$1$2"+de+"flex-$1$2")+e;case 5443:return H+e+de+"flex-item-"+q(e,/flex-|-self/,"")+e;case 4675:return H+e+de+"flex-line-pack"+q(e,/align-content|flex-|-self/,"")+e;case 5548:return H+e+de+q(e,"shrink","negative")+e;case 5292:return H+e+de+q(e,"basis","preferred-size")+e;case 6060:return H+"box-"+q(e,"-grow","")+H+e+de+q(e,"grow","positive")+e;case 4554:return H+q(e,/([^-])(transform)/g,"$1"+H+"$2")+e;case 6187:return q(q(q(e,/(zoom-|grab)/,H+"$1"),/(image-set)/,H+"$1"),e,"")+e;case 5495:case 3959:return q(e,/(image-set\([^]*)/,H+"$1$`$1");case 4968:return q(q(e,/(.+:)(flex-)?(.*)/,H+"box-pack:$3"+de+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+H+e+e;case 4095:case 3583:case 4068:case 2532:return q(e,/(.+)-inline(.+)/,H+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Be(e)-1-t>6)switch(ce(e,t+1)){case 109:if(ce(e,t+4)!==45)break;case 102:return q(e,/(.+:)(.+)-([^]+)/,"$1"+H+"$2-$3$1"+qr+(ce(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~oi(e,"stretch")?Oa(q(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ce(e,t+1)!==115)break;case 6444:switch(ce(e,Be(e)-3-(~oi(e,"!important")&&10))){case 107:return q(e,":",":"+H)+e;case 101:return q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+H+(ce(e,14)===45?"inline-":"")+"box$3$1"+H+"$2$3$1"+de+"$2box$3")+e}break;case 5936:switch(ce(e,t+11)){case 114:return H+e+de+q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return H+e+de+q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return H+e+de+q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return H+e+de+e+e}return e}var sl=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case Vi:t.return=Oa(t.value,t.length);break;case Ma:return St([Lt(t,{value:q(t.value,"@","@"+H)})],i);case Wi:if(t.length)return Hu(t.props,function(o){switch(ju(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+)/,de+"input-$1")]})],i)}return""})}},al=[sl],La=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||al,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=[il,ol];{var g,h=[Xu,el(function(f){g.insert(f)})],d=Zu(m.concat(i,h)),c=function(p){return St(Yu(p),d)};u=function(p,w,v,y){g=v,c(p?p+"{"+w.styles+"}":w.styles),y&&(l.inserted[w.name]=!0)}}var l={key:r,sheet:new Du({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},cl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function ul(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 $a={exports:{}},Q={};/** @license React v16.13.1
1
+ var cu=Object.defineProperty,uu=Object.defineProperties;var lu=Object.getOwnPropertyDescriptors;var kr=Object.getOwnPropertySymbols;var To=Object.prototype.hasOwnProperty,Ro=Object.prototype.propertyIsEnumerable;var Dn=(e,t,r)=>t in e?cu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,I=(e,t)=>{for(var r in t||(t={}))To.call(t,r)&&Dn(e,r,t[r]);if(kr)for(var r of kr(t))Ro.call(t,r)&&Dn(e,r,t[r]);return e},$=(e,t)=>uu(e,lu(t));var ot=(e,t)=>{var r={};for(var n in e)To.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&kr)for(var n of kr(e))t.indexOf(n)<0&&Ro.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 dr,D,Vs,ct,Po,Qs,ti,Ks,Yt={},Js=[],du=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,tn=Array.isArray;function Ve(e,t){for(var r in t)e[r]=t[r];return e}function Gs(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?dr.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?++Vs:i,__i:-1,__u:0};return i==null&&D.vnode!=null&&D.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 Ys(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 Ys(e)}}function ri(e){(!e.__d&&(e.__d=!0)&&ct.push(e)&&!zr.__r++||Po!==D.debounceRendering)&&((Po=D.debounceRendering)||Qs)(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=Ve({},i)).__v=i.__v+1,D.vnode&&D.vnode(n),Oi(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,ea(a,n,u),n.__e!=o&&Ys(n)),ct.length>t&&ct.sort(ti));zr.__r=0}function Xs(e,t,r,n,i,o,s,a,u,m,y){var h,d,c,l,f,p=n&&n.__k||Js,w=t.length;for(r.__d=u,fu(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?Yt:p[c.__i]||Yt,c.__i=h,Oi(e,c,d,i,o,s,a,u,m,y),l=c.__e,c.ref&&d.ref!=c.ref&&(d.ref&&Li(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=Zs(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 fu(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=pu(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 Zs(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=Zs(n[i],t,r));return t}return e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function Qe(e,t){return t=t||[],e==null||typeof e=="boolean"||(tn(e)?e.some(function(r){Qe(r,t)}):t.push(e)),t}function pu(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 Io(e,t,r){t[0]==="-"?e.setProperty(t,r==null?"":r):e[t]=r==null?"":typeof r!="number"||du.test(t)?r:r+"px"}function xr(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||Io(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Io(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?Fo:Mo,o)):e.removeEventListener(t,o?Fo:Mo,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 Mo(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 Fo(e){return this.l[e.type+!0](D.event?D.event(e):e)}function Oi(e,t,r,n,i,o,s,a,u,m){var y,h,d,c,l,f,p,w,v,g,b,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=D.__b)&&y(t);e:if(typeof E=="function")try{if(w=t.props,v=(y=E.contextType)&&n[y.__c],g=y?v?v.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=mu),v&&v.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=Ve({},h.__s)),Ve(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)}),b=0;b<h._sb.length;b++)h.__h.push(h._sb[b]);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=D.__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=Ve(Ve({},n),h.getChildContext())),d||h.getSnapshotBeforeUpdate==null||(f=h.getSnapshotBeforeUpdate(c,l)),Xs(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),D.__e(A,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=hu(r.__e,t,r,n,i,o,s,u,m);(y=D.diffed)&&y(t)}function ea(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)Li(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 hu(e,t,r,n,i,o,s,a,u){var m,y,h,d,c,l,f,p=r.props,w=t.props,v=t.type;if(v==="svg"&&(i=!0),o!=null){for(m=0;m<o.length;m++)if((c=o[m])&&"setAttribute"in c==!!v&&(v?c.localName===v:c.nodeType===3)){e=c,o[m]=null;break}}if(e==null){if(v===null)return document.createTextNode(w);e=i?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,w.is&&w),o=null,a=!1}if(v===null)p===w||a&&e.data===w||(e.data=w);else{if(o=o&&dr.call(e.childNodes),p=r.props||Yt,!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||xr(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||xr(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=""),Xs(e,tn(d)?d:[d],t,r,n,i&&v!=="foreignObject",o,s,o?o[0]:r.__k&&xt(r,0),a,u),o!=null)for(m=o.length;m--;)o[m]!=null&&Gs(o[m]);a||(m="value",l!==void 0&&(l!==e[m]||v==="progress"&&!l||v==="option"&&l!==p[m])&&xr(e,m,l,p[m],!1),m="checked",f!==void 0&&f!==e[m]&&xr(e,m,f,p[m],!1))}return e}function Li(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){D.__e(n,r)}}function ni(e,t,r){var n,i;if(D.unmount&&D.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||Li(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]&&ni(n[i],t,r||typeof e.type!="function");r||e.__e==null||Gs(e.__e),e.__=e.__e=e.__d=void 0}function mu(e,t,r){return this.constructor(e,r)}function et(e,t,r){var n,i,o,s;D.__&&D.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],s=[],Oi(t,e=(!n&&r||t).__k=Z(_e,null,[e]),i||Yt,Yt,t.ownerSVGElement!==void 0,!n&&r?[r]:i?null:t.firstChild?dr.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,s),ea(o,e,s)}function $i(e,t){et(e,t,$i)}function Ui(e,t,r){var n,i,o,s,a=Ve({},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?dr.call(arguments,2):r),qt(e.type,a,n||e.key,i||e.ref,null)}function nn(e,t){var r={__c:t="__cC"+Ks++,__: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}dr=Js.slice,D={__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}},Vs=0,Pe.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ve({},this.state),typeof e=="function"&&(e=e(Ve({},r),this.props)),e&&Ve(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=[],Qs=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ti=function(e,t){return e.__v.__b-t.__v.__b},zr.__r=0,Ks=0;var Ge,J,Nn,Do,Et=0,ta=[],Br=[],Bo=D.__b,No=D.__r,Oo=D.diffed,Lo=D.__c,$o=D.unmount;function ht(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:Br}),r.__[e]}function pe(e){return Et=1,zi(ia,e)}function zi(e,t,r){var n=ht(Ge++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):ia(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(Ge++,3);!D.__s&&ji(r.__H,t)&&(r.__=e,r.i=t,J.__H.__h.push(r))}function mt(e,t){var r=ht(Ge++,4);!D.__s&&ji(r.__H,t)&&(r.__=e,r.i=t,J.__h.push(r))}function Ee(e){return Et=5,ce(function(){return{current:e}},[])}function ra(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(Ge++,7);return ji(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(Ge++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(J)),t.props.value):e.__}function jr(e,t){D.useDebugValue&&D.useDebugValue(t?t(e):e)}function gu(e){var t=ht(Ge++,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 na(){var e=ht(Ge++,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 yu(){for(var e;e=ta.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Nr),e.__H.__h.forEach(ii),e.__H.__h=[]}catch(t){e.__H.__h=[],D.__e(t,e.__v)}}D.__b=function(e){J=null,Bo&&Bo(e)},D.__r=function(e){No&&No(e),Ge=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=Br,r.__N=r.i=void 0})):(t.__h.forEach(Nr),t.__h.forEach(ii),t.__h=[],Ge=0)),Nn=J},D.diffed=function(e){Oo&&Oo(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ta.push(t)!==1&&Do===D.requestAnimationFrame||((Do=D.requestAnimationFrame)||wu)(yu)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==Br&&(r.__=r.__V),r.i=void 0,r.__V=Br})),Nn=J=null},D.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Nr),r.__h=r.__h.filter(function(n){return!n.__||ii(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],D.__e(n,r.__v)}}),Lo&&Lo(e,t)},D.unmount=function(e){$o&&$o(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Nr(n)}catch(i){t=i}}),r.__H=void 0,t&&D.__e(t,r.__v))};var Uo=typeof requestAnimationFrame=="function";function wu(e){var t,r=function(){clearTimeout(n),Uo&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);Uo&&(t=requestAnimationFrame(r))}function Nr(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 ji(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function ia(e,t){return typeof t=="function"?t(e):t}function oa(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 sa(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 zo=D.__b;D.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),zo&&zo(e)};var bu=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Hi(e){function t(r){var n=oa({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=bu,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var jo=function(e,t){return e==null?null:Qe(Qe(e).map(t))},aa={map:jo,forEach:jo,count:function(e){return e?Qe(e).length:0},only:function(e){var t=Qe(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Qe},vu=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)}vu(e,t,r,n)};var Ho=D.unmount;function ca(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=oa({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return ca(n,t,r)})),e}function ua(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return ua(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 la(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function da(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}D.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Ho&&Ho(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=la(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]=ua(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]=ca(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 qo=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 _u(e){return this.getChildContext=function(){return e.context},e.children}function Su(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(_u,{context:t.context},e.__v),t.l)}function fa(e,t){var r=Z(Su,{__v:e,i:t});return r.containerInfo=t,r}(vt.prototype=new Pe).__a=function(e){var t=this,r=la(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),qo(t,e,n)):i()};r?r(o):o()}},vt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Qe(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},vt.prototype.componentDidUpdate=vt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){qo(e,r,t)})};var pa=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Cu=/^(?: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]/,ku=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,xu=/[A-Z0-9]/g,Eu=typeof document!="undefined",Au=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function ha(e,t,r){return t.__k==null&&(t.textContent=""),et(e,t),typeof r=="function"&&r(),e?e.__c:null}function ma(e,t,r){return $i(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 Wo=D.event;function Tu(){}function Ru(){return this.cancelBubble}function Pu(){return this.defaultPrevented}D.event=function(e){return Wo&&(e=Wo(e)),e.persist=Tu,e.isPropagationStopped=Ru,e.isDefaultPrevented=Pu,e.nativeEvent=e};var qi,Iu={enumerable:!1,configurable:!0,get:function(){return this.class}},Vo=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 s=r[o];if(!(o==="value"&&"defaultValue"in r&&s==null||Eu&&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"||Au(r.type)?a==="onfocus"?o="onfocusin":a==="onblur"?o="onfocusout":ku.test(o)?o=a:n.indexOf("-")===-1&&Cu.test(o)?o=o.replace(xu,"-$&").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=Qe(r.children).forEach(function(u){u.props.selected=i.value.indexOf(u.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=Qe(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",Iu)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=pa,Vo&&Vo(e)};var Qo=D.__r;D.__r=function(e){Qo&&Qo(e),qi=e.__c};var Ko=D.diffed;D.diffed=function(e){Ko&&Ko(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),qi=null};var ga={ReactCurrentDispatcher:{current:{readContext:function(e){return qi.__n[e.__c].props.value}}}},Mu="17.0.2";function ya(e){return Z.bind(null,e)}function fr(e){return!!e&&e.$$typeof===pa}function wa(e){return fr(e)&&e.type===_e}function ba(e){return fr(e)?Ui.apply(null,arguments):e}function va(e){return!!e.__k&&(et(null,e),!0)}function _a(e){return e&&(e.base||e.nodeType===1&&e)||null}var Sa=function(e,t){return e(t)},Ca=function(e,t){return e(t)},ka=_e;function Wi(e){e()}function xa(e){return e}function Ea(){return[!1,Wi]}var Aa=mt,Ta=fr;function Ra(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 Pa={useState:pe,useId:na,useReducer:zi,useEffect:X,useLayoutEffect:mt,useInsertionEffect:Aa,useTransition:Ea,useDeferredValue:xa,useSyncExternalStore:Ra,startTransition:Wi,useRef:Ee,useImperativeHandle:ra,useMemo:ce,useCallback:bt,useContext:Ft,useDebugValue:jr,version:"17.0.2",Children:aa,render:ha,hydrate:ma,unmountComponentAtNode:va,createPortal:fa,createElement:Z,createContext:nn,createFactory:ya,cloneElement:ba,createRef:rn,Fragment:_e,isValidElement:fr,isElement:Ta,isFragment:wa,findDOMNode:_a,Component:Pe,PureComponent:Hr,memo:sa,forwardRef:Hi,flushSync:Ca,unstable_batchedUpdates:Sa,StrictMode:ka,Suspense:Wt,SuspenseList:vt,lazy:da,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ga};const Xt=Object.freeze(Object.defineProperty({__proto__:null,Children:aa,Component:Pe,Fragment:_e,PureComponent:Hr,StrictMode:ka,Suspense:Wt,SuspenseList:vt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ga,cloneElement:ba,createContext:nn,createElement:Z,createFactory:ya,createPortal:fa,createRef:rn,default:Pa,findDOMNode:_a,flushSync:Ca,forwardRef:Hi,hydrate:ma,isElement:Ta,isFragment:wa,isValidElement:fr,lazy:da,memo:sa,render:ha,startTransition:Wi,unmountComponentAtNode:va,unstable_batchedUpdates:Sa,useCallback:bt,useContext:Ft,useDebugValue:jr,useDeferredValue:xa,useEffect:X,useErrorBoundary:gu,useId:na,useImperativeHandle:ra,useInsertionEffect:Aa,useLayoutEffect:mt,useMemo:ce,useReducer:zi,useRef:Ee,useState:pe,useSyncExternalStore:Ra,useTransition:Ea,version:Mu},Symbol.toStringTag,{value:"Module"}));function Ia(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Fu=/^((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)-.*))$/,Du=Ia(function(e){return Fu.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Bu(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 Nu(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 Ou=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(Nu(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Bu(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-",q="-webkit-",Ma="comm",Vi="rule",Qi="decl",Lu="@import",Fa="@keyframes",$u="@layer",Uu=Math.abs,on=String.fromCharCode,zu=Object.assign;function ju(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 Da(e){return e.trim()}function Hu(e,t){return(e=t.exec(e))?e[0]:e}function W(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 Zt(e,t,r){return e.slice(t,r)}function Be(e){return e.length}function Ki(e){return e.length}function Er(e,t){return t.push(e),e}function qu(e,t){return e.map(t).join("")}var sn=1,At=1,Ba=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 zu(an("",null,null,"",null,null,0),e,{length:-e.length},t)}function Wu(){return te}function Vu(){return te=ge>0?ue(Dt,--ge):0,At--,te===10&&(At=1,sn--),te}function ve(){return te=ge<Ba?ue(Dt,ge++):0,At++,te===10&&(At=1,sn++),te}function Oe(){return ue(Dt,ge)}function Or(){return ge}function pr(e,t){return Zt(Dt,e,t)}function er(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 Na(e){return sn=At=1,Ba=Be(Dt=e),ge=0,[]}function Oa(e){return Dt="",e}function Lr(e){return Da(pr(ge-1,ai(e===91?e+2:e===40?e+1:e)))}function Qu(e){for(;(te=Oe())&&te<33;)ve();return er(e)>2||er(te)>3?"":" "}function Ku(e,t){for(;--t&&ve()&&!(te<48||te>102||te>57&&te<65||te>70&&te<97););return pr(e,Or()+(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 Ju(e,t){for(;ve()&&e+te!==57;)if(e+te===84&&Oe()===47)break;return"/*"+pr(t,ge-1)+"*"+on(e===47?e:ve())}function Gu(e){for(;!er(Oe());)ve();return pr(e,ge)}function Yu(e){return Oa($r("",null,null,null,[""],e=Na(e),0,[0],e))}function $r(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,v=0,g="",b=i,S=o,k=n,C=g;p;)switch(l=v,v=ve()){case 40:if(l!=108&&ue(C,h-1)==58){si(C+=W(Lr(v),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:C+=Lr(v);break;case 9:case 10:case 13:case 32:C+=Qu(l);break;case 92:C+=Ku(Or()-1,7);continue;case 47:switch(Oe()){case 42:case 47:Er(Xu(Ju(ve(),Or()),t,r),u);break;default:C+="/"}break;case 123*f:a[m++]=Be(C)*w;case 125*f:case 59:case 0:switch(v){case 0:case 125:p=0;case 59+y:w==-1&&(C=W(C,/\f/g,"")),c>0&&Be(C)-h&&Er(c>32?Go(C+";",n,r,h-1):Go(W(C," ","")+";",n,r,h-2),u);break;case 59:C+=";";default:if(Er(k=Jo(C,t,r,m,y,i,a,g,b=[],S=[],h),o),v===123)if(y===0)$r(C,t,k,k,b,o,h,a,S);else switch(d===99&&ue(C,3)===110?100:d){case 100:case 108:case 109:case 115:$r(e,k,k,n&&Er(Jo(e,k,k,0,0,i,a,g,i,b=[],h),S),i,S,h,a,n?b:S);break;default:$r(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(v==123)--f;else if(v==125&&f++==0&&Vu()==125)continue}switch(C+=on(v),v*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+=Lr(ve())),d=Oe(),y=h=Be(g=C+=Gu(Or())),v++;break;case 45:l===45&&Be(C)==2&&(f=0)}}return o}function Jo(e,t,r,n,i,o,s,a,u,m,y){for(var h=i-1,d=i===0?o:[""],c=Ki(d),l=0,f=0,p=0;l<n;++l)for(var w=0,v=Zt(e,h+1,h=Uu(f=s[l])),g=e;w<c;++w)(g=Da(f>0?d[w]+" "+v:W(v,/&\f/g,d[w])))&&(u[p++]=g);return an(e,t,r,i===0?Vi:a,u,m,y)}function Xu(e,t,r){return an(e,t,r,Ma,on(Wu()),Zt(e,2,-2),0)}function Go(e,t,r,n){return an(e,t,r,Qi,Zt(e,0,n),Zt(e,n+1,-1),n)}function St(e,t){for(var r="",n=Ki(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function Zu(e,t,r,n){switch(e.type){case $u:if(e.children.length)break;case Lu:case Qi:return e.return=e.return||e.value;case Ma:return"";case Fa:return e.return=e.value+"{"+St(e.children,n)+"}";case Vi:e.value=e.props.join(",")}return Be(r=St(e.children,n))?e.return=e.value+"{"+r+"}":""}function el(e){var t=Ki(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 tl(e){return function(t){t.root||(t=t.return)&&e(t)}}var rl=function(t,r,n){for(var i=0,o=0;i=o,o=Oe(),i===38&&o===12&&(r[n]=1),!er(o);)ve();return pr(t,ge)},nl=function(t,r){var n=-1,i=44;do switch(er(i)){case 0:i===38&&Oe()===12&&(r[n]=1),t[n]+=rl(ge-1,r,n);break;case 2:t[n]+=Lr(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},il=function(t,r){return Oa(nl(Na(t),r))},Yo=new WeakMap,ol=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&&!Yo.get(n))&&!i){Yo.set(t,!0);for(var o=[],s=il(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]}}},sl=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function La(e,t){switch(ju(e,t)){case 5103:return q+"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 q+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return q+e+qr+e+fe+e+e;case 6828:case 4268:return q+e+fe+e+e;case 6165:return q+e+fe+"flex-"+e+e;case 5187:return q+e+W(e,/(\w+).+(:[^]+)/,q+"box-$1$2"+fe+"flex-$1$2")+e;case 5443:return q+e+fe+"flex-item-"+W(e,/flex-|-self/,"")+e;case 4675:return q+e+fe+"flex-line-pack"+W(e,/align-content|flex-|-self/,"")+e;case 5548:return q+e+fe+W(e,"shrink","negative")+e;case 5292:return q+e+fe+W(e,"basis","preferred-size")+e;case 6060:return q+"box-"+W(e,"-grow","")+q+e+fe+W(e,"grow","positive")+e;case 4554:return q+W(e,/([^-])(transform)/g,"$1"+q+"$2")+e;case 6187:return W(W(W(e,/(zoom-|grab)/,q+"$1"),/(image-set)/,q+"$1"),e,"")+e;case 5495:case 3959:return W(e,/(image-set\([^]*)/,q+"$1$`$1");case 4968:return W(W(e,/(.+:)(flex-)?(.*)/,q+"box-pack:$3"+fe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+q+e+e;case 4095:case 3583:case 4068:case 2532:return W(e,/(.+)-inline(.+)/,q+"$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 W(e,/(.+:)(.+)-([^]+)/,"$1"+q+"$2-$3$1"+qr+(ue(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~si(e,"stretch")?La(W(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 W(e,":",":"+q)+e;case 101:return W(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+q+(ue(e,14)===45?"inline-":"")+"box$3$1"+q+"$2$3$1"+fe+"$2box$3")+e}break;case 5936:switch(ue(e,t+11)){case 114:return q+e+fe+W(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return q+e+fe+W(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return q+e+fe+W(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return q+e+fe+e+e}return e}var al=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case Qi:t.return=La(t.value,t.length);break;case Fa:return St([Lt(t,{value:W(t.value,"@","@"+q)})],i);case Vi:if(t.length)return qu(t.props,function(o){switch(Hu(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return St([Lt(t,{props:[W(o,/:(read-\w+)/,":"+qr+"$1")]})],i);case"::placeholder":return St([Lt(t,{props:[W(o,/:(plac\w+)/,":"+q+"input-$1")]}),Lt(t,{props:[W(o,/:(plac\w+)/,":"+qr+"$1")]}),Lt(t,{props:[W(o,/:(plac\w+)/,fe+"input-$1")]})],i)}return""})}},cl=[al],$a=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||cl,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=[ol,sl];{var y,h=[Zu,tl(function(f){y.insert(f)})],d=el(m.concat(i,h)),c=function(p){return St(Yu(p),d)};u=function(p,w,v,g){y=v,c(p?p+"{"+w.styles+"}":w.styles),g&&(l.inserted[w.name]=!0)}}var l={key:r,sheet:new Ou({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},ul=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function ll(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 Ua={exports:{}},K={};/** @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 oe=typeof Symbol=="function"&&Symbol.for,Ki=oe?Symbol.for("react.element"):60103,Ji=oe?Symbol.for("react.portal"):60106,an=oe?Symbol.for("react.fragment"):60107,cn=oe?Symbol.for("react.strict_mode"):60108,un=oe?Symbol.for("react.profiler"):60114,ln=oe?Symbol.for("react.provider"):60109,dn=oe?Symbol.for("react.context"):60110,Yi=oe?Symbol.for("react.async_mode"):60111,fn=oe?Symbol.for("react.concurrent_mode"):60111,pn=oe?Symbol.for("react.forward_ref"):60112,hn=oe?Symbol.for("react.suspense"):60113,ll=oe?Symbol.for("react.suspense_list"):60120,mn=oe?Symbol.for("react.memo"):60115,gn=oe?Symbol.for("react.lazy"):60116,dl=oe?Symbol.for("react.block"):60121,fl=oe?Symbol.for("react.fundamental"):60117,pl=oe?Symbol.for("react.responder"):60118,hl=oe?Symbol.for("react.scope"):60119;function Ce(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Ki:switch(e=e.type,e){case Yi:case fn:case an:case un:case cn:case hn:return e;default:switch(e=e&&e.$$typeof,e){case dn:case pn:case gn:case mn:case ln:return e;default:return t}}case Ji:return t}}}function Ua(e){return Ce(e)===fn}Q.AsyncMode=Yi;Q.ConcurrentMode=fn;Q.ContextConsumer=dn;Q.ContextProvider=ln;Q.Element=Ki;Q.ForwardRef=pn;Q.Fragment=an;Q.Lazy=gn;Q.Memo=mn;Q.Portal=Ji;Q.Profiler=un;Q.StrictMode=cn;Q.Suspense=hn;Q.isAsyncMode=function(e){return Ua(e)||Ce(e)===Yi};Q.isConcurrentMode=Ua;Q.isContextConsumer=function(e){return Ce(e)===dn};Q.isContextProvider=function(e){return Ce(e)===ln};Q.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ki};Q.isForwardRef=function(e){return Ce(e)===pn};Q.isFragment=function(e){return Ce(e)===an};Q.isLazy=function(e){return Ce(e)===gn};Q.isMemo=function(e){return Ce(e)===mn};Q.isPortal=function(e){return Ce(e)===Ji};Q.isProfiler=function(e){return Ce(e)===un};Q.isStrictMode=function(e){return Ce(e)===cn};Q.isSuspense=function(e){return Ce(e)===hn};Q.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===an||e===fn||e===un||e===cn||e===hn||e===ll||typeof e=="object"&&e!==null&&(e.$$typeof===gn||e.$$typeof===mn||e.$$typeof===ln||e.$$typeof===dn||e.$$typeof===pn||e.$$typeof===fl||e.$$typeof===pl||e.$$typeof===hl||e.$$typeof===dl)};Q.typeOf=Ce;$a.exports=Q;var ml=$a.exports,za=ml,gl={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},yl={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ja={};ja[za.ForwardRef]=gl;ja[za.Memo]=yl;var wl=!0;function Ha(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var Gi=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||wl===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Xi=function(t,r,n){Gi(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 bl(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 vl={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},_l=/[A-Z]|^ms/g,Sl=/_EMO_([^_]+?)_([^]*?)_EMO_/g,qa=function(t){return t.charCodeAt(1)===45},Go=function(t){return t!=null&&typeof t!="boolean"},On=Pa(function(e){return qa(e)?e:e.replace(_l,"-$&").toLowerCase()}),Xo=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Sl,function(n,i,o){return De={name:i,styles:o,next:De},i})}return vl[t]!==1&&!qa(t)&&typeof r=="number"&&r!==0?r+"px":r};function tr(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return De={name:r.name,styles:r.styles,next:De},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)De={name:n.name,styles:n.styles,next:De},n=n.next;var i=r.styles+";";return i}return Cl(e,t,r)}case"function":{if(e!==void 0){var o=De,s=r(e);return De=o,tr(e,t,s)}break}}if(t==null)return r;var a=t[r];return a!==void 0?a:r}function Cl(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=tr(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]+"}":Go(s)&&(n+=On(o)+":"+Xo(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++)Go(s[a])&&(n+=On(o)+":"+Xo(o,s[a])+";");else{var u=tr(e,t,s);switch(o){case"animation":case"animationName":{n+=On(o)+":"+u+";";break}default:n+=o+"{"+u+"}"}}}return n}var Zo=/label:\s*([^\s;\n{]+)\s*(;|$)/g,De,yn=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,o="";De=void 0;var s=t[0];s==null||s.raw===void 0?(i=!1,o+=tr(n,r,s)):o+=s[0];for(var a=1;a<t.length;a++)o+=tr(n,r,t[a]),i&&(o+=s[a]);Zo.lastIndex=0;for(var u="",m;(m=Zo.exec(o))!==null;)u+="-"+m[1];var g=bl(o)+u;return{name:g,styles:o,next:De}},kl=function(t){return t()},Wa=Xt.useInsertionEffect?Xt.useInsertionEffect:!1,Va=Wa||kl,es=Wa||mt,wn={}.hasOwnProperty,Qa=rn(typeof HTMLElement!="undefined"?La({key:"css"}):null),El=Qa.Provider,Zi=function(t){return ji(function(r,n){var i=Ft(Qa);return t(r,i,n)})},eo=rn({}),ai="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ka=function(t,r){var n={};for(var i in r)wn.call(r,i)&&(n[i]=r[i]);return n[ai]=t,n},xl=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Gi(r,n,i),Va(function(){return Xi(r,n,i)}),null},Al=Zi(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[ai],o=[n],s="";typeof e.className=="string"?s=Ha(t.registered,o,e.className):e.className!=null&&(s=e.className+" ");var a=yn(o,void 0,Ft(eo));s+=t.key+"-"+a.name;var u={};for(var m in e)wn.call(e,m)&&m!=="css"&&m!==ai&&(u[m]=e[m]);return u.ref=r,u.className=s,X(_e,null,X(xl,{cache:t,serialized:a,isStringTag:typeof i=="string"}),X(i,u))}),Ja=Al,Tl=Zi(function(e,t){var r=e.styles,n=yn([r],void 0,Ft(eo)),i=xe();return es(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]),es(function(){var o=i.current,s=o[0],a=o[1];if(a){o[1]=!1;return}if(n.next!==void 0&&Xi(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 Rl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return yn(t)}var Pl=Fu,Il=function(t){return t!=="theme"},ts=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Pl:Il},rs=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},Ml=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Gi(r,n,i),Va(function(){return Xi(r,n,i)}),null},Fl=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=rs(t,r,n),u=a||ts(i),m=!u("as");return function(){var g=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&h.push("label:"+o+";"),g[0]==null||g[0].raw===void 0)h.push.apply(h,g);else{h.push(g[0][0]);for(var d=g.length,c=1;c<d;c++)h.push(g[c],g[0][c])}var l=Zi(function(f,p,w){var v=m&&f.as||i,y="",b=[],S=f;if(f.theme==null){S={};for(var k in f)S[k]=f[k];S.theme=Ft(eo)}typeof f.className=="string"?y=Ha(p.registered,b,f.className):f.className!=null&&(y=f.className+" ");var C=yn(h.concat(b),p.registered,S);y+=p.key+"-"+C.name,s!==void 0&&(y+=" "+s);var E=m&&a===void 0?ts(v):u,x={};for(var A in f)m&&A==="as"||E(A)&&(x[A]=f[A]);return x.className=y,x.ref=w,X(_e,null,X(Ml,{cache:p,serialized:C,isStringTag:typeof v=="string"}),X(v,x))});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,Zn({},r,p,{shouldForwardProp:rs(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=Fl.bind();Nl.forEach(function(e){J[e]=J(e)});function se(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Bl=typeof Symbol=="function"&&Symbol.observable||"@@observable",ns=Bl,Ln=()=>Math.random().toString(36).substring(7).split("").join("."),Dl={INIT:`@@redux/INIT${Ln()}`,REPLACE:`@@redux/REPLACE${Ln()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Ln()}`},Wr=Dl;function Ue(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Ya(e,t,r){if(typeof e!="function")throw new Error(se(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(se(0));if(typeof t=="function"&&typeof r=="undefined"&&(r=t,t=void 0),typeof r!="undefined"){if(typeof r!="function")throw new Error(se(1));return r(Ya)(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 g(){if(u)throw new Error(se(3));return i}function h(p){if(typeof p!="function")throw new Error(se(4));if(u)throw new Error(se(5));let w=!0;m();const v=a++;return s.set(v,p),function(){if(w){if(u)throw new Error(se(6));w=!1,m(),s.delete(v),o=null}}}function d(p){if(!Ue(p))throw new Error(se(7));if(typeof p.type=="undefined")throw new Error(se(8));if(typeof p.type!="string")throw new Error(se(17));if(u)throw new Error(se(9));try{u=!0,i=n(i,p)}finally{u=!1}return(o=s).forEach(v=>{v()}),p}function c(p){if(typeof p!="function")throw new Error(se(10));n=p,d({type:Wr.REPLACE})}function l(){const p=h;return{subscribe(w){if(typeof w!="object"||w===null)throw new Error(se(11));function v(){const b=w;b.next&&b.next(g())}return v(),{unsubscribe:p(v)}},[ns](){return this}}}return d({type:Wr.INIT}),{dispatch:d,subscribe:h,getState:g,replaceReducer:c,[ns]:l}}function Ol(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:Wr.INIT})=="undefined")throw new Error(se(12));if(typeof r(void 0,{type:Wr.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(se(13))})}function Ga(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{Ol(r)}catch(o){i=o}return function(s={},a){if(i)throw i;let u=!1;const m={};for(let g=0;g<n.length;g++){const h=n[g],d=r[h],c=s[h],l=d(c,a);if(typeof l=="undefined")throw a&&a.type,new Error(se(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 Ll(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(se(15))};const s={getState:i.getState,dispatch:(u,...m)=>o(u,...m)},a=e.map(u=>u(s));return o=Vr(...a)(i.dispatch),$(I({},i),{dispatch:o})}}function Xa(e){return Ue(e)&&"type"in e&&typeof e.type=="string"}var to=Symbol.for("immer-nothing"),Vt=Symbol.for("immer-draftable"),ge=Symbol.for("immer-state");function ue(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var dt=Object.getPrototypeOf;function Ie(e){return!!e&&!!e[ge]}function Me(e){var t;return e?Za(e)||Array.isArray(e)||!!e[Vt]||!!((t=e.constructor)!=null&&t[Vt])||hr(e)||mr(e):!1}var $l=Object.prototype.constructor.toString();function Za(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)===$l}function Ul(e){return Ie(e)||ue(15,e),e[ge].base_}function rr(e,t){ft(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function ft(e){const t=e[ge];return t?t.type_:Array.isArray(e)?1:hr(e)?2:mr(e)?3:0}function nr(e,t){return ft(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function $n(e,t){return ft(e)===2?e.get(t):e[t]}function ec(e,t,r){const n=ft(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function zl(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function hr(e){return e instanceof Map}function mr(e){return e instanceof Set}function at(e){return e.copy_||e.base_}function ci(e,t){if(hr(e))return new Map(e);if(mr(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&Za(e))return dt(e)?I({},e):Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[ge];let n=Reflect.ownKeys(r);for(let i=0;i<n.length;i++){const o=n[i],s=r[o];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(r[o]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[o]})}return Object.create(dt(e),r)}function ro(e,t=!1){return bn(e)||Ie(e)||!Me(e)||(ft(e)>1&&(e.set=e.add=e.clear=e.delete=jl),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>ro(n,!0))),e}function jl(){ue(2)}function bn(e){return Object.isFrozen(e)}var ui={};function pt(e){const t=ui[e];return t||ue(0,e),t}function Hl(e,t){ui[e]||(ui[e]=t)}var ir;function tc(){return ir}function ql(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function is(e,t){t&&(pt("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function li(e){di(e),e.drafts_.forEach(Wl),e.drafts_=null}function di(e){e===ir&&(ir=e.parent_)}function os(e){return ir=ql(ir,e)}function Wl(e){const t=e[ge];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function ss(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[ge].modified_&&(li(t),ue(4)),Me(e)&&(e=Qr(t,e),t.parent_||Kr(t,e)),t.patches_&&pt("Patches").generateReplacementPatches_(r[ge].base_,e,t.patches_,t.inversePatches_)):e=Qr(t,r,[]),li(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==to?e:void 0}function Qr(e,t,r){if(bn(t))return t;const n=t[ge];if(!n)return rr(t,(i,o)=>as(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return Kr(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),rr(o,(a,u)=>as(e,n,i,a,u,r,s)),Kr(e,i,!1),r&&e.patches_&&pt("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function as(e,t,r,n,i,o,s){if(Ie(i)){const a=o&&t&&t.type_!==3&&!nr(t.assigned_,n)?o.concat(n):void 0,u=Qr(e,i,a);if(ec(r,n,u),Ie(u))e.canAutoFreeze_=!1;else return}else s&&r.add(i);if(Me(i)&&!bn(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)&&Kr(e,i)}}function Kr(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&ro(t,r)}function Vl(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:tc(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=no;r&&(i=[n],o=or);const{revoke:s,proxy:a}=Proxy.revocable(i,o);return n.draft_=a,n.revoke_=s,a}var no={get(e,t){if(t===ge)return e;const r=at(e);if(!nr(r,t))return Ql(e,r,t);const n=r[t];return e.finalized_||!Me(n)?n:n===Un(e.base_,t)?(zn(e),e.copy_[t]=pi(n,e)):n},has(e,t){return t in at(e)},ownKeys(e){return Reflect.ownKeys(at(e))},set(e,t,r){const n=rc(at(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=Un(at(e),t),o=i==null?void 0:i[ge];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(zl(r,i)&&(r!==void 0||nr(e.base_,t)))return!0;zn(e),fi(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 Un(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,zn(e),fi(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=at(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){ue(11)},getPrototypeOf(e){return dt(e.base_)},setPrototypeOf(){ue(12)}},or={};rr(no,(e,t)=>{or[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});or.deleteProperty=function(e,t){return or.set.call(this,e,t,void 0)};or.set=function(e,t,r){return no.set.call(this,e[0],t,r,e[0])};function Un(e,t){const r=e[ge];return(r?at(r):e)[t]}function Ql(e,t,r){var i;const n=rc(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function rc(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 fi(e){e.modified_||(e.modified_=!0,e.parent_&&fi(e.parent_))}function zn(e){e.copy_||(e.copy_=ci(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Kl=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,g=>r.call(this,g,...m))}}typeof r!="function"&&ue(6),n!==void 0&&typeof n!="function"&&ue(7);let i;if(Me(t)){const o=os(this),s=pi(t,void 0);let a=!0;try{i=r(s),a=!1}finally{a?li(o):di(o)}return is(o,n),ss(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===to&&(i=void 0),this.autoFreeze_&&ro(i,!0),n){const o=[],s=[];pt("Patches").generateReplacementPatches_(t,i,o,s),n(o,s)}return i}else ue(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(s,...a)=>this.produceWithPatches(s,u=>t(u,...a));let n,i;return[this.produce(t,r,(s,a)=>{n=s,i=a}),n,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Me(e)||ue(8),Ie(e)&&(e=nc(e));const t=os(this),r=pi(e,void 0);return r[ge].isManual_=!0,di(t),r}finishDraft(e,t){const r=e&&e[ge];(!r||!r.isManual_)&&ue(9);const{scope_:n}=r;return is(n,t),ss(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 pi(e,t){const r=hr(e)?pt("MapSet").proxyMap_(e,t):mr(e)?pt("MapSet").proxySet_(e,t):Vl(e,t);return(t?t.scope_:tc()).drafts_.push(r),r}function nc(e){return Ie(e)||ue(10,e),ic(e)}function ic(e){if(!Me(e)||bn(e))return e;const t=e[ge];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=ci(e,t.scope_.immer_.useStrictShallowCopy_)}else r=ci(e,!0);return rr(r,(n,i)=>{ec(r,n,ic(i))}),t&&(t.finalized_=!1),r}function Jl(){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,v=d.copy_;v.length<p.length&&([p,v]=[v,p],[l,f]=[f,l]);for(let y=0;y<p.length;y++)if(w[y]&&v[y]!==p[y]){const b=c.concat([y]);l.push({op:t,path:b,value:h(v[y])}),f.push({op:t,path:b,value:h(p[y])})}for(let y=p.length;y<v.length;y++){const b=c.concat([y]);l.push({op:r,path:b,value:h(v[y])})}for(let y=v.length-1;p.length<=y;--y){const b=c.concat([y]);f.push({op:n,path:b})}}function s(d,c,l,f){const{base_:p,copy_:w}=d;rr(d.assigned_,(v,y)=>{const b=$n(p,v),S=$n(w,v),k=y?nr(p,v)?t:r:n;if(b===S&&k===t)return;const C=c.concat(v);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(b)}:{op:t,path:C,value:h(b)})})}function a(d,c,l,f){let{base_:p,copy_:w}=d,v=0;p.forEach(y=>{if(!w.has(y)){const b=c.concat([v]);l.push({op:n,path:b,value:y}),f.unshift({op:r,path:b,value:y})}v++}),v=0,w.forEach(y=>{if(!p.has(y)){const b=c.concat([v]);l.push({op:r,path:b,value:y}),f.unshift({op:n,path:b,value:y})}v++})}function u(d,c,l,f){l.push({op:t,path:[],value:c===to?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")&&ue(19),typeof w=="function"&&C==="prototype"&&ue(19),w=$n(w,C),typeof w!="object"&&ue(18,f.join("/"))}const v=ft(w),y=g(l.value),b=f[f.length-1];switch(p){case t:switch(v){case 2:return w.set(b,y);case 3:ue(16);default:return w[b]=y}case r:switch(v){case 1:return b==="-"?w.push(y):w.splice(b,0,y);case 2:return w.set(b,y);case 3:return w.add(y);default:return w[b]=y}case n:switch(v){case 1:return w.splice(b,1);case 2:return w.delete(b);case 3:return w.delete(l.value);default:return delete w[b]}default:ue(17,p)}}),d}function g(d){if(!Me(d))return d;if(Array.isArray(d))return d.map(g);if(hr(d))return new Map(Array.from(d.entries()).map(([l,f])=>[l,g(f)]));if(mr(d))return new Set(Array.from(d).map(g));const c=Object.create(dt(d));for(const l in d)c[l]=g(d[l]);return nr(d,Vt)&&(c[Vt]=d[Vt]),c}function h(d){return Ie(d)?g(d):d}Hl("Patches",{applyPatches_:m,generatePatches_:i,generateReplacementPatches_:u})}var Se=new Kl,gr=Se.produce,oc=Se.produceWithPatches.bind(Se);Se.setAutoFreeze.bind(Se);Se.setUseStrictShallowCopy.bind(Se);var cs=Se.applyPatches.bind(Se);Se.createDraft.bind(Se);Se.finishDraft.bind(Se);function Yl(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function Gl(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function Xl(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 us=e=>Array.isArray(e)?e:[e];function Zl(e){const t=Array.isArray(e[0])?e[0]:e;return Xl(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function ed(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var td=class{constructor(e){this.value=e}deref(){return this.value}},rd=typeof WeakRef!="undefined"?WeakRef:td,nd=0,ls=1;function Ar(){return{s:nd,v:void 0,o:null,p:null}}function sr(e,t={}){let r=Ar();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=Ar(),p.set(f,a)):a=w}else{let p=a.p;p===null&&(a.p=p=new Map);const w=p.get(f);w===void 0?(a=Ar(),p.set(f,a)):a=w}}const m=a;let g;if(a.s===ls?g=a.v:(g=e.apply(null,arguments),o++),m.s=ls,n){const c=(d=(h=i==null?void 0:i.deref)==null?void 0:h.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 rd(g):g}return m.v=g,g}return s.clearCache=()=>{r=Ar(),s.resetResultsCount()},s.resultsCount=()=>o,s.resetResultsCount=()=>{o=0},s}function sc(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()),Yl(m,`createSelector expects an output function after the inputs, but received: [${typeof m}]`);const g=I(I({},r),u),{memoize:h,memoizeOptions:d=[],argsMemoize:c=sr,argsMemoizeOptions:l=[],devModeChecks:f={}}=g,p=us(d),w=us(l),v=Zl(i),y=h(function(){return o++,m.apply(null,arguments)},...p),b=c(function(){s++;const k=ed(v,arguments);return a=y.apply(null,k),a},...w);return Object.assign(b,{resultFunc:m,memoizedResultFunc:y,dependencies:v,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=sc(sr),id=Object.assign((e,t=Ct)=>{Gl(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:()=>id});function ac(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var od=ac(),sd=ac,ad=(...e)=>{const t=sc(...e);return(...r)=>{const n=t(...r),i=(o,...s)=>n(Ie(o)?nc(o):o,...s);return Object.assign(i,n),i}};ad(sr);var cd=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)},ud=e=>e&&typeof e.match=="function";function he(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(Ae(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=>Xa(n)&&n.type===e,r}var cc=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 ds(e){return Me(e)?gr(e,()=>{}):e}function fs(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 ld(e){return typeof e=="boolean"}var dd=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t!=null?t:{};let s=new cc;return r&&(ld(r)?s.push(od):s.push(sd(r.extraArgument))),s},_t="RTK_autoBatch",$t=()=>e=>({payload:e,meta:{[_t]:!0}}),uc=e=>t=>{setTimeout(t,e)},fd=typeof window!="undefined"&&window.requestAnimationFrame?window.requestAnimationFrame:uc(10),pd=(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"?fd:e.type==="callback"?e.queueNotification:uc(e.timeout),m=()=>{s=!1,o&&(o=!1,a.forEach(g=>g()))};return Object.assign({},n,{subscribe(g){const h=()=>i&&g(),d=n.subscribe(h);return a.add(g),()=>{d(),a.delete(g)}},dispatch(g){var h;try{return i=!((h=g==null?void 0:g.meta)!=null&&h[_t]),o=!i,o&&(s||(s=!0,u(m))),n.dispatch(g)}finally{i=!0}}})},hd=e=>function(r){const{autoBatch:n=!0}=r!=null?r:{};let i=new cc(e);return n&&i.push(pd(typeof n=="object"?n:void 0)),i},md=!0;function gd(e){const t=dd(),{reducer:r=void 0,middleware:n,devTools:i=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{};let a;if(typeof r=="function")a=r;else if(Ue(r))a=Ga(r);else throw new Error(Ae(1));let u;typeof n=="function"?u=n(t):u=t();let m=Vr;i&&(m=cd(I({trace:!md},typeof i=="object"&&i)));const g=Ll(...u),h=hd(g);let d=typeof s=="function"?s(h):h();const c=m(...d);return Ya(a,o,c)}function lc(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 yd(e){return typeof e=="function"}function wd(e,t){let[r,n,i]=lc(t),o;if(yd(e))o=()=>ds(e());else{const a=ds(e);o=()=>a}function s(a=o(),u){let m=[r[u.type],...n.filter(({matcher:g})=>g(u)).map(({reducer:g})=>g)];return m.filter(g=>!!g).length===0&&(m=[i]),m.reduce((g,h)=>{if(h)if(Ie(g)){const c=h(g,u);return c===void 0?g:c}else{if(Me(g))return gr(g,d=>h(d,u));{const d=h(g,u);if(d===void 0){if(g===null)return g;throw new Error(Ae(9))}return d}}return g},a)}return s.getInitialState=o,s}var bd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",dc=(e=21)=>{let t="",r=e;for(;r--;)t+=bd[Math.random()*64|0];return t},fc=(e,t)=>ud(e)?e.match(t):e(t);function tt(...e){return t=>e.some(r=>fc(r,t))}function Qt(...e){return t=>e.every(r=>fc(r,t))}function vn(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 yr(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function io(...e){return e.length===0?t=>vn(t,["pending"]):yr(e)?t=>{const r=e.map(i=>i.pending);return tt(...r)(t)}:io()(e[0])}function Tt(...e){return e.length===0?t=>vn(t,["rejected"]):yr(e)?t=>{const r=e.map(i=>i.rejected);return tt(...r)(t)}:Tt()(e[0])}function _n(...e){const t=r=>r&&r.meta&&r.meta.rejectedWithValue;return e.length===0?r=>Qt(Tt(...e),t)(r):yr(e)?r=>Qt(Tt(...e),t)(r):_n()(e[0])}function rt(...e){return e.length===0?t=>vn(t,["fulfilled"]):yr(e)?t=>{const r=e.map(i=>i.fulfilled);return tt(...r)(t)}:rt()(e[0])}function hi(...e){return e.length===0?t=>vn(t,["pending","fulfilled","rejected"]):yr(e)?t=>{const r=[];for(const i of e)r.push(i.pending,i.rejected,i.fulfilled);return tt(...r)(t)}:hi()(e[0])}var vd=["name","message","stack","code"],jn=class{constructor(e,t){Nn(this,"_type");this.payload=e,this.meta=t}},ps=class{constructor(e,t){Nn(this,"_type");this.payload=e,this.meta=t}},_d=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of vd)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},hs=(()=>{function e(t,r,n){const i=he(t+"/fulfilled",(u,m,g,h)=>({payload:u,meta:$(I({},h||{}),{arg:g,requestId:m,requestStatus:"fulfilled"})})),o=he(t+"/pending",(u,m,g)=>({payload:void 0,meta:$(I({},g||{}),{arg:m,requestId:u,requestStatus:"pending"})})),s=he(t+"/rejected",(u,m,g,h,d)=>({payload:h,error:(n&&n.serializeError||_d)(u||"Rejected"),meta:$(I({},d||{}),{arg:g,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,g,h)=>{const d=n!=null&&n.idGenerator?n.idGenerator(u):dc(),c=new AbortController;let l;function f(w){l=w,c.abort()}const p=function(){return pe(this,null,function*(){var y,b;let w;try{let S=(y=n==null?void 0:n.condition)==null?void 0:y.call(n,u,{getState:g,extra:h});if(Cd(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,E)=>c.signal.addEventListener("abort",()=>E({name:"AbortError",message:l||"Aborted"})));m(o(d,u,(b=n==null?void 0:n.getPendingMeta)==null?void 0:b.call(n,{requestId:d,arg:u},{getState:g,extra:h}))),w=yield Promise.race([k,Promise.resolve(r(u,{dispatch:m,getState:g,extra:h,requestId:d,signal:c.signal,abort:f,rejectWithValue:(C,E)=>new jn(C,E),fulfillWithValue:(C,E)=>new ps(C,E)})).then(C=>{if(C instanceof jn)throw C;return C instanceof ps?i(C.payload,d,u,C.meta):i(C,d,u)})])}catch(S){w=S instanceof jn?s(null,d,u,S.payload,S.meta):s(S,d,u)}return n&&!n.dispatchConditionRejection&&s.match(w)&&w.meta.condition||m(w),w})}();return Object.assign(p,{abort:f,requestId:d,arg:u,unwrap(){return p.then(Sd)}})}}return Object.assign(a,{pending:o,rejected:s,fulfilled:i,settled:tt(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function Sd(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Cd(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var kd=Symbol.for("rtk-slice-createasyncthunk");function Ed(e,t){return`${e}/${t}`}function xd({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[kd];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(Td()):i.reducers)||{},u=Object.keys(a),m={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},g={addCase(p,w){const v=typeof p=="string"?p:p.type;if(!v)throw new Error(Ae(12));if(v in m.sliceCaseReducersByType)throw new Error(Ae(13));return m.sliceCaseReducersByType[v]=w,g},addMatcher(p,w){return m.sliceMatchers.push({matcher:p,reducer:w}),g},exposeAction(p,w){return m.actionCreators[p]=w,g},exposeCaseReducer(p,w){return m.sliceCaseReducersByName[p]=w,g}};u.forEach(p=>{const w=a[p],v={reducerName:p,type:Ed(o,p),createNotation:typeof i.reducers=="function"};Pd(w)?Md(v,w,g,t):Rd(v,w,g)});function h(){const[p={},w=[],v=void 0]=typeof i.extraReducers=="function"?lc(i.extraReducers):[i.extraReducers],y=I(I({},p),m.sliceCaseReducersByType);return wd(i.initialState,b=>{for(let S in y)b.addCase(S,y[S]);for(let S of m.sliceMatchers)b.addMatcher(S.matcher,S.reducer);for(let S of w)b.addMatcher(S.matcher,S.reducer);v&&b.addDefaultCase(v)})}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=fs(c,this,{insert:()=>new WeakMap});return fs(w,p,{insert:()=>{var y;const v={};for(const[b,S]of Object.entries((y=i.selectors)!=null?y:{}))v[b]=Ad(this,S,p,this!==f);return v}})},selectSlice(p){let w=p[this.reducerPath];return typeof w=="undefined"&&this!==f&&(w=this.getInitialState()),w},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(p,y={}){var b=y,{reducerPath:w}=b,v=ot(b,["reducerPath"]);const S=w!=null?w:this.reducerPath;return p.inject({reducerPath:S,reducer:this.reducer},v),$(I({},this),{reducerPath:S})}};return f}}function Ad(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 We=xd();function Td(){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 Rd({type:e,reducerName:t,createNotation:r},n,i){let o,s;if("reducer"in n){if(r&&!Id(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?he(e,s):he(e))}function Pd(e){return e._reducerDefinitionType==="asyncThunk"}function Id(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Md({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:g}=r,h=i(e,o,g);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||Tr,pending:a||Tr,rejected:u||Tr,settled:m||Tr})}function Tr(){}var oo="listenerMiddleware";he(`${oo}/add`);he(`${oo}/removeAll`);he(`${oo}/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 pc=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(pc||{});function Fd(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 Bd=e=>e.replace(/\/$/,""),Dd=e=>e.replace(/^\//,"");function Od(e,t){if(!e)return t;if(!t)return e;if(Nd(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=Bd(e),t=Dd(t),`${e}${r}${t}`}var ms=e=>[].concat(...e);function Ld(){return typeof navigator=="undefined"||navigator.onLine===void 0?!0:navigator.onLine}function $d(){return typeof document=="undefined"?!0:document.visibilityState!=="hidden"}var gs=Ue;function hc(e,t){if(e===t||!(gs(e)&&gs(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]=hc(e[s],t[s]),i&&(i=e[s]===o[s]);return i?e:o}var ys=(...e)=>fetch(...e),Ud=e=>e.status>=200&&e.status<=299,zd=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function ws(e){if(!Ue(e))return e;const t=I({},e);for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function jd(h={}){var d=h,{baseUrl:e,prepareHeaders:t=c=>c,fetchFn:r=ys,paramsSerializer:n,isJsonContentType:i=zd,jsonContentType:o="application/json",jsonReplacer:s,timeout:a,responseHandler:u,validateStatus:m}=d,g=ot(d,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return typeof fetch=="undefined"&&r===ys&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),(l,f)=>pe(this,null,function*(){const{signal:p,getState:w,extra:v,endpoint:y,forced:b,type:S}=f;let k,Bt=typeof l=="string"?{url:l}:l,{url:C,headers:E=new Headers(g.headers),params:x=void 0,responseHandler:A=u!=null?u:"json",validateStatus:R=m!=null?m:Ud,timeout:F=a}=Bt,P=ot(Bt,["url","headers","params","responseHandler","validateStatus","timeout"]),M=I($(I({},g),{signal:p}),P);E=new Headers(ws(E)),M.headers=(yield t(E,{getState:w,extra:v,endpoint:y,forced:b,type:S}))||E;const U=ie=>typeof ie=="object"&&(Ue(ie)||Array.isArray(ie)||typeof ie.toJSON=="function");if(!M.headers.has("content-type")&&U(M.body)&&M.headers.set("content-type",o),U(M.body)&&i(M.headers)&&(M.body=JSON.stringify(M.body,s)),x){const ie=~C.indexOf("?")?"&":"?",Te=n?n(x):new URLSearchParams(ws(x));C+=ie+Te}C=Od(e,C);const G=new Request(C,M);k={request:new Request(C,M)};let L,re=!1,Z=F&&setTimeout(()=>{re=!0,f.abort()},F);try{L=yield r(G)}catch(ie){return{error:{status:re?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(ie)},meta:k}}finally{Z&&clearTimeout(Z)}const le=L.clone();k.response=le;let He,ne="";try{let ie;if(yield Promise.all([c(L,A).then(Te=>He=Te,Te=>ie=Te),le.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,He)?{data:He,meta:k}:{error:{status:L.status,data:He},meta:k}});function c(l,f){return pe(this,null,function*(){if(typeof f=="function")return f(l);if(f==="content-type"&&(f=i(l.headers)?"json":"text"),f==="json"){const p=yield l.text();return p.length?JSON.parse(p):null}return l.text()})}}var bs=class{constructor(e,t=void 0){this.value=e,this.meta=t}},so=he("__rtkq/focused"),mc=he("__rtkq/unfocused"),ao=he("__rtkq/online"),gc=he("__rtkq/offline");function yc(e){return e.type==="query"}function Hd(e){return e.type==="mutation"}function co(e,t,r,n,i,o){return qd(e)?e(t,r,n,i).map(mi).map(o):Array.isArray(e)?e.map(mi).map(o):[]}function qd(e){return typeof e=="function"}function mi(e){return typeof e=="string"?{type:e}:e}function vs(e){return e!=null}function kt(e){let t=0;for(const r in e)t++;return t}var ar=Symbol("forceQueryFn"),gi=e=>typeof e[ar]=="function";function Wd({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:g,getRunningMutationThunk:h,getRunningQueriesThunk:d,getRunningMutationsThunk:c};function g(p,w){return v=>{var S;const y=i.endpointDefinitions[p],b=e({queryArgs:w,endpointDefinition:y,endpointName:p});return(S=o.get(v))==null?void 0:S[b]}}function h(p,w){return v=>{var y;return(y=s.get(v))==null?void 0:y[w]}}function d(){return p=>Object.values(o.get(p)||{}).filter(vs)}function c(){return p=>Object.values(s.get(p)||{}).filter(vs)}function l(p,w){const v=(y,{subscribe:b=!0,forceRefetch:S,subscriptionOptions:k,[ar]:C}={})=>(E,x)=>{var le;const A=e({queryArgs:y,endpointDefinition:w,endpointName:p}),R=t({type:"query",subscribe:b,forceRefetch:S,subscriptionOptions:k,endpointName:p,originalArgs:y,queryCacheKey:A,[ar]:C}),F=n.endpoints[p].select(y),P=E(R),M=F(x()),{requestId:U,abort:G}=P,j=M.requestId!==U,L=(le=o.get(E))==null?void 0:le[A],re=()=>F(x()),Z=Object.assign(C?P.then(re):j&&!L?Promise.resolve(M):Promise.all([L,P]).then(re),{arg:y,requestId:U,subscriptionOptions:k,queryCacheKey:A,abort:G,unwrap(){return pe(this,null,function*(){const ne=yield Z;if(ne.isError)throw ne.error;return ne.data})},refetch:()=>E(v(y,{subscribe:!1,forceRefetch:!0})),unsubscribe(){b&&E(a({queryCacheKey:A,requestId:U}))},updateSubscriptionOptions(ne){Z.subscriptionOptions=ne,E(m({endpointName:p,requestId:U,queryCacheKey:A,options:ne}))}});if(!L&&!j&&!C){const ne=o.get(E)||{};ne[A]=Z,o.set(E,ne),Z.then(()=>{delete ne[A],kt(ne)||o.delete(E)})}return Z};return v}function f(p){return(w,{track:v=!0,fixedCacheKey:y}={})=>(b,S)=>{const k=r({type:"mutation",endpointName:p,originalArgs:w,track:v,fixedCacheKey:y}),C=b(k),{requestId:E,abort:x,unwrap:A}=C,R=C.unwrap().then(U=>({data:U})).catch(U=>({error:U})),F=()=>{b(u({requestId:E,fixedCacheKey:y}))},P=Object.assign(R,{arg:C.arg,requestId:E,abort:x,unwrap:A,reset:F}),M=s.get(b)||{};return s.set(b,M),M[E]=P,P.then(()=>{delete M[E],kt(M)||s.delete(b)}),y&&(M[y]=P,P.then(()=>{M[y]===P&&(delete M[y],kt(M)||s.delete(b))})),P}}}function _s(e){return e}function Vd({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const s=(v,y,b,S)=>(k,C)=>{const E=r[v],x=n({queryArgs:y,endpointDefinition:E,endpointName:v});if(k(i.internalActions.queryResultPatched({queryCacheKey:x,patches:b})),!S)return;const A=i.endpoints[v].select(y)(C()),R=co(E.providesTags,A.data,void 0,y,{},o);k(i.internalActions.updateProvidedBy({queryCacheKey:x,providedTags:R}))},a=(v,y,b,S=!0)=>(k,C)=>{const x=i.endpoints[v].select(y)(C());let A={patches:[],inversePatches:[],undo:()=>k(i.util.patchQueryData(v,y,A.inversePatches,S))};if(x.status==="uninitialized")return A;let R;if("data"in x)if(Me(x.data)){const[F,P,M]=oc(x.data,b);A.patches.push(...P),A.inversePatches.push(...M),R=F}else R=b(x.data),A.patches.push({op:"replace",path:[],value:R}),A.inversePatches.push({op:"replace",path:[],value:x.data});return k(i.util.patchQueryData(v,y,A.patches,S)),A},u=(v,y,b)=>S=>S(i.endpoints[v].initiate(y,{subscribe:!1,forceRefetch:!0,[ar]:()=>({data:b})})),m=(A,R)=>pe(this,[A,R],function*(v,{signal:y,abort:b,rejectWithValue:S,fulfillWithValue:k,dispatch:C,getState:E,extra:x}){const F=r[v.endpointName];try{let P=_s,M;const U={signal:y,abort:b,dispatch:C,getState:E,extra:x,endpoint:v.endpointName,type:v.type,forced:v.type==="query"?g(v,E()):void 0},G=v.type==="query"?v[ar]:void 0;if(G?M=G():F.query?(M=yield t(F.query(v.originalArgs),U,F.extraOptions),F.transformResponse&&(P=F.transformResponse)):M=yield F.queryFn(v.originalArgs,U,F.extraOptions,j=>t(j,U,F.extraOptions)),M.error)throw new bs(M.error,M.meta);return k(yield P(M.data,M.meta,v.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:M.meta,[_t]:!0})}catch(P){let M=P;if(M instanceof bs){let U=_s;F.query&&F.transformErrorResponse&&(U=F.transformErrorResponse);try{return S(yield U(M.value,M.meta,v.originalArgs),{baseQueryMeta:M.meta,[_t]:!0})}catch(G){M=G}}throw console.error(M),M}});function g(v,y){var E,x,A,R;const b=(x=(E=y[e])==null?void 0:E.queries)==null?void 0:x[v.queryCacheKey],S=(A=y[e])==null?void 0:A.config.refetchOnMountOrArgChange,k=b==null?void 0:b.fulfilledTimeStamp,C=(R=v.forceRefetch)!=null?R:v.subscribe&&S;return C?C===!0||(Number(new Date)-Number(k))/1e3>=C:!1}const h=hs(`${e}/executeQuery`,m,{getPendingMeta(){return{startedTimeStamp:Date.now(),[_t]:!0}},condition(v,{getState:y}){var A,R,F;const b=y(),S=(R=(A=b[e])==null?void 0:A.queries)==null?void 0:R[v.queryCacheKey],k=S==null?void 0:S.fulfilledTimeStamp,C=v.originalArgs,E=S==null?void 0:S.originalArgs,x=r[v.endpointName];return gi(v)?!0:(S==null?void 0:S.status)==="pending"?!1:g(v,b)||yc(x)&&((F=x==null?void 0:x.forceRefetch)!=null&&F.call(x,{currentArg:C,previousArg:E,endpointState:S,state:b}))?!0:!k},dispatchConditionRejection:!0}),d=hs(`${e}/executeMutation`,m,{getPendingMeta(){return{startedTimeStamp:Date.now(),[_t]:!0}}}),c=v=>"force"in v,l=v=>"ifOlderThan"in v,f=(v,y,b)=>(S,k)=>{const C=c(b)&&b.force,E=l(b)&&b.ifOlderThan,x=(R=!0)=>i.endpoints[v].initiate(y,{forceRefetch:R}),A=i.endpoints[v].select(y)(k());if(C)S(x());else if(E){const R=A==null?void 0:A.fulfilledTimeStamp;if(!R){S(x());return}(Number(new Date)-Number(new Date(R)))/1e3>=E&&S(x())}else S(x(!1))};function p(v){return y=>{var b,S;return((S=(b=y==null?void 0:y.meta)==null?void 0:b.arg)==null?void 0:S.endpointName)===v}}function w(v,y){return{matchPending:Qt(io(v),p(y)),matchFulfilled:Qt(rt(v),p(y)),matchRejected:Qt(Tt(v),p(y))}}return{queryThunk:h,mutationThunk:d,prefetch:f,updateQueryData:a,upsertQueryData:u,patchQueryData:s,buildMatchThunkActions:w}}function wc(e,t,r,n){return co(r[e.meta.arg.endpointName][t],rt(e)?e.payload:void 0,_n(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function Rr(e,t,r){const n=e[t];n&&r(n)}function cr(e){var t;return(t="arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)!=null?t:e.requestId}function Ss(e,t,r){const n=e[cr(t)];n&&r(n)}var Ut={};function Qd({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:o,hasRehydrationInfo:s},assertTagType:a,config:u}){const m=he(`${e}/resetApiState`),g=We({name:`${e}/queries`,initialState:Ut,reducers:{removeQueryResult:{reducer(y,{payload:{queryCacheKey:b}}){delete y[b]},prepare:$t()},queryResultPatched:{reducer(y,{payload:{queryCacheKey:b,patches:S}}){Rr(y,b,k=>{k.data=cs(k.data,S.concat())})},prepare:$t()}},extraReducers(y){y.addCase(t.pending,(b,{meta:S,meta:{arg:k}})=>{var E,x;const C=gi(k);(x=b[E=k.queryCacheKey])!=null||(b[E]={status:"uninitialized",endpointName:k.endpointName}),Rr(b,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,(b,{meta:S,payload:k})=>{Rr(b,S.arg.queryCacheKey,C=>{var x;if(C.requestId!==S.requestId&&!gi(S.arg))return;const{merge:E}=n[S.arg.endpointName];if(C.status="fulfilled",E)if(C.data!==void 0){const{fulfilledTimeStamp:A,arg:R,baseQueryMeta:F,requestId:P}=S;let M=gr(C.data,U=>E(U,k,{arg:R.originalArgs,baseQueryMeta:F,fulfilledTimeStamp:A,requestId:P}));C.data=M}else C.data=k;else C.data=(x=n[S.arg.endpointName].structuralSharing)==null||x?hc(Ie(C.data)?Ul(C.data):C.data,k):k;delete C.error,C.fulfilledTimeStamp=S.fulfilledTimeStamp})}).addCase(t.rejected,(b,{meta:{condition:S,arg:k,requestId:C},error:E,payload:x})=>{Rr(b,k.queryCacheKey,A=>{if(!S){if(A.requestId!==C)return;A.status="rejected",A.error=x!=null?x:E}})}).addMatcher(s,(b,S)=>{const{queries:k}=o(S);for(const[C,E]of Object.entries(k))((E==null?void 0:E.status)==="fulfilled"||(E==null?void 0:E.status)==="rejected")&&(b[C]=E)})}}),h=We({name:`${e}/mutations`,initialState:Ut,reducers:{removeMutationResult:{reducer(y,{payload:b}){const S=cr(b);S in y&&delete y[S]},prepare:$t()}},extraReducers(y){y.addCase(r.pending,(b,{meta:S,meta:{requestId:k,arg:C,startedTimeStamp:E}})=>{C.track&&(b[cr(S)]={requestId:k,status:"pending",endpointName:C.endpointName,startedTimeStamp:E})}).addCase(r.fulfilled,(b,{payload:S,meta:k})=>{k.arg.track&&Ss(b,k,C=>{C.requestId===k.requestId&&(C.status="fulfilled",C.data=S,C.fulfilledTimeStamp=k.fulfilledTimeStamp)})}).addCase(r.rejected,(b,{payload:S,error:k,meta:C})=>{C.arg.track&&Ss(b,C,E=>{E.requestId===C.requestId&&(E.status="rejected",E.error=S!=null?S:k)})}).addMatcher(s,(b,S)=>{const{mutations:k}=o(S);for(const[C,E]of Object.entries(k))((E==null?void 0:E.status)==="fulfilled"||(E==null?void 0:E.status)==="rejected")&&C!==(E==null?void 0:E.requestId)&&(b[C]=E)})}}),d=We({name:`${e}/invalidation`,initialState:Ut,reducers:{updateProvidedBy:{reducer(y,b){var C,E,x,A;const{queryCacheKey:S,providedTags:k}=b.payload;for(const R of Object.values(y))for(const F of Object.values(R)){const P=F.indexOf(S);P!==-1&&F.splice(P,1)}for(const{type:R,id:F}of k){const P=(A=(E=(C=y[R])!=null?C:y[R]={})[x=F||"__internal_without_id"])!=null?A:E[x]=[];P.includes(S)||P.push(S)}},prepare:$t()}},extraReducers(y){y.addCase(g.actions.removeQueryResult,(b,{payload:{queryCacheKey:S}})=>{for(const k of Object.values(b))for(const C of Object.values(k)){const E=C.indexOf(S);E!==-1&&C.splice(E,1)}}).addMatcher(s,(b,S)=>{var C,E,x,A;const{provided:k}=o(S);for(const[R,F]of Object.entries(k))for(const[P,M]of Object.entries(F)){const U=(A=(E=(C=b[R])!=null?C:b[R]={})[x=P||"__internal_without_id"])!=null?A:E[x]=[];for(const G of M)U.includes(G)||U.push(G)}}).addMatcher(tt(rt(t),_n(t)),(b,S)=>{const k=wc(S,"providesTags",n,a),{queryCacheKey:C}=S.meta.arg;d.caseReducers.updateProvidedBy(b,d.actions.updateProvidedBy({queryCacheKey:C,providedTags:k}))})}}),c=We({name:`${e}/subscriptions`,initialState:Ut,reducers:{updateSubscriptionOptions(y,b){},unsubscribeQueryResult(y,b){},internal_getRTKQSubscriptions(){}}}),l=We({name:`${e}/internalSubscriptions`,initialState:Ut,reducers:{subscriptionsUpdated:{reducer(y,b){return cs(y,b.payload)},prepare:$t()}}}),f=We({name:`${e}/config`,initialState:I({online:Ld(),focused:$d(),middlewareRegistered:!1},u),reducers:{middlewareRegistered(y,{payload:b}){y.middlewareRegistered=y.middlewareRegistered==="conflict"||i!==b?"conflict":!0}},extraReducers:y=>{y.addCase(ao,b=>{b.online=!0}).addCase(gc,b=>{b.online=!1}).addCase(so,b=>{b.focused=!0}).addCase(mc,b=>{b.focused=!1}).addMatcher(s,b=>I({},b))}}),p=Ga({queries:g.reducer,mutations:h.reducer,provided:d.reducer,subscriptions:l.reducer,config:f.reducer}),w=(y,b)=>p(m.match(b)?void 0:y,b),v=$(I(I(I(I(I(I({},f.actions),g.actions),c.actions),l.actions),h.actions),d.actions),{resetApiState:m});return{reducer:w,actions:v}}var ut=Symbol.for("RTKQ/skipToken"),bc={status:"uninitialized"},Cs=gr(bc,()=>{}),ks=gr(bc,()=>{});function Kd({serializeQueryArgs:e,reducerPath:t}){const r=g=>Cs,n=g=>ks;return{buildQuerySelector:s,buildMutationSelector:a,selectInvalidatedBy:u,selectCachedArgsForQuery:m};function i(g){return I(I({},g),Fd(g.status))}function o(g){return g[t]}function s(g,h){return d=>{const c=e({queryArgs:d,endpointDefinition:h,endpointName:g});return Ct(d===ut?r:p=>{var w,v,y;return(y=(v=(w=o(p))==null?void 0:w.queries)==null?void 0:v[c])!=null?y:Cs},i)}}function a(){return g=>{var l;let h;return typeof g=="object"?h=(l=cr(g))!=null?l:ut:h=g,Ct(h===ut?n:f=>{var p,w,v;return(v=(w=(p=o(f))==null?void 0:p.mutations)==null?void 0:w[h])!=null?v:ks},i)}}function u(g,h){var l;const d=g[t],c=new Set;for(const f of h.map(mi)){const p=d.provided[f.type];if(!p)continue;let w=(l=f.id!==void 0?p[f.id]:ms(Object.values(p)))!=null?l:[];for(const v of w)c.add(v)}return ms(Array.from(c.values()).map(f=>{const p=d.queries[f];return p?[{queryCacheKey:f,endpointName:p.endpointName,originalArgs:p.originalArgs}]:[]}))}function m(g,h){return Object.values(g[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,Es=({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)=>Ue(s)?Object.keys(s).sort().reduce((a,u)=>(a[u]=s[u],a),{}):s);Ue(t)&&(yt==null||yt.set(t,i)),r=i}return`${e}(${r})`};function Jd(...e){return function(r){const n=sr(m=>{var g,h;return(h=r.extractRehydrationInfo)==null?void 0:h.call(r,m,{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(m){let g=Es;if("serializeQueryArgs"in m.endpointDefinition){const h=m.endpointDefinition.serializeQueryArgs;g=d=>{const c=h(d);return typeof c=="string"?c:Es($(I({},d),{queryArgs:c}))}}else r.serializeQueryArgs&&(g=r.serializeQueryArgs);return g(m)},tagTypes:[...r.tagTypes||[]]}),o={endpointDefinitions:{},batch(m){m()},apiUid:dc(),extractRehydrationInfo:n,hasRehydrationInfo:sr(m=>n(m)!=null)},s={injectEndpoints:u,enhanceEndpoints({addTagTypes:m,endpoints:g}){if(m)for(const h of m)i.tagTypes.includes(h)||i.tagTypes.push(h);if(g)for(const[h,d]of Object.entries(g))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 g=m.endpoints({query:h=>$(I({},h),{type:"query"}),mutation:h=>$(I({},h),{type:"mutation"})});for(const[h,d]of Object.entries(g))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 Yd(e){for(let t in e)return!1;return!0}var Gd=2147483647/1e3-1,Xd=({reducerPath:e,api:t,context:r,internalState:n})=>{const{removeQueryResult:i,unsubscribeQueryResult:o}=t.internalActions;function s(g){const h=n.currentSubscriptions[g];return!!h&&!Yd(h)}const a={},u=(g,h,d)=>{var c;if(o.match(g)){const l=h.getState()[e],{queryCacheKey:f}=g.payload;m(f,(c=l.queries[f])==null?void 0:c.endpointName,h,l.config)}if(t.util.resetApiState.match(g))for(const[l,f]of Object.entries(a))f&&clearTimeout(f),delete a[l];if(r.hasRehydrationInfo(g)){const l=h.getState()[e],{queries:f}=r.extractRehydrationInfo(g);for(const[p,w]of Object.entries(f))m(p,w==null?void 0:w.endpointName,h,l.config)}};function m(g,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,Gd));if(!s(g)){const v=a[g];v&&clearTimeout(v),a[g]=setTimeout(()=>{s(g)||d.dispatch(i({queryCacheKey:g})),delete a[g]},p*1e3)}}return u},Zd=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:n,queryThunk:i,api:o,assertTagType:s,refetchQuery:a,internalState:u})=>{const{removeQueryResult:m}=o.internalActions,g=tt(rt(n),_n(n)),h=tt(rt(n,i),Tt(n,i));let d=[];const c=(p,w)=>{g(p)?f(wc(p,"invalidatesTags",r,s),w):h(p)?f([],w):o.util.invalidateTags.match(p)&&f(co(p.payload,void 0,void 0,void 0,void 0,s),w)};function l(p){var w,v;for(const y in p.queries)if(((w=p.queries[y])==null?void 0:w.status)==="pending")return!0;for(const y in p.mutations)if(((v=p.mutations[y])==null?void 0:v.status)==="pending")return!0;return!1}function f(p,w){const v=w.getState(),y=v[e];if(d.push(...p),y.config.invalidationBehavior==="delayed"&&l(y))return;const b=d;if(d=[],b.length===0)return;const S=o.util.selectInvalidatedBy(v,b);t.batch(()=>{var C;const k=Array.from(S.values());for(const{queryCacheKey:E}of k){const x=y.queries[E],A=(C=u.currentSubscriptions[E])!=null?C:{};x&&(kt(A)===0?w.dispatch(m({queryCacheKey:E})):x.status!=="uninitialized"&&w.dispatch(a(x,E)))}})}return c},ef=({reducerPath:e,queryThunk:t,api:r,refetchQuery:n,internalState:i})=>{const o={},s=(d,c)=>{(r.internalActions.updateSubscriptionOptions.match(d)||r.internalActions.unsubscribeQueryResult.match(d))&&u(d.payload,c),(t.pending.match(d)||t.rejected.match(d)&&d.meta.condition)&&u(d.meta.arg,c),(t.fulfilled.match(d)||t.rejected.match(d)&&!d.meta.condition)&&a(d.meta.arg,c),r.util.resetApiState.match(d)&&g()};function a({queryCacheKey:d},c){const f=c.getState()[e].queries[d],p=i.currentSubscriptions[d];if(!f||f.status==="uninitialized")return;const w=h(p);if(!Number.isFinite(w))return;const v=o[d];v!=null&&v.timeout&&(clearTimeout(v.timeout),v.timeout=void 0);const y=Date.now()+w,b=o[d]={nextPollTimestamp:y,pollingInterval:w,timeout:setTimeout(()=>{b.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 v=o[d],y=Date.now()+w;(!v||y<v.nextPollTimestamp)&&a({queryCacheKey:d},c)}function m(d){const c=o[d];c!=null&&c.timeout&&clearTimeout(c.timeout),delete o[d]}function g(){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},tf=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,s=(u,m)=>{so.match(u)&&a(m,"refetchOnFocus"),ao.match(u)&&a(m,"refetchOnReconnect")};function a(u,m){const g=u.getState()[e],h=g.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)&&g.config[m])&&(kt(f)===0?u.dispatch(o({queryCacheKey:c})):l.status!=="uninitialized"&&u.dispatch(n(l,c)))}})}return s},xs=new Error("Promise never resolved before cacheEntryRemoved."),rf=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const s=hi(n),a=hi(i),u=rt(n,i),m={},g=(c,l,f)=>{const p=h(c);if(n.pending.match(c)){const w=f[t].queries[p],v=l.getState()[t].queries[p];!w&&v&&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,v]of Object.entries(m))delete m[w],v.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)?cr(c.payload):""}function d(c,l,f,p,w){const v=r.endpointDefinitions[c],y=v==null?void 0:v.onCacheEntryAdded;if(!y)return;let b={};const S=new Promise(R=>{b.cacheEntryRemoved=R}),k=Promise.race([new Promise(R=>{b.valueResolved=R}),S.then(()=>{throw xs})]);k.catch(()=>{}),m[f]=b;const C=e.endpoints[c].select(v.type==="query"?l:f),E=p.dispatch((R,F,P)=>P),x=$(I({},p),{getCacheEntry:()=>C(p.getState()),requestId:w,extra:E,updateCachedData:v.type==="query"?R=>p.dispatch(e.util.updateQueryData(c,l,R)):void 0,cacheDataLoaded:k,cacheEntryRemoved:S}),A=y(l,x);Promise.resolve(A).catch(R=>{if(R!==xs)throw R})}return g},nf=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=io(r,n),o=Tt(r,n),s=rt(r,n),a={};return(m,g)=>{var h,d,c;if(i(m)){const{requestId:l,arg:{endpointName:f,originalArgs:p}}=m.meta,w=t.endpointDefinitions[f],v=w==null?void 0:w.onQueryStarted;if(v){const y={},b=new Promise((E,x)=>{y.resolve=E,y.reject=x});b.catch(()=>{}),a[l]=y;const S=e.endpoints[f].select(w.type==="query"?p:l),k=g.dispatch((E,x,A)=>A),C=$(I({},g),{getCacheEntry:()=>S(g.getState()),requestId:l,extra:k,updateCachedData:w.type==="query"?E=>g.dispatch(e.util.updateQueryData(f,p,E)):void 0,queryFulfilled:b});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]}}},of=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t))},sf=({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,v,y,b,S,k,C,E;if(s.match(l)){const{queryCacheKey:x,requestId:A,options:R}=l.payload;return(p=c==null?void 0:c[x])!=null&&p[A]&&(c[x][A]=R),!0}if(a.match(l)){const{queryCacheKey:x,requestId:A}=l.payload;return c[x]&&delete c[x][A],!0}if(e.internalActions.removeQueryResult.match(l))return delete c[l.payload.queryCacheKey],!0;if(t.pending.match(l)){const{meta:{arg:x,requestId:A}}=l,R=(v=c[w=x.queryCacheKey])!=null?v:c[w]={};return R[`${A}_running`]={},x.subscribe&&(R[A]=(b=(y=x.subscriptionOptions)!=null?y:R[A])!=null?b:{}),!0}let f=!1;if(t.fulfilled.match(l)||t.rejected.match(l)){const x=c[l.meta.arg.queryCacheKey]||{},A=`${l.meta.requestId}_running`;f||(f=!!x[A]),delete x[A]}if(t.rejected.match(l)){const{meta:{condition:x,arg:A,requestId:R}}=l;if(x&&A.subscribe){const F=(k=c[S=A.queryCacheKey])!=null?k:c[S]={};F[R]=(E=(C=A.subscriptionOptions)!=null?C:F[R])!=null?E:{},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 y=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,b]=oc(i,()=>y);l.next(e.internalActions.subscriptionsUpdated(b)),i=y,o=null},500));const w=typeof c.type=="string"&&!!c.type.startsWith(n),v=t.rejected.match(c)&&c.meta.condition&&!!c.meta.arg.subscribe;p=!w&&!v}return[p,!1]}};function af(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:o}=i,s={invalidateTags:he(`${t}/invalidateTags`)},a=h=>h.type.startsWith(`${t}/`),u=[of,Xd,Zd,ef,rf,nf];return{middleware:h=>{let d=!1,c={currentSubscriptions:{}};const l=$(I({},e),{internalState:c,refetchQuery:g,isThisApiSliceAction:a}),f=u.map(v=>v(l)),p=sf(l),w=tf(l);return v=>y=>{if(!Xa(y))return v(y);d||(d=!0,h.dispatch(n.internalActions.middlewareRegistered(o)));const b=$(I({},h),{next:v}),S=h.getState(),[k,C]=p(y,b,S);let E;if(k?E=v(y):E=C,h.getState()[t]&&(w(y,b,S),a(y)||i.hasRehydrationInfo(y)))for(let x of f)x(y,b,S);return E}},actions:s};function g(h,d,c={}){return r(I({type:"query",endpointName:h.endpointName,originalArgs:h.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:d},c))}}function Ge(e,...t){return Object.assign(e,...t)}var As=Symbol(),cf=()=>({name:As,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:s,refetchOnFocus:a,refetchOnReconnect:u,invalidationBehavior:m},g){Jl();const h=j=>j;Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:ao,onOffline:gc,onFocus:so,onFocusLost:mc},util:{}});const{queryThunk:d,mutationThunk:c,patchQueryData:l,updateQueryData:f,upsertQueryData:p,prefetch:w,buildMatchThunkActions:v}=Vd({baseQuery:t,reducerPath:n,context:g,api:e,serializeQueryArgs:i,assertTagType:h}),{reducer:y,actions:b}=Qd({context:g,queryThunk:d,mutationThunk:c,reducerPath:n,assertTagType:h,config:{refetchOnFocus:a,refetchOnReconnect:u,refetchOnMountOrArgChange:s,keepUnusedDataFor:o,reducerPath:n,invalidationBehavior:m}});Ge(e.util,{patchQueryData:l,updateQueryData:f,upsertQueryData:p,prefetch:w,resetApiState:b.resetApiState}),Ge(e.internalActions,b);const{middleware:S,actions:k}=af({reducerPath:n,context:g,queryThunk:d,mutationThunk:c,api:e,assertTagType:h});Ge(e.util,k),Ge(e,{reducer:y,middleware:S});const{buildQuerySelector:C,buildMutationSelector:E,selectInvalidatedBy:x,selectCachedArgsForQuery:A}=Kd({serializeQueryArgs:i,reducerPath:n});Ge(e.util,{selectInvalidatedBy:x,selectCachedArgsForQuery:A});const{buildInitiateQuery:R,buildInitiateMutation:F,getRunningMutationThunk:P,getRunningMutationsThunk:M,getRunningQueriesThunk:U,getRunningQueryThunk:G}=Wd({queryThunk:d,mutationThunk:c,api:e,serializeQueryArgs:i,context:g});return Ge(e.util,{getRunningMutationThunk:P,getRunningMutationsThunk:M,getRunningQueryThunk:G,getRunningQueriesThunk:U}),{name:As,injectEndpoint(j,L){var Z,le;const re=e;(le=(Z=re.endpoints)[j])!=null||(Z[j]={}),yc(L)?Ge(re.endpoints[j],{name:j,select:C(j,L),initiate:R(j,L)},v(d,j)):Hd(L)&&Ge(re.endpoints[j],{name:j,select:E(),initiate:F(j)},v(c,j))}}}}),vc={exports:{}},_c={};const uf=ul(Xt);/**
8
+ */var se=typeof Symbol=="function"&&Symbol.for,Ji=se?Symbol.for("react.element"):60103,Gi=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,Yi=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,dl=se?Symbol.for("react.suspense_list"):60120,gn=se?Symbol.for("react.memo"):60115,yn=se?Symbol.for("react.lazy"):60116,fl=se?Symbol.for("react.block"):60121,pl=se?Symbol.for("react.fundamental"):60117,hl=se?Symbol.for("react.responder"):60118,ml=se?Symbol.for("react.scope"):60119;function Ce(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Ji:switch(e=e.type,e){case Yi: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 Gi:return t}}}function za(e){return Ce(e)===pn}K.AsyncMode=Yi;K.ConcurrentMode=pn;K.ContextConsumer=fn;K.ContextProvider=dn;K.Element=Ji;K.ForwardRef=hn;K.Fragment=cn;K.Lazy=yn;K.Memo=gn;K.Portal=Gi;K.Profiler=ln;K.StrictMode=un;K.Suspense=mn;K.isAsyncMode=function(e){return za(e)||Ce(e)===Yi};K.isConcurrentMode=za;K.isContextConsumer=function(e){return Ce(e)===fn};K.isContextProvider=function(e){return Ce(e)===dn};K.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ji};K.isForwardRef=function(e){return Ce(e)===hn};K.isFragment=function(e){return Ce(e)===cn};K.isLazy=function(e){return Ce(e)===yn};K.isMemo=function(e){return Ce(e)===gn};K.isPortal=function(e){return Ce(e)===Gi};K.isProfiler=function(e){return Ce(e)===ln};K.isStrictMode=function(e){return Ce(e)===un};K.isSuspense=function(e){return Ce(e)===mn};K.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===cn||e===pn||e===ln||e===un||e===mn||e===dl||typeof e=="object"&&e!==null&&(e.$$typeof===yn||e.$$typeof===gn||e.$$typeof===dn||e.$$typeof===fn||e.$$typeof===hn||e.$$typeof===pl||e.$$typeof===hl||e.$$typeof===ml||e.$$typeof===fl)};K.typeOf=Ce;Ua.exports=K;var gl=Ua.exports,ja=gl,yl={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},wl={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ha={};Ha[ja.ForwardRef]=yl;Ha[ja.Memo]=wl;var bl=!0;function qa(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var Xi=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||bl===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Zi=function(t,r,n){Xi(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 vl(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 _l={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},Sl=/[A-Z]|^ms/g,Cl=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Wa=function(t){return t.charCodeAt(1)===45},Xo=function(t){return t!=null&&typeof t!="boolean"},Ln=Ia(function(e){return Wa(e)?e:e.replace(Sl,"-$&").toLowerCase()}),Zo=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Cl,function(n,i,o){return Ne={name:i,styles:o,next:Ne},i})}return _l[t]!==1&&!Wa(t)&&typeof r=="number"&&r!==0?r+"px":r};function tr(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 kl(e,t,r)}case"function":{if(e!==void 0){var o=Ne,s=r(e);return Ne=o,tr(e,t,s)}break}}if(t==null)return r;var a=t[r];return a!==void 0?a:r}function kl(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=tr(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]+"}":Xo(s)&&(n+=Ln(o)+":"+Zo(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++)Xo(s[a])&&(n+=Ln(o)+":"+Zo(o,s[a])+";");else{var u=tr(e,t,s);switch(o){case"animation":case"animationName":{n+=Ln(o)+":"+u+";";break}default:n+=o+"{"+u+"}"}}}return n}var es=/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+=tr(n,r,s)):o+=s[0];for(var a=1;a<t.length;a++)o+=tr(n,r,t[a]),i&&(o+=s[a]);es.lastIndex=0;for(var u="",m;(m=es.exec(o))!==null;)u+="-"+m[1];var y=vl(o)+u;return{name:y,styles:o,next:Ne}},xl=function(t){return t()},Va=Xt.useInsertionEffect?Xt.useInsertionEffect:!1,Qa=Va||xl,ts=Va||mt,bn={}.hasOwnProperty,Ka=nn(typeof HTMLElement!="undefined"?$a({key:"css"}):null),El=Ka.Provider,eo=function(t){return Hi(function(r,n){var i=Ft(Ka);return t(r,i,n)})},to=nn({}),ci="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ja=function(t,r){var n={};for(var i in r)bn.call(r,i)&&(n[i]=r[i]);return n[ci]=t,n},Al=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Xi(r,n,i),Qa(function(){return Zi(r,n,i)}),null},Tl=eo(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=qa(t.registered,o,e.className):e.className!=null&&(s=e.className+" ");var a=wn(o,void 0,Ft(to));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(Al,{cache:t,serialized:a,isStringTag:typeof i=="string"}),Z(i,u))}),Ga=Tl,Rl=eo(function(e,t){var r=e.styles,n=wn([r],void 0,Ft(to)),i=Ee();return ts(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]),ts(function(){var o=i.current,s=o[0],a=o[1];if(a){o[1]=!1;return}if(n.next!==void 0&&Zi(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 Pl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return wn(t)}var Il=Du,Ml=function(t){return t!=="theme"},rs=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Il:Ml},ns=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},Fl=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Xi(r,n,i),Qa(function(){return Zi(r,n,i)}),null},Dl=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=ns(t,r,n),u=a||rs(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=eo(function(f,p,w){var v=m&&f.as||i,g="",b=[],S=f;if(f.theme==null){S={};for(var k in f)S[k]=f[k];S.theme=Ft(to)}typeof f.className=="string"?g=qa(p.registered,b,f.className):f.className!=null&&(g=f.className+" ");var C=wn(h.concat(b),p.registered,S);g+=p.key+"-"+C.name,s!==void 0&&(g+=" "+s);var x=m&&a===void 0?rs(v):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(Fl,{cache:p,serialized:C,isStringTag:typeof v=="string"}),Z(v,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:ns(l,p,!0)})).apply(void 0,h)},l}},Bl=["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"],H=Dl.bind();Bl.forEach(function(e){H[e]=H(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 Nl=typeof Symbol=="function"&&Symbol.observable||"@@observable",is=Nl,$n=()=>Math.random().toString(36).substring(7).split("").join("."),Ol={INIT:`@@redux/INIT${$n()}`,REPLACE:`@@redux/REPLACE${$n()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${$n()}`},Wr=Ol;function Ue(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Ya(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(Ya)(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 v=a++;return s.set(v,p),function(){if(w){if(u)throw new Error(ae(6));w=!1,m(),s.delete(v),o=null}}}function d(p){if(!Ue(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(v=>{v()}),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 v(){const b=w;b.next&&b.next(y())}return v(),{unsubscribe:p(v)}},[is](){return this}}}return d({type:Wr.INIT}),{dispatch:d,subscribe:h,getState:y,replaceReducer:c,[is]:l}}function Ll(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 Xa(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{Ll(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 $l(...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),$(I({},i),{dispatch:o})}}function Za(e){return Ue(e)&&"type"in e&&typeof e.type=="string"}var ro=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?ec(e)||Array.isArray(e)||!!e[Vt]||!!((t=e.constructor)!=null&&t[Vt])||hr(e)||mr(e):!1}var Ul=Object.prototype.constructor.toString();function ec(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)===Ul}function zl(e){return Ie(e)||le(15,e),e[ye].base_}function rr(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:hr(e)?2:mr(e)?3:0}function nr(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 tc(e,t,r){const n=ft(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function jl(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function hr(e){return e instanceof Map}function mr(e){return e instanceof Set}function at(e){return e.copy_||e.base_}function ui(e,t){if(hr(e))return new Map(e);if(mr(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&ec(e))return dt(e)?I({},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 no(e,t=!1){return vn(e)||Ie(e)||!Me(e)||(ft(e)>1&&(e.set=e.add=e.clear=e.delete=Hl),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>no(n,!0))),e}function Hl(){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 ql(e,t){li[e]||(li[e]=t)}var ir;function rc(){return ir}function Wl(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function os(e,t){t&&(pt("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function di(e){fi(e),e.drafts_.forEach(Vl),e.drafts_=null}function fi(e){e===ir&&(ir=e.parent_)}function ss(e){return ir=Wl(ir,e)}function Vl(e){const t=e[ye];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function as(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_||Kr(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!==ro?e:void 0}function Qr(e,t,r){if(vn(t))return t;const n=t[ye];if(!n)return rr(t,(i,o)=>cs(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return Kr(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),rr(o,(a,u)=>cs(e,n,i,a,u,r,s)),Kr(e,i,!1),r&&e.patches_&&pt("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function cs(e,t,r,n,i,o,s){if(Ie(i)){const a=o&&t&&t.type_!==3&&!nr(t.assigned_,n)?o.concat(n):void 0,u=Qr(e,i,a);if(tc(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)&&Kr(e,i)}}function Kr(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&no(t,r)}function Ql(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:rc(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=io;r&&(i=[n],o=or);const{revoke:s,proxy:a}=Proxy.revocable(i,o);return n.draft_=a,n.revoke_=s,a}var io={get(e,t){if(t===ye)return e;const r=at(e);if(!nr(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=nc(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(jl(r,i)&&(r!==void 0||nr(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)}},or={};rr(io,(e,t)=>{or[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});or.deleteProperty=function(e,t){return or.set.call(this,e,t,void 0)};or.set=function(e,t,r){return io.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=nc(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function nc(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 Jl=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=ss(this),s=hi(t,void 0);let a=!0;try{i=r(s),a=!1}finally{a?di(o):fi(o)}return os(o,n),as(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===ro&&(i=void 0),this.autoFreeze_&&no(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=ic(e));const t=ss(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 os(n,t),as(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=hr(e)?pt("MapSet").proxyMap_(e,t):mr(e)?pt("MapSet").proxySet_(e,t):Ql(e,t);return(t?t.scope_:rc()).drafts_.push(r),r}function ic(e){return Ie(e)||le(10,e),oc(e)}function oc(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 rr(r,(n,i)=>{tc(r,n,oc(i))}),t&&(t.finalized_=!1),r}function Gl(){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,v=d.copy_;v.length<p.length&&([p,v]=[v,p],[l,f]=[f,l]);for(let g=0;g<p.length;g++)if(w[g]&&v[g]!==p[g]){const b=c.concat([g]);l.push({op:t,path:b,value:h(v[g])}),f.push({op:t,path:b,value:h(p[g])})}for(let g=p.length;g<v.length;g++){const b=c.concat([g]);l.push({op:r,path:b,value:h(v[g])})}for(let g=v.length-1;p.length<=g;--g){const b=c.concat([g]);f.push({op:n,path:b})}}function s(d,c,l,f){const{base_:p,copy_:w}=d;rr(d.assigned_,(v,g)=>{const b=Un(p,v),S=Un(w,v),k=g?nr(p,v)?t:r:n;if(b===S&&k===t)return;const C=c.concat(v);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(b)}:{op:t,path:C,value:h(b)})})}function a(d,c,l,f){let{base_:p,copy_:w}=d,v=0;p.forEach(g=>{if(!w.has(g)){const b=c.concat([v]);l.push({op:n,path:b,value:g}),f.unshift({op:r,path:b,value:g})}v++}),v=0,w.forEach(g=>{if(!p.has(g)){const b=c.concat([v]);l.push({op:r,path:b,value:g}),f.unshift({op:n,path:b,value:g})}v++})}function u(d,c,l,f){l.push({op:t,path:[],value:c===ro?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 v=ft(w),g=y(l.value),b=f[f.length-1];switch(p){case t:switch(v){case 2:return w.set(b,g);case 3:le(16);default:return w[b]=g}case r:switch(v){case 1:return b==="-"?w.push(g):w.splice(b,0,g);case 2:return w.set(b,g);case 3:return w.add(g);default:return w[b]=g}case n:switch(v){case 1:return w.splice(b,1);case 2:return w.delete(b);case 3:return w.delete(l.value);default:return delete w[b]}default:le(17,p)}}),d}function y(d){if(!Me(d))return d;if(Array.isArray(d))return d.map(y);if(hr(d))return new Map(Array.from(d.entries()).map(([l,f])=>[l,y(f)]));if(mr(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 nr(d,Vt)&&(c[Vt]=d[Vt]),c}function h(d){return Ie(d)?y(d):d}ql("Patches",{applyPatches_:m,generatePatches_:i,generateReplacementPatches_:u})}var Se=new Jl,gr=Se.produce,sc=Se.produceWithPatches.bind(Se);Se.setAutoFreeze.bind(Se);Se.setUseStrictShallowCopy.bind(Se);var us=Se.applyPatches.bind(Se);Se.createDraft.bind(Se);Se.finishDraft.bind(Se);function Yl(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function Xl(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function Zl(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 ls=e=>Array.isArray(e)?e:[e];function ed(e){const t=Array.isArray(e[0])?e[0]:e;return Zl(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function td(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var rd=class{constructor(e){this.value=e}deref(){return this.value}},nd=typeof WeakRef!="undefined"?WeakRef:rd,id=0,ds=1;function Ar(){return{s:id,v:void 0,o:null,p:null}}function sr(e,t={}){let r=Ar();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=Ar(),p.set(f,a)):a=w}else{let p=a.p;p===null&&(a.p=p=new Map);const w=p.get(f);w===void 0?(a=Ar(),p.set(f,a)):a=w}}const m=a;let y;if(a.s===ds?y=a.v:(y=e.apply(null,arguments),o++),m.s=ds,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 nd(y):y}return m.v=y,y}return s.clearCache=()=>{r=Ar(),s.resetResultsCount()},s.resultsCount=()=>o,s.resetResultsCount=()=>{o=0},s}function ac(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()),Yl(m,`createSelector expects an output function after the inputs, but received: [${typeof m}]`);const y=I(I({},r),u),{memoize:h,memoizeOptions:d=[],argsMemoize:c=sr,argsMemoizeOptions:l=[],devModeChecks:f={}}=y,p=ls(d),w=ls(l),v=ed(i),g=h(function(){return o++,m.apply(null,arguments)},...p),b=c(function(){s++;const k=td(v,arguments);return a=g.apply(null,k),a},...w);return Object.assign(b,{resultFunc:m,memoizedResultFunc:g,dependencies:v,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=ac(sr),od=Object.assign((e,t=Ct)=>{Xl(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:()=>od});function cc(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var sd=cc(),ad=cc,cd=(...e)=>{const t=ac(...e);return(...r)=>{const n=t(...r),i=(o,...s)=>n(Ie(o)?ic(o):o,...s);return Object.assign(i,n),i}};cd(sr);var ud=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)},ld=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 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=>Za(n)&&n.type===e,r}var uc=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 fs(e){return Me(e)?gr(e,()=>{}):e}function ps(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 dd(e){return typeof e=="boolean"}var fd=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t!=null?t:{};let s=new uc;return r&&(dd(r)?s.push(sd):s.push(ad(r.extraArgument))),s},_t="RTK_autoBatch",$t=()=>e=>({payload:e,meta:{[_t]:!0}}),lc=e=>t=>{setTimeout(t,e)},pd=typeof window!="undefined"&&window.requestAnimationFrame?window.requestAnimationFrame:lc(10),hd=(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"?pd:e.type==="callback"?e.queueNotification:lc(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}}})},md=e=>function(r){const{autoBatch:n=!0}=r!=null?r:{};let i=new uc(e);return n&&i.push(hd(typeof n=="object"?n:void 0)),i},gd=!0;function yd(e){const t=fd(),{reducer:r=void 0,middleware:n,devTools:i=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{};let a;if(typeof r=="function")a=r;else if(Ue(r))a=Xa(r);else throw new Error(Ae(1));let u;typeof n=="function"?u=n(t):u=t();let m=Vr;i&&(m=ud(I({trace:!gd},typeof i=="object"&&i)));const y=$l(...u),h=md(y);let d=typeof s=="function"?s(h):h();const c=m(...d);return Ya(a,o,c)}function dc(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 wd(e){return typeof e=="function"}function bd(e,t){let[r,n,i]=dc(t),o;if(wd(e))o=()=>fs(e());else{const a=fs(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 gr(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 vd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",fc=(e=21)=>{let t="",r=e;for(;r--;)t+=vd[Math.random()*64|0];return t},pc=(e,t)=>ld(e)?e.match(t):e(t);function tt(...e){return t=>e.some(r=>pc(r,t))}function Qt(...e){return t=>e.every(r=>pc(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 yr(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function oo(...e){return e.length===0?t=>_n(t,["pending"]):yr(e)?t=>{const r=e.map(i=>i.pending);return tt(...r)(t)}:oo()(e[0])}function Tt(...e){return e.length===0?t=>_n(t,["rejected"]):yr(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):yr(e)?r=>Qt(Tt(...e),t)(r):Sn()(e[0])}function rt(...e){return e.length===0?t=>_n(t,["fulfilled"]):yr(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"]):yr(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 _d=["name","message","stack","code"],Hn=class{constructor(e,t){Bn(this,"_type");this.payload=e,this.meta=t}},hs=class{constructor(e,t){Bn(this,"_type");this.payload=e,this.meta=t}},Sd=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of _d)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},ms=(()=>{function e(t,r,n){const i=me(t+"/fulfilled",(u,m,y,h)=>({payload:u,meta:$(I({},h||{}),{arg:y,requestId:m,requestStatus:"fulfilled"})})),o=me(t+"/pending",(u,m,y)=>({payload:void 0,meta:$(I({},y||{}),{arg:m,requestId:u,requestStatus:"pending"})})),s=me(t+"/rejected",(u,m,y,h,d)=>({payload:h,error:(n&&n.serializeError||Sd)(u||"Rejected"),meta:$(I({},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):fc(),c=new AbortController;let l;function f(w){l=w,c.abort()}const p=function(){return he(this,null,function*(){var g,b;let w;try{let S=(g=n==null?void 0:n.condition)==null?void 0:g.call(n,u,{getState:y,extra:h});if(kd(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,(b=n==null?void 0:n.getPendingMeta)==null?void 0:b.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 hs(C,x)})).then(C=>{if(C instanceof Hn)throw C;return C instanceof hs?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(Cd)}})}}return Object.assign(a,{pending:o,rejected:s,fulfilled:i,settled:tt(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function Cd(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function kd(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var xd=Symbol.for("rtk-slice-createasyncthunk");function Ed(e,t){return`${e}/${t}`}function Ad({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[xd];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(Rd()):i.reducers)||{},u=Object.keys(a),m={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},y={addCase(p,w){const v=typeof p=="string"?p:p.type;if(!v)throw new Error(Ae(12));if(v in m.sliceCaseReducersByType)throw new Error(Ae(13));return m.sliceCaseReducersByType[v]=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],v={reducerName:p,type:Ed(o,p),createNotation:typeof i.reducers=="function"};Id(w)?Fd(v,w,y,t):Pd(v,w,y)});function h(){const[p={},w=[],v=void 0]=typeof i.extraReducers=="function"?dc(i.extraReducers):[i.extraReducers],g=I(I({},p),m.sliceCaseReducersByType);return bd(i.initialState,b=>{for(let S in g)b.addCase(S,g[S]);for(let S of m.sliceMatchers)b.addMatcher(S.matcher,S.reducer);for(let S of w)b.addMatcher(S.matcher,S.reducer);v&&b.addDefaultCase(v)})}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=ps(c,this,{insert:()=>new WeakMap});return ps(w,p,{insert:()=>{var g;const v={};for(const[b,S]of Object.entries((g=i.selectors)!=null?g:{}))v[b]=Td(this,S,p,this!==f);return v}})},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 b=g,{reducerPath:w}=b,v=ot(b,["reducerPath"]);const S=w!=null?w:this.reducerPath;return p.inject({reducerPath:S,reducer:this.reducer},v),$(I({},this),{reducerPath:S})}};return f}}function Td(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 We=Ad();function Rd(){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 Pd({type:e,reducerName:t,createNotation:r},n,i){let o,s;if("reducer"in n){if(r&&!Md(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 Id(e){return e._reducerDefinitionType==="asyncThunk"}function Md(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Fd({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||Tr,pending:a||Tr,rejected:u||Tr,settled:m||Tr})}function Tr(){}var so="listenerMiddleware";me(`${so}/add`);me(`${so}/removeAll`);me(`${so}/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 hc=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(hc||{});function Dd(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Bd(e){return new RegExp("(^|:)//").test(e)}var Nd=e=>e.replace(/\/$/,""),Od=e=>e.replace(/^\//,"");function Ld(e,t){if(!e)return t;if(!t)return e;if(Bd(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=Nd(e),t=Od(t),`${e}${r}${t}`}var gs=e=>[].concat(...e);function $d(){return typeof navigator=="undefined"||navigator.onLine===void 0?!0:navigator.onLine}function Ud(){return typeof document=="undefined"?!0:document.visibilityState!=="hidden"}var ys=Ue;function mc(e,t){if(e===t||!(ys(e)&&ys(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]=mc(e[s],t[s]),i&&(i=e[s]===o[s]);return i?e:o}var ws=(...e)=>fetch(...e),zd=e=>e.status>=200&&e.status<=299,jd=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function bs(e){if(!Ue(e))return e;const t=I({},e);for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function Hd(h={}){var d=h,{baseUrl:e,prepareHeaders:t=c=>c,fetchFn:r=ws,paramsSerializer:n,isJsonContentType:i=jd,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===ws&&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:v,endpoint:g,forced:b,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:zd,timeout:F=a}=Bt,P=ot(Bt,["url","headers","params","responseHandler","validateStatus","timeout"]),M=I($(I({},y),{signal:p}),P);x=new Headers(bs(x)),M.headers=(yield t(x,{getState:w,extra:v,endpoint:g,forced:b,type:S}))||x;const U=ie=>typeof ie=="object"&&(Ue(ie)||Array.isArray(ie)||typeof ie.toJSON=="function");if(!M.headers.has("content-type")&&U(M.body)&&M.headers.set("content-type",o),U(M.body)&&i(M.headers)&&(M.body=JSON.stringify(M.body,s)),E){const ie=~C.indexOf("?")?"&":"?",Te=n?n(E):new URLSearchParams(bs(E));C+=ie+Te}C=Ld(e,C);const Y=new Request(C,M);k={request:new Request(C,M)};let L,re=!1,ee=F&&setTimeout(()=>{re=!0,f.abort()},F);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 He,ne="";try{let ie;if(yield Promise.all([c(L,A).then(Te=>He=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,He)?{data:He,meta:k}:{error:{status:L.status,data:He},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 vs=class{constructor(e,t=void 0){this.value=e,this.meta=t}},ao=me("__rtkq/focused"),gc=me("__rtkq/unfocused"),co=me("__rtkq/online"),yc=me("__rtkq/offline");function wc(e){return e.type==="query"}function qd(e){return e.type==="mutation"}function uo(e,t,r,n,i,o){return Wd(e)?e(t,r,n,i).map(gi).map(o):Array.isArray(e)?e.map(gi).map(o):[]}function Wd(e){return typeof e=="function"}function gi(e){return typeof e=="string"?{type:e}:e}function _s(e){return e!=null}function kt(e){let t=0;for(const r in e)t++;return t}var ar=Symbol("forceQueryFn"),yi=e=>typeof e[ar]=="function";function Vd({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 v=>{var S;const g=i.endpointDefinitions[p],b=e({queryArgs:w,endpointDefinition:g,endpointName:p});return(S=o.get(v))==null?void 0:S[b]}}function h(p,w){return v=>{var g;return(g=s.get(v))==null?void 0:g[w]}}function d(){return p=>Object.values(o.get(p)||{}).filter(_s)}function c(){return p=>Object.values(s.get(p)||{}).filter(_s)}function l(p,w){const v=(g,{subscribe:b=!0,forceRefetch:S,subscriptionOptions:k,[ar]:C}={})=>(x,E)=>{var de;const A=e({queryArgs:g,endpointDefinition:w,endpointName:p}),R=t({type:"query",subscribe:b,forceRefetch:S,subscriptionOptions:k,endpointName:p,originalArgs:g,queryCacheKey:A,[ar]:C}),F=n.endpoints[p].select(g),P=x(R),M=F(E()),{requestId:U,abort:Y}=P,j=M.requestId!==U,L=(de=o.get(x))==null?void 0:de[A],re=()=>F(E()),ee=Object.assign(C?P.then(re):j&&!L?Promise.resolve(M):Promise.all([L,P]).then(re),{arg:g,requestId:U,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(v(g,{subscribe:!1,forceRefetch:!0})),unsubscribe(){b&&x(a({queryCacheKey:A,requestId:U}))},updateSubscriptionOptions(ne){ee.subscriptionOptions=ne,x(m({endpointName:p,requestId:U,queryCacheKey:A,options:ne}))}});if(!L&&!j&&!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 v}function f(p){return(w,{track:v=!0,fixedCacheKey:g}={})=>(b,S)=>{const k=r({type:"mutation",endpointName:p,originalArgs:w,track:v,fixedCacheKey:g}),C=b(k),{requestId:x,abort:E,unwrap:A}=C,R=C.unwrap().then(U=>({data:U})).catch(U=>({error:U})),F=()=>{b(u({requestId:x,fixedCacheKey:g}))},P=Object.assign(R,{arg:C.arg,requestId:x,abort:E,unwrap:A,reset:F}),M=s.get(b)||{};return s.set(b,M),M[x]=P,P.then(()=>{delete M[x],kt(M)||s.delete(b)}),g&&(M[g]=P,P.then(()=>{M[g]===P&&(delete M[g],kt(M)||s.delete(b))})),P}}}function Ss(e){return e}function Qd({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const s=(v,g,b,S)=>(k,C)=>{const x=r[v],E=n({queryArgs:g,endpointDefinition:x,endpointName:v});if(k(i.internalActions.queryResultPatched({queryCacheKey:E,patches:b})),!S)return;const A=i.endpoints[v].select(g)(C()),R=uo(x.providesTags,A.data,void 0,g,{},o);k(i.internalActions.updateProvidedBy({queryCacheKey:E,providedTags:R}))},a=(v,g,b,S=!0)=>(k,C)=>{const E=i.endpoints[v].select(g)(C());let A={patches:[],inversePatches:[],undo:()=>k(i.util.patchQueryData(v,g,A.inversePatches,S))};if(E.status==="uninitialized")return A;let R;if("data"in E)if(Me(E.data)){const[F,P,M]=sc(E.data,b);A.patches.push(...P),A.inversePatches.push(...M),R=F}else R=b(E.data),A.patches.push({op:"replace",path:[],value:R}),A.inversePatches.push({op:"replace",path:[],value:E.data});return k(i.util.patchQueryData(v,g,A.patches,S)),A},u=(v,g,b)=>S=>S(i.endpoints[v].initiate(g,{subscribe:!1,forceRefetch:!0,[ar]:()=>({data:b})})),m=(A,R)=>he(this,[A,R],function*(v,{signal:g,abort:b,rejectWithValue:S,fulfillWithValue:k,dispatch:C,getState:x,extra:E}){const F=r[v.endpointName];try{let P=Ss,M;const U={signal:g,abort:b,dispatch:C,getState:x,extra:E,endpoint:v.endpointName,type:v.type,forced:v.type==="query"?y(v,x()):void 0},Y=v.type==="query"?v[ar]:void 0;if(Y?M=Y():F.query?(M=yield t(F.query(v.originalArgs),U,F.extraOptions),F.transformResponse&&(P=F.transformResponse)):M=yield F.queryFn(v.originalArgs,U,F.extraOptions,j=>t(j,U,F.extraOptions)),M.error)throw new vs(M.error,M.meta);return k(yield P(M.data,M.meta,v.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:M.meta,[_t]:!0})}catch(P){let M=P;if(M instanceof vs){let U=Ss;F.query&&F.transformErrorResponse&&(U=F.transformErrorResponse);try{return S(yield U(M.value,M.meta,v.originalArgs),{baseQueryMeta:M.meta,[_t]:!0})}catch(Y){M=Y}}throw console.error(M),M}});function y(v,g){var x,E,A,R;const b=(E=(x=g[e])==null?void 0:x.queries)==null?void 0:E[v.queryCacheKey],S=(A=g[e])==null?void 0:A.config.refetchOnMountOrArgChange,k=b==null?void 0:b.fulfilledTimeStamp,C=(R=v.forceRefetch)!=null?R:v.subscribe&&S;return C?C===!0||(Number(new Date)-Number(k))/1e3>=C:!1}const h=ms(`${e}/executeQuery`,m,{getPendingMeta(){return{startedTimeStamp:Date.now(),[_t]:!0}},condition(v,{getState:g}){var A,R,F;const b=g(),S=(R=(A=b[e])==null?void 0:A.queries)==null?void 0:R[v.queryCacheKey],k=S==null?void 0:S.fulfilledTimeStamp,C=v.originalArgs,x=S==null?void 0:S.originalArgs,E=r[v.endpointName];return yi(v)?!0:(S==null?void 0:S.status)==="pending"?!1:y(v,b)||wc(E)&&((F=E==null?void 0:E.forceRefetch)!=null&&F.call(E,{currentArg:C,previousArg:x,endpointState:S,state:b}))?!0:!k},dispatchConditionRejection:!0}),d=ms(`${e}/executeMutation`,m,{getPendingMeta(){return{startedTimeStamp:Date.now(),[_t]:!0}}}),c=v=>"force"in v,l=v=>"ifOlderThan"in v,f=(v,g,b)=>(S,k)=>{const C=c(b)&&b.force,x=l(b)&&b.ifOlderThan,E=(R=!0)=>i.endpoints[v].initiate(g,{forceRefetch:R}),A=i.endpoints[v].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(v){return g=>{var b,S;return((S=(b=g==null?void 0:g.meta)==null?void 0:b.arg)==null?void 0:S.endpointName)===v}}function w(v,g){return{matchPending:Qt(oo(v),p(g)),matchFulfilled:Qt(rt(v),p(g)),matchRejected:Qt(Tt(v),p(g))}}return{queryThunk:h,mutationThunk:d,prefetch:f,updateQueryData:a,upsertQueryData:u,patchQueryData:s,buildMatchThunkActions:w}}function bc(e,t,r,n){return uo(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 Rr(e,t,r){const n=e[t];n&&r(n)}function cr(e){var t;return(t="arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)!=null?t:e.requestId}function Cs(e,t,r){const n=e[cr(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=We({name:`${e}/queries`,initialState:Ut,reducers:{removeQueryResult:{reducer(g,{payload:{queryCacheKey:b}}){delete g[b]},prepare:$t()},queryResultPatched:{reducer(g,{payload:{queryCacheKey:b,patches:S}}){Rr(g,b,k=>{k.data=us(k.data,S.concat())})},prepare:$t()}},extraReducers(g){g.addCase(t.pending,(b,{meta:S,meta:{arg:k}})=>{var x,E;const C=yi(k);(E=b[x=k.queryCacheKey])!=null||(b[x]={status:"uninitialized",endpointName:k.endpointName}),Rr(b,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,(b,{meta:S,payload:k})=>{Rr(b,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:F,requestId:P}=S;let M=gr(C.data,U=>x(U,k,{arg:R.originalArgs,baseQueryMeta:F,fulfilledTimeStamp:A,requestId:P}));C.data=M}else C.data=k;else C.data=(E=n[S.arg.endpointName].structuralSharing)==null||E?mc(Ie(C.data)?zl(C.data):C.data,k):k;delete C.error,C.fulfilledTimeStamp=S.fulfilledTimeStamp})}).addCase(t.rejected,(b,{meta:{condition:S,arg:k,requestId:C},error:x,payload:E})=>{Rr(b,k.queryCacheKey,A=>{if(!S){if(A.requestId!==C)return;A.status="rejected",A.error=E!=null?E:x}})}).addMatcher(s,(b,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")&&(b[C]=x)})}}),h=We({name:`${e}/mutations`,initialState:Ut,reducers:{removeMutationResult:{reducer(g,{payload:b}){const S=cr(b);S in g&&delete g[S]},prepare:$t()}},extraReducers(g){g.addCase(r.pending,(b,{meta:S,meta:{requestId:k,arg:C,startedTimeStamp:x}})=>{C.track&&(b[cr(S)]={requestId:k,status:"pending",endpointName:C.endpointName,startedTimeStamp:x})}).addCase(r.fulfilled,(b,{payload:S,meta:k})=>{k.arg.track&&Cs(b,k,C=>{C.requestId===k.requestId&&(C.status="fulfilled",C.data=S,C.fulfilledTimeStamp=k.fulfilledTimeStamp)})}).addCase(r.rejected,(b,{payload:S,error:k,meta:C})=>{C.arg.track&&Cs(b,C,x=>{x.requestId===C.requestId&&(x.status="rejected",x.error=S!=null?S:k)})}).addMatcher(s,(b,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)&&(b[C]=x)})}}),d=We({name:`${e}/invalidation`,initialState:Ut,reducers:{updateProvidedBy:{reducer(g,b){var C,x,E,A;const{queryCacheKey:S,providedTags:k}=b.payload;for(const R of Object.values(g))for(const F of Object.values(R)){const P=F.indexOf(S);P!==-1&&F.splice(P,1)}for(const{type:R,id:F}of k){const P=(A=(x=(C=g[R])!=null?C:g[R]={})[E=F||"__internal_without_id"])!=null?A:x[E]=[];P.includes(S)||P.push(S)}},prepare:$t()}},extraReducers(g){g.addCase(y.actions.removeQueryResult,(b,{payload:{queryCacheKey:S}})=>{for(const k of Object.values(b))for(const C of Object.values(k)){const x=C.indexOf(S);x!==-1&&C.splice(x,1)}}).addMatcher(s,(b,S)=>{var C,x,E,A;const{provided:k}=o(S);for(const[R,F]of Object.entries(k))for(const[P,M]of Object.entries(F)){const U=(A=(x=(C=b[R])!=null?C:b[R]={})[E=P||"__internal_without_id"])!=null?A:x[E]=[];for(const Y of M)U.includes(Y)||U.push(Y)}}).addMatcher(tt(rt(t),Sn(t)),(b,S)=>{const k=bc(S,"providesTags",n,a),{queryCacheKey:C}=S.meta.arg;d.caseReducers.updateProvidedBy(b,d.actions.updateProvidedBy({queryCacheKey:C,providedTags:k}))})}}),c=We({name:`${e}/subscriptions`,initialState:Ut,reducers:{updateSubscriptionOptions(g,b){},unsubscribeQueryResult(g,b){},internal_getRTKQSubscriptions(){}}}),l=We({name:`${e}/internalSubscriptions`,initialState:Ut,reducers:{subscriptionsUpdated:{reducer(g,b){return us(g,b.payload)},prepare:$t()}}}),f=We({name:`${e}/config`,initialState:I({online:$d(),focused:Ud(),middlewareRegistered:!1},u),reducers:{middlewareRegistered(g,{payload:b}){g.middlewareRegistered=g.middlewareRegistered==="conflict"||i!==b?"conflict":!0}},extraReducers:g=>{g.addCase(co,b=>{b.online=!0}).addCase(yc,b=>{b.online=!1}).addCase(ao,b=>{b.focused=!0}).addCase(gc,b=>{b.focused=!1}).addMatcher(s,b=>I({},b))}}),p=Xa({queries:y.reducer,mutations:h.reducer,provided:d.reducer,subscriptions:l.reducer,config:f.reducer}),w=(g,b)=>p(m.match(b)?void 0:g,b),v=$(I(I(I(I(I(I({},f.actions),y.actions),c.actions),l.actions),h.actions),d.actions),{resetApiState:m});return{reducer:w,actions:v}}var ut=Symbol.for("RTKQ/skipToken"),vc={status:"uninitialized"},ks=gr(vc,()=>{}),xs=gr(vc,()=>{});function Jd({serializeQueryArgs:e,reducerPath:t}){const r=y=>ks,n=y=>xs;return{buildQuerySelector:s,buildMutationSelector:a,selectInvalidatedBy:u,selectCachedArgsForQuery:m};function i(y){return I(I({},y),Dd(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,v,g;return(g=(v=(w=o(p))==null?void 0:w.queries)==null?void 0:v[c])!=null?g:ks},i)}}function a(){return y=>{var l;let h;return typeof y=="object"?h=(l=cr(y))!=null?l:ut:h=y,Ct(h===ut?n:f=>{var p,w,v;return(v=(w=(p=o(f))==null?void 0:p.mutations)==null?void 0:w[h])!=null?v:xs},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]:gs(Object.values(p)))!=null?l:[];for(const v of w)c.add(v)}return gs(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,Es=({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)=>Ue(s)?Object.keys(s).sort().reduce((a,u)=>(a[u]=s[u],a),{}):s);Ue(t)&&(yt==null||yt.set(t,i)),r=i}return`${e}(${r})`};function Gd(...e){return function(r){const n=sr(m=>{var y,h;return(h=r.extractRehydrationInfo)==null?void 0:h.call(r,m,{reducerPath:(y=r.reducerPath)!=null?y:"api"})}),i=$(I({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed"},r),{extractRehydrationInfo:n,serializeQueryArgs(m){let y=Es;if("serializeQueryArgs"in m.endpointDefinition){const h=m.endpointDefinition.serializeQueryArgs;y=d=>{const c=h(d);return typeof c=="string"?c:Es($(I({},d),{queryArgs:c}))}}else r.serializeQueryArgs&&(y=r.serializeQueryArgs);return y(m)},tagTypes:[...r.tagTypes||[]]}),o={endpointDefinitions:{},batch(m){m()},apiUid:fc(),extractRehydrationInfo:n,hasRehydrationInfo:sr(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=>$(I({},h),{type:"query"}),mutation:h=>$(I({},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 Yd(e){for(let t in e)return!1;return!0}var Xd=2147483647/1e3-1,Zd=({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&&!Yd(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,Xd));if(!s(y)){const v=a[y];v&&clearTimeout(v),a[y]=setTimeout(()=>{s(y)||d.dispatch(i({queryCacheKey:y})),delete a[y]},p*1e3)}}return u},ef=({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(bc(p,"invalidatesTags",r,s),w):h(p)?f([],w):o.util.invalidateTags.match(p)&&f(uo(p.payload,void 0,void 0,void 0,void 0,s),w)};function l(p){var w,v;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(((v=p.mutations[g])==null?void 0:v.status)==="pending")return!0;return!1}function f(p,w){const v=w.getState(),g=v[e];if(d.push(...p),g.config.invalidationBehavior==="delayed"&&l(g))return;const b=d;if(d=[],b.length===0)return;const S=o.util.selectInvalidatedBy(v,b);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},tf=({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 v=o[d];v!=null&&v.timeout&&(clearTimeout(v.timeout),v.timeout=void 0);const g=Date.now()+w,b=o[d]={nextPollTimestamp:g,pollingInterval:w,timeout:setTimeout(()=>{b.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 v=o[d],g=Date.now()+w;(!v||g<v.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},rf=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,s=(u,m)=>{ao.match(u)&&a(m,"refetchOnFocus"),co.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},As=new Error("Promise never resolved before cacheEntryRemoved."),nf=({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],v=l.getState()[t].queries[p];!w&&v&&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,v]of Object.entries(m))delete m[w],v.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)?cr(c.payload):""}function d(c,l,f,p,w){const v=r.endpointDefinitions[c],g=v==null?void 0:v.onCacheEntryAdded;if(!g)return;let b={};const S=new Promise(R=>{b.cacheEntryRemoved=R}),k=Promise.race([new Promise(R=>{b.valueResolved=R}),S.then(()=>{throw As})]);k.catch(()=>{}),m[f]=b;const C=e.endpoints[c].select(v.type==="query"?l:f),x=p.dispatch((R,F,P)=>P),E=$(I({},p),{getCacheEntry:()=>C(p.getState()),requestId:w,extra:x,updateCachedData:v.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!==As)throw R})}return y},of=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=oo(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],v=w==null?void 0:w.onQueryStarted;if(v){const g={},b=new Promise((x,E)=>{g.resolve=x,g.reject=E});b.catch(()=>{}),a[l]=g;const S=e.endpoints[f].select(w.type==="query"?p:l),k=y.dispatch((x,E,A)=>A),C=$(I({},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:b});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]}}},sf=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t))},af=({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,v,g,b,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=(v=c[w=E.queryCacheKey])!=null?v:c[w]={};return R[`${A}_running`]={},E.subscribe&&(R[A]=(b=(g=E.subscriptionOptions)!=null?g:R[A])!=null?b:{}),!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 F=(k=c[S=A.queryCacheKey])!=null?k:c[S]={};F[R]=(x=(C=A.subscriptionOptions)!=null?C:F[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)),[,b]=sc(i,()=>g);l.next(e.internalActions.subscriptionsUpdated(b)),i=g,o=null},500));const w=typeof c.type=="string"&&!!c.type.startsWith(n),v=t.rejected.match(c)&&c.meta.condition&&!!c.meta.arg.subscribe;p=!w&&!v}return[p,!1]}};function cf(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=[sf,Zd,ef,tf,nf,of];return{middleware:h=>{let d=!1,c={currentSubscriptions:{}};const l=$(I({},e),{internalState:c,refetchQuery:y,isThisApiSliceAction:a}),f=u.map(v=>v(l)),p=af(l),w=rf(l);return v=>g=>{if(!Za(g))return v(g);d||(d=!0,h.dispatch(n.internalActions.middlewareRegistered(o)));const b=$(I({},h),{next:v}),S=h.getState(),[k,C]=p(g,b,S);let x;if(k?x=v(g):x=C,h.getState()[t]&&(w(g,b,S),a(g)||i.hasRehydrationInfo(g)))for(let E of f)E(g,b,S);return x}},actions:s};function y(h,d,c={}){return r(I({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 Ts=Symbol(),uf=()=>({name:Ts,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:s,refetchOnFocus:a,refetchOnReconnect:u,invalidationBehavior:m},y){Gl();const h=j=>j;Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:co,onOffline:yc,onFocus:ao,onFocusLost:gc},util:{}});const{queryThunk:d,mutationThunk:c,patchQueryData:l,updateQueryData:f,upsertQueryData:p,prefetch:w,buildMatchThunkActions:v}=Qd({baseQuery:t,reducerPath:n,context:y,api:e,serializeQueryArgs:i,assertTagType:h}),{reducer:g,actions:b}=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:b.resetApiState}),Xe(e.internalActions,b);const{middleware:S,actions:k}=cf({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}=Jd({serializeQueryArgs:i,reducerPath:n});Xe(e.util,{selectInvalidatedBy:E,selectCachedArgsForQuery:A});const{buildInitiateQuery:R,buildInitiateMutation:F,getRunningMutationThunk:P,getRunningMutationsThunk:M,getRunningQueriesThunk:U,getRunningQueryThunk:Y}=Vd({queryThunk:d,mutationThunk:c,api:e,serializeQueryArgs:i,context:y});return Xe(e.util,{getRunningMutationThunk:P,getRunningMutationsThunk:M,getRunningQueryThunk:Y,getRunningQueriesThunk:U}),{name:Ts,injectEndpoint(j,L){var ee,de;const re=e;(de=(ee=re.endpoints)[j])!=null||(ee[j]={}),wc(L)?Xe(re.endpoints[j],{name:j,select:C(j,L),initiate:R(j,L)},v(d,j)):qd(L)&&Xe(re.endpoints[j],{name:j,select:x(),initiate:F(j)},v(c,j))}}}}),_c={exports:{}},Sc={};const lf=ll(Xt);/**
9
9
  * @license React
10
10
  * use-sync-external-store-with-selector.production.min.js
11
11
  *
@@ -13,14 +13,14 @@ var au=Object.defineProperty,cu=Object.defineProperties;var uu=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 wr=uf;function lf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var df=typeof Object.is=="function"?Object.is:lf,ff=wr.useSyncExternalStore,pf=wr.useRef,hf=wr.useEffect,mf=wr.useMemo,gf=wr.useDebugValue;_c.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=pf(null);if(o.current===null){var s={hasValue:!1,value:null};o.current=s}else s=o.current;o=mf(function(){function u(c){if(!m){if(m=!0,g=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,df(g,c))return l;var f=n(c);return i!==void 0&&i(l,f)?l:(g=c,h=f)}var m=!1,g,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=ff(e,o[0],o[1]);return hf(function(){s.hasValue=!0,s.value=a},[a]),gf(a),a};vc.exports=_c;var yf=vc.exports,we="default"in Xt?Ra:Xt,Ts=Symbol.for("react-redux-context"),Rs=typeof globalThis!="undefined"?globalThis:{};function wf(){var r;if(!we.createContext)return{};const e=(r=Rs[Ts])!=null?r:Rs[Ts]=new Map;let t=e.get(we.createContext);return t||(t=we.createContext(null),e.set(we.createContext,t)),t}var nt=wf(),bf=()=>{throw new Error("uSES not initialized!")};function uo(e=nt){return function(){return we.useContext(e)}}var Sc=uo(),Cc=bf,vf=e=>{Cc=e},_f=(e,t)=>e===t;function Sf(e=nt){const t=e===nt?Sc:uo(e);return function(n,i={}){const{equalityFn:o=_f,devModeChecks:s={}}=typeof i=="function"?{equalityFn:i}:i,{store:a,subscription:u,getServerState:m,stabilityCheck:g,identityFunctionCheck:h}=t();we.useRef(!0);const d=we.useCallback({[n.name](l){return n(l)}}[n.name],[n,g,s.stabilityCheck]),c=Cc(u.addNestedSub,a.getState,m||a.getState,d,o);return we.useDebugValue(c),c}}var kc=Sf();function Ec(e){e()}function Cf(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Ec(()=>{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 Ps={notify(){},get:()=>[]};function kf(e,t){let r,n=Ps,i=0,o=!1;function s(f){g();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 g(){i++,r||(r=t?t.addNestedSub(u):e.subscribe(u),n=Cf())}function h(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=Ps)}function d(){o||(o=!0,g())}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 Ef=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",xf=Ef?we.useLayoutEffect:we.useEffect;function Is(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Jr(e,t){if(Is(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])||!Is(e[r[i]],t[r[i]]))return!1;return!0}function Af({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const s=we.useMemo(()=>{const m=kf(e);return{store:e,subscription:m,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,n,i,o]),a=we.useMemo(()=>e.getState(),[e]);xf(()=>{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 we.createElement(u.Provider,{value:s},r)}var Tf=Af;function xc(e=nt){const t=e===nt?Sc:uo(e);return function(){const{store:n}=t();return n}}var Ac=xc();function Rf(e=nt){const t=e===nt?Ac:xc(e);return function(){return t().dispatch}}var Tc=Rf(),Pf=Ec;vf(yf.useSyncExternalStoreWithSelector);function Ms(e,t,r,n){const i=ae(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),o=xe(i);return te(()=>{o.current.serialized!==i.serialized&&(o.current=i)},[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var Hn=Symbol();function qn(e){const t=xe(e);return te(()=>{Jr(t.current,e)||(t.current=e)},[e]),Jr(t.current,e)?t.current:e}var wt=WeakMap?new WeakMap:void 0,If=({endpointName:e,queryArgs:t})=>{let r="";const n=wt==null?void 0:wt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,s)=>Ue(s)?Object.keys(s).sort().reduce((a,u)=>(a[u]=s[u],a),{}):s);Ue(t)&&(wt==null||wt.set(t,i)),r=i}return`${e}(${r})`},Mf=typeof window!="undefined"&&window.document&&window.document.createElement?mt:te,Ff=e=>e.isUninitialized?$(I({},e),{isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:pc.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():te;return{buildQueryHooks:h,buildMutationHook:d,usePrefetch:g};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,v=c.isLoading,y=!w&&v,b=c.isSuccess||v&&w;return $(I({},c),{data:p,currentData:c.data,isFetching:v,isLoading:y,isSuccess:b})}function g(c,l){const f=r(),p=qn(l);return bt((w,v)=>f(e.util.prefetch(c,w,I(I({},p),v))),[c,f,p])}function h(c){const l=(w,{refetchOnReconnect:v,refetchOnFocus:y,refetchOnMountOrArgChange:b,skip:S=!1,pollingInterval:k=0}={})=>{const{initiate:C}=e.endpoints[c],E=r(),x=xe();if(!x.current){const L=E(e.internalActions.internal_getRTKQSubscriptions());x.current=L}const A=Ms(S?ut:w,If,a.endpointDefinitions[c],c),R=qn({refetchOnReconnect:v,refetchOnFocus:y,pollingInterval:k}),F=xe(!1),P=xe();let{queryCacheKey:M,requestId:U}=P.current||{},G=!1;M&&U&&(G=x.current.isRequestSubscribed(M,U));const j=!G&&F.current;return u(()=>{F.current=G}),u(()=>{j&&(P.current=void 0)},[j]),u(()=>{var Z;const L=P.current;if(A===ut){L==null||L.unsubscribe(),P.current=void 0;return}const re=(Z=P.current)==null?void 0:Z.subscriptionOptions;if(!L||L.arg!==A){L==null||L.unsubscribe();const le=E(C(A,{subscriptionOptions:R,forceRefetch:b}));P.current=le}else R!==re&&L.updateSubscriptionOptions(R)},[E,C,b,A,R,j]),te(()=>()=>{var L;(L=P.current)==null||L.unsubscribe(),P.current=void 0},[]),ae(()=>({refetch:()=>{var L;if(!P.current)throw new Error(Ae(38));return(L=P.current)==null?void 0:L.refetch()}}),[])},f=({refetchOnReconnect:w,refetchOnFocus:v,pollingInterval:y=0}={})=>{const{initiate:b}=e.endpoints[c],S=r(),[k,C]=be(Hn),E=xe(),x=qn({refetchOnReconnect:w,refetchOnFocus:v,pollingInterval:y});u(()=>{var P,M;const F=(P=E.current)==null?void 0:P.subscriptionOptions;x!==F&&((M=E.current)==null||M.updateSubscriptionOptions(x))},[x]);const A=xe(x);u(()=>{A.current=x},[x]);const R=bt(function(F,P=!1){let M;return t(()=>{var U;(U=E.current)==null||U.unsubscribe(),E.current=M=S(b(F,{subscriptionOptions:A.current,forceRefetch:!P})),C(F)}),M},[S,b]);return te(()=>()=>{var F;(F=E==null?void 0:E.current)==null||F.unsubscribe()},[]),te(()=>{k!==Hn&&!E.current&&R(k,!0)},[k,R]),ae(()=>[R,k],[R,k])},p=(w,{skip:v=!1,selectFromResult:y}={})=>{const{select:b}=e.endpoints[c],S=Ms(v?ut:w,s,a.endpointDefinitions[c],c),k=xe(),C=ae(()=>Ct([b(S),(F,P)=>P,F=>S],m),[b,S]),E=ae(()=>y?Ct([C],y,{devModeChecks:{identityFunctionCheck:"never"}}):C,[C,y]),x=n(F=>E(F,k.current),Jr),A=i(),R=C(A.getState(),k.current);return Mf(()=>{k.current=R},[R]),x};return{useQueryState:p,useQuerySubscription:l,useLazyQuerySubscription:f,useLazyQuery(w){const[v,y]=f(w),b=p(y,$(I({},w),{skip:y===Hn})),S=ae(()=>({lastArg:y}),[y]);return ae(()=>[v,b,S],[v,b,S])},useQuery(w,v){const y=l(w,v),b=p(w,I({selectFromResult:w===ut||v!=null&&v.skip?void 0:Ff},v)),{data:S,status:k,isLoading:C,isSuccess:E,isError:x,error:A}=b;return jr({data:S,status:k,isLoading:C,isSuccess:E,isError:x,error:A}),ae(()=>I(I({},b),y),[b,y])}}}function d(c){return({selectFromResult:l,fixedCacheKey:f}={})=>{const{select:p,initiate:w}=e.endpoints[c],v=r(),[y,b]=be();te(()=>()=>{y!=null&&y.arg.fixedCacheKey||y==null||y.reset()},[y]);const S=bt(function(Z){const le=v(w(Z,{fixedCacheKey:f}));return b(le),le},[v,w,f]),{requestId:k}=y||{},C=ae(()=>p({fixedCacheKey:f,requestId:y==null?void 0:y.requestId}),[f,y,p]),E=ae(()=>l?Ct([C],l):C,[l,C]),x=n(E,Jr),A=f==null?y==null?void 0:y.arg.originalArgs:void 0,R=bt(()=>{t(()=>{y&&b(void 0),f&&v(e.internalActions.removeMutationResult({requestId:k,fixedCacheKey:f}))})},[v,f,y,k]),{endpointName:F,data:P,status:M,isLoading:U,isSuccess:G,isError:j,error:L}=x;jr({endpointName:F,data:P,status:M,isLoading:U,isSuccess:G,isError:j,error:L});const re=ae(()=>$(I({},x),{originalArgs:A,reset:R}),[x,A,R]);return ae(()=>[S,re],[S,re])}}}function Bf(e){return e.type==="query"}function Df(e){return e.type==="mutation"}function Wn(e){return e.replace(e[0],e[0].toUpperCase())}function Pr(e,...t){return Object.assign(e,...t)}var Of=Symbol(),Lf=(i={})=>{var o=i,{batch:e=Pf,hooks:t={useDispatch:Tc,useSelector:kc,useStore:Ac},unstable__sideEffectsInRender:r=!1}=o,n=ot(o,["batch","hooks","unstable__sideEffectsInRender"]);return{name:Of,init(s,{serializeQueryArgs:a},u){const m=s,{buildQueryHooks:g,buildMutationHook:h,usePrefetch:d}=Nf({api:s,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:a,context:u});return Pr(m,{usePrefetch:d}),Pr(u,{batch:e}),{injectEndpoint(c,l){if(Bf(l)){const{useQuery:f,useLazyQuery:p,useLazyQuerySubscription:w,useQueryState:v,useQuerySubscription:y}=g(c);Pr(m.endpoints[c],{useQuery:f,useLazyQuery:p,useLazyQuerySubscription:w,useQueryState:v,useQuerySubscription:y}),s[`use${Wn(c)}Query`]=f,s[`useLazy${Wn(c)}Query`]=p}else if(Df(l)){const f=h(c);Pr(m.endpoints[c],{useMutation:f}),s[`use${Wn(c)}Mutation`]=f}}}}}},Rc=Jd(cf(),Lf());const Pc=(e,t,r)=>pe(void 0,null,function*(){const n=t.getState().session.backendUrl;return jd({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=Rc({baseQuery:Pc,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:$f,useByofCampaignConnectQuery:Ic,useAppLoadedMutation:Uf,useErrorLogsMutation:wg}=Le;var yi={exports:{}};(function(e,t){(function(r,n){var i="1.0.37",o="",s="?",a="function",u="undefined",m="object",g="string",h="major",d="model",c="name",l="type",f="vendor",p="version",w="architecture",v="console",y="mobile",b="tablet",S="smarttv",k="wearable",C="embedded",E=500,x="Amazon",A="Apple",R="ASUS",F="BlackBerry",P="Browser",M="Chrome",U="Edge",G="Firefox",j="Google",L="Huawei",re="LG",Z="Microsoft",le="Motorola",He="Opera",ne="Samsung",Bt="Sharp",ie="Sony",Te="Xiaomi",Rn="Zebra",vo="Facebook",_o="Chromium OS",So="Mac OS",iu=function(z,V){var D={};for(var Y in z)V[Y]&&V[Y].length%2===0?D[Y]=V[Y].concat(z[Y]):D[Y]=z[Y];return D},Sr=function(z){for(var V={},D=0;D<z.length;D++)V[z[D].toUpperCase()]=z[D];return V},Co=function(z,V){return typeof z===g?Dt(V).indexOf(Dt(z))!==-1:!1},Dt=function(z){return z.toLowerCase()},ou=function(z){return typeof z===g?z.replace(/[^\d\.]/g,o).split(".")[0]:n},Pn=function(z,V){if(typeof z===g)return z=z.replace(/^\s\s*/,o),typeof V===u?z:z.substring(0,E)},Ot=function(z,V){for(var D=0,Y,Ye,Fe,W,B,Ne;D<V.length&&!B;){var Mn=V[D],xo=V[D+1];for(Y=Ye=0;Y<Mn.length&&!B&&Mn[Y];)if(B=Mn[Y++].exec(z),B)for(Fe=0;Fe<xo.length;Fe++)Ne=B[++Ye],W=xo[Fe],typeof W===m&&W.length>0?W.length===2?typeof W[1]==a?this[W[0]]=W[1].call(this,Ne):this[W[0]]=W[1]:W.length===3?typeof W[1]===a&&!(W[1].exec&&W[1].test)?this[W[0]]=Ne?W[1].call(this,Ne,W[2]):n:this[W[0]]=Ne?Ne.replace(W[1],W[2]):n:W.length===4&&(this[W[0]]=Ne?W[3].call(this,Ne.replace(W[1],W[2])):n):this[W]=Ne||n;D+=2}},In=function(z,V){for(var D in V)if(typeof V[D]===m&&V[D].length>0){for(var Y=0;Y<V[D].length;Y++)if(Co(V[D][Y],z))return D===s?n:D}else if(Co(V[D],z))return D===s?n:D;return z},su={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},ko={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"},Eo={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,He+" Mini"]],[/\bopr\/([\w\.]+)/i],[p,[c,He]],[/\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,G+" Focus"]],[/\bopt\/([\w\.]+)/i],[p,[c,He+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[c,He+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[c,"MIUI "+P]],[/fxios\/([-\w\.]+)/i],[p,[c,G]],[/\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,vo],p],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[c,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[c,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[p,[c,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[c,M+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,M+" WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[c,"Android "+P]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,p],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[p,[c,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[p,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[p,In,su]],[/(webkit|khtml)\/([\w\.]+)/i],[c,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[c,G+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[c,p],[/(cobalt)\/([\w\.]+)/i],[c,[p,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[w,"amd64"]],[/(ia32(?=;))/i],[[w,Dt]],[/((?:i[346]|x)86)[;\)]/i],[[w,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[w,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[w,"armhf"]],[/windows (ce|mobile); ppc;/i],[[w,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[w,/ower/,o,Dt]],[/(sun4\w)[;\)]/i],[[w,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[w,Dt]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[f,ne],[l,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[f,ne],[l,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[f,A],[l,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[f,A],[l,b]],[/(macintosh);/i],[d,[f,A]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[f,Bt],[l,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[f,L],[l,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[f,L],[l,y]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[f,Te],[l,y]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[f,Te],[l,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[f,"OPPO"],[l,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[f,"Vivo"],[l,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[f,"Realme"],[l,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[f,le],[l,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[f,le],[l,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[f,re],[l,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[f,re],[l,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[f,"Lenovo"],[l,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[f,"Nokia"],[l,y]],[/(pixel c)\b/i],[d,[f,j],[l,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[f,j],[l,y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[f,ie],[l,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[f,ie],[l,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[f,"OnePlus"],[l,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[f,x],[l,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[f,x],[l,y]],[/(playbook);[-\w\),; ]+(rim)/i],[d,f,[l,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[f,F],[l,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[f,R],[l,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[f,R],[l,y]],[/(nexus 9)/i],[d,[f,"HTC"],[l,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[f,[d,/_/g," "],[l,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[f,"Acer"],[l,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[f,"Meizu"],[l,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[f,"Ulefone"],[l,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[f,d,[l,y]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[f,d,[l,b]],[/(surface duo)/i],[d,[f,Z],[l,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[f,"Fairphone"],[l,y]],[/(u304aa)/i],[d,[f,"AT&T"],[l,y]],[/\bsie-(\w*)/i],[d,[f,"Siemens"],[l,y]],[/\b(rct\w+) b/i],[d,[f,"RCA"],[l,b]],[/\b(venue[\d ]{2,7}) b/i],[d,[f,"Dell"],[l,b]],[/\b(q(?:mv|ta)\w+) b/i],[d,[f,"Verizon"],[l,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[f,"Barnes & Noble"],[l,b]],[/\b(tm\d{3}\w+) b/i],[d,[f,"NuVision"],[l,b]],[/\b(k88) b/i],[d,[f,"ZTE"],[l,b]],[/\b(nx\d{3}j) b/i],[d,[f,"ZTE"],[l,y]],[/\b(gen\d{3}) b.+49h/i],[d,[f,"Swiss"],[l,y]],[/\b(zur\d{3}) b/i],[d,[f,"Swiss"],[l,b]],[/\b((zeki)?tb.*\b) b/i],[d,[f,"Zeki"],[l,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[f,"Dragon Touch"],d,[l,b]],[/\b(ns-?\w{0,9}) b/i],[d,[f,"Insignia"],[l,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[f,"NextBook"],[l,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],d,[l,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[f,"LvTel"],d,[l,y]],[/\b(ph-1) /i],[d,[f,"Essential"],[l,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[f,"Envizen"],[l,b]],[/\b(trio[-\w\. ]+) b/i],[d,[f,"MachSpeed"],[l,b]],[/\btu_(1491) b/i],[d,[f,"Rotor"],[l,b]],[/(shield[\w ]+) b/i],[d,[f,"Nvidia"],[l,b]],[/(sprint) (\w+)/i],[f,d,[l,y]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[f,Z],[l,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[f,Rn],[l,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[f,Rn],[l,y]],[/smart-tv.+(samsung)/i],[f,[l,S]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[f,ne],[l,S]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[f,re],[l,S]],[/(apple) ?tv/i],[f,[d,A+" TV"],[l,S]],[/crkey/i],[[d,M+"cast"],[f,j],[l,S]],[/droid.+aft(\w+)( bui|\))/i],[d,[f,x],[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,Pn],[d,Pn],[l,S]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[l,S]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,d,[l,v]],[/droid.+; (shield) bui/i],[d,[f,"Nvidia"],[l,v]],[/(playstation [345portablevi]+)/i],[d,[f,ie],[l,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[f,Z],[l,v]],[/((pebble))app/i],[f,d,[l,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[f,A],[l,k]],[/droid.+; (glass) \d/i],[d,[f,j],[l,k]],[/droid.+; (wt63?0{2,3})\)/i],[d,[f,Rn],[l,k]],[/(quest( 2| pro)?)/i],[d,[f,vo],[l,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[f,[l,C]],[/(aeobc)\b/i],[d,[f,x],[l,C]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[l,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[l,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[l,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[l,y]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[f,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[c,U+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[c,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[c,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,p],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[c,[p,In,ko]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,In,ko],[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,So],[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,F]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[c,G+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[c,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[p,[c,"watchOS"]],[/crkey\/([\d\.]+)/i],[p,[c,M+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[c,_o],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(z,V){if(typeof z===m&&(V=z,z=n),!(this instanceof Re))return new Re(z,V).getResult();var D=typeof r!==u&&r.navigator?r.navigator:n,Y=z||(D&&D.userAgent?D.userAgent:o),Ye=D&&D.userAgentData?D.userAgentData:n,Fe=V?iu(Eo,V):Eo,W=D&&D.userAgent==Y;return this.getBrowser=function(){var B={};return B[c]=n,B[p]=n,Ot.call(B,Y,Fe.browser),B[h]=ou(B[p]),W&&D&&D.brave&&typeof D.brave.isBrave==a&&(B[c]="Brave"),B},this.getCPU=function(){var B={};return B[w]=n,Ot.call(B,Y,Fe.cpu),B},this.getDevice=function(){var B={};return B[f]=n,B[d]=n,B[l]=n,Ot.call(B,Y,Fe.device),W&&!B[l]&&Ye&&Ye.mobile&&(B[l]=y),W&&B[d]=="Macintosh"&&D&&typeof D.standalone!==u&&D.maxTouchPoints&&D.maxTouchPoints>2&&(B[d]="iPad",B[l]=b),B},this.getEngine=function(){var B={};return B[c]=n,B[p]=n,Ot.call(B,Y,Fe.engine),B},this.getOS=function(){var B={};return B[c]=n,B[p]=n,Ot.call(B,Y,Fe.os),W&&!B[c]&&Ye&&Ye.platform!="Unknown"&&(B[c]=Ye.platform.replace(/chrome os/i,_o).replace(/macos/i,So)),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 Y},this.setUA=function(B){return Y=typeof B===g&&B.length>E?Pn(B,E):B,this},this.setUA(Y),this};Re.VERSION=i,Re.BROWSER=Sr([c,p,h]),Re.CPU=Sr([w]),Re.DEVICE=Sr([d,f,l,v,y,S,b,k,C]),Re.ENGINE=Re.OS=Sr([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 Cr=new Re;gt.ua=Cr.getResult(),gt.ua.get=function(){return Cr.getUA()},gt.ua.set=function(z){Cr.setUA(z);var V=Cr.getResult();for(var D in V)gt.ua[D]=V[D]}}})(typeof window=="object"?window:cl)})(yi,yi.exports);var zf=yi.exports;const Vn=new zf.UAParser,Mc=()=>/iPad|iPhone|iPod/.test(navigator.userAgent),Fc=()=>/Android/.test(navigator.userAgent),$e=()=>Fc()||Mc(),Nc=()=>({deviceType:Fc()||Mc()?"Mobile":"Desktop",platform:Vn.getOS().name,Browser:Vn.getBrowser().name,"Browser Version":Vn.getBrowser().version}),Kt=Rc({baseQuery:Pc,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),Nc())}})}),segmentPage:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/p",method:"POST",body:{event:t,properties:r}})})})}),{useSegmentIdentifyMutation:jf,useSegmentTrackMutation:Hf,useSegmentPageMutation:bg}=Kt,qf={selectedVariants:{}},wi=We({name:"experimentsData",initialState:qf,reducers:{setExperiment:(e,t)=>{const{experimentName:r,selectedVariant:n}=t.payload;return e.selectedVariants[r]||(e.selectedVariants[r]=n),e}}}),{setExperiment:Wf}=wi.actions,bi=We({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:Vf}=bi.actions,vi=We({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:Qf,setSelectedFund:Bc,clearSelectedFund:qe}=vi.actions,lt=gd({reducer:{[bi.name]:bi.reducer,[Le.reducerPath]:Le.reducer,[Kt.reducerPath]:Kt.reducer,[vi.reducerPath]:vi.reducer,[wi.reducerPath]:wi.reducer},middleware:e=>e().concat(Le.middleware,Kt.middleware)}),Sn=()=>Tc(),ze=kc,lo="32367272075001",fo="slate",ke=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},Kf=()=>{ke({sender:"byof-engagement",type:"continue",reason:"No content to display"})},Jf=()=>{ke({sender:"byof-engagement",type:"continue",reason:"Continue button was clicked"})},Yf=()=>{ke({sender:"byof-engagement",type:"continue",reason:"Timeout, or a backend error has occurred"})},Gf=()=>{const[e]=Hf();return()=>{ke({sender:"super-campaign",type:"choose-another-fund-requested"}),e({event:"FeaturedFunds Skipped",properties:{method:"button"}})}},Xf=e=>{ke({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.fundType}))})},Zf=e=>{ke({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.fundType,fundName:e.name,fundUsi:e.fundId===fo?lo:void 0})},fe=e=>{ke({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:e.fundId===fo?lo:void 0})},ep=()=>{ke({sender:"super-campaign",type:"disclaimer-accepted"})},tp=()=>{ke({sender:"super-campaign",type:"disclaimer-viewed"})},jt=e=>{ke({sender:"super-campaign",type:"promoted-fund-joined",fundJoinInfo:e})},rp=()=>{ke({sender:"super-campaign",type:"super-campaign-loaded"})},np=e=>{ke({sender:"super-campaign",type:"super-campaign-load-failed",reason:e})},ip=e=>{ke({sender:"super-campaign",type:"super-campaign-failed",reason:e})};var op=0;function Yr(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:--op,__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 N.vnode&&N.vnode(m),m}var Ze=_e;function _(e,t,r){return wn.call(t,"css")?Yr(Ja,Ka(e,t),r):Yr(e,t,r)}function T(e,t,r){return wn.call(t,"css")?Yr(Ja,Ka(e,t),r):Yr(e,t,r)}const sp=J.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),ap="_extnav=true",O=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}${ap}`;return _(sp,$(I({target:"_blank",href:a,onClick:t},n),{children:r}))},cp=""+new URL("assets/logo-aware-DYvmVUZ1.svg",import.meta.url).href,up="Aware Super",_i={fundId:"aware-super",name:up,logo:cp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Multi-award winning fund named Retirement Offering of the Year 2024.^"}),_("p",{children:"Members get a 45-minute Super Helpful check-in with an advisor."}),_("p",{children:"8.97% p.a.* returns over 10 years to 31 March 2024 (High Growth option)"})],disclaimer:T("div",{children:[T("p",{children:["Consider if we’re right for you and read the"," ",_(O,{onClick:()=>fe(_i),link:"https://aware.com.au/member/contact-aware-super/forms-and-documents/",children:"PDS and TMD"}),".",_("br",{}),"^Awards are just one factor to consider when deciding on a product."," ",_(O,{link:"https://aware.com.au/member/about-us/awards/",children:"Learn about our awards"}),".",_("br",{}),"*SuperRatings Fund Crediting Rate Survey, March 2024. Based on SR50 Growth (77-90) Index. Past performance does not indicate future performance."]}),_("br",{}),_("p",{children:"Aware Super Pty Ltd (ABN 11 118 202 672, AFSL 293340), trustee of Aware Super (ABN 53 226 460 365)."})]})},lp=""+new URL("assets/logo-brighter-cKB6xH2M.svg",import.meta.url).href,dp="https://www.brightersuper.com.au/-/media/public/files/pds-and-guides/accumulation-account-pds.pdf",fp="https://www.brightersuper.com.au/-/media/public/files/target-market-determination/tmd-brighter-super-accumulation-account.pdf",pp="https://www.brightersuper.com.au/news/double-digit-returns-in-2023-and-some-of-the-lowest-fees-in-australia",hp="https://www.brightersuper.com.au/about-us/awards",mp="Brighter Super",Si={fundId:"brightersuper",name:mp,logo:lp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Double-digit returns for our MySuper option in 2023^"}),_("p",{children:"Top 3 industry fund for lowest MySuper fees in Australia^"}),T("p",{children:["Platinum rated by SuperRatings for 16 years in a row",_("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."," ",_(O,{link:pp,children:"Find out more about our MySuper fees and returns."}),_("sup",{css:{fontSize:"0.625rem"},children:"+"}),"Ratings are only one factor to consider."," ",_(O,{link:hp,children:"View our ratings and awards."})]}),T("p",{children:["Consider the"," ",_(O,{link:dp,onClick:()=>fe(Si),children:"PDS"})," ","& ",_(O,{link:fp,children:"TMD"})," before deciding to join."]}),_("p",{children:"Issued by LGIAsuper Trustee (ABN 94 085 088 484, AFSL 230511) as trustee for LGIAsuper (ABN 23 053 121 584), t/a Brighter Super."})]})},gp=""+new URL("assets/logo-first-CusDmGWL.svg",import.meta.url).href,yp="First Super",Ci={fundId:"first-super",name:yp,logo:gp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Industry SuperFund that offers five investment options and default insurance"}),_("p",{children:"Strong long-term investment returns and superior customer service - members first"}),_("p",{children:"Established super fund – anyone can join including KiwiSaver members"})],disclaimer: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"," ",_(O,{onClick:()=>fe(Ci),link:"https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/",children:"website"}),". Past performance is not a reliable indicator of future performance."]}),_("br",{}),_("p",{children:"Issued by First Super Pty Ltd ABN 42 053 498 472, AFSL 223988 (Trustee) as Trustee of First Super ABN 56 286 625 181."})]})},wp=""+new URL("assets/logo-hesta-NL7xF41R.svg",import.meta.url).href,bp="HESTA",ki={fundId:"hesta-default",name:bp,logo:wp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"A top-performing super fund* working for real-world impact"}),_("p",{children:"1+ million members"}),_("p",{children:"Expert help whenever you need it to help you face the future with confidence"})],featureSubText:void 0,disclaimer: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"," ",_(O,{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"," ",_(O,{onClick:()=>fe(ki),link:"https://www.hesta.com.au/pds",children:"hesta.com.au/pds"})," ","In considering your own circumstances about the suitability of HESTA products, you may wish to consult an adviser or use the ATO YourSuper comparison tool. Please also consider the relevant risks."]}),_("p",{children:"Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"})]})},vp=""+new URL("assets/logo-legalsuper-xG2DgGHY.svg",import.meta.url).href,_p="legalsuper",Jt={fundId:"legalsuper",name:_p,logo:vp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Strong performance - our investment options are designed to deliver steady returns."}),_("p",{children:"Personalised support - so you can access advice, knowledge and assistance when you need it."}),_("p",{children:"Tailored insurance - various cover options that adapt to life’s milestones and career changes."})],disclaimer: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"," ",_(O,{link:"https://www.legalsuper.com.au/super-pds",onClick:()=>fe(Jt),children:"Product Disclosure Statement (PDS)"})," ","and"," ",_(O,{link:"https://www.legalsuper.com.au/super-tmd",onClick:()=>fe(Jt),children:"Target Market Determination (TMD)"})," ","available at"," ",_(O,{link:"https://www.legalsuper.com.au/",onClick:()=>fe(Jt),children:"www.legalsuper.com.au"})," ","before making any decision. Past performance is not a guide to future performance."]}),_("p",{children:"Legal Super Pty Ltd ABN 37 004 455 789 AFSL 246315 as the Trustee for legalsuper ABN 60 346 078 879."})]})},Sp=""+new URL("assets/coverImage-BkXL9zfW.png",import.meta.url).href,Cp=""+new URL("assets/logo-mercer-mychoice-BB6VztRp.svg",import.meta.url).href,kp=["35225A44-1235-4774-A292-69461DCF16E4","42EC210A-07EB-4252-82C5-F10FBE6884D6","5EF1A2B7-4AED-46BA-9455-E118664DFA16","A7E3600B-40B3-4B48-9BC1-D78C91CAA365"],Ep="Mercer MyChoice",Gr={fundId:"mercermychoice",name:Ep,logo:Cp,coverImage:Sp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Save more super with our low fees"}),_("p",{children:"Take control with 6 MyChoice investment options"}),_("p",{children:"Join 850,000 Australians who trust our global expertise"})],disclaimer:T("div",{children:[T("p",{children:["You should consider the"," ",_(O,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>fe(Gr),children:"Product Disclosure Statement"})," ","and"," ",_(O,{link:"https://www.mercersuper.com.au/documents/target-market-determinations",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),_("br",{}),_("p",{children:"Issued by Mercer Superannuation (Australia) Limited (‘Mercer Super’) ABN: 79 004 717 533"})]}),extraBadge:_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"}),footnoteTextOverride:"Powered by Flare FS",experiments:{"social-validation-business-mercermychoice":{splitType:"percentage",rotations:0,shouldRun:e=>{var n,i;const t=Le.endpoints.campaignConnect.select()(e).data,r=(n=t==null?void 0:t.userProfile.accountId)!=null?n:"";return!!(kp.includes(r)&&(t!=null&&t.promotedFunds.find(o=>o.fundId==="mercermychoice"))&&(!$e()||((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}]}}},xp=""+new URL("assets/logo-mine-7mxPtjsF.svg",import.meta.url).href,Ap="Mine Super",Ei={fundId:"mine",name:Ap,logo:xp,iframeType:"PromotedFundJoinV2",features:[T("p",{children:[_("i",{children:"Money"})," magazine’s Best of the Best Awards for Best Value Superannuation Fund for Young People 2024."]}),_("p",{children:"Insurance cover^ that’s got your back if you’re unable to work due to sickness or injury."}),_("p",{children:"One of the lowest fixed admin fees ($0.75 per week)."})],featureSubText:["^Subject to meeting eligibility criteria."],disclaimer:_("div",{children: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"," ",_(O,{link:"https://www.mine.com.au/super/about-my-super/super-pds",onClick:()=>fe(Ei),children:"PDS"})," ","and ",_(O,{link:"https://www.mine.com.au/tmd",children:"TMDs"})," on our website at ",_(O,{link:"https://www.mine.com.au/",children:"mine.com.au"})," when considering if our financial products are right for you."]})})},Tp=""+new URL("assets/logo-reisuper-aM5iDbpN.svg",import.meta.url).href,Rp="REI Super",xi={fundId:"reisuper",name:Rp,logo:Tp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Built by and for the real estate industry"}),_("p",{children:"Consistent long-term performance with competitive fees*"}),_("p",{children:"All profits to members, not shareholders"})],disclaimer: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:[_("p",{children:"*Balanced Option net investment return of 9.45% for year ending 30 June 2023."}),T("p",{children:["You should consider the"," ",_(O,{link:"https://www.reisuper.com.au/docs/default-source/super/rei-super-pds.pdf?utm_source=flarehr&utm_medium=banners&utm_campaign=flarehr_join&utm_term=pds",onClick:()=>fe(xi),children:"Product Disclosure Statement"})," ","and"," ",_(O,{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"},Pp=""+new URL("assets/logo-slate-CowODvPX.png",import.meta.url).href,Ip="Slate Super",ur={fundId:fo,name:Ip,logo:Pp,iframeType:"SlateJoin",features:[_("p",{children:"A lifestage investment strategy that evolves with you"}),_("p",{children:"Advanced mobile app with retirement forecast and smart features"}),_("p",{children:"Member advocates at Slate to assist with your account"})],disclaimer:T("p",{children:["You should consider the"," ",_(O,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>fe(ur),children:"Product Disclosure Statement"})," ","and"," ",_(O,{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"},Mp=""+new URL("assets/logo-spirit-CAaRIHR7.svg",import.meta.url).href,Fp="Spirit Super",Ai={fundId:"spirit",name:Fp,logo:Mp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Industry SuperFund - profit to members"}),T("p",{children:["Low fees",_("sup",{css:{fontSize:"0.625rem"},children:"1"})," and a history of strong returns",_("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),T("p",{children:["Best customer experience",_("sup",{css:{fontSize:"0.625rem"},children:"3"})]})],featureSubText:_("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:[_("li",{children:_("span",{children:"$67.60 + 0.15% of account balance pa in admin fees, capped at $517.60"})}),_("li",{children:_("span",{children:"Past performance isn't a reliable indicator of future performance"})}),_("li",{children:_("span",{children:_(O,{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"," ",_(O,{link:"https://www.spiritsuper.com.au",onClick:()=>fe(Ai),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)."]})},Np=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,Bp="Unisuper",Dp="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",Op="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Ti={fundId:"unisuper",name:Bp,logo:Np,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Our fees are among the lowest in the industry.^"}),_("p",{children:"Our strong, long-term performance regularly exceeds industry averages.*"}),T("p",{children:["We’re consistently awarded as one of Australia’s best-performing funds.",_("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"," ",_(O,{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"," ",_(O,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),T("p",{children:[_("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",_(O,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),T("p",{children:["Remember to consider the"," ",_(O,{link:Dp,onClick:()=>fe(Ti),children:"Product Disclosure Statement"})," ","and ",_(O,{link:Op,children:"Target Market Determination"})," that is relevant to you."]}),_("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},Lp=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,$p=""+new URL("assets/unisuper-default-badge1-CC2-KRH2.svg",import.meta.url).href,Up=""+new URL("assets/unisuper-default-badge2-CqUa_Zky.svg",import.meta.url).href,zp=""+new URL("assets/unisuper-default-badge3-B7j1-pyZ.svg",import.meta.url).href,Ir="Unisuper",jp="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",Hp="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Ri={fundId:"unisuper-default-v2",name:Ir,logo:Lp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Low fees, better value – Our fees are among the lowest in the industry.^"}),_("p",{children:"Strong, long-term performance – We regularly exceed industry averages.*"}),T("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",_("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],customContent:T("div",{css:{marginTop:"1.5rem",display:"flex",gap:"0.75rem"},children:[_("div",{children:_("img",{alt:Ir,src:$p})}),_("div",{children:_("img",{alt:Ir,src:Up})}),_("div",{children:_("img",{alt:Ir,src:zp})})]}),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"," ",_(O,{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"," ",_(O,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),T("p",{children:[_("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",_(O,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),T("p",{children:["Remember to consider the"," ",_(O,{link:jp,onClick:()=>fe(Ri),children:"Product Disclosure Statement"})," ","and ",_(O,{link:Hp,children:"Target Market Determination"})," that is relevant to you."]}),_("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},qp=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,Fs=["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"],Wp=["35225A44-1235-4774-A292-69461DCF16E4","42EC210A-07EB-4252-82C5-F10FBE6884D6","5EF1A2B7-4AED-46BA-9455-E118664DFA16","A7E3600B-40B3-4B48-9BC1-D78C91CAA365"],Vp="Virgin Money Super",Pi={fundId:"virgin",name:Vp,logo:qp,iframeType:"PromotedFundJoinV2",features:[T("p",{children:["Returns above industry and retail super fund medians over the past 5 years",_("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),_("p",{children:"One of the lowest fees in the market"}),T("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",_("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:_("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children: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:[_("li",{children:_("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),_("li",{children:_("span",{children:_(O,{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"," ",_(O,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>fe(Pi),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"}),footnoteTextOverride:"Powered by Flare FS",experiments:{"social-validation-business-virgin":{splitType:"percentage",rotations:0,shouldRun:e=>{var n,i;const t=Le.endpoints.campaignConnect.select()(e).data,r=(n=t==null?void 0:t.userProfile.accountId)!=null?n:"";return!!(Fs.includes(r)&&(t!=null&&t.promotedFunds.find(o=>o.fundId==="virgin"))&&(!$e()||((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=Wp.concat(Fs),r=Le.endpoints.campaignConnect.select()(e).data,n=(i=r==null?void 0:r.userProfile.accountId)!=null?i:"";return!!(!t.includes(n)&&(r!=null&&r.promotedFunds.find(s=>s.fundId==="virgin"))&&(!$e()||((o=r==null?void 0:r.promotedFunds)==null?void 0:o[0].fundId)==="virgin")&&!(r!=null&&r.promotedFunds.find(s=>s.fundId==="mercermychoice")))},variants:[{variantName:"control",percentage:5},{variantName:"badge",percentage:95}]}}},Qp=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,Kp="Virgin Money Super",Ii={fundId:"virgin-default",name:Kp,logo:Qp,iframeType:"PromotedFundJoinV2",features:[T("p",{children:["Returns above industry and retail super fund medians over the past 5 years",_("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),_("p",{children:"One of the lowest fees in the market"}),T("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",_("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:_("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children: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:[_("li",{children:_("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),_("li",{children:_("span",{children:_(O,{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"," ",_(O,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>fe(Ii),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"}),footnoteTextOverride:"Powered by Flare FS"},Jp=5*1e3;let Ur=[];const ye=(e,t)=>{Ur.push({log:e,params:I(I({},t),Nc())})},Yp=()=>setInterval(()=>pe(void 0,null,function*(){Ur.length>0&&"data"in(yield lt.dispatch(Le.endpoints.errorLogs.initiate({logs:Ur})))&&(Ur=[])}),Jp),po=e=>{switch(e.fundId){case _i.fundId:return $(I({},_i),{fundType:e.type});case Si.fundId:return $(I({},Si),{fundType:e.type});case Ci.fundId:return $(I({},Ci),{fundType:e.type});case ki.fundId:return $(I({},ki),{fundType:e.type});case Jt.fundId:return $(I({},Jt),{fundType:e.type});case Gr.fundId:return $(I({},Gr),{fundType:e.type});case Ei.fundId:return $(I({},Ei),{fundType:e.type});case xi.fundId:return $(I({},xi),{fundType:e.type});case ur.fundId:return $(I({},ur),{fundType:e.type});case Ai.fundId:return $(I({},Ai),{fundType:e.type});case Ti.fundId:return $(I({},Ti),{fundType:e.type});case Ri.fundId:return $(I({},Ri),{fundType:e.type});case Pi.fundId:return $(I({},Pi),{fundType:e.type});case Ii.fundId:return $(I({},Ii),{fundType:e.type})}return null},Gp=e=>{const t=[];for(const n of e){const i=po(n);i?t.push(i):ye(`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=Gr;return ye(`No fund IDs were mapped, returning "${r.fundId}"`,{funds:e}),[$(I({},r),{fundType:"promoted"})]},Xp=e=>e==="unisuper-db"?"UniSuper":(ye('No defined-benefits fund IDs were mapped."',{fundId:e}),""),Dc=()=>{const{selectedFund:e}=ze(r=>r.state);let t="Powered by Flare";if(e){const r=po({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:[_("span",{children:t}),T("p",{css:{display:"block",color:"transparent"},children:["v","1.43.43"]})]})},Ke=({size:e=48})=>_("div",{css:{display:"inline-block","@keyframes spin":{to:{transform:"rotate(360deg)"}},animation:"spin 1s linear infinite"},children:T("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM1.99743 8C1.99743 11.3151 4.68487 14.0026 8 14.0026C11.3151 14.0026 14.0026 11.3151 14.0026 8C14.0026 4.68487 11.3151 1.99743 8 1.99743C4.68487 1.99743 1.99743 4.68487 1.99743 8Z",fill:"white","fill-opacity":"0.3"}),_("path",{d:"M8 1C8 0.447715 8.44943 -0.00643769 8.99741 0.0624193C9.70527 0.151368 10.3996 0.334798 11.0615 0.608964C12.0321 1.011 12.914 1.60028 13.6569 2.34315C14.3997 3.08602 14.989 3.96793 15.391 4.93853C15.6652 5.60043 15.8486 6.29473 15.9376 7.0026C16.0064 7.55057 15.5523 8 15 8C14.4477 8 14.0085 7.54925 13.9169 7.00462C13.842 6.55939 13.7169 6.12298 13.5433 5.7039C13.2417 4.97595 12.7998 4.31451 12.2426 3.75736C11.6855 3.20021 11.0241 2.75825 10.2961 2.45672C9.87702 2.28313 9.44061 2.15804 8.99538 2.08314C8.45075 1.99152 8 1.55228 8 1Z",css:{fill:"var(--fl-color-primary)"}})]})}),Cn=({fillWidth:e=!1,fillWidthOnMobile:t=!1,disabled:r=!1,onClick:n=void 0,children:i})=>{const[o,s]=be(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:()=>pe(void 0,null,function*(){if(!(!n||o===1))try{s(1),yield n(),s(0)}catch(u){throw s(2),u}}),children:[o===1&&_(Ke,{size:16}),_("div",{css:[o===1&&{display:"none"}],children:i})]})},Zp=J.div({width:"fit-content",borderRadius:"0.5rem",borderWidth:"1px"}),eh=J.div({display:"flex",justifyContent:"flex-end",paddingRight:"0.5rem",paddingTop:"0.5rem"}),th=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))"}),rh=J.div({padding:"0.75rem","@media (min-width: 640px)":{paddingLeft:"3.5rem",paddingRight:"3.5rem",paddingBottom:"2rem"}}),nh=({pillContent:e,children:t})=>T(Zp,{children:[e&&_(eh,{children:_(th,{children:e})}),_(rh,{children:t})]});class Ht extends Error{}Ht.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 oh(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 Oc(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=oh(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 sh=e=>Oc(e),ah=()=>{const{superBackendUrl:e,accessToken:t,fundUsi:r}=ze(s=>s.session),{data:n}=Ic(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}=sh(t);(!n||n.engagements.length===0)&&ye("No engagements found when attempting to create tracked link");const{accountId:g,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=${g}&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 ch(e){const t=document.documentElement;for(const r in e.colors)t.style.setProperty(`--${r}`,e.colors[r])}var br={},uh=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Lc={},Ee={};let ho;const lh=[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];Ee.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};Ee.getSymbolTotalCodewords=function(t){return lh[t]};Ee.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};Ee.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');ho=t};Ee.isKanjiModeEnabled=function(){return typeof ho!="undefined"};Ee.toSJIS=function(t){return ho(t)};var kn={};(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}}})(kn);function $c(){this.buffer=[],this.length=0}$c.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 dh=$c;function vr(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)}vr.prototype.set=function(e,t,r,n){const i=e*this.size+t;this.data[i]=r,n&&(this.reservedBit[i]=!0)};vr.prototype.get=function(e,t){return this.data[e*this.size+t]};vr.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r};vr.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var fh=vr,Uc={};(function(e){const t=Ee.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}})(Uc);var zc={};const ph=Ee.getSymbolSize,Ns=7;zc.getPositions=function(t){const r=ph(t);return[[0,0],[r-Ns,0],[0,r-Ns]]};var jc={};(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,g=null;for(let h=0;h<o;h++){a=u=0,m=g=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===g?u++:(u>=5&&(s+=t.N1+(u-5)),g=c,u=1)}a>=5&&(s+=t.N1+(a-5)),u>=5&&(s+=t.N1+(u-5))}return s},e.getPenaltyN2=function(i){const o=i.size;let s=0;for(let a=0;a<o-1;a++)for(let u=0;u<o-1;u++){const 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 g=0;g<o;g++)a=a<<1&2047|i.get(m,g),g>=10&&(a===1488||a===93)&&s++,u=u<<1&2047|i.get(g,m),g>=10&&(u===1488||u===93)&&s++}return s*t.N3},e.getPenaltyN4=function(i){let o=0;const s=i.data.length;for(let u=0;u<s;u++)o+=i.data[u];return Math.abs(Math.ceil(o*100/s/5)-10)*t.N4};function r(n,i,o){switch(n){case e.Patterns.PATTERN000:return(i+o)%2===0;case e.Patterns.PATTERN001:return i%2===0;case e.Patterns.PATTERN010:return o%3===0;case e.Patterns.PATTERN011:return(i+o)%3===0;case e.Patterns.PATTERN100:return(Math.floor(i/2)+Math.floor(o/3))%2===0;case e.Patterns.PATTERN101:return i*o%2+i*o%3===0;case e.Patterns.PATTERN110:return(i*o%2+i*o%3)%2===0;case e.Patterns.PATTERN111:return(i*o%3+(i+o)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}e.applyMask=function(i,o){const s=o.size;for(let a=0;a<s;a++)for(let u=0;u<s;u++)o.isReserved(u,a)||o.xor(u,a,r(i,u,a))},e.getBestMask=function(i,o){const s=Object.keys(e.Patterns).length;let a=0,u=1/0;for(let m=0;m<s;m++){o(m),e.applyMask(m,i);const g=e.getPenaltyN1(i)+e.getPenaltyN2(i)+e.getPenaltyN3(i)+e.getPenaltyN4(i);e.applyMask(m,i),g<u&&(u=g,a=m)}return a}})(jc);var En={};const Xe=kn,Mr=[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],Fr=[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 Xe.L:return Mr[(t-1)*4+0];case Xe.M:return Mr[(t-1)*4+1];case Xe.Q:return Mr[(t-1)*4+2];case Xe.H:return Mr[(t-1)*4+3];default:return}};En.getTotalCodewordsCount=function(t,r){switch(r){case Xe.L:return Fr[(t-1)*4+0];case Xe.M:return Fr[(t-1)*4+1];case Xe.Q:return Fr[(t-1)*4+2];case Xe.H:return Fr[(t-1)*4+3];default:return}};var Hc={},xn={};const Yt=new Uint8Array(512),Xr=new Uint8Array(256);(function(){let t=1;for(let r=0;r<255;r++)Yt[r]=t,Xr[t]=r,t<<=1,t&256&&(t^=285);for(let r=255;r<512;r++)Yt[r]=Yt[r-255]})();xn.log=function(t){if(t<1)throw new Error("log("+t+")");return Xr[t]};xn.exp=function(t){return Yt[t]};xn.mul=function(t,r){return t===0||r===0?0:Yt[Xr[t]+Xr[r]]};(function(e){const t=xn;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}})(Hc);const qc=Hc;function mo(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}mo.prototype.initialize=function(t){this.degree=t,this.genPoly=qc.generateECPolynomial(this.degree)};mo.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=qc.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 hh=mo,Wc={},it={},go={};go.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var je={};const Vc="[0-9]+",mh="[A-Z $%*+\\-./:]+";let lr="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";lr=lr.replace(/u/g,"\\u");const gh="(?:(?![A-Z0-9 $%*+\\-./:]|"+lr+`)(?:.|[\r
17
- ]))+`;je.KANJI=new RegExp(lr,"g");je.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");je.BYTE=new RegExp(gh,"g");je.NUMERIC=new RegExp(Vc,"g");je.ALPHANUMERIC=new RegExp(mh,"g");const yh=new RegExp("^"+lr+"$"),wh=new RegExp("^"+Vc+"$"),bh=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");je.testKanji=function(t){return yh.test(t)};je.testNumeric=function(t){return wh.test(t)};je.testAlphanumeric=function(t){return bh.test(t)};(function(e){const t=go,r=je;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=Ee,r=En,n=kn,i=it,o=go,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 g(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(g(d,l)<=e.getCapacity(l,c,i.MIXED))return l}e.from=function(c,l){return o.isValid(c)?parseInt(c,10):l},e.getCapacity=function(c,l,f){if(!o.isValid(c))throw new Error("Invalid QR Code version");typeof f=="undefined"&&(f=i.BYTE);const p=t.getSymbolTotalCodewords(c),w=r.getTotalCodewordsCount(c,l),v=(p-w)*8;if(f===i.MIXED)return v;const y=v-m(f,c);switch(f){case i.NUMERIC:return Math.floor(y/10*3);case i.ALPHANUMERIC:return Math.floor(y/11*2);case i.KANJI:return Math.floor(y/13);case i.BYTE:default:return Math.floor(y/8)}},e.getBestVersionForData=function(c,l){let f;const p=n.from(l,n.M);if(Array.isArray(c)){if(c.length>1)return 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}})(Wc);var Qc={};const Mi=Ee,Kc=1335,vh=21522,Bs=Mi.getBCHDigit(Kc);Qc.getEncodedBits=function(t,r){const n=t.bit<<3|r;let i=n<<10;for(;Mi.getBCHDigit(i)-Bs>=0;)i^=Kc<<Mi.getBCHDigit(i)-Bs;return(n<<10|i)^vh};var Jc={};const _h=it;function Rt(e){this.mode=_h.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 Sh=Rt;const Ch=it,Qn=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function Pt(e){this.mode=Ch.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=Qn.indexOf(this.data[r])*45;n+=Qn.indexOf(this.data[r+1]),t.put(n,11)}this.data.length%2&&t.put(Qn.indexOf(this.data[r]),6)};var kh=Pt,Eh=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 xh=Eh,Ah=it;function It(e){this.mode=Ah.BYTE,typeof e=="string"&&(e=xh(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 Th=It;const Rh=it,Ph=Ee;function Mt(e){this.mode=Rh.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=Ph.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 Ih=Mt,Yc={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,g,h,d,c,l,f,p;!a.empty();){u=a.pop(),m=u.value,h=u.cost,d=r[m]||{};for(g in d)d.hasOwnProperty(g)&&(c=d[g],l=h+c,f=s[g],p=typeof s[g]=="undefined",(p||f>l)&&(s[g]=l,a.push(g,l),o[g]=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})(Yc);var Mh=Yc.exports;(function(e){const t=it,r=Sh,n=kh,i=Th,o=Ih,s=je,a=Ee,u=Mh;function m(w){return unescape(encodeURIComponent(w)).length}function g(w,v,y){const b=[];let S;for(;(S=w.exec(y))!==null;)b.push({data:S[0],index:S.index,mode:v,length:S[0].length});return b}function h(w){const v=g(s.NUMERIC,t.NUMERIC,w),y=g(s.ALPHANUMERIC,t.ALPHANUMERIC,w);let b,S;return a.isKanjiModeEnabled()?(b=g(s.BYTE,t.BYTE,w),S=g(s.KANJI,t.KANJI,w)):(b=g(s.BYTE_KANJI,t.BYTE,w),S=[]),v.concat(y,b,S).sort(function(C,E){return C.index-E.index}).map(function(C){return{data:C.data,mode:C.mode,length:C.length}})}function d(w,v){switch(v){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(v,y){const b=v.length-1>=0?v[v.length-1]:null;return b&&b.mode===y.mode?(v[v.length-1].data+=y.data,v):(v.push(y),v)},[])}function l(w){const v=[];for(let y=0;y<w.length;y++){const b=w[y];switch(b.mode){case t.NUMERIC:v.push([b,{data:b.data,mode:t.ALPHANUMERIC,length:b.length},{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.ALPHANUMERIC:v.push([b,{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.KANJI:v.push([b,{data:b.data,mode:t.BYTE,length:m(b.data)}]);break;case t.BYTE:v.push([{data:b.data,mode:t.BYTE,length:m(b.data)}])}}return v}function f(w,v){const y={},b={start:{}};let S=["start"];for(let k=0;k<w.length;k++){const C=w[k],E=[];for(let x=0;x<C.length;x++){const A=C[x],R=""+k+x;E.push(R),y[R]={node:A,lastCount:0},b[R]={};for(let F=0;F<S.length;F++){const P=S[F];y[P]&&y[P].node.mode===A.mode?(b[P][R]=d(y[P].lastCount+A.length,A.mode)-d(y[P].lastCount,A.mode),y[P].lastCount+=A.length):(y[P]&&(y[P].lastCount=A.length),b[P][R]=d(A.length,A.mode)+4+t.getCharCountIndicator(A.mode,v))}}S=E}for(let k=0;k<S.length;k++)b[S[k]].end=0;return{map:b,table:y}}function p(w,v){let y;const b=t.getBestModeForData(w);if(y=t.from(v,b),y!==t.BYTE&&y.bit<b.bit)throw new Error('"'+w+'" cannot be encoded with mode '+t.toString(y)+`.
19
- Suggested mode is: `+t.toString(b));switch(y===t.KANJI&&!a.isKanjiModeEnabled()&&(y=t.BYTE),y){case t.NUMERIC:return new r(w);case t.ALPHANUMERIC:return new n(w);case t.KANJI:return new o(w);case t.BYTE:return new i(w)}}e.fromArray=function(v){return v.reduce(function(y,b){return typeof b=="string"?y.push(p(b,null)):b.data&&y.push(p(b.data,b.mode)),y},[])},e.fromString=function(v,y){const b=h(v,a.isKanjiModeEnabled()),S=l(b),k=f(S,y),C=u.find_path(k.map,"start","end"),E=[];for(let x=1;x<C.length-1;x++)E.push(k.table[C[x]].node);return e.fromArray(c(E))},e.rawSplit=function(v){return e.fromArray(h(v,a.isKanjiModeEnabled()))}})(Jc);const An=Ee,Kn=kn,Fh=dh,Nh=fh,Bh=Uc,Dh=zc,Fi=jc,Ni=En,Oh=hh,Zr=Wc,Lh=Qc,$h=it,Jn=Jc;function Uh(e,t){const r=e.size,n=Dh.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 zh(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 jh(e,t){const r=Bh.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 Hh(e,t){const r=e.size,n=Zr.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=Lh.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 qh(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 Wh(e,t,r){const n=new Fh;r.forEach(function(u){n.put(u.mode.bit,4),n.put(u.getLength(),$h.getCharCountIndicator(u.mode,e)),u.write(n)});const i=An.getSymbolTotalCodewords(e),o=Ni.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 Vh(n,e,t)}function Vh(e,t,r){const n=An.getSymbolTotalCodewords(t),i=Ni.getTotalCodewordsCount(t,r),o=n-i,s=Ni.getBlocksCount(t,r),a=n%s,u=s-a,m=Math.floor(n/s),g=Math.floor(o/s),h=g+1,d=m-g,c=new Oh(d);let l=0;const f=new Array(s),p=new Array(s);let w=0;const v=new Uint8Array(e.buffer);for(let C=0;C<s;C++){const E=C<u?g:h;f[C]=v.slice(l,l+E),p[C]=c.encode(f[C]),l+=E,w=Math.max(w,E)}const y=new Uint8Array(n);let b=0,S,k;for(S=0;S<w;S++)for(k=0;k<s;k++)S<f[k].length&&(y[b++]=f[k][S]);for(S=0;S<d;S++)for(k=0;k<s;k++)y[b++]=p[k][S];return y}function Qh(e,t,r,n){let i;if(Array.isArray(e))i=Jn.fromArray(e);else if(typeof e=="string"){let m=t;if(!m){const g=Jn.rawSplit(e);m=Zr.getBestVersionForData(g,r)}i=Jn.fromString(e,m||40)}else throw new Error("Invalid data");const o=Zr.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 wr=lf;function df(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ff=typeof Object.is=="function"?Object.is:df,pf=wr.useSyncExternalStore,hf=wr.useRef,mf=wr.useEffect,gf=wr.useMemo,yf=wr.useDebugValue;Sc.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=hf(null);if(o.current===null){var s={hasValue:!1,value:null};o.current=s}else s=o.current;o=gf(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,ff(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=pf(e,o[0],o[1]);return mf(function(){s.hasValue=!0,s.value=a},[a]),yf(a),a};_c.exports=Sc;var wf=_c.exports,be="default"in Xt?Pa:Xt,Rs=Symbol.for("react-redux-context"),Ps=typeof globalThis!="undefined"?globalThis:{};function bf(){var r;if(!be.createContext)return{};const e=(r=Ps[Rs])!=null?r:Ps[Rs]=new Map;let t=e.get(be.createContext);return t||(t=be.createContext(null),e.set(be.createContext,t)),t}var nt=bf(),vf=()=>{throw new Error("uSES not initialized!")};function lo(e=nt){return function(){return be.useContext(e)}}var Cc=lo(),kc=vf,_f=e=>{kc=e},Sf=(e,t)=>e===t;function Cf(e=nt){const t=e===nt?Cc:lo(e);return function(n,i={}){const{equalityFn:o=Sf,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=kc(u.addNestedSub,a.getState,m||a.getState,d,o);return be.useDebugValue(c),c}}var xc=Cf();function Ec(e){e()}function kf(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Ec(()=>{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 Is={notify(){},get:()=>[]};function xf(e,t){let r,n=Is,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=kf())}function h(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=Is)}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 Ef=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Af=Ef?be.useLayoutEffect:be.useEffect;function Ms(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Jr(e,t){if(Ms(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])||!Ms(e[r[i]],t[r[i]]))return!1;return!0}function Tf({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const s=be.useMemo(()=>{const m=xf(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]);Af(()=>{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 Rf=Tf;function Ac(e=nt){const t=e===nt?Cc:lo(e);return function(){const{store:n}=t();return n}}var Tc=Ac();function Pf(e=nt){const t=e===nt?Tc:Ac(e);return function(){return t().dispatch}}var Rc=Pf(),If=Ec;_f(wf.useSyncExternalStoreWithSelector);function Fs(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(()=>{Jr(t.current,e)||(t.current=e)},[e]),Jr(t.current,e)?t.current:e}var wt=WeakMap?new WeakMap:void 0,Mf=({endpointName:e,queryArgs:t})=>{let r="";const n=wt==null?void 0:wt.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,s)=>Ue(s)?Object.keys(s).sort().reduce((a,u)=>(a[u]=s[u],a),{}):s);Ue(t)&&(wt==null||wt.set(t,i)),r=i}return`${e}(${r})`},Ff=typeof window!="undefined"&&window.document&&window.document.createElement?mt:X,Df=e=>e.isUninitialized?$(I({},e),{isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:hc.pending}):e;function Bf({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,v=c.isLoading,g=!w&&v,b=c.isSuccess||v&&w;return $(I({},c),{data:p,currentData:c.data,isFetching:v,isLoading:g,isSuccess:b})}function y(c,l){const f=r(),p=Wn(l);return bt((w,v)=>f(e.util.prefetch(c,w,I(I({},p),v))),[c,f,p])}function h(c){const l=(w,{refetchOnReconnect:v,refetchOnFocus:g,refetchOnMountOrArgChange:b,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=Fs(S?ut:w,Mf,a.endpointDefinitions[c],c),R=Wn({refetchOnReconnect:v,refetchOnFocus:g,pollingInterval:k}),F=Ee(!1),P=Ee();let{queryCacheKey:M,requestId:U}=P.current||{},Y=!1;M&&U&&(Y=E.current.isRequestSubscribed(M,U));const j=!Y&&F.current;return u(()=>{F.current=Y}),u(()=>{j&&(P.current=void 0)},[j]),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:b}));P.current=de}else R!==re&&L.updateSubscriptionOptions(R)},[x,C,b,A,R,j]),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:v,pollingInterval:g=0}={})=>{const{initiate:b}=e.endpoints[c],S=r(),[k,C]=pe(qn),x=Ee(),E=Wn({refetchOnReconnect:w,refetchOnFocus:v,pollingInterval:g});u(()=>{var P,M;const F=(P=x.current)==null?void 0:P.subscriptionOptions;E!==F&&((M=x.current)==null||M.updateSubscriptionOptions(E))},[E]);const A=Ee(E);u(()=>{A.current=E},[E]);const R=bt(function(F,P=!1){let M;return t(()=>{var U;(U=x.current)==null||U.unsubscribe(),x.current=M=S(b(F,{subscriptionOptions:A.current,forceRefetch:!P})),C(F)}),M},[S,b]);return X(()=>()=>{var F;(F=x==null?void 0:x.current)==null||F.unsubscribe()},[]),X(()=>{k!==qn&&!x.current&&R(k,!0)},[k,R]),ce(()=>[R,k],[R,k])},p=(w,{skip:v=!1,selectFromResult:g}={})=>{const{select:b}=e.endpoints[c],S=Fs(v?ut:w,s,a.endpointDefinitions[c],c),k=Ee(),C=ce(()=>Ct([b(S),(F,P)=>P,F=>S],m),[b,S]),x=ce(()=>g?Ct([C],g,{devModeChecks:{identityFunctionCheck:"never"}}):C,[C,g]),E=n(F=>x(F,k.current),Jr),A=i(),R=C(A.getState(),k.current);return Ff(()=>{k.current=R},[R]),E};return{useQueryState:p,useQuerySubscription:l,useLazyQuerySubscription:f,useLazyQuery(w){const[v,g]=f(w),b=p(g,$(I({},w),{skip:g===qn})),S=ce(()=>({lastArg:g}),[g]);return ce(()=>[v,b,S],[v,b,S])},useQuery(w,v){const g=l(w,v),b=p(w,I({selectFromResult:w===ut||v!=null&&v.skip?void 0:Df},v)),{data:S,status:k,isLoading:C,isSuccess:x,isError:E,error:A}=b;return jr({data:S,status:k,isLoading:C,isSuccess:x,isError:E,error:A}),ce(()=>I(I({},b),g),[b,g])}}}function d(c){return({selectFromResult:l,fixedCacheKey:f}={})=>{const{select:p,initiate:w}=e.endpoints[c],v=r(),[g,b]=pe();X(()=>()=>{g!=null&&g.arg.fixedCacheKey||g==null||g.reset()},[g]);const S=bt(function(ee){const de=v(w(ee,{fixedCacheKey:f}));return b(de),de},[v,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,Jr),A=f==null?g==null?void 0:g.arg.originalArgs:void 0,R=bt(()=>{t(()=>{g&&b(void 0),f&&v(e.internalActions.removeMutationResult({requestId:k,fixedCacheKey:f}))})},[v,f,g,k]),{endpointName:F,data:P,status:M,isLoading:U,isSuccess:Y,isError:j,error:L}=E;jr({endpointName:F,data:P,status:M,isLoading:U,isSuccess:Y,isError:j,error:L});const re=ce(()=>$(I({},E),{originalArgs:A,reset:R}),[E,A,R]);return ce(()=>[S,re],[S,re])}}}function Nf(e){return e.type==="query"}function Of(e){return e.type==="mutation"}function Vn(e){return e.replace(e[0],e[0].toUpperCase())}function Pr(e,...t){return Object.assign(e,...t)}var Lf=Symbol(),$f=(i={})=>{var o=i,{batch:e=If,hooks:t={useDispatch:Rc,useSelector:xc,useStore:Tc},unstable__sideEffectsInRender:r=!1}=o,n=ot(o,["batch","hooks","unstable__sideEffectsInRender"]);return{name:Lf,init(s,{serializeQueryArgs:a},u){const m=s,{buildQueryHooks:y,buildMutationHook:h,usePrefetch:d}=Bf({api:s,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:a,context:u});return Pr(m,{usePrefetch:d}),Pr(u,{batch:e}),{injectEndpoint(c,l){if(Nf(l)){const{useQuery:f,useLazyQuery:p,useLazyQuerySubscription:w,useQueryState:v,useQuerySubscription:g}=y(c);Pr(m.endpoints[c],{useQuery:f,useLazyQuery:p,useLazyQuerySubscription:w,useQueryState:v,useQuerySubscription:g}),s[`use${Vn(c)}Query`]=f,s[`useLazy${Vn(c)}Query`]=p}else if(Of(l)){const f=h(c);Pr(m.endpoints[c],{useMutation:f}),s[`use${Vn(c)}Mutation`]=f}}}}}},Pc=Gd(uf(),$f());const Ic=(e,t,r)=>he(void 0,null,function*(){const n=t.getState().session.backendUrl;return Hd({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=Pc({baseQuery:Ic,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:Uf,useByofCampaignConnectQuery:Mc,useAppLoadedMutation:zf,useErrorLogsMutation:Tg}=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",v="console",g="mobile",b="tablet",S="smarttv",k="wearable",C="embedded",x=500,E="Amazon",A="Apple",R="ASUS",F="BlackBerry",P="Browser",M="Chrome",U="Edge",Y="Firefox",j="Google",L="Huawei",re="LG",ee="Microsoft",de="Motorola",He="Opera",ne="Samsung",Bt="Sharp",ie="Sony",Te="Xiaomi",Pn="Zebra",_o="Facebook",So="Chromium OS",Co="Mac OS",ou=function(z,Q){var N={};for(var G in z)Q[G]&&Q[G].length%2===0?N[G]=Q[G].concat(z[G]):N[G]=z[G];return N},Sr=function(z){for(var Q={},N=0;N<z.length;N++)Q[z[N].toUpperCase()]=z[N];return Q},ko=function(z,Q){return typeof z===y?Nt(Q).indexOf(Nt(z))!==-1:!1},Nt=function(z){return z.toLowerCase()},su=function(z){return typeof z===y?z.replace(/[^\d\.]/g,o).split(".")[0]:n},In=function(z,Q){if(typeof z===y)return z=z.replace(/^\s\s*/,o),typeof Q===u?z:z.substring(0,x)},Ot=function(z,Q){for(var N=0,G,Ye,Fe,V,B,De;N<Q.length&&!B;){var Fn=Q[N],Ao=Q[N+1];for(G=Ye=0;G<Fn.length&&!B&&Fn[G];)if(B=Fn[G++].exec(z),B)for(Fe=0;Fe<Ao.length;Fe++)De=B[++Ye],V=Ao[Fe],typeof V===m&&V.length>0?V.length===2?typeof V[1]==a?this[V[0]]=V[1].call(this,De):this[V[0]]=V[1]:V.length===3?typeof V[1]===a&&!(V[1].exec&&V[1].test)?this[V[0]]=De?V[1].call(this,De,V[2]):n:this[V[0]]=De?De.replace(V[1],V[2]):n:V.length===4&&(this[V[0]]=De?V[3].call(this,De.replace(V[1],V[2])):n):this[V]=De||n;N+=2}},Mn=function(z,Q){for(var N in Q)if(typeof Q[N]===m&&Q[N].length>0){for(var G=0;G<Q[N].length;G++)if(ko(Q[N][G],z))return N===s?n:N}else if(ko(Q[N],z))return N===s?n:N;return z},au={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},xo={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"},Eo={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,He+" Mini"]],[/\bopr\/([\w\.]+)/i],[p,[c,He]],[/\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,He+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[c,He+" 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,_o],p],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[c,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[c,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[p,[c,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[c,M+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,M+" WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[c,"Android "+P]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,p],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[p,[c,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[p,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[p,Mn,au]],[/(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,b]],[/\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,b]],[/(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,b]],[/(?: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,b]],[/; (\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,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[f,re],[l,b]],[/(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,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[f,"Nokia"],[l,g]],[/(pixel c)\b/i],[d,[f,j],[l,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[f,j],[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,b]],[/ (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,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[f,E],[l,g]],[/(playbook);[-\w\),; ]+(rim)/i],[d,f,[l,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[f,F],[l,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[f,R],[l,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[f,R],[l,g]],[/(nexus 9)/i],[d,[f,"HTC"],[l,b]],[/(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,b]],[/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,b]],[/(surface duo)/i],[d,[f,ee],[l,b]],[/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,b]],[/\b(venue[\d ]{2,7}) b/i],[d,[f,"Dell"],[l,b]],[/\b(q(?:mv|ta)\w+) b/i],[d,[f,"Verizon"],[l,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[f,"Barnes & Noble"],[l,b]],[/\b(tm\d{3}\w+) b/i],[d,[f,"NuVision"],[l,b]],[/\b(k88) b/i],[d,[f,"ZTE"],[l,b]],[/\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,b]],[/\b((zeki)?tb.*\b) b/i],[d,[f,"Zeki"],[l,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[f,"Dragon Touch"],d,[l,b]],[/\b(ns-?\w{0,9}) b/i],[d,[f,"Insignia"],[l,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[f,"NextBook"],[l,b]],[/\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,b]],[/\b(trio[-\w\. ]+) b/i],[d,[f,"MachSpeed"],[l,b]],[/\btu_(1491) b/i],[d,[f,"Rotor"],[l,b]],[/(shield[\w ]+) b/i],[d,[f,"Nvidia"],[l,b]],[/(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,b]],[/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,M+"cast"],[f,j],[l,S]],[/droid.+aft(\w+)( bui|\))/i],[d,[f,E],[l,S]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[f,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,v]],[/droid.+; (shield) bui/i],[d,[f,"Nvidia"],[l,v]],[/(playstation [345portablevi]+)/i],[d,[f,ie],[l,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[f,ee],[l,v]],[/((pebble))app/i],[f,d,[l,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[f,A],[l,k]],[/droid.+; (glass) \d/i],[d,[f,j],[l,k]],[/droid.+; (wt63?0{2,3})\)/i],[d,[f,Pn],[l,k]],[/(quest( 2| pro)?)/i],[d,[f,_o],[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,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[l,b]],[/(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,U+"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,xo]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,Mn,xo],[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,Co],[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,F]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[c,Y+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[c,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[p,[c,"watchOS"]],[/crkey\/([\d\.]+)/i],[p,[c,M+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[c,So],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(z,Q){if(typeof z===m&&(Q=z,z=n),!(this instanceof Re))return new Re(z,Q).getResult();var N=typeof r!==u&&r.navigator?r.navigator:n,G=z||(N&&N.userAgent?N.userAgent:o),Ye=N&&N.userAgentData?N.userAgentData:n,Fe=Q?ou(Eo,Q):Eo,V=N&&N.userAgent==G;return this.getBrowser=function(){var B={};return B[c]=n,B[p]=n,Ot.call(B,G,Fe.browser),B[h]=su(B[p]),V&&N&&N.brave&&typeof N.brave.isBrave==a&&(B[c]="Brave"),B},this.getCPU=function(){var B={};return B[w]=n,Ot.call(B,G,Fe.cpu),B},this.getDevice=function(){var B={};return B[f]=n,B[d]=n,B[l]=n,Ot.call(B,G,Fe.device),V&&!B[l]&&Ye&&Ye.mobile&&(B[l]=g),V&&B[d]=="Macintosh"&&N&&typeof N.standalone!==u&&N.maxTouchPoints&&N.maxTouchPoints>2&&(B[d]="iPad",B[l]=b),B},this.getEngine=function(){var B={};return B[c]=n,B[p]=n,Ot.call(B,G,Fe.engine),B},this.getOS=function(){var B={};return B[c]=n,B[p]=n,Ot.call(B,G,Fe.os),V&&!B[c]&&Ye&&Ye.platform!="Unknown"&&(B[c]=Ye.platform.replace(/chrome os/i,So).replace(/macos/i,Co)),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 G},this.setUA=function(B){return G=typeof B===y&&B.length>x?In(B,x):B,this},this.setUA(G),this};Re.VERSION=i,Re.BROWSER=Sr([c,p,h]),Re.CPU=Sr([w]),Re.DEVICE=Sr([d,f,l,v,g,S,b,k,C]),Re.ENGINE=Re.OS=Sr([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 Cr=new Re;gt.ua=Cr.getResult(),gt.ua.get=function(){return Cr.getUA()},gt.ua.set=function(z){Cr.setUA(z);var Q=Cr.getResult();for(var N in Q)gt.ua[N]=Q[N]}}})(typeof window=="object"?window:ul)})(wi,wi.exports);var jf=wi.exports;const Qn=new jf.UAParser,Fc=()=>/iPad|iPhone|iPod/.test(navigator.userAgent),Dc=()=>/Android/.test(navigator.userAgent),$e=()=>Dc()||Fc(),Bc=()=>({deviceType:Dc()||Fc()?"Mobile":"Desktop",platform:Qn.getOS().name,Browser:Qn.getBrowser().name,"Browser Version":Qn.getBrowser().version}),Kt=Pc({baseQuery:Ic,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),Bc())}})}),segmentPage:e.mutation({query:({event:t,properties:r})=>({url:"super-campaign/backend/segment/p",method:"POST",body:{event:t,properties:r}})})})}),{useSegmentIdentifyMutation:Hf,useSegmentTrackMutation:qf,useSegmentPageMutation:Rg}=Kt,Wf={selectedVariants:{}},bi=We({name:"experimentsData",initialState:Wf,reducers:{setExperiment:(e,t)=>{const{experimentName:r,selectedVariant:n}=t.payload;return e.selectedVariants[r]||(e.selectedVariants[r]=n),e}}}),{setExperiment:Vf}=bi.actions,vi=We({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:Qf}=vi.actions,_i=We({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:Nc,clearSelectedFund:qe}=_i.actions,lt=yd({reducer:{[vi.name]:vi.reducer,[Le.reducerPath]:Le.reducer,[Kt.reducerPath]:Kt.reducer,[_i.reducerPath]:_i.reducer,[bi.reducerPath]:bi.reducer},middleware:e=>e().concat(Le.middleware,Kt.middleware)}),Cn=()=>Rc(),ze=xc,fo="32367272075001",po="slate",ke=e=>{document.dispatchEvent(new CustomEvent(e.type,{detail:e}))},Jf=()=>{ke({sender:"byof-engagement",type:"continue",reason:"No content to display"})},Gf=()=>{ke({sender:"byof-engagement",type:"continue",reason:"Continue button was clicked"})},Yf=()=>{ke({sender:"byof-engagement",type:"continue",reason:"Timeout, or a backend error has occurred"})},Xf=()=>{const[e]=qf();return()=>{ke({sender:"super-campaign",type:"choose-another-fund-requested"}),e({event:"FeaturedFunds Skipped",properties:{method:"button"}})}},Zf=e=>{ke({sender:"super-campaign",type:"fund-panel-shown",shownFunds:e.map(t=>({fundId:t.fundId,fundType:t.fundType}))})},ep=e=>{ke({sender:"super-campaign",type:"fund-tile-clicked",fundId:e.fundId,fundType:e.fundType,fundName:e.name,fundUsi:e.fundId===po?fo:void 0})},oe=e=>{ke({sender:"super-campaign",type:"fund-pds-viewed",pageName:"Panel Fund Page",fundName:e.name,fundUsi:e.fundId===po?fo:void 0})},tp=()=>{ke({sender:"super-campaign",type:"disclaimer-accepted"})},rp=()=>{ke({sender:"super-campaign",type:"disclaimer-viewed"})},jt=e=>{ke({sender:"super-campaign",type:"promoted-fund-joined",fundJoinInfo:e})},np=()=>{ke({sender:"super-campaign",type:"super-campaign-loaded"})},ip=e=>{ke({sender:"super-campaign",type:"super-campaign-load-failed",reason:e})},op=e=>{ke({sender:"super-campaign",type:"super-campaign-failed",reason:e})};var sp=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:--sp,__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 D.vnode&&D.vnode(m),m}var Ke=_e;function _(e,t,r){return bn.call(t,"css")?Gr(Ga,Ja(e,t),r):Gr(e,t,r)}function T(e,t,r){return bn.call(t,"css")?Gr(Ga,Ja(e,t),r):Gr(e,t,r)}const ap=H.a({fontWeight:"500",textDecorationLine:"underline",textUnderlineOffset:"2px",":hover":{"--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))"}}),cp="_extnav=true",O=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}${cp}`;return _(ap,$(I({target:"_blank",href:a,onClick:t},n),{children:r}))},up=""+new URL("assets/logo-australian-D0VAGS6p.svg",import.meta.url).href,lp="AustralianSuper",dp="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",fp="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",Yr={fundId:"australian-super-default",name:lp,logo:up,iframeType:"PromotedFundJoinV2",features:[T("p",{children:["One in seven working Australians are with AustralianSuper",_("sup",{css:{fontSize:"0.625rem"},children:"1"}),"."]}),_("p",{children:"Digital tools and resources for super management and future planning."}),_("p",{children:"Access to a wide range of investment options."})],featureSubText:void 0,extraBadge:_("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:[_("p",{children:"1. Source: Australian Bureau of Statistics (Labour force) December 2023 and AustralianSuper Member Data."}),T("p",{children:["You should consider the"," ",_(O,{onClick:()=>oe(Yr),link:dp,children:"Product Disclosure Statement"})," ","and"," ",_(O,{onClick:()=>oe(Yr),link:fp,children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the Fund."]}),_("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."})]})},pp=""+new URL("assets/logo-aware-DYvmVUZ1.svg",import.meta.url).href,hp="Aware Super",Si={fundId:"aware-super",name:hp,logo:pp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Multi-award winning fund named Retirement Offering of the Year 2024.^"}),_("p",{children:"Members get a 45-minute Super Helpful check-in with an advisor."}),_("p",{children:"8.97% p.a.* returns over 10 years to 31 March 2024 (High Growth option)"})],disclaimer:T("div",{children:[T("p",{children:["Consider if we’re right for you and read the"," ",_(O,{onClick:()=>oe(Si),link:"https://aware.com.au/member/contact-aware-super/forms-and-documents/",children:"PDS and TMD"}),".",_("br",{}),"^Awards are just one factor to consider when deciding on a product."," ",_(O,{link:"https://aware.com.au/member/about-us/awards/",children:"Learn about our awards"}),".",_("br",{}),"*SuperRatings Fund Crediting Rate Survey, March 2024. Based on SR50 Growth (77-90) Index. Past performance does not indicate future performance."]}),_("br",{}),_("p",{children:"Aware Super Pty Ltd (ABN 11 118 202 672, AFSL 293340), trustee of Aware Super (ABN 53 226 460 365)."})]})},mp=""+new URL("assets/logo-brighter-cKB6xH2M.svg",import.meta.url).href,gp="https://www.brightersuper.com.au/-/media/public/files/pds-and-guides/accumulation-account-pds.pdf",yp="https://www.brightersuper.com.au/-/media/public/files/target-market-determination/tmd-brighter-super-accumulation-account.pdf",wp="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",vp="Brighter Super",Ci={fundId:"brightersuper",name:vp,logo:mp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Double-digit returns for our MySuper option in 2023^"}),_("p",{children:"Top 3 industry fund for lowest MySuper fees in Australia^"}),T("p",{children:["Platinum rated by SuperRatings for 16 years in a row",_("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."," ",_(O,{link:wp,children:"Find out more about our MySuper fees and returns."}),_("sup",{css:{fontSize:"0.625rem"},children:"+"}),"Ratings are only one factor to consider."," ",_(O,{link:bp,children:"View our ratings and awards."})]}),T("p",{children:["Consider the"," ",_(O,{link:gp,onClick:()=>oe(Ci),children:"PDS"})," ","& ",_(O,{link:yp,children:"TMD"})," before deciding to join."]}),_("p",{children:"Issued by LGIAsuper Trustee (ABN 94 085 088 484, AFSL 230511) as trustee for LGIAsuper (ABN 23 053 121 584), t/a Brighter Super."})]})},_p=""+new URL("assets/logo-first-CusDmGWL.svg",import.meta.url).href,Sp="First Super",ki={fundId:"first-super",name:Sp,logo:_p,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Industry SuperFund that offers five investment options and default insurance"}),_("p",{children:"Strong long-term investment returns and superior customer service - members first"}),_("p",{children:"Established super fund – anyone can join including KiwiSaver members"})],disclaimer: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"," ",_(O,{onClick:()=>oe(ki),link:"https://www.firstsuper.com.au/forms-tools/product-disclosure-statements/",children:"website"}),". Past performance is not a reliable indicator of future performance."]}),_("br",{}),_("p",{children:"Issued by First Super Pty Ltd ABN 42 053 498 472, AFSL 223988 (Trustee) as Trustee of First Super ABN 56 286 625 181."})]})},Cp=""+new URL("assets/logo-hesta-NL7xF41R.svg",import.meta.url).href,kp="HESTA",xi={fundId:"hesta-default",name:kp,logo:Cp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"A top-performing super fund* working for real-world impact"}),_("p",{children:"1+ million members"}),_("p",{children:"Expert help whenever you need it to help you face the future with confidence"})],featureSubText:void 0,disclaimer: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"," ",_(O,{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"," ",_(O,{onClick:()=>oe(xi),link:"https://www.hesta.com.au/pds",children:"hesta.com.au/pds"})," ","In considering your own circumstances about the suitability of HESTA products, you may wish to consult an adviser or use the ATO YourSuper comparison tool. Please also consider the relevant risks."]}),_("p",{children:"Issued by H.E.S.T. Australia Ltd ABN 66 006 818 695 AFSL No. 235249, Trustee of HESTA"})]})},xp=""+new URL("assets/logo-legalsuper-xG2DgGHY.svg",import.meta.url).href,Ep="legalsuper",Jt={fundId:"legalsuper",name:Ep,logo:xp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Strong performance - our investment options are designed to deliver steady returns."}),_("p",{children:"Personalised support - so you can access advice, knowledge and assistance when you need it."}),_("p",{children:"Tailored insurance - various cover options that adapt to life’s milestones and career changes."})],disclaimer: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"," ",_(O,{link:"https://www.legalsuper.com.au/super-pds",onClick:()=>oe(Jt),children:"Product Disclosure Statement (PDS)"})," ","and"," ",_(O,{link:"https://www.legalsuper.com.au/super-tmd",onClick:()=>oe(Jt),children:"Target Market Determination (TMD)"})," ","available at"," ",_(O,{link:"https://www.legalsuper.com.au/",onClick:()=>oe(Jt),children:"www.legalsuper.com.au"})," ","before making any decision. Past performance is not a guide to future performance."]}),_("p",{children:"Legal Super Pty Ltd ABN 37 004 455 789 AFSL 246315 as the Trustee for legalsuper ABN 60 346 078 879."})]})},Ap=""+new URL("assets/coverImage-BkXL9zfW.png",import.meta.url).href,Tp=""+new URL("assets/logo-mercer-mychoice-BB6VztRp.svg",import.meta.url).href,Rp=["35225A44-1235-4774-A292-69461DCF16E4","42EC210A-07EB-4252-82C5-F10FBE6884D6","5EF1A2B7-4AED-46BA-9455-E118664DFA16","A7E3600B-40B3-4B48-9BC1-D78C91CAA365"],Pp="Mercer MyChoice",Xr={fundId:"mercermychoice",name:Pp,logo:Tp,coverImage:Ap,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Save more super with our low fees"}),_("p",{children:"Take control with 6 MyChoice investment options"}),_("p",{children:"Join 850,000 Australians who trust our global expertise"})],disclaimer:T("div",{children:[T("p",{children:["You should consider the"," ",_(O,{link:"https://www.mercersuper.com.au/campaign-page/mercer-mychoice",onClick:()=>oe(Xr),children:"Product Disclosure Statement"})," ","and"," ",_(O,{link:"https://www.mercersuper.com.au/documents/target-market-determinations",children:"Target Market Determination"})," ","before deciding to invest in or apply to become a member of the fund."]}),_("br",{}),_("p",{children:"Issued by Mercer Superannuation (Australia) Limited (‘Mercer Super’) ABN: 79 004 717 533"})]}),extraBadge:_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"}),footnoteTextOverride:"Powered by Flare FS",experiments:{"social-validation-business-mercermychoice":{splitType:"percentage",rotations:0,shouldRun:e=>{var n,i;const t=Le.endpoints.campaignConnect.select()(e).data,r=(n=t==null?void 0:t.userProfile.accountId)!=null?n:"";return!!(Rp.includes(r)&&(t!=null&&t.promotedFunds.find(o=>o.fundId==="mercermychoice"))&&(!$e()||((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}]}}},Ip=""+new URL("assets/logo-mine-7mxPtjsF.svg",import.meta.url).href,Mp="Mine Super",Ei={fundId:"mine",name:Mp,logo:Ip,iframeType:"PromotedFundJoinV2",features:[T("p",{children:[_("i",{children:"Money"})," magazine’s Best of the Best Awards for Best Value Superannuation Fund for Young People 2024."]}),_("p",{children:"Insurance cover^ that’s got your back if you’re unable to work due to sickness or injury."}),_("p",{children:"One of the lowest fixed admin fees ($0.75 per week)."})],featureSubText:["^Subject to meeting eligibility criteria."],disclaimer:_("div",{children: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"," ",_(O,{link:"https://www.mine.com.au/super/about-my-super/super-pds",onClick:()=>oe(Ei),children:"PDS"})," ","and ",_(O,{link:"https://www.mine.com.au/tmd",children:"TMDs"})," on our website at ",_(O,{link:"https://www.mine.com.au/",children:"mine.com.au"})," when considering if our financial products are right for you."]})})},Fp=""+new URL("assets/logo-reisuper-aM5iDbpN.svg",import.meta.url).href,Dp="REI Super",Ai={fundId:"reisuper",name:Dp,logo:Fp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Built by and for the real estate industry"}),_("p",{children:"Consistent long-term performance with competitive fees*"}),_("p",{children:"All profits to members, not shareholders"})],disclaimer: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:[_("p",{children:"*Balanced Option net investment return of 9.45% for year ending 30 June 2023."}),T("p",{children:["You should consider the"," ",_(O,{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(Ai),children:"Product Disclosure Statement"})," ","and"," ",_(O,{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"},Bp=""+new URL("assets/logo-slate-CowODvPX.png",import.meta.url).href,Np="Slate Super",ur={fundId:po,name:Np,logo:Bp,iframeType:"SlateJoin",features:[_("p",{children:"A lifestage investment strategy that evolves with you"}),_("p",{children:"Advanced mobile app with retirement forecast and smart features"}),_("p",{children:"Member advocates at Slate to assist with your account"})],disclaimer:T("p",{children:["You should consider the"," ",_(O,{link:"https://slate.co/pds/?utm_source=flare&utm_medium=superselection",onClick:()=>oe(ur),children:"Product Disclosure Statement"})," ","and"," ",_(O,{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"},Op=""+new URL("assets/logo-spirit-CAaRIHR7.svg",import.meta.url).href,Lp="Spirit Super",Ti={fundId:"spirit",name:Lp,logo:Op,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Industry SuperFund - profit to members"}),T("p",{children:["Low fees",_("sup",{css:{fontSize:"0.625rem"},children:"1"})," and a history of strong returns",_("sup",{css:{fontSize:"0.625rem"},children:"2"})]}),T("p",{children:["Best customer experience",_("sup",{css:{fontSize:"0.625rem"},children:"3"})]})],featureSubText:_("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:[_("li",{children:_("span",{children:"$67.60 + 0.15% of account balance pa in admin fees, capped at $517.60"})}),_("li",{children:_("span",{children:"Past performance isn't a reliable indicator of future performance"})}),_("li",{children:_("span",{children:_(O,{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"," ",_(O,{link:"https://www.spiritsuper.com.au",onClick:()=>oe(Ti),children:"spiritsuper.com.au"})," ","and consider your personal circumstances before deciding. Issuer is Motor Trades Association of Australia Superannuation Fund Pty Ltd (AFSL 238 718, ABN 14 008 650 628). Advice by Quadrant First Pty Ltd (AFSL 284 443, ABN 78 102 167 877)."]})},$p=""+new URL("assets/logo-unisuper-DV3xpYs3.svg",import.meta.url).href,Up="Unisuper",zp="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",jp="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Ri={fundId:"unisuper",name:Up,logo:$p,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Our fees are among the lowest in the industry.^"}),_("p",{children:"Our strong, long-term performance regularly exceeds industry averages.*"}),T("p",{children:["We’re consistently awarded as one of Australia’s best-performing funds.",_("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"," ",_(O,{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"," ",_(O,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),T("p",{children:[_("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",_(O,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),T("p",{children:["Remember to consider the"," ",_(O,{link:zp,onClick:()=>oe(Ri),children:"Product Disclosure Statement"})," ","and ",_(O,{link:jp,children:"Target Market Determination"})," that is relevant to you."]}),_("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},Hp=""+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,Wp=""+new URL("assets/unisuper-default-badge2-CqUa_Zky.svg",import.meta.url).href,Vp=""+new URL("assets/unisuper-default-badge3-B7j1-pyZ.svg",import.meta.url).href,Ir="Unisuper",Qp="https://www.unisuper.com.au/-/media/files/pds/accumulation-1/accumulation-1-pds.pdf?rev=eb3a50fed45543ef91e2d1a38fa1fc0b&hash=B76A6A338550310C27DE1A021C854F84",Kp="https://www.unisuper.com.au/-/media/files/tmd/accumulation-1/accumulation-1-tmd.pdf?rev=f4aa3f08d0494f52a7a5e02c69385ead&hash=AC77283EFBF97948DC0CF768FD3E82F8",Pi={fundId:"unisuper-default-v2",name:Ir,logo:Hp,iframeType:"PromotedFundJoinV2",features:[_("p",{children:"Low fees, better value – Our fees are among the lowest in the industry.^"}),_("p",{children:"Strong, long-term performance – We regularly exceed industry averages.*"}),T("p",{children:["Award winning super – Continually recognised as one of Australia’s best-performing funds.",_("sup",{css:{fontSize:"0.625rem"},children:"#"})]})],customContent:T("div",{css:{marginTop:"1.5rem",display:"flex",gap:"0.75rem"},children:[_("div",{children:_("img",{alt:Ir,src:qp})}),_("div",{children:_("img",{alt:Ir,src:Wp})}),_("div",{children:_("img",{alt:Ir,src:Vp})})]}),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"," ",_(O,{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"," ",_(O,{link:"https://www.unisuper.com.au/campaigns/greater-super",children:"here"}),"."]}),T("p",{children:[_("sup",{css:{fontSize:"0.625rem"},children:"#"}),"See our awards"," ",_(O,{link:"https://www.unisuper.com.au/about-us/who-we-are/awards-and-ratings",children:"here"}),"."]}),T("p",{children:["Remember to consider the"," ",_(O,{link:Qp,onClick:()=>oe(Pi),children:"Product Disclosure Statement"})," ","and ",_(O,{link:Kp,children:"Target Market Determination"})," that is relevant to you."]}),_("p",{children:"Issued by UniSuper Management Pty Ltd. ABN: 91 385 943 850"})]})},Jp=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,Ds=["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"],Gp=["35225A44-1235-4774-A292-69461DCF16E4","42EC210A-07EB-4252-82C5-F10FBE6884D6","5EF1A2B7-4AED-46BA-9455-E118664DFA16","A7E3600B-40B3-4B48-9BC1-D78C91CAA365"],Yp="Virgin Money Super",Ii={fundId:"virgin",name:Yp,logo:Jp,iframeType:"PromotedFundJoinV2",features:[T("p",{children:["Returns above industry and retail super fund medians over the past 5 years",_("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),_("p",{children:"One of the lowest fees in the market"}),T("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",_("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:_("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children: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:[_("li",{children:_("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),_("li",{children:_("span",{children:_(O,{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"," ",_(O,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>oe(Ii),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"}),footnoteTextOverride:"Powered by Flare FS",experiments:{"social-validation-business-virgin":{splitType:"percentage",rotations:0,shouldRun:e=>{var n,i;const t=Le.endpoints.campaignConnect.select()(e).data,r=(n=t==null?void 0:t.userProfile.accountId)!=null?n:"";return!!(Ds.includes(r)&&(t!=null&&t.promotedFunds.find(o=>o.fundId==="virgin"))&&(!$e()||((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=Gp.concat(Ds),r=Le.endpoints.campaignConnect.select()(e).data,n=(i=r==null?void 0:r.userProfile.accountId)!=null?i:"";return!!(!t.includes(n)&&(r!=null&&r.promotedFunds.find(s=>s.fundId==="virgin"))&&(!$e()||((o=r==null?void 0:r.promotedFunds)==null?void 0:o[0].fundId)==="virgin")&&!(r!=null&&r.promotedFunds.find(s=>s.fundId==="mercermychoice")))},variants:[{variantName:"control",percentage:5},{variantName:"badge",percentage:95}]}}},Xp=""+new URL("assets/logo-virgin-Dg0nHidv.svg",import.meta.url).href,Zp="Virgin Money Super",Mi={fundId:"virgin-default",name:Zp,logo:Xp,iframeType:"PromotedFundJoinV2",features:[T("p",{children:["Returns above industry and retail super fund medians over the past 5 years",_("sup",{css:{fontSize:"0.625rem"},children:"1"})]}),_("p",{children:"One of the lowest fees in the market"}),T("p",{children:["Virgin Money rewards you with Velocity Points on your contributions",_("sup",{css:{fontSize:"0.625rem"},children:"2"})]})],featureSubText:_("div",{css:{margin:"1rem",paddingTop:"0.5rem"},children: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:[_("li",{children:_("span",{children:"Past performance is not a reliable indicator of future performance. Source: SuperRatings Fund Crediting Rate Survey April 2022."})}),_("li",{children:_("span",{children:_(O,{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"," ",_(O,{link:"https://virginmoney.com.au/superannuation/",onClick:()=>oe(Mi),children:"www.virginmoney.com.au"})," ","before making a decision"]}),extraBadge:_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},children:"Low fees"}),footnoteTextOverride:"Powered by Flare FS"},eh=5*1e3;let Ur=[];const we=(e,t)=>{Ur.push({log:e,params:I(I({},t),Bc())})},th=()=>setInterval(()=>he(void 0,null,function*(){Ur.length>0&&"data"in(yield lt.dispatch(Le.endpoints.errorLogs.initiate({logs:Ur})))&&(Ur=[])}),eh),ho=e=>{switch(e.fundId){case Si.fundId:return $(I({},Si),{fundType:e.type});case Ci.fundId:return $(I({},Ci),{fundType:e.type});case ki.fundId:return $(I({},ki),{fundType:e.type});case xi.fundId:return $(I({},xi),{fundType:e.type});case Jt.fundId:return $(I({},Jt),{fundType:e.type});case Xr.fundId:return $(I({},Xr),{fundType:e.type});case Ei.fundId:return $(I({},Ei),{fundType:e.type});case Ai.fundId:return $(I({},Ai),{fundType:e.type});case ur.fundId:return $(I({},ur),{fundType:e.type});case Ti.fundId:return $(I({},Ti),{fundType:e.type});case Ri.fundId:return $(I({},Ri),{fundType:e.type});case Pi.fundId:return $(I({},Pi),{fundType:e.type});case Ii.fundId:return $(I({},Ii),{fundType:e.type});case Mi.fundId:return $(I({},Mi),{fundType:e.type});case Yr.fundId:return $(I({},Yr),{fundType:e.type})}return null},rh=e=>{const t=[];for(const n of e){const i=ho(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=Xr;return we(`No fund IDs were mapped, returning "${r.fundId}"`,{funds:e}),[$(I({},r),{fundType:"promoted"})]},nh=e=>e==="unisuper-db"?"UniSuper":(we('No defined-benefits fund IDs were mapped."',{fundId:e}),""),Oc=()=>{const{selectedFund:e}=ze(r=>r.state);let t="Powered by Flare";if(e){const r=ho({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:[_("span",{children:t}),T("p",{css:{display:"block",color:"transparent"},children:["v","1.44.44"]})]})},ih=H.div({display:"flex",height:"100%",flexDirection:"column",alignItems:"center",justifyContent:"center"}),oh=H.div({display:"inline-block","@keyframes spin":{to:{transform:"rotate(360deg)"}},animation:"spin 1s linear infinite"}),sh=H.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))"}),ah=H.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(ih,{children:[_(oh,{children:T("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM1.99743 8C1.99743 11.3151 4.68487 14.0026 8 14.0026C11.3151 14.0026 14.0026 11.3151 14.0026 8C14.0026 4.68487 11.3151 1.99743 8 1.99743C4.68487 1.99743 1.99743 4.68487 1.99743 8Z",fill:"white","fill-opacity":"0.3"}),_("path",{d:"M8 1C8 0.447715 8.44943 -0.00643769 8.99741 0.0624193C9.70527 0.151368 10.3996 0.334798 11.0615 0.608964C12.0321 1.011 12.914 1.60028 13.6569 2.34315C14.3997 3.08602 14.989 3.96793 15.391 4.93853C15.6652 5.60043 15.8486 6.29473 15.9376 7.0026C16.0064 7.55057 15.5523 8 15 8C14.4477 8 14.0085 7.54925 13.9169 7.00462C13.842 6.55939 13.7169 6.12298 13.5433 5.7039C13.2417 4.97595 12.7998 4.31451 12.2426 3.75736C11.6855 3.20021 11.0241 2.75825 10.2961 2.45672C9.87702 2.28313 9.44061 2.15804 8.99538 2.08314C8.45075 1.99152 8 1.55228 8 1Z",css:{fill:"var(--fl-color-primary)"}})]})}),t&&T(Ke,{children:[_(sh,{children:"Setting up your super choices"}),r&&_(ah,{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&&_(Je,{size:16}),_("div",{css:[o===1&&{display:"none"}],children:i})]})},ch=H.div({width:"fit-content",borderRadius:"0.5rem",borderWidth:"1px"}),uh=H.div({display:"flex",justifyContent:"flex-end",paddingRight:"0.5rem",paddingTop:"0.5rem"}),lh=H.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))"}),dh=H.div({padding:"0.75rem","@media (min-width: 640px)":{paddingLeft:"3.5rem",paddingRight:"3.5rem",paddingBottom:"2rem"}}),fh=({pillContent:e,children:t})=>T(ch,{children:[e&&_(uh,{children:_(lh,{children:e})}),_(dh,{children:t})]});class Ht extends Error{}Ht.prototype.name="InvalidTokenError";function ph(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 hh(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 ph(t)}catch(r){return atob(t)}}function Lc(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=hh(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 mh=e=>Lc(e),gh=()=>{const{superBackendUrl:e,accessToken:t,fundUsi:r}=ze(s=>s.session),{data:n}=Mc(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}=mh(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 yh(e){const t=document.documentElement;for(const r in e.colors)t.style.setProperty(`--${r}`,e.colors[r])}var br={},wh=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},$c={},xe={};let mo;const bh=[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 bh[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.');mo=t};xe.isKanjiModeEnabled=function(){return typeof mo!="undefined"};xe.toSJIS=function(t){return mo(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 Uc(){this.buffer=[],this.length=0}Uc.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 vh=Uc;function vr(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)}vr.prototype.set=function(e,t,r,n){const i=e*this.size+t;this.data[i]=r,n&&(this.reservedBit[i]=!0)};vr.prototype.get=function(e,t){return this.data[e*this.size+t]};vr.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r};vr.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var _h=vr,zc={};(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}})(zc);var jc={};const Sh=xe.getSymbolSize,Bs=7;jc.getPositions=function(t){const r=Sh(t);return[[0,0],[r-Bs,0],[0,r-Bs]]};var Hc={};(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}})(Hc);var En={};const Ze=xn,Mr=[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],Fr=[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 Mr[(t-1)*4+0];case Ze.M:return Mr[(t-1)*4+1];case Ze.Q:return Mr[(t-1)*4+2];case Ze.H:return Mr[(t-1)*4+3];default:return}};En.getTotalCodewordsCount=function(t,r){switch(r){case Ze.L:return Fr[(t-1)*4+0];case Ze.M:return Fr[(t-1)*4+1];case Ze.Q:return Fr[(t-1)*4+2];case Ze.H:return Fr[(t-1)*4+3];default:return}};var qc={},An={};const Gt=new Uint8Array(512),Zr=new Uint8Array(256);(function(){let t=1;for(let r=0;r<255;r++)Gt[r]=t,Zr[t]=r,t<<=1,t&256&&(t^=285);for(let r=255;r<512;r++)Gt[r]=Gt[r-255]})();An.log=function(t){if(t<1)throw new Error("log("+t+")");return Zr[t]};An.exp=function(t){return Gt[t]};An.mul=function(t,r){return t===0||r===0?0:Gt[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}})(qc);const Wc=qc;function go(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}go.prototype.initialize=function(t){this.degree=t,this.genPoly=Wc.generateECPolynomial(this.degree)};go.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=Wc.mod(r,this.genPoly),i=this.degree-n.length;if(i>0){const o=new Uint8Array(this.degree);return o.set(n,i),o}return n};var Ch=go,Vc={},it={},yo={};yo.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var je={};const Qc="[0-9]+",kh="[A-Z $%*+\\-./:]+";let lr="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";lr=lr.replace(/u/g,"\\u");const xh="(?:(?![A-Z0-9 $%*+\\-./:]|"+lr+`)(?:.|[\r
17
+ ]))+`;je.KANJI=new RegExp(lr,"g");je.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");je.BYTE=new RegExp(xh,"g");je.NUMERIC=new RegExp(Qc,"g");je.ALPHANUMERIC=new RegExp(kh,"g");const Eh=new RegExp("^"+lr+"$"),Ah=new RegExp("^"+Qc+"$"),Th=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");je.testKanji=function(t){return Eh.test(t)};je.testNumeric=function(t){return Ah.test(t)};je.testAlphanumeric=function(t){return Th.test(t)};(function(e){const t=yo,r=je;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=yo,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),v=(p-w)*8;if(f===i.MIXED)return v;const g=v-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}})(Vc);var Kc={};const Fi=xe,Jc=1335,Rh=21522,Ns=Fi.getBCHDigit(Jc);Kc.getEncodedBits=function(t,r){const n=t.bit<<3|r;let i=n<<10;for(;Fi.getBCHDigit(i)-Ns>=0;)i^=Jc<<Fi.getBCHDigit(i)-Ns;return(n<<10|i)^Rh};var Gc={};const Ph=it;function Rt(e){this.mode=Ph.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 Ih=Rt;const Mh=it,Kn=["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=Mh.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=Kn.indexOf(this.data[r])*45;n+=Kn.indexOf(this.data[r+1]),t.put(n,11)}this.data.length%2&&t.put(Kn.indexOf(this.data[r]),6)};var Fh=Pt,Dh=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 Bh=Dh,Nh=it;function It(e){this.mode=Nh.BYTE,typeof e=="string"&&(e=Bh(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 Oh=It;const Lh=it,$h=xe;function Mt(e){this.mode=Lh.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=$h.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 Uh=Mt,Yc={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})(Yc);var zh=Yc.exports;(function(e){const t=it,r=Ih,n=Fh,i=Oh,o=Uh,s=je,a=xe,u=zh;function m(w){return unescape(encodeURIComponent(w)).length}function y(w,v,g){const b=[];let S;for(;(S=w.exec(g))!==null;)b.push({data:S[0],index:S.index,mode:v,length:S[0].length});return b}function h(w){const v=y(s.NUMERIC,t.NUMERIC,w),g=y(s.ALPHANUMERIC,t.ALPHANUMERIC,w);let b,S;return a.isKanjiModeEnabled()?(b=y(s.BYTE,t.BYTE,w),S=y(s.KANJI,t.KANJI,w)):(b=y(s.BYTE_KANJI,t.BYTE,w),S=[]),v.concat(g,b,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,v){switch(v){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(v,g){const b=v.length-1>=0?v[v.length-1]:null;return b&&b.mode===g.mode?(v[v.length-1].data+=g.data,v):(v.push(g),v)},[])}function l(w){const v=[];for(let g=0;g<w.length;g++){const b=w[g];switch(b.mode){case t.NUMERIC:v.push([b,{data:b.data,mode:t.ALPHANUMERIC,length:b.length},{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.ALPHANUMERIC:v.push([b,{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.KANJI:v.push([b,{data:b.data,mode:t.BYTE,length:m(b.data)}]);break;case t.BYTE:v.push([{data:b.data,mode:t.BYTE,length:m(b.data)}])}}return v}function f(w,v){const g={},b={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},b[R]={};for(let F=0;F<S.length;F++){const P=S[F];g[P]&&g[P].node.mode===A.mode?(b[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),b[P][R]=d(A.length,A.mode)+4+t.getCharCountIndicator(A.mode,v))}}S=x}for(let k=0;k<S.length;k++)b[S[k]].end=0;return{map:b,table:g}}function p(w,v){let g;const b=t.getBestModeForData(w);if(g=t.from(v,b),g!==t.BYTE&&g.bit<b.bit)throw new Error('"'+w+'" cannot be encoded with mode '+t.toString(g)+`.
19
+ Suggested mode is: `+t.toString(b));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(v){return v.reduce(function(g,b){return typeof b=="string"?g.push(p(b,null)):b.data&&g.push(p(b.data,b.mode)),g},[])},e.fromString=function(v,g){const b=h(v,a.isKanjiModeEnabled()),S=l(b),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(v){return e.fromArray(h(v,a.isKanjiModeEnabled()))}})(Gc);const Tn=xe,Jn=xn,jh=vh,Hh=_h,qh=zc,Wh=jc,Di=Hc,Bi=En,Vh=Ch,en=Vc,Qh=Kc,Kh=it,Gn=Gc;function Jh(e,t){const r=e.size,n=Wh.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 Gh(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 Yh(e,t){const r=qh.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 Xh(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=Qh.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 Zh(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 em(e,t,r){const n=new jh;r.forEach(function(u){n.put(u.mode.bit,4),n.put(u.getLength(),Kh.getCharCountIndicator(u.mode,e)),u.write(n)});const i=Tn.getSymbolTotalCodewords(e),o=Bi.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 tm(n,e,t)}function tm(e,t,r){const n=Tn.getSymbolTotalCodewords(t),i=Bi.getTotalCodewordsCount(t,r),o=n-i,s=Bi.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 Vh(d);let l=0;const f=new Array(s),p=new Array(s);let w=0;const v=new Uint8Array(e.buffer);for(let C=0;C<s;C++){const x=C<u?y:h;f[C]=v.slice(l,l+x),p[C]=c.encode(f[C]),l+=x,w=Math.max(w,x)}const g=new Uint8Array(n);let b=0,S,k;for(S=0;S<w;S++)for(k=0;k<s;k++)S<f[k].length&&(g[b++]=f[k][S]);for(S=0;S<d;S++)for(k=0;k<s;k++)g[b++]=p[k][S];return g}function rm(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 s=Wh(t,r,i),a=An.getSymbolSize(t),u=new Nh(a);return Uh(u,t),zh(u),jh(u,t),Yn(u,r,0),t>=7&&Hh(u,t),qh(u,s),isNaN(n)&&(n=Fi.getBestMask(u,Yn.bind(null,u,r))),Fi.applyMask(n,u),Yn(u,r,n),{modules:u,version:t,errorCorrectionLevel:r,maskPattern:n,segments:i}}Lc.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=Zr.from(r.version),o=Fi.from(r.maskPattern),r.toSJISFunc&&An.setToSJISFunction(r.toSJISFunc)),Qh(t,i,n,o)};var Gc={},yo={};(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),g=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>=g&&c>=g&&d<m-g&&c<m-g){const p=Math.floor((d-g)/u),w=Math.floor((c-g)/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}}})(yo);(function(e){const t=yo;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 g=t.getImageWidth(o.modules.size,u),h=m.getContext("2d"),d=h.createImageData(g,g);return t.qrToImageData(d.data,o,u),r(h,m,g),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),g=u.type||"image/png",h=u.rendererOpts||{};return m.toDataURL(g,h.quality)}})(Gc);var Xc={};const Kh=yo;function Ds(e,t){const r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function Gn(e,t,r){let n=e+t;return typeof r!="undefined"&&(n+=" "+r),n}function Jh(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?Gn("M",u+r,.5+m+r):Gn("m",i,0),i=0,o=!1),u+1<t&&e[a+1]||(n+=Gn("h",s),s=0)):i++}return n}Xc.render=function(t,r,n){const i=Kh.getOptions(r),o=t.modules.size,s=t.modules.data,a=o+i.margin*2,u=i.color.light.a?"<path "+Ds(i.color.light,"fill")+' d="M0 0h'+a+"v"+a+'H0z"/>':"",m="<path "+Ds(i.color.dark,"stroke")+' d="'+Jh(s,o,i.margin)+'"/>',g='viewBox="0 0 '+a+" "+a+'"',d='<svg xmlns="http://www.w3.org/2000/svg" '+(i.width?'width="'+i.width+'" height="'+i.width+'" ':"")+g+' shape-rendering="crispEdges">'+u+m+`</svg>
23
- `;return typeof n=="function"&&n(null,d),d};const Yh=uh,Bi=Lc,Zc=Gc,Gh=Xc;function wo(e,t,r,n,i){const o=[].slice.call(arguments,1),s=o.length,a=typeof o[s-1]=="function";if(!a&&!Yh())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 g=Bi.create(r,n);u(e(g,t,n))}catch(g){m(g)}})}try{const u=Bi.create(r,n);i(null,e(u,t,n))}catch(u){i(u)}}br.create=Bi.create;br.toCanvas=wo.bind(null,Zc.render);br.toDataURL=wo.bind(null,Zc.renderToDataURL);br.toString=wo.bind(null,function(e,t,r){return Gh.render(e,r)});const Xh=""+new URL("assets/android-badge-CJfxIs_L.svg",import.meta.url).href,Zh=""+new URL("assets/apple-badge-9Sgpxn4d.svg",import.meta.url).href,em=J.div({display:"flex",width:"848px",justifyContent:"space-between"}),tm=J.div({display:"flex",width:"100%",flexDirection:"column",justifyContent:"space-between"}),rm=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"}}),nm=J.div({textAlign:"center",fontSize:"1.25rem",lineHeight:"1.75rem",fontWeight:"700","--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=J.div({display:"flex",width:"400px",flexDirection:"column",justifyContent:"center"}),om=J.div({marginTop:"1.5rem",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"space-evenly",borderRadius:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",padding:"0.75rem","@media (min-width: 640px)":{marginTop:"2rem",flexDirection:"row",justifyContent:"space-between",padding:"1.5rem"}}),sm=J.div({display:"flex",width:"100%",flexDirection:"column"}),am=J.div({marginBottom:"1rem",textAlign:"center",fontSize:"1rem",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"}}),cm=J.div({marginRight:"1.5rem",flex:"none"}),um=J.img({height:"100px",width:"100px"}),lm=J.div({display:"flex",justifyContent:"space-evenly","@media (min-width: 640px)":{justifyContent:"space-between"}}),dm=J.img({height:"40px",width:"100%","@media (min-width: 640px)":{height:"34px"}}),fm=J.img({height:"40px",width:"100%","@media (min-width: 640px)":{height:"34px"}}),pm=J.div({marginTop:"1.25rem",display:"flex",width:"100%",justifyContent:"center","@media (min-width: 640px)":{marginRight:"1rem",width:"350px"}}),hm=J.img({width:"240px","@media (min-width: 640px)":{width:"350px"}}),mm=J.div({marginTop:"2rem",width:"320px","@media (min-width: 640px)":{marginTop:"3rem"}}),Xn=J.div({display:"none","@media (min-width: 640px)":{display:"block"}}),Os=J.div({display:"block","@media (min-width: 640px)":{display:"none"}}),Tn=({fundName:e,engagementId:t,theme:r,iOsDownloadUrl:n,androidDownloadUrl:i,qrCodeUrl:o,appMockupsImage:s})=>{const[a,u]=be(""),[m,g]=be(""),[h,d]=be(""),{createTrackedLink:c}=ah();if(te(()=>{const w="ByofEngagementApp Downloaded",v=c(o,{eventType:w,type:"QR",engagementId:t});g(c(n,{eventType:w,type:"apple",engagementId:t})),d(c(i,{eventType:w,type:"android",engagementId:t}));const y={color:{dark:r.colors["theme-600"]}};pe(void 0,null,function*(){const S=yield br.toDataURL(v,y);u(S)})},[]),ch(r),!a||!m||!h)return _(Ke,{});const l=()=>T(Ze,{children:[T(rm,{children:["Thanks for staying with ",e]}),T(nm,{children:["Get the ",e," app to access your account and track your super 24/7!"]})]}),f=()=>T(om,{children:[_(cm,{children:_(Xn,{children:_(um,{alt:`${e} app download`,src:a})})}),T(sm,{children:[T(am,{children:[_(Os,{children:"Download the app now"}),_(Xn,{children:"Scan to download the app"})]}),T(lm,{children:[_("a",{href:m,children:_(dm,{alt:"Apple badge",src:Zh})}),_("a",{href:h,children:_(fm,{alt:"Android badge",src:Xh})})]})]})]}),p=()=>_(pm,{children:_(hm,{alt:`${e} app`,src:s})});return T(Ze,{children:[T(nh,{pillContent:"Partner advertisement",children:[_(Os,{children:T(tm,{children:[_(l,{}),_(p,{}),_(f,{})]})}),_(Xn,{children:T(em,{children:[T(im,{children:[_(l,{}),_(f,{})]}),_(p,{})]})})]}),_(mm,{children:_(Cn,{onClick:Jf,fillWidth:!0,children:"Continue"})})]})},gm=""+new URL("assets/app-mockups-rijN2nFq.png",import.meta.url).href,ym={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"}},wm=()=>_(Tn,{fundName:"Australian Super",engagementId:"australian",theme:ym,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",appMockupsImage:gm}),bm=""+new URL("assets/app-mockups-BoH89R6-.png",import.meta.url).href,vm={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"}},_m=()=>_(Tn,{fundName:"Aware Super",engagementId:"aware-super",theme:vm,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:bm}),Sm=""+new URL("assets/app-mockups-vh7MArzz.png",import.meta.url).href,Cm={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"}},km=()=>_(Tn,{fundName:"Hesta Super",engagementId:"hesta",theme:Cm,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:Sm}),Em=""+new URL("assets/app-mockups-Cr1XEjQA.png",import.meta.url).href,xm={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"}},Am=()=>_(Tn,{fundName:"Spirit Super",engagementId:"spirit",theme:xm,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:Em}),Ls={australian:_(wm,{}),spirit:_(Am,{}),hesta:_(km,{}),"aware-super":_(_m,{})},Tm=()=>{var s;const e=ze(a=>a.session),{data:t,isLoading:r,isError:n,error:i}=Ic(e.fundUsi||""),o=t&&((s=t.engagements)==null?void 0:s.length)>0;if(r)return _(Ke,{});if(!r&&(!t||n))return ye("Error when calling campaign connect to compute BYOF engagements",{fundUsi:e.fundUsi,data:t,error:i}),Yf(),_(Ke,{});if(o){const{engagementId:a}=t.engagements[0];if(a in Ls)return Ls[a]}return!r&&!o&&Kf(),_(Ke,{})},Rm=J.div({display:"flex",flexDirection:"column",alignItems:"center"}),Pm=()=>T(Rm,{children:[_(Tm,{}),_(Dc,{})]}),Im=()=>_(Pm,{}),Mm=e=>window.playwrightRunning?"00000000-0000-0000-0000-000000000000":Oc(e).sub,Fm=(e,t)=>{let r=0;for(const n of t)if(r+=n.percentage,e<r)return n.variantName;return t[0].variantName},Nm=(e,t)=>{if(e.length===0||t===0)return e;const r=e.length;return t=(t%r+r)%r,e.slice(-t)+e.slice(0,-t)},Bm=(e,t)=>{if(t.splitType==="percentage"){const r=Nm(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 Fm(o,t.variants)}return t.variants[0].variantName},eu=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=Mm(lt.getState().session.accessToken||""),o=Bm(i,n);o&&(lt.dispatch(Wf({experimentName:r,selectedVariant:o})),lt.dispatch(Kt.endpoints.segmentTrack.initiate({event:"$experiment_started",properties:{"Experiment name":r,"Variant name":o}})))}}}},Dm=()=>{const[e]=$f(),[t,r]=be(!0),n=Sn(),[i]=Uf();if(te(()=>{pe(void 0,null,function*(){const a=yield i();"data"in a?(rp(),tp(),r(!1)):(ye("App-loaded service call failed.",{error:a.error}),np(`App-loaded service call failed: ${JSON.stringify(a.error)}`))})},[]),t)return _(Ke,{});const o=()=>pe(void 0,null,function*(){r(!0),ep();const{data:s,isSuccess:a,status:u}=yield e();if(!a){ye("Backend service call failed.",{status:u}),ip(`Backend service call failed: ${u}`);return}const m=s==null?void 0:s.promotedFunds.filter(g=>g.type==="defined-benefits");if(s.hasDefinedBenefitsEligibility&&(m==null?void 0:m.length)>0){const g=Xp(m[0].fundId);n(Bc({fundId:m[0].fundId,fundType:"defined-benefits",iframeType:"PromotedFundJoinV2",fundName:g}));return}n(Qf(s.promotedFunds)),s.promotedFunds.forEach(g=>{const h=po(g);h!=null&&h.experiments&&eu(h.experiments)})});return T("div",{children:[_("div",{css:{textAlign:"center",fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Important information about super"}),_("div",{css:{marginTop:"0.75rem",maxWidth:"800px",textAlign:"center",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))","@media (min-width: 640px)":{marginTop:"1rem",fontSize:"1.125rem",lineHeight:"2rem"}},children:"The choice of superannuation fund is an important personal financial decision. Next, you’ll be asked to nominate a super fund to receive your employer contributions."}),_("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children: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:[_("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:[_("li",{children:"Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"}),_("li",{children:"all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"}),_("li",{children:"in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"}),_("li",{children:"Trustees of the featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform;"}),_("li",{children:"in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."}),T("li",{children:["Your personal data that is provided to us will be subject to our"," ",_(O,{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"}),"."]})]}),_(Cn,{fillWidth:!0,onClick:()=>o(),children:"Continue"})]})})]})},Om=(e,t)=>{window.parent.postMessage(e,t===void 0?"*":t)},Lm=e=>{Om({type:"pageNavigated",url:e,sender:"flare"})},$m=()=>{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-"}},Um=`https://${$m()}api.simplefinancialchoices.com/promoted-funds/embed`,Nr=e=>e.replace(/ /g,""),st=e=>!(typeof e=="string"&&e.trim().length>0),zm=()=>{var a,u,m,g,h,d;const e=ze(c=>c.state.selectedFund),t=ze(c=>c.session.accessToken),r=Sn(),n=Le.endpoints.campaignConnect.useQueryState().data;if(!e||!t||!n)return ye("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(qe()),_(Ke,{});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:(g=n.userProfile.gender)!=null?g:"",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=tn();te(()=>{var l;const c=(l=o.current)==null?void 0:l.contentDocument;if(c){c.open();const f=c.createElement("form");f.method="POST",f.target="_self",f.action=Um;let p;for(p in i){const w=i[p];if(w!==void 0){const v=document.createElement("input");v.name=p,v.type="hidden",typeof w=="boolean"?v.value=w?"true":"false":v.value=w,f.append(v)}}c.appendChild(f),c.close(),f.submit()}},[o]);const s=c=>pe(void 0,null,function*(){const{data:l}=c;if(l.sender==="promoted-fund-redirect"){switch(window.removeEventListener("message",s),l.type){case"cancel":r(qe());break;case"success-promoted":{if(st(l.memberNumber)||st(l.usi)){ye("Bad response from PFJ",{type:l.type,memberNumber:l.memberNumber,usi:l.usi}),r(qe());break}jt({fundType:"Promoted",fundId:e.fundId,usi:Nr(l.usi),memberNumber:l.memberNumber,memberFirstName:l.memberFirstName,memberFamilyName:l.memberFamilyName,fundName:e.fundName});break}case"success-promoted-default":{if(st(l.usi)){ye("Bad response from PFJ",{type:l.type,usi:l.usi}),r(qe());break}jt({fundType:"PromotedDefault",fundId:l.fundId,usi:Nr(l.usi),fundName:e.fundName});break}case"success-promoted-default-with-join":{if(st(l.memberNumber)||st(l.usi)){ye("Bad response from PFJ",{type:l.type,memberNumber:l.memberNumber,usi:l.usi}),r(qe());break}jt({fundType:"PromotedDefaultWithJoin",fundId:e.fundId,usi:Nr(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)){ye("Bad response from PFJ",{type:l.type,memberNumber:l.memberNumber,usi:l.usi}),r(qe());break}jt({fundType:"DefinedBenefits",fundId:l.fundId,usi:Nr(l.usi),memberNumber:l.memberNumber,memberElectContributionRatePreTax:l.memberElectContributionRatePreTax,memberElectContributionRatePostTax:l.memberElectContributionRatePostTax,fundName:e.fundName});break}}r(qe())}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),Lm(window.location.href);break}}});return window.addEventListener("message",s),_("div",{css:{width:"100vw"},children:_("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},jm="interop-mode",Hm="react-native",$s=()=>window.location.search.includes(`${jm}=${Hm}`),tu=()=>{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-"}},Us=`https://${tu()}join.slatesuper.com.au/confirm`,zs=`https://${tu()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,qm=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},Wm=()=>{var a,u,m,g;const e=ze(h=>h.session.accessToken),t=Sn(),r=Le.endpoints.campaignConnect.useQueryState().data;if(!r)return ye("SlateIFrame was in an inconsistent state and the user was redirected to the three panel.",{data:r?"Not null":"Null"}),t(qe()),_(Ke,{});const i={authToken:!Us.match(/autodev|sandbox/)?e:void 0,successRedirectUrl:zs,cancelRedirectUrl:zs,skipConsolidation:$s()?"true":"false",skipInsurance:$s()?"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:qm(r.userProfile.gender),taxFileNumber:(m=r.userProfile.tfn)!=null?m:"",addressLine1:r.userProfile.address.addressLine1,addressLine2:(g=r.userProfile.address.addressLine2)!=null?g:"",city:r.userProfile.address.city,state:r.userProfile.address.state,postCode:r.userProfile.address.postcode},o=tn();te(()=>{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=Us;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=>pe(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:ur.fundId,usi:lo,memberNumber:d.memberNumber,fundName:ur.name});break}default:t(qe());break}return}if(d.sender==="flare")switch(d.type){case"contentResized":{const c=o.current;if(!c)return;c.height=d.height>0?String(d.height):c.height,c.width=d.width>0?String(d.width):c.width;break}}});return window.addEventListener("message",s),_("div",{css:{width:"100vw"},children:_("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Vm=({type:e})=>_("div",{css:[{height:"2.25rem",borderTopLeftRadius:"0.375rem",borderTopRightRadius:"0.375rem",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.375rem",paddingBottom:"0.375rem",textAlign:"center"},e==="popular"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},e==="industry"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},e==="workspace"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(243 232 255 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(107 33 168 / var(--tw-text-opacity))"},e==="business"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(254 249 195 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(133 77 14 / var(--tw-text-opacity))"}],children: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"]})}),Qm=r=>{var n=r,{size:e}=n,t=ot(n,["size"]);return _("svg",$(I({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#22c55e",width:e?e*4:"100%"},t),{children:_("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"})}))},js={Check:Qm},_r=()=>{const{funds:e}=ze(({state:t})=>t);return(e==null?void 0:e.length)===1&&e[0].fundId==="mercermychoice"},Km=({name:e,logo:t,coverImage:r,extraBadge:n,isPromotedDefault:i,isMultiFund:o})=>{const s=_r(),a=T(Ze,{children:[T("div",{css:{marginRight:"-0.5rem",marginTop:"-1.25rem",textAlign:"right"},children:[n,i&&_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},children:"Employer Default"}),_("span",{css:{marginRight:"0.125rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(31 41 55 / var(--tw-text-opacity))"},children:"Featured"})]}),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:[_("img",{css:[{height:"3rem",width:"80px",objectFit:"contain","@media (min-width: 768px)":{display:"none",height:"3.5rem",width:"96px"},"@media (min-width: 1024px)":{height:"4rem",width:"140px",objectPosition:"left"}},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:t}),_("div",{css:{display:"grid",alignContent:"center"},children:_("p",{css:[{marginLeft:"1rem",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","@media (min-width: 768px)":{marginBottom:"0px",marginLeft:"0px",fontSize:"1.125rem",lineHeight:"1.75rem"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:e})})]})]}),u=T(Ze,{children:[T("div",{css:{marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"4rem",alignItems:"center",justifyContent:"space-between"},children:[_("img",{css:[{width:"100px"}],alt:e,src:t}),T("div",{children:[n,i&&_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},children:"Employer Default"}),_("span",{css:{marginRight:"0.125rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(31 41 55 / var(--tw-text-opacity))"},children:"Featured"})]})]}),_("img",{css:[{width:"100%"},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:r})]});return _(Ze,{children:s&&$e()?u:a})},Jm=({features:e,featureSubText:t,customContent:r,name:n})=>{const i=_r(),o=T(Ze,{children:[_("div",{css:{marginTop:"1rem","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.25rem","@media (min-width: 640px)":{marginTop:"0.5rem"}},children:e.map(a=>T("div",{css:{display:"flex"},children:[_("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:_(js.Check,{alt:"checked"})}),_("div",{css:{lineHeight:"1.25rem"},children:a})]}))}),t&&_("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:t}),r]}),s=T(Ze,{children:[T("div",{css:{padding:"1.5rem",paddingBottom:"0px"},children:[_("div",{css:[{fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"700"}],children:n}),e.map(a=>T("div",{css:{marginTop:"0.5rem",display:"flex"},children:[_("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:_(js.Check,{alt:"checked"})}),_("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"400"},children:a})]}))]}),t&&_("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:t}),r]});return _(Ze,{children:i&&$e()?s:o})},Ym=({name:e,logo:t,coverImage:r,features:n,featureSubText:i,isMultiFund:o,isPromotedDefault:s,extraBadge:a,customContent:u})=>{const m=_r();return T("div",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem"},m&&$e()&&{padding:"0px"}],children:[_(Km,{name:e,logo:t,coverImage:r,isMultiFund:o,extraBadge:a,isPromotedDefault:s}),_(Jm,{name:e,features:n,customContent:u,featureSubText:i})]})},Gm=()=>_("div",{css:{display:"flex",justifyContent:"center"},children:_("div",{css:{maxWidth:"800px",textAlign:"center"},children:_("h3",{css:{fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Nominate a super fund"})})}),Hs=({fund:e,isMultiFund:t})=>{const r=Sn(),n=_r();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:[_("div",{css:[{"@media (min-width: 768px)":{maxWidth:"240px"}},t&&{"@media (min-width: 1024px)":{maxWidth:"100%"}},n&&$e()&&{"@media (min-width: 768px)":{maxWidth:"100%"}}],children:_(Cn,{fillWidth:!0,onClick:()=>{Zf(e),r(Bc({fundId:e.fundId,fundType:e.fundType,iframeType:e.iframeType,fundName:e.name}))},children:"Choose this fund"})}),_("div",{css:{marginTop:"1.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:e.disclaimer})]}),e.abnInfo&&e.abn&&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]})]})]})},Xm="https://my.gov.au",Zm="www.my.gov.au",eg="https://www.apra.gov.au/register-of-superannuation-institutions",tg="www.apra.gov.au",rg=(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"},ng=()=>{const e=ze(s=>s.state.funds),t=ze(s=>s.experimentsData),r=_r(),n=ae(()=>Gp(e!=null?e:[]),[e]),i=Gf();te(()=>{Xf(n)},[]);const o=n.length>1;return T("div",{children:[_(Gm,{}),_("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center"},children:_("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((s,a)=>{const u=rg(s.fundId,t);return T("div",{children:[(!$e()||a===0)&&_("div",{css:[{visibility:"hidden"},u&&{visibility:"visible"}],children:_(Vm,{type:u})}),_("div",{css:[n.length===1&&{maxWidth:"720px"},n.length===2&&{maxWidth:"720px"},n.length===3&&{maxWidth:"960px"},{height:"100%",borderBottomWidth:"1px",borderLeftWidth:"1px",borderRightWidth:"1px",borderTopWidth:"1px","@media (min-width: 1024px)":{borderBottomWidth:"0px"}},a!==0&&{borderTopWidth:"0px","@media (min-width: 1024px)":{borderLeftWidth:"0px",borderTopWidth:"1px"}},a===0&&{borderTopLeftRadius:"0.5rem",borderTopRightRadius:"0.5rem"},a===0&&a!==n.length-1&&{"@media (min-width: 1024px)":{borderTopRightRadius:"0px"}},a===n.length-1&&{borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem","@media (min-width: 1024px)":{borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderTopRightRadius:"0.5rem"}},!o&&{"@media (min-width: 1024px)":{borderBottomRightRadius:"0.5rem",borderBottomLeftRadius:"0.5rem",borderBottomWidth:"1px"}},u&&{borderTopLeftRadius:"0px",borderTopRightRadius:"0px","@media (min-width: 1024px)":{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"}}],children:T("div",{css:[{display:"flex"}],children:[_("div",{css:[{display:"none",width:"9rem",justifyContent:"center",paddingLeft:"1.5rem",paddingTop:"1.5rem","@media (min-width: 768px)":{display:"flex"}},o&&{"@media (min-width: 1024px)":{display:"none"}},r&&$e()&&{"@media (min-width: 768px)":{display:"none"}}],children:_("img",{css:{height:"4rem",width:"100%",maxWidth:"96px",objectFit:"contain"},alt:s.name,src:s.logo})}),T("div",{css:[{width:"100%"},r&&$e()&&{minWidth:"286px",maxWidth:"480px"}],children:[_(Ym,{logo:s.logo,name:s.name,coverImage:s.coverImage,features:s.features,featureSubText:s.featureSubText,isMultiFund:o,isPromotedDefault:s.fundType==="promoted-default",extraBadge:s.extraBadge,customContent:s.customContent}),_("div",{css:[o&&{"@media (min-width: 1024px)":{display:"none"}}],children:_(Hs,{fund:s,isMultiFund:o})})]})]})})]})}),n.map((s,a)=>_("div",{css:[{display:"none",borderBottomWidth:"1px",borderRightWidth:"1px"},o&&{"@media (min-width: 1024px)":{display:"block"}},a===0&&{borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem",borderLeftWidth:"1px"},a===0&&a!==n.length-1&&{"@media (min-width: 1024px)":{borderBottomRightRadius:"0px"}},a===n.length-1&&{borderBottomRightRadius:"0.5rem"}],children:_(Hs,{fund:s,isMultiFund:o})}))]})})}),_("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:[_("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:[_("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"," ",_(O,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:Xm,children:Zm})]}),T("li",{children:["A full list of super funds can be viewed at"," ",_(O,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:eg,children:tg})]})]}),_(Cn,{fillWidthOnMobile:!0,onClick:()=>i(),children:"Choose another super fund"})]})}),_("div",{css:{display:"flex",justifyContent:"center"},children:T("div",{css:{maxWidth:"720px",paddingTop:"2rem","@media (min-width: 640px)":{paddingTop:"3rem"}},children:[_("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:[_("li",{children:"The superannuation funds featured above are for your information only. The order, position and placement of content should not be interpreted as an opinion or recommendation (actual or implied) by Flare as to the suitability or appropriateness of any superannuation fund for you. In featuring these superannuation funds, Flare has not taken into account your objectives, financial situation or needs."}),_("li",{children:"This is not a comparison service. This page contains factual information only and does not constitute either general or personal advice about any financial products. We do not take into account your objectives, financial situation or needs. If you have questions or need help making a decision about your superannuation fund, you should speak to a licensed financial product advice provider."}),_("li",{children:"Flare, the technology partner you are accessing Flare via and your employer do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the featured superannuation funds. Flare does not endorse or accept responsibility for any of the content shown about any of the featured superannuation funds."}),_("li",{children:"You should consider the relevant superannuation fund’s PDS and TMD (if applicable) in deciding whether to apply to join the superannuation fund. Each of the superannuation funds featured above include a link to their PDS and TMD (if applicable) for your convenience. If you are considering joining another superannuation fund, you can typically find the PDS and TMD (if applicable) on that fund’s website."}),_("li",{children:"You should be aware that the trustees of featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform."})]})]})})]})},ig=J.div({display:"flex",flexDirection:"column",alignItems:"center"}),og=()=>{const{funds:e,selectedFund:t}=ze(i=>i.state),[r]=jf();return te(()=>{r()},[]),T(ig,{children:[_("div",{children:(()=>{if(t){if(t.iframeType==="PromotedFundJoinV2")return _(zm,{});if(t.iframeType==="SlateJoin")return _(Wm,{})}else if(e)return _(ng,{});return _(Dm,{})})()}),_("div",{children:_(Dc,{})})]})},sg=()=>_(og,{}),ag={},cg=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 bo(){return(bo=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 ug=["context","children"];function lg(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,ug);return $i(t,r)}function dg(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=X(lg,bo({},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[ru(a[s].name)]=a[s].value);for(s=u.length;s--;){var m=t(u[s],null),g=u[s].slot;g?o[g]=X(qs,{name:g},m):i[s]=m}var h=n?X(qs,null,i):i;return X(n||r.nodeName.toLowerCase(),o,h)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Li:et)(this._vdom,this._root)}function ru(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function fg(e,t,r){if(this._vdom){var n={};n[e]=r=r==null?void 0:r,n[ru(e)]=r,this._vdom=$i(this._vdom,n),et(this._vdom,this._root)}}function pg(){et(this._vdom=null,this._root)}function qs(e,t){var r=this;return X("slot",bo({},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 hg(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=dg,i.prototype.attributeChangedCallback=fg,i.prototype.disconnectedCallback=pg,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 mg=()=>_(Tl,{styles:Rl`*, ::before, ::after {
22
+ `);const s=em(t,r,i),a=Tn.getSymbolSize(t),u=new Hh(a);return Jh(u,t),Gh(u),Yh(u,t),Yn(u,r,0),t>=7&&Xh(u,t),Zh(u,s),isNaN(n)&&(n=Di.getBestMask(u,Yn.bind(null,u,r))),Di.applyMask(n,u),Yn(u,r,n),{modules:u,version:t,errorCorrectionLevel:r,maskPattern:n,segments:i}}$c.create=function(t,r){if(typeof t=="undefined"||t==="")throw new Error("No input text");let n=Jn.M,i,o;return typeof r!="undefined"&&(n=Jn.from(r.errorCorrectionLevel,Jn.M),i=en.from(r.version),o=Di.from(r.maskPattern),r.toSJISFunc&&Tn.setToSJISFunction(r.toSJISFunc)),rm(t,i,n,o)};var Xc={},wo={};(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}}})(wo);(function(e){const t=wo;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)}})(Xc);var Zc={};const nm=wo;function Os(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 im(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}Zc.render=function(t,r,n){const i=nm.getOptions(r),o=t.modules.size,s=t.modules.data,a=o+i.margin*2,u=i.color.light.a?"<path "+Os(i.color.light,"fill")+' d="M0 0h'+a+"v"+a+'H0z"/>':"",m="<path "+Os(i.color.dark,"stroke")+' d="'+im(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 om=wh,Ni=$c,eu=Xc,sm=Zc;function bo(e,t,r,n,i){const o=[].slice.call(arguments,1),s=o.length,a=typeof o[s-1]=="function";if(!a&&!om())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=Ni.create(r,n);u(e(y,t,n))}catch(y){m(y)}})}try{const u=Ni.create(r,n);i(null,e(u,t,n))}catch(u){i(u)}}br.create=Ni.create;br.toCanvas=bo.bind(null,eu.render);br.toDataURL=bo.bind(null,eu.renderToDataURL);br.toString=bo.bind(null,function(e,t,r){return sm.render(e,r)});const am=""+new URL("assets/android-badge-CJfxIs_L.svg",import.meta.url).href,cm=""+new URL("assets/apple-badge-9Sgpxn4d.svg",import.meta.url).href,um=H.div({display:"flex",width:"848px",justifyContent:"space-between"}),lm=H.div({display:"flex",width:"100%",flexDirection:"column",justifyContent:"space-between"}),dm=H.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"}}),fm=H.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"}}),pm=H.div({display:"flex",width:"420px",flexDirection:"column",justifyContent:"center"}),hm=H.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=H.div({display:"flex",width:"100%",flexDirection:"column"}),gm=H.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"}}),ym=H.div({marginRight:"1.5rem",flex:"none"}),wm=H.img({height:"120px",width:"120px"}),bm=H.div({display:"flex",justifyContent:"space-evenly","@media (min-width: 640px)":{justifyContent:"space-between"}}),vm=H.img({height:"40px",width:"100%","@media (min-width: 640px)":{height:"34px"}}),_m=H.img({height:"40px",width:"100%","@media (min-width: 640px)":{height:"34px"}}),Sm=H.div({fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"400","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"}),Cm=H.div({marginTop:"1.25rem",display:"flex",width:"100%",justifyContent:"center","@media (min-width: 640px)":{marginRight:"1rem",width:"400px"}}),km=H.img({width:"240px","@media (min-width: 640px)":{width:"400px"}}),xm=H.div({marginTop:"2rem",width:"320px","@media (min-width: 640px)":{marginTop:"3rem"}}),Zn=H.div({display:"none","@media (min-width: 640px)":{display:"block"}}),Ls=H.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}=gh(),w=`Thanks for staying with ${e}`,v=`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 br.toDataURL(x,E);h(R)})},[]),yh(r),!y||!d||!l)return _(Je,{});const g=()=>T(Ke,{children:[_(dm,{children:s!=null?s:w}),_(fm,{children:a!=null?a:v})]}),b=()=>T(hm,{children:[_(ym,{children:_(Zn,{children:_(wm,{alt:`${e} app download`,src:y})})}),T(mm,{children:[T(gm,{children:[_(Ls,{children:"Download the app now"}),_(Zn,{children:"Scan to download the app"})]}),T(bm,{children:[_("a",{href:d,children:_(vm,{alt:"Apple badge",src:cm})}),_("a",{href:l,children:_(_m,{alt:"Android badge",src:am})})]})]})]}),S=()=>_(Sm,{children:u}),k=()=>_(Cm,{children:_(km,{alt:`${e} app`,src:m})});return T(Ke,{children:[T(fh,{pillContent:"Partner advertisement",children:[_(Ls,{children:T(lm,{children:[_(g,{}),_(k,{}),_(b,{}),u&&_(S,{})]})}),_(Zn,{children:T(um,{children:[T(pm,{children:[_(g,{}),_(b,{}),u&&_(S,{})]}),_(k,{})]})})]}),_(xm,{children:_(kn,{onClick:Gf,fillWidth:!0,children:"Continue"})})]})},Em=""+new URL("assets/app-mockups-CsPJDZFr.png",import.meta.url).href,Am={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"}},Tm=()=>_(Rn,{fundName:"Australian Super",engagementId:"australian",theme:Am,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:Em}),Rm=""+new URL("assets/app-mockups-BoH89R6-.png",import.meta.url).href,Pm={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"}},Im=()=>_(Rn,{fundName:"Aware Super",engagementId:"aware-super",theme:Pm,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:Rm}),Mm=""+new URL("assets/app-mockups-vh7MArzz.png",import.meta.url).href,Fm={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"}},Dm=()=>_(Rn,{fundName:"Hesta Super",engagementId:"hesta",theme:Fm,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:Mm}),Bm=""+new URL("assets/app-mockups-Cr1XEjQA.png",import.meta.url).href,Nm={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"}},Om=()=>_(Rn,{fundName:"Spirit Super",engagementId:"spirit",theme:Nm,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:Bm}),$s={australian:_(Tm,{}),spirit:_(Om,{}),hesta:_(Dm,{}),"aware-super":_(Im,{})},Lm=()=>{var s;const e=ze(a=>a.session),{data:t,isLoading:r,isError:n,error:i}=Mc(e.fundUsi||""),o=t&&((s=t.engagements)==null?void 0:s.length)>0;if(r)return _(Je,{});if(!r&&(!t||n))return we("Error when calling campaign connect to compute BYOF engagements",{fundUsi:e.fundUsi,data:t,error:i}),Yf(),_(Je,{});if(o){const{engagementId:a}=t.engagements[0];if(a in $s)return $s[a]}return!r&&!o&&Jf(),_(Je,{})},$m=H.div({display:"flex",flexDirection:"column",alignItems:"center"}),Um=()=>T($m,{children:[_(Lm,{}),_(Oc,{})]}),zm=()=>_(Um,{}),jm=e=>window.playwrightRunning?"00000000-0000-0000-0000-000000000000":Lc(e).sub,Hm=(e,t)=>{let r=0;for(const n of t)if(r+=n.percentage,e<r)return n.variantName;return t[0].variantName},qm=(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)},Wm=(e,t)=>{if(t.splitType==="percentage"){const r=qm(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 Hm(o,t.variants)}return t.variants[0].variantName},tu=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=jm(lt.getState().session.accessToken||""),o=Wm(i,n);o&&(lt.dispatch(Vf({experimentName:r,selectedVariant:o})),lt.dispatch(Kt.endpoints.segmentTrack.initiate({event:"$experiment_started",properties:{"Experiment name":r,"Variant name":o}})))}}}},Vm=()=>{const[e]=Uf(),[t,r]=pe(!0),[n,i]=pe(!1),o=Cn(),[s]=zf();if(X(()=>{he(void 0,null,function*(){const m=yield s();"data"in m?(np(),rp(),r(!1)):(we("App-loaded service call failed.",{error:m.error}),ip(`App-loaded service call failed: ${JSON.stringify(m.error)}`))})},[]),t||n)return _(Je,{isComputingPanelFunds:n});const a=()=>he(void 0,null,function*(){i(!0),tp();const{data:u,isSuccess:m,status:y}=yield e();if(!m){we("Backend service call failed.",{status:y}),op(`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=nh(h[0].fundId);o(Nc({fundId:h[0].fundId,fundType:"defined-benefits",iframeType:"PromotedFundJoinV2",fundName:d}));return}o(Kf(u.promotedFunds)),u.promotedFunds.forEach(d=>{const c=ho(d);c!=null&&c.experiments&&tu(c.experiments)})});return T("div",{children:[_("div",{css:{textAlign:"center",fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Important information about super"}),_("div",{css:{marginTop:"0.75rem",maxWidth:"800px",textAlign:"center",lineHeight:"1.75rem","--tw-text-opacity":"1",color:"rgb(75 85 99 / var(--tw-text-opacity))","@media (min-width: 640px)":{marginTop:"1rem",fontSize:"1.125rem",lineHeight:"2rem"}},children:"The choice of superannuation fund is an important personal financial decision. Next, you’ll be asked to nominate a super fund to receive your employer contributions."}),_("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center","@media (min-width: 640px)":{marginTop:"3rem"}},children: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:[_("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:[_("li",{children:"Flare (we/us) provides this paperless employee management service, will feature superannuation funds and offer you employee benefits that you may be interested in;"}),_("li",{children:"all content contained in the following pages does not take into account any of your objectives, financial situation or needs and does not constitute financial product advice;"}),_("li",{children:"in featuring any superannuation funds, we, the technology partner you are accessing us via, or your employer, are not providing any opinion or recommendation (actual or implied) in relation to the suitability or appropriateness of the featured funds;"}),_("li",{children:"Trustees of the featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform;"}),_("li",{children:"in the event that you choose one of the featured superannuation funds, we may pass on your personal information and TFN to a related party for the purpose of completing your chosen fund's application form."}),T("li",{children:["Your personal data that is provided to us will be subject to our"," ",_(O,{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"}),"."]})]}),_(kn,{fillWidth:!0,onClick:()=>a(),children:"Continue"})]})})]})},Qm=(e,t)=>{window.parent.postMessage(e,t===void 0?"*":t)},Km=e=>{Qm({type:"pageNavigated",url:e,sender:"flare"})},Jm=()=>{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-"}},Gm=`https://${Jm()}api.simplefinancialchoices.com/promoted-funds/embed`,Dr=e=>e.replace(/ /g,""),st=e=>!(typeof e=="string"&&e.trim().length>0),Ym=()=>{var a,u,m,y,h,d;const e=ze(c=>c.state.selectedFund),t=ze(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(qe()),_(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=Gm;let p;for(p in i){const w=i[p];if(w!==void 0){const v=document.createElement("input");v.name=p,v.type="hidden",typeof w=="boolean"?v.value=w?"true":"false":v.value=w,f.append(v)}}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(qe());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(qe());break}jt({fundType:"Promoted",fundId:e.fundId,usi:Dr(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(qe());break}jt({fundType:"PromotedDefault",fundId:l.fundId,usi:Dr(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(qe());break}jt({fundType:"PromotedDefaultWithJoin",fundId:e.fundId,usi:Dr(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(qe());break}jt({fundType:"DefinedBenefits",fundId:l.fundId,usi:Dr(l.usi),memberNumber:l.memberNumber,memberElectContributionRatePreTax:l.memberElectContributionRatePreTax,memberElectContributionRatePostTax:l.memberElectContributionRatePostTax,fundName:e.fundName});break}}r(qe())}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),Km(window.location.href);break}}});return window.addEventListener("message",s),_("div",{css:{width:"100vw"},children:_("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},Xm="interop-mode",Zm="react-native",Us=()=>window.location.search.includes(`${Xm}=${Zm}`),ru=()=>{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-"}},zs=`https://${ru()}join.slatesuper.com.au/confirm`,js=`https://${ru()}partner.flarehr.com/super-selection/embed/v1.0/app/slate-redirect.html`,eg=e=>{switch(e){case"Male":return"Male";case"Female":return"Female";case"Intersex":return"Intersex/Indeterminate";default:return"Unknown"}},tg=()=>{var a,u,m,y;const e=ze(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(qe()),_(Je,{});const i={authToken:!zs.match(/autodev|sandbox/)?e:void 0,successRedirectUrl:js,cancelRedirectUrl:js,skipConsolidation:Us()?"true":"false",skipInsurance:Us()?"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:eg(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=zs;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:ur.fundId,usi:fo,memberNumber:d.memberNumber,fundName:ur.name});break}default:t(qe());break}return}if(d.sender==="flare")switch(d.type){case"contentResized":{const c=o.current;if(!c)return;c.height=d.height>0?String(d.height):c.height,c.width=d.width>0?String(d.width):c.width;break}}});return window.addEventListener("message",s),_("div",{css:{width:"100vw"},children:_("iframe",{ref:o,width:"100%",height:window.innerHeight,css:{borderWidth:"0px"}})})},rg=({type:e})=>_("div",{css:[{height:"2.25rem",borderTopLeftRadius:"0.375rem",borderTopRightRadius:"0.375rem",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.375rem",paddingBottom:"0.375rem",textAlign:"center"},e==="popular"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(220 252 231 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(22 101 52 / var(--tw-text-opacity))"},e==="industry"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},e==="workspace"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(243 232 255 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(107 33 168 / var(--tw-text-opacity))"},e==="business"&&{"--tw-bg-opacity":"1",backgroundColor:"rgb(254 249 195 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(133 77 14 / var(--tw-text-opacity))"}],children: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"]})}),ng=r=>{var n=r,{size:e}=n,t=ot(n,["size"]);return _("svg",$(I({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#22c55e",width:e?e*4:"100%"},t),{children:_("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"})}))},Hs={Check:ng},_r=()=>{const{funds:e}=ze(({state:t})=>t);return(e==null?void 0:e.length)===1&&e[0].fundId==="mercermychoice"},ig=({name:e,logo:t,coverImage:r,extraBadge:n,isPromotedDefault:i,isMultiFund:o})=>{const s=_r(),a=T(Ke,{children:[T("div",{css:{marginRight:"-0.5rem",marginTop:"-1.25rem",textAlign:"right"},children:[n,i&&_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},children:"Employer Default"}),_("span",{css:{marginRight:"0.125rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(31 41 55 / var(--tw-text-opacity))"},children:"Featured"})]}),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:[_("img",{css:[{height:"3rem",width:"80px",objectFit:"contain","@media (min-width: 768px)":{display:"none",height:"3.5rem",width:"96px"},"@media (min-width: 1024px)":{height:"4rem",width:"140px",objectPosition:"left"}},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:t}),_("div",{css:{display:"grid",alignContent:"center"},children:_("p",{css:[{marginLeft:"1rem",fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"700","@media (min-width: 768px)":{marginBottom:"0px",marginLeft:"0px",fontSize:"1.125rem",lineHeight:"1.75rem"}},o&&{"@media (min-width: 1024px)":{marginTop:"1rem"}}],children:e})})]})]}),u=T(Ke,{children:[T("div",{css:{marginLeft:"1rem",marginRight:"1rem",display:"flex",height:"4rem",alignItems:"center",justifyContent:"space-between"},children:[_("img",{css:[{width:"100px"}],alt:e,src:t}),T("div",{children:[n,i&&_("span",{css:{marginRight:"0.25rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(219 234 254 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(30 64 175 / var(--tw-text-opacity))"},children:"Employer Default"}),_("span",{css:{marginRight:"0.125rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgb(243 244 246 / var(--tw-bg-opacity))",paddingLeft:"0.625rem",paddingRight:"0.625rem",paddingTop:"0.125rem",paddingBottom:"0.125rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(31 41 55 / var(--tw-text-opacity))"},children:"Featured"})]})]}),_("img",{css:[{width:"100%"},o&&{"@media (min-width: 1024px)":{display:"block"}}],alt:e,src:r})]});return _(Ke,{children:s&&$e()?u:a})},og=({features:e,featureSubText:t,customContent:r,name:n})=>{const i=_r(),o=T(Ke,{children:[_("div",{css:{marginTop:"1rem","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0",marginTop:"calc(0.5rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.5rem * var(--tw-space-y-reverse))"},fontSize:"0.875rem",lineHeight:"1.25rem","@media (min-width: 640px)":{marginTop:"0.5rem"}},children:e.map(a=>T("div",{css:{display:"flex"},children:[_("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:_(Hs.Check,{alt:"checked"})}),_("div",{css:{lineHeight:"1.25rem"},children:a})]}))}),t&&_("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:t}),r]}),s=T(Ke,{children:[T("div",{css:{padding:"1.5rem",paddingBottom:"0px"},children:[_("div",{css:[{fontSize:"1.125rem",lineHeight:"1.75rem",fontWeight:"700"}],children:n}),e.map(a=>T("div",{css:{marginTop:"0.5rem",display:"flex"},children:[_("div",{css:{marginRight:"0.375rem",height:"1.25rem",width:"1.25rem",flex:"none"},children:_(Hs.Check,{alt:"checked"})}),_("div",{css:{fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"400"},children:a})]}))]}),t&&_("p",{css:{marginTop:"1rem",fontSize:"0.75rem",lineHeight:"1rem",fontStyle:"italic","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:t}),r]});return _(Ke,{children:i&&$e()?s:o})},sg=({name:e,logo:t,coverImage:r,features:n,featureSubText:i,isMultiFund:o,isPromotedDefault:s,extraBadge:a,customContent:u})=>{const m=_r();return T("div",{css:[{paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"1.5rem"},m&&$e()&&{padding:"0px"}],children:[_(ig,{name:e,logo:t,coverImage:r,isMultiFund:o,extraBadge:a,isPromotedDefault:s}),_(og,{name:e,features:n,customContent:u,featureSubText:i})]})},ag=()=>_("div",{css:{display:"flex",justifyContent:"center"},children:_("div",{css:{maxWidth:"800px",textAlign:"center"},children:_("h3",{css:{fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","@media (min-width: 640px)":{fontSize:"1.875rem",lineHeight:"2.25rem"}},children:"Nominate a super fund"})})}),qs=({fund:e,isMultiFund:t})=>{const r=Cn(),n=_r();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:[_("div",{css:[{"@media (min-width: 768px)":{maxWidth:"240px"}},t&&{"@media (min-width: 1024px)":{maxWidth:"100%"}},n&&$e()&&{"@media (min-width: 768px)":{maxWidth:"100%"}}],children:_(kn,{fillWidth:!0,onClick:()=>{ep(e),r(Nc({fundId:e.fundId,fundType:e.fundType,iframeType:e.iframeType,fundName:e.name}))},children:"Choose this fund"})}),_("div",{css:{marginTop:"1.5rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:e.disclaimer})]}),e.abnInfo&&e.abn&&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]})]})]})},cg="https://my.gov.au",ug="www.my.gov.au",lg="https://www.apra.gov.au/register-of-superannuation-institutions",dg="www.apra.gov.au",fg=(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"},pg=()=>{const e=ze(s=>s.state.funds),t=ze(s=>s.experimentsData),r=_r(),n=ce(()=>rh(e!=null?e:[]),[e]),i=Xf();X(()=>{Zf(n)},[n]);const o=n.length>1;return T("div",{children:[_(ag,{}),_("div",{css:{marginTop:"2rem",display:"flex",justifyContent:"center"},children:_("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((s,a)=>{const u=fg(s.fundId,t);return T("div",{children:[(!$e()||a===0)&&_("div",{css:[{visibility:"hidden"},u&&{visibility:"visible"}],children:_(rg,{type:u})}),_("div",{css:[n.length===1&&{maxWidth:"720px"},n.length===2&&{maxWidth:"720px"},n.length===3&&{maxWidth:"960px"},{height:"100%",borderBottomWidth:"1px",borderLeftWidth:"1px",borderRightWidth:"1px",borderTopWidth:"1px","@media (min-width: 1024px)":{borderBottomWidth:"0px"}},a!==0&&{borderTopWidth:"0px","@media (min-width: 1024px)":{borderLeftWidth:"0px",borderTopWidth:"1px"}},a===0&&{borderTopLeftRadius:"0.5rem",borderTopRightRadius:"0.5rem"},a===0&&a!==n.length-1&&{"@media (min-width: 1024px)":{borderTopRightRadius:"0px"}},a===n.length-1&&{borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem","@media (min-width: 1024px)":{borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderTopRightRadius:"0.5rem"}},!o&&{"@media (min-width: 1024px)":{borderBottomRightRadius:"0.5rem",borderBottomLeftRadius:"0.5rem",borderBottomWidth:"1px"}},u&&{borderTopLeftRadius:"0px",borderTopRightRadius:"0px","@media (min-width: 1024px)":{borderTopLeftRadius:"0px",borderTopRightRadius:"0px"}}],children:T("div",{css:[{display:"flex"}],children:[_("div",{css:[{display:"none",width:"9rem",justifyContent:"center",paddingLeft:"1.5rem",paddingTop:"1.5rem","@media (min-width: 768px)":{display:"flex"}},o&&{"@media (min-width: 1024px)":{display:"none"}},r&&$e()&&{"@media (min-width: 768px)":{display:"none"}}],children:_("img",{css:{height:"4rem",width:"100%",maxWidth:"96px",objectFit:"contain"},alt:s.name,src:s.logo})}),T("div",{css:[{width:"100%"},r&&$e()&&{minWidth:"286px",maxWidth:"480px"}],children:[_(sg,{logo:s.logo,name:s.name,coverImage:s.coverImage,features:s.features,featureSubText:s.featureSubText,isMultiFund:o,isPromotedDefault:s.fundType==="promoted-default",extraBadge:s.extraBadge,customContent:s.customContent}),_("div",{css:[o&&{"@media (min-width: 1024px)":{display:"none"}}],children:_(qs,{fund:s,isMultiFund:o})})]})]})})]})}),n.map((s,a)=>_("div",{css:[{display:"none",borderBottomWidth:"1px",borderRightWidth:"1px"},o&&{"@media (min-width: 1024px)":{display:"block"}},a===0&&{borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem",borderLeftWidth:"1px"},a===0&&a!==n.length-1&&{"@media (min-width: 1024px)":{borderBottomRightRadius:"0px"}},a===n.length-1&&{borderBottomRightRadius:"0.5rem"}],children:_(qs,{fund:s,isMultiFund:o})}))]})})}),_("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:[_("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:[_("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"," ",_(O,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:cg,children:ug})]}),T("li",{children:["A full list of super funds can be viewed at"," ",_(O,{css:{color:"var(--fl-color-primary)",textDecorationLine:"none",":hover":{color:"var(--fl-color-primary-hover)"}},link:lg,children:dg})]})]}),_(kn,{fillWidthOnMobile:!0,onClick:()=>i(),children:"Choose another super fund"})]})}),_("div",{css:{display:"flex",justifyContent:"center"},children:T("div",{css:{maxWidth:"720px",paddingTop:"2rem","@media (min-width: 640px)":{paddingTop:"3rem"}},children:[_("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:[_("li",{children:"The superannuation funds featured above are for your information only. The order, position and placement of content should not be interpreted as an opinion or recommendation (actual or implied) by Flare as to the suitability or appropriateness of any superannuation fund for you. In featuring these superannuation funds, Flare has not taken into account your objectives, financial situation or needs."}),_("li",{children:"This is not a comparison service. This page contains factual information only and does not constitute either general or personal advice about any financial products. We do not take into account your objectives, financial situation or needs. If you have questions or need help making a decision about your superannuation fund, you should speak to a licensed financial product advice provider."}),_("li",{children:"Flare, the technology partner you are accessing Flare via and your employer do not endorse or accept responsibility for any financial product advice or services provided by the promoters or trustees of the featured superannuation funds. Flare does not endorse or accept responsibility for any of the content shown about any of the featured superannuation funds."}),_("li",{children:"You should consider the relevant superannuation fund’s PDS and TMD (if applicable) in deciding whether to apply to join the superannuation fund. Each of the superannuation funds featured above include a link to their PDS and TMD (if applicable) for your convenience. If you are considering joining another superannuation fund, you can typically find the PDS and TMD (if applicable) on that fund’s website."}),_("li",{children:"You should be aware that the trustees of featured superannuation funds pay fees to Flare and/or its associates. Some funds pay us a fee if you choose one of the featured funds, while others pay us to have their application form on our platform."})]})]})})]})},hg=H.div({display:"flex",flexDirection:"column",alignItems:"center"}),mg=()=>{const{funds:e,selectedFund:t}=ze(i=>i.state),[r]=Hf();return X(()=>{r()},[]),T(hg,{children:[_("div",{children:(()=>{if(t){if(t.iframeType==="PromotedFundJoinV2")return _(Ym,{});if(t.iframeType==="SlateJoin")return _(tg,{})}else if(e)return _(pg,{});return _(Vm,{})})()}),_("div",{children:_(Oc,{})})]})},gg=()=>_(mg,{}),yg={},wg=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 vo(){return(vo=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 bg=["context","children"];function vg(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,bg);return Ui(t,r)}function _g(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=Z(vg,vo({},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[nu(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(Ws,{name:y},m):i[s]=m}var h=n?Z(Ws,null,i):i;return Z(n||r.nodeName.toLowerCase(),o,h)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?$i:et)(this._vdom,this._root)}function nu(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function Sg(e,t,r){if(this._vdom){var n={};n[e]=r=r==null?void 0:r,n[nu(e)]=r,this._vdom=Ui(this._vdom,n),et(this._vdom,this._root)}}function Cg(){et(this._vdom=null,this._root)}function Ws(e,t){var r=this;return Z("slot",vo({},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 kg(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=_g,i.prototype.attributeChangedCallback=Sg,i.prototype.disconnectedCallback=Cg,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 xg=()=>_(Rl,{styles:Pl`*, ::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
- }`}),gg=(e,t)=>r=>{const{"access-token":n,"backend-url":i,"fund-usi":o}=r,s=cg(i),[a,u]=be(!1);te(()=>{const d=Yp();return()=>{clearInterval(d)}},[]),te(()=>{lt.dispatch(Vf({accessToken:n,backendUrl:i,superBackendUrl:s,fundUsi:o})),eu(ag),u(!0)},[n,i,o]);const m=xe(null),[g,h]=be(void 0);return te(()=>{var d;h((d=m.current)!=null?d:void 0)},[m]),_("div",{ref:m,children:_(El,{value:La({key:t,container:g,prepend:!0}),children:T(Tf,{store:lt,children:[_(mg,{}),_("div",{css:{fontFamily:"Inter, sans-serif"},children:a?e({}):_(Ke,{})})]})})})},nu=(e,t,r)=>{hg(gg(e,t),t,r,{shadow:!0})};nu(sg,"apollo-super-campaign");nu(Im,"apollo-super-byof-engagement",["fund-usi"]);
273
+ }`}),Eg=(e,t)=>r=>{const{"access-token":n,"backend-url":i,"fund-usi":o}=r,s=wg(i),[a,u]=pe(!1);X(()=>{const d=th();return()=>{clearInterval(d)}},[]),X(()=>{lt.dispatch(Qf({accessToken:n,backendUrl:i,superBackendUrl:s,fundUsi:o})),tu(yg),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]),_("div",{ref:m,children:_(El,{value:$a({key:t,container:y,prepend:!0}),children:T(Rf,{store:lt,children:[_(xg,{}),_("div",{css:{fontFamily:"Inter, sans-serif"},children:a?e({}):_(Je,{})})]})})})},iu=(e,t,r)=>{kg(Eg(e,t),t,r,{shadow:!0})};iu(gg,"apollo-super-campaign");iu(zm,"apollo-super-byof-engagement",["fund-usi"]);