@flarehr/apollo-super-campaign 0.1.164 → 1.0.4

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.
package/LICENCE CHANGED
@@ -1 +1 @@
1
- Flare HR Pty Ltd © 2015-2024
1
+ Flare HR Pty Ltd © 2015-2024
@@ -1,266 +1,6 @@
1
- var Ua=Object.defineProperty;var Wa=(ue,x,be)=>x in ue?Ua(ue,x,{enumerable:!0,configurable:!0,writable:!0,value:be}):ue[x]=be;var _n=(ue,x,be)=>(Wa(ue,typeof x!="symbol"?x+"":x,be),be);(function(){"use strict";var ue,x,be,xe,hn,yn,dr,mn,Xe={},vn=[],is=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,kt=Array.isArray;function me(e,t){for(var r in t)e[r]=t[r];return e}function gn(e){var t=e.parentNode;t&&t.removeChild(e)}function L(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?ue.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 Ze(e,s,n,i,null)}function Ze(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??++be,__i:-1,__u:0};return i==null&&x.vnode!=null&&x.vnode(o),o}function bn(){return{current:null}}function oe(e){return e.children}function ae(e,t){this.props=e,this.context=t}function ze(e,t){if(t==null)return e.__?ze(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?ze(e):null}function wn(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 wn(e)}}function pr(e){(!e.__d&&(e.__d=!0)&&xe.push(e)&&!Rt.__r++||hn!==x.debounceRendering)&&((hn=x.debounceRendering)||yn)(Rt)}function Rt(){var e,t,r,n,i,o,s,c,l;for(xe.sort(dr);e=xe.shift();)e.__d&&(t=xe.length,n=void 0,o=(i=(r=e).__v).__e,c=[],l=[],(s=r.__P)&&((n=me({},i)).__v=i.__v+1,x.vnode&&x.vnode(n),_r(s,n,i,r.__n,s.ownerSVGElement!==void 0,32&i.__u?[o]:null,c,o??ze(i),!!(32&i.__u),l),n.__.__k[n.__i]=n,xn(c,n,l),n.__e!=o&&wn(n)),xe.length>t&&xe.sort(dr));Rt.__r=0}function Sn(e,t,r,n,i,o,s,c,l,f,p){var a,_,u,g,b,m=n&&n.__k||vn,h=t.length;for(r.__d=l,os(r,t,m),l=r.__d,a=0;a<h;a++)(u=r.__k[a])!=null&&typeof u!="boolean"&&typeof u!="function"&&(_=u.__i===-1?Xe:m[u.__i]||Xe,u.__i=a,_r(e,u,_,i,o,s,c,l,f,p),g=u.__e,u.ref&&_.ref!=u.ref&&(_.ref&&hr(_.ref,null,u),p.push(u.ref,u.__c||g,u)),b==null&&g!=null&&(b=g),65536&u.__u||_.__k===u.__k?l=Cn(u,l,e):typeof u.type=="function"&&u.__d!==void 0?l=u.__d:g&&(l=g.nextSibling),u.__d=void 0,u.__u&=-196609);r.__d=l,r.__e=b}function os(e,t,r){var n,i,o,s,c,l=t.length,f=r.length,p=f,a=0;for(e.__k=[],n=0;n<l;n++)(i=e.__k[n]=(i=t[n])==null||typeof i=="boolean"||typeof i=="function"?null:typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?Ze(null,i,null,null,i):kt(i)?Ze(oe,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?Ze(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)!=null?(i.__=e,i.__b=e.__b+1,c=ss(i,r,s=n+a,p),i.__i=c,o=null,c!==-1&&(p--,(o=r[c])&&(o.__u|=131072)),o==null||o.__v===null?(c==-1&&a--,typeof i.type!="function"&&(i.__u|=65536)):c!==s&&(c===s+1?a++:c>s?p>l-s?a+=c-s:a--:a=c<s&&c==s-1?c-s:0,c!==n+a&&(i.__u|=65536))):(o=r[n])&&o.key==null&&o.__e&&(o.__e==e.__d&&(e.__d=ze(o)),yr(o,o,!1),r[n]=null,p--);if(p)for(n=0;n<f;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=ze(o)),yr(o,o))}function Cn(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=Cn(n[i],t,r));return t}return e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function ve(e,t){return t=t||[],e==null||typeof e=="boolean"||(kt(e)?e.some(function(r){ve(r,t)}):t.push(e)),t}function ss(e,t,r,n){var i=e.key,o=e.type,s=r-1,c=r+1,l=t[r];if(l===null||l&&i==l.key&&o===l.type)return r;if(n>(l!=null&&!(131072&l.__u)?1:0))for(;s>=0||c<t.length;){if(s>=0){if((l=t[s])&&!(131072&l.__u)&&i==l.key&&o===l.type)return s;s--}if(c<t.length){if((l=t[c])&&!(131072&l.__u)&&i==l.key&&o===l.type)return c;c++}}return-1}function En(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||is.test(t)?r:r+"px"}function xt(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||En(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||En(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?Rn:kn,o)):e.removeEventListener(t,o?Rn:kn,o);else{if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t!=="rowSpan"&&t!=="colSpan"&&t!=="role"&&t in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,r))}}function kn(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(x.event?x.event(e):e)}function Rn(e){return this.l[e.type+!0](x.event?x.event(e):e)}function _r(e,t,r,n,i,o,s,c,l,f){var p,a,_,u,g,b,m,h,y,d,v,w,C,S,E,k=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(l=!!(32&r.__u),o=[c=t.__e=r.__e]),(p=x.__b)&&p(t);e:if(typeof k=="function")try{if(h=t.props,y=(p=k.contextType)&&n[p.__c],d=p?y?y.props.value:p.__:n,r.__c?m=(a=t.__c=r.__c).__=a.__E:("prototype"in k&&k.prototype.render?t.__c=a=new k(h,d):(t.__c=a=new ae(h,d),a.constructor=k,a.render=us),y&&y.sub(a),a.props=h,a.state||(a.state={}),a.context=d,a.__n=n,_=a.__d=!0,a.__h=[],a._sb=[]),a.__s==null&&(a.__s=a.state),k.getDerivedStateFromProps!=null&&(a.__s==a.state&&(a.__s=me({},a.__s)),me(a.__s,k.getDerivedStateFromProps(h,a.__s))),u=a.props,g=a.state,a.__v=t,_)k.getDerivedStateFromProps==null&&a.componentWillMount!=null&&a.componentWillMount(),a.componentDidMount!=null&&a.__h.push(a.componentDidMount);else{if(k.getDerivedStateFromProps==null&&h!==u&&a.componentWillReceiveProps!=null&&a.componentWillReceiveProps(h,d),!a.__e&&(a.shouldComponentUpdate!=null&&a.shouldComponentUpdate(h,a.__s,d)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(a.props=h,a.state=a.__s,a.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(R){R&&(R.__=t)}),v=0;v<a._sb.length;v++)a.__h.push(a._sb[v]);a._sb=[],a.__h.length&&s.push(a);break e}a.componentWillUpdate!=null&&a.componentWillUpdate(h,a.__s,d),a.componentDidUpdate!=null&&a.__h.push(function(){a.componentDidUpdate(u,g,b)})}if(a.context=d,a.props=h,a.__P=e,a.__e=!1,w=x.__r,C=0,"prototype"in k&&k.prototype.render){for(a.state=a.__s,a.__d=!1,w&&w(t),p=a.render(a.props,a.state,a.context),S=0;S<a._sb.length;S++)a.__h.push(a._sb[S]);a._sb=[]}else do a.__d=!1,w&&w(t),p=a.render(a.props,a.state,a.context),a.state=a.__s;while(a.__d&&++C<25);a.state=a.__s,a.getChildContext!=null&&(n=me(me({},n),a.getChildContext())),_||a.getSnapshotBeforeUpdate==null||(b=a.getSnapshotBeforeUpdate(u,g)),Sn(e,kt(E=p!=null&&p.type===oe&&p.key==null?p.props.children:p)?E:[E],t,r,n,i,o,s,c,l,f),a.base=t.__e,t.__u&=-161,a.__h.length&&s.push(a),m&&(a.__E=a.__=null)}catch(R){t.__v=null,l||o!=null?(t.__e=c,t.__u|=l?160:32,o[o.indexOf(c)]=null):(t.__e=r.__e,t.__k=r.__k),x.__e(R,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=cs(r.__e,t,r,n,i,o,s,l,f);(p=x.diffed)&&p(t)}function xn(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)hr(r[n],r[++n],r[++n]);x.__c&&x.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){x.__e(o,i.__v)}})}function cs(e,t,r,n,i,o,s,c,l){var f,p,a,_,u,g,b,m=r.props,h=t.props,y=t.type;if(y==="svg"&&(i=!0),o!=null){for(f=0;f<o.length;f++)if((u=o[f])&&"setAttribute"in u==!!y&&(y?u.localName===y:u.nodeType===3)){e=u,o[f]=null;break}}if(e==null){if(y===null)return document.createTextNode(h);e=i?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,h.is&&h),o=null,c=!1}if(y===null)m===h||c&&e.data===h||(e.data=h);else{if(o=o&&ue.call(e.childNodes),m=r.props||Xe,!c&&o!=null)for(m={},f=0;f<e.attributes.length;f++)m[(u=e.attributes[f]).name]=u.value;for(f in m)u=m[f],f=="children"||(f=="dangerouslySetInnerHTML"?a=u:f==="key"||f in h||xt(e,f,null,u,i));for(f in h)u=h[f],f=="children"?_=u:f=="dangerouslySetInnerHTML"?p=u:f=="value"?g=u:f=="checked"?b=u:f==="key"||c&&typeof u!="function"||m[f]===u||xt(e,f,u,m[f],i);if(p)c||a&&(p.__html===a.__html||p.__html===e.innerHTML)||(e.innerHTML=p.__html),t.__k=[];else if(a&&(e.innerHTML=""),Sn(e,kt(_)?_:[_],t,r,n,i&&y!=="foreignObject",o,s,o?o[0]:r.__k&&ze(r,0),c,l),o!=null)for(f=o.length;f--;)o[f]!=null&&gn(o[f]);c||(f="value",g!==void 0&&(g!==e[f]||y==="progress"&&!g||y==="option"&&g!==m[f])&&xt(e,f,g,m[f],!1),f="checked",b!==void 0&&b!==e[f]&&xt(e,f,b,m[f],!1))}return e}function hr(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){x.__e(n,r)}}function yr(e,t,r){var n,i;if(x.unmount&&x.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||hr(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){x.__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]&&yr(n[i],t,r||typeof e.type!="function");r||e.__e==null||gn(e.__e),e.__=e.__e=e.__d=void 0}function us(e,t,r){return this.constructor(e,r)}function we(e,t,r){var n,i,o,s;x.__&&x.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],s=[],_r(t,e=(!n&&r||t).__k=L(oe,null,[e]),i||Xe,Xe,t.ownerSVGElement!==void 0,!n&&r?[r]:i?null:t.firstChild?ue.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,s),xn(o,e,s)}function mr(e,t){we(e,t,mr)}function vr(e,t,r){var n,i,o,s,c=me({},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]:c[o]=t[o]===void 0&&s!==void 0?s[o]:t[o];return arguments.length>2&&(c.children=arguments.length>3?ue.call(arguments,2):r),Ze(e.type,c,n||e.key,i||e.ref,null)}function Ot(e,t){var r={__c:t="__cC"+mn++,__: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(c){c.__e=!0,pr(c)})},this.sub=function(s){i.push(s);var c=s.componentWillUnmount;s.componentWillUnmount=function(){i.splice(i.indexOf(s),1),c&&c.call(s)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}ue=vn.slice,x={__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(c){e=c}throw e}},be=0,ae.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=me({},this.state),typeof e=="function"&&(e=e(me({},r),this.props)),e&&me(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),pr(this))},ae.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),pr(this))},ae.prototype.render=oe,xe=[],yn=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,dr=function(e,t){return e.__v.__b-t.__v.__b},Rt.__r=0,mn=0;function gr(){return(gr=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 as=["context","children"];function ls(e){this.getChildContext=function(){return e.context};var t=e.children,r=function(n,i){if(n==null)return{};var o,s,c={},l=Object.keys(n);for(s=0;s<l.length;s++)i.indexOf(o=l[s])>=0||(c[o]=n[o]);return c}(e,as);return vr(t,r)}function fs(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=L(ls,gr({},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,c=r.attributes,l=r.childNodes;for(s=c.length;s--;)c[s].name!=="slot"&&(o[c[s].name]=c[s].value,o[On(c[s].name)]=c[s].value);for(s=l.length;s--;){var f=t(l[s],null),p=l[s].slot;p?o[p]=L(An,{name:p},f):i[s]=f}var a=n?L(An,null,i):i;return L(n||r.nodeName.toLowerCase(),o,a)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?mr:we)(this._vdom,this._root)}function On(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function ds(e,t,r){if(this._vdom){var n={};n[e]=r=r??void 0,n[On(e)]=r,this._vdom=vr(this._vdom,n),we(this._vdom,this._root)}}function ps(){we(this._vdom=null,this._root)}function An(e,t){var r=this;return L("slot",gr({},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 _s(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=fs,i.prototype.attributeChangedCallback=ds,i.prototype.disconnectedCallback=ps,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 c=typeof s;s!=null&&c!=="string"&&c!=="boolean"&&c!=="number"||this.setAttribute(o,s)}})}),customElements.define(t||e.tagName||e.displayName||e.name,i)}var ge,D,br,$n,Fe=0,Pn=[],At=[],Mn=x.__b,Tn=x.__r,In=x.diffed,Nn=x.__c,Dn=x.unmount;function Oe(e,t){x.__h&&x.__h(D,e,Fe||t),Fe=0;var r=D.__H||(D.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:At}),r.__[e]}function Se(e){return Fe=1,wr(qn,e)}function wr(e,t,r){var n=Oe(ge++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):qn(void 0,t),function(c){var l=n.__N?n.__N[0]:n.__[0],f=n.t(l,c);l!==f&&(n.__N=[f,n.__[1]],n.__c.setState({}))}],n.__c=D,!D.u)){var i=function(c,l,f){if(!n.__c.__H)return!0;var p=n.__c.__H.__.filter(function(_){return _.__c});if(p.every(function(_){return!_.__N}))return!o||o.call(this,c,l,f);var a=!1;return p.forEach(function(_){if(_.__N){var u=_.__[0];_.__=_.__N,_.__N=void 0,u!==_.__[0]&&(a=!0)}}),!(!a&&n.__c.props===c)&&(!o||o.call(this,c,l,f))};D.u=!0;var o=D.shouldComponentUpdate,s=D.componentWillUpdate;D.componentWillUpdate=function(c,l,f){if(this.__e){var p=o;o=void 0,i(c,l,f),o=p}s&&s.call(this,c,l,f)},D.shouldComponentUpdate=i}return n.__N||n.__}function ee(e,t){var r=Oe(ge++,3);!x.__s&&Cr(r.__H,t)&&(r.__=e,r.i=t,D.__H.__h.push(r))}function Ae(e,t){var r=Oe(ge++,4);!x.__s&&Cr(r.__H,t)&&(r.__=e,r.i=t,D.__h.push(r))}function se(e){return Fe=5,K(function(){return{current:e}},[])}function jn(e,t,r){Fe=6,Ae(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 K(e,t){var r=Oe(ge++,7);return Cr(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function qe(e,t){return Fe=8,K(function(){return e},t)}function et(e){var t=D.context[e.__c],r=Oe(ge++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(D)),t.props.value):e.__}function $t(e,t){x.useDebugValue&&x.useDebugValue(t?t(e):e)}function hs(e){var t=Oe(ge++,10),r=Se();return t.__=e,D.componentDidCatch||(D.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function zn(){var e=Oe(ge++,11);if(!e.__){for(var t=D.__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 ys(){for(var e;e=Pn.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Pt),e.__H.__h.forEach(Sr),e.__H.__h=[]}catch(t){e.__H.__h=[],x.__e(t,e.__v)}}x.__b=function(e){D=null,Mn&&Mn(e)},x.__r=function(e){Tn&&Tn(e),ge=0;var t=(D=e.__c).__H;t&&(br===D?(t.__h=[],D.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=At,r.__N=r.i=void 0})):(t.__h.forEach(Pt),t.__h.forEach(Sr),t.__h=[],ge=0)),br=D},x.diffed=function(e){In&&In(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Pn.push(t)!==1&&$n===x.requestAnimationFrame||(($n=x.requestAnimationFrame)||ms)(ys)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==At&&(r.__=r.__V),r.i=void 0,r.__V=At})),br=D=null},x.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Pt),r.__h=r.__h.filter(function(n){return!n.__||Sr(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],x.__e(n,r.__v)}}),Nn&&Nn(e,t)},x.unmount=function(e){Dn&&Dn(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Pt(n)}catch(i){t=i}}),r.__H=void 0,t&&x.__e(t,r.__v))};var Fn=typeof requestAnimationFrame=="function";function ms(e){var t,r=function(){clearTimeout(n),Fn&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);Fn&&(t=requestAnimationFrame(r))}function Pt(e){var t=D,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),D=t}function Sr(e){var t=D;e.__c=e.__(),D=t}function Cr(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function qn(e,t){return typeof t=="function"?t(e):t}function Ln(e,t){for(var r in t)e[r]=t[r];return e}function Er(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 Mt(e){this.props=e}function Qn(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:Er(this.props,i)}function n(i){return this.shouldComponentUpdate=r,L(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(Mt.prototype=new ae).isPureReactComponent=!0,Mt.prototype.shouldComponentUpdate=function(e,t){return Er(this.props,e)||Er(this.state,t)};var Un=x.__b;x.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Un&&Un(e)};var vs=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function kr(e){function t(r){var n=Ln({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=vs,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Wn=function(e,t){return e==null?null:ve(ve(e).map(t))},Hn={map:Wn,forEach:Wn,count:function(e){return e?ve(e).length:0},only:function(e){var t=ve(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:ve},gs=x.__e;x.__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)}gs(e,t,r,n)};var Vn=x.unmount;function Bn(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=Ln({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Bn(n,t,r)})),e}function Kn(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Kn(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 tt(){this.__u=0,this.t=null,this.__b=null}function Gn(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Yn(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 L(r,o)}return i.displayName="Lazy",i.__f=!0,i}function Le(){this.u=null,this.o=null}x.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Vn&&Vn(e)},(tt.prototype=new ae).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=Gn(n.__v),o=!1,s=function(){o||(o=!0,r.__R=null,i?i(c):c())};r.__R=s;var c=function(){if(!--n.__u){if(n.state.__a){var l=n.state.__a;n.__v.__k[0]=Kn(l,l.__c.__P,l.__c.__O)}var f;for(n.setState({__a:n.__b=null});f=n.t.pop();)f.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(s,s)},tt.prototype.componentWillUnmount=function(){this.t=[]},tt.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]=Bn(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&L(oe,null,e.fallback);return i&&(i.__u&=-33),[L(oe,null,t.__a?null:e.children),i]};var Jn=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 bs(e){return this.getChildContext=function(){return e.context},e.children}function ws(e){var t=this,r=e.i;t.componentWillUnmount=function(){we(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)}}),we(L(bs,{context:t.context},e.__v),t.l)}function Xn(e,t){var r=L(ws,{__v:e,i:t});return r.containerInfo=t,r}(Le.prototype=new ae).__a=function(e){var t=this,r=Gn(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),Jn(t,e,n)):i()};r?r(o):o()}},Le.prototype.render=function(e){this.u=null,this.o=new Map;var t=ve(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},Le.prototype.componentDidUpdate=Le.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){Jn(e,r,t)})};var Zn=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Ss=/^(?: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]/,Cs=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Es=/[A-Z0-9]/g,ks=typeof document<"u",Rs=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function ei(e,t,r){return t.__k==null&&(t.textContent=""),we(e,t),typeof r=="function"&&r(),e?e.__c:null}function ti(e,t,r){return mr(e,t),typeof r=="function"&&r(),e?e.__c:null}ae.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ae.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var ri=x.event;function xs(){}function Os(){return this.cancelBubble}function As(){return this.defaultPrevented}x.event=function(e){return ri&&(e=ri(e)),e.persist=xs,e.isPropagationStopped=Os,e.isDefaultPrevented=As,e.nativeEvent=e};var Rr,$s={enumerable:!1,configurable:!0,get:function(){return this.class}},ni=x.vnode;x.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||ks&&o==="children"&&n==="noscript"||o==="class"||o==="className")){var c=o.toLowerCase();o==="defaultValue"&&"value"in r&&r.value==null?o="value":o==="download"&&s===!0?s="":c==="ondoubleclick"?o="ondblclick":c!=="onchange"||n!=="input"&&n!=="textarea"||Rs(r.type)?c==="onfocus"?o="onfocusin":c==="onblur"?o="onfocusout":Cs.test(o)?o=c:n.indexOf("-")===-1&&Ss.test(o)?o=o.replace(Es,"-$&").toLowerCase():s===null&&(s=void 0):c=o="oninput",c==="oninput"&&i[o=c]&&(o="oninputCapture"),i[o]=s}}n=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=ve(r.children).forEach(function(l){l.props.selected=i.value.indexOf(l.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=ve(r.children).forEach(function(l){l.props.selected=i.multiple?i.defaultValue.indexOf(l.props.value)!=-1:i.defaultValue==l.props.value})),r.class&&!r.className?(i.class=r.class,Object.defineProperty(i,"className",$s)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=Zn,ni&&ni(e)};var ii=x.__r;x.__r=function(e){ii&&ii(e),Rr=e.__c};var oi=x.diffed;x.diffed=function(e){oi&&oi(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),Rr=null};var si={ReactCurrentDispatcher:{current:{readContext:function(e){return Rr.__n[e.__c].props.value}}}},Ps="17.0.2";function ci(e){return L.bind(null,e)}function rt(e){return!!e&&e.$$typeof===Zn}function ui(e){return rt(e)&&e.type===oe}function ai(e){return rt(e)?vr.apply(null,arguments):e}function li(e){return!!e.__k&&(we(null,e),!0)}function fi(e){return e&&(e.base||e.nodeType===1&&e)||null}var di=function(e,t){return e(t)},pi=function(e,t){return e(t)},_i=oe;function xr(e){e()}function hi(e){return e}function yi(){return[!1,xr]}var mi=Ae,vi=rt;function gi(e,t){var r=t(),n=Se({h:{__:r,v:t}}),i=n[0].h,o=n[1];return Ae(function(){i.__=r,i.v=t,Or(i)&&o({h:i})},[e,r,t]),ee(function(){return Or(i)&&o({h:i}),e(function(){Or(i)&&o({h:i})})},[e]),r}function Or(e){var t,r,n=e.v,i=e.__;try{var o=n();return!((t=i)===(r=o)&&(t!==0||1/t==1/r)||t!=t&&r!=r)}catch{return!0}}var bi={useState:Se,useId:zn,useReducer:wr,useEffect:ee,useLayoutEffect:Ae,useInsertionEffect:mi,useTransition:yi,useDeferredValue:hi,useSyncExternalStore:gi,startTransition:xr,useRef:se,useImperativeHandle:jn,useMemo:K,useCallback:qe,useContext:et,useDebugValue:$t,version:"17.0.2",Children:Hn,render:ei,hydrate:ti,unmountComponentAtNode:li,createPortal:Xn,createElement:L,createContext:Ot,createFactory:ci,cloneElement:ai,createRef:bn,Fragment:oe,isValidElement:rt,isElement:vi,isFragment:ui,findDOMNode:fi,Component:ae,PureComponent:Mt,memo:Qn,forwardRef:kr,flushSync:pi,unstable_batchedUpdates:di,StrictMode:_i,Suspense:tt,SuspenseList:Le,lazy:Yn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:si};const nt=Object.freeze(Object.defineProperty({__proto__:null,Children:Hn,Component:ae,Fragment:oe,PureComponent:Mt,StrictMode:_i,Suspense:tt,SuspenseList:Le,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:si,cloneElement:ai,createContext:Ot,createElement:L,createFactory:ci,createPortal:Xn,createRef:bn,default:bi,findDOMNode:fi,flushSync:pi,forwardRef:kr,hydrate:ti,isElement:vi,isFragment:ui,isValidElement:rt,lazy:Yn,memo:Qn,render:ei,startTransition:xr,unmountComponentAtNode:li,unstable_batchedUpdates:di,useCallback:qe,useContext:et,useDebugValue:$t,useDeferredValue:hi,useEffect:ee,useErrorBoundary:hs,useId:zn,useImperativeHandle:jn,useInsertionEffect:mi,useLayoutEffect:Ae,useMemo:K,useReducer:wr,useRef:se,useState:Se,useSyncExternalStore:gi,useTransition:yi,version:Ps},Symbol.toStringTag,{value:"Module"}));function Ms(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 Ts(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 Is=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(Ts(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Ms(i);try{o.insertRule(n,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0},e}(),G="-ms-",Tt="-moz-",M="-webkit-",wi="comm",Ar="rule",$r="decl",Ns="@import",Si="@keyframes",Ds="@layer",js=Math.abs,It=String.fromCharCode,zs=Object.assign;function Fs(e,t){return W(e,0)^45?(((t<<2^W(e,0))<<2^W(e,1))<<2^W(e,2))<<2^W(e,3):0}function Ci(e){return e.trim()}function qs(e,t){return(e=t.exec(e))?e[0]:e}function T(e,t,r){return e.replace(t,r)}function Pr(e,t){return e.indexOf(t)}function W(e,t){return e.charCodeAt(t)|0}function it(e,t,r){return e.slice(t,r)}function de(e){return e.length}function Mr(e){return e.length}function Nt(e,t){return t.push(e),e}function Ls(e,t){return e.map(t).join("")}var Dt=1,Qe=1,Ei=0,Y=0,q=0,Ue="";function jt(e,t,r,n,i,o,s){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:Dt,column:Qe,length:s,return:""}}function ot(e,t){return zs(jt("",null,null,"",null,null,0),e,{length:-e.length},t)}function Qs(){return q}function Us(){return q=Y>0?W(Ue,--Y):0,Qe--,q===10&&(Qe=1,Dt--),q}function te(){return q=Y<Ei?W(Ue,Y++):0,Qe++,q===10&&(Qe=1,Dt++),q}function pe(){return W(Ue,Y)}function zt(){return Y}function st(e,t){return it(Ue,e,t)}function ct(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 ki(e){return Dt=Qe=1,Ei=de(Ue=e),Y=0,[]}function Ri(e){return Ue="",e}function Ft(e){return Ci(st(Y-1,Tr(e===91?e+2:e===40?e+1:e)))}function Ws(e){for(;(q=pe())&&q<33;)te();return ct(e)>2||ct(q)>3?"":" "}function Hs(e,t){for(;--t&&te()&&!(q<48||q>102||q>57&&q<65||q>70&&q<97););return st(e,zt()+(t<6&&pe()==32&&te()==32))}function Tr(e){for(;te();)switch(q){case e:return Y;case 34:case 39:e!==34&&e!==39&&Tr(q);break;case 40:e===41&&Tr(e);break;case 92:te();break}return Y}function Vs(e,t){for(;te()&&e+q!==57;)if(e+q===84&&pe()===47)break;return"/*"+st(t,Y-1)+"*"+It(e===47?e:te())}function Bs(e){for(;!ct(pe());)te();return st(e,Y)}function Ks(e){return Ri(qt("",null,null,null,[""],e=ki(e),0,[0],e))}function qt(e,t,r,n,i,o,s,c,l){for(var f=0,p=0,a=s,_=0,u=0,g=0,b=1,m=1,h=1,y=0,d="",v=i,w=o,C=n,S=d;m;)switch(g=y,y=te()){case 40:if(g!=108&&W(S,a-1)==58){Pr(S+=T(Ft(y),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:S+=Ft(y);break;case 9:case 10:case 13:case 32:S+=Ws(g);break;case 92:S+=Hs(zt()-1,7);continue;case 47:switch(pe()){case 42:case 47:Nt(Gs(Vs(te(),zt()),t,r),l);break;default:S+="/"}break;case 123*b:c[f++]=de(S)*h;case 125*b:case 59:case 0:switch(y){case 0:case 125:m=0;case 59+p:h==-1&&(S=T(S,/\f/g,"")),u>0&&de(S)-a&&Nt(u>32?Oi(S+";",n,r,a-1):Oi(T(S," ","")+";",n,r,a-2),l);break;case 59:S+=";";default:if(Nt(C=xi(S,t,r,f,p,i,c,d,v=[],w=[],a),o),y===123)if(p===0)qt(S,t,C,C,v,o,a,c,w);else switch(_===99&&W(S,3)===110?100:_){case 100:case 108:case 109:case 115:qt(e,C,C,n&&Nt(xi(e,C,C,0,0,i,c,d,i,v=[],a),w),i,w,a,c,n?v:w);break;default:qt(S,C,C,C,[""],w,0,c,w)}}f=p=u=0,b=h=1,d=S="",a=s;break;case 58:a=1+de(S),u=g;default:if(b<1){if(y==123)--b;else if(y==125&&b++==0&&Us()==125)continue}switch(S+=It(y),y*b){case 38:h=p>0?1:(S+="\f",-1);break;case 44:c[f++]=(de(S)-1)*h,h=1;break;case 64:pe()===45&&(S+=Ft(te())),_=pe(),p=a=de(d=S+=Bs(zt())),y++;break;case 45:g===45&&de(S)==2&&(b=0)}}return o}function xi(e,t,r,n,i,o,s,c,l,f,p){for(var a=i-1,_=i===0?o:[""],u=Mr(_),g=0,b=0,m=0;g<n;++g)for(var h=0,y=it(e,a+1,a=js(b=s[g])),d=e;h<u;++h)(d=Ci(b>0?_[h]+" "+y:T(y,/&\f/g,_[h])))&&(l[m++]=d);return jt(e,t,r,i===0?Ar:c,l,f,p)}function Gs(e,t,r){return jt(e,t,r,wi,It(Qs()),it(e,2,-2),0)}function Oi(e,t,r,n){return jt(e,t,r,$r,it(e,0,n),it(e,n+1,-1),n)}function We(e,t){for(var r="",n=Mr(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function Ys(e,t,r,n){switch(e.type){case Ds:if(e.children.length)break;case Ns:case $r:return e.return=e.return||e.value;case wi:return"";case Si:return e.return=e.value+"{"+We(e.children,n)+"}";case Ar:e.value=e.props.join(",")}return de(r=We(e.children,n))?e.return=e.value+"{"+r+"}":""}function Js(e){var t=Mr(e);return function(r,n,i,o){for(var s="",c=0;c<t;c++)s+=e[c](r,n,i,o)||"";return s}}function Xs(e){return function(t){t.root||(t=t.return)&&e(t)}}function Zs(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var ec=function(t,r,n){for(var i=0,o=0;i=o,o=pe(),i===38&&o===12&&(r[n]=1),!ct(o);)te();return st(t,Y)},tc=function(t,r){var n=-1,i=44;do switch(ct(i)){case 0:i===38&&pe()===12&&(r[n]=1),t[n]+=ec(Y-1,r,n);break;case 2:t[n]+=Ft(i);break;case 4:if(i===44){t[++n]=pe()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=It(i)}while(i=te());return t},rc=function(t,r){return Ri(tc(ki(t),r))},Ai=new WeakMap,nc=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&&!Ai.get(n))&&!i){Ai.set(t,!0);for(var o=[],s=rc(r,o),c=n.props,l=0,f=0;l<s.length;l++)for(var p=0;p<c.length;p++,f++)t.props[f]=o[l]?s[l].replace(/&\f/g,c[p]):c[p]+" "+s[l]}}},ic=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function $i(e,t){switch(Fs(e,t)){case 5103:return M+"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 M+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return M+e+Tt+e+G+e+e;case 6828:case 4268:return M+e+G+e+e;case 6165:return M+e+G+"flex-"+e+e;case 5187:return M+e+T(e,/(\w+).+(:[^]+)/,M+"box-$1$2"+G+"flex-$1$2")+e;case 5443:return M+e+G+"flex-item-"+T(e,/flex-|-self/,"")+e;case 4675:return M+e+G+"flex-line-pack"+T(e,/align-content|flex-|-self/,"")+e;case 5548:return M+e+G+T(e,"shrink","negative")+e;case 5292:return M+e+G+T(e,"basis","preferred-size")+e;case 6060:return M+"box-"+T(e,"-grow","")+M+e+G+T(e,"grow","positive")+e;case 4554:return M+T(e,/([^-])(transform)/g,"$1"+M+"$2")+e;case 6187:return T(T(T(e,/(zoom-|grab)/,M+"$1"),/(image-set)/,M+"$1"),e,"")+e;case 5495:case 3959:return T(e,/(image-set\([^]*)/,M+"$1$`$1");case 4968:return T(T(e,/(.+:)(flex-)?(.*)/,M+"box-pack:$3"+G+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+M+e+e;case 4095:case 3583:case 4068:case 2532:return T(e,/(.+)-inline(.+)/,M+"$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(de(e)-1-t>6)switch(W(e,t+1)){case 109:if(W(e,t+4)!==45)break;case 102:return T(e,/(.+:)(.+)-([^]+)/,"$1"+M+"$2-$3$1"+Tt+(W(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Pr(e,"stretch")?$i(T(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(W(e,t+1)!==115)break;case 6444:switch(W(e,de(e)-3-(~Pr(e,"!important")&&10))){case 107:return T(e,":",":"+M)+e;case 101:return T(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+M+(W(e,14)===45?"inline-":"")+"box$3$1"+M+"$2$3$1"+G+"$2box$3")+e}break;case 5936:switch(W(e,t+11)){case 114:return M+e+G+T(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return M+e+G+T(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return M+e+G+T(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return M+e+G+e+e}return e}var oc=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case $r:t.return=$i(t.value,t.length);break;case Si:return We([ot(t,{value:T(t.value,"@","@"+M)})],i);case Ar:if(t.length)return Ls(t.props,function(o){switch(qs(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return We([ot(t,{props:[T(o,/:(read-\w+)/,":"+Tt+"$1")]})],i);case"::placeholder":return We([ot(t,{props:[T(o,/:(plac\w+)/,":"+M+"input-$1")]}),ot(t,{props:[T(o,/:(plac\w+)/,":"+Tt+"$1")]}),ot(t,{props:[T(o,/:(plac\w+)/,G+"input-$1")]})],i)}return""})}},sc=[oc],Pi=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(b){var m=b.getAttribute("data-emotion");m.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var i=t.stylisPlugins||sc,o={},s,c=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(b){for(var m=b.getAttribute("data-emotion").split(" "),h=1;h<m.length;h++)o[m[h]]=!0;c.push(b)});var l,f=[nc,ic];{var p,a=[Ys,Xs(function(b){p.insert(b)})],_=Js(f.concat(i,a)),u=function(m){return We(Ks(m),_)};l=function(m,h,y,d){p=y,u(m?m+"{"+h.styles+"}":h.styles),d&&(g.inserted[h.name]=!0)}}var g={key:r,sheet:new Is({key:r,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:l};return g.sheet.hydrate(c),g};function cc(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 Mi={exports:{}},N={};/** @license React v16.13.1
2
- * react-is.production.min.js
3
- *
4
- * Copyright (c) Facebook, Inc. and its affiliates.
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */var Q=typeof Symbol=="function"&&Symbol.for,Ir=Q?Symbol.for("react.element"):60103,Nr=Q?Symbol.for("react.portal"):60106,Lt=Q?Symbol.for("react.fragment"):60107,Qt=Q?Symbol.for("react.strict_mode"):60108,Ut=Q?Symbol.for("react.profiler"):60114,Wt=Q?Symbol.for("react.provider"):60109,Ht=Q?Symbol.for("react.context"):60110,Dr=Q?Symbol.for("react.async_mode"):60111,Vt=Q?Symbol.for("react.concurrent_mode"):60111,Bt=Q?Symbol.for("react.forward_ref"):60112,Kt=Q?Symbol.for("react.suspense"):60113,uc=Q?Symbol.for("react.suspense_list"):60120,Gt=Q?Symbol.for("react.memo"):60115,Yt=Q?Symbol.for("react.lazy"):60116,ac=Q?Symbol.for("react.block"):60121,lc=Q?Symbol.for("react.fundamental"):60117,fc=Q?Symbol.for("react.responder"):60118,dc=Q?Symbol.for("react.scope"):60119;function re(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Ir:switch(e=e.type,e){case Dr:case Vt:case Lt:case Ut:case Qt:case Kt:return e;default:switch(e=e&&e.$$typeof,e){case Ht:case Bt:case Yt:case Gt:case Wt:return e;default:return t}}case Nr:return t}}}function Ti(e){return re(e)===Vt}N.AsyncMode=Dr,N.ConcurrentMode=Vt,N.ContextConsumer=Ht,N.ContextProvider=Wt,N.Element=Ir,N.ForwardRef=Bt,N.Fragment=Lt,N.Lazy=Yt,N.Memo=Gt,N.Portal=Nr,N.Profiler=Ut,N.StrictMode=Qt,N.Suspense=Kt,N.isAsyncMode=function(e){return Ti(e)||re(e)===Dr},N.isConcurrentMode=Ti,N.isContextConsumer=function(e){return re(e)===Ht},N.isContextProvider=function(e){return re(e)===Wt},N.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ir},N.isForwardRef=function(e){return re(e)===Bt},N.isFragment=function(e){return re(e)===Lt},N.isLazy=function(e){return re(e)===Yt},N.isMemo=function(e){return re(e)===Gt},N.isPortal=function(e){return re(e)===Nr},N.isProfiler=function(e){return re(e)===Ut},N.isStrictMode=function(e){return re(e)===Qt},N.isSuspense=function(e){return re(e)===Kt},N.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Lt||e===Vt||e===Ut||e===Qt||e===Kt||e===uc||typeof e=="object"&&e!==null&&(e.$$typeof===Yt||e.$$typeof===Gt||e.$$typeof===Wt||e.$$typeof===Ht||e.$$typeof===Bt||e.$$typeof===lc||e.$$typeof===fc||e.$$typeof===dc||e.$$typeof===ac)},N.typeOf=re,Mi.exports=N;var pc=Mi.exports,Ii=pc,_c={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},hc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ni={};Ni[Ii.ForwardRef]=_c,Ni[Ii.Memo]=hc;var yc=!0;function mc(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var Di=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||yc===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},ji=function(t,r,n){Di(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 vc(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 gc={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},bc=/[A-Z]|^ms/g,wc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,zi=function(t){return t.charCodeAt(1)===45},Fi=function(t){return t!=null&&typeof t!="boolean"},jr=Zs(function(e){return zi(e)?e:e.replace(bc,"-$&").toLowerCase()}),qi=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(wc,function(n,i,o){return _e={name:i,styles:o,next:_e},i})}return gc[t]!==1&&!zi(t)&&typeof r=="number"&&r!==0?r+"px":r},Ha="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ut(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return _e={name:r.name,styles:r.styles,next:_e},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)_e={name:n.name,styles:n.styles,next:_e},n=n.next;var i=r.styles+";";return i}return Sc(e,t,r)}case"function":{if(e!==void 0){var o=_e,s=r(e);return _e=o,ut(e,t,s)}break}}if(t==null)return r;var c=t[r];return c!==void 0?c:r}function Sc(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=ut(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]+"}":Fi(s)&&(n+=jr(o)+":"+qi(o,s)+";");else if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var c=0;c<s.length;c++)Fi(s[c])&&(n+=jr(o)+":"+qi(o,s[c])+";");else{var l=ut(e,t,s);switch(o){case"animation":case"animationName":{n+=jr(o)+":"+l+";";break}default:n+=o+"{"+l+"}"}}}return n}var Li=/label:\s*([^\s;\n{]+)\s*(;|$)/g,_e,zr=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,o="";_e=void 0;var s=t[0];s==null||s.raw===void 0?(i=!1,o+=ut(n,r,s)):o+=s[0];for(var c=1;c<t.length;c++)o+=ut(n,r,t[c]),i&&(o+=s[c]);Li.lastIndex=0;for(var l="",f;(f=Li.exec(o))!==null;)l+="-"+f[1];var p=vc(o)+l;return{name:p,styles:o,next:_e}},Cc=function(t){return t()},Qi=nt.useInsertionEffect?nt.useInsertionEffect:!1,Ec=Qi||Cc,Ui=Qi||Ae,Jt={}.hasOwnProperty,Wi=Ot(typeof HTMLElement<"u"?Pi({key:"css"}):null),kc=Wi.Provider,Hi=function(t){return kr(function(r,n){var i=et(Wi);return t(r,i,n)})},Vi=Ot({}),Fr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Bi=function(t,r){var n={};for(var i in r)Jt.call(r,i)&&(n[i]=r[i]);return n[Fr]=t,n},Rc=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Di(r,n,i),Ec(function(){return ji(r,n,i)}),null},xc=Hi(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[Fr],o=[n],s="";typeof e.className=="string"?s=mc(t.registered,o,e.className):e.className!=null&&(s=e.className+" ");var c=zr(o,void 0,et(Vi));s+=t.key+"-"+c.name;var l={};for(var f in e)Jt.call(e,f)&&f!=="css"&&f!==Fr&&(l[f]=e[f]);return l.ref=r,l.className=s,L(oe,null,L(Rc,{cache:t,serialized:c,isStringTag:typeof i=="string"}),L(i,l))}),Ki=xc,Oc=Hi(function(e,t){var r=e.styles,n=zr([r],void 0,et(Vi)),i=se();return Ui(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}),c=!1,l=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),l!==null&&(c=!0,l.setAttribute("data-emotion",o),s.hydrate([l])),i.current=[s,c],function(){s.flush()}},[t]),Ui(function(){var o=i.current,s=o[0],c=o[1];if(c){o[1]=!1;return}if(n.next!==void 0&&ji(t,n.next,!0),s.tags.length){var l=s.tags[s.tags.length-1].nextElementSibling;s.before=l,s.flush()}t.insert("",n,s,!1)},[t,n.name]),null});function Ac(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return zr(t)}function H(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 $c=typeof Symbol=="function"&&Symbol.observable||"@@observable",Gi=$c,qr=()=>Math.random().toString(36).substring(7).split("").join("."),Pc={INIT:`@@redux/INIT${qr()}`,REPLACE:`@@redux/REPLACE${qr()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${qr()}`},Xt=Pc;function he(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Yi(e,t,r){if(typeof e!="function")throw new Error(H(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(H(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(H(1));return r(Yi)(e,t)}let n=e,i=t,o=new Map,s=o,c=0,l=!1;function f(){s===o&&(s=new Map,o.forEach((m,h)=>{s.set(h,m)}))}function p(){if(l)throw new Error(H(3));return i}function a(m){if(typeof m!="function")throw new Error(H(4));if(l)throw new Error(H(5));let h=!0;f();const y=c++;return s.set(y,m),function(){if(h){if(l)throw new Error(H(6));h=!1,f(),s.delete(y),o=null}}}function _(m){if(!he(m))throw new Error(H(7));if(typeof m.type>"u")throw new Error(H(8));if(typeof m.type!="string")throw new Error(H(17));if(l)throw new Error(H(9));try{l=!0,i=n(i,m)}finally{l=!1}return(o=s).forEach(y=>{y()}),m}function u(m){if(typeof m!="function")throw new Error(H(10));n=m,_({type:Xt.REPLACE})}function g(){const m=a;return{subscribe(h){if(typeof h!="object"||h===null)throw new Error(H(11));function y(){const v=h;v.next&&v.next(p())}return y(),{unsubscribe:m(y)}},[Gi](){return this}}}return _({type:Xt.INIT}),{dispatch:_,subscribe:a,getState:p,replaceReducer:u,[Gi]:g}}function Mc(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:Xt.INIT})>"u")throw new Error(H(12));if(typeof r(void 0,{type:Xt.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(H(13))})}function Ji(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{Mc(r)}catch(o){i=o}return function(s={},c){if(i)throw i;let l=!1;const f={};for(let p=0;p<n.length;p++){const a=n[p],_=r[a],u=s[a],g=_(u,c);if(typeof g>"u")throw c&&c.type,new Error(H(14));f[a]=g,l=l||g!==u}return l=l||n.length!==Object.keys(s).length,l?f:s}}function Zt(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function Tc(...e){return t=>(r,n)=>{const i=t(r,n);let o=()=>{throw new Error(H(15))};const s={getState:i.getState,dispatch:(l,...f)=>o(l,...f)},c=e.map(l=>l(s));return o=Zt(...c)(i.dispatch),{...i,dispatch:o}}}function Xi(e){return he(e)&&"type"in e&&typeof e.type=="string"}var Lr=Symbol.for("immer-nothing"),at=Symbol.for("immer-draftable"),J=Symbol.for("immer-state");function V(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var $e=Object.getPrototypeOf;function le(e){return!!e&&!!e[J]}function fe(e){var t;return e?Zi(e)||Array.isArray(e)||!!e[at]||!!((t=e.constructor)!=null&&t[at])||ft(e)||dt(e):!1}var Ic=Object.prototype.constructor.toString();function Zi(e){if(!e||typeof e!="object")return!1;const t=$e(e);if(t===null)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object?!0:typeof r=="function"&&Function.toString.call(r)===Ic}function Nc(e){return le(e)||V(15,e),e[J].base_}function He(e,t){Pe(e)===0?Object.entries(e).forEach(([r,n])=>{t(r,n,e)}):e.forEach((r,n)=>t(n,r,e))}function Pe(e){const t=e[J];return t?t.type_:Array.isArray(e)?1:ft(e)?2:dt(e)?3:0}function lt(e,t){return Pe(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Qr(e,t){return Pe(e)===2?e.get(t):e[t]}function eo(e,t,r){const n=Pe(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Dc(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function ft(e){return e instanceof Map}function dt(e){return e instanceof Set}function Me(e){return e.copy_||e.base_}function Ur(e,t){if(ft(e))return new Map(e);if(dt(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&Zi(e))return $e(e)?{...e}:Object.assign(Object.create(null),e);const r=Object.getOwnPropertyDescriptors(e);delete r[J];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($e(e),r)}function Wr(e,t=!1){return er(e)||le(e)||!fe(e)||(Pe(e)>1&&(e.set=e.add=e.clear=e.delete=jc),Object.freeze(e),t&&He(e,(r,n)=>Wr(n,!0))),e}function jc(){V(2)}function er(e){return Object.isFrozen(e)}var Hr={};function Te(e){const t=Hr[e];return t||V(0,e),t}function zc(e,t){Hr[e]||(Hr[e]=t)}var pt;function to(){return pt}function Fc(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function ro(e,t){t&&(Te("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Vr(e){Br(e),e.drafts_.forEach(qc),e.drafts_=null}function Br(e){e===pt&&(pt=e.parent_)}function no(e){return pt=Fc(pt,e)}function qc(e){const t=e[J];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function io(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[J].modified_&&(Vr(t),V(4)),fe(e)&&(e=tr(t,e),t.parent_||rr(t,e)),t.patches_&&Te("Patches").generateReplacementPatches_(r[J].base_,e,t.patches_,t.inversePatches_)):e=tr(t,r,[]),Vr(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Lr?e:void 0}function tr(e,t,r){if(er(t))return t;const n=t[J];if(!n)return He(t,(i,o)=>oo(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return rr(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),He(o,(c,l)=>oo(e,n,i,c,l,r,s)),rr(e,i,!1),r&&e.patches_&&Te("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function oo(e,t,r,n,i,o,s){if(le(i)){const c=o&&t&&t.type_!==3&&!lt(t.assigned_,n)?o.concat(n):void 0,l=tr(e,i,c);if(eo(r,n,l),le(l))e.canAutoFreeze_=!1;else return}else s&&r.add(i);if(fe(i)&&!er(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;tr(e,i),(!t||!t.scope_.parent_)&&rr(e,i)}}function rr(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Wr(t,r)}function Lc(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:to(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=Kr;r&&(i=[n],o=_t);const{revoke:s,proxy:c}=Proxy.revocable(i,o);return n.draft_=c,n.revoke_=s,c}var Kr={get(e,t){if(t===J)return e;const r=Me(e);if(!lt(r,t))return Qc(e,r,t);const n=r[t];return e.finalized_||!fe(n)?n:n===Gr(e.base_,t)?(Jr(e),e.copy_[t]=Xr(n,e)):n},has(e,t){return t in Me(e)},ownKeys(e){return Reflect.ownKeys(Me(e))},set(e,t,r){const n=so(Me(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=Gr(Me(e),t),o=i==null?void 0:i[J];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(Dc(r,i)&&(r!==void 0||lt(e.base_,t)))return!0;Jr(e),Yr(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 Gr(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Jr(e),Yr(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=Me(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){V(11)},getPrototypeOf(e){return $e(e.base_)},setPrototypeOf(){V(12)}},_t={};He(Kr,(e,t)=>{_t[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),_t.deleteProperty=function(e,t){return _t.set.call(this,e,t,void 0)},_t.set=function(e,t,r){return Kr.set.call(this,e[0],t,r,e[0])};function Gr(e,t){const r=e[J];return(r?Me(r):e)[t]}function Qc(e,t,r){var i;const n=so(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function so(e,t){if(!(t in e))return;let r=$e(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=$e(r)}}function Yr(e){e.modified_||(e.modified_=!0,e.parent_&&Yr(e.parent_))}function Jr(e){e.copy_||(e.copy_=Ur(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Uc=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const o=r;r=t;const s=this;return function(l=o,...f){return s.produce(l,p=>r.call(this,p,...f))}}typeof r!="function"&&V(6),n!==void 0&&typeof n!="function"&&V(7);let i;if(fe(t)){const o=no(this),s=Xr(t,void 0);let c=!0;try{i=r(s),c=!1}finally{c?Vr(o):Br(o)}return ro(o,n),io(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===Lr&&(i=void 0),this.autoFreeze_&&Wr(i,!0),n){const o=[],s=[];Te("Patches").generateReplacementPatches_(t,i,o,s),n(o,s)}return i}else V(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(s,...c)=>this.produceWithPatches(s,l=>t(l,...c));let n,i;return[this.produce(t,r,(s,c)=>{n=s,i=c}),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){fe(e)||V(8),le(e)&&(e=co(e));const t=no(this),r=Xr(e,void 0);return r[J].isManual_=!0,Br(t),r}finishDraft(e,t){const r=e&&e[J];(!r||!r.isManual_)&&V(9);const{scope_:n}=r;return ro(n,t),io(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=Te("Patches").applyPatches_;return le(e)?n(e,t):this.produce(e,i=>n(i,t))}};function Xr(e,t){const r=ft(e)?Te("MapSet").proxyMap_(e,t):dt(e)?Te("MapSet").proxySet_(e,t):Lc(e,t);return(t?t.scope_:to()).drafts_.push(r),r}function co(e){return le(e)||V(10,e),uo(e)}function uo(e){if(!fe(e)||er(e))return e;const t=e[J];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Ur(e,t.scope_.immer_.useStrictShallowCopy_)}else r=Ur(e,!0);return He(r,(n,i)=>{eo(r,n,uo(i))}),t&&(t.finalized_=!1),r}function Wc(){const t="replace",r="add",n="remove";function i(_,u,g,b){switch(_.type_){case 0:case 2:return s(_,u,g,b);case 1:return o(_,u,g,b);case 3:return c(_,u,g,b)}}function o(_,u,g,b){let{base_:m,assigned_:h}=_,y=_.copy_;y.length<m.length&&([m,y]=[y,m],[g,b]=[b,g]);for(let d=0;d<m.length;d++)if(h[d]&&y[d]!==m[d]){const v=u.concat([d]);g.push({op:t,path:v,value:a(y[d])}),b.push({op:t,path:v,value:a(m[d])})}for(let d=m.length;d<y.length;d++){const v=u.concat([d]);g.push({op:r,path:v,value:a(y[d])})}for(let d=y.length-1;m.length<=d;--d){const v=u.concat([d]);b.push({op:n,path:v})}}function s(_,u,g,b){const{base_:m,copy_:h}=_;He(_.assigned_,(y,d)=>{const v=Qr(m,y),w=Qr(h,y),C=d?lt(m,y)?t:r:n;if(v===w&&C===t)return;const S=u.concat(y);g.push(C===n?{op:C,path:S}:{op:C,path:S,value:w}),b.push(C===r?{op:n,path:S}:C===n?{op:r,path:S,value:a(v)}:{op:t,path:S,value:a(v)})})}function c(_,u,g,b){let{base_:m,copy_:h}=_,y=0;m.forEach(d=>{if(!h.has(d)){const v=u.concat([y]);g.push({op:n,path:v,value:d}),b.unshift({op:r,path:v,value:d})}y++}),y=0,h.forEach(d=>{if(!m.has(d)){const v=u.concat([y]);g.push({op:r,path:v,value:d}),b.unshift({op:n,path:v,value:d})}y++})}function l(_,u,g,b){g.push({op:t,path:[],value:u===Lr?void 0:u}),b.push({op:t,path:[],value:_})}function f(_,u){return u.forEach(g=>{const{path:b,op:m}=g;let h=_;for(let w=0;w<b.length-1;w++){const C=Pe(h);let S=b[w];typeof S!="string"&&typeof S!="number"&&(S=""+S),(C===0||C===1)&&(S==="__proto__"||S==="constructor")&&V(19),typeof h=="function"&&S==="prototype"&&V(19),h=Qr(h,S),typeof h!="object"&&V(18,b.join("/"))}const y=Pe(h),d=p(g.value),v=b[b.length-1];switch(m){case t:switch(y){case 2:return h.set(v,d);case 3:V(16);default:return h[v]=d}case r:switch(y){case 1:return v==="-"?h.push(d):h.splice(v,0,d);case 2:return h.set(v,d);case 3:return h.add(d);default:return h[v]=d}case n:switch(y){case 1:return h.splice(v,1);case 2:return h.delete(v);case 3:return h.delete(g.value);default:return delete h[v]}default:V(17,m)}}),_}function p(_){if(!fe(_))return _;if(Array.isArray(_))return _.map(p);if(ft(_))return new Map(Array.from(_.entries()).map(([g,b])=>[g,p(b)]));if(dt(_))return new Set(Array.from(_).map(p));const u=Object.create($e(_));for(const g in _)u[g]=p(_[g]);return lt(_,at)&&(u[at]=_[at]),u}function a(_){return le(_)?p(_):_}zc("Patches",{applyPatches_:f,generatePatches_:i,generateReplacementPatches_:l})}var ne=new Uc,ht=ne.produce,ao=ne.produceWithPatches.bind(ne);ne.setAutoFreeze.bind(ne),ne.setUseStrictShallowCopy.bind(ne);var lo=ne.applyPatches.bind(ne);ne.createDraft.bind(ne),ne.finishDraft.bind(ne);function Hc(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function Vc(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function Bc(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 fo=e=>Array.isArray(e)?e:[e];function Kc(e){const t=Array.isArray(e[0])?e[0]:e;return Bc(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function Gc(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var Yc=class{constructor(e){this.value=e}deref(){return this.value}},Jc=typeof WeakRef<"u"?WeakRef:Yc,Xc=0,po=1;function nr(){return{s:Xc,v:void 0,o:null,p:null}}function yt(e,t={}){let r=nr();const{resultEqualityCheck:n}=t;let i,o=0;function s(){var a;let c=r;const{length:l}=arguments;for(let _=0,u=l;_<u;_++){const g=arguments[_];if(typeof g=="function"||typeof g=="object"&&g!==null){let b=c.o;b===null&&(c.o=b=new WeakMap);const m=b.get(g);m===void 0?(c=nr(),b.set(g,c)):c=m}else{let b=c.p;b===null&&(c.p=b=new Map);const m=b.get(g);m===void 0?(c=nr(),b.set(g,c)):c=m}}const f=c;let p;if(c.s===po?p=c.v:(p=e.apply(null,arguments),o++),f.s=po,n){const _=((a=i==null?void 0:i.deref)==null?void 0:a.call(i))??i;_!=null&&n(_,p)&&(p=_,o!==0&&o--),i=typeof p=="object"&&p!==null||typeof p=="function"?new Jc(p):p}return f.v=p,p}return s.clearCache=()=>{r=nr(),s.resetResultsCount()},s.resultsCount=()=>o,s.resetResultsCount=()=>{o=0},s}function _o(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let o=0,s=0,c,l={},f=i.pop();typeof f=="object"&&(l=f,f=i.pop()),Hc(f,`createSelector expects an output function after the inputs, but received: [${typeof f}]`);const p={...r,...l},{memoize:a,memoizeOptions:_=[],argsMemoize:u=yt,argsMemoizeOptions:g=[],devModeChecks:b={}}=p,m=fo(_),h=fo(g),y=Kc(i),d=a(function(){return o++,f.apply(null,arguments)},...m),v=u(function(){s++;const C=Gc(y,arguments);return c=d.apply(null,C),c},...h);return Object.assign(v,{resultFunc:f,memoizedResultFunc:d,dependencies:y,dependencyRecomputations:()=>s,resetDependencyRecomputations:()=>{s=0},lastResult:()=>c,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:a,argsMemoize:u})};return Object.assign(n,{withTypes:()=>n}),n}var Ve=_o(yt),Zc=Object.assign((e,t=Ve)=>{Vc(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,c,l)=>(s[r[l]]=c,s),{}))},{withTypes:()=>Zc});function ho(e){return({dispatch:r,getState:n})=>i=>o=>typeof o=="function"?o(r,n,e):i(o)}var eu=ho(),tu=ho,ru=(...e)=>{const t=_o(...e);return(...r)=>{const n=t(...r),i=(o,...s)=>n(le(o)?co(o):o,...s);return Object.assign(i,n),i}};ru(yt);var nu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Zt:Zt.apply(null,arguments)},iu=e=>e&&typeof e.match=="function";function X(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(ce(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>Xi(n)&&n.type===e,r}var yo=class Et extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Et.prototype)}static get[Symbol.species](){return Et}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Et(...t[0].concat(this)):new Et(...t.concat(this))}};function mo(e){return fe(e)?ht(e,()=>{}):e}function vo(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(ce(10));const n=r.insert(t,e);return e.set(t,n),n}function ou(e){return typeof e=="boolean"}var su=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let s=new yo;return r&&(ou(r)?s.push(eu):s.push(tu(r.extraArgument))),s},Be="RTK_autoBatch",mt=()=>e=>({payload:e,meta:{[Be]:!0}}),go=e=>t=>{setTimeout(t,e)},cu=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:go(10),uu=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let i=!0,o=!1,s=!1;const c=new Set,l=e.type==="tick"?queueMicrotask:e.type==="raf"?cu:e.type==="callback"?e.queueNotification:go(e.timeout),f=()=>{s=!1,o&&(o=!1,c.forEach(p=>p()))};return Object.assign({},n,{subscribe(p){const a=()=>i&&p(),_=n.subscribe(a);return c.add(p),()=>{_(),c.delete(p)}},dispatch(p){var a;try{return i=!((a=p==null?void 0:p.meta)!=null&&a[Be]),o=!i,o&&(s||(s=!0,l(f))),n.dispatch(p)}finally{i=!0}}})},au=e=>function(r){const{autoBatch:n=!0}=r??{};let i=new yo(e);return n&&i.push(uu(typeof n=="object"?n:void 0)),i},lu=!0;function fu(e){const t=su(),{reducer:r=void 0,middleware:n,devTools:i=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{};let c;if(typeof r=="function")c=r;else if(he(r))c=Ji(r);else throw new Error(ce(1));let l;typeof n=="function"?l=n(t):l=t();let f=Zt;i&&(f=nu({trace:!lu,...typeof i=="object"&&i}));const p=Tc(...l),a=au(p);let _=typeof s=="function"?s(a):a();const u=f(..._);return Yi(c,o,u)}function bo(e){const t={},r=[];let n;const i={addCase(o,s){const c=typeof o=="string"?o:o.type;if(!c)throw new Error(ce(28));if(c in t)throw new Error(ce(29));return t[c]=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 du(e){return typeof e=="function"}function pu(e,t){let[r,n,i]=bo(t),o;if(du(e))o=()=>mo(e());else{const c=mo(e);o=()=>c}function s(c=o(),l){let f=[r[l.type],...n.filter(({matcher:p})=>p(l)).map(({reducer:p})=>p)];return f.filter(p=>!!p).length===0&&(f=[i]),f.reduce((p,a)=>{if(a)if(le(p)){const u=a(p,l);return u===void 0?p:u}else{if(fe(p))return ht(p,_=>a(_,l));{const _=a(p,l);if(_===void 0){if(p===null)return p;throw new Error(ce(9))}return _}}return p},c)}return s.getInitialState=o,s}var _u="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",wo=(e=21)=>{let t="",r=e;for(;r--;)t+=_u[Math.random()*64|0];return t},So=(e,t)=>iu(e)?e.match(t):e(t);function Ce(...e){return t=>e.some(r=>So(r,t))}function vt(...e){return t=>e.every(r=>So(r,t))}function ir(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 gt(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function Zr(...e){return e.length===0?t=>ir(t,["pending"]):gt(e)?t=>{const r=e.map(i=>i.pending);return Ce(...r)(t)}:Zr()(e[0])}function Ke(...e){return e.length===0?t=>ir(t,["rejected"]):gt(e)?t=>{const r=e.map(i=>i.rejected);return Ce(...r)(t)}:Ke()(e[0])}function or(...e){const t=r=>r&&r.meta&&r.meta.rejectedWithValue;return e.length===0?r=>vt(Ke(...e),t)(r):gt(e)?r=>vt(Ke(...e),t)(r):or()(e[0])}function Ee(...e){return e.length===0?t=>ir(t,["fulfilled"]):gt(e)?t=>{const r=e.map(i=>i.fulfilled);return Ce(...r)(t)}:Ee()(e[0])}function en(...e){return e.length===0?t=>ir(t,["pending","fulfilled","rejected"]):gt(e)?t=>{const r=[];for(const i of e)r.push(i.pending,i.rejected,i.fulfilled);return Ce(...r)(t)}:en()(e[0])}var hu=["name","message","stack","code"],tn=class{constructor(e,t){_n(this,"_type");this.payload=e,this.meta=t}},Co=class{constructor(e,t){_n(this,"_type");this.payload=e,this.meta=t}},yu=e=>{if(typeof e=="object"&&e!==null){const t={};for(const r of hu)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},Eo=(()=>{function e(t,r,n){const i=X(t+"/fulfilled",(l,f,p,a)=>({payload:l,meta:{...a||{},arg:p,requestId:f,requestStatus:"fulfilled"}})),o=X(t+"/pending",(l,f,p)=>({payload:void 0,meta:{...p||{},arg:f,requestId:l,requestStatus:"pending"}})),s=X(t+"/rejected",(l,f,p,a,_)=>({payload:a,error:(n&&n.serializeError||yu)(l||"Rejected"),meta:{..._||{},arg:p,requestId:f,rejectedWithValue:!!a,requestStatus:"rejected",aborted:(l==null?void 0:l.name)==="AbortError",condition:(l==null?void 0:l.name)==="ConditionError"}}));function c(l){return(f,p,a)=>{const _=n!=null&&n.idGenerator?n.idGenerator(l):wo(),u=new AbortController;let g;function b(h){g=h,u.abort()}const m=async function(){var d,v;let h;try{let w=(d=n==null?void 0:n.condition)==null?void 0:d.call(n,l,{getState:p,extra:a});if(vu(w)&&(w=await w),w===!1||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const C=new Promise((S,E)=>u.signal.addEventListener("abort",()=>E({name:"AbortError",message:g||"Aborted"})));f(o(_,l,(v=n==null?void 0:n.getPendingMeta)==null?void 0:v.call(n,{requestId:_,arg:l},{getState:p,extra:a}))),h=await Promise.race([C,Promise.resolve(r(l,{dispatch:f,getState:p,extra:a,requestId:_,signal:u.signal,abort:b,rejectWithValue:(S,E)=>new tn(S,E),fulfillWithValue:(S,E)=>new Co(S,E)})).then(S=>{if(S instanceof tn)throw S;return S instanceof Co?i(S.payload,_,l,S.meta):i(S,_,l)})])}catch(w){h=w instanceof tn?s(null,_,l,w.payload,w.meta):s(w,_,l)}return n&&!n.dispatchConditionRejection&&s.match(h)&&h.meta.condition||f(h),h}();return Object.assign(m,{abort:b,requestId:_,arg:l,unwrap(){return m.then(mu)}})}}return Object.assign(c,{pending:o,rejected:s,fulfilled:i,settled:Ce(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function mu(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function vu(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var gu=Symbol.for("rtk-slice-createasyncthunk");function bu(e,t){return`${e}/${t}`}function wu({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[gu];return function(i){const{name:o,reducerPath:s=o}=i;if(!o)throw new Error(ce(11));typeof process<"u";const c=(typeof i.reducers=="function"?i.reducers(Cu()):i.reducers)||{},l=Object.keys(c),f={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(m,h){const y=typeof m=="string"?m:m.type;if(!y)throw new Error(ce(12));if(y in f.sliceCaseReducersByType)throw new Error(ce(13));return f.sliceCaseReducersByType[y]=h,p},addMatcher(m,h){return f.sliceMatchers.push({matcher:m,reducer:h}),p},exposeAction(m,h){return f.actionCreators[m]=h,p},exposeCaseReducer(m,h){return f.sliceCaseReducersByName[m]=h,p}};l.forEach(m=>{const h=c[m],y={reducerName:m,type:bu(o,m),createNotation:typeof i.reducers=="function"};ku(h)?xu(y,h,p,t):Eu(y,h,p)});function a(){const[m={},h=[],y=void 0]=typeof i.extraReducers=="function"?bo(i.extraReducers):[i.extraReducers],d={...m,...f.sliceCaseReducersByType};return pu(i.initialState,v=>{for(let w in d)v.addCase(w,d[w]);for(let w of f.sliceMatchers)v.addMatcher(w.matcher,w.reducer);for(let w of h)v.addMatcher(w.matcher,w.reducer);y&&v.addDefaultCase(y)})}const _=m=>m,u=new WeakMap;let g;const b={name:o,reducerPath:s,reducer(m,h){return g||(g=a()),g(m,h)},actions:f.actionCreators,caseReducers:f.sliceCaseReducersByName,getInitialState(){return g||(g=a()),g.getInitialState()},getSelectors(m=_){const h=vo(u,this,{insert:()=>new WeakMap});return vo(h,m,{insert:()=>{const y={};for(const[d,v]of Object.entries(i.selectors??{}))y[d]=Su(this,v,m,this!==b);return y}})},selectSlice(m){let h=m[this.reducerPath];return typeof h>"u"&&this!==b&&(h=this.getInitialState()),h},get selectors(){return this.getSelectors(this.selectSlice)},injectInto(m,{reducerPath:h,...y}={}){const d=h??this.reducerPath;return m.inject({reducerPath:d,reducer:this.reducer},y),{...this,reducerPath:d}}};return b}}function Su(e,t,r,n){function i(o,...s){let c=r.call(e,o);return typeof c>"u"&&n&&(c=e.getInitialState()),t(c,...s)}return i.unwrapped=t,i}var Ie=wu();function Cu(){function e(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...r){return t(...r)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}},asyncThunk:e}}function Eu({type:e,reducerName:t,createNotation:r},n,i){let o,s;if("reducer"in n){if(r&&!Ru(n))throw new Error(ce(17));o=n.reducer,s=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,s?X(e,s):X(e))}function ku(e){return e._reducerDefinitionType==="asyncThunk"}function Ru(e){return e._reducerDefinitionType==="reducerWithPrepare"}function xu({type:e,reducerName:t},r,n,i){if(!i)throw new Error(ce(18));const{payloadCreator:o,fulfilled:s,pending:c,rejected:l,settled:f,options:p}=r,a=i(e,o,p);n.exposeAction(t,a),s&&n.addCase(a.fulfilled,s),c&&n.addCase(a.pending,c),l&&n.addCase(a.rejected,l),f&&n.addMatcher(a.settled,f),n.exposeCaseReducer(t,{fulfilled:s||sr,pending:c||sr,rejected:l||sr,settled:f||sr})}function sr(){}var rn="listenerMiddleware";X(`${rn}/add`),X(`${rn}/removeAll`),X(`${rn}/remove`);function ce(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 ko=(e=>(e.uninitialized="uninitialized",e.pending="pending",e.fulfilled="fulfilled",e.rejected="rejected",e))(ko||{});function Ou(e){return{status:e,isUninitialized:e==="uninitialized",isLoading:e==="pending",isSuccess:e==="fulfilled",isError:e==="rejected"}}function Au(e){return new RegExp("(^|:)//").test(e)}var $u=e=>e.replace(/\/$/,""),Pu=e=>e.replace(/^\//,"");function Mu(e,t){if(!e)return t;if(!t)return e;if(Au(t))return t;const r=e.endsWith("/")||!t.startsWith("?")?"/":"";return e=$u(e),t=Pu(t),`${e}${r}${t}`}var Ro=e=>[].concat(...e);function Tu(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function Iu(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var xo=he;function Oo(e,t){if(e===t||!(xo(e)&&xo(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]=Oo(e[s],t[s]),i&&(i=e[s]===o[s]);return i?e:o}var Ao=(...e)=>fetch(...e),Nu=e=>e.status>=200&&e.status<=299,Du=e=>/ion\/(vnd\.api\+)?json/.test(e.get("content-type")||"");function $o(e){if(!he(e))return e;const t={...e};for(const[r,n]of Object.entries(t))n===void 0&&delete t[r];return t}function ju({baseUrl:e,prepareHeaders:t=a=>a,fetchFn:r=Ao,paramsSerializer:n,isJsonContentType:i=Du,jsonContentType:o="application/json",jsonReplacer:s,timeout:c,responseHandler:l,validateStatus:f,...p}={}){return typeof fetch>"u"&&r===Ao&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),async(_,u)=>{const{signal:g,getState:b,extra:m,endpoint:h,forced:y,type:d}=u;let v,{url:w,headers:C=new Headers(p.headers),params:S=void 0,responseHandler:E=l??"json",validateStatus:k=f??Nu,timeout:R=c,...A}=typeof _=="string"?{url:_}:_,O={...p,signal:g,...A};C=new Headers($o(C)),O.headers=await t(C,{getState:b,extra:m,endpoint:h,forced:y,type:d})||C;const $=z=>typeof z=="object"&&(he(z)||Array.isArray(z)||typeof z.toJSON=="function");if(!O.headers.has("content-type")&&$(O.body)&&O.headers.set("content-type",o),$(O.body)&&i(O.headers)&&(O.body=JSON.stringify(O.body,s)),S){const z=~w.indexOf("?")?"&":"?",je=n?n(S):new URLSearchParams($o(S));w+=z+je}w=Mu(e,w);const P=new Request(w,O);v={request:new Request(w,O)};let B,j=!1,I=R&&setTimeout(()=>{j=!0,u.abort()},R);try{B=await r(P)}catch(z){return{error:{status:j?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(z)},meta:v}}finally{I&&clearTimeout(I)}const Z=B.clone();v.response=Z;let U,ye="";try{let z;if(await Promise.all([a(B,E).then(je=>U=je,je=>z=je),Z.text().then(je=>ye=je,()=>{})]),z)throw z}catch(z){return{error:{status:"PARSING_ERROR",originalStatus:B.status,data:ye,error:String(z)},meta:v}}return k(B,U)?{data:U,meta:v}:{error:{status:B.status,data:U},meta:v}};async function a(_,u){if(typeof u=="function")return u(_);if(u==="content-type"&&(u=i(_.headers)?"json":"text"),u==="json"){const g=await _.text();return g.length?JSON.parse(g):null}return _.text()}}var Po=class{constructor(e,t=void 0){this.value=e,this.meta=t}},nn=X("__rtkq/focused"),Mo=X("__rtkq/unfocused"),on=X("__rtkq/online"),To=X("__rtkq/offline");function Io(e){return e.type==="query"}function zu(e){return e.type==="mutation"}function sn(e,t,r,n,i,o){return Fu(e)?e(t,r,n,i).map(cn).map(o):Array.isArray(e)?e.map(cn).map(o):[]}function Fu(e){return typeof e=="function"}function cn(e){return typeof e=="string"?{type:e}:e}function No(e){return e!=null}function Ge(e){let t=0;for(const r in e)t++;return t}var bt=Symbol("forceQueryFn"),un=e=>typeof e[bt]=="function";function qu({serializeQueryArgs:e,queryThunk:t,mutationThunk:r,api:n,context:i}){const o=new Map,s=new Map,{unsubscribeQueryResult:c,removeMutationResult:l,updateSubscriptionOptions:f}=n.internalActions;return{buildInitiateQuery:g,buildInitiateMutation:b,getRunningQueryThunk:p,getRunningMutationThunk:a,getRunningQueriesThunk:_,getRunningMutationsThunk:u};function p(m,h){return y=>{var w;const d=i.endpointDefinitions[m],v=e({queryArgs:h,endpointDefinition:d,endpointName:m});return(w=o.get(y))==null?void 0:w[v]}}function a(m,h){return y=>{var d;return(d=s.get(y))==null?void 0:d[h]}}function _(){return m=>Object.values(o.get(m)||{}).filter(No)}function u(){return m=>Object.values(s.get(m)||{}).filter(No)}function g(m,h){const y=(d,{subscribe:v=!0,forceRefetch:w,subscriptionOptions:C,[bt]:S}={})=>(E,k)=>{var ye;const R=e({queryArgs:d,endpointDefinition:h,endpointName:m}),A=t({type:"query",subscribe:v,forceRefetch:w,subscriptionOptions:C,endpointName:m,originalArgs:d,queryCacheKey:R,[bt]:S}),O=n.endpoints[m].select(d),$=E(A),P=O(k()),{requestId:F,abort:B}=$,j=P.requestId!==F,I=(ye=o.get(E))==null?void 0:ye[R],Z=()=>O(k()),U=Object.assign(S?$.then(Z):j&&!I?Promise.resolve(P):Promise.all([I,$]).then(Z),{arg:d,requestId:F,subscriptionOptions:C,queryCacheKey:R,abort:B,async unwrap(){const z=await U;if(z.isError)throw z.error;return z.data},refetch:()=>E(y(d,{subscribe:!1,forceRefetch:!0})),unsubscribe(){v&&E(c({queryCacheKey:R,requestId:F}))},updateSubscriptionOptions(z){U.subscriptionOptions=z,E(f({endpointName:m,requestId:F,queryCacheKey:R,options:z}))}});if(!I&&!j&&!S){const z=o.get(E)||{};z[R]=U,o.set(E,z),U.then(()=>{delete z[R],Ge(z)||o.delete(E)})}return U};return y}function b(m){return(h,{track:y=!0,fixedCacheKey:d}={})=>(v,w)=>{const C=r({type:"mutation",endpointName:m,originalArgs:h,track:y,fixedCacheKey:d}),S=v(C),{requestId:E,abort:k,unwrap:R}=S,A=S.unwrap().then(F=>({data:F})).catch(F=>({error:F})),O=()=>{v(l({requestId:E,fixedCacheKey:d}))},$=Object.assign(A,{arg:S.arg,requestId:E,abort:k,unwrap:R,reset:O}),P=s.get(v)||{};return s.set(v,P),P[E]=$,$.then(()=>{delete P[E],Ge(P)||s.delete(v)}),d&&(P[d]=$,$.then(()=>{P[d]===$&&(delete P[d],Ge(P)||s.delete(v))})),$}}}function Do(e){return e}function Lu({reducerPath:e,baseQuery:t,context:{endpointDefinitions:r},serializeQueryArgs:n,api:i,assertTagType:o}){const s=(y,d,v,w)=>(C,S)=>{const E=r[y],k=n({queryArgs:d,endpointDefinition:E,endpointName:y});if(C(i.internalActions.queryResultPatched({queryCacheKey:k,patches:v})),!w)return;const R=i.endpoints[y].select(d)(S()),A=sn(E.providesTags,R.data,void 0,d,{},o);C(i.internalActions.updateProvidedBy({queryCacheKey:k,providedTags:A}))},c=(y,d,v,w=!0)=>(C,S)=>{const k=i.endpoints[y].select(d)(S());let R={patches:[],inversePatches:[],undo:()=>C(i.util.patchQueryData(y,d,R.inversePatches,w))};if(k.status==="uninitialized")return R;let A;if("data"in k)if(fe(k.data)){const[O,$,P]=ao(k.data,v);R.patches.push(...$),R.inversePatches.push(...P),A=O}else A=v(k.data),R.patches.push({op:"replace",path:[],value:A}),R.inversePatches.push({op:"replace",path:[],value:k.data});return C(i.util.patchQueryData(y,d,R.patches,w)),R},l=(y,d,v)=>w=>w(i.endpoints[y].initiate(d,{subscribe:!1,forceRefetch:!0,[bt]:()=>({data:v})})),f=async(y,{signal:d,abort:v,rejectWithValue:w,fulfillWithValue:C,dispatch:S,getState:E,extra:k})=>{const R=r[y.endpointName];try{let A=Do,O;const $={signal:d,abort:v,dispatch:S,getState:E,extra:k,endpoint:y.endpointName,type:y.type,forced:y.type==="query"?p(y,E()):void 0},P=y.type==="query"?y[bt]:void 0;if(P?O=P():R.query?(O=await t(R.query(y.originalArgs),$,R.extraOptions),R.transformResponse&&(A=R.transformResponse)):O=await R.queryFn(y.originalArgs,$,R.extraOptions,F=>t(F,$,R.extraOptions)),typeof process<"u",O.error)throw new Po(O.error,O.meta);return C(await A(O.data,O.meta,y.originalArgs),{fulfilledTimeStamp:Date.now(),baseQueryMeta:O.meta,[Be]:!0})}catch(A){let O=A;if(O instanceof Po){let $=Do;R.query&&R.transformErrorResponse&&($=R.transformErrorResponse);try{return w(await $(O.value,O.meta,y.originalArgs),{baseQueryMeta:O.meta,[Be]:!0})}catch(P){O=P}}throw typeof process<"u",console.error(O),O}};function p(y,d){var E,k,R;const v=(k=(E=d[e])==null?void 0:E.queries)==null?void 0:k[y.queryCacheKey],w=(R=d[e])==null?void 0:R.config.refetchOnMountOrArgChange,C=v==null?void 0:v.fulfilledTimeStamp,S=y.forceRefetch??(y.subscribe&&w);return S?S===!0||(Number(new Date)-Number(C))/1e3>=S:!1}const a=Eo(`${e}/executeQuery`,f,{getPendingMeta(){return{startedTimeStamp:Date.now(),[Be]:!0}},condition(y,{getState:d}){var R,A,O;const v=d(),w=(A=(R=v[e])==null?void 0:R.queries)==null?void 0:A[y.queryCacheKey],C=w==null?void 0:w.fulfilledTimeStamp,S=y.originalArgs,E=w==null?void 0:w.originalArgs,k=r[y.endpointName];return un(y)?!0:(w==null?void 0:w.status)==="pending"?!1:p(y,v)||Io(k)&&((O=k==null?void 0:k.forceRefetch)!=null&&O.call(k,{currentArg:S,previousArg:E,endpointState:w,state:v}))?!0:!C},dispatchConditionRejection:!0}),_=Eo(`${e}/executeMutation`,f,{getPendingMeta(){return{startedTimeStamp:Date.now(),[Be]:!0}}}),u=y=>"force"in y,g=y=>"ifOlderThan"in y,b=(y,d,v)=>(w,C)=>{const S=u(v)&&v.force,E=g(v)&&v.ifOlderThan,k=(A=!0)=>i.endpoints[y].initiate(d,{forceRefetch:A}),R=i.endpoints[y].select(d)(C());if(S)w(k());else if(E){const A=R==null?void 0:R.fulfilledTimeStamp;if(!A){w(k());return}(Number(new Date)-Number(new Date(A)))/1e3>=E&&w(k())}else w(k(!1))};function m(y){return d=>{var v,w;return((w=(v=d==null?void 0:d.meta)==null?void 0:v.arg)==null?void 0:w.endpointName)===y}}function h(y,d){return{matchPending:vt(Zr(y),m(d)),matchFulfilled:vt(Ee(y),m(d)),matchRejected:vt(Ke(y),m(d))}}return{queryThunk:a,mutationThunk:_,prefetch:b,updateQueryData:c,upsertQueryData:l,patchQueryData:s,buildMatchThunkActions:h}}function jo(e,t,r,n){return sn(r[e.meta.arg.endpointName][t],Ee(e)?e.payload:void 0,or(e)?e.payload:void 0,e.meta.arg.originalArgs,"baseQueryMeta"in e.meta?e.meta.baseQueryMeta:void 0,n)}function cr(e,t,r){const n=e[t];n&&r(n)}function wt(e){return("arg"in e?e.arg.fixedCacheKey:e.fixedCacheKey)??e.requestId}function zo(e,t,r){const n=e[wt(t)];n&&r(n)}var St={};function Qu({reducerPath:e,queryThunk:t,mutationThunk:r,context:{endpointDefinitions:n,apiUid:i,extractRehydrationInfo:o,hasRehydrationInfo:s},assertTagType:c,config:l}){const f=X(`${e}/resetApiState`),p=Ie({name:`${e}/queries`,initialState:St,reducers:{removeQueryResult:{reducer(d,{payload:{queryCacheKey:v}}){delete d[v]},prepare:mt()},queryResultPatched:{reducer(d,{payload:{queryCacheKey:v,patches:w}}){cr(d,v,C=>{C.data=lo(C.data,w.concat())})},prepare:mt()}},extraReducers(d){d.addCase(t.pending,(v,{meta:w,meta:{arg:C}})=>{var E;const S=un(C);v[E=C.queryCacheKey]??(v[E]={status:"uninitialized",endpointName:C.endpointName}),cr(v,C.queryCacheKey,k=>{k.status="pending",k.requestId=S&&k.requestId?k.requestId:w.requestId,C.originalArgs!==void 0&&(k.originalArgs=C.originalArgs),k.startedTimeStamp=w.startedTimeStamp})}).addCase(t.fulfilled,(v,{meta:w,payload:C})=>{cr(v,w.arg.queryCacheKey,S=>{if(S.requestId!==w.requestId&&!un(w.arg))return;const{merge:E}=n[w.arg.endpointName];if(S.status="fulfilled",E)if(S.data!==void 0){const{fulfilledTimeStamp:k,arg:R,baseQueryMeta:A,requestId:O}=w;let $=ht(S.data,P=>E(P,C,{arg:R.originalArgs,baseQueryMeta:A,fulfilledTimeStamp:k,requestId:O}));S.data=$}else S.data=C;else S.data=n[w.arg.endpointName].structuralSharing??!0?Oo(le(S.data)?Nc(S.data):S.data,C):C;delete S.error,S.fulfilledTimeStamp=w.fulfilledTimeStamp})}).addCase(t.rejected,(v,{meta:{condition:w,arg:C,requestId:S},error:E,payload:k})=>{cr(v,C.queryCacheKey,R=>{if(!w){if(R.requestId!==S)return;R.status="rejected",R.error=k??E}})}).addMatcher(s,(v,w)=>{const{queries:C}=o(w);for(const[S,E]of Object.entries(C))((E==null?void 0:E.status)==="fulfilled"||(E==null?void 0:E.status)==="rejected")&&(v[S]=E)})}}),a=Ie({name:`${e}/mutations`,initialState:St,reducers:{removeMutationResult:{reducer(d,{payload:v}){const w=wt(v);w in d&&delete d[w]},prepare:mt()}},extraReducers(d){d.addCase(r.pending,(v,{meta:w,meta:{requestId:C,arg:S,startedTimeStamp:E}})=>{S.track&&(v[wt(w)]={requestId:C,status:"pending",endpointName:S.endpointName,startedTimeStamp:E})}).addCase(r.fulfilled,(v,{payload:w,meta:C})=>{C.arg.track&&zo(v,C,S=>{S.requestId===C.requestId&&(S.status="fulfilled",S.data=w,S.fulfilledTimeStamp=C.fulfilledTimeStamp)})}).addCase(r.rejected,(v,{payload:w,error:C,meta:S})=>{S.arg.track&&zo(v,S,E=>{E.requestId===S.requestId&&(E.status="rejected",E.error=w??C)})}).addMatcher(s,(v,w)=>{const{mutations:C}=o(w);for(const[S,E]of Object.entries(C))((E==null?void 0:E.status)==="fulfilled"||(E==null?void 0:E.status)==="rejected")&&S!==(E==null?void 0:E.requestId)&&(v[S]=E)})}}),_=Ie({name:`${e}/invalidation`,initialState:St,reducers:{updateProvidedBy:{reducer(d,v){var S,E;const{queryCacheKey:w,providedTags:C}=v.payload;for(const k of Object.values(d))for(const R of Object.values(k)){const A=R.indexOf(w);A!==-1&&R.splice(A,1)}for(const{type:k,id:R}of C){const A=(S=d[k]??(d[k]={}))[E=R||"__internal_without_id"]??(S[E]=[]);A.includes(w)||A.push(w)}},prepare:mt()}},extraReducers(d){d.addCase(p.actions.removeQueryResult,(v,{payload:{queryCacheKey:w}})=>{for(const C of Object.values(v))for(const S of Object.values(C)){const E=S.indexOf(w);E!==-1&&S.splice(E,1)}}).addMatcher(s,(v,w)=>{var S,E;const{provided:C}=o(w);for(const[k,R]of Object.entries(C))for(const[A,O]of Object.entries(R)){const $=(S=v[k]??(v[k]={}))[E=A||"__internal_without_id"]??(S[E]=[]);for(const P of O)$.includes(P)||$.push(P)}}).addMatcher(Ce(Ee(t),or(t)),(v,w)=>{const C=jo(w,"providesTags",n,c),{queryCacheKey:S}=w.meta.arg;_.caseReducers.updateProvidedBy(v,_.actions.updateProvidedBy({queryCacheKey:S,providedTags:C}))})}}),u=Ie({name:`${e}/subscriptions`,initialState:St,reducers:{updateSubscriptionOptions(d,v){},unsubscribeQueryResult(d,v){},internal_getRTKQSubscriptions(){}}}),g=Ie({name:`${e}/internalSubscriptions`,initialState:St,reducers:{subscriptionsUpdated:{reducer(d,v){return lo(d,v.payload)},prepare:mt()}}}),b=Ie({name:`${e}/config`,initialState:{online:Tu(),focused:Iu(),middlewareRegistered:!1,...l},reducers:{middlewareRegistered(d,{payload:v}){d.middlewareRegistered=d.middlewareRegistered==="conflict"||i!==v?"conflict":!0}},extraReducers:d=>{d.addCase(on,v=>{v.online=!0}).addCase(To,v=>{v.online=!1}).addCase(nn,v=>{v.focused=!0}).addCase(Mo,v=>{v.focused=!1}).addMatcher(s,v=>({...v}))}}),m=Ji({queries:p.reducer,mutations:a.reducer,provided:_.reducer,subscriptions:g.reducer,config:b.reducer}),h=(d,v)=>m(f.match(v)?void 0:d,v),y={...b.actions,...p.actions,...u.actions,...g.actions,...a.actions,..._.actions,resetApiState:f};return{reducer:h,actions:y}}var Ne=Symbol.for("RTKQ/skipToken"),Fo={status:"uninitialized"},qo=ht(Fo,()=>{}),Lo=ht(Fo,()=>{});function Uu({serializeQueryArgs:e,reducerPath:t}){const r=p=>qo,n=p=>Lo;return{buildQuerySelector:s,buildMutationSelector:c,selectInvalidatedBy:l,selectCachedArgsForQuery:f};function i(p){return{...p,...Ou(p.status)}}function o(p){return p[t]}function s(p,a){return _=>{const u=e({queryArgs:_,endpointDefinition:a,endpointName:p});return Ve(_===Ne?r:m=>{var h,y;return((y=(h=o(m))==null?void 0:h.queries)==null?void 0:y[u])??qo},i)}}function c(){return p=>{let a;return typeof p=="object"?a=wt(p)??Ne:a=p,Ve(a===Ne?n:g=>{var b,m;return((m=(b=o(g))==null?void 0:b.mutations)==null?void 0:m[a])??Lo},i)}}function l(p,a){const _=p[t],u=new Set;for(const g of a.map(cn)){const b=_.provided[g.type];if(!b)continue;let m=(g.id!==void 0?b[g.id]:Ro(Object.values(b)))??[];for(const h of m)u.add(h)}return Ro(Array.from(u.values()).map(g=>{const b=_.queries[g];return b?[{queryCacheKey:g,endpointName:b.endpointName,originalArgs:b.originalArgs}]:[]}))}function f(p,a){return Object.values(p[t].queries).filter(_=>(_==null?void 0:_.endpointName)===a&&_.status!=="uninitialized").map(_=>_.originalArgs)}}var Ye=WeakMap?new WeakMap:void 0,Qo=({endpointName:e,queryArgs:t})=>{let r="";const n=Ye==null?void 0:Ye.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,s)=>he(s)?Object.keys(s).sort().reduce((c,l)=>(c[l]=s[l],c),{}):s);he(t)&&(Ye==null||Ye.set(t,i)),r=i}return`${e}(${r})`};function Wu(...e){return function(r){const n=yt(f=>{var p;return(p=r.extractRehydrationInfo)==null?void 0:p.call(r,f,{reducerPath:r.reducerPath??"api"})}),i={reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1,invalidationBehavior:"delayed",...r,extractRehydrationInfo:n,serializeQueryArgs(f){let p=Qo;if("serializeQueryArgs"in f.endpointDefinition){const a=f.endpointDefinition.serializeQueryArgs;p=_=>{const u=a(_);return typeof u=="string"?u:Qo({..._,queryArgs:u})}}else r.serializeQueryArgs&&(p=r.serializeQueryArgs);return p(f)},tagTypes:[...r.tagTypes||[]]},o={endpointDefinitions:{},batch(f){f()},apiUid:wo(),extractRehydrationInfo:n,hasRehydrationInfo:yt(f=>n(f)!=null)},s={injectEndpoints:l,enhanceEndpoints({addTagTypes:f,endpoints:p}){if(f)for(const a of f)i.tagTypes.includes(a)||i.tagTypes.push(a);if(p)for(const[a,_]of Object.entries(p))typeof _=="function"?_(o.endpointDefinitions[a]):Object.assign(o.endpointDefinitions[a]||{},_);return s}},c=e.map(f=>f.init(s,i,o));function l(f){const p=f.endpoints({query:a=>({...a,type:"query"}),mutation:a=>({...a,type:"mutation"})});for(const[a,_]of Object.entries(p)){if(!f.overrideExisting&&a in o.endpointDefinitions){typeof process<"u";continue}o.endpointDefinitions[a]=_;for(const u of c)u.injectEndpoint(a,_)}return s}return s.injectEndpoints({endpoints:r.endpoints})}}function Hu(e){for(let t in e)return!1;return!0}var Vu=2147483647/1e3-1,Bu=({reducerPath:e,api:t,context:r,internalState:n})=>{const{removeQueryResult:i,unsubscribeQueryResult:o}=t.internalActions;function s(p){const a=n.currentSubscriptions[p];return!!a&&!Hu(a)}const c={},l=(p,a,_)=>{var u;if(o.match(p)){const g=a.getState()[e],{queryCacheKey:b}=p.payload;f(b,(u=g.queries[b])==null?void 0:u.endpointName,a,g.config)}if(t.util.resetApiState.match(p))for(const[g,b]of Object.entries(c))b&&clearTimeout(b),delete c[g];if(r.hasRehydrationInfo(p)){const g=a.getState()[e],{queries:b}=r.extractRehydrationInfo(p);for(const[m,h]of Object.entries(b))f(m,h==null?void 0:h.endpointName,a,g.config)}};function f(p,a,_,u){const g=r.endpointDefinitions[a],b=(g==null?void 0:g.keepUnusedDataFor)??u.keepUnusedDataFor;if(b===1/0)return;const m=Math.max(0,Math.min(b,Vu));if(!s(p)){const h=c[p];h&&clearTimeout(h),c[p]=setTimeout(()=>{s(p)||_.dispatch(i({queryCacheKey:p})),delete c[p]},m*1e3)}}return l},Ku=({reducerPath:e,context:t,context:{endpointDefinitions:r},mutationThunk:n,queryThunk:i,api:o,assertTagType:s,refetchQuery:c,internalState:l})=>{const{removeQueryResult:f}=o.internalActions,p=Ce(Ee(n),or(n)),a=Ce(Ee(n,i),Ke(n,i));let _=[];const u=(m,h)=>{p(m)?b(jo(m,"invalidatesTags",r,s),h):a(m)?b([],h):o.util.invalidateTags.match(m)&&b(sn(m.payload,void 0,void 0,void 0,void 0,s),h)};function g(m){var h,y;for(const d in m.queries)if(((h=m.queries[d])==null?void 0:h.status)==="pending")return!0;for(const d in m.mutations)if(((y=m.mutations[d])==null?void 0:y.status)==="pending")return!0;return!1}function b(m,h){const y=h.getState(),d=y[e];if(_.push(...m),d.config.invalidationBehavior==="delayed"&&g(d))return;const v=_;if(_=[],v.length===0)return;const w=o.util.selectInvalidatedBy(y,v);t.batch(()=>{const C=Array.from(w.values());for(const{queryCacheKey:S}of C){const E=d.queries[S],k=l.currentSubscriptions[S]??{};E&&(Ge(k)===0?h.dispatch(f({queryCacheKey:S})):E.status!=="uninitialized"&&h.dispatch(c(E,S)))}})}return u},Gu=({reducerPath:e,queryThunk:t,api:r,refetchQuery:n,internalState:i})=>{const o={},s=(_,u)=>{(r.internalActions.updateSubscriptionOptions.match(_)||r.internalActions.unsubscribeQueryResult.match(_))&&l(_.payload,u),(t.pending.match(_)||t.rejected.match(_)&&_.meta.condition)&&l(_.meta.arg,u),(t.fulfilled.match(_)||t.rejected.match(_)&&!_.meta.condition)&&c(_.meta.arg,u),r.util.resetApiState.match(_)&&p()};function c({queryCacheKey:_},u){const b=u.getState()[e].queries[_],m=i.currentSubscriptions[_];if(!b||b.status==="uninitialized")return;const h=a(m);if(!Number.isFinite(h))return;const y=o[_];y!=null&&y.timeout&&(clearTimeout(y.timeout),y.timeout=void 0);const d=Date.now()+h,v=o[_]={nextPollTimestamp:d,pollingInterval:h,timeout:setTimeout(()=>{v.timeout=void 0,u.dispatch(n(b,_))},h)}}function l({queryCacheKey:_},u){const b=u.getState()[e].queries[_],m=i.currentSubscriptions[_];if(!b||b.status==="uninitialized")return;const h=a(m);if(!Number.isFinite(h)){f(_);return}const y=o[_],d=Date.now()+h;(!y||d<y.nextPollTimestamp)&&c({queryCacheKey:_},u)}function f(_){const u=o[_];u!=null&&u.timeout&&clearTimeout(u.timeout),delete o[_]}function p(){for(const _ of Object.keys(o))f(_)}function a(_={}){let u=Number.POSITIVE_INFINITY;for(let g in _)_[g].pollingInterval&&(u=Math.min(_[g].pollingInterval,u));return u}return s},Yu=({reducerPath:e,context:t,api:r,refetchQuery:n,internalState:i})=>{const{removeQueryResult:o}=r.internalActions,s=(l,f)=>{nn.match(l)&&c(f,"refetchOnFocus"),on.match(l)&&c(f,"refetchOnReconnect")};function c(l,f){const p=l.getState()[e],a=p.queries,_=i.currentSubscriptions;t.batch(()=>{for(const u of Object.keys(_)){const g=a[u],b=_[u];if(!b||!g)continue;(Object.values(b).some(h=>h[f]===!0)||Object.values(b).every(h=>h[f]===void 0)&&p.config[f])&&(Ge(b)===0?l.dispatch(o({queryCacheKey:u})):g.status!=="uninitialized"&&l.dispatch(n(g,u)))}})}return s},Uo=new Error("Promise never resolved before cacheEntryRemoved."),Ju=({api:e,reducerPath:t,context:r,queryThunk:n,mutationThunk:i,internalState:o})=>{const s=en(n),c=en(i),l=Ee(n,i),f={},p=(u,g,b)=>{const m=a(u);if(n.pending.match(u)){const h=b[t].queries[m],y=g.getState()[t].queries[m];!h&&y&&_(u.meta.arg.endpointName,u.meta.arg.originalArgs,m,g,u.meta.requestId)}else if(i.pending.match(u))g.getState()[t].mutations[m]&&_(u.meta.arg.endpointName,u.meta.arg.originalArgs,m,g,u.meta.requestId);else if(l(u)){const h=f[m];h!=null&&h.valueResolved&&(h.valueResolved({data:u.payload,meta:u.meta.baseQueryMeta}),delete h.valueResolved)}else if(e.internalActions.removeQueryResult.match(u)||e.internalActions.removeMutationResult.match(u)){const h=f[m];h&&(delete f[m],h.cacheEntryRemoved())}else if(e.util.resetApiState.match(u))for(const[h,y]of Object.entries(f))delete f[h],y.cacheEntryRemoved()};function a(u){return s(u)?u.meta.arg.queryCacheKey:c(u)?u.meta.requestId:e.internalActions.removeQueryResult.match(u)?u.payload.queryCacheKey:e.internalActions.removeMutationResult.match(u)?wt(u.payload):""}function _(u,g,b,m,h){const y=r.endpointDefinitions[u],d=y==null?void 0:y.onCacheEntryAdded;if(!d)return;let v={};const w=new Promise(A=>{v.cacheEntryRemoved=A}),C=Promise.race([new Promise(A=>{v.valueResolved=A}),w.then(()=>{throw Uo})]);C.catch(()=>{}),f[b]=v;const S=e.endpoints[u].select(y.type==="query"?g:b),E=m.dispatch((A,O,$)=>$),k={...m,getCacheEntry:()=>S(m.getState()),requestId:h,extra:E,updateCachedData:y.type==="query"?A=>m.dispatch(e.util.updateQueryData(u,g,A)):void 0,cacheDataLoaded:C,cacheEntryRemoved:w},R=d(g,k);Promise.resolve(R).catch(A=>{if(A!==Uo)throw A})}return p},Xu=({api:e,context:t,queryThunk:r,mutationThunk:n})=>{const i=Zr(r,n),o=Ke(r,n),s=Ee(r,n),c={};return(f,p)=>{var a,_;if(i(f)){const{requestId:u,arg:{endpointName:g,originalArgs:b}}=f.meta,m=t.endpointDefinitions[g],h=m==null?void 0:m.onQueryStarted;if(h){const y={},d=new Promise((S,E)=>{y.resolve=S,y.reject=E});d.catch(()=>{}),c[u]=y;const v=e.endpoints[g].select(m.type==="query"?b:u),w=p.dispatch((S,E,k)=>k),C={...p,getCacheEntry:()=>v(p.getState()),requestId:u,extra:w,updateCachedData:m.type==="query"?S=>p.dispatch(e.util.updateQueryData(g,b,S)):void 0,queryFulfilled:d};h(b,C)}}else if(s(f)){const{requestId:u,baseQueryMeta:g}=f.meta;(a=c[u])==null||a.resolve({data:f.payload,meta:g}),delete c[u]}else if(o(f)){const{requestId:u,rejectedWithValue:g,baseQueryMeta:b}=f.meta;(_=c[u])==null||_.reject({error:f.payload??f.error,isUnhandledError:!g,meta:b}),delete c[u]}}},Zu=({api:e,context:{apiUid:t},reducerPath:r})=>(n,i)=>{e.util.resetApiState.match(n)&&i.dispatch(e.internalActions.middlewareRegistered(t)),typeof process<"u"},ea=({api:e,queryThunk:t,internalState:r})=>{const n=`${e.reducerPath}/subscriptions`;let i=null,o=null;const{updateSubscriptionOptions:s,unsubscribeQueryResult:c}=e.internalActions,l=(u,g)=>{var m,h,y;if(s.match(g)){const{queryCacheKey:d,requestId:v,options:w}=g.payload;return(m=u==null?void 0:u[d])!=null&&m[v]&&(u[d][v]=w),!0}if(c.match(g)){const{queryCacheKey:d,requestId:v}=g.payload;return u[d]&&delete u[d][v],!0}if(e.internalActions.removeQueryResult.match(g))return delete u[g.payload.queryCacheKey],!0;if(t.pending.match(g)){const{meta:{arg:d,requestId:v}}=g,w=u[h=d.queryCacheKey]??(u[h]={});return w[`${v}_running`]={},d.subscribe&&(w[v]=d.subscriptionOptions??w[v]??{}),!0}let b=!1;if(t.fulfilled.match(g)||t.rejected.match(g)){const d=u[g.meta.arg.queryCacheKey]||{},v=`${g.meta.requestId}_running`;b||(b=!!d[v]),delete d[v]}if(t.rejected.match(g)){const{meta:{condition:d,arg:v,requestId:w}}=g;if(d&&v.subscribe){const C=u[y=v.queryCacheKey]??(u[y]={});C[w]=v.subscriptionOptions??C[w]??{},b=!0}}return b},f=()=>r.currentSubscriptions,_={getSubscriptions:f,getSubscriptionCount:u=>{const b=f()[u]??{};return Ge(b)},isRequestSubscribed:(u,g)=>{var m;const b=f();return!!((m=b==null?void 0:b[u])!=null&&m[g])}};return(u,g)=>{if(i||(i=JSON.parse(JSON.stringify(r.currentSubscriptions))),e.util.resetApiState.match(u))return i=r.currentSubscriptions={},o=null,[!0,!1];if(e.internalActions.internal_getRTKQSubscriptions.match(u))return[!1,_];const b=l(r.currentSubscriptions,u);let m=!0;if(b){o||(o=setTimeout(()=>{const d=JSON.parse(JSON.stringify(r.currentSubscriptions)),[,v]=ao(i,()=>d);g.next(e.internalActions.subscriptionsUpdated(v)),i=d,o=null},500));const h=typeof u.type=="string"&&!!u.type.startsWith(n),y=t.rejected.match(u)&&u.meta.condition&&!!u.meta.arg.subscribe;m=!h&&!y}return[m,!1]}};function ta(e){const{reducerPath:t,queryThunk:r,api:n,context:i}=e,{apiUid:o}=i,s={invalidateTags:X(`${t}/invalidateTags`)},c=a=>a.type.startsWith(`${t}/`),l=[Zu,Bu,Ku,Gu,Ju,Xu];return{middleware:a=>{let _=!1;const g={...e,internalState:{currentSubscriptions:{}},refetchQuery:p,isThisApiSliceAction:c},b=l.map(y=>y(g)),m=ea(g),h=Yu(g);return y=>d=>{if(!Xi(d))return y(d);_||(_=!0,a.dispatch(n.internalActions.middlewareRegistered(o)));const v={...a,next:y},w=a.getState(),[C,S]=m(d,v,w);let E;if(C?E=y(d):E=S,a.getState()[t]&&(h(d,v,w),c(d)||i.hasRehydrationInfo(d)))for(let k of b)k(d,v,w);return E}},actions:s};function p(a,_,u={}){return r({type:"query",endpointName:a.endpointName,originalArgs:a.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:_,...u})}}function ke(e,...t){return Object.assign(e,...t)}var Wo=Symbol(),ra=()=>({name:Wo,init(e,{baseQuery:t,tagTypes:r,reducerPath:n,serializeQueryArgs:i,keepUnusedDataFor:o,refetchOnMountOrArgChange:s,refetchOnFocus:c,refetchOnReconnect:l,invalidationBehavior:f},p){Wc();const a=j=>(typeof process<"u",j);Object.assign(e,{reducerPath:n,endpoints:{},internalActions:{onOnline:on,onOffline:To,onFocus:nn,onFocusLost:Mo},util:{}});const{queryThunk:_,mutationThunk:u,patchQueryData:g,updateQueryData:b,upsertQueryData:m,prefetch:h,buildMatchThunkActions:y}=Lu({baseQuery:t,reducerPath:n,context:p,api:e,serializeQueryArgs:i,assertTagType:a}),{reducer:d,actions:v}=Qu({context:p,queryThunk:_,mutationThunk:u,reducerPath:n,assertTagType:a,config:{refetchOnFocus:c,refetchOnReconnect:l,refetchOnMountOrArgChange:s,keepUnusedDataFor:o,reducerPath:n,invalidationBehavior:f}});ke(e.util,{patchQueryData:g,updateQueryData:b,upsertQueryData:m,prefetch:h,resetApiState:v.resetApiState}),ke(e.internalActions,v);const{middleware:w,actions:C}=ta({reducerPath:n,context:p,queryThunk:_,mutationThunk:u,api:e,assertTagType:a});ke(e.util,C),ke(e,{reducer:d,middleware:w});const{buildQuerySelector:S,buildMutationSelector:E,selectInvalidatedBy:k,selectCachedArgsForQuery:R}=Uu({serializeQueryArgs:i,reducerPath:n});ke(e.util,{selectInvalidatedBy:k,selectCachedArgsForQuery:R});const{buildInitiateQuery:A,buildInitiateMutation:O,getRunningMutationThunk:$,getRunningMutationsThunk:P,getRunningQueriesThunk:F,getRunningQueryThunk:B}=qu({queryThunk:_,mutationThunk:u,api:e,serializeQueryArgs:i,context:p});return ke(e.util,{getRunningMutationThunk:$,getRunningMutationsThunk:P,getRunningQueryThunk:B,getRunningQueriesThunk:F}),{name:Wo,injectEndpoint(j,I){var U;const Z=e;(U=Z.endpoints)[j]??(U[j]={}),Io(I)?ke(Z.endpoints[j],{name:j,select:S(j,I),initiate:A(j,I)},y(_,j)):zu(I)&&ke(Z.endpoints[j],{name:j,select:E(),initiate:O(j)},y(u,j))}}}}),Ho={exports:{}},Vo={};const na=cc(nt);/**
9
- * @license React
10
- * use-sync-external-store-with-selector.production.min.js
11
- *
12
- * Copyright (c) Facebook, Inc. and its affiliates.
13
- *
14
- * This source code is licensed under the MIT license found in the
15
- * LICENSE file in the root directory of this source tree.
16
- */var Ct=na;function ia(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var oa=typeof Object.is=="function"?Object.is:ia,sa=Ct.useSyncExternalStore,ca=Ct.useRef,ua=Ct.useEffect,aa=Ct.useMemo,la=Ct.useDebugValue;Vo.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=ca(null);if(o.current===null){var s={hasValue:!1,value:null};o.current=s}else s=o.current;o=aa(function(){function l(u){if(!f){if(f=!0,p=u,u=n(u),i!==void 0&&s.hasValue){var g=s.value;if(i(g,u))return a=g}return a=u}if(g=a,oa(p,u))return g;var b=n(u);return i!==void 0&&i(g,b)?g:(p=u,a=b)}var f=!1,p,a,_=r===void 0?null:r;return[function(){return l(t())},_===null?void 0:function(){return l(_())}]},[t,r,n,i]);var c=sa(e,o[0],o[1]);return ua(function(){s.hasValue=!0,s.value=c},[c]),la(c),c},Ho.exports=Vo;var fa=Ho.exports,ie="default"in nt?bi:nt,Bo=Symbol.for("react-redux-context"),Ko=typeof globalThis<"u"?globalThis:{};function da(){if(!ie.createContext)return{};const e=Ko[Bo]??(Ko[Bo]=new Map);let t=e.get(ie.createContext);return t||(t=ie.createContext(null),e.set(ie.createContext,t)),t}var Re=da(),pa=()=>{throw new Error("uSES not initialized!")};function an(e=Re){return function(){return ie.useContext(e)}}var Go=an(),Yo=pa,_a=e=>{Yo=e},ha=(e,t)=>e===t;function ya(e=Re){const t=e===Re?Go:an(e);return function(n,i={}){const{equalityFn:o=ha,devModeChecks:s={}}=typeof i=="function"?{equalityFn:i}:i,{store:c,subscription:l,getServerState:f,stabilityCheck:p,identityFunctionCheck:a}=t();ie.useRef(!0);const _=ie.useCallback({[n.name](g){return n(g)}}[n.name],[n,p,s.stabilityCheck]),u=Yo(l.addNestedSub,c.getState,f||c.getState,_,o);return ie.useDebugValue(u),u}}var ma=ya();function Jo(e){e()}function va(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Jo(()=>{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 Xo={notify(){},get:()=>[]};function ga(e,t){let r,n=Xo,i=0,o=!1;function s(b){p();const m=n.subscribe(b);let h=!1;return()=>{h||(h=!0,m(),a())}}function c(){n.notify()}function l(){g.onStateChange&&g.onStateChange()}function f(){return o}function p(){i++,r||(r=t?t.addNestedSub(l):e.subscribe(l),n=va())}function a(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=Xo)}function _(){o||(o=!0,p())}function u(){o&&(o=!1,a())}const g={addNestedSub:s,notifyNestedSubs:c,handleChangeWrapper:l,isSubscribed:f,trySubscribe:_,tryUnsubscribe:u,getListeners:()=>n};return g}var ba=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",wa=ba?ie.useLayoutEffect:ie.useEffect;function Zo(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function ur(e,t){if(Zo(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])||!Zo(e[r[i]],t[r[i]]))return!1;return!0}function Sa({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const s=ie.useMemo(()=>{const f=ga(e);return{store:e,subscription:f,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,n,i,o]),c=ie.useMemo(()=>e.getState(),[e]);wa(()=>{const{subscription:f}=s;return f.onStateChange=f.notifyNestedSubs,f.trySubscribe(),c!==e.getState()&&f.notifyNestedSubs(),()=>{f.tryUnsubscribe(),f.onStateChange=void 0}},[s,c]);const l=t||Re;return ie.createElement(l.Provider,{value:s},r)}var Ca=Sa;function es(e=Re){const t=e===Re?Go:an(e);return function(){const{store:n}=t();return n}}var ts=es();function Ea(e=Re){const t=e===Re?ts:es(e);return function(){return t().dispatch}}var ka=Ea(),Ra=Jo;_a(fa.useSyncExternalStoreWithSelector);function rs(e,t,r,n){const i=K(()=>({queryArgs:e,serialized:typeof e=="object"?t({queryArgs:e,endpointDefinition:r,endpointName:n}):e}),[e,t,r,n]),o=se(i);return ee(()=>{o.current.serialized!==i.serialized&&(o.current=i)},[i]),o.current.serialized===i.serialized?o.current.queryArgs:e}var ln=Symbol();function fn(e){const t=se(e);return ee(()=>{ur(t.current,e)||(t.current=e)},[e]),ur(t.current,e)?t.current:e}var Je=WeakMap?new WeakMap:void 0,xa=({endpointName:e,queryArgs:t})=>{let r="";const n=Je==null?void 0:Je.get(t);if(typeof n=="string")r=n;else{const i=JSON.stringify(t,(o,s)=>he(s)?Object.keys(s).sort().reduce((c,l)=>(c[l]=s[l],c),{}):s);he(t)&&(Je==null||Je.set(t,i)),r=i}return`${e}(${r})`},Oa=typeof window<"u"&&window.document&&window.document.createElement?Ae:ee,Aa=e=>e.isUninitialized?{...e,isUninitialized:!1,isFetching:!0,isLoading:e.data===void 0,status:ko.pending}:e;function $a({api:e,moduleOptions:{batch:t,hooks:{useDispatch:r,useSelector:n,useStore:i},unstable__sideEffectsInRender:o},serializeQueryArgs:s,context:c}){const l=o?u=>u():ee;return{buildQueryHooks:a,buildMutationHook:_,usePrefetch:p};function f(u,g,b){if(g!=null&&g.endpointName&&u.isUninitialized){const{endpointName:w}=g,C=c.endpointDefinitions[w];s({queryArgs:g.originalArgs,endpointDefinition:C,endpointName:w})===s({queryArgs:b,endpointDefinition:C,endpointName:w})&&(g=void 0)}let m=u.isSuccess?u.data:g==null?void 0:g.data;m===void 0&&(m=u.data);const h=m!==void 0,y=u.isLoading,d=!h&&y,v=u.isSuccess||y&&h;return{...u,data:m,currentData:u.data,isFetching:y,isLoading:d,isSuccess:v}}function p(u,g){const b=r(),m=fn(g);return qe((h,y)=>b(e.util.prefetch(u,h,{...m,...y})),[u,b,m])}function a(u){const g=(h,{refetchOnReconnect:y,refetchOnFocus:d,refetchOnMountOrArgChange:v,skip:w=!1,pollingInterval:C=0}={})=>{const{initiate:S}=e.endpoints[u],E=r(),k=se();if(!k.current){const I=E(e.internalActions.internal_getRTKQSubscriptions());k.current=I}const R=rs(w?Ne:h,xa,c.endpointDefinitions[u],u),A=fn({refetchOnReconnect:y,refetchOnFocus:d,pollingInterval:C}),O=se(!1),$=se();let{queryCacheKey:P,requestId:F}=$.current||{},B=!1;P&&F&&(B=k.current.isRequestSubscribed(P,F));const j=!B&&O.current;return l(()=>{O.current=B}),l(()=>{j&&($.current=void 0)},[j]),l(()=>{var U;const I=$.current;if(typeof process<"u",R===Ne){I==null||I.unsubscribe(),$.current=void 0;return}const Z=(U=$.current)==null?void 0:U.subscriptionOptions;if(!I||I.arg!==R){I==null||I.unsubscribe();const ye=E(S(R,{subscriptionOptions:A,forceRefetch:v}));$.current=ye}else A!==Z&&I.updateSubscriptionOptions(A)},[E,S,v,R,A,j]),ee(()=>()=>{var I;(I=$.current)==null||I.unsubscribe(),$.current=void 0},[]),K(()=>({refetch:()=>{var I;if(!$.current)throw new Error(ce(38));return(I=$.current)==null?void 0:I.refetch()}}),[])},b=({refetchOnReconnect:h,refetchOnFocus:y,pollingInterval:d=0}={})=>{const{initiate:v}=e.endpoints[u],w=r(),[C,S]=Se(ln),E=se(),k=fn({refetchOnReconnect:h,refetchOnFocus:y,pollingInterval:d});l(()=>{var $,P;const O=($=E.current)==null?void 0:$.subscriptionOptions;k!==O&&((P=E.current)==null||P.updateSubscriptionOptions(k))},[k]);const R=se(k);l(()=>{R.current=k},[k]);const A=qe(function(O,$=!1){let P;return t(()=>{var F;(F=E.current)==null||F.unsubscribe(),E.current=P=w(v(O,{subscriptionOptions:R.current,forceRefetch:!$})),S(O)}),P},[w,v]);return ee(()=>()=>{var O;(O=E==null?void 0:E.current)==null||O.unsubscribe()},[]),ee(()=>{C!==ln&&!E.current&&A(C,!0)},[C,A]),K(()=>[A,C],[A,C])},m=(h,{skip:y=!1,selectFromResult:d}={})=>{const{select:v}=e.endpoints[u],w=rs(y?Ne:h,s,c.endpointDefinitions[u],u),C=se(),S=K(()=>Ve([v(w),(O,$)=>$,O=>w],f),[v,w]),E=K(()=>d?Ve([S],d,{devModeChecks:{identityFunctionCheck:"never"}}):S,[S,d]),k=n(O=>E(O,C.current),ur),R=i(),A=S(R.getState(),C.current);return Oa(()=>{C.current=A},[A]),k};return{useQueryState:m,useQuerySubscription:g,useLazyQuerySubscription:b,useLazyQuery(h){const[y,d]=b(h),v=m(d,{...h,skip:d===ln}),w=K(()=>({lastArg:d}),[d]);return K(()=>[y,v,w],[y,v,w])},useQuery(h,y){const d=g(h,y),v=m(h,{selectFromResult:h===Ne||y!=null&&y.skip?void 0:Aa,...y}),{data:w,status:C,isLoading:S,isSuccess:E,isError:k,error:R}=v;return $t({data:w,status:C,isLoading:S,isSuccess:E,isError:k,error:R}),K(()=>({...v,...d}),[v,d])}}}function _(u){return({selectFromResult:g,fixedCacheKey:b}={})=>{const{select:m,initiate:h}=e.endpoints[u],y=r(),[d,v]=Se();ee(()=>()=>{d!=null&&d.arg.fixedCacheKey||d==null||d.reset()},[d]);const w=qe(function(U){const ye=y(h(U,{fixedCacheKey:b}));return v(ye),ye},[y,h,b]),{requestId:C}=d||{},S=K(()=>m({fixedCacheKey:b,requestId:d==null?void 0:d.requestId}),[b,d,m]),E=K(()=>g?Ve([S],g):S,[g,S]),k=n(E,ur),R=b==null?d==null?void 0:d.arg.originalArgs:void 0,A=qe(()=>{t(()=>{d&&v(void 0),b&&y(e.internalActions.removeMutationResult({requestId:C,fixedCacheKey:b}))})},[y,b,d,C]),{endpointName:O,data:$,status:P,isLoading:F,isSuccess:B,isError:j,error:I}=k;$t({endpointName:O,data:$,status:P,isLoading:F,isSuccess:B,isError:j,error:I});const Z=K(()=>({...k,originalArgs:R,reset:A}),[k,R,A]);return K(()=>[w,Z],[w,Z])}}}function Pa(e){return e.type==="query"}function Ma(e){return e.type==="mutation"}function dn(e){return e.replace(e[0],e[0].toUpperCase())}function ar(e,...t){return Object.assign(e,...t)}var Ta=Symbol(),Ia=({batch:e=Ra,hooks:t={useDispatch:ka,useSelector:ma,useStore:ts},unstable__sideEffectsInRender:r=!1,...n}={})=>({name:Ta,init(i,{serializeQueryArgs:o},s){const c=i,{buildQueryHooks:l,buildMutationHook:f,usePrefetch:p}=$a({api:i,moduleOptions:{batch:e,hooks:t,unstable__sideEffectsInRender:r},serializeQueryArgs:o,context:s});return ar(c,{usePrefetch:p}),ar(s,{batch:e}),{injectEndpoint(a,_){if(Pa(_)){const{useQuery:u,useLazyQuery:g,useLazyQuerySubscription:b,useQueryState:m,useQuerySubscription:h}=l(a);ar(c.endpoints[a],{useQuery:u,useLazyQuery:g,useLazyQuerySubscription:b,useQueryState:m,useQuerySubscription:h}),i[`use${dn(a)}Query`]=u,i[`useLazy${dn(a)}Query`]=g}else if(Ma(_)){const u=f(a);ar(c.endpoints[a],{useMutation:u}),i[`use${dn(a)}Mutation`]=u}}}}}),Na=Wu(ra(),Ia());const lr=Na({baseQuery:async(e,t,r)=>{const n=t.getState().session.backendUrl;return ju({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)},reducerPath:"backendApi",endpoints:e=>({hello:e.query({query:()=>({url:"super-campaign/backend/hello",method:"GET"})})})}),{useHelloQuery:Da}=lr;var ja=0;function fr(e,t,r,n,i,o){var s,c,l={};for(c in t)c=="ref"?s=t[c]:l[c]=t[c];var f={type:e,props:l,key:r,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--ja,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(s=e.defaultProps))for(c in s)l[c]===void 0&&(l[c]=s[c]);return x.vnode&&x.vnode(f),f}var za=oe;function De(e,t,r){return Jt.call(t,"css")?fr(Ki,Bi(e,t),r):fr(e,t,r)}function Fa(e,t,r){return Jt.call(t,"css")?fr(Ki,Bi(e,t),r):fr(e,t,r)}const qa=()=>{const{data:e,isLoading:t}=Da();return De("div",{css:{textDecorationLine:"underline"},children:De(za,{children:t?"Loading...":e})})},pn=Ie({name:"session",initialState:{},reducers:{setSession:(e,t)=>t.payload}}),{setSession:La}=pn.actions,ns=fu({reducer:{[pn.name]:pn.reducer,[lr.reducerPath]:lr.reducer},middleware:e=>e().concat(lr.middleware)}),Qa=()=>De(Oc,{styles:Ac`*, ::before, ::after {
17
- box-sizing: border-box;
18
- border-width: 0;
19
- border-style: solid;
20
- border-color: #e5e7eb;
21
- --tw-border-spacing-x: 0;
22
- --tw-border-spacing-y: 0;
23
- --tw-translate-x: 0;
24
- --tw-translate-y: 0;
25
- --tw-rotate: 0;
26
- --tw-skew-x: 0;
27
- --tw-skew-y: 0;
28
- --tw-scale-x: 1;
29
- --tw-scale-y: 1;
30
- --tw-pan-x: var(--tw-empty,/*!*/ /*!*/);
31
- --tw-pan-y: var(--tw-empty,/*!*/ /*!*/);
32
- --tw-pinch-zoom: var(--tw-empty,/*!*/ /*!*/);
33
- --tw-scroll-snap-strictness: proximity;
34
- --tw-gradient-from-position: var(--tw-empty,/*!*/ /*!*/);
35
- --tw-gradient-via-position: var(--tw-empty,/*!*/ /*!*/);
36
- --tw-gradient-to-position: var(--tw-empty,/*!*/ /*!*/);
37
- --tw-ordinal: var(--tw-empty,/*!*/ /*!*/);
38
- --tw-slashed-zero: var(--tw-empty,/*!*/ /*!*/);
39
- --tw-numeric-figure: var(--tw-empty,/*!*/ /*!*/);
40
- --tw-numeric-spacing: var(--tw-empty,/*!*/ /*!*/);
41
- --tw-numeric-fraction: var(--tw-empty,/*!*/ /*!*/);
42
- --tw-ring-offset-shadow: 0 0 #0000;
43
- --tw-ring-shadow: 0 0 #0000;
44
- --tw-shadow: 0 0 #0000;
45
- --tw-shadow-colored: 0 0 #0000;
46
- --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
47
- --tw-ring-offset-width: 0px;
48
- --tw-ring-offset-color: #fff;
49
- --tw-ring-color: rgb(59 130 246 / 0.5);
50
- --tw-blur: var(--tw-empty,/*!*/ /*!*/);
51
- --tw-brightness: var(--tw-empty,/*!*/ /*!*/);
52
- --tw-contrast: var(--tw-empty,/*!*/ /*!*/);
53
- --tw-grayscale: var(--tw-empty,/*!*/ /*!*/);
54
- --tw-hue-rotate: var(--tw-empty,/*!*/ /*!*/);
55
- --tw-invert: var(--tw-empty,/*!*/ /*!*/);
56
- --tw-saturate: var(--tw-empty,/*!*/ /*!*/);
57
- --tw-sepia: var(--tw-empty,/*!*/ /*!*/);
58
- --tw-drop-shadow: var(--tw-empty,/*!*/ /*!*/);
59
- --tw-backdrop-blur: var(--tw-empty,/*!*/ /*!*/);
60
- --tw-backdrop-brightness: var(--tw-empty,/*!*/ /*!*/);
61
- --tw-backdrop-contrast: var(--tw-empty,/*!*/ /*!*/);
62
- --tw-backdrop-grayscale: var(--tw-empty,/*!*/ /*!*/);
63
- --tw-backdrop-hue-rotate: var(--tw-empty,/*!*/ /*!*/);
64
- --tw-backdrop-invert: var(--tw-empty,/*!*/ /*!*/);
65
- --tw-backdrop-opacity: var(--tw-empty,/*!*/ /*!*/);
66
- --tw-backdrop-saturate: var(--tw-empty,/*!*/ /*!*/);
67
- --tw-backdrop-sepia: var(--tw-empty,/*!*/ /*!*/);
68
- }
69
- ::before, ::after {
70
- --tw-content: '';
71
- }
72
- html, :host {
73
- line-height: 1.5;
74
- -webkit-text-size-adjust: 100%;
75
- -moz-tab-size: 4;
76
- tab-size: 4;
77
- font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
78
- font-feature-settings: normal;
79
- font-variation-settings: normal;
80
- -webkit-tap-highlight-color: transparent;
81
- }
82
- body {
83
- margin: 0;
84
- line-height: inherit;
85
- }
86
- hr {
87
- height: 0;
88
- color: inherit;
89
- border-top-width: 1px;
90
- }
91
- abbr:where([title]) {
92
- text-decoration: underline dotted;
93
- }
94
- h1, h2, h3, h4, h5, h6 {
95
- font-size: inherit;
96
- font-weight: inherit;
97
- }
98
- a {
99
- color: inherit;
100
- text-decoration: inherit;
101
- }
102
- b, strong {
103
- font-weight: bolder;
104
- }
105
- code, kbd, samp, pre {
106
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
107
- font-feature-settings: normal;
108
- font-variation-settings: normal;
109
- font-size: 1em;
110
- }
111
- small {
112
- font-size: 80%;
113
- }
114
- sub, sup {
115
- font-size: 75%;
116
- line-height: 0;
117
- position: relative;
118
- vertical-align: baseline;
119
- }
120
- sub {
121
- bottom: -0.25em;
122
- }
123
- sup {
124
- top: -0.5em;
125
- }
126
- table {
127
- text-indent: 0;
128
- border-color: inherit;
129
- border-collapse: collapse;
130
- }
131
- button, input, optgroup, select, textarea {
132
- font-family: inherit;
133
- font-feature-settings: inherit;
134
- font-variation-settings: inherit;
135
- font-size: 100%;
136
- font-weight: inherit;
137
- line-height: inherit;
138
- color: inherit;
139
- margin: 0;
140
- padding: 0;
141
- }
142
- button, select {
143
- text-transform: none;
144
- }
145
- button, [type='button'], [type='reset'], [type='submit'] {
146
- -webkit-appearance: button;
147
- background-color: transparent;
148
- background-image: none;
149
- }
150
- :-moz-focusring {
151
- outline: auto;
152
- }
153
- :-moz-ui-invalid {
154
- box-shadow: none;
155
- }
156
- progress {
157
- vertical-align: baseline;
158
- }
159
- ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
160
- height: auto;
161
- }
162
- [type='search'] {
163
- -webkit-appearance: textfield;
164
- outline-offset: -2px;
165
- }
166
- ::-webkit-search-decoration {
167
- -webkit-appearance: none;
168
- }
169
- ::-webkit-file-upload-button {
170
- -webkit-appearance: button;
171
- font: inherit;
172
- }
173
- summary {
174
- display: list-item;
175
- }
176
- blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
177
- margin: 0;
178
- }
179
- fieldset {
180
- margin: 0;
181
- padding: 0;
182
- }
183
- legend {
184
- padding: 0;
185
- }
186
- ol, ul, menu {
187
- list-style: none;
188
- margin: 0;
189
- padding: 0;
190
- }
191
- dialog {
192
- padding: 0;
193
- }
194
- textarea {
195
- resize: vertical;
196
- }
197
- input::placeholder, textarea::placeholder {
198
- opacity: 1;
199
- color: #9ca3af;
200
- }
201
- button, [role="button"] {
202
- cursor: pointer;
203
- }
204
- :disabled {
205
- cursor: default;
206
- }
207
- img, svg, video, canvas, audio, iframe, embed, object {
208
- display: block;
209
- vertical-align: middle;
210
- }
211
- img, video {
212
- max-width: 100%;
213
- height: auto;
214
- }
215
- [hidden] {
216
- display: none;
217
- }
218
- ::backdrop {
219
- --tw-border-spacing-x: 0;
220
- --tw-border-spacing-y: 0;
221
- --tw-translate-x: 0;
222
- --tw-translate-y: 0;
223
- --tw-rotate: 0;
224
- --tw-skew-x: 0;
225
- --tw-skew-y: 0;
226
- --tw-scale-x: 1;
227
- --tw-scale-y: 1;
228
- --tw-pan-x: var(--tw-empty,/*!*/ /*!*/);
229
- --tw-pan-y: var(--tw-empty,/*!*/ /*!*/);
230
- --tw-pinch-zoom: var(--tw-empty,/*!*/ /*!*/);
231
- --tw-scroll-snap-strictness: proximity;
232
- --tw-gradient-from-position: var(--tw-empty,/*!*/ /*!*/);
233
- --tw-gradient-via-position: var(--tw-empty,/*!*/ /*!*/);
234
- --tw-gradient-to-position: var(--tw-empty,/*!*/ /*!*/);
235
- --tw-ordinal: var(--tw-empty,/*!*/ /*!*/);
236
- --tw-slashed-zero: var(--tw-empty,/*!*/ /*!*/);
237
- --tw-numeric-figure: var(--tw-empty,/*!*/ /*!*/);
238
- --tw-numeric-spacing: var(--tw-empty,/*!*/ /*!*/);
239
- --tw-numeric-fraction: var(--tw-empty,/*!*/ /*!*/);
240
- --tw-ring-offset-shadow: 0 0 #0000;
241
- --tw-ring-shadow: 0 0 #0000;
242
- --tw-shadow: 0 0 #0000;
243
- --tw-shadow-colored: 0 0 #0000;
244
- --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
245
- --tw-ring-offset-width: 0px;
246
- --tw-ring-offset-color: #fff;
247
- --tw-ring-color: rgb(59 130 246 / 0.5);
248
- --tw-blur: var(--tw-empty,/*!*/ /*!*/);
249
- --tw-brightness: var(--tw-empty,/*!*/ /*!*/);
250
- --tw-contrast: var(--tw-empty,/*!*/ /*!*/);
251
- --tw-grayscale: var(--tw-empty,/*!*/ /*!*/);
252
- --tw-hue-rotate: var(--tw-empty,/*!*/ /*!*/);
253
- --tw-invert: var(--tw-empty,/*!*/ /*!*/);
254
- --tw-saturate: var(--tw-empty,/*!*/ /*!*/);
255
- --tw-sepia: var(--tw-empty,/*!*/ /*!*/);
256
- --tw-drop-shadow: var(--tw-empty,/*!*/ /*!*/);
257
- --tw-backdrop-blur: var(--tw-empty,/*!*/ /*!*/);
258
- --tw-backdrop-brightness: var(--tw-empty,/*!*/ /*!*/);
259
- --tw-backdrop-contrast: var(--tw-empty,/*!*/ /*!*/);
260
- --tw-backdrop-grayscale: var(--tw-empty,/*!*/ /*!*/);
261
- --tw-backdrop-hue-rotate: var(--tw-empty,/*!*/ /*!*/);
262
- --tw-backdrop-invert: var(--tw-empty,/*!*/ /*!*/);
263
- --tw-backdrop-opacity: var(--tw-empty,/*!*/ /*!*/);
264
- --tw-backdrop-saturate: var(--tw-empty,/*!*/ /*!*/);
265
- --tw-backdrop-sepia: var(--tw-empty,/*!*/ /*!*/);
266
- }`});_s(e=>{const{"access-token":t,"backend-url":r}=e,[n,i]=Se(!1);ee(()=>{ns.dispatch(La({accessToken:t,backendUrl:r})),i(!0)},[t,r]);const o=se(null),[s,c]=Se(void 0);return ee(()=>{c(o.current??void 0)},[o]),De("div",{ref:o,children:De(kc,{value:Pi({key:"ascui",container:s,prepend:!0}),children:Fa(Ca,{store:ns,children:[De(Qa,{}),n?De(qa,{}):"Intializing store"]})})})},"apollo-super-campaign",[],{shadow:!0})})();
1
+ var kr=Object.defineProperty;var Or=(P,k,m)=>k in P?kr(P,k,{enumerable:!0,configurable:!0,writable:!0,value:m}):P[k]=m;var Vt=(P,k,m)=>(Or(P,typeof k!="symbol"?k+"":k,m),m);(function(){"use strict";var P=document.createElement("style");P.textContent=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.static{position:static}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}
2
+ `,document.head.appendChild(P);var k,m,$e,L,Me,ze,_e,$={},Ie=[],Wt=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,he=Array.isArray;function C(e,t){for(var n in t)e[n]=t[n];return e}function qe(e){var t=e.parentNode;t&&t.removeChild(e)}function U(e,t,n){var r,o,s,i={};for(s in t)s=="key"?r=t[s]:s=="ref"?o=t[s]:i[s]=t[s];if(arguments.length>2&&(i.children=arguments.length>3?k.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(s in e.defaultProps)i[s]===void 0&&(i[s]=e.defaultProps[s]);return M(e,i,r,o,null)}function M(e,t,n,r,o){var s={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++$e,__i:-1,__u:0};return o==null&&m.vnode!=null&&m.vnode(s),s}function z(e){return e.children}function G(e,t){this.props=e,this.context=t}function D(e,t){if(t==null)return e.__?D(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?D(e):null}function Je(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Je(e)}}function Ve(e){(!e.__d&&(e.__d=!0)&&L.push(e)&&!X.__r++||Me!==m.debounceRendering)&&((Me=m.debounceRendering)||ze)(X)}function X(){var e,t,n,r,o,s,i,c,f;for(L.sort(_e);e=L.shift();)e.__d&&(t=L.length,r=void 0,s=(o=(n=e).__v).__e,c=[],f=[],(i=n.__P)&&((r=C({},o)).__v=o.__v+1,m.vnode&&m.vnode(r),me(i,r,o,n.__n,i.ownerSVGElement!==void 0,32&o.__u?[s]:null,c,s??D(o),!!(32&o.__u),f),r.__.__k[r.__i]=r,Ze(c,r,f),r.__e!=s&&Je(r)),L.length>t&&L.sort(_e));X.__r=0}function We(e,t,n,r,o,s,i,c,f,u,d){var a,y,_,p,h,w=r&&r.__k||Ie,b=t.length;for(n.__d=f,Kt(n,t,w),f=n.__d,a=0;a<b;a++)(_=n.__k[a])!=null&&typeof _!="boolean"&&typeof _!="function"&&(y=_.__i===-1?$:w[_.__i]||$,_.__i=a,me(e,_,y,o,s,i,c,f,u,d),p=_.__e,_.ref&&y.ref!=_.ref&&(y.ref&&ye(y.ref,null,_),d.push(_.ref,_.__c||p,_)),h==null&&p!=null&&(h=p),65536&_.__u||y.__k===_.__k?f=Ke(_,f,e):typeof _.type=="function"&&_.__d!==void 0?f=_.__d:p&&(f=p.nextSibling),_.__d=void 0,_.__u&=-196609);n.__d=f,n.__e=h}function Kt(e,t,n){var r,o,s,i,c,f=t.length,u=n.length,d=u,a=0;for(e.__k=[],r=0;r<f;r++)(o=e.__k[r]=(o=t[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?M(null,o,null,null,o):he(o)?M(z,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?M(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,c=Gt(o,n,i=r+a,d),o.__i=c,s=null,c!==-1&&(d--,(s=n[c])&&(s.__u|=131072)),s==null||s.__v===null?(c==-1&&a--,typeof o.type!="function"&&(o.__u|=65536)):c!==i&&(c===i+1?a++:c>i?d>f-i?a+=c-i:a--:a=c<i&&c==i-1?c-i:0,c!==r+a&&(o.__u|=65536))):(s=n[r])&&s.key==null&&s.__e&&(s.__e==e.__d&&(e.__d=D(s)),be(s,s,!1),n[r]=null,d--);if(d)for(r=0;r<u;r++)(s=n[r])!=null&&!(131072&s.__u)&&(s.__e==e.__d&&(e.__d=D(s)),be(s,s))}function Ke(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=Ke(r[o],t,n));return t}return e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function Gt(e,t,n,r){var o=e.key,s=e.type,i=n-1,c=n+1,f=t[n];if(f===null||f&&o==f.key&&s===f.type)return n;if(r>(f!=null&&!(131072&f.__u)?1:0))for(;i>=0||c<t.length;){if(i>=0){if((f=t[i])&&!(131072&f.__u)&&o==f.key&&s===f.type)return i;i--}if(c<t.length){if((f=t[c])&&!(131072&f.__u)&&o==f.key&&s===f.type)return c;c++}}return-1}function Ge(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Wt.test(t)?n:n+"px"}function Q(e,t,n,r,o){var s;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Ge(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Ge(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")s=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+s]=n,n?r?n.u=r.u:(n.u=Date.now(),e.addEventListener(t,s?Qe:Xe,s)):e.removeEventListener(t,s?Qe:Xe,s);else{if(o)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]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function Xe(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(m.event?m.event(e):e)}function Qe(e){return this.l[e.type+!0](m.event?m.event(e):e)}function me(e,t,n,r,o,s,i,c,f,u){var d,a,y,_,p,h,w,b,E,x,j,K,Jt,de,je,R=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(f=!!(32&n.__u),s=[c=t.__e=n.__e]),(d=m.__b)&&d(t);e:if(typeof R=="function")try{if(b=t.props,E=(d=R.contextType)&&r[d.__c],x=d?E?E.props.value:d.__:r,n.__c?w=(a=t.__c=n.__c).__=a.__E:("prototype"in R&&R.prototype.render?t.__c=a=new R(b,x):(t.__c=a=new G(b,x),a.constructor=R,a.render=Qt),E&&E.sub(a),a.props=b,a.state||(a.state={}),a.context=x,a.__n=r,y=a.__d=!0,a.__h=[],a._sb=[]),a.__s==null&&(a.__s=a.state),R.getDerivedStateFromProps!=null&&(a.__s==a.state&&(a.__s=C({},a.__s)),C(a.__s,R.getDerivedStateFromProps(b,a.__s))),_=a.props,p=a.state,a.__v=t,y)R.getDerivedStateFromProps==null&&a.componentWillMount!=null&&a.componentWillMount(),a.componentDidMount!=null&&a.__h.push(a.componentDidMount);else{if(R.getDerivedStateFromProps==null&&b!==_&&a.componentWillReceiveProps!=null&&a.componentWillReceiveProps(b,x),!a.__e&&(a.shouldComponentUpdate!=null&&a.shouldComponentUpdate(b,a.__s,x)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(a.props=b,a.state=a.__s,a.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(pe){pe&&(pe.__=t)}),j=0;j<a._sb.length;j++)a.__h.push(a._sb[j]);a._sb=[],a.__h.length&&i.push(a);break e}a.componentWillUpdate!=null&&a.componentWillUpdate(b,a.__s,x),a.componentDidUpdate!=null&&a.__h.push(function(){a.componentDidUpdate(_,p,h)})}if(a.context=x,a.props=b,a.__P=e,a.__e=!1,K=m.__r,Jt=0,"prototype"in R&&R.prototype.render){for(a.state=a.__s,a.__d=!1,K&&K(t),d=a.render(a.props,a.state,a.context),de=0;de<a._sb.length;de++)a.__h.push(a._sb[de]);a._sb=[]}else do a.__d=!1,K&&K(t),d=a.render(a.props,a.state,a.context),a.state=a.__s;while(a.__d&&++Jt<25);a.state=a.__s,a.getChildContext!=null&&(r=C(C({},r),a.getChildContext())),y||a.getSnapshotBeforeUpdate==null||(h=a.getSnapshotBeforeUpdate(_,p)),We(e,he(je=d!=null&&d.type===z&&d.key==null?d.props.children:d)?je:[je],t,n,r,o,s,i,c,f,u),a.base=t.__e,t.__u&=-161,a.__h.length&&i.push(a),w&&(a.__E=a.__=null)}catch(pe){t.__v=null,f||s!=null?(t.__e=c,t.__u|=f?160:32,s[s.indexOf(c)]=null):(t.__e=n.__e,t.__k=n.__k),m.__e(pe,t,n)}else s==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Xt(n.__e,t,n,r,o,s,i,f,u);(d=m.diffed)&&d(t)}function Ze(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)ye(n[r],n[++r],n[++r]);m.__c&&m.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(s){s.call(o)})}catch(s){m.__e(s,o.__v)}})}function Xt(e,t,n,r,o,s,i,c,f){var u,d,a,y,_,p,h,w=n.props,b=t.props,E=t.type;if(E==="svg"&&(o=!0),s!=null){for(u=0;u<s.length;u++)if((_=s[u])&&"setAttribute"in _==!!E&&(E?_.localName===E:_.nodeType===3)){e=_,s[u]=null;break}}if(e==null){if(E===null)return document.createTextNode(b);e=o?document.createElementNS("http://www.w3.org/2000/svg",E):document.createElement(E,b.is&&b),s=null,c=!1}if(E===null)w===b||c&&e.data===b||(e.data=b);else{if(s=s&&k.call(e.childNodes),w=n.props||$,!c&&s!=null)for(w={},u=0;u<e.attributes.length;u++)w[(_=e.attributes[u]).name]=_.value;for(u in w)_=w[u],u=="children"||(u=="dangerouslySetInnerHTML"?a=_:u==="key"||u in b||Q(e,u,null,_,o));for(u in b)_=b[u],u=="children"?y=_:u=="dangerouslySetInnerHTML"?d=_:u=="value"?p=_:u=="checked"?h=_:u==="key"||c&&typeof _!="function"||w[u]===_||Q(e,u,_,w[u],o);if(d)c||a&&(d.__html===a.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(a&&(e.innerHTML=""),We(e,he(y)?y:[y],t,n,r,o&&E!=="foreignObject",s,i,s?s[0]:n.__k&&D(n,0),c,f),s!=null)for(u=s.length;u--;)s[u]!=null&&qe(s[u]);c||(u="value",p!==void 0&&(p!==e[u]||E==="progress"&&!p||E==="option"&&p!==w[u])&&Q(e,u,p,w[u],!1),u="checked",h!==void 0&&h!==e[u]&&Q(e,u,h,w[u],!1))}return e}function ye(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){m.__e(r,n)}}function be(e,t,n){var r,o;if(m.unmount&&m.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||ye(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(s){m.__e(s,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&be(r[o],t,n||typeof e.type!="function");n||e.__e==null||qe(e.__e),e.__=e.__e=e.__d=void 0}function Qt(e,t,n){return this.constructor(e,n)}function Z(e,t,n){var r,o,s,i;m.__&&m.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,s=[],i=[],me(t,e=(!r&&n||t).__k=U(z,null,[e]),o||$,$,t.ownerSVGElement!==void 0,!r&&n?[n]:o?null:t.firstChild?k.call(t.childNodes):null,s,!r&&n?n:o?o.__e:t.firstChild,r,i),Ze(s,e,i)}function Ye(e,t){Z(e,t,Ye)}function et(e,t,n){var r,o,s,i,c=C({},e.props);for(s in e.type&&e.type.defaultProps&&(i=e.type.defaultProps),t)s=="key"?r=t[s]:s=="ref"?o=t[s]:c[s]=t[s]===void 0&&i!==void 0?i[s]:t[s];return arguments.length>2&&(c.children=arguments.length>3?k.call(arguments,2):n),M(e.type,c,r||e.key,o||e.ref,null)}k=Ie.slice,m={__e:function(e,t,n,r){for(var o,s,i;t=t.__;)if((o=t.__c)&&!o.__)try{if((s=o.constructor)&&s.getDerivedStateFromError!=null&&(o.setState(s.getDerivedStateFromError(e)),i=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),i=o.__d),i)return o.__E=o}catch(c){e=c}throw e}},$e=0,G.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=C({},this.state),typeof e=="function"&&(e=e(C({},n),this.props)),e&&C(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Ve(this))},G.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Ve(this))},G.prototype.render=z,L=[],ze=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_e=function(e,t){return e.__v.__b-t.__v.__b},X.__r=0;function we(){return(we=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Zt=["context","children"];function Yt(e){this.getChildContext=function(){return e.context};var t=e.children,n=function(r,o){if(r==null)return{};var s,i,c={},f=Object.keys(r);for(i=0;i<f.length;i++)o.indexOf(s=f[i])>=0||(c[s]=r[s]);return c}(e,Zt);return et(t,n)}function en(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=U(Yt,we({},this._props,{context:e.detail.context}),function t(n,r){if(n.nodeType===3)return n.data;if(n.nodeType!==1)return null;var o=[],s={},i=0,c=n.attributes,f=n.childNodes;for(i=c.length;i--;)c[i].name!=="slot"&&(s[c[i].name]=c[i].value,s[tt(c[i].name)]=c[i].value);for(i=f.length;i--;){var u=t(f[i],null),d=f[i].slot;d?s[d]=U(nt,{name:d},u):o[i]=u}var a=r?U(nt,null,o):o;return U(r||n.nodeName.toLowerCase(),s,a)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Ye:Z)(this._vdom,this._root)}function tt(e){return e.replace(/-(\w)/g,function(t,n){return n?n.toUpperCase():""})}function tn(e,t,n){if(this._vdom){var r={};r[e]=n=n??void 0,r[tt(e)]=n,this._vdom=et(this._vdom,r),Z(this._vdom,this._root)}}function nn(){Z(this._vdom=null,this._root)}function nt(e,t){var n=this;return U("slot",we({},e,{ref:function(r){r?(n.ref=r,n._listener||(n._listener=function(o){o.stopPropagation(),o.detail.context=t},r.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}function rn(e,t,n,r){function o(){var s=Reflect.construct(HTMLElement,[],o);return s._vdomComponent=e,s._root=r&&r.shadow?s.attachShadow({mode:r.mode||"open"}):s,s}return(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=en,o.prototype.attributeChangedCallback=tn,o.prototype.disconnectedCallback=nn,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),o.observedAttributes=n,n.forEach(function(s){Object.defineProperty(o.prototype,s,{get:function(){return this._vdom.props[s]},set:function(i){this._vdom?this.attributeChangedCallback(s,null,i):(this._props||(this._props={}),this._props[s]=i,this.connectedCallback());var c=typeof i;i!=null&&c!=="string"&&c!=="boolean"&&c!=="number"||this.setAttribute(s,i)}})}),customElements.define(t||e.tagName||e.displayName||e.name,o)}var Y,v,ge,rt,Ee=0,ot=[],ee=[],st=m.__b,it=m.__r,at=m.diffed,ct=m.__c,lt=m.unmount;function ut(e,t){m.__h&&m.__h(v,e,Ee||t),Ee=0;var n=v.__H||(v.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:ee}),n.__[e]}function on(e){return Ee=1,sn(dt,e)}function sn(e,t,n){var r=ut(Y++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):dt(void 0,t),function(c){var f=r.__N?r.__N[0]:r.__[0],u=r.t(f,c);f!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=v,!v.u)){var o=function(c,f,u){if(!r.__c.__H)return!0;var d=r.__c.__H.__.filter(function(y){return y.__c});if(d.every(function(y){return!y.__N}))return!s||s.call(this,c,f,u);var a=!1;return d.forEach(function(y){if(y.__N){var _=y.__[0];y.__=y.__N,y.__N=void 0,_!==y.__[0]&&(a=!0)}}),!(!a&&r.__c.props===c)&&(!s||s.call(this,c,f,u))};v.u=!0;var s=v.shouldComponentUpdate,i=v.componentWillUpdate;v.componentWillUpdate=function(c,f,u){if(this.__e){var d=s;s=void 0,o(c,f,u),s=d}i&&i.call(this,c,f,u)},v.shouldComponentUpdate=o}return r.__N||r.__}function an(e,t){var n=ut(Y++,3);!m.__s&&un(n.__H,t)&&(n.__=e,n.i=t,v.__H.__h.push(n))}function cn(){for(var e;e=ot.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(te),e.__H.__h.forEach(ve),e.__H.__h=[]}catch(t){e.__H.__h=[],m.__e(t,e.__v)}}m.__b=function(e){v=null,st&&st(e)},m.__r=function(e){it&&it(e),Y=0;var t=(v=e.__c).__H;t&&(ge===v?(t.__h=[],v.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=ee,n.__N=n.i=void 0})):(t.__h.forEach(te),t.__h.forEach(ve),t.__h=[],Y=0)),ge=v},m.diffed=function(e){at&&at(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ot.push(t)!==1&&rt===m.requestAnimationFrame||((rt=m.requestAnimationFrame)||ln)(cn)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==ee&&(n.__=n.__V),n.i=void 0,n.__V=ee})),ge=v=null},m.__c=function(e,t){t.some(function(n){try{n.__h.forEach(te),n.__h=n.__h.filter(function(r){return!r.__||ve(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],m.__e(r,n.__v)}}),ct&&ct(e,t)},m.unmount=function(e){lt&&lt(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{te(r)}catch(o){t=o}}),n.__H=void 0,t&&m.__e(t,n.__v))};var ft=typeof requestAnimationFrame=="function";function ln(e){var t,n=function(){clearTimeout(r),ft&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ft&&(t=requestAnimationFrame(n))}function te(e){var t=v,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),v=t}function ve(e){var t=v;e.__c=e.__(),v=t}function un(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function dt(e,t){return typeof t=="function"?t(e):t}function pt(e,t){return function(){return e.apply(t,arguments)}}const{toString:fn}=Object.prototype,{getPrototypeOf:Se}=Object,ne=(e=>t=>{const n=fn.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),A=e=>(e=e.toLowerCase(),t=>ne(t)===e),re=e=>t=>typeof t===e,{isArray:H}=Array,I=re("undefined");function dn(e){return e!==null&&!I(e)&&e.constructor!==null&&!I(e.constructor)&&O(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const _t=A("ArrayBuffer");function pn(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&_t(e.buffer),t}const _n=re("string"),O=re("function"),ht=re("number"),oe=e=>e!==null&&typeof e=="object",hn=e=>e===!0||e===!1,se=e=>{if(ne(e)!=="object")return!1;const t=Se(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},mn=A("Date"),yn=A("File"),bn=A("Blob"),wn=A("FileList"),gn=e=>oe(e)&&O(e.pipe),En=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||O(e.append)&&((t=ne(e))==="formdata"||t==="object"&&O(e.toString)&&e.toString()==="[object FormData]"))},vn=A("URLSearchParams"),Sn=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function q(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),H(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let c;for(r=0;r<i;r++)c=s[r],t.call(null,e[c],c,e)}}function mt(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const yt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,bt=e=>!I(e)&&e!==yt;function xe(){const{caseless:e}=bt(this)&&this||{},t={},n=(r,o)=>{const s=e&&mt(t,o)||o;se(t[s])&&se(r)?t[s]=xe(t[s],r):se(r)?t[s]=xe({},r):H(r)?t[s]=r.slice():t[s]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&q(arguments[r],n);return t}const xn=(e,t,n,{allOwnKeys:r}={})=>(q(t,(o,s)=>{n&&O(o)?e[s]=pt(o,n):e[s]=o},{allOwnKeys:r}),e),kn=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),On=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Rn=(e,t,n,r)=>{let o,s,i;const c={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],(!r||r(i,e,t))&&!c[i]&&(t[i]=e[i],c[i]=!0);e=n!==!1&&Se(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},An=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Tn=e=>{if(!e)return null;if(H(e))return e;let t=e.length;if(!ht(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Cn=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Se(Uint8Array)),Nn=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},Pn=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Fn=A("HTMLFormElement"),Ln=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),wt=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Un=A("RegExp"),gt=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};q(n,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(r[s]=i||o)}),Object.defineProperties(e,r)},Dn=e=>{gt(e,(t,n)=>{if(O(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(O(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Hn=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return H(e)?r(e):r(String(e).split(t)),n},Bn=()=>{},jn=(e,t)=>(e=+e,Number.isFinite(e)?e:t),ke="abcdefghijklmnopqrstuvwxyz",Et="0123456789",vt={DIGIT:Et,ALPHA:ke,ALPHA_DIGIT:ke+ke.toUpperCase()+Et},$n=(e=16,t=vt.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Mn(e){return!!(e&&O(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const zn=e=>{const t=new Array(10),n=(r,o)=>{if(oe(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const s=H(r)?[]:{};return q(r,(i,c)=>{const f=n(i,o+1);!I(f)&&(s[c]=f)}),t[o]=void 0,s}}return r};return n(e,0)},In=A("AsyncFunction"),l={isArray:H,isArrayBuffer:_t,isBuffer:dn,isFormData:En,isArrayBufferView:pn,isString:_n,isNumber:ht,isBoolean:hn,isObject:oe,isPlainObject:se,isUndefined:I,isDate:mn,isFile:yn,isBlob:bn,isRegExp:Un,isFunction:O,isStream:gn,isURLSearchParams:vn,isTypedArray:Cn,isFileList:wn,forEach:q,merge:xe,extend:xn,trim:Sn,stripBOM:kn,inherits:On,toFlatObject:Rn,kindOf:ne,kindOfTest:A,endsWith:An,toArray:Tn,forEachEntry:Nn,matchAll:Pn,isHTMLForm:Fn,hasOwnProperty:wt,hasOwnProp:wt,reduceDescriptors:gt,freezeMethods:Dn,toObjectSet:Hn,toCamelCase:Ln,noop:Bn,toFiniteNumber:jn,findKey:mt,global:yt,isContextDefined:bt,ALPHABET:vt,generateString:$n,isSpecCompliantForm:Mn,toJSONObject:zn,isAsyncFn:In,isThenable:e=>e&&(oe(e)||O(e))&&O(e.then)&&O(e.catch)};function g(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}l.inherits(g,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:l.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const St=g.prototype,xt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{xt[e]={value:e}}),Object.defineProperties(g,xt),Object.defineProperty(St,"isAxiosError",{value:!0}),g.from=(e,t,n,r,o,s)=>{const i=Object.create(St);return l.toFlatObject(e,i,function(f){return f!==Error.prototype},c=>c!=="isAxiosError"),g.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};const qn=null;function Oe(e){return l.isPlainObject(e)||l.isArray(e)}function kt(e){return l.endsWith(e,"[]")?e.slice(0,-2):e}function Ot(e,t,n){return e?e.concat(t).map(function(o,s){return o=kt(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function Jn(e){return l.isArray(e)&&!e.some(Oe)}const Vn=l.toFlatObject(l,{},null,function(t){return/^is[A-Z]/.test(t)});function ie(e,t,n){if(!l.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=l.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,w){return!l.isUndefined(w[h])});const r=n.metaTokens,o=n.visitor||d,s=n.dots,i=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&l.isSpecCompliantForm(t);if(!l.isFunction(o))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(l.isDate(p))return p.toISOString();if(!f&&l.isBlob(p))throw new g("Blob is not supported. Use a Buffer instead.");return l.isArrayBuffer(p)||l.isTypedArray(p)?f&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function d(p,h,w){let b=p;if(p&&!w&&typeof p=="object"){if(l.endsWith(h,"{}"))h=r?h:h.slice(0,-2),p=JSON.stringify(p);else if(l.isArray(p)&&Jn(p)||(l.isFileList(p)||l.endsWith(h,"[]"))&&(b=l.toArray(p)))return h=kt(h),b.forEach(function(x,j){!(l.isUndefined(x)||x===null)&&t.append(i===!0?Ot([h],j,s):i===null?h:h+"[]",u(x))}),!1}return Oe(p)?!0:(t.append(Ot(w,h,s),u(p)),!1)}const a=[],y=Object.assign(Vn,{defaultVisitor:d,convertValue:u,isVisitable:Oe});function _(p,h){if(!l.isUndefined(p)){if(a.indexOf(p)!==-1)throw Error("Circular reference detected in "+h.join("."));a.push(p),l.forEach(p,function(b,E){(!(l.isUndefined(b)||b===null)&&o.call(t,b,l.isString(E)?E.trim():E,h,y))===!0&&_(b,h?h.concat(E):[E])}),a.pop()}}if(!l.isObject(e))throw new TypeError("data must be an object");return _(e),t}function Rt(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Re(e,t){this._pairs=[],e&&ie(e,this,t)}const At=Re.prototype;At.append=function(t,n){this._pairs.push([t,n])},At.toString=function(t){const n=t?function(r){return t.call(this,r,Rt)}:Rt;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Wn(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Tt(e,t,n){if(!t)return e;const r=n&&n.encode||Wn,o=n&&n.serialize;let s;if(o?s=o(t,n):s=l.isURLSearchParams(t)?t.toString():new Re(t,n).toString(r),s){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Kn{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){l.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ct=Kn,Nt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Gn={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Re,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Pt=typeof window<"u"&&typeof document<"u",Xn=(e=>Pt&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Qn=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",T={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Pt,hasStandardBrowserEnv:Xn,hasStandardBrowserWebWorkerEnv:Qn},Symbol.toStringTag,{value:"Module"})),...Gn};function Zn(e,t){return ie(e,new T.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,s){return T.isNode&&l.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function Yn(e){return l.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function er(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function Ft(e){function t(n,r,o,s){let i=n[s++];const c=Number.isFinite(+i),f=s>=n.length;return i=!i&&l.isArray(o)?o.length:i,f?(l.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!c):((!o[i]||!l.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&l.isArray(o[i])&&(o[i]=er(o[i])),!c)}if(l.isFormData(e)&&l.isFunction(e.entries)){const n={};return l.forEachEntry(e,(r,o)=>{t(Yn(r),o,n,0)}),n}return null}function tr(e,t,n){if(l.isString(e))try{return(t||JSON.parse)(e),l.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ae={transitional:Nt,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=l.isObject(t);if(s&&l.isHTMLForm(t)&&(t=new FormData(t)),l.isFormData(t))return o&&o?JSON.stringify(Ft(t)):t;if(l.isArrayBuffer(t)||l.isBuffer(t)||l.isStream(t)||l.isFile(t)||l.isBlob(t))return t;if(l.isArrayBufferView(t))return t.buffer;if(l.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Zn(t,this.formSerializer).toString();if((c=l.isFileList(t))||r.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return ie(c?{"files[]":t}:t,f&&new f,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),tr(t)):t}],transformResponse:[function(t){const n=this.transitional||Ae.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&l.isString(t)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(c){if(i)throw c.name==="SyntaxError"?g.from(c,g.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:T.classes.FormData,Blob:T.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};l.forEach(["delete","get","head","post","put","patch"],e=>{Ae.headers[e]={}});const Te=Ae,nr=l.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),rr=e=>{const t={};let n,r,o;return e&&e.split(`
3
+ `).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&nr[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Lt=Symbol("internals");function J(e){return e&&String(e).trim().toLowerCase()}function ae(e){return e===!1||e==null?e:l.isArray(e)?e.map(ae):String(e)}function or(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const sr=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ce(e,t,n,r,o){if(l.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!l.isString(t)){if(l.isString(r))return t.indexOf(r)!==-1;if(l.isRegExp(r))return r.test(t)}}function ir(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function ar(e,t){const n=l.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}class ce{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(c,f,u){const d=J(f);if(!d)throw new Error("header name must be a non-empty string");const a=l.findKey(o,d);(!a||o[a]===void 0||u===!0||u===void 0&&o[a]!==!1)&&(o[a||f]=ae(c))}const i=(c,f)=>l.forEach(c,(u,d)=>s(u,d,f));return l.isPlainObject(t)||t instanceof this.constructor?i(t,n):l.isString(t)&&(t=t.trim())&&!sr(t)?i(rr(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=J(t),t){const r=l.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return or(o);if(l.isFunction(n))return n.call(this,o,r);if(l.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=J(t),t){const r=l.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Ce(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=J(i),i){const c=l.findKey(r,i);c&&(!n||Ce(r,r[c],c,n))&&(delete r[c],o=!0)}}return l.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||Ce(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return l.forEach(this,(o,s)=>{const i=l.findKey(r,s);if(i){n[i]=ae(o),delete n[s];return}const c=t?ir(s):String(s).trim();c!==s&&delete n[s],n[c]=ae(o),r[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return l.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&l.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
4
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Lt]=this[Lt]={accessors:{}}).accessors,o=this.prototype;function s(i){const c=J(i);r[c]||(ar(o,i),r[c]=!0)}return l.isArray(t)?t.forEach(s):s(t),this}}ce.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),l.reduceDescriptors(ce.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),l.freezeMethods(ce);const N=ce;function Ne(e,t){const n=this||Te,r=t||n,o=N.from(r.headers);let s=r.data;return l.forEach(e,function(c){s=c.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function Ut(e){return!!(e&&e.__CANCEL__)}function V(e,t,n){g.call(this,e??"canceled",g.ERR_CANCELED,t,n),this.name="CanceledError"}l.inherits(V,g,{__CANCEL__:!0});function cr(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new g("Request failed with status code "+n.status,[g.ERR_BAD_REQUEST,g.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const lr=T.hasStandardBrowserEnv?{write(e,t,n,r,o,s){const i=[e+"="+encodeURIComponent(t)];l.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),l.isString(r)&&i.push("path="+r),l.isString(o)&&i.push("domain="+o),s===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ur(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function fr(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Dt(e,t){return e&&!ur(t)?fr(e,t):t}const dr=T.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(s){let i=s;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){const c=l.isString(i)?o(i):i;return c.protocol===r.protocol&&c.host===r.host}}():function(){return function(){return!0}}();function pr(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function _r(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(f){const u=Date.now(),d=r[s];i||(i=u),n[o]=f,r[o]=u;let a=s,y=0;for(;a!==o;)y+=n[a++],a=a%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const _=d&&u-d;return _?Math.round(y*1e3/_):void 0}}function Ht(e,t){let n=0;const r=_r(50,250);return o=>{const s=o.loaded,i=o.lengthComputable?o.total:void 0,c=s-n,f=r(c),u=s<=i;n=s;const d={loaded:s,total:i,progress:i?s/i:void 0,bytes:c,rate:f||void 0,estimated:f&&i&&u?(i-s)/f:void 0,event:o};d[t?"download":"upload"]=!0,e(d)}}const Pe={http:qn,xhr:typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){let o=e.data;const s=N.from(e.headers).normalize();let{responseType:i,withXSRFToken:c}=e,f;function u(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}let d;if(l.isFormData(o)){if(T.hasStandardBrowserEnv||T.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((d=s.getContentType())!==!1){const[h,...w]=d?d.split(";").map(b=>b.trim()).filter(Boolean):[];s.setContentType([h||"multipart/form-data",...w].join("; "))}}let a=new XMLHttpRequest;if(e.auth){const h=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(h+":"+w))}const y=Dt(e.baseURL,e.url);a.open(e.method.toUpperCase(),Tt(y,e.params,e.paramsSerializer),!0),a.timeout=e.timeout;function _(){if(!a)return;const h=N.from("getAllResponseHeaders"in a&&a.getAllResponseHeaders()),b={data:!i||i==="text"||i==="json"?a.responseText:a.response,status:a.status,statusText:a.statusText,headers:h,config:e,request:a};cr(function(x){n(x),u()},function(x){r(x),u()},b),a=null}if("onloadend"in a?a.onloadend=_:a.onreadystatechange=function(){!a||a.readyState!==4||a.status===0&&!(a.responseURL&&a.responseURL.indexOf("file:")===0)||setTimeout(_)},a.onabort=function(){a&&(r(new g("Request aborted",g.ECONNABORTED,e,a)),a=null)},a.onerror=function(){r(new g("Network Error",g.ERR_NETWORK,e,a)),a=null},a.ontimeout=function(){let w=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const b=e.transitional||Nt;e.timeoutErrorMessage&&(w=e.timeoutErrorMessage),r(new g(w,b.clarifyTimeoutError?g.ETIMEDOUT:g.ECONNABORTED,e,a)),a=null},T.hasStandardBrowserEnv&&(c&&l.isFunction(c)&&(c=c(e)),c||c!==!1&&dr(y))){const h=e.xsrfHeaderName&&e.xsrfCookieName&&lr.read(e.xsrfCookieName);h&&s.set(e.xsrfHeaderName,h)}o===void 0&&s.setContentType(null),"setRequestHeader"in a&&l.forEach(s.toJSON(),function(w,b){a.setRequestHeader(b,w)}),l.isUndefined(e.withCredentials)||(a.withCredentials=!!e.withCredentials),i&&i!=="json"&&(a.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&a.addEventListener("progress",Ht(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&a.upload&&a.upload.addEventListener("progress",Ht(e.onUploadProgress)),(e.cancelToken||e.signal)&&(f=h=>{a&&(r(!h||h.type?new V(null,e,a):h),a.abort(),a=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f)));const p=pr(y);if(p&&T.protocols.indexOf(p)===-1){r(new g("Unsupported protocol "+p+":",g.ERR_BAD_REQUEST,e));return}a.send(o||null)})}};l.forEach(Pe,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Bt=e=>`- ${e}`,hr=e=>l.isFunction(e)||e===null||e===!1,jt={getAdapter:e=>{e=l.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let s=0;s<t;s++){n=e[s];let i;if(r=n,!hr(n)&&(r=Pe[(i=String(n)).toLowerCase()],r===void 0))throw new g(`Unknown adapter '${i}'`);if(r)break;o[i||"#"+s]=r}if(!r){const s=Object.entries(o).map(([c,f])=>`adapter ${c} `+(f===!1?"is not supported by the environment":"is not available in the build"));let i=t?s.length>1?`since :
5
+ `+s.map(Bt).join(`
6
+ `):" "+Bt(s[0]):"as no adapter specified";throw new g("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Pe};function Fe(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new V(null,e)}function $t(e){return Fe(e),e.headers=N.from(e.headers),e.data=Ne.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),jt.getAdapter(e.adapter||Te.adapter)(e).then(function(r){return Fe(e),r.data=Ne.call(e,e.transformResponse,r),r.headers=N.from(r.headers),r},function(r){return Ut(r)||(Fe(e),r&&r.response&&(r.response.data=Ne.call(e,e.transformResponse,r.response),r.response.headers=N.from(r.response.headers))),Promise.reject(r)})}const Mt=e=>e instanceof N?e.toJSON():e;function B(e,t){t=t||{};const n={};function r(u,d,a){return l.isPlainObject(u)&&l.isPlainObject(d)?l.merge.call({caseless:a},u,d):l.isPlainObject(d)?l.merge({},d):l.isArray(d)?d.slice():d}function o(u,d,a){if(l.isUndefined(d)){if(!l.isUndefined(u))return r(void 0,u,a)}else return r(u,d,a)}function s(u,d){if(!l.isUndefined(d))return r(void 0,d)}function i(u,d){if(l.isUndefined(d)){if(!l.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function c(u,d,a){if(a in t)return r(u,d);if(a in e)return r(void 0,u)}const f={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:c,headers:(u,d)=>o(Mt(u),Mt(d),!0)};return l.forEach(Object.keys(Object.assign({},e,t)),function(d){const a=f[d]||o,y=a(e[d],t[d],d);l.isUndefined(y)&&a!==c||(n[d]=y)}),n}const zt="1.6.2",Le={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Le[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const It={};Le.transitional=function(t,n,r){function o(s,i){return"[Axios v"+zt+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,c)=>{if(t===!1)throw new g(o(i," has been removed"+(n?" in "+n:"")),g.ERR_DEPRECATED);return n&&!It[i]&&(It[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,c):!0}};function mr(e,t,n){if(typeof e!="object")throw new g("options must be an object",g.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=t[s];if(i){const c=e[s],f=c===void 0||i(c,s,e);if(f!==!0)throw new g("option "+s+" must be "+f,g.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new g("Unknown option "+s,g.ERR_BAD_OPTION)}}const Ue={assertOptions:mr,validators:Le},F=Ue.validators;class le{constructor(t){this.defaults=t,this.interceptors={request:new Ct,response:new Ct}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=B(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Ue.assertOptions(r,{silentJSONParsing:F.transitional(F.boolean),forcedJSONParsing:F.transitional(F.boolean),clarifyTimeoutError:F.transitional(F.boolean)},!1),o!=null&&(l.isFunction(o)?n.paramsSerializer={serialize:o}:Ue.assertOptions(o,{encode:F.function,serialize:F.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&l.merge(s.common,s[n.method]);s&&l.forEach(["delete","get","head","post","put","patch","common"],p=>{delete s[p]}),n.headers=N.concat(i,s);const c=[];let f=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(f=f&&h.synchronous,c.unshift(h.fulfilled,h.rejected))});const u=[];this.interceptors.response.forEach(function(h){u.push(h.fulfilled,h.rejected)});let d,a=0,y;if(!f){const p=[$t.bind(this),void 0];for(p.unshift.apply(p,c),p.push.apply(p,u),y=p.length,d=Promise.resolve(n);a<y;)d=d.then(p[a++],p[a++]);return d}y=c.length;let _=n;for(a=0;a<y;){const p=c[a++],h=c[a++];try{_=p(_)}catch(w){h.call(this,w);break}}try{d=$t.call(this,_)}catch(p){return Promise.reject(p)}for(a=0,y=u.length;a<y;)d=d.then(u[a++],u[a++]);return d}getUri(t){t=B(this.defaults,t);const n=Dt(t.baseURL,t.url);return Tt(n,t.params,t.paramsSerializer)}}l.forEach(["delete","get","head","options"],function(t){le.prototype[t]=function(n,r){return this.request(B(r||{},{method:t,url:n,data:(r||{}).data}))}}),l.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,c){return this.request(B(c||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}le.prototype[t]=n(),le.prototype[t+"Form"]=n(!0)});const ue=le;class De{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(c=>{r.subscribe(c),s=c}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,c){r.reason||(r.reason=new V(s,i,c),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new De(function(o){t=o}),cancel:t}}}const yr=De;function br(e){return function(n){return e.apply(null,n)}}function wr(e){return l.isObject(e)&&e.isAxiosError===!0}const He={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(He).forEach(([e,t])=>{He[t]=e});const gr=He;function qt(e){const t=new ue(e),n=pt(ue.prototype.request,t);return l.extend(n,ue.prototype,t,{allOwnKeys:!0}),l.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return qt(B(e,o))},n}const S=qt(Te);S.Axios=ue,S.CanceledError=V,S.CancelToken=yr,S.isCancel=Ut,S.VERSION=zt,S.toFormData=ie,S.AxiosError=g,S.Cancel=S.CanceledError,S.all=function(t){return Promise.all(t)},S.spread=br,S.isAxiosError=wr,S.mergeConfig=B,S.AxiosHeaders=N,S.formToJSON=e=>Ft(l.isHTMLForm(e)?new FormData(e):e),S.getAdapter=jt.getAdapter,S.HttpStatusCode=gr,S.default=S;const Er=S,W=class W{static init(t,n){W._axiosInstance=Er.create({baseURL:`${t}`,headers:{Authorization:`Bearer ${n}`}})}static get axiosInstance(){return W._axiosInstance}};Vt(W,"_axiosInstance");let fe=W;const vr="super-campaign/backend/hello";class Sr{async hello(){return(await fe.axiosInstance.get(vr)).data}}var xr=0;function Be(e,t,n,r,o,s){var i,c,f={};for(c in t)c=="ref"?i=t[c]:f[c]=t[c];var u={type:e,props:f,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--xr,__i:-1,__u:0,__source:o,__self:s};if(typeof e=="function"&&(i=e.defaultProps))for(c in i)f[c]===void 0&&(f[c]=i[c]);return m.vnode&&m.vnode(u),u}rn(e=>{const{"access-token":t,"backend-url":n}=e,[r,o]=on(null);fe.init(n,t),an(()=>{(async()=>{const c=await new Sr().hello();o(c)})()},[t,n]);const s=r?Be("h1",{children:r}):Be("h1",{children:"Connecting to api"});return Be(z,{children:s})},"apollo-super-campaign",[],{shadow:!0})})();
package/dist/index.html CHANGED
@@ -1,40 +1,40 @@
1
- <!-- This index is for test purpose -->
2
- <!DOCTYPE html>
3
- <html>
4
- <head>
5
- <title>Apollo Super Campaign</title>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
- <meta name="viewport" content="width=device-width, initial-scale=1" />
8
- <link rel="preconnect" href="https://fonts.googleapis.com" />
9
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
10
- <link
11
- href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
12
- rel="stylesheet"
13
- />
14
- </head>
15
- <style>
16
- :root {
17
- --fl-color-primary: #1890ff;
18
- --fl-color-primary-light: #74c0ff;
19
- --fl-color-primary-dark: #006bce;
20
- --fl-color-primary-disabled: #f5f5f5;
21
- --fl-color-primary-hover: #40a9ff;
22
- --fl-color-primary-focus: #40a9ff;
23
- --fl-color-primary-text: white;
24
- --fl-color-secondary: #d3d3d3;
25
- --fl-color-secondary-light: #e1e1e1;
26
- --fl-color-secondary-dark: #cecece;
27
- --fl-color-secondary-disabled: #f5f5f5;
28
- --fl-color-secondary-hover: #ebebeb;
29
- --fl-color-secondary-focus: #ebebeb;
30
- --fl-color-secondary-text: #262626;
31
- }
32
- </style>
33
- <body>
34
- <apollo-super-campaign
35
- backend-url="apollo backend url"
36
- access-token="your access token"
37
- ></apollo-super-campaign>
38
- <script type="module" src="./apollo-super-campaign.js"></script>
39
- </body>
40
- </html>
1
+ <!-- This index is for test purpose -->
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <title>Apollo Super Campaign</title>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
8
+ <link rel="preconnect" href="https://fonts.googleapis.com" />
9
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
10
+ <link
11
+ href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
12
+ rel="stylesheet"
13
+ />
14
+ </head>
15
+ <style>
16
+ :root {
17
+ --fl-color-primary: #1890ff;
18
+ --fl-color-primary-light: #74c0ff;
19
+ --fl-color-primary-dark: #006bce;
20
+ --fl-color-primary-disabled: #f5f5f5;
21
+ --fl-color-primary-hover: #40a9ff;
22
+ --fl-color-primary-focus: #40a9ff;
23
+ --fl-color-primary-text: white;
24
+ --fl-color-secondary: #d3d3d3;
25
+ --fl-color-secondary-light: #e1e1e1;
26
+ --fl-color-secondary-dark: #cecece;
27
+ --fl-color-secondary-disabled: #f5f5f5;
28
+ --fl-color-secondary-hover: #ebebeb;
29
+ --fl-color-secondary-focus: #ebebeb;
30
+ --fl-color-secondary-text: #262626;
31
+ }
32
+ </style>
33
+ <body>
34
+ <apollo-super-campaign
35
+ backend-url="apollo backend url"
36
+ access-token="your access token"
37
+ ></apollo-super-campaign>
38
+ <script type="module" src="./apollo-super-campaign.js"></script>
39
+ </body>
40
+ </html>
package/package.json CHANGED
@@ -1,51 +1,40 @@
1
- {
2
- "name": "@flarehr/apollo-super-campaign",
3
- "version": "0.1.164",
4
- "description": "Flare Apollo Campaign",
5
- "license": "SEE LICENSE IN LICENSE.md",
6
- "type": "module",
7
- "files": [
8
- "dist/"
9
- ],
10
- "engines": {
11
- "node": ">=18.19 <19"
12
- },
13
- "scripts": {
14
- "dev": "vite",
15
- "build": "tsc && vite build",
16
- "preview": "vite preview",
17
- "lint": "eslint . --ext .ts,.tsx"
18
- },
19
- "dependencies": {
20
- "@emotion/react": "11.11.3",
21
- "@emotion/styled": "11.11.0",
22
- "@reduxjs/toolkit": "2.0.1",
23
- "preact": "10.19.3",
24
- "preact-custom-element": "4.3.0",
25
- "react-redux": "9.0.4"
26
- },
27
- "devDependencies": {
28
- "@preact/preset-vite": "2.7.0",
29
- "@types/node": "20.10.5",
30
- "@types/preact-custom-element": "4.0.4",
31
- "@types/react": "18.2.47",
32
- "@typescript-eslint/eslint-plugin": "6.16.0",
33
- "@typescript-eslint/parser": "6.16.0",
34
- "autoprefixer": "10.4.16",
35
- "babel-plugin-macros": "3.1.0",
36
- "babel-plugin-twin": "1.1.0",
37
- "eslint": "8.56.0",
38
- "eslint-config-preact": "1.3.0",
39
- "eslint-config-prettier": "9.1.0",
40
- "eslint-plugin-prettier": "5.1.2",
41
- "eslint-plugin-simple-import-sort": "10.0.0",
42
- "eslint-plugin-unused-imports": "3.0.0",
43
- "postcss": "8.4.32",
44
- "prettier": "3.1.1",
45
- "tailwindcss": "3.4.1",
46
- "twin.macro": "3.4.0",
47
- "typescript": "5.3.3",
48
- "vite": "5.0.8",
49
- "vite-tsconfig-paths": "4.2.3"
50
- }
51
- }
1
+ {
2
+ "name": "@flarehr/apollo-super-campaign",
3
+ "version": "1.0.4",
4
+ "description": "Flare Apollo Campaign",
5
+ "license": "SEE LICENSE IN LICENSE.md",
6
+ "type": "module",
7
+ "files": [
8
+ "dist/"
9
+ ],
10
+ "scripts": {
11
+ "dev": "vite",
12
+ "build": "tsc && vite build",
13
+ "preview": "vite preview",
14
+ "lint": "eslint . --ext .ts,.tsx"
15
+ },
16
+ "dependencies": {
17
+ "axios": "^1.6.2",
18
+ "preact": "^10.19.3",
19
+ "preact-custom-element": "^4.3.0"
20
+ },
21
+ "devDependencies": {
22
+ "@preact/preset-vite": "^2.7.0",
23
+ "@types/node": "^20.10.5",
24
+ "@types/preact-custom-element": "^4.0.4",
25
+ "@typescript-eslint/eslint-plugin": "^6.16.0",
26
+ "@typescript-eslint/parser": "^6.16.0",
27
+ "autoprefixer": "^10.4.16",
28
+ "eslint": "^8.56.0",
29
+ "eslint-config-preact": "^1.3.0",
30
+ "eslint-config-prettier": "^9.1.0",
31
+ "eslint-plugin-prettier": "^5.1.2",
32
+ "eslint-plugin-simple-import-sort": "^10.0.0",
33
+ "eslint-plugin-unused-imports": "^3.0.0",
34
+ "postcss": "^8.4.32",
35
+ "prettier": "^3.1.1",
36
+ "tailwindcss": "^3.4.0",
37
+ "typescript": "^5.2.2",
38
+ "vite": "^5.0.8"
39
+ }
40
+ }